Web Cache Optimization via Anticipatory Data Combination

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current caching methods for website data search either have a low cache usage rate or result in resource wastage due to excessive data storage, failing to balance efficiency and resource management effectively.

Innovation Solution

A method and system that generate combinations of dataset elements for caching, where application data is retrieved from the database only when needed and stored in the cache for subsequent use, ensuring that the most likely data is cached after the first search request, thereby optimizing cache usage and resource allocation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If only the requested application data is stored in cache, then the cache size is kept small, but the cache usage rate is low and search speed cannot be effectively increased

Engineering Contradiction:
Improvecache sizeVSAvoidsearch speed
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent applies preliminary action by proactively caching related application data before it is actually requested. When a user requests data for a specific condition combination, the system not only caches the requested data but also pre-caches data for related condition combinations that are likely to be requested next. This anticipatory caching strategy ensures that subsequent search operations can be served from cache, thereby increasing search speed without requiring the cache to store all possible data combinations.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If all relevant application data is stored in cache, then the cache usage rate is significantly increased, but a huge amount of data is cached causing resource waste

Engineering Contradiction:
Improvecache usage rateVSAvoidstorage resource waste
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The patent applies local quality by making the cache content adaptive and context-specific rather than uniform. The system analyzes the actual access patterns and user behavior to dynamically determine which related data combinations should be cached. Instead of caching all possible data combinations uniformly, the system selectively caches only those combinations that are locally relevant based on the current search context and historical access patterns. This selective caching approach increases cache usage rate while minimizing storage resource waste.

Inventive Principle:
Principle #3Local quality

3Loss of time

If comprehensive data is cached for all condition combinations, then subsequent searches can be quickly retrieved, but most cached data remains unused in practical applications

Engineering Contradiction:
Improvedata retrieval timeVSAvoidunused cached data
Core Design Contradiction:
Loss of timeVSLoss of substance

Solution Approach 1:

The patent applies feedback by implementing a monitoring mechanism that tracks actual cache access patterns and user search behavior. The system continuously collects feedback on which cached data combinations are actually used and which remain unused. Based on this feedback, the system dynamically adjusts the caching strategy, refining the selection of related data combinations to cache. This feedback-driven approach ensures that cached data is both quickly retrievable (maintaining low retrieval time) and practically useful (minimizing unused cached data).

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS10268768B2Method and system for preparing website data in response to a webpage request
Publication Date: 2019.04.23 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US10268768B2 patent drawing
  • US10268768B2 patent drawing
  • US10268768B2 patent drawing

AI summary

A method of preparing application data for visitors of a website is performed at a computer server. The computer server receives a webpage request initiated by a client device, the webpage request including a first element from a first dataset and a second element from a second dataset. In response, the computer server generates two sets of combinations between the first and second elements and respective elements of the second and first datasets, respectively. The computer server queries a cache for application data associated with each combination of elements. For each combination that returns a cache miss, the computer server retrieves the associated application data from an application database and stores the application data in the cache. The computer generates a response using application data associated with the first and second elements and returns the response to the client device.