首页 | 本学科首页   官方微博 | 高级检索  
     

基于HTML5的浏览器端多线程下载技术
引用本文:任双君,周旭,任勇毛,李灵玲. 基于HTML5的浏览器端多线程下载技术[J]. 计算机系统应用, 2017, 26(11): 11-18
作者姓名:任双君  周旭  任勇毛  李灵玲
作者单位:中国科学院 计算机网络信息中心, 北京 100190;中国科学院大学, 北京 100049,中国科学院 计算机网络信息中心, 北京 100190,中国科学院 计算机网络信息中心, 北京 100190,中国科学院 计算机网络信息中心, 北京 100190
基金项目:国家自然科学基金(61601443, 61602463, 61672490);北京市自然科学基金(4174110);中科院计算机网络信息中心所级项目(ZXRW-201601)
摘    要:针对传统浏览器单线程下载效率低下、过度依赖目标服务器的问题,研究提出了基于HTML5的浏览器端多线程下载技术.基于HTML5 Web Workers技术,实现了浏览器端多线程下载功能;利用分段下载技术,实现了单一文件的多源下载;利用HTML5 File System API加Blob对象的技术,实现了浏览器端文件片段的合并功能.实验结果表明,本文提出的方法对于大文件下载,或者高延迟、高丢包率的网络下载环境,效率明显优于单线程下载技术.

关 键 词:HTML5  多线程下载  多源  Web Workers  HTML5 File System
收稿时间:2017-02-20
修稿时间:2017-03-27

Multi-Thread Downloading Technology Based on HTML5
REN Shuang-Jun,ZHOU Xu,REN Yong-Mao and LI Ling-Ling. Multi-Thread Downloading Technology Based on HTML5[J]. Computer Systems& Applications, 2017, 26(11): 11-18
Authors:REN Shuang-Jun  ZHOU Xu  REN Yong-Mao  LI Ling-Ling
Affiliation:Computer Network Information Center, Chinese Academy and Sciences, Beijing 100190, China;University of Chinese Academy of Sciences, Beijing 100049, China,Computer Network Information Center, Chinese Academy and Sciences, Beijing 100190, China,Computer Network Information Center, Chinese Academy and Sciences, Beijing 100190, China and Computer Network Information Center, Chinese Academy and Sciences, Beijing 100190, China
Abstract: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.
Keywords:HTML5  multi-thread download  multi-source  Web Workers  HTML5 File System
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号