# US 2025/0086105 A1 · Storage device for changing map update mode

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

- Number: US 2025/0086105 A1
- Document ID: US20250086105A1
- Status: Published application
- Kind: A1
- Application number: 18/444,404
- Filed: 2024-02-16
- Published: 2025-03-13
- Earliest claimed: 2023-09-07
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Sung Jin PARK
- Web page: https://patentgrep.com/patent/US20250086105A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0638: {Organizing or formatting or addressing of data}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/02: Addressing or allocation; Relocation (program address sequencing G06F9/00; arrangements for selecting an address in a digital store G11C8/00)
- G06F 12/0891: using clearing, invalidating or resetting means
- G06F 2212/1024: Latency reduction
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7204: Capacity control, e.g. partitioning, end-of-life degradation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage device includes a memory apparatus configured to store logical to physical (L2P) information, and a controller coupled to be in communications with the memory apparatus and configured to selectively change a map update mode based on a map update history after performing a map management operation on the L2P information.

## Claims

### Claim 1

A storage device comprising:
a memory apparatus configured to store data that includes logical to physical (L2P) information on mapping between logical addresses and physical addresses; and
a controller coupled to be in communication with the memory apparatus and configured to set a map update mode by selectively changing a current map update mode to a different map update mode based on a map update history after performing a map management operation for storing the L2P information in the memory apparatus.

### Claim 2 (depends on 1)

The storage device according to claim 1, wherein the controller includes a controller memory, and wherein the map update history includes the number of L2P segments flushed from the controller memory of the controller to the memory apparatus in the map management operation, and
the controller sets the map update mode by comparing the number of flushed L2P segments with a reference number.

### Claim 3 (depends on 2)

The storage device according to claim 2, wherein upon determination that the number of flushed L2P segments exceeds the reference number, the controller sets the map update mode to a physical to logical (P2L) update mode, or upon determination that the number of flushed L2P segments does not exceed the reference number, the controller sets the map update mode to a direct L2P update mode.

### Claim 4 (depends on 1)

The storage device according to claim 1, wherein the map update history includes a range of logical addresses corresponding to one or more write requests received from an external device during a predetermined period.

### Claim 5 (depends on 4)

The storage device according to claim 4, wherein the controller determines a difference between a maximum value and a minimum value among the logical addresses as the range, and sets the map update mode by comparing the difference with a reference value.

### Claim 6 (depends on 5)

The storage device according to claim 5, wherein, upon determination that the difference exceeds the reference value, the controller sets the map update mode to a P2L update mode, or upon determination that the difference does not exceed the reference value, the controller sets the map update mode to a direct L2P update mode.

### Claim 7 (depends on 4)

The storage device according to claim 4, wherein the predetermined period is a period from a completion of a second map management operation immediately preceding a first map management operation to a completion of the first map management operation.

### Claim 8 (depends on 1)

The storage device according to claim 1, wherein the map update history includes a mode count corresponding to a period during which a current map update mode is maintained.

### Claim 9 (depends on 8)

The storage device according to claim 8, wherein, upon determination that the mode count exceeds a reference count, the controller changes the map update mode to the different map update mode different from the current map update mode, or upon determination that the mode count does not exceed the reference count, the controller maintains the current map update mode.

### Claim 10 (depends on 1)

The storage device according to claim 1, wherein in a case that the map update mode is a P2L update mode, the controller performs the map management operation upon determination that the number of L2P segments to be loaded from the memory apparatus to a controller memory of the controller in order to update map information according to P2L information in a subsequent map management operation reaches a reference number.

### Claim 11 (depends on 1)

The storage device according to claim 1, wherein, in a case that the map update mode is a direct L2P update mode, the controller performs the map management operation upon determination that any one of one or more second map management conditions is satisfied,
wherein the one or more second map management conditions include that the number of L2P segments loaded into a controller memory of the controller reaches a first reference number.

### Claim 12 (depends on 11)

The storage device according to claim 11, wherein the one or more second map management conditions further include that the number of logical addresses for which map information is updated in the L2P segments during a predetermined period reaches a second reference number.

### Claim 13 (depends on 11)

The storage device according to claim 11, wherein the second map management conditions further include that a size of write data for a predetermined period reaches a reference size.

### Claim 14

A storage device comprising:
a memory apparatus configured to store data including logical to physical (L2P) segments; and
a controller coupled to be in communication with the memory apparatus and configured to include a controller memory and configured to perform a map management operation on first L2P segments based on the number of first L2P segments to be loaded into the controller memory when a map update mode is a first mode, to perform the map management operation on second L2P segments based on the number of second L2P segments loaded into the controller memory when the map update mode is a second mode different from the first mode, and to set the map update mode to the first mode or the second mode based on the number of third L2P segments flushed from the controller memory to the memory apparatus.

### Claim 15 (depends on 14)

The storage device according to claim 14, wherein the controller performs the map management operation in a case that the map update mode is the first mode and the number of first L2P segments reaches a first reference number, or in a case that the map update mode is the second mode and the number of second L2P segments reaches a second reference number.

### Claim 16 (depends on 14)

The storage device according to claim 14, wherein, when the number of third L2P segments exceeds a third reference number, the controller determines the map update mode as the first mode, or when the number of third L2P segments does not exceed the third reference number, the controller determines the map update mode as the second mode.

### Claim 17 (depends on 14)

The storage device according to claim 14, wherein the controller sets the map update mode to the first mode or the second mode after performing the map management operation, and the third L2P segments are L2P segments flushed in the map management operation.

### Claim 18 (depends on 14)

The storage device according to claim 14, wherein, when the map update mode is the second mode, the controller determines whether to perform the map management operation based more on the number of logical addresses for which map information is updated in the second L2P segments during a predetermined period.

### Claim 19 (depends on 14)

The storage device according to claim 14, wherein, when the map update mode is the second mode, the controller determines whether to perform the map management operation based more on a size of write data during a predetermined period.

### Claim 20

A storage device comprising:
a memory apparatus configured to store L2P segments; and
a controller coupled to be in communication with the memory apparatus and configured to include a controller memory and configured to perform a map management operation by loading first L2P segments from the memory apparatus to the controller memory when a map update mode is a first mode, and to set the map update mode to the first mode or a second mode based on a range of first logical addresses for which map information is updated in the first L2P segments through the map management operation.
