CN110233861B - CDN node scheduling method and device, storage medium and electronic equipment - Google Patents

CDN node scheduling method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN110233861B
CN110233861B CN201810178519.7A CN201810178519A CN110233861B CN 110233861 B CN110233861 B CN 110233861B CN 201810178519 A CN201810178519 A CN 201810178519A CN 110233861 B CN110233861 B CN 110233861B
Authority
CN
China
Prior art keywords
cdn
node
cdn node
current
nodes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810178519.7A
Other languages
Chinese (zh)
Other versions
CN110233861A (en
Inventor
王龙平
何朝斌
冯宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810178519.7A priority Critical patent/CN110233861B/en
Publication of CN110233861A publication Critical patent/CN110233861A/en
Application granted granted Critical
Publication of CN110233861B publication Critical patent/CN110233861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The disclosure relates to a scheduling method and device of CDN nodes, a storage medium and electronic equipment. The method comprises the following steps: acquiring parameter information of each CDN node; judging whether to switch the current CDN node for processing the webpage access request according to the parameter information of each CDN node; if the switching is carried out, determining a target CDN node in the rest CDN nodes except the current CDN node; switching CDN nodes for processing the webpage access request from the current CDN node to a target CDN node; the CDN nodes comprise CDN nodes of a plurality of CDN operators, and the current CDN node is different from the CDN operators of the target CDN nodes. The CDN node scheduling method in the method is simple and flexible, high in efficiency and capable of achieving automatic scheduling of the CDN node.

Description

CDN node scheduling method and device, storage medium and electronic equipment
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a scheduling method and device of CDN nodes, a storage medium and electronic equipment.
Background
CDN (Content Delivery Network, content delivery web) technology is a means to address poor internet performance. The basic idea is to avoid the bottleneck and link on the internet which possibly affects the data transmission speed and stability as much as possible, so that the content transmission is faster and more stable. The basic principle of CDN technology is: the intelligent virtual network formed by CDN node servers is placed everywhere on the Internet, and the CDN system can redirect the web access request of the netizen to the CDN node nearest to the netizen according to the comprehensive information such as the web flow, the connection of each CDN node, the load condition, the distance to the netizen and the response time in real time, so that the netizen can obtain the required content nearby, the condition of crowding of the existing web page is solved, and the response speed of the netizen for accessing the website is improved.
In the existing CDN service operation mode, each CDN operator directly provides services for the web operators. Therefore, in order to provide more quality and efficient services to the netizens, more CDN nodes need to be built. Obviously, the more CDN nodes, the higher the cost and the longer the CDN node establishment time, and meanwhile, the quality of each CDN node cannot be ensured. In addition, once the quality of the CDN operator fails, the quality of service is directly affected.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The disclosure is directed to a method and apparatus for scheduling CDN nodes, a storage medium, and an electronic device, thereby overcoming, at least to some extent, one or more of the problems caused by the limitations and disadvantages of the related art.
According to one aspect of the present disclosure, there is provided a scheduling method of a CDN node, including:
polling each CDN node in a plurality of CDN nodes comprising the current CDN node to acquire parameter information of each CDN node;
Judging whether to switch the current CDN node for processing the webpage access request according to the parameter information of each CDN node;
if the current CDN node for processing the webpage access request is switched, determining a target CDN node in the rest CDN nodes except the current CDN node;
switching CDN nodes for processing the webpage access request from the current CDN node to the target CDN node;
the plurality of CDN nodes includes CDN nodes of a plurality of CDN operators, and the current CDN node is different from the CDN operator of the target CDN node.
In an exemplary embodiment of the present disclosure, before the switching the CDN node for processing the web page access request from the current CDN node to the target CDN node, the method further includes:
and if the domain name of the provider of the webpage accessed by the webpage access request is not registered in the server of the CDN operator to which the target CDN node belongs, registering the domain name of the provider into the server of the CDN operator to which the target CDN node belongs through an API interface, and setting the domain name of the provider into an enabling state.
In an exemplary embodiment of the present disclosure, the determining, according to the parameter information of each CDN node, whether to switch the current CDN node for processing a web access request includes:
Calculating the score of the current CDN node according to the parameter information of the current CDN node;
judging whether to switch the current CDN node for processing the webpage access request or not according to the score of the current CDN node and combining a preset score value.
In an exemplary embodiment of the present disclosure, the determining, according to the parameter information of each CDN node, whether to switch the current CDN node for processing a web access request includes:
calculating the score of each CDN node according to the parameter information of each CDN node;
and judging whether the current CDN node for processing the webpage access request is switched or not according to the score of each CDN node.
In an exemplary embodiment of the present disclosure, the method further comprises:
and registering the domain name of each webpage provider in the server of each CDN operator through a preset interface, and setting the domain name of each webpage provider to be in an enabling state.
In an exemplary embodiment of the present disclosure, the method further comprises:
performing preset operation on the domain name of the webpage provider registered in the server of the CDN operator through the preset interface; wherein the preset operations may include one or more of deletion, activation, deactivation, configuration modification, configuration query.
In an exemplary embodiment of the present disclosure, the method further comprises:
and acquiring and analyzing historical parameter information of each CDN node to acquire an optimal CDN operator, and recommending the optimal CDN operator to a webpage provider.
In an exemplary embodiment of the disclosure, the parameter information of each CDN node includes at least one of node bandwidth information, node traffic information, and node quality information.
According to one aspect of the present disclosure, there is provided a scheduling apparatus of a CDN node, including:
the acquisition module is used for polling each CDN node in a plurality of CDN nodes comprising the current CDN node and acquiring parameter information of each CDN node;
the judging module is used for judging whether the current CDN node for processing the webpage access request is switched or not according to the parameter information of each CDN node;
the determining module is used for determining a target CDN node in the rest CDN nodes except the current CDN node if the current CDN node for processing the webpage access request is switched;
the switching module is used for switching the CDN node for processing the webpage access request from the current CDN node to the target CDN node;
The plurality of CDN nodes includes CDN nodes of a plurality of CDN operators, and the current CDN node is different from the CDN operator of the target CDN node.
According to one aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the scheduling method of the CDN node of any one of the above.
According to one aspect of the present disclosure, there is provided an electronic device including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of scheduling CDN nodes of any one of the above via execution of the executable instructions.
The method judges whether to switch the current CDN node for processing the webpage access request according to the parameter information of each CDN node, determines a target CDN node in the remaining CDN nodes except the current CDN node when the current CDN node is switched, and switches the CDN node for processing the webpage access request from the current CDN node to the target CDN node, wherein CDN operators of the current CDN node and the target CDN node are different. On the one hand, whether the current CDN node for processing the webpage access request is switched is judged according to the parameter information of each CDN node, and when the current CDN node is switched, a target CDN node is determined and switched, the dispatching mode of the CDN node is simple and flexible, the efficiency is high, and the automatic dispatching of the CDN node is realized; on the other hand, the target CDN node is different from the CDN operators of the current CDN node, namely, the CDN nodes of the different CDN operators can be switched, so that each CDN operator does not need to establish more CDN nodes to provide more excellent service for netizens, but provides more urgent and excellent service for netizens by switching to the CDN nodes of other CDN operators, the cost is low, and meanwhile, the stability of the service and the speed of processing the webpage access request are also ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The above and other features and advantages of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort. In the drawings:
FIG. 1 is a schematic diagram of a CDN operator scheduling CDN nodes in the related art;
FIG. 2 is a schematic diagram of an application architecture system of a scheduling method applied to CDN nodes in the related art;
FIG. 3 is a flowchart of a method for scheduling CDN nodes according to the present disclosure;
FIG. 4 is a schematic diagram of a plurality of CDN nodes formed by CDN nodes in K CDN operators according to an exemplary embodiment of the present disclosure;
FIG. 5 is a flow chart of determining whether to switch a current CDN node according to an exemplary embodiment of the present disclosure;
FIG. 6 is a flow chart of a determination of whether to switch a current CDN node provided in another exemplary embodiment of the present disclosure;
FIG. 7 is a schematic diagram of an application architecture system of a scheduling method applied to CDN nodes according to an exemplary embodiment of the present disclosure;
FIG. 8 is a block diagram of a scheduling apparatus of CDN nodes of the present disclosure;
fig. 9 is a block diagram of an electronic device in an exemplary embodiment of the present disclosure.
Fig. 10 is a schematic diagram of a program product in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can be embodied in many forms and should not be construed as 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 concept of the example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the disclosed aspects may be practiced without one or more of the specific details, or with other methods, components, materials, devices, steps, etc. In other instances, well-known structures, methods, devices, implementations, materials, or operations are not shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, or in one or more software-hardened modules, or in different web pages and/or processor devices and/or microcontroller devices.
A schematic diagram of a CDN operator scheduling CDN nodes in the related art is shown in fig. 1.
In fig. 1, the CDN operator sets N CDN nodes, where the N CDN nodes may be set in respective provinces and cities of the country, and the number of CDN nodes set in each province and city may be the same or different. When a netizen initiates a webpage access request, a CDN operator can determine CDN nodes for processing the webpage access request from the N CDN nodes, but when the CDN nodes for processing the webpage access request are unavailable (namely, when the problems of network failure, poor quality and the like occur), the CDN operator directly provides services for the webpage operator, so that the CDN operator can only reselect available CDN nodes from the rest N-1 CDN nodes, namely, only select the available CDN nodes from CDN nodes under the CDN operator, and the CDN nodes can be used for processing the webpage access request.
Fig. 2 is a schematic diagram of an application architecture system of a scheduling method applied to CDN nodes in the related art.
As shown in fig. 2, the application architecture system may include a local DNS server 201, a web authoritative DNS server 202, a DNS dispatch server 203, a beijing CDN node 204, an Shanghai CDN node 205, and a guangzhou CDN node 206. Beijing CDN node 204, shanghai CDN node 205, and Guangzhou CDN node 206 are the same CDN operator.
When a netizen 207 located in beijing accesses www.abc.com through a terminal device (for example, a computer, a notebook, a mobile phone logon), the terminal device generates a request for acquiring an IP address corresponding to www.abc.com, sends the request for acquiring the IP address corresponding to www.abc.com to the local DNS server 201, the local DNS server 201 forwards the request for acquiring the IP address corresponding to www.abc.com to the website authorized DNS server 202, and the website authorized DNS server 202 responds to the request for acquiring the IP address corresponding to www.abc.com to acquire the domain name of a CDN operator, where the CDN operator is a CDN operator of a beijing CDN node 204, a Shanghai CDN node 205, and a guangzhou CDN node 206, and the domain name of the CDN operator is www.abc.jcloudcdn.com, generates a request for acquiring the IP address corresponding to www.abc.jcloudcdn.com, and sends the request for acquiring the IP address corresponding to www.abc.jcloudcdn.com to the local DNS server 201; the local DNS server 201 forwards a request for acquiring the IP address corresponding to www.abc.jcloudcdn.com to the DNS scheduling server 203; the DNS scheduling server 203 resolves www.abc.jcloudcdn.com the request for obtaining the IP address corresponding to www.abc.jcloudcdn.com, and sends the IP address 1.1.1.1 of the beijing CDN node 204 to the terminal device through the local DNS server 201, where the terminal device opens www.abc.com the web page corresponding to the IP address 1.1.1.1.1. When the Beijing CDN node 204 is unavailable, that is, when a network failure or a poor quality problem occurs, the DNS scheduling server 203 can only send the IP address of the Shanghai CDN node 205 or the Guangzhou CDN node 206 to the terminal device through the local DNS server 201.
Obviously, in the above manner, since the CDN operator directly provides the service for the web operator, when the beijing CDN node 204 is unavailable, the CDN operator may only call the next Shanghai CDN node 205 or Guangzhou CDN node 206, and since the Shanghai CDN node 205 and the Guangzhou CDN node 206 are not located in a region with the terminal device, the time duration for the terminal device to access the Shanghai CDN node 205 or the Guangzhou CDN node 206 is longer than the time duration for the terminal device to access the beijing CDN node 204, and the access time is increased. In addition, when the Beijing CDN node 204, the Shanghai CDN node 205 and the Guangzhou CDN node 206 all fail, the web access request of the netizen cannot be processed, inconvenience is brought to the netizen, and more loss is brought to the web provider. In order to solve the above problem, CDN operators need to build more CDN nodes. However, the more CDN nodes, the higher the cost and the longer the time for setting up the CDN nodes, and meanwhile, the quality of each CDN node cannot be guaranteed; in addition, once the quality of the CDN nodes of the CDN operators fails, the quality of service is directly affected.
In order to solve the problems in the related art, the present exemplary embodiment first discloses a method for scheduling CDN nodes, and referring to fig. 3, the method for scheduling CDN nodes may include the following steps:
Step S310, polling each CDN node in a plurality of CDN nodes including the current CDN node to acquire parameter information of each CDN node;
step 320, judging whether to switch the current CDN node for processing a web access request according to the parameter information of each CDN node;
step S330, if the current CDN node for processing the webpage access request is switched, determining a target CDN node in the rest CDN nodes except the current CDN node;
step S340, switching the CDN node for processing the web access request from the current CDN node to the target CDN node; the plurality of CDN nodes includes CDN nodes of a plurality of CDN operators, and the current CDN node is different from the CDN operator of the target CDN node.
According to the dispatching method of the CDN nodes in the embodiment, on one hand, whether the current CDN node for processing the webpage access request is switched is judged according to the parameter information of each CDN node, and when the current CDN node is switched, a target CDN node is determined and switched, the dispatching mode of the CDN node is simple and flexible, the efficiency is high, and the automatic dispatching of the CDN nodes is realized; on the other hand, the target CDN node is different from the CDN operators of the current CDN node, namely, the CDN nodes of the different CDN operators can be switched, so that each CDN operator does not need to establish more CDN nodes to provide more excellent service for netizens, but provides more urgent and excellent service for netizens by switching to the CDN nodes of other CDN operators, the cost is low, and meanwhile, the stability of the service and the speed of processing the webpage access request are also ensured.
Next, a method for scheduling CDN nodes in the present exemplary embodiment will be further described with reference to fig. 3.
In step S310, each of a plurality of CDN nodes including a current CDN node is polled, and parameter information of each CDN node is obtained.
In this exemplary embodiment, the plurality of CDN nodes may include CDN nodes of a plurality of CDN operators, each CDN operator may include at least one CDN node, and the number of CDN nodes included by each CDN operator may be the same or different, which is not limited in particular in this exemplary embodiment. For example, a schematic diagram constituting a plurality of CDN nodes is shown in fig. 4. As can be seen from fig. 4, the plurality of CDN nodes is composed of CDN nodes among K CDN operators, where CDN operator 1 includes N CDN nodes, CDN operator 2 includes M CDN nodes, and CDN operator K includes X CDN nodes, where K, N, M, X is an integer. It should be noted that the CDN scheduling server is configured to schedule CDNs among different CDN operators. The CDN nodes in each CDN operator may be placed in each province throughout the country, and the number of CDN nodes in each province may be determined according to the population of the province.
The parameter information of each CDN node may include at least one characteristic information. For example, the parameter information of each CDN node may include at least one of node bandwidth information, node traffic information, node quality information, hit rate, status code, and the like, which is not limited in particular by the present exemplary embodiment. The node bandwidth information, the node flow information, the node quality information, the hit rate and the state code are all characteristic information. The node bandwidth information may represent an occupation proportion of a node bandwidth, the traffic information of the node may represent an access amount of the node, and the quality of the node may represent whether the performance of the node is good.
Each CDN node in a plurality of CDN nodes comprising the current CDN node can be polled through an API interface to acquire the parameter information of each CDN node in real time, namely, the parameter information of the current CDN node and the parameter information of the rest CDN nodes except the current CDN node are acquired.
In step S320, whether to switch the current CDN node for processing a web access request is determined according to the parameter information of each CDN node.
In this exemplary embodiment, whether to switch the current CDN node for processing the web access request may be determined according to the parameter information of the current CDN node. For example, when the parameter information of the current CDN node includes at least one of node bandwidth information, node traffic information, and node quality information, whether to switch the current CDN node for processing the web access request may be determined according to at least one of the node bandwidth information, the node traffic information, and the node quality information of the current CDN node. Specifically, whether the bandwidth of the current CDN node is full or not can be judged according to node bandwidth information of the current CDN node to judge whether the current CDN node is switched, that is, the current CDN node is switched when the bandwidth of the current CDN node is full; whether the current CDN node is switched or not can be judged according to the node flow information of the current CDN node, whether the access quantity of the current CDN node reaches the access upper limit or not is judged, namely, when the access quantity of the current CDN node reaches the access upper limit, the current CDN node is switched; whether the current CDN node is switched or not can be judged according to the node quality information of the current CDN node, namely, the current CDN node is switched when the performance of the current CDN node is poor; whether the current CDN node is switched or not can be judged according to any two or three of node bandwidth information, node flow information and node quality information of the current CDN node, namely, the current CDN node is switched when the bandwidth of the current CDN node is full and the access amount reaches the access upper limit and the performance is poor, or the current CDN node is switched when the bandwidth of the current CDN node is full and the access amount reaches the access upper limit, or the current CDN node is switched when the bandwidth of the current CDN node is full and the performance is poor, or the access amount of the current CDN node reaches the access upper limit and the performance is poor.
In addition, the score of the current CDN node can be calculated according to the parameter information of the current CDN node, and whether the current CDN node is switched or not can be judged according to the score of the current CDN node. As shown in fig. 5, the above-described process may include step S510 and step S520, in which:
in step S510, a score of the current CDN node is calculated according to the parameter information of the current CDN node.
In the present exemplary embodiment, for example, when the parameter information of the current CDN node includes at least one of node bandwidth information, node traffic information, and node quality information, the score of the current CDN node may be calculated according to at least one of the node bandwidth information, the node traffic information, and the node quality information of the current CDN node. Specifically, the score of the current CDN node may be calculated according to node bandwidth information or node quality information of the current CDN node. Taking node bandwidth information of the current CDN node as an example to explain the process, firstly, establishing a one-to-one object relation between each node bandwidth information (namely the occupation proportion of the node bandwidth) and each score, for example, establishing a one-to-one corresponding relation between each numerical value in the occupation proportion of 0-100% and each numerical value in the scores of 100-0; and then matching the node bandwidth information (namely the occupation proportion of the node bandwidth) of the current CDN node with the node bandwidth information, and determining the score corresponding to the successfully matched node bandwidth information as the score of the current CDN node.
The score of the current CDN node can be calculated according to any two or three of node bandwidth information, node flow information and node quality information of the current CDN node. The above process will be described by taking the example of calculating the score of the current CDN node according to the node bandwidth information, the node traffic information, and the node quality information of the current CDN node. Firstly, corresponding weights (such as alpha, beta and gamma) can be set for node bandwidth information, node flow information and node quality information respectively, and the node bandwidth information, the node flow information and the node quality information are weighted and summed, namely, the formula is adopted: the scoring of the current CDN node is calculated by alpha multiplied by node bandwidth information, beta multiplied by node flow information and gamma multiplied by node quality information. The specific values of α, β, γ may be set by a developer, and may also be obtained by analyzing historical data, which is not particularly limited in the present exemplary embodiment. It should be noted that the above manners of calculating the score of the current CDN node are all exemplary, and are not intended to limit the scope of the present invention. The score of the current CDN node may be in a positive correlation with the state of the current CDN node, i.e., the better the state of the current CDN node when the score of the current CDN node is higher, the worse the state of the current CDN node when the score of the current CDN node is lower. Of course, the score of the current CDN node may be in a negative correlation with the state of the current CDN node, that is, the better the state of the current CDN node when the score of the current CDN node is lower, the worse the state of the current CDN node when the score of the current CDN node is higher.
In step S520, whether to switch the current CDN node for processing the web access request is determined according to the score of the current CDN node and in combination with a preset score value.
In the present exemplary embodiment, the preset score value may be set by a developer, and may be 60, 70, 80, or the like, which is not particularly limited in the present exemplary embodiment. Step S520 is described taking an example that the score of the current CDN node may be inversely related to the state of the current CDN node. When the score of the current CDN node is larger than a preset score value, switching the current CDN node for processing the webpage access request, and when the score of the current CDN node is not larger than the preset score value, not switching the current CDN node for processing the webpage access request.
In this exemplary embodiment, whether to switch the current CDN node for processing the web access request may also be determined according to the parameter information of each CDN node. For example, when the parameter information of each CDN node includes at least one of node bandwidth information, node traffic information, and node quality information, whether to switch the current CDN node for processing a web access request may be determined according to at least one of node bandwidth information, node traffic information, and node quality information of each CDN node. Specifically, whether the current CDN node is switched or not can be judged according to node bandwidth information (i.e., occupation proportion of node bandwidths) of each CDN node, whether the node is better than the current CDN node or not is judged, namely whether the node is smaller than the occupation proportion of the node bandwidths of the current CDN node or not is judged, and if the node is present, the current CDN node is switched; whether the current CDN node is switched or not can be judged according to the node flow information (namely the access quantity of the nodes) of each CDN node, namely whether the node which is better than the current CDN node exists or not is judged, namely whether the CDN node which is smaller than the access quantity of the current CDN node exists or not is judged, and if the node which is better than the current CDN node exists, the current CDN node is switched; whether the current CDN node is switched or not can be judged according to node quality information (namely performance of the nodes) of each CDN node, namely whether the node which is better than the current CDN node exists or not is judged, if so, the current CDN node is switched; whether the current CDN node is switched or not can be judged according to any two or three of node bandwidth information, node flow information and node quality information of each CDN node, namely, when the CDN node which is smaller in occupied proportion, smaller in access quantity and better in performance than the current CDN node exists, the current CDN node is switched or when the CDN node which is smaller in occupied proportion and smaller in access quantity than the current CDN node exists, or when the CDN node which is smaller in occupied proportion and better in performance than the current CDN node exists, the current CDN node is switched or when the CDN node which is smaller in access quantity and better in performance than the current CDN node exists, the current CDN node is switched.
In addition, the score of each CDN node can be calculated according to the parameter information of each CDN node, and whether the current CDN node is switched or not can be judged according to the score of each CDN node. As shown in fig. 6, the above-described process may include step S610 and step S620, in which:
in step S610, a score of each CDN node is calculated according to the parameter information of each CDN node.
In the present exemplary embodiment, for example, when the parameter information of each CDN node includes at least one of node bandwidth information, node flow information, and node quality information, the score of each CDN node may be calculated according to at least one of node bandwidth information, node flow information, and node quality information of each CDN node. Specifically, the score of each CDN node may be calculated according to node bandwidth information or node quality information of each CDN node. Taking node bandwidth information of each CDN node as an example to explain the process, firstly, establishing a one-to-one object relation between each node bandwidth information (namely the occupation proportion of the node bandwidth) and each score, for example, establishing a one-to-one corresponding relation between each numerical value in the occupation proportion of 0-100% and each numerical value in the scores of 100-0; and then, matching the node bandwidth information (namely the occupation proportion of the node bandwidth) of each CDN node with the node bandwidth information, and determining the score corresponding to the successfully matched node bandwidth information as the score of each CDN node.
The score of each CDN node can be calculated according to any two or three of node bandwidth information, node flow information and node quality information of each CDN node. The above process will be described by taking the example of calculating the score of each CDN node according to the node bandwidth information, the node flow information, and the node quality information of each CDN node. Firstly, corresponding weights (such as alpha, beta and gamma) can be respectively set for node bandwidth information, node flow information and node quality information, and the node bandwidth information, the node flow information and the node quality information are weighted and summed, namely, the formula is adopted: the scoring of each CDN node is calculated by alpha multiplied by node bandwidth information, beta multiplied by node flow information and gamma multiplied by node quality information. The specific values of α, β, γ may be set by a developer, and may also be obtained by analyzing historical data, which is not particularly limited in the present exemplary embodiment. It should be noted that the above manner of calculating the score of each CDN node is exemplary and is not intended to limit the scope of the present invention. The score of each CDN node may be in a positive correlation with the state of each CDN node, that is, the better the state of each CDN node when the score of each CDN node is higher, the worse the state of each CDN node when the score of each CDN node is lower. Of course, the score of each CDN node and the state of each CDN node may also be in a negative correlation, that is, the better the state of each CDN node is when the score of each CDN node is lower, the worse the state of each CDN node is when the score of each CDN node is higher.
In step S620, it is determined whether to switch the current CDN node for processing a web access request according to the score of each CDN node.
In the present exemplary embodiment, the score of each CDN node includes a score of a current CDN node and scores of all remaining CDN nodes except the current CDN node in the plurality of CDN nodes. Based on the above, the score of the current CDN node and the scores of the remaining CDN nodes may be compared, and whether to switch the current CDN node for processing the web access request may be determined according to the comparison result. Step S620 is described taking as an example that the score of each CDN node and the state of each CDN node may be in a positive correlation relationship. The remaining CDN nodes may be sorted in order of the scores from big to small, and the scores of the remaining CDN nodes are compared with the scores of the current CDN nodes in order, and if a CDN node higher than the score of the current CDN node exists in the remaining CDN nodes, the current CDN node is switched.
In step S330, if the current CDN node for processing the web access request is switched, determining a target CDN node from the remaining CDN nodes except for the current CDN node.
In this exemplary embodiment, an optimal CDN node may be determined according to the parameter information of the remaining CDN nodes, and the optimal CDN node may be determined as the target CDN node. For example, according to node bandwidth information of the remaining CDN nodes, the CDN node with the lowest occupation proportion of the node bandwidth may be determined as the target CDN node; or the CDN node with the least access amount of the node can be determined as the target CDN node according to the node flow information of the rest CDN nodes; or determining the CDN node with the best performance as a target CDN node according to the node quality information of the rest CDN nodes; or determining the CDN node with the lowest occupation proportion of the node bandwidth and the minimum access amount as a target CDN node according to the node bandwidth information and the node flow information of the rest CDN nodes; or determining the CDN node with the lowest occupation proportion of the node bandwidth and the best performance as a target CDN node according to the node bandwidth information and the node quality information of the rest CDN nodes; or determining the CDN node with the least access and the best performance as a target CDN node according to the node flow information and the node quality information of the rest CDN nodes; or determining the CDN node with the lowest occupation proportion of the node bandwidth, the least access amount and the best performance as a target CDN node according to the node bandwidth information, the node flow information and the node quality information of the rest CDN nodes; or when the score of the CDN node and the state of the CDN node form a positive correlation, determining the CDN node with the highest score as a target CDN node; or when the scores of the CDN nodes are in a negative correlation with the states of the CDN nodes, determining the CDN node with the lowest score as the target CDN node.
In step S340, switching a CDN node for processing a web access request from the current CDN node to the target CDN node; the plurality of CDN nodes includes CDN nodes of a plurality of CDN operators, and the current CDN node is different from the CDN operator of the target CDN node.
In the present exemplary embodiment, the CDN node for processing the web access request is switched from the current CDN node to the target CDN node, so that the target CDN node processes the web access request. It should be noted that the current CDN node is different from the CDN operator of the target CDN node. The CDN operators are used to provide CDN services.
The method may further include, before step S340: and if the domain name of the provider of the webpage accessed by the webpage access request is not registered in the server of the CDN operator to which the target CDN node belongs, registering the domain name of the provider into the server of the CDN operator to which the target CDN node belongs through an API interface, and setting the domain name of the provider into an enabling state.
In the present exemplary embodiment, the provider of the web page accessed by the web page access request may be, for example, jindong, naughty, etc., and the present exemplary embodiment is not limited thereto in particular. Before switching CDN nodes, judging whether the domain name of a provider of a webpage accessed by a webpage access request is registered in a server of the CDN operator to which a target CDN node belongs, if so, directly switching to the target CDN node, if not, registering the domain name of the provider in the server of the CDN operator to which the target CDN node belongs through an API interface, and setting the domain name of the provider to be in an enabling state. By registering the domain name of the provider to the server of the CDN operator to which the target CDN node belongs, the target CDN node is ensured to process the webpage access request.
Furthermore, the method may further comprise: and registering the domain name of each webpage provider in the server of each CDN operator through a preset interface, and setting the domain name of each webpage provider to be in an enabling state.
In the present exemplary embodiment, the preset interface may be an API interface or the like, and the preset interface in the present exemplary embodiment is not limited thereto. Each CDN operator may set at least one server in different areas, where one server is a CDN node. For example, a CDN operator may set up multiple servers (i.e., CDN nodes) in each province throughout the country, a greater number of servers (i.e., CDN nodes) for large populated provinces, and a relatively smaller number of servers (i.e., CDN nodes) for smaller populated provinces. The domain names registered by the same web page provider in the servers of the same CDN operators are different, and the domain names registered by the same web page provider in the servers of the CDN operators are different. For example, the domain name registered by the web page provider a in the server of the first CDN operator is www.abc.jcloudcdn.com and the domain name registered in the server of the second operator is www.abc.qcloudcdn.com.
After registering the domain names of the web page providers in the servers of the CDN operators through the preset interfaces, setting the domain names to be in an enabling state through the preset interfaces so as to ensure that the domain names can be used normally, and simultaneously, returning the domain names corresponding to the domain names to the web page providers by the CDN operators respectively so as to ensure that the domain name data in the web page providers are consistent with the domain name data in the CDN operators.
By registering the domain name of each web page provider in the server of each CDN operator, it can be ensured that after the current CDN node is switched to the target CDN node, the target CDN node can process the web page access request, and further the smoothness and effectiveness of CDN node dispatching are ensured.
Further, the method may further include: performing preset operation on the domain name of the webpage provider registered in the server of the CDN operator through the preset interface; wherein the preset operations may include one or more of deletion, activation, deactivation, configuration modification, configuration query.
In this exemplary embodiment, the preset interface has been described above, and thus will not be described herein. In the above process, the preset operation may be performed on the domain name of at least one web provider registered in the server of at least one CDN operator through a preset interface. The preset operations may include one or more of deleting, enabling, disabling, configuration modifying, configuration querying, and may further include one or more of domain name traffic querying, bandwidth querying, domain name clearing, domain name source changing, and obtaining log download links, which is not particularly limited in this exemplary implementation.
The domain names of the webpage suppliers are subjected to preset operation through the preset interface, so that the CDN operators and the webpage suppliers can control the states of the domain names and acquire domain name information according to specific requirements, the operation is simple and convenient, and the efficiency is high.
Furthermore, the method may further comprise: and acquiring and analyzing historical parameter information of each CDN node to acquire an optimal CDN operator, and recommending the optimal CDN operator to a webpage provider.
In this exemplary embodiment, the historical parameter information of each CDN node may be obtained in a preset period, where each of the historical parameter information of each CDN node may include at least one of node bandwidth information, node traffic information, node quality information, and the like. The method comprises the steps of calculating historical scores of all CDN nodes through historical parameter information of all CDN nodes, respectively calculating comprehensive historical scores of all CDN nodes under all CDN operators according to the historical scores of all CDN nodes, determining an optimal CDN operator according to the comprehensive historical scores of all CDN nodes under all CDN operators, and recommending the optimal CDN operator to a webpage provider, so that when the webpage provider registers a domain name with a server of the CDN operator, the optimal CDN operator is preferentially selected, and further faster network service is provided for netizens. It should be noted that the preset period may be set by a developer, for example, may be 1 day, 2 days, 3 days, or the like, which is not particularly limited in this exemplary embodiment.
In summary, whether to switch the current CDN node for processing the web access request is determined according to the parameter information of each CDN node, and when the current CDN node is switched, the target CDN node is determined and switched, so that the scheduling manner of the CDN node is simple and flexible, the efficiency is high, and the automatic scheduling of the CDN node is realized; in addition, the target CDN node is different from the CDN operators of the current CDN node, namely, the CDN nodes of the different CDN operators can be switched, so that each CDN operator does not need to establish more CDN nodes to provide more excellent service for netizens, but provides more urgent and excellent service for netizens by switching to the CDN nodes of other CDN operators, the cost is low, and meanwhile, the stability of the service and the speed of processing the webpage access request are also ensured.
Fig. 7 shows an application architecture system schematic of a scheduling method that can be applied to CDN nodes.
As shown in fig. 7, the application architecture system may include a local DNS server 201, a website authority DNS server 202, a DNS dispatch server 203, a CDN dispatch server 208, a first CDN operator 209, a second CDN operator 210, a preset interface 211, and N CDN nodes. It should be appreciated that the CDN scheduling server 208 in fig. 7 is configured to perform the scheduling method of CDN nodes described above. Some of the N CDN nodes are CDN nodes of the first CDN operator 209, and another part of the N CDN nodes are CDN nodes of the second CDN operator 210.
When the netizen 207 accesses www.abc.com through terminal equipment (such as a computer, a mobile phone, a notebook computer and the like), the terminal equipment initiates a request for acquiring an IP address corresponding to www.abc.com to the local DNS server 201; the local DNS server 201 receives the request for obtaining the IP address corresponding to www.abc.com and forwards the request for obtaining the IP address corresponding to www.abc.com to the website authority DNS server 202; the website authorization DNS server 202 obtains the domain name of the second CDN operator 210 in response to the request for obtaining the IP address corresponding to www.abc.com, generates and sends an IP address request corresponding to the domain name (www.abc.jcloudcdn.com) of the second CDN operator 210 to the local DNS server 201; the local DNS server 201 sends an IP address request corresponding to the obtained www.abc.jcloudcdn.com to the DNS scheduling server 203; when the DNS dispatch server 203 sets the CDN node 1 of the second CDN operator 210 to be a CDN node for handling the netizen access www.abc.com according to www.abc.jcloudcdn.com, if the CDN dispatch server 208 detects that there is a problem in the CDN node 1 or that the performance of the CDN node 3 of the first CDN operator 209 is better, the CDN dispatch server 208 notifies the DNS dispatch server 203 to switch the CDN node 1 to the CDN node 3; after the DNS dispatch server 203 receives the notification of switching the CDN node 1 to the CDN node 3, acquiring the domain name (i.e., www.abc.qcloudcdn.com) of the first CDN operator 209, generating and sending a request for acquiring the IP address corresponding to www.abc.qcloudcdn.com to the local DNS server 201; the local DNS server 201 forwards the request for obtaining the IP address corresponding to www.abc.qcloudcdn.com to the server of the first CDN operator 209, and the server of the first CDN operator 209 returns the IP address of the CDN node 3 to the terminal device through the local DNS server 201 in response to the request for obtaining the IP address corresponding to www.abc.qcloudcdn.com, so that the terminal device directly accesses the IP address of the CDN node 3 and further opens the webpage corresponding to www.abc.com.
Before switching CDN node 1 to CDN node 3, it is further required to determine whether the domain name of the provider of the web page corresponding to www.abc.com is registered in the server of the first CDN operator 209, and if not, the CDN dispatch server 208 may register the domain name of the provider of the web page corresponding to www.abc.com to the server of the first CDN operator 209 through a preset interface.
In addition, the domain name of each web page provider may be registered to the servers of the first CDN operator 209 and the second CDN operator 210 through the preset interface 211 by using the golomb bus 212.
It should be noted that although the steps of the methods of the present disclosure are illustrated in the accompanying drawings in a particular order, this does not require or imply that the steps must be performed in that particular order or that all of the illustrated steps be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
In an exemplary embodiment of the present disclosure, there is further provided a scheduling apparatus of a CDN node, as shown in fig. 8, the virtual object control apparatus 800 may include: an acquisition module 801, a judgment module 802, a determination module 803, and a switching module 804, wherein:
The acquiring module 801 may be configured to poll each CDN node of a plurality of CDN nodes including a current CDN node, and acquire parameter information of each CDN node;
the judging module 802 may be configured to judge whether to switch the current CDN node for processing a web access request according to parameter information of each CDN node;
a determining module 803, configured to determine, if the current CDN node for processing a web access request is switched, a target CDN node from the remaining CDN nodes except for the current CDN node;
a switching module 804, configured to switch a CDN node for processing a web access request from the current CDN node to the target CDN node; the plurality of CDN nodes includes CDN nodes of a plurality of CDN operators, and the current CDN node is different from the CDN operator of the target CDN node.
The specific details of the scheduling device module of each CDN node in the foregoing description have been described in detail in the corresponding scheduling method of the CDN node, so that details are not repeated herein.
It should be noted that although in the above detailed description several modules or units of a device for performing are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
Those skilled in the art will appreciate that the various aspects of the invention may be implemented as a system, method, or program product. Accordingly, aspects of the invention may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 900 according to such an embodiment of the invention is described below with reference to fig. 9. The electronic device 900 shown in fig. 9 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 9, the electronic device 900 is embodied in the form of a general purpose computing device. Components of electronic device 900 may include, but are not limited to: the at least one processing unit 910, the at least one storage unit 920, a bus 930 connecting the different system components (including the storage unit 920 and the processing unit 910), and a display unit 940.
Wherein the storage unit stores program code that is executable by the processing unit 910 such that the processing unit 910 performs steps according to various exemplary embodiments of the present invention described in the above-described "exemplary methods" section of the present specification. For example, the processing unit 910 may perform step S310 shown in fig. 3, poll each of a plurality of CDN nodes including a current CDN node, and obtain parameter information of each CDN node; step 320, judging whether to switch the current CDN node for processing a web access request according to the parameter information of each CDN node; step S330, if the current CDN node for processing the webpage access request is switched, determining a target CDN node in the rest CDN nodes except the current CDN node; step S340, switching the CDN node for processing the web access request from the current CDN node to the target CDN node; the plurality of CDN nodes includes CDN nodes of a plurality of CDN operators, and the current CDN node is different from the CDN operator of the target CDN node.
The storage unit 920 may include readable media in the form of volatile storage units, such as Random Access Memory (RAM) 9201 and/or cache memory 9202, and may further include Read Only Memory (ROM) 9203.
The storage unit 920 may also include a program/utility 9204 having a set (at least one) of program modules 9205, such program modules 9205 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a web page environment.
The bus 930 may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 900 may also communicate with one or more external devices 970 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 900, and/or any device (e.g., router, modem, etc.) that enables the electronic device 900 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 950. Also, electronic device 900 may communicate with one or more web pages (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public web page, such as the Internet) via web adapter 960. As shown, web adapter 960 communicates with other modules of electronic device 900 via bus 930. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 900, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a web page, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a web page device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the "exemplary methods" section of this specification, when said program product is run on the terminal device.
Referring to fig. 10, a program product 1000 for implementing the above-described method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any type of web page, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Furthermore, the above-described drawings are only schematic illustrations of processes included in the method according to the exemplary embodiment of the present invention, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. The CDN node scheduling method is characterized by comprising the following steps:
Polling each CDN node in a plurality of CDN nodes comprising the current CDN node to acquire parameter information of each CDN node;
judging whether to switch the current CDN node for processing the webpage access request according to the parameter information of each CDN node comprises the following steps:
weighting and summing node bandwidth information, node access quantity and node quality information of each CDN node to obtain a score of each CDN node;
judging whether the current CDN node for processing the webpage access request is switched or not according to the score of each CDN node; if the current CDN node for processing the webpage access request is switched, determining a target CDN node in the rest CDN nodes except the current CDN node;
if the domain name of the provider of the webpage accessed by the webpage access request is not registered in the server of the CDN operator to which the target CDN node belongs, registering the domain name of the provider into the server of the CDN operator to which the target CDN node belongs through an API interface, and setting the domain name of the provider to be in an enabling state;
switching CDN nodes for processing the webpage access request from the current CDN node to the target CDN node;
The plurality of CDN nodes includes CDN nodes of a plurality of CDN operators, and the current CDN node is different from the CDN operator of the target CDN node.
2. The CDN node scheduling method of claim 1, further comprising:
and registering the domain name of each webpage provider in the server of each CDN operator through a preset interface, and setting the domain name of each webpage provider to be in an enabling state.
3. The method for scheduling CDN nodes of claim 2, further comprising:
performing preset operation on the domain name of the webpage provider registered in the server of the CDN operator through the preset interface; wherein the preset operations may include one or more of deletion, activation, deactivation, configuration modification, configuration query.
4. The CDN node scheduling method of claim 1, further comprising:
and acquiring and analyzing historical parameter information of each CDN node to acquire an optimal CDN operator, and recommending the optimal CDN operator to a webpage provider.
5. The CDN node scheduling method of any one of claims 1 to 4, wherein the parameter information of each CDN node includes at least one of node bandwidth information, node access amount, and node quality information.
6. A scheduling apparatus for CDN nodes, comprising:
the acquisition module is used for polling each CDN node in a plurality of CDN nodes comprising the current CDN node and acquiring parameter information of each CDN node;
the judging module, configured to judge whether to switch the current CDN node for processing a web access request according to parameter information of each CDN node includes:
weighting and summing node bandwidth information, node access quantity and node quality information of each CDN node to obtain a score of each CDN node;
judging whether the current CDN node for processing the webpage access request is switched or not according to the score of each CDN node;
the determining module is used for determining a target CDN node in the rest CDN nodes except the current CDN node if the current CDN node for processing the webpage access request is switched;
the switching module is used for switching the CDN node for processing the webpage access request from the current CDN node to the target CDN node;
wherein the plurality of CDN nodes includes CDN nodes of a plurality of CDN operators, the current CDN node being different from the CDN operator of the target CDN node;
Before the CDN node to be used for processing the web page access request is switched from the current CDN node to the target CDN node, the method further includes:
and if the domain name of the provider of the webpage accessed by the webpage access request is not registered in the server of the CDN operator to which the target CDN node belongs, registering the domain name of the provider into the server of the CDN operator to which the target CDN node belongs through an API interface, and setting the domain name of the provider into an enabling state.
7. A computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the CDN node scheduling method of any one of claims 1 to 5.
8. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the scheduling method of the CDN node of any one of claims 1 to 5 via execution of the executable instructions.
CN201810178519.7A 2018-03-05 2018-03-05 CDN node scheduling method and device, storage medium and electronic equipment Active CN110233861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810178519.7A CN110233861B (en) 2018-03-05 2018-03-05 CDN node scheduling method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810178519.7A CN110233861B (en) 2018-03-05 2018-03-05 CDN node scheduling method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110233861A CN110233861A (en) 2019-09-13
CN110233861B true CN110233861B (en) 2023-08-04

Family

ID=67862017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810178519.7A Active CN110233861B (en) 2018-03-05 2018-03-05 CDN node scheduling method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110233861B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933128B (en) * 2019-10-08 2021-04-16 网宿科技股份有限公司 Node traffic scheduling method and device, electronic equipment and storage medium
CN111314234B (en) * 2020-03-31 2021-04-27 北京创世云科技股份有限公司 Flow distribution method and device, storage medium and electronic equipment
CN112689153A (en) * 2020-12-16 2021-04-20 创盛视联数码科技(北京)有限公司 CDN node recommendation method and device, electronic equipment and storage medium
CN113132151A (en) * 2021-03-10 2021-07-16 上海翌旭网络科技有限公司 Method for reducing bandwidth total cost of CDN (content delivery network) by fully utilizing free points of multiple machine rooms
CN113132479B (en) * 2021-04-16 2023-05-09 北京百度网讯科技有限公司 Flow switching and model generating method and device device, storage medium, and program
CN113452766B (en) * 2021-06-22 2023-10-24 青岛海尔科技有限公司 Node switching method and device, storage medium and electronic device
CN114143332A (en) * 2021-11-03 2022-03-04 阿里巴巴(中国)有限公司 Content delivery network CDN-based processing method, electronic device and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764747A (en) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 Intelligent dispatching method, device and system of content delivery network flow
CN101989986A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method for inquiring service node, server and system
CN106817356A (en) * 2015-12-01 2017-06-09 北京中投视讯文化传媒股份有限公司 A kind of method and device of video playback flow Real-Time Scheduling
CN107277160A (en) * 2017-07-12 2017-10-20 北京潘达互娱科技有限公司 A kind of content delivery network node switching method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2963871B1 (en) * 2014-06-30 2018-10-10 Deutsche Telekom AG Efficient transport network architecture for content delivery network
US10686860B2 (en) * 2014-11-18 2020-06-16 Ustream, Inc. Software defined content delivery network for flexible, real-time management of large-scale data transfers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764747A (en) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 Intelligent dispatching method, device and system of content delivery network flow
CN101989986A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method for inquiring service node, server and system
CN106817356A (en) * 2015-12-01 2017-06-09 北京中投视讯文化传媒股份有限公司 A kind of method and device of video playback flow Real-Time Scheduling
CN107277160A (en) * 2017-07-12 2017-10-20 北京潘达互娱科技有限公司 A kind of content delivery network node switching method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SH公司的CDN业务战略研究;李梦佳;《中国知网硕士电子期刊》(第7期);全文 *

Also Published As

Publication number Publication date
CN110233861A (en) 2019-09-13

Similar Documents

Publication Publication Date Title
CN110233861B (en) CDN node scheduling method and device, storage medium and electronic equipment
CN112105035B (en) Deployment method and device of mobile edge computing server
US10257115B2 (en) Cloud-based service resource provisioning based on network characteristics
CN110677405B (en) Data processing method and device, electronic equipment and storage medium
US8972519B2 (en) Optimization of multimedia service over an IMS network
US10609118B2 (en) Adaptive communication control device
CN111935752B (en) Gateway access method, device, computer equipment and storage medium
US11237888B2 (en) Message processing method and system, storage medium and electronic device
CN110808857B (en) Network intercommunication method, device, equipment and storage medium for realizing Kubernetes cluster
CN111212134A (en) Request message processing method and device, edge computing system and electronic equipment
CN110719273A (en) Method for determining back source node, server and computer readable storage medium
CN115801699A (en) CDN scheduling method, device and system
CN114095567A (en) Data access request processing method and device, computer equipment and medium
CN112003945A (en) Service request response method and device
CN107342929B (en) Method, device and system for sending new message notification
CN112800410A (en) Multi-product login management method, device, equipment and storage medium
CN113254191A (en) Method, electronic device and computer program product for running applications
CN113067907A (en) Method and related equipment for addressing edge application
CN112104680A (en) Method, device and equipment for determining edge application and storage medium
JP7307766B2 (en) Traffic adjustment method, apparatus, electronic equipment, computer readable recording medium and computer program
CN115086331A (en) Cloud equipment scheduling method, device and system, electronic equipment and storage medium
CN114205902A (en) Response method and device for discovery request in 5G network, electronic equipment and medium
CN109768897B (en) Server deployment method and device
CN113452539B (en) Source station switching method and device, electronic equipment and storage medium
CN115277662B (en) Proxy service switching test method, system, electronic equipment and readable medium

Legal Events

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