[go: up one dir, main page]

CN101882097A - Main control board, embedded system and backup method for embedded system - Google Patents

Main control board, embedded system and backup method for embedded system Download PDF

Info

Publication number
CN101882097A
CN101882097A CN 201010213290 CN201010213290A CN101882097A CN 101882097 A CN101882097 A CN 101882097A CN 201010213290 CN201010213290 CN 201010213290 CN 201010213290 A CN201010213290 A CN 201010213290A CN 101882097 A CN101882097 A CN 101882097A
Authority
CN
China
Prior art keywords
master control
control board
control borad
state
borad
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 201010213290
Other languages
Chinese (zh)
Inventor
雷林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Star Net Communication 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 CN 201010213290 priority Critical patent/CN101882097A/en
Publication of CN101882097A publication Critical patent/CN101882097A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Abstract

The invention discloses a main control board, which comprises a master/backup selection module and a master/backup switching management module. The master/backup selection module is used for acquiring states of the belonged main control board and another main control board in an embedded system, and determining that the belonged main control board is a master main control board or a backup main control board and whether master/backup switching is needed by comparing the priority level of the acquired states of the two main control boards when the state of the belonged main control board and/or the another main control board changes. The master/backup switching management module is used for finishing the operation of switching from the master main control board to the backup main control board or from the backup main control board to the master main control board when the master/backup selection module determines that the master/backup switching is needed. The invention also provides an embedded system which comprises the two main control boards and at least one expansion module, and a backup method for the embedded system. The switching between master/backup main control boards is quickly completed when the main control board of the embedded system fails. Therefore, services can be reliably and timely recovered.

Description

The backup method of a kind of master control borad, embedded system and embedded system
Technical field
The present invention relates to the embedded system field, relate in particular to the backup method of a kind of master control borad, embedded system and embedded system.
Background technology
The system chart of common centralized embedded system as shown in Figure 1, in the embedded system of this type of centralized fashion design, all there is a supporting CPU, CPU peripheral hardware (as Flash and internal memory etc.), peripherals on the sheet (is for example gone up the ether interface that integrated correlation module is drawn by CPU, USB interface, Serial Control mouth etc.) and CPLD (the ComplexProgrammable Logic Device that is used to realize hardware operations such as house dog, CPLD) master control borad of system, master control borad is connecting some expansion modules by its functional interface module usually, the ply-yarn drill that expansion module is normally derived by various buses is Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) ply-yarn drill etc. for example.
As can be seen, the structure more complicated of master control borad, this embedded system are in operational process, and be unusual if the operation of master control borad occurs, and may cause the collapse of total system from centralized embedded system shown in Figure 1.
The existing method that solves the master control borad software anomaly is restarted the operating system on the master control borad by the house dog of using hardware setting usually.The existing method that solves the master control borad hardware anomalies adopts usually manually to the on-the-spot mode of changing and keeping in repair.
By the mode that house dog reboot operation system comes the recovery system business is set, often need through cpu reset, start steps such as bootloader loading procedure, operation bootloader program, the operation of bootloader loading master routine, operation master routine, loading system configuration file, release time is longer.To the on-the-spot mode of changing and keeping in repair, reliability is poor on the one hand, also can't finish system service recovery within a short period of time on the one hand in addition by manually.
Summary of the invention
The embodiment of the invention provides the backup method of a kind of master control borad, embedded system and embedded system, in order to solve the problem that main control board occurs fault can not in time be recovered in the existing embedded system.
A kind of master control borad that the embodiment of the invention provides comprises:
Active and standby election module, be used for obtaining self affiliated master control borad and the residing state of another master control borad of embedded system, when master control borad under self and/or described another master control board state change, the height of the priority by two master control borad states of living in relatively getting access to is determined that master control borad under self is current to should be main control board or for slave control board and whether need to carry out active and standby switching;
Active and standby switching management module is used for determining when needs carry out active and standby switching in described active and standby election module, finishes by main control board to switch to slave control board or switched to the operation of main control board by slave control board.
A kind of embedded system that the embodiment of the invention provides comprises at least one expansion module and two master control borads that the embodiment of the invention provides, and these two master control borads are connected with each expansion module respectively.
The backup method of a kind of embedded system that the embodiment of the invention provides comprises:
Obtain this master control borad and the residing state of another master control borad;
When this master control borad and/or another master control board state change, the height of the priority by two master control borad states of living in relatively getting access to is determined that master control borad under self is current to should be main control board or for slave control board and whether need to carry out active and standby switching;
When needs carry out active and standby switching, finish by main control board switching to slave control board or switching to the operation of main control board by slave control board.
The beneficial effect of the embodiment of the invention comprises:
The master control borad that the embodiment of the invention provides, the backup method of embedded system and embedded system, adopted the mode that the dual master control plate backs up mutually in the same embedded system, two master control borads that structure is identical promptly are set in embedded system, any master control borad all can realize obtaining self and the residing state of another master control borad, when self and/or another master control board state change, the height of the priority by self and another master control borad state of living in that relatively get access to, determine that current to should be main control board still be slave control board and whether need to carry out active and standby switching for self, and when needs carry out active and standby switching, carry out corresponding active and standby blocked operation, the processing mode of the existing embedded system main control board occurs fault of comparing, because two master control borads all have same structure and function, and can be implemented in when breaking down state variation, switch to slave control board or switch to main control board by main control board by slave control board, feasible business can access reliably, recover in time, and it is embodied as originally also lower.
Description of drawings
The structural representation of the embedded system that Fig. 1 provides for prior art;
The structural representation of the embedded system that Fig. 2 provides for the embodiment of the invention;
Master control borad 201 and master control borad 202 state variation synoptic diagram that Fig. 3 provides for the embodiment of the invention;
The process flow diagram of the backup method of the embedded system that Fig. 4 provides for the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of the backup method of a kind of master control borad provided by the invention, embedded system and embedded system is described in detail.
The embodiment of the invention is improved existing centralized embedded system, as shown in Figure 2, in the embedded system that the embodiment of the invention provides, than prior art, two master control borads that the embodiment of the invention provides have been adopted, that is to say, in this embedded system, comprise with existing embedded system and have at least one identical expansion module, illustrate to be expansion module 203 with three expansion modules among Fig. 2, expansion module 204 and expansion module 205 (illustrate three expansion modules among Fig. 2, but the embodiment of the invention not limiting the concrete quantity of expansion module), in addition, also comprise two master control borads, i.e. master control borad 201 and master control borad 202; Master control borad 201 is that expansion module 203, expansion module 204 and expansion module 205 link to each other with each expansion module all respectively with master control borad 202.
Below in conjunction with the structural representation of embedded system shown in Figure 2, the structure and the principle of work of the master control borad that the embodiment of the invention is provided are described in detail:
Hardware configuration, the principle of work of master control borad 201 and master control borad 202 are identical, master control borad 201 is used to obtain self and master control borad 202 present located states, when self and/or master control borad 202 states change, the height of the priority by two current states of living in of master control borad relatively getting access to, determine that self currently should be main control board or slave control board and whether need to carry out active and standby switching, when needs carry out active and standby switching, finish by main control board switching to slave control board or switching to the operation of main control board by slave control board.
Master control borad 202 is used to obtain self and master control borad 201 present located states, when self and/or master control borad 201 states change, the height of the priority by two current states of living in of master control borad relatively getting access to, determine that self currently should be main control board or slave control board and whether need to carry out active and standby switching, when needs carry out active and standby switching, finish by main control board switching to slave control board or switching to the operation of main control board by slave control board.
The structure of master control borad 201 that the embodiment of the invention provides and 202 inner structure master control borad more of the prior art is improved.Because the hardware configuration of two master control borads is identical, easy for what illustrate, be the improvement that example specifies its structure with master control borad 201 below.
The inner structure of master control borad 201 on the architecture basics of existing master control borad, has increased by two modules as shown in Figure 2, and a module is active and standby election module 2011, and another module is active and standby switching management module 2012, wherein:
Active and standby election module 2011 is used for obtaining self affiliated master control borad (being master control borad 201) and another master control borad of embedded system (being master control borad 202) present located state, when the state of the state of master control borad 201 and/or master control borad 202 changes, the height of the priority by two current states of living in of master control borad relatively getting access to is determined that master control borad 201 is current to should be main control board or slave control board and whether need to carry out active and standby switching;
Active and standby switching management module 2012 is used for determining when needs carry out active and standby switching in active and standby election module 2011, finishes by main control board to switch to slave control board or switched to the operation of main control board by slave control board.
In embodiments of the present invention, the concrete function of active and standby election module 2011 and active and standby switching management module 2012 can be realized by CPLD or other similar hardware cells, in the specific implementation, can realize the function of above-mentioned active and standby election module 2011 and active and standby switching management module 2012 respectively by two or more CPLD, can concentrate the function that realizes above-mentioned active and standby election module 2011 and active and standby switching management module 2012 by a CPLD, the embodiment of the invention is not done qualification to this yet.
The state of master control borad under self and another one master control borad can be monitored and write down to active and standby election module 2011 simultaneously, and particularly, for the master control borad under self 201, the state that active and standby election module 2011 will write down and monitor comprises following 5 kinds of states:
Open state (L_PowerOn) powers on: the implication of sign is the start that powers on of master control borad (master control borad 201) embedded system under self;
Main control board state (L_Main): the implication of sign is finished for master control borad under self rises main control board by slave control board; Be arranged to this state by active and standby election module after master control borad is upgraded to master control borad and finishes under self;
Restart or lost condition (L_Reset): the implication of sign is restarted for master control borad under self resets, and perhaps is pulled out;
Slave control board state (L_BackUp): to be that master control borad is current under self be slave control board to the implication of sign; In the embedded system start that powers on, after hardware is finished self check, active and standby election module is set to this state automatically with master control borad under self, under this state, the operating system of master control borad and each functional software normally move under self, but functional interface module is not opened, and the not connected expansion module of affiliated master control borad communicates;
Be upgraded to master control board state (L_BackUp2Main): the implication of sign is upgraded to main control board for master control borad under self from slave control board; When master control borad is set to this state under the active and standby election module self, need each expansion module (for example ply-yarn drill) to be carried out initialization operation by functional interface module.
Accordingly, for another one master control borad 202, the state that active and standby election module 2011 will write down and monitor comprises following 5 kinds of states equally:
Open state (R_PowerOn) powers on: the implication of sign is the start that powers on of another master control borad (master control borad 202) embedded system;
Main control board state (R_Main): the implication of sign is finished for another master control borad rises main control board by slave control board;
Restart or lost condition (R_Reset): the implication of sign is restarted for another master control borad resets, and perhaps is pulled out;
Slave control board state (R_BackUp): the implication of sign is that another master control borad is current for slave control board;
Be upgraded to master control board state (R_BackUp2Main): the implication of sign is upgraded to main control board for another master control borad from slave control board.
The switching of above-mentioned various states preferably, can realize by state machine.
In embodiments of the present invention, above-mentioned five kinds of states are provided with corresponding priority level, each state is arranged in order as follows according to order from low to high:
Power on open state, restart or lost condition, slave control board state, be upgraded to master control board state and main control board state.
In embodiments of the present invention, active and standby election module 2011 can according to current under self master control borad and the residing state of another master control borad compare, just concern according to above-mentioned default priority, the master control borad of determining to be in the low priority state is a slave control board, the master control borad that is in high priority state is a main control board, when both residing states are identical, can further judge (slot number information can get access to by reading master control borad information) according to the residing slot number of master control borad, for example can set the higher master control borad of slot number of living in is main control board, the master control borad that slot number of living in is lower is a slave control board, perhaps conversely, setting the lower master control borad of slot number of living in is main control board, and the higher master control borad of slot number of living in is a slave control board.
The various scenes that may run in actual moving process with embedded system are example below, illustrate how active and standby election module and active and standby switching management module work in master control borad 201 and the master control borad 202.
As shown in Figure 3, first kind of situation, embedded system normal boot-strap.
In such cases, two master control borads of embedded system will start respectively, basic hardware check and initialization (state of this moment is the open state that powers on) flow process, because power-on time is basic identical, master control borad 201 and master control borad 202 may all enter the slave control board state simultaneously subsequently, active and standby election module in master control borad 201 and the master control borad 202, obtain the master control borad under self and the status information of the other side's master control borad, rule according to the priority of predefined state, the priority relationship that compares the state of two master control borads, under the identical situation of priority, the magnitude relationship that further compares both slot numbers of living in, for example determine the higher master control borad 201 current main control board that should be of slot number, determine the lower master control borad of the slot number 202 current slave control board that should be, because two master control borads did not all reach main control board state or slave control board state, active and standby election module is separately determined the current active and standby switching that do not need to carry out.
For definite current master control borad 201 that should be main control board, the state that its active and standby election module 2011 can be adjusted current master control borad 201 is carried out corresponding preparation for being upgraded to master control board state for upgrading to main control board.At this moment, the active and standby switching management module 2012 of master control borad 201, when master control borad 201 is in the state that is upgraded to master control borad, open the functional interface module on this master control borad 201, finish the operation of load operation system and initialization expansion module on the master control borad, afterwards, the active and standby election module 2011 on the master control borad 201 can further be adjusted into the main control board state with master control borad 201, and this moment, embedded system can normally be moved.
Accordingly, for definite current master control borad 202 that should be slave control board, it is that the slave control board state is constant that its active and standby election module 2021 can keep this master control borad; Its active and standby switching management module 2022 can be finished the work of the operating system that loads master control borad 202, but can the open function interface module, and the not connected expansion module of master control borad 202 communicates.
As shown in Figure 3, artificial plug or hardware damage appear in second kind of situation, certain master control borad.
After the normal operation of embedded system, if artificially plug certain master control borad or hardware damage appears in certain master control borad, active and standby election module on another master control borad will monitor this situation, suppose that plug or hardware damage have appearred in master control borad 201, then at this moment, master control borad 202 was the slave control board state under active and standby election module 2021 on the master control borad 202 was known it, and master control borad 201 is jumped to by the main control board state and restarts or lost condition, at this moment, priority rule according to aforementioned default state, active and standby election module 2021 is determined that master control borad 202 is current and is should be main control board and need carry out active and standby switching, and then adjust master control borad 202 for being upgraded to the state of master control borad, finish the operation of loading expansion module in active and standby switching management module 2022 after, further adjust master control borad 202 and be the main control board state.
Jump to by the main control board state and restart or lost condition and master control borad 202 when being adjusted into the state of main control board when the active and standby election module 2011 of master control borad 201 gets access to master control borad 201, determine that master control borad 201 under self is current to should be slave control board and need carry out active and standby switching by the slave control board state; After master control borad 201 is finished the operation that restarts that resets, active and standby election module 2011 with master control borad under self by restarting or lost condition further is adjusted into the state of slave control board.When master control borad 201 is adjusted to the slave control board state, its active and standby switching management module 2012 can be finished the operation of the operating system that loads master control borad 201, but can not open the functional interface module of master control borad 201, the not connected expansion module of master control borad 201 of this moment communicates.
As shown in Figure 3, the third situation, certain master control borad go out active.
This situation and second kind of situation are similar, suppose that losing has appearred in master control borad 201, master control borad 202 can switch to main control board so, its active and standby election module 2021 can write down master control borad 201 for restarting or lost condition, because master control borad 201 has been lost the active and standby election module of its inside and the no longer generation effect of active and standby switching management module.
As shown in Figure 3, the 4th kind of situation, insert slave control board.
Suppose that current to have only a main control board be master control borad 201, when the insertion slave control board is master control borad 202, similar with first kind of situation, because the active and standby election module on the slave control board determines that the priority of the state (being the slave control board state behind the open state that powered on before this) of master control borad 202 all is lower than the state (state of main control board) of master control borad 201 and does not need to carry out active and standby switching, therefore, insert master control borad 202, not influence of state for master control borad 201, after master control borad 202 enters the slave control board state, load the operation of master control borad 202 operating systems, the functional interface module of not opening master control borad 202.
As shown in Figure 3, the 5th kind of situation, extract slave control board.
Suppose that master control borad 201 is main control board, master control borad 202 is a slave control board, in such cases, if master control borad 202 is pulled out, active and standby election module on the master control borad 201 knows that master control borad 201 is the main control board state, and master control borad 202 is for restarting or lost condition, and current master control borad 201 should be main control board and do not need to carry out active and standby switching, the state of master control borad 201 does not change, and does not do corresponding processing yet.Master control borad 202 is owing to be pulled out, and its active and standby election module and active and standby switching management module are no longer had an effect.
As shown in Figure 3, the 6th kind of situation, main control board and slave control board all occur unusually.
In this case, two master control borads are all restarted, and the processing procedure that it is concrete and above-mentioned first kind of situation are similar, do not repeat them here.
From the several frequently seen situation of above-mentioned operation for embedded system as can be seen, in the embedded system of the dual master control plate that the embodiment of the invention provides, no matter be the master control borad that is in the main control board state, still be in the master control borad of slave control board state, in the handoff procedure of its state, operating system on the master control borad and corresponding software all are ready at all times ready, in case need carry out active and standby switching, the master control borad that is in the slave control board state only needs the open function interface module, the corresponding expansion module of initialization can be finished the process that is switched to main control board by slave control board, can promptly take over original main control board and carry out normal business processing, service outage duration is shorter, can solve the problem that existing embedded system main control board occurs fault can not in time be recovered effectively.
Based on same inventive concept, the embodiment of the invention also provides a kind of backup method of embedded system, because the principle that this method is dealt with problems is similar to aforementioned a kind of master control borad and embedded system, therefore the enforcement of this method can repeat part and not give unnecessary details referring to the enforcement of this embedded system.
Particularly, the backup method of the embedded system that the embodiment of the invention provides, based on the concrete structure of aforementioned embedded system, as shown in Figure 4, this method comprises the steps:
S401, obtain this master control borad and the residing state of another master control borad;
S402, when this master control borad and/or another master control board state change, the height of the priority by two master control borad states of living in relatively getting access to is determined that this master control borad is current to should be main control board or slave control board and whether need to carry out active and standby switching;
S403, when needs carry out active and standby switching, finish by main control board switching to slave control board or switching to the operation of main control board by slave control board.
Further, this master control borad or the residing state of another master control borad comprise successively from high priority to low priority: the open state that powers on, restart or lost condition, slave control board state, be upgraded to master control board state and main control board state.
Further, among the above-mentioned steps S402, when getting access to this master control borad and another master control borad when being the slave control board state by the open state redirect that powers on, also comprise the slot number that reads this master control borad and another master control borad, by judging both height, determining that this master control borad is current should be main control board or slave control board, and need not carry out the step of active and standby switching.
Correspondingly, above-mentioned by judging the height of both slot numbers, determine also to comprise the steps: after the current step that should be main control board or slave control board of this master control borad
In that definite this master control borad is current when should be master control borad, adjusts this master control borad for being upgraded to master control board state, and finish the operation that loads its operating system and initialization expansion module; Further adjusting this master control borad is the main control board state; Or
In that definite this master control borad is current when should be slave control board, keeping this master control board state is that the slave control board state is constant and finish the operation that loads its operating system.
Further, among the above-mentioned steps S402, jump to and restart or during lost condition, determine that this master control borad is current to should be main control board and need carry out active and standby switching when to get access to this master control borad be slave control board state, another master control borad by the main control board state;
Correspondingly, among the above-mentioned steps S403, the step of carrying out active and standby switching comprises: adjusting this master control borad is the state that is upgraded to master control borad, and finishes the operation of initialization expansion module; Further adjusting this master control borad is the main control board state.
Further, among the above-mentioned steps S402, jump to by the main control board state and restart or lost condition when getting access to this master control borad, when another master control borad is adjusted into the state of main control board by the slave control board state, determine that this master control borad is current to should be slave control board and need carry out active and standby switching;
Among the above-mentioned steps S403, the step of carrying out active and standby switching comprises: after this master control borad is finished the operation that restarts that resets, this master control borad by restarting or lost condition is adjusted into the slave control board state, and is finished the operation that loads its operating system.
Further, among the above-mentioned steps S402, be the main control board state when getting access to this master control borad, another master control borad is jumped to by the slave control board state restarts or during lost condition, determines that this master control borad is current to should be main control board and do not need to carry out active and standby switching.
The master control borad that the embodiment of the invention provides, embedded system and backup method thereof, the mode that has adopted the dual master control plate to back up mutually, two master control borads that structure is identical are set in embedded system, any master control borad can realize obtaining self and the residing state of another master control borad, when self and/or another master control board state change, the height of the priority by self and another master control borad state of living in that relatively get access to, determine that current to should be main control board still be slave control board and whether need to carry out active and standby switching for self, and when needs carry out active and standby switching, carry out corresponding active and standby blocked operation, the processing mode of the existing embedded system main control board occurs fault of comparing, because two master control borads all have same structure and function, and can be implemented in when breaking down state variation, promptly switch to slave control board or switch to main control board by slave control board by main control board, feasible business can access reliably, recover in time, and it is embodied as originally also lower.
Further, the above-mentioned master control borad that the embodiment of the invention provides, the backup method of embedded system and embedded system, no matter which kind of state the dual master control plate is in separately, its operating system and software all are ready at all times ready, in case need carry out active and standby switching, the master control borad that is in the slave control board state only needs the open function interface module, the corresponding expansion module of initialization can be finished the process that is switched to main control board by slave control board, further improve slave control board and taken over the speed that original main control board is carried out normal business processing, reduce time of service interruption, more effectively solved the problem that existing embedded system main control board occurs fault can not in time be recovered.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (15)

