# US 2021/0081313 A1 · Memory controller 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 2021/0081313 A1
- Document ID: US20210081313A1
- Status: Published application
- Kind: A1
- Application number: 16/856,851
- Filed: 2020-04-23
- Published: 2021-03-18
- Earliest claimed: 2019-09-16
- Assignees: SK hynix Inc.; Industry-Academic Cooperation Foundation, Yonsei University
- Applicants: SK hynix Inc.; Industry-Academic Cooperation Foundation, Yonsei University
- Inventors: Junhyeok Jang; Myoungsoo Jung
- Web page: https://patentgrep.com/patent/US20210081313A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/0873: Mapping of cache memory to specific storage devices or parts thereof
- G06F 12/0882: Page mode
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/06: Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons
- G06N 3/09: Supervised learning
- G06F 2212/1024: Latency reduction
- G06F 2212/401: Compressed data
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7204: Capacity control, e.g. partitioning, end-of-life degradation
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F 2212/7209: Validity control, e.g. using flags, time stamps or sequence numbers
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

An electronic device is provided. A memory controller, having an improved response time for an input/output request and capacity of Dynamic Random Access Memory (DRAM) according to the present disclosure, includes an available-time prediction component configured to perform a machine learning operation using a Recurrent Neural Network (RNN) model based on input/output request information about an input/output request input from a host, and to predict an idle time representing a time during which the input/output request is not expected to be input from the host and a data compression controller configured to generate, in response to the idle time longer than a set reference time, compressed map data by compressing map data which indicates a mapping relationship between a logical address provided by the host and a physical address indicating a physical location of a memory block included in the memory device.

## Claims

### Claim 1

A memory controller controlling a memory device, the memory controller comprising:
an available-time prediction component configured to perform a machine learning operation using a Recurrent Neural Network (RNN) model based on input/output request information about an input/output request input from a host, and to predict an idle time representing a time during which the input/output request is not expected to be input from the host; and
a data compression controller configured to generate, in response to the idle time longer than a set reference time, compressed map data by compressing map data which indicates a mapping relationship between a logical address provided by the host and a physical address indicating a physical location of a memory block included in the memory device.

### Claim 2 (depends on 1)

The memory controller of claim 1, wherein the available-time prediction component comprises:
a plurality of preprocessing components configured to translate the input/output request information into data used for machine learning; and
a plurality of information processing components configured to perform machine learning for predicting the idle time by using output of the plurality of preprocessing components, and to output available-time prediction information about whether the idle time is enough time in which to compress the map data, which represents an available time.

### Claim 3 (depends on 2)

The memory controller of claim 2, wherein the plurality of information processing components perform machine learning by the Recurrent Neural Network (RNN) model.

### Claim 4 (depends on 3)

The memory controller of claim 3, wherein the plurality of information processing components perform machine learning by a Long Short Term Memory (LSTM) method which is a type of Recurrent Neural Network (RNN) model designed to have long-term memory or short-term memory.

### Claim 5 (depends on 2)

The memory controller of claim 2, wherein the plurality of information processing components have a Fully Connected Layer (FCL) in which nodes of a previous layer and nodes of a current layer are fully connected.

### Claim 6 (depends on 2)

The memory controller of claim 2, wherein the data compression controller comprises:
a block select component configured to determine, in response to the idle time longer than the set reference time, compression target map data which is map data to be compressed among the map data according to block information of the memory block;
a similarity detector configured to detect a difference among the compression target map data; and
a compression component configured to compress the compression target map data.

### Claim 7 (depends on 6)

The memory controller of claim 6, wherein the compression component compresses the compression target map data by a delta compression method.

### Claim 8 (depends on 6)

The memory controller of claim 6, wherein the compression component compresses the compression target map data by a GZIP method.

### Claim 9 (depends on 6)

The memory controller of claim 6, wherein the block information includes information about a number of valid pages included in the memory block or a read count of pages included in the memory block.

### Claim 10 (depends on 1)

The memory controller of claim 1, wherein the set reference time is an average time spent in compressing the map data.

### Claim 11

A method of operating a memory controller, the method comprising:
receiving input/output request information from a host;
predicting, based on machine learning using a Recurrent Neural Network (RNN) model, an idle time representing a time during which an input/output request is not expected to be input from the host; and
compressing, in response to the idle time longer than a set reference time, map data which is mapping information of a logical address designating a logical location of a data block and a physical address designating a physical location of an actual data block.

### Claim 12 (depends on 11)

The method of claim 11, wherein the predicting of the idle time comprises:
processing the input/output request information to be optimized to machine learning;
performing machine learning for predicting the idle time based on the input/output request information; and
generating available-time prediction information about whether the idle time is enough time in which to compress the map data, which represents an available time.

### Claim 13 (depends on 12)

The method of claim 12, wherein the performing of the machine learning is executed by a Long Short Term Memory (LSTM) method which is a Recurrent Neural Network (RNN) model designed to have long-term memory or short-term memory.

### Claim 14 (depends on 12)

The method of claim 12, wherein the performing of the machine learning is executed in a Fully Connected Layer (FCL) in which nodes of a previous layer and nodes of a current layer are fully connected.

### Claim 15 (depends on 12)

The method of claim 12, wherein the generating of the available-time prediction information is executed in a Fully Connected Layer (FCL) in which nodes of a previous layer and nodes of a current layer are fully connected.

### Claim 16 (depends on 11)

The method of claim 11, wherein the compressing of the map data is executed by a delta compression method in which data may be compressed based on a difference between pieces of sequential data.

### Claim 17 (depends on 16)

The method of claim 16, wherein the compressing of the map data comprises compressing data by a GZIP method.

### Claim 18 (depends on 11)

The method of claim 11, wherein the compressing of the map data comprises determining compression target map data based on block information of blocks storing the map data.

### Claim 19 (depends on 18)

The method of claim 18, wherein the block information includes information about a number of valid pages included in the memory block or pages included in the memory block.

### Claim 20

An operating method of a controller for controlling a storage device including blocks, the operating method comprising:
controlling, in response to access requests, the storage device to access the blocks;
accumulating the access requests;
predicting, by applying machine learning to the accumulated access requests, an idle time during which an access request is not expected to be received; and
compressing map information related to select blocks during the idle time,
wherein time required to compress the map information is shorter than the idle time.
