CN1889373A - Method for realizing master and spare conversion of distributing connection equipment - Google Patents

Method for realizing master and spare conversion of distributing connection equipment Download PDF

Info

Publication number
CN1889373A
CN1889373A CN 200510081615 CN200510081615A CN1889373A CN 1889373 A CN1889373 A CN 1889373A CN 200510081615 CN200510081615 CN 200510081615 CN 200510081615 A CN200510081615 A CN 200510081615A CN 1889373 A CN1889373 A CN 1889373A
Authority
CN
China
Prior art keywords
equipment
main
signal
masterslave switchover
self
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
CN 200510081615
Other languages
Chinese (zh)
Other versions
CN100459447C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005100816152A priority Critical patent/CN100459447C/en
Publication of CN1889373A publication Critical patent/CN1889373A/en
Application granted granted Critical
Publication of CN100459447C publication Critical patent/CN100459447C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention discloses a method for realizing conversion of the master and backup of a wiring connection device, which sets conversion control signals for the master and backup devices to be transferred by wiring between the master and the backup devices to understand the working state of the opposite device so as to judge if they are converted reasonably to realize the backup working mode and increase the stability of the wiring system. The method also deals with electrification of the devices, the reset, force conversion, upgrade conversion and conversion control when fault happens to wiring between the master and backup devices to avoid the phenomenon of double master or double backup.

Description

