JP2009100265A - Data processing apparatus, data processing method, data processing program, recording medium with the data processing program recorded thereon, and integrated circuit - Google Patents

Data processing apparatus, data processing method, data processing program, recording medium with the data processing program recorded thereon, and integrated circuit Download PDF

Info

Publication number
JP2009100265A
JP2009100265A JP2007269942A JP2007269942A JP2009100265A JP 2009100265 A JP2009100265 A JP 2009100265A JP 2007269942 A JP2007269942 A JP 2007269942A JP 2007269942 A JP2007269942 A JP 2007269942A JP 2009100265 A JP2009100265 A JP 2009100265A
Authority
JP
Japan
Prior art keywords
data
stream
unit
distribution information
storage unit
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
JP2007269942A
Other languages
Japanese (ja)
Inventor
Nobukazu Kurauchi
伸和 倉内
Yasuhei Yugawa
泰平 湯川
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.)
Panasonic Corp
Original Assignee
Panasonic 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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2007269942A priority Critical patent/JP2009100265A/en
Publication of JP2009100265A publication Critical patent/JP2009100265A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To achieve protection of a content in simple data processing configuration. <P>SOLUTION: A data processing apparatus comprises: a plain-text section 11 for restoring plain-text stream from an encrypted stream; a distribution information output section 13 for outputting distribution information indicating procedures for distributing the plain-text stream; an internal memory 14 as a protected storage section that is protected from external access; an external memory 20 as a non-protected storage section provided outside; a separation section 16 for distributing the plain-text stream into the internal memory 14 and the external memory 20 and separately storing them; and a coupling section 17 for coupling respective partial data stored in the internal memory 14 and the external memory 20 on the basis of the distribution information. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、暗号化されたストリームデータを含む暗号化ストリームからストリームデータを復元するデータ処理装置、データ処理方法、データ処理プログラム、およびそのデータ処理プログラムを記録した記録媒体、並びに集積回路に関する。   The present invention relates to a data processing device that restores stream data from an encrypted stream including encrypted stream data, a data processing method, a data processing program, a recording medium that records the data processing program, and an integrated circuit.

近年、マルチメディア関連の技術の進展により、画像データや音声データなどを圧縮符号化し、圧縮符号化により生成されたデジタルデータを処理する装置や方法に関する技術が急速に進展している。とりわけ、情報機器などにおいて利用される記録メディアとしてのハードディスク、光ディスクあるいはメモリカードなど、これら記録メディアの大容量化も急速に進みつつある。このような記録メディアの大容量化に伴ない、民生用の映像機器分野においても、映画番組のような長時間の映像や音声信号をデジタル形式で記録することが一般的となっている。また、このようなデジタル形式で記録するデジタル記録技術を利用することにより、従来のアナログ方式による記録と比較してより高画質化や高音質化を図りながら映画番組などを録画することができる。   2. Description of the Related Art In recent years, with the development of multimedia-related technologies, technologies related to apparatuses and methods for compressing and encoding image data, audio data, and the like and processing digital data generated by compression encoding have rapidly advanced. In particular, the increase in capacity of these recording media such as hard disks, optical discs, and memory cards as recording media used in information equipment is rapidly progressing. Accompanying the increase in the capacity of such recording media, it has become common to record long-term video and audio signals such as movie programs in a digital format in the field of consumer video equipment. In addition, by using a digital recording technique for recording in such a digital format, it is possible to record a movie program or the like while achieving higher image quality and higher sound quality as compared with conventional analog recording.

一方、このようなデジタル記録技術を利用することで、動画像や音声信号を容易、かつ画質や音質などを劣化させることなくコピーを作成することができる。このため、例えば著作権保護の対象となるようなコンテンツの複製も容易かつ劣化なく作成できることとなり、いかに不正コピーなどの防止を図るかが課題とされている。また、このような課題を解決するため、従来、不正コピーなどの防止を目的とした著作権保護に関する技術が提案されている。   On the other hand, by using such a digital recording technique, it is possible to easily create a copy of a moving image or audio signal without degrading image quality or sound quality. For this reason, for example, a copy of content that is subject to copyright protection can be created easily and without deterioration, and how to prevent unauthorized copying is a problem. In order to solve such problems, techniques related to copyright protection for the purpose of preventing illegal copying have been proposed.

このような著作権保護に関する技術の一つとして、記録や通信における情報を秘匿するため、情報を暗号化して記録や通信を行う暗号化に関する技術がある。このため、光ディスクの一種であるDVD、あるいはメモリカードの一種であるSDメモリカードなどの記録メディアにおいても、デジタル動画像などのコンテンツデータを含むストリームデータを暗号化したままで記録する技術が提案されている。このような技術によって、そのコンテンツの秘匿化を図り、コンテンツの著作権保護が図られている。   As one of such technologies relating to copyright protection, there is a technology relating to encryption in which information is encrypted and recording and communication are performed in order to conceal information in recording and communication. For this reason, a technique for recording stream data including content data such as digital moving images in an encrypted manner on a recording medium such as a DVD that is a kind of optical disk or an SD memory card that is a kind of memory card has been proposed. ing. With such a technique, the content is concealed and the copyright of the content is protected.

また、上述のような記録メディアに画像データなどを含むストリームデータを記録したり、記録メディアに記憶されたストリームデータを再生したりする記録再生機能を有したデータ処理装置には、コンテンツデータの圧縮伸長処理や暗復号化処理などのデータ処理部として、LSIなどの集積回路が搭載されている。さらに、このようなデータ処理を行うため、通常、LSIの外部に、データ処理中のデータを一時的に保存したりする外部メモリを設けた構成が用いられる。   The data processing apparatus having a recording / playback function for recording stream data including image data or the like on the recording medium as described above and playing back the stream data stored on the recording medium also includes compression of content data. An integrated circuit such as an LSI is mounted as a data processing unit such as decompression processing or encryption / decryption processing. Further, in order to perform such data processing, a configuration in which an external memory for temporarily storing data being processed is provided outside the LSI.

ところで、このようなLSIと外部メモリとを接続してデータ処理を行うような構成では、例えば、LSIによる暗復号化処理の対象となる画像データや復号化(Decryption)処理中のデータがLSIと外部メモリとの間で転送されることとなる。このため、外部メモリに転送されるデータを不正に読取ることが可能であった。一方、LSIの内部に設けた内部メモリのみを利用してデータ処理を行うことにより、このような不正を防止することが可能となるが、画像データのような大容量のデータを内部メモリのみで処理するには限界があった。このため、従来、外部のメモリを利用してデータ処理を行うとともに、不正なデータ読取りをも防止するような技術が提案されている(例えば、特許文献1参照)。   By the way, in such a configuration in which data processing is performed by connecting an LSI and an external memory, for example, image data to be subjected to encryption / decryption processing by the LSI or data during decryption processing is stored in the LSI. It will be transferred to and from the external memory. For this reason, it is possible to illegally read data transferred to the external memory. On the other hand, by performing data processing using only the internal memory provided in the LSI, it is possible to prevent such injustices. However, large-capacity data such as image data can be stored only in the internal memory. There were limits to processing. For this reason, conventionally, there has been proposed a technique for performing data processing using an external memory and preventing illegal data reading (see, for example, Patent Document 1).

図9は、従来のデータ保護を図ったデータ処理装置の構成図である。図9に示すように、従来のデータ処理装置は、DVDやメモリカードなどの装置外部の記録メディアに記録されたストリームデータを記録メディアインタフェース部(以下、適宜、「記録メディアI/F部」と呼ぶ)910から読込む。さらに、従来のデータ処理装置は、外部メモリ920に一時的に処理中のデータを保存しながら、LSI900がデータ処理を実行する。図9に示すデータ処理装置では、記録メディアI/F部910が、記録メディアに記録されたスクランブルデータを読込むような一例を示している。スクランブルデータは、画像データをMPEG(Moving Picture Expert Group)方式に従って圧縮符号化して生成したストリームデータに対し、さらにスクランブル処理を施し生成したデータである。LSI900は、このようなスクランブルデータから画像や音声などのコンテンツデータを復元するような再生処理を実行する。   FIG. 9 is a configuration diagram of a conventional data processing apparatus for data protection. As shown in FIG. 9, a conventional data processing apparatus converts stream data recorded on a recording medium outside the apparatus such as a DVD or a memory card into a recording medium interface unit (hereinafter referred to as “recording medium I / F unit” as appropriate). Read from 910). Further, in the conventional data processing apparatus, the LSI 900 executes data processing while temporarily storing data being processed in the external memory 920. The data processing apparatus shown in FIG. 9 shows an example in which the recording medium I / F unit 910 reads scrambled data recorded on the recording medium. The scrambled data is data generated by further performing scramble processing on stream data generated by compressing and encoding image data according to the MPEG (Moving Picture Expert Group) system. The LSI 900 executes a reproduction process that restores content data such as images and sounds from such scrambled data.

LSI900にスクランブルデータが供給されると、デスクランブル処理部91は、スクランブルデータに対するデスクランブル処理を行う。これにより、デスクランブル処理部91は、MPEG方式に基づいたストリームデータを生成し、このストリームデータを内部CPU90により内部メモリ94に転送する。さらに、内部メモリ94に転送されたストリームデータは、メモリ制御部95により外部メモリ920に転送され、この外部メモリ920に一旦保存される。   When the scramble data is supplied to the LSI 900, the descramble processing unit 91 performs a descrambling process on the scramble data. As a result, the descrambling unit 91 generates stream data based on the MPEG system, and transfers this stream data to the internal memory 94 by the internal CPU 90. Further, the stream data transferred to the internal memory 94 is transferred to the external memory 920 by the memory control unit 95 and temporarily stored in the external memory 920.

このようなストリームデータの外部メモリ920への転送において、メモリ制御部95は、外部メモリ920の転送先領域を示すアドレスデータを設定し、外部メモリ920に供給する。また、データ種類検出部96は、内部CPU90からのフレームタイプなどを示す情報である種類情報を検出し、さらに種類情報に応じたストリームデータとこのストリームデータを格納する外部メモリ920のアドレスとの対応付けを行う。そして、データ種類検出部96により検出された種類情報がIフレームを示すときには、実行制御部97は、暗号化(Encryption)処理を実行するよう暗号化部98に対して指示する。これに応答して、暗号化部98は、メモリ制御部95により内部メモリ94から外部メモリ920へ転送されるストリームデータに対して暗号化処理を施す。さらに、暗号化処理されたストリームデータは、アドレスデータにより示される外部メモリ920の格納領域に格納される。一方、データ種類検出部96により検出された種類情報がIフレーム以外のフレームを示すときには、実行制御部97は、暗号化処理を実行しないよう暗号化部98に対して指示する。この場合、内部メモリ94に格納されたストリームデータは、そのまま暗号化部98を通過して外部メモリ920に転送される。   In transferring such stream data to the external memory 920, the memory control unit 95 sets address data indicating a transfer destination area of the external memory 920 and supplies the address data to the external memory 920. Further, the data type detection unit 96 detects type information that is information indicating the frame type and the like from the internal CPU 90, and further associates the stream data corresponding to the type information with the address of the external memory 920 that stores the stream data. To do. When the type information detected by the data type detection unit 96 indicates an I frame, the execution control unit 97 instructs the encryption unit 98 to execute an encryption process. In response to this, the encryption unit 98 performs encryption processing on the stream data transferred from the internal memory 94 to the external memory 920 by the memory control unit 95. Further, the encrypted stream data is stored in the storage area of the external memory 920 indicated by the address data. On the other hand, when the type information detected by the data type detection unit 96 indicates a frame other than the I frame, the execution control unit 97 instructs the encryption unit 98 not to execute the encryption process. In this case, the stream data stored in the internal memory 94 passes through the encryption unit 98 and is transferred to the external memory 920 as it is.

また、外部メモリ920に転送されたストリームデータが内部メモリ94に転送される場合には、必要に応じて平文化部99にて平文化(Decryption)処理が施される。すなわち、外部メモリ920からストリームデータを読込むとき、データ種類検出部96は、メモリ制御部95による読込みアドレスデータに基づいて、これに対応付けられている各フレームの種類を示す種類情報を検出する。そして、データ種類検出部96により検出された種類情報がIフレームを示すときには、実行制御部97は、平文化処理を実行するよう平文化部99に対して指示し、平文化部99が、読込まれたストリームデータに対して平文化処理を施す。また、種類情報がIフレーム以外のフレームを示すときには、実行制御部97は、平文化処理を実行しないよう平文化部99に対して指示し、読込まれたストリームデータは、そのまま平文化部99を通過して内部メモリ94に転送される。   In addition, when the stream data transferred to the external memory 920 is transferred to the internal memory 94, a plain culture (Decryption) process is performed in the plain culture unit 99 as necessary. That is, when reading stream data from the external memory 920, the data type detection unit 96 detects type information indicating the type of each frame associated with the read address data by the memory control unit 95. . When the type information detected by the data type detection unit 96 indicates an I frame, the execution control unit 97 instructs the plain culture unit 99 to execute the plain culture process, and the plain culture unit 99 reads A plain culture process is applied to the stream data. Further, when the type information indicates a frame other than the I frame, the execution control unit 97 instructs the plain culture unit 99 not to execute the plain culture process, and the read stream data is sent to the plain culture unit 99 as it is. It passes through and is transferred to the internal memory 94.

以上のようにして内部メモリ94に転送されたストリームデータは、デコーダ92によりデコード処理が施され、これによって画像や音声などのコンテンツデータが復元される。復元された画像や音声コンテンツデータは出力部93から出力される。   The stream data transferred to the internal memory 94 as described above is subjected to decoding processing by the decoder 92, thereby restoring content data such as images and sounds. The restored image and audio content data is output from the output unit 93.

このように図9に示した従来のデータ処理装置は、外部メモリ920とLSI900との間で転送されるデータに対して、データ種類検出部96の検出出力に応じて部分的に暗号化処理および平文化処理を施している。このため、従来のデータ処理装置は、転送データのすべてに対して暗号化処理および平文化処理を行う場合と比べて、暗号化処理と平文化処理における負荷、すなわちデータ処理量を削減できる。また、従来のデータ処理装置は、MPEG方式に基づくストリームデータでは、Iフレームに対する画像データがデコードされていなければ他のフレームに対する画像データのデコードが不可能であることを利用し、画像データの機密性の保持をも図っている。すなわち、LSI900の内部メモリ94と外部メモリ920間で転送されるストリームデータのうち、Iフレームに対応するストリームデータに対して暗号化処理を施すことで、外部メモリ920を用いたデータ処理装置における画像データの機密性が図れる。   As described above, the conventional data processing apparatus shown in FIG. 9 partially encrypts and transfers data transferred between the external memory 920 and the LSI 900 according to the detection output of the data type detection unit 96. We give a plain culture treatment. For this reason, the conventional data processing apparatus can reduce the load in the encryption process and the plain culture process, that is, the data processing amount, as compared with the case where the encryption process and the plain culture process are performed on all the transfer data. Further, the conventional data processing apparatus uses the fact that the stream data based on the MPEG system cannot decode the image data for other frames unless the image data for the I frame is decoded. We are also trying to preserve sex. That is, by performing encryption processing on stream data corresponding to an I frame among stream data transferred between the internal memory 94 and the external memory 920 of the LSI 900, an image in a data processing apparatus using the external memory 920 is obtained. Data confidentiality can be achieved.

また、ストリームデータのようなデータ列を複数の記憶手段に振り分けて分散記憶し、データの保護を図るような分散記憶手法に基づく技術も提案されている。このような技術の一例として、例えば、特許文献2で提案されている従来のストリーム記録装置は、音声データを含むストリームを取得し、取得したストリームを構成する複数のパケットのうち、音声データが存在する範囲を示す範囲識別データを含むパケットを第1のグループに振り分け、残余のパケットを第2のグループに振り分ける間引き手段と、間引き手段以外からのアクセスを実質的に阻止する第1の記憶領域を有する第1の記憶手段と、第2の記憶領域を有する第2の記憶手段とを備える。そして、この間引き手段が、第1のグループに属する間引き対象パケットを第1の記憶領域に格納し、第2のグループに属するパケットを第2の記憶領域に格納するような構成としている。   In addition, a technique based on a distributed storage technique has been proposed in which a data string such as stream data is distributed and stored in a plurality of storage units to protect the data. As an example of such a technique, for example, a conventional stream recording apparatus proposed in Patent Document 2 acquires a stream including audio data, and audio data is present among a plurality of packets constituting the acquired stream. A decimation unit that distributes packets including range identification data indicating a range to be assigned to the first group, and distributes the remaining packets to the second group, and a first storage area that substantially prevents access from other than the decimation unit A first storage means having a second storage area; and a second storage means having a second storage area. The thinning means stores the thinning target packets belonging to the first group in the first storage area and stores the packets belonging to the second group in the second storage area.

従来のストリーム記録装置は、このような構成とすることにより、間引き対象パケットはアクセスを実質的に阻止されるとともに、第2の記憶領域の記憶内容に基づいて音声を再生しようとしても、音声が正しく再生できないため、音声からなるコンテンツの保護が図られることになる。
特開2001−69481号公報 特開2003−289336号公報
With such a configuration, the conventional stream recording apparatus is substantially prevented from accessing the thinning-out target packet, and even if an attempt is made to reproduce the sound based on the contents stored in the second storage area, the sound is not heard. Since playback cannot be performed correctly, content composed of audio can be protected.
JP 2001-69481 A JP 2003-289336 A

しかしながら、特許文献1のような従来のデータ処理装置では、LSI900と外部メモリ920とのデータ転送において、暗号化部98および平文化部99を設ける必要があり、ハードウェア量が増加する。これとともに、従来のデータ処理装置では、部分的な暗号化処理および平文化処理ではあるが、これらの処理を行うための処理負荷や転送時間なども増加するという課題があった。さらに、外部メモリ920に転送するストリームデータがIフレームであるかどうかを検出するため、データ種類検出部96や暗号化部98および平文化部99の切替制御を行う実行制御部97などをも設ける必要があった。これらによってもハードウェア量が増加するとともに、このような制御のために処理が複雑となる課題があった。   However, in the conventional data processing apparatus such as Patent Document 1, it is necessary to provide the encryption unit 98 and the plain culture unit 99 for data transfer between the LSI 900 and the external memory 920, and the amount of hardware increases. At the same time, in the conventional data processing apparatus, although there are partial encryption processing and plain culture processing, there is a problem that processing load and transfer time for performing these processing also increase. Furthermore, in order to detect whether or not the stream data transferred to the external memory 920 is an I frame, a data type detection unit 96, an encryption unit 98, and an execution control unit 97 that performs switching control of the plain culture unit 99 are also provided. There was a need. As a result, the amount of hardware increases, and there is a problem that processing becomes complicated due to such control.

また、特許文献2のような従来のストリーム記録装置でも、音声データが存在する範囲を示す範囲識別データを含むパケットを検出するための回路や処理部を設ける必要があり、やはり、ハードウェア量の増加や処理が複雑となる課題があった。   Further, even in a conventional stream recording apparatus such as Patent Document 2, it is necessary to provide a circuit and a processing unit for detecting a packet including range identification data indicating a range in which audio data exists. There was a problem that the increase and the processing became complicated.

特に、例えば画像の圧縮符号化の手法として、MPEG−2、MPEG−4、H.264など異なった規格が提案されており、また音声においても同様に各種規格があり、このように異なった規格に基づくストリームデータそれぞれに対応させるためには、データ種類や特定のパケットを検出するための処理などがより複雑となる。   In particular, for example, MPEG-2, MPEG-4, H.264, or the like is used as a compression encoding method for images. Different standards such as H.264 have been proposed, and there are various standards for audio as well. In order to correspond to each stream data based on such different standards, in order to detect data types and specific packets, Processing becomes more complicated.

また、上述したように、LSIの内部に設けた内部メモリのみを利用して著作権保護の対象となるようなコンテンツデータの処理を行うことにより、従来のデータ処理装置のようなデータ種類検出部96などを設けることなく不正なデータ読取りなどを防止することができる。しかし、画像データのような大容量のデータを内部メモリのみで処理するには内部メモリの容量が増大するという課題があった。   Further, as described above, by using only the internal memory provided in the LSI and processing the content data that is subject to copyright protection, a data type detection unit such as a conventional data processing device Unauthorized data reading or the like can be prevented without providing 96 or the like. However, in order to process a large amount of data such as image data using only the internal memory, there is a problem that the capacity of the internal memory increases.

本発明は、上記課題を解決するためになされたもので、外部メモリのような非保護記憶部を利用しながら、保護された領域内でデータ処理を行うデータ処理装置において、圧縮符号化の規格などに依存することなく、ハードウェア量や処理負荷の増加を抑制するとともに、著作権の対象となるようなコンテンツの保護を図ったデータ処理装置、データ処理方法、データ処理プログラム、およびそのデータ処理プログラムを記録した記録媒体、並びに集積回路を提供することを目的とする。   The present invention has been made in order to solve the above-described problem, and in a data processing apparatus that performs data processing in a protected area while using an unprotected storage unit such as an external memory, a compression coding standard is provided. Data processing apparatus, data processing method, data processing program, and data processing for suppressing the increase in the amount of hardware and processing load and protecting the contents subject to copyright An object is to provide a recording medium on which a program is recorded, and an integrated circuit.

本発明のデータ処理装置は、暗号化されたストリームデータを含む暗号化ストリームからストリームデータを復元するデータ処理装置であって、取得した暗号化ストリームの暗号化を解くことで暗号化ストリームを平文化し、ストリームデータに対応した平文化ストリームを復元する平文化部と、外部のアクセスから保護され、平文化ストリームに対する振り分け手順を示す振分情報を出力する振分情報出力部と、外部のアクセスから保護され、データを記憶する保護記憶部と、データを記憶する非保護記憶部と、平文化ストリームを部分データに区分し、振分情報に基づき部分データを保護記憶部と非保護記憶部とに振り分けて分離記憶させる分離部と、保護記憶部が記憶した部分データと非保護記憶部が記憶した部分データとを振分情報に基づき結合し、ストリームデータを復元する結合部とを備えたことを特徴としている。   A data processing apparatus according to the present invention is a data processing apparatus that restores stream data from an encrypted stream including encrypted stream data, and decrypts the encrypted stream by decrypting the obtained encrypted stream. From the external culture access, the flat culture section that restores the plain culture stream corresponding to the stream data, the distribution information output section that outputs the distribution information that indicates the distribution procedure for the plain culture stream, and is protected from external access. Protected storage unit for storing data, non-protection storage unit for storing data, plain culture stream is divided into partial data, and partial data is divided into protection storage unit and non-protection storage unit based on distribution information Distributing information that is separated and stored separately, partial data stored in the protected storage unit, and partial data stored in the non-protected storage unit Based bonded, is characterized in that a coupling portion for restoring the stream data.

このようなデータ処理装置によれば、符号化方式やデータフォーマットに依存せず、単に振分情報に従って平文化ストリームを部分データに分離して記憶すればよいとともに、非保護記憶部に記憶した部分データのみではコンテンツを完全に復元できず、また、保護記憶部に記憶した部分データは容易にアクセスできないこととなる。さらに、振分情報も外部のアクセスから保護されているため、ストリームデータを不正に読取るなどの不正に対する防止効果を高めることができる。このため、このようなデータ処理装置によれば、圧縮符号化の規格などに依存することなく、またハードウェア量や処理負荷の増加を招くことなく、簡易な構成で、コンテンツの機密性を確保でき、著作権保護を図ることができる。   According to such a data processing device, it is only necessary to separate and store the plain culture stream into partial data according to the distribution information, without depending on the encoding method or data format, and the portion stored in the unprotected storage unit. The content cannot be completely restored only by the data, and the partial data stored in the protection storage unit cannot be easily accessed. Furthermore, since the distribution information is also protected from external access, it is possible to increase the effect of preventing illegal acts such as illegally reading stream data. For this reason, according to such a data processing device, the confidentiality of the content is ensured with a simple configuration without depending on compression coding standards, etc., and without causing an increase in hardware amount or processing load. And copyright protection.

さらに、本発明のデータ処理装置は、振分情報が、秘匿されたアルゴリズムに基づき生成された情報であることも特徴としている。   Furthermore, the data processing apparatus of the present invention is characterized in that the distribution information is information generated based on a secret algorithm.

このようなデータ処理装置によれば、振分情報が秘匿されたアルゴリズムに基づき生成された情報であるため、振分情報を不正に解読するような不正行為からより強固に保護でき、セキュリティ性をより高めることができる。   According to such a data processing device, since the distribution information is information generated based on a secret algorithm, it is possible to more securely protect against illegal acts such as illegally decoding the distribution information, and to improve security. Can be increased.

さらに、本発明のデータ処理装置は、振分情報が、ランダムに部分データを振り分けるような振り分け手順を示す情報であってもよい。   Furthermore, in the data processing device of the present invention, the distribution information may be information indicating a distribution procedure for distributing partial data at random.

このようなデータ処理装置によれば、振分情報が部分データをランダムに振り分けるような情報であるため、振分情報が示す手順の推測は不可能に近くなり、振分情報を不正に解読するような不正行為からより強固に保護でき、セキュリティ性をより高めることができる。   According to such a data processing device, since the distribution information is information that randomly distributes partial data, it is almost impossible to guess the procedure indicated by the distribution information, and the distribution information is illegally decoded. Thus, it is possible to more securely protect against such illegal acts and further enhance security.

また、本発明のデータ処理装置は、データを記憶するメモリを備え、メモリを、外部のアクセスから保護された保護領域と外部からのアクセスが可能な非保護領域とに区分し、保護記憶部をメモリの保護領域とし、非保護記憶部をメモリの非保護領域としたことも特徴としている。   The data processing apparatus of the present invention includes a memory for storing data, and divides the memory into a protected area protected from external access and an unprotected area accessible from the outside, and a protection storage unit is provided. It is also characterized in that it is a protected area of the memory and the non-protected storage unit is an unprotected area of the memory.

このようなデータ処理装置によれば、非保護領域に記憶した部分データのみでは、コンテンツを完全に復元できず、また、保護領域に記憶した部分データは容易にアクセスできないこととなり、これによって、コンテンツの機密性を確保でき、著作権保護を図ることができる。   According to such a data processing device, the content cannot be completely restored only with the partial data stored in the non-protected area, and the partial data stored in the protected area cannot be easily accessed. Confidentiality and copyright protection.

