# US 2020/0393989 A1 · Memory control method, memory storage device and memory control circuit unit

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0393989 A1
- Document ID: US20200393989A1
- Status: Published application
- Kind: A1
- Application number: 16/542,308
- Filed: 2019-08-16
- Published: 2020-12-17
- Earliest claimed: 2019-06-12
- Assignees: Phison Electronics Corp.
- Applicants: Phison Electronics Corp.
- Inventors: Chih-Kang Yeh
- Web page: https://patentgrep.com/patent/US20200393989A1

## CPC

- G06F 3/0656: {Data buffering arrangements}
- G06F 3/061: {Improving I/O performance}
- G06F 3/064: {Management of blocks}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 3/0607: {by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device}
- G06F 2212/1016: Performance improvement
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F 2212/7208: Multiple device management, e.g. distributing data over multiple flash devices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory control method, a memory storage device, and a memory control circuit unit are disclosed. The memory control method includes: performing a first write operation to write first data to a first physical unit in a first physical group through a first channel; performing a limited data collection operation to collect second data, wherein the limited data collection operation limits that the second data does not include data to be collected from the first physical group after the first write operation is completed; and performing a second write operation during a period of performing the first write operation, so as to write the second data to a second physical unit in the second physical group through a second channel. In addition, the limited data collection operation and the second write operation are configured to release at least one spare physical unit.

## Claims

### Claim 1

A memory control method for a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises at least one first physical group and at least one second physical group, and the memory control method comprises:
performing a first write operation to write first data to at least one first physical unit in the at least one first physical group through at least one first channel;
performing a limited data collection operation to collect second data, wherein the limited data collection operation limits that the second data does not comprise data to be collected from the at least one first physical group after the first write operation is completed; and
performing a second write operation during a period of performing the first write operation, so as to write the second data to at least one second physical unit in the at least one second physical group through at least one second channel,
wherein the limited data collection operation and the second write operation are configured to release at least one spare physical unit.

### Claim 2 (depends on 1)

The memory control method as claimed in claim 1, further comprising:
starting a data merge operation to perform the limited data collection operation and the second write operation.

### Claim 3 (depends on 1)

The memory control method as claimed in claim 1, wherein the at least one first channel is in a busy state during the period of performing the first write operation.

### Claim 4 (depends on 1)

The memory control method as claimed in claim 1, wherein the at least one first physical group corresponds to at least one first die in the rewritable non-volatile memory module, and the at least one second physical group corresponds to at least one second die in the rewritable non-volatile memory module.

### Claim 5 (depends on 1)

The memory control method as claimed in claim 1, wherein the limited data collection operation comprises:
adjusting a priority of at least one command in a buffer memory, wherein the at least one command is configured to instruct a collecting of valid data from the at least one first physical group after the first write operation is completed.

### Claim 6 (depends on 1)

The memory control method as claimed in claim 1, wherein the limited data collection operation comprises:
maintaining table information in a buffer memory, wherein the table information records information relating to a data merge operation; and
adjusting an ordered position of at least one command in the buffer memory according to the table information.

### Claim 7 (depends on 6)

The memory control method as claimed in claim 6, wherein adjusting the ordered position of the at least one command in the buffer memory according to the table information comprises:
sorting the at least one command according to a channel state of the at least one first channel.

### Claim 8 (depends on 7)

The memory control method as claimed in claim 7, wherein sorting the at least one command according to the channel state of the at least one first channel comprises:
evaluating a busy time of the at least one first channel in correspondence with the first write operation; and
sorting the at least one command according to the busy time.

### Claim 9 (depends on 1)

The memory control method as claimed in claim 1, wherein the limited data collection operation comprises:
adjusting a command queue in a buffer memory, so as to arrange each of at least one read command being a command not indicating a reading of data in the first physical group, and the at least one read command is arranged after at least one read command indicating the first write operation.

### Claim 10 (depends on 1)

The memory control method as claimed in claim 1, wherein the limited data collection operation comprises:
evaluating a state of the at least one first channel; and
moving backward an ordered position of at least one read command for performing data reading through the at least one first channel in a command queue according to the state of the at least one first channel.

### Claim 11

A memory storage device, comprising:
a connection interface unit, configured to be coupled to a host system;
a rewritable non-volatile memory module, comprising at least one first physical group and at least one second physical group; 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 perform a first write operation to write first data to at least one first physical unit in the at least one first physical group through at least one first channel,
the memory control circuit unit is further configured to perform a limited data collection operation to collect second data, wherein the limited data collection operation limits that the second data does not comprise data to be collected from the at least one first physical group after the first write operation is completed,
the memory control circuit unit is further configured to perform a second write operation during a period of performing the first write operation, so as to write the second data to at least one second physical unit in the at least one second physical group through at least one second channel, and
the limited data collection operation and the second write operation are configured to release at least one spare physical unit.

### Claim 12 (depends on 11)

The memory storage device as claimed in claim 11, wherein the memory control circuit unit is further configured to start a data merge operation to perform the limited data collection operation and the second write operation.

### Claim 13 (depends on 11)

The memory storage device as claimed in claim 11, wherein the at least one first channel is in a busy state during the period of performing the first write operation.

### Claim 14 (depends on 11)

The memory storage device as claimed in claim 11, wherein the at least one first physical group corresponds to at least one first die in the rewritable non-volatile memory module, and the at least one second physical group corresponds to at least one second die in the rewritable non-volatile memory module.

### Claim 15 (depends on 11)

The memory storage device as claimed in claim 11, wherein the limited data collection operation comprises:
adjusting a priority of at least one command in a buffer memory, wherein the at least one command is configured to instruct a collecting of valid data from the at least one first physical group after the first write operation is completed.

### Claim 16 (depends on 11)

The memory storage device as claimed in claim 11, wherein the limited data collection operation comprises:
maintaining table information in a buffer memory of the memory control circuit unit, wherein the table information comprises information relating to a data merge operation; and
adjusting an ordered position of at least one command in the buffer memory according to the table information.

### Claim 17 (depends on 16)

The memory storage device as claimed in claim 16, wherein an operation for adjusting the ordered position of the at least one command in the buffer memory by the memory control circuit unit according to the table information comprises:
sorting the at least one command according to a channel state of the at least one first channel.

### Claim 18 (depends on 17)

The memory storage device as claimed in claim 17, wherein an operation for sorting the at least one command by the memory control circuit unit according to the channel state of the at least one first channel comprises:
evaluating a busy time of the at least one first channel in correspondence with the first write operation; and
sorting the at least one command according to the busy time.

### Claim 19 (depends on 11)

The memory storage device as claimed in claim 11, wherein the limited data collection operation comprises:
adjusting a command queue in a buffer memory, so as to arrange each of at least one read command being a command not indicating a reading of data in the first physical group, and the at least one read command is arranged after at least one read command indicating the first write operation.

### Claim 20 (depends on 11)

The memory storage device as claimed in claim 11, wherein the limited data collection operation comprises:
evaluating a state of the at least one first channel; and
moving backward an ordered position of at least one read command for performing data reading through the at least one first channel in a command queue according to the state of the at least one first channel.

### Claim 21

A memory control circuit unit for controlling a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises at least one first physical group and at least one second physical group, and 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 perform a first write operation to write first data to at least one first physical unit in the at least one first physical group through at least one first channel,
the memory management circuit is further configured to perform a limited data collection operation to collect second data, wherein the limited data collection operation limits that the second data does not comprise data to be collected from the at least one first physical group after the first write operation is completed,
the memory management circuit is further configured to perform a second write operation during a period of performing the first write operation, so as to write the second data to at least one second physical unit in the at least one second physical group through at least one second channel, and
the limited data collection operation and the second write operation are configured to release at least one spare physical unit.

### Claim 22 (depends on 21)

The memory control circuit unit as claimed in claim 21, wherein the memory management circuit is further configured to start a data merge operation to perform the limited data collection operation and the second write operation.

### Claim 23 (depends on 21)

The memory control circuit unit as claimed in claim 21, wherein the at least one first channel is in a busy state during the period of performing the first write operation.

### Claim 24 (depends on 21)

The memory control circuit unit as claimed in claim 21, wherein the at least one first physical group corresponds to at least one first die in the rewritable non-volatile memory module, and the at least one second physical group corresponds to at least one second die in the rewritable non-volatile memory module.

### Claim 25 (depends on 21)

The memory control circuit unit as claimed in claim 21, wherein the limited data collection operation comprises:
adjusting a priority of at least one command in the buffer memory, wherein the at least one command is configured to instruct a collecting of valid data from the at least one first physical group after the first write operation is completed.

### Claim 26 (depends on 21)

The memory control circuit unit as claimed in claim 21, wherein the limited data collection operation comprises:
maintaining table information in the buffer memory, wherein the table information comprises information relating to a data merge operation; and
adjusting an ordered position of at least one command in the buffer memory according to the table information.

### Claim 27 (depends on 26)

The memory control circuit unit as claimed in claim 26, wherein an operation for adjusting the ordered position of the at least one command in the buffer memory by the memory management circuit according to the table information comprises:
sorting the at least one command according to a channel state of the at least one first channel.

### Claim 28 (depends on 27)

The memory control circuit unit as claimed in claim 27, wherein an operation for sorting the at least one command by the memory management circuit according to the channel state of the at least one first channel comprises:
evaluating a busy time of the at least one first channel in correspondence with the first write operation; and
sorting the at least one command according to the busy time.

### Claim 29 (depends on 21)

The memory control circuit unit as claimed in claim 21, wherein the limited data collection operation comprises:
adjusting a command queue in the buffer memory, so as to arrange each of at least one read command being a command not indicating a reading of data in the first physical group, and the at least one read command is arranged after at least one read command indicating the first write operation.

### Claim 30 (depends on 21)

The memory control circuit unit as claimed in claim 21, wherein the limited data collection operation comprises:
evaluating a state of the at least one first channel; and
moving backward an ordered position of at least one read command for performing data reading through the at least one first channel in a command queue according to the state of the at least one first channel.
