# US 2022/0284424 A1 · Immutable Database for Processing Retroactive and Historical Transactions Using Bitemporal Analysis

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

- Number: US 2022/0284424 A1
- Document ID: US20220284424A1
- Status: Published application
- Kind: A1
- Application number: 17/516,438
- Filed: 2021-11-01
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: Capital One Services, LLC
- Applicants: Capital One Services, LLC
- Inventors: Philip Austin KEDY; Kenneth J. SCHNEIDER; Aaron ZHANG
- Web page: https://patentgrep.com/patent/US20220284424A1

## CPC

- G06Q 20/389: {Keeping log of transactions for guaranteeing non-repudiation of a transaction}
- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- G06F 16/219: {Managing data history or versioning (querying versioned data G06F16/2474; querying temporal data G06F16/2477)}
- G06F 16/2308: {Concurrency control (transaction processing G06F9/466)}
- G06F 16/2358: {Change logging, detection, and notification (replication G06F16/27)}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/2477: {Temporal data queries}
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06Q 20/08: Payment architectures
- G06Q 20/382: {insuring higher security of transaction}
- H04L 9/3297: {involving time stamps, e.g. generation of time stamps}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 41/0806: for initial configuration or provisioning, e.g. plug-and-play
- H04L 41/0816: the condition being an adaptation, e.g. in response to network events
- H04L 41/0856: {by backing up or archiving configuration information}
- H04L 41/0866: Checking the configuration
- H04L 63/123: {received data contents, e.g. message integrity}
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- H04L 69/02: {Protocol performance}
- H04L 69/08: Protocols for interworking; Protocol conversion
- G06Q 40/00: Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- H04L 41/0894: Policy-based network configuration management
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Embodiments disclosed are directed to an immutable database in a data processing system for tracking a data state of the data processing system using multiple timelines or temporal sequences representing events occurring in the data processing system. The immutable database may maintain a current temporal sequence representing an existing data state of the data processing system and generate alternate temporal sequences representing an alternate data state of the data processing system. The alternate temporal sequence may be used to test retroactive events that are intended to replace or correct events that occurred in the current temporal sequence.

## Claims

### Claim 1

A computer-implemented method by an immutable database in a data processing system for tracking a data state of the data processing system, the method comprising:
maintaining a plurality of historical events processed by the data processing system on a first time-ordered sequence, wherein the plurality of historical events includes a historical event, a first temporal sequence of historical events that occurs prior to the historical event, and a second temporal sequence of historical events that occurs subsequent to the historical event, and wherein each historical event is associated with a corresponding change in the data state;
designating the first time-ordered sequence as a current time-ordered sequence for tracking the data state;
receiving a correcting event configured to correct an error caused by the historical event; and
correcting the historical event in the plurality of historical events based on the correcting event, the correcting comprising:
duplicating the first temporal sequence of historical events to a second time-ordered sequence to form an alternate sequence of events in the second time-ordered sequence;
replacing the historical event with the correcting event in the second time-ordered sequence; and
replaying, in the second time-ordered sequence, the second temporal sequence of historical events using the correcting event to form a second alternate sequence of events including an alternate event; and
tracking a change in the data state based on the alternate event.

### Claim 2 (depends on 1)

The method of claim 1, wherein the data state is associated with an account balance of a user financial account, the first event comprises a financial event associated with the user financial account, and the corresponding change to the data state is a correction to the account balance.

### Claim 3 (depends on 1)

The method of claim 1, wherein the plurality of historical events represents all events associated with the data state processed by the data processing system and the immutable database is configured to prevent events from being overwritten in the plurality of events.

### Claim 4 (depends on 1)

The method of claim 1, wherein the second time-ordered sequence is separate from the first time-ordered sequence.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
designating the second time-ordered sequence as the current time-ordered sequence for tracking the data state; and
designating the first time-ordered sequence as a historical time-ordered sequence.

### Claim 6 (depends on 1)

The method of claim 1, wherein the second temporal sequence of historical events comprises a first event providing a first change in the data state based on the historical event, and wherein the second alternate sequence of events comprises the first event providing a second change in the data state based on the correcting event.

### Claim 7 (depends on 6)

The method of claim 6, wherein the first change is different from the second change.

### Claim 8 (depends on 6)

