# US 2020/0394074 A1 · Memory system, memory controller and method for operating memory controller

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

- Number: US 2020/0394074 A1
- Document ID: US20200394074A1
- Status: Published application
- Kind: A1
- Application number: 16/800,393
- Filed: 2020-02-25
- Published: 2020-12-17
- Earliest claimed: 2019-06-13
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Do Hyeong LEE; Hee Chan SHIN; Young Ho AHN; Yong Seok OH
- Web page: https://patentgrep.com/patent/US20200394074A1

## CPC

- G06F 13/1668: {Details of memory controller}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory system includes a nonvolatile memory set including a nonvolatile memory; and a memory controller configured to control the nonvolatile memory set. The memory controller may write data to a memory block in a target memory block pool in the nonvolatile memory set during a target time period existing between a time at which an operation mode for the nonvolatile memory set is changed from a second operation mode to a first operation mode and a time at which a command including information indicating that a host expects a requested operation to be performed in the first operation mode is received from the host, prevent execution of a background operation for the nonvolatile memory set, when the operation mode is the first operation mode, and control a background operation for the nonvolatile memory set to be executable, when the operation mode is the second operation mode.

## Claims

### Claim 1

A memory system comprising:
a nonvolatile memory set including at least one nonvolatile memory; and
a memory controller configured to:
control the nonvolatile memory set;
write data to a memory block in a target memory block pool in the nonvolatile memory set during a target time period between a time at which an operation mode for the nonvolatile memory set is changed from a second operation mode to a first operation mode and a time at which a command including information indicating that a host expects a requested operation to be performed in the first operation mode is received from the host;
prevent execution of a background operation for the nonvolatile memory set when the operation mode is the first operation mode; and
control a background operation for the nonvolatile memory set to be executable when the operation mode is the second operation mode.

### Claim 2 (depends on 1)

The memory system according to claim 1, wherein the memory controller is further configured to write data to a memory block not in the target memory block pool during a time other than the target time period.

### Claim 3 (depends on 1)

The memory system according to claim 1, wherein, when an operation mode setting command instructing the memory controller to set the operation mode for the nonvolatile memory set to the first operation mode is received from the host, the memory controller changes the operation mode from the second operation mode to the first operation mode.

### Claim 4 (depends on 1)

The memory system according to claim 1, wherein, during the target time period, the memory controller does not change a value of a write attribute indicating information on a number of write operations that are allowable in the first operation mode.

### Claim 5 (depends on 1)

The memory system according to claim 1, wherein, when the target time period is equal to or longer than a set threshold time period, the memory controller transmits event information to the host.

### Claim 6 (depends on 1)

The memory system according to claim 1, wherein, when there is no free memory block to which data is able to be written among memory blocks in the target memory block pool, the memory controller transmits event information to the host.

### Claim 7 (depends on 1)

The memory system according to claim 1, wherein, in the second operation mode, the memory controller is further configured to execute a background operation for a memory block in the target memory block pool to secure a free memory block to which data is able to be written, among the memory blocks in the target memory block pool.

### Claim 8 (depends on 7)

The memory system according to claim 7, wherein the memory controller is further configured to prohibit change to the first operation mode while the background operation is executed.

### Claim 9

A memory controller comprising:
a memory interface configured to communicate with a nonvolatile memory set including at least one nonvolatile memory; and
a control circuit configured to:
control the nonvolatile memory set;
write data to a memory block in a target memory block pool in the nonvolatile memory set during a target time period between a time at which an operation mode for the nonvolatile memory set is changed from a second operation mode to a first operation mode and a time at which a command including information indicating that a host expects a requested operation to be performed in the first operation mode is received from the host;
prevent execution of a background operation for the nonvolatile memory set when the operation mode is the first operation mode; and
control a background operation for the nonvolatile memory set to be executable when the operation mode is the second operation mode.

### Claim 10 (depends on 9)

The memory controller according to claim 9, wherein the control circuit is further configured to write data to a memory block not in the target memory block pool during a time other than the target time period.

### Claim 11 (depends on 9)

The memory controller according to claim 9, wherein, when an operation mode setting command instructing the control circuit to set the operation mode for the nonvolatile memory set to the first operation mode is received from the host, the control circuit changes the operation mode from the second operation mode to the first operation mode.

### Claim 12 (depends on 11)

The memory controller according to claim 11, wherein, during the target time period, the control circuit does not change a value of a write attribute indicating information on a number of write operations that are allowable in the first operation mode.

### Claim 13 (depends on 11)

The memory controller according to claim 11, wherein, when the target time period is equal to or longer than a set threshold time period, the control circuit transmits event information to the host.

### Claim 14 (depends on 9)

The memory controller according to claim 9, wherein, when there is no free memory block to which data is able to be written does among memory blocks in the target memory block pool, the control circuit transmits event information to the host.

### Claim 15 (depends on 9)

The memory controller according to claim 9, wherein, in the second operation mode, the control circuit is further configured to execute a background operation for a memory block in the target memory block pool to secure a free memory block to which data is able to be written, among the memory blocks in the target memory block pool.

### Claim 16 (depends on 15)

The memory controller according to claim 15, wherein the control circuit is further configured to prohibit change to the first operation mode while the background operation is executed.

### Claim 17

A method for operating a memory controller suitable for controlling a nonvolatile memory set including at least one nonvolatile memory, the method comprising:
changing an operation mode for the nonvolatile memory set from a second operation mode to a first operation mode;
receiving, from a host, a command including information indicating that the host expects a requested operation to be performed in the first operation mode;
writing data to a memory block in a target memory block pool in the nonvolatile memory set during a target time period between a time at which an operation mode for the nonvolatile memory set is changed from a second operation mode to a first operation mode and a time at which a command including information indicating that a host expects a requested operation to be performed in the first operation mode is received from the host;
preventing execution of a background operation for the nonvolatile memory set when the operation mode is the first operation mode; and
controlling a background operation for the nonvolatile memory set to be executable when the operation mode is the second operation mode.

### Claim 18 (depends on 17)

The method according to claim 17, further comprising writing data to a memory block not in the target memory block pool during a time other than the target time period.

### Claim 19 (depends on 17)

The method according to claim 17, further comprising maintaining a value of a write attribute indicating information on a number of write operations that are allowable in the first operation mode.

### Claim 20 (depends on 19)

The method according to claim 19, further comprising, when in the second operation mode, executing a background operation for a memory block in the target memory block pool to secure a free memory block to which data is able to be written among memory blocks in the target memory block pool.
