[go: up one dir, main page]

CN107204205A - Memory management method, memory control circuit unit and memory storage device - Google Patents

Memory management method, memory control circuit unit and memory storage device Download PDF

Info

Publication number
CN107204205A
CN107204205A CN201610149646.5A CN201610149646A CN107204205A CN 107204205 A CN107204205 A CN 107204205A CN 201610149646 A CN201610149646 A CN 201610149646A CN 107204205 A CN107204205 A CN 107204205A
Authority
CN
China
Prior art keywords
threshold value
unit
instance
erased cell
reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610149646.5A
Other languages
Chinese (zh)
Other versions
CN107204205B (en
Inventor
陈国荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Phison Electronics Corp
Original Assignee
Phison Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Phison Electronics Corp filed Critical Phison Electronics Corp
Priority to CN201610149646.5A priority Critical patent/CN107204205B/en
Publication of CN107204205A publication Critical patent/CN107204205A/en
Application granted granted Critical
Publication of CN107204205B publication Critical patent/CN107204205B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/34Determination of programming status, e.g. threshold voltage, overprogramming or underprogramming, retention
    • G11C16/349Arrangements for evaluating degradation, retention or wearout, e.g. by counting erase cycles
    • G11C16/3495Circuits or methods to detect or delay wearout of nonvolatile EPROM or EEPROM memory devices, e.g. by counting numbers of erase or reprogram cycles, by using multiple memory areas serially or cyclically
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/10Programming or data input circuits
    • G11C16/14Circuits for erasing electrically, e.g. erase voltage switching circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/26Sensing or reading circuits; Data output circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/34Determination of programming status, e.g. threshold voltage, overprogramming or underprogramming, retention
    • G11C16/3418Disturbance prevention or evaluation; Refreshing of disturbed memory data
    • G11C16/3427Circuits or methods to prevent or reduce disturbance of the state of a memory cell when neighbouring cells are read or written

Landscapes

  • Read Only Memory (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

本发明提供一种存储器管理方法、存储器控制电路单元与存储器存储装置。本方法包括:为每一实体抹除单元设定读取干扰门槛值;根据可复写式非挥发性存储器模块的状态信息,调整第一实体抹除单元的读取干扰门槛值;以及根据第一实体抹除单元的读取干扰门槛值,执行预防读取干扰操作。基于上述,本发明提出根据实体抹除单元的抹除次数动态地调整读取干扰门槛值,借以有效地降低实体抹除单元磨损的机率或读取干扰发生的机率。

The present invention provides a memory management method, a memory control circuit unit and a memory storage device. The method includes: setting a read disturbance threshold value for each physical erase unit; adjusting the read disturbance threshold value of the first physical erase unit according to the status information of the rewritable non-volatile memory module; and performing a read disturbance prevention operation according to the read disturbance threshold value of the first physical erase unit. Based on the above, the present invention proposes to dynamically adjust the read disturbance threshold value according to the number of erase times of the physical erase unit, so as to effectively reduce the probability of wear of the physical erase unit or the probability of read disturbance occurrence.

Description

存储器管理方法、存储器控制电路单元与存储器存储装置Memory management method, memory control circuit unit and memory storage device

技术领域technical field

本发明是有关于一种存储器管理方法、存储器控制电路单元与存储器存储装置。The invention relates to a memory management method, a memory control circuit unit and a memory storage device.

背景技术Background technique

数码相机、手机与MP3在这几年来的成长十分迅速,使得消费者对存储介质的需求也急速增加。由于可复写式非挥发性存储器(rewritable non-volatilememory)具有数据非挥发性、省电、体积小、无机械结构、读写速度快等特性,最适于便携式电子产品,例如笔记本电脑。固态硬盘就是一种以快速存储器模块作为存储介质的存储器存储装置。因此,近年快速存储器产业成为电子产业中相当热门的一环。The rapid growth of digital cameras, mobile phones, and MP3 players has led to a rapid increase in consumer demand for storage media. Since the rewritable non-volatile memory (rewritable non-volatile memory) has the characteristics of non-volatility of data, power saving, small size, no mechanical structure, and fast read and write speed, it is most suitable for portable electronic products, such as notebook computers. A solid state drive is a memory storage device that uses a fast memory module as a storage medium. Therefore, the fast memory industry has become a very popular part of the electronics industry in recent years.

一般来说,可复写式非挥发性存储器模块通常包括多个实体抹除单元,并且每一个实体抹除单元会包括多个实体程序化页面。特别是,可复写式非挥发性存储器模块中的实体抹除单元的抹除次数是有限的,例如,一个实体抹除单元在经历一万次的抹除操作后就会磨损。而当一个实体抹除单元磨损时,会导致将数据程序化(也称,写入)至此实体抹除单元时产生错误位元,更严重者还会导致例如数据遗失或无法存储数据等不利的影响。Generally speaking, a rewritable non-volatile memory module usually includes a plurality of physical erasing units, and each physical erasing unit includes a plurality of physical programming pages. In particular, the erasing times of the physical erasing unit in the rewritable non-volatile memory module are limited. For example, a physical erasing unit will wear out after 10,000 erasing operations. And when a physical erasing unit wears out, it will cause error bits to be generated when data is programmed (also called, written) to this physical erasing unit, and what is more serious will also cause disadvantages such as data loss or inability to store data. influences.

此外,当一个实体抹除单元中的一个实体程序化单元所存储的数据被进行多次的读取后(例如,十万至百万次的读取次数),则此实体程序化单元所存储的数据也很有可能会因所施加的读取电压而产生错误位元或遗失,甚至可能造成位于同一实体抹除单元中存储在其他实体程序化单元中的数据产生错误位元或遗失,此类现象被本发明领域具有通常知识者惯称为“读取干扰”(read-disturb)。In addition, when the data stored in a physical programming unit in a physical erasing unit is read multiple times (for example, from one hundred thousand to one million times of reading), the data stored in the physical programming unit It is very likely that the data in the data will be wrong or lost due to the applied read voltage, and it may even cause the data stored in the same physical erasing unit to be wrong or lost in other physical programming units. Such phenomenon is commonly referred to as "read-disturb" by those skilled in the art of the present invention.

可复写式非挥发性存储器模块存在着实体抹除单元会随着使用而造成磨损与读取干扰的现象,此些现象无不驱使各家厂商必须发展出各种存储器的管理方法,借以有效地降低实体抹除单元磨损的机率或抑制读取干扰发生的机率。The rewritable non-volatile memory module has the phenomenon that the physical erasing unit will cause wear and read interference with use. These phenomena all drive manufacturers to develop various memory management methods to effectively reduce The probability of physically erasing unit wear or suppressing the probability of read disturb.

发明内容Contents of the invention

本发明提供一种存储器管理方法、存储器控制电路单元与存储器存储装置,可有效地降低实体抹除单元磨损的机率或抑制读取干扰发生的机率,进而提高可复写式非挥发性存储器模块的生命周期与可靠度。The present invention provides a memory management method, a memory control circuit unit and a memory storage device, which can effectively reduce the probability of physical erasing unit wear or suppress the probability of read interference, thereby improving the life of the rewritable non-volatile memory module cycle and reliability.

本发明提出一种存储器管理方法,用于可复写式非挥发性存储器模块,其中可复写式非挥发性存储器模块具有多个实体抹除单元,实体抹除单元之中的每一个具有多个实体程序化单元,此存储器管理方法包括:为每一实体抹除单元设定读取干扰门槛值;根据可复写式非挥发性存储器模块的状态信息,调整第一实体抹除单元的读取干扰门槛值;以及根据第一实体抹除单元的读取干扰门槛值,执行预防读取干扰操作。The present invention proposes a memory management method for a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module has a plurality of entity erasing units, and each of the entity erasing units has a plurality of entities For programming units, the memory management method includes: setting a read disturbance threshold for each physical erasing unit; adjusting the read disturbance threshold of the first physical erasing unit according to the state information of the rewritable non-volatile memory module value; and perform a read disturb prevention operation according to the read disturb threshold value of the first physical erasing unit.

在本发明的一范例实施例中,上述根据可复写式非挥发性存储器模块的状态信息,调整第一实体抹除单元的读取干扰门槛值的步骤包括:记录每一实体抹除单元的抹除计数;以及当第一实体抹除单元的抹除计数从第一计数值增加为第二计数值时,将第一实体抹除单元的读取干扰门槛值从第一门槛值调整成第二门槛值,其中第二计数值大于第一计数值,且第二门槛值小于第一门槛值。In an exemplary embodiment of the present invention, the above-mentioned step of adjusting the read disturbance threshold value of the first physical erasing unit according to the state information of the rewritable non-volatile memory module includes: recording the erasure of each physical erasing unit In addition to counting; and when the erasing count of the first physical erasing unit increases from the first count value to the second count value, adjusting the read disturbance threshold of the first physical erasing unit from the first threshold to the second A threshold value, wherein the second count value is greater than the first count value, and the second threshold value is smaller than the first threshold value.

在本发明的一范例实施例中,其中根据第一实体抹除单元的读取干扰门槛值,执行预防读取干扰操作的步骤包括:判断对应第一实体抹除单元的第一实体程序化单元的读取次数是否大于第一实体抹除单元的读取干扰门槛值;以及倘若对应第一实体程序化单元的读取次数大于第一实体抹除单元的读取干扰门槛值时,将存储在第一实体抹除单元的数据复制到这些实体抹除单元之中的第二实体抹除单元。In an exemplary embodiment of the present invention, the step of performing the read disturb prevention operation according to the read disturb threshold of the first physical erasing unit includes: determining the first physical programming unit corresponding to the first physical erasing unit Whether the number of times of reading is greater than the read disturbance threshold value of the first physical erasing unit; The data of the first physical erasing unit is copied to the second physical erasing unit among the physical erasing units.

在本发明的一范例实施例中,上述根据可复写式非挥发性存储器模块的状态信息,调整第一实体抹除单元的读取干扰门槛值的步骤包括:记录每一实体抹除单元的抹除计数,以及当第一实体抹除单元的抹除计数从第一计数值增加为第二计数值时,将第一实体抹除单元的读取干扰门槛值从第三门槛值调整为第四门槛值,其中第二计数值大于第一计数值,第四门槛值大于第三门槛值。In an exemplary embodiment of the present invention, the above-mentioned step of adjusting the read disturbance threshold value of the first physical erasing unit according to the state information of the rewritable non-volatile memory module includes: recording the erasure of each physical erasing unit counting, and when the erasing count of the first physical erasing unit increases from the first counting value to the second counting value, adjusting the read disturbance threshold of the first physical erasing unit from the third threshold to the fourth threshold The threshold value, wherein the second count value is greater than the first count value, and the fourth threshold value is greater than the third threshold value.

在本发明的一范例实施例中,其中根据第一实体抹除单元的读取干扰门槛值,执行预防读取干扰操作的步骤包括:从第一实体抹除单元的第一实体程序化单元读取一读取数据;判断从第一实体程序化单元所读取的读取数据的错误位元数目是否大于第一实体抹除单元的读取干扰门槛值;倘若从第一实体程序化单元所读取的读取数据的错误位元数目大于第一实体抹除单元的读取干扰门槛值时,将存储在第一实体抹除单元的数据复制到实体抹除单元之中的第二实体抹除单元。In an exemplary embodiment of the present invention, according to the read disturb threshold value of the first physical erasing unit, the step of performing the read disturb preventing operation includes: reading from the first physical programming unit of the first physical erasing unit Take a read data; judge whether the number of error bits of the read data read from the first physical programming unit is greater than the read disturbance threshold value of the first physical erasing unit; When the number of error bits in the read data is greater than the read disturbance threshold value of the first physical erasing unit, the data stored in the first physical erasing unit is copied to the second physical erasing unit in the physical erasing unit. remove the unit.

在本发明的一范例实施例中,上述根据可复写式非挥发性存储器模块的状态信息,调整第一实体抹除单元的读取干扰门槛值的步骤包括:检查可复写式非挥发性存储器模块的温度;以及根据可复写式非挥发性存储器模块的温度调整第一实体抹除单元的读取干扰门槛值。In an exemplary embodiment of the present invention, the step of adjusting the read disturbance threshold of the first physical erasing unit according to the state information of the rewritable non-volatile memory module includes: checking the rewritable non-volatile memory module temperature; and adjust the read disturb threshold of the first physical erasing unit according to the temperature of the rewritable non-volatile memory module.

在本发明的一范例实施例中,其中根据可复写式非挥发性存储器模块的温度调整第一实体抹除单元的读取干扰门槛值的步骤包括:当可复写式非挥发性存储器模块的温度从第一温度值增加为第二温度值时,将第一实体抹除单元的读取干扰门槛值从第五门槛值调整为第六门槛值,其中第二温度值大于第一温度值,第六门槛值大于第五门槛值。In an exemplary embodiment of the present invention, the step of adjusting the read disturb threshold value of the first physical erasing unit according to the temperature of the rewritable non-volatile memory module includes: when the temperature of the rewritable non-volatile memory module When increasing from the first temperature value to the second temperature value, adjust the read disturbance threshold value of the first physical erasing unit from the fifth threshold value to the sixth threshold value, wherein the second temperature value is greater than the first temperature value, and the second temperature value is greater than the first temperature value, The sixth threshold is greater than the fifth threshold.

本发明一范例实施例提供一种用于控制可复写式非挥发性存储器模块的存储器控制电路单元。此存储器控制电路单元包括:用以电性连接至主机系统的主机接口;用以电性连接至可复写式非挥发性存储器模块的存储器接口,其中可复写式非挥发性存储器模块具有多个实体抹除单元,此些实体抹除单元之中的每一个实体抹除单元具有多个实体程序化单元;以及电性连接至主机接口与存储器接口的存储器管理电路。存储器管理电路用以为每一实体抹除单元设定读取干扰门槛值,根据可复写式非挥发性存储器模块的状态信息,调整第一实体抹除单元的读取干扰门槛值,以及根据第一实体抹除单元的读取干扰门槛值,执行预防读取干扰操作。An exemplary embodiment of the present invention provides a memory control circuit unit for controlling a rewritable non-volatile memory module. The memory control circuit unit includes: a host interface for electrically connecting to a host system; a memory interface for electrically connecting to a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module has multiple entities The erasing unit, each of the physical erasing units has a plurality of physical programming units; and a memory management circuit electrically connected to the host interface and the memory interface. The memory management circuit is used to set the read disturb threshold value for each physical erasing unit, adjust the read disturb threshold value of the first physical erasing unit according to the state information of the rewritable non-volatile memory module, and adjust the read disturb threshold value according to the first The read disturb threshold of the physical erase unit is used to prevent read disturb operations.

在本发明的一范例实施例中,其中根据可复写式非挥发性存储器模块的状态信息,调整第一实体抹除单元的读取干扰门槛值的运作中,存储器管理电路还用以记录每一实体抹除单元的抹除计数,当第一实体抹除单元的抹除计数从第一计数值增加为第二计数值时,存储器管理电路还用以将第一实体抹除单元的读取干扰门槛值从第一门槛值调整成第二门槛值,其中第二计数值大于第一计数值,且第二门槛值小于第一门槛值。In an exemplary embodiment of the present invention, in the operation of adjusting the read disturbance threshold of the first physical erasing unit according to the state information of the rewritable non-volatile memory module, the memory management circuit is also used to record each The erasing count of the physical erasing unit, when the erasing count of the first physical erasing unit increases from the first count value to the second count value, the memory management circuit is also used to disturb the read of the first physical erasing unit The threshold value is adjusted from the first threshold value to a second threshold value, wherein the second count value is greater than the first count value, and the second threshold value is smaller than the first threshold value.

在本发明的一范例实施例中,其中根据第一实体抹除单元的读取干扰门槛值,执行预防读取干扰操作的运作中,存储器管理电路还用以判断对应第一实体抹除单元的第一实体程序化单元的读取次数是否大于第一实体抹除单元的读取干扰门槛值,倘若对应第一实体程序化单元的读取次数大于第一实体抹除单元的读取干扰门槛值时,存储器管理电路还用以将存储在第一实体抹除单元的数据复制到实体抹除单元之中的第二实体抹除单元。In an exemplary embodiment of the present invention, in the operation of performing the read disturb prevention operation according to the read disturb threshold value of the first physical erasing unit, the memory management circuit is also used to determine the corresponding first physical erasing unit Whether the reading frequency of the first physical programming unit is greater than the read disturbance threshold of the first physical erasing unit, if the corresponding reading frequency of the first physical programming unit is greater than the read disturbance threshold of the first physical erasing unit At this time, the memory management circuit is also used to copy the data stored in the first physical erasing unit to the second physical erasing unit among the physical erasing units.

在本发明的一范例实施例中,其中根据可复写式非挥发性存储器模块的状态信息,调整第一实体抹除单元的读取干扰门槛值的运作中,存储器管理电路还用以记录每一实体抹除单元的抹除计数,当第一实体抹除单元的抹除计数从第一计数值增加为第二计数值时,存储器管理电路还用以将第一实体抹除单元的读取干扰门槛值从第三门槛值调整为第四门槛值,其中第二计数值大于第一计数值,第四门槛值大于第三门槛值。In an exemplary embodiment of the present invention, in the operation of adjusting the read disturbance threshold of the first physical erasing unit according to the state information of the rewritable non-volatile memory module, the memory management circuit is also used to record each The erasing count of the physical erasing unit, when the erasing count of the first physical erasing unit increases from the first count value to the second count value, the memory management circuit is also used to disturb the read of the first physical erasing unit The threshold value is adjusted from the third threshold value to a fourth threshold value, wherein the second count value is greater than the first count value, and the fourth threshold value is greater than the third threshold value.

在本发明的一范例实施例中,其中根据第一实体抹除单元的读取干扰门槛值,执行预防读取干扰操作的运作中,存储器管理电路还用以从第一实体抹除单元的第一实体程序化单元读取一读取数据,存储器管理电路还用以判断从第一实体程序化单元所读取的读取数据的错误位元数目是否大于第一实体抹除单元的读取干扰门槛值,倘若从第一实体程序化单元所读取的读取数据的错误位元数目大于第一实体抹除单元的读取干扰门槛值时,存储器管理电路还用以将存储在第一实体抹除单元的数据复制到实体抹除单元之中的第二实体抹除单元。In an exemplary embodiment of the present invention, in the operation of performing the read disturb prevention operation according to the read disturb threshold value of the first physical erasing unit, the memory management circuit is further configured to erase the first physical erasing unit from the first physical erasing unit A physical programming unit reads a read data, and the memory management circuit is also used to determine whether the number of error bits of the read data read from the first physical programming unit is greater than the read disturbance of the first physical erasing unit Threshold value, if the number of error bits of the read data read from the first physical programming unit is greater than the read disturbance threshold value of the first physical erasing unit, the memory management circuit is also used to store in the first physical The data of the erasing unit is copied to the second physical erasing unit among the physical erasing units.

在本发明的一范例实施例中,其中根据可复写式非挥发性存储器模块的状态信息,调整第一实体抹除单元的读取干扰门槛值的运作中,存储器管理电路还用以检查可复写式非挥发性存储器模块的温度,存储器管理电路还用以根据可复写式非挥发性存储器模块的温度调整第一实体抹除单元的读取干扰门槛值。In an exemplary embodiment of the present invention, in the operation of adjusting the read disturbance threshold value of the first physical erasing unit according to the state information of the rewritable non-volatile memory module, the memory management circuit is also used to check the rewritable The memory management circuit is also used to adjust the read disturb threshold of the first physical erasing unit according to the temperature of the rewritable non-volatile memory module.

在本发明的一范例实施例中,其中根据可复写式非挥发性存储器模块的温度调整第一实体抹除单元的读取干扰门槛值的运作中,当可复写式非挥发性存储器模块的温度从第一温度值增加为第二温度值时,存储器管理电路还用以将第一实体抹除单元的读取干扰门槛值从第五门槛值调整为第六门槛值,其中第二温度值大于第一温度值,第六门槛值大于第五门槛值。In an exemplary embodiment of the present invention, in the operation of adjusting the read disturbance threshold value of the first physical erasing unit according to the temperature of the rewritable non-volatile memory module, when the temperature of the rewritable non-volatile memory module When increasing from the first temperature value to the second temperature value, the memory management circuit is also used to adjust the read disturbance threshold value of the first physical erasing unit from the fifth threshold value to the sixth threshold value, wherein the second temperature value is greater than For the first temperature value, the sixth threshold value is greater than the fifth threshold value.

本发明一范例实施例提供一种存储器存储装置。其包括:用以电性连接至主机系统的连接接口单元、可复写式非挥发性存储器模块以及电性连接至连接接口单元与可复写式非挥发性存储器模块的存储器控制电路单元。其中可复写式非挥发性存储器具有多个实体抹除单元,此些实体抹除单元之中的每一个实体抹除单元具有多个实体程序化单元。存储器控制电路单元用以为每一实体抹除单元设定读取干扰门槛值,根据可复写式非挥发性存储器模块的一状态信息,调整第一实体抹除单元的读取干扰门槛值,以及根据第一实体抹除单元的读取干扰门槛值,执行预防读取干扰操作。An exemplary embodiment of the present invention provides a memory storage device. It includes: a connection interface unit electrically connected to the host system, a rewritable non-volatile memory module, and a memory control circuit unit electrically connected to the connection interface unit and the rewritable non-volatile memory module. The rewritable non-volatile memory has a plurality of physical erasing units, and each of the physical erasing units has a plurality of physical programming units. The memory control circuit unit is used to set the read disturbance threshold value for each physical erasing unit, adjust the read disturbing threshold value of the first physical erasing unit according to a state information of the rewritable non-volatile memory module, and according to The read disturb threshold value of the first physical erasing unit is used to prevent the read disturb operation.

在本发明的一范例实施例中,其中根据可复写式非挥发性存储器模块的状态信息,调整第一实体抹除单元的读取干扰门槛值的运作中,存储器控制电路单元还用以记录每一实体抹除单元的抹除计数,当第一实体抹除单元的抹除计数从第一计数值增加为第二计数值时,存储器控制电路单元还用以将第一实体抹除单元的读取干扰门槛值从第一门槛值调整成第二门槛值,其中第二计数值大于第一计数值,且第二门槛值小于第一门槛值。In an exemplary embodiment of the present invention, in the operation of adjusting the read disturbance threshold of the first physical erasing unit according to the state information of the rewritable non-volatile memory module, the memory control circuit unit is also used to record each The erasing count of a physical erasing unit, when the erasing count of the first physical erasing unit increases from the first count value to the second counting value, the memory control circuit unit is also used to read the first physical erasing unit The interference threshold value is adjusted from the first threshold value to a second threshold value, wherein the second count value is greater than the first count value, and the second threshold value is smaller than the first threshold value.

在本发明的一范例实施例中,其中根据第一实体抹除单元的读取干扰门槛值,执行预防读取干扰操作的运作中,存储器控制电路单元还用以判断对应第一实体抹除单元的第一实体程序化单元的读取次数是否大于第一实体抹除单元的读取干扰门槛值,倘若对应第一实体程序化单元的读取次数大于第一实体抹除单元的读取干扰门槛值时,存储器控制电路单元还用以将存储在第一实体抹除单元的数据复制到实体抹除单元之中的第二实体抹除单元。In an exemplary embodiment of the present invention, in the operation of performing the read disturb prevention operation according to the read disturb threshold value of the first physical erasing unit, the memory control circuit unit is also used to determine the corresponding first physical erasing unit Whether the read frequency of the first physical programming unit is greater than the read disturbance threshold of the first physical erasing unit, if the corresponding reading frequency of the first physical programming unit is greater than the read disturbance threshold of the first physical erasing unit When the value is high, the memory control circuit unit is also used to copy the data stored in the first physical erasing unit to the second physical erasing unit among the physical erasing units.

在本发明的一范例实施例中,其中根据可复写式非挥发性存储器模块的状态信息,调整第一实体抹除单元的读取干扰门槛值的运作中,存储器控制电路单元还用以记录每一实体抹除单元的抹除计数,当第一实体抹除单元的抹除计数从第一计数值增加为第二计数值时,存储器控制电路单元还用以将第一实体抹除单元的读取干扰门槛值从第三门槛值调整为第四门槛值,其中第二计数值大于第一计数值,第四门槛值大于第三门槛值。In an exemplary embodiment of the present invention, in the operation of adjusting the read disturbance threshold of the first physical erasing unit according to the state information of the rewritable non-volatile memory module, the memory control circuit unit is also used to record each The erasing count of a physical erasing unit, when the erasing count of the first physical erasing unit increases from the first count value to the second counting value, the memory control circuit unit is also used to read the first physical erasing unit The interference threshold is adjusted from the third threshold to the fourth threshold, wherein the second count is greater than the first count, and the fourth threshold is greater than the third threshold.

在本发明的一范例实施例中,其中根据第一实体抹除单元的读取干扰门槛值,执行预防读取干扰操作的运作中,该存储器控制电路单元还用以从第一实体抹除单元的第一实体程序化单元读取一读取数据,存储器控制电路单元还用以判断从第一实体程序化单元所读取的读取数据的错误位元数目是否大于第一实体抹除单元的读取干扰门槛值,倘若从第一实体程序化单元所读取的读取数据的错误位元数目大于第一实体抹除单元的读取干扰门槛值时,存储器控制电路单元还用以将存储在第一实体抹除单元的数据复制到实体抹除单元之中的第二实体抹除单元。In an exemplary embodiment of the present invention, in the operation of performing the read disturb prevention operation according to the read disturb threshold value of the first physical erase unit, the memory control circuit unit is also used for erasing the first physical unit from the first physical erase unit The first physical programming unit reads a read data, and the memory control circuit unit is also used to judge whether the number of error bits of the read data read from the first physical programming unit is greater than that of the first physical erasing unit read disturbance threshold value, if the number of error bits of the read data read from the first physical programming unit is greater than the read disturbance threshold value of the first physical erasing unit, the memory control circuit unit is also used to store The data in the first physical erasing unit is copied to the second physical erasing unit among the physical erasing units.

在本发明的一范例实施例中,其中根据可复写式非挥发性存储器模块的状态信息,调整第一实体抹除单元的读取干扰门槛值的运作中,存储器控制电路单元还用以检查可复写式非挥发性存储器模块的温度,存储器控制电路单元还用以根据可复写式非挥发性存储器模块的温度调整第一实体抹除单元的读取干扰门槛值。In an exemplary embodiment of the present invention, in the operation of adjusting the read disturbance threshold of the first physical erasing unit according to the state information of the rewritable non-volatile memory module, the memory control circuit unit is also used to check the The temperature of the rewritable non-volatile memory module, the memory control circuit unit is also used to adjust the read disturb threshold of the first physical erasing unit according to the temperature of the rewritable non-volatile memory module.

在本发明的一范例实施例中,其中根据可复写式非挥发性存储器模块的温度调整第一实体抹除单元的读取干扰门槛值的运作中,当可复写式非挥发性存储器模块的温度从第一温度值增加为第二温度值时,存储器控制电路单元还用以将第一实体抹除单元的读取干扰门槛值从第五门槛值调整为第六门槛值,其中第二温度值大于第一温度值,第六门槛值大于第五门槛值。In an exemplary embodiment of the present invention, in the operation of adjusting the read disturbance threshold value of the first physical erasing unit according to the temperature of the rewritable non-volatile memory module, when the temperature of the rewritable non-volatile memory module When increasing from the first temperature value to the second temperature value, the memory control circuit unit is also used to adjust the read disturbance threshold value of the first physical erasing unit from the fifth threshold value to the sixth threshold value, wherein the second temperature value greater than the first temperature value, and the sixth threshold value is greater than the fifth threshold value.

基于上述,本发明提出根据实体抹除单元的抹除次数动态地调整读取干扰门槛值,借以有效地降低实体抹除单元磨损的机率或读取干扰发生的机率。Based on the above, the present invention proposes to dynamically adjust the read disturbance threshold according to the erasing times of the physical erasing unit, so as to effectively reduce the probability of wear of the physical erasing unit or the occurrence of read disturbance.

为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合附图作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail with reference to the accompanying drawings.

附图说明Description of drawings

图1是根据一范例实施例所示出的主机系统、存储器存储装置及输入/输出(I/O)装置的示意图;1 is a schematic diagram of a host system, a memory storage device, and an input/output (I/O) device according to an exemplary embodiment;

图2是根据另一范例实施例所示出的主机系统、存储器存储装置及输入/输出(I/O)装置的示意图;2 is a schematic diagram of a host system, a memory storage device, and an input/output (I/O) device according to another exemplary embodiment;

图3是根据本发明范例实施例所示出的主机系统与存储器存储装置的示意图;3 is a schematic diagram of a host system and a memory storage device according to an exemplary embodiment of the present invention;

图4是根据一范例实施例所示出的主机系统与存储器存储装置的概要方块图;FIG. 4 is a schematic block diagram of a host system and a memory storage device according to an exemplary embodiment;

图5是根据一范例实施例所示出的存储器控制电路单元的概要方块图。FIG. 5 is a schematic block diagram of a memory control circuit unit according to an exemplary embodiment.

图6与图7是根据一范例实施例所示出的管理实体抹除单元的范例示意图;FIG. 6 and FIG. 7 are exemplary schematic diagrams of a management entity erasing unit shown according to an exemplary embodiment;

图8是根据一范例实施例所示出的存储器管理方法的流程图;FIG. 8 is a flowchart of a memory management method according to an exemplary embodiment;

图9是根据第一范例实施例所示出的根据抹除计数调整读取干扰门槛值的示意图;FIG. 9 is a schematic diagram of adjusting the read disturb threshold according to the erasure count according to the first exemplary embodiment;

图10是根据第一范例实施例所示出的根据抹除计数调整读取干扰门槛值的流程图;FIG. 10 is a flow chart of adjusting the read disturb threshold according to the erasure count according to the first exemplary embodiment;

图11是根据第一范例实施例所示出的执行预防读取干扰操作的流程图;FIG. 11 is a flow chart of performing read disturb prevention operations according to the first exemplary embodiment;

图12是根据第二范例实施例所示出的根据抹除计数调整读取干扰门槛值的示意图;FIG. 12 is a schematic diagram of adjusting the read disturb threshold according to the erasure count according to the second exemplary embodiment;

图13是根据第二范例实施例所示出的根据抹除计数调整读取干扰门槛值的流程图;FIG. 13 is a flow chart of adjusting the read disturb threshold according to the erase count according to the second exemplary embodiment;

图14是根据第二范例实施例所示出的执行预防读取干扰操作的流程图;FIG. 14 is a flow chart of performing read disturb prevention operations according to a second exemplary embodiment;

图15A、图15B与图15C是根据第三范例实施例所示出的根据可复写式非挥发性存储器模块的温度调整读取干扰门槛值的示意图;15A, 15B and 15C are schematic diagrams of adjusting the read disturb threshold according to the temperature of the rewritable non-volatile memory module according to the third exemplary embodiment;

图16是根据第三范例实施例所示出的根据温度调整读取干扰门槛值的流程图。FIG. 16 is a flow chart of adjusting the read disturb threshold according to the temperature according to the third exemplary embodiment.

附图标记说明:Explanation of reference signs:

10:存储器存储装置;10: memory storage device;

11:主机系统;11: host system;

12:输入/输出(I/O)装置;12: input/output (I/O) device;

110:系统汇流排;110: system bus;

111:处理器;111: processor;

112:随机存取存储器(RAM);112: random access memory (RAM);

113:只读存储器(ROM);113: read-only memory (ROM);

114:数据传输接口;114: data transmission interface;

20:主机板;20: main board;

204:无线存储器存储装置;204: wireless memory storage device;

205:全球定位系统模块;205: a global positioning system module;

206:网路接口卡;206: network interface card;

207:无线传输装置;207: wireless transmission device;

208:键盘;208: keyboard;

209:屏幕;209: screen;

210:喇叭;210: Horn;

30:存储器存储装置;30: memory storage device;

31:主机系统;31: host system;

32:SD卡;32: SD card;

33:CF卡;33: CF card;

34:嵌入式存储装置;34: embedded storage device;

341:嵌入式多媒体卡;341: embedded multimedia card;

342:嵌入式多芯片封装存储装置;342: Embedded multi-chip package storage device;

402:连接接口单元;402: connect the interface unit;

404:存储器控制电路单元;404: memory control circuit unit;

406:可复写式非挥发性存储器模块;406: rewritable non-volatile memory module;

410(0)~410(N):实体抹除单元;410(0)~410(N): Entity erasing unit;

502:存储器管理电路;502: memory management circuit;

504:主机接口;504: host interface;

506:存储器接口;506: memory interface;

508:缓冲存储器;508: buffer memory;

510:电源管理电路;510: power management circuit;

512:错误检查与校正电路;512: error checking and correction circuit;

514:温度传感电路;514: temperature sensing circuit;

602:数据区;602: data area;

604:闲置区;604: idle area;

606:系统区;606: system area;

608:取代区;608: replace area;

LBA(0)~LBA(H):逻辑位址;LBA(0)~LBA(H): logical address;

LZ(0)~LZ(M):逻辑区域;LZ(0)~LZ(M): logical area;

S801:为每一实体抹除单元设定读取干扰门槛值的步骤;S801: A step of setting a reading interference threshold for each physical erasing unit;

S803:根据可复写式非挥发性存储器模块的状态信息,调整第一实体抹除单元的读取干扰门槛值的步骤;S803: A step of adjusting the read disturbance threshold of the first physical erasing unit according to the state information of the rewritable non-volatile memory module;

S805:根据第一实体抹除单元的读取干扰门槛值,执行预防读取干扰操作的步骤;S805: According to the read disturbance threshold value of the first physical erasing unit, perform the step of preventing the read disturbance operation;

S1001:对第一实体抹除单元进行抹除操作的步骤;S1001: A step of performing an erasing operation on the first physical erasing unit;

S1003:更新第一实体抹除单元的抹除计数的步骤;S1003: A step of updating the erase count of the first physical erase unit;

S1005:当第一实体抹除单元的抹除计数从第一计数值增加为第二计数值时,将第一实体抹除单元的读取干扰门槛值从第一门槛值调整成第二门槛值,其中第二计数值大于第一计数值,且第二门槛值小于第一门槛值的步骤;S1005: When the erasing count of the first physical erasing unit increases from the first count value to the second count value, adjust the read disturbance threshold of the first physical erasing unit from the first threshold to the second threshold , wherein the second count value is greater than the first count value, and the second threshold value is less than the first threshold value;

S1101:对第一实体抹除单元的第一实体程序化单元进行读取操作的步骤;S1101: A step of performing a read operation on the first physical programming unit of the first physical erasing unit;

S1103:更新对应于第一实体程序化单元的读取次数的步骤;S1103: A step of updating the reading times corresponding to the first entity programming unit;

S1105:判断对应第一实体抹除单元的第一实体程序化单元的读取次数是否大于第一实体抹除单元的读取干扰门槛值的步骤;S1105: A step of judging whether the reading times of the first physical programming unit corresponding to the first physical erasing unit is greater than the read disturbance threshold of the first physical erasing unit;

S1107:将存储在第一实体抹除单元的数据复制到实体抹除单元之中的第二实体抹除单元的步骤;S1107: A step of copying the data stored in the first physical erasing unit to the second physical erasing unit among the physical erasing units;

S1301:对第一实体抹除单元进行抹除操作的步骤;S1301: A step of performing an erasing operation on the first physical erasing unit;

S1303:更新对应于第一实体抹除单元的抹除计数的步骤;S1303: A step of updating the erase count corresponding to the first physical erase unit;

S1305:当第一实体抹除单元的抹除计数从第一计数值增加为第二计数值时,将第一实体抹除单元的读取干扰门槛值从第三门槛值调整为第四门槛值,其中第二计数值大于第一计数值,且第四门槛值大于第三门槛值的步骤;S1305: When the erasing count of the first physical erasing unit increases from the first count value to the second count value, adjust the read disturb threshold of the first physical erasing unit from the third threshold to the fourth threshold , a step in which the second count value is greater than the first count value, and the fourth threshold value is greater than the third threshold value;

S1401:从第一实体抹除单元的第一实体程序化单元读取一读取数据的步骤;S1401: A step of reading read data from the first physical programming unit of the first physical erasing unit;

S1403:判断从实体程序化单元所读取的读取数据的错误位元数目是否大于第一实体抹除单元的读取干扰门槛值的步骤;S1403: A step of judging whether the number of error bits in the read data read from the physical programming unit is greater than the read disturbance threshold of the first physical erasing unit;

S1405:将存储在第一实体抹除单元的数据复制到实体抹除单元之中的第二实体抹除单元的步骤;S1405: A step of copying the data stored in the first physical erasing unit to the second physical erasing unit among the physical erasing units;

S1601:检查可复写式非挥发性存储器模块的温度的步骤;S1601: a step of checking the temperature of the rewritable non-volatile memory module;

S1603:当可复写式非挥发性存储器模块的温度从第一温度值增加为第二温度值时,将第一实体抹除单元的读取干扰门槛值从第五门槛值调整为第六门槛值,其中第二温度值大于第一温度值,第六门槛值大于第五门槛值的步骤。S1603: When the temperature of the rewritable non-volatile memory module increases from the first temperature value to the second temperature value, adjust the read disturbance threshold value of the first physical erasing unit from the fifth threshold value to the sixth threshold value , wherein the second temperature value is greater than the first temperature value, and the sixth threshold value is greater than the fifth threshold value.

具体实施方式detailed description

一般而言,存储器存储装置(也称,存储器存储系统)包括可复写式非挥发性存储器模块与控制器(也称,控制电路单元)。通常存储器存储装置是与主机系统一起使用,以使主机系统可将数据写入至存储器存储装置或从存储器存储装置中读取数据。Generally speaking, a memory storage device (also called a memory storage system) includes a rewritable non-volatile memory module and a controller (also called a control circuit unit). Typically memory storage devices are used with a host system such that the host system can write data to or read data from the memory storage device.

图1是根据一范例实施例所示出的主机系统、存储器存储装置及输入/输出(I/O)装置的示意图,并且图2是根据另一范例实施例所示出的主机系统、存储器存储装置及输入/输出(I/O)装置的示意图。1 is a schematic diagram of a host system, a memory storage device, and an input/output (I/O) device according to an exemplary embodiment, and FIG. 2 is a schematic diagram of a host system, a memory storage device, according to another exemplary embodiment. Schematic diagram of the device and input/output (I/O) devices.

请参照图1与图2,主机系统11一般包括处理器111、随机存取存储器(random access memory,RAM)112、只读存储器(read only memory,ROM)113及数据传输接口114。处理器111、随机存取存储器112、只读存储器113及数据传输接口114皆电性连接至系统汇流排(system bus)110。Please refer to FIG. 1 and FIG. 2 , the host system 11 generally includes a processor 111 , a random access memory (random access memory, RAM) 112 , a read only memory (read only memory, ROM) 113 and a data transmission interface 114 . The processor 111 , the RAM 112 , the ROM 113 and the data transmission interface 114 are all electrically connected to the system bus 110 .

在本范例实施例中,主机系统11是通过数据传输接口114与存储器存储装置10电性连接。例如,主机系统11可通过数据传输接口114将数据写入至存储器存储装置10或从存储器存储装置10中读取数据。此外,主机系统11是通过系统汇流排110与I/O装置12电性连接。例如,主机系统11可通过系统汇流排110将输出信号传送至I/O装置12或从I/O装置12接收输入信号。In this exemplary embodiment, the host system 11 is electrically connected to the memory storage device 10 through the data transmission interface 114 . For example, the host system 11 can write data into the memory storage device 10 or read data from the memory storage device 10 through the data transmission interface 114 . In addition, the host system 11 is electrically connected to the I/O device 12 through the system bus 110 . For example, host system 11 may transmit output signals to or receive input signals from I/O devices 12 through system bus 110 .

在本范例实施例中,处理器111、随机存取存储器112、只读存储器113及数据传输接口114是可设置在主机系统11的主机板20上。数据传输接口114的数目可以是一或多个。通过数据传输接口114,主机板20可以通过有线或无线方式电性连接至存储器存储装置10。存储器存储装置10可例如是U盘201、存储卡202、固态硬盘(Solid State Drive,SSD)203或无线存储器存储装置204。无线存储器存储装置204可例如是近距离无线通讯(Near FieldCommunication Storage,NFC)存储器存储装置、无线保真(WiFi)存储器存储装置、蓝牙(Bluetooth)存储器存储装置或低功耗蓝牙存储器存储装置(例如,iBeacon)等以各式无线通讯技术为基础的存储器存储装置。此外,主机板20也可以通过系统汇流排110电性连接至全球定位系统(Global PositioningSystem,GPS)模块205、网路接口卡206、无线传输装置207、键盘208、屏幕209、喇叭210等各式I/O装置。例如,在一范例实施例中,主机板20可通过无线传输装置207存取无线存储器存储装置204。In this exemplary embodiment, the processor 111 , the random access memory 112 , the read-only memory 113 and the data transmission interface 114 can be disposed on the motherboard 20 of the host system 11 . The number of data transmission interfaces 114 may be one or more. Through the data transmission interface 114 , the motherboard 20 can be electrically connected to the memory storage device 10 by wire or wirelessly. The memory storage device 10 may be, for example, a USB flash drive 201 , a memory card 202 , a solid state drive (Solid State Drive, SSD) 203 or a wireless memory storage device 204 . The wireless memory storage device 204 may be, for example, a Near Field Communication Storage (NFC) memory storage device, a Wireless Fidelity (WiFi) memory storage device, a Bluetooth (Bluetooth) memory storage device or a Bluetooth low energy storage device (such as , iBeacon) and other memory storage devices based on various wireless communication technologies. In addition, the motherboard 20 can also be electrically connected to a Global Positioning System (GPS) module 205 , a network interface card 206 , a wireless transmission device 207 , a keyboard 208 , a screen 209 , and a speaker 210 through the system bus 110 . I/O devices. For example, in an exemplary embodiment, the motherboard 20 can access the wireless memory storage device 204 through the wireless transmission device 207 .

在一范例实施例中,所提及的主机系统为可实质地与存储器存储装置配合以存储数据的任意系统。虽然在上述范例实施例中,主机系统是以电脑系统来作说明,然而,图3是根据另一范例实施例所示出的主机系统与存储器存储装置的示意图。请参照图3,在另一范例实施例中,主机系统31也可以是数码相机、摄像机、通讯装置、音频播放器、视频播放器或平板电脑等系统,而存储器存储装置30可为其所使用的SD卡32、CF卡33或嵌入式存储装置34等各式非挥发性存储器存储装置。嵌入式存储装置34包括嵌入式多媒体卡(embedded MMC,eMMC)341及/或嵌入式多芯片封装存储装置(embedded Multi Chip Package,eMCP)342等各类型将存储器模块直接电性连接在主机系统的基板上的嵌入式存储装置。In an example embodiment, reference to a host system is substantially any system that can cooperate with a memory storage device to store data. Although in the above exemplary embodiments, the host system is described as a computer system, however, FIG. 3 is a schematic diagram of a host system and a memory storage device according to another exemplary embodiment. Please refer to FIG. 3 , in another exemplary embodiment, the host system 31 can also be a system such as a digital camera, a video camera, a communication device, an audio player, a video player, or a tablet computer, and the memory storage device 30 can be used for it SD card 32, CF card 33 or embedded storage device 34 and other non-volatile memory storage devices. The embedded storage device 34 includes various types such as an embedded multimedia card (embedded MMC, eMMC) 341 and/or an embedded multi-chip package storage device (embedded Multi Chip Package, eMCP) 342. The memory module is directly electrically connected to the host system. Embedded storage device on substrate.

图4是根据一范例实施例所示出的主机系统与存储器存储装置的概要方块图。FIG. 4 is a schematic block diagram of a host system and a memory storage device according to an exemplary embodiment.

请参照图4,存储器存储装置10包括连接接口单元402、存储器控制电路单元404与可复写式非挥发性存储器模块406。Referring to FIG. 4 , the memory storage device 10 includes a connection interface unit 402 , a memory control circuit unit 404 and a rewritable non-volatile memory module 406 .

在本范例实施例中,连接接口单元402是相容于序列先进附件(SerialAdvanced Technology Attachment,SATA)标准。然而,必须了解的是,本发明不限于此,连接接口单元402也可以是符合并列先进附件(Parallel AdvancedTechnology Attachment,PATA)标准、电气和电子工程师协会(Institute ofElectrical and Electronic Engineers,IEEE)1394标准、高速周边零件连接接口(Peripheral Component Interconnect Express,PCI Express)标准、通用序列汇流排(Universal Serial Bus,USB)标准、超高速一代(Ultra High Speed-I,UHS-I)接口标准、超高速二代(Ultra High Speed-II,UHS-II)接口标准、安全数字(Secure Digital,SD)接口标准、记忆棒(Memory Stick,MS)接口标准、多芯片封装(Multi-Chip Package)接口标准、多媒体存储卡(Multi Media Card,MMC)接口标准、嵌入式多媒体存储卡(Embedded Multimedia Card,eMMC)接口标准、通用快速存储器(Universal Flash Storage,UFS)接口标准、嵌入式多芯片封装(embedded Multi Chip Package,eMCP)接口标准、小型快速(Compact Flash,CF)接口标准、整合式驱动电子接口(Integrated DeviceElectronics,IDE)标准或其他适合的标准。在本范例实施例中,连接接口单元402可与存储器控制电路单元404封装在一个芯片中,或者连接接口单元402是布设在一包含存储器控制电路单元的芯片外。In this exemplary embodiment, the connection interface unit 402 is compatible with the Serial Advanced Technology Attachment (SATA) standard. However, it must be understood that the present invention is not limited thereto, and the connection interface unit 402 may also conform to the Parallel Advanced Technology Attachment (PATA) standard, the Institute of Electrical and Electronic Engineers (Institute of Electrical and Electronic Engineers, IEEE) 1394 standard, Peripheral Component Interconnect Express (PCI Express) standard, Universal Serial Bus (USB) standard, Ultra High Speed-I (UHS-I) interface standard, Ultra High Speed II (Ultra High Speed-II, UHS-II) interface standard, Secure Digital (Secure Digital, SD) interface standard, Memory Stick (Memory Stick, MS) interface standard, multi-chip package (Multi-Chip Package) interface standard, multimedia storage Card (Multi Media Card, MMC) interface standard, Embedded Multimedia Card (eMMC) interface standard, Universal Flash Storage (UFS) interface standard, embedded Multi Chip Package (embedded Multi Chip Package, eMCP) interface standard, Compact Flash (CF) interface standard, Integrated Device Electronics (IDE) standard or other suitable standards. In this exemplary embodiment, the connection interface unit 402 and the memory control circuit unit 404 can be packaged in one chip, or the connection interface unit 402 is arranged outside a chip including the memory control circuit unit.

存储器控制电路单元404用以执行以硬件式或软件式实作的多个逻辑门或控制指令,并且根据主机系统11的指令在可复写式非挥发性存储器模块406中进行数据的写入、读取与抹除等运作。The memory control circuit unit 404 is used to execute a plurality of logic gates or control instructions implemented in hardware or software, and write and read data in the rewritable non-volatile memory module 406 according to the instructions of the host system 11. Fetch and erase operations.

可复写式非挥发性存储器模块406是电性连接至存储器控制电路单元404,并且用以存储主机系统11所写入的数据。可复写式非挥发性存储器模块406具有实体抹除单元410(0)~410(N)。例如,实体抹除单元410(0)~410(N)可属于同一个存储器晶粒(die)或者属于不同的存储器晶粒。每一实体抹除单元分别具有复数个实体程序化单元,其中属于同一个实体抹除单元的实体程序化单元可被独立地写入且被同时地抹除。然而,必须了解的是,本发明不限于此,每一实体抹除单元是可由64个实体程序化单元、256个实体程序化单元或其他任意个实体程序化单元所组成。The rewritable non-volatile memory module 406 is electrically connected to the memory control circuit unit 404 and used for storing data written by the host system 11 . The rewritable non-volatile memory module 406 has physical erasing units 410(0)˜410(N). For example, the physical erase units 410(0)˜410(N) may belong to the same memory die or belong to different memory dies. Each physical erasing unit has a plurality of physical programming units, wherein the physical programming units belonging to the same physical erasing unit can be written independently and erased simultaneously. However, it must be understood that the present invention is not limited thereto, and each physical erasing unit may be composed of 64 physical programming units, 256 physical programming units, or any other number of physical programming units.

更详细来说,实体抹除单元为抹除的最小单位。亦即,每一实体抹除单元含有最小数目的一并被抹除的存储单元。实体程序化单元为程序化的最小单元。即,实体程序化单元为写入数据的最小单元。每一实体程序化单元通常包括数据位元区与冗余位元区。数据位元区包含多个实体存取位址用以存储使用者的数据,而冗余位元区用以存储系统的数据(例如,控制信息与错误更正码)。在本范例实施例中,每一个实体程序化单元的数据位元区中会包含8个实体存取位址,且一个实体存取位址的大小为512位元组(byte)。然而,在其他范例实施例中,数据位元区中也可包含数目更多或更少的实体存取位址,本发明并不限制实体存取位址的大小以及个数。例如,在一范例实施例中,实体抹除单元为实体区块,并且实体程序化单元为实体页面或实体扇区,但本发明不以此为限。In more detail, the entity erasing unit is the smallest unit of erasing. That is, each physical erase unit contains the minimum number of memory cells to be erased together. Entity programming unit is the smallest unit of programming. That is, the entity programming unit is the smallest unit for writing data. Each physical programming unit generally includes a data bit field and a redundant bit field. The data bit area contains a plurality of physical access addresses for storing user data, and the redundant bit area is used for storing system data (eg, control information and error correction code). In this exemplary embodiment, the data byte area of each physical programming unit includes 8 physical access addresses, and the size of one physical access address is 512 bytes. However, in other exemplary embodiments, the data bit area may also include more or less physical access addresses, and the present invention does not limit the size and number of physical access addresses. For example, in an exemplary embodiment, the physical erasing unit is a physical block, and the physical programming unit is a physical page or a physical sector, but the invention is not limited thereto.

在本范例实施例中,可复写式非挥发性存储器模块406为复数阶存储单元(Trinary Level Cell,TLC)NAND型快速存储器模块(即,一个存储单元中可存储3个数据位元的快速存储器模块)。然而,本发明不限于此,可复写式非挥发性存储器模块406也可是多阶存储单元(Multi Level Cell,MLC)NAND型快速存储器模块(即,一个存储单元中可存储2个数据位元的快速存储器模块)或其他具有相同特性的存储器模块。In this exemplary embodiment, the rewritable non-volatile memory module 406 is a complex number-level storage cell (Trinary Level Cell, TLC) NAND fast memory module (that is, a fast memory that can store 3 data bits in one storage unit) module). However, the present invention is not limited thereto, and the rewritable non-volatile memory module 406 may also be a multi-level memory cell (Multi Level Cell, MLC) NAND type fast memory module (that is, a memory cell that can store 2 data bits flash memory module) or other memory modules with the same characteristics.

图5是根据一范例实施例所示出的存储器控制电路单元的概要方块图。FIG. 5 is a schematic block diagram of a memory control circuit unit according to an exemplary embodiment.

请参照图5,存储器控制电路单元404包括存储器管理电路502、主机接口504与存储器接口506、缓冲存储器508、电源管理电路510、错误检查与校正电路512与温度传感电路514。Referring to FIG. 5 , the memory control circuit unit 404 includes a memory management circuit 502 , a host interface 504 and a memory interface 506 , a buffer memory 508 , a power management circuit 510 , an error checking and correction circuit 512 and a temperature sensing circuit 514 .

存储器管理电路502用以控制存储器控制电路单元404的整体运作。具体来说,存储器管理电路502具有多个控制指令,并且在存储器存储装置10运作时,此些控制指令会被执行以进行数据的写入、读取与抹除等运作。The memory management circuit 502 is used to control the overall operation of the memory control circuit unit 404 . Specifically, the memory management circuit 502 has a plurality of control instructions, and when the memory storage device 10 is operating, these control instructions are executed to perform operations such as writing, reading, and erasing data.

在本范例实施例中,存储器管理电路502的控制指令是以软件式来实作。例如,存储器管理电路502具有微处理器单元(未示出)与只读存储器(未示出),并且此些控制指令是被烧录至此只读存储器中。当存储器存储装置10运作时,此些控制指令会由微处理器单元来执行以进行数据的写入、读取与抹除等运作。In this exemplary embodiment, the control commands of the memory management circuit 502 are implemented in software. For example, the memory management circuit 502 has a microprocessor unit (not shown) and a read-only memory (not shown), and these control instructions are burned into the read-only memory. When the memory storage device 10 is in operation, these control instructions are executed by the microprocessor unit to perform operations such as writing, reading, and erasing data.

图6与图7是根据一范例实施例所示出的管理实体抹除单元的范例示意图。FIG. 6 and FIG. 7 are exemplary schematic diagrams of a management entity erasing unit according to an exemplary embodiment.

必须了解的是,在此描述可复写式非挥发性存储器模块406的实体抹除单元的运作时,以“提取”、“分组”、“划分”、“关联”等词来操作实体抹除单元是逻辑上的概念。也就是说,可复写式非挥发性存储器模块的实体抹除单元的实际位置并未更动,而是逻辑上对可复写式非挥发性存储器模块的实体抹除单元进行操作。It must be understood that when describing the operation of the physical erasing unit of the rewritable non-volatile memory module 406, words such as "extract", "group", "divide", and "associate" are used to operate the physical erasing unit is a logical concept. That is to say, the actual position of the physical erasing unit of the rewritable non-volatile memory module is not changed, but the physical erasing unit of the rewritable non-volatile memory module is logically operated.

请参照图6,存储器控制电路单元404(或存储器管理电路502)会将实体抹除单元410(0)~410(N)逻辑地分组为数据区602、闲置区604、系统区606与取代区608。Please refer to FIG. 6, the memory control circuit unit 404 (or the memory management circuit 502) will logically group the physical erasing units 410(0)-410(N) into a data area 602, an idle area 604, a system area 606 and a replacement area. 608.

逻辑上属于数据区602与闲置区604的实体抹除单元是用以存储来自于主机系统11的数据。具体来说,数据区602的实体抹除单元是被视为已存储数据的实体抹除单元,而闲置区604的实体抹除单元是用以替换数据区602的实体抹除单元。也就是说,当从主机系统11接收到写入指令与欲写入的数据时,存储器管理电路502会使用从闲置区604中提取实体抹除单元来写入数据,以替换数据区602的实体抹除单元。The physical erase units logically belonging to the data area 602 and the spare area 604 are used to store data from the host system 11 . Specifically, the physical erasing unit of the data area 602 is regarded as the physical erasing unit of stored data, and the physical erasing unit of the spare area 604 is used to replace the physical erasing unit of the data area 602 . That is to say, when receiving the write command and the data to be written from the host system 11, the memory management circuit 502 will use the entity erase unit extracted from the spare area 604 to write the data to replace the entity of the data area 602 Erase the unit.

逻辑上属于系统区606的实体抹除单元是用以记录系统数据。例如,系统数据包括关于可复写式非挥发性存储器模块的制造商与型号、可复写式非挥发性存储器模块的实体抹除单元数、每一实体抹除单元的实体程序化单元数等。The physical erase unit logically belonging to the system area 606 is used to record system data. For example, the system data includes the manufacturer and model of the rewritable non-volatile memory module, the number of physically erased units of the rewritable non-volatile memory module, the number of physically programmed units of each physically erased unit, and the like.

逻辑上属于取代区608中的实体抹除单元是用在坏实体抹除单元取代程序,以取代损坏的实体抹除单元。具体来说,倘若取代区608中仍存有正常的实体抹除单元并且数据区602的实体抹除单元损坏时,存储器管理电路502会从取代区608中提取正常的实体抹除单元来更换损坏的实体抹除单元。The physical erase units logically belonging to the replacement area 608 are used in the bad physical erase unit replacement process to replace the damaged physical erase units. Specifically, if there are still normal physical erasing units in the replacement area 608 and the physical erasing units in the data area 602 are damaged, the memory management circuit 502 will extract normal physical erasing units from the replacement area 608 to replace the damaged ones. The physical erasing unit.

特别是,数据区602、闲置区604、系统区606与取代区608的实体抹除单元的数量会根据不同的存储器规格而有所不同。此外,必须了解的是,在存储器存储装置10的运作中,实体抹除单元关联至数据区602、闲置区604、系统区606与取代区608的分组关系会动态地变动。例如,当闲置区604中的实体抹除单元损坏而被取代区608的实体抹除单元取代时,则原本取代区608的实体抹除单元会被关联至闲置区604。In particular, the number of physical erasing units in the data area 602 , the spare area 604 , the system area 606 and the replacement area 608 varies according to different memory specifications. In addition, it must be understood that during the operation of the memory storage device 10 , the grouping relationship of the physical erasing unit associated with the data area 602 , the spare area 604 , the system area 606 and the replacement area 608 will change dynamically. For example, when the physical erasing unit in the spare area 604 is damaged and replaced by the physical erasing unit in the replacement area 608 , the original physical erasing unit in the replacement area 608 will be associated with the spare area 604 .

请参照图7,存储器控制电路单元404(或存储器管理电路502)会配置逻辑位址LBA(0)~LBA(H)以映射数据区602的实体抹除单元,其中每一逻辑位址具有多个逻辑单元以映射对应的实体抹除单元的实体程序化单元。并且,当主机系统11欲写入数据至逻辑位址或更新存储在逻辑位址中的数据时,存储器控制电路单元404(或存储器管理电路502)会从闲置区604中提取一个实体抹除单元作为作动实体抹除单元来写入数据,以轮替数据区602的实体抹除单元。并且,当此作为作动实体抹除单元的实体抹除单元被写满时,存储器控制电路单元404(或存储器管理电路502)会再从闲置区504中提取空的实体抹除单元作为作动实体抹除单元,以继续写入对应来自于主机系统1000的写入指令的更新数据。此外,当闲置区604中可用的实体抹除单元的数目小于预设值时,存储器控制电路单元404(或存储器管理电路502)会执行有效数据合并程序(也称为,垃圾搜集(garbage collecting)程序)来整理数据区602中的有效数据,以将数据区602中无存储有效数据的实体抹除单元重新关联至闲置区604。Referring to FIG. 7, the memory control circuit unit 404 (or the memory management circuit 502) configures logical addresses LBA(0)-LBA(H) to map the physical erasing units of the data area 602, wherein each logical address has multiple logical units to map the physical programming units of the corresponding physical erasing units. Moreover, when the host system 11 intends to write data to the logical address or update the data stored in the logical address, the memory control circuit unit 404 (or the memory management circuit 502) will extract a physical erase unit from the spare area 604 Write data as an active physical erasing unit to alternate the physical erasing units of the data area 602 . And, when this physical erasing unit as the active physical erasing unit is full, the memory control circuit unit 404 (or the memory management circuit 502) will extract an empty physical erasing unit from the idle area 504 as an active The physical erasing unit is used to continue writing update data corresponding to a write command from the host system 1000 . In addition, when the number of available physical erasing units in the spare area 604 is less than a preset value, the memory control circuit unit 404 (or the memory management circuit 502) will perform a valid data consolidation procedure (also called garbage collecting) program) to organize the valid data in the data area 602, so as to re-associate the physical erasing units in the data area 602 that do not store valid data to the spare area 604.

