Hybrid Stateful Stateless Message Decode Strategy

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing message processing systems using stateful decode strategies are resource inefficient, especially during overload events, as they store significant metadata for all messages, including those that are to be discarded, leading to increased memory and processing loads.

Innovation Solution

Implementing a hybrid approach that uses stateless decode strategies for low-priority messages and stateful decode strategies for high-priority messages, with the stateless algorithm employing pointer arithmetic and length values to quickly identify and discard low-priority messages, while the stateful algorithm stores relevant metadata for further processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a stateful decode strategy is used for all messages, then message processing completeness is improved, but resource utilization deteriorates due to storing metadata for all messages including those to be discarded

Engineering Contradiction:
Improvemessage processing completenessVSAvoidresource utilization
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The decode strategy is segmented into two distinct paths: stateless decode for initial processing and stateful decode for detailed processing. This segmentation allows the system to apply different processing depths based on message priority, avoiding the need to store metadata for all messages while ensuring complete processing for high-priority messages.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different decode strategies are applied to different messages based on their priority. High-priority messages receive stateful decoding with full metadata storage, while low-priority messages receive stateless decoding without metadata storage. This local differentiation optimizes resource utilization while maintaining processing completeness where needed.

Inventive Principle:
Principle #3Local quality

2Measurement precision

If a stateful decode strategy is used for all messages, then processing accuracy is improved, but processing speed deteriorates during overload events

Engineering Contradiction:
Improveprocessing accuracyVSAvoidprocessing speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

For low-priority messages, the system performs partial decoding (stateless) without full metadata storage, which is sufficient for discarding these messages. This partial action approach maintains adequate processing accuracy for the message's purpose while significantly improving processing speed during overload events.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The stateless decode performs preliminary processing to identify low-priority messages that can be discarded. By performing this preliminary action before committing to full stateful decoding, the system avoids unnecessary processing overhead for messages that will be discarded, thereby improving overall processing speed.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If metadata is stored for all messages, then message inspection capability is improved, but memory consumption increases

Engineering Contradiction:
Improvemessage inspection capabilityVSAvoidmemory consumption
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

Metadata storage is applied locally only to high-priority messages that require inspection, rather than universally to all messages. This selective approach maintains message inspection capability for messages that need it while minimizing memory consumption by avoiding storage of metadata for low-priority messages that will be discarded.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system treats low-priority messages as disposable objects that do not require persistent metadata storage. By avoiding metadata storage for these messages, the system reduces memory consumption while still maintaining the ability to process and discard them appropriately.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

4Reliability

If full decoding is performed on all messages, then processing thoroughness is improved, but processing overhead increases

Engineering Contradiction:
Improveprocessing thoroughnessVSAvoidprocessing overhead
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs partial decoding (stateless) for low-priority messages and full decoding (stateful) only for high-priority messages. This partial action approach maintains processing thoroughness where needed while reducing processing overhead for messages that will be discarded, thereby minimizing time loss.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The stateless decode performs preliminary filtering to identify messages that can be discarded without full processing. By performing this preliminary action, the system avoids the time cost of thorough processing for low-priority messages while ensuring thorough processing for high-priority messages, thus optimizing the balance between thoroughness and overhead.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10193802B2Methods, systems, and computer readable media for processing messages using stateful and stateless decode strategies
Publication Date: 2019.01.29 ORACLE INT CORP
  • US10193802B2 patent drawing
  • US10193802B2 patent drawing
  • US10193802B2 patent drawing

AI summary

According to one method for processing a message containing TLV elements, the method includes receiving an ingress message containing a plurality of TLV elements. The method also includes determining, using at least one message related attribute, whether the ingress message is to be processed using a stateless decode algorithm. The method further includes in response to determining that the ingress message is to be processed using the stateless decode algorithm, processing the ingress message using the stateless decode algorithm. The method also includes determining, using the stateless decode algorithm, whether the ingress message includes at least one TLV element indicating that the ingress message is to be further processed using a stateful decode algorithm. The method further includes indicating that the ingress message is to be further processed using the stateful decode algorithm, processing the ingress message using the stateful decode algorithm.