A kind of distributing connection equipment is realized main
Technical field
The present invention relates to redundancy technique, refer to a kind of distributing connection equipment realization main especially.
Background technology
As everyone knows,, in system, increase equipment fully usually, adopt the active/standby backup working method in order to improve system reliability.When main equipment broke down, by masterslave switchover, control was equipped with device upgrade and is main equipment and devotes oneself to work, and guarantees that whole system can continue to keep operate as normal.
Wherein a kind of active/standby backup working method is the activestandby hot backup mode, and activestandby hot backup is two identical equipment to be set work simultaneously, and one of them equipment is as main equipment, and another equipment is for being equipped with equipment.Under the normal operating conditions, main equipment output effective control signal or bus signals, the control signal or the bus signals that are equipped with equipment output are in invalid or closed condition; When main equipment broke down, system switched to the trouble-free equipment that is equipped with by the masterslave switchover control signal, realizes masterslave switchover.
In order to realize masterslave switchover, at first, should detect in real time equipment working state, reduce system failure time to greatest extent and to the influence of business; Secondly, main equipment can accurately obtain the state of equipment fully, is used for the decision-making of masterslave switchover, prevents two main or two phenomenons that are equipped with; Moreover masterslave switchover should be reliable and stable.
In the common system that the backboard existence is arranged, the control signal between the main and standby boards of main and standby relation connects by the printed circuit board (PCB) on the backboard (PCB) line each other, can know the other side's operating state by backboard PCB line main and standby boards; When main equipment broke down, main equipment was realized masterslave switchover by control masterslave switchover control signal.Owing to be to connect between the veneer in the back board system by reliable PCB line, make accurately to obtain status signal between active and standby to method, apparatus, be reliable thereby make masterslave switchover.But the back board system cost is higher, very flexible.
In order to reduce cost, increase system flexibility, no back board system has appearred, such as box-shaped device, can be interconnected between a plurality of equipment by distribution, in distribution is interconnected, a main equipment and one or more slave unit are generally all arranged, and the control of whole system and configuration are all managed by main equipment.At present, in no back board system, if main equipment breaks down, owing to there is not active/standby backup mechanism, whole system will be caused paralysed machine, reduce the reliability of system.If can in no back board system, realize active/standby backup, will improve the reliability of system greatly undoubtedly.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of distributing connection equipment to realize main, can realize the masterslave switchover function of equipment in the distributing system, improves the reliability of distributing system.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
(treat claim write finish the back directly copy come to get final product)
As seen from the above technical solution, the present invention is provided with the masterslave switchover control signal respectively for master/slave device, masterslave switchover control signal by the distribution transmission, can know operating state between master/slave device to method, apparatus, thereby rationally judge whether to carry out masterslave switchover, realized active/standby backup working method in the distributing system.In order further to guarantee the reliability of distributing system masterslave switchover, the present invention also respectively at master/slave device power on, main equipment resets, Forced Switch, when upgrading is switched and distribution breaks down between master/slave device, to situations such as masterslave switchover controls, carry out respective handling respectively, guarantee the reliability of masterslave switchover, avoided two masters or two phenomenon that is equipped with.
Description of drawings
Fig. 1 is a masterslave switchover control signal connection diagram of the present invention;
Fig. 2 is a masterslave switchover control connection schematic diagram of the present invention;
Fig. 3 is that the present invention realizes the masterslave switchover flow chart;
Fig. 4 is a masterslave switchover flow chart after main equipment of the present invention resets;
Fig. 5 is the present invention's condition indicative signal testing circuit on the throne figure;
Fig. 6 is the principle schematic of the present invention by upper management Equipment Control masterslave switchover.
Embodiment
Core concept of the present invention is: for master/slave device is provided with the masterslave switchover control signal respectively, masterslave switchover control signal by the distribution transmission, can understand operating state between master/slave device to method, apparatus, thereby rationally judge whether to carry out masterslave switchover, realize active/standby backup working method in the distributing system, improved the reliability of distributing system.
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing preferred embodiment that develops simultaneously, the present invention is described in more detail.
Fig. 1 is a masterslave switchover control signal connection diagram of the present invention, and main equipment can be the equipment that Base Band Unit (BBU) etc. is connected by distribution with being equipped with equipment.As shown in Figure 1, main equipment and be equipped with equipment and be provided with the masterslave switchover control signal respectively, comprise oneself state signal and opposite end status signal two states signal, wherein, the oneself state signal comprises: self operating state index signal (Work), self condition indicative signal on the throne (Online) and self are main with condition indicative signal (M_S); The opposite end status signal comprises: opposite end operating state index signal (Mate_Work), opposite end condition indicative signal on the throne (Mate_Online) and opposite end are main with condition indicative signal (Mate_M_S).Wherein the oneself state signal of main equipment is corresponding with the opposite end status signal that is equipped with equipment respectively links to each other, the opposite end status signal of main equipment is then corresponding with the oneself state signal that is equipped with equipment respectively to link to each other, like this, main equipment and be equipped with the current state that equipment all can be known opposite equip. by the opposite end status signal on the equipment of itself.Table 1 is the explanation to above two states signal:
Condition name signal Signal properties The signal implication State 0 implication State 1 implication
Online Output Show whether self is on the throne Self is on the throne Self is not on the throne
Mate_Online Input Show whether the opposite end is on the throne The opposite end is on the throne The opposite end is not on the throne
M_S Output Show whether self is main using Self lead and use Self is standby
Mate_M_S Input Show whether the opposite end is main using The main usefulness in opposite end The opposite end is standby
Work Output Show whether normal self works Self is normal Self is unusual
Mate_Work Input Show whether opposite end work is normal The opposite end is normal The opposite end is unusual
Table 1
In the table 1, state " 0 " or state " 1 " are not limited to shown in the table 1 with the implication of the current representative of status signal, as long as pre-set.
Fig. 2 is a masterslave switchover control connection schematic diagram of the present invention, suppose between equipment 0 and the equipment 1 master/slave device each other, equipment 0 is connected through interconnecting interface by interconnected distribution with masterslave switchover control signal between the equipment 1, the default control logic unit of the opposite end state information input of active/standby equipment self, and by output oneself state information after the control logic cell processing.Here interconnected distribution can be a cable, and interconnecting interface can be a general connector, and as MDR36 connector etc., the control logic unit can adopt programmable logic device (EPLD) to realize.Specifically describe the principle of carrying out masterslave switchover control between the master/slave device by oneself state signal shown in Figure 2 and opposite end status signal below.
In the above-mentioned masterslave switchover control signal, self main main with condition indicative signal and opposite end be a pair of interlocking signal with condition indicative signal, show from the time with status signal when self is main that promptly the opposite end is main to show necessarily that with condition indicative signal the opposite end is to be equipped with equipment as main equipment; And when the opposite end is main when showing that with condition indicative signal the opposite end is main equipment, self is main to show from as being equipped with equipment with condition indicative signal is certain.If only adopt mainly when judging whether to carry out masterslave switchover with condition indicative signal, main equipment detects that the opposite end is main to be shown as the main time spent with condition indicative signal, and self is carried out masterslave switchover.
The state of operating state index signal is by the decision of the state of device software and hardware, and is normal at hardware check, when software normally moves, and the equipment working state indication signal is that equipment is normal, otherwise is shown as unit exception.When main equipment breaks down, and prepare when being equipped with device switching, know by the opposite end operating state index signal on the main equipment whether the equipment current working state is normal fully,, then can carry out masterslave switchover safely if normal; Otherwise do not switch.Avoided like this being equipped with in system under the unusual situation of equipment work, main equipment still carries out masterslave switchover, has avoided occurring two phenomenons that are equipped with state.
The operating state index signal is the status signal that sends after equipment is finished self check, does not have the interlocking requirement between similar M_S signal and the Mate_M_S signal.Therefore, under distribution number condition of limited, can multiplexing active/standby equipment in the 10ms clock sync signal of clock module output indicate, all clock module can be arranged in the general device.Because have only active/standby equipment work normal, clock module just can be exported the 10ms clock sync signal, and when active/standby unit exception, can not export the 10ms clock sync signal; And the operating state index signal is the status signal that sends after equipment is finished self check, so multiplexing 10ms clock sync signal can accurate response operating state index signal.
Such as: suppose under equipment 0 and all normal situation of 1 two equipment of equipment, equipment 0 is preferably main equipment, equipment 0 powers on by after the self check, control EPLD0 is to equipment 1 output 10ms clock sync signal, detect the 10ms clock sync signal that self whether receives from equipment 1 simultaneously, if receive, determine that then equipment 1 operating state is normal; When equipment 0 operation irregularity need be switched, if the detection by control EPLD0 knows that equipment 1 is working properly, then explanation can be switched, equipment 0 is changed to the 10ms clock sync signal of self permanent high or permanent low, indicating equipment 0 is unusual, the M_S signal that while equipment 0 will send to equipment 1 is designated as stand-by state, and equipment 1 will be designated as self M_S signal the main state of using like this.Indicating equipment 0 is unusual owing to the 10ms clock sync signal, so even just being upgraded to the equipment 1 of main equipment has occurred unusually, slave unit 1 can not appear in system yet to be cut to returning of equipment 0, has avoided switching repeatedly and two generation that is equipped with state.
Whether condition indicative signal on the throne is used to indicate interconnecting interface reliably to be connected with distribution, self condition indicative signal on the throne is used to export self connection status, and opposite end condition indicative signal on the throne is used to receive the opposite end connection status of self condition indicative signal output on the throne of opposite end.This condition indicative signal on the throne is optional masterslave switchover control information, in actual applications, under the normal operation, if active/standby equipment is not on the throne, then active/standby equipment working state is unusual certainly, and be in stand-by state,, can determine self whether can switch and become equipment fully by detection to opposite end operating state index signal.So, generally can only adopt above-mentioned self/opposite end operating state index signal and self/opposite end is main can realize masterslave switchover control with condition indicative signal.But, if adopt condition indicative signal on the throne simultaneously, can judge the state of opposite end more accurately, be convenient to system failure location.
Identical with the operating state index signal, condition indicative signal on the throne also is a status signal, does not have the interlocking requirement between similar M_S and the Mate_M_S signal.Generally just output after the equipment normal mounting of condition indicative signal on the throne wants Zao than the output of operating state index signal.
As seen above-mentioned, the feature of condition indicative signal on the throne is that this signal just can send to method, apparatus as long as distribution is plugged interconnecting interface and reliable contact, and indicating equipment is on the throne; And keep output constantly by the 10M differential clock signal of clock module output in the equipment, even no-output also guarantees to be low level.So under distribution number condition of limited, can multiplexing 10M differential clock signal as condition indicative signal on the throne, if opposite end control EPLD can detect 10M differential clock signal or low level, just think to method, apparatus it is on the throne.
In order to realize the masterslave switchover between master/slave device, M_S signal and the Mate_M_S signal status signal that is absolutely necessary in the above-mentioned masterslave switchover control signal; And Online signal and Mate_Online signal, Work signal and Mate_Work signal are optional status signal.In order to guarantee the reliability of masterslave switchover, can increase Online signal and Mate_Online signal, Work signal and Mate_Work signal.
For distributing system,, can directly transmit above-mentioned six status signals if the distribution number of two equipment rooms is enough; If distribution number available in the distribution is limited, can guarantee earlier that then above-mentioned M_S signal and Mate_M_S signal interconnect between master/slave device, other signal, can realize by the multiplexing clock signal as Work signal and Mate_Work signal, Online signal and Mate_Online signal, for example can adopt the 10M differential clock signal to come multiplexing Online signal and Mate_Online signal, adopt the 10ms clock sync signal to come multiplexing Work signal and Mate_Work signal etc.Related method of signal multiplexing belongs to technology as well known to those skilled in the art, is not described in detail here.
Above-mentioned among the present invention each other the masterslave switchover control signal of two equipment rooms of master/slave device describe in detail, below according to above-mentioned masterslave switchover control signal, describe the present invention and realize main.Fig. 3 is the flow chart that the present invention realizes main and standby rearranging method,, supposes here in the distributing system that equipment 0 and equipment 1 are provided with the masterslave switchover control signal respectively, and connect by connector and distribution, specifically may further comprise the steps in conjunction with Fig. 2:
Step 300: after master/slave device powers on, enter main separately respectively with state and stand-by state.
During device power, the state of initialization oneself state signal is: the Online signal be shown as not on the throne, the Work signal is shown as unusually, the M_S signal is shown as standby.Here suppose that the delay inequality that has set in advance equipment output M_S signal that is positioned at No. 0 equipment item number and the equipment output M_S signal that is positioned at No. 1 equipment item number is 250~500 μ s, and the former is prior to default 250~500 μ s output of latter M_S signal.Suppose that simultaneously equipment 0 is installed in equipment item number No. 0, equipment 1 is installed in equipment item number No. 1.After the equipment that is positioned at two items powers on simultaneously, equipment is handled the M_S signal, output time delay according to default distinct device item, the equipment 0 that is positioned at No. 0 equipment item number is exported M_S=0 earlier, display device 0 is a main equipment, at this moment, the Mate_M_S signal apparatus 0 of equipment 1 has been a main equipment; According to the interlocking capability of M_S signal, be positioned at the equipment 1 output M_S=1 of No. 1 equipment item number after 250~500 μ s, display device 1 is for being equipped with equipment.
By above-mentioned processing, when having guaranteed that two equipment of master/slave device power on simultaneously each other, one of them equipment is main equipment, and another equipment is for being equipped with equipment.Need to prove, above-mentioned two equipment of master/slave device are each other powered on simultaneously, determine main equipment and the processing method that is equipped with equipment, be equally applicable to the situation of two equipment while hardware resets of master/slave device each other, specific implementation with power on after the masterslave switchover process in full accord, it is different just to trigger the condition that master/slave device restarts, and no longer repeats here.
Step 301~step 302: main equipment judges whether to carry out masterslave switchover, if need, then carries out masterslave switchover; Otherwise return step 301.
Main equipment may need to carry out masterslave switchover under following several situations:
Situation one: the masterslave switchover when main equipment resets.
Main equipment power on or reseting procedure in, enter reset mode after the control EPLD on the main equipment receives reset signal, output M_S=1, Online=1, be about to this control EPLD corresponding device be set to standby, and state not on the throne.If this moment, opposite equip. was on the throne and working properly, promptly Mate_Online=0 and Mate_Work=0 then enter the reversed process that resets.
Fig. 4 is a masterslave switchover flow chart after main equipment of the present invention resets, and referring to Fig. 2, supposes that equipment 0 is main equipment, and equipment 1 is for being equipped with equipment, and before main equipment resetted, master/slave device was working properly, and equipment 0 output M_S=0 specifically may further comprise the steps:
Step 3010~step 3011: main equipment judges whether self resets, if then main equipment is exported M_S=1; Otherwise, enter step 3013.
In this step, whether equipment 0 resets by the electrical level judging of judging reset signal, such as, resetting that low level signal causes, be low level if the control EPLD0 of equipment 0 detects reset signal, then judge to enter reset mode; Otherwise, judge it is not reset mode.
Step 3012: main equipment is restarted, and according to starting back main equipment and the current state that is equipped with equipment, determines whether to carry out masterslave switchover, if current state is shown as and need carries out masterslave switchover, then enters step 3014; Otherwise, enter step 3013.
In this step, after equipment 0 was restarted, following several state may appear in the masterslave switchover control signal in equipment 0 and the equipment 1:
A) Work=0, promptly equipment 0 is working properly, while Mate_Online=1, promptly equipment 1 is not on the throne;
B) Work=0, promptly equipment 0 is working properly, while Mate_Online=0 and Mate_M_S=1, promptly equipment 1 is on the throne and standby;
C) Work=1, i.e. equipment 0 operation irregularity, Mate_Online=1 simultaneously, promptly equipment 1 is not on the throne;
D) Work=0, promptly equipment 0 is working properly, simultaneously Mate_Online=0 and Mate_M_S=0, i.e. equipment 1 on the throne and main using;
E) Work=1, i.e. equipment 0 operation irregularity, Mate_Online=0 simultaneously, promptly equipment 1 is on the throne;
Find out easily from above state, state a), state b) and state c) in, equipment 1 does not satisfy the condition become main equipment, wherein, state a) and state b) in, equipment 0 all is operate as normal, state a) in equipment 1 not on the throne, the satisfied naturally condition of switching; State b) though in equipment 1 can operate as normal, this moment equipment 1 main be stand-by state with condition indicative signal display device 1, according to main interlocking capability with condition indicative signal, 0 this moment of equipment can only be that the master uses state; At state c) in, though equipment 0 operation irregularity, this moment, equipment 1 was not on the throne, so the masterslave switchover of this moment is nonsensical.So state a), state b) and state c) show the current masterslave switchover that do not need to carry out.
At state d) and state e) in, state d wherein) display device 1 has become the main state of using, according to main interlocking capability with condition indicative signal, equipment 0 can only be stand-by state at this moment, and state e) in, equipment 0 work occurs unusual, and equipment 1 is working properly, so state d) and state e) all show and need carry out masterslave switchover.
Step 3013: main equipment output M_S=0 remains main usefulness, afterwards process ends.
Step 3014: main equipment output M_S=1, switch to standby; Simultaneously, according to main interlocking capability with condition indicative signal, equipment is exported self M_S=0 fully, switches to be main equipment.
From Fig. 4 flow process as can be seen, as long as main equipment resets, main equipment just may be switched to being equipped with equipment.Need to prove, not express among Fig. 4 and forbid the process of switching that because reset above-mentioned status condition judgement that back hardware carries out when finishing for main equipment, software also has little time to carry out forbids the flow process of switching; But for being equipped with equipment, be set to forbid switching, then according to reset state b in the masterslave switchover flow process of back of main equipment among above-mentioned Fig. 4 if main equipment is equipped with equipment before resetting) situation handle.
Situation two: force masterslave switchover.
Forced Switch is exactly when main equipment receives from network management center's Forced Switch order, the control EPLD output M_S=1 of ACTIVE CONTROL main equipment, after Equipment Inspection is stand-by state to main equipment so fully, according to main interlocking capability with condition indicative signal, self M_S signal is changed to 0, promptly is equipped with equipment and is upgraded to the main state of using.
Situation three: the masterslave switchover during equipment software upgrading.
When system need upgrade and move upgrade software, upgrade software was at first forbidden the masterslave switchover order to being equipped with the equipment transmission, and then the main equipment that resets, carry out the software upgrading of main equipment, after finishing software upgrading, upgrade software resets and is equipped with equipment, is equipped with the software upgrading of equipment.
In software upgrade process, if paralysed machine can appear in main equipment upgrading failure, promptly main equipment is in the abnormal work state at this moment.In order to prevent paralysed machine phenomenon, the inventive method, starts and forbids switching timer when the masterslave switchover order is forbidden in the equipment transmission fully at upgrade software, if this forbids switching timer expiry, then is equipped with the device replied masterslave switchover.Like this,, the former equipment that is equipped with is upgraded to main equipment, has prevented paralysed machine phenomenon if main equipment software upgrading failure can be carried out masterslave switchover.Generally, forbid switching the timing length of timer is finished software upgrading greater than main equipment time.
Situation four: the masterslave switchover when distribution disconnects between master/slave device.
When connecting distribution between master/slave device and disconnect, such as, when distribution is plugged operation, or when causing the distribution fracture owing to other reason, all the masterslave switchover control signals between the master/slave device are all with out of touch.Because this moment, master/slave device all can't be known the other side's work at present state,, then be easy to occur two main or two phenomenons that are equipped with if active/standby in this case equipment is initiated masterslave switchover.
For head it off, this method proposes following when two kinds distribution disconnects between master/slave device, realizes main:
Method one: from the masterslave switchover of management system.
For one from management system, main equipment and to be equipped with equipment be the highest control hierarchy equipment in the system, subordinate equipment is subjected to the management of main equipment, when master-failure, being equipped with device switching is the management of primary device connection tube system.In management system, the masterslave switchover implementation method is as follows:
Master/slave device is known the other side's running status by detecting the masterslave switchover control signal respectively, know simultaneously active and standby between Link State.If master/slave device all can be known the other side's masterslave switchover control signal, illustrate that then the Link State between the master/slave device is normal, it is normal that distribution connects, in this case, whether main equipment initiates masterslave switchover according to oneself state and the state decision that is equipped with equipment, need carry out masterslave switchover if main equipment is judged, then carries out masterslave switchover, otherwise, do not carry out masterslave switchover;
When distribution disconnects between active and standby, master/slave device can not know that all the other side's master uses condition indicative signal, and operating state index signal and condition indicative signal on the throne are concerning the other side, this moment, above-mentioned three status signals were in failure state, and promptly the Link State between the master/slave device is unusual.At this moment, main equipment will keep the main state of using, and be equipped with equipment and also keep stand-by state, not do the active and standby control of switching, and recover to connect up to distribution.
In said method, key is that it is because the distribution between master/slave device disconnects causes that equipment fully will be judged the inefficacy of masterslave switchover control signal, rather than other master-failure such as main equipment power down causes.In order to distinguish both of these case, the inventive method is carried out following processing to condition indicative signal on the throne:
Fig. 5 is the present invention's condition indicative signal testing circuit on the throne figure, from Fig. 5 as seen, connects a drop-down resistance at the Online of active/standby equipment signal output part, is the resistance R 2 of 1K and the resistance R 4 that resistance is 1K such as resistance.Wherein, an end of resistance R 2 and resistance R 4 links to each other with ground respectively, and the other end is connected with the Online signal output part of active/standby equipment respectively; Connecting a pull-up resistor at the Mate_Online of active/standby equipment signal input part, is the resistance R 1 of 10K and the resistance R 3 that resistance is 10K such as resistance.Wherein, an end of resistance R 1 and resistance R 3 links to each other with power supply respectively, and the other end is connected with the Mate_Online signal input part of active/standby equipment respectively; And master/slave device altogether, so that identical reference voltage to be provided.
Referring to Fig. 2, like this, no matter whether equipment 0/ equipment 1 powers on, as long as equipment 0/ equipment 1 is on the throne, then the condition indicative signal on the throne of equipment 0/ equipment 1 all can be moved to low level by pull down resistor.Under the normal condition, when equipment 1 is not on the throne, the condition indicative signal on the throne of equipment 0 detected equipment 1 is a high level, when equipment 1 was on the throne, the condition indicative signal on the throne of equipment 0 detected equipment 1 was a low level, in like manner, when equipment 0 is not on the throne, the condition indicative signal on the throne of equipment 1 detected equipment 0 is a high level, and when equipment 0 was on the throne, the condition indicative signal on the throne of equipment 1 detected equipment 0 was a low level; When the distribution between equipment 0 and the equipment 1 disconnected, equipment 0 and equipment 1 were high level with the condition indicative signal on the throne that detects the other side simultaneously, promptly indicated opposite equip. not on the throne simultaneously.
According to the described method of Fig. 5, not on the throne as long as the condition indicative signal on the throne of master/slave device shows simultaneously, illustrate then the distribution disconnection taken place between the master/slave device that this moment, master/slave device all can not carry out the masterslave switchover operation.
Method two: masterslave switchover with upper management equipment.
Have higher level's control appliance for master/slave device, masterslave switchover control can be controlled by higher level equipment.
Fig. 6 is the principle schematic of the present invention by upper management Equipment Control masterslave switchover, from as seen shown in Figure 6, in order to realize main equipment and the backup between the equipment fully, main equipment or be equipped with equipment and higher level's control appliance, must also back up as the physical transfer between the Network Management Equipment, be main equipment and be equipped with equipment and higher level's control appliance between all have at least one physical transmission link, as the E1 link.Master/slave device respectively and the relation of backuping each other of the transmission between higher level's control appliance, when the transmission fault of certain equipment or entire equipment fault, another one equipment just can play the backup effect like this.
Under the normal condition, higher level's control appliance only and set up the logic maintenance channel between main equipment.Between the master/slave device by transmitting periodically handshake, know active and standby between Link State; Perhaps adopt method one master/slave device in the masterslave switchover of management system to know the other side's running status by detecting the masterslave switchover control signal, know simultaneously active and standby between the mode of Link State; Whether main equipment initiates to switch according to state of self and the state decision that is equipped with equipment;
When distribution between the master/slave device disconnects, whether initiate masterslave switchover and follow following principle:
If master status normally then do not do any operation; Otherwise, the physical link transmission between disabled master and the higher level's control appliance, and disconnect maintenance channel.Here, when main equipment occurs when unusual, can not be after higher level's control appliance transmission information in a period of time, the maintenance channel of having set up can not be disconnected because higher level's control appliance does not receive the information of autonomous device always, after maintenance channel disconnected, higher level's control appliance can send the order of forbidding with master transmissions information; Or main equipment is by ordering the maintenance channel between the application disconnection of higher level's control appliance and higher level's control appliance, thereby the transmission of the information between disabled master and the higher level's control appliance.
Higher level's control appliance detect and main equipment between after the link down, then attempt setting up with equipment fully between maintenance channel;
If it is normal to be equipped with equipment operation, then be equipped with the link between Equipment Inspection and the higher level's control appliance, if detect the foundation of maintenance channel, then initiate self switching to main equipment; If be equipped with equipment fault, then be equipped with equipment self forbid detecting with higher level's control appliance between physical link be connected situation and forbid being equipped with equipment self and switch, like this, even main equipment disconnects the physical connection with higher level's control appliance, be equipped with equipment and also can not set up and being connected of higher level's control appliance, thereby prevented ineffective switching;
In addition, in order to guarantee under the situation of above-mentioned equipment fault fully, can devote oneself to work recovering normal equipment as early as possible, this method is further handled as follows: the maintenance channel of having set up between main equipment and the higher level's control appliance disconnects, higher level's control appliance detect and main equipment between after the link down, main equipment starts forbids the transmit timing device, and judges whether this timing is overtime.If overtime, and be equipped with equipment fault and main equipment recovers normal, then main equipment is established to the maintenance channel between higher level's control appliance, and on put equipment fault alarm on record, at this moment, if main equipment can't be set up and higher level's control appliance between maintenance channel, then to be equipped with that equipment switched be main using in explanation; Otherwise continue to judge whether overtime.
The above is that distributing connection equipment of the present invention is realized main, and as seen from above-mentioned, the present invention has realized under the no backboard situation, and the back-up job state of equipment has improved the reliability of system works.Simultaneously, the present invention is directed to different situations and adopt different masterslave switchover control measure, further guaranteed to realize the reliability of masterslave switchover.In a word, such scheme is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (22)

1. a distributing connection equipment is realized main, it is characterized in that, the equipment that is respectively active and standby each other is provided with the masterslave switchover control signal, and by distribution respectively with main equipment be equipped with equipment separately the oneself state signal in the masterslave switchover control signal with the opposite end status signal in the method, apparatus masterslave switchover control signal is connected, this method is further comprising the steps of:
A. after the described active and standby each other device power, enter respectively main become main equipment and enter stand-by state with state become equipment fully;
B. main equipment judges whether to carry out masterslave switchover, if need, then carries out masterslave switchover; Otherwise, return step B.
2. method according to claim 1 is characterized in that, the oneself state information in the described masterslave switchover control signal is: self lead and use condition indicative signal; Opposite end state information in the described masterslave switchover control signal is: the main condition indicative signal of using in opposite end.
3. method according to claim 2 is characterized in that, judges whether to carry out main described in the step B to be: the opposite end is main to be shown as the main time spent with condition indicative signal if main equipment detects, and then this main equipment need carry out masterslave switchover; Otherwise, do not need.
4. method according to claim 2 is characterized in that, described oneself state information also comprises: self operating state index signal; Described opposite end state information also comprises: opposite end operating state index signal.
5. method according to claim 4, it is characterized in that, judging whether to carry out main described in the step B is: if main equipment self operating state indication signal is unusual, and opposite end operating state indication signal is normal, simultaneously the opposite end is main is shown as standbyly with condition indicative signal, then this main equipment need carry out masterslave switchover; Otherwise, do not need.
6. method according to claim 4 is characterized in that, described oneself state information also comprises: self condition indicative signal on the throne; Described opposite end state information also comprises: opposite end condition indicative signal on the throne.
7. method according to claim 6 is characterized in that, the default main time delay with condition indicative signal of first equipment item number and second equipment item number output that is used for erection unit self that is used for erection unit; Before the steps A, this method also comprises: one of described active and standby each other equipment is installed in first equipment item number, and another equipment is installed in second equipment item number;
Active and standby each other equipment described in the steps A enters main method with state and stand-by state:
When powering on, the state of the described active and standby each other initial respectively oneself state signal of equipment is: condition indicative signal on the throne be shown as not on the throne, operating state indication signal for unusual, main be shown as with condition indicative signal standby;
After powering on, described active and standby each other equipment self condition indicative signal on the throne is all exported and is shown signal on the throne; After the software and hardware self check, self operating state index signal is all exported the demonstration normal signal; According to default time delay, output earlier self is main to be shown as main using with installed device output in the equipment item number of condition indicative signal self is main with condition indicative signal, become main equipment, delay when default in another equipment item number that installed device output self is main to be shown as standbyly with status indication information, become equipment fully.
8. method according to claim 6 is characterized in that: the default control logic unit of the opposite end state information input of equipment self, and by output oneself state information after the control logic cell processing.
9. method according to claim 8 is characterized in that, judges whether to carry out main described in the step B to be: main equipment judges whether self resets, if do not reset, then keeps from using as main; Otherwise main equipment is restarted, and according to starting back self and the current state that is equipped with equipment, judges whether to carry out masterslave switchover.
10. method according to claim 9 is characterized in that, the control logic unit in the described main equipment judges according to the reset signal of input whether main equipment resets, if reset signal is a reset level, judges that then main equipment resets; Otherwise, judge that main equipment does not reset.
11. method according to claim 9 is characterized in that, described according to main equipment and the current state that is equipped with equipment, main equipment judges whether to carry out main and is:
If self operating state indication signal of the output of control logic unit described in the main equipment be normal, Shu Ru opposite end condition indicative signal on the throne is shown as not on the thronely simultaneously, and then judgement does not need to carry out masterslave switchover;
Or if self operating state indication signal of control logic unit output described in the main equipment is normal, Shu Ru opposite end condition indicative signal on the throne is shown as on the throne and the opposite end is main is shown as standbyly with condition indicative signal simultaneously, and then judging does not need to carry out masterslave switchover;
Or if self operating state indication signal of control logic unit output described in the main equipment be unusual, Shu Ru opposite end condition indicative signal on the throne is shown as not on the thronely simultaneously, and then judgement does not need to carry out masterslave switchover;
Or if self operating state indication signal of control logic unit output described in the main equipment is normal, Shu Ru opposite end condition indicative signal on the throne is shown as on the throne and the opposite end is main is shown as main usefulness with condition indicative signal simultaneously, then judges and need carry out masterslave switchover;
Or if self operating state indication signal of control logic unit output described in the main equipment be unusual, Shu Ru opposite end condition indicative signal on the throne is shown as on the thronely simultaneously, and then judgement need be carried out masterslave switchover.
12. method according to claim 8 is characterized in that, judges whether to carry out main described in the step B to be:
When main equipment received the Forced Switch order, the control logic unit of main equipment output self master was shown as standby with condition indicative signal;
It is main with condition indicative signal and judge that the control logic unit that is equipped with equipment detects the opposite end that receives, standby if this signal is shown as, and then judges and need carry out masterslave switchover; Otherwise judging does not need to carry out masterslave switchover.
13. method according to claim 1 is characterized in that, judges whether to carry out main described in the step B to be:
During the main equipment upgrading, forbid the masterslave switchover order, start simultaneously and forbid switching timer to being equipped with the equipment transmission;
After main equipment resets and upgrades, judge whether success of upgrading, if success, then will be equipped with device reset and upgrade; Otherwise, judge to forbid whether timer is overtime, if not overtime, then continue wait timeout; If overtime, then be equipped with equipment and recover masterslave switchover.
14. method according to claim 1 is characterized in that, judges whether to carry out main described in the step B to be:
Self condition indicative signal output on the throne at active/standby equipment is provided with a drop-down resistance; Condition indicative signal input on the throne is provided with a pull-up resistor in the opposite end of active/standby equipment;
If main equipment and be equipped with control logic unit that equipment is provided with separately to detect opposite end condition indicative signal on the throne simultaneously be high level, show main equipment and be equipped with equipment all not on the throne, then do not need to carry out masterslave switchover;
Otherwise according to main equipment and the current state that is equipped with equipment, main equipment judges whether to carry out masterslave switchover, if current state is shown as and need carries out masterslave switchover, then carries out masterslave switchover; Otherwise main equipment remains main using.
15. method according to claim 1, it is characterized in that, default respectively higher level's control appliance is connected with the physical link that is equipped with equipment room with main equipment, and between higher level's control appliance and main equipment, set up the logic maintenance channel, judge whether to carry out main described in the step B and be:
Judge between the master/slave device whether link disconnects between the master/slave device, if disconnect, then according to main equipment be equipped with the equipment current state and judge whether that needs carry out masterslave switchover; If disconnect, then carry out following steps:
If master status is normal, then main equipment keeps main usefulness; If master status is unusual, then disconnect the logic maintenance channel of having set up between main equipment and the higher level's control appliance;
Higher level's control appliance detect and main equipment between after the link down, then set up with equipment fully between the logic maintenance channel;
If it is normal and detect with the maintenance channel of higher level's control appliance and set up to be equipped with equipment operation, then need to carry out masterslave switchover; If be equipped with equipment fault, then be equipped with equipment self forbid detecting with higher level's control appliance between physical link be connected situation and forbid being equipped with equipment self and switch, do not need to carry out masterslave switchover.
16. method according to claim 15, it is characterized in that, judge between the described master/slave device that the method that whether link disconnects between the master/slave device is: at main equipment be equipped with between the equipment cycle handshake is set, if active/standby equipment can be received handshake in the set cycle, judge that then link is for disconnecting between the master/slave device; Otherwise judge and disconnect.
17. method according to claim 15, it is characterized in that, judge between the described master/slave device that the method that whether link disconnects between the master/slave device is: master/slave device is known the other side's running status by detecting to the masterslave switchover control signal of method, apparatus, know simultaneously active and standby between Link State, if the masterslave switchover control signal that detects method, apparatus lost efficacy, judge that then link is for disconnecting between the master/slave device; Otherwise judge and disconnect.
18. method according to claim 15, it is characterized in that, the logic maintenance channel of having set up between described disconnection main equipment and the higher level's control appliance, higher level's control appliance detect and main equipment between after the link down, this method also comprises: main equipment starts forbids the transmit timing device, and judges whether this timing is overtime; If overtime, and be equipped with equipment fault and main equipment recovers normal, then main equipment is established to the maintenance channel between higher level's control appliance, and on put the equipment fault alarm on record; Otherwise, continue wait timeout.
19. method according to claim 8 is characterized in that, carries out main described in the step B to be: be equipped with control logic unit output set in the equipment self master and be shown as main using with condition indicative signal.
20. according to Claim 8,14 or 19 described methods, it is characterized in that described logic control element is programmable logic device EPLD.
21. method according to claim 6 is characterized in that, described self/opposite end condition indicative signal on the throne and self/opposite end operating state index signal multiplexing clock signal.
22. method according to claim 1 is characterized in that, described active and standby each other equipment is: Base Band Unit BBU.
CNB2005100816152A 2005-06-30 2005-06-30 Method for realizing master and spare conversion of distributing connection equipment Active CN100459447C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100816152A CN100459447C (en) 2005-06-30 2005-06-30 Method for realizing master and spare conversion of distributing connection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100816152A CN100459447C (en) 2005-06-30 2005-06-30 Method for realizing master and spare conversion of distributing connection equipment

Publications (2)

Publication Number Publication Date
CN1889373A true CN1889373A (en) 2007-01-03
CN100459447C CN100459447C (en) 2009-02-04

Family

ID=37578635

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100816152A Active CN100459447C (en) 2005-06-30 2005-06-30 Method for realizing master and spare conversion of distributing connection equipment

Country Status (1)

Country Link
CN (1) CN100459447C (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917283A (en) * 2010-07-22 2010-12-15 北京交通大学 Two-channel hot standby system and method for realizing two-channel hot standby
WO2012009914A1 (en) * 2010-07-21 2012-01-26 中兴通讯股份有限公司 Protection switching method and system
CN102395189A (en) * 2011-06-28 2012-03-28 中兴通讯股份有限公司 Clock synchronization method and system in BBU (Building Base band Unit) stacking system
CN103002485A (en) * 2011-09-19 2013-03-27 中兴通讯股份有限公司 Method and devices for controlling main and secondary logic cells
CN103532765A (en) * 2013-10-24 2014-01-22 华为技术有限公司 Main/standby switch control method and device
CN105897486A (en) * 2016-06-07 2016-08-24 武汉邮电科学研究院 Hot backup method of SCTP
CN106452834A (en) * 2016-08-31 2017-02-22 大连环宇移动科技有限公司 Method for guaranteeing series connection equipment to keep consistency of main/standby network ports in communication process
WO2018121351A1 (en) * 2016-12-30 2018-07-05 中兴通讯股份有限公司 Interface card status detection method, interface card, and line card
CN108462529A (en) * 2018-04-27 2018-08-28 上海欣诺通信技术股份有限公司 Active and standby board switching method, optical transport network device and storage medium
CN109698775A (en) * 2018-11-21 2019-04-30 中国航空工业集团公司洛阳电光设备研究所 A kind of dual-machine redundancy backup system based on real-time status detection
CN110231961A (en) * 2019-06-27 2019-09-13 杭州迪普信息技术有限公司 A kind of control method and system that master control borad is restarted
CN110832459A (en) * 2017-07-13 2020-02-21 日立汽车系统株式会社 Vehicle control device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1249548C (en) * 2001-06-22 2006-04-05 华为技术有限公司 Switching equipment between master and stand-by circuits and its method
CN1248425C (en) * 2002-02-07 2006-03-29 华为技术有限公司 Exchange method between on-line and off-line communicator
US6915445B2 (en) * 2002-05-08 2005-07-05 Pluris, Inc. Fault-protection mechanism for protecting multi-protocol-label switching (MPLS) capability within a distributed processor router operating in an MPLS network

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012009914A1 (en) * 2010-07-21 2012-01-26 中兴通讯股份有限公司 Protection switching method and system
CN102340407A (en) * 2010-07-21 2012-02-01 中兴通讯股份有限公司 Protection switching method and system
CN102340407B (en) * 2010-07-21 2015-07-22 中兴通讯股份有限公司 Protection switching method and system
CN101917283A (en) * 2010-07-22 2010-12-15 北京交通大学 Two-channel hot standby system and method for realizing two-channel hot standby
CN102395189A (en) * 2011-06-28 2012-03-28 中兴通讯股份有限公司 Clock synchronization method and system in BBU (Building Base band Unit) stacking system
CN102395189B (en) * 2011-06-28 2017-03-22 中兴通讯股份有限公司 Clock synchronization method and system in BBU (Building Base band Unit) stacking system
CN103002485A (en) * 2011-09-19 2013-03-27 中兴通讯股份有限公司 Method and devices for controlling main and secondary logic cells
CN103532765A (en) * 2013-10-24 2014-01-22 华为技术有限公司 Main/standby switch control method and device
CN105897486B (en) * 2016-06-07 2019-05-10 武汉邮电科学研究院有限公司 A kind of method of Stream Control Transmission Protocol Service hot backup
CN105897486A (en) * 2016-06-07 2016-08-24 武汉邮电科学研究院 Hot backup method of SCTP
CN106452834A (en) * 2016-08-31 2017-02-22 大连环宇移动科技有限公司 Method for guaranteeing series connection equipment to keep consistency of main/standby network ports in communication process
CN108268352A (en) * 2016-12-30 2018-07-10 中兴通讯股份有限公司 Interface card condition detection method, interface card and line card
WO2018121351A1 (en) * 2016-12-30 2018-07-05 中兴通讯股份有限公司 Interface card status detection method, interface card, and line card
CN110832459A (en) * 2017-07-13 2020-02-21 日立汽车系统株式会社 Vehicle control device
CN110832459B (en) * 2017-07-13 2023-12-15 日立安斯泰莫株式会社 Vehicle control device
CN108462529A (en) * 2018-04-27 2018-08-28 上海欣诺通信技术股份有限公司 Active and standby board switching method, optical transport network device and storage medium
CN108462529B (en) * 2018-04-27 2023-12-19 上海欣诺通信技术股份有限公司 Main and standby board card switching method, optical transmission network equipment and storage medium
CN109698775A (en) * 2018-11-21 2019-04-30 中国航空工业集团公司洛阳电光设备研究所 A kind of dual-machine redundancy backup system based on real-time status detection
CN110231961A (en) * 2019-06-27 2019-09-13 杭州迪普信息技术有限公司 A kind of control method and system that master control borad is restarted

Also Published As

Publication number Publication date
CN100459447C (en) 2009-02-04

Similar Documents

Publication Publication Date Title
CN1889373A (en) Method for realizing master and spare conversion of distributing connection equipment
CN101123511B (en) A pci quick bus system and its energy management method
CN101159649B (en) PCI high-speed bus system and energy management method thereof
CN102724093B (en) A kind of ATCA machine frame and IPMB method of attachment thereof
CN106032619B (en) Machine communicating with washing method
CN1494228A (en) Method of realizing single plate main and ready change over and its circuit
CN1753377A (en) Method of avoiding access collision of redundant main station against serial bus ink
CN105739656A (en) Cabinet with automatic reset function and automatic reset method thereof
CN103885860A (en) Method for achieving BMC double-management hot redundancy by applying IPMI command
CN101488101A (en) CPCI redundancy stand-by system
CN102253872A (en) Method for implementing redundant management module in compact peripheral component interconnect (CPCI) blade server
CN102026042A (en) Keep-alive and self-healing method and device for advanced telecom computing architecture control surface
CN103150224B (en) For improving the electronic equipment and method that start reliability
CN102253703B (en) Switch-on and switch-off system of motherboards
CN104503947A (en) Multi-server and signal processing method thereof
JP4646859B2 (en) USB device and USB connection system
CN101894056A (en) Bus and working node isolation device and fault recovery system and method thereof
CN1224200C (en) Double communication device and method for remote monitoring and controlling
CN100368993C (en) Apparatus, system, and method for integrating an enclosure
CN102025565B (en) I2C bus communication detection method used among multiple devices
CN101957786B (en) Method and device for realizing start and fault switching control in dual-control system
CN102053847B (en) Server and updating method thereof
CN116643904A (en) Automatic repair system and method for PCIe link faults and server
CN102088366B (en) Single board information monitoring device and distributed single board information monitoring system
CN113051209A (en) Electronic equipment and communication method thereof

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