KR101145782B1 - Method for lightweight video contents encryption and decryption to provide mobile contents service - Google Patents

Method for lightweight video contents encryption and decryption to provide mobile contents service Download PDF

Info

Publication number
KR101145782B1
KR101145782B1 KR1020100098842A KR20100098842A KR101145782B1 KR 101145782 B1 KR101145782 B1 KR 101145782B1 KR 1020100098842 A KR1020100098842 A KR 1020100098842A KR 20100098842 A KR20100098842 A KR 20100098842A KR 101145782 B1 KR101145782 B1 KR 101145782B1
Authority
KR
South Korea
Prior art keywords
video content
stream
encryption key
encryption
content
Prior art date
Application number
KR1020100098842A
Other languages
Korean (ko)
Other versions
KR20120037213A (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 경희대학교 산학협력단
Priority to KR1020100098842A priority Critical patent/KR101145782B1/en
Publication of KR20120037213A publication Critical patent/KR20120037213A/en
Application granted granted Critical
Publication of KR101145782B1 publication Critical patent/KR101145782B1/en

Links

Images

Classifications

    • 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
    • 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/188Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a video data packet, e.g. a network abstraction layer [NAL] unit
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4343Extraction or processing of packetized elementary streams [PES]

Landscapes

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

Abstract

본 발명은 경량화된 비디오 컨텐츠 암호화 및 복호화 방법에 관한 것으로, 모바일 컨텐츠 서비스를 제공하는 서비스 제공자 측에서 비디오 컨텐츠 전체를 암호화하는 것이 아니라 비디오 컨텐츠의 일부 요소만을 암호화함으로써, 모바일 컨텐츠 서비스를 모바일 단말 장치로 제공하는 서비스 제공자 측의 스트리밍 서버에서의 암호화 과정 및 모바일 컨텐츠 서비스를 사용하는 사용자 측의 모바일 단말 장치에서 암호화된 비디오 컨텐츠를 복호화하는 과정에서 발생되는 오버헤드 및 소요 시간을 줄일 수 있는, 모바일 컨텐츠 서비스를 제공하기 위한 경량화된 비디오 컨텐츠 암호화 및 복호화 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하고자 한다.
이를 위하여, 본 발명은 비디오 컨텐츠 암호화 방법에 있어서, 비디오 컨텐츠의 전송을 요청받는 단계; 암호화 키 생성기를 이용하여 암호화 수행에 사용할 암호화 키를 생성하는 단계; 상기 요청받은 비디오 컨텐츠를 전송하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 SPS(Sequence Parameter Sets)인 스트림을 검출하는 단계; 및 상기 검출된 스트림 중 SPS의 RBSP(Raw Byte Sequence Payload)를 상기 생성된 암호화 키를 이용하여 암호화하는 암호화 단계를 포함한다.
The present invention relates to a method for encrypting and decrypting video content that is light in weight, and does not encrypt the entire video content at the service provider providing the mobile content service, thereby encrypting only a part of the video content, thereby transferring the mobile content service to the mobile terminal device. A mobile content service that can reduce overhead and time required in encryption process in a streaming server of a service provider to provide and decryption of encrypted video content in a mobile terminal device of a user using a mobile content service. To provide a lightweight video content encryption and decryption method for providing a computer and a computer-readable recording medium recording a program for realizing the method.
To this end, the present invention provides a video content encryption method, comprising: receiving a request for transmission of video content; Generating an encryption key for performing encryption using an encryption key generator; Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Sequence Parameter Sets (SPS) among streams of the video content while transmitting the requested video content; And encrypting a raw byte sequence payload (RBSP) of the detected stream from the detected stream using the generated encryption key.

Description

모바일 컨텐츠 서비스를 제공하기 위한 경량화된 비디오 컨텐츠 암호화 및 복호화 방법{Method for lightweight video contents encryption and decryption to provide mobile contents service}Method for lightweight video contents encryption and decryption to provide mobile contents service}

본 발명은 모바일 컨텐츠 서비스를 제공하기 위한 경량화된 비디오 컨텐츠 암호화 및 복호화 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것으로, 더욱 상세하게는 모바일 단말 장치에서 모바일 컨텐츠 서비스(예 : IPTV 서비스)를 제공하기 위하여, 경량화된 비디오 컨텐츠 암호화 및 복호화 방식을 사용함으로써 불필요한 오버헤드의 발생을 방지하는 한편 그에 따른 암호화 및 복호화 시간을 감소시키기 위한, 경량화된 비디오 컨텐츠 암호화 및 복호화 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.The present invention relates to a lightweight video content encryption and decryption method for providing a mobile content service, and a computer readable recording medium having recorded thereon a program for realizing the method, and more particularly, to a mobile content service in a mobile terminal device. Lightweight video content encryption and decryption method to reduce unnecessary encryption and decryption time while avoiding unnecessary overhead by using a lightweight video content encryption and decryption scheme to provide (eg, IPTV service) And a computer readable recording medium having recorded thereon a program for realizing the method.

이하의 본 발명의 일실시예에서는 모바일 컨텐츠 서비스의 일예로 모바일 단말 장치(Mobile Terminal)에서의 IPTV(Internet Protocol Television) 서비스를 예로 들어 설명하나, 본 발명이 이에 한정되는 것이 아님을 미리 밝혀둔다.In the following exemplary embodiment of the present invention, an IPTV (Internet Protocol Television) service in a mobile terminal is described as an example of a mobile content service. However, the present invention is not limited thereto.

그리고 이하의 본 발명의 일실시예에서는 비디오 컨텐츠의 일예로 IPTV 서비스에서 제공되고 높은 데이터 압축률을 가지고 있는 디지털 비디오 코덱(Digital Video CODEC)의 표준인 MPEG-4 파트 10 또는 H.264/AVC(Advanced Video Coding)로 인코딩된 디지털 비디오 컨텐츠를 예로 들어 설명하나, 본 발명이 이에 한정되는 것이 아님을 미리 밝혀둔다.
In the following embodiment of the present invention, MPEG-4 part 10 or H.264 / AVC (Advanced), which is a standard of a digital video codec provided by an IPTV service and has a high data compression rate, is an example of video content. Digital Coding Content encoded with Video Coding) will be described as an example, but the present invention is not limited thereto.

일반적으로, IPTV 서비스의 요소는 크게 다음의 두 가지 요소로 구분된다. 첫 번째로는 IPTV 서비스를 위한 컨텐츠 제작 및 관리를 하기 위한 서비스 제공자(Service Provider)이며, 두 번째는 상기 서비스 제공자에 의해 IPTV 서비스를 제공받는 서비스 사용자(Service User)이다. 이러한 IPTV 서비스를 위한 네트워크는 기본적으로 서비스 제공자 측의 컨텐츠를 관리하기 위한 컨텐츠 서버(Contents Server), 서비스 제공자가 서비스 사용자를 관리하기 위한 라이센스 서버(License Server), 및 서비스 사용자 측에서 서비스를 제공받기 위해 이용하는 단말 장치(Terminal Device)인 유선형 셋탑박스(STB : Set-Top Box)를 포함한다.In general, the elements of the IPTV service are largely divided into the following two elements. The first is a service provider for producing and managing contents for an IPTV service, and the second is a service user receiving an IPTV service by the service provider. The network for such an IPTV service basically includes a contents server for managing contents at the service provider side, a license server for managing service users at the service provider, and a service at the service user side. It includes a wired set-top box (STB) which is a terminal device used for the purpose.

이러한 IPTV 서비스는 일정 수준의 QoS(Quality of Service), QoE(Quality of Emotion), 보안 등을 제공하는 관리된 IP(Internet Protocol) 기반의 네트워크를 통해 디지털 컨텐츠를 제공하는 서비스 형태로서, 무선 기술 및 이동성 기술이 적용되지 않은 것이다.The IPTV service is a type of service that provides digital contents through a managed Internet Protocol (IP) based network that provides a level of Quality of Service (QoS), Quality of Emotion (QoE), security, and the like. Mobility technology is not applied.

현재까지 IPTV 서비스를 위해 서비스 사용자에게 제공되는 유선형 셋탑박스(STB)는 하드웨어 기반의 단말 장치로서, 한 번 설치되면 그 장소에 고정되는 형태의 단말 장치이다. 이러한 IPTV 서비스에서는 사용자가 고성능의 유선형 셋탑박스(STB)를 소유하기 때문에 단말 장치의 성능에 구애받지 않고 고품질의 서비스를 제공받을 수 있었으며, 주로 IPTV 서비스를 위하여 어떻게 QoS, QoE를 제공할 것인가에 대한 연구가 많이 진행되어 왔다.Until now, a wired set-top box (STB) provided to a service user for an IPTV service is a hardware-based terminal device, which is a terminal device fixed once in a place once installed. In this IPTV service, the user owns a high-performance streamlined set-top box (STB) so that the user can receive high-quality services regardless of the performance of the terminal device, and how to provide QoS and QoE mainly for the IPTV service. There has been much research.

하지만, 최근 들어 IPTV 서비스 분야에서는 무선 기술 및 이동성 기술을 적용한 새로운 형태의 모바일 IPTV(Mobile IPTV) 서비스에 대한 관심이 높아지고 있으며, 그에 따라 기존의 고성능 셋탑박스(STB)에 비해 CPU(Central Processing Unit) 성능, 메모리, 비디오 해상도 등과 같은 리소스가 부족한 모바일 단말 장치(Mobile Terminal)에 IPTV 서비스를 최적화하고자 하는 연구가 많이 진행되고 있다.However, in recent years, in the field of IPTV service, interest in a new type of mobile IPTV (Mobile IPTV) service using wireless technology and mobility technology is increasing, and as a result, compared to a conventional high performance set top box (STB), a CPU (Central Processing Unit) There are many studies to optimize IPTV services for mobile terminals that lack resources such as performance, memory, and video resolution.

