Contextual Parameterized Query Management for Database Result Sets

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Users face difficulties in efficiently obtaining detailed information about objects represented by fields in a database, as existing methods are time-consuming and require cumbersome parameterized query management, with limited contextual relevance.

Innovation Solution

A system and method that automatically presents users with contextually relevant parameterized queries associated with fields in a results set, allowing for easy drilling down into objects by substituting parameter markers with values from the results set, thereby simplifying the process of obtaining detailed data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If users manually create new queries with conditions and result fields to get detailed information about objects, then they can obtain the required data, but the process becomes time-consuming and repetitive

Engineering Contradiction:
Improvedata retrieval accuracyVSAvoidquery creation time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system pre-defines parameterized queries with common data retrieval patterns and conditions. When a user views a result set, the system automatically presents relevant pre-defined parameterized queries that can be executed by simply substituting parameters with values from the current result set, eliminating the need for users to manually construct entire queries from scratch.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates simplified copies of complex query patterns by generating parameterized queries that replicate common data retrieval scenarios. Users can execute these copied query templates by providing only the specific parameter values, rather than recreating the entire query structure each time.

Inventive Principle:
Principle #26Copying

2Ease of operation

If administrators manage and provide parameterized queries to users, then users can drill down into objects, but the complexity of query management increases

Engineering Contradiction:
Improveuser query executionVSAvoidquery management system
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The system automatically analyzes the current result set and identifies relevant parameterized queries based on the data context. Instead of requiring administrators to manually configure and present queries, the system self-determines which parameterized queries are applicable by examining the result set metadata and automatically presents them to users, reducing administrative burden.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system continuously monitors the result set context and dynamically adjusts which parameterized queries are presented to users. Based on feedback from the current query execution and result set characteristics, the system intelligently filters and prioritizes relevant parameterized queries, ensuring users see only contextually appropriate options without overwhelming them.

Inventive Principle:
Principle #23Feedback

3Adaptability or versatility

If all parameterized queries are made available to users, then they have maximum flexibility, but users cannot easily identify contextually relevant queries

Engineering Contradiction:
Improvequery flexibilityVSAvoidquery relevance identification
Core Design Contradiction:
Adaptability or versatilityVSDifficulty of detecting and measuring

Solution Approach 1:

Instead of providing all parameterized queries uniformly to all users, the system tailors the presentation of parameterized queries to the specific local context of each result set. By analyzing the characteristics of the current data (such as table relationships, data types, and query conditions), the system presents only the locally relevant parameterized queries that match the current context, making it easy for users to identify appropriate options.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system dynamically adapts which parameterized queries are presented based on the current result set context. Rather than a static list of all available queries, the presentation of parameterized queries changes dynamically according to the specific data being viewed, ensuring users see the most relevant options for their current task while maintaining full system flexibility.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS7979456B2Method of managing and providing parameterized queries
Publication Date: 2011.07.12 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US7979456B2 patent drawing
  • US7979456B2 patent drawing
  • US7979456B2 patent drawing

AI summary

Methods, systems and articles of manufacture for managing parameterized queries and making them available to users based on associations between parameterized queries and fields belonging to result sets are provided. By associating fields with parameterized queries, a query manager can be configured to provide users with a contextually appropriate selection of parameterized queries that can be used to obtain data related to objects in a result set. The selection of parameterized queries may be provided to users via a variety of interfaces including graphic interfaces and plug-in components utilized by external applications.