- 1、本文档共86页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
中文摘要
P2P技术存在已久,其第一次实际使用可以追溯到1979年的Usenet新闻服务系统。随着1998年出现的音乐共享软件Napster的流行,着眼于分布式数据共享的P2P技术得到了迅猛的发展,并日益呈现出取代传统的C/S文件共享模式的趋势。
BitTorrent是P2P技术在文件共享领域最成功的代表之一。BitTorrent是一个开放的文件分发系统,它基于两个通信协议并由几种分工不同的网络节点组成。不同于普通的http或者ftp文件共享方式,BitTorrent采用一种全新的模式:资源的发布者只需要上传一份完整资源的数据量,之后的数据交换完全可以在BitTorrent下载者之间进行。本文将详细分析BitTorrent文件分发系统的关键部分。
本文从P2P的基本概念开始,首先介绍BitTorrent文件分发系统的组成,之后在此基础上解析BitTorrent的两个重要协议,最后重点分析一个轻量型BitTorrent协议客户端的实现。分析依照软件工程的思想,首先描述客户端的总体框架,包括功能模块、数据流和主程序的执行流程。在总体框架的基础上,具体分析客户端的各个功能模块的实现。该BT客户端实现了对种子文件的解析、文件的下载、断点续传等功能,界面使用Qt开发环境进行设计,界面简明、易用,基本可以满足用户文件下载的功能。
关键词:P2P;BitTorrent;文件分发系统;文件分发协议Design and development of the BT client under Linux
Author:Zhang Jinlong Tutor:Zhao Hongyan
Abstract
P2P technology has existed for a long time, its first actual use can be traced back to 1979, the Usenet news service system. Since the music-sharing application Napster designed in 1998 became popular, P2P technology focusing on distributed data-sharing has been in rapid development and with a tendency to replace the traditional C / S file-sharing model gradually.
BitTorrent is one of the most successful classifications of P2P technology in file-sharing field. It is an open file distribution system, which is based on two communication protocol and consists of several network nodes in different roles. Unlike ordinary http or ftp file-sharing manner, BitTorrent uses a new model: the publisher of a resource only needs to upload at least a whole resource. After that, the exchange of data can be just done between the BitTorrent downloaders. This article will detailedly analysethe implementation of the pivotal part of BitTorrent file distribution system, a BitTorrent client.
This article will begin with the P2P basic concept, and then introduce the constitutes of the BitTorrent file distribution system. On the basis of that, it willanalyse the two important Algorithms of BitTorrent. And finally it will come with focus on the implementation of a lightweight BitTorrent client. In acc
文档评论(0)