Auto-Complete Server for Complex Database Queries

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Complex query systems, such as those used in databases like WSRR, lack support for auto-suggest functionality, making it difficult for users to construct and complete queries with multiple terms and complex syntax.

Innovation Solution

A client-server system that receives an incomplete query component, determines its type, and invokes an auto-complete function specific to that type to provide suggestions, enhancing the query construction process with auto-suggest capabilities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If complex query systems are used with multiple terms and syntax, then query capability and power are improved, but ease of operation deteriorates due to lack of auto-suggest support

Engineering Contradiction:
Improvequery capabilityVSAvoidease of operation
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The system provides self-service by automatically analyzing the user's partial query input and generating context-specific completion suggestions. The server autonomously determines the type of incomplete component, selects appropriate auto-complete functions, and returns relevant suggestions without requiring manual intervention or configuration from the user.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system implements feedback by continuously monitoring the user's query input and dynamically providing completion suggestions based on the current context. The server analyzes the incomplete component type and returns targeted suggestions that adapt to the user's specific query state, creating an interactive loop that guides query construction.

Inventive Principle:
Principle #23Feedback

2Measurement precision

If complex query syntax is required, then measurement precision and query accuracy are improved, but device complexity increases

Engineering Contradiction:
Improvequery accuracyVSAvoiddevice complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system applies segmentation by dividing the complex query completion task into distinct phases: receiving the partial query, determining the type of incomplete component, selecting appropriate auto-complete functions based on component type, and returning type-specific suggestions. This modular approach manages complexity while maintaining query accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The server acts as an intermediary between the user and the complex query system. It mediates the interaction by analyzing incomplete components, selecting appropriate completion functions, and translating user intent into accurate query suggestions, thereby shielding the user from underlying system complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If type-specific auto-complete functions are used, then productivity is improved through faster query construction, but device complexity increases

Engineering Contradiction:
Improvequery construction speedVSAvoiddevice complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system achieves universality by implementing a multi-functional auto-complete mechanism that handles multiple component types (model types, structural types, data types) through a unified server architecture. The server can dynamically select and invoke appropriate completion functions based on the detected component type, providing type-specific assistance through a single system.

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

Data Source

PatentUS11361008B2Complex query handling
Publication Date: 2022.06.14 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11361008B2 patent drawing
  • US11361008B2 patent drawing
  • US11361008B2 patent drawing

AI summary

Processing a query for a database includes: receiving a portion of a query from a client device in a server implemented by at least one processor, the portion of the query comprising an incomplete component; determining that the incomplete component is one of multiple predefined types with the server; providing the incomplete component to an auto-complete function specific to the determined type of the incomplete component; receiving in the server a suggestion for completing the query from the auto-complete function, the suggestion being specific to the type of the incomplete component; and providing the suggestion from the server to the client device.