# US 2022/0284422 A1 · Immutable Database for 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/0284422 A1
- Document ID: US20220284422A1
- Status: Published application
- Kind: A1
- Application number: 17/516,345
- 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/US20220284422A1

## 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 with a bitemporal ledger for storing transactions in timelines for maintaining a record of all events and resources within the system. The bitemporal ledger may store a sequence of transactions which include a plurality of transactions previously received by the data processing system in a temporal sequence up to a current time. A new transaction is received and may be appended to the sequence of transactions based on temporal metadata associated with the transaction are received, The temporal metadata may include a valid-from time and a created-at time.

## Claims

### Claim 1

A computer-implemented method executed by a bitemporal ledger in a data processing system, the method comprising:
storing a sequence of transactions in the bitemporal ledger, wherein the sequence of transactions includes a plurality of transactions previously received by the data processing system in a temporal sequence up to a current time;
receiving, by the data processing system, a transaction for processing by the data processing system and temporal metadata associated with the transaction, wherein the temporal metadata includes a valid-from time and a creation time, and wherein the valid-from time indicates a specific execution time in the sequence of transactions in relation to the current time and the creation time indicates when the transaction is created in relation to the plurality of transactions in the sequence of transactions;
appending, in the bitemporal ledger, the transaction to a position in the sequence of transactions, wherein the position is based on the temporal metadata, wherein the plurality of transactions includes a second transaction and a plurality of subsequent transactions, wherein the transaction is a correcting transaction configured to correct an error in the second transaction;
generating, based on the correcting transaction, an alternate sequence of transactions separate from the sequence of transactions, wherein the alternate sequence of transactions includes the plurality of transactions, the correcting transaction, and a second plurality of subsequent transactions that occur subsequent to the current time; and
replacing the sequence of transactions with the alternate sequence of transactions in the bitemporal ledger.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the second transaction is associated with second temporal metadata, wherein the second temporal metadata includes a second valid-from time and a second creation time, and wherein the plurality of subsequent transactions occur later in time than the second transaction.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the valid-from time is the same as the second valid-from time.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein generating the alternate sequence of transactions further comprises:
duplicating the plurality of transactions to form a second plurality of transactions;
forming the alternate sequence of transactions based on the second plurality of transactions; and
replacing the second transaction with the correcting transaction in the alternate sequence of transactions at the valid-from time.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, further comprising:
forming, based on the correcting transaction, an alternate transaction in the alternate sequence of transactions, wherein the alternate transaction includes a third creation time and wherein the third creation time is after the valid-from time.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein replacing the sequence of transactions with the alternate sequence of transactions further comprises:
replaying the plurality of subsequent transactions based on the alternate transaction to form a plurality of alternate transactions;
appending the plurality of alternate transactions subsequent to the alternate transaction in the alternate sequence of transactions; and
validating the alternate sequence of transactions, wherein the replacing the sequence of transactions is responsive to the validating;

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the bitemporal ledger is immutable and is configured to store every transaction received by the data processing system in the sequence of transactions.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the transaction is a financial transaction associated with a user financial account and wherein the data processing system includes a plurality of user financial accounts including the user financial account.

### Claim 9

A data processing system comprising:
a memory implementing a bitemporal ledger;
a processor configured to:
store, in the bitemporal ledger, a sequence of transactions, wherein the sequence of transactions includes a plurality of transactions previously received by the data processing system in a temporal sequence up to a current time;
receive, by the data processing system, a transaction for processing by the data processing system and temporal metadata associated with the transaction, wherein the temporal metadata includes a valid-from time and a creation time, and wherein the valid-from time indicates a specific execution time in the sequence of transactions in relation to the current time and the creation time indicates when the transaction is created in relation to the plurality of transactions in the sequence of transactions;
append, in the bitemporal ledger, the transaction to a position in the sequence of transactions, wherein the position is based on the temporal metadata, wherein the plurality of transactions includes a second transaction and a plurality of subsequent transactions, wherein the transaction is a correcting transaction configured to correct an error in the second transaction;
generate, based on the correcting transaction, an alternate sequence of transactions separate from the sequence of transactions, wherein the alternate sequence of transactions includes the plurality of transactions, the correcting transaction, and a second plurality of subsequent transactions that occur subsequent to the current time; and
replace the sequence of transactions with the alternate sequence of transactions in the bitemporal ledger.

