Query Engine for Recursive Searches in Self-Describing Data Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Implementing recursive searches in relational databases is challenging due to difficulties in formulating and executing recursive queries, and certain markup languages do not support query functionality across dynamic data models, leading to errors when the database schema changes.

Innovation Solution

A query engine is developed to perform recursive searches in a self-describing data system by creating a query definition with a unique identifier, specifying elements, and determining query execution instructions for a level-by-level search until a terminal node is reached, allowing for efficient execution and output of query results.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If recursive searches are implemented in relational databases using conventional methods, then search functionality can be achieved, but the process requires iterative and repetitive reformulation of search queries, increasing complexity and time consumption

Engineering Contradiction:
Improveease of query formulationVSAvoidtime for query reformulation
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The system performs preliminary actions by pre-compiling the data model schema and query templates before execution. The query engine prepares execution plans in advance, storing them in a cached structure that can be rapidly reused for recursive searches, eliminating the need for iterative reformulation during actual search operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

An intermediary query engine layer is introduced between the user and the database. This engine automatically reformulates and optimizes recursive queries using pre-compiled schemas, shielding users from the complexity of manual query reformulation while maintaining efficient database access.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If conventional markup languages are used for querying dynamic data models, then simple query structures can be maintained, but the system cannot adapt to schema changes, resulting in execution errors

Engineering Contradiction:
Improveadaptability to schema changesVSAvoidquery execution reliability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system implements dynamic schema validation where the query engine automatically detects and adapts to schema changes in real-time. The compiled schema structure is updated dynamically without requiring system reconfiguration, allowing the markup language queries to remain reliable even as the underlying data model evolves.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system incorporates feedback mechanisms where the query engine continuously monitors schema changes and automatically adjusts query execution plans. When schema modifications are detected, the engine re-compiles affected query templates and validates them against the new schema, ensuring continued execution reliability without manual intervention.

Inventive Principle:
Principle #23Feedback

3Measurement precision

If iterative reformulation of search queries is performed to handle recursive searches, then comprehensive search results can be obtained, but the device complexity and computational overhead increase significantly

Engineering Contradiction:
Improvecompleteness of search resultsVSAvoidcomplexity of query processing system
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The query processing system is segmented into distinct modular components: schema compilation module, query template generation module, execution plan cache, and result aggregation module. Each component handles a specific aspect of recursive query processing, reducing overall system complexity while maintaining comprehensive search capabilities through coordinated operation of these specialized modules.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20230350899A1Query engine for recursive searches in a self-describing data system
Publication Date: 2023.11.02 ARAS CORP
  • US20230350899A1 patent drawing
  • US20230350899A1 patent drawing
  • US20230350899A1 patent drawing

AI summary

A method for performing recursive searching of items of a data structure having a data mode includes creating an instance of a query definition, the instance of the query definition comprising a unique identifier, specifying one or more elements of the query definition, providing the query definition as an input to a query engine. The method further includes the operations of determining, by the query engine, query execution instructions based on the query definition, the query instructions specifying a recursive level-by-level search until a terminal node of the data structure is reached, obtaining results of a query executed based on the query execution instructions; and outputting query results.