# US 2014/0207744 A1 · Merging compressed data arrays

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

- Number: US 2014/0207744 A1
- Document ID: US20140207744A1
- Status: Published application
- Kind: A1
- Application number: 13/745,552
- Filed: 2013-01-18
- Published: 2014-07-24
- Earliest claimed: 2013-01-18
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Stuart E. Carney
- Web page: https://patentgrep.com/patent/US20140207744A1

## CPC

- G06F 16/22: Indexing; Data structures therefor; Storage structures
- 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/3066: {by means of a mask or a bit-map}
- G06F 16/1744: {using compression, e.g. sparse files}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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

Compressed data sets can be merged without unraveling the compressed data sets. Concatenations of vectors of a first compressed data set that extend beyond a second compressed data set with no data vectors are represented in a third compressed data set. The no data vectors represent lack of data to be contributed from the second compressed data set. The third compressed data set represents a merger of the first and the second compressed data sets. Counterpart vectors of the first and second compressed data sets are determined using compression information for the vectors. Concatenations of the counterpart vectors are represented in the third compressed data set, as well as compression information that accounts for the determined counterpart vectors.

## Claims

### Claim 1

A method comprising:
representing concatenations of vectors of a first compressed data set that extend beyond a second compressed data set with no data vectors that represent lack of data to be contributed from the second compressed data set in a third compressed data set that represents a merger of the first and the second compressed data sets;
determining counterpart vectors of the first and second compressed data sets using compression information for the vectors; and
representing concatenations of the counterpart vectors in the third compressed data set and compression information that accounts for the determined counterpart vectors.

### Claim 2 (depends on 1)

The method of claim 1, wherein the concatenations are in accordance with input order of the first and the second compressed data sets.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first and the second compressed data sets are compressed along a same dimension and the first and the second compressed data sets are two-dimensional compressed data sets.

### Claim 4 (depends on 1)

The method of claim 1 further comprising:
determining that an offset applies to one of the first and the second compressed data sets;
represent concatenations of no data vectors with vectors of the one of the first and second compressed data sets that is not being offset.

### Claim 5 (depends on 1)

The method of claim 1, wherein each of the vectors comprises an ordered set of values.

### Claim 6 (depends on 1)

The method of claim 1, wherein said determining counterpart vectors of the first and the second compressed data sets using compression information for the vectors comprises:
determining sequential instances of a first vector of the first compressed data set overlap with sequential instances of a first vector of the second compressed data set, wherein the sequential instances are represented with the compression information of the vectors.

### Claim 7 (depends on 6)

The method of claim 6, wherein said representing concatenations of the counterpart vectors in the third compressed data set and compression information that accounts for the determined counterpart vectors comprises:
generating a first vector of third compressed data set with a concatenation of the first vector of the first compressed data set and the first vector of the second compressed data set;
setting compression information for the first vector of the third compressed data array to indicate sequential instances that the first vector of the first compressed data set aligns with the first vector of the second compressed data set;
generating a second vector of the third compressed data set with a concatenation of either the first vector of the first compressed data set or the first vector of the second compressed data set depending upon which has instances not represented in the third compressed data array, and a next vector of the other one of the compressed data sets.

### Claim 8

A method comprising:
determining that a first compressed data array has a larger uncompressed size than a second compressed data array, wherein a third compressed data array is to be generated as a merger of the first compressed data array and the second compressed data array;
for each of the vectors of the first compressed data array that do not correspond to an overlap point between the first and second compressed data arrays, generating a new vector for the third compressed data array that comprises a concatenation of the vector and no data vectors that represent lack of data to be contributed from the second compressed data array, and compression information for the vectors;
for the vector of the first compressed data array that encompasses the overlap point,
generating new vectors for the third compressed data array that separates the vector into two new vectors of the third compressed data array, wherein a first of the two new vectors comprises a concatenation of values that represent absence of data and the vector and a second of the two new vectors comprises a concatenation of the vector and a vector of the second compressed data array,
accounting for compression of the vector across the two new vectors;
for each of the corresponding vectors of the first and the second compressed data arrays in the overlap of the first and the second compressed data arrays,
generating a new vector comprising a concatenation of the corresponding vectors for the third compressed data array and accounting for differences in compression information between the corresponding vectors.

