CN1612495A - Main-standby conversion control method for communication device - Google Patents

Main-standby conversion control method for communication device Download PDF

Info

Publication number
CN1612495A
CN1612495A CN 200310111916 CN200310111916A CN1612495A CN 1612495 A CN1612495 A CN 1612495A CN 200310111916 CN200310111916 CN 200310111916 CN 200310111916 A CN200310111916 A CN 200310111916A CN 1612495 A CN1612495 A CN 1612495A
Authority
CN
China
Prior art keywords
main
standby
active
plate
signal
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.)
Pending
Application number
CN 200310111916
Other languages
Chinese (zh)
Inventor
李江宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Harbour Networks Holdings 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 Harbour Networks Holdings Ltd filed Critical Harbour Networks Holdings Ltd
Priority to CN 200310111916 priority Critical patent/CN1612495A/en
Publication of CN1612495A publication Critical patent/CN1612495A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The method is suitable to warm back-up method for devices in 1+1 type especially. The implementation method includes following steps (a) Online signal is adopted to represent on-position of main backup board; (b) GOOD signal is adopted to represent whether the main backup board is in operation normally; (c) ACTIVE signal is adopted to indicate main backup state of the main backup board; (d) standby clock locks clock in main use; (e) data are backed up between main backed up boards. In the invention, Ethernet ports are utilized to carry out communication, network ports are utilized for communication between main backboard without need of adding additional circuit, and dedicated communication protocol is also not needed.

Description

