Research and Implementation of P2P-based Communication Model Applied to Network Education
- Author
- MaZuoFen
- Advisor
- FuXiaoLing
- School
- North China University of Technology
- Major
- Applied Computer Technology
- Classification
- TP393.02 Computer network architecture and design
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 195
- Citations
- 5
Abstract
P2P (Peer-to-Peer) is a kind of network architectures. Computers connect to other computers to share resources and services directly in P2P networks. There are three different structures for P2P networks: Centralized P2P, Structured P2P and Unstructured P2P. P2P solved several types of applications on network: file sharing, P2P computing, search engine, cooperated work and instant messaging.This paper has made research and implementation to a P2P-based network communication model (in short NCM) as the foundation platform of the Network Education System (in short NES). NES that combines school education, society education and family education is the extension of the real school. The communication model is based on Structured P2P architecture. Servers themselves do not deposit any resources. They only help the peers to establish P2P virtual channels and do not relay the data between peers.NCM is divided into four layers: the network layer, the protocol layer, the processing layer and the data layer. The IO completion port enhances the concurrency of the system and the Winsock extensions improve the performance of the network layer. UDP Hole Punching enables two peers to set up a direct P2P UDP session with the help of a well-known rendezvous server, even if the peers are both behind different NATs. Timeout-Retransmission is involved to add Reliability to UDP. The Design Patterns are introduced into the protocol layer to improve the reusability of the code and make the code be easy to maintain and extend. Thread Pool and Memory Pool are used to improve performance of the system.TCP and UDP don’t provide the service of data security. An algorithm that combines symmetric encryption with dissymmetric encryption is designed to resolve the problem. We encrypt the key of DES algorithm with the RSA algorithm and the general information with the DES algorithm. The algorithm improves security of the transport in internet.NCM satisfied the Network Education System that is on using now according to tests and it can be used in other OA systems.
Table of contents
Abstract 4-6
ABSTRACT 6-8
directory 8-12
1 Introduction 12-19
1.1 subject background 12-16
1.1.1 network Education of 12
1.1.2 forms and characteristics of existing products 12-14
1.1 .3 P2P technology 14-16
1.2 significance of topics and content 16-17
1.2.1 topic purpose and significance 16-17
1.2.2 The topics to be covered 17
1.3 thesis is organized 17-19
2 P2P technology fundamentals 19-26
2.1 P2P technology introduction 19-20
2.1.1 P2P define 19
2.1.2 P2P technology features 19-20
2.2 P2P network structure 20-22
2.2.1 centralized P2P 20
2.2.2 unstructured P2P 20-21
2.2.3 structured P2P 21-22
2.3 P2P and C / S, B / S comparative 22-26
2.3.1 C / S structure is characterized 22-24
2.3.2 B / S structure is characterized 24
2.3.3 comprehensive comparison 24-26
3 Online Education system Overview 26-28
4 NCM overall design 28-36
4.1 design principles 28-29
4.1.1 reliability principles 28
4.1.2 high Efficiency principle 28-29
4.1.3 thin server principle 29
4.2 NCM network topology 29-31
4.3 NCM hierarchy 31-32
4.4 -node communication strategy 32-36
4.4.1 node pattern of relationships 32-34
4.4.2 Index Server 34
4.4.3 P2P positioning and communication procedures 34-36
5 NCM realization 36-64
5.1 communication layer to achieve 36 -53
5.1.1 network Communications Fundamentals 36-39
5.1.2 performance server research 39-46
5.1.3 through NAT [26] 46-50
5.1.4 to increase the reliability of UDP 50-53
5.2 protocol layer implementation 53-57
5.2.1 for object implements 53-54
5.2.2 design Patterns 54-55
5.2.3 implementation details 55-57
5.3 processing layer implementation 57-62
5.3.1 thread synchronization and mutual exclusion 57
5.3.2 thread pool 57-58
5.3.3 memory pool 58-62
5.4 data layer implementation 62
5.5 DHT design and implementation 62-64
6 encrypted 64-67
6.1 encryption necessity 64
6.2 encryption algorithm selection 64-66
6.3 encryption process 66-67
7 NCM test 67-69
7.1 test objectives 67
7.2 test environment 67
7.3 testing process 67-68
7.4 test results 68-69
8 Conclusion 69-71
8.1 Conclusion 69
8.2 Prospects 69-71 <br / > References 71-74
learning research 74-75
Thanks 75
Related dissertations
- Microfinance Wholesale Mechanism Research and Construction Analysis
- The Investigation Report of P2P Lending
- Risk Management of P2P Network Financing Mode
- The Construction of P2P Networks Lending Risk Management System in China
- Research on Knowledge Sharing Model of Semantic Community Based on P2P Networks
- Communication mode and effect analysis of the micro film
- The Application of P2P Traffic Identify and Monitoring Technology In the Network Operation
- Design and Implementation of P2P-VoD System Based on BitTorrent
- Study on Community-Based Information Retrieval System in Peer-to-Peer Networks
- Research on Game Server Architecture Based on Kademlia
- The Research on WAN Distributed Storage Technologies Based on P2P Architecture
- Research and Improvement of Distributed Lookup Protocol Based on Chord
- Research on Kev Technologies of Content Distribution in P2P Network
- Research and Implementatioil of Mobile Streaming Media Platform Based on Cloud Computing
- Research on the improvement of Chord algorithm in P2P network
- Research of Data Resources Sharing Based on P2P
- Zhong Shan City Bureau of Public Security of Network Information Retrieval and File Sharing System Design and Implementation
- Research of FTP Search Engine Indexing Technology Based on Kademlia
- Design and Implementation of P2P Based on Full Text Retrieval System
- Design and Implementation of Teaching Resources Service System Based on.NET