また、本発明のデータ処理装置は、記録メディアから、暗号化ストリームおよび暗号化された振分情報である暗号化振分情報を含む記録データを取得する受信部を、さらに備え、平文化部が、受信部で取得した記録データに含まれる暗号化ストリームおよび暗号化振分情報の暗号化を解くことで、暗号化ストリームおよび暗号化振分情報を平文化し、ストリームデータに対応した平文化ストリームおよび振分情報を復元し、振分情報出力部が、平文化部により復元された振分情報を分離部および結合部に供給することも特徴としている。   The data processing apparatus of the present invention further includes a receiving unit that acquires recording data including an encrypted stream and encrypted distribution information that is encrypted distribution information from a recording medium, The encrypted stream and the encrypted distribution information included in the recording data acquired by the receiving unit are decrypted to flatten the encrypted stream and the encrypted distribution information, and the plain culture stream corresponding to the stream data The distribution information is restored, and the distribution information output unit supplies the distribution information restored by the plain culture unit to the separation unit and the combination unit.

さらに、本発明のデータ処理装置は、記録データを記録メディアに記録する記録処理部を備え、記録処理部が、ストリームデータを複数の部分データに区分して振分情報を生成し、さらに暗号化することで暗号化振分情報を生成し、暗号化ストリームとともに暗号化振分情報を含む記録データとして記録メディアに記録する構成であってもよい。   Furthermore, the data processing apparatus of the present invention includes a recording processing unit that records recording data on a recording medium, and the recording processing unit divides the stream data into a plurality of partial data to generate distribution information, and further encrypts the data. Thus, the encrypted distribution information may be generated and recorded on the recording medium as recording data including the encrypted distribution information together with the encrypted stream.

このようなデータ処理装置によれば、異なった振分情報をそれぞれ記憶しておくような記憶部を設けることなく、記録メディアに記録する暗号化ストリームごとに異なった振分情報を生成できるため、簡易な構成で、振分情報を異ならせることによるセキュリティ性を向上させることができる。また、振分情報は、暗号化振分情報として記録メディアに記録されているため、振分情報に対するセキュリティ性も確保できる。このため、このようなデータ処理装置によっても、圧縮符号化の規格などに依存することなく、またハードウェア量や処理負荷の増加を招くことなく、簡易な構成で、コンテンツの機密性を確保でき、著作権保護を図ることができる。   According to such a data processing device, since it is possible to generate different distribution information for each encrypted stream to be recorded on the recording medium without providing a storage unit for storing different distribution information, With a simple configuration, it is possible to improve the security by changing the distribution information. Further, since the distribution information is recorded on the recording medium as encrypted distribution information, security for the distribution information can be ensured. For this reason, even with such a data processing device, it is possible to ensure the confidentiality of the content with a simple configuration without depending on compression coding standards and without increasing the amount of hardware and processing load. Copyright protection can be achieved.

さらに、本発明のデータ処理装置は、外部からアクセス困難とした保護処理部と外部からアクセス可能な非保護処理部とに区分され、非保護処理部に、非保護記憶部を配置し、保護処理部に、少なくとも、平文化部、振分情報出力部、保護記憶部、分離部および結合部を配置したことも特徴としている。   Furthermore, the data processing device of the present invention is divided into a protection processing unit that is difficult to access from the outside and a non-protection processing unit that is accessible from the outside. It is also characterized in that at least a flat culture section, a distribution information output section, a protection storage section, a separation section, and a coupling section are arranged in the section.

このようなデータ処理装置によれば、保護記憶部とともに、平文化部、振分情報出力部、分離部および結合部も外部からアクセス困難な保護処理部に配置されるため、平文化ストリームや振分情報のような保護が必要なデータを伝送するデータバスなども保護処理部に配置されることになり、コンテンツの機密性をより向上させることができる。   According to such a data processing device, the plain culture part, the distribution information output part, the separation part, and the joining part are also arranged in the protection processing part that is difficult to access from the outside together with the protection storage part. A data bus for transmitting data such as minute information that needs to be protected is also arranged in the protection processing unit, and the confidentiality of the content can be further improved.

さらに、本発明のデータ処理装置は、保護処理部が、パッケージ化された集積回路であり、非保護記憶部が、集積回路の外部に設けた外部メモリであることも特徴としている。   Furthermore, the data processing apparatus of the present invention is characterized in that the protection processing unit is a packaged integrated circuit and the non-protected storage unit is an external memory provided outside the integrated circuit.

このようなデータ処理装置によれば、保護処理部が、外部からのアクセスが非常に困難な集積回路内に配置されることになるため、コンテンツの機密性をさらに向上できる。   According to such a data processing apparatus, since the protection processing unit is arranged in the integrated circuit that is very difficult to access from the outside, the confidentiality of the content can be further improved.

さらに、本発明のデータ処理装置は、保護記憶部が、集積回路の内部に設けた内部メモリであることも特徴としている。   Furthermore, the data processing apparatus of the present invention is characterized in that the protection storage unit is an internal memory provided in the integrated circuit.

このようなデータ処理装置によれば、保護記憶部が、外部からのアクセスが非常に困難な集積回路内に配置されることになるため、コンテンツの機密性をさらに向上できる。   According to such a data processing device, since the protection storage unit is arranged in the integrated circuit that is very difficult to access from the outside, the confidentiality of the content can be further improved.

さらに、本発明のデータ処理装置は、保護処理部が、結合部で復元されたストリームデータをデコードして復号化データを復元するデコーダを、さらに備えたことも特徴としている。   Furthermore, the data processing apparatus of the present invention is characterized in that the protection processing unit further includes a decoder that decodes the stream data restored by the combining unit to restore the decoded data.

このようなデータ処理装置によれば、平文化ストリームは保護処理部で処理され、保護処理部の外部に出力されないことになるため、コンテンツの機密性をより向上させることができる。   According to such a data processing apparatus, since the plain culture stream is processed by the protection processing unit and is not output to the outside of the protection processing unit, the confidentiality of the content can be further improved.

さらに、本発明のデータ処理装置は、記録処理部が、外部のアクセスから保護された暗復号化のための鍵データを記憶し、振分情報を鍵データで暗号化することで暗号化振分情報を生成し、平文化部が、鍵データにより暗号化振分情報の暗号化を解くことで振分情報を復元することも特徴としている。   Furthermore, in the data processing apparatus of the present invention, the recording processing unit stores the key data for encryption / decryption protected from external access, and encrypts the distribution information with the key data to encrypt the distribution. It is also characterized in that the information is generated, and the Heibun Culture Department restores the distribution information by decrypting the encrypted distribution information with the key data.

このようなデータ処理装置によれば、振分情報を暗号化する鍵データも保護処理部に配置されるため、セキュリティ性をより高めることができる。   According to such a data processing apparatus, since the key data for encrypting the distribution information is also arranged in the protection processing unit, the security can be further improved.

さらに、本発明のデータ処理装置は、集積回路が、暗復号化のための鍵データを記憶する鍵記憶部をさらに備え、記録処理部が、鍵記憶部に記憶された鍵データにより振分情報を暗号化することで暗号化振分情報を生成し、平文化部が、鍵記憶部に記憶された鍵データにより暗号化振分情報の暗号化を解くことで振分情報を復元することも特徴としている。   Furthermore, in the data processing device of the present invention, the integrated circuit further includes a key storage unit that stores key data for encryption / decryption, and the recording processing unit uses the key data stored in the key storage unit to distribute information. The encrypted distribution information is generated by encrypting the encrypted information, and the plain culture department can restore the distribution information by decrypting the encrypted distribution information with the key data stored in the key storage section. It is a feature.

このようなデータ処理装置によれば、振分情報を暗号化する鍵データが集積回路内の鍵記憶部に記憶されるため、セキュリティ性をより高めることができる。   According to such a data processing apparatus, since the key data for encrypting the distribution information is stored in the key storage unit in the integrated circuit, security can be further improved.

さらに、本発明のデータ処理装置は、鍵データが、集積回路固有の情報に基づくデータであることも特徴としている。   Furthermore, the data processing apparatus of the present invention is characterized in that the key data is data based on information unique to the integrated circuit.

このようなデータ処理装置によれば、振分情報を暗号化する鍵データは、集積回路固有の情報に基づくデータでよいため、簡易な構成で、セキュリティ性をより高めることができる。   According to such a data processing apparatus, the key data for encrypting the distribution information may be data based on the information unique to the integrated circuit, and thus the security can be further improved with a simple configuration.

さらに、本発明のデータ処理装置は、振分情報が、ストリームデータを特殊再生するためのインデックス情報であり、受信部が、記録メディアに記録された暗号化ストリームとともに暗号化振分情報としての暗号化されたインデックス情報である暗号化インデックス情報を取得することも特徴としている。   Further, in the data processing device of the present invention, the distribution information is index information for special reproduction of the stream data, and the reception unit encrypts the encrypted distribution information together with the encrypted stream recorded on the recording medium. It is also characterized by acquiring encrypted index information that is converted index information.

このようなデータ処理装置によれば、記録メディアなどにあらかじめ記録したインデックス情報を振分情報として利用できるため、ストリームデータからフレームの種類情報を検出するような手段は必要ない。また、圧縮符号化の規格などに依存しないインデックス情報が利用できる。このため、ハードウェア量や処理負荷の増加を抑制するとともに、コンテンツの著作権保護を図ることができる。   According to such a data processing apparatus, since index information recorded in advance on a recording medium or the like can be used as distribution information, means for detecting frame type information from stream data is not necessary. Also, index information that does not depend on compression coding standards or the like can be used. For this reason, it is possible to suppress the increase in the amount of hardware and the processing load and to protect the copyright of the content.

さらに、本発明のデータ処理装置は、平文化部が、取得した記録データに含まれる暗号化インデックス情報の暗号化を解くことでインデックス情報を復元し、振分情報出力部が、復元したインデックス情報のエントリフレームに関する情報を出力し、分離部が、エントリフレームに関する情報に基づき、復元した平文化ストリームを、一方の部分データと他方の部分データとに振り分けて分離することも特徴としている。   Furthermore, in the data processing apparatus of the present invention, the plain culture department restores the index information by decrypting the encrypted index information included in the acquired recording data, and the distribution information output section restores the restored index information. It is also characterized in that the information on the entry frame is output, and the separating unit sorts the restored plain culture stream into one partial data and the other partial data based on the information on the entry frame.

このようなデータ処理装置によれば、記録メディアなどにあらかじめ記録されているインデックス情報に含まれたエントリフレームに関する情報を振分情報として利用できるため、ストリームデータからフレームの種類情報を検出するような手段は必要ない。また、圧縮符号化の規格などに依存しないインデックス情報が利用できる。このため、ハードウェア量や処理負荷の増加を抑制するとともに、コンテンツの著作権保護を図ることができる。   According to such a data processing apparatus, information on entry frames included in index information recorded in advance on a recording medium or the like can be used as distribution information, so that frame type information is detected from stream data. No means are needed. Also, index information that does not depend on compression coding standards or the like can be used. For this reason, it is possible to suppress the increase in the amount of hardware and the processing load and to protect the copyright of the content.

さらに、本発明のデータ処理装置は、分離部が、エントリフレームに関する情報に基づき、少なくともエントリフレームのデータを格納したパケットを含む一方の部分データを保護記憶部に記憶させ、一方の部分データ以外の部分データを非保護記憶部に記憶させることも特徴としている。   Furthermore, in the data processing device of the present invention, the separation unit stores at least one partial data including a packet storing the data of the entry frame in the protection storage unit based on the information about the entry frame, Another feature is that the partial data is stored in the non-protected storage unit.

このようなデータ処理装置によれば、他のフレームのデコードに必要となる重要なパケットとそれ以外のパケットとを、エントリフレームに関する情報に基づき容易に分離できる。このため、ハードウェア量や処理負荷の増加を抑制するとともに、コンテンツの機密性の向上を図ることができる。   According to such a data processing device, an important packet necessary for decoding other frames and other packets can be easily separated based on information on entry frames. For this reason, it is possible to suppress the increase in the amount of hardware and the processing load and improve the confidentiality of the content.

さらに、本発明のデータ処理装置は、分離部が、エントリフレームに関する情報に基づき、少なくともエントリフレームのデータを格納したパケットを含む一方の部分データを非保護記憶部に記憶させ、一方の部分データ以外の部分データを保護記憶部に記憶させることも特徴としている。   Further, in the data processing device according to the present invention, the separation unit stores at least one partial data including a packet storing the data of the entry frame in the non-protected storage unit based on the information about the entry frame, The partial data is also stored in the protection storage unit.

このようなデータ処理装置によれば、他のフレームのデコードに必要となる重要なパケットとそれ以外のパケットとを、エントリフレームに関する情報に基づき容易に分離できる。このため、ハードウェア量や処理負荷の増加を抑制するとともに、コンテンツの機密性の向上を図ることができる。   According to such a data processing device, an important packet necessary for decoding other frames and other packets can be easily separated based on information on entry frames. For this reason, it is possible to suppress the increase in the amount of hardware and the processing load and improve the confidentiality of the content.

さらに、本発明のデータ処理装置は、エントリフレームが、符号化された画像データを含むストリームデータのIフレームであり、エントリフレームに関する情報が、Iフレームの符号化された画像データを格納したパケット番号を含む情報であることも特徴としている。   Furthermore, in the data processing device of the present invention, the entry frame is an I frame of stream data including encoded image data, and the information regarding the entry frame is a packet number in which the encoded image data of the I frame is stored. It is also characterized by information including

このようなデータ処理装置によれば、他のフレームのデコードに必要となる重要なIフレームのデータを格納したパケットとそれ以外のパケットとを、エントリフレームに関する情報に基づき容易に分離できる。このため、ハードウェア量や処理負荷の増加を抑制するとともに、コンテンツの機密性の向上を図ることができる。   According to such a data processing device, a packet storing important I-frame data necessary for decoding other frames and other packets can be easily separated based on information about entry frames. For this reason, it is possible to suppress the increase in the amount of hardware and the processing load and improve the confidentiality of the content.

さらに、本発明のデータ処理装置は、暗号化ストリームと暗号化インデックス情報とが、同一のファイルとして記録メディアに記録されていることも特徴としている。   Furthermore, the data processing apparatus of the present invention is characterized in that the encrypted stream and the encrypted index information are recorded on the recording medium as the same file.

このようなデータ処理装置によれば、記録メディアにあらかじめ記録されたインデックス情報を利用して各部分データに分離できるため、圧縮符号化の規格などに依存せず、ハードウェア量や処理負荷の増加を抑制しながら、容易にコンテンツの著作権保護を図ることができる。   According to such a data processing device, since it is possible to separate into partial data using index information recorded in advance on a recording medium, the amount of hardware and processing load increase without depending on compression coding standards, etc. It is possible to easily protect the copyright of the content while suppressing the content.

さらに、本発明のデータ処理装置は、暗号化ストリームと暗号化インデックス情報とが、それぞれ異なるファイルとして記録メディアに記録されていることも特徴としている。   Furthermore, the data processing apparatus of the present invention is characterized in that the encrypted stream and the encrypted index information are recorded on the recording medium as different files.

このようなデータ処理装置によれば、記録メディアにあらかじめ記録されたインデックス情報を利用して各部分データに分離できるため、圧縮符号化の規格などに依存せず、ハードウェア量や処理負荷の増加を抑制しながら、容易にコンテンツの著作権保護を図ることができる。   According to such a data processing device, since it is possible to separate into partial data using index information recorded in advance on a recording medium, the amount of hardware and processing load increase without depending on compression coding standards, etc. It is possible to easily protect the copyright of the content while suppressing the content.

さらに、本発明のデータ処理装置は、記録メディアが、SDメモリカードであり、インデックス情報が、メディアオブジェクト情報ファイルに記録されることも特徴としている。   Furthermore, the data processing apparatus of the present invention is characterized in that the recording medium is an SD memory card and the index information is recorded in the media object information file.

このようなデータ処理装置によれば、記録メディアであるSDメモリカードにあらかじめ記録されたインデックス情報を利用して各部分データに分離できるため、圧縮符号化の規格などに依存せず、ハードウェア量や処理負荷の増加を抑制しながら、容易にコンテンツの著作権保護を図ることができる。   According to such a data processing apparatus, since it can be separated into each partial data by using index information recorded in advance on an SD memory card which is a recording medium, the amount of hardware is not dependent on compression coding standards and the like. In addition, it is possible to easily protect the copyright of content while suppressing an increase in processing load.

また、本発明のデータ処理装置は、分離部が、振分情報に基づき、部分データを保護記憶部に記憶させる保護データと非保護記憶部に記憶させる非保護データとに振り分け、保護記憶部に保護データを記憶させ、非保護記憶部には、非保護データとともに、保護データに対応した領域には乱数データを記憶させることも特徴としている。   In the data processing device of the present invention, the separation unit distributes the partial data into the protected data to be stored in the protected storage unit and the unprotected data to be stored in the non-protected storage unit based on the distribution information, and Protected data is stored, and the non-protected storage unit stores random data in an area corresponding to the protected data together with the unprotected data.

さらに、本発明のデータ処理装置は、分離部が、振分情報に基づき、部分データを保護記憶部に記憶させる保護データと非保護記憶部に記憶させる非保護データとに振り分け、保護記憶部に保護データを記憶させ、非保護記憶部には、非保護データが連続するように記憶させる構成であってもよい。   Furthermore, in the data processing device of the present invention, the separation unit distributes the partial data into the protected data to be stored in the protected storage unit and the unprotected data to be stored in the non-protected storage unit based on the distribution information, The protection data may be stored, and the non-protection storage unit may store the non-protection data so as to be continuous.

このようなデータ処理装置によれば、非保護記憶部に記憶されたデータにおいて、保護データに対応する箇所が不明瞭となるため、コンテンツの保護効果をさらに高めることができる。   According to such a data processing apparatus, in the data stored in the non-protected storage unit, the location corresponding to the protected data becomes unclear, so that the content protection effect can be further enhanced.

また、本発明の集積回路は、取得した暗号化ストリームの暗号化を解くことで暗号化ストリームを平文化し、ストリームデータに対応した平文化ストリームを復元する平文化部と、外部のアクセスから保護され、平文化ストリームに対する振り分け手順を示す振分情報を出力する振分情報出力部と、データを記憶する保護記憶部と、平文化ストリームを部分データに区分し、振分情報に基づき一方の部分データと他方の部分データとに振り分けて分離し、一方の部分データを保護記憶部に記憶させ、他方の部分データを外部に出力する分離部と、保護記憶部が記憶した一方の部分データおよび外部から取込んだ他方の部分データを振分情報に基づき結合し、ストリームデータを復元する結合部とを備えたことを特徴としている。   In addition, the integrated circuit of the present invention uncovers the encrypted stream that has been acquired, and clears the encrypted stream and restores the plain culture stream corresponding to the stream data, and protects it from external access. A distribution information output unit that outputs distribution information indicating a distribution procedure for a plain culture stream, a protection storage unit that stores data, and a plain culture stream that is divided into partial data. The data is separated into the other partial data, separated, the partial data is stored in the protection storage unit, and the other partial data is output to the outside, and the partial data stored in the protection storage unit and the external The other partial data fetched from the above is combined based on the distribution information, and a combining unit for restoring the stream data is provided.

このような集積回路によれば、平文化部、振分情報出力部、保護記憶部、分離部および結合部が外部からのアクセスが非常に困難な集積回路内に配置されるため、平文化ストリームや振分情報のような保護が必要なデータを伝送するデータバスなども保護処理部に配置されることになり、コンテンツの機密性を確保でき、著作権保護を図ることができる。   According to such an integrated circuit, the plain culture section, the distribution information output section, the protection storage section, the separation section, and the coupling section are arranged in the integrated circuit that is very difficult to access from the outside. A data bus for transmitting data that needs to be protected, such as distribution information, is also arranged in the protection processing unit, so that the confidentiality of the content can be secured and copyright protection can be achieved.

また、本発明のデータ処理プログラムは、暗号化されたストリームデータを含む暗号化ストリームからストリームデータを復元するデータ処理装置のデータ処理プログラムであって、取得した暗号化ストリームの暗号化を解くことで暗号化ストリームを平文化し、ストリームデータに対応した平文化ストリームを復元するステップと、平文化ストリームに対する振り分け手順を示す振分情報を出力するステップと、平文化ストリームを部分データに区分し、振分情報に基づき部分データを、外部のアクセスから保護された保護記憶部と非保護記憶部とに振り分けて分離記憶させるステップと、保護記憶部が記憶した部分データと非保護記憶部が記憶した部分データとを振分情報に基づき結合し、ストリームデータを復元するステップとを備えたことを特徴としている。   The data processing program of the present invention is a data processing program for a data processing apparatus that restores stream data from an encrypted stream including encrypted stream data, by decrypting the obtained encrypted stream. Clearly encrypt the encrypted stream, restore the plain culture stream corresponding to the stream data, output the distribution information indicating the distribution procedure for the plain culture stream, and divide the plain culture stream into partial data. The step of distributing the partial data based on the minute information to the protected storage unit and the non-protected storage unit protected from external access and storing them separately, the partial data stored in the protected storage unit and the portion stored in the non-protected storage unit Combining the data with the distribution information and restoring the stream data It is characterized in that.

このようなデータ処理プログラムによれば、非保護記憶部に記憶した部分データのみでは、コンテンツを完全に復元できず、また、保護記憶部に記憶した部分データは容易にアクセスできないデータ処理装置における処理を実行できる。   According to such a data processing program, the content cannot be completely restored only with partial data stored in the unprotected storage unit, and the partial data stored in the protected storage unit cannot be easily accessed. Can be executed.

また、本発明の記録媒体は、上記データ処理プログラムを記録する。   The recording medium of the present invention records the data processing program.

このようなデータ処理プログラムを記憶する記録媒体によれば、非保護記憶部に記憶した部分データのみでは、コンテンツを完全に復元できず、また、保護記憶部に記憶した部分データは容易にアクセスできないデータ処理装置における処理を実行できるデータ処理プログラムを提供することができる。   According to the recording medium storing such a data processing program, the content cannot be completely restored only by the partial data stored in the non-protected storage unit, and the partial data stored in the protected storage unit cannot be easily accessed. A data processing program capable of executing processing in the data processing device can be provided.

また、本発明のデータ処理方法は、暗号化されたストリームデータを含む暗号化ストリームからストリームデータを復元するデータ処理装置のデータ処理方法であって、取得した暗号化ストリームの暗号化を解くことで暗号化ストリームを平文化し、ストリームデータに対応した平文化ストリームを復元するステップと、平文化ストリームに対する振り分け手順を示す振分情報を出力するステップと、平文化ストリームを部分データに区分し、振分情報に基づき部分データを、外部のアクセスから保護された保護記憶部と非保護記憶部とに振り分けて分離記憶させるステップと、保護記憶部が記憶した部分データと非保護記憶部が記憶した部分データとを振分情報に基づき結合し、ストリームデータを復元するステップとを備えたことを特徴としている。   The data processing method of the present invention is a data processing method of a data processing apparatus for restoring stream data from an encrypted stream including encrypted stream data, by decrypting the obtained encrypted stream. Clearly encrypt the encrypted stream, restore the plain culture stream corresponding to the stream data, output the distribution information indicating the distribution procedure for the plain culture stream, and divide the plain culture stream into partial data. The step of distributing the partial data based on the minute information to the protected storage unit and the non-protected storage unit protected from external access and storing them separately, the partial data stored in the protected storage unit and the portion stored in the non-protected storage unit Combining the data based on the distribution information and restoring the stream data It is.

このようなデータ処理方法によれば、非保護記憶部に記憶した部分データのみでは、コンテンツを完全に復元できず、また、保護記憶部に記憶した部分データは容易にアクセスできないデータ処理装置における処理を実行できる。   According to such a data processing method, the content cannot be completely restored only with partial data stored in the non-protected storage unit, and the partial data stored in the protected storage unit cannot be easily accessed. Can be executed.

本発明のデータ処理装置は、例えば、集積回路のような外部のアクセスから保護された保護処理部の内部において、所定の振り分け手順を示す振分情報に基づき平文化ストリームの部分データを、内部メモリのような保護記憶部と外部メモリのような非保護記憶部とに振り分けて分離記憶するような構成である。このように、本発明のデータ処理装置は、振分情報を設定するのみでよいため、非保護記憶部へのデータ伝送において暗号化部や平文化部などを設ける必要はなく、平文化ストリームなどからフレームの種類情報を検出するデータ種類検出部や実行制御部などを設ける必要もない。さらに、このような簡易な構成であっても、非保護記憶部に記憶した部分データのみではコンテンツを完全に復元できず、また、保護記憶部に記憶した部分データは容易にアクセスできず、振分情報も外部のアクセスから保護されている。このため、本発明のデータ処理装置によれば、圧縮符号化の規格などに依存することなく、ハードウェア量や処理負荷の増加を抑制するとともに、著作権の対象となるようなコンテンツの保護を図ったデータ処理装置を提供することができる。また、同様に、本発明のデータ処理方法、データ処理プログラム、およびそのデータ処理プログラムを記録した記録媒体、並びに集積回路によっても、圧縮符号化の規格などに依存することなく、ハードウェア量や処理負荷の増加を抑制するとともに、著作権の対象となるようなコンテンツの保護を図ることができる。   The data processing apparatus of the present invention, for example, stores partial data of a plain culture stream in an internal memory based on distribution information indicating a predetermined distribution procedure in a protection processing unit protected from external access such as an integrated circuit. In such a configuration, the data is divided and stored in a protected storage unit such as the above and a non-protected storage unit such as an external memory. As described above, since the data processing apparatus of the present invention only needs to set the distribution information, it is not necessary to provide an encryption unit or a plain culture unit in data transmission to the non-protected storage unit. Therefore, there is no need to provide a data type detection unit or an execution control unit for detecting frame type information. Further, even with such a simple configuration, the content cannot be completely restored only with partial data stored in the non-protected storage unit, and the partial data stored in the protected storage unit cannot be easily accessed. Minute information is also protected from external access. For this reason, according to the data processing apparatus of the present invention, it is possible to suppress the increase in the amount of hardware and the processing load without depending on the compression coding standard and the like, and to protect the content subject to copyright. The intended data processing apparatus can be provided. Similarly, the data processing method, the data processing program, the recording medium on which the data processing program is recorded, and the integrated circuit of the present invention also depend on the amount of hardware and processing without depending on the compression coding standard. While suppressing an increase in load, it is possible to protect content that is subject to copyright.

