CN103200033A - Content delivery network (CDN) and network convergence system and selection method of mainly-used scheduling unit and standby scheduling unit thereof - Google Patents

Content delivery network (CDN) and network convergence system and selection method of mainly-used scheduling unit and standby scheduling unit thereof Download PDF

Info

Publication number
CN103200033A
CN103200033A CN2013100923407A CN201310092340A CN103200033A CN 103200033 A CN103200033 A CN 103200033A CN 2013100923407 A CN2013100923407 A CN 2013100923407A CN 201310092340 A CN201310092340 A CN 201310092340A CN 103200033 A CN103200033 A CN 103200033A
Authority
CN
China
Prior art keywords
scheduling unit
master
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.)
Granted
Application number
CN2013100923407A
Other languages
Chinese (zh)
Other versions
CN103200033B (en
Inventor
黄孙亮
陈建业
吴萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201310092340.7A priority Critical patent/CN103200033B/en
Publication of CN103200033A publication Critical patent/CN103200033A/en
Priority to PCT/CN2014/072941 priority patent/WO2014146541A1/en
Application granted granted Critical
Publication of CN103200033B publication Critical patent/CN103200033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a selection method of a mainly-used scheduling unit and a standby scheduling unit in a content delivery network (CDN) and network convergence system. The CDN and network convergence system comprises a plurality of CDN service devices, and each CDN service device comprises a scheduling module and a selection module. The method includes the steps: selecting the mainly-used scheduling unit from a plurality of scheduling modules contained in the plurality of CDN service devices in a multicast mode, wherein the mainly-used scheduling unit is used for conducting unified scheduling on access requests of a client side accessing applications; and selecting the standby scheduling unit, wherein the standby scheduling unit is used for rapidly replacing the mainly-used scheduling unit to conduct the unified scheduling on the access requests of the client side accessing the applications when the mainly-used scheduling unit breaks down. The invention further discloses the CDN and network convergence system. Through adoption of the scheme, stability of the CDN and network convergence system is improved, and accordingly the service quality can be ensured.

Description

The electoral machinery of CDN and network integration system and primary, spare scheduling unit thereof
Technical field
The present invention relates to the communication network technology field, specially refer to the electoral machinery of a kind of CDN and network integration system and primary, spare scheduling unit thereof.
Background technology
In current Internet industry chain, telecom operators provide services on the Internet, and ICP/ISP provides application service, isolate fully between the two.Telecom operators can't influence and control application service, and ICP/ISP then can't perception and control network.And the user influences the two big factors that mainly contain that the user experiences when using application service: using provides quality and network quality.Many times, user's the network bandwidth is enough, and network quality is also fine, but the performance deficiency of application system can't provide customer satisfaction system service; And fine in the application system quality, when can be the user and offering high-quality service, user's network bandwidth deficiency, network quality is poor, thereby can't guarantee quality of service.As seen, both are indispensable, have only both combinations, ensure simultaneously, could fundamentally ensure user's business experience.In addition, because present stage CDN system generally adopts the active and standby mode of 1:1 to carry out the reliability guarantee, this kind mode can not effectively satisfy the reliability requirement that has a plurality of CDN service apparatus after CDN and the network integration.Therefore, need a kind of new method to come the reliability of elevator system.
Summary of the invention
Main purpose of the present invention is intended to improve the stability of CDN and network integration system for the electoral machinery of a kind of CDN and network integration system and primary, spare scheduling unit thereof is provided, thereby can promote user's experience.
The invention provides the electoral machinery of primary, spare scheduling unit in a kind of CDN and the network integration system, described CDN and network integration system comprise a plurality of CDN service apparatus, and this CDN service apparatus comprises scheduler module and chosen module, and this method comprises:
Adopt multicast mode, in a plurality of scheduler modules that a plurality of described CDN service apparatus comprise, the selected one main scheduling unit of using, this master is used for the access request that client-access is used is unified scheduling with scheduling unit;
A selected standby master scheduling unit, this standby master scheduling unit are used for when described master is broken down with scheduling unit, take over described master and with scheduling unit the access request of client-access application are unified scheduling.
Preferably, the home address of the IP address of the configuration priority of a plurality of scheduler modules that comprise by a plurality of described CDN service apparatus, the equipment slots item of described CDN service apparatus, the MAC Address of described CDN service apparatus, described CDN service apparatus and described CDN service apparatus is selected described main with scheduling unit and described standby master scheduling unit.
Preferably, after the described selected master of execution is with scheduling unit and standby master scheduling unit, also comprise:
Set up the survival testing mechanism between scheduling unit and the standby master scheduling unit main using, and whether break down according to described survival testing mechanism detection the other side.
Preferably, describedly set up the survival testing mechanism main with between scheduling unit and the standby master scheduling unit, and whether break down according to described survival testing mechanism detection the other side and to comprise:
In the inaction interval that presets, judge whether main quantity with the received survival detection messages in scheduling unit and standby master scheduling unit is zero, if then judge the other side's fault, and handle accordingly according to fail result; Described survival detection messages is sent to the other side according to the detection messages that presets with scheduling unit and standby master scheduling unit at interval by the master.
Preferably, described in the inaction interval that presets, judge whether main quantity with the received survival detection messages in scheduling unit and standby master scheduling unit is zero, if then judge the other side's fault, and handle accordingly according to fail result and to comprise:
The quantity that receives the main survival detection messages that sends with scheduling unit as standby master scheduling unit is zero, then judges mainly use the scheduling unit fault, triggers standby master scheduling unit and upgrades to the master and use scheduling unit;
Be zero as the main quantity that receives the survival detection messages that standby master scheduling unit sends with scheduling unit, then judge standby master scheduling cell failure, trigger and re-elect new standby master scheduling unit.
The present invention also provides a kind of CDN and network integration system, and described CDN and network integration system comprise a plurality of CDN service apparatus, and this CDN service apparatus comprises scheduler module, and described CDN service apparatus also comprises:
Chosen module is used for adopting multicast mode, in a plurality of scheduler modules that a plurality of described CDN service apparatus comprise, and the selected one main scheduling unit of using, this master is used for the access request that client-access is used is unified scheduling with scheduling unit; A selected standby master scheduling unit, this standby master scheduling unit are used for when described master is broken down with scheduling unit, take over described master and with scheduling unit the access request of client-access application are unified scheduling.
Preferably, the home address of the IP address of the configuration priority of a plurality of scheduler modules that comprise by a plurality of described CDN service apparatus, the equipment slots item of described CDN service apparatus, the MAC Address of described CDN service apparatus, described CDN service apparatus and described CDN service apparatus is selected described main with scheduling unit and described standby master scheduling unit.
Preferably, described CDN service apparatus also comprises:
Whether mechanism is set up and fault detection module, sets up the survival testing mechanism between scheduling unit and the standby master scheduling unit for using the master, and break down according to described survival testing mechanism detection the other side.
Preferably, described mechanism foundation and fault detection module comprise:
Judge submodule, be used in the inaction interval that presets, judge whether main quantity with the received survival detection messages in scheduling unit and standby master scheduling unit is zero; Described survival detection messages is sent to the other side according to the detection messages that presets with scheduling unit and standby master scheduling unit at interval by the master;
Processing sub is used for handling accordingly according to fail result when judging that the master is broken down with scheduling unit and/or standby master scheduling unit.
Preferably, described processing sub specifically is used for:
The quantity that receives the main survival detection messages that sends with scheduling unit as standby master scheduling unit is zero, then judges mainly use the scheduling unit fault, triggers standby master scheduling unit and upgrades to the master and use scheduling unit;
Be zero as the main quantity that receives the survival detection messages that standby master scheduling unit sends with scheduling unit, then judge standby master scheduling cell failure, trigger and re-elect new standby master scheduling unit.
The present invention is by adopting multicast mode, in a plurality of scheduler modules that a plurality of CDN service apparatus comprise, selected one is used for the master that the access request that client-access is used is unified to dispatch is used scheduling unit, and one be used for when breaking down with scheduling unit, taking over the standby master scheduling unit that the main access request of client-access being used with scheduling unit is unified to dispatch main.The business service module of a plurality of CDN service apparatus is unified to coordinate with scheduling unit by selected master, improved the stability of CDN and network integration system, thereby quality of service can be protected.
Description of drawings
Fig. 1 is the schematic flow sheet of electoral machinery one embodiment of primary, spare scheduling unit in CDN of the present invention and the network integration system;
Fig. 2 is the schematic flow sheet of another embodiment of electoral machinery of primary, spare scheduling unit in CDN of the present invention and the network integration system;
Fig. 3 is for detecting the main schematic flow sheet that whether breaks down with scheduling unit and standby master scheduling unit according to described survival testing mechanism in the electoral machinery of primary, spare scheduling unit in CDN of the present invention and the network integration system;
The schematic flow sheet of Fig. 4 for handling accordingly according to fail result in the electoral machinery of primary, spare scheduling unit in CDN of the present invention and the network integration system;
Fig. 5 is the structural representation of CDN of the present invention and one embodiment of network integration system;
Fig. 6 is the structural representation of CDN of the present invention and another embodiment of network integration system;
Fig. 7 is the mechanism foundation of CDN of the present invention and network integration system and the structural representation of fault detection module.
The realization of the object of the invention, functional characteristics and advantage will be in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explaining the present invention, and be not used in restriction the present invention.
The invention provides in a kind of CDN and the network integration system main, the electoral machinery of back scheduling unit, CDN function and network function are fused to CDN and network integration system, and in a plurality of CDN service apparatus of this CDN and network integration system, elect for the main scheduling unit of using that the access request of client-access application is unified to dispatch, and when the master is broken down with scheduling unit, take over the standby master scheduling unit that its access request that client-access is used is unified to dispatch, realize user's access request is dispatched with scheduling unit by main, so that guarantee the reliability of CDN and network integration system.
With reference to Fig. 1, Fig. 1 is the schematic flow sheet of electoral machinery one embodiment of primary, spare scheduling unit in CDN of the present invention and the network integration system.
The electoral machinery of primary, spare scheduling unit in the CDN that present embodiment provides and the network integration system comprises:
Step S10 adopts multicast mode, in a plurality of scheduler modules that a plurality of CDN service apparatus comprise, and the selected one main scheduling unit of using, this master is used for the access request that client-access is used is unified scheduling with scheduling unit;
Step S20, a selected standby master scheduling unit, this standby master scheduling unit are used for when the master is broken down with scheduling unit, take over the main access request of client-access being used with scheduling unit and unify scheduling.
In the present embodiment, with 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 are merged, as an important component part of the network equipment.CDN and network integration system also can provide content distribution service for user's application when providing services on the Internet for the user; And by the corresponding user content use of the CDN component maintenance of CDN and network integration system state machine, by the interlock of state machine and network components, can realize at the specific user, at special time period, at certain content, carry out the double shield of network and content.
Because the self character of CDN and network integration system, the application service link that externally provides, the scheduling of load balancing, professional processing and content distribution are handled by the CDN service apparatus, and each CDN service apparatus initially all is equal relations.And system need adopt unified external address of service from the angle of integral body, the unified scheduling; Therefore, at synchronization, can only provide external application link service and dispatch service by the scheduling unit of the CDN service apparatus of a main usefulness, with the user access scheduling to the business service unit of different CDN service apparatus.For realizing coming user's access request is dispatched by fixing scheduler module, adopt multicast mode, conduct an election in a plurality of scheduler modules that a plurality of CDN service apparatus comprise, namely selected master uses scheduling unit, and the access request that client-access is used is unified scheduling.After the access request that receives user's access application, issue external address of service by main with the scheduling unit unification, and set up application link with client, totally dispatch and load balancing, thereby user's access request is dispatched in the business service module of corresponding CDN service apparatus.
When selected main with scheduling unit after, for preventing when this master is broken down with scheduling unit, having influence on switch speed, also need a selected standby master scheduling unit, when breaking down with scheduling unit with the box lunch master, adopt standby master scheduling unit directly to take over the main scheduling unit of using, the access request that client-access is used is unified scheduling, need not to wait for that re-electing new master takes over business after with scheduling unit again.Other are not chosen as the main scheduler module of scheduling unit and standby master scheduling unit of using then as the back scheduling unit.
In the present embodiment, to main selected with scheduling unit and standby master scheduling unit, configuration priority, the equipment slots item of CDN service apparatus, the MAC Address of CDN service apparatus, the IP address of CDN service apparatus and the home address of CDN service apparatus of a plurality of scheduler modules that can comprise by a plurality of CDN service apparatus are selected.During specific implementation, can be undertaken by multicast mode, namely specify the specific multicast group address of reserving as main selected dedicated multicast group with scheduling unit and standby master scheduling unit at CDN and network integration internal system.
In the present embodiment, in CDN and network integration system, between a plurality of CDN service apparatus and master control and the switch and between Network device and master control and the switch, all be deployed with internal interface, be used for managing between CDN service apparatus or Network device and master control and the switch information interaction of aspects such as information, monitor message and service deployment; And be deployed with corresponding internal agreement interface between CDN service apparatus and the Network device, be used for User Status, service management and monitoring, the passage that flow is transmitted etc.; Also be deployed with the internal agreement interface between a plurality of CDN service apparatus, be used for service management, collaborative and monitoring, professional visit and mutual etc.Therefore, the master communicates by internal agreement interface and business service module with scheduling unit and standby master scheduling unit, user's access request is dispatched to corresponding business service module, for the business service module user's access request is handled, and distributed corresponding content to client.
The embodiment of the invention, by adopting multicast mode, in a plurality of scheduler modules that a plurality of CDN service apparatus comprise, selected one is used for the master that the access request that client-access is used is unified to dispatch is used scheduling unit, and one be used for when breaking down with scheduling unit, taking over the standby master scheduling unit that the main access request of client-access being used with scheduling unit is unified to dispatch main.The business service module of a plurality of CDN service apparatus is unified to coordinate with scheduling unit by selected master, improved the stability of CDN and network integration system, thereby quality of service can be protected.
With reference to Fig. 2, Fig. 2 is the schematic flow sheet of another embodiment of electoral machinery of primary, spare scheduling unit in CDN of the present invention and the network integration system.
Based on above-described embodiment, after execution in step S20, the method for CDN of the present invention and network integration system call user visit also comprises:
Whether step S30 sets up the survival testing mechanism main using between scheduling unit and the standby master scheduling unit, and break down according to described survival testing mechanism detection the other side.
Selecting the main scheduling unit of unifying to dispatch for the access request that client-access is used of using, and as after the standby standby master scheduling unit, also need set up the survival testing mechanism, namely set up the survival testing mechanism between scheduling unit and the standby master scheduling unit main using, detecting mutually, and judge according to testing result whether the other side breaks down.Main when breaking down with scheduling unit or standby master scheduling unit when detecting, trigger corresponding mechanism, and handle accordingly.
After having selected main usefulness scheduling unit and standby master scheduling unit, detect mutually main using between scheduling unit and the standby master scheduling unit by the survival testing mechanism, judge whether the other side breaks down, in order to when breaking down, handle accordingly, thereby further guaranteed the stability of CDN and network integration system.
With reference to Fig. 3 and Fig. 4, Fig. 3 is for detecting the main schematic flow sheet that whether breaks down with scheduling unit and standby master scheduling unit according to described survival testing mechanism in the electoral machinery of primary, spare scheduling unit in CDN of the present invention and the network integration system; The schematic flow sheet of Fig. 4 for handling accordingly according to fail result in the electoral machinery of primary, spare scheduling unit in CDN of the present invention and the network integration system.
In the above-described embodiments, step S30 comprises:
Step S31 in the inaction interval that presets, judges whether main quantity with the received survival detection messages in scheduling unit and standby master scheduling unit is zero, if, execution in step S32 then;
Step S32 judges the other side's fault, and handles accordingly according to fail result.
For ease of carrying out fault detect to main with scheduling unit and standby master scheduling unit, the testing mechanism of formulating is: the main detection messages that presets with scheduling unit and standby master scheduling unit basis at interval, sending the survival detection messages to the other side, serves as normal operation to show own current state.
In the inaction interval that presets, whether the judgement master is zero with the quantity of the survival detection messages that scheduling unit and the received the other side in standby master scheduling unit send, if, judge that then the other side breaks down, main when wherein a side is broken down with scheduling unit and standby master scheduling unit when judging, further handle accordingly according to fail result.In the present embodiment, be the time maximum of the reception survival detection messages set according to actual conditions in the inaction interval that presets, its value can detection messages at interval two times or three times.Behind this inaction interval that presets of process, if the main survival detection messages quantity that receives with scheduling unit or standby master scheduling unit is zero, then between explanation at this moment in the scope, the running status of standby master scheduling unit or master scheduling unit is undesired, thereby can further judge a side of breaking down.
In the present embodiment, step S32 further comprises:
Step S321, the quantity that receives the main survival detection messages that sends with scheduling unit as standby master scheduling unit is zero, then judges mainly use the scheduling unit fault, triggers standby master scheduling unit and upgrades to the master and use scheduling unit;
Step S322 is zero as the master with the quantity that scheduling unit receives the survival detection messages of standby master scheduling unit transmission, then judges standby master scheduling cell failure, triggers and re-elects new standby master scheduling unit.
When whether breaking down with scheduling unit and standby master scheduling unit according to the detection of survival testing mechanism is main, the quantity of the survival detection messages that sends with scheduling unit as the received master in standby master scheduling unit is zero, then can judge to lead and break down with scheduling unit, at this moment, switch fast, namely trigger standby master scheduling unit and upgrade to and main use scheduling unit, take over the main scheduling unit of use that breaks down, continue the access request of client-access application is unified to dispatch; In the present embodiment, when standby master scheduling unit detects main when breaking down with scheduling unit by testing mechanism, trigger and self upgrade to the main scheduling unit of using, triggering the inside of updating the equipment simultaneously transmits, like this, user's application link request just can be forwarded to the main service access unit with scheduling unit after the switching, sets up application link with this master with scheduling unit, and user's visit is dispatched and load balancing with scheduling unit by the master after switching.
Be zero as the main quantity that receives the survival detection messages that standby master scheduling unit sends with scheduling unit, can judge that then standby master scheduling unit breaks down, at this moment, trigger new election mechanism, namely in a plurality of scheduler modules that a plurality of CDN service apparatus of CDN and network integration system comprise, re-elect new standby master scheduling unit, take over it when breaking down with scheduling unit and finish work with load balancing is dispatched in user's visit when leading being used for.
After having selected main usefulness scheduling unit and standby master scheduling unit, in the inaction interval that presets, whether be zeroly to judge whether the other side breaks down according to main quantity with the received survival detection messages in scheduling unit and standby master scheduling unit, and after judging that the master is broken down with scheduling unit or standby master scheduling unit, handle accordingly.Realized under failure condition, can taking over fast and switch, avoided to re-elect new master and carried out the business switching again with scheduling unit, improved the speed of professional switching, and guaranteed the stability of CDN and network integration system.
The present invention also provides a kind of CDN and network integration system.
With reference to Fig. 5, Fig. 5 is the structural representation of CDN of the present invention and one embodiment of network integration system.
The CDN that present embodiment provides and network integration system comprise a plurality of CDN service apparatus, and this CDN service apparatus comprises scheduler module, and the CDN service apparatus also comprises chosen module 10, and it is used for:
Adopt multicast mode, in a plurality of scheduler modules that a plurality of CDN service apparatus comprise, the selected one main scheduling unit of using, this master is used for the access request that client-access is used is unified scheduling with scheduling unit; A selected standby master scheduling unit, this standby master scheduling unit are used for when the master is broken down with scheduling unit, take over the main access request of client-access being used with scheduling unit and unify scheduling;
In the present embodiment, with 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 are merged, as an important component part of the network equipment.CDN and network integration system also can provide content distribution service for user's application when providing services on the Internet for the user; And by the corresponding user content use of the CDN component maintenance of CDN and network integration system state machine, by the interlock of state machine and network components, can realize at the specific user, at special time period, at certain content, carry out the double shield of network and content.
Because the self character of CDN and network integration system, the application service link that externally provides, the scheduling of load balancing, professional processing and content distribution are handled by the CDN service apparatus, and each CDN service apparatus initially all is equal relations.And system need adopt unified external address of service from the angle of integral body, the unified scheduling; Therefore, at synchronization, can only provide external application link service and dispatch service by the scheduling unit of the CDN service apparatus of a main usefulness, with the user access scheduling to the business service unit of different CDN service apparatus.For realizing coming user's access request is dispatched by fixing scheduler module, by chosen module 10, adopt multicast mode, in a plurality of scheduler modules that a plurality of CDN service apparatus comprise, conduct an election, namely selected master uses scheduling unit, and the access request that client-access is used is unified scheduling.After the access request that receives user's access application, by unified external address of service, set up application link with client, totally dispatch and load balancing, thereby user's access request is dispatched in the business service module of corresponding CDN service apparatus.
When selected main with scheduling unit after, for preventing when this master is broken down with scheduling unit, having influence on switch speed, chosen module 10 also needs a selected standby master scheduling unit, when breaking down with scheduling unit with the box lunch master, adopt standby master scheduling unit directly to take over the main scheduling unit of using, the access request that client-access is used is unified scheduling, need not to wait for that re-electing new master takes over business after with scheduling unit again.Other are not chosen as the main scheduler module of scheduling unit and standby master scheduling unit of using then as the back scheduling unit.
In the present embodiment, by main selected with scheduling units and the standby master scheduling of standby master scheduling module unit of 10 pairs of chosen module, configuration priority, the equipment slots item of CDN service apparatus, the MAC Address of CDN service apparatus, the IP address of CDN service apparatus and the home address of CDN service apparatus of a plurality of scheduler modules that can comprise by a plurality of CDN service apparatus are selected.During specific implementation, can be undertaken by multicast mode, namely specify the specific multicast group address of reserving as main selected dedicated multicast group with scheduling unit and the standby master scheduling of standby master scheduling module unit at CDN and network integration internal system.
In the present embodiment, in CDN and network integration system, between a plurality of CDN service apparatus and master control and the switch and between Network device and master control and the switch, all be deployed with internal interface, be used for managing between CDN service apparatus or Network device and master control and the switch information interaction of aspects such as information, monitor message and service deployment; And be deployed with corresponding internal agreement interface between CDN service apparatus and the Network device, be used for User Status, service management and monitoring, the passage that flow is transmitted etc.; Also be deployed with the internal agreement interface between a plurality of CDN service apparatus, be used for service management, collaborative and monitoring, professional visit and mutual etc.Therefore, the master communicates by internal agreement interface and business service module with scheduling unit and standby master scheduling unit, user's access request is dispatched to corresponding business service module, for the business service module user's access request is handled, and distributed corresponding content to client.
The embodiment of the invention, by adopting multicast mode, in a plurality of scheduler modules that a plurality of CDN service apparatus comprise, selected one is used for the master that the access request that client-access is used is unified to dispatch is used scheduling unit, and one be used for when breaking down with scheduling unit, taking over the standby master scheduling unit that the main access request of client-access being used with scheduling unit is unified to dispatch main.The business service module of a plurality of CDN service apparatus is unified to coordinate with scheduling unit by selected master, improved the stability of CDN and network integration system, thereby quality of service can be protected.
With reference to Fig. 6, Fig. 6 is the structural representation of CDN of the present invention and another embodiment of network integration system.
Based on above-described embodiment, the CDN service apparatus also comprises:
Whether mechanism is set up and fault detection module 20, is used for setting up between the master is with scheduling unit and standby master scheduling unit the survival testing mechanism, and break down according to survival testing mechanism detection the other side.
Selecting the main scheduling unit of unifying to dispatch for the access request that client-access is used of using, and as after the standby standby master scheduling unit, also need set up and fault detection module 20 foundation survival testing mechanisms by mechanism, namely set up the survival testing mechanism between scheduling unit and the standby master scheduling unit main using, detecting mutually, and judge according to testing result whether the other side breaks down.Main when breaking down with scheduling unit or standby master scheduling unit when detecting, trigger corresponding mechanism, and handle accordingly.
After having selected main usefulness scheduling unit and standby master scheduling unit, detect mutually main using between scheduling unit and the standby master scheduling unit by the survival testing mechanism, judge whether the other side breaks down, in order to when breaking down, handle accordingly, thereby further guaranteed the stability of CDN and network integration system.
With reference to Fig. 7, Fig. 7 is the mechanism foundation of CDN of the present invention and network integration system and the structural representation of fault detection module.
In the above-described embodiments, mechanism foundation and fault detection module 20 comprise:
Judge submodule 21, be used in the inaction interval that presets, judge whether main quantity with the received survival detection messages in scheduling unit and/or standby master scheduling unit is zero;
Processing sub 22 is used for handling accordingly according to fail result when judging that the master is broken down with scheduling unit and standby master scheduling unit.
For ease of carrying out fault detect to main with scheduling unit and standby master scheduling unit, the testing mechanism of formulating is: the main detection messages that presets with scheduling unit and standby master scheduling unit basis at interval, sending the survival detection messages to the other side, serves as normal operation to show own current state.In the inaction interval that presets, judge that submodule 21 judges whether the quantity of the main survival detection messages that sends with scheduling unit and/or the received the other side in standby master scheduling unit is zero, if, judge that then the other side breaks down, main when wherein a side is broken down with scheduling unit and standby master scheduling unit when judging, processing sub 22 is further handled accordingly according to fail result.In the present embodiment, be the time maximum of the reception survival detection messages set according to actual conditions in the inaction interval that presets, its value can detection messages at interval two times or three times.Behind this inaction interval that presets of process, if the main survival detection messages quantity that receives with scheduling unit or standby master scheduling unit is zero, then between explanation at this moment in the scope, main undesired with the running status of scheduling unit or standby master scheduling unit, thereby can further judge a side of breaking down.
In the present embodiment, processing sub 22 specifically is used for:
The quantity that receives the main survival detection messages that sends with scheduling unit as standby master scheduling unit is zero, then judges mainly use the scheduling unit fault, triggers standby master scheduling unit and upgrades to the master and use scheduling unit;
Be zero as the main quantity that receives the survival detection messages that standby master scheduling unit sends with scheduling unit, then judge standby master scheduling cell failure, trigger and re-elect new standby master scheduling unit.
When whether breaking down with scheduling unit and standby master scheduling unit according to the detection of survival testing mechanism is main, the quantity of the survival detection messages that sends with scheduling unit as the received master in standby master scheduling unit is zero, then can judge to lead and break down with scheduling unit, at this moment, switch fast by processing sub 22, namely trigger standby master scheduling unit and upgrade to the main scheduling unit of using, take over the main scheduling unit of using that breaks down, continue the access request that client-access is used is unified scheduling; In the present embodiment, when standby master scheduling unit detects main when breaking down with scheduling unit by testing mechanism, trigger and self upgrade to the main scheduling unit of using, triggering the inside of updating the equipment simultaneously transmits, like this, user's application link request just can be forwarded to the main service access unit with scheduling unit after the switching, sets up application link with this master with scheduling unit, and user's visit is dispatched and load balancing with scheduling unit by the master after switching.
Be zero as the main quantity that receives the survival detection messages that standby master scheduling unit sends with scheduling unit, can judge that then standby master scheduling unit breaks down, at this moment, trigger new election mechanism by processing sub 22, namely in a plurality of scheduler modules that a plurality of CDN service apparatus of CDN and network integration system comprise, re-elect new standby master scheduling unit, take over it when breaking down with scheduling unit and finish work with load balancing is dispatched in user's visit when leading being used for.
After having selected main usefulness scheduling unit and standby master scheduling unit, in the inaction interval that presets, whether be zeroly to judge whether the other side breaks down according to main quantity with the received survival detection messages in scheduling unit and standby master scheduling unit, and after judging that the master is broken down with scheduling unit or standby master scheduling unit, handle accordingly.Realized under failure condition, can taking over fast and switch, avoided to re-elect new master and carried out the business switching again with scheduling unit, improved the speed of professional switching, and guaranteed the stability of CDN and network integration system.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.

Claims (10)

1. the electoral machinery of primary, spare scheduling unit in a CDN and the network integration system, described CDN and network integration system comprise a plurality of CDN service apparatus, and this CDN service apparatus comprises scheduler module and chosen module, it is characterized in that, and this method comprises:
Adopt multicast mode, in a plurality of scheduler modules that a plurality of described CDN service apparatus comprise, the selected one main scheduling unit of using, this master is used for the access request that client-access is used is unified scheduling with scheduling unit;
A selected standby master scheduling unit, this standby master scheduling unit are used for when described master is broken down with scheduling unit, take over described master and with scheduling unit the access request of client-access application are unified scheduling.
2. method according to claim 1, it is characterized in that the IP address of the configuration priority of a plurality of scheduler modules that comprise by a plurality of described CDN service apparatus, the equipment slots item of described CDN service apparatus, the MAC Address of described CDN service apparatus, described CDN service apparatus and the home address of described CDN service apparatus are selected described main with scheduling unit and described standby master scheduling unit.
3. method according to claim 2 is characterized in that, after the described selected master of execution is with scheduling unit and standby master scheduling unit, also comprises:
Set up the survival testing mechanism between scheduling unit and the standby master scheduling unit main using, and whether break down according to described survival testing mechanism detection the other side.
4. whether method according to claim 3 is characterized in that, describedly sets up the survival testing mechanism main with between scheduling unit and the standby master scheduling unit, and break down according to described survival testing mechanism detection the other side and to comprise:
In the inaction interval that presets, judge whether main quantity with the received survival detection messages in scheduling unit and standby master scheduling unit is zero, if then judge the other side's fault, and handle accordingly according to fail result; Described survival detection messages is sent to the other side according to the detection messages that presets with scheduling unit and standby master scheduling unit at interval by the master.
5. method according to claim 4, it is characterized in that, described in the inaction interval that presets, judge whether main quantity with the received survival detection messages in scheduling unit and standby master scheduling unit is zero, if, then judge the other side's fault, and handle accordingly according to fail result and to comprise:
The quantity that receives the main survival detection messages that sends with scheduling unit as standby master scheduling unit is zero, then judges mainly use the scheduling unit fault, triggers standby master scheduling unit and upgrades to the master and use scheduling unit;
Be zero as the main quantity that receives the survival detection messages that standby master scheduling unit sends with scheduling unit, then judge standby master scheduling cell failure, trigger and re-elect new standby master scheduling unit.
6. a CDN and network integration system, described CDN and network integration system comprise a plurality of CDN service apparatus, and this CDN service apparatus comprises scheduler module, it is characterized in that, and described CDN service apparatus also comprises:
Chosen module is used for adopting multicast mode, in a plurality of scheduler modules that a plurality of described CDN service apparatus comprise, and the selected one main scheduling unit of using, this master is used for the access request that client-access is used is unified scheduling with scheduling unit; A selected standby master scheduling unit, this standby master scheduling unit are used for when described master is broken down with scheduling unit, take over described master and with scheduling unit the access request of client-access application are unified scheduling.
7. CDN according to claim 6 and network integration system, it is characterized in that the IP address of the configuration priority of a plurality of scheduler modules that comprise by a plurality of described CDN service apparatus, the equipment slots item of described CDN service apparatus, the MAC Address of described CDN service apparatus, described CDN service apparatus and the home address of described CDN service apparatus are selected described main with scheduling unit and described standby master scheduling unit.
8. CDN according to claim 7 and network integration system is characterized in that, described CDN service apparatus also comprises:
Whether mechanism is set up and fault detection module, sets up the survival testing mechanism between scheduling unit and the standby master scheduling unit for using the master, and break down according to described survival testing mechanism detection the other side.
9. CDN according to claim 8 and network integration system is characterized in that, described mechanism sets up and fault detection module comprises:
Judge submodule, be used in the inaction interval that presets, judge whether main quantity with the received survival detection messages in scheduling unit and standby master scheduling unit is zero; Described survival detection messages is sent to the other side according to the detection messages that presets with scheduling unit and standby master scheduling unit at interval by the master;
Processing sub is used for handling accordingly according to fail result when judging that the master is broken down with scheduling unit and/or standby master scheduling unit.
10. CDN according to claim 9 and network integration system is characterized in that, described processing sub specifically is used for:
The quantity that receives the main survival detection messages that sends with scheduling unit as standby master scheduling unit is zero, then judges mainly use the scheduling unit fault, triggers standby master scheduling unit and upgrades to the master and use scheduling unit;
Be zero as the main quantity that receives the survival detection messages that standby master scheduling unit sends with scheduling unit, then judge standby master scheduling cell failure, trigger and re-elect new standby master scheduling unit.
CN201310092340.7A 2013-03-21 2013-03-21 CDN and network integration system and the electoral machinery of primary, spare scheduling unit thereof Active CN103200033B (en)

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 true CN103200033A (en) 2013-07-10
CN103200033B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103647710A (en) * 2013-11-01 2014-03-19 华为技术有限公司 Path configuration method and device
WO2014146541A1 (en) * 2013-03-21 2014-09-25 中兴通讯股份有限公司 Cdn and network convergence system, scheduling module selection method and computer storage medium
CN105872614A (en) * 2016-04-12 2016-08-17 乐视控股(北京)有限公司 Live stream switching method and device
CN107360025A (en) * 2017-07-07 2017-11-17 郑州云海信息技术有限公司 A kind of distributed memory system cluster monitoring method and apparatus
CN107809480A (en) * 2017-10-25 2018-03-16 上海瀚银信息技术有限公司 One kind transaction commutation system
CN110138808A (en) * 2019-06-27 2019-08-16 苏宁消费金融有限公司 Anti-hijacking method for down loading and system based on CDN

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119318A (en) * 2007-09-04 2008-02-06 中兴通讯股份有限公司 Switch processing method of stream media node controller
CN101547334A (en) * 2009-04-30 2009-09-30 杭州华三通信技术有限公司 Method for guaranteeing master MCU to possess standby MCU, and video frequency conference system
US20120151550A1 (en) * 2009-08-20 2012-06-14 Bin Zhang Method for switching node main-standby controllers based on content delivery network (cdn) and cdn thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119318A (en) * 2007-09-04 2008-02-06 中兴通讯股份有限公司 Switch processing method of stream media node controller
CN101547334A (en) * 2009-04-30 2009-09-30 杭州华三通信技术有限公司 Method for guaranteeing master MCU to possess standby MCU, and video frequency conference system
US20120151550A1 (en) * 2009-08-20 2012-06-14 Bin Zhang Method for switching node main-standby controllers based on content delivery network (cdn) and cdn thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014146541A1 (en) * 2013-03-21 2014-09-25 中兴通讯股份有限公司 Cdn and network convergence system, scheduling module selection method and computer storage medium
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
CN107360025A (en) * 2017-07-07 2017-11-17 郑州云海信息技术有限公司 A kind of distributed memory system cluster monitoring method and apparatus
CN107809480A (en) * 2017-10-25 2018-03-16 上海瀚银信息技术有限公司 One kind transaction commutation system
CN110138808A (en) * 2019-06-27 2019-08-16 苏宁消费金融有限公司 Anti-hijacking method for down loading and system based on CDN

Also Published As

Publication number Publication date
WO2014146541A1 (en) 2014-09-25
CN103200033B (en) 2016-09-07

Similar Documents

Publication Publication Date Title
CN103200033A (en) Content delivery network (CDN) and network convergence system and selection method of mainly-used scheduling unit and standby scheduling unit thereof
US10070344B1 (en) Method and system for managing utilization of slices in a virtual network function environment
CN103312528B (en) A kind of heartbeat message sending method and user terminal
CN108965123A (en) A kind of link switch-over method and network communicating system
CN101465859B (en) Method and device for triggering main and standby interface board inverse switch
CN104301146A (en) Link switching method and device in software defined network
CN102394925B (en) Communication method and device for remote monitoring diagnosis center and area regulation center
US11296947B2 (en) SD-WAN device, system, and network
CN102891756B (en) Active electric management system and management method thereof
CN105359469A (en) Hierarchical rule-based routing system
CN108960857A (en) A kind of after-sale service management method, system and device
CN106716927A (en) Adaptive network function chaining
WO2009097300A2 (en) Bandwidth-aware multicast load balancing on a multi-interface host
CN103944746A (en) Hot standby method and device
CN105915426B (en) The fault recovery method and device of loop network
CN104954239A (en) CGN broadband access gateway and implementation method thereof
CN106411585A (en) Server switching method, adapter, server and scheduling device
CN107147690A (en) A kind of electrical power system wide-area method for message transmission
US20130054788A1 (en) Managing host computing devices
Kim et al. Service provider DevOps for large scale modern network services
US9866456B2 (en) System and method for network health and management
WO2013086996A1 (en) Failure processing method, device and system
JP5647561B2 (en) Power system supervisory control system
CN105024860A (en) Remote communication control method and system
CN103401954A (en) Implementation method of virtual DHCP (dynamic host configuration protocol)

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