Flash Memory Inode Queue for Audio Video Data Retrieval
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing flash memory systems in smart cameras are inefficient for retrieving and deleting embedded audio video data due to non-optimized file systems, leading to poor user experience and high resource consumption during playback and deletion operations.
Innovation Solution
The flash memory is divided into a main storage partition, an inode partition, and a main node partition, where the inode partition includes an inode queue that stores timestamp and location information for each frame of audio video data, allowing for efficient storage, retrieval, and deletion by arranging inodes based on storage time.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the Linux virtual file system (VFS) is used to manage audio video data in flash memory, then the system is general-purpose and adaptable, but the retrieval and deletion efficiency of audio video data is poor
Solution Approach 1:
The flash memory is divided into a main storage partition for audio video data and an index node (inode) partition for storing indexing information. This segmentation allows the system to maintain general-purpose storage while implementing application-specific optimization for audio video data retrieval and deletion operations.
Solution Approach 2:
An inode queue is introduced as an intermediary structure between the file system and the actual audio video data. The inode contains indexing information such as timestamps and storage locations, enabling efficient retrieval and deletion operations without directly accessing the main storage partition, thus improving productivity while maintaining system adaptability.
2Reliability
If traditional file system traversal is used to access audio video frames, then data integrity is maintained, but the time required for playback and deletion operations is excessive
Solution Approach 1:
Indexing information including timestamps and storage locations is pre-calculated and stored in the inode queue before any retrieval or deletion operations. This preliminary action eliminates the need for time-consuming traversal during playback or deletion, significantly reducing operation time while maintaining data integrity through the structured inode management system.
Solution Approach 2:
Instead of directly accessing and traversing the main storage partition, the system creates and maintains a copy of essential indexing information in the inode partition. This copying mechanism allows rapid access to audio video frames by referencing the inode queue, reducing operation time while the original data integrity is preserved in the main storage partition.
Data Source
AI summary
A method, a device and a flash memory for storing, retrieving and deleting embedded audio video data are disclosed. The flash memory includes several partitions, where each partition includes: a main node partition to store metadata information of the partition; an inode partition, including at least one inode queue including several inodes corresponding to a same audio video track, where each inode is used to store timestamp information and storage location information of one frame of audio video data in the corresponding audio video track; and each inode in an inode queue is arranged according to a storage time sequence of the corresponding frame of audio video data; and a main storage partition, including several data blocks to store the audio video data, where at least one data block corresponds to a same inode.