以下、本発明の実施の形態におけるデータ処理装置について、図面を参照しながら説明する。   Hereinafter, a data processing apparatus according to an embodiment of the present invention will be described with reference to the drawings.

(実施の形態1)
図1は、本発明の実施の形態1におけるデータ処理装置の一例を示すブロック図である。図1に示すように、本実施の形態のデータ処理装置は、DVDやメモリカードなどの記録メディア30に記録された記録データを読込み、LSI100が外部メモリ20に一時的に処理中のデータを保存しながらデータ処理を実行する。本実施の形態では、データ処理部として、LSI100が外部メモリ20を利用しながら暗号化や符号化に対する復号化処理などのデータ処理を実行し、復元されたコンテンツデータがLSI100から出力されるような構成例を挙げて説明する。また、本実施の形態では、LSI100が、パッケージ化やモジュール化されており、外部からアクセス困難とした保護処理部として機能し、外部メモリ20を含めてLSI100の外部が、外部からアクセス可能な非保護処理部として機能する。
(Embodiment 1)
FIG. 1 is a block diagram showing an example of a data processing apparatus according to Embodiment 1 of the present invention. As shown in FIG. 1, the data processing apparatus according to the present embodiment reads recording data recorded on a recording medium 30 such as a DVD or a memory card, and temporarily stores data being processed by the LSI 100 in the external memory 20. The data processing is executed. In the present embodiment, as the data processing unit, the LSI 100 executes data processing such as encryption or decryption processing while using the external memory 20, and the restored content data is output from the LSI 100. A configuration example will be described. In the present embodiment, the LSI 100 is packaged or modularized, functions as a protection processing unit that is difficult to access from the outside, and the outside of the LSI 100 including the external memory 20 is accessible from the outside. Functions as a protection processing unit.

本実施の形態では、データ処理装置が対象とする記録メディア30を可搬型の記録媒体とした一例を挙げており、本データ処理装置に装着することで記録メディア30に記録されたコンテンツの再生を行うことができる。図1では、記録メディア30としてSDメモリカードのようなメモリカードを対象とした構成例を示している。また、記録メディア30には、コンテンツデータが符号化、パケット化および暗号化されたデータである暗号化ストリームデータとして記録された一例を挙げている。すなわち、画像や音声信号などで構成されるコンテンツデータは、MPEG方式などの圧縮符号化方式に従って符号化され、符号化されたデータが、例えば所定のデータ量ごとにパケット化されたストリームデータに変換される。さらに、本実施の形態では、記録メディア30に記録されたコンテンツデータの保護を図るため、このストリームデータは暗号化(Encryption)した暗号化ストリームデータ(以下、適宜、「暗号化ストリーム」と呼ぶ)に変換されている。記録メディア30には、データ処理部でデータ処理するためのストリームデータとして、このような処理を経て生成された暗号化ストリームが記録されている。   In the present embodiment, an example is given in which the recording medium 30 targeted by the data processing apparatus is a portable recording medium, and the content recorded on the recording medium 30 can be reproduced by mounting the recording medium 30 on the data processing apparatus. It can be carried out. FIG. 1 shows a configuration example for a memory card such as an SD memory card as the recording medium 30. In addition, an example is given in which content data is recorded on the recording medium 30 as encrypted stream data that is encoded, packetized, and encrypted data. In other words, content data composed of images and audio signals is encoded according to a compression encoding method such as the MPEG method, and the encoded data is converted into, for example, stream data packetized for each predetermined amount of data. Is done. Furthermore, in the present embodiment, in order to protect the content data recorded on the recording medium 30, this stream data is encrypted (encrypted stream) as appropriate (hereinafter referred to as “encrypted stream”). Has been converted. On the recording medium 30, an encrypted stream generated through such processing is recorded as stream data for data processing by the data processing unit.

また、図1に示すように、記録メディア30には、このような暗号化ストリームがデータ領域に記録されるとともに、記録メディア30を管理するための管理情報がヘッダ領域に記録される。   Further, as shown in FIG. 1, on the recording medium 30, such an encrypted stream is recorded in the data area, and management information for managing the recording medium 30 is recorded in the header area.

本データ処理装置は、このような記録メディア30を図1に示す記録メディアI/F(インタフェース)部21に装着することで、記録メディア30に暗号化ストリームの形態で記録されたコンテンツの再生を行う。   The data processing apparatus attaches such a recording medium 30 to the recording medium I / F (interface) unit 21 shown in FIG. 1 to reproduce the content recorded on the recording medium 30 in the form of an encrypted stream. Do.

図1に示すように、本データ処理装置は、記録メディア30から記録データを読込む記録メディアI/F部21と、記録メディアI/F部21が読込んだ記録データに対しデータ処理を行う集積回路であるLSI100と、LSI100のデータ処理におけるデータを記憶する非保護記憶部としての外部メモリ20とを備える。また、共通バス22は装置内の各部間のデータ転送やデータ通信を行うための共通のバスであり、記録メディアI/F部21とLSI100との間においても共通バス22を介してデータ転送が行われる。また、記録メディアI/F部21は、記録メディアから記録データを取得する受信部として機能する。   As shown in FIG. 1, the data processing apparatus performs data processing on a recording medium I / F unit 21 that reads recording data from a recording medium 30 and recording data read by the recording medium I / F unit 21. An LSI 100 that is an integrated circuit and an external memory 20 as an unprotected storage unit that stores data in data processing of the LSI 100 are provided. The common bus 22 is a common bus for performing data transfer and data communication between the respective units in the apparatus. Data transfer between the recording medium I / F unit 21 and the LSI 100 is also possible via the common bus 22. Done. The recording media I / F unit 21 functions as a receiving unit that acquires recording data from the recording medium.

また、外部メモリ20は、本データ処理装置の内部において、LSI100の外部に設けた、例えば大容量の保護機構を持たない半導体メモリである。外部メモリ20は、LSI100が実行する各処理において、特に外部から読取られても不都合のないような非保護のデータである非保護データを一時的に保存するなどのために設けている。なお、本実施の形態では、外部メモリ20は、外部からデータアクセスが可能な非保護のメモリとして説明するが、簡易な保護を施したメモリであってもよい。   The external memory 20 is a semiconductor memory that is provided outside the LSI 100 inside the data processing apparatus and does not have, for example, a large capacity protection mechanism. The external memory 20 is provided for temporarily storing unprotected data, which is unprotected data that is not inconvenient even when read from the outside, in each process executed by the LSI 100. In the present embodiment, the external memory 20 is described as an unprotected memory that can be accessed from the outside, but it may be a memory with simple protection.

次に、LSI100は、図1に示すように、平文化部11と、振分情報出力部13と、内部メモリ14と、分離部16と、結合部17と、デコーダ12とを備える。平文化部11は、記録メディア30に記録された暗号化ストリームに対して暗号化を解く平文化処理を行い、符号化およびパケット化されたコンテンツデータ、すなわちストリームデータに対応した平文化ストリームデータ(以下、適宜、「平文化ストリーム」と呼ぶ)を復元する。振分情報出力部13は、外部のアクセスから保護されており、平文化ストリームに対する振り分け手順を示す振分情報を出力する。内部メモリ14は、外部からのアクセスから保護された保護記憶部として、LSI100のデータ処理における保護されたデータとしての保護データを記憶する。分離部16は、平文化ストリームを部分的なデータである部分データに区分し、振分情報出力部13からの振分情報に基づき、部分データを内部メモリ14と外部メモリ20とに振り分けて分離記憶させる。本実施の形態では、このように区分する部分データとしてパケット単位で処理し、分離部16が、内部パケットとする部分データを内部メモリ14に記憶させ、外部パケットとする部分データを外部メモリ20に記憶させるような一例を挙げる。結合部17は、内部メモリ14に記録された内部パケットと外部メモリ20に記録された外部パケットとを、振分情報に基づき結合することで、平文化ストリームを復元する。デコーダ12は、結合部17で復元された平文化ストリームに対し、符号化(Encode)に対する復号化(Decode)処理であるデコード処理を行い、コンテンツデータを復元する。   Next, as shown in FIG. 1, the LSI 100 includes a plain culture unit 11, a distribution information output unit 13, an internal memory 14, a separation unit 16, a combining unit 17, and a decoder 12. The plain culture unit 11 performs plain culture processing for decrypting the encrypted stream recorded on the recording medium 30, and the encoded and packetized content data, that is, the plain culture stream data corresponding to the stream data ( Hereinafter, this is referred to as a “plain culture stream” as appropriate. The distribution information output unit 13 is protected from external access, and outputs distribution information indicating a distribution procedure for the plain culture stream. The internal memory 14 stores protection data as protected data in the data processing of the LSI 100 as a protection storage unit protected from external access. The separation unit 16 divides the plain culture stream into partial data that is partial data, and sorts the partial data into the internal memory 14 and the external memory 20 based on the distribution information from the distribution information output unit 13. Remember me. In the present embodiment, processing is performed in units of packets as partial data to be classified as described above, and the separation unit 16 stores the partial data to be an internal packet in the internal memory 14 and the partial data to be an external packet to the external memory 20. Take an example of memorizing. The combining unit 17 combines the internal packet recorded in the internal memory 14 and the external packet recorded in the external memory 20 based on the distribution information to restore the plain culture stream. The decoder 12 performs a decoding process that is a decoding process for the encoding (Encode) on the plain culture stream restored by the combining unit 17 to restore the content data.

さらに、LSI100は、LSI100における各処理の制御や一部の処理を実行するプロセッサとしてのCPU10、および外部メモリ20との間のデータ書込みや読出しを制御するメモリ制御部15とを備える。また、LSI100においても共通バスとして内部共通バス19があり、内部共通バス19を介してLSI100内の図1に示すような各部間のデータ転送などが行われる。   Furthermore, the LSI 100 includes a CPU 10 as a processor that executes control of each process and part of the processing in the LSI 100, and a memory control unit 15 that controls data writing and reading with the external memory 20. Further, the LSI 100 also has an internal common bus 19 as a common bus, and data transfer between the respective units as shown in FIG. 1 in the LSI 100 is performed via the internal common bus 19.

このように構成されたLSI100において、CPU10の指示に応じて、記録メディアI/F部21に装着された記録メディア30の各データが記録メディアI/F部21から共通バス22を介してLSI100に転送される。   In the LSI 100 configured as described above, each data of the recording medium 30 attached to the recording medium I / F unit 21 is transferred from the recording medium I / F unit 21 to the LSI 100 via the common bus 22 in accordance with an instruction from the CPU 10. Transferred.

平文化部11は、上述のようにして転送された記録メディア30の暗号化ストリームに対して、その暗号化(Encryption)を解読するような平文化(Decryption)処理を実行する。さらに、平文化部11は、平文化処理により平文化したデータを平文化ストリームとして出力する。このように生成された平文化ストリームは、コンテンツデータをMPEG方式などの圧縮符号化方式に従って符号化し、符号化したデータをパケット化した複数のパケットで構成されるストリームデータである。すなわち、平文化部11は、平文化処理を実行することで、平文化ストリームとしてのストリームデータを復元している。このような平文化ストリームは、分離部16に供給される。なお、記録メディアI/F部21から平文化部11に暗号化ストリームを直接供給するのに代えて、一旦外部メモリ20に暗号化ストリームの全部あるいは一部を保存し、保存した暗号化ストリームを読出して処理するような形態であってもよい。図1では、一旦外部メモリ20に暗号化ストリームを保存するような例を示している。   The plain culture unit 11 executes a decryption process for decrypting the encrypted stream of the recording medium 30 transferred as described above. Further, the flat culture section 11 outputs data flattened by the plain culture processing as a plain culture stream. The plain culture stream generated in this way is stream data composed of a plurality of packets obtained by encoding content data according to a compression encoding method such as the MPEG method and packetizing the encoded data. That is, the plain culture unit 11 restores stream data as a plain culture stream by executing a plain culture process. Such a plain culture stream is supplied to the separation unit 16. Instead of directly supplying the encrypted stream from the recording medium I / F unit 21 to the plain culture unit 11, all or part of the encrypted stream is temporarily stored in the external memory 20, and the stored encrypted stream is It may be in the form of reading and processing. FIG. 1 shows an example in which the encrypted stream is temporarily stored in the external memory 20.

振分情報出力部13は、平文化ストリームを内部メモリ14と外部メモリ20とに振り分けて分離記憶させるための振り分け手順を示す振分情報を出力する。このような振分情報として、振分情報出力部13が振分情報を記憶しているような形態であってもよく、また、振分情報出力部13が振分情報を生成するような形態であってもよい。また、振分情報は、外部のアクセスから保護するとともに、規定の手順を示すような情報としてよい。すなわち、詳細については以下で説明するが、本実施の形態のデータ処理装置は、コンテンツデータの保護を図るため、このような簡易な構成の振分情報を設定するのみでよいことを特徴としている。また、振分情報は、例えば、秘匿されたアルゴリズムに基づき生成された情報や、ランダムに平文化ストリームのパケットを振り分けるような振り分け手順を示す情報としてもよい。振分情報が秘匿されたアルゴリズムに基づき生成された情報の場合、振分情報を不正に解読するような不正行為から強固に保護でき、セキュリティ性を高めることができる。また、振分情報が乱数などを利用したランダムな情報の場合、振分情報が示す手順の推測は不可能に近くなり、振分情報を不正に解読するような不正行為からより強固に保護でき、セキュリティ性をより高めることができる。   The distribution information output unit 13 outputs distribution information indicating a distribution procedure for distributing the plain culture stream to the internal memory 14 and the external memory 20 for separate storage. As such distribution information, the distribution information output unit 13 may store distribution information, or the distribution information output unit 13 generates distribution information. It may be. The distribution information may be information that protects from external access and indicates a prescribed procedure. That is, although details will be described below, the data processing apparatus according to the present embodiment is characterized in that it is only necessary to set distribution information having such a simple configuration in order to protect content data. . The distribution information may be, for example, information generated based on a secret algorithm or information indicating a distribution procedure for randomly distributing a packet of a plain culture stream. In the case of information generated based on an algorithm in which the distribution information is concealed, it is possible to strongly protect against illegal acts such as illegally decoding the distribution information, and security can be improved. Also, if the distribution information is random information using random numbers etc., it is almost impossible to guess the procedure indicated by the distribution information, and it is possible to more securely protect against illegal acts that decipher the distribution information. , Security can be improved.

分離部16には、平文化部11からの平文化ストリームに加えて、振分情報出力部13から振分情報が供給される。分離部16は、このような振分情報に基づき、平文化部11から供給される平文化ストリームの各パケットごとに、内部パケットとされるパケットであるか外部パケットとされるパケットであるかを判定する。分離部16は、この判定に従って、内部パケットあるいは外部パケットとして振り分けるように分離する。このように、分離部16は、振分情報に基づき、復元した平文化ストリームを一方の部分データである内部パケットと他方の部分データである外部パケットとに振り分けて分離する。さらに、分離部16は、分離した内部パケットを内部メモリ14に転送し、分離した外部パケットを外部メモリ20に転送する。   In addition to the plain culture stream from the flat culture unit 11, distribution information is supplied from the distribution information output unit 13 to the separation unit 16. Based on such distribution information, the separation unit 16 determines whether each packet of the plain culture stream supplied from the plain culture unit 11 is a packet that is an internal packet or a packet that is an external packet. judge. In accordance with this determination, the separation unit 16 separates the packets so as to be distributed as internal packets or external packets. In this manner, the separation unit 16 sorts the restored plain culture stream into an internal packet that is one partial data and an external packet that is the other partial data based on the distribution information. Further, the separation unit 16 transfers the separated internal packet to the internal memory 14 and transfers the separated external packet to the external memory 20.

内部メモリ14は、LSI100内部に設けた例えば半導体メモリであり、LSI100が実行する各処理のデータを一時保存するなどのために設けている。特に、本発明はコンテンツの著作権保護を目的としており、保護処理部としてのLSI100の内部に設けた内部メモリ14が、LSI100の外部から保護され、アクセス困難であるような構成とすることが好ましい。このため、本実施の形態では、このような内部メモリ14が外部からアクセス可能な例えば内部共通バス19に接続されるような構成ではなく、外部から保護され、アクセス困難な分離部16および結合部17のみに接続されるような構成例を示している。すなわち、内部メモリ14は、分離部16から転送された内部パケットを記憶し、結合部17の制御によって、記憶した内部パケットが読出される。なお、内部メモリ14には、内部パケット以外のデータをも保存するような構成であってもよいが、上述したコンテンツ保護の観点から、これによって外部からのアクセスが容易にならないような構成とすることが好ましい。   The internal memory 14 is, for example, a semiconductor memory provided in the LSI 100, and is provided for temporarily storing data of each process executed by the LSI 100. In particular, the present invention is intended to protect the copyright of content, and it is preferable that the internal memory 14 provided in the LSI 100 as a protection processing unit is protected from the outside of the LSI 100 and is difficult to access. . For this reason, in the present embodiment, the internal memory 14 is not configured to be connected to, for example, the internal common bus 19 accessible from the outside, but is separated from the outside and is difficult to access. The example of a structure connected only to 17 is shown. That is, the internal memory 14 stores the internal packet transferred from the separation unit 16, and the stored internal packet is read out under the control of the combining unit 17. The internal memory 14 may be configured to store data other than the internal packet. However, from the viewpoint of content protection described above, the internal memory 14 is configured so that access from the outside is not facilitated. It is preferable.

メモリ制御部15は、内部共通バス19と外部メモリ20との間で、例えばDMA(Direct Memory Access)転送するための制御部である。メモリ制御部15は、外部メモリ20にアドレス、書込み信号および読出し信号などを出力して、所定の領域にそれぞれのデータを書込んだり、所定の領域から読出したりするような制御を行う。すなわち、分離部16により分離された外部パケットは、まず内部共通バス19に供給される。さらに、メモリ制御部15の制御により、内部共通バス19に供給された外部パケットは、外部メモリ20の所定の領域に保存される。また、メモリ制御部15の制御により、外部メモリ20に保存された外部パケットを含む各データは、内部共通バス19へと読出される。   The memory control unit 15 is a control unit for transferring, for example, DMA (Direct Memory Access) between the internal common bus 19 and the external memory 20. The memory control unit 15 outputs an address, a write signal, a read signal, and the like to the external memory 20 and performs control such that each data is written to or read from a predetermined area. That is, the external packet separated by the separation unit 16 is first supplied to the internal common bus 19. Further, the external packet supplied to the internal common bus 19 under the control of the memory control unit 15 is stored in a predetermined area of the external memory 20. Also, each data including an external packet stored in the external memory 20 is read out to the internal common bus 19 under the control of the memory control unit 15.

結合部17には、内部メモリ14に保存した内部パケットと外部メモリ20に保存した外部パケットとが供給される。結合部17は、振分情報出力部13からの振分情報を参照するとともに、供給される内部パケットおよび外部パケットのパケット番号を判定し、判定したパケット番号の順序に従って内部パケットあるいは外部パケットを出力する。このようにして、結合部17からは、平文化部11で復元された平文化ストリームと同一の平文化ストリームが出力される。結合部17は、このようにして生成した平文化ストリームをデコーダ12に供給する。   The combining unit 17 is supplied with the internal packet stored in the internal memory 14 and the external packet stored in the external memory 20. The combining unit 17 refers to the distribution information from the distribution information output unit 13, determines the packet number of the supplied internal packet and external packet, and outputs the internal packet or the external packet according to the determined packet number order. To do. In this way, the common culture stream identical to the plain culture stream restored by the flat culture unit 11 is output from the combining unit 17. The combining unit 17 supplies the plain culture stream generated in this way to the decoder 12.

デコーダ12は、供給された平文化ストリームに対してデコード処理を行う。すなわち、デコーダ12は、平文化ストリームの各パケットに含まれた符号化データに対して、その符号化(Encode)に対する復号化(Decode)を行い、画像や音声信号に対応したコンテンツデータである復号化データを復元する。   The decoder 12 performs a decoding process on the supplied plain culture stream. That is, the decoder 12 performs decoding (Decode) on the encoded data (Encode) included in each packet of the plain culture stream, and decodes the content data corresponding to the image or audio signal. Restore data.

本発明の実施の形態1におけるデータ処理装置は、以上のような構成により、記録メディア30に記録された暗号化ストリームからコンテンツデータを復元する。   The data processing apparatus according to Embodiment 1 of the present invention restores content data from the encrypted stream recorded on the recording medium 30 with the above configuration.

次に、このように構成された本データ処理装置の動作について説明する。   Next, the operation of the data processing apparatus configured as described above will be described.

図2は、本実施の形態におけるデータ処理装置の復号処理の手順を示したフローチャートである。図2で示すような手順を実行することで本実施の形態のデータ処理方法が実現できる。以下、図2を参照しながら本データ処理装置の動作について説明する。なお、図2では、記録メディア30から一旦外部メモリ20に暗号化ストリームを保存し、保存した暗号化ストリームをLSI100に転送して処理するような例を挙げている。また、図2で示すような暗号化ストリームのデータ処理方法に基づいて復号処理であるデコード処理を実行するため、CPU10は、例えばプログラムを記録した記録媒体であるプログラムメモリなどに記憶されたデータ処理プログラムを順次読取り、読取ったデータ処理プログラムに従って以下で説明するような処理を実行する。   FIG. 2 is a flowchart showing the decryption processing procedure of the data processing apparatus according to the present embodiment. By executing the procedure as shown in FIG. 2, the data processing method of the present embodiment can be realized. Hereinafter, the operation of the data processing apparatus will be described with reference to FIG. 2 shows an example in which an encrypted stream is temporarily stored in the external memory 20 from the recording medium 30, and the stored encrypted stream is transferred to the LSI 100 for processing. Further, in order to execute a decoding process that is a decoding process based on the data processing method of the encrypted stream as shown in FIG. 2, the CPU 10 performs a data process stored in, for example, a program memory that is a recording medium on which a program is recorded. The program is sequentially read, and processing as described below is executed according to the read data processing program.

まず、本データ処理装置に記録メディア30が装着され、例えばユーザなどによりコンテンツの再生が指示されると、本データ処理装置の全体を制御するような制御部などを介して、CPU10はそのような指示情報を受取る。CPU10は、このような指示情報に従って、図2に示すようなデコード処理を実行するための制御を開始する。   First, when the recording medium 30 is mounted on the data processing apparatus and the reproduction of content is instructed by a user or the like, for example, the CPU 10 performs such control via a control unit that controls the entire data processing apparatus. Receive instruction information. The CPU 10 starts control for executing the decoding process as shown in FIG. 2 in accordance with such instruction information.

CPU10は、まず、記録メディアI/F部21に対し、記録メディア30から指示に応じた暗号化ストリームを読込むよう指示する。これによって、記録メディア30から記録メディアI/F部21を介してLSI100に、暗号化ストリームを含む記録データが転送される。CPU10は、さらに、転送されたこれら記録データを外部メモリ20に保存するようメモリ制御部15に指示する。これによって、記録メディア30から暗号化ストリームが読込まれ、外部メモリ20の所定の領域に暗号化ストリームが一時保存される(ステップS104)。   First, the CPU 10 instructs the recording medium I / F unit 21 to read an encrypted stream corresponding to the instruction from the recording medium 30. As a result, the recording data including the encrypted stream is transferred from the recording medium 30 to the LSI 100 via the recording medium I / F unit 21. The CPU 10 further instructs the memory control unit 15 to store the transferred recording data in the external memory 20. As a result, the encrypted stream is read from the recording medium 30, and the encrypted stream is temporarily stored in a predetermined area of the external memory 20 (step S104).

この後、LSI100において、外部メモリ20を利用しながらデコード処理が実行される。CPU10は、LSI100における処理状況を判断し、平文化処理するための暗号化ストリームが外部メモリ20に保存され、平文化部11などによる平文化処理が実行可能であると判定すると平文化処理を実行するための制御を開始する。また、CPU10は、デコード処理するための平文化ストリームが外部メモリ20および内部メモリ14に保存され、結合部17やデコーダ12などによるデコード処理が実行可能であると判定するとデコード処理を実行するための制御を開始する(ステップS106)。   Thereafter, decoding processing is executed in the LSI 100 while using the external memory 20. When the CPU 10 determines the processing status in the LSI 100 and determines that the encrypted stream for the plain culture process is stored in the external memory 20 and the plain culture process by the plain culture unit 11 or the like is executable, the plain culture process is executed. Control to start. On the other hand, when the CPU 10 determines that the plaintext stream for decoding processing is stored in the external memory 20 and the internal memory 14 and decoding processing by the combining unit 17 or the decoder 12 can be executed, the decoding processing is executed. Control is started (step S106).

CPU10が、平文化処理が実行可能であると判定すると、CPU10は、メモリ制御部15に対して、外部メモリ20に保存された暗号化ストリームの読込みを指示し、メモリ制御部15の制御によって、外部メモリ20からLSI100へと暗号化ストリームが転送される(ステップS202)。外部メモリ20からLSI100へと転送された暗号化ストリームは、さらに内部共通バス19を経て平文化部11に供給される。   When the CPU 10 determines that the normal culture process is executable, the CPU 10 instructs the memory control unit 15 to read the encrypted stream stored in the external memory 20, and is controlled by the memory control unit 15. The encrypted stream is transferred from the external memory 20 to the LSI 100 (step S202). The encrypted stream transferred from the external memory 20 to the LSI 100 is further supplied to the plain culture unit 11 via the internal common bus 19.

次に、平文化部11が、供給された暗号化ストリームに対して、その暗号化を解読するような平文化処理を実行し、平文化処理により生成したデータを平文化ストリームとして出力する(ステップS204)。平文化部11は、このような平文化ストリームを分離部16に供給する。   Next, the plain culture unit 11 executes a plain culture process for decrypting the supplied encrypted stream, and outputs the data generated by the plain culture process as a plain culture stream (step). S204). The plain culture unit 11 supplies such a plain culture stream to the separation unit 16.

