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

A cross-system data synchronization method and device

A data synchronization and cross-system technology, applied in the computer field, can solve the problems of untimely synchronization of data changes, low data synchronization efficiency, and adjustment of the logic that affects the transaction C-side acquisition of data, so as to save resource overhead and reduce data duplication and synchronization. Effect

Active Publication Date: 2020-06-02
上海链鲲技术有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the data synchronization of transaction B-side and C-side transaction order process data mainly has the following disadvantages: 1. Share the same database (C-side directly connects to query the B-side database), and the change of transaction B-side data structure will affect the adjustment of transaction C-side data acquisition logic , the transaction C-end system is strongly coupled with the transaction B-end system, and if there is a problem with the transaction B-end system DB, both the transaction B and C-end systems will be affected
In addition, 2. Non-shared databases adopt a data timing synchronization scheme, data timing synchronization, data change synchronization is not timely, and the efficiency of DB full data synchronization is low

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
  • A cross-system data synchronization method and device
  • A cross-system data synchronization method and device
  • A cross-system data synchronization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0031] An embodiment of the present invention provides a cross-system data synchronization method, see figure 1 , The method includes the following steps:

[0032] Step 101: On the first system side, perform unified asynchronous event monitoring on various actions that will cause transaction order data changes, obtain the trans...

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 provides a cross-system data synchronization method and device. The method comprises the steps of performing unified asynchronous event monitoring on various actions which may cause changes in transaction order data on a first system end, obtaining a transaction order ID in which the data changes occur, and putting the transaction ID and a first system ID into a Redis collection; ona second system end, reading the data in the Redis collection every preset time period; when reading the data, according to the transaction order ID in the Redis collection, requesting the first system end OpenAPI by HTTP to obtain transaction order detail data corresponding to the transaction order ID; on the first system end, returning the transaction order detail data in a unified format by using the OpenAPI; on the second system end, acquiring and parsing the transaction order detail data, writing to a database of the second system end, or updating a cache. The method can reduce the coupling dependence among different systems and can ensure the timeliness and accuracy of data synchronization among the systems.

Description

Technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for cross-system data synchronization. Background technique [0002] Under the current situation, there is a problem of sharing transaction order data between the transaction business B-side system and the transaction C-side system. The transaction B-side will create a transaction slip, and the business personnel will record the transaction process through the transaction B-side system, and the transaction C-side system needs to be obtained synchronously These transaction order process data are simultaneously displayed on the transaction C-end APP, allowing users to intuitively view the details of their related business processing progress and precautions. [0003] At present, the transaction B-side and C-side transaction order process data are synchronized, and the main disadvantages are as follows: 1. Share the same database (the C-side is directly connected to q...

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 Patents(China)
IPC IPC(8): G06F16/27
Inventor 张欢
Owner 上海链鲲技术有限公司
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