CN108347461B - Offline caching method, device and system - Google Patents

Offline caching method, device and system Download PDF

Info

Publication number
CN108347461B
CN108347461B CN201710056636.1A CN201710056636A CN108347461B CN 108347461 B CN108347461 B CN 108347461B CN 201710056636 A CN201710056636 A CN 201710056636A CN 108347461 B CN108347461 B CN 108347461B
Authority
CN
China
Prior art keywords
resource
address
cache
content
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710056636.1A
Other languages
Chinese (zh)
Other versions
CN108347461A (en
Inventor
陈伟
郭斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710056636.1A priority Critical patent/CN108347461B/en
Publication of CN108347461A publication Critical patent/CN108347461A/en
Application granted granted Critical
Publication of CN108347461B publication Critical patent/CN108347461B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An offline cache method, device and system belong to the technical field of cache. The method comprises the following steps: the method comprises the steps that a first request sent to a resource server by a first terminal is obtained by a flow guiding device; if the resource address carried in the first request belongs to the effective resource address, the drainage device sends an offline cache notification to the cache device, so that the cache device notifies the resource content of the cache target resource according to the offline cache; the effective resource address refers to a resource address for acquiring an effective resource content address, and the resource content address refers to a resource address for acquiring resource content. When the invention carries out off-line caching, the effective resource address is provided for the caching equipment by the drainage equipment, and the caching equipment utilizes the effective resource address to simulate the interaction of one or more requests between the terminal and the resource server, so that the effective resource content address can be obtained, and the success rate of the bypass caching system for obtaining and caching the resource content is further improved.

Description

Offline caching method, device and system
Technical Field
The embodiment of the invention relates to the technical field of caching, in particular to an offline caching method, device and system.
Background
The bypass cache technology is a common data cache technology, and is used for storing resource content in a resource server on the internet into a bypass cache system, so that when a terminal requests the resource content from the resource server, the resource content can be acquired from the bypass cache system, and the data acquisition efficiency is improved.
The bypass cache system comprises a drainage device and a cache device. The flow guiding device is used for acquiring an uplink request sent by the terminal to the resource server, and redirecting the terminal to the cache device when the uplink request is confirmed to be used for requesting the acquired resource content of the target resource to be cached in the cache device, so that the terminal can acquire the resource content of the target resource from the cache device. The caching device is used for downloading and caching the resource content from the resource server and providing the cached resource content to the terminal.
In the prior art, a method for implementing offline caching in a bypass cache system is as follows: the method comprises the steps that a resource acquisition request sent by a terminal to a resource server is acquired by a flow guiding device, the resource acquisition request is used for requesting to acquire resource content of a target resource from the resource server, and the resource acquisition request carries a Uniform Resource Locator (URL) corresponding to the resource content of the target resource. The method comprises the steps that a drainage device determines a target resource requested to be acquired by a terminal according to a resource acquisition request, and counts the access heat of the target resource according to the target resource, when the access heat of the target resource meets a preset condition, the drainage device sends an offline cache notification to a cache device, wherein the offline cache notification carries a URL corresponding to the resource content of the target resource. After receiving the offline cache notification, the cache device sends a resource acquisition request to the resource server, wherein the resource acquisition request carries the URL corresponding to the resource content of the target resource, and the cache device receives and caches the resource content of the target resource sent by the resource server according to the resource acquisition request.
In order to prevent the resource contents from being stolen by others, URLs corresponding to the resource contents of some resources are dynamically generated by a resource server, and the effective duration of the dynamically generated URLs is short. For such resources, since a certain time period is required for receiving, sending, and processing the offline cache notification, when the cache device requests to acquire the resource content of the target resource from the resource server using the URL corresponding to the resource content, the URL may have failed, so that the offline cache cannot be completed finally.
Disclosure of Invention
The embodiment of the invention provides an offline caching method, device and system, which are used for solving the problem that a bypass caching system fails in offline caching of resource contents due to the fact that effective duration of a URL (uniform resource locator) corresponding to the resource contents is short.
In one aspect, an embodiment of the present invention provides an offline caching method, where the method includes: the method comprises the steps that a first request sent to a resource server by a first terminal is obtained by a flow guiding device; if the resource address carried in the first request belongs to the effective resource address, the drainage device sends an offline cache notification to the cache device, so that the cache device notifies the resource content of the cache target resource according to the offline cache; the effective resource address refers to a resource address for acquiring an effective resource content address, and the resource content address refers to a resource address for acquiring resource content. The cache device receives an offline cache notification sent by the drainage device; performing at least one request interaction with a resource server according to the offline cache notification to acquire a resource content address of the target resource; according to the resource content address of the target resource, requesting to acquire the resource content of the target resource from the resource server; the resource content of the target resource is stored.
In the scheme provided by the embodiment of the invention, the resource address carried in the obtained uplink request is identified through the flow guiding equipment, and when the resource address carried in the uplink request is determined to belong to the effective resource address, an offline cache notification is sent to the cache equipment, so that the cache equipment caches the resource content of the target resource according to the offline cache notification; the problem that in the prior art, the cache fails when the bypass cache system caches the resource content offline due to the fact that the effective duration of the URL corresponding to the resource content is short is solved; the effective time lengths of different resource addresses in multiple request interactions involved in the resource content obtaining process are analyzed, the resource addresses with the effective time lengths larger than the effective time lengths of the resource content addresses are set as the effective resource addresses, the effective resource addresses are provided for the cache equipment by the drainage equipment when offline cache is carried out, the cache equipment utilizes the effective resource addresses to simulate the terminal and the resource server to carry out one or multiple request interactions, the effective resource content addresses can be obtained, and the success rate of obtaining and caching the resource content is improved.
In one possible design, the first terminal obtains the resource content of the target resource from the resource server by at least two requests, the first request being one of the at least two requests.
In one possible design, before the drainage device sends the offline cache notification to the cache device, the method further includes: the flow guiding equipment acquires a resource address carried in the first request; if the resource address carried in the first request is matched with a first preset rule, the drainage device executes a step of sending an offline cache notification to the cache device; the first preset rule is a preset rule for identifying an effective resource address.
In one possible design, after the drainage device sends the offline cache notification to the caching device, the method further includes: the method comprises the steps that a drainage device obtains a second request sent by a second terminal to a resource server; and if the second request is used for requesting to acquire the resource content of the target resource from the resource server, the drainage device sends a redirection instruction to the second terminal, so that the second terminal requests to acquire the resource content of the target resource from the cache device according to the redirection instruction. The cache device receives a third request sent by the second terminal according to the redirection instruction, wherein the third request carries a storage address of the resource content of the target resource in the cache device; the cache equipment acquires the resource content of the target resource according to the storage address of the resource content of the target resource in the cache equipment; and the cache equipment sends the resource content of the target resource to the second terminal.
Optionally, before the diversion device sends the redirection instruction to the second terminal, the method further includes: when the second request is used for requesting to acquire resource content from the resource server, the drainage equipment identifies the unique identifier of the resource corresponding to the resource address carried in the second request according to a second preset rule; the drainage device matches the unique identifier of the resource corresponding to the resource address carried in the second request with the unique identifier of each resource cached in the caching device; and when the unique identifier of the resource corresponding to the resource address carried in the second request is the same as the unique identifier of the target resource, the drainage equipment executes the step of sending a redirection instruction to the second terminal.
In one possible design, the performing, by the cache device, at least one request interaction with the resource server according to the offline cache notification to obtain the resource content address of the target resource includes: the cache device performs at least one request interaction with the resource server according to the offline cache notification, and receives resource content address information from the resource server, wherein the resource content address information comprises a resource content address of the target resource; and the cache equipment extracts the resource content address of the target resource from the resource content address information according to a third preset rule.
In one possible design, after the caching device stores the resource content of the target resource, the method further includes: and the cache device sends a cache success notification to the drainage device, wherein the cache success notification carries the storage address of the resource content of the target resource in the cache device and the unique identifier of the target resource. Optionally, before the cache device sends the cache success notification to the drainage device, the method further includes: and the cache equipment extracts the unique identifier of the target resource from the resource content address of the target resource according to a second preset rule.
In the scheme provided by the embodiment of the invention, the identification and extraction of the resource address are realized by adopting a flexibly configurable rule base. The rule base may include the first preset rule, the second preset rule, the third preset rule and other preset rules described above. When a technician formulates a rule base, the technician can perform deep analysis aiming at different resource providers and different types of resources to formulate corresponding recognition or extraction rules. In addition, the rule base is preloaded in the drainage device and the cache device, so that the rule base can be used for carrying out the identification and extraction operations introduced above in the following process, the resource address can be identified and the unique identifier of the resource can be extracted from the resource address by using the preset rule, and the method is simple to operate and can be flexibly configured.
In another aspect, an embodiment of the present invention provides a drainage apparatus having a function of implementing a drainage apparatus side behavior in the above method example. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules or units corresponding to the above functions.
In one possible design, the structure of the drainage device includes a processor and a communication interface, and the processor is configured to support the drainage device to perform the corresponding functions in the above method. The communication interface is used to support communication between the drainage device and other devices. Further, the drainage device may also include a memory for coupling with the processor that holds the necessary program instructions and data for the drainage device.
In another aspect, an embodiment of the present invention provides a cache device, where the cache device has a function of implementing a behavior on the cache device side in the foregoing method example. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules or units corresponding to the above functions.
In one possible design, the cache device includes a processor and a communication interface, and the processor is configured to support the cache device to perform the corresponding functions in the above method. The communication interface is used for supporting communication between the cache device and other devices. Further, the caching device may also include a memory, coupled to the processor, that stores program instructions and data necessary for the caching device.
In another aspect, an embodiment of the present invention provides an offline cache system, which includes the drainage device and the cache device described in the above aspects.
In another aspect, an embodiment of the present invention provides a computer storage medium for storing computer software instructions for the drainage apparatus, which includes a program designed to execute the above aspects.
In another aspect, an embodiment of the present invention provides a computer storage medium for storing computer software instructions for the above caching apparatus, which includes a program designed to perform the above aspects.
Compared with the prior art, in the scheme of the embodiment of the invention, the resource address carried in the obtained uplink request is identified by the drainage equipment, and when the resource address carried in the uplink request is determined to belong to the effective resource address, the offline cache notification is sent to the cache equipment, so that the cache equipment caches the resource content of the target resource according to the offline cache notification; the problem that in the prior art, the cache fails when the bypass cache system caches the resource content offline due to the fact that the effective duration of the URL corresponding to the resource content is short is solved; the effective time lengths of different resource addresses in multiple request interactions involved in the resource content obtaining process are analyzed, the resource addresses with the effective time lengths larger than the effective time lengths of the resource content addresses are set as the effective resource addresses, the effective resource addresses are provided for the cache equipment by the drainage equipment when offline cache is carried out, the cache equipment utilizes the effective resource addresses to simulate the terminal and the resource server to carry out one or multiple request interactions, the effective resource content addresses can be obtained, and the success rate of obtaining and caching the resource content is improved.
Drawings
FIG. 1 is a schematic diagram of an application scenario provided by one embodiment of the present invention;
FIG. 2 is a flow diagram of multiple request interactions provided by one embodiment of the invention;
fig. 3 is a flowchart of an offline caching method according to an embodiment of the present invention;
fig. 4 is a flowchart of an offline caching method according to another embodiment of the present invention;
FIG. 5A is a schematic block diagram of a network device provided by one embodiment of the present invention;
fig. 5B is a schematic structural diagram of a network device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings.
The system architecture and the service scenario described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not limit the technical solution provided in the embodiment of the present invention, and it can be known by those skilled in the art that the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems along with the evolution of the system architecture and the appearance of a new service scenario.
Referring to fig. 1, a schematic diagram of a possible application scenario provided by the embodiment of the present invention is shown. The application scenario may include: an offline caching system 10, at least one terminal 20 and at least one resource server 30.
The offline cache system 10 includes a drainage device 11 and a cache device 12. The drainage device 11 is provided with a mirror interface or an optical splitter, and is capable of acquiring an uplink request sent by the terminal 20 to the resource server 30, and redirecting the terminal 20 to the cache device 12 when it is determined that the uplink request is used to request that the resource content of the target resource is cached in the cache device 12, so that the terminal 20 acquires the resource content of the target resource from the cache device 12. The caching device 12 is used for downloading and caching resource content from the resource server 30 and providing the cached resource content to the terminal 20. The drainage device 11 and the cache device 12 establish communication connection through a network. The network may be a wireless network or a wired network.
The terminal 20 is used to request resource content from the resource server 30. In the embodiment of the present invention, the type of the resource content is not limited, such as text, picture, audio, video, and the like. The terminal 20 may be an electronic device such as a mobile phone, a tablet computer, an e-book reader, a multimedia player, a PDA (Personal Digital Assistant), a wearable device, and the like. Alternatively, a browser or a client having a function of requesting to acquire resource content from the resource server 30 and displaying the resource content may be installed and operated in the terminal 20. The number of terminals 20 is usually plural. In the embodiment of the present invention, the first terminal may be any one of the terminals 20, and the second terminal may be any one of the terminals 20.
The resource server 30 is used to provide resource content to the terminal 20. The resource server 30 may be one server, a server cluster composed of a plurality of servers, or a cloud computing service center. Optionally, the resource server 30 is a background server of a website or a background server of an application.
The offline cache system 10 can establish communication connection with the terminal 20 and the resource server 30 through a network, and communication connection between the terminal 20 and the resource server 30 can also be established through a network. The network may be a wireless network or a wired network.
When the terminal requests to acquire the resource content from the resource server, the terminal may perform multiple request interactions with the resource server. In the continuous request interaction, the resource server provides a plurality of different resource addresses to the terminal in sequence. The last resource address provided by the resource server to the terminal is usually a resource content address, which refers to a resource address for acquiring resource content. The resource server provides one or more other resource addresses in sequence before providing the resource content address for the terminal, and the terminal requests the resource content address from the resource server step by step through the one or more other resource addresses and then requests the resource content from the resource server according to the resource content address.
Referring to fig. 2, taking a flow of requesting to obtain content of a video resource from a video website as an example, a plurality of consecutive HyperText Transfer Protocol (HTTP) request interactions may be performed between a browser of a terminal and a website server. The interactive process may include the following steps:
step 21, the browser sends a request for acquiring a playing page to a website server;
the playing page acquiring request is used for requesting to acquire a video playing page. The playing page acquisition request carries a playing page address, and the playing page address refers to a resource address for acquiring a video playing page.
The address of the play page (denoted as "first URL") is exemplarily shown as follows:
http://v.youku.com/v_show/id_XMTgzMzc4NzUwMA==.html
step 22, the website server sends a video playing page to the browser;
the video playback page may be a HyperText Markup Language (HTML) page. The video playing page comprises contents such as player addresses, picture addresses, characters and the like. The player address refers to a resource address for acquiring the video player.
Step 23, the browser sends a player acquisition request to the website server;
the browser analyzes the video playing page fed back by the website server, and analyzes the player address from the video playing page. And then, the browser sends a player acquisition request to the website server, wherein the player acquisition request carries the analyzed player address, and the player acquisition request is used for requesting to acquire the video player.
The player address (denoted as "second URL") is exemplarily shown as follows:
http://static.youku.com/v20161101.0/v/swf/youkustream.swf
step 24, the website server sends a video player to the browser;
and the browser displays the video player fed back by the website server in a video playing page. The user can select the video resource to be played in the video playing page. The browser sends the video resource selected to be played by the user to the video player, the video player encodes the video resource to generate a resource address corresponding to the video playing address, and the resource address corresponding to the video playing address is a resource address used for acquiring the playing address of the video resource.
The resource address (denoted as "third URL") corresponding to the video playing address is exemplarily shown as follows:
http://k.youku.com/player/getFlvPath/sid/148005900671910c120b4_00/st/flv/fileid/03000208005837C7D0A2602BEEFCF9D92E0770-4BA0-2A59-F1C6-1AD12E480F67?K=c9a10aa2dffdcd36282be9c4&hd=0&myp=0&ts=384&ymovie=1&ypp=2&ctype=10&ev=1&token=0949&oip=1857573509&ep=UrX6SZnCBsq7JZOcyPh4Nw0WaICOLdhWSplnikQPGu%2B4H2YOp7Bwo448hLdXYUz5hLtvGqvwOX4c9Tliw8EwJ5mwh%2FWJaetqdRKS2ULJ5CaMcjkKBWtlFj%2F3c%2B1F%2B5kefqJpFBX%2FlD4%3D&yxon=1&special=true
step 25, the browser sends a video playing address acquisition request to the website server;
the video playing address obtaining request carries a resource address corresponding to the video playing address, and the video playing address obtaining request is used for requesting to obtain the video playing address.
Step 26, the website server sends video playing address information to the browser;
the video playing address information carries a video playing address. Illustratively, the video playing address information fed back to the browser by the website server is text information in a json (javascript Object notification) format, which is exemplarily shown as follows:
[{"fileid":"03000208005837C7D0A2602BEEFCF9D92E0770-4BA0-2A59-F1C6-1AD12E480F67.flv","server":"http://61.128.153.137/youku/6775AAB08953881CFA049C5136/03000208005837C7D0A2602BEEFCF9D92E0770-4BA0-2A59-F1C6-1AD12E480F67.flv"}]
the browser parses the above information to obtain a video playing address (denoted as "fourth URL") as shown in the following exemplary:
http://61.128.153.137/youku/6775AAB08953881CFA049C5136/03000208005837C7D0A2602BEEFCF9D92E0770-4BA0-2A59-F1C6-1AD12E480F67.flv
step 27, the browser sends a video content acquisition request to a website server;
the video content obtaining request carries a video playing address, and the video content obtaining request is used for requesting to obtain video content.
The web server sends the video content to the browser, step 28.
And after the browser receives the video content sent by the website server, playing the video content.
Generally, in order to prevent the resource provider from being stolen by others, the resource content address (i.e. the fourth URL in the above example) is dynamically generated by the resource server, and the effective time length is short. Whereas the validity duration of the resource address requested to be retrieved before the resource content address is relatively long. For example, by analyzing the valid durations of the URLs involved in the above 4 HTTP request interactions, it is found that the valid duration of the resource address corresponding to the video playing address (i.e. the third URL in the above example) is longer. For the bypass cache system, when offline caching is performed, if the resource address with longer effective duration (for example, the third URL in the above example) is provided to the cache device by the drainage device, the cache device performs one or more request interactions with the resource server by using the resource address with longer effective duration, so that an effective resource content address can be obtained, and the success rate of obtaining and caching resource content is further improved.
The embodiments of the present invention will be described in further detail below based on the common aspects related to the embodiments of the present invention described above.
Referring to fig. 3, a flowchart of an offline caching method according to an embodiment of the present invention is shown. The method may include several steps as follows.
Step 301, a first request sent by a first terminal to a resource server is acquired by a drainage device.
The first terminal may be any one of the terminals. The first terminal obtains the resource content of the target resource from the resource server through at least two requests, and the target resource can be any resource provided by the resource server. The first request is one of the at least two requests.
In connection with the above example shown in fig. 2, the first terminal requests to acquire the content of the video resource from the resource server through multiple HTTP requests. The request sent by the first terminal to the resource server includes a playing page acquisition request, a player acquisition request, a video playing address acquisition request, a video content acquisition request and the like. The method includes that the drainage device obtains any one request sent by the first terminal to the resource server, and in this embodiment, the request obtained by the drainage device is recorded as a "first request".
Step 302, the flow directing device detects whether the resource address carried in the first request belongs to an effective resource address.
The request sent by the terminal to the resource server carries the resource address. Optionally, when the terminal and the resource server interact through an HTTP request, the resource address is a URL. The resource addresses carried in different requests also differ. In connection with the above example shown in fig. 2, the resource address may be a playing page address (i.e., a first URL), a player address (i.e., a second URL), a resource address corresponding to the video playing address (i.e., a third URL), a video playing address (i.e., a fourth URL), and so on.
The effective resource address refers to a resource address for acquiring an effective resource content address, and the resource content address refers to a resource address for acquiring resource content. The effective resource content address refers to a resource content address for which the validity period has not elapsed, and the cache device can successfully download the corresponding resource content from the resource server through the effective resource content address.
In practical application, a technician may analyze a plurality of different resource addresses involved in multiple request interactions, and set a resource address having an effective duration greater than the effective duration of the resource content address as an effective resource address. Optionally, when the analysis determines that there are a plurality of resource addresses with valid durations longer than the valid durations of the resource content addresses, the resource address with the largest valid duration in the plurality of resource addresses is set as the valid resource address.
In connection with the example shown in fig. 2, it is assumed that the technician analyzes 4 URLs involved in 4 HTTP request interactions and finds that the effective duration of the third URL is the largest, and then sets the third URL as an effective resource address. Correspondingly, after acquiring any request sent by the terminal to the resource server, the drainage device detects whether the URL carried in the request is the third URL.
Optionally, step 302 includes several substeps as follows:
1. the flow guiding equipment acquires a resource address carried in the first request;
2. the flow guiding equipment detects whether the resource address carried in the first request is matched with a first preset rule or not;
3. if the resource address carried in the first request is matched with the first preset rule, the flow guiding equipment determines that the resource address carried in the first request belongs to an effective resource address;
4. if the resource address carried in the first request is not matched with the first preset rule, the flow guiding device determines that the resource address carried in the first request does not belong to the effective resource address.
The first preset rule is a preset rule for identifying an effective resource address. After determining the effective resource address, a technician may analyze the characteristics of the effective resource address and formulate a corresponding preset rule for identifying the effective resource address. Wherein the characteristics of the effective resource address include, but are not limited to, at least one of: the structure, length, necessary characters included, fields in the request, etc. of the effective resource address. The first preset rule may be expressed by a Regular Expression (Regular Expression).
Step 303, if the resource address carried in the first request belongs to an effective resource address, the drainage device sends an offline cache notification to the cache device.
Accordingly, the caching device receives an offline caching notification sent by the drainage device.
Optionally, the offline cache notification carries the first request, and the offline cache notification is used to notify the cache device to perform offline cache on the resource content of the target resource.
Optionally, before sending the offline cache notification to the caching device, the drainage device further performs the following steps:
1. the drainage equipment determines a target resource corresponding to the first request;
the target resource corresponding to the first request refers to a resource which is used for requesting to obtain through multiple request interactions to which the first request belongs. Corresponding rules can be preset in the drainage equipment, and the target resources corresponding to the first request are determined according to the rules. Optionally, the rule may be used to extract the unique identifier of the target resource from the valid resource address carried by the first request.
2. Updating the access heat corresponding to the target resource by the drainage equipment;
the access heat corresponding to the target resource is used for indicating the times of requesting to access the target resource by each user. Optionally, after the target resource corresponding to the first request is determined by the drainage device, the access heat corresponding to the target resource is added by 1, so that the access heat corresponding to the target resource is updated.
3. And when the access heat corresponding to the target resource reaches a preset threshold value, the drainage equipment sends an offline cache notification to the cache equipment.
In practical application, the value of the preset threshold can be set according to the requirement of triggering to cache the resource content. For example, the preset threshold is 100000 times.
When the access heat corresponding to the target resource reaches a preset threshold value, the drainage equipment sends an offline cache notification to the cache equipment; when the access heat degree corresponding to the target resource does not reach the preset threshold value, the drainage device does not execute the step of sending the offline cache notification to the cache device, and the drainage device continues to accumulate the access heat degree corresponding to the target resource until the access heat degree corresponding to the target resource reaches the preset threshold value, and then the offline cache notification is sent to the cache device.
Optionally, before sending the offline cache notification to the caching device, the drainage device further performs the following steps: the drainage equipment determines a target resource corresponding to the first request; detecting whether the resource content of the target resource is cached in the caching equipment; if the resource content of the target resource is not cached in the caching equipment, the drainage equipment sends an offline caching notification to the caching equipment; if the resource content of the target resource is cached in the caching device, the drainage device does not need to send an offline caching notification to the caching device. In one example, the unique identifier of the resource corresponding to the resource content cached in the cache device is stored in the drainage device, and the drainage device detects whether the resource content of the target resource is cached in the cache device according to the unique identifier. In another example, the drainage device sends an inquiry request to the cache device, where the inquiry request carries a unique identifier of the target resource, and after receiving the inquiry request, the cache device determines whether the cache device itself has cached the resource content of the target resource, and sends an inquiry result to the drainage device, where the inquiry result is cached or uncached.
In an example, if the resource address carried in the first request belongs to an effective resource address, the traffic directing device determines a target resource corresponding to the first request, and sends an offline cache notification to the cache device when it is determined that the resource content of the target resource is not stored in the cache device and the access heat corresponding to the target resource reaches a preset threshold.
And step 304, the cache device performs at least one request interaction with the resource server according to the offline cache notification to obtain the resource content address of the target resource.
And the cache equipment performs at least one request interaction with the resource server according to the first request carried in the offline cache notification to acquire the resource content address of the target resource.
With reference to the example shown in fig. 2, assuming that the third URL is an effective resource address, the offline cache notification sent by the drainage device to the cache device carries a video playing address acquisition request, where the video playing address acquisition request carries a resource address (that is, the third URL) corresponding to the video playing address. After receiving the offline cache notification, the cache device reads the video playing address acquisition request from the offline cache notification, sends the video playing address acquisition request to the resource server, and receives the video playing address (that is, the fourth URL) sent by the resource server.
Optionally, step 304 includes several sub-steps as follows:
1. the cache device performs at least one request interaction with the resource server according to the offline cache notification, and receives resource content address information from the resource server;
2. and the cache equipment extracts the resource content address of the target resource from the resource content address information according to a third preset rule.
The resource content address information includes a resource content address of the target resource. The third preset rule refers to a preset rule for identifying and extracting the resource content address from the resource content address information. The technical personnel can analyze the characteristics of the resource content address in advance and formulate a corresponding preset rule for identifying and extracting the resource content address. Wherein the characteristics of the resource content address include, but are not limited to, at least one of: the structure, length, necessary characters included, location in the resource content address information, etc. of the resource content address. The third preset rule may be represented by a regular expression.
In the embodiment of the present invention, when the drainage device sends the offline cache notification to the cache device, the resource address carried in the notification is the effective resource address with a longer effective duration, so that when the cache device requests to acquire the resource content address from the resource server by using the effective resource address, the success rate is ensured.
Step 305, the cache device requests to obtain the resource content of the target resource from the resource server according to the resource content address of the target resource.
The cache device sends a resource content obtaining request to the resource server, the resource content obtaining request carries a resource content address of the target resource which is just fed back by the resource server, and the resource server obtains the resource content of the target resource from the cache data according to the resource content address of the target resource and provides the resource content to the cache device. Accordingly, the caching device receives the resource content of the target resource sent by the resource server.
In the embodiment of the invention, the cache equipment can acquire the effective resource content address from the resource server, so that the resource content can be successfully requested to acquire from the resource server based on the effective resource content address, and the success rate of acquiring the resource content is fully improved.
In step 306, the caching device stores the resource content of the target resource.
The cache device stores the resource content of the target resource, that is, the cache device completes offline caching of the resource content of the target resource.
Optionally, after the caching device obtains the resource content address of the target resource from the resource server, the following steps are further performed:
1. the cache equipment extracts the unique identifier of the target resource from the resource content address of the target resource according to a second preset rule;
the second preset rule refers to a preset rule for identifying and extracting a unique identifier of the resource from the resource content address. The technical personnel can analyze the characteristics of the unique identifier of the resource in advance and formulate a corresponding preset rule for identifying and extracting the unique identifier of the resource. Wherein the characteristics of the unique identification of the resource include, but are not limited to, at least one of: the structure, length, necessary characters included, location in the resource content address, etc. of the unique identification of the resource. The second preset rule may be represented by a regular expression.
2. After successfully caching the resource content of the target resource, the caching device sends a caching success notification to the drainage device, wherein the caching success notification carries the storage address of the resource content of the target resource in the caching device and the unique identifier of the target resource.
The cache success notification is used for notifying the drainage device that the resource content of the target resource has been successfully cached in the cache device.
Correspondingly, the stream guidance equipment receives the cache success notification sent by the cache equipment, and correspondingly stores the unique identifier of the target resource and the storage address of the resource content of the target resource in the cache equipment.
In the scheme provided by the embodiment of the invention, the resource address carried in the obtained uplink request is identified through the flow guiding equipment, and when the resource address carried in the uplink request is determined to belong to the effective resource address, an offline cache notification is sent to the cache equipment, so that the cache equipment caches the resource content of the target resource according to the offline cache notification; the problem that in the prior art, the cache fails when the bypass cache system caches the resource content offline due to the fact that the effective duration of the URL corresponding to the resource content is short is solved; the effective time lengths of different resource addresses in multiple request interactions involved in the resource content obtaining process are analyzed, the resource addresses with the effective time lengths larger than the effective time lengths of the resource content addresses are set as the effective resource addresses, the effective resource addresses are provided for the cache equipment by the drainage equipment when offline cache is carried out, the cache equipment utilizes the effective resource addresses to simulate the terminal and the resource server to carry out one or multiple request interactions, the effective resource content addresses can be obtained, and the success rate of obtaining and caching the resource content is improved.
Furthermore, as the resource content of the off-line cache can be successfully increased by the bypass cache system, the bypass cache system can provide the resource content for more user requests, so that the acceleration effect of the bypass cache system is improved, the speed of acquiring the resource content by the terminal is improved, and the internet experience of the user is further improved.
In an optional embodiment provided based on the embodiment shown in fig. 3, as shown in fig. 4, the offline caching method provided in the embodiment of the present invention further includes the following steps.
Step 401, the drainage device obtains a second request sent by the second terminal to the resource server.
The second terminal may be any one of the terminals. The first terminal and the second terminal may be the same or different.
The second terminal obtains the resource content of the target resource from the resource server through at least two requests, and the target resource can be any resource provided by the resource server. The second request is one of the at least two requests.
The method includes that the drainage device obtains any request sent by the second terminal to the resource server, and in this embodiment, the request obtained by the drainage device is recorded as a "second request".
In step 402, the drainage device detects whether the second request is for requesting resource content of the target resource from the resource server.
Optionally, step 402 comprises several sub-steps as follows:
1. when the second request is used for requesting to acquire resource content from the resource server, the drainage equipment identifies the unique identifier of the resource corresponding to the resource address carried in the second request according to a second preset rule;
and the drainage equipment acquires the resource address carried in the second request, detects whether the resource address carried in the second request is a resource content address, and if the resource address carried in the second request is detected to be the resource content address, the drainage equipment identifies and extracts the unique identifier of the resource from the resource content address according to a second preset rule.
The way for detecting whether the resource address is the resource content address by the drainage device is the same as or similar to the way for detecting whether the resource address belongs to the valid resource address described above, and is not described herein again. For the description of the second predetermined rule, reference is made to the above, and no further description is made here.
2. The drainage device matches the unique identifier of the resource corresponding to the resource address carried in the second request with the unique identifier of each resource cached in the caching device;
the drainage device may store a list containing the unique identifiers of the resources cached in the caching device, and the drainage device queries the list to detect whether the list includes the unique identifier of the resource identified in the second request.
3. And when the unique identifier of the resource corresponding to the resource address carried in the second request is the same as the unique identifier of the target resource, the drainage device determines that the second request is used for requesting to acquire the resource content of the target resource from the resource server.
In step 403, if the second request is used to request to acquire the resource content of the target resource from the resource server, the drainage device sends a redirection instruction to the second terminal.
The redirection indication carries the storage address of the resource content of the target resource in the cache device. The redirection indication is used for indicating the second terminal to request the resource content of the target resource from the cache device.
Correspondingly, the second terminal receives the redirection instruction sent by the stream guidance equipment, and sends a third request to the cache equipment according to the redirection instruction, wherein the third request carries the storage address of the resource content of the target resource in the cache equipment.
In step 404, the cache device receives a third request sent by the second terminal according to the redirection instruction.
Step 405, the cache device obtains the resource content of the target resource according to the storage address of the resource content of the target resource in the cache device.
And the cache equipment reads the resource content of the target resource from the cache data according to the storage address of the resource content of the target resource in the cache equipment.
In step 406, the caching device sends the resource content of the target resource to the second terminal.
Correspondingly, the second terminal receives the resource content of the target resource sent by the cache device and displays the resource content of the target resource.
In the scheme provided by the embodiment of the invention, after the cache device successfully caches the resource content of the target resource, when the second terminal requests to acquire the resource content of the target resource, the drainage device guides the second terminal to the cache device for acquisition, so that the efficiency of the terminal for acquiring the resource content is improved.
In the embodiment of the invention, the identification and extraction of the resource address are realized by adopting a flexibly configurable rule base. The rule base may include the first preset rule, the second preset rule, the third preset rule and other preset rules described above. When a technician formulates a rule base, the technician can perform deep analysis aiming at different resource providers and different types of resources to formulate corresponding recognition or extraction rules. In addition, the rule base is pre-loaded in the drainage device and the cache device, so that the rule base can be subsequently used for carrying out the identification and extraction operations introduced above.
In the above method embodiment, the technical solution provided by the present invention is described only from the interaction perspective of the drainage device and the cache device. The above steps related to the drainage device side may be implemented separately as an offline caching method of the drainage device side, and the steps related to the caching device side may be implemented separately as an offline caching method of the caching device side.
The above-mentioned scheme provided by the embodiment of the present invention is introduced mainly from the perspective of interaction between the drainage device and the cache device. It is understood that the network device (e.g. the streaming device, the caching device) includes a hardware structure and/or a software module (or unit) for performing the above functions. The elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein may be embodied in hardware or in a combination of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present teachings.
In the embodiment of the present invention, the network device (e.g., a drainage device, a cache device) may be divided into the functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 5A shows a schematic diagram of a possible structure of the network device involved in the above embodiments, in the case of an integrated unit. The network device 500 includes: a processing unit 502 and a communication unit 503. The processing unit 502 is configured to control and manage actions of the network device 500. For example, when network device 500 is a drainage device, processing unit 502 is to enable network device 500 to perform steps 301, 302, and 303 in fig. 3, steps 401, 402, and 403 in fig. 4, and/or to perform other steps of the techniques described herein. When network device 500 is a caching device, processing unit 502 is configured to enable network device 500 to perform steps 304, 305, and 306 of fig. 3, steps 404, 405, and 406 of fig. 4, and/or to perform other steps of the techniques described herein. The communication unit 503 is used to support communication between the network device 500 and other network devices. The network device 500 may also include a storage unit 501 for storing program codes and data of the network device 500.
The processing Unit 502 may be a Processor or a controller, such as a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication unit 503 may be a communication interface, a transceiver circuit, etc., wherein the communication interface is a generic term and may include one or more interfaces, such as an interface between a drainage device and a cache device. The storage unit 501 may be a memory.
When the processing unit 502 is a processor, the communication unit 503 is a communication interface, and the storage unit 501 is a memory, the network device according to the embodiment of the present invention may be the network device shown in fig. 5B.
Referring to fig. 5B, the network device 510 includes: a processor 512, a communication interface 513, and a memory 511. Optionally, network device 510 may also include a bus 514. Wherein, the communication interface 513, the processor 512 and the memory 511 may be connected to each other by a bus 514; the bus 514 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 514 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5B, but this is not intended to represent only one bus or type of bus.
The network device shown in fig. 5A or fig. 5B may be a drainage device or a caching device.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware or in software executed by a processor. The software instructions may be comprised of corresponding software modules (or units) that may be stored in Random Access Memory (RAM), flash Memory, Read Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), Electrically Erasable Programmable Read Only Memory (EEPROM), registers, a hard disk, a removable hard disk, a compact disc Read Only Memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in a network device. Of course, the processor and the storage medium may reside as discrete components in a network device.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in connection with the embodiments of the invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the embodiments of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only specific embodiments of the present invention, and are not intended to limit the scope of the embodiments of the present invention.

