发明名称 DATA WRITING METHOD, MEMORY CONTROL CIRCUIT UNIT AND MEMORY STORAGE APPARATUS
摘要 A data writing method for a rewritable non-volatile memory module having a plurality of physical erasing units, and a memory control circuit unit and the memory storage apparatus are provided. The method includes grouping the physical erasing units into at least a data area, a backup area and a spare area; and setting a value obtained by summing a minimum threshold and a predetermined number as a garbage collecting threshold. The data writing method also includes getting at least one physical erasing unit from the spare area, writing data into the gotten physical erasing unit, associating the gotten physical erasing unit with the backup area and re-adjusting the garbage collecting threshold according to the number of physical erasing units associated with the backup area and the minimum threshold.
申请公布号 US2015193340(A1) 申请公布日期 2015.07.09
申请号 US201414226768 申请日期 2014.03.26
申请人 PHISON ELECTRONICS CORP. 发明人 Liang Ming-Jen
分类号 G06F12/02;G06F3/06 主分类号 G06F12/02
代理机构 代理人
主权项 1. A data writing method for a rewritable non-volatile memory module having a plurality of physical erasing units, and the data writing method comprising: at least associating the physical erasing units with a data area, a backup area and a spare area; configuring a plurality of first logical units and a plurality of second logical units for being accessed by a host system, wherein the first logical units are mapped to the physical erasing units associated with the data area, and the second logical units are mapped to the physical erasing units associated with the backup area; setting a value obtained by summing a minimum threshold and a predetermined number as a garbage collecting threshold; receiving a first write command from the host system, wherein the first write command instructs to write first data into at least one logical unit among the second logical units; and getting at least one first physical erasing unit from among the physical erasing units of the spare area, writing the first data into the at least one first physical erasing unit, associating the at least one first physical erasing unit with the backup area, and adjusting the garbage collecting threshold according to a number of the at least one first physical erasing unit and the minimum threshold, wherein the adjusted garbage collecting threshold is obtained by subtracting the number of the physical erasing units associated with the backup area among the physical erasing units from the value obtained by summing the minimum threshold and the predetermined number, and the number of the physical erasing units associated with the backup area among the physical erasing units is not greater than the predetermined number.
地址 Miaoli TW