JP2011008525A - Information processing apparatus and video processing method - Google Patents

Information processing apparatus and video processing method Download PDF

Info

Publication number
JP2011008525A
JP2011008525A JP2009151251A JP2009151251A JP2011008525A JP 2011008525 A JP2011008525 A JP 2011008525A JP 2009151251 A JP2009151251 A JP 2009151251A JP 2009151251 A JP2009151251 A JP 2009151251A JP 2011008525 A JP2011008525 A JP 2011008525A
Authority
JP
Japan
Prior art keywords
data
metadata
encrypted
key
media data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009151251A
Other languages
Japanese (ja)
Inventor
Masahide Yanagihara
正秀 柳原
Hiromasa Hirabayashi
弘匡 平林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2009151251A priority Critical patent/JP2011008525A/en
Publication of JP2011008525A publication Critical patent/JP2011008525A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an information processing apparatus for safely creating a file in which metadata and media data are successively arranged.SOLUTION: A multiplexing processing part 35 reads prescribed processing unit data from a plurality of input media data 31 and 32, and generates a chunk obtained by multiplexing the read data. A metadata generation part 38 generates the metadata corresponding to the generated chunk. Also, a local encryption part 36 encrypts the chunk by using a local key, and stores the encrypted chunk into an encryption buffer 33. In response to the completion of the generation of the metadata corresponding to all the chunks, a local decryption part 37 decrypts the encrypted chunk. A media encryption part 40 encrypts the decrypted chunk by using a title key created from a media key. A data storage part 41 stores into output media 34a, file in which the metadata are arranged before multimedia data configured of the chunk encrypted by using a title key.

Description

本発明は、映像コンテンツデータのフォーマットを変換する情報処理装置及び映像処理方法に関する。   The present invention relates to an information processing apparatus and a video processing method for converting the format of video content data.

映像データやオーディオデータ等のマルチメディアデータは、データを格納したDVD等の記録媒体やインターネット等のネットワークを介して、利用者へ配布される。デジタルデータであるマルチメディアデータは劣化なく複製することが容易であるため、著作権保護の観点から、利用時の認証処理やデータの暗号化処理等が行われている。   Multimedia data such as video data and audio data is distributed to users via a recording medium such as a DVD storing data and a network such as the Internet. Since multimedia data which is digital data can be easily copied without deterioration, authentication processing at the time of use, data encryption processing, and the like are performed from the viewpoint of copyright protection.

特許文献1には、ネットワークで配信されるオブジェクトデータに対する著作権保護を行うデータ処理装置が開示されている。このデータ処理装置では、鍵データを用いてオブジェクトデータを暗号化し、暗号化されたオブジェクトデータを多重化したストリームデータと鍵データとをネットワークを介して配信することで、オブジェクトデータを保護している。   Patent Document 1 discloses a data processing apparatus that performs copyright protection for object data distributed over a network. In this data processing apparatus, the object data is protected by encrypting the object data using the key data and distributing the stream data obtained by multiplexing the encrypted object data and the key data via the network. .

特開2001−359070号公報JP 2001-359070 A

特許文献1のデータ処理装置では、ネットワークを介して配信されるマルチメディアデータを保護することについては考慮しているものの、マルチメディアデータに処理を施すコンピュータ内のメモリやHDDにおいて、データを保護することについては考慮されていない。暗号化処理を施す前のマルチメディアデータや復号されたマルチメディアデータは、コンピュータ内でメモリやHDDに格納された場合、これらメモリやHDDから読み出され、複製される可能性がある。   The data processing apparatus disclosed in Patent Literature 1 considers protecting multimedia data distributed via a network, but protects data in a memory or HDD in a computer that processes the multimedia data. This is not taken into consideration. If multimedia data before encryption processing or decrypted multimedia data is stored in a memory or HDD in a computer, the multimedia data may be read from the memory or HDD and copied.

ところで、MP4(ISO/IEC 14496-12, ISO/IEC 14496-14, ISO/IEC 14496-15)ファイルは、メタデータを格納するmoovとマルチメディアデータを格納するmdatとを含む。このMP4ファイルをストリーミング再生に対応させる場合、moovはmdatよりも前方に配置する必要がある。これは、マルチメディアデータがチャンク単位でmdatに格納されており、ファイル内でのチャンクの位置を示すメタデータがmoovに格納されているためである。メタデータ(moov)を作成するためには、マルチメディアデータ(mdat)内のチャンクの構成が確定していなければならず、また、上述したように、moovはmdatよりも前方に配置する必要がある。このため、全てのチャンクに対応するメタデータ(moov)の作成が完了するまでの間、マルチメディアデータ(mdat)はバッファリングされる。このため、バッファリングされたマルチメディアデータはバッファから読み出され、複製される可能性がある。   By the way, an MP4 (ISO / IEC 14496-12, ISO / IEC 14496-14, ISO / IEC 14496-15) file includes a moov for storing metadata and an mdat for storing multimedia data. When making this MP4 file compatible with streaming playback, moov needs to be placed ahead of mdat. This is because multimedia data is stored in mdat in units of chunks, and metadata indicating the position of the chunk in the file is stored in moov. In order to create the metadata (moov), the configuration of the chunks in the multimedia data (mdat) must be fixed, and as described above, the moov needs to be placed ahead of the mdat. is there. For this reason, the multimedia data (mdat) is buffered until the creation of metadata (moov) corresponding to all chunks is completed. Thus, the buffered multimedia data may be read from the buffer and duplicated.

本発明は上述の事情を考慮してなされたものであり、メタデータとメディアデータが順に配置されたファイルを安全に作成できる情報処理装置及び映像処理方法を提供することを目的とする。   The present invention has been made in consideration of the above-described circumstances, and an object thereof is to provide an information processing apparatus and a video processing method capable of safely creating a file in which metadata and media data are sequentially arranged.

上述の課題を解決するため、本発明の情報処理装置は、複数のメディアデータを多重化した多重化メディアデータを所定の処理単位のデータ毎に生成する多重化手段と、前記多重化メディアデータに対応するメタデータを前記所定の処理単位のデータ毎に生成するメタデータ生成手段と、前記所定の処理単位のデータを第1鍵データを用いて暗号化した第1暗号化メディアデータを生成するローカル暗号化手段と、前記第1暗号化メディアデータを記憶装置に格納するバッファリング手段と、前記多重化メディアデータに対応するメタデータが全て生成されたことに応答して、前記第1暗号化メディアデータを前記記憶装置から読み出し、前記第1暗号化メディアデータを復号する復号手段と、前記復号された第1暗号化メタデータを第2鍵データを用いて暗号化した第2暗号化メディアデータを生成するメディア暗号化手段と、前記メタデータと前記第2暗号化メディアデータとを外部記憶媒体に格納するデータ格納手段とを具備することを特徴とする。   In order to solve the above-described problems, an information processing apparatus according to the present invention includes a multiplexing unit that generates multiplexed media data obtained by multiplexing a plurality of media data for each predetermined processing unit, and the multiplexed media data. Metadata generating means for generating corresponding metadata for each data of the predetermined processing unit, and local for generating first encrypted media data obtained by encrypting the data of the predetermined processing unit using first key data In response to the generation of all the metadata corresponding to the multiplexed media data, the encryption means, the buffering means for storing the first encrypted media data in a storage device, and the first encrypted media Decryption means for reading data from the storage device and decrypting the first encrypted media data, and the decrypted first encrypted metadata as a second key Media encryption means for generating second encrypted media data encrypted using a data, and data storage means for storing the metadata and the second encrypted media data in an external storage medium. It is characterized by.

