摘要
为了解决在线学习系统文件上传的效率低、稳定差等问题,提出了一种基于分片的文件断点续传方法,使用WebUpload组件在前端对文件进行分片和多线程设置,实现了文件秒传、断点续传,解决了相同文件重复上传的问题和上传失败后要全部重新上传的问题,并通过多线程上传的设计,有效提高了文件上传的效率,该方法运用到华南理工大学特色专业在线学习平台,取得了较好的效果。
In order to solve the problem of efficiency and stability of online learning system file upload,a file breakpoint continuous transmission method based on file segmentation is proposed.The WebUpload component is used to set the file segmentation and multithreading on the front end,realizing fast file upload and file breakpoint resume,solving the problem of repeated file upload and the problem of all files to be uploaded again if the file upload fails.And through the design of file multi thread upload,the efficiency of file upload is effectively improved.This method has been applied to the online learning platform of characteristic majors of South China University of Technology,and achieved good results.
作者
唐文军
隆承志
TANG Wenjun;LONG Chengzhi(Information and Network Engineering and Research Center,South China University of Technology,Guangzhou 510641,China;School of Computer Science&Engineering,South China University of Technology,Guangzhou 510006,China)
出处
《电子设计工程》
2023年第23期26-30,共5页
Electronic Design Engineering
基金
国家自然科学基金(61973126)。
关键词
学习平台
文件传输
文件分片
断点续传
多线程
learning platform
file transfer
file segmentation
breakpoint continuation
multithreaded
作者简介
唐文军(1971-),男,湖南芷江人,硕士,高级工程师。研究方向:计算机网络,大数据分析;通信作者:隆承志,czlong@scut.edu.cn。