摘要
MQTT协议体积较小,耗电量通常较低,因此,可以用极少的代码、带宽为连接远程物联网设备提供可靠的实时消息服务,支持大多数平台,适用于硬件资源受限设备、带宽有限、不可靠网络环境使用。因而,MQTT协议支持QoS、轻量、节省带宽、易于实现等特性已经成为IoT通信标准。该文基于Netty技术,分析IoT MQTT协议消息系统的设计与实现过程,对MQTT协议消息系统的设计上的功能性和非功能性需求做出全面分析,做出总体架构设计,从服务器终端实现、消息代理服务器实现方面研究MQTT协议消息系统的模块功能,最终,对MQTT协议消息系统进行功能与性能测试。
MQTT protocol is small in size and generally low in power consumption.Therefore,it can provide reliable real-time message service for connecting remote IoT devices with very little code and bandwidth.It supports most platforms and is suitable for use in hardware resource-constrained devices,bandwidth-constrained and unreliable network environments.Therefore,MQTT protocol supports QoS,lightweight,bandwidth saving,easy to implement and other characteristics,and has become the IoT communication standard.Based on Netty technology,this paper analyzes the design and implementation process of the IoT MQTT protocol message system,comprehensively analyzes the functional and non-functional requirements of the MQTT protocol message system design,and makes the overall architecture design.It studies the module functions of the MQTT protocol message system from the aspects of server terminal implementation and message proxy server implementation.Finally,it tests the function and performance of the MQTT protocol message system.
作者
杨建
YANG Jian(Jiangxi Institute of Engineering,Xinyu,Jiangxi Province,338000 China)
出处
《科技资讯》
2023年第17期39-42,共4页
Science & Technology Information