JP2006217218A - Method of managing copyright key - Google Patents
Method of managing copyright key Download PDFInfo
- Publication number
- JP2006217218A JP2006217218A JP2005027427A JP2005027427A JP2006217218A JP 2006217218 A JP2006217218 A JP 2006217218A JP 2005027427 A JP2005027427 A JP 2005027427A JP 2005027427 A JP2005027427 A JP 2005027427A JP 2006217218 A JP2006217218 A JP 2006217218A
- Authority
- JP
- Japan
- Prior art keywords
- key
- area
- title
- management information
- secret
- 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
Links
Images
Abstract
Description
本発明は、秘匿領域を有する記録媒体に音楽や映画等のコンテンツの記憶を行い、それらコンテンツの著作権の保護を図るための有効な鍵の管理方法に関する。 The present invention relates to an effective key management method for storing contents such as music and movies on a recording medium having a secret area and protecting the copyright of the contents.
近年、映像および音響機器でのデジタル化と小型化が進み、半導体メモリカードのような小型の記録媒体にコンテンツを記録する装置が広まりつつある。そのようなデジタル機器で著作権を有する映像や音声のデジタルコンテンツを記録する場合、コンテンツの複製や配信などを制限するため、コンテンツを暗号化する著作権保護技術が導入されるようになった。例えば半導体メモリカードの中にも、これらの著作権保護を行う目的でSDカード(商標)やメモリスティック(商標)など半導体メモリカードの中に著作権制御機能を搭載し、認証を行って正規の機器と認められた場合に限り書き込み読み出しが可能となる秘匿領域を有するものも広く使用されるようになった。 In recent years, video and audio equipment has been digitized and miniaturized, and apparatuses for recording content on a small recording medium such as a semiconductor memory card are becoming widespread. When recording copyrighted video or audio digital content with such a digital device, copyright protection technology for encrypting the content has been introduced in order to restrict copying and distribution of the content. For example, in a semiconductor memory card, a copyright control function is incorporated in a semiconductor memory card such as an SD card (trademark) or a memory stick (trademark) for the purpose of protecting these copyrights. A device having a secret area that can be written and read only when it is recognized as a device has been widely used.
以下に、このような著作権保護機能を有する記録媒体を用いた記録再生装置について説明する。 A recording / reproducing apparatus using a recording medium having such a copyright protection function will be described below.
図14は、記録媒体として半導体メモリカードを用いた従来の記録再生装置の一例である。 FIG. 14 shows an example of a conventional recording / reproducing apparatus using a semiconductor memory card as a recording medium.
図14において、2はSDカード等の半導体メモリカード(記録媒体)、6は記録再生装置、61は映像信号と音声信号をデジタルで圧縮符号化する符号化部、62はコンテンツ暗号化部、63はメディアインタフェース部、64はコンテンツ暗号復元部、65は圧縮符号化された信号を復号して映像信号と音声信号を出力する復号化部である。 In FIG. 14, 2 is a semiconductor memory card (recording medium) such as an SD card, 6 is a recording / reproducing device, 61 is an encoding unit that digitally compresses and encodes a video signal and an audio signal, 62 is a content encryption unit, 63 Is a media interface unit, 64 is a content encryption restoration unit, and 65 is a decoding unit that decodes the compression-encoded signal and outputs a video signal and an audio signal.
記録再生装置6に半導体メモリカード2が挿入された場合、先ず始めに記録再生装置6からみて半導体メモリカード2が正規のメモリカードであるかどうかを確認し、なおかつ、半導体メモリカード2からみて記録再生装置6が正規の装置であるかを確認するために、メディアインタフェース部63が相互認証を行う。相互認証は半導体メモリカード2ごとにメディアユニークな情報を使って行い、相互認証の成功によって半導体メモリカード2の秘匿領域21(図15参照)内のタイトル鍵25等の情報を、記憶および読み出しすることが可能になる。少なくとも、新たな半導体メモリカード2が挿入される毎に相互認証を行う。
When the
まず、記録の動作を説明する。入力された映像信号と音声信号を、符号化部61で圧縮符号化する。コンテンツ暗号化部62は、コンテンツ毎にランダムに生成するタイトル鍵25を使って符号化信号を暗号化し暗号化コンテンツ26を出力する。メディアインタフェース部63は、暗号化コンテンツ26を半導体メモリカード2の通常領域20に記録するとともに、秘匿領域21にタイトル鍵25を記録する。どのタイトル鍵25を使用したかがわかるように、対応する使用鍵番号27を通常領域20内のテーブルに記載する。秘匿領域21のタイトル鍵25には、鍵が使用されていることがわかるように、鍵使用フラグ28を立てておく。2回目以降の記録では、通常領域20の使用鍵番号27のテーブルの空き(0)と、秘匿領域21の鍵使用フラグ28の空き(0)とをそれぞれ探して新たな追加記録を行っていく。
First, the recording operation will be described. The input video signal and audio signal are compression encoded by the
図15に、従来の記録再生装置6での半導体メモリカード2への記録の一例を示す。
FIG. 15 shows an example of recording on the
図15の例では、5つの暗号化コンテンツ26を記録した状態で6つめ以降に空きがある。図15では理解を容易にするために、使用鍵番号27とタイトル鍵25が全て番号順に対応しているが、コンテンツの一部削除や編集などを行うことで順序が乱れることも許される。この対応付けのために、使用鍵番号27のテーブルが必要となる。また、使用鍵番号27のテーブルから参照されていないタイトル鍵25を簡単に探すのに鍵使用フラグ28が有効となる。
In the example of FIG. 15, there are vacancies after the sixth in a state where five
次に、再生の動作を説明する。メディアインタフェース部63は、再生したいコンテンツを選択し、あらかじめ相互認証を行って秘匿領域21をアクセスして選択したコンテンツのタイトル鍵25を読み出す。コンテンツ暗号復元部64は、読み出したタイトル鍵25を使って暗号を解く。復号化部65は、圧縮信号を復号化して、映像信号と音声信号を出力する。
Next, the reproduction operation will be described. The
半導体メモリカード2のメディアユニークな情報は外部からの書き換えを行うことができないため、他の記録媒体に通常領域20の暗号化コンテンツ26を不正にコピーしたとしても、正常に復号を行うことができない。
Since the media unique information of the
以上のようにして従来の方式では、著作権を有する映像や音声のデジタルコンテンツを記録する場合、コンテンツを暗号化することで、コンテンツの複製などを制限する著作権保護を実現することができる(例えば、特許文献1参照)。
しかしながら、上記従来の著作権鍵管理方法では、半導体メモリカード2を、著作権保護の必要のない通常のデジタルスチルカメラなどでも使用することができ、このような機器で半導体メモリカード2を共用して使用することで問題が発生する場合があった。
However, in the above-described conventional copyright key management method, the
ユーザが撮影した画像のような著作権保護の必要のない画像のみを扱うような機器では、半導体メモリカード2の秘匿領域21にアクセスする必要は全くないため、通常領域20のみを使用する。例えば、半導体メモリカード2をはじめて使用する場合に半導体メモリカード2の情報を初期化(フォーマット)する機能が一般的に搭載されているが、秘匿領域21はそのままにして、通常領域20のみを初期化してしまう機器も多い。デジタルスチルカメラのみならずパソコン等での初期化でも同様である。
In a device that handles only images that do not require copyright protection, such as images taken by the user, there is no need to access the
もしその場合、コンテンツ管理のためのタイトル鍵25が、著作権保護を行う機能を有する機器によって既に秘匿領域21に記録されていた場合、通常領域20のみ初期化を行うことで秘匿領域21のタイトル鍵25がそのまま残されてしまい、秘匿領域21の記憶領域を無駄に消費した状態になってしまう。
In that case, if the
その後、その半導体メモリカード2で秘匿領域21の初期化を行わずに、著作権保護機能を有する従来の機器で再度追加記録を行った場合、一部のタイトル鍵25が使用された状態のままになっているため、追加記録可能な領域が減少してしまう。場合によっては、秘匿領域21にコンテンツ管理のためのタイトル鍵25が、記録可能な上限まで使用された状態になってしまい、通常領域20の記録可能領域は十分空いているのに記録できないといった問題が発生する。
Thereafter, when the additional recording is performed again by a conventional device having a copyright protection function without initializing the
本発明の著作権鍵管理方法は、自由にアクセスできる通常領域と認証を行ってのみアクセス可能な秘匿領域とを有する記録媒体を使用し、前記通常領域に暗号化コンテンツと,当該暗号化コンテンツの暗号を行ったタイトル鍵とを対応付けするための鍵管理情報とを記憶させ、前記秘匿領域にコンテンツのタイトル鍵と,当該タイトル鍵の有効性を管理する鍵管理情報とを記憶させる著作権鍵管理方法であって、前記秘匿領域の鍵管理情報として、前記タイトル鍵が前記通常領域で使用されているか使用されていないかの状態を示すための鍵使用フラグを記録し、前記記録媒体が著作権鍵を管理する装置に挿入された場合に、前記通常領域に鍵管理情報が存在せず、かつ前記秘匿領域に前記タイトル鍵が存在する場合に、前記秘匿領域のタイトル鍵と当該タイトル鍵の使用不使用の状態を示すための前記鍵使用フラグとを、たとえ前記鍵使用フラグが使用状態であっても全て消去し、前記通常領域に鍵管理情報が存在し、かつ前記秘匿領域に前記タイトル鍵が存在する場合に、前記通常領域の鍵管理情報が参照していない前記秘匿領域の前記タイトル鍵を、たとえ前記鍵使用フラグが使用状態であっても消去することを特長とする。 The copyright key management method of the present invention uses a recording medium having a normal area that can be freely accessed and a secret area that can be accessed only by performing authentication. Copyright key for storing key management information for associating the encrypted title key and storing the title key of the content and key management information for managing the validity of the title key in the secret area In the management method, a key use flag for indicating whether the title key is used or not used in the normal area is recorded as key management information for the secret area, and the recording medium is a copyrighted work. When the key management information does not exist in the normal area and the title key exists in the secret area when inserted in a device that manages the right key, the type of the secret area The key key and the key usage flag for indicating the status of non-use of the title key are all deleted even if the key usage flag is in use, and key management information exists in the normal area, When the title key exists in the secret area, the title key in the secret area that is not referred to by the key management information in the normal area is deleted even if the key use flag is in use. Features.
本発明の著作権鍵管理方法によれば、記録媒体を使用した場合に、秘匿領域の鍵使用フラグが使用状態を示すタイトル鍵であっても初期化することで、無駄に秘匿領域を消費しないようにでき、秘匿領域を扱わない機器との混在使用を行っても、通常領域に容量が残っているにもかかわらず記録ができないような問題が発生しない。 According to the copyright key management method of the present invention, when a recording medium is used, even if the key usage flag of the secret area is a title key indicating the use state, the secret area is not consumed unnecessarily. Even if a device that does not handle a secret area is used together, there is no problem that recording cannot be performed even though the capacity remains in the normal area.
本発明の著作権鍵管理方法は、自由にアクセスできる通常領域と認証を行ってのみアクセス可能な秘匿領域とを有する記録媒体を使用し、前記通常領域に暗号化コンテンツと,当該暗号化コンテンツの暗号を行ったタイトル鍵とを対応付けするための鍵管理情報とを記憶させ、前記秘匿領域にコンテンツのタイトル鍵と,当該タイトル鍵の有効性を管理する鍵管理情報とを記憶させる著作権鍵管理方法であって、前記秘匿領域の鍵管理情報として、前記タイトル鍵が前記通常領域で使用されているか使用されていないかの状態を示すための鍵使用フラグを記録し、前記記録媒体に著作権鍵を管理する装置でコンテンツの記録を行う場合に、前記通常領域の鍵管理情報上は前記秘匿領域の前記タイトル鍵の領域に空きが存在し、かつ前記秘匿領域の鍵管理情報はこれ以上記録できない数の前記タイトル鍵が使用されている状態になっている場合に、前記秘匿領域の前記タイトル鍵の使用不使用の状態を示すための前記鍵使用フラグを、たとえ当該鍵使用フラグが使用状態であっても少なくとも一つ以上消去して空いたタイトル鍵領域を使用することを特長とする。 The copyright key management method of the present invention uses a recording medium having a normal area that can be freely accessed and a secret area that can be accessed only by performing authentication. Copyright key for storing key management information for associating the encrypted title key and storing the title key of the content and key management information for managing the validity of the title key in the secret area In the management method, a key use flag for indicating whether the title key is used or not used in the normal area is recorded as key management information of the secret area, and a copyright is recorded on the recording medium. When content is recorded by a device that manages a right key, there is a space in the title key area of the secret area on the key management information of the normal area, and the secret area When the number of title keys that cannot be recorded any more is used, the key use flag for indicating the state of non-use of the title key in the secret area, Even if the key use flag is in use, at least one title key area that has been erased and used is used.
本発明の著作権鍵管理方法によれば、コンテンツの記録時に、秘匿領域のタイトル鍵の記憶領域が不足する場合に秘匿領域の鍵使用フラグが使用状態を示すタイトル鍵であっても不要なタイトル鍵の初期化を行いその領域を使用するようにすることで、タイトル鍵を最大限残しつつ無駄に秘匿領域を消費するのを防いでいる。また、秘匿領域を扱わない機器あるいは従来の記録再生装置との記録媒体の混在使用を行っても、通常領域に容量が残っているにもかかわらず記録ができないような問題が発生せず、かつ鍵を最大限残すことができるため、何らかの理由で意図的に鍵だけを残すような利用をした場合に、鍵の消去を最小限の抑えることができる。 According to the copyright key management method of the present invention, when content is recorded, an unnecessary title is used even if the secret key is used in the secret area when the title key storage area is insufficient. By initializing the key and using the area, the secret area is prevented from being consumed unnecessarily while leaving the title key as much as possible. In addition, even if the recording medium is mixed with a device that does not handle the secret area or the conventional recording / reproducing apparatus, there is no problem that the recording cannot be performed even though the capacity remains in the normal area, and Since it is possible to leave the key to the maximum extent, it is possible to minimize the key erasure when the key is intentionally left for some reason.
本発明の著作権鍵管理方法は、自由にアクセスできる通常領域と認証を行ってのみアクセス可能な秘匿領域とを有する記録媒体を使用し、前記通常領域に暗号化コンテンツと,当該暗号化コンテンツの暗号を行ったタイトル鍵とを対応付けするための鍵管理情報とを記憶させ、前記秘匿領域にコンテンツのタイトル鍵と,当該タイトル鍵の有効性を管理する鍵管理情報とを記憶させる著作権鍵管理方法であって、前記秘匿領域の鍵管理情報として、前記タイトル鍵が前記通常領域で使用されているか使用されていないかの状態を示すための鍵使用フラグと、前記タイトル鍵を削除してもよいかどうかを示すための鍵削除不可フラグとを記録し、前記記録媒体に著作権鍵を管理する装置でコンテンツの記録を行う場合に、前記通常領域の鍵管理情報上は前記秘匿領域の前記タイトル鍵の領域に空きが存在し、かつ前記秘匿領域の鍵管理情報はこれ以上記録できない数の前記タイトル鍵が使用されている状態になっている場合に、前記秘匿領域の前記タイトル鍵の使用不使用の状態を示すための前記鍵使用フラグを、たとえ当該鍵使用フラグが使用状態であっても前記秘匿領域の前記鍵削除不可フラグが削除可能となっている中から少なくとも一つ以上消去して空いたタイトル鍵領域を使用することを特長とする。 The copyright key management method of the present invention uses a recording medium having a normal area that can be freely accessed and a secret area that can be accessed only by performing authentication. Copyright key for storing key management information for associating the encrypted title key and storing the title key of the content and key management information for managing the validity of the title key in the secret area The key management information for the secret area is a key usage flag for indicating whether the title key is used or not used in the normal area, and the title key is deleted. When the content is recorded by a device that manages a copyright key on the recording medium, the key management of the normal area is recorded. In the report, when there is a space in the title key area of the secret area, and the key management information of the secret area is in a state where the number of title keys that cannot be recorded any more is used, The key use flag for indicating the non-use state of the title key in the secret area can be deleted even if the key use flag is in use. It is characterized in that at least one title key area that has been erased from the inside is used.
本発明の著作権鍵管理方法によれば、コンテンツの記録時に、秘匿領域のタイトル鍵の記憶領域が不足する場合に、タイトル鍵を意図的に残すことを示す鍵削除不可フラグが立っていない範囲で、秘匿領域の鍵使用フラグが使用状態を示すタイトル鍵であっても不要なタイトル鍵の初期化を行い、その領域を使用するようにすることで、記録媒体の秘匿領域内の利用してない必要なタイトル鍵が、不用意に消去されるのを防ぐことができる。 According to the copyright key management method of the present invention, when content is recorded, if the title key storage area of the secret area is insufficient, a range in which the key deletion disable flag indicating that the title key is intentionally left is not raised Therefore, even if the key usage flag of the secret area is a title key indicating the use state, an unnecessary title key is initialized and used so that it can be used in the secret area of the recording medium. It is possible to prevent an unnecessary title key from being inadvertently deleted.
本発明の著作権鍵管理方法によると、記録媒体の秘匿領域内に記録する著作権管理のための鍵を、有効なものだけを効率よく残すことで、記憶領域が無駄に消費されるのを防ぐことができる。 According to the copyright key management method of the present invention, the effective use of the copyright management key to be recorded in the secret area of the recording medium efficiently leaves the storage area unnecessarily consumed. Can be prevented.
(実施の形態1)
本発明の実施の形態1について、図1ないし図7を参照しながら説明する。
(Embodiment 1)
A first embodiment of the present invention will be described with reference to FIGS.
図1は記録再生装置のブロック図、図2は記録媒体のブロック図、図3〜6は記録媒体の記録説明図、図7は著作権鍵管理方法のフローチャートである。 1 is a block diagram of a recording / reproducing apparatus, FIG. 2 is a block diagram of a recording medium, FIGS. 3 to 6 are explanatory diagrams of recording of the recording medium, and FIG. 7 is a flowchart of a copyright key management method.
図1において、1は記録再生装置、2は半導体メモリカード(記録媒体)、11は映像信号と音声信号をデジタルで圧縮符号化する符号化部、12はコンテンツ暗号化部、13はメディアインタフェース部、14はコンテンツ暗号復元部、15は圧縮符号化された信号を復号して映像信号と音声信号を出力する復号化部である。 In FIG. 1, 1 is a recording / reproducing apparatus, 2 is a semiconductor memory card (recording medium), 11 is an encoding unit that digitally compresses and encodes a video signal and an audio signal, 12 is a content encryption unit, and 13 is a media interface unit. , 14 is a content encryption restoration unit, and 15 is a decoding unit that decodes the compression-encoded signal and outputs a video signal and an audio signal.
なお、記録再生装置1は、図14に示した記録再生装置6と同様に構成されており、各部の説明は省略する。ただし、メディアインタフェース部13の動作については、メディアインタフェース部63とは異なる。
Note that the recording / reproducing
図2は記録媒体の一例である半導体メモリカード2の構成例を示す。
FIG. 2 shows a configuration example of a
半導体メモリカード2の内部の記憶領域は大別すると2つの領域に分割されており、特定の手続きを経てのみアクセス可能な秘匿領域21と、通常の手続きでアクセス可能な通常領域20からなる。秘匿領域21には、読み出し専用のMKB(メディア・キー・ブロック)23とメディアID24が書き込まれている。メディアID24は、各メディア毎にユニークなIDであってメモリカード製造時にあらかじめ記録される。また、秘匿領域21の読み書き可能なエリアに、コンテンツを暗号化するためのタイトル鍵(著作権鍵)25や鍵管理情報を保存することができる。通常領域20は、ユーザが通常のアクセス方法で自由に読み書き可能であり、暗号化されたコンテンツ26や鍵管理情報を保存することができる。また、この例では半導体メモリカード2内部に、相互認証と鍵交換を行うためのAKE(オーセンティケーション・アンド・キー・エクスチェンジ)処理部22を有している。
The storage area inside the
記録媒体としては、必ずしも全て半導体である必要はなく、例えば磁気記録を使った小型ハードディスクのようなものを利用したものであってもよい。 The recording media are not necessarily all semiconductors, and for example, a recording medium such as a small hard disk using magnetic recording may be used.
記録再生装置1に半導体メモリカード2が挿入された場合、メディアインタフェース部13は先ず始めに記録再生装置1からみて半導体メモリカード2が正規のメモリカードであるかどうかを確認し、また、半導体メモリカード2からみて記録再生装置1が正規の装置であるかを確認するため相互認証を行う。相互認証は、メディアインタフェース部13が半導体メモリカード2からまず所定の手続きによってMKB23とメディアID24とを読み出し、これらとメディアインタフェース部13が所有するデバイス固有の鍵を用いて所定の演算処理を行うことで、メディアユニーク鍵Kmuを算出する。次に、メディアインタフェース部13が発生した乱数を使って所定の演算をすることで、お互いの持つメディアユニーク鍵Kmuが一致していることを確認し相互認証を完了する。この相互認証が成功することによって、秘匿領域21のアクセスが可能になる。また、相互認証時に所定の演算によって得られるセッション鍵Ksによって、秘匿領域21内部のタイトル鍵25等の情報を記憶および読み出しすることが可能になる。相互認証は、少なくとも新たな半導体メモリカード2が挿入される毎に行う。
When the
次に、記録の動作を説明する。入力された映像信号と音声信号を符号化部11で圧縮符号化する。コンテンツ暗号化部12は、コンテンツ毎にランダムに生成するタイトル鍵25を使って符号化信号を暗号化し暗号化コンテンツ26を出力する。メディアインタフェース部13は、暗号化コンテンツ26を半導体メモリカード2の通常領域20に記録するとともに、秘匿領域21にタイトル鍵25を記録する。どのタイトル鍵25を使用したかがわかるように、使用鍵番号27を通常領域20内のテーブルに記載する。秘匿領域21のタイトル鍵25には鍵が使用されていることがわかるように、鍵使用フラグ28を立てておく。2回目以降の記録では、通常領域20の使用鍵番号27のテーブルの空き(0)と、秘匿領域21の鍵使用フラグ28の空き(0)とをそれぞれ探して新たな記録を行っていく。
Next, the recording operation will be described. The input video signal and audio signal are compression encoded by the
次に、図3〜7を用いて著作権鍵管理方法について説明する。 Next, a copyright key management method will be described with reference to FIGS.
ここで一例として、従来の記録再生装置で説明した記録状態の半導体メモリカード2(図15)があるものとする。図15の例では、5つの暗号化コンテンツ26を記録した状態で6つめに空きがあり、使用鍵番号27とタイトル鍵25が全て番号順に対応している。
Here, as an example, it is assumed that there is the semiconductor memory card 2 (FIG. 15) in the recording state described in the conventional recording / reproducing apparatus. In the example of FIG. 15, there is a sixth free space in a state where five
このような状態の半導体メモリカード2を通常領域20のみ初期化すると、通常領域20の使用鍵番号27のリストや暗号化コンテンツ26が存在しない、初期状態と同じ図3に相当する状態となる。このような半導体メモリカード2が記録再生装置1に挿入されると、メディアインタフェース部13は通常領域20に使用鍵番号(通常領域の鍵管理情報)27のリストが存在するかを判断し(図7のS31)、使用鍵番号27のリストが存在しないため、メディアインタフェース部13は秘匿領域21のタイトル鍵25と鍵使用フラグ28を全て消去し(同S32)、図4の状態にする。
When only the
また、図3の状態の半導体メモリカード2を、従来の記録再生装置6によって記録した場合、タイトル鍵25が5つ既に使用されている状態になっているため、図5のような状態となる。このような半導体メモリカード2が記録再生装置1に挿入されると、メディアインタフェース部13は通常領域20に使用鍵番号27のリストが存在するかを判断し(同S31)、使用鍵番号27のリストが存在するため、次に秘匿領域21に鍵使用フラグ(秘匿領域の鍵管理情報)28のリストが存在するかを判断する(同S33)。鍵使用フラグ28のリストが存在しなければそのまま終了し、鍵使用フラグ28のリストが存在すれば、メディアインタフェース部13は使用鍵番号が使われていない#1から#5のタイトル鍵をすべて消去し(同S34)、これらの鍵使用フラグを(0)にし、図6のような状態となる。
When the
このように構成された著作権鍵管理方法によれば、半導体メモリカード2を挿入した場合に、秘匿領域21の鍵使用フラグ28が使用状態を示すタイトル鍵25であっても、初期化することで、使用していないタイトル鍵25ならびに当該鍵使用フラグ28を削除し、秘匿領域21が無駄に消費されるのを防ぐとともに、使用していないタイトル鍵25によって追加可能な領域が減少してしまうのを防止できる。
According to the copyright key management method configured as described above, when the
また、秘匿領域21を扱わない機器との混在使用を行っても、使用していないタイトル鍵25ならびに当該鍵使用フラグ28を削除することで、通常領域20に容量が残っているにもかかわらず記録ができないという問題が発生するのを防ぐことができる。
Further, even if a mixed use with a device that does not handle the
(実施の形態2)
本発明の実施の形態2について、図1,2,8〜10を参照しながら説明する。
(Embodiment 2)
A second embodiment of the present invention will be described with reference to FIGS.
図1は記録再生装置のブロック図、図2は記録媒体のブロック図、図8,9は記録媒体の記録説明図、図10は著作権鍵管理方法のフローチャートである。 1 is a block diagram of a recording / reproducing apparatus, FIG. 2 is a block diagram of a recording medium, FIGS. 8 and 9 are explanatory diagrams of recording of the recording medium, and FIG. 10 is a flowchart of a copyright key management method.
なお、記録再生装置1および半導体メモリカード2の構成は、実施の形態1と同様であり、各部の説明は省略する。ただし、メディアインタフェース部13の動作については、実施の形態1とは異なる。
Note that the configurations of the recording / reproducing
図8〜10を用いて著作権鍵管理方法について説明する。 The copyright key management method will be described with reference to FIGS.
ここで一例として、実施の形態1の図3で説明したような記録状態の半導体メモリカード2であって、従来の記録再生装置6で暗号化コンテンツ1〜3まで記録されているものがあるとする。この半導体メモリカード2を図8に示す。図8の例では、5つのタイトル鍵25が使用鍵番号27のリストから参照されない状態で使用状態になっている。
Here, as an example, there is a
このような状態の半導体メモリカード2を記録再生装置1に挿入し、記録を開始しようとした場合、メディアインタフェース部13は、まず通常領域20から使用鍵番号27のリストを読み出し(図10のS41)、使用鍵番号27に空きがあることを確認する(同S42)。図8の例では4番目以降が空いているため、4番目に記録を行うことに決定する。次に、必要であれば相互認証を行い、秘匿領域21から鍵使用フラグ28のリストを読み出し(同S43)、鍵使用フラグ28に空きがあるかを確認する(同S44)。もし、空きが無い場合、使用鍵番号27のリストから参照されていないタイトル鍵25があるかどうかを順に確認する(同S45)。タイトル鍵#1が参照されていないため、使用されていないと判断し、この#1の鍵領域を使用してタイトル鍵25を新たに生成し(同S46)、そのタイトル鍵25で暗号化を行って記録を行う(同S48)。なお、S44で、鍵使用フラグ28に空きがある場合、その鍵使用フラグ28を(1)にして新たにタイトル鍵25を生成し(同S47)、そのタイトル鍵25で暗号化を行って記録を行う(同S48)。記録後の半導体メモリカード2の状態を図9に示す。
When the
このように構成された著作権鍵管理方法によれば、コンテンツの記録時に、秘匿領域21の鍵の記憶領域が不足する場合に、秘匿領域21の鍵使用フラグ28が使用状態を示すタイトル鍵25であっても、不要なタイトル鍵25の初期化を行い、その領域を使用するようにすることで、タイトル鍵25を最大限残しつつ無駄に秘匿領域21が消費されるのを防止できる。
According to the copyright key management method configured as described above, the
また、秘匿領域21を扱わない機器あるいは従来の記録再生装置6との半導体メモリカード2の混在使用を行っても、通常領域20に容量が残っているにもかかわらず記録ができないような問題が発生せず、なおかつタイトル鍵25を最大限残すことができるため、何らかの理由で意図的にタイトル鍵25だけを残すような利用をした場合に、タイトル鍵25の消去を最小限の抑えることができる。
In addition, even when the
(実施の形態3)
本発明の実施の形態2について、図1,2,11〜13を参照しながら説明する。
(Embodiment 3)
A second embodiment of the present invention will be described with reference to FIGS.
図1は記録再生装置のブロック図、図2は記録媒体のブロック図、図11,12は記録媒体の記録説明図、図13は著作権鍵管理方法のフローチャートである。 1 is a block diagram of a recording / reproducing apparatus, FIG. 2 is a block diagram of a recording medium, FIGS. 11 and 12 are explanatory diagrams of recording on the recording medium, and FIG. 13 is a flowchart of a copyright key management method.
なお、記録再生装置1および半導体メモリカード2の構成は、実施の形態1と同様であり、各部の説明は省略する。ただし、メディアインタフェース部13の動作については、実施の形態1とは異なる。
Note that the configurations of the recording / reproducing
ここで一例として、実施の形態1の図3で説明したような記録状態の半導体メモリカード2であって、従来の記録再生装置6で暗号化コンテンツ1〜3まで記録されているものがあるとする。この半導体メモリカード2を図11に示す。図11の例では、5つのタイトル鍵25が使用鍵番号27のリストから参照されない状態で使用状態になっている。また、秘匿領域21にはタイトル鍵25の削除をしてもよいかどうかの鍵削除不可フラグ(秘匿領域の鍵管理情報)29が新たに設けられており、この例ではタイトル鍵#1が削除不可となっているものとする。この鍵削除不可フラグ29は、例えば半導体メモリカード2を鍵束として使用し、記録再生装置1とは異なる特定の装置にこのカードを挿入した場合に、その鍵を参照してその装置の内部のコンテンツをこの鍵を使って暗号を解くような用途のために用いられる。
Here, as an example, there is a
このような状態の半導体メモリカード2を記録再生装置1に挿入し、記録を開始しようとした場合、メディアインタフェース部13は、まず通常領域20から使用鍵番号27のリストを読み出し(図13のS51)、使用鍵番号27に空きがあることを確認する(同S52)。図11の例では4番目以降が空いているため、4番目に記録を行うことに決定する。次に、必要であれば相互認証を行い、秘匿領域21から鍵使用フラグ28のリストを読み出し(同S53)、鍵使用フラグ28に空きがあるかを確認する(同S54)。もし、空きが無い場合、使用鍵番号27のリストから参照されていないタイトル鍵25があるかどうかを順に確認する(同S55)。タイトル鍵#1は鍵削除不可フラグ29が立っているため使用できないと判断し、次のタイトル鍵#2を調査する。タイトル鍵#2は使用鍵番号27のリストから参照されていないため、使用されていないと判断し、かつ鍵削除不可フラグ29が立っていないため使用できると判断し、この#2の鍵領域を使用してタイトル鍵25を新たに生成し(同S56)、そのタイトル鍵25で暗号化を行って記録を行う(同S58)。なお、S54で、鍵使用フラグ28に空きがある場合、その鍵使用フラグ28を(1)にして新たにタイトル鍵25を生成し(同S57)、そのタイトル鍵25で暗号化を行って記録を行う(同S58)。記録後の半導体メモリカード2の状態を図12に示す。
When the
このように構成された著作権鍵管理方法によれば、コンテンツの記録時に、秘匿領域21のタイトル鍵25の記憶領域が不足する場合に、タイトル鍵25を意図的に残すことを示す鍵削除不可フラグ29が立っていない範囲で、秘匿領域21の鍵使用フラグ28が使用状態を示すタイトル鍵25であっても、不要なタイトル鍵25の初期化を行い、その領域を使用するようにすることで、必要なタイトル鍵25を残しつつ無駄に秘匿領域21が消費されるのを防止できる。
According to the copyright key management method configured as described above, when content is recorded, if the storage area of the
また、秘匿領域21を扱わない機器あるいは従来の記録再生装置6との半導体メモリカード2の混在使用を行っても、通常領域20に容量が残っているにもかかわらず記録ができないような問題が発生せず、なおかつその半導体メモリカード2内で利用してない秘匿領域21内の必要なタイトル鍵25を、鍵削除不可フラグ29によって残すことができるため、何らかの理由で意図的にタイトル鍵25だけを残すような利用をした場合に、必要なタイトル鍵25が誤って消去されるのを防止できる。
In addition, even when the
本発明は、半導体メモリカードのような小型の記録媒体に映像や音声のデジタルコンテンツを記録するデジタル機器における著作権鍵管理方法として有用である。 The present invention is useful as a copyright key management method in a digital device that records video and audio digital contents on a small recording medium such as a semiconductor memory card.
1 記録再生装置
2 半導体メモリカード(記録媒体)
11 符号化部
12 コンテンツ暗号化部
13 メディアインタフェース部
14 コンテンツ暗号復元部
15 復号化部
20 通常領域
21 秘匿領域
22 AKE処理部
23 MKB
24 メディアID
25 タイトル鍵(著作権鍵)
26 暗号化コンテンツ
27 使用鍵番号(通常領域の鍵管理情報)
28 鍵使用フラグ(秘匿領域の鍵管理情報)
29 鍵削除不可フラグ(秘匿領域の鍵管理情報)
1 Recording / Reproducing
DESCRIPTION OF
24 Media ID
25 Title key (copyright key)
26
28 Key usage flag (key management information for the secret area)
29 Key deletion impossible flag (secret area key management information)
Claims (3)
前記秘匿領域の鍵管理情報として、前記タイトル鍵が前記通常領域で使用されているか使用されていないかの状態を示すための鍵使用フラグを記録し、
前記記録媒体が著作権鍵を管理する装置に挿入された場合に、前記通常領域に鍵管理情報が存在せず、かつ前記秘匿領域に前記タイトル鍵が存在する場合に、前記秘匿領域のタイトル鍵と当該タイトル鍵の使用不使用の状態を示すための前記鍵使用フラグとを、たとえ前記鍵使用フラグが使用状態であっても全て消去し、
前記通常領域に鍵管理情報が存在し、かつ前記秘匿領域に前記タイトル鍵が存在する場合に、前記通常領域の鍵管理情報が参照していない前記秘匿領域の前記タイトル鍵を、たとえ前記鍵使用フラグが使用状態であっても消去する、ことを特長とする著作権鍵管理方法。 Using a recording medium having a normal area that can be freely accessed and a secret area that can be accessed only after authentication, the encrypted content is associated with the title key obtained by encrypting the encrypted content in the normal area And a key management information for storing the title key of the content and key management information for managing the validity of the title key in the secret area,
As the key management information of the secret area, record a key use flag for indicating whether the title key is used or not used in the normal area,
When the recording medium is inserted into a device that manages a copyright key, if there is no key management information in the normal area and the title key exists in the secret area, the title key of the secret area And the key use flag for indicating the non-use state of the title key are deleted even if the key use flag is in use,
When the key management information exists in the normal area and the title key exists in the secret area, the title key of the secret area that is not referred to by the key management information of the normal area is used even if the key is used. A copyright key management method characterized by erasing a flag even when it is in use.
前記秘匿領域の鍵管理情報として、前記タイトル鍵が前記通常領域で使用されているか使用されていないかの状態を示すための鍵使用フラグを記録し、
前記記録媒体に著作権鍵を管理する装置でコンテンツの記録を行う場合に、前記通常領域の鍵管理情報上は前記秘匿領域の前記タイトル鍵の領域に空きが存在し、かつ前記秘匿領域の鍵管理情報はこれ以上記録できない数の前記タイトル鍵が使用されている状態になっている場合に、前記秘匿領域の前記タイトル鍵の使用不使用の状態を示すための前記鍵使用フラグを、たとえ当該鍵使用フラグが使用状態であっても少なくとも一つ以上消去して空いたタイトル鍵領域を使用する、ことを特長とする著作権鍵管理方法。 Using a recording medium having a normal area that can be freely accessed and a secret area that can be accessed only after authentication, the encrypted content is associated with the title key obtained by encrypting the encrypted content in the normal area And a key management information for storing the title key of the content and key management information for managing the validity of the title key in the secret area,
As the key management information of the secret area, record a key use flag for indicating whether the title key is used or not used in the normal area,
When content is recorded by a device that manages a copyright key on the recording medium, there is a space in the title key area of the secret area on the key management information of the normal area, and the key of the secret area When the management information is in a state where the number of title keys that cannot be recorded any more is used, the key use flag for indicating the state of non-use of the title key in the secret area is indicated, for example A copyright key management method characterized by using at least one empty title key area after erasing at least one of the key usage flags.
前記秘匿領域の鍵管理情報として、前記タイトル鍵が前記通常領域で使用されているか使用されていないかの状態を示すための鍵使用フラグと、前記タイトル鍵を削除してもよいかどうかを示すための鍵削除不可フラグとを記録し、
前記記録媒体に著作権鍵を管理する装置でコンテンツの記録を行う場合に、前記通常領域の鍵管理情報上は前記秘匿領域の前記タイトル鍵の領域に空きが存在し、かつ前記秘匿領域の鍵管理情報はこれ以上記録できない数の前記タイトル鍵が使用されている状態になっている場合に、前記秘匿領域の前記タイトル鍵の使用不使用の状態を示すための前記鍵使用フラグを、たとえ当該鍵使用フラグが使用状態であっても前記秘匿領域の前記鍵削除不可フラグが削除可能となっている中から少なくとも一つ以上消去して空いたタイトル鍵領域を使用する、ことを特長とする著作権鍵管理方法。 Using a recording medium having a normal area that can be freely accessed and a secret area that can be accessed only after authentication, the encrypted content is associated with the title key obtained by encrypting the encrypted content in the normal area And a key management information for storing the title key of the content and key management information for managing the validity of the title key in the secret area,
As the secret area key management information, it indicates a key use flag for indicating whether the title key is used or not used in the normal area, and whether the title key may be deleted. A key deletion impossible flag for
When content is recorded by a device that manages a copyright key on the recording medium, there is a space in the title key area of the secret area on the key management information of the normal area, and the key of the secret area When the management information is in a state where the number of title keys that cannot be recorded any more is used, the key use flag for indicating the state of non-use of the title key in the secret area is indicated, for example Even if the key use flag is in use, a title key area that is freed by erasing at least one of the key deletion impossible flags in the secret area can be used. Rights key management method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005027427A JP2006217218A (en) | 2005-02-03 | 2005-02-03 | Method of managing copyright key |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005027427A JP2006217218A (en) | 2005-02-03 | 2005-02-03 | Method of managing copyright key |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006217218A true JP2006217218A (en) | 2006-08-17 |
Family
ID=36980065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005027427A Pending JP2006217218A (en) | 2005-02-03 | 2005-02-03 | Method of managing copyright key |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006217218A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011501932A (en) * | 2008-09-04 | 2011-01-13 | ティー―データ・システムズ(エス)ピーティーイー・リミテッド | Authentication method for memory card capable of wireless communication |
JP2011013789A (en) * | 2009-06-30 | 2011-01-20 | Toshiba Corp | Information processing apparatus and method |
US8312294B2 (en) | 2008-07-18 | 2012-11-13 | Kabushiki Kaisha Toshiba | Information processing apparatus, authentication method, and storage medium |
-
2005
- 2005-02-03 JP JP2005027427A patent/JP2006217218A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8312294B2 (en) | 2008-07-18 | 2012-11-13 | Kabushiki Kaisha Toshiba | Information processing apparatus, authentication method, and storage medium |
JP2011501932A (en) * | 2008-09-04 | 2011-01-13 | ティー―データ・システムズ(エス)ピーティーイー・リミテッド | Authentication method for memory card capable of wireless communication |
JP2011013789A (en) * | 2009-06-30 | 2011-01-20 | Toshiba Corp | Information processing apparatus and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2006185473A (en) | Digital content recording and reproducing device and its method | |
KR100994772B1 (en) | How to copy and play data on a storage medium | |
JPWO2005101215A1 (en) | Terminal device and copyright protection system | |
JP2008022367A (en) | Encryption key information holding method and encryption key information processor | |
CN101089983A (en) | Information access control method and device, and write-once medium | |
JP2006172147A (en) | Contents protecting method and information recording and reproducing device using the method | |
JP2007294054A (en) | Digital picture recording and reproducing device | |
US7926115B2 (en) | Information recording and reproducing apparatus and method | |
JP4560086B2 (en) | Content data recording / reproducing apparatus | |
JPWO2005076140A1 (en) | Recording / reproducing apparatus and content protection system | |
CN101089982A (en) | Information access control method and apparatus | |
US7882367B2 (en) | Information recording and reproducing apparatus and method | |
JP2007336197A (en) | Information access management method and apparatus | |
US20080049932A1 (en) | Key information update recording method and key information update recording apparatus | |
JP2006217218A (en) | Method of managing copyright key | |
JP2004063016A (en) | Information recording method, and information recording and reproducing devcice | |
JPWO2007013611A1 (en) | Recording apparatus and recording medium | |
JP2007336060A (en) | Information access management method and apparatus | |
JP2009163560A (en) | Digital data recording device | |
US20070186118A1 (en) | Content data processing device, recording/reproduction device, and recording/reproduction system | |
JP2006085815A (en) | Recording / reproducing apparatus, content reproducing method, and content recording method | |
JP2006107165A (en) | Copy management method of content | |
JP4379241B2 (en) | Recording / playback equipment | |
JP4783023B2 (en) | Recording medium, playback device, and content playback method | |
JP2007080366A (en) | Recording and reproducing device of data with protection of copyright |