CN101815315B - Redundancy backup swap method, device and system - Google Patents
Redundancy backup swap method, device and system Download PDFInfo
- Publication number
- CN101815315B CN101815315B CN201010132701.2A CN201010132701A CN101815315B CN 101815315 B CN101815315 B CN 101815315B CN 201010132701 A CN201010132701 A CN 201010132701A CN 101815315 B CN101815315 B CN 101815315B
- Authority
- CN
- China
- Prior art keywords
- priority
- value
- routing equipment
- parameter
- standby routing
- 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.)
- Expired - Fee Related
Links
Abstract
The embodiment of the invention relates to the wireless communication technology, in particular to a redundancy backup swap method, a redundancy backup swap device and a redundancy backup swap system, which are used for realizing quick and accurate swap of master and standby routing equipment and improving overall fault-tolerant capability of the routing equipment. The method comprises the following steps of: calculating the priority of the standby routing equipment according to priority values corresponding to parameters of the standby routing equipment, weight values corresponding to the parameters and an equipment priority value configured by a user; and when a message sent by the master routing equipment is not detected in preset time, swapping the standby routing equipment with the highest priority into the master routing equipment.
Description
Technical field
The present invention relates to wireless communication technology, particularly a kind of redundancy backup swap method, device and system.
Background technology
Restorative and redundancy has become the key characteristic in current local area network (LAN).For this reason, IETF (InternetEngineering Task Force, Internet Engineering Task group) formulate VRRP (Virtual RouterRedundancy Protocol, Virtual Router Redundancy Protocol), this protocol application is in as the layer-3 switch on static configuration default gateway, and the terminal system of carrying out wide area network access for relying on default gateway or accessing other local area network (LAN) net territory provides faster, more effective redundancy fault-tolerant ability.
In the wavelength-division supervisory control system of prior art; main control device carries out information interaction by fixing routing device and terminal system; because routing device is fixing; when it breaks down and cannot normally work; main control device and terminal system cannot carry out information interaction; whole network element will take off pipe, and protecting control passage also can be obstructed.
Summary of the invention
The embodiment of the present invention provides a kind of redundancy backup swap method, device and system, switches fast and accurately in order to realize master-slave back-up route apparatus, improves the overall fault-tolerant ability of routing device.
The embodiment of the present invention provides a kind of redundancy backup swap method, and the method comprises:
The priority of described standby routing equipment is calculated according to the product of weighted value corresponding to priority value corresponding to the parameter of described standby routing equipment, described parameter, user's configuration identifier three and user configured priority facility value sum, wherein, the priority value that the parameter of described standby routing equipment is corresponding specifically comprises: the value obtaining described parameter, the codomain at the value determining described parameter place in the mapping table, obtains the priority value that described codomain is corresponding; The parameter of described standby routing equipment specifically comprises: the temperature of Center Processing Unit Utilization, standby routing equipment; When described user configured priority facility value exists, the value of described user's configuration identifier is 0;
Exceed the scheduled time do not detect main routing device send message time, described standby routing equipment the highest for priority being switched is main routing device.
The embodiment of the present invention provides a kind of redundancy backup swap device, and this device comprises:
First priority computing module, for calculating the priority of described standby routing equipment according to priority value corresponding to the parameter of standby routing equipment and weighted value corresponding to described parameter and user configured priority facility value, wherein, described first priority computing module comprises: parameter acquiring submodule, for obtaining the parameter of standby routing equipment; Parameter priority value obtains submodule, the priority value that the standby routing equipment parameter for obtaining the acquisition of described parameter acquiring submodule is corresponding; Weighted value obtains submodule, the weighted value that the standby routing equipment parameter for getting the acquisition of described parameter acquiring submodule is corresponding; Preset priority levels obtains submodule, for obtaining user configured priority facility value; Calculating sub module, calculates the priority value of standby routing equipment for the value obtaining submodule according to described parameter priority value, weighted value obtains submodule and preset priority levels acquisition submodule obtains;
Switch module, for exceed the scheduled time do not detect main routing device send message time, described standby routing equipment the highest for priority being switched is main routing device.
The embodiment of the present invention provides a kind of system of redundancy backup swap, comprises main control unit, data transmission unit and terminal management unit, it is characterized in that, by described data transmission unit transmission information between described main control unit and described terminal management unit;
Described data transmission unit comprises: redundancy backup swap device and routing device;
Wherein, described redundancy backup swap device comprises:
First priority computing module, for calculating the priority of described standby routing equipment according to priority value corresponding to the parameter of standby routing equipment and weighted value corresponding to described parameter and user configured priority facility value, wherein, described first priority computing module comprises: described parameter acquiring submodule, for obtaining the parameter of standby routing equipment; Parameter priority value obtains submodule, the priority value that the standby routing equipment parameter for obtaining the acquisition of described parameter acquiring submodule is corresponding; Weighted value obtains submodule, the weighted value that the standby routing equipment parameter for getting the acquisition of described parameter acquiring submodule is corresponding; Preset priority levels obtains submodule, for obtaining user configured priority facility value; Calculating sub module, calculates the priority value of standby routing equipment for the value obtaining submodule according to described parameter priority value, weighted value obtains submodule and preset priority levels acquisition submodule obtains;
Switch module, for exceed the scheduled time do not detect main routing device send message time, described standby routing equipment the highest for priority being switched is main routing device.
The redundancy backup swap method that the embodiment of the present invention provides, device and system, the weighted value corresponding with this parameter for the priority value corresponding according to the parameter of standby routing equipment and user configured priority facility value calculate the priority of this standby routing equipment; Exceed the scheduled time do not detect main routing device send message time, standby routing equipment the highest for priority being switched is main routing device.The methods, devices and systems that the embodiment of the present invention provides when variation in plant parameters, can dynamically update the priority of equipment, with the requirement of satisfied intelligent redundancy backup.When the priority simultaneously obtained according to routing device dynamic parameter is equal, priority facility is determined again in the subrack residing for routing device and slot, realizes the difference of compatible dissimilar routing device slot function.By dynamically updating route priority facility, provide the ability of Intelligent redundant backup, master-slave back-up route apparatus can be realized and switch rapidly and accurately, improve the overall fault-tolerant ability of routing device.
Accompanying drawing explanation
Fig. 1 is the method flow schematic diagram of redundancy backup swap in the embodiment of the present invention;
Fig. 2 is the method flow schematic diagram of redundancy backup swap in the embodiment of the present invention;
Fig. 3 is the structural representation of redundancy backup swap device in the embodiment of the present invention;
Fig. 4 is the structural representation of redundancy backup swap system in the embodiment of the present invention;
Fig. 5 is the structural representation of data transmission unit in redundancy backup swap system in the embodiment of the present invention.
Embodiment
Below in conjunction with each accompanying drawing, the main of embodiment of the present invention technical scheme is realized principle, embodiment and set forth in detail the beneficial effect that should be able to reach.
As shown in Figure 1, be a kind of redundancy backup swap method that the embodiment of the present invention provides, the method comprises the following steps:
Step 101, calculate the priority of standby routing equipment according to priority value corresponding to the parameter of standby routing equipment and weighted value corresponding to this parameter and user configured priority facility value;
Step 102, exceed the scheduled time do not detect main routing device send message time, standby routing equipment the highest for priority being switched is main routing device.
After redundancy backup swap device starts, for supporting the standby routing equipment configuration virtual IP address of redundant backup function, add virtual port.Then weighted value corresponding to priority value corresponding to the parameter of standby routing equipment, this parameter and user configured priority facility value is obtained, and then obtain the priority of this standby routing equipment, wherein, the priority value that parameter is corresponding and weighted value corresponding to parameter can obtain according to predetermined mapping table, concrete, value getparms, the codomain at the value determining this parameter place in the mapping table, then obtains priority value corresponding to codomain.When obtaining priority, calculate the priority of this standby routing equipment according to the product of priority value corresponding to the parameter of this standby routing equipment and weighted value corresponding to this parameter and user's configuration identifier and user configured priority facility value sum.Wherein, the priority value that the parameter of this standby routing equipment is corresponding specifically comprises: the value obtaining this parameter, and the codomain at the value determining this parameter place in the mapping table, obtains the priority value that this codomain is corresponding.If priority facility value that user is pre-configured, then the value of user's configuration identifier is 0.Difference as the case may be, can revise accordingly to above-mentioned acquisition formula.
The parameter of standby routing equipment includes but not limited to Center Processing Unit Utilization, standby routing equipment temperature.Because the parameters such as Center Processing Unit Utilization, standby routing equipment temperature are dynamic changes, therefore, the priority value of its correspondence can be determined according to the scope at the value place in its a certain moment.The weighted value that Center Processing Unit Utilization is corresponding is greater than weighted value corresponding to standby routing equipment temperature, and the priority value of Center Processing Unit Utilization lower than predetermined threshold time, the priority value of this standby routing equipment is set to priority minimum; When the weighted value that standby routing equipment temperature is corresponding is greater than weighted value corresponding to Center Processing Unit Utilization, and the priority value of standby routing equipment temperature lower than predetermined threshold time, the priority value of this standby routing equipment is set to priority minimum.The standby routing equipment be not suitable for as main routing device can be got rid of like this, and then determine that switching is the standby routing equipment of main routing device faster.If time identical according to multiple standby routing equipment priority of the gain of parameter of standby routing equipment, can according to the subrack at standby routing equipment place number and slot number determination priority.Subrack is number less, and standby routing equipment priority is higher, and when subrack is number identical, slot number is less, and standby routing equipment priority is higher.
Main routing device carries out information interaction with redundancy backup swap device in real time or regularly, when exceeding scheduled time redundancy backup swap device and not receiving the message of main routing device transmission yet, can judge that this main routing device quits work, now, standby routing equipment the highest for priority can be switched is main routing device.The out-of-work reason of main routing device can for main road broken down by equipment or the priority of main routing device lower than predetermined threshold value etc.
In addition, can also according to the time of delay of priority determination standby routing equipment, priority is higher, and time of delay is shorter, when terminating and the message that main routing device sends do not detected yet the time of delay of standby routing equipment, this standby routing equipment being switched is main routing device.Certainly, directly can specify that to switch be the standby routing equipment of main routing device, this main routing device continues transmission information between main control device and terminal management apparatus.When main like this routing device cannot normally work, it is main routing device that standby routing equipment can be switched in time, guarantees smooth transmission information between main control device and terminal management apparatus.
As can be seen from the above description, according to the embodiment of the present invention when variation in plant parameters, the priority of equipment is dynamically updated, with the requirement of satisfied intelligent redundancy backup.When the priority simultaneously obtained according to routing device dynamic parameter is equal, priority facility is determined again in the subrack residing for routing device and slot, realizes the difference of compatible dissimilar routing device slot function.By dynamically updating route priority facility, provide the ability of Intelligent redundant backup, master-slave back-up route apparatus can be realized and switch fast and accurately, improve the overall fault-tolerant ability of routing device
Provide more specifically execution mode below, as shown in Figure 2, the method that the embodiment of the present invention provides is described, comprises the steps:
After step 201, redundancy backup swap device start, for supporting the standby routing equipment configuration virtual IP address of redundant backup function, add virtual port;
User configured priority facility value in step 202, acquisition standby routing equipment;
If there is user configured priority facility value, then user ID is set to 0; If there is not user configured priority facility value, then user ID is set to 1.
Step 203, acquisition standby routing equipment CPU usage, and obtain its priority value by mapping;
Because CPU usage is dynamic change, therefore when calculating the priority value of its correspondence, can map according to following table:
The average occupancy of CPU | The priority value priority_cpu mapped |
90%~71% | 0 |
70%~30% | 25 |
Less than 30% | 50 |
Namely according to the scope at the value place of CPU usage, the priority value that CPU usage is corresponding is determined.Numerical value more high priority is higher, and the numerical value in upper table and form are only an example, also can adopt other numerical value, the form that reach effect same.
The temperature of step 204, acquisition standby routing equipment, and obtain its priority value by mapping;
The temperature of standby routing equipment is also dynamic change, therefore, when calculating the priority value of its correspondence, can map according to following table:
Namely according to the scope at the value place of standby routing equipment temperature, the priority value that standby routing equipment temperature is corresponding is determined.Numerical value more high priority is higher, and the numerical value in upper table and form are only an example, also can adopt other numerical value, the form that reach effect same.
It should be noted that the step of the step obtaining standby routing equipment CPU usage and the temperature obtaining standby routing equipment does not have inevitable execution sequencing.
Step 205, obtain weighted value corresponding to the parameter of standby routing equipment;
The scope of each weighted value is as shown in the table:
Weight | Codomain |
Parameter 1weight1 | 1~5 |
Parameter 2weight2 | 1~10 |
This weighted value can be configured by user, if do not configure, can within the scope of codomain random selecting value.
The priority value of step 206, calculating standby routing equipment;
priority=user_set_priority+(priority_cpu*weightl+priority_temperature*weight2)*Flag
Illustrate: user_set_priority: user configured priority facility value;
The mapping priority value of priority_cpu:CPU occupancy;
Priority_temperature: the mapping priority value of device temperature;
Flag: user's configuration identifier;
When there is user configured priority facility value, Flag=0; When there is not user configured priority facility value, Flag=1.This computing formula is the example for illustrating cited by the method that the embodiment of the present invention provides, and as the case may be, can revise accordingly above-mentioned computing formula.
Step 207, compare weighted value corresponding to two parameter, when priority value corresponding to the parameter that weighted value is large is lower than predetermined threshold, the priority value of standby routing equipment is set to priority minimum;
The parameter of standby routing equipment includes but not limited to Center Processing Unit Utilization, standby routing equipment temperature.The weighted value that Center Processing Unit Utilization is corresponding is greater than weighted value corresponding to standby routing equipment temperature, and the priority value of Center Processing Unit Utilization lower than predetermined threshold time, the priority value of this standby routing equipment is set to priority minimum; When the weighted value that standby routing equipment temperature is corresponding is greater than weighted value corresponding to Center Processing Unit Utilization, and the priority value of standby routing equipment temperature lower than predetermined threshold time, the priority value of this standby routing equipment is set to priority minimum.Can determine that switching is the standby routing equipment of main routing device so faster.
Step 208, when identical according to multiple standby routing equipment priority values of gain of parameter, then determine its priority according to the subrack number of standby routing equipment and slot number; Subrack is number less, and standby routing equipment priority is higher, and when subrack is number identical, slot number is less, and standby routing equipment priority is higher.Subrack has master-slave, and general boss's frame number is 1, and other increase progressively successively from subrack number, each subrack has multiple slot for all kinds of veneer.
Step 209, exceed the scheduled time do not receive yet main routing device send message time, standby routing equipment the highest for priority being switched is main routing device.
Main routing device carries out information interaction with redundancy backup swap device in real time or regularly, when exceeding scheduled time redundancy backup swap device and not receiving the message of main routing device transmission yet, can judge that this main routing device quits work, now, standby routing equipment the highest for priority can be switched is main routing device.In addition, can also according to the time of delay of priority determination alternate device, the standby routing equipment that priority is higher, time of delay is shorter, is 0 when time of delay, and at the end of namely postponing, this standby routing equipment being switched is main routing device.It should be noted that, the out-of-work reason of main routing device can for main road broken down by equipment or the priority of main routing device lower than predetermined threshold value.Calculate main road similar with the method calculating standby routing equipment priority value by the method for priority facility value, do not repeat them here.User also directly can specify the priority of main routing device and standby routing equipment, then redundant backup function is only come into force by equipment room at specified circuit, priority value no longer works, and does not recover after switching, and this main routing device continues transmission information between main control device and terminal management apparatus.When main like this routing device cannot normally work, it is main routing device that standby routing equipment can be switched in time, guarantees smooth transmission information between main control device and terminal management apparatus.
The redundant backup function related in the method that the embodiment of the present invention provides based on RFC2338, and is expanded its protocol contents.Wherein, the airtime interval, VID (VirtualRtr ID, virtual router ID) etc. of priority value, notification packet can manual configuration, inherit the flexibility of VRRP configuration, and achieve priority intelligent updating.
As can be seen from the above description, according to the embodiment of the present invention when the variations in temperature of equipment CPU usage and equipment, the priority of equipment is dynamically updated, with the requirement of satisfied intelligent redundancy backup.When the priority simultaneously obtained according to routing device dynamic parameter is equal, priority facility is determined again in the subrack residing for routing device and slot, realizes the difference of compatible dissimilar routing device slot function.By dynamically updating route priority facility, provide the ability of Intelligent redundant backup, master-slave back-up route apparatus can be realized and switch fast and accurately, improve the overall fault-tolerant ability of routing device.
Accordingly, the embodiment of the present invention additionally provides a kind of redundancy backup swap device, and its structure as shown in Figure 3, specifically comprises:
First priority computing module 301, the weighted value corresponding with this parameter for the priority value corresponding according to the parameter of standby routing equipment and user configured priority facility value calculate the priority of described standby routing equipment;
Switch module 302, for exceed the scheduled time do not detect main routing device send message time, standby routing equipment the highest for priority being switched is main routing device.
Preferably, this first priority computing module 301 comprises:
Parameter acquiring submodule 3011, for obtaining the parameter of standby routing equipment;
Parameter priority value obtains submodule 3012, the priority value that the standby routing equipment parameter for obtaining the acquisition of described parameter acquiring submodule 3011 is corresponding;
Weighted value obtains submodule 3013, the weighted value that the standby routing equipment parameter for getting the acquisition of described parameter acquiring submodule 3011 is corresponding;
Preset priority levels obtains submodule 3014, for obtaining user configured priority facility value;
Calculating sub module 3015, calculates the priority value of standby routing equipment for the value obtaining submodule 3012 according to described parameter priority value, weighted value obtains submodule 3013 and preset priority levels acquisition submodule 3014 obtains.
Preferably, this redundancy backup swap device also comprises: the second priority computing module 303, when the priority of the multiple standby routing equipment obtained for described first priority computing module 301 is identical, according to subrack number and the slot number determination priority at described standby routing equipment place.
Preferably, this redundancy backup swap device also comprises: time delay module 304, and the priority determination standby routing equipment for calculating according to described first priority computing module 301 or the second priority computing module 303 is switched to the time of delay of main routing device.
Preferably, this redundancy backup swap device also comprises: detection module 305, for detect main routing device send message, exceed the scheduled time do not detect main routing device send message time, switch module 302 described in notice.
Preferably, this redundancy backup swap device can be positioned at data transmission unit.
As can be seen from the above description, dynamically update the priority of equipment according to the embodiment of the present invention, with the requirement of satisfied intelligent redundancy backup.When the priority simultaneously obtained according to routing device dynamic parameter is equal, priority facility is determined again in the subrack residing for routing device and slot, realizes the difference of compatible dissimilar routing device slot function.By dynamically updating route priority facility, provide the ability of Intelligent redundant backup, master-slave back-up route apparatus can be realized and switch fast and accurately, improve the overall fault-tolerant ability of routing device.
Accordingly, the embodiment of the present invention additionally provides a kind of redundancy backup swap system, and its structure as shown in Figure 4, specifically comprises: main control unit 41, data transmission unit 42 and terminal management unit 43.By data transmission unit 42 transmission information between main control unit 41 and terminal management unit 43;
As shown in Figure 5, data transmission unit 42 comprises: redundancy backup swap device 421 and routing device 422, described redundancy backup swap device 421, for calculating the priority of described standby routing equipment according to priority value corresponding to the parameter of standby routing equipment and weighted value corresponding to described parameter and user configured priority facility value; Exceed the scheduled time do not detect main routing device send message time, standby routing equipment the highest for priority being switched is main routing device.
Described redundancy backup swap device 421 comprises:
First priority computing module 4211, for calculating the priority of described standby routing equipment according to priority value corresponding to the parameter of standby routing equipment and weighted value corresponding to described parameter and user configured priority facility value;
Switch module 4212, for exceed the scheduled time do not detect main routing device send message time, standby routing equipment the highest for priority being switched is main routing device.
Preferably, this first priority computing module 4211 comprises:
Parameter acquiring submodule, for obtaining the parameter of standby routing equipment;
Parameter priority value obtains submodule, the priority value that the standby routing equipment parameter for obtaining the acquisition of described parameter acquiring submodule is corresponding;
Weighted value obtains submodule, the weighted value that the standby routing equipment parameter for getting the acquisition of described parameter acquiring submodule is corresponding;
Preset priority levels obtains submodule, for obtaining user configured priority facility value;
Calculating sub module, calculates the priority value of standby routing equipment for the value obtaining submodule according to described parameter priority value, weighted value obtains submodule and preset priority levels acquisition submodule obtains.
Preferably, this redundancy backup swap device also comprises: the second priority computing module 4213, when the priority of the multiple standby routing equipment obtained for described first priority computing module 4211 is identical, according to subrack number and the slot number determination priority at described standby routing equipment place.
Preferably, this redundancy backup swap device also comprises: time delay module 4214, and the priority determination standby routing equipment for calculating according to described first priority computing module 4211 or the second priority computing module 4213 is switched to the time of delay of main routing device.
Preferably, this redundancy backup swap device also comprises: detection module 4215, for detect main routing device send message, exceed the scheduled time do not detect main routing device send message time, switch module 4212 described in notice.
As can be seen from the above description, dynamically update the priority of equipment according to the embodiment of the present invention, with the requirement of satisfied intelligent redundancy backup.When the priority simultaneously obtained according to routing device dynamic parameter is equal, priority facility is determined again in the subrack residing for routing device and slot, realizes the difference of compatible dissimilar routing device slot function.By dynamically updating route priority facility, provide the ability of Intelligent redundant backup, master-slave back-up route apparatus can be realized and switch fast and accurately, improve the overall fault-tolerant ability of routing device.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (7)
1. a redundancy backup swap method, is characterized in that, the method comprises:
The priority of described standby routing equipment is calculated according to the product of weighted value corresponding to priority value corresponding to the parameter of described standby routing equipment, described parameter, user's configuration identifier three and user configured priority facility value sum, wherein, the priority value that the parameter of described standby routing equipment is corresponding specifically comprises: the value obtaining described parameter, the codomain at the value determining described parameter place in the mapping table, obtains the priority value that described codomain is corresponding; The parameter of described standby routing equipment specifically comprises: the temperature of Center Processing Unit Utilization, standby routing equipment; When described user configured priority facility value exists, the value of described user's configuration identifier is 0;
Exceed the scheduled time do not detect main routing device send message time, described standby routing equipment the highest for priority being switched is main routing device.
2. the method for claim 1, it is characterized in that, the weighted value that described Center Processing Unit Utilization is corresponding is greater than weighted value corresponding to described standby routing equipment temperature, and the priority value of described Center Processing Unit Utilization lower than predetermined threshold time, the priority value of described standby routing equipment is set to priority minimum; Weighted value corresponding to described standby routing equipment temperature is greater than weighted value corresponding to described Center Processing Unit Utilization, and the priority value of described standby routing equipment temperature lower than predetermined threshold time, the priority value of described standby routing equipment is set to priority minimum.
3. the method for claim 1, is characterized in that, the method also comprises: when according to the parameter acquiring of standby routing equipment, the priority of standby routing equipment is identical, according to subrack number and the slot number determination priority at described standby routing equipment place.
4. a redundancy backup swap device, is characterized in that, comprising:
First priority computing module, for calculating the priority of described standby routing equipment according to priority value corresponding to the parameter of standby routing equipment and weighted value corresponding to described parameter and user configured priority facility value, wherein, described first priority computing module comprises: parameter acquiring submodule, for obtaining the parameter of standby routing equipment; Parameter priority value obtains submodule, the priority value that the standby routing equipment parameter for obtaining the acquisition of described parameter acquiring submodule is corresponding; Weighted value obtains submodule, the weighted value that the standby routing equipment parameter for getting the acquisition of described parameter acquiring submodule is corresponding; Preset priority levels obtains submodule, for obtaining user configured priority facility value; Calculating sub module, calculates the priority value of standby routing equipment for the value obtaining submodule according to described parameter priority value, weighted value obtains submodule and preset priority levels acquisition submodule obtains;
Switch module, for exceed the scheduled time do not detect main routing device send message time, described standby routing equipment the highest for priority being switched is main routing device.
5. device as claimed in claim 4, is characterized in that, also comprise:
Second priority computing module, when the priority of the multiple standby routing equipment obtained for described first priority computing module is identical, according to subrack number and the slot number determination priority at described standby routing equipment place;
For the priority calculated according to described first priority computing module or the second priority computing module, time delay module, determines that described standby routing equipment is switched to the time of delay of main routing device.
6. device as claimed in claim 4, is characterized in that, also comprise:
Detection module, for detect main routing device send message, exceed the scheduled time do not detect main routing device send message time, switch module described in notice.
7. a system for redundancy backup swap, comprises main control unit, data transmission unit and terminal management unit, it is characterized in that, by described data transmission unit transmission information between described main control unit and described terminal management unit;
Described data transmission unit comprises: redundancy backup swap device and routing device;
Wherein, described redundancy backup swap device comprises:
First priority computing module, for calculating the priority of described standby routing equipment according to priority value corresponding to the parameter of standby routing equipment and weighted value corresponding to described parameter and user configured priority facility value, wherein, described first priority computing module comprises: described parameter acquiring submodule, for obtaining the parameter of standby routing equipment; Parameter priority value obtains submodule, the priority value that the standby routing equipment parameter for obtaining the acquisition of described parameter acquiring submodule is corresponding; Weighted value obtains submodule, the weighted value that the standby routing equipment parameter for getting the acquisition of described parameter acquiring submodule is corresponding; Preset priority levels obtains submodule, for obtaining user configured priority facility value; Calculating sub module, calculates the priority value of standby routing equipment for the value obtaining submodule according to described parameter priority value, weighted value obtains submodule and preset priority levels acquisition submodule obtains;
Switch module, for exceed the scheduled time do not detect main routing device send message time, described standby routing equipment the highest for priority being switched is main routing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010132701.2A CN101815315B (en) | 2010-03-12 | 2010-03-12 | Redundancy backup swap method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010132701.2A CN101815315B (en) | 2010-03-12 | 2010-03-12 | Redundancy backup swap method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101815315A CN101815315A (en) | 2010-08-25 |
CN101815315B true CN101815315B (en) | 2015-05-13 |
Family
ID=42622400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010132701.2A Expired - Fee Related CN101815315B (en) | 2010-03-12 | 2010-03-12 | Redundancy backup swap method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101815315B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102255750B (en) * | 2011-06-28 | 2017-05-10 | 中兴通讯股份有限公司 | Method and device for service disaster recovery protection |
CN102387087A (en) * | 2011-12-18 | 2012-03-21 | 西安安智科技有限公司 | Method and system for realizing standby route based on active detection technique |
CN106302152A (en) * | 2015-05-21 | 2017-01-04 | 中兴通讯股份有限公司 | A kind of control method generating route and routing device |
CN106982259A (en) * | 2017-04-19 | 2017-07-25 | 聚好看科技股份有限公司 | The failure solution of server cluster |
CN113678179A (en) * | 2020-08-21 | 2021-11-19 | 深圳市华思旭科技有限公司 | Shared charging cabinet and pop-up control method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1780231A (en) * | 2004-11-25 | 2006-05-31 | 华为技术有限公司 | Backup system and method for access servo interface |
CN1941730A (en) * | 2005-09-26 | 2007-04-04 | 华为技术有限公司 | Method for protecting RPR bridge redundancy |
CN101611378A (en) * | 2006-12-21 | 2009-12-23 | 韦里佐内服务公司 | Be used to provide passive automatic configuration method, computer product and device |
-
2010
- 2010-03-12 CN CN201010132701.2A patent/CN101815315B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1780231A (en) * | 2004-11-25 | 2006-05-31 | 华为技术有限公司 | Backup system and method for access servo interface |
CN1941730A (en) * | 2005-09-26 | 2007-04-04 | 华为技术有限公司 | Method for protecting RPR bridge redundancy |
CN101611378A (en) * | 2006-12-21 | 2009-12-23 | 韦里佐内服务公司 | Be used to provide passive automatic configuration method, computer product and device |
Also Published As
Publication number | Publication date |
---|---|
CN101815315A (en) | 2010-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101815315B (en) | Redundancy backup swap method, device and system | |
US20090210075A1 (en) | Sensor Net Management Method | |
CN107466079B (en) | Automatic relay switching method and device | |
CN110740162B (en) | Communication link establishing method, device, electronic equipment and medium | |
CN102185706B (en) | Method for generating IEEE1394 (Institute of Electrical and Electronics Engineers 1394) network topological graph | |
CN111654402B (en) | Network topology creation method, device, equipment and storage medium | |
CN109388488B (en) | Power allocation in computer system | |
CN110191064B (en) | Flow load balancing method, device, equipment, system and storage medium | |
CN114285795B (en) | State control method, device, equipment and storage medium of virtual equipment | |
CN105530115A (en) | Method and device for realizing operation management and maintenance function | |
EP3253030B1 (en) | Method and device for reporting openflow switch capability | |
CN104468304A (en) | Method for synchronizing pool element status information, pool registrator and pool elements | |
CN104160667A (en) | Method, Device, and System for Dual-Uplink Tangent Ring Convergence | |
CN110391987B (en) | Method, apparatus and computer readable medium for selecting a designated forwarder from a carrier edge device set | |
CN109286584A (en) | Fragmentation and reassembly method, device and equipment in a kind of multiple nucleus system | |
EP3024200A1 (en) | Port number extension method and switch | |
Ammar et al. | Dynamic SDN controllers-switches mapping for load balancing and controller failure handling | |
CN111130943B (en) | Method for realizing fast ring network switching, switch and computer readable storage medium | |
CN110113269B (en) | Flow control method based on middleware and related device | |
CN109347743B (en) | Special line communication method, computer readable storage medium and terminal equipment | |
CN102316029B (en) | Fast rerouting method and routing equipment | |
CN107566130A (en) | Ethernet is by electric AP equipment, POE AP equipment and group network system | |
CN114020466B (en) | Method and device for balancing double active loads, electronic equipment and storage medium | |
CN113992685B (en) | Service controller determining method, system and device | |
CN106302205A (en) | A kind of how main conflict processing method based on LLDP agreement and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150513 Termination date: 20200312 |
|
CF01 | Termination of patent right due to non-payment of annual fee |