为了识别每个逻辑位址的数据被存储在哪个实体抹除单元,在本范例实施例中,存储器控制电路单元404(或存储器管理电路502)会记录逻辑位址与实体抹除单元之间的映射。例如,在本范例实施例中,存储器控制电路单元404(或存储器管理电路502)会在可复写式非挥发性存储器模块406中存储逻辑位址-实体位址映射表来记录每一逻辑位址所映射的实体抹除单元。当欲存取数据时存储器控制电路单元404(或存储器管理电路502)会将逻辑位址-实体位址映射表载入至缓冲存储器508来维护,并且依据逻辑位址-实体位址映射表来写入或读取数据。In order to identify which physical erasing unit the data of each logical address is stored in, in this exemplary embodiment, the memory control circuit unit 404 (or the memory management circuit 502) will record the data between the logical address and the physical erasing unit map. For example, in this exemplary embodiment, the memory control circuit unit 404 (or the memory management circuit 502) stores a logical address-physical address mapping table in the rewritable non-volatile memory module 406 to record each logical address The mapped entity erase unit. When accessing data, the memory control circuit unit 404 (or the memory management circuit 502) will load the logical address-physical address mapping table into the buffer memory 508 for maintenance, and perform the logical address-physical address mapping table according to the logical address-physical address mapping table Write or read data.

