[go: up one dir, main page]

CN104898982B - Data transmission method, memory control circuit unit and memory storage device - Google Patents

Data transmission method, memory control circuit unit and memory storage device Download PDF

Info

Publication number
CN104898982B
CN104898982B CN201410075692.6A CN201410075692A CN104898982B CN 104898982 B CN104898982 B CN 104898982B CN 201410075692 A CN201410075692 A CN 201410075692A CN 104898982 B CN104898982 B CN 104898982B
Authority
CN
China
Prior art keywords
value
threshold value
temperature
data
memorizer
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.)
Active
Application number
CN201410075692.6A
Other languages
Chinese (zh)
Other versions
CN104898982A (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 CN201410075692.6A priority Critical patent/CN104898982B/en
Publication of CN104898982A publication Critical patent/CN104898982A/en
Application granted granted Critical
Publication of CN104898982B publication Critical patent/CN104898982B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Read Only Memory (AREA)

Abstract

本发明提供一种数据传输方法、存储器控制电路单元与存储器储存装置,本方法包括:初始地设定第一门槛值与第一累加值;并且每隔第一预先定义时间,通过将第一门槛值加上第一累加值以更新第一门槛值。此外,当所检测的存储器储存装置的温度大于或等于温度门槛值时,判断所接收的写入数据的大小是否大于或等于第一门槛值;并且若非,则将写入数据写入至可复写式非易失性存储器模块并且通过将第一门槛值减去写入数据的大小以更新第一门槛值。反之,则不将写入数据写入至可复写式非易失性存储器模块。基此,本方法可有效地避免存储器储存装置运作时所造成的系统过热现象。

The present invention provides a data transmission method, a memory control circuit unit and a memory storage device. The method includes: initially setting a first threshold value and a first accumulated value; and updating the first threshold value by adding the first accumulated value to the first threshold value at a first predetermined time interval. In addition, when the temperature of the detected memory storage device is greater than or equal to the temperature threshold value, it is determined whether the size of the received write data is greater than or equal to the first threshold value; and if not, the write data is written to a rewritable non-volatile memory module and the first threshold value is subtracted from the size of the write data to update the first threshold value. Otherwise, the write data is not written to the rewritable non-volatile memory module. Based on this, the method can effectively avoid system overheating caused by the operation of the memory storage device.

Description

数据传输方法、存储器控制电路单元与存储器储存装置Data transmission method, memory control circuit unit and memory storage device

技术领域technical field

本发明是有关于一种数据传输方法,且特别是有关于一种数据传输方法、存储器控制电路单元与存储器储存装置。The present invention relates to a data transmission method, and in particular to a data transmission method, a memory control circuit unit and a memory storage device.

背景技术Background technique

数码相机、手机与MP3在这几年来的成长十分迅速,使得消费者对储存媒体的需求也急速增加。由于可复写式非易失性存储器(rewritable non-volatile memory)具有数据非易失性、省电、体积小、无机械结构、读写速度快等特性,因此,近年可复写式非易失性存储器产业成为电子产业中相当热门的一环。例如,以快闪存储器作为储存媒体的固态硬盘(Solid-state drive)已广泛应用作为电脑主机的硬盘,以提升电脑的存取效能。Digital cameras, mobile phones, and MP3 players have grown rapidly in recent years, making consumers' demand for storage media also increase rapidly. Since rewritable non-volatile memory (rewritable non-volatile memory) has the characteristics of data non-volatility, power saving, small size, no mechanical structure, fast read and write speed, etc., in recent years, rewritable non-volatile memory The memory industry has become a very popular part of the electronics industry. For example, a solid-state drive using flash memory as a storage medium has been widely used as a hard disk of a computer host to improve the access performance of the computer.

此外,由于当此类具有可复写式非易失性存储器的存储器储存装置处于高速运作时,例如,执行大量数据的写入与读取时,需要消耗大量的能源并且产生大量的热量,因此容易造成存储器储存装置温度过高,而使其存取效率降低亦或是造成其损毁。基此,在兼顾存储器储存装置的存取效能与执行性能下,为了避免存储器储存装置运作时所造成的系统过热现象,维持系统产热与散热平衡即成为电脑系统工作效能不断提升下,不可或缺的重要课题。In addition, since such a memory storage device with a rewritable non-volatile memory is operating at a high speed, for example, when writing and reading a large amount of data, it needs to consume a lot of energy and generate a lot of heat, so it is easy to Cause the temperature of the memory storage device to be too high, reduce its access efficiency or cause its damage. Based on this, while taking into account the access performance and execution performance of the memory storage device, in order to avoid the system overheating phenomenon caused by the operation of the memory storage device, maintaining the balance of heat generation and heat dissipation of the system is an unavoidable task for the continuous improvement of the computer system's working performance. missing important issues.

发明内容Contents of the invention

本发明提供一种数据传输方法、存储器控制电路单元与存储器储存装置,其能够有效地减少功率消耗,进而使存储器储存装置的热的产生与散热达到稳定状态。The invention provides a data transmission method, a memory control circuit unit and a memory storage device, which can effectively reduce power consumption, and further make the heat generation and heat dissipation of the memory storage device reach a stable state.

本发明的一实施例提出一种用于具有可复写式非易失性存储器模块的存储器储存装置的数据传输方法,本数据传输方法包括:(a)初始地设定第一门槛值与第一累加值;(b)每隔一第一预先定义时间,通过将第一门槛值加上第一累加值以更新第一门槛值;(c)接收写入数据;(d)检测存储器储存装置的温度;(e)判断存储器储存装置的温度是否大于或等于温度门槛值,其中倘若存储器储存装置的温度非大于或等于温度门槛值时,执行步骤(f)并且倘若存储器储存装置的温度大于或等于温度门槛值时,执行步骤(g);(f)将写入数据写入至可复写式非易失性存储器模块;(g)判断写入数据的大小是否大于或等于第一门槛值,其中倘若写入数据的大小非大于或等于第一门槛值时,执行步骤(h)并且倘若写入数据的大小大于或等于第一门槛值时,执行步骤(i);(h)为将写入数据写入至可复写式非易失性存储器模块并且通过将第一门槛值减去写入数据的大小以更新第一门槛值;以及(i)为不将写入数据写入至可复写式非易失性存储器模块并且于第一预设时间之后重新执行步骤(g)。An embodiment of the present invention proposes a data transmission method for a memory storage device with a rewritable non-volatile memory module. The data transmission method includes: (a) initially setting the first threshold and the first Accumulated value; (b) update the first threshold value by adding the first accumulated value to the first threshold value at intervals of a first predetermined time; (c) receive write data; (d) detect memory storage device temperature; (e) determining whether the temperature of the memory storage device is greater than or equal to the temperature threshold, wherein if the temperature of the memory storage device is not greater than or equal to the temperature threshold, step (f) is performed and if the temperature of the memory storage device is greater than or equal to When the temperature threshold value is reached, perform step (g); (f) write the written data to the rewritable non-volatile memory module; (g) determine whether the size of the written data is greater than or equal to the first threshold value, wherein If the size of the written data is not greater than or equal to the first threshold value, perform step (h) and if the size of the written data is greater than or equal to the first threshold value, perform step (i); (h) is to write Writing data to the rewritable non-volatile memory module and updating the first threshold by subtracting the size of the written data from the first threshold; and (i) not writing the written data to the rewritable The non-volatile memory module re-executes step (g) after the first preset time.

在本发明的一实施例中,上述设定第一累加值的步骤包括:倘若此存储器储存装置的温度非大于或等于温度门槛值时,以第一值来设定第一累加值;以及倘若存储器储存装置的温度大于或等于温度门槛值时,以第二值来设定第一累加值。特别是,第一值大于第二值。In an embodiment of the present invention, the step of setting the first accumulation value includes: if the temperature of the memory storage device is not greater than or equal to the temperature threshold value, setting the first accumulation value with the first value; and if When the temperature of the memory storage device is greater than or equal to the temperature threshold value, the first accumulation value is set with the second value. In particular, the first value is greater than the second value.

在本发明的一实施例中,上述每隔第一预先定义时间,初始地设定最大数据量值;通过将第一门槛值加上第一累加值以更新第一门槛值的步骤包括:将第一门槛值加上第一累加值以获得一更新值;倘若存储器储存装置的温度非大于或等于温度门槛值时,以此更新值来更新第一门槛值;倘若存储器储存装置的温度大于或等于温度门槛值时,判断此更新值是否大于或等于最大数据量值;倘若此更新值非大于或等于最大数据量值时,以此更新值来更新第一门槛值;以及倘若此更新值大于或等于最大数据量值时,以最大数据量值来更新第一门槛值。In an embodiment of the present invention, the above-mentioned maximum data volume value is initially set every first predefined time; the step of updating the first threshold value by adding the first accumulated value to the first threshold value includes: Add the first accumulated value to the first threshold value to obtain an update value; if the temperature of the memory storage device is not greater than or equal to the temperature threshold value, update the first threshold value with the update value; if the temperature of the memory storage device is greater than or equal to When it is equal to the temperature threshold value, judge whether the update value is greater than or equal to the maximum data volume value; if the update value is not greater than or equal to the maximum data volume value, use this update value to update the first threshold value; and if the update value is greater than Or when it is equal to the maximum data volume value, update the first threshold value with the maximum data volume value.

在本发明的一实施例中,当存储器储存装置的温度非大于或等于温度门槛值时,第一门槛值是大于或等于最大数据量值。In an embodiment of the present invention, when the temperature of the memory storage device is not greater than or equal to the temperature threshold, the first threshold is greater than or equal to the maximum data volume.

在本发明的一实施例中,上述的数据传输方法还包括:(j)初始地设定第二门槛值与第二累加值;(k)每隔一第二预先定义时间,通过将第二门槛值加上第二累加值以更新第二门槛值;(l)接收一读取指令;(m)检测存储器储存装置的温度;(n)判断存储器储存装置的温度是否大于或等于温度门槛值,其中倘若温度非大于或等于温度门槛值时,执行步骤(o)并且倘若温度大于或等于温度门槛值时,执行步骤(p);(o)从可复写式非易失性存储器模块读取对应此读取指令的读取数据;以及(p)判断欲从可复写式非易失性存储器模块读取的读取数据的大小是否大于或等于第二门槛值,倘若读取数据的大小非大于或等于第二门槛值时,执行步骤(q)并且倘若读取数据的大小大于或等于第二门槛值时,执行步骤(r);其中步骤(q)为从可复写式非易失性存储器模块读取对应此读取指令的读取数据并且通过将第二门槛值减去读取数据的大小以更新第二门槛值;以及步骤(r)为不从可复写式非易失性存储器模块中读取此读取数据并且在第二预设时间之后重新执行步骤(p)。In an embodiment of the present invention, the above-mentioned data transmission method further includes: (j) initially setting the second threshold value and the second accumulation value; (k) every second predetermined time, by setting the second Adding the second accumulated value to the threshold value to update the second threshold value; (l) receiving a read command; (m) detecting the temperature of the memory storage device; (n) judging whether the temperature of the memory storage device is greater than or equal to the temperature threshold value , wherein if the temperature is not greater than or equal to the temperature threshold value, perform step (o) and if the temperature is greater than or equal to the temperature threshold value, perform step (p); (o) read from the rewritable non-volatile memory module The read data corresponding to the read command; and (p) judging whether the size of the read data to be read from the rewritable non-volatile memory module is greater than or equal to the second threshold value, if the size of the read data is not When greater than or equal to the second threshold value, perform step (q) and if the size of the read data is greater than or equal to the second threshold value, perform step (r); wherein step (q) is from the rewritable non-volatile The memory module reads the read data corresponding to the read instruction and updates the second threshold value by subtracting the size of the read data from the second threshold value; and step (r) is not from the rewritable non-volatile memory The read data is read in the module and step (p) is re-executed after a second preset time.

在本发明的一实施例中,上述设定第二累加值的步骤包括:倘若此存储器储存装置的温度非大于或等于温度门槛值时,以第三值来设定第二累加值;以及倘若存储器储存装置的温度大于或等于温度门槛值时,以第四值来设定第二累加值。特别是,第三值大于第四值。In an embodiment of the present invention, the step of setting the second accumulated value includes: if the temperature of the memory storage device is not greater than or equal to the temperature threshold value, setting the second accumulated value with a third value; and if When the temperature of the memory storage device is greater than or equal to the temperature threshold value, the second accumulation value is set with the fourth value. In particular, the third value is greater than the fourth value.

本发明一实施例提供一种存储器控制电路单元,用于控制存储器储存装置的可复写式非易失性存储器模块,此存储器控制电路单元包括:用以耦接至主机系统的主机接口;用以耦接至可复写式非易失性存储器模块的存储器接口;以及耦接至主机接口与存储器接口的存储器管理电路。存储器管理电路会初始地设定第一门槛值与第一累加值,并且每隔一预先定义时间,通过将第一门槛值加上第一累加值以更新第一门槛值。其中存储器管理电路还用以接收写入数据;其中存储器管理电路还用以检测存储器储存装置的温度并且判断存储器储存装置的温度是否大于或等于温度门槛值;倘若存储器储存装置的温度非大于或等于温度门槛值时,存储器管理电路会发送一第一指令序列(command sequence),此第一指令序列用以指示执行一数据写入运作,以将写入数据写入至可复写式非易失性存储器模块;倘若存储器储存装置的温度大于或等于温度门槛值时,存储器管理电路还用以执行第一数据量判断运作,以判断写入数据的大小是否大于或等于第一门槛值;倘若写入数据的大小非大于或等于第一门槛值时,存储器管理电路会发送第一指令序列,此第一指令序列用以指示执行数据写入运作,以将写入数据写入至可复写式非易失性存储器模块并且通过将第一门槛值减去写入数据的大小以更新第一门槛值;倘若写入数据的大小非大于或等于第一门槛值时,存储器管理电路会执行暂停写入运作,以不将写入数据写入至可复写式非易失性存储器模块并且在一预设时间之后重新执行上述第一数据量判断运作。An embodiment of the present invention provides a memory control circuit unit for controlling a rewritable non-volatile memory module of a memory storage device. The memory control circuit unit includes: a host interface for coupling to a host system; a memory interface coupled to the rewritable non-volatile memory module; and a memory management circuit coupled to the host interface and the memory interface. The memory management circuit initially sets the first threshold value and the first accumulated value, and updates the first threshold value by adding the first accumulated value to the first threshold value at intervals of a predefined time. The memory management circuit is also used to receive write data; the memory management circuit is also used to detect the temperature of the memory storage device and determine whether the temperature of the memory storage device is greater than or equal to the temperature threshold; if the temperature of the memory storage device is not greater than or equal to When the temperature threshold is reached, the memory management circuit will send a first command sequence, and the first command sequence is used to instruct to execute a data write operation, so as to write the write data into the rewritable non-volatile Memory module; if the temperature of the memory storage device is greater than or equal to the temperature threshold value, the memory management circuit is also used to execute the first data amount judgment operation to determine whether the size of the written data is greater than or equal to the first threshold value; if the write When the size of the data is not greater than or equal to the first threshold value, the memory management circuit will send the first command sequence, and the first command sequence is used to instruct the execution of the data write operation, so as to write the write data into the rewritable non-volatile The volatile memory module updates the first threshold value by subtracting the size of the written data from the first threshold value; if the size of the written data is not greater than or equal to the first threshold value, the memory management circuit will perform a suspend write operation , so as not to write the write data into the rewritable non-volatile memory module and re-execute the above-mentioned first data amount judging operation after a preset time.

在本发明的一实施例中,上述在设定第一累加值的运作中,存储器管理电路会检测存储器储存装置的温度,并且判断存储器储存装置的温度是否大于或等于温度门槛值;倘若存储器储存装置的温度非大于或等于温度门槛值时,存储器管理电路会以第一值来设定第一累加值,以及倘若存储器储存装置的温度大于或等于温度门槛值时,存储器管理电路会以第二值来设定第一累加值,其中第一值大于第二值。In an embodiment of the present invention, in the above-mentioned operation of setting the first accumulation value, the memory management circuit will detect the temperature of the memory storage device, and determine whether the temperature of the memory storage device is greater than or equal to the temperature threshold value; When the temperature of the device is not greater than or equal to the temperature threshold value, the memory management circuit will set the first accumulated value with the first value, and if the temperature of the memory storage device is greater than or equal to the temperature threshold value, the memory management circuit will set the first accumulated value with the second value value to set the first accumulated value, where the first value is greater than the second value.

在本发明的一实施例中,上述每隔第一预先定义时间,通过将第一门槛值加上第一累加值以更新第一门槛值的运作中,存储器管理电路会初始地设定最大数据量值并且将第一门槛值加上第一累加值以获得一更新值,其中倘若存储器储存装置的温度非大于或等于温度门槛值时,存储器管理电路会以更新值来更新第一门槛值,反之,倘若存储器储存装置的温度大于或等于温度门槛值时,存储器管理电路会判断此更新值是否大于或等于最大数据量值;其中倘若此更新值非大于或等于最大数据量值时,存储器管理电路会以此更新值来更新第一门槛值;以及倘若此更新值大于或等于最大数据量值时,存储器管理电路会以最大数据量值来更新第一门槛值。In an embodiment of the present invention, in the operation of updating the first threshold value by adding the first accumulated value to the first threshold value every first predetermined time, the memory management circuit will initially set the maximum data and adding the first threshold value to the first accumulation value to obtain an update value, wherein if the temperature of the memory storage device is not greater than or equal to the temperature threshold value, the memory management circuit will update the first threshold value with the update value, On the contrary, if the temperature of the memory storage device is greater than or equal to the temperature threshold value, the memory management circuit will judge whether the update value is greater than or equal to the maximum data volume value; wherein if the update value is not greater than or equal to the maximum data volume value, the memory management circuit The circuit updates the first threshold value with the update value; and if the update value is greater than or equal to the maximum data volume value, the memory management circuit updates the first threshold value with the maximum data volume value.

在本发明的一实施例中,当存储器储存装置的温度非大于或等于温度门槛值时,第一门槛值是大于或等于最大数据量值。In an embodiment of the present invention, when the temperature of the memory storage device is not greater than or equal to the temperature threshold, the first threshold is greater than or equal to the maximum data volume.

在本发明的一实施例中,上述存储器管理电路还用以初始地设定第二门槛值与第二累加值,并且每隔第二预先定义时间,通过将第二门槛值加上第二累加值以更新第二门槛值。其中存储器管理电路还用以从主机系统接收一读取指令以及检测存储器储存装置的温度并且判断存储器储存装置的温度是否大于或等于温度门槛值;倘若存储器储存装置的温度非大于或等于温度门槛值时,存储器管理电路会发送第二指令序列,此第二指令序列用以指示执行数据读取运作,以从可复写式非易失性存储器模块读取对应此读取指令的读取数据;倘若存储器储存装置的温度大于或等于温度门槛值时,存储器管理电路还用以执行第二数据量判断运作,以判断欲从可复写式非易失性存储器模块读取的读取数据的大小是否大于或等于第二门槛值。倘若读取数据的大小非大于或等于第二门槛值时,存储器管理电路会发送第二指令序列,此第二指令序列用以指示执行数据读取运作,以从可复写式非易失性存储器模块读取对应此读取指令的读取数据并且通过将第二门槛值减去读取数据的大小以更新第二门槛值,以及倘若读取数据的大小大于或等于第二门槛值时,存储器管理电路会执行暂停读取运作,以不从可复写式非易失性存储器模块中读取此读取数据并且在一第二预设时间之后重新执行上述第二数据量判断运作。In an embodiment of the present invention, the above-mentioned memory management circuit is also used to initially set the second threshold value and the second accumulation value, and every second predetermined time, by adding the second threshold value to the second accumulation value value to update the second threshold. Wherein the memory management circuit is also used for receiving a read command from the host system and detecting the temperature of the memory storage device and judging whether the temperature of the memory storage device is greater than or equal to the temperature threshold value; if the temperature of the memory storage device is not greater than or equal to the temperature threshold value , the memory management circuit will send a second command sequence, and the second command sequence is used to instruct the execution of a data read operation, so as to read the read data corresponding to the read command from the rewritable non-volatile memory module; if When the temperature of the memory storage device is greater than or equal to the temperature threshold value, the memory management circuit is also used to perform a second data amount judgment operation to judge whether the size of the read data to be read from the rewritable non-volatile memory module is greater than or equal to the second threshold. If the size of the read data is not greater than or equal to the second threshold value, the memory management circuit will send a second command sequence, and the second command sequence is used to instruct to execute a data read operation to read data from the rewritable non-volatile memory The module reads the read data corresponding to the read instruction and updates the second threshold by subtracting the size of the read data from the second threshold, and if the size of the read data is greater than or equal to the second threshold, the memory The management circuit executes the suspend read operation, so as not to read the read data from the rewritable non-volatile memory module, and re-executes the above-mentioned second data amount judgment operation after a second preset time.

在本发明的一实施例中,上述在设定第二累加值的运作中,存储器管理电路会检测存储器储存装置的温度,并且判断存储器储存装置的温度是否大于或等于温度门槛值;倘若存储器储存装置的温度非大于或等于温度门槛值时,存储器管理电路会以第三值来设定第二累加值,以及倘若存储器储存装置的温度大于或等于温度门槛值时,存储器管理电路会以第四值来设定第二累加值,其中第三值大于第四值。In an embodiment of the present invention, in the above-mentioned operation of setting the second accumulated value, the memory management circuit will detect the temperature of the memory storage device, and determine whether the temperature of the memory storage device is greater than or equal to the temperature threshold value; When the temperature of the device is not greater than or equal to the temperature threshold value, the memory management circuit will set the second accumulated value with the third value, and if the temperature of the memory storage device is greater than or equal to the temperature threshold value, the memory management circuit will set the second accumulated value with the fourth value value to set the second accumulated value, where the third value is greater than the fourth value.

本发明的一实施例提供一种存储器储存装置,其包括:用以耦接至主机系统的连接器、可复写式非易失性存储器模块与存储器控制电路单元。存储器控制电路单元耦接至连接器与可复写式非易失性存储器模块,并且初始地设定第一门槛值与第一累加值,并且每隔一预先定义时间,通过将第一门槛值加上第一累加值以更新第一门槛值。存储器控制电路单元还用以接收写入数据以及检测存储器储存装置的温度并且判断存储器储存装置的温度是否大于或等于温度门槛值;倘若存储器储存装置的温度非大于或等于温度门槛值时,存储器控制电路单元会发送第一指令序列,此第一指令序列用以指示执行数据写入运作,以将写入数据写入至可复写式非易失性存储器模块;倘若存储器储存装置的温度大于或等于温度门槛值时,存储器控制电路单元会执行第一数据量判断运作,以判断写入数据的大小是否大于或等于第一门槛值;倘若写入数据的大小非大于或等于第一门槛值时,存储器控制电路单元会发送第一指令序列,此第一指令序列用以指示执行数据写入运作,以将写入数据写入至可复写式非易失性存储器模块并且通过将第一门槛值减去写入数据的大小以更新第一门槛值;以及倘若写入数据的大小非大于或等于第一门槛值时,存储器控制电路单元执行一暂停写入运作,以不将写入数据写入至可复写式非易失性存储器模块并且在一预设时间之后重新执行上述第一数据量判断运作。An embodiment of the present invention provides a memory storage device, which includes: a connector for coupling to a host system, a rewritable non-volatile memory module, and a memory control circuit unit. The memory control circuit unit is coupled to the connector and the rewritable non-volatile memory module, and initially sets the first threshold value and the first accumulation value, and at intervals of a predefined time, by adding the first threshold value Up the first accumulated value to update the first threshold value. The memory control circuit unit is also used to receive write data and detect the temperature of the memory storage device and determine whether the temperature of the memory storage device is greater than or equal to the temperature threshold; if the temperature of the memory storage device is not greater than or equal to the temperature threshold, the memory control The circuit unit will send a first command sequence, and the first command sequence is used to instruct the execution of a data write operation to write the write data into the rewritable non-volatile memory module; if the temperature of the memory storage device is greater than or equal to When the temperature threshold value is reached, the memory control circuit unit will perform a first data volume judgment operation to determine whether the size of the written data is greater than or equal to the first threshold value; if the size of the written data is not greater than or equal to the first threshold value, The memory control circuit unit will send a first command sequence, and the first command sequence is used to instruct to execute a data writing operation, so as to write the write data into the rewritable non-volatile memory module and by subtracting the first threshold value the size of the written data to update the first threshold value; and if the size of the written data is not greater than or equal to the first threshold value, the memory control circuit unit executes a suspend writing operation so as not to write the written data into The rewritable non-volatile memory module re-executes the above-mentioned first data amount judging operation after a preset time.

在本发明的一实施例中,上述在设定第一累加值的运作中,倘若存储器储存装置的温度非大于或等于温度门槛值时,存储器控制电路单元会以第一值来设定第一累加值,以及倘若存储器储存装置的温度大于或等于温度门槛值时,存储器控制电路单元会以第二值来设定第一累加值。其中第一值大于第二值。In an embodiment of the present invention, in the operation of setting the first accumulative value, if the temperature of the memory storage device is not greater than or equal to the temperature threshold value, the memory control circuit unit will set the first accumulated value with the first value. The accumulative value, and if the temperature of the memory storage device is greater than or equal to the temperature threshold value, the memory control circuit unit will set the first accumulative value with the second value. Wherein the first value is greater than the second value.

在本发明的一实施例中,上述每隔第一预先定义时间,通过将第一门槛值加上第一累加值以更新第一门槛值的运作中,存储器控制电路单元会初始地设定最大数据量值并且将第一门槛值加上第一累加值以获得一更新值,其中倘若存储器储存装置的温度非大于或等于温度门槛值时,存储器控制电路单元会以更新值来更新第一门槛值;反之,倘若存储器储存装置的温度大于或等于温度门槛值时,存储器控制电路单元会判断此更新值是否大于或等于最大数据量值;其中倘若此更新值非大于或等于最大数据量值时,存储器控制电路单元会以此更新值来更新第一门槛值,以及倘若此更新值大于或等于最大数据量值时,存储器控制电路单元会以最大数据量值来更新第一门槛值。In an embodiment of the present invention, in the operation of updating the first threshold value by adding the first accumulated value to the first threshold value every first predetermined time, the memory control circuit unit initially sets the maximum and adding the first threshold value to the first accumulation value to obtain an update value, wherein if the temperature of the memory storage device is not greater than or equal to the temperature threshold value, the memory control circuit unit will update the first threshold with the update value value; on the contrary, if the temperature of the memory storage device is greater than or equal to the temperature threshold value, the memory control circuit unit will judge whether the update value is greater than or equal to the maximum data volume value; wherein if the update value is not greater than or equal to the maximum data volume value , the memory control circuit unit updates the first threshold value with the update value, and if the update value is greater than or equal to the maximum data volume value, the memory control circuit unit updates the first threshold value with the maximum data volume value.

在本发明的一实施例中,上述存储器储存装置的温度非大于或等于温度门槛值时,第一门槛值大于或等于最大数据量值。In an embodiment of the present invention, when the temperature of the memory storage device is not greater than or equal to the temperature threshold, the first threshold is greater than or equal to the maximum data volume.

在本发明的一实施例中,上述存储器控制电路单元还用以初始地设定第二门槛值与第二累加值,并且每隔第二预先定义时间,通过将第二门槛值加上第二累加值以更新第二门槛值。存储器控制电路单元还用以从主机系统接收一读取指令以及检测存储器储存装置的温度并且判断存储器储存装置的温度是否大于或等于温度门槛值;倘若存储器控制电路单元的温度非大于或等于温度门槛值时,存储器控制电路单元会发送第二指令序列,此第二指令序列用以指示执行数据读取运作,以从可复写式非易失性存储器模块读取对应此读取指令的读取数据;倘若存储器储存装置的温度大于或等于温度门槛值时,存储器控制电路单元会执行第二数据量判断运作,以判断欲从可复写式非易失性存储器模块读取的读取数据的大小是否大于或等于第二门槛值,其中倘若读取数据的大小非大于或等于第二门槛值时,存储器控制电路单元会发送第二指令序列,此第二指令序列用以指示执行数据读取运作,以从可复写式非易失性存储器模块读取对应此读取指令的读取数据并且通过将第二门槛值减去读取数据的大小以更新第二门槛值,以及倘若读取数据的大小大于或等于第二门槛值时,存储器控制电路单元会执行暂停读取运作,以不从可复写式非易失性存储器模块中读取此读取数据并且在第二预设时间之后重新执行上述第二数据量判断运作。In an embodiment of the present invention, the above-mentioned memory control circuit unit is also used to initially set the second threshold value and the second accumulation value, and every second predefined time, by adding the second threshold value to the second The values are accumulated to update the second threshold. The memory control circuit unit is also used to receive a read command from the host system and detect the temperature of the memory storage device and determine whether the temperature of the memory storage device is greater than or equal to the temperature threshold; if the temperature of the memory control circuit unit is not greater than or equal to the temperature threshold value, the memory control circuit unit will send a second command sequence, and the second command sequence is used to instruct the execution of a data read operation to read the read data corresponding to the read command from the rewritable non-volatile memory module ; If the temperature of the memory storage device is greater than or equal to the temperature threshold value, the memory control circuit unit will perform a second data amount judgment operation to judge whether the size of the read data to be read from the rewritable non-volatile memory module is greater than or equal to the second threshold value, wherein if the size of the read data is not greater than or equal to the second threshold value, the memory control circuit unit will send a second command sequence, and the second command sequence is used to instruct the execution of the data read operation, Read the read data corresponding to the read command from the rewritable non-volatile memory module and update the second threshold by subtracting the size of the read data from the second threshold, and if the size of the read data When greater than or equal to the second threshold value, the memory control circuit unit will execute the suspend read operation, so as not to read the read data from the rewritable non-volatile memory module and re-execute the above-mentioned operation after the second preset time The second data amount judgment operation.

在本发明的一实施例中,上述在设定第二累加值的运作中,倘若存储器储存装置的温度非大于或等于温度门槛值时,存储器控制电路单元会以第三值来设定第二累加值,以及倘若存储器储存装置的温度大于或等于温度门槛值时,存储器控制电路单元会以第四值来设定第二累加值。其中第三值大于第四值。In an embodiment of the present invention, in the operation of setting the second accumulated value, if the temperature of the memory storage device is not greater than or equal to the temperature threshold value, the memory control circuit unit will set the second accumulative value with the third value. The accumulative value, and if the temperature of the memory storage device is greater than or equal to the temperature threshold value, the memory control circuit unit will set the second accumulative value with the fourth value. Wherein the third value is greater than the fourth value.

基于上述,上述实施例的数据传输方法、存储器控制电路单元与存储器储存装置在存储器储存装置之温度上升至门槛时,可有效地控制数据存取的速率,进而减少功率的消耗,由此避免因不断地存取大量数据而造成之存储器储存系统过热的情况。Based on the above, the data transmission method, the memory control circuit unit and the memory storage device of the above-mentioned embodiments can effectively control the rate of data access when the temperature of the memory storage device rises to a threshold, thereby reducing power consumption, thus avoiding The overheating of the memory storage system caused by continuous access to large amounts of data.

为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合附图作详细说明如下。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

图1A是根据本发明第一实施例所示出的主机系统与存储器储存装置的示意图;FIG. 1A is a schematic diagram of a host system and a memory storage device according to a first embodiment of the present invention;

图1B是根据本发明实施例所示出的电脑、输入/输出装置与存储器储存装置的示意图;1B is a schematic diagram of a computer, an input/output device and a memory storage device according to an embodiment of the present invention;

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

图2是示出图1A所示的存储器储存装置的结构示意图;FIG. 2 is a schematic structural view showing the memory storage device shown in FIG. 1A;

图3是根据本发明第一实施例所示出的存储器控制电路单元的结构示意图;3 is a schematic structural diagram of a memory control circuit unit according to a first embodiment of the present invention;

图4是根据本发明第一实施例所示出的写入数据传输方法流程图;FIG. 4 is a flowchart of a write data transmission method according to the first embodiment of the present invention;

图5是根据本发明第一实施例所示出的读取数据传输方法流程图;FIG. 5 is a flowchart of a method for reading data transmission according to the first embodiment of the present invention;

图6是根据本发明第一实施例所示出的更新门槛值的步骤的流程图;Fig. 6 is a flow chart showing the steps of updating the threshold value according to the first embodiment of the present invention;

图7是根据本发明第二实施例所示出的动态更新累加值的写入数据传输方法流程图;Fig. 7 is a flow chart of a data transmission method for dynamically updating accumulated values according to a second embodiment of the present invention;

图8是根据本发明第二实施例所示出的动态更新累加值的读取数据传输方法流程图。Fig. 8 is a flow chart of a read data transmission method for dynamically updating an accumulated value according to a second embodiment of the present invention.

附图标记说明Explanation of reference signs

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

1100:电脑;1100: computer;

1102:微处理器;1102: microprocessor;

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

1106:输入/输出装置;1106: input/output device;

1108:系统总线;1108: system bus;

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

1202:鼠标;1202: mouse;

1204:键盘;1204: keyboard;

1206:显示器;1206: display;

1208:打印机;1208: printer;

1212:随身听;1212: Walkman;

1214:存储卡;1214: memory card;

1216:固态硬盘;1216: SSD;

1310:数码相机;1310: digital camera;

1312:SD卡;1312: SD card;

1314:MMC卡;1314: MMC card;

1316:存储棒;1316: memory stick;

1318:CF卡;1318: CF card;

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

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

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

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

106:可复写式非易失性存储器模块;106: a rewritable non-volatile memory module;

108(0)~108(R):物理删除单元;108(0)~108(R): physical deletion unit;

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

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

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

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

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

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

S401、S403、S405、S407、S409、S411、S413、S415、S417:写入数据传输方法的步骤;S401, S403, S405, S407, S409, S411, S413, S415, S417: the step of writing the data transmission method;

S501、S503、S505、S507、S509、S511、S513、S515、S517:读取数据传输方法的步骤;S501, S503, S505, S507, S509, S511, S513, S515, S517: the steps of reading the data transmission method;

S601、S603、S605、S607、S609、S611、S613:更新门槛值的步骤;S601, S603, S605, S607, S609, S611, S613: the step of updating the threshold value;

S701、S703、S705、S707、S709、S711、S713、S715、S717、S719、S721、S723、S725:动态更新累加值的写入数据传输方法的步骤;S701, S703, S705, S707, S709, S711, S713, S715, S717, S719, S721, S723, S725: the steps of the writing data transmission method for dynamically updating the accumulated value;

S801、S803、S805、S807、S809、S811、S813、S815、S817、S819、S821、S823、S825:动态更新累加值的读取数据传输方法的步骤。S801, S803, S805, S807, S809, S811, S813, S815, S817, S819, S821, S823, S825: Steps in the reading data transmission method for dynamically updating the accumulated value.

具体实施方式Detailed ways

[第一实施例][first embodiment]

一般而言,存储器储存装置(也称,存储器储存系统)包括可复写式非易失性存储器模块与控制器(也称,控制电路)。通常存储器储存装置是与主机系统一起使用,以使主机系统可将数据写入至存储器储存装置或从存储器储存装置中读取数据。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). Typically memory storage devices are used with a host system so that the host system can write data to or read data from the memory storage device.

图1A是根据本发明第一实施例所示出的主机系统与存储器储存装置的示意图,图1B是根据本发明实施例所示出的电脑、输入/输出装置与存储器储存装置的示意图,图1C是根据本发明实施例所示出的主机系统与存储器储存装置的示意图。1A is a schematic diagram of a host system and a memory storage device according to a first embodiment of the present invention; FIG. 1B is a schematic diagram of a computer, an input/output device and a memory storage device according to an embodiment of the present invention; FIG. 1C It is a schematic diagram of a host system and a memory storage device according to an embodiment of the present invention.

请参照图1A,主机系统1000一般包括电脑1100与输入/输出(input/output,简称:I/O)装置1106。电脑1100包括微处理器1102、随机存取存储器(random access memory,简称:RAM)1104、系统总线1108与数据传输接口1110。输入/输出装置1106包括如图1B的鼠标1202、键盘1204、显示器1206与打印机1208。必须了解的是,图1B所示的装置非限制输入/输出装置1106,输入/输出装置1106可还包括其他装置。Referring to FIG. 1A , the host system 1000 generally includes a computer 1100 and an input/output (input/output, I/O for short) device 1106 . The computer 1100 includes a microprocessor 1102 , a random access memory (random access memory, RAM for short) 1104 , a system bus 1108 and a data transmission interface 1110 . The input/output device 1106 includes a mouse 1202, a keyboard 1204, a monitor 1206 and a printer 1208 as shown in FIG. 1B. It must be understood that the device shown in FIG. 1B is not limited to the I/O device 1106, and the I/O device 1106 may also include other devices.

