JP2007274419A - Content recording method, content moving apparatus, content reproducing method, and apparatus therefor - Google Patents

Content recording method, content moving apparatus, content reproducing method, and apparatus therefor Download PDF

Info

Publication number
JP2007274419A
JP2007274419A JP2006098482A JP2006098482A JP2007274419A JP 2007274419 A JP2007274419 A JP 2007274419A JP 2006098482 A JP2006098482 A JP 2006098482A JP 2006098482 A JP2006098482 A JP 2006098482A JP 2007274419 A JP2007274419 A JP 2007274419A
Authority
JP
Japan
Prior art keywords
content
counter
temporary
encryption key
value
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.)
Granted
Application number
JP2006098482A
Other languages
Japanese (ja)
Other versions
JP4787650B2 (en
Inventor
Takuya Morishita
卓也 森下
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.)
NEC Embedded Products Ltd
Original Assignee
NEC Embedded Products 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 NEC Embedded Products Ltd filed Critical NEC Embedded Products Ltd
Priority to JP2006098482A priority Critical patent/JP4787650B2/en
Publication of JP2007274419A publication Critical patent/JP2007274419A/en
Application granted granted Critical
Publication of JP4787650B2 publication Critical patent/JP4787650B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent an illegal copy, to prevent reproduction or copy of contents from being unfairly disabled in the case of legal utilization, and to suppress the number of times of rewriting a memory utilized for the prevention a few. <P>SOLUTION: For copy-once contents, a temporary counter provided in a temporary counter storage section 141 is made increment in accordance with the quantity of portions moved to a move destination. A portion preceding to a position corresponding to the value of the temporary counter is disabled to be reproduced and moved. For copy-never contents, a portion preceding to a position corresponding to a value obtained by subtracting a predetermined value from the value of the temporary counter corresponding to a recording time is disabled to be reproduced. The temporary counter is not a binary type but respective bits thereof correspond to a predetermined unit time. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、コピーワンス又はコピーネバーのコンテンツのコピーをコントロールするためのコンテンツ記録方法、コンテンツ移動装置及びコンテンツ再生方法並びにこれらの装置に関する。   The present invention relates to a content recording method, a content moving device, a content reproducing method, and these devices for controlling copying of copy once or copy never content.

デジタル画像データがDVD(Digital Versatile Disc)やデジタル放送により一般視聴者に供給されるようになってきている。デジタル画像データは劣化を伴わずにコピーすることが可能であるので、著作権保護の観点から、コピーコントロールシステムが導入されている。コピーコントロールシステムにおいては、コピーコントロール信号として、コピーフリー、コピーワンス及びコピーネバーが用意されている。ユーザは、コピーフリーのコンテンツを自由にコピーすることができる。また、ユーザは、コピーワンスのコンテンツのコピーを1つのみ保有することができ、他の記録媒体にコンテンツをコピーする場合には、元の記録媒体からコンテンツを削除しなければならない。更に、ユーザは、コピーネバーのコンテンツを記録媒体に記録することはできない。但し、ユーザは、コピーネバーのコンテンツを例えば90分以内の範囲でタイムシフト再生するために、一時的にコンテンツを記録媒体に記録することは許されている。   Digital image data has been supplied to general viewers by DVD (Digital Versatile Disc) or digital broadcasting. Since digital image data can be copied without deterioration, a copy control system has been introduced from the viewpoint of copyright protection. In the copy control system, copy free, copy once, and copy never are prepared as copy control signals. The user can freely copy copy-free content. In addition, the user can have only one copy of the copy-once content, and when copying the content to another recording medium, the user must delete the content from the original recording medium. Furthermore, the user cannot record the content of the copy never on the recording medium. However, the user is allowed to temporarily record the content on the recording medium in order to time-shift playback the content of the copy never within a range of, for example, 90 minutes.

特許文献1の発明は、コンテンツの移動を行う際に、移動元のコンテンツのうちの移動が行われた部分に逐次マーカを付け、一度マーカが付けられた部分は再度読み出さないようにすることにより、不正なコピーを防止する。しかし、マーカが付けられた部分を再度読み出さないような機能を有する装置以外の装置は、マーカが付けられた部分を読み出すことが可能であるので、不正なコピーを完全に防止することができない。   In the invention of Patent Document 1, when moving the content, by sequentially attaching a marker to the moved part of the source content, the part once marked is not read again. , Prevent unauthorized copying. However, a device other than a device having a function of not re-reading the marked part can read the marked part, and thus cannot completely prevent unauthorized copying.

特許文献2の発明は、コンテンツデータベースを介して、あるフラッシュメモリに格納されていたコンテンツをそのフラッシュメモリのみならず他のフラッシュメモリにも格納できてしまうこと、を防止する。しかし、コピーワンスにおけるコンテンツの途中までの移動やコピーネバーに対応することができない。   The invention of Patent Document 2 prevents a content stored in a certain flash memory from being stored not only in the flash memory but also in another flash memory via the content database. However, it is not possible to cope with movement to the middle of content or copy never in Copy Once.

特許文献3の発明は、再生可能条件を利用して、1つのコンテンツ内の移動済みの部分と未移動の部分を識別し、移動済みの部分の移動を禁止する。しかし、再生可能条件がコンテンツと一緒にハードディスクドライブに格納されるので、ハードディスクドライブのバックアップ、コンテンツの移動及びハードディスクドライブのリストアを順に行うことにより、不正なコピーが可能になってしまう。   The invention of Patent Document 3 uses a reproducible condition to identify a moved part and an unmoved part in one content, and prohibits the movement of the moved part. However, since the reproducible conditions are stored in the hard disk drive together with the content, unauthorized copying becomes possible by sequentially performing backup of the hard disk drive, movement of the content, and restoration of the hard disk drive.

特許文献4の発明は、各コンテンツを暗号化/復号化するための各コンテンツ毎のタイトル鍵をシステム鍵で暗号化して暗号化領域に格納し、コンテンツの再生を行ったならばシステム鍵を更新して、更新されたシステム鍵によりタイトル鍵を暗号化し直して暗号化領域に格納することにより、コンテンツのバックアップ、コンテンツの移動及びコンテンツのリストアを行うことによるコンテンツの不正コピーを防止する。しかし、更新前のシステム鍵と更新後のシステム鍵との関係が不明である。   In the invention of Patent Document 4, the title key for each content for encrypting / decrypting each content is encrypted with the system key and stored in the encryption area, and the system key is updated when the content is played back Then, the title key is re-encrypted with the updated system key and stored in the encryption area, thereby preventing unauthorized copying of the content due to content backup, content transfer, and content restore. However, the relationship between the system key before update and the system key after update is unknown.

特許文献5乃至8の発明は、コンテンツを単位ブロック毎に異なった暗号鍵で暗号化し、暗号化されたコンテンツを記録媒体に記録し、暗号鍵をその記録媒体と一体的に設けられたメモリに格納する。しかし、これは、メモリーIC付きのビデオテープカセットを想定したものであるため、コンテンツをハードディスクドライブやDVDとした場合には、記録媒体と一体的に設けられたメモリとはどのようなものであるのかが不明となる。また、ARIBによればコピーネバーのコンテンツであっても受信から90分以内であれば、ランダムアクセスしたり複数回再生することが許されているのであるが、特許文献5乃至8の発明によれば、1度再生した箇所はその後二度と再生できなくなるので、ユーザに不利益を与える。   The inventions of Patent Documents 5 to 8 encrypt content with a different encryption key for each unit block, record the encrypted content on a recording medium, and store the encryption key in a memory provided integrally with the recording medium. Store. However, since this assumes a video tape cassette with a memory IC, if the content is a hard disk drive or a DVD, what is the memory provided integrally with the recording medium? It becomes unknown. Further, according to ARIB, even copy never contents are allowed to be randomly accessed or reproduced multiple times within 90 minutes from the reception, but according to the inventions of Patent Documents 5 to 8. For example, a location that has been played once cannot be played again, and this is disadvantageous to the user.

また、特許文献7及び8の発明によれば、前のブロックの平文を利用して現在のブロックの暗号化のための暗号鍵を生成するので、再生された平文にエラーが含まれている場合に正しい暗号鍵を復元することができない。
特開2002−290905号公報 特開2001−51906号公報 特開2003−272289号公報 特開2003−22612号公報 特開2003−195751号公報 特開2003−195752号公報 特開2003−195753号公報 特開2003−195754号公報
In addition, according to the inventions of Patent Documents 7 and 8, since the encryption key for encrypting the current block is generated using the plaintext of the previous block, an error is included in the reproduced plaintext. The correct encryption key cannot be restored.
JP 2002-290905 A JP 2001-51906 A JP 2003-272289 A JP 2003-22612 A JP 2003-195751 A JP 2003-195752 A Japanese Patent Laid-Open No. 2003-195753 JP 2003-195754 A

コピーワンスのコンテンツの場合、ユーザが移動したコンテンツを安易な方法で復元することを防ぐ必要がある。安易な方法の1つとしては、例えばハードディスク全体の内容を完全にバックアップしておき、ハードディスクからコンテンツを他の記録媒体へ移動した後にハードティスク全体をリストアすることにより、移動したコンテンツを復元することが存在する。また、安易な方法の他の1つとしては、コンテンツの移動処理が終了して、移動元のコンテンツを無効化する処理に入る直前に意図的に電源を切断することで移動元の番組データの無効化処理を妨害するといった方法が存在する。   In the case of copy-once content, it is necessary to prevent the user's moved content from being restored in an easy way. As an easy method, for example, the contents of the entire hard disk are completely backed up, and the moved contents are restored by moving the contents from the hard disk to another recording medium and then restoring the entire hard disk. It exists. In addition, as another easy method, the content moving process is terminated, and the power of the program data of the moving source is intentionally turned off immediately before starting the processing of invalidating the moving source content. There are ways to prevent invalidation processing.

逆に、ユーザが意図しない中断動作が行われることは望ましくない。例えば、コンテンツの移動中に停電等が発生した場合に移動するコンテンツが破壊されることは望ましくない。   On the contrary, it is not desirable that the interruption operation unintended by the user is performed. For example, it is not desirable that the moving content is destroyed when a power failure or the like occurs during the movement of the content.

また、コピーネバーのコンテンツをタイムシフト再生するためには、記録から所定時間経過後のコンテンツを適切に再生不能になるように無効化する必要がある。   In addition, in order to perform time-shift reproduction of the copy never content, it is necessary to invalidate the content after a predetermined time has elapsed since recording so that the content cannot be properly reproduced.

そこで、上述したような不正コピーを防止すると共に、正当な利用をした場合に不当にコンテンツの再生又はコピーができなくなることを防止する必要がある。   Therefore, it is necessary to prevent illegal copying as described above and prevent improper reproduction or copying of content when used properly.

また、上記の必要性を満たすためにフラッシュメモリを利用した場合、フラッシュメモリの書換可能回数には制限があるため、これを考慮しなければならない。特にNOR型のフラッシュメモリにおいては、記録はビットまたはバイトといった小さい単位で可能であるが、一旦記録した内容の書き換えを行うためには内容を消去してから再書き込みする必要があり、この消去単位は数Kbyte単位と大きいという特性がある。   In addition, when a flash memory is used to satisfy the above-described necessity, there is a limit to the number of times the flash memory can be rewritten, and this must be taken into consideration. In particular, in a NOR type flash memory, recording is possible in small units such as bits or bytes. However, in order to rewrite the recorded contents, it is necessary to erase the contents and rewrite them. Has a characteristic of being as large as several Kbytes.

そこで、上述したような不正コピーを防止すると共に、正当な利用をした場合に不当にコンテンツの再生又はコピーができなくなることを防止するコンテンツのコピーコントロール方法及びその装置を提供することを目的とする。   Accordingly, an object of the present invention is to provide a content copy control method and apparatus for preventing illegal copying as described above and preventing unauthorized reproduction or copying of content when used properly. .

また、本発明は、メモリの書換・消去回数を少なく抑えつつ、上記の防止を行えることを可能とするコンテンツのコピーコントロール方法及びその装置を提供することを目的とする。   It is another object of the present invention to provide a content copy control method and apparatus capable of preventing the above while suppressing the number of times of rewriting / erasing the memory.

本発明の第1の観点によれば、コンテンツの所定期間毎に変化する暗号鍵を生成する暗号鍵生成ステップと、前記コンテンツの各所定期間毎の部分をその部分に対応した暗号鍵で暗号化する暗号化ステップと、前記コンテンツの各所定期間毎の暗号鍵に対応するパラメータを、前記コンテンツのその所定期間の部分に挿入するパラメータ挿入ステップと、前記暗号化ステップで暗号化され、前記パラメータ挿入ステップで前記パラメータが挿入されたコンテンツを記録媒体に記録するコンテンツ記録ステップと、を備えることを特徴とするコンテンツ記録方法が提供される。   According to the first aspect of the present invention, an encryption key generating step for generating an encryption key that changes at a predetermined period of content, and a part for each predetermined period of the content is encrypted with an encryption key corresponding to that part An encryption step, a parameter insertion step for inserting a parameter corresponding to an encryption key for each predetermined period of the content into a portion of the content for the predetermined period, and the parameter insertion after being encrypted in the encryption step There is provided a content recording method comprising: a content recording step of recording the content having the parameter inserted therein in a recording medium.

上記のコンテンツ記録方法において、前記暗号鍵は、前記パラメータと暗号鍵シードを用いて生成されるようにしてもよい。   In the content recording method, the encryption key may be generated using the parameter and an encryption key seed.

上記のコンテンツ記録方法において、前記暗号鍵に対応するパラメータはカウント値であるようにしてもよい。   In the content recording method, the parameter corresponding to the encryption key may be a count value.

本発明の第2の観点によれば、コンテンツの移動の開始時に、一時カウンタを生成する一時カウンタ生成ステップと、前記一時カウンタを初期化する一時カウンタ初期化ステップと、前記一時カウンタの初期化の位置まで前記コンテンツをシークするコンテンツシークステップと、前記初期化の位置から前記コンテンツの移動を繰り返す繰返しステップとを備え、前記繰返しステップは、コンテンツからパラメータを読み出すパラメータ読出しステップと、今回の繰返しで読み出したパラメータが、前回の繰返しステップで読み出したパラメータと異なっている場合には、今回の繰返しで読み出したパラメータに対応する値に前記一時カウンタを更新し、更に、前記コンテンツの対応する所定単位部分を再生可能化するための処理を行う更新ステップと、コンテンツの所定単位部分を読み出し、該所定単位部分を前記パラメータを用いて生成された暗号鍵で暗号解読して出力するステップと、を備えることを特徴とするコンテンツ移動方法が提供される。   According to the second aspect of the present invention, a temporary counter generation step for generating a temporary counter, a temporary counter initialization step for initializing the temporary counter, and initialization of the temporary counter at the start of content movement. A content seek step for seeking the content to a position, and a repetition step for repeating the movement of the content from the initialization position, wherein the repetition step is a parameter reading step for reading a parameter from the content, and a reading at the current repetition If the parameter is different from the parameter read in the previous iteration step, the temporary counter is updated to a value corresponding to the parameter read in the current iteration, and the corresponding predetermined unit portion of the content is further updated. Update that performs processing to enable playback And a step of reading a predetermined unit portion of the content, decrypting the predetermined unit portion with an encryption key generated using the parameters, and outputting the content unit method. .

上記のコンテンツ移動方法において、前記一時カウンタは、カウント範囲分の数のビットを備え、前記一時カウンタの初期化とは、初期化値に対応した数のビットを第1の値にして残りのビットを第2の値にする処理であり、前記一時カウンタの更新とは、1つのビットを第1の値から第2の値に変化させる処理であるようにしてもよい。   In the above content transfer method, the temporary counter includes a number of bits corresponding to the count range, and the initialization of the temporary counter means that the number of bits corresponding to the initialization value is set to the first value and the remaining bits The temporary counter update may be a process of changing one bit from the first value to the second value.

上記のコンテンツ移動方法において、前記繰返しステップが終了したならば、前記一時カウンタのカウント値を記憶部に格納するステップと、前記一時カウンタを破棄するステップと、を更に備えるようにしてもよい。   In the above content transfer method, when the repetition step is completed, a step of storing the count value of the temporary counter in a storage unit and a step of discarding the temporary counter may be further provided.

上記のコンテンツ移動方法において、前記一時カウンタ初期化ステップでは、現在、前記記憶部に格納されているカウント値により、前記一時カウンタを初期化するようにしてもよい。   In the content transfer method, the temporary counter initialization step may initialize the temporary counter based on a count value currently stored in the storage unit.

上記のコンテンツ移動方法において、前記移動の開始時に、前記一時カウンタが存在する場合には、前記一時カウンタのカウント値を記憶部に格納する一時カウント値格納ステップと、前記一時カウンタのカウント値の位置まで前記コンテンツをシークする第2コンテンツシークステップと、を更に備えるようにしてもよい。   In the above content moving method, if the temporary counter exists at the start of the movement, a temporary count value storing step of storing the count value of the temporary counter in a storage unit, and the position of the count value of the temporary counter And a second content seek step for seeking the content until.

本発明の第3の観点によれば、コンテンツの再生の開始時に、一時カウンタを生成する一時カウンタ生成ステップと、前記一時カウンタを初期化する一時カウンタ初期化ステップと、前記一時カウンタの初期化の位置以降の位置までコンテンツをシークするコンテンツシークステップと、シーク後の位置から前記コンテンツの再生を繰り返す繰返しステップと、を備え、前記繰返しステップは、前記コンテンツからパラメータを読み出すパラメータ読出しステップと、前記コンテンツの所定単位部分を読み出し、該所定単位部分を前記パラメータを用いて生成された暗号鍵で暗号解読して出力するステップと、を備えることを特徴とするコンテンツ再生方法が提供される。   According to the third aspect of the present invention, a temporary counter generation step for generating a temporary counter, a temporary counter initialization step for initializing the temporary counter, and initialization of the temporary counter at the start of content reproduction. A content seek step for seeking the content to a position after the position; and a repetition step for repeating the reproduction of the content from the position after the seek, wherein the repetition step reads a parameter from the content; and the content And reading out the predetermined unit portion with an encryption key generated using the parameter, and outputting the decrypted unit portion.

上記のコンテンツ再生方法において、前記一時カウンタ初期化ステップでは、現在、記憶部に格納されているカウント値により、前記一時カウンタを初期化するようにしてもよい。   In the content reproduction method, the temporary counter initialization step may initialize the temporary counter with a count value currently stored in the storage unit.

上記のコンテンツ再生方法において、前記移動の開始時に、前記一時カウンタが存在する場合には、前記一時カウンタのカウント値を記憶部に格納する一時カウント値格納ステップと、前記一時カウンタのカウント値の位置以降の位置までコンテンツをシークする第2コンテンツシークステップと、を更に備えるようにしてもよい。   In the above content reproduction method, if the temporary counter exists at the start of the movement, a temporary count value storing step of storing the count value of the temporary counter in a storage unit, and the position of the count value of the temporary counter A second content seek step for seeking content to a subsequent position may be further included.

本発明の第4の観点によれば、コンテンツの記録の開始時に、一時カウンタを生成する一時カウンタ生成手段と、前記一時カウンタを初期化する一時カウンタ初期化手段と、前記一時カウンタの初期化の位置までコンテンツをシークするコンテンツシーク手段と、暗号化シードを生成する手段と、前記暗号化シードを記憶部に格納する暗号化シード格納手段と、内部カウンタを初期値にする内部カウンタ初期化手段と、前記暗号化シードと前記初期値の内部カウンタとを基に暗号鍵を生成する暗号鍵初期化手段と、前記初期化の位置から前記コンテンツの記録を繰り返す第1繰返し手段と、カウンタ類の処理を繰り返す第2繰返し手段と、前記第2繰返し手段の動作の後に動作する前記一時カウンタを削除する一時カウンタ削除手段と、を備え、前記第1繰返し手段は、暗号鍵更新のタイミングが来た時に、前記内部カウンタを更新する内部カウンタ更新手段と、暗号鍵更新のタイミングが来た時に、更に、前記暗号化シードと更新された内部カウンタを基に新たな暗号鍵を生成する暗号鍵生成手段と、暗号鍵更新のタイミングが来た時に、更に、前記一時カウンタを更新する一時カウンタ更新手段と、現在の前記暗号鍵でコンテンツを暗号化するコンテンツ暗号化手段と、暗号化されたコンテンツに前記内部カウンタの値を挿入する内部カウンタ挿入手段と、暗号化され、且つ、内部カウンタが挿入されたコンテンツを記録媒体に格納するコンテンツ格納手段と、を備え、前記第2繰返し手段は、暗号鍵更新のタイミングが来た時に、前記内部カウンタを更新する内部カウンタ更新手段と、暗号鍵更新のタイミングが来た時に、更に、前記一時カウンタを更新する第2の一時カウンタ更新手段と、を備えることを特徴とするコンテンツ記録方法が提供される。   According to the fourth aspect of the present invention, a temporary counter generating means for generating a temporary counter, a temporary counter initializing means for initializing the temporary counter, and initialization of the temporary counter at the start of content recording. Content seek means for seeking content to a position; means for generating an encryption seed; encryption seed storage means for storing the encryption seed in a storage; and internal counter initialization means for setting an internal counter to an initial value; , Encryption key initialization means for generating an encryption key based on the encryption seed and the internal counter of the initial value, first repetition means for repeating the recording of the content from the position of the initialization, and processing of counters And a second counter means for deleting the temporary counter that operates after the operation of the second repeat means. The first repeater is further updated with the internal seed updater for updating the internal counter when the encryption key update timing comes, and with the encryption seed when the encryption key update timing comes An encryption key generating means for generating a new encryption key based on an internal counter, a temporary counter updating means for updating the temporary counter when the timing for updating the encryption key comes, and a content with the current encryption key. Content encrypting means for encrypting, internal counter inserting means for inserting the value of the internal counter into the encrypted content, and content storage for storing the encrypted content into which the internal counter is inserted in the recording medium And the second repeater updates an internal counter that updates the internal counter when an encryption key update timing comes. And means, when came timing of the encryption key update, addition, content recording method characterized by and a second temporary counter updating means for updating the one o'clock counter is provided.

上記のコンテンツ記録方法において、前記一時カウンタは、カウント範囲分の数のビットを備え、前記一時カウンタの初期化とは、初期化値に対応した数のビットを第1の値にして残りのビットを第2の値にする処理であり、前記一時カウンタの更新とは、1つのビットを第1の値から第2の値に変化させる処理であるようにしてもよい。   In the above content recording method, the temporary counter includes a number of bits corresponding to a count range, and the initialization of the temporary counter means that the number of bits corresponding to the initialization value is set to a first value and the remaining bits The temporary counter update may be a process of changing one bit from the first value to the second value.

上記のコンテンツ記録方法において、前記一時カウンタのカウント範囲分のビットの数は、コンテンツの全範囲より少ない範囲に対応しており、前記一時カウンタのビット数の不足を補うためにオフセットカウンタが設けられ、前記一時カウンタ更新手段と前記第2の一時カウンタ更新手段それぞれの次に動作するオフセット処理手段を更に備え、オフセット処理手段は、前記一時カウンタを初期化し、暗号鍵シード記憶部に格納されているカウントを変化させるようにしてもよい。   In the above content recording method, the number of bits corresponding to the count range of the temporary counter corresponds to a range smaller than the entire range of the content, and an offset counter is provided to compensate for the shortage of the number of bits of the temporary counter. , Further comprising an offset processing means that operates next to each of the temporary counter updating means and the second temporary counter updating means, and the offset processing means initializes the temporary counter and is stored in the encryption key seed storage unit. The count may be changed.

上記のコンテンツ記録方法において、前記記録の開始時に、一時カウンタが存在する場合に、前記一時カウンタのカウント値を内部カウント値とする内部カウント値設定手段を更に備え、前記内部カウント設定手段の動作の後に前記暗号鍵生成手段が動作するようにしてもよい。   In the above content recording method, when there is a temporary counter at the start of recording, the content recording method further comprises an internal count value setting means for setting the count value of the temporary counter as an internal count value. The encryption key generation means may be operated later.

上記のコンテンツ記録方法において、前記一時カウンタのカウント範囲分のビットの数は、コンテンツの全範囲より少ない範囲に対応しており、前記一時カウンタのビット数の不足を補うためにオフセットカウンタが設けられ、前記一時カウンタのカウント値を内部カウント値とする内部カウント値設定手段では、更に、内部カウンタ値に前記オフセットカウンタの値が加算されるようにしてもよい。   In the above content recording method, the number of bits corresponding to the count range of the temporary counter corresponds to a range smaller than the entire range of the content, and an offset counter is provided to compensate for the shortage of the number of bits of the temporary counter. In the internal count value setting means that uses the count value of the temporary counter as the internal count value, the value of the offset counter may be added to the internal counter value.

本発明の第5の観点によれば、記録の開始時に、一時カウンタを生成する一時カウンタ生成手段と、前記一時カウンタを初期化する一時カウンタ初期化手段と、前記一時カウンタの初期化の位置までコンテンツをシークするコンテンツシーク手段と、暗号化シードを生成する手段と、前記暗号化シードを暗号鍵シード記憶部に格納する暗号化シード格納手段と、内部カウンタを初期値にする内部カウンタ初期化手段と、前記暗号化シードと前記初期値の内部カウンタとを基に暗号鍵を生成する暗号鍵初期化手段と、前記初期化の位置から前記コンテンツの記録を繰り返す第1繰返し手段と、カウンタ類の処理を繰り返す第2繰返し手段と、前記第2繰返し手段の動作の後に動作する前記一時カウンタを削除する一時カウンタ削除手段と、を備え、前記第1繰返し手段は、暗号鍵更新のタイミングが来た時に、コンテンツの経過時間を表す経過カウンタの値を前記内部カウンタに設定する手段と、暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除した余りを前記一時カウント値とする手段と、暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除して切り捨てて得た整数値に一時カウンタのビット数を乗じて得た値をオフセット値とする手段と、暗号鍵更新のタイミングが来た時に、更に、前記暗号化シードと更新された内部カウンタを基に新たな暗号鍵を生成する暗号鍵生成手段と、現在の前記暗号鍵でコンテンツを暗号化するコンテンツ暗号化手段と、暗号化されたコンテンツに前記内部カウンタの値を挿入する内部カウンタ挿入手段と、
暗号化され、且つ、内部カウンタが挿入されたコンテンツを記録媒体に格納するコンテンツ格納手段と、を備え、前記第2繰返し手段は、暗号鍵更新のタイミングが来た時に、コンテンツの経過時間を表す経過カウンタの値を前記内部カウンタに設定する手段と、暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除した余りを前記一時カウント値とする手段と、暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除して切り捨てて得た整数値に一時カウンタのビット数を乗じて得た値をオフセット値とする手段と、を備えることを特徴とするコンテンツ記録方法が提供される。
According to the fifth aspect of the present invention, at the start of recording, a temporary counter generating means for generating a temporary counter, a temporary counter initializing means for initializing the temporary counter, and a position for initializing the temporary counter. Content seek means for seeking content, means for generating an encryption seed, encryption seed storage means for storing the encryption seed in an encryption key seed storage unit, and internal counter initialization means for initializing an internal counter An encryption key initialization means for generating an encryption key based on the encryption seed and the internal counter of the initial value, a first repetition means for repeating the recording of the content from the initialization position, Second repeating means for repeating the process; and temporary counter deleting means for deleting the temporary counter that operates after the operation of the second repeating means. The first repeating means includes a means for setting a value of an elapsed counter indicating an elapsed time of content in the internal counter when an encryption key update timing has come, and an encryption key update timing, Obtained by dividing the internal counter by the number of bits of the temporary counter as the temporary count value, and when the encryption key update timing comes, further dividing the internal counter by the number of bits of the temporary counter Means that uses the value obtained by multiplying the integer value by the number of bits of the temporary counter as an offset value, and when the encryption key update timing arrives, a new cipher is created based on the encryption seed and the updated internal counter. An encryption key generation means for generating a key; a content encryption means for encrypting content with the current encryption key; and a value of the internal counter for the encrypted content. An internal counter insertion means for entering,
Content storing means for storing the encrypted content with the internal counter inserted in a recording medium, and the second repeating means indicates the elapsed time of the content when the timing of updating the encryption key comes A means for setting a value of an elapsed counter in the internal counter; a means for setting a remainder obtained by dividing the internal counter by the number of bits of the temporary counter when the timing for updating the encryption key comes; And means for setting an offset value to a value obtained by multiplying the integer value obtained by dividing the internal counter by the number of bits of the temporary counter and rounding it down when the update timing comes. A content recording method is provided.

上記のコンテンツ記録方法において、前記一時カウンタは、カウント範囲分の数のビットを備え、前記一時カウンタの初期化とは、初期化値に対応した数のビットを第1の値にして残りのビットを第2の値にする処理であり、前記一時カウンタの更新とは、1つのビットを第1の値から第2の値に変化させる処理であるようにしてもよい。   In the above content recording method, the temporary counter includes a number of bits corresponding to a count range, and the initialization of the temporary counter means that the number of bits corresponding to the initialization value is set to a first value and the remaining bits The temporary counter update may be a process of changing one bit from the first value to the second value.

上記のコンテンツ記録方法において、前記記録の開始時に、一時カウンタが存在する場合に、暗号鍵更新のタイミングが来た時に、コンテンツの経過時間を表す経過カウンタの値を前記内部カウンタに設定する手段と、暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除した余りを前記一時カウント値とする手段と、暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除して切り捨てて得た整数値に一時カウンタのビット数を乗じて得た値をオフセット値とする手段と、を更に備え、それらの手段の動作の後に、前記暗号鍵生成手段が動作するようにしてもよい。   In the above content recording method, means for setting a value of an elapsed counter indicating an elapsed time of the content in the internal counter when an encryption key update timing comes when a temporary counter exists at the start of the recording; When the encryption key update timing comes, further, a means for setting the remainder obtained by dividing the internal counter by the number of bits of the temporary counter as the temporary count value; and when the encryption key update timing comes, Means for multiplying the integer value obtained by dividing by dividing by the number of bits of the temporary counter and the number of bits of the temporary counter as an offset value, and after the operation of these means, the encryption key The generation means may operate.

本発明の第6の観点によれば、コンテンツの記録が開始された時に始まり、前記コンテンツの記録が終了してから所定時間経過した時に終了する期間に存在し、該期間では、前記コンテンツの始まりからの経過時間を表す一時カウンタが現在実際に存在する場合にのみコンテンツ再生手段が動作し、前記コンテンツ再生手段は、一時カウンタのカウント値を読み出す一時カウント読出し手段と、読み出された一時カウンン値を内部カウント値とする内部カウント値設定手段と、前記コンテンツの現在位置に挿入されているカウント値が前記内部カウント値からタイムシフト許容時間に対応するカウントだけ減じた値未満であれば、前記コンテンツの現在位置に挿入されているカウント値が前記内部カウント値からタイムシフト許容時間に対応するカウントだけ減じた値になるまで、前記コンテンツをシークするシーク手段と、前記コンテンツの現在位置からカウント値を読み出すカウント読出し手段と、前記カウント値を用いて前記コンテンツの暗号解読を行い、暗号解読後のコンテンツを出力するコンテンツ出力手段と、を備えることを特徴とするコンテンツ再生方法が提供される。   According to a sixth aspect of the present invention, there is a period that starts when content recording starts and ends when a predetermined time elapses after the content recording ends, in which the start of the content starts. The content playback means operates only when a temporary counter that represents the elapsed time from the actual time is presently present, and the content playback means includes a temporary count read means for reading the count value of the temporary counter, and the read temporary count value If the count value inserted at the current position of the content is less than a value obtained by subtracting the count corresponding to the time shift allowable time from the internal count value, the content The count value inserted at the current position corresponds to the time shift allowable time from the internal count value Until the value is reduced by a certain count, the seek means for seeking the content, the count reading means for reading the count value from the current position of the content, and decrypting the content using the count value, There is provided a content reproduction method comprising content output means for outputting subsequent content.

上記のコンテンツ再生方法において、前記一時カウンタのみでは、前記コンテンツの全範囲を扱うことができず、前記内部カウント値設定手段では、読み出された一時カウント値に何度目の内部カウント値の利用であるかの回数に対応するオフセット値を加算した値を前記内部カウント値とすることを特徴とするコンテンツ再生方法。   In the above content reproduction method, the entire range of the content cannot be handled only by the temporary counter, and the internal count value setting means can use the internal count value for the read temporary count value. A content reproduction method characterized in that a value obtained by adding an offset value corresponding to a certain number of times is used as the internal count value.

本発明の第7の観点によれば、一度、記録されたコンテンツが転送される時に、コンテンツの始点から現在の転送箇所までの量に応じて、第1の値から第2の値に変化したビットの累積数を変化させ、該ビットの累積数に対応した箇所よりも前の部分の再生及び再度の転送を禁止するようにしたことを特徴とするコピーワンスのコンテンツの制御方法が提供される。   According to the seventh aspect of the present invention, when the recorded content is once transferred, the first value is changed to the second value according to the amount from the start point of the content to the current transfer location. There is provided a copy-once content control method characterized by changing the cumulative number of bits and prohibiting reproduction and re-transmission of a portion before the portion corresponding to the cumulative number of bits.

上記のコピーワンスのコンテンツの制御方法において、前記ビットを不揮発性メモリに格納し、前記転送が中断された後であっても、前記不揮発性メモリから前記ビットを読み出すことにより、変化したビットの累積数を把握できるようにして、それにより、該ビットの累積数に対応した箇所よりも前の部分の前記再生及び転送の禁止ができるようにしてもよい。   In the copy-once content control method, the cumulative number of bits changed by storing the bits in a nonvolatile memory and reading the bits from the nonvolatile memory even after the transfer is interrupted. So that the reproduction and transfer of the portion before the portion corresponding to the cumulative number of bits may be prohibited.

本発明の第8の観点によれば、一度、コンテンツが記録される時に、コンテンツの始点から現在の記録箇所までの量に応じて、第1の値から第2の値に変化したビットの累積数を変化させ、該ビットの累積数に対応した箇所よりも所定時間前の部分の再生を禁止するようにしたことを特徴とするコピーネバーのコンテンツのタイムシフト再生方法が提供される。   According to the eighth aspect of the present invention, once content is recorded, the accumulation of bits changed from the first value to the second value according to the amount from the start point of the content to the current recording location. There is provided a method for time-shifted reproduction of copy never content, wherein the number is changed and reproduction of a portion of a predetermined time before the portion corresponding to the cumulative number of bits is prohibited.

上記のコピーネバーのコンテンツのタイムシフト再生方法において、前記ビットを不揮発性メモリに格納するようにしてもよい。   In the above-described method for time-shift reproduction of copy never content, the bit may be stored in a nonvolatile memory.

