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

Data storage method and device and storage system

A storage system and data storage technology, applied in file systems, file system types, electronic digital data processing, etc., can solve the problems of low utilization of SMR disk storage resources, a large number of SMR disk fragments, and storage blocks that do not support delete operations.

Active Publication Date: 2020-07-10
HANGZHOU HIKVISION SYST TECH
View PDF10 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since a storage area of ​​an SMR disk can only be written sequentially, when the same data is frequently overwritten in a storage area of ​​the SMR disk, only the last one of the storage blocks storing the data stores the data Valid data is stored in the storage block, and the data stored in other storage blocks is invalid data, and the storage block in this storage area does not support deletion operations, which will easily lead to a large number of fragments on the SMR disk. If these fragments cannot be recovered in time , so that the storage resource utilization of the SMR disk is not high

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] 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.

[0046] In the related art, in order to increase the reading and writing efficiency of the SMR disk, an HM (Host Manage, host management) SMR technology is adopted. see figure 1, The HM SMR disk is divided into two storage areas, the CMR area and the SMR area. The SMR area includes multiple storage areas, and the CMR area supports random read and write. Each storage area in the SMR area only supports sequential writing, and multiple storage areas support paral...

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 provides a data storage method and device and a storage system, and the method comprises the steps: determining the data type of to-be-stored data when the to-be-storeddata is obtained; determining a target storage area with the same data type as the to-be-stored data based on the data type of the data stored in each storage area in the SMR disk; determining a target storage block in which the to-be-stored data is to be written in the target storage area; based on the identifier of the target storage block, generating main index information and standby index information of the to-be-stored data; generating database index information of the to-be-stored data based on the to-be-stored data and the identifier of the target storage block; writing the standby index information of the to-be-stored data and the to-be-stored data into the target storage block, writing the main index information of the to-be-stored data into the CMR region or the non-SMR disk, and writing the database index information of the to-be-stored data into the non-SMR disk. Therefore, the storage resource utilization rate of the SMR disk can be improved.

Description

technical field [0001] The present invention relates to the technical field of data storage, in particular to a data storage method, device and storage system. Background technique [0002] With the development of information technology, various electronic devices will generate a large amount of data. In order to analyze and process the data regularly, it is necessary to store the data in storage media, such as floppy disks, CDs, magnetic disks, Flash memory, U disk, SM card, memory stick and other storage media. [0003] In order to enable a single disk to store more data, an SMR (Shingled Magneting Recording, Shingled Magnetic Recording) disk has appeared in the prior art. In an SMR disk, each data track partially overlaps like tiles on the roof. In this way, more tracks can be accommodated in the same area when data is written, thereby increasing the storage areal density and the storage capacity of a single disk. [0004] However, the inventors found that in the prior ...

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): G06F3/06G06F16/18G06F16/13
CPCG06F3/0604G06F3/0638G06F3/0676G06F16/1847G06F16/13G06F3/0685G06F3/0649G06F3/0619G06F3/0689G06F3/0608G06F3/0644G06F3/0652G11B20/1217G11B2020/1238
Inventor 叶敏王伟林起芊
Owner HANGZHOU HIKVISION SYST TECH
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