请下载论文,论文或程序为doc或rar格式,只上传部分目录查看,如果需要此论文或程序,请点击-下载论文,下载需要资料或是论文。摘 要
线程可以理解为下载的通道,一个线程就是一个文件的下载通道,多线程也就是同时开起好几个下载通道.当服务器提供下载服务时,使用下载者是共享带宽的,在优先级相同的情况下,总服务器会对总下载线程进行平均分配.线程越多,下载速度越快.当前的下载
软件都支持多线程技术.
通常服务器同时与多个用户连接,用户之间共享带宽。如果N个用户的优先级都相同,那么每个用户连接到该服务器上的实际带宽就是服务器带宽的N分之一。如果户数目较多,则每个用户只能占有可怜的一点带宽,下载将会是个漫长的过程。
具体研究内容:下载功能实现,包括单线程下载功能,多线程下载功能,多任务下载功能,删除任务的实现。断点续传等功能包括,下载过程中,暂停下载,承接上次未完成的下载任务。(源码网整理:www.codepub.com)
关键词:多线程;线程安全;断点续传
Abstract
The line Cheng can understand the passage for time be l
oaded with , a line Cheng is a document time be loaded with passage , multiwire Cheng is just to open up several time be loaded with passage at the same time. Being put into use downloading person is to share bandwidth's while the server provides time be loaded with service, the average the general server meeting is carried out on general time be loaded with line Cheng distributes under preferential step is identical situation. The line Cheng is getting quicker as downloading speed much more. The popular time be loaded with software all supports multiwire Cheng. The simultaneous and many consumer of server links up generally , shares bandwidth between the consumer. If consumer's N preferential step is all identical,every consumer links N one of mark being server bandwidth to owing upper reality of server bandwidth so. Fruit the consumer number is more, every consumer can only occupy pitiful little bandwidth then , downloading the meeting is endless process. Study content concretely: The time be loaded with function realizes , includes the single line Cheng time be loaded with function, multi-thread time be loaded with function, the multitasking downloads a function , delete the
mission realization. Breaking point adds biography wait for a function to suspend time be loaded with in including , downloading process, carries on not be completed time be loaded with last time mission.
Key
words: Multithreading; Thread security; Broken/Resume
目 录
1 引言 1
1.1
网络下载技术 3
1.2 网络基本构架 3
1.3 多线程技术 3
2.1 课题的研究背景与意义 3
2.1.1 课题的研究背景 3
2.1.2 课题的研究意义 4
2.1.3 多线程下载的现状及发展趋势 4
2.2 可行性分析 5
2.2.1 技术可行性 5
相关热词:javajava 下载 技术 论文