Method and apparatus for preventing duplicate transactions on batch mode failure recovery in a data processing system
AssigneeInternational Business Machines Corporation
InventorsDaniel Michael Dorrance, Jerry Walter Malcolm
Life of this patent
Estimating the term…
Abstract
A method and apparatus for processing electronic transactions. A batch request is received, wherein the batch request includes a plurality of electronic transactions. A determination is then made as to whether the batch request has been processed. Responsive to a determination that a portion of the batch request has been processed, the plurality of electronic transactions is sent for processing. Responsive to a determination that a portion of the batch request has been processed, a signal is sent indicating a check for duplicate electronic transactions should be made with respect to the plurality of electronic transactions.
Claims19
A method for processing electronic transactions, the method comprising the computer implemented steps of:
- receiving a batch request, wherein the batch request includes a plurality of electronic transactions;
- determining whether the batch request has been processed;
- responsive to a determination that a portion of the batch request has been processed, sending the plurality of electronic transactions for processing;
- and
- responsive to a determination that a portion of the batch request has been processed, sending a signal indicating a check for duplicate electronic transactions should be made with respect to the plurality of electronic transactions.
A data processing system comprising:
- a conversion module having a plurality of modes of operation including:
- a first mode of operation in which the conversion module receives a batch request from a client;
- a second mode of operation, responsive to receiving the batch request, in which the conversion module identifies a state of processing for the batch request;
- a third mode of operation, responsive to receiving the batch request, in which the conversion module converts the batch request into a set of individual requests and sends set of individual requests for processing;
- a fourth mode of operation, responsive to the state indicating that processing of the batch request is incomplete, in which the conversion module sends a first signal;
- and
- a transaction processing module, wherein the transaction processing module having a plurality of mode of operation including:
- a first mode of operation in which the transaction processing module monitors for individual requests;
- a second mode of operation, response to detecting an individual request, in which the transaction processing module processes the individual request and returns a response to the conversion module;
- and
- a third mode of operation, responsive to detecting the individual request and the first signal, in which the transaction processing module checks the individual request to determine whether the individual request is a duplicate request.
A data processing system for processing electronic transactions, the data processing system comprising:
- receiving means for receiving a batch request, wherein the batch request includes a plurality of electronic transactions;
- determining means for determining whether the batch request has been processed;
- first sending means, responsive to a determination that a portion of the batch request has been processed, for sending the plurality of electronic transactions for processing;
- and
- second sending means, responsive to a determination that a portion of the batch request has been processed, for sending a signal indicating a check for duplicate electronic transactions should be made with respect to the plurality of electronic transactions.
A computer program product in a computer readable medium for processing electronic transactions, the computer program product comprising:
- first instructions for receiving a batch request, wherein the batch request includes a plurality of electronic transactions;
- second instructions for determining whether the batch request has been processed;
- third instructions, responsive to a determination that a portion of the batch request has been processed, for sending the plurality of electronic transactions for processing;
- and
- fourth instructions, responsive to a determination that a portion of the batch request has been processed, for sending a signal indicating a check for duplicate electronic transactions should be made with respect to the plurality of electronic transactions.
Dependencies are inferred from the claim text.