值得一提的是,由于缓冲存储器508的容量有限无法存储记录所有逻辑位址的映射关系的映射表,因此,在本范例实施例中,存储器控制电路单元404(或存储器管理电路502)会将逻辑位址LBA(0)~LBA(H)分组为多个逻辑区域LZ(0)~LZ(M),并且为每一逻辑区域配置一个逻辑位址-实体位址映射表。特别是,当存储器控制电路单元404(或存储器管理电路502)欲更新某个逻辑位址的映射时,对应此逻辑位址所属的逻辑区域的逻辑位址-实体位址映射表会被载入至缓冲存储器508来被更新。It is worth mentioning that due to the limited capacity of the buffer memory 508, it is impossible to store a mapping table that records the mapping relationship of all logical addresses. Therefore, in this exemplary embodiment, the memory control circuit unit 404 (or memory management circuit 502) will The logical addresses LBA(0)-LBA(H) are grouped into a plurality of logical zones LZ(0)-LZ(M), and a logical address-physical address mapping table is configured for each logical zone. In particular, when the memory control circuit unit 404 (or the memory management circuit 502) intends to update the mapping of a certain logical address, the logical address-physical address mapping table corresponding to the logical region to which the logical address belongs will be loaded to the buffer memory 508 to be updated.

在本发明另一范例实施例中,存储器管理电路502的控制指令也可以程式码型式存储在可复写式非挥发性存储器模块406的特定区域(例如,存储器模块中专用于存放系统数据的系统区)中。此外,存储器管理电路502具有微处理器单元(未示出)、只读存储器(未示出)及随机存取存储器(未示出)。特别是,此只读存储器具有驱动码,并且当存储器控制电路单元404被致能时,微处理器单元会先执行此驱动码段来将存储在可复写式非挥发性存储器模块406中的控制指令载入至存储器管理电路502的随机存取存储器中。之后,微处理器单元会运转此些控制指令以进行数据的写入、读取与抹除等运作。In another exemplary embodiment of the present invention, the control instructions of the memory management circuit 502 can also be stored in a specific area of the rewritable non-volatile memory module 406 (for example, the system area dedicated to storing system data in the memory module) )middle. In addition, the memory management circuit 502 has a microprocessor unit (not shown), a read only memory (not shown), and a random access memory (not shown). In particular, the ROM has a driver code, and when the memory control circuit unit 404 is enabled, the microprocessor unit will first execute the driver code segment to store the control code stored in the rewritable non-volatile memory module 406. The instructions are loaded into random access memory of the memory management circuit 502 . Afterwards, the microprocessor unit will execute these control instructions to perform operations such as writing, reading and erasing data.

