Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6670995B2 - Information recording apparatus and information recording method - Google Patents
[go: Go Back, main page]

JP6670995B2 - Information recording apparatus and information recording method - Google Patents

Information recording apparatus and information recording method Download PDF

Info

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
Application number
JP2016141435A
Other languages
Japanese (ja)
Other versions
JP2017068890A (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.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to US15/277,804 priority Critical patent/US10268421B2/en
Publication of JP2017068890A publication Critical patent/JP2017068890A/en
Application granted granted Critical
Publication of JP6670995B2 publication Critical patent/JP6670995B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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. Patent Document 1 discloses an information recording / reproducing apparatus for erasing data recorded on a write-once optical disc.

特許文献1の情報記録再生装置は、記録媒体に記録すべき記録データを加工してなる加工データと、当該加工データから前記記録データを復元するために必要な復元用データと、を生成するデータ加工手段を備える。また、情報記録再生装置は、前記記録データを、前記加工データ及び前記復元用データとして前記記録媒体上の異なる位置に別個に記録する記録手段と、前記記録データを消去する場合に、前記記録媒体に記録された前記復元用データを読み取り不能な状態とする消去手段と、を備える。この構成により、追記型記録媒体に記録されたデータを完全に読み出し不可能なように消去することを可能としている。   The information recording / reproducing apparatus disclosed in Patent Document 1 generates processed data obtained by processing recording data to be recorded on a recording medium, and data for generating restoration data necessary for restoring the recording data from the processed data. It has processing means. The information recording / reproducing apparatus may further include a recording unit that separately records the recording data as the processed data and the restoration data at different positions on the recording medium, and a recording medium that erases the recording data. And an erasing means for making the restoration data recorded in the storage device unreadable. With this configuration, it is possible to erase data recorded on the write-once recording medium so that the data cannot be completely read.

特開2005−038490号公報JP-A-2005-038490

本開示は、追記型光ディスク群に対してこれから記録しようとする対象データが記録後に追記型光ディスク群から消去できるかどうかを判定して記録する情報記録装置および情報記録方法を提供する。   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.

本実施形態の情報記録装置のハードウェア構成図Hardware configuration diagram of the information recording device of the present embodiment 本実施形態の情報記録装置の機能的な構成図Functional configuration diagram of the information recording device of the present embodiment データベースにおけるファイル情報のデータ構造を説明した図Diagram explaining the data structure of file information in the database 光ディスクの論理的な構成を示す図Diagram showing logical configuration of optical disk 光ディスクの論理的な構成を示す図Diagram showing logical configuration of optical disk ファイルの更新時のディスク上での状態の変化を説明した図Diagram illustrating changes in status on disk when file is updated ファイルの更新処理を示すフローチャートFlow chart showing file update processing ファイル消去に伴うディレクトリ構成の変化を説明した図Diagram illustrating changes in directory structure due to file deletion ファイルの消去処理を示すフローチャートFlowchart showing file deletion processing ファイルの物理消去処理を示すフローチャートFlowchart showing file physical erasure processing ファイル消去時のディスク上での状態の変化を説明した図Diagram illustrating changes in status on disk when file is erased ファイル消去時のディスク上での状態の変化を説明した図Diagram illustrating changes in status on disk when file is erased 追記型光ディスクの記録層におけるデータの物理消去を説明した図Diagram illustrating physical erasure of data in the recording layer of a write-once optical disc スケジュールされた同期処理とそれに付随して実施される物理消去処理を示すフローチャートFlowchart showing a scheduled synchronization process and a physical erasure process performed along with the synchronization process 仮想ファイルシステムにおける対象データの記録処理を示すフローチャートFlowchart showing recording processing of target data in the virtual file system 対象データを物理消去可能かどうかの判断基準を説明した図Diagram explaining the criteria for determining whether the target data can be physically erased 光ディスクRAIDシステムにおいて対象データを消去する際の処理の概要を説明する図FIG. 3 is a diagram for explaining an outline of processing when erasing target data in an optical disk RAID system 対象データを消去する際に消費する交替領域のサイズの見積り処理を示すフローチャートFlowchart showing a process for estimating the size of a replacement area consumed when erasing target data

以下、適宜図面を参照しながら、実施の形態を詳細に説明する。但し、必要以上に詳細な説明は省略する場合がある。例えば、既によく知られた事項の詳細説明や実質的に同一の構成に対する重複説明を省略する場合がある。これは、以下の説明が不必要に冗長になるのを避け、当業者の理解を容易にするためである。   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 information recording system 100 according to the present embodiment. 1, the information recording system 100 includes an information recording device 20 and a storage device 50. The information recording system 100 is connected to the client terminal 10 via a network 200.

クライアント端末10は、ユーザによる操作にしたがい情報記録システム100が提供する機能やデータを利用するコンピュータである。クライアント端末10は、ユーザ操作にしたがい、情報記録システム100に対して、ストレージ装置50に対してファイル(データ)を記録するコマンドや、ストレージ装置50に記録されたファイル(データ)を読み出すコマンドを発行する。   The client terminal 10 is a computer that uses functions and data provided by the information recording system 100 according to a user operation. The client terminal 10 issues a command for recording a file (data) to the storage device 50 and a command for reading a file (data) recorded in the storage device 50 to the information recording system 100 according to a user operation. I do.

情報記録装置20は、クライアント端末10から受信したコマンドにしたがいストレージ装置50を制御して、ストレージ装置50内の記録媒体(光ディスク)に対するデータの記録やデータの読み出しを行う。   The information recording device 20 controls the storage device 50 in accordance with a command received from the client terminal 10 to record data on a recording medium (optical disk) in the storage device 50 and read data.

情報記録装置20は、情報記録装置20の全体動作を制御する制御部21と、種々の情報を表示する表示部23と、ユーザ操作を受け付ける操作部24と、データやプログラムを格納するデータ記憶部22とを備える。さらに、情報記録装置20は、外部機器を接続するための通信インタフェース26と、ネットワーク200と接続するためのネットワークインタフェース25とを備える。   The information recording device 20 includes a control unit 21 that controls the overall operation of the information recording device 20, a display unit 23 that displays various information, an operation unit 24 that receives a user operation, and a data storage unit that stores data and programs. 22. Further, the information recording device 20 includes a communication interface 26 for connecting an external device and a network interface 25 for connecting to the network 200.

表示部23は例えば、液晶ディスプレイや有機ELディスプレイで構成される。操作部24は、キーボード、マウス、タッチパッド、タッチパネル、ボタン等のユーザが操作を行う種々の部材を含む。   The display unit 23 includes, for example, a liquid crystal display or an organic EL display. The operation unit 24 includes various members operated by the user, such as a keyboard, a mouse, a touch pad, a touch panel, and buttons.

通信インタフェース26は、情報記録装置20にストレージ装置50を接続するための回路(モジュール)である。通信インタフェース26は、SAS(Serial Attached SCSI)等の通信規格にしたがい通信を行う。   The communication interface 26 is a circuit (module) for connecting the storage device 50 to the information recording device 20. The communication interface 26 performs communication according to a communication standard such as SAS (Serial Attached SCSI).

ネットワークインタフェース25は、無線または有線の通信回線を介して情報記録装置20をネットワーク(例えば、LAN、WAN)に接続するための回路(モジュール)である。ネットワークインタフェース25は、IEEE802.3、IEEE802.11a/11b/11g/11ac、WiFi等の通信規格に準拠した通信を行う。   The network interface 25 is a circuit (module) for connecting the information recording device 20 to a network (for example, LAN or WAN) via a wireless or wired communication line. The network interface 25 performs communication conforming to communication standards such as IEEE802.3, IEEE802.11a / 11b / 11g / 11ac, and WiFi.

データ記憶部22は、所定の機能を実現するために必要なパラメータ、データ及び制御プログラム等を記憶する記録媒体であり、ハードディスク(HDD)で構成される。データ記憶部22は半導体記憶装置(SSD)で構成されてもよい。データ記憶部22は、データベース(後述)を記憶するとともに、光ディスクへ記録すべきデータ及び光ディスクから読み出したデータを一時的に記憶するキャッシュ(後述)としても動作する。   The data storage unit 22 is a recording medium that stores parameters, data, control programs, and the like necessary to realize a predetermined function, and is configured by a hard disk (HDD). The data storage unit 22 may be configured by a semiconductor storage device (SSD). The data storage unit 22 stores a database (described later) and also operates as a cache (described later) that temporarily stores data to be recorded on the optical disc and data read from the optical disc.

制御部21は、CPUまたはMPUを含み、制御プログラム(ソフトウェア)を実行することで所定の機能を実現する。制御プログラムは例えば、データ記憶部22に格納される。   The control unit 21 includes a CPU or an MPU, and realizes a predetermined function by executing a control program (software). The control program is stored in the data storage unit 22, for example.

また、情報記録装置20は、DRAMやSRAM等の半導体デバイスで構成されたRAM(図示せず)を備えている。RAMはデータを一時的に記憶するとともに、制御部21の作業エリアとしても機能する。   In addition, the information recording device 20 includes a RAM (not shown) configured by a semiconductor device such as a DRAM or an SRAM. The RAM temporarily stores data and also functions as a work area for the control unit 21.

ストレージ装置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 storage device 50 is a device that stores an optical disk 101 as a recording medium and records and reproduces data on and from the optical disk 101 under the control of the information recording device 20. The storage device 50 includes a control unit 52, a changer 54, and an optical disk drive 56. The control unit 52 controls the operation of the entire storage device 50. The control unit 52 includes a CPU or an MPU, and realizes a predetermined function by executing a control program (software). Alternatively, the function of the control unit 52 may be realized by the control unit 21. The optical disk drive 56 is a device that writes data to the optical disk 101 and reads data from the optical disk 101. The changer 54 is a device for loading the optical disk 101 into the optical disk drive 56. The optical disc is a write-once optical disc such as a DVD-R or a BD-R.

図2は、本実施形態の情報記録装置20の機能的な構成を示した図である。図2に示す情報記録装置20の各構成(機能)は、制御部21が制御プログラムを実行することで実現される。   FIG. 2 is a diagram showing a functional configuration of the information recording device 20 of the present embodiment. Each configuration (function) of the information recording device 20 illustrated in FIG. 2 is realized by the control unit 21 executing a control program.

クライアント端末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 client terminal 10 receives a user operation using a Web browser such as Internet Explorer (Microsoft) as a GUI. The user can perform operations (instructions) for recording, moving, and reproducing data on the information recording system 100 (optical disc 101) via such a GUI. In this case, the client terminal 10 transmits information based on the HTTP (Hypertext Transfer Protocol) to the information recording system 100. In addition, the client terminal 10 can instruct the information recording system 100 (optical disc 101) to record or delete data using a file system (FS) access user interface (GUI). In this case, the client terminal 10 transmits a command based on CIFS (Common Internet File System) to the information recording device 20.

HTTPモジュール31は、クライアント端末10からHTTPプロトコルにしたがい送信された情報を受信する機能である。CIFSモジュール32は、クライアント端末10から受信したCIFSに基づくコマンドやデータを受信する機能である。例えば、ファイルを消去するための消去コマンドはHTTPモジュール31を介して受信され、ファイルを更新する(書き換える)ためのコマンドはCIFSモジュール32を介して受信されてもよい。   The HTTP module 31 has a function of receiving information transmitted from the client terminal 10 according to the HTTP protocol. The CIFS module 32 has a function of receiving a command or data based on the CIFS received from the client terminal 10. For example, a delete command for deleting a file may be received via the HTTP module 31, and a command for updating (rewriting) the file may be received via the CIFS module 32.

キャッシュ34は、光ディスク101に書き込まれる予定のデータ及び光ディスク101から読み出されたデータを一時的に記憶する手段である。キャッシュ34はデータ記憶部22により実現される。   The cache 34 is means for temporarily storing data to be written to the optical disk 101 and data read from the optical disk 101. The cache 34 is realized by the data storage unit 22.

仮想ファイルシステム35は、キャッシュ34に記憶されているファイル(データ)の管理を行うファイルシステムである。仮想ファイルシステム35は、クライアント端末10からの指示に基づき変更される予定であるが、未だ実際には変更されていない、光ディスク101上のファイルの状態を論理的に管理するファイルシステムである。   The virtual file system 35 is a file system that manages files (data) stored in the cache 34. The virtual file system 35 is a file system that is scheduled to be changed based on an instruction from the client terminal 10, but is not actually changed, and logically manages the state of a file on the optical disk 101.

Webアプリ36は、以下に説明する情報記録装置20の主要な動作を実現する機能である。   The Web application 36 is a function that implements main operations of the information recording device 20 described below.

UDF(Universal Disk Format)37は、光ディスク101に記録されたファイル(データ)を管理するファイルシステムである。   The UDF (Universal Disk Format) 37 is a file system that manages files (data) recorded on the optical disc 101.

スケジューラ38は、スケジュールにしたがい、光ディスク101に対してファイルの同期処理(詳細は後述)を実行する機能である。スケジュールは例えば管理者により設定され、光ディスク101に対して、同期処理が行われる時間帯(開始時刻、終了時刻)が設定される。設定されたスケジュールにしたがい、光ディスク101に対して、仮想ファイルシステム35及びキャッシュ34に格納されたデータを光ディスク101に反映させるための同期処理が実行される。本実施形態では、スケジューラ38による同期処理においてファイルの物理消去処理も実行される。   The scheduler 38 has a function of executing file synchronization processing (details will be described later) on the optical disc 101 according to a schedule. The schedule is set by, for example, an administrator, and a time zone (start time and end time) in which the synchronization process is performed on the optical disc 101 is set. According to the set schedule, a synchronization process is performed on the optical disc 101 to reflect the data stored in the virtual file system 35 and the cache 34 on the optical disc 101. In the present embodiment, a file physical erasure process is also executed in the synchronization process by the scheduler 38.

データベース(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 optical disc 101, and history information. The file information manages, for example, whether or not a file recorded on the optical disc 101 is to be deleted. The file information manages whether or not the file recorded on the optical disc 101 is a history file. Here, the history file is a file that was valid in the past but has been invalidated by updating or deleting the file. The file information manages whether or not the file recorded on the optical disk 101 is a synchronized file. Here, the term “synchronization” means that the state managed by the virtual file system 35 for a certain file is reflected on the optical disc 101. The history information manages the correspondence between a certain file and a history file related to the file, and refers to information that the file has been physically erased and information that includes a plan to physically erase the file in the future.

図3に、データベース33に格納されるファイル情報の構成例を示す。ファイル情報は、光ディスク101に記録されたファイル毎に、ファイルID、ファイル名、ファイルの格納場所を示すパス、消去フラグ及び履歴フラグを管理する。消去フラグは、そのファイルが消去すべきファイルか否かを示すフラグである。フラグの値が「0」のとき、そのファイルが消去対象でないことを示し、「1」のとき、そのファイルが消去対象であることを示し、「2」のとき、そのファイルが消去済みであることを示す。履歴フラグは、そのファイルが履歴ファイルであるか否かを示すフラグである。フラグの値が「0」のとき、そのファイルが履歴ファイルでないことを示し、「1」のとき、そのファイルが履歴ファイルであることを示す。   FIG. 3 shows a configuration example of the file information stored in the database 33. The file information manages, for each file recorded on the optical disc 101, a file ID, a file name, a path indicating a file storage location, an erasure flag, and a history flag. The deletion flag is a flag indicating whether the file is a file to be deleted. When the value of the flag is “0”, it indicates that the file is not to be deleted, when “1”, it indicates that the file is to be deleted, and when “2”, the file has been deleted. Indicates that The history flag is a flag indicating whether or not the file is a history file. When the value of the flag is "0", it indicates that the file is not a history file, and when it is "1", it indicates that the file is a history file.

[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 optical disc 101 in the present embodiment is a write-once recording medium. FIG. 4A is a diagram illustrating an area of the optical disc 101 according to the present embodiment. The disc-shaped optical disc 101 has one or more recording layers on which information can be recorded and reproduced. In this recording layer, a groove (groove) is formed spirally from the center, and a track is formed in either the groove (groove) or the land (region between the grooves). Each track includes a plurality of subdivided blocks 403. Grooves (grooves) of tracks are formed by wobbling, and the wobbling is provided with address information (hereinafter referred to as “physical address”) indicating a detailed position on the disk. The recording density of the track may be improved by providing the track on both the groove and the land and recording the information.

トラックの幅(トラックピッチ)は、例えば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 block 403 is a unit of error correction, and is a minimum data unit in which recording and reproduction operations are performed. The block 403 is, for example, 32 KB for a DVD and 64 KB (= 1 cluster) for a BD. When expressed in sectors (2 Kbytes), which is the minimum unit of data management of the optical disc 101, one cluster = 32 sectors. In the following, “cluster” and “block” are used interchangeably.

光ディスク101はリードイン領域404とデータ領域405とリードアウト領域406とを含む。図4Bは光ディスク101の領域構造を示す図である。データ領域405は、ユーザデータが記録されるユーザデータ領域405−2と、ユーザデータ領域405−2で検出された欠陥領域の代替記録用に使用される交替領域などを備えた内部スペア領域405−1及び外部スペア領域405−3とを備える。   The optical disc 101 includes a lead-in area 404, a data area 405, and a lead-out area 406. FIG. 4B is a diagram showing an area structure of the optical disc 101. The data area 405 includes a user data area 405-2 in which user data is recorded, and an internal spare area 405 having a spare area used for replacement recording of a defective area detected in the user data area 405-2. 1 and an external spare area 405-3.

リードイン領域404とリードアウト領域406は、主に光ディスク101に対して記録再生するために必要な管理情報を記録するための領域などを備えている。リードイン領域404とリードアウト領域406は、光ヘッド103がデータ領域405の端へアクセスする場合に、光ヘッド103がオーバーランしてもトラックに追従できるようにするためのマージン領域としての機能を果たす。   The lead-in area 404 and the lead-out area 406 mainly include an area for recording management information necessary for recording and reproducing on the optical disc 101. The lead-in area 404 and the lead-out area 406 function as margin areas for enabling the optical head 103 to follow a track even when the optical head 103 overruns when accessing the end of the data area 405. Fulfill.

リードイン領域404は、必要に応じて記録再生が行われる領域である。リードイン領域404は、ユーザデータ領域405−2と異なり、直接ユーザが記録再生を行うことができない領域である。リードイン領域404は、BCA(Burst Cutting Area)やドライブ領域(Drive Area)やDMA(Defect Management Area;欠陥管理領域)などの領域を含む。   The lead-in area 404 is an area where recording and reproduction are performed as needed. The lead-in area 404, unlike the user data area 405-2, is an area in which the user cannot directly record and reproduce. The lead-in area 404 includes areas such as a BCA (Burst Cutting Area), a drive area (Drive Area), and a DMA (Defective Management Area; defect management area).

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 optical disc 101. For example, the reflection film is removed by laser. This is an area formed by In the BCA, for example, information such as a serial number unique to every optical disk 101 is stored.

ドライブ領域は、情報記録システム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 data area 405 on the optical disc 101, information on defective blocks, or information indicating the recording state of the optical disc 101 can be recorded.

なお光ディスク101のリードイン領域404は、さらに、光ディスクドライブ56の記録パワーの調整を行うためのOPC(Optimum Power Control)領域や、トラッキング/フォーカス調整を行うためのPreWrite領域などの領域を備えてもよい。   Note that the lead-in area 404 of the optical disk 101 may further include an area such as an OPC (Optimum Power Control) area for adjusting the recording power of the optical disk drive 56 and a PreWrite area for performing tracking / focus adjustment. Good.

[1−2.動作]
以上のように構成される情報記録システム100の動作を説明する。クライアント端末10はユーザによる情報記録システム100に対するファイルの記録、再生等の操作を受け付けると、その操作を示す情報(以下「コマンド」という)を情報記録装置20に送信する。情報記録システム100の情報記録装置20はクライアント端末10からコマンドを受信する。情報記録装置20の制御部21は受信したコマンドにしたがい、ストレージ装置50に指示を行う。ストレージ装置50(制御部52)は、情報記録装置20からの指示にしたがい、光ディスク101に対してデータの記録、再生等を行う。
[1-2. motion]
The operation of the information recording system 100 configured as described above will be described. When the client terminal 10 receives a user operation such as recording or reproducing a file on the information recording system 100, the client terminal 10 transmits information indicating the operation (hereinafter referred to as “command”) to the information recording device 20. The information recording device 20 of the information recording system 100 receives a command from the client terminal 10. The control unit 21 of the information recording device 20 instructs the storage device 50 according to the received command. The storage device 50 (control unit 52) records and reproduces data on the optical disc 101 in accordance with an instruction from the information recording device 20.

[1−2−1.同期処理]
本実施形態の情報記録システム100は、クライアント端末からのコマンドにしたがい、記録媒体である光ディスク101に対して、新たにファイルを追加したり、ファイルの一部を書き換えたり(更新したり)、削除したりする場合、光ディスク101に対してファイルを追加等する前に、一旦キャッシュ34上にこれを記録または更新すべきデータ(ファイル)を記録する。
[1-2-1. Synchronous processing]
The information recording system 100 according to the present embodiment adds a new file, rewrites (updates) a part of a file, or deletes a file on the optical disc 101 as a recording medium according to a command from a client terminal. In this case, before adding a file to the optical disc 101, data (file) to be recorded or updated is temporarily recorded in the cache 34.

すなわち、キャッシュ34には、最初、光ディスク101に記録されている全データがロードされている。その後、クライアント端末10から受信したコマンドにしたがい、キャッシュ34上でファイルの追加、更新、削除等がなされる。このキャッシュ34上のファイルの管理は、仮想ファイルシステム35により行われる。その後に、仮想ファイルシステム35及びキャッシュ34上のデータの状態を光ディスク101に反映させる処理(「同期処理」という)を行う。同期処理によって仮想ファイルシステム35で管理するファイル(データ)の格納状態が光ディスク101に反映され、光ディスク101は、クライアント端末10からのコマンドにしたがってファイルの追加、更新、削除がなされた状態になる。   That is, the cache 34 is initially loaded with all data recorded on the optical disc 101. Thereafter, according to the command received from the client terminal 10, addition, update, deletion, etc. of the file are performed on the cache 34. The management of the files on the cache 34 is performed by the virtual file system 35. Thereafter, a process (referred to as “synchronous process”) of reflecting the state of the data on the virtual file system 35 and the cache 34 on the optical disc 101 is performed. The storage state of the file (data) managed by the virtual file system 35 is reflected on the optical disk 101 by the synchronization processing, and the optical disk 101 is in a state in which the file has been added, updated, or deleted according to a command from the client terminal 10.

このように、情報記録システム100では、クライアント端末10からコマンドを受信したときに、キャッシュ34上で一旦データの更新等を行った後に光ディスク101に対して同期処理を実施することにより、キャッシュ34の内容を光ディスク101に反映するようにしている。これにより、複数回のコマンドを受信した場合に、キャッシュ34上でデータを複数回更新し、その後に光ディスク101に対して1回のみ同期処理を行うことで、複数回のコマンドによる処理を光ディスク101に反映させることができる。よって、光ディスク101の光ディスクドライブ56への装填頻度を低減でき、光ディスク101に対する記録処理の効率を向上できる。   As described above, in the information recording system 100, when a command is received from the client terminal 10, the data is once updated on the cache 34, and then the synchronization process is performed on the optical disc 101. The contents are reflected on the optical disk 101. Thus, when a command is received a plurality of times, the data is updated on the cache 34 a plurality of times, and then the synchronization process is performed only once on the optical disc 101, whereby the processing by the command for the plurality of times can be performed on the optical disc 101. Can be reflected. Therefore, the frequency of loading the optical disc 101 into the optical disc drive 56 can be reduced, and the efficiency of the recording process on the optical disc 101 can be improved.

[1−2−2.ファイル更新]
本実施形態では、光ディスク101は追記型の光ディスクであるため、光ディスク101に一旦記録されたデータについて、ディスク上の同じ物理位置でデータを更新したり(書き換えたり)、消去したりすることはできない。以下、情報記録システム100における光ディスク101に対するファイルの更新処理について説明する。
[1-2-2. File Update]
In the present embodiment, since the optical disk 101 is a write-once optical disk, data once recorded on the optical disk 101 cannot be updated (rewritten) or erased at the same physical position on the disk. . Hereinafter, a file update process for the optical disc 101 in the information recording system 100 will be described.

情報記録システム100の情報記録装置20は、クライアント端末10から、ファイルの一部の内容を書き換えるための更新コマンドを受信する。更新コマンドにおいては、更新するファイルのファイル名と、更新するデータの位置と、更新するデータの長さと、更新するデータとが指定される。   The information recording device 20 of the information recording system 100 receives from the client terminal 10 an update command for rewriting a part of the file. In the update command, the file name of the file to be updated, the position of the data to be updated, the length of the data to be updated, and the data to be updated are specified.

情報記録装置20は、クライアント端末10から更新コマンドを受信すると、まず、更新コマンドにしたがいキャッシュ34上のデータを更新するとともに、仮想ファイルシステム35を更新する。   When receiving the update command from the client terminal 10, the information recording device 20 first updates the data in the cache 34 and updates the virtual file system 35 according to the update command.

その後、情報記録装置20は、キャッシュ34及び仮想ファイルシステム35が管理するファイルの状態を光ディスク101に反映させるため、光ディスク101に対して同期処理を実行する。   After that, the information recording device 20 executes a synchronization process on the optical disc 101 in order to reflect the status of the file managed by the cache 34 and the virtual file system 35 on the optical disc 101.

図5を用いて、光ディスク101のユーザデータ領域内に既に記録されているファイル(「対象ファイル」という)を更新する(書き換える)場合の、光ディスク101上での処理について具体的に説明する。   The process on the optical disc 101 when updating (rewriting) a file (referred to as “target file”) already recorded in the user data area of the optical disc 101 will be specifically described with reference to FIG.

対象ファイル61aを更新する場合、まず、更新コマンドにしたがい対象ファイル61aを更新し(書き換え)、新たなファイル(以下「更新されたファイル」という)61bを生成する。そして、更新されたファイル61bを、ユーザデータ領域における空き領域(元の対象ファイル61aが記録された領域とは異なる領域)に記録する。その際、ファイル61bの記録場所が変更されるので、光ディスク101内のファイルを管理するファイルシステムにおけるファイルエントリ(FE)情報の内容を書き換え、さらに、書き換えたファイルエントリ情報63aをユーザデータ領域内の所定の空き領域(元のファイルエントリ情報とは別の領域)に記録する。   When updating the target file 61a, first, the target file 61a is updated (rewritten) according to the update command, and a new file (hereinafter, referred to as an "updated file") 61b is generated. Then, the updated file 61b is recorded in a free area (an area different from the area where the original target file 61a is recorded) in the user data area. At this time, since the recording location of the file 61b is changed, the contents of the file entry (FE) information in the file system for managing the files in the optical disc 101 are rewritten, and the rewritten file entry information 63a is rewritten in the user data area. It is recorded in a predetermined free area (an area different from the original file entry information).

また、ファイル61bの更新元の対象ファイル61aについては、リネームされるとともに、その格納場所が現フォルダからゴミ箱フォルダに変更される。ここで、ゴミ箱フォルダは、消去等により論理的に無効となったファイルを格納するフォルダの一例である。すなわち、光ディスク101上では、リネームされた元の対象ファイル61aのデータはそのまま存在する。このような元の対象ファイル61aのデータは、データベース33上において「履歴ファイル」として管理される。この履歴ファイル(元の対象ファイル61a)は、ゴミ箱フォルダに格納されるように、ファイルツリー情報が変更され、変更されたファイルツリー情報63bは空き領域に記録される。この状態で、ユーザは光ディスク101内のゴミ箱フォルダを参照することで、履歴ファイル(元の対象ファイル61a)を確認することができる。   Further, the target file 61a as the update source of the file 61b is renamed, and the storage location is changed from the current folder to the trash folder. Here, the trash folder is an example of a folder for storing files that have been logically invalidated by erasure or the like. That is, on the optical disk 101, the data of the renamed original target file 61a exists as it is. Such data of the original target file 61a is managed on the database 33 as a "history file". The file tree information of the history file (original target file 61a) is changed so as to be stored in the trash folder, and the changed file tree information 63b is recorded in a free area. In this state, the user can confirm the history file (the original target file 61a) by referring to the trash folder in the optical disc 101.

なお、更新されたファイル61bと、それに関連する履歴ファイル(元の対象ファイル61a)との対応関係はデータベース33における履歴情報により管理されている。また、光ディスク101におけるファイルエントリ情報及びファイルツリー情報はファイルの更新にともなって複数生成されるが、最新のファイルエントリ情報及びファイルツリー情報を示す情報が管理情報(図示せず)として例えば光ディスク101におけるリードイン領域に格納されている。   The correspondence between the updated file 61b and the related history file (the original target file 61a) is managed by history information in the database 33. Further, a plurality of file entry information and file tree information in the optical disc 101 are generated with the update of the file, and information indicating the latest file entry information and file tree information is used as management information (not shown), for example, in the optical disc 101. It is stored in the lead-in area.

以上のように、本実施形態の情報記録装置20によれば、ファイルの更新により、更新前のファイルが履歴ファイルに変更され、履歴ファイルはゴミ箱フォルダに格納される。   As described above, according to the information recording device 20 of the present embodiment, the file before updating is changed to a history file by updating the file, and the history file is stored in the trash folder.

図6のフローチャートを参照して、光ディスク101に記録されたファイルの更新処理の流れを説明する。   With reference to the flowchart of FIG. 6, the flow of a process of updating a file recorded on the optical disc 101 will be described.

情報記録装置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 control unit 21 of the information recording device 20 first updates the file according to the update command to update the cache 34 and the virtual file system 35 (S12-S13). ). Specifically, the control unit 21 renames the file name of the file (original file) specified as the update target, and updates the virtual file system 35 so that the renamed original file is stored in the trash folder ( S12). Further, the control unit 21 newly adds the updated file on the cache 34 and the virtual file system 35 according to the update command (S13).

例えば、フォルダ「¥¥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 control unit 21 renames the file name “C.sh” of the file to be updated to “C.1.sh” and moves the original file having the renamed file name “C.1.sh” to the trash folder. . Further, the control unit 21 updates the file to be updated according to the command to generate new data (file), and uses the newly generated data (file) as an updated file having the file name “C.sh”. , The cache 34 and the virtual file system 35. As a result, on the cache 34, the updated data with the file name "C.sh" is recorded in the folder "$ CC", and the original data with the file name "C.sh.1" is stored in the trash folder. The file is recorded.

その後、仮想ファイルシステム35が管理する光ディスク101の論理的な状態と、光ディスク101の実際の物理的な状態との同期(整合性)をとる同期処理が行われる。同期処理は、ユーザが任意に指定したタイミングで実行されてもよいし、仮想ファイルシステム35に対する更新に関する処理後に連続して実行されてもよいし、または、スケジューラ38機能による設定時刻になったときに実行されてもよい。   After that, a synchronization process is performed to synchronize (match) the logical state of the optical disk 101 managed by the virtual file system 35 with the actual physical state of the optical disk 101. The synchronization process may be executed at a timing arbitrarily designated by the user, may be continuously executed after the process related to the update to the virtual file system 35, or when the time set by the scheduler 38 function is reached. May be executed.

同期処理において、制御部21は、仮想ファイルシステム35及びキャッシュ34で管理されるファイルの状態に基づき、光ディスク101上に更新後のファイルを記録するようにストレージ装置50に指示を出す(S14)。これにより、例えば、図5に示すように、光ディスク101上の空き領域(元の対象ファイル61aが記録されている領域とは異なる領域)に更新後のファイル61bのデータが記録される。   In the synchronization process, the control unit 21 issues an instruction to the storage device 50 to record the updated file on the optical disk 101 based on the state of the file managed by the virtual file system 35 and the cache 34 (S14). Thereby, for example, as shown in FIG. 5, the data of the updated file 61b is recorded in a free area (an area different from the area where the original target file 61a is recorded) on the optical disc 101.

次に、制御部21は、光ディスク101上で元ファイルに対するファイルエントリ情報を変更する(S15)。具体的には、制御部21は、元ファイルについて、ファイル名をリネームするとともに、格納場所をゴミ箱フォルダに変更するようにファイルエントリ情報を変更する。変更したファイルエントリ情報は元のファイルエントリとは異なる領域に記録される。   Next, the control unit 21 changes the file entry information for the original file on the optical disc 101 (S15). Specifically, the control unit 21 renames the file name of the original file and changes the file entry information so that the storage location is changed to the trash folder. The changed file entry information is recorded in an area different from the original file entry.

さらに、制御部21は、元ファイルに対するファイルツリー情報を変更する(S16)。すなわち、制御部21は、元ファイルのファイルツリー情報を、元ファイルがゴミ箱フォルダに格納されるように変更し、変更後のファイルツリー情報は、元のファイルツリー情報とは異なる領域に記録する。   Further, the control unit 21 changes the file tree information for the original file (S16). That is, the control unit 21 changes the file tree information of the original file so that the original file is stored in the trash folder, and records the changed file tree information in an area different from the original file tree information.

その後、制御部21は、データベース33において、元ファイルを履歴ファイルとして登録する(S17)。例えば、図3において、ファイル名「C.sh」の元ファイルが更新される場合、元ファイルは、ファイル名が「C.1.sh」に変更され、格納場所がゴミ箱フォルダ(¥¥CC¥ゴミ箱¥C.1.sh)に変更され、履歴フラグが「1」に設定されて、データベース33に登録される。   Thereafter, the control unit 21 registers the original file as a history file in the database 33 (S17). For example, in FIG. 3, when the original file having the file name "C.sh" is updated, the file name of the original file is changed to "C.1.sh" and the storage location is changed to the trash folder ({CC}). It is changed to the trash can (C.1.sh), the history flag is set to "1", and registered in the database 33.

以上のようにして、更新後のファイルの実体データは新たに光ディスク101上に記録されるとともに、更新前の元ファイルは、そのファイル名が変更されゴミ箱フォルダに移動される。この状態では、ユーザは、クライアント端末10上で、仮想ファイルシステム35またはUDFを通じて、光ディスク101のゴミ箱フォルダを閲覧することで、元ファイルがゴミ箱フォルダに存在していることを確認することができる。   As described above, the entity data of the updated file is newly recorded on the optical disc 101, and the original file before the update is renamed and moved to the trash folder. In this state, the user can confirm that the original file exists in the trash folder by browsing the trash folder of the optical disc 101 through the virtual file system 35 or the UDF on the client terminal 10.

[1−2−3.ファイル消去]
本実施形態の情報記録システム100によるファイル消去について説明する。情報記録システム100の情報記録装置20は、クライアント端末10から消去コマンドを受信すると、まず、消去対象ファイルを論理的に消去する。ここで、論理的に消去するとは、仮想ファイルシステム35上で、ファイルの格納場所をゴミ箱フォルダに移動させることをいう。ファイルが論理的に消去された状態では、ファイルの実体データは光ディスク101上に有効に存在しているため、そのファイルのデータの再生(読み出し)は可能となる。
[1-2-3. File erase]
The file erasure by the information recording system 100 of the present embodiment will be described. When receiving the erasure command from the client terminal 10, the information recording device 20 of the information recording system 100 first logically erases the erasure target file. Here, logically deleting means moving the storage location of the file to the trash folder on the virtual file system 35. In a state where the file is logically erased, the actual data of the file is effectively present on the optical disk 101, so that the data of the file can be reproduced (read).

論理消去において、情報記録装置20は、仮想ファイルシステム35上で消去対象ファイルをゴミ箱フォルダに移動させるとともに、消去対象ファイル及びそれに関連する履歴ファイルに対して消去フラグを「1」に設定する(以下これを単に「消去フラグを1に設定する」という)。例えば、図7の(A)に示すようにtest−dirディレクトリ内にあるData000.binのファイルが格納されている状態で、Data000.binを消去する消去コマンドを受信した場合、図7の(B)に示すようにData000.binのファイルは論理的に消去され、ゴミ箱フォルダに移動される。この状態では、ユーザはゴミ箱フォルダを閲覧することで、Data000.binのファイルの存在及びその内容を確認することができる。   In the logical erasure, the information recording apparatus 20 moves the erasure target file to the trash folder on the virtual file system 35, and sets the erasure flag to “1” for the erasure target file and the related history file (hereinafter, “1”). This is simply referred to as “setting the erase flag to 1”). For example, as shown in FIG. 7A, Data000. In the state where the file of Bin is stored, Data000. When an erasing command for erasing the bin is received, as shown in FIG. Bin files are logically deleted and moved to the trash folder. In this state, the user browses the trash folder to obtain Data000. The existence and content of the bin file can be confirmed.

その後、情報記録装置20は、光ディスク101に対して同期処理を実施し、仮想ファイルシステム35で管理されるディスク状態を光ディスク101に反映させる。これにより、光ディスク101上において、消去対象ファイルはその履歴ファイルとともにゴミ箱フォルダに移動される。その後、情報記録装置20は、消去フラグが設定されているファイルに対して物理消去を行う。物理消去とは、ファイルが再生不能になるように消去対象ファイルのデータを上書きすることである。物理消去後は、ユーザはゴミ箱フォルダを閲覧することで、消去したファイルの存在は確認することができるが、消去したファイルのデータを再生する(読み出す)ことはできない。例えば、図7の(C)に示すように、Data000.binのファイルが物理消去されると、Data000.binのファイルのファイル名はゴミ箱フォルダ内において確認することができるが、データは読み取れなくなる(すなわち、実質的に消去されたことになる)。但し仮想ファイルシステム上では物理消去されたファイルの存在を確認できなくしてもよい。物理消去されたファイル及びそれに関連する物理消去された履歴ファイルに対して消去フラグを「2」に設定する(以下これを単に「消去フラグを2に設定する」という)。   After that, the information recording device 20 performs a synchronization process on the optical disk 101, and reflects the disk state managed by the virtual file system 35 on the optical disk 101. As a result, the file to be erased is moved to the trash folder along with the history file on the optical disc 101. After that, the information recording device 20 performs physical erasure on the file for which the erasure flag is set. Physical erasure is to overwrite the data of the erasure target file so that the file cannot be played. After physical erasure, the user can confirm the existence of the erased file by browsing the trash folder, but cannot reproduce (read) the data of the erased file. For example, as shown in FIG. When the file of bin is physically erased, Data000.bin is deleted. The file name of the bin file can be confirmed in the trash folder, but the data cannot be read (that is, it has been substantially deleted). However, it may not be possible to confirm the existence of the physically deleted file on the virtual file system. The erase flag is set to “2” for the physically erased file and the physically erased history file related thereto (hereinafter, this is simply referred to as “set the erase flag to 2”).

図8は、上述したファイルの消去処理の流れを示すフローチャートである。図8のフローチャートを参照して、情報記録装置20の消去処理についてより具体的に説明する。   FIG. 8 is a flowchart showing the flow of the above-described file erasing process. The erasing process of the information recording device 20 will be described more specifically with reference to the flowchart of FIG.

情報記録装置20の制御部21は、クライアント端末10から、消去対象ファイルが指定された消去コマンドを受信すると(S31)、仮想ファイルシステム35上で消去対象ファイルを論理的に消去する(S32)。具体的には、仮想ファイルシステム35上で、消去対象ファイルを、現在消去対象ファイルが格納されているフォルダからゴミ箱フォルダへ移動させる。   When the control unit 21 of the information recording device 20 receives from the client terminal 10 an erasure command specifying the erasure target file (S31), the control unit 21 logically erases the erasure target file on the virtual file system 35 (S32). Specifically, on the virtual file system 35, the deletion target file is moved from the folder in which the deletion target file is currently stored to the trash folder.

次に、制御部21は、データベース33のファイル情報上で、消去対象ファイルの消去フラグを設定する(すなわち、消去フラグの値を「1(消去対象)」に設定する)(S33)。さらに、消去対象ファイルの履歴フラグを設定する(すなわち、履歴フラグの値を「1(履歴ファイル)」)に設定する(S33)。   Next, the control unit 21 sets an erasure flag of the erasure target file on the file information of the database 33 (that is, sets the value of the erasure flag to “1 (erasure target)”) (S33). Further, the history flag of the file to be deleted is set (that is, the value of the history flag is set to “1 (history file)”) (S33).

さらに、制御部21は、データベース33の履歴情報を参照して、消去対象ファイルに関連する履歴ファイルを検索する(S34)。少なくとも1つの履歴ファイルが検索されたときは(S35でYES)、制御部21は、データベース33のファイル情報において、検索された履歴ファイルに対して消去フラグを設定する(S36)。   Further, the control unit 21 refers to the history information in the database 33 and searches for a history file related to the file to be deleted (S34). When at least one history file is found (YES in S35), the control unit 21 sets an erasure flag for the found history file in the file information of the database 33 (S36).

以上のように、消去コマンド受信時において、消去対象ファイルは、仮想ファイルシステム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 virtual file system 35, and the erase flag and the history flag are set. Further, the deletion flag is set to “1” also for the history file related to the deletion target file. In this state, it is only logically deleted on the virtual file system 35. Thereafter, the control unit 21 executes the physical erasure (S37).

図9のフローチャートを参照して、情報記録装置20による物理消去の動作について説明する。物理消去は、ユーザの指示により任意のタイミングまたは事前に設定されたスケジュール等に基づいて実行される。   The operation of the physical erasure by the information recording device 20 will be described with reference to the flowchart of FIG. The physical erasure is executed at an arbitrary timing according to a user's instruction or based on a preset schedule or the like.

情報記録装置20の制御部21は、ストレージ装置50の制御部52に対して、仮想ファイルシステム35に基づいて光ディスク101上でファイルエントリ情報の変更を指示する(S51)。さらに、情報記録装置20の制御部21は、ストレージ装置50の制御部52に対して、仮想ファイルシステム35に基づいて光ディスク101上でファイルツリー情報の変更を指示する(S52)。すなわち、情報記録装置20の制御部21は、ストレージ装置50の制御部52に対して、消去対象ファイルの格納場所がゴミ箱フォルダとなるようにファイルツリー情報の変更を指示する。   The control unit 21 of the information recording device 20 instructs the control unit 52 of the storage device 50 to change the file entry information on the optical disk 101 based on the virtual file system 35 (S51). Further, the control unit 21 of the information recording device 20 instructs the control unit 52 of the storage device 50 to change the file tree information on the optical disk 101 based on the virtual file system 35 (S52). That is, the control unit 21 of the information recording device 20 instructs the control unit 52 of the storage device 50 to change the file tree information so that the storage location of the deletion target file is the trash folder.

ストレージ装置50の制御部52は、情報記録装置20の制御部21からの指示に基づき、ファイルエントリ情報及びファイルツリー情報を変更する。このとき、ストレージ装置50の制御部52は、図10Aに示すように、光ディスク101において、変更後のファイルエントリ情報63a及び変更後のファイルツリー情報63bを、元のファイルエントリ情報及び元のファイルツリー情報が格納されている領域とは別の領域に記録する。このとき、消去対象ファイルの実体データ自体は変更されない。   The control unit 52 of the storage device 50 changes the file entry information and the file tree information based on the instruction from the control unit 21 of the information recording device 20. At this time, as shown in FIG. 10A, the control unit 52 of the storage device 50 stores the changed file entry information 63a and the changed file tree information 63b on the optical disc 101 as the original file entry information and the original file tree. The information is recorded in an area different from the area where the information is stored. At this time, the entity data of the file to be deleted is not changed.

その後、情報記録装置20の制御部21は、データベース33のファイル情報を参照して、消去フラグが「1」に設定されているファイルについて物理的に消去するように、ストレージ装置50の制御部52に対して指示を行う(S53)。ストレージ装置50の制御部52は、この指示を受けて、光ディスク101においてファイルの物理消去を行う。   Then, the control unit 21 of the storage device 50 refers to the file information of the database 33 and physically deletes the file whose deletion flag is set to “1” with reference to the file information of the database 33. (S53). The control unit 52 of the storage device 50 receives the instruction and physically erases the file on the optical disk 101.

物理消去は、消去すべきファイルを再生不能な状態にすることにより実現される。例えば、消去すべきファイルのデータの少なくとも一部を所定の消去パターンで上書きすることによって、そのファイルを再生不能にする。すなわち、消去すべきファイルの実体データ、同期データ、誤り訂正用データの少なくともいずれかを所定の消去パターンで上書きすることにより、消去すべきファイルを再生不能にする。上書きは、例えば、図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 optical disc 101. By deforming the recording mark, it becomes impossible to read the file thereafter, and the file is substantially erased.

以上のように、消去フラグが「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 control unit 21 uses the function of the scheduler 38 to determine whether the current time has reached the time at which the synchronization process starts (S61). When determining that the current time has reached the start time of the synchronization process (S61), the control unit 21 starts the synchronization process.

まず、制御部21は、ストレージ装置50に対して、光ディスク101がオンライン状態にあるか(すなわち、光ディスク101が光ディスクドライブ56に装填されているか)否かを確認する(S62)。光ディスク101がオンライン状態にない場合は、制御部21は、光ディスク101を光ディスクドライブ56に装填するようにストレージ装置50に対して指示を行う(S65)。   First, the control unit 21 checks with the storage device 50 whether the optical disk 101 is online (that is, whether the optical disk 101 is loaded in the optical disk drive 56) (S62). When the optical disk 101 is not in the online state, the control unit 21 instructs the storage device 50 to load the optical disk 101 into the optical disk drive 56 (S65).

その後、制御部21は、仮想ファイルシステム35及びキャッシュ34にしたがい光ディスク101に同期処理を実行する(S63)。同期処理において、制御部21は、仮想ファイルシステム35が管理するデータの状態が光ディスク101に反映されるように、光ディスク101上で、ファイル(実体データ)やファイルエントリ情報、ファイルツリー情報等の追加、変更等が行われる。例えば、更新されたファイルについては、図5に示すように、光ディスク101上で、更新後のファイルのデータが新たに記録されるとともに、更新前の元ファイルがリネームされてゴミ箱フォルダに格納されるようにファイルエントリ情報及びファイルツリー情報が変更されて新たに記録される。また、消去対象ファイルについては、図10Aに示すように、光ディスク101上で、消去対象ファイルがゴミ箱フォルダに格納されるようにファイルエントリ情報63a及びファイルツリー情報63bが変更される。   Thereafter, the control unit 21 performs a synchronization process on the optical disc 101 according to the virtual file system 35 and the cache 34 (S63). In the synchronization process, the control unit 21 adds a file (substance data), file entry information, file tree information, and the like on the optical disc 101 so that the state of the data managed by the virtual file system 35 is reflected on the optical disc 101. , Changes, etc. are made. For example, as shown in FIG. 5, for the updated file, the data of the updated file is newly recorded on the optical disc 101, and the original file before the update is renamed and stored in the trash folder. Thus, the file entry information and the file tree information are changed and newly recorded. As for the file to be deleted, as shown in FIG. 10A, the file entry information 63a and the file tree information 63b are changed on the optical disc 101 so that the file to be deleted is stored in the trash folder.

前述のように、ファイルの消去に関しては、同期処理が実行され、仮想ファイルシステム35の内容を反映させただけでは、消去対象ファイルは論理的に消去されただけである。すなわち、消去対象ファイルは、光ディスク101上での管理上、ゴミ箱フォルダに移動されただけである。   As described above, regarding the erasure of a file, a synchronization process is executed, and only by reflecting the contents of the virtual file system 35, the erasure target file is logically erased. That is, the file to be erased has only been moved to the trash folder for management on the optical disc 101.

制御部21は、同期処理が終了後、データベース33のファイル情報を参照して、消去フラグが「1」に設定されているファイルを検索し、検索したファイルを物理消去するように、ストレージ装置50に対して指示を行う(S64)。ストレージ装置50の制御部52は、情報記録装置20の制御部21からの指示にしたがい、指示を受けたファイルについて光ディスク101上で物理消去を行い消去フラグが「2」に設定される。物理消去されたファイルは読み出しが不可能になる(図10B参照)。   After the completion of the synchronization processing, the control unit 21 refers to the file information of the database 33 to search for a file whose deletion flag is set to “1”, and physically deletes the searched file. (S64). In accordance with the instruction from the control unit 21 of the information recording device 20, the control unit 52 of the storage device 50 physically erases the instructed file on the optical disk 101 and sets the erase flag to “2”. The physically erased file cannot be read (see FIG. 10B).

[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 information recording device 20.

制御部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 virtual file system 35, the control unit 21 refers to the file information of the database 33 and determines the size of the free spare area (the free capacity of the spare area) as the target data to be recorded. It is determined whether the size is larger than the size estimated to be consumed by the replacement recording when erasing after recording (S73 in FIG. 13). That is, the control unit 21 firstly deletes the erased size (the size of FIG. 14A), the first planned erase size (the size of FIG. 14B), and the second planned erase size (the size of FIG. 14). (Size of (C)) is calculated. The erased size (the size of (A) in FIG. 14) is the erased size consumed by replacement recording when data is erased from the optical disc 101. The first scheduled erasing size (the size of (B) in FIG. 14) is a size estimated to be consumed by replacement recording when erasing the data of the erasure flag “1”, which is to be erased from the optical disc 101. . The second planned erase size (the size (C) in FIG. 14) is consumed by replacement recording when erasing data of the erase flag “0” that has been recorded on the optical disc 101 and has not yet been erased and is not scheduled to be erased. Estimated size. Next, the control unit 21 calculates the size of the empty spare area (the size of S− (A + B + C) in FIG. 14) by subtracting these from the size of the spare area (the size of (S) in FIG. 14). Next, the control unit 21 determines whether or not the size of the empty spare area (the size of S− (A + B + C) in FIG. 14) is the size to be erased (the size of (P) in FIG. 14). The scheduled erasure size (the size of (P) in FIG. 14) is a size that 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 disc 101.

空き交替領域のサイズ(図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 control unit 21 moves the target data to the virtual file system (S74). Otherwise (N of S73), the control unit 21 notifies the user that the size of the free replacement area is insufficient (S75).

以上のように記録前に物理消去の可否を交替領域の空き状況を基に判定するので、これから記録するデータが後で確実に物理消去できるかどうか判定して記録できる。   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 cache 34 and the virtual file system 35 as shown in FIG. 2, the information recording apparatus records new data directly on the write-once optical disc. Becomes

反対に、情報記録装置がキャッシュ34や仮想ファイルシステム35を備えている場合には、上記の説明にさらに考慮すべき点がある。   On the other hand, when the information recording device includes the cache 34 and the virtual file system 35, there are further points to be considered in the above description.

追記型光ディスクの前段にキャッシュ34や仮想ファイルシステム35が設けられていると、キャッシュ34や仮想ファイルシステム35上には存在するが、まだ追記型光ディスクに記録されていない他のデータが存在する可能性がある。他のデータが追記型光ディスクへ記録された後に消去されたと仮定する。こられの他のデータの消去処理により消費される交替領域の大きさを第4消費サイズとする。   If the cache 34 and the virtual file system 35 are provided at the preceding stage of the write-once optical disc, other data that exists on the cache 34 and the virtual file system 35 but has not yet been recorded on the write-once optical disc may exist. There is. It is assumed that other data is erased after being recorded on the write-once optical disc. The size of the replacement area consumed by the other data erasing process is defined as a fourth consumption size.

追記型光ディスクへ新たなデータを記録する場合には、交替領域のサイズから第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 cache 34 or the virtual file system 35.

その後、キャッシュ34や仮想ファイルシステム35の内容に基づいて追記型光ディスクへデータを記録する。   After that, data is recorded on the write-once optical disc based on the contents of the cache 34 and the virtual file system 35.

なお、キャッシュ34や仮想ファイルシステム35に記録され、追記型光ディスクへデータが記録される前にキャッシュ34や仮想ファイルシステム35から消去されたデータについては、上記の第4消費サイズの算出対象に含めない。   Note that data recorded in the cache 34 or the virtual file system 35 and deleted from the cache 34 or the virtual file system 35 before data is recorded on the write-once optical disc is included in the above-mentioned fourth consumption size calculation target. Absent.

また、上記の説明では、単一の追記型光ディスクを用いた場合を例として説明した。しかし、本実施の形態で説明する発明の内容はこれに限定されない。上記の追記型光ディスクを、一つまたは複数の追記型光ディスクで構成される追記型光ディスク群に置き換えても、本実施の形態で説明する発明を同様に実施できる。   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 optical disks 701, 702, 703, and 704 as an example of an optical disk RAID system. Sectors are arranged on the write-once optical disc. A sector is a minimum unit of data management of a write-once optical disc that constitutes a RAID system. For example, sectors of addresses D10, D11, D12, and D13 are arranged on the optical disk 701. Addresses A1 to A12 are assigned as a RAID system. Addresses P1, P2, P3, and P4 are sectors for storing parity, which is error correction information for ensuring the reliability of data included in other addresses of the corresponding stripe. Stripes are arranged in the RAID system. A stripe is a unit for ensuring redundancy. For example, the stripe 801 is composed of the sector of the address D10 of the optical disk 701, the address D20 of the optical disk 702, the address D30 of the optical disk 703, and the address D40 of the optical disk 704. In the example of FIG. 15, file 1 is recorded in the sector group 901 and file 2 is recorded in the sector group 902.

つまり本実施の形態で説明する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 file 2 from the RAID system, the contents of the sector at the addresses A2, A3, A4, A5, and A6 of the RAID system may be read. This corresponds to reading the address D11 of the optical disk 701, the addresses D20 and D21 of the optical disk 702, the address D30 of the optical disk 703, and the address D41 of the optical disk 704. If the address A6 cannot be reproduced, the RAID system restores and reproduces the contents of the address A6 from the contents of the addresses A4 and A5 and the contents of the parity P2 in the stripe 802 to which the address A6 belongs. In other words, even if reading from one optical disk is impossible, the RAID system secures redundancy that enables reading.

ファイル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 file 2, all sectors on which at least part of file 2 is recorded are overwritten on all optical disks. In the example of FIG. 15, the sector at the addresses A2 to A6 in which the file 2 is stored is overwritten. When erasing the file 2, the sector including all the parities of all the stripes including the file 2 is overwritten. In the example of FIG. 15, the sector at the address P1 of the stripe 801 and the sector at the address P2 of the stripe 802 are overwritten. When another stripe is included in the stripe including the file 2, all the overwritten sectors among the sectors of the stripe are alternately recorded. In the example of FIG. 15, the stripe 801 includes a file 1 other than the file 2 in addition to the file 2. Therefore, the sectors of the addresses A2, A3, and P1 overwritten among the sectors of the stripe 801 are alternately recorded. Specifically, of the sectors of the stripe 801, the sectors at addresses A 2 and A 3 where the file 2 was included are alternately recorded at the addresses D 2 S 0 and D 3 S 0 of the optical disk 702. At this time, with respect to the sector at the address A2, all the recorded portions of the file 2 are replaced with 00H data for replacement recording, and for the portions where the file 1 is recorded, the original data of the original file 1 are replaced and recorded. Further, of the sectors of the stripe 801, the sector including the parity of the address P 1 is alternately recorded at the address D 4 S 0 of the optical disk 702. At this time, the parity is recalculated based on the data of the alternately recorded sector and is alternately recorded. As described above, when the file 2 is erased, of the stripe 801 including the file 2 and the file other than the file 2, the size of the sector including the file 2 (the sector at the addresses A2 and A3) and the sector including the parity (the sector at the address P1) ) Is alternately recorded, and an alternate area having the same size as the total size is consumed.

図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 file 2 in the configuration of FIG. 15, the corresponding stripe is stripe 801. Next, the total X1 of the sizes of the sectors including the target data of all the stripes specified in S81 is obtained (S82). For example, if the target data is file 2 in the configuration of FIG. 15, X1 is the size of two sectors at addresses A2 and A3. Further, a total X2 of the sizes of the sectors including the parities of all the stripes specified in S81 is obtained (S83). For example, when the target data is file 2 in the configuration of FIG. 15, X2 is the size of one sector of the address P1. Then, the size X of the replacement area to be consumed can be estimated as X = X1 + X2 (S84). For example, when the target data is file 2 in the configuration of FIG. 15, X has a size of three sectors.

より具体的には、情報記録装置20の制御部21は、消去済みサイズを、例えば、消去履歴から算出する。   More specifically, the control unit 21 of the information recording device 20 calculates the erased size from, for example, an erase history.

情報記録装置20の制御部21は、消去フラグ「1」のデータを対象データとして、図16に示すフローにより、第1消去予定サイズ(図14の(B)のサイズ)を見積もる。すなわち、制御部21は、光ディスク701、702、703、704から消去する予定であるデータ及び光ディスク701、702、703、704から消去する予定であるデータ以外のデータの両方が含まれる全てのストライプを特定する。そして、制御部21は、第1消去予定サイズを、特定した全てのストライプの、光ディスク701、702、703、704から消去する予定であるデータを含むデータ管理の最小単位であるセクタの合計サイズ及びパリティを含むデータ管理の最小単位であるセクタの合計サイズを加算することで算出する。   The control unit 21 of the information recording device 20 estimates the first planned erase size (the size of (B) in FIG. 14) according to the flow illustrated in FIG. 16 with the data of the erase flag “1” as the target data. That is, the control unit 21 deletes all stripes including both data to be erased from the optical disks 701, 702, 703, and 704 and data other than data to be erased from the optical disks 701, 702, 703, and 704. Identify. Then, the control unit 21 sets the first erasure scheduled size to the total size of the sector, which is the minimum unit of data management including data to be erased from the optical disks 701, 702, 703, and 704, of all the specified stripes. It is calculated by adding the total size of the sector, which is the minimum unit of data management including parity.

情報記録装置20の制御部21は、消去フラグ「0」のデータを対象データとして、図16に示すフローにより、第2消去予定サイズ(図14の(C)のサイズ)を見積もる。すなわち、制御部21は、光ディスク701、702、703、704に記録済みであって未消去かつ消去する予定のないデータ及び光ディスク701、702、703、704に記録済みであって未消去かつ消去する予定のないデータ以外のデータの両方が含まれる全てのストライプを特定する。そして、制御部21は、前記第2消去予定サイズを、特定した全てのストライプの、光ディスク701、702、703、704に記録済みであって未消去かつ消去する予定のないデータを含むデータ管理の最小単位であるセクタの合計サイズ及びパリティを含むデータ管理の最小単位であるセクタの合計サイズを加算することで算出する。   The control unit 21 of the information recording device 20 estimates the second planned erase size (the size of (C) in FIG. 14) by using the data of the erase flag “0” as the target data according to the flow illustrated in FIG. That is, the control unit 21 records the data recorded on the optical discs 701, 702, 703, and 704 and not yet erased and not scheduled to be erased, and the data recorded on the optical discs 701, 702, 703, and 704 but not erased and erased. Identify all stripes that contain both non-scheduled data. Then, the control unit 21 sets the second planned erasure size in the data management of all the specified stripes, including data that has been recorded on the optical discs 701, 702, 703, and 704 and has not been erased and is not scheduled to be erased. It is calculated by adding the total size of the sector which is the minimum unit and the total size of the sector which is the minimum unit of data management including parity.

情報記録装置20の制御部21は、既知の交替領域のサイズ(図14の(S)のサイズ)から、既知の消去済みサイズ(図14の(A)のサイズ)と、これらのサイズを減算することにより、空き交替領域のサイズ(図14においてS−(A+B+C)のサイズ)を求める。   The control unit 21 of the information recording device 20 subtracts the known erased size (the size of FIG. 14A) and these sizes from the known size of the replacement area (the size of FIG. 14S). Thus, the size of the empty spare area (the size of S− (A + B + C) in FIG. 14) is obtained.

また、情報記録装置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 control unit 21 of the information recording device 20 sets the data to be recorded from now on the optical discs 701, 702, 703, and 704 as the target data, and executes the size shown in FIG. 14 (P) size). That is, the control unit 21 is configured to record data to be recorded from now on the optical discs 701, 702, 703, and 704 and data to be recorded from the optical discs 701, 702, 703, and 704. All stripes that include both data other than the above data are specified. Then, the control unit 21 determines the planned erase size (the size (P) in FIG. 14) when the target data to be recorded from all the specified stripes is recorded on the optical discs 701, 702, 703, and 704. It is calculated by adding the total size of the sector which is the minimum unit of data management including data and the total size of the sector which is the minimum unit of data management including parity.

そして、情報記録装置20の制御部21は、これらの見積りに基づいて、これから記録しようとするデータの記録前に物理消去の可否を交替領域の空き状況を基に判定するので、これから記録しようとするデータが後で確実に物理消去できるかどうか判定して記録できる(図13のS73、図14参照)。   Then, the control unit 21 of the information recording device 20 determines whether physical erasure is possible or not based on the estimation based on the availability of the spare area before recording the data to be recorded. It can be determined whether the data to be erased can be physically erased later (S73 in FIG. 13, FIG. 14).

情報記録装置がキャッシュ34や仮想ファイルシステム35を備えている場合には、第4消費サイズも考慮すべきである。第4消費サイズの見積りも、第1消去予定サイズ(図14の(B)のサイズ)、第2消去予定サイズ(図14の(C)のサイズ)及び消去予定サイズ(図14の(P)のサイズ)の見積りと同様に行うことができる。   When the information recording device includes the cache 34 and the virtual file system 35, the fourth consumption size should be considered. The estimation of the fourth consumption size also includes the first planned erase size (the size of FIG. 14B), the second planned erase size (the size of FIG. 14C), and the planned erase size (FIG. 14P). Size).

