Data writing method, memory control circuit unit and memory storage apparatus
AssigneePhison Electronics Corp.
InventorsPing-Chuan Lin, Hsiang-Jui Huang, Ping-Yu Hsieh, Tsung-Ju Wu
Life of this patent
Estimating the term…
Abstract
A data writing method, a memory control circuit unit, and a memory storage apparatus are provided. The method includes: receiving a write command from a host system; and determining whether to write a data corresponding to the write command into a first area or a second area according to a write amplification factor of the first area, where if it is determined to write the data into the second area, copying the written data to the first area after writing the data.
Claims30
A data writing method for a memory storage apparatus, the memory storage apparatus having a rewritable non-volatile memory module, the rewritable non-volatile memory module comprising a plurality of areas, each of the plurality of areas comprising a plurality of physical erasing units, and each of the plurality of physical erasing units having a plurality of memory cells, wherein the plurality of areas comprises a first area and a second area, and the data writing method comprising:
- receiving a write command from a host system;
- calculating a write amplification factor (WAF) of the first area according to an amount of data previously written by the host system and an amount of data previously written to the first area;
- and
- determining, according to the write amplification factor of the first area of the plurality of areas, whether to write a first data corresponding to the write command into the first area or the second area of the plurality of areas, wherein if it is determined to write the first data into the second area, the written first data is copied to the first area after writing the first data,
- wherein the first area includes memory cells which store two or more number of bits per memory cell and the second area includes memory cells which store one bit per memory cell.
A memory control circuit unit, comprising:
- a host interface configured to be coupled to a host system;
- a memory interface configured to be coupled to a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises a plurality of areas, each of the plurality of areas comprises a plurality of physical erasing units, each of the plurality of physical erasing units has a plurality of memory cells, wherein the plurality of areas comprises a first area and a second area;
- and
- a memory management circuit comprising a processor coupled to the host interface and the memory interface,
- wherein the memory management circuit is configured to receive a write command from the host system,
- the memory management circuit is further configured to calculate a write amplification factor (WAF) of the first area according to an amount of data previously written by the host system and an amount of data previously written to the first area, and
- the memory management circuit is further configured to determine, according to the write amplification factor of the first area of the plurality of areas, whether to write a first data corresponding to the write command into the first area or the second area of the plurality of areas, wherein it if is determined to write the first data into the second area, the written first data is copied into the first area after writing the first data,
- wherein the first area includes memory cells which store two or more number of bits per memory cell and the second area includes memory cells which store one bit per memory cell.
A memory storage apparatus, comprising:
- a connection interface unit configured to be coupled to a host system;
- a rewritable non-volatile memory module comprising a plurality of areas, each of the plurality of areas comprising a plurality of physical erasing units, and each of the plurality of physical erasing units having a plurality of memory cells, wherein the plurality of areas comprises a first area and a second area;
- 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 receive a write command from the host system,
- the memory control circuit unit is further configured to calculate a write amplification factor (WAF) of the first area according to an amount of data previously written by the host system and an amount of data previously written to the first area, and
- the memory control circuit unit is further configured to determine, according to the write amplification factor of the first area of the plurality of areas, whether to write a first data corresponding to the write command into the first area or the second area of the plurality of areas, wherein if it is determined to write the first data into the second area, the written first data is copied into the first area after writing the first data,
- wherein the first area includes memory cells which store two or more number of bits per memory cell and the second area includes memory cells which store one bit per memory cell.
Dependencies are inferred from the claim text.