Font Size: a A A

Design And Implementation Of Instant Communication Distributed Scheme Based On Pub/Sub

Posted on:2018-05-07Degree:MasterType:Thesis
Country:ChinaCandidate:J M ZhangFull Text:PDF
GTID:2348330536966510Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the rapid development of mobile internet and information technology,the era of large-scale development of traditional telecom communication business has become the past.The instant messaging has become popular communication business.In the instant messaging products for small and medium enterprises,the user scale and system scalability is not demanding.However,if you are looking for industry-oriented mobile applications or you are the mobile application providers for individual users,it is necessary to find a good solution to meet the needs of large-scale applications in terms of user scale and system scalability.This paper is based on the unified communication products developed by Shenyang Institute of Computing Technology,Chinese Academy of Sciences,and systematically designs and develops the project of "Unified Communication Protocol Optimization and Cloud Research"(MCM20150103),which is the project of China Ministry of Education and China Mobile Research Fund.This paper adopts the distributed scheme to set up the instant messaging service system.In the choice of communication protocol,through the analysis of the existing mainstream instant messaging protocol,the MQTT protocol based on Topic-based publish/subscribe is selected to meet the demands of the fast,efficient and reliable transmission of instant messaging in the mobile Internet environment.Besides,this paper defines the structure of Topic with the requirements of the distributed instant messaging service system,and designs the specific instant messaging service scenario.Different from the standalone server,this paper designs a message routing strategy based on remote procedure call to ensure the normal sending and receiving of the messages on different servers and solve the problem about message routing of cross-proxy servers under distributed architecture.Distributed cluster system is transparent to the customer terminal.This paper combines with the use of instant messaging scenarios and adopts the feedback mechanism based on the load balancing strategy to ensure the balanced distribution for users among different servers and the effective use of server resources.Finally,the instant messaging using distributed scheme in this paper is tested and analyzed,and the feasibility and superiority of the distributed scheme based on Pub/Sub are verified.
Keywords/Search Tags:IM, Pub/Sub, MQTT, Message routing, Load balancing
PDF Full Text Request
Related items