本発明によれば、コンテンツの所定期間毎に変化する暗号鍵を生成する暗号鍵生成ステップと、前記コンテンツの各所定期間毎の部分をその部分に対応した暗号鍵で暗号化する暗号化ステップと、前記コンテンツの各所定期間毎の暗号鍵に対応するパラメータを、前記コンテンツのその所定期間の部分に挿入するパラメータ挿入ステップと、前記暗号化ステップで暗号化され、前記パラメータ挿入ステップで前記パラメータが挿入されたコンテンツを記録媒体に記録するコンテンツ記録ステップと、を備えるので、前記パラメータを利用して、コピーワンスの制御を行うことが可能となる。   According to the present invention, an encryption key generating step for generating an encryption key that changes for each predetermined period of content, and an encryption step for encrypting a part for each predetermined period of the content with an encryption key corresponding to that part, , The parameter corresponding to the encryption key for each predetermined period of the content is inserted into the part of the predetermined period of the content, the parameter is encrypted in the encryption step, and the parameter is And a content recording step of recording the inserted content on a recording medium. Therefore, it is possible to perform copy-once control using the parameters.

以下、図面を参照して本発明を実施するための最良の形態について詳細に説明する。   The best mode for carrying out the present invention will be described below in detail with reference to the drawings.

[実施形態1]
コピーワンスのコンテンツを記録する場合のコピーコントロール対応コンテンツ記録/再生装置の構成について図1を参照して説明する。
[Embodiment 1]
The configuration of a copy control-compatible content recording / reproducing apparatus for recording copy-once content will be described with reference to FIG.

記録媒体101には、暗号化部105で処理されたコンテンツが格納される。記録媒体101は、例えば、ハードディスクドライブである。   The recording medium 101 stores content processed by the encryption unit 105. The recording medium 101 is, for example, a hard disk drive.

入力部103は、コンテンツを入力するとともに、コンテンツから時間情報を読み出したり、現在までのコンテンツの容量を測定したりする。   The input unit 103 inputs content, reads time information from the content, and measures the capacity of the content up to now.

暗号化部105は、暗号鍵記憶部117に格納されている暗号鍵を用いて、入力部103から供給されたコンテンツを暗号化すると共に、コンテンツに内部カウンタ115aの値を埋め込む。例えば、コンテンツがMPEG形式であれば、GOP先頭のプライベートストリーム内にカウンタ値を埋め込む。   The encryption unit 105 encrypts the content supplied from the input unit 103 using the encryption key stored in the encryption key storage unit 117, and embeds the value of the internal counter 115a in the content. For example, if the content is in MPEG format, a counter value is embedded in the private stream at the beginning of the GOP.

暗号鍵シード生成部111は、乱数などを利用して暗号鍵のシードを生成する。   The encryption key seed generation unit 111 generates an encryption key seed using a random number or the like.

暗号鍵シード記憶部113は、暗号鍵シード及びカウンタ値を記憶する。   The encryption key seed storage unit 113 stores the encryption key seed and the counter value.

暗号鍵シード記憶部113は、不揮発性メモリ131に設けられている。不揮発性メモリとしては、たとえば、フラッシュEEPROM等が利用される。   The encryption key seed storage unit 113 is provided in the nonvolatile memory 131. As the nonvolatile memory, for example, a flash EEPROM or the like is used.

カウンタ管理部115は、カウンタに関連した処理を行い、内部にも自己のカウンタ(以下、「内部カウンタ」といい、符号115aを付す。)を有する。   The counter management unit 115 performs processing related to the counter, and also has its own counter (hereinafter referred to as “internal counter”, denoted by reference numeral 115a).

暗号鍵記憶部117は、暗号鍵生成部121により生成された暗号鍵を格納する。   The encryption key storage unit 117 stores the encryption key generated by the encryption key generation unit 121.

暗号鍵記憶部117は、通常は、RAM等の揮発性メモリ135に設けられるが、不揮発性メモリに設けられてもよい。   The encryption key storage unit 117 is normally provided in a volatile memory 135 such as a RAM, but may be provided in a nonvolatile memory.

暗号解読部107は、記録媒体101から暗号化されているコンテンツ及びこれに付加されているカウントを読み出し、このカウントと暗号鍵シードから暗号鍵生成部121により生成された暗号鍵によりコンテンツの暗号解読を行う。   The decryption unit 107 reads the encrypted content from the recording medium 101 and the count added thereto, and decrypts the content using the encryption key generated by the encryption key generation unit 121 from this count and the encryption key seed. I do.

出力部109は、コンテンツの再生の場合には、暗号解読されたコンテンツをモニタ等に出力し、コンテンツの移動の場合には、一度暗号解読されたコンテンツを再度何かしらの方法で暗号化して、それをコンテンツ記録側装置に出力する。   The output unit 109 outputs the decrypted content to a monitor or the like in the case of reproducing the content, and in the case of moving the content, encrypts the decrypted content once again by some method, Is output to the content recording side device.

コピーワンスのコンテンツを記録する場合のコピーコントロール対応コンテンツ記録/再生装置の動作について図2を参照して説明する。   The operation of the copy control-compatible content recording / playback apparatus when recording copy-once content will be described with reference to FIG.

まず、暗号鍵シード生成部111は、暗号鍵シードを生成し(ステップS201)、これを暗号鍵シード記憶部113に格納する(ステップS203)。   First, the encryption key seed generation unit 111 generates an encryption key seed (step S201) and stores it in the encryption key seed storage unit 113 (step S203).

次に、カウンタ管理部115は、内部カウンタ115aの値をゼロに初期化し(ステップS205)、これを暗号鍵シード記憶部113に格納する(ステップS207)。   Next, the counter management unit 115 initializes the value of the internal counter 115a to zero (step S205) and stores it in the encryption key seed storage unit 113 (step S207).

次に、暗号鍵生成部121は、暗号鍵シード記憶部113に格納されている暗号鍵シードと内部カウンタ115aが保持しているゼロの値を基に、最初の暗号鍵を生成する(ステップS209)。生成された暗号鍵は、暗号鍵記憶部117に格納される。   Next, the encryption key generation unit 121 generates the first encryption key based on the encryption key seed stored in the encryption key seed storage unit 113 and the zero value held by the internal counter 115a (step S209). ). The generated encryption key is stored in the encryption key storage unit 117.

次に、カウント更新タイミング検出部123は、入力部103から得られるコンテンツの時間情報等を参照して、現在のタイミングが暗号鍵を更新するタイミングであるか否かを判断する(ステップS211)。暗号鍵を更新するタイミングは、例えば、1分毎のタイミングである。このような場合、暗号鍵は、1分毎に更新されるようになる。ただし、更新のタイミングを他の長さの期間毎のタイミングとしてもよいし、コンテンツの所定容量毎のタイミング等としてもよい。   Next, the count update timing detection unit 123 refers to the time information of the content obtained from the input unit 103, and determines whether or not the current timing is a timing for updating the encryption key (step S211). The timing for updating the encryption key is, for example, every minute. In such a case, the encryption key is updated every minute. However, the update timing may be a timing for each other period, a timing for each predetermined capacity of the content, or the like.

現在のタイミングが暗号鍵を更新するタイミングであれば(ステップS211でYES)、ステップS213に進み、そうでなければステップS217に進む。   If the current timing is the timing for updating the encryption key (YES in step S211), the process proceeds to step S213, and if not, the process proceeds to step S217.

ステップS213では、カウンタ管理部115は、内部カウンタ115aの値を1だけ増加させる。次に、暗号鍵生成部121は、暗号鍵シード記憶部113に格納されている暗号鍵シードと、ステップS213で増加した内部カウンタ115aの値を基に、新たな暗号鍵を生成する(ステップS215)。生成された暗号鍵は、暗号鍵記憶部117に格納される。ステップS215からは、ステップS217に進む。   In step S213, the counter management unit 115 increases the value of the internal counter 115a by 1. Next, the encryption key generation unit 121 generates a new encryption key based on the encryption key seed stored in the encryption key seed storage unit 113 and the value of the internal counter 115a increased in step S213 (step S215). ). The generated encryption key is stored in the encryption key storage unit 117. From step S215, the process proceeds to step S217.

ステップS217では、暗号鍵記憶部117に現在格納されている暗号鍵を用いて、入力部103から入力されたコンテンツを、暗号化部105が、暗号化する。   In step S 217, the encryption unit 105 encrypts the content input from the input unit 103 using the encryption key currently stored in the encryption key storage unit 117.

次に、暗号化部105は、内部カウンタ115aに現在格納されているカウンタ値をコンテンツに埋め込む(ステップS219)。   Next, the encryption unit 105 embeds the counter value currently stored in the internal counter 115a in the content (step S219).

ステップS217及びステップS219により、暗号化され、且つ、カウント値が挿入されたコンテンツが、記録媒体101に格納される。   In step S217 and step S219, the encrypted content into which the count value is inserted is stored in the recording medium 101.

次に、記録終了するべきであるか否かを判断し(ステップS221)、そうであれば、記録を終了し、そうでなければ、ステップS211に戻り、記録を継続する。   Next, it is determined whether or not the recording should be terminated (step S221). If so, the recording is terminated. If not, the process returns to step S211 to continue the recording.

これにより、記録媒体101に格納されたコンテンツは、暗号鍵シード及び所定間隔で(例えば、1分おきに)更新されるカウンタの値に基づいて生成された暗号鍵で暗号化され、且つ、そのカウンタの値が埋め込まれたものとなる。   As a result, the content stored in the recording medium 101 is encrypted with the encryption key generated based on the encryption key seed and the counter value updated at predetermined intervals (for example, every minute), and The counter value is embedded.

また、暗号鍵シード記憶部113には、暗号鍵シード及び値がゼロのカウント値が格納されることとなる。これらは、コンテンツの識別情報と対応づけられて暗号鍵シード記憶部113に格納される。   Also, the encryption key seed storage unit 113 stores the encryption key seed and a count value of zero. These are stored in the encryption key seed storage unit 113 in association with the content identification information.

次に、コピーワンスのコンテンツを移動する場合のコピーコントロール対応コンテンツ記録/再生装置の動作について図3を参照して説明する。   Next, the operation of the copy control-compatible content recording / playback apparatus when moving copy-once content will be described with reference to FIG.

まず、カウンタ管理部115は、カウンタ一時記憶部141に当該コンテンツに対応した一時カウンタが存在するか否かを判断する(ステップS231)。この判断を行うためには、一時カウンタが設けられたならば、それに対応するコンテンツの識別情報をその一時カウンタと関連付けておくようにする。自己の識別情報に対応づけられた一時カウンタがカウンタ一時記憶部141にあれば、ステップS231での結果は肯定的となり、そうでなければ、ステップS231での結果は否定的となる。   First, the counter management unit 115 determines whether or not a temporary counter corresponding to the content exists in the counter temporary storage unit 141 (step S231). In order to make this determination, if a temporary counter is provided, the corresponding content identification information is associated with the temporary counter. If the temporary counter associated with its own identification information is in the counter temporary storage unit 141, the result in step S231 is affirmative, and otherwise, the result in step S231 is negative.

カウンタ一時記憶部141に当該コンテンツに対応した一時カウンタが存在しなければ(ステップS231でNO)、カウンタ管理部115は、カウンタ一時記憶部141に当該コンテンツに対応した一時カウンタを設け、その一時カウンタを初期化する。   If there is no temporary counter corresponding to the content in counter temporary storage unit 141 (NO in step S231), counter management unit 115 provides a temporary counter corresponding to the content in counter temporary storage unit 141, and the temporary counter Is initialized.

ここで、カウンタ一時記憶部141は、暗号鍵シード記憶部113と同様に、不揮発性メモリ131に設けられている。不揮発性メモリとしては、たとえば、フラッシュEEPROM等が利用される。   Here, the counter temporary storage unit 141 is provided in the nonvolatile memory 131 in the same manner as the encryption key seed storage unit 113. As the nonvolatile memory, for example, a flash EEPROM or the like is used.

暗号鍵シード記憶部113に格納されるカウント値及び内部カウンタ115aでカウントされるカウント値は、2進法でエンコードされたものであることが通常である。これに対し、カウンタ一時記憶部141に設けられた一時カウンタのカウント値は、デコードされた状態のものである。例えば、コンテンツが2時間の映画であり、1分毎に暗号鍵を更新することとすれば、ゼロから119までカウントする必要がでてくる。このために、一時カウンタを120ビットで構成し、1ビットが1分に対応するようにする。特に、不揮発性メモリがNOR型のフラッシュEEPROMである場合を考慮し、当該コンテンツに対応する一時カウンタを新たに設け、それを初期化する場合には、まず、120ビットの領域を不揮発性メモリから確保し、それを当該コンテンツに対応付け、更に120ビット全部を1に初期化する。そして、後述するように、一時カウンタを更新する場合には、順々にビットの値を1からゼロに変化させる。例えば、初期状態では、一時カウンタは、「11・・・・1」(オール1)であるが、移動が1分経過した時には、一時カウンタは、「011・・・1」となり、それから移動が1分経過したときには、一時カウンタは、「001・・・1」となる。コンテンツの最後で一時カウンタが「000・・・0」(オールゼロ)となるまで、このような更新が続けられる。   The count value stored in the encryption key seed storage unit 113 and the count value counted by the internal counter 115a are usually encoded in binary. In contrast, the count value of the temporary counter provided in the counter temporary storage unit 141 is in a decoded state. For example, if the content is a two-hour movie and the encryption key is updated every minute, it is necessary to count from zero to 119. For this purpose, the temporary counter is configured with 120 bits so that one bit corresponds to one minute. In particular, in consideration of the case where the nonvolatile memory is a NOR type flash EEPROM, when a temporary counter corresponding to the content is newly provided and initialized, a 120-bit area is first removed from the nonvolatile memory. Secure it, associate it with the content, and initialize all 120 bits to 1. As will be described later, when the temporary counter is updated, the value of the bit is changed from 1 to zero sequentially. For example, in the initial state, the temporary counter is “11... 1” (all 1), but when the movement has elapsed for 1 minute, the temporary counter becomes “011. When one minute has elapsed, the temporary counter becomes “001... 1”. Such updating is continued until the temporary counter reaches “000... 0” (all zeros) at the end of the content.

一時カウンタを、仮に2進数でエンコードされた数値を表すものとすると、不揮発性メモリの書き換えの回数が増加してしまう。これに対し、本発明によれば、一時カウンタを上記のようなものとすることにより、書き換えの回数を減らすことが可能となる。   If the temporary counter represents a numerical value encoded in binary, the number of rewrites of the nonvolatile memory increases. On the other hand, according to the present invention, the number of rewrites can be reduced by setting the temporary counter as described above.

但し、コンテンツの移動がコンテンツの最後まで行われずに、コンテンツの移動が正常に中断されると、後述するステップ247からステップS249及びステップS251に進む。この場合にステップS251で、一時カウンタが破棄されている場合には、ステップS231での判断結果は否定的となり、ステップS233に進む。この場合の、ステップS233での一時カウンタの初期化は、現在、暗号鍵シード記憶部113に格納されているカウント値による初期化である。この際には、2進数のデコードが伴う。つまり、暗号鍵シード記憶部113に2進数で格納されているカウント値をゼロのビット数にデコードして、デコードの結果を一時カウンタに設定する。現在、暗号鍵シード記憶部113に格納されているカウント値は、前回ステップS249で暗号鍵シード記憶部113に格納されたカウント値である。   However, if the movement of content is normally interrupted without moving the content to the end of the content, the process proceeds from step 247 to step S249 and step S251 described later. In this case, if the temporary counter is discarded in step S251, the determination result in step S231 is negative, and the process proceeds to step S233. In this case, initialization of the temporary counter in step S233 is initialization using the count value currently stored in the encryption key seed storage unit 113. This involves binary decoding. That is, the count value stored in binary number in the encryption key seed storage unit 113 is decoded to the number of bits of zero, and the decoding result is set in the temporary counter. The count value currently stored in the encryption key seed storage unit 113 is the count value stored in the encryption key seed storage unit 113 in the previous step S249.

フローチャートに戻り、ステップS233の次に、ステップS234に進み、ここで、初期化の位置までコンテンツをシーク(seek)する。つまり、コンテンツに付加されているカウント値が一時カウンタの初期化の値と一致するまで、コンテンツの早送りを続ける。無論、コンテンツの移動の開始の場合には、一時カウンタの初期化の値はゼロであるので、コンテンツの位置は先頭位置に留まる。   Returning to the flowchart, after step S233, the process proceeds to step S234, where the content is seeked to the initialization position. That is, the fast-forwarding of the content is continued until the count value added to the content matches the initialization value of the temporary counter. Of course, in the case of starting the movement of the content, since the initialization value of the temporary counter is zero, the content position remains at the head position.

他方、カウンタ一時記憶部141に当該コンテンツに対応した一時カウンタが存在すれば(ステップS231でYES)、カウンタ管理部115は、カウンタ一時記憶部141に在る当該コンテンツに対応した一時カウンタのカウント値を、暗号鍵シード記憶部113に格納する(ステップS235)。この際には、一時カウンタのゼロのビット数を二進数にエンコードし、エンコードの結果を暗号鍵シード記憶部113に格納する。ステップS235で暗号鍵シード記憶部113に一時カウンタのカウント値を格納することにより、暗号鍵シード記憶部113に格納されているカウント値を更新することは、後に説明するように、移動済みの部分の再生を禁止することにつながる。   On the other hand, if there is a temporary counter corresponding to the content in the counter temporary storage unit 141 (YES in step S231), the counter management unit 115 counts the temporary counter corresponding to the content in the counter temporary storage unit 141. Is stored in the encryption key seed storage unit 113 (step S235). At this time, the number of zero bits of the temporary counter is encoded into a binary number, and the result of the encoding is stored in the encryption key seed storage unit 113. The update of the count value stored in the encryption key seed storage unit 113 by storing the count value of the temporary counter in the encryption key seed storage unit 113 in step S235 will be described later. Will be prohibited from playing.

