CN103746934A - CDN bandwidth balancing method, CDN control center and system - Google Patents

CDN bandwidth balancing method, CDN control center and system Download PDF

Info

Publication number
CN103746934A
CN103746934A CN201310723559.2A CN201310723559A CN103746934A CN 103746934 A CN103746934 A CN 103746934A CN 201310723559 A CN201310723559 A CN 201310723559A CN 103746934 A CN103746934 A CN 103746934A
Authority
CN
China
Prior art keywords
node
bandwidth
cdn
control centre
section point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310723559.2A
Other languages
Chinese (zh)
Inventor
夏彦刚
张建蕊
吴亚洲
白峻峰
李艳松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Cloud Computing Co Ltd
Original Assignee
LeTV Information Technology Beijing 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 LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201310723559.2A priority Critical patent/CN103746934A/en
Publication of CN103746934A publication Critical patent/CN103746934A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a CDN bandwidth balancing method, a CDN control center and a system and relates to the technical field of network multimedia. According to the CDN control center, bandwidth utilization condition can be obtained timely; the problem of unbalanced bandwidth utilization caused by user page view imbalance of each node is solved at real time; visit pressure of a CDN system is balanced; system resources are utilized reasonably; and performance of the CDN system is improved. The method comprises the following steps: the CDN control center obtains bandwidth of a first node and the bandwidth is the bandwidth occupied by the first node at the current time; the CDN control center judges whether the bandwidth is greater than a first preset threshold which is upper limit bandwidth of the first node; if the bandwidth is less than the first preset threshold, the CDN control center continues to dispatch the first node so as to make the first node response to a node dispatch instruction inputted by a user; if the bandwidth is greater than or equal to the first preset threshold, the CDN control center will not continue to dispatch the first node.

Description

