Simplifying movement of data to different desired storage portions depending on the state of the corresponding transaction
First Claim
1. A method to simplify a programmer'"'"'s task of maintaining data in a plurality of databases depending on the state of the corresponding transaction, wherein each database is designed to facilitate structured queries and storage, said method comprising:
- storing data related to a first transaction in a first database;
receiving a configuration data indicating one or more actions associated with each of a plurality of states of said first transaction, wherein said plurality of states includes a new state and wherein a set of actions associated with said new state indicates a move action of said data related to said first transaction to a second database, wherein said first database and said second database are contained in said plurality of databases;
receiving a database query indicating said new state of said first transaction;
determining said move action corresponding to said new state in said database query by examining said configuration data;
forming a first query directed to said first database and a second query directed to said second database based on said determining; and
executing said first query and said second query to move said data from said first database to said second database in response to said determining of said move action,wherein said determining, said forming and said executing are performed in response to said receiving of said database query.
1 Assignment
0 Petitions
Accused Products
Abstract
A user may merely need to specify various states of transactions and actions to be performed upon reaching a state for the corresponding transaction, and a front end block may automatically perform an action when the corresponding state is reached. Each action may indicate any necessary movement of data to a new storage portion. As a result, a programmer can be shielded from various details (e.g., which database to store the data in, data format conversions) in (developing the code for) processing the transactions.
-
Citations
20 Claims
-
1. A method to simplify a programmer'"'"'s task of maintaining data in a plurality of databases depending on the state of the corresponding transaction, wherein each database is designed to facilitate structured queries and storage, said method comprising:
-
storing data related to a first transaction in a first database; receiving a configuration data indicating one or more actions associated with each of a plurality of states of said first transaction, wherein said plurality of states includes a new state and wherein a set of actions associated with said new state indicates a move action of said data related to said first transaction to a second database, wherein said first database and said second database are contained in said plurality of databases; receiving a database query indicating said new state of said first transaction; determining said move action corresponding to said new state in said database query by examining said configuration data; forming a first query directed to said first database and a second query directed to said second database based on said determining; and executing said first query and said second query to move said data from said first database to said second database in response to said determining of said move action, wherein said determining, said forming and said executing are performed in response to said receiving of said database query. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer readable storage medium carrying one or more sequences of instructions causing a digital processing system to simplify a programmer'"'"'s task of maintaining data in a plurality of databases, wherein each database is designed to facilitate structured queries and storage, wherein execution of said one or more sequences of instructions by one or more processors contained in said digital processing system causes said digital processing system to perform the actions of:
-
storing data related to a first transaction in a first database, said first transaction having one of a plurality of states, and wherein said data is stored in said first database when said first transaction is in a first state; receiving a configuration data indicating one or more actions associated with each of said plurality of states of said first transaction, wherein said plurality of states includes a new state and wherein a set of actions associated with said new state indicates a store action of new data related to said first transaction in a second database, wherein said first database and said second database are contained in said plurality of databases; receiving a database query indicating said new state of said first transaction and a corresponding new data; determining said store action corresponding to said new state in said database query by examining said configuration data; forming a first query directed to said second database based on said determining; and executing said first query to store said new data in said second database, wherein said determining, said forming and said executing are performed in response to said receiving of said database query. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. An apparatus to simplify a programmer'"'"'s task of maintaining data in a plurality of databases depending on the state of the corresponding transaction, wherein each database is designed to facilitate structured queries and storage, said apparatus comprising:
-
means for storing data related to a first transaction in a first database, said first transaction having one of a plurality of states, and wherein said data is stored in said first database when said first transaction is in a first state; means for receiving a configuration data indicating one or more actions associated with each of said plurality of states of said first transaction, wherein said plurality of states includes a new state and wherein a set of actions associated with said new state indicates a store action of new data related to said first transaction in a second database, wherein said first database and said second database are contained in said plurality of databases; means for receiving a database query indicating said new state of said first transaction and a corresponding new data; means for determining said store action corresponding to said new state in said database query by examining said configuration data; means for forming a first query directed to said second database based on said determining; and means for executing said first query to store said data in said second database, wherein said determining, said forming and said executing are performed in response to said receiving of said database query. - View Dependent Claims (16)
-
-
17. A computer implemented method to simplify maintenance of data in a plurality of databases depending on the state of the corresponding transaction, wherein each database is designed to facilitate storage in the form of tables and queries using a structured query language (SQL), said method comprising:
-
storing data related to a first transaction in a first database, said first transaction having one of a plurality of states, and wherein said data is stored in said first database when said first transaction is in a first state; receiving a configuration data specifying a corresponding target database to store said data related to the transaction for each of said plurality of states; receiving a database query indicating a new state of said first transaction and a corresponding new data, said database query not indicating a database to which said database query is directed; determining a first target database corresponding to said new state by examining said configuration data, wherein said first database and said first target database are contained in said plurality of databases; forming a first query directed to said first target database, wherein said first query is generated by incorporating said first target database in said database query; executing said first query to store said new data related to said first transaction in said first target database, wherein said database query and said first query are according to said SQL, wherein said determining, said forming and said executing are performed in response to said receiving of said database query. - View Dependent Claims (18, 19, 20)
-
Specification