期刊文献+

基于树莓派与MQTT的智能网关设计

Intelligent Gateway Design Based on Raspberry PI and MQTT
下载PDF
导出
摘要 针对物联网环境终端节点数据传输协议多样化、网络服务中心化的问题,设计了一种基于MQTT协议的协处理网关。网关选取树莓派作硬件平台,以嵌入式可移动设备为基础,基于MQTT协议事件发布订阅的消息传输模型,构建了集成服务代理、数据管理、协议转换、状态监测等功能的系统结构,建立了由感知层、服务层、应用层的通信链路,并完成了网关系统整体配置与消息发布订阅模型的设计,实现了网关、感知设备和用户的双向通信。实验测试显示:智能网关能建立稳定的通信连接,准确完成数据的接收与发送,实现多点间的数据通信,数据传输过程稳定,在测试过程中未出现信息丢失。MQTT协议结构的智能网关实现了消息双方在时间、空间及同步的解耦。网关缓解了中心化网络服务带来的堵塞,提高了数据的通用处理能力,提升了数据传输效率。 Aiming at the problems of the diversity of terminal node data transmission protocols and the centralization of network services in the Internet of Things environment,a co-processing gateway based on MQTT protocol is designed.The gateway selects Raspberry PI as the hardware platform,takes embedded mobile devices as the basis,and builds a system structure integrating service agent,data management,protocol conversion,status monitoring and other functions based on the message transmission model of MQTT protocol event publishing and subscription.A communication link consisting of perception layer,service layer and application layer is also established.The whole configuration of gateway system and the design of message publishing and subscription model are completed,and the two-way communication between gateway,sensing device and user is realized.The experimental test shows that the intelligent gateway can establish a stable communication connection,accurately complete the data receiving and sending,and realize the data communication between multiple points.The data transmission process is stable,and no information loss occurs in the test process.The intelligent gateway of MQTT protocol structure realizes the decoupling of the two sides of the message in time,space and synchronization.The gateway alleviates the congestion caused by centralized network services,improves the general processing capacity of data,and improves the efficiency of data transmission.
作者 刘亮亮 王兴 王国庆 高瑞娟 Liu Liangliang;Wang Xing;Wang Guoqing;Gao Ruijuan(Department of Mechanical and Electrical Engineering and Vehicle Engineering,Taiyuan University,Taiyuan 030032,China)
出处 《机电工程技术》 2024年第8期89-91,149,共4页 Mechanical & Electrical Engineering Technology
基金 山西省基础研究计划(自由探索类)项目(202303021212017)。
关键词 智能网关 MQTT协议 树莓派 消息模型 intelligent gateway MQTT protocol Raspberry PI message model
  • 相关文献

参考文献19

二级参考文献142

  • 1王飞跃.人工社会、计算实验、平行系统——关于复杂社会经济系统计算研究的讨论[J].复杂系统与复杂性科学,2004,1(4):25-35. 被引量:236
  • 2祝木田,师勇.ModBUS协议通讯的应用[J].微计算机信息,2004,20(6):9-11. 被引量:47
  • 3胥军,方彦军.嵌入式现场总线协议转换网关开发[J].计算机工程,2006,32(12):255-257. 被引量:19
  • 4梅宏,黄罡,赵海燕,焦文品.一种以软件体系结构为中心的网构软件开发方法[J].中国科学(E辑),2006,36(10):1100-1126. 被引量:35
  • 5Lei Zheng-rong, Shi Yang. Implementation of cloud service messa- ging mechanism based on XMPP [ C ]. 2014 IEEE Workshop on Advanced Research and Technology in Industry Applications ( WARTIA), IEEE ,2014:278-280.
  • 6Mansell, Robin, et al. eds. Information and communication technolo- gies [ M ]. Oxford University Press,2009.
  • 7Figueroa P E, Perez J A. Architecture for interoperability between instant messaging and presence protocols [ C ]. Networked Digital Technologies, 2010 : 306 -320.
  • 8Banks A, Gupta R. Message queuing telemetry transport (MQTT) v3.1.1 [ S]. OASIS ,2014.
  • 9Tian Wu-xing. The research and development of android instant messaging application software based on SIP protocol [ D ]. Nan- jing: Nanjing University of Posts and Telecommunications, April, 2014.
  • 10Lai Tian-ping, Yang Xu, Peng Yi-ming, et al. The construedon and integration of university WEB instant communication application based on XMPP protocol [J]. Journal of Esst China Normal Univer- sity ( Natural Science) ,2015, S1:360-366.

共引文献967

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部