KR20110073149A - Method of packaging a digital content - Google Patents

Method of packaging a digital content Download PDF

Info

Publication number
KR20110073149A
KR20110073149A KR1020100007994A KR20100007994A KR20110073149A KR 20110073149 A KR20110073149 A KR 20110073149A KR 1020100007994 A KR1020100007994 A KR 1020100007994A KR 20100007994 A KR20100007994 A KR 20100007994A KR 20110073149 A KR20110073149 A KR 20110073149A
Authority
KR
South Korea
Prior art keywords
content
drm
file
compression
packaging
Prior art date
Application number
KR1020100007994A
Other languages
Korean (ko)
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 KR20110073149A publication Critical patent/KR20110073149A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/30Compression, e.g. Merkle-Damgard construction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/60Digital content management, e.g. content distribution
    • H04L2209/603Digital right managament [DRM]

Abstract

PURPOSE: A method for packaging digital contents is provided to reduce the size of packaged digital contents by implementing a lossless compression process with respect to original data before an encoding process. CONSTITUTION: A packaging interface part(50) receives original data. A key generating part(52) generates a contents encoding key with respect the original data. A digital rights management(DRM) header forming part(54) forms a DRM header based on DRM information with respect to the original data. An compressing part(56) compresses the original data using the contents encoding key without loss. An encoding part(58) implements an encoding process using the contents encoding key with respect to compressed original data.

Description

디지털 콘텐츠의 패키징 방법{Method of packaging a digital content}Method of packaging a digital content

본 발명은 디지털 콘텐츠의 패키징 방법에 관한 것으로, 보다 상세하게는 디지털 저작권 관리(DRM; Digital Rights Management) 시스템에서 무손실 압축을 이용한 디지털 콘텐츠의 패키징 방법에 관한 것이다.The present invention relates to a method for packaging digital content, and more particularly, to a method for packaging digital content using lossless compression in a digital rights management (DRM) system.

디지털 콘텐츠는 아날로그 콘텐츠와 달리 수 차례에 걸친 복제후에도 원본과 동일한 품질을 유지하는 비파괴성, 보관이 편리한 편리성, 및 여러 종류의 디지털 콘텐츠끼리 쉽게 결합할 수 있는 결합성 등의 특징을 갖는다. Unlike analog content, digital content has features such as nondestructiveness that maintains the same quality as the original after several copies, convenience for archiving, and the ability to easily combine various types of digital content.

이러한 특성을 지닌 디지털 콘텐츠가 인터넷 통신매체를 만나는 경우에 원본과 동일한 복사본이 무한적으로 급속히 전파될 수 있다. 따라서, 많은 자본과 노력을 투입하여 제작한 콘텐츠 보유업체들이 자신이 지닌 콘텐츠를 디지털화하여 인터넷에 상품화하기를 꺼리게 된다. 이러한 풍토는 결국 콘텐츠 소비자(이용자)가 고품질의 콘텐츠를 제공받을 수 있는 기회를 잃어버리는 불이익을 초래하게 된다.When digital content having such characteristics meets Internet communication media, the same copy as the original can be propagated infinitely rapidly. As a result, content owners who have invested so much capital and effort are reluctant to digitize their content and commercialize it on the Internet. This climate eventually results in a disadvantage that the content consumer (user) loses the opportunity to receive high quality content.

그에 따라, 저작권자의 저작권을 보호하기 위해 디지털 저작권 관리(DRM: Digital Rights Management) 시스템이 등장하였다.Accordingly, digital rights management (DRM) systems have emerged to protect copyrights of copyright holders.

디지털 저작권 관리(DRM) 시스템은 보통 음악파일과 같은 디지털 음원, 동영상 파일 등의 온라인 정보자산을 보호해 주는데 사용된다. 현재에는 디지털 콘텐츠의 고속 발전으로 인해 디지털 저작권 관리(DRM) 시스템의 대상이 되는 콘텐츠들이 디지털 음원이나 영상에 국한되지 않고, 지리정보 또는 문서와 같은 다양한 콘텐츠들로 확산되고 있다.Digital rights management (DRM) systems are commonly used to protect online information assets such as digital music and video files such as music files. Nowadays, due to the rapid development of digital contents, contents that are the subject of a digital rights management (DRM) system are not limited to digital sound sources or images, but are spread to various contents such as geographic information or documents.

