CN106658062A - Video segment encryption and playing method based on random encryption - Google Patents

Video segment encryption and playing method based on random encryption Download PDF

Info

Publication number
CN106658062A
CN106658062A CN201611184583.3A CN201611184583A CN106658062A CN 106658062 A CN106658062 A CN 106658062A CN 201611184583 A CN201611184583 A CN 201611184583A CN 106658062 A CN106658062 A CN 106658062A
Authority
CN
China
Prior art keywords
section
code
random code
video segment
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611184583.3A
Other languages
Chinese (zh)
Inventor
朱崇俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Dongtian Digital Technology Co Ltd
Original Assignee
Guangdong Dongtian Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Dongtian Digital Technology Co Ltd filed Critical Guangdong Dongtian Digital Technology Co Ltd
Priority to CN201611184583.3A priority Critical patent/CN106658062A/en
Publication of CN106658062A publication Critical patent/CN106658062A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving video stream encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a video segment encryption and playing method based on random encryption. The method comprises performing video segment processing, appointing a random code for a segment header sign, and performing byte encryption processing according to the random code appointment, and decrypting and playing the video segment according to a random code algorithm by use of the authorization of a dedicated player. The decrypting and playing can be performed without the supporting of a server when the algorithm is used for decrypting and playing, so that the method can be extensively applied to various playing environments.

Description

A kind of video segment encryption and player method based on accidental enciphering
Technical field
The present invention relates to video-encryption field, more particularly to a kind of video segment encryption and broadcasting side based on accidental enciphering Method.
Background technology
As nowadays the multimedia resources such as the development of Internet technology, video/audio are widely used to amusement, study is done In the various application systems such as public affairs.But due to the opening of the Internet, what the video resource to possessing intellectual property was not stolen Protection work just becomes particularly important.Traditional Video Encryption Algorithm is difficult to meet in different platform, plays in varying environment and receives The requirement of protection video resource, accordingly, it would be desirable to a kind of Video Encryption Algorithm for adapting to various playing environments carries out adding to video Privacy protection.
The content of the invention
The present invention provides a kind of encryption of video segment and player method, to solve existing video-encryption technology in safety Difference, the problems such as network environment has high demands.This method includes video segment process, section head mark agreement random code, by random Code agreement carries out byte encryption, is played by the decryption of random code algorithm using special player mandate, and concrete technical scheme is such as Shown in lower:
A kind of video segment encryption method based on accidental enciphering, comprises the steps:
Step 1) slicing treatment is made to source video, section time span can be set according to demand;
Step 2) file header type flags process is carried out using agreement random code to each section;
Step 3) each section is encrypted by the corresponding byte AES of random code to section, can accomplish Each section is encrypted using different AESs;
Further, the step 2) in agreement random code be:A random length out is little more than 10 during encryption The bytecode of section head is written in 255 digital arrays, it is random code length value to set first value, and second value is agreement Positional value of the AES code name in random code. such as random code is 11,5,3,6,45,9,66,2,1,4,78, then representing should Random code accounts for 11 bytes, and the 6th byte value 9 (from the beginning of 0) is AES code name.
Further, the step 3) in encryption method be:Set AES code name be set to as 1, about to cut into slices it is every Process is compressed to 50 bytes every 100 bytes (after random code). code name 2 is about set to section every 100 bytes Carry out carrying out 50 bytes to the process of 5 XORs. various AES can be set, different encryption generations are then corresponded to Number, effectively reduce the risk being decrypted.
A kind of video segment player method based on accidental enciphering, comprises the steps:
Step 1) using dedicated video player section is loaded in order or according to the loading correspondence section of specified time point File;
Step 2) analysis section header byte flag code;
Step 3) byte decryption is carried out using correspondence decipherment algorithm according to the flag code for obtaining;
Step 4) broadcasting in the data addition video playback stream after decryption.
The beneficial effects of the present invention is:This AES is applied to pc, and android, ios etc. be multi-platform to carry out video Encryption is played and makes to the resources and knowledge property right to be protected, and using section play-back technology, allows player to take saltatory Loading user specifies the slice of data of time point being decrypted broadcastings, it is not necessary to loads and does not need fragment data. in network environment During middle broadcasting, server stress is mitigated significantly and is paid wages with bandwidth, lift Consumer's Experience, section broadcasting can also facilitate clear to difference Clear degree video source carries out seamless switching, using random labelling pattern each section can be caused to take difference in theory AES be encrypted, significantly increase the difficulty for cracking encrypted video, the safety for making protection video is greatly improved.
Description of the drawings
Fig. 1 is the FB(flow block) of the present invention;
Specific embodiment
Below by preferred embodiment shown with reference to the accompanying drawings, the present invention is explained in detail, but be the invention is not restricted to The embodiment.
As shown in Figure 1 step is as follows:
1. pair source video makees slicing treatment, can according to demand arrange section time span;
2. pair each section carries out file header type flags process using agreement random code;Arranging random code is:During encryption A random length out is written to the bytecode of section head more than 10 less than 255 digital arrays, and first value of setting is Random code length value, positional value of second value for agreement AES code name in random code. such as random code is 11,5,3, 6,45,9,66,2,1,4,78, then represent that the random code accounts for 11 bytes, the 6th byte value 9 (from the beginning of 0) is AES Code name.
3. pair each section is encrypted by the corresponding byte AES of random code to section, can accomplish each Section is all encrypted using different AESs;Encryption method is:Set AES code name to be set to as 1, about to cutting Piece is compressed process every 100 bytes (after random code) to 50 bytes. and code name 2 is about set to section every 100 Byte carries out carrying out 50 bytes to the process of 5 XORs. and various AES can be set, different adding then is corresponded to Close code name, effectively reduces the risk being decrypted.
A kind of video segment player method based on accidental enciphering, comprises the steps:
1. using dedicated video player section is loaded in order or according to specified time point loading correspondence section file;
2. section header byte flag code is analyzed;
3. byte decryption is carried out using correspondence decipherment algorithm according to the flag code for obtaining;
4. playing in the data addition video playback stream after decryption, in actual use, using dedicated video player Authorize and be decrypted broadcasting according to file header type flags code acquisition decipherment algorithm to being loaded into cut into slices.
As user terminal capacity of memory device is increasing, for more preferable Consumer's Experience, mitigate video resource service Device pressure, and user carries out video playback under without network state, and having carries out the need of local cache process to video file To ask. the decryption of this algorithm can be accomplished to be decrypted broadcasting without the need for server support when playing, and be widely applicable to various broadcastings In environment.
Above specific embodiment is only unrestricted to illustrate technical scheme, although with reference to example to this It is bright to be described in detail, it will be understood by those within the art that, technical scheme can be modified Or equivalent, without deviating from the spirit and scope of technical solution of the present invention, it all should cover the claim in the present invention In the middle of scope.

