# US 2025/0165392 A1 · Memory controller for scheduling commands based on response for receiving write command, storage device including the memory controller, and operating method of the memory controller and the storage device

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

- Number: US 2025/0165392 A1
- Document ID: US20250165392A1
- Status: Published application
- Kind: A1
- Application number: 19/028,478
- Filed: 2025-01-17
- Published: 2025-05-22
- Earliest claimed: 2019-11-25
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Do Hun KIM; Ju Hyun Kim; Jin Yeong Kim
- Web page: https://patentgrep.com/patent/US20250165392A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0292: {using tables or multilevel address translation means (G06F12/023 takes precedence; address translation in virtual memory systems G06F12/10)}
- G06F 12/0804: with main memory updating (G06F12/0806 takes precedence)
- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F 13/1605: {based on arbitration (arbitration in handling access to a common bus or bus system G06F13/36)}
- G06F 13/1668: {Details of memory controller}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An electronic device includes a memory controller having an improved operation speed. The memory controller includes a processor configured to generate commands for accessing data stored in a main memory, a scheduling circuit configured to store the commands and output the commands according to a preset criterion, and a filtering circuit configured to store information on an address of the main memory corresponding to a write command among the commands, provide a pre-completion response for the write command to the scheduling circuit upon receiving the write command, and provide the write command to the main memory.

## Claims

### Claim 1

A memory control device comprising:
a controller configured to provide meta data in accordance with normal data being stored in a non-volatile memory device; and
a buffer memory configured to store multiple slices configuring the meta data,
wherein the controller is configured to:
update in the buffer memory, or writes in the non-volatile memory device, one or more slices among the multiple slices, and
enable updating the one or more slices in the buffer memory while writing the one or more slices in the non-volatile memory device.

### Claim 2 (depends on 1)

The memory control device of claim 1, wherein the controller is configured to change state information for the one or more slices based on whether the one or more slices are updated, written, or both updated and written,
wherein the state information for one or more slices is stored in the buffer memory.

### Claim 3 (depends on 2)

The memory control device of claim 2, wherein the state information indicates one of four states including a clean state, a first dirty state, a second dirty state, and a third dirty state.

### Claim 4 (depends on 3)

The memory control device of claim 3, wherein the controller is configured to:
change the state information from the clean state to the first dirty state, or from the second dirty state to the third dirty state, when the one or more slices are updated in the buffer memory, and
change the state information from the first dirty state to the second dirty state, or from the second dirty state to the clean state, or from the third dirty to the second dirty state, when the one or more slices are written in the non-volatile memory device.

### Claim 5 (depends on 3)

The memory control device of claim 3, wherein the state information consist of 2-bit data.

### Claim 6 (depends on 4)

The memory control device of claim 4, wherein the controller is configured to:
generate first journal data comprising updated information on the one or more slices and store the first journal data in the buffer memory,
write the one or more slices of first to third dirty state when the one or more slices of first to third dirty state are present in a state in which the first journal data has a size smaller than a set size,
flush the first journal data by changing the first journal data into journal retention data when the first journal data has the set size, and
generate second journal data comprising update information on the one or more slices after the flushing of the first journal retention data is started, and store the second journal data in the buffer memory.

### Claim 7 (depends on 6)

The memory control device of claim 6, wherein the second journal data is stored in a different location in the buffer memory than the location at which the journal retention data is stored in the buffer memory.

### Claim 8 (depends on 6)

The memory control device of claim 6, wherein the controller writes one or more slices of first to third dirty state in a state in which the first journal data has a size smaller than a set size by:
moving the one or more slices of first to third dirty state to a reserved space of the buffer memory, and
writing, when flushing the journal retention data, the one or more slices of first to third dirty state moved to the reserved space together with the journal retention data in the non-volatile memory device.

### Claim 9 (depends on 8)

The memory control device of claim 8, wherein the controller moves the one or more slices of first to third dirty state by:
splitting the one or more slices of first to third dirty state by a unit size, and
moving the split slices at set time.

### Claim 10 (depends on 9)

The memory control device of claim 9, wherein the controller is configured to:
check a size of the first journal data at the time at which moving of the one or more slices of first to third dirty state to the reserved space is started, and
determine the unit size and the set time based on a result of the check.

### Claim 11

An operating method of a memory control device comprising a buffer memory, the operating method comprising:
generating meta data configured with multiple slices in accordance with normal data being stored in a non-volatile memory device;
storing the meta data and state information in the buffer memory; and
updating in the buffer memory, or write in the non-volatile memory device, one or more slices among the multiple slices,
wherein updating the one or more slices in the buffer memory is enabled while writing the one or more slices in the non-volatile memory device.

### Claim 12 (depends on 11)

The operating method of claim 11, further comprising changing state information for the one or more slices based on whether the one or more slices are updated, written, or both updated and written,
wherein the state information for the one or more slice is stored in the buffer memory.

### Claim 13 (depends on 12)

The operating method of claim 12, wherein the state information indicates one of four states including a clean state, a first dirty state, a second dirty state, and a third dirty state.

### Claim 14 (depends on 12)

The operating method of claim 12, wherein the changing state information includes:
changing the state information from the clean state to the first dirty state, or from the second dirty state to the third dirty state, when the one or more slices are updated in the buffer memory, and
changing the state information from the first dirty state to the second dirty state, or from the second dirty state to the clean state, or from the third dirty state to the second dirty state, when the one or more slices are written in the non-volatile memory device.

### Claim 15 (depends on 13)

The operating method of claim 13, wherein the state information consist of 2-bit data.

### Claim 16 (depends on 14)

The operating method of claim 14, further comprising:
generating first journal data comprising update information on the one or more slices and storing the first journal data in the buffer memory;
writing, in a write operation, the one or more slices of first to third dirty state when the one or more slices of first to third dirty state are present in a state in which the first journal data has a size smaller than a set size;
flushing, in a flush operation, the first journal data by changing the first journal data to journal retention data when the first journal data has the set size; and
generating second journal data comprising update information on the one or more slices after the flushing of the first journal retention data is started, and storing the second journal data in the buffer memory.

### Claim 17 (depends on 16)

The operating method of claim 16, wherein the second journal data is stored in a different location in the buffer memory than the location at which the journal retention data is stored in the buffer memory.

### Claim 18 (depends on 16)

The operating method of claim 16, wherein the write operation comprises:
moving the one or more slices of first to third dirty state to a reserved space of the buffer memory, and
writing, during the flush operation, the one or more slices of first to third dirty state moved to the reserved space together with the journal retention data in the non-volatile memory device.

### Claim 19 (depends on 18)

The operating method of claim 18, wherein the moving of the one or more slices of first to third dirty state includes:
splitting the one or more slices of first to third dirty state by a unit size, and
moving the split slices at set time.

### Claim 20 (depends on 19)

The operating method of claim 19, further comprising:
checking a size of the first journal data at the time at which moving of the one or more slices of first to third dirty state to the reserved space is started, and
determining the unit size and the timing based on a result of the checking.
