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

UBIFS-based data automatic restoration method and apparatus

An automatic repair and data technology, applied in the computer field, can solve the problems of failure, the stability of the asynchronous update mechanism cannot be guaranteed, key files are lost, partition mounting, etc., to achieve the effect of improving reliability.

Active Publication Date: 2018-10-12
ELECTRIC POWER RES INST OF GUANGDONG POWER GRID
View PDF2 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The invention provides a UBIFS-based data automatic repair method and device, which are used to solve the problem that in actual use, due to the abnormal power failure of the equipment, the stability of the asynchronous update mechanism cannot be guaranteed, and key files are prone to be lost or appear. The partition mount fails, which leads to technical problems that the system cannot run

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
  • UBIFS-based data automatic restoration method and apparatus
  • UBIFS-based data automatic restoration method and apparatus
  • UBIFS-based data automatic restoration method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The embodiment of the present invention provides a UBIFS-based data automatic repair method and device, which are used in actual use. Due to abnormal power failure of the device, the stability of the asynchronous update mechanism cannot be guaranteed, which will cause key files to appear in UBIFS. Lost or failed to mount the partition, which leads to technical problems that the system cannot run.

[0042] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the following 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 making creativ...

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

Embodiments of the invention disclose a UBIFS (Unsorted Block Image File System)-based data automatic restoration method and apparatus. The method comprises the steps of obtaining partition mounting detection data of a UBIFS, and determining a damaged partition which is mounted abnormally; erasing and remounting the damaged partition which is mounted abnormally; and obtaining to-be-checked file information stored in a file check list, checking a to-be-checked file in a check code-based check mode, and if the check fails, replacing the file checked unsuccessfully with a backup file corresponding to the file checked unsuccessfully. The technical problem that the system cannot run due to the fact that the stability of an asynchronous update mechanism cannot be ensured and the situation that key files are lost or partition mounting failure occurs easily occurs due to a reason of power failure caused by equipment exception in actual use of the UBIFS is solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a UBIFS-based data automatic repair method and device. Background technique [0002] In embedded systems, NANDFLASH is widely used due to its low cost and small size, and NANDFLASH itself has some special physical characteristics: page block structure, erase before writing, and erase and write restrictions. In order to ensure the reliable operation of NANDFLASH, a special file system is required. [0003] Linux is one of the most commonly used embedded systems. Most of the Linux-oriented flash file systems are designed based on log-structured file systems. Log-structured file systems do not use local update methods, but asynchronous update methods. UBIFS (unordered block mirror file system) is a new generation of flash file system in Linux system. As the successor of JFFS2, UBIFS mainly solves the problems of long mount time, large memory consumption and scalability of JFFS2 f...

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): G06F3/06G06F11/10
CPCG06F3/0619G06F3/0644G06F3/0652G06F3/0679G06F11/1004G06F11/106G06F11/1068
Inventor 党三磊张捷李健张思建刘健
Owner ELECTRIC POWER RES INST OF GUANGDONG POWER GRID