CN108134936A - A kind of high performance video encryption method - Google Patents
A kind of high performance video encryption method Download PDFInfo
- Publication number
- CN108134936A CN108134936A CN201611091378.2A CN201611091378A CN108134936A CN 108134936 A CN108134936 A CN 108134936A CN 201611091378 A CN201611091378 A CN 201611091378A CN 108134936 A CN108134936 A CN 108134936A
- Authority
- CN
- China
- Prior art keywords
- frmvea
- key
- macro block
- encryption
- bit
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/184—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being bits, e.g. of the compressed video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/186—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/625—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using discrete cosine transform [DCT]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- Discrete Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
A kind of high performance video encryption method, belongs to encryption technology field, is mainly realized by following two big steps:(1)With S=... S1…S2…S3…Sm…Sm+1…Sm+2... represent mpeg video stream S, wherein, Si(i=1,2,3 ... .m, m+1 ...) it is motion vector or DCT coefficient;(2)FRMVEA selects 64 flag bits (8 byte) to be encrypted from each macro block.FRM2VEA encryption methods proposed by the present invention, using the encryption method of selectivity, the flag bit of 64 DCT coefficients of each macro three sub-blocks in the block of selection carries out exclusive or encryption with key, the requirement to hardware resource can effectively be mitigated, the time of encryption consumption is reduced, there is higher practical value.
Description
Technical field
The present invention relates to encryption technology fields, and in particular to a kind of high performance video encryption method.
Background technology
With storage and the development of coding techniques, video is widely used in a variety of applications.Digital library exists as foundation
A kind of huge national cultural information infrastructure on Internet, a large amount of video class is stored with digitized form
The information of type simultaneously can efficiently manage the information resources of storage.It provides a networking for the propagation of digital video
Platform.But with the continuous development of digital library, the safety and copyright problem of video information also inevitably go out
Now in face of us.How the video information of mandate is protected, it is made to be propagated in the range of restriction, use, into
The major issue faced for construction of digital library.At present, to the main protection of video information from the encryption to video information.
At present, the popular Encryption Algorithm for MPEG video standard is divided into two big types in the world.One type is to video
The data of stream are all encrypted, although these algorithm security performances are very high, enciphering rate is very slow simultaneously, and both expensive;
One type is the structure according to mpeg video stream, certain particular frames is encrypted, i.e. selective encryption algorithm, as VEA is regarded
Frequency Encryption Algorithm, the flag bit of DCT coefficient is encrypted during it only compresses MPEG video.This algorithm security performance compares
Height, while enciphering rate ratio is very fast, and the size of frame does not change substantially, still, this Encryption Algorithm also has it significantly
The defects of, that is exactly that can suffer from attacking and being cracked.
Invention content
The present invention provides a kind of high performance video encryption method for above-mentioned problem to be solved.
Purpose to realize the present invention, the technical solution adopted in the present invention are:
A kind of high performance video encryption method is mainly realized by following two big steps:(1)With S=... S1 ... S2 ... S3 ... Sm ...
Sm+1 ... Sm+2 ... represent mpeg video stream S, wherein, Si (i=1,2,3 ... .m, m+1 ...) is motion vector or DCT coefficient;
(2)FRMVEA selects 64 flag bits (8 byte) to be encrypted from each macro block.
The step(2)Concrete methods of realizing is:
(1)With β α1α2α3α4…αnSuch a bit stream represents that MPEG compresses 8 × 8 pieces, and β represents the generation of DC coefficients
Code, αiRepresent the flag bit of i-th of AC coefficient;
(2)If macro block bit stream is Sh so according to aforementioned, 64 flag bits are selected according to each macro block, there is Sh=…S1…
S2…S64, Si(i=1,2,3 ... 64) are all flag bits for the macro block chosen;
(3)If the length that the key of FRMVEA is randomly generated is the bit stream k of m (m >=64)m,bi(I=1,2. ... it is m) i-th
Bit value on position, then, the expression formula of key is:km=b1b2b3…bm;
(4)If the ciphering process of FRMVEA is Ek, expression formula is:Ek(Sh)=…(k1⊕S1)…(k2⊕S2)…(k64⊕
S64) ..., flag bit changes at random according to given key, otherwise value will not change (if corresponding bit in key
0) or to become 1 from 0 or becoming 0 from 1, to possessing the recipient of key, original video data is obtained by decryption.
The FRMVEA Encryption Algorithm only selects that 64 DCT systems of wherein three sub-blocks of 6 sub-blocks of each macro block
Several flag bits are encrypted.
The FRMVEA algorithms ignore MPEG quantizations when carrying out FRMVEA cryptographic operations to image block, Zig-Zag's
Sequence and the operation of Huffman entropy codings.
The present invention has the following advantages:First, FRMVEA carry out encryption data using suitable key, and security performance has bright
Aobvious improvement;
One of the Y blocks intersected in macro block and chrominance block Cr, Cb is encrypted in second, FRMVEA algorithm, compares
VEA algorithms are only encrypted all Y blocks, and not only encryption intensity improves FRMVEA algorithms, and speed is also faster;
Third, FRMVEA reduce encrypted computational complexity by the flag bit number of determining DCT coefficient, and FRMVEA adds
Close algorithm has enciphering rate very fast, and encryption intensity is high, extra to consume the features such as few, is easy to use software and hardware implementation, is a kind of
Simply, practical, efficient video encryption method.
Specific embodiment
The following implementation to the present invention is further described, so that those skilled in the art can be better understood from simultaneously
Implement.
Embodiment 1
A kind of high performance video encryption method, is mainly realized by following steps:
(1)With S=... S1 ... S2 ... S3 ... Sm ... Sm+1 ... Sm+2 ... represent mpeg video stream S, wherein, Si (i=1,2,3 ...
.m, m+1 ...) it is motion vector or DCT coefficient;(2)FRMVEA selects 64 flag bits (8 byte) from each macro block
It is encrypted.
The step(2)Concrete methods of realizing is:
(1)With β α1α2α3α4…αnSuch a bit stream represents that MPEG compresses 8 × 8 pieces, and β represents the generation of DC coefficients
Code, αiRepresent the flag bit of i-th of AC coefficient;
(2)If macro block bit stream is Sh so according to aforementioned, 64 flag bits are selected according to each macro block, there is Sh=…S1…
S2…S64, Si(i=1,2,3 ... 64) are all flag bits for the macro block chosen;
(3)If the length that the key of FRMVEA is randomly generated is the bit stream k of m (m >=64)m,bi(I=1,2. ... it is m) i-th
Bit value on position, then, the expression formula of key is:km=b1b2b3…bm;
(4)If the ciphering process of FRMVEA is Ek, expression formula is:Ek(Sh)=…(k1⊕S1)…(k2⊕S2)…(k64⊕
S64) ..., flag bit changes at random according to given key, otherwise value will not change (if corresponding bit in key
0) or to become 1 from 0 or becoming 0 from 1, to possessing the recipient of key, original video data is obtained by decryption.
The FRMVEA Encryption Algorithm only selects that 64 DCT systems of wherein three sub-blocks of 6 sub-blocks of each macro block
Several flag bits are encrypted.
The FRMVEA algorithms ignore MPEG quantizations when carrying out FRMVEA cryptographic operations to image block, Zig-Zag's
Sequence and the operation of Huffman entropy codings.
FRMVEA Encryption Algorithm is combined by we with Moving Picture Experts Group-1 coded program, tests and mpeg encoded is imitated in encryption
The influence of rate.Encrypted every time using different key, carried out 5 tests altogether, all video images tested all without
Method identifies that test result is as shown in table 1, and here, we represent frame number per second with f.
1 test result of table:
Test serial number | There is no encrypted compression(f) | Encrypted compression(f) |
1 | 0.300 | 0.295 |
2 | 0.299 | 0.299 |
3 | 0.315 | 0.303 |
4 | 0.298 | 0.298 |
5 | 0.297 | 0.297 |
Average value | 0.302 | 0.298 |
Experimental situation is using the microcomputer of the memory of Pentium 2GCPU, 256MDDR, WinXP operating systems.From above explanation and divide
Analysis, we can obtain 3 property possessed by FRMVEA Encryption Algorithm:(1) FRMVEA is selectively to each macro block
Selected 64 flag bits with the key that length is m (m >=64) encrypt by bit exclusive or, and operability is very strong,
Convenient for the simple realization of soft and hardware;Due to 64 flag bits being selected to be encrypted each macro block, therefore, relative to other
Optionally video encryption method, such as VEA, encryption intensity greatly improve;Due to key length m >=64, when encrypted
Wait, can select in order a wherein segment length be 64 sub-key encrypt, can also random groups into length be 64 sub-key
Encryption, therefore, if to attack encrypted MPEG video, need the number attacked must >=263, crack difficulty be more than crack
The difficulty of DES keys.
(2) it is multiple with FRMVEA encrypted videos, and only need decryption primary, this is because for two keys k1 and k2,
Wherein k1≠k2, FRMVEA has following property:Ek1(Ek2(S))=E(k1⊕K2) (S) if k3=k1⊕K2, then k can only be used3Solution
Close encrypted video is primary.(3) since in encryption, process is that the flag bit for 64 DCT coefficients for choosing macro block is used
Key is encrypted, and then encrypted result is replaced the 64 DCT coefficient flag bits chosen, so, after encryption, MPEG's is big
It is small to change.
The above is only embodiments of the present invention, it is noted that those skilled in the art are come
It says, without departing from the technical principles of the invention, several improvement and modification can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (4)
1. a kind of high performance video encryption method, it is characterised in that, mainly realized by following two big steps:(1)With S=... S1…
S2…S3…Sm…Sm+1…Sm+2... represent mpeg video stream S, wherein, Si(i=1,2,3 ... .m, m+1 ...) be motion vector or
Person's DCT coefficient;(2)FRMVEA selects 64 flag bits (8 byte) to be encrypted from each macro block.
A kind of 2. high performance video encryption method as described in claim 1, which is characterized in that the step(2)It is specific real
Now method is:
(1)With β α1α2α3α4…αnSuch a bit stream represents that MPEG compresses 8 × 8 pieces, and β represents the code of DC coefficients,
αiRepresent the flag bit of i-th of AC coefficient;
(2)If macro block bit stream is Sh so according to aforementioned, 64 flag bits are selected according to each macro block, there is Sh=…S1…
S2…S64, Si(i=1,2,3 ... 64) are all flag bits for the macro block chosen;
(3)If the length that the key of FRMVEA is randomly generated is the bit stream k of m (m >=64)m,bi(I=1,2. ... it is m) i-th
Bit value on position, then, the expression formula of key is:km=b1b2b3…bm;
(4)If the ciphering process of FRMVEA is Ek, expression formula is:Ek(Sh)=…(k1⊕S1)…(k2⊕S2)…(k64⊕
S64) ..., flag bit changes at random according to given key, otherwise value will not change (if corresponding bit in key
0) or to become 1 from 0 or becoming 0 from 1, to possessing the recipient of key, original video data is obtained by decryption.
A kind of 3. high performance video encryption method as described in claim 1, which is characterized in that the FRMVEA Encryption Algorithm
Only select that the flag bit of 64 DCT coefficients of wherein three sub-blocks of 6 sub-blocks of each macro block is encrypted.
4. a kind of high performance video encryption method as described in claim 1, which is characterized in that the FRMVEA algorithms are to figure
Ignore MPEG quantizations, sequence and Huffman the entropy codings operation of Zig-Zag when carrying out FRMVEA cryptographic operations as block.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611091378.2A CN108134936A (en) | 2016-12-01 | 2016-12-01 | A kind of high performance video encryption method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611091378.2A CN108134936A (en) | 2016-12-01 | 2016-12-01 | A kind of high performance video encryption method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108134936A true CN108134936A (en) | 2018-06-08 |
Family
ID=62388152
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611091378.2A Withdrawn CN108134936A (en) | 2016-12-01 | 2016-12-01 | A kind of high performance video encryption method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108134936A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110677694A (en) * | 2019-10-15 | 2020-01-10 | 华南理工大学 | Video encryption method for resisting contour attack |
CN111970498A (en) * | 2020-10-20 | 2020-11-20 | 南京信同诚信息技术有限公司 | Public safety video monitoring networking information safety system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1520185A (en) * | 2002-11-21 | 2004-08-11 | ���ǵ�����ʽ���� | Method and appts. for encrypting and compressing multimedia data |
CN1964479A (en) * | 2006-11-24 | 2007-05-16 | 清华大学 | Method for realizing management of digital copyright based on stream media broadcast |
CN101394552A (en) * | 2007-09-05 | 2009-03-25 | 松下电器产业株式会社 | Method and apparatus for compression-encoding moving image |
CN101489123A (en) * | 2008-01-15 | 2009-07-22 | 中国科学院软件研究所 | Digital video content fast protection and deprotection method |
-
2016
- 2016-12-01 CN CN201611091378.2A patent/CN108134936A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1520185A (en) * | 2002-11-21 | 2004-08-11 | ���ǵ�����ʽ���� | Method and appts. for encrypting and compressing multimedia data |
CN1964479A (en) * | 2006-11-24 | 2007-05-16 | 清华大学 | Method for realizing management of digital copyright based on stream media broadcast |
CN101394552A (en) * | 2007-09-05 | 2009-03-25 | 松下电器产业株式会社 | Method and apparatus for compression-encoding moving image |
CN101489123A (en) * | 2008-01-15 | 2009-07-22 | 中国科学院软件研究所 | Digital video content fast protection and deprotection method |
Non-Patent Citations (1)
Title |
---|
杨发毅,张静昌: "高性能视频加密算法研", 《现代图书情报技术》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110677694A (en) * | 2019-10-15 | 2020-01-10 | 华南理工大学 | Video encryption method for resisting contour attack |
CN111970498A (en) * | 2020-10-20 | 2020-11-20 | 南京信同诚信息技术有限公司 | Public safety video monitoring networking information safety system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Xu et al. | An image encryption algorithm based on random walk and hyperchaotic systems | |
Yang et al. | Image compression-encryption scheme based on fractional order hyper-chaotic systems combined with 2D compressed sensing and DNA encoding | |
Qin et al. | Reversible data hiding in encrypted image with separable capability and high embedding capacity | |
Wu et al. | Efficient multimedia encryption via entropy codec design | |
Xu et al. | An efficient chaos pseudo-random number generator applied to video encryption | |
Chen et al. | A virtual image cryptosystem based upon vector quantization | |
CN108924099B (en) | Encryption method and device, encryption performance analysis method and device, electronic equipment and readable storage medium | |
Lian et al. | A novel image encryption scheme based-on JPEG encoding | |
Li et al. | Joint image encryption and compression schemes based on 16× 16 DCT | |
Wang et al. | Hash key-based video encryption scheme for H. 264/AVC | |
CN103856786A (en) | Streaming media video encryption method and device based on H.264 | |
Choudry et al. | A survey paper on video steganography | |
CN102843558A (en) | H.264/AVC (Advanced Video Coding) compressed domain video encryption/decryption device and encryption/decryption method thereof | |
Yang et al. | Using M-ary decomposition and virtual bits for visually meaningful image encryption | |
CN102395034B (en) | MPEG-4video chaotic encryption method based on intra prediction | |
CN109391846A (en) | A kind of video scrambling method and device of adaptive model selection | |
CN109168033B (en) | Video privacy data protection system and method | |
CN102176759A (en) | Method for encrypting video streaming information based on hyper-chaotic sequence | |
Lian et al. | On the design of partial encryption scheme for multimedia content | |
CN108134936A (en) | A kind of high performance video encryption method | |
CN105554344A (en) | Multi-image encryption method based on mixed graphics primitives | |
CN109889687B (en) | JPEG image bit stream encryption method based on alternating current statistical characteristic change | |
CN101489123B (en) | Digital video content fast protection and deprotection method | |
Peng et al. | JPEG-compatible Joint Image Compression and Encryption Algorithm with File Size Preservation | |
Liu et al. | Extended exploiting-modification-direction data hiding with high capacity |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180608 |