Remote upgrade method and system of Squashfs read-only root file system

A root file system and remote upgrade technology, applied in the direction of program control device, program loading/starting, etc., can solve the problem that the read-only Squashfs root file system cannot be remotely upgraded online, and achieve the effect of solving high maintenance costs

Active Publication Date: 2015-08-12
WUHAN FIBERHOME TECHNICAL SERVICES CO LTD
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is the problem that the read-only Squashfs root file system in the Linux system cannot be upgraded remotely

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
  • Remote upgrade method and system of Squashfs read-only root file system
  • Remote upgrade method and system of Squashfs read-only root file system
  • Remote upgrade method and system of Squashfs read-only root file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0055] Such as figure 1 As shown, the remote upgrade system of a kind of Squashfs read-only root file system provided by the present invention includes two mounted root file systems and a BOOT multi-start control unit 10;

[0056] The two mounted root file systems are respectively the Squashfs read-only root file system 11 and the memory file system 12 storing the upgrade method of the Squashfs read-only root file system, and the two mountable root file systems are stored in different areas of the root file system storage area , and the Squashfs read-only root file system 11 and the memory file system 12 correspond to the first device tree description file 110 that identifies the storage area of ​​the Squashfs read-only root file system as read-only and identify the Squashfs read-only root file system respectively The storage area is a reada...

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 remote upgrade method and system of a Squashfs read-only root file system. The remote update system comprises two mountable root file systems and a BOOT multi-boot control unit, wherein the two mountable root file systems include the Squashfs read-only root file system and a memory file system. The Squashfs read-only root file system and the memory file system correspond to a first device tree description file and a second device tree description file respectively, and the first device tree description file and the second device tree description file are used for identifying a storage area of the Squashfs read-only root file system to be read-only and readable and writable; the BOOT multi-boot control unit is used for analyzing different device tree description files by modifying boot marker bits and used for booting and analyzing the root file systems corresponding to the device tree description files; when the BOOT multi-boot control unit modifies the boot marker bits to be in an upgrade state, the second device tree description file is analyzed, the memory file system is mounted to serve as a root file system, and the Squashfs read-only root file system is remotely upgraded. By means of the remote upgrade method and system, maintainability and reliability of the system are enhanced on the basis that hardware cost is not increased, and meanwhile the problem that a remote area device maintenance system is high in maintenance cost and large in difficulty is solved.

Description

technical field [0001] The invention relates to a root file system of an embedded Linux operating system, in particular to a remote upgrade method and system for a Squashfs (pumpkin file system) read-only root file system. Background technique [0002] In the application of the embedded Linux system, the root file system (root filesystem) will be loaded after the system is started, and various background service programs, loading applications, and providing user operation interfaces will be started through the root file system. In actual products, if the root file system is damaged, not only system services and applications cannot be loaded and run normally, but also serious consequences that the system cannot start normally. The above consequences caused by the root file system damage have a great impact on product reliability. The impact is more severe for demanding communication systems. [0003] In some systems that require high reliability, in order to ensure the stabi...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
Inventor 刘勇刚陈俊强田运朴彭正非
Owner WUHAN FIBERHOME TECHNICAL SERVICES 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