###
计算机系统应用英文版:2017,26(11):11-18
本文二维码信息
码上扫一扫!
基于HTML5的浏览器端多线程下载技术
(1.中国科学院 计算机网络信息中心, 北京 100190;2.中国科学院大学, 北京 100049)
Multi-Thread Downloading Technology Based on HTML5
(1.Computer Network Information Center, Chinese Academy and Sciences, Beijing 100190, China;2.University of Chinese Academy of Sciences, Beijing 100049, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1675次   下载 1874
Received:February 20, 2017    Revised:March 27, 2017
中文摘要: 针对传统浏览器单线程下载效率低下、过度依赖目标服务器的问题,研究提出了基于HTML5的浏览器端多线程下载技术.基于HTML5 Web Workers技术,实现了浏览器端多线程下载功能;利用分段下载技术,实现了单一文件的多源下载;利用HTML5 File System API加Blob对象的技术,实现了浏览器端文件片段的合并功能.实验结果表明,本文提出的方法对于大文件下载,或者高延迟、高丢包率的网络下载环境,效率明显优于单线程下载技术.
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.
文章编号:     中图分类号:    文献标志码:
基金项目:国家自然科学基金(61601443, 61602463, 61672490);北京市自然科学基金(4174110);中科院计算机网络信息中心所级项目(ZXRW-201601)
引用文本:
任双君,周旭,任勇毛,李灵玲.基于HTML5的浏览器端多线程下载技术.计算机系统应用,2017,26(11):11-18
REN Shuang-Jun,ZHOU Xu,REN Yong-Mao,LI Ling-Ling.Multi-Thread Downloading Technology Based on HTML5.COMPUTER SYSTEMS APPLICATIONS,2017,26(11):11-18