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

File backup method and device and terminal equipment

A technology of file backup and terminal equipment, which is applied in the direction of file system, file access structure, redundant data error detection in computing, etc. It can solve the problem of low efficiency of file backup and achieve the goal of saving reading time and improving efficiency Effect

Pending Publication Date: 2020-05-19
HUAWEI TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present application provides a file backup method, device and terminal equipment, which can solve the problem of low file backup efficiency

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
  • File backup method and device and terminal equipment
  • File backup method and device and terminal equipment
  • File backup method and device and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0096] figure 1 It shows the implementation flowchart of the file backup method provided by Embodiment 1 of the present application, and is described in detail as follows:

[0097] S101. Obtain the file type of the file to be backed up, and filter out the target metadata corresponding to the file type from the metadata area of ​​the first file system according to the type identifier contained in the metadata in the metadata area of ​​the first file system.

[0098] It can be seen from the above description that the embodiment of the present application will pre-set the classification rules for file types and the type identification corresponding to each file type, and will perform metadata in the metadata according to the actual type of the file each time the file is stored and the file type is modified. The setting or updating of the identification, so when performing file backup, it is only necessary to obtain the file type of the file to be backed up, and perform identifica...

Embodiment 2

[0110] According to different actual application scenarios, the original system and the target system in Embodiment 1 of the present application may be the same system or different systems. Therefore, in the embodiment of the present application, S103 includes at least two possible situations:

[0111] 1. The original system and the target system are the same system. At this time, restoring the target metadata and target file data blocks to the target system actually refers to restoring the target metadata and target file data blocks to the original system after the data clearing operation is completed.

[0112] 2. The original system and the target system are not the same system. In this case, restoring the target metadata and target file data blocks to the target system refers to storing the target metadata and target file data blocks in the target system.

[0113] Among them, for case 1, since the original system needs to clear data, before performing the recovery operatio...

Embodiment 3

[0131] In some scenarios with high security requirements, in order to ensure the security of files, files are often encrypted and stored at the data block level. Only by decrypting the data area can the logical relationship between file data blocks and directory paths be found in the decrypted data, thereby forming the corresponding information of the corresponding file or folder, and searching for all file data blocks of the file to be backed up And backup operations, although file backup can be realized like this, but because all file data blocks are decrypted, and the file will be exposed in an unencrypted state, so that the process file security of the entire file backup is extremely low.

[0132] In order to improve the security of file backup while ensuring file backup efficiency, considering that there are many types of file systems in practical applications, such as HDFS, NFS, F2FS, and HFS+, for different types of file systems, the metadata There may be some differenc...

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 method is suitable for the technical field of data backup. The invention provides a file backup method and device and terminal equipment. The method comprises the steps: obtaining the file type ofa to-be-backed-up file, and screening target metadata corresponding to the file type from a metadata region of a first file system according to a type recognition contained in metadata in the metadata region of the first file system; screening out a target file data block corresponding to the target metadata from a file data area of the first file system; and recovering the target metadata and the target file data block to a metadata area and a file data area of the second file system. According to the embodiment of the invention, a large amount of data block reading time can be saved, and the file backup efficiency is greatly improved.

Description

technical field [0001] The present application belongs to the technical field of data backup, and in particular relates to a file backup method, device and terminal equipment. Background technique [0002] When clearing the data of the file system, if some files need to be retained, the files that need to be retained in the original file system are often copied one by one according to the directory structure, and then the files are written to the target file system one by one according to the directory structure. In this case, the file system often has relatively serious data fragmentation, which leads to a very long time-consuming and inefficient file backup process. Contents of the invention [0003] The embodiment of the present application provides a file backup method, device and terminal equipment, which can solve the problem of low file backup efficiency. [0004] In the first aspect, the embodiment of the present application provides a file backup method, includin...

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): G06F11/14G06F16/13G06F16/172
CPCG06F11/1458G06F16/13G06F16/172
Inventor 倪龙宇漆尚清
Owner HUAWEI TECH CO LTD