이러한 모바일 IPTV를 위한 서비스에서도 컨텐츠 보호를 위한 보안은 중요한 기술 요소이다. 즉, 기존의 유선형 셋탑박스(STB)에 비해 성능이 낮은 모바일 단말 장치에서의 컨텐츠 보호에 대한 기술은 아주 중요하다.In such a service for mobile IPTV, security for content protection is an important technology element. That is, a technology for content protection in a mobile terminal device having low performance compared to a conventional STB is very important.

기존의 유선형 셋탑박스(STB)가 가지는 CPU, 메모리 등의 리소스는 비디오 해상도가 높은 고품질의 IPTV 서비스를 제공하는데 최적화되어 있다. 한편, 모바일 단말 장치에서도 고해상도의 컨텐츠를 저해상도의 컨텐츠로 해상도를 낮춤으로써, IPTV 서비스를 제공할 수 있는 대안은 있다. 하지만, 기존의 디지털 비디오 컨텐츠를 보호하기 위한 암호화 및 복호화 방법은 컨텐츠 전체를 암호화하는 방법(Content Whole Encryption Method) 및 복호화하는 방법을 사용하고 있으며, 이러한 기존의 컨텐츠 전체에 대한 암호화 및 복호화 방법을 모바일 단말 장치에서 IPTV 서비스를 제공하는데 사용하기 위해서는 모바일 단말이 보다 더 좋은 리소스를 제공하여야 하며, 그렇지 않으면 암호화된 컨텐츠를 복호화하는 동안에 오버헤드가 발생되는 문제점이 있다.Resources such as CPU and memory of the existing STBs are optimized to provide high quality IPTV services with high video resolution. Meanwhile, even in a mobile terminal device, there is an alternative that can provide an IPTV service by lowering a high resolution content to a low resolution content. However, the existing encryption and decryption methods for protecting digital video content use a content whole encryption method and a decryption method. In order to use the terminal device to provide an IPTV service, the mobile terminal must provide a better resource, otherwise there is a problem in that overhead occurs while decrypting the encrypted content.

다른 예를 살펴보면, 컨텐츠 서버(Contents Server)로부터만 디지털 컨텐츠를 전달받는 것이 아니라, 사용자가 원하는 컨텐츠를 이미 다운로드받은 다른 사용자의 단말 장치로부터 해당 컨텐츠를 전달받는 방식인 디지털 컨텐츠 재분배 방식을 위해 연구된 사전 암호화 방식(Content Pre-Encryption Method)은 서비스 제공자로부터 컨텐츠를 직접 다운로드받는 방식이 아니라 해당 컨텐츠를 암호화한 암호화 키(Encryption Key)를 구매하는 방식이다.Looking at another example, the study was conducted for the digital content redistribution method, which is a method of receiving digital content only from a content server, but receiving the content from a terminal device of another user who has already downloaded the desired content. The content pre-encryption method is not a method of directly downloading content from a service provider, but a method of purchasing an encryption key that encrypts the content.

이러한 종래의 디지털 컨텐츠 재분배 방식은 컨텐츠의 재분배를 이미 실현하였다는 큰 장점을 가지고 있지만, 이러한 종래의 디지털 컨텐츠 재분배 방식 역시 암호화 키를 이용하여 컨텐츠 전체를 암호화하는 방식을 사용하였기 때문에 모바일 단말 장치에서 해당 컨텐츠를 복호화하는 동안 많은 오버헤드가 발생되는 단점이 있으며, 또한 암호화 키가 노출되면 해당 재분배 컨텐츠에 대한 보호가 불가능하며, 그에 따라 해당 컨텐츠를 가지는 저작자의 권익을 더 이상 보장할 수 없는 문제점이 있다.
The conventional digital content redistribution method has a great advantage that the content redistribution has already been realized. However, the conventional digital content redistribution method also uses the encryption key to encrypt the entire content. There is a disadvantage in that a lot of overhead occurs while decrypting the content, and when the encryption key is exposed, the redistribution content cannot be protected, and thus the rights of the author having the content can no longer be guaranteed. .

따라서 상기와 같은 종래 기술은 전술한 바와 같은 문제점이 있으며, 이러한 문제점을 해결하고자 하는 것이 본 발명의 과제이다.Therefore, the prior art as described above has the same problems as described above, and it is a problem of the present invention to solve these problems.

따라서 본 발명은 모바일 컨텐츠 서비스를 제공하는 서비스 제공자 측에서 비디오 컨텐츠 전체를 암호화하는 것이 아니라 비디오 컨텐츠의 일부 요소만을 암호화함으로써, 모바일 컨텐츠 서비스를 모바일 단말 장치로 제공하는 서비스 제공자 측의 스트리밍 서버에서의 암호화 과정 및 모바일 컨텐츠 서비스를 사용하는 사용자 측의 모바일 단말 장치에서 암호화된 비디오 컨텐츠를 복호화하는 과정에서 발생되는 오버헤드 및 소요 시간을 줄일 수 있는, 모바일 컨텐츠 서비스를 제공하기 위한 경량화된 비디오 컨텐츠 암호화 및 복호화 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는 데 그 목적이 있다.Therefore, the present invention encrypts only some elements of the video content instead of encrypting the entire video content at the service provider providing the mobile content service, thereby encrypting the streaming server at the service provider side providing the mobile content service to the mobile terminal device. Lightweight video content encryption and decryption for providing mobile content services, which can reduce overhead and time required in decrypting encrypted video content in a mobile terminal device of a user side using the mobile content service It is an object of the present invention to provide a computer-readable recording medium having recorded thereon a method and a program for realizing the method.

본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있으며, 본 발명의 실시 예에 의해 보다 분명하게 알게 될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.
The objects of the present invention are not limited to the above-mentioned objects, and other objects and advantages of the present invention which are not mentioned can be understood by the following description, and will be more clearly understood by the embodiments of the present invention. Also, it will be readily appreciated that the objects and advantages of the present invention may be realized by the means and combinations thereof indicated in the claims.

상기 목적을 달성하기 위한 본 발명의 제 1 방법은, 비디오 컨텐츠 암호화 방법에 있어서, 비디오 컨텐츠의 전송을 요청받는 단계; 암호화 키 생성기를 이용하여 암호화 수행에 사용할 암호화 키를 생성하는 단계; 상기 요청받은 비디오 컨텐츠를 전송하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 SPS(Sequence Parameter Sets)인 스트림을 검출하는 단계; 및 상기 검출된 스트림 중 SPS의 RBSP(Raw Byte Sequence Payload)를 상기 생성된 암호화 키를 이용하여 암호화하는 암호화 단계를 포함한다.According to a first aspect of the present invention, there is provided a video content encryption method comprising: receiving a request for transmission of video content; Generating an encryption key for performing encryption using an encryption key generator; Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Sequence Parameter Sets (SPS) among streams of the video content while transmitting the requested video content; And encrypting a raw byte sequence payload (RBSP) of the detected stream from the detected stream using the generated encryption key.

상기 목적을 달성하기 위한 본 발명의 제 2 방법은, 비디오 컨텐츠 복호화 방법에 있어서, 비디오 컨텐츠를 요청하는 단계; 상기 비디오 컨텐츠를 복호화하는데 사용될 암호화 키를 다운로드받는 단계; 상기 요청한 비디오 컨텐츠를 다운로드받아 스트리밍하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 SPS(Sequence Parameter Sets)인 스트림을 검출하는 단계; 및 상기 검출된 스트림 중 SPS의 RBSP(Raw Byte Sequence Payload)를 상기 다운로드받은 암호화 키를 이용하여 복호화하는 복호화 단계를 포함한다.According to another aspect of the present invention, there is provided a video content decoding method comprising: requesting video content; Downloading an encryption key to be used to decrypt the video content; Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Sequence Parameter Sets (SPS) from among streams of the video content while downloading and streaming the requested video content; And decrypting a Raw Byte Sequence Payload (RBSP) of the detected stream from the detected stream using the downloaded encryption key.

상기 목적을 달성하기 위한 본 발명의 제 3 방법은, 비디오 컨텐츠 암호화 방법에 있어서, 비디오 컨텐츠의 전송을 요청받는 단계; 암호화 키 생성기를 이용하여 암호화 수행에 사용할 암호화 키를 생성하는 단계; 상기 요청받은 비디오 컨텐츠를 전송하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 PPS(Picture Parameter Sets)인 스트림을 검출하는 단계; 및 상기 검출된 스트림 중 PPS의 RBSP(Raw Byte Sequence Payload)를 상기 생성된 암호화 키를 이용하여 암호화하는 암호화 단계를 포함한다.According to a third aspect of the present invention, there is provided a video content encryption method comprising: receiving a request for transmission of video content; Generating an encryption key for performing encryption using an encryption key generator; Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Picture Parameter Sets (PPS) among streams of the video content while transmitting the requested video content; And encrypting a Raw Byte Sequence Payload (RBSP) of the PPS in the detected stream using the generated encryption key.

상기 목적을 달성하기 위한 본 발명의 제 4 방법은, 비디오 컨텐츠 복호화 방법에 있어서, 비디오 컨텐츠를 요청하는 단계; 상기 비디오 컨텐츠를 복호화하는데 사용될 암호화 키를 다운로드받는 단계; 상기 요청한 비디오 컨텐츠를 다운로드받아 스트리밍하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 PPS(Picture Parameter Sets)인 스트림을 검출하는 단계; 및 상기 검출된 스트림 중 PPS의 RBSP(Raw Byte Sequence Payload)를 상기 다운로드받은 암호화 키를 이용하여 복호화하는 복호화 단계를 포함한다.According to a fourth aspect of the present invention, there is provided a video content decoding method comprising: requesting video content; Downloading an encryption key to be used to decrypt the video content; Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Picture Parameter Sets (PPS) from among streams of the video content while downloading and streaming the requested video content; And decrypting a Raw Byte Sequence Payload (RBSP) of the PPS from the detected stream using the downloaded encryption key.