本発明によれば、メタデータとメディアデータが順に配置されたファイルを安全に作成できる。   According to the present invention, a file in which metadata and media data are sequentially arranged can be created safely.

本発明の一実施形態に係る情報処理装置の外観の例を示す斜視図。The perspective view which shows the example of the external appearance of the information processing apparatus which concerns on one Embodiment of this invention. 同実施形態の情報処理装置の構成例を示すブロック図。FIG. 3 is an exemplary block diagram illustrating a configuration example of the information processing apparatus according to the embodiment. 同実施形態の情報処理装置で用いられる映像処理アプリケーションの機能構成の例を示すブロック図。2 is an exemplary block diagram showing an example of the functional configuration of a video processing application used in the information processing apparatus of the embodiment. FIG. 図3の映像処理アプリケーションで作成されるMP4ファイルフォーマットの映像コンテンツデータの構成例を示す図。The figure which shows the structural example of the video content data of the MP4 file format produced with the video processing application of FIG. 同実施形態の情報処理装置によって実行される映像コンテンツデータ格納処理の手順を示すフローチャート。6 is an exemplary flowchart illustrating a procedure of video content data storage processing executed by the information processing apparatus of the embodiment.

以下、図面を参照して、本発明の実施形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

まず、図1及び図2を参照して、本発明の一実施形態に係る情報処理装置の構成を説明する。本実施形態の情報処理装置は、例えば、ノートブック型の携帯型パーソナルコンピュータ10から実現されている。   First, the configuration of an information processing apparatus according to an embodiment of the present invention will be described with reference to FIGS. 1 and 2. The information processing apparatus according to the present embodiment is realized by, for example, a notebook portable personal computer 10.

このパーソナルコンピュータ10は、放送番組データ、外部機器から入力されるビデオデータ、インターネットのようなネットワークを通じて配信されるビデオデータといった、映像コンテンツデータ(オーディオビジュアルコンテンツデータ)を外部記憶媒体に格納することができる。   The personal computer 10 can store video content data (audio visual content data) such as broadcast program data, video data input from an external device, and video data distributed through a network such as the Internet in an external storage medium. it can.

図1はコンピュータ10のディスプレイユニットを開いた状態における斜視図である。本コンピュータ10は、コンピュータ本体11と、ディスプレイユニット12とから構成されている。ディスプレイユニット12には、TFT−LCD(Thin Film Transistor Liquid Crystal Display)17から構成される表示装置が組み込まれている。   FIG. 1 is a perspective view of the computer 10 with the display unit opened. The computer 10 includes a computer main body 11 and a display unit 12. The display unit 12 incorporates a display device including a TFT-LCD (Thin Film Transistor Liquid Crystal Display) 17.

ディスプレイユニット12は、コンピュータ本体11に対し、コンピュータ本体11の上面が露出される開放位置とコンピュータ本体11の上面を覆う閉塞位置との間を回動自在に取り付けられている。コンピュータ本体11は薄い箱形の筐体を有しており、その上面にはキーボード13、本コンピュータ10をパワーオン/パワーオフするためのパワーボタン14、入力操作パネル15、タッチパッド16、及びスピーカ18A,18Bなどが配置されている。   The display unit 12 is attached to the computer main body 11 so as to be rotatable between an open position where the upper surface of the computer main body 11 is exposed and a closed position covering the upper surface of the computer main body 11. The computer main body 11 has a thin box-shaped housing, and has a keyboard 13 on its upper surface, a power button 14 for powering on / off the computer 10, an input operation panel 15, a touch pad 16, and a speaker. 18A, 18B, etc. are arranged.

コンピュータ本体11の例えば右側面には、TV放送用のアンテナ端子19が設けられている。また、コンピュータ本体11の例えば背面には、例えばHDMI(high-definition multimedia interface)規格に対応した外部ディスプレイ接続端子が設けられている。この外部ディスプレイ接続端子は、放送番組データのような映像コンテンツデータに含まれる映像データ(動画像データ)を外部ディスプレイに出力するために用いられる。   On the right side of the computer main body 11, for example, an antenna terminal 19 for TV broadcasting is provided. Further, on the back surface of the computer main body 11, for example, an external display connection terminal corresponding to the HDMI (high-definition multimedia interface) standard is provided. The external display connection terminal is used to output video data (moving image data) included in video content data such as broadcast program data to an external display.

次に、図2を参照して、本コンピュータ10のシステム構成について説明する。   Next, the system configuration of the computer 10 will be described with reference to FIG.

本コンピュータ10は、図2に示されているように、CPU101、ノースブリッジ102、主メモリ103、サウスブリッジ104、グラフィクスプロセッシングユニット(GPU)105、ビデオメモリ(VRAM)105A、サウンドコントローラ106、BIOS−ROM109、SDカードスロット110、ハードディスクドライブ(HDD)111、光ディスクドライブ(ODD)112、ビデオプロセッサ113、メモリ113A、有線LANコントローラ114、IEEE 1394コントローラ115、無線LANコントローラ116、TVチューナ117、EEPROM118、及びエンベデッドコントローラ/キーボードコントローラIC(EC/KBC)119等を備えている。   As shown in FIG. 2, the computer 10 includes a CPU 101, a north bridge 102, a main memory 103, a south bridge 104, a graphics processing unit (GPU) 105, a video memory (VRAM) 105A, a sound controller 106, a BIOS- ROM 109, SD card slot 110, hard disk drive (HDD) 111, optical disk drive (ODD) 112, video processor 113, memory 113A, wired LAN controller 114, IEEE 1394 controller 115, wireless LAN controller 116, TV tuner 117, EEPROM 118, and An embedded controller / keyboard controller IC (EC / KBC) 119 is provided.

CPU101は本コンピュータ10の動作を制御するプロセッサであり、ハードディスクドライブ(HDD)111から主メモリ103にロードされる、オペレーティングシステム(OS)201、及び映像処理アプリケーションプログラム202のような各種アプリケーションプログラムを実行する。   The CPU 101 is a processor that controls the operation of the computer 10 and executes various application programs such as an operating system (OS) 201 and a video processing application program 202 that are loaded from the hard disk drive (HDD) 111 to the main memory 103. To do.

映像処理アプリケーション202は、複数のメディアデータ(エレメンタリーストリーム)を多重化してマルチメディアデータを生成し、このマルチメディアデータを含むMP4ファイルを外部記憶媒体へ格納するためのソフトウェアである。この映像処理アプリケーションプログラム202は、例えば、TVチューナ117によって受信された放送番組の動画像データ、HDD111やODD112に格納されたDVD等に記録された動画像データ、有線LANコントローラ114や無線LANコントローラ116によって受信されるネットワーク上のサーバから配信される動画像データ等を、上述のMP4ファイルとして、SDカードスロット110に挿入されたSDカード等の外部記憶媒体へ格納する。   The video processing application 202 is software for generating a multimedia data by multiplexing a plurality of media data (elementary streams) and storing an MP4 file including the multimedia data in an external storage medium. The video processing application program 202 includes, for example, moving image data of a broadcast program received by the TV tuner 117, moving image data recorded on a DVD or the like stored in the HDD 111 or ODD 112, a wired LAN controller 114, or a wireless LAN controller 116. Is stored in an external storage medium such as an SD card inserted into the SD card slot 110 as the above-described MP4 file.

また、CPU101は、BIOS−ROM109に格納されたBIOS(Basic Input Output System)も実行する。BIOSはハードウェア制御のためのプログラムである。   The CPU 101 also executes a BIOS (Basic Input Output System) stored in the BIOS-ROM 109. The BIOS is a program for hardware control.

ノースブリッジ102はCPU101のローカルバスとサウスブリッジ104との間を接続するブリッジデバイスである。ノースブリッジ102には、主メモリ103をアクセス制御するメモリコントローラも内蔵されている。また、ノースブリッジ102は、PCI EXPRESS規格のシリアルバスなどを介してGPU105との通信を実行する機能も有している。   The north bridge 102 is a bridge device that connects the local bus of the CPU 101 and the south bridge 104. The north bridge 102 also includes a memory controller that controls access to the main memory 103. The north bridge 102 also has a function of executing communication with the GPU 105 via a PCI EXPRESS standard serial bus or the like.

GPU105は、本コンピュータ10のディスプレイモニタとして使用されるLCD17を制御する表示コントローラである。このGPU105によって生成される表示信号はLCD17に送られる。また、GPU105は、HDMI制御回路3及びHDMI端子2を介して、外部ディスプレイ装置1にデジタル映像信号を送出することもできる。   The GPU 105 is a display controller that controls the LCD 17 used as a display monitor of the computer 10. A display signal generated by the GPU 105 is sent to the LCD 17. The GPU 105 can also send a digital video signal to the external display device 1 via the HDMI control circuit 3 and the HDMI terminal 2.

HDMI端子2は外部ディスプレイ接続端子である。HDMI端子2は、非圧縮のデジタル映像信号と、デジタルオーディオ信号とを一本のケーブルでテレビのような外部ディスプレイ装置1に送出することができる。HDMI制御回路3は、HDMIモニタと称される外部ディスプレイ装置1にデジタル映像信号をHDMI端子2を介して送出するためのインタフェースである。   The HDMI terminal 2 is an external display connection terminal. The HDMI terminal 2 can send an uncompressed digital video signal and a digital audio signal to the external display device 1 such as a television with a single cable. The HDMI control circuit 3 is an interface for sending a digital video signal to the external display device 1 called an HDMI monitor via the HDMI terminal 2.

サウスブリッジ104は、LPC(Low Pin Count)バス上の各デバイス、及びPCI(Peripheral Component Interconnect)バス上の各デバイスを制御する。また、サウスブリッジ104は、ハードディスクドライブ(HDD)111及びODD112を制御するためのIDE(Integrated Drive Electronics)コントローラを内蔵している。さらに、サウスブリッジ104は、サウンドコントローラ106との通信を実行する機能も有している。   The south bridge 104 controls each device on an LPC (Low Pin Count) bus and each device on a PCI (Peripheral Component Interconnect) bus. The south bridge 104 includes an IDE (Integrated Drive Electronics) controller for controlling the hard disk drive (HDD) 111 and the ODD 112. Further, the south bridge 104 has a function of executing communication with the sound controller 106.

またさらに、サウスブリッジ104には、PCI EXPRESS規格のシリアルバスなどを介してビデオプロセッサ113が接続されている。   Furthermore, a video processor 113 is connected to the south bridge 104 via a PCI EXPRESS standard serial bus or the like.

サウンドコントローラ106は音源デバイスであり、再生対象のオーディオデータをスピーカ18A,18B又はHDMI制御回路3に出力する。   The sound controller 106 is a sound source device and outputs audio data to be reproduced to the speakers 18A and 18B or the HDMI control circuit 3.

PCIバス上には、IEEE 1394コントローラ115、有線LANコントローラ114、無線LANコントローラ116、TVチューナ117等が接続されている。   An IEEE 1394 controller 115, a wired LAN controller 114, a wireless LAN controller 116, a TV tuner 117, and the like are connected on the PCI bus.

IEEE 1394コントローラ115は、IEEE 1394規格のシリアルバスを介して外部機器との通信を実行する。有線LANコントローラ114は、例えばIEEE 802.3規格の通信を実行する通信デバイスである。無線LANコントローラ116は、例えばIEEE 802.11規格の無線通信を実行する無線通信デバイスである。   The IEEE 1394 controller 115 executes communication with an external device via an IEEE 1394 standard serial bus. The wired LAN controller 114 is a communication device that executes communication of, for example, IEEE 802.3 standard. The wireless LAN controller 116 is a wireless communication device that performs wireless communication of, for example, the IEEE 802.11 standard.

TVチューナ117はテレビジョン(TV)放送信号によって放送される放送番組データを受信する受信装置であり、アンテナ端子19に接続されている。このTVチューナ117は、例えば、地上波デジタルTV放送のようなデジタル放送番組データを受信可能なデジタルTVチューナとして実現されている。また、TVチューナ117は、外部機器から入力されるビデオデータをキャプチャする機能も有している。   The TV tuner 117 is a receiving device that receives broadcast program data broadcast by a television (TV) broadcast signal, and is connected to the antenna terminal 19. The TV tuner 117 is realized as a digital TV tuner capable of receiving digital broadcast program data such as terrestrial digital TV broadcast. The TV tuner 117 also has a function of capturing video data input from an external device.

エンベデッドコントローラ/キーボードコントローラIC(EC/KBC)119は、電力管理のためのエンベデッドコントローラと、キーボード(KB)13及びタッチパッド16を制御するためのキーボードコントローラとが集積された1チップマイクロコンピュータである。このエンベデッドコントローラ/キーボードコントローラIC(EC/KBC)119は、ユーザによるパワーボタン14の操作に応じて本コンピュータ10をパワーオン/パワーオフする機能を有している。さらに、エンベデッドコントローラ/キーボードコントローラIC(EC/KBC)119は、リモコンユニットインタフェース20との通信を実行する機能を有している。   The embedded controller / keyboard controller IC (EC / KBC) 119 is a one-chip microcomputer in which an embedded controller for power management and a keyboard controller for controlling the keyboard (KB) 13 and the touch pad 16 are integrated. . The embedded controller / keyboard controller IC (EC / KBC) 119 has a function of powering on / off the computer 10 in accordance with the operation of the power button 14 by the user. Further, the embedded controller / keyboard controller IC (EC / KBC) 119 has a function of executing communication with the remote control unit interface 20.

図3は、映像処理アプリケーションプログラム202の構成を示すブロック図である。   FIG. 3 is a block diagram showing the configuration of the video processing application program 202.

映像処理アプリケーションプログラム202は、上述したように、TVチューナ117によって受信された放送番組の動画像データ、HDD111やODD112に格納されたDVD等に記録された動画像データ、インターネット上のサーバから配信される動画像データ等を外部記憶媒体に格納することができる。   As described above, the video processing application program 202 is distributed from moving image data of a broadcast program received by the TV tuner 117, moving image data recorded on a DVD or the like stored in the HDD 111 or the ODD 112, or a server on the Internet. Moving image data and the like can be stored in an external storage medium.

映像処理アプリケーション202は、入力されるメディアデータ31,32(エレメンタリーストリーム)を多重化してマルチメディアデータを生成し、このマルチメディアデータを含むMP4ファイルフォーマットの映像コンテンツデータ(オーディオビジュアルコンテンツデータ)を出力メディア34へ格納する処理を行う。なお、このMP4ファイルは、ストリーミング再生に対応している。   The video processing application 202 multiplexes input media data 31 and 32 (elementary streams) to generate multimedia data, and MP4 file format video content data (audio visual content data) including the multimedia data. A process of storing in the output medium 34 is performed. This MP4 file is compatible with streaming playback.

図4は、映像処理アプリケーション202で作成されるMP4ファイルフォーマットの映像コンテンツデータ(MP4ファイル)の構成例を示す。   FIG. 4 shows a configuration example of video content data (MP4 file) in the MP4 file format created by the video processing application 202.

