JP6670995B2 - Information recording apparatus and information recording method - Google Patents
Information recording apparatus and information recording method Download PDFInfo
- Publication number
- JP6670995B2 JP6670995B2 JP2016141435A JP2016141435A JP6670995B2 JP 6670995 B2 JP6670995 B2 JP 6670995B2 JP 2016141435 A JP2016141435 A JP 2016141435A JP 2016141435 A JP2016141435 A JP 2016141435A JP 6670995 B2 JP6670995 B2 JP 6670995B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- write
- optical disc
- file
- size
- 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.)
- Active
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Optical Recording Or Reproduction (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Description
本開示は、追記型光ディスクに対してこれから記録しようとする対象データが記録後に追記型光ディスクから消去できるかどうかを判定して記録する情報記録装置および情報記録方法に関する。 The present disclosure relates to an information recording apparatus and an information recording method for determining whether or not target data to be recorded on a write-once optical disc can be erased from the write-once optical disc after recording.
DVD−RやBD−R等の追記型光ディスクは、一旦記録した記録マークを書き換えることができない記録媒体である。特許文献1は、追記型光ディスクに記録したデータを消去する情報記録再生装置を開示する。
A write-once optical disc such as a DVD-R or a BD-R is a recording medium on which a recording mark once recorded cannot be rewritten.
特許文献1の情報記録再生装置は、記録媒体に記録すべき記録データを加工してなる加工データと、当該加工データから前記記録データを復元するために必要な復元用データと、を生成するデータ加工手段を備える。また、情報記録再生装置は、前記記録データを、前記加工データ及び前記復元用データとして前記記録媒体上の異なる位置に別個に記録する記録手段と、前記記録データを消去する場合に、前記記録媒体に記録された前記復元用データを読み取り不能な状態とする消去手段と、を備える。この構成により、追記型記録媒体に記録されたデータを完全に読み出し不可能なように消去することを可能としている。
The information recording / reproducing apparatus disclosed in
本開示は、追記型光ディスク群に対してこれから記録しようとする対象データが記録後に追記型光ディスク群から消去できるかどうかを判定して記録する情報記録装置および情報記録方法を提供する。 The present disclosure provides an information recording apparatus and an information recording method for determining whether or not target data to be recorded on a write-once optical disc group can be erased from the write-once optical disc group after recording.
本開示の第1の態様において、追記型光ディスク群へ情報を記録する情報記録装置を開示する。追記型光ディスク群は、一つまたは複数の追記型光ディスクから構成される。情報記録装置は、追記型光ディスク群の交替領域の大きさから、追記型光ディスク群に記録された後に消去処理されたデータを消去処理する際に消費した交替領域のサイズである第1消費サイズと、追記型光ディスク群に記録はされているもののまだ消去されていないデータを消去するとした際に、消費すると推定される交替領域のサイズである第2消費サイズと、を減算することに相当する交替領域の残容量を算出する。情報記録装置は、新たなデータを追記型光ディスク群へ記録する場合に、新たなデータを前記追記型光ディスクへ記録した後消去すると仮定して、その際に消費されると推定される交替領域のサイズである第3消費サイズを算出する。情報処理装置は、交替領域の残容量と第3消費サイズとを比較し、交替領域の残容量が第3消費サイズ以上であれば、新たなデータを記録する。 In a first aspect of the present disclosure, an information recording device that records information on a write-once optical disc group is disclosed. The write-once optical disc group includes one or more write-once optical discs. The information recording apparatus determines, from the size of the spare area of the write-once optical disc group, a first consumption size that is the size of the spare area consumed when erasing data that has been erased after being recorded on the write-once optical disc group. When the data recorded on the write-once optical disc group but not yet erased is to be erased, the replacement corresponding to subtracting the second consumption size, which is the size of the replacement area estimated to be consumed, is performed. Calculate the remaining capacity of the area. When recording new data on the write-once optical disc group, the information recording apparatus assumes that the new data is erased after being recorded on the write-once optical disc, and the replacement area is assumed to be consumed at that time. The third consumption size, which is the size, is calculated. The information processing device compares the remaining capacity of the replacement area with the third consumption size, and records new data if the remaining capacity of the replacement area is equal to or larger than the third consumption size.
本開示における情報記録装置及び情報記録方法は、追記型光ディスク群に対してこれから記録しようとする対象データが記録後に消去できるかどうかを判定して記録することができる。 The information recording device and the information recording method according to the present disclosure can record on a write-once optical disc group by determining whether target data to be recorded can be erased after recording.
以下、適宜図面を参照しながら、実施の形態を詳細に説明する。但し、必要以上に詳細な説明は省略する場合がある。例えば、既によく知られた事項の詳細説明や実質的に同一の構成に対する重複説明を省略する場合がある。これは、以下の説明が不必要に冗長になるのを避け、当業者の理解を容易にするためである。 Hereinafter, embodiments will be described in detail with reference to the drawings as appropriate. However, an unnecessary detailed description may be omitted. For example, a detailed description of a well-known item or a redundant description of substantially the same configuration may be omitted. This is to prevent the following description from being unnecessarily redundant and to facilitate understanding by those skilled in the art.
なお、発明者らは、当業者が本開示を十分に理解するために添付図面および以下の説明を提供するのであって、これらによって特許請求の範囲に記載の主題を限定することを意図するものではない。 The inventors provide the accompanying drawings and the following description so that those skilled in the art can fully understand the present disclosure, and they are intended to limit the subject matter described in the claims. is not.
(実施の形態1)
[1−1.構成]
[1−1−1.情報記録装置]
図1は、本実施形態の情報記録システム100の構成を示した図である。図1において、情報記録システム100は、情報記録装置20と、ストレージ装置50とを備えている。情報記録システム100は、ネットワーク200を介してクライアント端末10に接続されている。
(Embodiment 1)
[1-1. Constitution]
[1-1-1. Information recording device]
FIG. 1 is a diagram illustrating a configuration of an
クライアント端末10は、ユーザによる操作にしたがい情報記録システム100が提供する機能やデータを利用するコンピュータである。クライアント端末10は、ユーザ操作にしたがい、情報記録システム100に対して、ストレージ装置50に対してファイル(データ)を記録するコマンドや、ストレージ装置50に記録されたファイル(データ)を読み出すコマンドを発行する。
The
情報記録装置20は、クライアント端末10から受信したコマンドにしたがいストレージ装置50を制御して、ストレージ装置50内の記録媒体(光ディスク)に対するデータの記録やデータの読み出しを行う。
The
情報記録装置20は、情報記録装置20の全体動作を制御する制御部21と、種々の情報を表示する表示部23と、ユーザ操作を受け付ける操作部24と、データやプログラムを格納するデータ記憶部22とを備える。さらに、情報記録装置20は、外部機器を接続するための通信インタフェース26と、ネットワーク200と接続するためのネットワークインタフェース25とを備える。
The
表示部23は例えば、液晶ディスプレイや有機ELディスプレイで構成される。操作部24は、キーボード、マウス、タッチパッド、タッチパネル、ボタン等のユーザが操作を行う種々の部材を含む。
The
通信インタフェース26は、情報記録装置20にストレージ装置50を接続するための回路(モジュール)である。通信インタフェース26は、SAS(Serial Attached SCSI)等の通信規格にしたがい通信を行う。
The
ネットワークインタフェース25は、無線または有線の通信回線を介して情報記録装置20をネットワーク(例えば、LAN、WAN)に接続するための回路(モジュール)である。ネットワークインタフェース25は、IEEE802.3、IEEE802.11a/11b/11g/11ac、WiFi等の通信規格に準拠した通信を行う。
The
データ記憶部22は、所定の機能を実現するために必要なパラメータ、データ及び制御プログラム等を記憶する記録媒体であり、ハードディスク(HDD)で構成される。データ記憶部22は半導体記憶装置(SSD)で構成されてもよい。データ記憶部22は、データベース(後述)を記憶するとともに、光ディスクへ記録すべきデータ及び光ディスクから読み出したデータを一時的に記憶するキャッシュ(後述)としても動作する。
The
制御部21は、CPUまたはMPUを含み、制御プログラム(ソフトウェア)を実行することで所定の機能を実現する。制御プログラムは例えば、データ記憶部22に格納される。
The
また、情報記録装置20は、DRAMやSRAM等の半導体デバイスで構成されたRAM(図示せず)を備えている。RAMはデータを一時的に記憶するとともに、制御部21の作業エリアとしても機能する。
In addition, the
ストレージ装置50は、記録媒体である光ディスク101を収納し、情報記録装置20の制御にしたがい、光ディスク101に対するデータの記録及び再生を行う装置である。ストレージ装置50は、制御部52と、チェンジャ54と、光ディスクドライブ56と、を備える。制御部52は、ストレージ装置50全体の動作を制御する。制御部52はCPUまたはMPUを含み、制御プログラム(ソフトウェア)を実行することで所定の機能を実現する。または制御部52の機能を制御部21が実現してもよい。光ディスクドライブ56は、光ディスク101に対するデータの書き込みや、光ディスク101からデータの読み出しを行う装置である。チェンジャ54は、光ディスクドライブ56に光ディスク101を装填する装置である。光ディスクは、DVD−R、BD−Rのような追記型の光ディスクである。
The
図2は、本実施形態の情報記録装置20の機能的な構成を示した図である。図2に示す情報記録装置20の各構成(機能)は、制御部21が制御プログラムを実行することで実現される。
FIG. 2 is a diagram showing a functional configuration of the
クライアント端末10は、マイクロソフト(Microsoft)社のインターネットエクスプローラ(Internet Explorer)のようなWebブラウザをGUIとしてユーザ操作を受け付ける。ユーザは、このようなGUIを介して、情報記録システム100(光ディスク101)に対するデータの記録、移動や再生の操作(指示)を行うことができる。この場合、クライアント端末10は、HTTP(Hypertext Transfer Protocol)プロトコルに基づく情報を情報記録システム100に送信する。また、クライアント端末10は、ファイルシステム(FS)アクセス用のユーザインタフェース(GUI)を使用して、情報記録システム100(光ディスク101)に対してデータの記録や消去等の指示を行うことができる。この場合、クライアント端末10は、CIFS(Common Internet File System)に基づくコマンドを情報記録装置20に送信する。
The
HTTPモジュール31は、クライアント端末10からHTTPプロトコルにしたがい送信された情報を受信する機能である。CIFSモジュール32は、クライアント端末10から受信したCIFSに基づくコマンドやデータを受信する機能である。例えば、ファイルを消去するための消去コマンドはHTTPモジュール31を介して受信され、ファイルを更新する(書き換える)ためのコマンドはCIFSモジュール32を介して受信されてもよい。
The
キャッシュ34は、光ディスク101に書き込まれる予定のデータ及び光ディスク101から読み出されたデータを一時的に記憶する手段である。キャッシュ34はデータ記憶部22により実現される。
The
仮想ファイルシステム35は、キャッシュ34に記憶されているファイル(データ)の管理を行うファイルシステムである。仮想ファイルシステム35は、クライアント端末10からの指示に基づき変更される予定であるが、未だ実際には変更されていない、光ディスク101上のファイルの状態を論理的に管理するファイルシステムである。
The
Webアプリ36は、以下に説明する情報記録装置20の主要な動作を実現する機能である。
The
UDF(Universal Disk Format)37は、光ディスク101に記録されたファイル(データ)を管理するファイルシステムである。
The UDF (Universal Disk Format) 37 is a file system that manages files (data) recorded on the
スケジューラ38は、スケジュールにしたがい、光ディスク101に対してファイルの同期処理(詳細は後述)を実行する機能である。スケジュールは例えば管理者により設定され、光ディスク101に対して、同期処理が行われる時間帯(開始時刻、終了時刻)が設定される。設定されたスケジュールにしたがい、光ディスク101に対して、仮想ファイルシステム35及びキャッシュ34に格納されたデータを光ディスク101に反映させるための同期処理が実行される。本実施形態では、スケジューラ38による同期処理においてファイルの物理消去処理も実行される。
The
データベース(DB)33は、光ディスク101に記録されたファイルの履歴に関する情報等を含むファイル情報と、履歴情報とを管理する。ファイル情報は、例えば、光ディスク101に記録されたファイルが消去される予定であるものか否かを管理する。また、ファイル情報は、光ディスク101に記録されたファイルが履歴ファイルであるか否かを管理する。ここで、履歴ファイルとは、過去に有効であったが、ファイルの更新や消去により無効にされたファイルのことである。また、ファイル情報は、光ディスク101に記録されたファイルが同期済みのファイルであるか否かを管理する。ここで、同期とは、あるファイルについて、仮想ファイルシステム35が管理する状態を光ディスク101に反映することをいう。履歴情報は、あるファイルと、そのファイルに関連する履歴ファイルとの対応関係を管理し、またそのファイルが物理消去された情報や、今後物理消去する予定を含む情報のことをいう。
The database (DB) 33 manages file information including information related to the history of files recorded on the
図3に、データベース33に格納されるファイル情報の構成例を示す。ファイル情報は、光ディスク101に記録されたファイル毎に、ファイルID、ファイル名、ファイルの格納場所を示すパス、消去フラグ及び履歴フラグを管理する。消去フラグは、そのファイルが消去すべきファイルか否かを示すフラグである。フラグの値が「0」のとき、そのファイルが消去対象でないことを示し、「1」のとき、そのファイルが消去対象であることを示し、「2」のとき、そのファイルが消去済みであることを示す。履歴フラグは、そのファイルが履歴ファイルであるか否かを示すフラグである。フラグの値が「0」のとき、そのファイルが履歴ファイルでないことを示し、「1」のとき、そのファイルが履歴ファイルであることを示す。
FIG. 3 shows a configuration example of the file information stored in the
[1−1−2 光ディスク]
図4A及び図4Bは、光ディスクの論理的な構成を示す図である。本実施の形態における光ディスク101は追記型の記録媒体である。図4Aは、本実施の形態における光ディスク101の領域を説明した図である。円盤状の光ディスク101は情報を記録再生可能な1つ以上の記録層を備えている。この記録層には、中心からスパイラル状にグルーブ(溝)が形成され、グルーブ(溝)またはランド(溝と溝の間の領域)のいずれかにトラックが形成されている。各トラックは、細かく分けられた複数のブロック403を含む。トラックのグルーブ(溝)はウォブリングさせて形成され、ウォブリングにディスク上の詳細な位置を示すアドレス情報(以下「物理アドレス」と呼ぶ)が付与されている。なお、グルーブとランドの両方にトラックを設けて情報を記録することでトラックの記録密度を向上させても良い。
[1-1-2 Optical Disk]
4A and 4B are diagrams showing a logical configuration of the optical disc. The
トラックの幅(トラックピッチ)は、例えばBlu−ray(登録商標)ディスク(BD)では0.32μmである。 The track width (track pitch) is, for example, 0.32 μm for a Blu-ray (registered trademark) disc (BD).
ブロック403はエラー訂正の単位であり、記録および再生動作が行われる最小のデータ単位である。ブロック403は、例えば、DVDの場合には32KByteとなり、BDの場合には、64KByte(=1クラスタ)となる。光ディスク101のデータ管理の最小単位であるセクタ(2KByte)で表すと、1クラスタ=32セクタとなる。なお、以下では「クラスタ」と「ブロック」は同じ意味として使用している。
The
光ディスク101はリードイン領域404とデータ領域405とリードアウト領域406とを含む。図4Bは光ディスク101の領域構造を示す図である。データ領域405は、ユーザデータが記録されるユーザデータ領域405−2と、ユーザデータ領域405−2で検出された欠陥領域の代替記録用に使用される交替領域などを備えた内部スペア領域405−1及び外部スペア領域405−3とを備える。
The
リードイン領域404とリードアウト領域406は、主に光ディスク101に対して記録再生するために必要な管理情報を記録するための領域などを備えている。リードイン領域404とリードアウト領域406は、光ヘッド103がデータ領域405の端へアクセスする場合に、光ヘッド103がオーバーランしてもトラックに追従できるようにするためのマージン領域としての機能を果たす。
The lead-in
リードイン領域404は、必要に応じて記録再生が行われる領域である。リードイン領域404は、ユーザデータ領域405−2と異なり、直接ユーザが記録再生を行うことができない領域である。リードイン領域404は、BCA(Burst Cutting Area)やドライブ領域(Drive Area)やDMA(Defect Management Area;欠陥管理領域)などの領域を含む。
The lead-in
BCAは、光ディスク101の製造段階において、特殊な装置を用いて、ディスク関連情報やディスクごとに固有の情報を含んでバーコード上に形成されるプリ記録領域であり、例えばレーザで反射膜を除去して形成される領域である。BCAには、例えば、全ての光ディスク101ごとに固有なSerial番号などの情報が格納される。
The BCA is a pre-recording area formed on a barcode including disc-related information and information unique to each disc by using a special device at the stage of manufacturing the
ドライブ領域は、情報記録システム100(ストレージ装置50)が自機の制御に必要な情報などを自由に記録しても良い領域である。 The drive area is an area in which the information recording system 100 (storage device 50) can freely record information and the like necessary for control of its own device.
管理情報領域は、光ディスク101におけるデータ領域405の領域構造に関する情報や、欠陥ブロックに関する情報、または光ディスク101の記録状態を示す情報などの管理情報を記録可能な領域である。
The management information area is an area in which management information such as information on the area structure of the
なお光ディスク101のリードイン領域404は、さらに、光ディスクドライブ56の記録パワーの調整を行うためのOPC(Optimum Power Control)領域や、トラッキング/フォーカス調整を行うためのPreWrite領域などの領域を備えてもよい。
Note that the lead-in
[1−2.動作]
以上のように構成される情報記録システム100の動作を説明する。クライアント端末10はユーザによる情報記録システム100に対するファイルの記録、再生等の操作を受け付けると、その操作を示す情報(以下「コマンド」という)を情報記録装置20に送信する。情報記録システム100の情報記録装置20はクライアント端末10からコマンドを受信する。情報記録装置20の制御部21は受信したコマンドにしたがい、ストレージ装置50に指示を行う。ストレージ装置50(制御部52)は、情報記録装置20からの指示にしたがい、光ディスク101に対してデータの記録、再生等を行う。
[1-2. motion]
The operation of the
[1−2−1.同期処理]
本実施形態の情報記録システム100は、クライアント端末からのコマンドにしたがい、記録媒体である光ディスク101に対して、新たにファイルを追加したり、ファイルの一部を書き換えたり(更新したり)、削除したりする場合、光ディスク101に対してファイルを追加等する前に、一旦キャッシュ34上にこれを記録または更新すべきデータ(ファイル)を記録する。
[1-2-1. Synchronous processing]
The
すなわち、キャッシュ34には、最初、光ディスク101に記録されている全データがロードされている。その後、クライアント端末10から受信したコマンドにしたがい、キャッシュ34上でファイルの追加、更新、削除等がなされる。このキャッシュ34上のファイルの管理は、仮想ファイルシステム35により行われる。その後に、仮想ファイルシステム35及びキャッシュ34上のデータの状態を光ディスク101に反映させる処理(「同期処理」という)を行う。同期処理によって仮想ファイルシステム35で管理するファイル(データ)の格納状態が光ディスク101に反映され、光ディスク101は、クライアント端末10からのコマンドにしたがってファイルの追加、更新、削除がなされた状態になる。
That is, the
このように、情報記録システム100では、クライアント端末10からコマンドを受信したときに、キャッシュ34上で一旦データの更新等を行った後に光ディスク101に対して同期処理を実施することにより、キャッシュ34の内容を光ディスク101に反映するようにしている。これにより、複数回のコマンドを受信した場合に、キャッシュ34上でデータを複数回更新し、その後に光ディスク101に対して1回のみ同期処理を行うことで、複数回のコマンドによる処理を光ディスク101に反映させることができる。よって、光ディスク101の光ディスクドライブ56への装填頻度を低減でき、光ディスク101に対する記録処理の効率を向上できる。
As described above, in the
[1−2−2.ファイル更新]
本実施形態では、光ディスク101は追記型の光ディスクであるため、光ディスク101に一旦記録されたデータについて、ディスク上の同じ物理位置でデータを更新したり(書き換えたり)、消去したりすることはできない。以下、情報記録システム100における光ディスク101に対するファイルの更新処理について説明する。
[1-2-2. File Update]
In the present embodiment, since the
情報記録システム100の情報記録装置20は、クライアント端末10から、ファイルの一部の内容を書き換えるための更新コマンドを受信する。更新コマンドにおいては、更新するファイルのファイル名と、更新するデータの位置と、更新するデータの長さと、更新するデータとが指定される。
The
情報記録装置20は、クライアント端末10から更新コマンドを受信すると、まず、更新コマンドにしたがいキャッシュ34上のデータを更新するとともに、仮想ファイルシステム35を更新する。
When receiving the update command from the
その後、情報記録装置20は、キャッシュ34及び仮想ファイルシステム35が管理するファイルの状態を光ディスク101に反映させるため、光ディスク101に対して同期処理を実行する。
After that, the
図5を用いて、光ディスク101のユーザデータ領域内に既に記録されているファイル(「対象ファイル」という)を更新する(書き換える)場合の、光ディスク101上での処理について具体的に説明する。
The process on the
対象ファイル61aを更新する場合、まず、更新コマンドにしたがい対象ファイル61aを更新し(書き換え)、新たなファイル(以下「更新されたファイル」という)61bを生成する。そして、更新されたファイル61bを、ユーザデータ領域における空き領域(元の対象ファイル61aが記録された領域とは異なる領域)に記録する。その際、ファイル61bの記録場所が変更されるので、光ディスク101内のファイルを管理するファイルシステムにおけるファイルエントリ(FE)情報の内容を書き換え、さらに、書き換えたファイルエントリ情報63aをユーザデータ領域内の所定の空き領域(元のファイルエントリ情報とは別の領域)に記録する。
When updating the
また、ファイル61bの更新元の対象ファイル61aについては、リネームされるとともに、その格納場所が現フォルダからゴミ箱フォルダに変更される。ここで、ゴミ箱フォルダは、消去等により論理的に無効となったファイルを格納するフォルダの一例である。すなわち、光ディスク101上では、リネームされた元の対象ファイル61aのデータはそのまま存在する。このような元の対象ファイル61aのデータは、データベース33上において「履歴ファイル」として管理される。この履歴ファイル(元の対象ファイル61a)は、ゴミ箱フォルダに格納されるように、ファイルツリー情報が変更され、変更されたファイルツリー情報63bは空き領域に記録される。この状態で、ユーザは光ディスク101内のゴミ箱フォルダを参照することで、履歴ファイル(元の対象ファイル61a)を確認することができる。
Further, the
なお、更新されたファイル61bと、それに関連する履歴ファイル(元の対象ファイル61a)との対応関係はデータベース33における履歴情報により管理されている。また、光ディスク101におけるファイルエントリ情報及びファイルツリー情報はファイルの更新にともなって複数生成されるが、最新のファイルエントリ情報及びファイルツリー情報を示す情報が管理情報(図示せず)として例えば光ディスク101におけるリードイン領域に格納されている。
The correspondence between the updated
以上のように、本実施形態の情報記録装置20によれば、ファイルの更新により、更新前のファイルが履歴ファイルに変更され、履歴ファイルはゴミ箱フォルダに格納される。
As described above, according to the
図6のフローチャートを参照して、光ディスク101に記録されたファイルの更新処理の流れを説明する。
With reference to the flowchart of FIG. 6, the flow of a process of updating a file recorded on the
情報記録装置20の制御部21は、クライアント端末10から更新コマンドを受信する(S11)と、まず、更新コマンドにしたがいファイルを更新してキャッシュ34及び仮想ファイルシステム35の更新を行う(S12−S13)。具体的には、制御部21は、更新対象として指定されたファイル(元ファイル)のファイル名をリネームし、リネームされた元ファイルがゴミ箱フォルダに格納されるように仮想ファイルシステム35を更新する(S12)。さらに、制御部21は、キャッシュ34上及び仮想ファイルシステム35で、更新コマンドにしたがい更新されたファイルを新たに追加する(S13)。
When receiving the update command from the client terminal 10 (S11), the
例えば、フォルダ「¥¥CC」に格納されているファイル名「C.sh」のファイルに対する更新コマンドを受信した場合の例を説明する。制御部21は、更新対象ファイルのファイル名「C.sh」を「C.1.sh」にリネームし、リネームされたファイル名「C.1.sh」を有する元ファイルをゴミ箱フォルダに移動する。さらに、制御部21は、コマンドにしたがい、更新対象ファイルを更新して新たなデータ(ファイル)を生成し、新たに生成したデータ(ファイル)をファイル名「C.sh」の更新後のファイルとして、キャッシュ34及び仮想ファイルシステム35に追加する。これにより、キャッシュ34上では、フォルダ「¥¥CC」内に、ファイル名「C.sh」で更新されたデータが記録され、ゴミ箱フォルダ内に、ファイル名「C.sh.1」で元のファイルが記録される。
For example, an example will be described in which an update command for a file with the file name “C.sh” stored in the folder “@CC” is received. The
その後、仮想ファイルシステム35が管理する光ディスク101の論理的な状態と、光ディスク101の実際の物理的な状態との同期(整合性)をとる同期処理が行われる。同期処理は、ユーザが任意に指定したタイミングで実行されてもよいし、仮想ファイルシステム35に対する更新に関する処理後に連続して実行されてもよいし、または、スケジューラ38機能による設定時刻になったときに実行されてもよい。
After that, a synchronization process is performed to synchronize (match) the logical state of the
同期処理において、制御部21は、仮想ファイルシステム35及びキャッシュ34で管理されるファイルの状態に基づき、光ディスク101上に更新後のファイルを記録するようにストレージ装置50に指示を出す(S14)。これにより、例えば、図5に示すように、光ディスク101上の空き領域(元の対象ファイル61aが記録されている領域とは異なる領域)に更新後のファイル61bのデータが記録される。
In the synchronization process, the
次に、制御部21は、光ディスク101上で元ファイルに対するファイルエントリ情報を変更する(S15)。具体的には、制御部21は、元ファイルについて、ファイル名をリネームするとともに、格納場所をゴミ箱フォルダに変更するようにファイルエントリ情報を変更する。変更したファイルエントリ情報は元のファイルエントリとは異なる領域に記録される。
Next, the
さらに、制御部21は、元ファイルに対するファイルツリー情報を変更する(S16)。すなわち、制御部21は、元ファイルのファイルツリー情報を、元ファイルがゴミ箱フォルダに格納されるように変更し、変更後のファイルツリー情報は、元のファイルツリー情報とは異なる領域に記録する。
Further, the
その後、制御部21は、データベース33において、元ファイルを履歴ファイルとして登録する(S17)。例えば、図3において、ファイル名「C.sh」の元ファイルが更新される場合、元ファイルは、ファイル名が「C.1.sh」に変更され、格納場所がゴミ箱フォルダ(¥¥CC¥ゴミ箱¥C.1.sh)に変更され、履歴フラグが「1」に設定されて、データベース33に登録される。
Thereafter, the
以上のようにして、更新後のファイルの実体データは新たに光ディスク101上に記録されるとともに、更新前の元ファイルは、そのファイル名が変更されゴミ箱フォルダに移動される。この状態では、ユーザは、クライアント端末10上で、仮想ファイルシステム35またはUDFを通じて、光ディスク101のゴミ箱フォルダを閲覧することで、元ファイルがゴミ箱フォルダに存在していることを確認することができる。
As described above, the entity data of the updated file is newly recorded on the
[1−2−3.ファイル消去]
本実施形態の情報記録システム100によるファイル消去について説明する。情報記録システム100の情報記録装置20は、クライアント端末10から消去コマンドを受信すると、まず、消去対象ファイルを論理的に消去する。ここで、論理的に消去するとは、仮想ファイルシステム35上で、ファイルの格納場所をゴミ箱フォルダに移動させることをいう。ファイルが論理的に消去された状態では、ファイルの実体データは光ディスク101上に有効に存在しているため、そのファイルのデータの再生(読み出し)は可能となる。
[1-2-3. File erase]
The file erasure by the
論理消去において、情報記録装置20は、仮想ファイルシステム35上で消去対象ファイルをゴミ箱フォルダに移動させるとともに、消去対象ファイル及びそれに関連する履歴ファイルに対して消去フラグを「1」に設定する(以下これを単に「消去フラグを1に設定する」という)。例えば、図7の(A)に示すようにtest−dirディレクトリ内にあるData000.binのファイルが格納されている状態で、Data000.binを消去する消去コマンドを受信した場合、図7の(B)に示すようにData000.binのファイルは論理的に消去され、ゴミ箱フォルダに移動される。この状態では、ユーザはゴミ箱フォルダを閲覧することで、Data000.binのファイルの存在及びその内容を確認することができる。
In the logical erasure, the
その後、情報記録装置20は、光ディスク101に対して同期処理を実施し、仮想ファイルシステム35で管理されるディスク状態を光ディスク101に反映させる。これにより、光ディスク101上において、消去対象ファイルはその履歴ファイルとともにゴミ箱フォルダに移動される。その後、情報記録装置20は、消去フラグが設定されているファイルに対して物理消去を行う。物理消去とは、ファイルが再生不能になるように消去対象ファイルのデータを上書きすることである。物理消去後は、ユーザはゴミ箱フォルダを閲覧することで、消去したファイルの存在は確認することができるが、消去したファイルのデータを再生する(読み出す)ことはできない。例えば、図7の(C)に示すように、Data000.binのファイルが物理消去されると、Data000.binのファイルのファイル名はゴミ箱フォルダ内において確認することができるが、データは読み取れなくなる(すなわち、実質的に消去されたことになる)。但し仮想ファイルシステム上では物理消去されたファイルの存在を確認できなくしてもよい。物理消去されたファイル及びそれに関連する物理消去された履歴ファイルに対して消去フラグを「2」に設定する(以下これを単に「消去フラグを2に設定する」という)。
After that, the
図8は、上述したファイルの消去処理の流れを示すフローチャートである。図8のフローチャートを参照して、情報記録装置20の消去処理についてより具体的に説明する。
FIG. 8 is a flowchart showing the flow of the above-described file erasing process. The erasing process of the
情報記録装置20の制御部21は、クライアント端末10から、消去対象ファイルが指定された消去コマンドを受信すると(S31)、仮想ファイルシステム35上で消去対象ファイルを論理的に消去する(S32)。具体的には、仮想ファイルシステム35上で、消去対象ファイルを、現在消去対象ファイルが格納されているフォルダからゴミ箱フォルダへ移動させる。
When the
次に、制御部21は、データベース33のファイル情報上で、消去対象ファイルの消去フラグを設定する(すなわち、消去フラグの値を「1(消去対象)」に設定する)(S33)。さらに、消去対象ファイルの履歴フラグを設定する(すなわち、履歴フラグの値を「1(履歴ファイル)」)に設定する(S33)。
Next, the
さらに、制御部21は、データベース33の履歴情報を参照して、消去対象ファイルに関連する履歴ファイルを検索する(S34)。少なくとも1つの履歴ファイルが検索されたときは(S35でYES)、制御部21は、データベース33のファイル情報において、検索された履歴ファイルに対して消去フラグを設定する(S36)。
Further, the
以上のように、消去コマンド受信時において、消去対象ファイルは、仮想ファイルシステム35上、ゴミ箱フォルダに移動されるとともに、消去フラグと履歴フラグが設定される。さらに、消去対象ファイルに関連した履歴ファイルに対しても消去フラグが「1」に設定される。この状態では、仮想ファイルシステム35上で論理的に消去されているのみである。その後、制御部21は、物理消去を実行する(S37)。
As described above, upon receiving the erase command, the file to be erased is moved to the trash folder on the
図9のフローチャートを参照して、情報記録装置20による物理消去の動作について説明する。物理消去は、ユーザの指示により任意のタイミングまたは事前に設定されたスケジュール等に基づいて実行される。
The operation of the physical erasure by the
情報記録装置20の制御部21は、ストレージ装置50の制御部52に対して、仮想ファイルシステム35に基づいて光ディスク101上でファイルエントリ情報の変更を指示する(S51)。さらに、情報記録装置20の制御部21は、ストレージ装置50の制御部52に対して、仮想ファイルシステム35に基づいて光ディスク101上でファイルツリー情報の変更を指示する(S52)。すなわち、情報記録装置20の制御部21は、ストレージ装置50の制御部52に対して、消去対象ファイルの格納場所がゴミ箱フォルダとなるようにファイルツリー情報の変更を指示する。
The
ストレージ装置50の制御部52は、情報記録装置20の制御部21からの指示に基づき、ファイルエントリ情報及びファイルツリー情報を変更する。このとき、ストレージ装置50の制御部52は、図10Aに示すように、光ディスク101において、変更後のファイルエントリ情報63a及び変更後のファイルツリー情報63bを、元のファイルエントリ情報及び元のファイルツリー情報が格納されている領域とは別の領域に記録する。このとき、消去対象ファイルの実体データ自体は変更されない。
The
その後、情報記録装置20の制御部21は、データベース33のファイル情報を参照して、消去フラグが「1」に設定されているファイルについて物理的に消去するように、ストレージ装置50の制御部52に対して指示を行う(S53)。ストレージ装置50の制御部52は、この指示を受けて、光ディスク101においてファイルの物理消去を行う。
Then, the
物理消去は、消去すべきファイルを再生不能な状態にすることにより実現される。例えば、消去すべきファイルのデータの少なくとも一部を所定の消去パターンで上書きすることによって、そのファイルを再生不能にする。すなわち、消去すべきファイルの実体データ、同期データ、誤り訂正用データの少なくともいずれかを所定の消去パターンで上書きすることにより、消去すべきファイルを再生不能にする。上書きは、例えば、図11に示すように、光ディスク101の記録層において、消去すべきファイルのデータを構成する記録マークをより長い記録マークに変形させることにより行う。記録マークを変形することにより、以後、ファイルの読み出しが不可能になり、実質的にファイルが消去されたことになる。
Physical erasure is realized by making a file to be erased unplayable. For example, by overwriting at least a part of data of a file to be erased with a predetermined erasing pattern, the file is made unplayable. That is, the file to be deleted is made unreproducible by overwriting at least one of the entity data, the synchronization data, and the error correction data of the file to be deleted with a predetermined deletion pattern. For example, as shown in FIG. 11, the overwriting is performed by transforming the recording marks constituting the data of the file to be erased into longer recording marks in the recording layer of the
以上のように、消去フラグが「1」に設定されているファイルについて物理消去が実施された後、消去フラグが「2」に設定される。これ以後、物理消去が実施されたファイルに対しては読み出しが不可能になる。この物理消去のタイミングは、ユーザが任意に指定したタイミングで実行されてもよいし、予めスケジュールされたタイミングで実施されてもよいし、同期処理が実施されるときに合わせて実施されてもよい。 As described above, after physical erasure is performed on a file for which the erasure flag is set to “1”, the erasure flag is set to “2”. After this, it becomes impossible to read the file on which the physical erasure has been performed. The timing of the physical erasure may be performed at a timing arbitrarily specified by the user, may be performed at a timing scheduled in advance, or may be performed at the same time as the synchronization process is performed. .
以下、図12を参照して、予めスケジュールされたタイミングで実行される同期処理において物理消去が実行される場合の処理を説明する。 Hereinafter, with reference to FIG. 12, a description will be given of a process in a case where physical erasure is performed in a synchronization process performed at a previously scheduled timing.
制御部21は、スケジューラ38の機能により、現在時刻が同期処理を開始する時刻に達したか否かを判断する(S61)。現在の時刻が同期処理の開始時刻に達したと判断すると(S61)、制御部21は同期処理を開始する。
The
まず、制御部21は、ストレージ装置50に対して、光ディスク101がオンライン状態にあるか(すなわち、光ディスク101が光ディスクドライブ56に装填されているか)否かを確認する(S62)。光ディスク101がオンライン状態にない場合は、制御部21は、光ディスク101を光ディスクドライブ56に装填するようにストレージ装置50に対して指示を行う(S65)。
First, the
その後、制御部21は、仮想ファイルシステム35及びキャッシュ34にしたがい光ディスク101に同期処理を実行する(S63)。同期処理において、制御部21は、仮想ファイルシステム35が管理するデータの状態が光ディスク101に反映されるように、光ディスク101上で、ファイル(実体データ)やファイルエントリ情報、ファイルツリー情報等の追加、変更等が行われる。例えば、更新されたファイルについては、図5に示すように、光ディスク101上で、更新後のファイルのデータが新たに記録されるとともに、更新前の元ファイルがリネームされてゴミ箱フォルダに格納されるようにファイルエントリ情報及びファイルツリー情報が変更されて新たに記録される。また、消去対象ファイルについては、図10Aに示すように、光ディスク101上で、消去対象ファイルがゴミ箱フォルダに格納されるようにファイルエントリ情報63a及びファイルツリー情報63bが変更される。
Thereafter, the
前述のように、ファイルの消去に関しては、同期処理が実行され、仮想ファイルシステム35の内容を反映させただけでは、消去対象ファイルは論理的に消去されただけである。すなわち、消去対象ファイルは、光ディスク101上での管理上、ゴミ箱フォルダに移動されただけである。
As described above, regarding the erasure of a file, a synchronization process is executed, and only by reflecting the contents of the
制御部21は、同期処理が終了後、データベース33のファイル情報を参照して、消去フラグが「1」に設定されているファイルを検索し、検索したファイルを物理消去するように、ストレージ装置50に対して指示を行う(S64)。ストレージ装置50の制御部52は、情報記録装置20の制御部21からの指示にしたがい、指示を受けたファイルについて光ディスク101上で物理消去を行い消去フラグが「2」に設定される。物理消去されたファイルは読み出しが不可能になる(図10B参照)。
After the completion of the synchronization processing, the
[1−2−4.ファイル記録]
図13及び図14を参照して、情報記録装置20のデータ記録方法の例としてファイル記録方法について説明する。
[1-2-4. File Record]
With reference to FIGS. 13 and 14, a file recording method will be described as an example of a data recording method of the
制御部21は、仮想ファイルシステム35に新たなデータが記録される際、データベース33のファイル情報を参照して、空き交替領域のサイズ(交替領域の空き容量)がこれから記録しようとする対象データを記録した後に消去するとしたときに交替記録により消費すると推定されるサイズ以上であるか否か判断する(図13のS73)。すなわち、制御部21は、まず、消去済みサイズ(図14の(A)のサイズ)と、第1消去予定サイズ(図14の(B)のサイズ)と、第2消去予定サイズ(図14の(C)のサイズ)を算出する。消去済みサイズ(図14の(A)のサイズ)は、光ディスク101からデータを消去した際に交替記録により消費した消去済みサイズである。第1消去予定サイズ(図14の(B)のサイズ)は、光ディスク101からデータを消去する予定である消去フラグ「1」のデータを消去する際に交替記録により消費すると推定されるサイズである。第2消去予定サイズ(図14の(C)のサイズ)は、光ディスク101に記録済みであって未消去かつ消去する予定のない消去フラグ「0」のデータを消去する際に交替記録により消費すると推定されるサイズである。次に、制御部21は、これらを交替領域のサイズ(図14の(S)のサイズ)から減算した空き交替領域のサイズ(図14においてS−(A+B+C)のサイズ)を算出する。次に、制御部21は、空き交替領域のサイズ(図14においてS−(A+B+C)のサイズ)が、消去予定サイズ(図14の(P)のサイズ)であるか否か判断する。消去予定サイズ(図14の(P)のサイズ)は、これから記録しようとする対象データを光ディスク101に記録した後に消去するとしたときに交替記録により消費すると推定されるサイズである。
When new data is recorded in the
空き交替領域のサイズ(図14においてS−(A+B+C)のサイズ)が、これから記録しようとする対象データを光ディスク101に記録した後に消去するとしたときに交替記録により消費すると推定される消去予定サイズ(図14の(P)のサイズ)以上であれば(S73のY)、制御部21は、対象データを仮想ファイルシステムに移動する(S74)。そうでなければ(S73のN)、制御部21は、空き交代領域のサイズが不足している事をユーザに通知する(S75)。
The size of the vacant spare area (the size of S− (A + B + C) in FIG. 14) is estimated to be consumed by replacement recording when the target data to be recorded is to be erased after being recorded on the optical disk 101 ( If the size is equal to or larger than ((P) size in FIG. 14) (Y in S73), the
以上のように記録前に物理消去の可否を交替領域の空き状況を基に判定するので、これから記録するデータが後で確実に物理消去できるかどうか判定して記録できる。 As described above, whether or not physical erasure is possible is determined based on the availability of the spare area before recording, so that it can be determined whether data to be recorded from now on can be surely physically erased later and recorded.
本実施の形態では、すでに追記型光ディスク上に記録され消去されたデータについて、データ消去時に消費した交替領域の大きさを第1消費サイズとする。この場合、第1消費サイズは上記で説明した第1消去予定サイズとなる。 In the present embodiment, the size of the spare area consumed at the time of data erasure is set as the first consumption size for data already recorded and erased on the write-once optical disc. In this case, the first consumption size is the first planned erase size described above.
追記型光ディスク上にすでに記録され、まだ消去されていないデータについて、追記型光ディスクからデータを消去することを仮定する。この消去処理により消費される交替領域の大きさを第2消費サイズとする。この場合、第2消費サイズは、上記で説明した第2消去予定サイズと第3消去予定サイズの合計となる。 It is assumed that data that has already been recorded on a write-once optical disc and has not been erased is to be erased from the write-once optical disc. The size of the replacement area consumed by this erasing process is defined as a second consumption size. In this case, the second consumption size is the sum of the second planned erase size and the third planned erase size described above.
そして、追記型光ディスクへ新たなデータを記録する。この場合、新たなデータが追記型光ディスクに一度記録され、記録後に追記型光ディスクから当該データが消去されると仮定する。その場合に、この新たなデータを消去するために消費される交替領域の大きさを第3消費サイズとする。 Then, new data is recorded on the write-once optical disc. In this case, it is assumed that new data is once recorded on the write-once optical disc, and the data is erased from the write-once optical disc after recording. In this case, the size of the replacement area consumed for erasing the new data is defined as a third consumption size.
以上より、追記型光ディスクに新たなデータが記録・消去されるためには、交替領域のサイズから、第1消費サイズ及び第2消費サイズを減算し、その減算結果が第3消費サイズ以上の大きさであれば、新たなデータが追記型光ディスクに記録された後に、消去することができる。 As described above, in order for new data to be recorded / erased on the write-once optical disc, the first consumption size and the second consumption size are subtracted from the size of the replacement area, and the result of the subtraction is larger than the third consumption size. Then, after new data is recorded on the write-once optical disc, it can be erased.
なお、本実施の形態の情報記録装置が図2で示したように、キャッシュ34や仮想ファイルシステム35を備えていない場合には、情報記録装置は新たなデータを直接追記型光ディスクへ記録することとなる。
When the information recording apparatus of the present embodiment does not include the
反対に、情報記録装置がキャッシュ34や仮想ファイルシステム35を備えている場合には、上記の説明にさらに考慮すべき点がある。
On the other hand, when the information recording device includes the
追記型光ディスクの前段にキャッシュ34や仮想ファイルシステム35が設けられていると、キャッシュ34や仮想ファイルシステム35上には存在するが、まだ追記型光ディスクに記録されていない他のデータが存在する可能性がある。他のデータが追記型光ディスクへ記録された後に消去されたと仮定する。こられの他のデータの消去処理により消費される交替領域の大きさを第4消費サイズとする。
If the
追記型光ディスクへ新たなデータを記録する場合には、交替領域のサイズから第1消費サイズと第2消費サイズと第4消費サイズとを減算し、その減算結果が第3消費サイズ以上の大きさであれば、新たなデータをキャッシュ34や仮想ファイルシステム35に記録する。
When recording new data on a write-once optical disc, the first consumption size, the second consumption size, and the fourth consumption size are subtracted from the size of the spare area, and the result of the subtraction is a size equal to or greater than the third consumption size. If so, new data is recorded in the
その後、キャッシュ34や仮想ファイルシステム35の内容に基づいて追記型光ディスクへデータを記録する。
After that, data is recorded on the write-once optical disc based on the contents of the
なお、キャッシュ34や仮想ファイルシステム35に記録され、追記型光ディスクへデータが記録される前にキャッシュ34や仮想ファイルシステム35から消去されたデータについては、上記の第4消費サイズの算出対象に含めない。
Note that data recorded in the
また、上記の説明では、単一の追記型光ディスクを用いた場合を例として説明した。しかし、本実施の形態で説明する発明の内容はこれに限定されない。上記の追記型光ディスクを、一つまたは複数の追記型光ディスクで構成される追記型光ディスク群に置き換えても、本実施の形態で説明する発明を同様に実施できる。 In the above description, the case where a single write-once optical disc is used has been described as an example. However, the content of the invention described in this embodiment is not limited to this. The invention described in the present embodiment can be similarly implemented even if the above-mentioned write-once optical disc is replaced with a write-once optical disc group including one or more write-once optical discs.
また、上記の説明では交替領域から所定の消費サイズを減算することを例として説明したが、本実施の形態の内容はこれに限定されない。交替領域のサイズから第1消費サイズ、第2消費サイズ等を減算した値を適宜更新する物であっても良い。この場合には、この更新値から第3消費サイズや、第4消費サイズを減算することで上記の説明と同等の減算結果を得ることが可能となる。 Further, in the above description, the case where a predetermined consumption size is subtracted from the replacement area has been described as an example, but the contents of the present embodiment are not limited to this. A value obtained by subtracting the first consumption size, the second consumption size, and the like from the size of the replacement area may be appropriately updated. In this case, by subtracting the third consumption size or the fourth consumption size from the updated value, it is possible to obtain a subtraction result equivalent to that described above.
以下では、上記で説明した第1消去予定サイズ(図14の(B)のサイズ)、第2消去予定サイズ(図14の(C)のサイズ)及び消去予定サイズ(図14の(P)のサイズ)の見積りに用いる、対象データを消去する際に消費する交替領域のサイズの見積り処理について、図16を参照して説明する。また、この見積りの前提となる、光ディスクRAIDシステムにおける対象データを消去する際の処理の概要を、図15を参照して説明する。 In the following, the first planned erase size (the size of (B) in FIG. 14), the second planned erase size (the size of (C) in FIG. 14), and the planned erase size (the (P) of FIG. 14) described above. The process of estimating the size of the replacement area consumed when erasing the target data, which is used for estimating the size, will be described with reference to FIG. An outline of a process for erasing target data in the optical disk RAID system, which is a premise of this estimation, will be described with reference to FIG.
図15に、光ディスクRAIDシステムの例として、追記型の光ディスク701、702、703、704を使用したRAID5のシステム構成を示す。追記型光ディスク上にはセクタが配置されている。セクタは、RAIDシステムを構成する追記型光ディスクのデータ管理の最小単位である。例えば光ディスク701にはアドレスD10、D11、D12、D13のセクタが配置されている。RAIDシステムとしてはアドレスA1〜A12が割り当てられている。アドレスP1、P2、P3、P4は対応するストライプの他のアドレスに含まれているデータの信頼性を確保するための誤り訂正情報であるパリティを保存するためのセクタである。RAIDシステムには、ストライプが配置されている。ストライプは、冗長性を確保するための単位である。例えば、光ディスク701のアドレスD10、光ディスク702のアドレスD20、光ディスク703のアドレスD30、光ディスク704のアドレスD40のセクタでストライプ801を構成する。図15の例では、ファイル1がセクタ群901に、ファイル2がセクタ群902に記録されている。
FIG. 15 shows a RAID5 system configuration using write-once
つまり本実施の形態で説明するRAIDシステムは、複数の追記型光ディスクにより構成される追記型光ディスク群である。 That is, the RAID system described in the present embodiment is a write-once optical disc group including a plurality of write-once optical discs.
RAIDシステムよりファイル2を読み出す場合、RAIDシステムのアドレスA2、A3、A4、A5、A6のセクタ内容を読み出せばよい。これは光ディスク701のアドレスD11、光ディスク702のアドレスD20、D21、光ディスク703のアドレスD30、光ディスク704のアドレスD41を読み出すことに相当する。ここで、アドレスA6が再生できない場合、RAIDシステムは、アドレスA6の属するストライプであるストライプ802内のアドレスA4、A5、およびパリティP2の内容から、アドレスA6の内容を復元して再生する。すなわち、一つの光ディスクから読み出しが不可能でも、RAIDシステムとしては読み出しが可能となる冗長性を確保している。
When reading the
ファイル2を消去する場合は、全ての光ディスクについて、ファイル2が少なくとも一部でも記録されているセクタを全て上書きする。図15の例では、ファイル2が保存されているアドレスA2〜A6のセクタを上書きする。また、ファイル2を消去する場合は、ファイル2が含まれる全てのストライプの全てのパリティを含むセクタを上書きする。図15の例では、ストライプ801のアドレスP1のセクタ及びストライプ802のアドレスP2のセクタを上書きする。また、ファイル2が含まれるストライプに他のファイルが含まれる場合は、そのストライプのセクタのうち、上書きしたセクタの全てを交替記録する。図15の例では、ストライプ801には、ファイル2に加えてファイル2以外のファイルであるファイル1が含まれている。そこで、ストライプ801のセクタのうち、上書きしたアドレスA2、A3、P1のセクタを交替記録する。具体的には、ストライプ801のセクタのうち、ファイル2が含まれていたアドレスA2、A3のセクタを光ディスク702のアドレスD2S0、D3S0に交替記録する。このとき、アドレスA2のセクタについては、ファイル2の記録されていた部分は全て00Hのデータに置き換えて交替記録し、ファイル1の記録されていた部分は元のファイル1のデータを交替記録する。また、ストライプ801のセクタのうち、アドレスP1のパリティを含むセクタを光ディスク702のアドレスD4S0に交替記録する。このとき、交替記録したセクタのデータでパリティを再計算して交替記録する。このように、ファイル2を消去する場合、ファイル2及びファイル2以外が含まれるストライプ801のうち、ファイル2を含むセクタ(アドレスA2、A3のセクタ)のサイズとパリティを含むセクタ(アドレスP1のセクタ)のサイズを交替記録し、これらの合計サイズと同じサイズの交替領域を消費する。
When erasing
図15の構成例及び図16に示すフローチャートを参照して、対象データを消去する際に消費する交替領域のサイズXの見積り処理を説明する。まず、対象データおよび対象データ以外のデータの両方が含まれる全てのストライプを特定する(S81)。例えば、図15の構成で対象データをファイル2とした場合は、これに該当するストライプは、ストライプ801である。次に、S81で特定した全てのストライプの対象データを含むセクタのサイズの合計X1を求める(S82)。例えば、図15の構成で対象データをファイル2とした場合は、X1は、アドレスA2、A3の2セクタ分のサイズである。また、S81で特定した全てのストライプのパリティを含むセクタのサイズの合計X2を求める(S83)。例えば、図15の構成で対象データをファイル2とした場合は、X2は、アドレスP1の1セクタ分のサイズである。そして、消費する交替領域のサイズXは、X=X1+X2として見積もることができる(S84)。例えば、図15の構成で対象データをファイル2とした場合は、Xは、3セクタ分のサイズである。
With reference to the configuration example of FIG. 15 and the flowchart shown in FIG. 16, a process of estimating the size X of the replacement area consumed when erasing the target data will be described. First, all stripes including both the target data and the data other than the target data are specified (S81). For example, when the target data is
より具体的には、情報記録装置20の制御部21は、消去済みサイズを、例えば、消去履歴から算出する。
More specifically, the
情報記録装置20の制御部21は、消去フラグ「1」のデータを対象データとして、図16に示すフローにより、第1消去予定サイズ(図14の(B)のサイズ)を見積もる。すなわち、制御部21は、光ディスク701、702、703、704から消去する予定であるデータ及び光ディスク701、702、703、704から消去する予定であるデータ以外のデータの両方が含まれる全てのストライプを特定する。そして、制御部21は、第1消去予定サイズを、特定した全てのストライプの、光ディスク701、702、703、704から消去する予定であるデータを含むデータ管理の最小単位であるセクタの合計サイズ及びパリティを含むデータ管理の最小単位であるセクタの合計サイズを加算することで算出する。
The
情報記録装置20の制御部21は、消去フラグ「0」のデータを対象データとして、図16に示すフローにより、第2消去予定サイズ(図14の(C)のサイズ)を見積もる。すなわち、制御部21は、光ディスク701、702、703、704に記録済みであって未消去かつ消去する予定のないデータ及び光ディスク701、702、703、704に記録済みであって未消去かつ消去する予定のないデータ以外のデータの両方が含まれる全てのストライプを特定する。そして、制御部21は、前記第2消去予定サイズを、特定した全てのストライプの、光ディスク701、702、703、704に記録済みであって未消去かつ消去する予定のないデータを含むデータ管理の最小単位であるセクタの合計サイズ及びパリティを含むデータ管理の最小単位であるセクタの合計サイズを加算することで算出する。
The
情報記録装置20の制御部21は、既知の交替領域のサイズ(図14の(S)のサイズ)から、既知の消去済みサイズ(図14の(A)のサイズ)と、これらのサイズを減算することにより、空き交替領域のサイズ(図14においてS−(A+B+C)のサイズ)を求める。
The
また、情報記録装置20の制御部21は、これから記録しようとするデータを光ディスク701、702、703、704に記録した場合のデータを対象データとして、図16に示すフローにより、消去予定サイズ(図14の(P)のサイズ)を見積もる。すなわち、制御部21は、これから記録しようとする対象データを光ディスク701、702、703、704に記録した場合のデータ及びこれから記録しようとする対象データを光ディスク701、702、703、704に記録した場合のデータ以外のデータの両方が含まれる全てのストライプを特定する。そして、制御部21は、消去予定サイズ(図14の(P)のサイズ)を、特定した全てのストライプの、これから記録しようとする対象データを光ディスク701、702、703、704に記録した場合のデータを含むデータ管理の最小単位であるセクタの合計サイズ及びパリティを含むデータ管理の最小単位であるセクタの合計サイズを加算することで算出する。
In addition, the
そして、情報記録装置20の制御部21は、これらの見積りに基づいて、これから記録しようとするデータの記録前に物理消去の可否を交替領域の空き状況を基に判定するので、これから記録しようとするデータが後で確実に物理消去できるかどうか判定して記録できる(図13のS73、図14参照)。
Then, the
情報記録装置がキャッシュ34や仮想ファイルシステム35を備えている場合には、第4消費サイズも考慮すべきである。第4消費サイズの見積りも、第1消去予定サイズ(図14の(B)のサイズ)、第2消去予定サイズ(図14の(C)のサイズ)及び消去予定サイズ(図14の(P)のサイズ)の見積りと同様に行うことができる。
When the information recording device includes the
[1−3.効果等]
以上のように本実施形態の情報記録装置は、追記型光ディスク群へ情報を記録する情報記録装置である。追記型光ディスク群は一つまたは複数の追記型光ディスクから構成される。制御部は、新たなデータを記録する場合に、追記型光ディスク群の交替領域のサイズから、第1消費サイズと、第2消費サイズとを減算することに相当する交替領域の残量を算出する。交替領域の残量と第3消費サイズとを比較して、残量が第3消費サイズ以上であれば、新たなデータを情報記録装置は記録する。
[1-3. Effects]
As described above, the information recording apparatus of the present embodiment is an information recording apparatus that records information on a write-once optical disc group. The write-once optical disc group includes one or more write-once optical discs. When recording new data, the control unit calculates the remaining amount of the spare area corresponding to subtracting the first consumption size and the second consumption size from the size of the spare area of the write-once optical disc group. . The information recording apparatus records the remaining data in the replacement area and the third consumption size. If the remaining capacity is equal to or larger than the third consumption size, the information recording apparatus records new data.
なお、情報記録装置は、キャッシュや仮想ファイルシステムなどの記憶部がない場合には、新たなデータを追記型光ディスク群へ直接記録する。 If there is no storage unit such as a cache or a virtual file system, the information recording device directly records new data on a write-once optical disc group.
反対に、情報記録装置がキャッシュや仮想ファイルシステムなどの記憶部を備えている場合には、追記型光ディスク群の交替領域のサイズから第1消費サイズ、第2消費サイズ、第4消費サイズを減算することに相当する交替領域の残量を算出する。この残量と第3消費サイズとを比較して、残量が第3消費サイズ以上であれば、情報記録装置は新たなデータを記憶部に記録する。その後、記憶部のデータを追記型光ディスク群へ反映する。 Conversely, when the information recording device includes a storage unit such as a cache or a virtual file system, the first consumption size, the second consumption size, and the fourth consumption size are subtracted from the size of the spare area of the write-once optical disc group. Then, the remaining amount of the replacement area corresponding to the operation is calculated. The remaining amount is compared with the third consumption size. If the remaining amount is equal to or larger than the third consumption size, the information recording device records new data in the storage unit. After that, the data in the storage unit is reflected on the write-once optical disc group.
本実施の形態で説明した発明であれば、追記型光ディスク群へデータを記録する際に、そのデータを追記型光ディスク群へ記録後実際に消去することが可能か否かを判断することができる。そのため、データを追記型光ディスク群へ記録後に消去できないという課題の発生を抑制することができる。 According to the invention described in the present embodiment, when data is recorded on a write-once optical disc group, it can be determined whether or not the data can be actually erased after recording on the write-once optical disc group. . Therefore, it is possible to suppress the occurrence of the problem that data cannot be erased after recording on the write-once optical disc group.
さらに、本実施の形態で説明した発明であれば、情報記録装置にキャッシュ等の記憶部がある場合、ない場合いずれのケースにも適切に対応することができる。 Furthermore, according to the invention described in the present embodiment, it is possible to appropriately cope with any case where the information recording device has a storage unit such as a cache or not.
(他の実施の形態)
以上のように、本出願において開示する技術の例示として、実施の形態1を説明した。しかしながら、本開示における技術は、これに限定されず、適宜、変更、置き換え、付加、省略などを行った実施の形態にも適用可能である。また、上記実施の形態1で説明した各構成要素を組み合わせて、新たな実施の形態とすることも可能である。
(Other embodiments)
As described above,
そこで、以下、他の実施の形態を例示する。 Therefore, other embodiments will be exemplified below.
上記実施の形態では、制御部21及び52は、ソフトウェアと協働して所定の機能を実現するCPUまたはMPUであるとして説明した。しかし、制御部21及び52は、所定の機能を実現するように設計された専用の電子回路で実現してもよい。すなわち、制御部21及び52は、CPU、MPU、DSP、FPGA、ASIC等で実現することができる。
In the above embodiment, the
上記実施の形態の図1では、説明の簡単化のため、1枚の光ディスク101のみを備えたストレージ装置50を説明したが、ストレージ装置50は複数枚の光ディスクを収納し、チェンジャ54により光ディスクドライブ56に装填する光ディスクを切り替えるようにしても良い。
In FIG. 1 of the above embodiment, the
上記実施の形態では、情報記録装置で本発明を実施した場合を例として説明したが、本実施の形態で説明する発明はこれに限定されない。装置を用いた情報記録方法として実現することも可能である。その場合には、制御部等21及び52等が行う処理を各ステップとして構成ステップとすることで実現できる。
In the above embodiment, the case where the present invention is implemented in the information recording apparatus has been described as an example, but the invention described in the present embodiment is not limited to this. It can also be realized as an information recording method using a device. In this case, the processing performed by the
以上のように、本開示における技術の例示として、実施の形態を説明した。そのために、添付図面および詳細な説明を提供した。 As described above, the embodiments have been described as examples of the technology in the present disclosure. For that purpose, the accompanying drawings and the detailed description have been provided.
したがって、添付図面および詳細な説明に記載された構成要素の中には、課題解決のために必須な構成要素だけでなく、上記技術を例示するために、課題解決のためには必須でない構成要素も含まれ得る。そのため、それらの必須ではない構成要素が添付図面や詳細な説明に記載されていることをもって、直ちに、それらの必須ではない構成要素が必須であるとの認定をするべきではない。 Accordingly, among the components described in the accompanying drawings and the detailed description, not only those components that are essential for solving the problem, but also those that are not essential for solving the problem in order to exemplify the technology. May also be included. Therefore, it should not be immediately recognized that these non-essential components are essential based on the fact that the non-essential components are described in the accompanying drawings and the detailed description.
また、上述の実施の形態は、本開示における技術を例示するためのものであるから、特許請求の範囲またはその均等の範囲において種々の変更、置き換え、付加、省略などを行うことができる。 Further, since the above-described embodiments are for exemplifying the technology in the present disclosure, various changes, replacements, additions, omissions, and the like can be made within the scope of the claims or the equivalents thereof.
本開示によれば、追記型光ディスクに対してデータを記録する情報記録装置および情報記録方法に適用可能である。 According to the present disclosure, it is applicable to an information recording device and an information recording method for recording data on a write-once optical disc.
10 クライアント端末
20 情報記録装置
21 情報記録装置の制御部
22 データ記憶部
33 データベース
34 キャッシュ
35 仮想ファイルシステム
50 ストレージ装置
52 ストレージ装置の制御部
54 チェンジャ
56 光ディスクドライブ
100 情報記録システム
101,701,702,703,704 光ディスク
200 ネットワーク
Claims (9)
前記追記型光ディスク群は、複数の追記型光ディスクにより構成され、
前記複数の追記型光ディスクは、それぞれ、データが記録されるユーザデータ領域と、前記ユーザデータ領域で検出された欠陥領域の代替記録用に使用される交替領域を構成し、
前記情報記録装置は、前記追記型光ディスク群に対するデータの記録及び消去を制御する制御部、を備え、
前記制御部は、新たなデータを記録する場合、前記追記型光ディスク群の交替領域のサイズから、
前記追記型光ディスク群へ記録されていたデータを消去した際に消費された前記交替領域のサイズである第1消費サイズと、
前記追記型光ディスク群へ記録されているデータを消去する際に消費されると推定される前記交替領域のサイズである第2消費サイズと、
を減算することに相当する前記交替領域の残量を算出し、前記残量が、前記新たなデータを前記追記型光ディスク群に記録した後に消去する際に消費されると推定される前記交替領域のサイズである第3消費サイズ以上であれば、前記新たなデータを記録する、
情報記録装置。 An information recording apparatus for recording information on a write-once optical disc group,
The write-once optical disc group includes a plurality of write-once optical discs,
The plurality of write-once optical discs each constitute a user data area in which data is recorded, and a spare area used for replacement recording of a defective area detected in the user data area,
The information recording device includes a control unit that controls recording and erasure of data on the write-once optical disc group,
The control unit, when recording new data, from the size of the replacement area of the write-once optical disc group,
A first consumer size which is the size of the spare area which is consumed in the erasing data recorded to the recordable optical disc group,
A second consumer size which is the size of the spare area which is estimated to be consumed when erasing the data recorded to the recordable optical disc group,
Calculating a remaining amount of the spare area corresponding to the subtracting, the replacement area in which the remaining amount is estimated to be consumed when erasing the new data after recording the write-once optical disc group If the size is equal to or larger than the third consumption size, the new data is recorded.
Information recording device.
前記制御部は、前記新たなデータを記録する場合、前記追記型光ディスク群の交替領域のサイズから、前記第1消費サイズと、前記第2消費サイズと、
前記記憶部に一時的に格納されていて、前記追記型光ディスク群へまだ記録されていないデータを前記追記型光ディスク群へ記録した後消去するとした際に消費されると推定される交替領域のサイズである第4消費サイズと、
を減算することに相当する前記交替領域の残量を算出し、前記残量が前記第3消費サイズ以上であれば、前記新たなデータを前記記憶部へ一時的に格納し、
前記記憶部のデータにしたがって、前記追記型光ディスク群へデータを記録する、
請求項1に記載の情報記録装置。 Further, a storage unit for temporarily storing data recorded on the write-once optical disc group and data recorded on the write-once optical disc group,
The control unit, when recording the new data, from the size of the replacement area of the write-once optical disc group, the first consumption size, the second consumption size,
The size of a spare area that is temporarily stored in the storage unit and is estimated to be consumed when data that has not yet been recorded on the write-once optical disc group is erased after being recorded on the write-once optical disc group. A fourth consumption size,
Is calculated, and if the remaining amount is equal to or larger than the third consumption size, the new data is temporarily stored in the storage unit.
According to the data of the storage unit, record data on the write-once optical disc group,
The information recording device according to claim 1.
請求項2に記載の情報記録装置。 The control unit, before recording data on the write-once optical disc group, removes the data deleted from the storage unit from the calculation target of the fourth consumption size,
The information recording device according to claim 2.
請求項1に記載の情報記録装置。 If the remaining amount of the spare area is equal to or larger than the third consumption size, the control unit directly records the new data on the write-once optical disc group.
The information recording device according to claim 1.
前記制御部は、前記追記型光ディスク群を前記複数の追記型光ディスクに跨がったストライプを単位として管理し、前記ストライプへデータと当該データの誤り訂正情報とを記録し、前記追記型光ディスク群を仮想的な一つの記録媒体として制御し、
さらに、前記制御部は、前記追記型光ディスク群に記録されていてすでに消去されたデータと他のデータとの両データが記録されたストライプに基づいて前記第1消費サイズを算出する、
請求項2に記載の情報記録装置。 The write-once optical disc group is composed of a plurality of write-once optical discs,
The control unit manages the write-once optical disc group as a stripe extending over the plurality of write-once optical discs, records data and error correction information of the data on the stripe, and writes the write-once optical disc group. Is controlled as one virtual recording medium,
Furthermore, the control unit calculates the first consumption size based on a stripe recorded on the write-once optical disc group and both data of already erased data and other data are recorded,
The information recording device according to claim 2.
前記制御部は、前記ストライプの内、前記ストライプの誤り訂正情報が記録されたセクタのサイズと、前記追記型光ディスク群に記録されていてすでに消去されたデータと他のデータの両者が記録されているセクタのサイズと、に基づいて前記第1消費サイズを算出する、
請求項5に記載の情報記録装置。 The stripe is configured in units of sectors dispersed on a plurality of write-once optical disks,
The control unit is configured to record, among the stripes, a size of a sector in which the error correction information of the stripe is recorded, and both data already erased and already recorded on the write-once optical disc group and other data are recorded. Calculating the first consumption size based on the size of the sector that is located,
The information recording device according to claim 5.
請求項5に記載の情報記録装置。 When erasing data recorded on the write-once optical disc group, the control unit estimates the second consumption size based on a stripe on which both the data to be erased and other data are recorded. Do
The information recording device according to claim 5.
請求項5に記載の情報記録装置。 The control unit, when erasing data to be newly recorded on the write-once optical disc group from the write-once optical disc group, based on the stripe on which both the data and other data are recorded. 3 Estimate consumption size,
The information recording device according to claim 5.
前記追記型光ディスク群は、複数の追記型光ディスクであり、
前記複数の追記型光ディスクは、それぞれデータが記録されるユーザデータ領域と、前記ユーザデータ領域で検出された欠陥領域の代替記録用に使用される代替領域を構成し、
前記追記型光ディスク群に記録されているデータを消去した場合に消費された前記追記型光ディスク群の交替領域のサイズである第1消費サイズを算出するステップと、
前記追記型光ディスク群に記録されているデータを消去するとした場合に推定される前記交替領域の消費サイズである第2消費サイズを算出するステップと、
新たなデータを前記追記型光ディスク群に記録するとした場合に、前記新たなデータを前記追記型光ディスク群から消去する際に推定される前記交替領域の消費サイズである第3消費サイズを算出するステップと、
前記交替領域のサイズから前記第1消費サイズ及び第2消費サイズを減算することに相当する前記交替領域の残量を算出するステップと、
前記第3消費サイズが前記残量以上の場合に、前記新たなデータを記録するステップと、
を備える情報記録方法。 An information recording method for recording information on a write-once optical disc group,
The write-once optical disc group is a plurality of write-once optical discs,
The plurality of write-once optical discs each constitute a user data area in which data is recorded, and a substitute area used for substitute recording of a defective area detected in the user data area,
Calculating a first consumption size, which is the size of a replacement area of the write-once optical disc group consumed when data recorded on the write-once optical disc group is erased;
Calculating a second consumption size that is an estimated consumption size of the replacement area when erasing data recorded on the write-once optical disc group;
Calculating a third consumption size, which is a consumption size of the replacement area estimated when erasing the new data from the write-once optical disc group when new data is to be recorded on the write-once optical disc group; When,
Calculating the remaining amount of the replacement area corresponding to subtracting the first consumption size and the second consumption size from the size of the replacement area;
Recording the new data when the third consumption size is greater than or equal to the remaining amount;
An information recording method comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/277,804 US10268421B2 (en) | 2015-10-02 | 2016-09-27 | Information recording device and information recording method |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015196339 | 2015-10-02 | ||
| JP2015196339 | 2015-10-02 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2017068890A JP2017068890A (en) | 2017-04-06 |
| JP6670995B2 true JP6670995B2 (en) | 2020-03-25 |
Family
ID=58492648
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016141435A Active JP6670995B2 (en) | 2015-10-02 | 2016-07-19 | Information recording apparatus and information recording method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6670995B2 (en) |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040160799A1 (en) * | 2003-02-17 | 2004-08-19 | Park Yong Cheol | Write-once optical disc, and method and apparatus for allocating spare area on write-once optical disc |
| JP4269942B2 (en) * | 2004-01-09 | 2009-05-27 | 株式会社日立製作所 | Recording medium, recording apparatus, and reproducing apparatus |
| JP4379276B2 (en) * | 2004-08-16 | 2009-12-09 | ソニー株式会社 | Recording method, recording apparatus, reproducing method, reproducing apparatus, and recording medium |
| JP2007087062A (en) * | 2005-09-21 | 2007-04-05 | Canon Inc | Array type storage device |
| JP5999356B2 (en) * | 2011-01-12 | 2016-09-28 | パナソニックIpマネジメント株式会社 | Optical disk array device |
| WO2013038618A1 (en) * | 2011-09-14 | 2013-03-21 | パナソニック株式会社 | Information storage media library array device, information recording method and information recording program |
| JP5999603B2 (en) * | 2012-03-29 | 2016-09-28 | パナソニックIpマネジメント株式会社 | Information processing apparatus, information processing method, and information storage medium |
-
2016
- 2016-07-19 JP JP2016141435A patent/JP6670995B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2017068890A (en) | 2017-04-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9368130B2 (en) | Data storage system, method of writing to storage in the data storage system, hard disk and method of forming the hard disk | |
| KR101369813B1 (en) | Accessing, compressing, and tracking media stored in an optical disc storage system | |
| JP2008015623A (en) | Storage system control device having multiple types of storage devices | |
| JP2010204970A (en) | Storage system | |
| KR101066807B1 (en) | Data recording / playback for write-once discs | |
| US10268421B2 (en) | Information recording device and information recording method | |
| US20170031960A1 (en) | Information recording device and data erasing method | |
| JP6171616B2 (en) | Storage control device and storage control program | |
| US8688938B2 (en) | Data copying | |
| CN1860547B (en) | Recording device, reproducing device, recording method, reproducing method and operating method | |
| JP6670995B2 (en) | Information recording apparatus and information recording method | |
| KR100997474B1 (en) | Recording Method of Magnetic Disk Device and Magnetic Disk Device | |
| JP2012068891A (en) | Hierarchical storage system and data archive method | |
| CN1957416B (en) | Recording device, host device, drive device, recording method, reproducing device, reproducing method | |
| JP2017033621A (en) | Information recording apparatus and data erasing method | |
| JP6883740B2 (en) | Information recording device and data erasure method | |
| US10042582B2 (en) | Data erasing method | |
| CN102063273B (en) | Hard disk management method and device | |
| JP5526824B2 (en) | Storage system | |
| US20170153840A1 (en) | Data Updating in a File System | |
| TWI387962B (en) | System and method for removable mass storage device and computer readable medium for storing information | |
| JP2008198102A (en) | Data processing system, data storage device, hard disk device, and data management method in data storage device | |
| JP6600818B2 (en) | Data erasure method | |
| JPWO2008056593A1 (en) | Recording device | |
| JP2014071917A (en) | File recording apparatus, fill system management method, file restoration method, and changer drive |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20190118 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190530 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20191121 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20191203 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20191227 |
|
| 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: 20200114 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200127 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 6670995 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |