Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 computer storage medium, aiming to solve the problem of low efficiency of existing data synchronization methods

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

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

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products