The method of claim 6, wherein the data state is associated with an account balance of a user financial account, the historical event is associated with a first event amount, the correcting event is associated with a second event amount, the first change in the data state represents a first change to the account balance based on the first event amount, and the second change in the data state represents a second change to the account balance based on the second event amount.

### Claim 9

A data processing system comprising an immutable database for tracking a data state of the data processing system, the data processing system comprising:
a memory implementing the immutable database;
a processor configured to:
maintain a plurality of historical events processed by the data processing system on a first time-ordered sequence, wherein the plurality of historical events includes a historical event, a first temporal sequence of historical events that occurs prior to the historical event, and a second temporal sequence of historical events that occurs subsequent to the historical event, and wherein each historical event is associated with a corresponding change in the data state;
designate the first time-ordered sequence as a current time-ordered sequence for tracking the data state;
receive a correcting event configured to correct an error caused by the historical event;
correct the historical event in the plurality of historical events based on the correcting event by:
duplicate the first temporal sequence of historical events to a second time-ordered sequence to form an alternate sequence of events in the second time-ordered sequence;
replace the historical event with the correcting event in the second time-ordered sequence; and
replay, in the second time-ordered sequence, the second temporal sequence of historical events using the correcting event to form a second alternate sequence of historical events including an alternate event; and
track a change in the data state based on the alternate event.

### Claim 10 (depends on 9)

The system of claim 9, wherein the data state is associated with an account balance of a user financial account, the first event comprises a financial event associated with the user financial account, and the corresponding change to the data state is an adjustment to the account balance.

### Claim 11 (depends on 9)

The system of claim 9, wherein the plurality of events represents all events associated with the data state processed by the data processing system and the immutable database is configured to prevent events from being overwritten in the plurality of events.

### Claim 12 (depends on 9)

The system of claim 9, wherein the second time-ordered sequence is separate from the first time-ordered sequence.

### Claim 13 (depends on 9)

The system of claim 9, wherein the processor is further configured to:
designate the second time-ordered sequence as the current time-ordered sequence for tracking the data state; and designate the first time-ordered sequence as a historical time-ordered sequence.

### Claim 14 (depends on 9)

The system of claim 9, wherein the second temporal sequence of historical events comprises a first event providing a first change in the data state based on the historical event, and wherein the second alternate sequence of events comprises the first event providing a second change in the data state based on the correcting event.

### Claim 15 (depends on 14)

The system of claim 14, wherein the first change is different from the second change.

### Claim 16

A non-transitory computer-readable medium storing instructions, the instructions, when executed by an immutable database in a data processing system for tracking a data state of the data processing system, cause the immutable database to perform operations comprising:
maintaining a plurality of historical events processed by the data processing system on a first time-ordered sequence, wherein the plurality of historical events includes a historical event, a first temporal sequence of historical events that occurs prior to the historical event, and a second temporal sequence of historical events that occurs subsequent to the historical event, and wherein each historical event is associated with a corresponding change in the data state;
designating the first time-ordered sequence as a current time-ordered sequence for tracking the data state;
receiving a correcting event configured to correct an error caused by the historical event;
correcting the historical event in the plurality of historical events based on the correcting event by:
duplicating the first temporal sequence of historical events to a second time-ordered sequence to form an alternate sequence of events in the second time-ordered sequence;
replacing the historical event with the correcting event in the second time-ordered sequence; and
replaying, in the second time-ordered sequence, the second temporal sequence of historical events using the correcting event to form a second alternate sequence of events including an alternate event; and
tracking a change in the data state based on the alternate event.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein the data state is associated with an account balance of a user financial account, the first event comprises a financial event associated with the user financial account, and the corresponding change to the data state is an adjustment to the account balance.

### Claim 18 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein the plurality of events represents all events associated with the data state processed by the data processing system and the immutable database is configured to prevent events from being overwritten in the plurality of events.

### Claim 19 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein the second time-ordered sequence is separate from the first time-ordered sequence.

### Claim 20 (depends on 16)

The non-transitory computer-readable medium of claim 16, the operations further comprising:
designating the second time-ordered sequence as the current time-ordered sequence for tracking the data state; and
designating the first time-ordered sequence as a historical time-ordered sequence.
