您现在所在的位置:首页 >> JAVA毕业论文 >> 文章内容
JAVA 基于Http协议的断点续传  论文
双击自动滚屏 文章来源:   发布者:jsjlw99   发布时间:2009/7/1 17:36:05   阅读:5563
Java多线程与线程安全实践——
基于Http协议的断点续传
摘  要
现实世界中的很多过程都具有多条线索同时动作的特性。Java语言的一大特性就是内置对多线程的支持。多线程是指同时存在几个执行体,按几条不同的执行线索共同工作的情况,它使得编程人员可以很方便地开发出具有多线程功能、能同时处理多个任务的功能强大的应用程序。一些同时运行的线程需要共享数据,因此每个线程就必须要考虑其它与它一起共享数据的线程的状态与行为,这就是线程安全的问题。为了对Java多线程与线程安全机制进行研究与实践,特此设计一个基于Http 协议的支持多线程断点续传的下载程序。此下载程序由下载任务模块、设置模块以及系统帮助模块组成。通过Apache Jakarta Commons下的子项目HttpClient包对Http协议进行支持,从而下载服务器端的资源。程序提供多线程断点续传功能,在完成下载过程中使用多线程技术可以较大幅度地提高下载的速度。
 
关键词多线程;线程安全;断点续传
 

The Practice of Java Multithreading and Thread Security---- Download Tool with Broken/Resume Function based on http
Abstract
In real world, many processes have the characteristic that multi-strip clue act at the same time. The Java language has a major characteristic of embedded multithread support. Multithreading is the status that exist several implementation body at the same time, according to several different clues to the implementation of the joint work, It means that programmers can easily produce more threads development functions, It can also deal with a number of tasks powerful application. Running some of the threads need to share data, So each thread must consider other with it to share the data with the state of the thread, This is the thread safety. To Java multithreading and security mechanisms to conduct research and practice, Design hereby Http agreement on the support multithreading download procedures. This download procedures comprises of downloading task module, setting module and helping system module. With Http support of HttpClient, a subproject of Apache Jakarta Commons, it can download resources coming from web server. The procedure provides the Multi-threaded broken/resume functionality, in the process of completes downloading to use the multi-thread technology can greatly boost download speed.
 
Keywords: Multithreading; Thread security; Broken/Resume  

[1] [2] [3] [4] [5] [6] [7]  下一页


【 字体: 打印本页 | 关闭窗口
此论文全套为收费论文。要想获得此全套论文和设计请联系本站客服QQ:31600328 欢迎你的访问!
 本文的地址是: http://www.jsjlw99.cn/Articlenews.asp?id=1485  转载请注明出处!
 您的姓名:
 评论正文:
 验证码:  
 
 [@2019/6/18 19:16:54]
   
 [@2019/6/5 21:48:31]
   
 [@2019/5/29 7:51:44]
   
 [@2019/5/19 22:28:00]
   
 [@2019/4/29 21:32:54]
   
 [@2019/4/15 7:00:40]
   
 [@2018/12/9 5:05:40]
   
 [@2016/4/11 14:32:09]
   
本类最新文章
JAVA设计目录 JAVA钻石迷城 &n JAVA五子棋 论文
JAVA坦克大战 论文 JAVA连连看 论文 JAVA疯狂赛车 论文
设为首页 | 收藏本站 | 过客留言 | 联系我们 | 友情链接 | 原创文章 | RSS订阅 | 管理入口

Copyright @ 2006-2008 Powered By 设计中心工作室  版权所有.
Email:31600328@qq.com QQ: 31600328
鄂ICP备05006890号 本站关键词:计算机毕业论文 计算机毕业设计