# US 2020/0394139 A1 · Electronic device including storage and method for using the storage

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

- Number: US 2020/0394139 A1
- Document ID: US20200394139A1
- Status: Published application
- Kind: A1
- Application number: 16/896,524
- Filed: 2020-06-09
- Published: 2020-12-17
- Earliest claimed: 2019-06-17
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Manjong LEE; Hyeongjun KIM; Changheun LEE; Jintae JANG
- Web page: https://patentgrep.com/patent/US20200394139A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/10: Address translation
- G06F 2212/466: Metadata, control data
- G06F 2212/657: Virtual address space management
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An electronic device may include a processor, a first volatile memory, and a storage including a nonvolatile memory and a second volatile memory. The processor may be configured to: identify information of a specific file and a kind of a request for data included in the specific file in response to a creation of the request for the data, set a flag in the request based on the identified information of the specific file, identify whether mapping information of a specific region including a logical address of the data among mapping information in which logical addresses and physical addresses for the nonvolatile memory are mapped onto each other is stored in the first volatile memory, determine whether to manage the mapping information of the specific region using the first volatile memory, and determine whether to update the mapping information of the specific region in the first volatile memory.

## Claims

### Claim 1

An electronic device comprising:
a processor;
a first volatile memory; and
a storage including a nonvolatile memory and a second volatile memory,
wherein the processor is configured to:
identify information of a file and a kind of a request for data included in the file in response to a creation of the request for the data,
determine whether to set a flag in the request based on the identified information of the file,
identify whether mapping information of a region including a logical address of the data, among mapping information in which logical addresses and physical addresses for the nonvolatile memory are mapped onto each other, is stored in the first volatile memory,
determine whether to manage the mapping information of the region including the logical address of the data using the first volatile memory based on the identified kind of the request and whether the flag is set in the request, and
determine whether to update the mapping information of the region including the logical address of the data in the first volatile memory based on the identified kind of the request and a result of identifying whether the mapping information is stored.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein the processor is configured to:
identify an extension and attribute information of the file, and
set the flag in the request for the data in response to the file being a file used to execute a specific application.

### Claim 3 (depends on 1)

The electronic device of claim 1, wherein the processor is configured to:
identify whether the file is included in a least recently used list or a most recently used list, and
set the flag in the request for the data, in response to the file being included in the least recently used list or the most recently used list.

### Claim 4 (depends on 1)

The electronic device of claim 1, wherein the processor is configured to determine to manage the mapping information of the region including the logical address of the data using the first volatile memory in response to the request for the data being a request to read the data and the flag is set in the request.

### Claim 5 (depends on 4)

The electronic device of claim 4, wherein the processor is configured to transmit the request to read the data including the logical address of the data to the storage in response to the mapping information of the region including the logical address of the data not being stored in the first volatile memory.

### Claim 6 (depends on 5)

The electronic device of claim 5, wherein the processor is configured to:
transmit a request to update the mapping information of the region including the logical address of the data in the first volatile memory to the storage, and
receive the mapping information of the region including the logical address of the data from the storage and store the received mapping information in the first volatile memory.

### Claim 7 (depends on 6)

The electronic device of claim 6, wherein the processor is configured to transmit the update request to the storage in response to the request to read the data being completely processed.

### Claim 8 (depends on 6)

The electronic device of claim 6, wherein the processor is configured to transmit the update request to the storage in response to there not being the request for the data being currently processed.

### Claim 9 (depends on 4)

The electronic device of claim 4, wherein the processor is configured to:
identify a physical address mapped onto the logical address of the data through the mapping information of the region including the logical address of the data in response to the mapping information of the region including the logical address of the data being stored in the first volatile memory, and
transmit the request to read the data including the identified physical address to the storage.

### Claim 10 (depends on 1)

The electronic device of claim 1, wherein the processor is configured to:
transmit a request to update the mapping information of the region including the logical address of the data in the first volatile memory to the storage in response to the request for the data being a request to write the data, and
update the mapping information of the region including the logical address of the data in the first volatile memory by receiving the mapping information of the region including the logical address of the data from the storage.

### Claim 11 (depends on 1)

The electronic device of claim 1, wherein the processor is configured to:
determine to not manage the mapping information of the region including the logical address of the data using the first volatile memory in response to the request for the data being a request to delete the data, and
transmit the request to delete the data to the storage.

### Claim 12 (depends on 1)

The electronic device of claim 1, wherein the mapping information of the region including the logical address of the data comprises metadata for integrity identification.

### Claim 13

A method for using a storage of an electronic device, comprising:
identifying information of a file and a kind of a request for data included in the file in response to a creation of the request for the data;
determining whether to set a flag in the request based on the identified information of the file;
identifying whether mapping information of a region including a logical address of the data among mapping information in which logical addresses and physical addresses for a nonvolatile memory included in the storage are mapped onto each other is stored in a first volatile memory;
determining whether to manage the mapping information of the region including the logical address of the data using the first volatile memory based on the identified kind of the request and whether the flag is set in the request; and
determining whether to update the mapping information of the region including the logical address of the data in the first volatile memory based on the identified kind of the request and a result of identifying whether the mapping information is stored.

### Claim 14 (depends on 13)

The method of claim 13, wherein identifying the information of the file includes identifying an extension and attribute information of the file, and
setting the flag includes setting the flag in the request for the data in response to the file being a file being used for a specific application.

### Claim 15 (depends on 13)

The method of claim 13, wherein determining whether to manage the mapping information of the region including the logical address of the data using the first volatile memory includes determining to manage the mapping information of the region including the logical address of the data using the first volatile memory in response to the request for the data being a request to read the data and the flag is set in the request.

### Claim 16 (depends on 15)

The method of claim 15, further comprising transmitting the request to read the data including the logical address of the data to the storage in response to the mapping information of the region including the logical address of the data not being stored in the first volatile memory.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
transmitting a request to update the mapping information of the region including the logical address of the data in the first volatile memory to the storage; and
receiving the mapping information of the region including the logical address of the data from the storage and storing the received mapping information in the first volatile memory.

### Claim 18 (depends on 17)

The method of claim 17, wherein transmitting the update request to the storage includes transmitting the update request to the storage in response to the request to read the data being completely processed.

### Claim 19

An electronic device comprising:
a processor;
a first volatile memory; and
a storage including a nonvolatile memory and a second volatile memory,
wherein the processor is configured to:
identify whether mapping information of a region including a logical address of data among mapping information in which logical addresses and physical addresses for the nonvolatile memory are mapped onto each other is stored in the first volatile memory in response to a creation of a request for the data included in a file,
transmit the request for the data to the storage, and
transmit a request to read the mapping information of the region to the storage in response to the mapping information of the region including the logical address of the data not being stored in the first volatile memory.

### Claim 20 (depends on 19)

The electronic device of claim 19, wherein the processor is configured to:
transmit the request for the data including the logical address of the data to the storage in response to the mapping information of the region including the logical address of the data not being stored in the first volatile memory, and
transmit the request for the data including a physical address of the data to the storage in response to the mapping information of the region including the logical address of the data being stored in the first volatile memory.
