# US 11,119,663 B2 · Determining when to perform a data integrity check of copies of a data set by training a machine learning module

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

- Number: US 11,119,663 B2
- Document ID: US11119663B2
- Status: Granted
- Kind: B2
- Application number: 16/115,540
- Filed: 2018-08-28
- Published: 2020-01-02
- Granted: 2021-09-14
- Earliest claimed: 2018-06-29
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Matthew G. Borlick; Karl A. Nielsen; Clint A. Hardy; Lokesh M. Gupta
- Web page: https://patentgrep.com/patent/US11119663B2

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 11/106: {Correcting systematically all correctable errors, i.e. scrubbing}
- G06F 3/065: {Replication mechanisms}
- G06F 3/0683: {Plurality of storage devices}
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 20/00: Machine learning
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 11/2097: {maintaining the standby controller/processing unit updated (initialisation or re-synchronisation thereof G06F11/1658 and subgroups)}
- G06F 2201/81: Threshold
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 5/025: Extracting rules from data
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Provided are a computer program product, system, and method for using a machine learning module to determine when to perform a data integrity check of copies of a data set. Input on storage attributes of a plurality of storage units, each storage unit of the storage units storing a copy of a data set, is provided to a machine learning module to produce an output value. A determination is made as to whether the output value indicates to perform a data integrity check of the copies of the data set. A determination is made as to whether the copies of the data set on different storage units are inconsistent in response to determining to perform the data integrity check. At least one of the copies of the data set is corrected to synchronize all the copies of the data set.

## Claims

### Claim 1

A computer program product for a data integrity check of copies of a data set in storage units, the computer program product comprising a computer readable storage medium storing computer readable program code that when executed by a processor causes the processor to perform operations, the operations comprising:
determining to train a machine learning module; and
in response to determining to train the machine learning module, performing:
determining input comprising storage attributes of the storage units storing the copies of the data set;
using the input to train the machine learning module to produce a first output value indicating to perform the data integrity check of the copies of the data set in the storage units; and
executing the machine learning module to produce a second output value used to determine whether to perform the data integrity check.

### Claim 2 (depends on 1)

The computer program product of claim 1, wherein the operations further comprise:
determining, by the data integrity check, that the copies of the data set are inconsistent, wherein the determination to train the machine learning module is made in response to the determining that the copies of the data set are inconsistent.

### Claim 3 (depends on 1)

The computer program product of claim 1, wherein the operations further comprise:
determining that the copies of the data set have been determined to be consistent a consistency threshold number of times during data integrity check operations; and
setting the first output value to indicate to not perform the data integrity check in response to determining that the copies of the data set have been determined to be consistent for the consistency threshold number of times, wherein the determination to train the machine learning module is made in response to the determining that the copies of the data set have been determined to be consistent for the consistency threshold number of times.

### Claim 4 (depends on 1)

The computer program product of claim 1, wherein the operations further comprise:
detecting a state transition at a system using the data set; and
setting the first output value used to train the machine learning module to indicate to perform the data integrity check in response to detecting the state transition, wherein the determination to train the machine learning module is made in response to the detecting the state transition.

### Claim 5 (depends on 1)

The computer program product of claim 1, wherein to train the machine learning module comprises:
executing the machine learning module with the input to produce a third output value;
determining a margin of error of the third output value of the machine learning module and the first output value; and
using the margin of error and the input to train weights and biases of nodes in the machine learning module to produce the first output value.

### Claim 6 (depends on 1)

The computer program product of claim 1, wherein the machine learning module produces output values from inputs from storage arrays of storage devices managed by storage controllers, wherein each storage controller of the storage controllers maintains copies of a data set comprising system configuration information for the storage controller, to provide the storage controllers with output values based on the input indicating whether the storage controllers should perform the data integrity check of the copies of the data set used by the storage controllers.

### Claim 7 (depends on 1)

The computer program product of claim 1, wherein each storage unit comprises a different rank in a Redundant Array of Independent Disks (RAID), wherein each rank of ranks includes a copy of the data set.

### Claim 8 (depends on 1)

The computer program product of claim 1, wherein the storage attributes of the storage units used as the input to the machine learning module include at least two of:
state transition information at a system using the data set having information on a state transition resulting from an error event in at least one of the system and the storage units storing the copies of the data set;
a type of at least one storage device comprising a storage unit;
an age of the at least one storage device from first use;
a firmware level of the at least one storage device;
a read operations per second at the at least one storage device; and
a write operations per second at the at least one storage device.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the state transition information indicates at least one of a failure at a system using the data set, a failover or failback involving the system using the data set, an error in one of the storage units storing the copies of the data set, a power cycle or reset event at the system.

### Claim 10

A system for a data integrity check of copies of a data set in storage units, comprising:
a processor; and
a computer readable storage medium storing computer readable program code that when executed by the processor performs operations, the operations comprising:
determining to train a machine learning module; and
in response to determining to train the machine learning module, performing:
determining input comprising storage attributes of the storage units storing the copies of the data set;
using the input to train the machine learning module to produce a first output value indicating to perform the data integrity check of the copies of the data set in the storage units; and
executing the machine learning module to produce a second output value used to determine whether to perform the data integrity check.

### Claim 11 (depends on 10)