MP4ファイルは、図4に示すように、ftyp,moov,mdat等のボックスと呼ばれるデータのまとまりによって構成される。ボックスは階層化されており、ボックスの中に別のボックスを格納することができる。   As shown in FIG. 4, the MP4 file is composed of a set of data called boxes such as ftyp, moov, mdat and the like. Boxes are hierarchical, and another box can be stored in a box.

ftypは、ファイルの互換性に関する情報が格納されるボックスである。ftypは、MP4ファイルの先頭に配置される。映像処理アプリケーション202は、ftypに記述されたデータに基づいて、MP4ファイルに格納されたビデオデータやオーディオデータの符号化方式等を判別する。   ftyp is a box in which information on file compatibility is stored. ftyp is arranged at the head of the MP4 file. The video processing application 202 determines the encoding method of video data and audio data stored in the MP4 file based on the data described in ftyp.

moov(MovieBox)は、MP4ファイルのメタデータを格納するボックスである。moovは、階層化された複数のボックスを含む。moovは、ビデオデータやオーディオデータのトラックのヘッダ情報が格納されたボックスであるtrakを含む。また、trakは、その下層に、トラックデータの固まり(チャンク)の先頭位置を示す情報が記述されたstco(ChunkOffsetBox)を含む。stcoには、図4に示すように、ファイル上でのチャンクの先頭位置を示すオフセットの値(絶対アドレス)が記述されている。   moov (MovieBox) is a box for storing metadata of the MP4 file. The moov includes a plurality of hierarchized boxes. The moov includes a trak that is a box in which header information of a track of video data or audio data is stored. Further, trak includes stco (ChunkOffsetBox) in which information indicating the head position of a chunk (chunk) of track data is described in the lower layer. In stco, as shown in FIG. 4, an offset value (absolute address) indicating the start position of the chunk on the file is described.

mdat(MovieDataBox)は、ビデオデータやオーディオデータ自体を格納するボックスである。圧縮符号化されたビデオデータ及びオーディオデータは、mdat内にチャンク単位で交互に格納される。   mdat (MovieDataBox) is a box for storing video data and audio data itself. The compression-coded video data and audio data are alternately stored in mdat in units of chunks.

映像処理アプリケーション202は、moovに含まれるstco等のボックスに記述されたメタデータから、mdatに格納されたビデオデータやオーディオデータのチャンクの位置やサイズ、さらに、チャンクに格納されたフレームに対応するデータの位置やサイズ、フレームの再生時間、再生時刻等の情報を取得することができる。   The video processing application 202 corresponds to the position and size of the chunk of video data and audio data stored in mdat, and the frame stored in the chunk from the metadata described in a box such as stco included in the moov. Information such as data position and size, frame playback time, and playback time can be acquired.

MP4ファイルには、上述したように、メタデータを格納するmoovとマルチメディアデータを格納するmdatとが格納される。メタデータmoovは、マルチメディアデータmdatの内容(チャンクの構成)が確定した後に作成可能となるため、MP4ファイルでは、通常、メタデータmoovがマルチメディアデータmdatよりも後に配置されている。   As described above, the MP4 file stores moov for storing metadata and mdat for storing multimedia data. Since the metadata moov can be created after the content (chunk structure) of the multimedia data mdat is determined, the metadata moov is usually arranged after the multimedia data mdat in the MP4 file.

しかしながら、このMP4ファイルをストリーミング再生に対応させる場合、moovはmdatよりも前方に配置する必要がある。これは、上述したように、マルチメディアデータがチャンク単位でmdatに格納されており、mdat(ファイル)内でのチャンクの位置を示すメタデータがmoovに格納されているためである。   However, when making this MP4 file compatible with streaming playback, moov needs to be placed in front of mdat. This is because, as described above, multimedia data is stored in mdat in units of chunks, and metadata indicating the position of the chunk in mdat (file) is stored in moov.

メタデータmoovを作成するためには、マルチメディアデータmdat内のチャンクの構成が確定していなければならず、また、メタデータmoovはマルチメディアデータmdatよりも前方に配置される必要がある。   In order to create the metadata moov, the configuration of the chunks in the multimedia data mdat must be determined, and the metadata moov needs to be arranged ahead of the multimedia data mdat.

また、映像処理アプリケーション202は、入力されるメディアデータ31,32を、それぞれ所定の処理単位(トラックデータの固まり)で読み出し、読み出したデータを多重化したチャンクを生成する。そして、映像処理アプリケーション202は、生成されたチャンクに対応するメタデータmoovを逐次生成する。つまり、マルチメディアデータmdatに対応するメタデータmoovは、チャンク毎に作成される。このため、マルチメディアデータmdatに対応するメタデータmoovの生成が完了するまでの間、すなわち、マルチメディアデータmdat内の全てのチャンクに対応するメタデータの生成が完了するまでの間、処理済みのチャンク(対応するメタデータが生成されたチャンク)は、HDD111等へバッファリングされる。しかし、バッファリングされたマルチメディアデータmdatは、バッファから読み出され、複製される危険性がある。このため、映像処理アプリケーション202は、バッファリングされるチャンク(マルチメディアデータmdat)を暗号化し、複製等の不正な処理からマルチメディアデータmdatを保護する。   In addition, the video processing application 202 reads the input media data 31 and 32 in predetermined processing units (a cluster of track data), and generates a chunk in which the read data is multiplexed. Then, the video processing application 202 sequentially generates metadata moov corresponding to the generated chunk. That is, the metadata moov corresponding to the multimedia data mdat is created for each chunk. For this reason, processing has been completed until generation of the metadata moov corresponding to the multimedia data mdat is completed, that is, until generation of metadata corresponding to all chunks in the multimedia data mdat is completed. Chunks (chunks for which corresponding metadata is generated) are buffered in the HDD 111 or the like. However, there is a risk that the buffered multimedia data mdat is read from the buffer and copied. Therefore, the video processing application 202 encrypts the buffered chunk (multimedia data mdat) and protects the multimedia data mdat from unauthorized processing such as copying.

映像処理アプリケーション202は、図3に示すように、多重化処理部35、ローカル暗号化部36、ローカル復号部37、及び暗号化出力部39から構成される。なお、多重化処理部35は、メタデータ生成部38を備える。暗号化出力部39は、メディア暗号化部40、及びデータ格納部41を備える。   As shown in FIG. 3, the video processing application 202 includes a multiplexing processing unit 35, a local encryption unit 36, a local decryption unit 37, and an encryption output unit 39. The multiplexing processing unit 35 includes a metadata generation unit 38. The encryption output unit 39 includes a media encryption unit 40 and a data storage unit 41.

多重化処理部35は、入力される複数のメディアデータ(エレメンタリーストリーム)31,32のそれぞれから所定の処理単位のデータ(トラックデータの固まり)を読み出して多重化し、多重化されたチャンクを生成する。多重化されたチャンクは、MP4ファイルに格納されるマルチメディアデータmdatを構成する所定の処理単位のデータである。つまり、多重化処理部35は、複数のメディアデータ31,32を多重化したマルチメディアデータmdatをチャンク単位で生成する。   The multiplexing processing unit 35 reads and multiplexes data (a set of track data) of a predetermined processing unit from each of a plurality of input media data (elementary streams) 31 and 32, and generates a multiplexed chunk. To do. The multiplexed chunk is data of a predetermined processing unit constituting the multimedia data mdat stored in the MP4 file. That is, the multiplexing processing unit 35 generates multimedia data mdat obtained by multiplexing a plurality of media data 31 and 32 in units of chunks.

