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

A data storage method and device

A data storage and storage space technology, applied in the direction of electrical digital data processing, special data processing applications, memory address/allocation/relocation, etc., can solve the failure of hard disk storage media, reduce the service life of hard disks, and reduce the redirection of files. Efficiency and other issues to achieve the effect of reducing the number of revisions, avoiding failure, and improving service life

Active Publication Date: 2016-08-17
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The method of redirecting writing in the prior art will allocate a new data block for the updated data regardless of whether it is a modified write or a new write. No matter whether there is snapshot protection in the file system, a new data block must be allocated and the new data block address will be written into The root of the file, and then write the address of the root of the modified file into the root of the file system. The more modified data, the more new data blocks are allocated, the greater the probability of fragmentation on the hard disk. In addition, frequently modify the file system The root of the hard disk will cause the failure of the hard disk storage medium, reduce the efficiency of file redirection and write, and reduce the service life of the hard disk

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
  • A data storage method and device
  • A data storage method and device
  • A data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054]The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0055] The file system in the embodiment of the present invention refers to a method for storing and organizing data in a solid-state hard disk. The file system makes it easy to access and search the solid-state hard disk. The file system uses the abstract logical concept of a tree directory to replace the hard disk and Physical devices such as optical discs use the concept of data blocks.

[0056] See figure 1 , a schematic diagram of the tree di...

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 embodiment of the present invention discloses a data storage method and device, the method comprising: when receiving the update data of the target file, allocating the first storage space to store the update data of the target file, and recording the address of the first storage space, in When it is detected that there is no snapshot protection in the target file system, obtain the modification times of the root of the target file, and if the obtained modification times are less than the preset times threshold, record the address of the first storage space into the root of the target file. The data storage method of the embodiment of the invention can reduce the number of modifications to the memory when updating data, reduce the probability of fragmentation on the hard disk, avoid failure of the storage medium of the hard disk caused by too many revision times, and improve the service life of the hard disk.

Description

technical field [0001] The invention relates to the field of computer storage, in particular to a data storage method and device. Background technique [0002] Solid-state drives are more and more widely used in modern life, and the redirection write (English full name: Redirect On Write) technology of solid-state drives is also more and more applied to various file systems. Redirection write will not affect the data source. performance without affecting the performance of file system snapshot protection. [0003] The method of redirecting writing in the prior art will allocate a new data block for the updated data regardless of whether it is a modified write or a new write. No matter whether there is snapshot protection in the file system, a new data block must be allocated and the new data block address will be written into The root of the file, and then write the address of the root of the modified file into the root of the file system. The more modified data, the more n...

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 Patents(China)
IPC IPC(8): G06F12/02G06F17/30
Inventor 肖建龙严华兵
Owner HUAWEI TECH 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