# US 2019/0245554 A1 · Data encoder and data encoding method

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

- Number: US 2019/0245554 A1
- Document ID: US20190245554A1
- Status: Published application
- Kind: A1
- Application number: 16/181,774
- Filed: 2018-11-06
- Published: 2019-08-08
- Earliest claimed: 2018-02-05
- Assignees: SK hynix Inc.; Seoul National University R&Db Foundation
- Applicants: SK hynix Inc.; Seoul National University R&DB Foundation
- Inventors: Jiwoong CHOI; Boyeal KIM; Hyun KIM; Hyuk Jae LEE; Junseo LEE; Changmin KWAK; Youngdoo SONG
- Web page: https://patentgrep.com/patent/US20190245554A1

## CPC

- H03M 7/42: using table look-up for the coding or decoding process, e.g. using read-only memory {(H03M7/4006 takes precedence)}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0661: {Format or protocol conversion arrangements}
- G06F 3/0673: {Single storage device}
- H03M 7/40: Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
- H03M 7/607: {Selection between different types of compressors}
- H03M 7/6088: {according to the data type}
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data encoder including a preprocessor configured to divide a data stream into a plurality of sub data blocks; a plurality of meta data generators each configured to generate meta data from one of the plurality of sub data blocks; and a plurality of data compressors each configured to compress one of the plurality of sub data blocks according to the meta data.

## Claims

### Claim 1

A data encoder comprising:
a preprocessor configured to divide a data stream into a plurality of sub data blocks;
a plurality of meta data generators each configured to generate meta data from one of the plurality of sub data blocks; and
a plurality of data compressors each configured to compress one of the plurality of sub data blocks according to the meta data.

### Claim 2 (depends on 1)

The data encoder of claim 1, wherein the preprocessor divides the data stream into the plurality of sub data blocks according to entropy of each of the plurality of sub data blocks.

### Claim 3 (depends on 2)

The data encoder of claim 2, wherein the data stream includes a memory command and the preprocessor redefines don't care bits of the memory command into a high level or a low level, arranges bits of the memory command and divides the memory command into a plurality of groups.

### Claim 4 (depends on 2)

The data encoder of claim 2, wherein the data stream includes a plurality of memory commands each comprised in a row of a matrix and the preprocessor performs a transpose operation on the matrix and divides the matrix by the row into a plurality of groups.

### Claim 5 (depends on 4)

The data encoder of claim 4, wherein the preprocessor further performs a delta coding after performing the transpose operation.

### Claim 6 (depends on 1)

The data encoder of claim 1, wherein each of the meta data generators generates a frequency table storing kinds of symbols included in a sub data block and frequencies of the symbols and generates meta data corresponding to the sub data block.

### Claim 7 (depends on 6)

The data encoder of claim 6, wherein the meta data includes the kinds of the symbols and a frequency table storing the symbols sorted by frequencies of the symbols.

### Claim 8 (depends on 6)

The data encoder of claim 6, wherein each of the plurality of data compressors comprises:
a tree generating circuit configured to generate a tree structure including nodes corresponding to the symbols stored in the frequency table;
a codeword determining circuit configured to determine codewords corresponding to the symbols; and
a codeword output circuit configured to compress the sub data block according to the codewords.

### Claim 9 (depends on 8)

The data encoder of claim 8, wherein the tree generating circuit extracts two symbols with least frequency and inserts a combined symbol made from the two symbols and having a frequency corresponding to sum of frequencies of the two symbols in the frequency table.

### Claim 10 (depends on 9)

The data encoder of claim 9, wherein the codeword determining circuit designate one of the two symbols as a left node and the other of the two symbols as a right node and updates a codeword of a symbol included in the left node or the right node.

### Claim 11 (depends on 10)

The data encoder of claim 10, wherein the codeword determining circuit adds a high level bit to update a codeword of a symbol include in the left node and adds a low level bit to update a codeword of a symbol included in the right node.

### Claim 12 (depends on 9)

The data encoder of claim 9, wherein the tree generating circuit generates a bitmap indicating whether the two symbols are extracted and the codeword determining circuit identifies the two symbols with reference to the bitmap.

### Claim 13 (depends on 8)

The data encoder of claim 8, wherein the codeword output circuit includes a plurality of pipeline stages.

### Claim 14 (depends on 1)

The data encoder of claim 1, further comprising:
a compressed data output circuit configured to output a compressed data stream with an output from the plurality of meta data generators and an output from the plurality of data compressors,
wherein the compressed data output circuit includes a compressed data stream generating circuit generating a compressed data stream including a series of a plurality of meta data corresponding to the plurality of sub data blocks and a series of compressed data corresponding to the plurality of sub data blocks.

### Claim 15 (depends on 14)

The data encoder of claim 14, wherein the compressed data output circuit further comprises a packing circuit for packing the compressed data stream by a predetermined number of bits.

### Claim 16 (depends on 1)

The data encoder of claim 1, further comprising a compressed data synthesizer configured to combine a plurality of outputs from the plurality of data compressors.

### Claim 17 (depends on 1)

The data encoder of claim 1, further comprising a meta data synthesizer configured to combine a plurality of outputs from the plurality of meta data generators.

### Claim 18 (depends on 17)

The data encoder of claim 17, further comprising a plurality of meta data processors each configured to combine meta data output from corresponding one of the plurality of meta data generators.

### Claim 19

A data encoding method comprising:
generating a frequency table comprising symbols and frequencies associated with the symbols;
extracting two symbols having the least frequency from the frequency table;
updating the frequency table with a combined symbol made from the two symbols and sums of frequencies of the two symbols;
storing information on the combined symbol in a bitmap;
designating one of the two symbols as a left node and the other of the two symbols as a right node; and
updating a codeword of a symbol included in the left node and updating a codeword of a symbol included in the right node with reference to the bitmap.

### Claim 20 (depends on 19)

The data encoding method of claim 19, wherein the updating a codeword of a symbol in the left node includes adding a high level bit and the updating a codeword of a symbol in the right node includes adding a low level bit.
