Supercharge Your Innovation With Domain-Expert AI Agents!

Backup method for UBIFS file system in embedded type Linux operating system

A file system and operating system technology that uses redundancy in computing for data error detection and response error generation. It can solve problems such as file crashes and life limitations, and achieve the effect of repairing the file system.

Inactive Publication Date: 2015-12-09
WAHLAP TECH CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The use of a backup battery reduces the risk of system crashes to a certain extent, but the backup battery has a limited life after all. When the battery fails and is not replaced in time, the risk of file crashes will occur at any time

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
  • Backup method for UBIFS file system in embedded type Linux operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to realize that the backup file system covers the UBIFS file in the workspace, the uboot program and application program need to be changed. The core idea is to read a fixed data in a certain area of ​​the non-volatile memory in the uboot program, and after the system works normally, the application program modifies the data written by uboot in this unit. In this way, when the system is started again, the uboot program will judge whether the feature code is the data written by uboot. If the detected data has changed from the previous record, it means that the system was started normally last time, and there is no need to start backup; The interval is still the data written by uboot, which means that after the last system startup, the application program has not been entered. At this time, the daemon process of the application program will clear the "watchdog". The "watchdog" action causes the system to restart again, so start the backup file Overwrite the works...

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 aims at providing a backup method for a UBIFS file system in an embedded type Linux operating system in order to reduce the problem of data setting caused by power failure. In order to fulfill the aim, the backup method for the UBIFS file system in the embedded type Linux operating system is used on a nonvolatile memory and comprises the following steps: 1, partitioning an MTD; 2, setting two functional blocks in the first partition; 3, storing the UBIFS file system which is as the same as a backup region in the first partition into the second partition; 4, storing application programs and data in the third partition; 5, recording uboot feature codes of the UBIFS file system in the memory of the second partition at every time when the system is started; and 6, modifying the data of the UBIFS file system in the second partition by the application programs during program updating. Due to such arrangement, the UBIFS file system is backed up by developing a read-only MTD partition, so that the aim of repairing the file system is fulfilled.

Description

technical field [0001] The invention relates to a system file backup method, in particular to a UBIFS file system backup method in an embedded Linux operating system. Background technique [0002] At present, the linux operating system is widely used in the software design of instruments and meters due to its open source code and mature technology. The Linux file system has also developed from the original jiffs2, yaffs2 and other systems to the current UBIFS file system. UBIFS is a new flashfilesystem developed by Nokia engineers with the help of the university of Szeged University. Considered to be the next generation of the JFFS2 file system. JFFS2 runs on MTD devices, while UBIFS can only work on UBIvolume. It can also be said that UBIFS involves three subsystems: [0003] 1. The MTD subsystem provides an access interface to the flash chip. The MTD subsystem provides the concept of MTDdevice, such as / dev / mtdx. MTD can be considered as rawflash; [0004] 2. UBI subs...

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
Inventor 马小辉赵强郭巨锋
Owner WAHLAP TECH CO LTD
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