Video encryption and decryption method and device
An encryption method and video technology, applied in the field of communication, can solve the problems of inconvenient CDN distribution, consumption of system resources, single encryption algorithm, etc., and achieve the effects of simple configuration, low system resources, and low deployment costs.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] refer to figure 1 and figure 2 , preferred embodiment 1 of the present invention provides a kind of video encryption method, comprises:
[0040] Firstly, convert the video files that need to be encrypted in a unified format, so as to facilitate subsequent slice encryption processing;
[0041] Obtain all video image frames in the video data corresponding to the video file;
[0042] Set the number of key frames through the configuration file, and select a certain number of key frame video files in all video image frames;
[0043] Segment and slice the selected key frame video files, randomly select a variety of encryption algorithms preset in the configuration file to encrypt the corresponding video slice files, and finally obtain the encrypted video slice list file. The specific steps are as follows:
[0044] First create a video slice list file, and create the first video slice, and write the first video slice information into the video slice list file, randomly sel...
Embodiment 2
[0049] refer to image 3 and Figure 4 , preferred embodiment 2 of the present invention provides a kind of video decryption method, comprises:
[0050] The player obtains the encrypted video slice list file through the network. After the acquisition is successful, the list file is decrypted according to the key agreed by both parties and a custom algorithm to obtain the content of the list file (key decryption section, see image 3 ), obtain different keys according to the different encryption methods of different slices in the video slice list file, and decrypt the corresponding video slices (for the video decryption part, see Figure 4 ), finally get the original video file, join the playback queue and wait for playback.
Embodiment 3
[0052] refer to Figure 5 , preferred embodiment 3 of the present invention provides a kind of video encryption device, comprises:
[0053] The transcoding module is used to convert the video to be encrypted in a unified format, so as to facilitate subsequent slice encryption processing;
[0054] An acquisition module, configured to acquire all video data corresponding to the video file;
[0055] The selection module is used to select a certain number of key frame video files according to the configuration file from all obtained video image frames and slice the selected files to become video slice files to be encrypted, specifically including
[0056] The selection unit is used to select a certain number of key frame video files in all video image frames according to the configuration file;
[0057] Processing unit: for dividing and slicing the selected key frame video files into video slice files to be encrypted.
[0058] The encryption module is used to encrypt the video ...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com