Check patentability & draft patents in minutes with Patsnap Eureka AI!

Data synchronization method and device

A data synchronization and data technology, applied in relational databases, database models, structured data retrieval, etc., can solve problems such as poor real-time performance, and achieve the effect of ensuring real-time performance and meeting real-time business requirements

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

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiments of the present invention provide a data synchronization method and device to solve the problems of poor real-time performance existing in 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 and device
  • Data synchronization method and device
  • Data synchronization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0044] In this application, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also no Other elements expressly listed, or which are also inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the ph...

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 provides a data synchronization method and device, and the method comprises the steps: building a connection with a main database and obtaining a target log position when the data of the main database changes; receiving a binary log pushed by the main database; starting from the target log position of the binary log, analyzing the binary log to obtain data change information; and synchronizing the analyzed data change information to the slave database. In the scheme, when the data transmission of the main database changes, the binary log pushed by the main database is obtained. And the binary log is analyzed to obtain the data change information, and the data change information is synchronized to the slave database, so that the real-time performance of data synchronization is ensured, and the service real-time requirement is met.

Description

technical field [0001] The present invention relates to the technical field of data synchronization, in particular to a data synchronization method and device. Background technique [0002] Mysql is one of the most widely used relational database management systems at present. In order to achieve the purpose of data consistency between master and slave databases, it is usually necessary to synchronize data between master and slave databases based on Mysql. [0003] At present, the data synchronization method of the master-slave database is as follows: according to the scheduled task, the incremental data is periodically read from the master database and synchronized to the slave database. However, the real-time performance of the data synchronization method using the scheduled task is poor, and cannot meet the current real-time service requirements. SUMMARY OF THE INVENTION [0004] In view of this, embodiments of the present invention provide a data synchronization metho...

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/18G06F16/28G06F40/205
CPCG06F16/275G06F16/1805G06F16/284G06F40/205
Inventor 张翔
Owner QINGDAO HAIER TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More