Font Size: a A A

Design And Implementation Of Distributed IM Service For Cloud Encryption System

Posted on:2023-04-23Degree:MasterType:Thesis
Country:ChinaCandidate:J W ChenFull Text:PDF
GTID:2568307022997569Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Instant Messaging(IM)system,as a real-time communication system,supports the reliable transmission of messages such as text,pictures,audio and video among different users.In today’s Internet era,instant messaging services have been widely used as a kind of infrastructure in different business applications.The cloud encryption system is a key management system based on content-associated encryption algorithms.The back-end system is built on a microservice architecture and supports multiple client terminals such as mobile and PC.It mainly provides users with cloud storage management for key files.By analyzing the daily usage scenarios of cloud encryption system users,it is necessary to introduce instant messaging services for the system,so as to provide users with more efficient and convenient communication methods.Based on the above background,combined with the daily usage scenarios of cloud encryption system users,analyze the exact needs of users for instant messaging services,and concluded that the system should have one-to-one chat,group chat,offline message push,sensitive word filtering,and messaging functions.In order to meet non-functional requirements such as performance,availability,and scalability,the system adopts a distributed architecture design to split instant messaging services into access services,gateway services,chat services,notification services,and interface services according to different business functions.Each service is deployed independently,communicates and cooperates with each other,and is stateless to support horizontal expansion.By abstracting data communication components and service container components,the same code logic is reused within different business services,which greatly simplifies the writing of business services and improves maintainability.As two core services,gateway service and chat service include more mechanism design.The gateway service mainly implements the functions of user long connection access and business service routing,and provides client load balancing support.The chat service mainly implements functions such as single chat,group chat,offline messages,and sensitive word filtering.In addition to being responsible for the forwarding of all messages,the chat service also implements reliable data transmission support based on the message reception confirmation mechanism.After functional and stress tests,the distributed IM system can basically meet the needs of cloud encryption system users for instant messaging services,and can still have good performance under extreme pressure.
Keywords/Search Tags:Instant messaging, Distributed, High availability
PDF Full Text Request
Related items