CN1536772A - Main and standby boards inverter device and its inversion method - Google Patents

Main and standby boards inverter device and its inversion method Download PDF

Info

Publication number
CN1536772A
CN1536772A CNA031131778A CN03113177A CN1536772A CN 1536772 A CN1536772 A CN 1536772A CN A031131778 A CNA031131778 A CN A031131778A CN 03113177 A CN03113177 A CN 03113177A CN 1536772 A CN1536772 A CN 1536772A
Authority
CN
China
Prior art keywords
veneer
filter
main
standby
trigger
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
CNA031131778A
Other languages
Chinese (zh)
Other versions
CN100461645C (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.)
Jiawang Xuzhou Huai Qiang industry and Trade Co., Ltd.
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 CNB031131778A priority Critical patent/CN100461645C/en
Publication of CN1536772A publication Critical patent/CN1536772A/en
Application granted granted Critical
Publication of CN100461645C publication Critical patent/CN100461645C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electronic Switches (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention provides a kind of primary and backup boards switching device and the method, which belongs to communication field, especially refers to the occasion where need to carry on the switch of the primary and backup board in communication system. The invention provides a stable reliable device and the method. The invention uses structure which using unbalanced filter to sample, when the two single boards are powered on at the same time, or the primary and backup rival causes the vibration, because the sample times of the two single boards is different, thus it makes only one single board in using state, and needn't the third CPU to reset the single board. The invention applies to the occasion when needs to carry on switch of the primary and backup board in communication system.

Description

A kind of active and standby plate changeover apparatus and reverse method thereof
Technical field
The present invention relates to communication field, relate in particular to the occasion that the active and standby plate in the communication system is switched.
Background technology
In communication system, in order to make system's high stable ground work, make some important main standby boards usually with veneer, when the master was broken down with veneer, system can use standby board to carry out work rapidly.Improve the reliability of this system works, should improve the reliability of masterslave switchover.In active and standby plate reversed process, when main with veneer and standby board compete simultaneously lead with or compete simultaneously when standby, cause vibration easily; Having is exactly when the warm swap standby plate again, and the signal between active and standby plate disturbs, and may cause false triggering, and abnormal masterslave switchover is produced.
China Patent No. is 99229246.8, the applying date is on August 24th, 1999, the day for announcing is on June 14th, 2000, name is called the utility model patent of the active and standby plate switching device shifter of a kind of electrical communication system, disclose a kind of gate logic that utilizes and realized active and standby plate device for switching, this patent is the vibration that causes when utilizing the timing architecture of CPU to eliminate main and standby competition, promptly utilize CPU regularly to interrupt detecting the operating state of leading usefulness, standby board, when main and standby competition occurring, reset or software switches the wherein operating state of a plate.
This may bring such a case, when two on all four veneers power on the generation main and standby competition simultaneously, because two veneers are consistent relations, may cause two veneers the other side that resets simultaneously, maybe need to utilize reset wherein a certain veneer of third-party CPU.
Summary of the invention
For overcoming the deficiencies in the prior art, provide a kind of stable, realize the device that active and standby plate is switched reliably, the technical solution used in the present invention is:
A kind of active and standby plate changeover apparatus comprises two circuit board veneers 1 and veneer 2, trigger, filter that described veneer 1 comprises resistance, realized by the programmable logic device easily wiped; The resistance of veneer 1 is connected between veneer 1 trigger input and the ground, another input of veneer 1 trigger connects the output of veneer 1 filter, the output of veneer 1 trigger connects the input of veneer 2 filters, the output of veneer 2 triggers connects the input of veneer 1 filter, the set termination 0 of veneer 1 filter, the sampling number of veneer 1 filter is an Integer n; Described veneer 2 removes its filter set termination 1, and sampling number is outside Integer n and the integer m sum, and is identical with veneer 1.
In the present invention, the sampling number of above-mentioned veneer 1 filter can be 3, and the sampling number of described veneer 2 filters is 4 simultaneously.
The model of the above-mentioned programmable logic device of easily wiping is SXC95144XL or EPM7128ATC144.
A kind of active and standby plate reverse method comprises the following steps:
With the set termination 0 of veneer 1 filter, with the filter set termination 1 of veneer 2;
Veneer 1 filter sends low level to veneer 2 triggers and abandons the main signal of using, and veneer 2 filters obtain the master to veneer 1 trigger transmission high level and use signal, and veneer 1 is abandoned main usefulness, and veneer 2 obtains main using;
When two veneers are striven the main time spent simultaneously, veneer 1 filter continuous sampling n time, if n time value all is 0, then abandon the master to veneer 1 trigger transmission low level and use signal, veneer 1 is abandoned main usefulness, at this moment, veneer 2 filter continuous samplings n+m time, n+m time value is not all the same, then obtains the main signal, veneer 2 used to veneer 2 triggers transmission high level and obtains main using;
When two veneers are striven when standby simultaneously, veneer 1 filter continuous sampling n time, if n time value is not all the same, then obtain the master to veneer 1 trigger transmission high level and use signal, veneer 1 obtains main usefulness, at this moment, veneer 2 filter continuous samplings n+m time, n+m time value is 0, then abandons the main signal, veneer 2 used to veneer 2 triggers transmission low level and abandons main using.
Because the structure that the present invention has adopted uneven filter to sample, when powering up simultaneously or carry out main and standby competition, two veneers cause when vibration, because two veneer filter sample number of times differences, thereby can make and have only a veneer to be in the main state of using, and do not need third party CPU to carry out board resetting, this shows that the present invention has simple in structure, reliable and stable characteristics.
Description of drawings
Fig. 1 is a structural representation of the present invention.
Fig. 2 is a sequential chart of the present invention.
Embodiment
The present invention is that the programmable logic device that usefulness is easily wiped is that EPLD realizes the device that highly reliable active and standby plate is switched.This device mainly comprises masterslave switchover interlocking and the uneven filter construction device of realizing with EPLD.
The masterslave switchover interlocking structure is used for the main and standby boards interlocking to be used, and this device is a kind of interlocking structure of similar rest-set flip-flop.When veneer is abandoned main usefulness automatically when resetting, if obtain main using just another veneer standby plate is in to strive to lead with state.After board resetting success, as standby board, simultaneously when veneer finish normal initialization self check, also correctly load and move corresponding software module after, be initially located in the main state of using of striving, like this, in case after main board was abandoned main using, standby plate can obtain main using fast.The master abandons main usefulness immediately with veneer when resetting, strive the main main usefulness of standby plate acquisition with state so that be in.Simultaneously, in software, added the information of timing watching activestandby state, further to guarantee having only a veneer as main board.
Uneven filter apparatus has utilized a kind of unbalanced filter construction, when finishing active and standby masterslave switchover main board and standby plate compete simultaneously main with or compete the elimination that causes vibration when standby, the false triggering that causes when being used to eliminate single-board insert-pull by filter simultaneously simultaneously.
A kind of method that realizes that reliability is switched provided by the invention may further comprise the steps:
1. after in a single day veneer resetted, at first this veneer was abandoned main usefulness, and carried out the initialization self check, and correctly loaded and move corresponding software module.After finishing, when another veneer does not exist or during fault, this veneer becomes main using.When another veneer is main when use veneer, this veneer is as standby plate, and enters the state of using of leading of striving.
2. if two veneers power on simultaneously, in logic, utilize uneven filter construction, make and to compete the main time spent when standby (or compete simultaneously) simultaneously when two veneers, a certain veneer is at first abandoned main with (or standby), it is main constant with (or standby) that another veneer keeps, and eliminated two veneers and competed the main vibration that causes with (or standby) simultaneously.
3. main state with veneer periodic monitor standby board, whether on the throne as standby plate, whether occur resetting, normally whether program operation, alarm etc. whether occurs.When error condition appearred in standby plate, main board immediate replacement standby plate required when switching to guarantee main board, and standby plate is in the main state of using of striving.
When main with veneer abandon automatically main with, reset or when not on the throne, standby plate obtains main usefulness automatically.
The present invention is described in further detail below in conjunction with the drawings and specific embodiments.
Accompanying drawing 1 is structural representation of the present invention.
In active and standby interlocking mechanism, employing be trigger interlocking and the uneven filter construction of realizing with EPLD.Trigger is selected rest-set flip-flop for use in the present invention.The model of programmable logic device EPLD is SXC95144XL, also can adopt the EPLD of EPM7128ATC144 model.
Signal MASCT is the main and standby competition signal of software control among Fig. 1, is used for veneer and carries out main and standby competition; O_MS_VIE is the activestandby state signal of this veneer, and I_MS_VIE is the activestandby state signal to method, single; I_MS_REV is through filtered the other side's single board main/standby status signal.These signals carry out interlocking by latch.The MASCT significant level is a high level, shows that veneer is in the main state of using of competition; Low level shows that veneer is in and abandons the main race condition of using.O_MS_VIE (the I_MS_VIE signal of the other side's plate) significant level is a low level, represents that this plate is in the main state of using; High level represents that this plate is in stand-by state.Simultaneously, veneer is according to the slot number difference at place, makes the sampling number difference of filter when filtering.This is a kind of filter of non-equilibrium structure.
MASCT uses the I/O mouth of CPU to control, and is disarmed state when powering under the effect of pull down resistor, does not compete main using.After veneer enters normal operating condition, by software this signal is changed to effectively, veneer is in strives the main state of using, locking the other side's output, the filter of this plate is used the other side's signal O_MS_VIE through judging whether to obtain the master after the filtering then.Therefore, the output signal O_MS_VIE of veneer should feed back to the other side, and this signal is through influence that can jitter is produced when preventing the other side's plate plug veneer after filtering simultaneously.The veneer that is in main usefulness should be kept signal MASCT for effective.When veneer needs to abandon the main time spent for a certain reason, MASCT is changed to inactive level with signal.
Standby plate should make signal MASCT effective after the normal operation of software, and like this, in case main board is abandoned main usefulness, the standby plate veneer can obtain main using fast.Standby plate software should periodically monitor activestandby state signal O_MS_VIE, uses state so that switch to the master, prevents the inconsistent situation of hardware and software activestandby state.
If software runs and to fly, then need the hardware watchdog whole veneer that resets, mainly abandon main using thereby make with veneer.
Fig. 2 is a sequential chart.Process is eliminated in the vibration that this figure explanation is competed the main time spent simultaneously when two veneers.
Among Fig. 2, MCLK is the master clock of EPLD.The sampling of filter is to carry out once at each master clock cycle of EPLD.To if the value unanimity of 3 samplings then is sent to this sampled value among the front end signal I_MS_REV of trigger, switch control to the current continuous sampling of activestandby state signal I_MS_VIE of method, single 3 times for the filter of veneer 1.To if the value unanimity of 4 samplings then is sent to this sampled value among the front end signal I_MS_REV of trigger, switch control to the current continuous sampling of activestandby state signal I_MS_VIE of method, single 4 times for the filter of veneer 2.Veneer 1 and veneer 2 are to distinguish by the inconsistent of slot number separately, and wherein the slot number of veneer 1 is 0, and the slot number of veneer 2 is 1.Realized a kind of filter of unbalanced construction like this.Utilize the filter of this unbalanced construction, when two veneers are both the main time spent of competition, veneer 1 continuous sampling signal I_MS_VIE (the signal O_MS_VIE that sends here from veneer 2) all samples " 0 " value 3 this moments, therefore signal I_MS_REV is composed " 0 " value, then this plate is abandoned main usefulness at once, enters stand-by state.The signal I_MS_VIE of veneer 2 samples " 0 " value also continuous 3 times, needs 4 same values of continuous sampling and work as veneer 2, just signal I_MS_REV is composed this value.The signal I_MS_VIE of veneer 2 is when the value of the 4th sampled signal I_MS_VIE, because veneer 1 is a stand-by state, the value of the signal O_MS_VIE of veneer 1 is " 1 " at this moment, and veneer samples " 1 " value 2 this moments, so the value of the signal I_MS_REV of veneer 2 keeps " 1 " constant.Compete the main time spent simultaneously at two veneers like this, can not produce vibration.
Compete simultaneously when standby when two veneers, with the principle unanimity of the main usefulness of competition, veneer 1 is at first abandoned standby, promptly obtains main usefulness, and veneer 2 keeps standby constant.In addition, when veneer 1 can't be abandoned main usefulness, for example veneer damages and makes that signal MACST is the situation of 0 situation when taking place for a long time, after veneer 2 continuous samplings to 4 this moment time " 1 " value, can abandon standbyly automatically, obtains main using.
Like this, utilize the disequilibrium of board switchover sampling filter to eliminate the vibration that main and standby competition causes, utilized the filter function of filter simultaneously, when having eliminated the warm swap standby plate, the signal between active and standby plate and disturb and cause false triggering.
Can select n (n=1,2,3 for the filter sample number of times of veneer 1 ...) inferior, the filter sample number of times of veneer 2 can be selected n+m (n=1,2,3 M=1,2,3 ...) inferior.Sampling number is many more, and then filter effect is good more, but has reduced the speed of switching simultaneously.Therefore the selection of filter sample number of times should be selected according to the height of EPLD working clock frequency and the speed of switching of system requirements.
The present invention utilizes switching and uneven filter circuit of the logic realization of EPLD one kind rest-set flip-flop, eliminated like this veneer compete at the same time main with or compete vibration when standby simultaneously, the false triggering that has caused when having eliminated single-board insert-pull has improved the reliability of masterslave switchover.

Claims (4)

1. an active and standby plate changeover apparatus comprises two circuit board veneers 1 and veneer 2, it is characterized in that trigger, filter that described veneer 1 comprises resistance, realized by the programmable logic device easily wiped; The resistance of veneer 1 is connected between veneer 1 trigger input and the ground, another input of veneer 1 trigger connects the output of veneer 1 filter, the output of veneer 1 trigger connects the input of veneer 2 filters, the output of veneer 2 triggers connects the input of veneer 1 filter, the set termination 0 of veneer 1 filter, the sampling number of veneer 1 filter is an Integer n; Described veneer 2 removes its filter set termination 1, and sampling number is outside Integer n and the integer m sum, and is identical with veneer 1.
2. a kind of active and standby plate changeover apparatus according to claim 1 is characterized in that the sampling number of described veneer 1 filter is 3, and the sampling number of described veneer 2 filters is 4 simultaneously.
3. a kind of active and standby plate changeover apparatus according to claim 1 is characterized in that the model of the described programmable logic device of easily wiping is SXC95144XL or EPM7128ATC144.
4. an active and standby plate reverse method is characterized in that, comprises the following steps:
With the set termination 0 of veneer 1 filter, with the filter set termination 1 of veneer 2;
Veneer 1 filter sends low level to veneer 2 triggers and abandons the main signal of using, and veneer 2 filters obtain the master to veneer 1 trigger transmission high level and use signal, and veneer 1 is abandoned main usefulness, and veneer 2 obtains main using;
When two veneers are striven the main time spent simultaneously, veneer 1 filter continuous sampling n time, if n time value all is 0, then abandon the master to veneer 1 trigger transmission low level and use signal, veneer 1 is abandoned main usefulness, at this moment, veneer 2 filter continuous samplings n+m time, n+m time value is not all the same, then obtains the main signal, veneer 2 used to veneer 2 triggers transmission high level and obtains main using;
When two veneers are striven when standby simultaneously, veneer 1 filter continuous sampling n time, if n time value is not all the same, then obtain the master to veneer 1 trigger transmission high level and use signal, veneer 1 obtains main usefulness, at this moment, veneer 2 filter continuous samplings n+m time, n+m time value is 0, then abandons the main signal, veneer 2 used to veneer 2 triggers transmission low level and abandons main using.
CNB031131778A 2003-04-08 2003-04-08 Main and standby boards inverter device and its inversion method Expired - Fee Related CN100461645C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031131778A CN100461645C (en) 2003-04-08 2003-04-08 Main and standby boards inverter device and its inversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031131778A CN100461645C (en) 2003-04-08 2003-04-08 Main and standby boards inverter device and its inversion method

Publications (2)

Publication Number Publication Date
CN1536772A true CN1536772A (en) 2004-10-13
CN100461645C CN100461645C (en) 2009-02-11

Family

ID=34319993

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031131778A Expired - Fee Related CN100461645C (en) 2003-04-08 2003-04-08 Main and standby boards inverter device and its inversion method

Country Status (1)

Country Link
CN (1) CN100461645C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100362759C (en) * 2004-07-20 2008-01-16 华为技术有限公司 Single board standby system
CN101150430B (en) * 2007-09-17 2010-09-01 中兴通讯股份有限公司 A method for realizing network interface board switching based heartbeat mechanism
CN101252372B (en) * 2008-04-10 2011-05-04 烽火通信科技股份有限公司 Method for switching main and standby master-control panel in double star-type system
CN101267273B (en) * 2007-03-16 2011-08-17 富士通株式会社 Optical transmission apparatus
CN104468210A (en) * 2014-12-01 2015-03-25 国家计算机网络与信息安全管理中心 Quick main and standby switching control method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0888673A (en) * 1994-09-20 1996-04-02 Hitachi Ltd Line changeover device
CN1092864C (en) * 1998-08-25 2002-10-16 华为技术有限公司 Master backup reverse device
CN2383274Y (en) * 1999-08-24 2000-06-14 深圳市中兴通讯股份有限公司 Main spare plate switching device for electronic communication system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100362759C (en) * 2004-07-20 2008-01-16 华为技术有限公司 Single board standby system
CN101267273B (en) * 2007-03-16 2011-08-17 富士通株式会社 Optical transmission apparatus
CN101150430B (en) * 2007-09-17 2010-09-01 中兴通讯股份有限公司 A method for realizing network interface board switching based heartbeat mechanism
CN101252372B (en) * 2008-04-10 2011-05-04 烽火通信科技股份有限公司 Method for switching main and standby master-control panel in double star-type system
CN104468210A (en) * 2014-12-01 2015-03-25 国家计算机网络与信息安全管理中心 Quick main and standby switching control method
CN104468210B (en) * 2014-12-01 2017-11-21 国家计算机网络与信息安全管理中心 A kind of quick master-slave swap control method

Also Published As

Publication number Publication date
CN100461645C (en) 2009-02-11

Similar Documents

Publication Publication Date Title
CN101030073A (en) Switch circuit for engine redundant electrically-controlled system and its controlling method
CN1251419C (en) Method for realization of fast rearranging main spared device in communication devices
CN1536772A (en) Main and standby boards inverter device and its inversion method
CN2519335Y (en) Controlling logic circuit of gate keeper dog
CN1716212A (en) System and method for recovery from disaster
CN1184744C (en) Master-spare converting control circuit and method for realizing it
CN1248425C (en) Exchange method between on-line and off-line communicator
CN1324794C (en) Parallel synchronous phase locking method of uninterrupted power source
CN1202684C (en) Mobile telephone able to stop main timer
CN1510565A (en) Reset circuit and control method for embedded system
CN101202458B (en) Power supply circuit
CN1780348A (en) Power supply controlling method and system for telecommunication system
CN1235115C (en) Method and device for controlling simultaneous turn-on and trun-off of computer host and display
CN1047035C (en) A method for recovering a faulty unit and a recovery system
CN1612495A (en) Main-standby conversion control method for communication device
CN1722628A (en) Method and system for equipment switching in communication system
CN1512641A (en) Detecting and protective device for preventing device frmo forming short circuit on circuit board
CN2383274Y (en) Main spare plate switching device for electronic communication system
CN1481089A (en) Multithreading test method utilized in tester for communication devices
CN1922579A (en) Electronic circuit arrangement for detecting a failing clock
CN1151044A (en) Control device for power saving
CN218771258U (en) Electric leakage locking protection circuit
CN2713739Y (en) Broad band data communication chip
CN1897383A (en) Operation blocker and blocking method for user
SU1363180A1 (en) Homogeneous structure cell

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171101

Address after: 221000 A5 office building, Xuzhou Avenue North Pioneer Park, Xuzhou Industrial Park, Jiangsu

Patentee after: Jiawang Xuzhou Huai Qiang industry and Trade Co., Ltd.

Address before: 518057 Department of law, Zhongxing building, South Science and technology road, Nanshan District hi tech Industrial Park, Shenzhen

Patentee before: ZTE Corporation

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: 20090211

Termination date: 20180408