Data synchronization method and apparatus, device, and storage medium

US2026099511A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2026099511-A1
Application numberUS-202519415545-A
CountryUS
Kind codeA1
Filing dateDec 10, 2025
Priority dateJun 13, 2023
Publication dateApr 9, 2026
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

This application provides a data synchronization method and apparatus, and relates to the field of data storage technologies. The method includes: obtaining, from an incremental log in a source database, N incremental operation record sets arranged in a chronological order, where N is an integer greater than 1, and an N th incremental operation record set is a current to-be-synchronized incremental operation record set; determining a target incremental operation record set based on a validation code of an incremental operation record set that is before the N th incremental operation record set, where the target incremental operation record set is an incremental operation record set that is successfully synchronized to a last time of a target database; and synchronizing an incremental operation record set in the N incremental operation record sets to the target database, where the incremental operation record set is after the target incremental operation record set.

First claim

Opening claim text (preview).

What is claimed is: 1 . A method of data synchronization for a database system, the method comprising: obtaining, from an incremental log in a source database of the database system, N incremental operation record sets arranged in a chronological order, wherein N is an integer greater than 1, and an N th incremental operation record set is a current to-be-synchronized incremental operation record set; determining a target incremental operation record set based on a validation code of an incremental operation record set that is before the N th incremental operation record set, wherein the target incremental operation record set is an incremental operation record set that is successfully synchronized to a last time of a target database of the database system; and synchronizing an incremental operation record set in the N incremental operation record sets to the target database, wherein the incremental operation record set in the N incremental operation record sets is after the target incremental operation record set. 2 . The method according to claim 1 , further comprising: generating a validation code of the N th incremental operation record set; and sending the validation code of the N th incremental operation record set to the target database after determining that the N th incremental operation record set has been successfully synchronized to the target database. 3 . The method according to claim 1 , wherein determining the target incremental operation record set comprises: obtaining a comparison validation code from the target database, wherein the comparison validation code is stored in the target database and is a validation code of a latest incremental operation record set that has been successfully synchronized to the target database; searching for a validation code that is same as the comparison validation code and is in the validation code of the incremental operation record set that is before the N th incremental operation record set; and determining the target incremental operation record set based on the validation code that is the same as the comparison validation code and is in the validation code of the incremental operation record set that is before the N th incremental operation record set, wherein a validation code of the target incremental operation record set is the same as the comparison validation code. 4 . The method according to claim 1 , wherein a type of the source database is different from a type of the target database; the N incremental operation record sets are N intermediate-format incremental operation record sets; and obtaining, from the incremental log in the source database, the N incremental operation record sets arranged in the chronological order comprises: obtaining an N th source-format incremental operation record set from the incremental log in the source database using a parser that matches the type of the source database; and converting the N th source-format incremental operation record set into an N th intermediate-format incremental operation record set. 5 . The method according to claim 4 , wherein synchronizing the incremental operation record set in the N incremental operation record sets to the target database comprises: converting the N th intermediate-format incremental operation record set into an N th target-format incremental operation record set using an adapter that matches the type of the target database; and sending the N th target-format incremental operation record set to the target database, to cause the target database to perform an incremental operation corresponding to the N th target-format incremental operation record set. 6 . The method according to claim 4 , wherein synchronizing the incremental operation record set in the N incremental operation record sets to the target database comprises: selecting, from the N th intermediate-format incremental operation record set, an intermediate-format incremental operation record related to a target data table based on an identifier of the target data table; converting the intermediate-format incremental operation record related to the target data table into a target-format incremental operation record related to the target data table; and sending the target-format incremental operation record related to the target data table to the target database, to cause the target database to perform an incremental operation corresponding to the target-format incremental operation record related to the target data table. 7 . The method according to claim 1 , wherein obtaining, from the incremental log in the source database, the N incremental operation record sets arranged in the chronological order comprises: obtaining, from the incremental log in the source database, the N incremental operation record sets arranged in the chronological order based on an identifier of a target data table. 8 . The method according to claim 1 , wherein synchronizing the incremental operation record set in the N incremental operation record sets to the target database comprises: selecting, from the N th incremental operation record set, an incremental operation record related to a target data table based on an identifier of the target data table; and sending the incremental operation record related to the target data table to the target database, to cause the target database to perform an incremental operation corresponding to the incremental operation record related to the target data table. 9 . The method according to claim 1 , wherein synchronizing the incremental operation record set in the N incremental operation record sets to the target database comprises: sending the N th incremental operation record set to the target database, to cause the target database to perform an incremental operation corresponding to the N th incremental operation record set. 10 . The method according to claim 2 , wherein generating the validation code of the N th incremental operation record set comprises: generating the validation code of the N th incremental operation record set based on a validation code of an (N−1) th incremental operation record set and the N th incremental operation record set. 11 . A data synchronization apparatus used in a database system, the data synchronization apparatus comprising: at least one processor; and at least one memory coupled to the at least one processor and storing instructions, which when executed by the at least one processor, cause the data synchronization apparatus to: obtain, from an incremental log in a source database of the database system, N incremental operation record sets arranged in a chronological order, wherein N is an integer greater than 1, and an N th incremental operation record set is a current to-be-synchronized incremental operation record set; determine a target incremental operation record set based on a validation code of an incremental operation record set that is before the N th incremental operation record set, wherein the target incremental operation record set is an incremental operation record set that is successfully synchronized to a last time of a target database of the database system; and synchronize an incremental operation record set in the N incremental operation record sets to the target database, wherein the incremental operation record set in the N incremental operation record sets is after the target incremental operation record set. 12 . The data synchronization apparatus according to claim 11 , wherein the data synchronization apparatus is further configured to: generate a validation code of the N th incremental operation record set; and send th

Assignees

Inventors

Classifications

  • Ensuring data consistency and integrity · CPC title

  • Data format conversion from or to a database · CPC title

  • Change logging, detection, and notification (replication G06F16/27) · CPC title

  • Synchronous replication · CPC title

  • Asynchronous replication or reconciliation · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2026099511A1 cover?
This application provides a data synchronization method and apparatus, and relates to the field of data storage technologies. The method includes: obtaining, from an incremental log in a source database, N incremental operation record sets arranged in a chronological order, where N is an integer greater than 1, and an N th incremental operation record set is a current to-be-synchronized increm…
Who is the assignee on this patent?
Huawei Cloud Computing Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F16/27. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Apr 09 2026 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).