CN108199823A - Chaos video encryption method based on sliding encryption window - Google Patents

Chaos video encryption method based on sliding encryption window Download PDF

Info

Publication number
CN108199823A
CN108199823A CN201810017207.8A CN201810017207A CN108199823A CN 108199823 A CN108199823 A CN 108199823A CN 201810017207 A CN201810017207 A CN 201810017207A CN 108199823 A CN108199823 A CN 108199823A
Authority
CN
China
Prior art keywords
encryption
video
chaos
window
sliding
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.)
Granted
Application number
CN201810017207.8A
Other languages
Chinese (zh)
Other versions
CN108199823B (en
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.)
Changchun University of Science and Technology
Original Assignee
Changchun University of Science and Technology
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 Changchun University of Science and Technology filed Critical Changchun University of Science and Technology
Publication of CN108199823A publication Critical patent/CN108199823A/en
Application granted granted Critical
Publication of CN108199823B publication Critical patent/CN108199823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/001Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using chaotic signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (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

Chaos video encryption method based on sliding encryption window, it is related to video-encryption technical field, it is big to solve existing video encryption method computations expense, between the rapidity of video-encryption and safety there are the problems such as contradiction, chaos system is combined by the present invention with video-encryption, while huge key space and extremely strong key sensibility are provided, the attack tolerant energy of encryption method is enhanced, obtains complicated nonlinear dynamic characteristic.Encryption method of the present invention is while guaranteeing safety, utilize sliding encryption window, select optimal most effective cryptography key data, arithmetic speed is fast, encryption efficiency is high, comparison does not use the selective video encryption method of sliding encryption window, and the present invention can save more than 86% computing cost.

Description

Chaos video encryption method based on sliding encryption window
Technical field
The present invention relates to video-encryption technical fields, and in particular to a kind of quick chaos video based on sliding encryption window Encryption method.
Background technology
The fast development of internet and the extensive use of digital medium information have pushed the fast development of Media Industry, rich Rich multimedia messages are used for all trades and professions such as politics, economic, military, education, medical treatment and news.Video letter in multimedia Breath has unique sensory characteristic, is comprising a kind of content media the abundantest, can provide than text, sound and figure more Abundant and vivid information.With the maturation of digital video coding techniques so that the video letter based on Video coding Breath stream can adapt to the application of various bandwidth, be increasingly becoming the important means that the mankind obtain information, meet people's social interaction, Study, medical treatment, shopping, the various demands entertained, profound change is brought, but at present for video to people’s lives and work The research of safety is also far from enough.
Since video data has the characteristics that coding structure is special, data volume is big, requirement of real-time is high, traditional data add Decryption method is difficult to directly apply to video data, also is difficult to meet its security requirement.It at present, can according to the difference of encryption policy Video encryption method is divided into encryption completely and selection two classes of encryption:Encryption is to add video data by turn as bit stream completely Close, advantage is that safety is higher, can reach higher security level, but enciphering rate is relatively slow completely and destroys video Coded format, transmission of video real-time are poor.Selection encryption is that syntactic element crucial in video coding process is encrypted, this kind of Method does not destroy the coded format of video and encryption efficiency is high, has become the protection common encryption method of video information.It is common Video encrypted syntactic element is selected to include:Intra prediction mode, motion vector, quantization parameter, hangover coefficient and non-zero system Number etc..
However, while video-encryption validity is ensured, computing cost when reducing encryption to the greatest extent is relatively difficult. The rapidity of video-encryption and safety restrict each other, and often the high method computation complexity of encryption intensity is with regard to opposite It is higher.This how is overcome to contradiction, designs that a kind of speed is fast, and the good video encryption method of safety has become one and huge chosen War.
Invention content
The present invention is big to solve existing video encryption method computations expense, the rapidity and safety of video-encryption it Between there are the problems such as contradiction, provide a kind of chaos video encryption method based on sliding encryption window.
Chaos video encryption method based on sliding encryption window, this method are realized by following steps:
Step 1: being grouped to video sequence by frame, multigroup video is obtained;
Step 2: the first frame image of current group video is carried out Chaotic Scrambling diffusion using chaos system, chaos is generated Key stream KeyStream;The initial value of the chaos system is set by the user with control parameter, as user key;
Detailed process is:
Step 2 one, using the chaos system of the Compound Chaotic Map to currently organizing the red component of the first frame image of video DR, green component DG, blue component DB carry out Chaotic Scrambling respectively, obtain the red component matrix ER after scramble, green component Matrix EG, blue component matrix EB;
Step 2 two, the red component matrix ER that step 2 one is obtained, green component matrix EG, blue component matrix EB It carries out successively from top to bottom, matrixing from left to right, the scrambling sequence S after being reset;
Step 2 three, using tricellular quantum cellular neural hyperchaotic system to currently organizing the first frame figure of video As being diffused, the tricellular quantum cellular neural hyperchaotic system of iteration obtains the matrix after iteration, by the iteration Matrix carries out matrixing from top to bottom from left to right, generation diffusion key sequence X afterwards;
Step 2 four uses the scrambling sequence S that step 2 two the obtains and diffusion key sequence X that step 2 three obtains Following formula calculates, and obtains diffusion sequence K;
Ki=mod [round ({ abs (Xi)-floor[abs(Xi)]}×1014+Si-1),M×N]
In formula, i=1,2 ..., M × N, the length of diffusion sequence K is M × N;
Step 2 five calculates the diffusion sequence K and scrambling sequence S in step 2 two that step 4 obtains, and obtains Chaotic flow C;Binary system variation is carried out to the chaotic flow C, obtains chaos key stream KeyStream;
Step 3: it is encrypted in current frame image syntax elements encoded using chaos key stream KeyStream described in step 2 Intra prediction mode;
Step 4: position and the window of motion vector sliding encryption window are determined according to the value of the quantization parameter QP of Video coding Mouth size;
Step 5: using in chaos key stream KeyStream encrypted motions vector sliding encryption window described in step 2 Motion vector sign bit MVDs;
Step 6: sliding encryption the window's position and window of nonzero coefficient are determined according to the value of the quantization parameter QP of Video coding Mouth size;
Step 7: it is encrypted in nonzero coefficient sliding encryption window using chaos key stream KeyStream described in step 2 Quantization parameter sign bit QCs;
Step 8: hangover coefficient sliding encryption the window's position and window are determined according to the value of the quantization parameter QP of Video coding Size;
Step 9: using chaos key stream KeyStream described in step 2 to trailing in hangover coefficient sliding encryption window Coefficient symbols position T1s is encrypted;
Step 10: complete the Video coding of present frame;Judge whether present frame is the current last frame organized in video, such as Fruit is to remove one group of video, return to step two;If not, take the next frame image in current group video, return to step three;Directly To the encryption for completing multigroup video.
Beneficial effects of the present invention:The present invention proposes a kind of video encryption method based on sliding encryption window, specifically Encryption method is quickly selected for a kind of H.264 video based on chaos.Chaos system is to initial value and control parameter extreme sensitivity, tool There is good pseudo-randomness, unpredictability is very suitable for secure encryption system.
Chaos system is combined by the present invention with video-encryption, is providing huge key space and extremely strong key sensibility While, the attack tolerant energy of encryption method is enhanced, obtains complicated nonlinear dynamic characteristic.Encryption of the present invention Method, using sliding encryption window, selects optimal most effective cryptography key data, operation speed while guaranteeing safety Degree is fast, and encryption efficiency is high, comparison without using sliding encryption window selective video encryption method, the present invention can save 86% with On computing cost.
Description of the drawings
Fig. 1 is the encryption block diagram of the chaos video encryption method of the present invention based on sliding encryption window;
Fig. 2 is the encryption flow figure of the chaos video encryption method of the present invention based on sliding encryption window;
Fig. 3 is that the sliding encryption window of the chaos video encryption method of the present invention based on sliding encryption window is illustrated Figure;
Fig. 4 is in the specific embodiment one of the chaos video encryption method of the present invention based on sliding encryption window The 20th frame original image of bus video data;
Fig. 5 is in the specific embodiment one of the chaos video encryption method of the present invention based on sliding encryption window The 20th frame ciphertext image of bus video data;
Fig. 6 is in the specific embodiment two of the chaos video encryption method of the present invention based on sliding encryption window The 90th frame original image of video data of calendar;
Fig. 7 is in the specific embodiment two of the chaos video encryption method of the present invention based on sliding encryption window Encrypted the 90th frame ciphertext image of calendar video data.
Specific embodiment
Specific embodiment one illustrates present embodiment with reference to Fig. 1 to Fig. 7, the chaos video based on sliding encryption window Encryption method, according to H.264 video encoding standard, the encryption block diagram of encryption method is as shown in Figure 1, encrypt stream in present embodiment Journey figure is as shown in Figure 2.
The bus video data that size is 352 × 288 is chosen, H.264 JM8.6 that present embodiment operates in is basic Under pattern, video length is 30 frames, and entropy coding pattern is CAVLC, and I interframe is divided into 8, wherein the 20th frame original image of extraction is as schemed 4, the 20th frame ciphertext image is as shown in Figure 5 after encryption.
In present embodiment, user key is made of four parts:First, the control parameter of the Compound Chaotic Map, two, compound mixed The initial value of ignorant mapping, the control parameter of three cell quantum cellular neurals, four, three cell quantum cellular neurals just Value.
A1, " bus " video sequence of selection is grouped by frame, every 20 frame is one group, due in present embodiment Video sequence size for 30 frames, therefore it is 2 to organize number;
B1, the first frame image of current group video is subjected to Chaotic Scrambling expansion respectively according to three color components of red, green, blue It dissipates, generation chaos key stream KeyStream.
In the present embodiment, the chaos system for carrying out image scrambling uses the Compound Chaotic Map, chaos equation equation (1) it is expressed as:
μ in equation (1) is the control parameter of the Compound Chaotic Map, and value range is (0.37,2), is set by the user, and is made For the first part of user key, μ=1 in present embodiment.Iterations of the n for the Compound Chaotic Map, n=1,2, 3......, 352 × 288.Second part of the initial value of Composite Chaotic System as user key, value is in present embodiment 0.618。xnFor the iteration result of current n-th, xn+1For xnIteration result next time.
By the red component DR of first frame image, green component DG, blue component DB are respectively using shown in equation (1) Method carries out shuffle operation, obtains the red component matrix ER after scramble, green component matrix EG, blue component matrix EB.ER、 EG, EB are respectively 352 × 288 matrix;By ER, EG, EB are carried out from top to bottom successively, matrixing from left to right, are reset It is combined as the scrambling sequence S that a length is 352 × 288 × 3 afterwards;
In the present embodiment, the chaos system for carrying out image diffusion uses the quantum cellular neural of 3 cells 3Cell-QCNN hyperchaotic systems, state of chaotic system equation are equation (2):
The initial value x of 3Cell-QCNN hyperchaotic systems1(0), x2(0), x3(0), x4(0), x5(0), x6(0) it is selected by user It is fixed, the Part III as user key.
x1(0)=0.1902, x2(0)=- 186.6, x3(0)=0.123, x4(0)=- 147.5, x5(0)=0.125, x6 (0)=- 198.ω1, ω2, ω3, ω4, ω5, ω6For the control parameter of 3Cell-QCNN, selected by user, it is close as user The Part IV of key.In the present embodiment
ω1=0.2, ω2=0.5, ω3=0.2, ω4=0.2, ω5=0.2, ω6=0.3.Iterative equations (2)
352 × 288 × 3 ÷ 6 times, obtain a length be 352 × 288 × 3 ÷ 66 dimension matrixes, by the matrix carry out from The matrixing of top to bottm from left to right generates the diffusion key sequence X that a length is 352 × 288 × 3.
The calculating of equation (3) is carried out to scrambling sequence S and diffusion key sequence X, obtains diffusion sequence K:
Ki=mod [round ({ abs (Xi)-floor[abs(Xi)]}×1014+Si-1), 352 × 288 × 3] (3)
Wherein, the initial value S of i=1,2 ..., 352 × 288 × 3, scrambling sequence S0=127, the length of diffusion sequence K It is 352 × 288 × 3.
It brings diffusion sequence K and scrambling sequence S into equatioies (4), chaotic flow C is calculated:
C=bitxor (S, K) (4)
Wherein, bitxor () represents the xor operation that step-by-step carries out.C for 352 × 288 × 3 value range of length 0~ Integer sequence between 255 carries out binary system variation to chaotic flow C, is converted to the binary system that length is 352 × 288 × 3 × 8 Chaos key stream KeyStream.
C1, encrypted using chaos key stream KeyStream described in B1 it is pre- in frame in present frame video coding syntax element Survey pattern, shown in method such as equation (5);
IPMs in equation (5) is intra prediction mode sign bit,Represent xor operation, j represents chaos key stream Pointer, it is related to the size of encrypted object, it is determined in step C1 by the number of the intra prediction mode sign bit of present frame, KeyStreamjRepresent that is taken out from chaos key stream KeyStream meets current intra prediction mode sign bit encryption requirements The binary keys flow section of length, EnIPMsRepresent encrypted intra prediction mode sign bit.
D1, position and the window that motion vector MVD sliding encryption windows are determined according to the value of the quantization parameter QP of Video coding Mouth size;Quantization parameter QP=30 in present embodiment, according to the determining method of the motion vector sliding encryption window of table 1;
Table 1
Quantization parameter Motion vector sliding encryption the window's position and size
QP>=28 Encrypted motion vector MVD ∈ [10,20]
QP<28 Encrypted motion vector MVD ∈ [10,15]
Choose motion vector sliding encryption window shown in table 1.The left margin of window is motion vector MVD=10, and size is 10, i.e. the sliding encryption window of motion vector is the range of MVD ∈ [10,20].
E1, the motion vector in chaos key stream KeyStream encrypted motions vector sliding encryption window described in B1 is used Sign bit MVDs, shown in method such as equation (6):
Wherein, MVDs represents motion vector sign bit, and EnWindow (MVDs) represents value in sliding encryption window The sign bit of motion vector.J represents the pointer of chaos key stream, related to the size of encrypted object, by current in step E1 The number decision of motion vector sign bit in the sliding encryption window of frame, KeyStreamjIt represents from chaos key stream The binary keys flow section for meeting current frame motion vectors sign bit encryption requirements length, En are taken out in KeyStreamMVDsTable Show encrypted motion vector sign bit.
F1, determine that sliding encryption the window's position of nonzero coefficient and window are big according to the value of the quantization parameter QP of Video coding It is small;Quantization parameter QP=30 in present embodiment, according to the determining method of the nonzero coefficient sliding encryption window of table 2, i.e. non-zero The sliding encryption window of coefficient is the sign bit of four before NZ.
Table 2
Quantization parameter Nonzero coefficient sliding encryption the window's position and size
QP>=28 Encrypt nonzero coefficient NZ codings first 4
QP<28 Encrypt nonzero coefficient NZ codings first 3
G2, nonzero coefficient sign bit NZs, method such as equation (7) are encrypted using chaos key stream KeyStream described in B1 It is shown:
NZs represents nonzero coefficient sign bit in equation (7), and EnWindow (NZs) represents value in sliding encryption window Nonzero coefficient sign bit.J represents the pointer of chaos key stream, related to the size of encrypted object, by working as in step G1 The number decision of nonzero coefficient sign bit in previous frame sliding encryption window, KeyStreamjIt represents from chaos key stream That is taken out in KeyStream meets the binary keys flow section of present frame nonzero coefficient sign bit encryption requirements length, EnNZs Represent encrypted nonzero coefficient sign bit.
H1, the encrypted sliding encryption the window's position of hangover coefficient and window are determined according to the value of the quantization parameter QP of Video coding Mouth size.Quantization parameter QP=30 in present embodiment according to the determining method of the hangover coefficient encryption window of table 3, that is, is encrypted All hangover coefficient symbols positions.
Table 3
Quantization parameter Hangover coefficient sliding encryption the window's position and size
QP>=28 The whole hangover coefficients of encryption
QP<28 Hangover coefficient is not encrypted
I1, hangover coefficient symbols position T1s is encrypted using chaos key stream KeyStream described in B1, method is such as Shown in formula (8):
T1s represents hangover coefficient symbols position in equation (8), and EnWindow (T1s) represents value in sliding encryption window Hangover coefficient sign bit.J represents the pointer of chaos key stream, related to the size of encrypted object, by working as in step I1 The number decision of hangover coefficient symbols position in the encryption window of previous frame, KeyStreamjIt represents from chaos key stream That is taken out in KeyStream meets the binary keys flow section of present frame hangover coefficient symbols bit encryption needed length, EnT1s Represent encrypted hangover coefficient symbols position.
J1, the Video coding for completing present frame.Judge present frame whether be current video grouping in last frame.If It is current group last frame, removes one group of video, return to B1;If not the last frame currently organized, next frame video is taken, is returned Return C1.Until complete the scrambled of all videos sequence.
Specific embodiment two, with reference to Fig. 1 to Fig. 7, based on chaos video encryption method, according to H.264 Video coding mark Standard, the encryption block diagram of encryption method is as shown in Figure 1, ciphering process is shown in flow chart 2 in present embodiment.Choose size for 176 × 144 " calendar " video data, present embodiment are operated under JM8.6 basic models H.264, video length be 100 frames, entropy Coding mode is CAVLC, and I interframe is divided into 8, wherein the 90th frame original image such as Fig. 6 of extraction, the 90th frame ciphertext image is such as after encryption Shown in Fig. 7.
In present embodiment, user key is made of four parts:1. the control parameter of the Compound Chaotic Map, 2. composite chaotic The initial value of the control parameter of the initial value of mapping, 3. three cell quantum cellular neurals, 4. three cell quantum cellular neurals.
A2, the calendar video sequence of selection is grouped by frame, every 20 frame is one group, due to regarding in present embodiment Frequency sequence size is 100 frames, therefore it is 5 to organize number;
B2, the first frame image of current group video is subjected to Chaotic Scrambling expansion respectively according to three color components of red, green, blue It dissipates, generation chaos key stream KeyStream.
In the present embodiment, the chaos system for carrying out image scrambling uses the Compound Chaotic Map, chaos equation equation (1) it is expressed as:
μ in equation (1) is the control parameter of the Compound Chaotic Map, and value range is (0.37,2), is set by the user, and is made For the first part of user key, μ=1 in present embodiment.Iterations of the n for the Compound Chaotic Map, n=1,2, 3......, 176 × 144.Second part of the initial value of Composite Chaotic System as user key, value is in present embodiment 0.618。xnFor the iteration result of current n-th, xn+1For xnIteration result next time.
By the red component DR of first frame image, green component DG, blue component DB are respectively using shown in equation (1) Method carries out shuffle operation, obtains the red component ER after scramble, green component EG, blue component EB.ER, EG, EB are respectively 176 × 144 matrix;
By ER, EG, EB are carried out from top to bottom successively, matrixing from left to right, and a length is combined as after rearrangement and is 176 × 144 × 3 scrambling sequence S;
In the present embodiment, the chaos system for carrying out image diffusion uses the quantum cellular neural of 3 cells 3Cell-QCNN hyperchaotic systems, state of chaotic system equation are equation (2):
The initial value x of 3Cell-QCNN hyperchaotic systems1(0), x2(0), x3(0), x4(0), x5(0), x6(0), it is selected by user It is fixed, the Part III as user key.In the present embodiment
x1(0)=0.1902, x2(0)=- 186.6, x3(0)=0.123, x4(0)=- 147.5, x5(0)=0.125, x6 (0)=- 198
ω1, ω2, ω3, ω4, ω5, ω6It for the control parameter of 3Cell-QCNN, is selected by user, as user key Part IV.In the present embodiment
ω1=0.2, ω2=0.5, ω3=0.2, ω4=0.2, ω5=0.2, ω6=0.3.Iterative equations (2)
176 × 144 × 3 ÷ 6 times, obtain a length be 176 × 144 × 3 ÷ 66 dimension matrixes, by the matrix carry out from The matrixing of top to bottm from left to right generates the diffusion key sequence X that a length is 176 × 144 × 3.
The calculating of equation (3) is carried out to scrambling sequence S and diffusion key sequence X, obtains diffusion sequence K:
Ki=mod [round ({ abs (Xi)-floor[abs(Xi)]}×1014+Si-1), 176 × 144 × 3] (3)
Wherein, the initial value S of i=1,2 ..., 176 × 144 × 3, scrambling sequence S0=127, the length of diffusion sequence K It is 176 × 144 × 3.
It brings diffusion sequence K and scrambling sequence S into equatioies (4), chaotic flow C is calculated:
C=bitxor (S, K) (4)
Wherein, bitxor () represents the xor operation that step-by-step carries out.
C is integer sequence of 176 × 144 × 3 value range of length between 0~255, carries out binary system variation to C, turns It is changed to the binary system chaos key stream KeyStream that length is 176 × 144 × 3 × 8.
C2, encrypted using chaos key stream KeyStream described in B2 it is pre- in frame in present frame video coding syntax element Survey pattern, shown in method such as equation (5);
IPMs in equation (5) is intra prediction mode sign bit,Represent xor operation, j represents chaos key stream Pointer, it is related to the size of encrypted object, it is determined in step C2 by the number of the intra prediction mode sign bit of present frame, KeyStreamjRepresent that is taken out from chaos key stream KeyStream meets current intra prediction mode sign bit encryption requirements The binary keys flow section of length, EnIPMsRepresent encrypted intra prediction mode sign bit.
D2, position and the window that motion vector MVD sliding encryption windows are determined according to the value of the quantization parameter QP of Video coding Mouth size;Quantization parameter QP=22 in present embodiment, according to the determining method of the motion vector sliding encryption window of table 1.
Choose motion vector sliding encryption window shown in table 3.The left margin of window is motion vector MVD=10, and size is 5, i.e. the sliding encryption window of motion vector is the range of MVD ∈ [10,15].
E2, the motion vector in chaos key stream KeyStream encrypted motions vector sliding encryption window described in B2 is used Sign bit MVDs, shown in method such as equation (6):
MVDs represents motion vector sign bit in equation (6), and EnWindow (MVDs) represents value in sliding encryption window The sign bit of interior motion vector.By the number of the motion vector sign bit in the sliding encryption window of present frame in step E2 It determines, KeyStreamjRepresenting that taking-up meets the bit encryption of current frame motion vectors symbol from chaos key stream KeyStream needs Ask the binary keys flow section of length, EnMVDsRepresent encrypted motion vector sign bit.
F2, determine that sliding encryption the window's position of nonzero coefficient and window are big according to the value of the quantization parameter QP of Video coding It is small;Quantization parameter QP=22 in present embodiment, the determining method of the nonzero coefficient sliding encryption window according to table 2, i.e., The sliding encryption window of nonzero coefficient is the sign bit of NZ front threes.
G2, nonzero coefficient sign bit NZs, method such as equation (7) are encrypted using chaos key stream KeyStream described in B2 It is shown:
NZs represents nonzero coefficient sign bit in equation (7), and EnWindow (NZs) represents value in sliding encryption window Nonzero coefficient sign bit.J represents the pointer of chaos key stream, related to the size of encrypted object, by working as in step G2 The number decision of nonzero coefficient sign bit in previous frame sliding encryption window, KeyStreamjIt represents from chaos key stream That is taken out in KeyStream meets the binary keys flow section of present frame nonzero coefficient sign bit encryption requirements length, EnNZs Represent encrypted nonzero coefficient sign bit.
H2, the encrypted sliding encryption the window's position of hangover coefficient and window are determined according to the value of the quantization parameter QP of Video coding Mouth size.Quantization parameter QP=22 in present embodiment, the determining method of the hangover coefficient encryption window according to table 3, i.e., Without encrypting hangover coefficient symbols position.
I2, the Video coding for completing present frame.Judge present frame whether be current video grouping in last frame.If It is current group last frame, removes one group of video, return to B2;If not the last frame currently organized, next frame video is taken, is returned Return C2.Until complete the scrambled of all videos sequence.

Claims (3)

1. the chaos video encryption method based on sliding encryption window, this method are realized by following steps:
Step 1: being grouped to video sequence by frame, multigroup video is obtained;
Step 2: the first frame image of current group video is carried out Chaotic Scrambling diffusion using chaos system, chaotic key is generated Flow KeyStream;The initial value of the chaos system is set by the user with control parameter, as user key;
Detailed process is:
Step 2 one, using the chaos system of the Compound Chaotic Map to currently organizing the red component DR of the first frame image of video, Green component DG, blue component DB carry out Chaotic Scrambling respectively, obtain the red component matrix ER after scramble, green component matrix EG, blue component matrix EB;
Step 2 two, the red component matrix ER for obtaining step 2 one, green component matrix EG, blue component matrix EB is successively It carries out from top to bottom, matrixing from left to right, the scrambling sequence S after being reset;
Step 2 three, using tricellular quantum cellular neural hyperchaotic system to currently organize the first frame image of video into Row diffusion, the tricellular quantum cellular neural hyperchaotic system of iteration obtain the matrix after iteration, by square after the iteration Battle array carries out matrixing from top to bottom from left to right, generation diffusion key sequence X;
The scrambling sequence S that step 2 two the obtains and diffusion key sequence X that step 2 three obtains is used following formula meter by step 2 four It calculates, obtains diffusion sequence K;
Ki=mod [round ({ abs (Xi)-floor[abs(Xi)]}×1014+Si-1), M × N]
In formula, the length of i=1,2 ..., M × N diffusion sequence K are M × N;
The M is the row number of pixels of a frame image, and N is the row number of pixels of a frame image;
Step 2 five calculates the diffusion sequence K and scrambling sequence S in step 2 two that step 4 obtains, and obtains chaos Flow C;Binary system variation is carried out to the chaotic flow C, obtains chaos key stream KeyStream;
Step 3: the frame in current frame image syntax elements encoded is encrypted using chaos key stream KeyStream described in step 2 Inner estimation mode;
Step 4: motion vector sliding encryption window is determined according to the value of the quantization parameter QP of Video coding;
Step 5: using the movement in chaos key stream KeyStream encrypted motions vector sliding encryption window described in step 2 Vector symbol position MVDs;
Step 6: determine that sliding encryption the window's position of nonzero coefficient and window are big according to the value of the quantization parameter QP of Video coding It is small;
Step 7: the quantization in nonzero coefficient sliding encryption window is encrypted using chaos key stream KeyStream described in step 2 Coefficient symbols position QCs;
Step 8: hangover coefficient sliding encryption window is determined according to the value of the quantization parameter QP of Video coding;
Step 9: using chaos key stream KeyStream described in step 2 to the coefficient that trails in hangover coefficient sliding encryption window Sign bit T1s is encrypted;
Step 10: complete the Video coding of present frame;Judge whether present frame is the current last frame organized in video, if It is to remove one group of video, return to step two;If not, take the next frame image in current group video, return to step three;Until Complete the encryption of multigroup video.
2. the chaos video encryption method according to claim 1 based on sliding encryption window, which is characterized in that described mixed The initial value of ignorant system is set by the user with control parameter, as user key;The user key includes four parts;
First part of the control parameter of the Compound Chaotic Map as user key, the initial value of the Compound Chaotic Map is as use The second part of family key;
Part III of the initial value of the three quantum cellular neurals hyperchaotic system as user key, three quantum cells god Part IV of the control parameter through network hyperchaotic system as user key;
The chaos equation of the Compound Chaotic Map with for:
In formula, control parameters of the μ for the Compound Chaotic Map, xnFor the iteration result of current n-th, xn+1For xnNext time repeatedly For result.
3. the chaos video encryption method according to claim 1 based on sliding encryption window, which is characterized in that step 4 In, the range of the right boundary of motion vector sliding encryption window is determined according to the value of the quantization parameter QP of Video coding.
CN201810017207.8A 2017-09-20 2018-01-09 Chaotic video encryption method based on sliding encryption window Active CN108199823B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710849721 2017-09-20
CN2017108497213 2017-09-20

Publications (2)

Publication Number Publication Date
CN108199823A true CN108199823A (en) 2018-06-22
CN108199823B CN108199823B (en) 2021-03-30

Family

ID=62588759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810017207.8A Active CN108199823B (en) 2017-09-20 2018-01-09 Chaotic video encryption method based on sliding encryption window

Country Status (1)

Country Link
CN (1) CN108199823B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932691A (en) * 2018-08-14 2018-12-04 长春理工大学 More diffusion image encrypting and decrypting methods of quantum cellular neural chaos
CN109003314A (en) * 2018-08-14 2018-12-14 长春理工大学 Image encryption decryption method based on four-dimensional quantum Dicke mapping
CN109873696A (en) * 2019-01-18 2019-06-11 天津大学 It is a kind of to be able to achieve the video encryption method for distorting frame alignment
CN113473152A (en) * 2021-06-07 2021-10-01 东北大学 Chaos-based H.264 video fast zero-bit-rate expansion encryption method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024249A (en) * 2010-11-30 2011-04-20 辽宁师范大学 Digital image watermarking method based on visual perception characteristics
US9554738B1 (en) * 2016-03-30 2017-01-31 Zyomed Corp. Spectroscopic tomography systems and methods for noninvasive detection and measurement of analytes using collision computing
CN106850182A (en) * 2017-01-16 2017-06-13 长春理工大学 Video chaotic encryption method based on quantum cellular neural

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024249A (en) * 2010-11-30 2011-04-20 辽宁师范大学 Digital image watermarking method based on visual perception characteristics
US9554738B1 (en) * 2016-03-30 2017-01-31 Zyomed Corp. Spectroscopic tomography systems and methods for noninvasive detection and measurement of analytes using collision computing
CN106850182A (en) * 2017-01-16 2017-06-13 长春理工大学 Video chaotic encryption method based on quantum cellular neural

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
FEI PENG, XIAO-QING GONG, MIN LONG, XING-MING SUN: "A selective encryption scheme for protecting H.264/AVC video in multimedia social network", 《SPRINGER》 *
HEINZ HOFBAUER ,ANDREAS UHL ,ANDREAS UNTERWEGER: "Transparent Encryption for Hevc Using Bit-stream-based Selective Coeffeicient Sign Encryption", 《IEEE》 *
JINQING LI,FENGMING BAI,XIAOQIANG DI: "New color image encryption algorithm based on compound chaos mapping and hyperchaotic cellular neural network", 《JOURNAL OF ELECTRONIC IMAGING》 *
刘银森: "基于混沌加密的保密视频会议系统研究及实现", 《CNKI中国硕士学位论文全文数据库信息科技辑》 *
朱小文: "基于H.264的数字视频加密与隐私保护方法研究", 《CNKI中国硕士学位论文全文数据库信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932691A (en) * 2018-08-14 2018-12-04 长春理工大学 More diffusion image encrypting and decrypting methods of quantum cellular neural chaos
CN109003314A (en) * 2018-08-14 2018-12-14 长春理工大学 Image encryption decryption method based on four-dimensional quantum Dicke mapping
CN108932691B (en) * 2018-08-14 2022-12-30 长春理工大学 Quantum cell neural network chaotic multi-diffusion image encryption and decryption method
CN109003314B (en) * 2018-08-14 2023-03-21 长春理工大学 Image encryption and decryption method based on four-dimensional quantum Dicke mapping
CN109873696A (en) * 2019-01-18 2019-06-11 天津大学 It is a kind of to be able to achieve the video encryption method for distorting frame alignment
CN113473152A (en) * 2021-06-07 2021-10-01 东北大学 Chaos-based H.264 video fast zero-bit-rate expansion encryption method

Also Published As

Publication number Publication date
CN108199823B (en) 2021-03-30

Similar Documents

Publication Publication Date Title
Zhu et al. Cryptanalyzing and improving a novel color image encryption algorithm using RT-enhanced chaotic tent maps
Zhang et al. A novel color image encryption scheme using fractional-order hyperchaotic system and DNA sequence operations
Zhang et al. An efficient image encryption scheme based on S-boxes and fractional-order differential logistic map
EP3588838A1 (en) Chaotic map-based digital chaotic encryption method
Chen et al. An efficient image encryption scheme using lookup table-based confusion and diffusion
Zhu et al. Plaintext-related image encryption algorithm based on block structure and five-dimensional chaotic map
Lian Efficient image or video encryption based on spatiotemporal chaos system
Wu et al. A new color image encryption scheme using CML and a fractional-order chaotic system
Liu et al. Color image encryption using three-dimensional sine ICMIC modulation map and DNA sequence operations
Li et al. A novel plaintext-related chaotic image encryption scheme with no additional plaintext information
CN108199823A (en) Chaos video encryption method based on sliding encryption window
Chen et al. Reusing the permutation matrix dynamically for efficient image cryptographic algorithm
Dong et al. Color image compression-encryption using fractional-order hyperchaotic system and DNA coding
Bouslehi et al. Innovative image encryption scheme based on a new rapid hyperchaotic system and random iterative permutation
Mikhail et al. Two‐Phase Image Encryption Scheme Based on FFCT and Fractals
ShreyamshaKumar et al. JPEG image encryption using fuzzy PN sequences
CN106228504A (en) Based on plaintext and the digital image encryption method of key structure encryption parameter
Kadir et al. A modified image encryption scheme based on 2D chaotic map
Elamrawy et al. An image encryption based on DNA coding and 2DLogistic chaotic map
Saraswathi et al. A block cipher algorithm for multimedia content protection with random substitution using binary tree traversal
Sun A chaotic image encryption algorithm combining 2D chaotic system and random XOR diffusion
CN109344627B (en) Novel Shannon perfect secrecy method
Naim et al. New chaotic satellite image encryption by using some or all the rounds of the AES algorithm
CN110381337B (en) Video encryption method based on chaos cipher theory and incompatible video coding
AL-Laham Encryption-decryption RGB color image using matrix multiplication

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
GR01 Patent grant
GR01 Patent grant