File management method and system and electronic equipment
A file management method and file management system technology, applied in the computer field, can solve problems such as insufficient memory, and achieve the effect of convenient rewriting and size reduction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] see figure 1 , figure 1 It is a schematic flowchart of an embodiment of the file management method of the present invention. Such as figure 1 As shown, the file management method includes the following steps:
[0032] S11: Initialize the file system, divide the file system into an original file area, a buffer queue, and a buffer file area, the original file area includes multiple files, the buffer queue is an area with a preset size, and stores the original file area Some files, the buffer file area is a new file;
[0033] In step S11, the serial numbers of the plurality of files in the original file area are numbered sequentially, and the file data of each file in the original file area is obtained through the serial numbers.
[0034] Wherein, the original file area, the buffer queue and the buffer file area are respectively set in the Flash of the electronic device.
[0035] Wherein, the data structure of each file in the buffer queue may be represented by the fo...
Embodiment 2
[0058] see image 3 , image 3 It is a schematic flowchart of an embodiment of the file management method of the present invention. Such as image 3 As shown, the file management method includes the following steps:
[0059] S31: Initialize the file system, divide the file system into an original file area, a buffer queue, and a buffer file area, the original file area includes multiple files, the buffer queue is an area with a preset size, and stores the original file area Some files, the buffer file area is a new file;
[0060] Wherein, step S31 is the same as step S11.
[0061] S32: After the file in the original file area is edited, write the update file to the buffer queue, if the file in the buffer queue is full, merge the original file area and the file in the buffer queue and write into the buffer file area;
[0062] Wherein, step S32 is the same as step S12.
[0063] S33: Refresh the buffer file area;
[0064] Specifically, such as Figure 4 As shown, step S3...
Embodiment 3
[0089] see Figure 6 , Figure 6 It is a structural schematic diagram of an embodiment of the file management device of the present invention. Such as Figure 6 As shown, the file management device includes an initialization file system module 61 , a file system write module 62 and a file system refresh module 63 .
[0090] The initialization file system module 61 is used for initializing the file system, and the file system is divided into an original file area, a buffer queue, and a buffer file area. The original file area includes a plurality of files, and the buffer queue is an area of a preset size. Some files in the original file area are stored, and the buffer file area is a new file.
[0091]Write file system module 62, for after the file of this original file area is edited, update file is written into this buffer queue, if the file of this buffer queue is full, then this original file area and this buffer area The files in the queue are merged and written to th...
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