Font Size: a A A

The Design And Implementation Of Instant Messaging Software Based On XMPP Agreement

Posted on:2017-01-23Degree:MasterType:Thesis
Country:ChinaCandidate:H LiFull Text:PDF
GTID:2308330503979158Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
In recent years, the development of the mobile Internet is at a tremendous pace, which has also changed people’s communication style with each passing day.With the aid of the network, the communication has become a must in our life.More and more Internet users tend to use simple and fast instant messaging softwares.At the same time, all areas of society and life have been gradually covered by the mobile terminal thanks to the rapid popularization of intelligent equipment.It has become a mainstream tend that instant messaging softwares transfer from traditional PC to the mobile terminals. However, the mobile terminal of instant messaging softwares are unable to connect in the current development situatio, which also have a safe hidden trouble.To solve the above two problems, this article selects the open-source Android system as a development platform, with the XMPP agreement as communication agreement to solve the heterogeneous inter-operability of instant messaging software, and designs a kind of mixed encryption algorithm based on AES and RSA algorithm for data transmission,which is encrypted to ensure the data security. This article systematically introduces the Android system, and compares with other mainstream systems in order to prove its advantages. It is concluded that the cross-platform and scalability advantages through the analysis of the XMPP agreement.In the design of the instant communication software, this article uses the classic C/S(client/server) architecture, open-source Openfire server, and the MVC pattern.After finishing the design of the overall architecture, this article begins to design in specific respectively from the server, client and the protocol gateway three main parts. Server-side mainly realizes the user registration module, user login module, buddy list display module, sending messages module and encryption module.Besides,it attaches corresponding implementation flow chart.Client mainly implements the interface module, login module, user management module, user status change module, message processing module, data storage module, and encryption module, and the key steps to attach the XML data flow code. Subsequently, this article details the design on the server and client which use improved hybrid encryption algorithm. The algorithm is based on the original AES and RSA algorithm to optimize, respectively.Besides,it combines with AES algorithm which is fast and RSA algorithm which is advantageous for the key management and security features, and its superiority is verified by experiments. Finally, it is necessary to set up corresponding test environment for the design of software integration test. After testing, the software basically reaches the design target.This article can realize the users in instant messaging chat basic needs and solve the heterogeneous real-time communication software that cannot connect by the design of the Android instant messaging software based on XMPP agreement.Besides,the introduction of hybrid encryption algorithm further enhances the data security of the users in the process of communication and the use of user experience.
Keywords/Search Tags:Android, XMPP agreement, Openfire, Mixed encryption
PDF Full Text Request
Related items