# US 2025/0147690 A1 · Storage device and operation method thereof

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

- Number: US 2025/0147690 A1
- Document ID: US20250147690A1
- Status: Published application
- Kind: A1
- Application number: 18/743,963
- Filed: 2024-06-14
- Published: 2025-05-08
- Earliest claimed: 2023-11-06
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Young-suk MOON; Bokyoung KIM; Hee Hyun NAM; Jinwoo SONG; Hyewon JEONG
- Web page: https://patentgrep.com/patent/US20250147690A1

## CPC

- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0634: {by changing the state or mode of one or more devices}
- 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

An operating method of a storage device includes fetching, from an external host device, write command and write data, based on a 0-th fetch rate, storing the write data in a write cache region of a buffer memory device of the storage device, performing write cache processing with respect to the write cache region, based on a 0-th cache processing rate, the performing write cache processing including storing, in a nonvolatile memory device of the storage device, the write data of the write cache region, detecting a write cache level of the write cache region, and controlling the 0-th cache processing rate, based on the write cache level.

## Claims

### Claim 1

An operating method of a storage device, the operating method comprising:
fetching, from an external host device, write command and write data, based on a 0-th fetch rate;
storing the write data in a write cache region of a buffer memory device of the storage device;
performing write cache processing with respect to the write cache region, based on a 0-th cache processing rate, the performing write cache processing comprising storing, in a nonvolatile memory device of the storage device, the write data of the write cache region;
detecting a write cache level of the write cache region; and
controlling the 0-th cache processing rate, based on the write cache level.

### Claim 2 (depends on 1)

The operating method of claim 1, wherein the controlling of the 0-th cache processing rate comprises:
based on the write cache level reaching a first reference level, operating the storage device in a first urgent mode; and
based on the write cache level reaching a second reference level higher than the first reference level while operating in the first urgent mode, operating in a second urgent mode, and
wherein the performing of the write cache processing comprises:
performing, in the first urgent mode, the write cache processing based on a first cache processing rate higher than the 0-th cache processing rate; and
performing, in the second urgent mode, the write cache processing based on a second cache processing rate higher than the first cache processing rate.

### Claim 3 (depends on 2)

The operating method of claim 2, wherein the fetching of the write command and the write data comprises:
fetching, in the first urgent mode, the write command and the write data from the external host device, based on a first fetch rate slower than the 0-th fetch rate; and
fetching, in the second urgent mode, the write command and the write data from the external host device, based on a second fetch rate slower than the first fetch rate.

### Claim 4 (depends on 3)

The operating method of claim 3, further comprising:
based on the write cache level reaching a 0-th reference level lower than the first reference level in at least one of the first urgent mode or the second urgent mode, operating in a normal mode,
wherein the fetching of the write command and the write data comprises fetching, in the normal mode, the write command and the write data from the external host device based on the 0-th fetch rate, and
wherein the performing of the write cache processing comprises performing, in the normal mode, the write cache processing based on the 0-th cache processing rate.

### Claim 5 (depends on 4)

The operating method of claim 4, further comprising:
measuring, in a first time period, a 0-th time during which an operation mode of the storage device is the normal mode, a first time during which the operation mode of the storage device is the first urgent mode, and a second time during which the operation mode of the storage device is the second urgent mode; and
controlling the first fetch rate and the second fetch rate based on the 0-th time, the first time, and the second time.

### Claim 6 (depends on 5)

The operating method of claim 5, wherein the controlling of the first fetch rate and the second fetch rate comprises:
based on the first time being longer than the 0-th time and the second time, decreasing the first fetch rate; and
based on the second time being longer than the 0-th time and the first time, decreasing the second fetch rate.

### Claim 7 (depends on 2)

The operating method of claim 2, further comprising:
performing internal traffic processing based on data stored in an internal traffic region of the buffer memory device.

### Claim 8 (depends on 7)

The operating method of claim 7, wherein the performing of the internal traffic processing comprises performing the internal traffic processing by using an internal token, and
wherein the performing of the write cache processing comprises performing the write cache processing by using a write token.

### Claim 9 (depends on 8)

The operating method of claim 8, wherein the performing of the write cache processing comprises performing, in the first urgent mode or the second urgent mode, the write cache processing by using the write token and an urgent token.

### Claim 10 (depends on 9)

The operating method of claim 9, further comprising:
based on the write cache level reaching a 0-th reference level lower than the first reference level in the first urgent mode or the second urgent mode, operating in a refill mode,
wherein the operating in the refill mode comprises:
refilling the urgent token is refilled, and
operating the storage device in a normal mode, based on the urgent token being refilled.

### Claim 11

A storage device, comprising:
a nonvolatile memory device;
a buffer memory device comprising a write cache region and an internal traffic region;
a storage controller configured to control the nonvolatile memory device and the buffer memory device; and
a memory interface circuit configured to communicate with the nonvolatile memory device,
wherein the storage controller is further configured to:
fetch, from an external host device using a host interface circuit, a write command and write data;
perform a maintenance operation on the nonvolatile memory device;
detect a write cache level of the write cache region;
perform, through the memory interface circuit, write cache processing for the write cache region;
perform, through the memory interface circuit, internal traffic processing for the internal traffic region; and
control a cache processing rate of the write cache processing, based on the write cache level,
wherein the write cache region is configured to store the write data, and
wherein the internal traffic region is configured to store data to be used by the maintenance operation.

### Claim 12 (depends on 11)

The storage device of claim 11, wherein the storage controller is further configured to:
based on the write cache level reaching a first reference level, adjust the cache processing rate to a first processing rate; and
based on the write cache level reaching a second reference level higher than the first reference level, adjust the cache processing rate to a second processing rate higher than the first processing rate.

### Claim 13 (depends on 11)

The storage device of claim 11, wherein the storage controller is further configured to:
based on the write cache level reaching a first reference level, adjust a fetch rate of the host interface circuit to a first fetch rate; and
based on the write cache level reaching a second reference level higher than the first reference level, adjust the fetch rate of the host interface circuit to a second fetch rate slower than the first fetch rate.

### Claim 14 (depends on 11)

The storage device of claim 11, wherein the storage controller is further configured to:
perform the internal traffic processing and the write cache processing at a ratio of A:B, A and B being positive integers greater than zero, and
based on the cache processing rate increasing, increase a value of B.

### Claim 15 (depends on 11)

The storage device of claim 11, wherein the storage controller is further configured to:
manage an internal token, a write token, and an urgent token;
perform the internal traffic processing by using the internal token; and
perform the write cache processing by using the write token.

### Claim 16 (depends on 15)

The storage device of claim 15, wherein the storage controller is further configured to:
based on the write cache level reaching at least one of a first reference level or a second reference level, perform the write cache processing by using the urgent token.

### Claim 17 (depends on 16)

The storage device of claim 16, wherein the storage controller is further configured to:
based on the write cache level reaching a 0-th reference level lower than the first reference level and the second reference level, adjust a fetch rate of the host interface circuit to a first fetch rate, and adjust the cache processing rate to a 0-th processing rate lower than a first processing rate, and
refill the urgent token.

### Claim 18

An operating method of a storage device, the operating method comprising:
detecting a write cache level of a buffer memory device of the storage device; and
controlling a nonvolatile memory device of the storage device in at least one of a normal mode, a first urgent mode, or a second urgent mode, based on the write cache level,
wherein at least one of a cache processing rate or a fetch rate is differently determined in the normal mode, the first urgent mode, and the second urgent mode,
wherein the cache processing rate indicates a rate at which write data stored in the buffer memory device is flushed to the nonvolatile memory device, and
wherein the fetch rate indicates a rate at which a write command and write data are fetched from an external host device.

### Claim 19 (depends on 18)

The operating method of claim 18, further comprising:
operating in the first urgent mode based on the write cache level reaching a first reference level;
operating in the second urgent mode based on the write cache level reaching a second reference level higher than the first reference level; and
operating in the normal mode based on the write cache level reaching a 0-th reference level lower than the first reference level in at least one of the first urgent mode or the second urgent mode.

### Claim 20 (depends on 18)

The operating method of claim 18, further comprising:
operating in the normal mode, based on a 0-th fetch rate and a 0-th cache processing rate;
operating in the first urgent mode, based on a first fetch rate slower than the 0-th fetch rate and a first cache processing rate faster than the 0-th cache processing rate; and
operating in the second urgent mode, based on a second fetch rate slower than the first fetch rate and a second cache processing rate faster than the first cache processing rate.
