JP2006217218A - Method of managing copyright key - Google Patents

Method of managing copyright key Download PDF

Info

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
Application number
JP2005027427A
Other languages
Japanese (ja)
Inventor
Koji Nakajima
康志 中嶋
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 Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2005027427A priority Critical patent/JP2006217218A/en
Publication of JP2006217218A publication Critical patent/JP2006217218A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent a storage area from being wasted by efficiently leaving only an effective key for copyright management recorded in a secret area of a recording medium as to a managing method for a key effective in protecting the copyright of contents. <P>SOLUTION: When key management information is not present in a normal area 20 and a title key 25 is present in the secret area 21 while the recording medium is inserted into a device managing a copyright key, the title key 25 in the secret area 21 and a key use flag indicating whether the title key 25 is used or not are all erased even if the key use flag indicates a use state. When key management information is present in the normal area 20 and the title key 25 is present in the secret area 21, the title key 25 in the secret area 21 that the key management information in the normal area 20 does not refer to is erased even if the key use flag indicates the use state. <P>COPYRIGHT: (C)2006,JPO&NCIPI

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 semiconductor memory card 2 is inserted into the recording / reproducing device 6, first, it is confirmed from the recording / reproducing device 6 whether or not the semiconductor memory card 2 is a legitimate memory card, and recording from the semiconductor memory card 2. In order to confirm whether or not the playback device 6 is a legitimate device, the media interface unit 63 performs mutual authentication. Mutual authentication is performed using information unique to each medium for each semiconductor memory card 2, and information such as the title key 25 in the secret area 21 (see FIG. 15) of the semiconductor memory card 2 is stored and read out by successful mutual authentication. It becomes possible. At least each time a new semiconductor memory card 2 is inserted, mutual authentication is performed.

まず、記録の動作を説明する。入力された映像信号と音声信号を、符号化部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 encoding unit 61. The content encryption unit 62 encrypts the encoded signal using the title key 25 that is randomly generated for each content, and outputs the encrypted content 26. The media interface unit 63 records the encrypted content 26 in the normal area 20 of the semiconductor memory card 2 and records the title key 25 in the secret area 21. The corresponding use key number 27 is written in the table in the normal area 20 so that it can be seen which title key 25 is used. A key use flag 28 is set on the title key 25 of the secret area 21 so that the key is used. In the second and subsequent recordings, a new additional recording is performed by searching for a free space (0) in the table of the used key number 27 in the normal area 20 and a free space (0) in the key use flag 28 in the secret area 21. .

図15に、従来の記録再生装置6での半導体メモリカード2への記録の一例を示す。   FIG. 15 shows an example of recording on the semiconductor memory card 2 by the conventional recording / reproducing apparatus 6.

図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 encrypted contents 26 are recorded. In FIG. 15, in order to facilitate understanding, the used key number 27 and the title key 25 all correspond to the numerical order. However, the order may be disturbed by partially deleting or editing the content. For this association, a table of used key numbers 27 is required. Further, the key use flag 28 is effective for easily searching for the title key 25 that is not referenced from the table of the use key number 27.

次に、再生の動作を説明する。メディアインタフェース部63は、再生したいコンテンツを選択し、あらかじめ相互認証を行って秘匿領域21をアクセスして選択したコンテンツのタイトル鍵25を読み出す。コンテンツ暗号復元部64は、読み出したタイトル鍵25を使って暗号を解く。復号化部65は、圧縮信号を復号化して、映像信号と音声信号を出力する。   Next, the reproduction operation will be described. The media interface unit 63 selects content to be reproduced, performs mutual authentication in advance, accesses the secret area 21, and reads the title key 25 of the selected content. The content encryption restoration unit 64 uses the read title key 25 to decrypt the encryption. The decoding unit 65 decodes the compressed signal and outputs a video signal and an audio signal.

