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

Inactive Publication Date: 2016-10-19
VISIONVERA INFORMATION TECH CO LTD
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in practical applications, if the power is suddenly cut off when modifying the partition using the UBIFS file system, it is easy to cause file loss and even damage the UBIFS file system, which greatly affects the stability of the system.

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 device for processing flash memory partition
  • Method and device for processing flash memory partition
  • Method and device for processing flash memory partition

Examples

Experimental program
Comparison scheme
Effect test

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

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

Embodiments of the present invention provide a method and device for processing flash memory partitions, wherein the method includes: dividing the flash memory into a root file system partition and an application partition; mounting the root file system partition in a read-only manner; wherein, The root file system partition includes startup scripts and system programs; the application partition is mounted in a read-write manner. The embodiment of the present invention can improve the stability of the flash memory file system.

Description

technical field [0001] The invention relates to the field of embedded technology, in particular to a method and device for processing flash memory partitions. Background technique [0002] Flash memory (Flash Memory) is a non-volatile memory, referred to as flash memory. Currently, there are two main types of flash memory, NOR type and NAND type. NAND flash memory has the advantages of fast erasing speed, fast batch writing speed, large capacity, etc., and has wider application prospects. [0003] UBIFS (Unsorted Block Image File System, unordered block image file system) is a new generation of flash memory file system being developed on Linux. UBIFS flash memory file system is mainly used for NAND flash memory. Compared with JFFS2 (JournallingFlash File System Version 2), which needs to scan all nodes on the flash memory during the mounting process, the index data of UBIFS is also stored on the flash memory, so it has the characteristics of fast mounting speed. [0004] ...

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/445G06F11/14G06F12/16
Inventor 马令申王艳辉杨春晖
Owner VISIONVERA INFORMATION TECH 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