Early-Arrived-Message Map for Correlation Matching
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In enterprise service bus (ESB) and business process management, there is a challenge in accurately determining the correlation of messages received before a listener is registered, leading to potential errors or message loss due to the lack of correlation matching.
Innovation Solution
A computer program and computing device implementation that performs correlation matching for early-arrived-messages by transmitting message requests, registering listeners, and using an early-arrived-message map to match listeners with messages, allowing processes to proceed even when messages are received before listener registration.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If correlation matching is performed only after listener registration, then the system structure remains simple, but early-arrived-messages cannot be properly matched leading to process errors
Solution Approach 1:
The patent stores early-arrived-messages in a map structure before the listener is registered, performing preliminary storage action. When the listener is subsequently registered, the system checks for stored messages and performs correlation matching. This preliminary storage action ensures no messages are lost while maintaining a relatively simple system structure.
Solution Approach 2:
The patent introduces an early-arrived-message map as an intermediary storage mechanism between message reception and listener registration. This intermediary structure temporarily holds messages that arrive before their corresponding listeners are registered, enabling reliable correlation matching without requiring complex real-time coordination mechanisms.
2Productivity
If the system waits for listener registration before processing messages, then resource usage is optimized, but process execution time increases due to message queuing
Solution Approach 1:
The patent enables continuous process execution by decoupling message reception from listener registration timing. Messages are stored in the early-arrived-message map and processed as soon as the corresponding listener is registered, eliminating idle waiting time and ensuring continuous useful action without resource waste.
Solution Approach 2:
By performing preliminary storage of early-arrived-messages in the map structure, the system prepares messages for immediate processing upon listener registration. This preliminary action eliminates the need for message retransmission or process restart, reducing overall execution time.
3Reliability
If early-arrived-messages are stored in memory, then correlation matching can be performed, but memory consumption increases
Solution Approach 1:
The patent stores only the essential correlation information (message IDs and correlation data) in the early-arrived-message map rather than complete message contents. This partial storage approach provides sufficient information for correlation matching while minimizing memory consumption.
Solution Approach 2:
The system stores messages temporarily in the early-arrived-message map only until their corresponding listeners are registered and correlation matching is completed. Once matched, the stored message data can be discarded, ensuring memory is not consumed indefinitely while maintaining reliable correlation matching during the brief storage period.
Data Source
AI summary
Disclosed is a computer program stored in a computer-readable medium performing correlation matching for an early-arrived-message. The computer program allows a computer to perform the following steps and the steps include transmitting a message; registering a listener; determining whether an early-arrived-message is present by checking an early-arrived-message map; and performing correlation matching of the listener and the message when the early-arrived-message is present, in which the listener performs correlation matching with the message and when the correlation matching is performed, the listener permits a process based on the message to be performed.