在本发明实施例中,存储器储存装置100是通过数据传输接口1110与主机系统1000的其他元件电性连接。通过微处理器1102、随机存取存储器1104与输入/输出装置1106的运作可将数据写入至存储器储存装置100或从存储器储存装置100中读取数据。例如,存储器储存装置100可以是如图1B所示的随身听1212、存储卡1214或固态硬盘(Solid StateDrive,简称:SSD)1216等的可复写式非易失性存储器储存装置。In the embodiment of the present invention, the memory storage device 100 is electrically connected with other components of the host system 1000 through the data transmission interface 1110 . Data can be written into the memory storage device 100 or read from the memory storage device 100 through the operation of the microprocessor 1102 , the random access memory 1104 and the input/output device 1106 . For example, the memory storage device 100 may be a rewritable non-volatile memory storage device such as a Walkman 1212, a memory card 1214, or a Solid State Drive (SSD for short) 1216 as shown in FIG. 1B.

一般而言,主机系统1000为可实质地与存储器储存装置100配合以储存数据的任意系统。虽然在本实施例中,主机系统1000是以电脑系统来做说明,然而,在本发明另一实施例中主机系统1000可以是数码相机、摄影机、通信装置、音频播放器或视频播放器等系统。例如,在主机系统为图1C中的数码相机(摄影机)1310时,可复写式非易失性存储器储存装置则为其所使用的SD卡1312、MMC卡1314、存储棒(memory stick)1316、CF卡1318或嵌入式储存装置1320(如图1C所示)。嵌入式储存装置1320包括嵌入式多媒体卡(Embedded MMC,简称:eMMC)。值得一提的是,嵌入式多媒体卡是直接电性连接于主机系统的基板上。In general, the host system 1000 is any system that can substantially cooperate with the memory storage device 100 to store data. Although in this embodiment, the host system 1000 is described as a computer system, however, in another embodiment of the present invention, the host system 1000 may be a system such as a digital camera, a video camera, a communication device, an audio player, or a video player. . For example, when the host computer system is the digital camera (video camera) 1310 in FIG. CF card 1318 or embedded storage device 1320 (as shown in FIG. 1C ). The embedded storage device 1320 includes an embedded multimedia card (Embedded MMC, eMMC for short). It is worth mentioning that the embedded multimedia card is directly electrically connected to the substrate of the host system.

图2是示出图1A所示的存储器储存装置的结构示意图。FIG. 2 is a schematic diagram showing the structure of the memory storage device shown in FIG. 1A .

请参照图2,存储器储存装置100包括连接接口单元102、存储器控制电路单元104与可复写式非易失性存储器模块106。Referring to FIG. 2 , the memory storage device 100 includes a connection interface unit 102 , a memory control circuit unit 104 and a rewritable non-volatile memory module 106 .

在本实施例中,连接接口单元102是相容于序列先进附件(Serial AdvancedTechnology Attachment,简称:SATA)标准。然而,必须了解的是,本发明不限于此,连接接口单元102也可以是符合并列先进附件(Parallel Advanced Technology Attachment,简称:PATA)标准、电气和电子工程师协会(Institute of Electrical and ElectronicEngineers,简称:IEEE)1394标准、高速周边零件连接接口(Peripheral ComponentInterconnect 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 Media Card,简称:MMC)接口标准、小型快闪(Compact Flash,简称:CF)接口标准、整合式驱动电子接口(Integrated Device Electronics,简称:IDE)标准或其他适合的标准。在本实施例中,连接器可与存储器控制电路单元封装在一个芯片中,或布设于一包含存储器控制电路单元的芯片外。In this embodiment, the connection interface unit 102 is compatible with the Serial Advanced Technology Attachment (SATA for short) standard. However, it must be understood that the present invention is not limited thereto, and the connection interface unit 102 may also be in compliance with Parallel Advanced Technology Attachment (Parallel Advanced Technology Attachment, referred to as: PATA) standard, Institute of Electrical and Electronic Engineers (Institute of Electrical and Electronic Engineers, referred to as: IEEE) 1394 standard, Peripheral Component Interconnect Express (referred to as: PCI Express) standard, Universal Serial Bus (referred to as: USB) standard, Ultra High Speed-I (referred to as: UHS- I) Interface standard, Ultra High Speed-II (abbreviation: UHS-II) interface standard, Secure Digital (abbreviation: SD) interface standard, memory stick (Memory Stick, abbreviation: MS) interface standard , Multi Media Card (Multi Media Card, abbreviated: MMC) interface standard, Compact Flash (abbreviated: CF) interface standard, Integrated Device Electronics (abbreviated: IDE) standard or other suitable standards . In this embodiment, the connector and the memory control circuit unit can be packaged in a chip, or arranged outside a chip including the memory control circuit unit.

