CN101841428A - System hot standby processing method, management board and communication equipment - Google Patents

System hot standby processing method, management board and communication equipment Download PDF

Info

Publication number
CN101841428A
CN101841428A CN 201010168091 CN201010168091A CN101841428A CN 101841428 A CN101841428 A CN 101841428A CN 201010168091 CN201010168091 CN 201010168091 CN 201010168091 A CN201010168091 A CN 201010168091A CN 101841428 A CN101841428 A CN 101841428A
Authority
CN
China
Prior art keywords
state
catalogue
main management
self
state summary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 201010168091
Other languages
Chinese (zh)
Other versions
CN101841428B (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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN2010101680911A priority Critical patent/CN101841428B/en
Publication of CN101841428A publication Critical patent/CN101841428A/en
Application granted granted Critical
Publication of CN101841428B publication Critical patent/CN101841428B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a system hot standby processing method, a management board and communication equipment. The method comprises the following steps that a slave management board maintains and processes a self state abstract content generated according to the self state and the acquired state abstract content of a main management board; the slave management board judges whether the self state abstract content is consistent with the acquired state abstract content of the main management board or not according to preset trigger conditions; and the slave management board synchronizes the self state with the state of the main management board when the self state abstract content is inconsistent with the acquired state abstract content of the main management board. The management board comprises a maintenance module, a judgment module and a synchronization module. The communication equipment comprises the main management board and the slave management board, wherein the slave management board comprises the management board. The embodiment reduces the communication among boards in the hot standby process to maximum extent, increases the success rate for switching and has higher efficiency.

Description

System hot standby processing method, management board and communication apparatus
Technical field
The present invention relates to the data communication technology field, relate in particular to a kind of system hot standby processing method, management board and communication apparatus.
Background technology
In the data communication field, major product comprises router and switch, owing to have the lot of data message in the backbone network, then all there are the possibility of inefficacy in router or switch.Wherein, core router or switch often dispose redundant hardware and software resource, can switch on the corresponding resource backup after active router or switch inefficacy.Yet present most product need restart the route control process on the resource backup, as Border Gateway Protocol (Border GatewayProtocol after switching; Hereinafter to be referred as: BGP), SPF (Open Short Path First; Hereinafter to be referred as: OSPF), the multicast routing protocol of protocol-independent etc., connect with neighbours again and carry out route and calculate, this will cause the lot of data message to be dropped in handoff procedure, network topology changes and phenomenon such as route oscillation occurs.Therefore, uninterrupted route (Non-Stop Routing; Hereinafter to be referred as: NSR) and uninterrupted forwarding (Non-Stop Forwarding; Hereinafter to be referred as: NSF) technology is arisen at the historic moment, in network behind router or the switch single point failure, make resource backup to take over seamlessly, maintenance is connected and route switching with the peripheral adjacent router, and in handoff procedure, keep data forwarding, so that single point failure is reduced to minimum degree to the negative effect of network.
In the prior art, the scheme that realizes the NSR/NSF technology comprise that agreement is restarted slowly, Hardware Mirroring, system information Hot Spare and agreement mirror image etc.Agreement is therein restarted in the scheme slowly, and after the route control process of active router lost efficacy, active router still can be transmitted data message, and restarts route control process in the near future in inefficacy.Neighbor router is judging that will give tacit consent to it after this active router lost efficacy can recover rapidly, and continues to transmit data message to it, and does not carry out data redirection.This scheme can be limited in the influence that single point failure caused of network in the relatively little scope, can avoid network concussion and loss of data.
Yet, in realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art: neighbor router can't judge that active router is " soft start " or " hard reboot ", when active router lost efficacy owing to some expendable bust, then its neighbor router is still constantly transmitted data message to it, then causes data message to be lost; And heat needs to carry out communication between a large amount of plates in the process fully.
Summary of the invention
The invention provides a kind of system hot standby processing method, management board and communication apparatus, in order to solve communication problem between a large amount of plate that the NSR/NSF technology is produced in the prior art, reduce communication between the hot plate that is equipped with in the process to greatest extent, increase success rate for switching, have higher applicability and efficient.
The invention provides a kind of system hot standby processing method, comprising:
From management board to generate according to oneself state self the State Summary catalogue and the State Summary catalogue of the main management plate that obtains safeguard processing;
Whether consistent with the State Summary catalogue of described main management plate from management board according to described self the State Summary catalogue of preset trigger condition judgment;
When described self the State Summary catalogue and the State Summary catalogue of described main management plate when inconsistent, from management board with described self state and the state of described main management plate carry out synchronously.
The invention provides a kind of management board, comprising:
Maintenance module, be used for to generate according to oneself state self the State Summary catalogue and the State Summary catalogue of the main management plate that obtains safeguard processing;
Whether judge module is used for according to described self the State Summary catalogue of preset trigger condition judgment consistent with the State Summary catalogue of described main management plate;
Synchronization module is used for judged result when described judge module and is described self the State Summary catalogue and the State Summary catalogue of described main management plate when inconsistent, with described self state and the state of described main management plate carry out synchronously.
Present embodiment also provides a kind of communication apparatus, comprises the main management plate and from management board, describedly comprises above-mentioned management board from management board.
System hot standby processing method of the present invention, management board and communication apparatus, by the State Summary catalogue of self and the State Summary catalogue of main management plate being safeguarded from management board, and it is whether consistent with the State Summary catalogue of main management plate according to the State Summary catalogue of preset trigger condition judgment self, according to judged result the state of self and the state of main management plate are carried out synchronously, realization is handled the system hot standby on principal and subordinate's management board, solved communication problem between a large amount of plate that the NSR/NSF technology is produced in the prior art, reduced communication between the hot plate that is equipped with in the process to greatest extent, increase success rate for switching, had higher efficient.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of system hot standby processing method embodiment one of the present invention;
Fig. 2 is the flow chart of system hot standby processing method embodiment two of the present invention;
Fig. 3 is the schematic diagram of the State Summary catalogue among the system hot standby processing method embodiment two of the present invention;
Fig. 4 is the structural representation of management board embodiment one of the present invention;
Fig. 5 is the structural representation of management board embodiment two of the present invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is the flow chart of system hot standby processing method embodiment one of the present invention, and as shown in Figure 1, present embodiment provides a kind of system hot standby processing method, can specifically comprise the steps:
Step 101, from management board to generate according to oneself state self the State Summary catalogue and the State Summary catalogue of the main management plate that obtains safeguard processing;
Whether step 102 is consistent with the State Summary catalogue of described main management plate according to described self the State Summary catalogue of preset trigger condition judgment from management board;
Step 103, when described self the State Summary catalogue and the State Summary catalogue of described main management plate when inconsistent, from management board with described self state and the state of described main management plate carry out synchronously.
Present embodiment provides a kind of system hot standby processing method, by the State Summary catalogue of self and the State Summary catalogue of main management plate being safeguarded from management board, and it is whether consistent with the State Summary catalogue of main management plate according to the State Summary catalogue of preset trigger condition judgment self, when described self the State Summary catalogue and the State Summary catalogue of described main management plate when inconsistent, from management board the state of self and the state of main management plate are carried out synchronously, realization is handled the system hot standby on principal and subordinate's management board, solved communication problem between a large amount of plate that the NSR/NSF technology is produced in the prior art, reduced communication between the hot plate that is equipped with in the process to greatest extent, increase success rate for switching, had higher efficient.
Fig. 2 is the flow chart of system hot standby processing method embodiment two of the present invention, and as shown in Figure 2, present embodiment provides a kind of system hot standby processing method, can specifically comprise the steps:
Step 201 is divided according to state level and priority the internal state of self respectively from management board and main management plate, and generates respectively from the State Summary catalogue of management board and the State Summary catalogue of main management plate.
In the present embodiment, main management plate and adopt the mode of synchronous operation, i.e. main management plate and all receive protocol massages from neighbours from management board from management board.This step generates corresponding State Summary catalogue for principal and subordinate's management board respectively according to self state, particularly, the main management plate is divided according to state level and priority main management intralamellar part state, make up the State Summary catalogue of main management plate, from management board main management intralamellar part state is divided according to state level and priority, made up State Summary catalogue from management board.Wherein, the content of State Summary catalogue can comprise the State Summary value of state index and each state index correspondence.This step can adopt digest algorithm that different state informations is converted into one section condition code, i.e. State Summary value, and digest algorithm herein can specifically adopt Message Digest Algorithm 5 (Message Digest Algorithm 5; Hereinafter to be referred as MD5) algorithm, perhaps adopt verification and (checksum) digest algorithm etc.In this step, principal and subordinate's management board is when generating each self-corresponding State Summary catalogue, can divide internal state separately according to state level and priority, make up the state catalogue with this, each state directory entry is represented its summary status of all subitems down respectively.In the present embodiment, the State Summary value of every grade of node is the State Summary value sum of the next stage child node of described node in the State Summary catalogue.State Summary catalogue in the present embodiment is a tree structure, forms hierarchical structure by the State Summary catalogue with the main management plate or from the state of management board; From the root node of State Summary catalogue, the state of root node reflects whole state of a process; The State Summary value sum of all child nodes of root node next stage is the State Summary value of this root node; By that analogy, the State Summary value of every grade of node is the summation of State Summary value of the next stage child node of this node.When carrying out the contrast of two State Summary catalogues, by one-level level comparison, can find the nonsynchronous node of state of minimum zone, the state of this node correspondence is carried out can solving nonsynchronous situation synchronously.
In order to be illustrated more clearly in the generative process of State Summary catalogue in the present embodiment, present embodiment is with (the Open Shortest Path First that generates that Open Shortest Path First; Hereinafter to be referred as: OSPF) the State Summary directory process of Routing Protocol module is that example describes.Fig. 3 is the schematic diagram of the State Summary catalogue among the system hot standby processing method embodiment two of the present invention, as shown in Figure 3, the state of this OSPF Routing Protocol module eight grades have been divided, i.e. OSPF top-level root catalogue, OSPF example list, OSPF example, OSPFarea, ospf interface tabulation, ospf interface and ospf neighbor and status list thereof.Wherein, OSPF top-level root catalogue has been represented whole OSPF module, stores the State Summary of the whole OSPF module of representative under this catalogue.The next stage summary of OSPF top-level root catalogue is OSPF example list summary, the OSPF example list is being represented the state information summary status summary of OSPF instance number and each example, and this grade State Summary is represented the summary that gathers of OSPF example 1, OSPF example 2 and 3 three example state summaries of OSPF example.Wherein, the OSPF example is the entity of independent operating ospf protocol logically, is similar to independent O SPF entity physically.By that analogy, the subordinate of OSPF example list summary is respectively the State Summary of each OSPF example.And the next stage of each OSPF example summary is ospf area (area) summary, and this grade OSPF area summary is represented the state of OSPF area 0, OSPF area 1 and OSPF area 2.Wherein, OSPF area is the area concept that defines in the ospf protocol, is used to divide ospf network, to reach the effect of stratification ospf network.The next stage summary of OSPF area is ospf interface tabulation summary, and this ospf interface list state summary is represented the state of ospf interface 1, ospf interface 2 and ospf interface 3.Wherein, ospf interface refers to participate in the logic interfacing of ospf protocol operation.And the next stage summary of ospf interface tabulation is each ospf interface State Summary, and each ospf interface State Summary is represented the state of each ospf interface respectively.At last, ospf neighbor and status list thereof summary is represented the neighbours under the ospf interface and the state information of status list thereof etc.Wherein, ospf neighbor refers to the ospf adjacency peer-to-peer found on ospf interface.
Step 202, from management board to generate according to oneself state self the State Summary catalogue and the State Summary catalogue of the main management plate that obtains safeguard processing.
Main management plate in the present embodiment only is responsible for generating the State Summary catalogue of self, i.e. the State Summary catalogue of main management plate in running; And from management board except the State Summary catalogue that be responsible for to generate self, also obtain the State Summary catalogue of main management plate simultaneously.The main management plate sends to the State Summary catalogue of this main management plate from management board after generating the State Summary catalogue of main management plate according to the state of main management plate.From management board to obtain self the State Summary catalogue and the State Summary catalogue of main management plate safeguard processing, promptly preserving the State Summary catalogue of self and the State Summary catalogue of main management plate simultaneously from management board this locality.
Step 203, whether consistent with the State Summary catalogue of described main management plate from management board according to described self the State Summary catalogue of preset trigger condition judgment, if, then return execution in step 202, otherwise execution in step 204.
In the present embodiment, main management plate and adopt the mode of synchronous operation from management board, promptly main management plate and all receive protocol massages from neighbours from management board is then similar with the main management plate from management board, also can obtain correct external information.In theory, if the main management plate with obtain identical input information from management board, and adopt the mode of synchronous operation to move, then output result of Chan Shenging and state are also with identical.Yet, because main management plate and can't reach in full accord the ideal from the sequential of management board inside and ambient conditions, may exist certain data transmit-receive to postpone, as the main management plate and from time of management board receiving data packets may be inequality, from management board the inconsistent situation of state with the main management plate appears probably running then.Therefore, present embodiment is from State Summary catalogue and the State Summary catalogue of main management plate when safeguarding of management board to self, come the State Summary catalogue of self and the State Summary catalogue of main management plate are compared according to the preset trigger condition from management board, judge that the two is whether consistent, find the main management plate and from the inconsistent situation of the state of management board with this.
Particularly, the preset trigger condition can be specially when detect described self State Summary catalogue from management board and change in the present embodiment, maybe when the State Summary catalogue that receive the described main management plate that described main management plate sends from management board.Be that this step can be specially when detecting described self State Summary catalogue from management board and change, judge whether the State Summary catalogue of self is consistent with the State Summary catalogue of main management plate; If consistent with the State Summary catalogue of main management plate from the State Summary catalogue of management board self, then return execution in step 202, continue the State Summary catalogue of self and the State Summary catalogue of main management plate are safeguarded; If inconsistent from the State Summary catalogue of the State Summary catalogue of management board self and main management plate, then execution in step 204, start a synchro timer.Perhaps be specially when receiving the State Summary catalogue of the described main management plate that described main management plate sends from management board, judge whether the State Summary catalogue of self is consistent with the State Summary catalogue of main management plate; If consistent with the State Summary catalogue of main management plate, then return execution in step 202 from the State Summary catalogue of management board self; If inconsistent from the State Summary catalogue of the State Summary catalogue of management board self and main management plate, then execution in step 204, start a synchro timer.
Step 204 starts synchro timer from management board.
In the present embodiment, main management plate and from having certain state delay between the management board receives certain protocol massages earlier as the main management plate, causes the state of main management plate that change has taken place; And do not receive this protocol massages simultaneously from management board, and its this protocol massages that in time of delay, is untreated, then the state from management board does not change.Perhaps earlier certain protocol massages is handled, and upgraded the State Summary catalogue of self from management board, and main management plate this message that also is untreated, its state does not change.This shows main management plate and State Summary catalogue inconsistent temporarily that may cause principal and subordinate's management board from the state delay between the management board.For fear of main management plate and state delay from existing between the management board, if present embodiment is through judging from the State Summary catalogue of the State Summary catalogue of management board self and main management plate when inconsistent, start a synchro timer from management board, postpone a period of time by synchro timer and carry out state synchronized again.Specifically can be in advance the timing of synchro timer be set according to the main management plate and from the state delay time between the management board.
Step 205 judges from management board whether synchro timer is overtime, if then execution in step 208, otherwise execution in step 206.
, after starting synchro timer, the timing of this synchro timer is safeguarded from management board, judged whether this synchro timer is overtime.Within the timing of synchro timer, promptly when judging that from management board synchro timer is not overtime, then execution in step 206, and it is consistent with the State Summary catalogue of described main management plate to continue to judge whether to detect described self State Summary catalogue from management board; When the timing of synchro timer arrives, when promptly synchro timer was overtime, then execution in step 208, with described self state and the state of described main management plate carry out synchronously.
Step 206, it is consistent with the State Summary catalogue of described main management plate to judge whether to detect described self State Summary catalogue from management board, if then execution in step 207, otherwise continues execution in step 205.
Before synchro timer is overtime, continue to judge that from management board the State Summary catalogue that whether detects self in timing is consistent with the State Summary catalogue of main management plate.If detecting the State Summary catalogue of self in timing becomes consistent from management board again with the State Summary catalogue of main management plate, then execution in step 207, cancel this synchro timer, and cancellation is to described self the state synchronization processing of state and described main management plate, otherwise continue execution in step 205, overtime up to the timing of this synchro timer.If it is consistent that the State Summary catalogue that does not detect self from management board in timing and the State Summary catalogue of main management plate become, then with described self state and the state of described main management plate carry out synchronously.
Step 207 is cancelled described synchro timer from management board, and cancellation is to described self the state synchronization processing of state and described main management plate.
Before synchro timer is overtime, when the State Summary catalogue that detects self from management board in timing and the State Summary catalogue of main management plate become again when consistent, cancel described synchro timer from management board, and cancellation is to described self the state synchronization processing of state and described main management plate, so just, avoided from the state synchronized between management board and the main management plate, eliminated the main management plate and from the state delay between the management board.
Step 208, from management board with described self state and the state of described main management plate carry out synchronously.
When inconsistent from the State Summary catalogue of the State Summary catalogue of management board self and described main management plate, and the synchro timer that starts is overtime, and the State Summary catalogue that does not detect self from management board is consistent with the State Summary catalogue of main management plate, then from management board with described self state and the state of described main management plate carry out synchronously.Usually, if principal and subordinate's management board has on all four input, then their final states are also with unanimity, thus the synchro timer in the present embodiment always is in startup, in the repetitive process cancelling, cancel, start.Yet, after starting synchro timer, as if the inconsistent situation that the follow-up operation process, can't eliminate this state from management board, then receive the state information of managing independently plate from management board, and according to the state information of main management plate with self state synchronized to the state of main management plate, be consistent with the state of guaranteeing principal and subordinate's management board.
In the present embodiment, because the message of principal and subordinate's management board input is identical, the state of the two generation also is consistent in theory, do not need to carry out restorative synchronous, communication in this process between principal and subordinate's management board mainly is the synchronous communication of state catalogue summary, the traffic of its generation is very little, does not influence the operation of main management plate basically, and its efficient can not reduce yet.In case the nonsynchronous situation of master slave mode takes place, carry out state information when synchronous as long as carry out synchronously to nonsynchronous state content takes place.Such as ospf protocol, make in mode shown in Figure 3 and to build the state catalogue, suppose that other state is all consistent, and only be that neighbor list and state thereof under certain interface is unlikely, so as long as carry out synchronously at neighbor list this interface under and state thereof, the required communication information amount of this synchronizing process is just very little.The technical scheme that the complete heat of in the prior art other is equipped with, do not move from management board, do not receive protocol massages yet, all switching take place information that the back relied on all by the main management plate to sending from management board, it is huge that it keeps the required amount of information of operation, may cause the congested of communication between plate, and the adverse consequencess such as operational efficiency reduction of route protocol module on the main management plate.And, will postpone could obtain for a long time to switch the required data message in back from management board if caused between plate communication congested, this has just increased the mortality that switches when taking place.This shows that present embodiment can reduce communication between the hot plate that is equipped with in the process to greatest extent than the scheme of prior art, increases principal and subordinate's management board success rate for switching.In addition, in the present embodiment, for real work main management plate, under the situation of having opened the NSR function, the main management plate only carries out the generation and synchronously of the State Summary catalogue of self generally speaking, can not produce a large amount of cpu resource consumption like this, and do not need block type with data sync to from management board, the operational efficiency of main management can not reduce like this, so present embodiment has higher efficient.
Present embodiment provides a kind of system hot standby processing method, by the State Summary catalogue of self and the State Summary catalogue of main management plate being safeguarded from management board, and it is whether consistent with the State Summary catalogue of main management plate according to the State Summary catalogue of preset trigger condition judgment self, according to judged result the state of self and the state of main management plate are carried out synchronously, realization is handled the system hot standby on principal and subordinate's management board, solved communication problem between a large amount of plate that the NSR/NSF technology is produced in the prior art, reduced communication between the hot plate that is equipped with in the process to greatest extent, increase success rate for switching, had higher efficient.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 4 is the structural representation of management board embodiment one of the present invention, and as shown in Figure 4, present embodiment provides a kind of management board, can specifically carry out each step among the said method embodiment one, repeats no more herein.Particularly, the management board that provides of present embodiment can comprise maintenance module 401, judge module 402 and synchronization module 403.Wherein, maintenance module 401 be used for to generate according to oneself state self the State Summary catalogue and the State Summary catalogue of the main management plate that obtains safeguard processing.Whether judge module 402 is used for according to described self the State Summary catalogue of preset trigger condition judgment consistent with the State Summary catalogue of described main management plate.It is described self the State Summary catalogue and the State Summary catalogue of described main management plate when inconsistent that synchronization module 403 is used for judged result when judge module 402, with described self state and the state of described main management plate carry out synchronously.
Fig. 5 is the structural representation of management board embodiment two of the present invention, and as shown in Figure 5, present embodiment provides a kind of management board, can specifically carry out each step among the said method embodiment two, repeats no more herein.Particularly, the management board that present embodiment provides is on the basis of above-mentioned embodiment shown in Figure 4, and wherein, judge module 402 can specifically comprise first judging unit 412 and second judging unit 422.Wherein, first judging unit 412 is used for when detecting described self State Summary catalogue and change, and judges whether described self State Summary catalogue is consistent with the State Summary catalogue of described main management plate.Second judging unit 422 is used for when receiving the State Summary catalogue of the described main management plate that described main management plate sends, and judges whether described self State Summary catalogue is consistent with the State Summary catalogue of described main management plate.
Further, synchronization module 403 can comprise specifically that timer start unit 413, timer cancel unit 423 and lock unit 433.Wherein, timer start unit 413 is used for starting synchro timer when described self the State Summary catalogue and the State Summary catalogue of described main management plate when inconsistent from management board.Timer is cancelled unit 423 and was used for before described synchro timer is overtime, if detect described self the State Summary catalogue of State Summary catalogue and described main management plate when consistent, then cancel described synchro timer, and cancellation is to described self the state synchronization processing of state and described main management plate.Lock unit 433 is used for after described synchro timer is overtime, with described self state and the state of described main management plate carry out synchronously.
Further, the management board that present embodiment provides can also comprise acquisition module 501, acquisition module 501 is used for the internal state of self is divided according to state level and priority, obtain described self State Summary catalogue, and obtain the State Summary catalogue of the described main management plate that generates by described main management plate, described State Summary catalogue comprises the State Summary value of state index and described state index correspondence.
Present embodiment provides a kind of management board, by the State Summary catalogue of self and the State Summary catalogue of main management plate are safeguarded, and it is whether consistent with the State Summary catalogue of main management plate according to the State Summary catalogue of preset trigger condition judgment self, according to judged result the state of self and the state of main management plate are carried out synchronously, realization is handled the system hot standby on principal and subordinate's management board, solved communication problem between a large amount of plate that the NSR/NSF technology is produced in the prior art, reduced communication between the hot plate that is equipped with in the process to greatest extent, increase success rate for switching, had higher efficient.
Present embodiment also provides a kind of communication apparatus, this communication apparatus can be specially router, switch etc., communication apparatus in the present embodiment can comprise the main management plate and from management board, wherein, can comprise above-mentioned Fig. 4 or management board shown in Figure 5 from management board.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a system hot standby processing method is characterized in that, comprising:
From management board to generate according to oneself state self the State Summary catalogue and the State Summary catalogue of the main management plate that obtains safeguard processing;
Whether consistent with the State Summary catalogue of described main management plate from management board according to described self the State Summary catalogue of preset trigger condition judgment;
When described self the State Summary catalogue and the State Summary catalogue of described main management plate when inconsistent, from management board with described self state and the state of described main management plate carry out synchronously.
2. method according to claim 1 is characterized in that, described from management board according to preset trigger condition judgment described self State Summary catalogue consistent comprising whether of State Summary catalogue and described main management plate:
When detecting that described self State Summary catalogue changes or when receiving the State Summary catalogue of the described main management plate that described main management plate sends, judge from management board whether described self State Summary catalogue is consistent with the State Summary catalogue of described main management plate.
3. method according to claim 2, it is characterized in that, described when described self the State Summary catalogue and the State Summary catalogue of described main management plate when inconsistent, from management board with described self state and the state of described main management plate comprise synchronously:
When described self the State Summary catalogue and the State Summary catalogue of described main management plate when inconsistent, start synchro timer from management board;
Before described synchro timer is overtime, if detect described self the State Summary catalogue of State Summary catalogue and described main management plate when consistent, then cancel described synchro timer, and cancellation is to described self the state synchronization processing of state and described main management plate from management board;
After described synchro timer is overtime, from management board with described self state and the state of described main management plate carry out synchronously.
4. method according to claim 1 is characterized in that, also comprises:
From management board the internal state of self is divided according to state level and priority, obtained described self State Summary catalogue; The main management plate is divided according to state level and priority the internal state of self, generates the State Summary catalogue of described main management plate, and the State Summary catalogue of described main management plate is sent to from management board.
5. according to each described method among the claim 1-4, it is characterized in that, described State Summary catalogue comprises the State Summary value of state index and described state index correspondence, and the State Summary value of every grade of node is the State Summary value sum of the next stage child node of described node in the described State Summary catalogue.
6. a management board is characterized in that, comprising:
Maintenance module, be used for to generate according to oneself state self the State Summary catalogue and the State Summary catalogue of the main management plate that obtains safeguard processing;
Whether judge module is used for according to described self the State Summary catalogue of preset trigger condition judgment consistent with the State Summary catalogue of described main management plate;
Synchronization module is used for judged result when described judge module and is described self the State Summary catalogue and the State Summary catalogue of described main management plate when inconsistent, with described self state and the state of described main management plate carry out synchronously.
7. management board according to claim 6 is characterized in that, described judge module comprises:
First judging unit is used for when detecting described self State Summary catalogue and change, and judges whether described self State Summary catalogue is consistent with the State Summary catalogue of described main management plate;
Second judging unit is used for when receiving the State Summary catalogue of the described main management plate that described main management plate sends, and judges whether described self State Summary catalogue is consistent with the State Summary catalogue of described main management plate.
8. management board according to claim 6 is characterized in that, described synchronization module comprises:
The timer start unit is used for starting synchro timer when described self the State Summary catalogue and the State Summary catalogue of described main management plate when inconsistent;
Timer is cancelled the unit, be used for before described synchro timer is overtime, if detect described self the State Summary catalogue of State Summary catalogue and described main management plate when consistent, then cancel described synchro timer, and cancellation is to described self the state synchronization processing of state and described main management plate;
Lock unit is used for after described synchro timer is overtime, with described self state and the state of described main management plate carry out synchronously.
9. management board according to claim 6 is characterized in that, also comprises:
Acquisition module, be used for the internal state of self is divided according to state level and priority, obtain described self State Summary catalogue, and obtain the State Summary catalogue of the described main management plate that generates by described main management plate, described State Summary catalogue comprises the State Summary value of state index and described state index correspondence.
10. a communication apparatus is characterized in that, comprises the main management plate and from management board, describedly comprises each described management board the aforesaid right requirement 6-9 from management board.
CN2010101680911A 2010-04-30 2010-04-30 System hot standby processing method, management board and communication equipment Active CN101841428B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101680911A CN101841428B (en) 2010-04-30 2010-04-30 System hot standby processing method, management board and communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101680911A CN101841428B (en) 2010-04-30 2010-04-30 System hot standby processing method, management board and communication equipment

Publications (2)

Publication Number Publication Date
CN101841428A true CN101841428A (en) 2010-09-22
CN101841428B CN101841428B (en) 2012-08-15

Family

ID=42744567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101680911A Active CN101841428B (en) 2010-04-30 2010-04-30 System hot standby processing method, management board and communication equipment

Country Status (1)

Country Link
CN (1) CN101841428B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391798A (en) * 2015-12-04 2016-03-09 北京全路通信信号研究设计院集团有限公司 Data synchronization method and device for main and standby train control systems
CN107995022A (en) * 2017-10-25 2018-05-04 东软集团股份有限公司 Session synchronization method and device, storage medium, electronic equipment
CN114095509A (en) * 2020-07-29 2022-02-25 中国电信股份有限公司 Data synchronization method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114933A (en) * 2006-07-26 2008-01-30 华为技术有限公司 Method, system and terminal for maintaining capability management object, managing capability
CN101163036A (en) * 2006-10-10 2008-04-16 中兴通讯股份有限公司 Method of implementing two-computer hot backup of network equipment management software
US20090225651A1 (en) * 2008-03-07 2009-09-10 Oki Electric Industry Co., Ltd. Communication management system, communication management method, and communication management device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114933A (en) * 2006-07-26 2008-01-30 华为技术有限公司 Method, system and terminal for maintaining capability management object, managing capability
CN101163036A (en) * 2006-10-10 2008-04-16 中兴通讯股份有限公司 Method of implementing two-computer hot backup of network equipment management software
US20090225651A1 (en) * 2008-03-07 2009-09-10 Oki Electric Industry Co., Ltd. Communication management system, communication management method, and communication management device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391798A (en) * 2015-12-04 2016-03-09 北京全路通信信号研究设计院集团有限公司 Data synchronization method and device for main and standby train control systems
CN105391798B (en) * 2015-12-04 2018-12-04 北京全路通信信号研究设计院集团有限公司 A kind of active and standby control system method of data synchronization of train and device
CN107995022A (en) * 2017-10-25 2018-05-04 东软集团股份有限公司 Session synchronization method and device, storage medium, electronic equipment
CN107995022B (en) * 2017-10-25 2021-03-05 东软集团股份有限公司 Session synchronization method and device, storage medium and electronic equipment
CN114095509A (en) * 2020-07-29 2022-02-25 中国电信股份有限公司 Data synchronization method and system

Also Published As

Publication number Publication date
CN101841428B (en) 2012-08-15

Similar Documents

Publication Publication Date Title
CN100417094C (en) Network failure recovery method with redundancy port
CN102917286B (en) Hand-in-hand protection switching method and system in EPON (Ethernet Passive Optical Network)
CN102624635B (en) Method and device for realizing graceful restart
KR20070026327A (en) Redundant routing capabilities for a network node cluster
WO2016177231A1 (en) Dual-control-based active-backup switching method and device
CN105340226B (en) The method and device thereof of the main preparation system switching of dynamic routing equipment
CN103825817A (en) Achieving method and device of ceaseless routing after routing protocol restarting
CN102647304A (en) Synchronizing method of address resolution protocols and device
WO2007048319A1 (en) A disaster recovery system and method of service controlling device in intelligent network
CN100574220C (en) Data back up method and application processing system
CN105335254A (en) Virtualization backup tolerant system and method
CN101841428B (en) System hot standby processing method, management board and communication equipment
CN102412984B (en) Management method and equipment for forwarded table entry
CN112769606A (en) Method, device and storage medium for energy conservation of clock synchronization network
CN100466545C (en) Data synchronization method between the main board and spare board in the communication system
CN102487332B (en) Fault processing method, apparatus thereof and system thereof
CN105763442A (en) PON system and method avoiding interruption of LACP aggregation link in main-standby switching process
CN101026473A (en) Method and system for realizing uninterrupted flow repeat by for route exchange device
KR101358995B1 (en) Method and system for managing high availability
CN102983997A (en) Method and device for migrating master services
CN101420327A (en) Method for avoiding routing oscillation in smooth restarting process and smooth restarting equipment
CN102143032A (en) Method for eliminating residual link state protocol data unit fragments and route equipment
CN104052799A (en) Method for achieving high availability storage through resource rings
CN108833247B (en) Method and device for re-switching after link failure recovery
WO2017016196A1 (en) Data synchronization method, apparatus, and 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
C14 Grant of patent or utility model
GR01 Patent grant