Stateless Runtime Framework for Reliable Messaging

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing Web services message processing runtime frameworks lack efficiency in handling concurrent message processing and ensuring reliable messaging due to state-full protocols and the need for extensive resource allocation, which hampers scalability and performance.

Innovation Solution

The improved runtime framework eliminates the mapping registry and context intermediary, redesigns protocols to be state-less, and supports hibernation, enabling efficient processing of multiple message pairs with a single protocol instance and enhancing scalability by allowing protocols like WS-Reliable Messaging to manage out-of-order messages effectively.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If state-full protocols are used to ensure reliable messaging, then messaging reliability is improved, but memory consumption and resource allocation increase

Engineering Contradiction:
Improvemessaging reliabilityVSAvoidmemory consumption
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent changes the state management parameter from state-full to state-less protocol execution. State-less protocols eliminate the need to maintain protocol state in memory, thereby reducing memory consumption while still achieving reliable messaging through the hibernation mechanism that suspends and restores protocol execution without retaining state.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent introduces hibernation as a phase transition mechanism where protocol execution is suspended (ibernated) when not actively processing messages, and restored when needed. This allows the system to transition between active processing and suspended states, reducing resource allocation during suspension while maintaining the ability to process messages reliably when active.

Inventive Principle:
Principle #36Phase transitions

2Adaptability or versatility

If extensive resource allocation is made for protocol execution, then protocol functionality is improved, but scalability and performance deteriorate

Engineering Contradiction:
Improveprotocol functionalityVSAvoidconcurrent message processing efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent segments the protocol execution into discrete, stateless units that can be independently managed. Each protocol instance operates without maintaining state, allowing multiple instances to handle concurrent messages independently. The hibernation mechanism further segments resource allocation by suspending inactive instances while keeping active ones ready, improving concurrent processing efficiency.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent makes protocol execution dynamic through hibernation, allowing the system to adapt resource allocation based on actual message processing needs. Protocols transition between active and hibernated states dynamically, enabling the system to scale resource allocation up when message processing demand increases and down when demand decreases, thereby improving both scalability and concurrent processing efficiency.

Inventive Principle:
Principle #15Dynamics

3Productivity

If multiple protocol instances are maintained for concurrent processing, then concurrent message processing capability is improved, but device complexity increases

Engineering Contradiction:
Improveconcurrent message processing capabilityVSAvoidprotocol instance management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent uses copying in the sense that multiple stateless protocol instances can be created and managed without copying complex state information. Since the protocols are stateless, creating multiple instances is simple and does not involve copying substantial state data. The hibernation mechanism further simplifies instance management by allowing instances to be suspended and restored without copying their state, reducing the complexity of managing multiple concurrent protocol instances.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS7711836B2Runtime execution of a reliable messaging protocol
Publication Date: 2010.05.04 SAP SE
  • US7711836B2 patent drawing
  • US7711836B2 patent drawing
  • US7711836B2 patent drawing

AI summary

A system and method for the lifecycle of a protocol processing a message is described. In one embodiment, in a stateless object-oriented runtime environment, an instance of a reliable messaging protocol is used to process a message. The processing including receiving a message and performing operations based on said message.