Data storage device and parity code processing method thereof

A technology of data storage device and check code, which is applied in the direction of electrical digital data processing, input/output process of data processing, digital memory information, etc., and can solve the problem of low writing efficiency

Active Publication Date: 2020-03-17
SILICON MOTION INC (CN)
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, after the user data of every N pages completes the encoding operation, the RAIDCC engine will switch its state to output the check code completed by each encoding operation into the non-volatile memory, causing the written The check codes entered into the non-volatile memory are not consistent, and the writing efficiency is also reduced

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 device and parity code processing method thereof
  • Data storage device and parity code processing method thereof
  • Data storage device and parity code processing method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] Hereinafter, the present invention will be described in detail by illustrating various embodiments of the invention by means of drawings. However, inventive concepts may be embodied in many different forms and should not be construed as limited to the illustrative embodiments set forth herein. Furthermore, the same reference numbers may be used to denote similar elements in the drawings.

[0013] First, see figure 1 , figure 1 It is a functional block diagram of the data storage device provided by the embodiment of the present invention. The data storage device 1 includes a non-volatile memory 110 and a controller 120 . In this embodiment, the non-volatile memory 110 includes a plurality of blocks (not shown), and each block includes a plurality of pages, and a page is a minimum unit of programming (Program). That is to say, a page is the smallest unit when writing or reading data, and one word line (Word Line) can control more than one page. In addition, a block i...

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

A data storage device and a parity code processing method thereof are provided. The data storage device includes a non-volatile memory and a controller. The controller includes a RAID ECC engine. TheRAID ECC engine has a memory, wherein after completing an encoding operation on each N pages of user data to generate a corresponding parity code. The RAID ECC engine compresses the parity code and stores the compressed parity code in the memory, wherein after all K parity codes of the K*N pages of the user data are compressed and stored in the memory, the RAID ECC engine writes the compressed K parity codes to the non-volatile memory. As such, the frequency of switching the state of the RAID ECC engine is reduced, and the number and time of writing data to the non-volatile memory is reduced.

Description

technical field [0001] The invention relates to a data storage device, in particular to a data storage device and a check code processing method thereof. Background technique [0002] Generally, a data storage device is composed of a controller and a non-volatile memory, such as a flash memory, and the controller may include a redundant array of independent disks (Redundant Array of Independent Disks, RAID) error correcting code (Error Correcting Code, ECC) engine. The RAID ECC engine is mainly used for error correction procedures. One of its operating principles is that when the host (Host) wants to write user data to the non-volatile memory, and the written user data is based on the page as the management unit, At the same time, the controller also sends the user data to the RAID ECC engine for encoding operation, until the user data of a page group (Page Group), for example, after the user data of page 0 to page N-1 completes the encoding operation, the RAID ECC The eng...

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 & AuthorityApplications(China)
IPC IPC(8): G06F3/06G06F11/10
CPCG06F12/10G06F3/0619G06F3/064G06F3/0659G06F3/0679G06F3/0608G06F2212/7201G06F2212/7205G06F12/0246Y02D10/00G06F12/0253G06F12/0802G06F3/0625G06F11/1076G11C11/4063G06F3/0689
Inventor李安邦
OwnerSILICON MOTION INC (CN)