基于异步文件通道的Java Web多任务分块文件上传  被引量:2

Java Web file upload with multi-task division based on asynchronous file channel

在线阅读下载全文

作  者:陈冈[1] 夏火松[1] 

机构地区:[1]武汉纺织大学管理学院,武汉430073

出  处:《河南理工大学学报(自然科学版)》2015年第3期400-405,共6页Journal of Henan Polytechnic University(Natural Science)

基  金:国家自然科学基金资助项目(71171153)

摘  要:针对目前多数基于同步阻塞式处理模式、采用Java字节码数据流方式进行读写操作的低效率处理技术,将异步文件通道与线程池结合,通过数据分块和读写处理的异步执行,构造一种基于非阻塞数据传输模式的文件上传处理架构,讨论了关键技术的实现方法。实际测试数据的结果表明:与常规方案相比,所提出的技术方案具有非常明显的效率优势,对于Java Web系统开发具有较好的应用参考价值。According to the low efficiency of present processing technologies, an asynchronous file channel was combined with a thread pool, a file upload processing architecture was designed through data block and imple- mentations of asynchronous read and write processing, and key techniques was discussed, based on synchro- nous block processing mode and Java byte streams to read and write data operation. The actual test results show that this solution has very obvious efficiency advantages, compared with conventional solution. The a- chievements provide a good application reference for Java Web system developments.

关 键 词:异步文件通道 非阻塞 线程池 文件上传 数据块 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象