如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
学士学位论文—IV—学士学位论文—I—摘要线程可以理解为下载的通道,一个线程就是一个文件的下载通道,多线程也就是同时开起好几个下载通道.当服务器提供下载服务时,使用下载者是共享带宽的,在优先级相同的情况下,总服务器会对总下载线程进行平均分配.线程越多,下载速度越快.当前的下载软件都支持多线程技术.通常服务器同时与多个用户连接,用户之间共享带宽。如果N个用户的优先级都相同,那么每个用户连接到该服务器上的实际带宽就是服务器带宽的N分之一。如果户数目较多,则每个用户只能占有可怜的一点带宽,下载将会是个漫长的过程。具体研究内容:下载功能实现,包括单线程下载功能,多线程下载功能,多任务下载功能,删除任务的实现。断点续传等功能包括,下载过程中,暂停下载,承接上次未完成的下载任务。(源码网整理:HYPERLINK"http://www.codepub.com/"www.codepub.com)关键词:多线程;线程安全;断点续传学士学位论文—II—AbstractThelineChengcanunderstandthepassagefortimebeloadedwith,alineChengisadocumenttimebeloadedwithpassage,multiwireChengisjusttoopenupseveraltimebeloadedwithpassageatthesametime.Beingputintousedownloadingpersonistosharebandwidth'swhiletheserverprovidestimebeloadedwithservice,theaveragethegeneralservermeetingiscarriedoutongeneraltimebeloadedwithlineChengdistributesunderpreferentialstepisidenticalsituation.ThelineChengisgettingquickerasdownloadingspeedmuchmore.ThepopulartimebeloadedwithsoftwareallsupportsmultiwireCheng.Thesimultaneousandmanyconsumerofserverlinksupgenerally,sharesbandwidthbetweentheconsumer.Ifconsumer'sNpreferentialstepisallidentical,everyconsumerlinksNoneofmarkbeingserverbandwidthtoowingupperrealityofserverbandwidthso.Fruittheconsumernumberismore,everyconsumercanonlyoccupypitifullittlebandwidththen,downloadingthemeetingisendlessprocess.Studycontentconcretely:Thetimebeloadedwithfunctionrealizes,includesthesinglelineChengtimebeloadedwithfunction,multi-threadtimebeloadedwithfunction,themultitaskingdownloadsafunction,deletethemissionrealization.Breakingpointaddsbiographywaitforafunctiontosuspendtimebeloadedwithinincluding,downloadingprocess,carriesonnotbecompletedtimebeloadedwithlasttimemission.Keywords:Multithreading;Threadsecurity;Broken/Resume学士学位论文—III—目录TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc229224056"1引言PAGEREF_Toc229224056\h1HYPERLINK\l"_Toc229224058"1.1网络下载技术PAGEREF_Toc229224058\h3HYPERLINK\l"_Toc229224058"1.2网络基本构架PAGEREF_Toc229224058\h3HYPERLINK\l"_Toc229224058"1.3多线程技术PAGEREF_Toc22