CN102377592A - Main and standby control unit switching device and switching method - Google Patents

Main and standby control unit switching device and switching method Download PDF

Info

Publication number
CN102377592A
CN102377592A CN2010102614423A CN201010261442A CN102377592A CN 102377592 A CN102377592 A CN 102377592A CN 2010102614423 A CN2010102614423 A CN 2010102614423A CN 201010261442 A CN201010261442 A CN 201010261442A CN 102377592 A CN102377592 A CN 102377592A
Authority
CN
China
Prior art keywords
control unit
signal
control
unit
master
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
CN2010102614423A
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2010102614423A priority Critical patent/CN102377592A/en
Publication of CN102377592A publication Critical patent/CN102377592A/en
Pending legal-status Critical Current

Links

Images

Abstract

A main and standby control unit switching device comprises a main control unit, at least one standby control unit, a timer and a multiplexer, wherein the main control unit is used for outputting a main pulse signal and a main control signal; and the standby control unit is used for outputting a standby pulse signal and a standby control signal. The timer is electrically connected with the main control unit and is use for outputting a selection signal according to whether the main pulse signal is received within the timing period; and the multiplexer is used for receiving the main control signal, the standby control signal and the selection signal and is controlled by the selection signal to selectively output one of the main control signal and the standby control signal to a controlled unit. The invention also relates to a main and standby control unit switching method.

Description

