# US 11,119,938 B2 · Apparatus and method to synchronize memory map between a storage device and host

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

- Number: US 11,119,938 B2
- Document ID: US11119938B2
- Status: Granted
- Kind: B2
- Application number: 16/665,665
- Filed: 2019-10-28
- Published: 2020-09-24
- Granted: 2021-09-14
- Earliest claimed: 2019-03-18
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Eu Joon Byun
- Web page: https://patentgrep.com/patent/US11119938B2

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/10: Address translation
- G06F 2212/1016: Performance improvement
- G06F 2212/657: Virtual address space management
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7207: management of metadata or control data
- G06F 2212/7208: Multiple device management, e.g. distributing data over multiple flash devices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data storage device may include: a controller, including a host memory and a device memory, configured to communicate with a host, wherein one or more host unit regions, having a first size, are allocated to the host memory; and a storage including a nonvolatile memory device. The controller may include a map data manager configured to store map data in the storage, the map data including a mapping relationship between logical addresses of the host and physical addresses of the data storage device, configured to group the logical addresses into logical address groups so that the total size of map data for each of the logical address groups corresponds to the first size, and manage a reference count for each of the logical address groups.

## Claims

### Claim 1

A data storage device comprising:
a controller, including a device memory, configured to communicate with a host having a host memory having one or more host unit regions configured to store data in a first size and
a storage comprising a nonvolatile memory device,
wherein the controller comprises a map data manager configured to store map data in the storage, the map data including a mapping relationship between logical addresses of the host and physical addresses of the data storage device, configured to group the logical addresses into logical address groups so that the total size of map data for each of the logical address groups corresponds to the first size, and manage a reference count for each of the logical address groups;
wherein the map data manager comprises:
an index manager configured to group the logical addresses into one or more logical address groups and configured to manage the logical addresses for each of the logical address groups, physical addresses corresponding to the logical addresses, per entry reference counts indicating access counts for the respective logical addresses, and per group reference counts indicating access counts for the respective logical address groups;
a counter configured to calculate the per entry reference counts and the per group reference counts;
a selector configured to select a logical address group, the map data of which is stored in the host unit region based on the per group reference counts; and
a write control component configured to store the map data of the logical address group selected by the selector in the host unit region.

### Claim 2 (depends on 1)

The data storage device according to claim 1, wherein the map data manager is configured transfer all or part of the map data to the host memory.

### Claim 3 (depends on 1)

The data storage device according to claim 1, wherein the controller allocates one or more device unit regions having a second size to the device memory in order to store at least some of the map data, and the first size and the second size are different from each other.

### Claim 4 (depends on 1)

The data storage device according to claim 1, wherein the map data comprise the logical addresses, physical addresses corresponding to the logical addresses, and a reference count indicating an access count for each of the logical addresses.

### Claim 5 (depends on 1)

The data storage device according to claim 1, wherein the counter calculates the per group reference count by adding up the per entry reference counts included in the logical address group.

### Claim 6

A computing device comprising:
a data storage device including a controller, having a device memory, and a storage, having a nonvolatile memory device; and
a host configured to communicate with the data storage device,
wherein the data storage device stores map data in the storage, the map data including a mapping relationship between logical addresses of the host and physical addresses of the data storage device,
wherein the host comprises:
a host memory;
a processor configured to allocate one or more host unit regions configured to store data in a first size to the host memory; and
a map data manager configured to group the logical addresses of the host into logical address groups so that the total size of the map data for each of the logical address groups corresponds to the first size and configured to manage a reference count for each of the logical address groups;
wherein the map data manager comprises:
an index manager configured to group the logical address into one or more logical address groups, and configured to manage the logical addresses for each of the logical address groups, physical addresses corresponding to the logical addresses, per entry reference counts indicating access counts for the respective logical addresses, and per group reference counts indicating access counts for the respective logical address groups;
a counter configured to calculate the per entry reference counts and the per group reference counts;
a selector configured to select a logical address group, the map data of which is stored in the host unit region based on the per group reference counts; and
a write control component configured to store the map data of the logical address group selected by the selector in the host unit region.

### Claim 7 (depends on 6)

The data storage device according to claim 6, wherein the map data manager is configured to transfer all or part of the map data to the host memory.

### Claim 8 (depends on 6)

The computing device according to claim 6, wherein the controller allocates one or more device unit regions having a second size to the device memory in order to store at least some of the map data, and the first size and the second size are different from each other.

### Claim 9 (depends on 6)

The computing device according to claim 6, wherein the map data comprise the logical addresses, physical addresses corresponding to the logical addresses, and a reference count indicating an access count for each of the logical addresses.

### Claim 10 (depends on 6)

The computing device according to claim 6, wherein the counter calculates the per group reference count by adding up the per entry reference counts included in the logical address group.

### Claim 11

An operation method of a computing device which includes a data storage device including a controller, having a device memory, and a storage, having a nonvolatile memory device, and a host configured to communicate with the data storage device, the operation method comprising the steps of:
storing, by the data storage device, map data in the storage, the map data including a mapping relationship between logical addresses of the host and physical addresses of the data storage device;
allocating, by the host, one or more host unit regions configured to store data in a first size to a host memory;
grouping, by the controller, the logical addresses into logical address groups so that the total size of map data for each of the logical address groups corresponds to the first size; and
managing, by the controller, per group reference counts for the respective logical address groups; and wherein
the method further comprising:
transferring, by a map data manager, all or part of the map data to the host memory, wherein the controller comprises the map data manager;
wherein the map data comprises the logical addresses, physical addresses corresponding to the logical addresses, and a reference count indicating an access count for each of the logical addresses; and
wherein the step of managing the per group reference count comprises the step of managing the logical addresses for each of the logical address groups, physical addresses corresponding to the logical addresses, per entry reference counts indicating access counts for the respective logical addresses, and the per group reference counts indicating access counts for the respective logical address groups.

### Claim 12 (depends on 11)

The operation method according to claim 11, further comprising the step of allocating, by the controller, one or more device unit regions, having a second size different from the first size, to the device memory in order to store at least some of the map data.

### Claim 13 (depends on 11)

The operation method according to claim 11, further comprising the steps of:
selecting a logical address group, the map data of which is stored in the host unit region based on the per group reference counts; and
storing the map data of the selected logical address group in the host unit region.

### Claim 14 (depends on 13)

The operation method according to claim 13, wherein the step of selecting the logical address group further comprises the step of calculating the per group reference count by adding up the per entry reference counts included in the logical address group versions and listings of claims in the application.
