Unlock instant, AI-driven research and patent intelligence for your innovation.

Data storage method and device

A technology for data storage and data storage area, applied in the field of data storage methods and devices, can solve problems such as metadata misoperation, storage system crash, and lower storage system reliability, so as to improve reliability and ensure correct reading of metadata Effect

Active Publication Date: 2017-09-12
HANGZHOU HIKVISION DIGITAL TECH
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when the above-mentioned storage device calculates the storage location of a data, deviations are likely to occur, for example: the storage location of a data determined by calculation on the above-mentioned storage device is exactly at the storage location where the metadata is stored, and the data will overwrite the The metadata stored in the storage location, and then the metadata is misoperated, the above-mentioned storage device will inevitably have problems when reading the metadata, and even cause the storage system to crash
[0004] In the existing technology, there is a lack of protection for metadata. When storing data, the data is likely to overwrite the stored metadata, causing the storage device to fail to read the metadata correctly, and even causing the storage system to crash, reducing the reliability of the storage system. sex

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0080] 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 creative efforts fall within the protection scope of the present invention.

[0081] The embodiment of the present invention discloses a data storage method and device, which are applied to a storage device. The storage device includes: a metadata storage area. The method includes: receiving a data storage request, and determining the target of the data to be stored contained in the data storage request storage location, and judge whether the target storage location is in the metadata storage area, if it is in the metadata storage area, then ...

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 invention discloses a data storage method and device which are applied to storage equipment. The storage equipment comprises a metadata storage area, and the method comprises the steps of receiving a data storage request, determining a target storage position of data to be stored which is contained in the data storage request, judging whether or not the target storage position is in the metadata storage area, if the target storage position is in the metadata storage area, judging whether or not the data to be stored is metadata, if yes, storing the data to be stored to the target storage position on the condition that preset storage conditions are met, and if no, refusing to store the data to be stored to the target storage position. Data is stored by applying the data storage method and device, and the reliability of a storage system is improved.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a data storage method and device. Background technique [0002] For block storage-based storage systems, the importance of metadata in storage devices is self-evident. At present, in the storage system, in order to improve data storage efficiency, the real data and the metadata of the real data are often stored on the same storage device, for example: when storing a piece of data, first calculate the storage location of the data on the storage device , determine the storage location of the data, and store the data in the storage location. This allows efficient storage of data. [0003] However, when the above-mentioned storage device calculates the storage location of a data, deviations are likely to occur. For example, the storage location of a data determined by calculation on the above-mentioned storage device is exactly at the storage location where the metadata is stored, an...

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): G06F3/06G06F11/10
CPCG06F3/0619G06F3/0638G06F11/1016G06F11/1052
Inventor 张作青林鹏林起芊汪渭春
Owner HANGZHOU HIKVISION DIGITAL TECH