### Claim 9 (depends on 8)

The method of claim 8 further comprising:
determining a point at which an offset for one of the first and the second compressed data array affects the merger; and
for each vector of the one of the first and the second compressed data array that is not being offset,
generating a new vector for the third compressed data array that comprises a concatenation of the vector and a no data vector that represents lack of data to be contributed from the offset one of the first and the second compressed data arrays;
accounting for the compression information of the vector in the new vector.

### Claim 10 (depends on 8)

The method of claim 8, wherein the concatenations are in accordance with input order of the first and the second compressed data arrays.

### Claim 11 (depends on 8)

The method of claim 8, wherein each of the vectors comprises an ordered set of values.

### Claim 12

A computer program product for merging compressed two-dimensional data sets, the computer program product comprising:
a computer readable storage medium having computer usable program code embodied therewith, the computer usable program code comprising a computer usable program code configured to:
represent concatenations of vectors of a first compressed data set that extend beyond a second compressed data set with no data vectors that represent lack of data to be contributed from the second compressed data set in a third compressed data set that represents a merger of the first and the second compressed data sets;
determine counterpart vectors of the first and second compressed data sets using compression information for the vectors; and
represent concatenations of the counterpart vectors in the third compressed data set and compression information that accounts for the determined counterpart vectors.

### Claim 13 (depends on 12)

The computer program product of claim 12, wherein the concatenations are in accordance with input order of the first and the second compressed data sets.

### Claim 14 (depends on 12)

The computer program product of claim 12, wherein the first and the second compressed data sets are compressed along a same dimension and the first and the second compressed data sets are two-dimensional compressed data sets.

### Claim 15 (depends on 12)

The computer program product of claim 12, wherein the computer usable program code is further configured to:
determine that an offset applies to one of the first and the second compressed data sets;
represent concatenations of no data vectors with vectors of the one of the first and second compressed data sets that is not being offset.

### Claim 16 (depends on 12)

The computer program product of claim 12, wherein each of the vectors comprises an ordered set of values.

### Claim 17 (depends on 12)

The computer program product of claim 12, wherein the computer usable program code configured to determine counterpart vectors of the first and the second compressed data sets using compression information for the vectors comprises the computer usable program code being configured to:
determine that sequential instances of a first vector of the first compressed data set overlap with sequential instances of a first vector of the second compressed data set, wherein the sequential instances are represented with the compression information of the vectors.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the computer usable program code configured to represent concatenations of the counterpart vectors in the third compressed data set and compression information that accounts for the determined counterpart vectors comprises the computer usable program code being configured to:
generate a first vector of third compressed data set with a concatenation of the first vector of the first compressed data set and the first vector of the second compressed data set;
set compression information for the first vector of the third compressed data array to indicate sequential instances that the first vector of the first compressed data set aligns with the first vector of the second compressed data set;
generate a second vector of the third compressed data set with a concatenation of either the first vector of the first compressed data set or the first vector of the second compressed data set depending upon which has instances not represented in the third compressed data array, and a next vector of the other one of the compressed data sets.

### Claim 19

An apparatus comprising:
a processor; and
a compressed data array merger unit operable to,
represent concatenations of vectors of a first compressed data set that extend beyond a second compressed data set with no data vectors that represent lack of data to be contributed from the second compressed data set in a third compressed data set that represents a merger of the first and the second compressed data sets;
determine counterpart vectors of the first and second compressed data sets using compression information for the vectors; and
represent concatenations of the counterpart vectors in the third compressed data set and compression information that accounts for the determined counterpart vectors.

### Claim 20 (depends on 19)

The apparatus of claim 19 further comprising a machine-readable storage medium having computer usable program code encoded therein, wherein the computer usable program code embodies the compressed data array merger unit.
