Font Size: a A A

Research And Application Of Distributed Gateway Based On Message Queue In Cloud Contact System

Posted on:2019-05-18Degree:MasterType:Thesis
Country:ChinaCandidate:X P XieFull Text:PDF
GTID:2428330572958997Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the continuous development of the advanced technology of social informatization,especially the continuous breakthrough of the Internet of things,mobile Internet and cloud computing,cloud contact system has been expanding the market with the advantages of flexible deployment,low cost and low risk of use,and the enterprise market has become more and more accepting of the advantages of the cloud contact system.The arrival of information age makes people need more accurate and professional information,and it has been found everywhere in the world of people's lives.Cloud contact system combined with modern enterprise service concept,the use of advanced technology,solved the shortage of traditional call center,and it can better adapt to the changing customer service requirements.In the context of the enterprise cooperation project cloud contact system,this paper designs and implements two system architecture,based on XMPP protocol and WebSocket protocol respectively,gives a comparison of system architecture from the two aspects of throughput and message average sending time,and designs the system cluster architecture based on WebSocket architecture.Instant messaging,combining project requirements with the performance comparison of Redis and RabbitMQ accessing queues,this paper gives the reason why the system finally adopted Redis as the instant messaging queue.In view of the gateway requirement of cloud contact system,this paper designs and implements distributed gateways of two systems architectures,and the use of the RabbitMQ communication between the gateway and other modules in the cloud contact system achieves decoupling of services.Firstly,the system gateway and message server of XMPP architecture are briefly introduced from the perspective of function module,including communication mode,event processing and interactive process.Then the user gateway and agent gateway in WebSocket architecture are introduced in detail,including communication module,message processing module,WebRTC module,offline message module and robot module.The communication module details Redis and WebSocket message sending and receiving methods.The message processing module introduces the design of message format,event processing and interaction scenario.WebRTC module describes the process of audio and video.The offline message module introduces the message storage after WebSocket break,which guarantees the reliability of instant messaging.The robot module details the robot architecture design and intelligent interaction process.The cloud contact system supports multi-channel mode access,and this paper takes WeChat channel as an example to design and implements the WeChat gateway.Firstly,the system architecture design of WeChat gateway is introduced,from single tenant mode to multi tenant mode.Then the message processing mechanism of WeChat gateway is introduced in detail from the aspects of message management,event processing and process processing.Finally,this paper introduces how enterprise WeChat public number is integrated into the cloud contact system.After the detailed design and implementation of each gateway,this paper presents the function test and performance test of the corresponding gateway,and analyzes the test results,and the result conforms to the system function and performance requirements.The cloud contact system has been deployed in a commercial bank and also releases an inside version of the cloud platform.
Keywords/Search Tags:Cloud Contact System, Distributed Gateway, WeChat Gateway, WebSocket, Redis, RabbitMQ
PDF Full Text Request
Related items