Transforming Business Rules Into Executable Code
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data processing systems face challenges in efficiently translating human-readable business rules into computer-executable code, particularly in handling complex rule sets and producing multiple output values, which can lead to data quality issues and limitations in implementing certain business logic.
Innovation Solution
A method and system that generate transforms for graph-based applications, allowing for the conversion of rule sets into logical expressions, compilation into executable code, and the use of accumulator output variables to handle multiple values, enabling the processing of complex business rules and producing multiple output values efficiently.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If traditional data processing systems translate human-readable business rules into computer-executable code, then the rules can be implemented for automated decision making, but the system becomes limited in handling complex rule sets and producing multiple output values efficiently
Solution Approach 1:
The system segments complex rule sets into individual transformable rules, where each rule can be independently processed and transformed. This allows the system to handle complex business logic by breaking it down into manageable units that can be compiled and executed efficiently, resolving the contradiction between handling complexity and maintaining system simplicity.
Solution Approach 2:
The patent introduces an intermediary compilation process that translates human-readable rules into an intermediate representation, which is then transformed into executable code. This intermediary layer simplifies the overall system architecture by providing a clear separation between rule definition and execution, enabling the system to handle complex rules without increasing apparent system complexity.
2Productivity
If the system produces multiple output values for complex rule sets, then data processing capabilities are enhanced, but data quality issues arise
Solution Approach 1:
The system performs preliminary validation and type checking during the compilation phase, before actual data processing occurs. This preliminary action ensures that multiple output values are properly typed and validated, preventing data quality issues while maintaining enhanced processing capabilities.
Solution Approach 2:
The compilation process incorporates feedback mechanisms that validate rule logic and output definitions, providing error detection and correction before execution. This feedback loop ensures data quality is maintained even when producing multiple output values, resolving the contradiction between productivity and reliability.
3Ease of manufacture
If human-readable rules are directly implemented without transformation, then implementation is simpler, but the system cannot efficiently handle complex business logic and multiple output values
Solution Approach 1:
The system employs dynamic transformation of rules based on their complexity and requirements. Simple rules remain straightforward implementations, while complex rules undergo automatic transformation into optimized executable forms. This dynamic approach maintains ease of implementation for simple cases while enabling sophisticated business logic handling when needed.
Solution Approach 2:
The patent changes the parameter representation of rules during transformation, converting human-readable parameters into optimized execution parameters. This parameter transformation enables the system to maintain simple rule definition while achieving complex business logic处理能力, resolving the contradiction between implementation simplicity and adaptability.
Data Source
AI summary
Disclosed is a method including receiving a rule having at least one rule case for producing an output value based on one or more input values, generating a transform for receiving data from an input dataset and transforming the data based on the rule including producing a first series of values for at least one output variable in an output dataset, at least one value in the first series of values including a second series of values, and providing an output field corresponding to the at least one output variable in the output dataset for storing the second series of values.


