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.

Inactive Publication Date: 2015-12-30
北京德信东方网络科技有限公司
View PDF7 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to overcome the deficiencies of the prior art, the present invention provides a method and device for video encryption and decryption, which solves the technical

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
  • Video encryption and decryption method and device
  • Video encryption and decryption method and device
  • Video encryption and decryption method and device

Examples

Experimental program
Comparison scheme
Effect test

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 ...

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 provides a video encryption and decryption method and device, and belongs to the technical field of communication. The encryption method comprises the steps that all the video image frames in video data corresponding to video files are acquired; a certain number of key frame video files of all the video image frames are selected; the selected key frame video files are segmented and sliced; and the corresponding video slice files are encrypted by randomly selecting an encryption algorithm, and all the video slices are encrypted and then the encrypted video data are obtained. Problems in the prior art that server side source video files have no protection or are low in protection level are solved so that security of network transmission course video files can be greatly increased, possibility of course piracy can be reduced, and the intellectual property rights of the network course can be effectively protected.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a video encryption and decryption method and device. Background technique [0002] With the development of network communication technology, the network bandwidth is getting wider and faster, and the network speed is getting faster and faster. More and more students choose to study online through the Internet. In the existing video player that provides online courses, all the video data corresponding to the online courses that it can provide are stored in the video server corresponding to the player. When the player receives the playback instruction, it extracts the video data corresponding to the course from the video server. to play. However, a malicious third party will crack it, illegally obtain online course video data, and disseminate and sell it through illegal means. In order to solve the problem of misappropriation of video data by a malicious third party, video ...

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): H04N21/2347H04N21/4405
Inventor 辛琦曾明李美丰
Owner 北京德信东方网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products