CN110233861A - Dispatching method and device, storage medium, the electronic equipment of CDN node - Google Patents

Dispatching method and device, storage medium, the electronic equipment of CDN node Download PDF

Info

Publication number
CN110233861A
CN110233861A CN201810178519.7A CN201810178519A CN110233861A CN 110233861 A CN110233861 A CN 110233861A CN 201810178519 A CN201810178519 A CN 201810178519A CN 110233861 A CN110233861 A CN 110233861A
Authority
CN
China
Prior art keywords
cdn node
cdn
node
current
operator
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.)
Granted
Application number
CN201810178519.7A
Other languages
Chinese (zh)
Other versions
CN110233861B (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

This disclosure relates to dispatching method and device, storage medium, the electronic equipment of a kind of CDN node.This method comprises: obtaining the parameter information of each CDN node;Judge whether to switch over the current CDN node for handling web access requests according to the parameter information of each CDN node;If switching over, target CDN node is determined in the remaining CDN node in addition to current CDN node;The CDN node for being used to handle web access requests is switched into target CDN node from current CDN node;Wherein, multiple CDN nodes include the CDN node of multiple CDN operators, and current CDN node is different from the CDN operator of target CDN node.The scheduling mode simple and flexible of CDN node in the disclosure, it is high-efficient, and realize the automatic dispatching of CDN node.

Description

Dispatching method and device, storage medium, the electronic equipment of CDN node
Technical field
This disclosure relates to which the dispatching method and device of field of computer technology more particularly to a kind of CDN node, storage are situated between Matter, electronic equipment.
Background technique
CDN (Content Delivery Network, content distribution webpage) technology be a kind of solution internet performance not Good means.Its basic ideas be avoid being possible on internet as far as possible influencing data transmission bauds and stability bottleneck and Link, make content transmission faster, it is more stable.The basic principle of CDN technology are as follows: place CDN node service everywhere in internet The intelligent virtual network on Internet basic that device is constituted, CDN system can be in real time according to webpage flows and each CDN The connection of node, load state and to the integrated informations such as the distance of netizen and response time by the web access requests weight of netizen In the nearest CDN node of the new guiding off-network people, makes netizen that can obtain required content nearby, solves the crowded situation of existing webpage, Improve the response speed that netizen accesses website.
Under existing CDN service operation mode, each CDN operator directly provides service for webpage operator.Therefore, it is More high-quality and efficient service is provided to netizen, needs to establish more CDN nodes.Obvious CDN node is more, and cost is got over High and CDN node settling time is longer, while also not can guarantee the quality of each CDN node.Once in addition, CDN operator The quality of CDN breaks down, and will have a direct impact on service quality.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The dispatching method and device, storage medium, electronic equipment for being designed to provide a kind of CDN node of the disclosure, into And one or more is overcome the problems, such as caused by the limitation and defect due to the relevant technologies at least to a certain extent.
According to one aspect of the disclosure, a kind of dispatching method of CDN node is provided, comprising:
Each CDN node in multiple CDN nodes including current CDN node is polled, each CDN is obtained The parameter information of node;
Judged whether according to the parameter information of each CDN node to for handling the described current of web access requests CDN node switches over;
If being switched over to the current CDN node for handling web access requests, except the current CDN section Target CDN node is determined in remaining CDN node outside point;
The CDN node for being used to handle web access requests is switched into the target CDN section from the current CDN node Point;
Wherein, the multiple CDN node includes the CDN node of multiple CDN operators, the current CDN node with it is described The CDN operator of target CDN node is different.
In a kind of exemplary embodiment of the disclosure, it is described will be used to handle the CDN nodes of web access requests from The current CDN node switches to before the target CDN node further include:
If the domain name of the supplier for the webpage that the web access requests are accessed is not belonging to the target CDN node CDN operator server in register, by api interface by the domain name registration of the supplier to the target CDN node In the server of the affiliated CDN operator, and initiate mode is set by the domain name of the supplier.
In a kind of exemplary embodiment of the disclosure, the parameter information according to each CDN node judges whether The current CDN node for handling web access requests is switched over and includes:
The scoring of the current CDN node is calculated according to the parameter information of the current CDN node;
Judge whether according to the scoring of the current CDN node and in conjunction with a default score value to for handling web page access The current CDN node of request switches over.
In a kind of exemplary embodiment of the disclosure, the parameter information according to each CDN node judges whether The current CDN node for handling web access requests is switched over and includes:
The scoring of each CDN node is calculated according to the parameter information of each CDN node;
Judged whether by the scoring of each CDN node to the current CDN section for handling web access requests Point switches over.
In a kind of exemplary embodiment of the disclosure, the method also includes:
Register the domain name of each webpage supplier into the server of each CDN operator respectively by a preset interface, And initiate mode is set by the domain name of each webpage supplier.
In a kind of exemplary embodiment of the disclosure, the method also includes:
By the preset interface to the domain name of the webpage supplier registered in the server of the CDN operator into Row predetermined registration operation;Wherein, the predetermined registration operation may include delete, enable, deactivating, configuration modification, one in configuration querying Or it is multiple.
In a kind of exemplary embodiment of the disclosure, the method also includes:
The historical parameter information of each CDN node is obtained and analyzed, to obtain optimal CDN operator, and is supplied to webpage Quotient is answered to recommend the optimal CDN operator.
In a kind of exemplary embodiment of the disclosure, the parameter information of each CDN node includes node band At least one of wide information, node flow information, node quality information.
According to one aspect of the disclosure, a kind of dispatching device of CDN node is provided, comprising:
Module is obtained, for being polled to each CDN node in multiple CDN nodes including current CDN node, Obtain the parameter information of each CDN node;
Judgment module, for judging whether to ask to for handling web page access according to the parameter information of each CDN node The current CDN node asked switches over;
Determining module, if being removed for being switched over to the current CDN node for handling web access requests Target CDN node is determined in remaining CDN node outside the current CDN node;
Switching module, for the CDN node for being used to handle web access requests to be switched to institute from the current CDN node State target CDN node;
Wherein, the multiple CDN node includes the CDN node of multiple CDN operators, the current CDN node with it is described The CDN operator of target CDN node is different.
According to one aspect of the disclosure, a kind of computer readable storage medium is provided, computer program is stored thereon with, The computer program realizes the dispatching method of CDN node described in above-mentioned any one when being executed by processor.
According to one aspect of the disclosure, a kind of electronic equipment is provided, comprising:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor be configured to execute via the executable instruction is executed it is any one of above-mentioned described in The dispatching method of CDN node.
In the dispatching method and device, storage medium, electronic equipment for disclosing the CDN node that a kind of example embodiment provides, This method judges whether according to the parameter information of each CDN node to the current CDN node for handling web access requests It switches over, and when being switched over to current CDN node, target is determined in the remaining CDN node except current CDN node CDN node, and the CDN node for being used to handle web access requests is switched into target CDN node from current CDN node, In, current CDN node is different from the CDN operator of target CDN node.On the one hand, according to the parameter information of each CDN node Judge whether to switch over the current CDN node for handling web access requests, and is switched over to current CDN node When, it determines target CDN node and switches over, the scheduling mode simple and flexible of CDN node is high-efficient, and realizes CDN node Automatic dispatching;On the other hand, target CDN node is different from the CDN operator of current CDN node, it can different It is switched between the CDN node of CDN operator, so that each CDN operator mentions without setting up more CDN nodes for netizen For more quality services, but the CDN node by switching to other CDN operators for netizen provides more anxious good clothes Business, it is at low cost, while also ensuring the stability of service and the speed of processing web access requests.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
It is described in detail its exemplary embodiment by referring to accompanying drawing, the above and other feature and advantage of the disclosure will become It obtains more obvious.It should be evident that the accompanying drawings in the following description is only some embodiments of the present disclosure, it is common for this field For technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.Attached In figure:
Fig. 1 is the schematic diagram that CDN operator is scheduled CDN node in the related technology;
Fig. 2 is the application architecture system schematic for being applied to the dispatching method of CDN node in the related technology;
Fig. 3 is a kind of flow chart of the dispatching method of CDN node of the disclosure;
Fig. 4 constitutes multiple CDN by the CDN node in K CDN operator for what is provided in one exemplary embodiment of the disclosure The schematic diagram of node;
Fig. 5 is the process for judging whether to switch over current CDN node provided in one exemplary embodiment of the disclosure Figure;
Fig. 6 is the stream for judging whether to switch over current CDN node provided in disclosure another exemplary embodiment Cheng Tu;
Fig. 7 is the application architecture system of the dispatching method applied to CDN node provided in one exemplary embodiment of the disclosure System schematic diagram;
Fig. 8 is a kind of block diagram of the dispatching device of CDN node of the disclosure;
Fig. 9 is the module diagram that the disclosure shows the electronic equipment in an exemplary embodiment.
Figure 10 is that the disclosure shows the program product schematic diagram in an exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of forms It applies, and is not understood as limited to embodiment set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will be comprehensively and complete It is whole, and the design of example embodiment is comprehensively communicated to those skilled in the art.Identical appended drawing reference indicates in figure Same or similar part, thus repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner In example.In the following description, many details are provided to provide and fully understand to embodiment of the disclosure.However, It will be appreciated by persons skilled in the art that can be with technical solution of the disclosure without one in the specific detail or more It is more, or can be using other methods, constituent element, material, device, step etc..In other cases, it is not shown in detail or describes Known features, method, apparatus, realization, material or operation are to avoid fuzzy all aspects of this disclosure.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity. I.e., it is possible to realize these functional entitys using software form, or these are realized in the module of one or more softwares hardening A part of functional entity or functional entity, or realized in different web pages and/or processor device and/or microcontroller device These functional entitys.
The schematic diagram that CDN operator is scheduled CDN node in the related technology is shown in Fig. 1.
In Fig. 1, CDN operator is provided with N number of CDN node, which can be set each province in the whole nation City, and the quantity of CDN node set by each provinces and cities may be the same or different.Web access requests are initiated in netizen When, CDN operator can determine the CDN node of processing web access requests in above-mentioned N number of CDN node, but in processing net When the CDN node of access to web page request is unavailable (when there is the problems such as network failure or poor quality), due to CDN operator Directly provide service for webpage operator, thus CDN operator can only be reselected in remaining N-1 CDN node it is available CDN node, i.e., only can reselect available CDN node in the CDN node under the CDN operator, be used to handle net Access to web page request.
The application architecture system schematic in the related technology applied to the dispatching method of CDN node is shown in Fig. 2.
As shown in Fig. 2, application architecture system may include local dns server 201, website authorized DNS server 202, DNS dispatch server 203, Beijing CDN node 204, Shanghai CDN node 205 and Guangzhou CDN node 206.Beijing CDN node 204, Shanghai CDN node 205 and Guangzhou CDN node 206 are the same CDN operator.
It is accessed being located at Pekinese netizen 207 by terminal device (for example, computer, notebook, mobile phone are stepped on) When www.abc.com, terminal device generates the request for obtaining the corresponding IP address of www.abc.com, and will acquire The request of the corresponding IP address of www.abc.com is sent to local dns server 201, and local dns server 201 will acquire The request of the corresponding IP address of www.abc.com is transmitted to website authorized DNS server 202, website authorized DNS server 202 Response obtains the domain name of the request CDN operator of the corresponding IP address of www.abc.com, and CDN operator is Beijing herein The CDN operator of CDN node 204, Shanghai CDN node 205 and Guangzhou CDN node 206, the domain name of the CDN operator are Www.abc.jcloudcdn.com generates the request for obtaining the corresponding IP address of www.abc.jcloudcdn.com, and to originally Ground dns server 201 sends the request for obtaining the corresponding IP address of www.abc.jcloudcdn.com;Local dns server 201 requests that will acquire the corresponding IP address of www.abc.jcloudcdn.com are transmitted to DNS dispatch server 203;DNS tune Spend the request analysis that the response of server 203 obtains the corresponding IP address of www.abc.jcloudcdn.com Www.abc.jcloudcdn.com, and the IP address 1.1.1.1 of Beijing CDN node 204 is sent out by local dns server 201 It send to terminal device, terminal device opens the corresponding webpage of www.abc.com by access IP address 1.1.1.1.In Beijing CDN When node 204 is unavailable, that is, when there is the problems such as network failure or poor quality, DNS dispatch server 203 only can be by Shanghai The IP address of CDN node 205 or Guangzhou CDN node 206 is sent to terminal device by local dns server 201.
Obviously in the above method, since CDN operator directly provides service for webpage operator, in Beijing CDN When node 204 is unavailable, the Shanghai CDN node 205 or Guangzhou CDN node 206 that CDN operator can will only call under it, and by In Shanghai CDN node 205 and Guangzhou CDN node 206 and terminal device not in an area, therefore, in terminal device access The used time duration of extra large CDN node 205 or Guangzhou CDN node 206 is greater than the used time duration of access Beijing CDN node 204, increases Access time.In addition, breaking down in Beijing CDN node 204, Shanghai CDN node 205 and Guangzhou CDN node 206 When, it will be unable to the web access requests of processing netizen, also brought more to webpage supplier while making troubles to netizen Loss.To solve the above-mentioned problems, CDN operator needs to establish more CDN nodes.However CDN node is more, cost is higher And the settling time of CDN node is longer, while also not can guarantee the quality of each CDN node;Once in addition, the CDN of CDN operator The quality of node breaks down, and will have a direct impact on service quality.
Disclose a kind of CDN node first in order to solve the problems, such as present in the relevant technologies, in the present exemplary embodiment Dispatching method, referring to shown in Fig. 3, the dispatching method of the CDN node be may comprise steps of:
Step S310, each CDN node in multiple CDN nodes including current CDN node is polled, is obtained The parameter information of each CDN node;
Step S320, judged whether according to the parameter information of each CDN node to for handling web access requests The current CDN node switches over;
If step S330, being switched over to the current CDN node for handling web access requests, except described Target CDN node is determined in remaining CDN node outside current CDN node;
Step S340, the CDN node for being used to handle web access requests is switched into the mesh from the current CDN node Mark CDN node;Wherein, the multiple CDN node includes the CDN node of multiple CDN operators, the current CDN node and institute The CDN operator for stating target CDN node is different.
The dispatching method of CDN node according to the present exemplary embodiment, on the one hand, according to the ginseng of each CDN node Number information judge whether to switch over the current CDN node for handling web access requests, and to current CDN node into When row switching, determines target CDN node and switch over, the scheduling mode simple and flexible of CDN node is high-efficient, and realizes The automatic dispatching of CDN node;On the other hand, target CDN node is different from the CDN operator of current CDN node, it can Switched between the CDN node of different CDN operators so that each CDN operator without setting up more CDN nodes come for Netizen provides more quality services, but the CDN node by switching to other CDN operators is more anxious excellent to provide for netizen The service of matter, it is at low cost, while also ensuring the stability of service and the speed of processing web access requests.
Next, with reference to Fig. 3, the dispatching method of the CDN node in the present exemplary embodiment is described further.
In step s310, each CDN node in multiple CDN nodes including current CDN node is polled, Obtain the parameter information of each CDN node.
In the present example embodiment, the multiple CDN node may include the CDN node of multiple CDN operators, respectively CDN operator may include at least one CDN node, and the quantity of CDN node included by each CDN operator can be identical, Can be different, the present exemplary embodiment is not particularly limited this.For example, showing the signal for constituting multiple CDN nodes in Fig. 4 Figure.As can be seen from Figure 4, multiple CDN nodes are made of the CDN node in K CDN operator, and wherein CDN operator 1 includes N number of CDN node, CDN operator 2 include M CDN node, and CDN operator K includes X CDN node, and wherein K, N, M, X are whole Number.It should be noted that CDN dispatch server is for being scheduled CDN in different CDN operators.Each CDN operator In CDN node can be placed on the whole nation each provinces and cities in, the quantity of the CDN node of mode can be according to this in each provinces and cities The population of provinces and cities determines.
The parameter information of each CDN node may include at least one characteristic information.For example, each CDN node Parameter information may each comprise in node bandwidth information, node flow information, node quality information, hit rate, status code etc. At least one, the present exemplary embodiment is not particularly limited this.It should be noted that node bandwidth information, node flow are believed Breath, node quality information, hit rate, status code are a characteristic information.The node bandwidth information can indicate node band Wide occupation proportion, the flow information of the node can indicate that the amount of access of node, the quality of the node can indicate to save Whether the performance of point is good.
Each CDN node in multiple CDN nodes including current CDN node can be carried out by an api interface Poll obtains the parameter information of current CDN node and except current CDN is saved to obtain the parameter information of each CDN node in real time The parameter information of each CDN node of residue of point.
In step s 320, judge whether to ask to for handling web page access according to the parameter information of each CDN node The current CDN node asked switches over.
In the present example embodiment, can be judged whether according to the parameter information of current CDN node to for handling net The current CDN node of access to web page request switches over.For example, the parameter information in current CDN node includes node band It, can be according to the node bandwidth of current CDN node when wide information, node flow information, at least one in node quality information At least one of information, node flow information, node quality information judge whether to the institute for handling web access requests Current CDN node is stated to switch over.Specifically, can judge current CDN node according to the node bandwidth information of current CDN node Bandwidth whether take to determine whether switched over to current CDN node, i.e., when the bandwidth of current CDN node takes to working as Preceding CDN node switches over;The amount of access of current CDN node can also be judged according to the node flow information of current CDN node Whether reach the access upper limit to determine whether switching over to current CDN node, i.e., reaches visit in the amount of access of current CDN node It asks and current CDN node is switched over when the upper limit;Current CDN can also be judged according to the node quality information of current CDN node Whether the performance of node is good to determine whether switching over to current CDN node, that is, poor in the performance of current CDN node When current CDN node is switched over;It can also node bandwidth information, node flow information, node according to current CDN node Any two in quality information or three judge whether to switch over current CDN node, that is, in the band of current CDN node Current CDN node is switched over when width takes, amount of access reaches the access upper limit and poor performance, or in current CDN node Bandwidth take and when amount of access reaches the access upper limit switches over current CDN node, or in the bandwidth of current CDN node Take and when performance is poor switch over current CDN node, or current CDN node amount of access reach the access upper limit and Current CDN node is switched over when performance is poor.
Further, it is also possible to calculate the scoring of current CDN node according to the parameter information of current CDN node, and according to current The scoring of CDN node judges whether to switch over current CDN node.As shown in figure 5, the above process may include step S510 And step S520, in which:
In step S510, the scoring of the current CDN node is calculated according to the parameter information of the current CDN node.
In the present example embodiment, for example, the parameter information in current CDN node includes node bandwidth information, section It, can be according to the node bandwidth information of current CDN node, node when point flow information, at least one in node quality information At least one of flow information, node quality information calculate the scoring of current CDN node.Specifically, can be according to current CDN The node bandwidth information or node quality information or node quality information of node calculate the scoring of current CDN node.With current CDN The above process is illustrated for the node bandwidth information of node, initially sets up each node bandwidth information (i.e. node bandwidth Occupation proportion) and each scoring between object relationship one by one, such as establish in occupation proportion 0~100% each numerical value and scoring 100~ The one-to-one relationship of each numerical value in 0;Then by the node bandwidth information of current CDN node (i.e. the occupation proportion of node bandwidth) It is matched with above-mentioned each node bandwidth information, the corresponding scoring of the node bandwidth information of successful match is determined as current CDN The scoring of node.
It can also be according to any two in the node bandwidth information, node flow information, node quality information of current CDN node A or three current CDN nodes of calculating scoring.With according to the node bandwidth information of current CDN node, node flow information, Node quality information is illustrated the above process for calculating the scoring of current CDN node.It can be first respectively node Bandwidth information, node flow information, node quality information are arranged corresponding weight (such as α, β, γ), and above-mentioned node bandwidth are believed Breath, node flow information, node quality information are weighted summation, that is, pass through formula: α × node bandwidth information+β × node-flow Amount information+γ × node quality information calculates the scoring of current CDN node.The specific value of described α, β, γ can be by exploit persons Member is configured, and can also be obtained by analysis of history data, the present exemplary embodiment is not particularly limited this.It needs Bright, the mode of the scoring of the above-mentioned current CDN node of calculating is illustratively, to be not used in and limit the scope of the invention.When Preceding CDN node scoring can with the state positive correlation of current CDN node, i.e., it is higher in the scoring of current CDN node When, the state of current CDN node is better, and when the scoring of current CDN node is lower, the state of current CDN node is poorer.When So, the scoring of current CDN node can be negatively correlated relationship, the i.e. scoring in current CDN node with the state of current CDN node When lower, the state of current CDN node is better, and when the scoring of current CDN node is higher, the state of current CDN node is poorer.
In step S520, according to the scoring of the current CDN node and in conjunction with a default score value judge whether to It is switched in the current CDN node of processing web access requests.
In the present example embodiment, the default score value can be configured by developer, can for 60, It can be 70, can also be 80 etc., the present exemplary embodiment is not particularly limited this.It can be with the scoring of current CDN node It is negatively correlated for relationship with the state of current CDN node and step S520 is illustrated.It is greater than in the scoring of current CDN node When default score value, the current CDN node for handling web access requests is switched over, in current CDN node When scoring is no more than default score value, to the current CDN node for handling web access requests without switching.
In the present example embodiment, can also be judged whether according to the parameter information of each CDN node to for handling net The current CDN node of access to web page request switches over.For example, the parameter information in each CDN node includes node bandwidth When information, node flow information, at least one in node quality information, can according to the node bandwidth information of each CDN node, At least one of node flow information, node quality information judge whether to for handling the described current of web access requests CDN node switches over.Specifically, can be according to the node bandwidth information (i.e. the occupation proportion of node bandwidth) of each CDN node Node more preferably than current CDN node is judged whether there is to determine whether switching over to current CDN node, that is, is judged whether In the presence of the small CDN node of the occupation proportion of the node bandwidth than current CDN node, and if it exists, cut to current CDN node It changes;It can also be judged whether there is according to the node flow information (i.e. the amount of access of node) of each CDN node than current CDN node More preferably node judges whether there is the amount of access than current CDN node to determine whether switch over to current CDN node Small CDN node, and if it exists, current CDN node is switched over;It can also be according to the node quality information of each CDN node (i.e. The performance of node) node more preferably than current CDN node is judged whether there is to determine whether cutting to current CDN node It changes, that is, judges whether there is CDN node more excellent than the performance of current CDN node, and if it exists, switch over to current CDN node; Can also according in the node bandwidth information, node flow information, node quality information of each CDN node any two or three Judge whether to switch over current CDN node, that is, have, visit smaller than the occupation proportion of the node bandwidth of current CDN node The amount of asking is small and performance more preferably CDN node when, current CDN node is switched over, or there is the section than current CDN node When the CDN node that the occupation proportion of point bandwidth is small and amount of access is small, current CDN node is switched over, or is existed than working as The occupation proportion of the node bandwidth of preceding CDN node is small and performance more preferably CDN node when, current CDN node is switched over, or Person switches over current CDN node when there is and performance more preferably CDN node smaller than the amount of access of current CDN node.
Further, it is also possible to calculate the scoring of each CDN node according to the parameter information of each CDN node, and according to each CDN node Scoring judge whether to switch over current CDN node.As shown in fig. 6, the above process may include step S610 and step Rapid S620, in which:
In step S610, the scoring of each CDN node is calculated according to the parameter information of each CDN node.
In the present example embodiment, for example, the parameter information in each CDN node includes node bandwidth information, node It, can be according to the node bandwidth information of each CDN node, node flow when at least one in flow information, node quality information At least one of information, node quality information calculate the scoring of each CDN node.Specifically, can be according to the section of each CDN node Point bandwidth information or node quality information or node quality information calculate the scoring of each CDN node.With the section of each CDN node The above process is illustrated for point bandwidth information, initially sets up each node bandwidth information (i.e. the occupation proportion of node bandwidth) With the object relationship one by one of each scoring, each numerical value and one of each numerical value in scoring 100~0 in occupation proportion 0~100% is such as established One corresponding relationship;Then by the node bandwidth information of each CDN node (i.e. the occupation proportion of node bandwidth) and above-mentioned each node band Wide information is matched, and corresponding score of the node bandwidth information of each successful match is determined as the scoring of each CDN node.
It can also be according to any two in the node bandwidth information, node flow information, node quality information of each CDN node Or the scoring of three each CDN nodes of calculating.According to the node bandwidth information, node flow information, node matter of each CDN node Amount information is illustrated the above process for calculating the scoring of each CDN node.It first can be respectively node bandwidth information, section Point flow information, node quality information are arranged corresponding weight (such as α, β, γ), and by above-mentioned node bandwidth information, node flow Information, node quality information are weighted summation, that is, pass through formula: α × node bandwidth information+β × node flow information+γ × Node quality information calculates the scoring of each CDN node.The specific value of described α, β, γ can be configured by developer, also It can be obtained by analysis of history data, the present exemplary embodiment is not particularly limited this.It should be noted that above-mentioned meter The mode for calculating the scoring of each CDN node is illustratively, to be not used in and limit the scope of the invention.The scoring of each CDN node with The state of each CDN node can be with positive correlation, i.e., when the scoring of each CDN node is higher, the state of each CDN node is got over Good, when the scoring of each CDN node is lower, each CDN node state is poorer.Certainly, the scoring of each CDN node and each CDN node State can also be negatively correlated relationship, i.e., when the scoring of each CDN node is lower, the state of each CDN node is better, each CDN section When the scoring of point is higher, the state of each CDN node is poorer.
In step S620, judged whether by the scoring of each CDN node to for handling web access requests The current CDN node switches over.
In the present example embodiment, the scoring of each CDN node includes the scoring of current CDN node and multiple CDN The scoring of remaining all CDN nodes in node in addition to current CDN node.It, can be by the scoring of current CDN node based on this Scoring with remaining each CDN node is compared, and is judged whether according to comparison result to for handling web access requests The current CDN node switches over.Can be with positive correlation with the scoring of each CDN node and the state of each CDN node Example is illustrated step S620.Remaining CDN node can be ranked up according to the descending sequence that scores, and according to The scoring of remaining each CDN node is successively compared by said sequence with the scoring of current CDN node, if in remaining CDN There is the CDN node higher than the scoring of current CDN node in node, current CDN node is switched over.
In step S330, if being switched over to the current CDN node for handling web access requests, removing Target CDN node is determined in remaining CDN node outside the current CDN node.
In the present example embodiment, optimal CDN section can be determined according to the parameter information of remaining each CDN node Point, and the optimal CDN node is determined as target CDN node.For example, can be according to the node band of remaining each CDN node The minimum CDN node of the occupation proportion of node bandwidth is determined as target CDN node by wide information;Or it can be according to remaining The least CDN node of the amount of access of node is determined as target CDN node by the node flow information of each CDN node;Or according to The best CDN node of performance is determined as target CDN node by the node quality information of remaining each CDN node;Or according to surplus The node bandwidth information of the remaining each CDN node and occupation proportion of node bandwidth is minimum for node flow information and amount of access is minimum CDN node be determined as target CDN node;Or believed according to the node bandwidth information and node quality of remaining each CDN node The CDN node that the occupation proportion of node bandwidth is minimum and performance is best is determined as target CDN node by breath;Or according to remaining The CDN node that amount of access is minimum and performance is best is determined as mesh by the node flow information and node quality information of each CDN node Mark CDN node;Or node bandwidth information and node flow information and node quality information according to remaining each CDN node The CDN node occupation proportion of node bandwidth is minimum, that amount of access is minimum and performance is best is determined as target CDN node;Alternatively, CDN node scoring and CDN node state positive correlation when, the highest CDN node that will score is determined as target CDN Node;Or when the scoring of CDN node and the state of CDN node are negatively correlated relationship, the CDN node for scoring minimum is determined For target CDN node.
In step S340, the CDN node for being used to handle web access requests is switched into institute from the current CDN node State target CDN node;Wherein, the multiple CDN node includes the CDN node of multiple CDN operators, the current CDN node It is different from the CDN operator of the target CDN node.
In the present example embodiment, the CDN node for being used to handle web access requests is cut from the current CDN node The target CDN node is shifted to, so that target CDN node handles web access requests.It should be noted that current CDN node It is different from the CDN operator of the target CDN node.The CDN operator is for providing CDN service.
If before step S340 can also include: the domain of the supplier for the webpage that the web access requests are accessed Name is not registered in the server of the CDN operator belonging to the target CDN node, by api interface by the supplier's In the server of the CDN operator belonging to domain name registration to the target CDN node, and the domain name of the supplier is set It is set to initiate mode.
In the present example embodiment, the supplier for the webpage that the web access requests are accessed for example can be capital East, Taobao etc., the present exemplary embodiment is not particularly limited this.Before switching CDN node, web access requests institute is judged Whether the domain name of the supplier of the webpage of access is registered in the server of the CDN operator belonging to target CDN node, if It is registered, then it is directly switched to target CDN node, if unregistered, can be infused the domain name of the supplier by api interface Volume sets the domain name of the supplier to enable shape into the server of CDN operator belonging to the target CDN node State.By will be in the server of CDN operator belonging to the domain name registration of supplier to target CDN node, it is ensured that target CDN node can handle web access requests.
In addition, the method can also include: by a preset interface respectively into the server of each CDN operator The domain name of each webpage supplier is registered, and sets initiate mode for the domain name of each webpage supplier.
In the present example embodiment, the preset interface can be api interface etc., default in the present exemplary embodiment Interface is without being limited thereto.At least one server can be arranged in different regions in each CDN operator, and a server is one CDN node.For example, can multiple servers (i.e. CDN node) be arranged in each province in the whole nation respectively in CDN operator, for population Big save can be set a fairly large number of server (i.e. CDN node), and quantity can be set relatively in the province less for population Few server (i.e. CDN node).The domain name that each webpage supplier registers in the server of same CDN operator is different, together The domain name that one webpage supplier registers in the server of each CDN operator is different.For example, webpage supplier A is transported in the first CDN The domain name registered in the server of quotient is sought as www.abc.jcloudcdn.com, is registered in the server of the second operator Domain name is www.abc.qcloudcdn.com.
After registering the domain name of each webpage supplier into the server of each CDN operator by preset interface, and pass through Each domain name is set initiate mode by preset interface, to ensure that each domain name can be used normally, while each CDN operator respectively to Each webpage supplier returns to corresponding domain name, to ensure in the domain name data in each webpage supplier and each CDN operator Domain name data it is consistent.
By the domain name for registering each webpage supplier into the server of each CDN operator, it can be ensured that by current CDN Node is switched to after target CDN node, and target CDN node can handle web access requests, and then guarantees CDN node scheduling Fluency and validity.
Further, the method can also include: by the preset interface in the server of the CDN operator The domain name of the webpage supplier of registration carries out predetermined registration operation;Wherein, the predetermined registration operation may include deleting, enabling, stopping With one or more of, configuration modification, configuration querying.
In the present example embodiment, the preset interface has been explained above, therefore details are not described herein again. In above process, can by registered in server of the preset interface at least one CDN operator at least one described in The domain name of webpage supplier carries out predetermined registration operation.The predetermined registration operation may include deleting, enabling, deactivating, configuration modification, configuration One or more of inquiry can also include the inquiry of domain name flow, bandwidth inquiry, domain name empties, domain name changes source and obtains One or more of log download link etc. is taken, this exemplary implementation is not particularly limited this.
Predetermined registration operation is carried out by domain name of the preset interface to each webpage supplier, CDN operator and webpage can be made to supply It answers quotient to control the state according to specific demand control domain name, obtain domain-name information, it is simple and convenient, it is high-efficient.
In addition, the method can also include: acquisition and the historical parameter information for analyzing each CDN node, to obtain Optimal CDN operator, and recommend the optimal CDN operator to webpage supplier.
In the present example embodiment, the historical parameter information of each CDN node, each CDN can be obtained with a predetermined period The historical parameter information of node may each comprise in node bandwidth information, node flow information, node quality information etc. at least One.The history scoring of each CDN node is calculated by the historical parameter information of each CDN node, and according to the history of each CDN node The synthesis history scoring of all CDN nodes under each CDN operator is calculated separately, and according under each CDN operator The synthesis history scoring of all CDN nodes determines optimal CDN operator, and optimal CDN operator is recommended webpage supplier, So as to preferentially select optimal CDN operator, Jin Erwei when to the server registration domain name of CDN operator in webpage supplier Netizen provides more quick network service.It should be noted that the predetermined period can be configured by developer, example It can be such as 1 day, 2 days, 3 days, the present exemplary embodiment is not particularly limited this.
In conclusion being judged whether according to the parameter information of each CDN node to for handling web access requests Current CDN node switches over, and when switching over to current CDN node, determines target CDN node and switch over, CDN The scheduling mode simple and flexible of node, it is high-efficient, and realize the automatic dispatching of CDN node;In addition, target CDN node with The CDN operator of current CDN node is different, it can it is switched between the CDN node of different CDN operators, so that Each CDN operator provides more quality services without setting up more CDN nodes for netizen, but by switching to other The CDN node of CDN operator for netizen provides more anxious quality services, at low cost, while also ensuring the stability of service With the speed of processing web access requests.
Fig. 7 shows the application architecture system schematic that can be applied to the dispatching method of CDN node.
As shown in fig. 7, application architecture system may include local dns server 201, website authorized DNS server 202, DNS dispatch server 203, CDN dispatch server 208, the first CDN operator 209, the 2nd CDN operator 210, preset interface 211, N number of CDN node.It should be appreciated that the CDN dispatch server 208 in Fig. 7 is used to execute the dispatching method of above-mentioned CDN node. A part of CDN node in N number of CDN node is the CDN node of the first CDN operator 209, and another part CDN node is second The CDN node of CDN operator 210.
Netizen 207 by terminal device (such as computer, mobile phone, notebook) access www.abc.com when, terminal device to Local dns server 201 initiates to obtain the request of the corresponding IP address of www.abc.com;The reception of local dns server 201 obtains It takes the request of the corresponding IP address of www.abc.com and the request that will acquire the corresponding IP address of www.abc.com is transmitted to net It stands authorized DNS server 202;The response of website authorized DNS server 202 obtains the request of the corresponding IP address of www.abc.com The domain name of the 2nd CDN operator 210 is obtained, generate and sends the 2nd CDN operator 210 of acquisition to local dns server 201 The corresponding IP address request of domain name (www.abc.jcloudcdn.com);Local dns server 201 will acquire The corresponding IP address request of www.abc.jcloudcdn.com is sent to DNS dispatch server 203;In DNS dispatch server 203 set processing netizen's access for the CDN node 1 of the 2nd CDN operator 210 according to www.abc.jcloudcdn.com When the CDN node of www.abc.com, if CDN dispatch server 208 detects CDN node 1, there are problems or the first CDN to transport When the performance of the CDN node 3 of battalion quotient 209 is more preferable, CDN dispatch server 208 notifies DNS dispatch server 203 by CDN node 1 It is switched to CDN node 3;After DNS dispatch server 203 receives and CDN node 1 is switched to the notice of CDN node 3, obtain The domain name (i.e. www.abc.qcloudcdn.com) of first CDN operator 209 is generated and is sent to local dns server 201 Obtain the request of the corresponding IP address of www.abc.qcloudcdn.com;Local dns server 201 will acquire The request of the corresponding IP address of www.abc.qcloudcdn.com is transmitted to the server of the first CDN operator 209, the first CDN The request that the server response of operator 209 obtains the corresponding IP address of www.abc.qcloudcdn.com is taken by local dns Device 201 of being engaged in returns to the IP address of CDN node 3 to terminal device so that terminal device directly access the IP address of CDN node 3 into And open the corresponding webpage of www.abc.com.
Also need to judge the supplier of the corresponding webpage of www.abc.com before CDN node 1 is switched to CDN node 3 Domain name whether registered in the server of the first CDN operator 209, if unregistered, CDN dispatch server 208 can pass through Preset interface is by the server of the domain name registration of the supplier of the corresponding webpage of www.abc.com to the first CDN operator 209 In.
Further, it is also possible to using Columbus's bus 212 and pass through preset interface 211 for the domain name registration of each webpage supplier To the server of the first CDN operator 209 and the 2nd CDN operator 210.
It should be noted that although describing each step of method in the disclosure in the accompanying drawings with particular order, This does not require that or implies must execute these steps in this particular order, or have to carry out step shown in whole Just it is able to achieve desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and held by certain steps Row, and/or a step is decomposed into execution of multiple steps etc..
In an exemplary embodiment of the disclosure, a kind of dispatching device of CDN node is additionally provided, as shown in figure 8, described Virtual objects controlled device 800 may include: to obtain module 801, judgment module 802, determining module 803, switching module 804, Wherein:
Obtain module 801, can be used for include current CDN node multiple CDN nodes in each CDN node into Row poll obtains the parameter information of each CDN node;
Judgment module 802 can be used for being judged whether according to the parameter information of each CDN node to for handling webpage The current CDN node of access request switches over;
Determining module 803, if can be used for cutting the current CDN node for handling web access requests It changes, then determines target CDN node in the remaining CDN node in addition to the current CDN node;
Switching module 804 can be used for being used to handle the CDN nodes of web access requests from the current CDN node Switch to the target CDN node;Wherein, the multiple CDN node includes the CDN node of multiple CDN operators, described current CDN node is different from the CDN operator of the target CDN node.
The detail of the dispatching device module of each CDN node is in the dispatching method of corresponding CDN node among the above In be described in detail, therefore details are not described herein again.
It should be noted that although being referred to several modules or unit of the equipment for execution in the above detailed description, But it is this divide it is not enforceable.In fact, according to embodiment of the present disclosure, two or more above-described modules Either the feature and function of unit can embody in a module or unit.Conversely, an above-described module or The feature and function of person's unit can be to be embodied by multiple modules or unit with further division.
In an exemplary embodiment of the disclosure, a kind of electronic equipment that can be realized the above method is additionally provided.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 900 of this embodiment according to the present invention is described referring to Fig. 9.The electronics that Fig. 9 is shown Equipment 900 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 9, electronic equipment 900 is showed in the form of universal computing device.The component of electronic equipment 900 can wrap It includes but is not limited to: at least one above-mentioned processing unit 910, at least one above-mentioned storage unit 920, the different system components of connection The bus 930 of (including storage unit 920 and processing unit 910), display unit 940.
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 910 Row, so that various according to the present invention described in the execution of the processing unit 910 above-mentioned " illustrative methods " part of this specification The step of illustrative embodiments.For example, the processing unit 910 can execute step S310 as shown in Figure 3, to including Each CDN node in multiple CDN nodes of current CDN node is polled, and obtains the parameter letter of each CDN node Breath;Step S320, judge whether to work as described in web access requests to for handling according to the parameter information of each CDN node Preceding CDN node switches over;If step S330, being switched over to the current CDN node for handling web access requests, Target CDN node is then determined in the remaining CDN node in addition to the current CDN node;Step S340, it will be used to handle net The CDN node of access to web page request switches to the target CDN node from the current CDN node;Wherein, the multiple CDN section Point includes the CDN node of multiple CDN operators, the CDN operator of the current CDN node and the target CDN node It is different.
Storage unit 920 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 9201 and/or cache memory unit 9202, it can further include read-only memory unit (ROM) 9203.
Storage unit 920 can also include program/utility with one group of (at least one) program module 9205 9204, such program module 9205 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of web environment in block and program data, each of these examples or certain combination.
Bus 930 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 900 can also be with one or more external equipments 970 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 900 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 900 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 950.Also, electronic equipment 900 can be with By webpage fit device 960 and one or more webpage (such as local area network (LAN), wide area network (WAN) and/or common web page, Such as internet) communication.As shown, webpage fit device 960 is communicated by bus 930 with other modules of electronic equipment 900. It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 900, including but not Be limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and Data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or webpage on, including some instructions are so that a calculating Equipment (can be personal computer, server, terminal installation or webpage equipment etc.) is executed according to disclosure embodiment Method.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, energy is stored thereon with Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also In the form of being embodied as a kind of program product comprising program code, when described program product is run on the terminal device, institute Program code is stated for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to this hair The step of bright various illustrative embodiments.
Refering to what is shown in Fig. 10, describing the program product for realizing the above method of embodiment according to the present invention 1000, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the webpage of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure His embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the attached claims.

Claims (11)

1. a kind of dispatching method of CDN node characterized by comprising
Each CDN node in multiple CDN nodes including current CDN node is polled, each CDN node is obtained Parameter information;
Judged whether according to the parameter information of each CDN node to the current CDN section for handling web access requests Point switches over;
If being switched over to the current CDN node for handling web access requests, in addition to the current CDN node Remaining CDN node in determine target CDN node;
The CDN node for being used to handle web access requests is switched into the target CDN node from the current CDN node;
Wherein, the multiple CDN node includes the CDN node of multiple CDN operators, the current CDN node and the target The CDN operator of CDN node is different.
2. the dispatching method of CDN node according to claim 1, which is characterized in that will be used to handle webpage visit described Ask that the CDN node of request switches to before the target CDN node from the current CDN node further include:
If the domain name of the supplier for the webpage that the web access requests are accessed is not belonging to the target CDN node It is registered in the server of CDN operator, by api interface by the domain name registration of the supplier to the target CDN node institute In the server of the CDN operator belonged to, and initiate mode is set by the domain name of the supplier.
3. the dispatching method of CDN node according to claim 1, which is characterized in that described according to each CDN node Parameter information judges whether to switch over the current CDN node for handling web access requests
The scoring of the current CDN node is calculated according to the parameter information of the current CDN node;
Judge whether according to the scoring of the current CDN node and in conjunction with a default score value to for handling web access requests The current CDN node switch over.
4. the dispatching method of CDN node according to claim 1, which is characterized in that described according to each CDN node Parameter information judges whether to switch over the current CDN node for handling web access requests
The scoring of each CDN node is calculated according to the parameter information of each CDN node;
By the scoring of each CDN node judge whether to the current CDN node for handling web access requests into Row switching.
5. the dispatching method of CDN node according to claim 1, which is characterized in that the method also includes:
Register the domain name of each webpage supplier into the server of each CDN operator respectively by a preset interface, and will The domain name of each webpage supplier is set as initiate mode.
6. the dispatching method of CDN node according to claim 5, which is characterized in that the method also includes:
It is carried out by domain name of the preset interface to the webpage supplier registered in the server of the CDN operator pre- If operation;Wherein, the predetermined registration operation may include delete, enable, deactivating, configuration modification, one or more in configuration querying It is a.
7. the dispatching method of CDN node according to claim 1, which is characterized in that the method also includes:
The historical parameter information of each CDN node is obtained and analyzes, to obtain optimal CDN operator, and to webpage supplier Recommend the optimal CDN operator.
8. the dispatching method of CDN node according to any one of claims 1 to 7, which is characterized in that described each described The parameter information of CDN node includes at least one of node bandwidth information, node flow information, node quality information.
9. a kind of dispatching device of CDN node characterized by comprising
Module is obtained, for being polled to each CDN node in multiple CDN nodes including current CDN node, is obtained The parameter information of each CDN node;
Judgment module, for being judged whether according to the parameter information of each CDN node to for handling web access requests The current CDN node switches over;
Determining module, if for being switched over to the current CDN node for handling web access requests, except described Target CDN node is determined in remaining CDN node outside current CDN node;
Switching module, for the CDN node for being used to handle web access requests to be switched to the mesh from the current CDN node Mark CDN node;
Wherein, the multiple CDN node includes the CDN node of multiple CDN operators, the current CDN node and the target The CDN operator of CDN node is different.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The dispatching method of CDN node described in any one of claim 1~8 is realized when being executed by processor.
11. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to come any one of perform claim requirement 1~8 institute via the execution executable instruction The dispatching method for the CDN node stated.
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 true CN110233861A (en) 2019-09-13
CN110233861B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933128A (en) * 2019-10-08 2020-03-27 网宿科技股份有限公司 Node traffic scheduling method and device, electronic equipment and storage medium
CN111314234A (en) * 2020-03-31 2020-06-19 北京创世云科技有限公司 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
CN113132479A (en) * 2021-04-16 2021-07-16 北京百度网讯科技有限公司 Traffic switching method, traffic switching apparatus, traffic model generating method, traffic model generating apparatus, traffic model generating
CN113452766A (en) * 2021-06-22 2021-09-28 青岛海尔科技有限公司 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 (6)

* 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
US20150382088A1 (en) * 2014-06-30 2015-12-31 Deutsche Telekom Ag Efficient transport network architecture for content delivery network
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
US20170366595A1 (en) * 2014-11-18 2017-12-21 International Business Machines Corporation Software defined content delivery network for flexible, real-time management of large-scale data transfers

Patent Citations (6)

* 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
US20150382088A1 (en) * 2014-06-30 2015-12-31 Deutsche Telekom Ag Efficient transport network architecture for content delivery network
US20170366595A1 (en) * 2014-11-18 2017-12-21 International Business Machines Corporation Software defined content delivery network for flexible, real-time management of large-scale data transfers
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业务战略研究", 《中国知网硕士电子期刊》, no. 7 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933128A (en) * 2019-10-08 2020-03-27 网宿科技股份有限公司 Node traffic scheduling method and device, electronic equipment and storage medium
CN111314234A (en) * 2020-03-31 2020-06-19 北京创世云科技有限公司 Flow distribution method and device, storage medium and electronic equipment
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
CN113132479A (en) * 2021-04-16 2021-07-16 北京百度网讯科技有限公司 Traffic switching method, traffic switching apparatus, traffic model generating method, traffic model generating apparatus, traffic model generating
CN113452766A (en) * 2021-06-22 2021-09-28 青岛海尔科技有限公司 Node switching method and device, storage medium and electronic device
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

Also Published As

Publication number Publication date
CN110233861B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
CN110233861A (en) Dispatching method and device, storage medium, the electronic equipment of CDN node
CN107196869B (en) The adaptive load balancing method, apparatus and system of Intrusion Detection based on host actual loading
US10681119B2 (en) Establishing nodes for global routing manager
US20160267618A1 (en) Method of providing call taxi service and call taxi service server
TW201833845A (en) Information acquisition method, providing method, device, system, and storage medium
CN109714449A (en) Service Dynamic Configuration, device, equipment and the storage medium of domain name
CN105813969A (en) Service request using wireless programmable device
CN108183975A (en) A kind of method and system of domain name mapping
CN107944000A (en) Flight freight rate update method, device, electronic equipment, storage medium
AU2021259515B2 (en) Sharing geographically concentrated workload among neighboring mec hosts of multiple carriers
CN111935752A (en) Gateway access method, gateway access device, computer equipment and storage medium
CN104077123A (en) Interface display method, device, terminal and server
WO2018183276A1 (en) Bot group messaging method
EP3602973A1 (en) Shared and per-user bot group messaging method
CN113242275A (en) Cloud mobile phone control method and device
CN115345464A (en) Service order dispatching method and device, computer equipment and storage medium
KR101370543B1 (en) System and Method for waiting service using mobile terminal
CN109905734A (en) Method and device, live broadcast system, storage medium and the electronic equipment shunted is broadcast live
CN109858782A (en) Dispatching method, device and the electronic equipment of service role
CN110138887B (en) Data processing method, device and storage medium
WO2024017628A1 (en) Edge application deployment and processing
WO2014172590A1 (en) Systems and methods for establishing telecommunication connection between a requester and an interpreter
KR20210097389A (en) System and method for recommending travel itinerary based on real-time user environment
CN111178568A (en) Service reservation request processing method, device, server and storage medium
CN113379229A (en) Resource scheduling method and device

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