此外,在本发明另一范例实施例中,存储器管理电路502的控制指令也可以一硬件式来实作。例如,存储器管理电路502包括微控制器、存储单元管理电路、存储器写入电路、存储器读取电路、存储器抹除电路与数据处理电路。存储单元管理电路、存储器写入电路、存储器读取电路、存储器抹除电路与数据处理电路是电性连接至微控制器。其中,存储单元管理电路用以管理可复写式非挥发性存储器模块406的实体抹除单元;存储器写入电路用以对可复写式非挥发性存储器模块406下达写入指令以将数据写入至可复写式非挥发性存储器模块406中;存储器读取电路用以对可复写式非挥发性存储器模块406下达读取指令以从可复写式非挥发性存储器模块406中读取数据;存储器抹除电路用以对可复写式非挥发性存储器模块406下达抹除指令以将数据从可复写式非挥发性存储器模块406中抹除;而数据处理电路用以处理欲写入至可复写式非挥发性存储器模块406的数据以及从可复写式非挥发性存储器模块406中读取的数据。In addition, in another exemplary embodiment of the present invention, the control instructions of the memory management circuit 502 may also be implemented in a hardware manner. For example, the memory management circuit 502 includes a microcontroller, a memory unit management circuit, a memory writing circuit, a memory reading circuit, a memory erasing circuit and a data processing circuit. The storage unit management circuit, the memory writing circuit, the memory reading circuit, the memory erasing circuit and the data processing circuit are electrically connected to the microcontroller. Wherein, the storage unit management circuit is used to manage the physical erasing unit of the rewritable non-volatile memory module 406; the memory writing circuit is used to issue a write command to the rewritable non-volatile memory module 406 to write data into In the rewritable non-volatile memory module 406; the memory read circuit is used to issue a read instruction to the rewritable non-volatile memory module 406 to read data from the rewritable non-volatile memory module 406; memory erase The circuit is used to issue an erase command to the rewritable non-volatile memory module 406 to erase data from the rewritable non-volatile memory module 406; and the data processing circuit is used to process the The data of the volatile memory module 406 and the data read from the rewritable non-volatile memory module 406.

请再参照图5,主机接口504是电性连接至存储器管理电路502并且用以电性连接至连接接口单元402,以接收与识别主机系统11所传送的指令与数据。也就是说,主机系统11所传送的指令与数据会通过主机接口504来传送至存储器管理电路502。在本范例实施例中,主机接口504是相容于SATA标准。然而,必须了解的是本发明不限于此,主机接口504也可以是相容于PATA标准、IEEE 1394标准、PCI Express标准、USB标准、UHS-I接口标准、UHS-II接口标准、SD标准、MS标准、MMC标准、CF标准、IDE标准或其他适合的数据传输标准。Referring to FIG. 5 again, the host interface 504 is electrically connected to the memory management circuit 502 and used to electrically connect to the connection interface unit 402 to receive and identify commands and data transmitted by the host system 11 . That is to say, the commands and data sent by the host system 11 are sent to the memory management circuit 502 through the host interface 504 . In this exemplary embodiment, the host interface 504 is compatible with the SATA standard. However, it must be understood that the present invention is not limited thereto, and the host interface 504 may also be compatible with PATA standard, IEEE 1394 standard, PCI Express standard, USB standard, UHS-I interface standard, UHS-II interface standard, SD standard, MS standard, MMC standard, CF standard, IDE standard or other suitable data transmission standards.

存储器接口506是电性连接至存储器管理电路502并且用以存取可复写式非挥发性存储器模块406。也就是说,欲写入至可复写式非挥发性存储器模块406的数据会通过存储器接口506转换为可复写式非挥发性存储器模块406所能接受的格式。The memory interface 506 is electrically connected to the memory management circuit 502 and used for accessing the rewritable non-volatile memory module 406 . That is to say, the data to be written into the rewritable non-volatile memory module 406 will be converted into a format acceptable to the rewritable non-volatile memory module 406 through the memory interface 506 .

缓冲存储器508是电性连接至存储器管理电路502并且用以暂存来自于主机系统11的暂存数据与指令或来自于可复写式非挥发性存储器模块406的数据。The buffer memory 508 is electrically connected to the memory management circuit 502 and used for temporarily storing temporary data and instructions from the host system 11 or data from the rewritable non-volatile memory module 406 .

电源管理电路510是电性连接至存储器管理电路502并且用以控制存储器存储装置10的电源。The power management circuit 510 is electrically connected to the memory management circuit 502 and used to control the power of the memory storage device 10 .

错误检查与校正电路512是电性连接至存储器管理电路502并且用以执行错误检查与校正程序以确保数据的正确性。例如,当存储器管理电路502从主机系统11中接收到写入指令时,错误检查与校正电路512会为对应此写入指令的数据产生对应的错误检查与校正码(Error Checking and CorrectingCode,ECC Code),并且存储器管理电路502会将对应此写入指令的数据与对应的错误检查与校正码写入至可复写式非挥发性存储器模块406中。之后,当存储器管理电路502从可复写式非挥发性存储器模块406中读取数据时会同时读取此数据对应的错误检查与校正码,并且错误检查与校正电路512会根据此错误检查与校正码对所读取的数据执行错误检查与校正程序。The error checking and correcting circuit 512 is electrically connected to the memory management circuit 502 and used for executing error checking and correcting procedures to ensure the correctness of data. For example, when the memory management circuit 502 receives a write command from the host system 11, the error checking and correcting circuit 512 will generate a corresponding error checking and correcting code (Error Checking and Correcting Code, ECC Code) for the data corresponding to the write command. ), and the memory management circuit 502 writes the data corresponding to the write command and the corresponding ECC code into the rewritable non-volatile memory module 406 . Afterwards, when the memory management circuit 502 reads data from the rewritable non-volatile memory module 406, it will simultaneously read the error checking and correction code corresponding to the data, and the error checking and correction circuit 512 will check and correct the code according to the error checking and correction code. The code performs error checking and correction procedures on the read data.

温度传感电路514是电性连接至存储器管理电路502并且用以检查可复写式非挥发性存储器模块406的温度。The temperature sensing circuit 514 is electrically connected to the memory management circuit 502 and used for checking the temperature of the rewritable non-volatile memory module 406 .

需注意的是,假设当实体抹除单元410(0)中的第一个实体程序化单元(也称为,实体程序化单元410(0)-1)所存储的数据被存储器控制电路单元404(或存储器管理电路502)进行多次的读取时(例如,十万至百万次的读取次数),由于存储器控制电路单元404(或存储器管理电路502)在每一次的读取操作皆会施加读取电压至实体程序化单元410(0)-1中的存储单元,实体程序化单元410(0)-1所存储的数据很有可能因为存储单元被反复地施加读取电压而产生错误位元或遗失,甚至造成位于实体抹除单元410(0)中存储在其他实体程序化单元中的数据产生错误位元或遗失,此即造成了“读取干扰”的问题。It should be noted that, assuming that the data stored in the first physical programming unit (also referred to as the physical programming unit 410(0)-1) in the physical erasing unit 410(0) is stored by the memory control circuit unit 404 When (or the memory management circuit 502) performs multiple reads (for example, the number of reads from one hundred thousand to one million times), since the memory control circuit unit 404 (or the memory management circuit 502) is A read voltage is applied to the storage cells in the physical programming unit 410(0)-1, and the data stored in the physical programming unit 410(0)-1 is likely to be generated due to the repeated application of the reading voltage to the storage cells Wrong bits or loss may even cause data stored in other physical programming units in the physical erasing unit 410(0) to have wrong bits or loss, which causes the problem of “read disturbance”.

一般来说,可以借由判断“读取次数”是否大于一读取干扰值,来避免读取干扰所造成的数据错误或遗失。具体来说,以上述存储器控制电路单元404(或存储器管理电路502)重复读取实体程序化单元410(0)-1的例子来说,由于实体程序化单元410(0)-1被多次的读取后可能会在实体抹除单元410(0)中产生错误位元或数据遗失,存储器控制电路单元404(或存储器管理电路502)可以判断对应存储在实体程序化单元410(0)-1的数据被读取的次数(即,读取次数)是否大于读取干扰门槛值,以决定是否搬移存储在实体抹除单元410(0)中的数据。其中倘若对应存储在实体程序化单元410(0)-1的数据的读取次数大于读取干扰门槛值时,存储器控制电路单元404(或存储器管理电路502)会将实体程序化单元410(0)-1中的数据搬移至例如其他闲置的实体程序化单元中,以防止原本存储在实体程序化单元410(0)-1中的数据因重复地被读取而产生过多的错误位元或数据遗失。Generally speaking, data error or loss caused by read disturbance can be avoided by judging whether the "read count" is greater than a read disturbance value. Specifically, taking the above-mentioned example where the memory control circuit unit 404 (or the memory management circuit 502) repeatedly reads the physical programming unit 410(0)-1, since the physical programming unit 410(0)-1 is After reading, error bits or data loss may occur in the physical erasing unit 410 (0), and the memory control circuit unit 404 (or memory management circuit 502) can determine that the corresponding memory is stored in the physical programming unit 410 (0)- Whether the number of times the data of 1 is read (ie, the number of reads) is greater than the read disturbance threshold is used to determine whether to move the data stored in the physical erasing unit 410 ( 0 ). Wherein if the number of reads corresponding to the data stored in the physical programming unit 410(0)-1 is greater than the read disturbance threshold, the memory control circuit unit 404 (or memory management circuit 502) will store the physical programming unit 410(0) )-1 is moved to, for example, other idle physical programming units, so as to prevent the data originally stored in the physical programming unit 410(0)-1 from being repeatedly read and generate too many error bits or data loss.

此外,还可以借由判断被读取的读取数据的“错误位元数目”是否大于一读取干扰值来避免读取干扰所造成的数据错误或遗失。具体来说,当存储器控制电路单元404(或存储器管理电路502)从实体抹除单元410(0)中的实体程序化单元410(0)-1读取一读取数据时,存储器控制电路单元404(或存储器管理电路502)会同时读取此读取数据对应的错误检查与校正码,并且借由错误检查与校正电路512根据此错误检查与校正码对所读取的读取数据执行错误检查与校正程序,进而根据实体程序化单元410(0)-1所存储的数据的错误位元数目,为实体程序化单元410(0)-1计算错误位元数目。之后,存储器控制电路单元404(或存储器管理电路502)可以判断从实体程序化单元410(0)-1所读取的读取数据的错误位元数目是否大于读取干扰门槛值。倘若从实体程序化单元410(0)-1所读取的读取数据的错误位元数目大于读取干扰门槛值时,存储器控制电路单元404(或存储器管理电路502)会将实体程序化单元410(0)-1中的数据搬移至例如其他闲置的实体程序化单元中,以防止发生存储在实体程序化单元410(0)-1中的数据因重复地被读取而产生更多的错误位元或数据遗失。In addition, it is also possible to avoid data error or loss caused by read disturbance by judging whether the “number of error bits” of the read data is greater than a read disturbance value. Specifically, when the memory control circuit unit 404 (or the memory management circuit 502) reads a read data from the physical programming unit 410(0)-1 in the physical erasing unit 410(0), the memory control circuit unit 404 (or the memory management circuit 502) will read the error checking and correction code corresponding to the read data at the same time, and perform an error on the read data according to the error checking and correction code by the error checking and correction circuit 512. The check and correction program further calculates the number of error bits for the physical programming unit 410(0)-1 according to the number of error bits of the data stored in the physical programming unit 410(0)-1. Afterwards, the memory control circuit unit 404 (or the memory management circuit 502 ) can determine whether the number of error bits of the read data read from the physical programming unit 410(0)-1 is greater than the read disturb threshold. If the number of error bits in the read data read from the physical programming unit 410(0)-1 is greater than the read disturbance threshold, the memory control circuit unit 404 (or the memory management circuit 502) will program the physical programming unit The data in 410(0)-1 is moved to, for example, other idle entity programming units, to prevent the data stored in entity programming unit 410(0)-1 from being repeatedly read and generate more Bad bits or missing data.

然而需注意的是,在先前技术中使用“读取次数”或“错误位元数目”来避免读取干扰的方法中,“读取干扰门槛值”并没有动态地做改变的机制,且此些方法皆没有考虑到实体抹除单元会磨损的情况。其中,假设当实体抹除单元410(0)磨损时,会导致存储器控制电路单元404(或存储器管理电路502)将数据程序化至实体抹除单元410(0)中的实体程序化单元410(0)-1时即产生过多的错误位元,更严重者还会导致例如数据遗失或无法存储数据。However, it should be noted that in the prior art method of using "read times" or "number of error bits" to avoid read disturbance, the "read disturbance threshold" does not have a dynamic change mechanism, and this These methods do not take into account the wear and tear of the physical erasing unit. Wherein, it is assumed that when the physical erasing unit 410(0) wears out, it will cause the memory control circuit unit 404 (or the memory management circuit 502) to program data to the physical programming unit 410( When 0)-1, too many error bits will be generated, and more serious cases will cause, for example, data loss or failure to store data.

基此,本发明提出一种存储器管理方法,借由根据可复写式非挥发性存储器模块406的状态信息,动态地调整对应在实体抹除单元的“读取干扰门槛值”,借以有效地降低实体抹除单元磨损的机率或抑制读取干扰发生的机率。Based on this, the present invention proposes a memory management method, by dynamically adjusting the "read disturbance threshold" corresponding to the physical erasing unit according to the status information of the rewritable non-volatile memory module 406, so as to effectively reduce the The probability of physically erasing unit wear or suppressing the probability of read disturb.

图8是根据一范例实施例所示出的存储器管理方法的流程图。FIG. 8 is a flow chart of a memory management method according to an exemplary embodiment.

请参照图8,在步骤S801中,存储器控制电路单元404(或存储器管理电路502)会为每一实体抹除单元410(0)~410(N)设定读取干扰门槛值。Referring to FIG. 8 , in step S801 , the memory control circuit unit 404 (or the memory management circuit 502 ) sets a read disturb threshold for each physical erasing unit 410 ( 0 )˜410 (N).

以实体抹除单元410(0)为例,在本发明的一范例实施例中,对应于实体抹除单元410(0)的读取干扰门槛值可以是用于判断实体抹除单元410(0)中的实体程序化单元的其中一所存储的数据的“读取次数”是否大于一特定数值,以决定是否搬移实体抹除单元410(0)中的数据。Taking the physical erasing unit 410(0) as an example, in an exemplary embodiment of the present invention, the read disturbance threshold corresponding to the physical erasing unit 410(0) may be used to determine whether the physical erasing unit 410(0) ) to determine whether to move the data in the physical erasing unit 410(0) or not, whether the "reading times" of data stored in one of the physical programming units in ) is greater than a specific value.

在本发明的另一范例实施例中,对应于实体抹除单元410(0)的读取干扰门槛值可以是用于判断从实体抹除单元410(0)中的实体程序化单元的其中一所读取的读取数据的“错误位元数目”是否大于一特定数值,以决定是否搬移实体抹除单元410(0)中的数据。In another exemplary embodiment of the present invention, the read disturb threshold corresponding to the physical erasing unit 410(0) may be one of the elements for judging from the physical programming unit in the physical erasing unit 410(0). Whether the "number of error bits" of the read data is greater than a specific value is used to determine whether to move the data in the physical erasing unit 410(0).

接着,在步骤S803中,存储器控制电路单元404(或存储器管理电路502)会根据可复写式非挥发性存储器模块406的状态信息,调整第一实体抹除单元的读取干扰门槛值。并且在步骤S805中,存储器控制电路单元404(或存储器管理电路502)会根据第一实体抹除单元的读取干扰门槛值,执行预防读取干扰操作。Next, in step S803 , the memory control circuit unit 404 (or the memory management circuit 502 ) adjusts the read disturb threshold of the first physical erasing unit according to the state information of the rewritable non-volatile memory module 406 . And in step S805, the memory control circuit unit 404 (or the memory management circuit 502) executes the read disturb prevention operation according to the read disturb threshold of the first physical erasing unit.

在一范例实施例中,可复写式非挥发性存储器模块406状态信息可以是可复写式非挥发性存储器模块406中每一实体抹除单元410(0)~410(N)的抹除计数。例如,存储器控制电路单元404(或存储器管理电路502)会记录每一实体抹除单元410(0)~410(N)的抹除计数。具体来说,在本范例实施例中,存储器控制电路单元404(或存储器管理电路502)会在可复写式非挥发性存储器模块406中存储抹除计数表来记录每一个实体抹除单元410(0)~410(N)的抹除计数,并且存储器控制电路单元404(或存储器管理电路502)会将抹除计数表载入至缓冲存储器508来维护。存储器控制电路单元404(或存储器管理电路502)可以在每次对实体抹除单元410(0)~410(N)的其中之一进行抹除操作时,对应地在抹除计数表中记录(或更新)被进行抹除操作的实体抹除单元的抹除计数。以实体抹除单元410(0)为例,假设存储器控制电路单元404(或存储器管理电路502)对实体抹除单元410(0)进行一次的抹除操作时,存储器控制电路单元404(或存储器管理电路502)可以在抹除计数表中对应于实体抹除单元410(0)的抹除计数值加一。In an exemplary embodiment, the state information of the rewritable non-volatile memory module 406 may be an erase count of each physical erase unit 410( 0 )˜410(N) in the rewritable non-volatile memory module 406 . For example, the memory control circuit unit 404 (or the memory management circuit 502 ) records the erase count of each physical erase unit 410 ( 0 )˜410 (N). Specifically, in this exemplary embodiment, the memory control circuit unit 404 (or the memory management circuit 502) stores an erase counter table in the rewritable non-volatile memory module 406 to record each physical erase unit 410 ( 0) to 410 (N) erase counts, and the memory control circuit unit 404 (or memory management circuit 502 ) will load the erase count table into the buffer memory 508 for maintenance. The memory control circuit unit 404 (or the memory management circuit 502 ) may correspondingly record ( or update) the erase count of the physical erase unit to be erased. Taking the physical erasing unit 410(0) as an example, assuming that the memory control circuit unit 404 (or memory management circuit 502) performs an erasing operation on the physical erasing unit 410(0), the memory control circuit unit 404 (or memory The management circuit 502) may add one to the erase count value corresponding to the physical erase unit 410(0) in the erase count table.

之后,存储器控制电路单元404(或存储器管理电路502)会根据抹除计数表中对应于实体抹除单元410(0)的抹除计数,动态地调整对应于实体抹除单元410(0)读取干扰门槛值,借以用来更改搬移实体抹除单元410(0)中的数据的时机。其中,所述预防读取干扰操作可以是上述搬移实体抹除单元410(0)中的数据,也就是将实体抹除单元410(0)中的数据复制到实体抹除单元410(0)~410(N)之中的其他实体抹除单元中。Afterwards, the memory control circuit unit 404 (or the memory management circuit 502) dynamically adjusts the read value corresponding to the physical erase unit 410(0) according to the erase count corresponding to the physical erase unit 410(0) in the erase count table. The interference threshold is used to change the timing of moving entity erasing data in the unit 410(0). Wherein, the read disturb prevention operation may be moving the data in the physical erasing unit 410(0), that is, copying the data in the physical erasing unit 410(0) to the physical erasing unit 410(0)~ In other entity erasing units in 410(N).

此外,在另一范例实施例中,可复写式非挥发性存储器模块406状态信息可以是可复写式非挥发性存储器模块406的温度。例如,存储器控制器404(或存储器管理电路502)会借由温度传感电路514检查可复写式非挥发性存储器模块406的温度,并且根据可复写式非挥发性存储器模块406的温度调整实体抹除单元410(0)~410(N)的读取干扰门槛值。借以用来更改搬移实体抹除单元410(0)中的数据的时机。其中,所述预防读取干扰操作可以是上述搬移实体抹除单元410(0)中的数据,也就是将实体抹除单元410(0)中的数据复制到实体抹除单元410(0)~410(N)之中的其他实体抹除单元中。In addition, in another exemplary embodiment, the status information of the rewritable non-volatile memory module 406 may be the temperature of the rewritable non-volatile memory module 406 . For example, the memory controller 404 (or the memory management circuit 502) will check the temperature of the rewritable non-volatile memory module 406 through the temperature sensing circuit 514, and adjust the physical wiper according to the temperature of the rewritable non-volatile memory module 406. The read disturb thresholds of the units 410 ( 0 )˜ 410 (N) are divided. It is used to change the timing of moving the data in the physical erase unit 410(0). Wherein, the read disturb prevention operation may be moving the data in the physical erasing unit 410(0), that is, copying the data in the physical erasing unit 410(0) to the physical erasing unit 410(0)~ In other entity erasing units in 410(N).

通过上述方式,可以降低实体抹除单元410(0)~410(N)磨损的机率或抑制读取干扰发生的机率。以下提供数个范例实施例来进行更详细的说明。Through the above method, the probability of wear of the physical erasing units 410 ( 0 )˜410 (N) can be reduced or the probability of read disturbance can be suppressed. Several exemplary embodiments are provided below for more detailed description.

第一范例实施例First Exemplary Embodiment

在本发明的第一范例实施例中,存储器控制电路单元404(或存储器管理电路502)会记录每一实体抹除单元410(0)~410(N)的抹除计数于抹除计数表中,并且根据抹除计数表中对应于实体抹除单元410(0)的抹除计数,动态地调整对应于实体抹除单元410(0)的读取干扰门槛值。特别是,在本发明的第一范例实施例中,存储器控制电路单元404(或存储器管理电路502)是借由判断实体抹除单元410(0)的实体程序化单元410(0)-1的数据的“读取次数”是否大于读取干扰门槛值,以决定是否执行预防读取干扰操作。基于实体抹除单元会因抹除的次数过多而造成磨损的缘故,假设当实体抹除单元410(0)磨损时,可能会导致在将数据程序化至实体程序化单元410(0)-1时产生错误位元。此时,倘若仅使用固定的读取干扰门槛值来避免实体抹除单元410(0)的读取干扰,在此情况下,当存储器控制电路单元404(或存储器管理电路502)之后重复地读取已磨损的实体抹除单元410(0)中的实体程序化单元410(0)-1的数据时,则实体程序化单元410(0)-1很可能会在实体程序化单元410(0)-1的读取次数尚未大于读取干扰门槛值的情况下,因实体抹除单元410(0)的磨损以及被存储器控制电路单元404(或存储器管理电路502)重复地读取而产生了过多的错误位元。也就是说,在实体程序化单元410(0)-1的读取次数尚未大于读取干扰门槛值的情况下,实体程序化单元410(0)-1可能因为实体抹除单元410(0)的磨损所产生的错误位元,加上实体程序化单元410(0)-1被重复地读取所额外增加的错误位元,造成存储在实体程序化单元410(0)-1中的数据产生过多的错误位元。In the first exemplary embodiment of the present invention, the memory control circuit unit 404 (or the memory management circuit 502) will record the erase count of each physical erase unit 410(0)-410(N) in the erase count table , and dynamically adjust the read disturb threshold corresponding to the physical erase unit 410(0) according to the erase count corresponding to the physical erase unit 410(0) in the erase count table. In particular, in the first exemplary embodiment of the present invention, the memory control circuit unit 404 (or the memory management circuit 502) judges the physical programming unit 410(0)-1 of the physical erasing unit 410(0) Whether the "read times" of the data is greater than the read disturbance threshold is used to determine whether to perform the read disturbance prevention operation. Based on the fact that the physical erasing unit will wear out due to too many times of erasing, it is assumed that when the physical erasing unit 410(0) wears out, it may cause data to be programmed to the physical programming unit 410(0)- When 1, an error bit is generated. At this time, if only a fixed read disturb threshold is used to avoid the read disturb of the physical erase unit 410 (0), in this case, when the memory control circuit unit 404 (or the memory management circuit 502) reads repeatedly When getting the data of the entity programming unit 410(0)-1 in the worn entity erasing unit 410(0), then the entity programming unit 410(0)-1 is likely to be in the entity programming unit 410(0) )-1 is not yet greater than the read disturbance threshold, due to the wear and tear of the physical erasing unit 410 (0) and repeated reading by the memory control circuit unit 404 (or memory management circuit 502). Too many error bits. That is to say, when the number of readings of the physical programming unit 410(0)-1 is not greater than the read interference threshold, the physical programming unit 410(0)-1 may be caused by the physical erasing unit 410(0) The erroneous bits generated by wear and tear, plus the additional erroneous bits that the physical programming unit 410(0)-1 is repeatedly read, result in the data stored in the physical programming unit 410(0)-1 Too many error bits are generated.

因此,在本发明的第一范例实施例中,假设当实体抹除单元410(0)被抹除的次数增加时,存储器控制电路单元404(或存储器管理电路502)会动态地将对应在实体抹除单元410(0)的读取干扰数门槛值调低,借以避免实体程序化单元410(0)-1中的数据产生过多的错误位元。Therefore, in the first exemplary embodiment of the present invention, it is assumed that when the erasing times of the physical erasing unit 410(0) increase, the memory control circuit unit 404 (or the memory management circuit 502) will dynamically change the corresponding The read disturb number threshold of the erasing unit 410(0) is lowered, so as to prevent the data in the physical programming unit 410(0)-1 from generating too many error bits.

具体来说,假设当存储器控制电路单元404(或存储器管理电路502)对实体抹除单元410(0)(以下参考为,第一实体抹除单元)进行抹除操作时,存储器控制电路单元404(或存储器管理电路502)会对应地将第一实体抹除单元的抹除计数加一。之后,实体抹除单元410(0)的抹除计数从第一计数值增加为第二计数值时,存储器控制电路单元404(或存储器管理电路502)将实体抹除单元410(0)的读取干扰门槛值从第一门槛值调整为第二门槛值,其中第二计数值大于第一计数值,且第二门槛值小于第一门槛值。Specifically, assuming that when the memory control circuit unit 404 (or the memory management circuit 502) performs an erase operation on the physical erasing unit 410 (0) (hereinafter referred to as the first physical erasing unit), the memory control circuit unit 404 (or the memory management circuit 502) correspondingly increases the erase count of the first physical erase unit by one. Afterwards, when the erase count of the physical erase unit 410(0) increases from the first count value to the second count value, the memory control circuit unit 404 (or the memory management circuit 502) reads the read count of the physical erase unit 410(0) The interference threshold value is adjusted from the first threshold value to a second threshold value, wherein the second count value is greater than the first count value, and the second threshold value is smaller than the first threshold value.

举例来说,图9是根据第一范例实施例所示出的根据抹除计数调整读取干扰门槛值的示意图。请参照图9,在一状态下,假设对应于实体抹除单元410(0)的抹除计数被纪录为7000(即,第一计数值),而对应于实体抹除单元410(0)的读取干扰门槛值被设定为90000(即,第一门槛值)。假设在经过一段时间后,存储器控制电路单元404(或存储器管理电路502)因对实体抹除单元410执行了1000次的抹除操作后而将对应于实体抹除单元410(0)的抹除计数增加为8000(即,第二计数值)时,存储器控制电路单元404(或存储器管理电路502)例如会在实体抹除单元410(0)的抹除计数增加为8000的同时,将对应于实体抹除单元410(0)的读取干扰门槛值从7000调整为9000(即,第二门槛值),借以在当实体抹除单元410(0)被抹除的次数增加时,存储器控制电路单元404(或存储器管理电路502)动态地将对应于实体抹除单元410(0)的读取干扰门槛值调低。然而需注意的是,本发明并不用于限定上述抹除计数以及读取干扰门槛值的数值,抹除计数以及读取干扰门槛值之间最佳的对应关系可以依不同类型的存储器存储装置通过反复地实验而求得。For example, FIG. 9 is a schematic diagram of adjusting the read disturb threshold according to the erase count according to the first exemplary embodiment. Please refer to FIG. 9, in a state, assume that the erase count corresponding to the entity erase unit 410 (0) is recorded as 7000 (ie, the first count value), and the erase count corresponding to the entity erase unit 410 (0) The read disturb threshold is set to 90000 (ie, the first threshold). Assume that after a period of time, the memory control circuit unit 404 (or the memory management circuit 502) erases the erase operation corresponding to the physical erase unit 410 (0) due to performing 1000 erase operations on the physical erase unit 410 When the count increases to 8000 (that is, the second count value), the memory control circuit unit 404 (or the memory management circuit 502) will, for example, increase the erase count of the physical erase unit 410(0) to 8000, corresponding to The read disturbance threshold value of the physical erasing unit 410(0) is adjusted from 7000 to 9000 (ie, the second threshold value), so that when the number of times the physical erasing unit 410(0) is erased increases, the memory control circuit The unit 404 (or the memory management circuit 502 ) dynamically lowers the read disturb threshold corresponding to the physical erase unit 410(0). However, it should be noted that the present invention is not intended to limit the values of the above erase count and read disturb threshold, and the best correspondence between erase count and read disturb threshold can be determined according to different types of memory storage devices. Obtained by repeated experiments.

此外,存储器控制电路单元404(或存储器管理电路502)还会根据实体抹除单元410(0)~410(N)中每一个实体程序化单元被读取的次数,为每一个实体程序化单元记录读取计数。In addition, the memory control circuit unit 404 (or the memory management circuit 502) will also program each physical programming unit according to the number of times each physical programming unit in the physical erasing units 410(0)-410(N) is read. Records the read count.

举例来说,存储器控制电路单元404(或存储器管理电路502)可以根据实体抹除单元410(0)中的实体程序化单元410(0)-1(即,第一实体程序化单元)被读取的次数,记录对应于实体程序化单元410(0)-1的读取计数于读取计数表中。在本范例实施例中,存储器控制电路单元404(或存储器管理电路502)会在可复写式非挥发性存储器模块406中存储读取计数表来记录每一个实体抹除单元中的每一个实体抹除单元的读取计数,并且存储器控制电路单元404(或存储器管理电路502)会将此读取计数表载入至缓冲存储器508来维护。For example, the memory control circuit unit 404 (or the memory management circuit 502) can be read according to the physical programming unit 410(0)-1 (ie, the first physical programming unit) in the physical erasing unit 410(0). The number of reads corresponding to the physical programming unit 410(0)-1 is recorded in the read count table. In this exemplary embodiment, the memory control circuit unit 404 (or the memory management circuit 502) stores a read count table in the rewritable non-volatile memory module 406 to record each physical erase in each physical erase unit. The read count of the division unit, and the memory control circuit unit 404 (or the memory management circuit 502 ) loads the read count table into the buffer memory 508 for maintenance.

之后,存储器控制电路单元404(或存储器管理电路502)会判断对应实体抹除单元410(0)的实体程序化单元410(0)-1的读取次数是否大于上述实体抹除单元410(0)的读取干扰门槛值。倘若对应实体程序化单元410(0)-1的读取次数大于实体抹除单元410(0)的读取干扰门槛值时,存储器控制电路单元404(或存储器管理电路502)将存储在实体抹除单元410(0)的数据复制到实体抹除单元410(0)~410(N)之中的一实体抹除单元中。Afterwards, the memory control circuit unit 404 (or the memory management circuit 502) will judge whether the reading frequency of the physical programming unit 410(0)-1 corresponding to the physical erasing unit 410(0) is greater than the above-mentioned physical erasing unit 410(0) ) for the read disturb threshold. If the number of reads corresponding to the physical programming unit 410(0)-1 is greater than the read disturbance threshold of the physical erasing unit 410(0), the memory control circuit unit 404 (or the memory management circuit 502) will store the data stored in the physical erasing unit 410(0) The data of the erasing unit 410(0) is copied to a physical erasing unit among the physical erasing units 410(0)˜410(N).

详细来说,由于存储器控制电路单元404(或存储器管理电路502)将对应于实体抹除单元410(0)的读抹除计数调整为8000时,存储器控制电路单元404(或存储器管理电路502)将对应于实体抹除单元410(0)的读取干扰门槛值调整为9000,假设此时存储器控制电路单元404(或存储器管理电路502)连续地对实体抹除单元410(0)的实体程序化单元410(0)-1进行读取操作,存储器控制电路单元404(或存储器管理电路502)例如可以在对实体程序化单元410(0)-1进行第9001次的读取操作后,复制存储在实体抹除单元410(0)中的数据至例如闲置区604中的实体抹除单元410(F),并对实体抹除单元410(0)进行抹除操作,接着将实体抹除单元410(0)关联至闲置区604并将实体抹除单元410(F)关联至数据区602。然而需注意的是,本发明并不用于限定搬移第一实体抹除单元中的数据的方式。在一范例实施例中,存储器控制电路单元404(或存储器管理电路502)例如可以在对实体程序化单元410(0)-1进行第9001次的读取操作后,复制存储在实体程序化单元410(0)-1中的数据至例如缓冲存储器508中,并对实体抹除单元410(0)进行抹除操作后,重新将原本存储在实体程序化单元410(0)-1的数据从缓冲存储器508中写回实体抹除单元410(0)中。In detail, since the memory control circuit unit 404 (or the memory management circuit 502) adjusts the read erase count corresponding to the physical erase unit 410 (0) to 8000, the memory control circuit unit 404 (or the memory management circuit 502) Adjust the read disturbance threshold corresponding to the physical erasing unit 410(0) to 9000, assuming that the memory control circuit unit 404 (or the memory management circuit 502) continuously performs the physical program of the physical erasing unit 410(0). The programming unit 410(0)-1 performs a read operation, and the memory control circuit unit 404 (or the memory management circuit 502) can copy the The data stored in the physical erasing unit 410(0) is sent to, for example, the physical erasing unit 410(F) in the free area 604, and the erasing operation is performed on the physical erasing unit 410(0), and then the physical erasing unit 410(0) is associated to spare area 604 and physically erased unit 410(F) is associated to data area 602. However, it should be noted that the present invention is not intended to limit the manner of moving the data in the first physical erasing unit. In an exemplary embodiment, the memory control circuit unit 404 (or the memory management circuit 502 ), for example, can copy and store in the physical programming unit 410(0)-1 after the 9001st read operation The data in 410(0)-1 is transferred to, for example, buffer memory 508, and after the erase operation is performed on the physical erasing unit 410(0), the data originally stored in the physical programming unit 410(0)-1 is reset from The buffer memory 508 is written back to the physical erase unit 410(0).

