Synchronization Stream Indexing for Near-Real-Time Search

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems struggle to maintain search indexes for near-real time data in high throughput environments, particularly in cloud computing scenarios, leading to inefficiencies in data synchronization and search performance.

Innovation Solution

A method is implemented where search requests are categorized into search granularity classes, and a data synchronization stream is indexed to generate a search index, allowing for near-real time data access and search performance through the use of a hash-code map to manage multiple search requests concurrently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If data synchronization stream is indexed in real-time for near-real time search, then search speed is improved, but system complexity and resource consumption increase

Engineering Contradiction:
Improvesearch speedVSAvoidsystem complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent segments the search index into multiple granularity levels (fine-grained and coarse-grained indexes). The fine-grained index handles detailed search queries while the coarse-grained index handles broader search patterns. This segmentation allows the system to serve different search needs with appropriate index types, reducing the complexity of maintaining a single comprehensive real-time index while still providing fast search capabilities across different data granularities.

Inventive Principle:
Principle #1Segmentation

2Productivity

If multiple search requests are handled concurrently with high throughput, then productivity is improved, but data synchronization accuracy may deteriorate

Engineering Contradiction:
Improvesearch throughputVSAvoiddata synchronization accuracy
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent implements preliminary indexing actions where data is pre-processed and organized into multiple granularity indexes before search requests arrive. The system maintains pre-computed fine-grained and coarse-grained indexes that are updated incrementally as data arrives in the synchronization stream. This preliminary organization allows concurrent search requests to be handled efficiently without compromising data accuracy, as the indexing structure is already prepared and validated.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary indexing layer that mediates between the incoming data synchronization stream and multiple concurrent search requests. This intermediary maintains multiple granularity indexes that act as buffers, allowing search requests to be served from pre-processed data structures while the underlying data stream continues to synchronize. This intermediary layer isolates search operations from data synchronization operations, ensuring both high throughput and data accuracy.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If fine-grained search index is maintained for detailed search queries, then search precision is improved, but indexing time and resource usage increase

Engineering Contradiction:
Improvesearch precisionVSAvoidindexing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent segments the indexing workload into multiple granularity levels. Instead of maintaining a single fine-grained index for all search operations, the system creates fine-grained indexes for specific data subsets and coarse-grained indexes for broader queries. This segmentation allows the system to achieve high search precision for detailed queries when needed, while using coarser indexes for less demanding searches, thereby reducing overall indexing time and resource consumption.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies partial indexing by creating fine-grained indexes only for data portions that require detailed search capabilities, rather than indexing entire data sets at fine granularity. The system selectively maintains fine-grained indexes based on query patterns and data importance, using coarse-grained indexes for the remainder. This partial approach achieves sufficient search precision for critical queries while significantly reducing the time and resources required for comprehensive fine-grained indexing.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12475128B2Searching data on a synchronization data stream
Publication Date: 2025.11.18 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US12475128B2 patent drawing
  • US12475128B2 patent drawing
  • US12475128B2 patent drawing

AI summary

Embodiments of the present invention disclose a method, a computer system, and computer program products. A search request is received. One of one or more search granularity classes based on the subject matter of the search request is assigned. A data synchronization stream of data records to generate a search index based on the one or more search granularity classes is indexed. Responsive to indexing a predefined number of data records associated with the assigned search granularity class, a search based on the received search request is performed.