Design and Implementation of the P2P Instant Message System Based on NAT Traversal

Author
ZhangJingYi
Advisor
JiangJianGuo , LuLeBin
School
Xi'an University of Electronic Science and Technology
Major
Computer technology
Classification
TP393.09 The application of computer network
Degree
Master's thesis
Year
2008
Downloads
75
Citations
1

Request the full text

Abstract

Instant messaging system has been widely used , and being used in enterprises and institutions of the system from the campus network construction projects . Peer-to-peer ( P2P ) technology for real-time communication system to improve the existing client / server ( C / S ) structure has a lot of problems , to a large extent to achieve the communication between peers , to some extent the liberation of the server , to improve the transmission rate . However , P2P systems present in the Network Address Translation ( NAT ) environment hampered typical problem of the connection can not be established , therefore , it is necessary to conduct an in-depth study on this issue . For the above, the basic functions to complete instant messaging system , focused on solving the problem of NAT traversal . The following is the main work of this paper : 1 , system requirements analysis , research the functional architecture of the existing instant messaging system , and the system ( peer - to - peer technology and NAT ) conducted a comprehensive study and analysis , to master the technology, the basic principle ; 2 , the system analysis of the survey results , a comprehensive comparison today NAT traversal technology , the use of UDP Hole Punching main Relaying supplemented penetrate solutions ; overall design and detailed design of the system , and in accordance with the design results of the various functional modules of the system , including the different types of NAT penetration corresponding to sub-module ; 4 , the performance test system NAT traversal module and UDP reliable transmission mechanism , and adjust individual parameters according to test results , and further improve the health of the system . The current system in the experimental stage , to solve the NAT affect communication disruption , improve the lack of campus network , to meet user needs . The system is running well , stable performance, basically achieved the expected goals .

Table of contents

Abstract 3-4 Abstract 4-7 first chapter 7-13 1.1 Background and Significance 7 - 9 1.1.1 source project 7-8 1.1.2 significance of this topic 8-9 1.1.3 instant messaging 9 < br /> 1.2 this issue is the status quo 9-11 1.3 This work and thesis structure 11-13 1.3.1 This work 11-12 1.3.2 The structure of the paper 12-13 Chapter related technologies and programs selected 13-33 2.1 P2P Overview 13-18 2.1.1 P2P basic concepts 13-14 2.1.2 P2P mode and C / S pattern comparison 14-15 2.1.3 P2P form 15-16 2.1.4 P2P technology, and representative products 16-17 2.1.5 P2P instant messaging system 17-18 2.1 .6 P2P Summary 18 2.2 NAT and its traversal technology 18-30 2.2.1 NAT principle 18-20 2.2.2 NAT Classification 20-23 2.2.3 NAT traversal technology research 23-30 2.3 key technical scheme selection 30-31 <br / > 2.3.1 NAT traversal technology performance comparison 30-31 2.3.2 penetrating scheme selection 31 2.4 Summary 31-33 <br / > Chapter overall system design 33-47 3.1 System Overview 33-34 3.2 System Requirements Analysis 34-35 3.3 system physical architecture 35-36 3.4 functional structure design 36-38 3.5 system port design 38-39 3.6 architecture design 39-40 3.7 NAT penetration module design 40-42 3.7.1 Function module design 40-41 3.7.2 Process Design 41-42 3.8 System Basic Flowchart 42-43 3.9 database design 43-46 3.10 Summary 46-47 Chapter IV system detailed design and implementation 47-71 4.1 server-side design 47-49 4.1.1 server key features 47 4.1.2 Server-side detailed design 47-49 4.1.3 runtime environment and choice of development tools 49 4.2 Client Overview 49-50 4.2.1 IETF instant messaging software architecture 49-50 4.2.2 runtime environment and development tools of choice 50 4.3 user login and state management module 50-58 4.3.1 User Login 51-53 4.3.2 NAT type detection sub-module 53-55 4.3.3 user exits 55-56 4.3.4 User State Management 56-58 4.4 contact management module 58 4.5 file transfer module 58 -67 4.5.1 NAT penetration module design and implementation 60-64 4.5.2 UDP reliable communication 64-67 4.6 functional groups module 67-70 4.6.1 group established 67-68 4.6.2 join groups 68 4.6.3 within the group communication 68-69 4.6.4 members quit the group 69 4.6.5 revocation group 69-70 4.7 Summary 70-71 Chapter System testing 71-75 5.1 test software and test environment 71 5.2 NAT penetration test 71 - 73 5.3 UDP reliable transmission test 73-74 5.4 stress test 74 5.5 Summary 74-75 Chapter VI Conclusion 75-77 6.1 Summary 75 6.2 Prospects 75-77 Thanks 77-79 References 79-80

Related dissertations

  1. Research and Realization on P2P Communication Based on NAT Traversal
    YinJingJing ·Beijing Jiaotong University ·2012 ·Master's thesis
  2. Application Research of SSL and IPSec Technology in Constructing VPN
    ZhangXueJie ·Shandong University ·2007 ·Master's thesis
  3. Peer-to-Peer Instant Messaging System
  4. SIP-based network address through design
  5. Research and Realization of Solution for NAT Traversal in P2P Communications
    QinTian ·Hunan University ·2010 ·Master's thesis
  6. The Design and Implementation of SIP Based Managing and Control System for Smart Electricity
    GuanYunChong ·Northeastern University ·2013 ·Master's thesis
  7. Research on Key Technologies in End Hopping
    LinKai ·Nankai University ·2013 ·Doctoral dissertation
  8. Design and Implementation of Home Network Remote Management System based on CWMP
    TanWuSheng ·Hunan University ·2013 ·Master's thesis
  9. Research and Implementation of the Application Proxy System for IPv4/IPv6Transition
    WangWei ·Harbin Engineering University ·2013 ·Master's thesis
  10. Design and Development of Postal Marketing Support Platform Based on Android
  11. Design and implementation of mobile phone software and network instant communication software
  12. Design and Implementation of Network Office System Based on Enterprise Instant Messaging Tool MyQQ
  13. Reseach on Marching-on In-time Scheme and the Fast Algorithm of Time Domain Integral Equation
  14. Dongguan City Environmental Protection Bureau analysis and design of collaborative office platform
    LiuDongMing ·Yunnan University ·2013 ·Master's thesis
  15. Design and Implementation of Enterprise Instant Messaging System
    FengYue ·Xi'an University of Petroleum ·2012 ·Master's thesis
  16. Research and Implementation of Android-based Instant Messaging Platform
    LiZuoPeng ·South China University of Technology ·2013 ·Master's thesis
  17. Design and Implementation of the Instant Messaging System Based on Java
    LiYuanJun ·Shandong University ·2013 ·Master's thesis
  18. Design and Implementation of iOS IM System Based on Openfire Server
    GuoZhuo ·Jilin University ·2013 ·Master's thesis
  19. Reasearch and Design of Instant P2P Voice Commuication System Based on Wi-Fi Hotspot
    YangQun ·Central China Normal University ·2014 ·Master's thesis
  20. Research on Voice Characteristic of Instant Messaging