Research and Implementation of P2P Protocol Fusion Technology
- Author
- JiangShuWen
- Advisor
- ChenJianYa
- School
- Beijing University of Posts and Telecommunications
- Major
- Communication and Information System
- Classification
- TP393.04 Communication protocols, communication protocols
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 44
- Citations
- 0
Abstract
With the spreading development of the Internet, more and more people find and download resource that they love. The content transmitted on Internet has changed from text to multimedia data, these files always very huge, in the current network environment users’ download speed very solw. How to develop download speed becomes the focus. Because of the high effiective and sufficient resources on the P2P network, P2P download software almost replaces the server/client network. But there are still many server/client networks. If we can use both of the technology for downloading, we can improve our download speed and on the other hand wen can improve the usage of the resources on Internet.This paper proposes a new mind of high download speed for the lack of the P2P download mode. Integrate C/S mode with P2P mode to implement a protocol fusion download software.The paper begins with the struct of the P2P network and client/server nerwork, first introduce P2P technology and client/server network. Second introduce the widely used BT protocol and HTTP protocol. After understanding these basic concepts, we selected BT protocol download software rtorrent and its supporting library libtorrent as a basis for improvements int the libtorrent library to add common interface of protocol integration class, and use the libcurl library to achieve the HTTP download process. Modify the main proguan and text interface for rtorrent, and ultimatelu the BT protocol and HTTP protocol download software has been implemented. After testing, this P2P protocol fusion download software’download speed is higher than P2P download software’s in any network environment.The next few years, a variety of network resources will become more abundant, and people use the Internaet to download the necessary resource will be increasingly important. Protocol fusion download software will better satisfy the demand of users’requirement. Protocol fusion mind is bound to be widely used.
Table of contents
Abstract 4-5
ABSTRACT 5-9
first chapter 9-15
the background and significance of the research
1.1 9-10
1.2 research ideas 10-12
1.3 of this paper mainly work 12-13
1.4 sections of this paper arrangements 13-15
the BT protocol with HTTP protocol 15-31
2.1 P2P network P2P technology Introduction 15-18
2.1.1 P2P network About 15-17
2.1.2 P2P networks technology applications and research status quo 17-18
2.1.2.1 file exchange 17
2.1.2.2 peer 17
2.1.2.3 search engine 17-18
2.1.2.4 collaborative work 18
2.1.2.5 instant messaging 18
2.1.2.6 development platform 18
2.2 BT protocol introduced 18-25
2.2.1 BT network architecture 19
2.2.2 BT protocol process 19-25
2.2.2.1 torrent file format 20-21
2.2.2.2 Tracker HTTP / HTTPS protocol 21-23
2.2.2.3 Peer wire protocol 23-24
2.2.2.4 Conclusion 24-25
2.3 the C / S mode and HTTP protocol introduced 25-27
2.3.1 C / S mode Introduction 25
2.3.2 HTTP Protocol Introduction 25-27
2.4 P2P mode and C / S mode 27-29
2.5 This chapter Summary 29-31
Chapter BT download the software the rtorrent its agreement libraries libtorrent 31-53
the 3.1 BT download software selection 31
3.2 rtorrent introduction and use instructions 31-42
3.2.1 libtorrent and the rtorrent software environment to build process 31-33
3.2.2 to rtorrent command made law 33
3.2.3 rtorrent interface made law 33-42
3.3 rtorrent source code analysis 42-46
3.3.1 Global File 42-43
3.3.2 screen display 43-44
3.3.3 input processing 44
3.3.4 underlying operating 44
3.3.5 user interface 44-45
3.3.6 Remote control 45
3.3.7 process core 45-46
the libtorrent source code of the 3.4 protocol library analysis 46-52
3.4.1 libtorrent source structure 46-47
3.4.2 libtorrent important mechanism 47-49
3.4.3 libtorrent focus parsing 49-52
3.4.3.1 download core class of analytic 50-51
3.4.3.2 underlying network architecture related analytic 51-52
3.5 This chapter Summary 52-53
Chapter to achieve integration by the BT agreement with the HTTP protocol 53-69
4.1 libtorrent in the realization of the agreement fusion common interface 53-60
4.1.1 Select the interface to achieve the position 53-56
4.1.1.1 peer lists 53-54
4.1.1.2 fragment list 54-56
4.1.1.3 Selected protocols fusion of the realization of the common interface position 56
4.1.2 protocol integration of a common interface to achieve 56-60
4.1.2.1 protocol that combines the common interface 56-57
4.1.2.2 Download file block management, 57-58
4.1.2.3 agreements fusion common interface to achieve 58-60
4.2 HTTP download process to achieve 60-62
4.2.1 HTTP download process to achieve the principle 60-61
4.2.2 HTTP download process to achieve 61-62
4.3 BT protocol and HTTP protocol integration software to achieve 62-66
4.3.1 to rtorrent in control of the HTTP protocol download process 62-63
from 4.3.2 to rtorrent text interface to modify 63-66
4.4 This chapter Summary 66-69
agreement
Chapter fusion download software testing and improvement 69-79
5.1 of the protocol structures fusion download the software test environment 69-71
5.2 of the protocol test results fusion download software 71-74
the
a 5.2.1 from BUPT BT seed file 71-73
5.2.2 from the public network, BT seed file 73-74
5.3 test results analysis 74
5.4 of the agreement fusion download software improvements 74-77
5.5 This chapter Summary 77-79
Chapter Summary and Outlook 79-81
the
References 81-82
Acknowledgements 82-83
the
studying for master's degree during the academic catalog 83
Related dissertations
- Research and Application on Android System Architecture
- The Design of Telecom Installed and Maintenance System for iPhone
- Design and Implementation of Embedded Web Server Monitoring System Based on Cortex-M3
- Under the environment of P2P DoS (DDoS) on attack defense
- The HTTP protocol multithreaded network download framework research and Implementation Based on
- Research of System for Malfunction Precautionary on Mobile Communication
- Research and Implementation of Web Instant Messaging System Based on the Flex Framework
- Application Research of Embedded Wireless Terminals in the Internet of Things Based on Zigbee
- The Designed and Realization of Covert Tunnel Based on HTTP and Windows Message Mechanism
- Research of BitTorrent’s Principle and Algorithm and Its Performance Optimization
- The versatility HTTP tunnel detection technology research
- TCP / IP based network testing tools Multimedia Messaging System Research and Implementation
- Research and Design on Intelligent Irrigation Monitoring and Control System
- AirGap mechanisms and the realization of research
- Research on Proxy Caching Techniques for the Internet
- Research of Webpage Hot Topic Retriving Technology Based on Data Stream Mining
- The enterprise PC facilities remote management system
- Research on WAE Performance Test and Automatization Test
- The Design and Implementation of BT Client Based on Kad
- Embedded Network Management System Design based the RABBIT processor implementations