CN114640717A - CDN dynamic acceleration method and device and CDN edge node - Google Patents

CDN dynamic acceleration method and device and CDN edge node Download PDF

Info

Publication number
CN114640717A
CN114640717A CN202011486211.2A CN202011486211A CN114640717A CN 114640717 A CN114640717 A CN 114640717A CN 202011486211 A CN202011486211 A CN 202011486211A CN 114640717 A CN114640717 A CN 114640717A
Authority
CN
China
Prior art keywords
address
content
cdn
upstream
dynamic
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.)
Pending
Application number
CN202011486211.2A
Other languages
Chinese (zh)
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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology 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 Beijing Kingsoft Cloud Network Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN202011486211.2A priority Critical patent/CN114640717A/en
Publication of CN114640717A publication Critical patent/CN114640717A/en
Pending legal-status Critical Current

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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

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

Abstract

The embodiment of the invention provides a CDN dynamic acceleration method, a CDN dynamic acceleration device and a CDN edge node. Wherein the method comprises the following steps: receiving a content request sent by a client; judging whether the target content requested by the content request is dynamic content or not; and if the target content is dynamic content, requesting the target content from a first source station server, wherein the link between the first source station server and the CDN edge node does not pass through a CDN upper node. Because the link between the first source station server and the CDN edge node does not pass through the CDN upper node, for the dynamic content, the CDN edge node can directly return to the source, thereby shortening the routing path for acquiring the dynamic content and improving the speed of issuing the dynamic content in the CDN network.

Description

