Synchronization method, device and system for incremental data and electronic equipment
A technology of incremental data and data, applied in structured data retrieval, database distribution/replication, digital data information retrieval, etc., can solve the problem of low synchronization efficiency, achieve the effect of improving synchronization efficiency and reducing data volume
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] figure 1 The system block diagram of the incremental data synchronization system embodiment provided by the present invention. Such as figure 1 As shown, the incremental data synchronization system includes: a source database 1 , a destination database 2 and a client 3 . Wherein, the client 3 is used to synchronize the incremental data in the source database 1 to the destination database 2 . Client 3 obtains the incremental data of the source data table from the source database 1, preprocesses the incremental data of the source data table, and obtains valid incremental data, which is obtained from the latest update of the same row of data in the source data table. Generated by the row operation, the effective incremental data is synchronized to the destination data table of the destination database 2. The preprocessing operation of the client 3 on the incremental data can be specifically: adding an operation identifier to the incremental data, the operation identifie...
Embodiment 2
[0028] figure 2 The flow chart of an embodiment of the method for synchronizing incremental data provided by the present invention is executed by the client in the system described in the above embodiments. Such as figure 2 As shown, the incremental data synchronization method includes the following steps:
[0029] S201. Preprocess the incremental data in the source data table to obtain valid incremental data, which is generated by the latest row operation of the same row of data in the source data table.
[0030] In the embodiment of the present invention, the client obtains the incremental data of the source data table from the source database, and preprocesses the incremental data, and obtains the effective incremental data generated by the latest row operation of the same row of data in the source data table .
[0031] S202. Synchronize the valid incremental data.
[0032] After obtaining the valid incremental data, the client performs synchronous processing on the v...
Embodiment 3
[0035] image 3 It is a flow chart of another embodiment of the method for synchronizing incremental data provided by the present invention. Such as image 3 shown in the above figure 2 On the basis of the illustrated embodiment, the method for synchronizing incremental data provided by this embodiment may also include the following steps:
[0036] S301. Obtain an incremental log, and parse out incremental data of the source data table from the incremental log.
[0037] In the embodiment of the present invention, the client obtains the incremental log from the source database, and parses the incremental log to obtain the incremental data of the source data table in the source database.
[0038]S302. Add an operation identifier to the incremental data, the operation identifier uniquely corresponds to the row operations of the source data table, and gradually increases according to the chronological order of the row operations.
[0039] S303. For the incremental data of the...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com