# US 10,956,062 B2 · Aggregating separate data within a single data log wherein single data log is divided in a plurality of blocks assigned to plurality of different streams

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

- Number: US 10,956,062 B2
- Document ID: US10956062B2
- Status: Granted
- Kind: B2
- Application number: 16/506,895
- Filed: 2019-07-09
- Published: 2021-01-14
- Granted: 2021-03-23
- Earliest claimed: 2019-07-09
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Brian David Hatfield
- Web page: https://patentgrep.com/patent/US10956062B2

## CPC

- G06F 3/0631: {by allocating resources to storage systems}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/064: {Management of blocks}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0673: {Single storage device}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method according to one embodiment includes creating a single data log; storing data from a plurality of different data streams in at least one data unit of the single data log; and allocating an additional data unit to the single data log in response to one or more criteria.

## Claims

### Claim 1

A computer-implemented method, comprising:
creating a single data log;
dividing at least one data unit of the single data log into a plurality of blocks, where each of the plurality of blocks is assigned to one of a plurality of different data streams in a rotating order utilizing a predetermined operation;
storing data from the plurality of different data streams in the at least one data unit of the single data log; and
allocating an additional data unit to the single data log in response to one or more criteria.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more criteria include determining that the at least one data unit is full.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more criteria include determining that a data unit is unallocated.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the single data log stores data as a sequential list in chronological order.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein as data is written to the single data log, the written data is appended to an end of the single data log.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the at least one data unit is provisioned to the single data log in response to a writing of the data to the single data log.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein each of the plurality of different data streams includes a source of data to be stored.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the data from one of the plurality of different data streams has different characteristics from the data from another of the plurality of different data streams.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the data from one of the plurality of different data streams has a different source than the data from another of the plurality of different data streams.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the data from one of the plurality of different data streams is from a same source, but a different time, than the data from another of the plurality of different data streams.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1,
wherein the predetermined operation includes a modulo operation, where:
each of the plurality of blocks is sequentially numbered,
each of the plurality of different data streams is sequentially numbered, and
the sequential number of a given block is divided by a total number of the plurality of different data streams, and the remainder indicates a number of one of the plurality of different data streams that utilizes the given block for data storage.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1, wherein the data is stored within the at least one data unit utilizing one or more identifiers.

### Claim 13 (depends on 1)

The computer-implemented method of claim 1, wherein the additional data unit is allocated to the single data log in response to determining that an available amount of data is less than a threshold amount.

### Claim 14 (depends on 1)

The computer-implemented method of claim 1, wherein in response to determining that a predetermined data stream writes data as a block to the at least one data unit, metadata identifying that predetermined data stream is also written to the block.

### Claim 15 (depends on 1)

The computer-implemented method of claim 1, further comprising:
reserving a predetermined amount of space at a beginning of the single data log, where the predetermined amount of space stores metadata including:
a number of the plurality of different data streams,
a data block size, and
a number of data blocks used by each of the plurality of different data streams;
determining a number of fixed-size data units allocated to the single data log, utilizing the metadata; and
utilizing the number of the plurality of different data streams from the metadata to determine an identifier of a data stream that can utilize a block for data storage within the single data log.

### Claim 16 (depends on 1)

The computer-implemented method of claim 1, further comprising merging a first data log that stores data from a first data stream and a second data log that stores data from a second data stream to create the single data log.

### Claim 17 (depends on 1)

The computer-implemented method of claim 1, further comprising:
defining, within a metadata block of the single data log:
a count of a total number of the plurality of different data streams,
a stream block size for each of the plurality of blocks, and
a count, for each of the plurality of different data streams, of a number of blocks written to the single data log by the data stream;
in response to identifying a write to a block within the single data log by one of the plurality of different data streams, incrementing the count of the number of blocks written to the single data log by the corresponding data stream.

### Claim 18

A computer program product for aggregating disparate data within a single data log, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a processor to cause the processor to perform a method comprising:
creating, by the processor, a single data log;
dividing, by the processor, at least one data unit of the single data log into a plurality of blocks, where each of the plurality of blocks is assigned to one of a plurality of different data streams in a rotating order utilizing a predetermined operation;
storing, by the processor, data from the plurality of different data streams in the at least one data unit of the single data log; and
allocating, by the processor, an additional data unit to the single data log in response to one or more criteria.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the single data log stores data as a sequential list in chronological order.

### Claim 20

A system, comprising:
a processor; and
logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to:
create a single data log;
divide at least one data unit of the single data log into a plurality of blocks, where each of the plurality of blocks is assigned to one of a plurality of different data streams in a rotating order utilizing a predetermined operation;
store data from the plurality of different data streams in the at least one data unit of the single data log; and
allocate an additional data unit to the single data log in response to one or more criteria.
