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

Cross-system data synchronization method and device

A data synchronization and cross-system technology, applied in the computer field, can solve problems such as low data synchronization efficiency, untimely data change synchronization, affecting the adjustment of transaction C-side data acquisition logic, etc., to reduce repeated data synchronization and save resource overhead Effect

Active Publication Date: 2018-10-16
上海链鲲技术有限公司
View PDF6 Cites 4 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
  • Cross-system data synchronization method and device
  • Cross-system data synchronization method and device
  • Cross-system data synchronization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts 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 may cause transaction order data changes, obtain transaction order IDs that ha...

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 cross-system data synchronization method and device. Background technique [0002] Under the current circumstances, there is a transaction order data sharing problem between the transaction business B-end system and the transaction C-end system. The transaction B-end will create a transaction order, and the business personnel will record the transaction process through the transaction B-end system, and the transaction C-end system needs to obtain it synchronously The process data of these transaction orders are simultaneously displayed on the transaction C-end APP, so that users can intuitively view the details and precautions of their own related business processing progress. [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...

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
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