Claims (4)

1. a kind of video segment encryption method based on accidental enciphering, comprises the steps:
Step 1) slicing treatment is made to source video, section time span can be set according to demand;
Step 2) file header type flags process is carried out using agreement random code to each section;
Step 3) each section is encrypted by the corresponding byte AES of random code to section, each section can be adopted It is encrypted with different AESs.
2. a kind of video segment encryption method based on accidental enciphering according to claim 1, it is characterised in that:The step It is rapid 2) in agreement random code be:A random length out is written to section more than 10 less than 255 digital arrays during encryption The bytecode of head, it is random code length value to set first value, and second value is agreement AES code name in random code Positional value.
3. a kind of video segment encryption method based on accidental enciphering according to claim 1, it is characterised in that:The step It is rapid 3) in encryption method be:Set AES code name to be set to as 1, about to random code of cutting into slices later every 100 bytes pair 50 bytes are compressed process;Code name 2 is about set to right to carrying out to 50 bytes every 100 bytes after random code of cutting into slices The process of 5 XORs.
4. a kind of video segment player method based on accidental enciphering, comprises the steps:
Step 1) using dedicated video player section is loaded in order or according to specified time point loading correspondence section file;
Step 2) analysis section header byte flag code;
Step 3) byte decryption is carried out using correspondence decipherment algorithm according to the flag code for obtaining;
Step 4) broadcasting in the data addition video playback stream after decryption.
CN201611184583.3A 2016-12-20 2016-12-20 Video segment encryption and playing method based on random encryption Pending CN106658062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611184583.3A CN106658062A (en) 2016-12-20 2016-12-20 Video segment encryption and playing method based on random encryption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611184583.3A CN106658062A (en) 2016-12-20 2016-12-20 Video segment encryption and playing method based on random encryption

Publications (1)

Publication Number Publication Date
CN106658062A true CN106658062A (en) 2017-05-10

Family

ID=58835075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611184583.3A Pending CN106658062A (en) 2016-12-20 2016-12-20 Video segment encryption and playing method based on random encryption

Country Status (1)

