Font Size: a A A

Implementation Of Message Push For Android Based On Netty

Posted on:2019-01-06Degree:MasterType:Thesis
Country:ChinaCandidate:L Q SunFull Text:PDF
GTID:2428330548977649Subject:Computer technology
Abstract/Summary:PDF Full Text Request
In recent years,the mobile Internet industry is developing rapidly,and it also promotes the development of mobile applications.From the first Tmall double eleven sales of 50 million in 2009,936 million in 2010,5 billion 200 million in 2011,and to 168 billion 200 million in the recent 2017.It can be seen that mobile internet has a great impact on society.Although the mobile Internet is developing rapidly,the way that the mobile terminal acquires information is relatively slow.In the mobile Internet,we should not only consider the problem of the flow consumption of the mobile phone,but also consider the timeliness of the message.Therefore,adopting a combination of pull and push to push messages is a general trend,which can not only avoid the waste of resources,but also meet the requirements of real-time.The main research contents of this paper are as follows:1)Introducing the research background and significance of this paper.Based on the current research on message push system,this paper elaborates the current status of message push research and other contents.2)Researching the related technology and basic knowledge necessary to implement this message push system.First,study the current implementation of common message push system,as well as commonly message push solutions.Second,research and implementation of the related technical methods,including: Android,network communication mechanism,Netty,MVC architecture,Maven and so on.3)Complete the overall design and detailed design of the message push system to achieve the specific functions of each module.Analyzing system design principles and design goals,Overall designing of all functional modules of the system.Detailed designing and implementation of each sub-module.The message push function,user and message management,message reception,message receipt and other functions of the message push system are initially completed.4)Testing embodiment of the system function modules.The functions of user registration,login,message sending and receiving,online connection management and other functions are tested in detail.Using multiple threads simulate large numbers of users online situation to test the performance of the server,the number of concurrent connections,CPU utilizationResearch results in this paper are as follows:1)The client completes the establishment of a long connection,heartbeat maintenance,receiving message,message codec,message receipts and other functions.2)The server has completed functions of maintaining a long connection with the client,users and messages management,message codec,and sending messages to the client.3)Optimizing system interfaces to facilitate third-party application access systems.
Keywords/Search Tags:Message Push, Netty, Java, Android
PDF Full Text Request
Related items