发明名称 Data writing method, memory controller, and memory storage apparatus
摘要 A data writing method and a memory controller and a memory storage apparatus using the same are provided. The data writing method includes grouping a plurality of physical blocks into a plurality of physical units, grouping the physical units into at least a data area and a free area, and configuring a plurality of logical units for mapping to the physical units of the data area. The data writing method also includes getting a physical unit from the free area, writing data in at least one of the logical units into the gotten physical unit, and writing an end mark into the gotten physical unit, and in the gotten physical unit, the end mark follows the data belonging to the at least one logical unit. Thereby, the storage space of each physical unit can be effectively used, and the lifespan of the memory storage apparatus can be prolonged.
申请公布号 US9501397(B2) 申请公布日期 2016.11.22
申请号 US201012954681 申请日期 2010.11.26
申请人 PHISON ELECTRONICS CORP. 发明人 Huang Yi-Hsiang
分类号 G06F12/00;G06F12/02 主分类号 G06F12/00
代理机构 Jiang Chyun IP Office 代理人 Jiang Chyun IP Office
主权项 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.
地址 Miaoli TW