本文已被:浏览 1825次 下载 2767次
Received:February 20, 2017 Revised:March 27, 2017
Received:February 20, 2017 Revised:March 27, 2017
中文摘要: 针对传统浏览器单线程下载效率低下、过度依赖目标服务器的问题,研究提出了基于HTML5的浏览器端多线程下载技术.基于HTML5 Web Workers技术,实现了浏览器端多线程下载功能;利用分段下载技术,实现了单一文件的多源下载;利用HTML5 File System API加Blob对象的技术,实现了浏览器端文件片段的合并功能.实验结果表明,本文提出的方法对于大文件下载,或者高延迟、高丢包率的网络下载环境,效率明显优于单线程下载技术.
中文关键词: HTML5 多线程下载 多源 Web Workers HTML5 File System
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
任双君,周旭,任勇毛,李灵玲.基于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