CN103684834A - Single board switching method and device - Google Patents

Single board switching method and device Download PDF

Info

Publication number
CN103684834A
CN103684834A CN201210357903.6A CN201210357903A CN103684834A CN 103684834 A CN103684834 A CN 103684834A CN 201210357903 A CN201210357903 A CN 201210357903A CN 103684834 A CN103684834 A CN 103684834A
Authority
CN
China
Prior art keywords
oof
warning information
board
detection module
module
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
CN201210357903.6A
Other languages
Chinese (zh)
Other versions
CN103684834B (en
Inventor
陆群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201210357903.6A priority Critical patent/CN103684834B/en
Publication of CN103684834A publication Critical patent/CN103684834A/en
Application granted granted Critical
Publication of CN103684834B publication Critical patent/CN103684834B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a single board switching method used for enhancing reliability of a system. The method comprises that: existence of an OOF warning message in a bus of a back board of a business board is judged via a judgment module; when the OOF warning message exists, the OOF warning message is sent to a warning detection module of a single board switching device via the judgment module; the OOF warning message is compared with a first warning message which is received by the warning detection module last time via the warning detection module so that consistency of the OOF warning message and the first warning message is judged, wherein the warning detection module does not receive other warning messages within a period of time between receiving the OOF warning message and the first warning message; and when the OOF warning message and the first warning message are not consistent, the OOF warning message is sent to a switching protocol module of the single board switching device via the warning detection module so that a switching board is triggered to perform single board switching. The invention also discloses the device used for realizing the method.

Description

A kind of board switchover method and device
Technical field
The present invention relates to communication and electronic applications, particularly a kind of board switchover method and device.
Background technology
Along with scientific and technological development, our live and work is increasing to the dependence of communication, several seconds of communication disruption or a few minutes all may cause huge loss, thus communication network can become one of key factor of present Network Programe Design and operation by self-healing property.The concept of self-healing is when network breaks down, and without manual intervention, can within the extremely short time, from failure of removal, automatically recover entrained business, and the imperceptible network of user is out of order, so self-healed protection technology fortune Ying Ersheng.So-called self-healed protection, sets up a protection route for protected business exactly, when Work route breaks down, automatically switches to protection route, re-establishes service connection relation, guarantees the continuing property of business, plays the effect of self-healed protection.
In SDH (Synchronous Digital Hierarchy, SDH (Synchronous Digital Hierarchy)) transmission network, there is at present the condition of a variety of triggering board switchovers, have plenty of the heartbeat or the information in place that detect veneer, have plenty of other SF of detection port level.But, if there is OOF (OOF) alarm in backboard, because OOF alarm is to transmit by the connecting line on backboard, OOF alarm cannot be transferred to corresponding module switches to trigger, even if there is OOF alarm in backboard now, can not trigger board switchover, may cause service disconnection, reduce the reliability of system.
Summary of the invention
The embodiment of the present invention provides a kind of board switchover method and device, for solving the technical problem that prior art system reliability is not high, has realized the technique effect that improves system reliability.
A board switchover method, is applied to a board switchover device, said method comprising the steps of:
By the judge module in described board switchover device, judge in the bus of backboard of business board and whether have OOF OOF warning information;
When there is described OOF warning information, by described judge module, described OOF warning information is sent in the alarm detection module of described board switchover device;
The first warning information described OOF warning information and its last time being received by described alarm detection module compares, to judge that whether the two is consistent, wherein, within the time of receiving between described OOF warning information and described the first warning information, described alarm detection module is not received other warning information;
When the two is inconsistent, by described alarm detection module, described OOF warning information is sent to the turning protocol module of described board switchover device, to trigger, switch plate and carry out board switchover.
A board switchover device, described device comprises:
Judge module, for judging whether the bus of the backboard of business board exists OOF OOF warning information, and when there is described OOF warning information, is sent to described OOF warning information in the alarm detection module of described board switchover device;
Described alarm detection module, for the first warning information that described OOF warning information and self the last time are received, compare, to judge that whether the two is consistent, wherein, within the time of receiving between described OOF warning information and described the first warning information, described alarm detection module is not received other warning information; And when the two is inconsistent, described OOF warning information is sent to the turning protocol module of described board switchover device, to trigger, switch plate and carry out board switchover.
Board switchover method in the embodiment of the present invention comprises: by the judge module in described board switchover device, judge in the bus of backboard of business board whether have OOF OOF warning information; When there is described OOF OOF warning information, by described judge module, described OOF warning information is sent in the alarm detection module of described board switchover device; The first warning information described OOF warning information and its last time being received by described alarm detection module compares, to judge that whether the two is consistent, wherein, within the time of receiving between described OOF warning information and described the first warning information, described alarm detection module is not received other warning information; When the two is inconsistent, by described alarm detection module, described OOF warning information is sent to the turning protocol module of described board switchover device, to trigger, switch plate and carry out board switchover.
In the embodiment of the present invention, when judgement is determined while there is OOF warning information, this OOF warning information can be sent to described alarm detection module, if the comparative result of described alarm detection module is eligible, this OOF warning information can be sent to described turning protocol module, for described turning protocol module, trigger board switchover, thereby solved and in prior art, when there is OOF alarm, cannot trigger the technical problem of board switchover, when there is OOF alarm, can not cause service disconnection because carrying out board switchover, improve the reliability of system.
Accompanying drawing explanation
Fig. 1 is the main flow chart of board switchover method in the embodiment of the present invention;
Fig. 2 is the detailed structure view of board switchover device in the embodiment of the present invention.
Embodiment
Board switchover method in the embodiment of the present invention: judge in the bus of backboard of business board whether have OOF OOF warning information by the judge module in described board switchover device; When there is described OOF OOF warning information, by described judge module, described OOF warning information is sent in the alarm detection module of described board switchover device; The first warning information described OOF warning information and its last time being received by described alarm detection module compares, to judge that whether the two is consistent, wherein, within the time of receiving between described OOF warning information and described the first warning information, described alarm detection module is not received other warning information; When the two is inconsistent, by described alarm detection module, described OOF warning information is sent to the turning protocol module of described board switchover device, to trigger, switch plate and carry out board switchover.
In the embodiment of the present invention, when judgement is determined while there is OOF warning information, this OOF warning information can be sent to described alarm detection module, if the comparative result of described alarm detection module is eligible, this OOF warning information can be sent to described turning protocol module, for described turning protocol module, trigger board switchover, thereby solved and in prior art, when there is OOF alarm, cannot trigger the technical problem of board switchover, when there is OOF alarm, can not cause service disconnection because carrying out board switchover, improve the reliability of system.
Referring to Fig. 1, it is the main flow process of the method for board switchover described in the embodiment of the present invention.The method of board switchover described in the embodiment of the present invention can be applied to a board switchover device.The main flow process of described method is as follows:
Step 101: judge in the bus of backboard of business board whether have OOF OOF warning information by the judge module in described board switchover device.
First can judge in the bus of backboard of described business board and whether have described OOF warning information.
In the embodiment of the present invention, in the bus of backboard that can judge described business board by cross board, whether there is described OOF warning information.After described cross board is ready to, can detect all kinds of warning information that exist in the bus of backboard of described business board, in the embodiment of the present invention, in described all kinds of warning information, can include at least one warning information in dropout (los) warning information, OOF (oof) warning information, parity errors (praity) warning information, temperature beyond limit (temper) warning information, sensitive switch (onoff) in place warning information, HW (High Way high speed overhead bus) abnormality alarming (hwalarm) warning information.
After all kinds of warning information that described cross board exists in the bus of backboard that detects described business board, the all warning information that detect can be stored in the buffer area of self, simultaneously also all kinds of warning information can be reported to Element management system, so that concrete which warning information that exists in the bus of the backboard that described Element management system can clearly described business board.
In the embodiment of the present invention, after all kinds of warning information that described cross board exists in the bus of backboard that described business board detected, can from testing result, judge in the bus of backboard of described business board whether have described OOF warning information.
Preferably, because described business board may include active clock and standby clock, Element management system may issue clock switch order at any time, for switching between described active clock and described standby clock, and issue after clock switch order at described Element management system, the bus of the backboard of described business board may also can produce described OOF warning information, and described OOF warning information is now without processing, if triggered board switchover according to this OOF warning information, may be misoperation, also may cause single board default.Therefore, whether there is OOF OOF warning information in the bus of backboard that judges business board before, can also first judge whether described Element management system has just issued described clock switch order, if judgement determines that described Element management system has issued described clock switch order, judge again in the bus of backboard of described business board and whether have OOF OOF warning information, if there is OOF OOF warning information in the bus of the backboard of the definite judgement of judgement business board, can this OOF warning information not processed, to avoid causing misoperation, prevent single board default.
Step 102: when there is described OOF OOF warning information, by described judge module, described OOF warning information is sent in the alarm detection module of described board switchover device.
Preferably, whether there is OOF warning information in the bus of backboard that judges business board before, can also first judge whether described Element management system has just issued described clock switch order, if judgement determines that described Element management system does not issue described clock switch order, judge again in the bus of backboard of described business board and whether have described OOF warning information, if there is OOF warning information in the bus of the backboard of the definite judgement of judgement business board, described OOF warning information can be sent in the alarm detection module of described board switchover device.
In the embodiment of the present invention, the protection group that configured 1:N on described Element management system of take describes as example.For example, in the embodiment of the present invention, working plate and baffle can respectively have one, and described working plate and described baffle form protection group, and described alarm detection module is that described protection group shares.
Step 103: the first warning information described OOF warning information and its last time being received by described alarm detection module compares, to judge that whether the two is consistent, wherein, within the time of receiving between described OOF warning information and described the first warning information, described alarm detection module is not received other warning information.
Described alarm detection module is after receiving described OOF warning information, first warning information that described OOF warning information and described alarm detection module the last time can be received compares, to judge that whether the two is consistent, i.e. whether the last the first warning information receiving of judgement is also OOF warning information.If the first warning information that described alarm detection module the last time receives is also OOF warning information, after the first warning information that described alarm detection module receives described OOF warning information and its last time compares, what draw judgment result is that the two is consistent, now can think and after receiving OOF warning information last time, carry out board switchover, this is without carrying out board switchover again, thereby can avoid misoperation, also can economize on resources, make business smooth.
If the first warning information that described alarm detection module the last time receives is not OOF warning information, after the first warning information that described alarm detection module receives described OOF warning information and its last time compares, what draw judgment result is that the two is inconsistent, before now can thinking, do not carry out board switchover, this need to carry out board switchover, thereby can make business not interrupt, make normal working of single board.
Board switchover in the embodiment of the present invention, can be to be switched to described baffle from described working plate, or can be to be also switched to described working plate from described baffle.Concrete; if described business board is described working plate; the board switchover in the embodiment of the present invention refers to from described working plate and is switched to described baffle; if described business board is described baffle, the board switchover in the embodiment of the present invention refers to from described baffle and is switched to described working plate.
Step 104: when the two is inconsistent, by described alarm detection module, described OOF warning information is sent to the turning protocol module of described board switchover device, switches plate and carry out board switchover to trigger.
If the first warning information that the definite described OOF warning information of described alarm detection module judgement and its last time receive is inconsistent, described alarm detection module can be sent to described OOF warning information in the turning protocol module of described board switchover device, to trigger, switches plate and carries out board switchover.
Concrete, described alarm detection module is sent to described OOF warning information after described turning protocol module, and first described turning protocol module can arrange an identifier, can first described identifier be set to " 0 ".Then; described turning protocol module can judge on described business board, whether to have configured EPS (Ethernet Protection Switch; Ethernet protection is switched) protection group state; if configured EPS protection group state on described business board, described turning protocol module can be set to " 1 " by described identifier.
Afterwards, described turning protocol module can write switch status HW and switching in board status control register, described in switch board status control register and can be arranged in described Element management system so that described Element management system is controlled, carry out board switchover.Described turning protocol module can also be notified the plate of switching in described protection group so that described in switch plate and prepare to start working.In the embodiment of the present invention, if described business board is described working plate, switching plate described in can be described baffle, if described business board is described baffle, switching plate described in can be described working plate.In the embodiment of the present invention; described baffle can have a plurality of; when described baffle has when a plurality of; therefrom described in an optional conduct, switch plate; or also can select specific described baffle as the described plate of switching, or also can according to certain strategy, from a plurality of described baffles, select to switch plate described in a conduct.
Because configured described EPS protection group in described 1:N protection group; described turning protocol module can calculate the information such as gap information according to the relation after switching after time delay the first duration; and the information calculating can be handed down to driving, and described turning protocol module can report corresponding switch status and switch event to described Element management system.
Referring to Fig. 2, the present invention also provides a kind of board switchover device, and described device can comprise judge module 201 and alarm detection module 202.Described device can also comprise detection module 203 and turning protocol module 204.
Judge module 201 can be for judging in the bus of backboard of business board whether have OOF OOF warning information, and when there is described OOF warning information, described OOF warning information is sent in the alarm detection module 202 of described board switchover device.
In each warning information that judge module 201 exists specifically can the bus for the backboard of the described business board from detecting, determine whether to exist described OOF warning information.
Judge module 201 can also be for judging whether Element management system has issued for switching the clock switch order of clock signal.
Judge module 201 can also be for determining that when judgement described Element management system has issued when switching the clock switch order of clock signal, does not process described OOF warning information.
Alarm detection module 202 can compare for the first warning information that described OOF warning information and self the last time are received, to judge that whether the two is consistent, wherein, within the time of receiving between described OOF warning information and described the first warning information, described alarm detection module is not received other warning information; And when the two is inconsistent, described OOF warning information is sent to the turning protocol module 204 of described board switchover device, to trigger, switch plate and carry out board switchover.
Alarm detection module 202 specifically can be for when judgement determines that the two is inconsistent, described OOF warning information is sent to the turning protocol module 204 of described board switchover device, so that described turning protocol module 204 writes corresponding registers by switch status, and described in notice, switch plate and carry out board switchover.
Each warning information that detection module 203 exists in can the bus for detection of the backboard of described business board.
In the embodiment of the present invention, when described business board is working plate, described in to switch plate can be baffle; When described business board is baffle, described in to switch plate can be working plate.
Board switchover method in the embodiment of the present invention comprises: by the judge module 201 in described board switchover device, judge in the bus of backboard of business board whether have OOF OOF warning information; When there is described OOF OOF warning information, by described judge module 201, described OOF warning information is sent in the alarm detection module 202 of described board switchover device; The first warning information described OOF warning information and its last time being received by described alarm detection module 202 compares, to judge that whether the two is consistent, wherein, within the time of receiving between described OOF warning information and described the first warning information, described alarm detection module 202 is not received other warning information; When the two is inconsistent, by described alarm detection module 202, described OOF warning information is sent to the turning protocol module 204 of described board switchover device, to trigger, switch plate and carry out board switchover.
In the embodiment of the present invention, when judgement is determined while there is OOF warning information, this OOF warning information can be sent to described alarm detection module 202, if the comparative result of described alarm detection module 202 is eligible, this OOF warning information can be sent to described turning protocol module 204, for described turning protocol module 204, trigger board switchover, thereby solved and in prior art, when there is OOF alarm, cannot trigger the technical problem of board switchover, when there is OOF alarm, can not cause service disconnection because carrying out board switchover, improved the reliability of system.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (14)

1. a board switchover method, is characterized in that, is applied to a board switchover device, said method comprising the steps of:
By the judge module in described board switchover device, judge in the bus of backboard of business board and whether have OOF OOF warning information;
When there is described OOF warning information, by described judge module, described OOF warning information is sent in the alarm detection module of described board switchover device;
The first warning information described OOF warning information and its last time being received by described alarm detection module compares, to judge that whether the two is consistent, wherein, within the time of receiving between described OOF warning information and described the first warning information, described alarm detection module is not received other warning information;
When the two is inconsistent, by described alarm detection module, described OOF warning information is sent to the turning protocol module of described board switchover device, to trigger, switch plate and carry out board switchover.
2. the method for claim 1, is characterized in that, also comprises step before whether there is OOF OOF warning information in the bus of backboard that judges business board: detect each warning information existing in the bus of backboard of described business board.
3. method as claimed in claim 2, it is characterized in that, judge in the bus of backboard of business board and whether exist the step of OOF OOF warning information to comprise: in each warning information existing, determine whether to exist described OOF warning information from the bus of the backboard of the described business board that detects.
4. the method for claim 1, it is characterized in that, also comprise step whether there is OOF OOF warning information in the bus of backboard that judges business board before: judge whether Element management system has issued for switching the clock switch order of clock signal.
5. method as claimed in claim 4, it is characterized in that, there is OOF OOF warning information in the bus of backboard of determining business board when judgement after, also comprise step: when judgement, determine described Element management system and issued when switching the clock switch order of clock signal, do not process described OOF warning information.
6. the method for claim 1, is characterized in that, when the two is inconsistent, described OOF warning information is sent to the turning protocol module of described board switchover device, to trigger, switches the step that plate carries out board switchover and comprises:
When judgement determines that the two is inconsistent, described OOF warning information is sent to the turning protocol module of described board switchover device, so that described turning protocol module writes corresponding registers by switch status, and described in notice, switch plate and carry out board switchover.
7. the method as described in any one in claim 1-6, is characterized in that, when described business board is working plate, described in to switch plate be baffle; When described business board is baffle, described in to switch plate be working plate.
8. a board switchover device, is characterized in that, described device comprises:
Judge module, for judging whether the bus of the backboard of business board exists OOF OOF warning information, and when there is described OOF warning information, is sent to described OOF warning information in the alarm detection module of described board switchover device;
Described alarm detection module, for the first warning information that described OOF warning information and self the last time are received, compare, to judge that whether the two is consistent, wherein, within the time of receiving between described OOF warning information and described the first warning information, described alarm detection module is not received other warning information; And when the two is inconsistent, described OOF warning information is sent to the turning protocol module of described board switchover device, to trigger, switch plate and carry out board switchover.
9. device as claimed in claim 8, is characterized in that, described device also comprises detection module, each warning information existing in the bus for detection of the backboard of described business board.
10. device as claimed in claim 9, is characterized in that, determines whether to exist described OOF warning information the bus of described judge module specifically for the backboard of the described business board from detecting in each warning information existing.
11. devices as claimed in claim 8, is characterized in that, described judge module is also for judging whether Element management system has issued for switching the clock switch order of clock signal.
12. devices as claimed in claim 11, is characterized in that, described judge module is also for determining that when judgement described Element management system has issued when switching the clock switch order of clock signal, does not process described OOF warning information.
13. devices as claimed in claim 8, is characterized in that, described alarm detection module specifically for:
When judgement determines that the two is inconsistent, described OOF warning information is sent to the turning protocol module of described board switchover device, so that described turning protocol module writes corresponding registers by switch status, and described in notice, switch plate and carry out board switchover.
14. devices as described in claim 8-13 any one, is characterized in that, when described business board is working plate, described in to switch plate be baffle; When described business board is baffle, described in to switch plate be working plate.
CN201210357903.6A 2012-09-24 2012-09-24 A kind of board switchover method and device Expired - Fee Related CN103684834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210357903.6A CN103684834B (en) 2012-09-24 2012-09-24 A kind of board switchover method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210357903.6A CN103684834B (en) 2012-09-24 2012-09-24 A kind of board switchover method and device

Publications (2)

Publication Number Publication Date
CN103684834A true CN103684834A (en) 2014-03-26
CN103684834B CN103684834B (en) 2017-11-24

Family

ID=50321219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210357903.6A Expired - Fee Related CN103684834B (en) 2012-09-24 2012-09-24 A kind of board switchover method and device

Country Status (1)

Country Link
CN (1) CN103684834B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294758A (en) * 2016-04-13 2017-10-24 中兴通讯股份有限公司 A kind of method of Board Protection Switching, apparatus and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040205444A1 (en) * 2003-03-13 2004-10-14 Hideaki Arao Transport systems and method of monitoring burst error
CN1567806A (en) * 2003-06-18 2005-01-19 华为技术有限公司 Method and apparatus for implementing optical wavelength conversion function in communication system
CN1581716A (en) * 2003-08-12 2005-02-16 华为技术有限公司 Cross board master spare circuit inverting method and system
CN1921326A (en) * 2006-08-29 2007-02-28 华为技术有限公司 Method, device and system for main-standby inverting control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040205444A1 (en) * 2003-03-13 2004-10-14 Hideaki Arao Transport systems and method of monitoring burst error
CN1567806A (en) * 2003-06-18 2005-01-19 华为技术有限公司 Method and apparatus for implementing optical wavelength conversion function in communication system
CN1581716A (en) * 2003-08-12 2005-02-16 华为技术有限公司 Cross board master spare circuit inverting method and system
CN1921326A (en) * 2006-08-29 2007-02-28 华为技术有限公司 Method, device and system for main-standby inverting control

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294758A (en) * 2016-04-13 2017-10-24 中兴通讯股份有限公司 A kind of method of Board Protection Switching, apparatus and system

Also Published As

Publication number Publication date
CN103684834B (en) 2017-11-24

Similar Documents

Publication Publication Date Title
RU2633527C1 (en) Communication line switching method, device and system
CN106533736B (en) Network equipment restarting method and device
CN101188527B (en) A heartbeat detection method and device
US20160134467A1 (en) Method and apparatus for switching between master device and backup device
CN103473166B (en) A kind of small embedded-type system board card supervisory system
EP2352253A1 (en) Method and apparatus for protecting link aggregation group of ethernet ring
CN102571457B (en) A kind of method, bypass equipment changing method and device triggering bypass equipment and switch
CN106789264A (en) The method and apparatus that a kind of link aggregation group passage is switched fast
WO2016095344A1 (en) Link switching method and device, and line card
CN104320274A (en) Disaster tolerance method and device
CN101159504B (en) Synchronous digital hierarchy based ethernet protecting method
CN101989933A (en) Method and system for failure detection
CN112217658A (en) Stacking and splitting processing method and device
CN102571458A (en) Switching method and device for tunnel protection sets
CN109828945B (en) Service message processing method and system
US20200136912A1 (en) Method, Device, and System for Implementing MUX Machine
CN102255760B (en) Quick protection switching method with business cards backing up each other
CN110545198A (en) ERPS loop damage method and main node
CN103684834A (en) Single board switching method and device
CN103840956A (en) Backup method for gateway device of Internet of Things
CN114884803A (en) Method, device, equipment and medium for processing multiple redundant states
CN103532728A (en) Method and device for resetting fault digital signal processor (DSP) chip
WO2014040470A1 (en) Alarm message processing method and device
CN104348676A (en) Link detection method and device based on operation administration and maintenance
CN114095462A (en) Fault tolerance method and system for SRIO communication system of radar processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171124

Termination date: 20190924