次に、カウンタ値の位置までコンテンツをシーク(seek)する(ステップS236)。このためには、コンテンツに付加されているカウント値が一時カウンタのカウント値と一致するまで、コンテンツの早送りを続ける。ステップS231でYESとなるのは、コンテンツの移動が何かしらの理由でステップS249及びS251を経由しないで、中断され、それを再開する場合である。何かしらの理由としては、例えば、突然の停電による移動の中断、悪意を有する者による不正な突然の電源遮断等が挙げられる。これを「異常中断」と称することにする。異常中断は、どのステップを行っている最中に行われるかが不定である。従って、異常中断が生じた場合には、ステップS249及びS251が行われず、一時カウンタが残存する。コピーワンスのコンテンツにおいては、このような場合には、移動を中断した位置より前の部分が再度移動できることがあってはならない。ステップS236を実行することにより、この再度の移動を禁止することができる。   Next, the content seeks to the position of the counter value (step S236). For this purpose, the fast-forwarding of the content is continued until the count value added to the content matches the count value of the temporary counter. YES in step S231 is a case where the movement of the content is interrupted without restarting through steps S249 and S251 for some reason and is resumed. Some reasons include, for example, suspension of movement due to a sudden power outage, unauthorized unauthorized power interruption by a malicious person, and the like. This will be referred to as “abnormal interruption”. It is undefined which step is performed during abnormal interruption. Therefore, when an abnormal interruption occurs, steps S249 and S251 are not performed and the temporary counter remains. In such a case, in the copy-once content, the part before the position where the movement is interrupted cannot be moved again. By executing step S236, this second movement can be prohibited.

ステップS234又はステップS236からステップS237に進む。   The process proceeds from step S234 or step S236 to step S237.

ステップS237では、コンテンツからカウント値を読み出す。この読出しには、カウント値に対応した部分のコンテンツの映像・音声の読み出しも含まれる。   In step S237, the count value is read from the content. This reading includes reading video / audio of the content corresponding to the count value.

次に、今回、コンテンツから読み出されたカウント値は、更新されているか否かを判断する(ステップS239)。つまり、現在の繰り返しのステップS237でコンテンツから読み出されたカウント値が、前回の繰り返しのステップS237でコンテンツから読み出されたカウント値と異なっているか否かを判断する。   Next, it is determined whether or not the count value read from the content has been updated this time (step S239). That is, it is determined whether or not the count value read from the content in the current iteration step S237 is different from the count value read from the content in the previous iteration step S237.

記録時に1分毎にカウンタ値を更新しているのであれば、コンテンツ1分毎にステップS239での判断結果が肯定的となる。   If the counter value is updated every minute during recording, the determination result in step S239 becomes affirmative for every minute of content.

ステップS239での判断結果が否定的であれば、ステップS241及びS243を経由せずに、ステップS237で読み出されたコンテンツを記録側装置に出力する(ステップS245)。   If the determination result in step S239 is negative, the content read in step S237 is output to the recording side device without going through steps S241 and S243 (step S245).

ステップS245では、次のことが行われる。   In step S245, the following is performed.

暗号鍵生成部121は、暗号鍵シード記憶部113に格納されている暗号鍵シードと、コンテンツから読み出されたカウント値を基に暗号鍵を生成し、これを暗号鍵記憶部117に格納する。暗号解読部107は、暗号鍵記憶部117に格納されている暗号鍵を用いて、記録媒体101から読み出されたコンテンツの暗号解読を行う。出力部109は、暗号解読された状態でコンテンツが出力されないように、記録側装置に対応した方法によりコンテンツを再度暗号化して、記録側装置に出力する。   The encryption key generation unit 121 generates an encryption key based on the encryption key seed stored in the encryption key seed storage unit 113 and the count value read from the content, and stores this in the encryption key storage unit 117. . The decryption unit 107 decrypts the content read from the recording medium 101 using the encryption key stored in the encryption key storage unit 117. The output unit 109 re-encrypts the content by a method corresponding to the recording-side device and outputs it to the recording-side device so that the content is not output in the decrypted state.

ステップS239での判断結果が肯定的であれば、一時カウンタを更新する(ステップS241)。この更新は、たとえば、一時カウンタのビットパターンを「0011・・・1」を「0001・・・1」にするようなものである。   If the determination result in step S239 is positive, the temporary counter is updated (step S241). This update is, for example, such that the bit pattern of the temporary counter is changed from “0011... 1” to “0001.

次に、前回ステップS243を実行した時点から今回ステップS243を実行する時点までに記録側装置に出力したコンテンツの再生を可能化するための処理を行う(ステップS243)。この可能化の処理により、初めて、記録側装置で記録されたコンテンツの再生が可能となる。   Next, a process for enabling the reproduction of the content output to the recording side device from the time when the previous step S243 is executed to the time when the current step S243 is executed is performed (step S243). By this enabling process, the content recorded by the recording side device can be reproduced for the first time.

ステップS243からは、ステップS245に進む。ステップS245についてはすでに説明した。   From step S243, the process proceeds to step S245. Step S245 has already been described.

ステップS245からは、ステップS247に進む。ステップS247では、移動終了または通常中断が行われたか否かを判断する。移動終了とは、コンテンツの末尾までの移動の終了のことである。また、通常中断とは、移動をここまでで止めたいと判断したユーザの正当な操作による中断や、記録側装置が他の用途のために利用され始めたことによる中断等のことである。通常中断は、異常中断と区別される。   From step S245, the process proceeds to step S247. In step S247, it is determined whether or not the movement has been completed or the normal interruption has been performed. The end of movement is the end of movement to the end of the content. Further, the normal interruption is an interruption due to a legitimate operation of a user who has decided to stop the movement so far, an interruption due to the start of use of the recording apparatus for other purposes, or the like. Normal interruption is distinguished from abnormal interruption.

ステップS247での判断結果が否定的である場合には、ステップS237に戻り、コンテンツの移動を継続する。   If the determination result in step S247 is negative, the process returns to step S237 to continue moving the content.

ステップS247での判断結果が肯定的である場合には、カウンタ一時記憶部141にある一時カウンタの現在のカウント値を暗号鍵シード記憶部113に格納する(ステップS249)。この際には、一時カウンタのビットパターンから2進数への変換が行われ、この変換の結果が暗号鍵シード記憶部113に格納される。これにより、暗号鍵シード記憶部113に格納されているカウント値は更新される。こうすることにより、ステップS233での一時カウンタの初期化において、移動が中断された位置に対応する値に一時カウンタが初期化されることとなる。これにより、移動の中断後に中断位置から移動を再開することが可能となる。   If the determination result in step S247 is affirmative, the current count value of the temporary counter in the counter temporary storage unit 141 is stored in the encryption key seed storage unit 113 (step S249). At this time, the bit pattern of the temporary counter is converted into a binary number, and the result of this conversion is stored in the encryption key seed storage unit 113. Thereby, the count value stored in the encryption key seed storage unit 113 is updated. By doing this, in the initialization of the temporary counter in step S233, the temporary counter is initialized to a value corresponding to the position where the movement is interrupted. As a result, the movement can be resumed from the interruption position after the movement is interrupted.

次に、カウンタ一時記憶部141から当該コンテンツに対応した一時カウンタを破棄する。ここで破棄とは、当該領域のフラッシュなど、一時カウンタのために確保した領域を初期化することでアクセス不可とする処理のことである。   Next, the temporary counter corresponding to the content is discarded from the temporary counter storage unit 141. Here, discarding is a process of making an access impossible by initializing an area reserved for a temporary counter, such as flushing the area.

なお、ステップS247で通常中断によりステップS249に進んだ場合には、ステップS251を省略してもよい。この場合には、一時カウンタがカウンタ一時記憶部141に残ることとなる。そうすると、次に、コンテンツの移動が再開された場合、ステップS231での判断結果が肯定的となる。しかし、ステップS233での初期化は、上述したとおりであるので、ステップS237まで進んだ時点では、同一の状態となる。   In addition, when it progresses to step S249 by normal interruption by step S247, you may abbreviate | omit step S251. In this case, the temporary counter remains in the counter temporary storage unit 141. Then, when the movement of the content is resumed, the determination result in step S231 becomes affirmative. However, since the initialization in step S233 is as described above, the state is the same when the process proceeds to step S237.

次に、コピーワンスのコンテンツを移動する場合のコピーコントロール対応コンテンツ記録/再生装置の動作について図4を参照して説明する。   Next, the operation of the copy control-compatible content recording / playback apparatus when moving copy-once content will be described with reference to FIG.

コピーワンスのコンテンツの全体が移動先に移動していないのであれば、そのコンテンツの全体を何度でも再生することができる。これに対し、コピーワンスのコンテンツの一部が移動先に移動した場合には、移動した部分の再生を禁止しなければならない。   If the entire copy-once content is not moved to the destination, the entire content can be reproduced any number of times. On the other hand, when a part of the copy-once content is moved to the destination, reproduction of the moved part must be prohibited.

図4に示すステップS261、S263、S267、S271、S275及びS277は、それぞれ、図3に示すステップS231、S233、S234、S235、S236及びS237に対応するので、これらの説明を省略し、図3との相違点のみを説明する。   Steps S261, S263, S267, S271, S275, and S277 shown in FIG. 4 correspond to Steps S231, S233, S234, S235, S236, and S237 shown in FIG. Only the differences will be described.

ステップS263の次に、ユーザが希望する再生開始位置が、ステップS263で設定した一時カウンタの初期値に対応した位置よりも前であるか否かを判断する(ステップS265)。   Next to step S263, it is determined whether or not the reproduction start position desired by the user is before the position corresponding to the initial value of the temporary counter set in step S263 (step S265).

そうである場合には(ステップS265でYES)、ユーザが希望する再生開始位置から再生を開始することがコピーワンスの規則に反することとなるので、ステップS267に進み、ここで、ステップS263で設定した一時カウンタの初期値に対応した位置までコンテンツの読出しを進める。   If this is the case (YES in step S265), starting playback from the playback start position desired by the user is against the copy-once rule, so the process proceeds to step S267, where the setting is made in step S263. The content reading is advanced to a position corresponding to the initial value of the temporary counter.

そうでない場合には(ステップS265でNO)、ユーザが希望する再生開始位置から再生を開始することはコピーワンスの規則に反しないので、ステップS269に進み、ここで、ユーザが希望する再生開始位置までコンテンツを進める。   Otherwise (NO in step S265), starting playback from the playback start position desired by the user does not violate the copy-once rule, so the process proceeds to step S269, where the playback start position desired by the user is reached. Advance content.

他方、ステップS271の次に、ユーザが希望する再生開始位置が、ステップS271で見た一時カウンタのカウント値に対応した位置よりも前であるか否かを判断する(ステップS273)。   On the other hand, after step S271, it is determined whether or not the reproduction start position desired by the user is before the position corresponding to the count value of the temporary counter viewed in step S271 (step S273).

そうである場合には(ステップS273でYES)、ユーザが希望する再生開始位置から再生を開始することがコピーワンスの規則に反することとなるので、ステップS275に進み、ここで、ステップS271で見た一時カウンタのカウント値に対応した位置までコンテンツの読出しを進める。   If so (YES in step S273), starting playback from the playback start position desired by the user violates the copy-once rule, so the process proceeds to step S275, where it was seen in step S271. The content reading is advanced to a position corresponding to the count value of the temporary counter.

そうでない場合には(ステップS273でNO)、ユーザが希望する再生開始位置から再生を開始することはコピーワンスの規則に反しないので、ステップS269に進み、ここで、ユーザが希望する再生開始位置までコンテンツを進める。   If not (NO in step S273), starting playback from the playback start position desired by the user does not violate the copy-once rule, so the process proceeds to step S269, where the playback start position desired by the user is reached. Advance content.

ステップS267、S269又はS275からはステップS277に進み、ここからコンテンツの再生を開始する。   From step S267, S269 or S275, the process proceeds to step S277, where the reproduction of the content is started.

ステップS279では、次のことが行われる。   In step S279, the following is performed.

暗号鍵生成部121は、暗号鍵シード記憶部113に格納されている暗号鍵シードと、コンテンツから読み出されたカウント値を基に暗号鍵を生成し、これを暗号鍵記憶部117に格納する。暗号解読部107は、暗号鍵記憶部117に格納されている暗号鍵を用いて、記録媒体101から読み出されたコンテンツの暗号解読を行う。出力部109は、暗号解読されたコンテンツを出力装置に出力する。   The encryption key generation unit 121 generates an encryption key based on the encryption key seed stored in the encryption key seed storage unit 113 and the count value read from the content, and stores this in the encryption key storage unit 117. . The decryption unit 107 decrypts the content read from the recording medium 101 using the encryption key stored in the encryption key storage unit 117. The output unit 109 outputs the decrypted content to the output device.

ステップS279からは、ステップS281に進む。ステップS281では、再生終了または再生の通常中断が行われたか否かを判断する。再生終了とは、コンテンツの末尾までの再生の終了のことである。また、再生中断とは、コンテンツの途中までの再生の終了のことである。   From step S279, the process proceeds to step S281. In step S281, it is determined whether or not the reproduction end or the normal interruption of the reproduction has been performed. The end of playback is the end of playback to the end of the content. Also, the reproduction interruption is the end of reproduction to the middle of the content.

[実施形態2]
次に、コピーネバーのコンテンツをタイムシフト再生のために記録する場合のコピーコントロール対応コンテンツ記録/再生装置の動作について図5及び図6を参照して説明する。
[Embodiment 2]
Next, the operation of the copy control compatible content recording / reproducing apparatus when recording the content of the copy never for time shift reproduction will be described with reference to FIG. 5 and FIG.

タイムシフト再生においては、コンテンツの各部は、それを受信してから所定時間(たとえば、90分)以内であれば再生可能としなければならないが、それ以上の時間が経過していれば、再生禁止としなければならない。   In time-shifted playback, each part of the content must be playable within a predetermined time (for example, 90 minutes) after it is received, but playback is prohibited if more time has passed. And shall be.

まず、カウンタ管理部115は、カウンタ一時記憶部141に一時カウンタが存在するか否かを判断する(ステップS301)。   First, the counter management unit 115 determines whether or not a temporary counter exists in the counter temporary storage unit 141 (step S301).

この判断結果が肯定的である場合には(ステップS301でYES)、これは、タイムシフト再生のための記録が異常中断されたことを意味する。カウンタ管理部115は、カウンタ一時記憶部141から一時カウンタの一時カウント値を読み出し(ステップS315)、暗号鍵シード記憶部113からオフセットカウント値を読み出し(ステップS317)、一時カウント値とオフセットカウント値とを加算して得た値を内部カウンタ115aに設定する。オフセットカウント値については、後述する。この時点で、内部カウンタに設定された値は、異常中断された時の経過時間に対応する。例えば、カウンタが1分毎に1だけ増加するものであり、タイムシフト再生のための記録が開始してから10分後に異常中断が発生し、それから5分後にステップS301に入った場合には、一時カウント値が10であり、オフセットカウント値が0であるので、内部カウンタには、10+0=10が設定される。また、一時カウント値の範囲が0から63であり、オフセットカウント値が、0、64、128、・・・である場合において、タイムシフト再生のための記録が開始してから110分後に異常中断が発生し、それから5分後にステップS301に入った場合には、一時カウント値が46であり、オフセットカウント値が64であるので、内部カウンタには、46+64=110が設定される。   If this determination result is affirmative (YES in step S301), this means that recording for time-shift playback has been abnormally interrupted. The counter management unit 115 reads the temporary count value of the temporary counter from the counter temporary storage unit 141 (step S315), reads the offset count value from the encryption key seed storage unit 113 (step S317), and sets the temporary count value and the offset count value. Is set in the internal counter 115a. The offset count value will be described later. At this time, the value set in the internal counter corresponds to the elapsed time at the time of abnormal interruption. For example, if the counter is incremented by 1 every minute, an abnormal interruption occurs 10 minutes after the start of recording for time-shifted reproduction, and the process enters step S301 after 5 minutes, Since the temporary count value is 10 and the offset count value is 0, 10 + 0 = 10 is set in the internal counter. Also, when the temporary count value range is 0 to 63 and the offset count value is 0, 64, 128,..., Abnormal interruption occurs 110 minutes after the start of recording for time shift playback. When the process enters step S301 after 5 minutes, the temporary count value is 46 and the offset count value is 64, so 46 + 64 = 110 is set in the internal counter.

カウンタ一時記憶部141に一時カウンタが存在しない場合には(ステップS301でNO)、これは、タイムシフト再生が異常中断されたことがないことを意味する。すなわち、タイムシフト再生のための記録がこれから始まることを意味する。   If there is no temporary counter in the temporary counter storage unit 141 (NO in step S301), this means that the time shift reproduction has not been abnormally interrupted. That is, it means that recording for time shift reproduction starts from now on.

この場合には、カウンタ一時記憶部141に当該コンテンツに対応する一時カウンタを設けて、この一時カウンタの全ビットを1に初期化する。すなわち、2進数や10進数で代わりに表現するならば、一時カウンタの値をゼロに初期化する(ステップS303)。次に、初期化の位置までコンテンツをシーク(seek)する(ステップS305)。   In this case, a temporary counter corresponding to the content is provided in the temporary counter storage unit 141, and all bits of the temporary counter are initialized to 1. That is, if it is expressed in binary or decimal instead, the value of the temporary counter is initialized to zero (step S303). Next, the content seeks to the initialization position (step S305).

次に、暗号鍵シード生成部111は、暗号鍵シードを生成し(ステップS307)、暗号鍵シード記憶部113に格納する(ステップS309)。   Next, the encryption key seed generation unit 111 generates an encryption key seed (step S307) and stores it in the encryption key seed storage unit 113 (step S309).

次に、カウンタ管理部115は、内部カウンタ115aをゼロに初期化し(ステップS311)、この値を暗号鍵シード記憶部113に格納する(ステップS313)。   Next, the counter management unit 115 initializes the internal counter 115a to zero (step S311), and stores this value in the encryption key seed storage unit 113 (step S313).