Active and standby with control unit switching device shifter and changing method
Technical field
The present invention relates to a kind of active and standby with control unit switching device shifter and changing method.
Background technology
Along with the growth of data business volume with to the raising of quality of service requirement, high reliability becomes one of most important index of high performance communication network.In order to reach higher reliability; Existing communication network switch or server generally all are provided with a master with control unit and at least one subsequent use control unit; When the master goes wrong with control unit; System carries out the switching between main control unit and the subsequent use control unit automatically, changes and by subsequent use control unit system is controlled, in case the master is with the operate as normal of the whole network of fault effects of control unit.
Yet existing active and standby software design that relates to the control handover module and hardware circuit are generally all complicated, cause the increase of design and manufacturing cost easily.
Summary of the invention
In view of this, be necessary to provide a kind of active and standby control unit switching device shifter of using simple in structure.
In addition, also be necessary to provide a kind of and above-mentioned active and standbyly carry out active and standby method with the control unit switching with the control unit switching device shifter.
A kind of active and standby control unit switching device shifter of using; Comprise that one is main with control unit, at least one subsequent use control unit and a controlled unit; Said master is with the control unit output one main main control signal of using that is used to control this controlled unit with pulse signal and; This subsequent use control unit is exported the spare control signal that a subsequent use pulse signal and is used to control this controlled unit, said active and standbyly also comprise with the control unit switching device shifter:
One timer is electrically connected with control unit with said master and whether basis receives said master with pulse signal output one selection signal in time-count cycle;
One multiplexer, receive said main with control signal, spare control signal and select signal, said multiplexer receive the control selectivity of said selection signal export said master with control signal and spare control signal the two one of arrive said controlled unit.
A kind ofly above-mentioned active and standbyly carry out the active and standby method of switching with control unit with the control unit switching device shifter, said method comprises the steps:
Said timer judges whether said master sends the main pulse signal of using to this timer with control unit;
When said master sends mainly when use pulse signal to this timer with control unit, this timer resets and controls this multiplexer and export this master and use control signal;
When said master stops to send to this timer main when use pulse signal with control unit, this timer expiry is also controlled this multiplexer and is exported this spare control signal.
Compared to prior art; Of the present invention active and standby with the control unit switching device shifter through judging through said timer whether this master occurs unusually with control unit, and control this multiplexer according to judged result and export this and lead the spare control signal with control signal or this subsequent use control unit with the master of control unit.Therefore, of the present invention active and standby simple and be easier to realize with control unit switching device shifter structure.
Description of drawings
Fig. 1 is the active and standby functional block diagram with the control unit switching device shifter of preferred embodiments of the present invention.
Fig. 2 is an active and standby workflow diagram with the control unit switching device shifter shown in Figure 1.
The main element symbol description
Active and standby with control unit switching device shifter 10
Main with control unit 11
Pulse signal generation unit 111,121
Control signal generating unit 113,123
Communications interface unit 115,125
Subsequent use control unit 12
Distribution panelboard 13
Timer 14
Multiplexer 15
Controlled unit 16
Embodiment
See also Fig. 1, the active and standby of preferred embodiments of the present invention is used to control a controlled unit 16 with control unit switching device shifter 10.Saidly active and standbyly comprise that with control unit switching device shifter 10 one is main with control unit 11, at least one subsequent use control unit 12, a distribution panelboard 13, a timer 14 and a multiplexer 15.Said master is electrically connected to said timer 14 and multiplexer 15 with control unit 11; Said subsequent use control unit 12 is electrically connected to said multiplexer 15; Said timer 14 and multiplexer 15 are arranged on this distribution panelboard 13, and the output that said timer 14 is used to control said multiplexer 15 is to control controlled unit 16.
Saidly main comprise a pulse signal generation unit 111, a control signal generating unit 113 and a communications interface unit 115 with control unit 11.Said pulse signal generation unit 111 and control signal generating unit 113 all are electrically connected to said communications interface unit 115.This pulse signal generation unit 111 is used to produce a main pulse signal of using.The master that said control signal generating unit 113 is used to produce this controlled unit 16 of control uses control signal.In this preferred embodiments, said main use control signal is (Inter-IC or IIC, I interconnected between an integrated circuit 2C) control signal.Said communications interface unit 115 is used to send said master and uses control signal with pulse signal and master, and receives the signal that said subsequent use control unit 12 sends.
Said subsequent use control unit 12 is with said main roughly the same with control unit 11 internal structures.Be that each said subsequent use control unit 12 comprises a pulse signal generation unit 121, a control signal generating unit 123 and a communications interface unit 125.Said pulse signal generation unit 121 and control signal generating unit 123 all are electrically connected to said communications interface unit 125.This pulse signal generation unit 121 is used to produce a subsequent use pulse signal.Said control signal generating unit 123 is used to produce the spare control signal of this controlled unit 16 of control.In this preferred embodiments, said spare control signal is an I 2The C control signal.Said communications interface unit 125 is used to send said subsequent use pulse signal and spare control signal, and receives said main master with control unit 11 and use pulse signal.
Said timer 14 comprises a RESET pin and a WDO pin.This reset pin RESET receives this and mainly use pulse signal with the main of control unit 11 so that this timer 14 this periodically the master with the effect of pulse signal under periodically initialization, thereby make that this timer 14 can be not overtime.Signal to said multiplexer 15 is selected in said WDO pin output one, to control the output of this multiplexer 15.This selection signal presents different level according to said timer 14 is whether overtime, and for example, overtime if this timer 14 does not have, then this selection signal is a high level; If this timer 14 is overtime, then this selection signal is a low level.
Said multiplexer 15 receives the spare control signal of said main master with control unit 11 with control signal and subsequent use control unit 12, and just decides according to the level of selecting signal and to export said master with one in control signal and the spare control signal.
Said active and standby with control unit switching device shifter 10 in use; At first said main with exchanging the two master who produces respectively between control unit 11 and the said subsequent use control unit 12 with pulse signal and subsequent use pulse signal, make this master with keeping synchronization of data between control unit 11 and the subsequent use control unit 12.When said master moves just often with control unit 11; The periodic master of its output makes the periodically initialization of said timer 14 with pulse signal; Said WDO pin is exported a high level, makes said multiplexer 15 outputs be received from this master leading with controlling signal to this controlled unit 16 with control unit 11; Main occur causing unusually it can't export said leading when using pulse signal when said with control unit 11; 14 of said timers can't be initialised and be overtime; This moment, said WDO pin was exported a low level; Make said multiplexer 15 export spare control signal to this controlled unit 16 of accepting from this subsequent use control unit 12, this moment, controlled unit 16 was controlled by this subsequent use control unit 12, thereby accomplished active and standby switching with control unit.
See also Fig. 2, saidly active and standbyly carrying out active and standbyly with when control with control unit switching device shifter 10, it mainly may further comprise the steps:
Step S1: the master powers on control unit 11 and subsequent use control unit 12.
Step S2: said timer 14 judges whether said master sends the main pulse signal of using to this timer 14 with control unit 11.If, execution in step S3 then; As not execution in step S6 then.
Step S3: said timer 14 initialization.The RESET pin of said timer 14 receives this periodic master with behind the pulse signal, this periodically initialization of timer 14.
Step S4: the selection signal of said timer 14 output high level.
Step S5: said multiplexer 15 these masters of output use control signal with the master of control unit 11.This moment, this controlled unit 16 received the control of this master with control unit 11.
Step S6: said timer 14 is overtime.If saidly main occur unusually with control unit 11, then it can not use pulse signal to the RESET of said timer 14 pin output master, causes said timer 14 overtime.
Step S7: the selection signal of said timer 14 output low levels.
Step S8: the spare control signal of said multiplexer 15 these subsequent use control units 12 of output.This moment, this controlled unit 16 received the control of this subsequent use control unit 12.
Be appreciated that; When the number of said subsequent use control unit 12 when being a plurality of; Only need said a plurality of subsequent use control units 12 are inserted respectively in the slot that sets gradually on this active and standby circuit board with control unit switching device shifter 10 (figure does not show); Each said subsequent use control unit 12 is all used pulse signal with this master with control unit 11 the two subsequent use pulse signal that produce respectively of exchange and master, and the spare control signal with each said subsequent use control unit 12 all exports this multiplexer 15 to simultaneously.Through this multiplexer 15 is provided with, make that the priority that 12 pairs of these controlled unit 16 of said a plurality of subsequent use control units are controlled puts in order for its place slot when said master is unusual with control unit 11 appearance.Promptly; When said master is unusual with control unit 11 appearance; Said multiplexer 15 is at first exported the spare control signal of the subsequent use control unit 12 in first slot on this circuit board, if the subsequent use control unit 12 in this first slot does not have control signal output, then multiplexer 15 is exported the control signal of the subsequent use control unit 12 in the next slot; And by that analogy, till obtaining available subsequent use control unit 12.
Compared to prior art; The active and standby pulse signal realization synchronization of data that produces each other with exchange between control unit 11 and the subsequent use control unit 12 through said master with control unit switching device shifter 10 of the present invention; And judge through said timer 14 whether these masters occur unusually with control unit 11; And according to the spare control signal of this main master with control unit 11 of these multiplexer 15 outputs of judged result control, thereby realize active and standby switching with control unit with control signal or this subsequent use control unit.Therefore, of the present invention active and standby simple and be easier to realize with control unit switching device shifter 10 structures.

