Method and system for synchronizing structured data between relational databases

A technology for structured data and data synchronization, applied in relational databases, database management systems, structured data retrieval, etc., can solve problems such as inconsistent mapping and synchronization, and achieve the effect of convenient implementation

Active Publication Date: 2020-05-26
中国人民解放军军事科学院军事科学信息研究中心
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to propose a method for synchronizing structured data between relational databases and a method for synchronizing structured data between different relational databases, as well as data processing requirements such as synchronization of off-line structured data such as one-way communication. The system is suitable for solving the problem of data synchronization between databases, and can complete the synchronization of data between databases in a broad sense, that is, including complete consistency of data and incompletely consistent mapping synchronization after adding data cleaning operations; especially suitable for offline situations Under the data synchronization, the data reverse analysis operation is added to roll back the data version; to ensure the reliability and stability of the 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
  • Method and system for synchronizing structured data between relational databases
  • Method and system for synchronizing structured data between relational databases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0044] like figure 1 As shown, data synchronization is mainly divided into two steps. One is data export, which is to export data from the source database: according to the actual business application requirements, extract the key-value pair information of the structured data that needs to be exported in the source database and rewrite it to conform to The intermediate data required by the format is saved as json text for subsequent use or backup; the second is data import, which imports the data into the target database and generates an execution script for data recovery: according to the communication status of the target database and the data import strategy of the target database, Import the json intermediate data text data into the database, and at the same time perform reverse analysis of the text data to generate backup and recovery da...

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 system and method for synchronizing structured data between relational databases. The method is used for realizing data synchronization between a source database and a targetdatabase and includes steps: step 1) according to practical business application demands, extracting key value pair information from to-be-exported structured original data in the source database andlog information of the source database, rewriting into intermediate data meeting with format requirements according to a data operating type and a data entry mark format, and storing as intermediateexport data in a json format; step 2) according to a data import strategy of the target database, mapping the intermediate export data in the json format from basic data to target data through a datacleaning operation and a database format conversion operation, converting into to-be-imported data meeting corresponding database import formats, and importing into the target database; step 3) subjecting the generated to-be-imported data to reverse parsing according to the target database type to generate backup recovery data for data version rollback.

Description

technical field [0001] The invention relates to the field of data synchronization processing, in particular to a method and system for synchronizing structured data between relational databases. Background technique [0002] In the field of data processing, processes such as data extraction, mapping conversion, and synchronization are usually required. The archiving and warehousing of original data is usually stored in traditional databases such as MySQL, MariaDB, SQLServer, etc. to support large-scale retrieval needs, and further data processing will store data in relational databases such as elasticsearch and solr that professionally serve data retrieval engines. Therefore, data needs to be mapped and synchronized between various relational databases. In addition, enterprises, companies, and data analysis institutions that provide large-scale data applications usually have security isolation settings for internal and external networks for the authority control of data res...

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/28G06F16/27G06F16/25G06F11/14
CPCG06F11/1448G06F16/258G06F16/27G06F16/284
Inventor 毛彬罗威谭玉珊罗准辰牛海波张吉才武帅叶宇铭田昌海尹忠博
Owner 中国人民解放军军事科学院军事科学信息研究中心
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