UGC Message Caching Using Attribute Functions to Reduce Storage

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current caching mechanisms for User Generated Content (UGC) messages on servers face issues such as residual old messages in cache memory and excessive storage space usage due to the need for counters to track reading frequencies, leading to inefficient use of server disk space and cache capacity.

Innovation Solution

A method and apparatus for caching UGC messages that acquire and analyze attribute information, including time and state attributes, using preset functions to determine whether messages should be cached based on a threshold of accumulated function values, eliminating the need for additional storage for reading times and optimizing cache space usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional caching mechanisms use counters to track reading frequencies, then caching accuracy is improved, but storage space consumption increases due to residual old messages and excessive counter data

Engineering Contradiction:
Improvecaching accuracyVSAvoidstorage space consumption
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent extracts and removes the counter mechanism from the caching system. Instead of tracking reading frequencies with counters, the system directly evaluates messages based on their attributes (time, type, sender) using preset functions. This extraction eliminates the storage overhead of counters while maintaining caching accuracy through attribute-based evaluation.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the evaluation parameters from frequency-based (counter values) to attribute-based (time, type, sender characteristics). By using preset functions that process message attributes directly, the system achieves accurate caching decisions without requiring additional storage for frequency tracking, thus resolving the contradiction between precision and storage consumption.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If cache memory stores more UGC messages, then cache hit rate is improved, but server disk load increases due to insufficient cache space management

Engineering Contradiction:
Improvecache hit rateVSAvoidserver disk load
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The patent implements a dynamic caching strategy where messages are evaluated in real-time using preset functions based on their attributes. The cache dynamically adjusts which messages to store and retrieve based on current message characteristics rather than static frequency counters. This dynamic approach optimizes cache utilization, increasing hit rates while reducing unnecessary disk operations.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system uses feedback from message attribute evaluation to determine caching decisions. The preset functions continuously assess incoming messages against stored messages using attribute comparison, providing feedback that guides which messages should be cached. This feedback mechanism ensures high cache hit rates while efficiently managing cache space, reducing server disk load.

Inventive Principle:
Principle #23Feedback

3Measurement precision

If the cache evaluates multiple message attributes using complex functions, then caching accuracy is improved, but computational complexity increases

Engineering Contradiction:
Improvecaching accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the message evaluation process into distinct attribute dimensions (time attribute, type attribute, sender attribute). Each dimension is evaluated separately using dedicated preset functions, and the results are combined to make caching decisions. This segmentation reduces computational complexity by breaking down complex evaluation into manageable, independent function calls while maintaining high caching accuracy.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10506063B2Method and apparatus for caching user generated content messages
Publication Date: 2019.12.10 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US10506063B2 patent drawing
  • US10506063B2 patent drawing

AI summary

A method for caching User Generated Content (UGC) messages performed at a server is provided, in which first and second attribute information of an UGC message is acquired, a function value corresponding to the first attribute information is obtained based on the first attribute information and a preset first function, a function value corresponding to the second attribute information is obtained based on the second attribute information and a preset second function, the UGC message is added to the cache memory of the server when it is determined from the function values corresponding to the first and the second attribute information that the first and second attribute information of the UGC message meets a preset condition. Additionally, an apparatus and a server for caching UGC messages are also provided.