Rule Generation System for Zero-Downtime Business Logic Updates
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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
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.
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
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.
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
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.
Data Source
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.


