HTTP Client Cache Content Display Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing HTTP-based content acquisition methods cause delays in displaying content on clients due to server validity verification processes, which reduce display efficiency.

Innovation Solution

The proposed method involves a client acquiring content from a cache, displaying it, and requesting server verification only when the content's validity period expires, while simultaneously acquiring and displaying new content if verification fails, and performing automatic refreshes after preset time intervals to ensure timely updates.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the client requests the server to verify validity of the content before displaying, then the content validity is ensured, but the display efficiency is reduced due to verification delay

Engineering Contradiction:
Improvecontent validityVSAvoiddisplay efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The client performs validity verification in advance by checking the validity period of cached content before displaying. If the content is still within its validity period, the server's verification is skipped. This preliminary check avoids unnecessary verification delays while ensuring content validity, thus resolving the contradiction between reliability and display efficiency

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The client autonomously determines content validity by comparing the current time with the validity period stored in the cache, without requiring server verification for every content display. This self-service mechanism eliminates dependency on server verification, improving display efficiency while maintaining content reliability through local validity checking

Inventive Principle:
Principle #25Self-service

2Reliability

If the client always requests new content from the server, then the content is always updated, but the network bandwidth is wasted and server load increases

Engineering Contradiction:
Improvecontent freshnessVSAvoidnetwork bandwidth
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The client checks the validity period of cached content before requesting new content from the server. If the cached content is still valid (within its validity period), the client uses the cached version without contacting the server. This preliminary validity check prevents unnecessary network requests, saving bandwidth and reducing server load while ensuring content freshness through validity-based updates

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The client periodically checks content validity based on the stored validity period and only requests updates when the validity period expires. This periodic validation mechanism ensures content freshness without continuous network communication, optimizing bandwidth usage and server load while maintaining up-to-date content

Inventive Principle:
Principle #19Periodic action

Data Source

PatentEP2680533B8Content acquiring method and client based on HTTP
Publication Date: 2017.12.13 HUAWEI DEVICE CO LTD

AI summary

Embodiments of the present invention provide an HTTP-based content acquisition method and client. A method includes: acquiring, by a client according to an acquired content identifier, a first content corresponding to the content identifier and a validity period of the first content from a cache; displaying, by the client, the first content; requesting, by the client according to the validity period of the first content, a server to verify validity of the first content; requesting, by the client, to acquire a second content corresponding to the content identifier from the server if the validity verification performed by the server for the first content fails; and displaying, by the client, the second content. In this way, the time of displaying the content on the client can be shortened, thereby improving the display efficiency of the client.