Database Query Template System for Rapid Parameter Exploration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing database exploration methods require users to enter multiple separate queries to view or retrieve data, making the process inefficient and cumbersome for rapid parameter changes.

Innovation Solution

A system comprising a query parser, parameter manager, query submitter, and result formatter that builds and submits queries by replacing base query terms with input parameters, allowing for rapid exploration of database data by enabling easy execution of queries with different parameter values.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If users enter multiple separate queries to explore database data, then data retrieval capability is maintained, but operation efficiency deteriorates and time consumption increases

Engineering Contradiction:
Improvedata exploration efficiencyVSAvoidtime for entering multiple queries
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by pre-defining query templates with placeholders for variable parameters. Users only need to input parameter values rather than complete queries, as the query structure, syntax, and logic have been prepared in advance. This resolves the contradiction by maintaining full query capability while dramatically reducing the time and effort required for repeated data exploration tasks.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates and reuses query templates that can be copied and adapted for multiple similar queries. Instead of manually entering each query from scratch, users work with template copies that are automatically populated with different parameter values. This copying mechanism maintains query accuracy and consistency while eliminating redundant typing and reducing exploration time.

Inventive Principle:
Principle #26Copying

2Ease of operation

If users manually enter each query separately, then query accuracy is maintained, but ease of operation deteriorates

Engineering Contradiction:
Improveease of executing multiple queriesVSAvoidcomplexity of query management system
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The system introduces an intermediary component (the query template system with automatic parameter substitution) that mediates between the user and the database. This intermediary handles the complexity of query construction, parameter validation, and syntax management automatically, making the operation easier for users while maintaining query accuracy. The intermediary resolves the contradiction by absorbing the complexity away from the user's manual operations.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The query template system performs self-service by automatically generating complete queries from template patterns and user-provided parameter values. The system validates parameters, substitutes them correctly, and constructs syntactically accurate queries without requiring user intervention in the complex query building process. This self-service capability improves ease of operation while the system internally manages the complexity of query construction.

Inventive Principle:
Principle #25Self-service

3Productivity

If a system automatically manages query parameters, then productivity improves, but system complexity increases

Engineering Contradiction:
Improvedata exploration speedVSAvoidcomplexity of parameter management system
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system segments the query into fixed template portions and variable parameter portions. This segmentation allows the complex parameter management to be isolated to specific substitution points rather than requiring complex management of the entire query structure. The template framework handles the complexity of query syntax while users only need to provide simple parameter values, thereby improving productivity without proportionally increasing overall system complexity.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10095735B2System for exploring data in a database
Publication Date: 2018.10.09 DATABRICKS INC
  • US10095735B2 patent drawing
  • US10095735B2 patent drawing
  • US10095735B2 patent drawing

AI summary

A system for exploring data in a database comprises a query parser, a parameter manager, a query submitter, and a result formatter. The query parser is to receive a base query and determine an input parameter from the base query. The parameter manager is to provide a first request for a value for the input parameter; receive the value for the input parameter; and provide a second request for the value for the input parameter. The query submitter is to determine a first query using the base query and the value for the input parameter; and provide an indication to execute the first query. The result formatter is to receive a result associated with the indication to execute the first query.