KR20070072297A - Method for encryption and decryption video and apparatus thereof - Google Patents

Method for encryption and decryption video and apparatus thereof Download PDF

Info

Publication number
KR20070072297A
KR20070072297A KR1020060017982A KR20060017982A KR20070072297A KR 20070072297 A KR20070072297 A KR 20070072297A KR 1020060017982 A KR1020060017982 A KR 1020060017982A KR 20060017982 A KR20060017982 A KR 20060017982A KR 20070072297 A KR20070072297 A KR 20070072297A
Authority
KR
South Korea
Prior art keywords
video
frame
public key
intra
intra frame
Prior art date
Application number
KR1020060017982A
Other languages
Korean (ko)
Other versions
KR100764246B1 (en
Inventor
고성제
Original Assignee
고려대학교 산학협력단
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 고려대학교 산학협력단 filed Critical 고려대학교 산학협력단
Publication of KR20070072297A publication Critical patent/KR20070072297A/en
Application granted granted Critical
Publication of KR100764246B1 publication Critical patent/KR100764246B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/625Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using discrete cosine transform [DCT]
    • 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
    • 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/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/63Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Discrete Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

A video encoding method, a video decoding method, and a video encoding apparatus are provided to improve compression efficiency without affecting compressed original video data and reduce errors generated when video data is transmitted and stored. A video encoding method includes a step of encoding an intra-frame of video data by using a predetermined method(210), and a step of adding a weight according to a predetermined public key to a motion vector generated by estimating the motion of an inter-frame of the video data to encode the inter-frame(220). The video encoding method further includes a step of compressing the encoded video data.

Description

비디오 암호화 방법, 비디오 복호화 방법 및 그 장치{Method for encryption and decryption video and Apparatus thereof}Video encryption method, video decryption method and apparatus therefor {Method for encryption and decryption video and Apparatus}

도 1 은 비디오의 프레임 구조를 도시한 것이다.1 illustrates a frame structure of a video.

도 2 는 본 발명에 따른 비디오 암호화 방법에 따른 흐름도이다.2 is a flowchart illustrating a video encryption method according to the present invention.

도 3 은 본 발명에 따른 비디오 복호화 방법에 따른 흐름도이다.3 is a flowchart illustrating a video decoding method according to the present invention.

도 4 는 도 2의 상세흐름도이다.4 is a detailed flowchart of FIG. 2.

도 5 는 본 발명에 적용되는 이산시간 웨이브릿 변환 과정을 도시한 것이다.5 shows a discrete time wavelet transform process applied to the present invention.

도 6 은 본 발명에 따른 비디오 암호화 장치의 블록도이다.6 is a block diagram of a video encryption apparatus according to the present invention.

도 7 은 본 발명에 따른 비디오 복호화 장치의 블록도이다.7 is a block diagram of a video decoding apparatus according to the present invention.

도 8a 는 도 6에 따른 인트라 암호화부에 포함되는 AC/DC 계수 암호화부를 도시한 것이다.FIG. 8A illustrates an AC / DC coefficient encryption unit included in the intra encryption unit according to FIG. 6.

도 8b 는 도 6에 따른 인터 암호화부에 포함되는 벡터 암호화부를 도시한 것이다.FIG. 8B illustrates a vector encryption unit included in the inter encryption unit according to FIG. 6.

도 9a 는 도 7에 따른 인트라 복호화부에 포함되는 AC/DC 계수 복호화부를 도시한 것이다.FIG. 9A illustrates an AC / DC coefficient decoder included in the intra decoder according to FIG. 7.

도 9b 는 도 7에 따른 인터 복호화부에 포함되는 벡터 복호화부를 도시한 것이다.FIG. 9B illustrates a vector decoder included in the inter decoder of FIG. 7.

본 발명은 영상처리에 관한 것으로서, 특히 비디오 암호화 방법, 비디오 복호화 방법 및 그 장치에 관한 것이다.The present invention relates to image processing, and more particularly, to a video encryption method, a video decryption method and an apparatus thereof.

MPEG-4와 같은 동화상 압축기술과 유무선 인터넷 기술의 급격한 발전으로 인하여 디지털 비디오 라이브러리 및 주문형 비디오 서비스와 같은 멀티미디어 스트리밍 서비스가 많이 보급되고 있다. 이러한 서비스의 제공으로 인하여 많은 사람들이 편리하고 손쉽게 다양한 디지털 콘텐츠들을 접할 수 있게 된 것은 사실이나, 무제한적인 복사가 가능한 멀티미디어 자원들의 속성으로 인하여 정당한 사용권한 없는 자들에 의한 불법적 사용이 증가하는 것도 사실이다. 이러한 디지털 컨텐츠들의 불법적인 사용이 증가하는 경우 저작물의 건전한 유통질서가 심하게 훼손됨은 물론 디지털 컨텐츠를 창작한 저작권자는 회복할 수 없는 경제적인 손실을 입게 된다.Due to the rapid development of moving picture compression technology such as MPEG-4 and wired and wireless Internet technology, multimedia streaming services such as digital video library and video on demand service are widely used. It is true that the provision of such services makes it possible for many people to access various digital contents conveniently and easily, but it is also true that illegal use by those without proper permission is increased due to the nature of multimedia resources that can be copied without restriction. . If the illegal use of such digital content increases, the sound distribution order of the work is severely damaged, and the copyright holder who created the digital content suffers an irreversible economic loss.

다양한 멀티미디어 콘텐츠 부호화 방법 중에서도 MPEG는 디지털 멀티미디어 방송, 비디오 스트리밍, 멀티미디어 데이터 저장 등의 비디오 처리에 대한 사실상의 국제표준으로 자리잡아 가장 널리 사용되고 있다. 그러나 MPEG 부호화의 본질적 특징 중 하나인 영상이 시간적, 공간적으로 연관되어 있다는 점으로 인하여, 암호화를 적용하는 것은 쉽지가 않다.Among various multimedia content encoding methods, MPEG is widely used as the de facto international standard for video processing such as digital multimedia broadcasting, video streaming, and multimedia data storage. However, it is not easy to apply encryption due to the fact that video, which is one of the essential features of MPEG encoding, is temporally and spatially related.

종래의 MPEG-4에서의 암호화 방법은 DES를 이용하여 암호화 하는 방법이나 MPEG-4 영상 프레임에서의 암호화 방법이 많이 사용되고 있다. DES를 이용한 암호 화는 MPEG-4 비트 스트림의 일부분 혹은 전체비트를 암호화 하는 방법으로 MPEG-4 영상 압축 후 비트스트림을 이용한다. 이 방법은 MPEG-4 고유의 특성을 이용한 것은 아니다. DES를 이용한 암호화 과정은 MPEG-4의 복호화 과정과 더불어 과도한 계산량으로 서버에 큰 부담을 줄 수 있는 원인이 되는 과도한 비트의 초과로 인하여 압축효율이 저하되고, 암호화 성능이 저하된다.In the conventional MPEG-4 encryption method, an encryption method using DES and an encryption method in MPEG-4 video frames are widely used. Encryption using DES uses a bitstream after MPEG-4 image compression as a method of encrypting a part or all bits of an MPEG-4 bit stream. This method does not take advantage of the inherent characteristics of MPEG-4. In addition to the decoding process of MPEG-4, the encryption process using the DES causes the compression efficiency and the encryption performance to be degraded due to the excessive bit excess, which causes a large burden on the server due to excessive computation.

그리고, 정지영상에서의 I-프레임에서의 암호화 방법은 영상 데이터의 픽셀 도메인에서 직접적인 셔플링이나 암호화를 시도하고 있다. The encryption method in the I-frame in the still image attempts to shuffle or encrypt directly in the pixel domain of the image data.

그러나, 종래의 비디오 암호화 방법은 이런 영상을 직접적으로 암호화 하면서 원 영상 신호를 변형시켜 영상 압축시 압축된 데이터에 영향을 미치게 되므로 압축효율이 저하되고, 온라인 상에서 컨텐츠의 전송간 오류를 발생시켜 암호화 성능이 저하된다는 문제점이 있다.However, in the conventional video encryption method, the original video signal is modified while directly encrypting the video, thereby affecting the compressed data during video compression, thereby reducing the compression efficiency and generating an error between transmissions of contents online. There is a problem that this is lowered.

따라서 본 발명이 이루고자 하는 기술적 과제는 MPEG-4에서 화면내 정보의 암호화와 화면간 정보의 암호화를 통하여 암호화 과정 간 발생할 수 있는 압축비트열의 초과를 최소화하여 압축된 원 영상 데이터에 영향을 주지않고 압축효율을 증가시키고, 매체 간 전송이나 저장시 발생할 수 있는 오류를 줄여 높은 수준의 보안성을 제공하는 것이다.Therefore, the technical problem to be achieved by the present invention is to minimize the compression bit sequence that can occur between the encryption process through the encryption of the screen information and the information between the screen in MPEG-4 compression without affecting the compressed original image data To increase the efficiency and to reduce the errors that can occur during transmission or storage between media to provide a high level of security.

상기 기술적 과제를 해결하기 위한 본 발명에 의한 비디오 암호화 방법은, 비디오의 인트라 프레임을 소정의 방법을 적용하여 암호화하는 단계; 및 상기 비디 오의 인터 프레임의 움직임을 예측하여 생성한 움직임 벡터에 미리 설정된 공개키에 따른 가중치를 가하여 상기 인터 프레임을 암호화하는 단계를 포함하는 것을 특징으로 한다. 상기 본 발명에 의한 비디오 암호화 방법은, 상기 암호화된 비디오를 압축하는 단계를 더 포함하는 하는 것이 바람직하다.According to an aspect of the present invention, there is provided a video encryption method comprising: encrypting an intra frame of a video by applying a predetermined method; And encrypting the inter frame by applying a weight according to a predetermined public key to a motion vector generated by predicting the motion of the inter frame of the video. The video encryption method according to the present invention preferably further comprises the step of compressing the encrypted video.

상기 기술적 과제를 해결하기 위한 본 발명에 의한 비디오 복호화 방법은, 암호화된 비디오의 인트라 프레임을 소정의 방법을 적용하여 복호화하는 단계; 및 상기 암호화된 비디오의 인터 프레임의 움직임을 예측하여 생성된 움직임 벡터에 미리 설정된 공개키에 따른 경감치를 가하여 상기 인트라 프레임을 복호화하는 단계를 포함하는 것을 특징으로 한다. 상기 본 발명에 의한 비디오 복호화 방법은, 상기 암호화된 비디오를 압축해제하는 단계를 더 포함하는 것이 바람직하다.According to another aspect of the present invention, there is provided a video decoding method comprising: decrypting an intra frame of an encrypted video by applying a predetermined method; And decoding the intra frame by applying a reduction value according to a preset public key to a motion vector generated by predicting the motion of the inter frame of the encrypted video. The video decoding method according to the present invention preferably further comprises the step of decompressing the encrypted video.

상기 기술적 과제를 해결하기 위한 본 발명에 의한 비디오 암호화 장치는, 비디오의 인트라 프레임을 이산 여현 변환하고, 상기 변환된 인트라 프레임을 미리 설정된 공개키에 의해 DC계수 부호와 AC계수 부호를 변환하여 상기 인트라 프레임을 암호화하는 인트라 암호화부; 및 상기 비디오의 인터 프레임의 움직임을 예측하여 생성한 움직임 벡터에 미리 설정된 공개키에 따른 가중치를 가하여 상기 인터 프레임을 암호화하는 인터 암호화부를 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided a video encryption apparatus for discrete cosine transforming an intra frame of a video, and converting the intra frame by converting a DC coefficient code and an AC coefficient code using a preset public key. An intra encryption unit for encrypting a frame; And an inter encryption unit configured to encrypt the inter frame by applying a weight according to a predetermined public key to a motion vector generated by predicting the motion of the inter frame of the video.

본 발명에서는 비디오의 MPEG-4에서 이산 여현 변환 계수와 움직임 벡터를 사용한 이중 암호화 방법을 제안한다. 화면내의 인트라 프레임 정보의 암호화와 화면간의 인터 프레임 정보의 암호화를 동시에 적용함으로써, 영상을 왜곡시켜 비인가 사용자나 장치에서의 사용을 막고 사용자만 알 수 있는 테이블화된 키값을 통한 암호화로 보안성을 높인다. 그리고 또한 암호화 과정 간 발생할 수 있는 압축 비트스트림의 초과를 최소화하여 압축된 원 영상 데이터에 영향을 주지 않고 매체 간 전송이나 저장시 발생할 수 있는 에러를 줄인다.The present invention proposes a double encryption method using discrete cosine transform coefficients and motion vectors in MPEG-4 of video. By applying intra frame information encryption and inter frame information encryption between screens at the same time, the image is distorted to prevent unauthorized users or devices from using it. . Also, by minimizing the excess compression bitstream that may occur during the encryption process, an error that may occur during transmission or storage between media is reduced without affecting the compressed original image data.

이하, 첨부된 도면들을 참조하여 본 발명에 따른 비디오 암호화 방법, 비디오 복호화 방법 및 그 장치에 대해 상세히 설명한다.Hereinafter, a video encryption method, a video decryption method, and an apparatus thereof according to the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 비디오의 프레임 구조를 도시한 것이다. 비디오는 도 1에서 도시하고 있는 바와 같이 연속적인 스트림 구조를 가진다. 각각의 개별적인 인트라 프레임(100,101)은 데이타 스트림의 어느 위치에도 올 수 있으며, 데이타의 임의 접근을 위해 사용되며, 다른 이미지들의 참조 없이 부호화된다. 인트라 프레임(100,101)은 MPEG에서는 실시간으로 압축이 이루어진다. 인트라 프레임(100,101)은 매크로 블럭(미도시)내에서 지정된 8×8 블럭으로 나눈 후, 이산 여현 변환(DCT) 방법을 사용한 후, DC계수와 AC계수로 부호화되는데, 연속한 블럭 사이의 차이값을 계산한 후 가변 길이 코딩을 사용하여 변환한다. 그리고 연속된 제 1 인트라 프레임(100)과 제 2 인트라 프레임(101)간의 정보를 담고 있는 인터 프레임(102)은 본 발명에서 연속된 프레임 간의 정보를 바탕으로 벡터화 하여 벡터에 암호화를 하게 된다.1 illustrates a frame structure of a video. The video has a continuous stream structure as shown in FIG. Each individual intra frame 100, 101 can come anywhere in the data stream and is used for random access of the data and encoded without reference to other images. Intra frames 100 and 101 are compressed in real time in MPEG. The intra frames 100 and 101 are divided into 8 × 8 blocks designated in a macroblock (not shown), and then encoded using a DC coefficient and an AC coefficient after using a discrete cosine transform (DCT) method. Calculate and transform using variable length coding. The inter frame 102 containing the information between the continuous first intra frame 100 and the second intra frame 101 is vectorized based on the information between the consecutive frames to encrypt the vector.

암호키Encryption key 인트라 프레임Intra frame 인터 프레임Inter frame 00 DC' = -DCDC '= -DC MV = MV + ΔαMV = MV + Δα 1One AC' = -ACAC '= -AC MV' = -MVMV '= -MV ...... ...... ...... ii DCT DCT 움직임 벡터 변환Motion vector conversion

표 1에서 i는 암호화시킬 매크로 블록의 개수이며 화면 내 블록의 개수에 한정된다. 암호키는 서비스 제공자에 의해 생성될 수 있으며, 최장 64비트의 암호키가 구성가능하다. 암호키에 따라 매크로 블록의 이산 여현 변환 계수와 움직임 벡터 암호의 방법이 달라지게 되므로 서로 다른 암호키로 비인가 접속이 불가해진다.In Table 1, i is the number of macro blocks to be encrypted and is limited to the number of blocks in the screen. The cryptographic key can be generated by the service provider, and up to 64 bits of cryptographic key can be configured. Since the cipher key changes the method of discrete cosine transform coefficients of the macroblock and the motion vector cipher, unauthorized access is impossible with different encryption keys.

도 2 는 본 발명에 따른 비디오 암호화 방법에 따른 흐름도이다.2 is a flowchart illustrating a video encryption method according to the present invention.

우선, 암호화 하려는 영상을 입력한다(200 과정).First, input an image to be encrypted (step 200).

입력된 영상으로부터 인트라 프레임 암호화를 한다(210 과정). 이는 비디오 암호화 방법으로 이산 여현 변환 계수의 부호변화를 이용한 방법이다. 이는 영상을 효과적으로 왜곡시킬 뿐만 아니라 화면내의 영상의 왜곡이 화면간의 영상의 왜곡으로 전이되는 에러 전파를 일으킨다. 본 발명에서는 임의의 매크로 블록에 대한 이산 여현 변환 계수를 DC 계수와 AC계수로 구분하여 부호를 변환시킨다. 인트라 프레임의 이산 여현 변환 계수는 공개키에 의해 암호화 되는데, 인트라 프레임의 DC 계수와 AC 계수는 각각의 부호변환 만으로도 충분한 영상왜곡을 일으킨다. 따라서, 비인가자는 정상적인 암호해독을 하지 않는한 정상적인 영상을 볼 수 없다.Intra frame encryption is performed from the input image (step 210). This is a video encryption method using the code change of the discrete cosine transform coefficients. This not only effectively distorts the image but also causes error propagation in which the distortion of the image in the screen is transferred to the distortion of the image between the screens. In the present invention, the discrete cosine transform coefficient for an arbitrary macroblock is divided into a DC coefficient and an AC coefficient to convert a sign. The discrete cosine transform coefficients of the intra frame are encrypted by the public key. The DC coefficient and the AC coefficient of the intra frame cause sufficient image distortion with each code conversion alone. Therefore, the unauthorized person cannot see the normal video unless normal decryption is performed.

본 발명은 인트라 프레임을 암호화 한 후 인터 프레임을 암호화 한다(220 과정). 인터 프레임을 암호화 하기 위해 입력된 영상의 프레임간의 움직임을 예측하고 그에 따라 움직임 벡터를 생성한다. 생성된 움직임 벡터를 암호화 하기 위해 생성된 움직임 벡터의

Figure 112006013500032-PAT00001
(수직값),
Figure 112006013500032-PAT00002
(수평값)를 변형함으로써 벡터의 각도를 변형시키거나 벡터의 부호를 변환하여 벡터의 방향을 반대로 전환시킨다. 이 방법은 P-프레임이나 B-프레임의 모든 움직임 벡터를 변형시킬 필요는 없다. MPEG-4 비디오에서는 움직임 보상과 예측방법을 사용하기 때문에 전 프레임의 임의의 매크로 블록에 대해 움직임 벡터를 변환할 경우 에러의 확산을 일으켜 영상의 왜곡을 일으킬 수 있다. 움직임 벡터의 위상각도 변화는 다음과 같다.The present invention encrypts an intra frame after encrypting an intra frame (step 220). In order to encrypt inter frames, motion between frames of an input image is predicted and motion vectors are generated accordingly. Of the generated motion vector to encrypt the generated motion vector
Figure 112006013500032-PAT00001
(Vertical value),
Figure 112006013500032-PAT00002
By modifying the (horizontal value), the angle of the vector is transformed or the sign of the vector is transformed to reverse the direction of the vector. This method does not need to transform all the motion vectors of the P-frame or B-frame. Since MPEG-4 video uses motion compensation and prediction methods, when motion vectors are transformed for arbitrary macro blocks of all frames, error may be spread and distortion of the image may occur. The phase angle change of the motion vector is as follows.

Figure 112006013500032-PAT00003
Figure 112006013500032-PAT00003

i번째 매크로 블록의 움직임 벡터의 수직값을

Figure 112006013500032-PAT00004
, 수평값을
Figure 112006013500032-PAT00005
라고 했을때,
Figure 112006013500032-PAT00006
는 움직임 벡터의 위상 각도이다. 그리고
Figure 112006013500032-PAT00007
는 매크로블록의 수이고,
Figure 112006013500032-PAT00008
는 매크로블록의 인덱스를 가르킨다. 이때
Figure 112006013500032-PAT00009
는 한계치
Figure 112006013500032-PAT00010
를 초과하는 각도를 가진다.The vertical value of the motion vector of the i macro block
Figure 112006013500032-PAT00004
, The horizontal value
Figure 112006013500032-PAT00005
When I say
Figure 112006013500032-PAT00006
Is the phase angle of the motion vector. And
Figure 112006013500032-PAT00007
Is the number of macroblocks,
Figure 112006013500032-PAT00008
Points to the index of the macroblock. At this time
Figure 112006013500032-PAT00009
Is the threshold
Figure 112006013500032-PAT00010
Has an angle exceeding

Figure 112006013500032-PAT00011
Figure 112006013500032-PAT00011

공개키에 따라 움직임 벡터의 수직값이

Figure 112006013500032-PAT00012
, 수평값이
Figure 112006013500032-PAT00013
로 변화하면, 위상각도는 다음과 같이 변화한다.According to the public key, the vertical value of the motion vector
Figure 112006013500032-PAT00012
, The horizontal value
Figure 112006013500032-PAT00013
The phase angle changes as follows.

Figure 112006013500032-PAT00014
Figure 112006013500032-PAT00014

움직임 벡터에서 수직값 혹은 수평값의 변화는 암호화 시킬 서비스 제공자가 결정할 수 있다. 움직임 벡터의 방향 전환은 다음과 같다.The change in vertical or horizontal values in the motion vector can be determined by the service provider to be encrypted. The direction change of the motion vector is as follows.

Figure 112006013500032-PAT00015
Figure 112006013500032-PAT00015

움직임 벡터 암호화에서 벡터의 위상각도 변환 혹은 방향의 변환은 공개키에 의해 결정된다. 공개키에 따라 각각의 매크로 블록에 대한 움직임 벡터 암호 방법이 달라지며 서비스 제공자에 따라 영상을 암호화할 수 있다. In motion vector encryption, the phase angle transformation or direction transformation of a vector is determined by a public key. The motion vector encryption method for each macro block varies according to the public key, and an image may be encrypted according to a service provider.

도 3 은 본 발명에 따른 비디오 복호화 방법에 따른 흐름도이다. 3 is a flowchart illustrating a video decoding method according to the present invention.

암호화된 영상의 비트스트림을 입력한다(300 과정). 이 비트스트림은 MPEG-4 형식의 압축된 형태의 비트스트림이다.The bitstream of the encrypted video is input (step 300). This bitstream is a compressed bitstream in MPEG-4 format.

압축해제한 후, 인트라 프레임을 복호화 한다(310 과정). 암호화된 인트라 프레임은 공개키에 따라서 복호화하게 된다.After decompression, the intra frame is decoded (step 310). The encrypted intra frame is decrypted according to the public key.

인트라 프레임을 복호화한 후, 인터 프레임을 복호화한다(320 과정). 암호화 방법으로 왜곡된 영상은 인가자에 의한 공개키에 의해 복호화 하여 출력하게 된다.After the intra frame is decoded, the inter frame is decoded (step 320). The image distorted by the encryption method is decrypted by the public key and then output.

도 4 는 도 2의 상세흐름도이다.4 is a detailed flowchart of FIG. 2.

우선 암호화하고자 하는 영상을 입력한다(400 과정).First, the image to be encrypted is input (step 400).

입력된 영상으로부터 인트라 프레임 내의 모든 매크로블록에 대해서 영상신호를 이산 여현 변환한다(410 과정). 인트라 프레임은 이산 여현 변환을 거쳐 AC 주파수 성분과 DC주파수 성분으로 변환된다.The video signal is discrete cosine-converted for all macroblocks in the intra frame from the input video (step 410). The intra frame is converted into an AC frequency component and a DC frequency component through a discrete cosine transform.

미리 설정된 공개키로부터, AC 계수와 DC 계수를 암호화 한다(411 과정). 영상을 이산 여현 변환하여 생성한 AC 계수와 DC 계수는 미리 정해진 공개키로부터의 각각의 부호 전환만으로도 충분한 영상왜곡을 일으킨다. 따라서, 비인가자는 정상적인 암호해독을 하지 않는한 정상적인 영상을 볼 수 없다.The AC coefficient and the DC coefficient are encrypted from the preset public key (step 411). The AC and DC coefficients generated by the discrete cosine transform of the image generate sufficient image distortion with each code conversion from a predetermined public key. Therefore, the unauthorized person cannot see the normal video unless normal decryption is performed.

인트라 프레임을 암호화한 후, 인접한 양 인트라 프레임간의 인터 프레임을 암호화한다. 본 발명은 인트라 프레임과 인터 프레임을 동시에 암호화함으로써, 압축효율을 증가시키고, 오류를 줄여 높은 수준의 보안성을 제공한다.After encrypting the intra frame, the inter frame between both adjacent intra frames is encrypted. The present invention encrypts intra frames and inter frames simultaneously, thereby increasing compression efficiency and reducing errors to provide a high level of security.

인터 프레임을 암호화하기 위해서, 우선 인터 프레임의 움직임을 예측한다(420 과정). 이전 인트라 프레임과 다음 인트라 프레임을 참조하여 인터 프레임의 움직임을 예측하고, 이로부터 움직임 벡터를 생성한다.In order to encrypt the inter frame, first, a motion of the inter frame is predicted (step 420). The motion of the inter frame is predicted by referring to the previous intra frame and the next intra frame, and a motion vector is generated therefrom.

움직임 벡터를 생성하고, 미리 설정된 공개키로부터 움직임 벡터를 암호화한다(421 과정). 이는 움직임 벡터의 수직값과, 수평값을 변형함으로써 벡터의 각도를 변형시키거나, 벡터의 부호를 바꿔 벡터 방향을 반대로 변형시킨다. 이 방법은 P-프레임이나 B-프레임의 모든 움직임 벡터를 변환시킴 없이, 인접한 프레임간의 임의의 매크로 블록에 대해 움직임 벡터를 변환하여 에러의 확산을 일으켜 영상을 왜곡시킨다.The motion vector is generated, and the motion vector is encrypted from the preset public key (step 421). This modifies the angle of the vector by modifying the vertical and horizontal values of the motion vector, or reverses the direction of the vector by changing the sign of the vector. This method distorts the image by transforming the motion vector for any macroblock between adjacent frames without converting all motion vectors of the P-frame or B-frame.

인터 프레임을 암호화한 후, 비디오 프레임을 압축한다(430 과정). After encrypting the inter frame, the video frame is compressed (430).

암호화된 프레임은 압축되어, 압축된 MPEG-4 비트열을 생성하게 된다.The encrypted frame is compressed, producing a compressed MPEG-4 bit stream.

마지막으로 암호화된 MPEG-4 비트열을 출력한다(440 과정). 공개키에 의해 인트라 프레임과 인터 프레임을 암호화하여, 압축한 과정을 거친 후 MPEG-4 비트열을 외부 클라이언트에 전송하게 된다.Finally, the encrypted MPEG-4 bit string is output (step 440). The intra frame and the inter frame are encrypted by the public key, compressed, and then transmitted to the external client.

도 5 는 본 발명에 적용되는 이산시간 웨이브릿 변환 과정을 도시한 것이다.5 shows a discrete time wavelet transform process applied to the present invention.

비디오의 인트라 프레임을 암호화하기 위해 웨이브릿 트리 셔플링을 적용한다. 영상을 4-레벨(Level)로 분할하여 13개의 서브 밴드(sub-band)를 형성한다. 웨이브릿 계수들은 에너지를 거의 가지지 않는 고주파 성분의 값을 가지는 것(

Figure 112006013500032-PAT00016
,
Figure 112006013500032-PAT00017
,
Figure 112006013500032-PAT00018
)들을 제외한 웨이브릿 트리를 포함하여 그룹화되어 있다. Apply wavelet tree shuffling to encrypt the intra frame of the video. The image is divided into four levels to form thirteen sub-bands. Wavelet coefficients are values of high frequency components that have little energy.
Figure 112006013500032-PAT00016
,
Figure 112006013500032-PAT00017
,
Figure 112006013500032-PAT00018
Are grouped together, including the wavelet tree except).

4-레벨(Level) 변환후, 웨이브릿 트리들을 형성한 것들은 서브 밴드

Figure 112006013500032-PAT00019
,
Figure 112006013500032-PAT00020
, 그리고
Figure 112006013500032-PAT00021
의 값을 이용한다. 따라서, 트리들의 수는
Figure 112006013500032-PAT00022
,
Figure 112006013500032-PAT00023
, 그리고
Figure 112006013500032-PAT00024
에 존재하는 값들의 총 갯수와 같으므로 3×22 = 12개의 총 트리가 생성된다. 이 웨이브릿 트리는 미리 정해진 공개키에 의해 셔플링되어 암호화되게 된다.After 4-level conversion, the wavelet trees are subbanded
Figure 112006013500032-PAT00019
,
Figure 112006013500032-PAT00020
, And
Figure 112006013500032-PAT00021
Use the value of. Thus, the number of trees
Figure 112006013500032-PAT00022
,
Figure 112006013500032-PAT00023
, And
Figure 112006013500032-PAT00024
This is equal to the total number of values in, so 3 × 2 2 = 12 total trees are generated. This wavelet tree is shuffled by a predetermined public key and encrypted.

도 6 은 본 발명에 따른 비디오 암호화 장치의 블록도이다.6 is a block diagram of a video encryption apparatus according to the present invention.

