期刊文献+

基于Go语言的消息推送平台的设计与实现 被引量:3

Design and Implementation of Message Push Platform based on Go Language
下载PDF
导出
摘要 为解决移动端应用获取数据的实时性问题和反复轮询所产生的流量消耗问题,设计实现了android消息推送平台。该平台由服务器端与移动端两部份组成,服务端由Go语言实现,管理后台采用beego框架与Angularjs实现前后端分离,底层的连接,数据读写由go协程和TCP协议实现。移动端基于Android平台,采用自定义的协议来建立与服务器的连接、通信。移动端完成包括消息的收发、解析以及断线重连等功能。经过测试,该平台满足移动端应用中实时性和低能耗的要求,解决了移动端获取数据的数据重复、流量高消耗问题,实际应用中效果良好。 The android message push platform is designed and implemented in order to solve the real-time problem of data fetching by mobile applications and the consumption of traffic caused by repeated polling. The platform is composed of Service-Terminal and Mobile-Terminal. The Service-Terminal is implemented by Go language. The management background adopts Beego framework and Angularjs technology to realize the separation of the front and back ends. The connection of the bottom layer is realized by go protocol and TCP protocol. A custom protocol is used to establish the connection and communication with the server by Mobile terminal. The Mobile-Terminal mainly includes the function such as receiving and dispatching, parsing and disconnection of the message. After testing, the platform satisfies the requirements of real-time and low power consumption in mobile applications, and solves the problems of data duplication and high consumption of mobile data, and the effect is good in practice.
作者 王伯槐 张烨
出处 《数码设计》 2017年第2期33-36,共4页 Peak Data Science
关键词 实时 消息推送 ANDROID Go语言 real-time message push android Go language
  • 相关文献

参考文献8

二级参考文献21

共引文献63

同被引文献14

引证文献3

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部