A kind of main standby switching control method that is used for communication equipment
Technical field:
The present invention relates to the main and standby rearranging method of equipment in the communication system, especially the heat backup method of the 1+1 formula of equipment.
Background technology:
Modern communications equipment such as switch, optical transmission device, Ethernet switch etc. often have higher requirements to the reliability of complete machine, this just requires the designer well-designed, and select good device or the like for use, and device always has certain failure rate, system also is difficult to avoid existing some defective, but the amount of information of communication system processing at present sharply expands, equipment also becomes increasingly complex, to the designing requirement perfection, perhaps the reliability to device proposes too high requirement, unpractical often, even perhaps realized, also can cause the price of equipment to bear.
Another method that improves reliability is to adopt redundancy backup, when certain piece veneer or certain circuit went wrong, its spare module can be taken over job, thereby guaranteed the steady operation of whole system, so same reliability that can improve whole system, and cost is not high.In the General System design, can do the 1+1 Redundancy Design to critical component such as master control, clock, exchange, power supply etc. usually, when this part parts goes wrong, can cause whole system to break down.And, adopt 1 for circuit pack: the design of n, its performance, cost can both obtain balanced preferably.
For the 1+1 Redundancy Design, also can be divided into dual mode, the one, Hot Spare, main standby plate is worked simultaneously, and its output also is the same, is the real output signal of standby plate, and its output is closed; Or active and standby usefulness exports simultaneously, by each controlled veneer according to the active and standby index signal of using, selective reception.Another kind of mode is a cold standby, and just standby plate is not worked, and just when main board breaks down, just starts working.The mode performance of Hot Spare is better, but complexity is gone up in design.In communication equipment, the Hot Spare mode is more common.
The objective of the invention is to: a kind of main standby switching control method that is used for communication equipment is provided
Summary of the invention:
The present invention adopts following steps to realize:
A, adopt the on the throne of the active and standby plate of Online signal indication;
B, adopt whether operate as normal of the active and standby plate of GOOD signal indication;
C, employing ACTIVE signal are indicated the activestandby state of active and standby plate;
D, standby clock locks clock in main use;
E, backed up between main backed up boards data.
The design has following advantage:
1, control, clock, Switching Module and switch function thereof focus on the plate, have improved the integrated level of complete machine;
2, smoothly switch, impact little business;
3, reduce the design complexities of backboard.Service signal on the backboard is high speed signal often, and quantity is also few; And, consider the problem of signal quality for clock signal, also should not adopt the mode of sharing holding wire.And the cpu bus of control signal such as low speed, address, data-signal quantity are a lot, adopt dual transmitting and receiving mode be inappropriate, can cause the backboard signal sharply to increase like that;
4, avoided active and standby with competition, or the situation of deadlock;
5, reliability is higher, even the CPU of active and standby plate does not work, also can guarantee normally switching of professional and clock;
6, realize simply not having complicated Handshake Protocol between main standby plate;
7, directly adopt Ethernet interface to communicate the simplified system design between main standby plate.
Execution mode:
The present invention is applicable to control, exchange, clock is integrated in an application scenario on the veneer.In the communication equipment in the past, normally control, exchange and clock are placed on respectively on the different veneers, make special master control borad, power board, clock board etc., but at present along with the integrated level of chip is more and more higher, the port density of communication equipment is also increasing simultaneously, is feasible in realization with being partially integrated on the plate of control, exchange and the such core of clock, also can save the groove position simultaneously, thereby more professional groove position is provided, improves unit loaded service capacity.Each main modular is focused in the plate, and also can occur some new problems certainly needs to consider, at first is that the signal that is connected with backboard sharply increases; After each module focused on the plate, separately whether independent operating was switched alone, still did as a wholely, and this also needs to consider; Simultaneously, the characteristics of switching of each module are also not quite identical.Controlled function can temporarily stop when switching, neither be very high to the requirement of switching time, but the data of configuration will guarantee active and standby plate unanimity; And exchange and clock module are had relatively high expectations to switching time, if the time is longer, can cause the interruption of business, and this belongs to serious fault in communication equipment, and such as of short duration noise is arranged in the communication process, but number still can engage, and the user can accept so; If but conversation interruption suddenly needs dialing again, concerning the user, is exactly unacceptable.
The masterslave switchover of switching part of the present invention adopts the mode of dual transmitting and receiving, specifically, be exactly that business board sends the identical signal of two-way to active and standby power board, and active and standby power board respectively sends one road signal to business board, business board is according to the signal of active and standby index signal selective reception main board.Because the configuration of power board is identical, import identically, so the signal that business board is received also is identical, when masterslave switchover took place, it was just passable only to need change on business board a data source.
The switchover mode and the switching part of clock part are similar, and clock or external clock source that each business board extracts are delivered to master/backup clock simultaneously, and each business board selects to use main/stand-by clock.But standby clock is not to resemble to lock certain external clock the active clock, but directly lock active clock, and the clock chip of selecting for use will have active and standby interlock function, to guarantee that main/stand-by clock possesses fixing phase difference, otherwise phase difference at random can appear in the business datum of active and standby plate output, is unfavorable for smoothly switching.
The active and standby realization of control section needs to consider in addition, at first be the requirement height of the real-time requirement of control not as exchange and clock, this point is apparent in view in transmission equipment, and its business is changeless basically, temporary transient out of handly can normally not move by traffic affecting.The present invention does not adopt the mode of dual transmitting and receiving, but the mode that the single-shot list is received, standby plate directly and business board get in touch.During operate as normal, have only main board, comprise configuration service, inquire about each single board state etc., and standby plate can't be communicated by letter with each business board directly, must the information of collecting be transmitted to standby plate by main board carrying out normal operation.
The present invention adopts Ethernet interface to communicate, and in the CPU design that present most of communication equipments use, all provides Ethernet interface usually, be used for debugging, connect webmaster backstage etc., network interface is used for communicating by letter between eutergum, promptly do not need to increase in addition circuit, need not adopt special communication protocol yet.
The present invention adopts following steps to realize:
A, adopt the on the throne of the active and standby plate of Online signal indication;
B, adopt whether operate as normal of the active and standby plate of GOOD signal indication;
C, employing ACTIVE signal are indicated the activestandby state of active and standby plate;
D, standby clock locks clock in main use;
E, backed up between main backed up boards data.
The specific implementation method is as follows:
1, active and standby usefulness determines
When device power-up, active and standby two boards powers on simultaneously and starts working, and at this moment needs to determine active and standby usefulness by a fixing means, avoids occurring the active and standby competitive way of using.Here three signals have been used, online on the throne, veneer indication working properly good, active and standby indication active, main spareslots position indication main.Definite process of active and standby usefulness is as follows:
A), at first oneself is made as standby plate, promptly active is invalid, and sends signal online on the throne, read simultaneously own under the groove position;
B), the single plate hardware self check, normally then sends the GOOD signal, and enter next step, otherwise this plate is maintained stand-by state, and withdraw from the active and standby deterministic process of using;
C), read plate signal on the throne, if not on the throne, then this plate is made as main board to plate, send the active signal.
D) if on the throne to plate, read the signal to plate active, if be main to use state to plate, then this plate maintains the stand-by state state, withdraws from active and standby deterministic process;
E) if on the throne to plate, and also be standby, read good signal again to plate, if plate is not sent good, then this plate is sent the active signal, enters the main state of using;
F), then according to the groove position of being inserted,, then oneself is made as main usefulness, otherwise keeps stand-by state if oneself be in the major trough position if plate has been sent the good state.
The determining and to allocate in advance adopting on the backboard to draw of wherein main spareslots position with drop-down, can prevent under extreme case, when for example powering on simultaneously, might occur two simultaneously and lead usefulness or standby, or ceaselessly from main standby, again from the standby oscillatory occurences that forwards main usefulness to forwarding to.
The Good signal is used to here represent that the hardware of veneer is normal, and standby plate is reported its hardware state with the good signal to main board, if the CPU of two boards does not work, two boards still can carry out masterslave switchover by the good signal.
The advantage of said method comprises: determining and can being realized by hardware fully of active and standby usefulness do not need software to participate in the veneer of some; such as clock board, do not need software setting just can work, so; even systems soft ware work is undesired, also can protects normally and switch.In addition, active and standby usefulness definite fairly simple, each deterministic process is all very simple, does not need complicated processing procedure.Simultaneously, software also can be as required, such as order of webmaster etc., carries out Forced Switch.
2, switch protection
Switch reason and comprise 4 sources:
A), hardware check, such as the crystal oscillator on the veneer, inner low-tension supply etc., the failure rate of this part device is higher, can detect this part signal in circuit; The detection of power supply can directly detect it and have or not, and the part power supply chip also can provide alarm signal.The detection of crystal oscillator can be adopted the mode of counter, also can detect the approximate range of its frequency simultaneously.
B), the alarm signal that provides of business chip; Functional chip the time can detect signal flow in work, and such as CRC check, search synchronization character etc. when abnormal conditions occurring, generally can produce and interrupt output, with prompt alarm, and provides register to be convenient to CPU to inquire about concrete warning information;
C), the work of the CPU on the veneer is undesired, entered endless loop such as program, the mode of watchdog is generally adopted in the detection of this problem.Can on hardware, adopt a counter, regularly it be resetted by software, this counter if software can not in time reset, counter will overflow, and can think that CPU work is undesired this moment.
D), the software Forced Switch, comprise issuing and switch order by webmaster.Above-mentioned three kinds of modes can not detect all problems, and the mode by software inquiry can obtain more veneer job information, simultaneously by with to the communicating by letter of plate, also can detect the other side's working condition.In addition, provide the software switch function, also can be used for Operation and Maintenance personnel positioning problem, simultaneously, when veneer need be changed,, can adopt Manual Switch, business temporarily is switched on the standby plate, thereby do not influence the operate as normal of complete machine such as upgrading.
Above-mentioned switches in the reason, and switching that hardware check produces is the fastest, almost is one to go wrong for the detection of power supply, will cause at once switching, and several operations with CPU in back is relevant, relatively will be slowly, and the reaction time discreteness is also bigger.
3, reversed process
Reversed process needs three control signal: active, good, rst, enable, and the enable here is used to enable the output of control signal.
During operate as normal, main board regularly is sent to standby plate by network interface with information and the system configuration situation of collecting, and standby plate is kept at this information on the veneer, in order to using in the future.
Need to prove that for main board, breaking away from the master has two kinds of situations with state, the one, good and active lost efficacy, and showed that single plate hardware goes wrong; The 2nd, have only acitve to lose efficacy, and the good signal is effective, second kind of situation shows that hardware is normal, but software detection is undesired to abnormal conditions or software operation itself, and also need to switch this moment.
During operate as normal, main standby plate detects the other side's active and good signal, detect the good Signal Fail of standby plate when main board after, directly report the backstage by network interface.After main board detects hardware fault, then close good output, if detected is software fault, then do not close good output, but either way enter into switch status: main board hardware is the output of this plate control signal of positive closing at first, close the enable signal, it is invalid then active to be changed to;
The active that in a single day standby plate detects main board is invalid, also enter switch status, at first be that active with this plate is made as effectively, and generation by interrupting switching to the software notice, software is had no progeny in receiving, the control of taking over system according to former backed up data, and at first the mode of operation with the clock module of this plate makes into consistent with the pattern of former main board, enable the enable signal of this plate then, switch to the webmaster reporting system simultaneously.
The enable of main standby plate is interlocking, can not be simultaneously effectively, and the purpose of doing like this is that the control bus that prevents main standby plate clashes, and causes components from being damaged.
Here the process of the masterslave switchover detection of main board that do not place one's entire reliance upon to self, standby plate communicates by Ethernet interface and main board, when main board does not react, standby plate also will communicate with webmaster, if and network management communication is normal, and and the main board communication abnormality, show that then main board has gone wrong, otherwise the communication that shows standby plate itself has problem, need close the good signal of standby plate.It is undesired that standby plate detects main board, and main board itself does not initiate to switch, standby plate can reset to main board by the rst signal, this will cause main board to carry out initialization procedure again, in its initialization procedure, this plate is to be in stand-by state always, and it is invalid that at this moment former standby plate detects plate active, thereby enters reversed process automatically.