借由上述方式,当实体抹除单元410(0)被抹除的次数增加时,存储器控制电路单元404(或存储器管理电路502)会动态地将对应于实体抹除单元410(0)的读取干扰门槛值调低,借以避免在实体程序化单元410(0)-1的读取计数尚未大于读取干扰门槛值的情况下,实体程序化单元410(0)-1因为实体抹除单元410(0)的磨损所产生的错误位元加上实体程序化单元410(0)-1被重复地读取所额外增加的错误位元,造成实体程序化单元410(0)-1产生了过多的错误位元。By means of the above method, when the number of erasing of the physical erasing unit 410 (0) increases, the memory control circuit unit 404 (or the memory management circuit 502) will dynamically change the read data corresponding to the physical erasing unit 410 (0) to The interference threshold is lowered to prevent the physical programming unit 410(0)-1 from being erased by the The erroneous bits generated by the wear and tear of 410(0) plus the additional erroneous bits caused by the repeated reading of the physical programming unit 410(0)-1 cause the physical programming unit 410(0)-1 to produce Too many error bits.

图10是根据第一范例实施例所示出的根据抹除计数调整读取干扰门槛值的流程图。FIG. 10 is a flow chart of adjusting the read disturb threshold according to the erase count according to the first exemplary embodiment.

请参照图10,在步骤S1001中,存储器控制电路单元404(或存储器管理电路502)对第一实体抹除单元进行抹除操作。之后,在步骤S1003中,存储器控制电路单元404(或存储器管理电路502)更新第一实体抹除单元的抹除计数。最后,在步骤S1005中,当第一实体抹除单元的抹除计数从第一计数值增加为第二计数值时,存储器控制电路单元404(或存储器管理电路502)将第一实体抹除单元的读取干扰门槛值从第一门槛值调整成第二门槛值,其中第二计数值大于第一计数值,且第二门槛值小于第一门槛值。Referring to FIG. 10 , in step S1001 , the memory control circuit unit 404 (or the memory management circuit 502 ) performs an erase operation on the first physical erase unit. After that, in step S1003, the memory control circuit unit 404 (or the memory management circuit 502) updates the erase count of the first physical erase unit. Finally, in step S1005, when the erase count of the first physical erasing unit increases from the first count value to the second count value, the memory control circuit unit 404 (or the memory management circuit 502) sets the first physical erasing unit The read disturb threshold value is adjusted from the first threshold value to a second threshold value, wherein the second count value is greater than the first count value, and the second threshold value is smaller than the first threshold value.

图11是根据第一范例实施例所示出的执行预防读取干扰操作的流程图。FIG. 11 is a flow chart of performing read disturb prevention operations according to the first exemplary embodiment.

请参照图11,在步骤S1101,存储器控制电路单元404(或存储器管理电路502)对第一实体抹除单元的第一实体程序化单元进行读取操作。接着,在步骤S1103,存储器控制电路单元404(或存储器管理电路502)更新对应于第一实体程序化单元的读取次数。之后,在步骤S1105,存储器控制电路单元404(或存储器管理电路502)判断对应第一实体抹除单元的第一实体程序化单元的读取次数是否大于第一实体抹除单元的读取干扰门槛值。倘若对应第一实体抹除单元的第一实体程序化单元的读取次数非大于第一实体抹除单元的读取干扰门槛值时,则执行步骤S1101。倘若对应第一实体抹除单元的第一实体程序化单元的读取次数大于第一实体抹除单元的读取干扰门槛值时,则在步骤S1107中,存储器控制电路单元404(或存储器管理电路502)将存储在第一实体抹除单元的数据复制到实体抹除单元之中的第二实体抹除单元。Referring to FIG. 11 , in step S1101 , the memory control circuit unit 404 (or the memory management circuit 502 ) performs a read operation on the first physical programming unit of the first physical erasing unit. Next, in step S1103, the memory control circuit unit 404 (or the memory management circuit 502) updates the reading times corresponding to the first physical programming unit. Afterwards, in step S1105, the memory control circuit unit 404 (or the memory management circuit 502) judges whether the read frequency of the first physical programming unit corresponding to the first physical erasing unit is greater than the read disturbance threshold of the first physical erasing unit value. If the reading times of the first physical programming unit corresponding to the first physical erasing unit is not greater than the read disturbance threshold of the first physical erasing unit, then step S1101 is executed. If the read frequency of the first physical programming unit corresponding to the first physical erasing unit is greater than the read disturbance threshold of the first physical erasing unit, then in step S1107, the memory control circuit unit 404 (or the memory management circuit 502) Copy the data stored in the first physical erasing unit to the second physical erasing unit in the physical erasing unit.

因此,在本发明的第一范例实施例中,当一实体抹除单元被抹除的次数增加时,存储器控制电路单元404(或存储器管理电路502)会动态地将对应于此实体抹除单元的读取干扰门槛值调低,借以避免此实体抹除单元中的其中一个实体程序化单元的读取计数尚未大于读取干扰门槛值的情况下,即产生了过多的错误位元或数据遗失。Therefore, in the first exemplary embodiment of the present invention, when the number of erasing times of a physical erasing unit increases, the memory control circuit unit 404 (or the memory management circuit 502) will dynamically change the number corresponding to the physical erasing unit The read disturb threshold of the physical erasing unit is lowered to avoid excessive error bits or data when the read count of one of the physical programming units in the physical erasing unit is not yet greater than the read disturb threshold lost.

第二范例实施例Second exemplary embodiment

在本发明的第二范例实施例中,存储器控制电路单元404(或存储器管理电路502)会记录每一实体抹除单元410(0)~410(N)的抹除计数于抹除计数表中,并且根据抹除计数表中的抹除计数动态地调整对应于实体抹除单元410(0)的读取干扰门槛值。特别是,在本发明的第二范例实施例中,存储器控制电路单元404(或存储器管理电路502)是借由判断实体抹除单元410(0)的实体程序化单元410(0)-1中被读取的读取数据的「错误位元数目」是否大于读取干扰门槛值,以决定是否执行预防读取干扰操作。基于实体抹除单元会因抹除的次数过多而造成磨损的缘故,假设当实体抹除单元410(0)磨损时,可能会导致在将数据程序化至实体程序化单元410(0)-1时产生错误位元。倘若仅使用固定的读取干扰门槛值来避免实体抹除单元410(0)的读取干扰,可能因实体抹除单元410(0)的磨损而在将数据写入至实体程序化单元410(0)-1时产生多于错误位元数目的错误位元。此时,存储器控制电路单元404(或存储器管理电路502)即会搬移实体抹除单元410(0)中的数据并且对实体程序化单元410(0)执行抹除操作。在此情况下,倘若存储器控制电路单元404(或存储器管理电路502)反复地对已磨损的实体抹除单元410(0)中的其中一个实体程序化单元进行写入,可能会因写入数据的错误位元数目大于错误位元计数门槛值,造成实体程序化单元410(0)被反复地进行抹除操作,进而加剧了实体程序化单元410(0)的磨损。In the second exemplary embodiment of the present invention, the memory control circuit unit 404 (or the memory management circuit 502) will record the erase count of each physical erase unit 410(0)-410(N) in the erase count table , and dynamically adjust the read disturb threshold corresponding to the physical erase unit 410(0) according to the erase count in the erase count table. In particular, in the second exemplary embodiment of the present invention, the memory control circuit unit 404 (or the memory management circuit 502) judges whether the physical programming unit 410(0)-1 of the physical erasing unit 410(0) Whether the "error bit number" of the read data is greater than the read disturbance threshold value is used to determine whether to execute the read disturbance prevention operation. Based on the fact that the physical erasing unit will wear out due to too many times of erasing, it is assumed that when the physical erasing unit 410(0) wears out, it may cause data to be programmed to the physical programming unit 410(0)- When 1, an error bit is generated. If only a fixed read disturb threshold is used to avoid the read disturbance of the physical erasing unit 410(0), the wear and tear of the physical erasing unit 410(0) may cause data to be written into the physical programming unit 410 ( 0)-1 produces more error bits than the number of error bits. At this time, the memory control circuit unit 404 (or the memory management circuit 502 ) will move the data in the physical erasing unit 410(0) and execute the erasing operation on the physical programming unit 410(0). In this case, if the memory control circuit unit 404 (or the memory management circuit 502) repeatedly writes to one of the physical programming units in the worn physical erasing unit 410(0), it may be caused by writing data The number of error bits is greater than the error bit count threshold, causing the physical programming unit 410 ( 0 ) to be repeatedly erased, thereby increasing the wear and tear of the physical programming unit 410 ( 0 ).

因此,在本发明的第二范例实施例中,假设当实体抹除单元410(0)被抹除的次数增加时,存储器控制电路单元404(或存储器管理电路502)会动态地将对应于实体抹除单元410(0)的读取干扰门槛值调高,借以避免实体抹除单元410(0)被执行过多的抹除操作而造成更严重的磨损。Therefore, in the second exemplary embodiment of the present invention, it is assumed that when the erasing times of the entity erasing unit 410(0) increase, the memory control circuit unit 404 (or the memory management circuit 502) will dynamically change the corresponding entity The read disturb threshold of the erasing unit 410 ( 0 ) is increased to prevent the physical erasing unit 410 ( 0 ) from being subjected to excessive erasing operations and causing more serious wear and tear.

具体来说,假设当存储器控制电路单元404(或存储器管理电路502)对实体抹除单元410(0)(以下参考为,第一实体抹除单元)进行抹除操作时,存储器控制电路单元404(或存储器管理电路502)会对应地将第一实体抹除单元的抹除计数加一。之后,实体抹除单元410(0)的抹除计数从第一计数值增加为第二计数值时,存储器控制电路单元404(或存储器管理电路502)将实体抹除单元410(0)的读取干扰门槛值从第三门槛值调整为第四门槛值,其中第二计数值大于第一计数值,且第四门槛值大于第三门槛值。Specifically, assuming that when the memory control circuit unit 404 (or the memory management circuit 502) performs an erase operation on the physical erasing unit 410 (0) (hereinafter referred to as the first physical erasing unit), the memory control circuit unit 404 (or the memory management circuit 502) correspondingly increases the erase count of the first physical erase unit by one. Afterwards, when the erase count of the physical erase unit 410(0) increases from the first count value to the second count value, the memory control circuit unit 404 (or the memory management circuit 502) reads the read count of the physical erase unit 410(0) The interference threshold is adjusted from the third threshold to the fourth threshold, wherein the second count value is greater than the first count value, and the fourth threshold value is greater than the third threshold value.

举例来说,图12是根据第二范例实施例所示出的根据抹除计数调整读取干扰门槛值的示意图。请参照图12,在一状态下,假设对应于实体抹除单元410(0)的抹除计数被纪录为7000(即,第一计数值),而对应于实体抹除单元410(0)的读取干扰门槛值被设定为90(即,第三门槛值)。假设在经过一段时间后,存储器控制电路单元404(或存储器管理电路502)因对实体抹除单元410执行了1000次的抹除操作后而将对应于实体抹除单元410(0)的抹除计数增加为8000(即,第二计数值)时,存储器控制电路单元404(或存储器管理电路502)例如会将对应于实体抹除单元410(0)的读取干扰门槛值从90调整为100(即,第四门槛值),借以在当实体抹除单元410(0)被抹除的次数增加时,存储器控制电路单元404(或存储器管理电路502)动态地将对应于实体抹除单元410(0)的读取干扰门槛值调高。然而需注意的是,本发明并不用于限定上述抹除计数以及读取干扰门槛值的数值,抹除计数以及读取干扰门槛值之间最佳的对应关系可以依不同类型的存储器存储装置通过反复地实验而求得。For example, FIG. 12 is a schematic diagram of adjusting the read disturb threshold according to the erase count according to the second exemplary embodiment. Please refer to FIG. 12, in a state, assume that the erase count corresponding to the entity erase unit 410 (0) is recorded as 7000 (ie, the first count value), and the erase count corresponding to the entity erase unit 410 (0) The read disturb threshold is set to 90 (ie, the third threshold). Assume that after a period of time, the memory control circuit unit 404 (or the memory management circuit 502) erases the erase operation corresponding to the physical erase unit 410 (0) due to performing 1000 erase operations on the physical erase unit 410 When the count increases to 8000 (that is, the second count value), the memory control circuit unit 404 (or the memory management circuit 502) will, for example, adjust the read disturb threshold corresponding to the physical erasing unit 410 (0) from 90 to 100 (that is, the fourth threshold value), so that when the number of erasing of the physical erasing unit 410 (0) increases, the memory control circuit unit 404 (or the memory management circuit 502) will dynamically corresponding to the physical erasing unit 410 (0) read disturb threshold increased. However, it should be noted that the present invention is not intended to limit the values of the above erase count and read disturb threshold, and the best correspondence between erase count and read disturb threshold can be determined according to different types of memory storage devices. Obtained by repeated experiments.

此外,存储器控制电路单元404(或存储器管理电路502)还会根据第一实体抹除单元中的第一实体程序化单元被读取的读取数据的错误位元数目,为第一实体程序化单元计算错误位元计数。In addition, the memory control circuit unit 404 (or the memory management circuit 502) will also program the first entity according to the number of error bits of the read data read by the first entity programming unit in the first entity erasing unit. The unit calculates the error bit count.

举例来说,当存储器控制电路单元404(或存储器管理电路502)从实体抹除单元410(0)中的实体程序化单元410(0)-1(即,第一实体程序化单元)读取数据时,存储器控制电路单元404(或存储器管理电路502)会同时读取此数据对应的错误检查与校正码,并且借由错误检查与校正电路512根据此错误检查与校正码对所读取的数据执行错误检查与校正程序,进而根据实体程序化单元410(0)-1所存储的数据的错误位元数目,为实体程序化单元410(0)-1计算错误位元计数。然而本发明并不用于限定计算错误位元计数的时机,在一范例实施例中,存储器控制电路单元404(或存储器管理电路502)也可以在将数据写入实体程序化单元410(0)-1后即借由错误检查与校正电路512执行错误检查与校正程序,进而根据实体程序化单元410(0)-1所存储的数据的错误位元数目,为实体程序化单元410(0)-1计算错误位元计数。For example, when the memory control circuit unit 404 (or memory management circuit 502) reads from the physical programming unit 410(0)-1 (ie, the first physical programming unit) in the physical erasing unit 410(0) data, the memory control circuit unit 404 (or the memory management circuit 502) will simultaneously read the error checking and correction code corresponding to the data, and use the error checking and correction circuit 512 to correct the read The data performs error checking and correction procedures, and then calculates an error bit count for the physical programming unit 410(0)-1 according to the number of error bits in the data stored in the physical programming unit 410(0)-1. However, the present invention is not used to limit the timing of calculating the error bit count. In an exemplary embodiment, the memory control circuit unit 404 (or the memory management circuit 502) can also write data into the physical programming unit 410(0)- After 1, the error checking and correcting program is executed by the error checking and correcting circuit 512, and then according to the number of error bits of the data stored in the physical programming unit 410(0)-1, the physical programming unit 410(0)- 1 Calculates the error bit count.

之后,存储器控制电路单元404(或存储器管理电路502)会判断从实体程序化单元410(0)-1所读取的读取数据的错误位元数目是否大于实体抹除单元410(0)的读取干扰门槛值。倘若从实体程序化单元410(0)所读取的读取数据的错误位元数目大于实体抹除单元410(0)的读取干扰门槛值时,存储器控制电路单元404(或存储器管理电路502)会将存储在实体抹除单元410(0)的数据复制到实体抹除单元410(0)~410(N)之中的一实体抹除单元中。Afterwards, the memory control circuit unit 404 (or the memory management circuit 502) will judge whether the number of error bits of the read data read from the physical programming unit 410(0)-1 is greater than that of the physical erasing unit 410(0) Read the interference threshold. If the number of error bits of the read data read from the physical programming unit 410(0) is greater than the read disturbance threshold of the physical erasing unit 410(0), the memory control circuit unit 404 (or the memory management circuit 502 ) will copy the data stored in the physical erasing unit 410(0) to a physical erasing unit among the physical erasing units 410(0)˜410(N).

详细来说,由于存储器控制电路单元404(或存储器管理电路502)将对应于实体抹除单元410(0)的读抹除计数调整为8000时,存储器控制电路单元404(或存储器管理电路502)将对应于实体抹除单元410(0)的读取干扰门槛值调整为100,假设此时存储器控制电路单元404(或存储器管理电路502)从实体程序化单元410(0)-1读取数据时,存储器控制电路单元404(或存储器管理电路502)会同时读取此数据对应的错误检查与校正码,并且借由错误检查与校正电路512根据此错误检查与校正码对所读取的数据执行错误检查与校正程序,进而根据实体程序化单元410(0)-1所存储的数据的错误位元数目,为实体程序化单元410(0)-1计算错误位元计数。假设此时实体程序化单元410(0)-1的错误位元计数的值为101,存储器控制电路单元404(或存储器管理电路502)例如可以在对实体程序化单元410(0)-1进行读取操作后,复制存储在实体抹除单元410(0)中的数据至例如闲置区604中的实体抹除单元410(F),并对实体抹除单元410(0)进行抹除操作,接着将实体抹除单元410(0)关联至闲置区604并将实体抹除单元410(F)关联至数据区602。然而需注意的是,本发明并不用于限定搬移第一实体抹除单元中的数据的方式。在一范例实施例中,存储器控制电路单元404(或存储器管理电路502)例如可以在对实体程序化单元410(0)-1进行第101次的读取操作后,复制存储在实体程序化单元410(0)-1中的数据至例如缓冲存储器508中,并对实体抹除单元410(0)进行抹除操作后,重新将原本存储在实体程序化单元410(0)-1的数据从缓冲存储器508写回实体抹除单元410(0)中。In detail, since the memory control circuit unit 404 (or the memory management circuit 502) adjusts the read erase count corresponding to the physical erase unit 410 (0) to 8000, the memory control circuit unit 404 (or the memory management circuit 502) Adjust the read disturbance threshold corresponding to the physical erasing unit 410(0) to 100, assuming that the memory control circuit unit 404 (or the memory management circuit 502) reads data from the physical programming unit 410(0)-1 at this time , the memory control circuit unit 404 (or memory management circuit 502) will simultaneously read the error checking and correction code corresponding to the data, and use the error checking and correction circuit 512 to correct the read data according to the error checking and correction code The error checking and correction procedure is executed, and then the error bit count is calculated for the physical programming unit 410(0)-1 according to the number of error bits of the data stored in the physical programming unit 410(0)-1. Assuming that the value of the error bit count of the physical programming unit 410(0)-1 is 101 at this time, the memory control circuit unit 404 (or the memory management circuit 502) can, for example, execute the physical programming unit 410(0)-1 After the read operation, copy the data stored in the physical erasing unit 410(0) to, for example, the physical erasing unit 410(F) in the spare area 604, and perform an erasing operation on the physical erasing unit 410(0), The physical erase unit 410 ( 0 ) is then associated to the spare area 604 and the physical erase unit 410 (F) is associated to the data area 602 . However, it should be noted that the present invention is not intended to limit the manner of moving the data in the first physical erasing unit. In an exemplary embodiment, the memory control circuit unit 404 (or the memory management circuit 502 ), for example, after performing the 101st read operation on the physical programming unit 410(0)-1, copy and store The data in 410(0)-1 is transferred to, for example, buffer memory 508, and after the erase operation is performed on the physical erasing unit 410(0), the data originally stored in the physical programming unit 410(0)-1 is reset from The buffer memory 508 is written back into the physical erase unit 410(0).

借由上述方式,当实体抹除单元410(0)被抹除的次数增加时,存储器控制电路单元404(或存储器管理电路502)会动态地将对应于实体抹除单元410(0)的读取干扰门槛值调高,借以避免因实体抹除单元410(0)的磨损使得数据写入时即产生多于读取干扰门槛值的错误位元数目,造成实体抹除单元410(0)被频繁地进行抹除操作的问题。基于本发明的第二范例实施例,可以有效地减缓实体抹除单元410(0)的磨损。By means of the above method, when the number of erasing of the physical erasing unit 410 (0) increases, the memory control circuit unit 404 (or the memory management circuit 502) will dynamically change the read data corresponding to the physical erasing unit 410 (0) to Take the disturbance threshold value to increase, so as to avoid the wear and tear of the physical erasing unit 410 (0) to cause the number of error bits that are more than the read disturbance threshold value to be generated when the data is written, causing the physical erasing unit 410 (0) to be blocked. Problems with frequent wipe operations. Based on the second exemplary embodiment of the present invention, the wear of the physical erasing unit 410(0) can be effectively slowed down.