図6を参照すると、ステップS313またはステップS319からは、ステップS320に進む。   Referring to FIG. 6, from step S313 or step S319, the process proceeds to step S320.

ステップS320では、暗号鍵生成部121は、暗号鍵シード記憶部113に格納されている暗号鍵シードと、ステップS311でゼロに初期化された内部カウンタ115aの値を基に、初期の暗号鍵を生成する。生成された暗号鍵は、暗号鍵記憶部117に格納される。   In step S320, the encryption key generation unit 121 determines an initial encryption key based on the encryption key seed stored in the encryption key seed storage unit 113 and the value of the internal counter 115a initialized to zero in step S311. Generate. The generated encryption key is stored in the encryption key storage unit 117.

ステップS321では、カウント更新タイミング検出部123は、入力部103から得られるコンテンツの時間情報等を参照して、現在のタイミングが暗号鍵を更新するタイミングであるか否かを判断する(ステップS321)。暗号鍵を更新するタイミングは、例えば、1分毎のタイミングである。   In step S321, the count update timing detection unit 123 refers to the content time information obtained from the input unit 103, and determines whether or not the current timing is a timing for updating the encryption key (step S321). . The timing for updating the encryption key is, for example, every minute.

現在のタイミングが暗号鍵を更新するタイミングであれば(ステップS321でYES)、ステップS323に進み、そうでなければステップS331に進む。   If the current timing is the timing for updating the encryption key (YES in step S321), the process proceeds to step S323, and if not, the process proceeds to step S331.

ステップS323では、カウンタ管理部115は、内部カウンタ115aの値を1だけ増加させる。次に、暗号鍵生成部121は、暗号鍵シード記憶部113に格納されている暗号鍵シードと、ステップS323で増加した内部カウンタ115aの値を基に、新たな暗号鍵を生成する(ステップS325)。生成された暗号鍵は、暗号鍵記憶部117に格納される。   In step S323, the counter management unit 115 increases the value of the internal counter 115a by 1. Next, the encryption key generation unit 121 generates a new encryption key based on the encryption key seed stored in the encryption key seed storage unit 113 and the value of the internal counter 115a increased in step S323 (step S325). ). The generated encryption key is stored in the encryption key storage unit 117.

次に、一時カウンタを更新する(ステップS327)。この更新においては、現在着目しているビット(ゼロと隣接しているビットであって、値が1であるもの)をゼロにする。こうすることにより、例えば、一時カウンタは、「0011・・・11」から「0001・・・11」に変化する。   Next, the temporary counter is updated (step S327). In this update, the currently focused bit (a bit adjacent to zero and having a value of 1) is set to zero. By doing so, for example, the temporary counter changes from “0011... 11” to “0001.

次に、オフセット処理を行う(ステップS329)。ここでオフセット処理について説明する。例えば、一時カウンタのビット数を64として、カウンタが1分毎に更新されるようにすると、一時カウンタは、64分以下の長さのコンテンツを扱うことができる。しかし、一時カウンタのみでは、時間が64分を超えるコンテンツを扱うことができない。したがって、コンテンツの時間が64分を超える時には、現在の値がオールゼロである一時カウンタをオール1に変更し(「000・・・0」(64個のビットがすべてゼロである)を「111・・・1」(64個のビットがすべて1である)に変更し)、暗号鍵シード記憶部113に格納されているカウント値を64だけ増加させる。例えば、コンテンツの64分の箇所では、一時カウンタが「000・・・0」(64個のビットがすべてゼロである)であり、暗号鍵シード記憶部113に格納されているカウント値はゼロであるが、コンテンツが65分に進む時に、一時カウンタを「111・・・1」(64個のビットがすべて1である)に初期化し、暗号鍵シード記憶部113に格納されているカウント値を1にする。同様に、コンテンツの128分の箇所では、一時カウンタが「000・・・0」(64個のビットがすべてゼロである)であり、暗号鍵シード記憶部113に格納されているカウント値は1であるが、コンテンツが129分に進む時に、一時カウンタを「111・・・1」(64個のビットがすべて1である)に初期化し、暗号鍵シード記憶部113に格納されているカウント値を2にする。   Next, an offset process is performed (step S329). Here, offset processing will be described. For example, when the number of bits of the temporary counter is 64 and the counter is updated every minute, the temporary counter can handle content having a length of 64 minutes or less. However, content with a time exceeding 64 minutes cannot be handled with only a temporary counter. Therefore, when the content time exceeds 64 minutes, the temporary counter whose current value is all zeros is changed to all ones (“000... 0” (64 bits are all zeros). .. 1 ”(all 64 bits are 1)), and the count value stored in the encryption key seed storage unit 113 is increased by 64. For example, at the 64 minute portion of the content, the temporary counter is “000... 0” (all 64 bits are zero), and the count value stored in the encryption key seed storage unit 113 is zero. When the content advances to 65 minutes, the temporary counter is initialized to “111... 1” (64 bits are all 1), and the count value stored in the encryption key seed storage unit 113 is Set to 1. Similarly, at the 128-minute portion of the content, the temporary counter is “000... 0” (64 bits are all zero), and the count value stored in the encryption key seed storage unit 113 is 1. However, when the content advances to 129 minutes, the temporary counter is initialized to “111... 1” (64 bits are all 1), and the count value stored in the encryption key seed storage unit 113 Set to 2.

このようなオフセット処理を行うことにより、一時カウンタ及び暗号鍵シード記憶部113に格納されているオフセット値を利用して(両者を加算して)、コンテンツの経過時間を把握できるようになる。この計算方法は、前述したステップS319で利用されている。   By performing such an offset process, it is possible to grasp the elapsed time of the content by using the offset value stored in the temporary counter and the encryption key seed storage unit 113 (adding both). This calculation method is used in step S319 described above.

ステップS321又はステップS329からは、ステップS331に進む。   From step S321 or step S329, the process proceeds to step S331.

ステップS331では、暗号鍵記憶部117に現在格納されている暗号鍵を用いて、入力部103から入力されたコンテンツを、暗号化部105が、暗号化して、記録媒体101に格納する。   In step S <b> 331, the encryption unit 105 encrypts the content input from the input unit 103 using the encryption key currently stored in the encryption key storage unit 117 and stores the encrypted content in the recording medium 101.

次に、暗号化部105は、内部カウンタ115aに現在格納されているカウンタ値をコンテンツに埋め込む(ステップS333)。   Next, the encryption unit 105 embeds the counter value currently stored in the internal counter 115a in the content (step S333).

ステップS331及びステップS333により、暗号化され、且つ、カウント値が挿入されたコンテンツが、記録媒体101に格納される。   In step S331 and step S333, the encrypted content into which the count value is inserted is stored in the recording medium 101.

次に、記録終了するべきであるか否かを判断し(ステップS335)、そうであれば、記録を終了し、そうでなければ、ステップS321に戻り、記録を継続する。   Next, it is determined whether or not the recording should be terminated (step S335). If so, the recording is terminated. If not, the process returns to step S321 and the recording is continued.

記録が終了した後に、更に、カウンタのみについてステップS321からステップS335と同様な動作をタイムシフト可能期間だけ継続する。   After the recording is completed, the same operation as in steps S321 to S335 is continued for only the counter for the time shiftable period.

すなわち、ステップS335の判断が肯定的となったならば、暗号鍵更新を続けているとしたならば、現在時刻が暗号鍵更新のタイミングであるか否かを判断する(ステップS321B)。上記の例で言えば、1分経過するたびに、ステップS321Bでの判断結果は肯定的となる。   That is, if the determination in step S335 is affirmative, it is determined whether or not the current time is the encryption key update timing if the encryption key update is continued (step S321B). In the above example, the determination result in step S321B becomes positive every time 1 minute elapses.

ステップS321Bでの判断結果が肯定的であれば、内部カウンタ115aを1だけ更新し(ステップS323B)、一時カウンタを更新し(ステップS327B)、オフセット処理を行う(ステップS329B)。   If the determination result in step S321B is affirmative, the internal counter 115a is updated by 1 (step S323B), the temporary counter is updated (step S327B), and offset processing is performed (step S329B).

ステップS321Bの判断結果が否定的となった場合には、ステップS335Bに進む。ステップS329BからもステップS335Bに進む。   If the determination result of step S321B is negative, the process proceeds to step S335B. The process proceeds from step S329B to step S335B.

ステップS335Bでは、コンテンツの記録が終了してからタイムシフト可能期間経過したか否かを判断する。   In step S335B, it is determined whether or not a time shiftable period has elapsed since the recording of the content ended.

まだ、経過していなければ(ステップS335BでNO)、ステップS321Bに戻る。   If it has not yet elapsed (NO in step S335B), the process returns to step S321B.

経過していれば、一時カウンタをカウンタ一時記憶部141から削除し(ステップS337)、暗号鍵シード記憶部113から暗号鍵シードとカウントを削除する(ステップS339)。   If it has elapsed, the temporary counter is deleted from the temporary counter storage unit 141 (step S337), and the encryption key seed and count are deleted from the encryption key seed storage unit 113 (step S339).

これにより、記録媒体101に格納されたコンテンツは、暗号鍵シード及び所定間隔で(例えば、1分おきに)更新されるカウンタの値に基づいて生成された暗号鍵で暗号化され、且つ、そのカウンタの値が埋め込まれたものとなる。   As a result, the content stored in the recording medium 101 is encrypted with the encryption key generated based on the encryption key seed and the counter value updated at predetermined intervals (for example, every minute), and The counter value is embedded.

また、暗号鍵シード記憶部113には、暗号鍵シード及びオフセット値が格納されることとなる。これらは、コンテンツの識別情報と対応づけられて暗号鍵シード記憶部113に格納される。   In addition, the encryption key seed storage unit 113 stores the encryption key seed and the offset value. These are stored in the encryption key seed storage unit 113 in association with the content identification information.

また、一時カウンタの値とオフセット値との和は、記録継続時間を表すこととなる。   The sum of the temporary counter value and the offset value represents the recording duration.

次に、記録の中断がない場合の動作例を説明すると、まず、ステップS301からステップS303に進み、ステップS321まで進む。そして、コンテンツの記録が終了するまで、ステップS321からステップS335を繰り返す。その繰返しにおいて、例えば、1分毎にステップS323からステップS329を実行する。   Next, a description will be given of an operation example in the case where there is no interruption of recording. Steps S321 to S335 are repeated until content recording is completed. In the repetition, for example, steps S323 to S329 are executed every minute.

記録の中断がある場合には、まず、ステップS301からステップS303に進み、ステップS321まで進む。そして、ステップS321からステップS335を繰り返すが、ある繰返しにおいて、記録が中断する。そして、記録を再開するときには、ステップS301からステップS315に進み、ステップS315からステップS319を実行した後に、ステップS320に進む。そして、コンテンツの記録が終了するまで、ステップS321からステップS335を再度繰り返す。その繰返しにおいて、例えば、1分毎にステップS323からステップS329を実行する。   If there is a recording interruption, first, the process proceeds from step S301 to step S303, and then proceeds to step S321. Steps S321 to S335 are repeated, but recording is interrupted at a certain repetition. When resuming the recording, the process proceeds from step S301 to step S315, and after executing steps S315 to S319, the process proceeds to step S320. Steps S321 to S335 are repeated again until the content recording is completed. In the repetition, for example, steps S323 to S329 are executed every minute.

次に、コピーネバーのコンテンツをタイムシフト再生する場合のコピーコントロール対応コンテンツ記録/再生装置の動作について図7を参照して説明する。   Next, the operation of the copy control-compatible content recording / reproducing apparatus when the content of the copy never is time-shifted reproduced will be described with reference to FIG.

まず、カウンタ管理部115は、カウンタ一時記憶部141に、当該コンテンツに対応する一時カウンタが存在するか否かを判断する(ステップS340)。   First, the counter management unit 115 determines whether or not there is a temporary counter corresponding to the content in the counter temporary storage unit 141 (step S340).

存在しない場合には(ステップS340でNO)、既に、コンテンツの末尾から起算してもタイムシフト許容時間が経過しているので、処理を中止する。   If it does not exist (NO in step S340), since the time shift allowable time has already elapsed even from the end of the content, the processing is stopped.

存在する場合には(ステップS340でYES)、カウンタ一時記憶部141から一時カウンタの現在の値を読み出す(ステップS341)。次に、カウンタ管理部115は、暗号鍵シード記憶部113から現在のオフセット値を読み出す(ステップS343)。次に、カウンタ管理部115は、ステップS341で読み出した一時カウンタの値とステップS343で読み出したオフセット値とを加算して得た値を内部カウンタ115aに格納する(ステップS345)。これにより、記録の中断がない場合には、内部カウンタ115aの値は、コンテンツの記録を開始してからの現在の経過時間を表すこととなる。   If it exists (YES in step S340), the current value of the temporary counter is read from the counter temporary storage unit 141 (step S341). Next, the counter management unit 115 reads the current offset value from the encryption key seed storage unit 113 (step S343). Next, the counter management unit 115 stores the value obtained by adding the value of the temporary counter read in step S341 and the offset value read in step S343 in the internal counter 115a (step S345). As a result, when there is no recording interruption, the value of the internal counter 115a represents the current elapsed time from the start of content recording.

次に、暗号解読部107は、記録媒体101内のコンテンツの現在位置に埋め込まれているカウント値が、内部カウンタ115aの値からタイムシフト許容時間(例えば90分)に対応する値を減じて得た値以上になるまで、コンテンツを進める(ステップS347及びステップS349)。最初から、記録媒体101内のコンテンツの現在位置に埋め込まれているカウント値が、内部カウンタ115aの値からタイムシフト許容時間(例えば90分)に対応する値を減じて得た値以上であれば、ステップS349からステップS347に戻るようなことはない。   Next, the decryption unit 107 obtains the count value embedded at the current position of the content in the recording medium 101 by subtracting the value corresponding to the time shift allowable time (for example, 90 minutes) from the value of the internal counter 115a. The content is advanced until the value becomes equal to or greater than the specified value (steps S347 and S349). From the beginning, if the count value embedded in the current position of the content in the recording medium 101 is equal to or greater than the value obtained by subtracting the value corresponding to the time shift allowable time (for example, 90 minutes) from the value of the internal counter 115a. There is no case of returning from step S349 to step S347.

コンテンツが必要に応じて進められた後にステップS351からステップS355でのコンテンツ再生に入る。   After the content is advanced as necessary, the content reproduction from step S351 to step S355 is started.

ステップS351では、暗号解読部107がコンテンツからカウント値を読み出す。   In step S351, the decryption unit 107 reads the count value from the content.

ステップS353では、暗号鍵生成部121は、暗号鍵シード記憶部113に格納されている暗号鍵シードと、コンテンツから読み出されたカウント値を基に暗号鍵を生成し、これを暗号鍵記憶部117に格納する。暗号解読部107は、暗号鍵記憶部117に格納されている暗号鍵を用いて、記録媒体101から読み出されたコンテンツの暗号解読を行う。出力部109は、暗号解読されたコンテンツを出力装置に出力する。   In step S353, the encryption key generation unit 121 generates an encryption key based on the encryption key seed stored in the encryption key seed storage unit 113 and the count value read from the content, and uses this to generate the encryption key storage unit. 117 is stored. The decryption unit 107 decrypts the content read from the recording medium 101 using the encryption key stored in the encryption key storage unit 117. The output unit 109 outputs the decrypted content to the output device.

ステップS353からは、ステップS355に進む。ステップS355では、再生終了または再生中断が行われたか否かを判断する。再生終了とは、コンテンツの末尾までの再生の終了のことである。また、再生中断とは、コンテンツの途中までの再生の終了のことである。   From step S353, the process proceeds to step S355. In step S355, it is determined whether or not playback has been completed or playback has been interrupted. The end of playback is the end of playback to the end of the content. Also, the reproduction interruption is the end of reproduction to the middle of the content.

この動作を、1カウントが1分に対応し、コンテンツの時間が120分であり、タイムシフト許容時間が90分であり、記録の中断がない場合を例にとり説明する。   This operation will be described by taking as an example a case where one count corresponds to one minute, the content time is 120 minutes, the time shift allowable time is 90 minutes, and recording is not interrupted.

内部カウンタの値が5であれば、コンテンツの記録を開始してからの現在の経過時間は5分である。この場合には、最初にステップS347及びステップS349を実行した直後に、ステップS351に進む。従って、コンテンツの最初からタイムシフト再生が始まることとなる。つまり、コンテンツの最初の位置から5分の遅延をもってタイムシフト再生が行われることとなる。   If the value of the internal counter is 5, the current elapsed time from the start of content recording is 5 minutes. In this case, immediately after executing step S347 and step S349 for the first time, the process proceeds to step S351. Therefore, time shift playback starts from the beginning of the content. That is, time-shifted reproduction is performed with a delay of 5 minutes from the initial position of the content.

内部カウンタの値が100であれば、コンテンツの記録を開始してからの現在の経過時間は100分である。この場合には、ステップS347及びステップS349によりコンテンツの位置を100−90=10分の位置まで進めてからステップS351に進む。従って、コンテンツの10分の位置から90分の遅延をもってタイムシフト再生が行われることとなる。   If the value of the internal counter is 100, the current elapsed time from the start of content recording is 100 minutes. In this case, the content position is advanced to a position of 100−90 = 10 minutes in steps S347 and S349, and then the process proceeds to step S351. Therefore, time-shifted playback is performed with a 90-minute delay from the 10-minute position of the content.

一時カウンタが存在しており、内部カウンタの値が150であれば、コンテンツの記録を開始してからの現在の経過時間は150分である。この場合には、ステップS347及びステップS349によりコンテンツの位置を150−90=60分の位置まで進めてからステップS351に進む。従って、コンテンツの60分の位置から90分の遅延をもってタイムシフト再生が行われることとなる。   If a temporary counter exists and the value of the internal counter is 150, the current elapsed time from the start of content recording is 150 minutes. In this case, the content position is advanced to a position of 150-90 = 60 minutes in steps S347 and S349, and then the process proceeds to step S351. Therefore, time-shifted reproduction is performed with a 90-minute delay from the 60-minute position of the content.

コンテンツの記録を開始してからの現在の経過時間が210分を超える場合には、一時カウンタがない。従って、タイムシフト再生をすることは不可能となる。   If the current elapsed time from the start of content recording exceeds 210 minutes, there is no temporary counter. Therefore, it is impossible to perform time shift reproduction.

[実施形態3]
実施形態2では、タイムシフト再生のためにコンテンツの記録をしている途中で、記録が異常中断されると、それから後に記録されたコンテンツのタイムシフト許容量が増えてしまう。
[Embodiment 3]
In the second embodiment, if the recording is abnormally interrupted while the content is being recorded for time shift reproduction, the time shift allowable amount of the content recorded after that will increase.

実施形態3は、この欠点をなくし、タイムシフト再生のためにコンテンツの記録をしている途中で、記録が異常中断された場合であっても、それから後に記録されたコンテンツのタイムシフト許容量が増えないようにするものである。   The third embodiment eliminates this drawback, and even if the recording is abnormally interrupted during the recording of the content for the time shift reproduction, the time shift allowable amount of the content recorded thereafter is not reduced. It is to prevent it from increasing.

図8に実施形態3の構成を示す。図1に示す実施形態1との相違点は、経過カウンタ143が追加されている点である。   FIG. 8 shows the configuration of the third embodiment. A difference from the first embodiment shown in FIG. 1 is that a progress counter 143 is added.

経過カウンタ143は、コンテンツの開始から現在までの経過時間を計測するものである。内部にカウンタを有していてもよいし、入力部103が入力するコンテンツのタイムスタンプを参照するものであってもよい。   The elapsed counter 143 measures the elapsed time from the start of the content to the present. A counter may be provided inside, or a time stamp of content input by the input unit 103 may be referred to.

実施形態2の図5を参照して説明した記録時の動作は、図9に示すものに置き換わり、実施形態2の図6を参照して説明した再生時の動作は、図10に示すものに置き換わる。   The recording operation described with reference to FIG. 5 in the second embodiment is replaced with that shown in FIG. 9, and the reproducing operation described with reference to FIG. 6 in the second embodiment is the same as that shown in FIG. Replace.

図9に示す動作は、図5に示す動作と比較すると、ステップS315、S317及びS319がステップS363、S365及びS367に置き換わる点が異なる。   The operation shown in FIG. 9 is different from the operation shown in FIG. 5 in that steps S315, S317, and S319 are replaced with steps S363, S365, and S367.

ステップS363では、経過カウンタ143の値を内部カウンタ115aに設定する。ステップS365では、内部カウンタの値をオフセット単位(例えば、64分に対応して64という値の単位)で割った余りをカウンタ一時記憶部141に設けた一時カウント値に設定する。ステップS367では、内部カウンタの値をオフセット単位で割って切り捨てた値にオフセット単位を乗じた値をオフセット値として、それを暗号鍵シード記憶部113に格納する。   In step S363, the value of the progress counter 143 is set in the internal counter 115a. In step S365, the remainder obtained by dividing the value of the internal counter by an offset unit (for example, a unit of 64 corresponding to 64 minutes) is set as a temporary count value provided in the counter temporary storage unit 141. In step S367, a value obtained by dividing the value of the internal counter by the offset unit and rounding it down is multiplied by the offset unit, and the value is stored in the encryption key seed storage unit 113.

例えば、経過カウンタ143の値が100であり、オフセット単位が64であれば、一時カウンタの値は36となり、オフセット値は、64となる。   For example, if the value of the progress counter 143 is 100 and the offset unit is 64, the value of the temporary counter is 36 and the offset value is 64.

図10に示す動作は、図6に示す動作と比較すると、ステップS323、S325、S327及びS329がステップS369、S371、S373及びS375に置き換わる点が異なる。   The operation shown in FIG. 10 differs from the operation shown in FIG. 6 in that steps S323, S325, S327, and S329 are replaced with steps S369, S371, S373, and S375.

ステップS369、S371及びS373は、それぞれ、図9に示すステップS363、S365及びS367と同様であるので、これらの説明を省略する。   Steps S369, S371, and S373 are the same as steps S363, S365, and S367, respectively, shown in FIG.

ステップS375は、ステップS325と同様であり、ここでは、暗号鍵生成部121は、暗号鍵シード記憶部113に格納されている暗号鍵シードと、ステップS363で設定された内部カウンタ115aの値を基に、新たな暗号鍵を生成する。   Step S375 is the same as step S325. Here, the encryption key generation unit 121 uses the encryption key seed stored in the encryption key seed storage unit 113 and the value of the internal counter 115a set in step S363. In addition, a new encryption key is generated.

ステップS377、S379及びS381は、それぞれ、図9に示すステップS363、S365及びS367と同様であるので、これらの説明を省略する。   Steps S377, S379, and S381 are the same as steps S363, S365, and S367, respectively, shown in FIG.

なお、カウンタ一時記憶部141に設ける一時カウンタを1ビットずつ1からゼロに変更することと、内部カウンタのカウント値や暗号鍵シード記憶部113内のカウント値を1だけ増加させることを対応付けて説明をしたが、カウンタ一時記憶部141に設ける一時カウンタを1ビットずつ1からゼロに変更することと、内部カウンタのカウント値や暗号鍵シード記憶部113内のカウント値を1だけ減少させることに対応付けてもよい。また、一時カウンタとの1対1との対応関係が保たれている限り、2進数で1つずつ増加したり減少したりするカウンタ以外のカウンタを内部カウンタ115aとして利用してもよい。例えば、一時カウンタの実際に生じ得るすべての各ビットパターンと1対1との対応関係にある2進数を順に数えるようなカウンタを内部カウンタ115aとして利用してもよい。例えば、内部カウンタ115aとしてグレーコードのカウンタを利用してもよい。   Note that changing the temporary counter provided in the temporary counter storage unit 141 from 1 to 0 bit by bit and increasing the count value of the internal counter or the count value in the encryption key seed storage unit 113 by 1 are associated with each other. As described above, the temporary counter provided in the temporary counter storage unit 141 is changed bit by bit from 1 to zero, and the count value of the internal counter and the count value in the encryption key seed storage unit 113 are decreased by 1. You may associate. In addition, as long as the one-to-one correspondence with the temporary counter is maintained, a counter other than a counter that is incremented or decremented by one in binary may be used as the internal counter 115a. For example, a counter that sequentially counts binary numbers that have a one-to-one correspondence with all bit patterns that can actually occur in the temporary counter may be used as the internal counter 115a. For example, a gray code counter may be used as the internal counter 115a.

また、図1及び図8に示す装置は、ハードウェア、ソフトウェア又はこれらの組合せにより実現することができる。   1 and 8 can be realized by hardware, software, or a combination thereof.

本発明の実施形態1及び2によるコピーコントロール対応コンテンツ記録/再生装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a copy control-compatible content recording / reproducing apparatus according to Embodiments 1 and 2 of the present invention. FIG. 本発明の実施形態1においてコピーワンスのコンテンツを記録する方法を示すフローチャートである。4 is a flowchart showing a method for recording copy-once content in the first embodiment of the present invention. 本発明の実施形態1においてコピーワンスのコンテンツを移動する方法を示すフローチャートである。6 is a flowchart illustrating a method for moving copy-once content in the first embodiment of the present invention. 本発明の実施形態1においてコピーワンスのコンテンツを再生する方法を示すフローチャートである。4 is a flowchart illustrating a method for reproducing copy-once content in the first embodiment of the present invention. 本発明の実施形態2においてコピーネバーのコンテンツをタイムシフト再生のために記録する方法を示すフローチャート(1/2)である。It is a flowchart (1/2) which shows the method of recording the content of a copy never for time shift reproduction in Embodiment 2 of this invention. 本発明の実施形態2においてコピーネバーのコンテンツをタイムシフト再生のために記録する方法を示すフローチャート(2/2)である。It is a flowchart (2/2) which shows the method of recording the content of a copy never for time shift reproduction in Embodiment 2 of this invention. 本発明の実施形態2においてコピーネバーのコンテンツをタイムシフト再生する方法を示すフローチャートである。It is a flowchart which shows the method of carrying out time shift reproduction | regeneration of the content of a copy never in Embodiment 2 of this invention. 本発明の実施形態3によるコピーコントロール対応コンテンツ記録/再生装置の構成を示すブロック図である。It is a block diagram which shows the structure of the content recording / reproducing apparatus corresponding to copy control by Embodiment 3 of this invention. 本発明の実施形態3においてコピーネバーのコンテンツをタイムシフト再生のために記録する方法を示すフローチャート(2/2)である。It is a flowchart (2/2) which shows the method to record the content of a copy never for time shift reproduction in Embodiment 3 of this invention. 本発明の実施形態3においてコピーネバーのコンテンツをタイムシフト再生する方法を示すフローチャートである。It is a flowchart which shows the method of carrying out the time shift reproduction of the content of a copy never in Embodiment 3 of this invention.

符号の説明Explanation of symbols

101 記録媒体
103 入力部
105 暗号化部
107 暗号解読部
109 出力部
111 暗号鍵シード生成部
113 暗号鍵シード記憶部
115 カウンタ管理部
115a 内部カウンタ
117 暗号鍵記憶部
121 暗号鍵生成部
131 不揮発性メモリ
135 揮発性メモリ
141 カウンター一時記憶部
143 経過カウンタ
DESCRIPTION OF SYMBOLS 101 Recording medium 103 Input part 105 Encryption part 107 Decryption part 109 Output part 111 Encryption key seed generation part 113 Encryption key seed storage part 115 Counter management part 115a Internal counter 117 Encryption key storage part 121 Encryption key generation part 131 Non-volatile memory 135 Volatile Memory 141 Counter Temporary Storage Unit 143 Progress Counter

Claims (34)

