Font Size: a A A

Research And Implementation Of Message Push System Based On Comet Technology

Posted on:2019-05-24Degree:MasterType:Thesis
Country:ChinaCandidate:X Y WangFull Text:PDF
GTID:2428330572951572Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the expansion of business,the number of business users has gradually increased.In order to communicate with businesses effictively,it is necessary to establish a good mechanism for communicating with businesses.This mechanism can provide good services for merchants,help merchants to quickly handle to-do items,and improve the time and efficiency of the entire business process.It is also a good channel for merchants to learn about new features and new services.The message push system researched in this paper provides merchants with multiple channels of message push services.These channels include mobile applications,mobile SMS terminals,and web pages.Since the enterprise business user account is divided into the merchant dimension and the store dimension,the system supports message push from different latitude users.Different channels can push different types of messages,and support the application party to apply for different message templates independently.At the same time,a basic platform for message configuration is provided for the application party,so the application party can access the message push system quickly and legally.The system also provides API for merchant systems.In this research,the mobile application selects Baidu cloud service to implement message push,and the mobile phone short message adopts the company's unified short message service.The web server establishes a long connection between the server and the browser.This is based on the Comet server push technology.And the systems implements longpolling and streaming mode server push services.The system is divided into four modules: message acquisition,message processing,message push and message configuration.In this situation,developers can better maintain the system.A large amount of data is transmitted between two modules.Data will not be lost and will not be duplicated.And the system establishs a long connection between a message push server and a browser web page based on Redis distributed locks.The system meets the business needs of the enterprise by testing the system.It can push the real-time message to the merchant.According to the requirements,the system can push different messages to different channels.It also provides services for merchants to query historical messages.
Keywords/Search Tags:Comet Technology, Persisitent Connection, Bigpipe, Multichannel, Redis
PDF Full Text Request
Related items