Data protection method, data protection device and solid-state disk storage system

A solid-state hard disk, storage system technology, applied in the computer field, can solve the problem of unsolved write amplification, and achieve the effect of reducing modification, ensuring security, and avoiding frequent rewriting

Active Publication Date: 2019-01-29
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In the second method, through the improved RAID5 application, the fixed physical blocks of the parity bits in the first method are evenly distributed to the entire solid-state hard disk through the flash conversion layer, avoiding too frequent checking of the parity blocks Modification, however, this method still does not solve the problem of write amplification

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 protection method, data protection device and solid-state disk storage system
  • Data protection method, data protection device and solid-state disk storage system
  • Data protection method, data protection device and solid-state disk storage system

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0028] figure 2 is a flow chart of the data protection method in the first embodiment of the present invention. The method is applied to a solid-state hard disk storage system. In the embodiment of the present invention, the solid-state hard disk storage system at least includes a flash conversion layer, a volatile memory and a non-volatile memory.

[0029] In the embodiment of the present invention, the logic block layer in the flash translation layer is first striped in units of blocks, and each strip includes at least two data blocks corresponding to user data and one parity block. Wherein, the check blocks in each stripe correspond to the parity check values ​​of other data blocks in the stripe. The parity blocks for each stripe are randomly distributed, depending on the flash translation layer. Each stripe is the same size. Here, the size of the stripe refers to the number of logical blocks included in the stripe. Preferably, each stripe includes 8 to 16 logical bloc...

no. 2 example

[0045] image 3 The above is a flow chart of the data protection method provided by the second embodiment of the present invention. Please refer to image 3 , the method may include:

[0046] Step S21, creating a check data storage area in the volatile memory for storing check data corresponding to the check block.

[0047] Step S22, when the physical block that has a mapping relationship with the data block in the stripe is damaged, recover the data of the data block according to other data blocks and parity blocks in the stripe.

[0048] Further, when a physical block that has a mapping relationship with a data block in the stripe is damaged, the damaged physical block can be marked as a special bad block, and the physical block marked as a special bad block does not enter recovery Process, when the number of new check data stored in the check data storage area reaches a predetermined number, mark the damaged physical block as a common bad block, and the physical block ma...

no. 3 example

[0059] See Figure 5 , is a schematic structural diagram of a solid state disk storage system provided in the third embodiment of the present invention; please refer to Figure 5 , the solid state disk storage system 30 may at least include a flash conversion layer 31 , a volatile memory 32 , a nonvolatile memory 33 , and an energy storage element 34 .

[0060]The flash conversion layer 31 includes a striped logical block layer, each strip includes at least two data blocks and a parity block, and the non-volatile memory includes a mapping relationship with the logical block. physical block.

[0061] The flash conversion layer 31 is responsible for establishing and maintaining the logical block mapping table, realizing wear leveling, and garbage collection.

[0062] The energy storage element 34 stores electric energy when the solid-state hard disk is working normally, and it can be a capacitor or a battery element. When the solid-state hard disk loses power abnormally, the e...

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

Embodiments of the present invention provide a data protection method, a data protection apparatus and a solid state disk storage system. The data protection method is applied to the solid state disc storage system. The solid state disk storage system comprises a flash translation layer, a volatile memory and a nonvolatile memory; the flash translation layer comprises a striped logic block layer; and each stripe comprises at least two data blocks and one check block corresponding to at least two data blocks. The method comprises: creating a check data storage area in the volatile memory for storing check data corresponding to the check block; when data corresponding to the data block in the strip is updated, calculating new check data according to the updated data, and storing the new check data in the check data storage area of the volatile memory; and when the number of new check data stored in the check data storage area reaches a predetermined number, writing the new check data into a physical block corresponding to the check block.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a data protection method, a data protection device and a solid-state hard disk storage system. Background technique [0002] Solid State Drives (SSD for short) are hard disks made of arrays of solid-state electronic memory chips. Solid state drives can be implemented using NAND flash. NAND flash memory is a non-volatile storage medium, and its characteristic is that data does not disappear after power off. At present, most enterprise-level solid-state drives use this type of solid-state drive. [0003] Flash Translation Layer (FTL for short), as a Flash file system data manager (Flash Translation Layer), is a translation layer between a NAND flash memory chip and the basic file system, which makes the operating system and file system A NAND flash device can be accessed like a hard disk. [0004] There are generally two existing protection methods for enterprise-level data. ...

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/78G06F12/06
Inventor 冯旭刚高剑林
Owner TENCENT TECH (SHENZHEN) 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