A local cache update method, system, client and server
A technology of local cache and update method, applied in transmission systems, electrical components, etc., can solve the problem of repeated data update, and achieve the effect of data reduction, avoid data repeated update, and reduce pressure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] like figure 1 Shown is a flow chart of the method for updating a local cache provided by the first embodiment of the present invention. For convenience of description, only 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 a timestamp to each category data according to the update time of each category data.
[0042] In the embodiment of the present invention, the server divides all data of the software into several categories in advance, and adds a timestamp to each category data according to the update time of each category data on the server side. The data may be classified hierarchically according to the category to which the data belongs, or classified by keywords or tags, which is not limited here.
[0043] 2. The client determines whether there is data in the local cache, and executes step 4 if yes, otherwise executes step 3.
[0044] 3. In the data update requ...
Embodiment 2
[0061] like figure 2 Shown is a flowchart of a method for updating a local cache based on network data provided by the second embodiment of the present invention. The execution subject of the process in this embodiment is: figure 1 The client, for the convenience of description, 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 local cache of the client, the timestamp of each category data in the data update request is set to zero.
[0064] In step S202, when the client terminal 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 and the classification data with different time stamp...
Embodiment 3
[0068] like image 3 Shown is a flowchart of a method for updating a local cache based on network data provided by the third embodiment of the present invention. The execution body of the process in this embodiment is: figure 1 The server, for the convenience of description, 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 a timestamp to each classified data according to the update time of each classified data;
[0070] In step S302, the server receives a data update request initiated by the client, and the data update request includes the timestamp of each classified data;
[0071] In step S303, when determining 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 server sends the classification data with different time stamps and...
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