Dynamic Prefix Length Inversion Index for Search Input Recommendations

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data processing methods for input recommendations in search engines result in a large number of redundant index entries due to the vast number of prefixes, leading to inefficient use of index entries and increased computational costs.

Innovation Solution

The method involves generating prefixes of varying lengths, combining prefixes with the same content, determining the number of entries each prefix points to, and truncating or updating prefix lengths to ensure that only relevant entries are included in the index, thereby reducing redundancy and improving efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all prefixes for all recommended entries are listed to create a comprehensive inverted index, then the index coverage is improved, but the number of index entries becomes enormous and redundancy increases

Engineering Contradiction:
Improveindex coverageVSAvoidnumber of index entries
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent extracts only the necessary prefixes that meet the threshold criteria (entry count >= N and length <= max_prefix_length) from the complete set of all possible prefixes. This selective extraction removes redundant index entries while preserving the coverage needed for effective input recommendations.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies different quality criteria to different prefixes: only prefixes with sufficient entry coverage (>= N entries) and appropriate length (<= max_prefix_length) are included in the inverted index. This local quality filtering ensures that each included prefix entry serves a useful purpose, eliminating uniformly redundant entries.

Inventive Principle:
Principle #3Local quality

2Adaptability or versatility

If a comprehensive inverted index with all prefixes is created, then all possible input recommendations can be supported, but the computational cost and processing time increase

Engineering Contradiction:
Improveinput recommendation coverageVSAvoidindex processing time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent performs preliminary filtering of prefixes during the offline index generation phase, applying the N-threshold and max-prefix-length criteria before creating the inverted index. This preliminary action reduces the amount of data that needs to be processed and stored, thereby reducing computational cost and processing time while maintaining recommendation coverage.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the parameters of the inverted index by introducing two key constraints: minimum entry count (N) and maximum prefix length. These parameter changes transform the index from a comprehensive but inefficient structure to a optimized structure that balances coverage with computational efficiency.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If longer prefixes are included in the inverted index, then more precise input recommendations can be provided, but the number of rarely used index entries increases

Engineering Contradiction:
Improverecommendation precisionVSAvoidcomputational resource utilization
Core Design Contradiction:
Measurement precisionVSLoss of energy

Solution Approach 1:

The patent applies a local quality constraint on prefix length (max_prefix_length) to ensure that only prefixes of appropriate length are included. This prevents the inclusion of overly long prefixes that would provide minimal additional precision but would consume excessive computational resources and create rarely used index entries.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent introduces the max_prefix_length parameter to control the maximum length of prefixes in the inverted index. This parameter change balances recommendation precision with computational efficiency by preventing the inclusion of excessively long prefixes that would be rarely used and consume unnecessary resources.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9870433B2Data processing method and system of establishing input recommendation
Publication Date: 2018.01.16 ALIBABA GROUP HOLDING LTD
  • US9870433B2 patent drawing
  • US9870433B2 patent drawing
  • US9870433B2 patent drawing

AI summary

A data processing method of establishing an input recommendation is provided. The method establishes an inverted index having a variable prefix length based on entry number distribution, thus preventing the established inverted index from generating a number of index entries that are rarely used, and reducing the redundancy of the input recommendation index that is created.