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

基于Web服务的并发文件转换组件的设计与实现
引用本文:黄亚军,吴振强,张夏蕾,魏刃佳.基于Web服务的并发文件转换组件的设计与实现[J].计算机工程与应用,2014(11):53-57,61.
作者姓名:黄亚军  吴振强  张夏蕾  魏刃佳
作者单位:陕西师范大学计算机科学学院,西安710062
基金项目:国家自然科学基金面上项目(No.61173190);大学生创新性实验计划项目(No.992739).
摘    要:文件格式的多样性使系统不能保证大部分格式的文件都正常播放或显示,文件转换是解决此问题的关键。而目前的文件转换普遍是作为一个子模块集成在系统中,导致不同的系统需要重复开发。提出基于Web服务规范的文件转换组件,实现文件转换的可复用性。此外,针对目前普遍的多核CPU硬件系统,文件转换过程中采用并发机制并且使用命令模式对转换任务的行为统一管理,以此提高转换效率和吞吐量。部署测试表明,该组件可以满足几乎所有视频文件的转换和部分文本文件的转换,并发设计运行正常且能够保证文件转换的效率。

关 键 词:Web服务  文件转换  并发

Design and implementation of concurrent document type ;transfer component based on Web service
HUANG Yajun,WU Zhenqiang,ZHANG Xialei,WEI Renjia.Design and implementation of concurrent document type ;transfer component based on Web service[J].Computer Engineering and Applications,2014(11):53-57,61.
Authors:HUANG Yajun  WU Zhenqiang  ZHANG Xialei  WEI Renjia
Affiliation:( College of Computer Science, Shaanxi Normal University, Xi' an 710062, China)
Abstract:As the diversity of document type causes that systems cannot ensure all of files display normally, file format transform plays a pivotal role in resolution of this problem. However, the concurrent document type transfer function is universally a part of the system as a submodule, which makes different systems need to develop document type transfer module repeatedly. In this paper, document type transfer component based on Web service is proposed, which enhances the reusability of the component. Moreover, aiming at the multi-core hardware system of computer, concurrent mechanism and command pattern design are given to manage the transfer task in a unified method, which promotes the efficient and throughput of transfer component. The test of deployment illustrates that not only the component can ensure the transform of almost all of video file and part of text file, but also the concurrent design runs normally and improves the effi-cient of file transform actually.
Keywords:Web service  document type transform  concurrency
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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