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

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

A storage method and storage device technology, applied in the protection of internal/peripheral computer components, etc., can solve the problems of reducing the stability of metadata of data blocks, etc.

Active Publication Date: 2019-02-12
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF6 Cites 2 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 and equipment for storing metadata and readable storage medium
  • Method, device and equipment for storing metadata and readable storage medium
  • Method, device and equipment for storing metadata and readable storage medium

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 comprises the following steps of when a solid-state hard disk is converted from an unpowered state to a powered state, reading the target metadata from a FLASH and storing in a RAM; detecting whether an enabling command sent by a host of the solid state drive is received; if so, modifying the target metadata in RAM, wherein the enablingcommand is the command that the host commands the solid state drive to run. After the target metadata is read from the FLASH and stored in the RAM, the method does not rush to modify and save the target metadata, but detects whether the enable command sent by the host computer is received or not. When the enabling command is received, it indicates that a read or write operation currently exists, and the target metadata is modified and saved at this time, thereby avoiding needless modification and saving of the metadata and improving the stability of the metadata. Accordingly, the device and equipment for storing the metadata and a readable storage medium are disclosed by the invention, and also have the technical effects mentioned above.

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 Applications(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