Media Index Generation for Storage-Constrained Recording
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In multimedia terminals, the prior art fails to ensure that media index information is written correctly when the storage space usage exceeds expectations during media recording, leading to abnormal termination and inability to play media data normally.
Innovation Solution
A method and device for recording media that periodically generate and save media index information during the recording process, ensuring that media data can be played normally even if storage space changes unexpectedly, by reserving space for index information and dynamically adjusting the frequency of index generation based on available storage space.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If media index information is generated and saved once after media data is written, then storage space is efficiently utilized, but the media index information may fail to be written when storage space is used up during recording
Solution Approach 1:
The patent applies preliminary action by periodically generating media index information during the media recording process rather than waiting until the end. This ensures that index information is available at intermediate points, allowing the system to save progress even if recording is interrupted due to storage space constraints. The index information is generated at predetermined time intervals throughout the recording process.
2Productivity
If the recording time threshold is predicted based on current available storage space, then storage space management is optimized, but the prediction becomes inaccurate when other data writing tasks occur during recording
Solution Approach 1:
The patent implements periodic action by generating media index information at regular time intervals during the recording process. This periodic generation ensures that regardless of storage space changes caused by other writing tasks, the system has predetermined checkpoints where index information is available, making the recording process more resilient to storage space fluctuations.
3Adaptability or versatility
If media recording allows other data writing tasks concurrently, then system multitasking capability is improved, but storage space change rate exceeds expectation causing recording failure
Solution Approach 1:
The patent applies segmentation by dividing the media recording process into segments with periodic index information generation points. Each segment has its own index information that can be independently saved. This segmentation allows the system to maintain progress even when storage space is consumed by other tasks, as each segment's index information represents a recoverable checkpoint.
Data Source
AI summary
A method and a device for recording media are provided. The method includes performing a media recording process. During the media recording process, periodically media index information are generated according to currently written media chunks. The generated media index information is saved.


