×

Conditional commit for data in a database

  • US 8,321,391 B2
  • Filed: 03/05/2009
  • Issued: 11/27/2012
  • Est. Priority Date: 03/05/2009
  • Status: Active Grant
First Claim
Patent Images

1. A system for conditionally updating a database, comprising:

  • a processor configured to;

    start a first transaction that operates on an existing first set of information from a database;

    start a second transaction that operates on the existing first set of information from the database;

    read, for the first transaction, the first set of information, A, from the database;

    read, for the second transaction, the first set of information, A, from the database;

    calculate, for the first transaction, a new value A1 based on A;

    calculate, for the first transaction, a first set of boundary conditions for the validity of the new value A1;

    in the event that a first newly read value for A satisfies the first set of boundary conditions, update for the first transaction A to A1;

    in the event that the first newly read value for A does not satisfy the first set of boundary conditions, terminate the first transaction;

    calculate, for the second transaction, a new value A2 based on A;

    calculate, for the second transaction, a second set of boundary conditions for the validity of the new value A2;

    in the event that a second newly read value for A satisfies the second set of boundary conditions, update for the second transaction A to A2;

    in the event that the second newly read value for A does not satisfy the second set of boundary conditions, terminate the second transaction,a database interface wherein the interface receives and sends information from a database to the processor, and wherein the database stores the first set information A.

View all claims
  • 6 Assignments
Timeline View
Assignment View
    ×
    ×