當前位置:學問君>學習教育>畢業論文>

BitTorrent傳輸協議的分析和實現

學問君 人氣:3.07W
畢業論文

摘要

介紹了P2P技術現狀的,以及比較了P2P模型和傳統的C/S模型,及BitTorrent模型的區別。介紹了實現BitTorrent協議的相關的.開發工具,Visual C++,MFC,STL,SOCKET。分析了P2P軟件BitTorrent通信的工作原理,詳細說明了BitTorrent協議的細節規範,描述了Bencoding編碼的格式BT,種子檔案的構造,BT的客戶端和Tracker服務器通信的細節以及和P2P的通信規範。並用vc++ 開發出自己的BitTorent協議實現。具體的實現分爲4個大的模組,Bencoding編碼分析模組,BitTorrent種子(元資訊檔案)分析模組,BitTorrent客戶端和Tracker服務器通信模組,BitTorrent客戶端和BitTorrent客戶端間的通信模組(Peer to Peer),詳細說明了模組的架構和實現。

關健詞:P2P;BitTorrent protocol;BT
 
Analysis and Implementation of the BitTorrent transport protocol
 
Abstract
This paper expounded present situation of the P2P technology, as well as has showed the difference among the P2P model,  the traditional C/S model and BitTorrent model. Expounded the development kit, Visual C++, MFC, STL, SOCKET.  It analyzed the communication working principle of P2P the software based on BitTorrent,  made a detailed description of BitTorrent protocol detail standard,  described detailes related to Bencoding code format,  the structure of the seed document,  the BT client side and the Tracker server correspondence detail as well as with the P2P transport protocol. And develops own Implementation with vc++.  The concrete Implementation is divided into 4 big modules: the Bencoding code analysis module,  the BitTorrent seed (source information file) analyzer,  the BitTorrent client side and the Tracker server connection module,  connection module between the BitTorrent client side and the BitTorrent client side (Peer to Peer),  which specify module construction and Implementation.

Key words: P2P; BitTorrent; BT

註釋:不含原始碼

BitTorrent傳輸協議的分析和實現

TAGS:協議 傳輸