Font Size: a A A

Design And Implementation Of Instant Communication System Backend For Enterprise

Posted on:2017-05-16Degree:MasterType:Thesis
Country:ChinaCandidate:H TengFull Text:PDF
GTID:2348330533469015Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of mobile Internet,the way people communicate has long been transferred from short message telephone to instant messaging software,such as WeChat.Communication between people and people become more efficient and convenient,but at the same time,a lot of spam is filled with instant messaging software.All communications software contains a large number of communication independent features,so in the enterprise class application scenarios,we need a more professional security and contains a series of customizable features.At present,our company is still using the Tencent RTX as the enterpri se internal instant messaging software.Use RTX to complete the organization of the customization,but the support for the mobile terminal is not good.On the basis of this,and try to use this Ming Enterprise Communication software,but Ming strange task system and the company's own business is not too fit,therefore,instant communication system support structure and message customization organization push we need to develop a custom,landing,support a variety of client business.In this paper,first of all,the requirements of the project and the technical selection of a comprehensive analysis,through the requirements of the comb,to determine the project in the application of all the technology.The traditional client server structure is selected.The server in the message serialization mode are considered based on the XMPP(existing communication protocols)and develop its own implementation agreement,the final agreement in its own choice,determine the use of Google protocol buffer as the message transmission format,and the characteristics of message system IO based on intensive,server selection the single threaded asynchronous non blocking structure,based on the Reactor mode of the structure of server system.For efficiency consideration,are cons idered golang and C++ two programming languages for the master degree of the consideration of the technical project group,choose the C++ development,and select the network programming framework,and decrease the amount of development,in the data storage,choose MySQL and redis combination mode.The instant messaging backend system consists of login server,long connection front-end server,routing server,message processing server,the data server of the five part,in this paper,for I am responsible for the login server,data server and front-end server long connection module are introduced and illustrated.Login server for user login authentication and long connection front-end server load balancing.The long connecting front server is responsible for all of the client and server message interaction processing,and maintain a long connection with the client.Data server to the need to save the data to the database.In the actual deployment,the need for each node to deploy more than one,to ensure the st ability of the system.Finally,we need to test the system function and performance test,to ensure the correct implementation of the various functions of the system,and the system pressure test,verify the system's ability to stress.By testing,the syst em can meet the needs of the system can meet the on-line standards,the current system has been able to put into practical use.
Keywords/Search Tags:IM Server, Reactor mode, message storage and transmission, High Concurrency with one thread, message serialize
PDF Full Text Request
Related items