Method and device for processing flash memory partition
A processing method and technology of a processing device are applied in the direction of program control device, responding to the generation of errors, protecting stored content from loss, etc., which can solve problems such as file loss, affecting system stability, UBIFS file system damage, etc., to avoid damage, The effect of improving stability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] refer to figure 1 , which shows a flow chart of the steps of Embodiment 1 of a method for processing a flash memory partition according to the present invention, which may specifically include:
[0041] Step 101, dividing the flash memory into a root file system partition and an application partition;
[0042] In the embedded field, flash memory (FLASH) is a commonly used storage medium. Due to its special hardware structure, ordinary file systems are not suitable for use on FLASH. JFFS2, UBIFS.
[0043] Embedded systems have very high requirements on system stability. If the power is suddenly cut off when the system files are being modified, it is easy to cause file loss or even damage to the file system, which greatly affects the stability of the system.
[0044] In order to improve the stability of the system, the embodiment of the present invention divides the flash memory into at least two partitions: a root file system partition and an application partition. In...
Embodiment 2
[0052] The method for processing flash memory partitions in this embodiment may further include the following optional technical solutions on the basis of the first embodiment above.
[0053] In a preferred embodiment of the present invention, the root file system partition may also include key application backups, refer to figure 2 , which shows a flow chart of steps in Embodiment 2 of a method for processing a flash memory partition according to the present invention, which may specifically include:
[0054] Step 201, dividing the flash memory into a root file system partition and an application partition;
[0055] Step 202, mount the root file system partition in a read-only manner; wherein, the root file system partition may specifically include startup scripts, system programs and key application backups;
[0056] In addition to storing startup scripts and system programs, the root file system partition can also back up some key applications, such as applications for ba...
Embodiment 3
[0063] refer to image 3 , which shows a flow chart of steps in Embodiment 3 of a method for processing a flash memory partition according to the present invention, which may specifically include:
[0064] Step 301, dividing the flash memory into a root file system partition and an application partition;
[0065] Step 302, mount the root file system partition in a read-only manner; wherein, the root file system partition may specifically include startup scripts and system programs;
[0066] Step 303, mount the application partition in a read-write manner;
[0067] Step 304, upgrade the key application program in the application partition.
[0068] In a specific implementation, the step of upgrading the key application in the application partition may include: using the downloaded updateable key application to overwrite the original key application in the application partition, and updating the overwritten critical applications to perform verification operations.
[0069] I...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com