Message Dispatch Engine Readiness Locking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In continuous message processing systems, message processing components face challenges in handling incoming messages at any time, leading to potential message loss and increased complexity in ensuring service readiness.

Innovation Solution

A message dispatch engine that only dispatches messages from the incoming queue when the destination service component has indicated readiness, and locks messages until the service component is ready, allowing service components to handle messages only when they are prepared.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the service component continuously handles incoming messages at any time, then message processing reliability is improved, but the complexity of ensuring service readiness increases

Engineering Contradiction:
Improvemessage processing reliabilityVSAvoidservice readiness complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces a message dispatch engine as an intermediary component between the message queue and the service component. This mediator manages message routing and service readiness coordination, eliminating the need for the service component to directly handle message arrival complexity while ensuring reliable message processing.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The service component pre-registers its readiness states and message handling capabilities with the message dispatch engine before messages arrive. This preliminary action allows the dispatch engine to proactively route messages to ready services, eliminating the need for continuous readiness checks and reducing service component complexity.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If the service component handles any type of message at any time, then message processing continuity is improved, but the difficulty of authoring service components increases

Engineering Contradiction:
Improvemessage processing continuityVSAvoidservice component authoring ease
Core Design Contradiction:
ProductivityVSEase of manufacture

Solution Approach 1:

The patent segments message handling into distinct phases: message registration, readiness declaration, and message processing. The service component only needs to implement the processing phase, while the message dispatch engine manages registration and readiness coordination. This segmentation simplifies service component authoring while maintaining continuous processing capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The message dispatch engine automatically manages message routing, readiness tracking, and service component coordination without requiring the service component to implement complex message handling logic. This self-service approach allows service components to be authored simply with their core processing logic while the dispatch engine handles continuity assurance.

Inventive Principle:
Principle #25Self-service

3Reliability

If the message dispatch engine locks messages until service component readiness, then message loss risk is reduced, but the message dispatch time increases

Engineering Contradiction:
Improvemessage loss preventionVSAvoidmessage dispatch time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The service component provides feedback to the message dispatch engine about its readiness state. This feedback mechanism allows the dispatch engine to lock messages only when necessary and release them immediately when the service component is ready, minimizing lock duration while preventing message loss. The continuous readiness feedback ensures messages are dispatched at the earliest safe opportunity.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS8984530B2Queued message dispatch
Publication Date: 2015.03.17 ZHIGU HLDG
  • US8984530B2 patent drawing
  • US8984530B2 patent drawing
  • US8984530B2 patent drawing

AI summary

Embodiments described herein allow a service component author to write service components without having to handle incoming messages being received at any time. This may be facilitated by a message dispatch engine that dispatches messages from the incoming message queue only when the destination service component has indicated that it is ready to receive the message having that context. If the service component is not yet ready for the message, the message dispatch component may lock the message at least until the destination service component indicates that it is now ready to receive the message. Until that time, the message dispatch engine may ignore the locked message when finding messages to dispatch.