Media File Access Interface for Orderly Permission Management
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current electronic devices lack systematic and secure file management, leading to issues such as unclear file sources, disordered storage directories, and excessive permissions, resulting in poor user experience due to random file access and management by applications.
Innovation Solution
Implement a file management method and device that utilize a unified media framework to manage and control file generation, access, storage, and deletion through a media data interface, incorporating capabilities for file creation, use, storage, and deletion, with centralized permission management and file owner concepts to standardize file processing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If applications are granted permission to access the entire internal card, then applications can access and process media files, but file access becomes random and disordered, and file sources become unclear
Solution Approach 1:
The patent introduces a media library as an intermediary layer between applications and the file system. Applications access media files through the media library rather than directly from the internal card, which organizes and manages file access permissions. This mediator structure enables controlled file access while maintaining system order and tracking file sources.
2Adaptability or versatility
If applications can randomly create and modify files in the internal card, then file creation flexibility is improved, but file storage directories become disordered and permission management becomes excessive
Solution Approach 1:
The patent segments the file system into organized directories within the media library, with each directory having specific purposes and access rules. Instead of allowing random file creation anywhere in the internal card, applications create files in designated directories through the media library interface. This segmentation reduces permission management complexity by providing structured access control.
3Device complexity
If no systematic file management is implemented, then device complexity is reduced, but file access efficiency and search efficiency deteriorate
Solution Approach 1:
The patent implements a universal media library interface that handles multiple file operations (access, creation, modification, deletion) and supports multiple application types through a unified mechanism. This multi-functional interface improves file access and search efficiency without proportionally increasing device complexity, as the same infrastructure serves diverse file management needs.
Data Source
Figure 1(1)~1(2)
Figure 2
Figure 3
AI summary
Embodiments of this application provide a file management method and a related device. The file management method is applied to an electronic device, an operating system runs on the electronic device, and the first operating system provides a first interface, a media data interface, and a second capability. The method includes: running a first application on the first operating system, and displaying a first user interface of the first application, where a first option corresponding to a first function is presented on the first user interface, and the first function includes a file access function; enabling the file access function and displaying a second user interface in response to a first user operation on the first option; and detecting a second user operation of selecting a first media file from one or more media files, and returning a resource identifier of the first media file to the first application through the media data interface, for the first application to access the first media file based on the resource identifier. According to embodiments of this application, an entire file system can be systematically and securely managed and controlled.