# US 2024/0256519 A1 · Method and apparatus for validating data images

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

- Number: US 2024/0256519 A1
- Document ID: US20240256519A1
- Status: Published application
- Kind: A1
- Application number: 18/159,837
- Filed: 2023-01-26
- Published: 2024-08-01
- Earliest claimed: 2023-01-26
- Assignees: Dell Products L.P.
- Applicants: Dell Products L.P.
- Inventors: Michael Barber; Arieh Don
- Web page: https://patentgrep.com/patent/US20240256519A1

## CPC

- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, including: generating a layout plan that is associated with a dataset; obtaining a data record that is part of the dataset; assigning a serial number to the data record; storing the data record at a record storage location, the record storage location being selected based on the layout plan and the serial number that is assigned to the data record; generating a metadata record that corresponds to the data record, the metadata record including at least one of the serial number and an indication of the record storage location; storing the metadata record at a metadata storage location; generating a data image of a range of data storage locations, the range including the data storage location where the data record is stored; detecting whether the data image is corrupt based, at least in part, on the metadata record; and generating a diagnostic message.

## Claims

### Claim 1

A method, comprising:
generating a layout plan that is associated with a dataset;
obtaining a data record that is part of the dataset;
assigning a serial number to the data record;
storing the data record at a record storage location, the record storage location being selected based on the layout plan and the serial number that is assigned to the data record;
generating a metadata record that corresponds to the data record, the metadata record including at least one of the serial number and an indication of the record storage location;
storing the metadata record at a metadata storage location;
generating a data image of a range of data storage locations, the range including the data storage location where the data record is stored;
detecting whether the data image is corrupt based, at least in part, on the metadata record; and
generating a diagnostic message when the data image is corrupt.

### Claim 2 (depends on 1)

The method of claim 1, wherein detecting whether the data image is corrupt includes detecting whether the data image is crash-consistent.

### Claim 3 (depends on 1)

The method of claim 1, wherein detecting whether the data image is corrupt includes:
using the metadata record to identify the record storage location where the data record is stored,
using the record storage location to retrieve, from the data image, data that corresponds to the record storage location; and
using the serial number of the data record to determine whether the data image includes an uninterrupted sequence of data records that are associated with the dataset.

### Claim 4 (depends on 1)

The method of claim 1, wherein detecting whether the data image is corrupt includes:
using the metadata record to identify the record storage location where the data record was stored,
using the record storage location to retrieve, from the data image, data that is stored at the record storage location; and
examining the data to determine if the data image is corrupt.

### Claim 5 (depends on 1)

The method of claim 1, wherein the record storage location includes a storage location in a storage system, and the layout plan includes a data structure that contains a key identifying the layout plan, and an indication of a maximum number of records that can be stored in the storage system at any given time.

### Claim 6 (depends on 1)

The method of claim 1, wherein the metadata record is generated before the data record, the method further comprising identifying the storage location for the data record, the identifying including retrieving the storage location from the metadata record.

### Claim 7 (depends on 1)

The method of claim 1, wherein detecting whether the data image is corrupt includes detecting whether a timestamp of the data record is in a correct sequence with timestamps of other data records from the dataset that are stored in the data image.

### Claim 8 (depends on 1)

The method of claim 1, further comprising adding at least one of the serial number that is assigned to the data record and a key identifying the layout plan to both a header and a tail of the data record, wherein detecting whether the data image is corrupt includes detecting whether the header matches the tail.

### Claim 9 (depends on 1)

The method of claim 1, wherein the data image includes a snapshot or remote replication image that is generated in response to a point-in-time (PiT) event, the method further comprising attaching, to the data record, the serial number that is assigned to the data record, a time stamp, a checksum, and a key identifying the layout plan.

### Claim 10

A system, comprising:
a memory; and
at least one processor operatively coupled to the memory, the at least one processor being configured to perform the operations of:
generating a layout plan that is associated with a dataset;
obtaining a data record that is part of the dataset;
assigning a serial number to the data record;
storing the data record at a record storage location, the record storage location being selected based on the layout plan and the serial number that is assigned to the data record;
generating a metadata record that corresponds to the data record, the metadata record including at least one of the serial number and an indication of the record storage location;
storing the metadata record at a metadata storage location;
generating a data image of a range of data storage locations, the range including the data storage location where the data record is stored;
detecting whether the data image is corrupt based, at least in part, on the metadata record; and
generating a diagnostic message when the data image is corrupt.

### Claim 11 (depends on 10)

The system of claim 10, wherein detecting whether the data image is corrupt includes detecting whether the data image is crash-consistent.

### Claim 12 (depends on 10)

The system of claim 10, wherein detecting whether the data image is corrupt includes:
using the metadata record to identify the record storage location where the data record is stored,
using the record storage location to retrieve, from the data image, data that corresponds to the record storage location; and
using the serial number of the data record to determine whether the data image includes an uninterrupted sequence of data records that are associated with the dataset.

### Claim 13 (depends on 10)

The system of claim 10, wherein detecting whether the data image is corrupt includes:
using the metadata record to identify the record storage location where the data record was stored,
using the record storage location to retrieve, from the data image, data that is stored at the record storage location; and
examining the data to determine if the data image is corrupt.

### Claim 14 (depends on 10)

The system of claim 10, wherein the layout plan includes a data structure that contains a key identifying the layout plan, and an indication of a maximum number of records that can be stored in the storage system at any given time.

### Claim 15 (depends on 10)

The system of claim 10, wherein the metadata record is generated before the data record, and the at least one processor is further configured to perform the operation of identifying the storage location for the data record, the identifying including retrieving the storage location from the metadata record.

### Claim 16 (depends on 10)

The system of claim 10, wherein detecting whether the data image is corrupt includes detecting whether a timestamp of the data record is in a correct sequence with timestamps of other data records from the dataset that are stored in the data image.

### Claim 17 (depends on 10)

The system of claim 10, wherein:
the at least one processor is further configured to perform the operation of adding at least one of the serial number that is assigned to the data record and a key identifying the layout plan to both a header and a tail of the data record, and
detecting whether the data image is corrupt includes detecting whether the header matches the tail.

### Claim 18 (depends on 10)

The system of claim 10, wherein the data image includes a snapshot or remote replication image that is generated in response to a point-in-time (PiT) event, the method further comprising attaching, to the data record, the serial number that is assigned to the data record, a time stamp, a checksum, and a key identifying the layout plan.

### Claim 19

A non-transitory computer-readable storage medium storing one or more processor-executable instructions, which, when executed by at least one processor, cause the at least one processor to perform the operations of:
generating a layout plan that is associated with a dataset;
obtaining a data record that is part of the dataset;
assigning a serial number to the data record;
storing the data record at a record storage location, the record storage location being selected based on the layout plan and the serial number that is assigned to the data record;
generating a metadata record that corresponds to the data record, the metadata record including at least one of the serial number and an indication of the record storage location;
storing the metadata record at a metadata storage location;
generating a data image of a range of data storage locations, the range including the data storage location where the data record is stored;
detecting whether the data image is corrupt based, at least in part, on the metadata record; and
generating a diagnostic message when the data image is corrupt.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, wherein detecting whether the data image is corrupt includes detecting whether the data image is crash-consistent.
