###
DOI:
计算机系统应用英文版:2014,23(3):77-82
本文二维码信息
码上扫一扫!
基于MQTT协议的消息推送服务器
(1.中国科学院 沈阳计算技术研究所, 沈阳 110168;2.中国科学院大学, 北京 100049)
Message Pushing Server Based on the MQTT Protocal
(1.Shenyang institute of computing technology, Chinese academy of sciences, Shenyang 110168, China;2.University of Chinese Academy of Sciences, Beijing 100049, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 2970次   下载 9639
Received:August 08, 2013    Revised:September 30, 2013
中文摘要: 以ipad、iphone以及android手机为代表的移动设备和智能终端近年来取得了巨大的发展,其用户数迎来了爆发式的增长. 为了适应实际应用中对信息获取及时性,耗电量,以及网络环境等方面的需求,需要用推送的方式取代传统拉取的方式来进行消息的传递,MQTT(Message Queuing Telemetry Transport,消息队列遥测传输)就是专为这种情况所设计的一种消息传递协议. 本文介绍了MQTT协议的基本内容和特点,以Mosquitto、Redis等开源项目为基础设计并实现了一个基于MQTT协议的消息推送服务器,能够对用户订阅的消息进行推送,同时还实现了用户身份验证、ACL权限检查、自动订阅话题、热点话题统计、服务器状态监控等功能.
中文关键词: 移动社交网络  消息推送  MQTT  Mosquitto  Redis
Abstract:Mobile devices and smart terminal represented by ipad, iphone and the android phones have made a significant development in recent years. The number of their users is growing explosively. In order to meet the requirments of timeliness of accesses of information, power consumption, as well as the network environment in practical application, we should replace the traditional pull way with the push way to deliver messages. MQTT(Message Queuing Telemetry Transport) is a messaging protocol just designed for the situation. This paper describes the basic content and features of the MQTT protocol.Meanwhile it designs and realizes a message pushing server based on the MQTT protocol in foundation of several open source projects such as Mosquitto and Redis.The server can push messages to the users who have subscribed them before.In the meantime, some more functions such as user identity authentication, ACL permission checking, topic automatic subscribing, hot topic stastics and server status monitoring are added.
文章编号:     中图分类号:    文献标志码:
基金项目:
引用文本:
任亨,马跃,杨海波,贾正锋.基于MQTT协议的消息推送服务器.计算机系统应用,2014,23(3):77-82
REN Heng,MA Yue,YANG Hai-Bo,JIA Zheng-Feng.Message Pushing Server Based on the MQTT Protocal.COMPUTER SYSTEMS APPLICATIONS,2014,23(3):77-82