한편, 본 발명은, 컨텐츠 서버에, 비디오 컨텐츠의 전송을 요청받는 단계; 암호화 키 생성기를 이용하여 암호화 수행에 사용할 암호화 키를 생성하는 단계; 상기 요청받은 비디오 컨텐츠를 전송하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 SPS(Sequence Parameter Sets)인 스트림을 검출하는 단계; 및 상기 검출된 스트림 중 SPS의 RBSP(Raw Byte Sequence Payload)를 상기 생성된 암호화 키를 이용하여 암호화하는 암호화 단계를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.On the other hand, the present invention, the content server, the step of receiving a request for the transmission of video content; Generating an encryption key for performing encryption using an encryption key generator; Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Sequence Parameter Sets (SPS) among streams of the video content while transmitting the requested video content; And a computer-readable recording medium having recorded thereon a program for realizing an encryption step of encrypting a raw byte sequence payload (RBSP) of an SPS using the generated encryption key.

또한, 본 발명은, 프로세서를 구비한 단말 장치에, 비디오 컨텐츠를 요청하는 단계; 상기 비디오 컨텐츠를 복호화하는데 사용될 암호화 키를 다운로드받는 단계; 상기 요청한 비디오 컨텐츠를 다운로드받아 스트리밍하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 SPS(Sequence Parameter Sets)인 스트림을 검출하는 단계; 및 상기 검출된 스트림 중 SPS의 RBSP(Raw Byte Sequence Payload)를 상기 다운로드받은 암호화 키를 이용하여 복호화하는 복호화 단계를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.In addition, the present invention, the terminal device having a processor, the step of requesting the video content; Downloading an encryption key to be used to decrypt the video content; Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Sequence Parameter Sets (SPS) from among streams of the video content while downloading and streaming the requested video content; And a computer-readable recording medium having recorded thereon a program for realizing a decryption step of decrypting a raw byte sequence payload (RBSP) of an SPS using the downloaded encryption key.

또한, 본 발명은, 컨텐츠 서버에, 비디오 컨텐츠의 전송을 요청받는 단계; 암호화 키 생성기를 이용하여 암호화 수행에 사용할 암호화 키를 생성하는 단계; 상기 요청받은 비디오 컨텐츠를 전송하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 PPS(Picture Parameter Sets)인 스트림을 검출하는 단계; 및 상기 검출된 스트림 중 PPS의 RBSP(Raw Byte Sequence Payload)를 상기 생성된 암호화 키를 이용하여 암호화하는 암호화 단계를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.In addition, the present invention, the content server, the step of receiving a request for the transmission of video content; Generating an encryption key for performing encryption using an encryption key generator; Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Picture Parameter Sets (PPS) among streams of the video content while transmitting the requested video content; And a computer readable recording medium having recorded thereon a program for realizing an encryption step of encrypting a raw byte sequence payload (RBSP) of a PPS using the generated encryption key among the detected streams.

또한, 본 발명은, 프로세서를 구비한 단말 장치에, 비디오 컨텐츠를 요청하는 단계; 상기 비디오 컨텐츠를 복호화하는데 사용될 암호화 키를 다운로드받는 단계; 상기 요청한 비디오 컨텐츠를 다운로드받아 스트리밍하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 PPS(Picture Parameter Sets)인 스트림을 검출하는 단계; 및 상기 검출된 스트림 중 PPS의 RBSP(Raw Byte Sequence Payload)를 상기 다운로드받은 암호화 키를 이용하여 복호화하는 복호화 단계를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 포함한다.In addition, the present invention, the terminal device having a processor, the step of requesting the video content; Downloading an encryption key to be used to decrypt the video content; Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Picture Parameter Sets (PPS) from among streams of the video content while downloading and streaming the requested video content; And a computer-readable recording medium having recorded thereon a program for realizing a decryption step of decrypting a raw byte sequence payload (RBSP) of the PPS using the downloaded encryption key among the detected streams.

본 발명은 IPTV 서비스를 제공받기 위한 셋탑박스(STB) 등의 단말 장치에 적용될 수 있으며, 특히 모바일 IPTV를 서비스하기 위한 모바일 단말 장치의 경우 각 모바일 단말 장치의 리소스도 서로 다르고 일반적인 IPTV 서비스를 위한 유선형 셋탑박스(STB)보다 CPU 성능, 메모리 등의 리소스에 제한이 있기 때문에 암호화 및 복호화 시 컨텐츠의 일부 구성 요소만을 암호화하는 방식을 이용하는 것이 바람직하다. 이러한 본 발명은 IPTV 서비스를 위한 DRM(Digital Rights Management), CAS(Conditional Access System) 등과 같은 보안 시스템 및 솔루션에 적용이 가능하다.
The present invention can be applied to a terminal device such as a set-top box (STB) for receiving an IPTV service, and in particular, in the case of a mobile terminal device for serving a mobile IPTV, resources of each mobile terminal device are also different from each other and a streamlined type for a general IPTV service. Since there are more limited resources such as CPU performance and memory than the STB, it is preferable to use a method of encrypting only some components of content during encryption and decryption. The present invention is applicable to security systems and solutions such as Digital Rights Management (DRM) and Conditional Access System (CAS) for IPTV services.

상기와 같은 본 발명은, IPTV 서비스를 제공하는 서비스 제공자 측에서 디지털 비디오 컨텐츠 전체를 암호화하는 것이 아니라 비디오 컨텐츠의 일부 요소만을 암호화함으로써, 모바일 IPTV 서비스를 모바일 단말 장치로 제공하는 서비스 제공자 측의 스트리밍 서버에서의 암호화 과정 및 모바일 IPTV 서비스를 사용하는 사용자 측의 모바일 단말 장치에서 암호화된 디지털 비디오 컨텐츠를 복호화하는 과정에서 소요되는 시간을 줄일 수 있는 효과가 있다.As described above, the present invention provides a streaming server of a service provider that provides a mobile IPTV service to a mobile terminal device by encrypting only some elements of the video content instead of encrypting the entire digital video content at the service provider that provides the IPTV service. The time required for the encryption process and the process of decrypting the encrypted digital video content in the mobile terminal of the user side using the mobile IPTV service can be reduced.

또한, 본 발명은, 디지털 비디오 컨텐츠(예 : H.264/AVC 비디오 컨텐츠) 전체를 암호화하는 것이 아니라 디지털 비디오 컨텐츠 중에서 SPS(Sequence Parameter Sets)와 같이 디코딩에 필수적인 정보만을 암호화함으로써, 모바일 IPTV 서비스를 제공하기 위한 스트리밍 서버에서의 암호화 과정 및 모바일 IPTV 서비스를 사용하는 사용자 측의 모바일 단말 장치에서 암호화된 디지털 비디오 컨텐츠를 복호화하는 과정에서 발생되는 오버헤드를 줄일 수 있는 효과가 있다.In addition, the present invention does not encrypt the entire digital video content (e.g., H.264 / AVC video content), but encrypts only the information necessary for decoding, such as Sequence Parameter Sets (SPS), among the digital video content. There is an effect of reducing the overhead incurred in the encryption process in the streaming server to provide and the process of decrypting the encrypted digital video content in the mobile terminal device of the user side using the mobile IPTV service.

또한, 본 발명은, 디지털 비디오 컨텐츠의 일부 요소만을 암호화하는 것만으로도 디지털 비디오 컨텐츠의 전체를 암호화하는 것과 유사하게 해당 디지털 비디오 컨텐츠를 복호화하지 못할 정도로 암호화되는 효과가 있다.
In addition, the present invention has an effect that the encryption is not enough to decrypt the digital video content similarly to encrypting the entirety of the digital video content only by encrypting only some elements of the digital video content.

도 1은 일반적인 IPTV 네트워크를 나타내는 도면,
도 2는 디지털 비디오 컨텐츠 중 H.264/AVC 포맷으로 인코딩된 비디오 컨텐츠 내의 NAL 유닛의 구조를 나타내는 도면,
도 3은 디지털 비디오 컨텐츠 중 H.264/AVC 포맷으로 인코딩된 비디오 컨텐츠 내의 NAL 비트 열을 NAL 유닛 타입으로 나타낸 도면,
도 4는 본 발명에 따른 모바일 컨텐츠 서비스를 제공하기 위한 경량화된 비디오 컨텐츠 암호화 방법에 대한 일실시예 설명도,
도 5는 일반적인 IPTV 통신 모델(IPTVCM : IPTV Communication Model)의 구조도,
도 6a는 본 발명에 따른 모바일 컨텐츠 서비스를 제공하기 위한 경량화된 비디오 컨텐츠 암호화 방법에 대한 일실시예 흐름도,
도 6b는 본 발명에 따른 모바일 컨텐츠 서비스를 제공하기 위한 경량화된 비디오 컨텐츠 복호화 방법에 대한 일실시예 흐름도,
도 7a 및 도 7b는 300 프레임과 176×144의 해상도를 가지고 있는 H.264/AVC 비디오 컨텐츠를 대상으로 암호화 및 복호화하였을 때 걸리는 수행 시간에 대한 결과를 나타낸 일실시예 그래프이다.
1 is a diagram showing a general IPTV network,
2 is a diagram illustrating a structure of a NAL unit in video content encoded in H.264 / AVC format among digital video contents;
3 is a diagram illustrating a NAL bit string in a video content encoded in H.264 / AVC format among digital video contents in a NAL unit type;
4 is a diagram illustrating an embodiment of a lightweight video content encryption method for providing a mobile content service according to the present invention;
5 is a structural diagram of a general IPTV communication model (IPTVCM: IPTV Communication Model),
6A is a flowchart illustrating an embodiment of a lightweight video content encryption method for providing a mobile content service according to the present invention;
6B is a flowchart illustrating an embodiment of a lightweight video content decoding method for providing a mobile content service according to the present invention;
7A and 7B are graphs illustrating results of execution time when encryption and decryption is performed on H.264 / AVC video content having 300 frames and a resolution of 176 × 144.

상술한 목적, 특징 및 장점은 첨부된 도면을 참조하여 상세하게 후술되어 있는 상세한 설명을 통하여 보다 명확해 질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시 예를 상세히 설명하기로 한다.BRIEF DESCRIPTION OF THE DRAWINGS The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings, It can be easily carried out. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

그리고 명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 때 이는 "직접적으로 연결"되어 있는 경우뿐만 아니라 그 중간에 다른 소자를 사이에 두고 "전기적으로 연결"되어 있는 경우도 포함한다. 또한, 어떤 부분이 어떤 구성요소를 "포함" 또는 "구비"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함하거나 구비할 수 있는 것을 의미한다.
And throughout the specification, when a part is referred to as being "connected" to another part, it includes not only "directly connected" but also "electrically connected" with another part in between. Also, when a component is referred to as " comprising "or" comprising ", it does not exclude other components unless specifically stated to the contrary .

본 발명을 이해하기 위해서는, 먼저 서비스 제공자가 제공하는 디지털 비디오 컨텐츠의 형식을 이해하여야 한다. 현재 IPTV 서비스를 위해 제공되는 디지털 비디오 컨텐츠는 대부분 H.264라는 매우 높은 데이터 압축률을 가진 디지털 비디오 코덱(Digital Video CODEC)의 표준으로 인코딩(Encoding)되어 있다. 이러한 디지털 비디오 코덱(Digital Video CODEC)의 표준은 MPEG-4 파트 10 또는 H.264/AVC(Advanced Video Coding)라고도 부르며, ITU-T(International Telecommunication Union-Telecommunication standardization sector)와 국제 표준화 기구(ISO)와 국제 전기 표준 회의(IEC)가 공동으로 작업하여 제정한 표준으로, 디지털 동영상 및 오디오 신호의 압축, 부호화 방법 및 부호화된 신호를 다중화하는 방법 등에 대한 표준 규격이다.In order to understand the present invention, it is first necessary to understand the format of digital video content provided by a service provider. Currently, digital video content provided for IPTV service is encoded as a standard of digital video codec having a very high data compression rate called H.264. This standard of Digital Video CODEC is also called MPEG-4 Part 10 or H.264 / AVC (Advanced Video Coding), and is the International Telecommunication Union-Telecommunication standardization sector (ITU-T) and the International Organization for Standardization (ISO). The International Standards Council (IEC) and the International Institute of Electrical and Electronics Engineers (IEC) have jointly established standards for the compression, encoding, and multiplexing of encoded video and audio signals.

이러한 H.264의 특징 중의 하나가 비디오 부호화 계층인 VCL(Video Coding Layer)과 부호화된 정보를 전송하고 저장하는 하위 시스템과의 사이에 존재하는 계층인 NAL(Network Adaptation Layer)이라는 계층으로 분리된 구조로 정의 및 구성되어 있다는 점이다. 인코딩 과정의 출력은 VCL 데이터(인코딩된 비디오 데이터를 나타내는 연속적인 비트들)이고, 전송하거나 저장하기 전에 VCL 데이터는 NAL 유닛으로 맵핑된다. NAL 유닛은 패킷 기반 네트워크(Packet-Based Network) 또는 비트스트림 전송 링크(Bitstream Transmission Link)를 통해 전송되거나 파일로 저장될 수 있다. 이때, VCL과 NAL을 분리하여 정의하는 목적은 VCL의 압축 특징과 NAL의 전송 특징 사이를 구별하기 위해서이다.
One of the characteristics of H.264 is a structure separated into a layer called a network adaptation layer (NAL), a layer existing between a video coding layer (VCL) that is a video encoding layer and a subsystem that transmits and stores encoded information. Is defined and configured. The output of the encoding process is VCL data (contiguous bits representing encoded video data), and the VCL data is mapped to NAL units before sending or storing. The NAL unit may be transmitted through a packet-based network or a bitstream transmission link or stored in a file. In this case, the purpose of separately defining the VCL and the NAL is to distinguish between the compression characteristics of the VCL and the transmission characteristics of the NAL.

도 1은 일반적인 IPTV 네트워크를 나타내는 도면이다.1 is a diagram illustrating a general IPTV network.

도 1에 도시된 바와 같이, 가장 기본적인 IPTV 네트워크는 기본적인 구성 요소로서 서비스 제공자 측의 컨텐츠를 관리하기 위한 컨텐츠 서버(Contents Server, 11, 12), 서비스 제공자가 서비스 사용자를 관리하기 위한 라이센스 서버(License Server, 13, 14), 그리고 서비스 사용자 측에서 서비스를 제공받기 위해 이용하는 단말 장치(Terminal Device)인 셋탑박스(STB : Set-Top Box, 15, 16)를 포함하여 이루어져 있다.As shown in FIG. 1, the most basic IPTV network is a basic component of a content server (Contents Server 11, 12) for managing content on the service provider side and a license server for managing a service user by the service provider (License). Server, 13, 14), and Set-Top Box (STB: 15, 16), which is a terminal device (Terminal Device) used to receive a service from the service user side.

여기서, 상기 컨텐츠 서버(11, 12)는 스트리밍 서버를 포함하고 있다.Herein, the content servers 11 and 12 include a streaming server.

그리고 상기 셋탑박스(STB, 15, 16)는 일반적으로 고정형(유선형) 단말 장치로서, 고화질의 영상을 제공할 수 있으며 TV 또는 PC 등의 큰 장치에 연결하여 사용하는 단말 장치이다.The set top boxes STBs 15 and 16 are generally fixed (wired) terminal devices, which are capable of providing high quality images and are connected to a large device such as a TV or a PC.

한편, 모바일 IPTV 서비스에서는 도 1에 도시된 셋탑박스(STB)와 유사한 기능을 수행하는 모바일 셋탑박스(STB)가 모바일 IPTV 서비스를 지원할 수 있는 모바일 단말 장치 내에 내장되는 형태로 구현될 수 있다.
Meanwhile, in the mobile IPTV service, the mobile set-top box STB, which performs a function similar to the set-top box STB shown in FIG. 1, may be implemented in a form embedded in a mobile terminal device capable of supporting the mobile IPTV service.

도 2는 디지털 비디오 컨텐츠 중 H.264/AVC 포맷으로 인코딩된 비디오 컨텐츠 내의 NAL(Network Adaptation Layer) 유닛의 구조를 나타내는 도면이다.FIG. 2 is a diagram illustrating a structure of a network adaptation layer (NAL) unit in video content encoded in H.264 / AVC format among digital video contents.

도 2에 도시된 바와 같이, 하나의 NAL 유닛(Unit)(21)은 NAL 유닛의 타입을 알려주는 NAL 헤더(header)(22)와, 압축된 비디오 데이터 또는 헤더 정보에 해당하는 데이터인 RBSP(Raw Byte Sequence Payload)(23)로 이루어져 있으며, 이와 같은 NAL 유닛이 연속적으로 존재한다.As shown in FIG. 2, one NAL unit 21 includes a NAL header 22 indicating a type of the NAL unit, and RBSP (data corresponding to compressed video data or header information). Raw Byte Sequence Payload) 23, and such NAL units exist continuously.

이때, 전술한 목적을 달성하기 위한 본 발명은, 각각 다른 타입을 가지고 있는 NAL 유닛의 정보를 이용한다. NAL 유닛의 각 타입에 대한 정보는 다음의 [표 1]과 같다. 본 발명에서는 하기의 [표 1]에 정의되어 있는 NAL 유닛의 타입을 이용하여 경량화된 H.264/AVC 비디오 컨텐츠의 암호화 방법을 실현하고자 한다.
At this time, the present invention for achieving the above object uses information of NAL units having different types. Information about each type of NAL unit is shown in the following [Table 1]. In the present invention, a lightweight H.264 / AVC video content encryption method is realized using a type of NAL unit defined in Table 1 below.

Figure 112010065521712-pat00001
Figure 112010065521712-pat00001

상기 [표 1]에서 NAL 유닛의 타입을 확인할 수 있으며, 현재까지 1에서 12까지만 정의되어 있는 것을 확인할 수 있다. 이렇게 정의된 NAL 유닛은 압축된 비디오 데이터를 가질 수도 있고, 또는 헤더 정보에 대한 데이터를 가질 수도 있다. 즉, 상기 [표 1]의 NAL 유닛 타입 중의 몇 가지는 다른 NAL 유닛 타입의 헤더 정보가 된다는 것이다. 이러한 NAL 유닛 타입 중에서 다른 NAL 유닛 타입의 헤더 정보가 되는 대표적인 타입은 SPS(Sequence Parameter Sets)와 PPS(Picture Parameter Sets)이다.In Table 1, the type of the NAL unit can be confirmed, and only 1 to 12 are defined so far. The NAL unit thus defined may have compressed video data or may have data for header information. In other words, some of the NAL unit types in Table 1 above are header information of other NAL unit types. Among the NAL unit types, representative types of header information of other NAL unit types are SPS (Sequence Parameter Sets) and PPS (Picture Parameter Sets).

여기서, SPS는 프로파일, 레벨 등의 시퀀스 전체의 부호화에 걸쳐있는 정보가 포함되어 있는 헤더 정보로서, 프로파일 ID(Profile ID), 레벨(Level), 참조 프레임 개수(Number of Reference Frame), 화면 크기(Resolution) 등의 정보를 포함하고 있다.Here, the SPS is header information including information covering the entire encoding of the sequence such as the profile and the level, and includes a profile ID, a level, a number of reference frames, and a screen size ( Resolution).

그리고 PPS는 비디오 시퀀스 내의 여러 픽쳐에 적용되는 중요한 헤더 정보로서, 픽쳐 전체의 엔트로피 부호화 모드, 슬라이스 그룹의 개수, 가중치 예측 방법 등의 정보를 포함하고 있다.
The PPS is important header information applied to various pictures in a video sequence and includes information such as entropy encoding mode, the number of slice groups, and a weight prediction method of the entire picture.

도 3은 디지털 비디오 컨텐츠 중 H.264/AVC 포맷으로 인코딩된 비디오 컨텐츠 내의 NAL 비트 열을 NAL 유닛 타입으로 나타낸 도면이다.FIG. 3 is a diagram illustrating NAL bit strings in video content encoded in H.264 / AVC format among digital video contents in NAL unit type.

도 3은 H.264/AVC 포맷으로 인코딩된 비디오 컨텐츠 내의 각 NAL 유닛의 타입이 순차적으로 SPS-PPS-PICTURE-PICTURE-SPS-PPS-PICTURE-PPS-PICTURE의 타입으로 이루어진 경우를 나타내고 있다. 여기서, 예를 들어 도 2에 도시된 하나의 NAL 유닛(21)의 타입이 SPS이면 도 3의 31의 "SPS"와 같이 나타낼 수 있다.3 illustrates a case in which the type of each NAL unit in the video content encoded in the H.264 / AVC format is a type of SPS-PPS-PICTURE-PICTURE-SPS-PPS-PICTURE-PPS-PICTURE. Here, for example, if the type of one NAL unit 21 shown in FIG. 2 is an SPS, this may be represented as "SPS" in 31 of FIG. 3.

한편, 본 발명의 경량화된 비디오 컨텐츠 암호화 방법은, H.264/AVC 비디오 컨텐츠를 암호화하는데 있어서, 서비스 사용자로부터 전송을 요청받은 컨텐츠를 스트리밍 형태로 서비스하되, 컨텐츠 전체에 대해서 암호화를 수행하는 것이 아니라 디지털 비디오 컨텐츠의 일부 요소에 대해서만 암호화를 수행한다.On the other hand, the lightweight video content encryption method of the present invention, in encrypting the H.264 / AVC video content, services the content requested to be transmitted from the service user in the form of streaming, but does not encrypt the entire content Encryption is only performed on some elements of the digital video content.

이때, 암호화의 대상이 되는 디지털 비디오 컨텐츠의 일부 요소란 전술한 H.264 비디오 코덱으로 인코딩된 전송 비트스트림의 일부 요소로서, 비트스트림에 포함되는 각 NAL 유닛의 타입들 중 "디지털 비디오 컨텐츠를 디코딩하여 화면에 재생하기 위해 필수적인 정보"를 말하며, 결국 "디지털 비디오 컨텐츠를 디코딩하여 화면에 재생하기 위해 필수적인 정보"가 되는 타입만을 선택적으로 암호화한다.In this case, some elements of the digital video content to be encrypted are some elements of the transmission bitstream encoded by the above-described H.264 video codec, and among the types of NAL units included in the bitstream, "decode digital video content". Information that is essential for reproducing on the screen, ”and finally encrypts only the type that becomes“ essential information for decoding and reproducing digital video content on the screen ”.

좀 더 구체적으로 살펴보면, 본 발명에서는 비트스트림에 포함되는 각 NAL 유닛의 타입들 중 "디지털 비디오 컨텐츠를 디코딩하여 화면에 재생하기 위해 필수적인 정보"로서 SPS 또는 PPS를 추출하여 암호화한다. 여기서, SPS와 PPS는 디지털 비디오 컨텐츠를 디코딩하여 화면에 재생하기 위해 필수적인 정보들이다.
More specifically, in the present invention, among the types of NAL units included in the bitstream, the SPS or PPS is extracted and encrypted as " essential information for decoding and playing the digital video content on the screen. &Quot; Here, the SPS and the PPS are pieces of information necessary for decoding digital video contents and playing them on the screen.

도 4는 본 발명에 따른 모바일 컨텐츠 서비스를 제공하기 위한 경량화된 비디오 컨텐츠 암호화 방법에 대한 일실시예 설명도로서, 디지털 비디오 컨텐츠를 어떻게 부분적으로 암호화하는 것인지를 나타내고 있다.FIG. 4 is an exemplary explanatory diagram of a lightweight video content encryption method for providing a mobile content service according to the present invention, showing how to partially encrypt digital video content.

본 발명에서는 디지털 비디오 컨텐츠를 디코딩하여 재생하기 위해 필수적인 정보가 되는 타입만 암호화를 수행하되, NAL 유닛을 이루고 있는 NAL 헤더 부분은 제외하고 RBSP 부분만을 선택적으로 암호화하여 디지털 비디오 컨텐츠가 재생이 가능하도록 한다.In the present invention, only the type of information necessary for decoding and playing digital video contents is encrypted, but only the RBSP portion is selectively encrypted except for the NAL header portion constituting the NAL unit so that the digital video contents can be reproduced. .

즉, 도 4에 도시된 바와 같이, 본 발명의 일실시예에서는 디지털 비디오 컨텐츠를 디코딩하여 재생하기 위해 필수적인 정보인 SPS의 RBSP 부분만을 선택적으로 암호화를 수행한다.That is, as shown in FIG. 4, in one embodiment of the present invention, only the RBSP portion of the SPS, which is information necessary for decoding and playing digital video content, selectively performs encryption.

또한, 본 발명의 다른 실시예에서는 디지털 비디오 컨텐츠를 디코딩하여 재생하기 위해 필수적인 정보인 PPS의 RBSP 부분만을 선택적으로 암호화를 수행한다.Further, another embodiment of the present invention selectively encrypts only the RBSP portion of the PPS, which is information necessary for decoding and playing digital video content.

한편, NAL 유닛에 대하여 암호화를 수행할 때에는 AES(Advanced Encryption Standard)를 이용하여 암호화를 수행하되, 128비트(16바이트) 단위로 암호화를 수행한다. 즉, 일반적인 AES-128을 사용하여 키 사이즈는 128비트로 하여 암호화를 수행한다. 암호화 및 복호화는 그러한 암호화 키를 이용하여 이루어지며, 스트리밍 서비스를 제공할 때 디지털 비디오 컨텐츠를 128비트 블록으로 나누어 암호화하여 전송한다. 또한, 복호화 시에는 서비스 사용자 측의 모바일 단말 장치(셋탑박스를 탑재하고 있음)에서 128비트씩 비트스트림을 받아오면서 복호화를 수행한다.
Meanwhile, when performing encryption on the NAL unit, encryption is performed using AES (Advanced Encryption Standard), but encryption is performed in units of 128 bits (16 bytes). That is, the encryption is performed using a general AES-128 with a key size of 128 bits. Encryption and decryption are performed using such an encryption key. When providing a streaming service, digital video content is divided into 128-bit blocks and transmitted after being encrypted. In addition, during decryption, the mobile terminal apparatus (which is equipped with a set-top box) on the service user side receives the bitstreams by 128 bits and performs decryption.

도 5는 일반적인 IPTV 통신 모델(IPTVCM : IPTV Communication Model)의 구조도로서, 7개(그리고 하나의 선택사양)의 개념 계층으로 이루어진 계층 구조의 네트워크 프레임워크를 나타내고 있다.FIG. 5 is a structural diagram of a general IPTV communication model (IPTVCM), and shows a hierarchical network framework composed of seven (and one optional) concept layers.

도 5에 도시된 바와 같이, 비디오 데이터는 송신 장치(Sending IPTV device)에서 최상위 계층으로부터 다음 하위 계층으로 IPTVCM을 따라 하위로 전달되고, 물리 계층 프로토콜에 의해 광대역 네트워크를 통하여 수신 장치(Receiving IPTV device)로 전송된다. 그에 따라, 비디오 데이터는 수신 장치(Receiving IPTV device)에 있는 IPTVCM의 물리 계층에 도착하고 최하위 계층으로부터 다음 상위 계층으로 IPTVCM을 따라 상위 계층으로 전달된다.As shown in FIG. 5, video data is transferred from the top layer to the next lower layer along the IPTVCM in a sending IPTV device, and is received through a broadband network by a physical layer protocol. Is sent to. Accordingly, the video data arrives at the physical layer of the IPTVCM in the Receiving IPTV device and is passed from the lowest layer to the next higher layer along the IPTVCM to the higher layer.

도 5에 도시된 바와 같이, 모두 7개(그리고 하나의 선택사양)의 개념 계층으로 이루어진 IPTVCM에서 암호화 과정은 최상위 계층인 비디오 인코딩 계층과 그의 하위 계층인 비디오 패킷화 계층의 사이에서 이루어진다. 비디오 인코딩 계층에서 인코딩이 수행되면 비디오 데이터인 VCL 데이터는 스트림으로 전송되기 위하여 NAL 데이터로 맵핑된다. 이후, 비디오 스트림은 암호화된 후에 패킷화되어 전송된다.As shown in FIG. 5, in IPTVCM, which consists of all seven (and one optional) concept layers, the encryption process is performed between the video encoding layer, which is the uppermost layer, and the video packetization layer, which is lower. When encoding is performed in the video encoding layer, VCL data, which is video data, is mapped to NAL data for transmission in a stream. The video stream is then encrypted and transmitted after being encrypted.

도 6a는 본 발명에 따른 모바일 컨텐츠 서비스를 제공하기 위한 경량화된 비디오 컨텐츠 암호화 방법에 대한 일실시예 흐름도로서, 도 5의 송신 장치(Sending IPTV device) 측, 즉 컨텐츠 서버 내에서 H.264/AVC 디지털 비디오 컨텐츠를 전송하기 위하여, 디지털 비디오 컨텐츠를 디코딩하여 재생하기 위해 필수적인 정보인 SPS의 RBSP 부분만을 선택적으로 암호화하는 과정을 나타내고 있다.FIG. 6A is a flowchart illustrating a lightweight video content encryption method for providing a mobile content service according to the present invention. FIG. 6A is a H.264 / AVC diagram of a sending IPTV device, that is, a content server. In order to transmit digital video content, only the RBSP portion of the SPS, which is essential information for decoding and playing digital video content, is shown.

여기서, 도 6a는 서비스 사용자가 이미 서비스 제공자에 의해 정당한 사용자임을 인증받았다고 가정한 상태에서의 처리 과정을 나타낸다. 이는 하기의 도 6b, 도 7a 및 도 7b도 동일하다.Here, FIG. 6A shows a process in a state where it is assumed that the service user has already been authenticated by the service provider as a legitimate user. This is also the same in FIGS. 6B, 7A and 7B.

도 6a를 참조하여 살펴보면, 비디오 컨텐츠 암호화 과정은 컨텐츠 서버가 서비스 사용자의 모바일 단말 장치로부터 비디오 컨텐츠 전송을 요청받았을 때부터 시작된다(601).Referring to FIG. 6A, the video content encryption process starts when a content server is requested to transmit video content from a mobile terminal device of a service user (601).

이후, 컨텐츠 서버 내에서는 그 내부에 내장된 암호화 키 생성기(Encryption Key Generator)를 이용하여 암호화 수행에 사용할 암호화 키를 생성한다(602).Thereafter, the content server generates an encryption key for performing encryption using an encryption key generator embedded therein (602).

이후, 컨텐츠 서버는 상기 생성된 암호화 키를 라이선스 서버로 전송하고, 라이선스 서버는 상기 생성된 암호화 키를 저장한다(603).Thereafter, the content server transmits the generated encryption key to the license server, and the license server stores the generated encryption key (603).

이후, 컨텐츠 서버는 서비스 사용자의 모바일 단말 장치로부터 요청받은 비디오 컨텐츠를 해당하는 모바일 단말 장치로 전송하기 시작한다(604).Thereafter, the content server starts transmitting the video content requested from the mobile terminal device of the service user to the corresponding mobile terminal device (604).

이때, 컨텐츠 서버는 상기 전송되는 디지털 비디오 컨텐츠의 스트림 중 NAL 유닛의 타입이 SPS인 스트림을 검출한다(605).In this case, the content server detects a stream of which the NAL unit type is an SPS among streams of the transmitted digital video content (605).

이때, 컨텐츠 서버는 NAL 유닛의 타입이 SPS인 스트림이 검출되면, 상기 검출된 스트림(NAL 유닛) 중 RBSP만을 상기 생성된 암호화 키를 이용하여 암호화한다(606). 즉, 디지털 비디오 컨텐츠를 디코딩하여 재생하기 위해 필수적인 정보인 SPS의 RBSP 부분만을 상기 생성된 암호화 키를 이용하여 암호화한다. 상기 암호화 과정(606)을 수행한 후 패킷을 생성하고(607), NAL 유닛의 타입이 SPS인 스트림이 검출되지 않은 경우에는 바로 패킷을 생성한다(607).In this case, when a stream having a SPS type of NAL unit is detected, the content server encrypts only RBSP of the detected stream (NAL unit) using the generated encryption key (606). That is, only the RBSP portion of the SPS, which is essential information for decoding and playing digital video content, is encrypted using the generated encryption key. After performing the encryption process 606, a packet is generated (607). If a stream whose type of NAL unit is SPS is not detected, a packet is immediately generated (607).

이후, 컨텐츠 서버는 상기 생성된 패킷을 서비스 사용자 측의 모바일 단말 장치로 전송한다(608). 그리고 전송되는 스트림이 끝날 때까지, 즉 EOS(End Of Stream)에 도달할 때까지 SPS 검출 과정(605)부터 반복 수행하며 EOS에 도달하면 전송을 종료한다(609).
Thereafter, the content server transmits the generated packet to the mobile terminal device at the service user side (608). The process is repeated from the SPS detection process 605 until the end of the transmitted stream, that is, until the end of stream (EOS) is reached.

도 6b는 본 발명에 따른 모바일 컨텐츠 서비스를 제공하기 위한 경량화된 비디오 컨텐츠 복호화 방법에 대한 일실시예 흐름도로서, 도 5의 수신 장치(Receiving IPTV device) 측, 즉 모바일 단말 장치에서 컨텐츠 서버로부터 전달받은 암호화된 디지털 비디오 컨텐츠 중에서 SPS의 RBSP 부분만을 선택적으로 복호화하는 과정을 나타내고 있다.FIG. 6B is a flowchart illustrating a lightweight video content decoding method for providing a mobile content service according to an embodiment of the present invention, and is received from a content server at a receiving IPTV device side, that is, a mobile terminal device of FIG. 5. A process of selectively decrypting only the RBSP portion of the SPS among the encrypted digital video contents is shown.

도 6b를 참조하여 살펴보면, 먼저 모바일 단말 장치(모바일 셋탑박스를 탑재하고 있음)가 서비스 제공자의 컨텐츠 서버로 시청하고자 하는 디지털 비디오 컨텐츠를 요청한다(611).Referring to FIG. 6B, first, a mobile terminal device (which is equipped with a mobile set-top box) requests digital video content to be viewed by a content server of a service provider (611).

그리고 모바일 단말 장치는 비디오 컨텐츠를 요청한 후, 이전에 서비스 제공자 측의 컨텐츠 서버에서 생성되어 라이선스 서버로 전송되어 저장된 암호화 키(도 6a 참조)를 라이선스 서버로부터 다운로드받는다(612).After the mobile terminal device requests the video content, the mobile terminal device downloads the encryption key (see FIG. 6A), which is previously generated by the content server of the service provider and transmitted to the license server, from the license server (612).

이후, 모바일 단말 장치는 서비스 제공자의 컨텐츠 서버로부터 전송되는 디지털 비디오 컨텐츠를 다운로드받기 시작하여 패킷을 수신한다(613).Thereafter, the mobile terminal device starts to download digital video content transmitted from the content server of the service provider and receives a packet (613).

이때, 모바일 단말 장치는 상기 다운로드받은 패킷을 스트리밍하고, 즉 상기 다운로드받은 패킷을 언패킷화하여 스트림을 생성하고(614) 상기 스트리밍되는 디지털 비디오 컨텐츠의 스트림 중 NAL 유닛의 타입이 SPS인 스트림을 검출한다(615).In this case, the mobile terminal device streams the downloaded packet, that is, unpackets the downloaded packet to generate a stream (614) and detects a stream whose type of NAL unit is SPS among the streams of the streamed digital video content. (615).

이때, 모바일 단말 장치는 NAL 유닛의 타입이 SPS인 스트림이 검출되면, 상기 검출된 스트림(NAL 유닛) 중 RBSP만을 상기 다운로드받은 암호화 키를 이용하여 복호화한 후에(616) 해당 스트림을 이용하여 비디오 컨텐츠를 재생하고(617), NAL 유닛의 타입이 SPS인 스트림이 검출되지 않은 경우에는 바로 스트림을 이용하여 비디오 컨텐츠를 재생한다(617).In this case, when a NAL unit type of the SPS is detected, the mobile terminal device decodes only the RBSP of the detected stream (NAL unit) using the downloaded encryption key (616) and then uses the corresponding stream of video content. (617), if the stream of which the type of the NAL unit is SPS is not detected, immediately plays the video content using the stream (617).

그리고 수신되고 있는 스트림이 끝날 때까지, 즉 EOS(End Of Stream)에 도달할 때까지 SPS 검출 과정(615)부터 반복 수행하며 EOS에 도달하면 수신을 종료한다(618).
The process is repeated from the SPS detection process 615 until the end of the stream being received, that is, until the end of stream (EOS) is reached.

한편, 본 발명의 다른 실시예로서, 디지털 비디오 컨텐츠를 디코딩하여 재생하기 위해 필수적인 정보인 PPS의 RBSP 부분만을 선택적으로 암호화하고 복호화하는 방법은, 전술한 도 6a 및 도 6b에 도시된 암호화 및 복호화 방법과 그 암호화 및 복호화 대상만 다를 뿐 그 절차가 동일하므로, 여기서는 더 이상 중복적으로 설명하지 않기로 한다.
Meanwhile, as another embodiment of the present invention, a method for selectively encrypting and decrypting only the RBSP portion of the PPS, which is information essential for decoding and playing digital video content, is the encryption and decryption method shown in FIGS. 6A and 6B. Since the procedure is the same except that only the encryption and decryption targets are different, the description will not be repeated herein any further.

도 7a 및 도 7b는 300 프레임과 176×144의 해상도를 가지고 있는 H.264/AVC 비디오 컨텐츠를 대상으로 암호화 및 복호화하였을 때 걸리는 수행 시간에 대한 결과를 나타낸 일실시예 그래프이다.7A and 7B are graphs illustrating results of execution time when encryption and decryption is performed on H.264 / AVC video content having 300 frames and a resolution of 176 × 144.

여기서, 도 7a는 SPS만을 선택하여 부분적으로 디지털 비디오 컨텐츠를 암호화하였을 때의 수행 시간과 전체적으로 디지털 비디오 컨텐츠를 암호화하였을 때의 수행시간을 비교한 경우를 나타내고, 도 7b는 SPS만을 선택하여 부분적으로 복호화를 수행한 시간과 전체적인 컨텐츠에 대한 복호화 수행 시간을 비교한 경우를 나타내고 있다. 이때, 암호화 및 복호화 과정을 각각 15회씩 수행한 결과이며, 각 그래프에서 오른쪽의 숫자는 각 수행 시간의 평균이다.Here, FIG. 7A illustrates a case where an execution time when partially encrypting digital video content by selecting only an SPS is compared with an execution time when encrypting digital video content as a whole, and FIG. 7B partially decrypts by selecting only an SPS. The case where the time of performing the decoding and the time of decoding the overall content are compared. In this case, the encryption and decryption process is performed 15 times each, and the number on the right of each graph is the average of each execution time.

도 7a 및 도 7b에 도시된 바와 같이, 기존의 전체적인 암호화 및 복호화에 비해 SPS만을 선택하여 부분적인 암호화 및 복호화를 수행하였을 때 평균 수행 시간이 크게 줄어들었음을 알 수 있다. 즉, 본 발명에서는 부분적인 암호화로 인하여 평균 수행 시간을 줄이고, 그에 따른 오버헤드를 감소시킬 수 있다.
As shown in FIG. 7A and FIG. 7B, it can be seen that the average execution time is greatly reduced when partial encryption and decryption are performed by selecting only the SPS as compared to the existing overall encryption and decryption. That is, in the present invention, due to partial encryption, the average execution time may be reduced, and thus overhead may be reduced.

한편, 전술한 바와 같은 본 발명에 따른 모바일 컨텐츠 서비스를 제공하기 위한 경량화된 비디오 컨텐츠 암호화 및 복호화 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 상기 매체는 프로그램 명령, 데이터 구조 등을 지정하는 신호를 전송하는 반송파를 포함하는 광 또는 금속선, 도파관 등의 전송 매체일 수도 있다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용하여 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Meanwhile, the lightweight video content encryption and decryption method for providing a mobile content service according to the present invention as described above may be implemented in the form of program instructions that can be executed by various computer means and recorded in a computer readable medium. . The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program instructions recorded on the media may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well-known and available to those having skill in the computer software arts. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks, such as floppy disks. Magneto-optical media, and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. The medium may be a transmission medium such as an optical or metal line, a wave guide, or the like, including a carrier wave for transmitting a signal designating a program command, a data structure, or the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

이상과 같이 본 발명은 비록 한정된 실시 예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시 예에 한정되는 것은 아니며, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 다양한 치환, 변형 및 변경이 가능하다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, Various permutations, modifications and variations are possible without departing from the spirit of the invention.

그러므로 본 발명의 범위는 설명된 실시 예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.
Therefore, the scope of the present invention should not be construed as being limited to the embodiments described, but should be determined by the scope of the appended claims, as well as the appended claims.

본 발명은 IPTV 서비스를 비롯한 방송통신 분야에서 사용하는 보안 시스템인 DRM(Digital Rights Management), CAS(Conditional Access System) 등에 적용하여 컨텐츠를 암호화 및 복호화함으로써 서비스 제공자와 컨텐츠 제작자의 권익을 보호할 수 있으며, 특히 경량화된 암호화로서 제한된 리소스를 가지고 있는 모바일 단말을 통한 IPTV 서비스, 즉 모바일 IPTV 서비스 등에 이용될 수 있다.
The present invention can protect the rights of service providers and content producers by applying the encryption and decryption of the content by applying to the DRM (Digital Rights Management), CAS (Conditional Access System), etc. In particular, it can be used as an IPTV service, i.e., a mobile IPTV service, through a mobile terminal having limited resources as lightweight encryption.

11, 12 : 컨텐츠 서버(Contents Server)
13, 14 : 라이센스 서버(License Server)
15, 16 : 셋탑박스(STB : Set-Top Box)
11, 12: Contents Server
13, 14: License Server
15, 16: Set-Top Box (STB)

Claims (12)

비디오 컨텐츠 암호화 방법에 있어서,
비디오 컨텐츠의 전송을 요청받는 단계;
암호화 키 생성기를 이용하여 암호화 수행에 사용할 암호화 키를 생성하는 단계;
상기 요청받은 비디오 컨텐츠를 전송하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 SPS(Sequence Parameter Sets)인 스트림을 검출하는 단계; 및
상기 검출된 스트림 중 SPS의 RBSP(Raw Byte Sequence Payload)를 상기 생성된 암호화 키를 이용하여 암호화하는 암호화 단계
를 포함하는 비디오 컨텐츠 암호화 방법.
In the video content encryption method,
Receiving a request for transmission of video content;
Generating an encryption key for performing encryption using an encryption key generator;
Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Sequence Parameter Sets (SPS) among streams of the video content while transmitting the requested video content; And
Encrypting a raw byte sequence payload (RBSP) of the detected stream using the generated encryption key;
Video content encryption method comprising a.
제 1 항에 있어서,
상기 암호화 단계는,
NAL 유닛의 타입이 SPS인 스트림이 검출되지 않으면, 패킷을 생성하여 모바일 단말 장치로 전송하는 단계; 및
NAL 유닛의 타입이 SPS인 스트림이 검출되면, 상기 검출된 스트림 중 SPS의 RBSP를 상기 생성된 암호화 키를 이용하여 암호화한 후에 패킷을 생성하여 상기 모바일 단말 장치로 전송하는 단계
를 포함하는 비디오 컨텐츠 암호화 방법.
The method of claim 1,
The encryption step,
Generating a packet and transmitting the packet to the mobile terminal device if the stream of which the type of the NAL unit is SPS is not detected; And
If a stream having a type of NAL unit SPS is detected, encrypting the RBSP of the SPS using the generated encryption key, and then generating a packet and transmitting the packet to the mobile terminal device.
Video content encryption method comprising a.
비디오 컨텐츠 복호화 방법에 있어서,
비디오 컨텐츠를 요청하는 단계;
상기 비디오 컨텐츠를 복호화하는데 사용될 암호화 키를 다운로드받는 단계;
상기 요청한 비디오 컨텐츠를 다운로드받아 스트리밍하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 SPS(Sequence Parameter Sets)인 스트림을 검출하는 단계; 및
상기 검출된 스트림 중 SPS의 RBSP(Raw Byte Sequence Payload)를 상기 다운로드받은 암호화 키를 이용하여 복호화하는 복호화 단계
를 포함하는 비디오 컨텐츠 복호화 방법.
In the video content decoding method,
Requesting video content;
Downloading an encryption key to be used to decrypt the video content;
Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Sequence Parameter Sets (SPS) from among streams of the video content while downloading and streaming the requested video content; And
Decryption step of decrypting a raw byte sequence payload (RBSP) of the SPS of the detected stream by using the downloaded encryption key
Video content decoding method comprising a.
제 3 항에 있어서,
상기 복호화 단계는,
NAL 유닛의 타입이 SPS인 스트림이 검출되지 않으면, 상기 비디오 컨텐츠를 재생하는 단계; 및
NAL 유닛의 타입이 SPS인 스트림이 검출되면, 상기 검출된 스트림 중 SPS의 RBSP를 상기 다운로드받은 암호화 키를 이용하여 복호화한 후에 상기 비디오 컨텐츠를 재생하는 단계
를 포함하는 비디오 컨텐츠 복호화 방법.
The method of claim 3, wherein
The decoding step,
If the stream whose type of NAL unit is SPS is not detected, playing the video content; And
If a stream having a NAL unit type SPS is detected, decoding the RBSP of the SPS using the downloaded encryption key and then playing the video content.
Video content decoding method comprising a.
비디오 컨텐츠 암호화 방법에 있어서,
비디오 컨텐츠의 전송을 요청받는 단계;
암호화 키 생성기를 이용하여 암호화 수행에 사용할 암호화 키를 생성하는 단계;
상기 요청받은 비디오 컨텐츠를 전송하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 PPS(Picture Parameter Sets)인 스트림을 검출하는 단계; 및
상기 검출된 스트림 중 PPS의 RBSP(Raw Byte Sequence Payload)를 상기 생성된 암호화 키를 이용하여 암호화하는 암호화 단계
를 포함하는 비디오 컨텐츠 암호화 방법.
In the video content encryption method,
Receiving a request for transmission of video content;
Generating an encryption key for performing encryption using an encryption key generator;
Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Picture Parameter Sets (PPS) among streams of the video content while transmitting the requested video content; And
Encrypting a raw byte sequence payload (RBSP) of the PPS from the detected stream using the generated encryption key
Video content encryption method comprising a.
제 5 항에 있어서,
상기 암호화 단계는,
NAL 유닛의 타입이 PPS인 스트림이 검출되지 않으면, 패킷을 생성하여 모바일 단말 장치로 전송하는 단계; 및
NAL 유닛의 타입이 PPS인 스트림이 검출되면, 상기 검출된 스트림 중 PPS의 RBSP를 상기 생성된 암호화 키를 이용하여 암호화한 후에 패킷을 생성하여 상기 모바일 단말 장치로 전송하는 단계
를 포함하는 비디오 컨텐츠 암호화 방법.
The method of claim 5, wherein
The encryption step,
If a stream whose type of NAL unit is PPS is not detected, generating a packet and transmitting the packet to the mobile terminal device; And
If a stream having a NAL unit type PPS is detected, encrypting the RBSP of the PPS using the generated encryption key, and then generating a packet and transmitting the packet to the mobile terminal device.
Video content encryption method comprising a.
비디오 컨텐츠 복호화 방법에 있어서,
비디오 컨텐츠를 요청하는 단계;
상기 비디오 컨텐츠를 복호화하는데 사용될 암호화 키를 다운로드받는 단계;
상기 요청한 비디오 컨텐츠를 다운로드받아 스트리밍하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 PPS(Picture Parameter Sets)인 스트림을 검출하는 단계; 및
상기 검출된 스트림 중 PPS의 RBSP(Raw Byte Sequence Payload)를 상기 다운로드받은 암호화 키를 이용하여 복호화하는 복호화 단계
를 포함하는 비디오 컨텐츠 복호화 방법.
In the video content decoding method,
Requesting video content;
Downloading an encryption key to be used to decrypt the video content;
Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Picture Parameter Sets (PPS) from among streams of the video content while downloading and streaming the requested video content; And
Decryption step of decrypting a raw byte sequence payload (RBSP) of the PPS of the detected stream using the downloaded encryption key
Video content decoding method comprising a.
제 7 항에 있어서,
상기 복호화 단계는,
NAL 유닛의 타입이 PPS인 스트림이 검출되지 않으면, 상기 비디오 컨텐츠를 재생하는 단계; 및
NAL 유닛의 타입이 PPS인 스트림이 검출되면, 상기 검출된 스트림 중 PPS의 RBSP를 상기 다운로드받은 암호화 키를 이용하여 복호화한 후에 상기 비디오 컨텐츠를 재생하는 단계
를 포함하는 비디오 컨텐츠 복호화 방법.
The method of claim 7, wherein
The decoding step,
If the stream whose type of NAL unit is PPS is not detected, playing the video content; And
If a stream having a type of NAL unit PPS is detected, decoding the RBSP of the PPS using the downloaded encryption key and then playing the video content.
Video content decoding method comprising a.
컨텐츠 서버에,
비디오 컨텐츠의 전송을 요청받는 단계;
암호화 키 생성기를 이용하여 암호화 수행에 사용할 암호화 키를 생성하는 단계;
상기 요청받은 비디오 컨텐츠를 전송하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 SPS(Sequence Parameter Sets)인 스트림을 검출하는 단계; 및
상기 검출된 스트림 중 SPS의 RBSP(Raw Byte Sequence Payload)를 상기 생성된 암호화 키를 이용하여 암호화하는 암호화 단계
를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.
On the content server,
Receiving a request for transmission of video content;
Generating an encryption key for performing encryption using an encryption key generator;
Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Sequence Parameter Sets (SPS) among streams of the video content while transmitting the requested video content; And
Encrypting a raw byte sequence payload (RBSP) of the detected stream using the generated encryption key;
A computer-readable recording medium having recorded thereon a program for realizing this.
프로세서를 구비한 단말 장치에,
비디오 컨텐츠를 요청하는 단계;
상기 비디오 컨텐츠를 복호화하는데 사용될 암호화 키를 다운로드받는 단계;
상기 요청한 비디오 컨텐츠를 다운로드받아 스트리밍하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 SPS(Sequence Parameter Sets)인 스트림을 검출하는 단계; 및
상기 검출된 스트림 중 SPS의 RBSP(Raw Byte Sequence Payload)를 상기 다운로드받은 암호화 키를 이용하여 복호화하는 복호화 단계
를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.
In a terminal device having a processor,
Requesting video content;
Downloading an encryption key to be used to decrypt the video content;
Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Sequence Parameter Sets (SPS) from among streams of the video content while downloading and streaming the requested video content; And
Decryption step of decrypting a raw byte sequence payload (RBSP) of the SPS of the detected stream by using the downloaded encryption key
A computer-readable recording medium having recorded thereon a program for realizing this.
컨텐츠 서버에,
비디오 컨텐츠의 전송을 요청받는 단계;
암호화 키 생성기를 이용하여 암호화 수행에 사용할 암호화 키를 생성하는 단계;
상기 요청받은 비디오 컨텐츠를 전송하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 PPS(Picture Parameter Sets)인 스트림을 검출하는 단계; 및
상기 검출된 스트림 중 PPS의 RBSP(Raw Byte Sequence Payload)를 상기 생성된 암호화 키를 이용하여 암호화하는 암호화 단계
를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.
On the content server,
Receiving a request for transmission of video content;
Generating an encryption key for performing encryption using an encryption key generator;
Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Picture Parameter Sets (PPS) among streams of the video content while transmitting the requested video content; And
Encrypting a raw byte sequence payload (RBSP) of the PPS from the detected stream using the generated encryption key
A computer-readable recording medium having recorded thereon a program for realizing this.
프로세서를 구비한 단말 장치에,
비디오 컨텐츠를 요청하는 단계;
상기 비디오 컨텐츠를 복호화하는데 사용될 암호화 키를 다운로드받는 단계;
상기 요청한 비디오 컨텐츠를 다운로드받아 스트리밍하면서 상기 비디오 컨텐츠의 스트림 중 NAL(Network Adaptation Layer) 유닛의 타입이 PPS(Picture Parameter Sets)인 스트림을 검출하는 단계; 및
상기 검출된 스트림 중 PPS의 RBSP(Raw Byte Sequence Payload)를 상기 다운로드받은 암호화 키를 이용하여 복호화하는 복호화 단계
를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.
In a terminal device having a processor,
Requesting video content;
Downloading an encryption key to be used to decrypt the video content;
Detecting a stream having a type of Network Adaptation Layer (NAL) unit of Picture Parameter Sets (PPS) from among streams of the video content while downloading and streaming the requested video content; And
Decryption step of decrypting a raw byte sequence payload (RBSP) of the PPS of the detected stream using the downloaded encryption key
A computer-readable recording medium having recorded thereon a program for realizing this.
KR1020100098842A 2010-10-11 2010-10-11 Method for lightweight video contents encryption and decryption to provide mobile contents service KR101145782B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100098842A KR101145782B1 (en) 2010-10-11 2010-10-11 Method for lightweight video contents encryption and decryption to provide mobile contents service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100098842A KR101145782B1 (en) 2010-10-11 2010-10-11 Method for lightweight video contents encryption and decryption to provide mobile contents service

