JP4098047B2 - Recording device, erasing device, reproducing device, data recording method, data erasing method, data reproducing method, program, and recording medium recording the program - Google Patents

Recording device, erasing device, reproducing device, data recording method, data erasing method, data reproducing method, program, and recording medium recording the program Download PDF

Info

Publication number
JP4098047B2
JP4098047B2 JP2002276167A JP2002276167A JP4098047B2 JP 4098047 B2 JP4098047 B2 JP 4098047B2 JP 2002276167 A JP2002276167 A JP 2002276167A JP 2002276167 A JP2002276167 A JP 2002276167A JP 4098047 B2 JP4098047 B2 JP 4098047B2
Authority
JP
Japan
Prior art keywords
data
recording
recorded
key
recording medium
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
Application number
JP2002276167A
Other languages
Japanese (ja)
Other versions
JP2004111007A5 (en
JP2004111007A (en
Inventor
勝志 大泉
次郎 木山
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2002276167A priority Critical patent/JP4098047B2/en
Publication of JP2004111007A publication Critical patent/JP2004111007A/en
Publication of JP2004111007A5 publication Critical patent/JP2004111007A5/ja
Application granted granted Critical
Publication of JP4098047B2 publication Critical patent/JP4098047B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Optical Recording Or Reproduction (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、例えば追記型記録媒体において、記録したデータの一部消去または全部消去する記録装置および消去装置、ならびに、これらの記録装置および消去装置によって記録が行われた記録媒体を再生する再生装置に関するものである。
【0002】
【従来の技術】
近年、個人が保有・管理するリムーバブル記録媒体の利用が増加傾向にある。その主な理由として、大容量で安価な追記型記録媒体の普及が挙げられる。一般に、記録媒体は、その記録方法から追記型記録媒体と書き換え可能な記録媒体とに分類される。追記型記録媒体としては、ディスク状の記録媒体に関して言えば、現状ではCD−R、DVD−Rなどが普及している。
【0003】
追記型記録媒体は、安価である反面、一旦記録したデータを消去することはできないという特性を有している。このため、機密性のあるデータが記録された記録媒体を廃棄する場合、他人にその情報が読み出されないように、記録媒体を物理的に破壊する必要があった。また、記録媒体の大容量化に伴い、機密性のあるデータと機密性のないデータとを1つの追記型記録媒体に記録するような利用形態も考えられるが、機密性のあるデータのみを消去する必要が生じた場合、別の記録媒体に機密性のないデータをコピーした上で、もとの追記型記録媒体を物理的に破壊する、という処理を行わなければならないという問題があった。
【0004】
このような問題を解決するために、例えば特開平5−290381号公報には、一度記録したデータ上に上書きすることで、データを再生できないようにする技術が開示されている。また、例えば特開平8−77558号公報には、記録媒体の素材に特定の物を使うことで消去の効果を持たせる技術が開示されている。また、例えば特開平11−53840号公報には、アクセスするための管理情報を書き換え、消去したいデータを参照できないようにすることで、論理的にデータを消去する装置が開示されている。
【0005】
【発明が解決しようとする課題】
しかしながら、上記した特開平5−290381号公報に開示されている技術の場合、記録媒体の物理規格から外れる処理を行うことになるので、記録再生が不安定になるという問題がある。また、上記した特開平8−77558号公報に開示されている技術の場合、記録媒体に特別な素材を用いることになるので、やはり記録媒体の物理規格から外れることになり、記録再生が不安定になるという問題がある。さらに、上記した特開平11−53840号公報に開示されている技術の場合、管理情報のみが書き換えられ、データ自体は記録媒体に残っているので、記録媒体に関する知識があれば、特別な装置を用いずともデータを再生できてしまうという問題がある。
【0006】
本発明は上記の問題点を解決するためになされたもので、その目的は、例えば追記型記録媒体に機密性のあるデータを記録した場合、他人に再生される危険性のない状態で消去処理を行うことが可能な記録装置・消去装置を提供することにある。
【0007】
【課題を解決するための手段】
上記の課題を解決するために、本発明に係る記録装置は、データを追記型の記録媒体に記録する記録装置において、データを記録する記録媒体の記録部分と未記録部分とを区別することのできるピックアップ部と、データを暗号化するための鍵データを生成する鍵生成部と、上記鍵データに基づいて記録すべきデータを暗号化する暗号化処理部と、上記ピックアップ部から読み取った上記記録媒体の未記録部分に、上記暗号化処理部によって暗号化された記録すべきデータを記録する制御を行うとともに、上記鍵生成部で生成された上記鍵データを、前後に未記録部分を設けた状態で記録する制御を行う記録制御部とを備えることを特徴としている。
【0008】
また、本発明に係るデータ記録方法は、データを追記型の記録媒体に記録するデータ記録方法において、データを記録する記録媒体の記録部分と未記録部分とを区別するステップと、データを暗号化するための鍵データを生成する鍵生成ステップと、上記鍵データに基づいて記録すべきデータを暗号化する暗号化処理ステップと、上記記録媒体の記録部分と未記録部分とを区別するステップにおいて取得された記録媒体の未記録部分に、上記暗号化処理ステップによって暗号化された記録すべきデータを記録する制御を行うとともに、上記鍵生成ステップにおいて生成された上記鍵データを、前後に未記録部分を設けた状態で記録する制御を行う記録ステップとを有していることを特徴としている。
【0009】
上記の構成および方法によれば、まずピックアップ部によって、記録媒体の記録部分と未記録部分とが区別される。そして、記録すべきデータは、鍵生成部によって生成された鍵データに基づいて暗号化処理部によって暗号化され、記録媒体に記録される。
【0010】
そして、記録すべきデータを暗号化する際に用いられた鍵データは、前後に未記録部分を設けた状態で記録媒体に記録されるようになっている。このようにすることによって、再生時には、前後に未記録部分がある区間を検出することによって鍵データを検出することが可能となる。
【0011】
ここで、記録されているデータを消去したい場合には、そのデータに対応する鍵データの前後の未記録部分をダミーデータなどで記録状態にする処理を行えばよいことになる。これは、このような処理を行うことによって、鍵データの未記録部分がなくなることになり、前後に未記録部分がある区間を検出することによって鍵データを検出する処理を行うことができなくなるからである。
【0012】
したがって、上記の構成のように記録媒体に対してデータの記録を行えば、記録したデータの機密性を保護したまま処分することが可能となるので、特別な注意を必要とせずに処分することが出来る。
【0013】
また、記録したデータの一部を指定して再生できなくすることが可能となるので、機密性のあるデータが記録された追記型記録媒体で、特定の機密性のあるデータのみを消去し、残りのデータをそのまま使うことが可能となる。よって、追記型記録媒体を無駄なく有効利用することが可能となる。
【0014】
また、本発明に係る記録装置は、上記の構成において、上記記録制御部が、上記記録媒体の読み出し順において、記録すべきデータが記録されるべき領域の範囲の最後部から後ろ側に、上記鍵生成部で生成された上記鍵データを、データの記録順に上記記録媒体に記録する制御を行う構成としてもよい。
【0015】
上記の構成によれば、鍵データは、上記記録媒体の読み出し順において、記録すべきデータが記録されるべき領域の範囲の最後部の後ろ側から順に記録されることになる。よって、鍵データを読み出す際には、記録媒体の最後までピックアップを移動させる必要がなくなるので、データの読み出しを高速に行うことが可能となる。
【0016】
また、本発明に係る記録装置は、上記の構成において、上記記録制御部が、上記鍵生成部で生成された上記鍵データを、上記記録媒体の読み出し順で最後部から、データの記録順に上記記録媒体に記録する制御を行う構成としてもよい。
【0017】
上記の構成によれば、鍵データを記録する区間を予め確保する必要がなくなるので、記録媒体の無駄になる部分を少なくすることができる。
【0018】
また、本発明に係る記録装置は、上記の構成において、上記記録制御部が、上記記録媒体の読み出し順において、上記鍵生成部で生成された上記鍵データを、上記記録するデータの直後に記録し、次回に記録されるデータを、前回に記録された上記鍵データの後ろ側に記録する制御を行う構成としてもよい。
【0019】
上記の構成によれば、鍵データを記録する区間を予め確保する必要がなくなるので、記録媒体の無駄になる部分を少なくすることができる。
【0020】
また、本発明に係る記録装置は、上記の構成において、上記記録制御部が、上記鍵生成部で生成された上記鍵データを複数に分割し、それぞれを複数の箇所に記録する制御を行う構成としてもよい。
【0021】
上記の構成によれば、鍵データが分割して記録されることになるので、消去処理が行われた後のディスクから鍵データを再生することをより困難にすることができる。
【0022】
また、本発明に係る記録装置は、上記の構成において、上記鍵データが複数ある場合、上記記録制御部が、1つの鍵データに対して記録する区間を1つずつ設け、その区間において、ランダムな位置に、鍵データを記録する制御を行う構成としてもよい。
【0023】
上記の構成によれば、鍵データがある区間においてランダムな位置に記録されるので、鍵データの前後の未記録部分の長さが、各鍵データに関して全てばらばらとなる。よって、消去処理が行われた後のディスクから鍵データを再生することをより困難にすることができる。
【0024】
また、本発明に係る消去装置は、上記本発明に係る記録装置によってデータが記録された追記型の記録媒体のデータを消去する消去装置であって、上記記録媒体の記録部分と未記録部分とを区別することができるピックアップ部と、ランダムな値を持つダミーデータを生成するダミーデータ生成部と、上記鍵データの前後に設けられた未記録部分に、上記ダミーデータ生成部で生成されたダミーデータを記録する制御を行う記録制御部とを備えることを特徴としている。
【0025】
また、本発明に係るデータ消去方法は、上記本発明に係るデータ記録方法によってデータが記録された追記型の記録媒体のデータを消去する消去方法であって、上記データを記録する記録媒体の記録部分と未記録部分とを区別するステップと、ランダムな値を持つダミーデータを生成するダミーデータ生成ステップと、上記鍵データの前後に設けられた未記録部分に、上記ダミーデータ生成ステップにおいて生成されたダミーデータを記録する記録ステップとを有していることを特徴としている。
【0026】
上記の構成および方法によれば、鍵データの前後に設けられた未記録部分に、ダミーデータ生成部で生成された、ランダムな値とランダムなデータ量を持つダミーデータが記録されるので、消去処理が行われた後のディスクから鍵データを再生することをより困難にすることができる。
【0027】
また、本発明に係る消去装置は、上記本発明に係る記録装置によってデータが記録された追記型の記録媒体のデータを消去する消去装置であって、上記記録媒体の記録部分と未記録部分とを区別することができるピックアップ部と、ランダムな値を持つダミーデータを生成するダミーデータ生成部と、上記鍵データが記録されている区間内において、該鍵データの前後に設けられた未記録部分に、上記ダミーデータ生成部で生成されたダミーデータを記録する制御を行う記録制御部とを備えることを特徴としている。
【0028】
上記の構成によれば、鍵データが記録されている区間内における、鍵データの前後に設けられた未記録部分に、ダミーデータ生成部で生成された、ランダムな値とランダムなデータ量を持つダミーデータが記録されるので、消去処理が行われた後のディスクから鍵データを再生することをより困難にすることができる。
【0029】
また、本発明に係る記録装置は、データを追記型の記録媒体に記録する記録装置において、記録すべきデータのデータ量と、記録すべきデータのデータ量以外に記録時に必要なデータ量とを取得するデータ量判断部と、データを暗号化するための鍵データを上記データ量判断部が取得したデータ量に基づいて生成する鍵生成部と、上記鍵生成部が生成した上記鍵データを用いて、記録すべきデータを暗号化する暗号化処理部と、上記暗号化処理部によって暗号化されたデータを上記記録媒体に記録する制御を行う記録制御部とを備えることを特徴としている。
【0030】
また、本発明に係るデータ記録方法は、データを追記型の記録媒体に記録するデータ記録方法において、データのデータ量を判断するデータ量判断処理ステップと、データを暗号化するための鍵データを、上記データ量判断処理ステップによって取得されたデータ量に基づいて生成する鍵生成ステップと、上記鍵生成ステップによって生成された鍵データによってデータを暗号化処理する暗号化処理ステップと、上記暗号化処理ステップによって暗号化されたデータを、上記記録媒体に記録する記録ステップとを有していることを特徴としている。
【0031】
上記の構成および方法では、記録すべきデータを暗号化する際の鍵データは、記録媒体に記録されるデータ量と、記録媒体に記録されるデータ量以外に記録時に必要なデータ量とに基づいて生成されるようになっている。すなわち、あるデータが記録される際のデータ量に基づいて、鍵データが生成されていることになる。
【0032】
ここで、あるデータを消去する際に、新たにダミーデータを記録する処理を行うことによって、そのデータを暗号化したときのデータ量を把握することが困難となる。
【0033】
よって、上記の構成のように記録媒体に対してデータの記録を行えば、記録したデータの機密性を保護したまま処分することが可能となるので、特別な注意を必要とせずに処分することが出来る。
【0034】
また、記録したデータの一部を指定して再生できなくすることが可能となるので、機密性のあるデータが記録された追記型記録媒体で、特定の機密性のあるデータのみを消去し、残りのデータをそのまま使うことが可能となる。よって、追記型記録媒体を無駄なく有効利用することが可能となる。
【0035】
また、本発明に係る記録装置は、上記の構成において、ランダムな値とランダムなデータ量を持つダミーデータを生成するダミーデータ生成部をさらに備え、上記データ量判断部が、記録するデータのデータ量と、上記ダミーデータ生成部が生成したダミーデータのデータ量との合計のデータ量を取得し、上記鍵生成部が、上記データ量判断部によって取得された上記合計のデータ量に基づいて鍵データを生成する構成としてもよい。
【0036】
上記の構成によれば、鍵データは、記録するデータのデータ量と、上記ダミーデータ生成部が生成したダミーデータのデータ量との合計のデータ量に基づいて生成されるので、あるデータを消去する際に、新たにダミーデータを記録する処理を行うことによって、そのデータを暗号化したときのデータ量を把握することが困難となる。
【0037】
また、本発明に係る記録装置は、データを追記型の記録媒体に記録する記録装置において、データ量判断部と、データを暗号化するための鍵データを上記データ量判断部が取得したデータ量に基づいて生成する鍵生成部と、上記鍵生成部が生成した上記鍵データを用いて、記録すべきデータを暗号化する暗号化処理部と、上記暗号化処理部によって暗号化されたデータを上記記録媒体に記録する制御を行う記録制御部と、ランダムな値とランダムなデータ量を持つダミーデータを生成するダミーデータ生成部とを備え、上記記録制御部が、上記ダミーデータ生成部が生成したダミーデータを上記記録媒体に記録する制御を行うとともに、上記データ量判断部が、記録媒体に記録されたダミーデータのデータ量を取得し、上記鍵生成部が、上記データ量判断部によって取得された上記データ量に基づいて鍵データを生成する構成としてもよい。
【0038】
上記の構成によれば、鍵データは、上記ダミーデータ生成部が生成したダミーデータのデータ量に基づいて生成されるので、あるデータを消去する際に、新たにダミーデータを記録する処理を行うことによって、そのデータを暗号化したときのデータ量を把握することが困難となる。
【0039】
また、本発明に係る記録装置は、上記の構成において、上記記録制御部が、上記記録媒体における過去の上記合計のデータ量の履歴を、上記鍵生成部で生成された鍵データを用いて暗号化して上記記録媒体に記録する制御を行う構成としてもよい。
【0040】
上記の構成によれば、記録媒体における過去のデータ量の履歴が、鍵生成部で生成された鍵データを用いて暗号化されて記録媒体に記録されるので、消去処理が行われると、過去のデータ量の履歴のデータを暗号化する際の鍵データを解析することが困難となる。
【0041】
また、本発明に係る記録装置は、上記の構成において、上記記録制御部が、上記記録媒体の読み出し順において、次回のデータを記録する位置の直前に、上記ダミーデータ生成部が生成したダミーデータを上記記録媒体に記録する制御を行う構成としてもよい。
【0042】
上記の構成によれば、記録媒体において、前回の記録時までに何らかのデータが記録されている領域の後端部からランダムな距離だけ離れた位置に、次回のデータが記録されることになる。よって、消去処理が行われた場合に、消去されたデータを不正に読み出すことを困難にすることができる。
【0043】
また、本発明に係る記録装置は、上記の構成において、上記データ量判断部が、上記記録媒体に既に記録されているデータ量と、これから記録するデータのデータ量との合計のデータ量を取得するとともに、上記記録制御部が、この取得したデータ量に基づいて上記鍵生成部が生成した鍵データを用いて、記録すべきデータを暗号化して上記記録媒体に記録する制御を行う構成としてもよい。
【0044】
上記の構成によれば、鍵データは、記録媒体に既に記録されているデータ量と、これから記録するデータのデータ量との合計のデータ量に基づいて生成されるので、あるデータを消去する際に、新たにダミーデータを記録する処理を行うことによって、そのデータを暗号化したときのデータ量を把握することが困難となる。
【0045】
また、本発明に係る記録装置は、上記の構成において、上記データ量判断部が、上記記録媒体に既に記録されたデータ量を取得するとともに、上記記録制御部が、この取得したデータ量に基づいて上記鍵生成部が生成した鍵データを用いて、記録すべきデータを暗号化して上記記録媒体に記録する制御を行う構成としてもよい。
【0046】
上記の構成によれば、鍵データは、記録媒体に既に記録されているデータ量に基づいて生成されるので、あるデータを消去する際に、新たにダミーデータを記録する処理を行うことによって、そのデータを暗号化したときのデータ量を把握することが困難となる。
【0047】
また、本発明に係る記録装置は、上記の構成において、上記データ量判断部が、上記記録媒体に既に記録されているダミーデータのデータ量と、今回記録したダミーデータの合計のデータ量を取得し、上記記録制御部が、この取得したデータ量に基づいて上記鍵生成部が生成した鍵データを用いて、過去のダミーデータのデータ量の履歴を上記記録媒体に記録する制御を行う構成としてもよい。
【0048】
上記の構成によれば、過去のダミーデータのデータ量の履歴が、記録媒体に既に記録されているダミーデータのデータ量と、今回記録したダミーデータの合計のデータ量に基づいて鍵生成部で生成された鍵データを用いて暗号化されて記録媒体に記録されることになる。よって、消去処理が行われると、過去のダミーデータのデータ量の履歴のデータを暗号化する際の鍵データを解析することが困難となるので、消去されたデータを暗号化したときのデータ量を把握することが困難となる。
【0049】
また、本発明に係る記録装置は、上記の構成において、上記記録制御部が、記録動作の最後に、上記ダミーデータ生成部が生成したランダムな値でランダムなデータ量を持つダミーデータを記録する制御を行う構成としてもよい。
【0050】
上記の構成によれば、データを記録する際に用いたデータ量の基準を変える位置、例えば、何らかのデータが記録される記録媒体上の領域の後端部に、ダミーデータが記録されることになる。よって、記録が行われるごとに、記録されるデータ量が変化することになるので、消去処理が行われると、消去されたデータを暗号化したときのデータ量を把握することが困難となる。
【0051】
また、本発明に係る消去装置は、上記本発明に係る記録装置によってデータが記録された追記型の記録媒体のデータを消去する消去装置であって、データを記録する記録媒体の記録部分と未記録部分とを区別することのできるピックアップ部と、記録すべきデータのデータ量と、記録すべきデータのデータ量以外に記録時に必要なデータ量との合計のデータ量を取得するデータ量判断部と、データを暗号化および復号するための鍵データを生成する鍵生成部と、データを暗号化および復号する暗号化復号化処理部と、ランダムな値とランダムなデータ量を持つダミーデータを生成するダミーデータ生成部と、記録動作の最後に、上記ダミーデータ生成部が生成したダミーデータを記録する制御を行う記録制御部とを備えることを特徴としている。
【0052】
また、本発明に係るデータ消去方法は、上記本発明に係るデータ記録方法によってデータが記録された追記型の記録媒体のデータを消去する消去方法であって、ランダムな値とランダムなデータ量とを持つダミーデータを生成するダミーデータ生成ステップと、上記鍵データの前後に設けられた未記録部分に、上記ダミーデータ生成ステップにおいて生成されたダミーデータを記録する記録ステップとを有していることを特徴としている。
【0053】
上記の構成および方法によれば、データを記録する際に用いたデータ量の基準を変える位置、例えば、何らかのデータが記録される記録媒体上の領域の後端部に、ダミーデータが記録されることになる。よって、消去が行われるごとに、消去が行われる際に記録されるデータ量が変化することになるので、消去されたデータを暗号化したときのデータ量を把握することが困難となる。
【0054】
また、本発明に係る消去装置は、上記本発明に係る記録装置によってデータが記録された追記型の記録媒体のデータを消去する消去装置であって、データを記録する記録媒体の記録部分と未記録部分とを区別することのできるピックアップ部と、記録すべきデータのデータ量と、記録すべきデータのデータ量以外に記録時に必要なデータ量との合計のデータ量を取得するデータ量判断部と、データを暗号化および復号するための鍵データを生成する鍵生成部と、データを暗号化および復号する暗号化復号化処理部と、上記記録媒体の過去のデータ量の履歴、または過去のダミーデータのデータ量の履歴から、消去対象のデータを暗号化するのに用いた鍵データのもとになるデータ量を除いたものを暗号化して記録する制御を行う記録制御部を備えることを特徴としている。
【0055】
上記の構成によれば、記録媒体の過去のデータ量の履歴、または過去のダミーデータのデータ量の履歴から、消去対象のデータを暗号化するのに用いた鍵データのもとになるデータ量を除いたものが暗号化されて記録されるので、消去処理が行われた後では、消去対象のデータを暗号化するのに用いた鍵データのもとになるデータ量を把握することが困難となる。よって、消去されたデータの再生を行うことを困難にすることができる。
【0056】
また、本発明に係る消去装置は、上記の構成において、ランダムな値とランダムなデータ量を持つダミーデータを生成するダミーデータ生成部をさらに備え、上記記録制御部が、上記記録媒体の読み出し順において、消去を行うためのデータを記録する位置の直前に、上記ダミーデータ生成部が生成したダミーデータを記録する制御を行う構成としてもよい。
【0057】
上記の構成によれば、記録媒体において、前回の記録時までに何らかのデータが記録されている領域の後端部からランダムな距離だけ離れた位置に、消去を行うためのデータが記録されることになる。よって、消去処理が行われた場合に、消去されたデータを不正に読み出すことを困難にすることができる。
【0058】
また、本発明に係る再生装置は、上記本発明に係る記録装置によってデータが記録された追記型の記録媒体、もしくは、上記本発明に係る消去装置によってデータが消去された追記型の記録媒体を再生する再生装置であって、上記記録媒体の記録部分と未記録部分とを区別することができるピックアップ部と、上記記録媒体において、前後を未記録部分で囲まれて記録された鍵データを検出する鍵検出部とを備えることを特徴としている。
【0059】
また、本発明に係るデータ再生方法は、上記本発明に係るデータ記録方法によってデータが記録された追記型の記録媒体、もしくは、上記本発明に係るデータ消去方法によってデータが消去された追記型の記録媒体を再生するデータ再生方法であって、上記記録媒体の記録部分と未記録部分とを区別するステップと、上記記録媒体において、前後を未記録部分で囲まれて記録された鍵データを検出する鍵検出ステップとを有していることを特徴としている。
【0060】
また、本発明に係る再生装置は、上記本発明に係る記録装置によってデータが記録された追記型の記録媒体、もしくは、上記本発明に係る消去装置によってデータが消去された追記型の記録媒体を再生する再生装置であって、上記記録媒体に記録されている情報を受け取り、データ量を判断するデータ量判断部と、上記データ量判断部が判断したデータ量に基づいて鍵データを生成する鍵生成部とを備えることを特徴としている。
【0061】
また、本発明に係るデータ再生方法は、上記本発明に係るデータ記録方法によってデータが記録された追記型の記録媒体、もしくは、上記本発明に係るデータ消去方法によってデータが消去された追記型の記録媒体を再生するデータ再生方法であって、上記記録媒体に記録されている情報を受け取り、データ量を判断するデータ量判断ステップと、上記データ量判断ステップによって判断されたデータ量に基づいて鍵データを生成する鍵生成ステップとを有していることを特徴としている。
【0062】
上記の構成および方法によれば、上記本発明に係る記録装置によってデータが記録された記録媒体、もしくは、上記本発明に係る消去装置によってデータが消去された記録媒体を的確に再生することが可能となる。
【0063】
【発明の実施の形態】
本発明の実施の一形態について図1ないし図19に基づいて説明すれば、以下のとおりである。
【0064】
(ファイルシステム)
本実施形態の構成の説明を行う前に、まず、本実施形態において共通に用いるファイルシステムの説明を行う。本実施形態では、ファイルシステムとして、追記型ディスクに対応したUDF(Universal Disk Format)を用いるものとする。図5(b)は、図5(a)に示すディレクトリ/ファイル構成をUDFで記録した例を示している。図5(a)には、ディレクトリ650の中に、ファイル651・652が記録される例が示されている。
【0065】
図5(b)において、領域602に記録されているAVDPは、Anchor Volume Descriptor Pointerの略であり、UDFの管理情報を探すためのエントリポイントに相当するものである。このAVDPは、通常は256セクタ目、Nセクタ目、もしくはN−256セクタ目(Nは最大論理セクタ番号)に記録される。
【0066】
また、領域601に記録されているVDSは、Volume Descriptor Sequenceの略であり、UDFが管理する領域であるボリュームに関する管理情報を記録している。ボリュームは一般に一枚のディスクに1個存在し、その中にパーティションが一般に1個含まれる。
【0067】
領域603に記録されているFSDは、File Set Descriptorの略であり、ルートディレクトリのFE(File Entry)(領域604)の位置情報(論理ブロック番号および論理ブロック数で構成され、extentと呼ばれる)を含んでいる。このFSDは、パーティションに1個存在する。なお、パーティションの中での位置情報はパーティションの先頭からのセクタ番号に相当する論理ブロック番号で示され、1個の論理ブロックは1セクタに対応する。
【0068】
FEとは、extentの集合を管理するものである。このextentを書き換えたり、追加したり、削除することによって、ファイルを構成する実データの順番を変えたり、データを挿入したり削除したりすることが可能となっている。
【0069】
領域604に記録されるFEは、ルートディレクトリの直下のファイルやディレクトリの名称等を格納するFile Identifier Descriptor(FID)の集合を格納する領域605を管理する。領域605中において、領域611のFID、および領域612のFIDは、それぞれファイル651、ファイル652のファイル名やextentの集合を管理するFE(領域606、608)の位置情報を含んでいる。
【0070】
領域606のFEは、ファイル651の実データを構成する領域である領域607、領域610をextentとして管理する。
【0071】
領域613に記録されるVAT(Virtual Allocation Table)は、FEを指すアドレスの変換テーブルである。この変換テーブルを用いることによって、書き換え不能な追記型ディスクにおいて、以下に示すような仮想的な書き換えを実現する。
【0072】
領域660に記録されるBorder outは、前回の追記がどこで終わったかを示すための領域である。DVD−Rでは、記録時には、VATがBorder outの直前に記録される。そして、再生時には、まずBorder outが検出され、その直前のVATを読み出すことで、FEを指すアドレスの変換テーブルをメモリ上に構築する。そして、変換テーブルを経由してディスク上の実際のFEに対するアクセスが行われる。
【0073】
したがって、ファイルの仮想的な書き換えを実現するには、次のような処理を行えばよい。まず更新分のデータを追記するとともに、そのデータのextentを、書き換え対象のファイルのFEに追加したものを追記する。そして、そのファイルのFEを新しいFEに読みかえるようなマッピングをVATに登録する。
【0074】
ファイルの追加や削除についても同様に、FIDの集合のextentを管理するFEを追記し、従来のFEと置き換えるようなマッピングをVATに登録すればよい。
【0075】
VATを読み出すタイミングは、FEを読み出す前であり、一般にVDSの読み出しと同時に読み出してメモリ上に蓄えておく。このときファイル651の実データにアクセスするためには、領域602のAVDP、領域601のVDS、領域613のVAT、領域603のFSD、領域604のFE、領域611のFID、領域606のFE、領域607、領域610の順にリンクを辿っていけばよい。
【0076】
なお、図5(b)において、領域613のVATを含めた左部分は、ファイルシステムの管理内を示し、領域660のBorder outを含めた右部分はファイルシステムの管理外を示している。
【0077】
(実施例1)
(記録消去システム構成)
以下では、説明を簡潔にするため、データの記録または消去を行う記録消去装置と、データを再生する再生装置とを別々の装置として説明することにする。しかしながら、記録消去装置と再生装置とは、作用の等しい部分を共通化することによりデータの記録、消去および再生を行う記録再生消去装置として構成することが可能である。
【0078】
図1は、本実施例におけるデータの記録及び消去を行う記録消去装置の機能的な構成を示すブロック図である。同図に示すように、記録消去装置は、ピックアップ部102、スピンドルモータ103、サーボ回路104、記録制御部105、記録位置制御部106、ダミーデータ生成部107、記録データ切り替え部108、記録位置データ切り替え部109、鍵生成部110、暗号化処理部111、ファイルシステム管理情報管理部112、鍵位置管理部113、データ入力部114、警告データ出力部115、および警告データ生成部116を備えた構成となっている。
【0079】
ピックアップ部102は、追記型記録媒体である光ディスク101からデータを読み取る部分である。スピンドルモータ103は光ディスク101を回転させる駆動部分である。サーボ回路104は記録制御部105から記録位置情報を受け取り、スピンドルモータ103およびピックアップ部102を駆動させる部分である。記録制御部105は、記録位置制御部106から鍵記録位置情報またはデータ記録位置情報を受け取り、記録データ切り替え部108から入力されるデータまたは鍵またはダミーデータをその記録位置情報とともにサーボ回路104に出力する部分である。
【0080】
記録位置制御部106は、記録位置データ切り替え部109から、ファイルシステムの管理内の記録位置および鍵の記録位置を受け取り、その位置を記録位置情報として、光ディスクの記録されていない部分を考慮しながら記録制御部105に出力する部分である。ダミーデータ生成部107は、ユーザにより光ディスク101の消去指示があった場合、ランダムな値を持つダミーデータを生成し、記録データ切り替え部108に出力する部分である。
【0081】
記録データ切り替え部108は、暗号化処理部111から暗号化されたデータを、鍵生成部110から鍵を、ダミーデータ生成部107からダミーデータをそれぞれ受け取り、受け取ったデータのいずれか1種類を記録制御部105に出力する部分である。記録位置データ切り替え部109は、ファイルシステム管理情報管理部112からファイルシステム管理情報を、鍵位置管理部113から鍵位置情報をそれぞれ受け取り、受け取った情報のいずれか1種類を記録位置制御部106に出力する部分である。
【0082】
鍵生成部110は、データを記録する指示があった場合に、データを暗号化する鍵を生成し、記録データ切り替え部108および暗号化処理部111に出力する部分である。暗号化処理部111は、データ入力部114から受け取ったデータを、鍵生成部110から受け取った鍵で暗号化し、その暗号化したデータを記録データ切り替え部108に出力する処理部である。ここでの暗号化方式としては、本実施形態ではDES(Data Encryption Standard)を用いるものとするが、これに限定されるものではなく、その他の暗号化方式を用いてもよい。
【0083】
ファイルシステム管理情報管理部112は、光ディスク101のファイルシステムに関する情報を保持しておく部分である。鍵位置管理部113は、光ディスク101のファイルシステムで管理されていない部分に記録された鍵の位置情報を管理する部分である。
【0084】
データ入力部114は記録が行われるデータの入力部分である。警告データ出力部115は、警告データ生成部116から警告データを受け取り、その警告データに合わせて出力する部分である。警告データ生成部116は記録制御部105から警告内容を示すデータを受け取り、その警告内容を示すデータを生成する部分である。
【0085】
(記録フォーマット)
本実施形態の実施例1で用いる記録フォーマットについて、図15を用いて説明する。図中のデータ630、データ631、データ632はファイルシステムの管理内の実データであり、暗号化されて記録してある。区間633、区間634、区間635はそれぞれ16セクタ(32Kbyte)以上の幅を持つ区間であり、光ディスクに読み出し順で、途中から後ろの部分に割り当てられている。なお、ここでいう途中とは、記録すべきデータが記録されるべき領域の範囲の最後部に相当するものである。区間を16セクタ以上確保する理由は、書き込み単位が16セクタずつであるためである。ここでは、区間の幅に余裕を持たせるために、16セクタ以上の幅で区間を設定している。
【0086】
データ630、データ631、およびデータ632の暗号化に関する鍵データは、それぞれ区間633、区間634、および区間635に記録される。すなわち、鍵データが記録される区間は、実データが記録された順で、読み出し方向において前から順番に割り当てられている。
【0087】
次に鍵データを区間に記録する方法について説明する。暗号化方式としてDES(Data Encryption Standard)を用いる場合、鍵データは64bitのデータからなる。そして、この64bitの鍵データは、記録時毎に区間のランダムな位置に記録される。図15における鍵データ636、および鍵データ637は、このようにして記録された鍵データの例である。
【0088】
また、図15において、鍵データ637が記録されている区間634において、鍵データ637の左部分にダミーデータ638、右部分にダミーデータ639が記録されている。これは後述する消去処理によって、データ631が消去された後の鍵データ637が記録されている区間の状態を表している。
【0089】
(記録方法)
次に、上記の記録消去装置における記録方法について図を用いて説明する。まず、図6および図7を参照しながら、記録前および記録後の光ディスクの状態を説明する。
【0090】
図6は、記録前の光ディスクの状態を示している。同図において、領域606、領域607、領域608、領域610、領域613、および領域660については、図5(b)で示したものと同様であるので、ここではその説明を省略する。鍵データ615は、領域607および領域610に記録されている実データを暗号化した鍵データとなっている。
【0091】
図7は、記録後の光ディスクの状態を示している。同図において、領域606、領域607、領域608、領域610、領域613、および領域660については、図5(b)で示したものと同様であるので、ここではその説明を省略する。領域616のFEは、新たに記録されるデータ617のファイルエントリである。データ617は新たに記録されるデータである。鍵データ618は、新たに記録されるデータ617を暗号化した鍵データである。領域619のVATは、データ617が記録されることによって更新されたVATである。領域661のBorder outは、データ617を追記した後の終了位置を表している。
【0092】
図9は、図7に示すように記録が行われる際の記録処理の流れを示すフローチャートである。ここでは、図7におけるデータ617を記録する手順を例にとって説明する。記録開始が指示されると、記録制御部105は記録媒体に関する情報の取得処理を開始する(ステップ1、以降、S1のように称する)。まず、記録制御部105は光ディスク101が存在するか否かを判定する(S2)。
【0093】
光ディスク101が存在しないと判定された場合(S2においてNO)、光ディスク101が存在しないという情報が警告データ生成部116に出力される。警告データ生成部116は、光ディスク101が存在しないという情報を受けると、出力形態に応じた警告データを生成し(S12)、警告データ出力部115に出力する。そして、警告データ出力部115は、生成された警告データに基づいて警告を出力する(S13)。
【0094】
一方、光ディスク101が存在すると判定された場合(S2においてYES)、記録制御部105は、光ディスク101の記録型情報を取得し、追記型であるか否かを判定する(S3)。ここで、光ディスク101の記録型情報が追記型でないと判定された場合(S3においてNO)、光ディスク101の記録型情報が警告データ生成部116に出力される。警告データ生成部116は、この光ディスク101の記録型情報をもとに、出力形態に応じた警告データを生成し(S12)、警告データ出力部115に出力する。警告データ出力部115は、生成された警告データに基づいて警告データを出力する(S13)。
【0095】
光ディスク101の記録型情報が追記型であると判定された場合(S3においてYES)、記録制御部105はファイルシステムの管理情報を取得する(S4)。そして、S4において取得されたファイルシステムの管理情報に基づいて、ファイルシステムの管理内に記録されているデータの記録位置情報が取得され、これがファイルシステム管理情報管理部112に記憶される(S5)。このデータの記録位置情報とは、図6に示す例で言えば、VATが記録されている領域613よりも左側の領域は記録済みであるという情報である。
【0096】
次に、ファイルシステムの管理外に記録されている鍵記録位置情報が取得され、鍵位置管理部113に記憶される(S6)。この鍵記録位置情報とは、図6に示す例で言えば、ファイルシステムの管理外に記録されている鍵データ615は、記録されているデータ607およびデータ610の鍵データであるという情報である。
【0097】
次に、記録位置制御部106は、ファイルシステム管理情報管理部112からS5において取得したファイルシステムの管理内のデータ記録位置情報を受け取るとともに、鍵位置管理部113からS6において取得した鍵記録位置情報を受け取り、この2種類の情報からデータ617の鍵データを記録する位置を決定する(S7)。図7に示す例では、左から2番目の区間にデータ617の鍵データ618が記録されるように決定される。
【0098】
記録位置制御部106は、鍵データの記録位置の決定を次の手順で行う。まず、ファイルシステムの管理内のデータとファイルシステムの管理外に記録したデータが重ならないことが確認される。その後、ファイルシステムの管理外に割り当てられた区間のうち、未記録区間でかつ一番左の区間が決定され、区間が決定された後、その区間内のランダムな位置に鍵データの記録位置が決定される。
【0099】
次に、鍵生成部110は、データを暗号化するための鍵データを生成する。暗号化処理部111は、データ入力部114から入力されたデータを鍵データで暗号化する(S8)。暗号化されたデータは記録データ切り替え部108を通して、記録制御部105で光ディスク101に記録される(S9)。この暗号化されたデータの記録方法は、ファイルシステムに則った記録方法である。つまり、図7に示す例では、記録されるデータはデータ617、そのファイルエントリは領域616のFEとなる。
【0100】
その後、記録制御部105は、暗号化されたデータの記録が終了したか否かを判定する(S10)。データの記録が終了していないと判定された場合(S10においてNO)、S8に戻って暗号化処理が繰り返される。一方、データの記録が終了したと判定された場合(S10においてYES)、S7において記録位置制御部106によって決定された鍵データの記録位置に従って、記録制御部105によって、鍵データが記録される(S11)。図7に示す例では、鍵データ618の位置に鍵データが記録される。
【0101】
その後、記録されたデータのファイルエントリである、領域616のFEを加えられたVATが記録される。このVATは、図7に示す例では領域619のVATに対応する。最後に、Border out661が記録される。以上で、記録消去装置における記録処理が終了する。
【0102】
(消去方法)
次に、上記の記録消去装置における消去方法について図を用いて説明する。まず、図7および図8を参照しながら、消去前および消去後の光ディスクの状態を説明する。
【0103】
図7は消去前の光ディスクの状態を示している。図7については、上記したとおりであるのでここではその説明を省略する。
【0104】
図8は消去後の光ディスクの状態を示している。ここでは、図7に示されていない領域およびデータに関してのみ説明する。ダミーデータ620は、鍵データ615が記録されている区間の中において、鍵データ615の左側部分に記録されるものである。また、ダミーデータ621は、同じく鍵データ615が記録されている区間の中において、鍵データ615の右側部分に記録されるものである。領域622のVATは、データ607およびデータ610が消去されることによって更新されたVATである。Border out662は、領域622のVATが記録されたことによる追記の終了位置を表している。
【0105】
図10は、図8に示すように消去が行われる際の記録処理の流れを示すフローチャートである。ここでは、図7において、領域606のFEが指すデータ607および610を消去する手順を例にとって説明をする。まず消去データの選択が行われる。消去データの選択は、次の手順で行われる。まず、ファイルシステムの管理情報が取得される(S21)。そして、このファイルシステムの管理情報に基づいて、ファイルシステムの管理内に記録されている領域619のVATが読み込まれ、現在記録されているファイルエントリが選択されることによって消去データの選択が行われる(S22)。
【0106】
次に、記録制御部105は、ファイルシステムの管理外に記録されている鍵記録位置情報を取得し、これを鍵位置管理部113に記憶する(S23)。この鍵記録位置情報とは、図7に示す例で言えば、ファイルシステムの管理外に記録されている鍵データ615および鍵データ618の記録位置の情報である。
【0107】
次に、ダミーデータ生成部107は、ダミーデータを生成し、記録データ切り替え部108を通して記録制御部105に出力する(S24)。記録制御部105はダミーデータを、消去選択したデータを暗号化した鍵データの前後に記録する(S25)。このダミーデータの記録方法を図8を用いて説明すると、鍵データ615が記録されている区間において、鍵データ615の左側部分の未記録部分にダミーデータ620が記録され、鍵データ615の右側部分の未記録部分にダミーデータ621が記録される。これにより、鍵データが記録されていた区間が全て記録された状態となる。
【0108】
その後、消去したデータのファイルエントリである領域606のFEを除いたVATが記録される。このVATは、図8に示す例では、領域622のVATに対応する。最後に、Border out662が記録される。以上で、記録消去装置における消去処理が終了する。
【0109】
以上のような消去方法が消去の役割を果たしている理由は、消去を行ったデータの鍵データが再生できない点にある。鍵データを再生できない理由は次のとおりである。記録媒体から読み取った情報が鍵データであると判断する基準として、記録媒体の記録部分および未記録部分が用いられている。ここで、上記のように鍵データの前後の未記録部分にダミーデータが記録されると、鍵データの判断基準の1つである未記録部分が失われることになり、その結果、鍵データの再生が不可能となる。
【0110】
また、悪意を持った人が消去されたデータを再生しようと考えた場合、ファイルシステムの管理外の区間に記録されたデータを最初から順に鍵データとみなして、再生しようとするデータを復号していかなければならない。しかし、この方法では再生しようとするデータに対応する鍵データを取得するまで、非常に時間がかかる。そのため、実際には、再生しようとするデータの鍵データを取得するのが困難となり、その結果、データの再生は不可能となる。
【0111】
(再生システム構成)
図2は、本実施形態におけるデータの再生を行う再生装置の機能的な構成を示すブロック図である。同図に示すように、再生装置は、ピックアップ部202、スピンドルモータ203、サーボ回路204、再生制御部205、再生位置制御部206、鍵検出部207、再生データ切り替え部208、ファイルシステム管理情報管理部209、鍵記憶部210、復号処理部211、データ出力部212、警告データ生成部213、および警告データ出力部214を備えた構成となっている。
【0112】
ピックアップ部202は、追記型記録媒体である光ディスク201からデータを読み取る部分である。スピンドルモータ203は光ディスク201を回転させる駆動部分である。サーボ回路204は再生制御部205から記録位置情報を受け取り、スピンドルモータ203およびピックアップ部202を駆動させる部分である。再生制御部205は再生位置制御部206からデータ記録位置情報を受け取り、ピックアップ部202から読み出したデータを再生データ切り替え部208に出力する部分である。
【0113】
再生位置制御部206は、ファイルシステム管理情報管理部209からファイルシステムの管理内の記録位置を受け取り、再生制御部205に出力する部分である。鍵検出部207は、再生データ切り替え部208から光ディスク201に記録された情報を受け取って鍵データを検出し、この鍵データを記憶部210に出力する部分である。
【0114】
再生データ切り替え部208は、ピックアップ部202で読み取られ、再生制御部205から受け取ったデータが、ファイルシステムの管理内のデータである場合には、これを復号処理部211に出力し、ファイルシステムの管理外のデータである場合には、これを鍵検出部207に出力する部分である。ファイルシステム管理情報管理部209は、光ディスク201のファイルシステムに関する情報を保持しておく部分である。
【0115】
鍵記憶部210は、鍵検出部207から鍵データを受け取り、一時的に記憶して、復号処理部211に鍵データを出力する部分である。復号処理部211は、再生データ切り替え部208から受け取った暗号化されたデータを、鍵記憶部210から受け取った鍵データに基づいて復号処理し、復号されたデータをデータ出力部212に出力する処理部である。
【0116】
データ出力部212はデータを出力する部分である。警告データ生成部213は、再生制御部205から警告内容を示すデータを受け取り、その警告内容を示すデータを生成する部分である。警告データ出力部214は警告データ生成部213から警告データを受け取り、その警告データに合わせて出力する部分である。
【0117】
(再生方法)
次に、上記の再生装置における再生方法について図を用いて説明する。図11は、図7に示す状態で情報が記録されている光ディスクを再生する際の処理の流れを示すフローチャートである。ここでは特に、図7において、領域616のファイルエントリFEが指すデータ617を再生する手順を例にとって説明する。
【0118】
まず再生データの選択が次のように行われる。まず、ファイルシステム管理情報が取得され、ファイルシステムの管理内に記録されている領域619のVATが読み出される(S31)。そして、現在記録されているファイルエントリが選択されることによって、再生データの選択が行われる(S32)。
【0119】
次に、選択されたデータに関するファイルエントリFEの順番情報が取得される。この取得された順番情報に基づいて、ファイルシステムの管理外に記録されている対応する鍵データが鍵検出部207によって検出される(S33)。図7に示す例では、データ617は実データにおいて2番目にエントリされているので、対応する鍵データは鍵データ618と判断される。
【0120】
ここで、鍵検出部207によって、再生すべき選択されたデータ(再生データ)の鍵データが存在しないと判断された場合(S34においてNO)、鍵データが存在しないという情報が再生データ切り替え部208を通して、警告データ生成部213に出力される。警告データ生成部213は、この鍵データが存在しないという情報をもとに、出力形態に応じた警告データを生成し(S39)、警告データ出力部214に出力する。警告データ出力部214は、生成された警告データに基づいて警告を出力する(S40)。
【0121】
一方、再生データの鍵データが存在すると判断された場合(S34においてYES)、鍵検出部207は、この鍵データを鍵記憶部210に出力し、鍵記憶部210はこの鍵データを記憶する(S35)。また、鍵検出部207は、再生データ切り替え部208を通して、再生制御部205に、選択したデータの再生はこれ以降、ファイルシステムに則って再生するように指示する。再生制御部205は、ファイルシステムの管理情報を取得することによって得られたデータ記録位置情報を、ファイルシステム管理情報管理部209に記憶する(S36)。
【0122】
次に、ファイルシステム管理情報管理部209に記憶されたデータ記録位置情報が再生位置制御部206に出力され、再生制御部205に出力される。再生制御部205は、入力されたデータ記録位置情報に基づいて、光ディスク201からデータを読み込み、復号処理部211に出力する。復号処理部211は、再生制御部205から受け取ったデータを、鍵記憶部210に記憶された鍵データで復号し(S37)、復号されたデータがデータ出力部212に出力される(S38)。
【0123】
(実施例1の変形例)
上記実施例1では、64bitの鍵データを連続して記録することを例にして説明したが、鍵データを複数に分割し、それぞれを複数の位置に記録する方法も考えられる。例えば、64bitの鍵データを8bitのデータ8個に分割し、決められた区間に間を開けて記録する。このように、鍵データを分割して記録した場合、消去処理が行われた後のディスクから鍵データを再生することがより困難となる。
【0124】
また、上記実施例1では、鍵データを記録する区間を、読み出しが行われる順番で、ディスクの途中から後ろ側に順次設定するものとして説明した。このような方法によれば、ピックアップを最後まで移動させる必要がないというメリットがある。しかし、読み出しが行われる順番とは逆に、ディスクの後ろ側から鍵データを記録する区間を設定する方法としてもよい。この方法によれば、鍵データを記録する区間を予め確保する必要がなくなるので、記録媒体の無駄になる部分を少なくすることができる。
【0125】
また、上記実施例1では、鍵データを記録する区間はまとめて記録媒体の読み出し順で最後の部分に確保する例を示したが、鍵データを記録する区間を、記録処理および消去処理ごとにファイルシステムの管理外であるBorder outの後ろに設定する方法としてもよい。この方法によれば、鍵データを記録する区間を予め確保する必要がなくなるので、記録媒体の無駄になる部分を少なくすることができる。
【0126】
また、上記実施例1では、鍵データを記録する区間の長さを全て同じ長さで固定とする例を示したが、区間の長さを区間毎に変える方法としてもよい。この方法によれば、区間の長さが固定長でないことによって、消去処理が行われた後の鍵データの再生がより困難になる。
【0127】
また、上記実施例1では、一個のデータを消去する消去方法を例にとって説明したが、ディスクの未記録部分に全てダミーデータを記録することで、全データの消去を行うことが可能である。
【0128】
(実施例2)
(記録消去システム構成)
以下では、実施例1と同様に、説明を簡潔にするため、データの記録または消去を行う記録消去装置とデータを再生する再生装置とを別々の装置として説明する。しかしながら、記録消去装置と再生装置とは、作用の等しい部分を共通化することによってデータの記録、消去および再生を行う記録再生消去装置として構成することが可能である。
【0129】
図3は、本実施例におけるデータの記録及び消去を行う記録消去装置の機能的な構成を示すブロック図である。同図に示すように、記録消去装置は、ピックアップ部302、スピンドルモータ303、サーボ回路304、記録制御部305、記録位置制御部306、ダミーデータ生成部307、記録データ切り替え部308、記録位置データ切り替え部309、暗号化復号化処理部310、鍵生成部311、ファイルシステム管理情報管理部312、データ入力部313、データ量判断部314、警告データ出力部315、警告データ生成部316、およびファイルシステム管理外管理部317を備えた構成となっている。
【0130】
ピックアップ部302は、追記型記録媒体である光ディスク301からデータを読み取る部分である。スピンドルモータ303は光ディスク301を回転させる駆動部分である。サーボ回路304は、記録制御部305から記録位置情報を受け取り、スピンドルモータ303、ピックアップ部302を駆動させる部分である。記録制御部305は、記録位置制御部306からデータ記録位置情報を受け取り、記録データ切り替え部308から入力されるデータ、鍵データ、またはダミーデータをその記録位置情報とともにサーボ回路304に出力する部分である。
【0131】
記録位置制御部306は、ファイルシステム管理情報管理部312からファイルシステムの管理内の記録位置を受け取り、光ディスクの記録されていない部分を判断し、その位置を記録位置情報として、記録制御部305に出力する部分である。ダミーデータ生成部307は、ユーザにより光ディスク301の消去指示があった場合、ランダムな値と量を持つダミーデータを生成し、記録データ切り替え部308に出力する部分である。
【0132】
記録データ切り替え部308は、暗号化復号化処理部310から暗号化されたデータを、ダミーデータ生成部307からダミーデータをそれぞれ受け取り、受け取ったデータのいずれか1種類を記録制御部305に出力する部分である。記録位置データ切り換え部309は、ファイルシステム管理情報管理部312からファイルシステム管理情報を、ファイルシステム管理外管理部317からファイルシステムの管理外のデータをそれぞれ受け取り、受け取った情報のいずれか1種類を記録位置制御部306に出力する部分である。
【0133】
暗号化復号化処理部310は、データ入力部313から受け取ったデータを、鍵生成部311から受け取った鍵データによって暗号化し、その暗号化したデータを記録データ切り替え部308に出力する処理部である。鍵生成部311は、データを記録する指示があった場合、データ量判断部314から受け取ったデータ量に基づいて鍵データを生成し、暗号化復号化処理部310に出力する部分である。
【0134】
ファイルシステム管理情報管理部312は光ディスク301のファイルシステムに関する情報を保持しておく部分である。データ入力部313は記録するデータの入力部分である。データ量判断部314は、データ入力部313から入力されたデータ、記録制御部305から入力されたデータ、または、ダミーデータ生成部307から入力されたダミーデータのデータ量を判断する部分である。
【0135】
警告データ出力部315は、警告データ生成部316から警告データを受け取り、その警告データに基づいて警告を出力する部分である。警告データ生成部316は、記録制御部305から警告内容を示すデータを受け取り、その警告内容を示すデータを生成する部分である。ファイルシステム管理外管理部317はファイルシステムの管理外に記録されたデータを保持しておく部分である。
【0136】
(記録フォーマット)
実施例2で用いる記録フォーマットについて、図16を用いて説明する。図16中において、図5(b)で説明した領域に関しては、ここではその説明を省略する。データ607、データ610は光ディスクに暗号化されて記録してあるものであるが、その暗号化に用いる鍵データは、図16中に示すLengthを元にして生成される。このLengthとは、ディスクの読み出し開始場所からダミーデータ640までのデータ量と定義する。
【0137】
ダミーデータ640は記録毎にランダムな値かつランダムなデータ量を有するものとする。また、ダミーデータ640はファイルシステムの管理外に記録されるので、Lengthを取得するためには、ファイルシステムの管理内のデータ量とファイルシステムの管理外のデータ量を取得する必要がある。また、Lengthの集合670には現在までのLengthの集合が現在のデータ量で暗号化されて記録されている。
【0138】
(記録方法)
次に、上記の記録消去装置における記録方法について図を用いて説明する。まず、図17および図18を参照しながら、記録前および記録後の光ディスクの状態を説明する。
【0139】
図17は、記録前の光ディスクの状態を示している。同図は、上記した図16に示す状態において、領域606のFEから右側部分の光ディスクの状態となっている。図中のLength1はダミーデータ640までのデータ量を表している。
【0140】
図18は、記録後の光ディスクの状態を示している。ここでは、図17に示されている領域以外の領域について説明する。ダミーデータ641は記録動作の最後に記録されるデータである。ダミーデータ643はダミーデータ640の直後に記録されるデータである。Lengthの集合671は、Length2に基づいて生成された鍵データによってLength1を暗号化したデータである。Length2はダミーデータ641までのデータ量を表している。
【0141】
図12は、図18に示すように記録が行われる際の記録処理の流れを示すフローチャートである。ここでは、図18におけるデータ617を記録する手順を例にとって説明する。記録開始が指示されると、記録制御部305は記録媒体に関する情報の取得処理を開始する(S41)。まず、記録制御部305は光ディスク301が存在するか否かを判定する(S42)。
【0142】
光ディスク301が存在しないと判定された場合(S42においてNO)、光ディスク301が存在しないという情報が警告データ生成部316に出力される。警告データ生成部316は、この光ディスク301が存在しないという情報に基づいて、出力形態に応じた警告データを生成し(S53)、これを警告データ出力部315に出力する。警告データ出力部315は、生成された警告データに基づいて警告を出力する(S54)。
【0143】
一方、光ディスク301が存在すると判定された場合(S42においてYES)、記録制御部305は、光ディスク301の記録型情報を取得し、追記型であるか否かを判定する(S43)。光ディスク301の記録型情報が追記型ではないと判定された場合(S43においてNO)、光ディスク301の記録型情報が警告データ生成部316に出力される。警告データ生成部316は、この光ディスク301の記録型情報に基づいて、出力形態に応じた警告データを生成し(S53)、警告データ出力部315に出力する。警告データ出力部315は生成された警告データに基づいて警告を出力する(S54)。
【0144】
一方、光ディスク301の記録型情報が追記型であると判定された場合(S43においてYES)、記録制御部305はファイルシステムの管理情報を取得する(S44)。次に、記録制御部305は、現在のデータ量を取得し、Length1としてファイルシステム管理外管理部317に記憶する。そして、S44において取得されたファイルシステムの管理情報に基づいて、ファイルシステムの管理内に記録されているデータの記録位置情報を記録制御部305が取得し、これをファイルシステム管理情報管理部312に記憶する(S45)。ここで、データ記録位置情報とは、図17に示す例では、Border out660の位置情報となる。
【0145】
次に、記録制御部305は、ファイルシステムの管理外に記録されているダミーデータ640のデータ量を表す情報を受け取る。その後、ダミーデータ生成部307がダミーデータを生成し、記録制御部305が、生成されたダミーデータを、図18に示すように、ダミーデータ643として記録する(S46)。そして、記録制御部305は、ダミーデータ640とダミーデータ643との合計のデータ量を表す情報をファイルシステム管理外管理部317に記憶する。
【0146】
次に、記録位置制御部306は、ファイルシステム管理情報管理部312からS45で取得したファイルシステムの管理内のデータ記録位置情報を、ファイルシステム管理外管理部317からファイルシステムの管理外に記録されたデータ量をそれぞれ受け取る。そして、記録位置制御部306は、得られた2種類の情報に基づいて図18におけるデータ617を記録する位置を決定し、この記録位置情報、ファイルシステムの管理内の記録位置情報、および、ファイルシステムの管理外に記録されたデータ量を表す情報の合計3種類が記録制御部305に出力される。
【0147】
記録制御部305は、受け取った3種類の情報のうちデータ617の記録位置情報に従って、光ディスク301の制御を行う。また、記録制御部305は受け取った3種類の情報のうち、ファイルシステムの管理内の記録位置情報、および、ファイルシステムの管理外に記録されたデータ量を表す情報をデータ量判断部314に出力する。ダミーデータ生成部307はダミーデータを生成し、生成したダミーデータのデータ量をデータ量判断部314に出力する。
【0148】
データ量判断部314は、データ入力部313から、記録するデータのデータ量を示す情報を、記録制御部305から、ファイルシステムの管理内の記録位置情報およびファイルシステムの管理外に記録されたデータ量を表す情報を、ダミーデータ生成部307からダミーデータのデータ量をそれぞれ受け取り、この4種類のデータ量を合計する。この合計にLengthの集合のデータ量と今回記録されるVATとBorder outとを加えた合計がデータ量判断部314によって計算され(S47)、この合計データ量が鍵生成部311に出力される。この合計データ量は図18に示す例ではLength2で示される量となる。
【0149】
鍵生成部311は、受け取った合計データ量に基づいて鍵データを生成し(S48)、暗号化復号化処理部310に出力する。暗号化復号化処理部310は、データ入力部313から入力されたデータを受け取った鍵データを用いて暗号化処理を行う(S49)。暗号化されたデータは記録データ切り換え部308を通して、記録制御部305によって光ディスク301に記録される(S50)。この暗号化されたデータの記録方法は、ファイルシステムに則った方法である。図18に示す例では、記録されるデータはデータ617、そのファイルエントリFEは、領域616のFEとなる。
【0150】
その後、記録制御部305は暗号化されたデータの記録が終了したか否かを判定する(S51)。データの記録が終了していないと判定された場合(S51においてNO)、S49からの処理が繰り返される。
【0151】
一方、データの記録が終了したと判定された場合(S51においてYES)、暗号化復号化処理部310は、前回までの記録のデータ量を示す複数のLengthを、Length2に基づいて生成した鍵データで暗号化し、Border out661の後に記録する(S52)。図18に示す例では、記録されているファイルは1個なのでLengthの集合は1個のみでLength1である。したがって、Length1を表すデータ量を、Length2に基づいて生成した鍵データで暗号化したデータがLengthの集合671となる。ここで、前回までの記録のデータ量の代わりに、鍵生成部311がデータ量をもとにして生成した鍵データの集合を記録してもよい。最後に、ダミーデータ生成部307が生成したダミーデータが記録される。これは、図18に示す例では、ダミーデータ641に対応する。以上で、記録消去装置における記録処理が終了する。
【0152】
(消去方法)
次に、上記の記録消去装置における消去方法について図を用いて説明する。まず、図18および図19を参照しながら、消去前および消去後の光ディスクの状態を説明する。
【0153】
図18は消去前の光ディスクの状態を示している。図18については、上記したとおりであるのでここではその説明を省略する。
【0154】
図19は消去後の光ディスクの状態を示している。ここでは、図18に示されていない領域およびデータに関してのみ説明する。ダミーデータ642は消去動作の最後に記録されるデータである。ダミーデータ644はダミーデータ641の直後に記録されるデータである。Lengthの集合672は、Length3に基づいて生成された鍵データを用いてLength2を暗号化したデータである。Length3はダミーデータ642までのデータ量を表している。
【0155】
図13は、図19に示すように消去が行われる際の消去処理の流れを示すフローチャートである。ここでは、図18において、領域606のFEが指すデータ607および610を消去する手順を例にとって説明をする。まず、消去データの選択が行われる。消去データの選択は、次の手順で行われる。まず、ファイルシステムの管理情報が取得される(S61)。そして、このファイルシステムの管理情報に基づいて、ファイルシステムの管理内に記録されている領域619のVATが読み込まれ、現在記録されているファイルエントリが選択されることによって消去データの選択が行われる(S62)。
【0156】
次に、暗号化復号化処理部310はLength2を取得し、鍵生成部409は取得されたLength2に基づいて鍵データを生成する。次に、ファイルシステムの管理外に記録された暗号化されたLengthの集合671が読み込まれる。ここで、Length2に基づいて生成された鍵データを用いて暗号化されたLengthの集合671が復号され、前回までのLengthの集合が取得される。図18に示す例の場合、Lengthの集合はLength1となる。
【0157】
次に、Lengthの集合に対し、消去対象のデータの暗号化に用いたLengthを除き、さらに最新の鍵データの元となるLength2を追加する処理が行われる。ただし、Length2で暗号化されたデータが消去対象の場合、Length2は加えない。図18に示す例の場合、データ607、610はLength1で暗号化されているので、Length1を除き、Length2を加えた結果、Lengthの集合はLength2のみの集合となる。ここで、Lengthの集合をデータ量判断部314に出力する。
【0158】
次に、ダミーデータ生成部307は2種類のダミーデータを生成し(S63)、その1種類をダミーデータ641の直後にダミーデータ644として記録する(S64)。このとき、ダミーデータ生成部307が生成した2種類のダミーデータの合計のデータ量がデータ量判断部314に出力される。ここで、データの消去が行われたので、ファイルエントリが更新され、これに伴いVATが更新される。これは、図19に示す例では、領域622のVATに対応する。さらに、Border out662が記録される。記録制御部305は領域622のVATとBorder out662とのデータ量をデータ量判断部314に出力する。
【0159】
データ量判断部314は、受け取ったデータ量とLength2との合計を計算し、その結果を鍵生成部311に出力する。図19に示す例では、合計のデータ量はLength3に対応する。次に、更新されたLengthの集合が、Length3に基づいて生成される鍵データで暗号化され、Lengthの集合672に記録される(S65)。最後に、S63で生成されたダミーデータの残りの1種類をダミーデータ642として記録して、消去処理が終了する。
【0160】
以上のような消去方法が消去の役割を果たしている理由は、消去を行ったデータの鍵データが再生できない点にある。鍵データを再生できない理由は次のとおりである。データを暗号化する鍵データは、記録時のデータ量を元に生成されており、消去動作で新たにダミーデータを記録することで、データを暗号化したときのデータ量が判断できないようになっているためである。
【0161】
(再生システム構成)
図4は、本実施形態におけるデータの再生を行う再生装置の機能的な構成を示すブロック図である。同図に示すように、再生装置は、ピックアップ部402、スピンドルモータ403、サーボ回路404、再生制御部405、再生位置制御部406、データ量判断部407、ファイルシステム管理情報管理部408、鍵生成部409、復号処理部410、データ出力部411、警告データ出力部412、警告データ生成部413、ファイルシステム管理外管理部414、およびデータ切り替え部416を備えた構成となっている。
【0162】
ピックアップ部402は追記型記録媒体である光ディスク401からデータを読み取る部分である。スピンドルモータ403は光ディスク401を回転させる駆動部分である。サーボ回路404は再生制御部405から再生位置情報を受け取り、スピンドルモータ403、ピックアップ部402を駆動させる部分である。再生制御部405は再生位置制御部406からデータ記録位置情報を受け取り、復号処理部410またはデータ量判断部407にデータを出力する部分である。
【0163】
再生位置制御部406は、ファイルシステム管理情報管理部408から、ファイルシステムの管理内の記録位置を受け取り、再生制御部405に出力する部分である。データ量判断部407は、再生制御部405から光ディスク401に記録された情報を受け取り、データ量を判断して、その判断結果を鍵生成部409に出力する部分である。ファイルシステム管理情報管理部408は光ディスク401のファイルシステムに関する情報を保持しておく部分である。
【0164】
鍵生成部409は、データ量判断部407からデータ量を受け取り、そのデータ量を元にして鍵データを生成する部分である。復号処理部410は、鍵生成部409から鍵データを、再生制御部405から暗号化されたデータをそれぞれ受け取り、鍵データによって暗号化されたデータを復号し、復号されたデータをデータ出力部411に出力する処理部である。
【0165】
データ出力部411はデータを出力する部分である。警告データ出力部412は警告データ生成部413から警告データを受け取り、その警告データに基づいて警告を出力する部分である。警告データ生成部413は、再生制御部405から警告内容を示すデータを受け取り、その警告内容を示すデータを生成する部分である。
【0166】
ファイルシステム管理外管理部414は、ファイルシステムの管理外に記録されたデータを保持しておく部分である。データ切り換え部415は、ファイルシステム管理情報管理部408からファイルシステムの管理情報を、ファイルシステム管理外管理部414からファイルシステムの管理外のデータをそれぞれ受け取り、受け取った情報のいずれか1種類を再生位置制御部406に出力する部分である。
【0167】
(再生方法)
次に、上記の再生装置における再生方法について図を用いて説明する。図14は、図18に示す状態で情報が記録されている光ディスクを再生する際の処理の流れを示すフローチャートである。ここでは特に、図18において、領域606のファイルエントリFEが指すデータ607およびデータ610を再生する手順を例にとって説明する。
【0168】
まず再生データの選択が次のように行われる。まず、ファイルシステム管理情報が取得され、ファイルシステムの管理内に記録されている領域619のVATが読み出される(S71)。そして、現在記録されているファイルエントリが選択されることによって、再生データの選択が行われる(S72)。
【0169】
次に、再生制御部405はファイルシステムの管理内のデータ量をデータ量判断部407に出力する。そして、再生制御部405は、ファイルシステムの管理外に記録されたデータを読み込み(S73)、その読み込んだデータ量をデータ量判断部407に出力する。
【0170】
データ量判断部407は、再生制御部405から受け取ったファイルシステムの管理内のデータ量と、ファイルシステムの管理外のデータ量とに基づいて光ディスク401に記録されている部分のデータ量を判断し(S74)、鍵生成部409に出力する。このとき、ディスクに記録されているデータ量は、図18に示す例では、Length2に相当する。
【0171】
鍵生成部409は、データ量判断部407から受け取ったデータ量、図18に示す例の場合、Length2に基づいて鍵データを生成し(S75)、復号処理部410に出力する。次に、再生制御部405によって、再生選択したデータが最後に記録したデータであるか否かが判定される(S76)。
【0172】
ここで、最後に記録したデータでないと判定された場合(S76においてNO)、復号処理部410は、Length2に基づいて生成された鍵データを用いてLengthの集合671を復号し、選択されたデータの鍵データとなるLength1を取得する(S79)。そして、取得されたLength1が鍵生成部409に出力される。
【0173】
このとき、Lengthの集合の中で、選択されたデータのアドレスを越える最小のLengthが、選択されたデータの鍵データとなるLengthとして判定される。図18に示す例の場合、データ607、データ610が選択されているので、これに対応するLengthはLength1となる。
【0174】
鍵生成部409は、受け取ったLength1に基づいて鍵データを生成し(S80)、これを復号処理部410に出力してS77に進む。
【0175】
一方、S76においてNO、すなわち、再生選択したデータが最後に記録したデータであると判定された場合、復号処理部410は、鍵生成部409から受け取った鍵データを用いて、再生制御部405から受け取ったファイルシステムの管理内のデータ607、データ610を復号し(S77)、その結果をデータ出力部411に出力する(S78)。
【0176】
(実施例2の変形例)
上記実施例2では、データの記録、消去動作において、Border outの右部分に暗号化されたLengthの集合を記録し、さらに、その右部分にダミーデータを記録して、ダミーデータまでのデータ量をLengthにすることを例にして説明した。しかし、データの記録、消去動作において、暗号化されたLengthの集合の後ろにダミーデータを記録しない方法も考えられる。この場合のLengthは、暗号化されたLengthの集合までがLengthとなる。このようにできる理由は、暗号化されたLengthの集合は、暗号化されているためにデータを再生できないので、実際にはダミーデータとして扱うことができるからである。ただし、Lengthの集合にダミーデータの役割を持たせているので、Lengthの集合のデータ量を変える必要がある。このようにした場合、ダミーデータを記録しない分、記録媒体の無駄になる部分を少なくすることができる。
【0177】
また、上記実施例2では、Lengthを、記録したデータのデータ量として説明したが、Lengthに他の情報を用いる方法も考えられる。例えば、記録媒体の読み出し順で最後からダミーデータを記録し、そのダミーデータのデータ量をLengthとする方法などが考えられる。この場合、ダミーデータと記録するデータとを別領域に記録できるので、記録するデータを固めて記録することによって、データの読み出しを早くすることができる。
【0178】
また、上記実施例2では、データを記録する場合、データを暗号化するための鍵データとなるLengthを、記録するデータのデータ量として説明したが、記録するデータを暗号化するLengthを、前回までのデータ量としてもよい。実施例2と異なるのは次の2点である。1点目は、記録媒体に最初に記録するデータの暗号化に用いるLengthに関するもので、データの記録動作の前に、ダミーデータを記録し、このダミーデータのデータ量をLengthとして、データを暗号化する点である。2点目は、記録するデータの暗号化に用いるLengthとして、前回のLengthを用いる点である。この場合、予め記録するデータのデータ量を知らなくとも、実施例2の効果を持たせたままデータを暗号化して記録することができる。例えば、ビデオデータのリアルタイム記録のように、記録開始時に全体のデータ量がわからない場合に適用することができる。
【0179】
【発明の効果】
以上のように、本発明に係る記録装置は、データを追記型の記録媒体に記録する記録装置において、データを記録する記録媒体の記録部分と未記録部分とを区別することのできるピックアップ部と、データを暗号化するための鍵データを生成する鍵生成部と、上記鍵データに基づいて記録すべきデータを暗号化する暗号化処理部と、上記ピックアップ部から読み取った上記記録媒体の未記録部分に、上記暗号化処理部によって暗号化された記録すべきデータを記録する制御を行うとともに、上記鍵生成部で生成された上記鍵データを、前後に未記録部分を設けた状態で記録する制御を行う記録制御部とを備える構成である。
【0180】
これにより、記録したデータの機密性を保護したまま処分することが可能となるので、特別な注意を必要とせずに処分することが出来るという効果を奏する。
【0181】
また、記録したデータの一部を指定して再生できなくすることが可能となるので、機密性のあるデータが記録された追記型記録媒体で、特定の機密性のあるデータのみを消去し、残りのデータをそのまま使うことが可能となる。よって、追記型記録媒体を無駄なく有効利用することが可能となるという効果を奏する。
【0182】
また、本発明に係る記録装置は、上記記録制御部が、上記記録媒体の読み出し順において、記録すべきデータが記録されるべき領域の範囲の最後部から後ろ側に、上記鍵生成部で生成された上記鍵データを、データの記録順に上記記録媒体に記録する制御を行う構成としてもよい。
【0183】
これにより、上記の構成による効果に加えて、鍵データを読み出す際には、記録媒体の最後までピックアップを移動させる必要がなくなるので、データの読み出しを高速に行うことが可能となるという効果を奏する。
【0184】
また、本発明に係る記録装置は、上記記録制御部が、上記鍵生成部で生成された上記鍵データを、上記記録媒体の読み出し順で最後部から、データの記録順に上記記録媒体に記録する制御を行う構成としてもよい。
【0185】
これにより、上記の構成による効果に加えて、鍵データを記録する区間を予め確保する必要がなくなるので、記録媒体の無駄になる部分を少なくすることができるという効果を奏する。
【0186】
また、本発明に係る記録装置は、上記記録制御部が、上記記録媒体の読み出し順において、上記鍵生成部で生成された上記鍵データを、上記記録するデータの直後に記録し、次回に記録されるデータを、前回に記録された上記鍵データの後ろ側に記録する制御を行う構成としてもよい。
【0187】
これにより、上記の構成による効果に加えて、鍵データを記録する区間を予め確保する必要がなくなるので、記録媒体の無駄になる部分を少なくすることができるという効果を奏する。
【0188】
また、本発明に係る記録装置は、上記記録制御部が、上記鍵生成部で生成された上記鍵データを、複数に分割し、それぞれを複数の箇所に記録する制御を行う構成としてもよい。
【0189】
これにより、上記の構成による効果に加えて、鍵データが分割して記録されることになるので、消去処理が行われた後のディスクから鍵データを再生することをより困難にすることができるという効果を奏する。
【0190】
また、本発明に係る記録装置は、上記鍵データが複数ある場合、上記記録制御部が、1つの鍵データに対して記録する区間を1つずつ設け、その区間において、ランダムな位置に、鍵データを記録する制御を行う構成としてもよい。
【0191】
これにより、上記の構成による効果に加えて、鍵データの前後の未記録部分の長さが、各鍵データに関して全てばらばらとなるので、消去処理が行われた後のディスクから鍵データを再生することをより困難にすることができるという効果を奏する。
【0192】
また、本発明に係る消去装置は、上記本発明に係る記録装置によってデータが記録された追記型の記録媒体のデータを消去する消去装置であって、上記記録媒体の記録部分と未記録部分とを区別することができるピックアップ部と、ランダムな値を持つダミーデータを生成するダミーデータ生成部と、上記鍵データの前後に設けられた未記録部分に、上記ダミーデータ生成部で生成されたダミーデータを記録する制御を行う記録制御部とを備える構成である。
【0193】
これにより、鍵データの前後に設けられた未記録部分に、ダミーデータ生成部で生成された、ランダムな値とランダムなデータ量を持つダミーデータが記録されるので、消去処理が行われた後のディスクから鍵データを再生することをより困難にすることができるという効果を奏する。
【0194】
また、本発明に係る消去装置は、上記本発明に係る記録装置によってデータが記録された追記型の記録媒体のデータを消去する消去装置であって、上記記録媒体の記録部分と未記録部分とを区別することができるピックアップ部と、ランダムな値を持つダミーデータを生成するダミーデータ生成部と、上記鍵データが記録されている区間内において、該鍵データの前後に設けられた未記録部分に、上記ダミーデータ生成部で生成されたダミーデータを記録する制御を行う記録制御部とを備える構成である。
【0195】
これにより、鍵データが記録されている区間内における、鍵データの前後に設けられた未記録部分に、ダミーデータ生成部で生成された、ランダムな値とランダムなデータ量を持つダミーデータが記録されるので、消去処理が行われた後のディスクから鍵データを再生することをより困難にすることができるという効果を奏する。
【0196】
また、本発明に係る記録装置は、データを追記型の記録媒体に記録する記録装置において、記録すべきデータのデータ量と、記録すべきデータのデータ量以外に記録時に必要なデータ量とを取得するデータ量判断部と、データを暗号化するための鍵データを上記データ量判断部が取得したデータ量に基づいて生成する鍵生成部と、上記鍵生成部が生成した上記鍵データを用いて、記録すべきデータを暗号化する暗号化処理部と、上記暗号化処理部によって暗号化されたデータを上記記録媒体に記録する制御を行う記録制御部とを備える構成である。
【0197】
これにより、データを消去する際に、新たにダミーデータを記録する処理を行うことによって、そのデータを暗号化したときのデータ量を把握することが困難となる。よって、記録したデータの機密性を保護したまま処分することが可能となるので、特別な注意を必要とせずに処分することが出来るという効果を奏する。
【0198】
また、記録したデータの一部を指定して再生できなくすることが可能となるので、機密性のあるデータが記録された追記型記録媒体で、特定の機密性のあるデータのみを消去し、残りのデータをそのまま使うことが可能となる。よって、追記型記録媒体を無駄なく有効利用することが可能となるという効果を奏する。
【0199】
また、本発明に係る記録装置は、ランダムな値とランダムなデータ量を持つダミーデータを生成するダミーデータ生成部をさらに備え、上記データ量判断部が、記録するデータのデータ量と、上記ダミーデータ生成部が生成したダミーデータのデータ量との合計のデータ量を取得し、上記鍵生成部が、上記データ量判断部によって取得された上記合計のデータ量に基づいて鍵データを生成する構成としてもよい。
【0200】
これにより、上記の構成による効果に加えて、あるデータを消去する際に、新たにダミーデータを記録する処理を行うことによって、そのデータを暗号化したときのデータ量を把握することが困難となるという効果を奏する。
【0201】
また、本発明に係る記録装置は、ランダムな値とランダムなデータ量を持つダミーデータを生成するダミーデータ生成部をさらに備え、上記記録制御部が、上記ダミーデータ生成部が生成したダミーデータを上記記録媒体に記録する制御を行うとともに、上記データ量判断部が、記録媒体に記録されたダミーデータのデータ量を取得し、上記鍵生成部が、上記データ量判断部によって取得された上記データ量に基づいて鍵データを生成する構成としてもよい。
【0202】
これにより、上記の構成による効果に加えて、あるデータを消去する際に、新たにダミーデータを記録する処理を行うことによって、そのデータを暗号化したときのデータ量を把握することが困難となるという効果を奏する。
【0203】
また、本発明に係る記録装置は、上記記録制御部が、上記記録媒体における過去のデータ量の履歴を、上記鍵生成部で生成された鍵データを用いて暗号化して上記記録媒体に記録する制御を行う構成としてもよい。
【0204】
これにより、上記の構成による効果に加えて、消去処理が行われると、過去のデータ量の履歴のデータを暗号化する際の鍵データを解析することが困難となるという効果を奏する。
【0205】
また、本発明に係る記録装置は、上記記録制御部が、上記記録媒体の読み出し順において、次回のデータを記録する位置の直前に、上記ダミーデータ生成部が生成したダミーデータを上記記録媒体に記録する制御を行う構成としてもよい。
【0206】
これにより、上記の構成による効果に加えて、記録媒体において、前回の記録時までに何らかのデータが記録されている領域の後端部からランダムな距離だけ離れた位置に、次回のデータが記録されることになる。よって、消去処理が行われた場合に、消去されたデータを不正に読み出すことを困難にすることができるという効果を奏する。
【0207】
また、本発明に係る記録装置は、上記データ量判断部が、上記記録媒体に既に記録されているデータ量と、これから記録するデータのデータ量との合計のデータ量を取得するとともに、上記記録制御部が、この取得したデータ量に基づいて上記鍵生成部が生成した鍵データを用いて、記録すべきデータを暗号化して上記記録媒体に記録する制御を行う構成としてもよい。
上記の構成において、鍵データは、記録媒体に既に記録されているデータ量と、これから記録するデータのデータ量との合計のデータ量に基づいて生成されるので、あるデータを消去する際に、新たにダミーデータを記録する処理を行うことによって、そのデータを暗号化したときのデータ量を把握することが困難となるという効果を奏する。
【0208】
また、本発明に係る記録装置は、上記データ量判断部が、上記記録媒体に既に記録されたデータ量を取得するとともに、上記記録制御部が、この取得したデータ量に基づいて上記鍵生成部が生成した鍵データを用いて、記録すべきデータを暗号化して上記記録媒体に記録する制御を行う構成としてもよい。
上記の構成において、鍵データは、記録媒体に既に記録されているデータ量に基づいて生成されるので、あるデータを消去する際に、新たにダミーデータを記録する処理を行うことによって、そのデータを暗号化したときのデータ量を把握することが困難となるという効果を奏する。
【0209】
また、本発明に係る記録装置は、上記記録制御部が、上記記録媒体においてダミーデータが記録されている前後に、上記ダミーデータ生成部が生成したランダムな値でランダムなデータ量を持つダミーデータを記録する制御を行い、上記データ量判断部が、上記記録媒体に既に記録されているダミーデータのデータ量と、今回記録したダミーデータの合計のデータ量を取得し、上記記録制御部が、この取得したデータ量に基づいて上記鍵生成部が生成した鍵データを用いて、過去のダミーデータのデータ量の履歴を上記記録媒体に記録する制御を行う構成としてもよい。
上記の構成において、消去処理が行われると、過去のダミーデータのデータ量の履歴のデータを暗号化する際の鍵データを解析することが困難となるので、消去されたデータを暗号化したときのデータ量を把握することが困難となるという効果を奏する。
【0210】
また、本発明に係る記録装置は、上記記録制御部が、データを記録する際に用いたデータ量の基準を変える位置に、上記ダミーデータ生成部が生成したランダムな値でランダムなデータ量を持つダミーデータを記録する制御を行う構成としてもよい。
上記の構成において、記録が行われるごとに、記録されるデータ量が変化することになるので、消去処理が行われると、消去されたデータを暗号化したときのデータ量を把握することが困難となるという効果を奏する。
【0211】
また、本発明に係る消去装置は、上記本発明に係る記録装置によってデータが記録された追記型の記録媒体のデータを消去する消去装置であって、データを記録する記録媒体の記録部分と未記録部分とを区別することのできるピックアップ部と、記録すべきデータのデータ量と、記録すべきデータのデータ量以外に記録時に必要なデータ量との合計のデータ量を取得するデータ量判断部と、データを暗号化および復号するための鍵データを生成する鍵生成部と、データを暗号化および復号する暗号化復号化処理部と、ランダムな値とランダムなデータ量を持つダミーデータを生成するダミーデータ生成部と、データを記録するのに用いたデータ量の基準を変える位置に、上記ダミーデータ生成部が生成したダミーデータを記録する制御を行う記録制御部とを備える構成である。
【0212】
これにより、消去が行われるごとに、消去が行われる際に記録されるデータ量が変化することになるので、消去されたデータを暗号化したときのデータ量を把握することが困難となるという効果を奏する。
【0213】
また、本発明に係る消去装置は、上記本発明に係る記録装置によってデータが記録された追記型の記録媒体のデータを消去する消去装置であって、データを記録する記録媒体の記録部分と未記録部分とを区別することのできるピックアップ部と、記録すべきデータのデータ量と、記録すべきデータのデータ量以外に記録時に必要なデータ量との合計のデータ量を取得するデータ量判断部と、データを暗号化および復号するための鍵データを生成する鍵生成部と、データを暗号化および復号する暗号化復号化処理部と、上記記録媒体の過去のデータ量の履歴、または過去のダミーデータのデータ量の履歴から、消去対象のデータを暗号化するのに用いた鍵データのもとになるデータ量を除いたものを暗号化して記録する制御を行う記録制御部を備える構成である。
【0214】
これにより、消去処理が行われた後では、消去対象のデータを暗号化するのに用いた鍵データのもとになるデータ量を把握することが困難となる。よって、消去されたデータの再生を行うことを困難にすることができるという効果を奏する。
【0215】
また、本発明に係る消去装置は、ランダムな値とランダムなデータ量を持つダミーデータを生成するダミーデータ生成部をさらに備え、上記記録制御部が、上記記録媒体の読み出し順において、消去を行うためのデータを記録する位置の直前に、上記ダミーデータ生成部が生成したダミーデータを記録する制御を行う構成としてもよい。
【0216】
これにより、上記の構成による効果に加えて、記録媒体において、前回の記録時までに何らかのデータが記録されている領域の後端部からランダムな距離だけ離れた位置に、消去を行うためのデータが記録されることになる。よって、消去処理が行われた場合に、消去されたデータを不正に読み出すことを困難にすることができるという効果を奏する。
【0217】
また、本発明に係る再生装置は、上記本発明に係る記録装置によってデータが記録された追記型の記録媒体、もしくは、上記本発明に係る消去装置によってデータが消去された追記型の記録媒体を再生する再生装置であって、上記記録媒体の記録部分と未記録部分とを区別することができるピックアップ部と、上記記録媒体において、前後を未記録部分で囲まれて記録された鍵データを検出する鍵検出部とを備える構成である。
【0218】
また、本発明に係る再生装置は、上記本発明に係る記録装置によってデータが記録された追記型の記録媒体、もしくは、上記本発明に係る消去装置によってデータが消去された追記型の記録媒体を再生する再生装置であって、上記記録媒体に記録されている情報を受け取り、データ量を判断するデータ量判断部と、上記データ量判断部が判断したデータ量に基づいて鍵データを生成する鍵生成部とを備える構成である。
【0219】
これにより、上記本発明に係る記録装置によってデータが記録された記録媒体、もしくは、上記本発明に係る消去装置によってデータが消去された記録媒体を的確に再生することが可能となるという効果を奏する。
【図面の簡単な説明】
【図1】 本発明の一実施形態に係る記録消去装置の一実施例における機能的な構成を示すブロック図である。
【図2】 本発明の一実施形態に係る再生装置の一実施例における機能的な構成を示すブロック図である。
【図3】 本発明の一実施形態に係る記録消去装置の別の実施例における機能的な構成を示すブロック図である。
【図4】 本発明の一実施形態に係る再生装置の別の実施例における機能的な構成を示すブロック図である。
【図5】 同図(a)は、ディレクトリ/ファイル構成の例を示す図であり、同図(b)は、同図(a)に示すディレクトリ/ファイル構成をUDFで記録した例を示す図である。
【図6】 一実施例における上記記録消去装置によって記録あるいは消去処理が行われる前の光ディスクの記録状態の一例を示す図である。
【図7】 一実施例における上記記録消去装置によって記録処理が行われた後の光ディスクの記録状態の一例を示す図である。
【図8】 一実施例における上記記録消去装置によって消去処理が行われた後の光ディスクの記録状態の一例を示す図である。
【図9】 一実施例における上記記録消去装置による記録処理の流れを示すフローチャートである。
【図10】 一実施例における上記記録消去装置による消去処理の流れを示すフローチャートである。
【図11】 一実施例における上記再生装置による再生処理の流れを示すフローチャートである。
【図12】 別の実施例における上記記録消去装置による記録処理の流れを示すフローチャートである。
【図13】 別の実施例における上記記録消去装置による消去処理の流れを示すフローチャートである。
【図14】 別の実施例における上記再生装置による再生処理の流れを示すフローチャートである。
【図15】 一実施例における上記記録消去装置または上記再生装置で用いられる光ディスクの記録フォーマットの例を示す図である。
【図16】 別の実施例における上記記録消去装置または上記再生装置で用いられる光ディスクの記録フォーマットの例を示す図である。
【図17】 別の実施例における上記記録消去装置によって記録あるいは消去処理が行われる前の光ディスクの記録状態の一例を示す図である。
【図18】 別の実施例における上記記録消去装置によって記録処理が行われた後の光ディスクの記録状態の一例を示す図である。
【図19】 別の実施例における上記記録消去装置によって消去処理が行われた後の光ディスクの記録状態の一例を示す図である
【符号の説明】
101・201・301・401 光ディスク
102・202・302・402 ピックアップ部
104・204・304・404 サーボ回路
105・305 記録制御部
106・306 記録位置制御部
107・307 ダミーデータ生成部
108・308 記録データ切り替え部
109・309 記録位置データ切り替え部
110・311 鍵生成部
114・313 データ入力部
112・312 ファイルシステム管理情報管理部
111 暗号化処理部
113 鍵位置管理部
310 暗号化復号化処理部
317 ファイルシステム管理外管理部
205・405 再生制御部
209・408 ファイルシステム管理情報管理部
211・410 復号処理部
212・411 データ出力部
207 鍵検出部
208 再生データ切り替え部
210 鍵記憶部
407 データ量判断部
409 鍵生成部
414 ファイルシステム管理外管理部
415 データ切り替え部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a recording apparatus and an erasing apparatus for erasing part or all of recorded data, for example, in a write-once recording medium, and a reproducing apparatus for reproducing a recording medium recorded by these recording apparatus and erasing apparatus It is about.
[0002]
[Prior art]
In recent years, the use of removable recording media owned and managed by individuals has been increasing. The main reason is the widespread use of a large-capacity and inexpensive write-once recording medium. Generally, recording media are classified into a write-once type recording medium and a rewritable recording medium according to the recording method. As write-once recording media, CD-R, DVD-R, and the like are widely used at present in terms of disc-shaped recording media.
[0003]
The write-once recording medium is inexpensive, but has a characteristic that once recorded data cannot be erased. For this reason, when discarding a recording medium on which confidential data is recorded, it is necessary to physically destroy the recording medium so that the information cannot be read by others. In addition, as the capacity of the recording medium increases, there may be a use form in which confidential data and non-confidential data are recorded on one write-once recording medium, but only confidential data is erased. When it is necessary to do so, there has been a problem that the process of physically destroying the original write-once recording medium after copying non-confidential data to another recording medium occurs.
[0004]
In order to solve such a problem, for example, Japanese Patent Application Laid-Open No. 5-290281 discloses a technique for preventing data from being reproduced by overwriting data once recorded. For example, Japanese Patent Application Laid-Open No. 8-77558 discloses a technique for providing an erasing effect by using a specific material for a recording medium. For example, Japanese Patent Laid-Open No. 11-53840 discloses an apparatus that logically erases data by rewriting management information for access so that the data to be erased cannot be referred to.
[0005]
[Problems to be solved by the invention]
However, in the case of the technique disclosed in the above-mentioned Japanese Patent Application Laid-Open No. 5-290281, there is a problem that recording / reproduction becomes unstable because processing that deviates from the physical standard of the recording medium is performed. Further, in the case of the technique disclosed in the above-mentioned Japanese Patent Application Laid-Open No. 8-77558, a special material is used for the recording medium, which also deviates from the physical standard of the recording medium, and recording / reproduction is unstable. There is a problem of becoming. Further, in the case of the technique disclosed in the above-mentioned JP-A-11-53840, only management information is rewritten and the data itself remains in the recording medium. There is a problem that data can be reproduced without using it.
[0006]
The present invention has been made in order to solve the above-described problems, and an object of the present invention is, for example, when confidential data is recorded on a write-once recording medium, and an erasing process without risk of being reproduced by others. It is an object of the present invention to provide a recording device / erasing device capable of performing the above.
[0007]
[Means for Solving the Problems]
In order to solve the above-described problems, a recording apparatus according to the present invention distinguishes between a recorded part and an unrecorded part of a recording medium for recording data in a recording apparatus for recording data on a write-once recording medium. Pickup unit capable of generating data, a key generation unit for generating key data for encrypting data, an encryption processing unit for encrypting data to be recorded based on the key data, and the recording read from the pickup unit Control to record the data to be recorded encrypted by the encryption processing unit on an unrecorded part of the medium, and provide the key data generated by the key generation unit with unrecorded parts before and after And a recording control unit that performs control of recording in a state.
[0008]
Further, the data recording method according to the present invention includes a step of distinguishing a recorded portion and an unrecorded portion of the recording medium for recording data in the data recording method for recording data on a write-once recording medium, and encrypting the data Acquired in a key generation step for generating key data to be performed, an encryption processing step for encrypting data to be recorded based on the key data, and a step for distinguishing a recorded portion and an unrecorded portion of the recording medium Control to record the data to be recorded encrypted in the encryption processing step on the unrecorded portion of the recorded recording medium, and the key data generated in the key generation step before and after the unrecorded portion And a recording step for performing control in which recording is performed.
[0009]
According to the above configuration and method, first, the pickup unit distinguishes the recorded portion and the unrecorded portion of the recording medium. The data to be recorded is encrypted by the encryption processing unit based on the key data generated by the key generation unit, and is recorded on the recording medium.
[0010]
The key data used for encrypting the data to be recorded is recorded on the recording medium with unrecorded parts before and after. In this way, at the time of reproduction, it becomes possible to detect the key data by detecting a section having unrecorded parts before and after.
[0011]
Here, when it is desired to erase the recorded data, it is only necessary to perform a process of setting the unrecorded parts before and after the key data corresponding to the data to a recording state with dummy data or the like. This is because by performing such processing, there is no unrecorded portion of the key data, and it becomes impossible to perform processing for detecting key data by detecting a section having unrecorded portions before and after. It is.
[0012]
Therefore, if data is recorded on the recording medium as described above, it is possible to dispose of the recorded data while protecting the confidentiality of the recorded data. I can do it.
[0013]
In addition, since it becomes possible to specify a part of the recorded data and make it impossible to reproduce, it is a write-once recording medium on which confidential data is recorded, and only specific confidential data is erased, The remaining data can be used as it is. Therefore, the write-once recording medium can be effectively used without waste.
[0014]
Further, in the recording apparatus according to the present invention, in the configuration described above, the recording control unit is arranged in the reading order of the recording medium from the last part to the rear side of the range of the area where the data to be recorded is to be recorded. The key data generated by the key generation unit may be controlled to be recorded on the recording medium in the data recording order.
[0015]
According to the above configuration, the key data is recorded sequentially from the rear side of the last part of the range of the area where the data to be recorded is recorded in the reading order of the recording medium. Therefore, when reading the key data, it is not necessary to move the pickup to the end of the recording medium, so that the data can be read at a high speed.
[0016]
Further, in the recording apparatus according to the present invention, in the above configuration, the recording control unit reads the key data generated by the key generation unit from the last part in the reading order of the recording medium in the data recording order. It is good also as a structure which performs control recorded on a recording medium.
[0017]
According to the above configuration, it is not necessary to secure a section for recording the key data in advance, so that a portion of the recording medium that is wasted can be reduced.
[0018]
In the recording apparatus according to the present invention, in the above configuration, the recording control unit records the key data generated by the key generation unit immediately after the data to be recorded in the reading order of the recording medium. In addition, a configuration may be adopted in which the data recorded next time is controlled to be recorded behind the previously recorded key data.
[0019]
According to the above configuration, it is not necessary to secure a section for recording the key data in advance, so that a portion of the recording medium that is wasted can be reduced.
[0020]
Further, the recording apparatus according to the present invention is configured such that, in the above configuration, the recording control unit performs control to divide the key data generated by the key generation unit into a plurality of parts and record each of the key data in a plurality of locations. It is good.
[0021]
According to the above configuration, since the key data is divided and recorded, it is more difficult to reproduce the key data from the disc after the erasure process is performed.
[0022]
In the recording apparatus according to the present invention, in the above configuration, when there are a plurality of the key data, the recording control unit provides one section for recording with respect to one key data. It may be configured to perform control to record key data at various positions.
[0023]
According to the above configuration, since the key data is recorded at random positions in a certain section, the lengths of unrecorded parts before and after the key data are all different with respect to each key data. Therefore, it is possible to make it more difficult to reproduce the key data from the disc after the erasure process has been performed.
[0024]
An erasing apparatus according to the present invention is an erasing apparatus for erasing data of a write-once recording medium on which data is recorded by the recording apparatus according to the present invention, wherein a recorded portion and an unrecorded portion of the recording medium A dummy data generated by the dummy data generating unit in a non-recorded portion provided before and after the key data, a pick-up unit capable of distinguishing And a recording control unit that performs control to record data.
[0025]
A data erasing method according to the present invention is an erasing method for erasing data on a write-once recording medium on which data is recorded by the data recording method according to the present invention, and recording the recording medium on which the data is recorded. Generated in the dummy data generating step in the step of distinguishing the portion from the unrecorded portion, the dummy data generating step for generating dummy data having a random value, and the unrecorded portion provided before and after the key data. And a recording step for recording dummy data.
[0026]
According to the above configuration and method, dummy data having a random value and a random amount of data generated by the dummy data generation unit is recorded in unrecorded portions provided before and after the key data. It is possible to make it more difficult to reproduce the key data from the disc after the processing has been performed.
[0027]
An erasing apparatus according to the present invention is an erasing apparatus for erasing data of a write-once recording medium on which data is recorded by the recording apparatus according to the present invention, wherein a recorded portion and an unrecorded portion of the recording medium A non-recorded portion provided before and after the key data in a section in which the key data is recorded, a pickup unit capable of distinguishing between them, a dummy data generation unit that generates dummy data having a random value And a recording control unit that performs control to record the dummy data generated by the dummy data generation unit.
[0028]
According to the above configuration, in the section where the key data is recorded, unrecorded portions provided before and after the key data have a random value and a random data amount generated by the dummy data generation unit. Since the dummy data is recorded, it is possible to make it more difficult to reproduce the key data from the disc after the erasure process is performed.
[0029]
The recording apparatus according to the present invention is a recording apparatus that records data on a write-once recording medium, and includes a data amount of data to be recorded and a data amount necessary for recording in addition to the data amount of data to be recorded. Using a data amount determination unit to be acquired, a key generation unit that generates key data for encrypting data based on the data amount acquired by the data amount determination unit, and the key data generated by the key generation unit And an encryption processing unit that encrypts data to be recorded, and a recording control unit that performs control to record the data encrypted by the encryption processing unit on the recording medium.
[0030]
The data recording method according to the present invention is a data recording method for recording data on a write-once recording medium, wherein a data amount determination processing step for determining the data amount of data and key data for encrypting the data are provided. A key generation step that is generated based on the data amount acquired by the data amount determination processing step, an encryption processing step that encrypts data using the key data generated by the key generation step, and the encryption processing A recording step of recording the data encrypted in the step on the recording medium.
[0031]
In the above configuration and method, the key data for encrypting the data to be recorded is based on the amount of data recorded on the recording medium and the amount of data required for recording in addition to the amount of data recorded on the recording medium. To be generated. That is, key data is generated based on the amount of data when certain data is recorded.
[0032]
Here, when erasing certain data, it is difficult to grasp the amount of data when the data is encrypted by newly performing a process of recording dummy data.
[0033]
Therefore, if data is recorded on the recording medium as described above, it is possible to dispose of the recorded data while protecting the confidentiality of the recorded data. I can do it.
[0034]
In addition, since it becomes possible to specify a part of the recorded data and make it impossible to reproduce, it is a write-once recording medium on which confidential data is recorded, and only specific confidential data is erased, The remaining data can be used as it is. Therefore, the write-once recording medium can be effectively used without waste.
[0035]
The recording apparatus according to the present invention further includes a dummy data generation unit that generates dummy data having a random value and a random data amount in the above configuration, and the data amount determination unit includes data of data to be recorded. The total amount of data and the amount of dummy data generated by the dummy data generation unit, and the key generation unit generates a key based on the total data amount acquired by the data amount determination unit. It is good also as a structure which produces | generates data.
[0036]
According to the above configuration, the key data is generated based on the total amount of data to be recorded and the amount of dummy data generated by the dummy data generation unit. In this case, it is difficult to grasp the data amount when the data is encrypted by newly performing the process of recording the dummy data.
[0037]
Moreover, the recording apparatus according to the present invention includes: In a recording apparatus that records data on a write-once recording medium, a data amount determination unit, a key generation unit that generates key data for encrypting data based on the data amount acquired by the data amount determination unit, An encryption processing unit for encrypting data to be recorded using the key data generated by the key generation unit, and a recording for performing control for recording the data encrypted by the encryption processing unit on the recording medium A control unit; Dummy data generator that generates dummy data with random values and random data volume And The recording control unit controls the recording of the dummy data generated by the dummy data generation unit on the recording medium, and the data amount determination unit acquires the data amount of the dummy data recorded on the recording medium. The key generation unit may generate key data based on the data amount acquired by the data amount determination unit.
[0038]
According to the above configuration, since the key data is generated based on the data amount of the dummy data generated by the dummy data generation unit, when deleting certain data, new dummy data is recorded. As a result, it becomes difficult to grasp the amount of data when the data is encrypted.
[0039]
Further, in the recording apparatus according to the present invention, in the configuration described above, the recording controller Above total A configuration may be adopted in which the history of the data amount is encrypted using the key data generated by the key generation unit and is recorded on the recording medium.
[0040]
According to the above configuration, since the history of the past data amount in the recording medium is encrypted using the key data generated by the key generation unit and recorded on the recording medium, when the erasing process is performed, the past It becomes difficult to analyze the key data when encrypting the history data of the amount of data.
[0041]
In the recording apparatus according to the present invention, in the above configuration, the dummy data generated by the dummy data generating unit immediately before the position where the recording control unit records the next data in the reading order of the recording medium. May be configured to perform recording on the recording medium.
[0042]
According to the above configuration, on the recording medium, the next data is recorded at a position separated by a random distance from the rear end of an area where some data is recorded before the previous recording. Therefore, it is possible to make it difficult to illegally read out the erased data when the erase process is performed.
[0043]
In the recording apparatus according to the present invention, in the above configuration, the data amount determination unit obtains a total data amount of a data amount already recorded on the recording medium and a data amount of data to be recorded from now on. In addition, the recording control unit may control to encrypt the data to be recorded and record it on the recording medium using the key data generated by the key generation unit based on the acquired data amount. Good.
[0044]
According to the above configuration, the key data is generated based on the total data amount of the data amount already recorded on the recording medium and the data amount of data to be recorded from now on. In addition, by performing a process of newly recording dummy data, it becomes difficult to grasp the data amount when the data is encrypted.
[0045]
In the recording apparatus according to the present invention, in the above configuration, the data amount determination unit acquires the amount of data already recorded on the recording medium, and the recording control unit uses the acquired data amount based on the acquired amount of data. The key data generated by the key generation unit may be used to perform control to encrypt data to be recorded and record it on the recording medium.
[0046]
According to the above configuration, since the key data is generated based on the amount of data already recorded on the recording medium, when erasing certain data, by performing a process of newly recording dummy data, It becomes difficult to grasp the amount of data when the data is encrypted.
[0047]
In the recording apparatus according to the present invention, in the above configuration, the data amount determination unit obtains the total data amount of dummy data already recorded on the recording medium and the dummy data recorded this time. Then, the recording control unit performs control to record the history of the past dummy data amount on the recording medium using the key data generated by the key generation unit based on the acquired data amount. Also good.
[0048]
According to the above configuration, the history of the past dummy data amount is recorded in the key generation unit based on the data amount of the dummy data already recorded on the recording medium and the total data amount of the dummy data recorded this time. The generated key data is encrypted and recorded on the recording medium. Therefore, if erasure processing is performed, it becomes difficult to analyze the key data when encrypting the history data of the past dummy data, so the amount of data when the erased data is encrypted It becomes difficult to grasp.
[0049]
Further, in the recording apparatus according to the present invention, in the above configuration, the recording control unit includes: End of recording operation In addition, it may be configured to perform control to record dummy data having a random data amount with a random value generated by the dummy data generation unit.
[0050]
According to the above configuration, dummy data is recorded at a position where the reference of the amount of data used when recording data is changed, for example, at the rear end of an area on the recording medium where some data is recorded. Become. Therefore, since the amount of data to be recorded changes every time recording is performed, it is difficult to grasp the amount of data when the erased data is encrypted when the erasure process is performed.
[0051]
An erasing apparatus according to the present invention is an erasing apparatus for erasing data on a write-once recording medium on which data has been recorded by the recording apparatus according to the present invention. Pickup unit capable of distinguishing the recording portion, data amount determination unit for acquiring the total amount of data required for recording in addition to the data amount of data to be recorded and the amount of data to be recorded A key generation unit for generating key data for encrypting and decrypting data, an encryption / decryption processing unit for encrypting and decrypting data, and generating dummy data having a random value and a random data amount A dummy data generator to End of recording operation And a recording control unit that performs control to record the dummy data generated by the dummy data generation unit.
[0052]
Further, the data erasing method according to the present invention is an erasing method for erasing data of a write-once recording medium on which data is recorded by the data recording method according to the present invention, wherein a random value, a random data amount, A dummy data generation step for generating dummy data having the above and a recording step for recording the dummy data generated in the dummy data generation step in unrecorded portions provided before and after the key data. It is characterized by.
[0053]
According to the above configuration and method, dummy data is recorded at a position where the reference of the amount of data used when recording data is changed, for example, at the rear end of an area on the recording medium where some data is recorded. It will be. Therefore, every time erasure is performed, the amount of data recorded when the erasure is performed changes, so it is difficult to grasp the data amount when the erased data is encrypted.
[0054]
An erasing apparatus according to the present invention is an erasing apparatus for erasing data on a write-once recording medium on which data has been recorded by the recording apparatus according to the present invention. Pickup unit capable of distinguishing the recording portion, data amount determination unit for acquiring the total amount of data required for recording in addition to the data amount of data to be recorded and the amount of data to be recorded A key generation unit for generating key data for encrypting and decrypting data, an encryption / decryption processing unit for encrypting and decrypting data, and a history of past data amount of the recording medium, or past A recording control unit that performs control for encrypting and recording data obtained by excluding the data amount that is the key data used to encrypt the data to be erased from the history of the data amount of the dummy data It is characterized in that to obtain.
[0055]
According to the above configuration, the data amount that is the basis of the key data used to encrypt the data to be erased from the history of the past data amount of the recording medium or the past data amount of the dummy data It is difficult to know the amount of data that is the basis of the key data used to encrypt the data to be erased after the deletion process is performed. It becomes. Therefore, it is possible to make it difficult to reproduce the erased data.
[0056]
The erasing apparatus according to the present invention further includes a dummy data generation unit that generates dummy data having a random value and a random amount of data in the above configuration, wherein the recording control unit reads the recording medium in the reading order. In the above configuration, control may be performed to record the dummy data generated by the dummy data generation unit immediately before the position where the data for erasing is recorded.
[0057]
According to the above configuration, on the recording medium, data for erasing is recorded at a position separated by a random distance from the rear end of the area where some data has been recorded until the previous recording. become. Therefore, it is possible to make it difficult to illegally read out the erased data when the erase process is performed.
[0058]
Further, a reproducing apparatus according to the present invention is a write-once recording medium in which data is recorded by the recording apparatus according to the present invention, or a write-once recording medium from which data is erased by the erasing apparatus according to the present invention. A reproducing device for reproducing, wherein a pickup unit capable of distinguishing between a recorded portion and an unrecorded portion of the recording medium, and key data recorded on the recording medium surrounded by unrecorded portions are detected. And a key detection unit that performs the processing.
[0059]
The data reproduction method according to the present invention is a write-once recording medium on which data is recorded by the data recording method according to the present invention, or a write-once type from which data is erased by the data erasing method according to the present invention. A data reproduction method for reproducing a recording medium, comprising: a step of distinguishing a recorded portion from an unrecorded portion of the recording medium; and detecting key data recorded on the recording medium surrounded by unrecorded portions. And a key detecting step.
[0060]
Further, a reproducing apparatus according to the present invention is a write-once recording medium in which data is recorded by the recording apparatus according to the present invention, or a write-once recording medium from which data is erased by the erasing apparatus according to the present invention. A reproduction apparatus for reproducing, wherein the information recorded on the recording medium is received, a data amount determining unit for determining the data amount, and a key for generating key data based on the data amount determined by the data amount determining unit And a generation unit.
[0061]
The data reproduction method according to the present invention is a write-once recording medium on which data is recorded by the data recording method according to the present invention, or a write-once type from which data is erased by the data erasing method according to the present invention. A data reproduction method for reproducing a recording medium, comprising: a data amount determining step for receiving information recorded on the recording medium and determining a data amount; and a key based on the data amount determined by the data amount determining step. And a key generation step for generating data.
[0062]
According to the above configuration and method, it is possible to accurately reproduce a recording medium on which data is recorded by the recording apparatus according to the present invention or a recording medium from which data is erased by the erasing apparatus according to the present invention. It becomes.
[0063]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of the present invention will be described with reference to FIGS. 1 to 19 as follows.
[0064]
(File system)
Before describing the configuration of the present embodiment, first, a file system commonly used in the present embodiment will be described. In this embodiment, a UDF (Universal Disk Format) corresponding to a write-once disc is used as a file system. FIG. 5B shows an example in which the directory / file structure shown in FIG. 5A is recorded in UDF. FIG. 5A shows an example in which files 651 and 652 are recorded in the directory 650.
[0065]
In FIG. 5B, AVDP recorded in the area 602 is an abbreviation for Anchor Volume Descriptor Pointer, and corresponds to an entry point for searching for UDF management information. This AVDP is normally recorded in the 256th sector, the Nth sector, or the N-256th sector (N is the maximum logical sector number).
[0066]
The VDS recorded in the area 601 is an abbreviation for Volume Descriptor Sequence, and records management information related to a volume that is an area managed by the UDF. One volume generally exists on one disk, and one partition is generally included therein.
[0067]
The FSD recorded in the area 603 is an abbreviation for File Set Descriptor, and is used to store the location information of the root directory FE (File Entry) (area 604) (which consists of a logical block number and the number of logical blocks, and is called an extent). Contains. One FSD exists in the partition. The position information in the partition is indicated by a logical block number corresponding to the sector number from the head of the partition, and one logical block corresponds to one sector.
[0068]
FE manages a set of extents. By rewriting, adding, or deleting this extent, it is possible to change the order of the actual data constituting the file, and to insert or delete data.
[0069]
The FE recorded in the area 604 manages an area 605 that stores a set of file identifier descriptors (FID) that store files directly under the root directory, names of directories, and the like. In the area 605, the FID of the area 611 and the FID of the area 612 include the position information of the FE (areas 606 and 608) managing the file name of the file 651 and the file 652, and the set of extents, respectively.
[0070]
The FE in the area 606 manages the areas 607 and 610 which are areas constituting the actual data of the file 651 as extents.
[0071]
A virtual allocation table (VAT) recorded in the area 613 is an address conversion table indicating the FE. By using this conversion table, virtual rewriting as described below is realized on a write-once disc that cannot be rewritten.
[0072]
Border out recorded in the area 660 is an area for indicating where the previous additional recording has ended. In DVD-R, at the time of recording, VAT is recorded immediately before Border out. At the time of reproduction, first, Border out is detected, and the immediately preceding VAT is read to construct a conversion table of addresses indicating FE on the memory. Then, access to the actual FE on the disk is performed via the conversion table.
[0073]
Therefore, in order to realize virtual rewriting of a file, the following process may be performed. First, the updated data is added, and the extent of the data added to the FE of the file to be rewritten is added. Then, a mapping that replaces the FE of the file with a new FE is registered in the VAT.
[0074]
Similarly, when adding or deleting files, an FE that manages the extent of a set of FIDs may be added, and mapping that replaces the conventional FE may be registered in the VAT.
[0075]
The timing for reading VAT is before reading FE, and is generally read simultaneously with reading VDS and stored in the memory. At this time, in order to access the actual data of the file 651, the AVDP of the area 602, the VDS of the area 601, the VAT of the area 613, the FSD of the area 603, the FE of the area 604, the FID of the area 611, the FE of the area 606, and the area The links may be traced in the order of 607 and area 610.
[0076]
In FIG. 5B, the left part including VAT in the area 613 indicates the inside of the file system management, and the right part including Border out in the area 660 indicates the outside of the file system management.
[0077]
Example 1
(Recording system configuration)
In the following, for the sake of brevity, a recording / erasing apparatus for recording or erasing data and a reproducing apparatus for reproducing data will be described as separate apparatuses. However, the recording / erasing apparatus and the reproducing apparatus can be configured as a recording / reproducing / erasing apparatus that records, erases, and reproduces data by sharing the same operation.
[0078]
FIG. 1 is a block diagram showing a functional configuration of a recording / erasing apparatus for recording and erasing data in this embodiment. As shown in the figure, the recording / erasing apparatus includes a pickup unit 102, a spindle motor 103, a servo circuit 104, a recording control unit 105, a recording position control unit 106, a dummy data generation unit 107, a recording data switching unit 108, and recording position data. Configuration including switching unit 109, key generation unit 110, encryption processing unit 111, file system management information management unit 112, key position management unit 113, data input unit 114, warning data output unit 115, and warning data generation unit 116 It has become.
[0079]
The pickup unit 102 is a part that reads data from the optical disc 101 that is a write-once recording medium. The spindle motor 103 is a drive part that rotates the optical disc 101. The servo circuit 104 is a part that receives the recording position information from the recording control unit 105 and drives the spindle motor 103 and the pickup unit 102. The recording control unit 105 receives key recording position information or data recording position information from the recording position control unit 106, and outputs data, key, or dummy data input from the recording data switching unit 108 to the servo circuit 104 together with the recording position information. It is a part to do.
[0080]
The recording position control unit 106 receives the recording position and key recording position within the management of the file system from the recording position data switching unit 109, and uses the position as recording position information while taking into account the unrecorded portion of the optical disc. This is the part that is output to the recording control unit 105. The dummy data generation unit 107 is a part that generates dummy data having a random value and outputs the dummy data to the recording data switching unit 108 when the user instructs to erase the optical disk 101.
[0081]
The recording data switching unit 108 receives the encrypted data from the encryption processing unit 111, the key from the key generation unit 110, and the dummy data from the dummy data generation unit 107, and records any one kind of the received data. This is the part that is output to the control unit 105. The recording position data switching unit 109 receives the file system management information from the file system management information management unit 112 and the key position information from the key position management unit 113, and sends one type of the received information to the recording position control unit 106. This is the output part.
[0082]
The key generation unit 110 is a part that generates a key for encrypting data and outputs it to the recording data switching unit 108 and the encryption processing unit 111 when there is an instruction to record data. The encryption processing unit 111 is a processing unit that encrypts the data received from the data input unit 114 with the key received from the key generation unit 110 and outputs the encrypted data to the recording data switching unit 108. In this embodiment, DES (Data Encryption Standard) is used as the encryption method here, but the present invention is not limited to this, and other encryption methods may be used.
[0083]
The file system management information management unit 112 is a part that holds information regarding the file system of the optical disc 101. The key position management unit 113 is a part that manages key position information recorded in a part of the optical disc 101 that is not managed by the file system.
[0084]
The data input unit 114 is an input part for data to be recorded. The warning data output unit 115 is a part that receives warning data from the warning data generation unit 116 and outputs the warning data in accordance with the warning data. The warning data generation unit 116 is a part that receives data indicating the warning content from the recording control unit 105 and generates data indicating the warning content.
[0085]
(Recording format)
The recording format used in Example 1 of this embodiment will be described with reference to FIG. Data 630, data 631, and data 632 in the figure are actual data in the management of the file system and are encrypted and recorded. Each of the sections 633, 634, and 635 is a section having a width of 16 sectors (32 Kbytes) or more, and is allocated to the rear part from the middle in the reading order on the optical disc. Note that the middle here corresponds to the last part of the range of the area where the data to be recorded is to be recorded. The reason for securing the section of 16 sectors or more is that the writing unit is 16 sectors. Here, the section is set with a width of 16 sectors or more in order to provide a margin for the section width.
[0086]
Key data related to encryption of data 630, data 631, and data 632 is recorded in section 633, section 634, and section 635, respectively. That is, the section in which the key data is recorded is assigned in order from the front in the reading direction in the order in which the actual data is recorded.
[0087]
Next, a method for recording key data in a section will be described. When DES (Data Encryption Standard) is used as the encryption method, the key data consists of 64-bit data. The 64-bit key data is recorded at random positions in the section every time recording is performed. Key data 636 and key data 637 in FIG. 15 are examples of key data recorded in this way.
[0088]
In FIG. 15, in a section 634 where key data 637 is recorded, dummy data 638 is recorded on the left portion of the key data 637 and dummy data 639 is recorded on the right portion. This represents the state of the section in which the key data 637 is recorded after the data 631 is erased by an erasure process described later.
[0089]
(Recording method)
Next, a recording method in the above recording / erasing apparatus will be described with reference to the drawings. First, the state of the optical disc before and after recording will be described with reference to FIG. 6 and FIG.
[0090]
FIG. 6 shows the state of the optical disc before recording. In the same figure, an area 606, an area 607, an area 608, an area 610, an area 613, and an area 660 are the same as those shown in FIG. The key data 615 is key data obtained by encrypting the actual data recorded in the area 607 and the area 610.
[0091]
FIG. 7 shows the state of the optical disc after recording. In the same figure, an area 606, an area 607, an area 608, an area 610, an area 613, and an area 660 are the same as those shown in FIG. The FE in the area 616 is a file entry of data 617 to be newly recorded. Data 617 is newly recorded data. Key data 618 is key data obtained by encrypting newly recorded data 617. The VAT in the area 619 is a VAT updated by recording the data 617. Border out in the area 661 represents the end position after the data 617 is additionally written.
[0092]
FIG. 9 is a flowchart showing the flow of recording processing when recording is performed as shown in FIG. Here, a procedure for recording the data 617 in FIG. 7 will be described as an example. When the start of recording is instructed, the recording control unit 105 starts a process for acquiring information about the recording medium (step 1, hereinafter referred to as S1). First, the recording control unit 105 determines whether or not the optical disc 101 exists (S2).
[0093]
When it is determined that the optical disc 101 does not exist (NO in S2), information that the optical disc 101 does not exist is output to the warning data generation unit 116. Upon receiving the information that the optical disk 101 does not exist, the warning data generation unit 116 generates warning data corresponding to the output form (S12) and outputs it to the warning data output unit 115. Then, the warning data output unit 115 outputs a warning based on the generated warning data (S13).
[0094]
On the other hand, when it is determined that the optical disc 101 exists (YES in S2), the recording control unit 105 acquires the recording type information of the optical disc 101 and determines whether or not it is a write-once type (S3). Here, when it is determined that the recording type information of the optical disc 101 is not the write-once type (NO in S3), the recording type information of the optical disc 101 is output to the warning data generation unit 116. The warning data generation unit 116 generates warning data corresponding to the output form based on the recording type information of the optical disc 101 (S12), and outputs the warning data to the warning data output unit 115. The warning data output unit 115 outputs warning data based on the generated warning data (S13).
[0095]
When it is determined that the recording type information of the optical disc 101 is the write-once type (YES in S3), the recording control unit 105 acquires file system management information (S4). Based on the file system management information acquired in S4, the recording position information of the data recorded in the file system management is acquired and stored in the file system management information management unit 112 (S5). . In the example shown in FIG. 6, this data recording position information is information that the area on the left side of the area 613 where the VAT is recorded has been recorded.
[0096]
Next, key recording position information recorded outside the management of the file system is acquired and stored in the key position management unit 113 (S6). In the example shown in FIG. 6, the key recording position information is information that the key data 615 recorded outside the management of the file system is the key data of the recorded data 607 and data 610. .
[0097]
Next, the recording position control unit 106 receives the data recording position information in the management of the file system acquired from the file system management information management unit 112 in S5, and the key recording position information acquired from the key position management unit 113 in S6. The position for recording the key data of the data 617 is determined from these two types of information (S7). In the example shown in FIG. 7, it is determined that the key data 618 of the data 617 is recorded in the second section from the left.
[0098]
The recording position control unit 106 determines the recording position of the key data according to the following procedure. First, it is confirmed that data in the file system management and data recorded outside the file system management do not overlap. After that, among the sections allocated outside the management of the file system, the unrecorded section and the leftmost section are determined. After the section is determined, the recording position of the key data is at a random position within the section. It is determined.
[0099]
Next, the key generation unit 110 generates key data for encrypting the data. The encryption processing unit 111 encrypts the data input from the data input unit 114 with the key data (S8). The encrypted data is recorded on the optical disc 101 by the recording control unit 105 through the recording data switching unit 108 (S9). This encrypted data recording method is a recording method according to the file system. That is, in the example shown in FIG. 7, the data to be recorded is data 617 and the file entry is the FE of the area 616.
[0100]
Thereafter, the recording control unit 105 determines whether or not the recording of the encrypted data has been completed (S10). If it is determined that the data recording has not ended (NO in S10), the process returns to S8 and the encryption process is repeated. On the other hand, when it is determined that the data recording is completed (YES in S10), the key data is recorded by the recording control unit 105 in accordance with the recording position of the key data determined by the recording position control unit 106 in S7 ( S11). In the example shown in FIG. 7, key data is recorded at the position of the key data 618.
[0101]
Thereafter, the VAT to which the FE of the area 616 is added, which is a file entry of the recorded data, is recorded. This VAT corresponds to the VAT in the area 619 in the example shown in FIG. Finally, Border out 661 is recorded. Thus, the recording process in the recording / erasing apparatus is completed.
[0102]
(Erase method)
Next, the erasing method in the recording / erasing apparatus will be described with reference to the drawings. First, the state of the optical disk before and after erasure will be described with reference to FIGS.
[0103]
FIG. 7 shows the state of the optical disc before erasure. Since FIG. 7 is as described above, the description thereof is omitted here.
[0104]
FIG. 8 shows the state of the optical disc after erasure. Here, only areas and data not shown in FIG. 7 will be described. The dummy data 620 is recorded on the left side of the key data 615 in the section where the key data 615 is recorded. The dummy data 621 is recorded on the right side of the key data 615 in the same section where the key data 615 is recorded. The VAT in the area 622 is a VAT updated by deleting the data 607 and the data 610. Border out 662 represents the end position of additional writing due to the recording of the VAT in the area 622.
[0105]
FIG. 10 is a flowchart showing the flow of recording processing when erasure is performed as shown in FIG. Here, the procedure for erasing data 607 and 610 pointed to by the FE in the area 606 in FIG. 7 will be described as an example. First, erase data is selected. The selection of erase data is performed in the following procedure. First, file system management information is acquired (S21). Then, based on the file system management information, the VAT of the area 619 recorded in the file system management is read, and the currently recorded file entry is selected to select the erase data. (S22).
[0106]
Next, the recording control unit 105 acquires key recording position information recorded outside the management of the file system and stores it in the key position management unit 113 (S23). In the example shown in FIG. 7, the key recording position information is information on the recording positions of the key data 615 and the key data 618 recorded outside the management of the file system.
[0107]
Next, the dummy data generation unit 107 generates dummy data and outputs it to the recording control unit 105 through the recording data switching unit 108 (S24). The recording control unit 105 records the dummy data before and after the key data obtained by encrypting the data selected for deletion (S25). This dummy data recording method will be described with reference to FIG. 8. In the section where the key data 615 is recorded, the dummy data 620 is recorded in the unrecorded portion of the left portion of the key data 615, and the right portion of the key data 615 is recorded. Dummy data 621 is recorded in the unrecorded portion. As a result, the entire section in which the key data has been recorded is recorded.
[0108]
Thereafter, the VAT excluding the FE in the area 606 that is the file entry of the erased data is recorded. This VAT corresponds to the VAT in the area 622 in the example shown in FIG. Finally, Border out 662 is recorded. Thus, the erasing process in the recording / erasing apparatus is completed.
[0109]
The reason why the above erasing method plays the role of erasing is that the key data of the erased data cannot be reproduced. The reason why the key data cannot be reproduced is as follows. As a reference for determining that the information read from the recording medium is key data, a recorded portion and an unrecorded portion of the recording medium are used. Here, when the dummy data is recorded in the unrecorded part before and after the key data as described above, the unrecorded part, which is one of the criteria for determining the key data, is lost. Playback is impossible.
[0110]
In addition, when a malicious person thinks that he / she wants to reproduce the erased data, the data recorded in the section outside the file system management is regarded as key data in order from the beginning, and the data to be reproduced is decrypted. I have to go. However, in this method, it takes a very long time to obtain key data corresponding to data to be reproduced. Therefore, in practice, it becomes difficult to obtain key data of data to be reproduced, and as a result, data cannot be reproduced.
[0111]
(Playback system configuration)
FIG. 2 is a block diagram showing a functional configuration of a playback apparatus that plays back data in the present embodiment. As shown in the figure, the playback apparatus includes a pickup unit 202, a spindle motor 203, a servo circuit 204, a playback control unit 205, a playback position control unit 206, a key detection unit 207, a playback data switching unit 208, and file system management information management. 209, key storage unit 210, decryption processing unit 211, data output unit 212, warning data generation unit 213, and warning data output unit 214.
[0112]
The pickup unit 202 is a part that reads data from the optical disc 201 that is a write-once recording medium. The spindle motor 203 is a drive part that rotates the optical disc 201. The servo circuit 204 is a part that receives recording position information from the reproduction control unit 205 and drives the spindle motor 203 and the pickup unit 202. The reproduction control unit 205 is a part that receives data recording position information from the reproduction position control unit 206 and outputs the data read from the pickup unit 202 to the reproduction data switching unit 208.
[0113]
The playback position control unit 206 is a part that receives the recording position in the file system management from the file system management information management unit 209 and outputs it to the playback control unit 205. The key detection unit 207 is a part that receives the information recorded on the optical disc 201 from the reproduction data switching unit 208, detects the key data, and outputs this key data to the storage unit 210.
[0114]
When the data read by the pickup unit 202 and received from the reproduction control unit 205 is data within the management of the file system, the reproduction data switching unit 208 outputs the data to the decryption processing unit 211, and When the data is out of management, this is a part for outputting the data to the key detection unit 207. The file system management information management unit 209 is a part that holds information regarding the file system of the optical disc 201.
[0115]
The key storage unit 210 is a part that receives key data from the key detection unit 207, temporarily stores it, and outputs the key data to the decryption processing unit 211. The decryption processing unit 211 decrypts the encrypted data received from the reproduction data switching unit 208 based on the key data received from the key storage unit 210, and outputs the decrypted data to the data output unit 212. Part.
[0116]
The data output unit 212 is a part for outputting data. The warning data generation unit 213 receives data indicating the warning content from the reproduction control unit 205 and generates data indicating the warning content. The warning data output unit 214 is a part that receives warning data from the warning data generation unit 213 and outputs it in accordance with the warning data.
[0117]
(Playback method)
Next, a playback method in the playback apparatus will be described with reference to the drawings. FIG. 11 is a flowchart showing the flow of processing when reproducing an optical disc on which information is recorded in the state shown in FIG. Here, a procedure for reproducing data 617 indicated by the file entry FE in the area 616 in FIG. 7 will be described as an example.
[0118]
First, reproduction data is selected as follows. First, the file system management information is acquired, and the VAT of the area 619 recorded in the file system management is read (S31). Then, the reproduction data is selected by selecting the currently recorded file entry (S32).
[0119]
Next, the order information of the file entry FE regarding the selected data is acquired. Based on the acquired order information, the corresponding key data recorded outside the management of the file system is detected by the key detection unit 207 (S33). In the example shown in FIG. 7, since the data 617 is entered second in the actual data, the corresponding key data is determined as the key data 618.
[0120]
Here, when the key detection unit 207 determines that there is no key data of the selected data (reproduction data) to be reproduced (NO in S34), information indicating that no key data exists is the reproduction data switching unit 208. And output to the warning data generation unit 213. The warning data generation unit 213 generates warning data corresponding to the output form based on the information that the key data does not exist (S39), and outputs the warning data to the warning data output unit 214. The warning data output unit 214 outputs a warning based on the generated warning data (S40).
[0121]
On the other hand, when it is determined that the key data of the reproduction data exists (YES in S34), key detection unit 207 outputs the key data to key storage unit 210, and key storage unit 210 stores the key data ( S35). Also, the key detection unit 207 instructs the reproduction control unit 205 through the reproduction data switching unit 208 to reproduce the selected data in accordance with the file system thereafter. The reproduction control unit 205 stores the data recording position information obtained by acquiring the file system management information in the file system management information management unit 209 (S36).
[0122]
Next, the data recording position information stored in the file system management information management unit 209 is output to the reproduction position control unit 206 and output to the reproduction control unit 205. The reproduction control unit 205 reads data from the optical disc 201 based on the input data recording position information, and outputs the data to the decoding processing unit 211. The decryption processing unit 211 decrypts the data received from the reproduction control unit 205 with the key data stored in the key storage unit 210 (S37), and the decrypted data is output to the data output unit 212 (S38).
[0123]
(Modification of Example 1)
In the first embodiment described above, 64 bit key data is continuously recorded as an example. However, a method of dividing the key data into a plurality of pieces and recording each in a plurality of positions is also conceivable. For example, 64-bit key data is divided into eight 8-bit data, and recorded with a gap in a predetermined interval. As described above, when the key data is divided and recorded, it becomes more difficult to reproduce the key data from the disc after the erasure process is performed.
[0124]
In the first embodiment, the section in which the key data is recorded is described as being sequentially set from the middle of the disk to the rear in the order in which the data is read. According to such a method, there is an advantage that it is not necessary to move the pickup to the end. However, contrary to the order in which reading is performed, a method of setting a section for recording key data from the back side of the disc may be used. According to this method, there is no need to secure a section for recording the key data in advance, so that a wasteful portion of the recording medium can be reduced.
[0125]
In the first embodiment, the example in which the sections for recording the key data are collectively secured in the last part in the reading order of the recording medium is shown. However, the section for recording the key data is set for each recording process and erasing process. It may be set after the Border out which is not managed by the file system. According to this method, there is no need to secure a section for recording the key data in advance, so that a wasteful portion of the recording medium can be reduced.
[0126]
In the first embodiment, the example in which the length of the section in which the key data is recorded is fixed to the same length is shown. However, the section length may be changed for each section. According to this method, since the length of the section is not a fixed length, it becomes more difficult to reproduce the key data after the erasure process is performed.
[0127]
In the first embodiment, the erasing method for erasing one piece of data has been described as an example. However, all the data can be erased by recording all the dummy data in the unrecorded portion of the disk.
[0128]
(Example 2)
(Recording system configuration)
In the following, as in the first embodiment, for the sake of brevity, a recording / erasing apparatus for recording or erasing data and a reproducing apparatus for reproducing data will be described as separate apparatuses. However, the recording / erasing device and the reproducing device can be configured as a recording / reproducing / erasing device that records, erases, and reproduces data by sharing the same operation.
[0129]
FIG. 3 is a block diagram showing a functional configuration of a recording / erasing apparatus for recording and erasing data in this embodiment. As shown in the figure, the recording / erasing apparatus includes a pickup unit 302, a spindle motor 303, a servo circuit 304, a recording control unit 305, a recording position control unit 306, a dummy data generation unit 307, a recording data switching unit 308, and recording position data. Switching unit 309, encryption / decryption processing unit 310, key generation unit 311, file system management information management unit 312, data input unit 313, data amount determination unit 314, warning data output unit 315, warning data generation unit 316, and file The configuration includes a non-system management management unit 317.
[0130]
The pickup unit 302 is a part that reads data from the optical disc 301 that is a write-once recording medium. The spindle motor 303 is a drive part that rotates the optical disc 301. The servo circuit 304 is a part that receives the recording position information from the recording control unit 305 and drives the spindle motor 303 and the pickup unit 302. The recording control unit 305 receives data recording position information from the recording position control unit 306 and outputs data, key data, or dummy data input from the recording data switching unit 308 to the servo circuit 304 together with the recording position information. is there.
[0131]
The recording position control unit 306 receives a recording position in the file system management from the file system management information management unit 312, determines an unrecorded portion of the optical disc, and uses the position as recording position information to the recording control unit 305. This is the output part. The dummy data generation unit 307 is a part that generates dummy data having a random value and amount and outputs the dummy data to the recording data switching unit 308 when the user instructs to erase the optical disc 301.
[0132]
The recording data switching unit 308 receives the encrypted data from the encryption / decryption processing unit 310 and the dummy data from the dummy data generation unit 307, and outputs any one type of the received data to the recording control unit 305. Part. The recording position data switching unit 309 receives the file system management information from the file system management information management unit 312 and the data outside the file system management from the file system management non-management unit 317, and receives any one type of the received information. This is the part that is output to the recording position control unit 306.
[0133]
The encryption / decryption processing unit 310 is a processing unit that encrypts the data received from the data input unit 313 with the key data received from the key generation unit 311 and outputs the encrypted data to the recording data switching unit 308. . The key generation unit 311 is a part that generates key data based on the data amount received from the data amount determination unit 314 and outputs it to the encryption / decryption processing unit 310 when there is an instruction to record data.
[0134]
The file system management information management unit 312 is a part that holds information related to the file system of the optical disc 301. The data input unit 313 is an input part for data to be recorded. The data amount determination unit 314 is a portion that determines the data amount of data input from the data input unit 313, data input from the recording control unit 305, or dummy data input from the dummy data generation unit 307.
[0135]
The warning data output unit 315 is a part that receives warning data from the warning data generation unit 316 and outputs a warning based on the warning data. The warning data generation unit 316 is a part that receives data indicating the warning content from the recording control unit 305 and generates data indicating the warning content. The file system non-management manager 317 is a part for holding data recorded outside the file system management.
[0136]
(Recording format)
A recording format used in the second embodiment will be described with reference to FIG. In FIG. 16, the description of the region described in FIG. 5B is omitted here. Data 607 and data 610 are encrypted and recorded on the optical disc. Key data used for the encryption is generated based on Length shown in FIG. This Length is defined as the amount of data from the disk read start location to the dummy data 640.
[0137]
The dummy data 640 has a random value and a random data amount for each recording. Further, since the dummy data 640 is recorded outside the management of the file system, in order to acquire the Length, it is necessary to acquire the data amount within the management of the file system and the data amount outside the management of the file system. Also, the Length set 670 is recorded with the Length set up to now encrypted with the current amount of data.
[0138]
(Recording method)
Next, a recording method in the above recording / erasing apparatus will be described with reference to the drawings. First, the state of the optical disc before and after recording will be described with reference to FIGS. 17 and 18.
[0139]
FIG. 17 shows the state of the optical disc before recording. This figure shows the state of the optical disk on the right side from the FE in the area 606 in the state shown in FIG. Length 1 in the figure represents the amount of data up to dummy data 640.
[0140]
FIG. 18 shows the state of the optical disc after recording. Here, a region other than the region shown in FIG. 17 will be described. The dummy data 641 is data recorded at the end of the recording operation. The dummy data 643 is data recorded immediately after the dummy data 640. The Length set 671 is data obtained by encrypting Length1 with key data generated based on Length2. Length 2 represents the data amount up to dummy data 641.
[0141]
FIG. 12 is a flowchart showing the flow of recording processing when recording is performed as shown in FIG. Here, a procedure for recording data 617 in FIG. 18 will be described as an example. When the start of recording is instructed, the recording control unit 305 starts information acquisition processing regarding the recording medium (S41). First, the recording control unit 305 determines whether or not the optical disc 301 exists (S42).
[0142]
When it is determined that the optical disc 301 does not exist (NO in S42), information that the optical disc 301 does not exist is output to the warning data generation unit 316. The warning data generation unit 316 generates warning data according to the output form based on the information that the optical disc 301 does not exist (S53), and outputs this to the warning data output unit 315. The warning data output unit 315 outputs a warning based on the generated warning data (S54).
[0143]
On the other hand, when it is determined that the optical disc 301 is present (YES in S42), the recording control unit 305 acquires the recording type information of the optical disc 301 and determines whether it is a write-once type (S43). When it is determined that the recording type information of the optical disc 301 is not the write-once type (NO in S43), the recording type information of the optical disc 301 is output to the warning data generation unit 316. The warning data generation unit 316 generates warning data corresponding to the output form based on the recording type information of the optical disc 301 (S53), and outputs the warning data to the warning data output unit 315. The warning data output unit 315 outputs a warning based on the generated warning data (S54).
[0144]
On the other hand, when it is determined that the recording type information of the optical disc 301 is the write-once type (YES in S43), the recording control unit 305 acquires file system management information (S44). Next, the recording control unit 305 acquires the current data amount and stores it in the file system non-management management unit 317 as Length1. Then, based on the file system management information acquired in S44, the recording control unit 305 acquires the recording position information of the data recorded in the file system management, and this is stored in the file system management information management unit 312. Store (S45). Here, the data recording position information is the position information of Border out 660 in the example shown in FIG.
[0145]
Next, the recording control unit 305 receives information indicating the data amount of the dummy data 640 recorded outside the management of the file system. Thereafter, the dummy data generation unit 307 generates dummy data, and the recording control unit 305 records the generated dummy data as dummy data 643 as shown in FIG. 18 (S46). Then, the recording control unit 305 stores information indicating the total data amount of the dummy data 640 and the dummy data 643 in the file system non-management manager 317.
[0146]
Next, the recording position control unit 306 records the data recording position information in the file system management acquired from the file system management information management unit 312 in S45 from the file system management non-management unit 317 outside the file system management. Each received data amount. Then, the recording position control unit 306 determines the position for recording the data 617 in FIG. 18 based on the two types of information obtained, the recording position information, the recording position information in the management of the file system, and the file A total of three types of information representing the amount of data recorded outside the management of the system is output to the recording control unit 305.
[0147]
The recording control unit 305 controls the optical disc 301 according to the recording position information of the data 617 among the received three types of information. In addition, the recording control unit 305 outputs, to the data amount determination unit 314, the recording position information within the management of the file system and the information indicating the amount of data recorded outside the management of the file system among the received three types of information. To do. The dummy data generation unit 307 generates dummy data and outputs the data amount of the generated dummy data to the data amount determination unit 314.
[0148]
The data amount determination unit 314 receives information indicating the data amount of data to be recorded from the data input unit 313, recording position information within the management of the file system, and data recorded outside the management of the file system from the recording control unit 305. Information representing the amount is received from the dummy data generation unit 307 as the amount of dummy data, and the four types of data are summed. A total obtained by adding the data amount of the set of Length, the VAT and Border out recorded this time to the total is calculated by the data amount determination unit 314 (S47), and this total data amount is output to the key generation unit 311. This total data amount is the amount indicated by Length2 in the example shown in FIG.
[0149]
The key generation unit 311 generates key data based on the received total data amount (S48) and outputs it to the encryption / decryption processing unit 310. The encryption / decryption processing unit 310 performs encryption processing using the key data received from the data input from the data input unit 313 (S49). The encrypted data is recorded on the optical disc 301 by the recording control unit 305 through the recording data switching unit 308 (S50). This method of recording encrypted data is a method according to the file system. In the example shown in FIG. 18, the data to be recorded is data 617, and the file entry FE is the FE of the area 616.
[0150]
Thereafter, the recording control unit 305 determines whether or not the recording of the encrypted data has been completed (S51). If it is determined that data recording has not ended (NO in S51), the processing from S49 is repeated.
[0151]
On the other hand, when it is determined that the data recording has ended (YES in S51), the encryption / decryption processing unit 310 generates a plurality of Lengths indicating the data amount of the recording up to the previous time based on Length2 And is recorded after Border out 661 (S52). In the example shown in FIG. 18, since one file is recorded, there is only one set of Length, which is Length1. Therefore, data obtained by encrypting the data amount representing Length1 with the key data generated based on Length2 is a set 671 of Length. Here, instead of the data amount recorded until the previous time, a set of key data generated by the key generation unit 311 based on the data amount may be recorded. Finally, the dummy data generated by the dummy data generation unit 307 is recorded. This corresponds to the dummy data 641 in the example shown in FIG. Thus, the recording process in the recording / erasing apparatus is completed.
[0152]
(Erase method)
Next, the erasing method in the recording / erasing apparatus will be described with reference to the drawings. First, the state of the optical disk before and after erasure will be described with reference to FIGS.
[0153]
FIG. 18 shows the state of the optical disc before erasure. Since FIG. 18 is as described above, the description thereof is omitted here.
[0154]
FIG. 19 shows the state of the optical disc after erasure. Here, only areas and data not shown in FIG. 18 will be described. The dummy data 642 is data recorded at the end of the erase operation. The dummy data 644 is data recorded immediately after the dummy data 641. The Length set 672 is data obtained by encrypting Length2 using key data generated based on Length3. Length 3 represents the data amount up to the dummy data 642.
[0155]
FIG. 13 is a flowchart showing the flow of erasure processing when erasure is performed as shown in FIG. Here, in FIG. 18, a procedure for erasing data 607 and 610 pointed to by the FE in the area 606 will be described as an example. First, erase data is selected. The selection of erase data is performed in the following procedure. First, management information of the file system is acquired (S61). Then, based on the file system management information, the VAT of the area 619 recorded in the file system management is read, and the currently recorded file entry is selected to select the erase data. (S62).
[0156]
Next, the encryption / decryption processing unit 310 acquires Length2, and the key generation unit 409 generates key data based on the acquired Length2. Next, an encrypted Length set 671 recorded outside the management of the file system is read. Here, the Length set 671 encrypted using the key data generated based on Length 2 is decrypted, and the previous Length set is obtained. In the example shown in FIG. 18, the set of Length is Length1.
[0157]
Next, a process of adding Length 2 which is the source of the latest key data is performed on the set of Length, except for Length used for encryption of data to be erased. However, when data encrypted with Length2 is to be erased, Length2 is not added. In the case of the example shown in FIG. 18, since the data 607 and 610 are encrypted with Length1, as a result of adding Length2 excluding Length1, the set of Length becomes a set of only Length2. Here, the set of Length is output to the data amount determination unit 314.
[0158]
Next, the dummy data generation unit 307 generates two types of dummy data (S63), and records one type as dummy data 644 immediately after the dummy data 641 (S64). At this time, the total data amount of the two types of dummy data generated by the dummy data generation unit 307 is output to the data amount determination unit 314. Here, since the data is erased, the file entry is updated, and the VAT is updated accordingly. This corresponds to the VAT of the area 622 in the example shown in FIG. Further, Border out 662 is recorded. The recording control unit 305 outputs the data amount of the VAT and Border out 662 in the area 622 to the data amount determination unit 314.
[0159]
The data amount determination unit 314 calculates the sum of the received data amount and Length2, and outputs the result to the key generation unit 311. In the example shown in FIG. 19, the total data amount corresponds to Length3. Next, the updated set of Length is encrypted with the key data generated based on Length 3, and recorded in the Length set 672 (S65). Finally, the remaining one type of dummy data generated in S63 is recorded as dummy data 642, and the erasing process is completed.
[0160]
The reason why the above erasing method plays the role of erasing is that the key data of the erased data cannot be reproduced. The reason why the key data cannot be reproduced is as follows. Key data for encrypting data is generated based on the amount of data at the time of recording. By newly recording dummy data by erasing operation, it becomes impossible to determine the amount of data when data is encrypted. This is because.
[0161]
(Playback system configuration)
FIG. 4 is a block diagram showing a functional configuration of a playback apparatus that plays back data in the present embodiment. As shown in the figure, the playback apparatus includes a pickup unit 402, a spindle motor 403, a servo circuit 404, a playback control unit 405, a playback position control unit 406, a data amount determination unit 407, a file system management information management unit 408, a key generation. 409, a decoding processing unit 410, a data output unit 411, a warning data output unit 412, a warning data generation unit 413, a file system unmanaged management unit 414, and a data switching unit 416.
[0162]
The pickup unit 402 is a part that reads data from the optical disc 401 that is a write-once recording medium. The spindle motor 403 is a drive part that rotates the optical disc 401. The servo circuit 404 is a part that receives reproduction position information from the reproduction control unit 405 and drives the spindle motor 403 and the pickup unit 402. The reproduction control unit 405 is a part that receives data recording position information from the reproduction position control unit 406 and outputs data to the decoding processing unit 410 or the data amount determination unit 407.
[0163]
The reproduction position control unit 406 is a part that receives the recording position in the management of the file system from the file system management information management unit 408 and outputs it to the reproduction control unit 405. The data amount determination unit 407 is a part that receives information recorded on the optical disc 401 from the reproduction control unit 405, determines the data amount, and outputs the determination result to the key generation unit 409. The file system management information management unit 408 is a part that holds information regarding the file system of the optical disc 401.
[0164]
The key generation unit 409 is a part that receives the data amount from the data amount determination unit 407 and generates key data based on the data amount. The decryption processing unit 410 receives the key data from the key generation unit 409 and the data encrypted from the reproduction control unit 405, decrypts the data encrypted by the key data, and outputs the decrypted data to the data output unit 411. It is a processing part which outputs to.
[0165]
The data output unit 411 is a part for outputting data. The warning data output unit 412 receives warning data from the warning data generation unit 413 and outputs a warning based on the warning data. The warning data generation unit 413 is a part that receives data indicating the warning content from the reproduction control unit 405 and generates data indicating the warning content.
[0166]
The file system non-management manager 414 is a part for holding data recorded outside the management of the file system. The data switching unit 415 receives the file system management information from the file system management information management unit 408 and the data outside the file system management from the file system management management unit 414, and reproduces one of the received information. This is the part that is output to the position control unit 406.
[0167]
(Playback method)
Next, a playback method in the playback apparatus will be described with reference to the drawings. FIG. 14 is a flowchart showing a flow of processing when reproducing an optical disc on which information is recorded in the state shown in FIG. Here, in particular, a procedure for reproducing data 607 and data 610 pointed to by file entry FE in area 606 in FIG. 18 will be described as an example.
[0168]
First, reproduction data is selected as follows. First, the file system management information is acquired, and the VAT of the area 619 recorded in the file system management is read (S71). Then, the reproduction data is selected by selecting the currently recorded file entry (S72).
[0169]
Next, the playback control unit 405 outputs the data amount in the file system management to the data amount determination unit 407. Then, the playback control unit 405 reads the data recorded outside the management of the file system (S73), and outputs the read data amount to the data amount determination unit 407.
[0170]
The data amount determination unit 407 determines the data amount of the portion recorded on the optical disc 401 based on the data amount within the file system management received from the reproduction control unit 405 and the data amount outside the file system management. (S74), output to the key generation unit 409. At this time, the amount of data recorded on the disc corresponds to Length 2 in the example shown in FIG.
[0171]
The key generation unit 409 generates key data based on the data amount received from the data amount determination unit 407, in the case of the example shown in FIG. 18, Length2 (S75), and outputs the key data to the decryption processing unit 410. Next, the reproduction control unit 405 determines whether or not the data selected for reproduction is the last recorded data (S76).
[0172]
If it is determined that the data is not the last recorded data (NO in S76), the decryption processing unit 410 decrypts the Length set 671 using the key data generated based on Length2, and selects the selected data. Length1 serving as the key data is acquired (S79). Then, the acquired Length 1 is output to the key generation unit 409.
[0173]
At this time, the minimum Length exceeding the address of the selected data in the Length set is determined as the Length that is the key data of the selected data. In the example shown in FIG. 18, since data 607 and data 610 are selected, Length corresponding to this is Length1.
[0174]
The key generation unit 409 generates key data based on the received Length1 (S80), outputs this to the decryption processing unit 410, and proceeds to S77.
[0175]
On the other hand, if NO in S76, that is, if it is determined that the data selected for reproduction is the last recorded data, the decryption processing unit 410 uses the key data received from the key generation unit 409, from the reproduction control unit 405. The received data 607 and data 610 in the management of the file system are decrypted (S77), and the result is output to the data output unit 411 (S78).
[0176]
(Modification of Example 2)
In the second embodiment, in the data recording / erasing operation, a set of encrypted Lengths is recorded in the right part of Border out, and further dummy data is recorded in the right part of the data amount up to the dummy data. As an example, it is explained that is set to Length. However, a method is also conceivable in which dummy data is not recorded after the encrypted Length set in the data recording and erasing operations. In this case, Length is the length up to a set of encrypted Lengths. The reason why this can be done is that the encrypted Length set cannot be reproduced because it is encrypted, so it can actually be handled as dummy data. However, since the length set has the role of dummy data, it is necessary to change the data amount of the length set. In such a case, a portion of the recording medium that is wasted can be reduced by not recording dummy data.
[0177]
In the second embodiment, the length is described as the data amount of the recorded data. However, a method using other information for the length is also conceivable. For example, a method is conceivable in which dummy data is recorded from the end in the reading order of the recording medium, and the data amount of the dummy data is set to Length. In this case, since the dummy data and the data to be recorded can be recorded in different areas, the data can be read quickly by recording the data to be recorded together.
[0178]
In the second embodiment, when data is recorded, the length that is key data for encrypting the data is described as the data amount of the data to be recorded. However, the length for encrypting the data to be recorded is the previous time. The amount of data may be up to. The following two points are different from the second embodiment. The first point relates to Length used for encryption of data to be recorded first on the recording medium. Before data recording operation, dummy data is recorded, and the data amount of this dummy data is set to Length, and the data is encrypted. It is a point to become. The second point is that the previous Length is used as the Length used for encrypting the data to be recorded. In this case, the data can be encrypted and recorded while maintaining the effects of the second embodiment without knowing the data amount of data to be recorded in advance. For example, the present invention can be applied when the total amount of data is not known at the start of recording, such as real-time recording of video data.
[0179]
【The invention's effect】
As described above, the recording apparatus according to the present invention is a recording apparatus that records data on a write-once recording medium, and a pickup unit that can distinguish between a recorded portion and an unrecorded portion of the recording medium that records data. A key generation unit that generates key data for encrypting data, an encryption processing unit that encrypts data to be recorded based on the key data, and an unrecorded recording medium read from the pickup unit Control to record the data to be recorded encrypted by the encryption processing unit in the part, and record the key data generated by the key generation unit with an unrecorded part before and after And a recording control unit that performs control.
[0180]
This makes it possible to dispose of the recorded data while protecting the confidentiality of the recorded data, thus providing an effect that the recorded data can be disposed of without requiring special attention.
[0181]
In addition, since it becomes possible to specify a part of the recorded data and make it impossible to reproduce, it is a write-once recording medium on which confidential data is recorded, and only specific confidential data is erased, The remaining data can be used as it is. Therefore, the write-once recording medium can be effectively used without waste.
[0182]
In the recording apparatus according to the present invention, the recording control unit generates the key generation unit from the last part to the rear side of the range of the area where the data to be recorded is to be recorded in the reading order of the recording medium. The key data may be controlled to be recorded on the recording medium in the data recording order.
[0183]
Thereby, in addition to the effect of the above configuration, when reading the key data, it is not necessary to move the pickup to the end of the recording medium, so that the data can be read at high speed. .
[0184]
Further, in the recording apparatus according to the present invention, the recording control unit records the key data generated by the key generation unit on the recording medium in the data recording order from the last part in the reading order of the recording medium. It is good also as a structure which performs control.
[0185]
Accordingly, in addition to the effect of the above configuration, it is not necessary to secure a section for recording the key data in advance, so that there is an effect that the portion of the recording medium that is wasted can be reduced.
[0186]
In the recording apparatus according to the present invention, the recording control unit records the key data generated by the key generation unit immediately after the data to be recorded in the reading order of the recording medium, and records the next time. It is good also as a structure which performs control which records the data to be recorded on the back side of the said key data recorded previously.
[0187]
Accordingly, in addition to the effect of the above configuration, it is not necessary to secure a section for recording the key data in advance, so that there is an effect that the portion of the recording medium that is wasted can be reduced.
[0188]
Further, the recording apparatus according to the present invention may be configured such that the recording control unit performs control to divide the key data generated by the key generation unit into a plurality of parts and record each of the key data in a plurality of locations.
[0189]
Thereby, in addition to the effect by the above configuration, the key data is divided and recorded, so that it is more difficult to reproduce the key data from the disc after the erasure process is performed. There is an effect.
[0190]
In the recording apparatus according to the present invention, when there are a plurality of the key data, the recording control unit provides one section for recording with respect to one key data, and the key is placed at a random position in the section. It is good also as a structure which performs control which records data.
[0191]
As a result, in addition to the effects of the above configuration, the lengths of unrecorded portions before and after the key data are all different with respect to each key data, so that the key data is reproduced from the disc after the erasure process is performed. This has the effect of making it more difficult.
[0192]
An erasing apparatus according to the present invention is an erasing apparatus for erasing data of a write-once recording medium on which data is recorded by the recording apparatus according to the present invention, wherein a recorded portion and an unrecorded portion of the recording medium A dummy data generated by the dummy data generating unit in a non-recorded portion provided before and after the key data And a recording control unit that performs control for recording data.
[0193]
As a result, dummy data having a random value and a random data amount generated by the dummy data generation unit is recorded in unrecorded portions provided before and after the key data. It is possible to make it more difficult to reproduce the key data from the disc.
[0194]
An erasing apparatus according to the present invention is an erasing apparatus for erasing data of a write-once recording medium on which data is recorded by the recording apparatus according to the present invention, wherein a recorded portion and an unrecorded portion of the recording medium A non-recorded portion provided before and after the key data in a section in which the key data is recorded, and a pickup unit that can distinguish between the pickup data, a dummy data generation unit that generates dummy data having a random value And a recording control unit that performs control to record the dummy data generated by the dummy data generation unit.
[0195]
As a result, dummy data having a random value and a random data amount generated by the dummy data generation unit is recorded in unrecorded portions provided before and after the key data in the section in which the key data is recorded. Therefore, it is possible to make it more difficult to reproduce the key data from the disc after the erasure process is performed.
[0196]
The recording apparatus according to the present invention is a recording apparatus that records data on a write-once recording medium, and includes a data amount of data to be recorded and a data amount necessary for recording in addition to the data amount of data to be recorded. Using a data amount determination unit to be acquired, a key generation unit that generates key data for encrypting data based on the data amount acquired by the data amount determination unit, and the key data generated by the key generation unit The encryption processing unit encrypts the data to be recorded, and the recording control unit performs control to record the data encrypted by the encryption processing unit on the recording medium.
[0197]
As a result, when erasing data, it becomes difficult to grasp the amount of data when the data is encrypted by newly performing a process of recording dummy data. Therefore, since it becomes possible to dispose of the recorded data while protecting the confidentiality, there is an effect that it can be disposed of without requiring special attention.
[0198]
In addition, since it becomes possible to specify a part of the recorded data and make it impossible to reproduce, it is a write-once recording medium on which confidential data is recorded, and only specific confidential data is erased, The remaining data can be used as it is. Therefore, the write-once recording medium can be effectively used without waste.
[0199]
The recording apparatus according to the present invention further includes a dummy data generation unit that generates dummy data having a random value and a random data amount, and the data amount determination unit includes the data amount of the data to be recorded and the dummy data. A configuration in which a total data amount with the data amount of dummy data generated by the data generation unit is acquired, and the key generation unit generates key data based on the total data amount acquired by the data amount determination unit It is good.
[0200]
As a result, in addition to the effects of the above configuration, when deleting certain data, it is difficult to grasp the amount of data when the data is encrypted by performing a process of newly recording dummy data. The effect of becoming.
[0201]
The recording apparatus according to the present invention further includes a dummy data generation unit that generates dummy data having a random value and a random data amount, and the recording control unit stores the dummy data generated by the dummy data generation unit. The data recorded on the recording medium is controlled, the data amount determination unit acquires the data amount of the dummy data recorded on the recording medium, and the key generation unit acquires the data acquired by the data amount determination unit. It is good also as a structure which produces | generates key data based on quantity.
[0202]
As a result, in addition to the effects of the above configuration, when deleting certain data, it is difficult to grasp the amount of data when the data is encrypted by performing a process of newly recording dummy data. The effect of becoming.
[0203]
Further, in the recording apparatus according to the present invention, the recording control unit encrypts the history of the past data amount in the recording medium using the key data generated by the key generation unit, and records it on the recording medium. It is good also as a structure which performs control.
[0204]
Thereby, in addition to the effect by the above configuration, when the erasing process is performed, there is an effect that it becomes difficult to analyze the key data when encrypting the history data of the past data amount.
[0205]
In the recording apparatus according to the present invention, the recording control unit may store the dummy data generated by the dummy data generating unit on the recording medium immediately before the position where the next data is recorded in the reading order of the recording medium. It is good also as a structure which performs control to record.
[0206]
As a result, in addition to the effects of the above configuration, the next data is recorded on the recording medium at a position separated by a random distance from the rear end of the area where some data has been recorded until the previous recording. Will be. Therefore, when the erasing process is performed, it is possible to make it difficult to illegally read the erased data.
[0207]
In the recording apparatus according to the present invention, the data amount determination unit obtains a total data amount of the data amount already recorded on the recording medium and the data amount of data to be recorded from now on, and The control unit may perform control to encrypt data to be recorded and record it on the recording medium using the key data generated by the key generation unit based on the acquired data amount.
In the above configuration, the key data is generated based on the total data amount of the data amount already recorded on the recording medium and the data amount of data to be recorded from now on, so when erasing certain data, By performing the process of newly recording dummy data, there is an effect that it becomes difficult to grasp the amount of data when the data is encrypted.
[0208]
In the recording apparatus according to the present invention, the data amount determination unit acquires the data amount already recorded on the recording medium, and the recording control unit determines the key generation unit based on the acquired data amount. A configuration may be adopted in which the data to be recorded is encrypted and recorded on the recording medium by using the key data generated by.
In the above configuration, the key data is generated based on the amount of data already recorded on the recording medium. Therefore, when erasing certain data, the data is newly recorded by performing a process of recording dummy data. There is an effect that it is difficult to grasp the amount of data when the data is encrypted.
[0209]
In the recording apparatus according to the present invention, dummy data having a random data amount with a random value generated by the dummy data generation unit before and after the recording control unit records the dummy data on the recording medium. The data amount determination unit acquires the data amount of dummy data already recorded on the recording medium and the total data amount of the dummy data recorded this time, and the recording control unit A configuration may be adopted in which control of recording a history of the past data amount of dummy data on the recording medium is performed using the key data generated by the key generation unit based on the acquired data amount.
In the above configuration, when the erasure process is performed, it becomes difficult to analyze the key data when encrypting the history data of the past dummy data amount. There is an effect that it becomes difficult to grasp the amount of data.
[0210]
In the recording apparatus according to the present invention, the random number generated by the dummy data generation unit may be a random data amount at a position where the recording control unit changes the reference of the data amount used when recording data. It may be configured to perform control for recording dummy data.
In the above configuration, since the amount of data to be recorded changes each time recording is performed, it is difficult to grasp the amount of data when the erased data is encrypted when erasure processing is performed. It has the effect of becoming.
[0211]
An erasing apparatus according to the present invention is an erasing apparatus for erasing data on a write-once recording medium on which data has been recorded by the recording apparatus according to the present invention. Pickup unit capable of distinguishing the recording portion, data amount determination unit for acquiring the total amount of data required for recording in addition to the data amount of data to be recorded and the amount of data to be recorded A key generation unit for generating key data for encrypting and decrypting data, an encryption / decryption processing unit for encrypting and decrypting data, and generating dummy data having a random value and a random data amount Control to record the dummy data generated by the dummy data generation unit at a position to change the reference of the data amount used to record the data and the dummy data generation unit A structure and a recording controller.
[0212]
As a result, the amount of data recorded at the time of erasure changes every time erasure is performed, so it becomes difficult to grasp the amount of data when the erased data is encrypted. There is an effect.
[0213]
An erasing apparatus according to the present invention is an erasing apparatus for erasing data on a write-once recording medium on which data has been recorded by the recording apparatus according to the present invention. Pickup unit capable of distinguishing the recording portion, data amount determination unit for acquiring the total amount of data required for recording in addition to the data amount of data to be recorded and the amount of data to be recorded A key generation unit for generating key data for encrypting and decrypting data, an encryption / decryption processing unit for encrypting and decrypting data, and a history of past data amount of the recording medium, or past A recording control unit that performs control for encrypting and recording data obtained by excluding the data amount that is the key data used to encrypt the data to be erased from the history of the data amount of the dummy data It is obtain configuration.
[0214]
As a result, after the erasure process is performed, it becomes difficult to grasp the data amount that becomes the key data used to encrypt the data to be erased. Therefore, it is possible to make it difficult to reproduce the erased data.
[0215]
The erasing apparatus according to the present invention further includes a dummy data generating unit that generates dummy data having a random value and a random data amount, and the recording control unit performs erasing in the reading order of the recording medium. It is also possible to perform control to record the dummy data generated by the dummy data generation unit immediately before the position for recording the data for this purpose.
[0216]
As a result, in addition to the effects of the above configuration, data for performing erasure at a random distance from the rear end of the area where some data has been recorded in the recording medium until the previous recording. Will be recorded. Therefore, when the erasing process is performed, it is possible to make it difficult to illegally read the erased data.
[0217]
Further, a reproducing apparatus according to the present invention is a write-once recording medium in which data is recorded by the recording apparatus according to the present invention, or a write-once recording medium from which data is erased by the erasing apparatus according to the present invention. A reproducing device for reproducing, wherein a pickup unit capable of distinguishing between a recorded portion and an unrecorded portion of the recording medium, and key data recorded on the recording medium surrounded by unrecorded portions are detected. And a key detection unit that performs the operation.
[0218]
Further, a reproducing apparatus according to the present invention is a write-once recording medium in which data is recorded by the recording apparatus according to the present invention, or a write-once recording medium from which data is erased by the erasing apparatus according to the present invention. A reproduction apparatus for reproducing, wherein the information recorded on the recording medium is received, a data amount determining unit for determining the data amount, and a key for generating key data based on the data amount determined by the data amount determining unit It is a structure provided with a production | generation part.
[0219]
Thereby, it is possible to accurately reproduce the recording medium on which the data is recorded by the recording apparatus according to the present invention or the recording medium from which the data is erased by the erasing apparatus according to the present invention. .
[Brief description of the drawings]
FIG. 1 is a block diagram showing a functional configuration in an example of a recording / erasing apparatus according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a functional configuration in an example of a playback apparatus according to an embodiment of the present invention.
FIG. 3 is a block diagram showing a functional configuration in another example of the recording / erasing apparatus according to the embodiment of the present invention;
FIG. 4 is a block diagram showing a functional configuration in another example of a playback apparatus according to an embodiment of the present invention.
FIG. 5A is a diagram showing an example of a directory / file configuration, and FIG. 5B is a diagram showing an example of recording the directory / file configuration shown in FIG. It is.
FIG. 6 is a diagram showing an example of a recording state of an optical disc before recording or erasing processing is performed by the recording / erasing apparatus according to an embodiment.
FIG. 7 is a diagram illustrating an example of a recording state of an optical disc after a recording process is performed by the recording / erasing apparatus according to an embodiment.
FIG. 8 is a diagram illustrating an example of a recording state of an optical disc after an erasing process is performed by the recording / erasing apparatus according to an embodiment.
FIG. 9 is a flowchart showing a flow of recording processing by the recording / erasing apparatus in one embodiment.
FIG. 10 is a flowchart showing a flow of an erasing process by the recording / erasing apparatus in an embodiment.
FIG. 11 is a flowchart showing a flow of reproduction processing by the reproduction apparatus in one embodiment.
FIG. 12 is a flowchart showing a flow of recording processing by the recording / erasing apparatus in another embodiment.
FIG. 13 is a flowchart showing a flow of erasing processing by the recording / erasing apparatus in another embodiment.
FIG. 14 is a flowchart showing the flow of a reproduction process performed by the reproduction apparatus according to another embodiment.
FIG. 15 is a diagram showing an example of a recording format of an optical disc used in the recording / erasing apparatus or the reproducing apparatus in one embodiment.
FIG. 16 is a diagram showing an example of a recording format of an optical disc used in the recording / erasing apparatus or the reproducing apparatus in another embodiment.
FIG. 17 is a diagram showing an example of a recording state of an optical disc before recording or erasing processing is performed by the recording / erasing apparatus according to another embodiment.
FIG. 18 is a diagram illustrating an example of a recording state of an optical disc after a recording process is performed by the recording / erasing apparatus according to another embodiment.
FIG. 19 is a diagram showing an example of a recording state of an optical disc after an erasing process is performed by the recording / erasing apparatus according to another embodiment.
[Explanation of symbols]
101, 201, 301, 401 Optical disc
102/202/302/402 Pickup section
104/204/304/404 Servo Circuit
105/305 Recording control unit
106/306 Recording position controller
107/307 Dummy data generator
108/308 Recording data switching section
109/309 Recording position data switching section
110 · 311 key generator
114/313 Data input section
112/312 File system management information management section
111 Encryption processing part
113 Key position manager
310 Encryption / Decryption Processing Unit
317 File system non-management part
205/405 Playback Control Unit
209/408 File System Management Information Management Department
211/410 Decoding processing unit
212/411 Data output section
207 Key detector
208 Playback data switching section
210 Key storage
407 Data amount judgment unit
409 Key generator
414 File system non-management part
415 Data switching unit

Claims (25)

データを追記型の記録媒体に記録する記録装置において、
データを記録する記録媒体の記録部分と未記録部分とを区別することのできるピックアップ部と、
データを暗号化するための鍵データを生成する鍵生成部と、
上記鍵データに基づいて記録すべきデータを暗号化する暗号化処理部と、
上記ピックアップ部から読み取った上記記録媒体の未記録部分に、上記暗号化処理部によって暗号化された記録すべきデータを記録する制御を行うとともに、上記鍵生成部で生成された上記鍵データを、前後に未記録部分を設けた状態で記録する制御を行う記録制御部とを備えることを特徴とする記録装置。
In a recording device for recording data on a write-once recording medium,
A pickup section capable of distinguishing between a recorded portion and an unrecorded portion of a recording medium for recording data;
A key generation unit that generates key data for encrypting the data;
An encryption processing unit for encrypting data to be recorded based on the key data;
While performing control to record the data to be recorded encrypted by the encryption processing unit on the unrecorded portion of the recording medium read from the pickup unit, the key data generated by the key generation unit, A recording apparatus comprising: a recording control unit configured to perform recording in a state where an unrecorded part is provided before and after.
上記記録制御部が、上記記録媒体の読み出し順において、記録すべきデータが記録されるべき領域の範囲の最後部から後ろ側に、上記鍵生成部で生成された上記鍵データを、データの記録順に上記記録媒体に記録する制御を行うことを特徴とする請求項1記載の記録装置。  The recording control unit records the key data generated by the key generation unit from the last part of the range of the area where the data to be recorded is recorded in the reading order of the recording medium. The recording apparatus according to claim 1, wherein the recording is sequentially controlled on the recording medium. 上記記録制御部が、上記鍵生成部で生成された上記鍵データを、上記記録媒体の読み出し順で最後部から、データの記録順に上記記録媒体に記録する制御を行うことを特徴とする請求項1記載の記録装置。  The recording control unit performs control to record the key data generated by the key generation unit from the last part in the reading order of the recording medium to the recording medium in the data recording order. The recording apparatus according to 1. 上記記録制御部が、上記記録媒体の読み出し順において、上記鍵生成部で生成された上記鍵データを、上記記録するデータの直後に記録し、次回に記録されるデータを、前回に記録された上記鍵データの後ろ側に記録する制御を行うことを特徴とする請求項1記載の記録装置。  The recording control unit records the key data generated by the key generation unit immediately after the data to be recorded in the reading order of the recording medium, and the data to be recorded next time is recorded last time. The recording apparatus according to claim 1, wherein control is performed to record behind the key data. 上記記録制御部が、上記鍵生成部で生成された上記鍵データを複数に分割し、それぞれを複数の箇所に記録する制御を行うことを特徴とする請求項1記載の記録装置。  The recording apparatus according to claim 1, wherein the recording control unit performs control to divide the key data generated by the key generation unit into a plurality of parts and record each of the key data in a plurality of locations. 上記鍵データが複数ある場合、上記記録制御部が、1つの鍵データに対して記録する区間を1つずつ設け、その区間において、ランダムな位置に、鍵データを記録する制御を行うことを特徴とする請求項1、2、または3記載の記録装置。  When there are a plurality of the key data, the recording control section provides one section for recording one key data, and performs control to record the key data at random positions in the section. The recording apparatus according to claim 1, 2, or 3. 請求項1ないし5のいずれか一項に記載の記録装置によってデータが記録された追記型の記録媒体のデータを消去する消去装置であって、
上記記録媒体の記録部分と未記録部分とを区別することができるピックアップ部と、
ランダムな値を持つダミーデータを生成するダミーデータ生成部と、
上記鍵データの前後に設けられた未記録部分に、上記ダミーデータ生成部で生成されたダミーデータを記録する制御を行う記録制御部とを備えることを特徴とする消去装置。
An erasing device for erasing data on a write-once recording medium in which data is recorded by the recording device according to claim 1,
A pickup unit capable of distinguishing a recorded portion and an unrecorded portion of the recording medium;
A dummy data generator for generating dummy data with random values;
An erasing apparatus comprising: a recording control unit that performs control to record dummy data generated by the dummy data generation unit in unrecorded portions provided before and after the key data.
請求項6記載の記録装置によってデータが記録された追記型の記録媒体のデータを消去する消去装置であって、
上記記録媒体の記録部分と未記録部分とを区別することができるピックアップ部と、
ランダムな値を持つダミーデータを生成するダミーデータ生成部と、
上記鍵データが記録されている区間内において、該鍵データの前後に設けられた未記録部分に、上記ダミーデータ生成部で生成されたダミーデータを記録する制御を行う記録制御部とを備えることを特徴とする消去装置。
An erasing device for erasing data of a write-once recording medium in which data is recorded by the recording device according to claim 6,
A pickup unit capable of distinguishing a recorded portion and an unrecorded portion of the recording medium;
A dummy data generator for generating dummy data with random values;
A recording control unit that performs control to record the dummy data generated by the dummy data generation unit in unrecorded portions provided before and after the key data in a section in which the key data is recorded; An erasing device characterized by.
データを追記型の記録媒体に記録する記録装置において、
記録すべきデータのデータ量と、記録すべきデータのデータ量以外に記録時に必要なデータ量とを取得するデータ量判断部と、
データを暗号化するための鍵データを上記データ量判断部が取得したデータ量に基づいて生成する鍵生成部と、
上記鍵生成部が生成した上記鍵データを用いて、記録すべきデータを暗号化する暗号化処理部と、
上記暗号化処理部によって暗号化されたデータを上記記録媒体に記録する制御を行う記録制御部とを備えることを特徴とする記録装置。
In a recording device for recording data on a write-once recording medium,
A data amount determination unit for acquiring a data amount of data to be recorded and a data amount necessary for recording in addition to the data amount of data to be recorded;
A key generation unit that generates key data for encrypting data based on the data amount acquired by the data amount determination unit;
An encryption processing unit that encrypts data to be recorded using the key data generated by the key generation unit;
A recording apparatus comprising: a recording control unit that performs control to record the data encrypted by the encryption processing unit on the recording medium.
ランダムな値とランダムなデータ量を持つダミーデータを生成するダミーデータ生成部をさらに備え、
上記データ量判断部が、記録するデータのデータ量と、上記ダミーデータ生成部が生成したダミーデータのデータ量との合計のデータ量を取得し、
上記鍵生成部が、上記データ量判断部によって取得された上記合計のデータ量に基づいて鍵データを生成することを特徴とする請求項9記載の記録装置。
It further includes a dummy data generation unit that generates dummy data having a random value and a random data amount,
The data amount determination unit acquires the total data amount of the data amount of data to be recorded and the data amount of dummy data generated by the dummy data generation unit,
The recording apparatus according to claim 9, wherein the key generation unit generates key data based on the total data amount acquired by the data amount determination unit.
データを追記型の記録媒体に記録する記録装置において、
データ量判断部と、
データを暗号化するための鍵データを上記データ量判断部が取得したデータ量に基づいて生成する鍵生成部と、
上記鍵生成部が生成した上記鍵データを用いて、記録すべきデータを暗号化する暗号化処理部と、
上記暗号化処理部によって暗号化されたデータを上記記録媒体に記録する制御を行う記録制御部と、
ランダムな値とランダムなデータ量を持つダミーデータを生成するダミーデータ生成部とを備え、
上記記録制御部が、上記ダミーデータ生成部が生成したダミーデータを上記記録媒体に記録する制御を行うとともに、
上記データ量判断部が、記録媒体に記録されたダミーデータのデータ量を取得し、
上記鍵生成部が、上記データ量判断部によって取得された上記ダミーデータのデータ量に基づいて鍵データを生成することを特徴とする記録装置。
In a recording apparatus for recording data on a write-once recording medium,
A data amount determination unit;
A key generation unit that generates key data for encrypting data based on the data amount acquired by the data amount determination unit;
An encryption processing unit that encrypts data to be recorded using the key data generated by the key generation unit;
A recording control unit for performing control to record the data encrypted by the encryption processing unit on the recording medium;
A dummy data generator for generating a dummy data with random values and random data amount,
The recording control unit performs control to record the dummy data generated by the dummy data generation unit on the recording medium, and
The data amount determination unit obtains the data amount of dummy data recorded on the recording medium,
The recording apparatus, wherein the key generation unit generates key data based on a data amount of the dummy data acquired by the data amount determination unit.
上記記録制御部が、上記記録媒体における過去の上記合計のデータ量の履歴を、上記鍵生成部で生成された鍵データを用いて暗号化して上記記録媒体に記録する制御を行うことを特徴とする請求項10記載の記録装置。The recording control unit performs control to encrypt the past history of the total amount of data in the recording medium using the key data generated by the key generation unit and record the encrypted data on the recording medium. The recording apparatus according to claim 10. 上記記録制御部が、上記記録媒体の読み出し順において、次回のデータを記録する位置の直前に、上記ダミーデータ生成部が生成したダミーデータを上記記録媒体に記録する制御を行うことを特徴とする請求項10記載の記録装置。  The recording control unit performs control to record the dummy data generated by the dummy data generation unit on the recording medium immediately before the next data recording position in the reading order of the recording medium. The recording apparatus according to claim 10. 上記データ量判断部が、上記記録媒体に既に記録されているデータ量と、これから記録するデータのデータ量との合計のデータ量を取得するとともに、
上記記録制御部が、この取得したデータ量に基づいて上記鍵生成部が生成した鍵データを用いて、記録すべきデータを暗号化して上記記録媒体に記録する制御を行うことを特徴とする請求項10記載の記録装置。
The data amount determination unit obtains the total data amount of the data amount already recorded on the recording medium and the data amount of data to be recorded from now on,
The recording control unit performs control to encrypt data to be recorded and record it on the recording medium using the key data generated by the key generation unit based on the acquired data amount. Item 11. The recording device according to Item 10.
上記データ量判断部が、上記記録媒体に既に記録されているダミーデータのデータ量と、今回記録したダミーデータの合計のデータ量を取得し、
上記記録制御部が、この取得したデータ量に基づいて上記鍵生成部が生成した鍵データを用いて、過去のダミーデータのデータ量の履歴を上記記録媒体に記録する制御を行うことを特徴とする請求項11記載の記録装置。
The data amount determination unit obtains the data amount of dummy data already recorded on the recording medium and the total amount of dummy data recorded this time,
The recording control unit performs control to record the history of the past data amount of dummy data on the recording medium using the key data generated by the key generation unit based on the acquired data amount. The recording apparatus according to claim 11.
上記記録制御部が、記録動作の最後に、上記ダミーデータ生成部が生成したランダムな値でランダムなデータ量を持つダミーデータを記録する制御を行うことを特徴とする請求項12記載の記録装置。13. The recording apparatus according to claim 12, wherein the recording control unit performs control to record dummy data having a random data amount with a random value generated by the dummy data generation unit at the end of the recording operation. . 請求項9、請求項10、請求項11、請求項13、および請求項14のいずれか一項に記載の記録装置によってデータが記録された追記型の記録媒体のデータを消去する消去装置であって、
データを記録する記録媒体の記録部分と未記録部分とを区別することのできるピックアップ部と、
記録すべきデータのデータ量と、記録すべきデータのデータ量以外に記録時に必要なデータ量との合計のデータ量を取得するデータ量判断部と、
データを暗号化および復号するための鍵データを生成する鍵生成部と、
データを暗号化および復号する暗号化復号化処理部と、
ランダムな値とランダムなデータ量を持つダミーデータを生成するダミーデータ生成部と、
記録動作の最後に、上記ダミーデータ生成部が生成したダミーデータを記録する制御を行う記録制御部とを備えることを特徴とする消去装置。
An erasing device for erasing data on a write-once recording medium in which data is recorded by the recording device according to any one of claims 9, 10, 11, 13, and 14. And
A pickup section capable of distinguishing between a recorded portion and an unrecorded portion of a recording medium for recording data;
A data amount determination unit that acquires a total data amount of the data amount of data to be recorded and the data amount necessary for recording in addition to the data amount of data to be recorded;
A key generation unit for generating key data for encrypting and decrypting data;
An encryption / decryption processing unit for encrypting and decrypting data;
A dummy data generation unit for generating dummy data having a random value and a random amount of data;
An erasing apparatus comprising: a recording control unit that performs control to record the dummy data generated by the dummy data generation unit at the end of the recording operation .
請求項12、請求項15、および請求項16のいずれか一項に記載の記録装置によってデータが記録された追記型の記録媒体のデータを消去する消去装置であって、
データを記録する記録媒体の記録部分と未記録部分とを区別することのできるピックアップ部と、
記録すべきデータのデータ量と、記録すべきデータのデータ量以外に記録時に必要なデータ量との合計のデータ量を取得するデータ量判断部と、
データを暗号化および復号するための鍵データを生成する鍵生成部と、
データを暗号化および復号する暗号化復号化処理部と、
上記記録媒体の過去のデータ量の履歴、または過去のダミーデータのデータ量の履歴から、消去対象のデータを暗号化するのに用いた鍵データのもとになるデータ量を除いたものを暗号化して記録する制御を行う記録制御部を備えることを特徴とする消去装置。
An erasing device for erasing data on a write-once recording medium on which data is recorded by the recording device according to any one of claims 12, 15, and 16.
A pickup section capable of distinguishing between a recorded portion and an unrecorded portion of a recording medium for recording data;
A data amount determination unit that acquires a total data amount of the data amount of data to be recorded and the data amount necessary for recording in addition to the data amount of data to be recorded;
A key generation unit for generating key data for encrypting and decrypting data;
An encryption / decryption processing unit for encrypting and decrypting data;
Encrypts the past data volume history of the above recording medium or the past dummy data volume history minus the data volume that is the key data used to encrypt the data to be erased. An erasing apparatus comprising: a recording control unit that performs recording control.
請求項1ないし6のいずれか一項に記載の記録装置によってデータが記録された追記型の記録媒体、もしくは、請求項7または8記載の消去装置によってデータが消去された追記型の記録媒体を再生する再生装置であって、  A write-once recording medium in which data is recorded by the recording device according to claim 1, or a write-once recording medium from which data is erased by the erasing device according to claim 7 or 8. A playback device for playback,
上記記録媒体の記録部分と未記録部分とを区別することができるピックアップ部と、  A pickup unit capable of distinguishing a recorded portion and an unrecorded portion of the recording medium;
上記記録媒体において、前後を未記録部分で囲まれて記録された鍵データを検出する鍵検出部とを備えることを特徴とする再生装置。  A playback apparatus comprising: a key detection unit that detects key data recorded in the recording medium surrounded by an unrecorded portion.
請求項9ないし16のいずれか一項に記載の記録装置によってデータが記録された追記型の記録媒体、もしくは、請求項17、または18記載の消去装置によってデータが消去された追記型の記録媒体を再生する再生装置であって、  A write-once recording medium in which data is recorded by the recording device according to any one of claims 9 to 16, or a write-once recording medium from which data is erased by an erasing device according to claim 17 or 18. A playback device for playing
上記記録媒体に記録されている情報を受け取り、データ量を判断するデータ量判断部と、  A data amount determination unit for receiving information recorded on the recording medium and determining a data amount;
上記データ量判断部が判断したデータ量に基づいて鍵データを生成する鍵生成部とを備えることを特徴とする再生装置。  A reproduction apparatus comprising: a key generation unit that generates key data based on the data amount determined by the data amount determination unit.
データを追記型の記録媒体に記録するデータ記録方法において、  In a data recording method for recording data on a write-once recording medium,
データを記録する記録媒体の記録部分と未記録部分とを区別するステップと、  Distinguishing a recorded portion and an unrecorded portion of a recording medium for recording data;
データを暗号化するための鍵データを生成する鍵生成ステップと、  A key generation step for generating key data for encrypting the data;
上記鍵データに基づいて記録すべきデータを暗号化する暗号化処理ステップと、  An encryption processing step for encrypting data to be recorded based on the key data;
上記記録媒体の記録部分と未記録部分とを区別するステップにおいて取得された記録媒体の未記録部分に、上記暗号化処理ステップによって暗号化された記録すべきデータを記録する制御を行うとともに、上記鍵生成ステップにおいて生成された上記鍵データを、前後に未記録部分を設けた状態で記録する制御を行う記録ステップとを有していることを特徴とするデータ記録方法。  Performing control to record the data to be recorded encrypted by the encryption processing step in the unrecorded portion of the recording medium acquired in the step of distinguishing the recorded portion and the unrecorded portion of the recording medium, and A data recording method comprising: a recording step for performing control to record the key data generated in the key generation step in a state where an unrecorded portion is provided before and after the key data.
データを追記型の記録媒体に記録するデータ記録方法において、  In a data recording method for recording data on a write-once recording medium,
データのデータ量を判断するデータ量判断処理ステップと、  A data amount determination processing step for determining the amount of data;
データを暗号化するための鍵データを、上記データ量判断処理ステップによって取得されたデータ量に基づいて生成する鍵生成ステップと、  A key generation step of generating key data for encrypting the data based on the data amount acquired by the data amount determination processing step;
上記鍵生成ステップによって生成された鍵データによってデータを暗号化処理する暗号化処理ステップと、  An encryption processing step for encrypting data with the key data generated by the key generation step;
上記暗号化処理ステップによって暗号化されたデータを、上記記録媒体に記録する記録ステップとを有していることを特徴とするデータ記録方法。  And a recording step of recording the data encrypted by the encryption processing step on the recording medium.
請求項21記載のデータ記録方法によってデータが記録された追記型の記録媒体のデータを消去する消去方法であって、  An erasing method for erasing data on a write-once recording medium on which data is recorded by the data recording method according to claim 21,
上記データを記録する記録媒体の記録部分と未記録部分とを区別するステップと、  Distinguishing a recorded portion and an unrecorded portion of the recording medium for recording the data;
ランダムな値とランダムなデータ量とを持つダミーデータを生成するダミーデータ生成ステップと、  A dummy data generation step for generating dummy data having a random value and a random amount of data;
上記鍵データの前後に設けられた未記録部分に、上記ダミーデータ生成ステップにおいて生成されたダミーデータを記録する記録ステップとを有していることを特徴とする消去方法。  And a recording step of recording the dummy data generated in the dummy data generation step in unrecorded portions provided before and after the key data.
請求項21記載のデータ記録方法によってデータが記録された追記型の記録媒体、もしくは、請求項23記載のデータ消去方法によってデータが消去された追記型の記録媒体を再生するデータ再生方法であって、  A data reproducing method for reproducing a write-once recording medium on which data is recorded by the data recording method according to claim 21 or a write-once recording medium from which data is erased by the data erasing method according to claim 23. ,
上記記録媒体の記録部分と未記録部分とを区別するステップと、  Distinguishing a recorded portion and an unrecorded portion of the recording medium;
上記記録媒体において、前後を未記録部分で囲まれて記録された鍵データを検出する鍵検出ステップとを有していることを特徴とするデータ再生方法。  A data reproducing method comprising: a key detection step of detecting key data recorded on the recording medium surrounded by an unrecorded portion before and after.
請求項21または22記載のデータ記録方法、請求項23記載のデータ消去方法、あるいは、請求項24記載のデータ再生方法をコンピュータに実行させることを特徴とするプログラム。  A program for causing a computer to execute the data recording method according to claim 21 or 22, the data erasing method according to claim 23, or the data reproducing method according to claim 24.
JP2002276167A 2002-09-20 2002-09-20 Recording device, erasing device, reproducing device, data recording method, data erasing method, data reproducing method, program, and recording medium recording the program Expired - Fee Related JP4098047B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002276167A JP4098047B2 (en) 2002-09-20 2002-09-20 Recording device, erasing device, reproducing device, data recording method, data erasing method, data reproducing method, program, and recording medium recording the program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002276167A JP4098047B2 (en) 2002-09-20 2002-09-20 Recording device, erasing device, reproducing device, data recording method, data erasing method, data reproducing method, program, and recording medium recording the program

Publications (3)

Publication Number Publication Date
JP2004111007A JP2004111007A (en) 2004-04-08
JP2004111007A5 JP2004111007A5 (en) 2005-11-04
JP4098047B2 true JP4098047B2 (en) 2008-06-11

Family

ID=32272142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002276167A Expired - Fee Related JP4098047B2 (en) 2002-09-20 2002-09-20 Recording device, erasing device, reproducing device, data recording method, data erasing method, data reproducing method, program, and recording medium recording the program

Country Status (1)

Country Link
JP (1) JP4098047B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5645725B2 (en) * 2010-04-28 2014-12-24 キヤノン株式会社 Data processing apparatus, data processing system, and control method therefor
US10042582B2 (en) 2015-08-28 2018-08-07 Panasonic Intellectual Property Management Co., Ltd. Data erasing method
US10268421B2 (en) 2015-10-02 2019-04-23 Panasonic Intellectual Property Management Co., Ltd. Information recording device and information recording method

Also Published As

Publication number Publication date
JP2004111007A (en) 2004-04-08

Similar Documents

Publication Publication Date Title
US7076662B2 (en) Data alteration checking apparatus and method and recording medium
US7167635B1 (en) System for recording audio information with image
JPH11283328A (en) Optical recording medium and information erasing method for the same and information recording and reproducing system
US20030012375A1 (en) Recording device and method, reproducing device and method, and storage medium
KR20040016968A (en) Recording apparatus, medium, method, and related computer program
JP3553847B2 (en) Content duplication system, drive device, duplication method, and computer-readable recording medium
KR20050059099A (en) Entry point for digital rights management data
JP3797104B2 (en) Digital audio signal recording device
JP2005004852A (en) Information processor and method, program, and recording medium
JP4242553B2 (en) Digital audio signal recording device
JP4098047B2 (en) Recording device, erasing device, reproducing device, data recording method, data erasing method, data reproducing method, program, and recording medium recording the program
JP4079429B2 (en) Information processing apparatus and method, program, and recording medium
US7751292B2 (en) Control device, control method, recording device and recording method for recording real-time and non-real time data on recording medium
MXPA03002726A (en) Reproducing method, reproducing apparatus, recording method, and recording apparatus.
MXPA03002725A (en) Reproducing method, reproducing apparatus, and data accesing method.
JP2002074833A (en) Method and device for checking alteration of data and recording medium
MXPA03002721A (en) Track management method and apparatus for managing tracks on a storage medium.
JPH10302397A (en) Optical disk recording device
JP2003173285A (en) Information recording method and information record reproduction device
JP4200432B2 (en) Information processing apparatus and method, program, and recording medium
JP2004171670A (en) Recording and reproducing device and recording and reproducing method
JP4281066B2 (en) Digital content data processing apparatus and program
JP2004005939A (en) Information recording medium, recorder, reproducing device, and recording and reproducing device
JP4383649B2 (en) Editing device
KR100705941B1 (en) Method for recording and reproducing a demo data, and medium thereof

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050916

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050916

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070618

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070626

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071016

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071214

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: 20080311

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080312

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110321

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120321

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees