Data synchronization method and system

A data synchronization and data technology, applied in the computer field, can solve the problems of data synchronization operation processing in redundant databases, time-consuming, large proportion of resources, etc., to achieve data consistency and shorten feedback time.

Pending Publication Date: 2021-04-30
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art: the data operation in the database and the redundant database needs to be completed synchronously, the resource ratio is large, and it takes a long time; When downtime or restart, the data in the redundant database cannot be synchronized, and data inconsistency will occur

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 system
  • Data synchronization method and system
  • Data synchronization method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0053] figure 1 is a schematic flow diagram of the main flow of the data synchronization method according to an embodiment of the present invention, such as figure 1 As shown, the method may specifically include the following steps:

[0054] Step S101, receiving a data operation request, the data operation request indicating data to be operated and a new value of the dat...

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 system, and relates to the technical field of computers. One specific embodiment of the method comprises the steps of receiving a data operation request, wherein the data operation request indicates to-be-operated data and a new value of the to-be-operated data; according to the data operation request, operating the to-be-operated data in a first database, and after the to-be-operated data is operated in the first database, generating a log message of the first database, wherein the log message indicates the to-be-operated data operated in the first database and a new value of the to-be-operated data; and obtaining a log message of the first database, and indicating a second database to operate the to-be-operated data according to the log message of the first database. According to the embodiment, synchronous operation of the database is decoupled, and consistency of data stored in the database is guaranteed.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a data synchronization method and system. Background technique [0002] With the continuous development of business, the amount of data is also increasing. It is often necessary to sub-database and table the database to reduce the amount of data in a single database, thereby improving the performance of the business system. At the same time, in order to ensure the reliability of data and the convenience of cross-database data processing, it is usually necessary to perform redundancy or backup of data in the database and ensure the consistency of redundant data. [0003] The existing method to ensure the consistency of redundant data is to perform operations such as adding, deleting and updating data in the database according to the user's data operation request, and synchronously perform data operations in the redundant database until the database is consistent with The data i...

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/23G06F16/27
CPCG06F16/2365G06F16/27
Inventor 邢超
Owner BEIJING JINGDONG SHANGKE INFORMATION 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