メディアデータ31,32は、符号化されたビデオデータやオーディオデータ等のエレメンタリーストリームである。ビデオデータは、例えば、MPEG-4 Visual(ISO/IEC 14496-2)やH.264/AVC(H.264|ISO/IEC 14496-10)に準拠したビデオデータである。オーディオデータは、例えば、MPEG-4 AAC(ISO/IEC14496-3)に準拠したオーディオデータである。また、メディアデータ31,32は、蓄積されたファイルから生成されたエレメンタリーストリームだけでなく、ストリーム処理を行うトランスコーダによって生成されたエレメンタリーストリームであってもよい。   The media data 31 and 32 are elementary streams such as encoded video data and audio data. The video data is, for example, video data compliant with MPEG-4 Visual (ISO / IEC 14496-2) and H.264 / AVC (H.264 | ISO / IEC 14496-10). The audio data is audio data compliant with, for example, MPEG-4 AAC (ISO / IEC14496-3). Further, the media data 31 and 32 may be not only the elementary stream generated from the accumulated file but also an elementary stream generated by a transcoder that performs stream processing.

多重化処理部35は、生成されたチャンク(マルチメディアデータmdat)を逐次ローカル暗号化部36へ出力する。   The multiplexing processing unit 35 sequentially outputs the generated chunk (multimedia data mdat) to the local encryption unit 36.

メタデータ生成部38は、生成されたチャンクに対応するメタデータmoovを生成する。生成されたチャンクに対応するメタデータmoovは、マルチメディアデータmdat内でのチャンクの位置やサイズ等を示す。メタデータ生成部38は、チャンク毎に対応するメタデータmoovを生成する。   The metadata generation unit 38 generates metadata moov corresponding to the generated chunk. The metadata moov corresponding to the generated chunk indicates the position and size of the chunk in the multimedia data mdat. The metadata generation unit 38 generates metadata moov corresponding to each chunk.

ローカル暗号化部36は、ローカル鍵を用いて、生成されたチャンクを暗号化する。ローカル暗号化部36は、暗号化したチャンクを暗号化バッファ33へ出力する。暗号化されたチャンクを格納する暗号化バッファ33は、例えばHDD111内に設けられる。   The local encryption unit 36 encrypts the generated chunk using the local key. The local encryption unit 36 outputs the encrypted chunk to the encryption buffer 33. The encryption buffer 33 for storing the encrypted chunk is provided in the HDD 111, for example.

ローカル復号部37は、多重化処理部35によるメディアデータ31,32の多重化が全て完了し、メタデータ生成部38によるマルチメディアデータmdatに対応するメタデータmoovの生成が完了したことに応答して、暗号化バッファ33から暗号化されたチャンクを読み出す。そして、ローカル復号部37は、暗号化されたチャンクを復号し、復号したチャンクを多重化処理部35へ逐次出力する。つまり、ローカル復号部37は、マルチメディアデータmdat内の全てのチャンクに対応するメタデータmoovが生成されたことに応答して、暗号化バッファ33に格納された、暗号化されたチャンクを復号する。   The local decoding unit 37 responds to the completion of the multiplexing of the media data 31 and 32 by the multiplexing processing unit 35 and the generation of the metadata moov corresponding to the multimedia data mdat by the metadata generating unit 38. Thus, the encrypted chunk is read from the encryption buffer 33. Then, the local decryption unit 37 decrypts the encrypted chunk and sequentially outputs the decrypted chunk to the multiplexing processing unit 35. That is, the local decryption unit 37 decrypts the encrypted chunk stored in the encryption buffer 33 in response to the generation of the metadata moov corresponding to all the chunks in the multimedia data mdat. .

多重化処理部35は、多重化処理部35によるメディアデータ31,32の多重化が全て完了し、メタデータ生成部38によるマルチメディアデータmdatに対応するメタデータmoovの生成が完了したことに応答して、メタデータ生成部38により生成されたメタデータmoovを暗号化出力部39へ出力する。また、多重化処理部35は、ローカル復号部37により復号されたチャンク(マルチメディアデータmdat)を暗号化出力部39へ出力する。   The multiplexing processing unit 35 responds that the multiplexing of the media data 31 and 32 by the multiplexing processing unit 35 is completed and the generation of the metadata moov corresponding to the multimedia data mdat by the metadata generation unit 38 is completed. Then, the metadata moov generated by the metadata generation unit 38 is output to the encryption output unit 39. Also, the multiplexing processing unit 35 outputs the chunk (multimedia data mdat) decrypted by the local decryption unit 37 to the encryption output unit 39.

メディア暗号化部40は、出力メディア34に格納されているメディア鍵34Aを用いてタイトル鍵を作成し、このタイトル鍵を用いて復号されたチャンクを暗号化する。つまり、メディア暗号化部40は、タイトル鍵を用いて暗号化されたマルチメディアデータmdatをチャンク単位で生成する。メディア暗号化部40は、タイトル鍵を用いて暗号化されたマルチメディアデータmdatをデータ格納部41へ出力する。なお、メディア鍵34Aは、出力メディア34固有のID等であってもよい。   The media encryption unit 40 creates a title key using the media key 34A stored in the output medium 34, and encrypts the decrypted chunk using the title key. That is, the media encryption unit 40 generates multimedia data mdat encrypted using the title key in units of chunks. The media encryption unit 40 outputs the multimedia data mdat encrypted using the title key to the data storage unit 41. The media key 34A may be an ID unique to the output medium 34 or the like.

データ格納部41は、メタデータ生成部38により生成されたメタデータmoovと、メディア暗号化部40により暗号化されたマルチメディアデータmdatとを含むMP4ファイルを出力メディア34へ格納する。格納されたMP4ファイルはストリーミング再生に対応しており、メタデータmoovは、マルチメディアデータmdatよりも前に配置される。また、データ格納部41は、メディア鍵34Aを用いて作成されたタイトル鍵を出力メディア34へ格納する。なお、出力メディア34は、例えばSDカードスロット110に挿入されたSDカードである。   The data storage unit 41 stores an MP4 file including the metadata moov generated by the metadata generation unit 38 and the multimedia data mdat encrypted by the media encryption unit 40 in the output medium 34. The stored MP4 file supports streaming playback, and the metadata moov is arranged before the multimedia data mdat. In addition, the data storage unit 41 stores the title key created using the media key 34 </ b> A in the output medium 34. The output medium 34 is an SD card inserted into the SD card slot 110, for example.

以上の構成により、メタデータmoovがマルチメディアデータmdatよりも前に配置された、ストリーミング再生対応のMP4ファイルを作成する場合に、バッファリングされるマルチメディアデータmdatを暗号化して暗号化バッファ33に格納することで、マルチメディアデータmdatを保護し、安全にMP4ファイルを作成することができる。つまり、複数のメディアデータ31,32を多重化したマルチメディアデータmdatを生成し、このマルチメディアデータmdatが格納されたMP4ファイルを作成する処理において、MP4ファイルのストリーミング再生への対応と暗号化とを同時に実現することができる。   With the above configuration, when creating an MP4 file corresponding to streaming reproduction in which the metadata moov is arranged before the multimedia data mdat, the buffered multimedia data mdat is encrypted and stored in the encryption buffer 33. By storing, the multimedia data mdat can be protected and an MP4 file can be created safely. That is, in the process of generating multimedia data mdat obtained by multiplexing a plurality of media data 31 and 32 and creating an MP4 file in which the multimedia data mdat is stored, the MP4 file can be streamed and encrypted. Can be realized simultaneously.