存储器控制电路单元104用以执行以硬件形式或固件形式实作的多个逻辑闸或控制指令,并且根据主机系统1000的指令在可复写式非易失性存储器模块106中进行数据的写入、读取、删除与合并等运作。The memory control circuit unit 104 is used to execute a plurality of logic gates or control instructions implemented in the form of hardware or firmware, and write data in the rewritable non-volatile memory module 106 according to the instructions of the host system 1000, Read, delete, and merge operations.

可复写式非易失性存储器模块106是耦接至存储器控制电路单元104,并且用以储存主机系统1000所写入的数据。可复写式非易失性存储器模块106具有物理删除单元108(0)~108(R)。例如,物理删除单元108(0)~108(R)可属于同一个存储器晶粒(die)或者属于不同的存储器晶粒。每一物理删除单元分别具有复数个物理程序化单元,其中属于同一个物理删除单元的物理程序化单元可被独立地写入且被同时地删除。此外,每一物理删除单元可由64个物理程序化单元、256个物理程序化单元或其他任意个物理程序化单元所组成。The rewritable non-volatile memory module 106 is coupled to the memory control circuit unit 104 and used for storing data written by the host system 1000 . The rewritable nonvolatile memory module 106 has physical erasing units 108(0)˜108(R). For example, the physical deletion units 108(0)-108(R) may belong to the same memory die or belong to different memory dies. Each physical deletion unit has a plurality of physical programming units, wherein the physical programming units belonging to the same physical deletion unit can be written independently and deleted simultaneously. In addition, each physical deletion unit may be composed of 64 physical programming units, 256 physical programming units or any other number of physical programming units.

更详细来说,物理删除单元为删除的最小单位。亦即,每一物理删除单元含有最小数目之一并被删除的存储单元。物理程序化单元为程序化的最小单元。即,物理程序化单元为写入数据的最小单元。每一物理程序化单元通常包括数据比特区与冗余比特区。数据比特区包含多个物理存取地址用以储存使用者的数据,而冗余比特区用以储存系统的数据(例如,控制信息与错误更正码)。在本实施例中,每一个物理程序化单元的数据比特区中会包含4个物理存取地址,且一个物理存取地址的大小为512字节(byte)。然而,在其他实施例中,数据比特区中也可包含数目更多或更少的物理存取地址,本发明并不限制物理存取地址的大小以及个数。例如,在一实施例中,物理删除单元为物理区块,并且物理程序化单元为物理页面或物理扇区,但本发明不以此为限。In more detail, the physical deletion unit is the smallest unit of deletion. That is, each physical deletion unit contains one of the minimum number of deleted storage units. The physical programming unit is the smallest unit of programming. That is, the physical programming unit is the minimum unit for writing data. Each physical programming unit usually includes a data bit area and a redundant bit area. The data bit area contains multiple 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 embodiment, the data bit area of each physical programming unit includes 4 physical access addresses, and the size of one physical access address is 512 bytes. However, in other 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 one embodiment, the physical deletion 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.

在本实施例中,可复写式非易失性存储器模块106为多层存储单元(Multi LevelCell,简称:MLC)NAND型快闪存储器模块(即,一个存储单元中可储存2个比特数据的快闪存储器模块)。然而,本发明不限于此,可复写式非易失性存储器模块106也可是单层存储单元(Single Level Cell,简称:SLC)NAND型快闪存储器模块(即,一个存储单元中可储存1个比特数据的快闪存储器模块)、复数层存储单元(Trinary Level Cell,简称:TLC)NAND型快闪存储器模块(即,一个存储单元中可储存3个比特数据的快闪存储器模块)、其他快闪存储器模块或其他具有相同特性的存储器模块。In this embodiment, the rewritable non-volatile memory module 106 is a multi-level memory cell (Multi LevelCell, MLC for short) NAND flash memory module (that is, a flash memory module that can store 2 bits of data in one memory cell). flash memory module). However, the present invention is not limited thereto, and the rewritable non-volatile memory module 106 may also be a single-level memory cell (Single Level Cell, referred to as: SLC) NAND flash memory module (that is, one memory cell can store one bit data flash memory module), complex layer storage unit (Trinary Level Cell, referred to as: TLC) NAND flash memory module (that is, a flash memory module that can store 3 bits of data in a storage unit), other fast flash memory module or other memory modules with the same characteristics.

图3是根据本发明第一实施例所示出的存储器控制电路单元的结构示意图。FIG. 3 is a schematic structural diagram of a memory control circuit unit according to the first embodiment of the present invention.

请参照图3,存储器控制电路单元104包括存储器管理电路202、主机接口204与存储器接口206。Referring to FIG. 3 , the memory control circuit unit 104 includes a memory management circuit 202 , a host interface 204 and a memory interface 206 .

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

在本实施例中,存储器管理电路202的控制指令是以固件形式来实作。例如,存储器管理电路202具有微处理器单元(未示出)与只读存储器(未示出),并且此些控制指令是被烧录至此只读存储器中。当存储器储存装置100运作时,此些控制指令会由微处理器单元来执行以进行数据的写入、读取与删除等运作。In this embodiment, the control commands of the memory management circuit 202 are implemented in the form of firmware. For example, the memory management circuit 202 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 100 is in operation, these control instructions will be executed by the microprocessor unit to perform operations such as writing, reading, and deleting data.

在本发明另一实施例中,存储器管理电路202的控制指令也可以程序码形式储存于可复写式非易失性存储器模块106的特定区域(例如,存储器模块中专用于存放系统数据的系统区)中。此外,存储器管理电路202具有微处理器单元(未示出)、只读存储器(未示出)及随机存取存储器(未示出)。特别是,此只读存储器具有驱动码,并且当存储器控制电路单元104被智能时,微处理器单元会先执行此驱动码段来将储存于可复写式非易失性存储器模块106中的控制指令载入至存储器管理电路202的随机存取存储器中。之后,微处理器单元会运转此些控制指令以进行数据的写入、读取与删除等运作。In another embodiment of the present invention, the control instructions of the memory management circuit 202 can also be stored in a specific area of the rewritable non-volatile memory module 106 in the form of program code (for example, the system area dedicated to storing system data in the memory module )middle. In addition, the memory management circuit 202 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 104 is intelligent, the microprocessor unit will first execute the driver code segment to store the control code stored in the rewritable non-volatile memory module 106. The instructions are loaded into random access memory of the memory management circuit 202 . Afterwards, the microprocessor unit runs these control instructions to perform operations such as writing, reading, and deleting data.

主机接口204是耦接至存储器管理电路202并且用以耦接至连接接口单元102,以接收与识别主机系统1000所传送的指令与数据。也就是说,主机系统1000所传送的指令与数据会通过主机接口204来传送至存储器管理电路202。在本实施例中,主机接口204是相容于SATA标准。然而,必须了解的是本发明不限于此,主机接口204也可以是相容于PATA标准、IEEE1394标准、PCI Express标准、USB标准、UHS-I接口标准、UHS-II接口标准、SD标准、MS标准、MMC标准、CF标准、IDE标准或其他适合的数据传输标准。The host interface 204 is coupled to the memory management circuit 202 and configured to be coupled to the connection interface unit 102 for receiving and identifying instructions and data transmitted by the host system 1000 . That is to say, the commands and data transmitted by the host system 1000 are transmitted to the memory management circuit 202 through the host interface 204 . In this embodiment, the host interface 204 is compatible with the SATA standard. However, it must be understood that the present invention is not limited thereto, and the host interface 204 may also be compatible with PATA standard, IEEE1394 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.

存储器接口206是耦接至存储器管理电路202并且用以存取可复写式非易失性存储器模块106。也就是说,欲写入至可复写式非易失性存储器模块106的数据会经由存储器接口206转换为可复写式非易失性存储器模块106所能接受的格式。The memory interface 206 is coupled to the memory management circuit 202 and used for accessing the rewritable non-volatile memory module 106 . That is to say, the data to be written into the rewritable nonvolatile memory module 106 will be converted into a format acceptable to the rewritable nonvolatile memory module 106 via the memory interface 206 .

在本发明一实施例中,存储器控制电路单元104还包括缓冲存储器208、电源管理电路210与错误检查与校正电路212。In an embodiment of the present invention, the memory control circuit unit 104 further includes a buffer memory 208 , a power management circuit 210 and an error checking and correction circuit 212 .

缓冲存储器208是耦接至存储器管理电路202并且用以暂存来自于主机系统1000的数据与指令或来自于可复写式非易失性存储器模块106的数据。The buffer memory 208 is coupled to the memory management circuit 202 and used for temporarily storing data and instructions from the host system 1000 or data from the rewritable non-volatile memory module 106 .

电源管理电路210是耦接至存储器管理电路202并且用以控制存储器储存装置100的电源。The power management circuit 210 is coupled to the memory management circuit 202 and used for controlling the power of the memory storage device 100 .

错误检查与校正电路212是耦接至存储器管理电路202并且用以执行错误检查与校正程序以确保数据的正确性。具体来说,当存储器管理电路202从主机系统1000中接收到写入指令时,错误检查与校正电路212会为对应此写入指令的数据产生对应的错误检查与校正码(Error Checking and Correcting Code,简称:ECC Code),并且存储器管理电路202会将对应此写入指令的数据与对应的错误检查与校正码写入至可复写式非易失性存储器模块106中。之后,当存储器管理电路202从可复写式非易失性存储器模块106中读取数据时会同时读取此数据对应的错误检查与校正码,并且错误检查与校正电路212会依据此错误检查与校正码对所读取的数据执行错误检查与校正程序。The error checking and correcting circuit 212 is coupled to the memory management circuit 202 and used for executing error checking and correcting procedures to ensure the correctness of data. Specifically, when the memory management circuit 202 receives a write command from the host system 1000, the error checking and correcting circuit 212 will generate a corresponding error checking and correcting code (Error Checking and Correcting Code) for the data corresponding to the write command. , Abbreviation: ECC Code), and the memory management circuit 202 will write the data corresponding to the write command and the corresponding ECC code into the rewritable non-volatile memory module 106 . Afterwards, when the memory management circuit 202 reads data from the rewritable non-volatile memory module 106, it will simultaneously read the error checking and correction code corresponding to the data, and the error checking and correction circuit 212 will read the error checking and correction code according to the error checking and correction code. The correction code performs error checking and correction procedures on the read data.

请再参照图2,存储器控制电路单元104(或存储器管理电路202)会初始地设定第一门槛值与第一累加值,并且每隔一预先定义时间(例如,1毫秒)将第一门槛值加上第一累加值以更新第一门槛值。特别是,当接收到主机系统1000所传送的欲写入可复写式非易失性存储器模块106的数据时,存储器控制电路单元104(或存储器管理电路202)会检测存储器储存装置100的温度并且判断存储器储存装置100的温度是否大于或等于温度门槛值。倘若存储器储存装置100的温度非大于或等于温度门槛值时,存储器控制电路单元104(或存储器管理电路202)会发送一指令序列(command sequence),此指令序列用以指示将写入数据写入至可复写式非易失性存储器模块,特别是,此指令序列可为一个或复数个指令。反之,倘若存储器储存装置100的温度大于或等于温度门槛值时,存储器控制电路单元104(或存储器管理电路202)会执行第一数据量判断运作,以判断写入数据的大小是否大于或等于所设定的第一门槛值。倘若写入数据的大小非大于或等于第一门槛值时,存储器控制电路单元104(或存储器管理电路202)会发送一指令序列,此指令序列用以指示执行数据写入运作,以将写入数据写入至可复写式非易失性存储器模块106并且通过将第一门槛值减去写入数据的大小以更新第一门槛值。反之,当写入数据的大小大于或等于第一门槛值时,存储器控制电路单元104(或存储器管理电路202)会执行暂停写入运作,而不将写入数据写入至可复写式非易失性存储器模块106并且在一第一预设时间之后(例如,1毫秒)重新执行上述判断写入数据的大小是否大于或等于第一门槛值的运作。Please refer to FIG. 2 again, the memory control circuit unit 104 (or the memory management circuit 202) will initially set the first threshold value and the first accumulated value, and set the first threshold value at intervals of a predefined time (for example, 1 millisecond) value plus the first accumulated value to update the first threshold value. Especially, when receiving the data to be written into the rewritable non-volatile memory module 106 transmitted by the host system 1000, the memory control circuit unit 104 (or the memory management circuit 202) will detect the temperature of the memory storage device 100 and It is determined whether the temperature of the memory storage device 100 is greater than or equal to a temperature threshold. If the temperature of the memory storage device 100 is not greater than or equal to the temperature threshold, the memory control circuit unit 104 (or the memory management circuit 202) will send a command sequence (command sequence), which is used to instruct the write data to be written To the rewritable non-volatile memory module, especially, the command sequence can be one or a plurality of commands. Conversely, if the temperature of the memory storage device 100 is greater than or equal to the temperature threshold, the memory control circuit unit 104 (or the memory management circuit 202) will perform a first data amount judgment operation to determine whether the size of the written data is greater than or equal to the threshold value. Set the first threshold value. If the size of the written data is not greater than or equal to the first threshold value, the memory control circuit unit 104 (or the memory management circuit 202) will send a command sequence, which is used to instruct the execution of the data write operation, so as to write Data is written into the rewritable non-volatile memory module 106 and the first threshold is updated by subtracting the size of the written data from the first threshold. On the contrary, when the size of the written data is greater than or equal to the first threshold value, the memory control circuit unit 104 (or the memory management circuit 202) will execute the suspend write operation, and will not write the write data to the rewritable non-volatile memory. The volatile memory module 106 re-executes the above operation of judging whether the size of the written data is greater than or equal to the first threshold value after a first preset time period (for example, 1 millisecond).

