CN100431301C - Master control board data thermal backup system and method thereof - Google Patents

Master control board data thermal backup system and method thereof Download PDF

Info

Publication number
CN100431301C
CN100431301C CNB2005101026404A CN200510102640A CN100431301C CN 100431301 C CN100431301 C CN 100431301C CN B2005101026404 A CNB2005101026404 A CN B2005101026404A CN 200510102640 A CN200510102640 A CN 200510102640A CN 100431301 C CN100431301 C CN 100431301C
Authority
CN
China
Prior art keywords
data item
data
main board
synchronization status
synchronous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2005101026404A
Other languages
Chinese (zh)
Other versions
CN1933417A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2005101026404A priority Critical patent/CN100431301C/en
Publication of CN1933417A publication Critical patent/CN1933417A/en
Application granted granted Critical
Publication of CN100431301C publication Critical patent/CN100431301C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Abstract

A heat back-up method of master control board data includes string master control board data as per data item and generating an information table of data item, storing data verification code and synchronous state flag of each data item, carrying out registration and revision as well as query of said verification code and said state flag for each data item in said information table of data item according to back-up state of each data item, finalizing master and back-up synchronization of each data item according to master and back-up comparison of queried verification code information and current state of synchronous state flag.

Description

A kind of hot backup system of main control board data and method thereof
Technical field
The present invention relates to main control board data redundancy technique in the communication field, specifically, relate to a kind of hot backup system and method thereof of main control board data.
Background technology
The data backup technology is to guarantee professional normal important method.The wide range of its application is especially at communication field.In communication field, very high to the reliability requirement of communication, require no matter when, business must be unimpeded.Put into practice verifiedly, adopt the data backup technology can improve professional reliability greatly.
Usually, professional unimpeded in order to guarantee, what at first will guarantee is the accuracy of data.Because business board is bigger to the influence of business, direct bearer service data.Therefore, the most direct consideration of people is: the business board data are carried out the backup of 1+1, after business board takes place unusually, directly be switched on the standby business board like this, equipment still can normally move.
In the prior art, mostly the data backup technology is to be based upon in the research to business board, and the redundancy technique research of master control borad is less relatively, but the master control borad backup also is an important step that guarantees data accuracy.For the heat backup method of existing master control borad, the efficient of data sync is not high.
Therefore, how consider to guarantee the reliability and the correctness of data from the angle of system, adopt a kind of new hot backup system and method that the data of master control borad are backed up, realize a kind of reliable data backup, improve the efficient of data sync, and the appearance of the minimizing problem of service interruption of maximum possible, become the technical problem that needs to be resolved hurrily.
Summary of the invention
Technical problem to be solved by this invention provides a kind of hot backup system and method thereof of main control board data.Realize a kind of reliable data backup, improve synchronous efficiency, and do not influence normal communication service.
For solving the problems of the technologies described above, it is as follows to the invention provides scheme:
A kind of main control board data thermal backup system carries out between main board and standby plate synchronously main control board data, and this system comprises:
The store data items module is used for described main control board data is stored by data item;
The data item information storage module is used for each data item at described storage, for corresponding identifying code and synchronization status marker are set up and preserved to each data item;
Data item information Registering modules is used for the Status of Backups according to described each data item, and identifying code and synchronization status marker to each data item in described data item information storage module are registered, revised and inquire about;
The data item synchronization module is used for according to the active and standby comparison to the verification code information of described each data item of inquiring, and the current state of synchronization status marker, finish to described each data item active and standby synchronously.
A kind of main control board data thermal backup method is carried out between main board and standby plate synchronously main control board data, and this method comprises the steps:
Described main control board data is stored by data item;
At described main control board data item, generate a data item information table, preserve data item validation sign indicating number and synchronization status marker corresponding to described each data item;
According to the Status of Backups of described each data item, the identifying code and the synchronization status marker of each data item are registered, revised and inquire about in described data item information table;
According to active and standby comparison, and the current state of synchronization status marker to the verification code information of described each data item of inquiring, finish to described each data item active and standby synchronously.
Compared with prior art, the invention has the advantages that:
System and method of the present invention, guarantee from synchronous each intermediate link synchronous reliable, thereby well guarantee data consistency and correctness between main board and standby plate, keep professional normal operation to greatest extent; The data item validation sign indicating number that the present invention adopts has reduced each data in synchronization amount, makes that the efficient of data thermal backup is higher; The data item synchronous mark that increases, the assurance of maximum possible the consistency of active and standby plate data.
Technical problem to be solved by this invention, technical scheme main points and beneficial effect will be in conjunction with the embodiments, are further described with reference to accompanying drawing.
Description of drawings
Fig. 1 is the flow chart of the method for the invention;
Fig. 2 is the synchronous flow chart of back data item of switching of the present invention;
Fig. 3 is the synchronous flow chart of timing data item of the present invention;
Fig. 4 is the synchronous flow chart of real time data item of the present invention.
Fig. 5 is the flow chart of timing data item synchronization implementation example of the present invention;
Fig. 6 is the flow chart of real time data item synchronization implementation example of the present invention.
Embodiment
A kind of main control board data thermal backup system carries out between main board and standby plate synchronously main control board data, and this system comprises: be used for described main control board data is carried out the stored data items memory module by data item; Be used for each data item, for the corresponding identifying code and the data item information storage module of synchronization status marker are set up and preserved to each data item at described storage; Be used for Status of Backups, the data item information Registering modules of in described data item information storage module, the identifying code and the synchronization status marker of each data item being registered, being revised and inquire about according to described each data item; And be used for according to the active and standby comparison to the verification code information of described each data item of inquiring, and the current state of synchronization status marker, finish active and standby data in synchronization item synchronization module to described each data item.
Here, described store data items module is the storage that described main control board data is classified and itemized.
Said system of the present invention can also comprise a unreliable alarm module of data, is used for according to the comparison of described each data item synchronization status marker, sending the unreliable alarm information of data to network management system after described main board and standby plate are switched.
Here, in system of the present invention, described data item synchronization module can comprise the timed backup unit, is used for when BACKUP TIME arrives, and it is synchronous to initiate data item by described standby plate to main board;
Described data item synchronization module can also comprise the unit of backing up in realtime, and is used for after described main board is received new data, and it is synchronous to initiate data item to standby plate.
As shown in Figure 1, the main control board data thermal backup method carries out comprising the steps: synchronously between main board and standby plate to main control board data
At first, described main control board data is stored (step 101) by data item; Then,, generate a data item information table, preserve data item validation sign indicating number and synchronization status marker (step 102) corresponding to described each data item at described main control board data item; According to the Status of Backups of described each data item, (step 103) registered, revises and inquired about to the identifying code and the synchronization status marker of each data item in described data item information table; According to active and standby comparison to the verification code information of described each data item of inquiring, and the current state of synchronization status marker, finish active and standby (step 104) synchronously to described each data item.
As shown in Figure 2, after described main board and standby plate are switched,, report network management data inconsistent, send the unreliable alarm information of data according to the comparison of described each data item synchronization status marker.At first, whether the synchronization status marker of main board judgment data item information is " synchronous ", if, execution in step 2-3 then, otherwise, execution in step 2-2 (step 2-1); Report network management data inconsistent, finish (step 2-2); Send " information of fetching data " message and give standby plate (step 2-3); Standby plate data item synchronization module judges whether the state of standby plate is correct, if correct, execution in step 2-5 then, otherwise continue the execution (step 2-4) of standby plate data item synchronization module; Standby plate data item synchronization module takes out data item information, and the group bag sends to main board (step 2-5); Main board data item synchronization module judges whether the synchronization status marker in the standby plate data item information is " synchronous ", if, execution in step 2-7 then, otherwise, execution in step 2-2 (step 2-6); Main board data item synchronization module is the data item validation sign indicating number in the data item information on main board and the standby plate relatively, if inequality, execution in step 2-2 then, otherwise continue the execution (step 2-7) of main board data item synchronization module.
As shown in Figure 3, described basis is to the active and standby comparison of the verification code information of each data item, and the current state of synchronization status marker, finishes the active and standby timing synchronizing step to described each data item, comprising:
At first, a timer is set,, sends " information of fetching data " message (step 301) to main board by standby plate when timer arrives constantly; After main board is received, the identifying code and the synchronization status marker of this data item that inquiry is preserved, and send to standby plate (step 302); The corresponding informance of storing on the identifying code of this data item that standby plate will be received and synchronization status marker and this plate compares, if identifying code difference, or synchronous regime is " not synchronous ", then preserves the check code of receiving, and sends " fetch data " message and give main board (step 303); Main board is provided with this data item synchronization status marker and is " not synchronous ", and according to " item fetches data " message of receiving, the inquiry stored data items also sends to standby plate (step 304); Standby plate receives that the back preserves this data item, the synchronization status marker of this data item of this plate is revised as " synchronous ", and sends " response message " (step 305) to main board; After main board is received " response message ", the synchronization status marker of this data item of this plate is revised as " synchronous " (step 306).
As shown in Figure 4, described basis is to the active and standby comparison of the verification code information of each data item, and the current state of synchronization status marker, finishes the active and standby real-time synchronizing step to described each data item, comprising:
At first, after main board is received new data, upgrade corresponding data item information of check code and synchronization status marker is masked as " not synchronous " (step 401); Main board sends to standby plate (step 402) with amended this data item check code and synchronization status marker; Standby plate is preserved this data item check code receive, the synchronization status marker of this plate corresponding data item is revised as " not synchronous ", and sends response message (step 403) to main board; Main board is provided with this data item synchronization status marker and is " not synchronous ", and this data item is sent to standby plate (step 404); Standby plate is preserved the data item of receiving, on this plate this data item synchronization status marker is revised as " synchronous ", and sends response message (step 405) to main board; Main board is revised as " synchronous " (step 406) with this data item synchronization status marker of this plate after receiving response message.
As shown in Figure 5, the main process of timed backup can also realize by following steps:
At first, interim when synchronizing cycle, standby plate data item synchronization module obtains a collection of data in synchronization item that needs, and the message that sends " information of fetching data " at this data item is given main board (step 5-1); Then, wait for replying of main board data item synchronization module, if overtime then obtain next group and need data in synchronization item, execution in step 5-1; After main board data item synchronization module was received " information of fetching data " message, whether the state of judging standby plate correct (step 5-2), if correct, execution in step 5-3 then, otherwise continue the execution of main control board data item synchronization module; The information of this data item that the inquiry of main control board data item synchronization module is preserved, the group bag also sends to standby plate (step 5-3); After standby plate received that " information of data item " replys, standby plate data item synchronization module was judged the synchronization status marker (step 5-4) of this data item on the main board receive, if " synchronous ", and execution in step 5-5 then, otherwise execution in step 5-7; The synchronization status marker (step 5-5) of this data item on the standby plate data item synchronization module check standby plate, if " synchronous ", execution in step 5-6 then, otherwise execution in step 5-7; Standby plate data item synchronization module is the data item validation sign indicating number (step 5-6) in this data item information on main board and the standby plate relatively, if identical, then obtaining next group needs the data in synchronization item, execution in step 5-1, if inequality, execution in step 5-7 then; Standby plate data item synchronization module is preserved the data item validation sign indicating number of receiving, revises this data item synchronization status marker and is " not synchronous ", and send " item fetches data " message to main board (step 5-7) at this data item; Main board data item synchronization module is received after " item fetches data " message, is revised this data item synchronization status marker and be " not synchronous " (step 5-8); Whether the state that main board data item synchronization module is judged standby plate correct (step 5-9), if correct, execution in step 5-10 then, otherwise continue the execution of main board data item synchronization module; Main board data item synchronization module takes out the data of this data item, and the group bag also sends to standby plate (step 5-10); After standby plate data item synchronization module is received the data of this data item, preserve this data, the synchronization status marker of revising this data item is " synchronous ", and sends " response message " to main board, obtaining next group needs the data in synchronization item, execution in step 5-1 (step 5-11); After main board data item synchronization module is received " response message ", revise this data item synchronization status marker and be " synchronous " (step 5-12).
Here, the described a collection of data in synchronization item that needs can be one or more data item; If a plurality of data item, then once get the information of a plurality of data item after, the information in many data item, data in synchronization is wanted in getting in batches, finish in batches a plurality of data item synchronously.
The main process of backing up in realtime as shown in Figure 6, can realize by following steps:
At first, after main board was received new data, main board data item synchronization module upgraded the data item validation sign indicating number of this data item, and the synchronization status marker of revising this data item is " not (step 6-1) " synchronously; Whether the state that main board data item synchronization module is judged standby plate correct (step 6-2), if correct, execution in step 6-3 then, otherwise continue the execution of main board data item synchronization module; Main board data item synchronization module sends the information of this data item to standby plate (step 6-3); After standby plate data item synchronization module is received this data item information, preserve the data item validation sign indicating number of this data item, the synchronization status marker of revising this data item is " not synchronous ", and sends " response message " to main board (step 6-4); After main board data item synchronization module was received " response message ", whether the state of judging standby plate correct (step 6-5), if correct, execution in step 6-6 then, otherwise continue the execution of main board data item synchronization module; Main board data item synchronization module sends the data of this data item to standby plate (step 6-6); After standby plate data item synchronization module is received the data of this data item, preserve this data, the synchronization status marker of revising this data item is " synchronous ", sends " response message " and gives main board (step 6-7); After main board data item synchronization module was received " response message ", the synchronization status marker of revising this data item was " synchronous " (step 6-8).
The hot backup system of a kind of main control board data of the present invention and method thereof, be not restricted to listed utilization in specification and the execution mode, it can be applied to various suitable the present invention's field fully, for those skilled in the art, can easily realize additional advantage and make amendment, therefore under the situation of the spirit and scope of the universal that does not deviate from claim and equivalency range and limited, the examples shown that the present invention is not limited to specific details, representational equipment and illustrates here and describe.

