# US 2026/0064272 A1 · Storage device for compressing and storing plurality of inputted data units, and method for operating the same

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

- Number: US 2026/0064272 A1
- Document ID: US20260064272A1
- Status: Published application
- Kind: A1
- Application number: 19/020,236
- Filed: 2025-01-14
- Published: 2026-03-05
- Earliest claimed: 2024-08-28
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Soo Jin KIM
- Web page: https://patentgrep.com/patent/US20260064272A1

## CPC

- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0638: {Organizing or formatting or addressing of data}
- G06F 3/0655: {Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage device may include a memory and a controller. The controller may compress a plurality of data units inputted from a host into a plurality of compressed data units, and may store the plurality of compressed data units in the memory. The controller may determine a first compression algorithm among a plurality of candidate compression algorithms on the basis of a start data unit which is inputted first among the plurality of data units, may compress N number of first data units, which are inputted first among the plurality of data units, into M number of first compressed data units using the first compression algorithm, and may store the M number of first compressed data units in the memory.

## Claims

### Claim 1

A storage device comprising:
a memory; and
a controller configured to compress a plurality of data units, input from a host, into a plurality of compressed data units and to store the plurality of compressed data units in the memory,
wherein the controller selects a first compression algorithm among a plurality of candidate compression algorithms using a start data unit, which is input first among the plurality of data units,
wherein the controller compresses an N number of first data units, which are input first among the plurality of data units, into an M number of first compressed data units using the first compression algorithm,
wherein the controller stores the M number of first compressed data units in the memory,
wherein N is a natural number, and
wherein M is a natural number equal to or smaller than N.

### Claim 2 (depends on 1)

The storage device according to claim 1, wherein the controller
arranges the plurality of candidate compression algorithms in an order that is determined according to a reference information,
selects a candidate compression algorithm for compressing the start data unit from among the plurality of candidate compression algorithms,
compresses the start data unit using the selected candidate compression algorithm,
selects, when a compression ratio for the start data unit is equal to or greater than a threshold compression ratio, the selected candidate compression algorithm as the first compression algorithm, and
reselects, when a compression ratio for the start data unit is less than the threshold compression ratio, a candidate compression algorithm for compressing the start data unit from among the plurality of candidate compression algorithms.

### Claim 3 (depends on 2)

The storage device according to claim 2, wherein the reference information comprises compression operation amount information of each of the plurality of candidate compression algorithms.

### Claim 4 (depends on 1)

The storage device according to claim 1,
wherein the controller
selects a second compression algorithm from among the plurality of candidate compression algorithms after compressing the N number of first data units using the first compression algorithm,
compresses K number of second data units, which are inputted after the N number of first data units among the plurality of data units, into L number of second compressed data units using the second compression algorithm, and
stores the L number of second compressed data units in the memory,
wherein K is a natural number, and
wherein L is a natural number equal to or smaller than K.

### Claim 5 (depends on 4)

The storage device according to claim 4, wherein the controller
includes a buffer that temporarily stores at least one of the plurality of data units, and
selects the second compression algorithm on the basis of a data unit that is stored in the buffer among the plurality of data units.

### Claim 6 (depends on 4)

The storage device according to claim 4, wherein the controller selects the second compression algorithm during an idle time.

### Claim 7 (depends on 4)

The storage device according to claim 4, wherein the controller selects the second compression algorithm when a preset time has elapsed after selecting the first compression algorithm or when a request is received from a host to reselect a compression algorithm.

### Claim 8 (depends on 1)

The storage device according to claim 1, wherein the controller additionally stores, in the memory, compression algorithm information indicating that the M number of first compressed data units are compressed with the first compression algorithm.

### Claim 9 (depends on 8)

The storage device according to claim 8, wherein
the memory stores a mapping table including a plurality of mapping entries each of which indicates mapping information between a logical address and a physical address, and
the controller stores the compression algorithm information in mapping entries corresponding to the M number of first compressed data units among the plurality of mapping entries.

### Claim 10

A method for operating a storage device, comprising:
determining a first compression algorithm among a plurality of candidate compression algorithms on the basis of a start data unit, which is inputted first among a plurality of data units inputted from a host;
compressing N number of first data units, which are inputted first among the plurality of data units, into M number of first compressed data units using the first compression algorithm; and
storing the M number of first compressed data units in a memory,
wherein N is a natural number, and
wherein M is a natural number equal to or smaller than N.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the determining a first compression algorithm comprises:
arranging the plurality of candidate compression algorithms in an order determined according to a reference information;
selecting a candidate compression algorithm for compressing the start data unit among the plurality of candidate compression algorithms;
compressing the start data unit using the selected candidate compression algorithm; and
determining the selected candidate compression algorithm as the first compression algorithm when a compression ratio for the start data unit is equal to or greater than a threshold compression ratio, and re-determining a candidate compression algorithm for compressing the start data unit among the plurality of candidate compression algorithms when a compression ratio for the start data unit is less than the threshold compression ratio.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the reference information is compression operation amount information of the plurality of candidate compression algorithms.

### Claim 13 (depends on 10)

The method according to claim 10, further comprising:
determining a second compression algorithm among the plurality of candidate compression algorithms after compressing the N number of first data units;
compressing K number of second data units, which are inputted after the N number of first data units among the plurality of data units, into L number of second compressed data units using the second compression algorithm; and
storing the L number of second compressed data units in the memory,
wherein K is a natural number, and
wherein L is a natural number equal to or smaller than K.

### Claim 14 (depends on 13)

The method according to claim 13, wherein the determining a second compression algorithm determines the second compression algorithm on the basis of a data unit stored in a buffer which temporarily stores at least one of the K number of second data units.

### Claim 15 (depends on 13)

The method according to claim 13, wherein the determining a second compression algorithm determines the second compression algorithm during an idle time.

### Claim 16 (depends on 13)

The method according to claim 13, wherein the determining a second compression algorithm determines the second compression algorithm when a preset time has elapsed after determining the first compression algorithm or when a request which instructs to re-determine a compression algorithm is received from the host.

### Claim 17 (depends on 10)

The method according to claim 10, further comprising:
additionally storing, in the memory, compression algorithm information indicating that the M number of first compressed data units are compressed with the first compression algorithm.

### Claim 18 (depends on 17)

The method according to claim 17, wherein the additionally storing, in the memory, compression algorithm information stores the compression algorithm information in mapping entries corresponding to the M number of first compressed data units in a mapping table including a plurality of mapping entries each of which indicates mapping information between a logical address and a physical address.

### Claim 19

A storage device comprising:
a memory; and
a controller configured to compress a plurality of data units input from a host into a plurality of compressed data units using at least one of a plurality of candidate compression algorithms, and to store the plurality of compressed data units in the memory,
wherein an M number of first data units among the plurality of data units are compressed using a first compression algorithm among the plurality of candidate compression algorithms,
wherein an N number of second data units among the plurality of data units are compressed using a second compression algorithm among the plurality of candidate compression algorithms, and
wherein M and N are natural numbers.
