US8606970B2ActiveUtilityA1

Data writing method for non-volatile memory, and controller and storage system using the same

63
Assignee: CHU CHIEN-HUAPriority: Feb 12, 2010Filed: Jun 27, 2012Granted: Dec 10, 2013
Est. expiryFeb 12, 2030(~3.6 yrs left)· nominal 20-yr term from priority
G06F 1/3275G06F 13/1684Y02D30/50G06F 1/3203Y02D10/00G06F 3/0601
63
PatentIndex Score
1
Cited by
5
References
18
Claims

Abstract

A data writing method for writing data from a host system into a plurality of memory dies of a rewritable non-volatile memory storage apparatus is provided. The data writing method includes determining whether the data transmission interface of the host system complies with a first interface standard or a second interface standard. The data writing method also includes using a general mode to write the data into the memory dies when the data transmission interface of the host system complies with the first interface standard and using a power saving mode to write the data into the memory dies when the data transmission interface of the host system complies with the second interface standard. Accordingly, the data writing method can effectively prevent the stability of the rewritable non-volatile memory storage apparatus from reducing due to insufficient power supplied by the data transmission interface.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
       1. A data writing method, for writing data from a host system into a plurality of memory dies of a rewritable non-volatile memory storage apparatus, wherein a host interface of the rewritable non-volatile memory storage apparatus couples to a data transmission interface of the host system, the data writing method comprising:
 identifying an information received from the host system to obtain a power value; 
 determining a mode to be used according to the power value; 
 using a general mode to write the data into the memory dies when the power value is complied with the general mode, wherein the number of memory dies that are at a busy status or a transmission status at the same time among the memory dies is not larger than a first amount in the general mode; and 
 using a power saving mode to write the data into the memory dies when the power value is complied with the power saving mode, wherein the number of memory dies that are at the busy status or the transmission status at the same time among the memory dies is not larger than a second amount in the power saving mode. 
 
     
     
       2. The data writing method according to  claim 1 , wherein the power value is a current supplied by the data transmission interface. 
     
     
       3. The data writing method according to  claim 1  further comprising:
 detecting the power value passed from the data transmission interface to the host interface, 
 wherein the step of determining the mode to be used according to the power value includes determining the mode to be used according to a result of detecting the power value passed from the data transmission interface to the host interface. 
 
     
     
       4. The data writing method according to  claim 1  further comprising:
 wherein the step of using the general mode to write the data into the memory dies comprises: writing the data into the memory dies with using an interleave mode, 
 wherein the step of using the power saving mode to write the data into the memory dies comprises: writing the data into the memory dies without using the interleave mode. 
 
     
     
       5. The data writing method according to  claim 1 , wherein the step of using the power saving mode to write the data into the memory dies comprises:
 recording the number of memory dies that are at the busy status among the memory dies; 
 recording the number of memory dies that are at the transmission status among the memory dies; 
 determining whether a sum of the number of memory dies that are at the busy status and the number of memory dies that are at the transmission status is smaller than a predetermined threshold; and 
 writing the data into one of the memory dies when the sum is smaller than the predetermined threshold, wherein the memory die written with the data is neither at the busy status nor the transmission status. 
 
     
     
       6. The data writing method according to  claim 5  further comprising:
 wherein the step of recording the number of memory dies that are at the busy status among the memory dies comprises:
 monitoring an idle-busy signal corresponding to each of the memory dies; 
 adding a first memory die among the memory dies in a busy status list when the idle-busy signal corresponding to the first memory die becomes the busy status from an idle status; 
 deleting the first memory die from the busy status list when the idle-busy signal corresponding to the first memory die becomes the idle status from the busy status; and 
 calculating the number of memory dies that are at the busy status among the memory dies according to the busy status list, 
 
 wherein the step of recording the number of memory dies that are at the transmission status among the memory dies comprises:
 monitoring a standby-transmission signal corresponding to each of the memory dies; 
 adding a second memory die among the memory dies in a transmission status list when the standby-transmission signal corresponding to the second memory die becomes the transmission status from a standby status; 
 deleting the second memory dies from the transmission status list when the standby-transmission signal corresponding to the second memory die becomes the standby status from the transmission status; and 
 calculating the number of memory dies that are at the transmission status among the memory dies according to the transmission status list. 
 
 
     
     
       7. A rewritable non-volatile memory controller for writing data from a host system into a plurality of memory dies, the rewritable non-volatile memory controller comprising:
 a host interface, configured to couple to a data transmission interface of the host system; 
 a rewritable non-volatile memory interface, configured to couple to the memory dies; and 
 a memory management circuit, coupled to the host interface and the rewritable non-volatile memory interface, wherein memory management circuit is configured to:
 identify an information received from the host system to obtain a power value; 
 determine a mode to be used according to the power value; 
 use a general mode to write the data into the memory dies when the power value is complied with the general mode, wherein the number of memory dies that are at a busy status or a transmission status at the same time among the memory dies is not larger than a first amount in the general mode; and 
 use a power saving mode to write the data into the memory dies when the power value is complied with the power saving mode, wherein the number of memory dies that are at the busy status or the transmission status at the same time among the memory dies is not larger than a second amount in the power saving mode. 
 
 
     
     
       8. The rewritable non-volatile memory controller according to  claim 7 , wherein the power value is a current supplied by the data transmission interface. 
     
     
       9. The rewritable non-volatile memory controller according to  claim 7 , wherein the memory management circuit is further configured to detect the power value passed from the data transmission interface to the host interface, and determine the mode to be used according to a result of detecting the power value passed from the data transmission interface to the host interface. 
     
     
       10. The rewritable non-volatile memory controller according to  claim 7 ,
 wherein the memory management circuit writes the data into the memory dies with using an interleave mode in the general mode, 
 wherein the memory management circuit writes the data into the memory dies without using the interleave mode in the power saving mode. 
 
     
     
       11. The rewritable non-volatile memory controller according to  claim 7 , wherein in the power saving mode, the memory management circuit is further configured to:
 record the number of memory dies that are at the busy status among the memory dies; 
 record the number of memory dies that are at the transmission status among the memory dies; 
 determine whether a sum of the number of memory dies that are at the busy status and the number of memory dies that are at the transmission status is smaller than a predetermined threshold; and 
 write the data into one of the memory dies when the sum is smaller than the predetermined threshold, wherein the memory die written with the data is neither at the busy status nor the transmission status. 
 
     
     
       12. The rewritable non-volatile memory controller according to  claim 11 , wherein the memory management circuit is further configured to:
 monitor an idle-busy signal corresponding to each of the memory dies; 
 add a first memory die among the memory dies in a busy status list when the idle-busy signal corresponding to the first memory die becomes the busy status from an idle status; 
 delete the first memory die from the busy status list when the idle-busy signal corresponding to the first memory dies becomes the idle status from the busy status; and 
 calculate the number of memory dies that are at the busy status among the memory dies according to the busy status list, 
 monitor a standby-transmission signal corresponding to each of the memory dies; 
 add a second memory die among the memory dies in a transmission status list when the standby-transmission signal corresponding to the second memory die becomes the transmission status from a standby status; 
 delete the second the memory die from the transmission status list when the standby-transmission signal corresponding to the second memory die becomes the standby status from the transmission status; and 
 calculate the number of memory dies that are at the transmission status among the memory dies according to the transmission status list. 
 
     
     
       13. A rewritable non-volatile memory storage system, comprising:
 a connector, configured to couple to a data transmission interface of a host system; 
 a memory module, having a plurality of memory dies; and 
 a rewritable non-volatile memory controller, coupled to the memory module and the connector and configured to:
 identify an information received from the host system to obtain a power value; 
 determine a mode to be used according to the power value; 
 use a general mode to write data into the memory dies when the power value is complied with the general mode, wherein the number of memory dies that are at a busy status or a transmission status at the same time among the memory dies is not larger than a first amount in the general mode; and 
 use a power saving mode to write the data into the memory dies when the power value is complied with the power saving mode, wherein the number of memory dies that are at the busy status or the transmission status at the same time among the memory dies is not larger than a second amount in the power saving mode. 
 
 
     
     
       14. The rewritable non-volatile memory storage system according to  claim 13 , wherein the power value is a current supplied by the data transmission interface. 
     
     
       15. The rewritable non-volatile memory storage system according to  claim 13 , wherein the rewritable non-volatile memory controller is further configured to detect the power value passed from the data transmission interface to the host interface, and determine the mode to be used according to a result of detecting the power value passed from the data transmission interface to the host interface. 
     
     
       16. The rewritable non-volatile memory storage system according to  claim 13 ,
 wherein the rewritable non-volatile memory controller writes the data into the memory dies with using an interleave mode in the general mode, 
 wherein the rewritable non-volatile memory controller writes the data into the memory dies without using an interleave mode in the power saving mode. 
 
     
     
       17. The rewritable non-volatile memory storage system according to  claim 13 , wherein in the power saving mode, the rewritable non-volatile memory controller is further configured to:
 record the number of memory dies that are at the busy status among the memory dies; 
 record the number of memory dies that are at the transmission status among the memory dies; 
 determine whether a sum of the number of memory dies that are at the busy status and the number of memory dies that are at the transmission status is smaller than a predetermined threshold; and 
 write the data into one of the memory dies when the sum is smaller than the predetermined threshold, wherein the memory die written with the data is neither at the busy status nor the transmission status. 
 
     
     
       18. The rewritable non-volatile memory storage system according to  claim 17 , wherein the rewritable non-volatile memory controller is further configured to:
 monitor an idle-busy signal corresponding to each of the memory dies; 
 add a first memory die among the memory dies in a busy status list when the idle-busy signal corresponding to the first memory die becomes the busy status from an idle status; 
 delete the first memory die from the busy status list when the idle-busy signal corresponding to the first memory dies becomes the idle status from the busy status; 
 calculate the number of memory dies that are at the busy status among the memory dies according to the busy status list, 
 monitor a standby-transmission signal corresponding to each of the memory dies; 
 add a second memory die among the memory dies in a transmission status list when the standby-transmission signal corresponding to the second memory die becomes the transmission status from a standby status; 
 delete the second memory die from the transmission status list when the standby-transmission signal corresponding to the second memory die becomes the standby status from the transmission status; and 
 calculate the number of memory dies that are at the transmission status among the memory dies according to the transmission status list.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.