Claims (10)

1, a kind of main control board data thermal backup system, carry out it is characterized in that this system comprises synchronously between main board and standby plate to main control board data:
The store data items module is used for described main control board data is stored by data item;
The data item information storage module is used for each data item at described storage, for corresponding identifying code and synchronization status marker are set up and preserved to each data item;
Data item information Registering modules is used for the Status of Backups according to described each data item, and identifying code and synchronization status marker to each data item in described data item information storage module are registered, revised and inquire about;
The data item synchronization module is used for according to the active and standby comparison to the verification code information of described each data item of inquiring, and the current state of synchronization status marker, finish to described each data item active and standby synchronously.
2, the system as claimed in claim 1 is characterized in that, also comprises:
The unreliable alarm module of data is used for according to the comparison of described each data item synchronization status marker, sending the unreliable alarm information of data to network management system after described main board and standby plate are switched.
3, the system as claimed in claim 1 is characterized in that, described data item synchronization module comprises the timed backup unit, is used for when BACKUP TIME arrives, and it is synchronous to initiate data item by described standby plate to main board.
4, the system as claimed in claim 1 is characterized in that, described data item synchronization module comprises the unit of backing up in realtime, and is used for after described main board is received new data, and it is synchronous to initiate data item to standby plate.
5, the system as claimed in claim 1 is characterized in that, described store data items module is the storage that described main control board data is classified and itemized.
6, a kind of main control board data thermal backup method carries out it is characterized in that this method comprises the steps: synchronously between main board and standby plate to main control board data
6.1) described main control board data is stored by data item;
6.2) at described main control board data item, generate a data item information table, preserve data item validation sign indicating number and synchronization status marker corresponding to described each data item;
6.3) according to the Status of Backups of described each data item, the identifying code and the synchronization status marker of each data item are registered, revised and inquire about in described data item information table;
6.4) according to active and standby comparison to the verification code information of described each data item of inquiring, and the current state of synchronization status marker, finish to described each data item active and standby synchronously.
7, method as claimed in claim 6 is characterized in that, also comprises the steps:
After described main board and standby plate are switched, judge the synchronization status marker of this plate data item by main board, if be " not synchronous ", then send the inconsistent warning information of data to webmaster;
If described synchronization status marker is " synchronous ", then send " information of fetching data " message to standby plate;
Standby plate receives that the identifying code and the synchronization status marker that take out the corresponding data item after this message send to main board;
Main board is judged this data item information of receiving, if synchronization status marker wherein is " not synchronous ", then sends the inconsistent warning information of data to webmaster;
If described synchronization status marker is " synchronous ", further wherein verification code information then is if the identifying code difference is then sent the inconsistent warning information of data to webmaster.
8, method as claimed in claim 6 is characterized in that, described step 6.3) and step 6.4) comprise the steps:
A timer is set,, sends " information of fetching data " message to main board by standby plate when timer arrives constantly;
After main board is received, the identifying code and the synchronization status marker of this data item that inquiry is preserved, and send to standby plate;
The corresponding informance of storing on the identifying code of this data item that standby plate will be received and synchronization status marker and this plate compares, if identifying code difference, or synchronous regime is " not synchronous ", then preserves the check code of receiving, and sends " fetch data " message and give main board;
Main board is provided with this data item synchronization status marker and is " not synchronous ", and according to " item fetches data " message of receiving, the inquiry stored data items also sends to standby plate;
Standby plate receives that the back preserves this data item, the synchronization status marker of this data item of this plate is revised as " synchronous ", and sends " response message " to main board;
After main board is received " response message ", the synchronization status marker of this data item of this plate is revised as " synchronous ".
9, method as claimed in claim 6 is characterized in that, described step 6.3) and step 6.4) specifically comprise the steps:
After main board is received new data, upgrade corresponding data item information of check code and synchronization status marker is masked as " not synchronous ";
Main board sends to standby plate with amended this data item check code and synchronization status marker;
Standby plate is preserved this data item check code receive, the synchronization status marker of this plate corresponding data item is revised as " not synchronous ", and sends response message to main board;
Main board is provided with this data item synchronization status marker and is " not synchronous ", and this data item is sent to standby plate;
Standby plate is preserved the data item of receiving, on this plate this data item synchronization status marker is revised as " synchronous ", and sends response message to main board;
Main board is revised as " synchronous " with this data item synchronization status marker of this plate after receiving response message.
10, method as claimed in claim 6 is characterized in that, described main control board data is carried out storing step by data item, is to the classify storage of subitem of described main control board data.
CNB2005101026404A 2005-09-12 2005-09-12 Master control board data thermal backup system and method thereof Active CN100431301C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101026404A CN100431301C (en) 2005-09-12 2005-09-12 Master control board data thermal backup system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101026404A CN100431301C (en) 2005-09-12 2005-09-12 Master control board data thermal backup system and method thereof