비디오 암호화 시스템은 인트라 암호화부(600), 인터 암호화부(610), 비디오 압축부(620)로 구성된다.The video encryption system includes an intra encryption unit 600, an inter encryption unit 610, and a video compression unit 620.

우선, 이산 여현 변환부(601)는 입력 비디오 프레임을 이산 여현 변환한다.First, the discrete cosine transform unit 601 performs discrete cosine transform on the input video frame.

AC/DC 계수 생성부(602)는 이산 여현 변환된 입력 비디오 프레임으로 부터 AC/DC 계수를 생성한다. 생성된 계수는 미리 정해진 공개키에 따라 일부는 암호화 되고 나머지는 잔여계수 바이패스부(604)를 통하게 된다.The AC / DC coefficient generator 602 generates AC / DC coefficients from a discrete cosine transformed input video frame. The generated coefficients are partially encrypted according to a predetermined public key and the remaining coefficients are passed through the residual coefficient bypass unit 604.

AC/DC 계수 암호화부(603)는 미리 정해진 공개키에 따라 AC계수와 DC계수 성분을 암호화한다. 영상의 인트라 프레임을 이산 여현 변환하여 생성한 AC 계수와 DC 계수는 공개키로부터 각각의 부호 전환으로도 충분한 영상왜곡을 일으킨다. 따라서, 비인가자는 정상적인 암호해독을 하지 않는한 정상적인 영상을 볼 수 없다.The AC / DC coefficient encryptor 603 encrypts the AC coefficient and the DC coefficient component according to a predetermined public key. The AC coefficient and DC coefficient generated by the discrete cosine transform of the intra frame of the image cause sufficient image distortion even for each code conversion from the public key. Therefore, the unauthorized person cannot see the normal video unless normal decryption is performed.

인트라 암호화부(600)에서 암호화한 후 인터 암호화부(610)는 인터 프레임의 암호화를 실행한다. 즉, 비디오 프레임이 순서적으로 인트라 암호화부에 순서적으로 들어가면 상대적으로 선순위인 프레임이 인트라 암호화를 실행하고 후순위인 프레임이 인트라 암호화를 실행한 후 비디오 압축부에 들어가면서 먼저 암호화된 선순위인 비디오 프레임과 후순위인 프레임이 상호 차분 값을 가지게 되므로 이 값으로부터 인터 암호화를 실행하게 된다.After encryption by the intra encryption unit 600, the inter encryption unit 610 performs the encryption of the inter frame. That is, when video frames sequentially enter the intra encryption unit, relatively higher priority frames perform intra encryption, and lower priority frames perform intra encryption, and then enter the video compression unit. Since subframes have mutually different values, inter encryption is performed from this value.

인터 암호화부(610)에서 움직임 예측부(611)는 인접한 두 프레임으로부터 움직임을 예측한다.In the inter encoder 610, the motion predictor 611 predicts motion from two adjacent frames.

움직임 벡터 생성부(612)는 예측한 움직임으로부터 벡터를 생성한다.The motion vector generator 612 generates a vector from the predicted motion.

벡터 암호화부(613)는 움직임 벡터의 수직값과, 수평값을 변형함으로써 움직임 벡터 생성부(612)에서 생성된 벡터를 벡터의 각도를 변형시키거나, 벡터의 부호를 바꿔 벡터 방향을 반대로 변형시켜 영상을 왜곡시킨다.The vector encryptor 613 transforms the vector generated by the motion vector generator 612 by changing the angle of the vector or reverses the direction of the vector by changing the sign of the vector by modifying the vertical value and the horizontal value of the motion vector. Distort the image.

가산부(615)는 AC/DC 계수 암호화부(603)에서 암호화된 AC/DC 계수와 벡터 암호화부(613)에서 암호화된 벡터 그리고 잔여계수 바이패스부(604)로부터 바이패스된 잔여계수를 합하여 비디오 압축부(620)로 보낸다. The adder 615 adds the AC / DC coefficients encrypted by the AC / DC coefficient encryption unit 603, the vector encrypted by the vector encryption unit 613, and the residual coefficients bypassed from the residual coefficient bypass unit 604. The video is sent to the video compression unit 620.

비디오 압축부(620)는 암호화된 비디오 프레임을 순차적으로 받아들여 영상을 압축하여 MPEG-4 비트스트림으로 출력한다.The video compression unit 620 sequentially receives the encrypted video frame, compresses the image, and outputs the MPEG-4 bitstream.

도 7 은 본 발명에 따른 비디오 복호화 장치의 블록도이다.7 is a block diagram of a video decoding apparatus according to the present invention.

압축해제부(700)는 암호화된 MPEG-4 비트스트림을 압축해제하여 암호화된 영상을 복호화 할 수 있는 형태로 변환한다.The decompressor 700 decompresses the encrypted MPEG-4 bitstream and converts the encrypted image into a form that can be decrypted.

