N-ary to Binary Query Tree Translation for Database Compatibility

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Relational database management systems face compatibility issues when retrieving data from external platforms due to differing data formats and communication protocols, leading to challenges in transmitting and processing user input queries and query responses.

Innovation Solution

A method and system that translate user input queries from an n-ary tree format to a binary tree format compatible with external data storage systems, and vice versa, using a data provider to facilitate communication between relational database management systems and external data storage elements, ensuring data compatibility and effective query operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the relational database management system uses its native n-ary tree format for query operations, then query processing efficiency is improved, but compatibility with external data storage systems using binary tree format deteriorates

Engineering Contradiction:
Improvequery processing efficiencyVSAvoidcompatibility with external data storage systems
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent implements a format converter that acts as an intermediary between the relational database management system and external data storage systems. This converter translates queries from n-ary tree format to binary tree format and translates responses back, enabling compatibility without requiring the RDBMS to change its internal query processing architecture.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If data is stored in external platforms with different data formats, then data source versatility is improved, but data transmission compatibility deteriorates

Engineering Contradiction:
Improvedata source versatilityVSAvoiddata transmission compatibility
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The format converter serves as a mediator that ensures reliable data transmission between the RDBMS and external storage systems with different formats. It handles the conversion of both query requests and response data, maintaining data integrity and compatibility across different storage formats.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system changes the format parameter of data during transmission. The format converter transforms data between n-ary tree format (used by the RDBMS) and binary tree format (used by external systems), allowing the same data to be compatible with different storage platforms by changing its structural representation.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If protocol compatibility is maintained between different systems, then communication reliability is improved, but system complexity increases

Engineering Contradiction:
Improvecommunication reliabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The format converter is a dedicated intermediary component that handles protocol translation between the RDBMS and external data storage systems. By centralizing the translation functionality in a separate converter module, the core RDBMS architecture remains unchanged while achieving reliable communication with external systems.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11138195B2Systems and methods for translating n-ary trees to binary query trees for query execution by a relational database management system
Publication Date: 2021.10.05 SALESFORCE INC
  • US11138195B2 patent drawing
  • US11138195B2 patent drawing
  • US11138195B2 patent drawing

AI summary

A method for obtaining query response data by a relational database management system (RDBMS) is provided. The method receives a user input query, by a processor associated with the RDBMS, wherein the user input query comprises a query request for a set of data; formats the user input query into a second query language suitable for communication between the RDBMS and a query response interface associated with a second data storage external to the RDBMS, by the processor, to generate a reformatted user input query, wherein the RDBMS is configured to perform query operations using an n-ary tree format, and wherein the query response interface is configured to perform query operations using a binary tree format consisting of two child nodes per non-terminal node of a binary tree; and transmits the reformatted user input query to the query response interface, via a communication device communicatively coupled to the processor.