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

Small file storage, query and deletion method and system

A technology of query method and deletion method, which is applied in the field of file processing, can solve the problem of low retrieval efficiency of small files, and achieve the effect of improving retrieval efficiency

Active Publication Date: 2015-04-29
方正国际软件(北京)有限公司 +1
View PDF5 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, after merging multiple small files into one large file, the retrieval efficiency for small files is very low. If you want to view some attributes and contents of small files, you need to take the small files out of the large file, and even some methods will Large files are then separated into multiple smaller files

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
  • Small file storage, query and deletion method and system
  • Small file storage, query and deletion method and system
  • Small file storage, query and deletion method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0047] figure 1 Shows a structural block diagram of a small file storage system in a specific embodiment of the present invention, the storage system mainly includes a large file creation module 11 and a small file storage module 12, wherein:

[0048] Large file creation module 11 is used to create a large file; Described large file comprises index area offset storage area, small file storage area and small file index information storage area; Index area offset refers to the small file index information The relative offset of the starting position in the entire large file; the index information of the small file includes information such as the file name, file size, file metadata information, and the relative offset of the small file in the large file.

[0049] Small file storage module 12 is used for merging small file into the smal...

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 discloses a small file storage, query and deletion method and system. The method comprises the following steps: firstly, creating a large file and merging a small file into a small file storage area of the large file; during the query of the small file, querying the index information of the small file according to the offset of an index area and the file metadata information of the small file; obtaining the small file stored in the large file according to the relative offset, in the large file, of the small file in the small file index information. Through the method and system provided by the invention, the small file can be rapidly positioned according to the metadata information of the small file, so that the searching and processing efficiency of the small file in the large file is effectively improved.

Description

technical field [0001] The invention relates to the field of file processing, in particular to a method and system for storing, querying and deleting small files. Background technique [0002] With the development of informatization, there are more and more files, especially for industries such as finance. It is necessary that these small files cannot be deleted, but the difficulty of small file management and backup is increasing. [0003] At present, the general solution for small file management and backup is to merge them into one large file (a large file generally refers to a file with a large file size, such as several GB, tens of GB), and merge multiple small files into one large file for storage. This pressure can be effectively relieved, but this simple combination is very inconvenient for file query and retrieval. When merging multiple small files into one large file, create a file index table, which contains description information of multiple dimensions for eac...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/13G06F16/148G06F16/162
Inventor 白冰
Owner 方正国际软件(北京)有限公司
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