Search Cache Update Method for Hot Content

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current search cache systems face challenges in updating hot content information in a timely manner, leading to slower update speeds for hot content while maintaining a higher hit ratio for non-hot content, as the valid period of cache content is often set to balance both, resulting in suboptimal performance for hot content updates.

Innovation Solution

A method and apparatus for updating search cache that involves extracting and updating search terms for hot content into a first database, determining the validity of search terms in search requests, and querying a second database for cache content when valid, with invalid cache content prompting a search engine update to ensure timely updates of hot content information.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the valid period of cache content is extended to maintain a higher hit ratio for non-hot content, then the cache hit ratio is improved, but the update speed of hot content deteriorates

Engineering Contradiction:
Improvecache hit ratioVSAvoidupdate speed of hot content
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The patent segments the cache system into two distinct databases: a first database for storing search terms of hot content with shorter valid periods, and a second database for storing search terms of non-hot content with longer valid periods. This segmentation allows differential cache management where hot content can be updated quickly while non-hot content maintains high cache hit ratios, thus resolving the contradiction between cache reliability and update speed.

Inventive Principle:
Principle #1Segmentation

2Speed

If the valid period of cache content is shortened to improve update speed of hot content, then the update speed is improved, but the hit ratio for non-hot content deteriorates

Engineering Contradiction:
Improveupdate speed of hot contentVSAvoidcache hit ratio
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent applies local quality by assigning different valid period characteristics to different parts of the cache system. The first database (hot content) uses shorter valid periods for rapid updates, while the second database (non-hot content) uses longer valid periods to maintain high hit ratios. This localized differentiation resolves the contradiction by optimizing each segment according to its specific requirements rather than applying a uniform valid period to all content.

Inventive Principle:
Principle #3Local quality

3Device complexity

If a unified cache management approach is used for both hot and non-hot content, then the system complexity is reduced, but the performance for hot content updates deteriorates

Engineering Contradiction:
Improvecache management complexityVSAvoidupdate speed of hot content
Core Design Contradiction:
Device complexityVSSpeed

Solution Approach 1:

The patent divides the cache management system into two separate databases with different management strategies. The first database manages hot content with short valid periods and rapid update mechanisms, while the second database manages non-hot content with long valid periods. This segmentation enables optimized performance for hot content updates without significantly increasing overall system complexity, as each database follows a simple but differentiated management approach.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentEP3565292B1Method and device for searching for cache update
Publication Date: 2024.04.10 BEIJING QIYI CENTURY SCI & TECH CO LTD
  • EP3565292B1 patent drawingFigure 1
  • EP3565292B1 patent drawingFigure 2
  • EP3565292B1 patent drawingFigure 3

AI summary

Embodiments of the present application provide a method and apparatus for updating search cache, which relate to the technical field of multimedia. The method comprises: when hot content is updated, extracting a first search term corresponding to information of the hot content, and updating the first search term to a first database; when a search request is received, querying a pre-established first database according to a search term in the search request and determining whether a second search term is obtained; when the second search term is obtained and determined to be valid, querying a pre-established second database according to the second search term to obtain cache of a first search result; determining whether the cache of the first search result is valid; if yes, taking the information in the cache of the first search result as a first search request result; if no, forwarding the search request to a search engine, obtaining a second search request result and updating the second search request result into the second database. By applying embodiments of the present application, the update speed of hot content can be improved.