Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Access method and system for lots of small files

A technology of massive small files and access methods, which is applied in the field of access methods and systems of massive small files, can solve problems affecting file access efficiency, inability to use file resources, slow data access efficiency, etc., and achieve simple and efficient reading , Increase the number of folders, the effect of high-performance reading and writing capabilities

Active Publication Date: 2017-03-29
GREAT WALL COMP SOFTWARE & SYST CO LTD
View PDF8 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When the number of files is too large, the data access efficiency of this method will become slower and slower, and NAS expansion will create a new file system, which cannot be expanded smoothly, resulting in waste of storage space
If other systems need to access the file data on the storage, they must match the specific interface provided by this system. If the necessary parameters cannot be provided, the file resource cannot be used
[0004] In addition, the number of files stored on the storage is generally the same as the data path and file name recorded in the database. When the amount of data reaches the order of 1 billion, the reading performance of the storage will drop significantly, which will greatly affect the efficiency of file access.

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
  • Access method and system for lots of small files
  • Access method and system for lots of small files
  • Access method and system for lots of small files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0060] Such as figure 1 As shown, it is a schematic flowchart of a method for accessing a large number of small files provided by an embodiment of the present invention. The access method includes the following steps:

[0061] S110. Compress the business file corresponding to the acquired business data to obtain a file compression package;

[0062] S120, extracting feature values ​​of business data according to preset extraction rules;

[0063] S130, when the feature value is not stored in the file index library, encode the feature value according to a preset coding rule to obtain a data code, and store the corresponding relationship between the feature value and the data code in the file index library;

[0064] S...

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 relates to an access method and system for lots of small files. The method comprises the following steps of compressing business files corresponding to obtained business data to obtain a file package; extracting a characteristic value of the business data according to a preset extraction rule; when the characteristic value is not stored in a file index database, encoding the characteristic value to obtain data coding according to a preset encoding rule, and storing a corresponding relation between the characteristic value and the data coding into the file index database; generating a corresponding directory structure according to the data coding and decompressing the file package to obtain the business files; storing the business files into a storage path of the directory structure; and reading the business files. The method and the system have the beneficial effects that lots of small files are effectively stored and read, the system access is simple, the efficiency of writing and reading mass data is high, and multidirectional elastic extension can be realized.

Description

technical field [0001] The invention relates to the field of data management, in particular to a method and system for accessing a large number of small files. Background technique [0002] When the existing data storage management system contains relational data and non-relational data, usually, network attached storage (Network Attached Storage, NAS) is used to store non-relational data, and relational database is used to store relational data. , and save the file path and file name on the NAS in the relational database. [0003] When the number of files is too large, the data access efficiency of this method will become slower and slower, and NAS expansion will create a new file system, which cannot be smoothly expanded, resulting in waste of storage space. If other systems need to access the file data on the storage, they must match the specific interface provided by this system. If the necessary parameters cannot be provided, the file resource cannot be used. [0004]...

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/13
Inventor 金忠良林赞磊陈博商雷
Owner GREAT WALL COMP SOFTWARE & SYST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products