Claims (1)

1, a kind of main standby switching control method that is used for communication equipment is characterized in that: adopt following steps to realize:
A, adopt the on the throne of the active and standby plate of Online signal indication;
B, adopt whether operate as normal of the active and standby plate of GOOD signal indication;
C, employing ACTIVE signal are indicated the activestandby state of active and standby plate;
D, standby clock locks clock in main use;
E, backed up between main backed up boards data.
CN 200310111916 2003-10-28 2003-10-28 Main-standby conversion control method for communication device Pending CN1612495A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200310111916 CN1612495A (en) 2003-10-28 2003-10-28 Main-standby conversion control method for communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200310111916 CN1612495A (en) 2003-10-28 2003-10-28 Main-standby conversion control method for communication device

Publications (1)

Publication Number Publication Date
CN1612495A true CN1612495A (en) 2005-05-04

Family

ID=34759521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200310111916 Pending CN1612495A (en) 2003-10-28 2003-10-28 Main-standby conversion control method for communication device

Country Status (1)

Country Link
CN (1) CN1612495A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100362482C (en) * 2005-07-21 2008-01-16 上海华为技术有限公司 Dual-machine back-up realizing method and system
CN101146369B (en) * 2007-07-30 2010-12-08 中兴通讯股份有限公司 Bus selection method and device for optical synchronization digital transmission system
CN101145800B (en) * 2007-10-19 2011-03-02 中兴通讯股份有限公司 A method and device for improving reliable switching of clock board
CN102014000A (en) * 2010-12-03 2011-04-13 中兴通讯股份有限公司 E1/T1 branch protection method and device
CN101232357B (en) * 2008-02-27 2011-05-18 北京佳讯飞鸿电气股份有限公司 Apparatus and method for realizing main and spare plate card rearrange
CN102073562A (en) * 2010-12-31 2011-05-25 山石网科通信技术(北京)有限公司 Hardware-based main/standby switch arbitration method
CN102255760A (en) * 2011-08-17 2011-11-23 杭州依赛通信有限公司 Quick protection switching method with business cards backing up each other
CN101557299B (en) * 2008-04-11 2011-11-30 中兴通讯股份有限公司 Main and standby rearranging method based on object
CN101494564B (en) * 2008-01-25 2011-12-07 中兴通讯股份有限公司 Apparatus for monitoring power supply and method for implementing veneer thermal backup
CN104283712A (en) * 2014-10-13 2015-01-14 杭州华三通信技术有限公司 Network equipment and management internet port configuration method for same
CN113742165A (en) * 2021-07-23 2021-12-03 文华学院 Double-master control equipment and master-slave control method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100362482C (en) * 2005-07-21 2008-01-16 上海华为技术有限公司 Dual-machine back-up realizing method and system
CN101146369B (en) * 2007-07-30 2010-12-08 中兴通讯股份有限公司 Bus selection method and device for optical synchronization digital transmission system
CN101145800B (en) * 2007-10-19 2011-03-02 中兴通讯股份有限公司 A method and device for improving reliable switching of clock board
CN101494564B (en) * 2008-01-25 2011-12-07 中兴通讯股份有限公司 Apparatus for monitoring power supply and method for implementing veneer thermal backup
CN101232357B (en) * 2008-02-27 2011-05-18 北京佳讯飞鸿电气股份有限公司 Apparatus and method for realizing main and spare plate card rearrange
CN101557299B (en) * 2008-04-11 2011-11-30 中兴通讯股份有限公司 Main and standby rearranging method based on object
CN102014000A (en) * 2010-12-03 2011-04-13 中兴通讯股份有限公司 E1/T1 branch protection method and device
CN102073562A (en) * 2010-12-31 2011-05-25 山石网科通信技术(北京)有限公司 Hardware-based main/standby switch arbitration method
CN102255760A (en) * 2011-08-17 2011-11-23 杭州依赛通信有限公司 Quick protection switching method with business cards backing up each other
CN102255760B (en) * 2011-08-17 2013-12-25 杭州依赛通信有限公司 Quick protection switching method with business cards backing up each other
CN104283712A (en) * 2014-10-13 2015-01-14 杭州华三通信技术有限公司 Network equipment and management internet port configuration method for same
CN104283712B (en) * 2014-10-13 2017-10-27 新华三技术有限公司 The network equipment and the management network port collocation method for the network equipment
CN113742165A (en) * 2021-07-23 2021-12-03 文华学院 Double-master control equipment and master-slave control method
CN113742165B (en) * 2021-07-23 2024-05-24 文华学院 Dual master control equipment and master-slave control method

Similar Documents

Publication Publication Date Title
CN100336345C (en) Biprimary controlled network equipment and its master back-up switching method
KR100603599B1 (en) Apparatus and Method for Redundancy Control of Redundancy Switch Board
CN1612495A (en) Main-standby conversion control method for communication device
CN101635652B (en) Method and equipment for recovering fault of multi-core system
CN1702601A (en) Electronic device with serial ATA interface and power-saving control method used in the device
CN102843259A (en) Middleware self-management hot backup method and middleware self-management hot backup system in cluster
CN100488070C (en) Link switching device and its method in communication system
CN101582797A (en) Management board and two-unit standby system and method
CN101547053A (en) Clock-switching method and clock-generating device
CN111585835B (en) Control method and device for out-of-band management system and storage medium
WO2006005251A1 (en) Method and system for carrying out the function of switching in a communication system
CN102231700B (en) Exchange card switching information transmission method and exchange card hot backup system
CN101515835A (en) Method and device for backing up across-board optical port
CN103095502B (en) The dynamically single channel IIC machine frame management system of two-shipper Switchover mechanism
CN100362757C (en) Master stand-by inkage switching method of cascade one-board
CN100562179C (en) A kind of SDH equipment and SDH service protecting method thereof
CN101192848B (en) Method and system for realizing the master/slave single board dual-host reset and online information
US7350116B1 (en) Clock synchronization and fault protection for a telecommunications device
CN100499387C (en) A method of singleboard N+1 backup in communication system
CN105278651A (en) Redundancy control system
CN102123047A (en) Gridding system network architecture (SNA) of trislot position device
CN103001789A (en) Clock switching method and clock switching device
CN112346905B (en) Data backup system
KR100364780B1 (en) Normal circuit selecting device in communication system
CN1518234A (en) Centralized control and hierarchical implementing switching control method 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
ASS Succession or assignment of patent right

Owner name: HUAWEI TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: GANGWAN NETWORK CO., LTD.

Effective date: 20061013

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20061013

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant after: Huawei Technologies Co., Ltd.

Address before: 100871, No. 21 West Third Ring Road, Beijing, Haidian District, Long Ling Building, 13 floor

Applicant before: Harbour Networks Holdings Limited

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication