首页> 中文期刊> 《计算机系统应用》 >基于HTML5的浏览器端多线程下载技术

基于HTML5的浏览器端多线程下载技术

         

摘要

针对传统浏览器单线程下载效率低下、过度依赖目标服务器的问题,研究提出了基于HTML5的浏览器端多线程下载技术.基于HTML5 Web Workers技术,实现了浏览器端多线程下载功能;利用分段下载技术,实现了单一文件的多源下载;利用HTML5 File System API加Blob对象的技术,实现了浏览器端文件片段的合并功能.实验结果表明,本文提出的方法对于大文件下载,或者高延迟、高丢包率的网络下载环境,效率明显优于单线程下载技术.%This paper mainly studies the technology of multi-thread downloading in browser, which aims to solve the problem of low efficiency of single thread downloading and over reliance on the target server. Based on HTML5 Web Workers technology, we propose and implement a novel multi-thread downloading technology which runs in the browser. Though segmenting file to chunks, we download a file from multiple sources. We use ArrayBuffer array and Blob objects to merge the file fragments in the browser. The results show that this method is superior to the single thread downloading technology in the large file downloading, large network delay or high packet loss rate.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号