A kind of method, CDN control centre and system of CDN bandwidth balancing
Technical field
The present invention relates to network multimedia technology field, relate in particular to a kind of method, CDN control centre and system of CDN bandwidth balancing.
Background technology
CDN(Content Delivery Network, content distributing network) be a kind of one deck intelligent virtual network on existing Internet basic forming by place node server everywhere at network.CDN can be in real time leads user's request on the nearest service node of user again according to the connection of network traffics and each node, load state and to integrated informations such as user's distance and response times, its objective is and can select the node close to relatively from user to send the required content of user to user, alleviate the situation of network congestion, improve the response speed of website.
CDN control centre control strip balanced bandwidth is in order to solve because the unbalanced bandwidth causing of visit capacity of each node users is used unbalanced problem.In prior art, the method for CDN control centre control strip balanced bandwidth is to make as much as possible the bandwidth of each node fully be applied, thereby reaches bandwidth balancing.
But, because can only making the bandwidth of each node as much as possible, fully applied CDN control centre control strip balanced bandwidth in prior art, but cannot obtain in time bandwidth usage, thereby cause reaching and continuing as node distributing user in limited time and blocking up of causing in the bandwidth of node, and then cause the irrational utilization of CDN system resource, affected the performance of CDN system.
Summary of the invention
Embodiments of the invention provide a kind of method, CDN control centre and system of CDN bandwidth balancing, CDN control centre can obtain bandwidth usage in time, solve because the unbalanced bandwidth causing of visit capacity of each node users is used unbalanced problem in real time, the balanced access pressure of CDN system, reasonably utilize system resource, promoted the performance of CDN system.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the embodiment of the present invention provides a kind of method of CDN bandwidth balancing, is applied to CDN system, and described CDN system at least comprises two nodes, and described method comprises:
CDN control centre obtains the bandwidth of first node, and described bandwidth is the occupied bandwidth of described first node current time;
Described CDN control centre judges whether described bandwidth is greater than the first default thresholding, the upper limit bandwidth that the described first default thresholding is described first node;
If described bandwidth is less than the described first default thresholding, described CDN control centre continues to dispatch described first node, to make the node scheduling instruction of described first node response user input;
If described bandwidth is more than or equal to the described first default thresholding, described CDN control centre no longer continues the described first node of scheduling.
In the possible implementation of the first, according to first aspect, described CDN control centre obtains the bandwidth of first node, specifically comprises:
Extremely described first node of described CDN control centre's transmission bandwidth test instruction, to make described first node periodically test the occupied bandwidth of described first node current time;
In described CDN control centre, send bandwidth test instruction to described first node, described CDN control centre periodically receives the occupied bandwidth of described first node current time of described first node feedback.
In the possible implementation of the second, in conjunction with first aspect or the possible implementation of the first, if described bandwidth is less than the described first default thresholding, described CDN control centre continues to dispatch described first node, specifically comprises:
Described CDN control centre obtains the node scheduling instruction of user's input;
If described bandwidth is less than the described first default thresholding, described first node, according to described node scheduling instruction, is dispatched, to make the node scheduling instruction of described first node response user input by described CDN control centre.
In the third possible implementation, in conjunction with first aspect or possible implementation or the possible implementation of the second of the first, if described bandwidth is more than or equal to the described first default thresholding, described CDN control centre no longer continues the described first node of scheduling, specifically comprises:
Described CDN control centre obtains the node scheduling instruction of user's input;
If described bandwidth is more than or equal to the described first default thresholding, described CDN control centre is according to described node scheduling instruction, and scheduling Section Point, to make the node scheduling instruction of described Section Point response user input;
Wherein, the occupied bandwidth of described Section Point current time is less than the second default thresholding, the upper limit bandwidth that the described second default thresholding is described Section Point.
In the 4th kind of possible implementation, in conjunction with first aspect or the possible implementation of the first, to the third possible implementation, described CDN control centre is according to described node scheduling instruction, and scheduling Section Point, specifically comprises:
If described bandwidth is more than or equal to the described first default thresholding, described CDN control centre is according to described node scheduling instruction, search the Section Point that current time bandwidth usage is minimum, described bandwidth usage is the ratio of the upper limit bandwidth of the occupied bandwidth of described Section Point current time and described Section Point;
In described CDN control centre, find after described Section Point, described CDN control centre scheduling Section Point, to make the node scheduling instruction of described Section Point response user input.
Second aspect, the embodiment of the present invention provides a kind of CDN control centre, is applied to CDN system, and described CDN system at least comprises two nodes, and described CDN control centre comprises:
Acquisition module, for obtaining the bandwidth of first node, described bandwidth is the occupied bandwidth of described first node current time;
Judge module, for judging whether described bandwidth is greater than the first default thresholding, the upper limit bandwidth that the described first default thresholding is described first node;
The first scheduler module, if be less than the described first default thresholding for described bandwidth, continues the described first node of scheduling, to make the node scheduling instruction of described first node response user input;
The second scheduler module, if be more than or equal to the described first default thresholding for described bandwidth, no longer continues the described first node of scheduling.
In the possible implementation of the first, according to second aspect, described acquisition module, specifically comprises:
Sending module, for sending bandwidth test instruction to described first node, to make described first node periodically test the occupied bandwidth of described first node current time;
Receiver module, for sending bandwidth test instruction to described first node at sending module, periodically receives the occupied bandwidth of described first node current time of described first node feedback.
In the possible implementation of the second, in conjunction with second aspect or the possible implementation of the first, described the first scheduler module, specifically comprises:
First obtains submodule, for obtaining the node scheduling instruction of user's input;
The first scheduling sublayer module, if be less than the described first default thresholding for described bandwidth,, according to described node scheduling instruction, dispatches described first node, to make the node scheduling instruction of described first node response user input.
In the third possible implementation, in conjunction with second aspect or possible implementation or the possible implementation of the second of the first, described the second scheduler module, specifically comprises:
Second obtains submodule, for obtaining the node scheduling instruction of user's input;
The second scheduling sublayer module, if be more than or equal to the described first default thresholding for described bandwidth, according to described node scheduling instruction, scheduling Section Point, to make the node scheduling instruction of described Section Point response user input;
Wherein, the occupied bandwidth of described Section Point current time is less than the second default thresholding, the upper limit bandwidth that the described second default thresholding is described Section Point.
In the 4th kind of possible implementation, in conjunction with second aspect or the possible implementation of the first, to the third possible implementation, described the second scheduling sublayer module, specifically comprises:
Search module, if be more than or equal to the described first default thresholding for described bandwidth, according to described node scheduling instruction, search the Section Point that current time bandwidth usage is minimum, described bandwidth usage is the ratio of the upper limit bandwidth of the occupied bandwidth of described Section Point current time and described Section Point;
Section Point scheduler module, for arriving after described Section Point in the described module searches of searching, scheduling Section Point, to make the node scheduling instruction of described Section Point response user input.
The third aspect, the embodiment of the present invention provides a kind of CDN system, comprises the described CDN control centre with above-mentioned arbitrary feature, and for responding first node and the Section Point of node scheduling instruction of user's input.
Method, CDN control centre and the system of a kind of CDN bandwidth balancing that the embodiment of the present invention provides, the method for CDN bandwidth balancing comprises: CDN control centre obtains the bandwidth of first node, bandwidth is the occupied bandwidth of first node current time; CDN control centre judges whether bandwidth is greater than the first default thresholding, the upper limit bandwidth that the first default thresholding is first node; If bandwidth is less than the first default thresholding, CDN control centre continues to dispatch first node, to make the node scheduling instruction of first node response user input; If bandwidth is more than or equal to the first default thresholding, CDN control centre no longer continues scheduling first node.
Can only make as much as possible the bandwidth of each node fully be applied and cannot obtain in time compared with the bandwidth balancing method of bandwidth usage with CDN control centre in prior art, pass through this method, because CDN control centre can obtain the bandwidth of first node, and judge whether bandwidth is greater than the first default thresholding, if bandwidth is less than the first default thresholding, CDN control centre continues to dispatch first node; If bandwidth is more than or equal to the first default thresholding, CDN control centre no longer continues scheduling first node.Therefore, CDN control centre can solve in real time because the unbalanced bandwidth causing of visit capacity of each node users is used unbalanced problem, and the balanced access pressure of CDN system, reasonably utilizes system resource, has promoted the performance of CDN system.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of the method for a kind of CDN bandwidth balancing in the embodiment of the present invention 1;
Fig. 2 is the schematic flow sheet of the method for a kind of CDN bandwidth balancing in the embodiment of the present invention 2;
Fig. 3 is the structural representation one of a kind of CDN control centre in the embodiment of the present invention 3;
Fig. 4 is the structural representation two of a kind of CDN control centre in the embodiment of the present invention 3;
Fig. 5 is the structural representation three of a kind of CDN control centre in the embodiment of the present invention 3;
Fig. 6 is the structural representation four of a kind of CDN control centre in the embodiment of the present invention 3;
Fig. 7 is the structural representation five of a kind of CDN control centre in the embodiment of the present invention 3.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
In addition, term " system " and " network " are often used interchangeably in this article herein.Herein term " with ", be only a kind of incidence relation of describing affiliated partner, can there are three kinds of relations in expression, for example, A and B, can represent: individualism A exists A and B, these three kinds of situations of individualism B simultaneously.In addition, character "/" herein, generally represents that forward-backward correlation is to liking a kind of relation of "or".
The CDN control centre that the present invention mentions carries out management and the control of CDN system, and first node and Section Point can be both memory nodes, can be also fringe nodes, and the present invention does not limit.Wherein, memory node is the node of having stored system All Files, and fringe node is the ordinary node that service is provided for user.Common, memory node is core CDN node, has stored intrasystem All Files; Fringe node is edge C DN node, for user access.
Embodiment 1
The embodiment of the present invention provides a kind of method of CDN bandwidth balancing, can be applied to CDN system, and CDN system at least comprises two nodes, and as shown in Figure 1, the method for CDN bandwidth balancing, comprising:
S101, CDN control centre obtain the bandwidth of first node, and bandwidth is the occupied bandwidth of first node current time.
CDN is a kind of one deck intelligent virtual network on existing Internet basic forming by place node server everywhere at network.CDN control centre control strip balanced bandwidth is in order to solve because the unbalanced bandwidth causing of visit capacity of each node users is used unbalanced problem.But, because can only making the bandwidth of each node as much as possible, fully applied CDN control centre control strip balanced bandwidth in prior art, but cannot obtain in time bandwidth usage, thereby cause reaching and continuing as node distributing user in limited time and blocking up of causing in the bandwidth of node, and then cause the irrational utilization of CDN system resource, affected the performance of CDN system.
Embodiments of the invention provide a kind of method of CDN bandwidth balancing, CDN control centre can obtain bandwidth usage in time, solve because the unbalanced bandwidth causing of visit capacity of each node users is used unbalanced problem in real time, the balanced access pressure of CDN system, reasonably utilize system resource, promoted the performance of CDN system.
First, CDN control centre obtains the bandwidth of first node.Wherein, bandwidth is the occupied bandwidth of first node current time.
It should be noted that, the bandwidth of the first node that CDN control centre obtains, wherein, first node draws jointly by human configuration and the automatic calculating of program, to guarantee that first node is when providing service as user, can guarantee service quality, for example, when file transfer, provide stable service etc.
Concrete, the method how CDN control centre obtains the bandwidth of first node will be described in detail in the following embodiments, repeat no more herein.
S102, CDN control centre judge whether bandwidth is greater than the first default thresholding, the upper limit bandwidth that the first default thresholding is first node.
In CDN control centre, get after the bandwidth of first node, CDN control centre judges whether bandwidth is greater than the first default thresholding.Wherein, the upper limit bandwidth that the first default thresholding is first node.
It should be noted that, in CDN system, any one node has the upper limit bandwidth of self, and in CDN system, the upper limit bandwidth of each node can be identical, also can be different, and the present invention does not limit.CDN control centre judges that whether bandwidth is greater than the first default thresholding, will determine whether the occupied bandwidth of first node current time has exceeded upper limit bandwidth exactly.For example, the upper limit bandwidth of first node is 5TB(Tera Byte), CDN control centre judges whether the occupied bandwidth of first node current time has exceeded 5TB.Preferably, in order to guarantee the stability of system, the described first default thresholding is preferably set to lower than upper limit bandwidth, as 80% of upper limit bandwidth.
If S103 bandwidth is less than the first default thresholding, CDN control centre continues to dispatch first node, to make the node scheduling instruction of first node response user input.
If bandwidth is less than the first default thresholding, represent that the occupied bandwidth of first node current time does not exceed upper limit bandwidth, now, continue scheduling first node and can't cause access pressure to first node, therefore, CDN control centre can continue to dispatch first node, to make the node scheduling instruction of first node response user input.
Optionally, if bandwidth is less than the first default thresholding, CDN control centre continues scheduling first node, specifically comprises: described CDN control centre obtains the node scheduling instruction of user's input; If described bandwidth is less than the first default thresholding, described first node, according to described node scheduling instruction, is dispatched, to make the node scheduling instruction of described first node response user input by described CDN control centre.
If S104 bandwidth is more than or equal to the first default thresholding, CDN control centre no longer continues scheduling first node.
A step arranged side by side with step S103, if bandwidth is more than or equal to the first default thresholding, represent that the occupied bandwidth of first node current time has exceeded upper limit bandwidth, now, continue scheduling first node and can cause access pressure to first node, thereby affect the performance of whole CDN system, therefore, CDN control centre can not continue to dispatch first node, and certainly, now described first node will can not respond the node scheduling instruction of user's input again.
Optionally, if bandwidth is more than or equal to the first default thresholding, CDN control centre no longer continues to dispatch first node, specifically comprises: described CDN control centre obtains the node scheduling instruction of user's input; If described bandwidth is more than or equal to the first default thresholding, described CDN control centre is according to described node scheduling instruction, and scheduling Section Point, to make the node scheduling instruction of described Section Point response user input; Wherein, the occupied bandwidth of described Section Point current time is less than the second default thresholding, the upper limit bandwidth that the described second default thresholding is described Section Point.
Concrete, how described CDN control centre is according to described node scheduling instruction, and the method for scheduling Section Point will be described in detail in the following embodiments, repeat no more herein.
The embodiment of the present invention provides a kind of method of CDN bandwidth balancing, and the method comprises: CDN control centre obtains the bandwidth of first node, and bandwidth is the occupied bandwidth of first node current time; CDN control centre judges whether bandwidth is greater than the first default thresholding, the upper limit bandwidth that the first default thresholding is first node; If bandwidth is less than the first default thresholding, CDN control centre continues to dispatch first node, to make the node scheduling instruction of first node response user input; If bandwidth is more than or equal to the first default thresholding, CDN control centre no longer continues scheduling first node.
Can only make as much as possible the bandwidth of each node fully be applied and cannot obtain in time compared with the bandwidth balancing method of bandwidth usage with CDN control centre in prior art, pass through this method, because CDN control centre can obtain the bandwidth of first node, and judge whether bandwidth is greater than the first default thresholding, if bandwidth is less than the first default thresholding, CDN control centre continues to dispatch first node; If bandwidth is more than or equal to the first default thresholding, CDN control centre no longer continues scheduling first node.Therefore, CDN control centre can solve in real time because the unbalanced bandwidth causing of visit capacity of each node users is used unbalanced problem, and the balanced access pressure of CDN system, reasonably utilizes system resource, has promoted the performance of CDN system.
Embodiment 2
The embodiment of the present invention provides a kind of method of CDN bandwidth balancing, can be applied to CDN system, and CDN system at least comprises two nodes, and as shown in Figure 2, the method for CDN bandwidth balancing, comprising:
S201, CDN control centre obtain the bandwidth of first node, and bandwidth is the occupied bandwidth of first node current time.
CDN control centre control strip balanced bandwidth is in order to solve because the unbalanced bandwidth causing of visit capacity of each node users is used unbalanced problem.But, because can only making the bandwidth of each node as much as possible, fully applied CDN control centre control strip balanced bandwidth in prior art, but cannot obtain in time bandwidth usage, thereby cause reaching and continuing as node distributing user in limited time and blocking up of causing in the bandwidth of node, and then cause the irrational utilization of CDN system resource, affected the performance of CDN system.
Embodiments of the invention provide a kind of method of CDN bandwidth balancing, CDN control centre can obtain bandwidth usage in time, solve because the unbalanced bandwidth causing of visit capacity of each node users is used unbalanced problem in real time, the balanced access pressure of CDN system, reasonably utilize system resource, promoted the performance of CDN system.
First, CDN control centre obtains the bandwidth of first node.Wherein, bandwidth is the occupied bandwidth of first node current time.
It should be noted that, the bandwidth of the first node that CDN control centre obtains, wherein, first node draws jointly by human configuration and the automatic calculating of program, to guarantee that first node is when providing service as user, can guarantee service quality, for example, when file transfer, provide stable service etc.
Concrete, the step S201 that CDN control centre obtains the bandwidth of first node can comprise step S201a and S201b:
S201a, CDN control centre send bandwidth test instruction to first node, to make first node periodically test the occupied bandwidth of first node current time.
CDN control centre will obtain the bandwidth of first node, and first, CDN control centre sends bandwidth test instruction to first node, to make first node periodically test the occupied bandwidth of first node current time.
It should be noted that, first node is periodically tested the occupied bandwidth of first node current time.The cycle of test can arrange voluntarily according to the demand of CDN system.Preferably, the frequency of the occupied bandwidth of first node test first node current time is higher, just can more accurately make the bandwidth of each node arrive balance.For example, the cycle that CDN system arranges the occupied bandwidth of first node test first node current time is 10S, and first node, take 10S as the cycle, is tested the occupied bandwidth of first node current time.
S201b, in CDN control centre, send bandwidth test instruction to first node, CDN control centre periodically receives the occupied bandwidth of first node current time of first node feedback.
In CDN control centre, send bandwidth test instruction to first node, CDN control centre periodically receives the occupied bandwidth of first node current time of first node feedback.Wherein, the cycle of the occupied bandwidth of first node current time of CDN control centre reception first node feedback equated with the cycle of the occupied bandwidth of first node test first node current time.
S202, CDN control centre judge whether bandwidth is greater than the first default thresholding, the upper limit bandwidth that the first default thresholding is first node.
In CDN control centre, get after the bandwidth of first node, CDN control centre judges whether bandwidth is greater than the first default thresholding.Wherein, the upper limit bandwidth that the first default thresholding is first node.
It should be noted that, in CDN system, any one node has the upper limit bandwidth of self, and in CDN system, the upper limit bandwidth of each node can be identical, also can be different, and the present invention does not limit.CDN control centre judges that whether bandwidth is greater than the first default thresholding, will determine whether the occupied bandwidth of first node current time has exceeded upper limit bandwidth exactly.For example, the upper limit bandwidth of first node is 5TB, and CDN control centre judges whether the occupied bandwidth of first node current time has exceeded 5TB.Preferably, in order to guarantee the stability of system, the described first default thresholding is preferably set to lower than upper limit bandwidth, as 80% of upper limit bandwidth.
If S203 bandwidth is less than the first default thresholding, CDN control centre continues to dispatch first node, to make the node scheduling instruction of first node response user input.
If bandwidth is less than the first default thresholding, represent that the occupied bandwidth of first node current time does not exceed upper limit bandwidth, now, continue scheduling first node and can't cause access pressure to first node, therefore, CDN control centre can continue to dispatch first node, to make the node scheduling instruction of first node response user input.
Concrete, if bandwidth is less than the first default thresholding, the step S203 that CDN control centre continues to dispatch first node can comprise step S203a and S203b:
S203a, CDN control centre obtain the node scheduling instruction of user's input.
It should be noted that, node scheduling instruction is user according to self-demand input, and node scheduling instruction can indicate CDN control centre to select suitable node to dispatch, to make the node can responsive node dispatch command, for user provides service.
If S203b bandwidth is less than the first default thresholding, CDN control centre is according to node scheduling instruction, and scheduling first node, to make the node scheduling instruction of first node response user input.
When CDN control centre gets after the node scheduling instruction of user's input, because bandwidth is less than the first default thresholding, represent that the occupied bandwidth of first node current time does not exceed upper limit bandwidth, first node still old bandwidth can be used for responding the node scheduling instruction that user inputs.Therefore, first node, according to node scheduling instruction, is dispatched by CDN control centre.Preferably, judging that bandwidth is less than after the first default thresholding, CDN control centre gets the node scheduling instruction of user's input, and from this instruction, obtain the bandwidth information that dispatch command need to take, when the bandwidth sum that need to take when the occupied bandwidth of described current time and dispatch command is greater than the upper limit bandwidth of first node, CDN control centre no longer continues scheduling first node.
If S204 bandwidth is more than or equal to the first default thresholding, CDN control centre no longer continues scheduling first node.
A step arranged side by side with step S203, if bandwidth is more than or equal to the first default thresholding, represent that the occupied bandwidth of first node current time has exceeded upper limit bandwidth, now, continue scheduling first node and can cause access pressure to first node, thereby affect the performance of whole CDN system, therefore, CDN control centre can not continue to dispatch first node, and certainly, now described first node will can not respond the node scheduling instruction of user's input again.
Concrete, if bandwidth is more than or equal to the first default thresholding, the step S204 that CDN control centre no longer continues scheduling first node can comprise step S204a and S204b:
S204a, CDN control centre obtain the node scheduling instruction of user's input.
If S204b bandwidth is more than or equal to the first default thresholding, CDN control centre is according to node scheduling instruction, and scheduling Section Point, to make the node scheduling instruction of Section Point response user input.
Wherein, the occupied bandwidth of Section Point current time is less than the second default thresholding, the upper limit bandwidth that the second default thresholding is Section Point.
When CDN control centre gets after the node scheduling instruction of user's input, because bandwidth is more than or equal to the first default thresholding, represent that the occupied bandwidth of first node current time has exceeded upper limit bandwidth, if dispatch again first node, will be to first node build-up of pressure, and then have influence on the performance of whole CDN system.Therefore, CDN control centre is according to node scheduling instruction, and the occupied bandwidth of scheduling current time does not reach the Section Point of upper limit bandwidth, to make the node scheduling instruction of Section Point response user input.
Further concrete, CDN control centre is according to node scheduling instruction, and the step S204b of scheduling Section Point can comprise step S204ba and S204bb:
If S204ba bandwidth is more than or equal to the first default thresholding, CDN control centre is according to node scheduling instruction, search the Section Point that current time bandwidth usage is minimum, bandwidth usage is the ratio of the upper limit bandwidth of the occupied bandwidth of Section Point current time and Section Point.
The Section Point that current time bandwidth usage is minimum, according to node scheduling instruction, is searched by CDN control centre.Wherein, the Section Point that current time bandwidth usage is minimum can guarantee that Section Point can respond the node scheduling instruction of user's input.Wherein, bandwidth usage is the ratio of the upper limit bandwidth of the occupied bandwidth of Section Point current time and Section Point.
S204bb, in CDN control centre, find after Section Point, CDN control centre scheduling Section Point, to make the node scheduling instruction of Section Point response user input.
You need to add is that, Section Point draws jointly by human configuration and the automatic calculating of program equally, to guarantee that Section Point, when service is provided as user, can guarantee service quality, for example, provides stable service etc. when file transfer.CDN control centre is according to node scheduling instruction, while searching Section Point, can from the result that human configuration and the automatic calculating of program draw jointly, search, and then scheduling Section Point, to make the node scheduling instruction of Section Point response user input.
The embodiment of the present invention provides a kind of method of CDN bandwidth balancing, and the method comprises: CDN control centre obtains the bandwidth of first node, and bandwidth is the occupied bandwidth of first node current time; CDN control centre judges whether bandwidth is greater than the first default thresholding, the upper limit bandwidth that the first default thresholding is first node; If bandwidth is less than the first default thresholding, CDN control centre continues to dispatch first node, to make the node scheduling instruction of first node response user input; If bandwidth is more than or equal to the first default thresholding, CDN control centre no longer continues scheduling first node.
Can only make as much as possible the bandwidth of each node fully be applied and cannot obtain in time compared with the bandwidth balancing method of bandwidth usage with CDN control centre in prior art, pass through this method, because CDN control centre can obtain the bandwidth of first node, and judge whether bandwidth is greater than the first default thresholding, if bandwidth is less than the first default thresholding, CDN control centre continues to dispatch first node; If bandwidth is more than or equal to the first default thresholding, CDN control centre no longer continues scheduling first node.Therefore, CDN control centre can solve in real time because the unbalanced bandwidth causing of visit capacity of each node users is used unbalanced problem, and the balanced access pressure of CDN system, reasonably utilizes system resource, has promoted the performance of CDN system.
Embodiment 3
The embodiment of the present invention provides a kind of CDN control centre, can be applied to CDN system, and CDN system at least comprises two nodes, and as shown in Figure 3, described CDN control centre comprises:
Acquisition module 10, for obtaining the bandwidth of first node, described bandwidth is the occupied bandwidth of described first node current time.
Judge module 11, for judging whether described bandwidth is greater than the first default thresholding, the upper limit bandwidth that the described first default thresholding is described first node.
The first scheduler module 12, if be less than the described first default thresholding for described bandwidth, continues the described first node of scheduling, to make the node scheduling instruction of described first node response user input.
The second scheduler module 13, if be more than or equal to the described first default thresholding for described bandwidth, no longer continues the described first node of scheduling.
Further, as shown in Figure 4, described acquisition module 10, specifically comprises:
Sending module 100, for sending bandwidth test instruction to described first node, to make described first node periodically test the occupied bandwidth of described first node current time.
Receiver module 101, for sending bandwidth test instruction at sending module 100 to described first node, periodically receives the occupied bandwidth of described first node current time of described first node feedback.
Further, as shown in Figure 5, described the first scheduler module 12, specifically comprises:
First obtains submodule 120, for obtaining the node scheduling instruction of user's input.
The first scheduling sublayer module 121, if be less than the described first default thresholding for described bandwidth,, according to described node scheduling instruction, dispatches described first node, to make the node scheduling instruction of described first node response user input.
Further, as shown in Figure 6, described the second scheduler module 13, specifically comprises:
Second obtains submodule 130, for obtaining the node scheduling instruction of user's input.
The second scheduling sublayer module 131, if be more than or equal to the described first default thresholding for described bandwidth, according to described node scheduling instruction, scheduling Section Point, to make the node scheduling instruction of described Section Point response user input.
Wherein, the occupied bandwidth of described Section Point current time is less than the second default thresholding, the upper limit bandwidth that the described second default thresholding is described Section Point.
Further, as shown in Figure 7, described the second scheduling sublayer module 131, specifically comprises:
Search module 1310, if be more than or equal to the described first default thresholding for described bandwidth, according to described node scheduling instruction, search the Section Point that current time bandwidth usage is minimum, described bandwidth usage is the ratio of the upper limit bandwidth of the occupied bandwidth of described Section Point current time and described Section Point.
Section Point scheduler module 1311, for finding after described Section Point in the described module 1310 of searching, scheduling Section Point, to make the node scheduling instruction of described Section Point response user input.
A kind of CDN control centre that the embodiment of the present invention provides, CDN control centre comprises: acquisition module, for obtaining the bandwidth of first node, described bandwidth is the occupied bandwidth of described first node current time; Judge module, for judging whether described bandwidth is greater than the first default thresholding, the upper limit bandwidth that the described first default thresholding is described first node; The first scheduler module, if be less than the described first default thresholding for described bandwidth, continues the described first node of scheduling, to make the node scheduling instruction of described first node response user input; The second scheduler module, if be more than or equal to the described first default thresholding for described bandwidth, no longer continues the described first node of scheduling.
Can only make as much as possible the bandwidth of each node fully be applied and cannot obtain in time compared with the bandwidth balancing method of bandwidth usage with CDN control centre in prior art, pass through this method, because CDN control centre can obtain the bandwidth of first node, and judge whether bandwidth is greater than the first default thresholding, if bandwidth is less than the first default thresholding, CDN control centre continues to dispatch first node; If bandwidth is more than or equal to the first default thresholding, CDN control centre no longer continues scheduling first node.Therefore, CDN control centre can solve in real time because the unbalanced bandwidth causing of visit capacity of each node users is used unbalanced problem, and the balanced access pressure of CDN system, reasonably utilizes system resource, has promoted the performance of CDN system.
Embodiment 4
The embodiment of the present invention provides a kind of CDN system, comprises the described CDN control centre with above-mentioned arbitrary feature, and for responding first node and the Section Point of node scheduling instruction of user's input.
Through the above description of the embodiments, those skilled in the art can be well understood to, for convenience and simplicity of description, only with the division of above-mentioned each functional module, be illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to device be divided into different functional modules, to complete all or part of function described above.The system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described module or unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example multiple unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in multiple network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If described integrated unit is realized and during as production marketing independently or use, can be stored in a computer read/write memory medium using the form of SFU software functional unit.Based on such understanding, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) or processor (processor) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (11)

