| As one of the largest Internet features,messaging is widely used in all walks of life.Their importance in people’s daily lives is growing by the day.Traditional messaging as a simple system is not complex,but as the number of users grows,the level of messages synchronization will grow and the storage of data storage will be challenged.It results in users not receiving messages on time or in the wrong order.At the same time,with the development of the mobile Internet,message notifications are gradually moving to multiple devices and multiple terminals,where a person can log on to multiple terminals at the same time.How to receive correct and timely messages becomes a problem that needs to be solvedBased on the large number of users and high concurrency of Internet,a modern message synchronization and storage solution is designed and implemented.From the preliminary requirements analysis stage,the usage requirements of message users are defined,and use case diagrams for different roles are drawn.In terms of system design,the architecture of the system is explained,the synchronization process of messages between multiple ends is introduced,the detailed design of the message synchronization method is designed.The difference between the traditional message synchronization method and the synchronization method designed in this paper is highlighted.The advantages of this design solution are explained.The features of reading and writing large-scale messages are analyzed,the advantages and disadvantages of both readpropagation and write-propagation approaches are discussed.The common usage scenes are also discussed.A specific design and implementation of a method to mix the two approaches is realized,and a database design based on the characteristics is developed.At the same time,considering the complexity of the system for multi-talent access,the system is designed as a SAAS(Software-as-a-Service)structure,and the requirement for functional configuration staff to maintain the SAAS system is realized.After analysis,a modern multi-terminal messaging system is finally realized,which meets the messaging requirements of modern Internet user.The system can accomplish the characteristics of multi-terminal message synchronization without loss.An IM tool is realized as a manifestation of message multi-terminal synchronization to verify the correctness and performance requirements of the function implementation.The maintenance of the system SAAS is implemented as a backend management system,which makes it easy for the user to maintain the system. |