本文已被:浏览 3154次 下载 8749次
Received:October 25, 2014 Revised:December 05, 2014
Received:October 25, 2014 Revised:December 05, 2014
中文摘要: 随着移动互联网和智能终端的发展与普及, IM(Instant messaging即时通讯)再次成为一个炙手可热的领域. 由于移动终端设备在低功耗、低带宽等方面的限制, 对即时通讯协议提出了更高的要求. MQTT(Message Queuing Telemetry Transport, 消息队列遥测传输)作为一种轻量级基于发布/订阅模式的消息传输协议, 是移动终端应用的理想选择. 介绍了MQTT的基本内容和特点, 并与其他即时通讯协议SIMPLE协议和XMPP协议进行了对比, 从而提出一种基于MQTT协议的移动终端即时通讯解决方案. 在Mosquitto开源项目的基础上, 设计并实现了一款基于MQTT协议的移动即时通讯客户端, 实现了即时通信、状态呈现和群组等功能.
Abstract:With the development and popularity of the mobile Internet and intelligent terminal, Instant Messaging once again become a hot field. However. Due to limitations of the mobile terminal device in a low power, low bandwidth and other aspects, it calls for higher requirements on Instant Messaging protocol. MQTT(Message Queuing Telemetry Transport) was designed as an extremely lightweight publish/subscribe messaging transport, and it is ideal for mobile applications. This paper introduced the basic content and features of MQTT, and gave a comparison with other instant messaging protocols such as SIMPLE and XMPP, then proposed a instant messaging solution of mobile terminal based on MQTT. Based on open source MQTT Broker Mosquitto, this paper also designed and implemented a instant messaging client for mobile terminal, and this client achieved instant message,presence,group functions and so on.
文章编号: 中图分类号: 文献标志码:
基金项目:
引用文本:
贾军营,王月鹏,王少华.基于MQTT协议IM的研究和实现.计算机系统应用,2015,24(7):9-14
JIA Jun-Ying,WANG Yue-Peng,WANG Shao-Hua.Research and Implementation of IM Based on MQTT Protocal.COMPUTER SYSTEMS APPLICATIONS,2015,24(7):9-14
贾军营,王月鹏,王少华.基于MQTT协议IM的研究和实现.计算机系统应用,2015,24(7):9-14
JIA Jun-Ying,WANG Yue-Peng,WANG Shao-Hua.Research and Implementation of IM Based on MQTT Protocal.COMPUTER SYSTEMS APPLICATIONS,2015,24(7):9-14