Rule Generation System for Zero-Downtime Business Logic Updates

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional rule engines require business applications to be temporarily down for defining or editing rules, are complex and computationally heavy, making it difficult and time-consuming to accommodate changes in market conditions or organizational policies without manual intervention and coding.

Innovation Solution

A method to translate business rules into executable code that can be directly executed without further compilation or interpretation, allowing for zero or minimal human intervention by generating program executable code from input rules specified in business or technical languages, which can be associated with business applications through an API like JSR-94.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If conventional rule engines are used to externalize business rules, then rules can be changed without modifying application code, but the business application must be temporarily down for defining or editing rules

Engineering Contradiction:
Improveability to change rulesVSAvoiddowntime for rule changes
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent pre-compiles rule languages into executable code forms in advance, storing them in a repository. When rules need to be changed, the pre-compiled executable code is already available and can be loaded immediately without requiring the business application to be down, thus resolving the contradiction between rule adaptability and downtime.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If conventional rule engines are used to externalize business rules, then rules can be changed without modifying application code, but the process becomes complex and computationally heavy

Engineering Contradiction:
Improveability to change rulesVSAvoidcomplexity of rule engine
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent extracts the compilation step from the runtime rule execution process. By pre-compiling rule languages into executable code and storing them separately, the complex compilation process is separated from the simple runtime execution, reducing the computational burden and complexity of the rule engine while maintaining rule adaptability.

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If manual compilation or interpretation is required for rule languages, then rules can be executed, but the process becomes time-consuming and requires human intervention

Engineering Contradiction:
Improverule execution speedVSAvoidtime for manual compilation
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent performs compilation of rule languages into executable code in advance, before runtime execution is needed. This pre-compilation eliminates the need for time-consuming manual compilation or interpretation at runtime, significantly improving rule execution speed and eliminating human intervention requirements.

Inventive Principle:
Principle #10Preliminary action

4Reliability

If business applications are taken down for rule changes, then existing rule engines can update rules, but productivity and responsiveness to market changes are reduced

Engineering Contradiction:
Improveaccuracy of rule updatesVSAvoidspeed of rule updates
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent pre-compiles rule languages into executable code and stores them in a repository before they are needed. When rule changes are required, the pre-compiled executable code is already prepared and can be loaded immediately into the running business application, enabling fast and reliable rule updates without taking the application down.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8849673B2Rule generation
Publication Date: 2014.09.30 TATA CONSULTANCY SERVICES LTD
  • US8849673B2 patent drawing
  • US8849673B2 patent drawing
  • US8849673B2 patent drawing

AI summary

A method for implementing at least one rule for an application is described. The method includes receiving an input rule. Based on the input rule, a program executable code is generated. The generated program executable code can then be associated with the application.