Check patentability & draft patents in minutes with Patsnap Eureka AI!

File storage method and apparatus

A file storage and file technology, applied in the file system, file access structure, special data processing applications, etc., can solve the problems of high disk input and output interfaces, multiple computing resources, time, and consumption

Inactive Publication Date: 2016-03-16
SUGON INFORMATION IND
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Especially for a huge number of small files ranging from a few K to hundreds of K, the disk input and output interface is too high when processing
The file data of small files is small, and the disk addressing in the process of backup or repair of small files will consume more computing resources and time, resulting in low efficiency of backup and repair of small 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
  • File storage method and apparatus
  • File storage method and apparatus
  • File storage method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the technical solutions and advantages of the present invention clearer, the exemplary embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all implementations. Exhaustive list of examples. And in the case of no conflict, the embodiments in this specification and the features in the embodiments can be combined with each other.

[0020] figure 1 It is a schematic flow diagram of the method for file storage in the embodiment of the present invention, such as figure 1 As shown, the method for file storage may include the following steps:

[0021] Step 101: Obtain the data size of the file;

[0022] Step 102: judging whether the data volume of the file is less than a threshold;

[0023] Step 103: If the data volume of the file is less than the threshold, store the file in a specific ...

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 file storage method and apparatus. The method comprises: obtaining data volume of a file; judging whether the data volume of the file is less than a threshold or not; and if the data volume of the file is less than the threshold, storing the file to a specific storage space, wherein the specific storage space is a storage space allocated for the file from a storage space for aggregation storage of a plurality of small files. With the adoption of the technical scheme provided by the invention, during file backup or recovery, computing resources consumed for disk addressing can be greatly reduced, computing time consumed for disk addressing can be greatly shortened, namely, the efficiency of file backup or storage is improved.

Description

technical field [0001] The present invention relates to the technical field of data storage, in particular to a method and device for file storage. Background technique [0002] In existing file storage solutions, files are usually organized in a directory tree structure. When the number of files is large, the number of files in the directory will be large and the directory hierarchy will be deep. Especially for huge small files ranging from a few K to hundreds of K, the disk input and output interface is too high when processing. The file data of small files is small, and the disk addressing in the process of backup or restoration of small files will consume more computing resources and time, resulting in the problem of low efficiency of backup and restoration of small files. Contents of the invention [0003] Embodiments of the present invention provide a method and device for storing files to improve the efficiency of backing up and restoring small files. [0004] The...

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 SUGON INFORMATION IND
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More