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
Embodiment 1
[0030] This embodiment provides a data synchronization method executed in the first system. Such as figure 1 Shown is a flow chart of the 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, sending the synchronization message to a message queue monitored by the second system.
[0033] The data information may be metadata information of the data.
[0034] Changes, including but not limited to: additions, updates and deletions.
[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 v...
Embodiment 2
[0044] This embodiment provides a data synchronization method executed in the second system. Such as figure 2 Shown is a flow chart of the 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 side of the first system, it can be determined whether there is a synchronization message cached by the first system in the message queue.
[0047] Step S220, acquiring synchronization messages in the message queue.
[0048] When it is detected that there are synchronization messages buffered in the message queue on the first system side, all synchronization messages buffered in the message queue are obtained.
[0049] When it is detected that there are continuously buffered synchronization messages in the message queue on the first system side, all synchronization messages buffered by the message queue wi...
Embodiment 3
[0063] Such as image 3 Shown is a flow chart of the 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, acquiring a synchronization message in the message queue, where the synchronization message carries basic information of data information.
[0066] Step S330, according to the acquired basic information carried in the synchronization message, determine whether a synchronization message carrying the same basic information has been cached in the preset cache; if yes, perform step S340; if not, perform step S350.
[0067] The preset cache is used to cache the synchronization messages obtained from the message queue, and assist the second system in performing deduplication processing. Further, the synchronization messages cached in the preset cache correspond to different data information, that is to sa...
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