Method and system for implementing index in file storage

A technology for file storage and implementation methods, applied in file systems, file access structures, special data processing applications, etc., can solve the problems of large number of indexes and reduced index operation performance, and achieve the effect of improving operation performance and reading and writing performance

Active Publication Date: 2017-05-10
SHENZHEN TENCENT COMP SYST CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Specifically, the index will use the file identifier as the Key, and store the mapping relationship between it and the storage location in a certain interval. In order to meet the needs of mass stora

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for implementing index in file storage
  • Method and system for implementing index in file storage
  • Method and system for implementing index in file storage

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0037] Typical implementations embodying the features and advantages of the present invention will be described in detail in the following description. It should be understood that the present invention can have various changes in different embodiments, which do not depart from the scope of the present invention, and the descriptions and diagrams therein are essentially for illustrative purposes, rather than limiting this invention.

[0038] As mentioned earlier, mainstream distributed storage mainly distributes two index management methods. One is to avoid the use of data centers and to use consistent hashing to manage indexes; the other is to use data centers to store file identifications and their The index is managed by the corresponding storage location.

[0039] Regardless of the method adopted, for the massive file storage scale, the ever-expanding massive index is continuously maintained on a large scale.

[0040] As for the existing massive indexes, the operational perform...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and system for implementing an index in a file storage. The method comprises the steps of obtaining a file index operation request, querying whether the metadata corresponding to the file exists in the increment interval, if the answer is yes, responding to the index operation request through the metadata located in the increment interval, if the answer is no, processing the index operation request through the full range corresponding to the increment interval, wherein the metadata comprises an index corresponding to the file. Moreover, an index implementation system in the file storage that matches with the method is also provided. The method and system for implementing index in file storage cab meet the needs of mass memory, and substantially enhance the operation performance of the index.

Description

technical field [0001] The invention relates to the field of computer application technology, in particular to a method and system for realizing an index in file storage. Background technique [0002] File storage on a massive scale will be realized through a distributed storage cluster, and a related data center will be established for the distributed storage cluster to store the index for file read and write services in the data center. [0003] The storage location of each file in the distributed storage cluster is maintained through the settings of the data center and the index. The current mainstream processing method is to manage the index by saving the file identifier and its corresponding storage location in the data center, and then realize the maintenance of each file storage location and respond to the read and write requests of the file. [0004] Specifically, the index will use the file identifier as the Key, and store the mapping relationship between it and th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
CPCG06F16/134G06F16/148G06F16/13
Inventor 姜文瀚
Owner SHENZHEN TENCENT COMP SYST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products