인트라 복호화부(710)는 압축해제된 비트스트림을 미리 정해진 공개키에 따라 복호화한다.The intra decoder 710 decrypts the decompressed bitstream according to a predetermined public key.

인트라 프레임을 복호화한 후, 인터 복호화부(720)는 인터 프레임을 복호화한다. 인터 프레임 암호화 방법으로 왜곡된 영상은 인가자에 의한 공개키에 의해 복호화 되어 출력하게 된다.After decoding the intra frame, the inter decoder 720 decodes the inter frame. The image distorted by the inter frame encryption method is decrypted by the public key and then output.

도 8a 는 도 6에 따른 인트라 암호화부(600)에 포함되는 AC/DC 계수 암호화부(800)를 도시한 것이다.FIG. 8A illustrates an AC / DC coefficient encryption unit 800 included in the intra encryption unit 600 of FIG. 6.

인트라 프레임을 이산 여현 변환 하여 AC 계수와 DC 계수를 생성하고, 생성된 AC 계수와 DC 계수는 AC/DC 계수 암호화부(800)에서 미리 정해진 공개키에 따라 DC 계수의 부호가 전환(801)되고, AC 계수의 부호가 전환(802)되어 인트라 프레임이 암호화 된다(803). AC coefficients and DC coefficients are generated by performing discrete cosine transform on the intra frame, and the generated AC coefficients and DC coefficients are converted into codes of the DC coefficients according to a public key predetermined by the AC / DC coefficient encryption unit 800. The code of the AC coefficients is switched 802 and the intra frame is encrypted 803.

도 8b 는 도 6에 따른 인터 암호화부(610)에 포함되는 벡터 암호화부(810)를 도시한 것이다.FIG. 8B illustrates a vector encryptor 810 included in the inter encryptor 610 of FIG. 6.

인터 프레임은 인접한 프레임간의 움직임을 예측하여 움직임 벡터를 생성한다. 벡터 암호화부(810)에서, 미리 정해진 공개키에 따라 움직임 벡터의 수직값에 가중치가 가해지고(811), 움직임 벡터의 수평값에 가중치가 가해져서(812) 인터 프레임이 암호화 되게 된다(813).An inter frame generates a motion vector by predicting a motion between adjacent frames. In the vector encrypting unit 810, the vertical value of the motion vector is weighted according to a predetermined public key (811), and the horizontal value of the motion vector is weighted (812) so that the inter frame is encrypted (813). .

도 9a 는 도 7에 따른 인트라 복호화부(710)에 포함되는 AC/DC 계수 복호화부(900)를 도시한 것이다.FIG. 9A illustrates an AC / DC coefficient decoder 900 included in the intra decoder 710 of FIG. 7.

AC/DC 계수 암호화부(800)에서 암호화된 인트라 프레임은 미리 정해진 공개키에 따라 AC/DC 계수 복호화부(900)에서 다시 DC 계수의 부호가 재변환(901)되고, AC 계수의 부호가 재변환(902)되어 인트라 프레임이 복호화된다(903).The intra frame encrypted by the AC / DC coefficient encryption unit 800 is reconverted (901) by the AC / DC coefficient decryption unit 900 again according to a predetermined public key, and the code of the AC coefficient is reconstructed. A transform 902 is performed to decode an intra frame (903).

도 9b 는 도 7에 따른 인터 복호화부(720)에 포함되는 벡터 복호화부(910)를 도시한 것이다.FIG. 9B illustrates a vector decoder 910 included in the inter decoder 720 of FIG. 7.

