Method and apparatus for safely upgrading file system
A file system and file upgrade technology, applied in the field of data processing, can solve problems such as the system cannot be called, the upgrade cannot be completed normally, and the file system upgrade fails.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] refer to figure 1 , showing a flow chart of steps of a method for safely upgrading a file system according to the present invention, the method may specifically include:
[0037] Step 101, during the startup process of the operating system, detect whether there is an upgrade file corresponding to the file system to be upgraded in the upgrade area in the memory chip during the boot loader (BootLoader) stage;
[0038] Usually, BootLoader is the first piece of code executed by the operating system after it is powered on. After it completes the initialization of the CPU and related hardware, it installs the operating system image or solidified embedded application in the memory and then jumps to the operation The space where the system is located starts the operating system to run, and BootLoader can initialize hardware devices and establish a memory space map, thereby bringing the system's software and hardware environment to a suitable state, so as to prepare the correct ...
Embodiment 2
[0059] refer to image 3 , shows a structural block diagram of an embodiment of a device for safely upgrading a file system in the present invention, the device includes: a startup module 31, a detection module 32 and an upgrade module 33; wherein,
[0060] The startup module 31 is configured to start an operating system;
[0061] The detection module 32 is configured to detect whether there is an upgrade file corresponding to the file system to be upgraded in the upgrade area in the storage chip during the startup process of the operating system at the BootLoader stage;
[0062] The upgrade module 33 is configured to write the upgrade file into the file system area of the memory chip to perform a file system upgrade operation when the detection module 32 determines through detection that there is an upgrade file in the upgrade area of the memory chip.
[0063] In an alternative embodiment of the present invention, refer to Figure 4 , the device further includes: a writ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


