# US 2014/0152475 A1 · Data compression devices, operating methods thereof, and data processing apparatuses including the same

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

- Number: US 2014/0152475 A1
- Document ID: US20140152475A1
- Status: Published application
- Kind: A1
- Application number: 14/173,086
- Filed: 2014-02-05
- Published: 2014-06-05
- Earliest claimed: 2011-01-19
- Assignees: Samsung Electronics Co., Ltd.
- Inventors: Kyoung Lae CHO; Chan Ho YOON; Jun Jin KONG; Pil Sang YOON
- Web page: https://patentgrep.com/patent/US20140152475A1

## CPC

- H03M 7/30: Compression (speech analysis-synthesis for redundancy reduction G10L19/00; for image communication H04N); Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- 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)

## Abstract

A method of operating a data compression device includes analyzing data using an analyzer and generating a result of the analysis, while the data is buffered by an input buffer, and selectively compressing the buffered data according to the result of the analysis. A data compression device includes a data pattern analyzer configured to analyze data transmitted to an input buffer, and generate an analysis code based on the analysis of the data; and a data compression manager configured to selectively compress the data in the input buffer based on the analysis code.

## Claims

### Claim 1

A method of compressing data, comprising:
analyzing, by an analyzer, the data to determine whether to compress the data;
generating a result of the analysis, at least one of the analyzing and the generating being performed while the data is buffered in an input buffer; and
selectively compressing the buffered data based on the result of the analysis.

### Claim 2 (depends on 1)

The method of claim 1, wherein the analyzing the data comprises:
analyzing an indication bit included in a header of the data, the indication bit indicating whether to compress the data; wherein
the result of the analysis is generated based on the analysis of the indication bit.

### Claim 3 (depends on 1)

The method of claim 1, wherein the analyzing the data comprises:
counting a frequency of each of a plurality of symbols included in the data; and
comparing a reference value with one of a maximum and minimum of the counted frequencies; wherein
the result of the analysis is generated based on the comparison.

### Claim 4 (depends on 1)

The method of claim 1, wherein the analyzing the data comprises:
counting a frequency of each of a plurality of symbols included in the data;
assigning a codeword to each of the plurality of symbols;
calculating an estimated size of the data if compressed based on the frequency of each of the plurality of symbols and a number of bits of the codeword assigned to each of the plurality of symbols; and
comparing the estimated size with a reference value; wherein
the result of the analysis is generated based on the comparison.

### Claim 5 (depends on 1)

The method of claim 1, wherein the analyzing the data comprises:
analyzing an indication bit included in a header of the data, the indication bit indicating whether to compress the data;
counting a frequency of each of a plurality of symbols included in the data based on the analysis of the indication bit; and
comparing a reference value with one of a maximum and a minimum of the counted frequencies; wherein
the result of the analysis is generated based on the comparison.

### Claim 6 (depends on 1)

The method of claim 1, wherein the selectively compressing the buffered data comprises:
storing the result of the analysis in a memory; and
selectively compressing the buffered data using a processor based on the result of the analysis stored in the memory.

### Claim 7 (depends on 1)

The method of claim 1, wherein the analyzing the data is completed before outputting the buffered data from the input buffer.

### Claim 8

A method of compressing data, the method comprising:
intercepting data transmitted to an input buffer;
analyzing the intercepted data and generating a result of the analysis; and
outputting one of the data from the input buffer and compressed data based on the result of the analysis, the compressed data being generated by compressing the data in the input buffer.

### Claim 9 (depends on 8)

The method of claim 8, wherein the analyzing the intercepted data is completed before the data is output from the input buffer.

### Claim 10 (depends on 8)

The method of claim 8, wherein when the data includes one or more bits, the data buffered in the input buffer is an integral multiple of the data.

### Claim 11 (depends on 8)

The method of claim 8, wherein the analyzing the data comprises:
analyzing an indication bit included in a header of the data, the indication bit indicating whether to compress the data; wherein
the result of the analysis is generated based on the analysis of the indication bit.

### Claim 12 (depends on 8)

The method of claim 8, wherein the analyzing the data comprises:
counting a frequency of each of a plurality of symbols included in the data;
assigning a codeword to each of the plurality of symbols;
calculating an estimated size of the data if compressed based on the frequency of each of the plurality of symbols and a number of bits of the codeword assigned to each of the plurality of symbols; and
comparing the estimated size with a size of a reference data; wherein
the result of the analysis is generated based on a result of the comparison.

### Claim 13

A method for compressing data, comprising:
selectively compressing, at a data compression device, data based on one of a pattern of the data and a value of an indication bit included in a header of the data, each of the pattern and the indication bit being indicative of whether the data is compressed data.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
determining whether the data includes header information; and wherein
the data is selectively compressed based on the indication bit if the data includes header information.

### Claim 15 (depends on 14)

The method of claim 14, wherein the data is selectively compressed based on the pattern of the data if the data does not include header information.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
counting a frequency of each symbol included in the data;
comparing a reference value with one of a maximum and a minimum frequency from among the counted frequencies; and wherein
the data is selectively compressed based on the comparison.

### Claim 17 (depends on 15)

The method of claim 15, further comprising:
counting a frequency of each symbol included in the data;
assigning a codeword to each of the symbols included in the data;
estimating a size of the data if compressed based on the counted frequencies and a number of bits of each assigned codeword;
comparing the estimated size with a reference value; and
wherein
the data is selectively compressed based on the comparison between the estimated size and the reference value.

### Claim 18

A method of compressing data, comprising:
analyzing the data to determine whether to compress the data;
generating an information indicating whether to compress the data based on a result of the analysis; and
performing one of bypassing the data and compressing the data based on the information.

### Claim 19 (depends on 18)

The method of claim 18, wherein the analyzing the data comprises:
estimating an estimated size of the data if compressed; and
comparing the estimated size with a reference value; wherein
the information is generated based on the comparison.

### Claim 20 (depends on 18)

The method of claim 18, wherein the analyzing the data is completed before outputting the buffered data from an input buffer.