Country Link
CN (1) CN106658062A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447206A (en) * 2020-03-24 2020-07-24 深圳市盟天科技有限公司 JS resource encryption transmission method and device, server and storage medium
CN113342506A (en) * 2021-07-05 2021-09-03 湖南快乐阳光互动娱乐传媒有限公司 Data processing method and device
CN114025197A (en) * 2021-11-01 2022-02-08 浙江力石科技股份有限公司 Anti-counterfeiting encryption method based on video stream

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247506A (en) * 2007-02-14 2008-08-20 中国科学院声学研究所 File enciphering method and enciphered file structure in digital media broadcasting system
CN101345866A (en) * 2008-08-15 2009-01-14 四川长虹电器股份有限公司 Encryption and decryption method for static audio/video document
CN102255886A (en) * 2011-04-02 2011-11-23 南京邮电大学 Encryption and decryption methods of streaming media on-demand system
US20130219178A1 (en) * 2012-02-17 2013-08-22 Christopher Peter Xiques Media Player Security for Full Length Episodes
CN105245916A (en) * 2015-10-08 2016-01-13 北京时医康科技发展有限公司 High strength and high efficiency video encryption and decryption method
CN105337963A (en) * 2015-09-30 2016-02-17 北京奇虎科技有限公司 Multimedia data encryption method and device
CN105898376A (en) * 2015-12-11 2016-08-24 乐视网信息技术(北京)股份有限公司 Online video stream play method, device and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247506A (en) * 2007-02-14 2008-08-20 中国科学院声学研究所 File enciphering method and enciphered file structure in digital media broadcasting system
CN101345866A (en) * 2008-08-15 2009-01-14 四川长虹电器股份有限公司 Encryption and decryption method for static audio/video document
CN102255886A (en) * 2011-04-02 2011-11-23 南京邮电大学 Encryption and decryption methods of streaming media on-demand system
US20130219178A1 (en) * 2012-02-17 2013-08-22 Christopher Peter Xiques Media Player Security for Full Length Episodes
CN105337963A (en) * 2015-09-30 2016-02-17 北京奇虎科技有限公司 Multimedia data encryption method and device
CN105245916A (en) * 2015-10-08 2016-01-13 北京时医康科技发展有限公司 High strength and high efficiency video encryption and decryption method
CN105898376A (en) * 2015-12-11 2016-08-24 乐视网信息技术(北京)股份有限公司 Online video stream play method, device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447206A (en) * 2020-03-24 2020-07-24 深圳市盟天科技有限公司 JS resource encryption transmission method and device, server and storage medium
CN113342506A (en) * 2021-07-05 2021-09-03 湖南快乐阳光互动娱乐传媒有限公司 Data processing method and device
CN114025197A (en) * 2021-11-01 2022-02-08 浙江力石科技股份有限公司 Anti-counterfeiting encryption method based on video stream

Similar Documents

Publication Publication Date Title
US8700897B2 (en) Method and terminal equipment for applying digital rights management
US10320759B2 (en) Streaming system and method
US8707448B2 (en) Secure distribution of media data
US8243924B2 (en) Progressive download or streaming of digital media securely through a localized container and communication protocol proxy
CN105208404A (en) Video encryption and decryption method and device
US7249264B2 (en) Secure IP based streaming in a format independent manner
EP1738276A4 (en) Motion picture file encryption method and digital rights management method using the same
US20100100742A1 (en) Transport Stream Watermarking
CN107707504A (en) A kind of player method of Streaming Media, system and server and client side
CN105208464B (en) A kind of playback method and terminal of multimedia data stream
CA2511914A1 (en) System for secure decryption of streaming media using selective decryption of header information
CN106658062A (en) Video segment encryption and playing method based on random encryption
CN109348292A (en) A kind of video segment method based on slice file byte-threshold
CN109525893A (en) Video segment method based on slice file duration threshold value
US8543623B2 (en) Secure distribution of media data
CN111432287A (en) Slicing encryption method and system and decryption method and system for audio and video files
CN102685592A (en) Streaming media player method supporting digital rights management
CN106062758B (en) The method for providing the terminal with shielded multimedia content
CN106096334A (en) The encryption method of hypermedia data and encryption device, decryption method and deciphering device
CN105245975A (en) Media data processing method and apparatus
US10284529B2 (en) Information processing apparatus and information processing method
CN101751527A (en) Copyright protection method of multimedia file in reproduction and spreading process
CN108462566A (en) A kind of multimedia file encryption method and system
CN105592355A (en) Method for realizing encrypted video processing, and mobile terminal
CN110012260A (en) A kind of video conference content guard method, device, equipment and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510

RJ01 Rejection of invention patent application after publication