本文已被:浏览 1938次 下载 6015次
Received:April 24, 2014 Revised:May 26, 2014
Received:April 24, 2014 Revised:May 26, 2014
中文摘要: Android平台的迅速崛起对消息推送技术提出了更严峻的挑战.传统的推送通知方式主要有Polling, SMS Push, IP Push三种, 但对Android平台上的应用来说, 这些推送方式都有各自的短板.针对该情况, 首先对Android平台上几种推送机制进行了分析, 之后着重对基于MQTT协议的推送机制进行研究, 最后借助IBM提供的开源工具Mosquitto通过编码加以实现.经实验测试, 证明基于MQTT协议的推送机制效率高, 功耗低, 可以稳定地用于Android平台上的应用.
Abstract:The rapid development of Android platform brings forward more severe challenge for message push technology. Traditional ways of push notification mainly contain Polling, SMS Push and IP Push. But for applications on Android platform, any of these push technology has its own shortcomings. Firstly, an analysis was conducted on various kinds of push mechanism on Android Platform. Then a push mechanism based on protocol MQTT was researched in detail. Finally it was implemented through coding with the help of open source tool Mosquitto supported by IBM. Experimental results showed that this way has a low power consumption and high efficiency and it could be used for applications steadily on Android platform.
keywords: Android push MQTT protocol QoS Mosquitto
文章编号: 中图分类号: 文献标志码:
基金项目:
引用文本:
许金喜,张新有.Android平台基于MQTT协议的推送机制.计算机系统应用,2015,24(1):185-190
XU Jin-Xi,ZHANG Xin-You.Push Mechanism on Android Platform Based on MQTT Protocol.COMPUTER SYSTEMS APPLICATIONS,2015,24(1):185-190
许金喜,张新有.Android平台基于MQTT协议的推送机制.计算机系统应用,2015,24(1):185-190
XU Jin-Xi,ZHANG Xin-You.Push Mechanism on Android Platform Based on MQTT Protocol.COMPUTER SYSTEMS APPLICATIONS,2015,24(1):185-190