A Remote Assistance Tool Based on P2P

Author
LiangXueYun
Advisor
ZhaoJianJun , DongXingQi
School
Shanghai Jiaotong University
Major
Software Engineering
Classification
TP393.09 The application of computer network
Degree
Master's thesis
Year
2008
Downloads
167
Citations
1

Request the full text

Abstract

Remote control software such as VNC allows user to control other computer remotely. It is very useful for remote technical support and accessing files on one’s work computer from one’s home computer, or vice versa. However, normally Remote control software has their limitation:They don’t support direct TCP connection crossing Network Address Translator.Relay server can help to establish connection crossing Network Address Translator. However Relay server will become a bottleneck.In order to solve the above problems, this thesis implements an improved Remote Control Software based on VNC which provide transparent Peer-to-Peer connection for user to easily remotely control another computer behind other NAT (Network Address Translator) or within the same NAT. The major work of this thesis includes:Study and implementation of Relay Server which supports both TCP connection and P2P hole punching.Study and implementation of transparent connection proxy which is not relate to any data transition. This transparent connection proxy supports both TCP and P2P connection. It can establish one or several data transportation channels, and select one channel which has best performance. Based on the transparent connection proxy architecture, new applications such as Vedio, Audio and as well as file transportation can be easily added to this system.Design and implementation of session management in order to support volume concurrent users. Session management includes session establishment, management, disconnection and monitoring.ClientSide Application Integration: Allow TTVNC client to be bound to other Application using ActiveX and SDK.Study, Analysis and implementation of Reliable UDP protocol and NAT hole punching.Improved VNC Software to support the connection via transparent network connection proxy.

Table of contents

Abstract 5-7 ABSTRACT 7-13 1 Introduction 13-18 1.1 Background 13-14 <br / > 120 research status 14-17 1.2.1 transfer server (Relay Server) 14 1.2.2 P2P connection mode 14-16 < br /> 1.2.3 VNC / RFB (Remote FrameBuffer) 16-17 1.3 in this thesis, the main work 17 1.4 thesis is organized 17-18 2 background 18-33 2.1 VNC software / RFB protocol 18 2.2 RFB protocol 18-21 2.2.1 RFB handshake phase 19-20 2.2.2 RFB initialization phase 20 2.2.3 RFB processing stage 20-21 2.3 VNC network Operating environment 21-22 2.3.1 VNC C / S (Client / Serer) connection 21-22 2.3.2 VNC reverse connection 22 < br /> 2.4 NAT modes and types 22-23 2.4.1 address Assignment and Routing 23 2.4.2 NAT type 23 <br / > 2.5 transfer relay mode 23 2.6 NAT for P2P type 23-25 ?? 2.6.1 Full Cone NAT 24 2.6.2 Restricted Cone NAT 24 2.6.3 Port Restricted Cone NAT 24 2.6.4 Symmetric NAT 24-25 2.7 STUN: NAT type detection method 25-26 2.8 data transfer protocol based on UDP -UDT 26-30 2.8.1 UDT reliability of the transmission mechanism 27-28 2.8.2 similar BSD Socket API interface 28-29 2.8.3 UDT Socket function 29-30 2.8.4 penetrate the firewall 30 2.9 SOCKS Server 30-33 3 system Architecture 33-41 3.1 design ideas 33-34 3.2 network architecture and service models 34-38 3.2.1 Usage scenarios 34-36 3.2.2 transfer relay mode 36-37 3.2.3 Peer-to -Peer mode 37-38 3.3 TTServer 38-39 3.4 TTProxy: separating design patterns with VNC 39 3.5 VNC software modification 39-41 3.5.1 RFB protocol 40 3.5.2 VNC client 40 3.5.3 VNC server 40 - 41 4 key technology 41-53 4.1 P2P holes algorithm 41-44 4.1.1 principle 41-42 4.1.2 design and Implementation 42-43 4.1.3 experimental data validation 43-44 4.2 session Management 44-47 4.2. a session request verification code mode 44-45 4.2.2 conversation group management and secure authentication 45 4.2.3 design and Implementation 45-47 < br /> 4.3 system performance design 47-48 4.3.1 principle 47 4.3.2 asynchronous log processing 47-48 4.3. more than three server supports load balancing 48 4.3.4 improve single server processing capability 48 4.3.5 multi-line room 48 4.4 multi- transmission channel management 48-49 4.4.1 principle 48 4.4.2 design and Implementation 48-49 4.5 TTProxy client integration 49-51 4.5.1 principle 49-50 4.5.2 command line and terminal control 50 4.5.3 client SDK 50 4.5.4 client ActiveX 50-51 4.6 analyze business operations 51-53 4.6.1 principle 52 < br /> 4.6.2 design and Implementation 52-53 5 transit server TTServer realization 53-62 5.1 Socket development 53 5.2 WinService operating framework 53 5.3 AccountService 53-54 5.4 TCPRelayService 54 5.5 UDPRelayService 54 5.6 P2PService 54-55 5.7 object's class design 55-57 5.8 database design 57-60 5.9 system monitoring page 60 - 62 6 transparent network Agent TTProxy realization 62-67 6.1 log 62 6.2 Relay channel created 62 6.3 data package 62-63 6.4 data forwarding services 63-64 6.4.1 TCP transit service thread 64 6.4.2 P2P channel to establish service thread 64 6.5 files and voice transmission processing 64-67 6.5.1 file Transfer 65-66 6.5.2 voice transmission 66-67 7 test programs and results 67-73 7.1 Summary 67 7.2 functional Test procedure 67-68 7.2.1 VNC function test 67 7.2.2 TTServer function test 67 7.2.3 network environment 67-68 7.3 performance Test 68-70 7.3.1 test Tool 68 7.3.2 network environment and hardware environment 68-69 7.3.3 test mode 69 7.3.4 performance Test Results 69-70 7.4 real-time monitoring 70-71 7.5 analysis of test results 71-73 < br /> 7.5.1 basic Data 71-72 7.5.2 data Analysis 72-73 8 Summary and Outlook 73-76 8.1 study concluded 73-74 8.1.1 the main thesis work 73-74 8.1.2 papers main innovation 74 8.2 research Prospects 74-76 8.2.1 improves performance 74 8.2.2 network connectivity success rate 74-75 8.2.3 added function 75 8.2.4 security Management 75-76 References 76-78 Thanks 78-79 <br / > study for a degree of academic papers published during directory 79-80 Shanghai Jiaotong University dissertation written resolutions 80