分離部16には、平文化部11からの平文化ストリームに加えて、振分情報出力部13から振分情報が通知される。振分情報は、例えばパケット番号に対応付けて内部パケットとするか外部パケットとするかの手順を示すような情報である。すなわち、例えば、パケット番号1、2、3のパケットが外部パケットに指定され、パケット番号4、5が内部パケットに指定されるというように、振分情報に従って分離部16が各パケットを区分していく。このように、分離部16は、例えば、順次供給される平文化ストリームの各パケットのパケット番号を検出し、内部パケットとするか外部パケットとするかを判定する。分離部16は、この振分情報に基づく判定に従って、内部パケットと外部パケットとに振り分けるように分離する(ステップS206)。さらに、分離部16は、分離した内部パケットを内部メモリ14に転送し、分離した外部パケットを外部メモリ20に転送する。   In addition to the plain culture stream from the flat culture unit 11, the separation information is notified from the distribution information output unit 13 to the separation unit 16. For example, the distribution information is information that indicates a procedure for making an internal packet or an external packet in association with a packet number. That is, for example, the separation unit 16 classifies each packet according to the distribution information such that packets with packet numbers 1, 2, and 3 are designated as external packets and packet numbers 4 and 5 are designated as internal packets. Go. Thus, for example, the separation unit 16 detects the packet number of each packet of the plain culture stream that is sequentially supplied and determines whether the packet is an internal packet or an external packet. The separation unit 16 separates the internal packet and the external packet according to the determination based on the distribution information (step S206). Further, the separation unit 16 transfers the separated internal packet to the internal memory 14 and transfers the separated external packet to the external memory 20.

このように、本実施の形態のデータ処理装置は、簡易な構成の振分情報に基づき平文化ストリームを構成する部分的なパケットを部分データとして外部メモリ20へと転送するような構成である。すなわち、本実施の形態のデータ処理装置は、符号化方式やデータフォーマットに依存せず、単に振分情報に従って平文化ストリームを部分データに分離して記憶すればよいとともに、外部メモリ20に記憶した部分データのみではコンテンツを完全に復元できず、内部メモリ14に記憶した部分データは容易にアクセスできない。このため、本実施の形態のデータ処理装置は、圧縮符号化の規格などに依存することなく、ハードウェア量や処理負荷の増加を抑制するとともに、著作権の対象となるようなコンテンツの保護を図ることができる。   As described above, the data processing apparatus according to the present embodiment is configured to transfer partial packets constituting the plain culture stream to the external memory 20 as partial data based on the distribution information having a simple configuration. That is, the data processing apparatus according to the present embodiment does not depend on the encoding method or the data format, and simply stores the plain culture stream into partial data according to the distribution information and stores it in the external memory 20. The content cannot be completely restored only with the partial data, and the partial data stored in the internal memory 14 cannot be easily accessed. For this reason, the data processing apparatus according to the present embodiment suppresses an increase in the amount of hardware and processing load and does not depend on compression coding standards and the like, and protects content that is subject to copyright. Can be planned.

分離部16から内部メモリ14に転送された内部パケットのデータは、内部メモリ14の所定の領域に保存される(ステップS208)。また、分離部16から外部メモリ20に転送される外部パケットのデータは、内部共通バス19を介し、メモリ制御部15の制御により、外部メモリ20の所定の領域に保存される(ステップS210)。   The internal packet data transferred from the separation unit 16 to the internal memory 14 is stored in a predetermined area of the internal memory 14 (step S208). The external packet data transferred from the separation unit 16 to the external memory 20 is stored in a predetermined area of the external memory 20 through the internal common bus 19 and controlled by the memory control unit 15 (step S210).

CPU10が、LSI100における処理状況を判断し、平文化処理するための暗号化ストリームが外部メモリ20にさらに保存されており、ステップS202からステップS208またはステップS210までの処理をさらに実行すると判定すると、このようなステップS202からステップS208またはステップS210までの処理がさらに繰り返される。これにより、平文化ストリームの各パケットが、振分情報に応じて内部パケットと外部パケットとに振り分けられるようにして、内部メモリ14と外部メモリ20とに分離保存される。   When the CPU 10 determines the processing status in the LSI 100 and further stores an encrypted stream for plain-text processing in the external memory 20, and determines that the processing from step S202 to step S208 or step S210 is further executed, Such processing from step S202 to step S208 or step S210 is further repeated. Thereby, each packet of the plain culture stream is separated and stored in the internal memory 14 and the external memory 20 so as to be distributed into the internal packet and the external packet according to the distribution information.

また、CPU10が、デコード処理の実行可能であると判定するとデコード処理を実行するための制御を開始する。まず、結合部17には、内部メモリ14に保存した内部パケットと外部メモリ20に保存した外部パケットとが供給される。結合部17は、振分情報出力部13からの振分情報を参照するとともに、供給される内部パケットおよび外部パケットのパケット番号を検出し、それぞれのパケット番号を判定する(ステップS302)。結合部17は、パケット番号を判定した結果、まず、先となるパケット番号のパケットを内部メモリ14あるいは外部メモリ20から読込む(ステップS304およびステップS306)。さらに、結合部17は、読込んだパケットをパケット番号の順序に従って内部パケットあるいは外部パケットを出力する。このようにして内部メモリ14および外部メモリ20に分離保存された各パケットの結合が実行され(ステップS308)、これによって平文化ストリームが復元される。この平文化ストリームはデコーダ12に供給され、デコーダ12によりデコード処理が施される(ステップS310)。すなわち、デコーダ12により平文化ストリームの各パケットに含まれた符号化データがデコードされ、デコーダ12から画像や音声信号に対応したコンテンツデータが出力される。CPU10が、LSI100における処理状況を判断し、デコード処理するための平文化ストリームが外部メモリ20および内部メモリ14にさらに保存されており、このようなデコード処理をさらに継続すると判定すると、ステップS106に戻り、上述したような平文化処理およびデコード処理を継続し、このようなデコード処理を終了すると判定すると、上述のようなデコード処理が終了する(ステップS312)。   When the CPU 10 determines that the decoding process can be executed, the CPU 10 starts control for executing the decoding process. First, the combining unit 17 is supplied with the internal packet stored in the internal memory 14 and the external packet stored in the external memory 20. The combining unit 17 refers to the distribution information from the distribution information output unit 13, detects the packet number of the supplied internal packet and external packet, and determines each packet number (step S302). As a result of determining the packet number, the combining unit 17 first reads the packet having the previous packet number from the internal memory 14 or the external memory 20 (step S304 and step S306). Further, the combining unit 17 outputs the internal packet or the external packet according to the packet number order of the read packet. In this way, the packets separated and stored in the internal memory 14 and the external memory 20 are combined (step S308), whereby the plain culture stream is restored. This plain culture stream is supplied to the decoder 12, and the decoder 12 performs a decoding process (step S310). In other words, the encoded data included in each packet of the plain culture stream is decoded by the decoder 12, and the content data corresponding to the image and the audio signal is output from the decoder 12. If the CPU 10 determines the processing status in the LSI 100 and further stores the plaintext stream for decoding processing in the external memory 20 and the internal memory 14, and returns to step S106 when it is determined that such decoding processing is to be continued. If the plain culture process and the decoding process as described above are continued and it is determined that such a decoding process is to be terminated, the decoding process as described above is terminated (step S312).

なお、CPU10が、データ処理プログラムに従って上述したような処理を実行することに加えて、平文化部11の処理、分離部16の処理、結合部17の処理、符号化データを復元するデコード処理、外部メモリを制御する処理などの一部あるいは全部の処理も実行するような構成であってもよい。   In addition to the CPU 10 performing the above-described processing according to the data processing program, the processing of the plain culture unit 11, the processing of the separation unit 16, the processing of the combining unit 17, the decoding processing for restoring the encoded data, It may be configured to execute part or all of the processing such as processing for controlling the external memory.

以上説明したように、本実施の形態のデータ処理装置は、外部のアクセスから保護されたLSI100の内部において、外部から保護された振分情報出力部13の振分情報に基づき、平文化ストリームの部分データとなる各パケットを、内部メモリ14のような保護記憶部と外部メモリ20のような非保護記憶部とに振り分けて分離記憶するような構成である。このように、本実施の形態のデータ処理装置は、振分情報を設定するのみでよいため、非保護記憶部へのデータ伝送において暗号化部や平文化部などを設ける必要はなく、平文化ストリームなどからフレームの種類情報を検出するデータ種類検出部や実行制御部などを設ける必要もない。さらに、このような簡易な構成であっても、外部メモリ20に記憶した外部パケットのみではコンテンツを完全に復元できず、また、内部メモリ14に記憶した内部パケットは容易にアクセスできず、振分情報も外部のアクセスから保護されている。このため、本実施の形態のデータ処理装置は、圧縮符号化の規格などに依存することなく、ハードウェア量や処理負荷の増加を抑制するとともに、著作権の対象となるようなコンテンツの保護を図ったデータ処理装置を提供することができる。   As described above, the data processing apparatus according to the present embodiment, in the LSI 100 protected from external access, based on the distribution information of the distribution information output unit 13 protected from the outside, Each packet serving as partial data is divided and stored in a protected storage unit such as the internal memory 14 and a non-protected storage unit such as the external memory 20. As described above, since the data processing apparatus according to the present embodiment only needs to set distribution information, it is not necessary to provide an encryption unit, a plain culture unit, or the like in data transmission to the unprotected storage unit. There is no need to provide a data type detection unit or an execution control unit for detecting frame type information from a stream or the like. Further, even with such a simple configuration, the content cannot be completely restored only with the external packet stored in the external memory 20, and the internal packet stored in the internal memory 14 cannot be easily accessed. Information is also protected from outside access. For this reason, the data processing apparatus according to the present embodiment suppresses an increase in the amount of hardware and processing load and does not depend on compression coding standards and the like, and protects content that is subject to copyright. The intended data processing apparatus can be provided.

なお、以上の説明では、符号化およびパケット化されたデータであるストリームデータや平文化ストリームを内部および外部パケットとするパケット単位で処理するような一例を挙げて説明したが、例えば、所定のビット長やバイト長を単位とし、内部および外部データとして振り分け、結合部17が振分情報に基づきそれらデータを結合するような構成であってもよい。   In the above description, an example in which stream data that is encoded and packetized data or plain culture stream is processed in units of packets having internal and external packets has been described. A configuration in which the length or byte length is used as a unit, the data is distributed as internal and external data, and the combining unit 17 combines the data based on the distribution information.

さらに、例えば、任意のバイト長などで順番に内部データと外部データとして振り分け、順番ごとのバイト長のような一連の情報を振分情報としてLSI100内部で記憶しておくような形態であってもよい。すなわち、例えば先頭からxxバイトは外部データとし、次のyyバイトは内部データとし、次のzzバイトは外部データとし、というような処理を順次行い、これらxx、yy、zz、・・・を振分情報としてもよい。また、これらxx、yy、zzなどは所定であってもよいし乱数としてもよい。また振分情報は、所定のxx、yy、zzなどを生成するアルゴリズムであってもよい。もしくは、一回の分離および結合で同じ種による乱数としてxx、yy、zzなどを生成してもよい。   Further, for example, the internal data and the external data may be sorted in order according to an arbitrary byte length, and a series of information such as the byte length for each order may be stored in the LSI 100 as distribution information. Good. That is, for example, xx bytes from the beginning are external data, the next yy bytes are internal data, the next zz bytes are external data, and so on, and xx, yy, zz,. Minute information may be used. These xx, yy, zz, etc. may be predetermined or random numbers. The distribution information may be an algorithm that generates predetermined xx, yy, zz, and the like. Alternatively, xx, yy, zz, and the like may be generated as random numbers of the same species by a single separation and combination.

また、以上の説明では、圧縮符号化され、パケット化されたデータで構成されるストリームデータを処理するような一例を挙げて説明したが、符号化されていない画像データなどを暗号化した暗号化データに対して処理するような形態であってもよい。   In the above description, an example has been described in which stream data composed of compression-coded and packetized data is processed. However, encryption that encrypts unencoded image data and the like has been described. It may be a form that processes data.

また、外部メモリ20に外部パケットや外部データなどの非保護データを記憶させる記憶形態として、例えば、非保護データとともに、保護データに対応した領域には乱数データを埋め込んで外部メモリ20に記憶させたり、あるいは、非保護データが連続するようにデータの隙間を詰めて外部メモリ20に記憶させたりし、LSI100の内部で乱数データを埋め込んだ箇所やデータを詰めた箇所などを記憶しておくような構成とすることにより、外部メモリ20に記憶されたデータにおいて、保護データに対応する箇所が不明瞭となるため、コンテンツの保護効果を高めることができる。   Further, as a storage form for storing non-protected data such as external packets and external data in the external memory 20, for example, random data is embedded in an area corresponding to the protected data together with the non-protected data and stored in the external memory 20. Or, the gap between the data is reduced and stored in the external memory 20 so that the non-protected data is continuous, and the location where the random number data is embedded inside the LSI 100 or the location where the data is packed is stored. By adopting the configuration, in the data stored in the external memory 20, the location corresponding to the protection data becomes unclear, so that the content protection effect can be enhanced.

(実施の形態2)
図3は、本発明の実施の形態2におけるデータ処理装置の一例を示すブロック図である。本実施の形態では、暗号化されたストリームデータで構成される暗号化ストリームを含む記録データを記録メディアに記録するとともに、記録メディアに記録された記録データを取得し、ストリームデータに対応した平文化ストリームを復元し、さらにコンテンツデータを復元するデータ処理装置の一例を挙げて説明する。なお、図3において、図1と同一の符号を付した構成要素は、図1と同一の機能を有しており、詳細な説明は省略する。
(Embodiment 2)
FIG. 3 is a block diagram showing an example of a data processing apparatus according to Embodiment 2 of the present invention. In the present embodiment, recording data including an encrypted stream composed of encrypted stream data is recorded on a recording medium, and the recording data recorded on the recording medium is acquired, and the plain culture corresponding to the stream data is acquired. An example of a data processing apparatus that restores a stream and further restores content data will be described. 3, components having the same reference numerals as those in FIG. 1 have the same functions as those in FIG. 1, and detailed descriptions thereof are omitted.

図3に示すように、本実施の形態のデータ処理装置は、記録データを記録メディア30に記録するとともに、記録メディア30に記録された記録データを読込み、LSI110が外部メモリ20に一時的に処理中のデータを保存しながらデータ処理を実行する。本実施の形態では、データ処理部として、LSI110が外部メモリ20を利用しながら、供給されたストリームデータを暗号化するなどの処理、および暗号化や符号化に対する復号化処理などのデータ処理を実行し、復元されたコンテンツデータがLSI110から出力されるような構成例を挙げて説明する。また、本実施の形態でも、LSI110が、パッケージ化やモジュール化されており、外部からアクセス困難とした保護処理部として機能し、外部メモリ20を含めてLSI110の外部が、外部からアクセス可能な非保護処理部として機能する。   As shown in FIG. 3, the data processing apparatus of the present embodiment records the recording data on the recording medium 30 and reads the recording data recorded on the recording medium 30, and the LSI 110 temporarily processes the external memory 20. Data processing is executed while saving the data inside. In the present embodiment, as the data processing unit, the LSI 110 executes processing such as encryption of the supplied stream data and data processing such as decryption processing for encryption and encoding while using the external memory 20. An example of a configuration in which the restored content data is output from the LSI 110 will be described. Also in this embodiment, the LSI 110 is packaged or modularized and functions as a protection processing unit that is difficult to access from the outside, and the outside of the LSI 110 including the external memory 20 is accessible from the outside. Functions as a protection processing unit.

また、図3に示すように、記録メディア30には、このような暗号化ストリームがデータ領域に記録され、管理情報がヘッダ領域に記録される。さらに、暗号化ストリームの記録時において、暗号化ストリーム内の所定のデータを指定する指定情報などが生成される。また、このような指定情報として、例えば、このコンテンツを特殊再生するための情報が生成され、この生成された情報がインデックス情報としてインデックス領域に記録されている。本実施の形態では、指定情報としてこのようなインデックス情報を利用した例を挙げて説明する。インデックス情報は、早送り再生、スロー再生、シーンサーチあるいはシーンジャンプなどの特殊再生のための情報である。インデックス情報は、例えば、コンテンツをいくつかに分割し、各分割の先頭データを含むパケット番号を指定するような情報を含んでいる。より具体的には、MPEG方式などにおけるIフレームの符号化データを格納したパケット番号を示すような情報を含む。なお、Iフレームは1フレーム分の画面内のデータを圧縮符号化した1つの画像データ単位であり、単独でそのフレームの画像を復元できるフレームである。なお、MPEG方式で符号化されたストリームには、上述したIフレームの他に、他のフレーム(参照フレーム)がなくては画像を復元できないPフレームとBフレームとが含まれる。各フレームの詳細については以下で説明する。このようなインデックス情報を利用して、例えば、先頭データを含む1フレーム分の再生を、このような先頭フレームごとに順次行うことで画像の早送り再生ができる。すなわち、各インデックス情報に対応するIフレームの画像を復元して表示することで、早送り再生を実現できる。また、特に、本実施の形態では、このようなインデックス情報を上述した振分情報として利用していることを特徴としている。   Also, as shown in FIG. 3, on the recording medium 30, such an encrypted stream is recorded in the data area, and management information is recorded in the header area. Further, at the time of recording the encrypted stream, designation information for designating predetermined data in the encrypted stream is generated. In addition, as such designation information, for example, information for special reproduction of the content is generated, and the generated information is recorded in the index area as index information. In the present embodiment, an example in which such index information is used as the designation information will be described. The index information is information for special playback such as fast-forward playback, slow playback, scene search, or scene jump. The index information includes, for example, information that divides the content into several parts and specifies a packet number that includes the head data of each division. More specifically, it includes information indicating the packet number storing the encoded data of the I frame in the MPEG system or the like. Note that an I frame is a unit of image data obtained by compressing and encoding data in the screen for one frame, and is a frame that can independently restore the image of that frame. Note that a stream encoded by the MPEG system includes P frames and B frames that cannot be restored without other frames (reference frames) in addition to the I frame described above. Details of each frame will be described below. By using such index information, for example, playback of one frame including head data is performed sequentially for each head frame, so that fast-forward playback of images can be performed. That is, fast-forward playback can be realized by restoring and displaying an I-frame image corresponding to each index information. In particular, this embodiment is characterized in that such index information is used as the distribution information described above.

本データ処理装置は、このような記録メディア30を図3に示す記録メディアI/F(インタフェース)部21に装着することで、記録メディア30に暗号化ストリームや上述したインデックス情報を記録するとともに、記録メディア30に暗号化ストリームの形態で記録されたコンテンツの再生を行う。   The data processing apparatus records the encrypted stream and the above-described index information on the recording medium 30 by mounting the recording medium 30 on the recording medium I / F (interface) unit 21 shown in FIG. The content recorded on the recording medium 30 in the form of an encrypted stream is reproduced.

次に、LSI110は、図3に示すように、平文化部11と、振分情報出力部13と、内部メモリ14と、分離部16と、結合部17と、デコーダ12とに加えて、記録処理部40を備える。さらに、LSI110も、CPU10、メモリ制御部15および内部共通バス19を備える。   Next, as shown in FIG. 3, the LSI 110 records in addition to the plain culture unit 11, the distribution information output unit 13, the internal memory 14, the separation unit 16, the coupling unit 17, and the decoder 12. A processing unit 40 is provided. Further, the LSI 110 also includes a CPU 10, a memory control unit 15, and an internal common bus 19.

記録処理部40は、供給されたストリームデータを暗号化し、暗号化ストリームを生成する。また、記録処理部40は、ストリームデータを複数の部分データに区分し、その区分に関する情報を振分情報として生成し、生成した振分情報も暗号化することで暗号化振分情報を生成する。本実施の形態では、記録処理部40が、上述したインデックス情報をこのような振分情報として利用した一例を挙げて説明する。記録処理部40は、生成した暗号化ストリームとともに、暗号化振分情報としての暗号化インデックス情報を含む記録データを記録メディアI/F部21に転送する。さらに、CPU10の指示に応じて、このように転送された記録データが記録メディア30に記録される。また、図3に示すように、記録メディアのデータ領域に暗号化ストリームが記録され、インデックス領域に暗号化インデックス情報が記録される。   The recording processing unit 40 encrypts the supplied stream data and generates an encrypted stream. Further, the recording processing unit 40 divides the stream data into a plurality of partial data, generates information relating to the division as distribution information, and generates the encrypted distribution information by encrypting the generated distribution information. . In the present embodiment, an example in which the recording processing unit 40 uses the above-described index information as such distribution information will be described. The recording processing unit 40 transfers recording data including encrypted index information as encrypted distribution information to the recording media I / F unit 21 together with the generated encrypted stream. Further, the recording data transferred in this way is recorded on the recording medium 30 in accordance with an instruction from the CPU 10. Also, as shown in FIG. 3, the encrypted stream is recorded in the data area of the recording medium, and the encrypted index information is recorded in the index area.

また、記録処理部40は、このような処理を実行するため、インデックス情報を生成するインデックス情報生成部41と、外部のアクセスから保護され、暗復号化のための鍵データを記憶する鍵記憶部43と、鍵記憶部43に記憶された鍵データを用いてストリームデータおよびインデックス情報を暗号化し、暗号化ストリームおよび暗号化インデックス情報を生成する暗号化部42とを備える。インデックス情報を暗号化するための鍵データとしては、LSI110固有の情報に基づく鍵データや、規格規定の秘匿鍵データである。   Further, in order to execute such processing, the recording processing unit 40 includes an index information generation unit 41 that generates index information, and a key storage unit that is protected from external access and stores key data for encryption / decryption. 43 and an encryption unit 42 that encrypts stream data and index information using the key data stored in the key storage unit 43 to generate an encrypted stream and encrypted index information. The key data for encrypting the index information is key data based on information unique to the LSI 110 or standard-defined secret key data.

一方、平文化部11は、記録メディア30に記録された暗号化ストリームに対して暗号化を解く平文化処理を行い平文化ストリームを復元するとともに、鍵記憶部43に記憶されたインデックス情報に対する鍵データに基づき、暗号化インデックス情報に対する平文化処理も行う。平文化部11により復元された平文化ストリームは分離部16に供給される。また、平文化部11により復元されたインデックス情報は、振分情報出力部13に供給される。振分情報出力部13は、インデックス情報を利用して振分情報を生成し、生成した振分情報を分離部16および結合部17に通知する。分離部16は、供給された平文化ストリームを部分的なデータである部分データに区分し、振分情報出力部13からの振分情報に基づき、部分データを内部メモリ14と外部メモリ20とに振り分けて分離記憶させる。本実施の形態でも、このように区分する部分データとしてパケット単位で処理し、分離部16が、内部パケットとする部分データを内部メモリ14に記憶させ、外部パケットとする部分データを外部メモリ20に記憶させるような一例を挙げる。結合部17は、内部メモリ14に記録された内部パケットと外部メモリ20に記録された外部パケットとを、振分情報に基づき結合することで、平文化ストリームを復元する。デコーダ12は、結合部17で復元された平文化ストリームに対しデコード処理を行い、コンテンツデータを復元する。   On the other hand, the plain culture unit 11 performs a plain culture process for decrypting the encrypted stream recorded on the recording medium 30 to restore the plain culture stream, and the key for the index information stored in the key storage unit 43. Based on the data, it also performs plain culture processing on the encrypted index information. The plain culture stream restored by the flat culture unit 11 is supplied to the separation unit 16. The index information restored by the flat culture unit 11 is supplied to the distribution information output unit 13. The distribution information output unit 13 generates distribution information using the index information, and notifies the generated distribution information to the separation unit 16 and the combining unit 17. The separation unit 16 divides the supplied plain culture stream into partial data that is partial data, and the partial data is divided into the internal memory 14 and the external memory 20 based on the distribution information from the distribution information output unit 13. Sort and store separately. Also in the present embodiment, processing is performed in units of packets as partial data to be classified in this way, and the separation unit 16 stores the partial data to be internal packets in the internal memory 14 and the partial data to be external packets to the external memory 20. Take an example of memorizing. The combining unit 17 combines the internal packet recorded in the internal memory 14 and the external packet recorded in the external memory 20 based on the distribution information to restore the plain culture stream. The decoder 12 performs a decoding process on the plain culture stream restored by the combining unit 17 to restore the content data.

このように構成されたLSI110において、CPU10の指示に応じて、記録メディアI/F部21に装着された記録メディア30との間で、共通バス22を介してデータ転送が行われる。   In the LSI 110 configured as described above, data is transferred to and from the recording medium 30 attached to the recording medium I / F unit 21 via the common bus 22 in accordance with an instruction from the CPU 10.

