Query Result Verification Using Structural Indicators
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional methods for verifying the accuracy of query results from data repositories are inefficient, requiring lengthy processing time and significant memory resources due to cell-wise comparisons, especially when dealing with large result tables.
Innovation Solution
A method that determines structural indicators of query result tables, aggregates values from corresponding cells if the indicators match, and provides an indication of accuracy using a single change-sensitive aggregating function, optionally converting non-numerical values into integer or hexadecimal formats to facilitate comparison.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If cell-wise comparison is performed to verify query result accuracy, then measurement precision is improved, but processing time and memory resources are significantly increased
Solution Approach 1:
The patent extracts only the essential structural indicators (row count, column count, cell count) from the complete query result tables for verification purposes. By taking out only these critical structural elements rather than comparing all cells, the system achieves accurate verification while dramatically reducing processing time and memory requirements.
Solution Approach 2:
The verification process is segmented into two distinct stages: first comparing structural indicators (rows, columns, cells), and only if those match, then performing cell-wise comparison. This segmentation allows the system to perform quick structural verification without immediately consuming resources on complete table comparison, thus reducing overall processing time.
2Measurement precision
If cell-wise comparison is performed to verify query result accuracy, then measurement precision is improved, but memory/storage resources are significantly increased
Solution Approach 1:
The patent extracts only the essential structural indicators (row count, column count, cell count) from the complete query result tables for verification purposes. By taking out only these critical structural elements rather than comparing all cells, the system achieves accurate verification while dramatically reducing processing time and memory requirements.
3Measurement precision
If result tables are sorted in advance to enable cell-wise comparison, then measurement precision is improved, but processing time is greatly increased
Solution Approach 1:
The patent performs preliminary comparison of structural indicators (row count, column count, cell count) before performing any cell-wise comparison. This preliminary action filters out obviously different tables early, preventing unnecessary sorting and cell comparison operations, thus reducing overall verification time while maintaining accuracy.
4Device complexity
If simple search techniques are employed to retrieve cell values for comparison, then device complexity is reduced, but processing time and resource consumption are increased
Solution Approach 1:
The patent extracts only the essential structural indicators (row count, column count, cell count) from the complete query result tables for verification purposes. By taking out only these critical structural elements rather than comparing all cells, the system achieves accurate verification while dramatically reducing processing time and memory requirements.
Data Source
AI summary
A method determines whether a structural indicator of a first table of results generated from a first data repository query matches a corresponding structural indicator of a second table of results generated from a substantially identical second data repository query. If the first and second table structural indicators match, then values from at least two corresponding cells from each of the first and second tables are aggregated. If the aggregated values from the first and second tables are identical, then an indication is provided indicating that the first data repository query results are accurate. Related apparatuses, computer program products, and computer systems are also described.


