Data storage method, memory storage device and memory control circuit unit
AssigneePhison Electronics Corp.
InventorsShao-Hsien Liu, Chien-Han Kuo
Life of this patent
Estimating the term…
Abstract
A data storage method is provided according to an exemplary embodiment of the disclosure. The method is configured for a rewritable non-volatile memory module. The method includes: performing a data merge operation; adjusting a data receiving amount per unit time for receiving to-be-written data from a host system according to a data storage state of the rewritable non-volatile memory module; storing the received to-be-written data into a buffer memory during the data merge operation being performed; and storing the data stored in the buffer memory into the rewritable non-volatile memory module.
Claims33
A data storage method configured for a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises a plurality of physical units, and the data storage method comprises:
- performing a data merge operation;
- obtaining information which reflects a distribution state of valid data stored in at least one physical unit among the physical units;
- obtaining a physical unit release rate of the data merge operation according to the information which reflects the distribution state of the valid data stored in the at least one physical unit, wherein the physical unit release rate reflects that one spare physical unit can be released each time N physical units are fully written by valid data collected by the data merge operation, wherein N is a positive integer;
- determining a data receiving amount per unit time for receiving to-be-written data from a host system according to the physical unit release rate, wherein the step of determining the data receiving amount per unit time for receiving the to-be-written data from the host system according to the physical unit release rate comprises:
- adjusting a to-be-written data transmission parameter, wherein the to-be-written data transmission parameter reflects the data receiving amount per unit time,
- wherein the to-be-written data transmission parameter comprises an event execution time parameter, an event state reply time parameter, or a frequency limitation parameter;
- storing the to-be-written data into a buffer memory during the data merge operation being performed;
- and
- storing the to-be-written data stored in the buffer memory into the rewritable non-volatile memory module.
A memory storage device, comprising:
- a connection interface unit configured to be coupled to a host system;
- a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises a plurality of physical units;
- and
- a memory control circuit unit coupled to the connection interface unit and the rewritable non-volatile memory module,
- wherein the memory control circuit unit is configured to instruct the rewritable non-volatile memory module to perform a data merge operation,
- wherein the memory control circuit unit is further configured to obtain information which reflects a distribution state of valid data stored in at least one physical unit among the physical units,
- wherein the memory control circuit unit is further configured to obtain a physical unit release rate of the data merge operation according to the information which reflects the distribution state of the valid data stored in the at least one physical unit, wherein the physical unit release rate reflects that one spare physical unit can be released each time N physical units are fully written by valid data collected by the data merge operation, wherein N is a positive integer,
- wherein the memory control circuit unit is further configured to determine a data receiving amount per unit time for receiving to-be-written data from the host system according to the physical unit release rate, wherein the operation of determining the data receiving amount per unit time for receiving the to-be-written data from the host system according to the physical unit release rate comprises:
- adjusting a to-be-written data transmission parameter, wherein the to-be-written data transmission parameter reflects the data receiving amount per unit time,
- wherein the to-be-written data transmission parameter comprises an event execution time parameter, an event state reply time parameter, or a frequency limitation parameter,
- wherein the memory control circuit unit is further configured to store the to-be-written data into a buffer memory during the data merge operation being performed,
- wherein the memory control circuit unit is further configured to instruct to store the to-be-written data stored in the buffer memory into the rewritable non-volatile memory module.
A memory control circuit unit configured to control a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises a plurality of physical units, wherein the memory control circuit unit comprises;
- a host interface configured to be coupled to a host system;
- a memory interface configured to be coupled to the rewritable non-volatile memory module;
- a buffer memory;
- and
- a memory management circuit coupled to the host interface, the memory interface, and the buffer memory,
- wherein the memory management circuit is configured to instruct the rewritable non-volatile memory module to perform a data merge operation,
- wherein the memory management circuit is further configured to obtain information which reflects a distribution state of valid data stored in at least one physical unit among the physical units,
- wherein the memory management circuit is further configured to obtain a physical unit release rate of the data merge operation according to the information which reflects the distribution state of the valid data stored in the at least one physical unit, wherein the physical unit release rate reflects that one spare physical unit can be released each time N physical units are fully written by valid data collected by the data merge operation, wherein N is a positive integer,
- wherein the memory management circuit is further configured to determine a data receiving amount per unit time for receiving to-be-written data from the host system according to the physical unit release rate, wherein the operation of determining the data receiving amount per unit time for receiving the to-be-written data from the host system according to the physical unit release rate comprises:
- adjusting a to-be-written data transmission parameter, wherein the to-be-written data transmission parameter reflects the data receiving amount per unit time,
- wherein the to-be-written data transmission parameter comprises an event execution time parameter, an event state reply time parameter, or a frequency limitation parameter,
- wherein the memory management circuit is further configured to store the to-be-written data into the buffer memory during the data merge operation being performed,
- wherein the memory management circuit is further configured to instruct to store the to-be-written data stored in the buffer memory into the rewritable non-volatile memory module.
Dependencies are inferred from the claim text.