Declarative Expression Chaining for Dynamic Data Service Invocation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Traditional data service chaining techniques lack dynamic sequence determination and conditional triggering of subsequent services at runtime, limiting flexibility and adaptability in data service invocation.
Innovation Solution
Expression-based declarative data service execution chaining, where conditions for invoking subsequent services are defined declaratively and transformed into expressions evaluated at runtime, allowing dynamic determination of service invocation and input parameters.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If traditional programmatically predefined data service chaining is used, then the system structure is simple and easy to implement, but the sequence of data service invocation cannot be determined dynamically at runtime
Solution Approach 1:
The patent implements dynamic data service chaining by evaluating expressions at runtime to determine the sequence of service invocations. Instead of a fixed predetermined sequence, the system dynamically evaluates conditions and determines which services to invoke next based on current state, enabling adaptability while managing complexity through structured expression evaluation.
Solution Approach 2:
The system changes the parameter of service invocation from a fixed static sequence to a dynamic expression-based sequence. By parameterizing the invocation logic with evaluable expressions that can change based on runtime conditions, the system achieves dynamic adaptability without requiring complete structural redesign.
2Adaptability or versatility
If point to point triggering is used, then the implementation is straightforward, but there is no way to apply conditions for triggering subsequent data services
Solution Approach 1:
The patent introduces an expression evaluation mechanism as an intermediary between data service execution and subsequent service triggering. This intermediary layer evaluates conditional expressions to determine whether and which services should be triggered next, adding conditional capability without directly complicating the core service chaining mechanism.
Solution Approach 2:
The system segments the service chaining mechanism into distinct components: service execution, expression evaluation, and service triggering. This segmentation allows conditional logic to be inserted through the expression evaluation component without fundamentally altering the service execution and triggering mechanisms, managing complexity through modular separation.
3Ease of operation
If programmatically predefined service sequences are used, then development is simple, but runtime flexibility and adaptability are limited
Solution Approach 1:
The patent applies preliminary action by pre-defining expression templates and service chaining configurations during development, similar to traditional approaches. However, these predefined elements are designed to be evaluable and adaptable at runtime, combining the simplicity of predefined structures with the flexibility of dynamic evaluation.
Data Source
AI summary
Expression based declarative data service execution chaining is disclosed. In various embodiments, an indication is received that a first data service has returned a result indicating the first data service has been invoked successfully. An expression is evaluated, based at least in part on the result. A second data service is invoked based at least in part on an outcome of the evaluation of the expression.


