Instant messaging system design and implementation
- Author
- ChenZuo
- Advisor
- HuangDiMing
- School
- University of Electronic Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 236
- Citations
- 5
Abstract
With the rapid development of Internet and the diversification of network applications, the Instant Messsge is becoming the hotspot of Internet applications. A new kind of method of communication is becoming populated in Internet application and replaces the traditional role of email due to the huge convenient, instant and fast, which is Instant Message.At present, Instant Messaging services are moving to the mobile domain.The benefits of mobility adds a number of features to make it even more attractive to the user.The main added benefits is that access to IM services becomes ubiquitous. In this thesis, the author not only discusses how to design and implement the server which is the core component of Instant Message system, but also devises a client which can support wireless users. The system uses Jabber protocol for communication.The server is implemented in modules.The core componets are message handler, session management module, presence management module and authencation module.The mobile client is based on J2ME technology.The author uses the MVC design pattern to separate different modules.This helps to archive parallel development and accelerate the speed of developement.Chapter 1 of this theis describes some kind of Instant Message protacals and disccuses the backgroud, the content and the purpose of the reserch. Chapter 2 introduces the fundualmental of Instant Messaging, including the backgroud knowledge and the Jabber protacal’s new features, and also analyses the advantages of the Jabber protocal. Chapter 3 begins with the Jabber protocal’s message modules and details the Jabber three core protocals: message, presence and iq.Chapter 4 discusses the design and implementation of the Message server.Chapter 5 discusses how to implement a mobile client to support mobile users. Chapter 6 concludes this thesis and purposes the next reseach tasks.
Table of contents
Abstract 4-5
ABSTRACT 5-6
directory 6-9
first chapter 9-15 <br / > 1.1 Introduction 9
1.2 instant messaging history 9-10
1.3 instant messaging protocol classification 10
1.3.1 Personal Instant Messaging 10
1.3.2 enterprise instant messaging 10
1.4 instant messaging and collaboration the 10-11
1.5 mainstream instant messaging 11-13
1.5.1 ICQ protocol 11-12
1.5.2 QQ protocol 12
1.5.3 Oscar protocol <br / > 1.5.4 MSN Messager agreement the IRC protocol 12-13
1.5.5 13
1.6 support wireless devices 13
facing 1.7 Instant Messaging problems the 13-14
1.7.1 Standardization 13
1.7.2 Security 13-14
1.7.3 Scalability 14
1.8 This article 14
1.9 paper tissue 14-15
second chapter of instant messaging foundation 15-24
2.1 instant messaging background knowledge 15-18
2.1.1-Jabber's history 17
2.1.2 Jabber target
2.2 JABBER 17-18 features the 18-22 2.2.1 XML-based
18
2.2.2 Jabber architecture 18-19
2.2.3 Jabber's four core concept the 19-22
2.3 JABBER the advantages 22-23
2.4 Chapter Summary 23-24
Chapter core protocol 24-46
3.1 JABBER model 24-27
3.1.1 advantages 24-25
3.1.2 shortcomings 25-26
3.1.3 distributed server 26
3.1.4 message routing 26-27
3.2 an XML stream 27-28
3.3 core protocol 28-40
3.3.1 Message Protocol (Message): transfer data 28-30
3.3.2-aware protocol (presence): update users online status 30-33
3.3.3 Information / Query Protocol (info / query): dealing with other applications 33-35
3.3.4 namespace 35-40
3.4 JABBER session example 40-45
3.4.1 the Jabber User Registration 40-41
3.4.2 the Jabber User Log 41-42
3.4 .3 user to add a contact 42-44
3.4.4 Jabber roster 44
3.4.5 Jabber user sends a message 44
3.4.6 Jabber user to change the current state of 44
3.4.7 Jabber user Logout 44-45
3.5 Chapter Summary 45-46 <br / > Chapter instant messaging system design and implementation 46-79
4.1 overall server architecture 46-58
4.1.1 modularity, server-side 46 -48
4.1.2 basic message flow the 48-49
4.1.3 certification 49-52
4.1.4 Session Management 52 - 53
4.1.5 thread 53-54
4.1.6 transfer logic 54-55
4.1.7 transmitter nbsp the; 55-56
4.1.8 Subscribe 56-57
4.1.9 server callback 57-58
4.2 server detailed design 58-61
4.3 the the server implementation the 61-77 4.3.1 database table design
nbsp 61-64
4.3.2 Network communications layer; 64-67
the 4.3.3 business layer to achieve 67-77
4.4 mobile client design 77-78
4.5 Chapter Summary 78-79
Chapter Conclusion and further work 79-80 the
Acknowledgements 80-81
Reference 81-83
attack Shuo obtained during the research 83-84
biographical 84
Related dissertations
- Research and Realization of XMPP-Based EIM
- 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
- 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
- Research on XML Conceptual Model and Internal Transformation Method