The Design and Implementation of the instant messaging system

Author
YangHui
Advisor
JiGuoLi
School
Xiamen University
Major
Systems Engineering
Classification
TP393 Computer network
Degree
Master's thesis
Year
2002
Downloads
887
Citations
1

Request the full text

Abstract

The new instant messaging (Instant Messaging) is a hot topic in the current Internet applications . Instant messaging system through the establishment of a network of virtual communities , to provide users with real-time and effective means of communication . With the instant messaging system to the evolution of integrated communications media , to enter the field of enterprise applications , research in this area is also increasingly important at home and abroad on the instant messaging is not systematic and in-depth research . Assume directional instant messaging system developed by the research to solve a few basic questions : 1 . Instant Messaging systems need to do ? 2 . How to design real - time communication protocol ? 3 . How to achieve instant messaging server ? Turn led to the following thought : 1 . What is the trend of the development of instant messaging system ? 2 . How to design application-layer communication protocol ? 3 . How to construct a network server framework ? Around these issues , and project-based practice , systematic summary of the concept of instant messaging systems , service delivery model , communication protocols , server principle and the way to achieve levels . Basic reference value ; proposed application layer protocol design principles in the development of application-layer protocol and object-oriented server framework we have designed innovative examples of application framework technology . In this paper , through the analysis of the basic functions of the instant messaging system - presence and instant messaging services , we describe an abstract model of instant messaging and mapping relationships with the actual real-time communication system ; from the TCP / IP protocol study summarizes certain application-layer protocol design principles and apply them to complete the design of an instant messaging system protocol . We compare the server design strategy , proposed a special mechanism for the associated port and state detection algorithm gives a better server design . By absorbing the latest thinking of the object-oriented technology - design patterns , we extracted the framework of an instant messaging server , its good scalability characteristics is the focus of our discussion . Finally, industry research , we combed the immediate context of the development of the communication system , and also pointed out the problems to be solved in the IM study .

Table of contents

Chapter Overview 7-10 1.1. The course of development of instant messaging software 7 1.2. Study of the status quo of instant messaging at home and abroad 7-8 1.3. This paper studies content and innovation 8-10 second chapter of the basic concepts and analysis 10-15 2.1. Instant messaging system definition 10 2.2. Abstract model of the instant messaging system 10-12 2.2.1. To attend the Information Services 11 2.2.2. Instant messaging services 11-12 2.2.3. Attend the information services and instant messaging services, contact 12 2.3. Terminology of the instant messaging system 12-14 2.3.1. User agent concept 12-13 2.3.2. Security concepts 13-14 2.4. Summary 14-15 Chapter protocol analysis and design 15-28 3.1. Instant messaging protocol level positioning 15-16 3.2. Application-layer protocol design principle 16-18 3.2.1. Agreement between the participants to interact 16-17 3.2.1.1. The service participants the master-slave relationship 16 3.2.1.2. Coupling between service participants 16-17 3.2.2. The protocol security 17 3.2.3. The scalability of the agreement 17 3.2.4. For protocol considerations 17-18 3.3. Instant messaging system protocol design 18-27 3.3.1. TPIMP protocol provides services 18-21 3.3.1.1. Attend information services 18-19 3.3.1.2. Instant messaging services 19-20 3.3.1.3. Other services TPIMP agreement 20 3.3.1.4. TPIMP protocol provides services 20-21 3.3.2. TPIMP protocol running environment 21-22 3.3.2.1. The transmission speed of the network environment 21 3.3.2.2. Transmission error of the network environment 21-22 3.3.2.3. Complex coding environment 22 3.3.3. TPIMP protocol uses the vocabulary 22 3.3.4. TPIMP protocol format encoding 22-26 3.3.4.1. TPIMP protocol packet encapsulation 22-23 3.3.4.2. TPIMP protocol data format 23-24 3.3.4.3. TPIMP protocol packet format 24-26 3.3.5. The stable exchange rules of TPIMP agreement 26-27 3.4. Summary 27-28 Chapter algorithmic analysis and database structure 28-36 4.1. Server conceptual algorithm 28-29 4.2. The structure of the server select 29-30 4.2.1. Sockets Select - connected and non-connected 29 4.2.2. Port selection - single-port and multi-port 29-30 4.2.3. Service mode selection - circulation and concurrent 30 4.3. The server client state detection algorithm 30-31 4.4. Server database structure 31-33 4.4.1. Attend information database 31-32 4.4.2. Instant messaging, paging mode database 32 4.4.3. Session invitation database 32-33 4.4.4. Subscribe to a relational database 33 4.4.5. User registration database 33 4.5. Server performance evaluation the typical indicators 33-34 4.6. Server programming platform 34-35 4.7. Summary the 35-36 Chapter server object-oriented software to achieve 36-50 5.1. Object-oriented server software Overview 36-40 5.1.1. Structured way characteristics 36-37 5.1.2. The characteristics of object-oriented implementations 37 5.1.3. Design patterns 37-39 5.1.3.1. Factory method 37-38 5.1.3.2. Abstract factory 38 5.1.3.3. Template pattern 38-39 5.1.3.4. Facade pattern 39 5.1.4. Object-oriented server software program 39-40 5.2. The server framework the static model 40-45 5.2.1. Nbsp; 40-44 5.2.1.1 of the design of the class. Network interface subsystem 40 5.2.1.2. Database interface subsystem 40-42 5.2.1.3. Data Subsystems 42-43 5.2.1.4. Presence and instant messaging services the protocol subsystem 43 5.2.1.5. Server control subsystem 43-44 5.2.2. Class associated 44-45 5.3. The dynamic model of the server framework 45 5.4. The scalability of the server framework 45-48 5.4.1. Support business expansion 47-48 5.4.1.1. The upgrade protocol family support 47 5.4.1.2. Replacement protocol family support 47-48 5.4.2. Parallel Extensions support 48 5.5. Directional instant messaging system 48-49 5.5.1. Directional instant messaging system protocol 48-49 5.5.2. Directional instant messaging server algorithm 49 5.5.3. The directional IM server implementations 49 5.6. Summary 49-50 Chapter Development and Prospect 50-59 6.1. The protocol interoperability unified 50-52 6.1.1. The IMPP Working Group CPIM Agreement Series 50-51 6.1.2. Jabber XMPP protocol Foundation series 51-52 6.1.2.1. The Jabber system of architecture 51 6.1.2.2. The the Jabber protocol family characteristics 51-52 6.1.3. The CPIM and Jabber protocols unified tendency 52 6.2. The development of the working mode 52-53 6.3. Integration with other communication applications 53-54 6.3.1. And network integration of multimedia communications technology 53 6.3.2. And the telecommunications technology integration 53-54 6.3.3. And e-mail integration 54 6.3.4. And file transfer integration 54 6.4. Integration with other network resources 54-55 6.5. The client proxy function enhancements 55 the 6.5.1 interface personality of 55 6.5.2. Content customization 55 6.6. To be resolved technical problems 55-57 6.6.1. Security-related issues 56-57 6.6.1.1. System security 56 6.6.1.2. Information Security 56-57 6.6.2. Server 57 6.7. Application Prospect 57-58 6.8. Summary 58-59 Postscript to References 59-60 60-65 Appendix 1: TPIMP protocol packets tail encoding 65-74 1. Customer tail of the packet 65-68 2. The the server packets tail 68-73 Description: 73-74 Appendix 2: TPIMP protocol session 74-77 Appendix 3: Instant communications server framework detailed class diagram 77-78 1. Network interface subsystem 77 2. Database interface subsystem 77 3. Data Subsystems 77-78 4. Presence and instant messaging services the protocol subsystem 78 5. Server control subsystem 78

Related dissertations

  1. Research and Development of Sticker Wonderland System Baed on IOS
  2. Research of Web Application Based on J2EE Platform
    MaLiMing ·Wuhan University of Technology ·2004 ·Master's thesis
  3. Design and implementation of automatic circulation system based on J2EE platform documents
  4. The Analysis and Design of Instant Messaging System for Power Transformer Substation
  5. Design and Implementation of Application Framework Based on .NET Platform
    RenXiaoNing ·Dalian Maritime University ·2007 ·Master's thesis
  6. Study on the construction of the application framework of XBRL-GL in China
    HaoXinZuo ·Capital University of Economics ·2014 ·Master's thesis
  7. Design and Development of Postal Marketing Support Platform Based on Android
  8. Design and implementation of mobile phone software and network instant communication software
  9. The Information Analysis System of Smart Urban Management
    JiangNaiQiang ·Dalian University of Technology ·2013 ·Master's thesis
  10. Design and Implementation of Network Office System Based on Enterprise Instant Messaging Tool MyQQ
  11. Reseach on Marching-on In-time Scheme and the Fast Algorithm of Time Domain Integral Equation
  12. Dongguan City Environmental Protection Bureau analysis and design of collaborative office platform
    LiuDongMing ·Yunnan University ·2013 ·Master's thesis
  13. Design and Implementation of Enterprise Instant Messaging System
    FengYue ·Xi'an University of Petroleum ·2012 ·Master's thesis
  14. Research and Implementation of Android-based Instant Messaging Platform
    LiZuoPeng ·South China University of Technology ·2013 ·Master's thesis
  15. Design and Implementation of Software for Children’s Elementary Painting Education Based on iOS
  16. Design and Implementation of the Instant Messaging System Based on Java
    LiYuanJun ·Shandong University ·2013 ·Master's thesis
  17. Design and Implementation of iOS IM System Based on Openfire Server
    GuoZhuo ·Jilin University ·2013 ·Master's thesis
  18. Design and Implementation of Grain Purchase and Sale Management Information System Based on Web Framework
    SunZhong ·Hunan University ·2014 ·Master's thesis
  19. Research on Network System of Information Distribution and Relative Technology Based on Discrete State Predictor
  20. Reasearch and Design of Instant P2P Voice Commuication System Based on Wi-Fi Hotspot
    YangQun ·Central China Normal University ·2014 ·Master's thesis