Auto-documenting Database Query Interface for Code Redundancy

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional database management systems face challenges in efficiently managing and sharing complex datasets, leading to redundant code creation and conflicting modifications due to manual processes and lack of automated documentation for software-related queries.

Innovation Solution

Implementing a system that automatically documents and generates software-related queries in real-time using dynamic graphical user interfaces and machine learning techniques, allowing for query syntax recognition and recommendation, while enhancing security and user permissions management.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual code creation and storage processes are used by individual users, then each user can maintain their own work product, but redundant code creation occurs and code sharing is limited

Engineering Contradiction:
Improvecode accuracyVSAvoidcode creation efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent merges individual user code storage into a centralized code repository accessible by all users. The system combines separate manual code creation processes into an automated system that generates, stores, and shares code across the organization, eliminating redundancy while maintaining code quality through centralized management and version control

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system enables self-service through automated code generation and recommendation features. Users can query the system for previously created code, and the system automatically retrieves and presents relevant code snippets, allowing users to benefit from organizational knowledge without manual intervention in code creation and sharing

Inventive Principle:
Principle #25Self-service

2Ease of operation

If separate manual solutions for version control and code storage are implemented, then individual users can manage their code, but conflicting modifications and redundant code creation result

Engineering Contradiction:
Improvecode managementVSAvoidcode consistency
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent implements a universal code repository system that serves multiple functions: storage, version control, sharing, and automated generation. This single system replaces separate manual solutions for code management, providing unified access and control mechanisms that ensure consistency across all users while maintaining ease of operation through standardized interfaces

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

Solution Approach 2:

The system incorporates feedback mechanisms through automated version control and conflict detection. When users modify code, the system tracks changes, identifies potential conflicts, and manages versions automatically, providing feedback to users about code state and ensuring consistency across the organization

Inventive Principle:
Principle #23Feedback

3Productivity

If queries are manually created and executed on complex datasets, then users can access data, but security protocols are taxed and computational resources are consumed

Engineering Contradiction:
Improvedata access efficiencyVSAvoidsecurity risk
Core Design Contradiction:
ProductivityVSObject-affected harmful factors

Solution Approach 1:

The patent implements preliminary action through pre-approved query templates and automated code generation. Instead of allowing users to manually create potentially risky queries, the system provides pre-vetted query patterns and automatically generates safe queries based on user needs, addressing security concerns before they arise while maintaining data access efficiency

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11928106B2Database auto-documentation systems and methods
Publication Date: 2024.03.12 INTUIT INC
  • US11928106B2 patent drawing
  • US11928106B2 patent drawing
  • US11928106B2 patent drawing

AI summary

Systems and methods are described for automatically documenting queries and dynamically populating interactive graphical user interfaces with query recommendations. A computing system receives an initial query from an interactive graphical user interface and asynchronously parses the query for strings matching predetermined phrases. In response to determining that the initial query recites strings matching the predetermined phrases, the system extracts metadata and identifies a table name in the initial query, and modifies a table data in key-value data structure corresponding to the table. Subsequent queries related to the initial query cause the system to asynchronously populate the graphical user interface with query recommendations related to the initial query.