Cloud Data Retrieval Using Flat N-Gram Indexes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Cloud-based data lakes face challenges in storing massive amounts of data inexpensively while ensuring quick data retrieval, particularly for interactive user interfaces and real-time analytics, due to high latencies and inefficient indexing methods like tree-based structures, which result in slow search times for substring matches.

Innovation Solution

The system stores electronic data as indexed records in a flat data structure, using n-grams for efficient substring matching, and leverages serverless technologies like AWS Lambda and S3 for cost-effective and fast data retrieval.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Weight of stationary object

If traditional storage systems are used for cloud-based data lakes, then data can be stored at low cost with high capacity, but data retrieval time becomes excessively slow due to high latency

Engineering Contradiction:
Improvestorage costVSAvoiddata retrieval time
Core Design Contradiction:
Weight of stationary objectVSLoss of time

Solution Approach 1:

The patent segments the data retrieval process by separating hot data (frequently accessed) from cold data (infrequently accessed) and storing them in different locations with different access characteristics. This allows the system to maintain low-cost storage for cold data while providing fast access for hot data, resolving the contradiction between storage cost and retrieval speed.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary action by pre-processing and indexing data before it needs to be queried. Data is transformed into various formats (parquet, avro, json) and indexed in advance, so when a query arrives, the system can quickly locate and retrieve relevant data without performing heavy processing during the actual retrieval operation.

Inventive Principle:
Principle #10Preliminary action

2Speed

If complex indexing structures are implemented to speed up substring searches, then search performance improves, but system complexity and resource consumption increase significantly

Engineering Contradiction:
Improvesearch speedVSAvoidindexing structure complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent creates simplified copies of the data in pre-processed formats (parquet, avro, json) and maintains inverted indexes that map search terms to data locations. These copies use straightforward data structures rather than complex hierarchical indexes, enabling fast substring searches while keeping the system manageable and resource-efficient.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent changes the parameters of data storage by transforming data into different formats optimized for specific query types. By converting data to columnar formats like parquet and maintaining inverted indexes with term-document mappings, the system achieves fast search performance without requiring complex multi-dimensional indexing structures.

Inventive Principle:
Principle #35Parameter changes

3Weight of stationary object

If data is stored in raw format in cloud storage, then storage capacity is maximized and cost is minimized, but data retrieval and processing become extremely slow

Engineering Contradiction:
Improvestorage costVSAvoiddata processing throughput
Core Design Contradiction:
Weight of stationary objectVSProductivity

Solution Approach 1:

The patent segments data into different storage formats based on access patterns and query requirements. Raw data is stored in cloud storage for cost-effective bulk storage, while processed data in parquet, avro, and json formats is maintained for fast querying. This segmentation allows the system to leverage both low-cost storage and high-performance processing simultaneously.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary data processing and transformation when data is ingested, converting raw data into multiple formatted versions and creating indexes in advance. This pre-processing work is done during data ingestion rather than during query execution, enabling fast data processing throughput when queries are submitted without incurring additional processing costs at query time.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12619587B2System for retrieval of large datasets in cloud environments
Publication Date: 2026.05.05 MICRO FOCUS LLC
  • US12619587B2 patent drawing
  • US12619587B2 patent drawing
  • US12619587B2 patent drawing

AI summary

A system and method are provided that store electronic data describing events that have occurred in a computing system, index the electronic data to create indexed data records; and store the indexed data records in computer memory as part of a flat data structure.