首页 | 本学科首页   官方微博 | 高级检索  
     

基于MQTT协议的即时消息业务设计与实现
引用本文:林浒,张家铭,杨海波.基于MQTT协议的即时消息业务设计与实现[J].计算机系统应用,2017,26(3):219-224.
作者姓名:林浒  张家铭  杨海波
作者单位:中国科学院沈阳计算技术研究所, 沈阳 110168,中国科学院沈阳计算技术研究所, 沈阳 110168;中国科学院大学, 北京 100049,中国科学院沈阳计算技术研究所, 沈阳 110168
基金项目:教育部-中国移动科研基金(2015)(MCM20150103)
摘    要:近年来,宽带接入技术正以十分惊人的速度发展.与此同时,移动互联网技术也日益成熟,即时消息业务已成为移动互联时代的应用热点.在互联网中XMPP和SIMPLE被广泛使用,但其并不能很好的适用于移动互联网.采用发布/订阅模型的MQTT协议是一种轻量级的消息传输协议,具有低功耗、节省流量和可扩展性强的优点.本文首先分析了XMPP和SIMPLE协议的不足之处,研究了MQTT协议的消息格式以及协议的使用方式,之后对即时消息业务进行了设计和实现.并在功能和性能上进行了相关的测试和分析.

关 键 词:即时消息  发布/订阅  MQTT  移动互联网
收稿时间:2016/6/30 0:00:00
修稿时间:2016/8/18 0:00:00

Design and Implementation of Instant Messaging Business Based on the MQTT Protocol
LIN Hu,ZHANG Jia-Ming and YANG Hai-Bo.Design and Implementation of Instant Messaging Business Based on the MQTT Protocol[J].Computer Systems& Applications,2017,26(3):219-224.
Authors:LIN Hu  ZHANG Jia-Ming and YANG Hai-Bo
Affiliation:Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China,Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China;University of Chinese Academy of Sciences, Beijing 100049, China and Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China
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.
Keywords:instant messaging  Pub/Sub  MQTT  mobile Internet
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号