Claims (23)

1. An offline caching method, the method comprising:
the method comprises the steps that a first request sent to a resource server by a first terminal is obtained by a flow guiding device;
the drainage equipment analyzes the resource address carried in the first request;
if the effective duration of the resource address carried in the first request is longer than the effective duration of the resource content address, setting the resource address as the effective resource address, and then sending an offline cache notification to cache equipment by the drainage equipment, so that the cache equipment notifies the resource content of the cache target resource according to the offline cache;
the effective resource address refers to a resource address for acquiring an effective resource content address, the effective resource content address refers to a resource content address for which an effective period has not elapsed, and the resource content address refers to a resource address for acquiring resource content.
2. The method according to claim 1, wherein the first terminal obtains the resource content of the target resource from the resource server by at least two requests, and wherein the first request is one of the at least two requests.
3. The method of claim 1, wherein before the streaming device sends the offline cache notification to the caching device, further comprising:
if the resource address carried in the first request belongs to the effective resource address, the target resource corresponding to the first request is determined by the drainage equipment;
the drainage equipment updates the corresponding access heat of the target resource;
and when the access heat corresponding to the target resource reaches a preset threshold value, the drainage device executes the step of sending an offline cache notification to the cache device.
4. The method according to any one of claims 1 to 3, wherein after the drainage device sends the offline cache notification to the cache device, the method further comprises:
the drainage equipment acquires a second request sent to the resource server by a second terminal;
if the second request is used for requesting to acquire the resource content of the target resource from the resource server, the drainage device sends a redirection instruction to the second terminal, so that the second terminal requests to acquire the resource content of the target resource from the cache device according to the redirection instruction.
5. The method of claim 4, wherein before the directing device sends the redirection indication to the second terminal, further comprising:
when the second request is used for requesting to acquire resource content from the resource server, the drainage equipment identifies the unique identifier of the resource corresponding to the resource address carried in the second request according to a second preset rule;
the flow guiding device matches the unique identifier of the resource corresponding to the resource address carried in the second request with the unique identifier of each resource cached in the caching device;
and when the unique identifier of the resource corresponding to the resource address carried in the second request is the same as the unique identifier of the target resource, the drainage device executes the step of sending a redirection instruction to the second terminal.
6. An offline caching method, the method comprising:
the cache device receives an offline cache notification sent by the drainage device; the offline cache notification is sent by the drainage device after a first request sent by a first terminal to a resource server is acquired, a resource address carried in the first request is analyzed to determine that the effective duration is longer than the effective duration of a resource content address, the resource address is set as the effective resource address, the effective resource address is a resource address used for acquiring the effective resource content address, the effective resource content address is a resource content address which has not passed the effective period temporarily, and the resource content address is a resource address used for acquiring the resource content;
the cache equipment performs at least one request interaction with the resource server according to the offline cache notification to acquire a resource content address of a target resource;
the cache equipment requests to acquire the resource content of the target resource from the resource server according to the resource content address of the target resource;
the cache device stores the resource content of the target resource.
7. The method according to claim 6, wherein the first terminal obtains the resource content of the target resource from the resource server by at least two requests, and wherein the first request is one of the at least two requests.
8. The method according to claim 6, wherein the performing, by the caching device, at least one request interaction with the resource server according to the offline caching notification to obtain the resource content address of the target resource comprises:
the cache device performs at least one request interaction with the resource server according to the offline cache notification, and receives resource content address information from the resource server, wherein the resource content address information comprises a resource content address of the target resource;
and the cache equipment extracts the resource content address of the target resource from the resource content address information according to a third preset rule.
9. The method according to any one of claims 6 to 8, wherein after the caching device stores the resource content of the target resource, the method further comprises:
and the cache device sends a cache success notification to the drainage device, wherein the cache success notification carries the storage address of the resource content of the target resource in the cache device and the unique identifier of the target resource.
10. The method of claim 9, wherein before the caching device sends the caching success notification to the draining device, further comprising:
and the cache equipment extracts the unique identifier of the target resource from the resource content address of the target resource according to a second preset rule.
11. The method of claim 9, wherein after the caching device sends a cache success notification to the draining device, further comprising:
the cache device receives a third request sent by a second terminal according to a redirection instruction, wherein the third request carries a storage address of the resource content of the target resource in the cache device; the redirection instruction is sent to the second terminal by the drainage equipment after detecting that the second terminal requests the resource server to acquire the resource content of the target resource;
the cache device acquires the resource content of the target resource according to the storage address of the resource content of the target resource in the cache device;
and the cache equipment sends the resource content of the target resource to the second terminal.
12. A drainage apparatus, characterized in that the drainage apparatus comprises: a communication unit;
the communication unit is used for acquiring a first request sent by a first terminal to a resource server;
the communication unit is further configured to analyze, by the drainage device, a resource address carried in the first request; if the effective duration of the resource address carried in the first request is longer than the effective duration of the resource content address, setting the resource address as the effective resource address, and then sending an offline cache notification to cache equipment by the drainage equipment, so that the cache equipment notifies the resource content of the cache target resource according to the offline cache;
the effective resource address refers to a resource address for acquiring an effective resource content address, the effective resource content address refers to a resource content address for which an effective period has not elapsed, and the resource content address refers to a resource address for acquiring resource content.
13. The drainage apparatus of claim 12, wherein the first terminal obtains the resource content of the target resource from the resource server by at least two requests, the first request being one of the at least two requests.
14. The drainage apparatus of claim 12, further comprising: a processing unit;
the processing unit is configured to determine the target resource corresponding to the first request when the resource address carried in the first request belongs to the effective resource address;
the processing unit is further configured to update the access heat corresponding to the target resource;
the communication unit is further configured to execute the step of sending an offline cache notification to the cache device when the access heat corresponding to the target resource reaches a preset threshold.
15. The drainage apparatus of any of claims 13 to 14,
the communication unit is further configured to acquire a second request sent by a second terminal to the resource server;
the communication unit is further configured to send a redirection instruction to the second terminal when the second request is used to request to acquire the resource content of the target resource from the resource server, so that the second terminal requests to acquire the resource content of the target resource from the cache device according to the redirection instruction.
16. The drainage apparatus of claim 15, further comprising: a processing unit;
the processing unit is configured to, when the second request is used to request to acquire resource content from the resource server, identify, according to a second preset rule, a unique identifier of a resource corresponding to a resource address carried in the second request;
the processing unit is further configured to match the unique identifier of the resource corresponding to the resource address carried in the second request with the unique identifier of each resource cached in the caching device;
the communication unit is further configured to execute the step of sending a redirection instruction to the second terminal when the unique identifier of the resource corresponding to the resource address carried in the second request is the same as the unique identifier of the target resource.
17. A caching device, characterized in that the caching device comprises: a communication unit and a processing unit;
the communication unit is used for receiving an offline cache notification sent by the drainage equipment; the offline cache notification is sent by the drainage device after a first request sent by a first terminal to a resource server is acquired, a resource address carried in the first request is analyzed to determine that the effective duration is longer than the effective duration of a resource content address, the resource address is set as the effective resource address, the effective resource address is a resource address used for acquiring the effective resource content address, the effective resource content address is a resource content address which has not passed the effective period temporarily, and the resource content address is a resource address used for acquiring the resource content;
the communication unit is further configured to perform at least one request interaction with the resource server according to the offline cache notification to obtain a resource content address of the target resource;
the communication unit is further configured to request to acquire the resource content of the target resource from the resource server according to the resource content address of the target resource;
and the processing unit is used for storing the resource content of the target resource.
18. The caching device of claim 17, wherein the first terminal obtains the resource content of the target resource from the resource server by at least two requests, and wherein the first request is one of the at least two requests.
19. The caching device of claim 17,
the communication unit is configured to perform at least one request interaction with the resource server according to the offline cache notification, and receive resource content address information from the resource server, where the resource content address information includes a resource content address of the target resource;
the processing unit is further configured to extract a resource content address of the target resource from the resource content address information according to a third preset rule.
20. The caching device of any one of claims 17 to 19,
the communication unit is further configured to send a cache success notification to the drainage device, where the cache success notification carries a storage address of the resource content of the target resource in the cache device and the unique identifier of the target resource.
21. The caching device of claim 20,
the processing unit is further configured to extract the unique identifier of the target resource from the resource content address of the target resource according to a second preset rule.
22. The caching device of claim 21,
the communication unit is further configured to receive a third request sent by a second terminal according to a redirection instruction, where the third request carries a storage address of the resource content of the target resource in the cache device; the redirection instruction is sent to the second terminal by the drainage equipment after detecting that the second terminal requests the resource server to acquire the resource content of the target resource;
the processing unit is further configured to obtain the resource content of the target resource according to a storage address of the resource content of the target resource in the cache device;
the communication unit is further configured to send the resource content of the target resource to the second terminal.
23. An offline caching system, the system comprising: drainage equipment and cache equipment;
the drainage device is according to any one of claims 12 to 16;
the caching device of any one of claims 17 to 22.
CN201710056636.1A 2017-01-25 2017-01-25 Offline caching method, device and system Active CN108347461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710056636.1A CN108347461B (en) 2017-01-25 2017-01-25 Offline caching method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710056636.1A CN108347461B (en) 2017-01-25 2017-01-25 Offline caching method, device and system

Publications (2)

Publication Number Publication Date
CN108347461A CN108347461A (en) 2018-07-31
CN108347461B true CN108347461B (en) 2020-10-16

Family

ID=62961814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710056636.1A Active CN108347461B (en) 2017-01-25 2017-01-25 Offline caching method, device and system

Country Status (1)

Country Link
CN (1) CN108347461B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110309474A (en) * 2019-06-05 2019-10-08 上海易点时空网络有限公司 Document off-line system and method based on Electron

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227671A (en) * 2015-10-16 2016-01-06 北京恒华伟业科技股份有限公司 Off-line data caching method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7114036B2 (en) * 2004-01-14 2006-09-26 International Business Machines Corporation Method and apparatus for autonomically moving cache entries to dedicated storage when false cache line sharing is detected
CN103517234A (en) * 2012-06-27 2014-01-15 中兴通讯股份有限公司 Short message delivery method and system thereof
CN103686684A (en) * 2012-09-20 2014-03-26 腾讯科技(深圳)有限公司 Offline cache method and device
WO2014094468A1 (en) * 2012-12-17 2014-06-26 北京奇虎科技有限公司 System, method and browser client for enabling browser data synchronization
CN106161569B (en) * 2015-04-24 2019-05-28 华为软件技术有限公司 Recommendation, buffer replacing method and the equipment of Web content
CN104935653A (en) * 2015-06-09 2015-09-23 中国人民解放军国防科学技术大学 Bypass cache method for visiting hot spot resource and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227671A (en) * 2015-10-16 2016-01-06 北京恒华伟业科技股份有限公司 Off-line data caching method and system

