Patent ID: 8321391

Claim:
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 A 1 based on A; calculate, for the first transaction, a first set of boundary conditions for the validity of the new value A 1 ; 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 A 1 ; 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 A 2 based on A; calculate, for the second transaction, a second set of boundary conditions for the validity of the new value A 2 ; 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 A 2 ; 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.