1. a method for CDN bandwidth balancing, is characterized in that, is applied to CDN system, and described CDN system at least comprises two nodes, and described method comprises:
CDN control centre obtains the bandwidth of first node, and described bandwidth is the occupied bandwidth of described first node current time;
Described CDN control centre judges whether described bandwidth is greater than the first default thresholding, the upper limit bandwidth that the described first default thresholding is described first node;
If described bandwidth is less than the described first default thresholding, described CDN control centre continues to dispatch described first node, to make the node scheduling instruction of described first node response user input;
If described bandwidth is more than or equal to the described first default thresholding, described CDN control centre no longer continues the described first node of scheduling.
2. the method for CDN bandwidth balancing according to claim 1, is characterized in that, described CDN control centre obtains the bandwidth of first node, specifically comprises:
Extremely described first node of described CDN control centre's transmission bandwidth test instruction, to make described first node periodically test the occupied bandwidth of described first node current time;
In described CDN control centre, send bandwidth test instruction to described first node, described CDN control centre periodically receives the occupied bandwidth of described first node current time of described first node feedback.
3. the method for CDN bandwidth balancing according to claim 1, is characterized in that, if described bandwidth is less than the described first default thresholding, described CDN control centre continues to dispatch described first node, specifically comprises:
Described CDN control centre obtains the node scheduling instruction of user's input;
If described bandwidth is less than the described first default thresholding, described first node, according to described node scheduling instruction, is dispatched, to make the node scheduling instruction of described first node response user input by described CDN control centre.
4. the method for CDN bandwidth balancing according to claim 1, is characterized in that, if described bandwidth is more than or equal to the described first default thresholding, described CDN control centre no longer continues the described first node of scheduling, specifically comprises:
Described CDN control centre obtains the node scheduling instruction of user's input;
If described bandwidth is more than or equal to the described first default thresholding, described CDN control centre is according to described node scheduling instruction, and scheduling Section Point, to make the node scheduling instruction of described Section Point response user input;
Wherein, the occupied bandwidth of described Section Point current time is less than the second default thresholding, the upper limit bandwidth that the described second default thresholding is described Section Point.
5. the method for CDN bandwidth balancing according to claim 4, is characterized in that, described CDN control centre is according to described node scheduling instruction, and scheduling Section Point, specifically comprises:
If described bandwidth is more than or equal to the described first default thresholding, described CDN control centre is according to described node scheduling instruction, search the Section Point that current time bandwidth usage is minimum, described bandwidth usage is the ratio of the upper limit bandwidth of the occupied bandwidth of described Section Point current time and described Section Point;
In described CDN control centre, find after described Section Point, described CDN control centre scheduling Section Point, to make the node scheduling instruction of described Section Point response user input.
6. a CDN control centre, is characterized in that, is applied to CDN system, and described CDN system at least comprises two nodes, and described CDN control centre comprises:
Acquisition module, for obtaining the bandwidth of first node, described bandwidth is the occupied bandwidth of described first node current time;
Judge module, for judging whether described bandwidth is greater than the first default thresholding, the upper limit bandwidth that the described first default thresholding is described first node;
The first scheduler module, if be less than the described first default thresholding for described bandwidth, continues the described first node of scheduling, to make the node scheduling instruction of described first node response user input;
The second scheduler module, if be more than or equal to the described first default thresholding for described bandwidth, no longer continues the described first node of scheduling.
7. CDN according to claim 6 control centre, is characterized in that, described acquisition module, specifically comprises:
Sending module, for sending bandwidth test instruction to described first node, to make described first node periodically test the occupied bandwidth of described first node current time;
Receiver module, for sending bandwidth test instruction to described first node at sending module, periodically receives the occupied bandwidth of described first node current time of described first node feedback.
8. CDN according to claim 6 control centre, is characterized in that, described the first scheduler module, specifically comprises:
First obtains submodule, for obtaining the node scheduling instruction of user's input;
The first scheduling sublayer module, if be less than the described first default thresholding for described bandwidth,, according to described node scheduling instruction, dispatches described first node, to make the node scheduling instruction of described first node response user input.
9. CDN according to claim 6 control centre, is characterized in that, described the second scheduler module, specifically comprises:
Second obtains submodule, for obtaining the node scheduling instruction of user's input;
The second scheduling sublayer module, if be more than or equal to the described first default thresholding for described bandwidth, according to described node scheduling instruction, scheduling Section Point, to make the node scheduling instruction of described Section Point response user input;
Wherein, the occupied bandwidth of described Section Point current time is less than the second default thresholding, the upper limit bandwidth that the described second default thresholding is described Section Point.
10. CDN according to claim 9 control centre, is characterized in that, described the second scheduling sublayer module, specifically comprises:
Search module, if be more than or equal to the described first default thresholding for described bandwidth, according to described node scheduling instruction, search the Section Point that current time bandwidth usage is minimum, described bandwidth usage is the ratio of the upper limit bandwidth of the occupied bandwidth of described Section Point current time and described Section Point;
Section Point scheduler module, for arriving after described Section Point in the described module searches of searching, scheduling Section Point, to make the node scheduling instruction of described Section Point response user input.
11. 1 kinds of CDN systems, is characterized in that, comprise the CDN control centre having as described in any one in claim 6-10, and for responding first node and the Section Point of node scheduling instruction of user input.
CN201310723559.2A 2013-12-24 2013-12-24 CDN bandwidth balancing method, CDN control center and system Pending CN103746934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310723559.2A CN103746934A (en) 2013-12-24 2013-12-24 CDN bandwidth balancing method, CDN control center and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310723559.2A CN103746934A (en) 2013-12-24 2013-12-24 CDN bandwidth balancing method, CDN control center and system

Publications (1)

Publication Number Publication Date
CN103746934A true CN103746934A (en) 2014-04-23

Family

ID=50503924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310723559.2A Pending CN103746934A (en) 2013-12-24 2013-12-24 CDN bandwidth balancing method, CDN control center and system

Country Status (1)

Country Link
CN (1) CN103746934A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038842A (en) * 2014-06-18 2014-09-10 百视通网络电视技术发展有限责任公司 Method and device for pre-fetching requested program information in CDN (Content Delivery Network) network
CN105978935A (en) * 2016-04-25 2016-09-28 乐视控股(北京)有限公司 Server scheduling method and server scheduling device
CN106464680A (en) * 2014-03-17 2017-02-22 爱立信股份有限公司 Bandwidth management in a content distribution network
CN106817356A (en) * 2015-12-01 2017-06-09 北京中投视讯文化传媒股份有限公司 A kind of method and device of video playback flow Real-Time Scheduling
CN107707378A (en) * 2017-06-29 2018-02-16 贵州白山云科技有限公司 A kind of CDN covering scheme generation methods and device
CN110493046A (en) * 2018-02-27 2019-11-22 贵州白山云科技股份有限公司 A kind of dispatching method and system of CDN network interior joint server bandwidth resource
CN111464323A (en) * 2019-01-18 2020-07-28 北京沃东天骏信息技术有限公司 Node bandwidth scheduling method and scheduling device
CN112187870A (en) * 2020-09-04 2021-01-05 网宿科技股份有限公司 Bandwidth smoothing method and device
CN112243025A (en) * 2020-09-22 2021-01-19 网宿科技股份有限公司 Node cost scheduling method, electronic device and storage medium
CN112269657A (en) * 2020-10-23 2021-01-26 苏州浪潮智能科技有限公司 Bandwidth balance control method and device for nodes in distributed storage system
WO2021017968A1 (en) * 2019-07-30 2021-02-04 贵州白山云科技股份有限公司 Method, apparatus and system for processing access request in content delivery system
CN113079045A (en) * 2021-03-26 2021-07-06 北京达佳互联信息技术有限公司 Bandwidth allocation method, device, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018318A (en) * 2007-02-25 2007-08-15 华为技术有限公司 A stream media system, signaling forward device and stream media transmission method
CN101197773A (en) * 2007-10-25 2008-06-11 华为技术有限公司 Packet compressed transmitting and received de-compression method and system based on multilink
CN101557499A (en) * 2008-04-09 2009-10-14 中兴通讯股份有限公司 System and method for delivering media and method for renewing resource of media delivering system
CN101582837A (en) * 2008-05-12 2009-11-18 华为技术有限公司 Service access control method, wireless access system and access control device
CN101989951A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method, system and equipment for selecting service node
CN103188278A (en) * 2011-12-27 2013-07-03 中国电信股份有限公司 Method and system for content data distribution

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018318A (en) * 2007-02-25 2007-08-15 华为技术有限公司 A stream media system, signaling forward device and stream media transmission method
CN101197773A (en) * 2007-10-25 2008-06-11 华为技术有限公司 Packet compressed transmitting and received de-compression method and system based on multilink
CN101557499A (en) * 2008-04-09 2009-10-14 中兴通讯股份有限公司 System and method for delivering media and method for renewing resource of media delivering system
CN101582837A (en) * 2008-05-12 2009-11-18 华为技术有限公司 Service access control method, wireless access system and access control device
CN101989951A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method, system and equipment for selecting service node
CN103188278A (en) * 2011-12-27 2013-07-03 中国电信股份有限公司 Method and system for content data distribution

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王春峰: "绝对区分服务控制机制研究", 《中国优秀博硕士学位论文全文数据库(博士)信息科技辑》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106464680A (en) * 2014-03-17 2017-02-22 爱立信股份有限公司 Bandwidth management in a content distribution network
CN106464680B (en) * 2014-03-17 2019-08-13 爱立信股份有限公司 Bandwidth Management in content distributing network
CN104038842A (en) * 2014-06-18 2014-09-10 百视通网络电视技术发展有限责任公司 Method and device for pre-fetching requested program information in CDN (Content Delivery Network) network
CN106817356A (en) * 2015-12-01 2017-06-09 北京中投视讯文化传媒股份有限公司 A kind of method and device of video playback flow Real-Time Scheduling
CN105978935A (en) * 2016-04-25 2016-09-28 乐视控股(北京)有限公司 Server scheduling method and server scheduling device
US11121939B2 (en) 2017-06-29 2021-09-14 Guizhou Baishancloud Technology Co., Ltd. Method and device for generating CDN coverage scheme, and computer-readable storage medium and computer device thereof
CN107707378A (en) * 2017-06-29 2018-02-16 贵州白山云科技有限公司 A kind of CDN covering scheme generation methods and device
CN110493046A (en) * 2018-02-27 2019-11-22 贵州白山云科技股份有限公司 A kind of dispatching method and system of CDN network interior joint server bandwidth resource
CN110493046B (en) * 2018-02-27 2022-08-16 贵州白山云科技股份有限公司 Scheduling method and system for node server bandwidth resources in CDN (content delivery network)
CN111464323A (en) * 2019-01-18 2020-07-28 北京沃东天骏信息技术有限公司 Node bandwidth scheduling method and scheduling device
US11606415B2 (en) 2019-07-30 2023-03-14 Guizhou Baishancloud Technology Co., Ltd. Method, apparatus and system for processing an access request in a content delivery system
WO2021017968A1 (en) * 2019-07-30 2021-02-04 贵州白山云科技股份有限公司 Method, apparatus and system for processing access request in content delivery system
CN112187870A (en) * 2020-09-04 2021-01-05 网宿科技股份有限公司 Bandwidth smoothing method and device
CN112243025A (en) * 2020-09-22 2021-01-19 网宿科技股份有限公司 Node cost scheduling method, electronic device and storage medium
CN112243025B (en) * 2020-09-22 2023-10-17 网宿科技股份有限公司 Node cost scheduling method, electronic equipment and storage medium
CN112269657A (en) * 2020-10-23 2021-01-26 苏州浪潮智能科技有限公司 Bandwidth balance control method and device for nodes in distributed storage system
CN112269657B (en) * 2020-10-23 2022-11-11 苏州浪潮智能科技有限公司 Bandwidth balance control method and device for nodes in distributed storage system
CN113079045A (en) * 2021-03-26 2021-07-06 北京达佳互联信息技术有限公司 Bandwidth allocation method, device, server and storage medium

Similar Documents

Publication Publication Date Title
CN103746934A (en) CDN bandwidth balancing method, CDN control center and system
CN107734052B (en) Load balancing container scheduling method facing component dependence
CN103747112A (en) CDN back-to-source method, first server and system thereof
CN103763343A (en) Method and device for processing service access
EP3293969A1 (en) Method of terminal-based conference load-balancing, and device and system utilizing same
CN107948004B (en) Video CDN (content delivery network) calling optimization method and device
CN105516347A (en) Method and device for load balance allocation of streaming media server
CN102970379A (en) Method for realizing load balance among multiple servers
CN103368986A (en) Information recommendation method and information recommendation device
US10002075B1 (en) Managing memory resources in a network environment in order to handle querying of logical data structures
CN104320492A (en) Method and device for dispatching web servers
CN107317764B (en) Traffic load balancing method, system, device and computer readable storage medium
CN102624884B (en) A kind of method, device and equipment for receiving P2P resource
CN104063501B (en) copy balance method based on HDFS
CN111562889B (en) Data processing method, device, system and storage medium
WO2014194704A1 (en) A grouping processing method and system
CN110928638A (en) Method and device for selecting host machine for virtual machine deployment
CN115277566B (en) Load balancing method and device for data access, computer equipment and medium
CN103747049A (en) CDN file distribution method, control center and system
CN102932271A (en) Method and device for realizing load balancing
CN103747043A (en) CDN server dispatching method, CDN control center and system
CN101505285A (en) Content distributing method, service delivery platform, service terminal and system
CN102622274B (en) Computer device and interrupt task allocation method thereof
CN114036031A (en) Scheduling system and method for resource service application in enterprise digital middleboxes
CN107172193A (en) A kind of load-balancing method and its device based on cluster

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160108

Address after: 100081 Beijing, Zhongguancun, South Street, No. 1, building 689, building 1153, No., No. 5

Applicant after: LETV CLOUD COMPUTING CO., LTD.

Address before: Room six, building 19, building 68, No. 100089 South Road, Haidian District, Beijing

Applicant before: LeTV Information Technology (Beijing) Co., Ltd.

AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20190215