CN104539442A - Method, network equipment and system for enhancing reliability - Google Patents

Method, network equipment and system for enhancing reliability Download PDF

Info

Publication number
CN104539442A
CN104539442A CN201410675917.1A CN201410675917A CN104539442A CN 104539442 A CN104539442 A CN 104539442A CN 201410675917 A CN201410675917 A CN 201410675917A CN 104539442 A CN104539442 A CN 104539442A
Authority
CN
China
Prior art keywords
control appliance
forwarding unit
mediation device
information
control
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
CN201410675917.1A
Other languages
Chinese (zh)
Other versions
CN104539442B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410675917.1A priority Critical patent/CN104539442B/en
Publication of CN104539442A publication Critical patent/CN104539442A/en
Application granted granted Critical
Publication of CN104539442B publication Critical patent/CN104539442B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a method and a system for enhancing reliability. The method comprises the following steps: transmitting a correlation between the ID of second control equipment and the ID of forwarding equipment to coordination equipment through the second control equipment; acquiring second role information; transmitting a correlation between the ID of first control equipment and the ID of the forwarding equipment to the coordination equipment through the first control equipment; acquiring first role information; saving correlation information of the forwarding equipment and control forwarding equipment through the coordination equipment; determining failures of the second control equipment through the coordination equipment; updating correlation information of the forwarding equipment and the control forwarding equipment; sending a notification to the first control equipment; receiving the notification through the first control equipment, and upgrading the first control equipment into master control equipment of the forwarding equipment; and acquiring that the first control equipment is the master control equipment of the forwarding equipment from the coordination equipment through third control equipment. Through adoption of the method and the system, the problem that the forwarding equipment is supposed to be provided with double pieces of master control equipment is solved.

Description

For improving the method for reliability, the network equipment and system
Technical field
The present invention relates to communication technical field, being specifically related to a kind of method, the network equipment and system for improving reliability.
Background technology
Software defined network (Software Defined Networking, SDN) be a kind of Novel open transmission via net framework proposed by Stanford Univ USA, network equipment chain of command and data surface are separated, create the environment that a kind of central management control appliance controls all switches and router, thus the centralized control achieved network traffics, for the innovation of core network and application provides good platform.Open flows (OpenFlow) agreement is then realize a kind of agreement that chain of command is connected with data surface.Under SDN framework, the management and control of control appliance to forwarding unit is vital, and the equipment of equipment out of hand is not just as having large-brained four limbs.
In actual deployment process, because single control appliance cannot tackle the SDN problem across multiple region, usually need to form distributed type assemblies by multiple SDN control appliance, to avoid single control appliance in the problem of reliability, autgmentability, aspect of performance.But, under forming the scene of distributed type assemblies by multiple SDN control appliance, when controlling the primary control equipment fault of forwarding unit, in the process of backup control equipment adapter, appear in the visual angle of other controller, think the problem that forwarding unit is controlled by two primary control equipment (be called for short two main) simultaneously.
Summary of the invention
The embodiment of the present invention provide for improving the method for reliability, the network equipment and system, contribute to solving forwarding unit problem out of control, and forwarding unit is considered to two main problem.
In order to solve the problem, embodiment of the present invention first aspect provides a kind of system for improving reliability, and described system comprises the first control appliance, the second control appliance, the 3rd control appliance, Mediation Device and forwarding unit; Described second control appliance is used for sending associating (correlation) of the mark ID of described second control appliance and the ID of described forwarding unit to described Mediation Device; Obtain the second Role Information, described second control appliance of described second Role Information instruction is the primary control equipment controlling described forwarding unit; Described first control appliance is used for sending associating of the ID of described first control appliance and the ID of described forwarding unit to described Mediation Device; Obtain the first Role Information, described first control appliance of described first Role Information instruction is the backup control equipment controlling described forwarding unit; Described Mediation Device is for preserving described forwarding unit and the related information of equipment controlling described forwarding unit, and described related information comprises associating of the ID three of the ID of described forwarding unit, the ID of described second control appliance and described first control appliance; Described Mediation Device is also for determining described second control appliance fault; Upgrade described forwarding unit and the related information of equipment controlling described forwarding unit, the related information after renewal comprises associating of the ID of described forwarding unit and the ID of described first control appliance; Send to described first control appliance and notice; Described first control appliance also for receiving described notice, upgrades to the primary control equipment of described forwarding unit; Described 3rd control appliance is used for obtaining from described Mediation Device the primary control equipment that described first control appliance is described forwarding unit.
In the first possible implementation of first aspect, described Mediation Device is also for establishing a connection with described first control appliance, establish a connection with described second control appliance, and establish a connection with described 3rd control appliance, there is not annexation between described Mediation Device and described forwarding unit.
In conjunction with the first possible implementation of first aspect or first aspect, in the implementation that the second of first aspect is possible, described second control appliance, also for sending request to described Mediation Device, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described second control appliance; Described second control appliance is also for receiving control appliance id information corresponding to described forwarding unit ID that described Mediation Device sends, the control appliance id information that described forwarding unit ID is corresponding is blank, the described forwarding unit of described blank instruction does not have corresponding control appliance, then determine described second Role Information; Described first control appliance, also for sending request to described Mediation Device, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance; Described first control appliance is also for receiving control appliance id information corresponding to described forwarding unit ID that described Mediation Device sends, the control appliance id information that described forwarding unit ID is corresponding is the ID of described second control appliance, then determine described first Role Information.
In conjunction with the first of first aspect or first aspect to the arbitrary possible implementation of the second, in the third possible implementation of first aspect, the described second control appliance fault of described notice instruction; Described first control appliance is before receiving described notice, also for obtaining the information of forwarding unit that described first control appliance controls, described information comprises associating of the ID three of the ID of described first control appliance, the ID of described forwarding unit and described second control appliance; Described first control appliance is after receiving described notice, also for upgrading the information of the forwarding unit that described first control appliance controls, information after renewal comprises associating of the ID of described first control appliance and the ID of described forwarding unit, and described first control appliance of information instruction after described renewal is the primary control equipment of described forwarding unit.
In conjunction with the first possible implementation of first aspect or first aspect, in the 4th kind of possible implementation of first aspect, described Mediation Device is also for be blank according to the id information of control appliance corresponding to the ID of described forwarding unit preserved, the described forwarding unit of described blank instruction does not have corresponding control appliance, then determine described second Role Information; And send described second Role Information to described second control appliance; The ID of described Mediation Device also for according to the id information of control appliance corresponding to the ID of described forwarding unit preserved being described second control appliance, then determine described first Role Information; And send described first Role Information to described first control appliance.
In conjunction with the 4th kind of possible implementation of the first or first aspect of first aspect or first aspect, in the 5th kind of possible implementation of first aspect, described first control appliance of described notice instruction is the primary control equipment controlling described forwarding unit.
In order to solve the problem, embodiment of the present invention second aspect provides a kind of method for improving reliability, comprising: the first control appliance sends associating of the described mark ID of the first control appliance and the ID of forwarding unit to Mediation Device; Obtain the first Role Information, described first control appliance of described first Role Information instruction is the backup control equipment controlling described forwarding unit; Described first control appliance receives from described Mediation Device and notices, and upgrades to the primary control equipment of described forwarding unit.
In the first possible implementation of second aspect, comprise: described first control appliance is used for establishing a connection with described Mediation Device, and establish a connection with described forwarding unit, there is not annexation between described Mediation Device and described forwarding unit.
In conjunction with the first possible implementation of second aspect or second aspect, in the implementation that the second of second aspect is possible, described acquisition first Role Information comprises: described first control appliance sends request to described Mediation Device, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance; Described first control appliance receives control appliance id information corresponding to described forwarding unit ID that described Mediation Device sends, and the control appliance id information that described forwarding unit ID is corresponding is the ID of described second control appliance, then determine described first Role Information; Or described first control appliance receives described first Role Information sent from described Mediation Device.
In conjunction with the first possible implementation of second aspect, in the third possible implementation of second aspect, the described second control appliance fault of described notice instruction, described method also comprises: described first control appliance is before receiving described notice, obtain the information of forwarding unit that described first control appliance controls, described information comprises associating of the ID three of the ID of described first control appliance, the ID of described forwarding unit and described second control appliance; Described first control appliance after receiving the advertisement, upgrade the information of the forwarding unit that described first control appliance controls, information after renewal comprises associating of the ID of described first control appliance and the ID of described forwarding unit, and described first control appliance of information instruction after described renewal is the primary control equipment of described forwarding unit.
In order to solve the problem, the embodiment of the present invention third aspect provides a kind of method for improving reliability, it is characterized in that, comprising: Mediation Device receives associating of the described mark ID of the second control appliance and the ID of forwarding unit from the second control appliance; Described Mediation Device receives associating of the ID of described first control appliance and the ID of described forwarding unit from the first control appliance; Described Mediation Device is for preserving described forwarding unit and the related information of equipment controlling described forwarding unit, and described related information comprises associating of the ID three of the ID of described forwarding unit, the ID of described second control appliance and described first control appliance; Described Mediation Device is also for determining described second control appliance fault; Upgrade described forwarding unit and the related information of equipment controlling described forwarding unit, the related information after renewal comprises associating of the ID of described forwarding unit and the ID of described first control appliance; Send to described first control appliance and notice; Described Mediation Device sends the 3rd Role Information to the 3rd control appliance, and described first control appliance of described 3rd Role Information instruction is the primary control equipment of described forwarding unit.
In the first possible implementation of the third aspect, also comprise: described Mediation Device and described first control appliance establish a connection, establish a connection with described second control appliance, and establish a connection with described 3rd control appliance, there is not annexation between described Mediation Device and described forwarding unit.
In conjunction with the first possible implementation of the third aspect or the third aspect, in the implementation that the second of the third aspect is possible, also comprise: described Mediation Device also for according to control appliance id information corresponding to described forwarding unit ID preserved for blank, the described forwarding unit of described blank instruction does not have corresponding control appliance, then determine described second Role Information, described second control appliance of described second Role Information instruction is the primary control equipment controlling described forwarding unit; And send described second Role Information to described second control appliance; Described Mediation Device is also the ID of described second control appliance for the control appliance id information corresponding according to the described forwarding unit ID preserved, then determine described first Role Information, described first control appliance of described first Role Information instruction is the backup control equipment controlling described forwarding unit; And send described first Role Information to described first control appliance.
In conjunction with the implementation that the second of the third aspect is possible, in the third possible implementation of the third aspect, described first control appliance of described notice instruction is the primary control equipment controlling described forwarding unit.
In conjunction with the first possible implementation of the third aspect or the third aspect, in the 4th kind of possible implementation of the third aspect, also comprising: described Mediation Device receives request from described second control appliance, sending control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described second control appliance; Control appliance id information corresponding to described forwarding unit ID is sent to described second control appliance; Described Mediation Device receives request from described first control appliance, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance; Control appliance id information corresponding to described forwarding unit ID is sent to described first control appliance.
In conjunction with the 4th kind of possible implementation of the first or the third aspect of the third aspect or the third aspect, in the 5th kind of possible implementation of the third aspect, the described second control appliance fault of described notice instruction.
In order to solve the problem, embodiment of the present invention fourth aspect provides a kind of control appliance improving reliability, described control appliance is as the first control appliance, comprise processing unit and communication unit, wherein, described communication unit is used for sending associating of the described ID of the first control appliance and the mark ID of forwarding unit to Mediation Device; Described processing unit is for obtaining the first Role Information, and described first control appliance of described first Role Information instruction is the backup control equipment controlling described forwarding unit; Described communication unit is also noticed for receiving from described Mediation Device; Described processing unit is also the primary control equipment of described forwarding unit for described first control appliance of upgrading.
In the first possible implementation of fourth aspect, described processing unit comprises for obtaining the first Role Information: described processing unit sends request to described Mediation Device, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance; Described communication unit is also for receiving control appliance id information corresponding to described forwarding unit ID that described Mediation Device sends, the control appliance id information that described forwarding unit ID is corresponding is the ID of described second control appliance, then described processing unit is also for determining described first Role Information; Or described communication unit is also for receiving described first Role Information sent from described Mediation Device.
In conjunction with the first possible implementation of fourth aspect or fourth aspect, in the implementation that the second of fourth aspect is possible, the described second control appliance fault of described notice instruction; Described processing unit is also for before receiving described notice, obtain the information of forwarding unit that described first control appliance controls, described information comprises associating of the ID three of the ID of described first control appliance, the ID of described forwarding unit and described second control appliance; Described processing unit is also for after receiving the advertisement, upgrade the information of the forwarding unit that described first control appliance controls, information after renewal comprises associating of the ID of described first control appliance and the ID of described forwarding unit, and described first control appliance of information instruction after described renewal is the primary control equipment of described forwarding unit; Or described first control appliance of described notice instruction is the primary control equipment controlling described forwarding unit.
In order to solve the problem, the embodiment of the present invention the 5th aspect provides a kind of Mediation Device improving reliability, comprise processing unit, communication unit and memory cell, wherein, described communication unit is used for receiving associating of the described mark ID of the second control appliance and the ID of forwarding unit from the second control appliance; Described communication unit is also for receiving associating of the ID of described first control appliance and the ID of described forwarding unit from the first control appliance; Described memory cell is for preserving described forwarding unit and the related information of equipment controlling described forwarding unit, and described related information comprises associating of the ID three of the ID of described forwarding unit, the ID of described second control appliance and described first control appliance; Described processing unit is also for determining described second control appliance fault; Upgrade described forwarding unit and the related information of equipment controlling described forwarding unit, the related information after renewal comprises associating of the ID of described forwarding unit and the ID of described first control appliance; Described memory cell is also for preserving the related information after described renewal; Described communication unit is also noticed for sending to described first control appliance; Described communication unit is also for sending the 3rd Role Information to the 3rd control appliance, and described first control appliance of described 3rd Role Information instruction is the primary control equipment of described forwarding unit.
In the first possible implementation in the 5th, described processing unit is also for be blank according to control appliance id information corresponding to described forwarding unit ID preserved, the described forwarding unit of described blank instruction does not have corresponding control appliance, then determine described second Role Information, described second control appliance of described second Role Information instruction is the primary control equipment controlling described forwarding unit; Described communication unit is also for sending described second Role Information to described second control appliance; Described processing unit is also the ID of described second control appliance for the control appliance id information corresponding according to the described forwarding unit ID preserved, then determine described first Role Information, described first control appliance of described first Role Information instruction is the backup control equipment controlling described forwarding unit; Described communication unit is also for sending described first Role Information to described first control appliance.
In conjunction with the first possible implementation of the 5th aspect or the 5th aspect, in the implementation that the second in the 5th is possible, described first control appliance of described notice instruction is the primary control equipment controlling described forwarding unit.
In conjunction with the 5th aspect, in the third possible implementation in the 5th, described communication unit, also for receiving request from described second control appliance, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described second control appliance; Control appliance id information corresponding to described forwarding unit ID is sent to described second control appliance; Described communication unit, also for receiving request from described first control appliance, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance; Control appliance id information corresponding to described forwarding unit ID is sent to described first control appliance.
In conjunction with the third possible implementation of the first or the 5th aspect of the 5th aspect or the 5th aspect, in the 4th kind of possible implementation in the 5th, the described second control appliance fault of described notice instruction.
The embodiment of the present invention sends associating of the mark ID of described second control appliance and the ID of described forwarding unit by described second control appliance to described Mediation Device; Obtain the second Role Information; Described first control appliance sends associating of the ID of described first control appliance and the ID of described forwarding unit to described Mediation Device; Obtain the first Role Information; Described Mediation Device preserves the related information of the equipment of described forwarding unit and the described forwarding unit of control; Described Mediation Device determines described second control appliance fault, upgrades described forwarding unit and the related information of the equipment of the described forwarding unit of control, sends notice to described first control appliance; Described first control appliance receives described notice, upgrades to the primary control equipment of described forwarding unit; Described 3rd control appliance obtains from described Mediation Device the primary control equipment that described first control appliance is described forwarding unit, thus contributes to solving the problem that forwarding unit is considered to two master.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the application, for those of ordinary skill in the art, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of system schematic improving reliability of the embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet improving reliability method of the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another raising reliability method of the embodiment of the present invention;
Fig. 4 is the structural representation of a kind of control appliance of the embodiment of the present invention;
Fig. 5 is the structural representation of a kind of Mediation Device of the embodiment of the present invention;
Fig. 6 is the structural representation of a kind of control appliance of the embodiment of the present invention;
Fig. 7 is the structural representation of a kind of Mediation Device of the embodiment of the present invention.
Embodiment
In order to make those skilled in the art person understand the present invention program better, below in conjunction with drawings and embodiments, the embodiment of the present invention is described in further detail.Obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
In the SDN be separated based on control forwarding with multiple control appliance, multiple control appliance constitutes distributed AC servo system device clusters, by the synchronizing information between control appliance, on each control appliance in store described network each forwarding unit and each forwarding unit of management and control control appliance between incidence relation.Usually master control equipment (as the second control appliance) and standby control appliance (as the first control appliance) can be distributed for forwarding unit, when described master control equipment fault, after master control equipment fault described in controller cluster member administrative unit, module or device discovery, the second control appliance fault as described in other control appliance (as the 3rd control appliance) can be notified; Meanwhile, described standby control appliance upgrades to the master control equipment of described forwarding unit, and notify other control appliance (as described in the 3rd control appliance) as described in the first control appliance be as described in the master control equipment of forwarding unit; Now, if described 3rd control appliance is before receiving the notice that the second control appliance breaks down, receive the described notice rising master that described first control appliance is sent, then can think that described forwarding unit has two master control equipments, be respectively described first control appliance and described second control appliance.If at this moment described 3rd control appliance receives the service request that application service layer is sent, need for described forwarding unit issues stream table, then cannot determine that issuing described first control appliance is that described forwarding unit issues stream table, still issuing described second control appliance is that described forwarding unit issues stream table.
" the 3rd " in " first " in the first control appliance described in specification of the present invention, " second " in the second control appliance and the 3rd control appliance is only for distinguishing different control appliances.
Embodiment one
Refer to Fig. 1, show the system schematic that the embodiment of the present invention improves reliability, this system 100 is applied in based on controlling to forward in the network of separation, comprise Mediation Device 101, first control appliance 102, second control appliance 103, 3rd control appliance 104 and forwarding unit 105, described Mediation Device 101 is for establishing a connection with described first control appliance 102, establish a connection with described second control appliance 103, and establish a connection with described 3rd control appliance 104, annexation is there is not between described Mediation Device 101 and described forwarding unit 105.
This system schematic is only a kind of example, the quantity of the control appliance that network system comprises, the quantity of Mediation Device, and the quantity of forwarding unit is not limited to quantity illustrated in fig. 1.
The system 100 of described raising reliability comprises:
Described second control appliance 103 is for sending associating of the mark ID of described second control appliance 103 and the ID of described forwarding unit 105 to described Mediation Device 101; Obtain the second Role Information, described second control appliance 103 of described second Role Information instruction is the primary control equipment controlling described forwarding unit 105.
Described first control appliance 102 is for sending associating of the ID of described first control appliance 102 and the ID of described forwarding unit 105 to described Mediation Device 101; Obtain the first Role Information, described first control appliance 102 of described first Role Information instruction is the backup control equipment controlling described forwarding unit 105;
Described Mediation Device 101 is for preserving described forwarding unit 105 and the related information of equipment controlling described forwarding unit 105, and described related information comprises associating of the ID three of the ID of described forwarding unit 105, the ID of described second control appliance 103 and described first control appliance 102.
Described Mediation Device 101 is also for determining described second control appliance 103 fault; Upgrade described forwarding unit 105 and the related information of equipment controlling described forwarding unit 105, the related information after renewal comprises associating of the ID of described forwarding unit 105 and the ID of described first control appliance 102; Send to described first control appliance 102 and notice.
Described first control appliance 102, also for receiving described notice, upgrades to the primary control equipment of described forwarding unit 105.
Described 3rd control appliance 104 is for obtaining the primary control equipment that described first control appliance 102 is described forwarding units 105 from described Mediation Device 101.
Wherein, the ID of described forwarding unit 105 is for identifying described forwarding unit 105, and the ID of described first control appliance 102 is for identifying described first control appliance 102, and the ID of described second control appliance 103 is for identifying described second control appliance 103.
Alternatively, the ID of described first control appliance 102 is IP addresses, and described IP address can be that Mediation Device 101 distributes from the control appliance ID pond that Mediation Device 101 is preserved, and also can be reclaimed by Mediation Device 101.The ID of described forwarding unit 105 is IP addresses.
Further, alternatively, described second control appliance 103 obtains the second Role Information and described first control appliance 102 and obtains the first Role Information and have two kinds of modes to realize:
Mode one:
Described second control appliance 103, also for sending request to described Mediation Device 101, sends the id information of control appliance corresponding to the ID of described forwarding unit 105 that preserves in described Mediation Device 101 for asking described Mediation Device 101 to described second control appliance 103.
Described second control appliance 103 is also for receiving the id information of control appliance corresponding to the ID of described forwarding unit 105 that described Mediation Device 101 sends, the id information of the control appliance that the ID of described forwarding unit 105 is corresponding is blank, the described forwarding unit 105 of described blank instruction does not have corresponding control appliance, then determine described second Role Information.
Described first control appliance 102, also for sending request to described Mediation Device 101, sends the id information of control appliance corresponding to the ID of described forwarding unit 105 that preserves in described Mediation Device 101 for asking described Mediation Device 101 to described first control appliance 102.
Described first control appliance 102 is also for receiving the id information of control appliance corresponding to the ID of described forwarding unit 105 that described Mediation Device 101 sends, the id information of the control appliance that the ID of described forwarding unit 105 is corresponding is the ID of described second control appliance 103, then determine described first Role Information.
Mode two:
Described Mediation Device 101 is also for be blank according to the id information of control appliance corresponding to the ID of described forwarding unit 105 preserved, and the described forwarding unit of described blank instruction does not have the control appliance of correspondence, then determine described second Role Information; And send described second Role Information to described second control appliance 103;
The ID of described Mediation Device 101 also for according to the id information of control appliance corresponding to the ID of described forwarding unit 105 preserved being described second control appliance 103, then determine described first Role Information; And send described first Role Information to described first control appliance 102.
Further, alternatively, described notice has two kinds of instructions:
Instruction one:
Described second control appliance 103 fault of described notice instruction.
Described first control appliance 102 is before receiving described notice, also for obtaining the information of forwarding unit that described first control appliance 102 controls, described information comprises associating of the ID three of the ID of described first control appliance, the ID of described forwarding unit and described second control appliance.
Described first control appliance 102 is after receiving described notice, also for upgrading the information of the forwarding unit that described first control appliance 102 controls, information after renewal comprises associating of the ID of described first control appliance 102 and the ID of described forwarding unit 105, and described first control appliance 102 of information instruction after described renewal is primary control equipment of described forwarding unit 105.
Instruction two:
Described first control appliance 102 of described notice instruction is the primary control equipment controlling described forwarding unit 105.Such as, the ID of described forwarding unit 105, the ID of described first control appliance 102 and primary role information is comprised in described notice.
The system for improving reliability that the embodiment of the present invention one provides, when the primary control equipment of certain forwarding unit breaks down, send associating of the mark ID of this second control appliance and the ID of this forwarding unit by the second control appliance to Mediation Device, obtain the second Role Information; Send associating of the described ID of the first control appliance and the ID of this forwarding unit by the first control appliance to this Mediation Device, obtain the first Role Information; The related information of the equipment of this forwarding unit and this forwarding unit of control is preserved by this Mediation Device; Determine this second control appliance fault by this Mediation Device, upgrade the related information of the equipment of this forwarding unit and this forwarding unit of control, and send notice to described first control appliance; Receive described notice by this first control appliance, upgrade to the primary control equipment of this forwarding unit; Obtain from this Mediation Device the primary control equipment that this first control appliance is this forwarding unit by the 3rd control appliance, thus contribute to solving the problem that forwarding unit is considered to two master.
Embodiment two
Please refer to Fig. 2, show the schematic flow sheet that the embodiment of the present invention improves reliability method, the method is applied in the first control appliance based on controlling to forward in the SDN distributed type assemblies net control of separation, described network comprises Mediation Device, described first control appliance, the second control appliance, the 3rd control appliance and forwarding unit, and described first control appliance and described second control appliance control described forwarding unit.Described Mediation Device is used for establishing a connection with described first control appliance, establishes a connection, and establishes a connection with described 3rd control appliance, there is not annexation between described Mediation Device and described forwarding unit with described second control appliance.The method comprises:
201, the first control appliance sends associating of the described mark ID of the first control appliance and the ID of forwarding unit to Mediation Device; Obtain the first Role Information, described first control appliance of described first Role Information instruction is the backup control equipment controlling described forwarding unit.
Alternatively, described acquisition first Role Information can have various ways:
Mode one is calculated by described first control appliance, comprising: described first control appliance sends request to described Mediation Device, sending control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance.
Described first control appliance receives control appliance id information corresponding to described forwarding unit ID that described Mediation Device sends, and the control appliance id information that described forwarding unit ID is corresponding is the ID of described second control appliance, then determine described first Role Information.
Mode two is calculated by described Mediation Device, comprising: described first control appliance receives described first Role Information sent from described Mediation Device.Described Mediation Device is the ID of described second control appliance according to the id information of control appliance corresponding to the ID of described forwarding unit preserved, then determine described first Role Information.
Mode three also can be that artificial planning and configuration obtains on described first control appliance.
202, described first control appliance receives from described Mediation Device and notices, and upgrades to the primary control equipment of described forwarding unit.
Alternatively, described notice can have two kinds of instructions:
Instruction one: the described second control appliance fault of described notice instruction.
Then described first control appliance is before receiving described notice, obtain the information of forwarding unit that described first control appliance controls, described information comprises associating of the ID three of the ID of described first control appliance, the ID of described forwarding unit and described second control appliance.
Described first control appliance after receiving the advertisement, upgrade the information of the forwarding unit that described first control appliance controls, information after renewal comprises associating of the ID of described first control appliance and the ID of described forwarding unit, and described first control appliance of information instruction after described renewal is the primary control equipment of described forwarding unit.
Instruction two: described first control appliance of described notice instruction is the primary control equipment controlling described forwarding unit.Such as, the ID of described forwarding unit, the ID of described first control appliance and primary role information can be comprised in described notice.
Further, alternatively, before the first control appliance obtains the first Role Information, described method also comprises:
Described first control appliance sends request to described Mediation Device, for asking described Mediation Device to distribute idle control appliance ID to described first control appliance from the control appliance ID pond of described Mediation Device, the control appliance ID of described free time refers to and is not yet assigned to that arbitrary control appliance uses.
Further, alternatively, before described first control appliance sends request to described Mediation Device, described method also comprises:
When described first control appliance starts, read configuration file, described configuration file comprises described control appliance ID pond.Described control appliance ID pond have recorded the control appliance ID of described free time.Described control appliance ID pond is sent to described Mediation Device by described first control appliance.
What deserves to be explained is, described configuration file also can be preserved on each controller, when described second controller starts, also can read above-mentioned configuration file, and described control appliance ID pond is sent to described Mediation Device.
Alternatively, described in described Mediation Device record, the mode in control appliance ID pond can be: first receive first record, if both first received the described control appliance ID pond of sending from described first control appliance, and just first record; If be recorded to half, break down, then the described control appliance ID pond of continuing to send according to described second control appliance completes remaining part.
Alternatively, receive the notice of described Mediation Device transmission at described first control appliance before, also comprise:
Described first control appliance sends request to described Mediation Device, and for asking described Mediation Device when described second control appliance breaks down, send to described first control appliance and notice, described notice represents described second control appliance fault.
In the present embodiment, description and the embodiment one of the ID of described forwarding unit, the ID of described first control appliance are consistent, and repeat no more herein.
The method for improving reliability that the embodiment of the present invention two provides, sends associating of the mark ID of this first control appliance and the ID of certain forwarding unit by the first control appliance to Mediation Device, obtains the first Role Information; Receive notice by this first control appliance from this Mediation Device, upgrade to the primary control equipment of this forwarding unit, thus contribute to solving the problem that forwarding unit is considered to two master.
Embodiment three,
Please refer to Fig. 3, show the schematic flow sheet that the embodiment of the present invention improves reliability method, the method is applied in the Mediation Device based on controlling to forward in the SDN distributed type assemblies net control of separation, described network comprises described Mediation Device, the first control appliance, the second control appliance, the 3rd control appliance and forwarding unit, and described first control appliance and described second control appliance control described forwarding unit.Described Mediation Device is used for establishing a connection with described first control appliance, establishes a connection, and establishes a connection with described 3rd control appliance, there is not annexation between described Mediation Device and described forwarding unit with described second control appliance.The method comprises:
301, described Mediation Device receives associating of the described mark ID of the second control appliance and the ID of forwarding unit from described second control appliance.
302, described Mediation Device receives associating of the ID of described first control appliance and the ID of described forwarding unit from described first control appliance.
Alternatively, described Mediation Device is also determined the second Role Information for being respectively described second control appliance and determining the first Role Information for described first control appliance, and send to described second control appliance and described first control appliance respectively, described second control appliance of described second Role Information instruction is the primary control equipment controlling described forwarding unit, described first control appliance of described first Role Information instruction is the backup control equipment controlling described forwarding unit, specifically comprises:
The control appliance id information that described Mediation Device is corresponding according to the described forwarding unit ID preserved is blank, and the described forwarding unit of described blank instruction does not have corresponding control appliance, then determine described second Role Information; And send described second Role Information to described second control appliance.
The control appliance id information that described Mediation Device is corresponding according to the described forwarding unit ID preserved is the ID of described second control appliance, then determine described first Role Information; And send described first Role Information to described first control appliance.
Alternatively, described Mediation Device receives request from described second control appliance, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described second control appliance; Control appliance id information corresponding to described forwarding unit ID is sent to described second control appliance.
Described Mediation Device receives request from described first control appliance, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance; Control appliance id information corresponding to described forwarding unit ID is sent to described first control appliance.
303, described Mediation Device is for preserving described forwarding unit and the related information of equipment controlling described forwarding unit, and described related information comprises associating of the ID three of the ID of described forwarding unit, the ID of described second control appliance and described first control appliance.
304, described Mediation Device is also for determining described second control appliance fault; Upgrade described forwarding unit and the related information of equipment controlling described forwarding unit, the related information after renewal comprises associating of the ID of described forwarding unit and the ID of described first control appliance; Send to described first control appliance and notice.
Alternatively, described notice can have two kinds of instructions:
Instruction one: the described second control appliance fault of described notice instruction.
Instruction two: described first control appliance of described notice instruction is the primary control equipment controlling described forwarding unit.Such as, the ID of described forwarding unit, the ID of described first control appliance and primary role information can be comprised in described notice.
305, described Mediation Device sends the 3rd Role Information to the 3rd control appliance, and described first control appliance of described 3rd Role Information instruction is the primary control equipment of described forwarding unit.
In the present embodiment, description and the embodiment one of the ID of described forwarding unit, the ID of described first control appliance are consistent, and repeat no more herein.
The embodiment of the present invention three provides a kind of method for improving reliability, be applied on certain Mediation Device, associating of the described mark ID of the second control appliance and the ID of forwarding unit is received from the second control appliance by this Mediation Device, associating of the ID of described first control appliance and the ID of described forwarding unit is received from the first control appliance, preserve the related information of the equipment of described forwarding unit and the described forwarding unit of control, determine described second control appliance fault, upgrade the related information of the equipment of described forwarding unit and the described forwarding unit of control, send to described first control appliance and notice, and send the 3rd Role Information to the 3rd control appliance, thus contribute to solving the problem that forwarding unit is considered to two master.
Embodiment four,
Please refer to Fig. 4, one embodiment of the present of invention provide a kind of control appliance 400, described control appliance is as the first control appliance, be applied in based on controlling to forward in the SDN distributed type assemblies control net system of separation, described system comprises Mediation Device, described first control appliance, second control appliance, 3rd control appliance and forwarding unit, described Mediation Device is used for establishing a connection with described first control appliance, establish a connection with described second control appliance, and establish a connection with described 3rd control appliance, annexation is there is not between described Mediation Device and described forwarding unit.Described first control appliance 400 comprises processing unit 401, communication unit 402, wherein,
Described communication unit 402 is for sending associating of the described ID of the first control appliance and the mark ID of forwarding unit to Mediation Device.
Described processing unit 401 is for obtaining the first Role Information, and described first control appliance of described first Role Information instruction is the backup control equipment controlling described forwarding unit.
Described communication unit 402 is also noticed for receiving from described Mediation Device.
Described processing unit 401 is also the primary control equipment of described forwarding unit for described first control appliance of upgrading.
Alternatively, described processing unit 401 can have various ways for obtaining the first Role Information:
Mode one is calculated by described first control appliance, comprising: described processing unit 401 sends request to described Mediation Device, sending control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance.
Described communication unit 402 is also for receiving control appliance id information corresponding to described forwarding unit ID that described Mediation Device sends, the control appliance id information that described forwarding unit ID is corresponding is the ID of described second control appliance, then described processing unit is also for determining described first Role Information.
Mode two is calculated by described Mediation Device, and send to described first control appliance.Described communication unit 402 is also for receiving described first Role Information sent from described Mediation Device.
Mode three also can be that artificial planning and configuration obtains on described first control appliance.
Alternatively, described notice has two kinds of instructions:
Instruction one: the described second control appliance fault of described notice instruction.
Then described processing unit 401 is also for before receiving described notice, obtain the information of forwarding unit that described first control appliance controls, described information comprises associating of the ID three of the ID of described first control appliance, the ID of described forwarding unit and described second control appliance.
Described processing unit 401 is also for after receiving the advertisement, upgrade the information of the forwarding unit that described first control appliance controls, information after renewal comprises associating of the ID of described first control appliance and the ID of described forwarding unit, and described first control appliance of information instruction after described renewal is the primary control equipment of described forwarding unit.
Instruction two: described first control appliance of described notice instruction is the primary control equipment controlling described forwarding unit.Such as, the ID of described forwarding unit, the ID of described first control appliance and primary role information can be comprised in described notice.
Alternatively, before described processing unit 401 obtains the first Role Information, also comprise:
Described communication unit 402, send request to described Mediation Device, for asking described Mediation Device to distribute idle control appliance ID to described first control appliance from the control appliance ID pond of described Mediation Device, the control appliance ID of described free time refers to and is not yet assigned to that arbitrary control appliance uses.
Further, alternatively, before described communication unit 402 sends request to described Mediation Device, also comprise:
When described first control appliance starts, described processing unit 401 reads configuration file, and described configuration file comprises described control appliance ID pond.
Described communication unit 402 sends described control appliance ID pond to described Mediation Device.
In the present embodiment, description and the embodiment one of the ID of described forwarding unit, the ID of described first control appliance are consistent, and repeat no more herein.
What deserves to be explained is, each functional unit of the control appliance that the embodiment of the present invention four provides, is the specific implementation of the method provided based on embodiment two, the definition of term and to illustrate and embodiment one is consistent, and repeats no more herein.
The embodiment of the present invention four provides a kind of control appliance for improving reliability, and described control appliance is the first control appliance, sends associating of the mark ID of this first control appliance and the ID of certain forwarding unit by communication unit to Mediation Device; The first Role Information is obtained by processing unit; Receive notice by this communication unit from this Mediation Device, upgrade to the primary control equipment of this forwarding unit, thus contribute to solving the problem that forwarding unit is considered to two master.
Embodiment five,
Please refer to Fig. 5, one embodiment of the present of invention provide a kind of Mediation Device, be applied in based on controlling to forward in the SDN distributed type assemblies control net system of separation, described system comprises described Mediation Device, the first control appliance, the second control appliance, the 3rd control appliance and forwarding unit, and described first control appliance and described second control appliance control described forwarding unit.Described Mediation Device is used for establishing a connection with described first control appliance, establishes a connection, and establishes a connection with described 3rd control appliance, there is not annexation between described Mediation Device and described forwarding unit with described second control appliance.Described Mediation Device comprises processing unit 502, communication unit 501 and memory cell 503, wherein,
Described communication unit 501 is for receiving associating of the described mark ID of the second control appliance and the ID of forwarding unit from the second control appliance.
Described communication unit 501 is also for receiving associating of the ID of described first control appliance and the ID of described forwarding unit from the first control appliance;
Described memory cell 503 is for preserving described forwarding unit and the related information of equipment controlling described forwarding unit, and described related information comprises associating of the ID three of the ID of described forwarding unit, the ID of described second control appliance and described first control appliance.
Described processing unit 502 is for determining described second control appliance fault; Upgrade described forwarding unit and the related information of equipment controlling described forwarding unit, the related information after renewal comprises associating of the ID of described forwarding unit and the ID of described first control appliance.
Described memory cell 503 is also for preserving the related information after described renewal.
Described communication unit 501 is also noticed for sending to described first control appliance.
Described communication unit 501 is also for sending the 3rd Role Information to the 3rd control appliance, and described first control appliance of described 3rd Role Information instruction is the primary control equipment of described forwarding unit.
Alternatively, described Mediation Device may be used for determining the second Role Information and the first Role Information, comprising:
Described processing unit 502 is also for be blank according to control appliance id information corresponding to described forwarding unit ID preserved, the described forwarding unit of described blank instruction does not have corresponding control appliance, then determine described second Role Information, described second control appliance of described second Role Information instruction is the primary control equipment controlling described forwarding unit.
Described communication unit 501 is also for sending described second Role Information to described second control appliance.
Described processing unit 502 is also the ID of described second control appliance for the control appliance id information corresponding according to the described forwarding unit ID preserved, then determine described first Role Information, described first control appliance of described first Role Information instruction is the backup control equipment controlling described forwarding unit.
Described communication unit 501 is also for sending described first Role Information to described first control appliance.
Further, alternatively, described first control appliance of described notice instruction is the primary control equipment controlling described forwarding unit.
Alternatively, control appliance id information corresponding for described forwarding unit ID can be sent to described first control appliance and described second control appliance by described Mediation Device respectively, calculates described first Role Information and described second Role Information of described second control appliance calculating by described first control appliance.
Then described communication unit 501 is also for receiving request from described second control appliance, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described second control appliance; Control appliance id information corresponding to described forwarding unit ID is sent to described second control appliance.
Described communication unit 501, also for receiving request from described first control appliance, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance; Control appliance id information corresponding to described forwarding unit ID is sent to described first control appliance.
Further, alternatively, the described second control appliance fault of described notice instruction.
Alternatively, described communication unit 501 is also for before obtaining the first Role Information at the first control appliance, receive the request that described first control appliance is sent, for asking described Mediation Device to distribute idle control appliance ID to described first control appliance from the control appliance ID pond of described Mediation Device, the control appliance ID of described free time refers to and is not yet assigned to that arbitrary control appliance uses.
Described communication unit 501 is also for before obtaining the second Role Information at the second control appliance, receive the request that described second control appliance is sent, for asking described Mediation Device to distribute idle control appliance ID to described second control appliance from the control appliance ID pond of described Mediation Device, the control appliance ID of described free time refers to and is not yet assigned to that arbitrary control appliance uses.
Alternatively, described communication unit 501, also for after described forwarding unit and described first control appliance establish annexation, receives the described control appliance ID pond that described first control appliance or described second control appliance are sent.
Described memory cell 502 preserves described control appliance ID pond.
In the present embodiment, description and the embodiment one of the ID of described forwarding unit, the ID of described first control appliance are consistent, and repeat no more herein.
The Mediation Device for improving reliability that the embodiment of the present invention five provides, associating of the described mark ID of the second control appliance and the ID of forwarding unit is received from the second control appliance by communication unit, receive associating of the ID of described first control appliance and the ID of described forwarding unit from the first control appliance, preserve the related information of described forwarding unit and the equipment of the described forwarding unit of control; Described second control appliance fault is determined by processing unit; The related information of the equipment of described forwarding unit and the described forwarding unit of control is upgraded by processing unit; Noticed to described first control appliance transmission by communication unit, and send the 3rd Role Information to the 3rd control appliance, thus contribute to solving the problem that forwarding unit is considered to two master.
Embodiment six,
Please refer to Fig. 6, one embodiment of the present of invention provide a kind of control appliance 600, and described control appliance 600 is the first control appliance 600, and this first control appliance 600 can be micro-process computer.Such as: this first control appliance 600 can be the one in the portable equipments such as all-purpose computer, customization machine, mobile phone terminal or purl machine.This first control appliance 600 comprises: processor 604, memory 606, communication interface 602 and bus 608.Processor 604, memory 606 and communication interface 602 are connected by bus 608 and complete mutual communication.
Described bus 608 can be industry standard architecture (Industry StandardArchitecture, referred to as ISA) bus or peripheral component interconnect (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry StandardArchitecture, referred to as EISA) bus etc.Described bus can comprise in address bus, data/address bus, control bus one or more.For ease of representing, only representing with a thick line in Fig. 6, but not representing the bus only having a bus or a type.
Memory 606 is for stores executable programs code, and this program code comprises computer-managed instruction.This program code is for completing step 101 ~ 103 of embodiment three.Memory 606 can comprise high-speed RAM (Ramdom Access Memory) memory.Alternatively, memory 606 can also comprise nonvolatile memory (non-volatile memory).Such as memory 606 can comprise magnetic disc store.
Processor 604 can be central processing unit (Central Processing Unit, referred to as CPU), or processor 604 can be specific integrated circuit (Application Specific IntegratedCircuit, referred to as ASIC), or processor 604 can be the one or more integrated circuits being configured to implement the embodiment of the present invention.
Communication interface 602, for performing the operation associated sending the described ID of the first control appliance and the mark ID of forwarding unit in embodiment four to Mediation Device.
Processor 604, for reading the instruction stored in memory 606, thus performs for obtaining the first Role Information in embodiment two, and described first control appliance of described first Role Information instruction is the operation of the backup control equipment controlling described forwarding unit.
Described communication interface 602 is also noticed for receiving from described Mediation Device.
Described processor 604 is also the primary control equipment of described forwarding unit for described first control appliance of upgrading.
Alternatively, described processor 604 can have various ways for obtaining the first Role Information:
Mode one is calculated by described first control appliance, comprising: described processor 604 sends request to described Mediation Device, sending control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance.
Described communication interface 602 is also for receiving control appliance id information corresponding to described forwarding unit ID that described Mediation Device sends, the control appliance id information that described forwarding unit ID is corresponding is the ID of described second control appliance, then described processing unit is also for determining described first Role Information.
Mode two is calculated by described Mediation Device, and send to described first control appliance.Described communication interface 602 is also for receiving described first Role Information sent from described Mediation Device.
Mode three also can be that artificial planning and configuration obtains on described first control appliance.
Alternatively, described notice has two kinds of instructions:
Instruction one: the described second control appliance fault of described notice instruction.
Then described processor 604 is also for before receiving described notice, obtain the information of forwarding unit that described first control appliance controls, described information comprises associating of the ID three of the ID of described first control appliance, the ID of described forwarding unit and described second control appliance.
Described processor 604 is also for after receiving the advertisement, upgrade the information of the forwarding unit that described first control appliance controls, information after renewal comprises associating of the ID of described first control appliance and the ID of described forwarding unit, and described first control appliance of information instruction after described renewal is the primary control equipment of described forwarding unit.
Instruction two: described first control appliance of described notice instruction is the primary control equipment controlling described forwarding unit.Such as, the ID of described forwarding unit, the ID of described first control appliance and primary role information can be comprised in described notice.
Alternatively, before described processor 604 obtains the first Role Information, also comprise:
Described communication interface 602, send request to described Mediation Device, for asking described Mediation Device to distribute idle control appliance ID to described first control appliance from the control appliance ID pond of described Mediation Device, the control appliance ID of described free time refers to and is not yet assigned to that arbitrary control appliance uses.
Further, alternatively, before described communication interface 602 sends request to described Mediation Device, also comprise:
When described first control appliance starts, described processor 604 reads configuration file, and described configuration file comprises described control appliance ID pond.
Described communication interface 602 sends described control appliance ID pond to described Mediation Device.
In the present embodiment, description and the embodiment one of the ID of described forwarding unit, the ID of described first control appliance are consistent, and repeat no more herein.
What deserves to be explained is, each functional unit of the control appliance that the embodiment of the present invention six provides, is the specific implementation of the method provided based on embodiment two, the definition of term and to illustrate and embodiment one is consistent, and repeats no more herein.
The embodiment of the present invention six provides a kind of control appliance for improving reliability, and described control appliance is the first control appliance, sends associating of the mark ID of this first control appliance and the ID of certain forwarding unit by communication interface to Mediation Device; The first Role Information is obtained by processor; Receive notice by this communication interface from this Mediation Device, upgrade to the primary control equipment of this forwarding unit, thus contribute to solving the problem that forwarding unit is considered to two master.
Embodiment seven,
Please refer to Fig. 7, one embodiment of the present of invention provide a kind of Mediation Device 700, and this Mediation Device 700 can be micro-process computer.Such as: this Mediation Device 700 can be the one in the portable equipments such as all-purpose computer, customization machine, mobile phone terminal or purl machine.This second control appliance 700 comprises: processor 704, memory 706, communication interface 702 and bus 708.Processor 704, memory 706 and communication interface 702 are connected by bus 708 and complete mutual communication.
Described bus 708 can be industry standard architecture (Industry StandardArchitecture, referred to as ISA) bus or peripheral component interconnect (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry StandardArchitecture, referred to as EISA) bus etc.Described bus can comprise in address bus, data/address bus, control bus one or more.For ease of representing, only representing with a thick line in Fig. 7, but not representing the bus only having a bus or a type.
Memory 706 is for stores executable programs code, and this program code comprises computer-managed instruction.This program code is for completing step 101 ~ 103 of embodiment three.Memory 706 can comprise high-speed RAM (Ramdom Access Memory) memory.Alternatively, memory 706 can also comprise nonvolatile memory (non-volatile memory).Such as memory 706 can comprise magnetic disc store.
Processor 704 can be central processing unit (Central Processing Unit, referred to as CPU), or processor 704 can be specific integrated circuit (Application Specific IntegratedCircuit, referred to as ASIC), or processor 704 can be the one or more integrated circuits being configured to implement the embodiment of the present invention.
Communication interface 702, receives associating and receiving the operation that associate of the ID of described first control appliance with the ID of described forwarding unit from the first control appliance of the described mark ID of the second control appliance and the ID of forwarding unit for performing in embodiment five from the second control appliance.
Described memory 706 is for preserving described forwarding unit and the related information of equipment controlling described forwarding unit, and described related information comprises associating of the ID three of the ID of described forwarding unit, the ID of described second control appliance and described first control appliance.
Processor 704, for reading the instruction stored in memory 706, thus determines described second control appliance fault in execution embodiment five; Upgrade described forwarding unit and the operation of related information of equipment controlling described forwarding unit, the related information after described renewal comprises associating of the ID of described forwarding unit and the ID of described first control appliance.
Described memory 706 is also for preserving the related information after described renewal.
Described communication interface 702 is also noticed for sending to described first control appliance.
Described communication interface 702 is also for sending the 3rd Role Information to the 3rd control appliance, and described first control appliance of described 3rd Role Information instruction is the primary control equipment of described forwarding unit.
Alternatively, described Mediation Device may be used for determining the second Role Information and the first Role Information, comprising:
Described processor 704 is also for be blank according to control appliance id information corresponding to described forwarding unit ID preserved, the described forwarding unit of described blank instruction does not have corresponding control appliance, then determine described second Role Information, described second control appliance of described second Role Information instruction is the primary control equipment controlling described forwarding unit.
Described communication interface 702 is also for sending described second Role Information to described second control appliance.
Described processor 704 is also the ID of described second control appliance for the control appliance id information corresponding according to the described forwarding unit ID preserved, then determine described first Role Information, described first control appliance of described first Role Information instruction is the backup control equipment controlling described forwarding unit.
Described communication interface 702 is also for sending described first Role Information to described first control appliance.
Further, alternatively, described first control appliance of described notice instruction is the primary control equipment controlling described forwarding unit.
Alternatively, control appliance id information corresponding for described forwarding unit ID can be sent to described first control appliance and described second control appliance by described Mediation Device respectively, calculates described first Role Information and described second Role Information of described second control appliance calculating by described first control appliance.
Then described communication interface 702 is also for receiving request from described second control appliance, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described second control appliance; Control appliance id information corresponding to described forwarding unit ID is sent to described second control appliance.
Described communication interface 702, also for receiving request from described first control appliance, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance; Control appliance id information corresponding to described forwarding unit ID is sent to described first control appliance.
Further, alternatively, the described second control appliance fault of described notice instruction.
Alternatively, described communication interface 702 is also for before obtaining the first Role Information at the first control appliance, receive the request that described first control appliance is sent, for asking described Mediation Device to distribute idle control appliance ID to described first control appliance from the control appliance ID pond of described Mediation Device, the control appliance ID of described free time refers to and is not yet assigned to that arbitrary control appliance uses.
Described communication interface 702 is also for before obtaining the second Role Information at the second control appliance, receive the request that described second control appliance is sent, for asking described Mediation Device to distribute idle control appliance ID to described second control appliance from the control appliance ID pond of described Mediation Device, the control appliance ID of described free time refers to and is not yet assigned to that arbitrary control appliance uses.
Alternatively, described communication interface 702, also for after described forwarding unit and described first control appliance establish annexation, receives the described control appliance ID pond that described first control appliance or described second control appliance are sent.
Described control appliance ID pond preserved by described memory 706.
Wherein, the ID of described forwarding unit is for identifying described forwarding unit, and the ID of described first control appliance is for identifying described first control appliance, and the ID of described second control appliance is for identifying described second control appliance.
Alternatively, the ID of described first control appliance is IP address, and described IP address can be distributed by described control appliance ID pond and reclaim; The ID of described forwarding unit is IP address.
In the present embodiment, description and the embodiment one of the ID of described forwarding unit, the ID of described first control appliance are consistent, and repeat no more herein.
The embodiment of the present invention seven provides a kind of Mediation Device for improving reliability, associating of the described mark ID of the second control appliance and the ID of forwarding unit is received from the second control appliance by communication interface, receive associating of the ID of described first control appliance and the ID of described forwarding unit from the first control appliance, preserve the related information of described forwarding unit and the equipment of the described forwarding unit of control; Described second control appliance fault is determined by processor; By the related information of forwarding unit described in update processor with the equipment of the described forwarding unit of control; Noticed to described first control appliance transmission by communication interface, and send the 3rd Role Information to the 3rd control appliance, thus contribute to solving the problem that forwarding unit is considered to two master.
The present invention program can describe in the general context of computer executable instructions, such as program unit.Usually, program unit comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the present invention program in a distributed computing environment, in these distributed computing environment (DCE), be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program unit can be arranged in the local and remote computer-readable storage medium comprising memory device.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiment.Especially, for device embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Being described in detail the embodiment of the present invention above, applying embodiment herein to invention has been elaboration, the explanation of above embodiment just understands method and apparatus of the present invention for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (24)

1. for improving a system for reliability, it is characterized in that, described system comprises the first control appliance, the second control appliance, the 3rd control appliance, Mediation Device and forwarding unit;
Described second control appliance is used for sending associating of the mark ID of described second control appliance and the ID of described forwarding unit to described Mediation Device; Obtain the second Role Information, described second control appliance of described second Role Information instruction is the primary control equipment controlling described forwarding unit;
Described first control appliance is used for sending associating of the ID of described first control appliance and the ID of described forwarding unit to described Mediation Device; Obtain the first Role Information, described first control appliance of described first Role Information instruction is the backup control equipment controlling described forwarding unit;
Described Mediation Device is for preserving described forwarding unit and the related information of equipment controlling described forwarding unit, and described related information comprises associating of the ID three of the ID of described forwarding unit, the ID of described second control appliance and described first control appliance;
Described Mediation Device is also for determining described second control appliance fault; Upgrade described forwarding unit and the related information of equipment controlling described forwarding unit, the related information after renewal comprises associating of the ID of described forwarding unit and the ID of described first control appliance; Send to described first control appliance and notice;
Described first control appliance also for receiving described notice, upgrades to the primary control equipment of described forwarding unit;
Described 3rd control appliance is used for obtaining from described Mediation Device the primary control equipment that described first control appliance is described forwarding unit.
2. system according to claim 1, it is characterized in that, described Mediation Device is also for establishing a connection with described first control appliance, establish a connection with described second control appliance, and establish a connection with described 3rd control appliance, there is not annexation between described Mediation Device and described forwarding unit.
3. system according to claim 1 and 2, is characterized in that,
Described second control appliance, also for sending request to described Mediation Device, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described second control appliance;
Described second control appliance is also for receiving control appliance id information corresponding to described forwarding unit ID that described Mediation Device sends, the control appliance id information that described forwarding unit ID is corresponding is blank, the described forwarding unit of described blank instruction does not have corresponding control appliance, then determine described second Role Information;
Described first control appliance, also for sending request to described Mediation Device, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance;
Described first control appliance is also for receiving control appliance id information corresponding to described forwarding unit ID that described Mediation Device sends, the control appliance id information that described forwarding unit ID is corresponding is the ID of described second control appliance, then determine described first Role Information.
4. according to the arbitrary described system of claims 1 to 3, it is characterized in that, the described second control appliance fault of described notice instruction;
Described first control appliance is before receiving described notice, also for obtaining the information of forwarding unit that described first control appliance controls, described information comprises associating of the ID three of the ID of described first control appliance, the ID of described forwarding unit and described second control appliance;
Described first control appliance is after receiving described notice, also for upgrading the information of the forwarding unit that described first control appliance controls, information after renewal comprises associating of the ID of described first control appliance and the ID of described forwarding unit, and described first control appliance of information instruction after described renewal is the primary control equipment of described forwarding unit.
5. system according to claim 1 and 2, is characterized in that,
Described Mediation Device is also for be blank according to the id information of control appliance corresponding to the ID of described forwarding unit preserved, and the described forwarding unit of described blank instruction does not have the control appliance of correspondence, then determine described second Role Information; And send described second Role Information to described second control appliance;
The ID of described Mediation Device also for according to the id information of control appliance corresponding to the ID of described forwarding unit preserved being described second control appliance, then determine described first Role Information; And send described first Role Information to described first control appliance.
6. the system according to claim 1 or 2 or 5, is characterized in that, described first control appliance of described notice instruction is the primary control equipment controlling described forwarding unit.
7. for improving a method for reliability, it is characterized in that, comprising:
First control appliance sends associating of the described mark ID of the first control appliance and the ID of forwarding unit to Mediation Device; Obtain the first Role Information, described first control appliance of described first Role Information instruction is the backup control equipment controlling described forwarding unit;
Described first control appliance receives from described Mediation Device and notices, and upgrades to the primary control equipment of described forwarding unit.
8. method according to claim 7, is characterized in that, described first control appliance is used for establishing a connection with described Mediation Device, and establishes a connection with described forwarding unit, there is not annexation between described Mediation Device and described forwarding unit.
9. the method according to claim 7 or 8, is characterized in that, described acquisition first Role Information comprises:
Described first control appliance sends request to described Mediation Device, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance;
Described first control appliance receives control appliance id information corresponding to described forwarding unit ID that described Mediation Device sends, and the control appliance id information that described forwarding unit ID is corresponding is the ID of described second control appliance, then determine described first Role Information;
Or,
Described first control appliance receives described first Role Information sent from described Mediation Device.
10. method according to claim 9, is characterized in that, the described second control appliance fault of described notice instruction, and described method also comprises:
Described first control appliance is before receiving described notice, obtain the information of forwarding unit that described first control appliance controls, described information comprises associating of the ID three of the ID of described first control appliance, the ID of described forwarding unit and described second control appliance;
Described first control appliance after receiving the advertisement, upgrade the information of the forwarding unit that described first control appliance controls, information after renewal comprises associating of the ID of described first control appliance and the ID of described forwarding unit, and described first control appliance of information instruction after described renewal is the primary control equipment of described forwarding unit.
11. 1 kinds for improving the method for reliability, is characterized in that, comprising:
Mediation Device receives associating of the described mark ID of the second control appliance and the ID of forwarding unit from the second control appliance;
Described Mediation Device receives associating of the ID of described first control appliance and the ID of described forwarding unit from the first control appliance;
Described Mediation Device is for preserving described forwarding unit and the related information of equipment controlling described forwarding unit, and described related information comprises associating of the ID three of the ID of described forwarding unit, the ID of described second control appliance and described first control appliance;
Described Mediation Device is also for determining described second control appliance fault; Upgrade described forwarding unit and the related information of equipment controlling described forwarding unit, the related information after renewal comprises associating of the ID of described forwarding unit and the ID of described first control appliance; Send to described first control appliance and notice;
Described Mediation Device sends the 3rd Role Information to the 3rd control appliance, and described first control appliance of described 3rd Role Information instruction is the primary control equipment of described forwarding unit.
12. methods according to claim 11, is characterized in that, also comprise:
Described Mediation Device and described first control appliance establish a connection, and establish a connection with described second control appliance, and establish a connection with described 3rd control appliance, there is not annexation between described Mediation Device and described forwarding unit.
13. methods according to claim 11 or 12, is characterized in that, also comprise:
Described Mediation Device is also for be blank according to control appliance id information corresponding to described forwarding unit ID preserved, the described forwarding unit of described blank instruction does not have corresponding control appliance, then determine described second Role Information, described second control appliance of described second Role Information instruction is the primary control equipment controlling described forwarding unit; And send described second Role Information to described second control appliance;
Described Mediation Device is also the ID of described second control appliance for the control appliance id information corresponding according to the described forwarding unit ID preserved, then determine described first Role Information, described first control appliance of described first Role Information instruction is the backup control equipment controlling described forwarding unit; And send described first Role Information to described first control appliance.
14. methods according to claim 13, is characterized in that, described first control appliance of described notice instruction is the primary control equipment controlling described forwarding unit.
15. methods according to claim 11 or 12, is characterized in that, also comprise:
Described Mediation Device receives request from described second control appliance, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described second control appliance; Control appliance id information corresponding to described forwarding unit ID is sent to described second control appliance;
Described Mediation Device receives request from described first control appliance, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance; Control appliance id information corresponding to described forwarding unit ID is sent to described first control appliance.
16. methods according to claim 11 or 12 or 15, is characterized in that, the described second control appliance fault of described notice instruction.
17. 1 kinds of control appliances improving reliability, described control appliance, as the first control appliance, is characterized in that, comprises processing unit and communication unit, wherein,
Described communication unit is used for sending associating of the described ID of the first control appliance and the mark ID of forwarding unit to Mediation Device;
Described processing unit is for obtaining the first Role Information, and described first control appliance of described first Role Information instruction is the backup control equipment controlling described forwarding unit;
Described communication unit is also noticed for receiving from described Mediation Device;
Described processing unit is also the primary control equipment of described forwarding unit for described first control appliance of upgrading.
18. control appliances according to claim 17, is characterized in that, described processing unit comprises for obtaining the first Role Information:
Described processing unit sends request to described Mediation Device, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance;
Described communication unit is also for receiving control appliance id information corresponding to described forwarding unit ID that described Mediation Device sends, the control appliance id information that described forwarding unit ID is corresponding is the ID of described second control appliance, then described processing unit is also for determining described first Role Information;
Or,
Described communication unit is also for receiving described first Role Information sent from described Mediation Device.
19. control appliances according to claim 17 or 18, is characterized in that, the described second control appliance fault of described notice instruction;
Described processing unit is also for before receiving described notice, obtain the information of forwarding unit that described first control appliance controls, described information comprises associating of the ID three of the ID of described first control appliance, the ID of described forwarding unit and described second control appliance;
Described processing unit is also for after receiving the advertisement, upgrade the information of the forwarding unit that described first control appliance controls, information after renewal comprises associating of the ID of described first control appliance and the ID of described forwarding unit, and described first control appliance of information instruction after described renewal is the primary control equipment of described forwarding unit;
Or,
Described first control appliance of described notice instruction is the primary control equipment controlling described forwarding unit.
20. 1 kinds of Mediation Devices improving reliability, is characterized in that, comprise processing unit, communication unit and memory cell, wherein,
Described communication unit is used for receiving associating of the described mark ID of the second control appliance and the ID of forwarding unit from the second control appliance;
Described communication unit is also for receiving associating of the ID of described first control appliance and the ID of described forwarding unit from the first control appliance;
Described memory cell is for preserving described forwarding unit and the related information of equipment controlling described forwarding unit, and described related information comprises associating of the ID three of the ID of described forwarding unit, the ID of described second control appliance and described first control appliance;
Described processing unit is also for determining described second control appliance fault; Upgrade described forwarding unit and the related information of equipment controlling described forwarding unit, the related information after renewal comprises associating of the ID of described forwarding unit and the ID of described first control appliance;
Described memory cell is also for preserving the related information after described renewal;
Described communication unit is also noticed for sending to described first control appliance;
Described communication unit is also for sending the 3rd Role Information to the 3rd control appliance, and described first control appliance of described 3rd Role Information instruction is the primary control equipment of described forwarding unit.
21. Mediation Devices according to claim 20, is characterized in that,
Described processing unit is also for be blank according to control appliance id information corresponding to described forwarding unit ID preserved, the described forwarding unit of described blank instruction does not have corresponding control appliance, then determine described second Role Information, described second control appliance of described second Role Information instruction is the primary control equipment controlling described forwarding unit;
Described communication unit is also for sending described second Role Information to described second control appliance;
Described processing unit is also the ID of described second control appliance for the control appliance id information corresponding according to the described forwarding unit ID preserved, then determine described first Role Information, described first control appliance of described first Role Information instruction is the backup control equipment controlling described forwarding unit;
Described communication unit is also for sending described first Role Information to described first control appliance.
22. Mediation Devices according to claim 20 or 21, is characterized in that, described first control appliance of described notice instruction is the primary control equipment controlling described forwarding unit.
23. Mediation Devices according to claim 20, is characterized in that,
Described communication unit, also for receiving request from described second control appliance, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described second control appliance; Control appliance id information corresponding to described forwarding unit ID is sent to described second control appliance;
Described communication unit, also for receiving request from described first control appliance, sends control appliance id information corresponding to the described forwarding unit ID that preserves in described Mediation Device for asking described Mediation Device to described first control appliance; Control appliance id information corresponding to described forwarding unit ID is sent to described first control appliance.
24. Mediation Devices according to claim 20 or 21 or 23, is characterized in that, the described second control appliance fault of described notice instruction.
CN201410675917.1A 2014-11-21 2014-11-21 For improving method, the network equipment and the system of reliability Active CN104539442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410675917.1A CN104539442B (en) 2014-11-21 2014-11-21 For improving method, the network equipment and the system of reliability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410675917.1A CN104539442B (en) 2014-11-21 2014-11-21 For improving method, the network equipment and the system of reliability

Publications (2)

Publication Number Publication Date
CN104539442A true CN104539442A (en) 2015-04-22
CN104539442B CN104539442B (en) 2018-04-20

Family

ID=52854912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410675917.1A Active CN104539442B (en) 2014-11-21 2014-11-21 For improving method, the network equipment and the system of reliability

Country Status (1)

Country Link
CN (1) CN104539442B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017054181A1 (en) * 2015-09-30 2017-04-06 华为技术有限公司 Processing method, apparatus and system for service flow processing policy

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103117876A (en) * 2013-01-24 2013-05-22 中兴通讯股份有限公司 User state information synchronizing method and device
CN103731811A (en) * 2012-10-11 2014-04-16 中兴通讯股份有限公司 Method and system for achieving mobility management of evolved packet core network
CN103929333A (en) * 2014-05-08 2014-07-16 陈桂芳 Implementation method for SDN controller pool
EP2790421A1 (en) * 2013-04-12 2014-10-15 Compal Broadband Networks Inc. Network settings synchronization method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731811A (en) * 2012-10-11 2014-04-16 中兴通讯股份有限公司 Method and system for achieving mobility management of evolved packet core network
CN103117876A (en) * 2013-01-24 2013-05-22 中兴通讯股份有限公司 User state information synchronizing method and device
EP2790421A1 (en) * 2013-04-12 2014-10-15 Compal Broadband Networks Inc. Network settings synchronization method
CN103929333A (en) * 2014-05-08 2014-07-16 陈桂芳 Implementation method for SDN controller pool

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017054181A1 (en) * 2015-09-30 2017-04-06 华为技术有限公司 Processing method, apparatus and system for service flow processing policy
US10530699B2 (en) 2015-09-30 2020-01-07 Huawei Technologies Co., Ltd. Processing method, apparatus, and system for a service flow processing policy

Also Published As

Publication number Publication date
CN104539442B (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN106301876B (en) Physical machine upgrade method, business migration method and device
CN104104572A (en) Automatic deploying method and device for switch in SDN network
CN101739287A (en) Device, system and method for managing virtual machines
JP6563187B2 (en) Distributed control system, control device, and control method
CN105528272A (en) Server system and related control method thereof
CN105204880B (en) computer system and setting method of basic input and output system
WO2022127504A1 (en) Network element management method and apparatus, and storage medium
CN104301140A (en) Service request responding method, device and system
CN104754013A (en) Cloud computing platform network resource control method, device and system
CN102957623B (en) A kind of maintaining method of neighborhood of border gate protocol and equipment
RU2018138001A (en) VISUALIZATION SYSTEM AND COMMUNICATION PLATFORM FOR COMMUNICATION BETWEEN NUMBER OF NODES OF THE VISUALIZATION SYSTEM
CN104394018A (en) Communication device and active-standby system data online exchange method for hot master control panel backup
CN105808374A (en) Snapshot processing method and associated equipment
CN104519138B (en) A kind of data transmission method and system based on distributed FTP
CN104579889A (en) Method and device for calling NF (network function)
CN104267985A (en) Software loading method and device
CN105487621A (en) Electronic device
CN110851186B (en) Network equipment restarting method and device, electronic equipment and readable storage medium
CN104539442A (en) Method, network equipment and system for enhancing reliability
CN108427560A (en) API file management methods, server and storage medium
CN104092661A (en) Serial port communication method and apparatus of virtual machines
CN103118248A (en) Monitoring method, monitoring agency, monitoring server and monitoring system
CN108833177A (en) Virtual switch management method and main control card
CN104104594A (en) Methods of transmitting and receiving protocol message of VSU, devices and system
CN107635023A (en) Address management method, device, storage medium and terminal

Legal Events

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