CN111385316B - Resource refreshing method, access method and device - Google Patents

Resource refreshing method, access method and device Download PDF

Info

Publication number
CN111385316B
CN111385316B CN201811609626.7A CN201811609626A CN111385316B CN 111385316 B CN111385316 B CN 111385316B CN 201811609626 A CN201811609626 A CN 201811609626A CN 111385316 B CN111385316 B CN 111385316B
Authority
CN
China
Prior art keywords
resource
picture
source
cache
refreshing
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
CN201811609626.7A
Other languages
Chinese (zh)
Other versions
CN111385316A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811609626.7A priority Critical patent/CN111385316B/en
Publication of CN111385316A publication Critical patent/CN111385316A/en
Application granted granted Critical
Publication of CN111385316B publication Critical patent/CN111385316B/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/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a resource refreshing method, which is applied to CDN nodes of a content delivery network, wherein the method comprises the following steps: receiving a resource refreshing request from a first user terminal, wherein the resource refreshing request comprises a first resource access identifier corresponding to a first source resource and first resource attribute information, and the first resource attribute information corresponds to any one of a plurality of copy resources of the first source resource; generating a first resource cache identifier according to the resource refreshing request, wherein the first resource cache identifier comprises a first resource access identifier, and the first resource cache identifier corresponds to the plurality of copy resources; and setting the cache corresponding to the first resource cache identification as a failure state so as to refresh the plurality of copy resources of the first source resource. By adopting the embodiment of the application, the plurality of duplicate resources of the first source resource can be refreshed only by submitting the resource refreshing request of any one of the duplicate resources corresponding to the first source resource, so that the duplicate resources corresponding to the source resources can be efficiently refreshed.

Description

