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

Method, device, equipment and readable storage medium for storing metadata

A storage method and storage medium technology, applied in the fields of devices, metadata storage methods, equipment and readable storage media, can solve the problems of reducing the metadata stability of data blocks, and achieve the effect of improving stability

Active Publication Date: 2021-10-22
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, after the solid-state hard drive is powered on, there is not necessarily a read or write operation, so it may be meaningless to read, modify and save the metadata of the modified data block immediately after the solid-state hard drive is powered on; After the metadata of the data block is saved, the solid-state drive is always in a waiting state, which will reduce the stability of the metadata of the data block

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, device, equipment and readable storage medium for storing metadata
  • Method, device, equipment and readable storage medium for storing metadata
  • Method, device, equipment and readable storage medium for storing metadata

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] 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 only some, not all, embodiments of the present invention. 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.

[0044] The embodiment of the invention discloses a method, device, equipment and readable storage medium for storing metadata, so as to improve the stability of metadata.

[0045] see figure 1 , a method for storing metadata provided by an embodiment of the present invention, comprising:

[0046] S101. When the solid-state hard disk is switched from a non-powered state to a powered state, read the target metadata from the FLASH and store it in the RAM;

[00...

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 method for storing metadata, which includes: when the solid-state hard disk is converted from a power-off state to a power-on state, reading target metadata from FLASH and storing it in RAM; If yes, modify the target metadata in RAM; wherein, the enable command is a command for the host to command the SSD to enter the running state. After the method reads the target metadata from FLASH and stores it in RAM, it does not rush to modify and save the target metadata, but detects whether the enable command sent by the host is received; when the enable command is received, it indicates that there is currently Read or write operations, modify and save the target metadata at this time, thereby avoiding unnecessary modification and saving of metadata, and improving the stability of metadata. Correspondingly, a metadata storage device, device, and readable storage medium disclosed in the present invention also have the above-mentioned technical effects.

Description

technical field [0001] The present invention relates to the technical field of data storage, and more specifically, to a metadata storage method, device, equipment and readable storage medium. Background technique [0002] SSD (Solid State Drives), also known as solid disk, is a hard disk made of solid-state electronic storage chip arrays, including FLASH and RAM; FLASH is a non-volatile storage medium, and the data stored on it after power-off The data is not lost, it is composed of multiple data blocks, and each data block is preset with a corresponding storage space; RAM is a volatile storage medium, generally SRAM or DRAM, and the data stored on the solid-state hard disk is lost after power-off. [0003] Under normal circumstances, after the solid-state hard disk is powered on, it will select the data block to be operated in FLASH, read the metadata of the data block to RAM, and modify the metadata in RAM and save it to enter the running state. Causes a read or write op...

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): G06F21/79
CPCG06F21/79
Inventor 刘筱君房兵
Owner ZHENGZHOU YUNHAI INFORMATION 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