Transaction processing method and apparatus
First Claim
Patent Images
1. A transaction processing method for executing a series of a plurality of transactions in accordance with a workflow, comprising the steps of:
- registering compensation processing as an error recovery flow when each transaction is executed, the compensation processing executing error recovery processing when an error occurs while the transaction is executed;
registering a join process as the error recovery flow when a split process is performed in accordance with the workflow, and the split process as the error recovery flow when the join process is performed; and
executing a series of compensation processing in parallel in accordance with the registered error recovery flow, when an error occurs while any of the transaction is executed.
1 Assignment
0 Petitions
Accused Products
Abstract
In a transaction processing method for executing a series of a plurality of transactions in accordance with a workflow, compensation processing is registered as an error recovery flow when each transaction is executed, the compensation processing executing error recovery processing when an error occurs while the transaction is executed, and a series of compensation processing is executed in parallel in accordance with the registered error recovery flow when an error occurs while any of the transaction is executed.
-
Citations
9 Claims
-
1. A transaction processing method for executing a series of a plurality of transactions in accordance with a workflow, comprising the steps of:
-
registering compensation processing as an error recovery flow when each transaction is executed, the compensation processing executing error recovery processing when an error occurs while the transaction is executed;
registering a join process as the error recovery flow when a split process is performed in accordance with the workflow, and the split process as the error recovery flow when the join process is performed; and
executing a series of compensation processing in parallel in accordance with the registered error recovery flow, when an error occurs while any of the transaction is executed.
-
-
2. A transaction processing method for executing a series of a plurality of transactions in accordance with a workflow, comprising the steps of:
-
registering journal information representative of the contents of an executed transaction when the transaction is executed, said journal information including an identifier for identifying a path of the workflow and an identifier for identifying a path for split process and join process is stored when the transaction is executed; and
acquiring the journal information when an error occurs while the transaction is executed, and executing a compensation transaction in parallel, the compensation transaction executing error recovery processing in accordance with the contents of each transaction registered in the journal information, and executing the error recovery processing in parallel for each path registered in the journal information.
-
-
3. A transaction processing apparatus for executing a series of a plurality of transactions in accordance with a workflow, comprising:
-
a normal processing part for registering compensation processing as an error recovery flow when each transaction is executed, the compensation processing executing error recovery processing when an error occurs while the transaction is executed;
a join processing part for registering a join process as the error recovery flow when a split process is performed in accordance with the workflow, and the split process as the error recovery flow when the join process is performed; and
a compensation processing part for executing a series of compensation processing in parallel in accordance with the registered error recovery flow when an error occurs while any of the transaction is executed.
-
-
4. A transaction processing apparatus for executing a series of a plurality of transactions in accordance with a workflow, comprising:
-
a normal processing part for registering journal information representative of the contents of an executed transaction when the transaction is executed, said journal information including an identifier for identifying a path of the workflow and an identifier for identifying a path for split process and join process is stored when the transaction is executed; and
a compensation processing part for acquiring the journal information when an error occurs while the transaction is executed, and executing a compensation transaction in parallel, the compensation transaction executing error recovery processing in accordance the contents of each transaction registered in the journal information.
-
-
5. A medium storing a program for operating a computer as a transaction processing apparatus for executing a series of a plurality of transactions in accordance with a work flow, the medium comprising:
-
a normal processing part for registering compensation processing as an error recovery flow when each transaction is executed, the compensation processing executing error recover processing when an error occurs while the transaction is executed;
a join processing part for registering a join process as the error recovery flow when a split process is performed in accordance with the workflow and the split process as the error recovery flow when the join process is performed; and
a compensation processing part for executing a series of compensation processing in parallel in accordance with the registered error recovery flow when an error occurs while any of the transaction is executed.
-
-
6. A medium storing a program for operating a computer as a transaction processing apparatus for executing a series of a plurality of transactions in accordance with a workflow, the medium comprising:
-
a normal processing part for registering journal information representative of the contents of an executed transaction when the transaction is executed, said journal information including an identifier for identifying a path of the workflow and an identifier for identifying a path for split process and join process is stored when the transaction is executed; and
a compensation processing part for acquiring the journal information when and error occurs while the transaction is executed, and executing a compensation transaction in parallel, the compensation transaction executing error recovery processing in accordance the contents of each transaction registered in the journal information.
-
-
7. A transaction processing method for executing a series of a plurality of transactions in accordance with a workflow, comprising steps of:
-
registering journal information representative of the contents of an executed transaction when the transaction is executed, said journal information including an identifier for identifying a target destination of a message is registered when the transaction is executed; and
acquiring the journal information when an error occurs while the transaction is executed, and executing a compensation transaction in parallel, the compensation transaction executing error recovery processing in accordance the contents of each transaction registered in the journal information, and executing the error recovery processing in parallel for each target destination of each message registered in the journal information.
-
-
8. A transaction processing apparatus for executing a series of a plurality of transactions in accordance with a workflow, comprising:
-
a normal processing part for registering journal information representative of the contents of an executed transaction when the transaction is executed, said journal information including an identifier for identifying a target destination of a message is registered when the transaction is executed; and
a compensation processing part for acquiring the journal information when an error occurs while the transaction is executed, and executing a compensation transaction in parallel, the compensation transaction executing error recovery processing in accordance the contents of each transaction register in the journal information, and executing the error recovery processing in parallel for each target destination of each message registered in the journal information.
-
-
9. A medium storing a program for operating a computer as transaction processing apparatus for executing a series of a plurality of transactions in accordance with a workflow the medium comprising:
-
a normal processing part for registering journal information representative of the contents of an executed transaction when the transaction is executed, said journal information including an identifier for identifying a target destination of a message is registered when the transaction is executed; and
a compensation processing part for acquiring the journal information when an error occurs while the transaction is executed, and executing a compensation transaction in parallel, the compensation transaction executing error recovery processing in accordance the contents of each transaction registered in the journal information, and executing the error recovery processing in parallel for each target destination of each message registered in the journal information.
-
Specification