Asynchronous Message Error Detection With Broker Feedback

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems face difficulties in efficiently detecting and recovering from errors in asynchronous communication scenarios due to the decoupling of producers and consumers in event-driven architectures, where real-time error propagation is challenging.

Innovation Solution

A system is implemented that automatically identifies error messages in asynchronous communication by comparing messages against a message repository, using embeddings and unsupervised learning to cluster messages, and generates mock messages with a Large Language Model (LLM) to simulate error scenarios, allowing error messages to be returned to the producer for handling.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If asynchronous communication is used to decouple services, then system reliability and tolerance to failures are improved, but error detection and recovery become difficult

Engineering Contradiction:
Improvetolerance to failuresVSAvoiderror detection difficulty
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent introduces a message broker as an intermediary component that sits between producers and consumers in the asynchronous communication system. The broker is responsible for routing messages, managing message queues, and providing error detection capabilities. This intermediary allows the system to maintain the decoupling benefits while adding error detection functionality without requiring direct communication between producers and consumers.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent implements feedback mechanisms where the message broker monitors message processing status and provides error information back to producers. Error messages are propagated through the broker, which maintains mapping information between consumers and producers. This feedback loop enables error detection and recovery while preserving the asynchronous decoupled architecture.

Inventive Principle:
Principle #23Feedback

2Difficulty of detecting and measuring

If producer information is inserted in each message for error propagation, then error detection capability is improved, but message complexity and handling burden increase

Engineering Contradiction:
Improveerror detection capabilityVSAvoidmessage complexity
Core Design Contradiction:
Difficulty of detecting and measuringVSDevice complexity

Solution Approach 1:

The message broker serves multiple functions: it routes messages between producers and consumers, manages message queues, provides error detection, and handles error propagation. By consolidating these diverse functions in a single intermediary component, the system avoids increasing message complexity while maintaining comprehensive error detection capabilities.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent extracts error detection and propagation logic from the producer and consumer components and places it in the message broker. This separation allows producers and consumers to focus on their core functions without handling error propagation complexity, while the broker专门 handles error detection using its stored mapping information.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If consumers and producers handle communication scenarios for error propagation, then error recovery is improved, but core function performance deteriorates

Engineering Contradiction:
Improveerror recoveryVSAvoidcore function performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The message broker provides self-service error detection and propagation capabilities using its internally stored mapping information. The broker independently handles error detection and routing without requiring producers or consumers to implement error handling logic, allowing them to maintain optimal performance for their core production and consumption functions.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The broker acts as a mediator that handles all error propagation responsibilities, shielding producers and consumers from error handling complexity. This intermediary approach allows error recovery functionality to be implemented without burdening the core producer and consumer components, preserving their performance.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12430194B2Intelligent error detection for asynchronous communication
Publication Date: 2025.09.30 SAP SE
  • US12430194B2 patent drawing
  • US12430194B2 patent drawing
  • US12430194B2 patent drawing

AI summary

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.