Claims (9)

1. active and standby control unit switching device shifter of using; Be used to control a controlled unit; Saidly active and standbyly comprise that with the control unit switching device shifter one is main with control unit and at least one subsequent use control unit, said master leads with control unit output one and is used to control the main of this controlled unit with pulse signal and and uses control signal, and this subsequent use control unit is exported the spare control signal that a subsequent use pulse signal and is used to control this controlled unit; It is characterized in that said active and standbyly also comprise with the control unit switching device shifter:
One timer is electrically connected with control unit with said master and whether basis receives said master with pulse signal output one selection signal in time-count cycle;
One multiplexer, receive said main with control signal, spare control signal and select signal, said multiplexer receive the control selectivity of said selection signal export said master with control signal and spare control signal the two one of arrive said controlled unit.
2. the active and standby control unit switching device shifter of using as claimed in claim 1; It is characterized in that: said master receives said subsequent use pulse signal with control unit; Said subsequent use control unit receives the said main control signal of using, to realize being somebody's turn to do the master with synchronization of data between control unit and the subsequent use control unit.
3. according to claim 1 or claim 2 the active and standby control unit switching device shifter of using; It is characterized in that: when said timer receives said main when using pulse signal in time-count cycle; This timer is initialised, the said main control signal of using of the said multiplexer output of the selection signal controlling of its output; When said timer in time-count cycle, do not receive said main when using pulse signal, this timer expired, the said multiplexer of selection signal controlling of its output is exported said spare control signal.
4. the active and standby control unit switching device shifter of using as claimed in claim 1; It is characterized in that: said master comprises a pulse signal generation unit, a control signal generating unit and a communications interface unit with control unit, and said pulse signal generation unit is used to produce the said main pulse signal of using; Said control signal generating unit is used to produce the said main control signal, said communications interface unit use and is used to send said master with pulse signal and lead and use control signal, and receives said spare control signal.
5. the active and standby control unit switching device shifter of using as claimed in claim 1; It is characterized in that: said subsequent use control unit comprises a pulse signal generation unit, a control signal generating unit and a communications interface unit, and said pulse signal generation unit is used to produce said subsequent use pulse signal; Said control signal generating unit is used to produce said spare control signal, and said communications interface unit is used to send said subsequent use pulse signal and spare control signal, and receives said master and use control signal.
6. the active and standby control unit switching device shifter of using as claimed in claim 1, it is characterized in that: said master is the I2C control signal with control signal and spare control signal.
7. the active and standby control unit switching device shifter of using as claimed in claim 1; It is characterized in that: the number of said subsequent use control unit is a plurality of; Said a plurality of subsequent use control unit is arranged at respectively in a plurality of slots that set gradually of a circuit board; When said master occurs when unusual with control unit, priority the putting in order that said a plurality of subsequent use control units are controlled this controlled unit for its place slot.
8. one kind is as claimed in claim 1ly active and standbyly carried out the active and standby control unit changing method of using with the control unit switching device shifter, and said method comprises the steps:
Said timer judges whether said master sends the main pulse signal of using to this timer with control unit;
When said master sends mainly when use pulse signal to this timer with control unit, this timer resets and controls this multiplexer and export this master and use control signal;
When said master stops to send to this timer main when use pulse signal with control unit, this timer expiry is also controlled this multiplexer and is exported this spare control signal.
9. as claimed in claim 8ly active and standbyly carry out the active and standby method of switching with control unit with the control unit switching device shifter, it is characterized in that: if said timer resets, the selection signal of its output is a low level; If said timer expiry, the selection signal of its output is a high level.
CN2010102614423A 2010-08-24 2010-08-24 Main and standby control unit switching device and switching method Pending CN102377592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102614423A CN102377592A (en) 2010-08-24 2010-08-24 Main and standby control unit switching device and switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102614423A CN102377592A (en) 2010-08-24 2010-08-24 Main and standby control unit switching device and switching method

Publications (1)

Publication Number Publication Date
CN102377592A true CN102377592A (en) 2012-03-14

Family

ID=45795613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102614423A Pending CN102377592A (en) 2010-08-24 2010-08-24 Main and standby control unit switching device and switching method

Country Status (1)

Country Link
CN (1) CN102377592A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580149A (en) * 2014-12-02 2015-04-29 重庆晴彩科技有限公司 Emergency intelligent switching system of host/backup mode network physical link
CN104717090A (en) * 2013-12-17 2015-06-17 中兴通讯股份有限公司 Interface signal active and standby mutual transmission processing method and system
CN110942572A (en) * 2019-11-11 2020-03-31 广州中铁信息工程有限公司 Voice broadcast device
WO2023133738A1 (en) * 2022-01-12 2023-07-20 烟台杰瑞石油服务集团股份有限公司 Vehicle control method and control apparatus, and processor and vehicle system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815908A (en) * 2006-03-02 2006-08-09 迈普(四川)通信技术有限公司 Telecommunication apparatus master-slave switching method and telecommunication apparatus thereof
CN101102177A (en) * 2007-08-20 2008-01-09 杭州华三通信技术有限公司 An implementation method and device for switching master and slave controller
CN101150430A (en) * 2007-09-17 2008-03-26 中兴通讯股份有限公司 A method for realizing network interface board switching based heartbeat mechanism
CN101281483A (en) * 2008-05-12 2008-10-08 北京邮电大学 Double-machine redundant tolerant system and redundant switching method thereof
WO2011020367A1 (en) * 2009-08-20 2011-02-24 中兴通讯股份有限公司 Method for switching node main-standby controllers based on content delivery network (cdn) and cdn thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815908A (en) * 2006-03-02 2006-08-09 迈普(四川)通信技术有限公司 Telecommunication apparatus master-slave switching method and telecommunication apparatus thereof
CN101102177A (en) * 2007-08-20 2008-01-09 杭州华三通信技术有限公司 An implementation method and device for switching master and slave controller
CN101150430A (en) * 2007-09-17 2008-03-26 中兴通讯股份有限公司 A method for realizing network interface board switching based heartbeat mechanism
CN101281483A (en) * 2008-05-12 2008-10-08 北京邮电大学 Double-machine redundant tolerant system and redundant switching method thereof
WO2011020367A1 (en) * 2009-08-20 2011-02-24 中兴通讯股份有限公司 Method for switching node main-standby controllers based on content delivery network (cdn) and cdn thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717090A (en) * 2013-12-17 2015-06-17 中兴通讯股份有限公司 Interface signal active and standby mutual transmission processing method and system
CN104717090B (en) * 2013-12-17 2019-07-02 中兴通讯股份有限公司 Interface signal is active and standby mutually to send processing method and system
CN104580149A (en) * 2014-12-02 2015-04-29 重庆晴彩科技有限公司 Emergency intelligent switching system of host/backup mode network physical link
CN104580149B (en) * 2014-12-02 2017-11-14 重庆晴彩科技有限公司 A kind of active/standby mode network physical link is met an urgent need intelligent switching system
CN110942572A (en) * 2019-11-11 2020-03-31 广州中铁信息工程有限公司 Voice broadcast device
WO2023133738A1 (en) * 2022-01-12 2023-07-20 烟台杰瑞石油服务集团股份有限公司 Vehicle control method and control apparatus, and processor and vehicle system

Similar Documents

Publication Publication Date Title
CN104601203B (en) A kind of low-power consumption bluetooth equipment dynamically adjusts the method and device of Connecting quantity
CN101119171B (en) Clock synchronous system and method of advanced telecommunication computer system
US7457388B2 (en) Redundant synchronous clock distribution system
US8179181B2 (en) Power-mode-aware clock tree and synthesis method thereof
CN109818701B (en) High-precision clock synchronization method and system for communication equipment
CN102377592A (en) Main and standby control unit switching device and switching method
KR101185971B1 (en) Communication system, test device, communication device, communication method, and test method
CN109376103A (en) Method, chip and the communication system of fast uniform
CN108345562B (en) Multi-path server and signal processing method thereof
CN110413041B (en) Chip clock circuit and control method thereof
CN103369662A (en) Adapter, baseband processing unit and base station system
CN111313869B (en) Clock switching circuit of gigabit Ethernet transceiver
CN102420693A (en) ATCA (Advanced Telecom Computing Architecture) machine frame system, construction method and back-insert single plate
CN102938699A (en) Method and device for balanced power supply
CN102957542B (en) Network device and method for setting operation of communication port thereof
CN115567341A (en) Bus system
CN103441509A (en) Reactive power compensation cabinet and control method
CN101894091A (en) Method and system for single board I2C expansion and ID check
CN110808804A (en) Structure and method for realizing receiving synchronization of multipath RapidIO test board cards and test equipment
CN106302065B (en) A kind of data transmission method and device
CN113411155B (en) Power distribution network clock synchronization system and method based on Ethernet transmission
CN110471881A (en) A kind of realization is multiple from equipment and SPI main equipment rapid communication method
CN106814643B (en) A kind of control method and system of two-node cluster hot backup
EP2816791B1 (en) Multi-path speech signal multiplexing circuit, equipment and method
CN104346258A (en) Service state display 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

Application publication date: 20120314