# US 2015/0106551 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 2015/0106551 A1
- Document ID: US20150106551A1
- Status: Published application
- Kind: A1
- Application number: 14/504,746
- Filed: 2014-10-02
- Published: 2015-04-16
- Earliest claimed: 2013-10-14
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Dong-Gun KIM; Yong-Kee KWON; Hong-Sik KIM
- Web page: https://patentgrep.com/patent/US20150106551A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/7211: Wear leveling
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A semiconductor device remaps the relationship between logical addresses and physical addresses of a semiconductor memory device at each first interval. The semiconductor device may include a wear leveling controller configured to select a first physical address of the semiconductor memory device to remap a logical address corresponding to the first physical address of the semiconductor memory device to a second physical address of the semiconductor memory device, and to adjust the first interval.

## Claims

### Claim 1

A semiconductor device that remaps the relationship between logical addresses and physical addresses of a semiconductor memory device at each first interval, comprising:
a wear leveling controller configured to select a first physical address of a semiconductor memory device and to remap a logical address of the semiconductor memory device corresponding to the first physical address of the semiconductor memory device to a second physical address of the semiconductor memory device, and to adjust the first interval.

### Claim 2 (depends on 1)

The semiconductor device of claim 1, wherein the wear leveling controller comprises a first register configured to define an attribute of a physical address of the semiconductor memory device corresponding to a logical address for a write request as one of a first and a second attribute, and to store a physical address determined to have the first attribute.

### Claim 3 (depends on 2)

The semiconductor device of claim 2, wherein when the maximum physical address of a semiconductor memory device having a relatively highest number of write requests in the first register is not remapped, the wear leveling controller selects the maximum physical address as the first physical address, and following the remapping of the maximum physical address, the wear leveling controller selects the second physical address of the semiconductor memory device wherein the second physical address is not the first physical address.

### Claim 4 (depends on 3)

The semiconductor device of claim 3, wherein the wear leveling controller determines whether to increase or to decrease the first interval based on whether the maximum physical address has been remapped.

### Claim 5 (depends on 4)

The semiconductor device of claim 4, wherein the wear leveling controller determines the amount to increase or to decrease the first interval based on the number of cases where it is determined that the maximum physical address has been remapped and the number of cases where it is determined that the maximum physical address has not been remapped.

### Claim 6 (depends on 1)

The semiconductor device of claim 1, wherein the wear leveling controller is configured to generate a request to swap data of the first physical address for data of the second physical address.

### Claim 7 (depends on 1)

The semiconductor device of claim 1, further comprising an address mapper configured to convert one of a read address and a write address into a physical address by performing an operation on the one of the read address and the write address using a key.

### Claim 8 (depends on 7)

The semiconductor device of claim 7, wherein the wear leveling controller selects one of a first and a second key based on a determination of whether the one of the read address and the write address has been remapped, and to provide the selected key as the key.

### Claim 9 (depends on 8)

The semiconductor device of claim 8, wherein the second physical address is obtained by performing an operation on the logical address corresponding to the first physical address using the first key.

### Claim 10 (depends on 8)

The semiconductor device of claim 8, wherein when the entire physical address region is remapped, the wear leveling controller is configured to update the second key using the first key, and to update the first key using a newly generated key.

### Claim 11 (depends on 7)

The semiconductor device of claim 7, further comprising:
a scheduler configured to select one of a plurality of read or write requests received from a host and generate the selected request;
a control selector configured to select one of the request received from the wear leveling controller and the request received from the scheduler under the control of the wear leveling controller; and
a command generator configured to generate a command for the semiconductor memory device based on the selected request.

### Claim 12 (depends on 11)

The semiconductor device of claim 11, wherein the control selector is configured to transmit the address received from the address mapper to the command generator when the request received from the scheduler is selected.

### Claim 13

A semiconductor device that remaps the relationship between physical addresses and logical addresses of a semiconductor memory device at each first interval, comprising:
a hot/cold determiner configured to define an attribute of at least one physical address of the semiconductor device corresponding to a write address as one of a hot attribute and a cold attribute;
a register configured to store the at least one physical address if the at least one physical address is determined to be hot; and
a wear leveling controller configured to select the hottest physical address from among the at least one physical address stored in the register as a candidate physical address at each first interval, remap the relationship between the candidate physical address and a logical address by selecting one of physical addresses that have not been remapped, as the candidate physical address when the candidate physical address has already been remapped, and to adjust the first interval based on a determination of whether the candidate physical address has been remapped.

### Claim 14

An operating method of a semiconductor device, comprising:
comparing a first interval to a number of write requests during a write request, and determining whether to perform a remapping operation;
selecting a first physical address of a semiconductor memory device to remap;
remapping a first logical address corresponding to the first physical address to a second physical address of the semiconductor memory device;
issuing a command to the semiconductor memory device to swap data of the first physical address for data of the second physical address; and
adjusting the first interval.

### Claim 15 (depends on 14)

The operating method of claim 14, wherein the selecting of the first physical address comprises:
determining an attribute of a physical address corresponding to a write address as one of a first and a second attribute;
storing a physical address determined to have the first attribute in a first register;
selecting the maximum physical address having the largest number of write requests from the first register; and
selecting the maximum physical address as the first physical address when the maximum physical address has not been remapped, and selecting one of physical addresses that has not been remapped as the first physical address when the maximum physical address has been remapped.

### Claim 16 (depends on 15)

The operating method of claim 15, wherein adjusting of the first interval comprises:
determining whether to increase or to decrease the first interval based on whether the maximum physical address has been remapped; and
determining the increase or decrease of the first interval based on the number of cases that the maximum physical address has been remapped and the number of cases that the maximum physical address has not been remapped.

### Claim 17 (depends on 14)

The operating method of claim 14, further comprising selecting one of a first and a second key based on whether the write address has been remapped, and generating a physical address by performing an operation using the selected key and the write address.

### Claim 18 (depends on 17)

The operating method of claim 17, further comprising generating the second physical address by performing an operation on the first logical address using the first key.

### Claim 19 (depends on 18)

The operating method of claim 18, further comprising:
determining whether the physical address region of the semiconductor memory device has been completely remapped;
generating a new key when the remapping is complete; and
updating the second key using the first key, and updating the first key using the new key.

### Claim 20 (depends on 19)

The operating method of claim 19, wherein the new key is generated by performing an operation on the first key and a prime number.
