Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

File protection method and device

A technology for protecting devices and files, applied in the field of data processing

Inactive Publication Date: 2016-11-09
NEW H3C TECH CO LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiments of the present invention is to provide a file protection method and device to solve the problem in the prior art that the inodes stored in the log file system are overwritten and updated

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 protection method and device
  • File protection method and device
  • File protection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] 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 of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0053] In order to solve the problems in the prior art, the embodiment of the present invention provides a file protection method and device. The file protection method provided by the embodiment of the present invention will first be described in detail below.

[0054] figure 1 The first schematic flow chart of the file protection method provided by the embodiment of the present invention includes:

[0055] S101: Determine attribute information of a file to be pr...

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 embodiment of the invention discloses a file protection method and device. The method comprises the steps that attribute information of a to-be-protected file stored in a file system is determined; a backup file corresponding to the attribute information is created; whether the attribute information of the file is altered or not is detected; when it is detected that the attribute information of the file is altered, the altered attribute information is read, and the corresponding backup file is updated according to the altered attribute information. Thus, the to-be-protected file is subjected to backup so that file restoration can be realized according to the corresponding backup file when the file is deleted and needs to be restored, and the problem that in the prior art, inode stored in a log file system is covered and updated, and consequently a deleted file cannot be restored is solved.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a file protection method and device. Background technique [0002] Most existing file systems store file attributes and file content separately. For example, in the linux file system, the attribute information inode is used to store various attributes of the file, including: owner information, permission information, time information, flag information, content information, and the location information of the corresponding block, etc., where the block uses to store the contents of the file. In addition, when deleting a file in the file system, the inode of the file is cleared, and the block of the file still exists. [0003] Among them, the log file system with fault recovery capability is a more commonly used file system, which can meet the needs of users to restore deleted files. Specifically, for a log file system with fault recovery capability, when deleting a file, before de...

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): G06F21/62G06F11/14
Inventor 钟晋明
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products