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

基于MQTT协议的消息推送服务器
引用本文:任亨,马跃,杨海波,贾正锋.基于MQTT协议的消息推送服务器[J].计算机系统应用,2014,23(3):77-82.
作者姓名:任亨  马跃  杨海波  贾正锋
作者单位:中国科学院 沈阳计算技术研究所, 沈阳 110168;中国科学院大学, 北京 100049;中国科学院 沈阳计算技术研究所, 沈阳 110168;中国科学院 沈阳计算技术研究所, 沈阳 110168;中国科学院 沈阳计算技术研究所, 沈阳 110168
摘    要:以ipad、iphone以及android手机为代表的移动设备和智能终端近年来取得了巨大的发展,其用户数迎来了爆发式的增长.为了适应实际应用中对信息获取及时性,耗电量,以及网络环境等方面的需求,需要用推送的方式取代传统拉取的方式来进行消息的传递,MQTT(MessageQueuingTelemetryTransport,消息队列遥测传输)就是专为这种情况所设计的一种消息传递协议.本文介绍了MQTT协议的基本内容和特点,以Mosquitto、Redis等开源项目为基础设计并实现了一个基于MQTT协议的消息推送服务器,能够对用户订阅的消息进行推送,同时还实现了用户身份验证、ACL权限检查、自动订阅话题、热点话题统计、服务器状态监控等功能.

关 键 词:移动社交网络  消息推送  MQTT  Mosquitto  Redis
收稿时间:8/8/2013 12:00:00 AM
修稿时间:2013/9/30 0:00:00

Message Pushing Server Based on the MQTT Protocal
REN Heng,MA Yue,YANG Hai-Bo and JIA Zheng-Feng.Message Pushing Server Based on the MQTT Protocal[J].Computer Systems& Applications,2014,23(3):77-82.
Authors:REN Heng  MA Yue  YANG Hai-Bo and JIA Zheng-Feng
Affiliation:Shenyang institute of computing technology, Chinese academy of sciences, Shenyang 110168, China;University of Chinese Academy of Sciences, Beijing 100049, China;Shenyang institute of computing technology, Chinese academy of sciences, Shenyang 110168, China;Shenyang institute of computing technology, Chinese academy of sciences, Shenyang 110168, China;Shenyang institute of computing technology, Chinese academy of sciences, Shenyang 110168, China
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.
Keywords:mobile SNS  message pushing  MQTT  mosquitto  redis
本文献已被 CNKI 维普 等数据库收录!
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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