Research and Application of Enterprise-class Instant Message System Based on XMPP
- Author
- ChenWu
- Advisor
- XiongShengWu , YangShiDa
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 264
- Citations
- 5
Abstract
With the development of information and network communication technology, instant messaging systems have also developed rapidly, such as QQ, MSN, the emergence of instant messaging systems created a new exchange method in the new century which was on the carrier of network. The instant messaging systems improved the efficiency and reduced the cost greatly when people communicate with each other, but the various instant messaging systems were based on different protocols, so that the users could not communicate with each other by instant messaging systems, this problem was solved by XMPP (Extensible Messaging and Presence Protocol).Jabber/XMPP which was based on XML was developed by an open source organization. The emergence of Jabber/XMPP leaded to the public competition between developers and promoted the development in the field of instant messaging technology. It also changed the situation that instant messaging systems can’t communicate with each other. It was easy to extend the functions of Jabber/XMPP systems, because Jabber/XMPP systems were based on a distributed architecture and modular system architecture. Because of these advantages, the instant messaging system based on XMPP for enterprise became an essential part of the enterprises.The thesis includes the following content:1. A summary about the relevant knowledge of XMPP and the detail process of XMPP.2. The thesis analyzed the requirements of the enterprise-class instant messaging system, gave the overall design of the system and the delineation of functional modules in accordance with the principles of system and function design.3. Realized the functions that were demanded by the systems through combining with open-source package of protocol in accordance with the principles of system design.The thesis focused on building enterprise-class instant messaging systems architecture which was suitable for China’s national condition by realizing open source protocol. Practices proved that the framework of the integration was powerful and low coupling. The framework of the integration enhanced the system’s maintainability and scalability, which achieved the goals of instant messaging system.
Table of contents
Chinese Abstract 4-5
ABSTRACT 5-10
Chapter 1 Introduction 10-13
1.1 research background 10
1.2 development in the world 10-11
1.3 research significance 11-12
1.4 content and thesis research organization 12-13
Chapter 2 XMPP-based instant messaging system related technical 13-34
2.1 C / S mode architecture 13-14
2.1.1 XML features and advantages 13-14
2.2 XMPP protocol based 14-18
2.2.1 XMPP Protocol Introduction 14
2.2.2 XMPP protocol family 14-15
2.2.3 Address Space 15-16
2.2.4 XMPP protocol namespace 16-17
2.2.5 XMPP protocol message format definitions 17-18
2.3 XMPP core protocol 18-32
2.3.1 User Registration Process 18-19
2.3.2 User login process 19-22
2.3.3 Get Friends online information flow 22
2.3.4 Add Friend processes 22-26
2.3.5 Remove Friend processes 26-29
2.3.6 users to send messages between processes 29-30
2.3.7 users to transfer files between the flow 30-32
2.4 SOCKS5 protocol based 32-33
2.5 Chapter Summary 33-34
Chapter 3 overall system design and the design of each functional module 34-55
3.1 system architecture 34
3.2 Public modular design 34-38
3.2.1 Session Management Module Design 36
3.2.2 XML processing module design 36-37
3.2.3 routing module design 37-38
3.2.4 encryption module design 38
3.3 each functional module design 38-44
3.3.1 User Registration functional design 38-39
3.3.2 User Login functional design 39-40
3.3.3 Functional Design for Friends online status 40-41
3.3.4 Add Friend functional design 41-42
3.3.5 Remove Friend functional design 42-43
3.3.6 to a Friend Send Message function design 43-44
3.3.7 exit the system functional design 44
3.4 file transfer module design 44-49
3.4.1 SOCKS5 protocol XMPP Extension 44-47
3.4.2 file transfer function design 47-49
3.5 database design 49-52
3.5.1 Enterprise Sector Information 49
3.5.2 User Information 49-51
3.5.3 Server Information 51-52
3.5.4 packet information 52
3.5.5 Other entries 52
3.6 system client design 52-53
3.6.1 client operating procedures 52-53
3.7 Chapter Summary 53-55
Chapter 4 instant messaging system to achieve 55-66
4.1 Public Module Implementation 55-59
4.1.1 XML parsing module implementation section 55-56
4.1.2 database connection module implementation 56-57
4.1.3 session management module functions to achieve 57-58
4.1.4 routing module functions to achieve 58-59
4.2 server-side implementation 59-63
4.2.1 user registration functions to achieve 60
4.2.2 user login function realization 60-61
4.2.3 roster management functions to achieve 61-62
4.2.4 File Transfer module functions to achieve 62-63
4.3 client implementation 63-65
4.3.1 client interface to achieve 64-65
4.3.2 Client File Transfer achieve 65
4.4 Summary 65-66
Chapter 5 System Test 66-71
5.1 system test design 66
5.2 system testing to achieve 66-70
5.2.1 System test structure design 66-67
5.2.2 user registration function test 67
5.2.3 Add Friend functional test 67-69
5.2.4 Send Message function test 69
5.2.5 Bulk messaging function test 69-70
5.2.6 File Transfer function test 70
5.3 Chapter Summary 70-71
Chapter 6 Summary and Outlook 71-73
6.1 Work Summary 71
6.2 Job Outlook 71-73
References 73-76
Thanks 76-77
Appendix: master's degree thesis and published during the period involved in the project 77
Related dissertations
- Remote Robot Control Technology Based on Android System
- Design and Implementation of the XProc Processor Based on.NET
- Design and Implementation of the XML Document Processing System Based on Xproc
- Research of Web Information Extraction Based on XML
- Research of Information Extraction from Web Documents Based on Tree Automaton
- Research and Application of Information Retrieval Based on XML Document
- Research of Keyword Query Processing on XML Data
- Research on Subtree Results Generation of XML Keyword Search
- Results Diversification for XML Keyword Search Based on Semantics
- Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
- Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
- Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
- Instant FLASH Display System on Mobile Devices Based on XMPP
- Research and Implementation of Keyword Query Technique in a Seamless Intergrated Relation-XML Database System
- The Design and Implementation of WebDAV Service in XML Database
- Research of Heterogeneous Database Integration Based on Web Service and XML
- Research on Encoding and Query Process Technology for Continuous Uncertain
- Research on XML Data Cube Based on Tree Structure
- XQuery Query Processor Design and Implementation
- Research and implementation of group production information integration management