资源描述:
《bt和emule协议的比较和分析》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、BT和eMule协议的比较和分析ComparisonandanalysisofBTandeMu1edownloadprotocolsEDonkeywasfoundedin2000byJedMcCaleb・The(MFTPMultisourceFileTransferProtocol)isadopted.TheeDonkeyindexserversarenottogether,buteachprivate,allovertheworld,everyonecanruneDonkeyserver,whilesharingtheindexf
2、ilecalledz,ed2k-quicklink〃withtheprefix〃ED2K://file〃・Eachfileismarkedwithahyperlinktomd5-hash,whichmakesthefileuniqueandcanbetrackedacrossthenetwork・EDonkeycanretrievefilesfrommultipleusersbyretrievingsegments,andeventuallyfragmentthedownloadedfilesintotheentirefile.In
3、2002,05/3,MerkurwasdissatisfiedwiththeeDonkey2000dientandwasconvincedthathecoulddoabetterjobofP2Psoftware,sohestarteddeveloping・Agroupofprogrammerswhohavedonewe11inotherfieldshavebeenborn,andtheeMu1eprojecthasbeenborn.ThegoalistopreservethestrengthsandtalentsofeDonkey,
4、addnewfeaturesandmakethegraphicalinterfacebetter・ThelatestversionofeMu1enowis0.48A(releasedinMay20,2007)・EMu1eisanupgradedversionofeDonkey,anditsuniquefeatureisopensource・ItsbasicprincipleandoperationmodeisalsobasedoneDonkey,andcanlogindirectlytoallkindsofeDonkeyserver
5、・EMu1ealsoprovidedalotofeDonkeyhadnofunctions,suchasautomaticsearchinthenetworkserver,retainthesearchresults,inconnectionwiththeexchangeserveraddressanduserfiles,downloadthefiletopreviewthetailpartofthepriorityandsoon,allthesemakeeMuleusemoreconvenient,butalsoletitgett
6、hereputationofemule.P2PapplicationsupportBTprotocol,suchasBitBuddy,FlashBT,BitCometandBitSpirit,usuallyBTconsistsofthefollowingparts:.Torrentfile,providedtheseedsites,thedirectoryserverandthecontentpublisher/download.The.Torrentfileisatextfilethatcontainstwoparts:thetr
7、ackerinformationandthefileinformation.TrackerinformationismainlyneedtousetheBTtrackerservertodownloadtheaddressandsettingsforthetrackerfile;informationisprocessedtocalculatethetargetfileaccordingtotheBencodingrulesofBTprotocolencodingtheinformationnetwork・Themainprinci
8、pleofBTistodividethedownloadedfilesintosmallequalblocks,whichmustbe2TheintegerKbyte(becauseitisavirtualblock,eachbloc