Client Webpage Loading via Reference Cache and Differential Data
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current webpage loading methods waste transmission resources due to repetitive data transmission, as browsers treat webpages with different addresses as disconnected and fail to recognize data repeatability.
Innovation Solution
A method where a client terminal searches for a reference webpage matching a preset condition locally and notifies the server to use it as a reference, sending only differential data to load the complete webpage, thereby reducing redundant data transmission.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the browser transmits complete webpage data for each different web address, then the webpage loading is ensured to be complete and accurate, but transmission resources are wasted due to repetitive data transmission
Solution Approach 1:
The webpage data is segmented into two parts: a reference webpage (common template/base data) and differential data (specific modifications). Instead of transmitting the complete webpage data every time, only the differential part is transmitted, while the reference part is reused from local cache. This segmentation resolves the contradiction by maintaining completeness through the reference+differential combination while reducing transmission resources by excluding repetitive reference data.
Solution Approach 2:
The reference webpage is preliminarily stored in the local cache during the first access or when a matching template is found. This preliminary action allows subsequent webpages with similar structures to reuse the cached reference data, eliminating the need to retransmit it. The differential data is then calculated and transmitted only, resolving the contradiction between ensuring completeness and reducing transmission overhead.
2Reliability
If the browser treats webpage resources with different web addresses as completely disconnected, then each webpage is loaded independently ensuring accuracy, but the repeatability of data is ignored causing wasted transmission resources
Solution Approach 1:
Instead of treating each webpage as completely independent, the system creates a copy of the reference webpage from local cache and applies differential modifications to it. This copying approach allows the browser to recognize data repeatability across different web addresses while maintaining loading accuracy through the differential updates. The transmitted data volume is reduced because only the differential portion (not the entire webpage) is transmitted.
3Reliability
If the complete webpage data is transmitted for every request, then the webpage presentation speed is ensured to be accurate, but the transmission resources are wasted and presentation speed is ultimately reduced
Solution Approach 1:
The differential data (the specific modifications from the reference webpage) is extracted and transmitted separately from the common reference webpage data. This extraction allows the system to maintain presentation accuracy by applying the differential data to the cached reference, while improving presentation speed by reducing the amount of data that needs to be transmitted over the network. The reference webpage remains in cache and is reused, eliminating repetitive transmission of identical data.
Data Source
AI summary
The present invention discloses a webpage loading method, a client terminal and a server. The webpage loading method includes: receiving, by a client terminal, a webpage accessing request input by a user; searching locally, by the client terminal, for a reference webpage meeting a preset match condition with the webpage; sending, by the client terminal, the webpage accessing request to a server, and notifying, by the client terminal, the server to use the reference webpage as a reference; receiving, by the client terminal, differential data from the server; and loading, by the client terminal, to obtain a complete webpage according to the reference webpage and the differential data. By means of the present invention, transmission resources can be saved during transmission of webpage resources.


