欢迎来到天天文库
浏览记录
ID:36782343
大小:2.44 MB
页数:77页
时间:2019-05-15
《基于PowerPC的嵌入式网络器研究——BitTorrent部分》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、摘要随着宽带Intemet的日益普及,各种资源都出现在互联网上,人们对网络资源的下载需求也日益加大。目前已有不少的网络存储设备产品,但针对个人和小规模用户的网络存储设备很少,能够自动从网络上下载资源的产品更为稀缺。本课题旨在研究一种基于PowerPC处理器的能够自动从网络上下载指定的资源而且支持HTTP、FTP、BitTorrent、eMule等多种下载协议的嵌入式网络下载器。下载器可以独立地接到网络上进行下载任务,稳定,节能,安全,适合长期开机应用,用于取代传统的需要PC机开机才能下载的方式。本课题是一个包含硬件设计和软件设计的嵌入式系统研究。本论文
2、是整个课题工作的一部分,在理解硬件基本构架的基础上,对BitTorrent协议进行了深入的分析,并在Linux环境下,根据本课题设计的嵌入式下载器资源有限的特点,研究开发了简单实用的支持BitTorrent协议的客户端程序,并且通过交叉编译移植至PowerPC平台。论文将客户端程序分为几个功能模块分别实现,包括对torrent种子文件的解析、客户端与tracker服务器的通信以及客户端与peer之间的通信,然后分析并实现了BT的下载机制,最终实现了客户端程序的基本功能。经过编译和调试,客户端程序已经能够对torrent种子文件进行解析并进行基于BitT
3、orrent协议的简单的数据交换,移植至PowerPC平台后能进行正常工作。关键词:网络下载嵌入式系统LinuxBitTorrentABSTRACTThepopularizationoftheWide-BandIntemetmakesmoreandmoreresourcesappearontheInternet,thedemandofpeopledownloadingnetworkresourcesalsograduallyenlargesdaybyday.Atpresent,therearealreadymanynetworkstoragedevic
4、es,butthenetworkstoragedeviceswhicharespeciallydesignedforindividualandsmall-scaleconsumersarefew.Especially,thedeviceswhichcanautomaticallydownloadresourcefromthenetworkarescarce.ThisprojectistomakeresearchontheembeddednetworkdownloaderbasedonthePowerPCprocessor.Thisembeddednet
5、workdownloaderisabletodownloadresourcefromthenetworkautomaticallyandisabletosupportmanydownloadingprotocolsincludingH1vrP、FTP、BitTorrent、eMule.ThedownloaderCanconnecttOthenetworkanddownloaddataallbyitself.Itisstable,low—powerconsumption,safe,andissuitableforlong-timeuse,andthisi
6、sagoodmethodtodownloadfilesfromInternetcomparedwiththetraditionalway.Thisprojectisallembeddedsystemresearchwhichcontainsthehardwaredesignandthesoftwaredesign.Thepaperisapartoftheentireproject.Basedontheunderstandingofthebasichardwarestructure,thepapermakesdeepanalysisabouttheBit
7、Torrentprotoc01.Thenaccordingtotheembeddeddownloader’Scharacteristicthattheresourceislimited,undertheLinuxoperationsystem,thepaperdevelopsasimpleandpracticalclientprogramwhichCansupporttheBitTorrentprotocol,andtransplantstheprogramtoPowerPCplatformthroughcrosscompiling.Thepaperd
8、ividestheclientprogramintosomefunctionmodules,i
此文档下载收益归作者所有