Data storage method and device and storage system

A storage system and data technology, applied in the information field, can solve the problems of occupied time, data failure time difference, low efficiency, etc., and achieve the effect of improving efficiency and reducing occupied time

Active Publication Date: 2019-03-08
HUAWEI TECH CO LTD
View PDF9 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, no matter whether the lost data is recovered by means of EC or mirroring, the recovered data is randomly stored in the storage area of ​​the memory, resulting in very different expiration times of the data stored in the final storage area. Big
In this way, through the garbage collection (garbage collection, GC) mechanism, the storage area is used

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

Example Embodiment

[0039] In order to facilitate the understanding of this application, the terms involved in this application are briefly introduced first.

[0040] 1. Garbage collection

[0041] A mechanism for managing storage space. When the remaining storage space of the storage space is not enough, the invalid data stored in the storage space can be deleted through the garbage collection mechanism to achieve the purpose of recycling storage resources. The recovered storage resources can be used to store other valid data to improve storage space utilization. Rate.

[0042] 2. Invalid data and valid data

[0043] Invalid data can be understood as data that needs to be deleted from the storage system. For example, it can be data whose life cycle has expired, or data whose expiration time has passed.

[0044] Valid data can be understood as the data that the storage system needs to continue to store. For example, it can be data whose life cycle has not expired, or data whose expiration ti...

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 present invention relates to a data storage method and device and a storage system. The method is applied to the storage system, and the storage system includes at least one first memory and a second memory. At least one first memory includes a plurality of storage areas, a memory area in each of that plurality of memory area is a unit for garbage collection. By limiting the length of time between the earliest failure time and the latest failure time of the valid data stored in the target storage area to be less than or equal to a preset length of time, the invalidation time of the valid data stored in the target storage area is relatively centralized, and in the process of garbage collection in the target storage area, the time occupied by migrating the valid data is reduced, so as toimprove the efficiency of garbage collection.

Description

technical field [0001] The present application relates to the field of information technology, and more specifically, to a data storage method, device and storage system. Background technique [0002] In a storage system, data security is a major indicator to measure the performance of the storage system. In order to enable data to be safely stored in a storage system, many data protection mechanisms are provided in the prior art. For example, the principle of erasure codes is to use erasure coded (EC) encoding to encode the original data to generate multiple data fragments, and store the data fragments in multiple memories. After a memory failure results in the loss of data in the memory, the lost data can be recovered through data fragments stored in other memories. Another example is mirror storage, which stores data in a mirrored manner. Store the same data in the primary node and standby node of the storage system, so that when a storage failure in the primary node c...

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/10G06F12/02
CPCG06F3/0619G06F3/064G06F3/0644G06F3/0647G06F3/0652G06F11/1044G06F11/1068G06F12/0246G06F12/0253G06F3/0659G06F3/0673G06F3/0688G06F3/0689G06F11/2094G06F11/1469G06F2201/82G11B20/1217G11B2020/1238G11B2020/1292H03M13/154
Inventor 王英赵小宝
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products