Related dissertations

  1. Microfinance Wholesale Mechanism Research and Construction Analysis
  2. The Investigation Report of P2P Lending
  3. Risk Management of P2P Network Financing Mode
    WangSheng ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  4. The Construction of P2P Networks Lending Risk Management System in China
    LuoYang ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  5. Research on Knowledge Sharing Model of Semantic Community Based on P2P Networks
  6. Design and Implementation of a Communication Platform for Internet-based Teleoperation
  7. The Application of P2P Traffic Identify and Monitoring Technology In the Network Operation
  8. Design and Implementation of P2P-VoD System Based on BitTorrent
    ZhuangYingJie ·Northeastern University ·2011 ·Master's thesis
  9. Study on Community-Based Information Retrieval System in Peer-to-Peer Networks
  10. Research on Game Server Architecture Based on Kademlia
    ZhongZuoLong ·Donghua University ·2013 ·Master's thesis
  11. The Research on WAN Distributed Storage Technologies Based on P2P Architecture
    YangLei ·Hunan University ·2013 ·Doctoral dissertation
  12. Research and Improvement of Distributed Lookup Protocol Based on Chord
    LiaoXiaoNa ·Tianjin University ·2012 ·Master's thesis
  13. Research on Kev Technologies of Content Distribution in P2P Network
    ZhangJianWei ·Zhejiang University ·2013 ·Doctoral dissertation
  14. Research and Implementatioil of Mobile Streaming Media Platform Based on Cloud Computing
    ChangLong ·Northeastern University ·2013 ·Master's thesis
  15. Research on the improvement of Chord algorithm in P2P network
    CaoLei ·Shaanxi Normal University ·2013 ·Master's thesis
  16. Research of Data Resources Sharing Based on P2P
  17. Zhong Shan City Bureau of Public Security of Network Information Retrieval and File Sharing System Design and Implementation
  18. Research of FTP Search Engine Indexing Technology Based on Kademlia
    ShiXiaoMei ·West China University ·2013 ·Master's thesis
  19. Design and Implementation of P2P Based on Full Text Retrieval System
    MengFanChao ·Jilin University ·2013 ·Master's thesis
  20. Design and Implementation of Teaching Resources Service System Based on.NET