なお、ローカル暗号化部36による暗号化、及びローカル復号部37による復号に用いる鍵は、出力メディア34に格納されたメディア鍵34Aであってもよい。この場合、暗号化されたマルチメディアデータmdat(暗号化バッファ33に格納されたデータ)は、出力メディア34とバインドされ、情報処理装置10内のローカル鍵を用いて暗号化される場合よりも、より安全に保護される。   The key used for encryption by the local encryption unit 36 and decryption by the local decryption unit 37 may be a media key 34A stored in the output medium 34. In this case, the encrypted multimedia data mdat (data stored in the encryption buffer 33) is bound to the output medium 34, and is encrypted using a local key in the information processing apparatus 10. Protected more safely.

また、ローカル暗号化部36による暗号化に、出力メディア34に格納されたメディア鍵34Aを用いて作成されたタイトル鍵を用いてもよい。この場合、ローカル復号部37による復号、及びメディア暗号化部40による暗号化は不要となり、ローカル暗号化部36によりタイトル鍵を用いて暗号化されたマルチメディアデータmdatを、暗号化出力部39を介して、直接、出力メディア34に格納することができる。したがって、ローカル復号部37による復号、及びメディア暗号化部40による暗号化にかかる処理が不要となり、処理量を削減することができる。   In addition, a title key created by using the media key 34A stored in the output medium 34 may be used for encryption by the local encryption unit 36. In this case, the decryption by the local decryption unit 37 and the encryption by the media encryption unit 40 become unnecessary, and the multimedia data mdat encrypted by using the title key by the local encryption unit 36 is transferred to the encryption output unit 39. And can be directly stored in the output medium 34. Therefore, the processing related to the decryption by the local decryption unit 37 and the encryption by the media encryption unit 40 becomes unnecessary, and the processing amount can be reduced.

さらに、上述の説明では、暗号化バッファ33をHDD111内に設ける例について示したが、暗号化バッファ33を出力メディア34内の空き領域に設けてもよい。   Further, in the above description, the example in which the encryption buffer 33 is provided in the HDD 111 has been described. However, the encryption buffer 33 may be provided in a free area in the output medium 34.

図5は、情報処理装置10によって実行される映像コンテンツデータ格納処理の手順を示すフローチャートである。   FIG. 5 is a flowchart showing a procedure of video content data storage processing executed by the information processing apparatus 10.

まず、映像処理アプリケーション202は、複数のメディアデータ(エレメンタリーストリーム)31,32を入力する(ステップS101)。   First, the video processing application 202 inputs a plurality of media data (elementary streams) 31 and 32 (step S101).

次に、映像処理アプリケーション202は、入力される複数のメディアデータ(エレメンタリーストリーム)31,32のそれぞれから所定の処理単位のデータ(トラックデータの固まり)を読み出して多重化し、多重化されたチャンクを生成する(ステップS102)。多重化されたチャンクは、MP4ファイルに格納されるマルチメディアデータmdatを構成する所定の処理単位のデータである。つまり、映像処理アプリケーション202は、複数のメディアデータ31,32を多重化したマルチメディアデータmdatをチャンク単位で生成する。以降の処理においても、チャンク単位でそれぞれの処理が施される。   Next, the video processing application 202 reads and multiplexes data (a set of track data) of a predetermined processing unit from each of a plurality of input media data (elementary streams) 31 and 32, and multiplexes the multiplexed chunks. Is generated (step S102). The multiplexed chunk is data of a predetermined processing unit constituting the multimedia data mdat stored in the MP4 file. That is, the video processing application 202 generates multimedia data mdat obtained by multiplexing a plurality of media data 31 and 32 in units of chunks. Also in the subsequent processing, each processing is performed in units of chunks.

次いで、映像処理アプリケーション202は、生成されたチャンクに対応するメタデータmoovを生成する(ステップS103)。映像処理アプリケーション202は、生成されたチャンクに対応するメタデータmoovとして、例えば、マルチメディアデータmdat内での当該チャンクの位置を示すアドレス(オフセット)をstcoに記述する。   Next, the video processing application 202 generates metadata moov corresponding to the generated chunk (step S103). As the metadata moov corresponding to the generated chunk, the video processing application 202 describes, for example, an address (offset) indicating the position of the chunk in the multimedia data mdat in stco.

また、映像処理アプリケーション202は、生成されたチャンクをローカル鍵を用いて暗号化する(ステップS104)。映像処理アプリケーション202は、暗号化されたチャンクを暗号化バッファ33に格納する(ステップS105)。   The video processing application 202 encrypts the generated chunk using the local key (step S104). The video processing application 202 stores the encrypted chunk in the encryption buffer 33 (step S105).

そして、映像処理アプリケーション202は、格納されたチャンクが、入力された複数のメディアデータ31,32を多重化して生成される、最後のチャンクであるかどうかを判定する(ステップS106)。すなわち、映像処理アプリケーション202は、入力された複数のメディアデータ31,32のそれぞれから所定の処理単位のデータを読み出して多重化したマルチメディアデータmdatを生成する処理、及びマルチメディアデータmdatに対応するメタデータmoovを生成する処理が完了したかどうかを判定する。   Then, the video processing application 202 determines whether the stored chunk is the last chunk generated by multiplexing the plurality of input media data 31 and 32 (step S106). That is, the video processing application 202 reads out data of a predetermined processing unit from each of the plurality of input media data 31 and 32 and generates multiplexed multimedia data mdat, and corresponds to the multimedia data mdat. It is determined whether or not the process for generating the metadata moov has been completed.

格納されたチャンクが最後のチャンクでない場合(ステップS106のNO)、映像処理アプリケーション202は、ステップS102以降の処理を行う。つまり、映像処理アプリケーション202は、次のチャンクを生成し、このチャンクに対して所定の処理を施す。   When the stored chunk is not the last chunk (NO in step S106), the video processing application 202 performs the processing after step S102. That is, the video processing application 202 generates the next chunk and performs a predetermined process on this chunk.

格納されたチャンクが最後のチャンクである場合(ステップS106のYES)、映像処理アプリケーション202は、生成されたメタデータmoovを出力メディア34に格納する(ステップS107)。   When the stored chunk is the last chunk (YES in step S106), the video processing application 202 stores the generated metadata moov in the output medium 34 (step S107).

次いで、映像処理アプリケーション202は、暗号化バッファ33に格納されたチャンクを読み出して復号する(ステップS108)。映像処理アプリケーション202は、出力メディア34に格納されたメディア鍵34Aを用いてタイトル鍵を生成し、このタイトル鍵を用いて、復号されたチャンクを暗号化する(ステップS109)。つまり、映像処理アプリケーション202は、タイトル鍵で暗号化されたマルチメディアデータmdatをチャンク単位で生成する。映像処理アプリケーション202は、タイトル鍵で暗号化されたチャンクを出力メディア34へ格納する(ステップS110)。   Next, the video processing application 202 reads and decrypts the chunk stored in the encryption buffer 33 (step S108). The video processing application 202 generates a title key using the media key 34A stored in the output medium 34, and encrypts the decrypted chunk using the title key (step S109). That is, the video processing application 202 generates multimedia data mdat encrypted with the title key in units of chunks. The video processing application 202 stores the chunk encrypted with the title key in the output medium 34 (step S110).

そして、映像処理アプリケーション202は、出力メディア34に格納されたチャンクが、暗号化バッファ33に格納された最後のチャンクであるかどうかを判定する(ステップS111)。すなわち、映像処理アプリケーション202は、マルチメディアデータmdatに含まれるチャンクが全て、タイトル鍵で暗号化され、出力メディア34に格納されたかどうかを判定する。   Then, the video processing application 202 determines whether or not the chunk stored in the output medium 34 is the last chunk stored in the encryption buffer 33 (step S111). That is, the video processing application 202 determines whether all chunks included in the multimedia data mdat are encrypted with the title key and stored in the output medium 34.