また、読込んだ暗号化インデックス情報は、CPU10により、外部メモリ20あるいは内部メモリ14に一時的に保存される。図3では、読込んだ暗号化インデックス情報を外部メモリ20に一時的に保存するような例を示している。また、上述したように、インデックス情報は、特殊再生のための情報であり、例えば、コンテンツをいくつかに分割し、各分割の先頭データを含むパケット番号を示すような情報が含まれている。分離部16は、このようなインデックス情報を振分情報として利用し、平文化部11から供給される平文化ストリームの各パケットが、インデックス情報により特定されたパケットであるかどうか判定する。分離部16は、この判定に従って、インデックス情報により特定されたパケットである場合には内部パケットとし、それ以外のパケットである場合には外部パケットとして振り分けるように分離する。さらに、分離部16は、分離した内部パケットを内部メモリ14に転送し、分離した外部パケットを外部メモリ20に転送する。分離部16は、このような処理を行うことで、ストリームデータとしての平文化ストリームを、例えば、他のフレームのデコードに必要なフレームを含む部分データとしての内部パケットと、他のフレームのデコードに必要なフレームを含まない部分データとしての外部パケットとに分離する。さらに、分離部16は、内部パケットを保護記憶部としての内部メモリ14に記憶し、外部パケットを非保護記憶部としての外部メモリ20に記憶する。   The read encrypted index information is temporarily stored in the external memory 20 or the internal memory 14 by the CPU 10. FIG. 3 shows an example in which the read encrypted index information is temporarily stored in the external memory 20. Further, as described above, the index information is information for special reproduction, and includes, for example, information that divides the content into several parts and indicates packet numbers including the head data of each division. The separation unit 16 uses such index information as distribution information, and determines whether each packet of the plain culture stream supplied from the plain culture unit 11 is a packet specified by the index information. In accordance with this determination, the separation unit 16 separates the packet so as to be distributed as an internal packet when the packet is specified by the index information and as an external packet when the packet is other than the packet. Further, the separation unit 16 transfers the separated internal packet to the internal memory 14 and transfers the separated external packet to the external memory 20. By performing such processing, the separation unit 16 converts the plain culture stream as stream data into, for example, internal packets as partial data including frames necessary for decoding other frames and decoding of other frames. Separated into external packets as partial data not including necessary frames. Further, the separation unit 16 stores the internal packet in the internal memory 14 as a protected storage unit, and stores the external packet in the external memory 20 as a non-protected storage unit.

本発明の実施の形態2におけるデータ処理装置は、以上のような構成により、暗号化されたストリームデータで構成される暗号化ストリームを含む記録データを記録メディア30に記録するとともに、記録メディア30に記録された暗号化ストリームからコンテンツデータを復元する。   The data processing apparatus according to the second embodiment of the present invention records the recording data including the encrypted stream composed of the encrypted stream data on the recording medium 30 with the above configuration, and The content data is restored from the recorded encrypted stream.

次に、このように構成された本データ処理装置の動作について説明する。   Next, the operation of the data processing apparatus configured as described above will be described.

図4は、平文化部11で復元した平文化ストリームの構成およびインデックス情報の構成の一例を示す図である。また、図5は、本実施の形態におけるデータ処理装置の復号処理の手順を示したフローチャートである。図5で示すような手順を実行することで本データ処理装置におけるデータ処理方法が実現できる。また、図6は、図4で示す構成の平文化ストリームに対して図4で示す構成のインデックス情報を利用して、分離部16が平文化ストリームを分離する一動作例を示す図である。以下、これらの図面を参照しながら本データ処理装置の動作について説明する。   FIG. 4 is a diagram showing an example of the structure of the plain culture stream restored by the plain culture unit 11 and the structure of the index information. FIG. 5 is a flowchart showing the decryption processing procedure of the data processing apparatus according to the present embodiment. By executing the procedure as shown in FIG. 5, the data processing method in the data processing apparatus can be realized. FIG. 6 is a diagram illustrating an operation example in which the separation unit 16 separates the plain culture stream using the index information having the configuration illustrated in FIG. 4 with respect to the plain culture stream having the configuration illustrated in FIG. The operation of the data processing apparatus will be described below with reference to these drawings.

まず、図4を参照しながら、ストリームデータに対応した平文化ストリームおよびインデックス情報について説明する。上述したように、記録メディア30には、コンテンツデータが符号化、パケット化および暗号化されたデータである暗号化ストリームとして記録されている。すなわち、コンテンツデータを暗号化ストリームへと変換する過程において、まず、コンテンツに含まれる画像データは、フレームごとの符号化データへと変換される。MPEG方式のように、現在広く利用されている画像圧縮符号化の基本アルゴリズムは、動き補償予測方式に離散コサイン変換(Discrete Cosine Transform、略して「DCT」と呼ばれる。)方式を組み合わせた圧縮符号化方式である。このような圧縮符号化方式では、画像に対して1フレーム内データそのものをDCT符号化、すなわち画面内符号化したデータと、動き補償画面間予測したデータに対してDCT符号化、すなわち画面間予測符号化したデータとの両方を組み合わせた画像圧縮符号化が行われる。また、一般的に、画面内符号化するフレームはIフレーム、画面間前方予測符号化するフレームはPフレーム、および画面間双方向予測符号化するフレームはBフレームと呼ばれている。また、例えば、Iフレームを基準に区分される複数画面を組み合わせて、例えば、MPEG−2方式ではGOP(Group Of Picture)と呼ばれるような画像単位が構成される。さらに、Iフレームは、画面内で符号化された符号化データで構成されるため、Iフレームに対応した符号化データのみでそのフレームの画像を復元できる。一方、画面間予測により生成されたPフレームおよびBフレームを復元するには、参照フレームの画像データが必要となるため、それらの符号化データのみでは画像を復元できない。   First, a plain culture stream and index information corresponding to stream data will be described with reference to FIG. As described above, content data is recorded on the recording medium 30 as an encrypted stream that is encoded, packetized, and encrypted data. That is, in the process of converting content data into an encrypted stream, first, image data included in the content is converted into encoded data for each frame. As in the MPEG system, a basic algorithm for image compression encoding that is widely used at present is a compression encoding that combines a motion compensated prediction system with a discrete cosine transform (abbreviated as “DCT”) system. It is a method. In such a compression coding method, DCT coding of intra-frame data itself for an image, that is, intra-screen coding data, and DCT coding for motion-compensated inter-screen prediction data, that is, inter-screen prediction. Image compression encoding combining both the encoded data and the encoded data is performed. In general, a frame to be subjected to intra-frame encoding is referred to as an I frame, a frame to be subjected to inter-frame forward prediction encoding is referred to as a P frame, and a frame to be subjected to inter-screen bidirectional prediction encoding is referred to as a B frame. In addition, for example, an image unit called GOP (Group Of Picture) in the MPEG-2 system is configured by combining a plurality of screens divided on the basis of an I frame. Further, since the I frame is composed of encoded data encoded in the screen, the image of the frame can be restored only by the encoded data corresponding to the I frame. On the other hand, in order to restore the P frame and the B frame generated by the inter-screen prediction, the image data of the reference frame is necessary. Therefore, the image cannot be restored only by the encoded data.

図4は、このようなIフレーム、PフレームおよびBフレームにおける符号化データをパケット化した様子を示している。すなわち、図4に示すように、各パケットはヘッダ情報を格納したヘッダ部とデータを格納したペイロード部とにより構成されており、符号化データはペイロード部に格納されている。図4では、符号化データが、次のように格納された様子を示している。まず、Iフレームの符号化データが、パケット番号1、2、3および4であるパケットの各ペイロード部に格納される。次のPフレームの符号化データが、パケット番号5および6であるパケットの各ペイロード部に格納される。さらに、次のBフレームの符号化データが、パケット番号7であるパケットのペイロード部に格納され、以下、順次このようにして各フレームの符号化データが格納される。このように、ストリームデータは複数のフレームで構成される。また、このようなそれぞれ符号化データを格納した複数のパケットにより、コンテンツデータを符号化およびパケット化したストリームデータが構成される。記録メディア30には、このようなストリームデータをさらに暗号化したデータである暗号化ストリームが記録されている。また、暗号化ストリームをLSI110の平文化部11により平文化処理することで、このようなストリームデータである平文化ストリームが復元される。   FIG. 4 shows how encoded data in such an I frame, P frame, and B frame is packetized. That is, as shown in FIG. 4, each packet is composed of a header portion storing header information and a payload portion storing data, and encoded data is stored in the payload portion. FIG. 4 shows a state in which encoded data is stored as follows. First, the encoded data of the I frame is stored in each payload portion of the packets having the packet numbers 1, 2, 3, and 4. The encoded data of the next P frame is stored in the payload portions of the packets having packet numbers 5 and 6. Further, the encoded data of the next B frame is stored in the payload portion of the packet having the packet number 7, and the encoded data of each frame is sequentially stored in this manner. Thus, the stream data is composed of a plurality of frames. Further, stream data obtained by encoding and packetizing content data is constituted by a plurality of packets each storing such encoded data. The recording medium 30 records an encrypted stream that is data obtained by further encrypting such stream data. Further, the plain culture process, which is such stream data, is restored by subjecting the encrypted stream to plain culture processing by the plain culture unit 11 of the LSI 110.

さらに、記録メディア30には、特殊再生するための情報であるインデックス情報を暗号化した暗号化インデックス情報が記録されている。図4では、インデックス情報に含まれるエントリ情報の一例を示している。エントリ情報は、コンテンツをいくつかに分割し、各分割の先頭データを含むパケット番号を指定するような情報である。図4では、各Iフレームを分割の先頭とするエントリフレームとし、このようなエントリフレームの符号化データを格納したパケットの情報をエントリ情報とした一例を示している。すなわち、図4に示すように、各エントリで区分されるエントリ情報において、それぞれのエントリには、エントリフレームとするIフレームの符号化データを格納した先頭パケットのパケット番号、これらパケットのパケット数およびその再生される時刻である再生時間などの情報が格納されている。例えば、図4において、エントリ1には、Iフレームの符号化データを格納したパケット番号1、2、3および4のパケットの先頭パケット番号である1、およびそれらのパケット数である4が格納されている。エントリ2には、次のIフレームの符号化データを格納したパケット番号11および12のパケットの先頭パケット番号である11、およびそれらのパケット数である2が格納されている。このようなエントリ情報を利用して、例えば、各エントリで指示されるパケットのみ再生していくことで、早送りのような特殊再生を行うことができる。特に、Iフレームは、その符号化データのみでそのフレームの画像を復元できるため、容易にこのような特殊再生を実現できる。   Furthermore, the recording medium 30 stores encrypted index information obtained by encrypting index information that is information for special reproduction. FIG. 4 shows an example of entry information included in the index information. The entry information is information that divides the content into several parts and designates the packet number including the head data of each division. FIG. 4 shows an example in which each I frame is an entry frame having the division head, and the packet information storing the encoded data of such an entry frame is used as the entry information. That is, as shown in FIG. 4, in the entry information divided by each entry, each entry has a packet number of the first packet storing the encoded data of the I frame as the entry frame, the number of packets of these packets, and Information such as a reproduction time that is the reproduction time is stored. For example, in FIG. 4, entry 1 stores 1 which is the first packet number of packets of packet numbers 1, 2, 3 and 4 storing encoded data of I frame, and 4 which is the number of those packets. ing. Entry 2 stores 11 which is the leading packet number of packets of packet numbers 11 and 12 storing the encoded data of the next I frame, and 2 which is the number of those packets. Using such entry information, for example, by reproducing only the packet indicated by each entry, special reproduction such as fast-forwarding can be performed. In particular, since the I frame can restore the image of the frame only with the encoded data, such special reproduction can be easily realized.

次に、図4を用いて説明したような暗号化ストリームおよび暗号化インデックス情報が記録された記録メディア30からこれらのデータを取込み、本データ処理装置によりコンテンツデータを復元する動作について、図5に示すデコード処理の手順に従って説明する。なお、図3では、記録メディア30から一旦外部メモリ20に暗号化インデックス情報および暗号化ストリームを保存し、保存したこれらデータをLSI110に転送して処理するような例を挙げている。また、図5で示すような暗号化ストリームのデータ処理方法に基づいて復号処理であるデコード処理を実行するため、CPU10は、例えばプログラムを記録した記録媒体であるプログラムメモリなどに記憶されたデータ処理プログラムを順次読取り、読取ったデータ処理プログラムに従って以下で説明するような処理を実行する。   Next, FIG. 5 shows an operation of taking these data from the recording medium 30 on which the encrypted stream and the encrypted index information as described with reference to FIG. 4 are recorded and restoring the content data by this data processing apparatus. A description will be given according to the decoding processing procedure shown. 3 shows an example in which the encrypted index information and the encrypted stream are temporarily stored in the external memory 20 from the recording medium 30, and the stored data is transferred to the LSI 110 for processing. Further, in order to execute a decoding process that is a decoding process based on the data processing method of the encrypted stream as shown in FIG. 5, the CPU 10 performs a data process that is stored in a program memory that is a recording medium on which the program is recorded. The program is sequentially read, and processing as described below is executed according to the read data processing program.

まず、本データ処理装置に記録メディア30が装着され、例えばユーザなどによりコンテンツの再生が指示されると、本データ処理装置の全体を制御するような制御部などを介して、CPU10はそのような指示情報を受取る。CPU10は、このような指示情報に従って、図5に示すようなデコード処理を実行するための制御を開始する。   First, when the recording medium 30 is mounted on the data processing apparatus and the reproduction of content is instructed by a user or the like, for example, the CPU 10 performs such control via a control unit that controls the entire data processing apparatus. Receive instruction information. The CPU 10 starts control for executing the decoding process as shown in FIG. 5 in accordance with such instruction information.

CPU10は、まず、記録メディアI/F部21に対し、記録メディア30から指示に応じた暗号化ストリームおよび暗号化インデックス情報を読込むよう指示する。これによって、記録メディア30から記録メディアI/F部21を介してLSI110に、暗号化インデックス情報および暗号化ストリームが転送される。CPU10は、さらに、転送されたこれらデータを外部メモリ20に保存するようメモリ制御部15に指示する。これによって、記録メディア30から暗号化インデックス情報が読込まれ、外部メモリ20の所定の領域に暗号化インデックス情報が一時保存される(ステップS110)。また、記録メディア30から暗号化ストリームが読込まれ、外部メモリ20の所定の領域に暗号化ストリームが一時保存される(ステップS112)。次に、CPU10は、外部メモリ20に一時保存された暗号化インデックス情報を取込むよう平文化部11に指示し、平文化部11によって暗号化インデックス情報が平文化される(ステップS114)。このとき、平文化部11は、鍵記憶部43に記憶されたインデックス情報に対する鍵データに基づき、暗号化インデックス情報に対する平文化処理を行う。また、平文化部11により復元されたインデックス情報は、振分情報出力部13に通知される。   First, the CPU 10 instructs the recording medium I / F unit 21 to read the encrypted stream and the encrypted index information according to the instruction from the recording medium 30. As a result, the encrypted index information and the encrypted stream are transferred from the recording medium 30 to the LSI 110 via the recording medium I / F unit 21. The CPU 10 further instructs the memory control unit 15 to store the transferred data in the external memory 20. Thereby, the encrypted index information is read from the recording medium 30, and the encrypted index information is temporarily stored in a predetermined area of the external memory 20 (step S110). Further, the encrypted stream is read from the recording medium 30, and the encrypted stream is temporarily stored in a predetermined area of the external memory 20 (step S112). Next, the CPU 10 instructs the plain culture unit 11 to take in the encrypted index information temporarily stored in the external memory 20, and the encrypted index information is plainly written by the plain culture unit 11 (step S114). At this time, the plain culture unit 11 performs a plain culture process on the encrypted index information based on the key data for the index information stored in the key storage unit 43. Also, the index information restored by the plain culture unit 11 is notified to the distribution information output unit 13.

この後、LSI110において、外部メモリ20を利用しながらデコード処理が実行される。CPU10は、LSI110における処理状況を判断し、平文化処理するための暗号化ストリームが外部メモリ20に保存され、平文化部11などによる平文化処理が実行可能であると判定すると平文化処理を実行するための制御を開始する。また、CPU10は、デコード処理するための平文化ストリームが外部メモリ20および内部メモリ14に保存され、結合部17やデコーダ12などによるデコード処理が実行可能であると判定するとデコード処理を実行するための制御を開始する(ステップS116)。   Thereafter, decoding processing is executed in the LSI 110 while using the external memory 20. When the CPU 10 determines the processing status in the LSI 110 and determines that the encrypted stream for the plain culture process is stored in the external memory 20 and the plain culture process by the plain culture unit 11 or the like is executable, the plain culture process is executed. Control to start. On the other hand, when the CPU 10 determines that the plaintext stream for decoding processing is stored in the external memory 20 and the internal memory 14 and decoding processing by the combining unit 17 or the decoder 12 can be executed, the decoding processing is executed. Control is started (step S116).

CPU10が、平文化処理が実行可能であると判定すると、CPU10は、メモリ制御部15に対して、外部メモリ20に保存された暗号化ストリームの読込みを指示し、メモリ制御部15の制御によって、外部メモリ20からLSI110へと暗号化ストリームが転送される(ステップS212)。外部メモリ20からLSI110へと転送された暗号化ストリームは、さらに内部共通バス19を経て平文化部11に供給される。   When the CPU 10 determines that the normal culture process is executable, the CPU 10 instructs the memory control unit 15 to read the encrypted stream stored in the external memory 20, and is controlled by the memory control unit 15. The encrypted stream is transferred from the external memory 20 to the LSI 110 (step S212). The encrypted stream transferred from the external memory 20 to the LSI 110 is further supplied to the plain culture unit 11 via the internal common bus 19.

次に、平文化部11が、供給された暗号化ストリームに対して、その暗号化を解読するような平文化処理を実行し、平文化処理により生成したデータを平文化ストリームとして出力する(ステップS214)。平文化部11は、このような平文化ストリームを分離部16に供給する。   Next, the plain culture unit 11 executes a plain culture process for decrypting the supplied encrypted stream, and outputs the data generated by the plain culture process as a plain culture stream (step). S214). The plain culture unit 11 supplies such a plain culture stream to the separation unit 16.

分離部16には、平文化部11からの平文化ストリームに加えて、振分情報出力部13から、この平文化ストリームに対応したインデックス情報に基づく振分情報が通知される。すなわち、図4に示したような平文化ストリームが供給されるときには、例えば、Iフレームの符号化データを格納したパケット番号1、2、3および4のパケットに対応したエントリ1の情報や、パケット番号11および12のパケットに対応したエントリ2の情報が振分情報出力部13から分離部16に通知されている。このように、本実施の形態のデータ処理装置では、このようなエントリ情報を振分情報として利用している。分離部16は、順次供給される平文化ストリームの各パケットのパケット番号を検出し、検出したパケット番号が、エントリ情報により特定されたパケットであるかどうか判定する。分離部16は、この判定に従って、エントリ情報により特定されたパケット、すなわちエントリフレームの符号化データを格納したパケットである場合には内部パケットとし、エントリフレーム以外の符号化データを格納したパケットである場合には外部パケットとして振り分けるように分離する(ステップS216)。さらに、分離部16は、分離した内部パケットを内部メモリ14に転送し、分離した外部パケットを外部メモリ20に転送する。   In addition to the plain culture stream from the plain culture unit 11, the separation unit 16 is notified of distribution information based on the index information corresponding to this plain culture stream from the distribution information output unit 13. That is, when the plain culture stream as shown in FIG. 4 is supplied, for example, the information of entry 1 corresponding to the packets of packet numbers 1, 2, 3 and 4 storing the encoded data of the I frame, the packet The information of entry 2 corresponding to the packets with the numbers 11 and 12 is notified from the distribution information output unit 13 to the separation unit 16. Thus, in the data processing apparatus of this embodiment, such entry information is used as distribution information. The separation unit 16 detects the packet number of each packet of the plain culture stream that is sequentially supplied, and determines whether or not the detected packet number is a packet specified by the entry information. In accordance with this determination, the separation unit 16 is an internal packet when it is a packet specified by entry information, that is, a packet storing encoded data of an entry frame, and is a packet storing encoded data other than the entry frame. In this case, the packet is separated so as to be distributed as an external packet (step S216). Further, the separation unit 16 transfers the separated internal packet to the internal memory 14 and transfers the separated external packet to the external memory 20.

分離部16から内部メモリ14に転送された内部パケットのデータは、内部メモリ14の所定の領域に保存される(ステップS218)。また、分離部16から外部メモリ20に転送される外部パケットのデータは、内部共通バス19を介し、メモリ制御部15の制御により、外部メモリ20の所定の領域に保存される(ステップS220)。   The internal packet data transferred from the separation unit 16 to the internal memory 14 is stored in a predetermined area of the internal memory 14 (step S218). The external packet data transferred from the separation unit 16 to the external memory 20 is stored in a predetermined area of the external memory 20 through the internal common bus 19 and controlled by the memory control unit 15 (step S220).

CPU10が、LSI110における処理状況を判断し、平文化処理するための暗号化ストリームが外部メモリ20にさらに保存されており、ステップS212からステップS218またはステップS220までの処理をさらに実行すると判定すると、このようなステップS212からステップS218またはステップS220までの処理がさらに繰り返される。これにより、平文化ストリームの各パケットが、エントリ情報に応じて内部パケットと外部パケットとに振り分けられるようにして、内部メモリ14と外部メモリ20とに分離保存される。   When the CPU 10 determines the processing status in the LSI 110 and further stores an encrypted stream for plain processing, and determines that the processing from step S212 to step S218 or step S220 is further executed. Such processing from step S212 to step S218 or step S220 is further repeated. Thereby, each packet of the plain culture stream is separated and stored in the internal memory 14 and the external memory 20 so as to be distributed into the internal packet and the external packet according to the entry information.

また、CPU10が、デコード処理の実行可能であると判定するとデコード処理を実行するための制御を開始する。まず、結合部17には、内部メモリ14に保存した内部パケットと外部メモリ20に保存した外部パケットとが供給される。結合部17は、供給される内部パケットおよび外部パケットのパケット番号を検出し、それぞれのパケット番号を判定する(ステップS312)。結合部17は、パケット番号を判定した結果、まず、先となるパケット番号のパケットを内部メモリ14あるいは外部メモリ20から読込む(ステップS314およびステップS316)。さらに、結合部17は、読込んだパケットをパケット番号の順序に従って内部パケットあるいは外部パケットを出力する。このようにして内部メモリ14および外部メモリ20に分離保存された各パケットの結合が実行され(ステップS318)、これによって平文化ストリームが復元される。この平文化ストリームはデコーダ12に供給され、デコーダ12によりデコード処理が施される(ステップS320)。すなわち、デコーダ12により平文化ストリームの各パケットに含まれた符号化データがデコードされ、デコーダ12から画像や音声信号に対応したコンテンツデータが出力される。CPU10が、LSI110における処理状況を判断し、デコード処理するための平文化ストリームが外部メモリ20および内部メモリ14にさらに保存されており、このようなデコード処理をさらに継続すると判定すると、ステップS116に戻り、上述したような平文化処理およびデコード処理を継続し、このようなデコード処理を終了すると判定すると、上述のようなデコード処理が終了する(ステップS322)。   When the CPU 10 determines that the decoding process can be executed, the CPU 10 starts control for executing the decoding process. First, the combining unit 17 is supplied with the internal packet stored in the internal memory 14 and the external packet stored in the external memory 20. The combining unit 17 detects the packet numbers of the supplied internal packet and external packet, and determines the packet numbers (step S312). As a result of determining the packet number, the combining unit 17 first reads a packet having the previous packet number from the internal memory 14 or the external memory 20 (steps S314 and S316). Further, the combining unit 17 outputs the internal packet or the external packet according to the packet number order of the read packet. In this manner, the packets separated and stored in the internal memory 14 and the external memory 20 are combined (step S318), thereby restoring the plain culture stream. This plain culture stream is supplied to the decoder 12 and is decoded by the decoder 12 (step S320). In other words, the encoded data included in each packet of the plain culture stream is decoded by the decoder 12, and the content data corresponding to the image and the audio signal is output from the decoder 12. When the CPU 10 determines the processing status in the LSI 110 and further stores the plain culture stream for decoding processing in the external memory 20 and the internal memory 14, and returns to step S116, it returns to step S116. If the plain culture process and the decoding process as described above are continued and it is determined that such a decoding process is to be terminated, the decoding process as described above is terminated (step S322).

なお、CPU10が、データ処理プログラムに従って上述したような処理を実行することに加えて、記録処理部40の処理、平文化部11の処理、振分情報出力部13の処理、分離部16の処理、結合部17の処理、符号化データを復元するデコード処理、外部メモリを制御する処理などの一部あるいは全部の処理も実行するような構成であってもよい。   In addition to the CPU 10 performing the above-described processing according to the data processing program, the processing of the recording processing unit 40, the processing of the plain culture unit 11, the processing of the distribution information output unit 13, and the processing of the separation unit 16 The configuration may also be such that some or all of the processing such as the processing of the combining unit 17, the decoding processing for restoring the encoded data, and the processing for controlling the external memory is also executed.

図6は、分離部16が平文化ストリームを上述のように分離する一動作例を示す図である。   FIG. 6 is a diagram illustrating an operation example in which the separation unit 16 separates the plain culture stream as described above.

次に、図6を用いて、図5に示したステップS212からステップS218またはステップS220までの処理を実行する詳細な動作について説明する。図6では、図4に示したような平文化ストリームが分離部16に供給される一例を示している。この場合、振分情報出力部13から分離部16には、図4に示したようなエントリ1やエントリ2のようなエントリ情報が振分情報として通知されている。   Next, detailed operations for executing the processing from step S212 to step S218 or step S220 shown in FIG. 5 will be described with reference to FIG. FIG. 6 shows an example in which a plain culture stream as shown in FIG. 4 is supplied to the separation unit 16. In this case, entry information such as entry 1 and entry 2 as shown in FIG. 4 is notified from the distribution information output unit 13 to the separation unit 16 as distribution information.

図6において、分離部16に図4で示したような平文化ストリームが供給され、振分情報出力部13から図4で示したようなエントリ情報が通知される。すると、分離部16は、まず、エントリ1のパケット番号1であるパケット番号およびパケット数4であるパケット数に基づき内部パケットを判定する。すなわち、分離部16は、順次供給されるパケットのパケット番号を検出し、この検出したパケット番号とエントリ1で指定されるパケット番号1とを比較し、この検出したパケット番号がエントリ1で指定されるパケット番号1であると判定すると、このパケット番号1のパケットを内部パケットとして内部メモリ14に転送する。さらに、分離部16は、エントリ1で指定されるパケット数4に基づき、パケット番号1のパケットに続く3つのパケットを内部パケットとして内部メモリ14に転送する。このようにして、分離部16はエントリ情報のパケット番号およびパケット数によりエントリフレームの符号化データを格納したパケットを判定し、エントリフレームの符号化データを格納したパケットが、内部パケットとして内部メモリ14に保存される。すなわち、図6に示すように、エントリ1で指定されるパケット番号1からパケット数4個であるパケット番号1、2、3および4のパケットが、内部パケットとして内部メモリ14に保存される。   In FIG. 6, a plain culture stream as shown in FIG. 4 is supplied to the separation unit 16, and entry information as shown in FIG. 4 is notified from the distribution information output unit 13. Then, the separation unit 16 first determines an internal packet based on the packet number that is the packet number 1 of the entry 1 and the number of packets that is the number of packets 4. That is, the separation unit 16 detects the packet numbers of the sequentially supplied packets, compares the detected packet number with the packet number 1 specified by the entry 1, and the detected packet number is specified by the entry 1. If it is determined that the packet number is 1, the packet number 1 is transferred to the internal memory 14 as an internal packet. Further, based on the number of packets 4 specified by entry 1, the separation unit 16 transfers the three packets following the packet with the packet number 1 to the internal memory 14 as internal packets. In this manner, the separation unit 16 determines the packet storing the encoded data of the entry frame based on the packet number and the packet number of the entry information, and the packet storing the encoded data of the entry frame is used as the internal packet in the internal memory 14. Saved in. That is, as shown in FIG. 6, the packets of packet numbers 1, 2, 3, and 4 that are four packets from the packet number 1 specified in entry 1 are stored in the internal memory 14 as internal packets.