암호화된 인터 프레임은 미리 정해진 공개키에 따라 다시 벡터 복호화부(910)에서 미리 정해진 공개키에 따라 벡터 암호화부(810)에서 가중치를 가한 값과 동일한 값을 감산하게 된다. 이 값을 감산치라고 정의한다. 즉 공개키에 따라 움직임 벡터의 수직값에 감산치가 가하게 되고(911), 움직임 벡터의 수평값에 감산치가 가하게 되어(912) 인트라 프레임이 복호화된다(913).The encrypted interframe subtracts a value equal to a value weighted by the vector encrypting unit 810 according to the predetermined public key in accordance with the predetermined public key. This value is defined as a subtraction value. That is, a subtracted value is added to the vertical value of the motion vector according to the public key (911), and a subtracted value is added to the horizontal value of the motion vector (912), and the intra frame is decoded (913).

암호화 방법Encryption method 압축시간(time ratio)Time ratio 비트 증가율(%)Bit growth rate (%) 정상 압축Normal compression 1One 00 DC계수 부호 변환DC coefficient code conversion 1One 00 AC계수 부호 변환AC coefficient code conversion 1One 00 움직임 벡터 부호 변환Motion vector code conversion 1One 00 움직임 벡터 각도 변화Motion vector angle change 1.21.2 1.41.4 DC계수 부호 변환 + 움직임 벡터 각도 변화DC coefficient code conversion + motion vector angle change 1.51.5 1.41.4 AC계수 부호 변환 + 움직임 벡터 부호 변환AC coefficient code conversion + motion vector code conversion 0.50.5 1.21.2 본 발명에 따른 방법Method according to the invention 1.91.9 2.22.2

표 2 는 원 영상의 압축과 암호화 과정을 포함한 압축시 압축 시간과 압축률에 대한 비교를 나타낸 것이다. 표 2에서 도시하고 있는 바와 같이 인트라 암호화부(600)와 인터 암호화부(610) 내에서 암호화 후 비트 초과율은 정상 압축시보다 4%이상 초과하지 않는다. 표 2 를 참조하면, 본 발명은 암호화 계산량이 적어 압축 시간에서도 크게 증가하지 않음에 따라 압축에 따른 손실은 적으면서 보안성이 뛰어난 것을 알 수 있다.Table 2 shows the comparison of compression time and compression rate during compression including the compression and encryption of the original image. As shown in Table 2, the bit excess rate after encryption in the intra encryption unit 600 and the inter encryption unit 610 does not exceed 4% or more than during normal compression. Referring to Table 2, it can be seen that the present invention is excellent in security while reducing the loss due to compression as the encryption calculation amount is small and does not increase greatly in compression time.

본 발명은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터(정보 처리 기능을 갖는 장치를 모두 포함한다)가 읽을 수 있는 코드로서 구현하는 것이 가능하다.The present invention can be embodied as code that can be read by a computer (including all devices having an information processing function) in a computer-readable recording medium.

컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 테이터가 저장되는 모든 종류의 기록 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 장치의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광데이터 저장장치 등이 있다.또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 장치에 분산되어 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.The computer-readable recording medium includes all kinds of recording devices in which data is stored which can be read by a computer system. Examples of computer-readable recording devices include ROM, RAM, CD-ROM, magnetic tape, floppy disks, optical data storage devices, and the like. Computer-readable recording media are distributed and distributed over networked computer devices. Computer readable code may be stored and executed in such a manner.

본 발명은 도면에 도시된 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 등록청구범위의 기술적 사항에 의해 정해져야 할 것이다.Although the present invention has been described with reference to the embodiments shown in the drawings, this is merely exemplary, and it will be understood by those skilled in the art that various modifications and equivalent other embodiments are possible. Therefore, the true technical protection scope of the present invention will be defined by the technical details of the appended claims.

상술한 바와 같이, 본 발명에 의하면, 인트라 프레임의 암호화와 인터 프레임의 암호화를 동시에 적용함으로써, 압축된 원 영상 데이터에 영향을 주지 않고 높은 수준의 보안성을 제공하는 효과가 있다.As described above, according to the present invention, by simultaneously applying the encryption of the intra frame and the encryption of the inter frame, there is an effect of providing a high level of security without affecting the compressed original image data.

또한, 암호화 과정 간 발생할 수 있는 압축비트열의 초과를 최소화하여 압축된 원 영상 데이터에 영향을 주지않고 압축효율을 증가시키는 효과가 있다. In addition, there is an effect of increasing the compression efficiency without affecting the compressed original image data by minimizing the excess of the compression bit string that may occur during the encryption process.

Claims (11)