Resource refreshing method, access method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a resource refreshing method, a resource access method, and a resource access device.
Background
A Content Delivery Network CDN, which is called a Content Delivery Network entirely, is a novel Network Content service system, and is a distributed Network established and covered on a bearer Network and composed of edge node (may be called CDN node) servers distributed in different areas.
Different from the traditional data transmission mode taking a Web Server as a center, the CDN system can cache resources (such as Web pages, pictures, audio, video, and the like) of a source station to edge nodes distributed in different areas, so that a user can obtain required resources nearby, response speed and success rate of user access are improved, user experience is improved, and pressure on the source station can be reduced.
In a CDN system, a resource provider may update resources that have been delivered to CDN nodes. In order to adapt to different pages, display screens, network conditions or requirements of clients, resource providers often configure copy resources with different formats, sizes or compression degrees for the same source resource.
Therefore, a resource refreshing method is needed to refresh the resources cached in the CDN nodes.
Disclosure of Invention
The embodiment of the application provides a resource refreshing method and device, so that resources cached in CDN nodes can be refreshed conveniently.
The embodiment of the application also provides a resource access method and a resource access device, so as to access the refreshed resources cached in the CDN node.
The embodiment of the application provides a picture refreshing method and device, so that a picture cached in a CDN node can be refreshed.
The embodiment of the application also provides a picture access method and a picture access device, so that the refreshed pictures cached in the CDN node can be accessed.
The embodiment of the application adopts the following technical scheme:
in a first aspect, an embodiment of the present application provides a resource refreshing method, which is applied to a content delivery network CDN node, where the method includes:
receiving a resource refreshing request from a first user terminal, wherein the resource refreshing request comprises a first resource access identifier corresponding to a first source resource and first resource attribute information, and the first resource attribute information corresponds to any one of a plurality of copy resources of the first source resource;
generating a first resource cache identifier according to the resource refreshing request, wherein the first resource cache identifier comprises the first resource access identifier, and the first resource cache identifier corresponds to the plurality of copy resources;
and setting the cache corresponding to the first resource cache identification to be in a failure state so as to refresh the plurality of copy resources of the first source resource.
Optionally, in the method provided in the first aspect of the embodiment of the present application, generating, according to the resource refresh request, a first resource cache identifier corresponding to the first source resource includes:
identifying the first resource attribute information contained in the resource refresh request;
replacing the first resource attribute information with a preset character string;
and generating the first resource cache identifier based on the first resource access identifier and the preset character string.
Optionally, in the method provided in the first aspect of the embodiment of the present application, identifying the first resource attribute information included in the resource refresh request specifically includes:
and identifying the first resource attribute information contained in the resource refreshing request by using a regular expression.
Optionally, in the method provided in the first aspect of the embodiment of the present application, the setting of the cache corresponding to the first resource cache identifier as a failure state to refresh the multiple copy resources of the first source resource specifically includes:
and setting the caches corresponding to the plurality of copy resources to be in a failure state respectively so as to refresh the plurality of copy resources of the first source resource.
Optionally, in the method provided in the first aspect of the embodiment of the present application, the receiving a resource refresh request from a first user equipment includes:
and receiving the resource refreshing request sent by a resource refreshing end, wherein the resource refreshing request is sent by the resource refreshing end based on a resource refreshing instruction sent by the first user terminal.
Optionally, in the method provided in the first aspect of the embodiment of the present application, the first source resource is specifically any one of a picture resource, an audio resource, and a video resource.
In a second aspect, an embodiment of the present application provides a resource access method, which is applied to a content delivery network CDN node, where the method includes:
receiving a resource access request from a second user terminal, wherein the resource access request comprises a second resource access identifier corresponding to a second source resource and second resource attribute information, the second resource attribute information corresponds to a target resource which is requested to be accessed, and the target resource is any one of a plurality of copy resources of the second source resource;
determining a second resource cache identifier corresponding to the second source resource based on the resource access request, wherein the second resource cache identifier includes the second resource access identifier;
and extracting the target resource based on the second resource cache identification and the second resource attribute information.
Optionally, in the method provided by the second aspect of the embodiment of the present application, determining, based on the resource access request, a second resource cache identifier corresponding to the second source resource, includes:
identifying the second resource attribute information contained in the resource access request;
replacing the second resource attribute information with a preset character string;
and determining the second resource cache identifier based on the second resource access identifier and the preset character string.
Optionally, in the method provided by the second aspect of the embodiment of the present application, identifying the second resource attribute information included in the resource access request specifically includes:
and identifying the second resource attribute information contained in the resource access request by using a regular expression.
Optionally, in the method provided by the second aspect of the embodiment of the present application, extracting the target resource based on the second resource cache identifier and the second resource attribute information includes:
determining the target resource based on the second resource cache identifier and the second resource attribute information;
and under the condition that the target resource is not cached in the CDN node, acquiring the target resource from a source node based on the second resource access identifier and the second resource attribute information, wherein the second resource attribute information is contained in message header vary information of a target resource acquisition request.
Optionally, in the method provided in the second aspect of the embodiment of the present application, after extracting the target resource based on the second resource cache identifier and the second resource attribute information, the method further includes:
and responding to the resource access request, and returning the target resource to the second user terminal for the second user terminal to display.
Optionally, in the method provided by the second aspect of the embodiment of the present application, the second source resource is specifically any one of a picture resource, an audio resource, and a video resource.
In a third aspect, an embodiment of the present application provides a picture refreshing method, which is applied to a content delivery network CDN node, where the method includes:
receiving a picture refreshing request from a first user terminal, wherein the picture refreshing request comprises a first picture access identifier corresponding to a first source picture and first picture attribute information, and the first picture attribute information corresponds to any one of a plurality of sub-pictures of the first source picture;
generating a first picture cache identifier according to the picture refreshing request, wherein the first picture cache identifier comprises the first picture access identifier, and the first picture cache identifier corresponds to the plurality of sub-pictures;
and setting the cache corresponding to the first picture cache identification to be in a failure state so as to refresh the plurality of sub-pictures of the first source picture.
In a fourth aspect, an embodiment of the present application provides a picture access method, which is applied to a content delivery network CDN node, where the method includes:
receiving a picture access request from a second user terminal, wherein the picture access request comprises a second picture access identifier corresponding to a second source picture and second picture attribute information, the second picture attribute information corresponds to a target picture requested to be accessed, and the target picture is any one of a plurality of sub-pictures of the second source picture;
determining a second picture cache identifier corresponding to the second source picture based on the picture access request, wherein the second picture cache identifier comprises the second picture access identifier;
and extracting the target picture based on the second picture cache identification and the second picture attribute information.
In a fifth aspect, an embodiment of the present application provides a resource refreshing apparatus, which is applied to a content delivery network CDN node, where the apparatus includes:
a refresh request receiving module, configured to receive a resource refresh request from a first user terminal, where the resource refresh request includes a first resource access identifier and first resource attribute information that correspond to a first source resource, and the first resource attribute information corresponds to any one of multiple copy resources of the first source resource;
a cache identifier generating module, configured to generate a first resource cache identifier according to the resource refresh request, where the first resource cache identifier includes the first resource access identifier, and the first resource cache identifier corresponds to the multiple copy resources;
and the cache refreshing module is used for setting the cache corresponding to the first resource cache identifier into a failure state so as to refresh the plurality of copy resources of the first source resource.
In a sixth aspect, an embodiment of the present application provides a resource access device, which is applied to a content delivery network CDN node, where the device includes:
an access request receiving module, configured to receive a resource access request from a second user terminal, where the resource access request includes a second resource access identifier and second resource attribute information corresponding to a second source resource, the second resource attribute information corresponds to a target resource that is requested to be accessed, and the target resource is any one of multiple copy resources of the second source resource;
a cache identifier determining module, configured to determine, based on the resource access request, a second resource cache identifier corresponding to the second source resource, where the second resource cache identifier includes the second resource access identifier;
and the resource extraction module is used for extracting the target resource based on the second resource cache identifier and the second resource attribute information.
In a seventh aspect, an embodiment of the present application provides an electronic device, including:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the resource refresh method as provided in the preceding first aspect.
In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium storing one or more programs, which when executed by an electronic device including a plurality of application programs, cause the electronic device to execute the resource refresh method provided in the foregoing first aspect
In a ninth aspect, an embodiment of the present application provides an electronic device, including:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the resource access method provided by the foregoing second aspect.
In a tenth aspect, embodiments of the present application provide a computer-readable storage medium storing one or more programs that, when executed by an electronic device including a plurality of application programs, cause the electronic device to perform the resource access method provided in the foregoing second aspect.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
in this embodiment of the application, a resource refresh request received by a CDN node includes a first resource access identifier and first resource attribute information corresponding to a first source resource, and the first resource attribute information corresponds to any one of multiple copy resources of the first source resource. On this basis, the CDN node may generate, according to the resource refresh request, the first resource cache identifier corresponding to the multiple copy resources, and may set the cache corresponding to the first resource cache identifier to a failure state, so that the multiple copy resources of the first source resource can be refreshed.
When the resource refreshing method and the resource refreshing device are used for resource refreshing, the plurality of copy resources of the first source resource can be refreshed only by submitting the resource refreshing request of any copy resource corresponding to the first source resource, so that the copy resources of various different formats, different sizes or different compression degrees corresponding to the source resource can be refreshed efficiently after the source resource is updated, and the application requirements can be better met.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic diagram of an application scenario to which the embodiment of the present application is applied;
fig. 2 is a schematic flowchart of a resource refreshing method according to an embodiment of the present disclosure;
fig. 3 is a schematic interaction flow diagram of a resource refreshing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a resource access method according to an embodiment of the present application;
fig. 5 is an interaction flow diagram of a resource access method provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a resource refreshing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a resource access device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a second electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 illustrates an application scenario to which the embodiment of the present application is applied. In this embodiment of the present application, the resource refreshing system may include a merchant client, a resource refreshing end, a source station server, and a CDN node.
In the resource refreshing system according to the embodiment of the present application, the source station server may also be referred to as a source node, and is configured to store and provide, to the CDN node, a source resource uploaded by the resource provider. The source node may be further configured to store and provide a plurality of duplicate resources corresponding to the source resource to the CDN node, or generate and provide a plurality of duplicate resources corresponding to the source resource to the CDN node based on a back-to-source request process of the CDN node. It is understood that the duplicate resources corresponding to the source resources may be different in size, format, resolution, file size or compression degree on the basis of the source resources so as to be suitable for different service scenarios.
In the resource refreshing system according to the embodiment of the present application, the merchant client may be denoted as a first user terminal, and is configured to provide the source resource and the configuration information of the source resource to the source node, as shown in fig. 3. It is understood that the configuration information of the source resource refers to setting information of the copy resource in terms of size, format, resolution, definition, file size or compression degree, etc. on the basis of the source resource.
In the resource refresh process, the merchant client serves as a provider of the source resource, and uploads the updated source resource to the source station server (which may also be referred to as a source node). In addition, the merchant client sends a resource refresh command to the resource refresh end to instruct the resource refresh end to trigger the resource refresh process, as shown in fig. 3.
In the resource refreshing system of the embodiment of the present application, the resource refreshing end may be configured to send a resource refreshing request to the CDN node under an instruction of a resource refreshing instruction of the merchant client, and trigger the CDN node to perform resource refreshing, as shown in fig. 3. It can be understood that, in the resource refreshing process, the resource refreshing end may play a role in instruction delivery, and may trigger a plurality of CDN nodes to execute the resource refreshing process at the same time, so as to ensure that the user client can access the updated resource.
In the resource refreshing system of the embodiment of the present application, the CDN node is configured to execute the resource refreshing method provided in the embodiment of the present application, so as to refresh multiple copy resources corresponding to a source resource.
The following will describe in detail the implementation of the resource refresh method executed by the CDN node with reference to fig. 2 and 3.
Referring to fig. 2, an embodiment of the present application provides a resource refreshing method, which is applied to a content delivery network CDN node. Wherein, the method can comprise the following steps:
s101: a resource refresh request is received from a first user terminal.
It can be understood that the resource refresh request received by the CDN node may be sent by the resource refresh end based on a resource refresh instruction sent by the first user terminal to the resource refresh end, as shown in fig. 1 and fig. 3.
It should be noted that the resource refresh request includes a first resource access identifier corresponding to the first source resource. The first resource access identifier is used for uniquely determining to point to a first source resource and informing the CDN node of which source resource copy resource is updated. Specifically, the first resource access identifier may be formed by a domain name of a source station server (i.e., a source node) where the first source resource is located, a storage directory in the source node, a resource name, and other information.
It should be further noted that, in the embodiment of the present application, the source resource corresponds to a plurality of copy resources with different formats, different sizes, and different specifications. Therefore, the resource refresh request may further include first resource attribute information corresponding to the first source resource, where the first resource attribute information corresponds to any one of the multiple copy resources of the first source resource and may be embodied as specific format configuration information of any one copy resource.
Optionally, the Resource refresh request received by the CDN node may be embodied in the form of a Uniform Resource Locator URL (Uniform Resource Locator). For example, the resource refresh request sent by the resource refresh end to the CDN node is embodied as: http:// test.com/test/image.jpg _100@100. jpg. Com represents the domain name information of the source node, test represents the directory information of the first source resource in the source node, image jpg represents the resource name and format of the first source resource, 100@100.jpg represents the resource attribute information of the copy resource requesting refreshing, the scaling size of the copy resource is 100@100, and the file format is in the jpg format.
S103: and generating a first resource cache identifier according to the resource refreshing request.
Optionally, when the first resource cache identifier corresponding to the first source resource is generated according to the resource refresh request, the first resource attribute information included in the resource refresh request may be identified first. Specifically, the regular expression may be utilized to identify the first resource attribute information included in the resource refresh request.
It can be appreciated that Regular expressions, also known as Regular expressions (called Regular expressions) are often abbreviated in code as regex, regexp, or RE. A concept of computer science. Regular expressions are typically used to retrieve, replace, text that conforms to a certain pattern (rule).
The regular expression can be understood as a logic formula for a character string, and specific characters which are defined in advance and a combination of the specific characters can be used for forming a 'regular character string', and the 'regular character string' is used for expressing a filtering logic for the character string. Thus, text that conforms to a certain pattern (or called a rule) can be retrieved or replaced with a regular expression. Specifically, in the embodiment of the present application, the CDN node may identify, by using a regular expression, first resource attribute information carried in the resource refresh request.
On the basis of identifying the first resource attribute information, the CDN node may further replace the first resource attribute information with a preset character string, and further generate a first resource cache identifier based on the first resource access identifier and the preset character string.
It should be noted that, in the embodiment of the present application, regardless of the specific content of the identified first resource attribute information, the CDN node may replace the first resource attribute information with a uniform preset character string. Thus, it can be appreciated that the preset string can correspond to multiple duplicate resources of the first source resource.
After replacing the first resource attribute information with the preset character string, the CDN node may further generate a first resource cache identifier including the first resource access identifier and the preset character string based on the first resource access identifier and the unified preset character string, where the first resource cache identifier also establishes a correspondence with the multiple copy resources of the first source resource.
Take the above resource refresh request as an example. By using the regular expression, it can be recognized that the first resource attribute information carried in the request is "100 @100. jpg", and then, the character string "100 @100. jpg" can be replaced with a preset character string, for example, with "vary _ key". On this basis, the first resource cache identifier "http:// test.com/test/image.jpg" is generated based on the first resource access identifier "http:// test.com/image.jpg" and the preset character string "vary _ key" and is used for indicating the cache which needs to be refreshed.
S105: and setting the cache corresponding to the first resource cache identification as a failure state so as to refresh the plurality of copy resources of the first source resource.
It can be understood that, since the first resource cache identifier includes the first resource access identifier (for example, "http:// test. com/test/image. jpg"), the first resource cache identifier may also uniquely point to the first source resource (for example, a picture with a domain name "test. com", a storage directory "test", a name and a format "image. jpg").
Meanwhile, the first resource cache identifier also comprises a uniform preset character string corresponding to the plurality of copy resources, so that the first resource cache identifier can also correspond to caches corresponding to the plurality of copy resources. Therefore, the CDN node may set all the caches corresponding to the first resource cache identifier and the multiple copy resources respectively to be in the failure state, and may understand that the cache is subjected to purge operation, so that the user client (i.e., the second user terminal) cannot access the caches corresponding to the resource before update and the copy resource, and thus, the multiple copy resources of the first source resource are refreshed.
In this embodiment of the application, a resource refresh request received by a CDN node includes a first resource access identifier and first resource attribute information corresponding to a first source resource, and the first resource attribute information corresponds to any one of multiple copy resources of the first source resource. On this basis, the CDN node may generate, according to the resource refresh request, the first resource cache identifier corresponding to the multiple copy resources, and may further set the cache corresponding to the first resource cache identifier to an invalid state, so that the multiple copy resources of the first source resource can be refreshed.
When the resource refreshing method and the resource refreshing device are used for resource refreshing, the plurality of copy resources of the first source resource can be refreshed only by submitting the resource refreshing request of any copy resource corresponding to the first source resource, so that the copy resources of various different formats, different sizes or different compression degrees corresponding to the source resource can be refreshed efficiently after the source resource is updated, and the application requirements can be better met.
It can be understood that the resource to which the embodiment of the present application is applied may be a picture resource, an audio resource, a video resource, or the like. As long as the resource types of the copy resources with different formats, different sizes or different degrees of compression are configured for the same source resource according to different pages, display screens, network conditions or the requirements of the client.
Taking the resource as a picture file specifically, and the source resource as a source picture specifically, the embodiment of the application also provides a picture refreshing method, which is applied to the content delivery network CDN node. Wherein, the method may specifically comprise:
receiving a picture refreshing request from a first user terminal, wherein the picture refreshing request comprises a first picture access identifier corresponding to a first source picture and first picture attribute information, and the first picture attribute information corresponds to any one of a plurality of sub-pictures of the first source picture;
generating a first picture cache identifier according to the picture refreshing request, wherein the first picture cache identifier comprises a first picture access identifier, and the first picture cache identifier corresponds to the plurality of sub-pictures;
and setting the cache corresponding to the first picture cache identification to be in a failure state so as to refresh a plurality of sub-pictures of the first source picture.
It can be understood that the above-mentioned picture refreshing method is a specific application of the resource refreshing method provided in the embodiment of the present application in a scene of picture refreshing, and therefore, the foregoing description about the resource refreshing method is applicable to the picture refreshing method, and is not repeated here.
It can be understood that, on the basis of providing the above resource refreshing method, the embodiment of the present application further provides a resource access method for accessing the refreshed copy resource. Referring to fig. 1, in the embodiment of the present application, a resource access system may include a user client and a CDN node, and may further include a source station server.
In the resource access system of the embodiment of the application, the user client may be marked as a second user terminal, and is configured to send a resource access request to the CDN node to request to acquire a resource (i.e., a target resource) cached in the CDN node. It will be appreciated that the resources herein may be source resources or replica resources, depending on the requirements of the second user terminal. And the second user terminal also receives the target resource returned by the CDN node and can further display the target resource to the user.
In the resource access system of the embodiment of the application, the CDN node is configured to respond to a resource access request sent by a user client, extract a target resource, and return the target resource to the user client. It can be understood that, in the process of extracting the target resource, if the target resource is already cached on the CDN node, the return may be directly made. If the target resource is not cached on the CDN node, the target resource needs to be obtained and cached from the source site server (which may also be referred to as the source node), and this process may be referred to as "back to source".
The source station server in the resource access system of the embodiment of the present application is the same as the source station server in the resource refresh system, and is not described herein again.
The following describes in detail the implementation of the resource access method executed by the CDN node with reference to fig. 4 and 5.
Referring to fig. 4, an embodiment of the present application provides a resource access method, which is applied to a content delivery network CDN node. Wherein, the method may specifically comprise:
s201: a resource access request is received from a second user terminal.
It is understood that the resource access request received by the CDN node may be issued by the user instructing the second user terminal, as shown in fig. 1 and 5.
It should be noted that the resource access request includes a second resource access identifier corresponding to a second source resource that the user requests to access. And the second resource access identifier is used for uniquely determining to point to a second source resource and informing the CDN node of which copy resource of the source resource the CDN node wants to access. Specifically, the second resource access identifier is similar to the first resource access identifier, and may be formed by a domain name of a source station server (i.e., a source node) where the second source resource is located, a storage directory in the source node, a resource name, and other information.
It should be further noted that, in the embodiment of the present application, the source resource corresponds to a plurality of copy resources with different formats, different sizes, and different specifications. Therefore, the new resource access request may further include second resource attribute information corresponding to a second source resource, where the second resource attribute information corresponds to a target resource requested to be accessed, and the target resource may be any one of a plurality of copy resources of the second source resource. Furthermore, the second resource attribute information may be embodied as format configuration information of the target resource.
Optionally, the Resource access request received by the CDN node may also be embodied in the form of a Uniform Resource Locator URL (Uniform Resource Locator). For example, the resource access request sent by the second user terminal to the CDN node is embodied as: http:// test.com/test/image.jpg _ 100. jpg. Com represents the domain name information of the source node, test represents the directory information of the second source resource in the source node, image jpg represents the resource name and format of the second source resource, 100 × 100.jpg represents the resource attribute information of the target resource requested to be accessed, the scaling size of the target resource is 100 × 100, and the file format is in the format of jpg.
S203: and determining a second resource cache identifier corresponding to the second source resource based on the resource access request, wherein the second resource cache identifier comprises the second resource access identifier.
Optionally, when determining the second resource cache identifier corresponding to the second source resource based on the resource access request, the second resource attribute information included in the resource access request may be identified first. Specifically, the second resource attribute information included in the resource access request may be identified by using a regular expression.
It can be understood that the specific process of identifying the second resource attribute information from the resource access request is similar to the specific process of identifying the first resource attribute information from the resource refresh request in the foregoing resource refresh method, and is not described herein again.
On the basis of identifying the second resource attribute information, the CDN node may further replace the second resource attribute information with a preset character string, and further determine a second resource cache identifier based on the second resource access identifier and the preset character string.
It should be noted that, in the embodiment of the present application, no matter what the specific content of the identified second resource attribute information is, the CDN node may replace the second resource attribute information with a uniform preset character string. Thus, it can be appreciated that the preset string can correspond to multiple duplicate resources of the second source resource.
It should be further specifically noted that the preset character string used for determining the second resource cache identifier in the resource access process is the same as the preset character string used for generating the first resource cache identifier in the resource refresh process, so that the resource cache identifier used for pointing to the corresponding cache can be determined in the resource access process.
After replacing the second resource attribute information with the preset character string, the CDN node may further determine, based on the second resource access identifier and the unified preset character string, a second resource cache identifier including the second resource access identifier and the preset character string, where the second resource cache identifier also establishes a correspondence with the multiple copy resources of the second source resource.
Take the above resource access request as an example. By using the regular expression, it can be identified that the second resource attribute information carried in the request is "100 × 100. jpg", and then the character string "100 × 100. jpg" may be replaced with a preset character string, for example, with "vary _ key". On this basis, the second resource cache identifier "http:// test.com/test/image.jpg" is generated based on the second resource access identifier "http:// test.com/image.jpg" and the preset character string "vary _ key" for indicating the cache which needs to be accessed.
S205: and extracting the target resource based on the second resource cache identification and the second resource attribute information.
It can be understood that, since the second resource cache identifier includes the second resource access identifier (for example, "http:// test. com/test/image. jpg"), the second resource cache identifier can also uniquely point to the second source resource (for example, a picture with a domain name "test. com", a storage directory "test", a name and a format "image. jpg").
At the same time, the second resource attribute information (e.g., "100 × 100. jpg") can indicate configuration information of the target resource, and thus, based on the second resource cache identification and the second resource attribute information, the target resource can be determined.
In the case that the target resource is cached in the CDN node, referring to fig. 5, the CDN node may read, from the local cache, the target resource whose configuration information conforms to the second resource attribute information in the multiple pieces of copy information of the second source resource corresponding to the second resource cache identifier, based on the second resource cache identifier and the second resource attribute information.
In a case that the target resource is not cached in the CDN node, referring to fig. 5, the CDN node may obtain the target resource from the source node based on the second resource access identifier and the second resource attribute information. An optional mode is that the second resource attribute information is carried in the message header of the target resource acquisition request, so as to acquire the target resource whose configuration information conforms to the second resource attribute information from the source node.
Correspondingly, in the process that the CDN node captures the target resource from the source node, the source node has at least two modes for providing the target resource.
The first method is that a source node has stored a second source resource and a plurality of duplicate resources of the second source resource in advance, and each duplicate resource corresponds to resource attribute information one to one. In this case, the source node may determine the target resource based on the second resource cache identifier and the second resource attribute information, and directly provide the target resource to the CDN node, so that the CDN node updates the cache.
The second method is that only the second source resource and the resource attribute information corresponding to various different configuration methods are stored in the source node. In this case, the source node may determine, based on the second resource cache identifier, a second source resource that needs to be provided to the CDN node; and further generating a target resource which accords with a configuration mode corresponding to the second resource attribute information based on the second source resource and the second resource attribute information so as to provide the target resource for the CDN node to update the cache.
Optionally, after extracting the target resource based on the second resource cache identifier and the second resource attribute information, referring to fig. 1 and 5, the CDN node may further respond to the resource access request, and return the target resource to the second user terminal, for the second user terminal to display.
In the embodiment of the present application, the resource access request received by the CDN node includes a second resource access identifier and second resource attribute information corresponding to a second source resource, and the second resource attribute information corresponds to a target resource requested to be accessed. In an embodiment of the present application, the target resource may be any one of a plurality of duplicate resources of the second source resource. On this basis, the CDN node may generate a second resource cache identifier corresponding to the second source resource according to the resource access request, and may further extract the target resource based on the second resource cache identifier and the second resource attribute information, to implement access to any copy resource corresponding to the second source resource.
When the copy resource is accessed by adopting the embodiment of the application, because the second resource cache identifier corresponds to the second source resource, the resource access based on the second resource cache identifier points to the second source resource and the copy resource updated based on the second resource cache identifier, but does not point to the cache (which is corresponding to a plurality of copy resources before updating) set to the failure state based on the second resource cache identifier, so that the second user terminal can be ensured to access the target resource with the consistent version, and the application requirement of the user can be met.
Similar to the resource refreshing method, the resource applicable to the embodiment of the present application may be a picture resource, an audio resource, a video resource, or the like. As long as the resource types of the copy resources with different formats, different sizes or different degrees of compression are configured for the same source resource according to different pages, display screens, network conditions or the requirements of the client.
Taking the resource as a picture file specifically and the source resource as a source picture specifically as an example, the embodiment of the application also provides a picture access method, which is applied to the content delivery network CDN node. Wherein, the method may specifically comprise:
receiving a picture access request from a second user terminal, wherein the picture access request comprises a second picture access identifier corresponding to a second source picture and second picture attribute information, the second picture attribute information corresponds to a target picture requested to be accessed, and the target picture is any one of a plurality of sub-pictures of the second source picture;
determining a second picture cache identifier corresponding to a second source picture based on the picture access request, wherein the second picture cache identifier comprises a second picture access identifier;
and extracting the target picture based on the second picture cache identification and the second picture attribute information.
It can be understood that the above-mentioned picture access method is a specific application of the resource access method provided in the embodiment of the present application in the scene of picture access, and therefore, the foregoing description about the resource access method is applicable to the picture access method, and is not repeated here.
Referring to fig. 6, an embodiment of the present application provides a resource refreshing apparatus, which is applied to a content delivery network CDN node, where the apparatus may specifically include:
a refresh request receiving module 101, configured to receive a resource refresh request from a first user terminal, where the resource refresh request includes a first resource access identifier and first resource attribute information that correspond to a first source resource, and the first resource attribute information corresponds to any one of multiple copy resources of the first source resource;
a cache identifier generating module 103, configured to generate a first resource cache identifier according to the resource refresh request, where the first resource cache identifier includes a first resource access identifier, and the first resource cache identifier corresponds to multiple copy resources;
the cache refreshing module 105 is configured to set the cache corresponding to the first resource cache identifier to a failure state, so as to refresh the multiple copy resources of the first source resource.
It can be understood that the resource refreshing apparatus can implement each step of the resource refreshing method in the foregoing embodiments, and the relevant descriptions about the resource refreshing method are applicable to the resource refreshing apparatus, and are not described herein again.
Referring to fig. 7, an embodiment of the present application further provides a resource access device, which is applied to a content delivery network CDN node, where the device may specifically include:
an access request receiving module 201, configured to receive a resource access request from a second user terminal, where the resource access request includes a second resource access identifier and second resource attribute information corresponding to a second source resource, the second resource attribute information corresponds to a target resource that is requested to be accessed, and the target resource is any one of multiple copy resources of the second source resource;
a cache identifier determining module 203, configured to determine, based on the resource access request, a second resource cache identifier corresponding to the second source resource, where the second resource cache identifier includes the second resource access identifier;
and the resource extracting module 205 is configured to extract the target resource based on the second resource cache identifier and the second resource attribute information.
It can be understood that the resource access device can implement each step of the resource access method in the foregoing embodiments, and the related descriptions about the resource access method are all applicable to the resource access device, and are not described herein again.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Referring to fig. 8, at a hardware level, the electronic device includes a processor, and optionally further includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 8, but that does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory to the memory and then runs the computer program to form the resource refreshing device on the logic level. And the processor executes the program stored in the memory and is specifically used for executing various aspects of the resource refreshing method in the above embodiment.
When the resource is a picture file, and the source resource is a source picture, the processor may execute the program stored in the memory, and is specifically configured to execute the contents of the picture refreshing method in the above embodiments
The method executed by the resource refreshing apparatus according to the embodiment shown in fig. 2 of the present application may be applied to a processor, or may be implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and combines hardware thereof to complete the steps of the method.
The electronic device may further execute the method executed by the resource refreshing apparatus in fig. 2, and implement the function of the resource refreshing apparatus in the embodiment shown in fig. 2, which is not described herein again in this embodiment of the present application.
An embodiment of the present application further provides a computer-readable storage medium storing one or more programs, where the one or more programs include instructions, which when executed by an electronic device including a plurality of application programs, can cause the electronic device to perform the method performed by the resource refreshing apparatus in the embodiment shown in fig. 2, and is specifically configured to perform various aspects of the resource refreshing method in the foregoing embodiments.
The present application further provides a computer-readable storage medium storing one or more programs, where the one or more programs include instructions, which when executed by an electronic device including a plurality of application programs, can cause the electronic device to perform the method performed by the picture refreshing apparatus in the foregoing embodiments, and in particular, to perform various aspects of the picture refreshing method in the foregoing embodiments.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Referring to fig. 9, at a hardware level, the electronic device includes a processor, and optionally further includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be connected to each other by an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the resource access device on the logic level. And the processor executes the program stored in the memory and is particularly used for executing various aspects of the resource access method in the embodiment.
When the resource is a picture file, and the source resource is a source picture, the processor may execute the program stored in the memory, and is specifically configured to execute the contents of the various aspects of the picture access method in the foregoing embodiments.
The method executed by the resource access device according to the embodiment shown in fig. 4 of the present application may be applied to a processor, or may be implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The electronic device may further execute the method executed by the resource access apparatus in fig. 4, and implement the function of the resource access apparatus in the embodiment shown in fig. 4, which is not described herein again in this embodiment of the application.
An embodiment of the present application further provides a computer-readable storage medium storing one or more programs, where the one or more programs include instructions, which when executed by an electronic device including a plurality of application programs, enable the electronic device to perform the method performed by the resource access apparatus in the embodiment shown in fig. 4, and are specifically configured to perform various aspects of the resource access method in the foregoing embodiments.
The present application also provides a computer-readable storage medium storing one or more programs, where the one or more programs include instructions, which when executed by an electronic device including a plurality of application programs, can cause the electronic device to perform the method performed by the picture access apparatus in the foregoing embodiments, and is specifically configured to perform various aspects of the picture access method in the foregoing embodiments.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (9)

1. A resource refreshing method is applied to CDN nodes of a content delivery network, wherein the method comprises the following steps:
receiving a resource refreshing request from a first user terminal, wherein the resource refreshing request comprises a first resource access identifier corresponding to a first source resource and first resource attribute information, and the first resource attribute information corresponds to any one of a plurality of copy resources of the first source resource;
generating a first resource cache identifier according to the resource refresh request, including: identifying the first resource attribute information contained in the resource refreshing request, replacing the first resource attribute information with a preset character string, and generating the first resource cache identifier based on the first resource access identifier and the preset character string, wherein the first resource cache identifier contains the first resource access identifier, and the first resource cache identifier corresponds to the plurality of copy resources;
and setting a cache corresponding to the first resource cache identifier to be in a failure state so as to refresh the plurality of copy resources of the first source resource.
2. The method according to claim 1, wherein identifying the first resource attribute information included in the resource refresh request specifically includes:
and identifying the first resource attribute information contained in the resource refreshing request by using a regular expression.
3. The method according to claim 1, wherein the setting of the cache corresponding to the first resource cache identifier to a failure state is performed to refresh the multiple copy resources of the first source resource, specifically:
and setting the caches corresponding to the plurality of copy resources to be in a failure state respectively so as to refresh the plurality of copy resources of the first source resource.
4. The method of claim 1, wherein receiving a resource refresh request from a first user terminal comprises:
and receiving the resource refreshing request sent by a resource refreshing end, wherein the resource refreshing request is sent by the resource refreshing end based on a resource refreshing instruction sent by the first user terminal.
5. The method according to any one of claims 1 to 4, wherein the first source resource is any one of a picture resource, an audio resource and a video resource.
6. A picture refreshing method is applied to a Content Delivery Network (CDN) node, wherein the method comprises the following steps:
receiving a picture refreshing request from a first user terminal, wherein the picture refreshing request comprises a first picture access identifier corresponding to a first source picture and first picture attribute information, and the first picture attribute information corresponds to any one of a plurality of sub-pictures of the first source picture;
generating a first picture cache identifier according to the picture refreshing request, wherein the generating comprises the following steps: identifying the first picture attribute information contained in the picture refreshing request, replacing the first picture attribute information with a preset character string, and generating a first picture cache identifier based on the first picture access identifier and the preset character string, wherein the first picture cache identifier contains the first picture access identifier, and the first picture cache identifier corresponds to the plurality of sub-pictures;
and setting the cache corresponding to the first picture cache identification to be in a failure state so as to refresh the plurality of sub-pictures of the first source picture.
7. A resource refreshing device is applied to a CDN node of a content delivery network, wherein the device comprises:
a refresh request receiving module, configured to receive a resource refresh request from a first user terminal, where the resource refresh request includes a first resource access identifier and first resource attribute information corresponding to a first source resource, and the first resource attribute information corresponds to any one of multiple copy resources of the first source resource;
a cache identifier generating module, configured to generate a first resource cache identifier according to the resource refresh request, including: identifying the first resource attribute information contained in the resource refreshing request, replacing the first resource attribute information with a preset character string, and generating the first resource cache identifier based on the first resource access identifier and the preset character string, wherein the first resource cache identifier contains the first resource access identifier, and the first resource cache identifier corresponds to the plurality of copy resources;
and the cache refreshing module is used for setting the cache corresponding to the first resource cache identifier to be in a failure state so as to refresh the plurality of copy resources of the first source resource.
8. An electronic device, comprising:
a processor; and
a memory arranged to store computer executable instructions which, when executed, cause the processor to perform the resource refresh method of any of claims 1 to 5.
9. A computer readable storage medium storing one or more programs which, when executed by an electronic device comprising a plurality of application programs, cause the electronic device to perform the resource refresh method of any of claims 1-5.
CN201811609626.7A 2018-12-27 2018-12-27 Resource refreshing method, access method and device Active CN111385316B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811609626.7A CN111385316B (en) 2018-12-27 2018-12-27 Resource refreshing method, access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811609626.7A CN111385316B (en) 2018-12-27 2018-12-27 Resource refreshing method, access method and device

Publications (2)

Publication Number Publication Date
CN111385316A CN111385316A (en) 2020-07-07
CN111385316B true CN111385316B (en) 2022-06-21

Family

ID=71219353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811609626.7A Active CN111385316B (en) 2018-12-27 2018-12-27 Resource refreshing method, access method and device

Country Status (1)

Country Link
CN (1) CN111385316B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637262B (en) * 2020-11-18 2022-12-02 网宿科技股份有限公司 Content refreshing method and device
CN112463653A (en) * 2020-12-15 2021-03-09 北京金山云网络技术有限公司 Data refreshing method and device and electronic equipment
CN114024984B (en) * 2021-09-27 2024-01-05 阿里巴巴(中国)有限公司 Resource refreshing method, device and equipment for Content Delivery Network (CDN)
CN115883659B (en) * 2022-12-15 2023-10-03 江苏云工场信息技术有限公司 Method and device for supporting batch refreshing of CDN caches
CN116389593B (en) * 2023-04-17 2024-01-23 阿里巴巴(中国)有限公司 Resource configuration method, system and electronic equipment
CN117056248B (en) * 2023-10-13 2024-02-27 联通在线信息科技有限公司 Resource reading method, device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447975A (en) * 2010-10-08 2012-05-09 中国联合网络通信集团有限公司 Streaming media information processing method, system and server
CN104951480A (en) * 2014-03-31 2015-09-30 杭州迪普科技有限公司 Resource storage indexing device and method in CDN system
CN107343031A (en) * 2017-06-21 2017-11-10 福建中金在线信息科技有限公司 A kind of method, apparatus for automatically updating file, electronic equipment and storage medium
CN107645422A (en) * 2017-11-17 2018-01-30 武汉楚鼎信息技术有限公司 A kind of website static resource update method and system and device
CN108183960A (en) * 2017-12-29 2018-06-19 中国平安人寿保险股份有限公司 File updating method, server, storage medium and device based on CDN
CN108540505A (en) * 2017-03-01 2018-09-14 贵州白山云科技有限公司 A kind of content updating method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110066676A1 (en) * 2009-09-14 2011-03-17 Vadim Kleyzit Method and system for reducing web page download time
US20160042278A1 (en) * 2014-08-06 2016-02-11 International Business Machines Corporation Predictive adjustment of resource refresh in a content delivery network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447975A (en) * 2010-10-08 2012-05-09 中国联合网络通信集团有限公司 Streaming media information processing method, system and server
CN104951480A (en) * 2014-03-31 2015-09-30 杭州迪普科技有限公司 Resource storage indexing device and method in CDN system
CN108540505A (en) * 2017-03-01 2018-09-14 贵州白山云科技有限公司 A kind of content updating method and device
CN107343031A (en) * 2017-06-21 2017-11-10 福建中金在线信息科技有限公司 A kind of method, apparatus for automatically updating file, electronic equipment and storage medium
CN107645422A (en) * 2017-11-17 2018-01-30 武汉楚鼎信息技术有限公司 A kind of website static resource update method and system and device
CN108183960A (en) * 2017-12-29 2018-06-19 中国平安人寿保险股份有限公司 File updating method, server, storage medium and device based on CDN

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CDN与P2P混合网络中Peer节点负载均衡研究;姜小平;《CNKI》;20110301;全文 *

Also Published As

Publication number Publication date
CN111385316A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN111385316B (en) Resource refreshing method, access method and device
CN109639636B (en) Service data forwarding method, service data processing method, service data forwarding device, service data processing device and electronic equipment
US8769208B2 (en) Method, system and server of removing a distributed caching object
CN108184170B (en) Data processing method and device
CN106528578B (en) Information display method and device
JP6854046B2 (en) Data backfill method, terminal, and system
CN109257451B (en) Corresponding relation analysis method and equipment
US9876879B2 (en) Distributed network page generation
US8579187B2 (en) System and method to identify machine-readable codes
CN109634753B (en) Data processing method, device, terminal and storage medium for switching browser kernels
WO2021082661A1 (en) Webpage screenshot capturing method, apparatus and device
CN111324836B (en) Page processing method and device, computer equipment and storage medium
US9665732B2 (en) Secure Download from internet marketplace
CN110677443A (en) Data transmitting and receiving method, transmitting end, receiving end, system and storage medium
CN106919595B (en) Cookie mapping method and device and electronic equipment
CN112115103A (en) File address display method and device, electronic equipment and readable storage medium
CN112187622A (en) Instant message display method and device and server
US10530709B2 (en) Container contract for data dependencies
CN111182053A (en) Method and device for downloading file, computer storage medium and terminal
CN112860720B (en) Storage capacity updating method and device
US11379653B2 (en) Rendering method for on-demand loading of PDF file on network
CN107103001B (en) Method, device and system for acquiring target front-end resource file based on browser
CN113032820B (en) File storage method, access method, device, equipment and storage medium
CN113411364B (en) Resource acquisition method and device and server
CN110769020B (en) Resource request processing method, device, equipment and system

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40033168

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant