CN107948675A - A kind of H.264/AVC video format compatible encryption method based on CABAC codings - Google Patents

A kind of H.264/AVC video format compatible encryption method based on CABAC codings Download PDF

Info

Publication number
CN107948675A
CN107948675A CN201711173982.4A CN201711173982A CN107948675A CN 107948675 A CN107948675 A CN 107948675A CN 201711173982 A CN201711173982 A CN 201711173982A CN 107948675 A CN107948675 A CN 107948675A
Authority
CN
China
Prior art keywords
video
block
encrypted
encryption
format compatible
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
CN201711173982.4A
Other languages
Chinese (zh)
Other versions
CN107948675B (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.)
Sun Yat Sen University
Original Assignee
Sun Yat Sen University
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 Sun Yat Sen University filed Critical Sun Yat Sen University
Priority to CN201711173982.4A priority Critical patent/CN107948675B/en
Publication of CN107948675A publication Critical patent/CN107948675A/en
Application granted granted Critical
Publication of CN107948675B publication Critical patent/CN107948675B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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 or manipulating encoded video stream scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption
    • 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/06Cryptographic 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
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0631Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms
    • 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/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • 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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • 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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/167Position within a video image, e.g. region of interest [ROI]
    • 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/169Methods 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/17Methods 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/176Methods 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
    • 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 or rendering scenes according to encoded video stream scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream 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/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 or rendering scenes according to encoded video stream scene graphs
    • H04N21/4408Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video stream encryption, e.g. re-encrypting a decrypted video stream for redistribution in a home network

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

The present invention provides a kind of H.264/AVC video format compatible encryption method based on CABAC codings, and this method first carries out piecemeal division to video, selects area-of-interest and part randomized block, it is encrypted, then encryption is made choice to rest block;New parameter is finally calculated, rest block is reorganized into the video of a format compatible.This method has not only encrypted time and space relevant parameter, also changes video original structure, reduces side leakage of information, improves the security of Encryption Algorithm;Special protection can be provided for area-of-interest at the same time, be adapted to different application scenarios, remain the ability that certain detection process is carried out to encrypted video, so as to provide help for the application such as cloud monitoring system, cloud storage system.

Description

A kind of H.264/AVC video format compatible encryption method based on CABAC codings
Technical field
The present invention relates to field of multi-media information safety, is encoded H.264/ based on CABAC more particularly, to a kind of AVC video format compatible encryption methods.
Background technology
In recent years, as the development of multimedia technology, video technique are increasingly appearing in daily life. The thing followed, people also increasingly pay attention to for the correlation technique of video content, secret protection.
For video, existing method is encrypted mainly for the spatial domain in video code flow, time domain relevant parameter.But If from the perspective of security, all there is the risk of privacy leakage for such algorithm.Especially, by encrypted matchmaker This body structure of volume data before encryption with not having too big difference.The structure (block order, frame sequential etc.) of media data itself is subsidiary Substantial amounts of side information.The structural information of these unencryptions, it is more likely that cause privacy leakage.Due to the matchmaker by compressed encoding Volume data is complicated, and context often has high correlation, and coding mark used in different media data formats Standard is not quite similar;It is also desirable to the problems such as considering code efficiency, encryption times, adds the structural information of media data Close is a difficult task.Encrypt spatial domain, time domain relevant parameter, there is provided a kind of global lightweight protection;It cannot expire Sufficient different application scene carries out controllable adjustment, and the demand of special localised protection for area-of-interest.In addition, encryption Video be often used for the scenes such as cloud storage system, it is necessary to retain the disposal ability certain to encrypted video.
Based on the H.264/AVC video format compatible encryption method of CABAC codings, mainly H.264/ CABAC is encoded Time, spatial parameter and the structural information of AVC videos are encrypted;Multi-layer security system is devised, is area-of-interest Special protection is provided, improves adaptability of the Encryption Algorithm to different application scene;Meanwhile and remain to encrypted video The ability of detection process, has taken into account high in the clouds processing and two kinds of demands of video content protection.
The content of the invention
The present invention provides a kind of H.264/AVC video format compatible encryption method based on CABAC codings, and this method can Efficiently the video H.264/AVC encoded of CABAC codings is encrypted.
In order to reach above-mentioned technique effect, technical scheme is as follows:
A kind of H.264/AVC video format compatible encryption method, comprises the following steps:
S1:Video block is grouped;
S2:Interested piece, random selection block are encrypted;
S3:Partial encryption is carried out to rest block;
S4:The cryptographic block of S2 generations is packed, the encryption for format compatible is reorganized with the Partial encryption block of S3 generations Video code flow.
Further, the detailed process of the step S1 is:
S11:Using detection algorithm, such as Face datection, the block position for belonging to area-of-interest in video is oriented, by this A little blocks are denoted as interested piece of R, and Mp is used in R1Record position information;
S12:Some blocks are randomly choosed, is denoted as in random selection block S, S and uses Mp2Record position information, is replaced with skip blocks in S For interested piece in corresponding R;
S13:Rest block is denoted as O.
Further, the detailed process of the step S2 is:
S21:For the data in the block of each in R, after carrying out arithmetic coding, all bits are carried out using AES-CFB Encryption;
S22:For the data in the block of each in S, after carrying out Partial encryption and arithmetic coding, AES-CFB pairs is utilized All bits are encrypted.
Further, the detailed process of the step S3 is:
S31:Encrypt the intra prediction mode IPM of each block in O;
S32:Encrypt the suffix of the Motion vector residue MVD code words of each block in O;
S33:Encrypt the suffix and its symbol of the nonzero coefficient of each block in O;
S34:For the data in the block of each in O, arithmetic coding is carried out.
Further, the detailed process of the step S4 is:
S41:By the data in encrypted R, the NALU of type 22 is packaged as;
S42:By the data in encrypted S, the NALU of type 23 is packaged as;
S43:By the data in encrypted O, reorganize as one section of video, be denoted as NVB, recalculate parameter in NVB The partial parameters of concentration;
S44:Relevant parameter set in relevant initial parameter in NVB and R, S is denoted as P, is packaged as class after encryption completely The NALU of type 17;
S45:After the NALU that type is 17,22 and 23 is placed in the code stream of NVB, encrypted video code flow is obtained.
Further, this method can select area-of-interest to be encrypted according to demand, meanwhile, provide multilayer for video Secondary protection, using part of key, can recover the partial information in addition to area-of-interest, for doing encrypted video Detection process, detailed process are:
S51:It is the content in 23 to decrypt NALU types, obtains the random selection block of Partial encryption
S52:It is the content in 17 to decrypt NALU types, obtains the initial parameter of Partial encryption
S53:According to Mp2From And the rest block of Partial encryptionThe video with original video structure is recovered, its In interested piece of region information via skip blocks replace, the video of this Partial encryption with original video structure can For detection process.
Corresponding decryption method detailed process is:
S61:It is the content in 17,23 to decrypt NALU types successively, obtains random selection block S and initial parameter P;
S62:It is the content in 22 to decrypt NALU types, obtains interested piece of R;
S63:The content in NVB is decrypted, obtains rest block O and other specification;
S64:According to Mp1, Mp2Recover original video structure, subsequent decoding work is carried out using the data after decryption.
Compared with prior art, the beneficial effect of technical solution of the present invention is:
The method of the present invention first carries out format compatible encryption to video, special protection can be provided for area-of-interest, together When, video structure information has been encrypted, has reduced side leakage of information.This method can be different according to different application scenarios selections Area-of-interest, is more suitable for practical application expansion;Utilize multi-layer security system at the same time, enabling do not leak in sensitive information In the case of, retain the detection process ability to encrypted video, so as to be carried for the application such as cloud monitoring system, cloud storage system For helping.
Brief description of the drawings
Fig. 1 is the basic flow chart using the method for the present invention;
Fig. 2 is the schematic diagram that basic thought is encrypted using the method for the present invention;
Fig. 3 is the schematic diagram for carrying out Partial encryption to nonzero coefficient using the method for the present invention;
Fig. 4 is to realize encrypted frame diagram using the method for the present invention;
Fig. 5 is the example using the encrypted video frame of the method for the present invention.
Embodiment
Attached drawing is only for illustration, it is impossible to is interpreted as the limitation to this patent;
In order to more preferably illustrate the present embodiment, some components of attached drawing have omission, zoom in or out, and do not represent actual product Size;
To those skilled in the art, it is to be appreciated that some known features and its explanation, which may be omitted, in attached drawing 's.
Technical scheme is described further with reference to the accompanying drawings and examples.
Embodiment 1
It is the flow chart based on format compatible encryption method in the method for the present invention such as Fig. 1.Wherein encrypted basic thought is such as Shown in Fig. 2, first interested piece is encrypted with random selection block, then as additional information, is placed in by Partial encryption Rest block after, obtain by encrypted video code flow.It is comprised the following steps that:
(1) video data is grouped, specifically, being grouped in the following way to the block number evidence of video:
1. detection algorithm is utilized, such as Face datection, the block position for belonging to area-of-interest in video is oriented, by these Block is denoted as interested piece of R, and Mp is used in R1Record position information, specifically
Mp1It can be expressed as by the sequence of 0,1 composition, wherein 1 represents that corresponding blocks are interested piece, 0 on the contrary.
An example of R can be " Mp1... ..., 0, ri, 0 ... ... ", wherein 0 is blank character, riExpression one is interested Block.
2. randomly choosing some blocks, it is denoted as in random selection block S, S and uses Mp2Record position information, is substituted with skip blocks in S Interested piece in corresponding R;
Mp2It can be expressed as by the sequence of 0,1 composition, wherein 1 represents that corresponding blocks are that 0 on the contrary in S.
An example of S can be " Mp2... ..., 0, si, 0, skip, 0 ... ... ", wherein 0 is blank character, siRepresent one A random selection block, skip are a skip macroblock (being replaced in I frames with another random selection block), and skip is used to substitute correspondence Interested piece of position so that video can use recovered part side information to be operated for detection process.
3. rest block is denoted as O.
(2) interested piece is encrypted with random selection block:
1. for the data in the block of each in R, after carrying out arithmetic coding, AES-CFB, key K are utilized3, to all ratios Spy is encrypted, and obtains FE { R }, and wherein FE { } represents that wherein all bits are encrypted using AES-CFB;
2. for the data in the block of each in S, Partial encryption (specific method is shown in step (3)), key K are carried out1, obtainAfter carrying out arithmetic coding again, all bits are encrypted using AES-CFB, key K2, obtain
(3) Partial encryption is carried out to rest block, wherein, it is as follows to the partial encryption method of CABAC codings:
1. the intra prediction mode IPM of each block in O is encrypted, wherein
The encryption method of Intra_16 × 16 is:Last bit of the corresponding code word of encryption macro block type;
The encryption method of Intra_4 × 4 is:If most possible pattern identification is 0, three bits of suffix are encrypted;
2. the suffix of the Motion vector residue MVD code words of each block in O is encrypted, specifically:
Using CABAC coding H.264/AVC in, MVD used UEG3 carry out binarization, MVD be more than 9 code word, That a part of information more than 9 can be represented by EG3 code words.For these MVD, selection is its EG code word for encrypted bit Suffix.
3. the amplitude and its symbol of the nonzero coefficient of each block in O are encrypted, specifically:
Using CABAC codings H.264/AVC in, nonzero coefficient carries out binarization using UEG0, and amplitude is more than 15 Code word, can be represented that a part of information more than 15 by EG0 code words.The suffix of these EG0 code words, is for encrypted ratio It is special.In addition, for encoded non-zero coefficient, the bit for coefficient symbols of trailing, and need the bit being encrypted.Its ciphering process As shown in Figure 3.
4. for (the key K in the block after Partial encryption of each in O1) data, carry out arithmetic coding.
(4) cryptographic block for generating (2) is packed, and adding for format compatible is reorganized with the Partial encryption block of (3) generation Close video code flow.
1. by the data in encrypted R, the NALU of type 22 is packaged as;
2. by the data in encrypted S, the NALU of type 23 is packaged as;
3. by the data in encrypted O, reorganize as one section of video, be denoted as NVB, recalculate parameter set in NVB In partial parameters, specifically have following types of parameter:
The height of video is with wide parameter, it is necessary to be converted into the size of NVB again;
Parameter in video title on first macro block address information in piece is, it is necessary to be converted into the address in NVB;
The intra prediction mode IPM of edge macro block is, it is necessary to which being scaled (need not exceed in NVB and scheme from pixel of crossing the border in NVB As scope) pattern of prediction;
MVD needs the predicted motion vector PMV in NVB to be recalculated by formula MV=PMV+MVD.
4. relevant parameter set in relevant initial parameter in NVB and R, S is denoted as P, type is packaged as after encryption completely 17 NALU;
5. after the NALU that type is 17,22 and 23 is placed in the code stream of NVB, encrypted video code flow is obtained.
(5) this method can select area-of-interest to be encrypted according to demand, its entirety realizes that frame is as shown in Figure 4. Meanwhile multi-level protection is provided for video, using part of key, the part letter in addition to area-of-interest can be recovered Breath, for doing the detection process of encrypted video.Wherein, recover original video structural information using part of key and be used for what is handled Flow is as follows:
1. utilize key K2It is the content in 23 to decrypt NALU types, obtains the random selection block of Partial encryption
2. utilize key K2It is the content in 17 to decrypt NALU types, obtains the initial parameter of Partial encryption
3. according to Mp2FromAndThe video with original video structure is recovered, for detection process.
(6) decrypting process completely is encrypted inverse process, its idiographic flow is as follows:
1. utilize key K2、K1It is the content in 17,23 to decrypt NALU types successively, obtains random selection block S and original ginseng Number P;
2. utilize key K3It is the content in 22 to decrypt NALU types, obtains interested piece of R;
3. utilize key K1The content in NVB is decrypted, obtains rest block O and other specification;
4. according to Mp1、Mp2Recover original video structure, subsequent decoding work is carried out using the data after decryption.
The principle of the method for the present invention is as follows:
This method utilizes the detection method of pretreatment, extracts area-of-interest, carries out special protection processing, so as to Different application scene is enough adapted to, preferably protection is provided than global lightweight encryption.This method by bit in combination with adding Close and Partial encryption, multi-level protection is provided for video content, so that this method can not leak area-of-interest In the case of information, meets the needs of carrying out part detection process algorithm.This method adds random selection block, while group again Video block message is knitted so that encrypted video code flow structure has great difference with original video code flow structure, can Side leakage of information is better protected from, protects video content.
The result tested using the method for the present invention:
By taking 352 × 288 video as an example, partial results are as shown in Figure 5:
Wherein, the image on the left side is original video frame, and the image on the right is encrypted video frame.As can be seen that we Algorithm can protect video content well.Detailed result is as shown in the table:
Wherein, every section of video for test is 300 frames, and using JM18.6 identifying codes, IR is residual risk, LSD is local variance, and ES is encryption space.By table 1, it can be seen that, the encrypted video IR of the method for the present invention is very small, LSD It is very big, that is, reach preferable video content protection effect.Meanwhile encrypt space and account for the ratio of whole parameter space and exceed 57%, compared with existing encryption (20%), it can preferably oppose violence and crack, protect video content.
The same or similar label correspond to the same or similar components;
Position relationship is used for only for illustration described in attached drawing, it is impossible to is interpreted as the limitation to this patent;
Obviously, the above embodiment of the present invention is only intended to clearly illustrate example of the present invention, and is not pair The restriction of embodiments of the present invention.For those of ordinary skill in the field, may be used also on the basis of the above description To make other variations or changes in different ways.There is no necessity and possibility to exhaust all the enbodiments.It is all this All any modification, equivalent and improvement made within the spirit and principle of invention etc., should be included in the claims in the present invention Protection domain within.

Claims (8)

1. a kind of H.264/AVC video format compatible encryption method based on CABAC codings, it is characterised in that including following step Suddenly:
S1:Video block is grouped;
S2:Interested piece, random selection block are encrypted;
S3:Partial encryption is carried out to rest block;
S4:The cryptographic block of S2 generations is packed, the encrypted video for format compatible is reorganized with the Partial encryption block of S3 generations Code stream.
2. H.264/AVC video format compatible encryption method according to claim 1, it is characterised in that the step S1 Detailed process be:
S11:Using detection algorithm, such as Face datection, the block position for belonging to area-of-interest in video is oriented, by these blocks Interested piece of R is denoted as, Mp is used in R1Record position information;
S12:Some blocks are randomly choosed, is denoted as in random selection block S, S and uses Mp2Record position information, substitutes phase in S with skip blocks Interested piece in the R answered;
S13:Rest block is denoted as O.
3. H.264/AVC video format compatible encryption method according to claim 2, it is characterised in that the step S2 Detailed process be:
S21:For the data in the block of each in R, after carrying out arithmetic coding, all bits are encrypted using AES-CFB;
S22:For the data in the block of each in S, after carrying out Partial encryption and arithmetic coding, using AES-CFB to all Bit is encrypted.
4. H.264/AVC video format compatible encryption method according to claim 3, it is characterised in that the step S3 Detailed process be:
S31:Encrypt the intra prediction mode IPM of each block in O;
S32:Encrypt the suffix of the Motion vector residue MVD code words of each block in O;
S33:Encrypt the suffix and its symbol of the nonzero coefficient of each block in O;
S34:For the data in the block of each in O, arithmetic coding is carried out.
5. H.264/AVC video format compatible encryption method according to claim 4, it is characterised in that the step S4 Detailed process be:
S41:By the data in encrypted R, the NALU of type 22 is packaged as;
S42:By the data in encrypted S, the NALU of type 23 is packaged as;
S43:By the data in encrypted O, reorganize as one section of video, be denoted as NVB, recalculate in NVB in parameter set Partial parameters;
S44:Relevant parameter set in relevant initial parameter in NVB and R, S is denoted as P, is packaged as Class1 7 after encryption completely NALU;
S45:After the NALU that type is 17,22 and 23 is placed in the code stream of NVB, encrypted video code flow is obtained.
6. the recovery side letter corresponding to the video format compatible encryption method according to claim 5 based on CABAC codings Method of the breath for detection process, it is characterised in that institute using restoration methods is:
S51:It is the content in 23 to decrypt NALU types, obtains the random selection block of Partial encryption
S52:It is the content in 17 to decrypt NALU types, obtains the initial parameter of Partial encryption
S53:According to Mp2FromAnd the rest block of Partial encryptionThe video with original video structure is recovered, is used for Detection process.
7. the decryption method corresponding to the video format compatible encryption method according to claim 5 based on CABAC codings, It is characterized in that, used decryption method is:
S61:It is the content in 17,23 to decrypt NALU types successively, obtains random selection block S and initial parameter P;
S62:It is the content in 22 to decrypt NALU types, obtains interested piece of R;
S63:The content in NVB is decrypted, obtains rest block O and other specification;
S64:According to Mp1, Mp2Recover original video structure, subsequent decoding work is carried out using the data after decryption.
8. according to any video format compatible encryption methods encoded based on CABAC of claim 1-5, its feature exists In, this method can select area-of-interest to be encrypted according to demand, meanwhile, multi-level protection is provided for video, is utilized Part of key, can recover the partial information in addition to area-of-interest, for doing the detection process of encrypted video.
CN201711173982.4A 2017-11-22 2017-11-22 H.264/AVC video format compatible encryption method based on CABAC coding Active CN107948675B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711173982.4A CN107948675B (en) 2017-11-22 2017-11-22 H.264/AVC video format compatible encryption method based on CABAC coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711173982.4A CN107948675B (en) 2017-11-22 2017-11-22 H.264/AVC video format compatible encryption method based on CABAC coding

Publications (2)

Publication Number Publication Date
CN107948675A true CN107948675A (en) 2018-04-20
CN107948675B CN107948675B (en) 2020-07-10

Family

ID=61930686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711173982.4A Active CN107948675B (en) 2017-11-22 2017-11-22 H.264/AVC video format compatible encryption method based on CABAC coding

Country Status (1)

Country Link
CN (1) CN107948675B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112601111A (en) * 2020-11-19 2021-04-02 西安诺瓦星云科技股份有限公司 Data processing method and device and data transmission system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006070249A1 (en) * 2004-12-27 2006-07-06 Emitall Surveillance S.A. Efficient scrambling of regions of interest in an image or video to preserve privacy
WO2007015133A2 (en) * 2005-08-01 2007-02-08 Emitall Surveillance S.A. Scrambling for anonymous visual communication
CN103442233A (en) * 2013-08-28 2013-12-11 李秋华 Low-bit-rate H.264 video encryption compression transmission method based on ranking permutation
CN103546750A (en) * 2013-10-22 2014-01-29 中国人民解放军重庆通信学院 H.264 video encryption method based on region of interest
CN103747261A (en) * 2013-12-31 2014-04-23 北京工业大学 Layered perceptual encryption method of H.264 compressed domain based on motion reference structure
CN103826128A (en) * 2014-02-25 2014-05-28 宁波工程学院 Encryption domain H.264/AVC video reversible data hiding method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006070249A1 (en) * 2004-12-27 2006-07-06 Emitall Surveillance S.A. Efficient scrambling of regions of interest in an image or video to preserve privacy
WO2007015133A2 (en) * 2005-08-01 2007-02-08 Emitall Surveillance S.A. Scrambling for anonymous visual communication
CN103442233A (en) * 2013-08-28 2013-12-11 李秋华 Low-bit-rate H.264 video encryption compression transmission method based on ranking permutation
CN103546750A (en) * 2013-10-22 2014-01-29 中国人民解放军重庆通信学院 H.264 video encryption method based on region of interest
CN103747261A (en) * 2013-12-31 2014-04-23 北京工业大学 Layered perceptual encryption method of H.264 compressed domain based on motion reference structure
CN103826128A (en) * 2014-02-25 2014-05-28 宁波工程学院 Encryption domain H.264/AVC video reversible data hiding method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张国超: "基于参数自适应的加密域图像压缩方法研究", 《中国优秀硕士学位论文全文数据库信息科技辑,2014年第3期》 *
梁小萍等: "隐写分析——原理、现状与展望", 《中山大学学报(自然科学版)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112601111A (en) * 2020-11-19 2021-04-02 西安诺瓦星云科技股份有限公司 Data processing method and device and data transmission system
CN112601111B (en) * 2020-11-19 2023-03-14 西安诺瓦星云科技股份有限公司 Data processing method and device and data transmission system

Also Published As

Publication number Publication date
CN107948675B (en) 2020-07-10

Similar Documents

Publication Publication Date Title
Xu et al. Separable and error-free reversible data hiding in encrypted images
Zhang Commutative reversible data hiding and encryption
CN111917558B (en) Video frame data double-authentication and hierarchical encryption method based on block chain
CN107911715A (en) A kind of H.264/AVC video format compatible encryption method based on CAVLC codings
Singh et al. Toward encrypted video tampering detection and localization based on POB number system over cloud
CN108322750B (en) Encrypted domain HEVC video data hiding method based on residual coefficient modulation
Ma et al. Lossless ROI privacy protection of H. 264/AVC compressed surveillance videos
CN107948655B (en) H.264/AVC encrypted video steganography method based on CABAC
CN102088611B (en) H.264 standard motion vector-based method for embedding and extracting fragile watermark
CN101207793A (en) Copyright protection method multimedia data contents implementing encryption and watermark interoperation
CN107948675A (en) A kind of H.264/AVC video format compatible encryption method based on CABAC codings
Saadi et al. H. 264/AVC video authentication based video content
Yu et al. Reversible data hiding with pixel prediction and additive homomorphism for encrypted image
Xu et al. Two-dimensional histogram modification for reversible data hiding in partially encrypted H. 264/AVC videos
Prabhakaran et al. A new cryptic steganographic approach using video steganography
Bahirat et al. Overview of secure data transmission using Steganography
Hussein et al. Protection of images by combination of vernam stream cipher, AES, and LSB steganography in a video clip
Vaish et al. A systematic review on various reversible data hiding techniques in digital images
Patil et al. A secure data communication system using enhanced cryptography and steganography
Lee et al. Steganographic access control in data hiding using run‐length encoding and modulo‐operations
Abdelmged et al. A Combined approach of steganography and cryptography technique based on parity checker and huffman encoding
Hua et al. Secure reversible data hiding in encrypted images using cipher-feedback secret sharing
CN109495670A (en) A kind of format compatible encipher-decipher method of colour jpeg image
Li et al. On the security of an MPEG-video encryption scheme based on secret Huffman tables
KS File Encryption using Noise Images as Key

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