File system recovery method and device

A technology of file system and recovery method, which is applied in the direction of responding to error generation, instrumentation, electrical digital data processing, etc., can solve problems such as file system unusability, and achieve the effect of enhancing security

Active Publication Date: 2018-07-06
PRANUS BEIJING TECH CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, some functions of the file system will not be available

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Embodiments and examples of the present invention will be described in detail below with reference to the drawings.

[0028] The scope of applicability of the present invention will become apparent from the detailed description given below. It should be understood, however, that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are given for purposes of illustration only.

[0029] figure 1 A flow chart of an embodiment of the file system restoration method according to the present invention is shown.

[0030] In step S102, in response to dm-verity finding that the file system is damaged, dm-verity will give the damaged blockid (block number).

[0031] In step S104, the security module detects whether the current environment of the system is safe. If the security module determines that the system environment is safe, the process proceeds to step S110. Otherwise, if the security module determines that the syste...

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 discloses a file system recovery method and device. The file system recovery method comprises the steps of determining a block number of a damaged part in response to damage of a file system; detecting whether the current environment is safe or not; in response to the fact that the current environment is safe, directly repairing the damaged file system; in response to the fact that the current environment is unsafe, restarting the system to enter a BootLoader mode, and then repairing the damaged file system. By means of the file system recovery method and device, when the file system is damaged, different repairing strategies can be adopted according to the environment safety condition for automatic repairing, the safety of a smart phone and embedded equipment is greatly improved, the maintainability of the equipment is improved, and the user experience is improved.

Description

technical field [0001] The present application relates to the field of electrical digital data processing, in particular to a file system recovery method and device. Background technique [0002] Android has proposed the dm-verity method to protect the file system since version 4.4. dm-verity is based on the Device mapper framework of the kernel (kernel). Device mapper is a mapping framework mechanism from logical devices to physical devices provided in the kernel. Under this mechanism, users can easily formulate storage resource management strategies according to their own needs. dm-verity uses a hash (hash) tree to describe the entire system (system) image. This mechanism allows the system partition to be verified when reading and writing, instead of verifying the entire system image at one time. When the verification hash value is inconsistent, it indicates that some blocks (blocks) of the file system are damaged, and an IO error is returned. At this time, some functi...

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): G06F11/14
CPCG06F11/1438
Inventor 贾昌伟
Owner PRANUS BEIJING 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