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

A stacked file system and its loading method and upgrading method

A file system and root file system technology, applied in the field of stacking file systems and upgrading of stacking file systems, can solve the problems of complicated versions, difficult to maintain, and inconvenient data backup, so as to improve scalability and ease of maintenance, Easy to configure and enhance the effect of convenience

Active Publication Date: 2021-09-24
FENGHUO COMM SCI & TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditionally, in order to achieve the above requirements, root file system developers often have to release multiple versions of root file system images, resulting in complicated versions and difficult maintenance.
In addition, the traditional file system upgrade usually deletes the original files and replaces the new ones. If a failure occurs during the upgrade process or an active rollback occurs, it needs to be deleted from the beginning and installed and replaced. It is not convenient to back up the previous data.

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
  • A stacked file system and its loading method and upgrading method
  • A stacked file system and its loading method and upgrading method
  • A stacked file system and its loading method and upgrading method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] see figure 1 As shown, the embodiment of the present invention provides a stacked file system, which is applicable to the Linux software platform, and is used to realize the modularization of root files, facilitate configuration, and improve the scalability and ease of maintenance of applications or products. The stacked file system in the embodiment of the present invention specifically includes a root file system, at least one patched root file system, and at least one user file system.

[0037] The root file system is the original file system released. The original file system is a complete and independently usable file system, that is, a general root file system, which is equivalent to the general basic version, and is used to realize the basis of the system root file system. , is standard and unified, can meet most of the needs, and does not involve specific scenarios and businesses.

[0038] The patched root file system is a patched file system and exists in the ...

Embodiment 2

[0044] On the basis of Embodiment 1, the files contained in the user file system are files that are different from the root file system based on preset business requirements, which is equivalent to files that only need to be changed on the root file system, making full use of the root file The original content of the system avoids repeated occupation of storage space and reduces the error rate of upgrades.

[0045]The file system mounting configuration table is also used to record the physical storage location, hierarchical relationship, and mounting sequence of the file system, and may also include the file type of the file system, mounting parameters, and dependencies between file systems. When the operating system starts, mount the corresponding file system according to the records in the file system mount configuration table. The file system refers to the root file system, the patch root file system and the user file system.

Embodiment 3

[0047] see figure 2 As shown, the embodiment of the present invention provides a method for loading a stacked file system, which is used to load the stacked file system described in Embodiment 1, including the following steps:

[0048] S1: Start the operating system kernel, load the root file system, read the file system mounting configuration table, and judge whether there is a patch root file system that needs to be mounted. If there is, go to S2, otherwise, go to S3;

[0049] S2: Mount the patch root file system to be mounted in a stacked manner, and transfer to S3; when there are multiple patch root file systems to be mounted, the multiple patch root file systems are mounted in sequence, and the previous After success, proceed to the next mount.

[0050] S3: Read the file system mount configuration table to determine whether there is a user file system that needs to be mounted, if so, go to S4, otherwise, end;

[0051] S4: Mount the user file system to be mounted in sta...

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 stacked file system and its loading method and upgrading method, relating to the field of embedded storage. The system includes a root file system, at least one patched root file system, at least one user file system and a file system mounting configuration table , the root file system is the original file system released; the patch root file system is a patch file system, and exists in the form of a mirror image file, and is used for upgrading the root file system; the user file system is a patch type The file system exists in the form of mirror files, and is used to replace, modify, and delete files in the root file system with its own files based on preset services to achieve preset services; the file system mount configuration table is used to record the required Information about the mounted filesystem. The invention upgrades the root file system by using the user file system in a stacking manner, which is convenient for configuration.

Description

technical field [0001] The invention relates to the field of embedded storage, in particular to a stacked file system, a loading method of the stacked file system and an upgrading method of the stacked file system. Background technique [0002] In embedded devices, the root file system is extremely important. In practical applications, the root file system developers need to ensure the standardization of the root file system to facilitate the maintenance of the root file system. They must also ensure that the root file system can meet the needs of different scenarios and different businesses, such as meeting application requirements, and Support for extensions. Traditionally, root file system developers often have to release multiple versions of root file system images in order to achieve the above requirements, resulting in complicated versions and difficult maintenance. In addition, the traditional file system upgrade usually deletes the original files and replaces them ...

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 Patents(China)
IPC IPC(8): G06F8/65G06F8/71G06F16/13
CPCG06F8/65G06F8/71
Inventor 王峰
Owner FENGHUO COMM SCI & TECH CO LTD