CN100461646C - Method for negat main spare board in communication equipment - Google Patents

Method for negat main spare board in communication equipment Download PDF

Info

Publication number
CN100461646C
CN100461646C CNB2004100753021A CN200410075302A CN100461646C CN 100461646 C CN100461646 C CN 100461646C CN B2004100753021 A CNB2004100753021 A CN B2004100753021A CN 200410075302 A CN200410075302 A CN 200410075302A CN 100461646 C CN100461646 C CN 100461646C
Authority
CN
China
Prior art keywords
data
switched
synchronously
active
communication equipment
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.)
Expired - Fee Related
Application number
CNB2004100753021A
Other languages
Chinese (zh)
Other versions
CN1741404A (en
Inventor
陈兴桃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2004100753021A priority Critical patent/CN100461646C/en
Publication of CN1741404A publication Critical patent/CN1741404A/en
Application granted granted Critical
Publication of CN100461646C publication Critical patent/CN100461646C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method for rotating master board and back - up board in communication device includes dividing synchronous data to a numbers of types with each type having different priority level , synchronizing data to back - up board by master board according to their priority level on set time , carrying on data synchronization continuously if data influencing system operation is not completely synchronized and resetting back - up board as well as restarting system if master board reset is abnormal when rotating command is issued for carrying out rotation of master board and back - up board .

Description

The method that active and standby plate is switched in the communication equipment
Technical field
The present invention relates to communication technical field, relate in particular to the method that active and standby plate is switched in a kind of communication equipment.
Background technology
As telecom carrier-class device, aspect reliability of system operation, higher requirement has been proposed, so master control borad adopts the mode of active and standby dual-host backup to carry out Redundancy Design.During normal operation, by mainboard (being main control board) processing service data, when mainboard breaks down, system's generation masterslave switchover, slave board (being slave control board) is upgraded to main usefulness, continues processing service data, guarantees not interrupt at line service.When system business is not busy (as morning) also can initiatively carry out masterslave switchover, improve reliability of system operation.
As shown in Figure 1, prior art adopts the mainboard per second regularly data sync to be arrived slave board, switches backup board and is upgraded to mainboard, and mainboard becomes slave board, and new mainboard per second regularly arrives new slave board with data sync.No matter the master/slave data synchronous regime is how, can both the masterslave switchover success, and promptly, switch backup board and can both successfully be upgraded to mainboard no matter whether the data of mainboard have been synchronized to slave board fully.
In the prior art scheme, active and standbyly make no exception for the data of whole system when synchronous, when data not fully synchronously the time, system or switch, or do not switch, being in passive state fully, can only whether carry out by user's decision.If the user carries out masterslave switchover, no matter synchronous regime is (promptly no matter whether the data of mainboard have been synchronized to slave board fully) how, switching all can be successful, system's whole data of can only toing many or too much for use are moved business after switching, effectively do not repair and precautionary measures, there are very large hidden danger and danger, when the slave board data are seriously lost before switching, may cause the whole system paralysis in case slave board is upgraded to mainboard.
Summary of the invention
Technical problem to be solved by this invention is: overcome prior art no matter whether the mainboard data have been synchronized to slave board fully and have all carried out masterslave switchover, the shortcoming that may cause the whole system paralysis, the method that active and standby plate is switched in a kind of communication equipment is provided, thereby guarantees that it all is normal reliable that mainboard is switched the running system in front and back.
The present invention is the method that is adopted that solves the problems of the technologies described above, may further comprise the steps: the synchrodata of system is divided into some types, every type data have different priority, and according to priority sequence synchronization is to slave board with data for mainboard, and the high priority data that priority is high is synchronized to slave board; Switch order when carrying out masterslave switchover or mainboard generation exceptional reset in utilization, the situation that backups to slave board according to the different priorities data sync determines whether to carry out switches, if the data of high priority are not then carried out and switched order not synchronously not fully; The data of described high priority are that system is moved influential data.
Switch order when carrying out masterslave switchover in utilization, if system is moved influential data not synchronously not fully, it is unsuccessful then to switch command execution, and system proceeds data synchronization.If it is incomplete synchronously that operation does not have the data of influence to system, then point out the user to confirm again to switching order, if the user selects not fill order, then do not carry out and switch; If the user selects to continue to carry out to switch order, then switch.
According to the relative importance of data in system is the type of the frequency of the influence degree of system's regular traffic and data variation being divided after the loss of data synchrodata.Three types of master data, status data, the call data that the synchrodata of system can be divided into system operation, the master data priority of system's operation is the highest, status data priority is medium, call data priority is minimum, described system is moved master data and the status data that influential data are system operation.
During mainboard generation exceptional reset, if the master data of system's operation and status data are not synchronously not fully, then slave board resets, system restart; If the master data and the status data of system's operation are complete synchronously, then slave board is upgraded to main usefulness, and system switches.
Described master data comprises the configuration data of system core database, system's languages, system mend and each business module.The status data of each business unit when described status data is system's operation comprises professional connect permanent type virtual circuit state, machine frame/veneer/port status, ALM and daily record.Described call data comprise the data that change because of call business, and change data faster in the system.
Beneficial effect of the present invention is: the present invention has divided classification and synchronous priority to the synchrodata of whole system, and whether the synchronous regime according to all kinds of synchrodatas when switching carries out different processing fully.Like this, most important data can be synchronized to slave board at first, if masterslave switchover takes place, whether complete according to the Various types of data synchronous regime, carry out different processing, when most crucial data all do not have when synchronous, switch and to be under an embargo, if this moment the mainboard exceptional reset, to cause whole system to reset, can guarantee so whenever (before switching and after switching) running system all is a normal reliable, and whole data are moved professional hidden danger and the danger that is brought thereby the system of having eliminated toos many or too much for use.
Description of drawings
Fig. 1 is a data sync schematic diagram before and after the prior art masterslave switchover;
Fig. 2 is the synchronous flow chart of data qualification of the present invention;
Fig. 3 switches the process of commands flow chart for user of the present invention;
The process chart of Fig. 4 during for mainboard exceptional reset of the present invention.
Embodiment
With embodiment the present invention is described in further detail with reference to the accompanying drawings below:
In order to solve the problems referred to above that prior art exists, the present invention is synchronous with system data classification, branch priority, and whether the synchronous regime according to all kinds of synchrodatas when switching carries out different processing fully.
The foundation of data qualification can have the different forms of expression with different concrete application, is the influence degree of system's regular traffic and the indexs such as frequency of data variation to be classified after the loss of data according to the relative importance of data in system usually.The present invention is divided three classes the synchrodata of system, and priority correspondingly also is divided three classes synchronously:
The first kind is the master data of system operation, master data generally is exactly that the configuration data such as the business of system core database, system's languages, system mend etc. and each business module connects PVC configuration, network interface configuration, static routing configuration, machine frame/veneer/port configuration data, system resource allocation management data or the like, be to generate by user configuration or system initialization the time, priority is the highest synchronously, this class data variation frequency is very low, uses synchronously once for general;
Second class is some status datas, the state of each business unit such as business connected permanent type virtual circuit (PVC) state, machine frame/veneer/port status when status data was meant system's operation, also have ALM and daily record etc., be the data that generate according to virtual condition in system's running, priority is medium synchronously, these class data change sometimes, but change frequency is not high, and are synchronous when changing;
The 3rd class is call data, is meant the data that change because of call business (calling out PPP dialing etc. as V5), and other changes data faster, also can incorporate three class data into as ARP list item change etc.Call data are the data that reflect user situation in real time, and priority is minimum synchronously, and the possible change frequency of these class data is very high, as long as change just synchronously.
These three classes data are carried out synchronously according to priority, promptly all need when synchronous as three class data, and primary sources synchronously earlier, secondary sources synchronously again, last synchronous the 3rd class data so just can guarantee that elder generation arrives slave board with most important data sync.Data qualification is for different priorities data synchronization order can be guaranteed, and their method of synchronization then is identical, promptly all is regularly to carry out synchronously by the prior art per second.
Be illustrated in figure 2 as the synchronous flow chart of data qualification of the present invention, when carrying out data sync, at first class data are carried out synchronously, if a class data sync is abundant, then carry out two class data synchronization, carry out the 3rd class data synchronization again after abundant synchronously, three class data sync are abundant, and then data sync is finished.
Correspondingly, according to three class data synchronization situations, also be divided into three kinds of situations after switching and handle:
1, primary sources are incomplete synchronously
Primary sources are core datas of system, if core data does not all have just can't allow system run well, so it is incomplete synchronously to work as primary sources, the user is provided by switching order and will carrying out and get nowhere of providing, the operating terminal of user command will provide information and remind the user, the command execution failure.Switch order issue failure to system without any influence, this moment, system business continued normal operation, not synchronously completely primary sources proceed synchronously, the user can wait until that data sync issues after complete more again and switch order and carry out active and standby switching.
If the mainboard exceptional reset takes place in this moment, will cause slave board also to reset, remain mainboard after allowing original mainboard reset to restart.The mainboard exceptional reset is that mainboard is owing to reasons such as hardware fault or software anomaly are forced to reset, slave board can be upgraded to main using physically, slave board software detects first kind core data and not exclusively will initiatively oneself be resetted synchronously attempting being upgraded to the main time spent, thereby has avoided new main board to use incomplete core data to cause business to run well.Because mainboard and slave board successively reset, and system can restart, former main board (resetting earlier) still is in the main state of using after the system start-up in this case.
2, secondary sources are incomplete synchronously
Secondary sources are also very important, if but these status datas synchronously not exclusively, switch the back system through recovering this data after a while, so it is incomplete synchronously to work as secondary sources, the user switches order and will carry out and get nowhere with what provide, the operating terminal of user command still can provide information and remind the user, and system can proceed data sync.
But if the mainboard exceptional reset took place this moment, slave board could successfully be upgraded to mainboard and continue the operation business.The mainboard exceptional reset, as hardware fault or software anomaly, slave board can be upgraded to main using physically, not exclusively different synchronously with primary sources, slave board software was attempted being upgraded to the main time spent and oneself can not resetted this moment, because can recover synchronous incomplete secondary sources and make the professional normal operation that continues through system after a while.
3, the 3rd class data sync is incomplete
The 3rd class data are only relevant with the individual user, and change frequent, if these class data synchronously not exclusively, can any influence not arranged to system's operation, only can make the unique user loss of state, system can regenerate, so it is incomplete to work as the 3rd class data sync, the user needs to confirm switching order again, system can provide corresponding prompt information and confirm to the user, allows the user recognize the synchronous regime of current system, and the user can select " N " not fill order, also can select " Y " to continue to carry out as required and switch order, switch order and will run succeeded this moment.
If this moment, the mainboard exceptional reset took place, as hardware fault or software anomaly, because the 3rd class data sync does not exclusively have any influence to the operation of business, slave board successfully is upgraded to main usefulness, and system switches successfully, the normal operation of professional continuation.
According to top description, be illustrated in figure 3 as the user and switch the process of commands flow process, the user issue switch order after, judge successively whether synchronously fully first, second and third class data, if first and second class data synchronously fully, then do not provide corresponding prompt information indicating user, switch the command execution failure, data are proceeded synchronously, have guaranteed that like this system can both the ground operation of very fast normal reliable after switching.If the 3rd class data sync is insufficient, then point out current state, confirm whether switch by the user, if do not switch, then order cancellation is proceeded data sync, if the 3rd class data sync is abundant or the user confirms and will switch, then carry out and switch, mainboard resets, and slave board is upgraded to mainboard.
Be illustrated in figure 4 as mainboard because of hardware fault or the software anomaly initiating system Forced Switch that resets, slave board is upgraded to the handling process of main time spent, switch when taking place, the slave board startup is upgraded to main using, whether synchronously fully to judge primary sources, if insufficient, then mainboard and slave board successively reset, system restart starts the former mainboard in back and still is in the main state of using.If primary sources are abundant synchronously, carry out data when then other class data sync is insufficient and recover, slave board successfully is upgraded to mainboard, the masterslave switchover success.
Because the present invention has divided classification and synchronous priority to the synchrodata of whole system, most important data can be synchronized to slave board at first, if masterslave switchover takes place, whether complete according to the Various types of data synchronous regime, carry out different processing, when most crucial data all do not have when synchronous, switch and to be under an embargo, if the mainboard exceptional reset will cause whole system to reset this moment, can guarantee so whenever (before switching and after switching) running system all is a normal reliable.
Present embodiment has been divided into three classes with data to carry out synchronously, can be after the loss of data influence degree of system's regular traffic, the indexs such as frequency of data variation to be subdivided into system data more classification or merging is simplified in classification in actual applications according to the importance of system data.Those skilled in the art do not break away from essence of the present invention and spirit, can there be the various deformation scheme to realize the present invention, the above only is the preferable feasible embodiment of the present invention, be not so limit to interest field of the present invention, the equivalence that all utilizations specification of the present invention and accompanying drawing content are done changes, and all is contained within the interest field of the present invention.

Claims (9)

1. the method that active and standby plate is switched in the communication equipment is characterized in that may further comprise the steps:
The synchrodata of system is divided into some types, and every type data have different priority, and according to priority sequence synchronization is to slave board with data for mainboard, and the high priority data that priority is high is synchronized to slave board;
Switch order when carrying out masterslave switchover or mainboard generation exceptional reset in utilization, the situation that backups to slave board according to the data sync of different priorities determines whether to carry out switches, if the data of high priority are not then carried out and switched order not synchronously not fully; The data of described high priority are that system is moved influential data.
2. the method that active and standby plate is switched in the communication equipment according to claim 1, it is characterized in that: switch order when carrying out masterslave switchover in utilization, if system is moved influential data not synchronously not fully, then to switch command execution and get nowhere, system proceeds data synchronization.
3. the method that active and standby plate is switched in the communication equipment according to claim 2, it is characterized in that: if operation does not have the data of influence incomplete synchronously to system, then point out the user to confirm again,, then do not carry out and switch if the user selects not fill order to switching order; If the user selects to continue to carry out to switch order, then switch.
4. the method for switching according to active and standby plate in claim 1, the 2 or 3 described communication equipments, it is characterized in that: three types of master data, status data, call data the synchrodata of system being divided into system's operation, the master data priority of system's operation is the highest, status data priority is medium, call data priority is minimum, described system is moved master data and the status data that influential data are system operation.
5. the method that active and standby plate is switched in the communication equipment according to claim 4 is characterized in that: during mainboard generation exceptional reset, if the master data of system's operation and status data are not synchronously not fully, then slave board resets, system restart; If the master data and the status data of system's operation are complete synchronously, then slave board is upgraded to main usefulness, and system switches.
6. the method that active and standby plate is switched in the communication equipment according to claim 4 is characterized in that: be the type of the frequency of the influence degree of system's regular traffic and data variation being divided after the loss of data synchrodata according to the relative importance of data in system.
7. the method that active and standby plate is switched in the communication equipment according to claim 4 is characterized in that: described master data comprises the configuration data of system core database, system's languages, system mend and each business module.
8. the method that active and standby plate is switched in the communication equipment according to claim 4, it is characterized in that: the status data of each business unit when described status data is system's operation comprises professional connect permanent type virtual circuit state, machine frame/veneer/port status, ALM and daily record.
9. the method that active and standby plate is switched in the communication equipment according to claim 4 is characterized in that: described call data comprise the data that change because of call business, and change data faster in the system.
CNB2004100753021A 2004-08-27 2004-08-27 Method for negat main spare board in communication equipment Expired - Fee Related CN100461646C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100753021A CN100461646C (en) 2004-08-27 2004-08-27 Method for negat main spare board in communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100753021A CN100461646C (en) 2004-08-27 2004-08-27 Method for negat main spare board in communication equipment

Publications (2)

Publication Number Publication Date
CN1741404A CN1741404A (en) 2006-03-01
CN100461646C true CN100461646C (en) 2009-02-11

Family

ID=36093644

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100753021A Expired - Fee Related CN100461646C (en) 2004-08-27 2004-08-27 Method for negat main spare board in communication equipment

Country Status (1)

Country Link
CN (1) CN100461646C (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100420207C (en) * 2006-07-26 2008-09-17 华为技术有限公司 Method and apparatus for realizing communication take-over and control
CN101335541B (en) * 2008-06-12 2012-05-23 中兴通讯股份有限公司 Method implementing data synchronization between main and spare circuit board
US20100211544A1 (en) * 2009-02-19 2010-08-19 Jyshyang Chen System with session synchronization
CN101958925A (en) * 2010-08-30 2011-01-26 北京星网锐捷网络技术有限公司 Method and device for controlling remote equipment
CN102882718B (en) * 2012-09-25 2015-07-29 烽火通信科技股份有限公司 With defensive main and standby rearranging method in communication equipment
CN103853623A (en) 2012-11-30 2014-06-11 华为技术有限公司 Data migration method and device
CN103701925B (en) * 2013-12-31 2017-04-05 北京网康科技有限公司 Source synchronous management-control method
CN104836677B (en) * 2014-02-11 2018-10-12 华为技术有限公司 A kind of method and server of dual-host backup
CN105278879A (en) * 2015-10-14 2016-01-27 珠海格力电器股份有限公司 Processing method and device of monitoring data
CN106878060A (en) * 2017-01-12 2017-06-20 烽火通信科技股份有限公司 The active and standby synchronization system and method for a kind of multi-service integrated access device
CN106713487B (en) * 2017-01-16 2020-10-09 腾讯科技(深圳)有限公司 Data synchronization method and device
CN109274763B (en) * 2018-10-24 2022-06-07 科华恒盛股份有限公司 Information synchronization method and dual-computer hot standby equipment
CN113965452B (en) * 2021-11-02 2023-11-03 烽火通信科技股份有限公司 Equipment switching state acquisition method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479453A (en) * 2002-08-28 2004-03-03 华为技术有限公司 Method of realizing main control plate thermal redundancy
CN1479452A (en) * 2002-08-28 2004-03-03 华为技术有限公司 Method of data on line exchange between main control plate and business plate in main control plate thermal redundancy
WO2004031985A2 (en) * 2002-10-04 2004-04-15 International Business Machines Corporation Method and apparatus for enabling associated portlets of a web portal to collaborate for synchronized content display

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479453A (en) * 2002-08-28 2004-03-03 华为技术有限公司 Method of realizing main control plate thermal redundancy
CN1479452A (en) * 2002-08-28 2004-03-03 华为技术有限公司 Method of data on line exchange between main control plate and business plate in main control plate thermal redundancy
WO2004031985A2 (en) * 2002-10-04 2004-04-15 International Business Machines Corporation Method and apparatus for enabling associated portlets of a web portal to collaborate for synchronized content display

Also Published As

Publication number Publication date
CN1741404A (en) 2006-03-01

Similar Documents

Publication Publication Date Title
CN100461646C (en) Method for negat main spare board in communication equipment
CN100492305C (en) Fast restoration method of computer system and apparatus
CN101404568A (en) Double-network card hot backup redundancy method
CN102035683B (en) Control method and system for switching of main board and standby board
CN100438362C (en) A method for implementing software hot-backup of main and reserve machines
CN101106443A (en) A system and method for controlling switch of primary and backup board
CN110377456A (en) A kind of management method and device of virtual platform disaster tolerance
CN103702065A (en) Backup system and method of video conference system
CN1458747A (en) Method for main control board data thermal backup
CN114337944A (en) System-level main/standby redundancy general control method
CN111427259B (en) Main and standby switching method of machine frame slot type, intelligent equipment and storage medium
CN113438111A (en) Method for restoring RabbitMQ network partition based on Raft distribution and application
CN101515834A (en) Main control card, switching system based on multi-backup main control card, switching method of switching system
CN101022633B (en) Allocation data recovering method, system and device
CN100395962C (en) Method and system for equipment switching in communication system
CN110740066B (en) Seat-invariant cross-machine fault migration method and system
CN110333973B (en) Multi-machine hot standby method and system
CN102083049B (en) Startup and shutdown system and switching method thereof
CN201047943Y (en) Fast recovery equipment of computer system
CN100362760C (en) Duplication of distributed configuration database system
CN100499387C (en) A method of singleboard N+1 backup in communication system
CN104133700A (en) Dual-system switching method of exchange and routing device
CN100508627C (en) System and method for realizing backup of scrambler
CN100463373C (en) Centralized control and hierarchical implementing switching control method and device
CN100490343C (en) A method and device for realizing switching between main and backup units in communication equipment

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090211

Termination date: 20170827