Declarative Message Stream Validation Pipeline

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing stream processing technologies face challenges in efficiently validating incoming messages to filter out invalid or malicious messages, which can cause unexpected results and require external schema management systems, leading to complex typing constraints and reduced design flexibility.

Innovation Solution

A declarative message stream validation pipeline is implemented, allowing for schema and payload validation within the stream processing engine, eliminating the need for external schema management systems and enabling rapid design and implementation by defining validation rules as part of the pipeline definition, with runtime creation of pipeline components and injection of validation handlers.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If external schema management systems are used to validate incoming messages, then message validation capability is improved, but system complexity increases due to additional external dependencies and complex typing constraints

Engineering Contradiction:
Improvemessage validation capabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent combines the schema management functionality directly into the stream processing engine, merging previously separate external schema management systems with the message processing pipeline. This integration eliminates external dependencies while maintaining validation capability, thereby reducing system complexity without sacrificing reliability.

Inventive Principle:
Principle #5Merging (Combining)

2Measurement precision

If strict typing constraints are enforced for message validation, then message validation precision is improved, but design flexibility is reduced

Engineering Contradiction:
Improvevalidation precisionVSAvoiddesign flexibility
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic validation rules that can be configured and modified at runtime without requiring strict compile-time typing constraints. The system adapts validation behavior based on message content and context, allowing flexible schema definitions that maintain precision while enabling design adaptability through configurable validation policies.

Inventive Principle:
Principle #15Dynamics

3Reliability

If comprehensive message validation is performed on all incoming messages, then system reliability is improved, but processing time increases

Engineering Contradiction:
Improvesystem reliabilityVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent implements selective validation that applies comprehensive checking only when necessary, rather than validating every message with the same rigor. The system determines validation depth based on message type, source reliability, and contextual factors, performing partial validation for low-risk messages and comprehensive validation only when needed, thereby maintaining reliability while reducing average processing time.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20240272969A1Method and system for processing a stream of incoming messages sent from a specific input message source and validating each incoming message of that stream before sending them to a specific target system
Publication Date: 2024.08.15 SALESFORCE INC
  • US20240272969A1 patent drawing
  • US20240272969A1 patent drawing
  • US20240272969A1 patent drawing

AI summary

Methods and systems are provided for processing a stream of incoming messages sent from a specific input message source and validating each incoming message of that stream before sending them to a specific target system.