IP Library Granted Patent US 11,847,637
Granted Patent B2
US 11,847,637 · App. 17/095,552 · Granted Dec 19, 2023

Database with data integrity maintenance

Inventors: Carl Jackson (San Francisco, CA); Peter Bakkum (San Francisco, CA); Usman Masood (San Francisco, CA)
Assignee: STRIPE, INC.
G06Q20/3676G06F16/134G06F16/2365G06Q40/02G06Q50/06H04L9/0643G06Q2220/00H04L2209/56
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,847,637
App. No.
17/095,552
Granted
Dec 19, 2023
Kind
B2
Abstract

A method for maintaining database integrity comprises: receiving event data from a producer; converting the received event data to a standard set of ledger entries; publishing the converted entries to a database; determining if two accounts in the database balance out; performing a remedial action to maintain the database integrity if the accounts do not balance.

Claims (41)

1. A method for maintaining database integrity, the method comprising:

receiving, by one or more processors coupled to non-transitory memory, event data from a producer, the event data having a format different from a predefined schema;

converting, by the one or more processors, the received event data to a standard set of ledger entries according to the predefined schema, the standard set of ledger entries comprising a first edge object identifying a first relationship between a first account and a second account;

publishing, by the one or more processors, the converted entries to a database by grouping the first edge object with a second edge object identifying a second relationship between the first account and the second account; and

responsive to determining, by the one or more processors, based on a mismatch of a double-entry in ledger entries published to the database, that two accounts in the database do not balance out, performing, by the one or more processors, a remedial action to maintain the database integrity.

2. The method of claim 1 , further comprising transmitting, by the one or more processors, a data integrity violation alert to the producer upon determining that the two accounts do not balance out.

3. The method of claim 2 , further comprising:

receiving, by the one or more processors, a second event data from the producer in response to the data integrity violation alert; and

performing, by the one or more processors, the remedial action based on the received second event data.

4. The method of claim 1 , where the remedial action comprises adjusting, by the one or more processors, one of the two accounts to a zero balance if a value in the one account is less than a threshold value.

5. The method of claim 1 , wherein the event data includes a transfer of fungible commodities.

6. The method of claim 5 , wherein the fungible commodities include electricity or oil.

7. The method of claim 1 , wherein the publishing subtracts from one of the two accounts and adds to a second of the two accounts.

8. A system for maintaining database integrity, the system comprising:

one or more hardware processors; and

at least one memory storing instructions that, when executed by at least one processor among the processors, cause the system to perform operations comprising:

receiving event data from a producer, the event data having a format different from a predefined schema;

converting the received event data to a standard set of ledger entries according to the predefined schema, the standard set of ledger entries comprising a first edge object identifying a first relationship between a first account and a second account;

publishing the converted entries to a database by grouping the first edge object with a second edge object identifying a second relationship between the first account and the second account; and

responsive to determining, based on a mismatch of a double-entry in ledger entries published to the database, that two accounts in the database do not balance out, performing a remedial action to maintain the database integrity.

9. The system of claim 8 , wherein the operations further comprise transmitting a data integrity violation alert to the producer upon determining that the accounts do not balance out.

10. The system of claim 9 , wherein the operations further comprise:

receiving a second event data from the producer in response to the data integrity violation alert; and

performing the remedial action based on the received second event data.

11. The system of claim 8 , where the remedial action comprises adjusting one of the two accounts to a zero balance if a value in the one account is less than a threshold value.

12. The system of claim 8 , wherein the event data includes a transfer of fungible commodities.

13. The system of claim 12 , wherein the fungible commodities include electricity or oil.

14. The system of claim 8 , wherein the publishing subtracts from one of the two accounts and adds to a second of the two accounts.

15. A non-transitory machine-readable medium comprising instructions which, when read by a machine, cause the machine to perform operations for maintaining database integrity, the operations comprising, at least:

receiving event data from a producer, the event data having a format different from a predefined schema;

converting the received event data to a standard set of ledger entries according to the predefined schema, the standard set of ledger entries comprising a first edge object identifying a first relationship between a first account and a second account;

publishing the converted entries to a database by grouping the first edge object with a second edge object identifying a second relationship between the first account and the second account; and

responsive to determining, based on a mismatch of a double-entry in ledger entries published to the database, that two accounts in the database do not balance out, performing a remedial action to maintain the database integrity.

16. The medium of claim 15 , wherein the operations further comprise transmitting a data integrity violation alert to the producer upon determining that the accounts do not balance out.

17. The medium of claim 16 , wherein the operations further comprise:

receiving a second event data from the producer in response to the data integrity violation alert; and

performing the remedial action based on the received second event data.

18. The medium of claim 15 , where the remedial action comprises adjusting one of the two accounts to a zero balance if a value in the one account is less than a threshold value.

19. The medium of claim 15 , wherein the event data includes a transfer of fungible commodities.

20. The medium of claim 19 , wherein the fungible commodities include electricity or oil.

21. The medium of claim 15 , wherein the publishing subtracts from one of the two accounts and adds to a second of the two accounts.

Assignments (2)
CHANGE OF NAME Recorded Jan 7, 2026
From: STRIPE, INC.
To: STRIPE, LLC
Reel/Frame 074264/0807 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 11, 2020
From: JACKSON, CARL; BAKKUM, PETER; MASOOD, USMAN
To: STRIPE, INC.
Reel/Frame 054341/0021 →