WO2010148966A1 - Method and apparatus for implementing data synchronization in network management - Google Patents

Method and apparatus for implementing data synchronization in network management Download PDF

Info

Publication number
WO2010148966A1
WO2010148966A1 PCT/CN2010/073848 CN2010073848W WO2010148966A1 WO 2010148966 A1 WO2010148966 A1 WO 2010148966A1 CN 2010073848 W CN2010073848 W CN 2010073848W WO 2010148966 A1 WO2010148966 A1 WO 2010148966A1
Authority
WO
WIPO (PCT)
Prior art keywords
connection
information
database
main
synchronization
Prior art date
Application number
PCT/CN2010/073848
Other languages
French (fr)
Chinese (zh)
Inventor
冯文波
巫锴
胡锐
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2010148966A1 publication Critical patent/WO2010148966A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/275Synchronous replication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2358Change logging, detection, and notification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/273Asynchronous replication or reconciliation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Small-Scale Networks (AREA)

Abstract

A method and an apparatus for implementing the data synchronization in network management are disclosed, which can realize the quasi real-time synchronization of the database on the primary and standby units of the network management server without dedicated database synchronization utility. The apparatus includes the following modules: a database operation intercepting module (301), for intercepting the database operation information of the primary unit, including the operation information with respect to executing storage procedure and updating data of the database, using a standard interface provided by the application code layer of the database on the primary unit; an operation log generating module (302), for generating the database operation log of the primary unit which is divided based on transaction, according to the intercepted database operation information, and for proposing the division policy of transactions; an operation log transmitting module (303), for transmitting the database operation log of the primary unit to the standby unit by using message confirmation mechanism; an operation log storing module (304), for executing the synchronized storing of the database on the standby unit according to the received database operation log by the standby unit.

Description