The system of claim 10, wherein the operations further comprise:
determining that the copies of the data set have been determined to be consistent a consistency threshold number of times during data integrity check operations; and
setting the first output value to indicate to not perform the data integrity check in response to determining that the copies of the data set have been determined to be consistent for the consistency threshold number of times, wherein the determination to train the machine learning module is made in response to the determining that the copies of the data set have been determined to be consistent for the consistency threshold number of times.

### Claim 12 (depends on 10)

The system of claim 10, wherein the operations further comprise:
detecting a state transition at a system using the data set; and
setting the first output value used to train the machine learning module to indicate to perform the data integrity check in response to detecting the state transition, wherein the determining to train the machine learning module is made in response to the detecting the state transition.

### Claim 13 (depends on 10)

The system of claim 10, wherein the operations further comprise:
determining, by the data integrity check, that the copies of the data set are inconsistent, wherein the determination to train the machine learning module is made in response to the determining that the copies of the data set are inconsistent.

### Claim 14 (depends on 10)

The system of claim 10, wherein to train the machine learning module comprises:
executing the machine learning module with the input to produce a third output value;
determining a margin of error of the third output value of the machine learning module and the first output value; and
using the margin of error and the input to train weights and biases of nodes in the machine learning module to produce the first output value.

### Claim 15 (depends on 10)

The system of claim 10, wherein the machine learning module produces output values from inputs from storage arrays of storage devices managed by storage controllers, wherein each storage controller of the storage controllers maintains copies of a data set comprising system configuration information for the storage controller, to provide the storage controllers with output values based on the input indicating whether the storage controllers should perform the data integrity check of the copies of the data set used by the storage controllers.

### Claim 16 (depends on 10)

The system of claim 10, wherein each storage unit comprises a different rank in a Redundant Array of Independent Disks (RAID), wherein each rank of ranks includes a copy of the data set.

### Claim 17 (depends on 10)

The system of claim 10, wherein the storage attributes of the storage units used as the input to the machine learning module include at least two of:
state transition information at a system using the data set having information on a state transition resulting from an error event in at least one of the system and the storage units storing the copies of the data set;
a type of at least one storage device comprising a storage unit;
an age of the at least one storage device from first use;
a firmware level of the at least one storage device;
a read operations per second at the at least one storage device; and
a write operations per second at the at least one storage device.

### Claim 18 (depends on 17)

The system of claim 17, wherein the state transition information indicates at least one of a failure at a system using the data set, a failover or failback involving the system using the data set, an error in one of the storage units storing the copies of the data set, a power cycle or reset event at the system.

### Claim 19

A method implemented in a computer system for a data integrity check of copies of a data set in storage units, comprising:
determining to train a machine learning module; and
in response to determining to train the machine learning module, performing:
determining input comprising storage attributes of the storage units storing the copies of the data set;
using the input to train the machine learning module to produce a first output value indicating to perform the data integrity check of the copies of the data set in the storage units; and
executing the machine learning module to produce a second output value used to determine whether to perform the data integrity check.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
determining that the copies of the data set have been determined to be consistent a consistency threshold number of times during data integrity check operations; and
setting the first output value to to indicate to not perform the data integrity check in response to determining that the copies of the data set have been determined to be consistent for the consistency threshold number of times, wherein the determination to train the machine learning module is made in response to the determining that the copies of the data set have been determined to be consistent for the consistency threshold number of times.

### Claim 21 (depends on 19)

The method of claim 19, further comprising:
detecting a state transition at a system using the data set; and
setting the first output value used to train the machine learning module to indicate to perform the data integrity check in response to detecting the state transition, wherein the determining to train the machine learning module is made in response to the detecting the state transition.

### Claim 22 (depends on 19)

The method of claim 19, further comprising:
determining, by the data integrity check, that the copies of the data set are inconsistent, wherein the determination to train the machine learning module is made in response to the determining that the copies of the data set are inconsistent.

### Claim 23 (depends on 19)

The method of claim 19, wherein to train the machine learning module comprises:
executing the machine learning module with the input to produce a third output value;
determining a margin of error of the third output value of the machine learning module and the first output value; and
using the margin of error and the input to train weights and biases of nodes in the machine learning module to produce the first output value.

### Claim 24 (depends on 19)

The method of claim 19, wherein the machine learning module produces output values from inputs from storage arrays of storage devices managed by storage controllers, wherein each storage controller of the storage controllers maintains copies of a data set comprising system configuration information for the storage controller, to provide the storage controllers with output values based on the input indicating whether the storage controllers should perform the data integrity check of the copies of the data set used by the storage controllers.

### Claim 25 (depends on 19)

The method of claim 19, wherein each storage unit comprises a different rank in a Redundant Array of Independent Disks (RAID), wherein each rank of ranks includes a copy of the data set.

### Claim 26 (depends on 19)

The method of claim 19, wherein the storage attributes of the storage units used as the input to the machine learning module include at least two of:
state transition information at a system using the data set having information on a state transition resulting from an error event in at least one of the system and the storage units storing the copies of the data set;
a type of at least one storage device comprising a storage unit;
an age of the at least one storage device from first use;
a firmware level of the at least one storage device;
a read operations per second at the at least one storage device; and
a write operations per second at the at least one storage device.

### Claim 27 (depends on 26)

The method of claim 26, wherein the state transition information indicates at least one of a failure at a system using the data set, a failover or failback involving the system using the data set, an error in one of the storage units storing the copies of the data set, a power cycle or reset event at the system.
