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

Request the full text

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

  1. Research on Game Server Architecture Based on Kademlia
    ZhongZuoLong ·Donghua University ·2013 ·Master's thesis
  2. Research on Routing and other Key Technologies in Peer-to-Peer Networks
  3. Research on Kev Technologies of Content Distribution in P2P Network
    ZhangJianWei ·Zhejiang University ·2013 ·Doctoral dissertation
  4. Zhong Shan City Bureau of Public Security of Network Information Retrieval and File Sharing System Design and Implementation
  5. Research of FTP Search Engine Indexing Technology Based on Kademlia
    ShiXiaoMei ·West China University ·2013 ·Master's thesis
  6. The Design and Implementation of Campus Network Resource Sharing and Interaction System Based on JXTA
    LiuJiang ·Tianjin University ·2012 ·Master's thesis
  7. Research on Load Balancing Using Virtual Servers for DHT-based P2P Network
    ChenZhiXing ·Hunan University ·2012 ·Master's thesis
  8. Research on P2P Topology Construct Algorithm Based on DHT
    YangFu ·Shenyang Aerospace University ·2011 ·Master's thesis
  9. Reasearch on the Security of P2P File Sharing System
    ShiJianZuo ·Harbin Institute of Technology ·2012 ·Doctoral dissertation
  10. Research on Optimization of P2P System Based on Behavior Measurement
    YeZuo ·Harbin Institute of Technology ·2011 ·Doctoral dissertation
  11. Research on DHT Algorithm of SIP Based on P2P
    QinZuo ·WRI ·2010 ·Master's thesis
  12. Research on P2P System Based on Improved Chord Protocal
    YuanZuo ·Hunan University ·2010 ·Master's thesis
  13. Load Control of Seed Node and Protection of Resources for P2P File Sharing System
  14. The Research of P2P Resources Location Algorithm Based on DHT and the Improvement of the Chord Protocol
    ZhaoQi ·Jilin University ·2013 ·Master's thesis
  15. The Design and Implementation of File Sharing System Based on Peer-to-Peer Network
    ZhaoLiMing ·Shandong University ·2012 ·Master's thesis
  16. Development of Operational Telecommunication Video-on-Demand System Based on P2P
    GuoZuoZuo ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  17. Research of Object Name Service and Its Security
    LiYang ·Hefei University of Technology ·2012 ·Master's thesis
  18. Research on Compensation Technology of DHT data based on P2P streaming media
  19. Several Key Technologies Research on Network Domain of P2P-Voip System in Chinese Internet
  20. Research on Key Technologies in Structured Peer-to-Peer Network
    ZhouJian ·University of Science and Technology of China ·2008 ·Doctoral dissertation