Electronic Device File Management to Reduce Flash Memory I/O
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing electronic devices face performance deterioration due to frequent input/output operations in flash memory, especially in embedded systems with limited RAM capacity and low-speed storage, leading to decreased application execution speed.
Innovation Solution
An electronic apparatus with a processor that distinguishes between rewritable and read-only files, transferring read-only files to a second area for compression and storing rewritable files for direct deletion, minimizing input/output operations in flash memory.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If read-only files are deleted from the first area to free up memory space, then RAM capacity is released, but flash memory input/output operations increase causing performance deterioration
Solution Approach 1:
The patent extracts read-only files from the first memory area and stores them in a second memory area, separating them from rewritable files. This extraction allows the system to free up space in the first area by deleting only read-only files, which do not require frequent access, thereby minimizing flash memory I/O operations and maintaining application execution speed while releasing RAM capacity.
Solution Approach 2:
The patent segments the memory management process by dividing files into two categories: read-only files and rewritable files. By segmenting the deletion operation to apply only to read-only files in the first area, the system optimizes memory space utilization without causing performance deterioration from excessive flash memory access.
2Productivity
If flash memory with high input/output speed is used to reduce performance deterioration, then application execution speed is maintained, but unit cost increases
Solution Approach 1:
The patent changes the management parameters of files in memory by categorizing them into read-only and rewritable types. This parameter change enables selective deletion of read-only files, reducing the frequency of flash memory I/O operations and thereby maintaining application execution speed without requiring high-speed flash memory hardware, thus controlling unit costs.
3Productivity
If RAM with large storage capacity is used to avoid page drop, then application execution speed is maintained, but unit cost increases
Solution Approach 1:
The patent introduces a dynamic memory management mechanism that adapts to different file types. By dynamically identifying and selectively deleting read-only files from the first area, the system optimizes RAM capacity utilization without requiring permanently large RAM configurations, thereby maintaining application execution speed while controlling hardware costs.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
The electronic apparatus includes a storage; a memory; and a processor configured to: store data, based on a first file of a rewritable type or a second file of a read-only type stored in the storage, in a first area of the memory, identify a type of a file corresponding to the data stored in the first area of the memory, in response to an event of freeing up space in the memory, delete the data of the first file from the first area, based on the identified type being the rewritable type of the first file, store the data of the second file in a second area of the memory and delete the data of the second file from the first area, based on the identified type being the read-only type of the second file, restore the data of the first file to the first area based on the first file stored in the storage, in response to an event of accessing the data of the first file, and restore the data of the second file stored in the second area to the first area, in response to an event of accessing the data of the second file.