具体而言,通过上述的数据传输方法,可通过限定数据传输速率来减少功耗。例如,倘若欲将数据传输速率限制在100MB/s(相当于每1毫秒(ms)传输200个512字节(Byte)的扇区数据),以及假设存储器控制电路单元104(或存储器管理电路202)初始地设定第一门槛值为300以及第一累加值为200,并且存储器控制电路单元104(或存储器管理电路202)会每隔1毫秒将第一门槛值加上第一累加值以更新第一门槛值。当欲写入可复写式非易失性存储器模块106的数据为200个扇区数据时,存储器控制电路单元104(或存储器管理电路202)会判断写入数据的大小(200个扇区数据)非大于或等于所设定的第一门槛值(300),而将200个扇区数据写入至可复写式非易失性存储器模块106并且通过将第一门槛值减去写入数据的大小以更新第一门槛值。此时,更新后的第一门槛值为100。倘若经过1毫秒后由于第一门槛值加上第一累加值,则第一门槛值会变成为300,同时存储器控制电路单元104(或存储器管理电路202)接收到的写入数据为500个扇区数据时,则存储器控制电路单元104(或存储器管理电路202)判断写入数据的大小(500个扇区数据)大于或等于目前的第一门槛值(300),因此会执行暂停写入运作,而不将写入数据写入至可复写式非易失性存储器模块106并且在1毫秒之后重新判断写入数据的大小是否大于或等于第一门槛值。由于存储器控制电路单元104(或存储器管理电路202)每隔1毫秒将第一门槛值加上第一累加值以更新第一门槛值,因此当重新判断写入数据的大小是否大于或等于第一门槛值时,更新的第一门槛值已成为500,此时存储器控制电路单元104(或存储器管理电路202)会判断写入数据的大小(500个扇区数据)非大于或等于目前的第一门槛值(500),而将写入数据写入至可复写式非易失性存储器模块106且依照上述步骤更新第一门槛值,由此,可达到控制数据写入速率维持在100MB/s。Specifically, through the above-mentioned data transmission method, the power consumption can be reduced by limiting the data transmission rate. For example, if it is desired to limit the data transmission rate to 100MB/s (equivalent to transmitting 200 sector data of 512 bytes (Byte) every 1 millisecond (ms), and it is assumed that the memory control circuit unit 104 (or the memory management circuit 202 ) initially set the first threshold value to 300 and the first accumulation value to 200, and the memory control circuit unit 104 (or memory management circuit 202) will add the first threshold value to the first accumulation value every 1 millisecond to update the first threshold. When the data to be written into the rewritable non-volatile memory module 106 is 200 sector data, the memory control circuit unit 104 (or memory management circuit 202) will determine the size of the written data (200 sector data) If it is not greater than or equal to the set first threshold value (300), write 200 sector data to the rewritable non-volatile memory module 106 and subtract the size of the written data from the first threshold value to update the first threshold. At this time, the updated first threshold value is 100. If the first accumulated value is added to the first threshold value after 1 millisecond, the first threshold value will become 300, and the write data received by the memory control circuit unit 104 (or memory management circuit 202) is 500 sector data, the memory control circuit unit 104 (or memory management circuit 202) judges that the size of the written data (500 sector data) is greater than or equal to the current first threshold value (300), so it will execute the pause write operation, without writing the write data into the rewritable non-volatile memory module 106 and re-determining whether the size of the write data is greater than or equal to the first threshold value after 1 millisecond. Since the memory control circuit unit 104 (or the memory management circuit 202) adds the first accumulated value to the first threshold value every 1 millisecond to update the first threshold value, when re-judging whether the size of the written data is greater than or equal to the first When the threshold value is reached, the updated first threshold value has become 500. At this time, the memory control circuit unit 104 (or memory management circuit 202) will judge that the size of the written data (500 sector data) is not greater than or equal to the current first threshold value. Threshold value (500), write the write data into the rewritable non-volatile memory module 106 and update the first threshold value according to the above steps, so that the control data write rate can be maintained at 100MB/s.

值得一提的是,可复写式非易失性存储器模块106的数据写入运作与数据读取运作所需消耗的功率不同,特别是,当执行数据读取运作时,其输出/输入的动作较数据写入运作多,因此相对的在数据读取运作下,存储器储存装置100的温度上升的速度较快。因此,在一实施例中,为了使热的产生与散热达到稳定状态,可通过分别地对数据写入运作与数据读取运作设定不同的门槛值与累加值,来限定数据传输的速度。It is worth mentioning that the data writing operation and the data reading operation of the rewritable non-volatile memory module 106 require different power consumption, especially, when the data reading operation is performed, its output/input operation There are more operations than data writing, so the temperature of the memory storage device 100 rises relatively faster under data reading operations. Therefore, in an embodiment, in order to achieve a stable state of heat generation and heat dissipation, the speed of data transmission can be limited by setting different thresholds and accumulation values for the data writing operation and the data reading operation respectively.

存储器控制电路单元104(或存储器管理电路202)会初始地为数据读取运作设定第二门槛值与第二累加值,并且每隔一第二预先定义时间(例如,1毫秒)将第二门槛值加上第二累加值以更新第二门槛值。当存储器控制电路单元104(或存储器管理电路202)从主机系统接收到一读取指令,欲读取可复写式非易失性存储器模块106中的数据时,存储器控制电路单元104(或存储器管理电路202)会检测存储器储存装置100的温度并且判断存储器储存装置100的温度是否大于或等于温度门槛值。倘若存储器储存装置100的温度非大于或等于温度门槛值时,存储器控制电路单元104(或存储器管理电路202)会发送一指令序列(command sequence),此指令序列用以指示从可复写式非易失性存储器模块读取对应此读取指令的读取数据。反之,倘若存储器储存装置100的温度大于或等于温度门槛值时,存储器控制电路单元104(或存储器管理电路202)会执行第二数据量判断运作,以判断欲从可复写式非易失性存储器模块106读取的读取数据的大小是否大于或等于第二门槛值。倘若读取数据的大小非大于或等于第二门槛值时,存储器控制电路单元104(或存储器管理电路202)会发送指令序列,此指令序列用以指示执行数据读取运作,以从可复写式非易失性存储器模块106读取对应此读取指令的读取数据并且通过将第二门槛值减去此读取数据的大小以更新第二门槛值。反之,若读取数据的大小大于或等于第二门槛值时,存储器控制电路单元104(或存储器管理电路202)会执行暂停读取运作,而不从可复写式非易失性存储器模块106中读取此读取数据并且在第二预设时间之后(例如,1毫秒)重新执行上述判断读取数据的大小是否大于或等于第二门槛值的第二数据量判断运作。The memory control circuit unit 104 (or the memory management circuit 202) initially sets the second threshold value and the second accumulated value for the data read operation, and sets the second threshold value every second predetermined time (for example, 1 millisecond). The threshold value is added to the second accumulated value to update the second threshold value. When the memory control circuit unit 104 (or the memory management circuit 202) receives a read instruction from the host system to read the data in the rewritable non-volatile memory module 106, the memory control circuit unit 104 (or the memory management circuit 202) The circuit 202) detects the temperature of the memory storage device 100 and determines whether the temperature of the memory storage device 100 is greater than or equal to the temperature threshold. If the temperature of the memory storage device 100 is not greater than or equal to the temperature threshold value, the memory control circuit unit 104 (or the memory management circuit 202) will send a command sequence (command sequence), which is used to indicate from the rewritable non-volatile The volatile memory module reads the read data corresponding to the read command. On the contrary, if the temperature of the memory storage device 100 is greater than or equal to the temperature threshold value, the memory control circuit unit 104 (or the memory management circuit 202) will perform the second data volume judgment operation to judge the data volume to be read from the rewritable non-volatile memory. Whether the size of the read data read by the module 106 is greater than or equal to the second threshold. If the size of the read data is not greater than or equal to the second threshold value, the memory control circuit unit 104 (or the memory management circuit 202) will send an instruction sequence, which is used to instruct the execution of the data read operation, so as to read from the rewritable The non-volatile memory module 106 reads the read data corresponding to the read command and subtracts the size of the read data from the second threshold to update the second threshold. Conversely, if the size of the read data is greater than or equal to the second threshold value, the memory control circuit unit 104 (or the memory management circuit 202) will perform a suspend read operation without reading from the rewritable non-volatile memory module 106. Read the read data and re-execute the above-mentioned second data amount judgment operation of judging whether the size of the read data is greater than or equal to the second threshold value after a second preset time (for example, 1 millisecond).

具体而言,由于数据读取运作时所需消耗的功率较数据写入运作大,因此可将上述第二门槛值与第二累加值设成分别小于第一门槛值与第一累加值的数值。例如,当第一门槛值被设为300时,第二门槛值可被设为200,以及当第一累加值被设为200时,第二累加值可被设为100。Specifically, since the power consumption required for the data reading operation is larger than that for the data writing operation, the above-mentioned second threshold value and the second accumulation value can be set to values smaller than the first threshold value and the first accumulation value respectively. . For example, when the first threshold value is set to 300, the second threshold value can be set to 200, and when the first accumulated value is set to 200, the second accumulated value can be set to 100.

值得一提的是,由于当存储器储存装置100运作时,例如,不断地写入与读取大量的数据时,其需要消耗大量的能源并且产生大量的热能,因此容易导致存储器储存装置100过热。在本实施例中,存储器控制电路单元104(或存储器管理电路202)还用以检测存储器储存装置100的温度且判断存储器储存装置100的温度是否大于或等于温度门槛值。当存储器控制电路单元104(或存储器管理电路202)判断存储器储存装置100的温度大于或等于温度门槛值时,亦即,存储器储存装置100过热时,才会执行上述第一数据量判断运作或第二数据量判断运作,并且根据此第一数据量判断运作来执行数据写入运作或暂停写入运作以及根据第二数据量判断运作来执行数据读取运作或暂停读取运作。It is worth mentioning that when the memory storage device 100 operates, for example, when a large amount of data is continuously written and read, it needs to consume a large amount of energy and generate a large amount of heat energy, thus easily causing the memory storage device 100 to overheat. In this embodiment, the memory control circuit unit 104 (or the memory management circuit 202 ) is also used to detect the temperature of the memory storage device 100 and determine whether the temperature of the memory storage device 100 is greater than or equal to the temperature threshold. When the memory control circuit unit 104 (or the memory management circuit 202) judges that the temperature of the memory storage device 100 is greater than or equal to the temperature threshold value, that is, when the memory storage device 100 is overheated, the above-mentioned first data amount judgment operation or the second operation will be executed. Two data volume judging operations, and execute data writing operation or suspend writing operation according to the first data volume judging operation, and execute data reading operation or suspend reading operation according to the second data volume judging operation.

特别是,由于存储器控制电路单元104(或存储器管理电路202)会在每隔一预先定义时间(例如,1毫秒)将第一门槛值加上第一累加值以更新第一门槛值,因此为了在存储器储存装置100的温度超过温度门槛值时,控制此第一门槛值维持在一定的范围内,存储器控制电路单元104(或存储器管理电路202)会在更新第一门槛值之前计算一最大数据量值,并且将第一门槛值加上第一累加值获得第一门槛值的更新值之后,检测存储器储存装置100的温度并且判断存储器储存装置100的温度是否大于或等于温度门槛值;倘若存储器储存装置100的温度非大于或等于温度门槛值时,存储器控制电路单元104(或存储器管理电路202)会以更新值来更新第一门槛值;特别是,倘若存储器储存装置100的温度大于或等于温度门槛值时,存储器控制电路单元104(或存储器管理电路202)会判断此更新值是否大于或等于所计算的最大数据量值。倘若更新值非大于或等于最大数据量值,则存储器控制电路单元104(或存储器管理电路202)会以更新值来更新第一门槛值,反之,则以最大数据量值来更新第一门槛值。在此,最大数据量值为一系统预设值,然,本发明不限于此,最大数据量值也可以根据可复写式非易失性存储器模块106的执行性能来调整与设定。In particular, since the memory control circuit unit 104 (or the memory management circuit 202) will add the first threshold value to the first accumulation value every predefined time (for example, 1 millisecond) to update the first threshold value, so for When the temperature of the memory storage device 100 exceeds the temperature threshold, the first threshold is controlled to remain within a certain range, and the memory control circuit unit 104 (or memory management circuit 202) will calculate a maximum data before updating the first threshold value, and after adding the first threshold value to the first accumulated value to obtain the update value of the first threshold value, detect the temperature of the memory storage device 100 and determine whether the temperature of the memory storage device 100 is greater than or equal to the temperature threshold value; if the memory When the temperature of the storage device 100 is not greater than or equal to the temperature threshold value, the memory control circuit unit 104 (or the memory management circuit 202) will update the first threshold value with an updated value; especially, if the temperature of the memory storage device 100 is greater than or equal to When the temperature threshold is reached, the memory control circuit unit 104 (or the memory management circuit 202 ) will determine whether the update value is greater than or equal to the calculated maximum data size value. If the update value is not greater than or equal to the maximum data volume value, the memory control circuit unit 104 (or memory management circuit 202) will update the first threshold value with the update value, otherwise, update the first threshold value with the maximum data volume value . Here, the maximum data volume is a system default value, however, the present invention is not limited thereto, and the maximum data volume can also be adjusted and set according to the execution performance of the rewritable non-volatile memory module 106 .

