Application Scenario Injection for Chaos Validation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing software validation methods struggle to detect abnormal situations and outlying cases, leading to gaps in system behavior testing, as they primarily focus on the 'happy path' and lack the necessary granularity to handle chaos effectively.

Innovation Solution

The proposed solution involves identifying injection points in an application's flow, determining which points allow scenario injection, and injecting scenario source code to simulate chaos, thereby enhancing test coverage and validating system behavior under various conditions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional validation methods focusing on happy path are used, then ease of operation is maintained, but test coverage for abnormal situations is insufficient

Engineering Contradiction:
Improvetest coverage for abnormal situationsVSAvoidvalidation process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system performs preliminary analysis to identify injection points in the application flow before executing validation scenarios. This advance preparation enables the system to strategically insert chaos injection code at critical locations, ensuring comprehensive coverage of abnormal situations without requiring complex manual intervention during actual testing.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system introduces scenario injection code as an intermediary element between the application flow and the validation process. This intermediary mechanism enables controlled disruption at specific injection points, allowing the system to simulate abnormal situations and chaos conditions while maintaining structured test execution and analysis capabilities.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If scenario injection code is inserted at multiple injection points, then measurement precision of system behavior is improved, but device complexity increases

Engineering Contradiction:
Improvesystem behavior measurement precisionVSAvoidinjection point management complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The validation system segments the application flow into discrete injection points where scenario code can be inserted. Each injection point represents a specific location in the application flow where chaos can be introduced, allowing precise measurement of system behavior at critical boundaries and decision points without requiring comprehensive modification of the entire codebase.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system applies different scenario injection strategies at different injection points based on their specific characteristics and importance. Critical injection points receive more comprehensive scenario coverage, while less critical points use simplified approaches. This localized quality assurance optimizes measurement precision where it matters most while managing overall system complexity.

Inventive Principle:
Principle #3Local quality

3Reliability

If chaos injection is synchronized with application flow, then reliability of validation results is improved, but ease of operation decreases

Engineering Contradiction:
Improvevalidation result reliabilityVSAvoidscenario injection operation simplicity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system performs preliminary identification and analysis of injection points within the application flow before deploying scenario code. This advance mapping of the application flow enables automatic synchronization of chaos injection with critical execution points, ensuring reliable validation results while reducing the operational complexity through automated point identification rather than manual intervention.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12298888B2Application scenario injection and validation system
Publication Date: 2025.05.13 THE BANK OF NEW YORK MELLON
  • US12298888B2 patent drawing
  • US12298888B2 patent drawing
  • US12298888B2 patent drawing

AI summary

Provided is a method including identifying one or more injection points in a flow of an application and determining that a first injection point of the one or more injection points permits scenario injection. The method further includes injecting first scenario source code for a first scenario function at the first injection point in source code of the application and storing the application including the first scenario source code for the first scenario function. The method further includes receiving instruction to activate the first scenario function, activating the first scenario function. Furthermore, the method includes running the application when the first scenario function is activated, such that the running the application when the first scenario function is activated causes the application to operate concurrently with the first scenario function and providing a first application output.