Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, device and system for file synchronization

A file synchronization and file technology, applied in the field of data processing, can solve the problem of low efficiency of HDFS cluster file synchronization

Active Publication Date: 2019-08-20
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In order to solve the problem of low efficiency of HDFS cluster file synchronization in the prior art, the embodiment of the present invention provides a method for file synchronization, which can directly determine the directory operation number following the directory end operation number according to the directory end operation number of the previous synchronization The information of the corresponding file, and then determine the information of the file to be synchronized, and synchronize the file to be synchronized without scanning the entire file directory, thereby improving the efficiency of file synchronization

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, device and system for file synchronization
  • Method, device and system for file synchronization
  • Method, device and system for file synchronization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The embodiment of the present invention provides a file synchronization method, which can directly determine the information of the file corresponding to the directory operation number following the directory end operation number according to the directory end operation number of the previous synchronization, and then determine the information of the file to be synchronized. Synchronize files for synchronization without scanning the entire file directory, thus improving the efficiency of file synchronization. Embodiments of the present invention also provide corresponding equipment and systems. Each will be described in detail below.

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments ...

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

A file synchronization method, device, and system. The method comprises the following steps: a copy management device sending a last directory operation number of a previously synchronized file to a name node of a first HDFS cluster; receiving information about a file to be synchronized sent by the name node of the first HDFS cluster, the information about the file to be synchronized being information about a file corresponding to a directory operation number that is subsequent to the last directory operation number and determined by the name node of the first HDFS cluster; determining a target synchronization task according to the information about the file to be synchronized; a target copy execution device synchronizing, according to information about at least one file in the target synchronization task, the at least one file from a source data node to a destination data node. The synchronization method does not need to scan the entire file directory, thus improving the efficiency of file synchronization.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a file synchronization method, device and system. Background technique [0002] Hadoop Distributed File System (Hadoop Distributed File System, HDFS) is a highly fault-tolerant system that can provide high-throughput data access and is suitable for deploying big data services. [0003] HDFS can include multiple HDFS clusters. The layout of HDFS clusters adopts a master-slave structure. An HDFS cluster includes a master node (NameNode, NN) and several data nodes (DataNode, DN), and the master node is responsible for managing the HDFS cluster. Data, for example: information that manages files stored in the cluster. Data nodes are responsible for storing files. [0004] In the current big data environment, data synchronization, especially cross-region and cross-cluster data synchronization, is becoming more and more important and has broad application requirements. [000...

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/178G06F16/182
Inventor 赵彦荣梁殿鹏崔鑫
Owner HUAWEI CLOUD COMPUTING TECH CO LTD