# US 2019/0245555 A1 · Dynamic data compression selection

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

- Number: US 2019/0245555 A1
- Document ID: US20190245555A1
- Status: Published application
- Kind: A1
- Application number: 16/388,638
- Filed: 2019-04-18
- Published: 2019-08-08
- Earliest claimed: 2015-03-06
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Young Jin Nam; Aaron James Dailey; John Forte
- Web page: https://patentgrep.com/patent/US20190245555A1

## CPC

- H03M 7/6094: {according to reasons other than compression rate or data type}
- 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/6011: {Encoder aspects}
- H03M 7/607: {Selection between different types of compressors}
- H03M 7/6082: {Selection strategies}
- 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

Aspects of dynamic data compression selection are presented. In an example method, as uncompressed data chunks of a data stream are compressed, at least one performance factor affecting selection of one of multiple compression algorithms for the uncompressed data chunks of the data stream may be determined. Each of the multiple compression algorithms may facilitate a different expected compression ratio. One of the multiple compression algorithms may be selected separately for each uncompressed data chunk of the data stream based on the at least one performance factor. Each uncompressed data chunk may be compressed using the selected one of the multiple compression algorithms for the uncompressed data chunk.

## Claims

### Claim 1

A method for data compression, the method comprising:
receiving a data stream at data-target system from a single data source;
detecting each of a set of compressed data chunks within the data stream; and
for each compressed data chunk of at least some of the set of compressed data chunks:
identifying a compression algorithm was used to compress the compressed data chunk, wherein the compression algorithm identified to have been used to compress a first compressed data chunk of the at least some of the set of compressed data chunks is a first compression algorithm that differs from a second compression algorithm identified to have been used to compress a second compressed data chunk of the at least some of the set of compressed data chunks;
selecting a decompression algorithm based on the identified compression algorithm; and
decompressing the compressed data chunk using the decompression algorithm.

### Claim 2 (depends on 1)

The method of claim 1, wherein an identity of the compression algorithm for data compression is correlated with at least one performance factor.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first compression algorithm corresponds to a first compression ratio that is different than a second compression ratio to which the second compression ratio corresponds.

### Claim 4 (depends on 1)

The method of claim 1, wherein at least one of the first compression algorithm and the second compression algorithm is a lossless data compression algorithm.

### Claim 5 (depends on 1)

The method of claim 1, wherein the set of compressed data chunks correspond to a data file, data file folder, data container or data structure.

### Claim 6 (depends on 1)

The method of claim 1, further comprising, while receiving the data stream:
iteratively storing the set of compressed data chunks in a buffer or data queue;
wherein detecting each of the set of compressed data chunks includes, for each compressed data chunk of the set of compressed data chunks, retrieving the compressed data chunk from the buffer or data queue.

### Claim 7 (depends on 1)

The method of claim 1, wherein the compression algorithm is identified based on an indication accompanying the compressed data chunk.

### Claim 8

A computer-program product tangibly embodied in a non-transitory machine-readable storage medium, including instructions configured to cause one or more data processors to perform actions including:
receiving a data stream at data-target system from a single data source;
detecting each of a set of compressed data chunks within the data stream; and
for each compressed data chunk of at least some of the set of compressed data chunks:
identifying a compression algorithm was used to compress the compressed data chunk, wherein the compression algorithm identified to have been used to compress a first compressed data chunk of the at least some of the set of compressed data chunks is a first compression algorithm that differs from a second compression algorithm identified to have been used to compress a second compressed data chunk of the at least some of the set of compressed data chunks;
selecting a decompression algorithm based on the identified compression algorithm; and
decompressing the compressed data chunk using the decompression algorithm.

### Claim 9 (depends on 8)

The computer-program product of claim 8, wherein an identity of the compression algorithm for data compression is correlated with at least one performance factor.

### Claim 10 (depends on 8)

The computer-program product of claim 8, wherein the first compression algorithm corresponds to a first compression ratio that is different than a second compression ratio to which the second compression ratio corresponds.

### Claim 11 (depends on 8)

The computer-program product of claim 8, wherein at least one of the first compression algorithm and the second compression algorithm is a lossless data compression algorithm.

### Claim 12 (depends on 8)

The computer-program product of claim 8, wherein the set of compressed data chunks correspond to a data file, data file folder, data container or data structure.

### Claim 13 (depends on 8)

The computer-program product of claim 8, wherein the actions further include, while receiving the data stream:
iteratively storing the set of compressed data chunks in a buffer or data queue;
wherein detecting each of the set of compressed data chunks includes, for each compressed data chunk of the set of compressed data chunks, retrieving the compressed data chunk from the buffer or data queue.

### Claim 14 (depends on 8)

The computer-program product of claim 8, wherein the compression algorithm is identified based on an indication accompanying the compressed data chunk.

### Claim 15

A system for data compression including:
one or more data processors; and
a non-transitory computer readable storage medium containing instructions which when executed on the one or more data processors, cause the one or more data processors to perform actions including:
receiving a data stream at data-target system from a single data source;
detecting each of a set of compressed data chunks within the data stream; and
for each compressed data chunk of at least some of the set of compressed data chunks:
identifying a compression algorithm was used to compress the compressed data chunk, wherein the compression algorithm identified to have been used to compress a first compressed data chunk of the at least some of the set of compressed data chunks is a first compression algorithm that differs from a second compression algorithm identified to have been used to compress a second compressed data chunk of the at least some of the set of compressed data chunks;
selecting a decompression algorithm based on the identified compression algorithm; and
decompressing the compressed data chunk using the decompression algorithm.

### Claim 16 (depends on 15)

The system of claim 15, wherein an identity of the compression algorithm for data compression is correlated with at least one performance factor.

### Claim 17 (depends on 15)

The system of claim 15, wherein the first compression algorithm corresponds to a first compression ratio that is different than a second compression ratio to which the second compression ratio corresponds.

### Claim 18 (depends on 15)

The system of claim 15, wherein at least one of the first compression algorithm and the second compression algorithm is a lossless data compression algorithm.

### Claim 19 (depends on 15)

The system of claim 15, wherein the set of compressed data chunks correspond to a data file, data file folder, data container or data structure.

### Claim 20 (depends on 15)

The system of claim 15, wherein the actions further include, while receiving the data stream:
iteratively storing the set of compressed data chunks in a buffer or data queue;
wherein detecting each of the set of compressed data chunks includes, for each compressed data chunk of the set of compressed data chunks, retrieving the compressed data chunk from the buffer or data queue.
