JP4536011B2 - Data storage device and encryption key storage method - Google Patents
Data storage device and encryption key storage method Download PDFInfo
- Publication number
- JP4536011B2 JP4536011B2 JP2006008582A JP2006008582A JP4536011B2 JP 4536011 B2 JP4536011 B2 JP 4536011B2 JP 2006008582 A JP2006008582 A JP 2006008582A JP 2006008582 A JP2006008582 A JP 2006008582A JP 4536011 B2 JP4536011 B2 JP 4536011B2
- Authority
- JP
- Japan
- Prior art keywords
- encryption key
- data
- video data
- unit
- recording
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 47
- 238000013500 data storage Methods 0.000 title claims description 13
- 238000012545 processing Methods 0.000 claims description 109
- 238000012217 deletion Methods 0.000 claims description 38
- 230000037430 deletion Effects 0.000 claims description 38
- 238000012546 transfer Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Storage Device Security (AREA)
- Television Signal Processing For Recording (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
本発明は、デジタル放送やネットワークを通じて提供される映像や音声などのデータを暗号化して保存する装置に関する。 The present invention relates to an apparatus for encrypting and storing data such as video and audio provided through digital broadcasting or a network.
デジタル放送により提供される放送番組の映像データを録画することのできる装置が提供されている(特許文献1、2参照)。この種の録画装置では、著作権の関係から、録画した映像データの不正なコピーを防止するために、映像データは装置に固有の暗号鍵で暗号化されて保存されるようになっている。保存された映像データを再生するには、暗号化時に使用した暗号鍵を用いる。暗号鍵は、通常、フラッシュメモリに代表される不揮発性メモリに保存される。
最近の録画装置には、タイムシフト視聴モードが搭載されている。タイムシフト視聴モードでは、現在視聴している番組の映像データがバッファなどの一時記憶部に継続的に格納される。このタイムシフト視聴モードによる一時録画においても、映像データを暗号化するための暗号鍵が生成されて不揮発性メモリに格納される。バッファに格納された映像データは、ユーザによる保存指示がなされた場合にのみ、記憶部に保存されるようになっており、そのような保存指示がなされなかった場合には、映像データは、タイムシフト視聴モードの解除とともに自動的にバッファから削除される。このように、タイムシフト視聴モードにおいて、保存指示がなされなかった場合には、不揮発性メモリへの暗号鍵の無駄な書き込みが行われる。 Recent recording apparatuses are equipped with a time shift viewing mode. In the time shift viewing mode, the video data of the currently viewed program is continuously stored in a temporary storage unit such as a buffer. Also in the temporary recording in the time shift viewing mode, an encryption key for encrypting the video data is generated and stored in the nonvolatile memory. The video data stored in the buffer is saved in the storage unit only when a save instruction is given by the user. If no such save instruction is given, the video data It is automatically deleted from the buffer when the shift viewing mode is canceled. As described above, in the time-shift viewing mode, when no save instruction is given, useless writing of the encryption key to the nonvolatile memory is performed.
フラッシュメモリなどの不揮発性メモリには、書き換え可能な回数に制限があるため、上記のような不揮発性メモリへの暗号鍵の無駄な書き込みは、なるべく避ける必要がある。しかし、上述した従来の録画装置では、そのような不揮発性メモリへの暗号鍵の無駄な書き込みを抑制するような構成にはなっていなかった。このため、不揮発性メモリへの暗号鍵の無駄な書き込みが頻繁に行われた場合には、想定した装置の寿命前に、不揮発性メモリの書き換え回数が制限値に近付いてしまうことになる。 A nonvolatile memory such as a flash memory has a limit on the number of times it can be rewritten. Therefore, it is necessary to avoid the unnecessary writing of the encryption key to the nonvolatile memory as described above. However, the conventional recording apparatus described above has not been configured to suppress such useless writing of the encryption key to the nonvolatile memory. For this reason, when the useless writing of the encryption key to the nonvolatile memory is frequently performed, the number of times of rewriting of the nonvolatile memory approaches the limit value before the expected lifetime of the device.
本発明の目的は、上記の問題を解決し、不揮発性メモリへの暗号鍵の無駄な書き込みを抑制することのできるデータ記憶装置を提供することにある。 An object of the present invention is to provide a data storage device that solves the above-described problems and can suppress useless writing of an encryption key to a nonvolatile memory.
上記目的を達成するため、本発明は、外部から供給されたデータ(例えば放送番組の映像データ)を保存するための記憶部と、暗号鍵を生成する暗号鍵生成部と、前記暗号鍵生成部で生成された暗号鍵が格納される揮発性メモリと、前記暗号鍵を用いて、外部から供給された前記データを暗号化するデータ処理部と、を有し、前記データ処理部で暗号化されたデータが前記記憶部に格納された場合にのみ、該データの暗号化に用いた暗号鍵は前記揮発性メモリから、前記記憶部と別に設けられた不揮発性メモリに移動されることを特徴とする。 To achieve the above object, the present invention includes a storage unit for storing the data supplied from the external (e.g., video data of a broadcast program), the encryption key generation unit for generating an encryption key, said encryption key generation a volatile memory which encryption key is stored which is generated by the parts, before SL using encryption key, comprising: a data processing unit for encrypting the data supplied from the outside, the, in the data processing unit only when the encrypted data is stored in the storage unit, it is the encryption key used to encrypt the data to be moved from said volatile memory, separately in the nonvolatile memory provided with the storage unit It is characterized by.
上記の構成によれば、データの暗号化に用いた暗号鍵は一旦、データの書き換え回数に制限のない揮発性メモリに格納され、暗号化されたデータが記憶部に保存された場合にのみ、その暗号鍵が揮発性メモリから不揮発性メモリに移動される。記憶部に保存されなかったデータ(具体的には、タイムシフト視聴モードの解除とともに自動的にバッファから削除された映像データ)の暗号化に用いられた暗号鍵は、揮発性メモリから不揮発性メモリに移動されることはない。 According to the above configuration, the encryption key used for data encryption is once stored in a volatile memory with no limit on the number of data rewrites, and only when the encrypted data is stored in the storage unit. The encryption key is moved from the volatile memory to the nonvolatile memory. The encryption key used for encrypting the data that is not stored in the storage unit (specifically, the video data automatically deleted from the buffer when the time-shift viewing mode is canceled) is changed from the volatile memory to the nonvolatile memory. Will not be moved to.
また、本発明の別の態様は、外部から供給されたデータを保存するための記憶部と、外部から供給されたデータを一時的に保存するためのバッファと、暗号鍵を生成する暗号鍵生成部と、前記暗号鍵生成部で生成された暗号鍵が格納される揮発性メモリと、前記暗号鍵を用いて、外部から供給された前記データを暗号化するデータ処理部と、を有し、前記データ処理部で暗号化されたデータが前記記憶部に格納された場合は、該データの暗号化に用いた暗号鍵は前記記憶部と別に設けられた不揮発性メモリに格納され、前記データ処理部で暗号化されたデータが前記バッファに格納された場合は、該データの暗号化に用いた暗号鍵は前記揮発性メモリに格納されることを特徴とする。 Another aspect of the present invention includes a storage unit for storing the data supplied from the external, and a buffer for temporarily storing the data supplied from the outside, an encryption key to generate the encryption key a generating unit, a volatile memory in which the encryption key encryption key generated by the generator is stored, before SL using encryption key, a data processing unit for encrypting the data supplied from the outside, the has, if the encrypted by the data processing unit data has been stored in the storage unit, the encryption key used for encryption of the data is stored in provided separately from the nonvolatile memory and the storage unit, If encrypted data by the data processing unit is stored in the buffer, the encryption key used for encryption of the data is characterized in that it is stored in the volatile memory.
上記の構成においても、バッファに一時的に保存されたデータのうち、記憶部に保存されなかったデータの暗号化に用いられた暗号鍵が不揮発性メモリに格納されることはない。 Even in the above configuration, the encryption key used for encrypting the data temporarily stored in the buffer but not stored in the storage unit is not stored in the nonvolatile memory.
本発明によれば、保存されなかったデータ(例えば、タイムシフト視聴モードの解除とともに自動的にバッファから削除された映像データ)の暗号化に用いられた暗号鍵は不揮発性メモリに格納されることはないので、その分だけ、不揮発性メモリへの暗号鍵の無駄な書き込みを抑制することができる。 According to the present invention, an encryption key used for encryption of data that has not been saved (for example, video data automatically deleted from the buffer when the time-shift viewing mode is canceled) is stored in the nonvolatile memory. Therefore, useless writing of the encryption key to the nonvolatile memory can be suppressed accordingly.
次に、本発明の実施形態について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の一実施形態である録画装置の主要部の構成を示すブロック図である。図1を参照すると、この録画装置は、入力部1、録画処理部2、録画処理判断部3、記憶部4、バッファ5、暗号鍵書き込み部6、暗号鍵生成部7、揮発性メモリ8、および不揮発性メモリ9からなる。
FIG. 1 is a block diagram showing a configuration of a main part of a recording apparatus according to an embodiment of the present invention. Referring to FIG. 1, the recording apparatus includes an
入力部1は、録画装置を動作させるための操作、例えば録画モードやタイムシフト視聴モードなどの各種モードの設定や解除の操作、タイムシフト視聴モード時に一時的に格納した映像データ(一時録画データ)を保存するための操作、録画映像を削除するための操作などが行われる部分である。入力部1としては、例えば複数のボタンが設けられたリモートコントローラー(以下、単にリモコンと記す)の他、キーボードやマウスなどの入力デバイスなどがある。
The
録画モードに移行するための操作が行われると、録画指示信号および録画保存指示信号が入力部1から録画処理部2に供給される。タイムシフト視聴モードに移行するための操作が行われると、一時録画指示信号が入力部1から録画処理部2に供給される。タイムシフト視聴モード時に一時録画データを保存するための操作が行われると、暗号鍵移動信号および一時録画保存指示信号が入力部1から録画処理部2に供給される。録画した映像データを削除するための操作が行われると、録画映像削除指示信号が入力部1から録画処理部2に供給される。タイムシフト視聴モードを解除するための操作が行われると、一時録画映像削除指示信号が入力部1から録画処理部2に供給される。
When an operation for shifting to the recording mode is performed, a recording instruction signal and a recording storage instruction signal are supplied from the
録画処理部2は、入力部1からの入力を受け付けて、録画モードやタイムシフト視聴モードのモード判定を行ったり、外部から供給される映像データを記憶部4やバッファ5に格納したり、記憶部4に格納した映像データを削除したりする。外部からの映像データは、具体的には、デジタル放送用チューナーからの映像データである。バッファ5には、タイムシフト視聴モード時に映像データが一時的に格納される。記憶部4には、録画モード時に映像データが格納される他、保存指示のあった一時録画データが格納される。映像データを記憶部4やバッファ5に格納する際に、録画処理部2は、暗号鍵生成指示信号を暗号鍵生成部7に供給し、その暗号鍵生成部7で生成された暗号鍵を用いて映像データを暗号化したり、入力部1からの録画保存指示信号や一時録画保存指示信号を録画処理判断部3に転送したりする。
The recording processing unit 2 accepts an input from the
また、録画処理部2は、映像データを識別可能な映像識別情報と、その映像データを暗号化する際に用いた暗号鍵を識別可能な暗号鍵識別情報とを対応付けたテーブル情報を有しており、録画保存指示信号や一時録画保存指示信号を転送する際に、そのテーブル情報を参照して、使用した暗号鍵の暗号鍵識別情報を録画処理判断部3に供給する。さらに、録画処理部2は、入力部1からの録画映像削除指示信号に従って記憶部4に格納された映像データのうち該当する映像データを削除するとともに、上記テーブル情報を参照して、その削除した映像データの暗号化に使用した暗号鍵の暗号鍵識別情報を取得し、該取得した暗号鍵識別情報と一緒に入力部1からの録画映像削除指示信号を録画処理判断部3に供給する。さらに、録画処理部2は、入力部1からの一時録画映像削除指示信号に従ってバッファ5に格納された一時録画データを削除するとともに、上記テーブル情報を参照して、その削除した一時録画データの暗号化に使用した暗号鍵の暗号鍵識別情報を取得し、該取得した暗号鍵識別情報と一緒に入力部1からの一時録画映像削除指示信号を録画処理判断部3に供給する。
Further, the recording processing unit 2 has table information in which video identification information that can identify video data is associated with encryption key identification information that can identify an encryption key used when encrypting the video data. When the recording / saving instruction signal or the temporary recording / saving instruction signal is transferred, the table information is referred to and the encryption key identification information of the used encryption key is supplied to the recording
暗号鍵生成部7は、録画処理部2から暗号鍵生成指示信号を受信すると、暗号鍵を生成する。暗号鍵の生成には、乱数などを用いた周知の暗号鍵生成技術を適用することができる。揮発性メモリ8は、暗号鍵生成部7で生成された暗号鍵を一時的に保存するためのものである。暗号鍵生成部7は、生成した暗号鍵を、当該暗号鍵を識別可能な暗号鍵識別情報と関連付けて揮発性メモリ8に格納する。
When the encryption
録画処理判断部3は、録画保存指示信号または一時録画保存指示信号を受信した場合は、揮発性メモリ8に格納されている暗号鍵を不揮発性メモリ9に移動するための暗号鍵移動指示信号を、録画処理部2から供給された暗号鍵識別情報と一緒に、暗号鍵書き込み部6に供給する。また、録画処理判断部3は、録画映像削除指示信号を受信した場合は、不揮発性メモリ9に格納されている暗号鍵を削除するための暗号鍵削除指示信号を、録画処理部2から供給された暗号鍵識別情報と一緒に、暗号鍵書き込み部6に供給する。さらに、録画処理判断部3は、一時録画映像削除指示信号を受信した場合は、揮発性メモリ8に格納されている暗号鍵を削除するための暗号鍵削除指示信号を、録画処理部2から供給された暗号鍵識別情報と一緒に、暗号鍵書き込み部6に供給する。
When receiving the recording saving instruction signal or the temporary recording saving instruction signal, the recording
暗号鍵書き込み部6は、録画処理判断部3から暗号鍵移動指示信号および暗号鍵識別情報を受信した場合に、揮発性メモリ8に格納されている暗号鍵のうち、受信した暗号鍵識別情報に基づいて特定される暗号鍵を不揮発性メモリ9に移動する。また、暗号鍵書き込み部6は、録画処理判断部3から暗号鍵削除指示信号および暗号鍵識別情報を受信した場合に、揮発性メモリ8または不揮発性メモリ9に格納されている暗号鍵のうち、受信した暗号鍵識別情報に基づいて特定される暗号鍵を削除する。
When the encryption
不揮発性メモリ9は、フラッシュメモリに代表される半導体メモリであって、書き換え回数に制限がある。
The
次に、本実施形態の録画装置において行われる暗号鍵保存処理について説明する。以下の説明において、通常録画モードとは、録画装置の電源がオンになっており、利用者がリモコンの録画ボタン等の入力部を押下した事(録画指示信号)を受けて、録画処理部が映像データの録画(記憶部への格納)を開始する状態のことをいう。また、タイムシフト視聴モードとは、録画装置の電源がオンになっており、デジタル放送用チューナ等の外部から装置に供給される映像データを録画処理部が一時録画(バッファへの格納)を開始する状態のことをいう。このタイムシフト視聴モードに移行すると、一時録画が開始される。タイムシフト視聴モードへの移行は、入力部から一時録画指示信号を録画処理部が受信する事で行われる。予め録画処理部がどこかのメモリにタイムシフト視聴モードへの移行の有無フラグを記憶しておき、装置の電源オン後、録画処理部がメモリの有無フラグを確認し、タイムシフト視聴モードへ移行するようにしてもよい。また、タイムシフト視聴モードでは、利用者がリモコンの録画ボタン等の入力部を押下した事(一時録画保存指示信号)を受けて、録画処理部が一時録画している映像データを録画(記憶部への格納)を開始できる状態になっている。 Next, encryption key storage processing performed in the recording apparatus of the present embodiment will be described. In the following description, the normal recording mode means that the recording device is turned on and the recording processing unit receives the fact that the user has pressed the input unit such as the recording button on the remote control (recording instruction signal). It means a state in which video data recording (storage in a storage unit) is started. In the time-shift viewing mode, the recording device is turned on, and the recording processing unit starts to temporarily record (store in the buffer) video data supplied to the device from the outside such as a digital broadcasting tuner. It means the state to do. When the mode shifts to the time-shift viewing mode, temporary recording is started. The transition to the time shift viewing mode is performed when the recording processing unit receives a temporary recording instruction signal from the input unit. The recording processing unit stores a flag indicating whether or not to shift to the time-shifted viewing mode in advance in some memory, and after the device is turned on, the recording processing unit checks the presence / absence flag of the memory and shifts to the time-shifted viewing mode. You may make it do. Also, in the time-shifted viewing mode, when the user presses an input unit such as a recording button on the remote controller (temporary recording save instruction signal), the video processing unit temporarily records the video data (memory unit). Storage) can be started.
暗号鍵保存処理は、暗号鍵格納処理と暗号鍵消去処理からなる。図2に、その暗号鍵格納処理の基本的な流れを示す。 The encryption key storage process includes an encryption key storage process and an encryption key deletion process. FIG. 2 shows a basic flow of the encryption key storing process.
図2を参照すると、まず、録画処理部2が、入力部1からの入力に基づいて、録画指示が有ったか否かを判断する(ステップS10)。録画指示が有った場合は、通常録画モードになる(ステップS11)。録画指示が無かった場合、録画処理部2は、更に入力部1からの入力に基づいて、タイムシフト視聴モードが設定されたかを判断する(ステップS12)。 Referring to FIG. 2, first, the recording processing unit 2 determines whether there is a recording instruction based on the input from the input unit 1 (step S10). If there is a recording instruction, the normal recording mode is set (step S11). When there is no recording instruction, the recording processing unit 2 further determines whether or not the time shift viewing mode is set based on the input from the input unit 1 (step S12).
通常録画モードが設定された場合は、続いて、録画処理部2は、暗号鍵生成部7に暗号鍵生成指示信号を送信する。暗号鍵生成指示信号を受信した暗号鍵生成部7は、暗号鍵を生成し、その生成した暗号鍵を揮発性メモリ8に格納する(ステップS13)。次いで、録画処理部2が、暗号鍵生成部7で生成された暗号鍵を用いて映像データを暗号化して記憶部4に格納するとともに、入力部1からの録画保存指示信号を録画処理判断部3に転送する(ステップS14)。この録画保存指示信号の転送に際して、録画処理部2は、映像データの暗号化に使用した暗号鍵の識別情報を録画処理判断部3に供給する。
If the normal recording mode is set, then the recording processing unit 2 transmits an encryption key generation instruction signal to the encryption
録画保存指示信号および暗号鍵識別情報を受信した録画処理判断部3は、暗号鍵移動指示信号を、受信した暗号鍵識別情報と一緒に、暗号鍵書き込み部6に供給する。暗号鍵移動指示信号および暗号鍵識別情報を受信した暗号鍵書き込み部6は、揮発性メモリ8に格納されている暗号鍵のうち、受信した暗号鍵識別情報に基づいて特定される暗号鍵を不揮発性メモリ9に移動する(ステップS15)。
The recording
タイムシフト視聴モードが設定された場合は、録画処理部2は、暗号鍵生成部7に暗号鍵生成指示信号を送信する。暗号鍵生成指示信号を受信した暗号鍵生成部7は、暗号鍵を生成し、その生成した暗号鍵を揮発性メモリ8に格納する(ステップS16)。次いで、録画処理部2が、暗号鍵生成部7で生成された暗号鍵を用いて映像データを暗号化してバッファ5に一時的に格納する(ステップS17)。次いで、録画処理部2が、入力部1からの入力に基づいて、録画指示(一時録画保存指示)が有ったか否かを判断する(ステップS18)。録画指示(一時録画保存指示)が有った場合は、録画処理部2は、バッファ5に格納した一時録画データを記憶部4に移動するとともに、映像データの記録先を記録部4に変更する(ステップS19)。次いで、録画処理部2は、暗号鍵生成部7で生成された暗号鍵を用いて映像データを暗号化して記憶部4に格納するとともに、入力部1からの一時録画保存指示信号を録画処理判断部3に転送する(ステップS20)。この一時録画保存指示信号の転送に際して、録画処理部2は、映像データの暗号化に使用した暗号鍵の識別情報を録画処理判断部3に供給する。
When the time shift viewing mode is set, the recording processing unit 2 transmits an encryption key generation instruction signal to the encryption
一時録画保存指示信号および暗号鍵識別情報を受信した録画処理判断部3は、暗号鍵移動指示信号を、受信した暗号鍵識別情報と一緒に、暗号鍵書き込み部6に供給する。暗号鍵移動指示信号および暗号鍵識別情報を受信した暗号鍵書き込み部6は、揮発性メモリ8に格納されている暗号鍵のうち、受信した暗号鍵識別情報に基づいて特定される暗号鍵を不揮発性メモリ9に移動する(ステップS21)。
The recording
なお、ステップS10とステップS18で入力部から供給される信号は同一で、録画処理部もしくは録画処理判断部がタイムシフト視聴モードへの移行を指示されているかどうかを基に録画指示か一時録画保存指示かを判別してもよい。 The signals supplied from the input unit in step S10 and step S18 are the same, and the recording instruction or the temporary recording storage is based on whether the recording processing unit or the recording process determining unit is instructed to shift to the time-shifted viewing mode. You may determine whether it is an instruction.
次に、暗号鍵消去処理について説明する。図3に、暗号鍵消去処理の基本的な流れを示す。 Next, the encryption key deletion process will be described. FIG. 3 shows a basic flow of the encryption key erasure process.
図3を参照すると、まず、録画処理部2が、入力部1からの入力に基づいて、タイムシフト視聴モードが設定されているか否を判断する(ステップS30)。タイムシフト視聴モードでないと判断した場合は、続いて、録画処理部2が、入力部1からの入力に基づいて、映像消去指示が有ったか否かを判断する(ステップS31)。映像消去指示が有った場合は、録画処理部2は、入力部1からの録画映像削除指示信号に従って、記憶部4に格納された映像データのうち該当する映像データを削除する(ステップS32)。次いで、録画処理部2は、テーブル情報を参照して、その削除した映像データの暗号化に使用した暗号鍵の暗号鍵識別情報を取得し、該取得した暗号鍵識別情報と一緒に入力部1からの録画映像削除指示信号を録画処理判断部3に供給する。録画映像削除指示信号および暗号鍵識別情報を受信した録画処理判断部3は、暗号鍵削除指示信号を、録画処理部2から供給された暗号鍵識別情報と一緒に暗号鍵書き込み部6に供給する。暗号鍵削除指示信号および暗号鍵識別情報を受信した暗号鍵書き込み部6は、不揮発性メモリ9に格納されている暗号鍵のうち、受信した暗号鍵識別情報に基づいて特定される暗号鍵を削除する(ステップS33)。
Referring to FIG. 3, first, the recording processing unit 2 determines whether or not the time shift viewing mode is set based on the input from the input unit 1 (step S30). If it is determined that the mode is not the time shift viewing mode, then the recording processing unit 2 determines whether or not there is a video erasure instruction based on the input from the input unit 1 (step S31). When there is a video erasure instruction, the recording processing unit 2 deletes the corresponding video data from the video data stored in the storage unit 4 in accordance with the recorded video deletion instruction signal from the input unit 1 (step S32). . Next, the recording processing unit 2 refers to the table information, acquires the encryption key identification information of the encryption key used to encrypt the deleted video data, and inputs the
ステップS30で、タイムシフト視聴モードであると判断した場合は、続いて、録画処理部2が、入力部1からの入力に基づいて、タイムシフト視聴モードが解除されたか否かを判断する(ステップS34)。タイムシフト視聴モードが解除されたと判断した場合は、録画処理部2は、入力部1からの一時録画映像削除指示信号に従って、バッファ5に格納された一時録画データを削除する(ステップS35)。次いで、録画処理部2は、テーブル情報を参照して、その削除した一時録画データの暗号化に使用した暗号鍵の暗号鍵識別情報を取得し、該取得した暗号鍵識別情報と一緒に入力部1からの一時録画映像削除指示信号を録画処理判断部3に供給する。一時録画映像削除指示信号および暗号鍵識別情報を受信した録画処理判断部3は、暗号鍵削除指示信号を、録画処理部2から供給された暗号鍵識別情報と一緒に暗号鍵書き込み部6に供給する。暗号鍵削除指示信号および暗号鍵識別情報を受信した暗号鍵書き込み部6は、揮発性メモリ8に格納されている暗号鍵のうち、受信した暗号鍵識別情報に基づいて特定される暗号鍵を削除する(ステップS36)。
If it is determined in step S30 that the time-shifted viewing mode is set, then the recording processing unit 2 determines whether the time-shifted viewing mode has been canceled based on the input from the input unit 1 (step S30). S34). If it is determined that the time shift viewing mode has been canceled, the recording processing unit 2 deletes the temporary recording data stored in the buffer 5 in accordance with the temporary recording video deletion instruction signal from the input unit 1 (step S35). Next, the recording processing unit 2 refers to the table information, acquires the encryption key identification information of the encryption key used for encrypting the deleted temporary recording data, and inputs the encrypted key identification information together with the acquired encryption key identification information. 1 is supplied to the recording
次に、上述した暗号鍵保存処理に基づく各構成部の動作を、通常録画モードとタイムシフト視聴モードの各モードに分けて具体的に説明する。 Next, the operation of each component unit based on the above-described encryption key storing process will be specifically described separately for each mode of the normal recording mode and the time shift viewing mode.
(1)通常録画モードにおける動作:
この通常録画モードにおける動作は、入力部1に設けられた録画ボタンを押して録画を開始した場合や録画予約機能を使用して設定された時刻に録画が開始された場合における動作に相当する。
(1) Operation in normal recording mode:
The operation in the normal recording mode corresponds to an operation when recording is started by pressing a recording button provided in the
(1−1)録画処理部2は、入力部1から録画の開始の指示である録画指示信号を受信すると、暗号鍵生成部7に対して暗号鍵生成指示信号を送信する。
(1-1) Upon receiving a recording instruction signal that is an instruction to start recording from the
(1−2)暗号鍵生成部7は、暗号鍵生成指示信号を受信すると、暗号鍵を生成して揮発性メモリ8に格納する。
(1-2) Upon receiving the encryption key generation instruction signal, the encryption
(1−3)録画処理部2は、入力部1からの録画保存指示信号に基づき、外部から供給される放送番組の映像データを、暗号鍵生成部7で生成された暗号鍵を用いて暗号化して記憶部4に格納する。
(1-3) The recording processing unit 2 encrypts the video data of the broadcast program supplied from the outside using the encryption key generated by the encryption
(1−4)録画処理部2は、入力部1からの録画保存指示信号を録画処理判断部3に転送する。
(1-4) The recording processing unit 2 transfers the recording storage instruction signal from the
(1−5)録画処理判断部3は、録画保存指示信号を受信すると、暗号鍵書き込み部6に対して、記憶部4に格納した映像データの暗号化に用いた暗号鍵を揮発性メモリ8から不揮発性メモリ9に移動するための暗号鍵移動指示信号を送信する。
(1-5) Upon receiving the recording saving instruction signal, the recording
(1−6)暗号鍵書き込み部6は、暗号鍵移動指示信号を受信すると、暗号鍵を揮発性メモリ8から不揮発性メモリ9に移動する。
(1-6) When receiving the encryption key movement instruction signal, the encryption
(1−7)録画処理部2は、入力部1から録画した映像データを削除するための録画映像削除指示信号を受信すると、記憶部4に格納された映像データのうち該当する映像データを削除する。
(1-7) When receiving the recorded video deletion instruction signal for deleting the recorded video data from the
(1−8)録画処理部2は、入力部1からの録画映像削除指示信号を録画処理判断部3に転送する。
(1-8) The recording processing unit 2 transfers the recorded video deletion instruction signal from the
(1−9)録画処理判断部3は、録画映像削除指示信号を受信すると、暗号鍵書き込み部6に対して、削除した映像データの暗号化に使用した暗号鍵を不揮発性メモリ9から削除するための暗号鍵削除指示信号を送信する。
(1-9) Upon receiving the recorded video deletion instruction signal, the recording
(1−10)暗号鍵書き込み部6は、暗号鍵削除指示信号を受信すると、暗号鍵を不揮発性メモリ9から削除する。
(1-10) When receiving the encryption key deletion instruction signal, the encryption
(2)タイムシフト視聴モードにおける動作:
(2−1)録画処理部2は、入力部1から録画の開始の指示である一時録画指示信号を受信すると、暗号鍵生成部7に対して暗号鍵生成指示信号を送信する。
(2) Operation in time shift viewing mode:
(2-1) Upon receiving a temporary recording instruction signal that is an instruction to start recording from the
(2−2)暗号鍵生成部7は、暗号鍵生成指示信号を受信すると、暗号鍵を生成して揮発性メモリ8に格納する。
(2-2) Upon receiving the encryption key generation instruction signal, the encryption
(2−3)録画処理部2は、入力部1からの一時録画保存指示信号に基づき、外部から供給される放送番組の映像データを、暗号鍵生成部7で生成された暗号鍵を用いて暗号化してバッファ5に一時的に格納する。
(2-3) The recording processing unit 2 uses the encryption key generated by the encryption
(2−4)録画処理部2は、入力部1からの一時録画保存指示信号を録画処理判断部3に転送する。
(2-4) The recording processing unit 2 transfers the temporary recording storage instruction signal from the
(2−5)録画処理判断部3は、一時録画保存指示信号を受信すると、暗号鍵書き込み部6に対して、バッファ5に格納した映像データの暗号化に用いた暗号鍵を揮発性メモリ8から不揮発性メモリ9に移動するための暗号鍵移動指示信号を送信する。
(2-5) Upon receiving the temporary recording save instruction signal, the recording
(2−6)暗号鍵書き込み部6は、暗号鍵移動指示信号を受信すると、暗号鍵を揮発性メモリ8から不揮発性メモリ9に移動する。
(2-6) When receiving the encryption key move instruction signal, the encryption
(2−7)録画処理部2は、入力部1から一時録画した映像データを削除するための一時録画映像削除指示信号を受信すると、バッファ5に格納された映像データのうち該当する映像データを削除する。
(2-7) When receiving the temporarily recorded video deletion instruction signal for deleting the temporarily recorded video data from the
(2−8)録画処理部2は、入力部1からの一時録画映像削除指示信号を録画処理判断部3に転送する。
(2-8) The recording processing unit 2 transfers the temporarily recorded video deletion instruction signal from the
(2−9)録画処理判断部3は、一時録画映像削除指示信号を受信すると、暗号鍵書き込み部6に対して、削除した映像データの暗号化に使用した暗号鍵を揮発性メモリ8から削除するための暗号鍵削除指示信号を送信する。
(2-9) Upon receiving the temporarily recorded video deletion instruction signal, the recording
(2−10)暗号鍵書き込み部6は、暗号鍵削除指示信号を受信すると、暗号鍵を揮発性メモリ8から削除する。
(2-10) Upon receiving the encryption key deletion instruction signal, the encryption
本実施形態の録画装置において、記憶部4に格納された映像データを再生する場合は、不揮発性メモリ9に格納されている暗号鍵が用いられる。また、タイムシフト視聴モードにおいて、バッファ5に格納された一時録画データを再生する場合は、揮発性メモリ8に格納されている暗号鍵が用いられる。
In the recording apparatus of the present embodiment, when reproducing the video data stored in the storage unit 4, the encryption key stored in the
上述した本実施形態の録画装置によれば、暗号鍵生成部7で生成された暗号鍵は一旦、データの書き換え回数に制限のない揮発性メモリ8に格納され、暗号化された映像データが記憶部4に格納された場合にのみ、その映像データの暗号化に用いた暗号鍵が揮発性メモリ8から不揮発性メモリ9に移動される。記憶部4に格納されなかった映像データ(具体的には、バッファ5に格納された映像データのうち、保存指示のなかった映像データ)の暗号化に用いられた暗号鍵は、揮発性メモリ8から不揮発性メモリ9に移動されることはない。このように、保存指示のなかった映像データの暗号化に用いられた暗号鍵は不揮発性メモリ9に格納されることはないので、その分だけ、不揮発性メモリ9への暗号鍵の無駄な書き込みを抑制することができる。
According to the recording apparatus of the present embodiment described above, the encryption key generated by the encryption
以上説明した本実施形態の録画装置は、本発明の一例であり、その構成及び動作は、揮発性メモリを利用して不揮発性メモリへの暗号鍵の無駄な書き込みを抑制する、という本発明の趣旨を逸脱しない範囲で、適宜変更することができる。 The recording apparatus according to the present embodiment described above is an example of the present invention, and the configuration and operation of the present invention are such that the use of a volatile memory suppresses unnecessary writing of an encryption key to a nonvolatile memory. Changes can be made as appropriate without departing from the spirit of the invention.
例えば、図1に示した構成では、録画処理部2と録画処理判断部3を別々に設けているが、これら録画処理部2および録画処理判断部3は、1つのデータ処理部で構成されてもよい。
For example, in the configuration shown in FIG. 1, the recording processing unit 2 and the recording
また、記憶部4とバッファ5を別々に設けているが、1つの記憶装置(例えば、ハードディスク)内の記憶領域に、これら記憶部4およびバッファ5に対応する記憶領域を設けてもよい。 Moreover, although the memory | storage part 4 and the buffer 5 are provided separately, you may provide the memory area corresponding to these memory | storage parts 4 and the buffer 5 in the memory area in one memory | storage device (for example, hard disk).
さらに、暗号鍵生成部7が、放送番組毎に異なる暗号鍵を生成して揮発性メモリ8に格納するように構成してもよい。通常、デジタル放送により提供される放送番組の映像データには、放送番組の開始および終了を示す信号が含まれており、録画処理部2が、この信号に基づいて放送番組の開始および終了を判断する。この判断に基づき、録画処理部2が、暗号鍵生成部7に対して暗号鍵生成指示信号を供給することで、暗号鍵生成部7が、放送番組毎に異なる暗号鍵を生成する。
Further, the encryption
さらに、バッファ6に格納された一時録画データを記憶部4に格納し、その後、映像データの保存先を記憶部4に変更する場合において、保存先切り替え後に記憶部4に格納される映像データの暗号化に用いる暗号鍵が、保存先切り替え後に記憶部4に格納された映像データの暗号化に用いた暗号鍵と異なっていてもよい。
Furthermore, when the temporarily recorded data stored in the
さらに、暗号鍵書き込み部6が、揮発性メモリ8への電源の供給が遮断されるタイミングで、揮発性メモリ8から不揮発性メモリ9への暗号鍵の移動を実行するようにしてもよい。この場合は、入力部1にて、録画装置の電源をオフ状態にするための入力操作が行われると、電源遮断信号が入力部1から録画処理部2を通じて録画処理判断部3に供給される。そして、録画処理判断部3が、電源遮断信号を受信したタイミングで、暗号鍵書き込み部6に暗号鍵移動指示信号を供給する。通常、暗号鍵書き込み部6の動作は、制御部(CPU)による制御下で行われる。したがって、揮発性メモリ8への電源の供給が遮断されるタイミングで、揮発性メモリ8から不揮発性メモリ9への暗号鍵の移動を実行する構成によれば、映像データが記憶部4に格納される度に、揮発性メモリ8から不揮発性メモリ9への暗号鍵の移動を実行する構成と比べて、制御部(CPU)への負担を軽減することができる。
Furthermore, the encryption
さらに、通常録画モードおよびタイムシフト視聴モードの判定を、これらモードの実行の有無を示すフラグに基づいて行ってもよい。加えて、録画指示信号、録画保存指示信号、一時録画指示信号、および一時録画保存指示信号は、それぞれの指示信号に対応するフラグの状態を録画処理部2が監視するようにしてもよい。 Further, the normal recording mode and the time shift viewing mode may be determined based on a flag indicating whether or not these modes are executed. In addition, the recording processing unit 2 may monitor the state of the flag corresponding to each instruction signal of the recording instruction signal, the recording / storage instruction signal, the temporary recording instruction signal, and the temporary recording / storage instruction signal.
また、図1に示した構成において、入力部1、録画処理部2、録画処理判断部3、記憶部4、およびバッファ5を装置本体側の基板に設け、暗号鍵書き込み部6、暗号鍵生成部7、揮発性メモリ8、および不揮発性メモリ9を、装置に取り付け可能な基板(ボード)に設けてもよい。
Further, in the configuration shown in FIG. 1, the
さらに、暗号化するデータは、映像データに限られるものではない。音声などの他のデータを暗号化して保存するような構成としてもよい。 Furthermore, the data to be encrypted is not limited to video data. It is good also as a structure which encrypts and preserve | saves other data, such as an audio | voice.
また、通常録画モードで、映像データを暗号化して記憶部4に格納する場合に、暗号鍵生成部7が、その映像データの暗号化のために生成した暗号鍵を直接、不揮発性メモリ9に書き込むようにしてもよい。
When the video data is encrypted and stored in the storage unit 4 in the normal recording mode, the encryption
以上、本発明の実施形態として、デジタル放送を通じて提供される放送番組を録画する録画装置について説明したが、この他、ネットワークを通じてデータ(音声や映像などのデータ)が配信されるコンピュータシステム(例えば、パーソナルコンピュータ)にも本発明を適用することができる。この場合は、ネットワークを通じてストリーミングにより配信されるデータ(具体的には、マルチキャスト配信されるデータ)について、暗号鍵保存処理が実行される。 As described above, the recording apparatus for recording a broadcast program provided through digital broadcasting has been described as an embodiment of the present invention. In addition to this, a computer system (for example, data such as audio and video) distributed via a network (for example, The present invention can also be applied to a personal computer. In this case, encryption key storage processing is executed for data distributed by streaming through the network (specifically, data distributed by multicast).
本発明は、デジタル放送に対応したチューナーを備える、録画装置(ハードディスクレコーダなど)やパーソナルコンピュータなどに適用することができる他、ネットワークを通じてコンテンツやデータが配信されるコンピュータシステムに適用することができる。 The present invention can be applied to a recording apparatus (such as a hard disk recorder) or a personal computer that includes a tuner that supports digital broadcasting, and can also be applied to a computer system that distributes content and data through a network.
1 入力部
2 録画処理部
3 録画処理判断部
4 記憶部
5 バッファ
6 暗号鍵書き込み部
7 暗号鍵生成部
8 揮発性メモリ
9 不揮発性メモリ
DESCRIPTION OF
Claims (23)
暗号鍵を生成する暗号鍵生成部と、
前記暗号鍵生成部で生成された暗号鍵が格納される揮発性メモリと、
前記暗号鍵を用いて、外部から供給された前記データを暗号化するデータ処理部と、を有し、
前記データ処理部で暗号化されたデータが前記記憶部に格納された場合にのみ、該データの暗号化に用いた暗号鍵は前記揮発性メモリから、前記記憶部と別に設けられた不揮発性メモリに移動されることを特徴とするデータ記憶装置。 A storage unit for storing the data supplied from the external,
An encryption key generation unit for generating an encryption key;
A volatile memory in which the encryption key generated by the encryption key generation unit is stored;
Before SL using encryption key, comprising: a data processing unit for encrypting the data supplied from the outside, the,
Wherein the data processing unit only when the encrypted data is stored in the storage unit, the encryption key used to encrypt the data from the volatile memory, nonvolatile memory provided separately from the storage unit A data storage device which is moved to
前記データ処理部は、前記映像データを録画する旨の録画指示信号が前記入力部から供給されると、前記暗号鍵生成部で生成された暗号鍵を用いて前記映像データを暗号化して前記記憶部に格納する録画処理部を有し、
暗号化された前記映像データが前記記憶部に格納されると、該格納された映像データの暗号化に用いた暗号鍵は前記揮発性メモリから前記不揮発性メモリに移動される、請求項2に記載のデータ記憶装置。 An input unit;
When the recording instruction signal for recording the video data is supplied from the input unit, the data processing unit encrypts the video data using the encryption key generated by the encryption key generation unit and stores the video data A recording processing unit to be stored in the unit,
When the image data that has been encrypted is stored in the storage unit, the encryption key used to encrypt the video data said stored is moved from the volatile memory to the non-volatile memory, according to claim 2 The data storage device described in 1.
前記録画処理部は、前記映像データを一時的に録画する旨の一時録画指示信号が前記入力部から供給されると、前記暗号鍵生成部で生成された暗号鍵を用いて前記映像データを暗号化して前記バッファに格納し、該バッファに格納した一時録画映像データを保存する旨の一時録画保存指示信号が前記入力部から供給されると、前記一時録画映像データを前記バッファから前記記憶部に移動し、
前記一時録画映像データが前記記憶部に格納されると、該格納された映像データの暗号化に用いた暗号鍵は前記揮発性メモリから前記不揮発性メモリに移動される、請求項3に記載のデータ記憶装置。 Further comprising a buffer;
The recording processing unit encrypts the video data using the encryption key generated by the encryption key generation unit when a temporary recording instruction signal for temporarily recording the video data is supplied from the input unit. When the temporary recording save instruction signal for saving the temporarily recorded video data stored in the buffer is supplied from the input unit, the temporary recorded video data is transferred from the buffer to the storage unit. Move and
When the front Symbol temporary recorded video data is stored in the storage unit, the encryption key used to encrypt the video data said stored is moved from the volatile memory to the non-volatile memory, according to claim 3 Data storage device.
前記録画処理部は、前記映像データを一時的に録画する旨の一時録画指示信号が前記入力部から供給されると、前記暗号鍵生成部で生成された暗号鍵を用いて前記映像データを暗号化して一時録画映像データとして前記バッファに格納し、
前記暗号鍵生成部は、生成した暗号鍵を前記揮発性メモリに格納する、請求項3に記載のデータ記憶装置。 Further comprising a buffer;
The recording processing unit encrypts the video data using the encryption key generated by the encryption key generation unit when a temporary recording instruction signal for temporarily recording the video data is supplied from the input unit. Stored in the buffer as temporarily recorded video data,
The data storage device according to claim 3, wherein the encryption key generation unit stores the generated encryption key in the volatile memory.
外部から供給されたデータを一時的に保存するためのバッファと、
暗号鍵を生成する暗号鍵生成部と、
前記暗号鍵生成部で生成された暗号鍵が格納される揮発性メモリと、
前記暗号鍵を用いて、外部から供給された前記データを暗号化するデータ処理部と、を有し、
前記データ処理部で暗号化されたデータが前記記憶部に格納された場合は、該データの暗号化に用いた暗号鍵は前記記憶部と別に設けられた不揮発性メモリに格納され、前記データ処理部で暗号化されたデータが前記バッファに格納された場合は、該データの暗号化に用いた暗号鍵は前記揮発性メモリに格納されることを特徴とするデータ記憶装置。 A storage unit for storing the data supplied from the external,
A buffer for temporarily storing externally supplied data;
An encryption key generation unit for generating an encryption key;
A volatile memory in which the encryption key generated by the encryption key generation unit is stored;
Before SL using encryption key, comprising: a data processing unit for encrypting the data supplied from the outside, the,
If encrypted data by the data processing unit is stored in the storage unit, the encryption key used for encryption of the data is stored in provided separately from the non-volatile memory and said storage unit, said data processing when encrypted data is stored in the buffer section, the encryption key used for encryption of the data the data storage device characterized in that it is stored in the volatile memory.
前記データ処理部は、前記映像データを録画する旨の録画指示信号が前記入力部から供給されると、前記暗号鍵生成部で生成された暗号鍵を用いて前記映像データを暗号化して前記記憶部に格納する録画処理部を有し、
前記暗号鍵書き込み部は、暗号化された前記映像データが前記記憶部に格納されると、該格納された映像データの暗号化に用いた暗号鍵を前記不揮発性メモリに格納し、
前記録画処理部は、前記映像データを一時的に録画する旨の一時録画指示信号が前記入力部から供給されると、前記暗号鍵生成部で生成された暗号鍵を用いて前記映像データを暗号化して前記バッファに格納し、
前記暗号鍵生成部は、生成した暗号鍵を前記揮発性メモリに格納し、
その後、前記録画処理部は、前記バッファに格納した一時録画映像データを保存する旨の一時録画保存指示信号が前記入力部から供給されると、前記一時録画映像データを前記バッファから前記記憶部に移動し、
前記一時録画映像データが前記記憶部に格納されると、該格納された映像データの暗号化に用いた暗号鍵は前記揮発性メモリから前記不揮発性メモリに移動される、請求項7に記載のデータ記憶装置。 An input unit;
When the recording instruction signal for recording the video data is supplied from the input unit, the data processing unit encrypts the video data using the encryption key generated by the encryption key generation unit and stores the video data A recording processing unit to be stored in the unit,
When the encrypted video data is stored in the storage unit, the encryption key writing unit stores an encryption key used for encrypting the stored video data in the nonvolatile memory,
The recording processing unit encrypts the video data using the encryption key generated by the encryption key generation unit when a temporary recording instruction signal for temporarily recording the video data is supplied from the input unit. Stored in the buffer,
The encryption key generation unit stores the generated encryption key in the volatile memory,
Thereafter, when the recording processing instruction signal for saving the temporarily recorded video data stored in the buffer is supplied from the input unit, the recording processing unit transfers the temporary recorded video data from the buffer to the storage unit. Move and
When the front Symbol temporary recorded video data is stored in the storage unit, the encryption key used to encrypt the video data said stored is moved from the volatile memory to the non-volatile memory, according to claim 7 Data storage device.
削除した前記所望の映像データの暗号化に用いた暗号鍵は前記不揮発性メモリから削除される、請求項3、4、5、8のいずれか1項に記載のデータ記憶装置。 The recording processing unit deletes the desired video data from the storage unit upon receiving from the input unit a recorded video deletion instruction signal for deleting the desired video data from the video data stored in the storage unit. And
Encryption key used to encrypt the deletion was the desired image data is deleted from the nonvolatile memory, data storage device according to any one of claims 3,4,5,8.
削除した前記一時録画映像データの暗号化に用いた暗号鍵は前記揮発性メモリから削除される、請求項4、5、8のいずれか1項に記載のデータ記憶装置。 The recording processing unit, when receiving a temporary recording video deletion instruction signal for deleting the temporary recording video data from the input unit, deletes the temporary recording video data from the buffer,
Encryption key used to encrypt the deletion was the temporary recorded video data is deleted from the volatile memory, the data storage device according to any one of claims 4, 5, 8.
前記暗号鍵生成部が、前記第1のステップで生成した暗号鍵を揮発性メモリに格納する第2のステップと、
データ処理部が、前記第1のステップで生成した暗号鍵を用いて、外部から供給されたデータを暗号化する第3のステップと、
前記データ処理部が、外部から供給された前記データを保存する指示を受け付けると、前記第3のステップで暗号化したデータを記憶部に格納するとともに、暗号鍵書き込み部が、該格納したデータの暗号化に用いた暗号鍵を前記揮発性メモリから、前記記憶部と別に設けられた不揮発性メモリに移動する第4のステップと、を含むことを特徴とする暗号鍵保存方法。 A first step in which an encryption key generation unit generates an encryption key;
A second step in which the encryption key generation unit stores the encryption key generated in the first step in a volatile memory;
A third step in which the data processing unit encrypts data supplied from the outside using the encryption key generated in the first step;
When the data processing unit receives an instruction to store the data supplied from the outside, the data encrypted in the third step is stored in the storage unit, and the encryption key writing unit stores the data stored in the data. And a fourth step of moving an encryption key used for encryption from the volatile memory to a non-volatile memory provided separately from the storage unit .
前記データ処理部が、暗号化した前記映像データを一時録画映像データとしてバッファに格納し、該バッファに格納した一時録画映像データを保存する旨の一時録画保存指示を受け付けると、前記一時録画映像データを前記バッファから前記記憶部に移動するとともに、前記暗号鍵書き込み部が、該移動した映像データの暗号化に用いた暗号鍵を前記揮発性メモリから前記不揮発性メモリに移動する第5のステップをさらに含む、請求項14に記載の暗号鍵保存方法。 In the third step, when the data processing unit receives a temporary recording instruction for temporarily recording the video data, the video data is encrypted using the encryption key generated in the first step. Including the steps of
When the data processing unit stores the encrypted video data in a buffer as temporarily recorded video data and receives a temporary recording save instruction to save the temporarily recorded video data stored in the buffer, the temporarily recorded video data together moved from the buffer to the storage unit, the encryption key writing unit, a fifth step of moving said non-volatile memory the encryption key used to encrypt the video data the mobile from the volatile memory The encryption key storage method according to claim 14, further comprising:
前記データ処理部が、暗号化した前記映像データを一時録画映像データとしてバッファに格納する第5のステップをさらに含む、請求項14に記載の暗号鍵保存方法。 In the third step, when the data processing unit accepts a temporary recording instruction for temporarily recording the video data, the video data is encrypted using the encryption key generated in the first step. Including the steps of
The encryption key storage method according to claim 14, further comprising a fifth step in which the data processing unit stores the encrypted video data in a buffer as temporarily recorded video data.
データ処理部が、前記第1のステップで生成した暗号鍵を用いて、外部から供給されたデータを暗号化する第2のステップと、
前記データ処理部が、外部から供給された前記データを記憶部に保存する指示を受け付けると、前記第2のステップで暗号化したデータを前記記憶部に格納するとともに、暗号鍵書き込み部が、該格納したデータの暗号化に用いた暗号鍵を前記記憶部と別に設けられた不揮発性メモリに格納する第3のステップと、
前記データ処理部が、外部から供給された前記データをバッファに一時的に保存する指示を受け付けると、前記第2のステップで暗号化したデータを前記バッファに格納するとともに、前記暗号鍵書き込み部が、該格納したデータの暗号化に用いた暗号鍵を揮発性メモリに格納する第4のステップと、を含むことを特徴とする暗号鍵保存方法。 A first step in which an encryption key generation unit generates an encryption key;
A second step in which the data processing unit encrypts data supplied from the outside using the encryption key generated in the first step;
When the data processing unit receives an instruction to store the data supplied from the outside in the storage unit, the data processing unit stores the data encrypted in the second step in the storage unit, and the encryption key writing unit A third step of storing an encryption key used for encryption of stored data in a non-volatile memory provided separately from the storage unit ;
When the data processing unit receives an instruction to temporarily store the data supplied from the outside in the buffer, the data processing unit stores the data encrypted in the second step in the buffer, and the encryption key writing unit And a fourth step of storing, in a volatile memory, an encryption key used for encrypting the stored data.
前記第4のステップは、外部から供給された前記映像データを一時的に録画する旨の一時録画指示を受け付けると、前記データ処理部が、前記第1のステップで生成した暗号鍵を用いて前記映像データを暗号化して一時録画映像データとして前記バッファに格納するとともに、前記暗号鍵書き込み部が、該格納した一時録画映像データの暗号化に用いた暗号鍵を前記揮発性メモリに格納するステップを含み、
前記データ処理部が、前記バッファに格納した一時録画映像データを保存する一時録画保存指示を受け付けると、前記一時録画映像データを前記バッファから前記記憶部に移動するとともに、前記暗号鍵書き込み部が、該移動した一時録画映像データの暗号化に用いた暗号鍵を前記揮発性メモリから前記不揮発性メモリに移動する第5のステップを、さらに含む、請求項18に記載の暗号鍵保存方法。 In the third step, when the data processing unit receives a recording instruction for recording the video data supplied from the outside, the video data is encrypted using the encryption key generated in the first step. Storing the encryption key used for encrypting the stored video data in the nonvolatile memory, and storing the encryption key in the nonvolatile memory.
In the fourth step, when receiving a temporary recording instruction for temporarily recording the video data supplied from the outside, the data processing unit uses the encryption key generated in the first step. The step of encrypting video data and storing it in the buffer as temporarily recorded video data , and storing the encryption key used for encrypting the stored temporarily recorded video data in the volatile memory. Including
When the data processing unit accepts a temporary recording save instruction to save the temporarily recorded video data stored in the buffer, the temporary recording video data is moved from the buffer to the storage unit, and the encryption key writing unit, The encryption key storage method according to claim 18, further comprising a fifth step of moving an encryption key used for encrypting the moved temporarily recorded video data from the volatile memory to the nonvolatile memory.
前記暗号鍵書き込み部が、削除した前記一時録画映像データの暗号化に用いた暗号鍵を前記揮発性メモリから削除するステップと、をさらに含む、請求項15、16、19、20のいずれか1項に記載の暗号鍵保存方法。 When the data processing unit receives a temporarily recorded video deletion instruction to delete the temporarily recorded video data, the step of deleting the temporarily recorded video data from the buffer;
The encryption key writing unit further includes a step of deleting, from the volatile memory, an encryption key used for encrypting the deleted temporarily recorded video data. The encryption key storage method described in the paragraph.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006008582A JP4536011B2 (en) | 2006-01-17 | 2006-01-17 | Data storage device and encryption key storage method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006008582A JP4536011B2 (en) | 2006-01-17 | 2006-01-17 | Data storage device and encryption key storage method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007193413A JP2007193413A (en) | 2007-08-02 |
JP4536011B2 true JP4536011B2 (en) | 2010-09-01 |
Family
ID=38449092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006008582A Expired - Fee Related JP4536011B2 (en) | 2006-01-17 | 2006-01-17 | Data storage device and encryption key storage method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4536011B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2009014216A1 (en) | 2007-07-25 | 2010-10-07 | 国立感染症研究所長 | Antibody having inhibitory activity against hepatitis C virus (HCV) and use thereof |
CN102596244A (en) | 2009-09-30 | 2012-07-18 | 东丽株式会社 | Hepatitis c virus vaccine composition |
JP2014116753A (en) * | 2012-12-07 | 2014-06-26 | Mega Chips Corp | Data processing device and control program, and operation method of data processing device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001048755A1 (en) * | 1999-12-28 | 2001-07-05 | Matsushita Electric Industrial Co., Ltd. | Recording apparatus, reproducing apparatus, data processing apparatus, recording/reproducing apparatus, and data transmitting apparatus |
JP2002244926A (en) * | 2001-02-15 | 2002-08-30 | Matsushita Electric Ind Co Ltd | Data invalidating device |
JP2003333030A (en) * | 2002-05-16 | 2003-11-21 | Nec Corp | Method for outputting time shift and device for outputting time shift |
JP2004063016A (en) * | 2002-07-30 | 2004-02-26 | Sharp Corp | Information recording method, and information recording and reproducing devcice |
JP2004320215A (en) * | 2003-04-14 | 2004-11-11 | Sony Corp | Video display device and method |
JP2005167768A (en) * | 2003-12-04 | 2005-06-23 | Hitachi Ltd | Recording method of broadcast program and broadcast receiver |
JP2005293620A (en) * | 2004-03-31 | 2005-10-20 | Sanyo Electric Co Ltd | Device and method for recording/reproducing |
JP2005338924A (en) * | 2004-05-24 | 2005-12-08 | Toshiba Corp | Nonvolatile memory to be used for portable electronic equipment and portable electronic equipment |
-
2006
- 2006-01-17 JP JP2006008582A patent/JP4536011B2/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001048755A1 (en) * | 1999-12-28 | 2001-07-05 | Matsushita Electric Industrial Co., Ltd. | Recording apparatus, reproducing apparatus, data processing apparatus, recording/reproducing apparatus, and data transmitting apparatus |
JP2002244926A (en) * | 2001-02-15 | 2002-08-30 | Matsushita Electric Ind Co Ltd | Data invalidating device |
JP2003333030A (en) * | 2002-05-16 | 2003-11-21 | Nec Corp | Method for outputting time shift and device for outputting time shift |
JP2004063016A (en) * | 2002-07-30 | 2004-02-26 | Sharp Corp | Information recording method, and information recording and reproducing devcice |
JP2004320215A (en) * | 2003-04-14 | 2004-11-11 | Sony Corp | Video display device and method |
JP2005167768A (en) * | 2003-12-04 | 2005-06-23 | Hitachi Ltd | Recording method of broadcast program and broadcast receiver |
JP2005293620A (en) * | 2004-03-31 | 2005-10-20 | Sanyo Electric Co Ltd | Device and method for recording/reproducing |
JP2005338924A (en) * | 2004-05-24 | 2005-12-08 | Toshiba Corp | Nonvolatile memory to be used for portable electronic equipment and portable electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
JP2007193413A (en) | 2007-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5019209B2 (en) | Stored program control apparatus and stored program control method | |
JP4438527B2 (en) | Information management method, information reproducing apparatus, and information management apparatus | |
JP2006073018A (en) | Contents management method and contents management apparatus | |
JPWO2005076140A1 (en) | Recording / reproducing apparatus and content protection system | |
JP2006287686A (en) | Information network system and information equipment | |
JP2008097168A (en) | Data output system, portable terminal used therefor, data output device, data output method, program | |
JP2010152804A (en) | Data storage device and data management method in data storage device | |
JP4536011B2 (en) | Data storage device and encryption key storage method | |
JP4896161B2 (en) | Information recording / reproducing apparatus, information recording / reproducing method, information recording / reproducing program, and computer-readable recording medium | |
JP2006197512A (en) | Recording apparatus, control method, and program | |
JP2006295395A (en) | Method and device for managing record information | |
JP2009284019A (en) | Media processor, and recording medium control method | |
JP2008301261A (en) | Receiving apparatus and receiving method | |
JP4292230B1 (en) | Digital broadcast reception recording / reproducing apparatus and digital broadcast reception recording / reproduction method | |
WO2009153994A1 (en) | Recording/playback device and recording/playback system | |
JP2012034218A (en) | Program edit and transmit system | |
US20070002484A1 (en) | Digital data storage system, recording devices therefor, and digital data storage method | |
JP5375134B2 (en) | Recording device | |
JP2008146786A (en) | Recording device and dvd (digital versatile disk) recorder with hdd (hard disk drive) | |
JP2006093849A (en) | Copy control method and device of content | |
JP2008300967A (en) | Broadcast program data receiver, computer system and information processing device | |
JP4060826B2 (en) | Content management method and content recording / playback apparatus | |
JP2005332563A (en) | Device and method for recording and reproducing av data | |
JP5529523B2 (en) | Video recording apparatus and control method thereof | |
JP2010140446A (en) | Content management method, content management device and content management program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100303 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100430 |
|
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: 20100602 |
|
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: 20100615 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130625 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4536011 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
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: 20130625 Year of fee payment: 3 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R371 | Transfer withdrawn |
Free format text: JAPANESE INTERMEDIATE CODE: R371 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130625 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: 20130625 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130625 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130625 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130625 Year of fee payment: 3 |
|
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 |
|
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 |