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

Flash memory partition data processing method and device, computer equipment and storage medium

A data processing and flash memory technology, which is applied in electrical digital data processing, special data processing applications, and data processing input/output processes, etc. It can solve problems such as data loss, power failure, and abnormal system startup, and improve data integrity performance, improve stability, and avoid data loss

Pending Publication Date: 2021-06-29
深圳市广通远驰科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, at present, the user program reads and writes files in the specified directory. When performing a read operation, the data is copied from the kernel cache to the user program. When performing a write operation, the data is copied from the user program to the kernel cache, and then the kernel writes the data. In the flash, when the kernel has not written the data back to the flash, the power is turned off, resulting in the loss of the data in the kernel cache, and the system starts abnormally

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
  • Flash memory partition data processing method and device, computer equipment and storage medium
  • Flash memory partition data processing method and device, computer equipment and storage medium
  • Flash memory partition data processing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0052] In one embodiment, such as figure 1 As shown, a flash memory partition data processing method is provided, and this embodiment is illustrated by applying the method to a terminal. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server. It is realized through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0053] Step 102, when it is detected that the first incremental file exists in the target subdirectory where t...

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 relates to a flash memory partition data processing method and device, computer equipment and a storage medium. The method comprises the steps that when it is detected that a first incremental file exists in a target subdirectory for mounting a temporary file system, a timer is triggered to conduct timing from an initial preset value; when the timing value of the timer is a target preset value, compressing the file carrying the first incremental file and resetting the timer to obtain a compressed file; generating a file writing instruction; the file writing instruction carries file writing strategy data; writing the compressed file into a first backup directory of a first logic erasing block of the application partition based on the file writing strategy data to obtain a first backup file; and writing the first backup file into a second backup directory of a second logic erase block of the application partition to obtain a second backup file, and completing processing of the flash memory partition data. By adopting the method, system abnormity caused by loss of important data in the flash memory partition during abnormal power failure of the system can be avoided.

Description

technical field [0001] The present application relates to the field of embedded technology, in particular to a partition data processing method, device, computer equipment and storage medium. Background technique [0002] With the development of source code and the maturity of technology, Linux system is widely used in embedded design. The configuration data and log information of the embedded system are generally stored in the flash memory. The Linux system directly mounts some partitions in the nandflash to the corresponding directory, and then the user program modifies the files in the corresponding directory, and the files are stored in the form of binary data in the In nandflash. [0003] However, at present, the user program reads and writes files in the specified directory. When performing a read operation, the data is copied from the kernel cache to the user program. When performing a write operation, the data is copied from the user program to the kernel cache, and...

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): G06F3/06G06F11/14G06F16/174
CPCG06F3/0619G06F3/0643G06F3/0644G06F3/0652G06F3/0679G06F11/1441G06F11/1448G06F16/1744
Inventor 刘俊捷蒋永福
Owner 深圳市广通远驰科技有限公司