Data synchronization method and device

A data synchronization and data technology, applied in the computer field, can solve problems such as cache data synchronization of remote servers

Active Publication Date: 2017-09-12
ADVANCED NEW TECH CO LTD
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present application provides a data synchronization method and device to solve the problem of cached data synchronization in remote servers in the prior art

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

[0031] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0032] In the implementation of this application, the structural relationship between servers and databases in different places can still refer to figure 1 ,exist figure 1 On the basis of the structural relationship shown, a data synchronization method is provided in the embodiment of this application, such as figure 2 As shown, it specifically inc...

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. The method comprises the steps that a first server receives a write request, wherein the first server is matched with a first database, according to the write request, data corresponding to the write request is written to the first database, the written data is loaded into a first cache of the first server as data to be synchronized, according to the data to be synchronized in the first cache, cache synchronization data is generated and sent to a second server, so that the second server writes the data to be synchronized into a second cache of the second server according to the cache synchronization data, and data synchronization is completed. Through the method, it can be effectively ensured that data in the second cache is obtained in real time and updated synchronously, the situation cannot occurs that the data of the second cache is invalid because the data is not updated for a long time.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a data synchronization method and device. Background technique [0002] With the development of information technology, the number of visits to online systems (such as websites) continues to increase, and the scale of users continues to expand. In order to ensure the stability and efficiency of the business services provided by the online system for users, the backstage server of the online system and the corresponding Databases are usually deployed in different places, and the databases deployed in different places are usually two types of databases with read-write separation, ie, read-database and write-database. [0003] In the prior art, in order to alleviate the pressure of a large number of access requests and improve the efficiency of business processing, the server will set up a cache for the corresponding business, that is, store the data corresponding to the...

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/2379G06F16/27
Inventor 姚陶钧陈羲
Owner ADVANCED NEW TECH CO LTD
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