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

Method and device for data synchronization

A data synchronization and database technology, applied in the field of communication, can solve the problems of affecting normal operation, low efficiency of reading data, high synchronization delay, etc., and achieve the effect of improving data synchronization efficiency and realizing data synchronization

Active Publication Date: 2017-11-24
BEIJING QIHOO TECH CO LTD
View PDF8 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the inventor found in the process of realizing the present invention that there are at least the following defects in the prior art: nowadays, the data in the original database is usually transmitted to the target database through a transmission channel, such as a network link, etc. to realize data transfer. Synchronize
However, when using this method, when the amount of data is large, the efficiency of reading data from the original database is low, which affects the normal operation of the online database during the synchronization process (generally, in the process of reading data, usually on-line lock operation on the database), and this method is limited by the transmission capacity of the transmission channel (such as bandwidth limitation, etc.), the synchronization efficiency is low, and the synchronization delay is high

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
  • Method and device for data synchronization
  • Method and device for data synchronization
  • Method and device for data synchronization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0018] figure 1 A flow chart of a data synchronization method provided according to an embodiment of the present invention is shown, and the method includes:

[0019] Step S110, acquiring backup data corresponding to the original database, and creating full data corresponding to the backup data in the target database.

[0020] Among them, in order to avoid unexpected data loss in the database, the data in the database will be back...

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 method and device for data synchronization. The method includes the steps of acquiring backup data corresponding to an original database, and creating total data corresponding to the backup data in a target database; determining a backup time point of the backup data, and according to a log file corresponding to the original database, determining log point position information corresponding to the backup time point; obtaining a log record, which is generated after the log point position information, from a log file, and determining data operation corresponding to the log record; performing the data operation on the total data stored in the target database until the data in the target database is synchronized with the data in the original database. According to the technical scheme, the data synchronization of the target database and the original database can be realized on the premise of no influence on online business, the efficiency of the data synchronization is improved.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a data synchronization method and device. Background technique [0002] A database is a warehouse that organizes, stores and manages data according to the data structure. In many database application scenarios (such as expanding the standby database, separating read and write databases, etc.), it is usually necessary to keep the data in two or more databases synchronized. [0003] However, the inventor found in the process of realizing the present invention that there are at least the following defects in the prior art: nowadays, the data in the original database is usually transmitted to the target database through a transmission channel, such as a network link, etc. to realize data transfer. Synchronize. However, when using this method, when the amount of data is large, the efficiency of reading data from the original database is low, which affects the normal o...

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): G06F17/30
CPCG06F16/27
Inventor 刘畅杨挺
Owner BEIJING QIHOO TECH 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