이와 같은 디지털 저작권 관리(DRM) 시스템을 이용한 콘텐츠 유통 과정을 개략적으로 살펴보면 다음과 같다. 음원이나 영상 콘텐츠를 암호화하여 사용자에게 전달한 후에 서버에서 라이센스(license)를 사용자에게 발급함으로써, 사용자가 음원 콘텐츠 또는 영상 콘텐츠를 이용할 수 있게 된다. 라이센스(license)는 암호화된 콘텐츠를 복호화하는데 사용되는 복호화 키 및 콘텐츠의 사용권리(예컨대, 횟수, 기간 등)를 명시하는 내용들을 담고 있는 데이터를 의미한다.The contents distribution process using the digital rights management (DRM) system is outlined as follows. After encrypting and transmitting the sound source or the video content to the user, the server issues a license to the user, so that the user can use the sound source content or the video content. License refers to data containing contents specifying the decryption key used to decrypt the encrypted content and the right to use the content (eg, number of times, duration, etc.).

이러한 종래의 디지털 저작권 관리(DRM) 시스템은 음원으로 영상 콘텐츠를 유통시킬 경우에는 개선의 여지가 없지만, 지리정보와 같은 대용량 콘텐츠 또는 대용량 문서 콘텐츠를 대상으로 유통시킬 경우에는 성능에 대한 개선이 필요하다.Such a conventional digital rights management (DRM) system has no room for improvement when distributing video content as a sound source, but it is necessary to improve performance when distributing large content such as geographic information or large document content. .

즉, 서비스 제공자의 저장소에 대한 문제가 발생한다. 지리정보와 같은 콘텐츠는 데이터의 크기가 상당히 크기 때문에 패키징(암호화)된 콘텐츠를 관리하는 데에 추가적인 저장소가 필요하게 되고, 이는 서비스 제공자의 서비스 구축비용의 증가를 야기시킨다.That is, a problem arises with the repository of the service provider. Content such as geographic information is quite large in size, requiring additional storage to manage the packaged (encrypted) content, which leads to an increase in the service construction cost of the service provider.

그리고, 패키징(암호화)된 콘텐츠를 사용자에게 전달하면서 발생하는 네트워크 트래픽에 대한 문제가 발생한다. 지리정보와 같은 콘텐츠는 데이터 크기가 크기 때문에 서비스 제공자로부터 사용자에게 전달되기까지 상당한 네트워크 리소스를 사용한다. 그로 인해, 서비스 사용자는 추가적인 네트워크 리소스 확보가 필요하게 되고, 이는 서비스 제공자의 서비스 구축비용의 증가를 야기시킨다. 또한, 사용자의 관점에서 많은 용량을 전달받아야 하기 때문에 서비스에 대한 불만족도 크다.Then, there is a problem about network traffic generated while delivering the packaged (encrypted) content to the user. Content such as geographic information uses a large amount of network resources from the service provider to the user because of the large data size. As a result, service users need to secure additional network resources, which leads to an increase in the service construction cost of the service provider. In addition, dissatisfaction with the service because a large amount of capacity must be delivered from the user's point of view.

또한, 사용자의 저장소에 대한 문제가 발생한다. 서비스 제공자로부터 전달받은 패키징된 지리정보 또는 문서 데이터는 종국적으로 사용자의 PC에 저장된다. 결국 사용자에게 원본의 크기 이상의 데이터를 보유하게 하여야 하므로, 사용자 PC의 저장소 증가를 요구하게 된다.In addition, problems arise with the user's repository. Packaged geographic information or document data received from the service provider is ultimately stored on the user's PC. As a result, the user must have more data than the size of the original, and thus requires an increase in the storage of the user's PC.

본 발명은 상기한 종래의 문제점을 해결하기 위해 제안된 것으로, 서비스 제공자의 스토리지 및 네트워크 리소스에 대한 사용을 감소시키고 사용자의 저장 공간을 감소시킬 수 있도록 한 디지털 콘텐츠의 패키징 방법을 제공함에 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been proposed to solve the above-mentioned conventional problems, and an object thereof is to provide a method of packaging digital content that can reduce the use of storage and network resources of a service provider and reduce the storage space of a user. have.

본 발명은 디지털 콘텐츠를 단순히 암호화만으로 패키징하여 사용자에게 유통시키는 방식을 탈피하여, 서버에서 원본 콘텐츠를 압축한 뒤 암호화하는 패키징을 통해 유통시키는 것을 과제로 한다. 이와 같이 하면, 사용자가 디지털 콘텐츠를 전달받는 시간을 줄여 사용자의 불편을 해소하고, 서버의 저장소와 네트워크에 대한 비용을 절감하여 양질의 콘텐츠를 더 적은 비용으로 제공하게 된다.
An object of the present invention is to circumvent a method of distributing digital content simply by encrypting and distributing it to a user, and then distributing it through packaging that compresses and encrypts the original content in a server. In this way, the user can reduce the time to receive the digital content to solve the user's inconvenience, reduce the cost for the server storage and network to provide high-quality content at a lower cost.

상기와 같은 목적을 달성하기 위하여 본 발명의 바람직한 실시양태에 따른 디지털 콘텐츠의 패키징 방법은, 압축부가, 패키징 요청을 수반한 원본 파일에 대하여 압축을 행하는 압축 단계; 및 암호화부가, 압축된 원본 파일을 암호화하는 암호화 단계;를 포함한다.In order to achieve the above object, a packaging method of digital content according to a preferred embodiment of the present invention, the compression unit, the compression step of compressing the original file accompanying a packaging request; And an encryption step of encrypting, by the encryption unit, the compressed original file.

바람직하게, 압축 단계는 무손실 압축을 행한다.Preferably, the compression step performs lossless compression.

압축 단계는 원본 파일의 전체 영역을 압축한다. 이 경우, 암호화 단계는 전체 압축된 원본 파일의 전체를 암호화한다.The compression step compresses the entire area of the original file. In this case, the encryption step encrypts the entire compressed original file.

압축 단계는 원본 파일에 대하여 부분 압축을 행한다. 압축 단계의 부분 압축은 원본 파일의 실제 데이터가 실린 영역에 대하여 압축을 행한다. 이 경우, 암호화 단계는 부분 압축이 행해진 원본 파일에 대하여 부분 압축이 행해진 영역을 암호화한다. 다르게는, 암호화 단계는 부분 압축이 행해진 원본 파일의 전체를 암호화한다.The compression step performs partial compression on the original file. Partial compression of the compression step compresses the area containing the actual data of the original file. In this case, the encryption step encrypts the region in which partial compression is performed on the original file in which partial compression has been performed. Alternatively, the encryption step encrypts the entirety of the original file, which has been partially compressed.

이러한 구성의 본 발명에 따르면, 패키징시 암호화 이전에 원본에 대해 무손실 압축을 함으로써 패키징된 콘텐츠의 크기를 줄이게 된다. 그로 인해, 서버의 효율성을 높이고, 콘텐츠의 효율적인 유통이 가능하게 된다.According to the present invention of such a configuration, the size of the packaged content is reduced by lossless compression of the original before encryption at the time of packaging. As a result, the efficiency of the server can be improved and the contents can be efficiently distributed.

즉, 패키징시 원본 파일에 대한 압축 및 암호화를 행하므로 기존 방법에 비해 유통되는 콘텐츠의 크기가 작게 된다. 그에 따라, 서비스 유지에 필요한 저장매체와 네트워크 리소스에 대한 비용이 절감된다.In other words, since the original file is compressed and encrypted at the time of packaging, the size of the distributed content is smaller than that of the conventional method. As a result, the cost of storage media and network resources required for service maintenance is reduced.

또한, 사용자가 콘텐츠를 보유하기도 용이하여 사용자에게 저장측면에서의 편의를 제공한다.In addition, the user can easily hold the content to provide the user with convenience in terms of storage.

도 1은 본 발명의 실시예에 따른 디지털 콘텐츠의 패키징 방법이 적용된 DRM 서비스 시스템의 구성을 나타낸 예시도이다.
도 2는 도 1의 콘텐츠 패키저의 내부 구성도이다.
도 3은 도 1의 DRM 에이전트의 내부 구성도이다.
도 4는 본 발명의 실시예에 따른 디지털 콘텐츠 패키징 방법을 설명하는 플로우차트이다.
도 5는 본 발명에 채용되는 압축을 설명하기 위한 예시도이다.
도 6 내지 도 8은 본 발명에 채용되는 압축 및 암호화를 설명하기 위한 예시도이다.
1 is an exemplary diagram illustrating a configuration of a DRM service system to which a digital content packaging method according to an embodiment of the present invention is applied.
FIG. 2 is a diagram illustrating an internal configuration of the content packager of FIG. 1.
3 is a diagram illustrating an internal configuration of the DRM agent of FIG. 1.
4 is a flowchart illustrating a digital content packaging method according to an embodiment of the present invention.
5 is an exemplary view for explaining the compression employed in the present invention.
6 to 8 are exemplary diagrams for explaining the compression and encryption employed in the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 실시예에 따른 디지털 콘텐츠의 패키징 방법에 대하여 설명하면 다음과 같다. 본 발명의 상세한 설명에 앞서, 이하에서 설명되는 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니된다. 따라서, 본 명세서에 기재된 실시예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일실시예에 불과할 뿐이고 본 발명의 기술적 사상을 모두 대변하는 것은 아니므로, 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형예들이 있을 수 있음을 이해하여야 한다.
Hereinafter, a method of packaging digital content according to an embodiment of the present invention will be described with reference to the accompanying drawings. Prior to the detailed description of the present invention, terms and words used in the present specification and claims should not be construed as limited to ordinary or dictionary terms. Therefore, the embodiments described in the specification and the drawings shown in the drawings are only one of the most preferred embodiments of the present invention and do not represent all of the technical idea of the present invention, various modifications that can be replaced at the time of the present application It should be understood that there may be equivalents and variations.

도 1은 본 발명의 실시예에 따른 디지털 콘텐츠의 패키징 방법이 적용된 DRM 서비스 시스템의 구성을 나타낸 예시도이다. 도 1에 제시된 구성 요소중 일부의 구성 요소는 일반적으로 서비스되는 DRM 서비스 시스템과 대동소이하다.1 is an exemplary diagram illustrating a configuration of a DRM service system to which a digital content packaging method according to an embodiment of the present invention is applied. Some of the components shown in FIG. 1 are generally similar to the serviced DRM service system.

DRM 에이전트(12)는 사용자에 의해 조작되는 단말기이다. The DRM agent 12 is a terminal operated by a user.

프리젠테이션 서버(14)는 DRM 에이전트(12)를 통해 사용자로부터의 콘텐츠 구매 의사가 있게 되면 과금 시스템(16)과 연계하여 구매에 관련된 부분을 처리한다. 구매에 관련된 부분의 처리가 완료되면 프리젠테이션 서버(14)는 비즈니스 서버(18)에게로 DRM 콘텐츠를 요청한다.The presentation server 14 processes the part related to the purchase in connection with the charging system 16 when there is a willingness to purchase the content from the user through the DRM agent 12. When the processing of the part related to the purchase is completed, the presentation server 14 requests the DRM content to the business server 18.

비즈니스 서버(18)는 DRM 서버(100)에게 해당 DRM 콘텐츠의 원본 파일에 대한 패키징을 요청하고 사용자의 사용권한을 DRM 서버(100)에게로 전달한다.The business server 18 requests the DRM server 100 to package the original file of the corresponding DRM content and transfers the user's permission to the DRM server 100.

DRM 서버(100)의 인터페이스 서버(30)는 입력된 사용자의 사용권한 및 패키징을 요청한 해당 DRM 콘텐츠에 대한 정보를 관리를 위해 데이터베이스(34)에 저장한다.The interface server 30 of the DRM server 100 stores the input user's usage rights and information on the corresponding DRM content that requested packaging in the database 34 for management.

DRM 서버(100)의 콘텐츠 패키저(Contents Packager)(36)는 해당 DRM 콘텐츠의 원본 파일에 대하여 무손실 압축을 행한 후에 패키징한다. 무손실 압축을 행하기 전에, 콘텐츠 패키저(36)는 패키징 요청에 의해 콘텐츠 암호화 키를 생성하고 DRM 정보(즉, 해당 DRM 콘텐츠에 대한 정보)를 이용하여 헤더를 구성한다. 콘텐츠 패키저(36)는 무손실 압축된 원본 파일에 대해 콘텐츠 암호화 키로 암호화한다. 콘텐츠 패키저(36)는 구성된 헤더정보와 암호화된 데이터를 DRM 콘텐츠의 파일로 구성시켜 다운로드 서버(38)에게로 전달한다.The contents packager 36 of the DRM server 100 packages the original file of the DRM content after lossless compression. Prior to lossless compression, the content packager 36 generates a content encryption key by means of a packaging request and constructs a header using the DRM information (ie, information about the DRM content). The content packager 36 encrypts the lossless compressed original file with the content encryption key. The content packager 36 configures the configured header information and the encrypted data into a file of the DRM content and delivers the file to the download server 38.

DRM 서버(100)의 다운로드 서버(38)는 전달받은 DRM콘텐츠의 파일을 DRM 에이전트(12)에게로 다운로드시킴으로써 사용자가 확인할 수 있게 한다.The download server 38 of the DRM server 100 downloads the file of the received DRM content to the DRM agent 12 so that the user can check it.

도 1에서, 미설명 부호 20은 통상의 콘텐츠 관리 서버(CMS: Content Management Server)이고, 미설명 부호 22는 콘텐츠 관리 서버(20)의 데이터베이스이다. 미설명 부호 32는 다운로드되는 DRM 콘텐츠에 해당하는 권리객체를 제공하는 권리객체 발급 서버이다.
In FIG. 1, reference numeral 20 denotes a conventional content management server (CMS), and reference numeral 22 denotes a database of the content management server 20. Reference numeral 32 is a rights object issuing server that provides a rights object corresponding to the downloaded DRM content.

본 발명은 패키징시 암호화 이전에 원본 파일에 대해 무손실 압축을 함으로써, 패키징된 콘텐츠의 크기를 줄이고, 그 결과 서버의 효율성을 높이고 콘텐츠의 효율적인 유통이 가능하도록 함을 주된 과제로 한다. 그에 따라, 도 1의 구성 요소중에서 콘텐츠 패키저(36)의 역할이 매우 중요하다고 할 수 있다.The present invention is to reduce the size of the packaged content by lossless compression to the original file prior to the encryption at the time of packaging, as a result, to increase the efficiency of the server and to enable efficient distribution of the content. Accordingly, it can be said that the role of the content packager 36 among the components of FIG. 1 is very important.

