• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2016, Vol. 38 ›› Issue (02): 262-268.

• 论文 • 上一篇    下一篇

一种基于云环境的文件存储策略的研究

周兰凤1 ,孟驰1 ,彭俊杰2   

  1. (1.上海应用技术学院计算机科学与信息工程学院,上海 200235;2.上海大学计算机工程与科学学院,上海 200444)
  • 收稿日期:2015-08-10 修回日期:2015-10-13 出版日期:2016-02-25 发布日期:2016-02-25

A file storage scheme based on
cloud environment     

ZHOU Lanfeng1,MENG Chi1,PENG Junjie2   

  1. (1.School of Computer Science and Information Engineering,Shanghai Institute of Technology,Shanghai 200235;2.School of Computer Science and Engineering,Shanghai University,Shanghai 200444,China)
  • Received:2015-08-10 Revised:2015-10-13 Online:2016-02-25 Published:2016-02-25

摘要:

云存储是云计算技术的重要组成部分,包括存储位置的选择和文件的传输,文件传输环节包括上传和下载。传输作为存储的重要组成部分,对于存储效率有较大的的影响。近年来针对云存储技术的研究主要集中在数据存储和数据传输的效率上,针对大量流媒体文件上传至云存储服务器过程中传输效率低的问题,在私有云环境下提出了一种针对大量流媒体文件的传输机制THU,在该机制中提出了一种对于不同的云平台环境和传输客户端存在文件大小值fk的思路,将小于该值的文件无损打包成一定数量的大小为fk的文件进行传输,而将大于fk值的文件切割成一定数量大小为fk的文件进行传输,相比较打包或者切割成其他大小的文件进行传输时消耗的时间较少。本文在私有云环境下进行了大量的流媒体ftp传输实验,实验结果显示这样的fk值是存在的,当文件打包大小或等于该值时,打包、解包和传输消耗的总时间处于相对优化的水平,从而证明了THU机制的正确性和有效性。

关键词: 云存储, 传输, 效率, 阈值, 打包

Abstract:

As a critical part of the cloud computing technology, cloud storage includes two aspects: selection of storing position and file transfer. File transfer consists of file uploading and downloading. As an important part of storage, file transfer has a profound impact on cloud storage efficiency. In recent years, much research focuses on the efficiency of data storage and data transfer. In order to solve the lowefficient transfer of a large number of streaming media files in the private cloud environment, we propose a file transfer scheme called threshold upload scheme (THU). We assume that both in  different cloud environments and transfer client computers, there is a file size value fk. When a file size is smaller than fk, we package several of them into one file in a lossless way, whose size value is close to fk. Otherwise, if a file is larger than fk, it will be divided into several fk siz files. In this way the time consumption is reduced compared to the traditional methods. We carried out  many experiments and the results prove that the existence of value fk in transferring streaming media files in the lab cloud environment via ftp protocol. When the package size is equal to fk, time for packing, unpacking and transferring can be optimized, which proves the efficiency and accuracy of the THU scheme.

Key words: cloud storage;transmission;efficiency;threshold;package