File repair method and device, electronic equipment and storage medium

A repair method and technology of electronic equipment, applied in the direction of file system, file system management, file metadata retrieval, etc., can solve the problem of long repair time, achieve the effect of reducing the number of files, shortening the repair time, and reducing the impact

Active Publication Date: 2020-02-18
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present disclosure provides a file repair method, device, electronic device and storage medium to at least solve the prob

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 repair method and device, electronic equipment and storage medium
  • File repair method and device, electronic equipment and storage medium
  • File repair method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0057] It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consi...

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 relates to a file restoration method and device, electronic equipment and a storage medium, and belongs to the technical field of file storage. The method comprises the following steps:if it is detected that the file system fails to acquire any target file, obtaining a file identifier of the target file in the parent file and file information of the parent file, such as the file identifier; performing querying from a file system according to the information to obtain first metadata of the target file; obtaining description information of a storage position of the target file inthe file system from the first metadata, obtaining a target file from a file system according to the description information of the storage position, and repairing the target file according to the acquisition result. Thus, when the file system fails to acquire any target file, the target file is directly repaired, metadata of all files in the file system does not need to be repaired, and the number of the files needing to be repaired is greatly reduced, so that the repair time can be shortened, and the influence on related services is reduced.

Description

technical field [0001] The present disclosure relates to the technical field of file storage, and in particular to a file restoration method, device, electronic equipment and storage medium. Background technique [0002] The file system mainly includes metadata nodes and data nodes. The data node is used to store the content of the file, the metadata node is used to store the metadata of the file, and the metadata is used to describe the attributes of the file, such as the creation time of the file, the owner, Last modified time, file size, file name, etc. [0003] In related technologies, when a client accesses a file, it first obtains the metadata of the file from the metadata node, and then obtains the content of the file from the data node according to the obtained metadata of the file. During this process, if the file is not successfully obtained , it is considered that the metadata of the obtained file is incorrect, and then the metadata node is determined to be fault...

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
IPC IPC(8): G06F16/11G06F16/14G06F16/16G06F16/182
CPCG06F16/113G06F16/148G06F16/164G06F16/182
Inventor 高宇陈二奇申航
Owner BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
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