CN103457879B - Method, administration module and the modularized equipment of administration module principal and subordinate election - Google Patents

Method, administration module and the modularized equipment of administration module principal and subordinate election Download PDF

Info

Publication number
CN103457879B
CN103457879B CN201310378447.8A CN201310378447A CN103457879B CN 103457879 B CN103457879 B CN 103457879B CN 201310378447 A CN201310378447 A CN 201310378447A CN 103457879 B CN103457879 B CN 103457879B
Authority
CN
China
Prior art keywords
module
dcmi
control module
administration
control
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.)
Active
Application number
CN201310378447.8A
Other languages
Chinese (zh)
Other versions
CN103457879A (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201310378447.8A priority Critical patent/CN103457879B/en
Publication of CN103457879A publication Critical patent/CN103457879A/en
Application granted granted Critical
Publication of CN103457879B publication Critical patent/CN103457879B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Infusion, Injection, And Reservoir Apparatuses (AREA)

Abstract

The method, administration module and the modularized equipment that the invention provides a kind of administration module principal and subordinate election, described method comprises: the first administration module determines that whether first data center's management interface DCMI module and the first control module of self be effective; If a described DCMI module and described the first control module are all effective, the first administration module first carries out principal and subordinate's election to the first control module and the second control module, electing after result, it is consistent with the principal and subordinate of the first control module that the first control module is adjusted a DCMI module, be all main or be all from, correspondingly, the second control module is according to the election results of the first control module, the 2nd DCMI module of adjusting self is consistent with the principal and subordinate of the second control module, thereby makes the principal and subordinate of DCMI module on same administration module and control module consistent.

Description

Method, administration module and the modularized equipment of administration module principal and subordinate election
Technical field
The embodiment of the present invention relates to data communication technology, relates in particular to a kind of side of administration module principal and subordinate electionMethod, administration module and modularized equipment.
Background technology
Modularized equipment refers to that each functional module, below will be with one according to the system of certain way compositionIndividual modular switch is that example describes, and Fig. 1 is that the structure of modular switch in prior art is shownIntention, this switch comprises power module (position shown in 11,12 in figure), administration module (figureIn position shown in 5,6), (position shown in 1-4,7-10 in figure, also can be called line to business moduleCard) etc., the module of these difference in functionalitys interconnects by the backboard in cabinet, relative between moduleIndependent closely connected again. Power module is mainly responsible for to complete machine power supply, and administration module is mainly responsible for complete machineManagement work, in complete machine, have which functional module exist such as judging, and monitor these functional modulesDuty, see if there is extremely etc., business module mainly provides various interface, carries various toolsThe business of body.
In order to improve the reliability of equipment, modularized equipment generally adopts double-pipe type modular design, oneAs main management module, a conduct, from administration module, realizes redundancy backup. Power module supports twoPlant voltage, one is 5V (standby) standby voltage, and a kind of is the system voltage of 12V, passes throughSwitching Power Supply control pin (PowerEN) level can be controlled the output of 12V, when pin is low electricityAt ordinary times, 12V can normally export, and in the time that pin is high level, 12V does not export. 5V voltageExport uncontrolledly, as long as the direct current input of 220V exists, 5V voltage just has output. DataCentre management interface (DataCenterManageabilityInterface is called for short DCMI) specification is Ying TeYou, other manufacturers of Microsoft and some combine unified data center's management interface specification of formulation. DCMIA very important function is exactly the long-range power-on and power-off control of support equipment, and this just requires in hardware designAbove, DCMI circuit module must adopt the 5V power voltage supply of Switching Power Supply. Like this when 12V'sAfter system power supply is closed, can be long-range by controlling DCMI module the system power supply of Switching Power SupplyReopen.
The simplified structure signal of the modularization transducer switching system of the double-pipe type module that Fig. 2 provides for prior artFigure, as shown in Figure 2, comprises two administration modules, is provided with a DCMI in each administration moduleModule and a control module, DCMI module and control module are independently carried out principal and subordinate's election separately,Can cause the principal and subordinate of DCMI module on same administration module and control module inconsistent, for example, pipeThe DCMI module of reason in module 1 is main, and the control module on administration module 1 is from, and same pipeDCMI module in reason module and the inconsistent meeting of principal and subordinate of control module bring following problem: work as managementDCMI module in module 1 is main, and control module on administration module 2 is while being main, DCMIInformation is obtained and is managed by administration module 1, and control module information is obtained and managed by administration module 2,The information that must synchronously get by backboard between two administration modules, implement more complicated, byOverlap independently election mechanism and signal in needs two, make election design complicated, and an administration moduleOn need to export two master signals to line card, with the management path of switching management module and line card,Cause line card design complicated.
Summary of the invention
The embodiment of the present invention provides a kind of method, administration module and modularization of administration module principal and subordinate electionEquipment, with the principal and subordinate that overcomes the control module on same administration module and DCMI module in prior art notConsistent problem.
First aspect present invention provides a kind of method of administration module principal and subordinate election, comprising:
The first administration module is determined first data center's management interface DCMI module and the first control of selfWhether module is effective;
If a described DCMI module and described the first control module are all effective, described the first management mouldPiece elects described first to control from the second control module of described the first control module and the second administration moduleModule is main control module so that described the second administration module is adjusted described the second control module for from controlling mouldPiece, and to adjust a described DCMI module according to election results be main DCMI module, correspondingly, instituteStating the second administration module is being adjusted into described the second control module from control module, to adjust self secondDCMI module is from DCMI module, wherein, and described the first administration module and described the second administration moduleMain and standby relation each other; Or described the first administration module is from described the first control module and described the second controlIn molding piece, elect described the first control module for from control module so that described second administration module adjust instituteStating the second control module is main control module, and adjusts a described DCMI module according to election results and beFrom DCMI module, correspondingly, described the second control module is being adjusted into master by described the second administration moduleAfter control module, adjusting described the 2nd DCMI module is main DCMI module.
Method as above, described the first administration module is determined the DCMI module and first of selfWhether control module is effective, comprising:
Whether described the first administration module detects described the first control module and powers on;
If described the first control module powers on, described the first administration module detects described the first control moduleWhether all ready with a described DCMI module;
If described the first control module and a described DCMI module are all ready, described the first pipeReason module determine a described DCMI module and described the first control module all effective.
Method as above, also comprises:
If described the first control module does not power on, described the first administration module detects a described DCMIWhether module is ready;
If a described DCMI module is ready, described the first administration module is from a described DCMIIn module and described the 2nd DCMI module, elect a described DCMI module be main DCMI module orFrom DCMI module;
If a described DCMI module is not ready, described the first administration module elects described firstDCMI module is from DCMI module;
If described the first control module powers on, and described the first control module and/or a described DCMI mouldPiece is not ready, described the first administration module elect described the first control module for from control module withMaking described the second administration module adjust described the second control module is main control module, and according to election resultsAdjusting a described DCMI module is from DCMI module, and correspondingly, described the second administration module is being incited somebody to actionDescribed the second control module is adjusted into and adjusts described the 2nd DCMI after main control module is main DCMI mouldPiece.
Method as above, whether described the first administration module detects described the first control module and powers on,Comprise:
The principal and subordinate who receives described the first control module transmission at described the first administration module elects instruction to interruptWhen signal, detect described the first control module and whether power on.
Second aspect present invention provides a kind of administration module, and described administration module is the first administration module, bagDraw together: the first management interface DCMI of data center module, the first control module and with a described DCMIThe election module that module is connected with the first control module;
Described election module, for determining a described DCMI module and the institute of described the first administration moduleWhether effectively state the first control module;
If a described DCMI module and described the first control module are all effective, described election module fromIn the second control module of described the first control module and the second administration module, elect described the first control moduleFor main control module so that described the second administration module is adjusted described the second control module for from control module,And to adjust a described DCMI module according to election results be main DCMI module, correspondingly, describedTwo administration modules are being adjusted into described the second control module from control module, to adjust self secondDCMI module is from DCMI module, wherein, and described the first administration module and described the second administration moduleMain and standby relation each other; Or described election module is controlled mould from described the first control module and described secondIn piece, elect described the first control module for from control module so that described the second administration module adjusts described theTwo control modules are main control module, and according to election results adjust a described DCMI module for fromDCMI module, correspondingly, described the second control module is being adjusted into master control by described the second administration moduleAfter molding piece, adjusting described the 2nd DCMI module is main DCMI module.
Administration module as above, described election module specifically for:
Whether detect described the first control module powers on;
If described the first control module powers on, detect described the first control module and a described DCMIWhether module is all ready;
If described the first control module and a described DCMI module are all ready, described election mouldPiece determine a described DCMI module and described the first control module all effective.
Administration module as above, described election module also for:
If described the first control module does not power on, described election module detects a described DCMI moduleWhether ready;
If a described DCMI module is ready, described election module is from a described DCMI mouldIn piece and described the 2nd DCMI module, elect a described DCMI module be main DCMI module or fromDCMI module;
If a described DCMI module is not ready, elect a described DCMI module for fromDCMI module;
If described the first control module powers on, and described the first control module and/or a described DCMI mouldPiece is not ready, and described election module elects described the first control module for from control module so that instituteStating the second administration module, to adjust described the second control module be main control module, and according to election results adjustmentA described DCMI module is from DCMI module, and correspondingly, described the second administration module is described in inciting somebody to actionThe second control module is adjusted into and adjusts described the 2nd DCMI after main control module is main DCMI module.
Administration module as above, described election module specifically for:
In the time that the principal and subordinate who receives described the first control module transmission elects instruction interrupt signal, detect instituteWhether state the first control module powers on.
Administration module as above, the employing of described election module and a described DCMI module is samePower supply power supply.
Third aspect present invention provides a kind of modularized equipment, comprising:
Any one first administration module that second aspect present invention provides;
The second administration module, described the second administration module comprises the 2nd DCMI module, the second control moduleAnd connect described the 2nd DCMI module and described the second control module second election module.
The invention provides the method for administration module principal and subordinate election, the first administration module is carrying out principal and subordinate while electing,First the first control module and the second control module are carried out to principal and subordinate's election, electing after result, the first controlIt is consistent with the principal and subordinate of the first control module that molding piece is adjusted a DCMI module, be all main or be all from,Correspondingly, the second control module, according to the election results of the first control module, is adjusted the 2nd DCMI of selfModule is consistent with the principal and subordinate of the second control module, thus make DCMI module on same administration module andThe principal and subordinate of control module is consistent.
Brief description of the drawings
Fig. 1 is the structural representation of modular switch in prior art;
The simplified structure signal of the modularization transducer switching system of the double-pipe type module that Fig. 2 provides for prior artFigure;
Fig. 3 is the flow chart of the embodiment of the method one of administration module principal and subordinate election of the present invention;
Fig. 4 is the flow chart of the embodiment of the method two of administration module principal and subordinate election of the present invention;
Fig. 5 is the structural representation of administration module embodiment mono-of the present invention;
Fig. 6 is the structural representation of modularized equipment embodiment mono-of the present invention.
Detailed description of the invention
Fig. 3 is the flow chart of the embodiment of the method one of administration module principal and subordinate election of the present invention, as shown in Figure 3,The method of the present embodiment can comprise:
Step 101, the first administration module determine that self a DCMI module and the first control module areNo effective.
The method that the present embodiment provides is applicable to adopt the modularized equipment of double-pipe type module, and this modularization is establishedStandby the first administration module and the second administration module of comprising, the first administration module and the second administration module are main each otherStandby relation. The first administration module comprises a DCMI module and the first control module, the second administration moduleComprise the 2nd DCMI module and the second control module, certain the first administration module and the second administration module are alsoCan comprise some other circuit.
On the first administration module, can also be provided with election module, this election module is used for carrying out two managementThe principal and subordinate of DCMI module and control module election between module, the first administration module is by this election moduleDetermine that whether a DCMI module and the first control module be all effective. The first administration module specifically can lead toCross following mode determine a DCMI module and the first control module whether all effective: first, first pipeWhether reason module detects the first control module and powers on. The first control module adopts the system voltage power supply of 12V,Can pass through Long-distance Control power-on and power-off, a DCMI module adopts the power supply of 5V standby voltage, in modularizationWhether management equipment is also power supply under holding state, therefore do not need to detect DCMI module and power. TheWhether one administration module detects the first control module and powers on, if the first control module powers on, and the first managementModule detects the first control module and whether a DCMI module is all ready. The one DCMI moduleCan export respectively ready ready signal with the CPU of the first control module, the first administration module passes throughWhether the Ready signal that detects each module output is effective, judges that whether each module is ready. If firstControl module and a DCMI module are all ready, and the first administration module is determined a DCMI mouldPiece and the first control module are all effective, and two modules on the first administration module are all in normal work shapeState.
If a step 102 DCMI module and the first control module are all effective, the first administration moduleFrom the second control module of the first control module and the second administration module, electing the first control module is master controlMolding piece is so that the second administration module is adjusted the second control module for from control module, and according to election resultsAdjusting a DCMI module is main DCMI module, and correspondingly, the second administration module is by the second controlModule is adjusted into the 2nd DCMI module of adjusting self from control module for from DCMI module; Or,It is from controlling that the first administration module is elected the first control module from the first control module and the second control moduleModule is so that the second administration module is adjusted the second control module is main control module, and adjusts according to election resultsA whole DCMI module is from DCMI module, and correspondingly, the second administration module is by the second control mouldPiece is adjusted into and adjusts the 2nd DCMI module after main control module is main DCMI module.
The first administration module is determining that the DCMI module of self and the information of the first control module haveIn the situation of effect, first, from the first control module and the second control module, carry out principal and subordinate's election, firstIt is master control molding that administration module is elected the first control module from the first control module and the second control modulePiece, the second control module is from control module. Wherein, the second control module is positioned at the second administration moduleUpper, the second administration module also comprises the 2nd DCMI module, the second administration module and the first administration module itBetween main and standby relation each other. For the principal and subordinate of the control module between two administration modules or DCMI moduleElectoral machinery is prior art, can conduct an election by any one method of the prior art, and the present inventionDo not limit.
Below will simply introduce a kind of electoral machinery, suppose that the first control module powers on and ready after (Ready is effective), carry out according to the following steps: the first step: the first administration module detects the second control moduleWhether whether (opposite end) exists, effectively sentence by the present signal that detects the second control module outputDisconnected. If do not exist, be single tube reason template pattern, the first control module is main control module. If exist,Carry out second step: detect the second control module and whether export master signal, if the second control module is defeatedGo out master signal, the second control module has been main control module, the first control module be adjusted into fromControl module, this kind of pattern is generally hot intercalation model. If the second control module is not exported master signal,Carry out the 3rd step: whether readyly detect the second control module, whether effectively detect ready signal,If the second control module is offhand ready, illustrate that the second control module fault cannot normally work,The first control module becomes main control module, if the second control module is ready, judges groove bit-identifyWhether signal soltid signal is 1, if 1, illustrate that the second control module is main control module, if notBe 1, the second control module is from control module, and the first control module is main control module. Above onlyBe a kind of simply introduced control module principal and subordinate's election method, can also realize by other electoral machinery.
From the first control module and the second control module, elect the first control module at the first administration moduleAfter main control module, output master signal, the second administration module by the second control module be adjusted into fromControl module. Meanwhile, the first administration module adjustment the one DCMI module is main DCMI module, secondAdministration module is being adjusted into the second control module from control module, adjust the 2nd DCMI module be fromDCMI module, thus make the first control module on the first administration module and a DCMI module allBe main, and the second control module on the second administration module and the 2nd DCMI module be all from, ensuredOn same administration module, the principal and subordinate of DCMI module and control module is consistent. When the first administration module is as masterAdministration module, the second administration module is as from administration module, the DCMI module on two administration modules andThe information of control module is all obtained by the first administration module, and the information in synchronizing process is only in administration modulePortion transmits, and does not need to transmit by the backboard between two administration modules, makes communicationMore convenient. Meanwhile, DCMI module and HOST module share a set of election mechanism, makeSimpler in circuit design.
In the present embodiment, the first administration module may be also from control module by the first control module election,The second control module is main control module, and the first administration module is adjusted a DCMI mould according to election resultsPiece is from DCMI module, and correspondingly, the second control module is being adjusted into main control by the second administration moduleAfter module, adjusting the 2nd DCMI module is main DCMI module. Thereby make on the first administration moduleOne control module and a DCMI module be all from, and the second control module on the second administration module andThe 2nd DCMI module is all main, has ensured the master of DCMI module and control module on same administration moduleFrom unanimously.
In the present embodiment, elect from the first control module and the second control module at the first administration moduleThe first control module is main control module or from control module, and election results are notified to firstDCMI module, the state and first that makes a DCMI module adjust oneself according to election results is controlledThe state of module is identical, and even the first control module is main control module, and a DCMI module is mainDCMI module, if a DCMI module is from control module, a DCMI is also from DCMIModule. Particularly, the first administration module can be notified a DCMI module, example by the mode of interruptingIf, the first administration module is after electing the first control module and being main control module, by the first control moduleMaster signal setting be 1, and send interrupt notification signal, a DCMI to a DCMI moduleModule is received after interrupt notification, initiatively reads the value of the master of the first main control module, and by selfMaster value is also set to 1, and such the first control module and a DCMI module are all main, due toThe master signal value of one control module output is that 1, the second administration module is by the second control module of oneselfBe adjusted into from control module, and adjust the 2nd DCMI module for from DCMI module.
It should be noted that, the first administration module is identical with the function of the second administration module, firstWhen administration module conducts an election, the second administration module is also in election, two administration modules export respectively withLower status signal: slotid, mater, ready, present signal, wherein, Slotid is groove position information,Groove position 1 or groove position 2 for what identify administration module insertion; Master signal is principal and subordinate's id signal,Be used for informing that other these administration modules of board are main management modules or from administration module. Ready signal is pipeReason module ready signal, whether ready for informing other this administration module of administration module; PresentFor there is signal in signal; Be used for informing that whether other these administration modules of administration module are in place. Two modules existIn election process, carry out the mutual of information mutually by above-mentioned signal, the first administration module is according to the shape of selfThe status signal of state and the second administration module conducts an election, and the second administration module is also according to the first management simultaneouslyThe status signal of module and the state of self conduct an election.
The method that the present embodiment provides, the first administration module is carrying out principal and subordinate while electing, first to the first controlModule and the second control module are carried out principal and subordinate's election, are electing after result, and the first control module adjusts theOne DCMI module is consistent with the principal and subordinate of the first control module, be all main or be all from, correspondingly, theTwo control modules, according to the election results of the first control module, are adjusted the 2nd DCMI module and of selfThe principal and subordinate of two control modules is consistent, thereby makes DCMI module and control module on same administration modulePrincipal and subordinate consistent.
It should be noted that, in prior art, generally control module is responsible for each mould of whole equipmentThe management coordination work of piece, and DCMI module is mainly used in providing data center's management interface, therefore,The priority of control module is higher than the priority of DCMI module, so the first administration module is being ledDuring from election, first control module is carried out to principal and subordinate's election.
Fig. 4 is the flow chart of the embodiment of the method two of administration module principal and subordinate election of the present invention, and embodiment bis-existsOn the basis of embodiment mono-, further describe this electoral machinery, as shown in Figure 4, the present embodiment providesMethod comprise step:
Whether step 201, detection the first control module power on.
If the first control module powers on, perform step 202, if the first control module does not power on, carry outStep 203. In this step, owing to adopting the mode of remote power feeding, there is a DCMI in the first control moduleFirst power on, and situation about powering on after the first control module, therefore, first the first administration module will detectWhether one control module powers on. Particularly, the first administration module receive first control module sendWhen principal and subordinate elects instruction interrupt signal, detect the first control module and whether power on, certainly, the first management mouldPiece also can be real-time detect, or a sense cycle is set, for example within 20 seconds, detect once, thisInvention does not limit this. Because the power-on and power-off of the first control module are not an operation frequently,If adopt real-time detection mode will take cpu resource, and the mode that adopts interrupt notification then to detect,Can effectively avoid the waste of resource.
Whether step 202, detection the first control module and a DCMI module be all ready.
If the first administration module detection obtains the first control module and a DCMI module is all ready,Execution step 204, if the first control module and/or a DCMI module are not ready, i.e. the first controlAny one in molding piece or a DCMI module breaks down, and performs step 205.
Step 203, detect a DCMI module whether ready.
In the situation that the first control module does not power on, only has a DCMI module job, the first managementModule, before a DCMI module and the 2nd DCMI module are carried out to principal and subordinate's election, need to checkWhether one DCMI module is ready. If a DCMI module is ready, perform step 206,If a DCMI module is not ready, perform step 207.
Step 204, from the second control module of the first control module and the second administration module, elect firstControl module is main control module so that the second administration module is adjusted the second control module for from control module,And be main DCMI module according to election results adjustment the one DCMI module; Or, from the first control mouldIn piece and the second control module, electing the first control module is from control module so that the second administration module adjustmentThe second control module is main control module, and is from DCMI according to election results adjustment the one DCMI moduleModule, correspondingly, the second administration module adjusts after the second control module is adjusted into main control moduleTwo DCMI modules are main DCMI module.
After the first administration module is main control module by the first control module election, and adjust a DCMIModule is main DCMI module, and the second administration module is adjusted the second control module for from control module, phaseYing Di, the second administration module is being adjusted into the second control module from control module, to adjust self secondDCMI module is from DCMI module, or, the first administration module by the first control module election for fromAfter control module, adjusting a DCMI module is from DCMI module, and the second administration module adjustment certainlyThe second control module of body is main control module, and correspondingly, the second administration module is by the second control moduleBeing adjusted into and adjusting the 2nd DCMI module after main control module is main DCMI module, thereby makes same pipeIn reason module, the principal and subordinate of DCMI module and control module is consistent. Concrete grammar can be with reference in embodiment mono-Describe, repeat no more here.
Step 205, election the first control module are from control module so that the second administration module adjustment secondControl module is main control module, and is from DCMI mould according to election results adjustment the one DCMI modulePiece, correspondingly, the second administration module adjusts second after the second control module is adjusted into main control moduleDCMI is main DCMI module.
Any one in the first control module or a DCMI module is not ready, illustratesOne administration module breaks down, when the DCMI mould on any one administration module in two administration modulesPiece or control module break down, and this administration module can only be from administration module, therefore, and the first managementModule can only be from administration module, and the first administration module does not need to carry out principal and subordinate's election, directly self is establishedBe set to from administration module, said method has solved the in the situation that of DCMI module or control module fault,How to carry out two principal and subordinate's elections between administration module.
Step 206, from a DCMI module and the 2nd DCMI module, elect a DCMI moduleBe main DCMI module or from DCMI module, then perform step 208.
Do not power in the first control module, and in the effective situation of a DCMI, carry out this step, thisStep is the electoral machinery of DCMI module under holding state, and the first administration module is from a DCMI mouldIn piece the 2nd DCMI module, carry out principal and subordinate's election, election the one DCMI module be main DCMI module orPerson is from DCMI module, and electoral machinery can adopt existing any one electoral machinery.
If a step 207 DCMI module is not ready, elect a DCMI module for fromDCMI module.
Do not power in the first control module, and in the not ready situation of a DCMI module, explanationThe one DCMI module failure, the first administration module is from administration module, is somebody's turn to do from administration moduleDCMI module is from DCMI module.
Step 208, judge whether to receive that the principal and subordinate that the first control module sends elects instruction interrupt signal.
If the first administration module receives that the principal and subordinate that the first control module sends elects instruction interrupt signal, if theOne DCMI module first powers on, after the first control module, power on, the first control module after powering on, meetingSend principal and subordinate to the first administration module and elect instruction interrupt signal, if the first administration module receives that principal and subordinate electsInstruction interrupt signal, returns to execution step 201, restarts election flow process. If do not receive, principal and subordinate electsInstruction interrupt signal, finishes election process, and this modularized equipment enters normal operating condition.
The method that the present embodiment provides, a point situation has been described in all cases, and the first administration module carries outThe method of principal and subordinate election is all effectively in situation, first right in a DCMI module and the first control moduleIn the first control module and the second control module, carry out principal and subordinate's election, electing the first control module is master controlMolding piece or be from control module, adjusts a DCMI and the first control module master according to election resultsFrom being consistent, correspondingly, the second administration module is also adjusted the 2nd DCMI module and the second control modulePrincipal and subordinate is consistent, thereby has ensured that the principal and subordinate of DCMI module on same administration module and control module is consistent., illustrated in DCMI module under holding state, and a certain module is while breaking down, how meanwhileCarry out the scheme of principal and subordinate's election, the scheme that principal and subordinate is elected is more complete.
Fig. 5 is the structural representation of administration module embodiment mono-of the present invention, as shown in Figure 5, and the present embodimentThe administration module providing comprises: a DCMI module 31, the first control module 32 and with a DCMIThe election module 33 that module 31 is connected with the first control module 32.
In the present embodiment, this administration module, as the first administration module, carries out principal and subordinate's election, is appreciated that, this administration module also can be used as the second administration module.
Election module 33, controls for a DCMI module 31 and first of determining the first administration moduleWhether module 32 is effective. If a DCMI module 31 and the first control module 32 are all effective, electionModule 33 is elected the first control from the second control module of the first control module 32 and the second administration moduleModule 32 for main control module so that the second administration module is adjusted the second control module for from control module, andBe main DCMI module according to election results adjustment the one DCMI module 31, correspondingly, the second managementModule the second control module is adjusted into the 2nd DCMI module of adjusting self from control module for fromDCMI module, wherein, the first administration module and the second administration module main and standby relation each other; Or, choosingIt is from control that act module 33 is elected the first control module 32 from the first control module 32 and the second control moduleMolding piece is so that the second administration module is adjusted the second control module is main control module, and according to election resultsAdjust a DCMI module 31 for from DCMI module, correspondingly, the second administration module is by secondControl module is adjusted into and adjusts the 2nd DCMI module after main control module is main DCMI module.
Election module 33 can adopt field programmable gate array (Field-ProgrammableGateArray,Be called for short FPGA), also can adopt other PLDs (programmablelogicdevice,Be called for short PLD), CPLD (ComplexProgrammableLogicDevice, letterClaim CPLD) or the realization such as single-chip microcomputer. In the time adopting FPGA to realize, DCMI module 31 HesThe first control module 32 is communicated by letter with FPGA by localbus interface respectively. Election module 33 and DCMIModule is the same, also adopts the standby voltage power supply of 5V. In election after module 33 powers on, first detect theWhether one control module 32 powers on, the master that election module 33 can receive the first control module 32 and sendsDuring from election instruction interrupt signal, detect the first control module 32 and whether power on. If the first control module32 power on, and detect the first control module 32 and whether a DCMI module 31 is all ready; IfThe first control module 32 and a DCMI module 31 are all ready, elect module 33 to determine firstDCMI module 31 and the first control module 32 are all effective. Control in a DCMI module 31 and firstModule 32 is all effectively under prerequisite, and election module 33 coordinates the first control module 32 to carry out principal and subordinate's election,From the first control module 31 and the second control module, elect the first control module 32 for main control module orPerson is from control module, and in the time of the first control module 32 main control module, election module 33 adjusts firstDCMI module 31 is main DCMI module, in the time electing the first control module 32 for main control module,The second control module 32 is from control module, and the second administration module is being adjusted into the second control module from controlAfter molding piece, adjusting the 2nd DCMI module is also from DCMI module, thereby ensures the first administration moduleOn a DCMI module 31 and the first control module 32 be all main, second on the second administration moduleDCMI module and the second control module be all from.
If the first control module 32 does not power on, whether election module 33 detects a DCMI module 31 accurateStandby ready, if a DCMI module 31 is ready, the DCMICPU of a DCMI module 31In holding state, at this moment elect module 33 to coordinate a DCMI module 31 to carry out principal and subordinate's election, choosingLift module 33 and elect a DCMI module 31 from a DCMI module 31 and the 2nd DCMI moduleIt is main DCMI module or from DCMI module. If a DCMI module 31 is not ready, sayBright DCMI module 31 faults, the first administration module can only be from administration module, election module33 election the one DCMI modules 31 are from DCMI module.
If the first control module 32 powers on, and the first control module 32 and/or a DCMI module 31Not ready, the first control module 32 and a DCMI module 31 are non-all effective, illustrate firstOn administration module, have fault, the first administration module can only be from administration module, elects module 33 to electThe first control module 32 is for from control module so that the second administration module is adjusted the second control module is master controlMolding piece, and be from DCMI module according to election results adjustment the one DCMI module 31, correspondingly,It is main that the second administration module is adjusted the 2nd DCMI after the second control module is adjusted into main control moduleDCMI module.
The method that the present embodiment provides can be used for carrying out the method shown in embodiment mono-and embodiment bis-, its toolBody implementation and technique effect are similar, repeat no more here.
Fig. 6 is the structural representation of modularized equipment embodiment mono-of the present invention, as shown in Figure 6, and this enforcementThe modularized equipment of example comprises: the first administration module 41 and the second administration module 42, this modularized equipmentCan be modular switch, modular router, modular server etc.
Wherein, the first administration module 41 comprise a DCMI module 411, the first control module 412 withAnd the first election module 413 of connection the one DCMI module 411 and the first control module 412; SecondAdministration module 42 comprises the 2nd DCMI module 421, the second control module 422 and connects the 2nd DCMIThe second election module 423 of module 421 and the second control module 422.
The first election module 413 is for electing from the first control module 412 and the second control module 422The first control module 412 is main control module, according to election results adjustment the one DCMI module 411 isMain DCMI module, and notify the second election module 423 to adjust the second control module 422 for from controlling mouldPiece, the second election module 423, for according to the election results of the first election module 413, adjusts secondControl module 422 is from control module, and is adjusting the second control module 422 for to adjust from control moduleWhole the 2nd DCMI module 421 is from DCMI module.
Or the first election module 413 is for from the first control module 412 and the second control module 422Middle election the first control module 412 is from control module, adjusts a DCMI module according to election results411 is from DCMI module, and to notify the second election module 423 to adjust the second control module 422 be mainControl module, the second election module 423, for according to the election results of the first election module 413, is adjustedWhole the second control module 422 is main control module, and is adjusting the second control module 422 for master control moldingAfter piece, adjusting the 2nd DCMI module 421 is main DCMI module.
The modularized equipment that the present embodiment provides can be carried out the method shown in embodiment mono-and embodiment bis-, toolBody implementation and technique effect are similar, repeat no more here.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the methodSuddenly can complete by the relevant hardware of programmed instruction. Aforesaid program can be stored in a computer canRead in storage medium. This program, in the time carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; AndAforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. are various can be program code storedMedium.
Finally it should be noted that: above each embodiment is only in order to technical scheme of the present invention to be described, but not rightIts restriction; Although the present invention is had been described in detail with reference to aforementioned each embodiment, this area commonTechnical staff is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified,Or some or all of technical characterictic is wherein equal to replacement; And these amendments or replacement, andDo not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a method for administration module principal and subordinate election, is characterized in that, comprising:
The first administration module is determined first data center's management interface DCMI module and the first control of selfWhether module is effective;
If a described DCMI module and described the first control module are all effective, described the first management mouldPiece elects described first to control from the second control module of described the first control module and the second administration moduleModule is main control module so that described the second administration module is adjusted described the second control module for from controlling mouldPiece, and to adjust a described DCMI module according to election results be main DCMI module, correspondingly, instituteStating the second administration module is being adjusted into described the second control module from control module, to adjust self secondDCMI module is from DCMI module, wherein, and described the first administration module and described the second administration moduleMain and standby relation each other; Or described the first administration module is from described the first control module and described the second controlIn molding piece, elect described the first control module for from control module so that described second administration module adjust instituteStating the second control module is main control module, and adjusts a described DCMI module according to election results and beFrom DCMI module, correspondingly, described the second control module is being adjusted into master by described the second administration moduleAfter control module, adjusting described the 2nd DCMI module is main DCMI module.
2. method according to claim 1, is characterized in that, described the first administration module is determined certainlyWhether the one DCMI module and first control module of body be effective, comprising:
Whether described the first administration module detects described the first control module and powers on;
If described the first control module powers on, described the first administration module detects described the first control moduleWhether all ready with a described DCMI module;
If described the first control module and a described DCMI module are all ready, described the first pipeReason module determine a described DCMI module and described the first control module all effective.
3. method according to claim 2, is characterized in that, also comprises:
If described the first control module does not power on, described the first administration module detects a described DCMIWhether module is ready;
If a described DCMI module is ready, described the first administration module is from a described DCMIIn module and described the 2nd DCMI module, elect a described DCMI module be main DCMI module orFrom DCMI module;
If a described DCMI module is not ready, described the first administration module elects described firstDCMI module is from DCMI module;
If described the first control module powers on, and described the first control module and/or a described DCMI mouldPiece is not ready, described the first administration module elect described the first control module for from control module withMaking described the second administration module adjust described the second control module is main control module, and according to election resultsAdjusting a described DCMI module is from DCMI module, and correspondingly, described the second administration module is being incited somebody to actionDescribed the second control module is adjusted into and adjusts described the 2nd DCMI after main control module is main DCMI mouldPiece.
4. according to the method in claim 2 or 3, it is characterized in that described the first administration module inspectionSurvey before whether described the first control module power on, comprising:
The principal and subordinate who receives described the first control module transmission at described the first administration module elects instruction to interruptWhen signal, detect described the first control module and whether power on.
5. an administration module, is characterized in that, described administration module is the first administration module, comprising:The the first management interface DCMI of data center module, the first control module and with a described DCMI mouldThe election module that piece is connected with the first control module;
Described election module, for determining a described DCMI module and the institute of described the first administration moduleWhether effectively state the first control module;
If a described DCMI module and described the first control module are all effective, described election module fromIn the second control module of described the first control module and the second administration module, elect described the first control moduleFor main control module so that described the second administration module is adjusted described the second control module for from control module,And to adjust a described DCMI module according to election results be main DCMI module, correspondingly, describedTwo administration modules are being adjusted into described the second control module from control module, to adjust self secondDCMI module is from DCMI module, wherein, and described the first administration module and described the second administration moduleMain and standby relation each other; Or described election module is controlled mould from described the first control module and described secondIn piece, elect described the first control module for from control module so that described the second administration module adjusts described theTwo control modules are main control module, and according to election results adjust a described DCMI module for fromDCMI module, correspondingly, described the second control module is being adjusted into master control by described the second administration moduleAfter molding piece, adjusting described the 2nd DCMI module is main DCMI module.
6. administration module according to claim 5, is characterized in that, described election module is specifically usedIn:
Whether detect described the first control module powers on;
If described the first control module powers on, detect described the first control module and a described DCMIWhether module is all ready;
If described the first control module and a described DCMI module are all ready, described election mouldPiece determine a described DCMI module and described the first control module all effective.
7. administration module according to claim 6, is characterized in that, described election module also for:
If described the first control module does not power on, described election module detects a described DCMI moduleWhether ready;
If a described DCMI module is ready, described election module is from a described DCMI mouldIn piece and described the 2nd DCMI module, elect a described DCMI module be main DCMI module or fromDCMI module;
If a described DCMI module is not ready, elect a described DCMI module for fromDCMI module;
If described the first control module powers on, and described the first control module and/or a described DCMI mouldPiece is not ready, and described election module elects described the first control module for from control module so that instituteStating the second administration module, to adjust described the second control module be main control module, and according to election results adjustmentA described DCMI module is from DCMI module, and correspondingly, described the second administration module is described in inciting somebody to actionThe second control module is adjusted into and adjusts described the 2nd DCMI after main control module is main DCMI module.
8. administration module according to claim 6, is characterized in that, described election module is specifically usedIn:
In the time that the principal and subordinate who receives described the first control module transmission elects instruction interrupt signal, detect instituteWhether state the first control module powers on.
9. according to the administration module described in claim 5-8 any one, it is characterized in that described election mouldThe same power supply power supply of employing of piece and a described DCMI module.
10. a modularized equipment, is characterized in that, comprising:
The first administration module described in claim 5-9 any one;
The second administration module, described the second administration module comprises the 2nd DCMI module, the second control moduleAnd connect described the 2nd DCMI module and described the second control module second election module.
CN201310378447.8A 2013-08-27 2013-08-27 Method, administration module and the modularized equipment of administration module principal and subordinate election Active CN103457879B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310378447.8A CN103457879B (en) 2013-08-27 2013-08-27 Method, administration module and the modularized equipment of administration module principal and subordinate election

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310378447.8A CN103457879B (en) 2013-08-27 2013-08-27 Method, administration module and the modularized equipment of administration module principal and subordinate election

Publications (2)

Publication Number Publication Date
CN103457879A CN103457879A (en) 2013-12-18
CN103457879B true CN103457879B (en) 2016-05-25

Family

ID=49739847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310378447.8A Active CN103457879B (en) 2013-08-27 2013-08-27 Method, administration module and the modularized equipment of administration module principal and subordinate election

Country Status (1)

Country Link
CN (1) CN103457879B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109823375A (en) * 2019-01-07 2019-05-31 北京全路通信信号研究设计院集团有限公司 A kind of applied to the double of automatic train operation system is hot standby switch method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801632A (en) * 2012-08-28 2012-11-28 盛科网络(苏州)有限公司 Unified electoral method of PIM-SM (Protocol Independent Multicast-Sparse Mode) designated router and IGMP (Internet Group Management Protocol) querier
CN102820973A (en) * 2012-07-20 2012-12-12 福建星网锐捷网络有限公司 Management boards, modularized equipment with double management boards, and electing method of master control board

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100614436B1 (en) * 2006-05-19 2006-08-22 피아산업 주식회사 A automation system of electric rack of method for control therof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102820973A (en) * 2012-07-20 2012-12-12 福建星网锐捷网络有限公司 Management boards, modularized equipment with double management boards, and electing method of master control board
CN102801632A (en) * 2012-08-28 2012-11-28 盛科网络(苏州)有限公司 Unified electoral method of PIM-SM (Protocol Independent Multicast-Sparse Mode) designated router and IGMP (Internet Group Management Protocol) querier

Also Published As

Publication number Publication date
CN103457879A (en) 2013-12-18

Similar Documents

Publication Publication Date Title
US7290170B2 (en) Arbitration method and system for redundant controllers, with output interlock and automatic switching capabilities
CN101271332B (en) Compact integrated redundancy controller and control method thereof
CN102724083A (en) Degradable triple-modular redundancy computer system based on software synchronization
CN104035831A (en) High-end fault-tolerant computer management system and method
CN101299678B (en) Method and system for implementing electrification of interface plate in open application structure
WO2020143243A1 (en) Dual-system hot backup switching method and system applied to automatic running system of train
US20120131361A1 (en) Remote controller and method for remotely controlling motherboard using the remote controller
CN101582797A (en) Management board and two-unit standby system and method
US20150365781A1 (en) Server systems
CN107807630A (en) A kind of method for handover control of master/slave device, its handover control system and device
CN101645915A (en) Disk array host channel daughter card, on-line switching system and switching method thereof
CN110609760A (en) System for preventing server from false triggering and reducing frequency
CN105573112A (en) Diesel locomotive excitation controller dual-unit hot redundancy automatic switching system
CN110687845A (en) Hot standby redundancy control system of DCS
CN110196564B (en) Smooth switching dual-machine redundant power distribution system resistant to single-particle irradiation
CN105549696A (en) Rack-mounted server system with case management function
CN103457879B (en) Method, administration module and the modularized equipment of administration module principal and subordinate election
CN112445751B (en) Computer host interface board suitable for multi-mode redundant system
CN212541329U (en) Dual-redundancy computer equipment based on domestic Loongson platform
CN105471652A (en) Big data all-in-one machine and redundancy management unit thereof
CN110053650B (en) Automatic train operation system, automatic train operation system architecture and module management method of automatic train operation system
CN110688263B (en) Application method of hard disk automatic switching device based on FPGA
CN102053847B (en) Server and updating method thereof
CN100563356C (en) The message tracing method of distributed management system
CN107179818A (en) The control circuit and control method of double mainboards

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS CO., LTD.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Fujian Xingwangruijie Network Co., Ltd.