# US 2021/0240390 A1 · Memory system, memory controller and method for operating memory system

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

- Number: US 2021/0240390 A1
- Document ID: US20210240390A1
- Status: Published application
- Kind: A1
- Application number: 16/904,178
- Filed: 2020-06-17
- Published: 2021-08-05
- Earliest claimed: 2020-01-30
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Hyun Tae KIM; Hye Mi KANG; Eu Joon BYUN
- Web page: https://patentgrep.com/patent/US20210240390A1

## CPC

- 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 3/061: {Improving I/O performance}
- G06F 3/0611: {in relation to response time}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0649: {Lifecycle management}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0673: {Single storage device}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/1016: Performance improvement
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F 2212/7204: Capacity control, e.g. partitioning, end-of-life degradation
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F 2212/7211: Wear leveling
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory system, a memory controller and a method for operating the memory system. The memory system manages a hot data pool and a cold data pool, each of which includes at least one among a plurality of memory blocks, writes read only data to the cold data pool, and controls the hot data pool and the cold data pool in garbage collection and wear leveling, thereby classifying data, less frequently updated, into cold data and improving the performance of garbage collection and wear leveling.

## Claims

### Claim 1

A memory system comprising:
a memory device including a plurality of memory blocks; and
a memory controller configured to:
control the memory device,
manage a hot data pool and a cold data pool, each of which includes at least one among the plurality of memory blocks, and
write, when receiving from a host a read only write command which instructs a write operation on read only data, the read only data to the cold data pool.

### Claim 2 (depends on 1)

The memory system according to claim 1, wherein the read only data is data for one among a multimedia file, an OS file and a library file.

### Claim 3 (depends on 1)

The memory system according to claim 1, wherein the read only data is data which is determined, by the host, as being updated equal to or less than a set threshold count during a set time period.

### Claim 4 (depends on 1)

The memory system according to claim 1, wherein the memory controller is further configured to exclude a memory block in the cold data pool from a target block of a garbage collection operation.

### Claim 5 (depends on 1)

The memory system according to claim 1, wherein the memory controller is further configured to determine whether to exchange at least one among memory blocks in the cold data pool and at least one among memory blocks in the hot data pool with each other, in a wear leveling operation.

### Claim 6 (depends on 5)

The memory system according to claim 5, wherein the memory controller is further configured to exchange, when a maximum value among erase-write cycle counts for the memory blocks in the hot data pool is greater than a maximum value among erase-write cycle counts for the memory blocks in the cold data pool, at least one among the memory blocks in the cold data pool and at least one among the memory blocks in the hot data pool with each other in the wear leveling operation.

### Claim 7 (depends on 6)

The memory system according to claim 6, wherein the memory controller exchanges a memory block having a minimum erase-write cycle count among the memory blocks in the cold data pool and a memory block having the maximum erase-write cycle count among the memory blocks in the hot data pool, with each other in the wear leveling operation.

### Claim 8

A memory controller comprising:
a memory interface configured to communicate with a memory device including a plurality of memory blocks; and
a control circuit configured to:
control the memory device,
manage a hot data pool and a cold data pool, each of which includes at least one among the plurality of memory blocks, and
write, when receiving from a host a read only write command which instructs a write operation on read only data, the read only data to the cold data pool.

### Claim 9 (depends on 8)

The memory controller according to claim 8, wherein the control circuit is further configured to exclude a memory block in the cold data pool from a target block of a garbage collection operation.

### Claim 10 (depends on 8)

The memory controller according to claim 8, wherein the control circuit is further configured to determine whether to exchange at least one among memory blocks in the cold data pool and at least one among memory blocks in the hot data pool with each other, in a wear leveling operation.

### Claim 11 (depends on 10)

The memory controller according to claim 10, wherein the control circuit is further configured to exchange, when a maximum value among erase-write cycle counts for the memory blocks in the hot data pool is greater than a maximum value among erase-write cycle counts for the memory blocks in the cold data pool, at least one among the memory blocks in the cold data pool with at least one among the memory blocks in the hot data pool with each other in the wear leveling operation.

### Claim 12 (depends on 11)

The memory controller according to claim 11, wherein the control circuit exchanges a memory block having a minimum erase-write cycle count among the memory blocks in the cold data pool and a memory block having the maximum erase-write cycle count among the memory blocks in the hot data pool, with each other in the wear leveling operation.

### Claim 13

A method for operating a memory system, comprising:
generating a hot data pool and a cold data pool, each of which includes at least one among a plurality of memory blocks included in a memory device;
receiving, from a host, a read only write command which instructs a write operation on read only data; and
writing the read only data to the cold data pool.

### Claim 14 (depends on 13)

The method according to claim 13, further comprising:
excluding a memory block in the cold data pool from a target block of a garbage collection operation.

### Claim 15 (depends on 13)

The method according to claim 13, further comprising: determining whether to exchange at least one among memory blocks in the cold data pool and at least one among memory blocks in the hot data pool with each other, in a wear leveling operation.

### Claim 16 (depends on 15)

The method according to claim 15, further comprising:
exchanging, when a maximum value among erase-write cycle counts for the memory blocks in the hot data pool is greater than a maximum value among erase-write cycle counts for the memory blocks in the cold data pool, at least one among the memory blocks in the cold data pool and at least one among the memory blocks in the hot data pool with each other in the wear leveling operation.

### Claim 17 (depends on 16)

The method according to claim 16, wherein a memory block having a minimum erase-write cycle count among the memory blocks in the cold data pool and a memory block having the maximum erase-write cycle count among the memory blocks in the hot data pool are exchanged with each other in the wear leveling operation.
