CN114979146A - Source returning method, CDN device, storage medium and device - Google Patents

Source returning method, CDN device, storage medium and device Download PDF

Info

Publication number
CN114979146A
CN114979146A CN202210575833.5A CN202210575833A CN114979146A CN 114979146 A CN114979146 A CN 114979146A CN 202210575833 A CN202210575833 A CN 202210575833A CN 114979146 A CN114979146 A CN 114979146A
Authority
CN
China
Prior art keywords
nkn
network
source
resource request
address
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
CN202210575833.5A
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.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information 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 China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202210575833.5A priority Critical patent/CN114979146A/en
Publication of CN114979146A publication Critical patent/CN114979146A/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)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a back-source method, CDN equipment, a computer readable storage medium and equipment, wherein the method comprises the following steps: receiving a resource request initiated by a terminal; acquiring an NKN address of a source station associated with the resource request, and updating the resource request based on the NKN address; and sending the updated resource request to the NKN agent module corresponding to the source station through the NKN client to acquire response content corresponding to the resource request. The technical problem that the source returning effect cannot be guaranteed is solved, and the technical effect of improving the source returning effect is achieved.

Description

Source returning method, CDN device, storage medium and device
Technical Field
The present application relates to the field of content delivery network technologies, and in particular, to a back-source method, a CDN device, a computer-readable storage medium, and a device.
Background
A CDN (Content Delivery Network) is an intelligent Delivery Network built on the basis of an existing Network, and enables a user to obtain required Content nearby by using edge servers deployed in various places and combining functional modules such as load balancing and scheduling of a platform. Therefore, the effects of reducing network congestion and improving the access response speed and user experience of the user are achieved. Generally, a CDN edge node includes multiple cache servers, and if a resource accessed by a user is not found in the CDN edge node, the edge node returns a source to a source station to request the resource, the resource obtained by returning the source is sent to the user while a copy is locally stored in the edge node, and when another user requests the same resource, the resource is directly retrieved locally and returned to the user.
In the related source returning scheme, the source returning is reduced as much as possible by adding a first-level cache or a content center, although the source returning efficiency can be provided. However, the back-source routing is limited between the CDN node and the source station, and when the backbone network has an IP change, if the CDN side is not updated in time, the back-source routing may cause a back-source failure. Therefore, the effect of the source return cannot be guaranteed.
Disclosure of Invention
The embodiments of the present application provide a back-source method, a CDN device, a computer-readable storage medium, and a device, so as to solve the technical problem that a back-source effect cannot be guaranteed, and achieve a technical effect of improving the back-source effect.
The embodiment of the application provides a source returning method, which is applied to a CDN side, wherein the CDN side is provided with an NKN client, and the source returning method comprises the following steps:
receiving a resource request initiated by a terminal;
acquiring an NKN address of a source station associated with the resource request, and updating the resource request based on the NKN address;
and sending the updated resource request to the NKN agent module corresponding to the source station through the NKN client to acquire response content corresponding to the resource request.
Optionally, after the step of receiving the resource request initiated by the terminal, the method further includes:
determining the network quality and/or security level of a backbone network and an NKN network;
determining a target back-to-source network according to the network quality and/or the security level;
when the target source returning network is the backbone network, executing a source returning action based on the backbone network;
and when the target network is the NKN network, the step of acquiring the NKN address of the source station associated with the resource request and updating the resource request based on the NKN address is executed.
Optionally, the step of determining the network quality and/or security level of the backbone network and the NKN network comprises:
determining the network quality according to at least one of link connectivity, minimum time delay and download rate corresponding to the backbone network and the NKN network; and/or
And determining the security level according to the communication protocol configuration of the backbone network and the NKN network.
Optionally, the step of determining a target back-to-source network according to the network quality and/or the security level includes:
determining the back-source priority corresponding to the backbone network and the NKN network according to the network quality and/or the security level;
when the source returning priority corresponding to the backbone network is greater than the source returning priority corresponding to the NKN network, taking the backbone network as the target source returning network;
and when the return-source priority corresponding to the NKN network is greater than the return-source priority corresponding to the backbone network, taking the NKN network as the target return-source network.
Optionally, after the step of acquiring the NKN address of the source station associated with the resource request and updating the resource request based on the NKN address, the method further includes:
encrypting the updated resource request;
the step of sending the updated resource request to the NKN agent module corresponding to the source station by the NKN client includes:
and sending the encrypted resource request to an NKN agent module corresponding to the source station through the NKN client.
Optionally, after the step of sending the updated resource request to the NKN agent module corresponding to the source station by the NKN client, the method further includes:
receiving response content corresponding to the resource request sent by the source station through an NKN client;
and sending the response content to the terminal.
The embodiment of the present application further provides a source returning method, which is applied to a source station side, where the source station side is provided with an NKN proxy module, and the source returning method includes:
determining response content according to the resource request received by the NKN agent module;
and sending the response content corresponding to the resource request to an NKN client side on the CDN side through the NKN agent module.
An embodiment of the present application further provides a CDN device, including:
a receiving module, configured to receive a resource request initiated by a terminal;
the updating module is used for acquiring the NKN address of the source station associated with the resource request and updating the resource request based on the NKN address;
and the NKN client is used for sending the updated resource request to the NKN agent module corresponding to the source station so as to acquire response content corresponding to the resource request.
The embodiment of the present application further provides a computer-readable storage medium, on which a back source program is stored, and when the back source program is executed by a processor, the back source program implements the corresponding steps of the method as described above.
The embodiment of the present application further provides a device, which includes a memory, a processor, and a source returning program stored in the memory and capable of running on the processor, and the processor implements the steps corresponding to the method described above when executing the source returning program.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
since the resource request can be sent to the source station through the NKN network, and the response content is obtained, the NKN address of the source station is a fixed address in the NKN network, and does not change with ip. Therefore, even if the IP of the source station is changed, the source returning can be realized based on the NKN network, and the source returning effect is ensured. Meanwhile, based on the NKN network source returning, massive NKN network nodes are multiplexed for routing forwarding, a multi-path concurrent mode is supported to accelerate the transmission speed, and the more nodes, the higher the efficiency. Therefore, the source returning efficiency can also be improved. Moreover, the NKN source returning can be realized only by adding two independent modules in the source returning system, the whole system has less invasion to the existing CDN system, no additional equipment or hardware support is needed, and the realization cost is low.
Drawings
FIG. 1 is a schematic flow chart of a first embodiment of a feed-back method of the present application;
FIG. 2 is a schematic flow chart illustrating a second embodiment of a feed-back method of the present application;
FIG. 3 is a schematic flow chart illustrating a third embodiment of a source return method according to the present application;
fig. 4 is a schematic diagram of a hardware structure of a device according to an embodiment of the present application;
fig. 5 is a schematic block diagram of an apparatus according to an embodiment of the present application.
Detailed Description
In the related source returning scheme, the source returning is reduced as much as possible by adding a first-level cache or a content center, although the source returning efficiency can be provided. However, when the corresponding response content (i.e. the resource corresponding to the request) does not exist in the local cache, the source returning can still only be performed by relying on the backbone network. However, the back-source routing is limited between the CDN node and the source station, and when the backbone network has an IP change, if the CDN side is not updated in time, the back-source routing will fail. Therefore, the effect of the source return cannot be guaranteed.
In order to solve the above-mentioned defects in the related art solutions, an embodiment of the present application provides a source returning method, where a resource request initiated by a terminal is received, then a New Network address of a source station associated with the resource request is obtained, the resource request is updated based on the NKN address, and the updated resource request is sent to an NKN proxy module corresponding to the source station through the NKN client, so as to obtain response content corresponding to the resource request. Since the resource request can be sent to the source station through the NKN network, and the response content is obtained, the NKN address of the source station is a fixed address in the NKN network, and does not change with ip. Therefore, even if the IP of the source station is changed, the source returning can be realized based on the NKN network, and the source returning effect is ensured.
In order to better understand the above technical solutions, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Example one
Referring to fig. 1, in the present embodiment, the source returning method includes the following steps:
step S1: receiving a resource request initiated by a terminal;
step S2: acquiring an NKN address of a source station associated with the resource request, and updating the resource request based on the NKN address;
step S3: and sending the updated resource request to the NKN agent module corresponding to the source station through the NKN client.
In this embodiment, the CDN node (i.e., the CND side) is in communication connection with the terminal, so that the CND node may receive a resource request initiated by the terminal. In addition, an NKN client module can be added on the CDN side, and the CDN node is added into the NKN network through the NKN client module.
Optionally, after receiving a resource request initiated by a terminal, if a CDN node has a cache function, first determining whether response content corresponding to the resource request exists in a cache of the CDN node. If the response content exists in the cache, the response content can be directly obtained from the cache. And feeds back the response content to the terminal. Otherwise, it is determined that a source return is required. If the CDN side does not have the cache function, the CDN side directly judges that the back source is needed.
It should be noted that, when it is determined that the source returning is required, the source returning mode may be determined first.
Alternatively, the CDN side may be configured to return to the source only through the NKN network, or configured to selectively select the backbone network return to the source and the NKN network return to the source. After determining to go back to source through the NKN network, the source station corresponding to the resource request may be determined. And then acquiring the corresponding NKN address of the source station. It is understood that the NKN address of the source station is a fixed address in the NKN network and does not change with ip.
After acquiring the NKN address of the source station, the NKN address may be added to the request header of the resource request to update the resource request. And the NKN client side on the CDN side can send the updated resource request to the NKN agent module of the source station through the NKN network.
Optionally, after adding the NKN address of the source station to the request header of the resource request, the updated resource request may also be encrypted. And then sending the encrypted resource request to the NKN agent module through the NKN client. This may improve the security of the data transmission.
In the related source returning scheme, if the source station does not support https, when the source returning network is hijacked, the problem cannot be solved, and the source returning safety cannot be guaranteed. By using the encrypted NKN network source return, the source station can solve the source return safety problem in the scene that the source station does not support https.
It should be noted that the NKN agent module is deployed on the source station side. And after the NKN agent module receives the resource request, forwarding the resource request to the source station. And enabling the source station to determine corresponding response content based on the resource request, and feeding back the response content to the CDN side through the proxy module based on the NKN network. And then the CDN side can receive response content corresponding to the resource request sent by the source station through the NKN client side and send the response content to the terminal.
In the technical solution disclosed in this embodiment, the NKN network may send the resource request to the source station to further obtain the response content, and the NKN address of the source station is a fixed address in the NKN network and does not change with ip. Therefore, even if the IP of the source station is changed, the source returning can be realized based on the NKN network, and the source returning effect is ensured. Meanwhile, based on the NKN network source returning, massive NKN network nodes are multiplexed for routing forwarding, a multi-path concurrent mode is supported to accelerate the transmission speed, and the more nodes, the higher the efficiency. Therefore, the source returning efficiency can also be improved. Moreover, the NKN source returning can be realized only by adding two independent modules in the source returning system, the whole system has less invasion to the existing CDN system, no additional equipment or hardware support is needed, and the realization cost is low.
Second embodiment
Referring to fig. 2, according to any embodiment described in the present application, after the step S10, the method further includes:
step S4: determining the network quality and/or security level of a backbone network and an NKN network;
step S5: determining a target back-to-source network according to the network quality and/or the security level;
step S6: confirming whether the target return-to-source network is the backbone network;
step S7: performing a back source action based on the backbone network;
in this embodiment, after receiving the resource request, it may be determined whether a return to the source is required. When determining that back-sourcing is required, the network quality and/or security level of the backbone network and the NKN network may be determined first.
Optionally, the network quality may be determined according to at least one of link connectivity, minimum latency, and download rate corresponding to the backbone network and the NKN network. The link connectivity, the minimum delay and the download rate may be detected in real time, or determined according to historical data of the backbone network and the NKN network. Of course, in some embodiments, the determination may be based on historical data and implementation probe data.
Optionally, the security level may also be determined according to a communication protocol configuration of the backbone network and the NKN network. In the course of communication, the NKN network may default to the first security level because its transmission content needs to be encrypted. And when the communication protocol corresponding to the backbone network is http, judging that the security level of the backbone network is less than the first security level. And when the communication protocol corresponding to the backbone network is https, judging the security level of the backbone network to be equal to or greater than the first security level.
For example, when the security levels are set to be 3 security levels, namely low, medium and high, from low to high, the corresponding security level of the NKN network may be set to be medium by default. When the communication protocol corresponding to the backbone network is http, the security level corresponding to the backbone network may be determined to be medium or high according to the encryption manner.
After determining the network quality and/or security level corresponding to the backbone network and the NKN network, it may be determined whether to use the backbone network or the NKN network as a target back-to-source network according to a preset decision policy.
For example, in an application scenario, the resource security requirement requested by the terminal is high, and therefore the decision policy may be set to target the network with a high security level back to the source network. Therefore, after determining the security levels corresponding to the backbone network and the NKN network respectively. And if the security level of the backbone network is higher than that of the NKN network, taking the backbone network as a target return-to-source network. Otherwise, the NKN network is used as the target return-source network. Optionally, when the security levels of the backbone network and the NKN network are equal, it may be determined whether the backbone network or the NKN network is used as the target back-to-source network according to a default selection. Or further selecting a network with better network quality as a target return-to-source network according to the network quality of the backbone network and the NKN network. Optionally, when the security levels and the network qualities of the backbone network and the NKN network are the same, the target return network may be determined according to a default option.
In another application scenario, the terminal has a higher requirement for the request speed, so the decision policy can be set to target the network with high network quality back to the source network. Therefore, after determining the network quality corresponding to the backbone network and the NKN network respectively. And if the network quality of the backbone network is higher than that of the NKN network, taking the backbone network as a target return-to-source network. Otherwise, the NKN network is used as the target return-source network. Optionally, when the quality of the two networks is the same, the network with the higher security level may be further selected as the target back-to-source network according to the security levels of the two networks. Or determine the target back to the source network according to default options. When the security levels and the network qualities corresponding to the backbone network and the NKN network are the same, the target return network can be determined according to the default option.
In another application scenario, if the request speed and security need to be considered comprehensively, the decision policy can be set comprehensively according to the network quality and security level. For example, the decision policy is set to target the higher priority network back to the source network. The corresponding priorities of the backbone network and the NKN network can be determined comprehensively according to the corresponding security level and network quality. For example, the scores corresponding to the backbone network and the NKN network respectively may be determined according to the weighted sum of the network quality and the security level, and then the priority may be determined according to the magnitudes of the scores. In an application scenario where the priority is high, the security is high, and the rate is low, the weight value corresponding to the security level may be set to be greater than the weight value corresponding to the network quality. In an application scenario where the rate is emphasized and is lighter than safety, the weight value corresponding to the safety level may be set to be smaller than the weight value corresponding to the network quality. In this way, various application scenarios can be adapted by adjusting the weight value.
Further, after determining a target back-to-source network, when the target back-to-source network is the backbone network, a back-to-source action may be performed based on the backbone network. The source returning mode based on the backbone network is not described herein again. And when the target network is the NKN network, acquiring the NKN address of the source station associated with the resource request, updating the resource request based on the NKN address, and sending the updated resource request to the NKN agent module corresponding to the source station through the NKN client to acquire response content corresponding to the resource request. I.e., when the target network is the NKN network, the above-mentioned steps S2 and S3 are performed.
Because the source return routing in the related technical solution is limited between the CDN node and the source station, when the backbone network is abnormal, congested, or jittered, the source return effect cannot be guaranteed, but in the technical solution disclosed in this embodiment, the source return is performed by being compatible with the backbone network and the NKN network at the same time, and when the source return effect of the backbone network is the effect of the source return of the NKN network, the NKN network is used. Therefore, the problem of unstable return source caused by abnormity, congestion or jitter of the backbone network is solved. The effect of improving the stability of the return source is achieved.
EXAMPLE III
Referring to fig. 3, in the present embodiment, based on any embodiment of the present application, the source returning method further includes:
step S10: determining response content according to the resource request received by the NKN agent module;
step S20: and sending the response content corresponding to the resource request to an NKN client side on the CDN side through the NKN agent module.
In this embodiment, an NKN proxy module is provided at the source station, and when receiving a resource request sent by an NKN client, the NKN proxy module forwards the resource request to the source station. So that the source station determines the corresponding response content according to the resource request. And after determining corresponding response content, returning the response content to the NKN agent module, and based on the NKN agent module, concurrently returning the response content to the NKN client side on the CDN side through a plurality of paths. Therefore, the multiplexing of massive NKN network nodes for routing forwarding is realized, the multi-path concurrent mode is realized to accelerate the transmission speed, and the more the NKN network nodes are, the higher the efficiency is.
Example four
Referring to fig. 4, fig. 4 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present application.
As shown in fig. 4, the device may be a CDN device or a source station device, and the device includes: a processor 1001, such as a CPU, a network interface 1003, a memory 1004, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The network interface 1003 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1004 may be a high speed RAM memory or a stable memory. The memory 1004 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal configuration shown in fig. 4 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 4, the memory 1004, which is a kind of computer storage medium, may include therein an operating system, a network communication module, and a back source program.
Alternatively, in the device shown in fig. 4, the processor 1001 may be configured to call a back source program stored in the memory 1004 and perform the following operations:
receiving a resource request initiated by a terminal;
acquiring an NKN address of a source station associated with the resource request, and updating the resource request based on the NKN address;
and sending the updated resource request to the NKN agent module corresponding to the source station through the NKN client to acquire response content corresponding to the resource request.
Alternatively, the processor 1001 may call a back source program stored in the memory 1004, and further perform the following operations:
determining the network quality and/or security level of a backbone network and an NKN network;
determining a target back-to-source network according to the network quality and/or the security level;
when the target source returning network is the backbone network, executing a source returning action based on the backbone network;
and when the target network is the NKN network, the step of acquiring the NKN address of the source station associated with the resource request and updating the resource request based on the NKN address is executed.
Alternatively, the processor 1001 may call a back source program stored in the memory 1004, and further perform the following operations:
determining the network quality according to at least one of link connectivity, minimum time delay and download rate corresponding to the backbone network and the NKN network; and/or
And determining the security level according to the communication protocol configuration of the backbone network and the NKN network.
Alternatively, the processor 1001 may call a back source program stored in the memory 1004, and further perform the following operations:
determining the back-source priority corresponding to the backbone network and the NKN network according to the network quality and/or the security level;
when the source returning priority corresponding to the backbone network is greater than the source returning priority corresponding to the NKN network, taking the backbone network as the target source returning network;
and when the return-source priority corresponding to the NKN network is greater than the return-source priority corresponding to the backbone network, taking the NKN network as the target return-source network.
Alternatively, the processor 1001 may call a back source program stored in the memory 1004, and further perform the following operations:
encrypting the updated resource request;
the step of sending the updated resource request to the NKN agent module corresponding to the source station by the NKN client includes:
and sending the encrypted resource request to an NKN agent module corresponding to the source station through the NKN client.
Alternatively, the processor 1001 may call a back source program stored in the memory 1004, and further perform the following operations:
receiving response content corresponding to the resource request sent by the source station through an NKN client;
and sending the response content to the terminal.
Alternatively, in the device shown in fig. 4, the processor 1001 may be configured to call a back source program stored in the memory 1004 and perform the following operations:
determining response content according to the resource request received by the NKN agent module;
and sending the response content to the NKN client side on the CDN side through the NKN agent module.
EXAMPLE five
Referring to fig. 5, the present application further provides a CDN device 100, where the CDN device 100 includes:
a receiving module 101, configured to receive a resource request initiated by a terminal;
an updating module 102, configured to obtain an NKN address of a source station associated with the resource request, and update the resource request based on the NKN address;
and the NKN client 103 is configured to send the updated resource request to the NKN agent module corresponding to the source station to obtain response content corresponding to the resource request.
Optionally, the CDN device further includes a processing module, and the processing module may be configured to execute any one of the steps described in the first embodiment and the second embodiment.
EXAMPLE six
The embodiment of the present application further provides a computer-readable storage medium, on which a back source program is stored, and when the back source program is executed by a processor, the back source program implements the corresponding steps of the method as described above.
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 present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. 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.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A source returning method is applied to a CDN side, the CDN side is provided with an NKN client, and the source returning method comprises the following steps:
receiving a resource request initiated by a terminal;
acquiring an NKN address of a source station associated with the resource request, and updating the resource request based on the NKN address;
and sending the updated resource request to the NKN agent module corresponding to the source station through the NKN client to acquire response content corresponding to the resource request.
2. The method of claim 1, wherein after the step of receiving the terminal-initiated resource request, further comprising:
determining the network quality and/or security level of a backbone network and an NKN network;
determining a target back-to-source network according to the network quality and/or the security level;
when the target source returning network is the backbone network, executing a source returning action based on the backbone network;
and when the target network is the NKN network, the step of acquiring the NKN address of the source station associated with the resource request and updating the resource request based on the NKN address is executed.
3. The method of claim 2, wherein the step of determining the network quality and/or security level of the backbone network and the NKN network comprises:
determining the network quality according to at least one of link connectivity, minimum time delay and download rate corresponding to the backbone network and the NKN network; and/or
And determining the security level according to the communication protocol configuration of the backbone network and the NKN network.
4. The method of claim 2, wherein the step of determining a target back-to-source network based on the network quality and/or the security level comprises:
determining the back-source priority corresponding to the backbone network and the NKN network according to the network quality and/or the security level;
when the source returning priority corresponding to the backbone network is greater than the source returning priority corresponding to the NKN network, taking the backbone network as the target source returning network;
and when the return-source priority corresponding to the NKN network is greater than the return-source priority corresponding to the backbone network, taking the NKN network as the target return-source network.
5. The method of claim 1, wherein after the steps of obtaining the NKN address of the source station associated with the resource request and updating the resource request based on the NKN address, further comprising:
encrypting the updated resource request;
the step of sending the updated resource request to the NKN agent module corresponding to the source station by the NKN client includes:
and sending the encrypted resource request to an NKN agent module corresponding to the source station through the NKN client.
6. The method of claim 1, wherein after the step of sending the updated resource request to the corresponding NKN proxy module of the source station via the NKN client, further comprising:
receiving response content corresponding to the resource request sent by the source station through an NKN client;
and sending the response content to the terminal.
7. A source returning method is applied to a source station side, wherein an NKN agent module is arranged on the source station side, and the source returning method comprises the following steps:
determining response content according to the resource request received by the NKN agent module;
and sending the response content corresponding to the resource request to an NKN client side on the CDN side through the NKN agent module.
8. A CDN device, comprising:
a receiving module, configured to receive a resource request initiated by a terminal;
the updating module is used for acquiring the NKN address of the source station associated with the resource request and updating the resource request based on the NKN address;
and the NKN client is used for sending the updated resource request to the NKN agent module corresponding to the source station so as to acquire response content corresponding to the resource request.
9. A computer-readable storage medium, having stored thereon a provenance program that, when executed by a processor, implements the method of any of claims 1-7.
10. An apparatus comprising a memory, a processor, and a source program stored on the memory and executable on the processor, the processor implementing the method of any of claims 1-7 when executing the source program.
CN202210575833.5A 2022-05-25 2022-05-25 Source returning method, CDN device, storage medium and device Pending CN114979146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210575833.5A CN114979146A (en) 2022-05-25 2022-05-25 Source returning method, CDN device, storage medium and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210575833.5A CN114979146A (en) 2022-05-25 2022-05-25 Source returning method, CDN device, storage medium and device

Publications (1)

Publication Number Publication Date
CN114979146A true CN114979146A (en) 2022-08-30

Family

ID=82955304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210575833.5A Pending CN114979146A (en) 2022-05-25 2022-05-25 Source returning method, CDN device, storage medium and device

Country Status (1)

Country Link
CN (1) CN114979146A (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924797A (en) * 2010-08-26 2010-12-22 成都市华为赛门铁克科技有限公司 Method, device and system for processing source downloading
CN101989951A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method, system and equipment for selecting service node
CN102790720A (en) * 2012-08-06 2012-11-21 厦门市美亚柏科信息股份有限公司 Virtual coordinate system constructing and routing methods of CDN-P2P (Content Distribution Network-Peer-to-Peer) network
CN103905341A (en) * 2012-12-28 2014-07-02 中国移动通信集团公司 Resource scheduling method, resource scheduling device and resource scheduling system
WO2016101763A1 (en) * 2014-12-22 2016-06-30 北京奇虎科技有限公司 Implementation method and device for downloading resource through cdn, and server and client
CN106790609A (en) * 2016-12-29 2017-05-31 北京奇艺世纪科技有限公司 Data transmission method and device
CN107483614A (en) * 2017-08-31 2017-12-15 京东方科技集团股份有限公司 Content scheduling method and communication network based on CDN Yu P2P networks
CN109547508A (en) * 2017-09-21 2019-03-29 阿里巴巴集团控股有限公司 A kind of method, apparatus and system for realizing resource access
CN109831511A (en) * 2019-02-18 2019-05-31 华为技术有限公司 Method and equipment for scheduling content delivery network CDN edge nodes
CN110278254A (en) * 2019-06-12 2019-09-24 深圳梨享计算有限公司 Dispatching method and dispatching terminal for FogCDN scene
WO2019196825A1 (en) * 2018-04-13 2019-10-17 贵州白山云科技股份有限公司 Resource acquisition method and system based on block chain network, storage medium, and computer device
CN110460652A (en) * 2019-07-26 2019-11-15 网宿科技股份有限公司 A kind of resource acquiring method and edge calculations dispatch server
CN112202906A (en) * 2020-10-09 2021-01-08 安徽极玩云科技有限公司 CDN access optimization method and system
CN112422702A (en) * 2020-08-10 2021-02-26 上海哔哩哔哩科技有限公司 CDN back-to-source method, system and computer equipment
CN114189523A (en) * 2021-12-17 2022-03-15 中国电信股份有限公司 Method, device and storage medium for back source of edge node of CDN (content delivery network)

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924797A (en) * 2010-08-26 2010-12-22 成都市华为赛门铁克科技有限公司 Method, device and system for processing source downloading
CN101989951A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method, system and equipment for selecting service node
CN102790720A (en) * 2012-08-06 2012-11-21 厦门市美亚柏科信息股份有限公司 Virtual coordinate system constructing and routing methods of CDN-P2P (Content Distribution Network-Peer-to-Peer) network
CN103905341A (en) * 2012-12-28 2014-07-02 中国移动通信集团公司 Resource scheduling method, resource scheduling device and resource scheduling system
WO2016101763A1 (en) * 2014-12-22 2016-06-30 北京奇虎科技有限公司 Implementation method and device for downloading resource through cdn, and server and client
CN106790609A (en) * 2016-12-29 2017-05-31 北京奇艺世纪科技有限公司 Data transmission method and device
CN107483614A (en) * 2017-08-31 2017-12-15 京东方科技集团股份有限公司 Content scheduling method and communication network based on CDN Yu P2P networks
CN109547508A (en) * 2017-09-21 2019-03-29 阿里巴巴集团控股有限公司 A kind of method, apparatus and system for realizing resource access
WO2019196825A1 (en) * 2018-04-13 2019-10-17 贵州白山云科技股份有限公司 Resource acquisition method and system based on block chain network, storage medium, and computer device
CN109831511A (en) * 2019-02-18 2019-05-31 华为技术有限公司 Method and equipment for scheduling content delivery network CDN edge nodes
CN110278254A (en) * 2019-06-12 2019-09-24 深圳梨享计算有限公司 Dispatching method and dispatching terminal for FogCDN scene
CN110460652A (en) * 2019-07-26 2019-11-15 网宿科技股份有限公司 A kind of resource acquiring method and edge calculations dispatch server
CN112422702A (en) * 2020-08-10 2021-02-26 上海哔哩哔哩科技有限公司 CDN back-to-source method, system and computer equipment
CN112202906A (en) * 2020-10-09 2021-01-08 安徽极玩云科技有限公司 CDN access optimization method and system
CN114189523A (en) * 2021-12-17 2022-03-15 中国电信股份有限公司 Method, device and storage medium for back source of edge node of CDN (content delivery network)

Similar Documents

Publication Publication Date Title
EP3968610A1 (en) Method, device, and system for selecting mobile edge computing node
EP3968594B1 (en) Method, apparatus and system for selecting mobile edge computing node
EP3211857B1 (en) Http scheduling system and method of content delivery network
JP7252213B2 (en) Context-aware path computation and selection
EP3148125A1 (en) Setting method, server device and service chain system
KR100870166B1 (en) Load distributing apparatus, load distributing method, and load distributing program
CN108366020B (en) Method and system for sending acquisition request of data resource
CN114079669A (en) System and method for providing Global Virtual Network (GVN)
US11159642B2 (en) Site and page specific resource prioritization
CN109511136B (en) Network slice selection method and device
WO2020210403A1 (en) Context-aware content delivery
CN108366104A (en) A kind of data download control method and device
CN116633934A (en) Load balancing method, device, node and storage medium
US11128733B2 (en) Server-side resource prioritization
US20110072152A1 (en) Apparatus and method for receiving data
CN112470445B (en) Method and equipment for opening edge computing topology information
CN114979146A (en) Source returning method, CDN device, storage medium and device
CN106254576B (en) Message forwarding method and device
EP3016324A1 (en) Method and apparatus for establishing path on network
US11575601B2 (en) Network device and packet processing method using same
JP2023547880A (en) Network nodes and methods in network nodes for providing backup network functionality
US20140164608A1 (en) Content transmission system
CN112584396B (en) Network function routing method, device and system
KR20120056728A (en) Opportunistic Fair Parallel Download Method and System Based on Priority of Connection Link
Manfredi et al. Optimised balancing algorithm for content delivery networks

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