半導体メモリカード2のメディアユニークな情報は外部からの書き換えを行うことができないため、他の記録媒体に通常領域20の暗号化コンテンツ26を不正にコピーしたとしても、正常に復号を行うことができない。   Since the media unique information of the semiconductor memory card 2 cannot be rewritten from the outside, even if the encrypted content 26 in the normal area 20 is illegally copied to another recording medium, it cannot be decrypted normally. .

以上のようにして従来の方式では、著作権を有する映像や音声のデジタルコンテンツを記録する場合、コンテンツを暗号化することで、コンテンツの複製などを制限する著作権保護を実現することができる(例えば、特許文献1参照)。
特開平2002−15147号公報(段落0044〜0088、図12〜29)
As described above, in the conventional system, when recording copyrighted video or audio digital content, it is possible to realize copyright protection by restricting content duplication by encrypting the content ( For example, see Patent Document 1).
Japanese Patent Laid-Open No. 2002-15147 (paragraphs 0044 to 0088, FIGS. 12 to 29)

しかしながら、上記従来の著作権鍵管理方法では、半導体メモリカード2を、著作権保護の必要のない通常のデジタルスチルカメラなどでも使用することができ、このような機器で半導体メモリカード2を共用して使用することで問題が発生する場合があった。   However, in the above-described conventional copyright key management method, the semiconductor memory card 2 can also be used in an ordinary digital still camera or the like that does not require copyright protection, and the semiconductor memory card 2 is shared by such devices. There were cases where problems occurred when using 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 secret area 21 of the semiconductor memory card 2, so only the normal area 20 is used. For example, when the semiconductor memory card 2 is used for the first time, a function for initializing (formatting) information of the semiconductor memory card 2 is generally installed, but the secret area 21 is left as it is and only the normal area 20 is initialized. There are many devices that will be converted. The same applies to initialization not only with digital still cameras but also with personal computers.

もしその場合、コンテンツ管理のためのタイトル鍵25が、著作権保護を行う機能を有する機器によって既に秘匿領域21に記録されていた場合、通常領域20のみ初期化を行うことで秘匿領域21のタイトル鍵25がそのまま残されてしまい、秘匿領域21の記憶領域を無駄に消費した状態になってしまう。   In that case, if the title key 25 for content management has already been recorded in the secret area 21 by a device having a copyright protection function, the title of the secret area 21 is initialized by initializing only the normal area 20. The key 25 is left as it is, and the storage area of the secret area 21 is wasted.

その後、その半導体メモリカード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 secret area 21 in the semiconductor memory card 2, a part of the title key 25 remains used. Therefore, the additional recordable area is reduced. In some cases, the title key 25 for content management is used up to the recordable upper limit in the secret area 21, and the recordable area of the normal area 20 is sufficiently vacant but cannot be recorded. Will occur.

本発明の著作権鍵管理方法は、自由にアクセスできる通常領域と認証を行ってのみアクセス可能な秘匿領域とを有する記録媒体を使用し、前記通常領域に暗号化コンテンツと,当該暗号化コンテンツの暗号を行ったタイトル鍵とを対応付けするための鍵管理情報とを記憶させ、前記秘匿領域にコンテンツのタイトル鍵と,当該タイトル鍵の有効性を管理する鍵管理情報とを記憶させる著作権鍵管理方法であって、前記秘匿領域の鍵管理情報として、前記タイトル鍵が前記通常領域で使用されているか使用されていないかの状態を示すための鍵使用フラグを記録し、前記記録媒体が著作権鍵を管理する装置に挿入された場合に、前記通常領域に鍵管理情報が存在せず、かつ前記秘匿領域に前記タイトル鍵が存在する場合に、前記秘匿領域のタイトル鍵と当該タイトル鍵の使用不使用の状態を示すための前記鍵使用フラグとを、たとえ前記鍵使用フラグが使用状態であっても全て消去し、前記通常領域に鍵管理情報が存在し、かつ前記秘匿領域に前記タイトル鍵が存在する場合に、前記通常領域の鍵管理情報が参照していない前記秘匿領域の前記タイトル鍵を、たとえ前記鍵使用フラグが使用状態であっても消去することを特長とする。   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 apparatus 1 is configured in the same manner as the recording / reproducing apparatus 6 shown in FIG. However, the operation of the media interface unit 13 is different from that of the media interface unit 63.

図2は記録媒体の一例である半導体メモリカード2の構成例を示す。   FIG. 2 shows a configuration example of a semiconductor memory card 2 which is an example of a recording medium.

半導体メモリカード2の内部の記憶領域は大別すると2つの領域に分割されており、特定の手続きを経てのみアクセス可能な秘匿領域21と、通常の手続きでアクセス可能な通常領域20からなる。秘匿領域21には、読み出し専用のMKB(メディア・キー・ブロック)23とメディアID24が書き込まれている。メディアID24は、各メディア毎にユニークなIDであってメモリカード製造時にあらかじめ記録される。また、秘匿領域21の読み書き可能なエリアに、コンテンツを暗号化するためのタイトル鍵(著作権鍵)25や鍵管理情報を保存することができる。通常領域20は、ユーザが通常のアクセス方法で自由に読み書き可能であり、暗号化されたコンテンツ26や鍵管理情報を保存することができる。また、この例では半導体メモリカード2内部に、相互認証と鍵交換を行うためのAKE(オーセンティケーション・アンド・キー・エクスチェンジ)処理部22を有している。   The storage area inside the semiconductor memory card 2 is roughly divided into two areas, and comprises a secret area 21 that can be accessed only through a specific procedure and a normal area 20 that can be accessed by a normal procedure. A read-only MKB (media key block) 23 and a media ID 24 are written in the secret area 21. The media ID 24 is a unique ID for each medium and is recorded in advance when the memory card is manufactured. In addition, a title key (copyright key) 25 and key management information for encrypting content can be stored in a readable / writable area of the secret area 21. The normal area 20 is freely readable and writable by the user using a normal access method, and can store the encrypted content 26 and key management information. In this example, the semiconductor memory card 2 has an AKE (Authentication and Key Exchange) processing unit 22 for performing mutual authentication and key exchange.

記録媒体としては、必ずしも全て半導体である必要はなく、例えば磁気記録を使った小型ハードディスクのようなものを利用したものであってもよい。   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 semiconductor memory card 2 is inserted into the recording / reproducing apparatus 1, the media interface unit 13 first checks whether the semiconductor memory card 2 is a regular memory card as viewed from the recording / reproducing apparatus 1. Mutual authentication is performed to confirm whether the recording / reproducing apparatus 1 is a legitimate apparatus when viewed from the card 2. In the mutual authentication, the media interface unit 13 first reads the MKB 23 and the media ID 24 from the semiconductor memory card 2 by a predetermined procedure, and performs a predetermined calculation process using these and a device-specific key owned by the media interface unit 13. Then, the media unique key Kmu is calculated. Next, a predetermined calculation is performed using a random number generated by the media interface unit 13 to confirm that the media unique keys Kmu possessed by each other match, thereby completing mutual authentication. When this mutual authentication is successful, the secret area 21 can be accessed. In addition, information such as the title key 25 in the secret area 21 can be stored and read by the session key Ks obtained by a predetermined calculation at the time of mutual authentication. The mutual authentication is performed at least every time a new semiconductor memory card 2 is inserted.

次に、記録の動作を説明する。入力された映像信号と音声信号を符号化部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 encoding unit 11. The content encryption unit 12 encrypts the encoded signal using a title key 25 that is randomly generated for each content, and outputs the encrypted content 26. The media interface unit 13 records the encrypted content 26 in the normal area 20 of the semiconductor memory card 2 and records the title key 25 in the secret area 21. The used key number 27 is entered in a table in the normal area 20 so that it can be seen which title key 25 is used. A key use flag 28 is set up so that the title key 25 in the secret area 21 can be seen as being used. In the second and subsequent recordings, a new recording is performed by searching for a free space (0) in the table of the used key number 27 in the normal area 20 and a free space (0) in the key use flag 28 in the secret area 21.