### Claim 10 (depends on 9)

The data processing system of claim 9, wherein the second transaction is associated with second temporal metadata, wherein the second temporal metadata includes a second valid-from time and a second creation time, and wherein the plurality of subsequent transactions occur later in time than the second transaction.

### Claim 11 (depends on 10)

The data processing system of claim 10, wherein the valid-from time is the same as the second valid-from time.

### Claim 12 (depends on 11)

The data processing system of claim 11, wherein to generate the alternate sequence of transactions, the processor is further configured to:
duplicate the plurality of transactions to form a second plurality of transactions;
form the alternate sequence of transactions based on the second plurality of transactions; and
replace the second transaction with the correcting transaction in the alternate sequence of transactions at the valid-from time.

### Claim 13 (depends on 12)

The system of claim 12, the processor further configured to:
form, based on the correcting transaction, an alternate transaction in the alternate sequence of transactions, wherein the alternate transaction includes a third creation time and wherein the third creation time is after the valid-from time.

### Claim 14 (depends on 13)

The system of claim 13, wherein to replace the sequence of transactions, the processor is further configured to:
replay the plurality of subsequent transactions based on the alternate transaction to form a plurality of alternate transactions;
append the plurality of alternate transactions subsequent to the alternate transaction in the alternate sequence of transactions;
validate the alternate sequence of transactions, wherein the replacing the sequence of transactions is responsive to the validating.

### Claim 15 (depends on 9)

The system of claim 9, wherein the bitemporal ledger is immutable and is configured to store every transaction received by the data processing system in the sequence of transactions.

### Claim 16

A non-transitory computer-readable medium storing instructions, the instructions, when executed by a processor in a data processing system, cause the processor to perform operations comprising:
storing, in a bitemporal ledger of the data processing system, a sequence of transactions, wherein the sequence of transactions includes a plurality of transactions previously received by the data processing system in a temporal sequence up to a current time;
receiving, by the data processing system, a transaction for processing by the data processing system and temporal metadata associated with the transaction, wherein the temporal metadata includes a valid-from time and a creation time, and wherein the valid-from time indicates a specific execution time in the sequence of transactions in relation to the current time and the creation time indicates when the transaction is created in relation to the plurality of transactions in the sequence of transactions;
appending, by the bitemporal ledger, the transaction to a position in the sequence of transaction, wherein the position is based on the temporal metadata, wherein the plurality of transactions includes a second transaction and a plurality of subsequent transactions, wherein the transaction is a correcting transaction configured to correct an error in the second transaction;
generating, based on the correcting transaction, an alternate sequence of transactions separate from the sequence of transactions, wherein the alternate sequence of transactions includes the plurality of transactions, the correcting transaction, and a second plurality of subsequent transactions that occur subsequent to the current time; and
replacing the sequence of transactions with the alternate sequence of transactions in the bitemporal ledger.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein the second transaction is associated with second temporal metadata, wherein the second temporal metadata includes a second valid-from time and a second creation time, and wherein the plurality of subsequent transactions occur later in time than the second transaction.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the valid-from time is the same as the second valid-from time.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, the operations further comprising:
duplicating the plurality of transactions to form a second plurality of transactions;
forming the alternate sequence of transactions based on the second plurality of transactions; and
replacing the second transaction with the correcting transaction in the alternate sequence of transactions at the valid-from time.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, the operations further comprising:
forming, based on the correcting transaction, an alternate transaction in the alternate sequence of transactions, wherein the alternate transaction includes a third creation time and wherein the third creation time is after the valid-from time.
