Instant Messaging System Based on Multistage Server
- Author
- TangChunYao
- Advisor
- LiLanYou
- School
- Tianjin Polytechnic University
- Major
- Applied Computer Technology
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 163
- Citations
- 1
- Instant communication system
- Exchange Server
- Synchronization server
- The transmission of voice, video,
Abstract
Real-time communication system (Instant Messaging System) is a hot topic in the Internet . Enterprise Edition birth of instant messaging software to promote and improve enterprise efficiency , reduced office expenses , to bring new ideas and approaches to the management of the enterprise , and has aroused the concern of the field of engineering applications . Improve server processing power and speed of response on the basis of an analysis of the current popular instant messaging software , instant messaging server architecture , that server clustering technology to increase system throughput to support a large number of users at the same time online information exchange . Around the basic exchange functions and features of instant communication , the system was designed and implemented to manage user list synchronization server , exchange server and is responsible for send and receive SMS text messages a central server to communicate with the user directly . The basic text message transfer between customers in order to reduce the load on the server cluster , transit by the server , so as to solve the problem of the transmission of information between the internal network and the public network for voice , video transmission using UDP protocol P2P passed . In this paper, the design of voice , video P2P communication link structures the realization of the program , the transport without transit by the server , greatly improving the server 's processing power and speed of response , basically meet the requirements of business users . The frequent use of instant messaging users list and user ID unique characteristics , the system uses the the Trios tree establish a list of users , making the system user list query changes the operation speed .
Table of contents
Abstract 5-6
Abstract 6-10
Chapter Introduction 10-13
1.1 Instant Messenger software significance
1.2 domestic and international mainstream Instant Messenger software analysis 10-12
1.3 the contents of this article arrangements 12-13
second chapter of instant communication and its architecture technical background 13-19
2.1 instant messaging system is a client / server model 13-14
2.2 distributed multi-layer structure 14-16 <br / 2.2.1 C / S / D three-tier structure 14
2.2.2 Distributed Processing 14-16
2.3 upgrade based on the dynamic link library program to achieve
16-17 2.4 The system architecture 17-19
Chapter exchange server 19-34
3.1 exchange server communication model 19 the
3.2 exchange server - client communication connection 19-21
3.3 exchange server function analysis 21
3.4 exchange server high-performance design 21 - 26
the 3.4.1 message-driven mechanism 21-22
3.4.2 the introduction of multi-threaded strategy nbsp 22
3.4.3 exchange server management to achieve multi-threaded; of nbsp 22-23
3.4.4 exchange server thread structure; 3.5 Exchange Server 23-26
relationship with other servers 26-28
3.6 exchange server client relationship 28
3.7 exchange server and client analysis 28-31
In 3.7.1 user logon request processing module 29
3.7. 2 User heartbeat notification processing module 29
3.7.3 user state change request processing module 29
3.7.4 user message forwarding processing module 29-31
3.8 Exchange Server messaging functions 31-32
3.9 exchange server business scalability 32-34 the
fourth chapter synchronization server 34-42 < /> 4.1 set up synchronization server reason 34
4.2 instant messaging system positioning 34-36
4.2.1 instant messaging system positioning 34-35
4.2.2 instant messaging positioning model 35-36
the 4.2.3 object positioning achieve-users list 36
4.3 synchronization server and exchange server interaction 36-38
4.4 upstream SMS function 38-40
4.4.1 uplink synchronization server messaging functions; nbsp 38-39
4.4.2 Exchange Server analysis of uplink SMS 39-40
4.5 server cluster overall performance 40-42
Chapter client point-to-point voice, file transfer 42-48 < br /> 5.1 Network Address Translation (NAT) 42-44
5.2 solution for peer-to-peer connection UDP 44-45
5.3 using voice communication between users of peer-to-peer technology 45-48
Chapter instant messaging system other technologies 48-62
6.1 for instant messaging message memory management 48-53
6.1.1 FAQ memory heap allocation 48-49
6.1.2 pre-assigned 49
6.1.3 memory pre-allocated management principles 49 -50
6.1.4 memory pre-allocated management to achieve 50-52
6.1.5 memory pre-allocation performance analysis 52-53
6.2 instant messaging message filtering word management 53-54
6.3 traditional array-user list 54-55
6.4 The system user list 55-59
6.4. Improvements to the traditional user list 55-58
6.4.2 of the system user list to find the algorithm 58-59
6.5 The system user list model performance analysis 59-62
Chapter VII of the support management platform and database design 62-67
7.1 support management platform; nbsp 62
7.2 Customer service interface 62 -63
7.3 user statistics interface 63-64
7.4 teach according to the library memory message pool technology 64
7.5 business ─ ─ calls to stored procedures written in the database 64-65
7.6 of this system data forms 65-67 the
eighth Conclusion 67-69
8.1 Summary 67
8.2 still need to improve 67-69 the
refer to literature 69-71
Appendix instant messaging system communication protocol; nbsp 71-74
the papers and participate in research projects the
Acknowledgements nbsp 74-75; 75
Related dissertations
- Instant FLASH Display System on Mobile Devices Based on XMPP
- The Research and Realization of Instant Messaging System Based on P2P
- Mobile database research and experimental systems design
- Design of Synchronization Server Based on Ontology in Mobile Database
- Exchange Server Message Transportion Security Analysis