[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, Embodiment 1 has been described as an example of the technology disclosed in the present application. However, the technology in the present disclosure is not limited to this, and can be applied to embodiments in which changes, replacements, additions, omissions, and the like are made as appropriate. Further, a new embodiment can be obtained by combining the components described in the first embodiment.

そこで、以下、他の実施の形態を例示する。   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 control units 21 and 52 have been described as being CPUs or MPUs that realize predetermined functions in cooperation with software. However, the control units 21 and 52 may be realized by dedicated electronic circuits designed to realize predetermined functions. That is, the control units 21 and 52 can be realized by a CPU, an MPU, a DSP, an FPGA, an ASIC, or the like.

上記実施の形態の図1では、説明の簡単化のため、1枚の光ディスク101のみを備えたストレージ装置50を説明したが、ストレージ装置50は複数枚の光ディスクを収納し、チェンジャ54により光ディスクドライブ56に装填する光ディスクを切り替えるようにしても良い。   In FIG. 1 of the above embodiment, the storage device 50 having only one optical disk 101 has been described for the sake of simplicity, but the storage device 50 stores a plurality of optical disks, and the changer 54 controls the optical disk drive. It is also possible to switch the optical disk to be loaded into the 56.

上記実施の形態では、情報記録装置で本発明を実施した場合を例として説明したが、本実施の形態で説明する発明はこれに限定されない。装置を用いた情報記録方法として実現することも可能である。その場合には、制御部等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 control units 21 and 52 and the like can be realized by constituting each step as a configuration step.

以上のように、本開示における技術の例示として、実施の形態を説明した。そのために、添付図面および詳細な説明を提供した。   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 ネットワーク
Reference Signs List 10 client terminal 20 information recording device 21 information recording device control unit 22 data storage unit 33 database 34 cache 35 virtual file system 50 storage device 52 storage device control unit 54 changer 56 optical disk drive 100 information recording system 101, 701, 702, 703,704 optical disk 200 network

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.
前記制御部は、前記追記型光ディスク群へデータを記録する前に、前記記憶部から削除されたデータは、前記第4消費サイズの算出対象から外す、
請求項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.
前記制御部は、前記交替領域の残量が前記第3消費サイズ以上であれば、前記新たなデータを前記追記型光ディスク群へ直接記録する、
請求項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.
前記制御部は、前記追記型光ディスク群に記録されているデータを消去するとした場合に、消去する当該データと他のデータとの両データが記録されたストライプに基づいて前記第2消費サイズを推定する、
請求項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.
前記制御部は、前記追記型光ディスク群に新に記録されるデータを前記追記型光ディスク群から消去するとした場合に、当該データと他のデータとの両データが記録されるストライプに基づいて前記第3消費サイズを推定する、
請求項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:
JP2016141435A 2015-10-02 2016-07-19 Information recording apparatus and information recording method Active JP6670995B2 (en)

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)

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

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