Data synchronization method and device, storage medium and electronic device

A data synchronization and data technology, applied in the field of communication, can solve problems such as inability to obtain database change data in real time, data inconsistency with database data, etc.

Pending Publication Date: 2022-03-08
QINGDAO HAIER TECH +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a data synchronization method and device, a storage medium and an electronic device, so as to at least solve the problem that the traditional method cannot obtain the changed data of the database in real time, which leads to the inconsistency between the data in the target data source and the data in the database

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 and device, storage medium and electronic device
  • Data synchronization method and device, storage medium and electronic device
  • Data synchronization method and device, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0025] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate ...

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 and device, a storage medium and an electronic device.The method comprises the steps that a communication protocol adopted for communication with a target database is determined, and a binary log is obtained from the target database based on the communication protocol; the binary log is analyzed to obtain change data meeting a preset condition, and the change data is data changed by the target database within a preset time; and performing data conversion on the changed data, and sending the changed data after data conversion to a target data source, so that data in the target data source is consistent with data in the target database. By adopting the technical scheme, the problem that the data in the target data source is inconsistent with the data in the database due to the fact that the change data of the database cannot be obtained in real time in a traditional method is solved.

Description

technical field [0001] The present invention relates to the communication field, in particular, to a data synchronization method and device, a storage medium and an electronic device. Background technique [0002] With the advent of the data age, how to effectively store data has become crucial. At present, most enterprises use MySQL databases to store data. However, with the development of enterprises and the increase of business, there are more requirements: the use of databases in different places, data synchronization between databases across centers and cities; how to synchronize data in relational databases to big data or data warehouse centers in real time after data changes ; How databases and other middleware ensure data consistency in real time. The essence of the above problem is actually how to obtain data changes in the MySQL database in real time. [0003] In the related technology, a series of business triggers are defined to complete the synchronization fun...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/27G06F16/23G06F16/28
CPCG06F16/27G06F16/2365G06F16/284
Inventor 刘鹏
Owner QINGDAO HAIER TECH
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