Database Schema Validation for Application Model Integrity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing model validation systems for database environments are inadequate, as they often validate models outside the database, making it difficult to determine the schema connection, leading to inconsistent results and lack of versioning information, and requiring multiple validation operations.

Innovation Solution

The proposed solution involves validating application models within the database environment against a meta-schema and application schema, ensuring consistency and versioning, with validation algorithms stored within the database for review and using a single validation operation to validate all necessary aspects.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If model validation is performed outside the database environment, then validation can be done before storage, but it becomes difficult to determine schema connection and leads to inconsistent results

Engineering Contradiction:
Improvevalidation consistencyVSAvoidschema connection information
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The patent merges the validation process with the database environment by storing validation algorithms, schemas, and performing validation operations within the database itself. This integration ensures that validation consistently uses the correct schema connections and maintains reliability across all operations.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent introduces an intermediary validation component that acts as a bridge between application models and the database schema. This intermediary ensures proper schema connection and maintains consistent validation results by mediating the interaction between models and schemas within the database environment.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If multiple validation operations are performed to validate different aspects of a model, then comprehensive validation is achieved, but the process becomes complex and time-consuming

Engineering Contradiction:
Improvevalidation completenessVSAvoidvalidation process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent creates a universal validation algorithm that can validate multiple aspects of application models through a single operation. This multi-functional approach maintains comprehensive validation while reducing process complexity by consolidating multiple validation tasks into one unified operation.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent combines multiple validation operations into a single integrated validation process within the database environment. This merging approach achieves comprehensive validation of all model aspects while simplifying the overall process and reducing the number of separate operations required.

Inventive Principle:
Principle #5Merging (Combining)

3Ease of manufacture

If validation algorithms are stored outside the database, then they can be independently managed, but versioning information is lost and review capability is reduced

Engineering Contradiction:
Improvealgorithm management flexibilityVSAvoidversioning information
Core Design Contradiction:
Ease of manufactureVSLoss of information

Solution Approach 1:

The patent merges the storage of validation algorithms with the database environment, allowing algorithms to be stored alongside the data they validate. This integration preserves versioning information and enables review capability while maintaining management flexibility through the database's native capabilities.

Inventive Principle:
Principle #5Merging (Combining)

4Productivity

If application models are allowed to run without strict validation, then deployment is faster, but errors can occur affecting all users and critical resources

Engineering Contradiction:
Improvedeployment speedVSAvoidsystem stability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent performs validation as a preliminary action before allowing application models to run or be stored in the database. This advance validation ensures that only correct models are deployed, maintaining system stability while enabling fast deployment of pre-validated models.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies preliminary anti-action by validating models before deployment to prevent potential errors from occurring. This preventive approach blocks incorrect models from affecting the system, ensuring reliability while maintaining productivity through efficient pre-deployment validation.

Inventive Principle:
Principle #9Preliminary anti-action

Data Source

PatentUS9535935B2Schema-based application model validation in a database
Publication Date: 2017.01.03 SAP SE
  • US9535935B2 patent drawing
  • US9535935B2 patent drawing
  • US9535935B2 patent drawing

AI summary

Technologies are provided for validating application models within a database environment. For example, an application model can be provided to a database environment and validated against a meta-schema and/or an application schema stored within the database environment. Successful validation can be required before the application model is allowed to run within the database environment (e.g., before the application model can be stored within the database environment).