Data synchronization method, device and computer storage medium
A technology of data synchronization and equipment, which is applied in the field of data processing, can solve problems such as low efficiency of data synchronization methods, and achieve the effect of improving data synchronization efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0029] Example one
[0030] This embodiment provides a data synchronization method executed in the first system. Such as figure 1 What is shown is a flowchart of a data synchronization method on the first system side according to the first embodiment of the present invention.
[0031] Step S110, after the data information is changed, a synchronization message corresponding to the data information is generated.
[0032] Step S120: Send the synchronization message to the message queue monitored by the second system.
[0033] Data information can be metadata information of data.
[0034] Changes, including but not limited to: adding, updating and deleting.
[0035] The synchronization message is used to notify the second system that the data information corresponding to the synchronization message has changed, and the data information needs to be synchronized from the first system to ensure data consistency. Further, the data volume of the synchronization message is smaller than the data ...
Example Embodiment
[0043] Example two
[0044] This embodiment provides a data synchronization method executed in the second system. Such as figure 2 Shown is a flowchart of a data synchronization method on the second system side according to the second embodiment of the present invention.
[0045] Step S210: Monitor the message queue on the first system side.
[0046] By monitoring the message queue on the first system side, it can be determined whether there is a synchronization message buffered by the first system in the message queue.
[0047] Step S220: Acquire synchronization messages in the message queue.
[0048] When it is monitored that there are synchronization messages buffered in the message queue on the first system side, all the synchronization messages buffered in the message queue are acquired.
[0049] When it is monitored that there are continuously buffered synchronization messages in the message queue on the first system side, all synchronization messages buffered by the message queu...
Example Embodiment
[0062] Example three
[0063] Such as image 3 Shown is a flowchart of a data synchronization method using the first deduplication processing method according to the third embodiment of the present invention.
[0064] Step S310: Monitor the message queue on the first system side.
[0065] Step S320: Obtain a synchronization message in the message queue, where the synchronization message carries basic information of data information.
[0066] Step S330: Determine whether the synchronization message carrying the same basic information has been cached in the preset buffer according to the basic information carried in the acquired synchronization message; if so, perform step S340; if not, perform step S350.
[0067] The preset buffer is used to buffer the synchronization message obtained from the message queue and assist the second system to perform deduplication processing. Further, the synchronization messages buffered in the preset buffer correspond to different data information, that i...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap