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

Equipment dual-system protection method and equipment dual-system upgrading method on basis of linux

A dual system, backup system technology, applied in special data processing applications, instruments, electrical digital data processing and other directions, can solve problems such as bad blocks, affecting system stability and reliability, and achieve the effect of improving stability

Active Publication Date: 2014-03-26
SHENZHEN INFINOVA
View PDF2 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention proposes a linux-based dual-system protection and upgrade method for equipment, and the main technical problem to be solved is the problem that the stability and reliability of the system will be greatly affected when there are bad blocks in the flash in the prior art.

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
  • Equipment dual-system protection method and equipment dual-system upgrading method on basis of linux
  • Equipment dual-system protection method and equipment dual-system upgrading method on basis of linux
  • Equipment dual-system protection method and equipment dual-system upgrading method on basis of linux

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to describe the technical content, structural features, achieved goals and effects of the present invention in detail, the following will be described in detail in conjunction with the embodiments and accompanying drawings.

[0028] Params partition: pass the flag bit of user space to uboot, uboot means bootloader;

[0029] Ptb partition: store the Ptb table, which is used to save the crc check code, version number and other information of each partition;

[0030] Kernel partition: Kernel partition, used for the kernel running on the system;

[0031] bakkernel partition: kernel backup partition, used to restore the damaged main kernel;

[0032] rootfs partition: root file system partition, used to store the root file system of the system;

[0033] bakrootfs partition: root file system backup partition: restore damaged root file system;

[0034] Paramfs partition: system data partition, used to save the parameters required by the application;

[0035] bakpar...

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 an equipment dual-system protection method and an equipment dual-system upgrading method on the basis of the linux. The equipment dual-system protection method on the basis of the linux comprises the following steps: S01, establishing a backup system in a storage space of a linux file system; S02, judging whether the linux system is started for the first time; S03, judging whether a damaged zone bit in a params partition is set, recovering a kernel partition and a rootfs partition from the backup system if yes, and executing the step S04 if no; S04, judging whether an appupdate zone bit in the params partition is set; S05, judging whether kernel, rootfs and appfs updating zone bits in the params partition are simultaneously set; S06, checking whether a mirror image of the kernel partition is undamaged; S07, checking whether a mirror image of the rootfs partition is undamaged; and S08, loading the kernel partition and enabling the linux system to start to work. By carrying out backup on the important partitions of a system, the equipment dual-system protection method is used for recovering the integral system when detecting damage.

Description

technical field [0001] The invention relates to the technical field of embedded linux systems, in particular to a linux-based device dual system protection and upgrading method. Background technique [0002] A typical embedded Linux system usually includes a boot area, a kernel area, and a file system area according to the division of storage space. The boot area stores Boot Loader and system parameters, and the kernel area stores a customized Linux kernel for a specific embedded platform. The file system includes the root file system and the file system built on the Flash memory device. The graphical interface system and user applications are placed in the file system area: 1. The space occupied by the Boot Loader is generally relatively small, and there is a startup parameter area next to it, which is used to save the Linux kernel startup parameters and user startup configuration. 2. The Boot Loader program is the boot loader of the embedded system, and is the first piece...

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): G06F9/445G06F17/30
Inventor 李远哲
Owner SHENZHEN INFINOVA
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