Multi-Layer Data Index Segmentation for Storage Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data index construction methods require a fixed rule and occupy significant storage space, limiting their efficiency and adaptability to data characteristics.

Innovation Solution

A data index establishment method that segments raw data based on key characteristics, using monotone functions to create mapping relationships that are stored efficiently, allowing for multi-layer indexing to improve search efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If a B+ tree index is constructed according to a fixed rule, then data search efficiency is improved, but the index occupies a large amount of storage space

Engineering Contradiction:
Improvedata search efficiencyVSAvoidindex storage space
Core Design Contradiction:
SpeedVSVolume of stationary object

Solution Approach 1:

The patent segments the raw data table into multiple data segments based on key ranges, and constructs separate index structures for each segment. This segmentation allows the index to only store mappings for its respective segment rather than the entire dataset, significantly reducing the storage space required for each index while maintaining efficient search capability within each segment.

Inventive Principle:
Principle #1Segmentation

2Speed

If a B+ tree index is constructed according to a fixed rule, then data search efficiency is improved, but the index construction complexity increases

Engineering Contradiction:
Improvedata search efficiencyVSAvoidindex construction complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent applies different index construction strategies to different data segments based on their local characteristics. Each data segment can have its own optimized index structure tailored to its specific key range and data distribution, rather than forcing a uniform index structure across all data. This local optimization reduces overall construction complexity while maintaining search efficiency.

Inventive Principle:
Principle #3Local quality

3Productivity

If an index is constructed to reflect data characteristics, then query efficiency is improved, but the index structure becomes more complex

Engineering Contradiction:
Improvequery efficiencyVSAvoidindex structure complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces a hierarchical dimension to the index structure by creating multiple levels of indexing. The first level divides the data into segments, and subsequent levels provide further refinement within each segment. This dimensional approach allows the index to adapt to data characteristics at different granularities, improving query efficiency for various types of queries while keeping each individual index level relatively simple.

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

Data Source

PatentUS11868332B2Data index establishment method, and apparatus
Publication Date: 2024.01.09 HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
  • US11868332B2 patent drawing
  • US11868332B2 patent drawing
  • US11868332B2 patent drawing

AI summary

A data index establishment method obtains M raw data segments and a first-layer mapping relationship through segment fitting on raw data in a raw data table, and further obtains N first key segments and a second-layer mapping relationship through segment fitting on a first key of each raw data segment. In a subsequent data query process, a multi-layer mapping relationship is input from a to-be-queried key sequentially in descending order, until a location of the to-be-queried key in the raw data table is located.