次に、振分情報出力部13から分離部16に、エントリ2のパケット番号11であるパケット番号およびパケット数2であるパケット数が通知される。分離部16は、次に供給されるパケットのパケット番号を検出し、この検出したパケット番号とエントリ2で指定されるパケット番号11とを比較する。パケット番号1、2、3および4のパケットの次には、パケット番号5であるパケットが供給される。このため、分離部16は、この検出したパケット番号5とエントリ2で指定されるパケット番号11とが異なった番号であり、エントリフレーム以外の符号化データであると判定し、このパケット番号5であるパケットを外部パケットとして、外部メモリ20に転送する。同様に、分離部16は、図4に示した平文化ストリームのパケット番号6、7、8、9および10のパケットにはエントリフレーム以外の符号化データが格納されていると判定し、これらパケットを外部パケットとして、外部メモリ20に転送する。   Next, the distribution information output unit 13 notifies the separation unit 16 of the packet number that is the packet number 11 of the entry 2 and the number of packets that is the number of packets 2. The separation unit 16 detects the packet number of the next packet to be supplied, and compares the detected packet number with the packet number 11 specified in the entry 2. Next to the packets with the packet numbers 1, 2, 3 and 4, the packet with the packet number 5 is supplied. Therefore, the separation unit 16 determines that the detected packet number 5 is different from the packet number 11 specified by the entry 2 and is encoded data other than the entry frame. A packet is transferred to the external memory 20 as an external packet. Similarly, the separation unit 16 determines that the encoded data other than the entry frame is stored in the packets with the packet numbers 6, 7, 8, 9 and 10 of the plain culture stream shown in FIG. Are transferred to the external memory 20 as external packets.

また、分離部16は、エントリ1の場合と同様に、エントリ2のパケット番号11およびパケット数2を利用して、図4に示した平文化ストリームのパケット番号11および12のパケットがエントリフレームに対応したパケットと判定し、内部パケットとして内部メモリ14に転送する。   Similarly to the case of entry 1, the separating unit 16 uses the packet number 11 of the entry 2 and the number of packets 2 so that the packets of the plain culture stream packet numbers 11 and 12 shown in FIG. The corresponding packet is determined and transferred to the internal memory 14 as an internal packet.

分離部16がこのような動作を実行することにより、図6に示すように、Iフレームの符号化データを格納した内部パケットが、外部からアクセス困難なLSI110内部の内部メモリ14に保存される。さらに、PフレームやBフレームの符号化データを格納した外部パケットが、アクセス可能な外部メモリ20に保存されることとなる。   When the separation unit 16 performs such an operation, as shown in FIG. 6, the internal packet storing the encoded data of the I frame is stored in the internal memory 14 inside the LSI 110 that is difficult to access from the outside. Further, the external packet storing the encoded data of the P frame and the B frame is stored in the accessible external memory 20.

このように、本実施の形態のデータ処理装置、および図5で示したような手順に従った暗号化ストリームのデータ処理方法は、保護処理部としてのLSI110の内部において、あらかじめ記録メディア30に記録した特殊再生のための暗号化インデックス情報を利用し、平文化ストリームの各パケットを、保護記憶部としての内部メモリ14と非保護記憶部としての外部メモリ20とに振り分けて記録するような構成である。このため、本実施の形態のデータ処理装置およびデータ処理方法は、LSI110内部において、外部メモリ20との間に暗号化部や平文化部などを設けたり、平文化ストリームなどからフレームの種類情報を検出するデータ種類検出部や実行制御部などを設けたりする必要はない。さらに、このような簡易な構成であっても、外部メモリ20に記憶した外部パケットのみではコンテンツを完全に復元できず、また、内部メモリ14に記憶した内部パケットは容易にアクセスできない。そして、振分情報としてのインデックス情報は、記録メディアにおいては暗号化されており、また復元されたインデックス情報は外部のアクセスから保護されている。このため、本実施の形態のデータ処理装置は、圧縮符号化の規格などに依存することなく、ハードウェア量や処理負荷の増加を抑制するとともに、著作権の対象となるようなコンテンツの保護を図ったデータ処理装置を提供することができる。また、本実施の形態のデータ処理装置は、異なった振分情報をそれぞれ記憶しておくような記憶部を設けることなく、振分情報として、記録メディアに記録する暗号化ストリームごとに異なったインデックス情報を生成できるため、簡易な構成で、振分情報を異ならせることによるセキュリティ性を向上させることもできる。   As described above, the data processing apparatus of the present embodiment and the data processing method of the encrypted stream according to the procedure as shown in FIG. 5 are recorded in advance on the recording medium 30 inside the LSI 110 as the protection processing unit. By using the encrypted index information for special playback, each packet of the plain culture stream is distributed and recorded in the internal memory 14 as the protected storage unit and the external memory 20 as the non-protected storage unit. is there. For this reason, the data processing apparatus and data processing method according to the present embodiment includes an encryption unit, a plain culture unit, and the like within the LSI 110, and frame type information from a plain culture stream. There is no need to provide a data type detection unit or an execution control unit for detection. Furthermore, even with such a simple configuration, the content cannot be completely restored only with the external packet stored in the external memory 20, and the internal packet stored in the internal memory 14 cannot be easily accessed. The index information as distribution information is encrypted in the recording medium, and the restored index information is protected from external access. For this reason, the data processing apparatus according to the present embodiment suppresses an increase in the amount of hardware and processing load and does not depend on compression coding standards and the like, and protects content that is subject to copyright. The intended data processing apparatus can be provided. In addition, the data processing apparatus according to the present embodiment does not provide a storage unit for storing different distribution information, and uses different indexes as the distribution information for each encrypted stream recorded on the recording medium. Since information can be generated, it is possible to improve security by making the distribution information different with a simple configuration.

なお、以上の説明では、図5のステップS216のように、エントリフレームの符号化データを格納したパケットである場合には内部パケットとし、エントリフレーム以外の符号化データを格納したパケットである場合には外部パケットとして振り分けるように分離する例を挙げて説明したが、逆に、エントリフレームの符号化データを格納したパケットである場合には外部パケットとし、エントリフレーム以外の符号化データを格納したパケットである場合には内部パケットとして振り分けるような構成であってもよい。   In the above description, as in step S216 in FIG. 5, when the packet stores the encoded data of the entry frame, the packet is an internal packet, and when the packet stores the encoded data other than the entry frame. Has been described with reference to an example of separation so that it is distributed as an external packet, but conversely, when it is a packet storing encoded data of an entry frame, it is an external packet and a packet storing encoded data other than the entry frame In such a case, the configuration may be such that it is distributed as an internal packet.

次に、平文化ストリームの各パケットを、内部メモリと外部メモリとに振り分けるために利用するインデックス情報のより具体的な一例について説明する。ここでは、記録メディア30としてSDメモリカードの一例を挙げて説明する。   Next, a more specific example of the index information used for distributing each packet of the plain culture stream to the internal memory and the external memory will be described. Here, an example of an SD memory card will be described as the recording medium 30.

図7は、記録メディア30としてのSDメモリカード内に構成されるコンテンツおよび管理情報ファイルのディレクトリ構成図である。本発明の対象とする暗号化ストリームなどコンテンツを含むデータは、プログラム単位にコンテンツディレクトリ(PRGxxx)内に、メディアオブジェクトデータファイル(MOVnnn.MOD、ただしnnnは16進数でメディアオブジェクトデータファイル番号を示す)として記録される。また、それぞれのメディアオブジェクトデータに関する情報が、メディアオブジェクト情報ファイル(MOVnnn.MOI)に記録される。本発明におけるインデックス情報もこのようなメディアオブジェクト情報に含まれる。さらに、メディアオブジェクトデータと同時に再生される静止画データ(PICnnn.JPG)やテキストデータ(TXTnnn.TXT)がある場合は、それぞれPICnnn.JPGおよびTXTnnn.TXTファイルに記録される。また、複数の動画像データを同時再生する場合は、シーン記述データファイル(SCNnnn.SML)にどのメディアオブジェクトデータファイルを同時再生するかが記述される。プログラム全体の管理情報は、管理ディレクトリ(MGR_INFO)内の管理データファイル(MGR_DATA)、プログラムマネージャファイル(PRG_MGR)およびプレイリスト管理ファイル(PLST_MGR)に記録される。   FIG. 7 is a directory configuration diagram of content and management information files configured in the SD memory card as the recording medium 30. Data including content such as an encrypted stream targeted by the present invention is stored in a content directory (PRGxxx) in a program unit in a media object data file (MOVnnn.MOD, where nnn is a media object data file number in hexadecimal). As recorded. Information about each media object data is recorded in a media object information file (MOVnnn.MOI). The index information in the present invention is also included in such media object information. Further, if there is still image data (PICnnn.JPG) or text data (TXTnnn.TXT) that is played back simultaneously with the media object data, PICnnn. JPG and TXTnnn. Recorded in a TXT file. Further, when a plurality of moving image data are simultaneously reproduced, which media object data file is to be simultaneously reproduced is described in a scene description data file (SCNnnn.SML). The management information of the entire program is recorded in a management data file (MGR_DATA), a program manager file (PRG_MGR), and a playlist management file (PLST_MGR) in the management directory (MGR_INFO).

メディアオブジェクト情報ファイル(MOVnnn.MOI)には、特殊再生のためのインデックス情報などとして、「DataType」、「DataSize」、「PlayBackDuration」、「TxtAttr」、「TstType」、「TstInterval」、「FrameTime」、「NumTstEntry1」または「NumTstEntry2」、「NumModui」、「MODU_INFO(具体的には、ModuiTbl[サイズは、NumModui])」、「ModuNumber」、「EntryFrameDiff」、「ModuOffset」、「PacketSize」、「NumFrame」のような情報が格納されている。   In the media object information file (MOVnnn.MOI), “DataType”, “DataSize”, “PlayBackDuration”, “TxtAttr”, “TstType”, “TstInterval”, “FrameTime”, as index information for special playback, etc. “NumTstEntry1” or “NumTstEntry2”, “NumModui”, “MODU_INFO (specifically, ModiTbl [size is NumModui])”, “ModuNumber”, “EntryFet”, “NetFr” Such information is stored.

このような情報において、「DataType」はメディアオブジェクト情報ファイルのタイプを示す。「DataSize」はメディアオブジェクト情報ファイルのデータのサイズを示す。「PlayBackDuration」は、メディアオブジェクトの再生時間を示す。「TxtAttr」は、テキストデータに用いられた文字コードなどの属性を示す。「TstType」は、タイムサーチテーブルの種類を示し、メディアオブジェクトデータファイルのファイルフォーマットに応じて、タイムサーチテーブルの構造や、構成要素の値の意味が変わる場合に使用する。なお、タイムサーチテーブルは、サーチを容易にするための標識とするタイムサーチエントリを特定するための情報を格納したテーブルである。「TstInterval」は、タイムサーチテーブル時間分解能を示す。「FrameTime」は分数で表現した1フレームの時間を示す。「NumTstEntry1」または「NumTstEntry2」はタイムサーチテーブルのエントリ数を示す。「NumModui」はその位置からの再生が常に可能な圧縮符号化の単位であるメディアオブジェクトデータユニット(MODU、以下、適宜、単に「MODU」と呼ぶ)の情報テーブルの数を示す。「MODU_INFO(具体的には、ModuiTbl[サイズは、NumModui])」はMODUの情報テーブルを示す。「ModuNumber」は各エントリ点ごとの対応するMODU番号を示す。「EntryFrameDiff」は直前のエントリフレームからタイムサーチエントリまでのフレーム数を示す。「ModuOffset」は対応するMODUの位置(byte)を示す。「PacketSize」は1パケットのサイズを示す。「NumFrame」は1パケット内のフレーム数を示す。   In such information, “DataType” indicates the type of the media object information file. “DataSize” indicates the data size of the media object information file. “PlayBackDuration” indicates the playback time of the media object. “TxtAttr” indicates an attribute such as a character code used for text data. “TstType” indicates the type of the time search table, and is used when the structure of the time search table and the meaning of the component values change according to the file format of the media object data file. The time search table is a table that stores information for specifying a time search entry as a marker for facilitating the search. “TstInterval” indicates the time resolution of the time search table. “FrameTime” indicates the time of one frame expressed in fractions. “NumTstEntry1” or “NumTstEntry2” indicates the number of entries in the time search table. “NumModui” indicates the number of information tables of a media object data unit (MODU, hereinafter, simply referred to as “MODU” as appropriate), which is a unit of compression encoding that can always be reproduced from that position. “MODU_INFO (specifically, ModiTbl [size is NumModui])” indicates an information table of the MODU. “ModuNumber” indicates a corresponding MODU number for each entry point. “EntryFrameDiff” indicates the number of frames from the previous entry frame to the time search entry. “ModuOffset” indicates the position (byte) of the corresponding MODU. “PacketSize” indicates the size of one packet. “NumFrame” indicates the number of frames in one packet.

また、MODUの情報テーブル「MODU_INFO」には、「EntrySize」、「ModuPbTime」や「ModuSize」などの情報が含まれる。   The information table “MODU_INFO” of MODU includes information such as “EntrySize”, “ModuPbTime”, “ModuSize”, and the like.

このような情報において、「EntrySize」はエントリフレームのサイズを示す。「ModuPbTime」はMODUを構成するフレーム数を示す。「ModuSize」はMODUのサイズを示す。   In such information, “EntrySize” indicates the size of the entry frame. “ModuPbTime” indicates the number of frames constituting the MODU. “ModuSize” indicates the size of the MODU.

図8は、記録メディア30としてのSDメモリカードに記録される暗号化ストリームなどのメディアオブジェクトデータファイルの構成を示す図である。記録メディア30としてのSDメモリカードには、運動会の撮影や映画の録画というようなプログラム単位で、それぞれのストリームデータが記録される。また、図8に示すように、それぞれプログラムには、1つまたは複数のメディアオブジェクトが含まれている。すなわち、例えば、運動会の撮影のプログラム(PRG001)には、運動会の開会式を記録したメディアオブジェクト(MOV001)と、100メートル走を記録したメディアオブジェクト(MOV002)と、運動会の閉会式を記録したメディアオブジェクト(MOV003)とするようなメディアオブジェクトが記録されている。さらに、それぞれのメディアオブジェクトには複数のメディアオブジェクトデータユニットMODUが含まれる。各MODUは、MPEG−2方式でのGOPと同様の画像の単位であり、通常、上述したようなIフレームで始まる。すなわち、図4に示したようなIフレームをエントリフレームとし、Iフレームの先頭から次のIフレームが始まる直前までを1つのメディアオブジェクトデータユニットMODUとしている。図8では、MODU#1〜MODU#7までで構成されるメディアオブジェクト(MOV002)の例を示しており、それぞれE1〜E7で示すエントリフレームで始まる。   FIG. 8 is a diagram showing a configuration of a media object data file such as an encrypted stream recorded on an SD memory card as the recording medium 30. The SD memory card as the recording medium 30 records each stream data in program units such as athletic meet shooting or movie recording. Also, as shown in FIG. 8, each program includes one or more media objects. That is, for example, the athletic meet shooting program (PRG001) includes a media object (MOV001) that records the opening ceremony of the athletic meet, a media object (MOV002) that records 100-meter running, and a media that records the closing ceremony of the athletic meet. A media object such as an object (MOV003) is recorded. Further, each media object includes a plurality of media object data units MODU. Each MODU is an image unit similar to the GOP in the MPEG-2 system, and usually starts with an I frame as described above. That is, an I frame as shown in FIG. 4 is used as an entry frame, and one media object data unit MODU is formed from the beginning of the I frame to immediately before the next I frame starts. FIG. 8 shows an example of a media object (MOV002) composed of MODU # 1 to MODU # 7, which starts with entry frames indicated by E1 to E7, respectively.

コンテンツデータを、図7および図8で示したようなディレクトリおよびファイル構成のSDメモリカードに記録するとき、記録装置は、ルート(Root)ディレクトリ内の全プログラム番号を調べ、新しく作成するプログラム番号yyyを決め、コンテンツディレクトリ(PRGyyy)を作る。次に、記録装置が記録開始の指示を検出すると、入力したコンテンツデータを暗号化ストリームなどに変換しPRGyyy内にメディアオブジェクトデータMOV001.MODファイルとして記録する。さらに、記録装置は、各メディアオブジェクトデータユニットMODUのエントリフレームに関する情報などを含むメディアオブジェクト情報ファイルMOV001.MOIを作成する。次に、記録装置が記録停止の指示を検出すると、MOV001.MODファイルの記録を完了し、各種関連情報をメディアオブジェクト情報ファイルMOV001.MOIに記録する。MODU情報MODU_INFO、エントリ数「NumTstEntry」などの値、エントリの情報(「ModuNumber」、「EntryFrameDiff」、「ModuOffset」など)は、記録されたMOV001.MODファイルを調べながら決定される。以下、記録装置は、記録が指示されるたびに、メディアオブジェクトデータファイル番号を更新しながら、上記処理を繰り返す。このようにして、記録メディア30としてのSDメモリカードには、コンテンツデータが暗号化ストリームなどの形態で、図8に示すようなメディアオブジェクトデータファイルMOVnnn.MODとして記録される。これとともに、エントリフレームに関する情報などを含むメディアオブジェクトの関連情報が、メディアオブジェクト情報ファイルMOVnnn.MOIに記録される。   When recording the content data on the SD memory card having the directory and file structure as shown in FIGS. 7 and 8, the recording device checks all program numbers in the root directory and newly creates a program number yyy. And create a content directory (PRGyyy). Next, when the recording apparatus detects an instruction to start recording, the input content data is converted into an encrypted stream and the like, and media object data MOV001.MOV is stored in PRGyyy. Record as a MOD file. In addition, the recording device records the media object information file MOV001. Including information on the entry frame of each media object data unit MODU. Create MOI. Next, when the recording apparatus detects an instruction to stop recording, MOV001. Recording of the MOD file is completed, and various related information is transferred to the media object information file MOV001. Record in MOI. The MODU information MODU_INFO, the value of the number of entries “NumTstEntry”, and the entry information (“ModuNumber”, “EntryFrameDiff”, “ModuOffset”, etc.) are recorded in the recorded MOV001. Determined by examining the MOD file. Thereafter, the recording device repeats the above process while updating the media object data file number every time recording is instructed. In this way, the content data is stored in the SD memory card as the recording medium 30 in the form of an encrypted stream or the like in the media object data file MOVnnn. Recorded as MOD. At the same time, the related information of the media object including information on the entry frame is stored in the media object information file MOVnnn. Recorded in MOI.

このような記録形態でコンテンツが記録されたSDメモリカードの再生において、例えば、早送り再生する場合、メディアオブジェクト情報ファイルMOVnnn.MOIに記録されたエントリに関する情報を参照して、図8に示すようなメディアオブジェクトデータファイルMOVnnn.MODに記録されたエントリフレームEmを順番に読出すことで早送り再生ができる。すなわち、メディアオブジェクト情報ファイルMOVnnn.MOIを参照し、#m番目のMODUに対して、対応するMODUの位置「ModuOffset」から、MODU情報「MODU_INFO」を構成するMODU情報テーブル「ModuiTbl」に記録されたエントリフレームのサイズ「EntrySize」が示すバイト数分のデータを読出す。その読出しが終わった時点で、次のMODUのエントリフレームの先頭に移動し、同様に、エントリフレームのサイズ分、メディアオブジェクトデータMOVnnn.MODを読出す。さらに次のMODUに移動するというように、同様な再生を繰り返すことで早送り再生が実現できる。   In playback of an SD memory card in which content is recorded in such a recording format, for example, when fast-forward playback is performed, the media object information file MOVnnn. Referring to the information related to the entry recorded in the MOI, the media object data file MOVnnn. Fast-forward playback can be performed by sequentially reading the entry frames Em recorded in the MOD. That is, the media object information file MOVnnn. With reference to the MOI, the entry frame size “EntrySize” recorded in the MODU information table “ModuiTbl” constituting the MODU information “MODU_INFO” from the corresponding MODU position “ModuOffset” is assigned to the # m-th MODU. Read data for the number of bytes shown. When the reading is finished, the head moves to the beginning of the entry frame of the next MODU. Similarly, the media object data MOVnnn. Read MOD. Furthermore, fast-forward playback can be realized by repeating similar playback, such as moving to the next MODU.

また、本データ処理装置において、上述したような記録形態でコンテンツが記録されたSDメモリカードである記録メディア30からコンテンツデータを復元するとき、LSI110は、メディアオブジェクト情報ファイルMOVnnn.MOIに記録されたエントリに関する情報を利用して、メディアオブジェクトデータファイルMOVnnn.MODに記録された暗号化ストリームからコンテンツデータを復元するための処理を行う。このとき、これまで説明したような本データ処理装置の動作に基づいて、LSI110の分離部16が、メディアオブジェクト情報ファイルMOVnnn.MOIに記録された各MODUの位置「ModuOffset」やエントリフレームのサイズ「EntrySize」のようなエントリに関する情報を利用して、エントリフレームに対応したパケットのデータを内部メモリ14に保存し、それ以外のデータは外部メモリ20に保存する。本データ処理装置は、このように動作しながら、コンテンツデータのデコード処理を実行する。   Further, in this data processing apparatus, when restoring content data from the recording medium 30 that is an SD memory card in which content is recorded in the recording format as described above, the LSI 110 receives the media object information file MOVnnn. Using the information about the entry recorded in the MOI, the media object data file MOVnnn. A process for restoring content data from the encrypted stream recorded in the MOD is performed. At this time, based on the operation of the present data processing apparatus as described above, the separation unit 16 of the LSI 110 performs the media object information file MOVnnn. Using the information about the entry such as the position “ModuOffset” of each MODU recorded in the MOI and the entry frame size “EntrySize”, the packet data corresponding to the entry frame is stored in the internal memory 14, Data is stored in the external memory 20. The data processing apparatus executes the content data decoding process while operating in this way.

以上、SDメモリカードに記録された暗号化ストリームからコンテンツデータを復元するような具体的な一例からもわかるように、本実施の形態のデータ処理装置およびデータ処理方法は、メディアオブジェクト情報ファイルMOVnnn.MOIにすでに記録された特殊再生などのためのインデックス情報に含まれるエントリ情報を利用し、各パケットを選択的に内部メモリ14と外部メモリ20とに分離記録するような構成としている。   As can be seen from the specific example of restoring the content data from the encrypted stream recorded on the SD memory card, the data processing apparatus and the data processing method of the present embodiment have the media object information file MOVnnn. Using the entry information included in the index information for special reproduction already recorded in the MOI, each packet is selectively recorded in the internal memory 14 and the external memory 20 separately.

よって、本実施の形態のデータ処理装置あるいはデータ処理方法によっても、符号化方式やデータフォーマットに依存せず、単に振分情報としてのインデックス情報に従って平文化ストリームを部分データに分離して記憶すればよいとともに、外部メモリ20に記憶した部分データのみではコンテンツを完全に復元できず、また、内部メモリ14に記憶した部分データは容易にアクセスできないこととなる。さらに、インデックス情報は記録メディア30においては暗号化されており、LSI110内においては外部のアクセスから保護されているため、ストリームデータを不正に読取るなどの不正に対する防止効果を高めることができる。   Therefore, even with the data processing apparatus or data processing method of the present embodiment, if the plain culture stream is stored separately as partial data according to the index information as distribution information, it does not depend on the encoding method or data format. In addition, the content cannot be completely restored only by the partial data stored in the external memory 20, and the partial data stored in the internal memory 14 cannot be easily accessed. Furthermore, since the index information is encrypted in the recording medium 30 and is protected from external access in the LSI 110, it is possible to enhance the effect of preventing illegal acts such as illegally reading stream data.

以上説明したように、本実施の形態のデータ処理装置においても、外部のアクセスから保護されたLSI110の内部において、外部から保護された振分情報出力部13のインデックス情報に基づき、平文化ストリームの部分データとなる各パケットを、内部メモリ14のような保護記憶部と外部メモリ20のような非保護記憶部とに振り分けて分離記憶するような構成である。このように、本実施の形態のデータ処理装置も、インデックス情報を設定するのみでよいため、非保護記憶部へのデータ伝送において暗号化部や平文化部などを設ける必要はなく、平文化ストリームなどからフレームの種類情報を検出するデータ種類検出部や実行制御部などを設ける必要もない。さらに、このような簡易な構成であっても、外部メモリ20に記憶した外部パケットのみではコンテンツを完全に復元できず、また、内部メモリ14に記憶した内部パケットは容易にアクセスできず、インデックス情報も記録メディアにおいては暗号化されているとともにLSI内部において外部のアクセスから保護されている。このため、本実施の形態のデータ処理装置は、圧縮符号化の規格などに依存することなく、ハードウェア量や処理負荷の増加を抑制するとともに、著作権の対象となるようなコンテンツの保護を図ったデータ処理装置を提供することができる。   As described above, also in the data processing apparatus according to the present embodiment, inside the LSI 110 protected from external access, based on the index information of the distribution information output unit 13 protected from the outside, Each packet serving as partial data is divided and stored in a protected storage unit such as the internal memory 14 and a non-protected storage unit such as the external memory 20. As described above, since the data processing apparatus according to the present embodiment only needs to set the index information, it is not necessary to provide an encryption unit or a plain culture unit in data transmission to the unprotected storage unit. Therefore, it is not necessary to provide a data type detection unit or an execution control unit for detecting frame type information. Further, even with such a simple configuration, the content cannot be completely restored only with the external packet stored in the external memory 20, and the internal packet stored in the internal memory 14 cannot be easily accessed. Also, the recording medium is encrypted and protected from external access inside the LSI. For this reason, the data processing apparatus according to the present embodiment suppresses an increase in the amount of hardware and processing load and does not depend on compression coding standards and the like, and protects content that is subject to copyright. The intended data processing apparatus can be provided.

なお、本実施の形態では、振分情報として記録メディアに暗号化して記録したインデックス情報を利用した一例を挙げて説明したが、インデックス情報に代えて、例えばランダムな情報や所定の手順を示す情報を振分情報として暗号化し、暗号化した振分情報を記録メディアに記録しておくような構成であってもよい。すなわち、例えば、ストリームデータをランダムなデータ長の複数の部分データに区分し、振分情報がその区分に関する情報とし、分離部16がこのような振分情報に基づき部分データを内部メモリ14と外部メモリ20とに振り分けて分離記憶させるような構成でもよい。また、ストリームデータを処理するような構成に代えて、符号化されていない画像データなどを暗号化した暗号化データに対して処理するような形態であってもよい。また、このような構成を実現するため、例えば、所定のビット長やバイト長を単位とし、内部および外部データとして振り分け、結合部17が振分情報に基づきそれらデータを結合するような構成であってもよい。   In this embodiment, an example using index information encrypted and recorded on a recording medium as distribution information has been described. However, instead of index information, for example, random information or information indicating a predetermined procedure is used. May be encrypted as distribution information, and the encrypted distribution information may be recorded on a recording medium. That is, for example, the stream data is divided into a plurality of partial data having a random data length, the distribution information is information on the classification, and the separation unit 16 converts the partial data into the internal memory 14 and the external data based on such distribution information. A configuration may be adopted in which the data is distributed to the memory 20 and stored separately. Further, instead of a configuration for processing stream data, a configuration may be used in which encrypted data obtained by encrypting unencoded image data or the like is processed. In order to realize such a configuration, for example, a predetermined bit length or byte length is used as a unit, the data is distributed as internal and external data, and the combining unit 17 combines the data based on the distribution information. May be.

また、実施の形態1で注釈したのと同様に、本実施の形態においても、任意のバイト長などで順番に内部データと外部データとして振り分け、順番ごとのバイト長のような一連の情報を振分情報としてLSI110内部で記憶しておくような形態であってもよい。また、外部メモリ20に外部パケットや外部データなどの非保護データを記憶させる記憶形態として、非保護データとともに、保護データに対応した領域には乱数データを埋め込んで外部メモリ20に記憶させたり、あるいは、非保護データが連続するようにデータの隙間を詰めて外部メモリ20に記憶させたりするような構成とすることにより、コンテンツの保護効果を高めることができる。   In addition, as annotated in the first embodiment, in this embodiment, the internal data and the external data are sorted in order according to an arbitrary byte length, and a series of information such as the byte length for each order is allocated. A form may be stored in the LSI 110 as minute information. In addition, as a storage mode for storing non-protected data such as external packets and external data in the external memory 20, random data is embedded in the area corresponding to the protected data and stored in the external memory 20 together with the non-protected data, or The content protection effect can be enhanced by adopting a configuration in which the gap between data is reduced and stored in the external memory 20 so that non-protected data continues.

また、本実施の形態では、データ処理装置が記録メディアに記録データを記録する記録処理部40を備えた一例を挙げて説明したが、記録処理部40は備えず、暗号化ストリームおよび暗号化振分情報が記録された記録メディアからコンテンツを復元する機能のみを有した構成であってもよい。   In the present embodiment, the data processing apparatus has been described with an example including the recording processing unit 40 that records the recording data on the recording medium. However, the recording processing unit 40 is not provided, and the encrypted stream and the encrypted data are not included. A configuration having only a function of restoring content from a recording medium on which minute information is recorded may be used.

また、本実施の形態では、暗復号化のための鍵データを鍵記憶部43に記憶しておくような一例を挙げて説明したが、暗復号化のための鍵データが外部から設定できるような構成であってもよい。この場合、鍵データは暗号化されていることが好ましい。   Further, in the present embodiment, an example has been described in which key data for encryption / decryption is stored in the key storage unit 43. However, key data for encryption / decryption can be set from the outside. It may be a simple configuration. In this case, the key data is preferably encrypted.

さらに、上記各実施の形態では、DVDやSDメモリカードのような可搬型の記録媒体である記録メディアに記録されたコンテンツの再生を行うデータ処理装置の一例を挙げて説明したが、再生を行う記録メディアとして例えばHDD(Hard Disc Drive)のような装置内に設置された記録メディアであってもよい。また、インターネットのようなネットワークあるいはUSBケーブルやIEEE1394などを介して接続された記録メディアや記録装置であってもよい。また、本データ処理装置が、インデックス情報を含めて暗号化ストリームがインターネット配信あるいは放送として供給されるコンテンツデータに対してそのコンテンツの再生を行うようなデータ処理装置の形態であってもよい。また、本データ処理装置が、インデックス情報を含めて暗号化ストリームがインターネット配信あるいは放送として供給されるコンテンツデータを、一旦、可搬型、装置内部に設置あるいはネットワークを介した記録メディアや記録装置などに記録し、その記録したコンテンツデータに対してそのコンテンツの再生を行うようなデータ処理装置の形態であってもよい。   Furthermore, in each of the above-described embodiments, an example of a data processing apparatus that reproduces content recorded on a recording medium that is a portable recording medium such as a DVD or an SD memory card has been described. The recording medium may be a recording medium installed in an apparatus such as an HDD (Hard Disc Drive). Further, it may be a recording medium or a recording device connected via a network such as the Internet or a USB cable or IEEE1394. Further, the data processing apparatus may be in the form of a data processing apparatus that reproduces content data that is supplied as an Internet stream or broadcast as an encrypted stream including index information. In addition, the data processing apparatus once stores content data supplied as an encrypted stream including index information as Internet distribution or broadcast, in a portable, recording medium or recording apparatus installed in the apparatus or via a network. It may be in the form of a data processing device that records and reproduces the recorded content data.

また、上記各実施の形態では、LSIの外部に設けた例えば半導体メモリである外部メモリを設けた構成例を挙げて説明したが、外部メモリとして例えば装置内に設置したHDDなどであってもよい。また、本データ処理装置にこのような外部メモリを設けず、インターネットのようなネットワークあるいはUSBケーブルやIEEE1394などを介して接続された記録メディアや記録装置に、分離された外部パケットを記録するような構成であってもよい。また、再生するための暗号化ストリームが記録された可搬型、装置内部に設置あるいはネットワークを介した記録メディアや記録装置などの空き領域などに、分離された外部パケットを記録するような形態であってもよい。   In each of the above-described embodiments, the configuration example in which an external memory, for example, a semiconductor memory provided outside the LSI is described as an example. However, the external memory may be, for example, an HDD installed in the apparatus. . Further, this data processing apparatus is not provided with such an external memory, and the separated external packet is recorded on a recording medium or a recording apparatus connected via a network such as the Internet or a USB cable or IEEE1394. It may be a configuration. In addition, it is a portable type in which an encrypted stream for playback is recorded, and is configured in such a manner that a separated external packet is recorded in a recording medium or a recording device or the like in a free space installed inside the apparatus or via a network. May be.

また、上記各実施の形態では、外部からのアクセスから保護された手段である保護処理部を実現する一例として、平文化部、振分情報出力部、内部メモリ、分離部、結合部およびデコーダなどの機能を内部に集積した集積回路であるLSIの例を挙げて説明したが、例えばこれら機能を複数の集積回路で実現し、外部からアクセスが困難なように保護するためのパッケージ化やモジュール化したような構成であってもよい。要するに、平文化部で復元された平文化ストリームあるいは内部パケットへのアクセスを阻止するような構成であればよい。   In each of the above embodiments, as an example of realizing a protection processing unit that is a means protected from external access, a plain culture unit, a distribution information output unit, an internal memory, a separation unit, a combining unit, a decoder, The example of LSI, which is an integrated circuit that integrates the above functions, has been described. For example, these functions are implemented by a plurality of integrated circuits, and packaged or modularized to protect them from being difficult to access from the outside. The configuration as described above may be used. In short, any configuration that prevents access to the plain culture stream or internal packet restored by the plain culture department may be used.

また、上記各実施の形態では、保護処理部としての集積回路に、平文化部、振分情報出力部、内部メモリ、分離部、結合部およびデコーダなどの機能を配置した一例を挙げて説明したが、データ処理装置が保護処理部を持たない構成であってもよい。この場合、データ処理装置に、外部からのアクセスから保護された保護記憶部と、外部メモリのように外部からのアクセスが可能な非保護記憶部とを単なる記録手段として持たせる。そして、分離部により、ストリームデータを、例えば、他のフレームの復号に必要なフレームを含む保護データと、他のフレームの復号に必要なフレームを含まない非保護データとに分離する。さらに、保護データを保護記憶部に記憶し、非保護データを非保護記憶部に記憶する。また、分離部によりこのような分離を行うため、例えば上述したようなインデックス情報のエントリフレーム情報などを利用する。本発明は、このような構成としてもよく、このような簡易な構成であっても、非保護記憶部に記憶した非保護データのみでは、画像データを完全に復元できないため、画像データの機密性を確保できる。なお、この場合、保護処理部と非保護処理部は別々の記録手段として実現してもよいし、1つの記録手段を外部からのアクセスから保護された部分と外部からのアクセスが可能な部分とに分けることで実現するとしてもよい。   In each of the above embodiments, an example in which functions such as the plain culture unit, the distribution information output unit, the internal memory, the separation unit, the coupling unit, and the decoder are arranged in the integrated circuit as the protection processing unit has been described. However, the data processing apparatus may be configured without the protection processing unit. In this case, the data processing apparatus is provided with a protected storage unit that is protected from external access and an unprotected storage unit that is accessible from the outside, such as an external memory, as mere recording means. Then, the separation unit separates the stream data into, for example, protected data including frames necessary for decoding other frames and non-protected data not including frames necessary for decoding other frames. Further, the protection data is stored in the protection storage unit, and the non-protection data is stored in the non-protection storage unit. Further, in order to perform such separation by the separation unit, for example, entry frame information of the index information as described above is used. The present invention may have such a configuration, and even with such a simple configuration, the image data cannot be completely restored only with the non-protected data stored in the non-protected storage unit. Can be secured. In this case, the protection processing unit and the non-protection processing unit may be realized as separate recording means, and one recording means is protected from external access and externally accessible part. It may be realized by dividing into two.

また、上記各実施の形態では、図7で示したように、暗号化ストリームなどコンテンツを含むストリームあるいはデータがメディアオブジェクトデータファイルMOVnnn.MODとして記録され、インデックス情報を含むメディアオブジェクト情報がメディアオブジェクト情報ファイルMOVnnn.MOIとして記録されるように、それぞれ異なるファイルとして記録メディアに記録されるような一例を挙げて説明したが、コンテンツを含むストリームあるいはデータとインデックス情報とを同一のファイルとして記録するような記録メディアであってもよい。   Further, in each of the above embodiments, as shown in FIG. 7, a stream or data including content such as an encrypted stream is stored in the media object data file MOVnnn. The media object information recorded as MOD and including the index information is the media object information file MOVnnn. An example has been described in which each file is recorded on a recording medium as a different file so as to be recorded as an MOI. However, a recording medium that records a stream containing data or data and index information as the same file is described. There may be.

また、上記各実施の形態では、不正なアクセスから保護されたLSI内に設けた内部メモリにコンテンツ保護の観点から重要となる内部パケットを記録するような構成例を挙げて説明したが、例えば、外部メモリにおいて、論理アドレスやユーザ空間にマッピングしないなどとすることで外部からの不正なアクセスが困難とした保護領域と外部からアクセスが可能な非保護領域とを設け、分離部の制御で分離したエントリフレームのデータを格納したパケットを含むパケットを保護パケットとして外部メモリの保護領域に記録し、分離したそれ以外のパケットを非保護パケットとして外部メモリの非保護領域に記録するような構成であってもよい。   Further, in each of the above-described embodiments, the description has been given by taking the configuration example in which the internal packet important from the viewpoint of content protection is recorded in the internal memory provided in the LSI protected from unauthorized access. In the external memory, a protected area that is difficult to illegally access from the outside by not mapping to a logical address or user space, etc. and a non-protected area that can be accessed from the outside are provided and separated by the control of the separation unit The packet including the packet storing the entry frame data is recorded as a protected packet in the protected area of the external memory, and the other separated packets are recorded as unprotected packets in the unprotected area of the external memory. Also good.

なお、本発明を上記実施の形態に基づいて説明してきたが、本発明は、上記の実施の形態に限定されないのはもちろんである。以下のようなその他の実施例の場合も本発明に含まれる。   Although the present invention has been described based on the above embodiment, it is needless to say that the present invention is not limited to the above embodiment. Other embodiments such as the following are also included in the present invention.

(1)本データ処理装置、およびデータ処理方法は、記録媒体から暗号化ストリームを受取るような構成に限定されず、平文化ストリームを受取るような構成であってもよい。そもそも、相手が記録媒体である必要はなく、携帯電話などコンテンツを受け渡しできる機器なら何でもよい。   (1) The data processing apparatus and the data processing method are not limited to a configuration for receiving an encrypted stream from a recording medium, and may be configured to receive a plain culture stream. In the first place, the other party does not need to be a recording medium, and any device that can deliver contents such as a mobile phone may be used.

(2)本データ処理装置、およびデータ処理方法は、分離部がフレーム単位で分離するような構成に限定されず、フレーム単位で分離しないような構成であってもよい。例えば、Iフレームの一部(中央部分だけなど)を保護記憶部や保護領域に記録するとしてもよい。これにより、保護領域の使用量をより抑えることができる。また、フレーム単位で分離しないような構成の他の例として、DCT係数を含むパケットかDCT係数を含まないパケットかを判定し、DCT係数を含む重要なパケットを保護データとし、それ以外を非保護データとして分離するような構成であってもよい。   (2) The data processing apparatus and the data processing method are not limited to the configuration in which the separation unit separates in units of frames, and may be configured not to separate in units of frames. For example, a part of the I frame (only the center part or the like) may be recorded in the protection storage unit or the protection area. Thereby, the usage-amount of a protection area can be suppressed more. As another example of a configuration that does not separate in units of frames, it is determined whether the packet includes a DCT coefficient or a packet that does not include a DCT coefficient, and an important packet including the DCT coefficient is set as protection data, and the other is not protected. The configuration may be such that the data is separated.

(3)本データ処理装置、およびデータ処理方法は、保護記憶部や非保護記憶部が一時的にストリームデータを記録するような構成に限定されず、長期間保存する目的のものであってもよい。この場合は、保護記憶部と非保護記憶部は、揮発性のメモリなどではなく、長期間のデータを記録可能な不揮発性メモリやHDDなどで実現することが望ましい。   (3) The data processing apparatus and the data processing method are not limited to the configuration in which the protected storage unit or the non-protected storage unit temporarily records the stream data. Good. In this case, it is desirable that the protected storage unit and the non-protected storage unit be realized not by a volatile memory but by a non-volatile memory or HDD that can record long-term data.

(4)上記各実施の形態ではP、Bフレームには指定情報をつけていない構成を挙げて説明したが、本データ処理装置、およびデータ処理方法は、P、Bフレームにも指定情報をつけたような構成であってもよい。ただし、この場合、Iフレームの指定情報にはIフレームであることを示す情報を付加する必要がある。   (4) In each of the above embodiments, the configuration in which the designation information is not attached to the P and B frames has been described. However, in the data processing apparatus and the data processing method, the designation information is also attached to the P and B frames. Such a configuration may be used. However, in this case, it is necessary to add information indicating the I frame to the I frame designation information.

(5)本データ処理装置、およびデータ処理方法は、分離部がパケット単位で分離するような構成に限定されず、他の単位で分離するような構成であってもよい。非保護記憶部に記憶したデータでコンテンツを完全にデコードできなければどんな単位で分離してもよい。   (5) The data processing apparatus and the data processing method are not limited to the configuration in which the separation unit separates in units of packets, and may be configured to separate in other units. If the content cannot be completely decoded with the data stored in the non-protected storage unit, it may be separated in any unit.

(6)上記の各装置は、具体的には、マイクロプロセッサ、ROM、RAM、ハードディスクユニット、ディスプレイユニット、キーボード、マウスなどから構成されるコンピュータシステムである。上記RAMまたはハードディスクユニットには、コンピュータプログラムが記憶されている。上記マイクロプロセッサが、上記コンピュータプログラムに従って動作することにより、各装置は、その機能を達成する。ここでコンピュータプログラムは、所定の機能を達成するために、コンピュータに対する指令を示す命令コードが複数個組み合わされて構成されたものである。   (6) Specifically, each of the above devices is a computer system including a microprocessor, ROM, RAM, a hard disk unit, a display unit, a keyboard, a mouse, and the like. A computer program is stored in the RAM or hard disk unit. Each device achieves its functions by the microprocessor operating according to the computer program. Here, the computer program is configured by combining a plurality of instruction codes indicating instructions for the computer in order to achieve a predetermined function.

(7)上記の各装置を構成する構成要素の一部または全部は、1個のシステムLSI(Large Scale Integration:大規模集積回路)から構成されているとしてもよい。システムLSIは、複数の構成部を1個のチップ上に集積して製造された超多機能LSIであり、具体的には、マイクロプロセッサ、ROM、RAMなどを含んで構成されるコンピュータシステムである。上記RAMには、コンピュータプログラムが記憶されている。上記マイクロプロセッサが、上記コンピュータプログラムに従って動作することにより、システムLSIは、その機能を達成する。   (7) A part or all of the constituent elements constituting each of the above-described devices may be configured by one system LSI (Large Scale Integration). The system LSI is a super multifunctional LSI manufactured by integrating a plurality of components on one chip, and specifically, a computer system including a microprocessor, a ROM, a RAM, and the like. . A computer program is stored in the RAM. The system LSI achieves its functions by the microprocessor operating according to the computer program.

また、上記の各装置を構成する構成要素の各部は、個別に1チップ化されていてもよいし、一部またはすべてを含むように1チップ化されてもよい。   Further, each part of the constituent elements constituting each of the above devices may be individually made into one chip, or may be made into one chip so as to include a part or all of them.

また、ここでは、システムLSIとしたが、集積度の違いにより、IC、LSI、スーパーLSI、ウルトラLSIと呼称されることもある。また、集積回路化の手法はLSIに限るものではなく、専用回路または汎用プロセッサで実現してもよい。LSI製造後に、プログラムすることが可能なFPGA(Field Programmable Gate Array)や、LSI内部の回路セルの接続や設定を再構成可能なリコンフィギュラブル・プロセッサを利用してもよい。   Although the system LSI is used here, it may be called IC, LSI, super LSI, or ultra LSI depending on the degree of integration. Further, the method of circuit integration is not limited to LSI's, and implementation using dedicated circuitry or general purpose processors is also possible. An FPGA (Field Programmable Gate Array) that can be programmed after manufacturing the LSI or a reconfigurable processor that can reconfigure the connection and setting of circuit cells inside the LSI may be used.

さらには、半導体技術の進歩または派生する別技術によりLSIに置き換わる集積回路化の技術が登場すれば、当然、その技術を用いて機能ブロックの集積化を行ってもよい。バイオ技術の適用などが可能性としてありえる。   Furthermore, if integrated circuit technology comes out to replace LSI's as a result of the advancement of semiconductor technology or a derivative other technology, it is naturally also possible to carry out function block integration using this technology. Biotechnology can be applied.

(8)上記の各装置を構成する構成要素の一部または全部は、各装置に脱着可能なICカードまたは単体のモジュールから構成されているとしてもよい。上記ICカードまたは上記モジュールは、マイクロプロセッサ、ROM、RAMなどから構成されるコンピュータシステムである。上記ICカードまたは上記モジュールは、上記の超多機能LSIを含むとしてもよい。マイクロプロセッサが、コンピュータプログラムに従って動作することにより、上記ICカードまたは上記モジュールは、その機能を達成する。このICカードまたはこのモジュールは、耐タンパ性を有するとしてもよい。   (8) A part or all of the components constituting each of the above devices may be configured as an IC card that can be attached to and detached from each device or a single module. The IC card or the module is a computer system including a microprocessor, a ROM, a RAM, and the like. The IC card or the module may include the super multifunctional LSI. The IC card or the module achieves its function by the microprocessor operating according to the computer program. This IC card or this module may have tamper resistance.

(9)本発明は、上記に示す方法であるとしてもよい。また、これらの方法をコンピュータにより実現するコンピュータプログラムであるとしてもよいし、上記コンピュータプログラムからなるデジタル信号であるとしてもよい。   (9) The present invention may be the method described above. Further, the present invention may be a computer program that realizes these methods by a computer, or may be a digital signal composed of the computer program.

また、本発明は、上記コンピュータプログラムまたは上記デジタル信号をコンピュータ読取り可能な記録媒体、例えば、フレキシブルディスク、ハードディスク、CD−ROM、MO、DVD、DVD−ROM、DVD−RAM、BD(Blu−ray Disc)、半導体メモリなどに記録したものとしてもよい。また、これらの記録媒体に記録されている上記デジタル信号であるとしてもよい。   The present invention also provides a computer-readable recording medium such as a flexible disk, hard disk, CD-ROM, MO, DVD, DVD-ROM, DVD-RAM, BD (Blu-ray Disc). ), Recorded in a semiconductor memory or the like. Further, the digital signal may be recorded on these recording media.

また、本発明は、上記コンピュータプログラムまたは上記デジタル信号を、電気通信回線、無線または有線通信回線、インターネットを代表とするネットワーク、データ放送などを経由して伝送するものとしてもよい。   In the present invention, the computer program or the digital signal may be transmitted via an electric communication line, a wireless or wired communication line, a network represented by the Internet, a data broadcast, or the like.

また、本発明は、マイクロプロセッサとメモリを備えたコンピュータシステムであって、上記メモリは、上記コンピュータプログラムを記憶しており、上記マイクロプロセッサは、上記コンピュータプログラムに従って動作するとしてもよい。   The present invention may be a computer system including a microprocessor and a memory, wherein the memory stores the computer program, and the microprocessor operates according to the computer program.

また、上記プログラムまたは上記デジタル信号を上記記録媒体に記録して移送することにより、または上記プログラムまたは上記デジタル信号を上記ネットワークなどを経由して移送することにより、独立した他のコンピュータシステムにより実施するとしてもよい。   In addition, the program or the digital signal is recorded on the recording medium and transferred, or the program or the digital signal is transferred via the network or the like, and executed by another independent computer system. It is good.

(10)実施の形態および上記その他の実施例をそれぞれ組み合わせるとしてもよい。   (10) The embodiment and the other examples may be combined.

本発明は、例えば、著作権などの保護が重要となるコンテンツデータが記録された記録メディアからコンテンツの保護を図りながらコンテンツの再生ができる。このため、本発明は、例えば、DVDやメモリカードなどの記録メディアに記録された暗号化ストリームなどからコンテンツデータをデコードするようなデータ処理装置、このようなデコード機能を備え記録メディアからコンテンツを再生するような再生装置、あるいはさらに記録メディアにコンテンツを記録するような機能も備えた記録再生装置など、画像や音声などのコンテンツが記録された記録メディアからコンテンツを再生するような機能を備えた放送受信機器、通信機器や情報機器その他に利用することが可能である。   According to the present invention, for example, content can be reproduced while protecting the content from a recording medium on which content data on which protection of copyright or the like is important is recorded. Therefore, the present invention provides a data processing apparatus that decodes content data from an encrypted stream recorded on a recording medium such as a DVD or a memory card, and reproduces content from the recording medium having such a decoding function. Such as a playback device, or a recording / playback device that also has a function of recording content on a recording medium, and a broadcast that has a function of playing back content from a recording medium on which content such as images and sounds is recorded. It can be used for receiving devices, communication devices, information devices and others.

本発明の実施の形態1におけるデータ処理装置のブロック図1 is a block diagram of a data processing apparatus according to Embodiment 1 of the present invention. 本発明の実施の形態1におけるデータ処理装置の復号処理の手順を示したフローチャートThe flowchart which showed the procedure of the decoding process of the data processor in Embodiment 1 of this invention 本発明の実施の形態2におけるデータ処理装置のブロック図The block diagram of the data processor in Embodiment 2 of this invention 平文化ストリームの構成およびインデックス情報の構成を示す図The figure which shows the structure of the plain culture stream and the structure of index information 本発明の実施の形態2におけるデータ処理装置の復号処理の手順を示したフローチャートThe flowchart which showed the procedure of the decoding process of the data processor in Embodiment 2 of this invention 分離部の平文化ストリームを分離する一動作例を示す図The figure which shows one operation example which isolate | separates the plain culture stream of a separation part. SDメモリカード内に構成されるコンテンツおよび管理情報ファイルのディレクトリ構成図Directory structure diagram of contents and management information file configured in the SD memory card SDメモリカードのメディアオブジェクトデータファイルの構成を示す図The figure which shows the structure of the media object data file of SD memory card 従来のデータ処理装置の構成図Configuration diagram of a conventional data processing device

符号の説明Explanation of symbols

10 CPU
11,99 平文化部
12,92 デコーダ
13 振分情報出力部
14,94 内部メモリ
15,95 メモリ制御部
16 分離部
17 結合部
19 内部共通バス
20,920 外部メモリ
21,910 記録メディアインタフェース(I/F)部
22 共通バス
30 記録メディア
40 記録処理部
41 インデックス情報生成部
42 暗号化部
43 鍵記憶部
90 内部CPU
91 デスクランブル処理部
93 出力部
96 データ種類検出部
97 実行制御部
98 暗号化部
100,110,900 LSI
10 CPU
DESCRIPTION OF SYMBOLS 11,99 Plain culture part 12,92 Decoder 13 Distribution information output part 14,94 Internal memory 15,95 Memory control part 16 Separation part 17 Connection part 19 Internal common bus 20,920 External memory 21,910 Recording media interface (I / F) unit 22 common bus 30 recording medium 40 recording processing unit 41 index information generating unit 42 encryption unit 43 key storage unit 90 internal CPU
91 Descramble processing unit 93 Output unit 96 Data type detection unit 97 Execution control unit 98 Encryption unit 100, 110, 900 LSI