Also Published As

Publication number Publication date
CN108347461A (en) 2018-07-31

Similar Documents

Publication Publication Date Title
US20150271202A1 (en) Method, device, and system for detecting link layer hijacking, user equipment, and analyzing server
CN105930528B (en) Webpage caching method and server
CN104584011B (en) Method and system for being inserted into the secure network of WEB content and WEB service
WO2016101635A1 (en) Method, apparatus and device for synchronizing login status, and computer storage medium
CN103455478A (en) Webpage access accelerating method and device
WO2015070752A1 (en) Method and system for issuing recommended information
US20150058452A1 (en) Video loading method, device and system of mobile terminal
CN111787345B (en) Interactive resource processing method and device based on network live broadcast room, server and storage medium
CN106534268B (en) Data sharing method and device
US20170187837A1 (en) Ad download method, the client and the server
EP3902266A1 (en) Processing method for dragging video data and proxy server
CN110636068B (en) Method and device for identifying unknown CDN node in CC attack protection
US11706498B2 (en) Playback method, system, device and readable storage medium of live broadcast content
CN104618388B (en) Fast registration login method and corresponding resetting server, information server
CN104394475A (en) Streaming media file playing method and media player
CN104219230A (en) Method and device for identifying malicious websites
CN106789413B (en) Method and device for detecting proxy internet surfing
CN104023046A (en) Mobile terminal recognition method and device
CN110796462A (en) Method and device for guiding flow
CN108347461B (en) Offline caching method, device and system
CN109688099B (en) Server-side database collision identification method, device, equipment and readable storage medium
CN106411978B (en) Resource caching method and device
CN110177096B (en) Client authentication method, device, medium and computing equipment
CN105959344B (en) web pushing method and device
CN108920589B (en) Browsing hijacking identification method, device, server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant