CN101163047A - Method and device for implementing rearrangement of main equipment and standby equipment - Google Patents

Method and device for implementing rearrangement of main equipment and standby equipment Download PDF

Info

Publication number
CN101163047A
CN101163047A CNA2007101877364A CN200710187736A CN101163047A CN 101163047 A CN101163047 A CN 101163047A CN A2007101877364 A CNA2007101877364 A CN A2007101877364A CN 200710187736 A CN200710187736 A CN 200710187736A CN 101163047 A CN101163047 A CN 101163047A
Authority
CN
China
Prior art keywords
equipment
fault
stand
main equipment
coefficient
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
CNA2007101877364A
Other languages
Chinese (zh)
Other versions
CN101163047B (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
Shanghai Huawei Technologies Co Ltd
Original Assignee
Shanghai 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 Shanghai Huawei Technologies Co Ltd filed Critical Shanghai Huawei Technologies Co Ltd
Priority to CN2007101877364A priority Critical patent/CN101163047B/en
Publication of CN101163047A publication Critical patent/CN101163047A/en
Application granted granted Critical
Publication of CN101163047B publication Critical patent/CN101163047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for realizing a switch between a main-equipment and an emergency-equipment, which comprises the steps as follows: if the main equipment is out of order, the fault category of the main equipment is ascertained; a weight mapping table which is set beforehand is searched according to the fault category and the weight value of the fault is obtained. The weight value is accumulated with an original fault coefficient, so the current fault coefficient of the main-equipment is obtained; whether the fault coefficient of the main-equipment is more than the fault coefficient of the emergency-equipment is judged and if the fault coefficient of the main-equipment is more than the fault coefficient of the emergency-equipment, the switch is carried out; the business is undertaken by the emergency-equipment. The invention also provides a method for realizing the switch between the main-equipment and the emergency-equipment. The proposal of the invention is capable of realizing a relatively accurate comparison of the fault degree of the main-equipment and the emergency-equipment through adding weight to the fault. So the telecom equipment is ensured a high usability.

Description

A kind of method and apparatus of realizing that main equipment and stand-by equipment are switched
Technical field
The present invention relates to the telecommunication network technology field, particularly a kind of method and apparatus of realizing that main equipment and stand-by equipment are switched.
Background technology
In order to reach the desired high availability of telecommunication apparatus, telecommunication apparatus often adopts the redundancy backup design to key component in design, and wherein the most frequently used is exactly 1+1 backup.Two veneers of 1+1 backup are responsible for normally providing professional for one, and we are called the main veneer of using; One in support, do not provide professional, and we are referred to as standby board.Detect main can not normally provide business with veneer after, by the masterslave switchover operation, standby board is taken over former main function with veneer, for system provides related service, it is zero that former main fault with veneer is dropped to the influence of system, thereby realized the high availability of system.
Actual situation is often than top description complexity.Such as, under main situation about breaking down with veneer, standby board may also be a fault, we must find out fault degree veneer relatively preferably among both, by switching this means, all the time allow the veneer of fault minimum provide professional, fault is reduced to minimum to the influence of system.Therefore, must there be a kind of quantitative methods to realize the comparison of single board default degree, thereby determines active and standbyly whether need to switch with veneer.
Summary of the invention
In view of this, the embodiment of the invention proposes a kind of method and apparatus of realizing that main equipment and stand-by equipment are switched, by giving in addition weight of fault, to realize the comparison of comparatively accurate active and standby equipment fault degree, guarantees the high availability of telecommunication apparatus.
The technical scheme of the embodiment of the invention is implemented as follows:
A kind of method that realizes that main equipment and stand-by equipment are switched, it comprises:
If main equipment breaks down, then determine the fault category of main equipment, search the weighted value that the weight mapping table that sets in advance obtains fault according to described fault category, this weighted value and the original fault coefficient of main equipment are added up, obtain the current fault coefficient of main equipment;
Whether the fault coefficient of judging main equipment greater than the fault coefficient of stand-by equipment, if, then switch, bear business with stand-by equipment.
The embodiment of the invention also discloses a kind of device of realizing that main equipment and stand-by equipment are switched, comprising:
The failure modes module is used for the fault of main equipment or stand-by equipment generation is classified;
The weight mapping table module is used to preserve the pairing weighted value of various faults, according to the fault type that the failure modes module is imported, weighted value and device identification that output is corresponding;
The fault coefficients calculation block, be used for calculating respectively the fault coefficient of main equipment and stand-by equipment, promptly,, obtain the current fault coefficient of this equipment with this weighted value and the addition of the original fault coefficient of described device identification corresponding equipment according to the weighted value and the device identification of the output of weight mapping table module;
Comparison module is used for the fault coefficient of comparison main equipment and stand-by equipment, if the fault coefficient of main equipment is greater than stand-by equipment, then notice is switched module and carried out masterslave switchover;
Switch module, be used for main equipment and stand-by equipment are carried out masterslave switchover.
As can be seen from the above technical solutions, give after the failure modes in addition weight, thereby analyze the fault degree of main equipment and stand-by equipment in a kind of quantitative mode, select the lighter device assumes business of fault degree, realize the comparison of comparatively accurate active and standby equipment fault degree, guaranteed the high availability of telecommunication apparatus.
Description of drawings
Fig. 1 is the handling process of the embodiment of the invention;
Fig. 2 is the active/standby changeover apparatus block diagram of the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is further elaborated below in conjunction with specific embodiment.
According to the influence situation of equipment fault to system business, fault is divided into 3 classes, be respectively critical failure, promptly cause equipment that professional fault can't be provided fully; Catastrophe failure, the fault that promptly causes equipment to provide professional ability to descend; Generic failure does not influence the fault that appliance services provides.
For different catastrophe failures, according to its size, give a weight to service impact, big more to service impact, its weight is also big more.Such as, catastrophe failure A weight is 100, catastrophe failure B weight is 150, illustrate that then the B fault produces after, bigger 1.5 times to the influence of business than A fault.The weighted value sum of all faults of equipment is exactly the fault coefficient of this equipment, is used for characterizing the order of severity of the fault of this equipment.Like this, if by comparison two block device weights and size (may there be a plurality of catastrophe failures in equipment), just can understand the fault degree of equipment.
Generic failure, because to not influence of business, we can think that it is a kind of special catastrophe failure, its weight is 0.
In like manner, we also can think a kind of special catastrophe failure critical failure, and its weight is infinitely great, in the practical application, can be set to the value upper limit.
The handling process of the embodiment of the invention comprises the steps: as shown in Figure 1
Step 101: if fault occurred, then to the judgement of classifying of the type of this fault, if critical failure, then execution in step 102, if be catastrophe failure, then execution in step 103, if be generic failure, then do not deal with, and withdraw from this flow process.
Step 102: judge whether that to this critical failure takes place main equipment if then carry out masterslave switchover, otherwise the fault coefficient of stand-by equipment is set to maximum.
Step 103: judge whether the equipment that this catastrophe failure takes place is main equipment, if then execution in step 104, otherwise, execution in step 105.
Step 104: calculate the fault coefficient of main equipment, the fault coefficient of master-failure coefficient and stand-by equipment is compared, greater than stand-by equipment fault coefficient, then carry out masterslave switchover as if the master-failure coefficient, otherwise process ends.
Step 105: search the weight mapping table that sets in advance according to the type of this fault and obtain corresponding weighted value, the addition of the original fault coefficient of weighted value and stand-by equipment obtains the current fault coefficient of stand-by equipment, and process ends.
The active/standby changeover apparatus of the embodiment of the invention comprises as shown in Figure 2:
Failure modes module 201 is used for the fault of main equipment or stand-by equipment generation is classified.
Preferably, can earlier fault be divided into critical failure, catastrophe failure and generic failure roughly.The failure modes module further comprises: the catastrophe failure processing unit is used for notifying the described mould of switching certainly to carry out masterslave switchover when the fault category of main equipment generation is critical failure.
For catastrophe failure, then,, can not carry out any processing for generic failure with the particular type and the device identification notice weight mapping table module of this fault.
Weight mapping table module 202 is used to preserve the pairing weighted value of various faults, according to the fault type of failure modes module 201 inputs, and the weighted value that output is corresponding;
Fault coefficients calculation block 203, be used for calculating respectively the fault coefficient of main equipment and stand-by equipment, promptly according to the weighted value of weight mapping table module output and the device identification of failure modes module 201 outputs, with this weighted value and the addition of the original fault coefficient of described device identification corresponding equipment, obtain the current fault coefficient of this equipment;
Comparison module 204 is used for the fault coefficient of comparison main equipment and stand-by equipment, if the fault coefficient of main equipment is greater than stand-by equipment, then notice is switched module and carried out masterslave switchover; Otherwise be left intact;
Switch module 205, be used for main equipment and stand-by equipment are carried out masterslave switchover.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. a method that realizes that main equipment and stand-by equipment are switched is characterized in that, comprising:
If main equipment breaks down, then determine the fault category of main equipment, search the weighted value that the weight mapping table that sets in advance obtains fault according to described fault category, this weighted value and the original fault coefficient of main equipment are added up, obtain the current fault coefficient of main equipment;
Whether the fault coefficient of judging main equipment greater than the fault coefficient of stand-by equipment, if, then switch, bear business by stand-by equipment.
2. method according to claim 1 is characterized in that the fault category of described definite main equipment is a critical failure, then directly switches, and bears business by stand-by equipment.
3. method according to claim 1, it is characterized in that, this method further comprises: if stand-by equipment breaks down, then determine the fault category of stand-by equipment, search the weighted value that the weight mapping table that sets in advance obtains fault according to described fault category, this weighted value and the original fault coefficient of stand-by equipment are added up, obtain the current fault coefficient of stand-by equipment.
4. method according to claim 1 is characterized in that the fault category of described definite main equipment is a generic failure, does not then switch, and continues to bear business by main equipment.
5. a device of realizing that main equipment and stand-by equipment are switched is characterized in that, comprising:
The failure modes module is used for the fault of main equipment or stand-by equipment generation is classified;
The weight mapping table module is used to preserve the pairing weighted value of various faults, according to the fault type that the failure modes module is imported, weighted value and device identification that output is corresponding;
The fault coefficients calculation block, be used for calculating respectively the fault coefficient of main equipment and stand-by equipment, promptly,, obtain the current fault coefficient of this equipment with this weighted value and the addition of the original fault coefficient of described device identification corresponding equipment according to the weighted value and the device identification of the output of weight mapping table module;
Comparison module is used for the fault coefficient of comparison main equipment and stand-by equipment, if the fault coefficient of main equipment is greater than stand-by equipment, then notice is switched module and carried out masterslave switchover;
Switch module, be used for main equipment and stand-by equipment are carried out masterslave switchover.
6. device according to claim 5 is characterized in that, described failure modes module further comprises:
The catastrophe failure processing unit is used for when the fault category of main equipment generation is critical failure, notifies the described module of switching to carry out masterslave switchover.
CN2007101877364A 2007-11-23 2007-11-23 Method and device for implementing rearrangement of main equipment and standby equipment Active CN101163047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101877364A CN101163047B (en) 2007-11-23 2007-11-23 Method and device for implementing rearrangement of main equipment and standby equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101877364A CN101163047B (en) 2007-11-23 2007-11-23 Method and device for implementing rearrangement of main equipment and standby equipment

Publications (2)

Publication Number Publication Date
CN101163047A true CN101163047A (en) 2008-04-16
CN101163047B CN101163047B (en) 2010-08-25

Family

ID=39297881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101877364A Active CN101163047B (en) 2007-11-23 2007-11-23 Method and device for implementing rearrangement of main equipment and standby equipment

Country Status (1)

Country Link
CN (1) CN101163047B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102265555A (en) * 2011-05-31 2011-11-30 华为技术有限公司 Conversion method between an main communicational equipment and a spare communicational equipment, the communicational equipments and a service request equipment
CN102264001A (en) * 2010-05-25 2011-11-30 华为技术有限公司 Method for enhancing multicast reliability of Internet protocol television (IPTV), server and system
CN102368713A (en) * 2011-10-31 2012-03-07 华为技术有限公司 Processing method for network-side fault and apparatus thereof
WO2012071695A1 (en) * 2010-11-29 2012-06-07 华为技术有限公司 Node fault processing method, system and related device
CN105893109A (en) * 2015-01-26 2016-08-24 奇点新源国际技术开发(北京)有限公司 Loading method and apparatus for operating system of vehicle-mounted terminal
CN110602037A (en) * 2019-07-26 2019-12-20 广州穗科建设管理有限公司 Remote supervision system
CN114035497A (en) * 2021-10-26 2022-02-11 江西五十铃汽车有限公司 Emergency switching control method suitable for finish paint drying furnace of automobile coating plant
CN114244735A (en) * 2021-12-09 2022-03-25 南京丰道电力科技有限公司 Main/standby operation switching method and device and storage medium
CN115529224A (en) * 2022-09-16 2022-12-27 武汉思普崚技术有限公司 Method, system and device for switching HA (host/standby) scenes

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855838B (en) * 2005-04-25 2010-09-29 华为技术有限公司 Interface inverting method
CN1949699B (en) * 2006-11-09 2010-11-03 华为技术有限公司 Method and apparatus for reducing single-board fault affect on service

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102264001A (en) * 2010-05-25 2011-11-30 华为技术有限公司 Method for enhancing multicast reliability of Internet protocol television (IPTV), server and system
WO2012071695A1 (en) * 2010-11-29 2012-06-07 华为技术有限公司 Node fault processing method, system and related device
CN102714615B (en) * 2010-11-29 2015-05-27 华为技术有限公司 Node fault processing method, system and related device
CN102714615A (en) * 2010-11-29 2012-10-03 华为技术有限公司 Node fault processing method, system and related device
CN102265555B (en) * 2011-05-31 2015-04-29 华为技术有限公司 Conversion method between an main communicational equipment and a spare communicational equipment, the communicational equipments and a service request equipment
WO2011157145A3 (en) * 2011-05-31 2012-04-19 华为技术有限公司 Main/backup switching method between communicaion device, communication device, system and service request device
CN102265555A (en) * 2011-05-31 2011-11-30 华为技术有限公司 Conversion method between an main communicational equipment and a spare communicational equipment, the communicational equipments and a service request equipment
WO2011157145A2 (en) * 2011-05-31 2011-12-22 华为技术有限公司 Main/backup switching method between communication device, communication device, system and service request device
CN102368713A (en) * 2011-10-31 2012-03-07 华为技术有限公司 Processing method for network-side fault and apparatus thereof
CN102368713B (en) * 2011-10-31 2013-09-25 华为技术有限公司 Processing method for network-side fault and apparatus thereof
CN105893109A (en) * 2015-01-26 2016-08-24 奇点新源国际技术开发(北京)有限公司 Loading method and apparatus for operating system of vehicle-mounted terminal
CN110602037A (en) * 2019-07-26 2019-12-20 广州穗科建设管理有限公司 Remote supervision system
CN114035497A (en) * 2021-10-26 2022-02-11 江西五十铃汽车有限公司 Emergency switching control method suitable for finish paint drying furnace of automobile coating plant
CN114244735A (en) * 2021-12-09 2022-03-25 南京丰道电力科技有限公司 Main/standby operation switching method and device and storage medium
CN114244735B (en) * 2021-12-09 2024-01-16 南京丰道电力科技有限公司 Master and slave operation switching method, device and storage medium
CN115529224A (en) * 2022-09-16 2022-12-27 武汉思普崚技术有限公司 Method, system and device for switching HA (host/standby) scenes

Also Published As

Publication number Publication date
CN101163047B (en) 2010-08-25

Similar Documents

Publication Publication Date Title
CN101163047B (en) Method and device for implementing rearrangement of main equipment and standby equipment
CN101741595B (en) Method, device and system for appraisal of network reliability
CN101437175B (en) Method, apparatus and system for processing disaster-tolerating switch
CN102265556B (en) Conversion method between an main communicational equipment and a spare communicational equipment, the communicational equipments and a service request equipment
CN113923609A (en) Short message distribution method and device based on multiple short message channels and electronic equipment
US20090256656A1 (en) Method and device for line-switching of mems matrix and amdf
CN102263678B (en) Method and device for predicting stack division
CN104539462B (en) It is a kind of to switch to method and device of the calamity for application example
WO2013111317A1 (en) Information processing method, device and program
KR101227537B1 (en) Cabinet panel of built-in neutral line repair function
CN111130917B (en) Line testing method, device and system
CN101729282A (en) Processing method and device for single-board alarming
CN104754562A (en) Method and device for repairing data replication abnormity
CN103001810B (en) Network path protection changing method and system
CN114640576B (en) Method and apparatus for fault localization of passive access devices for broadband networks
CN109756365A (en) A kind of failure analysis methods and system of powerline network
US6373820B1 (en) Method and apparatus for maintenance and repair of CAMA interface in PCX system
CN105790995A (en) Automatic business switching method and device
CN101156325B (en) System and method for implementing service switch
CN100490343C (en) A method and device for realizing switching between main and backup units in communication equipment
KR100788122B1 (en) The system and method for providing backup funtion to ars server based on ip
KR100257043B1 (en) Alarm processing method in telecommunication management network system
EP2432152B1 (en) Method and apparatus for switching the main/standby single board
CN101621423A (en) Line card fault detection method
CN100574317C (en) The network device management 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