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

Method and system for copying data based on different databases

A data replication and database technology, applied in the field of data processing, can solve problems such as low work efficiency and achieve high availability

Inactive Publication Date: 2017-06-09
CHINA UNIONPAY
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Embodiments of the present invention provide a data replication method and system based on different data to solve the problem of low work efficiency when data replication is performed between different databases

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
  • Method and system for copying data based on different databases
  • Method and system for copying data based on different databases
  • Method and system for copying data based on different databases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0022] It should be noted that the source database and the target database in the embodiment of the present invention can be a single database or the target database, so the data replication method provided in the embodiment of the present invention can be applied to the following scenarios, that is, one-to-one, Many-to-one, one-to-many, and many-to-many scenarios, such as Figure 1a ~ Figure 1d As shown, among them, Figure 1a Indicates t...

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 method and a system for copying data based on different databases. The method comprises the following steps: receiving a configuration instruction of a user; generating a configuration document for copying data in a source database into a target database, wherein the source database and the target database are arranged as single databases or distributed databases and the configuration document at least comprises the database information of the source database and the target database and the screening conditions; analyzing the configuration document; utilizing a target development language to generate a database inquiry instruction according to an analyzing result for the screening conditions; utilizing the database inquiry instruction to read the target data from the sourced database; copying the target data into the target database. The target data is an original data set which is screened from the source database and meets the screening conditions and is used for solving the problem of low working efficiency when data replication is performed between different databases at present.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a data replication method and system based on different databases. Background technique [0002] Financial systems such as payment and clearing are complex business systems that include heterogeneous databases. There is often a need to batch transfer some table data from one database to another or multiple databases. To address such data transfer needs, a The implementation of application modules is based on the system's development environment and development language, such as a java-based system, using jdbc API to access the database; such as a C / C++-based system, using the native API provided by each database engine to access the database. Every time a new data transfer requirement arises, one such application module needs to be added. This model has the problems of duplication of labor, low development efficiency, and uneven code quality. Contents of the invention [0003] ...

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