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

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.

Inactive Publication Date: 2017-07-21
SHENZHEN CITY SIGLENT TECH
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, after directly erasing the file system in the memory chip, the tools used to burn the new file system in the original file system will also be erased. If the tools of the original file system have not been imported into the system memory, when the file system is upgraded, the system will report an error because it cannot call the tools used to burn the new file system in the original file system
That is to say, because the tool for burning the new file system cannot be found, the new file system cannot be written into the corresponding storage area normally, and the upgrade cannot be completed normally.
Based on the above reasons, the new file system cannot be written into the memory chip normally, which makes the file system upgrade fail, which in turn causes the operating system to crash and the machine cannot be started.

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 apparatus for safely upgrading file system
  • Method and apparatus for safely upgrading file system
  • Method and apparatus for safely upgrading file system

Examples

Experimental program
Comparison scheme
Effect test

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...

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

An embodiment of the present invention provides a method for safely upgrading a file system. The method comprises: detecting whether there is an upgrade file corresponding to a to-be-upgraded file system in an upgrade area of the memory chip during the BootLoader stage in the operating system starting process; and when it is detected to determine that there is an upgrade file in the upgrade area of the memory chip, writing the upgrade file into the file system area in the memory chip so as to execute the file system upgrading operation. According to the method for safely upgrading the file system provided by the embodiment of the present invention, the file system upgrading process can be finished during the BootLoader stage, so that problems that after starting the operating system, when carrying out file system upgrading, tools for burning a new file system cannot be found due to the erasure of the contents of the memory chip so that the new file system cannot be written into the memory chip and the upgrading cannot be finished can be effectively avoided.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and device for safely upgrading a file system. Background technique [0002] The file system is the method and data structure used by the operating system to specify the files on the storage device (commonly a disk, but also a NAND Flash-based solid state drive) or partition, that is, the method of organizing files on the storage device. From a system point of view, a file system is a system that organizes and allocates the space of a file storage device, is responsible for file storage, and protects and retrieves stored files. [0003] Currently known solutions to upgrade the file system are to upgrade the file system after directly erasing the existing file system on the memory chip while the operating system is running. However, this method has the risk of causing the system to crash . This is because the source files of the entire file system are not all im...

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/445G06F9/44G06F17/30
CPCG06F8/65G06F9/4406G06F16/116
Inventor 邓智炜彭晓林谢林东
Owner SHENZHEN CITY SIGLENT TECH