Publications (2)

Publication Number Publication Date
KR20120037213A KR20120037213A (en) 2012-04-19
KR101145782B1 true KR101145782B1 (en) 2012-05-16

Family

ID=46138455

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100098842A KR101145782B1 (en) 2010-10-11 2010-10-11 Method for lightweight video contents encryption and decryption to provide mobile contents service

Country Status (1)

Country Link
KR (1) KR101145782B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101528273B1 (en) * 2013-05-10 2015-06-12 황선철 Method of encoding and decoding bytestream with nal structure

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140281559A1 (en) * 2013-03-15 2014-09-18 Marc Trachtenberg Systems and Methods for Distributing, Displaying, Viewing, and Controlling Digital Art and Imaging
CA2907306C (en) 2013-03-15 2021-10-19 Videri Inc. Systems and methods for displaying, distributing, viewing, and controlling digital art and imaging
KR20160014399A (en) 2014-07-29 2016-02-11 쿠도커뮤니케이션 주식회사 Image data providing method, image data providing apparatus, image data receiving method, image data receiving apparatus and system thereof
KR102436327B1 (en) * 2018-01-11 2022-08-25 삼성전자주식회사 Electronic apparatus for playing data and operating method thereof
KR101877535B1 (en) * 2018-02-12 2018-07-11 한화에어로스페이스 주식회사 Streaming image encryption method and computer program, streaming image decryption method and computer program
KR102348633B1 (en) * 2020-05-20 2022-01-11 국방과학연구소 Video encryption and decryption method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006279244A (en) * 2005-03-28 2006-10-12 Hitachi Kokusai Electric Inc Data transmission apparatus
KR100775169B1 (en) 2005-06-15 2007-11-12 엘지전자 주식회사 Method for playing broadcasting stream stored in digital broadcasting receiver
KR20080028673A (en) * 2006-09-27 2008-04-01 한국전자통신연구원 Apparatus and method of packaging/unpackaging h.264 movie file streamed or downloaded
KR100860003B1 (en) 2006-09-27 2008-09-25 한국전자통신연구원 Apparatus and method for protection of ts broadcast program with the h.264 form

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006279244A (en) * 2005-03-28 2006-10-12 Hitachi Kokusai Electric Inc Data transmission apparatus
KR100775169B1 (en) 2005-06-15 2007-11-12 엘지전자 주식회사 Method for playing broadcasting stream stored in digital broadcasting receiver
KR20080028673A (en) * 2006-09-27 2008-04-01 한국전자통신연구원 Apparatus and method of packaging/unpackaging h.264 movie file streamed or downloaded
KR100860003B1 (en) 2006-09-27 2008-09-25 한국전자통신연구원 Apparatus and method for protection of ts broadcast program with the h.264 form

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101528273B1 (en) * 2013-05-10 2015-06-12 황선철 Method of encoding and decoding bytestream with nal structure

Also Published As

Publication number Publication date
KR20120037213A (en) 2012-04-19

Similar Documents

Publication Publication Date Title
KR101617340B1 (en) System and method for signaling segment encryption and key derivation for adaptive streaming
US10158894B2 (en) Edge media router device for facilitating distribution and delivery of media content having end-to-end encryption
KR101145782B1 (en) Method for lightweight video contents encryption and decryption to provide mobile contents service
JP2018186524A (en) Content transmitting device and content reproduction device
US20220394358A1 (en) System and method for watermarking of media segments using sample variants for normalized encryption (svne)
KR101244308B1 (en) Encoding Method for moving picture file and the Digital right management using the same
JP7418533B2 (en) System and method for protecting elementary bitstreams incorporating independently encoded tiles
US6989773B2 (en) Media data encoding device
US7057535B2 (en) Methods for scaling encoded data without requiring knowledge of the encoding scheme
US8832434B2 (en) Methods for generating data for describing scalable media
US8850498B1 (en) Media adaptive distribution system and method
US7797454B2 (en) Media data transcoding devices
US20050183118A1 (en) Media data decoding device
US20140105392A1 (en) Method for selectively scrambling bit-streams
US7580520B2 (en) Methods for scaling a progressively encrypted sequence of scalable data
JP2005039835A (en) Individual video encryption system and method
KR101340203B1 (en) Encryption procedure and device for an audiovisual data stream
KR101215617B1 (en) Encoding Method for moving picture file and the Digital right management using the same
KR100728242B1 (en) System for protecting MPEG-2 TS files, apparatus and method of generating/playing protection MPEG-2 TS in its
Solé Castellví Common media application format. Implementation and analysis
Sadourny et al. WCAM: secured video surveillance with digital rights management
KR20120058373A (en) Video transmission and device playing system based on http streaming using svc server

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20150417

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20170327

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20180406

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20190402

Year of fee payment: 8