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

Inactive Publication Date: 2019-02-01
NUBIA TECHNOLOGY CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The main purpose of the present invention is to propose a data synchronization method, device and com

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data synchronization method, device and computer storage medium
  • Data synchronization method, device and computer storage medium
  • Data synchronization method, device and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a data synchronization method, a device and a computer storage medium. The method comprises the steps of: after the data information is changed, generating a synchronization message corresponding to the data information; Sending the synchronization message to a message queue listened to by the second system. The method comprises the following steps of: monitoring a messagequeue on a first system side; Acquiring a synchronization message in the message queue; Performing de-reprocessing on the obtained synchronization message corresponding to the same data information; Acquiring data information corresponding to the synchronization message after the reprocessing from the first system, and executing a data synchronization operation. The data synchronization mode of the invention is simple and easy to operate, and the data synchronization efficiency can be effectively improved. Especially in the process of maintaining mass data, the data synchronization can be quickly completed according to the data information change in batch.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a data synchronization method, device and computer storage medium. Background technique [0002] Data processing mostly adopts a multi-system architecture, which includes multiple systems for performing different data processing tasks, and data synchronization between multiple systems, thereby ensuring data consistency among multiple systems. [0003] At present, when the data of the system changes, the system must send the changed data to another system that is interested in the data change, and every time the data is changed, it must be sent once. The performance of the system has very high requirements. In the case of batch data changes, this data synchronization method forms a burden on the normal operation of the system, and the efficiency of data synchronization is very low. [0004] For example: vertical splitting of business is involved in the currently p...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F16/23G06F16/27
Inventor 刘孟焱
Owner NUBIA TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products