发明名称 Data storing method, and memory controller and memory storage apparatus using the same
摘要 A data storing method for a rewritable non-volatile memory module is provided. The method includes dividing logical addresses into a plurality of logical zones, and respectively establishing a plurality of logical address mapping tables for the logical zones. The method also includes writing data of a logical address into a physical program unit; and recording a mapping record indicating the logical address is mapped to the physical program unit in a temp mapping table. The method further includes: if the temp mapping table is full, updating the mapping relations between the logical addresses and the physical program units in the logical address mapping tables based on mapping records recorded in the temp mapping table, and deleting the mapping records in the temp mapping table.
申请公布号 US8892814(B2) 申请公布日期 2014.11.18
申请号 US201213602204 申请日期 2012.09.03
申请人 Phison Electronics Corp. 发明人 Yeh Chih-Kang
分类号 G06F12/00 主分类号 G06F12/00
代理机构 Jianq Chyun IP Office 代理人 Jianq Chyun IP Office
主权项 1. A data storing method for a rewritable non-volatile memory module, the rewritable non-volatile memory module has a plurality of physical erase units, and each of the physical erase units has a plurality of physical program units, the data storing method comprising: configuring a plurality of logical addresses, and dividing the plurality of logical addresses into a plurality of logical zones; respectively establishing a plurality of logical address mapping tables for the plurality of logical zones, wherein each of the logical zones is corresponding to one logical address mapping table; receiving data from a host system, wherein the data is stored to a first logical address among the plurality of logical addresses according to an instruction of the host system; writing the data into a first physical program unit among the plurality of physical program units of the plurality of physical erase units; recording a mapping record indicating that the first logical address is mapped to the first physical program unit in a temp mapping table; determining whether the temp mapping table is full; and if the temp mapping table is full, updating mapping relations between the plurality of logical addresses and the plurality of physical program units of the plurality of physical erase units in the plurality of logical address mapping tables based on a plurality of mapping records recorded in the temp mapping table, and deleting the plurality of mapping records recorded in the temp mapping table, wherein the mapping relations of a portion of the physical program units among the plurality of physical program units of the plurality of physical erase units are recorded in the temp mapping table.
地址 Miaoli TW