出力メディア34に格納されたチャンクが最後のチャンクでない場合(ステップS111のNO)、映像処理アプリケーション202は、ステップS108以降の処理を行う。つまり、映像処理アプリケーション202は、暗号化バッファ33から次のチャンクを読み出し、このチャンクに対して所定の処理を施す。   When the chunk stored in the output medium 34 is not the last chunk (NO in step S111), the video processing application 202 performs the processes in and after step S108. That is, the video processing application 202 reads the next chunk from the encryption buffer 33 and performs a predetermined process on this chunk.

出力メディア34に格納されたチャンクが最後のチャンクである場合(ステップS111のYES)、映像処理アプリケーション202は処理を終了する。   When the chunk stored in the output medium 34 is the last chunk (YES in step S111), the video processing application 202 ends the process.

以上の処理により、ストリーミング再生に対応するため、メタデータmoovがマルチメディアデータmdatよりも前に配置されたMP4ファイルを作成する場合に、バッファリングされるマルチメディアデータmdatを暗号化して暗号化バッファ33に格納することで、マルチメディアデータmdatを保護し、安全にMP4ファイルを作成することができる。   Through the above processing, in order to support streaming playback, when creating an MP4 file in which the metadata moov is arranged before the multimedia data mdat, the buffered multimedia data mdat is encrypted to be an encrypted buffer. By storing in 33, the multimedia data mdat can be protected and an MP4 file can be created safely.

以上説明したように、本実施形態によれば、メタデータとメディアデータが順に配置されたファイルを安全に作成できる。   As described above, according to the present embodiment, a file in which metadata and media data are sequentially arranged can be created safely.

本実施形態の情報処理装置10は、ストリーミング再生に対応するため、メタデータmoovがマルチメディアデータmdatよりも前に配置されたMP4ファイルを作成する。その際、バッファリングされるマルチメディアデータmdatを暗号化して暗号化バッファ33に格納することで、マルチメディアデータmdatを保護し、安全にMP4ファイルを作成することができる。また、上述の処理を用いて、コピー回数制御(ムーブ・ダビング10等)を容易に行うことができる。   The information processing apparatus 10 according to the present embodiment creates an MP4 file in which the metadata moov is arranged before the multimedia data mdat in order to support streaming playback. At this time, the multimedia data mdat to be buffered is encrypted and stored in the encryption buffer 33, so that the multimedia data mdat can be protected and an MP4 file can be created safely. In addition, the number of copies (move / dubbing 10 or the like) can be easily controlled using the above-described processing.

また、ローカル暗号化部36において、出力メディア34に格納されたメディア鍵34Aを用いてマルチメディアデータmdatを暗号化することにより、マルチメディアデータmdatを保護するための安全性をより高めることができる。さらに、ローカル暗号化部36において、メディア鍵34Aから作成されたタイトル鍵を用いてマルチメディアデータmdatを暗号化し、暗号化されたデータを直接、外部記憶媒体へ格納することにより、処理量を削減できる。つまり、複数のエレメンタリーストリームを多重化して暗号化したマルチメディアデータmdatを含み、且つストリーミング再生に対応したMP4ファイルを外部記憶媒体に格納する処理にかかる時間を短縮することができる。   Further, by encrypting the multimedia data mdat using the media key 34A stored in the output medium 34 in the local encryption unit 36, the security for protecting the multimedia data mdat can be further enhanced. . Further, the local encryption unit 36 encrypts the multimedia data mdat using the title key created from the media key 34A, and stores the encrypted data directly in the external storage medium, thereby reducing the processing amount. it can. That is, it is possible to reduce the time required for the process of storing the MP4 file including the multimedia data mdat obtained by multiplexing and encrypting a plurality of elementary streams and corresponding to streaming reproduction in the external storage medium.

なお、本実施形態の映像コンテンツデータ格納処理の手順は全てソフトウェアによって実行することができる。このため、映像コンテンツデータ格納処理の手順を実行するプログラムをコンピュータ読み取り可能な記憶媒体を通じて通常のコンピュータにインストールして実行するだけで、本実施形態と同様の効果を容易に実現することができる。   Note that all the procedures of the video content data storage processing of the present embodiment can be executed by software. For this reason, the same effect as that of the present embodiment can be easily realized simply by installing and executing a program for executing the video content data storage processing procedure on a normal computer through a computer-readable storage medium.

また本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素からいくつかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   Further, the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

202…映像処理アプリケーション、31…入力メディア1、32…入力メディアn、33…暗号化バッファ、34…出力メディア、34A…メディア鍵、35…多重化処理部、36…ローカル暗号化部、37…ローカル復号部、38…メタデータ生成部、39…暗号化出力部、40…メディア暗号化部、41…データ格納部。   202 ... Video processing application, 31 ... Input media 1, 32 ... Input media n, 33 ... Encryption buffer, 34 ... Output media, 34A ... Media key, 35 ... Multiplexing processing unit, 36 ... Local encryption unit, 37 ... Local decryption unit, 38 ... metadata generation unit, 39 ... encryption output unit, 40 ... media encryption unit, 41 ... data storage unit.

Claims (6)