1. a master control borad is characterized in that, comprising:
Active and standby election module, be used for obtaining self affiliated master control borad and the residing state of another master control borad of embedded system, when master control borad under self and/or described another master control board state change, the height of the priority by two master control borad states of living in relatively getting access to is determined that master control borad under self is current to should be main control board or for slave control board and whether need to carry out active and standby switching;
Active and standby switching management module is used for determining when needs carry out active and standby switching in described active and standby election module, finishes by main control board to switch to slave control board or switched to the operation of main control board by slave control board.
2. master control borad as claimed in claim 1, it is characterized in that, described active and standby election module specifically is used to obtain master control borad or the residing open state that powers on of described another master control borad under self, restarts or lost condition, slave control board state, is upgraded to master control board state or main control board state; Above-mentioned each state is followed successively by from low priority to high priority: the open state that powers on, restart or lost condition, slave control board state, be upgraded to master control board state and main control board state.
3. master control borad as claimed in claim 2, it is characterized in that, described active and standby election module, specifically be used for when getting access to that master control borad and described another master control borad are the slave control board state by the open state redirect that powers under self, read the slot number of master control borad and described another master control borad under self, by judging both height, determine self affiliated current main control board or slave control board of should be of master control borad; Master control borad is current under determining self when should be master control borad, adjust under self master control borad for being upgraded to master control board state, and after active and standby switching management module is finished the operation of load operation system and initialization expansion module under the further adjustment self master control borad be the main control board state; Or master control borad is current under determining self when should be slave control board, keeps that master control borad is the slave control board state under self;
Described active and standby switching management module is further used for that master control borad is when being upgraded to the state of master control borad under self, finishes the operating system that loads master control borad under self and the operation of initialization expansion module; Or when master control borad is the slave control board state under self, finish the operation that loads the operating system of master control borad under self.
4. master control borad as claimed in claim 2, it is characterized in that, described active and standby election module, specifically be used for jumping to and restarting or during lost condition when to get access under self master control borad be slave control board state, described another master control borad by the main control board state, determining that master control borad is current under self should be main control board and need carry out active and standby switching, and adjust that master control borad is the state that is upgraded to master control borad under self, after finishing the operation that loads expansion module in described active and standby switching management module, adjust further that master control borad is the main control board state under self;
Described active and standby switching management module is further used for finishing the operation of initialization expansion module when master control borad is in the state that is upgraded to master control borad under self.
5. master control borad as claimed in claim 2, it is characterized in that, described active and standby election module, master control borad is jumped to by the main control board state and restarts or lost condition under specifically being used for getting access to, when described another master control borad is adjusted into the state of main control board by the slave control board state, after described active and standby switching management module is finished the operation that restarts that resets, determine the current slave control board that should be of master control borad under self, with master control borad under self by restarting or lost condition is adjusted into the slave control board state;
Described active and standby switching management module is further used under self master control borad and is jumped to by the main control board state and restart or during lost condition the operation that finishing resets restarts; And under self master control borad by restarting or lost condition when being adjusted into the slave control board state, finish the operation that loads the operating system of master control borad under self.
6. master control borad as claimed in claim 2, it is characterized in that, described active and standby election module, be used for specifically that master control borad is the main control board state under self when getting access to, described another master control borad is jumped to by the slave control board state restarts or during lost condition, determines that master control borad is current under self to should be main control board and do not need to carry out active and standby switching.
7. as each described master control borad of claim 2-6, it is characterized in that described active and standby election module and active and standby switching management module realize by CPLD.
8. an embedded system comprises at least one expansion module, it is characterized in that, also comprises: two as each described master control borad of claim 1-6, and these two master control borads are connected with each expansion module respectively.
9. the backup method of an embedded system is characterized in that, comprising:
Obtain this master control borad and the residing state of another master control borad;
When this master control borad and/or another master control board state changed, the height of the priority by two master control borad states of living in relatively getting access to was determined that this master control borad is current to should be main control board or for slave control board and whether need to carry out active and standby switching;
When needs carry out active and standby switching, finish by main control board switching to slave control board or switching to the operation of main control board by slave control board.
10. method as claimed in claim 9 is characterized in that, described state comprises successively from high priority to low priority: the open state that powers on, restart or lost condition, slave control board state, be upgraded to master control board state and main control board state.
11. method as claimed in claim 10, it is characterized in that, when getting access to this master control borad and another master control borad when being the slave control board state by the open state redirect that powers on, describedly determine that master control borad under self is current and should be main control board or for slave control board and whether need to carry out active and standby switching, also comprise:
Read the slot number of this master control borad and another master control borad,, determine that this master control borad is current to should be main control board or slave control board, and need not carry out active and standby switching by judging both height.
12. method as claimed in claim 11 is characterized in that, by judging the height of both slot numbers, determines also to comprise after the current step that should be main control board or slave control board of this master control borad:
In that definite this master control borad is current when should be master control borad, adjusts this master control borad for being upgraded to master control board state, and finish the operation that loads its operating system and initialization expansion module; Further adjusting this master control borad is the main control board state; Or
In that definite this master control borad is current when should be slave control board, keeping this master control board state is that the slave control board state is constant and finish the operation that loads its operating system.
13. method as claimed in claim 10, it is characterized in that, it is described when this master control borad and/or another master control board state change, the height of the priority by two current states of living in of master control borad relatively getting access to, whether should be main control board or slave control board and need carry out active and standby switching, comprising if determining that this master control borad is current:
Jump to and restart or during lost condition when to get access to this master control borad be slave control board state, another master control borad by the main control board state, determine that this master control borad is current to should be main control board and need carry out active and standby switching;
Described finishing by main control board switches to slave control board or switches to the operation of main control board by slave control board, comprising:
Adjusting this master control borad is the state that is upgraded to master control borad, and finishes the operation of initialization expansion module;
Further adjusting this master control borad is the main control board state.
14. method as claimed in claim 10, it is characterized in that, when this master control borad and/or another master control board state change, the height of the priority by two current states of living in of master control borad relatively getting access to, whether should be main control board or slave control board and need carry out active and standby switching, comprising if determining that this master control borad is current:
Jump to by the main control board state and restart or lost condition when getting access to this master control borad, when another master control borad is adjusted into the state of main control board by the slave control board state, determine that this master control borad is current to should be slave control board and need carry out active and standby switching;
Described finishing by main control board switches to slave control board or switches to the operation of main control board by slave control board, comprising:
After this master control borad is finished the operation that restarts that resets, this master control borad by restarting or lost condition is adjusted into the slave control board state, and is finished the operation that loads its operating system.
15. method as claimed in claim 10, it is characterized in that, when this master control borad and/or another master control board state change, the height of the priority by two current states of living in of master control borad relatively getting access to, whether should be main control board or slave control board and need carry out active and standby switching, comprising if determining that this master control borad is current:
When getting access to this master control borad is the main control board state, and another master control borad is jumped to by the slave control board state restarts or during lost condition, determines that this master control borad is current to should be main control board and do not need to carry out active and standby switching.
CN 201010213290 2010-06-18 2010-06-18 Main control board, embedded system and backup method for embedded system Pending CN101882097A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010213290 CN101882097A (en) 2010-06-18 2010-06-18 Main control board, embedded system and backup method for embedded system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010213290 CN101882097A (en) 2010-06-18 2010-06-18 Main control board, embedded system and backup method for embedded system

Publications (1)

Publication Number Publication Date
CN101882097A true CN101882097A (en) 2010-11-10

Family

ID=43054115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010213290 Pending CN101882097A (en) 2010-06-18 2010-06-18 Main control board, embedded system and backup method for embedded system

Country Status (1)

Country Link
CN (1) CN101882097A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073562A (en) * 2010-12-31 2011-05-25 山石网科通信技术(北京)有限公司 Hardware-based main/standby switch arbitration method
WO2012083669A1 (en) * 2010-12-23 2012-06-28 中兴通讯股份有限公司 Method and apparatus for switching between primary-standby devices based on access gateway
CN104639867A (en) * 2013-11-14 2015-05-20 中兴通讯股份有限公司 Method and system for resuming video conferences
CN105391629A (en) * 2014-09-05 2016-03-09 杭州迪普科技有限公司 Resource backup method and device
CN105429902A (en) * 2015-11-10 2016-03-23 上海斐讯数据通信技术有限公司 Double-main-control-board network system
CN105912360A (en) * 2016-04-07 2016-08-31 乐视控股(北京)有限公司 Vehicle-mounted system expansion board, vehicle-mounted system and application method thereof
CN105959142A (en) * 2016-05-03 2016-09-21 中国铁路总公司 High reliability and security intelligent ethernet communication board
CN106612519A (en) * 2015-10-27 2017-05-03 大唐移动通信设备有限公司 Single board backup method and device for radio network controller (RNC)
CN106936646A (en) * 2017-04-24 2017-07-07 新华三技术有限公司 The determination method and device of main control board
CN107430543A (en) * 2015-03-24 2017-12-01 三菱电机株式会社 Information processor
CN108363636A (en) * 2018-03-14 2018-08-03 中国人民解放军国防科技大学 Embedded fault-tolerant system and fault-tolerant method thereof
CN108845971A (en) * 2018-06-14 2018-11-20 国蓉科技有限公司 Multiprocessor plate reconfiguration system and method
CN109347679A (en) * 2018-11-06 2019-02-15 深圳市风云实业有限公司 Dual master control plate hot standby switch method, apparatus, access gateway and safety network system
CN110231961A (en) * 2019-06-27 2019-09-13 杭州迪普信息技术有限公司 A kind of control method and system that master control borad is restarted
CN111830856A (en) * 2019-04-22 2020-10-27 中车株洲电力机车研究所有限公司 Train master control system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060092830A1 (en) * 2003-04-09 2006-05-04 Hong Chen Inter-card channel protection method in wavelength division multiplexed system
CN101119208A (en) * 2007-08-28 2008-02-06 福建星网锐捷网络有限公司 Switchboard, service processing board and switching board
CN101145895A (en) * 2007-09-20 2008-03-19 中兴通讯股份有限公司 Master/slave device switching method
CN101291203A (en) * 2008-06-04 2008-10-22 中兴通讯股份有限公司 Master control board switching method intensifying management of expanding sub-support in SDH device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060092830A1 (en) * 2003-04-09 2006-05-04 Hong Chen Inter-card channel protection method in wavelength division multiplexed system
CN101119208A (en) * 2007-08-28 2008-02-06 福建星网锐捷网络有限公司 Switchboard, service processing board and switching board
CN101145895A (en) * 2007-09-20 2008-03-19 中兴通讯股份有限公司 Master/slave device switching method
CN101291203A (en) * 2008-06-04 2008-10-22 中兴通讯股份有限公司 Master control board switching method intensifying management of expanding sub-support in SDH device

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012083669A1 (en) * 2010-12-23 2012-06-28 中兴通讯股份有限公司 Method and apparatus for switching between primary-standby devices based on access gateway
CN102073562A (en) * 2010-12-31 2011-05-25 山石网科通信技术(北京)有限公司 Hardware-based main/standby switch arbitration method
CN104639867A (en) * 2013-11-14 2015-05-20 中兴通讯股份有限公司 Method and system for resuming video conferences
CN105391629A (en) * 2014-09-05 2016-03-09 杭州迪普科技有限公司 Resource backup method and device
CN105391629B (en) * 2014-09-05 2019-01-22 杭州迪普科技股份有限公司 A kind of method and device of resource backup
CN107430543A (en) * 2015-03-24 2017-12-01 三菱电机株式会社 Information processor
CN107430543B (en) * 2015-03-24 2018-11-23 三菱电机株式会社 Information processing unit
US10108499B2 (en) 2015-03-24 2018-10-23 Mitsubishi Electric Corporation Information processing device with watchdog timer
CN106612519B (en) * 2015-10-27 2019-11-22 大唐移动通信设备有限公司 A kind of single board backup method and device of radio network controller (RNC) equipment
CN106612519A (en) * 2015-10-27 2017-05-03 大唐移动通信设备有限公司 Single board backup method and device for radio network controller (RNC)
CN105429902A (en) * 2015-11-10 2016-03-23 上海斐讯数据通信技术有限公司 Double-main-control-board network system
CN105429902B (en) * 2015-11-10 2018-07-31 上海斐讯数据通信技术有限公司 A kind of dual master control plate network system
CN105912360A (en) * 2016-04-07 2016-08-31 乐视控股(北京)有限公司 Vehicle-mounted system expansion board, vehicle-mounted system and application method thereof
CN105959142B (en) * 2016-05-03 2020-09-04 中国铁路总公司 High-reliability and high-safety intelligent Ethernet communication board
CN105959142A (en) * 2016-05-03 2016-09-21 中国铁路总公司 High reliability and security intelligent ethernet communication board
CN106936646A (en) * 2017-04-24 2017-07-07 新华三技术有限公司 The determination method and device of main control board
CN106936646B (en) * 2017-04-24 2019-12-06 新华三技术有限公司 method and device for determining main master control board
CN108363636A (en) * 2018-03-14 2018-08-03 中国人民解放军国防科技大学 Embedded fault-tolerant system and fault-tolerant method thereof
CN108363636B (en) * 2018-03-14 2022-04-19 中国人民解放军国防科技大学 An embedded fault-tolerant system and its fault-tolerant method
CN108845971A (en) * 2018-06-14 2018-11-20 国蓉科技有限公司 Multiprocessor plate reconfiguration system and method
CN109347679A (en) * 2018-11-06 2019-02-15 深圳市风云实业有限公司 Dual master control plate hot standby switch method, apparatus, access gateway and safety network system
CN111830856A (en) * 2019-04-22 2020-10-27 中车株洲电力机车研究所有限公司 Train master control system
CN111830856B (en) * 2019-04-22 2024-03-01 中车株洲电力机车研究所有限公司 Train master control system
CN110231961A (en) * 2019-06-27 2019-09-13 杭州迪普信息技术有限公司 A kind of control method and system that master control borad is restarted

Similar Documents

Publication Publication Date Title
CN101882097A (en) Main control board, embedded system and backup method for embedded system
CN101329632B (en) Method and apparatus for starting CPU by BOOT
US9600370B2 (en) Server system
CN103136012B (en) Computer system and update method of basic input-output system thereof
CN101908008B (en) Device and method for switching BIOS (Basic Input/Output System)
CN101271332B (en) Compact integrated redundancy controller and control method thereof
CN105700969A (en) Server system
CN100492305C (en) Fast restoration method of computer system and apparatus
CN102855146A (en) Firmware updating system and method
CN103077060A (en) Method, device and system for switching master basic input/output system (BIOS) and spare BIOS
CN102902518A (en) Active USB (Universal Serial Bus) equipment and operating mode switching method thereof
CN102520979A (en) Boot program backup method and Boot program backup device
CN108427885B (en) Basic input output system updating method and device
CN105468390A (en) BOOT online upgrade apparatus and method
CN102708027A (en) Method and system for avoiding outage of communication device
CN101286738A (en) Method, device and system for loading logic files based on equipment information
CN104917700A (en) Management unit and exchange unit dual-redundancy switch
CN212541329U (en) Dual-redundancy computer equipment based on domestic Loongson platform
CN102508676A (en) Startup method and device of embedded system
CN111124749A (en) Method and system for automatically repairing BMC (baseboard management controller) system of tightly-coupled high-performance computer system
CN101436097B (en) Electronic device and wake-up method thereof
EP2829974A2 (en) Memory dump method, information processing apparatus and program
CN111143131B (en) System for backup hot start of operating system
CN1318964C (en) Reset information saving method for communication equipment
CN201047943Y (en) Fast recovery equipment of computer system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101110