コンテンツの所定期間毎に変化する暗号鍵を生成する暗号鍵生成ステップと、
前記コンテンツの各所定期間毎の部分をその部分に対応した暗号鍵で暗号化する暗号化ステップと、
前記コンテンツの各所定期間毎の暗号鍵に対応するパラメータを、前記コンテンツのその所定期間の部分に挿入するパラメータ挿入ステップと、
前記暗号化ステップで暗号化され、前記パラメータ挿入ステップで前記パラメータが挿入されたコンテンツを記録媒体に記録するコンテンツ記録ステップと、
を備えることを特徴とするコンテンツ記録方法。
An encryption key generation step of generating an encryption key that changes at predetermined intervals of the content;
An encryption step of encrypting a portion for each predetermined period of the content with an encryption key corresponding to the portion;
A parameter insertion step of inserting a parameter corresponding to an encryption key for each predetermined period of the content into a portion of the content for the predetermined period;
A content recording step of recording the content encrypted in the encryption step and the parameter inserted in the parameter insertion step on a recording medium;
A content recording method comprising:
請求項1に記載のコンテンツ記録方法において、
前記暗号鍵は、前記パラメータと暗号鍵シードを用いて生成されることを特徴とするコンテンツ記録方法。
The content recording method according to claim 1,
The content recording method, wherein the encryption key is generated using the parameter and an encryption key seed.
請求項1に記載のコンテンツ記録方法において、
前記暗号鍵に対応するパラメータはカウント値であることを特徴とするコンテンツ記録方法。
The content recording method according to claim 1,
The content recording method, wherein the parameter corresponding to the encryption key is a count value.
コンテンツの移動の開始時に、一時カウンタを生成する一時カウンタ生成ステップと、
前記一時カウンタを初期化する一時カウンタ初期化ステップと、
前記一時カウンタの初期化の位置まで前記コンテンツをシークするコンテンツシークステップと、
前記初期化の位置から前記コンテンツの移動を繰り返す繰返しステップと
を備え、
前記繰返しステップは、
コンテンツからパラメータを読み出すパラメータ読出しステップと、
今回の繰返しで読み出したパラメータが、前回の繰返しステップで読み出したパラメータと異なっている場合には、今回の繰返しで読み出したパラメータに対応する値に前記一時カウンタを更新し、更に、前記コンテンツの対応する所定単位部分を再生可能化するための処理を行う更新ステップと、
コンテンツの所定単位部分を読み出し、該所定単位部分を前記パラメータを用いて生成された暗号鍵で暗号解読して出力するステップと、
を備えることを特徴とするコンテンツ移動方法。
A temporary counter generation step for generating a temporary counter at the start of content movement;
A temporary counter initialization step for initializing the temporary counter;
A content seek step for seeking the content up to the initialization position of the temporary counter;
Repeating the movement of the content from the initialization position, and
The repeating step includes
A parameter reading step for reading parameters from the content;
If the parameter read in the current iteration is different from the parameter read in the previous iteration step, the temporary counter is updated to the value corresponding to the parameter read in the current iteration, and further the correspondence of the content An update step for performing processing for enabling reproduction of the predetermined unit portion to be performed;
Reading a predetermined unit portion of the content, decrypting the predetermined unit portion with an encryption key generated using the parameters, and outputting the decrypted unit portion;
A content moving method comprising:
請求項4に記載のコンテンツ移動方法において、
前記一時カウンタは、カウント範囲分の数のビットを備え、
前記一時カウンタの初期化とは、初期化値に対応した数のビットを第1の値にして残りのビットを第2の値にする処理であり、
前記一時カウンタの更新とは、1つのビットを第1の値から第2の値に変化させる処理であることを特徴とするコンテンツ移動方法。
In the content movement method of Claim 4,
The temporary counter includes a number of bits corresponding to a count range,
The initialization of the temporary counter is a process of setting the number of bits corresponding to the initialization value to the first value and the remaining bits to the second value,
The updating of the temporary counter is a process of changing one bit from a first value to a second value.
請求項5に記載のコンテンツ移動方法において、
前記繰返しステップが終了したならば、前記一時カウンタのカウント値を記憶部に格納するステップと、
前記一時カウンタを破棄するステップと、
を更に備えることを特徴とするコンテンツ移動方法。
In the content movement method of Claim 5,
If the repetition step is completed, storing the count value of the temporary counter in a storage unit;
Discarding the temporary counter;
A content moving method, further comprising:
請求項6に記載のコンテンツ移動方法において、
前記一時カウンタ初期化ステップでは、現在、前記記憶部に格納されているカウント値により、前記一時カウンタを初期化することを特徴とするコンテンツ移動方法。
The content moving method according to claim 6,
In the temporary counter initialization step, the temporary counter is initialized based on a count value currently stored in the storage unit.
請求項4に記載のコンテンツ移動方法において、
前記移動の開始時に、前記一時カウンタが存在する場合には、
前記一時カウンタのカウント値を記憶部に格納する一時カウント値格納ステップと、
前記一時カウンタのカウント値の位置まで前記コンテンツをシークする第2コンテンツシークステップと、
を更に備えることを特徴とするコンテンツ移動方法。
In the content movement method of Claim 4,
If the temporary counter is present at the start of the move,
A temporary count value storing step of storing the count value of the temporary counter in a storage unit;
A second content seek step for seeking the content to the position of the count value of the temporary counter;
A content moving method, further comprising:
コンテンツの再生の開始時に、一時カウンタを生成する一時カウンタ生成ステップと、
前記一時カウンタを初期化する一時カウンタ初期化ステップと、
前記一時カウンタの初期化の位置以降の位置までコンテンツをシークするコンテンツシークステップと、
シーク後の位置から前記コンテンツの再生を繰り返す繰返しステップと、
を備え、
前記繰返しステップは、
前記コンテンツからパラメータを読み出すパラメータ読出しステップと、
前記コンテンツの所定単位部分を読み出し、該所定単位部分を前記パラメータを用いて生成された暗号鍵で暗号解読して出力するステップと、
を備えることを特徴とするコンテンツ再生方法。
A temporary counter generation step for generating a temporary counter at the start of content playback;
A temporary counter initialization step for initializing the temporary counter;
A content seek step for seeking the content up to a position after the initialization position of the temporary counter;
A repeating step of repeating playback of the content from a position after seeking;
With
The repeating step includes
A parameter reading step of reading parameters from the content;
Reading out a predetermined unit portion of the content, decrypting the predetermined unit portion with an encryption key generated using the parameter,
A content reproduction method comprising:
請求項9に記載のコンテンツ再生方法において、
前記一時カウンタ初期化ステップでは、現在、記憶部に格納されているカウント値により、前記一時カウンタを初期化することを特徴とするコンテンツ再生方法。
The content playback method according to claim 9, wherein
In the temporary counter initialization step, the temporary counter is initialized based on the count value currently stored in the storage unit.
請求項9に記載のコンテンツ再生方法において、
前記移動の開始時に、前記一時カウンタが存在する場合には、
前記一時カウンタのカウント値を記憶部に格納する一時カウント値格納ステップと、
前記一時カウンタのカウント値の位置以降の位置までコンテンツをシークする第2コンテンツシークステップと、
を更に備えることを特徴とするコンテンツ再生方法。
The content playback method according to claim 9, wherein
If the temporary counter is present at the start of the move,
A temporary count value storing step of storing the count value of the temporary counter in a storage unit;
A second content seek step for seeking content to a position after the position of the count value of the temporary counter;
The content reproduction method further comprising:
コンテンツの記録の開始時に、一時カウンタを生成する一時カウンタ生成手段と、
前記一時カウンタを初期化する一時カウンタ初期化手段と、
前記一時カウンタの初期化の位置までコンテンツをシークするコンテンツシーク手段と、
暗号化シードを生成する手段と、
前記暗号化シードを記憶部に格納する暗号化シード格納手段と、
内部カウンタを初期値にする内部カウンタ初期化手段と、
前記暗号化シードと前記初期値の内部カウンタとを基に暗号鍵を生成する暗号鍵初期化手段と、
前記初期化の位置から前記コンテンツの記録を繰り返す第1繰返し手段と、
カウンタ類の処理を繰り返す第2繰返し手段と、
前記第2繰返し手段の動作の後に動作する前記一時カウンタを削除する一時カウンタ削除手段と、
を備え、
前記第1繰返し手段は、
暗号鍵更新のタイミングが来た時に、前記内部カウンタを更新する内部カウンタ更新手段と、
暗号鍵更新のタイミングが来た時に、更に、前記暗号化シードと更新された内部カウンタを基に新たな暗号鍵を生成する暗号鍵生成手段と、
暗号鍵更新のタイミングが来た時に、更に、前記一時カウンタを更新する一時カウンタ更新手段と、
現在の前記暗号鍵でコンテンツを暗号化するコンテンツ暗号化手段と、
暗号化されたコンテンツに前記内部カウンタの値を挿入する内部カウンタ挿入手段と、
暗号化され、且つ、内部カウンタが挿入されたコンテンツを記録媒体に格納するコンテンツ格納手段と、
を備え、
前記第2繰返し手段は、
暗号鍵更新のタイミングが来た時に、前記内部カウンタを更新する内部カウンタ更新手段と、
暗号鍵更新のタイミングが来た時に、更に、前記一時カウンタを更新する第2の一時カウンタ更新手段と、
を備えることを特徴とするコンテンツ記録方法。
Temporary counter generating means for generating a temporary counter at the start of recording of content;
Temporary counter initialization means for initializing the temporary counter;
Content seek means for seeking content up to the initialization position of the temporary counter;
Means for generating an encryption seed;
Encryption seed storage means for storing the encryption seed in a storage unit;
An internal counter initialization means for initializing the internal counter;
Encryption key initializing means for generating an encryption key based on the encryption seed and the internal counter of the initial value;
First repeating means for repeating the recording of the content from the initialization position;
A second repeating means for repeating the processing of the counters;
Temporary counter deleting means for deleting the temporary counter operating after the operation of the second repeating means;
With
The first repeating means includes
An internal counter updating means for updating the internal counter when the timing of encryption key update comes;
Encryption key generation means for generating a new encryption key based on the encryption seed and the updated internal counter when the timing of encryption key update comes,
A temporary counter update means for updating the temporary counter when an encryption key update timing comes;
Content encryption means for encrypting content with the current encryption key;
Internal counter insertion means for inserting the value of the internal counter into the encrypted content;
Content storage means for storing the encrypted content into which the internal counter is inserted in a recording medium;
With
The second repeating means includes
An internal counter updating means for updating the internal counter when the timing of encryption key update comes;
A second temporary counter updating means for updating the temporary counter when the encryption key update timing comes;
A content recording method comprising:
請求項12に記載のコンテンツ記録方法において、
前記一時カウンタは、カウント範囲分の数のビットを備え、
前記一時カウンタの初期化とは、初期化値に対応した数のビットを第1の値にして残りのビットを第2の値にする処理であり、
前記一時カウンタの更新とは、1つのビットを第1の値から第2の値に変化させる処理であることを特徴とするコンテンツ記録方法。
The content recording method according to claim 12, wherein
The temporary counter includes a number of bits corresponding to a count range,
The initialization of the temporary counter is a process of setting the number of bits corresponding to the initialization value to the first value and the remaining bits to the second value,
The updating of the temporary counter is a process of changing one bit from a first value to a second value.
請求項13に記載のコンテンツ記録方法において、
前記一時カウンタのカウント範囲分のビットの数は、コンテンツの全範囲より少ない範囲に対応しており、
前記一時カウンタのビット数の不足を補うためにオフセットカウンタが設けられ、
前記一時カウンタ更新手段と前記第2の一時カウンタ更新手段それぞれの次に動作するオフセット処理手段を更に備え、
オフセット処理手段は、
前記一時カウンタを初期化し、暗号鍵シード記憶部に格納されているカウントを変化させることを特徴とするコンテンツ記録方法。
The content recording method according to claim 13, wherein
The number of bits corresponding to the count range of the temporary counter corresponds to a range smaller than the entire range of the content,
An offset counter is provided to compensate for the shortage of the number of bits of the temporary counter,
An offset processing unit that operates next to each of the temporary counter updating unit and the second temporary counter updating unit;
The offset processing means is
A content recording method comprising: initializing the temporary counter and changing a count stored in an encryption key seed storage unit.
請求項12に記載のコンテンツ記録方法において、
前記記録の開始時に、一時カウンタが存在する場合に、
前記一時カウンタのカウント値を内部カウント値とする内部カウント値設定手段を更に備え、
前記内部カウント設定手段の動作の後に前記暗号鍵生成手段が動作することを特徴とするコンテンツ記録方法。
The content recording method according to claim 12, wherein
If there is a temporary counter at the start of the recording,
An internal count value setting means for setting the count value of the temporary counter as an internal count value;
The content recording method, wherein the encryption key generation means operates after the operation of the internal count setting means.
請求項15に記載のコンテンツ記録方法において、
前記一時カウンタのカウント範囲分のビットの数は、コンテンツの全範囲より少ない範囲に対応しており、
前記一時カウンタのビット数の不足を補うためにオフセットカウンタが設けられ、
前記一時カウンタのカウント値を内部カウント値とする内部カウント値設定手段では、更に、内部カウンタ値に前記オフセットカウンタの値が加算されることを特徴とするコンテンツ記録方法。
The content recording method according to claim 15, wherein
The number of bits corresponding to the count range of the temporary counter corresponds to a range smaller than the entire range of the content,
An offset counter is provided to compensate for the shortage of the number of bits of the temporary counter,
In the internal count value setting means which uses the count value of the temporary counter as an internal count value, the value of the offset counter is further added to the internal counter value.
記録の開始時に、一時カウンタを生成する一時カウンタ生成手段と、
前記一時カウンタを初期化する一時カウンタ初期化手段と、
前記一時カウンタの初期化の位置までコンテンツをシークするコンテンツシーク手段と、
暗号化シードを生成する手段と、
前記暗号化シードを暗号鍵シード記憶部に格納する暗号化シード格納手段と、
内部カウンタを初期値にする内部カウンタ初期化手段と、
前記暗号化シードと前記初期値の内部カウンタとを基に暗号鍵を生成する暗号鍵初期化手段と、
前記初期化の位置から前記コンテンツの記録を繰り返す第1繰返し手段と、
カウンタ類の処理を繰り返す第2繰返し手段と、
前記第2繰返し手段の動作の後に動作する前記一時カウンタを削除する一時カウンタ削除手段と、
を備え、
前記第1繰返し手段は、
暗号鍵更新のタイミングが来た時に、コンテンツの経過時間を表す経過カウンタの値を前記内部カウンタに設定する手段と、
暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除した余りを前記一時カウント値とする手段と、
暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除して切り捨てて得た整数値に一時カウンタのビット数を乗じて得た値をオフセット値とする手段と、
暗号鍵更新のタイミングが来た時に、更に、前記暗号化シードと更新された内部カウンタを基に新たな暗号鍵を生成する暗号鍵生成手段と、
現在の前記暗号鍵でコンテンツを暗号化するコンテンツ暗号化手段と、
暗号化されたコンテンツに前記内部カウンタの値を挿入する内部カウンタ挿入手段と、
暗号化され、且つ、内部カウンタが挿入されたコンテンツを記録媒体に格納するコンテンツ格納手段と、
を備え、
前記第2繰返し手段は、
暗号鍵更新のタイミングが来た時に、コンテンツの経過時間を表す経過カウンタの値を前記内部カウンタに設定する手段と、
暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除した余りを前記一時カウント値とする手段と、
暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除して切り捨てて得た整数値に一時カウンタのビット数を乗じて得た値をオフセット値とする手段と、
を備えることを特徴とするコンテンツ記録方法。
Temporary counter generating means for generating a temporary counter at the start of recording;
Temporary counter initialization means for initializing the temporary counter;
Content seek means for seeking content up to the initialization position of the temporary counter;
Means for generating an encryption seed;
Encryption seed storage means for storing the encryption seed in an encryption key seed storage unit;
An internal counter initialization means for initializing the internal counter;
Encryption key initializing means for generating an encryption key based on the encryption seed and the internal counter of the initial value;
First repeating means for repeating the recording of the content from the initialization position;
A second repeating means for repeating the processing of the counters;
Temporary counter deleting means for deleting the temporary counter operating after the operation of the second repeating means;
With
The first repeating means includes
Means for setting a value of an elapsed counter indicating the elapsed time of the content in the internal counter when the timing of encryption key update comes;
Means for setting the remainder of dividing the internal counter by the number of bits of the temporary counter as the temporary count value when the timing of encryption key update comes;
When the encryption key update timing comes, further, a means obtained by multiplying the integer value obtained by dividing the internal counter by the number of bits of the temporary counter and multiplying it by the number of bits of the temporary counter is used as an offset value;
Encryption key generation means for generating a new encryption key based on the encryption seed and the updated internal counter when the timing of encryption key update comes,
Content encryption means for encrypting content with the current encryption key;
Internal counter insertion means for inserting the value of the internal counter into the encrypted content;
Content storage means for storing the encrypted content into which the internal counter is inserted in a recording medium;
With
The second repeating means includes
Means for setting a value of an elapsed counter indicating the elapsed time of the content in the internal counter when the timing of encryption key update comes;
Means for setting the remainder of dividing the internal counter by the number of bits of the temporary counter as the temporary count value when the timing of encryption key update comes;
When the encryption key update timing comes, further, a means obtained by multiplying the integer value obtained by dividing the internal counter by the number of bits of the temporary counter and multiplying it by the number of bits of the temporary counter is used as an offset value;
A content recording method comprising:
請求項17に記載のコンテンツ記録方法において、
前記一時カウンタは、カウント範囲分の数のビットを備え、
前記一時カウンタの初期化とは、初期化値に対応した数のビットを第1の値にして残りのビットを第2の値にする処理であり、
前記一時カウンタの更新とは、1つのビットを第1の値から第2の値に変化させる処理であることを特徴とするコンテンツ記録方法。
The content recording method according to claim 17, wherein
The temporary counter includes a number of bits corresponding to a count range,
The initialization of the temporary counter is a process of setting the number of bits corresponding to the initialization value to the first value and the remaining bits to the second value,
The updating of the temporary counter is a process of changing one bit from a first value to a second value.
請求項17に記載のコンテンツ記録方法において、
前記記録の開始時に、一時カウンタが存在する場合に、
暗号鍵更新のタイミングが来た時に、コンテンツの経過時間を表す経過カウンタの値を前記内部カウンタに設定する手段と、
暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除した余りを前記一時カウント値とする手段と、
暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除して切り捨てて得た整数値に一時カウンタのビット数を乗じて得た値をオフセット値とする手段と、
を更に備え、
それらの手段の動作の後に、前記暗号鍵生成手段が動作することを特徴とするコンテンツ記録方法。
The content recording method according to claim 17, wherein
If there is a temporary counter at the start of the recording,
Means for setting a value of an elapsed counter indicating the elapsed time of the content in the internal counter when the timing of encryption key update comes;
Means for setting the remainder of dividing the internal counter by the number of bits of the temporary counter as the temporary count value when the timing of encryption key update comes;
When the encryption key update timing comes, further, a means obtained by multiplying the integer value obtained by dividing the internal counter by the number of bits of the temporary counter and multiplying it by the number of bits of the temporary counter is used as an offset value;
Further comprising
A content recording method, wherein the encryption key generating means operates after the operations of these means.
コンテンツの記録が開始された時に始まり、前記コンテンツの記録が終了してから所定時間経過した時に終了する期間に存在し、該期間では、前記コンテンツの始まりからの経過時間を表す一時カウンタが現在実際に存在する場合にのみコンテンツ再生手段が動作し、
前記コンテンツ再生手段は、
一時カウンタのカウント値を読み出す一時カウント読出し手段と、
読み出された一時カウンン値を内部カウント値とする内部カウント値設定手段と、
前記コンテンツの現在位置に挿入されているカウント値が前記内部カウント値からタイムシフト許容時間に対応するカウントだけ減じた値未満であれば、前記コンテンツの現在位置に挿入されているカウント値が前記内部カウント値からタイムシフト許容時間に対応するカウントだけ減じた値になるまで、前記コンテンツをシークするシーク手段と、
前記コンテンツの現在位置からカウント値を読み出すカウント読出し手段と、
前記カウント値を用いて前記コンテンツの暗号解読を行い、暗号解読後のコンテンツを出力するコンテンツ出力手段と、
を備えることを特徴とするコンテンツ再生方法。
It exists in a period that starts when content recording starts and ends when a predetermined time elapses after the content recording ends. In this period, a temporary counter indicating the elapsed time from the start of the content is actually The content playback means operates only when it exists in
The content reproduction means includes
Temporary count reading means for reading the count value of the temporary counter;
Internal count value setting means for setting the read temporary count value as an internal count value;
If the count value inserted at the current position of the content is less than a value obtained by subtracting the internal count value from the count corresponding to the time shift allowable time, the count value inserted at the current position of the content is Seek means for seeking the content until a value obtained by subtracting a count corresponding to the time shift allowable time from the count value;
Count reading means for reading the count value from the current position of the content;
Content output means for performing decryption of the content using the count value and outputting the decrypted content;
A content reproduction method comprising:
請求項20に記載のコンテンツ再生方法において、
前記一時カウンタのみでは、前記コンテンツの全範囲を扱うことができず、
前記内部カウント値設定手段では、読み出された一時カウント値に何度目の内部カウント値の利用であるかの回数に対応するオフセット値を加算した値を前記内部カウント値とすることを特徴とするコンテンツ再生方法。
The content reproduction method according to claim 20,
The temporary counter alone cannot handle the entire range of the content,
In the internal count value setting means, a value obtained by adding an offset value corresponding to the number of times the internal count value is used to the read temporary count value is used as the internal count value. Content playback method.
コンテンツの所定期間毎に変化する暗号鍵を生成する暗号鍵生成手段と、
前記コンテンツの各所定期間毎の部分をその部分に対応した暗号鍵で暗号化する暗号化手段と、
前記コンテンツの各所定期間毎の暗号鍵に対応するパラメータを、前記コンテンツのその所定期間の部分に挿入するパラメータ挿入手段と、
前記暗号化手段で暗号化され、前記パラメータ挿入手段で前記パラメータが挿入されたコンテンツを記録媒体に記録するコンテンツ記録手段と、
を備えることを特徴とするコンテンツ記録装置。
An encryption key generating means for generating an encryption key that changes every predetermined period of content;
An encryption means for encrypting a portion of each predetermined period of the content with an encryption key corresponding to the portion;
Parameter insertion means for inserting a parameter corresponding to an encryption key for each predetermined period of the content into a part of the content for the predetermined period;
Content recording means for recording the content encrypted by the encryption means and having the parameter inserted by the parameter insertion means on a recording medium;
A content recording apparatus comprising:
コンテンツの移動の開始時に、一時カウンタを生成する一時カウンタ生成手段と、
前記一時カウンタを初期化する一時カウンタ初期化手段と、
前記一時カウンタの初期化の位置まで前記コンテンツをシークするコンテンツシーク手段と、
前記初期化の位置から前記コンテンツの移動を繰り返す繰返し手段と
を備え、
前記繰返し手段は、
コンテンツからパラメータを読み出すパラメータ読出し手段と、
今回の繰返しで読み出したパラメータが、前回の繰返し手段で読み出したパラメータと異なっている場合には、今回の繰返しで読み出したパラメータに対応する値に前記一時カウンタを更新し、更に、前記コンテンツの対応する所定単位部分を再生可能化するための処理を行う更新手段と、
コンテンツの所定単位部分を読み出し、該所定単位部分を前記パラメータを用いて生成された暗号鍵で暗号解読して出力する手段と、
を備えることを特徴とするコンテンツ移動装置。
Temporary counter generation means for generating a temporary counter at the start of content movement;
Temporary counter initialization means for initializing the temporary counter;
Content seek means for seeking the content up to the initialization position of the temporary counter;
And repeating means for repeating the movement of the content from the initialization position,
The repeating means includes
Parameter reading means for reading parameters from the content;
If the parameter read in the current iteration is different from the parameter read in the previous iteration, the temporary counter is updated to the value corresponding to the parameter read in the current iteration, and the correspondence of the content Updating means for performing processing for enabling reproduction of the predetermined unit portion to be performed;
Means for reading out a predetermined unit portion of the content, decrypting the predetermined unit portion with an encryption key generated using the parameter,
A content moving apparatus comprising:
コンテンツの再生の開始時に、一時カウンタを生成する一時カウンタ生成手段と、
前記一時カウンタを初期化する一時カウンタ初期化手段と、
前記一時カウンタの初期化の位置以降の位置までコンテンツをシークするコンテンツシーク手段と、
シーク後の位置から前記コンテンツの再生を繰り返す繰返し手段と、
を備え、
前記繰返し手段は、
前記コンテンツからパラメータを読み出すパラメータ読出し手段と、
前記コンテンツの所定単位部分を読み出し、該所定単位部分を前記パラメータを用いて生成された暗号鍵で暗号解読して出力する手段と、
を備えることを特徴とするコンテンツ再生装置。
Temporary counter generating means for generating a temporary counter at the start of content reproduction;
Temporary counter initialization means for initializing the temporary counter;
Content seek means for seeking the content up to a position after the initialization position of the temporary counter;
Repetitive means for repeating reproduction of the content from a position after seek;
With
The repeating means includes
Parameter reading means for reading parameters from the content;
Means for reading a predetermined unit portion of the content, decrypting the predetermined unit portion with an encryption key generated using the parameters, and outputting the decrypted unit portion;
A content playback apparatus comprising:
コンテンツの記録の開始時に、一時カウンタを生成する一時カウンタ生成手段と、
前記一時カウンタを初期化する一時カウンタ初期化手段と、
前記一時カウンタの初期化の位置までコンテンツをシークするコンテンツシーク手段と、
暗号化シードを生成する手段と、
前記暗号化シードを記憶部に格納する暗号化シード格納手段と、
内部カウンタを初期値にする内部カウンタ初期化手段と、
前記暗号化シードと前記初期値の内部カウンタとを基に暗号鍵を生成する暗号鍵初期化手段と、
前記初期化の位置から前記コンテンツの記録を繰り返す第1繰返し手段と、
カウンタ類の処理を繰り返す第2繰返し手段と、
前記第2繰返し手段の動作の後に動作する前記一時カウンタを削除する一時カウンタ削除手段と、
を備え、
前記第1繰返し手段は、
暗号鍵更新のタイミングが来た時に、前記内部カウンタを更新する内部カウンタ更新手段と、
暗号鍵更新のタイミングが来た時に、更に、前記暗号化シードと更新された内部カウンタを基に新たな暗号鍵を生成する暗号鍵生成手段と、
暗号鍵更新のタイミングが来た時に、更に、前記一時カウンタを更新する一時カウンタ更新手段と、
現在の前記暗号鍵でコンテンツを暗号化するコンテンツ暗号化手段と、
暗号化されたコンテンツに前記内部カウンタの値を挿入する内部カウンタ挿入手段と、
暗号化され、且つ、内部カウンタが挿入されたコンテンツを記録媒体に格納するコンテンツ格納手段と、
を備え、
前記第2繰返し手段は、
暗号鍵更新のタイミングが来た時に、前記内部カウンタを更新する内部カウンタ更新手段と、
暗号鍵更新のタイミングが来た時に、更に、前記一時カウンタを更新する第2の一時カウンタ更新手段と、
を備えることを特徴とするコンテンツ記録装置。
Temporary counter generating means for generating a temporary counter at the start of recording of content;
Temporary counter initialization means for initializing the temporary counter;
Content seek means for seeking content up to the initialization position of the temporary counter;
Means for generating an encryption seed;
Encryption seed storage means for storing the encryption seed in a storage unit;
An internal counter initialization means for initializing the internal counter;
Encryption key initializing means for generating an encryption key based on the encryption seed and the internal counter of the initial value;
First repeating means for repeating the recording of the content from the initialization position;
A second repeating means for repeating the processing of the counters;
Temporary counter deleting means for deleting the temporary counter operating after the operation of the second repeating means;
With
The first repeating means includes
An internal counter updating means for updating the internal counter when the timing of encryption key update comes;
Encryption key generation means for generating a new encryption key based on the encryption seed and the updated internal counter when the timing of encryption key update comes,
A temporary counter update means for updating the temporary counter when an encryption key update timing comes;
Content encryption means for encrypting content with the current encryption key;
Internal counter insertion means for inserting the value of the internal counter into the encrypted content;
Content storage means for storing the encrypted content into which the internal counter is inserted in a recording medium;
With
The second repeating means includes
An internal counter updating means for updating the internal counter when the timing of encryption key update comes;
A second temporary counter updating means for updating the temporary counter when the encryption key update timing comes;
A content recording apparatus comprising:
記録の開始時に、一時カウンタを生成する一時カウンタ生成手段と、
前記一時カウンタを初期化する一時カウンタ初期化手段と、
前記一時カウンタの初期化の位置までコンテンツをシークするコンテンツシーク手段と、
暗号化シードを生成する手段と、
前記暗号化シードを暗号鍵シード記憶部に格納する暗号化シード格納手段と、
内部カウンタを初期値にする内部カウンタ初期化手段と、
前記暗号化シードと前記初期値の内部カウンタとを基に暗号鍵を生成する暗号鍵初期化手段と、
前記初期化の位置から前記コンテンツの記録を繰り返す第1繰返し手段と、
カウンタ類の処理を繰り返す第2繰返し手段と、
前記第2繰返し手段の動作の後に動作する前記一時カウンタを削除する一時カウンタ削除手段と、
を備え、
前記第1繰返し手段は、
暗号鍵更新のタイミングが来た時に、コンテンツの経過時間を表す経過カウンタの値を前記内部カウンタに設定する手段と、
暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除した余りを前記一時カウント値とする手段と、
暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除して切り捨てて得た整数値に一時カウンタのビット数を乗じて得た値をオフセット値とする手段と、
暗号鍵更新のタイミングが来た時に、更に、前記暗号化シードと更新された内部カウンタを基に新たな暗号鍵を生成する暗号鍵生成手段と、
現在の前記暗号鍵でコンテンツを暗号化するコンテンツ暗号化手段と、
暗号化されたコンテンツに前記内部カウンタの値を挿入する内部カウンタ挿入手段と、
暗号化され、且つ、内部カウンタが挿入されたコンテンツを記録媒体に格納するコンテンツ格納手段と、
を備え、
前記第2繰返し手段は、
暗号鍵更新のタイミングが来た時に、コンテンツの経過時間を表す経過カウンタの値を前記内部カウンタに設定する手段と、
暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除した余りを前記一時カウント値とする手段と、
暗号鍵更新のタイミングが来た時に、更に、内部カウンタを一時カウンタのビット数で除して切り捨てて得た整数値に一時カウンタのビット数を乗じて得た値をオフセット値とする手段と、
を備えることを特徴とするコンテンツ記録装置。
Temporary counter generating means for generating a temporary counter at the start of recording;
Temporary counter initialization means for initializing the temporary counter;
Content seek means for seeking content up to the initialization position of the temporary counter;
Means for generating an encryption seed;
Encryption seed storage means for storing the encryption seed in an encryption key seed storage unit;
An internal counter initialization means for initializing the internal counter;
Encryption key initializing means for generating an encryption key based on the encryption seed and the internal counter of the initial value;
First repeating means for repeating the recording of the content from the initialization position;
A second repeating means for repeating the processing of the counters;
Temporary counter deleting means for deleting the temporary counter operating after the operation of the second repeating means;
With
The first repeating means includes
Means for setting a value of an elapsed counter indicating the elapsed time of the content in the internal counter when the timing of encryption key update comes;
Means for setting the remainder of dividing the internal counter by the number of bits of the temporary counter as the temporary count value when the timing of encryption key update comes;
When the encryption key update timing comes, further, a means obtained by multiplying the integer value obtained by dividing the internal counter by the number of bits of the temporary counter and multiplying it by the number of bits of the temporary counter is used as an offset value;
Encryption key generation means for generating a new encryption key based on the encryption seed and the updated internal counter when the timing of encryption key update comes,
Content encryption means for encrypting content with the current encryption key;
Internal counter insertion means for inserting the value of the internal counter into the encrypted content;
Content storage means for storing the encrypted content into which the internal counter is inserted in a recording medium;
With
The second repeating means includes
Means for setting a value of an elapsed counter indicating the elapsed time of the content in the internal counter when the timing of encryption key update comes;
Means for setting the remainder of dividing the internal counter by the number of bits of the temporary counter as the temporary count value when the timing of encryption key update comes;
When the encryption key update timing comes, further, a means obtained by multiplying the integer value obtained by dividing the internal counter by the number of bits of the temporary counter and multiplying it by the number of bits of the temporary counter is used as an offset value;
A content recording apparatus comprising:
コンテンツの記録が開始された時に始まり、前記コンテンツの記録が終了してから所定時間経過した時に終了する期間に存在し、該期間では、前記コンテンツの始まりからの経過時間を表す一時カウンタが現在実際に存在する場合にのみコンテンツ再生手段が動作し、
前記コンテンツ再生手段は、
一時カウンタのカウント値を読み出す一時カウント読出し手段と、
読み出された一時カウンン値を内部カウント値とする内部カウント値設定手段と、
前記コンテンツの現在位置に挿入されているカウント値が前記内部カウント値からタイムシフト許容時間に対応するカウントだけ減じた値未満であれば、前記コンテンツの現在位置に挿入されているカウント値が前記内部カウント値からタイムシフト許容時間に対応するカウントだけ減じた値になるまで、前記コンテンツをシークするシーク手段と、
前記コンテンツの現在位置からカウント値を読み出すカウント読出し手段と、
前記カウント値を用いて前記コンテンツの暗号解読を行い、暗号解読後のコンテンツを出力するコンテンツ出力手段と、
を備えることを特徴とするコンテンツ再生装置。
It exists in a period that starts when content recording starts and ends when a predetermined time elapses after the content recording ends. In this period, a temporary counter indicating the elapsed time from the start of the content is actually The content playback means operates only when it exists in
The content reproduction means includes
Temporary count reading means for reading the count value of the temporary counter;
Internal count value setting means for setting the read temporary count value as an internal count value;
If the count value inserted at the current position of the content is less than a value obtained by subtracting the internal count value from the count corresponding to the time shift allowable time, the count value inserted at the current position of the content is Seek means for seeking the content until a value obtained by subtracting a count corresponding to the time shift allowable time from the count value;
Count reading means for reading the count value from the current position of the content;
Content output means for performing decryption of the content using the count value and outputting the decrypted content;
A content playback apparatus comprising:
一度、記録されたコンテンツが転送される時に、コンテンツの始点から現在の転送箇所までの量に応じて、第1の値から第2の値に変化したビットの累積数を変化させ、該ビットの累積数に対応した箇所よりも前の部分の再生及び再度の転送を禁止するようにしたことを特徴とするコピーワンスのコンテンツの制御方法。   Once the recorded content is transferred, the cumulative number of bits changed from the first value to the second value is changed according to the amount from the start point of the content to the current transfer location, and A copy-once content control method characterized by prohibiting reproduction and re-transfer of a portion before a portion corresponding to the cumulative number. 請求項28に記載のコピーワンスのコンテンツの制御方法において、
前記ビットを不揮発性メモリに格納し、前記転送が中断された後であっても、前記不揮発性メモリから前記ビットを読み出すことにより、変化したビットの累積数を把握できるようにして、それにより、該ビットの累積数に対応した箇所よりも前の部分の前記再生及び転送の禁止ができるようにしたことを特徴とするコピーワンスのコンテンツの制御方法。
The copy once content control method according to claim 28,
The bit is stored in a non-volatile memory, and even after the transfer is interrupted, by reading the bit from the non-volatile memory, the accumulated number of changed bits can be grasped, thereby A copy-once content control method, characterized in that the reproduction and transfer of a portion before the portion corresponding to the cumulative number of bits can be prohibited.
一度、コンテンツが記録される時に、コンテンツの始点から現在の記録箇所までの量に応じて、第1の値から第2の値に変化したビットの累積数を変化させ、該ビットの累積数に対応した箇所よりも所定時間前の部分の再生を禁止するようにしたことを特徴とするコピーネバーのコンテンツのタイムシフト再生方法。   Once the content is recorded, the cumulative number of bits changed from the first value to the second value is changed according to the amount from the start point of the content to the current recording location, and the cumulative number of bits is changed. A method of time-shift reproduction of copy never content, wherein reproduction of a portion before a predetermined time from a corresponding portion is prohibited. 請求項30に記載のコピーネバーのコンテンツのタイムシフト再生方法において、
前記ビットを不揮発性メモリに格納することを特徴とするコピーネバーのコンテンツのタイムシフト再生方法。
The time-shift playback method for copy never content according to claim 30,
A method of time-shift reproduction of copy never content, wherein the bit is stored in a non-volatile memory.
一度、記録されたコンテンツが転送される時に、コンテンツの始点から現在の転送箇所までの量に応じて、第1の値から第2の値に変化したビットの累積数を変化させ、該ビットの累積数に対応した箇所よりも前の部分の再生及び再度の転送を禁止するようにしたことを特徴とするコピーワンスのコンテンツの制御装置。   Once the recorded content is transferred, the cumulative number of bits changed from the first value to the second value is changed according to the amount from the start point of the content to the current transfer location, and A copy-once content control apparatus characterized by prohibiting reproduction and re-transfer of a portion before a portion corresponding to the cumulative number. 一度、コンテンツが記録される時に、コンテンツの始点から現在の記録箇所までの量に応じて、第1の値から第2の値に変化したビットの累積数を変化させ、該ビットの累積数に対応した箇所よりも所定時間前の部分の再生を禁止するようにしたことを特徴とするコピーネバーのコンテンツのタイムシフト再生装置。   Once the content is recorded, the cumulative number of bits changed from the first value to the second value is changed according to the amount from the start point of the content to the current recording location, and the cumulative number of bits is changed. A time-shift reproduction apparatus for copy never content, wherein reproduction of a portion before a predetermined time from a corresponding portion is prohibited. 請求項1乃至21の何れか1項又は請求項28乃至31の何れか1項に記載の方法をコンピュータに行わせるためのプログラム。   A program for causing a computer to perform the method according to any one of claims 1 to 21 or any one of claims 28 to 31.
JP2006098482A 2006-03-31 2006-03-31 Content recording method, content moving device, content reproducing method, and these devices Expired - Fee Related JP4787650B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006098482A JP4787650B2 (en) 2006-03-31 2006-03-31 Content recording method, content moving device, content reproducing method, and these devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006098482A JP4787650B2 (en) 2006-03-31 2006-03-31 Content recording method, content moving device, content reproducing method, and these devices

