# US 2024/0004554 A1 · Partial erasing management 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 2024/0004554 A1
- Document ID: US20240004554A1
- Status: Published application
- Kind: A1
- Application number: 17/866,569
- Filed: 2022-07-18
- Published: 2024-01-04
- Earliest claimed: 2022-06-30
- Assignees: Phison Electronics Corp.
- Applicants: Phison Electronics Corp.
- Inventors: Chih-Kang Yeh
- Web page: https://patentgrep.com/patent/US20240004554A1

## CPC

- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A partial erasing management method, a memory storage device, and a memory control circuit unit are provided. The method includes: performing a first partial erasing operation on a first physical region among multiple physical regions in a first physical erasing unit to erase first data in the first physical region; after performing the first partial erasing operation on the first physical region, performing a first programming operation on the first physical region to store second data into the first physical region; and in response to at least one of the first partial erasing operation and the first programming operation, updating first status information related to the first physical region.

## Claims

### Claim 1

A partial erasing management method for a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises a plurality of physical erasing units, and the physical erasing units comprise a first physical erasing unit, the partial erasing management method comprising:
performing a first partial erasing operation on a first physical region among a plurality of physical regions in the first physical region to erase first data in the first physical region, wherein the physical regions are sequentially used based on a preset order;
after performing the first partial erasing operation on the first physical region, performing a first programming operation on the first physical region to store second data into the first physical region; and
in response to at least one of the first partial erasing operation and the first programming operation, updating first status information related to the first physical region.

### Claim 2 (depends on 1)

The partial erasing management method according to claim 1, wherein when the first physical region is in an erasing status, remaining physical regions among the physical regions are not in the erasing status.

### Claim 3 (depends on 1)

The partial erasing management method according to claim 1, wherein after performing the first programming operation on the first physical region, a second physical region among the physical regions still stores third data to be erased.

### Claim 4 (depends on 1)

The partial erasing management method according to claim 1, further comprising:
after performing the first programming operation on the first physical region, performing a second partial erasing operation on a second physical region among the physical regions to erase third data in the second physical region,
wherein the second physical region is different from the first physical region.

### Claim 5 (depends on 4)

The partial erasing management method according to claim 4, further comprising:
after performing the second partial erasing operation on the second physical region, performing a second programming operation on the second physical region to store fourth data into the second physical region; and
in response to at least one of the second partial erasing operation and the second programming operation, updating second status information related to the second physical region,
wherein the updated second status information is same as the updated first status information.

### Claim 6 (depends on 1)

The partial erasing management method according to claim 1, wherein sequentially using the physical regions based on the preset order comprises sequentially erasing and programming the physical regions based on the preset order.

### Claim 7 (depends on 1)

The partial erasing management method according to claim 1, further comprising:
obtaining a usage status of the first physical region according to the first status information.

### Claim 8 (depends on 1)

The partial erasing management method according to claim 1, further comprising:
reconstructing a mapping table according to the first status information, wherein the mapping table records logical-to-physical mapping information related to the second data.

### Claim 9 (depends on 1)

The partial erasing management method according to claim 1, further comprising:
obtaining a distribution status of new data and old data in the first physical erasing unit according to the first status information; and
performing a second partial erasing operation on the old data.

### Claim 10 (depends on 1)

The partial erasing management method according to claim 1, wherein the first status information reflects at least one of an erasing progress and a programming progress of the first physical erasing unit.

### Claim 11

A memory storage device, comprising:
a connection interface unit, used to couple to a host system;
a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises a plurality of physical erasing units, and the physical erasing units comprise a first physical erasing unit; 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 used to:
instruct to perform a first partial erasing operation on a first physical region among a plurality of physical regions in the first physical erasing unit to erase first data in the first physical region, wherein the physical regions are sequentially used based on a preset order;
after performing the first partial erasing operation on the first physical region, instruct to perform a first programming operation on the first physical region to store second data into the first physical region; and
in response to at least one of the first partial erasing operation and the first programming operation, update first status information related to the first physical region.

### Claim 12 (depends on 11)

The memory storage device according to claim 11, wherein when the first physical region is in an erasing status, remaining physical regions among the physical regions are not in the erasing status.

### Claim 13 (depends on 11)

The memory storage device according to claim 11, wherein after performing the first programming operation on the first physical region, a second physical region among the physical regions still stores third data to be erased.

### Claim 14 (depends on 11)

