# US 10,956,203 B2 · Quality assurance for a context driven hybrid transaction processing system

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

- Number: US 10,956,203 B2
- Document ID: US10956203B2
- Status: Granted
- Kind: B2
- Application number: 16/369,061
- Filed: 2019-03-29
- Published: 2020-10-01
- Granted: 2021-03-23
- Earliest claimed: 2019-03-29
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Sakthimurugan Arumugam; Harshavardhana M. P; Jithesh Moothoor; Hariharan Venkitachalam
- Web page: https://patentgrep.com/patent/US10956203B2

## CPC

- G06F 9/466: {Transaction processing}
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 9/546: {Message passing systems or structures, e.g. queues}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06Q 20/108: {Remote banking, e.g. home banking}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

A two-phase commit online transaction processing system injects a set of test cases into a logical unit of work (LUW) associated with a transaction. Performance of the test cases, by respective transaction process monitors (TPMs), serves to predict the outcome of the LUW processes, before the TPMs vote with respect to committing or rolling back the transaction. The system contributes to improved transaction process quality assurance by detecting potential problems before the LUW is committed.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving, from a client application, a first request to perform an online transaction, wherein the first request comprises a logical unit of work, and a transaction identifier;
in response to receiving the first request, sending a second request, to a test center, for a test case based on the transaction identifier;
receiving, from the test center, the test case;
in response to receiving the test case, injecting the test case into the logical unit of work to generate an injected logical unit of work;
sending the injected logical unit of work to a transaction participant;
receiving, from the transaction participant, a first message, wherein the first message indicates a successful test;
in response to receiving the first message, sending to the transaction participant, a second message comprising a first command to perform the online transaction;
receiving, from the transaction participant, a third message wherein the third message indicates that the online transaction was performed successfully; and
in response to receiving the third message, sending to the transaction participant, a fourth message comprising a second command to commit the online transaction.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving, from the transaction participant, a fifth message wherein the fifth message indicates the second command to commit the online transaction has been successfully completed.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
in response to receiving the fifth message, sending a sixth message to the client application, indicating that the online transaction has been successfully completed;
wherein the sending and receiving respectively to and from the transaction participant, are performed in conformance with a two-phase commit protocol.

### Claim 4 (depends on 1)

The method of claim 1, wherein requesting the test case further comprises:
instantiating an extended architecture process that conforms to an X/Open Distributed Transaction Processing Standard;
marshalling at least the transaction identifier together with the logical unit of work to generate a logical unit of work dataset; and
sending, to the test center, a test case request comprising the logical unit of work dataset.

### Claim 5 (depends on 1)

The method of claim 1, wherein sending the injected logical unit of work to the transaction participant comprises:
instantiating an extended architecture process that conforms to an X/Open Distributed Transaction Processing Standard;
marshalling at least the transaction identifier together with the logical unit of work to generate a logical unit of work dataset; and
sending the logical unit of work dataset to the transaction participant via a two-phase commit protocol process.

### Claim 6

A computer program product comprising a computer readable storage medium having stored thereon program instructions programmed to perform:
receiving, from a client application, a first request to perform an online transaction, wherein the first request comprises a logical unit of work, and a transaction identifier;
in response to receiving the first request, sending a second request, to a test center, for a test case based on the transaction identifier;
receiving, from the test center, the test case;
in response to receiving the test case, injecting the test case into the logical unit of work to generate an injected logical unit of work;
sending the injected logical unit of work to a transaction participant;
receiving, from the transaction participant, a first message, wherein the first message indicates a successful test;
in response to receiving the first message, sending to the transaction participant, a second message comprising a first command to perform the online transaction;
receiving, from the transaction participant, a third message wherein the third message indicates that the online transaction was performed successfully; and
in response to receiving the third message, sending to the transaction participant, a fourth message comprising a second command to commit the online transaction.

### Claim 7 (depends on 6)

The computer program product of claim 6, further comprising program instructions programmed to perform:
receiving, from the transaction participant, a fifth message wherein the fifth message indicates the second command to commit the online transaction has been successfully completed.

### Claim 8 (depends on 7)

The computer program product of claim 7, further comprising program instructions programmed to perform:
in response to receiving the fifth message, sending a sixth message to the client application, indicating that the online transaction has been successfully completed;
wherein the sending and receiving respectively to and from the transaction participant, are performed in conformance with a two-phase commit protocol.

### Claim 9 (depends on 6)

The computer program product of claim 6, wherein program instructions programmed to perform requesting the test case further comprises program instructions programmed to perform:
instantiating an extended architecture process that conforms to an X/Open Distributed Transaction Processing Standard;
marshalling at least the transaction identifier together with the logical unit of work to generate a logical unit of work dataset; and
sending, to the test center, a test case request comprising the logical unit of work dataset.

### Claim 10 (depends on 6)

The computer program product of claim 6, wherein program instructions programmed to perform sending the injected logical unit of work to the transaction participant comprises program instructions programmed to perform:
instantiating an extended architecture process that conforms to an X/Open Distributed Transaction Processing Standard;
marshalling at least the transaction identifier together with the logical unit of work to generate a logical unit of work dataset; and
sending the logical unit of work dataset to the transaction participant via a two-phase commit protocol process.

### Claim 11

A computer system comprising:
a processor set; and
a computer readable storage medium;
wherein:
the processor set is structured, located, connected and/or programmed to run program instructions stored on the computer readable storage medium; and
the program instructions include instructions programmed to perform:
receiving, from a client application, a first request to perform an online transaction, wherein the first request comprises a logical unit of work, and a transaction identifier;
in response to receiving the first request, sending a second request, to a test center, for a test case based on the transaction identifier;
receiving, from the test center, the test case;
in response to receiving the test case, injecting the test case into the logical unit of work to generate an injected logical unit of work;
sending the injected logical unit of work to a transaction participant;
receiving, from the transaction participant, a first message, wherein the first message indicates a successful test;
in response to receiving the first message, sending to the transaction participant, a second message comprising a first command to perform the online transaction;
receiving, from the transaction participant, a third message wherein the third message indicated that the online transaction was performed successfully; and
in response to receiving the third message, sending to the transaction participant, a fourth message comprising a second command to commit the online transaction.

### Claim 12 (depends on 11)

The computer system of claim 11, further comprising program instructions programmed to perform:
receiving, from the transaction participant, a fifth message wherein the fifth message indicates the second command to commit the online transaction has been successfully completed; and
in response to receiving the fifth message, sending a sixth message to the client application, indicating that the online transaction has been successfully completed;
wherein the sending and receiving respectively to and from the transaction participant, are performed in conformance with a two-phase commit protocol.

### Claim 13 (depends on 11)

The computer system of claim 11, wherein program instructions programmed to perform requesting the test case further comprises program instructions programmed to perform:
instantiating an extended architecture process that conforms to an X/Open Distributed Transaction Processing Standard;
marshalling at least the transaction identifier together with the logical unit of work to generate a logical unit of work dataset; and
sending, to the test center, a test case request comprising the logical unit of work dataset.

### Claim 14 (depends on 11)

The computer system of claim 11, wherein program instructions programmed to perform sending the injected logical unit of work to the transaction participant comprises program instructions programmed to perform:
instantiating an extended architecture process that conforms to an X/Open Distributed Transaction Processing Standard;
marshalling at least the transaction identifier together with the logical unit of work to generate a logical unit of work dataset; and
sending the logical unit of work dataset to the transaction participant via a two-phase commit protocol process.