图13是根据第二范例实施例所示出的根据抹除计数调整读取干扰门槛值的流程图。FIG. 13 is a flow chart of adjusting the read disturb threshold according to the erase count according to the second exemplary embodiment.

请参照图13,在步骤S1301中,存储器控制电路单元404(或存储器管理电路502)对第一实体抹除单元进行抹除操作。之后,在步骤S1303中,存储器控制电路单元404(或存储器管理电路502)更新对应于第一实体抹除单元的抹除计数。最后,在步骤S1305中,当第一实体抹除单元的抹除计数从第一计数值增加为第二计数值时,存储器控制电路单元404(或存储器管理电路502)将第一实体抹除单元的读取干扰门槛值从第三门槛值调整为第四门槛值,其中第二计数值大于第一计数值,且第四门槛值大于第三门槛值。Referring to FIG. 13 , in step S1301 , the memory control circuit unit 404 (or the memory management circuit 502 ) performs an erase operation on the first physical erase unit. Afterwards, in step S1303, the memory control circuit unit 404 (or the memory management circuit 502) updates the erase count corresponding to the first physical erase unit. Finally, in step S1305, when the erase count of the first physical erase unit increases from the first count value to the second count value, the memory control circuit unit 404 (or the memory management circuit 502) sets the first physical erase unit The read disturb threshold value is adjusted from the third threshold value to a fourth threshold value, wherein the second count value is greater than the first count value, and the fourth threshold value is greater than the third threshold value.

图14是根据第二范例实施例所示出的执行预防读取干扰操作的流程图。FIG. 14 is a flow chart of performing read disturb prevention operations according to the second exemplary embodiment.

请参照图14,在步骤S1401中,存储器控制电路单元404(或存储器管理电路502)从第一实体抹除单元的第一实体程序化单元读取一读取数据。接着,在步骤S1403中,存储器控制电路单元404(或存储器管理电路502)判断从实体程序化单元所读取的读取数据的错误位元数目是否大于第一实体抹除单元的读取干扰门槛值。倘若从实体程序化单元所读取的读取数据的错误位元数目非大于第一实体抹除单元的读取干扰门槛值时,则执行步骤S1401。倘若从实体程序化单元所读取的读取数据的错误位元数目大于第一实体抹除单元的读取干扰门槛值时,在步骤S1405中,存储器控制电路单元404(或存储器管理电路502)将存储在第一实体抹除单元的数据复制到实体抹除单元之中的第二实体抹除单元。Referring to FIG. 14 , in step S1401 , the memory control circuit unit 404 (or the memory management circuit 502 ) reads a read data from the first physical programming unit of the first physical erasing unit. Next, in step S1403, the memory control circuit unit 404 (or the memory management circuit 502) judges whether the number of error bits of the read data read from the physical programming unit is greater than the read disturbance threshold of the first physical erasing unit value. If the number of erroneous bits of the read data read from the physical programming unit is not greater than the read disturbance threshold of the first physical erasing unit, then step S1401 is executed. If the number of error bits in the read data read from the physical programming unit is greater than the read disturbance threshold of the first physical erasing unit, in step S1405, the memory control circuit unit 404 (or the memory management circuit 502) The data stored in the first physical erasing unit is copied to the second physical erasing unit in the physical erasing unit.

因此,在本发明的第二范例实施例中,假设当一实体抹除单元被抹除的次数增加时,存储器控制电路单元404(或存储器管理电路502)会动态地将对应于此实体抹除单元的读取干扰门槛值调高,借以避免此实体抹除单元被执行过多的抹除操作而造成更严重的磨损。Therefore, in the second exemplary embodiment of the present invention, it is assumed that when a physical erasing unit is erased for an increasing number of times, the memory control circuit unit 404 (or the memory management circuit 502) will dynamically erase the The read disturb threshold of the unit is increased to prevent the physical erase unit from being subjected to excessive erasing operations and causing more severe wear and tear.

第三范例实施例Third Exemplary Embodiment

在本发明的第三范例实施例中,存储器控制电路单元404(或存储器管理电路502)会借由温度传感电路514检查可复写式非挥发性存储器模块406的温度,并且根据可复写式非挥发性存储器模块406的温度调整实体抹除单元410(0)~410(N)的读取干扰门槛值。In the third exemplary embodiment of the present invention, the memory control circuit unit 404 (or the memory management circuit 502) checks the temperature of the rewritable non-volatile memory module 406 through the temperature sensing circuit 514, and according to the rewritable non-volatile The temperature of the volatile memory module 406 adjusts the read disturb thresholds of the physical erase units 410( 0 )˜410(N).

举例来说,本发明的第三实施例是借由判断“错误位元数目”以及可复写式非挥发性存储器模块406的温度来调整读取干扰门槛值。以实体抹除单元410(0)与实体程序化单元410(0)-1为例,存储器控制电路单元404(或存储器管理电路502)可以借由判断实体抹除单元410(0)的实体程序化单元410(0)-1中被读取的读取数据的“错误位元数目”是否大于读取干扰门槛值,以决定是否执行预防读取干扰操作。其中,假设当实体抹除单元410(0)被抹除的次数增加时,存储器控制电路单元404(或存储器管理电路502)会动态地将对应于实体抹除单元410(0)的读取干扰门槛值调高,借以避免实体抹除单元410(0)被执行过多的抹除操作而造成更严重的磨损。然而需注意的是,此时当可复写式非挥发性存储器模块406的温度升高时,存储器控制电路单元404(或存储器管理电路502)在将数据写入至可复写式非挥发性存储器模块406中的实体程序化单元时也更容易产生错误位元。因此,倘若之后存储器控制电路单元404(或存储器管理电路502)再次对处于高温的实体抹除单元410(0)中的实体程序化单元410(0)-1进行写入,则存储器控制电路单元404(或存储器管理电路502)可能会检查到实体程序化单元410(0)-1中已产生过多的错误位元,则存储器控制电路单元404(或存储器管理电路502)会搬移实体抹除单元410(0)中的数据并且对实体程序化单元410(0)执行抹除操作。在此情况下,倘若存储器控制电路单元404(或存储器管理电路502)反复地对处于高温且已磨损的实体抹除单元410(0)中的其中一个实体程序化单元进行写入,可能会因写入数据的错误位元数目大于错误位元计数门槛值,造成实体程序化单元410(0)被反复地进行抹除操作,进而加剧了实体程序化单元410(0)的磨损。For example, the third embodiment of the present invention adjusts the read disturb threshold by judging the “number of error bits” and the temperature of the rewritable non-volatile memory module 406 . Taking the physical erasing unit 410(0) and the physical programming unit 410(0)-1 as examples, the memory control circuit unit 404 (or the memory management circuit 502) can determine the physical program of the physical erasing unit 410(0) Whether the "error bit number" of the read data read in the BL unit 410(0)-1 is greater than the read disturb threshold value is used to determine whether to perform the read disturb prevention operation. Wherein, it is assumed that when the erasing times of the physical erasing unit 410(0) increase, the memory control circuit unit 404 (or the memory management circuit 502) will dynamically disturb the read corresponding to the physical erasing unit 410(0) The threshold value is increased to prevent the physical erasing unit 410( 0 ) from being subjected to excessive erasing operations and causing more severe wear and tear. However, it should be noted that at this time, when the temperature of the rewritable non-volatile memory module 406 rises, the memory control circuit unit 404 (or the memory management circuit 502) is writing data into the rewritable non-volatile memory module. 406 entities are also more prone to error bits when programming units. Therefore, if the memory control circuit unit 404 (or the memory management circuit 502) writes to the physical programming unit 410(0)-1 in the high temperature physical erasing unit 410(0) again, the memory control circuit unit 404 (or the memory management circuit 502) may check that too many error bits have been generated in the physical programming unit 410(0)-1, then the memory control circuit unit 404 (or the memory management circuit 502) will move the physical erase data in unit 410(0) and perform an erase operation on physically programmed unit 410(0). In this case, if the memory control circuit unit 404 (or the memory management circuit 502) repeatedly writes to one of the physical programming units in the high temperature and worn physical erasing unit 410(0), it may be caused by The number of error bits in the written data is greater than the error bit count threshold, causing the physical programming unit 410( 0 ) to be repeatedly erased, further increasing the wear and tear of the physical programming unit 410( 0 ).

因此,在本发明的第三范例实施例中,存储器控制电路单元404(或存储器管理电路502)会借由温度传感电路514检查可复写式非挥发性存储器模块406的温度,并且根据可复写式非挥发性存储器模块406的温度调整第一实体抹除单元的读取干扰门槛值。特别是,当可复写式非挥发性存储器模块406的温度从第一温度值增加为第二温度值时,存储器控制电路单元404(或存储器管理电路502)会将第一实体抹除单元的读取干扰门槛值从第五门槛值调整为第六门槛值,其中第二温度值大于第一温度值,第六门槛值大于第五门槛值。Therefore, in the third exemplary embodiment of the present invention, the memory control circuit unit 404 (or the memory management circuit 502) checks the temperature of the rewritable non-volatile memory module 406 through the temperature sensing circuit 514, and according to the rewritable The temperature of the non-volatile memory module 406 adjusts the read disturb threshold of the first physical erase unit. In particular, when the temperature of the rewritable non-volatile memory module 406 increases from the first temperature value to the second temperature value, the memory control circuit unit 404 (or the memory management circuit 502) will erase the read data of the first entity erase unit. The interference threshold is adjusted from the fifth threshold to the sixth threshold, wherein the second temperature value is greater than the first temperature value, and the sixth threshold is greater than the fifth threshold.

详细来说,图15A、图15B与图15C是根据第三范例实施例所示出的根据可复写式非挥发性存储器模块的温度调整读取干扰门槛值的示意图。In detail, FIG. 15A , FIG. 15B and FIG. 15C are schematic diagrams of adjusting the read disturb threshold according to the temperature of the rewritable non-volatile memory module according to the third exemplary embodiment.

请同时参照图15A、图15B与图15C,假设在图15A的状态下,假设目前可复写式非挥发性存储器模块406的温度为60℃,对应于实体抹除单元410(0)的抹除计数被纪录为7000(即,第一计数值),而对应于实体抹除单元410(0)的读取干扰门槛值被设定为90(即,第三门槛值)。假设在经过一段时间后,存储器控制电路单元404(或存储器管理电路502)因对实体抹除单元410执行了1000次的抹除操作后而将对应于实体抹除单元410(0)的抹除计数增加为8000(即,第二计数值)时,存储器控制电路单元404(或存储器管理电路502)例如会将对应于实体抹除单元410(0)的读取干扰门槛值从90调整为100(即,第四门槛值),借以在当实体抹除单元410(0)被抹除的次数增加时,存储器控制电路单元404(或存储器管理电路502)动态地将对应于实体抹除单元410(0)的读取干扰门槛值调高。Please refer to FIG. 15A, FIG. 15B and FIG. 15C at the same time. Assume that in the state of FIG. 15A, assuming that the current temperature of the rewritable non-volatile memory module 406 is 60°C, it corresponds to the erasing of the physical erasing unit 410(0). The count is recorded as 7000 (ie, the first count value), and the read disturb threshold corresponding to the physical erase unit 410(0) is set to 90 (ie, the third threshold). Assume that after a period of time, the memory control circuit unit 404 (or the memory management circuit 502) erases the erase operation corresponding to the physical erase unit 410 (0) due to performing 1000 erase operations on the physical erase unit 410 When the count increases to 8000 (that is, the second count value), the memory control circuit unit 404 (or the memory management circuit 502) will, for example, adjust the read disturb threshold corresponding to the physical erasing unit 410 (0) from 90 to 100 (that is, the fourth threshold value), so that when the number of erasing of the physical erasing unit 410 (0) increases, the memory control circuit unit 404 (or the memory management circuit 502) will dynamically corresponding to the physical erasing unit 410 (0) read disturb threshold increased.

假设此时可复写式非挥发性存储器模块406的温度从60℃上升至80℃,如图15B所示,则存储器控制电路单元404(或存储器管理电路502)例如可以再将读取干扰门槛值从100调整至105(即,第五门槛值)。Assuming that the temperature of the rewritable non-volatile memory module 406 rises from 60°C to 80°C at this time, as shown in FIG. Adjusted from 100 to 105 (ie, the fifth threshold).

之后,假设可复写式非挥发性存储器模块406的温度从80℃(即,第一温度值)上升至100℃(即,第二温度值),如图15C所示,则存储器控制电路单元404(或存储器管理电路502)例如可以再将读取干扰门槛值从105调整至110(即,第六门槛值)。Afterwards, assuming that the temperature of the rewritable non-volatile memory module 406 rises from 80° C. (ie, the first temperature value) to 100° C. (ie, the second temperature value), as shown in FIG. 15C , the memory control circuit unit 404 (or the memory management circuit 502 ), for example, can further adjust the read disturb threshold from 105 to 110 (ie, the sixth threshold).

假设此时存储器控制电路单元404(或存储器管理电路502)从实体程序化单元410(0)-1读取数据时,存储器控制电路单元404(或存储器管理电路502)会同时读取此数据对应的错误检查与校正码,并且借由错误检查与校正电路512根据此错误检查与校正码对所读取的数据执行错误检查与校正程序,进而根据实体程序化单元410(0)-1所存储的数据的错误位元数目,为实体程序化单元410(0)-1计算错误位元计数。假设此时实体程序化单元410(0)-1的错误位元计数的值为111,存储器控制电路单元404(或存储器管理电路502)例如可以在对实体程序化单元410(0)-1进行读取操作后,复制存储在实体抹除单元410(0)中的数据至例如缓冲存储器508中,并对实体抹除单元410(0)进行抹除操作,并且在之后可复写式非挥发性存储器模块406的温度下降至某一温度值后,重新将原本存储在实体程序化单元410(0)-1的数据从缓冲存储器508写回实体抹除单元410(0)中。Assume that when the memory control circuit unit 404 (or the memory management circuit 502) reads data from the physical programming unit 410(0)-1 at this time, the memory control circuit unit 404 (or the memory management circuit 502) will simultaneously read the data corresponding to The error checking and correcting code, and the error checking and correcting circuit 512 executes the error checking and correcting program on the read data according to the error checking and correcting code, and then according to the stored data in the physical programming unit 410(0)-1 The number of erroneous bits of the data of , calculates the erroneous bit count for the physical programming unit 410 ( 0 )- 1 . Assuming that the value of the error bit count of the physical programming unit 410(0)-1 is 111 at this time, the memory control circuit unit 404 (or the memory management circuit 502) can, for example, execute the physical programming unit 410(0)-1 After the read operation, copy the data stored in the physical erasing unit 410 (0) to, for example, the buffer memory 508, and perform an erasing operation on the physical erasing unit 410 (0), and then rewritable non-volatile After the temperature of the memory module 406 drops to a certain temperature value, the data originally stored in the physical programming unit 410(0)-1 is written back from the buffer memory 508 to the physical erasing unit 410(0).

然而需注意的是,本发明并不用于限定上述搬移第一实体抹除单元中的数据的方式,且本发明并不用于限定上述抹除计数、可复写式非挥发性存储器模块406的温度以及读取干扰门槛值的数值,抹除计数、可复写式非挥发性存储器模块406的温度以及读取干扰门槛值之间最佳的对应关系可以依不同类型的存储器存储装置通过反复地实验而求得。However, it should be noted that the present invention is not used to limit the above-mentioned manner of moving the data in the first physical erase unit, and the present invention is not used to limit the above-mentioned erase count, temperature of the rewritable non-volatile memory module 406 and The value of the read disturbance threshold value, the erasure count, the temperature of the rewritable non-volatile memory module 406 and the optimal correspondence between the read disturbance threshold value can be obtained through repeated experiments according to different types of memory storage devices. have to.

借由上述方式,可以有效地避免当可复写式非挥发性存储器模块406的温度升高时,实体抹除单元410(0)被执行过多的抹除操作而造成更严重的磨损的问题。By means of the above method, when the temperature of the rewritable non-volatile memory module 406 rises, the physical erasing unit 410( 0 ) is subjected to excessive erasing operations to cause more severe wear and tear.

图16是根据第三范例实施例所示出的根据温度调整读取干扰门槛值的流程图。FIG. 16 is a flow chart of adjusting the read disturb threshold according to the temperature according to the third exemplary embodiment.

在步骤S1601中,存储器控制电路单元404(或存储器管理电路502)会检查可复写式非挥发性存储器模块406的温度,用以根据可复写式非挥发性存储器模块的温度调整第一实体抹除单元的读取干扰门槛值。In step S1601, the memory control circuit unit 404 (or the memory management circuit 502) will check the temperature of the rewritable non-volatile memory module 406, so as to adjust the first physical erase according to the temperature of the rewritable non-volatile memory module. The read disturb threshold for the cell.

接着,在步骤S1603中,当可复写式非挥发性存储器模块406的温度从第一温度值增加为第二温度值时,存储器控制电路单元404(或存储器管理电路502)会将第一实体抹除单元的读取干扰门槛值从第五门槛值调整为第六门槛值,其中第二温度值大于第一温度值,第六门槛值大于第五门槛值。Next, in step S1603, when the temperature of the rewritable non-volatile memory module 406 increases from the first temperature value to the second temperature value, the memory control circuit unit 404 (or the memory management circuit 502) will erase the first entity The read disturbance threshold value of the dividing unit is adjusted from the fifth threshold value to the sixth threshold value, wherein the second temperature value is greater than the first temperature value, and the sixth threshold value is greater than the fifth threshold value.

因此,在本发明的第三范例实施例中,假设当可复写式非挥发性存储器模块406的温度升高时,存储器控制电路单元404(或存储器管理电路502)会动态地将对应于实体抹除单元410(0)的读取干扰门槛值调高,借以避免实体抹除单元410(0)被执行过多的抹除操作而造成更严重的磨损。Therefore, in the third exemplary embodiment of the present invention, it is assumed that when the temperature of the rewritable non-volatile memory module 406 rises, the memory control circuit unit 404 (or the memory management circuit 502) will dynamically change the The read disturb threshold of the erasing unit 410 ( 0 ) is increased to prevent the physical erasing unit 410 ( 0 ) from being subjected to excessive erasing operations and causing more severe wear and tear.

值得一提的是,在第三范例实施例中,是根据可复写式非挥发性存储器模块406的温度来动态地调整对应每一实体抹除单元的读取干扰门槛值,但本发明不限于此。在另一范例实施例中,存储器控制器404(或存储器管理电路502)还可一并考量可复写式非挥发性存储器模块406的温度及各实体抹除单元的抹除计数下来设定读取干扰门槛值。也就是说,在上述第一与第二范例实施例的存储器控制电路单元404(或存储器管理电路502)可更如第三范例实施例所述的根据可复写式非挥发性存储器模块406的温度来动态地调整对应每一实体抹除单元的读取干扰门槛值。It is worth mentioning that, in the third exemplary embodiment, the read disturb threshold corresponding to each physical erasing unit is dynamically adjusted according to the temperature of the rewritable non-volatile memory module 406, but the present invention is not limited to this. In another exemplary embodiment, the memory controller 404 (or the memory management circuit 502) can also consider the temperature of the rewritable non-volatile memory module 406 and the erase count of each physical erase unit to set the read Interference threshold. That is to say, the memory control circuit unit 404 (or the memory management circuit 502 ) in the above-mentioned first and second exemplary embodiments can be more as described in the third exemplary embodiment according to the temperature of the rewritable non-volatile memory module 406 to dynamically adjust the read disturb threshold corresponding to each physical erasing unit.

