CN1992649A - Method for on-line detection of master-slave board and circuit thereof - Google Patents

Method for on-line detection of master-slave board and circuit thereof Download PDF

Info

Publication number
CN1992649A
CN1992649A CN 200510022406 CN200510022406A CN1992649A CN 1992649 A CN1992649 A CN 1992649A CN 200510022406 CN200510022406 CN 200510022406 CN 200510022406 A CN200510022406 A CN 200510022406A CN 1992649 A CN1992649 A CN 1992649A
Authority
CN
China
Prior art keywords
veneer
online
circuit
signal
line detection
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 200510022406
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.)
MAIPU (SICHUAN) COMMUNICATION TECHNOLOGY Co Ltd
Original Assignee
MAIPU (SICHUAN) COMMUNICATION TECHNOLOGY 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 MAIPU (SICHUAN) COMMUNICATION TECHNOLOGY Co Ltd filed Critical MAIPU (SICHUAN) COMMUNICATION TECHNOLOGY Co Ltd
Priority to CN 200510022406 priority Critical patent/CN1992649A/en
Publication of CN1992649A publication Critical patent/CN1992649A/en
Pending legal-status Critical Current

Links

Abstract

A master and backup veneer online testing method and circuit belongs to the field of network communication. This circuit of the invention includes the master veneer online testing circuit, the backup veneer online testing circuit, the two connecting through the backplane, and any veneer online testing circuit including: the pull-up resistor, used to connect the other board online signal, and this veneer online signal to the power supply, and when the signal is no-source, it is in the correct state; the grounding signal, used to accurately represent the veneer online, and connected through short-pin; the online logic judging circuit, used to online judge the other board online signal, and this veneer online signal together. The beneficial effects of the invention are: the online state testing before any veneer state switching not only includes the state testing of this veneer, but also includes the state testing of other board, thus avoiding the system chaotic problem caused by the error switching of master and backup veneers.

Description

