###
计算机系统应用英文版:2017,26(3):219-224
本文二维码信息
码上扫一扫!
基于MQTT协议的即时消息业务设计与实现
(1.中国科学院沈阳计算技术研究所, 沈阳 110168;2.中国科学院大学, 北京 100049)
Design and Implementation of Instant Messaging Business Based on the MQTT Protocol
(1.Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China;2.University of Chinese Academy of Sciences, Beijing 100049, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1265次   下载 3381
Received:June 30, 2016    Revised:August 18, 2016
中文摘要: 近年来,宽带接入技术正以十分惊人的速度发展.与此同时,移动互联网技术也日益成熟,即时消息业务已成为移动互联时代的应用热点.在互联网中XMPP和SIMPLE被广泛使用,但其并不能很好的适用于移动互联网.采用发布/订阅模型的MQTT协议是一种轻量级的消息传输协议,具有低功耗、节省流量和可扩展性强的优点.本文首先分析了XMPP和SIMPLE协议的不足之处,研究了MQTT协议的消息格式以及协议的使用方式,之后对即时消息业务进行了设计和实现.并在功能和性能上进行了相关的测试和分析.
中文关键词: 即时消息  发布/订阅  MQTT  移动互联网
Abstract:In recent years, broadband access is developing with astonishing speed. At the same time, the mobile Internet technology is also increasingly mature, instant messaging business have become a hot point of the era of mobile Internet applications. XMPP and SIMPLE are widely used in the Internet, but they are not suited to the mobile Internet. The MQTT is a publish/subscribe model based and lightweight messaging protocol, which has the advantages of reducing power consumption, decreasing flow and has strong flexibility. Firstly, this article analyzes the shortcomings of XMPP and SIMPLE protocol. Secondly, it introduces the message format and the usage of the MQTT protocol. After the design and implementation of the instant messaging business, the related testing and analysis are carried on the function and performance.
文章编号:     中图分类号:    文献标志码:
基金项目:教育部-中国移动科研基金(2015)(MCM20150103)
引用文本:
林浒,张家铭,杨海波.基于MQTT协议的即时消息业务设计与实现.计算机系统应用,2017,26(3):219-224
LIN Hu,ZHANG Jia-Ming,YANG Hai-Bo.Design and Implementation of Instant Messaging Business Based on the MQTT Protocol.COMPUTER SYSTEMS APPLICATIONS,2017,26(3):219-224