Patent ID: 8762685
Filing Date: 2014-06-24
Classification: G06F

Abstract:
1. A data writing method for writing updated data from a host system into a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module has a plurality of physical blocks, each of the physical blocks has a plurality of physical pages, the physical blocks are grouped into at least a data area and a free area, the physical blocks belonging to the data area and the free area are grouped into a plurality of physical units, and the physical units in the free area are for substituting the physical units in the data area for writing data, the data writing method comprising: configuring a plurality of logical units to map to the physical units in the data area, wherein each of the logical units has a plurality of logical pages, and the updated data belongs to one logical page among the logical pages; getting at least one physical unit from the free area to be a first global random physical unit; determining whether the updated data is sequential data and determining whether the one logical page is a start logical page of one logical unit among the logical units; getting one physical unit from the physical units of the free area to be a second global random physical unit and writing the updated data into the second global random physical unit when the updated data is the sequential data and the one logical page is the start logical page, wherein the sequential data comprises data written sequentially by the host system into a plurality of continuous logical pages among the plurality of logical pages.