CN101163047B - 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
CN101163047B
CN101163047B CN2007101877364A CN200710187736A CN101163047B CN 101163047 B CN101163047 B CN 101163047B CN 2007101877364 A CN2007101877364 A CN 2007101877364A CN 200710187736 A CN200710187736 A CN 200710187736A CN 101163047 B CN101163047 B CN 101163047B
Authority
CN
China
Prior art keywords
equipment
fault
stand
coefficient
main equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2007101877364A
Other languages
Chinese (zh)
Other versions
CN101163047A (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

Landscapes

  • Hardware Redundancy (AREA)
  • Monitoring And Testing Of Exchanges (AREA)

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, if fault category is a critical failure, then directly switch, bear business by stand-by equipment; If fault category is a catastrophe failure, 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, fault coefficient when being used for calculating main equipment and stand-by equipment generation catastrophe failure respectively, i.e. weighted value and device identification of exporting according to the weight mapping table module, 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 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;
Wherein, the failure modes module further comprises: the catastrophe failure processing unit, be used for when the fault category of main equipment generation is critical failure, and notify the described module of switching to carry 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, be used for when the fault category of main equipment generation is critical failure, and notify the described module of switching to carry out masterslave switchover.
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 (3)

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, if fault category is a critical failure, then directly switch, bear business by stand-by equipment; If fault category is a generic failure, then do not switch, continue to bear business by main equipment; If fault category is a catastrophe failure, 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, it is characterized in that, this method further comprises: if stand-by equipment breaks down, then determine the fault category of stand-by equipment, if fault category is a catastrophe failure, 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.
3. 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, fault coefficient when being used for calculating main equipment and stand-by equipment generation catastrophe failure respectively, i.e. weighted value and device identification of exporting according to the weight mapping table module, 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 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;
Wherein, the failure modes module further comprises: the catastrophe failure processing unit, be used for when the fault category of main equipment generation is critical failure, and notify 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 CN101163047A (en) 2008-04-16
CN101163047B true 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)

Families Citing this family (10)

* 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
CN102714615B (en) * 2010-11-29 2015-05-27 华为技术有限公司 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
CN102368713B (en) * 2011-10-31 2013-09-25 华为技术有限公司 Processing method for network-side fault and apparatus thereof
CN105893109B (en) * 2015-01-26 2019-05-31 奇点新源国际技术开发(北京)有限公司 The loading method and device of car-mounted terminal operating system
CN110602037B (en) * 2019-07-26 2021-11-16 广州穗科建设管理有限公司 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
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
CN117332212A (en) * 2023-10-24 2024-01-02 北京同创永益科技发展有限公司 Intelligent risk exploration method and system based on chaotic engineering fault experiment

Citations (2)

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

Patent Citations (2)

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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2003-318782A 2003.11.07

Also Published As

Publication number Publication date
CN101163047A (en) 2008-04-16

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
US7995485B1 (en) Method and apparatus for providing automated diagnostics of networks
CN101695175A (en) Alarm reporting method of cascade equipment, system and equipment
CN113923609A (en) Short message distribution method and device based on multiple short message channels and electronic equipment
CN101437175B (en) Method, apparatus and system for processing disaster-tolerating switch
US20090256656A1 (en) Method and device for line-switching of mems matrix and amdf
CN104539462B (en) It is a kind of to switch to method and device of the calamity for application example
CN102263678B (en) Method and device for predicting stack division
US9132550B2 (en) Apparatus and method for managing robot components
CN107945797B (en) Monitoring system based on speech recognition
WO2013111317A1 (en) Information processing method, device and program
KR101227537B1 (en) Cabinet panel of built-in neutral line repair function
CN101729282A (en) Processing method and device for single-board alarming
CN111130917B (en) Line testing method, device and system
CN101156325B (en) System and method for implementing service switch
CN105843612A (en) Method for switching virtual machines by terminal device and terminal device
CN114640576B (en) Method and apparatus for fault localization of passive access devices for broadband networks
US6373820B1 (en) Method and apparatus for maintenance and repair of CAMA interface in PCX system
CN109756365A (en) A kind of failure analysis methods and system of powerline network
CN101453754B (en) Method and device for data backup
KR100257043B1 (en) Alarm processing method in telecommunication management network system
KR100788122B1 (en) The system and method for providing backup funtion to ars server based on ip
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