# US 2022/0292073 A1 · Recording changes to records whilst preserving record immutability

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

- Number: US 2022/0292073 A1
- Document ID: US20220292073A1
- Status: Published application
- Kind: A1
- Application number: 17/198,344
- Filed: 2021-03-11
- Published: 2022-09-15
- Earliest claimed: 2021-03-11
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Fraser Iain MacIntosh; ROSANNA LICKORISH; Mark Longland
- Web page: https://patentgrep.com/patent/US20220292073A1

## CPC

- G06F 16/2358: {Change logging, detection, and notification (replication G06F16/27)}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/211: {Schema design and management}
- G06F 21/6245: {Protecting personal data, e.g. for financial or medical purposes}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Aspects of the present invention disclose a method, computer program product, and system for recording changes to records whilst preserving record availability. The method includes one or more processors capturing a change to a record object. The changes include details of the record object to be changed and a change method instruction by which the object is to be changed. The method further includes one or more processors storing a change object as a standalone object and storing the change method instruction and metadata pointing to the record object. The method further includes one or more processors modifying metadata of previous versions of the record object to include a pointer to the change object. The method further includes one or more processors applying the change method instruction to the record object when responding to a retrieve or restore request for the record object.

## Claims

### Claim 1

A computer-implemented method comprising:
capturing, by one or more processors, a change to a record object, wherein the changes include details of the record object to be changed and a change method instruction by which the object is to be changed;
storing, by one or more processors, a change object as a standalone object, and storing the change method instruction and metadata pointing to the record object;
modifying, by one or more processors, metadata of previous versions of the record object to include a pointer to the change object; and
applying, by one or more processors, the change method instruction to the record object when responding to a retrieve or restore request for the record object.

### Claim 2 (depends on 1)

The method as claimed in claim 1:
wherein capturing a change to a record object further comprises capturing, by one or more processors, a description of a reason for the change; and
wherein storing the change object as a standalone object further comprises storing, by one or more processors, the description in the change object.

### Claim 3 (depends on 1)

The method as claimed in claim 1, further comprising:
storing, by one or more processors, a series of interdependent change objects to accommodate multiple changes to a record object over time, wherein interdependent change objects include metadata with pointers to dependent change objects.

### Claim 4 (depends on 1)

The method as claimed in claim 1, further comprising:
receiving, by one or more processors, a request for a record object; and
applying, by one or more processors, one or more change method instructions to the record object by iterating through applicable change method instructions of one or more change objects pointed to by the record object metadata.

### Claim 5 (depends on 1)

The method as claimed in claim 1, further comprising:
receiving, by one or more processors, a request for a record object;
notifying, by one or more processors, a user making the request that one or more changes to the record object are available; and
applying, by one or more processors, a change method instruction of one or more change objects pointed to by the record object according to a user selection.

### Claim 6 (depends on 1)

The method as claimed in claim 1, further comprising:
receiving, by one or more processors, a request for a record object; and
enforcing, by one or more processors, application of change method instructions of one or more change objects pointed to by the record object metadata by default.

### Claim 7 (depends on 1)

The method as claimed in claim 1, further comprising:
checking, by one or more processors, integrity of a record object and a change object before applying a change method instruction of a change object to the record object.

### Claim 8 (depends on 1)

The method as claimed in claim 1, further comprising:
configuring, by one or more processors, processing of a request to access a record object or a change object to allow unchanged record objects to be retrieved or restored by authorized operators.

### Claim 9 (depends on 1)

The method as claimed in claim 1, further comprising:
retrieving, by one or more processors, a record object for a record, wherein retrieving the record object for the record further comprises:
requesting, by one or more processors, the record object from storage;
retrieving, by one or more processors, the record object from storage and reading the record object metadata to identify any changes to the record object;
retrieving, by one or more processors, one or more change objects from storage;
applying, by one or more processors, one or more change method instructions to the record object as provided in the one or more change objects; and
returning, by one or more processors, a resultant object from applying the one or more change method instructions to the record object.

### Claim 10

A computer program product comprising:
one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising:
program instructions to capture a change to a record object, wherein the changes include details of the record object to be changed and a change method instruction by which the object is to be changed;
program instructions to store a change object as a standalone object, and storing the change method instruction and metadata pointing to the record object;
program instructions to modify metadata of previous versions of the record object to include a pointer to the change object; and
program instructions to apply the change method instruction to the record object when responding to a retrieve or restore request for the record object.

### Claim 11 (depends on 10)

The computer program product of claim 10:
wherein program instructions to capture a change to a record object further comprise program instructions to capture a description of a reason for the change; and
wherein program instructions to store the change object as a standalone object further comprise program instructions to store the description in the change object.

### Claim 12 (depends on 10)

The computer program product of claim 10, further comprising program instructions, stored on the one or more computer readable storage media, to:
store a series of interdependent change objects to accommodate multiple changes to a record object over time, wherein interdependent change objects include metadata with pointers to dependent change objects.

### Claim 13 (depends on 10)

The computer program product of claim 10, further comprising program instructions, stored on the one or more computer readable storage media, to:
receive a request for a record object; and
apply one or more change method instructions to the record object by iterating through applicable change method instructions of one or more change objects pointed to by the record object metadata.

### Claim 14 (depends on 10)

The computer program product of claim 10, further comprising program instructions, stored on the one or more computer readable storage media, to:
receive a request for a record object;
notify a user making the request that one or more changes to the record object are available; and
apply a change method instruction of one or more change objects pointed to by the record object according to a user selection.

### Claim 15

A computer system comprising:
one or more computer processors;
one or more computer readable storage media; and
program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising:
program instructions to capture a change to a record object, wherein the changes include details of the record object to be changed and a change method instruction by which the object is to be changed;
program instructions to store a change object as a standalone object, and storing the change method instruction and metadata pointing to the record object;
program instructions to modify metadata of previous versions of the record object to include a pointer to the change object; and
program instructions to apply the change method instruction to the record object when responding to a retrieve or restore request for the record object.

### Claim 16 (depends on 15)

The computer system of claim 15:
wherein program instructions to capture a change to a record object further comprise program instructions to capture a description of a reason for the change; and
wherein program instructions to store the change object as a standalone object further comprise program instructions to store the description in the change object.

### Claim 17 (depends on 15)

The computer system of claim 15, further comprising program instructions, stored on the computer readable storage media for execution by at least one of the one or more processors, to:
store a series of interdependent change objects to accommodate multiple changes to a record object over time, wherein interdependent change objects include metadata with pointers to dependent change objects.

### Claim 18 (depends on 15)

The computer system of claim 15, further comprising program instructions, stored on the computer readable storage media for execution by at least one of the one or more processors, to:
receive a request for a record object; and
apply one or more change method instructions to the record object by iterating through applicable change method instructions of one or more change objects pointed to by the record object metadata.

### Claim 19 (depends on 15)

The computer system of claim 15, further comprising program instructions, stored on the computer readable storage media for execution by at least one of the one or more processors, to:
receive a request for a record object;
notify a user making the request that one or more changes to the record object are available; and
apply a change method instruction of one or more change objects pointed to by the record object according to a user selection.

### Claim 20 (depends on 15)

The computer system of claim 15, further comprising program instructions, stored on the computer readable storage media for execution by at least one of the one or more processors, to:
receive a request for a record object; and
enforce application of change method instructions of one or more change objects pointed to by the record object metadata by default.