Publications (2)

Publication Number Publication Date
JP2007274419A true JP2007274419A (en) 2007-10-18
JP4787650B2 JP4787650B2 (en) 2011-10-05

Family

ID=38676744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006098482A Expired - Fee Related JP4787650B2 (en) 2006-03-31 2006-03-31 Content recording method, content moving device, content reproducing method, and these devices

Country Status (1)

Country Link
JP (1) JP4787650B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002304805A (en) * 2001-04-09 2002-10-18 Sony Corp Device and method for recording information to protect intangible property right, and recording medium
JP2004350249A (en) * 2003-05-26 2004-12-09 Sony Corp Signal processing method and device therefor
JP2006040245A (en) * 2004-06-24 2006-02-09 Sony Corp Information processing apparatus, information recording medium, information processing method, and computer program
JP2006093849A (en) * 2004-09-21 2006-04-06 Nec Personal Products Co Ltd Copy control method and device of content
JP2006518525A (en) * 2003-02-20 2006-08-10 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Information carrier with access information
WO2007029540A1 (en) * 2005-09-01 2007-03-15 Matsushita Electric Industrial Co., Ltd. Av data transmission device and av data reception device
WO2007046376A1 (en) * 2005-10-18 2007-04-26 Matsushita Electric Industrial Co., Ltd. Recording/reproducing device of transmitter and recording/reproducing device of receiver

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002304805A (en) * 2001-04-09 2002-10-18 Sony Corp Device and method for recording information to protect intangible property right, and recording medium
JP2006518525A (en) * 2003-02-20 2006-08-10 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Information carrier with access information
JP2004350249A (en) * 2003-05-26 2004-12-09 Sony Corp Signal processing method and device therefor
JP2006040245A (en) * 2004-06-24 2006-02-09 Sony Corp Information processing apparatus, information recording medium, information processing method, and computer program
JP2006093849A (en) * 2004-09-21 2006-04-06 Nec Personal Products Co Ltd Copy control method and device of content
WO2007029540A1 (en) * 2005-09-01 2007-03-15 Matsushita Electric Industrial Co., Ltd. Av data transmission device and av data reception device
WO2007046376A1 (en) * 2005-10-18 2007-04-26 Matsushita Electric Industrial Co., Ltd. Recording/reproducing device of transmitter and recording/reproducing device of receiver

Also Published As

Publication number Publication date
JP4787650B2 (en) 2011-10-05

Similar Documents

Publication Publication Date Title
US7298844B2 (en) Recording/reproducing apparatus, data moving method, and data deletion method
JP4750480B2 (en) Storage device and access control method for storage device
JP4139114B2 (en) Digital content management apparatus and digital content management program
US7325247B2 (en) Information management method using a recording medium with a secure area and a user-use area
US8077871B2 (en) Content processing apparatus and encryption processing method
JP5256326B2 (en) Record carrier, method for writing information on record carrier and computer system
JP4792876B2 (en) Information processing apparatus and information processing method
JP4122777B2 (en) Content recording / playback device
JP2010134578A (en) Information processing apparatus and content protection method
EP1643502A2 (en) Content management method and recording medium
KR100994772B1 (en) Method for copying and reproducing the data of storage medium
JP3818021B2 (en) Control word encryption device and control word decryption device
JP4812939B2 (en) Copy method and reading apparatus for preventing bit-to-bit duplication of digital data
JP4608931B2 (en) Information processing apparatus and method, program, and recording medium
JP4560086B2 (en) Content data recording / reproducing apparatus
JP4787650B2 (en) Content recording method, content moving device, content reproducing method, and these devices
JP2001016195A (en) Information utilization controller
JP2006093849A (en) Copy control method and device of content
JP2003022612A (en) Recording/reproducing apparatus, data moving method and data deletion method
JP2006217218A (en) Method of managing copyright key
KR101277261B1 (en) Method and apparatus for storing digital content in storage device
JP5330480B2 (en) Content management method
JPWO2008136187A1 (en) Recording apparatus, recording method, integrated circuit, and recording program
JP2007149184A (en) Recording and reproducing device and content data transfer method
JP4891015B2 (en) Digital content recording / playback device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080117

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080609

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20100913

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100913

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110314

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110420

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110620

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110705

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110715

R150 Certificate of patent or registration of utility model

Ref document number: 4787650

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140722

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140722

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140722

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees