Data synchronization method and device

A technology for synchronizing data and databases, applied in the computer field, can solve problems such as high use cost and data loss, and achieve the effect of overcoming high use cost, reducing data volume, and improving application performance

Pending Publication Date: 2020-06-05
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of this, the embodiments of the present invention provide a method and device for synchronizing data, which can solve the problems of high cost of use and loss of data

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

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

[0070] figure 1 is a schematic diagram of a main flow of a method for synchronizing data according to an embodiment of the present invention. Such as figure 1 As shown, as an embodiment of the present invention, the method for synchronizing data includes:

[0071] Step 101, store the service data to be updated in the cache.

[0072] In this step, the service data to be...

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 computers. A specific embodiment of the method comprises the steps of storing to-be-updated service data into a cache; storing the changed service data in the cache into a current sliding window; and creating a new sliding window, taking the new sliding window as a current sliding window, and synchronizing the service data in the original sliding window to the database. According to the embodiment, the problems of high use cost and data loss can be solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for synchronizing data. Background technique [0002] At present, it is often necessary to monitor and count a large amount of real-time data and generate real-time reports, such as real-time statistics on the delivery order volume of a sorting center in a certain period of time. If you update the relevant records in the database every time an order is issued, since the sorting center operates very frequently, in order to count a large number of indicators, it will frequently update the relevant tables in the database, which will put a lot of pressure on the database and cause the CPU of the database to be too high. High, master-slave delay and other issues. [0003] For the above problems, there are currently two solutions: first, the database is divided into databases and tables, that is, multiple databases are used to store data to reduce the pressure on...

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/27G06F16/23
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