Font Size: a A A

Design And Implementation Of Cloud Message Push Service Based On Android Platform

Posted on:2016-06-05Degree:MasterType:Thesis
Country:ChinaCandidate:M E HuangFull Text:PDF
GTID:2308330470955845Subject:Software engineering
Abstract/Summary:PDF Full Text Request
The traditional way of users taking the initiative to pull information from the server has many deficiencies, such as a waste of time and data traffic, increasing the pressure of the server, reducing the processing efficiency, etc. The technology of server-push can help users to save traffic and electricity, the popularity of mobile devices and3g network brings a greater space for the development of push service. However, due to the push service provided by the Android’s official, called C2DM, has many restrictions using in domestic. A stable and good-expanding information push service platform for Android is implemented to provide push service for the company’s business system. This is the purpose of this paper.In the process of constructing the cloud push service, first of all, the author participated in the design of push scheme and the overall design of message push platform. Secondly, the author independently completed the push requirements’ gathering and analysis, and then designed the prototype of management console. In the phase of detailed design and implementation, the author independently completed user and device management module, the client connection management module, message push management module, APP management module, service monitoring module. And the author also participated in the database’s design and the complete of SDK client. In the test phase, the author completed the system’s functional test and unit test of all modules. The message push scheme based on MQTT protocol, which is designed in this paper, provides the function of message push as a service. The applications on the same mobile device will share a persistent connection, so we can effectively save resources of phone as well as the number of server connections. The user device management module is responsible for the maintenance of device information, the relation of device and application, the relation of device and user. The client connection management module is the basic module of push service, the maintenance of persistent connection also has very high requirements on the processing power and performance of the server in high concurrency connection. So the client connection management module is designed as a network server based on NIO and reactor pattern, and realizes the asynchronous message push mechanism, to ensure the high performance of the message push service in this paper. Message push management module includes the functions of message push and push statistical, service monitoring module provides the function to monitor the status of the key interface, proxy server and message queue.At present, the push service is in the experimental stage. These modules completed by the author are running normally, and the function of which is stable. All jobs of the author have met the expected goal.
Keywords/Search Tags:Push Service, MQTT, High Performance, Persistent Connection, Android
PDF Full Text Request
Related items