论文部分内容阅读
随着移动互联网的迅猛发展,即时通信系统已成为一种广泛使用的网络通信手段和移动互联网时代的应用热点.在当前的即时通信类应用中,主要是基于私有通信协议开发,但利用私有协议开发严重影响了网络功能的扩展和阻碍了技术的进步,在分析私有协议缺点的基础上,提出一种基于物联网标准协议——MQTT协议的消息引擎服务器的设计,并给出了具体实现,同时重点阐述了消息引擎服务器的用户身份认证、消息接收和发送、状态信息监控和消息预订阅功能.最后对本文设计的消息引擎服务器在功能和性能上进行了测试和分析.
With the rapid development of mobile Internet, instant messaging system has become a widely used means of network communication and mobile Internet era of application hot spots.In the current instant messaging applications, mainly based on proprietary communication protocol development, but the use of proprietary protocols Based on the analysis of the shortcomings of private protocols, this paper proposes a message engine server based on MQTT protocol, which is a standard protocol of Internet of Things (IOT), and gives concrete implementation. At the same time, it focuses on the message engine server user identity authentication, message receiving and sending, status information monitoring and message subscription reading function.Finally, the message engine server designed in this paper has been tested and analyzed in function and performance.