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

Data synchronization method and device

A data synchronization and data technology, which is applied in the field of computer networks, can solve the problems of data writing taking a long time and affecting the efficiency of data synchronization, and achieve the effect of increasing the speed and improving the efficiency of data synchronization.

Active Publication Date: 2017-03-22
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the speed of data writing is much lower than the speed of data reading, the time taken for data writing in the existing synchronization method is too long, which affects the efficiency of data synchronization

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

[0022] 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.

[0023] In order to improve data synchronization efficiency, an embodiment of the present invention provides a data synchronization method, which is a third-party solution, that is, the data in the source database is synchronized to the destination database through a developed third-party tool. For example, the method of the embodiment of the present invention is implemented through middleware, a connection for reading data is establ...

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, and relates to the technical field of computer networks, wherein the method comprises the following steps of: reading data from a source database; packaging the read data into a data block; storing the data block in a data block pool, and sending a broadcast notification to multiple threads; and, reading the data block from the data block pool and writing the data block in a destination database by an idle thread receiving the broadcast notification. In the data synchronization method and device disclosed by the invention, due to the parallel processing mode of the multiple threads, the data writing speed is greatly increased; the problem that the data writing consumption time is too long due to the fact that the data writing speed is far lower than the data reading speed can be solved; and the data synchronization efficiency is increased.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a data synchronization method and device. Background technique [0002] A database based on distributed file storage is generally written in a specific language and aims to provide scalable high-performance data storage solutions for WEB applications. Due to the limited processing capacity of a single database, in the distributed file storage database solution, based on the source database, multiple target databases are established according to business or function, thereby reducing the access pressure on the source database. When a data table in the source database changes, it is necessary to ensure that the data table in the target database concerned with the data table changes consistently with the data table in the source database. Therefore, a synchronization device is needed to realize the synchronization between the target database and the source database. Synch...

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): G06F17/30H04L29/08
CPCH04L67/1095H04L67/2871G06F16/27H04L67/568
Inventor 吴晓飞宋昭
Owner BEIJING QIHOO TECH CO LTD
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