Video File Encryption Partition Move via Copying
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing video file encryption methods are inefficient when moving encrypted files across different disk partitions, leading to slow speeds and reduced encryption efficiency.
Innovation Solution
A method that encrypts video files by reading header data, encrypting it using an encryption key, and generating new header data with an encryption ID, then moving the encrypted files within the same partition to maintain speed and security, utilizing non-hidden partitions on a mobile terminal for storage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the encrypted video file is moved from its original storage location to a designated storage location in a different disk partition, then the security and privacy of the video file is improved, but the encryption speed and efficiency deteriorate significantly
Solution Approach 1:
The patent creates a copy of the video file in the designated storage location and establishes a binding relationship between the original and the copy. The system then deletes the original file, effectively moving the file without actual data transfer. This copying approach maintains high encryption speed while achieving secure storage in the designated location.
2Reliability
If the encrypted video file is moved across different disk partitions, then the file security is improved, but the time required for the encryption process increases
Solution Approach 1:
Instead of physically moving the encrypted video file across disk partitions which would consume significant time, the patent creates an instant copy in the target partition and binds the original to this copy. After binding, the original is deleted, achieving the security goal without the time penalty of actual data transfer.
3Reliability
If the video file is encrypted using conventional methods, then the encryption security is achieved, but the compatibility with conventional video file descriptors deteriorates
Solution Approach 1:
The patent segments the video file into two parts: an encrypted portion and an unencrypted header portion. The header contains file descriptor information that remains compatible with conventional systems, while the main body is encrypted for security. This segmentation allows both security and compatibility to coexist.
Solution Approach 2:
The patent introduces a binding mechanism as an intermediary between the encrypted video file and the conventional video file descriptor system. This binding relationship allows conventional descriptors to reference and access encrypted files without needing to understand the encryption itself, maintaining compatibility while enabling security.
Data Source
Figure 1~2
Figure 3a
Figure 3b
AI summary
This discloses a video file encryption and decryption method, device, and mobile terminal. The encryption method can include: obtaining a to-be-encrypted video file and an encryption key, encrypting the video file using the encryption key to obtain an encrypted video file, obtaining scanned non-hidden partitions of a mobile terminal and an extended memory of the mobile terminal for storing user data, determining a partition storing the to-be-encrypted video file among the non-hidden partitions, and moving the encrypted video file to a folder in the partition storing the to-be-encrypted video file. The decryption method can include: obtaining a to-be-decrypted video file and a decryption key, decrypting the to-be-decrypted video file using the decryption key to obtain a decrypted video file, and determining a pre-encryption storage location of the to-be-decrypted video file and moving the decrypted video file to the pre-encryption storage location of the to-be-decrypted video file.