도 2는 도 1의 콘텐츠 패키저(36)의 내부 구성도이다.FIG. 2 is a diagram illustrating an internal configuration of the content packager 36 of FIG. 1.

콘텐츠 패키저(36)는 패키징 인터페이스부(50), 키 생성부(52), DRM 헤더 구성부(54), 압축부(56), 암호화부(58), 및 파일 구성부(60)를 포함한다.The content packager 36 includes a packaging interface unit 50, a key generating unit 52, a DRM header constructing unit 54, a compressing unit 56, an encryption unit 58, and a file constructing unit 60. .

패키징 인터페이스부(50)는 패키징 요청을 수반한 원본 파일을 입력받는다.The packaging interface unit 50 receives an original file accompanied by a packaging request.

키 생성부(52)는 패키징 인터페이스부(50)를 통해 입력되는 원본 파일에 대한 콘텐츠 암호화 키(CEK: Content Encryption Key)를 생성한다. The key generation unit 52 generates a content encryption key (CEK) for the original file input through the packaging interface unit 50.

DRM 헤더 구성부(54)는 원본 파일에 대한 DRM 정보(즉, 콘텐츠 메타 데이터)로 DRM 헤더를 구성한다. 여기서, 콘텐츠 메타 데이터는 콘텐츠에 대한 부연 설명을 담고 있는 데이터를 의미한다. 예컨대, 콘텐츠 메타 데이터로는 디지털 콘텐츠를 식별하기 위한 식별자(Content ID), 원본 디지털 콘텐츠의 타입(Mime-Type), 해당 권리객체를 발급받을 수 있는 URL(Rights Issuer URL), 및 암호화 방식 등이 포함된다.The DRM header configuration unit 54 constructs a DRM header with DRM information (ie, content metadata) for the original file. Here, the content metadata refers to data containing additional description of the content. For example, the content metadata may include an ID for identifying digital content, a mime-type of the original digital content, a right issuer URL for obtaining the right object, and an encryption method. Included.

압축부(56)는 키 생성부(52)에서 생성된 콘텐츠 암호화 키로 원본 파일을 무손실 압축한다. The compression unit 56 losslessly compresses the original file with the content encryption key generated by the key generation unit 52.

암호화부(58)는 압축부(56)에서 압축된 원본 파일에 대하여 키 생성부(52)에서 생성된 콘텐츠 암호화 키로 암호화를 진행한다.The encryption unit 58 encrypts the original file compressed by the compression unit 56 with the content encryption key generated by the key generation unit 52.

파일 구성부(60)는 DRM 헤더 구성부(54)에 의한 DRM 헤더 정보와 암호화부(58)에 의한 암호화된 원본 파일을 DRM 콘텐츠 파일로 구성시켜 출력한다.
The file construction unit 60 configures and outputs the DRM header information by the DRM header construction unit 54 and the original file encrypted by the encryption unit 58 as a DRM content file.

본 발명의 실시예에서는 대용량 U-GIS 콘텐츠를 무손실 압축하에 보호하기 위해 DRM 콘텐츠 파일 포맷은 OMA DRM v2.0 DCF(DRM Content Format)를 확장하여 활용한 것으로 가정한다. 그에 따라, 파일 구성부(60)에 의해 구성된 DRM 콘텐츠 파일은 기존 콘텐츠 오브젝트 삽입 영역에 대용량 지리정보 데이터가 7z 파일 포맷으로 압축되어 삽입된다. DRM 헤더에 DRM 콘텐츠 패키징된 파일이 7z 파일 포맷임을 표시하기 위해 Mime-Type 필드에 "application/x-7z-compressed"로 설정된다. 7-Zip은 OMA DRM에서 지원하는 AES-256 암호화 알고리즘을 지원하고, 256 비트 AES계산에 따른 압축을 이용하므로 패딩(Padding) 스킴(Null-padding)은 7-Zip에서 사용하는 것을 따른다.
In an embodiment of the present invention, it is assumed that the DRM content file format extends the OMA DRM v2.0 DCF (DRM Content Format) to protect a large amount of U-GIS content under lossless compression. As a result, the DRM content file constructed by the file structuring unit 60 is inserted into the existing content object insertion area by compressing a large amount of geographic information data in the 7z file format. In the DRM header, the DRM content packaged file is set to "application / x-7z-compressed" in the Mime-Type field to indicate that the file is a 7z file format. 7-Zip supports the AES-256 encryption algorithm supported by OMA DRM and uses compression based on 256-bit AES calculation, so the padding scheme (null-padding) follows that used by 7-Zip.