The memory storage device according to claim 11, wherein the memory control circuit unit is further used to:
after performing the first programming operation on the first physical region, instruct to perform a second partial erasing operation on a second physical region among the physical regions to erase third data in the second physical region,
wherein the second physical region is different from the first physical region.

### Claim 15 (depends on 14)

The memory storage device according to claim 14, wherein the memory control circuit unit is further used to:
after performing the second partial erasing operation on the second physical region, instruct to perform a second programming operation on the second physical region to store fourth data into the second physical region; and
in response to at least one of the second partial erasing operation and the second programming operation, update second status information related to the second physical region,
wherein the updated second status information is same as the updated first status information.

### Claim 16 (depends on 11)

The memory storage device according to claim 11, wherein sequentially using the physical regions based on the preset order comprises sequentially erasing and programming the physical regions based on the preset order.

### Claim 17 (depends on 11)

The memory storage device according to claim 11, wherein the memory control circuit unit is further used to:
obtain a usage status of the first physical region according to the first status information.

### Claim 18 (depends on 11)

The memory storage device according to claim 11, wherein the memory control circuit unit is further used to:
reconstruct a mapping table according to the first status information, wherein the mapping table records logical-to-physical mapping information related to the second data.

### Claim 19 (depends on 11)

The memory storage device according to claim 11, wherein the memory control circuit unit is further used to:
obtain a distribution status of new data and old data in the first physical erasing unit according to the first status information; and
perform a second partial erasing operation on the old data.

### Claim 20 (depends on 11)

The memory storage device according to claim 11, wherein the first status information reflects at least one of an erasing progress and a programming progress of the first physical erasing unit.

### Claim 21

A memory control circuit unit for controlling a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises a plurality of physical erasing units, and the physical erasing units comprise a first physical erasing unit, the memory control circuit unit comprising:
a host interface, used to couple to a host system;
a memory interface, used to couple to the rewritable non-volatile memory module; and
a memory management circuit, coupled to the host interface and the memory interface,
wherein the memory management circuit is used to:
instruct to perform a first partial erasing operation on a first physical region among a plurality of physical regions in the first physical erasing unit to erase first data in the first physical region, wherein the physical regions are sequentially used based on a preset order;
after performing the first partial erasing operation on the first physical region, instruct to perform a first programming operation on the first physical region to store second data into the first physical region; and
in response to at least one of the first partial erasing operation and the first programming operation, update first status information related to the first physical region.

### Claim 22 (depends on 21)

The memory control circuit unit according to claim 21, wherein when the first physical region is in an erasing status, remaining physical regions among the physical regions are not in the erasing status.

### Claim 23 (depends on 21)

The memory control circuit unit according to claim 21, wherein after performing the first programming operation on the first physical region, a second physical region among the physical regions still stores third data to be erased.

### Claim 24 (depends on 21)

The memory control circuit unit according to claim 21, wherein the memory management circuit is further used to:
after performing the first programming operation on the first physical region, instruct to perform a second partial erasing operation on a second physical region among the physical regions to erase third data in the second physical region,
wherein the second physical region is different from the first physical region.

### Claim 25 (depends on 24)

The memory control circuit unit according to claim 24, wherein the memory management circuit is further used to:
after performing the second partial erasing operation on the second physical region, instruct to perform a second programming operation on the second physical region to store fourth data into the second physical region; and
in response to at least one of the second partial erasing operation and the second programming operation, update second status information related to the second physical region,
wherein the updated second status information is same as the updated first status information.

### Claim 26 (depends on 21)

The memory control circuit unit according to claim 21, wherein sequentially using the physical regions based on the preset order comprises sequentially erasing and programming the physical regions based on the preset order.

### Claim 27 (depends on 21)

The memory control circuit unit according to claim 21, wherein the memory management circuit is further used to:
obtain a usage status of the first physical region according to the first status information.

### Claim 28 (depends on 21)

The memory control circuit unit according to claim 21, wherein the memory management circuit is further used to:
reconstruct a mapping table according to the first status information, wherein the mapping table records logical-to-physical mapping information related to the second data.

### Claim 29 (depends on 21)

The memory control circuit unit according to claim 21, wherein the memory management circuit is further used to:
obtain a distribution status of new data and old data in the first physical erasing unit according to the first status information; and
perform a second partial erasing operation on the old data.

### Claim 30 (depends on 21)

The memory control circuit unit according to claim 21, wherein the first status information reflects at least one of an erasing progress and a programming progress of the first physical erasing unit.