图4是根据本发明第一实施例所示出的写入数据传输方法的流程图。Fig. 4 is a flow chart of a write data transmission method according to the first embodiment of the present invention.

请参照图4,在步骤S401中,存储器控制电路单元104(或存储器管理电路202)会初始地设定第一门槛值与第一累加值。并且,在步骤S403中,存储器控制电路单元104(或存储器管理电路202)会每隔一第一预先定义时间(例如,1毫秒),通过将第一门槛值加上第一累加值以更新第一门槛值。Referring to FIG. 4 , in step S401 , the memory control circuit unit 104 (or the memory management circuit 202 ) initially sets a first threshold value and a first accumulation value. Moreover, in step S403, the memory control circuit unit 104 (or the memory management circuit 202) updates the first threshold value by adding the first accumulation value to the first threshold value at intervals of a first predefined time (for example, 1 millisecond). a threshold value.

在步骤S405中,存储器控制电路单元104(或存储器管理电路202)接收主机系统1000所传送的欲写入可复写式非易失性存储器模块106的数据,并且在步骤S407中存储器控制电路单元104(或存储器管理电路202)会检测存储器储存装置100的温度。In step S405, the memory control circuit unit 104 (or memory management circuit 202) receives the data to be written into the rewritable non-volatile memory module 106 transmitted by the host system 1000, and in step S407 the memory control circuit unit 104 (or the memory management circuit 202 ) detects the temperature of the memory storage device 100 .

在步骤S409中,存储器控制电路单元104(或存储器管理电路202)会判断所检测的存储器储存装置100的温度是否大于或等于温度门槛值。倘若存储器储存装置100的温度非大于或等于温度门槛值,则在步骤S411中,存储器控制电路单元104(或存储器管理电路202)会执行一般的数据写入运作,以将所接收的写入数据写入至可复写式非易失性存储器模块106。反之,当存储器储存装置100的温度大于或等于温度门槛值时,在步骤S413中,存储器控制电路单元104(或存储器管理电路202)会执行数据量判断运作。In step S409, the memory control circuit unit 104 (or the memory management circuit 202) determines whether the detected temperature of the memory storage device 100 is greater than or equal to a temperature threshold. If the temperature of the memory storage device 100 is not greater than or equal to the temperature threshold, then in step S411, the memory control circuit unit 104 (or the memory management circuit 202) will perform a normal data write operation to write the received write data Write to the rewritable non-volatile memory module 106 . On the contrary, when the temperature of the memory storage device 100 is greater than or equal to the temperature threshold, in step S413 , the memory control circuit unit 104 (or the memory management circuit 202 ) will perform a data size determination operation.

在步骤S413中,存储器控制电路单元104(或存储器管理电路202)会判断写入数据的大小是否大于或等于第一门槛值。倘若写入数据的大小非大于或等于第一门槛值时,则在步骤S415中,存储器控制电路单元104(或存储器管理电路202)会执行数据写入运作,以将写入数据写入至可复写式非易失性存储器模块106并且通过将第一门槛值减去写入数据的大小以更新第一门槛值。反之,当写入数据的大小大于或等于第一门槛值时,则在步骤S417中,存储器控制电路单元104(或存储器管理电路202)会执行暂停写入运作,而不将写入数据写入至可复写式非易失性存储器模块106并且在第一预设时间之后(例如,1毫秒)重新执行步骤S413。In step S413, the memory control circuit unit 104 (or the memory management circuit 202) determines whether the size of the written data is greater than or equal to the first threshold. If the size of the written data is not greater than or equal to the first threshold value, then in step S415, the memory control circuit unit 104 (or the memory management circuit 202) will perform a data writing operation to write the written data into the available The rewritable non-volatile memory module 106 also updates the first threshold by subtracting the size of the written data from the first threshold. On the contrary, when the size of the written data is greater than or equal to the first threshold value, then in step S417, the memory control circuit unit 104 (or the memory management circuit 202) will execute the suspend write operation without writing the write data into Go to the rewritable non-volatile memory module 106 and re-execute step S413 after the first preset time (for example, 1 millisecond).

特别是,由于在步骤S403中,存储器控制电路单元104(或存储器管理电路202)会每隔一第一预先定义时间(例如,1毫秒),通过将第一门槛值加上第一累加值来更新第一门槛值,因此第一门槛值会不断地变动,也就是说,在上述步骤S417中所执行的暂停写入运作,会直到第一门槛值更新至相当于写入数据的大小(亦即,写入数据的大小非大于或等于第一门槛值)时,步骤S415才会被执行,由此控制数据写入速度以减少功耗。In particular, since in step S403, the memory control circuit unit 104 (or the memory management circuit 202) will add the first threshold value to the first accumulation value at intervals of a first predefined time (for example, 1 millisecond) Update the first threshold value, so the first threshold value will constantly change, that is to say, the suspension of the writing operation performed in the above step S417 will be until the first threshold value is updated to the size equivalent to the written data (also That is, step S415 is executed only when the size of the written data is not greater than or equal to the first threshold value), thereby controlling the data writing speed to reduce power consumption.

图5是根据本发明第一实施例所示出的读取数据传输方法的流程图。Fig. 5 is a flow chart of a read data transmission method according to the first embodiment of the present invention.

请参照图5,首先,在步骤S501中,存储器控制电路单元104(或存储器管理电路202)会初始地设定第二门槛值与第二累加值。并且,在步骤S503中,存储器控制电路单元104(或存储器管理电路202)会每隔一第二预先定义时间(例如,1毫秒),通过将第二门槛值加上第二累加值以更新第二门槛值。Referring to FIG. 5 , first, in step S501 , the memory control circuit unit 104 (or the memory management circuit 202 ) initially sets the second threshold value and the second accumulation value. Moreover, in step S503, the memory control circuit unit 104 (or the memory management circuit 202) updates the second threshold by adding the second accumulated value to the second threshold every second predefined time (for example, 1 millisecond). Two thresholds.

在步骤S505中,当存储器控制电路单元104(或存储器管理电路202)从主机系统1000接收一读取指令,欲从可复写式非易失性存储器模块106读取数据时,会接着在步骤S507中,检测存储器储存装置100的温度。In step S505, when the memory control circuit unit 104 (or memory management circuit 202) receives a read instruction from the host system 1000, and intends to read data from the rewritable non-volatile memory module 106, it will then proceed in step S507 , the temperature of the memory storage device 100 is detected.

在步骤S509中,存储器控制电路单元104(或存储器管理电路202)会判断所检测的存储器储存装置100的温度是否大于或等于温度门槛值。倘若存储器储存装置100的温度非大于或等于温度门槛值,则在步骤S511中,存储器控制电路单元104(或存储器管理电路202)会执行一般的数据读取运作,以从可复写式非易失性存储器模块106读取对应此读取指令的读取数据。反之,当存储器储存装置100的温度大于或等于温度门槛值时,在步骤S513中,存储器控制电路单元104(或存储器管理电路202)会执行数据量判断运作。In step S509, the memory control circuit unit 104 (or the memory management circuit 202) determines whether the detected temperature of the memory storage device 100 is greater than or equal to a temperature threshold. If the temperature of the memory storage device 100 is not greater than or equal to the temperature threshold, then in step S511, the memory control circuit unit 104 (or the memory management circuit 202) will perform a general data read operation to read from the rewritable non-volatile The permanent memory module 106 reads the read data corresponding to the read command. On the contrary, when the temperature of the memory storage device 100 is greater than or equal to the temperature threshold, in step S513 , the memory control circuit unit 104 (or the memory management circuit 202 ) will perform a data size determination operation.

在步骤S513中,存储器控制电路单元104(或存储器管理电路202)会判断欲从可复写式非易失性存储器模块106读取的读取数据的大小是否大于或等于第二门槛值。倘若读取数据的大小非大于或等于第二门槛值时,则在步骤S515中,存储器控制电路单元104(或存储器管理电路202)会执行数据读取运作,以从可复写式非易失性存储器模块106读取所欲读取的数据并且通过将第二门槛值减去读取数据的大小以更新第二门槛值。反之,当写入数据的大小大于或等于第二门槛值时,则在步骤S517中,存储器控制电路单元104(或存储器管理电路202)会执行暂停读取运作,而不从可复写式非易失性存储器模块106中读取所欲读取的数据并且在第二预设时间之后(例如,1毫秒)重新执行步骤S513。In step S513 , the memory control circuit unit 104 (or the memory management circuit 202 ) determines whether the size of the read data to be read from the rewritable non-volatile memory module 106 is greater than or equal to the second threshold. If the size of the read data is not greater than or equal to the second threshold value, then in step S515, the memory control circuit unit 104 (or the memory management circuit 202) will perform a data read operation to read from the rewritable non-volatile The memory module 106 reads the data to be read and updates the second threshold by subtracting the size of the read data from the second threshold. Conversely, when the size of the written data is greater than or equal to the second threshold value, then in step S517, the memory control circuit unit 104 (or the memory management circuit 202) will perform a suspend read operation without starting from the rewritable non-volatile The data to be read is read from the volatile memory module 106 and step S513 is re-executed after a second preset time (for example, 1 millisecond).

特别是,由于在步骤S503中,存储器控制电路单元104(或存储器管理电路202)会每隔一第二预先定义时间(例如,1毫秒),通过将第二门槛值加上第二累加值来更新第二门槛值,因此第二门槛值会不断地变动。也就是说,在上述步骤S517中所执行的暂停读取运作,会直到第二门槛值更新至相当于读取数据的大小(亦即,读取数据的大小非大于或等于第二门槛值)时,步骤S515才会被执行,由此可控制数据读取速度以减少功耗。In particular, since in step S503, the memory control circuit unit 104 (or the memory management circuit 202) will add the second threshold value to the second accumulation value every second predetermined time (for example, 1 millisecond) The second threshold value is updated, so the second threshold value will constantly change. That is to say, the suspend reading operation performed in the above step S517 will be updated until the second threshold value is equivalent to the size of the read data (that is, the size of the read data is not greater than or equal to the second threshold value) , step S515 will be executed, thereby controlling the data reading speed to reduce power consumption.

图6是根据本发明第一实施例所示出的更新门槛值的步骤的流程图。Fig. 6 is a flow chart showing the steps of updating the threshold value according to the first embodiment of the present invention.

请参照图6,在步骤S601中,存储器控制电路单元104(或存储器管理电路202)会初始地设定一最大数据量值,此最大数据量值为一系统预设值,然,本发明不限于此,最大数据量值也可以根据可复写式非易失性存储器模块106的执行性能来调整与设定。Please refer to FIG. 6, in step S601, the memory control circuit unit 104 (or the memory management circuit 202) will initially set a maximum data volume value, and the maximum data volume value is a system default value, however, the present invention does not Limited to this, the maximum data size can also be adjusted and set according to the execution performance of the rewritable non-volatile memory module 106 .

由于在本实施例中存储器控制电路单元104(或存储器管理电路202)会不断地每隔一预先定义时间将第一门槛值加上第一累加值以更新第一门槛值,因此,在步骤S603中,存储器控制电路单元104(或存储器管理电路202)会先取得此第一门槛值加上第一累加值的更新值。Since in this embodiment, the memory control circuit unit 104 (or the memory management circuit 202) will continuously add the first threshold value to the first accumulated value at intervals of a predefined time to update the first threshold value, therefore, in step S603 Among them, the memory control circuit unit 104 (or the memory management circuit 202 ) first obtains the update value of the first threshold value plus the first accumulated value.

接着,在步骤S605中,存储器控制电路单元104(或存储器管理电路202)会检测存储器储存装置100的温度,并且在步骤S607中,判断存储器储存装置100的温度是否大于或等于温度门槛值。特别是,倘若存储器储存装置100的温度大于或等于温度门槛值时,存储器控制电路单元104(或存储器管理电路202)才会执行用以限制第一门槛值的步骤S609~S613。在步骤S609中,存储器控制电路单元104(或存储器管理电路202)会判断此更新值是否大于或等于最大数据量值。倘若更新值大于或等于最大数据量值,则在步骤S611中,存储器控制电路单元104(或存储器管理电路202)会以最大数据量值来更新第一门槛值,反之,则在步骤S613中,存储器控制电路单元104(或存储器管理电路202)会以更新值来更新第一门槛值。由此在存储器储存装置100的温度上升至温度门槛值的状态下,存储器控制电路单元104(或存储器管理电路202)会控制此第一门槛值维持在一定的范围内。值得一提的是,倘若存储器储存装置100的温度非大于或等于温度门槛值时,存储器控制电路单元104(或存储器管理电路202)会以更新值来更新第一门槛值(步骤S615),并不会以最大数据量值来限制第一门槛值,也就是说,当存储器储存装置100的温度非大于或等于温度门槛值时,第一门槛值可大于或等于最大数据量值。Next, in step S605, the memory control circuit unit 104 (or memory management circuit 202) detects the temperature of the memory storage device 100, and in step S607, determines whether the temperature of the memory storage device 100 is greater than or equal to the temperature threshold. Especially, if the temperature of the memory storage device 100 is greater than or equal to the temperature threshold, the memory control circuit unit 104 (or the memory management circuit 202 ) will execute steps S609 - S613 for limiting the first threshold. In step S609, the memory control circuit unit 104 (or the memory management circuit 202) determines whether the update value is greater than or equal to the maximum data size value. If the update value is greater than or equal to the maximum data volume value, then in step S611, the memory control circuit unit 104 (or memory management circuit 202) will update the first threshold value with the maximum data volume value; otherwise, in step S613, The memory control circuit unit 104 (or the memory management circuit 202 ) updates the first threshold with the updated value. Therefore, when the temperature of the memory storage device 100 rises to the temperature threshold, the memory control circuit unit 104 (or the memory management circuit 202 ) will control the first threshold to remain within a certain range. It is worth mentioning that if the temperature of the memory storage device 100 is not greater than or equal to the temperature threshold, the memory control circuit unit 104 (or the memory management circuit 202) will update the first threshold with the updated value (step S615), and The first threshold is not limited by the maximum data volume, that is, when the temperature of the memory storage device 100 is not greater than or equal to the temperature threshold, the first threshold may be greater than or equal to the maximum data volume.

[第二实施例][Second embodiment]

本发明第二实施例的存储器储存装置与主机系统本质上是相同于第一实施例的存储器储存装置与主机系统,其中差异在于第二实施例的第一累加值可依据存储器储存装置的温度的改变而被调整。以下将使用图1A、图2与图3的装置结构来描述第二实施例与第一实施例的差异部分。The memory storage device and the host system of the second embodiment of the present invention are essentially the same as the memory storage device and the host system of the first embodiment, wherein the difference is that the first accumulated value of the second embodiment can be based on the temperature of the memory storage device adjusted for changes. The differences between the second embodiment and the first embodiment will be described below using the device structures of FIG. 1A , FIG. 2 and FIG. 3 .

在本实施例中,在设定第一累加值的运作中,存储器控制电路单元104(或存储器管理电路202)会检测存储器储存装置100的温度,并且判断存储器储存装置100的温度是否大于或等于温度门槛值。倘若当存储器储存装置100的温度非大于或等于温度门槛值时,存储器控制电路单元104(或存储器管理电路202)会以第一值来设定第一累加值。反之,当存储器储存装置100的温度大于或等于温度门槛值时,则以第二值来设定第一累加值,其中第一值大于或等于第二值。具体而言,由于存储器储存装置100的温度未达到温度门槛值时,存储器控制电路单元104(或存储器管理电路202)不会执行第一实施例所述用以限定数据传输速率的数据传输方法,因此可使用较大的第一值来设定第一累加值,以提升数据传输速率以及提升存储器储存装置100的运作时的存取效能。In this embodiment, in the operation of setting the first accumulated value, the memory control circuit unit 104 (or the memory management circuit 202) will detect the temperature of the memory storage device 100, and determine whether the temperature of the memory storage device 100 is greater than or equal to temperature threshold. If the temperature of the memory storage device 100 is not greater than or equal to the temperature threshold, the memory control circuit unit 104 (or the memory management circuit 202 ) sets the first accumulated value with the first value. On the contrary, when the temperature of the memory storage device 100 is greater than or equal to the temperature threshold value, the first accumulated value is set with the second value, wherein the first value is greater than or equal to the second value. Specifically, when the temperature of the memory storage device 100 does not reach the temperature threshold, the memory control circuit unit 104 (or the memory management circuit 202) will not execute the data transmission method for limiting the data transmission rate described in the first embodiment, Therefore, a larger first value can be used to set the first accumulative value to increase the data transmission rate and the access performance of the memory storage device 100 during operation.

图7是根据本发明第二实施例所示出的动态更新累加值的写入数据传输方法流程图。Fig. 7 is a flow chart of a writing data transmission method for dynamically updating an accumulated value according to a second embodiment of the present invention.

请参照图7,在步骤S701中,存储器控制电路单元104(或存储器管理电路202)会初始地设定第一门槛值、第一值与第二值。其中第一值会被设为大于第二值的数值。Referring to FIG. 7 , in step S701 , the memory control circuit unit 104 (or the memory management circuit 202 ) initially sets the first threshold value, the first value and the second value. Wherein the first value will be set to a value greater than the second value.

在步骤S703中,存储器控制电路单元104(或存储器管理电路202)会检测存储器储存装置100的温度,并且在步骤S705中,判断所检测的存储器储存装置100的温度是否大于或等于温度门槛值。倘若存储器储存装置100的温度大于或等于温度门槛值,则在步骤S707中,存储器控制电路单元104(或存储器管理电路202)会以较小的第二值设定第一累加值,反之,当存储器储存装置100的温度非大于或等于温度门槛值时,则在步骤S709中,存储器控制电路单元104(或存储器管理电路202)会以较大的第一值设定第一累加值。In step S703, the memory control circuit unit 104 (or memory management circuit 202) detects the temperature of the memory storage device 100, and in step S705, determines whether the detected temperature of the memory storage device 100 is greater than or equal to the temperature threshold. If the temperature of the memory storage device 100 is greater than or equal to the temperature threshold value, then in step S707, the memory control circuit unit 104 (or the memory management circuit 202) will set the first accumulation value with a smaller second value; otherwise, when If the temperature of the memory storage device 100 is not greater than or equal to the temperature threshold, then in step S709 , the memory control circuit unit 104 (or the memory management circuit 202 ) sets the first accumulated value with a larger first value.

接着,步骤S711到步骤S725是相同于第一实施例的图4中的写入数据传输方法的步骤S403到步骤S417,在此不再重复。特别是,当执行完步骤S719与步骤S723后会回到步骤S703,以执行动态的设定第一累加值的步骤S703到S709。Next, step S711 to step S725 are the same as step S403 to step S417 of the write data transmission method in FIG. 4 of the first embodiment, and will not be repeated here. In particular, after step S719 and step S723 are executed, it returns to step S703 to execute steps S703 to S709 of dynamically setting the first accumulation value.

图8是根据本发明第二实施例所示出的动态更新累加值的读取数据传输方法流程图。Fig. 8 is a flow chart of a read data transmission method for dynamically updating an accumulated value according to a second embodiment of the present invention.

请参照图8,在步骤S801中,存储器控制电路单元104(或存储器管理电路202)会初始地设定第二门槛值、第三值与第四值。其中第三值会被设为大于第四值的数值。Referring to FIG. 8 , in step S801 , the memory control circuit unit 104 (or the memory management circuit 202 ) initially sets the second threshold value, the third value and the fourth value. Wherein the third value will be set to a value greater than the fourth value.

在步骤S803中,存储器控制电路单元104(或存储器管理电路202)会检测存储器储存装置100的温度,并且在步骤S805中,判断所检测的存储器储存装置100的温度是否大于或等于温度门槛值。倘若存储器储存装置100的温度大于或等于温度门槛值,则在步骤S807中,存储器控制电路单元104(或存储器管理电路202)会以较小的第四值设定第二累加值,反之,当存储器储存装置100的温度非大于或等于温度门槛值时,则在步骤S809中,存储器控制电路单元104(或存储器管理电路202)会以较大的第三值设定第二累加值。In step S803, the memory control circuit unit 104 (or memory management circuit 202) detects the temperature of the memory storage device 100, and in step S805, determines whether the detected temperature of the memory storage device 100 is greater than or equal to the temperature threshold. If the temperature of the memory storage device 100 is greater than or equal to the temperature threshold value, then in step S807, the memory control circuit unit 104 (or the memory management circuit 202) will set the second accumulation value with a smaller fourth value, otherwise, when If the temperature of the memory storage device 100 is not greater than or equal to the temperature threshold, then in step S809 , the memory control circuit unit 104 (or the memory management circuit 202 ) sets the second accumulation value with a larger third value.

接着,步骤S811到步骤S825是相同于第一实施例的图5中的读取数据传输方法的步骤S503到步骤S517,在此不再重复。特别是,当执行完步骤S819与步骤S823后会回到步骤S803,以执行调整第二累加值的步骤S803到步骤S809。Next, step S811 to step S825 are the same as step S503 to step S517 of the read data transmission method in FIG. 5 of the first embodiment, and will not be repeated here. In particular, after step S819 and step S823 are executed, it returns to step S803 to execute step S803 to step S809 of adjusting the second accumulated value.

综上所述,本发明实施例的数据传输方法、存储器控制电路单元与存储器储存装置会在存储器储存装置的温度达到门槛值时,通过控制门槛值来限制数据传输速率,由此降低功率消耗,进而避免存储器储存装置运作时快速且大量存取数据所造成的系统过热现象。此外,在本实施例的数据传输方法、存储器控制电路单元与存储器储存装置还可依据存储器储存装置的温度动态的设定累加值,由此可在兼顾存储器储存装置的热的产生与散热平衡状态下,提升数据传输速率以及数据存取效能。To sum up, the data transmission method, the memory control circuit unit and the memory storage device of the embodiment of the present invention will limit the data transmission rate by controlling the threshold value when the temperature of the memory storage device reaches the threshold value, thereby reducing power consumption, Furthermore, the overheating phenomenon of the system caused by the fast and large amount of data access during the operation of the memory storage device is avoided. In addition, the data transmission method, the memory control circuit unit, and the memory storage device in this embodiment can also dynamically set the accumulation value according to the temperature of the memory storage device, so that the heat generation and heat dissipation balance of the memory storage device can be considered. Under this circumstance, the data transmission rate and data access performance are improved.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit 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 can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (18)

