Patent ID: 9442834
Filing Date: 2016-09-13
CPC Classification: G06F

Claim Text:
1. A data management method for a rewritable non-volatile memory module, wherein the rewritable non-volatile memory comprises a first memory unit and a second memory unit, the first memory unit comprises a plurality of first physical erasing units, and the second memory unit comprises a plurality of second physical erasing units, the data management method comprising: grouping the plurality of the first physical erasing units into at least a data area and a spare area, and grouping the plurality of the second physical erasing units into at least a data backup area and a command recording area; configuring a plurality of logical addresses to map to the plurality of the first physical erasing units associated with the data area; receiving a write command, wherein the write command instructs to write a first data to at least one first logical address of the plurality of the logical addresses; writing the first data to one of the plurality of the first physical erasing units associated with the spare area of the first memory unit and writing the first data to one of the plurality of the second physical erasing units associated with the data backup area of the second memory unit in response to the write command; recording at least a portion of the write command in one of the plurality of the second physical erasing units associated with the command recording area; and executing a data merging procedure on a valid data in the plurality of the first physical erasing units related to the first data and the first data, wherein a valid data in the plurality of the second physical erasing units related to the first data does not carry out the data merging procedure with the first data.