# US 2013/0160022 A1 · Transaction manager for negotiating large transactions

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0160022 A1
- Document ID: US20130160022A1
- Status: Published application
- Kind: A1
- Application number: 13/329,382
- Filed: 2011-12-19
- Published: 2013-06-20
- Earliest claimed: 2011-12-19
- Assignees: International Business Machines Corporation
- Inventors: Jeffrey Blight; Patrick Dantressangle; Andrew J. Osborne
- Web page: https://patentgrep.com/patent/US20130160022A1

## CPC

- G06F 9/466: {Transaction processing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer receives a transaction request that includes information identifying computer resource requirements for the transaction, a resource policy, and a transaction failure policy. The computer determines if sufficient computer resources are available to complete the transaction request based on the received information identifying resource requirements for the transaction. If there are not sufficient computer resources available to complete the transaction request, the computer applies the resource policy to the transaction request and processes the transaction request. If the processed transaction request fails to complete successfully, the computer applies the transaction failure policy to the processed transaction request.

## Claims

### Claim 1

A method for handling transactions in a transaction processing system, the method comprising the steps of:
a computer receiving a transaction request that includes information identifying computer resource requirements for the transaction, a resource policy, and a transaction failure policy;
the computer determining if sufficient computer resources are available to complete the transaction request based on the received information identifying computer resource requirements for the transaction request;
in response to determining that sufficient computer resources are not available to complete the transaction request, the computer applying the resource policy to the transaction request and processing the transaction request;
the computer determining if the processed transaction request failed to complete successfully; and
in response to determining that the processed transaction request failed to complete successfully, the computer applying the transaction failure policy to the processed transaction request.

### Claim 2 (depends on 1)

A method in accordance with claim 1, wherein the step of applying the resource policy comprises at least one of:
the computer cancelling the transaction request and reporting a transaction failure;
the computer processing the transaction request regardless of whether the computer has determined that there are insufficient computer resources available to complete the transaction request; and
the computer dividing the transaction request into a plurality of transaction requests, and processing each of the plurality of transaction requests.

### Claim 3 (depends on 1)

A method in accordance with claim 1, the transaction including a plurality of transaction input records, the transaction input records processed serially, wherein the step of applying the transaction failure policy comprises at least one of:
the computer backing out of the database all database changes caused by processing a failed transaction request;
the computer updating the database with database changes caused by serially processing the plurality of transaction input records until the transaction request fails; and
the computer updating the database with database changes caused by serially processing the plurality of transaction input records until the transaction fails, and continuing to serially process the plurality of transaction input records and update the database with database changes caused by serially processing the plurality of transaction input records.

### Claim 4

A computer program product for handling transactions in a transaction processing system, the computer program product comprising:
one or more computer-readable storage devices and program instructions stored on at least one of the one or more tangible storage devices, the program instructions comprising:
program instructions to receive a transaction request that includes information identifying computer resource requirements for the transaction, a resource policy, and a transaction failure policy;
program instructions to determine if sufficient computer resources are available to complete the requested request based on the received information identifying computer resource requirements for the transaction request;
program instructions, in response to determining that sufficient computer resources are not available to complete the transaction request, to apply the resource policy to the transaction request and processing the transaction request;
program instructions to determine if the processed transaction request failed to complete successfully; and
program instructions, in response to determining that the processed transaction request failed to complete successfully, to apply the transaction failure policy to the processed transaction request.

### Claim 5 (depends on 4)

A computer program product in accordance with claim 4, wherein the program instructions to apply the resource policy comprises at least one of:
program instructions to cancel the transaction request and to report a transaction failure;
program instructions to process the transaction request regardless of whether the computer has determined that there are insufficient computer resources available to complete the transaction request; and
program instructions to divide the transaction request into a plurality of transaction requests, and process each of the plurality of transaction requests.

### Claim 6 (depends on 4)

A computer program product in accordance with claim 4, the large transaction including a plurality of transaction input records, the transaction input records being processed serially, wherein the program instructions to apply the transaction failure policy comprises at least one of:
program instructions to back out of the database all database changes caused by processing a failed transaction request;
program instructions to update the database with database changes caused by serially processing the plurality of transaction input records until the transaction request fails; and
program instructions to update the database with database changes caused by serially processing the plurality of transaction input records until the transaction fails, and continuing to serially process the plurality of transaction input records and update the database with database changes caused by serially processing the plurality of transaction input records.

### Claim 7

A computer system to handle transactions in a transaction processing system, the computer system comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, the program instructions comprising:
program instructions to receive a transaction request that includes information identifying computer resource requirements for the transaction, a resource policy, and a transaction failure policy;
program instructions to determine if sufficient computer resources are available to complete the transaction request based on the received information identifying resource requirements for the transaction request;
program instructions, in response to determining that sufficient computer resources are not available to complete the transaction request, to apply the resource policy to the transaction request and processing the transaction request;
program instructions to determine if the processed transaction request failed to complete successfully; and
program instructions, in response to determining that the processed transaction request failed to complete successfully, to apply the transaction failure policy to the processed transaction request.

### Claim 8 (depends on 7)

A computer system in accordance with claim 7, wherein the program instructions to apply the resource policy comprises at least one of:
program instructions to cancel the transaction request and to report a transaction failure;
program instructions to process the transaction request regardless of whether the computer has determined that there are insufficient computer resources available to complete the transaction request; and
program instructions to divide the transaction request into a plurality of transaction requests, and process each of the plurality of transaction requests.

### Claim 9 (depends on 7)

A computer system in accordance with claim 7, the transaction including a plurality of transaction input records, the transaction input records processed serially, wherein the program instructions to apply the transaction failure policy comprises at least one of:
program instructions to back out of the database all database changes caused by processing a failed transaction request;
program instructions to update the database with database changes caused by serially processing the plurality of transaction input records until the transaction request fails; and
program instructions to update the database with database changes caused by serially processing the plurality of transaction input records until the transaction request fails, and continuing to serially process the plurality of transaction input records and update the database with database changes caused by serially processing the plurality of transaction input records.
