| With the development of mobile Internet,mobile instant messaging App has become an indispensable part of people's life.Now most of the enterprise itself has formed its own set of instant communication architecture,but they will suffer a lot of difficulties.They may need to redesign the system to adapt user growth.The purpose of this paper is to analyze and design a scalable,high concurrency server architecture and client architecture suitable for mobile instant messaging App.The server architecture is analyzed and designed from four major aspects of the transmission protocol,the keep alive connection structure,short connection structure and database structure.To analysis and design client system it takes from technology selection,architecture model,message reliability delivery,connection keep alive,DNS optimization of five aspects into account.Transmission layer requires the security of message.At the same time,in order to save the network transmission flow,transmission layer needs as small of byte number as possible to show the protocol content.Long connection architecture design requirements to ensure the instant message in the premise of saving power as much as possible.Http short connection architecture design requirements to ensure service stability and scalability.Database architecture requirements business layer can ignore the database table depots and specific logic,while ensuring that the speed of database access.This paper comprehensive analysis and comparison options of each problem solution.Comprehensive analysis its advantages and disadvantages,and ultimately choose suitable platform for mobile instant messaging.This architecture solves current instant messaging system high traffic,power consumption and serious problems with optimize protocol design and server architecture,and it ensure user communication security.According to the IM user attributes,this paper provides a set of high reliable and scalable server architecture.With client architecture it solved the Android,iOS platform more than eighty percent code sharing problem,while UI can be written with their own Framework.Develop with this architecture developer can share logic code,and develop UI independently.This architecture can ensure the user experience while saving the cost can.This paper uses the software engineering management methods to complete the system requirements analysis,system design,system realization and system deployment,system testing at various stages.The key technology of system design expounds the system to build scalable,highly available server model and build suitable instant messaging App client framework.Through test to verify the feasibility of server system design.Client implements login,registration and chat functions to verify the security of the information interaction and message delivery timeliness.At the same time different platforms share logic code without affecting client performance and user experience problems and also ensure UI fluency. |