Publications (2)

Publication Number Publication Date
CN1933417A CN1933417A (en) 2007-03-21
CN100431301C true CN100431301C (en) 2008-11-05

Family

ID=37879051

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101026404A Active CN100431301C (en) 2005-09-12 2005-09-12 Master control board data thermal backup system and method thereof

Country Status (1)

Country Link
CN (1) CN100431301C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945002A (en) * 2009-07-03 2011-01-12 中兴通讯股份有限公司 Method and equipment for quickly comparing data of main board with data of standby board
CN102546238A (en) * 2011-12-23 2012-07-04 南京丰泰通信技术有限责任公司 Master control board hot backup system based on off-board data storage unit and method thereof
CN104954162B (en) * 2014-03-31 2018-07-24 杭州迪普科技股份有限公司 A kind of data backup, the method and device for assisting data backup
CN105406934A (en) * 2015-10-27 2016-03-16 上海斐讯数据通信技术有限公司 Passive optical network system main and standby control board synchronization method and system
CN111131240A (en) * 2019-12-23 2020-05-08 杭州迪普科技股份有限公司 Authentication information backup method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5913066A (en) * 1993-01-27 1999-06-15 Alcatel Network Systems, Inc. Electronic work environment for a data processing system
CN1109416C (en) * 2000-04-25 2003-05-21 华为技术有限公司 Method and equipment for swapping active with standby switches
CN1458747A (en) * 2002-05-13 2003-11-26 华为技术有限公司 Method for main control board data thermal backup
CN1479453A (en) * 2002-08-28 2004-03-03 华为技术有限公司 Method of realizing main control plate thermal redundancy
JP2005115641A (en) * 2003-10-07 2005-04-28 Murata Mach Ltd Circuit board of electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5913066A (en) * 1993-01-27 1999-06-15 Alcatel Network Systems, Inc. Electronic work environment for a data processing system
CN1109416C (en) * 2000-04-25 2003-05-21 华为技术有限公司 Method and equipment for swapping active with standby switches
CN1458747A (en) * 2002-05-13 2003-11-26 华为技术有限公司 Method for main control board data thermal backup
CN1479453A (en) * 2002-08-28 2004-03-03 华为技术有限公司 Method of realizing main control plate thermal redundancy
JP2005115641A (en) * 2003-10-07 2005-04-28 Murata Mach Ltd Circuit board of electronic device

Also Published As

Publication number Publication date
CN1933417A (en) 2007-03-21

Similar Documents

Publication Publication Date Title
US6996583B2 (en) Real-time database update transaction with disconnected relational database clients
CN100431301C (en) Master control board data thermal backup system and method thereof
CN100388675C (en) A method for implementing foreground data configuration in network management system
CN101102577A (en) Incremental synchronization method for data in tables of frontground and background database of wireless communication base station system
US20070282919A1 (en) Method and apparatus for synchronizing of databases
CN105024839B (en) A kind of method and device of software release upgrade
CN101714157A (en) Method, device and heterogeneous database system for generating heterogeneous database report
CA2623837A1 (en) Efficient database synchronization by comparing representative information
CN100485628C (en) Data synchronization method in upgrading process
CN100512474C (en) Automatic synchronization method for master-slave board storage version of the communication system
CN101650744A (en) System and method for processing great data amount based on transport tablespace
CN101132416A (en) Schedule issue, reservation method and schedule management system and its correlated equipment
CN102495739A (en) Data compatible method and system as well as inter-plate message method and system
CN105139149A (en) Method for rapidly checking asset configuration information of servers
CN104954482A (en) Configuration management system and method
CN101499931B (en) Function expansion method and system based on distributed environment
CN101515279B (en) Remote information synchronization method and system
CN101873228B (en) Management system and method for material information of network equipment
CN101650747B (en) Method and device for integrating multiple data sources and single sign-on system
CN101146282A (en) Method for application recognition module to download electronic documents
CN101068141B (en) Data synchronizing method and device between communication terminal and network communication system
CN101345648B (en) Solution method of data inconsistency
CN101404648A (en) Media terminal and its data synchronization method and system
CN103136014A (en) Installation method and installation system of data base
CN101552773A (en) Method, equipment and system for processing data item identifier mapping in data synchronization

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