CN100362760C - A Backup Method for Distributed Configuration Database System - Google Patents
A Backup Method for Distributed Configuration Database System Download PDFInfo
- Publication number
- CN100362760C CN100362760C CNB2004100745951A CN200410074595A CN100362760C CN 100362760 C CN100362760 C CN 100362760C CN B2004100745951 A CNB2004100745951 A CN B2004100745951A CN 200410074595 A CN200410074595 A CN 200410074595A CN 100362760 C CN100362760 C CN 100362760C
- Authority
- CN
- China
- Prior art keywords
- unit
- centralized unit
- data
- configuration data
- standby
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开了一种分布式配置数据库系统的备份方法,包括步骤:首先,设置并启动备用集中单元;其次,当主用集中单元正常工作时,所述备用集中单元对主用集中单元中的配置数据进行备份,所述备份具体为:备用集中单元记录主用集中单元处理的初始化的分布单元;在主用集中单元进行数据同步操作时,备用集中单元记录发生变化的配置数据;再次,当主用集中单元工作失常时,备用集中单元升为当前主用集中单元,根据前述配置数据进入正常运行状态,具体为:备用集中单元根据所述记录为正在初始化的分布单元提供配置数据;备用集中单元根据所述记录将发生变化的配置数据同步到分布单元。
The invention discloses a backup method for a distributed configuration database system, comprising steps: first, setting and starting a standby centralized unit; secondly, when the main centralized unit works normally, the standby centralized unit controls the configuration The data is backed up, and the backup is specifically: the backup centralized unit records the initialized distribution unit processed by the main centralized unit; when the main centralized unit performs data synchronization operation, the backup centralized unit records the changed configuration data; again, when the main When the centralized unit works abnormally, the standby centralized unit is upgraded to the current main centralized unit, and enters the normal operation state according to the aforementioned configuration data, specifically: the standby centralized unit provides configuration data for the distribution unit being initialized according to the records; the standby centralized unit according to The record synchronizes changed configuration data to the distribution unit.
Description
技术领域technical field
本发明涉及通信领域中设备的配置数据存储技术,特别是涉及一种分布式配置数据库系统的备份方法。The invention relates to equipment configuration data storage technology in the communication field, in particular to a backup method for a distributed configuration database system.
背景技术Background technique
一般地,通信设备是由多种类型的功能模块构成的,不同的功能模块实现不同的业务功能。其中,在通信设备中有一部分模块是提供业务功能的,被称为业务模块(如提供TDM时隙的业务模块);而有些模块并不提供业务,而是提供管理整个设备的运行的功能,被称为主控模块。主控模块可以用来控制设备中其它业务模块的启动和运行等。Generally, a communication device is composed of various types of functional modules, and different functional modules implement different service functions. Among them, some modules in the communication equipment provide service functions, which are called service modules (such as service modules that provide TDM time slots); and some modules do not provide services, but provide functions to manage the operation of the entire device. Known as the main control module. The main control module can be used to control the startup and operation of other business modules in the device.
作为通信设备启动、运行的基础,配置数据对于通信设备来说是不可缺少的。配置数据被用于配置系统中包含的业务模块以及提供的业务类型,如添加某种类型的单板、配置时隙以及链路等。As the basis for communication equipment to start and run, configuration data is indispensable for communication equipment. The configuration data is used to configure the service modules contained in the system and the service types provided, such as adding a certain type of single board, configuring time slots and links, and so on.
现有技术中,通信设备通过实现一个小型的分布式配置数据库系统来保存和管理配置数据。配置数据库(CDB,Configuration DataBase)中可以保存静态配置数据,如添加的单板、业务类型等,这些是在设备运行初期添加的;也包含动态数据,是在设备运行当中自动变化的,如:总的时隙是100,现在打通几个电话就将占用几个时隙,那么现在还能提供的时隙个数就是随着打通的电话数量动态变化的。In the prior art, a communication device saves and manages configuration data by implementing a small distributed configuration database system. The configuration database (CDB, Configuration DataBase) can save static configuration data, such as added boards, service types, etc., which are added at the initial stage of device operation; it also includes dynamic data, which is automatically changed during device operation, such as: The total number of time slots is 100, and several time slots will be occupied by making several calls now, so the number of time slots that can still be provided now changes dynamically with the number of calls made.
请参阅图1,分布式配置数据库系统中包括两种类型的单元:配置数据集中单元110、配置数据分布单元120。其中,配置数据集中单元110分布(或者说运行)在主控模块上,包含整个系统的所有配置数据;而配置数据分布单元120分布在业务模块上,只包含与该业务模块有关的部分配置数据。配置数据分布单元120上的配置数据在该分布单元初始启动时采用“拉”模式从配置数据集中单元110获得;在该分布单元120正常运行时采用“推”模式由配置数据集中单元110主动进行同步。Referring to FIG. 1 , the distributed configuration database system includes two types of units: a configuration
配置数据库系统是否稳定对于通信设备能否提供稳定、可靠、不中断的业务服务来说是至关重要的。而由于配置数据库系统的集中单元分布在主控模块上,保存系统所有的配置数据,负责在业务模块启动分布单元初始化时提供配置数据,在配置数据变化时负责将变化同步到分布单元,因此主控模块的稳定运行是保证整个配置数据库系统正常工作的基础。Whether the configuration database system is stable is crucial to whether the communication equipment can provide stable, reliable and uninterrupted business services. And because the centralized unit of the configuration database system is distributed on the main control module, it saves all the configuration data of the system, is responsible for providing configuration data when the business module starts the distribution unit initialization, and is responsible for synchronizing the change to the distribution unit when the configuration data changes, so the main The stable operation of the control module is the basis for ensuring the normal operation of the entire configuration database system.
但是在通信设备运行过程中下面两种情况会导致主控模块不能正常运行:第一种,通信设备运行过程主控模块出现故障;第二种,通信设备版本升级时需更新主控模块。However, the following two situations will cause the main control module to fail to operate normally during the operation of the communication equipment: first, the main control module fails during the operation of the communication equipment; second, the main control module needs to be updated when the version of the communication equipment is upgraded.
为了保证整个配置数据库系统的正常工作,需要进行配置数据备份。一种现有技术实现主控模块备份的方法可以参阅2003年11月26日公开的、申请号为0211 7709.0的中国发明专利申请。该方法包括:设置主控板和备用板;将主控板的数据复制到备用板上;进行主备切换时,备用板自动上升为主控板,对数据进行平滑处理后,进入正常运行状态。In order to ensure the normal operation of the entire configuration database system, configuration data backup is required. A kind of prior art method that realizes main control module backup can refer to the Chinese invention patent application that disclosed on November 26, 2003, and application number is 0211 7709.0. The method includes: setting the main control board and the standby board; copying the data of the main control board to the standby board; when the main control board is switched over, the standby board is automatically promoted to the main control board, and after smoothing the data, it enters the normal operation state .
但是,该现有技术存在一些不足之处:如果在配置数据分布单元正在进行初始化时主控模块(主控板)故障或复位,由于配置数据集中单元同时也不能正常工作,此时不能处理其它配置数据分布单元发送的获得配置数据的请求,这样就阻塞了配置数据分布单元的初始化,导致业务模块不能启动;另外,如果在配置数据集中单元与配置数据分布单元之间进行数据同步时主控模块故障或复位,对于已经发生的配置数据变化也不能保证已经向所有的配置数据分布单元同步完毕,这样就会造成整个配置数据库系统中各单元之上的配置数据的不一致。However, there are some deficiencies in this prior art: if the main control module (main control board) fails or resets when the configuration data distribution unit is being initialized, because the configuration data concentration unit cannot work normally at the same time, it cannot process other The request for obtaining configuration data sent by the configuration data distribution unit blocks the initialization of the configuration data distribution unit, causing the business module to fail to start; in addition, if data synchronization is performed between the configuration data concentration unit and the configuration data distribution unit, the master control In case of module failure or reset, there is no guarantee that the configuration data changes that have occurred have been synchronized to all configuration data distribution units, which will cause inconsistencies in the configuration data on each unit in the entire configuration database system.
发明内容Contents of the invention
本发明解决的技术问题在于提供一种分布式配置数据库系统的备份方法,可以在主控模块故障或复位时实现配置数据的稳定和一致性。The technical problem solved by the present invention is to provide a backup method for a distributed configuration database system, which can realize the stability and consistency of configuration data when the main control module fails or is reset.
为此,本发明解决技术问题的技术方案是:提供一种分布式配置数据库系统的备份方法,包括步骤:For this reason, the technical scheme that the present invention solves technical problem is: provide a kind of backup method of distributed configuration database system, comprise steps:
1)设置并启动备用集中单元;1) Set up and start the standby centralized unit;
2)当主用集中单元正常工作时,所述备用集中单元对主用集中单元中的配置数据进行备份;2) When the main centralized unit works normally, the standby centralized unit backs up the configuration data in the main centralized unit;
3)当主用集中单元工作失常时,备用集中单元升为当前主用集中单元,根据前述配置数据进入正常运行状态;3) When the main centralized unit works abnormally, the standby centralized unit is upgraded to the current active centralized unit, and enters the normal operation state according to the aforementioned configuration data;
其中,所述步骤2)进一步包括:Wherein, said step 2) further includes:
21)备用集中单元记录主用集中单元处理的初始化的分布单元;21) The standby centralized unit records the initialized distribution unit processed by the main centralized unit;
22)在主用集中单元进行数据同步操作时,备用集中单元记录发生变化的配置数据;22) When the main centralized unit performs data synchronization operation, the backup centralized unit records the changed configuration data;
所述步骤3)中,备用集中单元根据步骤21)中的记录为正在初始化的分布单元提供配置数据;备用集中单元根据步骤22)中的记录将发生变化的配置数据同步到分布单元。In the step 3), the backup centralized unit provides configuration data for the distribution unit being initialized according to the record in step 21); the backup centralized unit synchronizes the changed configuration data to the distribution unit according to the record in step 22).
优选地,所述步骤21)具体包括:Preferably, the step 21) specifically includes:
配置数据分布单元向配置数据主用集中单元发送注册请求消息;The configuration data distribution unit sends a registration request message to the configuration data master centralized unit;
配置数据主用集中单元解析该注册请求消息;向配置数据备用集中单元发送注册通知消息;The configuration data primary centralized unit parses the registration request message; sends a registration notification message to the configuration data standby centralized unit;
配置数据备用集中单元解析所述注册通知消息,记录对应分布单元数据表属性信息以及分布单元的状态为初始化状态,向配置数据主用集中单元回应注册通知应答消息;The configuration data standby centralized unit parses the registration notification message, records the corresponding distribution unit data table attribute information and the state of the distribution unit as an initialization state, and responds to the configuration data main centralized unit with a registration notification response message;
配置数据主用集中单元接收到配置数据备用单元的注册通知应答消息后,进行配置数据分布单元的数据同步;After receiving the registration notification response message of the configuration data standby unit, the configuration data master centralized unit performs data synchronization of the configuration data distribution unit;
当配置数据分布单元初始化完成后,配置数据主用集中单元给配置数据备用集中单元发送对应分布单元的数据表同步结束通知消息;After the initialization of the configuration data distribution unit is completed, the master configuration data centralized unit sends the data table synchronization end notification message of the corresponding distribution unit to the configuration data backup centralized unit;
配置数据备用集中单元接收到数据表同步结束通知消息之后,将记录的对应分布单元的初始化状态修改为结束状态;给配置数据主用集中单元发送数据表结束通知应答消息。After the configuration data standby centralized unit receives the data table synchronization end notification message, it modifies the initialization state of the corresponding recorded distribution unit to the end state; and sends a data table end notification response message to the configuration data master centralized unit.
优选地,所述步骤22)中的记录具体包括:Preferably, the record in said step 22) specifically includes:
主用集中单元执行数据操作;The master uses the centralized unit to perform data operations;
主用集中单元向备用集中单元发送数据同步操作消息;The active centralized unit sends a data synchronization operation message to the standby centralized unit;
备用集中单元解析所述数据同步操作消息,将前述数据操作在自身生效并记录数据操作;向主用集中单元发送数据同步操作应答消息;The standby centralized unit parses the data synchronization operation message, validates the aforementioned data operation on itself and records the data operation; sends a data synchronization operation response message to the active centralized unit;
主用集中单元将配置数据同步到分布单元;The main centralized unit synchronizes the configuration data to the distributed unit;
当数据同步完成后,主用集中单元向备用集中单元发送删除备份数据操作消息;After the data synchronization is completed, the active centralized unit sends a delete backup data operation message to the standby centralized unit;
备用集中单元解析所述删除备份数据操作消息,删除记录的数据操作,向主用集中单元发送删除备份数据应答消息。The standby centralized unit analyzes the delete backup data operation message, deletes the recorded data operation, and sends a delete backup data response message to the main active centralized unit.
优选地,所述步骤3)中升为当前主用集中单元具体为:主用集中单元通知备用集中单元,并释放主用标识码;备用集中单元将自身标识码修改为主用标识码。Preferably, the upgrading to the current active centralized unit in step 3) specifically includes: the active centralized unit notifies the standby centralized unit, and releases the active identification code; the standby centralized unit modifies its own identification code to the active identification code.
优选地,所述步骤1)中,将备用集中单元设置在备用控制模块或业务模块。Preferably, in the step 1), the backup centralized unit is set in the backup control module or the service module.
优选地,还包括:当主用集中单元复位后,作为当前备用集中单元重新启动。Preferably, the method further includes: restarting as the current standby centralized unit after the main centralized unit is reset.
相对于现有技术,本发明的有益效果是:首先,由于本发明在数据库系统中加入配置数据备用集中单元,可以在主用集中单元故障时,升为主用单元继续提供数据库功能,对已有系统改动较小,实现方便;当需要对主控模块进行版本升级时,不会造成对业务的中断。其次,由于本发明在分布单元初始化过程中由备用集中单元实时记录,如果分布单元初始化时主用集中单元故障或复位,也可以由备用集中单元升为当前主用集中单元,根据记录结果完成分布单元的初始化,实现业务模块正常启动;由于本发明在数据同步操作时备用集中单元记录发生变化的配置数据,可以保证即使此时主用集中单元故障或复位,也可以由备用集中单元根据记录结果完成所有分布单元的数据同步,最大程度保证整个数据库系统的一致性。Compared with the prior art, the beneficial effects of the present invention are: firstly, because the present invention adds the configuration data backup centralized unit in the database system, when the main centralized unit fails, it can be upgraded to the main active unit to continue to provide database functions, and the existing Some system changes are small, and the implementation is convenient; when the main control module needs to be upgraded, it will not cause interruption to the business. Secondly, since the present invention is recorded in real time by the standby centralized unit during the initialization process of the distributed unit, if the main centralized unit fails or resets when the distributed unit is initialized, it can also be promoted from the standby centralized unit to the current active centralized unit, and the distribution can be completed according to the recording results. The initialization of the unit realizes the normal start of the business module; because the configuration data that the backup centralized unit records changes during the data synchronization operation of the present invention, it can be guaranteed that even if the main centralized unit fails or resets at this time, the backup centralized unit can also be used according to the recorded results. Complete the data synchronization of all distribution units to ensure the consistency of the entire database system to the greatest extent.
此外,在数据库系统中增加备用集中单元,只需要在分布单元注册请求配置数据以及初始化结束时增加两次通知,备份初始化的分布单元属性以及状态来完成对分布单元启动阶段的备份;在配置数据发生变化时增加一次备份处理以及在向所有分布单元同步完数据操作时增加一次取消备份处理,来实现数据操作的备份,不需要对原有的流程进行修改,实现简单。也就是说,在增加配置数据备用集中单元后的处理与无备用集中单元时的处理采用统一的流程进行,便于程序实现。In addition, to add a standby centralized unit in the database system, it is only necessary to add two notifications when the distribution unit registers and requests configuration data and when the initialization ends, and backs up the initialized distribution unit attributes and status to complete the backup of the distribution unit startup phase; in the configuration data When a change occurs, add a backup process and add a cancel backup process when the data operation is synchronized to all distribution units to realize the backup of the data operation without modifying the original process, which is simple to implement. That is to say, the processing after the configuration data backup centralized unit is added and the processing when there is no backup centralized unit are carried out in a unified process, which is convenient for program realization.
附图说明Description of drawings
图1是现有技术的配置数据库系统的框图;Fig. 1 is the block diagram of the configuration database system of prior art;
图2是本发明分布式配置数据库系统的框图;Fig. 2 is a block diagram of the distributed configuration database system of the present invention;
图3是本发明备份配置数据库的流程图;Fig. 3 is the flowchart of backup configuration database of the present invention;
图4是本发明中配置数据分布单元的启动处理流程图;Fig. 4 is the startup process flowchart of configuration data distribution unit in the present invention;
图5是本发明中配置数据主用集中单元的数据同步处理流程图。Fig. 5 is a flow chart of data synchronization processing for configuring a data master centralized unit in the present invention.
具体实施方式Detailed ways
本发明在主控模块发生故障或复位时,可以实现配置数据分布单元的正常初始化以及业务模块的正常启动,同时保证整个分布式配置数据库系统中配置数据的一致性。本发明在配置数据库系统中增加配置数据备用集中单元,当原有的配置数据集中单元发生故障,不能提供数据库功能时,由该备用集中单元提供数据库功能,这样既不影响配置数据分布单元的初始化以及业务模块的启动,也可以保证在原有的配置数据集中单元发生故障之后将故障之前配置数据所发生的变化同步到所有的配置数据分布单元上,保证整个配置数据库系统中配置数据的一致性。The invention can realize the normal initialization of the configuration data distribution unit and the normal startup of the service module when the main control module fails or is reset, and at the same time ensures the consistency of the configuration data in the entire distributed configuration database system. The present invention adds a backup centralized unit for configuration data in the configuration database system. When the original centralized unit for configuration data breaks down and cannot provide database functions, the backup centralized unit provides database functions, which does not affect the initialization of the configuration data distribution unit. And the start of the business module can also ensure that after the original configuration data centralized unit fails, the changes in the configuration data before the failure are synchronized to all configuration data distribution units, ensuring the consistency of configuration data in the entire configuration database system.
请参阅图2,是本发明分布式配置数据库系统的框图。所述分布式配置数据库系统包括配置数据分布单元210、配置数据主用集中单元220和配置数据备用集中单元230;所述配置数据分布单元210可以与配置数据主用集中单元220和配置数据备用集中单元230进行通讯,配置数据主用集中单元220和配置数据备用集中单元230之间可以相互通讯。Please refer to FIG. 2, which is a block diagram of the distributed configuration database system of the present invention. The distributed configuration database system includes a configuration
其中,配置数据分布单元210存在于业务模块上,配置数据主用集中单元220存在于主控模块上,配置数据备用集中单元230存在于非主控模块上,所述非主控模块可以是备用的控制模块或业务模块。所述配置数据主用集中单元220即原有的配置数据集中单元,所述配置数据备用集中单元230是本发明新增加的单元。Wherein, the configuration
各单元均包括消息接收处理子单元和消息构造发送子单元,其中,消息接收处理子单元用于接收来自其他单元的消息并进行处理产生处理结果,消息构造发送子单元用于根据前述处理结果构造消息并发送至其他单元。Each unit includes a message receiving and processing subunit and a message construction sending subunit, wherein the message receiving and processing subunit is used to receive messages from other units and process them to generate processing results, and the message construction sending subunit is used to construct message and send it to other units.
请参阅图3,在配置数据主用集中单元220正常工作时,配置数据备用集中单元230对各种配置数据进行备份,此时不参与控制;当配置数据主用集中单元220发生故障时,配置数据备用集中单元230将自动上升为当前的配置数据主用集中单元,提供数据库功能。Please refer to Fig. 3, when the configuration data main
本发明中,所谓对配置数据进行备份包括:In the present invention, so-called backing up configuration data includes:
(1)记录配置数据主用集中单元230正在处理的初始化的分布单元210。这样在主用集中单元230复位或故障之后,备用集中单元220能够根据当时的记录,提供配置数据给正在进行初始化的分布单元210,保证业务模块的正常启动。(1) The
(2)在配置数据发生变化之后,记录发生变化的配置数据。这样在主用集中单元220复位或故障之后,备用集中单元230升为当前的主用集中单元,将记录的发生变化的配置数据重新同步到所有的分布单元210,保证配置数据库系统中所有单元的配置数据的一致性。(2) After the configuration data is changed, record the changed configuration data. In this way, after the active
下面分别说明配置数据分布单元210启动、配置数据主用集中单元220发起数据操作同步时配置数据备用集中单元230备份配置数据的流程。The process of backing up the configuration data by the configuration data
所谓上升为配置数据主用集中单元是指:在配置数据主用集中单元220发生故障时,会通知备用集中单元230,在系统中修改备用集中单元230的身份,所以系统中仍然存在一个可以提供数据库功能的主用集中单元。在系统中,各单元通过标识码来互相识别身份。例如,配置数据主用集中单元的标识码为“1”,配置数据备用集中单元的标识码为“2”,配置数据分布单元的标识码为采用其它符号;配置数据分布单元将标识码为“1”的配置数据主用集中单元进行通讯并接受控制。因此,当主用集中单元220发生故障时,会释放主用标识码,并通知备用集中单元230;备用集中单元230接收到主用集中单元220发送的故障消息时,将自身的标识码修改为主用标识码“1”。The so-called upgrade to the master centralized unit for configuration data refers to: when the master
当原来的主用集中单元的故障复位后,该复位的主用集中单元重新启动,When the fault of the original active centralized unit is reset, the reset active centralized unit restarts,
但是此时是以备用集中单元的身份启动,成为备用集中单元,用以备份当前的主用集中单元。However, at this time, it starts as a standby centralized unit and becomes a standby centralized unit to back up the current active centralized unit.
请参阅图4,配置数据分布单元启动处理流程包括步骤:Please refer to Figure 4, the configuration data distribution unit startup processing flow includes steps:
(1)配置数据分布单元210向配置数据主用集中单元220注册,并上报本业务模块数据表属性,请求主用集中单元220根据上报的数据表属性同步数据;(1) The configuration
(2)配置数据主用集中单元220接收注册请求消息,记录该业务模块数据表属性信息;(2) The configuration data master uses the
(3)配置数据主用集中单元220根据接收到的注册请求消息,附加请求配置数据的分布单元属性构造成注册通知消息;(3) The configuration data main
(4)配置数据主用集中单元220将注册通知消息发送给配置数据备用集中单元230;(4) The configuration data main
(5)配置数据备用集中单元230接收注册通知消息,记录对应分布单元数据表属性信息以及分布单元的状态为初始化状态,构造注册通知的回应消息;(5) configuration data standby
(6)配置数据备用集中单元230给配置数据主用集中单元220回应注册通知应答消息;(6) The configuration data standby
(7)配置数据主用集中单元220接收到配置数据备用单元230的注册通知应答消息之后,构造给配置数据分布单元210的应答消息,并发送给注册的配置数据分布单元210。(7) After receiving the registration notification response message from the configuration
(8)配置数据主用集中单元220将数据表记录消息发送给配置数据分布单元210;(8) The configuration data main
(9)配置数据分布单元210接收同步的数据表记录消息,根据数据表属性在分布单元上生效;构造应答消息;(9) configuration
(10)配置数据分布单元210发送应答消息给配置数据主用集中单元220;(10) The configuration
若该配置数据分布单元210数据表未同步完毕,则重复步骤(8)~(10);If the configuration
(11)配置数据主用集中单元220向配置数据分布单元210发送数据表同步结束消息;(11) The configuration data master uses the
(12)配置数据分布单元210接收到数据表同步结束消息,完成本单元的初始化,并构造回应消息;(12) The configuration
(13)配置数据分布单元210给配置数据主用集中单元220发送数据表同步结束应答消息;(13) The configuration
(14)配置数据主用集中单元220给配置数据备用集中单元230发送对应分布单元的数据表同步结束通知消息;(14) The configuration data master uses the
(15)配置数据备用集中单元230接收到数据表同步结束通知消息之后,将记录的对应分布单元的初始化状态修改为结束状态;构造回应消息;(15) After the configuration data standby
(16)配置数据备用集中单元230给配置主用集中单元220发送数据表结束通知应答消息。(16) The configuration data backup
请参阅图5,配置数据主用集中单元发起数据操作处理流程包括步骤:Please refer to Figure 5, the data operation processing flow initiated by the centralized unit for configuring the data master includes steps:
(1)配置数据主用集中单元220上执行数据操作(包括数据增加、删除、修改、查询);(1) Configure the data master to perform data operations (including data addition, deletion, modification, query) on the
(2)配置数据主用集中单元220构造数据操作同步消息包;(2) configuration data master uses the
(3)配置数据主用集中单元220向配置数据备用集中单元230发送数据操作同步消息包;(3) The configuration data master uses the
(4)配置数据备用集中单元230接收到数据操作同步消息包,将本次数据操作在本单元中生效;并且记录本次数据操作;(4) configuration data standby
(5)配置数据备用集中单元230向配置数据主用集中单元220发送数据操作同步应答消息;(5) The configuration data standby
(6)配置数据主用集中单元220构造数据操作同步消息包;(6) configuration data master uses the
(7)配置数据主用集中单元220向配置数据分布单元210发送数据操作同步消息包;(7) The configuration data master uses the
(8)配置数据分布单元210将本次数据操作在本单元中生效;构造回应消息包;(8) Configure the
(9)配置数据分布单元210向配置数据主用集中单元220发送数据操作同步应答消息;(9) The configuration
若是多个配置数据分布单元,则需重复(6)~(9),直到向所有的分布单元发送完成数据操作同步消息请得到应答消息;If there are multiple configuration data distribution units, it is necessary to repeat (6) to (9) until sending a synchronization message of completing data operation to all distribution units, please get a response message;
(10)配置数据主用集中单元220向所有的配置数据分布单元210同步完数据操作之后,删除本次数据操作,并构造删除备份数据操作的消息包;(10) After the configuration data main
(11)配置数据主用集中单元220向配置数据备用集中单元230发送删除备份数据操作消息;(11) The configuration data main
(12)配置数据备用集中单元230接收到删除备份数据操作通知消息之后,将本单元备份的对应数据操作删除,并构造回应消息;(12) After receiving the delete backup data operation notification message, the configuration data
(13)配置数据备用集中单元230向配置数据主用集中单元220发送删除备份数据应答消息。(13) The configuration data
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications should also be It is regarded as the protection scope of the present invention.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100745951A CN100362760C (en) | 2004-09-07 | 2004-09-07 | A Backup Method for Distributed Configuration Database System |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100745951A CN100362760C (en) | 2004-09-07 | 2004-09-07 | A Backup Method for Distributed Configuration Database System |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1747347A CN1747347A (en) | 2006-03-15 |
| CN100362760C true CN100362760C (en) | 2008-01-16 |
Family
ID=36166702
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2004100745951A Expired - Fee Related CN100362760C (en) | 2004-09-07 | 2004-09-07 | A Backup Method for Distributed Configuration Database System |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100362760C (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1968075B (en) * | 2006-05-23 | 2010-05-12 | 华为技术有限公司 | A distributed hot backup logic device and method for setting master and backup boards |
| CN101534182B (en) * | 2009-04-27 | 2012-11-21 | 华为技术有限公司 | Method, veneer and network equipment for sending route information |
| US8326800B2 (en) * | 2011-03-18 | 2012-12-04 | Microsoft Corporation | Seamless upgrades in a distributed database system |
| CN103023673A (en) * | 2011-09-21 | 2013-04-03 | 中兴通讯股份有限公司 | Starting method and apparatus of control units |
| CN102662793A (en) * | 2012-03-07 | 2012-09-12 | 江苏引跑网络科技有限公司 | Hot backup and recovery method of distributed database with guarantee of data consistency |
| CN109308233A (en) * | 2017-07-28 | 2019-02-05 | 中兴通讯股份有限公司 | Data backup method, device and system |
| CN111107542B (en) * | 2019-12-02 | 2023-06-30 | 南京中科晶上通信技术有限公司 | Method, equipment and storage medium for self-healing connection faults of CU-DU (CU-DU) distribution architecture |
| CN112333036B (en) * | 2021-01-06 | 2021-03-30 | 广州技象科技有限公司 | Multi-storage-node-based power Internet of things configuration data backup method and device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1437326A (en) * | 2002-02-07 | 2003-08-20 | 华为技术有限公司 | Exchange method between on-line and off-line communicator |
| CN1458747A (en) * | 2002-05-13 | 2003-11-26 | 华为技术有限公司 | Method for main control board data thermal backup |
| CN1479453A (en) * | 2002-08-28 | 2004-03-03 | 华为技术有限公司 | A method for realizing hot backup of main control board |
-
2004
- 2004-09-07 CN CNB2004100745951A patent/CN100362760C/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1437326A (en) * | 2002-02-07 | 2003-08-20 | 华为技术有限公司 | Exchange method between on-line and off-line communicator |
| CN1458747A (en) * | 2002-05-13 | 2003-11-26 | 华为技术有限公司 | Method for main control board data thermal backup |
| CN1479453A (en) * | 2002-08-28 | 2004-03-03 | 华为技术有限公司 | A method for realizing hot backup of main control board |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1747347A (en) | 2006-03-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100449548C (en) | Database synchronization method and system | |
| CN101908980B (en) | Network management upgrading method and system | |
| CN103176831B (en) | A kind of dummy machine system and management method thereof | |
| CN101217678A (en) | System upgrading method, system and device | |
| CN105677380B (en) | Method and device for board-by-board upgrading of double master control isolations | |
| CN101179624B (en) | A method and device for implementing network element upgrade | |
| CN101043318B (en) | Method for synchronizing front-end and back-end data and device for synchronizing front-end and back-end data | |
| CN112380062A (en) | Method and system for rapidly recovering system for multiple times based on system backup point | |
| CN112003728A (en) | A method and device for implementing active and standby applications based on Kubernetes cluster | |
| CN100550783C (en) | Hot plug detection and processing method | |
| CN106469069A (en) | A kind of version upgrading method and system | |
| CN100362760C (en) | A Backup Method for Distributed Configuration Database System | |
| CN114124650A (en) | Master-slave deployment method of SPTN (shortest Path bridging) network controller | |
| CN107357800A (en) | A kind of database High Availabitity zero loses solution method | |
| CN107729515B (en) | Data synchronization method, device and storage medium | |
| CN110109772A (en) | A kind of method for restarting of CPU, communication equipment and readable storage medium storing program for executing | |
| CN112052127B (en) | Data synchronization method and device for dual-computer hot standby environment | |
| CN106685688A (en) | Cluster computer device synchronous upgrade method | |
| CN115705269A (en) | Data synchronization method, system, server and storage medium | |
| CN109739685A (en) | A kind of principal and subordinate's hot backup data synchronous method and storage medium | |
| CN116414915A (en) | Distributed database cluster management and control method, device and database management and control platform | |
| CN115129521B (en) | Method, device and system for synchronizing data among Redis clusters | |
| CN118673078A (en) | A method for synchronizing a logical replication slot and a related device | |
| CN116257380A (en) | High-availability method and system for cross-data center Kubernetes federation management control plane | |
| JP5449229B2 (en) | Call relief system and call relief method |
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 |
Granted publication date: 20080116 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |