Unlock instant, AI-driven research and patent intelligence for your innovation.

Cache file updating method, apparatus and system

A technology for caching files and storage media, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as caching of resources to be loaded that cannot be updated in real time, and achieve the effect of solving caching

Inactive Publication Date: 2017-09-08
BEIJING QUNAR SOFTWARE TECH
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a method, device and system for updating cache files, so as to at least solve the technical problem that the existing method for caching resources to be loaded cannot accurately cache real-time updated resources to be loaded

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cache file updating method, apparatus and system
  • Cache file updating method, apparatus and system
  • Cache file updating method, apparatus and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] According to an embodiment of the present invention, an embodiment of a method for updating a cache file is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, Although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0031] figure 1 is a flowchart of a method for updating a cache file according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0032] Step S102, detecting whether the resource to be loaded of the current page has changed, wherein the resource to be loaded at least includes: page information of at least one page to be loaded;

[0033] Step S104, when it is detected that the resource to be loaded has changed, obtain a difference result between...

Embodiment 2

[0076] According to an embodiment of the present invention, an embodiment of an apparatus for updating a cache file is also provided.

[0077] Figure 8 is a schematic structural diagram of a device for updating cache files according to an embodiment of the present invention, such as Figure 8 As shown, the device includes: a detection module 801 , a first update module 803 and a second update module 805 .

[0078] The detection module 801 is configured to detect whether the resource to be loaded of the current page has changed, wherein the resource to be loaded at least includes: page information of at least one page to be loaded;

[0079] The first update module 803 is configured to obtain a difference result between the resource to be loaded and the original cache file when it is detected that the resource to be loaded has changed;

[0080] The second update module 805 is configured to update the original cache file according to the difference result.

[0081] It should ...

Embodiment 3

[0105] According to an embodiment of the present invention, a system embodiment for updating cache files is also provided.

[0106] Figure 9 is a schematic structural diagram of a system for updating a cache file according to an embodiment of the present invention, such as Figure 9 As shown, the system includes: a server 901 and a client 903 .

[0107] The server 901 is configured to detect whether the resource to be loaded on the current page has changed, and if it is detected that the resource to be loaded has changed, obtain the difference result between the resource to be loaded and the original cache file, and update the original cache according to the difference result document;

[0108] The client 903 is connected in communication with the server, and is used to provide the server with resources to be loaded on the current page.

[0109] It should be noted that the above-mentioned current page is the page that the user is currently accessing through the terminal de...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a cache file updating method, apparatus and system. The method comprises the steps of detecting whether a to-be-loaded resource of a current page is changed or not, wherein the to-be-loaded resource at least comprises page information of at least one to-be-loaded page; when it is detected that the to-be-loaded resource is changed, obtaining a difference result of the to-be-loaded resource and an original cache file; and updating the original cache file according to the difference result. According to the cache file updating method, apparatus and system, the technical problem that the to-be-loaded resource updated in real time cannot be accurately cached in an existing to-be-loaded resource caching method is solved.

Description

technical field [0001] The present invention relates to the field of file management, in particular to a method, device and system for updating cached files. Background technique [0002] With the rapid development of science and technology, the network has generally appeared in people's life, work and study. In daily life, it can be seen everywhere that people obtain information on the Internet through smart mobile devices such as mobile phones and tablets. However, when a user holding a smart mobile device or using a fixed device (for example, a computer) browses the web in an environment with a relatively poor network signal, after the user clicks a link on the web page, the terminal device (that is, the above-mentioned mobile device or fixed device) ) request the data of the page to be loaded from the network. If the data volume of the page to be loaded is relatively large, especially when the network signal is relatively poor, the opening speed of the page to be loaded...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
CPCG06F16/9574
Inventor 张子天
Owner BEIJING QUNAR SOFTWARE TECH