도 3은 도 1의 DRM 에이전트(12)의 내부 구성도이다.3 is a diagram illustrating an internal configuration of the DRM agent 12 of FIG. 1.

DRM 에이전트(12)는 압축 라이브러리(70), DRM 포맷 라이브러리(72), 및 DRM 인터페이스(74)를 포함한다.DRM agent 12 includes a compression library 70, a DRM format library 72, and a DRM interface 74.

압축 라이브러리(70)는 복호화된 데이터에 대해서 압축을 해제한다.The compression library 70 decompresses the decoded data.

DRM 포맷 라이브러리(72)는 DRM 인터페이스(74)를 통해 입력되는 암호화된 DRM 콘텐츠 파일을 복호화한다.The DRM format library 72 decrypts the encrypted DRM content file input via the DRM interface 74.

압축을 적용하여 패키징된 DRM 파일이 사용자에게 전달되면 사용자는 일반 DRM 파일과 같은 방식으로 사용할 수 있어야 한다. 압축 라이브러리(70)가 적용된 DRM 에이전트(12)는 일반적인 파일 I/O처럼 사용할 수 있도록 설계되었다. 그에 따라, 압축이 적용된 DRM 에이전트(12)는 암호화에 대한 복호화를 지원하고, 복호화된 데이터에 대해서 압축을 해제하기 위해 압축 라이브러리(70)를 이용한다. DRM 에이전트(12)에 의해 사용자에게 전달되는 데이터는 실제 원본 콘텐츠의 데이터이다.
When the packaged DRM file is delivered to the user by applying compression, the user should be able to use it in the same way as a normal DRM file. The DRM agent 12 to which the compression library 70 is applied is designed to be used as a general file I / O. Accordingly, the compressed DRM agent 12 supports decryption for encryption and uses the compression library 70 to decompress the decrypted data. The data delivered to the user by the DRM agent 12 is the data of the actual original content.

이어, 본 발명의 실시예에 따른 디지털 콘텐츠의 패키징 방법에 대하여 도 4의 플로우차트를 참조하여 설명하면 다음과 같다. 도 5는 본 발명에 채용되는 압축을 설명하기 위한 예시도이다. 이하에서 설명될 디지털 콘텐츠의 패키징 방법은 주로 콘텐츠 패키저(36)에서 행해지는 동작으로 이해하여도 무방하다. Next, a method of packaging digital content according to an embodiment of the present invention will be described with reference to the flowchart of FIG. 4. 5 is an exemplary view for explaining the compression employed in the present invention. The method of packaging digital content to be described below may be understood as an operation mainly performed in the content packager 36.

먼저, 패키징 인터페이스부(50)가 패키징 요청을 수반한 원본 파일을 입력받는다(S10).First, the packaging interface unit 50 receives an original file accompanying a packaging request (S10).

패키징 요청을 수반한 원본 파일은 패키징 인터페이스부(50)를 통해 키 생성부(52)에게로 전달된다. 그에 따라, 키 생성부(52)는 입력받은 원본 파일에 대한 콘텐츠 암호화 키(CEK: Content Encryption Key)를 생성한다(S12). 생성된 콘텐츠 암호화 키는 기존 7-Zip에서 사용된 사용자 패스워드 설정부분(CryptoSetPassword)에 설정된다.The original file accompanying the packaging request is delivered to the key generation unit 52 through the packaging interface unit 50. Accordingly, the key generation unit 52 generates a content encryption key (CEK) for the received original file (S12). The generated content encryption key is set in the user password setting part (CryptoSetPassword) used in the existing 7-Zip.

그리고, DRM 헤더 구성부(54)에서는 원본 파일에 대한 DRM 정보(즉, 콘텐츠 메타 데이터)를 이용하여 DRM 헤더를 구성한다(S14). In addition, the DRM header configuration unit 54 configures the DRM header using the DRM information (ie, content metadata) of the original file (S14).

이후, 압축부(56)는 콘텐츠 암호화 키(CEK: Content Encryption Key)를 이용하여 원본 파일을 무손실 압축한다(S16). 여기서, 무손실 압축이라 함은 원래 내용을 그대로 디코딩하는 것을 의미한다. 예를 들어, 도 5의 (a)에서와 같이 원본 데이터가 "888883333333"일 경우, 무손실 압축의 표현은 도 5의 (b)에서와 같이 "8"이 5번 연속되고 "3"이 7번 연속되고 있다고 표현한다. 그러나, 손실 압축의 표현은 도 5의 (c)에서와 같이 "8"과 "3"만을 표현한다. 즉, 손실 압축의 경우는 데이터의 크기를 많이 줄여준다는 장점은 있으나 원본 데이터의 손실을 야기시킨다. 그러나, 무손실 압축의 경우는 원본 데이터의 손실없이 디코딩하게 된다.Thereafter, the compression unit 56 losslessly compresses the original file using a content encryption key (CEK) (S16). Here, lossless compression means decoding original content as it is. For example, when the original data is "888883333333" as shown in (a) of FIG. 5, the expression of lossless compression is that "8" is five times consecutive and "3" is seven times as shown in (b) of FIG. 5. Express that it is continuous. However, the expression of lossy compression represents only "8" and "3" as in FIG. 5C. In other words, lossy compression has the advantage of greatly reducing the size of data, but causes loss of original data. However, in the case of lossless compression, decoding is performed without loss of original data.

이어, 암호화부(58)는 압축부(56)에서 압축완료된 원본 파일에 대하여 콘텐츠 암호화 키로 암호화를 진행한다(S18).Subsequently, the encryption unit 58 encrypts the original file compressed by the compression unit 56 with the content encryption key (S18).

최종적으로, 파일 구성부(60)는 DRM 헤더 정보와 암호화된 원본 파일을 DRM 콘텐츠 파일로 구성시켜 출력한다(S20). Finally, the file configuration unit 60 configures and outputs the DRM header information and the encrypted original file into a DRM content file (S20).

결국, 파일 구성부(60)에서 출력되는 DRM 콘텐츠 파일은 다운로드 서버(38)를 통해 DRM 에이전트(12)를 거쳐 사용자에게 전달된다.
As a result, the DRM content file output from the file configuration unit 60 is delivered to the user via the DRM agent 12 through the download server 38.

상술한 본 발명의 실시예에서 DRM을 패키징하는데 사용되는 원본 파일은 사용에 따라서 전체적 또는 부분적으로 압축될 수 있다. 전체 압축은 원본 파일 전체에 대한 압축을 진행한다. 부분 압축은 원본 파일의 특성에 따라 페이로드 단위 또는 특정 기준으로 압축을 진행한다. 부분 압축일 경우는 전체 압축과 전체적인 서비스 시나리오는 동일하지만, 압축 라이브러리(70)가 부분적으로 압축된 파일을 제어할 수 있음을 전제한다.
In the above-described embodiment of the present invention, the original file used to package the DRM may be compressed in whole or in part according to use. Full compression proceeds to compress the entire original file. Partial compression is performed on a payload basis or on a specific basis, depending on the characteristics of the original file. In the case of partial compression, the overall compression and the overall service scenario are the same, but it is assumed that the compression library 70 can control the partially compressed file.

도 6 내지 도 8은 본 발명에 채용되는 압축 및 암호화를 보다 자세히 설명하기 위한 예시도이다.6 to 8 are exemplary views for explaining in more detail the compression and encryption employed in the present invention.

도 6은 원본 파일의 전체 영역을 압축하고 전체 영역이 압축된 원본 파일의 전체를 암호화한 것을 보여준다. 전체 압축에 대한 전체 암호화는 암호화 알고리즘과 패딩(Padding)방식에 따라 압축된 파일의 길이(크기) n에 대해 암호화된 파일의 길이(크기) cn은 cn≥n을 성립한다.6 shows that the entire area of the original file is compressed and the entire area is encrypted in the entire compressed original file. The total encryption for the full compression is the length (size) of the encrypted file for the length (size) n of the compressed file according to the encryption algorithm and the padding method, cn≥n.

도 7은 원본 파일의 헤더와 같은 특정 영역은 압축하지 않고 일부 영역(즉, 실제 데이터가 수록되는 영역)만 압축하고 그 압축된 일부 영역에 대해서만 암호화한 것을 보여준다. 도 7의 경우에도, 압축된 일정 영역의 길이(크기) n1, n2에 대해 암호화된 일정 영역의 파일의 길이(크기) cn1, cn2는 cn1≥n1, cn2≥n2을 성립한다.Fig. 7 shows that only a partial region (that is, a region containing actual data) is compressed without encrypting a specific region, such as a header of the original file, and encrypted only for the compressed partial region. In the case of Fig. 7, the lengths (sizes) cn1 and cn2 of the encrypted constant area files cn1 and cn2 for the lengths (sizes) n1 and n2 of the compressed constant areas also constitute cn1≥n1 and cn2≥n2.

도 8은 원본 파일의 헤더와 같은 특정 영역은 압축하지 않고 일부 영역(즉, 실제 데이터가 수록되는 영역)만 압축하고 압축되지 않은 나머지 영역을 포함한 파일의 전체를 암호화한 것을 보여준다. 도 8의 경우에는, 일정 영역이 압축된 파일의 길이(크기) l에 대해 전체적으로 암호화된 파일의 길이(크기) l1은 l1≥l을 성립한다.FIG. 8 shows that a certain area, such as a header of the original file, is compressed without compressing only a part of the area (that is, an area containing actual data) and encrypting the entire file including the rest of the uncompressed area. In the case of Fig. 8, the length (size) l1 of the encrypted file as a whole is equal to l1?

