Automated Object Model Validation Rule Generation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Manual development of validation rules in business rule management systems (BRMS) is cumbersome, error-prone, and time-consuming, especially for large object models, due to the need for careful inspection and repetitive organization of rules.

Innovation Solution

A method and system that parses an object model to generate validation rules in a hierarchical structure, using a model parser to identify data fields, a validation rule name generator to create user-friendly rule names, and a validation rule generator to produce organized validation rules, reducing manual effort and errors.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual development of validation rules is performed, then rules can be customized and deployed in BRMS, but the process is cumbersome, error-prone, and time-consuming

Engineering Contradiction:
Improveaccuracy of validation rulesVSAvoidtime to develop validation rules
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by automatically parsing the object model and pre-generating validation rules before manual deployment. The parser extracts field structures, data types, and relationships, then the rule generator creates draft validation rules that developers can review and deploy, eliminating the need for manual rule creation from scratch.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates copies of validation rules by generating rule templates based on the object model structure. Once validation rules are defined for one object model, they can be copied and adapted to similar models, reducing repetitive manual work and ensuring consistency across different validation scenarios.

Inventive Principle:
Principle #26Copying

2Ease of manufacture

If manual inspection and organization of validation rules is performed, then rules can be properly structured, but the process is cumbersome and repetitive

Engineering Contradiction:
Improveease of organizing validation rulesVSAvoidcomplexity of rule organization process
Core Design Contradiction:
Ease of manufactureVSDevice complexity

Solution Approach 1:

The system segments the validation rule organization process into distinct automated components: parsing the object model into field structures, generating validation rules for each field, and organizing them hierarchically. This segmentation automates what would otherwise require manual inspection and organization, reducing complexity and effort.

Inventive Principle:
Principle #1Segmentation

3Productivity

If automated generation of validation rules is implemented, then time consumption and errors are reduced, but the rules must be organized in a hierarchical structure

Engineering Contradiction:
Improvespeed of generating validation rulesVSAvoidstructure of generated rules
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The automated system segments rule generation into hierarchical levels: object model → field structures → validation rules. This segmentation naturally produces the required hierarchical structure while maintaining high productivity, as each level is processed automatically without manual intervention.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system implements nesting by placing validation rules within field structures, which are themselves nested within object models. This nested hierarchical structure is automatically generated by the parser and rule generator, organizing rules in a manageable nested format that reflects the underlying data model.

Inventive Principle:
Principle #7Nested doll (Nesting)

Data Source

PatentUS9971569B2Generating object model validation rules
Publication Date: 2018.05.15 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US9971569B2 patent drawing
  • US9971569B2 patent drawing
  • US9971569B2 patent drawing

AI summary

Embodiments of the present invention provide a method, computer program product, and computer system for generating object model validation rules. The method includes receiving an object model and generating a first field structure. A second field structure is generated based on the first field structure. A set of validation rules is then generated based on the second field structure.