Claims (36)

暗号化されたストリームデータを含む暗号化ストリームから前記ストリームデータを復元するデータ処理装置であって、
取得した前記暗号化ストリームの暗号化を解くことで前記暗号化ストリームを平文化し、前記ストリームデータに対応した平文化ストリームを復元する平文化部と、
外部のアクセスから保護され、前記平文化ストリームに対する振り分け手順を示す振分情報を出力する振分情報出力部と、
外部のアクセスから保護され、データを記憶する保護記憶部と、
データを記憶する非保護記憶部と、
前記平文化ストリームを部分データに区分し、前記振分情報に基づき前記部分データを前記保護記憶部と前記非保護記憶部とに振り分けて分離記憶させる分離部と、
前記保護記憶部が記憶した部分データと前記非保護記憶部が記憶した部分データとを前記振分情報に基づき結合し、前記ストリームデータを復元する結合部とを備えたことを特徴とするデータ処理装置。
A data processing apparatus for restoring the stream data from an encrypted stream including encrypted stream data,
A plain culture part that unfolds the encrypted stream by decrypting the obtained encrypted stream and restores the plain culture stream corresponding to the stream data;
A distribution information output unit that outputs distribution information that is protected from external access and indicates a distribution procedure for the plain culture stream;
A protected storage unit for storing data protected from external access;
An unprotected storage unit for storing data;
A separation unit that divides the plain culture stream into partial data, and distributes and stores the partial data in the protected storage unit and the non-protected storage unit based on the distribution information;
A data processing comprising: a combining unit that combines the partial data stored in the protected storage unit and the partial data stored in the non-protected storage unit based on the distribution information, and restores the stream data apparatus.
前記振分情報は、秘匿されたアルゴリズムに基づき生成された情報であることを特徴とする請求項1に記載のデータ処理装置。 The data processing apparatus according to claim 1, wherein the distribution information is information generated based on a secret algorithm. 前記振分情報は、ランダムに前記部分データを振り分けるような前記振り分け手順を示す情報であることを特徴とする請求項1に記載のデータ処理装置。 The data processing apparatus according to claim 1, wherein the distribution information is information indicating the distribution procedure for distributing the partial data at random. 外部からアクセス困難とした保護処理部と外部からアクセス可能な非保護処理部とに区分され、
前記非保護処理部に、前記非保護記憶部を配置し、
前記保護処理部に、前記平文化部、前記振分情報出力部、前記保護記憶部、前記分離部および前記結合部を配置したことを特徴とする請求項1から請求項3までのいずれか一項に記載のデータ処理装置。
It is divided into a protection processor that is difficult to access from the outside and a non-protection processor that is accessible from the outside.
The unprotected storage unit is arranged in the unprotected processing unit,
4. The system according to claim 1, wherein the protection processing unit includes the plain culture unit, the distribution information output unit, the protection storage unit, the separation unit, and the coupling unit. The data processing device according to item.
前記保護処理部は、パッケージ化された集積回路であり、前記非保護記憶部は、前記集積回路の外部に設けた外部メモリであることを特徴とする請求項4に記載のデータ処理装置。 5. The data processing apparatus according to claim 4, wherein the protection processing unit is a packaged integrated circuit, and the non-protected storage unit is an external memory provided outside the integrated circuit. 前記保護記憶部は、前記集積回路の内部に設けた内部メモリであることを特徴とする請求項5に記載のデータ処理装置。 6. The data processing apparatus according to claim 5, wherein the protection storage unit is an internal memory provided in the integrated circuit. 前記保護処理部は、前記結合部で復元されたストリームデータをデコードして復号化データを復元するデコーダを、さらに備えたことを特徴とする請求項6に記載のデータ処理装置。 The data processing apparatus according to claim 6, wherein the protection processing unit further includes a decoder that decodes the stream data restored by the combining unit to restore the decoded data. データを記憶するメモリを備え、
前記メモリを、外部のアクセスから保護された保護領域と外部からのアクセスが可能な非保護領域とに区分し、
前記保護記憶部を前記メモリの前記保護領域とし、前記非保護記憶部を前記メモリの前記非保護領域としたことを特徴とする請求項1から請求項3までのいずれか一項に記載のデータ処理装置。
A memory for storing data,
Dividing the memory into a protected area protected from external access and an unprotected area accessible from the outside;
The data according to any one of claims 1 to 3, wherein the protected storage unit is the protected area of the memory, and the non-protected storage unit is the non-protected area of the memory. Processing equipment.
前記振分情報は、前記ストリームデータを複数の部分データに区分し、その区分に関する情報であることを特徴とする請求項1に記載のデータ処理装置。 2. The data processing apparatus according to claim 1, wherein the distribution information is information relating to the division of the stream data into a plurality of partial data. 記録メディアから、前記暗号化ストリームおよび暗号化された前記振分情報である暗号化振分情報を含む記録データを取得する受信部を、さらに備え、
前記平文化部は、前記受信部が取得した前記記録データに含まれる前記暗号化ストリームおよび前記暗号化振分情報の暗号化を解くことで、前記暗号化ストリームおよび前記暗号化振分情報を平文化し、前記ストリームデータに対応した平文化ストリームおよび前記振分情報を復元し、
前記振分情報出力部が、前記平文化部により復元された前記振分情報を前記分離部および前記結合部に供給することを特徴とする請求項9に記載のデータ処理装置。
A receiving unit that acquires recording data including the encrypted distribution information that is the encrypted stream and the encrypted distribution information from a recording medium;
The plain culture unit decrypts the encrypted stream and the encrypted distribution information by decrypting the encrypted stream and the encrypted distribution information included in the recording data acquired by the receiving unit. Culture and restore the plain culture stream and the distribution information corresponding to the stream data,
The data processing apparatus according to claim 9, wherein the distribution information output unit supplies the distribution information restored by the plain culture unit to the separation unit and the combining unit.
外部からアクセス困難とした保護処理部と外部からアクセス可能な非保護処理部とに区分され、
前記非保護処理部に、前記非保護記憶部を配置し、
前記保護処理部に、前記受信部、前記平文化部、前記振分情報出力部、前記保護記憶部、前記分離部および前記結合部を配置したことを特徴とする請求項10に記載のデータ処理装置。
It is divided into a protection processor that is difficult to access from the outside and a non-protection processor that is accessible from the outside.
The unprotected storage unit is arranged in the unprotected processing unit,
11. The data processing according to claim 10, wherein the receiving unit, the plain culture unit, the distribution information output unit, the protection storage unit, the separation unit, and the combining unit are arranged in the protection processing unit. apparatus.
前記保護処理部は、パッケージ化された集積回路であり、前記非保護記憶部は、前記集積回路の外部に設けた外部メモリであることを特徴とする請求項11に記載のデータ処理装置。 The data processing apparatus according to claim 11, wherein the protection processing unit is a packaged integrated circuit, and the non-protected storage unit is an external memory provided outside the integrated circuit. 前記保護記憶部は、前記集積回路の内部に設けた内部メモリであることを特徴とする請求項12に記載のデータ処理装置。 The data processing apparatus according to claim 12, wherein the protection storage unit is an internal memory provided in the integrated circuit. 前記保護処理部は、前記結合部で復元されたストリームデータをデコードして復号化データを復元するデコーダを、さらに備えたことを特徴とする請求項13に記載のデータ処理装置。 The data processing apparatus according to claim 13, wherein the protection processing unit further includes a decoder that decodes the stream data restored by the combining unit to restore the decoded data. 前記記録データを記録メディアに記録する記録処理部を、さらに備え、
前記記録処理部は、前記ストリームデータを複数の前記部分データに区分して前記振分情報を生成し、さらに暗号化することで前記暗号化振分情報を生成し、前記暗号化ストリームとともに前記暗号化振分情報を含む前記記録データとして前記記録メディアに記録することを特徴とする請求項10に記載のデータ処理装置。
A recording processing unit for recording the recording data on a recording medium;
The recording processing unit divides the stream data into a plurality of partial data to generate the distribution information, and further encrypts the encrypted distribution information to generate the encrypted distribution information, along with the encrypted stream. The data processing apparatus according to claim 10, wherein the data is recorded on the recording medium as the recording data including the distribution information.
外部からアクセス困難とした保護処理部と外部からアクセス可能な非保護処理部とに区分され、
前記非保護処理部に、前記非保護記憶部を配置し、
前記保護処理部に、少なくとも、前記記録処理部、前記平文化部、前記振分情報出力部、前記保護記憶部、前記分離部および前記結合部を配置したことを特徴とする請求項15に記載のデータ処理装置。
It is divided into a protection processor that is difficult to access from the outside and a non-protection processor that is accessible from the outside.
The unprotected storage unit is arranged in the unprotected processing unit,
16. The protection processing unit according to claim 15, wherein at least the recording processing unit, the plain culture unit, the distribution information output unit, the protection storage unit, the separation unit, and the combination unit are arranged. Data processing equipment.
前記保護処理部は、パッケージ化された集積回路であり、前記非保護記憶部は、前記集積回路の外部に設けた外部メモリであることを特徴とする請求項16に記載のデータ処理装置。 The data processing apparatus according to claim 16, wherein the protection processing unit is a packaged integrated circuit, and the non-protected storage unit is an external memory provided outside the integrated circuit. 前記保護記憶部は、前記集積回路の内部に設けた内部メモリであることを特徴とする請求項17に記載のデータ処理装置。 The data processing apparatus according to claim 17, wherein the protection storage unit is an internal memory provided in the integrated circuit. 前記保護処理部は、前記結合部で復元されたストリームデータをデコードして復号化データを復元するデコーダを、さらに備えたことを特徴とする請求項18に記載のデータ処理装置。 The data processing apparatus according to claim 18, wherein the protection processing unit further includes a decoder that decodes the stream data restored by the combining unit to restore the decoded data. 前記記録処理部は、外部のアクセスから保護された暗復号化のための鍵データを記憶し、前記振分情報を前記鍵データで暗号化することで前記暗号化振分情報を生成し、
前記平文化部は、前記鍵データにより前記暗号化振分情報の暗号化を解くことで前記振分情報を復元することを特徴とする請求項15から請求項19までのいずれか一項に記載のデータ処理装置。
The recording processing unit stores key data for encryption / decryption protected from external access, and generates the encrypted distribution information by encrypting the distribution information with the key data,
The said culture | cultivation part restore | restores the said distribution information by deciphering the encryption distribution information with the said key data, The one of the Claims 15-19 characterized by the above-mentioned. Data processing equipment.
前記集積回路は、暗復号化のための鍵データを記憶する鍵記憶部をさらに備え、
前記記録処理部は、前記鍵記憶部に記憶された前記鍵データにより前記振分情報を暗号化することで前記暗号化振分情報を生成し、
前記平文化部は、前記鍵記憶部に記憶された前記鍵データにより前記暗号化振分情報の暗号化を解くことで前記振分情報を復元することを特徴とする請求項17から請求項19までのいずれか一項に記載のデータ処理装置。
The integrated circuit further comprises a key storage unit for storing key data for encryption / decryption,
The recording processing unit generates the encrypted distribution information by encrypting the distribution information with the key data stored in the key storage unit,
20. The peace culture unit restores the distribution information by decrypting the encrypted distribution information using the key data stored in the key storage unit. The data processing device according to any one of the above.
前記鍵データは、集積回路固有の情報に基づくデータであることを特徴とする請求項21に記載のデータ処理装置。 The data processing apparatus according to claim 21, wherein the key data is data based on information unique to an integrated circuit. 前記振分情報は、前記ストリームデータを特殊再生するためのインデックス情報であり、
前記受信部は、前記記録メディアに記録された前記暗号化ストリームとともに暗号化振分情報としての暗号化された前記インデックス情報である暗号化インデックス情報を取得することを特徴とする請求項10から請求項22までのいずれか一項に記載のデータ処理装置。
The distribution information is index information for special reproduction of the stream data,
The said receiving part acquires the encryption index information which is the said index information encrypted as encryption distribution information with the said encryption stream recorded on the said recording medium. Item 23. The data processing device according to any one of items up to item 22.
前記平文化部は、取得した前記記録データに含まれる前記暗号化インデックス情報の暗号化を解くことで前記インデックス情報を復元し、
前記振分情報出力部は、復元した前記インデックス情報のエントリフレームに関する情報を出力し、
前記分離部は、前記エントリフレームに関する情報に基づき、復元した前記平文化ストリームを、一方の部分データと他方の部分データとに振り分けて分離することを特徴とする請求項23に記載のデータ処理装置。
The plain culture part restores the index information by decrypting the encrypted index information included in the acquired recording data,
The distribution information output unit outputs information on the entry frame of the restored index information,
24. The data processing apparatus according to claim 23, wherein the separation unit sorts the restored plain culture stream into one partial data and the other partial data based on information on the entry frame. .
前記分離部は、前記エントリフレームに関する情報に基づき、少なくとも前記エントリフレームのデータを格納したパケットを含む一方の部分データを前記保護記憶部に記憶させ、前記一方の部分データ以外の部分データを前記非保護記憶部に記憶させることを特徴とする請求項24に記載のデータ処理装置。 The separation unit stores one partial data including at least a packet storing the data of the entry frame in the protection storage unit based on information on the entry frame, and stores the partial data other than the one partial data in the non-data 25. The data processing device according to claim 24, wherein the data processing device is stored in a protection storage unit. 前記分離部は、前記エントリフレームに関する情報に基づき、少なくとも前記エントリフレームのデータを格納したパケットを含む一方の部分データを前記非保護記憶部に記憶させ、前記一方の部分データ以外の部分データを前記保護記憶部に記憶させることを特徴とする請求項24に記載のデータ処理装置。 The separation unit stores one partial data including at least a packet storing the data of the entry frame in the unprotected storage unit based on information on the entry frame, and stores the partial data other than the one partial data in the unprotected storage unit. 25. The data processing device according to claim 24, wherein the data processing device is stored in a protection storage unit. 前記エントリフレームは、符号化された画像データを含む前記ストリームデータのIフレームであり、前記エントリフレームに関する情報は、Iフレームの前記符号化された画像データを格納したパケット番号を含む情報であることを特徴とする請求項24から請求項26までのいずれか一項に記載のデータ処理装置。 The entry frame is an I frame of the stream data including encoded image data, and the information regarding the entry frame is information including a packet number storing the encoded image data of the I frame. The data processing apparatus according to any one of claims 24 to 26, wherein: 前記暗号化ストリームと前記暗号化インデックス情報とは、同一のファイルとして前記記録メディアに記録されていることを特徴とする請求項27に記載のデータ処理装置。 28. The data processing apparatus according to claim 27, wherein the encrypted stream and the encrypted index information are recorded on the recording medium as the same file. 前記暗号化ストリームと前記暗号化インデックス情報とは、それぞれ異なるファイルとして前記記録メディアに記録されていることを特徴とする請求項27に記載のデータ処理装置。 28. The data processing apparatus according to claim 27, wherein the encrypted stream and the encrypted index information are recorded on the recording medium as different files. 前記記録メディアは、SDメモリカードであり、前記インデックス情報は、メディアオブジェクト情報ファイルに記録されることを特徴とする請求項29に記載のデータ処理装置。 30. The data processing apparatus according to claim 29, wherein the recording medium is an SD memory card, and the index information is recorded in a media object information file. 前記分離部は、前記振分情報に基づき、前記部分データを前記保護記憶部に記憶させる保護データと前記非保護記憶部に記憶させる非保護データとに振り分け、前記保護記憶部に前記保護データを記憶させ、前記非保護記憶部には、前記非保護データとともに、前記保護データに対応した領域には乱数データを記憶させることを特徴とする請求項1、請求項10または請求項15に記載のデータ処理装置。 The separation unit distributes the partial data into protected data to be stored in the protected storage unit and unprotected data to be stored in the non-protected storage unit based on the distribution information, and the protected data is stored in the protected storage unit. The random number data is stored in an area corresponding to the protected data together with the non-protected data in the unprotected storage unit. Data processing device. 前記分離部は、前記振分情報に基づき、前記部分データを前記保護記憶部に記憶させる保護データと前記非保護記憶部に記憶させる非保護データとに振り分け、前記保護記憶部に前記保護データを記憶させ、前記非保護記憶部には、前記非保護データが連続するように記憶させることを特徴とする請求項1、請求項10または請求項15に記載のデータ処理装置。 The separation unit distributes the partial data into protected data to be stored in the protected storage unit and unprotected data to be stored in the non-protected storage unit based on the distribution information, and the protected data is stored in the protected storage unit. 16. The data processing apparatus according to claim 1, wherein the non-protected storage unit stores the non-protected data so that the non-protected data is continuous. 取得した暗号化ストリームの暗号化を解くことで前記暗号化ストリームを平文化し、ストリームデータに対応した平文化ストリームを復元する平文化部と、
外部のアクセスから保護され、前記平文化ストリームに対する振り分け手順を示す振分情報を出力する振分情報出力部と、
データを記憶する保護記憶部と、
前記平文化ストリームを部分データに区分し、前記振分情報に基づき一方の部分データと他方の部分データとに振り分けて分離し、前記一方の部分データを前記保護記憶部に記憶させ、前記他方の部分データを外部に出力する分離部と、
前記保護記憶部が記憶した前記一方の部分データおよび外部から取込んだ他方の部分データを前記振分情報に基づき結合し、前記ストリームデータを復元する結合部とを備えたことを特徴とする集積回路。
A plain culture part that decrypts the encrypted stream by decrypting the obtained encrypted stream and restores a plain culture stream corresponding to the stream data;
A distribution information output unit that outputs distribution information that is protected from external access and indicates a distribution procedure for the plain culture stream;
A protective storage unit for storing data;
The plain culture stream is divided into partial data, divided into one partial data and the other partial data based on the distribution information, and the one partial data is stored in the protection storage unit, and the other partial data is stored. A separation unit for outputting the partial data to the outside;
An integration comprising: a combining unit that combines the one partial data stored in the protection storage unit and the other partial data taken from outside based on the distribution information, and restores the stream data circuit.
暗号化されたストリームデータを含む暗号化ストリームから前記ストリームデータを復元するデータ処理装置のデータ処理プログラムであって、
取得した前記暗号化ストリームの暗号化を解くことで前記暗号化ストリームを平文化し、前記ストリームデータに対応した平文化ストリームを復元するステップと、
前記平文化ストリームに対する振り分け手順を示す振分情報を出力するステップと、
前記平文化ストリームを部分データに区分し、前記振分情報に基づき前記部分データを、外部のアクセスから保護された保護記憶部と非保護記憶部とに振り分けて分離記憶させるステップと、
前記保護記憶部が記憶した部分データと前記非保護記憶部が記憶した部分データとを前記振分情報に基づき結合し、前記ストリームデータを復元するステップとを備えたことを特徴とするデータ処理プログラム。
A data processing program of a data processing apparatus for restoring the stream data from an encrypted stream including encrypted stream data,
Clearing the encrypted stream by decrypting the obtained encrypted stream and restoring the plain culture stream corresponding to the stream data; and
Outputting distribution information indicating a distribution procedure for the plain culture stream;
Dividing the plain culture stream into partial data, and dividing and storing the partial data based on the distribution information into a protected storage unit and a non-protected storage unit protected from external access;
A data processing program comprising: combining the partial data stored in the protected storage unit and the partial data stored in the non-protected storage unit based on the distribution information, and restoring the stream data .
請求項34に記載のデータ処理プログラムを記録した記録媒体。 A recording medium on which the data processing program according to claim 34 is recorded. 暗号化されたストリームデータを含む暗号化ストリームから前記ストリームデータを復元するデータ処理装置のデータ処理方法であって、
取得した前記暗号化ストリームの暗号化を解くことで前記暗号化ストリームを平文化し、前記ストリームデータに対応した平文化ストリームを復元するステップと、
前記平文化ストリームに対する振り分け手順を示す振分情報を出力するステップと、
前記平文化ストリームを部分データに区分し、前記振分情報に基づき前記部分データを、外部のアクセスから保護された保護記憶部と非保護記憶部とに振り分けて分離記憶させるステップと、
前記保護記憶部が記憶した部分データと前記非保護記憶部が記憶した部分データとを前記振分情報に基づき結合し、前記ストリームデータを復元するステップとを備えたことを特徴とするデータ処理方法。
A data processing method of a data processing apparatus for restoring the stream data from an encrypted stream including encrypted stream data,
Clearing the encrypted stream by decrypting the obtained encrypted stream and restoring the plain culture stream corresponding to the stream data; and
Outputting distribution information indicating a distribution procedure for the plain culture stream;
Dividing the plain culture stream into partial data, and dividing and storing the partial data based on the distribution information into a protected storage unit and a non-protected storage unit protected from external access;
A data processing method comprising: combining the partial data stored in the protected storage unit and the partial data stored in the non-protected storage unit based on the distribution information, and restoring the stream data .
JP2007269942A 2007-10-17 2007-10-17 Data processing apparatus, data processing method, data processing program, recording medium with the data processing program recorded thereon, and integrated circuit Pending JP2009100265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007269942A JP2009100265A (en) 2007-10-17 2007-10-17 Data processing apparatus, data processing method, data processing program, recording medium with the data processing program recorded thereon, and integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007269942A JP2009100265A (en) 2007-10-17 2007-10-17 Data processing apparatus, data processing method, data processing program, recording medium with the data processing program recorded thereon, and integrated circuit

Publications (1)

Publication Number Publication Date
JP2009100265A true JP2009100265A (en) 2009-05-07

Family

ID=40702843

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007269942A Pending JP2009100265A (en) 2007-10-17 2007-10-17 Data processing apparatus, data processing method, data processing program, recording medium with the data processing program recorded thereon, and integrated circuit

Country Status (1)

Country Link
JP (1) JP2009100265A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014203871A1 (en) * 2013-06-21 2014-12-24 ソニー株式会社 Transmission apparatus, transmission method, reproduction apparatus, reproduction method and reception apparatus
JP2015072379A (en) * 2013-10-03 2015-04-16 株式会社デンソーウェーブ Terminal device
KR101612835B1 (en) 2014-12-23 2016-04-15 현대자동차주식회사 Network security method using a frexray protocol in a vehicle and a device for the same
JP2017092869A (en) * 2015-11-16 2017-05-25 株式会社Pfu Video processing apparatus, video processing system and video processing method
JP2017107409A (en) * 2015-12-10 2017-06-15 日本電信電話株式会社 Sensor repeating device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014203871A1 (en) * 2013-06-21 2014-12-24 ソニー株式会社 Transmission apparatus, transmission method, reproduction apparatus, reproduction method and reception apparatus
JPWO2014203871A1 (en) * 2013-06-21 2017-02-23 ソニー株式会社 Transmitting apparatus, transmitting method, reproducing apparatus, reproducing method, and receiving apparatus
US10104406B2 (en) 2013-06-21 2018-10-16 Saturn Licensing Llc Transmission apparatus, transmission method, reproduction apparatus, reproduction method and reception apparatus
JP2015072379A (en) * 2013-10-03 2015-04-16 株式会社デンソーウェーブ Terminal device
KR101612835B1 (en) 2014-12-23 2016-04-15 현대자동차주식회사 Network security method using a frexray protocol in a vehicle and a device for the same
JP2017092869A (en) * 2015-11-16 2017-05-25 株式会社Pfu Video processing apparatus, video processing system and video processing method
US10263743B2 (en) 2015-11-16 2019-04-16 Pfu Limited Video-processing apparatus, video-processing system, and video-processing method
JP2017107409A (en) * 2015-12-10 2017-06-15 日本電信電話株式会社 Sensor repeating device

Similar Documents

Publication Publication Date Title
JP4902644B2 (en) Data processing device, data processing method, data processing program, recording medium recording the data processing program, and integrated circuit
US5915018A (en) Key management system for DVD copyright management
KR100912745B1 (en) Recording medium, recording apparatus, reading apparatus, and method therefore
US20080260161A1 (en) Terminal Device and Copyright Protection System
US20060230322A1 (en) Content processing device
JP4812117B2 (en) Content encryption apparatus and program thereof, and content decryption apparatus and program thereof
US7184552B2 (en) Information reproducing apparatus
EP1211898A2 (en) Content protection scheme for a digital recording device
JPH10145773A (en) Method for ciphering animation data, computer system applying the method and dynamic image data encoding/ decoding device
WO2011074398A1 (en) Content reception apparatus, content playback apparatus, content reception and playback apparatus, content reception method, and program
JP2005244992A (en) Instrument and method equipped with limited receiving function and copy prevention function for encryption of broadcast data
CN109757117B (en) Content recording device, content editing device, content reproduction device, content recording method, content editing method, and content reproduction method
US7567487B2 (en) Content moving device, content moving method, computer program, recording medium, and content moving system
JP2009100265A (en) Data processing apparatus, data processing method, data processing program, recording medium with the data processing program recorded thereon, and integrated circuit
JP4630073B2 (en) Content encryption apparatus and program thereof
KR20160039922A (en) Image processing apparatus and control method thereof
US20080260157A1 (en) Recording Apparatus and Recording Medium
US20050259966A1 (en) Information record apparatus and method, information reproduction apparatus and method, and computer program product
US20060077812A1 (en) Player/recorder, contents playing back method and contents recording method
US20070211901A1 (en) Apparatus, method, and computer program product for recording contents
JP3630406B2 (en) Packet processing apparatus, packet processing method and storage medium therefor
JP2006331483A (en) Decoding device, stream video recording/reproducing device, and method for decoding encrypted stream
KR100644622B1 (en) Method and apparatus for transmitting Copy Control Information
KR100435918B1 (en) Method for encryption recording a data in digital broadcasting program
JP3927928B2 (en) Information playback device