Check patentability & draft patents in minutes with Patsnap Eureka AI!

Data synchronization method and device

A data synchronization and data technology, applied in the computer field, can solve the problems of complex data synchronization process and low efficiency

Active Publication Date: 2019-12-10
ZICT TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] In this technical solution, the purpose of simply and quickly synchronizing the data in the HADOOP server to the Oracle server is achieved by mounting the NFS (NetworkFile System, Network File System) shared directory between the HADOOP server and the Oracle server. To obtain the HDFS file directory of the synchronization data in the HADOOP server that needs to be synchronized to the Oracle server, and synchronize the synchronization data in the HDFS file directory to the NFS shared directory, and then communicate between the NFS shared directory and the external table in the Oracle server The one-to-one correspondence relationship enables the Oracle server to access the synchronized data in the NFS shared directory by reading the external table, that is, to realize the access to the synchronized data in the HDFS file directory in the HADOOP server, and then realize the data between the HADOOP server and the Oracle server Synchronization, in this way, by using NFS to allow HADOOP server and Oracle server to share resources through the network, that is, NFS allows different hardware and operating systems to share with each other through a set of RPC (Remote Procedure Call Protocol, remote procedure call protocol) The same data, as well as accessing the synchronized data in the HADOOP server through external tables, does not need to copy a large amount of data from the HADOOP server to the Oracle server for storage, thus solving the problem of complex and inefficient data synchronization process

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

[0056] In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0057] In the following description, many specific details are set forth in order to fully understand the present invention. However, the present invention can also be implemented in other ways different from those described here. Therefore, the protection scope of the present invention is not limited by the specific details disclosed below. EXAMPLE LIMITATIONS.

[0058] figure 1 A schematic flowchart of the data synchronization method according to the first embodiment of the present invention is shown.

[0059] Such as figure 1 As shown, the data synchroni...

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 data synchronizing method and device. The data synchronizing method for an HADOOP server comprises the steps of obtaining a HDFS file directory of synchronous data in the HADOOP server; synchronizing the synchronous data under the HDFS file directory into an NFS shared directory in a third party server, wherein the NFS shared directory has a one-to-one mapping relationship with an external table in an Oracle server so as to achieve synchronization of the synchronous data from the HADOOP server to the Oracle server. According to the data synchronizing method and device, the data in the HADOOP server can be easily and quickly synchronized into the Oracle server, and therefore the efficiency of data synchronization is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a data synchronization method and a data synchronization device. Background technique [0002] The current big data platform data is generally stored on the HADOOP (Haydup, a distributed system infrastructure) server. Some business systems urgently need to extract data from the HADOOP server and synchronize it to the traditional relational database, such as Oracle (a Relational database management system) server, and currently there are two main schemes for data synchronization: [0003] Solution 1: Use SQOOP open source software (an open source tool, mainly used for data transfer between HADOOP and traditional data blocks), write SQOOP synchronization script to collect data from HADOOP server to Oracle server. [0004] Solution 2: Write a JAVA (object-oriented programming language) program to query data from HIVE (a data warehouse tool based on HADOOP) interface with ...

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/27H04L29/08
CPCG06F16/27H04L67/1095
Inventor 陈年春
Owner ZICT TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More