同步的 方法及裝置 木領域  Synchronization method and device
本 涉及 同步 木, 特別是指 神岡 同步的 方法及 裝置。 背景 木  This is related to synchronous wood, especially the method and device for synchronizing the gods. Background
看 木的 , 管 統需要提供越未越多的新 各和新 功能, 此同 , 各 的 也越未越大, 出現 各 各 或 跑死的現象。 了 各 在上 常情況 , 能在 同內重新提供 各, 提出了 各 各 的方案, 即部署 台 各 各 行 各 的各 程序, 你 力各 , 前提供 功能和 各的 各 、 即主和出現 不能 工作 , 上切換到 各 , 各 在 同內接管主和的資源, 外提供 各支持。  Looking at the wood, the system needs to provide more new and new functions. The same, the less the individual, the more or the phenomenon of running. In the usual situation, we can re-deliver each in the same place, and propose various schemes, that is, deploy the various procedures of each line of the station, and you must provide the functions and the various functions, that is, the main and the appearance cannot work. , switch to each, each in the same take over the main and resources, provide support.
要 各 的各 , 最主要的工作就是要 各 中 的 致, 即 的同步。 目前 各 基本都是通 于 各 本身的 同步工具 的同步, 且同步 也不是 于 各 生成的 操作信息。 因此現有 木中 各 的 各  For each and every one, the most important task is to synchronize each other. At present, each is basically synchronized by each of its own synchronization tools, and synchronization is not generated by each generated operation information. Therefore, each of the existing woods
同步的 需要 各 用的 同步工具未 , 增 了 各 各 操作的成本。 內容 Synchronization requires the use of different synchronization tools, increasing the cost of each operation. Content
有 于此, 本 的主要目的在于提供 神岡 同步的 方法 及裝置, 不需要 用的 同步工具即 各 各  In view of this, the main purpose of this is to provide a method and device for synchronizing the gods, and the synchronization tools that are not needed are
的 同步。 解決上 木 , 本 的 木 是 的 Synchronization. Solve the wood, the wood is
神岡 同步的 方法, 包括  The method of synchronization of the gods, including
,
于 的 操作信息, 生成 的數 操作  Operation information, generated number of operations
將 主和的數 操作 各  The main sum operation
各 收到的 操作 行各和數 的同步 。 所述生成的數 操作 是 于 各 的數 操作 和/ 或,  Each received line of operations is synchronized with each number. The generated number operations are for each number of operations and/or
所述 的數 操作信息包括 扶行存儲 的操作信息和更新 的操作信息。  The operation information includes the operation information stored and the updated operation information.
所述 于 各 分數 操作 的策略包括 則 各管理容器中 的全局 各 未唯 杯 各  The strategy described in each fractional operation includes the global non-only cups in each management container.
果是 于不在 各中 的數 連接未生成 操作 , 則 用數 連接 于同 介 連接的提交或 次數 的 合未唯 杯 各。  If the number of connections that are not in each connection is not generated, the number of connections or the number of times connected to the peer connection is used.
所述 各 收到的 操作 行各和數 的同步 , 包括  Synchronizing the sums of the received operation lines, including
于各 操作 , 果存在全局 各 , 則以 全局 各 作力其數 各 , 果不存在全局 各 , 則以 連接 于同 介 連接的提交或 的組合作力其數 各  For each operation, if there is a global one, the number of each force is global, and if there is no global, the number of commits or combinations connected to the peer is
各 在 的數 各 介連接 , 連接 的  Each number is connected and connected
妳到 的數 連接的映射 于各 操作 , 各 取出 的 連接 , 然 操作 志中的 你取出 于 源的 連接, 通 連接 操作 的 。 Map of the number of connections For each operation, the connection is taken out, and the connection in the operation is taken out from the source, and the connection is operated.
方法近包括 采用多同步 各 的方式未 各 的同步操作。  The method includes the simultaneous operation of multiple synchronization methods.
利用  Use
信息, 包括 通迂包裝模式將 需要 的 連接 于接 的包裝, 然 再 由 相 的 操作。 神岡 同步的 裝置, 包括  The information, including the overnight packaging mode, will be required to connect to the package, and then the phase operation. Kyooka Synchronized device, including
敖搪 操作 , 于利用主和 提供的 接 主和的 操作信息  敖搪 Operation, using the information of the master and the supplied master
操作 生成 , 于 于 的 操作信息, 生成主和 的 操作  The operation generates the operation information, and generates the main operation.
操作 , 于將 主和的 操作 各 操作 , 于根 各 收到的 操作 行各 的同步 。  Operation, in the operation of the main and the operation, the synchronization of each operation line received at the root.
的 操作信息包括 扶行存儲 的操作信息和更新 的操作信息 和/或,  The operational information includes operational information stored and updated operational information and/or,
生成的 操作 是 于 各 的 操作 。 信息, 包括 通迂包裝模式將 需要 的 連接 于接 的包裝, 然 再 由 相 的 操作。  The resulting operation is for each operation. The information, including the overnight packaging mode, will be required to connect to the package, and then the phase operation.
于 各 操作 的策略包括 則 各管理容器中 的全局 各 未唯 杯 各 果是 于不在 各中 的 連接未生成 操作 , 則 連接 于同 介 連接的提交或 Strategies for each operation include Then, each of the global management containers in the management container is not connected to each other, and is connected to the submission of the same connection or
的組合未唯 杯 各。  The combination is not the only one.
操作 包括  Operation
敖搪 各 子 , 于 于各 操作 , 果存在全局 各 , 則以 全局 各 作力 各 , 果不存 在全局 各 , 則以 連接 于同 介 連接的提交或 的組合作力 各  敖搪 敖搪 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
連接 子 , 于 各 在 的 各 介連 接 , 連接 的 你到 的 連接的映射 子 , 于 于各 操作 , 各 取出 的 連接 , 然 操作 志 中的 你取出 于 源的 連接, 通 連接 操作 的 。  The linker, the connection map of each connection to each connection, the connection to which you are connected, the connection that is taken out for each operation, and the connection that you take out from the source in the operation, and the connection operation.
操作 在將 主和的 操作 各和 用主各和 同的消息 成功 和制。  The operation succeeds in making the main and the operations of the master and the same message.
本 的有益效果力  Beneficiary power
本 , 利用主和 提供的 接 主和 的 操作信息, 的主和的 操作信息生成基于 各 的 操作 , 將 操作 送到各 , 各  Ben, using the main and the provided operational information of the master and the operation information, the main operation information is generated based on each operation, and the operation is sent to each, each
操作 的 操作, 因此本 提供的 各 各  Operation of the operation, therefore each of the
同步的 方法及裝置, 不需要 用的 同步工具即 各 Synchronization method and device, synchronization tools that are not needed
的 同步, 了 各 各 各 操作的 用, 且本 近具有 , 于 使用的特 。 另外, 本 中的 路建立策略和 操作 和 策略, 及 刪除已 完成的 操作 , 而防止占 用太多 同 各和 同的 、 和制防止了 操作 的 刪除 需要 的 操作 的重新定位能 兔由于 造成的 丟失 各 往主和的 信息比較少, 降低了 效 率的影 。 說明Synchronization, the use of each operation, and the near, the use of special. In addition, the road establishes policies and operations and policies, and deletes the completed operations, and prevents the relocation of the operations required to take up too many of the same and the same, and prevents the operation from being deleted. There is less information about the main and the main, reducing the impact of efficiency. Description
1是本 明中 各 各 同步的 方法流程示意 2是本 明中 操作 路建 示意 1 is the schematic flow chart of each synchronization method in the present invention.
3是本 明中 各 各 同步的 裝置的 示意  3 is a schematic representation of each of the synchronized devices in the present description
休 方式 Hugh way
下面結合 和 休 方式 本 步 細說明。  The following is a detailed description of this step in conjunction with the Hugh method.
在目前的 管 統 的 都是通 的 接 , 而 接 的 則是由各 商提供。 以 J BC(JaVa aaBase Co ec v y, JaVa 連接)接 和JBoss ( J2EEJaVa 2 a O E e seEd o , JaVa2平台 ) 各 ) , 想 要 , 首先通 JBoss的Jca (J2EECo eco ach ec e, J2EE 連接器 ) 連接接 , 然 再 或操作, 且, Jca返 的依然是J BC的 接 ,也 就是說 休的 是透明的,因此可以考慮在Jca返 的 連接上通 包裝模式再封裝 操作 和日 汞的 , 以 在 各 必須的 操作信息。 另 方面, 操作和 事各是 不可分的, 因此需要在包裝的 連接中 分出 各。 In the current management system, all are connected, and the ones are provided by various businesses. J BC (JaVa aaBase Co ec vy, JaVa connection) and JBoss (J2EEJaVa 2 a OE e seEd o , JaVa2 platform)), I want, first pass JBoss Jca (J2EECo eco ach ec e, J2EE connector) Connected, then or operate, and Jca is still connected to J BC, which means that Hugh is transparent, so you can consider the package-mode repackaging operation and the daily mercury on the Jca connection. In each of the necessary operational information. On the other hand, operations and things are inseparable, so they need to be separated in the package connection. Each.
本 方案 首先 操作信息 生成、 汞 于 各的數 操作 , 然 將 操作 到各 在各 上解析數 操作 , 最終 增量 操作, 以 各 各和數  This scheme first operates the information generation, mercury in each number of operations, and then operates on each of the parsing operations, the final incremental operation, with each sum
同的 同步。 The same synchronization.
1是本 明中 各 各和數 同步的 方法流程示意 , 于說明, 本 中引 了 操作 汞組件, 組件, 接收組件, 以及 分析 組件的概 念。 其 操作 汞組件和數 組件 于主和, 接收組件和數 分析 組件 于各 。 1 is a schematic flow chart of the various sums and synchronizations in the present specification. For the purpose of illustration, the concepts of operating mercury components, components, receiving components, and analyzing components are cited. It operates on mercury components and components in the main and receiving components and the number analysis components.
1 所示, 本 各 各和數 同步的 方法流程包 括  As shown in Figure 1, the method flow of each and every synchronization includes
 Za
1、 操作 汞組件 存儲 的 或 、 、 的 SQ (ST c edQ eTy a g age, 化 言)  1. Operation of the mercury component stored in or , SQ (ST c edQ eTy a g age, chemical)
2、 操作 汞組件 于 到的 SQ 或者存儲 生成數 操作  2. Operation Mercury component to SQ or storage generation number Operation
3、 操作 汞組件將 操作 汞到  3. Operation Mercury components will operate Mercury to
組件約定的主和日志文件 Component-prescribed master and log files
4、 在 操作和 汞 操作 , 向 包裝的數 連接透明 操作, 理不 的  4. In operation and mercury operation, connect transparently to the number of packages, not
5、 組件 操作 汞組件約定的主和 日志文件中 操作 , 將 接收 組件。  5. Component Operation The operations in the master and log files of the mercury component are agreed upon and the component will be received.
各 1、 接收組件接收未自主和的 操作 , 將 操作 分析 組件約定好的各和日志文件 each 1. The receiving component receives the operation that is not autonomous, and will operate the analysis component to agree on each log file.
2、 分析 組件 接收組件約定好的各和日志文 件中 操作 2, analysis component Receive component agreed to each and in the log file operation
3、 分析 組件分析 的 操作 ,  3. Analyze the operation of component analysis,
 Each
4、 分析 組件 各 操作。  4. Analyze component operations.
下面 本 中涉及的各 步 。  The steps involved in this section below.
、 操作的  Operational
情況下 都是通 接 的方式 連接, 本 包裝模式將 需要 的 連接 于接 的包裝 , 再 由 相 的 操作, 包裝的目的 是 了 , 且 的 連接依然是接 的方式, 就不 到 。  In the case of a connection, the package mode will be connected to the connected package, and then the operation of the phase, the purpose of the package is, and the connection is still connected, not to.
的 操作可以分力 最終可以特 SQ 的 操作和 行存儲 的 操作, 于 行存儲 的 操作, 全部 而 于 SQ 操作, 由于 操作不 中的 , 所以只需要 、 、 更新  The operation can be divided into the operation of the SQ and the operation of the line storage, the operation of the line storage, all of the operations of the SQ, because of the operation, only the need, the update
的操作。  Operation.
二、 生成基于 各的 操作 志  Second, generate based on each operation
力了 操作的事各 各和解析 的  Forced to operate and analyze each
的 連接, 在 汞 操作 , 除了 的 SQ 或存儲 需要 汞 外, 近需要 汞其他相 內容, 例 你。  The connection, in the operation of mercury, in addition to the need for SQ or storage of mercury, the need for other phases of mercury, for example.
有沒有事各控制的角度, 連接可以 分力 矣。 下面分別 矣 連接 何生成基于 各的 操作 。 ( )在事各中 的 連接 There is no point of control, and the connection can be divided. The following is a separate connection to generate an operation based on each. ( ) the connection in each matter
般都 有自己的事各和制, 比 很多  I have my own things and systems, more than a lot.
各 都提供了事各管理容器未管理 各。 于 存在于 各 中 的 操作, 本 在包裝 連接 , 先 各管理容器中 全 5 各 ( oba ), 然 將Goba 存在包裝 的 連接 , 果包含多 連接, 則各 連接可能 不同 源的 各, 因此在 連接中都 Goba 。 , 不 介 各 包含多少 不同的 連接, 多少 不同的 , 都只需要通 存在各 連接中的Goba 就能 唯 杯 介 各。 Each provides a management container that is not managed. For the operations that exist in each package, the package is connected, and each management container has 5 (oba) in each management container. However, if there is a connection in the package of Goba, if multiple connections are included, each connection may be different from each other, so the connection is Zhongdu Goba. , not including how many different connections, how many different, only need to pass through the Goba in each connection can be the only one.
( ) 不在 各中 的 連接  ( ) is not in each connection
于不是在 各中 的 連接, 可以 同 介 連接的 提交或 操作未 各。 同 , 由于 介 連接可能 多 次 于 操作的 , 所以 于 矣 連接需要在包裝 的 連接中 連接 (Co ec o )和 連接5 或 操作的 (Go p ), 行 次提交或 操作, Go p 1, , 只需要通 Co ec o +Go p 的組合形式就能 唯 杯 介 各。  For connections that are not in each, the commit or operation that can be connected to the peer is not the same. Similarly, since the connection may be operated multiple times, the connection needs to be connected in the package connection (Co ec o ) and the connection 5 or the operation (Go p ), the line commit or operation, Go p 1, You only need to use the combination of Co ec o + Go p to make a cup.
在 汞 操作 , 是把 汞到約定的主和日志文件 操作可能 很 , 果羊 , 就有可能 In the operation of mercury, it is possible to put mercury into the agreed master and log files.
0 的效率。 本 中 者消 者模式 化 操作 的 汞 者 將 到的 操作 指定的 , 同 消 者 中 操作 將 汞到主和日 志文件 , 策略 效率的影 就 得非常的小, 甚至 可以忽略。 同 由于使用 列作力 操作 的中同 ,5 在主和日志文件中 汞的 操作 到的 操作 順序完全 致, 就能 兔在各 操作 由于 SQ 或存儲 的順序不 致而造成的 失 。 0 efficiency. In this case, the mercury-operated model of the operation of the mercury will be assigned to the operation, and in the same consumer, the mercury will be transferred to the main and log files, and the effect of the strategy efficiency will be very small or even negligible. With the same operation as the column operation, 5 operations of mercury in the main and log files The order is complete, and the rabbit can lose in each operation due to the SQ or the order of storage.
三、 主和將 操作 到各  Third, the main and will operate to each
操作 主和到各 的 是 同步中非常重要的 介 , 了 在主和 的 操作在各 也 的 , 必須 志在主各和 同 的 。  The operation of the master and each is a very important interface in the synchronization, the operation in the main and the other, must be in the main and the same.
操作 的因素有很多, 包括主和的  There are many factors in operation, including the main and
組件未 或不能 常工作, 各 的 接收組件未 或不 能 常工作, 各和 同的 路不通或不穩定、 出現  The components are not working or not working properly, and the receiving components are not working or not working properly.
同 的情況等, 的說未就是不能建立穩定的 各和 同 操作 。 于 情況, 本 方案 各和 同的消息 和制 以解決。 下面 各 操作 的建立以及 操作 的可靠 。 In the same situation, etc., it is not that stable and different operations cannot be established. In this case, the program and the same message and system are resolved. The following operations are established and the operation is reliable.
( )各 作力建立 操作 的 各 ( ) each effort to establish operations
( )主和作力建立 操作 的客戶  ( ) The master and the customer who established the operation
( )各 在指定的 上監所未自于主和的 , 主和不 和各 , 路建立成功以后 各和 同 、 接收 操作 以及 信息, 同 在主各和 同 消息, 果 握手失 , 則說明主各和 同的 不通或 不能 常工作, 此  ( ) Each of the designated supervisory offices is not self-contained, the main and the unsuccessful, the roads are successfully established, the same, the receiving operation and the information, the same in the main and the same message, if the handshake is lost, the main Everything is the same or not working, this
, 同 果是主和就重新 向各 , 果 是各 則 監所未自于主和的 , 直到 操作  , the same is the main and the re-directed to each, if the prisons are not self-contained until the operation
再次建立成功 Successfully established again
于各 返 主和的 操作 接收的 信息, 果各  Information received by each returnee and operation
操作 都生成 返 主和的 信息, 同 , 主和向 各 操作 等待, 直到各 返 信息再向 各 下 操作 , 就相 于將 的吞 量增 了 倍, 上主和等待 信息的 同, 操作 的 效率很可能 減半。 因此本 下面的策略 各和 同 操作 的 以及 。The operation generates the information of the returning master and the same, the main and the waiting for each operation, until the return information In each operation, the throughput is doubled, and the efficiency of the operation is likely to be halved. Therefore, the following strategies are the same as those of the same operation.
1、 主和的 操作 汞組件分文件 汞 操作 , 主和的 組件和主和 操作 汞組件約定的主 和日志文件 汞文件的下列內容  1. Master and operation Mercury component sub-file Mercury operation, main and components and main and operation Mercury component agreed master and log files The following contents of the mercury file
文件 格式 統 的前 十文件  The top ten files of the file format system
文件的行 約定固定的行  The line of the file
文件 介文件 滿固定的行 以后, 將文件 1 以文件 格式生成下 介 志文件。  After the file is full of fixed lines, file 1 is generated in file format to generate the next file.
2、 主和的 組件向各 的 接收組件  2, the main and components to each receiving component
操作 , 上下列內容  Operation, the following content
文件 、 操作 志在文件中的行 信息 唯 杯 操作  File, operation, line information in the file, only cup operation
刪除文件 的 志文件的 果 到約定的行 則 Delete the result of the file of the file to the agreed line
( T e ), 否則 □a se )  (T e ), otherwise □a se )
3、 各 的 接收組件收到 操作 , 志 文件中解析出文件 、 操作 志在文件中的行 、 刪除文件 的 志文件的 信息, 且將文件 、 操作 志 在文件中的行 更新到持久化的 中作力成功接收的最 操 作 的 汞 , 于 各 。 同 , 果 到 刪除 文件 的 志文件的 e, 則各 就將文件 返 主和, 主和收到以后刪除 文件 的 操作 志文件。 3. Each receiving component receives the operation, parses out the file in the file, manipulates the line in the file, deletes the information of the file in the file, and updates the line of the file and operation in the file to the persistent file. The most operational mercury that is successfully received, each. Similarly, if the e of the deleted file is deleted, the file will be returned to the master, and the master will receive the operation file of the file later.
4、 各 收到主和的 操作 的 求 , 已 接收到的最 操作 的 (文件 十 操作 志在 文件中的行 ), 將 返 主和, 主和 文件 、 操作 志在文件中的行 信息, 定位到下 需要 的 操作 , 休 2所示。 4, each request for the operation of the main and the The most received (line of the file ten operations in the file), will return the main and the main and file, the operation of the line information in the file, to the desired operation, as shown in Hugh 2.
上面的 路建立策略和 操作 和 策略, 取得 下的效果 及 刪除已 完成的 操作 , 而 防止占用太多 同 各和 同的 、 和制防止了 操作 的 刪除 需要 的 操作 的重新定位能 兔由 于 造成的 丟失現 各 往主和的 信息比較少, 降低了 效率的影 。  The above road establishes the strategy and operation and strategy, obtains the effect and deletes the completed operation, and prevents the relocation of the operation required to take up too many of the same and the same, and prevents the deletion of the operation. There is less information lost to the main and the main, reducing the impact of efficiency.
各 的 接收組件將接收到的 操作 各 汞到 不同的 志文件中 同 各 的 分析 組件。  Each receiving component will receive the operation of each mercury into the same analysis component in the different documents.
、 各 主和的 操作 的分析和  Analysis of each and every operation
各 操作 的分析和 由 分析 組件未完成, 主要完成 工作  Analysis of each operation and analysis of the components are not completed, mainly to complete the work
( ) 操作 的分析 于每 操作 , 中 操作 的 Co ec o Go p 和Goba , 然  ( ) analysis of operations in each operation, Co ec o Go p and Goba, of course
信息 造出 各 , 方法 下 果Goba 存在, 則使 用 Goba 作力 各 , 否則使用 Co ec o +Go p 作力 各 。 將所有 各 致的 操作 在同 介 各中 , 各的 是 各 的提交或 操作。  If the information is created, and the method exists, Goba exists. Goba is used for each force, otherwise Co ec o + Go p is used. All the operations are in the same place, each of which is a submission or operation.
( )分析 的 操作 的 此 是 同步的最 介 , 在 在 的 各 介連接 , 連接 的 你到 的 連接的映射。 于 操作 , 取出 的 各 , 各 取出 的 連接 , 然 再 志中的 你 取出 于 源的 連接, 最 連接 操 作 的 。 ( ) This is the most intervening operation, in the connection of each medium, the connection to the connection you are connected to. Yu Operation, each of the removed, each removed connection, and then you take the connection from the source, the most connected operation.
在 用本 了提高 同步的效率, 可以 多同步 各的方式 本 , 方式只需要 上 木 稍 即可 同步 各 將有 的 在同 介同步 各中, 同步 各取 介唯 的 各 你, 各同步 各原則上 、 。  In the use of this to improve the efficiency of synchronization, you can synchronize the various ways, the only way you need to synchronize on the wood, you will be able to synchronize each other in the same medium, synchronize each of you, each synchronization principle On, .
同步 各均有自己的組件  Synchronization each has its own components
操作 汞組件 組件可以 各 同步 各共享, 前 提是 不同的同步 各將 操作 汞到不同的主和日志文 件中, 各 同步 各的文件 汞可以 下面的規則 同步 各 你 十文件 .1Og  Operation Mercury components can be shared separately from each other, with different synchronizations. Each will operate the mercury into different master and log files, and each file can be synchronized with the following rules. 1Og
組件 同步 各部署自己的 組件, 組件的工作方式同羊同步 各 的工作方式 , 它們 同的 在于 需要 的 操作 的主和日志文件的命名規則的不同以及 各 不同的 接收組件建立  Component Synchronization Each deploys its own components, and the components work in the same way as the sheep. They are the same in the naming rules of the main and log files required for the operation and the different receiving components.
接收組件 同步 各部署自己的 接收組件, 組件的工作方式同羊同步 各 的工作方式 , 它們 同的 在于 主和不同的 組件建立  Receive component synchronization Each deploys its own receiving component, the way the components work in the same way as the sheep, the same way that the main and different components are built.
分析 組件 同步 各部署自己的 分析 組件, 組件的工作方式同羊同步 各 的工作方式 。  Analysis Component Synchronization Each deploys its own analysis component, which works in the same way as the sheep.
以上丙方面的改 , 多同步 各 的 同步, 大 大提高了 同步的效率。 3是本 明中 各 各 同步的 裝置的 示意 3 所示, 裝置 休包括 操作 、 操作 生 成 、 操作 和操作 。 The above changes in the C aspect, the synchronization of multiple synchronizations, greatly improved the efficiency of synchronization. 3 is a schematic representation 3 of each of the synchronized devices in the present description, including device operation, operation generation, operation, and operation.
其 操作 , 于利用主和 提供的 接 主和的 操作信息, 的主和的 操作信息包括 行存儲 的操作信息和更新 的操作信息。 其 休 方案 包括 通迂包裝模式將 需要 的 連接 于接 的包裝, 然 再 由 相 的 操作, 即 主和 操作的 。  The operation information of the master and the operation information of the master and the supplied master and the operation information includes line-stored operation information and updated operation information. The rest scheme includes the overnight packaging mode that will be required to connect to the package, and then the phase operation, ie the main and the operation.
操作 生成 , 于 于 的 操作信息, 生成主和的 操作 。 生成的主和的 操作 是 于 各 的 操 作 , 于 各 操作 的策略包括  The operation generates the operation information, and generates the main and the operation. The generated master and operation are for each operation, and the strategy for each operation includes
果是 于在 各中 的 連接未生成主和的 操作 , 則 各管理容器中 的全局 各 未唯 杯 各 , 則 連接 于同 介 連接的提交或  If the connection in each of the connections does not generate a primary sum operation, then each of the management containers in the global pool is not the only cup, then the connection to the peer connection or
的組合未唯 杯 各。  The combination is not the only one.
操作 , 于將主和的 操作 各 。 操作 在將主和的 操作 各 , 了 各和 同的消息 成功 和制, 以 將主和的 操作  Operation, the main and the operation of each. Operation in the main and the operation, each and the same message success and system, to the main and operation
各 。 Each.
操作 , 于將各 收到的 操作 存 各 。  Operation, to save each received operation.
操作 包括 敖搪 各 子 、 連接 子 和 子 。 各 子 于 于各 操作 , 果 存在Goba ,則以 Goba 作力 各 , 果其不 存在Goba , 則以 連接 于同 介 連接的提交或 的組合、 即Co ec o +Go p 作力 各 連接 子 于 各 在 的 各 介連 接 , 連接 的 你到 的 連接的映射 子 于 于各 操作 , 各 取出 的 連接 , 然 操作 志中的 你取出 于 源的 連接, 最 連接 The operations include 敖搪 each child, a linker, and a child. Each child is in each operation. If there is a Goba, then Goba is used to force each other. If there is no Goba, then the combination of the commit or the connection connected to the same media, ie Co ec o + Go p, is used to connect each link. Each connection is connected, the connection to which you are connected is mapped to each operation, the connection is taken out, and the connection in the operation is taken out from the source, the most connected
操作 的 。  Operational.
以上 的 休 , 本 的目的、 木 和有益效果 了 步 細說明, 注意的是, 以上 力本 的 休 而 本領域的 木 可以 本 行各 和 而不 本 的精神和 。 , 倘若本 的 修改和 于本 要求 的 木 及其等同 木的 則本 也意囤包含  The above-mentioned Hugh, the purpose, the wood and the beneficial effects are explained in detail, and it is noted that the above-mentioned powers of the field can be different from the spirit of the field. , if the modification of this paragraph and the wood of this requirement and its equivalent are also included
和 在內。 And within.

