Method and device for storing file backups and backup method for file systems

A file backup and file system technology, applied in the field of information storage, can solve problems such as system power failure, reduced efficiency, and inadvisability, and achieve the effect of protecting integrity and ensuring integrity

Active Publication Date: 2012-04-11
GUANGDONG VTRON TECH CO LTD
View PDF5 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the third way, there are the following specific ways of use: 1. Data storage, reading and writing are all realized by directly reading and writing Flash. The advantage is that the reading and writing speed is fast without going through the middleware of the operating system layer; The process of reading and writing Flash and the organization and conversion of information structures must be realized by ourselves. It is necessary to have a deep understanding of the operating principles and modes of Flash, which is difficult to implement and difficult to guarantee reliability. less and less desirable
2. It is

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
  • Method and device for storing file backups and backup method for file systems
  • Method and device for storing file backups and backup method for file systems
  • Method and device for storing file backups and backup method for file systems

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0022] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings.

[0023] figure 1 It is a flowchart of a file backup storage method of the present invention, including:

[0024] S101: Configure a backup file for the main file in the file system, and preset a file header for the main file and the backup file, and the file header mainly includes a verification code for checking the integrity of the file;

[0025] S102: Determine the integrity of the file according to the file header, when the main file is complete but the backup is incomplete, overwrite the main file with the backup file; when the backup file is complete but the main file is incomplete, overwrite the main file with the backup file.

[0026] In the process of writing to the file system of the storage, abnormal situations may be encountered at any time. Abnormal conditio...

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 method and a device for storing file backups and a backup method for file systems. The storing method comprises the following steps that: the main file in the file system is configured with backup files; the main file and the backup file are pre-set with file headers; the file header mainly comprises verification codes for detecting the completeness of files; the completeness of the file is judged according to the file header; when the main file is complete while the backup file is incomplete, the main file covers the backup file; when the backup file is complete while the main file is incomplete, the backup file covers the main file. Incompleteness of files can be judged according to the file header by adopting the invention and the incomplete file is restored by another file (main/backup file) so as to guarantee the completeness of main/backup files.

Description

Technical field [0001] The present invention relates to information storage technology, in particular to a file backup storage method, device and file system backup method. Background technique [0002] For most embedded system applications, there are usually three ways to save information: First, save it in EEPROM. Its advantages are low cost and simple usage; its disadvantage is that there is less information that can be stored, usually only 128 bytes, which is obviously not enough for some relatively complex embedded applications. In addition, it is slow to read and write. Second, save it in SPI Flash. Its advantages are low cost, and the information that can be stored is larger than EEPROM, usually more than 2M bytes; its disadvantage is that although the read and write speed is faster than EEPROM, it still cannot meet some applications with high real-time requirements. Third, save it in Nor Flash or Nand Flash. Its advantage is that the amount of information that can be s...

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/14G06F17/30
Inventor 何常黄晓东陈昶
Owner GUANGDONG VTRON 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