Patent ID: 9501397
Filing Date: 2016-11-22
CPC Classification: G06F

Claim Text:
1. A data writing method, for writing data into a plurality of physical blocks, the data writing method comprising: grouping the physical blocks into a plurality of physical units, wherein each of the physical units has a plurality of physical pages, and each of the physical pages has a data bit area and a redundancy bit area; grouping the physical units into at least a data area and a free area; configuring a plurality of logical units to map to the physical units in the data area; getting a physical unit among the physical units of the free area; writing at least one data belonging to at least one logical unit among the logical units into a first physical page of the gotten physical unit; and after executing a data merging procedure to move the at least one data from the gotten physical unit into another physical unit mapped to the at least one logical unit, writing an end mark into the redundancy bit area of a second physical page subsequent to the first physical page in the gotten physical unit.