Font Size: a A A

Design And Implementation Of Android Terminal Message Push Platform Based On XMPP Protocol

Posted on:2018-06-12Degree:MasterType:Thesis
Country:ChinaCandidate:Y ZhouFull Text:PDF
GTID:2348330518463019Subject:Engineering
Abstract/Summary:PDF Full Text Request
Message push service in the mobile Internet has been a very wide range of applications,mobile application developers reasonably using push business to attract and retain users,and also improve mobile application activity.Based on the above background,this paper studies the message push frame and the traditional message push scheme,and designs and implements the messaging platform based on Android terminal.Research on traditional message push scheme.Polling was originally used for web request connection scheme,the main principle is to set a good interval to the server-side connection request,polling is to use this frequent connection method to maintain synchronization with the server.The long connection takes the form of multiple requests sharing a connection,and if there is no message to be pushed during the connection,the client maintains a persistent connection with the server in the form of a link detection packet,and if there is a message that needs to be pushed,Sent directly to.Long connection with the server after the establishment of the connection is not closed,you can solve the polling method because of frequent connection requests to bring the waste of resources.In the polling scheme,when the client receives the server response,the connection between them is disconnected to wait for the next polling connection.This connection is less power than the long connection and the server-side connection,But the long connection is better than the real-time polling.But if there are many clients at the same time with the server to maintain a long connection,which has a high amount of concurrent server requirements.And long connections in order to maintain continuous connection with the server,the number of users may lead to the collapse of the system too much.Polling scheme is not always available every time to obtain data,increase the network load;long connection program message can be pushed to the client at any time to ensure the real-time information,but the push function in the long connection idle time too much waste of resources.Aiming at these two message push schemes,it is difficult to balance the power consumption,traffic consumption and real-time of the mobile terminal.A dynamic connection strategy is designed.Experiments show that the dynamic connection algorithm can reduce the power consumption and traffic of the mobile terminal,and it does not have a great impact on the real-time push of the message.Combined with the campus background,the demand for information delivery platform for analysis,put forward the design goals and design ideas,detailed design and implementation of various functional modules,including server,client,background management and database.To achieve the Android terminal messaging platform and platform to provide open interface services,and message push function and have a test on the open interface functions.
Keywords/Search Tags:XMPP protocol, Android terminal, message push
PDF Full Text Request
Related items