A kind of main and standby boards on-line detection method and circuit
Technical field
The present invention relates to a kind of main and standby boards on-line detection method and circuit, belong to network communication field.
Background technology
In network communication equipment, more and more higher to the reliability requirement of equipment, at present, in higher to reliability requirement communication equipment, all provide the master-slave back-up of veneer basically.The purpose of veneer master-slave back-up is that another standby board can substitute the veneer that breaks down as early as possible and work on when guaranteeing that current master is broken down with veneer, to guarantee that system restoration normally moves.Switch, extract at main and standby boards or insertion process in, an important techniques is exactly the online detection of main and standby boards.In the system that above-mentioned main and standby boards constitutes, in general, the attachment plug of veneer and backboard is divided into long and short pin, and ground connection generally links to each other with backboard by minute hand with power supply signal, and other signal links to each other with backboard by hour hand.
Present main and standby boards online test method generally is to adopt the method for only obtaining the online signal of the other side, carries out the judgement before state switches.The shortcoming that this method exists is: when two veneers are all in system, and wherein one is in the main card of leading with state that is called, another is in being called from card of stand-by state, owing to only obtain the other side's online signal, when being pulled out from card and do not extract fully, the signal that power supply and ground connection etc. are connected by minute hand still connects, and still working on from card this moment, has left backboard but cross some signal that hour hand connects from cartoon.Not online less than the online signal false judgment main card of main card from cacaine for detecting, oneself can be placed the main state of using.But at this moment, main card is still online and be in the main card state, so two phenomenons that active and standby card is worked have simultaneously just appearred in system, owing to the mistake of main and standby boards is switched, thereby causes the logical miss of system.Equally, when the veneer insertion system, also similar problem might appear.
Summary of the invention
The present invention is directed to the deficiencies in the prior art and propose a kind of main and standby boards on-line detection method and circuit,, realize reliable and stable veneer master-slave back-up with the logical miss that the elimination system may occur.
The present invention proposes a kind of main and standby boards online test method, may further comprise the steps:
A, on this veneer, the other side's plate, be separately positioned on line states and detect;
B, this veneer receive the presence information of the other side's plate;
C, this veneer obtain the presence information of this veneer;
D, this veneer are adjusted the state of this veneer according to the presence information of the other side's plate and the presence information of this veneer.
The a step in the said method is arranged on the line states detection and is respectively: this veneer presence detects and this veneer detects the other side's plate presence.
The d step in the said method is made the corresponding master slave mode adjustment of this veneer after being meant that this veneer is judged the presence information of detected two veneers.
The online information that this veneer online information of above-mentioned veneer detection and the other side's plate detect this veneer is same information source.
A kind of main and standby boards that the present invention proposes is at line detection circuit, comprise main with veneer at line detection circuit, standby board at line detection circuit, the two links to each other by backboard, the logic diagram of circuit is seen Fig. 1, wherein comprising at line detection circuit of arbitrary veneer:
Be used for the online signal of the other side's plate, the online signal of this veneer are connect power supply, so that be in the pull-up resistor of correct status during signal passive;
Be used for accurately representing this veneer online pass through the ground signalling that hour hand connects;
Be used for online logic judging circuit that the online signal of the other side's plate, the online signal of this veneer are carried out online judgement together.
Wherein main the other side's plate line detection signal, this veneer line detection signal the intersections by backboard with this veneer on veneer, the standby board links to each other.
Above-mentionedly also comprise the isolation buffers that is used for this veneer and the online signal of the other side's plate are carried out isolation buffer, be used to prevent that instantaneous interference from impacting to online logic judging circuit and damage at line detection circuit.
Above-mentioned online decision logic circuit can be realized with CLPD, also can realize with other logic judging circuit.
Beneficial effect of the present invention is: by main and standby boards online test method provided by the present invention and circuit, presence before arbitrary single board state switches detects the state-detection that had both comprised this veneer, comprised state-detection again, switched the problem that causes system's confusion owing to the mistake of principal and subordinate's veneer occurs thereby avoided system to the other side's plate.
Description of drawings
Fig. 1 is the logic diagram of circuit of the present invention.
Fig. 2 is the embodiment of the present invention circuit diagram.
Embodiment
Be further described as follows below in conjunction with 2 pairs of detailed technology contents of the present invention of accompanying drawing:
As shown in Figure 2: for this veneer A, pin 1_A ground connection, pin 2_A, pull-up resistor R1_A constitutes this veneer at line detection circuit; Pin 3_A, pull-up resistor R2_A constitute this veneer to the other side's plate at line detection circuit; On backboard, with pin 1_A, 2_A short circuit.This veneer line detection signal L1_A and the line detection signal L2_A of the other side's plate entered CPLD_A through Buffer_A; Wherein CPLD_A judges according to the level value of L1_A and L2_A whether this veneer and the other side's plate be online, is called as the logic judging circuit of this veneer.The effect of CPLD_A mainly is that the online signal to this veneer and the other side's plate carries out logic determines, determines the master slave mode of this veneer then.Identical for the other side's board B forming circuit, L3 and L4 constitute the online signal cross circuit of backboard.
In the present embodiment, pin 1_A and 1_B are hour hand, 2_A, and 2_B, 3_A, 3_B are minute hand, and minute hand means contact earlier when veneer inserts, and hour hand contacts after meaning when veneer inserts.The effect of Buffer_A is that holding wire is carried out isolation buffer, in order to avoid the CPLD_A of logic judging circuit is impacted and damages.
Operation principle of the present invention is as follows: when pin 1_A does not contact, pin 2_A is in high level owing to drawing on the resistance R 1_A, pin 3_B also is in high level owing to drawing on the resistance R 2_B, at this moment this veneer _ A thinks that this veneer is not online, thereby do not enable the work of this veneer, the other side's board B thinks that also this veneer A is not online, thereby keeps present operating state; When pin 1_A contacts, pin 2_A is because the direct ground connection of pin 1_A is in low level, pin 3_B is also because pin 1_A ground connection is in low level, at this moment this veneer _ A thinks that this veneer is online, thereby enable the work of this veneer, the other side's board B thinks that also this veneer A is online, thereby decides next step operating state according to actual conditions.
In the present invention, this veneer is divided into following several situation to online testing result usually, carries out the corresponding state adjustment according to different situations:
1) this veneer detect the other side's plate be presence, this veneer also for presence, then the active and standby control of this veneer is carried out master slave mode according to set agreement and is consulted; Perhaps
2) to detect the other side's plate be that non-presence, this veneer are presence to this veneer, and then putting this veneer becomes the main state of using; Perhaps
3) to detect the other side's plate be that presence, this veneer are non-presence to this veneer, and then putting this veneer becomes the non-main state of using; Perhaps
4) to detect the other side's plate be that non-presence, this veneer are non-presence to this veneer, and then putting this veneer becomes non-master and use state.

Claims (9)

1, a kind of main and standby boards on-line detection method is characterized in that, comprises the steps:
(1) being separately positioned on line states on this veneer, the other side's plate detects;
(2) this veneer receives the presence information of the other side's plate;
(3) this veneer obtains the presence information of this veneer;
(4) this veneer is adjusted the state of this veneer according to the presence of the other side's plate and the presence of this veneer.
As main and standby boards on-line detection method as described in the claim 1, it is characterized in that 2, the presence that is provided with described in the step (1) detects and is respectively: this veneer presence detects and this veneer detects the presence of the other side's plate.
3, as main and standby boards on-line detection method as described in the claim 1, it is characterized in that, the state of adjusting this veneer described in the step (4) is meant that this veneer is made the corresponding master slave mode adjustment of this veneer after the presence information of detected two veneers is judged.
4, as main and standby boards on-line detection method as described in the arbitrary claim of claim 1-3, the online information that this veneer online information that its feature detects at described veneer and the other side's plate detect this veneer is same information source.
5, a kind of circuit of online detection of main and standby boards, comprise main with veneer at line detection circuit, standby board at line detection circuit, the two links to each other by backboard, it is characterized in that, comprises on wherein arbitrary veneer:
Be used for the online signal of the other side's plate, the online signal of this veneer are connect power supply, so that be in the pull-up resistor of correct status during signal passive;
Be used for accurately representing the online ground signalling that connects by hour hand of this veneer;
Be used for online logic judging circuit that the online signal of the other side's plate, the online signal of this veneer are carried out online judgement together.
6, as the circuit of the online detection of main and standby boards as described in the claim 5, it is characterized in that described veneer line detection signal and the other side's plate line detection signal inserted described the online logic judging circuit of veneer by isolation buffers.
7, can realize with CLPD as claim 5 described online decision logic circuit, also can realize with other logic judging circuit.
8, can realize with CLPD as claim 6 described online decision logic circuit, also can realize with other logic judging circuit.
As the circuit of the online detection of main and standby boards as described in the arbitrary claim of claim 5-8, it is characterized in that 9, described main the other side's plate line detection signal the intersection by backboard with this veneer line detection signal with this veneer on veneer, the standby board links to each other.
CN 200510022406 2005-12-27 2005-12-27 Method for on-line detection of master-slave board and circuit thereof Pending CN1992649A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510022406 CN1992649A (en) 2005-12-27 2005-12-27 Method for on-line detection of master-slave board and circuit thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510022406 CN1992649A (en) 2005-12-27 2005-12-27 Method for on-line detection of master-slave board and circuit thereof

Publications (1)

Publication Number Publication Date
CN1992649A true CN1992649A (en) 2007-07-04

Family

ID=38214610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510022406 Pending CN1992649A (en) 2005-12-27 2005-12-27 Method for on-line detection of master-slave board and circuit thereof

Country Status (1)

Country Link
CN (1) CN1992649A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552709B (en) * 2008-04-02 2012-05-23 中兴通讯股份有限公司 Master and slave test groove collision detection method and circuit
CN103246634A (en) * 2013-04-26 2013-08-14 华为技术有限公司 Method and device for configuring working modes of multi-processor system
CN103744755A (en) * 2014-01-08 2014-04-23 烽火通信科技股份有限公司 Implement system for primary and standby veneer single port shared protection and method thereof
CN104182006A (en) * 2014-08-21 2014-12-03 浪潮电子信息产业股份有限公司 Hard disk backboard designing method supporting redundancy of dual controllers
CN109085489A (en) * 2018-07-26 2018-12-25 烽火通信科技股份有限公司 A kind of backboard function test system, design method and test method
CN109920370A (en) * 2019-04-17 2019-06-21 东莞阿尔泰显示技术有限公司 A kind of novel LED display screen system backup circuit and its control method
CN110109641A (en) * 2019-06-05 2019-08-09 东莞阿尔泰显示技术有限公司 A kind of novel LED display screen data backup device and method
CN110750394A (en) * 2019-09-25 2020-02-04 深圳震有科技股份有限公司 Control method and terminal for realizing main and standby single boards based on GPIO pins

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552709B (en) * 2008-04-02 2012-05-23 中兴通讯股份有限公司 Master and slave test groove collision detection method and circuit
CN103246634A (en) * 2013-04-26 2013-08-14 华为技术有限公司 Method and device for configuring working modes of multi-processor system
US9424220B2 (en) 2013-04-26 2016-08-23 Huawei Technologies Co., Ltd. Method and apparatus for setting working mode of multi-processor system
CN103744755A (en) * 2014-01-08 2014-04-23 烽火通信科技股份有限公司 Implement system for primary and standby veneer single port shared protection and method thereof
CN104182006A (en) * 2014-08-21 2014-12-03 浪潮电子信息产业股份有限公司 Hard disk backboard designing method supporting redundancy of dual controllers
CN109085489A (en) * 2018-07-26 2018-12-25 烽火通信科技股份有限公司 A kind of backboard function test system, design method and test method
CN109085489B (en) * 2018-07-26 2020-07-28 烽火通信科技股份有限公司 Back plate function test system, design method and test method
CN109920370A (en) * 2019-04-17 2019-06-21 东莞阿尔泰显示技术有限公司 A kind of novel LED display screen system backup circuit and its control method
CN110109641A (en) * 2019-06-05 2019-08-09 东莞阿尔泰显示技术有限公司 A kind of novel LED display screen data backup device and method
CN110750394A (en) * 2019-09-25 2020-02-04 深圳震有科技股份有限公司 Control method and terminal for realizing main and standby single boards based on GPIO pins

Similar Documents

Publication Publication Date Title
CN1992649A (en) Method for on-line detection of master-slave board and circuit thereof
CN100507585C (en) Method and system for detecting single-plate on position
CN1198406C (en) Stand-by method and device of communication system
CN102315966B (en) Service single board, fault detection and reporting method and system thereof
GB2258932A (en) Achieving improved scsi bus control capacity
US11009542B2 (en) Thyristor valve test system based on cooperation of logical functions of software
CN101408583B (en) Method and device for detecting inserting state between printed circuit boards and printed circuit boards
CN101795421A (en) Method and device for judging reliable in-place of single plate
CN101017472A (en) Hard disk hot swap system in multiple hard disks system and method
CN1223053C (en) Plate card position inspecting method
CN105510755A (en) Testing device
CN102255760B (en) Quick protection switching method with business cards backing up each other
CN100375402C (en) Method for preventing monolithic board from fault operation of master-slave back-up inverse circuit
CN101582548B (en) Back plate and a method for preventing virtual insertion of single plate
CN100346549C (en) Detecting and protective device for preventing device frmo forming short circuit on circuit board
CN101552709B (en) Master and slave test groove collision detection method and circuit
CN101141234B (en) Bus switching method and system
CN201196776Y (en) Single plate and system with clock backup
CN101131661A (en) Test apparatus
CN2640135Y (en) Network interconnection unit for connecting high-speed Ethernet and HART bus
CN216117913U (en) Wire harness test switching system based on analog switch
CN2398775Y (en) Hardware implementation device of main spare operate mode
CN100386636C (en) TPS protection plate detection method
CN215340999U (en) Intelligent hard disk protection control system
JP2836639B2 (en) Optical line switching control 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
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20070704