Cache Query Request Generation for Display Type Adaptation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional data caching systems for search results struggle to share cached content across different display types (page-by-page and cascade) due to distinct search request formats, leading to reduced cache hit rates and increased search engine visits.
Innovation Solution
Converting display type-specific search requests into uniform cache query requests based on a configured cache granularity, allowing search results to be stored and retrieved efficiently across different display types, thereby enhancing cache hit rates and reducing search engine visits.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If display type-specific search requests are used for caching, then search results can be tailored to specific display types (page-by-page or cascade), but cache hit rates decrease due to inability to share cached content across different display types
Solution Approach 1:
The patent segments the search request processing into two distinct paths: one for page-by-page display type and another for cascade display type. Each path generates and caches search requests with display type-specific parameters. This segmentation allows the system to maintain specialized caching strategies for each display type while preventing cache key conflicts, thereby improving cache hit rates within each segment while preserving overall adaptability.
Solution Approach 2:
The patent applies local quality by implementing display type-specific caching mechanisms where page-by-page requests use one caching strategy and cascade requests use another. Each display type receives customized search result formatting and caching behavior appropriate to its requirements. This localized approach ensures optimal performance for each display type while maintaining system-wide adaptability through the unified architecture that handles both types.
2Productivity
If separate caching strategies are implemented for different display types, then each display type can be optimized, but system complexity increases
Solution Approach 1:
The patent implements a universal caching architecture that handles both page-by-page and cascade display types through a single system. The caching mechanism is designed to be multi-functional, accepting display type as a parameter and automatically applying the appropriate caching strategy. This universal approach maintains high search processing efficiency for both display types while avoiding the complexity of completely separate caching systems, as the core caching infrastructure remains unified and reusable.
Solution Approach 2:
The patent introduces dynamic adaptability where the caching system automatically adjusts its behavior based on the detected display type. When a search request arrives, the system dynamically determines whether it is for page-by-page or cascade display and applies the corresponding caching parameters. This dynamic approach allows the system to optimize for each display type without requiring static, pre-configured separate systems, thereby balancing productivity and complexity through runtime adaptability.
3Reliability
If cache granularity is increased to improve cache sharing, then fewer cache entries are needed, but precision of cache matching decreases
Solution Approach 1:
The patent changes the parameters of cache keys to include display type-specific identifiers and formatted result sets. Instead of using uniform cache keys, the system adjusts cache key parameters to reflect the specific display type (page-by-page or cascade) and its associated result formatting requirements. This parameter change enables more precise cache matching within each display type category while still allowing cross-display-type sharing for common query patterns, effectively balancing cache sharing capability with matching precision.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Generating cache query requests is disclosed, including: receiving a user query from a device; generating a display type specific search request based at least in part on the user query; generating a cache query request based at least in part on the display type specific search request and a cache granularity; identifying search results corresponding to the cache query request stored in a cache; and extracting at least a portion of the search results corresponding to the cache query request based at least in part on a starting position parameter associated with the display type specific search request and a quantity of requested search results parameter associated with the display type specific search request.