이와 같이 원본 파일과 압축된 파일, 및 암호화된 파일의 상관관계는 다음의 표 1과 같다.As such, the correlation between the original file, the compressed file, and the encrypted file is shown in Table 1 below.

압축 compression 상관관계(원본 rn, 압축 an, 암호화 cn) Correlation (Source rn, Compression an, Encryption cn) 전체 압축 Full compression rn > cn ≥ an rn> cn ≥ an 부분 압축 Partial compression rn > cn ≥ an rn> cn ≥ an

한편, 본 발명은 상술한 실시예로만 한정되는 것이 아니라 본 발명의 요지를 벗어나지 않는 범위내에서 수정 및 변형하여 실시할 수 있고, 그러한 수정 및 변형이 가해진 기술사상 역시 이하의 특허청구범위에 속하는 것으로 보아야 한다.On the other hand, the present invention is not limited only to the above-described embodiments and can be carried out by modifications and variations within the scope not departing from the gist of the present invention, the technical idea that such modifications and variations are also within the scope of the claims Must see

36 : 콘텐츠 패키저 50 : 패키징 인터페이스부
52 : 키 생성부 54 : DRM 헤더 구성부
56 : 압축부 58 : 암호화부
60 : 파일 구성부
36: content packager 50: packaging interface unit
52: key generation unit 54: DRM header configuration unit
56 compression unit 58 encryption unit
60: file organization

Claims (1)

압축부가, 패키징 요청을 수반한 원본 파일에 대하여 압축을 행하는 압축 단계; 및
암호화부가, 상기 압축된 원본 파일을 암호화하는 암호화 단계;를 포함하는 것을 특징으로 하는 디지털 콘텐츠의 패키징 방법.

A compression step of compressing, by the compression unit, the original file accompanying the packaging request; And
And an encryption unit encrypting the compressed original file.

KR1020100007994A 2009-12-21 2010-01-28 Method of packaging a digital content KR20110073149A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020090128410 2009-12-21
KR20090128410 2009-12-21

Publications (1)

Publication Number Publication Date
KR20110073149A true KR20110073149A (en) 2011-06-29

Family

ID=44403976

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100007994A KR20110073149A (en) 2009-12-21 2010-01-28 Method of packaging a digital content

Country Status (1)

Country Link
KR (1) KR20110073149A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11360941B2 (en) 2015-12-28 2022-06-14 Fasoo.Com Co., Ltd. Method and device for compressing and decompressing unit files for EPUB file encryption

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11360941B2 (en) 2015-12-28 2022-06-14 Fasoo.Com Co., Ltd. Method and device for compressing and decompressing unit files for EPUB file encryption

Similar Documents

Publication Publication Date Title
EP2474933B1 (en) Digital rights management provision server and method
US8325916B2 (en) Encryption scheme for streamed multimedia content protected by rights management system
US9253164B2 (en) Distribution of portions of content
KR100753932B1 (en) contents encryption method, system and method for providing contents through network using the encryption method
US8789196B2 (en) System and method for providing content protection of linearly consumed content with a bidirectional protocol for license acquisition
US20050193205A1 (en) Method and system for session based watermarking of encrypted content
US20070083467A1 (en) Partial encryption techniques for media data
US20120284370A1 (en) Method, system, or user device for adaptive bandwidth control of proxy multimedia server
KR101593569B1 (en) System and method for configurating of content object
JP2012069141A (en) Use of media storage structure with pieces of a plurality of contents of content distribution system
US10237331B2 (en) Content delivery methods and systems
MX2009000389A (en) Method and apparatus for securely moving and returning digital content.
US9369288B1 (en) Video data delivery protection
JP2010192944A (en) Content distribution apparatus, content use apparatus, content distribution system, content distribution method and program
JP2010129096A (en) Method and system for providing content service
CN104966001A (en) Multimedia file processing method and device
KR20110073149A (en) Method of packaging a digital content
CN106789836B (en) Electronic resource protection method and system
WO2011043171A1 (en) Copyrighted work redistribution promotion system
JP4159818B2 (en) Content distribution apparatus, content distribution method, content distribution program, and recording medium
KR20110101034A (en) Digital right management method for archiving content
JP2005149437A (en) Information distribution system and terminal authentication method
KR100696249B1 (en) Method amd Apparatus for providing MP3 using DRM
KR20080063610A (en) Apparatus and method for managing preview of contents in mobile communication system
KR100566633B1 (en) Method of digital rights management for the content owner

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination