# US 2016/0259723 A1 · Semiconductor device and operating method thereof

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

- Number: US 2016/0259723 A1
- Document ID: US20160259723A1
- Status: Published application
- Kind: A1
- Application number: 14/724,612
- Filed: 2015-05-28
- Published: 2016-09-08
- Earliest claimed: 2015-03-02
- Assignees: SK hynix Inc.; Industry-University Cooperation Foundation Hanyang University
- Applicants: SK hynix Inc.; Industry-University Cooperation Foundation Hanyang University
- Inventors: Tae-Hwa LEE; Yoon-Jang JOE; Jae-Hyuk CHA
- Web page: https://patentgrep.com/patent/US20160259723A1

## CPC

- G06F 12/0292: {using tables or multilevel address translation means (G06F12/023 takes precedence; address translation in virtual memory systems G06F12/10)}
- G11C 8/06: Address interface arrangements, e.g. address buffers
- G11C 16/10: Programming or data input circuits
- G11C 16/26: Sensing or reading circuits; Data output circuits
- 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)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A semiconductor device includes a mapping table that stores a corresponding relation between a logical address defined on a basis of regions and a physical address defined on a basis of extents, wherein one or more extents are dynamically allocated to one region.

## Claims

### Claim 1

A semiconductor device comprising:
a mapping table suitable for storing a corresponding relation between a logical address defined on a basis of regions and a physical address defined on a basis of extents, wherein one or more extents are dynamically allocated to one region.

### Claim 2 (depends on 1)

The semiconductor device according to claim 1:
wherein the logical address includes a region number and a region offset, and the physical address includes an extent number and an extent offset;
wherein the region number indicates a number of a region to which the logical address belongs and the region offset indicates a relative position of the logical address in the region; and
wherein the extent number indicates a number of an extent to which the physical address belongs and the extent offset indicates a relative position of the physical address in the extent.

### Claim 3 (depends on 2)

The semiconductor device according to claim 2, wherein the mapping table comprises:
a first table suitable for storing an extent number index and the extent offset in a first index corresponding to the logical address; and
a second table suitable for storing the extent number in a second index calculated by the region number and the extent number index.

### Claim 4 (depends on 3)

The semiconductor device according to claim 3, wherein the second index is calculated by adding the extent number index to multiplication of the region number and a maximum number of extents allocated to the one region.

### Claim 5 (depends on 3)

The semiconductor device according to claim 3, further comprising:
a memory cell array accessible using the physical address; and
a control unit suitable for making a conversion between the logical address and the physical address with reference to the mapping table, and processing a read or write request.

### Claim 6 (depends on 5)

The semiconductor device according to claim 5, wherein, when a first data storage space exists in an extent corresponding to a write-requested logical address, the control unit stores write-requested data in the first data storage space.

### Claim 7 (depends on 6)

The semiconductor device according to claim 6, wherein the control unit updates the first table by a first extent offset corresponding to the first data storage space to associate the write-requested logical address with the first data storage space.

### Claim 8 (depends on 6)

The semiconductor device according to claim 6, wherein, when the first data storage space does not exist, the control unit allocates a new extent to a region including the write-requested logical address, and stores the write-requested data in a second data storage space associated with the new extent.

### Claim 9 (depends on 8)

The semiconductor device according to claim 8, wherein the control unit updates the second table to associate the new extent with the region of the write-requested logical address, and updates the first table by an extent number index corresponding to the new extent, checked in the second table, and a second extent offset corresponding to the second data storage space to associate the write-requested logical address with the second data storage space.

### Claim 10 (depends on 8)

The semiconductor device according to claim 8, wherein, when the new extent does not exist, the control unit performs garbage collection in extents corresponding to the region of the write-requested logical address.

### Claim 11

An operating method of a semiconductor device, comprising:
storing a corresponding relation between a logical address including a region number and a region offset and a physical address including an extent number and an extent offset in first and second tables, wherein the first table stores an extent number index and the extent offset in a first index corresponding to the logical address, and the second table stores the extent number in a second index calculated by the region number and the extent number index;
checking a physical address corresponding to a read-requested logical address by referring to the first table and the second table in response to a read request; and
updating the first table or the second table in response to a write request.

### Claim 12 (depends on 11)

The operating method according to claim 11 wherein the checking of the physical address comprises:
checking a region number and a region offset of the read-requested logical address;
checking an extent number index and an extent offset corresponding to the read-requested logical address by referring to the first table based on a first index corresponding to the read-requested logical address;
checking an extent number corresponding to the read-requested logical address by referring to the second table based on a second index obtained by combining the region number with the extent offset; and
checking the physical address corresponding to the read-requested logical address by combining the extent number with the extent offset.

### Claim 13 (depends on 11)

The operating method according to claim 11, wherein the updating of the first or second table comprises:
checking a region number and a region offset of a write-requested logical address;
checking whether a first data storage space exists in an extent corresponding to the region number;
updating the first table by a first extent offset of the first data storage space when the first data storage space exists;
updating the second table by an extent number of an extent selected from extra extents allocable to a region corresponding to the region number when the first data storage space does not exist; and
updating the first table by an extent number index corresponding to the extent number and a second extent offset of a second data storage space of the selected extent.

### Claim 14

The operating method according to claim further comprising:
performing garbage collection in the extent corresponding to the region number when there are no extra extents allocable to the region.

### Claim 15 (depends on 13)

The operating method according to claim 13, further comprising:
performing garbage collection in extents allocated to the region when a number of the extents allocated to the region is equal to or more than a critical point when the first data storage space does not exist.
