节点文献

基于Go语言的消息推送平台的设计与实现

Design and Implementation of Message Push Platform based on Go Language

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 王伯槐张烨

【Author】 WANG Bohuai;ZHANG Ye;School of Information Engineering, Yulin University;Department of Student, Yulin University;

【机构】 榆林学院信息工程学院榆林学院学工部

【摘要】 为解决移动端应用获取数据的实时性问题和反复轮询所产生的流量消耗问题,设计实现了android消息推送平台。该平台由服务器端与移动端两部份组成,服务端由Go语言实现,管理后台采用beego框架与Angularjs实现前后端分离,底层的连接,数据读写由go协程和TCP协议实现。移动端基于Android平台,采用自定义的协议来建立与服务器的连接、通信。移动端完成包括消息的收发、解析以及断线重连等功能。经过测试,该平台满足移动端应用中实时性和低能耗的要求,解决了移动端获取数据的数据重复、流量高消耗问题,实际应用中效果良好。

【Abstract】 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.

【关键词】 实时消息推送androidGo语言
【Key words】 real-timemessage pushandroidGo language
  • 【分类号】TP311.52
  • 【被引频次】4
  • 【下载频次】224
节点文献中: 

本文链接的文献网络图示:

本文的引文网络