Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Fine grained streaming media video encryption and decryption method based on HLS protocol

An encryption method and fine-grained technology, applied in electrical components, transmission systems, etc., can solve problems such as no security considerations, achieve the effect of reducing key management and ensuring security

Active Publication Date: 2017-05-31
COMMUNICATION UNIVERSITY OF CHINA
View PDF5 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in these protocols, the security in the transmission process is not considered, or only the corresponding interface is defined

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Fine grained streaming media video encryption and decryption method based on HLS protocol
  • Fine grained streaming media video encryption and decryption method based on HLS protocol
  • Fine grained streaming media video encryption and decryption method based on HLS protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] figure 1 It is a flowchart of a fine-grained stream media video encryption method based on the HLS protocol in an embodiment of the present invention. Combine below figure 1 Describe in detail the steps and principles of streaming video encryption.

[0046] Step S110, the first-layer encryption step, uses the video key to encrypt the video segments generated by the HLS protocol segment server according to the symmetric encryption algorithm, and stores the video key into the m3u8 index file.

[0047]In this step, it is preferable to use a traditional block encryption or stream encryption algorithm to encrypt the video fragment content generated through HLS protocol fragmentation. Further, this layer prefers traditional selective video encryption schemes. Since the video stream format of the HLS protocol fragmentation is ts, the video structure of ts is analyzed in a targeted manner, and the video fragmentation is preferably encrypted with I frame or DCT coefficients, ...

Embodiment 2

[0074] Figure 4 It is a flow chart of the entire encryption and decryption method for fine-grained streaming media video based on the HLS protocol in an embodiment of the present invention. Combine below Figure 4 Each step and its principle are described in detail from two perspectives of server encryption and terminal decryption.

[0075] Figure 5 A flow chart of a fine-grained stream media video encryption method based on the HLS protocol in an embodiment of the present invention is shown. Combine below Figure 4 and Figure 5 From the perspective of server encryption, the steps and principles of encrypting streaming video are explained in detail.

[0076] The first layer of encryption steps: the encryption object is a video segment, the encryption algorithm is preferably the Advanced Encryption Standard (AES, Advanced Encryption Standard) algorithm, and the video encryption key is key video Randomly generated, the specific process of encryption is as follows:

[0...

Embodiment 3

[0104] Taking an ordinary user to order a super-clear video as an example, the working process of the method for encrypting and decrypting streaming media video in the present invention will be described in detail below.

[0105] In order to clearly demonstrate the solutions and beneficial effects of the embodiments of the present invention, before describing the third specific embodiment of the present invention, some definitions of video attributes and user attributes are firstly defined, as shown in Table 1. From this, it is possible to determine the scope of authority for different users to watch videos.

[0106] Table 1 Definition of video attributes and user attributes

[0107]

[0108] Encryption process:

[0109] For an ultra-clear video, after dividing it into different video segments according to the HLS protocol, each video segment selects a different video encryption key for encryption. Save the encrypted video fragments and save the video encryption key at th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a fine grained streaming media video encryption and decryption method based on an HLS protocol. The encryption method comprises the following steps: a first layer encryption step: encrypting video fragments generated by an HLS protocol fragment server by suing a video key according to an symmetric encryption algorithm, and storing the video key in an m3u8 index file; a second layer encryption step: encrypting the m3u8 index file by using an index key according to the symmetric encryption algorithm; and a third layer encryption step: encrypting the index key according to an attribute encryption algorithm and a user access control strategy. According to the fine grained streaming media video encryption and decryption method disclosed by the invention, by means of the three-layer streaming media video encryption scheme, fine grained video access authority control is realized, and meanwhile the security of streaming media data transmission is also guaranteed.

Description

technical field [0001] The invention relates to the technical field of streaming media video processing, in particular to a fine-grained streaming media video encryption and decryption method based on the HLS protocol. Background technique [0002] With the in-depth development of Internet technology, the application of streaming media technology is becoming more and more popular, such as distance education, video conferencing, Internet live broadcast and so on. However, the transmission of streaming media is inseparable from the bearer of the protocol. Transmission protocols for streaming media can be roughly divided into two categories, one based on the UDP / TCP protocol, and the other based on the HTTP protocol. The technology based on the HTTP protocol is widely used in various commercial live and on-demand networks due to its advantages of easy deployment, self-adaptive adjustment of code stream and good firewall penetration. Among them, there are various technologies ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/06
CPCH04L63/045H04L63/0478H04L63/06
Inventor 杨成李皓刘剑波
Owner COMMUNICATION UNIVERSITY OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products