次に、図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 encrypted contents 26 are recorded, and the used key number 27 and the title key 25 all correspond to the numerical order.

このような状態の半導体メモリカード2を通常領域20のみ初期化すると、通常領域20の使用鍵番号27のリストや暗号化コンテンツ26が存在しない、初期状態と同じ図3に相当する状態となる。このような半導体メモリカード2が記録再生装置1に挿入されると、メディアインタフェース部13は通常領域20に使用鍵番号(通常領域の鍵管理情報)27のリストが存在するかを判断し(図7のS31)、使用鍵番号27のリストが存在しないため、メディアインタフェース部13は秘匿領域21のタイトル鍵25と鍵使用フラグ28を全て消去し(同S32)、図4の状態にする。   When only the normal area 20 is initialized in the semiconductor memory card 2 in such a state, the list corresponding to the key number 27 used in the normal area 20 and the encrypted content 26 do not exist, and the state corresponds to FIG. When such a semiconductor memory card 2 is inserted into the recording / reproducing apparatus 1, the media interface unit 13 determines whether there is a list of used key numbers (normal area key management information) 27 in the normal area 20 (see FIG. 7 (S31), since the list of the used key number 27 does not exist, the media interface unit 13 deletes all the title key 25 and the key use flag 28 in the secret area 21 (S32 of the same), and makes the state shown in FIG.

また、図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 semiconductor memory card 2 in the state shown in FIG. 3 is recorded by the conventional recording / reproducing apparatus 6, since five title keys 25 are already used, the state shown in FIG. 5 is obtained. . When such a semiconductor memory card 2 is inserted into the recording / reproducing apparatus 1, the media interface unit 13 determines whether there is a list of used key numbers 27 in the normal area 20 (S31). Since the list exists, it is next determined whether or not the list of the key use flag (the secret area key management information) 28 exists in the secret area 21 (S33). If the list of key usage flags 28 does not exist, the process ends. If the list of key usage flags 28 exists, the media interface unit 13 erases all the title keys # 1 to # 5 in which the usage key numbers are not used. (S34), these key use flags are set to (0), and the state shown in FIG. 6 is obtained.

このように構成された著作権鍵管理方法によれば、半導体メモリカード2を挿入した場合に、秘匿領域21の鍵使用フラグ28が使用状態を示すタイトル鍵25であっても、初期化することで、使用していないタイトル鍵25ならびに当該鍵使用フラグ28を削除し、秘匿領域21が無駄に消費されるのを防ぐとともに、使用していないタイトル鍵25によって追加可能な領域が減少してしまうのを防止できる。   According to the copyright key management method configured as described above, when the semiconductor memory card 2 is inserted, even if the key use flag 28 of the secret area 21 is the title key 25 indicating the use state, the initialization is performed. Thus, the unused title key 25 and the key use flag 28 are deleted to prevent the secret area 21 from being wasted, and the area that can be added by the unused title key 25 is reduced. Can be prevented.

また、秘匿領域21を扱わない機器との混在使用を行っても、使用していないタイトル鍵25ならびに当該鍵使用フラグ28を削除することで、通常領域20に容量が残っているにもかかわらず記録ができないという問題が発生するのを防ぐことができる。   Further, even if a mixed use with a device that does not handle the secret area 21 is performed, the unused title key 25 and the key use flag 28 are deleted, so that the capacity of the normal area 20 remains. It is possible to prevent the problem that the recording cannot be performed.

(実施の形態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 apparatus 1 and the semiconductor memory card 2 are the same as those in the first embodiment, and a description of each part is omitted. However, the operation of the media interface unit 13 is different from that of the first embodiment.

図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 semiconductor memory card 2 in a recording state as described in FIG. 3 of the first embodiment, in which encrypted contents 1 to 3 are recorded by the conventional recording / reproducing apparatus 6. To do. This semiconductor memory card 2 is shown in FIG. In the example of FIG. 8, the five title keys 25 are in use in a state where they are not referenced from the list of use key numbers 27.

このような状態の半導体メモリカード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 semiconductor memory card 2 in such a state is inserted into the recording / reproducing apparatus 1 and recording is started, the media interface unit 13 first reads the list of the used key numbers 27 from the normal area 20 (S41 in FIG. 10). ), It is confirmed that the used key number 27 is empty (S42). In the example of FIG. 8, since the fourth and subsequent spaces are vacant, it is decided to perform the fourth recording. Next, mutual authentication is performed if necessary, and a list of the key use flag 28 is read from the secret area 21 (S43), and it is confirmed whether there is a space in the key use flag 28 (S44). If there is no available space, it is checked in turn whether there is a title key 25 that is not referenced from the list of used key numbers 27 (S45). Since the title key # 1 is not referenced, it is determined that the title key # 1 is not used, and a new title key 25 is generated using the key area of the # 1 (S46), and the title key 25 is encrypted. Recording is performed (S48). If the key use flag 28 is empty in S44, a new title key 25 is generated with the key use flag 28 set to (1) (S47), and the title key 25 is encrypted and recorded. (S48). The state of the semiconductor memory card 2 after recording is shown in FIG.

このように構成された著作権鍵管理方法によれば、コンテンツの記録時に、秘匿領域21の鍵の記憶領域が不足する場合に、秘匿領域21の鍵使用フラグ28が使用状態を示すタイトル鍵25であっても、不要なタイトル鍵25の初期化を行い、その領域を使用するようにすることで、タイトル鍵25を最大限残しつつ無駄に秘匿領域21が消費されるのを防止できる。   According to the copyright key management method configured as described above, the title key 25 in which the key use flag 28 of the secret area 21 indicates the use state when the key storage area of the secret area 21 is insufficient at the time of content recording. Even so, by initializing the unnecessary title key 25 and using the area, it is possible to prevent the secret area 21 from being consumed unnecessarily while leaving the title key 25 as much as possible.

また、秘匿領域21を扱わない機器あるいは従来の記録再生装置6との半導体メモリカード2の混在使用を行っても、通常領域20に容量が残っているにもかかわらず記録ができないような問題が発生せず、なおかつタイトル鍵25を最大限残すことができるため、何らかの理由で意図的にタイトル鍵25だけを残すような利用をした場合に、タイトル鍵25の消去を最小限の抑えることができる。   In addition, even when the semiconductor memory card 2 is used together with a device that does not handle the secret area 21 or the conventional recording / reproducing apparatus 6, there is a problem that recording cannot be performed even though the capacity remains in the normal area 20. Since the title key 25 can be left as much as possible without being generated, the deletion of the title key 25 can be minimized when the title key 25 is intentionally left for some reason. .

(実施の形態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 apparatus 1 and the semiconductor memory card 2 are the same as those in the first embodiment, and a description of each part is omitted. However, the operation of the media interface unit 13 is different from that of the first embodiment.

ここで一例として、実施の形態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 semiconductor memory card 2 in a recording state as described in FIG. 3 of the first embodiment, in which encrypted contents 1 to 3 are recorded by the conventional recording / reproducing apparatus 6. To do. This semiconductor memory card 2 is shown in FIG. In the example of FIG. 11, the five title keys 25 are in use in a state where they are not referenced from the list of use key numbers 27. The secret area 21 is newly provided with a key deletion impossible flag (secret area key management information) 29 indicating whether or not the title key 25 may be deleted. In this example, the title key # 1 is deleted. It shall be impossible. For example, when the semiconductor memory card 2 is used as a key bundle and this card is inserted into a specific device different from the recording / reproducing device 1, the key deletion impossible flag 29 refers to the key and refers to the key inside the device. It is used for purposes such as decrypting content using this key.

このような状態の半導体メモリカード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 semiconductor memory card 2 in such a state is inserted into the recording / reproducing apparatus 1 and recording is started, the media interface unit 13 first reads the list of the used key numbers 27 from the normal area 20 (S51 in FIG. 13). ), It is confirmed that there is a vacancy in the used key number 27 (S52). In the example of FIG. 11, since the fourth and subsequent spaces are vacant, it is determined to perform the fourth recording. Next, mutual authentication is performed if necessary, and a list of key use flags 28 is read from the secret area 21 (S53), and it is confirmed whether there is an empty key use flag 28 (S54). If there is no available space, it is checked in turn whether there is a title key 25 that is not referenced from the list of used key numbers 27 (S55). It is determined that the title key # 1 cannot be used because the key deletion disable flag 29 is set, and the next title key # 2 is investigated. Since the title key # 2 is not referenced from the list of the used key number 27, it is determined that it is not used, and it is determined that it can be used because the key deletion disable flag 29 is not set. The title key 25 is newly generated using the same (S56), and the title key 25 is encrypted and recorded (S58). If the key use flag 28 is empty in S54, a new title key 25 is generated with the key use flag 28 set to (1) (S57), and the title key 25 is encrypted and recorded. (S58). The state of the semiconductor memory card 2 after recording is shown in FIG.

このように構成された著作権鍵管理方法によれば、コンテンツの記録時に、秘匿領域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 title key 25 in the secret area 21 is insufficient, the key cannot be deleted indicating that the title key 25 is intentionally left. Even if the key use flag 28 of the secret area 21 indicates the use state within the range where the flag 29 is not set, the unnecessary title key 25 is initialized and the area is used. Thus, it is possible to prevent the secret area 21 from being consumed unnecessarily while leaving the necessary title key 25.

また、秘匿領域21を扱わない機器あるいは従来の記録再生装置6との半導体メモリカード2の混在使用を行っても、通常領域20に容量が残っているにもかかわらず記録ができないような問題が発生せず、なおかつその半導体メモリカード2内で利用してない秘匿領域21内の必要なタイトル鍵25を、鍵削除不可フラグ29によって残すことができるため、何らかの理由で意図的にタイトル鍵25だけを残すような利用をした場合に、必要なタイトル鍵25が誤って消去されるのを防止できる。   In addition, even when the semiconductor memory card 2 is used together with a device that does not handle the secret area 21 or the conventional recording / reproducing apparatus 6, there is a problem that recording cannot be performed even though the capacity remains in the normal area 20. Since the necessary title key 25 in the secret area 21 that does not occur and is not used in the semiconductor memory card 2 can be left by the key deletion impossible flag 29, only the title key 25 is intentionally used for some reason. It is possible to prevent the necessary title key 25 from being erased accidentally when it is used to leave

本発明は、半導体メモリカードのような小型の記録媒体に映像や音声のデジタルコンテンツを記録するデジタル機器における著作権鍵管理方法として有用である。   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.

本発明の実施の形態における記録再生装置のブロック図The block diagram of the recording / reproducing apparatus in embodiment of this invention 本発明の実施の形態における記録媒体のブロック図The block diagram of the recording medium in embodiment of this invention 本発明の実施の形態1における記録媒体の記録説明図Recording explanatory diagram of a recording medium in Embodiment 1 of the present invention 本発明の実施の形態1における記録媒体の記録説明図Recording explanatory diagram of a recording medium in Embodiment 1 of the present invention 本発明の実施の形態1における記録媒体の記録説明図Recording explanatory diagram of a recording medium in Embodiment 1 of the present invention 本発明の実施の形態1における記録媒体の記録説明図Recording explanatory diagram of a recording medium in Embodiment 1 of the present invention 本発明の実施の形態1における著作権鍵管理方法のフローチャートFlowchart of copyright key management method in Embodiment 1 of the present invention 本発明の実施の形態2における記録媒体の記録説明図Recording explanatory diagram of a recording medium in Embodiment 2 of the present invention 本発明の実施の形態2における記録媒体の記録説明図Recording explanatory diagram of a recording medium in Embodiment 2 of the present invention 本発明の実施の形態2における著作権鍵管理方法のフローチャートFlowchart of copyright key management method in Embodiment 2 of the present invention 本発明の実施の形態3における記録媒体の記録説明図Recording explanatory diagram of a recording medium in Embodiment 3 of the present invention 本発明の実施の形態3における記録媒体の記録説明図Recording explanatory diagram of a recording medium in Embodiment 3 of the present invention 本発明の実施の形態3における著作権鍵管理方法のフローチャートFlowchart of copyright key management method in Embodiment 3 of the present invention 従来例における記録再生装置のブロック図Block diagram of a recording / reproducing apparatus in a conventional example 従来例における記録媒体の記録説明図Recording explanatory diagram of a recording medium in a conventional example

符号の説明Explanation of symbols

1 記録再生装置
2 半導体メモリカード(記録媒体)
11 符号化部
12 コンテンツ暗号化部
13 メディアインタフェース部
14 コンテンツ暗号復元部
15 復号化部
20 通常領域
21 秘匿領域
22 AKE処理部
23 MKB
24 メディアID
25 タイトル鍵(著作権鍵)
26 暗号化コンテンツ
27 使用鍵番号(通常領域の鍵管理情報)
28 鍵使用フラグ(秘匿領域の鍵管理情報)
29 鍵削除不可フラグ(秘匿領域の鍵管理情報)
1 Recording / Reproducing Device 2 Semiconductor Memory Card (Recording Medium)
DESCRIPTION OF SYMBOLS 11 Encoding part 12 Content encryption part 13 Media interface part 14 Content encryption decompression | restoration part 15 Decryption part 20 Normal area | region 21 Secret area 22 AKE process part 23 MKB
24 Media ID
25 Title key (copyright key)
26 Encrypted Content 27 Key Number Used (Normal Area Key Management Information)
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.
JP2005027427A 2005-02-03 2005-02-03 Method of managing copyright key Pending JP2006217218A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (3)

* Cited by examiner, † Cited by third party
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
US20080013732A1 (en) Encryption key information holding method and encryption key information processing apparatus
JP2006185473A (en) Digital content recording and reproducing device and its method
JPWO2005101215A1 (en) Terminal device and copyright protection system
KR20060069336A (en) Content protection method, and information recording and reproduction apparatus using same
JPWO2005076140A1 (en) Recording / reproducing apparatus and content protection system
KR100994772B1 (en) Method for copying and reproducing the data of storage medium
CN101089983A (en) Information access control method and device, and write-once medium
US7926115B2 (en) Information recording and reproducing apparatus and method
CN101089982A (en) Information access control method and apparatus
JP4560086B2 (en) Content data recording / reproducing apparatus
JP2006185016A (en) Content movement control device and method
US7882367B2 (en) Information recording and reproducing apparatus and method
JP2006217218A (en) Method of managing copyright key
US20070186118A1 (en) Content data processing device, recording/reproduction device, and recording/reproduction system
JP2007336197A (en) Information access management method and apparatus
US20080049932A1 (en) Key information update recording method and key information update recording apparatus
JP2007294054A (en) Digital picture recording and reproducing device
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
JP2007287268A (en) Recorder
JP2007080366A (en) Recording and reproducing device of data with protection of copyright
JP2006085815A (en) Recording and reproducing apparatus, content reproducing method, and content recording method
JP2006107165A (en) Copy management method of content