CN103200033B - CDN and network integration system and the electoral machinery of primary, spare scheduling unit thereof - Google Patents
CDN and network integration system and the electoral machinery of primary, spare scheduling unit thereof Download PDFInfo
- Publication number
- CN103200033B CN103200033B CN201310092340.7A CN201310092340A CN103200033B CN 103200033 B CN103200033 B CN 103200033B CN 201310092340 A CN201310092340 A CN 201310092340A CN 103200033 B CN103200033 B CN 103200033B
- Authority
- CN
- China
- Prior art keywords
- scheduling unit
- primary
- cdn
- standby master
- service apparatus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
Abstract
The invention discloses CDN and the electoral machinery of primary, spare scheduling unit in network integration system, CDN and network integration system include multiple CDN service apparatus, this CDN service apparatus includes scheduler module and chosen module, the method includes: use the mode of multicast, in multiple scheduler modules that multiple CDN service apparatus are comprised, a selected primary scheduling unit, this primary scheduling unit is for carrying out United Dispatching to the access request of client-access application;A selected standby master scheduling unit, this standby master scheduling unit for when primary scheduling unit breaks down, is quickly taken over the access request that client-access applied by primary scheduling unit and is carried out United Dispatching.The invention also discloses a kind of CDN and network integration system.Use scheme disclosed in this invention, improve the stability of CDN and network integration system, so that quality of service can be protected.
Description
Technical field
The present invention relates to technical field of communication network, be related specifically to a kind of CDN and network integration system
And the electoral machinery of primary, spare scheduling unit.
Background technology
In current Internet industry chain, telecom operators provide network service, and ICP/ISP provides should
With service, the most completely isolated.Telecom operators cannot affect and control application service,
ICP/ISP then cannot perception and control network.And user is when using application service, impact is used
What family was experienced mainly has two big factors: application provides quality and network quality.Many times, use
The network bandwidth at family is enough, and network quality is also fine, but the performance of application system is not enough, it is impossible to
Customer satisfaction system service is provided;And fine in application system quality, high-quality clothes can be provided the user
During business, the network bandwidth of user is not enough, and network quality is poor, thus cannot ensure quality of service.
Visible, both are indispensable, and only both combine, and ensure simultaneously, could fundamentally
Ensure the business experience of user.Further, since present stage CDN system typically uses 1:1 active and standby
Mode carry out guaranteed reliability, this kind of mode can not effectively meet CDN and exist after the network integration
The reliability requirement of multiple CDN service apparatus.Accordingly, it would be desirable to a kind of new method promotes system
Reliability.
Summary of the invention
The main object of the present invention is for providing a kind of CDN and network integration system and primary, spare scheduling list thereof
The electoral machinery of unit, it is intended to improve the stability of CDN and network integration system such that it is able to promote
The experience of user.
The present invention provides a kind of CDN and the electoral machinery of primary, spare scheduling unit in network integration system,
Described CDN and network integration system include multiple CDN service apparatus, and this CDN service apparatus includes adjusting
Degree module and chosen module, the method includes:
Use the mode of multicast, in multiple scheduler modules that multiple described CDN service apparatus are comprised,
A selected primary scheduling unit, this primary scheduling unit is for the access to client-access application
Ask into
Row United Dispatching;
A selected standby master scheduling unit, this standby master scheduling unit is at described primary scheduling unit
When breaking down, take over the access request that client-access applied by described primary scheduling unit and enter
Row United Dispatching.
Preferably, the configuration of the multiple scheduler modules comprised by multiple described CDN service apparatus is preferred
Level, the equipment slots item of described CDN service apparatus, the MAC Address of described CDN service apparatus, institute
The home address of the IP address and described CDN service apparatus of stating CDN service apparatus is selected described primary
Scheduling unit and described standby master scheduling unit.
Preferably, after performing described selected primary scheduling unit and standby master scheduling unit, also wrap
Include:
Survival testing mechanism is set up between primary scheduling unit and standby master scheduling unit, and according to institute
State survival testing mechanism and detect whether the other side breaks down.
Preferably, described foundation survival detection machine between primary scheduling unit and standby master scheduling unit
System, and detect the other side according to described survival testing mechanism and whether break down and include:
In preset inaction interval, it is judged that received by primary scheduling unit and standby master scheduling unit
The quantity of survival detection messages whether be zero, the most then judge the other side's fault, and according to therefore
Barrier result processes accordingly;Described survival detection messages is primary scheduling unit and standby master
Scheduling unit is sent to the other side according to preset detection messages interval.
Preferably, described in preset inaction interval, it is judged that primary scheduling unit and standby master scheduling
Whether the quantity of the survival detection messages received by unit is zero, the most then judge the other side's event
Barrier, and process accordingly according to fail result and include:
As standby master scheduling unit receives the quantity of the survival detection messages that primary scheduling unit sends it is
Zero, then judge primary scheduling unit fault, trigger standby master scheduling unit and upgrade to primary scheduling
Unit;
As primary scheduling unit receives the quantity of the survival detection messages that standby master scheduling unit sends it is
Zero, then judge standby master scheduling cell failure, trigger and re-elect new standby master scheduling unit
。
The present invention also provides for a kind of CDN and network integration system, and described CDN includes with network integration system
Multiple CDN service apparatus, this CDN service apparatus includes scheduler module, and described CDN service apparatus is also
Including:
Chosen module, for using the mode of multicast, is comprised many at multiple described CDN service apparatus
In individual scheduler module, a selected primary scheduling unit, this primary scheduling unit is for client
Accessing should
Access request carry out United Dispatching;A selected standby master scheduling unit, this standby master scheduling
Unit, for when described primary scheduling unit breaks down, takes over described primary scheduling unit pair
The access request of client-access application carries out United Dispatching.
Preferably, the configuration of the multiple scheduler modules comprised by multiple described CDN service apparatus is preferred
Level, the equipment slots item of described CDN service apparatus, the MAC Address of described CDN service apparatus, institute
The home address of the IP address and described CDN service apparatus of stating CDN service apparatus is selected described primary
Scheduling unit and described standby master scheduling unit.
Preferably, described CDN service apparatus also includes:
Mechanism establishing and fault detection module, for primary scheduling unit and standby master scheduling unit it
Between set up survival testing mechanism, and according to described survival testing mechanism detect the other side whether occur therefore
Barrier.
Preferably, described Mechanism establishing and fault detection module include:
Judge submodule, in preset inaction interval, it is judged that primary scheduling unit and standby master
Whether the quantity of the survival detection messages received by scheduling unit is zero;Described survival detection report
Literary composition is that primary scheduling unit and standby master scheduling unit are spaced to the other side according to preset detection messages
Sent;
Process submodule, for when judging that primary scheduling unit and/or standby master scheduling unit break down
Time, process accordingly according to fail result.
Preferably, described process submodule specifically for:
As standby master scheduling unit receives the quantity of the survival detection messages that primary scheduling unit sends it is
Zero, then judge primary scheduling unit fault, trigger standby master scheduling unit and upgrade to primary scheduling
Unit;
As primary scheduling unit receives the quantity of the survival detection messages that standby master scheduling unit sends it is
Zero, then judge standby master scheduling cell failure, trigger and re-elect new standby master scheduling unit
。
The present invention is by the way of using multicast, at multiple scheduling moulds that multiple CDN service apparatus are comprised
In block, selected one for carrying out the primary of United Dispatching to the access request of client-access application
Scheduling unit, and one for when primary scheduling unit breaks down, and takes over primary scheduling single
Unit carries out the standby master scheduling unit of United Dispatching to the access request of client-access application.Logical
Cross selected primary scheduling unit and the business service module of multiple CDN service apparatus is unified association
Adjust, improve the stability of CDN and network integration system, so that quality of service can be protected
Barrier.
Accompanying drawing explanation
Fig. 1 is that CDN of the present invention is real with the electoral machinery one of primary, spare scheduling unit in network integration system
Execute the schematic flow sheet of example;
Fig. 2 be CDN of the present invention with the electoral machinery of primary, spare scheduling unit in network integration system another
The schematic flow sheet of embodiment;
Fig. 3 is CDN of the present invention and root in the electoral machinery of primary, spare scheduling unit in network integration system
Detect primary scheduling unit according to described survival testing mechanism and whether standby master scheduling unit event occurs
The schematic flow sheet of barrier;
Fig. 4 is CDN of the present invention and root in the electoral machinery of primary, spare scheduling unit in network integration system
The schematic flow sheet processed accordingly according to fail result;
Fig. 5 is the structural representation of CDN of the present invention and network integration system one embodiment;
Fig. 6 is the structural representation of CDN of the present invention and the network integration another embodiment of system;
Fig. 7 is that CDN of the present invention shows with the Mechanism establishing of network integration system and the structure of fault detection module
It is intended to.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings into one
Step explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to
Limit the present invention.
The present invention provides a kind of CDN and the electoral machinery of primary, spare scheduling unit in network integration system,
CDN function and network function are fused to CDN and network integration system, and melt with network at this CDN
Multiple CDN service apparatus of assembly system elect the access request for applying client-access
Carry out the primary scheduling unit of United Dispatching, and when primary scheduling unit breaks down, connect
For it, access request of client-access application is carried out the standby master scheduling unit of United Dispatching,
Realize the access request of user is scheduling by primary scheduling unit, in order to ensure CDN with
The reliability of network integration system.
It is CDN of the present invention and the election of primary, spare scheduling unit in network integration system with reference to Fig. 1, Fig. 1
The schematic flow sheet of method one embodiment.
The CDN that the present embodiment is provided and the electoral machinery of primary, spare scheduling unit in network integration system
, including:
Step S10, uses the mode of multicast, at multiple scheduling moulds that multiple CDN service apparatus are comprised
In block, a selected primary scheduling unit, this primary scheduling unit is for applying client-access
Access request carry out United Dispatching;
Step S20, a selected standby master scheduling unit, this standby master scheduling unit is in primary scheduling
When unit breaks down, take over the access request that client-access applied by primary scheduling unit and enter
Row United Dispatching.
In the present embodiment, by CDN(Content Delivery Network, content distributing network)
Function and network function are fused to CDN and network integration system, the content distribution nodes of CDN and
The network equipment merges, as an important component part of the network equipment.CDN melts with network
Assembly system is while providing the user network service, it is also possible to the application for user provides content
Distribution service;And safeguard corresponding user content by CDN with the CDN component of network integration system
Use state machine, by state machine and the linkage of network components, it is possible to achieve for specific user
, at special time period, for certain content, carry out the double shield of network and content.
Due to the self character of CDN Yu network integration system, the application service externally provided link, load
Scheduling, the process of business and the content distribution of equilibrium is processed by CDN service apparatus, each CDN industry
Business device is the most all equal relation.And system needs to use the right of unification from overall angle
Outer address of service, unification is scheduling;Therefore, at synchronization, can only be primary by one
The scheduling unit of CDN service apparatus provides external application link service and dispatch service, by user's
Access scheduling to the business service unit of different CDN service apparatus.For realizing by fixing tune
The access request of user is scheduling by degree module, uses the mode of multicast, in multiple CDN industry
Multiple scheduler modules that business device is comprised conduct an election, i.e. selectes a primary scheduling unit
, the access request of client-access application is carried out United Dispatching.Should when receiving user's access
Access request after, issue external address of service by primary scheduling unit is unified, and with visitor
Family end sets up application link, totally dispatches and load balancing, thus please by the access of user
Ask in the business service module being dispatched to corresponding CDN service apparatus.
After have selected primary scheduling unit, for preventing from affecting when this primary scheduling unit breaks down
To switch speed, in addition it is also necessary to a selected standby master scheduling unit, in order to when primary scheduling unit goes out
During existing fault, use standby master scheduling unit directly to take over primary scheduling unit, client is visited
Ask that the access request of application carries out United Dispatching, it is not necessary to wait and re-elect new primary scheduling list
Business is taken over again after unit.And other are not chosen as primary scheduling unit and standby master scheduling unit
Scheduler module then as back scheduling unit.
In the present embodiment, primary scheduling unit and standby master scheduling unit are selected, can be by many
The configuration priority of multiple scheduler modules that individual CDN service apparatus is comprised, CDN service apparatus
Equipment slots item, the MAC Address of CDN service apparatus, the IP address of CDN service apparatus and CDN industry
The home address of business device is selected.When implementing, can carry out by the way of multicast
, i.e. specify specific reserved multicast group address as primary tune at CDN with network integration internal system
Degree unit and the selected dedicated multicast group of standby master scheduling unit.
In the present embodiment, in CDN and network integration system, multiple CDN service apparatus and master control and
Between switch and between Network device and master control and switch, in being all deployed with
Portion's interface, for carrying out between CDN service apparatus or Network device and master control and switch
Management information, monitoring the aspect such as information and service deployment information mutual;And CDN service apparatus
Be deployed with corresponding internal agreement interface between Network device, for User Status, industry
Business management and monitoring, the passage etc. that flow forwards;Also in being deployed with between multiple CDN service apparatus
Portion's protocol interface, for service management, collaborative and monitoring, the visit of business and mutual etc..Therefore
, primary scheduling unit and standby master scheduling unit are by internal agreement interface and business service module
Communicate, the access request of user is dispatched to corresponding business service module, for business
The access request of user is processed by service module, and distributes corresponding content to client.
The embodiment of the present invention, by the way of using multicast, is comprised many at multiple CDN service apparatus
In individual scheduler module, selected one for unifying to adjust to the access request of client-access application
The primary scheduling unit of degree, and one for when primary scheduling unit breaks down, and takes over master
The access request applied client-access with scheduling unit carries out the standby master scheduling of United Dispatching
Unit.By selected primary scheduling unit, the business service module of multiple CDN service apparatus is entered
Row is uniformly coordinated, and improves the stability of CDN and network integration system, so that quality of service energy
Access guarantee.
It is CDN of the present invention and the election of primary, spare scheduling unit in network integration system with reference to Fig. 2, Fig. 2
The schematic flow sheet of another embodiment of method.
Based on above-described embodiment, after performing step S20, CDN of the present invention adjusts with network integration system
The method that degree user accesses also includes:
Step S30, sets up survival testing mechanism between primary scheduling unit and standby master scheduling unit,
And detect whether the other side breaks down according to described survival testing mechanism.
Have selected the access request for client-access is applied and carrying out the primary scheduling of United Dispatching
Single
Unit, and as standby standby master scheduling unit after, also need set up survival testing mechanism,
Between primary scheduling unit and standby master scheduling unit, i.e. set up survival testing mechanism, to carry out
Mutually detection, and judge whether the other side breaks down according to testing result.When detecting primary tune
When degree unit or standby master scheduling unit break down, trigger corresponding mechanism, and carry out corresponding
Process.
After have selected primary scheduling unit and standby master scheduling unit, existed by survival testing mechanism
Mutually detect between primary scheduling unit and standby master scheduling unit, it is judged that whether the other side event occurs
Barrier, in order to process accordingly when breaking down, thus further ensure CDN and network
The stability of emerging system.
It is CDN of the present invention and primary, spare scheduling unit in network integration system with reference to Fig. 3 and Fig. 4, Fig. 3
Electoral machinery in detect primary scheduling unit and standby master scheduling according to described survival testing mechanism
The schematic flow sheet whether unit breaks down;Fig. 4 is CDN of the present invention and in network integration system
The flow process processed accordingly according to fail result in the electoral machinery of primary, spare scheduling unit
Schematic diagram.
In the above-described embodiments, step S30 includes:
Step S31, in preset inaction interval, it is judged that primary scheduling unit and standby master scheduling unit
Whether the quantity of received survival detection messages is zero, the most then perform step S32;
Step S32, it is determined that the other side's fault, and process accordingly according to fail result.
For ease of primary scheduling unit and standby master scheduling unit are carried out fault detect, the inspection formulated
Survey mechanism is: primary scheduling unit and standby master scheduling unit are according to preset detection messages interval
, send survival detection messages to the other side, to show that oneself current state is properly functioning.
In preset inaction interval, it is judged that received by primary scheduling unit and standby master scheduling unit
The quantity of survival detection messages that sends of the other side whether be zero, the most then judge the other side's appearance
Fault, when wherein a side is broken down for the primary scheduling unit of judgement and standby master scheduling unit,
Process accordingly according to fail result further.In the present embodiment, preset inaction interval
Interior is the time maximum receiving survival detection messages set according to actual conditions, and its value is permissible
Two times or three times of detection messages interval.After the inaction interval preset through this, if primary tune
The survival detection messages quantity that degree unit or standby master scheduling unit receive is zero, then illustrate
In the range of this time, the running status of standby master scheduling unit or master scheduling unit is abnormal, because of
And the side broken down can be determined whether.
In the present embodiment, step S32 farther includes:
Step S321, as standby master scheduling unit receives the survival detection report that primary scheduling unit sends
Literary composition
Quantity be zero, then judge primary scheduling unit fault, trigger standby master scheduling unit and upgrade to
Primary scheduling unit;
Step S322, as primary scheduling unit receives the survival detection report that standby master scheduling unit sends
The quantity of literary composition is zero, then judge standby master scheduling cell failure, trigger re-elect new standby
Master scheduling unit.
Detect primary scheduling unit according to survival testing mechanism and whether standby master scheduling unit breaks down
Time, the survival detection messages that the primary scheduling unit as received by standby master scheduling unit sends
Quantity be zero, then can determine that primary scheduling unit breaks down, now, be switched fast
, i.e. trigger standby master scheduling unit and upgrade to primary scheduling unit, take over break down primary
Scheduling unit, continues the access request of client-access application is carried out United Dispatching;This enforcement
In example, when by testing mechanism, standby master scheduling unit detects that primary scheduling unit breaks down
Time, trigger and self upgrade to primary scheduling unit, trigger simultaneously and update device interior forward table,
So, the business of the primary scheduling unit after the application link request of user will be forwarded to switching
Access unit, sets up application link with this primary scheduling unit, and by the primary scheduling after switching
The access of user is scheduling and load balancing by unit.
As primary scheduling unit receives the quantity of the survival detection messages that standby master scheduling unit sends it is
Zero, then can determine that standby master scheduling unit breaks down, now, trigger new election mechanism,
I.e. in multiple scheduler modules that multiple CDN service apparatus of CDN Yu network integration system are comprised
, re-elect new standby master scheduling unit, for when primary scheduling unit breaks down
Take over it to complete the access of user to be scheduling and the work of load balancing.
After have selected primary scheduling unit and standby master scheduling unit, in preset inaction interval
, according to the number of the survival detection messages received by primary scheduling unit and standby master scheduling unit
Whether amount is zero to judge whether the other side breaks down, and is judging primary scheduling unit or standby master
After scheduling unit breaks down, process accordingly.Achieve in case of a fault, it is possible to
Quickly take over and switch, it is to avoid needing to re-elect new primary scheduling unit carries out business again
Switching, improves the speed of business switching, and ensure that stablizing of CDN and network integration system
Property.
The present invention also provides for a kind of CDN and network integration system.
With reference to the structural representation that Fig. 5, Fig. 5 are CDN of the present invention and network integration system one embodiment.
The CDN that the present embodiment is provided and network integration system, including multiple CDN service apparatus, this CD
N service apparatus includes that scheduler module, CDN service apparatus also include chosen module 10, and it is used for:
Use the mode of multicast, in multiple scheduler modules that multiple CDN service apparatus are comprised, selected
One primary scheduling unit, this primary scheduling unit is for the access request to client-access application
Carry out United Dispatching;A selected standby master scheduling unit, this standby master scheduling unit is for leading
When breaking down with scheduling unit, take over the access that client-access is applied by primary scheduling unit
Request carries out United Dispatching;
In the present embodiment, by CDN(Content Delivery Network, content distributing network)
Function and network function are fused to CDN and network integration system, the content distribution nodes of CDN and
The network equipment merges, as an important component part of the network equipment.CDN melts with network
Assembly system is while providing the user network service, it is also possible to the application for user provides content
Distribution service;And safeguard corresponding user content by CDN with the CDN component of network integration system
Use state machine, by state machine and the linkage of network components, it is possible to achieve for specific user
, at special time period, for certain content, carry out the double shield of network and content.
Due to the self character of CDN Yu network integration system, the application service externally provided link, load
Scheduling, the process of business and the content distribution of equilibrium is processed by CDN service apparatus, each CDN industry
Business device is the most all equal relation.And system needs to use the right of unification from overall angle
Outer address of service, unification is scheduling;Therefore, at synchronization, can only be primary by one
The scheduling unit of CDN service apparatus provides external application link service and dispatch service, by user's
Access scheduling to the business service unit of different CDN service apparatus.For realizing by fixing tune
The access request of user is scheduling by degree module, by chosen module 10, uses multicast
Mode, conducts an election in multiple scheduler modules that multiple CDN service apparatus are comprised, the most selected
One primary scheduling unit, carries out United Dispatching to the access request of client-access application.When
After receiving the access request that user accesses application, by unified external address of service, with visitor
Family end sets up application link, totally dispatches and load balancing, thus please by the access of user
Ask in the business service module being dispatched to corresponding CDN service apparatus.
After have selected primary scheduling unit, for preventing from affecting when this primary scheduling unit breaks down
To switch speed, chosen module 10 also needs to a selected standby master scheduling unit, in order to when primary
When scheduling unit breaks down, standby master scheduling unit is used directly to take over primary scheduling unit,
The access request of client-access application is carried out United Dispatching, it is not necessary to wait re-elects new
Business is taken over again after primary scheduling unit.And other are not chosen as primary scheduling unit and standby
The scheduler module of master scheduling unit is then as back scheduling unit.
In the present embodiment, standby to primary scheduling unit and standby master scheduling module by chosen module 10
Selecting of master scheduling unit, the multiple scheduler modules that can be comprised by multiple CDN service apparatus
Configuration
Priority, the equipment slots item of CDN service apparatus, the MAC Address of CDN service apparatus, CDN industry
The IP address of business device and the home address of CDN service apparatus are selected.When implementing, can
Carry out in the way of by multicast, i.e. specify specific reserved at CDN with network integration internal system
Multicast group address is as primary scheduling unit and the choosing of standby master scheduling module standby master scheduling unit
Fixed dedicated multicast group.
In the present embodiment, in CDN and network integration system, multiple CDN service apparatus and master control and
Between switch and between Network device and master control and switch, in being all deployed with
Portion's interface, for carrying out between CDN service apparatus or Network device and master control and switch
Management information, monitoring the aspect such as information and service deployment information mutual;And CDN service apparatus
Be deployed with corresponding internal agreement interface between Network device, for User Status, industry
Business management and monitoring, the passage etc. that flow forwards;Also in being deployed with between multiple CDN service apparatus
Portion's protocol interface, for service management, collaborative and monitoring, the visit of business and mutual etc..Therefore
, primary scheduling unit and standby master scheduling unit are by internal agreement interface and business service module
Communicate, the access request of user is dispatched to corresponding business service module, for business
The access request of user is processed by service module, and distributes corresponding content to client.
The embodiment of the present invention, by the way of using multicast, is comprised many at multiple CDN service apparatus
In individual scheduler module, selected one for unifying to adjust to the access request of client-access application
The primary scheduling unit of degree, and one for when primary scheduling unit breaks down, and takes over master
The access request applied client-access with scheduling unit carries out the standby master scheduling of United Dispatching
Unit.By selected primary scheduling unit, the business service module of multiple CDN service apparatus is entered
Row is uniformly coordinated, and improves the stability of CDN and network integration system, so that quality of service energy
Access guarantee.
With reference to the structural representation that Fig. 6, Fig. 6 are CDN of the present invention and the network integration another embodiment of system.
Based on above-described embodiment, CDN service apparatus also includes:
Mechanism establishing and fault detection module 20, at primary scheduling unit and standby master scheduling unit
Between set up survival testing mechanism, and according to survival testing mechanism detect whether the other side breaks down
。
Have selected the access request for client-access is applied and carrying out the primary scheduling of United Dispatching
Unit, and as standby standby master scheduling unit after, also need by Mechanism establishing and therefore
Barrier detection module 20 sets up survival testing mechanism, i.e. at primary scheduling unit and standby master scheduling list
Between unit set up survival testing mechanism, mutually to detect, and judge according to testing result right
Whether side breaks down.Work as inspection
Measure primary scheduling unit or time standby master scheduling unit breaks down, trigger corresponding mechanism,
And process accordingly.
After have selected primary scheduling unit and standby master scheduling unit, existed by survival testing mechanism
Mutually detect between primary scheduling unit and standby master scheduling unit, it is judged that whether the other side event occurs
Barrier, in order to process accordingly when breaking down, thus further ensure CDN and network
The stability of emerging system.
It is CDN of the present invention and the Mechanism establishing of network integration system and fault detection module with reference to Fig. 7, Fig. 7
Structural representation.
In the above-described embodiments, Mechanism establishing and fault detection module 20 include:
Judge submodule 21, in preset inaction interval, it is judged that primary scheduling unit and/or standby
Whether it is zero by the quantity of the survival detection messages received by master scheduling unit;
Process submodule 22, for when judging that primary scheduling unit and standby master scheduling unit break down
Time, process accordingly according to fail result.
For ease of primary scheduling unit and standby master scheduling unit are carried out fault detect, the inspection formulated
Survey mechanism is: primary scheduling unit and standby master scheduling unit are according to preset detection messages interval
, send survival detection messages to the other side, to show that oneself current state is properly functioning.?
In preset inaction interval, it is judged that submodule 21 judges primary scheduling unit and/or standby master scheduling
Whether the quantity of the survival detection messages that the other side received by unit sends is zero, the most then
Judge that the other side is broken down, when judging primary scheduling unit and a standby master scheduling unit wherein side
When breaking down, process submodule 22 and process accordingly according to fail result further.This
In embodiment, it is the reception survival detection report set according to actual conditions in preset inaction interval
The time maximum of literary composition, its value can be with two times or three times of detection messages interval.Pre-through this
After the inaction interval put, if the survival inspection that primary scheduling unit or standby master scheduling unit receive
Survey message amount be zero, then between illustrating at this moment in the range of, primary scheduling unit or standby homophony
The running status of degree unit is abnormal, thus can determine whether the side broken down.
In the present embodiment, process submodule 22 specifically for:
As standby master scheduling unit receives the quantity of the survival detection messages that primary scheduling unit sends it is
Zero, then judge primary scheduling unit fault, trigger standby master scheduling unit and upgrade to primary scheduling
Unit;
As primary scheduling unit receives the quantity of the survival detection messages that standby master scheduling unit sends it is
Zero, then judge standby master scheduling cell failure, trigger and re-elect new standby master scheduling unit
。
Detect primary scheduling unit according to survival testing mechanism and whether standby master scheduling unit breaks down
Time, the survival detection messages that the primary scheduling unit as received by standby master scheduling unit sends
Quantity be zero, then can determine that primary scheduling unit breaks down, now, by process submodule
Block 22 is switched fast, and i.e. triggers standby master scheduling unit and upgrades to primary scheduling unit, connects
For the primary scheduling unit broken down, continue the access request of client-access application is carried out
United Dispatching;In the present embodiment, when standby master scheduling unit detects primary by testing mechanism
When scheduling unit breaks down, trigger and self upgrade to primary scheduling unit, trigger renewal simultaneously
Device interior forward table, so, the application link request of user will be forwarded to the master after switching
With the service access unit of scheduling unit, set up application link with this primary scheduling unit, and by
The access of user is scheduling and load balancing by the primary scheduling unit after switching.
As primary scheduling unit receives the quantity of the survival detection messages that standby master scheduling unit sends it is
Zero, then can determine that standby master scheduling unit breaks down, now, touch by processing submodule 22
The election mechanism sending out new, i.e. multiple CDN service apparatus at CDN with network integration system are comprised
Multiple scheduler modules in, re-elect new standby master scheduling unit, for when primary tune
Degree unit is taken over it when breaking down and is completed to be scheduling the access of user and the work of load balancing
Make.
After have selected primary scheduling unit and standby master scheduling unit, in preset inaction interval
, according to the number of the survival detection messages received by primary scheduling unit and standby master scheduling unit
Whether amount is zero to judge whether the other side breaks down, and is judging primary scheduling unit or standby master
After scheduling unit breaks down, process accordingly.Achieve in case of a fault, it is possible to
Quickly take over and switch, it is to avoid needing to re-elect new primary scheduling unit carries out business again
Switching, improves the speed of business switching, and ensure that stablizing of CDN and network integration system
Property.
The foregoing is only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention
, every equivalent structure utilizing description of the invention and accompanying drawing content to be made or equivalence flow process conversion
, or directly or indirectly it is used in other relevant technical fields, the most in like manner it is included in the present invention's
Scope of patent protection.
Claims (8)
1. CDN and an electoral machinery for primary, spare scheduling unit, described CDN in network integration system
Include multiple CDN service apparatus with network integration system, this CDN service apparatus include scheduler module and
Chosen module, it is characterised in that the method includes:
Use the mode of multicast, enter in multiple scheduler modules that multiple described CDN service apparatus are comprised
Row election, a selected primary scheduling unit, this primary scheduling unit is for the visit to client-access application
The request of asking carries out United Dispatching;
A selected standby master scheduling unit, this standby master scheduling unit is for going out at described primary scheduling unit
During existing fault, take over described primary scheduling unit and unify the access request that client-access is applied to adjust
Degree;
Survival testing mechanism is set up between primary scheduling unit and standby master scheduling unit, and according to described
Survival testing mechanism detects whether the other side breaks down.
Method the most according to claim 1, it is characterised in that by multiple described CDN business
Multiple scheduler modules that device is comprised configuration priority, the equipment slots item of described CDN service apparatus,
The MAC Address of described CDN service apparatus, the IP address of described CDN service apparatus and described CDN
The home address of service apparatus selectes described primary scheduling unit and described standby master scheduling unit.
Method the most according to claim 2, it is characterised in that described at primary scheduling unit with standby
With setting up survival testing mechanism between master scheduling unit, and detect the other side according to described survival testing mechanism and be
No breaking down includes:
In preset inaction interval, it is judged that received by primary scheduling unit and standby master scheduling unit
Whether the quantity of survival detection messages is zero, the most then judge the other side's fault, and enter according to fail result
Row is corresponding to be processed;Described survival detection messages is that primary scheduling unit and standby master scheduling unit are according to pre-
The detection messages interval put is sent to the other side.
Method the most according to claim 3, it is characterised in that described in preset inaction interval,
Whether the quantity judging the survival detection messages received by primary scheduling unit and standby master scheduling unit is
Zero, the most then judge the other side's fault, and process accordingly according to fail result and include:
As standby master scheduling unit receives the quantity of the survival detection messages that primary scheduling unit sends it is
Zero, then judge primary scheduling unit fault, trigger standby master scheduling unit and upgrade to primary scheduling unit;
As primary scheduling unit receives the quantity of the survival detection messages that standby master scheduling unit sends it is
Zero, then judge standby master scheduling cell failure, trigger and re-elect new standby master scheduling unit.
5. CDN and a network integration system, described CDN and network integration system include multiple CDN
Service apparatus, this CDN service apparatus includes scheduler module, it is characterised in that described CDN business fills
Put and also include:
Chosen module, for using the mode of multicast, is comprised many at multiple described CDN service apparatus
Conducting an election in individual scheduler module, a selected primary scheduling unit, this primary scheduling unit is for client
End accesses the access request of application and carries out United Dispatching;A selected standby master scheduling unit, this standby homophony
Degree unit, for when described primary scheduling unit breaks down, takes over described primary scheduling unit to client
End accesses the access request of application and carries out United Dispatching;
Mechanism establishing and fault detection module, between primary scheduling unit and standby master scheduling unit
Set up survival testing mechanism, and detect whether the other side breaks down according to described survival testing mechanism.
CDN the most according to claim 5 and network integration system, it is characterised in that by many
The configuration priority of multiple scheduler modules that individual described CDN service apparatus is comprised, described CDN business
The equipment slots item of device, the MAC Address of described CDN service apparatus, described CDN service apparatus
IP address and the home address of described CDN service apparatus select described primary scheduling unit and described standby
Use master scheduling unit.
CDN the most according to claim 6 and network integration system, it is characterised in that described machine
System is set up and fault detection module includes:
Judge submodule, in preset inaction interval, it is judged that primary scheduling unit and standby homophony
Whether the quantity of degree survival detection messages received by unit is zero;Described survival detection messages is primary
Scheduling unit and standby master scheduling unit are sent to the other side according to preset detection messages interval;
Process submodule, be used for when judging that primary scheduling unit and/or standby master scheduling unit break down,
Process accordingly according to fail result.
CDN the most according to claim 7 and network integration system, it is characterised in that described place
Reason submodule specifically for:
As standby master scheduling unit receives the quantity of the survival detection messages that primary scheduling unit sends it is
Zero, then judge primary scheduling unit fault, trigger standby master scheduling unit and upgrade to primary scheduling unit;
As primary scheduling unit receives the quantity of the survival detection messages that standby master scheduling unit sends it is
Zero, then judge standby master scheduling cell failure, trigger and re-elect new standby master scheduling unit.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310092340.7A CN103200033B (en) | 2013-03-21 | 2013-03-21 | CDN and network integration system and the electoral machinery of primary, spare scheduling unit thereof |
PCT/CN2014/072941 WO2014146541A1 (en) | 2013-03-21 | 2014-03-05 | Cdn and network convergence system, scheduling module selection method and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310092340.7A CN103200033B (en) | 2013-03-21 | 2013-03-21 | CDN and network integration system and the electoral machinery of primary, spare scheduling unit thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103200033A CN103200033A (en) | 2013-07-10 |
CN103200033B true CN103200033B (en) | 2016-09-07 |
Family
ID=48722399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310092340.7A Active CN103200033B (en) | 2013-03-21 | 2013-03-21 | CDN and network integration system and the electoral machinery of primary, spare scheduling unit thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103200033B (en) |
WO (1) | WO2014146541A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103200033B (en) * | 2013-03-21 | 2016-09-07 | 中兴通讯股份有限公司 | CDN and network integration system and the electoral machinery of primary, spare scheduling unit thereof |
CN103647710A (en) * | 2013-11-01 | 2014-03-19 | 华为技术有限公司 | Path configuration method and device |
CN105872614A (en) * | 2016-04-12 | 2016-08-17 | 乐视控股(北京)有限公司 | Live stream switching method and device |
CN107360025B (en) * | 2017-07-07 | 2020-11-10 | 郑州云海信息技术有限公司 | Distributed storage system cluster monitoring method and device |
CN107809480A (en) * | 2017-10-25 | 2018-03-16 | 上海瀚银信息技术有限公司 | One kind transaction commutation system |
CN110138808B (en) * | 2019-06-27 | 2021-04-13 | 苏宁消费金融有限公司 | Anti-hijack downloading method and system based on CDN |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100589452C (en) * | 2007-09-04 | 2010-02-10 | 中兴通讯股份有限公司 | Switch processing method of stream media node controller |
CN101547334B (en) * | 2009-04-30 | 2011-02-02 | 杭州华三通信技术有限公司 | Method for guaranteeing master MCU to possess standby MCU, and video frequency conference system |
CN101640688B (en) * | 2009-08-20 | 2014-03-12 | 中兴通讯股份有限公司 | Content delivery network (CDN)-based switching method for main node controller and spare controller and CDN |
CN103117876B (en) * | 2013-01-24 | 2018-10-26 | 中兴通讯股份有限公司 | The synchronous method and device of user state information |
CN103200033B (en) * | 2013-03-21 | 2016-09-07 | 中兴通讯股份有限公司 | CDN and network integration system and the electoral machinery of primary, spare scheduling unit thereof |
-
2013
- 2013-03-21 CN CN201310092340.7A patent/CN103200033B/en active Active
-
2014
- 2014-03-05 WO PCT/CN2014/072941 patent/WO2014146541A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2014146541A1 (en) | 2014-09-25 |
CN103200033A (en) | 2013-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103200033B (en) | CDN and network integration system and the electoral machinery of primary, spare scheduling unit thereof | |
CN106570074B (en) | Distributed database system and implementation method thereof | |
CN108965123B (en) | Link switching method and network communication system | |
CN102197627B (en) | The improvement of flux of multicast convergence | |
CN109308223A (en) | A kind of response method and equipment of service request | |
CN104168193B (en) | A kind of method and routing device of Virtual Router Redundancy Protocol fault detect | |
KR101408037B1 (en) | Virtual Machine Integration Monitoring Apparatus and method for Cloud system | |
US8880703B2 (en) | Address distribution method, device and system thereof | |
CN110855633A (en) | Method, device and system for protecting distributed denial of service (DDOS) attack | |
CN103117876B (en) | The synchronous method and device of user state information | |
CN101483558A (en) | Method, system and apparatus for packet switching network access by network appliance | |
US8976681B2 (en) | Network system, network management server, and OAM test method | |
US20220052923A1 (en) | Data processing method and device, storage medium and electronic device | |
US20130182559A1 (en) | Transmission network and transmission network management system | |
CN104270291A (en) | Content delivery network (CDN) quality monitoring method | |
WO2009097300A2 (en) | Bandwidth-aware multicast load balancing on a multi-interface host | |
CN108306777A (en) | Virtual gateway main/standby switching method and device based on SDN controllers | |
CN101547082A (en) | Active/standby link switching method and network device | |
CN106789445B (en) | Status polling method and system for network equipment in broadcast television network | |
CN101854647A (en) | Method for remotely monitoring and managing mobile agent server (MAS) through short message interface | |
CN109428780A (en) | A kind of dispatching method of flow monitoring, device, server and storage medium | |
CN112671813B (en) | Server determination method, device, equipment and storage medium | |
CN112583734A (en) | Burst flow control method and device, electronic equipment and storage medium | |
CN101340339A (en) | Wideband access server cluster system and apparatus | |
CN108989130B (en) | Network fault reporting method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |