WO2010145277A1 - 源数据库和目的数据库之间数据同步的方法、装置及系统 - Google Patents

源数据库和目的数据库之间数据同步的方法、装置及系统 Download PDF

Info

Publication number
WO2010145277A1
WO2010145277A1 PCT/CN2010/071725 CN2010071725W WO2010145277A1 WO 2010145277 A1 WO2010145277 A1 WO 2010145277A1 CN 2010071725 W CN2010071725 W CN 2010071725W WO 2010145277 A1 WO2010145277 A1 WO 2010145277A1
Authority
WO
WIPO (PCT)
Prior art keywords
synchronization
source
teaching
sheep
synchronizing
Prior art date
Application number
PCT/CN2010/071725
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Priority to EP10788673.1A priority Critical patent/EP2472415A4/en
Priority to US13/258,244 priority patent/US8655836B2/en
Priority to BR112012008917-0A priority patent/BR112012008917A2/pt
Publication of WO2010145277A1 publication Critical patent/WO2010145277A1/zh
Priority to IN2888DEN2012 priority patent/IN2012DN02888A/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/273Asynchronous replication or reconciliation

Definitions

  • CR is mercury, and CR has a sub-specific operation on specific mercury in the source, which includes operations, lists, pre-, and
  • Source teaching will have a lot of CR for all purposes, source teaching Very often, the workload of CR is relatively large. content
  • the wood to be solved is a resource, a method, a system, and a purpose for synchronizing the source teaching and the purpose.
  • the synchronization device has the same second CR of CR, and the result is generated.
  • the sync device results in CR, the generated CR, causing the sync device to store the CR containing the CR word
  • the sync device will be the purpose of the CR.
  • Synchronization device results, CR, generated CR including
  • the synchronization device will work on the second CR CR
  • the synchronization device updates the force of the second CR, and covers each of the CRs to the phase of the second CR to generate a CR.
  • the synchronizing device covers each of the CRs to the phase of the second CR to generate CR.
  • the synchronizing device When the operating force of the CR is updated or deleted, and the operation of the second CR is deleted, the synchronizing device will work on the second CR CR
  • the synchronizing device will work on the CR CR
  • the synchronizing device removes the second CR, and the force CR
  • Synchronous device will be the purpose of CR
  • the sync device will be in batch mode, the purpose of the CR.
  • the synchronizing device uses the CR destination synchronizing device in batch mode, in the CR to the predetermined, the CR destination or
  • the synchronizing device is in batch mode to fix the CR in the same cycle.
  • Synchronization device including
  • Synchronization system including synchronization device, source teaching, and purpose, synchronization device includes
  • the synchronizing device is taught or aimed at the source or the source and the purpose.
  • the source teaching and the purpose are synchronized with the teaching. It is not that the active CR is a lot of purpose, but first in the synchronization device. Even if the source teaching is frequent, each time the sync device source teaches the CR to be inside the sync device, that is, whether the sync device has a second CR containing the word of the CR, the result sync device result, CR, the generated CR, The synchronized device causes the CR of the word containing CR to be stored, and the CR CR, compared to the existing wood, has a small workload.
  • 2 is the method of synchronizing the source and the purpose of teaching Indicated, 2, the method of synchronizing the source and the purpose of the teaching includes
  • Step 21 Synchronous device source teaches at least mercury (CR) and CR.
  • Step 22 The synchronization device has a second CR in its body, and the CR of the second CR is the same, and the result is generated.
  • Step 23 the synchronization device results, the CR, the generated CR, causes the synchronization device to store the C containing the CR word
  • Step 24 The synchronization device will have the CR purpose.
  • the source teaching and the purpose of synchronizing with the teaching not all the CR of the work are a lot of purpose, but first in the synchronization device, even if the source teaching is very frequent, each time the synchronization device source teaches the CR first in the synchronization device Internally, that is, the synchronization device has a second CR containing the word of the CR, generates a result synchronization device result, CR, the generated CR, so that the synchronization device stores the CR containing the word of the CR, and then
  • step 23 includes
  • the sync device stores CR in its body, acting C
  • the operation of the CR is inserted into the eT, and the operation of the second CR seT or the update dae, the second CR is forced to the CR
  • the operation of the CR deee, and the operation of the second CR dae, the second CR repair deee, force C step 24 can synchronize the device in batch mode, the CR purpose.
  • the synchronization device is in batch mode, the steps of the CR purpose
  • the CR is scheduled to be in the batch, the CR purpose or
  • Synchronous devices are fixed at the same cycle, in batches,
  • CR's C or. 3 is an illustration of the present synchronization device, 3, the synchronization device 30 described herein includes
  • the source teaching and the purpose of synchronizing with the teaching not all the CR of the work are a lot of purpose, but first in the synchronization device, even if the source teaching is very frequent, each time the synchronization device source teaches the CR first in the synchronization device Internally, that is, the synchronization device has a second CR containing the word of the CR, generates a result synchronization result, CR, the generated CR, so that the synchronization device stores the CR containing the word of the CR, and then the CR CR, the existing wood Compared to CR, the workload is small.
  • the operation of CR is inserted into se, and the operation of the second CR Se or update dae, insert the operation of the second CR as the CR CR into the seT, and the operation deee of the second CR will cover the dae of the second CR, and cover each of the CRs to the phase of the second CR to generate CR
  • the operation of the CR dae and the operation of the second CR seT or dae , covers the words in the CR to the phase of the second CR to generate CR
  • the operation of the CR deee, and the operation of the second CR dae, the second CR repair deee, the force C, the sheep 34 can be in batch mode, the purpose of the CR.
  • the sheep 34 can be in the CR to the scheduled, in batch mode, the CR purpose or every fixed same period, in batch mode, will be the CR purpose.
  • 4 is a schematic diagram of the synchronization system, 4 shows that the synchronization system includes synchronization devices 30, 40 and a destination 50, and the synchronization device 30 includes
  • the source teaching and the purpose of synchronizing with the teaching are not to make all the CRs of the work go to the purpose, but first in the synchronization device, even if the source teaching is very frequent, each time the synchronization device source teaches the CR, first in Inside the synchronization device, that is, whether the synchronization device has a second CR containing the word of the CR, generates a result synchronization result, CR, the generated CR, so that the synchronization device stores the CR containing the word of the CR, and then
  • CR CR compared to existing wood, CR has a small workload.
  • the synchronization device is in the source or purpose, or in the source and purpose.
  • the high-speed synchronization method of the image system includes the first-to-medium CR of the source teaching, the synchronization device, the CR of the mercury has already existed, and the CR , CR of Zhonghejing, so that only a certain CR is in the same phase, and then CR is directed to the destination.
  • the pattern looks like "shortage” a number of CRs in synchronization, and the CR existing in the upper part is the original mercury.
  • the synchronization device on the source and the size of the interface can be completely resident in the system memory.
  • the system is not enough to accommodate the pool size or can be stored.
  • Steps sourced by edo o) in CR, sent to .
  • step the CR is received, using the CR function that it has, the CR line is stored or .
  • the second divine power that is, the last time it will be sent to the destination The same, then it will be sent to the purpose.
  • the steps, the satisfaction of the fifth one, will be used in the purpose of batch execution.
  • This method needs to be introduced, and it is necessary to establish a set of management CR, and the CR exists in the same, if the CR is encountered, the CR is reduced in the middle of the CR first, and then the purpose is used and the quantitative god, CR Used and used batches of fixed wood, high speed.
  • 6 is the schematic diagram of the source teaching and the purpose of the synchronization method of the teaching, 6 shows that the other source teaching and the purpose of the synchronization method step
  • the steps can be connected to the source and the purpose, the software required for each operation and purpose, oc, c b, etc., the main and force synchronization device.
  • the steps, the size of the allocation can be completely resident in the memory, and the memory is limited enough to accommodate the pool size and can be stored on it.
  • Steps to establish a quick index in the hash or b Tee or such wood which can be used to quickly add, delete, repair, and CR mercury.
  • Step set up CR in the middle, take a break
  • Step inside CR, if it is not, then special If it has arrived, it will be locked, the new CR will be forbidden, and the batch will be used. All CRs will be used in the purpose, in the batch, under mercury. Completed, will be under the same mercury. Go to the step.
  • the steps are the same as the ones that were completed last time. If they are not, then the steps are executed. If it is, then the batch is used, and all the CRs are used for the purpose, which is encountered in the mercury batch. Complete, will be the same as the mercury, to the step.
  • Step , , CR is not new CR
  • Steps, using batches of fixed wood, will be CR high speed inside.
  • Step ten .
  • Step the inner element of any CR CR step, C storage.
  • Step the number of CRs inside, CR not.
  • the steps, the last completed to the present, have been the same, now.
  • Step ten lock, disable new CR.
  • Step 10 using the batching technology wood, the CR will be high speed inside.
  • Step 12 .
  • the method is the device phase, and the part not in the method refers to the phase portion of the device, which is not understood in the device. All or part of the steps in the method can be completed by hardware of the program instruction phase.
  • the program can be stored in a storable storage, the program is executed in a step including the above method, the storage, the disk, the only storage (eadO ye oy, RO) or the storage (Ra do Access e oy, RA).
  • the steps of each step cannot be used to limit the order of the steps, and in the ordinary wood in the field, the steps are first preserved under the premise of not making manufacturability.

Landscapes

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

Abstract

本发明公开了一种源数据库和目的数据库之间数据同步的方法, 包括: 同步装置从源数据库获取至少一个第一逻辑变化记录(LCR)及第一 LCR 的关键字;所述同步装置判断其自身是否存在关键字与第一 LCR的关键字 相同的第二 LCR; 所述同步装置根据所述判断结果, 对所述第一 LCR进行 处理, 生成处理后的 LCR, 使得同步装置仅存储一条包含所述第一 LCR的 关键字的 LCR; 所述同步装置将所述处理后的 LCR发送给目的数据库。 本 发明还相应地公开了一种源数据库和目的数据库之间数据同步的装置及系 统。本发明在源数据库和目的数据库进行同步时,能够减少数据传输量。

Description

和目的數 同 同步的方法、 裝置及 統 木領域
本 涉及教 領域, 特別涉及 源教 和目的 同教 同步的方法、 裝置及 統。 背景 木
1970 E. Codd博士提出最初的理 模型以 , 已 所有信息 統中必不可少的 施 , 其重要性 于操作 統, 今已 沒有 大型的 統 而存在。
在 中, 由于並各 的 和功能的 , 往往 介信息 統中 部署有多 , 而且 多 同需要 同合作 共享 , 就要求各教 同能 同步。 了 , 各主流 都推出了 己的 同步 木, 甲骨文 統有限公司 ( ac )的 S Tea s 軟件有限公司 ( ybas )的Rep ca o Seve 等, 因 1是侍統的 同步 示意 , 1所示, 抓取源教 的 edo o ) 中的 汞 ( ogca Cha geRecod, C ), 然 到目的 上按照 CR 生的順序 , 而 目的 致。
CR是 汞的 , CR休 了源教 中 特定 汞上的 次特定 操作 言 ( )操作, 其中內容包 了 操作 、 列表、 前 、 、
、 等, 依 信息, 就可以將 操作 。
前教 同步 木有以下
源教 將所有 功的 CR都 不少 往目的 , 源教 很頻繁 , CR的工作量比較大。 內容
本 要解決的 木 是提供 源教 和目的 同教 同步的方法、 裝置及 統, 目的 的資源。
解決上 木 , 本 的 提供 木方案 下
和目的數 同 同步的方法, 包括
同步裝置 源教 至少 介第 汞 CR及 第 CR的
同步裝置 其 身是否存在 CR的 相 同的第二 CR, 生成 結果
同步裝置 結果, CR , 生成 的 CR,使得 同步裝置 存儲 包含 CR的 字的 CR
同步裝置將 的 CR 目的 。
同步裝置 結果, CR , 生成 的 CR包括
所迷 結果 是, 則 同步裝置 CR的操作 和 第二 CR的操作 , CR和 第二 CR , 生成 的 CR
結果 否, 則 同步裝置在其 身存儲 CR, 作 力 的 CR
同步裝置 CR和 第二 CR ,生成 的 CR 休
CR的操作 插 , 且 第二 CR的操作
或者更新, 則 同步裝置將 第二 CR作力 CR C 的操作 插 , 且 第二 CR的操作 刪 除,則 同步裝置將 第二 CR的 力更新, 將 CR的各 覆蓋到第二 CR的相 上, 生成 CR
CR的操作 力更新 , 且 第二 CR的操作 插 或更新, 則 同步裝置將 CR中的各 覆蓋到 第二 CR的相 上, 生成 CR
CR的操作 力更新或刪除, 且所述第二 CR的操作 刪除 , 則 同步裝置將 第二 CR作力 CR
CR的操作 刪除, 且 第二 CR的操作
, 則 同步裝置將所述 CR作力 CR
CR的操作 刪除, 且 第二 CR的操作 力更新, 則 同步裝置將 第二 CR 修 刪除, 作力 CR
同步裝置將 的 CR 目的
同步裝置以批量 的方式, 將 的 CR 目的 。
同步裝置以批量 的方式, 將 的 CR 目的 同步裝置以批量 的方式, 在所 的 CR的 到預 定 , 將 的 CR 目的 或者,
同步裝置以批量 的方式, 以固定 同周期, 將 的 CR 目的 。
CR的 C 的 或者 。
同步裝置, 包括
萊取羊 , 于 源教 至少 介 CR及 CR 的 羊 , 于 其 身是否存在 CR的 相同的第二 CR, 生成 結果
羊 , 于根 結果, CR , 生成 的 CR
羊 , 于將 的 CR 目的 。
羊 包括
仁井羊 , 于 結果 是 , CR的操作 和 第二 CR的操作 , CR和所述第二 CR , 生成 的 CR
存儲羊 , 于 結果 否 , 存儲 CR作力 的 CR
同步 統, 包括同步裝置、 源教 以及目的 , 同步 裝置包括
萊取羊 , 于 源教 至少 介 CR及 CR 的
羊 , 于 其 身是否存在 CR的 相同的第二 CR, 生成 結果
羊 , 于根 結果, CR , 生成 的 CR
羊 , 于將 的 CR 目的 。 同步裝置 在所 源教 或者 目的 上, 或者 于所述源教 和所述目的 。
本 的 具有以下有益效果
上 方案中, 源教 和目的 同教 同步 , 不是將 有 功的 CR都 不少 往目的 ,而是先在同步裝置 , 即使 源教 很頻繁 , 每次同步裝置 源教 到第 CR 先在同步裝置內部 , 即, 同步裝置 其 身是否 存在包含 CR的 字的第二 CR, 生成 結果 同步裝 置 結果, CR , 生成 的 CR, 使 得所 同步裝置 存儲 包含 CR的 字的 CR,然 將所 述 CR CR, 現有 木相比, 本 CR的工作量 小。
說明
1是 統的 同步 示意
2是本 的源教 和目的 同教 同步的方法的
Figure imgf000007_0001
5是本 的源教 和目的 同教 同步方法的 示意
6是本 的源教 和目的 同教 同步方法的的 的 示意 。
休 方式
本 的 要解決的 木 、 木方案和 更 清楚, 將結合 因及 休 。
本 的 現有 木中源教 和目的 同教 同步 , CR的工作量大的 , 提供 源教 和目的 同教 同步的方法、 裝置及 統。
2是本 的源教 和目的 同教 同步的方法的 示意 , 2所示, 本 的源教 和目的 同教 同 步的方法包括
步驟21 同步裝置 源教 至少 介第 汞( CR) 及 CR的 。
步驟22 所述同步裝置 其 身是否存在第二 CR, 第二 CR 的 CR的 相同, 生成 結果。
步驟23 所述同步裝置 結果, 第 CR迸 , 生成 的 CR,使得 同步裝置 存儲 包含 CR的 字的 C
步驟24 所述同步裝置將 的 CR 目的 。
上 方案中, 源教 和目的 同教 同步 , 不是將所 有 功的 CR都 不少 往目的 ,而是先在同步裝置 , 即使 源教 很頻繁 , 每次同步裝置 源教 到第 CR 先在同步裝置內部 , 即, 同步裝置 其 身是否 存在包含 CR的 字的第二 CR, 生成 結果 同步裝 置 結果, CR , 生成 的 CR, 使 得 同步裝置 存儲 包含 CR的 字的 CR,然 將
CR CR, 現有 木相比, CR的工作量 小。 其中, 步驟23包括
結果 是 , 同步裝置 CR的操作 和 第二 CR的操作 , CR和 第二 CR , 生成 的 CR
結果 否 , 同步裝置在其 身存儲 CR, 作力 的 C
其中, 同步裝置 第 CR 的操作 和 第二 CR 的操作 , CR和 第二 CR , 生成 的 CR的步驟 休
CR的操作 插 eT, 且 第二 CR的操作 seT或者更新 dae , 將 第二 CR作力所述 CR
CR的操作 插 eT, 且 第二 CR的操作 deee , 將 第二 CR的 dae, 將 CR的各 覆蓋到第二 CR的相 上, 生成 CR
CR的操作 dae , 且所述第二 CR的操 作 seT或 dae ,將 CR中的各 覆蓋到
CR的相 上, 生成 CR
CR的操作 dae或deee, 且 第二 CR的 操作 deee , 將 第二 CR作力 CR
CR的操作 deee, 且 第二 CR的操作 seT , 則將 CR作力 CR
CR的操作 deee, 且 第二 CR的操作 dae ,則將 第二 CR 修 deee,作力 C 步驟24可以 同步裝置以批量 的方式,將所述 的 CR 目的 。
同步裝置以批量 的方式, 將 的 CR 目的 的步驟
的 CR的 到預定 , 所述同步裝置以批量 的方式, 將 的 CR 目的 或
同步裝置每隔固定 同周期, 以批量 的方式, 將
的 CR 目的 。
CR的 C 的 或者 。 3是本 的同步裝置的 示意 , 3所示, 本 所 述的 同步裝置30包括
萊取羊 31, 于 源教 至少 介第 汞 CR及 第 汞的
羊 32, 于 其 身是否存在第二 CR, 第二 CR的
CR的 相同, 生成 結果
羊 33, 于根 結果, 第 CR迸 , 生 成 的 CR
羊 34, 于將 的 CR 目的 。 上 方案中, 源教 和目的 同教 同步 , 不是將所 有 功的 CR都 不少 往目的 ,而是先在同步裝置 , 即使 源教 很頻繁 , 每次同步裝置 源教 到第 CR 先在同步裝置內部 , 即, 同步裝置 其 身是否 存在包含 CR的 字的第二 CR, 生成 結果 同步 結果, CR , 生成 的 CR, 使 得 同步裝置 存儲 包含 CR的 字的 CR,然 將所 述 CR CR, 現有 木相比, CR的工作量 小。
羊 33包括
仁井羊 , 于 所述 結果 是 , 所述 CR的操作 和 第二 CR的操作 , CR和 第二 CR , 生成 的 CR
存儲羊 , 于 所述 結果 否 , 存儲所述 CR, 作力 的 CR
羊 休
CR的操作 插 se , 且 第二 CR的操作 se 或者更新 dae , 將 第二 CR作力 CR CR的操作 插 seT, 且所述第二 CR的操作 deee 將 第二 CR的 dae, 將 CR的各 覆蓋到第二 CR的相 上, 生成 CR
CR的操作 dae , 且 第二 CR的操 作 seT或 dae ,將 CR中的字 各覆蓋到 第 二 CR的相 上, 生成 CR
CR的操作 dae或deee, 且 第二 CR的 操作 deee , 將 第二 CR作力 CR
CR的操作 deee, 且 第二 CR的操作 seT , 則將 CR作力 CR
CR的操作 deee, 且 第二 CR的操作 dae ,則將 第二 CR 修 deee,作力 C 其中, 羊 34可以以批量 的方式, 將 的 CR 目的 。
步的, 羊 34可以在 的 CR的 到預定 , 以批量 的方式, 將 的 CR 目的 或 每隔固定 同周期, 以批量 的方式, 將 的 CR 目的 。 CR的 C 的 或者 。
4是本 的同步 統的 示意囤, 4所示, 本 的同步 統包括同步裝置 30、 40以及目的 50, 同 步裝置30包括
萊取羊 31, 于 至少 介第 汞 CR及 第 汞的
羊 32, 于 其 身是否存在第二 CR, 第二 CR的 CR的 相同, 生成 結果
羊 33, 于根 結果, CR , 生 成 的 CR
羊 34, 于將 的 CR 目的 。
上 方案中, 源教 和目的 同教 同步 , 不是將所 有 功的 CR都 不少 往目的 ,而是先在同步裝置 , 即使 源教 很頻繁 , 每次同步裝置 源教 到第 CR忖, 先在同步裝置內部 , 即, 同步裝置 其 身是否 存在包含 CR的 字的第二 CR, 生成 結果 同步 結果, CR , 生成 的 CR, 使 得 同步裝置 存儲 包含 CR的 字的 CR,然 將
CR CR, 現有 木相比, CR的工作量 小。 同步裝置 在所 源教 或者 目的 上, 或者 于 源教 和 目的 。
5是本 的源教 和目的 同教 同步方法的 示意 , 5 所示, 本 的 于 像 制的 高速同步方 法包括 將源教 的 CR先 到 中, 同步裝置, 果 汞的 CR已 存在,則 CR , 中 合井的 CR , 使 中由某 特定 的 CR只有 , 段 同 , 再將 的 CR向目的 , 模式看 就好像同步 中 "丟失" 了若干 CR, 而且 上 中存在的 CR就是原始 汞的 以特殊形式存在的 像, 因此 同步模式 力 " 像"。 模 式減少需要 送到目的 中 執行的 CR的 , 了 統資源, 減小 了 目的 並各的影 。 同 , 由于 中 同 汞的 CR 只存在 次, 因此可以 批量 定技木 批量 , 提高了 速度。本方法 不同 型的 在 中合井 的情況建立 套合井 規則、 中最終 好的 CR 或定量的批量
以上 。
以下 本 的源教 和目的 同教 同步的方法的 , 包括以下步驟
步驟 , 在 台同 連接源教 和目的 的 上, 上 的同步裝置, 分配 介 大小的 , 可以完全駐留在 統內存中, 統內 不足以容納 池大小 , 也 可以以 存 儲到 上。
步驟 , 在 中建立 套 管理 , 可以
將 CR存儲下
判定符合 的 CR是否存在 也就是說, 包含新 的 CR的 字的 CR是否存儲在 可以力新的 CR的 新的 CR的 內 找到符合 的 CR
定位到符合 的 CR 更新
快速定位到符合 的 CR 刪除。
步驟 , 源教 的 edo o ) 中 CR, 送到 。
步驟 , 接收到 CR , 利用其 身具有的 CR功能, CR 行存儲或者 。
步驟 , 力保 同步 的及 , 。
第 神力 , 即 內 的 CR 到 定 , 就將 送到目的
第二神力 同 , 即 上 次將 送到目的 已 了 同 的 , 那 就將 送到目的 。 步驟 , 第五 涉及的 中的任 滿足 , 將 以批量 執行的方式 用到目的 中。
本方法需要 介 , 且 中需要建立 套管理 CR的 , 且 CR存在于 同, 果遇到 的 CR, , 減少了 CR的 CR先 存在 中 段 同, 然 才被 用 到目的 有 和定量 神 , 了 CR 用的及 使用批量 定技木, 了高速 。
6是本 的源教 和目的 同教 同步方法的的 的 示意 , 6所示, 本 另 的源教 和目 的 同 同步的方法步驟 下
步驟 , 可以同 連通源教 和目的 , 各操作 和目的 所需的 軟件, oc , c b 等, 主和力同步裝置。 步驟 , 分配 介 大小的 , 可以完全駐留在 統 內存中, 統內存有限不足以容納 池大小 , 可以 存儲到 上。
步驟 ,在 中建立 套 于hash或b Tee或此 等 木的快速索 引 , 利用此 , 可以快速增 、 刪除、 修 、 CR 汞。
步驟 , 在 中建立 套 CR , 休 下
1、新 余 seT 型的 CR, 果 此 中, 休的 情況 1.1、 沒有已存在的 的 CR, 則將此新 CR存 情況1.2、 已 存在 的 se CR,則 新 的 CR, 汞此 常情況
情況1.3、已 存在 的 dae CR,則 新 的 CR, 汞此 常情況
情況1.4、 已 存在 余 的deee CR, 則將 C 的 pdae, 將新 se CR的各 新 覆蓋到 CR相 上。 情況2、 新 dae 型的 CR, 果 此 中, 休 的
情況2.1、 沒有已存在的 的 CR, 則將此新 R存 情況2.2、 已 存在 余 的 seT CR, 則將新 的 C 中 的各 新 覆蓋到 CR相 上, CR e 不
況2.3、 已 存在 的 pdae CR, 則將新 的 R 中的各 新 覆蓋到 TCR相 上, TCR dae不 情況2.4、 已 存在 的deee CR,則 新 的TCR, 汞此 常情況。
情況3、新 deee 型的 CR, 果 此 中, 休的 情況3.1、 沒有已存在的 的 TCR, 則將此新 CR存 情況3.2、 已 存在 余 的 se CR, 則將原有的 R刪 除
況 3.3、 已 存在 的 pdae CR, 則將原有的 R 修 deee
情況3.4、 已 存在 的deee CR,則 新 的TCR, 汞此 常情況。
步驟 , 和
步驟 , 內 CR , 果未 到 , 則 特到 , 果已 到 , 則鎖定 , 禁止新的 CR , 然 功用批量 , 將 內所有 CR 用到目的 , 批量 中 遇到的 , 汞下 。 完成 , 將 同 汞下 。 到 步驟 。
步驟 , 前 同 上次 完成的 同 是否已 了 同 , 果沒有, 則 到步驟 執行, 果 到了, 則功用批量 , 將 內所有 CR 用到目的 , 汞批量 中遇到的 。 完成 , 將 同 汞下 , 到步驟 。
下面 本 的源教 和目的 同教 同步的方法的 第 座 。 中, 介 CR在 中未遇到 字的 情況下, 用到目的 。 包括以下步驟
步驟 , 假定源教 和目的 中都存在 E O TA , 下
CREATETA E E O TA (
F A ER R ARY EY F AR(
F CVARC AR(
代表了 最常用的 , 其中 F A力主 。 步驟 , 在源教 中執行 SERT :
SERT TO E O TA VA ES( C AR VARC AR
SERT TO E O TA VA ES(2 C AR2 VARC AR2 SERT TO E O TA VA ES( C AR VARC AR 步驟 , 通 CR , 抓取到 SERT , 抓到的 CR內容
CR 內容 E O TA 操作 SERT
列表 ( SERT 列表)
新 列表
1名字 F A 1 ER 1
2名字 F 2 C AR 2 C A 3名字 F C 3 VARC AR 3 VARC AR ( CR內容 CR 似, 值不同 )
步驟 , CR 送到 。
步驟 , , 內不 新 CR 的 CR
步驟 , CR 存儲 。
步驟 , 內 CR , CR 已
步驟 , 鎖定 , 禁止新的 CR 。
步驟 , 利用批量 定技木, 將 內 CR 次 高速 。
步驟十, 。
下面 本 的源教 和目的 同教 同步的方法的 第二座 。 介新的 CR在 中遇到
的 CR 況下, 同 用到目的 的 。 包括以下步驟 步驟 , 沿用上 座 中步驟 表, 且往其中插 汞
SERT TO E O TA VA ES( C AR VARC AR 步驟 , 在源教 中 汞執行 P ATE : P ATE E O TA SETF EWC AR F C EWVARC AR W EREF A 5 P ATE E O TA SETF EWC AR2
F C EWVARC AR2 W EREF A P ATE E O TA SETF EWC AR F C EWVARC AR W EREF A
步驟 , 通 CR , 抓取到 P ATE , 抓到的 CR內容
C 內容
E O TA 操作 P ATE
列表
2名字 F 2 C AR 2 C A 3名字 F C 3 VARC AR 3 VARC AR 新 列表
2名字 F 2 C AR 2 EWC AR 3 名字 F C 3 VARC AR 3 EWVARC AR
信息
1名字 F A 1 ER 1 ( CR內容 C 似, 新 列表中 值不同 ) 步驟 , 依次 送到 。
步驟 , , 內元任何 CR 的 CR 步驟 , C 存儲 。
步驟 , CR2 , 現已有 的 C 存在, 因此 按照 原則 將 內 CR 的新 列表中 的值替換 CR2中新 列表中的相 , 然 將 CR2 。 然 到 的每 介 CR, 直 此 , 直到 CR 。
步驟 , 內 CR數量 , CR 未 。 步驟 , 上次 完成 到現在的 同是否已 了 同 , 現已 。
步驟十, 鎖定 , 禁止新的 CR 。
步驟十 , 利用批量 定技木, 將 內 CR 次 高速 。
步驟十二, 。
本 的利用 像 高速同步的方法、 裝置、 統, 批量 定技木 快速 , 目的 不需要將
的所有 CR逐 座 , 提高了同步速度。
方法 是 裝置 相 的, 在方法 中未 的部分參照裝置 中相 部分的 即可, 在裝置 中未 本領域普通 木 可以理解, 上 方法中的全部或部分 步驟是可以 程序 指令相 的硬件 完成, 的程序可以存儲于 可 存儲 中, 程序在執行 包括 上 方法 的步 驟, 的存儲 , 磁碟、 、只 存儲 休( eadO y e oy, RO )或 存儲 休 (Ra do Access e oy, RA )等。
在本 各方法 中, 各步驟的 不能用于限定各步驟 的先 順序, 于本領域普通 木 , 在不付出 造性 性的前 提下, 各步驟的先 也在本 的保 內。
以上 是本 的 方式, 指出, 于本 木領域的普 通 木 東說, 在不 本 原理的前提下, 近可以作出若干 和 , 和 也 視力本 的保 。

Claims

要求
1. 源教 和目的 同教 同步的方法, 其特 在于, 方法包括
同步裝置 源教 至少 介第 汞 CR及 第 5 CR的
所述同步裝置 其 身是否存在 CR的 相 同的第二 CR, 生成 結果
所述同步裝置 結果, CR , 生成 的 CR,使得 同步裝置 存儲 包含 CR的 字的 CR
所述同步裝置將 的 CR 目的 。
2. 要求1 的源教 和目的 行教 同步的方法, 其特 在于, 同步裝置 結果, CR , 生成 的 CR包括
5 所述 結果 是, 則 同步裝置 CR的操作 和 第二 CR的操作 , CR和 第二 CR , 生成 的 CR
所述 結果 否, 則 同步裝置在其 身存儲 CR, 作 力 的 C
0 3. 要求2 的源教 和目的 同教 同步的方法, 其特 在于, 同步裝置 CR和 第二 CR ,生 成 的 CR 休
所述 CR的操作 插 , 且所述第二 CR的操作 插 或者更新, 則 同步裝置將 第二 CR作力 CR5 所述 CR的操作 插 , 且所述第二 CR的操作 ,則 同步裝置將 第二 C 的 力更新, 將 CR的各 覆蓋到第二 CR的相 上, 生成 CR
CR的操作 力更新 , 且 第二 CR的操作 插 或更新, 則 同步裝置將 CR中的各 覆蓋到 第二 CR的相 上, 生成 CR
CR的操作 力更新或刪除, 且所述第二 CR的操作 刪除 , 則 同步裝置將 第二 CR作力 CR
CR的操作 刪除, 且 第二 CR的操作 插 , 則 同步裝置將所述 CR作力 CR
CR的操作 刪除, 且 第二 CR的操作 力更新, 則 同步裝置將 第二 CR 修 刪除, 作力 CR
要求1 的源教 和目的 同教 同步的方法, 其特 在于, 同步裝置將 的 CR 目的
同步裝置以批量 的方式, 將 的 CR 目的 。
要求4 的源教 和目的 同教 同步的方法, 其特 在于, 同步裝置以批量 的方式, 將所述 的 CR
目的
同步裝置以批量 的方式, 在所 的 CR的 到 , 將 的 CR 目的 或者,
同步裝置以批量 的方式, 以固定 同周期, 將 的 CR 目的 。
要求1 的源教 和目的 行教 同步的方法, 其特 在于, CR的 CD的 或者 。
7. 同步裝置, 其特 在于, 裝置包括 羊 , 于 源教 至少 介 CR及 CR 的
羊 , 于 其 身是否存在 CR的 相同的第二 CR, 生成 結果
羊 , 于根 結果, 所述 CR , 生成 的 CR
羊 , 于將 的 CR 目的 。
8. 要求7 的同步裝置,其特 在于, 羊 包括 仁井羊 , 于 結果 是 , CR的操作 和所述第二 CR的操作 , CR和 第二 CR 但 生成 的 CR
存儲羊 , 于 結果 否 , 存儲 CR作力 的 CR
9. 同步 統, 包括同步裝置、 源教 以及目的 , 其特 在于, 同步裝置包括
萊取羊 , 于 源教 至少 介 CR及 CR 的
羊 , 于 其 身是否存在 CR的 相同的第二 CR, 生成 結果
羊 , 于根 結果, 所述 CR , 生成 的 CR
羊 , 于將 的 CR 目的 。
10. 要求 9 的同步 統, 其特 在于, 同步裝置 在所述源教 或者 目的 上, 或者 于所述源教 和 目的 。
PCT/CN2010/071725 2009-10-23 2010-04-13 源数据库和目的数据库之间数据同步的方法、装置及系统 WO2010145277A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP10788673.1A EP2472415A4 (en) 2009-10-23 2010-04-13 METHOD, DEVICE AND SYSTEM FOR IMPLEMENTING DATA SYNCHRONIZATION BETWEEN AN ORIGINAL DATABASE AND A DESTINATION DATABASE
US13/258,244 US8655836B2 (en) 2009-10-23 2010-04-13 Method, device and system for implementing data synchronization between source database and target database
BR112012008917-0A BR112012008917A2 (pt) 2009-10-23 2010-04-13 método para implementar sincronização de dados entre um banco de dados fonte e um banco de dados alvo, dispositivo de sincronização e sistema de sincronização
IN2888DEN2012 IN2012DN02888A (zh) 2009-10-23 2012-04-03

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910236502.3 2009-10-23
CN200910236502A CN101697169A (zh) 2009-10-23 2009-10-23 源数据库和目的数据库之间数据同步的方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2010145277A1 true WO2010145277A1 (zh) 2010-12-23

Family

ID=42142274

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/071725 WO2010145277A1 (zh) 2009-10-23 2010-04-13 源数据库和目的数据库之间数据同步的方法、装置及系统

Country Status (6)

Country Link
US (1) US8655836B2 (zh)
EP (1) EP2472415A4 (zh)
CN (1) CN101697169A (zh)
BR (1) BR112012008917A2 (zh)
IN (1) IN2012DN02888A (zh)
WO (1) WO2010145277A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112862579A (zh) * 2021-01-21 2021-05-28 金蝶软件(中国)有限公司 一种物料明细数据的调整方法及其相关设备

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697169A (zh) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 源数据库和目的数据库之间数据同步的方法、装置及系统
CN101807210B (zh) * 2010-04-26 2015-04-01 中兴通讯股份有限公司 一种数据库间数据同步的方法、系统及设备
US20120253864A1 (en) * 2011-03-31 2012-10-04 Infosys Technologies, Ltd. Methods for recording and tracking projects and devices thereof
CN103186614B (zh) * 2011-12-30 2016-04-13 鼎捷软件股份有限公司 电子数据同步方法及电子数据同步处理系统
CN102426611B (zh) * 2012-01-13 2013-09-04 广州从兴电子开发有限公司 一种数据库同步方法及装置
CN102662946B (zh) * 2012-02-20 2015-10-07 北京地拓科技发展有限公司 一种自动监测数据库中记录变化的方法和系统
US8935207B2 (en) 2013-02-14 2015-01-13 Sap Se Inspecting replicated data
CN105447054A (zh) * 2014-09-25 2016-03-30 中兴通讯股份有限公司 一种数据库的数据同步方法、装置及系统
US10027728B2 (en) * 2015-03-06 2018-07-17 Ebay Inc. Systems and methods of streaming data
JP6459669B2 (ja) * 2015-03-17 2019-01-30 日本電気株式会社 カラムストア型データベース管理システム
CN104834700A (zh) * 2015-04-27 2015-08-12 南京邮电大学 一种基于轨迹变更的移动数据增量捕获方法
CN106708891A (zh) * 2015-11-17 2017-05-24 中兴通讯股份有限公司 一种网管数据同步方法及装置
CN107273051B (zh) * 2017-05-15 2018-07-03 北京华云网际科技有限公司 Io数据的读写方法和装置
CN107679232A (zh) * 2017-10-24 2018-02-09 安徽马钢自动化信息技术有限公司 一种sap hana源数据库与其他数据库的同步方法
US10824643B2 (en) * 2017-11-15 2020-11-03 International Business Machines Corporation Data replication in a database environment
CN109033186B (zh) * 2018-06-27 2020-11-27 东软集团股份有限公司 数据一致性检测方法、装置、存储介质及电子设备
US11120047B1 (en) 2018-08-22 2021-09-14 Gravic, Inc. Method and apparatus for continuously comparing two databases which are actively being kept synchronized
US11061926B2 (en) 2018-10-02 2021-07-13 Target Brands, Inc. Data warehouse management and synchronization systems and methods
JP6760348B2 (ja) * 2018-10-11 2020-09-23 株式会社富士通ゼネラル 空気調和機、データ送信方法及び空気調和システム
CN109408565B (zh) * 2018-10-19 2021-09-28 浪潮软件科技有限公司 一种数据同步交互方法、系统和数据交互平台
KR102119258B1 (ko) * 2018-11-14 2020-06-05 주식회사 실크로드소프트 데이터베이스 관리 시스템에서의 변경 데이터 캡쳐 구현 기법
CN112346647B (zh) * 2019-08-06 2024-03-29 浙江宇视科技有限公司 数据存储方法、装置、设备和介质
CN112463786B (zh) * 2020-12-10 2021-08-13 上海携宁计算机科技股份有限公司 数据同步方法、系统、服务器及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1262481A (zh) * 1999-01-27 2000-08-09 电话通有限公司 多个数据库的同步方法及装置
CN1339134A (zh) * 1999-02-10 2002-03-06 艾利森电话股份有限公司 具有至少两个主机数据库和一个远程数据库的数据库系统以及同步这样的数据库的方法
CN1652116A (zh) * 2005-03-29 2005-08-10 威盛电子股份有限公司 数据库同步系统与方法
US20060277223A1 (en) * 2005-06-03 2006-12-07 Microsoft Corporation Persistent storage file change tracking
CN101317164A (zh) * 2005-09-29 2008-12-03 捷讯研究有限公司 通过比较代表信息的有效数据库同步
CN101369283A (zh) * 2008-09-25 2009-02-18 中兴通讯股份有限公司 一种内存数据库与物理数据库间的数据同步方法及系统

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6798191B1 (en) * 1999-08-09 2004-09-28 Power Measurement Ltd. Revenue meter with a graphic user interface being operative to display scalable objects
US20030172135A1 (en) * 2000-09-01 2003-09-11 Mark Bobick System, method, and data structure for packaging assets for processing and distribution on multi-tiered networks
US6980988B1 (en) * 2001-10-01 2005-12-27 Oracle International Corporation Method of applying changes to a standby database system
US7031974B1 (en) * 2002-08-01 2006-04-18 Oracle International Corporation Replicating DDL changes using streams
US6889231B1 (en) * 2002-08-01 2005-05-03 Oracle International Corporation Asynchronous information sharing system
US20040193952A1 (en) * 2003-03-27 2004-09-30 Charumathy Narayanan Consistency unit replication in application-defined systems
US11392588B2 (en) * 2003-09-04 2022-07-19 Oracle International Corporation Active queries filter extraction
US20050076068A1 (en) * 2003-09-22 2005-04-07 Fowler Paul C. System and method of synchronizing data in multi-user computer network
US20060004838A1 (en) * 2004-05-14 2006-01-05 Oracle International Corporation Sharing large objects in distributed systems
US20060047713A1 (en) * 2004-08-03 2006-03-02 Wisdomforce Technologies, Inc. System and method for database replication by interception of in memory transactional change records
US20070038642A1 (en) * 2004-09-15 2007-02-15 Scott Durgin Method for providing extensible software components within a distributed synchronization system
US20070255763A1 (en) * 2006-04-27 2007-11-01 International Business Machines Corporation Database replication method and system
US20080133580A1 (en) * 2006-11-30 2008-06-05 James Andrew Wanless Method and system for providing automated real-time contact information
US8880480B2 (en) * 2007-01-03 2014-11-04 Oracle International Corporation Method and apparatus for data rollback
US20110282706A1 (en) * 2007-08-20 2011-11-17 Timemaker Llc Organization management tool
US8086564B2 (en) * 2007-12-12 2011-12-27 Oracle International Corporation Techniques for the logical replication of high-level procedures
CN101551801B (zh) 2008-03-31 2013-05-22 国际商业机器公司 数据同步的方法和系统
US8037040B2 (en) * 2008-08-08 2011-10-11 Oracle International Corporation Generating continuous query notifications
US9230002B2 (en) * 2009-01-30 2016-01-05 Oracle International Corporation High performant information sharing and replication for single-publisher and multiple-subscriber configuration
CN101697169A (zh) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 源数据库和目的数据库之间数据同步的方法、装置及系统
JP5593841B2 (ja) * 2010-05-28 2014-09-24 富士通株式会社 データベース装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1262481A (zh) * 1999-01-27 2000-08-09 电话通有限公司 多个数据库的同步方法及装置
CN1339134A (zh) * 1999-02-10 2002-03-06 艾利森电话股份有限公司 具有至少两个主机数据库和一个远程数据库的数据库系统以及同步这样的数据库的方法
CN1652116A (zh) * 2005-03-29 2005-08-10 威盛电子股份有限公司 数据库同步系统与方法
US20060277223A1 (en) * 2005-06-03 2006-12-07 Microsoft Corporation Persistent storage file change tracking
CN101317164A (zh) * 2005-09-29 2008-12-03 捷讯研究有限公司 通过比较代表信息的有效数据库同步
CN101369283A (zh) * 2008-09-25 2009-02-18 中兴通讯股份有限公司 一种内存数据库与物理数据库间的数据同步方法及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112862579A (zh) * 2021-01-21 2021-05-28 金蝶软件(中国)有限公司 一种物料明细数据的调整方法及其相关设备

Also Published As

Publication number Publication date
CN101697169A (zh) 2010-04-21
US8655836B2 (en) 2014-02-18
BR112012008917A2 (pt) 2020-07-07
IN2012DN02888A (zh) 2015-07-24
EP2472415A4 (en) 2016-04-13
EP2472415A1 (en) 2012-07-04
US20120185432A1 (en) 2012-07-19

Similar Documents

Publication Publication Date Title
WO2010145277A1 (zh) 源数据库和目的数据库之间数据同步的方法、装置及系统
CN103299602B (zh) 数据同步
US8161095B2 (en) Distributed routing table interface
CN108319623B (zh) 一种数据重分布方法、装置及数据库集群
CN110309161B (zh) 一种数据同步方法、装置及服务器
US20070220067A1 (en) Pre-existing content replication
JP2005316993A (ja) ネットワーク上においてコンピュータ間でオブジェクトを共有するためのシステムおよび方法
US11425089B2 (en) Method and system for near real-time IP user mapping
SG183255A1 (en) Method, system and group server for synchronizing operations of multiple groups
JPH11232226A (ja) 協同作業支援システム及び記録媒体
US11514077B2 (en) Replication event ordering using an external data store
US9830333B1 (en) Deterministic data replication with conflict resolution
US7840655B2 (en) Address resolution protocol change enabling load-balancing for TCP-DCR implementations
JP2018510430A (ja) データベースのための遠隔データ同期方法及び装置
WO2022134797A1 (zh) 一种数据分片存储方法、装置、计算机设备和存储介质
WO2023040432A1 (zh) 数据查询方法、装置及多方安全数据库
CN112632527B (zh) 一种用于服务开放平台的api测试方法及系统
CN107770221A (zh) 数据的传输方法、服务器转换装置、客户端转换装置及系统
CN104793981B (zh) 一种虚拟机集群的在线快照管理方法及装置
CN110099128B (zh) 一种认证数据同步方法及装置
WO2018188381A1 (zh) 一种软件模块间的事件路由框架及方法
WO2011143851A1 (zh) 数据库服务器操作控制系统、方法及设备
TW201601065A (zh) 虛擬檔案分享方法
JP5416490B2 (ja) 分散データ管理システム、データ管理装置、データ管理方法、およびプログラム
WO2020171917A1 (en) Reliable virtualized network function system for a cloud computing system

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: 10788673

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 13258244

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2010788673

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2888/DELNP/2012

Country of ref document: IN

NENP Non-entry into the national phase

Ref country code: DE

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112012008917

Country of ref document: BR

REG Reference to national code

Ref country code: BR

Ref legal event code: B01E

Ref document number: 112012008917

Country of ref document: BR

Free format text: APRESENTE A TRADUCAO SIMPLES DA FOLHA DE ROSTO DA CERTIDAO DE DEPOSITO DA PRIORIDADE CN 200910236502.3; OU DECLARACAO DE QUE OS DADOS DO PEDIDO INTERNACIONAL ESTAO FIELMENTE CONTIDOS NA PRIORIDADE REIVINDICADA, CONTENDO TODOS OS DADOS IDENTIFICADORES DESTA (TITULARES, NUMERO DE REGISTRO, DATA E TITULO), CONFORME O PARAGRAFO UNICO DO ART. 25 DA RESOLUCAO 77/2013 E ART. 2O DA RESOLUCAO 179/2017. CABE SALIENTAR QUE NAO FOI POSSIVEL IDENTIFICAR O TITULAR DO PEDIDO PRIORITARIO NOS DOCUMENTOS JUNTADOS AO PROCESSO, TAMPOUCO NOS APRESENTADOS NA OMPI. TAL INFORMACAO E NECESSARIA PARA O EXAME DA CESSAO DO DOCUMENTO DE PRIORIDADE.

ENP Entry into the national phase

Ref document number: 112012008917

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20120416