Font Size: a A A

Research And Implementation Of Message Push System On Android

Posted on:2020-02-05Degree:MasterType:Thesis
Country:ChinaCandidate:X B HanFull Text:PDF
GTID:2428330590956710Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet technology and mobile terminals,people's lives have become more and more convenient and rich,and both individuals and enterprises have been deeply affected by the Internet.Among them,obtaining information through mobile terminals has become one of the main ways for people to obtain information.The message push of the mobile terminal is similar to the implementation of message push in the Internet,that is,by using some common agreed network protocol,the message is analyzed according to the behavioral characteristics and preferences of the user,and then the analyzed message is actively pushed to the special user.Let users get the message they want.Therefore,how to effectively use mobile terminals to better realize the accuracy,timeliness and efficiency of information push has become an important issue for enterprises,researchers and program developers.In this context,this paper mainly does the following work:Firstly,the traditional text frequency-based text vector representation has the disadvantages of large vector dimension and low accuracy.A method based on semantic vector and improved word frequency vector is proposed to represent the vector of text.Firstly,the text training is performed by the improved word frequency vector,and the trained vector is subjected to PCA dimensionality reduction to obtain a dimensional vector.Then,the semantics-based model training is performed on the text,and a dimensional vector is also obtained.Finally,The two dimensions vector obtained are simultaneously trained in the Doc2 vec model to obtain a new text vector.Experiments show that the text vector improvement method proposed in this paper has a certain improvement in accuracy compared with text vectors obtained based on word frequency only or through text vectors based on semantics,which can be better according to different users in the future.The preferences and browsing history to provide more targeted message pushes are possible.Secondly,in view of the shortcomings of poor push real-time performance and large CPU resource consumption in the traditional polling-based message push scheme,a message push mechanism based on push push method is proposed and designed based on XMPP(Extensible Messaging and Presence Protoclo)is a university campus personalized message push platform.The overall architecture consists of two parts: the server and the mobile.Among them,the server provides Web services by using the Java language,Spring,and Mina frameworks.It mainly consists of two parts.One is based on the XMPP service on a certain port to communicate with the XMPPConnection class on the mobile side,and the other is a Web server.Adopt a lightweight HTTP service to receive web requests from mobile terminals;the mobile terminal is based on the XMPP protocol and is developed on the Android system platform to achieve the widest range of intelligent terminal users.Through the test of the delay,power consumption and data traffic consumption of the mobile terminal application software of the message push platform,the experimental results show that they are all in the normal range,which makes the XMPP protocol expand in the field of message push.
Keywords/Search Tags:Message push, Text vectorization, XMPP protocol, Java language, Mina
PDF Full Text Request
Related items