비디오의 인트라 프레임을 소정의 방법을 적용하여 상기 인트라 프레임을 암호화하는 단계; 및 Encrypting the intra frame by applying a predetermined method to the intra frame of the video; And 상기 비디오의 인터 프레임의 움직임을 예측하여 생성한 움직임 벡터에 미리 설정된 공개키에 따른 가중치를 가하여 상기 인터 프레임을 암호화하는 단계를 포함하는 것을 특징으로 하는 비디오 암호화 방법.And encrypting the inter frame by applying a weight according to a predetermined public key to a motion vector generated by predicting the motion of the inter frame of the video. 제 1 항에 있어서,The method of claim 1, 상기 암호화된 인트라 프레임과 상기 암호화된 인터 프레임을 포함하는 비디오를 압축하는 단계를 더 포함하는 것을 특징으로 하는 비디오 암호화 방법.Compressing a video comprising the encrypted intra frame and the encrypted inter frame. 제 1 항에 있어서,The method of claim 1, 상기 소정의 방법을 적용하여 암호화하는 단계는,Encrypting by applying the predetermined method, 상기 인트라 프레임의 소정의 매크로 블록을 이산 여현 변환하는 단계; 및Discrete cosine transforming the predetermined macroblock of the intra frame; And 상기 변환된 인트라 프레임을 상기 미리 설정된 공개키에 의해 DC계수 부호와 AC계수 부호를 변환하여 상기 인트라 프레임을 암호화하는 단계를 포함하는 것을 특징으로 하는 비디오 암호화 방법.And encrypting the intra frame by converting a DC coefficient code and an AC coefficient code using the converted intra frame using the predetermined public key. 제 1 항에 있어서,The method of claim 1, 상기 소정의 방법을 적용하여 암호화하는 단계는,Encrypting by applying the predetermined method, 상기 미리 설정된 공개키에 따른 웨이브릿 트리 셔플링을 적용하는 단계를 포함하는 것을 특징으로 하는 비디오 암호화 방법.And applying wavelet tree shuffling according to the preset public key. 암호화된 비디오의 인트라 프레임을 소정의 방법을 적용하여 복호화하는 단계; 및 Decrypting the intra frame of the encrypted video by applying a predetermined method; And 상기 암호화된 비디오의 인터 프레임의 움직임을 예측하여 생성한 움직임 벡터에 미리 설정된 공개키에 따른 경감치를 가하여 상기 인터 프레임을 복호화하는 단계를 포함하는 것을 특징으로 하는 비디오 복호화 방법.And decoding the inter frame by applying a reduction value according to a preset public key to a motion vector generated by predicting the motion of the inter frame of the encrypted video. 제 5 항에 있어서,The method of claim 5, 상기 암호화된 비디오를 압축해제하는 단계를 더 포함하는 것을 특징으로 하는 비디오 복호화 방법.And decompressing the encrypted video. 제 5 항에 있어서, The method of claim 5, 상기 소정의 방법을 적용하여 복호화하는 단계는,Decoding by applying the predetermined method, 상기 인트라 프레임의 소정의 매크로 블록을 역이산 여현 변환하는 단계; 및Inverse discrete cosine transforming the predetermined macroblock of the intra frame; And 상기 변환된 인트라 프레임을 상기 미리 설정된 공개키에 의해 DC계수 부호와 AC계수 부호를 변환하여 상기 인트라 프레임을 복호화하는 단계를 포함하는 것을 특징으로 하는 비디오 복호화 방법.And converting the transformed intra frame into a DC coefficient code and an AC coefficient code using the preset public key to decode the intra frame. 제 5 항에 있어서,The method of claim 5, 상기 소정의 방법을 적용하여 복호화하는 단계는,Decoding by applying the predetermined method, 상기 미리 설정된 공개키에 따른 웨이브릿 트리 셔플링을 적용하는 단계를 포함하는 것을 특징으로 하는 비디오 복호화 방법.And applying wavelet tree shuffling according to the preset public key. 제 1 항 내지 제 8 항 중 어느 한 항의 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A non-transitory computer-readable recording medium having recorded thereon a program for executing the method of claim 1. 비디오의 인트라 프레임을 이산 여현 변환하고, 상기 변환된 인트라 프레임을 미리 설정된 공개키에 의해 DC계수 부호와 AC계수 부호를 변환하여 상기 인트라 프레임을 암호화하는 인트라 암호화부; 및An intra encryption unit for discrete cosine transforming the intra frame of the video and converting the converted intra frame to a DC coefficient code and an AC coefficient code using a predetermined public key to encrypt the intra frame; And 상기 비디오의 인터 프레임의 움직임을 예측하여 생성한 움직임 벡터에 미리 설정된 공개키에 따른 가중치를 가하여 상기 인터 프레임을 암호화하는 인터 암호화부를 포함하는 것을 특징으로 하는 비디오 암호화 장치.And an inter encryption unit configured to encrypt the inter frame by applying a weight according to a predetermined public key to a motion vector generated by predicting the motion of the inter frame of the video. 제 10 항에 있어서, The method of claim 10, 상기 암호화된 인트라 프레임과 상기 암호화된 인터프레임을 포함하는 비디오를 압축하는 비디오 압축부를 더 포함하는 것을 특징으로 하는 비디오 암호화 장치.And a video compressor for compressing a video including the encrypted intra frame and the encrypted interframe.
KR1020060017982A 2005-12-30 2006-02-24 Method for encryption and decryption video and Apparatus thereof KR100764246B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020050135987 2005-12-30
KR20050135987 2005-12-30

Publications (2)

Publication Number Publication Date
KR20070072297A true KR20070072297A (en) 2007-07-04
KR100764246B1 KR100764246B1 (en) 2007-10-08

Family

ID=38507337

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060017982A KR100764246B1 (en) 2005-12-30 2006-02-24 Method for encryption and decryption video and Apparatus thereof

Country Status (1)

Country Link
KR (1) KR100764246B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800634A (en) * 2020-06-30 2020-10-20 西安万像电子科技有限公司 Image processing method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101602581B1 (en) * 2014-11-27 2016-03-11 한동대학교 산학협력단 Encription method and system for compressed video

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004282687A (en) * 2003-01-23 2004-10-07 Toshiba Corp Encoding apparatus, decoding apparatus, communication system, encoding method and decoding method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800634A (en) * 2020-06-30 2020-10-20 西安万像电子科技有限公司 Image processing method and device

Also Published As

Publication number Publication date
KR100764246B1 (en) 2007-10-08

Similar Documents

Publication Publication Date Title
JP4128941B2 (en) Multimedia data encryption compression method and apparatus
US8503671B2 (en) Method and apparatus for using counter-mode encryption to protect image data in frame buffer of a video compression system
Hartung et al. Watermarking of MPEG-2 encoded video without decoding and reencoding
KR100736080B1 (en) Method and apparatus for managing rights of multi-layered multimedia stream by layer
JP3083507B2 (en) MPEG2 video encoding / decoding system
KR100694137B1 (en) Apparatus for encoding or decoding motion image, method therefor, and recording medium storing a program to implement thereof
JP2000253375A (en) Digital image encryption method, image encryption system and encrypted image decoding system
Xu et al. An improved scheme for data hiding in encrypted H. 264/AVC videos
Xu et al. Tunable data hiding in partially encrypted H. 264/AVC videos
Thiyagarajan et al. Energy-aware encryption for securing video transmission in internet of multimedia things
KR100817021B1 (en) Encoding and decoding apparatus having selective encryption function of H.264/AVC multimedia contents and its method
Park et al. Combined scheme of encryption and watermarking in H. 264/Scalable Video Coding (SVC)
US20120230388A1 (en) Method and system for protecting image data in frame buffers of video compression systems
Algin et al. Scalable video encryption of H. 264 SVC codec
JP2005160084A (en) Apparatus and method for processing video for implementing snr (signal to noise ratio) scalability
KR100764246B1 (en) Method for encryption and decryption video and Apparatus thereof
US7317796B2 (en) System and method for video stream encryption
Kunkelmann et al. Video encryption based on data partitioning and scalable coding—A comparison
CN112565779B (en) Video steganography method based on distortion drift
Hemalatha et al. MP4 video steganography in wavelet domain
JP4654465B2 (en) Image data conversion method
JPH0654325A (en) Picture encipherment transmitting system
KR20090080406A (en) Apparatus and method of processing multimedia data
Rohara et al. Using Codeword Substitution to Hide Data in Encrypted MPEG-4 Videos
Ziabari Video-Steganography in the compressed area

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
G170 Publication of correction
FPAY Annual fee payment

Payment date: 20110615

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20120615

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee