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

Data recovery method for distributed file system

A distributed file and distributed system technology, applied in the field of distributed file system data recovery, can solve problems such as operation conflicts, data cannot be accessed by users, users cannot conveniently view file status in batches, etc., and achieve the effect of convenient management

Active Publication Date: 2018-06-22
中科边缘智慧信息科技(苏州)有限公司
View PDF8 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) The data put into the recycle bin cannot be accessed by the user. If the file data of user A is deleted by user B, but user A does not have the authority to restore the data, although the data of A will not be lost temporarily, A will no longer be able to access These data
[0006] (2) If a large number of files to be recycled have been piled up in the recycle bin, the user cannot conveniently view the status of the files in batches
[0007] (3) The recovery time of a file is set to 0, that is, it will not stay in the recycle bin after being deleted, but will be cleaned up by the system directly; at this time, if user A opens the file and user B deletes the file, operation conflict will occur

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 recovery method for distributed file system
  • Data recovery method for distributed file system
  • Data recovery method for distributed file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0049] combine figure 1 , the present invention refers to a method for recovering data in a distributed file system. This method builds a TRASH module on the master node of the distributed file system to separately manage the files to be recovered in the system, and provides users with a method to directly operate the files to be recovered. In this way, after the user mounts the recycle bin space of the distributed file system locally, he can perform a series of operations on the files in the recycle bin, and can solve the problems of inaccessibility of data in the traditional recycle bin, difficulty in batch management of files to be recycled, and At the same time, there...

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 recovery method for a distributed file system. The method comprises the steps that a core data structure with a recovery chain table as a recovery space is created, wherein the recovery chain table is provided with an overall pointer variable, and the overall pointer variable is used as a head pointer of the recovery chain table at the same time and named as a trash pointer; as a response to a received deleting instruction, generated by the system, for any one file with the file node type as a TYPE_FILE, a file name and a path of the file are recorded to a path ofa structure body fsedge, a file node is moved to the recovery chain table from a system file directory tree at the same time, the node type of the file is changed to a TYPE_TRASH from the original TYPE_FILE, and accordingly the trash pointer can access the file. According to the data recovery method, a recovery station mechanism of the file system is achieved through a separate TRASH module, andwhen all the files in the system are deleted, if the recovery time of the files is longer than 0, the files cannot be immediately and completely deleted, and nodes of the files are removed from the file tree and put in the recovery chain table.

Description

technical field [0001] The invention relates to the field of distributed storage, and belongs to a data recovery method of a distributed file system. Background technique [0002] Distributed file systems generally use redundancy to ensure data security. Although this method can largely avoid data loss caused by failure of some physical nodes, it cannot avoid file system user misoperations. data loss, for example: users delete files by mistake. [0003] The current mainstream distributed file system has introduced the data recycle bin function. The general practice of these systems is: when the recycle bin function is turned on, file data will be put into the recycle bin by the system whether it is deleted intentionally or unintentionally. For a period of time, if it is accidentally deleted, the user can restore the deleted file within this period. [0004] However, these distributed file system recycle bin functions generally have the following limitations: [0005] (1) ...

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): G06F17/30
CPCG06F16/162G06F16/1767G06F16/182
Inventor 李新明刘斌
Owner 中科边缘智慧信息科技(苏州)有限公司
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