複数のメディアデータを多重化した多重化メディアデータを所定の処理単位のデータ毎に生成する多重化手段と、
前記多重化メディアデータに対応するメタデータを前記所定の処理単位のデータ毎に生成するメタデータ生成手段と、
前記所定の処理単位のデータを第1鍵データを用いて暗号化した第1暗号化メディアデータを生成するローカル暗号化手段と、
前記第1暗号化メディアデータを記憶装置に格納するバッファリング手段と、
前記多重化メディアデータに対応するメタデータが全て生成されたことに応答して、前記第1暗号化メディアデータを前記記憶装置から読み出し、前記第1暗号化メディアデータを復号する復号手段と、
前記復号された第1暗号化メタデータを第2鍵データを用いて暗号化した第2暗号化メディアデータを生成するメディア暗号化手段と、
前記メタデータと前記第2暗号化メディアデータとを外部記憶媒体に格納するデータ格納手段とを具備することを特徴とする情報処理装置。
Multiplexing means for generating multiplexed media data obtained by multiplexing a plurality of media data for each data of a predetermined processing unit;
Metadata generation means for generating metadata corresponding to the multiplexed media data for each data of the predetermined processing unit;
Local encryption means for generating first encrypted media data obtained by encrypting data of the predetermined processing unit using first key data;
Buffering means for storing the first encrypted media data in a storage device;
In response to the generation of all the metadata corresponding to the multiplexed media data, decryption means for reading the first encrypted media data from the storage device and decrypting the first encrypted media data;
Media encryption means for generating second encrypted media data obtained by encrypting the decrypted first encrypted metadata using second key data;
An information processing apparatus comprising: data storage means for storing the metadata and the second encrypted media data in an external storage medium.
前記第1鍵データは、前記情報処理装置内に格納されているローカル鍵であり、
前記第2鍵データは、前記外部記憶媒体に格納されているメディア鍵を用いて作成されたタイトル鍵であることを特徴とする請求項1記載の情報処理装置。
The first key data is a local key stored in the information processing apparatus;
The information processing apparatus according to claim 1, wherein the second key data is a title key created using a media key stored in the external storage medium.
前記第1鍵データは、前記外部記憶媒体に格納されているメディア鍵であり、
前記第2鍵データは、前記外部記憶媒体に格納されているメディア鍵を用いて作成されたタイトル鍵であることを特徴とする請求項1記載の情報処理装置。
The first key data is a media key stored in the external storage medium;
The information processing apparatus according to claim 1, wherein the second key data is a title key created using a media key stored in the external storage medium.
前記第1鍵データは、前記外部記憶媒体に格納されているメディア鍵を用いて作成されたタイトル鍵であり、
前記データ格納手段は、前記多重化メディアデータに対応するメタデータが全て生成されたことに応答して、前記第1暗号化メディアデータを前記記憶装置から読み出し、前記メタデータと前記読み出した第1暗号化メディアデータとを前記外部記憶媒体に格納することを特徴とする請求項1記載の情報処理装置。
The first key data is a title key created using a media key stored in the external storage medium,
The data storage means reads the first encrypted media data from the storage device in response to the generation of all the metadata corresponding to the multiplexed media data, and the metadata and the read first The information processing apparatus according to claim 1, wherein encrypted media data is stored in the external storage medium.
前記バッファリング手段は、前記第1暗号化メディアデータを前記外部記憶媒体に格納することを特徴とする請求項1記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the buffering unit stores the first encrypted media data in the external storage medium. 複数のメディアデータを多重化した多重化メディアデータを所定の処理単位のデータ毎に生成する多重化ステップと、
前記多重化メディアデータに対応するメタデータを前記所定の処理単位のデータ毎に生成するメタデータ生成ステップと、
前記所定の処理単位のデータを第1鍵データを用いて暗号化した第1暗号化メディアデータを生成するローカル暗号化ステップと、
前記第1暗号化メディアデータを記憶装置に格納するバッファリングステップと、
前記多重化メディアデータに対応するメタデータが全て生成されたことに応答して、前記第1暗号化メディアデータを前記記憶装置から読み出し、前記第1暗号化メディアデータを復号する復号ステップと、
前記復号された第1暗号化メタデータを第2鍵データを用いて暗号化した第2暗号化メディアデータを生成するメディア暗号化ステップと、
前記メタデータと前記第2暗号化メディアデータとを外部記憶媒体に格納するデータ格納ステップとを具備することを特徴とする映像処理方法。
A multiplexing step for generating multiplexed media data obtained by multiplexing a plurality of media data for each data in a predetermined processing unit;
A metadata generation step of generating metadata corresponding to the multiplexed media data for each data of the predetermined processing unit;
A local encryption step of generating first encrypted media data obtained by encrypting the data of the predetermined processing unit using first key data;
A buffering step of storing the first encrypted media data in a storage device;
A decrypting step of reading the first encrypted media data from the storage device and decrypting the first encrypted media data in response to all the metadata corresponding to the multiplexed media data being generated;
A media encryption step for generating second encrypted media data obtained by encrypting the decrypted first encrypted metadata using second key data;
A video processing method comprising: a data storage step of storing the metadata and the second encrypted media data in an external storage medium.
JP2009151251A 2009-06-25 2009-06-25 Information processing apparatus and video processing method Pending JP2011008525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009151251A JP2011008525A (en) 2009-06-25 2009-06-25 Information processing apparatus and video processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009151251A JP2011008525A (en) 2009-06-25 2009-06-25 Information processing apparatus and video processing method

Publications (1)

Publication Number Publication Date
JP2011008525A true JP2011008525A (en) 2011-01-13

Family

ID=43565106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009151251A Pending JP2011008525A (en) 2009-06-25 2009-06-25 Information processing apparatus and video processing method

Country Status (1)

Country Link
JP (1) JP2011008525A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013012284A (en) * 2011-06-30 2013-01-17 Toshiba Corp Content transmission device and dubbing method
JP2013016112A (en) * 2011-07-06 2013-01-24 Nippon Telegr & Teleph Corp <Ntt> Chunk generating device, chunk reading device, chunk generating method, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004007533A (en) * 2002-03-29 2004-01-08 Toshiba Corp Data structure of multimedia/file/format, method and device for data encryption, and method and device for decrypting encrypted data
JP2006087094A (en) * 2004-09-13 2006-03-30 Samsung Electronics Co Ltd Multi-streaming method using temporary storage medium, and multi-streaming apparatus
WO2006035777A1 (en) * 2004-09-29 2006-04-06 Sharp Kabushiki Kaisha Recording device and method
JP2008051883A (en) * 2006-08-22 2008-03-06 Canon Inc Voice synthesis control method and apparatus
JP2008226059A (en) * 2007-03-15 2008-09-25 Canon Inc Information processor, control method of information processor, program and storage device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004007533A (en) * 2002-03-29 2004-01-08 Toshiba Corp Data structure of multimedia/file/format, method and device for data encryption, and method and device for decrypting encrypted data
JP2006087094A (en) * 2004-09-13 2006-03-30 Samsung Electronics Co Ltd Multi-streaming method using temporary storage medium, and multi-streaming apparatus
WO2006035777A1 (en) * 2004-09-29 2006-04-06 Sharp Kabushiki Kaisha Recording device and method
JP2008051883A (en) * 2006-08-22 2008-03-06 Canon Inc Voice synthesis control method and apparatus
JP2008226059A (en) * 2007-03-15 2008-09-25 Canon Inc Information processor, control method of information processor, program and storage device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013012284A (en) * 2011-06-30 2013-01-17 Toshiba Corp Content transmission device and dubbing method
JP2013016112A (en) * 2011-07-06 2013-01-24 Nippon Telegr & Teleph Corp <Ntt> Chunk generating device, chunk reading device, chunk generating method, and program

Similar Documents

Publication Publication Date Title
JP4719145B2 (en) Recording apparatus, recording medium, and content protection system
US8179959B2 (en) Picture control device and method of the same
JP4902644B2 (en) Data processing device, data processing method, data processing program, recording medium recording the data processing program, and integrated circuit
US20080260161A1 (en) Terminal Device and Copyright Protection System
JP5039830B2 (en) How to configure a digital rights management license format
JP4585460B2 (en) Storage device, system, and method for preventing simultaneous use of different contents derived from same content at multiple locations
US8099609B2 (en) Information processing apparatus and key recovery method
JP2009506475A (en) Integrated multimedia file format structure and multimedia service system and method based on the integrated multimedia file format structure
JP4764505B2 (en) Information transmitter
US20050234832A1 (en) Recording/reproduction device for encrypting and recording data on storage medium and method thereof
EP1631059A2 (en) Content service method, content relay method, content output method and servers, output devices and transmission/receving systems employing said methods
JP5177939B2 (en) Information processing device
JP2007018646A (en) Recording and reproducing device
US20060098821A1 (en) Information processing apparatus
JP2008090889A (en) Information processing device and reproducing method
JP2009100265A (en) Data processing apparatus, data processing method, data processing program, recording medium with the data processing program recorded thereon, and integrated circuit
JP2011008525A (en) Information processing apparatus and video processing method
US20080260157A1 (en) Recording Apparatus and Recording Medium
JP2008301261A (en) Receiving apparatus and receiving method
JP2009016965A (en) Information processing apparatus and method for protecting video and audio information
KR20070001055A (en) Method and apparatus for decrypting an encrypted supplementary data set
US8300818B2 (en) System and method for effectively protecting electronic content information
JP4393928B2 (en) Recording apparatus, reproducing apparatus, recording method, and program
JP4928733B2 (en) Recording / reproducing apparatus, integrated circuit, recording / reproducing method, and program
JP2012160944A (en) Key information management system, recorder/reproducer, and key information management device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120606

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130716

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130717

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20130730

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130902

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20131112

RD07 Notification of extinguishment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7427

Effective date: 20140319