首页> 外国专利> METHOD, APPARATUS, AND ELECTRONIC DEVICE FOR BUILDING A FILE SYSTEM IN A KEY VALUE STORAGE SYSTEM

METHOD, APPARATUS, AND ELECTRONIC DEVICE FOR BUILDING A FILE SYSTEM IN A KEY VALUE STORAGE SYSTEM

机译:在键值存储系统中构建文件系统的方法,装置和电子设备

摘要

The present invention relates to the data storage field, and in particular, to a method and an apparatus for constructing a file system in a key-value storage system, and an electronic device. According to the method for constructing a file system in a key-value storage system disclosed by the present invention, a directory number corresponding to a directory path of a directory at each level is acquired first; then, according to the directory number and a file stored in the directory at each level, corresponding keywords Key of the directory and the file are constructed. In this case, because the directory number in the keywords Key occupies relatively small space and each directory number is unique and not repeated, storage space is effectively reduced. In addition, because the directory keyword Key corresponding to the directory is constructed according to the directory number, when an operation needs to be performed on the directory, the to-be-operated directory can be directly acquired according to the directory keyword Key, which simplifies the operation procedure.
机译:本发明涉及数据存储领域,尤其涉及一种在键值存储系统中构建文件系统的方法和装置以及电子设备。根据本发明公开的在键值存储系统中构建文件系统的方法,首先获取与各个级别的目录的目录路径相对应的目录号;然后,根据目录号和每级目录中存储的文件,构造目录和文件的对应关键字Key。在这种情况下,由于关键字Key中的目录号占用相对较小的空间,并且每个目录号是唯一的并且不重复,因此有效地减少了存储空间。另外,由于根据目录号构造与目录相对应的目录关键字Key,因此当需要对目录进行操作时,可以根据目录关键字Key直接获取待操作目录,其中简化了操作程序。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号