# US 2020/0349068 A1 · Memory system and method for performing command operation by memory system

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

- Number: US 2020/0349068 A1
- Document ID: US20200349068A1
- Status: Published application
- Kind: A1
- Application number: 16/725,563
- Filed: 2019-12-23
- Published: 2020-11-05
- Earliest claimed: 2019-04-30
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Byung-Jun KIM
- Web page: https://patentgrep.com/patent/US20200349068A1

## CPC

- G06F 12/0253: {Garbage collection, i.e. reclamation of unreferenced memory}
- G06F 12/0238: {Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory}
- G06F 12/10: Address translation
- G06F 2212/1044: Space efficiency improvement
- 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

A memory system includes a memory device comprising a memory block having a plurality of pages; and a controller suitable for receiving from an external device an erase request for an erase operation and a first logical address relating to the erase request, and correlating the first logical address to erase information.

## Claims

### Claim 1

A memory system comprising:
a memory device comprising a memory block having a plurality of pages; and
a controller suitable for receiving from an external device an erase request for an erase operation and a first logical address relating to the erase request, and correlating the first logical address to erase information.

### Claim 2 (depends on 1)

The memory system of claim 1, wherein the controller transmits a response for the erase request to the external device after correlating the first logical address to the erase information.

### Claim 3 (depends on 1)

The memory system of claim 1, wherein the erase information comprises an erase physical address of an erase page or an erase memory block in an erase state.

### Claim 4 (depends on 3)

The memory system of claim 3, wherein the controller does not use the erase page or the erase memory block for storage of data after correlating the first logical address to the erase physical address.

### Claim 5 (depends on 1)

The memory system of claim 1, wherein the erase information comprises an erase state value.

### Claim 6 (depends on 2)

The memory system of claim 2, wherein the controller searches for a physical address corresponding to the first logical address in map data, invalidates the physical address and performs a garbage collection on the invalidated physical address, and
wherein the map data comprises a second logical address used in the external device and a physical address of the memory device.

### Claim 7 (depends on 6)

The memory system of claim 6, wherein the controller transmits the response to the external device before performing the garbage collection.

### Claim 8 (depends on 2)

The memory system of claim 2, wherein, when a first physical address which is valid and corresponds to the first logical address, is received from the external device, the controller invalidates the valid first physical address, and performs a garbage collection on the invalidated first physical address.

### Claim 9 (depends on 8)

The memory system of claim 8, wherein the controller transmits the response to the external device before performing the garbage collection.

### Claim 10

A method for performing a command operation by a memory system that includes a memory device including a memory block having a plurality of pages and a controller suitable for controlling the memory device, the method comprising:
receiving, from an external device, an erase request for an erase operation and a first logical address relating to the erase request; and
correlating the first logical address to erase information.

### Claim 11 (depends on 10)

The method of claim 10, further comprising transmitting a response to the erase request to the external device after correlating the first logical address to the erase information.

### Claim 12 (depends on 10)

The method of claim 10, wherein the erase information comprises an erase physical address of an erase page or an erase memory block in an erase state.

### Claim 13 (depends on 12)

The method of claim 12, wherein the erase page or the erase memory block is not used for storage of data after the correlating of the first logical address to the erase information.

### Claim 14 (depends on 10)

The method of claim 10, wherein the erase information comprises an erase state value.

### Claim 15 (depends on 11)

The method of claim 11, further comprising:
searching for a physical address, corresponding to the first logical address, in map data;
invalidating the physical address in the map data found as a result of the searching; and
performing a garbage collection on the invalidated physical address,
wherein the map data comprises a second logical address used in the external device and a physical address of the memory device.

### Claim 16 (depends on 15)

The method of claim 15, wherein the transmitting of the response for the erase request to the external device is performed before the performing of the garbage collection on the invalidated physical address.

### Claim 17 (depends on 10)

The method of claim 10, further comprising:
when a first physical address, which is valid and corresponds to the first logical address, is received from the external device, invalidating the valid first physical address in map data; and
performing a garbage collection on the invalidated first physical address,
wherein the map data comprises a logical address used in the external device and a physical address of the memory device.

### Claim 18 (depends on 10)

The method of claim 10, further comprising:
receiving a read request and a second logical address from the external device after the corresponding of the first logical address to the erase information; and
transmitting a response to the read request including a message indicating that data relating to the second logical address is not stored in the memory device to the external device when the second logical address corresponds to the erase information.

### Claim 19 (depends on 10)

The method of claim 10, further comprising:
receiving a read request and a second logical address from the external device after the corresponding of the first logical address to the erase information; and
transmitting a response to the read request including a message indicating that data relating to the second logical address is not searched in the memory device to the external device when the second logical address does not to the erase information.

### Claim 20

A method of reducing erase time in a memory system including a memory device, the method comprising:
receiving an erase request for an erase operation and a logical address related to the erase request;
correlating the logical address to an erase location in the memory device;
searching map data for a physical address corresponding to the logical address;
invalidating the physical address found in the searching operation; and
performing a garbage collection on the invalidated physical address based on a garbage collection trigger condition.
