# US 2019/0171512 A1 · Error handling

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

- Number: US 2019/0171512 A1
- Document ID: US20190171512A1
- Status: Published application
- Kind: A1
- Application number: 15/830,102
- Filed: 2017-12-04
- Published: 2019-06-06
- Earliest claimed: 2017-12-04
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Brian M. Petrini; Kim Julian Clark; Olaf Hahnl
- Web page: https://patentgrep.com/patent/US20190171512A1

## CPC

- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/0709: {in a distributed system consisting of a plurality of standalone computer nodes, e.g. clusters, client-server systems}
- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 11/079: {Root cause analysis, i.e. error or fault diagnosis (in a hardware test environment G06F11/22; in a software test environment G06F11/36)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, computer program product, and error component is provided, which may include receiving a request for a service of the provider, from the requester, determining a requirement of the request, and identifying, by the processor, a handling algorithm for handling errors based on the requirement of the request and a characteristic of the service provider

## Claims

### Claim 1

A method for error handling between a requester and provider comprising:
receiving, by a processor of a computing system, a request for a service of the provider, from the requester;
determining, by the processor, a requirement of the request; and
identifying, by the processor, a handling algorithm for handling errors based on the requirement of the request and a characteristic of the service provider.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
invoking, by the processor, the request at the provider in accordance with the handling algorithm.

### Claim 3 (depends on 1)

The method of claim 1, wherein the requirement of the request relates to at least one of:
an acceptability of duplicates;
a confirmation required by the requester;
a response time;
a throughput; and
a transactional participation.

### Claim 4 (depends on 1)

The method of claim 1, wherein the characteristic of the provider relates to at least one of:
an interface of the provider;
a communication protocol of the provider;
availability of a check test;
a response time;
a throughput;
an interaction method of the provider;
an idempotent capability of the provider;
a synchronous or asynchronous nature of the provider;
one or more error types;
transaction support; and
a behavioral trait of the provider.

### Claim 5 (depends on 1)

The method of claim 1, wherein identifying comprises:
selecting, by the processor, the handling algorithm from a plurality of algorithms based on the requirement of the request and the characteristic of the provider.

### Claim 6 (depends on 5)

The method of claim 5, wherein selecting the handling algorithm comprises selecting the handling algorithm based on whether the requirement of the request or the characteristic of the provider relates to a predetermined communication protocol.

### Claim 7 (depends on 5)

The method of claim 5, wherein the step of identifying a handling algorithm comprises selecting the handling algorithm according to a best-fit assessment.

### Claim 8 (depends on 1)

The method of claim 1, wherein the handling algorithm is configured to assure delivery of the request to the provider, and wherein the handling algorithm is configured to implement at least one of: a retry procedure; a defer procedure; a comparison; and a merge procedure so as to assure delivery of the request to the provider.

### Claim 9 (depends on 1)

The method of claim 1, further comprising the step of:
determining, by the processor, a characteristic of the provider, and wherein determining the characteristic of the provider comprises obtaining information relating to one or more characteristics of the provider from a data repository.

### Claim 10

A computer program product for error handling between a requester and provider, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processing unit to cause the processing unit to perform a method comprising:
receiving, by a processor of a computing system, a request for a service of the provider, from the requester;
determining, by the processor, a requirement of the request; and
identifying, by the processor, a handling algorithm for handling errors based on the requirement of the request and a characteristic of the service provider.

### Claim 11 (depends on 10)

A data processing system comprising at least one processor and the computer program product of claim 10, wherein the at least one processor is configured to execute the computer program code of the computer program product.

### Claim 12 (depends on 11)

The data processing system of claim 11, wherein the data processing system is configured to act as a message broker between a message producer and a message consumer.

### Claim 13 (depends on 11)

The data processing system of claim 11, wherein the data processing system is configured to implement a part of a service-oriented architecture.

### Claim 14

An error handling component for error handling between a requester and provider, the component comprising:
an input interface configured to receive, from the requester, a request for a service of the provider;
an analysis component configured to determine a requirement of the request; and
an algorithm component configured to determine a handling algorithm for handling errors based on the requirement of the request and a characteristic of the provider.

### Claim 15 (depends on 14)

The error handling component of claim 14, further comprising:
an execution component configured to invoke the request at the provider in accordance with the handling algorithm.

### Claim 16 (depends on 14)

The error handling component of claim 14, wherein the requirement of the request relates to at least one of:
an acceptability of duplicates;
a confirmation required by the requester;
a response time;
a throughput; and
a transactional participation.

### Claim 17 (depends on 14)

The error handling component of claim 14, wherein the characteristic of the provider relates to at least one of:
an interface of the provider;
a communication protocol of the provider;
availability of a check test;
a response time;
a throughput;
an interaction method of the provider;
an idempotent capability of the provider;
a synchronous or asynchronous nature of the provider;
one or more error types;
transaction support; and
a behavioral trait of the provider.

### Claim 18 (depends on 14)

The error handling component of claim 14, wherein the algorithm component is configured to select the handling algorithm from a plurality of algorithms based on the requirement of the request and the characteristic of the provider.

### Claim 19 (depends on 18)

The error handling component of claim 18, wherein the algorithm component is configured to select the handling algorithm based on whether the requirement of the request or the characteristic of the provider relates to a predetermined communication protocol.

### Claim 20 (depends on 18)

The error handling component of claim 18, wherein the algorithm component is configured to select the handling algorithm according to a best-fit assessment.

### Claim 21 (depends on 14)

The error handling component of claim 14, wherein the analysis component is configured to determine a characteristic of the provider, and wherein the analysis component is configured to obtain information relating to one or more characteristics of the provider from a data repository.

### Claim 22 (depends on 14)

The error handling component of claim 14, wherein the handling algorithm is configured to assure delivery of the request to the provider, and wherein the handling algorithm is configured to implement at least one of: a retry procedure; a defer procedure; a comparison; and a merge procedure so as to assure delivery of the request to the provider.
