# US 2025/0094261 A1 · Intelligent error detection for asynchronous communication

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

- Number: US 2025/0094261 A1
- Document ID: US20250094261A1
- Status: Published application
- Kind: A1
- Application number: 18/470,574
- Filed: 2023-09-20
- Published: 2025-03-20
- Earliest claimed: 2023-09-20
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Vipul KHULLAR; Ayush KUMAR
- Web page: https://patentgrep.com/patent/US20250094261A1

## CPC

- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- 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/0784: {Routing of error reports, e.g. with a specific transmission path or data flow}
- G06F 40/30: Semantic analysis
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods include acquisition of an asynchronous message from a message producer, the asynchronous message associated with a message consumer, determination that the asynchronous message matches a stored message, identification, in response to determining that the asynchronous message matches a stored message, of a stored error message associated with the stored message, and return of a return message based on the stored error message to the message producer.

## Claims

### Claim 1

A system comprising:
a memory storing processor-executable program code; and
at least one processing unit to execute the processor-executable program code to cause the system to:
acquire an asynchronous message from a message producer, the asynchronous message associated with a message consumer;
determine that the asynchronous message matches a stored message;
in response to the determination that the asynchronous message matches a stored message, identify a stored error message associated with the stored message; and
return the stored error message to the message producer.

### Claim 2 (depends on 1)

A system according to claim 1, wherein the stored error message is returned to the message producer prior to transmission of the message to the message consumer.

### Claim 3 (depends on 1)

A system according to claim 1, the at least one processing unit to execute the processor-executable program code to cause the system to:
acquire a second asynchronous message from the message producer, the asynchronous message associated with a second message consumer;
determine that the second asynchronous message matches a second stored message;
in response to the determination that the second asynchronous message matches a second stored message, identify a second stored error message associated with the second stored message; and
return the second stored error message to the message producer.

### Claim 4 (depends on 1)

A system according to claim 1, the at least one processing unit to execute the processor-executable program code to cause the system to:
acquire a second asynchronous message from a second message producer, the second asynchronous message associated with the message consumer;
determine that the second asynchronous message matches a second stored message;
in response to the determination that the second asynchronous message matches a second stored message, identify a second stored error message associated with the second stored message; and
return the second stored error message to the second message producer.

### Claim 5 (depends on 1)

A system according to claim 1, the at least one processing unit to execute the processor-executable program code to cause the system to:
acquire a second asynchronous message from the message producer, the second asynchronous message associated with the message consumer;
determine that the second asynchronous message matches a second stored message;
in response to the determination that the second asynchronous message matches a second stored message, identify a second stored error message associated with the second stored message; and
return the second stored error message to the message producer.

### Claim 6 (depends on 1)

A system according to claim 1, wherein determination that the asynchronous message matches a stored message comprises:
transmission of the asynchronous message and a plurality of stored messages to a large language model.

### Claim 7 (depends on 1)

A system according to claim 1, the at least one processing unit to execute the processor-executable program code to cause the system to:
receive a plurality of asynchronous messages from the message producer;
generate an embedding based on each of the plurality of asynchronous messages;
determine a cluster associated with each generated embedding; and
generate a plurality of mock messages for each of the clusters,
wherein the determination that the asynchronous message matches a stored message comprises comparing the asynchronous message with the plurality of mock messages for each of the clusters to identify a matching mock message.

### Claim 8 (depends on 7)

A system according to claim 7, the at least one processing unit to execute the processor-executable program code to cause the system to:
transmit the plurality of mock messages for each of the clusters to one or more message consumers; and
receive a plurality of error messages from the one or more message consumers in response to the plurality of mock messages,
wherein identification of the stored error message comprises identifying one of the plurality of error messages associated with the matching mock message.

### Claim 9

A computer-implemented method comprising:
acquiring an asynchronous message from a message producer, the asynchronous message associated with a message consumer;
determining that the asynchronous message matches a stored message;
in response to determining that the asynchronous message matches a stored message, identifying a stored error message associated with the stored message; and
returning a return message based on the stored error message to the message producer.

### Claim 10 (depends on 9)

A method according to claim 9, wherein the return message is returned to the message producer prior to transmission of the message to the message consumer.

### Claim 11 (depends on 9)

A method according to claim 9, wherein determining that the asynchronous message matches a stored message comprises:
transmitting the asynchronous message and a plurality of stored messages to a large language model.

### Claim 12 (depends on 9)

A method according to claim 9, further comprising:
receiving a plurality of asynchronous messages from the message producer;
generating an embedding based on each of the plurality of asynchronous messages using a trained neural network;
determining a cluster associated with each generated embedding; and
generating a plurality of mock messages for each of the clusters using a first large language model,
wherein determining that the asynchronous message matches a stored message comprises comparing the asynchronous message with the plurality of mock messages for each of the clusters to identify a matching mock message.

### Claim 13 (depends on 12)

A method according to claim 12, further comprising:
transmitting the plurality of mock messages for each of the clusters to one or more message consumers; and
receiving a plurality of error messages from the one or more message consumers in response to the plurality of mock messages,
wherein identifying the stored error message comprises identifying one of the plurality of error messages associated with the matching mock message.

### Claim 14 (depends on 13)

A method according to claim 13, wherein determining that the asynchronous message matches a stored message comprises:
transmitting the asynchronous message and a plurality of stored messages to the first large language model.

### Claim 15

A computer-readable medium storing processor-executable program code, the program code executable by a computing system to:
acquire an asynchronous message from a message producer, the asynchronous message associated with a message consumer;
determine that the asynchronous message matches a stored message;
in response to determining that the asynchronous message matches a stored message, identify a stored error message associated with the stored message; and
returning a return message based on the stored error message to the message producer.

### Claim 16 (depends on 15)

A medium according to claim 15, wherein the return message is returned to the message producer prior to transmission of the message to the message consumer.

### Claim 17 (depends on 15)

A medium according to claim 15, wherein determination that the asynchronous message matches a stored message comprises:
transmission of the asynchronous message and a plurality of stored messages to a large language model.

### Claim 18 (depends on 15)

A medium according to claim 15, the program code executable by a computing system to:
receive a plurality of asynchronous messages from the message producer;
generate an embedding based on each of the plurality of asynchronous messages using a trained neural network;
determine a cluster associated with each generated embedding; and
generate a plurality of mock messages for each of the clusters using a first large language model,
wherein determination that the asynchronous message matches a stored message comprises comparison of the asynchronous message with the plurality of mock messages for each of the clusters to identify a matching mock message.

### Claim 19 (depends on 18)

A medium according to claim 18, the program code executable by a computing system to:
transmit the plurality of mock messages for each of the clusters to one or more message consumers; and
receive a plurality of error messages from the one or more message consumers in response to the plurality of mock messages,
wherein identification of the stored error message comprises identification of one of the plurality of error messages associated with the matching mock message.

### Claim 20 (depends on 19)

A medium according to claim 19, wherein determination that the asynchronous message matches a stored message comprises:
transmission of the asynchronous message and a plurality of stored messages to the first large language model.
