The cluster technology Web - based instant messaging system
- Author
- NiQingFeng
- Advisor
- DengShiKun
- School
- Yunnan University
- Major
- Applied Computer Technology
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 55
- Citations
- 0
Abstract
Real-time communication system (Instant Messaging system, IM) has become a daily communication , corporate communication, and many areas of e-commerce and other essential tools to strengthen the links between people , to improve the efficiency of communications , has brought great social and economic benefits . With the growing demand Web application WebIM ( Web-oriented real-time communication system ) has become a hot topic in the current instant communication research . Relative to traditional instant messaging system , WebIM more flexible , convenient features and platform independence , very broad application prospects . Traditional C / S architecture real-time communication system . , WebIM B / S architecture . WebIM through the Web client server polling or long connection to realize the transmission of instant messaging server concurrency requirements is currently majority WebIM to system bottlenecks . XMPP ( the Extensible Messaging and Presence Protocol Extensible Messaging and Presence Protocol) the instant communication protocol based on XML (Extensible Markup Language) , has good flexibility and scalability , a high degree of standardization , is more immediate communication agreement. Article to improve concurrent processing capability as a starting point to study the prevailing model of the XMPP protocol and cluster technology , design a Web cluster model of real-time communication system . System design integrated application server clustering technology, communications the junctional complex management technology , BOSH ( Bidirectional -streams Over Synchronous HTTP , HTTP bidirectional communication ) technology , and from a number of aspects to analyze and optimize the system structure , and improve efficiency. Constructed on the basis of a series of real-time communication and instant messaging , user management , contacts list , online notification function , a set of high-concurrency , low latency web instant messaging system operators and e-commerce carried out to provide good service .
Table of contents
Abstract 3-4
Abstract 4-8
Chapter Overview 8-12
1.1 Background
1.2 research status 8-10
1.3 The main content of this
1.4 papers organizational structure 10-12
Chapter II XMPP instant continuity agreement 12-22
2.1 XMPP Protocol Introduction and Features 12-13
2.1.1 XMPP protocol 12-13
2.1.2 XMPP features 13
2.2 the XMPP protocol communication model 13-15
2.3 XMPP protocol defined 15-20
2.3.1 address space 15-16
2.3.2 XML streams and XML stanzas 16-18
2.3.3 XMPP protocol message format 18-20
2.4 XMPP protocol security mechanisms 20-21
2.5 session establishment process 21-22
cluster technology 22-28
3.1 cluster concept 22
3.2 cluster classification 22-23
3.3 load balancing 23-25
3.3.1 load balancing technology classification 23-24
3.3.2 load balancing algorithm 24-25
3.4 server failure detection and recovery 25-26
3.5 Web server cluster 26-28
Chapter Web Design and Implementation of the instant messaging system 28-65
4.1 Overview 28-29
4.2 overall system structure 29-30
4.3 XMPP server 30-50
4.3.1 Network Management Module 31-33
4.3.2 XML processing module 33-37
4.3.3 Session Management Module 37-40
4.3.4 storage management module 40-42
4.3.5 User Management module 42-43
4.3.6 Contact roster management 43-45
4.3.7 XMPP server cluster module 45-50
4.4 connection management module (multiplexer) 50-52
4.5 Web services cluster 52-55
4.5.1 Nginx / Jetty Cluster Server 53-54
4.5.2 Web server cluster implementations 54-55
4.6 HTTP-BINDING module 55-59
4.6.1 BOSH technology system structure 55-56
of 4.6.2 BOSH of principle and achieve 56-59
4.7 Web client 59-62
4.7.1 JWchat introduced 60-61
4.7.2 news package 61
4.7.3 Ajax long polling 61-62
4.8 communication security 62-65
4.8.1 TLS handshake process 62-63
4.8.2 SASL verification process 63-65
system test 65-69
5.1 system test environment 65
5.2 testing process 65-67
5.3 test results 67-69
Chapter VI summarizes 69-71
6.1 work summarizes 69
6.2 insufficient and Prospects 69-71
the
References 71-74
Acknowledgements 74
Related dissertations
- Study on the key technology of the Web-oriented applications of real-time communication system
- Remote Robot Control Technology Based on Android System
- Research and Implementation of DNS64Key Technology in the IPv4/IPv6Transition
- Instant FLASH Display System on Mobile Devices Based on XMPP
- Research and Implementation of Enterprise Auxiliary Office System MIRAOS
- Research and Implementation of Android-based Instant Messaging Platform
- Research and Implimentation of Key Functions of Enterprise IM Based on XMPP
- The Research and Implement of Virtualization Technology Based on Cluster of Server
- The Realistic Conditions and Specific Approaches for Development of Creative Industry Clusters in Jinjiang District, Chengdu City
- Effects of Simulated Weightlessness on the Degenerative Mechanism of Lumbar Intervertebral Disc
- Effects of Ag, Mg, Er Elements on the Formation and Evolution of Clusters and Mechanical Properties of Al-Cu-Mg-Ag Alloys
- A Theoretical Study on the Part of the Carbon Nitrogen Cluster
- The VoR-Tree index the parallel construction technology research based on MapReduce
- The Design and Development of Smart Home Remote Control System Based on XMPP
- Research and Implementation of Security Technology Based on TLS in INSTLINK
- Security Analysis Andapplicationstudy of XMPP Protocol
- The Design and Implementation of Cross-Platform Instant Message Library Based on XMPP
- The Design and Implementation of News and Information Processing System Based on the Semantics
- Applied Research on Local Qualitative Factors in the Analysis of Medical Data
- Design and Implementation of Hadoop Cluster Monitoring System