1. a kind of data transmission method, it is characterised in that this method is used for having a reproducible nonvolatile memorizer module A memorizer memory devices, which includes:
(a) one first threshold value and one first accumulated value are initially set;
(b) every one first pre-defined time, by by first threshold value plus first accumulated value with update this first Threshold value;
(c) a write-in data are received;
(d) temperature of the memorizer memory devices is detected;
(e) judge whether the temperature of the memorizer memory devices is greater than or equal to a temperature threshold value, if wherein the storage When the temperature of device storage device is less than the temperature threshold value, if this of execution step (f) and the memorizer memory devices When temperature is greater than or equal to the temperature threshold value, step (g) is performed;
(f) the write-in data are write to the reproducible nonvolatile memorizer module;
(g) judge whether the size of the write-in data is greater than or equal to first threshold value, if wherein the write-in data it is big When being less than first threshold value, if the size for performing step (h) and the write-in data is greater than or equal to first threshold During value, step (i) is performed;
(h) the write-in data are write to the reproducible nonvolatile memorizer module and by the way that first threshold value is subtracted The sizes of the write-in data is gone to update first threshold value;And
(i) not by the write-in data write to the reproducible nonvolatile memorizer module and one first preset time it After re-execute step (g).
2. data transmission method according to claim 1, it is characterised in that the step of above-mentioned setting first accumulated value wraps Include:
It is first cumulative to set this with one first value if the temperature of the memorizer memory devices is less than the temperature threshold value Value;And
If the temperature of the memorizer memory devices is greater than or equal to the temperature threshold value, with a second value come set this One accumulated value,
Wherein first value is more than the second value.
3. data transmission method according to claim 1, it is characterised in that it is above-mentioned every the first pre-defined time, By the way that first threshold value is included plus first accumulated value with updating the step of first threshold value:
Initially set a maximum data value;
First threshold value is added into first accumulated value to obtain a updated value;
If the temperature of the memorizer memory devices is less than the temperature threshold value, which is updated with the updated value Value;
If the temperature of the memorizer memory devices is greater than or equal to the temperature threshold value, judge whether the updated value is more than Or equal to the maximum data value;
If the updated value is less than the maximum data value, which is updated with the updated value;And
If the updated value is greater than or equal to the maximum data value, which is updated with the maximum data value Value.
4. data transmission method according to claim 3, it is characterised in that if the temperature of the memorizer memory devices During less than the temperature threshold value, which is greater than or equal to the maximum data value.
5. data transmission method according to claim 1, it is characterised in that further include:
(j) one second threshold value and one second accumulated value are initially set;
(k) every one second pre-defined time, by by second threshold value plus second accumulated value with update this second Threshold value;
(l) receive one and read instruction;
(m) temperature of the memorizer memory devices is detected;
(n) judge whether the temperature of the memorizer memory devices is greater than or equal to the temperature threshold value, if wherein the temperature During less than the temperature threshold value, if performing step (o) and the temperature is when being greater than or equal to the temperature threshold value, execution step (p);
(o) read corresponding reading instruction from the reproducible nonvolatile memorizer module one reads data;
(p) whether the size for the reading data for judging to be intended to read from the reproducible nonvolatile memorizer module is more than or waits In second threshold value, if wherein when the size of the reading data is less than second threshold value, if perform step (q) and When the size of the reading data is greater than or equal to second threshold value, step (r) is performed;
(q) from the reproducible nonvolatile memorizer module read the reading data of corresponding reading instruction and pass through by Second threshold value subtracts the sizes of the reading data to update second threshold value;And
(r) do not read from the reproducible nonvolatile memorizer module reading data and one second preset time it After re-execute step (p).
6. data transmission method according to claim 5, it is characterised in that the step of above-mentioned setting second accumulated value wraps Include:
It is second cumulative to set this with one the 3rd value if the temperature of the memorizer memory devices is less than the temperature threshold value Value;And
If the temperature of the memorizer memory devices is greater than or equal to the temperature threshold value, with one the 4th value come set this Two accumulated values,
Wherein the 3rd value is more than the 4th value.
7. a kind of memorizer control circuit unit, it is characterised in that for controlling a duplicative of a memorizer memory devices Non-volatile memory module, the memorizer control circuit unit include:
One host interface, to be coupled to a host computer system;
One memory interface, to be coupled to the reproducible nonvolatile memorizer module;And
One memory management circuitry, is coupled to the host interface and the memory interface,
Wherein the memory management circuitry initially sets one first threshold value and one first accumulated value, and fixed in advance every one The adopted time, by the way that first threshold value is added first accumulated value to update first threshold value,
The wherein memory management circuitry also to receive a write-in data,
Wherein the memory management circuitry also to detect a temperature of the memorizer memory devices and judge the memory store up Whether the temperature of cryopreservation device is greater than or equal to a temperature threshold value,
If wherein the temperature of the memorizer memory devices is less than the temperature threshold value, the memory management circuitry is sending out One first command sequence is sent, which writes the write-in data to indicate to perform data write-in running To the reproducible nonvolatile memorizer module,
If wherein the temperature of the memorizer memory devices is greater than or equal to the temperature threshold value, the memory management circuitry Also running is judged to perform one first data volume, to judge whether the size of the write-in data is greater than or equal to first threshold Value,
If wherein the size of the write-in data is less than first threshold value, which sends first instruction Sequence, first command sequence write the write-in data to the duplicative to indicate to perform data write-in running Non-volatile memory module and update first threshold by the way that first threshold value to be subtracted to the size of the write-in data Value,
If wherein the size of the write-in data is greater than or equal to first threshold value, it is temporary which performs one Stop write-in running, which is not write to the reproducible nonvolatile memorizer module and when one first is default Between after re-execute above-mentioned first data volume and judge running.
8. memorizer control circuit unit according to claim 7, it is characterised in that if the memorizer memory devices When the temperature is less than the temperature threshold value, which sets first accumulated value with one first value,
If wherein the temperature of the memorizer memory devices is greater than or equal to the temperature threshold value, the memory management circuitry First accumulated value is set with a second value,
Wherein first value is more than the second value.
9. memorizer control circuit unit according to claim 8, it is characterised in that above-mentioned first pre-defined every this Time, by the way that first threshold value is added first accumulated value to update in the running of first threshold value, the memory pipe Reason circuit also to initially set a maximum data value and by first threshold value plus first accumulated value to obtain One updated value,
If wherein the temperature of the memorizer memory devices is less than the temperature threshold value, the memory management circuitry with this more New value updates first threshold value,
If wherein the temperature of the memorizer memory devices is greater than or equal to the temperature threshold value, the memory management circuitry Also to judge whether the updated value is greater than or equal to the maximum data value,
If wherein the updated value is less than the maximum data value, the memory management circuitry with the updated value come update this One threshold value,
If wherein the updated value is greater than or equal to the maximum data value, the memory management circuitry is with the maximum amount of data Value updates first threshold value.
10. memorizer control circuit unit according to claim 9, it is characterised in that if the memorizer memory devices Temperature when being less than the temperature threshold value, which is greater than or equal to the maximum data value.
11. memorizer control circuit unit according to claim 7, it is characterised in that the memory management circuitry is also used Initially to set one second threshold value and one second accumulated value, and every one second pre-defined time, by by this Two threshold values add second accumulated value to update second threshold value,
Wherein the memory management circuitry also reads instruction to receive one from the host computer system,
Wherein the memory management circuitry also to detect the temperature of the memorizer memory devices and judge the memory store up Whether the temperature of cryopreservation device is greater than or equal to the temperature threshold value,
If wherein the temperature of the memorizer memory devices is less than the temperature threshold value, the memory management circuitry is sending out One second command sequence is sent, second command sequence is to indicate to perform digital independent running, with non-easily from the duplicative The property lost memory module reads a reading data of corresponding reading instruction,
If wherein the temperature of the memorizer memory devices is greater than or equal to the temperature threshold value, the memory management circuitry Also running is judged to perform one second data volume, to judge to be intended to be somebody's turn to do from what the reproducible nonvolatile memorizer module was read Whether the size for reading data is greater than or equal to second threshold value,
If wherein the size of the reading data is less than second threshold value, which sends second instruction Sequence, second command sequence is to indicate to perform digital independent running, with from the type nonvolatile mould Block read the reading data of corresponding reading instruction and by second threshold value is subtracted to the size of the reading data with Second threshold value is updated,
If wherein the size of the reading data is greater than or equal to second threshold value, it is temporary which performs one Stop reading running, do not read the reading data from the reproducible nonvolatile memorizer module and when one second is default Between after re-execute above-mentioned second data volume and judge running.
12. memorizer control circuit unit according to claim 11, it is characterised in that if the memorizer memory devices Temperature when being less than the temperature threshold value, which sets second accumulated value with one the 3rd value,
If wherein the temperature of the memorizer memory devices is greater than or equal to the temperature threshold value, the memory management circuitry Second accumulated value is set with one the 4th value,
Wherein the 3rd value is more than the 4th value.
A kind of 13. memorizer memory devices, it is characterised in that including:
A connector, to be coupled to a host computer system;
One reproducible nonvolatile memorizer module;And
One memorizer control circuit unit, is coupled to the connector and the reproducible nonvolatile memorizer module,
Wherein the memorizer control circuit unit initially sets one first threshold value and one first accumulated value, and pre- every one The time is first defined, by the way that first threshold value is added first accumulated value to update first threshold value,
The wherein memorizer control circuit unit also to receive a write-in data,
Wherein the memorizer control circuit unit is also detecting a temperature of the memorizer memory devices and judge the storage Whether the temperature of device storage device is greater than or equal to a temperature threshold value,
If wherein the temperature of the memorizer memory devices is less than the temperature threshold value, which uses To send one first command sequence, first command sequence is to indicate to perform data write-in running, by the write-in data Write to the reproducible nonvolatile memorizer module,
If wherein the temperature of the memorizer memory devices is greater than or equal to the temperature threshold value, the memorizer control circuit Unit also to perform one first data volume judge running, with judge the size of the write-in data whether be greater than or equal to this first Threshold value,
If wherein the size of the write-in data is less than first threshold value, the memorizer control circuit unit send this first The write-in data are write to this and can answered to indicate to perform data write-in running by command sequence, first command sequence Write formula non-volatile memory module and by first threshold value is subtracted to the size of the write-in data with update this first Threshold value,
If wherein the size of the write-in data is greater than or equal to first threshold value, which performs One pause write-in running, which is not write to the reproducible nonvolatile memorizer module and pre- one first If above-mentioned first data volume is re-executed after the time judges running.
14. memorizer memory devices according to claim 13, it is characterised in that if the memorizer memory devices are somebody's turn to do When temperature is less than the temperature threshold value, which sets first accumulated value with one first value,
If wherein the temperature of the memorizer memory devices is greater than or equal to the temperature threshold value, the memorizer control circuit Unit sets first accumulated value with a second value,
Wherein first value is more than the second value.
15. memorizer memory devices according to claim 14, it is characterised in that it is above-mentioned every this first it is pre-defined when Between, by the way that first threshold value is added first accumulated value to update in the running of first threshold value, memory control Circuit unit also to initially set a maximum data value and by first threshold value plus first accumulated value to obtain A updated value is obtained,
If wherein the temperature of the memorizer memory devices is less than the temperature threshold value, the memorizer control circuit unit with The updated value updates first threshold value,
If wherein the temperature of the memorizer memory devices is greater than or equal to the temperature threshold value, the memorizer control circuit Unit also to judge whether the updated value is greater than or equal to the maximum data value,
If wherein the updated value is less than the maximum data value, which is updated with the updated value First threshold value,
If wherein the updated value is greater than or equal to the maximum data value, the memorizer control circuit unit is with the maximum number First threshold value is updated according to value.
16. memorizer memory devices according to claim 15, it is characterised in that if the memorizer memory devices are somebody's turn to do When temperature is less than the temperature threshold value, which is greater than or equal to the maximum data value.
17. memorizer memory devices according to claim 13, it is characterised in that the memorizer control circuit unit is also used Initially to set one second threshold value and one second accumulated value, and every one second pre-defined time, by by this Two threshold values add second accumulated value to update second threshold value,
Wherein the memorizer control circuit unit also reads instruction to receive one from the host computer system,
Wherein the memorizer control circuit unit is also detecting the temperature of the memorizer memory devices and judge the storage Whether the temperature of device storage device is greater than or equal to the temperature threshold value,
If wherein the temperature of the memorizer control circuit unit is less than the temperature threshold value, the memorizer control circuit list Member is to send one second command sequence, and second command sequence is to indicate to perform digital independent running, can be answered from this The reading data that formula non-volatile memory module reads corresponding reading instruction are write,
If wherein the temperature of the memorizer memory devices is greater than or equal to the temperature threshold value, the memorizer control circuit Unit also judges running to perform one second data volume, to judge to be intended to read from the reproducible nonvolatile memorizer module The sizes of the reading data whether be greater than or equal to second threshold value,
If wherein the size of the reading data is less than second threshold value, the memorizer control circuit unit send this second Command sequence, second command sequence is to indicate to perform digital independent running, with from the duplicative non-volatile memories Device module reads the reading data of corresponding reading instruction and by the way that second threshold value is subtracted the big of the reading data It is small to update second threshold value,
If wherein the size of the reading data is greater than or equal to second threshold value, which performs Running is read in one pause, does not read the reading data and pre- one second from the reproducible nonvolatile memorizer module If above-mentioned second data volume is re-executed after the time judges running.
18. memorizer memory devices according to claim 17, it is characterised in that if the memorizer memory devices are somebody's turn to do When temperature is less than the temperature threshold value, which sets second accumulated value with one the 3rd value,
If wherein the temperature of the memorizer memory devices is greater than or equal to the temperature threshold value, the memorizer control circuit Unit sets second accumulated value with one the 4th value,
Wherein the 3rd value is more than the 4th value.
CN201410075692.6A 2014-03-03 2014-03-03 Data transmission method, memory control circuit unit and memory storage device Active CN104898982B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410075692.6A CN104898982B (en) 2014-03-03 2014-03-03 Data transmission method, memory control circuit unit and memory storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410075692.6A CN104898982B (en) 2014-03-03 2014-03-03 Data transmission method, memory control circuit unit and memory storage device

Publications (2)

Publication Number Publication Date
CN104898982A CN104898982A (en) 2015-09-09
CN104898982B true CN104898982B (en) 2018-04-24

Family

ID=54031667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410075692.6A Active CN104898982B (en) 2014-03-03 2014-03-03 Data transmission method, memory control circuit unit and memory storage device

Country Status (1)

Country Link
CN (1) CN104898982B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389125B (en) * 2015-10-21 2019-03-22 畅索软件科技(上海)有限公司 EMMC high-temperature protection method and device
US10185511B2 (en) * 2015-12-22 2019-01-22 Intel Corporation Technologies for managing an operational characteristic of a solid state drive
CN107179877B (en) * 2016-03-09 2019-12-24 群联电子股份有限公司 Data transmission method, memory control circuit unit and memory storage device
CN106874223B (en) * 2017-01-24 2021-04-20 合肥兆芯电子有限公司 Data transmission method, memory storage device and memory control circuit unit
CN108428467B (en) * 2017-02-15 2021-01-12 群联电子股份有限公司 Read voltage tracking method, memory storage device and control circuit unit
TWI670716B (en) * 2018-09-26 2019-09-01 群聯電子股份有限公司 Data access method,memory storage device and memory control circuit unit
CN110010163B (en) * 2019-04-16 2021-03-16 苏州浪潮智能科技有限公司 Disk data retention capability test method and related device
CN112162692B (en) * 2020-09-02 2023-03-21 Oppo(重庆)智能科技有限公司 Data processing method, terminal and storage medium
TWI800777B (en) 2020-12-15 2023-05-01 宏碁股份有限公司 Temperature control method and data storage system
CN114690866B (en) * 2020-12-29 2024-06-11 宏碁股份有限公司 Temperature control method and data storage system
CN113760194B (en) * 2021-09-09 2024-03-12 合肥兆芯电子有限公司 Memory temperature control method and memory temperature control system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102893337A (en) * 2010-02-19 2013-01-23 桑迪士克技术有限公司 Non-volatile storage with temperature compensation based on neighbor state information
TW201314455A (en) * 2011-09-22 2013-04-01 Phison Electronics Corp Memory storage device, memory controller, and temperature management method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102893337A (en) * 2010-02-19 2013-01-23 桑迪士克技术有限公司 Non-volatile storage with temperature compensation based on neighbor state information
TW201314455A (en) * 2011-09-22 2013-04-01 Phison Electronics Corp Memory storage device, memory controller, and temperature management method

Also Published As

Publication number Publication date
CN104898982A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN104898982B (en) Data transmission method, memory control circuit unit and memory storage device
TWI498732B (en) Data transmitting method, memory control circuit unit and memory storage apparatus
US8775874B2 (en) Data protection method, and memory controller and memory storage device using the same
US8392649B2 (en) Memory storage device, controller, and method for responding to host write commands triggering data movement
TWI508099B (en) Clock switching meyhod, memory controller and memory storage apparatus
TWI670716B (en) Data access method,memory storage device and memory control circuit unit
CN107179877B (en) Data transmission method, memory control circuit unit and memory storage device
CN104765569B (en) Data writing method, memory control circuit unit and memory storage device
TWI628666B (en) Temperature control method, memory storage device and memory control circuit unit
CN106775436B (en) Data access method, memory control circuit unit and memory
TWI656531B (en) Average wear method, memory control circuit unit and memory storage device
TW201814489A (en) Data storage method and data storage system
CN103514103A (en) Data protection method, memory controller and memory storage device
TWI649653B (en) Data storage method, memory storage device and memory control circuit unit
TWI644210B (en) Memory management method, memory control circuit unit and memory storage apparatus
JPWO2011118114A1 (en) Nonvolatile storage device and memory controller
TWI550625B (en) Memory management method, memory storage device and memory controlling circuit unit
CN104461379A (en) Method for improving stability of NAND and NAND
CN109471806B (en) Data storage method, memory storage device and memory control circuit unit
TWI653632B (en) Memory management method, memory control circuit unit and memory storage device
CN109410994B (en) Temperature control method, memory storage device, and memory control circuit unit
CN103985403B (en) Working clock switching method, memory controller and memory storage device
CN116880758A (en) Device control method, memory storage device and memory control circuit unit
CN114765035B (en) Storage device and storage device management method
CN104008072B (en) Control method, connector and memory storage device

Legal Events

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