Memory Controller Parity Management for NAND Flash Data Integrity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current data storage devices using NAND flash memories face challenges in efficiently managing data integrity and error detection across multiple memory devices, particularly in RAID systems, where data redundancy and error correction mechanisms are not effectively integrated.
Innovation Solution
A data storage device and RAID system that utilize a memory controller to generate and manage parity values across multiple memory devices, including first and second storage devices for data and keys, and a third storage device for parity values, with a parity value header for managing these parities, enabling error detection and correction through key-value mapping.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If parity values are stored in the same memory devices as data, then storage capacity is maximized, but data integrity and error detection capability deteriorate
Solution Approach 1:
The storage system is segmented into data storage regions and separate parity storage regions within the memory devices. This segmentation allows data and parity information to be physically separated, enabling efficient error detection and correction without compromising storage capacity. The parity values are stored in dedicated regions that can be independently managed and accessed.
2Reliability
If RAID systems use traditional disk-based parity mechanisms, then error correction is achieved, but access speed deteriorates
Solution Approach 1:
The patent replaces traditional mechanical disk-based RAID parity mechanisms with solid-state memory-based parity storage and calculation. This substitution eliminates mechanical limitations and leverages the high-speed characteristics of NAND flash memory, achieving both fast access speed and reliable error correction through software-controlled parity management in the memory system.
3Reliability
If separate parity storage is implemented, then data integrity improves, but device complexity increases
Solution Approach 1:
The memory devices are designed to serve multiple functions: storing both data and parity values, managing key-value mappings, and supporting RAID operations. This multi-functionality reduces the need for separate dedicated components, maintaining relatively simple device architecture while achieving robust data integrity through integrated parity management capabilities.
Data Source
AI summary
A storage device includes multiple memory devices and a memory controller. The memory controller receives, from a host, values corresponding to data stored in the memory devices and keys for identifying the values, generates parities for inspecting the data for any errors based on the values, and manages key-value mapping information regarding a correspondence between the values and the keys. The memory devices include a first memory device and a second memory device, which store the values and the keys, and a third memory device, which stores parity values calculated from the values and a parity value header for managing the parity values.


