在云存储过程中,从本地发送大量文件到服务器端采用打包传输时,在接收端需要等待文件包完整接收后方可进行打包,这一过程由于打包和解包耗时较多降低了传输效率.针对这一问题,提出了一种优化传输的并行处理策略,将传输的大量文件无损压缩后以特定的大小进行多批次打包,传输过程中接收端同时对接收之前批次的包文件进行解包,以此达到并行处理打包和解包操作,实验表明并行处理的策略有效地降低了传输时间,提高了存储效率.
During the process of cloud-storage, enormous amount of data files are transmitted from local storage to the server terminals by the means of packaging. The files should be received completely to unpack in the server terminal, which will reduce the efficiency of transmitting because of time consumption of packaging and unpacking. Aiming at solving this problem, this paper proposes a parallel processing scheme of optimizing transmitting. It packs batches of file packages based on file size threshold in local storage before transmitting them. Meanwhile, in the receiving side the former batches of package files are being unpacked to complete the parallel processing of packing and unpacking. Experi-ment results show that parallel processing scheme can reduce the time consumption of transmitting time efficiently, as a result the storage efficiency is improved.