计算机技术与发展
計算機技術與髮展
계산궤기술여발전
COMPUTER TECHNOLOGY AND DEVELOPMENT
2013年
9期
170-173,177
,共5页
刘建歌%慕德俊%张慧翔%毛保磊
劉建歌%慕德俊%張慧翔%毛保磊
류건가%모덕준%장혜상%모보뢰
物联网%实时监控%无线传感器网络%消息代理%WebSocket技术
物聯網%實時鑑控%無線傳感器網絡%消息代理%WebSocket技術
물련망%실시감공%무선전감기망락%소식대리%WebSocket기술
Internet of Things%real-time monitoring%WSN%message broker%WebSocket technology
文中将ZigBee无线传感器网络、MQTT消息代理以及WebSocket技术相结合,设计实现了一个适用于小到家庭大到工业园区的实时远程监测控系统,以减少不必要的电能浪费,同时有效地节省人力物力。系统后台利用ZigBee无线传感器网络采集用电信息;中间层利用MQTT消息代理将采集到的用电信息以消息的格式统一管理,并为用户预留创建新消息的接口,便于系统的扩展;前端采用B/S模式增强其通用性,采用WebSocket技术将Web服务器得到的消息实时地推送到客户端浏览器,提高了系统的实时性。结果表明该系统在可扩展性、通用性、实时性等方面都有所改进。
文中將ZigBee無線傳感器網絡、MQTT消息代理以及WebSocket技術相結閤,設計實現瞭一箇適用于小到傢庭大到工業園區的實時遠程鑑測控繫統,以減少不必要的電能浪費,同時有效地節省人力物力。繫統後檯利用ZigBee無線傳感器網絡採集用電信息;中間層利用MQTT消息代理將採集到的用電信息以消息的格式統一管理,併為用戶預留創建新消息的接口,便于繫統的擴展;前耑採用B/S模式增彊其通用性,採用WebSocket技術將Web服務器得到的消息實時地推送到客戶耑瀏覽器,提高瞭繫統的實時性。結果錶明該繫統在可擴展性、通用性、實時性等方麵都有所改進。
문중장ZigBee무선전감기망락、MQTT소식대리이급WebSocket기술상결합,설계실현료일개괄용우소도가정대도공업완구적실시원정감측공계통,이감소불필요적전능낭비,동시유효지절성인력물력。계통후태이용ZigBee무선전감기망락채집용전신식;중간층이용MQTT소식대리장채집도적용전신식이소식적격식통일관리,병위용호예류창건신소식적접구,편우계통적확전;전단채용B/S모식증강기통용성,채용WebSocket기술장Web복무기득도적소식실시지추송도객호단류람기,제고료계통적실시성。결과표명해계통재가확전성、통용성、실시성등방면도유소개진。
It combined ZigBee wireless sensor network,MQTT message broker and WebSocket technology together to realize a real-time distant monitoring and controlling system which is suitable for both family and industrial zones. This system can reduce unnecessary waste of electricity and save manpower effectively. The ZigBee wireless sensor network is used to collect the electricity information in the back-ground. Furthermore,the intermediate layer utilizes MQTT message broker to manage the collected information of electricity and reserves a connector for user to create new information so that the system is easy to expand. In addition,the front end enhances the generality through B/S mode and increases the instantaneity by utilizing WebSocket to push the information received by Web server to the client browser. The result shows that this system has improvement in expandability,generality and real-time performance.