综上所述,由于可复写式非挥发性存储器模块存在着实体抹除单元会磨损以及读取干扰的现象,本发明提出根据实体抹除单元的抹除次数动态地调整读取干扰门槛值,借以有效地降低实体抹除单元磨损的机率或读取干扰发生的机率。To sum up, since the rewritable non-volatile memory module has the phenomenon that the physical erasing unit will wear out and read interference, the present invention proposes to dynamically adjust the read interference threshold according to the erasing times of the physical erasing unit, In order to effectively reduce the probability of wear of the physical erasing unit or the probability of read interference.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (21)

1. a kind of storage management method, it is characterised in that for a rewritable non-volatile memory Module, wherein the rewritable non-volatile memory module have multiple entity erased cells, those realities Each entity erased cell among body erased cell has multiple entity program units, the memory Management method includes:
A reading interference threshold value is set for those each entity erased cells;
According to a status information of the rewritable non-volatile memory module, one first instance of adjustment is smeared Except the reading interference threshold value of unit;And
According to the reading interference threshold value of the first instance erased cell, perform one and prevent reading interference behaviour Make.
2. storage management method according to claim 1, it is characterised in that can be made carbon copies according to this The status information of formula non-volatile memory module, reading for adjusting the first instance erased cell is done The step of disturbing threshold value includes:
The one of those each entity erased cells are recorded to erase counting;And
When the counting of erasing of the first instance erased cell is counted from the increase of one first count value for one second During value, the reading interference threshold value of the first instance erased cell is adjusted to one from one first threshold value Second threshold value,
Wherein second count value is more than first count value, and second threshold value is less than first threshold Value.
3. storage management method according to claim 2, it is characterised in that according to first reality The reading interference threshold value of body erased cell, performing the step of prevention reading interference is operated includes:
Judge to should the reading times of a first instance programmed cell of first instance erased cell be The no reading interference threshold value more than the first instance erased cell;And
If to should first instance programmed cell the reading times be more than the first instance erased cell Reading interference threshold value when, will be stored in the data duplication of the first instance erased cell to those entities A second instance erased cell among erased cell.
4. storage management method according to claim 1, it is characterised in that can be made carbon copies according to this The status information of formula non-volatile memory module, reading for adjusting the first instance erased cell is done The step of disturbing threshold value includes:
The one of those each entity erased cells are recorded to erase counting;And
When the counting of erasing of the first instance erased cell is counted from the increase of one first count value for one second During value, the reading interference threshold value of the first instance erased cell is adjusted to one from one the 3rd threshold value 4th threshold value,
Wherein second count value is more than first count value, and the 4th threshold value is more than the 3rd threshold value.
5. storage management method according to claim 4, it is characterised in that according to first reality The reading interference threshold value of body erased cell, performing the step of prevention reading interference is operated includes:
Data are read from a first instance programmed cell of the first instance erased cell;
Judge whether is the wrong bit number of the reading data that is read from the first instance programmed cell More than the reading interference threshold value of the first instance erased cell;
If the wrong bit number of the reading data read from the first instance programmed cell is more than During the reading interference threshold value of the first instance erased cell, the first instance erased cell will be stored in Data duplication to those entity erased cells among a second instance erased cell.
6. storage management method according to claim 1, it is characterised in that can be made carbon copies according to this The status information of formula non-volatile memory module, reading for adjusting the first instance erased cell is done The step of disturbing threshold value includes:
Check a temperature of the rewritable non-volatile memory module;And
The first instance erased cell is adjusted according to the temperature of the rewritable non-volatile memory module The reading interference threshold value.
7. storage management method according to claim 6, it is characterised in that can be made carbon copies according to this The temperature of formula non-volatile memory module adjusts the reading interference threshold of the first instance erased cell The step of value, includes:
When the rewritable non-volatile memory module the temperature from the increase of one first temperature value be one the During two temperature values, the reading interference threshold value of the first instance erased cell is adjusted from one the 5th threshold value Whole is one the 6th threshold value,
Wherein the second temperature value is more than first temperature value, and the 6th threshold value is more than the 5th threshold value.
8. a kind of memorizer control circuit unit, it is characterised in that for controlling a duplicative non-volatile Property memory module, the memorizer control circuit unit includes:
One HPI, is electrically connected to a host computer system;
One memory interface, is electrically connected to the rewritable non-volatile memory module, wherein The rewritable non-volatile memory module has multiple entity erased cells, those entity erased cells Among each entity erased cell there are multiple entity program units;And
One memory management circuitry, is electrically connected to the HPI and the memory interface,
The memory management circuitry for those each entity erased cells to set a reading interference threshold Value,
The memory management circuitry is also used to the state according to the rewritable non-volatile memory module Information, adjusts the reading interference threshold value of a first instance erased cell,
The memory management circuitry is also used to the reading interference threshold according to the first instance erased cell Value, performs one and prevents reading interference operation.
9. memorizer control circuit unit according to claim 8, it is characterised in that can according to this The status information of manifolding formula non-volatile memory module, adjusts the reading of the first instance erased cell In the running for taking interference threshold value,
The memory management circuitry is also erased counting to record the one of those each entity erased cells,
When the counting of erasing of the first instance erased cell is counted from the increase of one first count value for one second During value, the memory management circuitry is also to by the reading interference threshold value of the first instance erased cell One second threshold value is adjusted to from one first threshold value,
Wherein second count value is more than first count value, and second threshold value is less than first threshold Value.
10. memorizer control circuit unit according to claim 9, it is characterised in that according to this The reading interference threshold value of first instance erased cell, in the running for performing prevention reading interference operation,
The memory management circuitry also to judge to should first instance erased cell a first instance journey Whether one reading times of sequence unit are more than the reading interference threshold value of the first instance erased cell,
If to should first instance programmed cell the reading times be more than the first instance erased cell Reading interference threshold value when, the memory management circuitry is also erased list will be stored in the first instance A second instance erased cell among the data duplication to those entity erased cells of member.
11. memorizer control circuit unit according to claim 8, it is characterised in that according to this The status information of rewritable non-volatile memory module, adjusts being somebody's turn to do for the first instance erased cell In the running of reading interference threshold value,
The memory management circuitry is also erased counting to record the one of those each entity erased cells,
When the counting of erasing of the first instance erased cell is counted from the increase of one first count value for one second During value, the memory management circuitry is also to by the reading interference threshold value of the first instance erased cell One the 4th threshold value is adjusted to from one the 3rd threshold value,
Wherein second count value is more than first count value, and the 4th threshold value is more than the 3rd threshold value.
12. memorizer control circuit unit according to claim 11, it is characterised in that according to this The reading interference threshold value of first instance erased cell, in the running for performing prevention reading interference operation,
The memory management circuitry is also used to the first instance sequencing list from the first instance erased cell Member reads data,
The reading of the memory management circuitry also to judge to be read from the first instance programmed cell Whether the wrong bit number of data is more than the reading interference threshold value of the first instance erased cell,
If the wrong bit number of the reading data read from the first instance programmed cell is more than During the reading interference threshold value of the first instance erased cell, the memory management circuitry will be also that will deposit Store up the second instance among the data duplication to those entity erased cells of the first instance erased cell Erased cell.
13. memorizer control circuit unit according to claim 8, it is characterised in that according to this The status information of rewritable non-volatile memory module, adjusts being somebody's turn to do for the first instance erased cell In the running of reading interference threshold value,
A temperature of the memory management circuitry also to check the rewritable non-volatile memory module Degree,
The memory management circuitry is also used to the temperature according to the rewritable non-volatile memory module Adjust the reading interference threshold value of the first instance erased cell.
14. memorizer control circuit unit according to claim 13, it is characterised in that according to this The reading that the temperature of rewritable non-volatile memory module adjusts the first instance erased cell is done In the running for disturbing threshold value,
When the rewritable non-volatile memory module the temperature from the increase of one first temperature value be one the During two temperature values, the memory management circuitry is also to by the reading interference of the first instance erased cell Threshold value is adjusted to one the 6th threshold value from one the 5th threshold value,
Wherein the second temperature value is more than first temperature value, and the 6th threshold value is more than the 5th threshold value.
15. a kind of memory storage apparatus, it is characterised in that including:
One connecting interface unit, is electrically connected to a host computer system;
One rewritable non-volatile memory module, with multiple entity erased cells, those entities are smeared Except each entity erased cell among unit has multiple entity program units;And
One memorizer control circuit unit, is electrically connected to the connecting interface unit and the duplicative is non-waves Hair property memory module,
Wherein the memorizer control circuit unit is dry to be read for those each entity erased cells setting one Disturb threshold value,
The memorizer control circuit unit is also used to according to the one of the rewritable non-volatile memory module Status information, adjusts the reading interference threshold value of a first instance erased cell,
The memorizer control circuit unit is also used to the reading interference door according to the first instance erased cell Threshold value, performs one and prevents reading interference operation.
16. memory storage apparatus according to claim 15, it is characterised in that can be answered according to this The status information of formula non-volatile memory module is write, the reading of the first instance erased cell is adjusted In the running for disturbing threshold value,
The memorizer control circuit unit is also erased meter to record the one of those each entity erased cells Number,
When the counting of erasing of the first instance erased cell is counted from the increase of one first count value for one second During value, the memorizer control circuit unit is also to by the reading interference of first instance erased cell door Threshold value is adjusted to one second threshold value from one first threshold value,
Wherein second count value is more than first count value, and second threshold value is less than first threshold Value.
17. memory storage apparatus according to claim 16, it is characterised in that according to this first The reading interference threshold value of entity erased cell, in the running for performing prevention reading interference operation,
The memorizer control circuit unit also to judge to should first instance erased cell it is one first real Whether one reading times of body programmed cell are more than the reading interference threshold of the first instance erased cell Value,
If to should first instance programmed cell the reading times be more than the first instance erased cell Reading interference threshold value when, the memorizer control circuit unit is also smeared will be stored in the first instance Except the second instance erased cell among the data duplication to those entity erased cells of unit.
18. memory storage apparatus according to claim 15, it is characterised in that can be answered according to this The status information of formula non-volatile memory module is write, the reading of the first instance erased cell is adjusted In the running for disturbing threshold value,
The memorizer control circuit unit is also erased meter to record the one of those each entity erased cells Number,
When the counting of erasing of the first instance erased cell is counted from the increase of one first count value for one second During value, the memorizer control circuit unit is also to by the reading interference of first instance erased cell door Threshold value is adjusted to one the 4th threshold value from one the 3rd threshold value,
Wherein second count value is more than first count value, and the 4th threshold value is more than the 3rd threshold value.
19. memory storage apparatus according to claim 18, it is characterised in that according to this first The reading interference threshold value of entity erased cell, in the running for performing prevention reading interference operation,
The memorizer control circuit unit is also used to the first instance program from the first instance erased cell Change unit and read data,
The memorizer control circuit unit is also to judge from being somebody's turn to do that the first instance programmed cell is read Whether the wrong bit number for reading data is more than the reading interference threshold of the first instance erased cell Value,
If the wrong bit number of the reading data read from the first instance programmed cell is more than During the reading interference threshold value of the first instance erased cell, the memorizer control circuit unit is also used to One second will be stored among the data duplication to those entity erased cells of the first instance erased cell Entity erased cell.
20. memory storage apparatus according to claim 15, it is characterised in that can be answered according to this The status information of formula non-volatile memory module is write, the reading of the first instance erased cell is adjusted In the running for disturbing threshold value,
The memorizer control circuit unit is also to check the one of the rewritable non-volatile memory module Temperature,
The memorizer control circuit unit is also used to being somebody's turn to do according to the rewritable non-volatile memory module Temperature adjusts the reading interference threshold value of the first instance erased cell.
21. memory storage apparatus according to claim 20, it is characterised in that can be answered according to this The temperature for writing formula non-volatile memory module adjusts the reading interference door of the first instance erased cell In the running of threshold value,
When the rewritable non-volatile memory module the temperature from the increase of one first temperature value be one the During two temperature values, the memorizer control circuit unit is also to by the reading of the first instance erased cell Interference threshold value is adjusted to one the 6th threshold value from one the 5th threshold value,
Wherein the second temperature value is more than first temperature value, and the 6th threshold value is more than the 5th threshold value.
CN201610149646.5A 2016-03-16 2016-03-16 Memory management method, memory control circuit unit and memory storage device Active CN107204205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610149646.5A CN107204205B (en) 2016-03-16 2016-03-16 Memory management method, memory control circuit unit and memory storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610149646.5A CN107204205B (en) 2016-03-16 2016-03-16 Memory management method, memory control circuit unit and memory storage device

Publications (2)

Publication Number Publication Date
CN107204205A true CN107204205A (en) 2017-09-26
CN107204205B CN107204205B (en) 2020-05-26

Family

ID=59903714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610149646.5A Active CN107204205B (en) 2016-03-16 2016-03-16 Memory management method, memory control circuit unit and memory storage device

Country Status (1)

Country Link
CN (1) CN107204205B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078149A (en) * 2019-12-18 2020-04-28 合肥兆芯电子有限公司 Memory management method, memory storage device, and memory control circuit unit
CN112068782A (en) * 2020-09-17 2020-12-11 群联电子股份有限公司 Memory management method, memory storage device and memory control circuit unit
CN114327265A (en) * 2021-12-23 2022-04-12 群联电子股份有限公司 Read disturb check method, memory storage device, and control circuit unit
CN114765035A (en) * 2021-01-04 2022-07-19 仁宝电脑工业股份有限公司 Storage device and storage device management method
CN115185468A (en) * 2022-07-28 2022-10-14 厦门宏芯创电子有限公司 Memory management method, memory controller, and memory storage device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693758A (en) * 2011-03-22 2012-09-26 群联电子股份有限公司 Data reading method, memory storage device and memory controller thereof
US20120268995A1 (en) * 2010-02-22 2012-10-25 Panasonic Corporation Non-volatile semiconductor memory device and electronic apparatus
CN103811070A (en) * 2012-11-15 2014-05-21 北京兆易创新科技股份有限公司 High-reliability NAND Flash reading method and system
US20140173239A1 (en) * 2012-12-19 2014-06-19 Apple Inc. Refreshing of memory blocks using adaptive read disturb threshold
US20140219032A1 (en) * 2011-03-03 2014-08-07 Micron Technology, Inc. Methods for programming a memory device and memory devices
US20140281766A1 (en) * 2013-03-13 2014-09-18 Sandisk Technologies Inc. Probability-based remedial action for read disturb effects
CN204332379U (en) * 2014-07-17 2015-05-13 威盛电子股份有限公司 Memory controller and solid-state drive for non-volatile memory
CN104766629A (en) * 2014-01-07 2015-07-08 北京兆易创新科技股份有限公司 Method for enhancing reliability of NAND type FLASH
CN104866429A (en) * 2014-02-26 2015-08-26 群联电子股份有限公司 Memory management method, memory control circuit unit and memory storage device
CN105023609A (en) * 2014-04-21 2015-11-04 群联电子股份有限公司 Data writing method, memory control circuit unit and memory storage device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120268995A1 (en) * 2010-02-22 2012-10-25 Panasonic Corporation Non-volatile semiconductor memory device and electronic apparatus
US20140219032A1 (en) * 2011-03-03 2014-08-07 Micron Technology, Inc. Methods for programming a memory device and memory devices
CN102693758A (en) * 2011-03-22 2012-09-26 群联电子股份有限公司 Data reading method, memory storage device and memory controller thereof
CN103811070A (en) * 2012-11-15 2014-05-21 北京兆易创新科技股份有限公司 High-reliability NAND Flash reading method and system
US20140173239A1 (en) * 2012-12-19 2014-06-19 Apple Inc. Refreshing of memory blocks using adaptive read disturb threshold
US20140281766A1 (en) * 2013-03-13 2014-09-18 Sandisk Technologies Inc. Probability-based remedial action for read disturb effects
CN104766629A (en) * 2014-01-07 2015-07-08 北京兆易创新科技股份有限公司 Method for enhancing reliability of NAND type FLASH
CN104866429A (en) * 2014-02-26 2015-08-26 群联电子股份有限公司 Memory management method, memory control circuit unit and memory storage device
CN105023609A (en) * 2014-04-21 2015-11-04 群联电子股份有限公司 Data writing method, memory control circuit unit and memory storage device
CN204332379U (en) * 2014-07-17 2015-05-13 威盛电子股份有限公司 Memory controller and solid-state drive for non-volatile memory

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078149A (en) * 2019-12-18 2020-04-28 合肥兆芯电子有限公司 Memory management method, memory storage device, and memory control circuit unit
CN111078149B (en) * 2019-12-18 2023-09-26 合肥兆芯电子有限公司 Memory management method, memory storage device and memory control circuit unit
CN112068782A (en) * 2020-09-17 2020-12-11 群联电子股份有限公司 Memory management method, memory storage device and memory control circuit unit
CN112068782B (en) * 2020-09-17 2023-07-25 群联电子股份有限公司 Memory management method, memory storage device and memory control circuit unit
CN114765035A (en) * 2021-01-04 2022-07-19 仁宝电脑工业股份有限公司 Storage device and storage device management method
CN114327265A (en) * 2021-12-23 2022-04-12 群联电子股份有限公司 Read disturb check method, memory storage device, and control circuit unit
CN114327265B (en) * 2021-12-23 2023-05-30 群联电子股份有限公司 Read interference checking method, memory storage device and control circuit unit
CN115185468A (en) * 2022-07-28 2022-10-14 厦门宏芯创电子有限公司 Memory management method, memory controller, and memory storage device

Also Published As

Publication number Publication date
CN107204205B (en) 2020-05-26

Similar Documents

Publication Publication Date Title
TWI587304B (en) Memory managing method, memory control circuit unit and mempry storage apparatus
TWI681295B (en) Memory management method, memory control circuit unit and memory storage device
CN104765568B (en) Data storage method, memory control circuit unit and memory storage device
CN104423888B (en) Data writing method, memory control circuit unit and memory storage device
TWI490871B (en) Method for preventing read-disturb, memory control circuit unit and memory storage apparatus
CN106469122B (en) Effective data combination method, memory controller and memory storage device
CN104765569B (en) Data writing method, memory control circuit unit and memory storage device
TWI536166B (en) Memory management method, memory control circuit unit and memry storage apparatus
CN105320464B (en) Method for preventing read interference, memory control circuit unit and memory device
CN113885808B (en) Mapping information recording method, memory control circuit unit and memory device
TWI656531B (en) Average wear method, memory control circuit unit and memory storage device
TWI582776B (en) Data writing method, memory control circuit unit and memory storage apparatus
CN104866429A (en) Memory management method, memory control circuit unit and memory storage device
CN107204205B (en) Memory management method, memory control circuit unit and memory storage device
CN106814968B (en) Memory management method and system and memory storage device thereof
CN105988950A (en) Memory management method, memory control circuit unit and memory storage device
CN104636267A (en) Memory control method, memory storage device and memory control circuit unit
CN107045890B (en) Data protection method, memory control circuit unit and memory storage device
TWI509615B (en) Data storing method, and memory controller and memory storage apparatus using the same
CN113138720B (en) Data storage method, memory control circuit unit and memory storage device
US12147674B1 (en) Memory control method, memory storage device and memory control circuit unit
CN109273033B (en) Memory management method, memory control circuit unit and memory storage device
CN106959818A (en) Data writing method, memory control circuit unit and memory storage device
CN107103930B (en) Data writing method, memory control circuit unit and memory storage device
TWI635495B (en) Data writing method, memory control circuit unit and memory storage apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant