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

A data synchronization method, device and storage medium

A data synchronization and data technology, applied in the field of distributed database, can solve the problem that it is difficult to effectively realize the standby node to quickly take over the business data of the master node, and achieve the effect of improving reliability and high-performance services

Active Publication Date: 2021-11-16
MIGU CO LTD +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the embodiment of the present invention expects to provide a data synchronization method, device and storage medium, at least to solve the problem in the related art that it is difficult to effectively realize the standby node to quickly take over the business data of the master node

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with the accompanying drawings, and the described embodiments should not be considered as limiting the present invention, and those of ordinary skill in the art do not make any All other embodiments obtained under the premise of creative labor belong to the protection scope of the present invention.

[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of the invention. The terminology used herein is for the purpose of describing particular embodiments only, and is not intended to limit the invention.

[0040] Before the present invention is further described in detail, the nouns and terms involved in the embodiments of the present invention are described first, and the nouns a...

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 present invention discloses a method for data synchronization. The method includes: receiving a request message for synchronizing incremental data sent by a first node, wherein the request message carries a first log serial number, and the first log The serial number is used to characterize the timing of different data in the first node; judge whether the first log serial number is connected to the second log serial number corresponding to the latest data at the current moment of the second node; determine whether the first log serial number continues For the second log serial number, according to the first identification information of the first node that generated the first log serial number, and the time when the first node became the master node successfully matches the corresponding set conditions, based on The request message receives incremental data actively synchronized by the first node. The invention also discloses a data synchronization device and a storage medium.

Description

technical field [0001] The invention relates to data synchronization technology in the field of distributed databases, in particular to a data synchronization method, device and storage medium. Background technique [0002] At present, in the distributed database system, when the primary node fails to provide services normally, the incremental data generated by the primary node needs to be manually synchronized to the database of the standby node, and then re-modify the configuration file and start the application to load business data. In this way, the operation of synchronizing business data between the master node and the standby node is cumbersome, resulting in the standby node being unable to quickly take over the business of the master node, and then the phenomenon of business data out-of-sync between the master node and the standby node occurs, which greatly reduces the distributed database. The reliability of the system is so high that it cannot provide high-performa...

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 Patents(China)
IPC IPC(8): H04L29/08H04L12/24
CPCH04L41/0663H04L67/1095
Inventor 王政涛
Owner MIGU 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