Video stream encryption and decryption method, video stream encryption and decryption device, communication terminal and storage terminal
An encryption method and technology of an encryption device, applied in the audio and video field, can solve the problems of computational complexity, increased delay, affecting real-time video transmission and requiring video image quality, etc., so as to improve the ability to resist cracking, ensure security, and reduce delay. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] figure 2 The flowchart of a method for encrypting a video code stream provided by the first embodiment of the present invention is shown.
[0073] In order to improve the error tolerance of video transmission, each frame of video is usually encoded into one or more fragments, each fragment consists of corresponding header information, a start code identifying the beginning or end of the fragment, and the data information of the fragment composition. The video code stream encryption method is a method for encrypting any fragment generated by video encoding, which is described in detail as follows:
[0074] In step S201, the header information of the slice is encrypted to obtain the ciphertext of the header information;
[0075] A video stream usually includes I frames, P frames and B frames, wherein non-I frames are frames other than I frames in the video stream, such as P frames and B frames. I frame is usually the first frame of each group of pictures (Group of Pic...
Embodiment 2
[0132] Figure 5 The structure of a video code stream encryption device provided by the second embodiment of the present invention is shown, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.
[0133] The video code stream decryption device can be a software unit, a hardware unit, or a combination of software and hardware running in a communication terminal or storage terminal, or it can be integrated into these communication terminals or storage terminals as an independent pendant or run in these communication terminals. In the application system of terminal or storage terminal. in:
[0134] An encrypted header information module 501, configured to encrypt the header information of the slices to obtain the ciphertext of the header information;
[0135] The scrambling module 502 is used to perform a scrambling operation on the ciphertext of the header information obtained by the encrypted header information mo...
Embodiment 3
[0146] Image 6 The flow of a method for decrypting a video code stream provided by the third embodiment of the present invention is shown, and the details are as follows:
[0147] In step S601, according to the ciphertext of the start code of the segment and the key obtained for encrypting the start code of the segment obtained when decrypting the previous segment, decrypt to obtain the plaintext of the start code and the key used to encrypt the start code of the next segment. The key of the initial code, and obtain the intermediate ciphertext of the fragment;
[0148] Since each slice in a video stream uses the same start code, this step is performed when the start code of the video stream at the decoding end is unknown, for example, when the first slice of the first I frame is received by the decoding end This step is required to obtain the start code. Afterwards, the start code is saved at the decoding end, which is convenient for subsequent fragment decryption. If the ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com