Data real-time synchronization method and system
A real-time synchronization and data synchronization technology, applied in the Internet field, can solve problems such as low synchronization efficiency, complicated database relationships, and increased database coupling, and achieve the effects of timely data synchronization, simple synchronization method, and high synchronization efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] refer to figure 1 , this embodiment provides a real-time data synchronization method for realizing data synchronization between a source database and a target database. The synchronization method described in this embodiment is executed in the source database, and the method specifically includes the following steps:
[0042] S1. When a data change in the source database is detected, the data change sequence of the source database is obtained, and the data change sequence is saved in the data change log table; in the present invention, the data change includes data addition, modification and deletion;
[0043] S2. When the data change in the data change log table is detected, the change data in the data change log table is obtained and encapsulated into message queue information, and then the message queue information is sent to the message queue;
[0044] S3. Notify the target database that needs to synchronize data, so that after receiving the notification message, th...
Embodiment 2
[0057] This embodiment provides a real-time data synchronization method for realizing data synchronization between the source database and the target database. This embodiment describes how to perform data processing in the source database and the target database to implement the data synchronization method. Specifically , the method includes the following steps:
[0058] When the source database detects a data change, obtain the data change sequence of the source database, and save the data change sequence into the data change log table;
[0059] When the source database detects a data change in the data change log table, it obtains the changed data in the data change log table and encapsulates it into message queue information, and then sends the message queue information to the message queue;
[0060] The source database notifies the data synchronization module of the target database that needs to synchronize data;
[0061] After receiving the notification message, the tar...
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