Grid Plus T Tree Index for Memory Database Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current multidimensional index structures for memory databases, such as K-D Tree, R Tree, and T Tree, face inefficiencies in memory usage and search performance, particularly in telecommunications systems where millions of records need to be processed with limited resources.

Innovation Solution

The 'Grid+T Tree' method partitions record sets into grid cells, each connected with a data barrel, and sets up a T Tree for each data unit, using a k-dimensional array for the grid directory, allowing dynamic distribution and efficient memory use.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If K-D Tree is used for multidimensional indexing, then search operation is simple and index efficiency is good, but storage efficiency is too low due to limited node capacity

Engineering Contradiction:
Improvesearch efficiencyVSAvoidmemory usage
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent combines K-D Tree's multidimensional partitioning capability with T Tree's high storage efficiency. The grid structure from K-D Tree is merged with T Tree nodes, allowing multiple data entries to be stored in each index node, thus improving memory utilization while maintaining search efficiency.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent creates a composite index structure that integrates the advantages of different tree structures. By combining K-D Tree's spatial partitioning with T Tree's node structure, it forms a new composite index method that achieves both good search performance and high storage efficiency in memory databases.

Inventive Principle:
Principle #40Composite materials

2Speed

If R Tree is used for multidimensional indexing, then disk access is reduced and search speed is faster, but memory space is wasted due to leaf node data storage requirement

Engineering Contradiction:
Improvesearch speedVSAvoidmemory space
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The patent segments the index structure into grid directories and T Tree structures, allowing data to be distributed across multiple index nodes rather than concentrated in leaf nodes. This segmentation enables internal nodes to store actual data entries, improving memory utilization while maintaining fast search capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the traditional R Tree structure by introducing a grid-based dimensional organization. Instead of relying solely on MBR overlap in leaf nodes, it uses grid coordinates to directly locate data, reducing the need for extensive leaf node storage and improving overall memory efficiency.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Quantity of substance

If T Tree is used for indexing, then memory space is utilized efficiently with multiple keys per node, but multidimensional indexing capability is limited

Engineering Contradiction:
Improvememory utilizationVSAvoidmultidimensional indexing capability
Core Design Contradiction:
Quantity of substanceVSAdaptability or versatility

Solution Approach 1:

The patent nests T Tree structures within a grid-based multidimensional framework. Each grid cell contains a T Tree, and the grid structure provides the multidimensional indexing capability. This nesting allows T Tree's efficient memory utilization to be combined with K-D Tree's multidimensional partitioning.

Inventive Principle:
Principle #7Nested doll (Nesting)

Solution Approach 2:

The patent makes the index structure dynamic by allowing flexible data distribution across grid cells and T Trees. The structure can adapt to different data patterns and query types, providing both efficient memory utilization and versatile multidimensional indexing capability through dynamic routing of search operations.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS7428551B2“Gird plus T Tree” index method for quick orientation in massive memory database
Publication Date: 2008.09.23 LINKAGE TECHNOLOGY (NANJING) CO LTD
  • US7428551B2 patent drawing
  • US7428551B2 patent drawing
  • US7428551B2 patent drawing

AI summary

“Grid Plus T Tree” multidimensional index method in memory database partitions the whole record sets to different grid cells. Every grid data unit is connected with one data barrel, which loads records, through the grid directory. Every data unit is only mapped with one data barrel. For memory database, setting up a “T Tree” with these data units according to one field, so as to set up one “T Tree” for each data barrel according to one field. Then the grid directory can be presented by a k-dimensional (the dimension of keyword) array. The field ranges of these data units are called scale. Scale is the memory range of each “T Tree”. This invention successfully overcomes the shortcomings that the current index methods for memory database neither efficiently use the memory space nor suits multi-dimension. T Tree is much more efficient than K-D Tree or R Tree in using the memory space, and it has one more one-dimensional data structure during the process of grid partition, which can help store one field of the keyword as the index.