# US 2025/0165169 A1 · Memory systems, operating methods thereof, and storage media

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

- Number: US 2025/0165169 A1
- Document ID: US20250165169A1
- Status: Published application
- Kind: A1
- Application number: 18/639,709
- Filed: 2024-04-18
- Published: 2025-05-22
- Earliest claimed: 2023-11-20
- Assignees: Yangtze Memory Technologies Co., Ltd.
- Applicants: Yangtze Memory Technologies Co., Ltd.
- Inventors: Baijun HU
- Web page: https://patentgrep.com/patent/US20250165169A1

## CPC

- G06F 3/0634: {by changing the state or mode of one or more devices}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/061: {Improving I/O performance}
- G06F 3/064: {Management of blocks}
- 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

Implementations of the present disclosure provide a memory system, an operating method thereof, and a storage medium. The memory system comprises: a memory device including a plurality of blocks, wherein a block includes a plurality of memory cells; a memory controller coupled to the memory device and configured to: determine a storage mode for a block based on a total amount of valid data in all of the plurality of blocks; wherein data reading and writing with different rates are to be performed for different storage modes by configuring the number of data bits stored in each memory cell in the block.

## Claims

### Claim 1

A memory system, comprising:
a memory device including a plurality of blocks, wherein a block includes a plurality of memory cells; and
a memory controller coupled to the memory device and configured to:
determine a storage mode for based on a total amount of valid data in all of the plurality of blocks, different storage modes based on a number of data bits stored in each memory cell in the block.

### Claim 2 (depends on 1)

The memory system of claim 1, wherein the memory controller is configured to:
acquire the total amount of valid data in all of the plurality of blocks;
calculate a ratio of the total amount of valid data to a total memory space of the plurality of blocks to obtain a proportion of valid data; and
determine, based on the proportion of valid data, the storage mode for a new block to be opened.

### Claim 3 (depends on 2)

The memory system of claim 2, wherein the different storage modes comprise a first mode and a second mode; wherein in the first mode, the data bits stored in each memory cell of the block comprise one bit; and in the second mode, the data bits stored in each memory cell of the block comprise multiple bits;
the memory controller is configured to:
configure dynamically a number of blocks adopting the first mode when the proportion of valid data is greater than or equal to a first threshold; and
stop configuring dynamically the number of blocks adopting the first mode when the proportion of valid data is greater than or equal to a second threshold; wherein the first threshold is less than the second threshold.

### Claim 4 (depends on 3)

The memory system of claim 3, wherein the memory controller is configured to:
configure the number of blocks adopting the first mode to be a first number when the proportion of valid data is a first proportion;
configure the number of blocks adopting the first mode to be a second number when the proportion of valid data is a second proportion; and
configure the number of blocks adopting the first mode to be a third number when the proportion of valid data is a third proportion;
wherein the first proportion is less than the second proportion, and the second proportion is less than the third proportion; the first number is greater than the second number, and the second number is greater than the third number.

### Claim 5 (depends on 4)

The memory system of claim 4, wherein the proportion of valid data is linearly correlated with the number of blocks adopting the first mode, both between the first proportion and the second proportion and between the second proportion and the third proportion; and
a ratio of a difference between the second number and the first number to a difference between the second proportion and the first proportion is different from a ratio of a difference between the third number and the second number to a difference between the third proportion and the second proportion.

### Claim 6 (depends on 3)

The memory system of claim 3, wherein the memory controller is configured to:
query a target mapping table using the proportion of valid data to determine the number of blocks adopting the first mode; the target mapping table includes a correspondence relationship between values of different proportions of valid data and corresponding numbers of blocks adopting the first mode.

### Claim 7 (depends on 6)

The memory system of claim 6, wherein the memory controller is further configured to:
select the target mapping table from among a plurality of mapping tables before querying the target mapping table; the correspondence relationship between the values of different proportions of valid data and the corresponding numbers of blocks adopting the first mode, contained in each of the plurality of mapping tables, is different from one another.

### Claim 8 (depends on 3)

The memory system of claim 3, wherein the memory controller is further configured to:
configure a new block to perform the data writing with the first mode when the number of blocks adopting the first mode determined based on the proportion of valid data is greater than a current number of blocks actually adopting the first mode; and
configure the new block to perform the data writing with the second mode when the number of blocks adopting the first mode determined based on the proportion of valid data is less than or equal to a current number of blocks actually adopting the first mode.

### Claim 9 (depends on 2)

The memory system of claim 2, wherein a block comprises a plurality of pages;
the memory controller is further configured to:
acquire a count of pages occupied by valid data in all of the plurality of blocks to obtain the total amount of valid data.

### Claim 10 (depends on 1)

The memory system of claim 1, wherein the valid data includes data that has not been erased, indicated to be erased, updated or rewritten by a host system.

### Claim 11

An operating method of a memory system, comprising:
determining a storage mode for a block based on a total amount of valid data in all of a plurality of blocks in a memory device of the memory system; wherein different storage modes based on a number of data bits stored in each memory cell in the block.

### Claim 12 (depends on 11)

The operating method of claim 11, further comprising:
acquiring the total amount of valid data in all of the plurality of blocks;
calculating a ratio of the total amount of valid data to a total memory space of the plurality of blocks to obtain a proportion of valid data; and
determining, based on the proportion of valid data, the storage mode for a new block to be opened.

### Claim 13 (depends on 12)

The operating method of claim 12, wherein the different storage modes comprise a first mode and a second mode; wherein in the first mode, the data bits stored in each memory cell of the block comprise one bit; and in the second mode, the data bits stored in each memory cell of the block comprise multiple bits;
determining, based on the proportion of valid data, the storage mode for the block comprises:
configuring dynamically a number of blocks adopting the first mode when the proportion of valid data is greater than or equal to a first threshold; and
stopping configuring dynamically the number of blocks adopting the first mode when the proportion of valid data is greater than or equal to a second threshold; wherein the first threshold is less than the second threshold.

### Claim 14 (depends on 13)

The operating method of claim 13, further comprising:
configuring the number of blocks adopting the first mode to be a first number when the proportion of valid data is a first proportion;
configuring the number of blocks adopting the first mode to be a second number when the proportion of valid data is a second proportion; and
configuring the number of blocks adopting the first mode to be a third number when the proportion of valid data is a third proportion;
wherein the first proportion is less than the second proportion, and the second proportion is less than the third proportion; the first number is greater than the second number, and the second number is greater than the third number.

### Claim 15 (depends on 14)

The operating method of claim 14, wherein the proportion of valid data is linearly correlated with the number of blocks adopting the first mode, both between the first proportion and the second proportion and between the second proportion and the third proportion; and
a ratio of a difference between the second number and the first number to a difference between the second proportion and the first proportion is different from a ratio of a difference between the third number and the second number to a difference between the third proportion and the second proportion.

### Claim 16 (depends on 13)

The operating method of claim 13, further comprising:
querying a target mapping table using the proportion of valid data to determine the number of blocks adopting the first mode; the target mapping table includes a correspondence relationship between values of different proportions of valid data and corresponding numbers of blocks adopting the first mode.

### Claim 17 (depends on 16)

The operating method of claim 16, further comprising:
selecting the target mapping table from among a plurality of mapping tables before querying the target mapping table; the correspondence relationship between the values of different proportions of valid data and the corresponding numbers of blocks adopting the first mode, contained in each of the plurality of mapping tables, is different from one another.

### Claim 18 (depends on 13)

The operating method of claim 13, further comprising:
configuring a new block to perform the data writing with the first mode when the number of blocks adopting the first mode determined based on the proportion of valid data is greater than a current number of blocks actually adopting the first mode; and
configuring the new block to perform the data writing with the second mode when the number of blocks adopting the first mode determined based on the proportion of valid data is less than or equal to a current number of blocks actually adopting the first mode.

### Claim 19 (depends on 12)

The operating method of claim 12, wherein a block comprises a plurality of pages; acquiring the total amount of valid data in all of the plurality of blocks comprises:
acquiring a count of pages occupied by valid data in all of the plurality of blocks to obtain the total amount of valid data.

### Claim 20

A storage medium having stored thereon executable instructions which, when being executed, implement an operating method of a memory system, comprising:
determining a storage mode for a block based on a total amount of valid data in all of a plurality of blocks in a memory device of the memory system; wherein different storage modes based on a number of data bits stored in each memory cell in the block.
