Local cache updating method and system, client and server
A local cache and update method technology, applied in transmission systems, electrical components, etc., can solve the problem of repeated data updates, achieve data reduction, avoid repeated data updates, and reduce pressure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] Such as figure 1 Shown is a flow chart of the local cache update method provided by the first embodiment of the present invention. For ease of description, only the parts related to the embodiment of the present invention are shown.
[0041] 1. The server divides the data into several categories in advance, and adds time stamps for each category of data according to the update time of each category of data.
[0042] In the embodiment of the present invention, the server classifies all software data into several categories in advance, and adds time stamps to each category data according to the update time of each category data on the server side. Wherein, the data can be classified hierarchically according to the category to which the data belongs, or can be classified by keywords or tags, which is not limited here.
[0043] 2. The client judges whether there is data in the local cache, if yes, perform step 4, otherwise, perform step 3.
[0044] 3. In the data update r...
Embodiment 2
[0061] Such as figure 2 Shown is the flowchart of the local cache update method based on network data provided by the second embodiment of the present invention, and the execution subject of the process in this embodiment is figure 1 For the convenience of description, the client only shows the part related to the embodiment of the present invention.
[0062] In step S201, the client initiates a data update request to the server, and the data update request includes the timestamp of each classified data;
[0063] Preferably, when there is no data in the client's local cache, the time stamps of each classified data in the data update request are set to zero.
[0064] In step S202, when the client receives the server and determines that the time stamp of the classification data included in the data update request is different from the time stamp of the corresponding classification data stored in the server, the returned classification data with different time stamps and the cl...
Embodiment 3
[0068] Such as image 3 Shown is the flowchart of the local cache update method based on network data provided by the third embodiment of the present invention, and the execution subject of the process in this embodiment is figure 1 For ease of description, the server only shows the part related to the embodiment of the present invention.
[0069] In step S301, the server divides the data into several categories in advance, and adds time stamps to each category data according to the update time of each category data;
[0070] In step S302, the server receives the data update request initiated by the client, and the data update request includes the time stamp of each classified data;
[0071] In step S303, when the server determines that the time stamp of the classification data included in the data update request is different from the time stamp of the corresponding classification data stored in the server, it sends the classification data with different time stamps and the t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com