Claims

要求 Claim
1、 神岡 同步的 方法, 其特 在于, 包括  1. The method of synchronizing the gods, which is characterized by
于 的 操作信息, 生成主和的數 操作 Operation information, generating the number of primary and
將 的數 操作 各  Number of operations
各 收到的 操作 行各和數 的同步 。  Each received line of operations is synchronized with each number.
2、 要求 1所述的方法, 其特 在于, 2. The method of claim 1 is characterized in that
生成的數 操作 是 于 各 的數 操作 和/ 或,  The resulting number of operations is for each number of operations and / or
的數 操作信息包括 扶行存儲 的操作信息和更新 的操作信息。  The number of operation information includes operation information for the storage and updated operation information.
3、 要求2 的方法, 其特 在于, 于 各 分數 操作 的策略包括  3. The method of claim 2, characterized in that the strategy for each fractional operation includes
果是 于在 各中 的數 連接未生成 操作 , 則 各管理容器中 的全局 各 未唯 杯 各  If the number of connections in each of the connections is not generated, then each of the management containers is not the same.
果是 于不在 各中 的數 連接未生成所述 操作 , 則 用數 連接 于同 介 連接的提交或 次數 的組合未唯 杯 各。  If the number is not in each of the connections, the combination of the number of commits or times connected to the peer connection is not the only one.
4、 要求3所述的方法, 其特 在于 各 收到的 操作 行各和數 的同步 , 包括  4. The method of claim 3, characterized in that each received operation line is synchronized with each other, including
吋于各 操作 , 果存在全局 各 , 則以 全局 各 作力其數 各 , 果不存在全局 各 , 則以 連接 于同 介 連接的提交或 次數 的組合作力其數 各 各 在 的 各 介連接 , 連接 的 你到 的 連接的映射 For each operation, if there is a global one, the number of each effort is global, and if there is no global, the number of cooperations for the number of submissions or times connected to the same connection is used. Each connection, the connection to the connection you are connected to
于各 操作 , 各 取出 的 連接 , 然 操作 志中的 你取出 于 源的 連接, 通 連接 操作 的 。  For each operation, the connection is taken out, and the operation in the operation is taken out from the source connection.
5、 要求 1至4中任 所 的方法, 其特 在于, 方法近 包括 采用多同步 各 的方式未 各 的同步操作。  5. The method of any of claims 1 to 4, characterized in that the method comprises a simultaneous operation in which multiple synchronizations are not used.
6、 要求 1至4中任 所 的方法, 其特 在于, 利用主 提供的 接 主和的 操作信息, 包括 通迂包裝模式將 需要 的 連接 于接 的包 裝, 然 再 由 相 的 操作。  6. The method of any of claims 1 to 4, characterized in that it utilizes the operational information provided by the master, including the overnight package mode to connect the required packages to the package, and then the phase operation.
7、 神岡 同步的 裝置, 其特 在于, 包括  7. The device of the oscillating synchronization, which is characterized by
敖搪 操作 , 于利用主和 提供的 接 主和的 操作信息  敖搪 Operation, using the information of the master and the supplied master
操作 生成 , 于 于 的 操作信息, 生成主和 的 操作  The operation generates the operation information, and generates the main operation.
操作 , 于將 主和的 操作 各 操作 , 于根 各 收到的 操作 行各 的同步 。  Operation, in the operation of the main and the operation, the synchronization of each operation line received at the root.
8、 要求7所述的裝置, 其特 在于,  8. The apparatus of claim 7 wherein:
的 操作信息包括 扶行存儲 的操作信息和更新 的操作信息 和/或,  The operational information includes operational information stored and updated operational information and/or,
生成的 操作 是 于 各 的 操作 。 The resulting operation is for each operation.
9、 要求7所述的裝置, 其特 在于, 利用主和 提供的 接 主和的 操作信息, 包括 通迂包裝模 式將 需要 的 連接 于接 的包裝, 然 再 由 相 的 操作。 9. The device of claim 7, characterized in that the main and The provided master and operation information, including the overnight package mode, will be required to connect to the package, and then the phase operation.
10、 要求 8 的裝置, 其特 在于, 于 各 操作 的策略包括 則 各管理容器中 的全局 各 未唯 杯 各  10. The device of claim 8 is characterized in that the strategy for each operation includes the global non-only cups in each management container.
果是 于不在 各中 的 連接未生成 操作 , 則 連接 于同 介 連接的提交或  If the connection is not generated in each of the connections, then the connection to the peer connection or
的組合未唯 杯 各。  The combination is not the only one.
11、 要求 10 的裝置, 其特 在于, 操作  11. The device of claim 10, characterized in that it operates
包括  Including
敖搪 各 子 , 于 于各 操作 , 果存在全局 各 , 則以 全局 各 作力 各 , 果不存 在全局 各 , 則以 連接 于同 介 連接的提交或 的組合作力 各  敖搪 敖搪 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
連接 子 , 于 各 在 的 各 介連 接 , 連接 的 你到 的 連接的映射 子 , 于 于各 操作 , 各 取出 的 連接 , 然 操作 志 中的 你取出 于 源的 連接, 通 連接 操作 的 。  The linker, the connection map of each connection to each connection, the connection to which you are connected, the connection that is taken out for each operation, and the connection that you take out from the source in the operation, and the connection operation.
12、 要求7至11任 所 的裝置, 其特 在于, 操作 在將 主和的 操作 各 , 用主各和 同的消息 成功 和制。  12. The device of any of the requirements of 7 to 11 is characterized in that the operation is successful in the main and the operation, using the main message and the same message.
PCT/CN2010/073848 2009-11-26 2010-06-11 Method and apparatus for implementing data synchronization in network management WO2010148966A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2009102242644A CN102081611B (en) 2009-11-26 2009-11-26 Method and device for synchronizing databases of master network management system and standby network management system
CN200910224264.4 2009-11-26

Publications (1)

Publication Number Publication Date
WO2010148966A1 true WO2010148966A1 (en) 2010-12-29

Family

ID=43385991

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/073848 WO2010148966A1 (en) 2009-11-26 2010-06-11 Method and apparatus for implementing data synchronization in network management

Country Status (2)

Country Link
CN (1) CN102081611B (en)
WO (1) WO2010148966A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786806A (en) * 2014-12-15 2016-07-20 钟叶青 Synchronizing system for database conversion and method for same

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885986B (en) * 2012-12-21 2017-12-19 阿里巴巴集团控股有限公司 The synchronous method and apparatus in master/slave data storehouse
CN105306237A (en) * 2014-06-26 2016-02-03 中兴通讯股份有限公司 Distributed management method and device for network management
GB2533086A (en) * 2014-12-08 2016-06-15 Ibm Controlling a multi-database system
CN105989139A (en) * 2015-02-27 2016-10-05 阿里巴巴集团控股有限公司 Affair synchronization method and equipment
CN106681179A (en) * 2015-11-10 2017-05-17 北京精微智能科技有限公司 Real-time synchronization data acquisition device
CN105491106A (en) * 2015-11-18 2016-04-13 中国石油天然气集团公司 Real-time synchronization system and method for oil well logging master-slave database systems
CN105260486A (en) * 2015-11-23 2016-01-20 郑州悉知信息科技股份有限公司 Data processing method, device and system
CN106855860A (en) * 2015-12-08 2017-06-16 阿里巴巴集团控股有限公司 Method and apparatus for creating master/slave data storehouse
CN106997352A (en) * 2016-01-22 2017-08-01 晖保智能科技(上海)有限公司 A kind of master-slave synchronisation management method
CN105787129B (en) * 2016-03-29 2020-06-23 联想(北京)有限公司 Data storage method and electronic equipment
CN106776754B (en) * 2016-11-14 2020-05-15 东软集团股份有限公司 Data acquisition method, device and system
CN106897365B (en) * 2017-01-11 2020-02-14 北京市天元网络技术股份有限公司 Data processing method and device
CN108363641B (en) * 2017-01-26 2022-01-14 华为技术有限公司 Main and standby machine data transmission method, control node and database system
CN108845866B (en) * 2018-06-28 2021-06-29 创新先进技术有限公司 Method and apparatus for processing distributed transactions
CN110807062B (en) * 2018-08-02 2021-06-22 中兴通讯股份有限公司 Data synchronization method and device and database host
CN109614444B (en) * 2018-11-12 2023-05-16 武汉达梦数据库股份有限公司 Data initialization method during data synchronization
CN109542682B (en) * 2018-11-16 2021-03-30 上海达梦数据库有限公司 Data backup method, device, equipment and storage medium
CN110795413A (en) * 2019-10-30 2020-02-14 珠海港联科技有限公司 Database operation interface service system with log recording function
CN112787868B (en) * 2021-01-29 2023-06-30 杭州迪普科技股份有限公司 Information synchronization method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510575A (en) * 2002-12-25 2004-07-07 ����ͨѶ�ɷ����޹�˾ High-efficient administration method for database connection
CN101184106A (en) * 2007-11-30 2008-05-21 北京航空航天大学 Associated transaction processing method of mobile database
CN101216843A (en) * 2008-01-17 2008-07-09 四川大学 Multi-point multi-level data real time backup method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040153383A1 (en) * 2003-01-31 2004-08-05 K Venugopal Rao Transaction management with last agent optimization
US8650155B2 (en) * 2008-02-26 2014-02-11 Oracle International Corporation Apparatus and method for log based replication of distributed transactions using globally acknowledged commits
CN101408899B (en) * 2008-11-21 2010-09-29 北京中企开源信息技术有限公司 Method and apparatus for switching website multiple data sources

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510575A (en) * 2002-12-25 2004-07-07 ����ͨѶ�ɷ����޹�˾ High-efficient administration method for database connection
CN101184106A (en) * 2007-11-30 2008-05-21 北京航空航天大学 Associated transaction processing method of mobile database
CN101216843A (en) * 2008-01-17 2008-07-09 四川大学 Multi-point multi-level data real time backup method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786806A (en) * 2014-12-15 2016-07-20 钟叶青 Synchronizing system for database conversion and method for same
CN105786806B (en) * 2014-12-15 2018-12-04 钟叶青 The synchronization system and its method of database conversion

Also Published As

Publication number Publication date
CN102081611A (en) 2011-06-01
CN102081611B (en) 2012-12-19

Similar Documents

Publication Publication Date Title
WO2010148966A1 (en) Method and apparatus for implementing data synchronization in network management
KR101863398B1 (en) Method and system for synchronization mechanism on multi-server reservation system
CN105631028B (en) Database cluster function implementation method and system
TW202002587A (en) Block chain-based data processing method and device
CN102638566B (en) BLOG system running method based on cloud storage
WO2015192661A1 (en) Method, device, and system for data synchronization in distributed storage system
JP2015504202A (en) Method, system, and computer program for synchronous update across cluster file system
CN109889480A (en) Based on container and the totally-domestic of cloud platform fusion cloud platform management method and system
TW201246103A (en) Category information transmission method, system and apparatus
WO2019057055A1 (en) Task processing method and apparatus, electronic device, and storage medium
CN105912389A (en) Technique for implementing virtual machine transition system in hybrid cloud environment on basis of data virtualization
CN103685568A (en) Platform service application deployment method and system of PAAS (Platform As A Service) platform under cloud computing environment
CN101895536A (en) Multimedia information sharing method
CN103258149A (en) Online reading system and method based on cloud computing
KR101357135B1 (en) Apparatus for Collecting Log Information
CN112149079A (en) Planning review management platform based on micro-service architecture and user access authorization method
AU2014390651A1 (en) Sending bills
CN112101942A (en) Transaction request processing method, system, device and equipment based on block chain
CN109144785A (en) Method and apparatus for Backup Data
CN111915301A (en) Data processing method and device based on block chain, electronic equipment and readable medium
CN112351106B (en) Service grid platform containing event grid and communication method thereof
CN105933396B (en) A kind of each canalization interface of collaboration realizes the method and system of long flow
CN103312808B (en) A kind of cloud operating system bus and communication means
CN111931133A (en) Permission control method based on B/S architecture
CN105956110A (en) Distributed file synchronization system and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10791472

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10791472

Country of ref document: EP

Kind code of ref document: A1