Research and Application of DHT-Based P2P File Sharing
- Author
- ZhouZuo
- Advisor
- HeKeYou
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP393.093 File transfer program (FTP)
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 202
- Citations
- 2
Abstract
P2P is one of the most popular techologies in recent years.It has developed rapidly in the field of VoIP downloading,streaming media and coordinated computing.P2P is considered as one of four technologies affecting internet mostly by Fortune.It embodies the most fundamental value of the Internet-free.P2P is opposed to C/S,with the purpose of easing the burden of server and taking full advantage of every node.However,a lot of P2P applications still depend on central servers.Before the communications of peer to peer,a node must connect to a server first in order to get some necessary information.This thesis works at server-dependent issue using P2P searching technology.It mainly studies P2P network models,file sharing protocols,Distributed Hash Table,Kademlia and libtorrent library.This thesis discusses the development of a file sharing system with DHT technology,which helps us get rid of the constraint of Tracker.The research includes analysing the metafile parsing,connection settings,request message among nodes. KRPC and Kademlia.Kademlia has some advantages,such as simple implemention, efficient lookup,accurate resource location which assures that resource will be found if it exists.Thus,Kademlia makes up for a deficiency of Gnutella.The mode of file sharing of this system is using Tracker+DHT.This will effectively reduce the burden of the server and continue providing services even if the server is broken down.The system can also limit half-open connections and add addresses of Tracker in order to reduce the impact of system overhead and get more nodes.The system has been tested in a real environment,and the result shows that DHT could replace central server and return more nodes.
Table of contents
Abstract 4-5
Abstract 5-8
Chapter 1 Introduction 8-12
1.1 P2P file-sharing and traditional C / S mode 8
1.2 BitTorrent existence of problems and solutions 8-9
1.3 P2P file-sharing and search for 9-10
1.4 paper structure and content of the arrangements 10-12
Chapter 2 of P2P file-sharing 12-31
2.1 P2P network model 12-19
2.1.1 P2P advantages of 12-14
2.1.2 P2P network topology 14-17
2.1.3 P2P technology application status 17-19
2.2 file sharing 19-22
2.2.1 file sharing principle 19
2.2.2 file sharing common agreement 19-22
2.3 DHT and its structure 22-25
2.3.1 DHT nature 24
2.3.2 DHT in the structure 24-25
2.4 Several common DHT protocol 25-31
2.4.1 Chord protocol 25
2.4.2 Pastry protocol 25-26
2.4.3 Kademlia protocol 26-31
Chapter 3 DHTShare key technical analysis 31-43
3.1 DHTShare functional description 32
3.2 torrent file extensions and analytical 32-35
3.2.1 BT protocol extensions 32-33
3.2.2 torrent file extensions 33
3.2.3 torrent file parsing 33-35
3.3 node ID of the calculations 35-36
3.4 node to obtain 36-39
3.4.1 Tracker Get node 36-38
3.4.2 DHT to obtain node 38-39
resources 3.5 between nodes exchange 39-41
3.6 half open connection (half-open connection) 41-43
Chapter 4 the DHTShare file sharing system implementation 43-60
4.1 System Development Environment 44
system 4.2 topology 44-45
4.3 The basic data structure design 45-48
4.4 file loaded 48-49
4.5 connection settings 49-50
4.6 request message 50-54
4.7 node ID 54-55
4.8 KRPC protocol 55-60
Chapter 5 System Operation and testing 60-63
5.1 system testing 60-61
5.1.1 system running on the specific hardware platform 60
5.1.2 system running 60-61
5.2 data analysis 61-63
Chapter 6 Summary and outlook 63-65
6.1 This paper summarizes 63-64
6.2 next job outlook 64-65
References 65-68
thank 68-69
published papers and to participate in the research the situation during the master's degree 69
Related dissertations
- Research on Game Server Architecture Based on Kademlia
- Research on Routing and other Key Technologies in Peer-to-Peer Networks
- Research on Kev Technologies of Content Distribution in P2P Network
- 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
- The Design and Implementation of Campus Network Resource Sharing and Interaction System Based on JXTA
- Research on Load Balancing Using Virtual Servers for DHT-based P2P Network
- Research on P2P Topology Construct Algorithm Based on DHT
- Reasearch on the Security of P2P File Sharing System
- Research on Optimization of P2P System Based on Behavior Measurement
- Research on DHT Algorithm of SIP Based on P2P
- Research on P2P System Based on Improved Chord Protocal
- Load Control of Seed Node and Protection of Resources for P2P File Sharing System
- The Research of P2P Resources Location Algorithm Based on DHT and the Improvement of the Chord Protocol
- The Design and Implementation of File Sharing System Based on Peer-to-Peer Network
- Development of Operational Telecommunication Video-on-Demand System Based on P2P
- Research of Object Name Service and Its Security
- Research on Compensation Technology of DHT data based on P2P streaming media
- Several Key Technologies Research on Network Domain of P2P-Voip System in Chinese Internet
- Research on Key Technologies in Structured Peer-to-Peer Network