CDN dynamic acceleration method and device and CDN edge node
Technical Field
The present invention relates to the technical field of CDNs, and in particular, to a CDN dynamic acceleration method, apparatus, and CDN edge node.
Background
The CDN (Content Delivery Network) includes CDN edge nodes. The client may send a request to the CDN edge node for obtaining the specific content within. After receiving the request, the CDN edge node determines whether the cache of itself contains the specific content, and if the cache of itself contains the specific content. And sending the specific content cached by the CDN edge node to the client. If the specific content is not included in the cache of the CDN edge point, the CDN edge point requests the specific content from the CDN upper node.
The CDN may cache the content with a CDN edge node that is relatively close to the client, and when the client device requests the same content again, the CDN edge node may send the content cached locally to the user, thereby accelerating the speed at which the client device acquires the content.
However, for dynamic content, because the dynamic content changes with time, even if the CDN edge node caches the dynamic content, when the client requests the dynamic content again, because the dynamic content changes, the CDN edge node cannot directly send the locally cached dynamic content to the client, and needs to re-request the dynamic content through a CDN upper node, resulting in a relatively long time for issuing the dynamic content.
How to effectively accelerate the issuing of the dynamic content becomes a technical problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention aims to provide a CDN dynamic acceleration method, a CDN dynamic acceleration device and a CDN edge node so as to improve the issuing speed of dynamic content in a CDN. The specific technical scheme is as follows:
in a first aspect of the embodiments of the present invention, a CDN dynamic acceleration method is provided, where the method is applied to a CDN edge node, and the method includes:
receiving a content request sent by a client;
judging whether the target content requested by the content request is dynamic content or not;
and if the target content is dynamic content, requesting the target content from a first source station server, wherein the connection between the first source station server and the CDN edge node does not pass through a CDN upper node.
In one possible embodiment, the determining whether the target content requested by the request is dynamic content includes:
acquiring an upstream IP address, wherein the upstream IP address is the IP address of network equipment located at the next hop of the CDN edge node in the route of the content request, and the IP address is determined according to a preset dynamic routing rule;
judging whether the upstream IP address is the IP address of the source station server or not;
and if the upstream IP address is the IP address of the source station server, determining that the content requested by the content request is dynamic content.
In a possible embodiment, the determining whether the upstream IP address is an IP address of a source station server includes:
and judging whether the upstream IP address is the IP address of the source station server or not according to the identifier of the upstream IP address.
In a possible embodiment, the obtaining the upstream IP address includes:
sending an address request to a database server so that the database server determines an upstream IP address according to a preset dynamic routing rule;
and receiving the upstream IP address fed back by the database server.
In one possible embodiment, after the determining whether the target content requested by the content request is dynamic content, the method further includes:
and if the target content is not dynamic content, requesting the target content from a second source station server through the CDN upper node.
In a second aspect of the embodiments of the present invention, there is provided a CDN dynamic acceleration device, applied to a CDN edge node, where the CDN dynamic acceleration device includes:
the receiving module is used for receiving a content request sent by a client;
the judging module is used for judging whether the target content requested by the content request is dynamic content;
and the source returning module is used for requesting the target content from a first source station server if the target content is dynamic content, and the connection between the first source station server and the CDN edge node does not pass through a CDN upper node.
In a possible embodiment, the determining module includes:
an obtaining submodule, configured to obtain an upstream IP address, where the upstream IP address is an IP address of a network device located in a next hop of the CDN edge node in the obtained route of the content request, and is determined according to a preset dynamic routing rule;
the judging submodule is used for judging whether the upstream IP address is the IP address of the source station server;
and the determining submodule is used for determining that the content requested by the content request is dynamic content if the upstream IP address is the IP address of the source station server.
In a possible embodiment, the determining sub-module is specifically configured to determine, according to the identifier of the upstream IP address, whether the upstream IP address is an IP address of a source station server.
In a possible embodiment, the obtaining sub-module is specifically configured to send an address request to a database server, so that the database server determines an upstream IP address according to a preset dynamic routing rule;
and receiving the upstream IP address fed back by the database server.
In a possible embodiment, the back-to-source module is further configured to, after the determining whether the target content requested by the content request is dynamic content, request the target content from a second source station server through a CDN upper node if the target content is not dynamic content.
In a third aspect of the embodiments of the present invention, a CDN edge node is provided, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the CDN edge node through the communication bus;
a memory for storing a computer program;
a processor adapted to perform the method steps of any of the above first aspects when executing a program stored in the memory.
In a fourth aspect of embodiments of the present invention, a computer-readable storage medium is provided, having stored therein a computer program, which when executed by a processor, performs the method steps of the first aspect as set forth above.
The embodiment of the invention has the following beneficial effects:
according to the CDN dynamic acceleration method, the CDN dynamic acceleration device and the CDN edge node provided by the embodiment of the invention, as the connection between the first source station server and the CDN edge node does not pass through the upper node of the CDN, the CDN edge node can directly return to the source aiming at the dynamic content, the route path for acquiring the dynamic content is shortened, and the issuing speed of the dynamic content in the CDN is increased.
Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a CDN provided in the embodiment of the present invention;
fig. 2 is a schematic flowchart of a CDN dynamic acceleration method according to an embodiment of the present invention;
FIG. 3a is a schematic diagram of another architecture for providing a CDN of the present invention;
FIG. 3b is a schematic diagram of another architecture for providing a CDN of the present invention;
fig. 4 is a schematic structural diagram of a CDN dynamic acceleration device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a CDN edge node according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
In order to better describe the CDN dynamic acceleration method provided by the embodiment of the present invention, a possible application scenario of the CDN dynamic acceleration method provided by the embodiment of the present invention will be described in an exemplary manner. It can be understood that the CDN dynamic acceleration method provided in the embodiment of the present invention may be applied to different application scenarios in different embodiments, and the following example does not limit this.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a CDN provided in the embodiment of the present invention. Wherein, include:
client 101, CDN edge node 102, CDN upper node 103, and origin server 104.
The source station server 104 stores the content requested by the client 101, and for convenience of description, if the content is assumed to be a video, the process of requesting the video by the client 101 may be:
client 101 sends a request to CDN edge node 102 requesting the video. After receiving the request, the CDN edge node 102 retrieves whether the CDN edge node 102 locally stores the video, and returns the video to the client 101 if the CDN edge node 102 locally stores the video. If the CDN edge node 102 does not store the video locally, the request is forwarded into the CDN upper node 103.
After receiving the request, the CDN upper node 103 searches whether the upper node 103 locally stores the video, and returns the video to the CDN edge node 102 if the CDN upper node 103 locally stores the video. If the CDN upper node 103 does not store the video locally, the request is forwarded into the origin station server 104.
There may be one or more levels of CDN upper level nodes 103 between a CDN edge node 102 and a source site server 104. When there are multiple CDN upper nodes 103, except for the last CDN upper node 103, each other CDN upper node 103 forwards the request to the next CDN upper node 103 when there is no video stored locally, and the last CDN upper node 103 forwards the request to the source station server 104 when there is no video stored locally. The last CDN upper node 103 is a CDN upper node of a layer farthest from the CDN edge node 102.
When the client 101 requests the video for the first time, since the CDN edge node 102 and the CDN upper node 103 do not yet cache the video, the request is forwarded to the origin server 104, and the origin server 104 forwards the video to the client 101 through the CDN edge node 102 and the CDN edge node 103. CDN edge node 102 and CDN upper-level node 103 may cache the video during forwarding. Then when client 101 requests the video again, the CDN edge node 102 may send the video to client 101 because the video is already cached in the CDN edge node. The CDN edge node 102 is closer to the client 101, so that the client 101 can obtain the requested video faster.
However, if the content requested by the client 101 is dynamic content, for example, the content requested by the client 101 is a web page, a part of the content in the web page may change with time, for example, a recommended page is included in the web page, and the content recommended in the recommended page may change with time. Then the first time client 101 requests the web page, the cached web page is the web page that client 101 requested the web page for the first time, although CDN edge node 102 may cache the web page. When the client 101 requests the web page for the second time, since the web page when the web page is requested for the second time may change from the web page when the web page is requested for the first time, the CDN edge node 102 cannot directly send the locally cached web page to the client 101, the request needs to be forwarded to the source station server 104 through the CDN upper node 103 again, and the source station server 104 forwards the latest web page to the client 101 through the CDN upper node 103 and the CDN edge node 102, which takes a long time.
It can be seen that the CDN architecture shown in fig. 1 can only accelerate static content and cannot accelerate dynamic content. Based on this, an embodiment of the present invention provides a CDN dynamic acceleration method, where the method is applied to a CDN edge node, and the method may be as shown in fig. 2, and includes:
s201, receiving a content request sent by a client.
S202, whether the target content requested by the content request is dynamic content is judged.
S203, if the target content is dynamic content, the target content is requested from the first source station server, and the connection between the first source station server and the CDN edge node does not pass through the upper node of the CDN.
With the embodiment, because the connection between the first source station server and the CDN edge node does not pass through the CDN upper node, the CDN edge node can directly return to the source for the dynamic content, thereby shortening the routing path for acquiring the dynamic content and increasing the speed of issuing the dynamic content in the CDN network.
On the other hand, the CDN edge node processes the static content and the dynamic content respectively, and may accelerate the static content and the dynamic content through different logics, respectively. Therefore, the dynamic content can be accelerated on the premise of keeping the function of accelerating the static content of the original CDN framework.
In S201, the content request is a message sent by the client to request specific content, and the specific content may be different according to different situations.
In S202, the dynamic content may refer to content that changes over time. In a possible embodiment, the upstream IP address may be obtained, where the upstream IP address is an IP address of a network device located at a next hop of the CDN edge node in the content request route determined according to a preset dynamic routing rule. And judging whether the upstream IP address is the IP address of the source station server, and if the upstream IP address is the IP address of the source station server, determining that the content requested by the content request is dynamic content. And if the upstream IP address is the IP address of the upper node of the CDN, determining that the content requested by the content request is static content.
For example, assuming that a route for obtaining the content request is determined as client → CDN edge node → CDN upper node → source station server according to a preset dynamic routing rule, the upstream IP address is an IP address of the CDN upper node, and assuming that a route for obtaining the content request is determined as client → CDN edge node → source station server according to a preset dynamic routing rule, the upstream IP address is an IP address of the source station server. The route of the content request is a route from the client to the source station server, and since the source station server can be regarded as a data source, the network device of the next hop of the CDN edge node in the route is closer to the data source than the CDN edge node, so the IP address of the network device of the next hop of the CDN edge node in the route is referred to as an upstream IP address herein.
The upstream IP address may be determined by the CDN edge node according to a preset dynamic routing rule, or may be determined by another electronic device according to a preset dynamic routing rule. For example, in one possible embodiment, the CDN edge node may send an address request to the database server, so that the database server determines an upstream IP address according to a preset dynamic routing rule, and sends the determined upstream IP address to the CDN edge node.
The preset dynamic routing rule may be input by a user in advance according to actual experience or requirements, or may be automatically generated by the electronic device according to a preset rule generation rule, which is not limited in this embodiment.
In S203, the connection between the first source station server and the CDN edge node does not pass through the CDN upper node, which may mean that the first source station server is directly connected to the CDN edge node. The number of the first source station servers may be one or multiple, and when the number of the first source station servers is multiple, the CDN edge node requests the target content from the first source station server storing the target content.
If the target content is not dynamic content, that is, the target content is static content, the CDN edge node may request the target content from the second source station server through the CDN upper node, and for a process of requesting the target content from the second source station server, reference may be made to the embodiment shown in fig. 1, which is not described herein again. The second source station server is different from the first source station server.
For more clearly explaining the CDN dynamic acceleration method provided by the embodiment of the present invention, refer to fig. 3a, and fig. 3a is another schematic diagram of an architecture of the CDN provided by the embodiment of the present invention. Which comprises the following steps: a client 101, a CDN edge node 102, a CDN upper node 103, a first source station server 105, and a second source station server 106.
If the content requested by the content request sent by the client 101 is dynamic content, the CDN edge node 102 directly returns to the source through the first source station server 105. If the content requested by the content request sent by the client 101 is static content, the CDN edge node 102 performs source returning through the second source station server 106, where the flow of source returning is the same as that shown in fig. 1, and reference may be made to the related description of fig. 1, and details are not repeated here.
Referring to fig. 3b, fig. 3b is a schematic diagram illustrating another architecture of the CDN provided in the embodiment of the present invention. Which comprises the following steps: the system comprises a client 101, a CDN edge node 102, a CDN upper node 103, a first source station server 105, a second source station server 106 and a database server 107.
The database server 107 is configured to determine an upstream IP address according to a preset routing rule and send the upstream IP address to the CDN edge node 102, where the CDN edge node 102 determines whether the upstream IP address is an IP address of a source station server, and if the upstream IP address is the IP address of the source station server, the CDN edge node returns to the source directly through the first source station server 105, and if the upstream IP address is an IP address of the CDN upper node 103, the CDN edge node 102 returns to the source through the CDN upper node 103 to the second source station server 106.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a CDN dynamic acceleration device according to an embodiment of the present invention, where the CDN dynamic acceleration device includes:
a receiving module 401, which receives a content request sent by a client;
a determining module 402, configured to determine whether a target content requested by the content request is a dynamic content;
a back-to-source module 403, configured to request the target content from a first source station server if the target content is dynamic content, where a connection between the first source station server and the CDN edge node does not pass through a CDN upper node.
In a possible embodiment, the determining module 402 includes:
an obtaining submodule, configured to obtain an upstream IP address, where the upstream IP address is an IP address of a network device located in a next hop of the CDN edge node in the obtained route of the content request, and is determined according to a preset dynamic routing rule;
the judging submodule is used for judging whether the upstream IP address is the IP address of the source station server or not;
and the determining submodule is used for determining that the content requested by the content request is dynamic content if the upstream IP address is the IP address of the source station server.
In a possible embodiment, the determining sub-module is specifically configured to determine, according to the identifier of the upstream IP address, whether the upstream IP address is an IP address of a source station server.
In a possible embodiment, the obtaining sub-module is specifically configured to send an address request to a database server, so that the database server determines an upstream IP address according to a preset dynamic routing rule;
and receiving the upstream IP address fed back by the server.
In a possible embodiment, the back-to-source module 403 is further configured to, after the determining whether the target content requested by the content request is dynamic content, request the target content from a second source station server through a CDN upper node if the target content is not dynamic content.
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, which includes a processor 501, a communication interface 502, a memory 503 and a communication bus 504, where the processor 501, the communication interface 502 and the memory 503 complete mutual communication through the communication bus 504,
a memory 503 for storing a computer program;
the processor 501, when executing the program stored in the memory 503, implements the following steps:
receiving a content request sent by a client;
judging whether the target content requested by the content request is dynamic content or not;
and if the target content is dynamic content, requesting the target content from a first source station server, wherein the connection between the first source station server and the CDN edge node does not pass through a CDN upper node.
In one possible embodiment, the determining whether the target content requested by the request is dynamic content includes:
acquiring an upstream IP address, wherein the upstream IP address is the IP address of the network equipment located at the next hop of the CDN edge node in the obtained routing of the content request determined according to a preset dynamic routing rule;
judging whether the upstream IP address is the IP address of the source station server;
and if the upstream IP address is the IP address of the source station server, determining that the content requested by the content request is dynamic content.
In a possible embodiment, the determining whether the upstream IP address is an IP address of a source station server includes:
and judging whether the upstream IP address is the IP address of the source station server or not according to the identifier of the upstream IP address.
In a possible embodiment, the obtaining the upstream IP address includes:
sending an address request to a database server so that the database server determines an upstream IP address according to a preset dynamic routing rule;
and receiving the upstream IP address fed back by the database server.
In one possible embodiment, after the determining whether the target content requested by the content request is dynamic content, the method further includes:
and if the target content is not dynamic content, requesting the target content to a second source station server through a CDN upper node.
The communication bus mentioned in the CDN edge node may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
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.
In another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any of the CDN dynamic acceleration methods described above.
In another embodiment of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the CDN dynamic acceleration methods of the above embodiments.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the embodiments of the electronic device, the computer-readable storage medium, and the computer program product, since they are substantially similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (12)

1. A CDN dynamic acceleration method is applied to a CDN edge node, and the method comprises the following steps:
receiving a content request sent by a client;
judging whether the target content requested by the content request is dynamic content or not;
and if the target content is dynamic content, requesting the target content from a first source station server, wherein the connection between the first source station server and the CDN edge node does not pass through a CDN upper node.
2. The method of claim 1, wherein the determining whether the target content requested by the content request is dynamic content comprises:
acquiring an upstream IP address, wherein the upstream IP address is the IP address of the network equipment which is positioned at the next hop of the CDN edge node in the route of the content request and is determined according to a preset dynamic routing rule;
judging whether the upstream IP address is the IP address of the source station server;
and if the upstream IP address is the IP address of the source station server, determining that the content requested by the content request is dynamic content.
3. The method of claim 2, wherein the determining whether the upstream IP address is an IP address of a source station server comprises:
and judging whether the upstream IP address is the IP address of the source station server or not according to the identifier of the upstream IP address.
4. The method of claim 2, wherein the obtaining an upstream IP address comprises:
sending an address request to a database server so that the database server determines an upstream IP address according to a preset dynamic routing rule;
and receiving the upstream IP address fed back by the database server.
5. The method of claim 1, wherein after said determining whether the target content requested by the content request is dynamic content, the method further comprises:
and if the target content is not dynamic content, requesting the target content from a second source station server through the CDN upper node.
6. A CDN dynamic acceleration device is applied to a CDN edge node, and the device comprises:
the receiving module is used for receiving a content request sent by a client;
the judging module is used for judging whether the target content requested by the content request is dynamic content or not;
and the source returning module is used for requesting the target content from a first source station server if the target content is dynamic content, and the connection between the first source station server and the CDN edge node does not pass through a CDN upper node.
7. The apparatus of claim 6, wherein the determining module comprises:
an obtaining submodule, configured to obtain an upstream IP address, where the upstream IP address is an IP address of a network device located in a next hop of the CDN edge node in a route of the content request, and is determined according to a preset dynamic routing rule;
the judging submodule is used for judging whether the upstream IP address is the IP address of the source station server;
and the determining submodule is used for determining that the content requested by the content request is dynamic content if the upstream IP address is the IP address of the source station server.
8. The apparatus according to claim 7, wherein the determining sub-module is specifically configured to determine whether the upstream IP address is an IP address of a source station server according to the identifier of the upstream IP address.
9. The apparatus according to claim 7, wherein the obtaining sub-module is specifically configured to send an address request to a database server, so that the database server determines an upstream IP address according to a preset dynamic routing rule; and receiving the upstream IP address fed back by the database server.
10. The apparatus of claim 6, wherein the back-to-source module is further configured to, after the determining whether the target content requested by the content request is dynamic content, request the target content from a second source station server through a CDN upper node if the target content is not dynamic content.
11. A CDN edge node is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for completing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
12. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-5.
CN202011486211.2A 2020-12-16 2020-12-16 CDN dynamic acceleration method and device and CDN edge node Pending CN114640717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011486211.2A CN114640717A (en) 2020-12-16 2020-12-16 CDN dynamic acceleration method and device and CDN edge node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011486211.2A CN114640717A (en) 2020-12-16 2020-12-16 CDN dynamic acceleration method and device and CDN edge node

Publications (1)

Publication Number Publication Date
CN114640717A true CN114640717A (en) 2022-06-17

Family

ID=81944962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011486211.2A Pending CN114640717A (en) 2020-12-16 2020-12-16 CDN dynamic acceleration method and device and CDN edge node

Country Status (1)

Country Link
CN (1) CN114640717A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036977A (en) * 2012-12-13 2013-04-10 北京奇虎科技有限公司 Business pushing method and pushing system based on content distribution network
US20150058403A1 (en) * 2013-08-20 2015-02-26 Alibaba Group Holding Limited Method and system of dispatching requests in a content delivery network
CN106850572A (en) * 2016-12-29 2017-06-13 网宿科技股份有限公司 The access method and device of target resource
CN106888270A (en) * 2017-03-30 2017-06-23 网宿科技股份有限公司 Return the method and system of source routing scheduling
CN107105029A (en) * 2017-04-18 2017-08-29 北京友普信息技术有限公司 A kind of CDN dynamic contents accelerated method and system based on Docker technologies
CN109391640A (en) * 2017-08-03 2019-02-26 中国移动通信有限公司研究院 Dynamic content accesses accelerated method, system, medium and computing device
WO2019214009A1 (en) * 2018-05-10 2019-11-14 网宿科技股份有限公司 Live video stream guiding method, ccl server and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036977A (en) * 2012-12-13 2013-04-10 北京奇虎科技有限公司 Business pushing method and pushing system based on content distribution network
US20150058403A1 (en) * 2013-08-20 2015-02-26 Alibaba Group Holding Limited Method and system of dispatching requests in a content delivery network
CN106850572A (en) * 2016-12-29 2017-06-13 网宿科技股份有限公司 The access method and device of target resource
CN106888270A (en) * 2017-03-30 2017-06-23 网宿科技股份有限公司 Return the method and system of source routing scheduling
CN107105029A (en) * 2017-04-18 2017-08-29 北京友普信息技术有限公司 A kind of CDN dynamic contents accelerated method and system based on Docker technologies
CN109391640A (en) * 2017-08-03 2019-02-26 中国移动通信有限公司研究院 Dynamic content accesses accelerated method, system, medium and computing device
WO2019214009A1 (en) * 2018-05-10 2019-11-14 网宿科技股份有限公司 Live video stream guiding method, ccl server and system

Similar Documents

Publication Publication Date Title
US20200220840A1 (en) Method, server and system for resolving domain name
US9954934B2 (en) Content delivery reconciliation
CN110324434B (en) Domain name resolution method, client, server and electronic equipment
TWI727467B (en) Trustworthiness verification method, system, device and equipment of alliance chain
US9588854B2 (en) Systems and methods for a secondary website with mirrored content for automatic failover
CN112087644B (en) Pull stream request processing method, device and system, electronic equipment and storage medium
CN108683668A (en) Resource checksum method, apparatus, storage medium and equipment in content distributing network
CN112513830A (en) Back-source method and related device in content distribution network
CN110022259B (en) Message arrival rate determining method and device, data statistics server and storage medium
CN113472852A (en) CDN node back-source method, device and equipment
CN109450844B (en) Method and device for triggering vulnerability detection
CN111597259B (en) Data storage system, method, device, electronic equipment and storage medium
CN113709530A (en) Resource downloading method, system, electronic equipment and storage medium
CN111694639A (en) Method and device for updating address of process container and electronic equipment
US20150319204A1 (en) Technique for communication in a communication network centered on information
CN110708402A (en) Accessible resource display method and device and resource access system
CN112565406B (en) Gray release method, gray release system and electronic equipment
CN111866211B (en) Network access method, device, terminal and medium applied to terminal
CN113271359A (en) Method and device for refreshing cache data, electronic equipment and storage medium
CN114640717A (en) CDN dynamic acceleration method and device and CDN edge node
CN111125580B (en) Network resource acquisition method and device, electronic equipment and storage medium
CN113138943B (en) Method and device for processing request
CN110807040B (en) Method, device, equipment and storage medium for managing data
CN114338809A (en) Access control method, device, electronic equipment and storage medium
CN112860432A (en) Process management method, device and server

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