JPH063577B2 - Storage media management system - Google Patents
Storage media management systemInfo
- Publication number
- JPH063577B2 JPH063577B2 JP18491488A JP18491488A JPH063577B2 JP H063577 B2 JPH063577 B2 JP H063577B2 JP 18491488 A JP18491488 A JP 18491488A JP 18491488 A JP18491488 A JP 18491488A JP H063577 B2 JPH063577 B2 JP H063577B2
- Authority
- JP
- Japan
- Prior art keywords
- storage medium
- history information
- sector
- recording
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000007726 management method Methods 0.000 claims description 76
- 238000006243 chemical reaction Methods 0.000 claims description 39
- 238000012545 processing Methods 0.000 claims description 25
- 238000000034 method Methods 0.000 claims description 22
- 238000013523 data management Methods 0.000 claims description 12
- 230000007246 mechanism Effects 0.000 claims description 7
- 238000012856 packing Methods 0.000 claims description 5
- 230000008569 process Effects 0.000 claims description 3
- 230000003287 optical effect Effects 0.000 description 33
- 230000008859 change Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000003139 buffering effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007429 general method Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
【発明の詳細な説明】 産業上の利用分野 本発明はコンピュータ外部記憶装置として応用される記
憶媒体、特にシーク時間が問題となる記憶媒体のデータ
管理システムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage medium applied as a computer external storage device, and more particularly to a data management system for a storage medium in which seek time is a problem.
従来の技術 従来、外部記憶装置としてはフロッピーディスク等の書
換可能な磁気記憶媒体が利用されてきたが、近年では追
記型光ディスク等のライトワンスの媒体も利用され始め
ている。特にこういった可搬型の媒体では、その可搬性
の生かすため、媒体内のデータの管理情報もデータと同
時に記憶媒体内に記録しておく場合が多い。2. Description of the Related Art Conventionally, a rewritable magnetic storage medium such as a floppy disk has been used as an external storage device, but in recent years, a write-once medium such as a write-once optical disk has started to be used. In particular, in such a portable medium, in order to make the most of the portability, the management information of the data in the medium is often recorded in the storage medium at the same time as the data.
こういった管理情報はデータの追加等の更新に伴い、頻
繁に更新されるため、更新された管理情報全体をいちい
ち媒体に書き戻していたのでは、媒体の容量効率が悪化
する。そこで、一般には次のような管理方式が用いられ
ている。管理情報の更新は、その変更内容を表す更新履
歴情報の形や、更新部分のみの差分情報の形で媒体内に
記録しておき、媒体の交換時の初期設定時に、内部記憶
装置(メモリ又はメモリとその補助記録媒体)に読出
し、更新履歴情報や差分情報の内容を参照して最新の管
理情報を内部記憶装置内に復元する。Since such management information is frequently updated as data is added and updated, if the entire updated management information is written back to the medium, the capacity efficiency of the medium deteriorates. Therefore, the following management method is generally used. The management information is updated in the form of update history information showing the contents of the change or difference information of only the updated part in the medium, and the internal storage device (memory or memory The data is read out to the memory and its auxiliary recording medium) and the latest management information is restored in the internal storage device by referring to the contents of the update history information and the difference information.
またライトワンスの媒体に限らず、頻繁な書変により媒
体の劣化する可能性のある書換型光ディスク等にもこう
いった管理方式が用いられる場合がある。以下に、この
様な更新履歴情報を用いた管理方式の例を紹介する。In addition to the write-once medium, such a management system may be used for a rewritable optical disc or the like in which the medium may deteriorate due to frequent rewriting. The following is an example of a management system that uses such update history information.
(1)交代セクタ方式 磁気媒体の管理方式を追記型記憶媒体に持ち込むことに
より、オペレーティングシステムから追記型記憶媒体を
磁気媒体と同様に扱うことを可能にする互換方式として
用いられる方式である。(1) Alternate sector system This is a system used as a compatible system that allows the operating system to handle the write-once type storage medium in the same way as the magnetic medium by bringing the management method of the magnetic medium into the write-once type storage medium.
例えば一例としては、MS−DOS(マイクロソフト社
が開発したオペレーティングシステム/登録商標)等の
汎用オペレーティングシステムに実装する例がある。M
S−DOSでは磁気媒体をクラスタと呼ばれる固定物理
サイズのブロックに分割し、FAT(File Allocation T
able)により、クラスタごとに使用状況や他のクラスタ
間のデータとの連続性を管理している。MS−DOSか
ら磁気媒体への記憶再生はこのクラスタに割り振られた
クラスタ番号により指示される。交代セクタ方式では、
このクラスタ番号ごとに光ディスク内の記録セクタとの
対応を記録した変換表を管理情報として持ち、初期設定
時にメモリ内に読み出して管理している。For example, as an example, there is an example of mounting in a general-purpose operating system such as MS-DOS (operating system / registered trademark developed by Microsoft Corporation). M
In S-DOS, the magnetic medium is divided into blocks of fixed physical size called clusters, and FAT (File Allocation T
can manage the usage status and continuity with data between other clusters for each cluster. Storage / playback from the MS-DOS to the magnetic medium is instructed by the cluster number assigned to this cluster. In the alternate sector method,
A conversion table in which the correspondence with the recording sector in the optical disc is recorded for each cluster number is stored as management information and is read out and managed in the memory at the time of initial setting.
MS−DOSからのクラスタ番号での再生指示に対して
は、この変換表を用いて、実際にデータが記録された光
ディスク上のセクタを読み出し、既にデータの記録され
たクラスタへの書換が指示された場合には光ディスク内
に新しく交代用のセクタを割当て記録し、メモリ内の変
換表の該当クラスタ番号の変換先をこの新しいセクタへ
書き換えるとともに、記憶媒体へはこの変換表の変更を
示す履歴情報を記録している。In response to a playback instruction from the MS-DOS using the cluster number, the conversion table is used to read out the sector on the optical disc where the data is actually recorded, and to instruct the rewriting to the cluster in which the data is already recorded. If a new replacement sector is allocated and recorded on the optical disk, the conversion destination of the corresponding cluster number in the conversion table in the memory is rewritten to this new sector, and the history information indicating the change in the conversion table is written to the storage medium. Is recorded.
(2)HSF互換方式 再生専用光ディスクの管理方式としては、HSF(ハイ
・シェラ・フォーマット:参考文献スタンダード イー
シエムエー119 ボリューム アンドストラクチャー
オブ CD−ROM フォー インフォーメーション
インターチェンジ(Standard ECMA-119 Volume and f
ile strtuctre of CD-ROM for information interchang
e))がある。HSFは、5.25インチ再生専用型光ディ
スク(CD−ROM)の標準論理フォーマットであり、
ディレクトリファイルを使ったディレクトリ構造の管理
の他に、CD−ROMのシーク時間の遅さを考慮してバ
ステーブルと呼ばれるディレクトリの一括管理テーブル
を導入している。(2) HSF compatible system As a management system for a read-only optical disc, HSF (High Shera Format: Reference Document Standard EMSA 119 Volume and Structure of CD-ROM for Information Interchange (Standard ECMA-119 Volume and f
ile strtuctre of CD-ROM for information interchang
There is e)). HSF is a standard logical format of 5.25 inch read-only optical disc (CD-ROM),
In addition to the management of the directory structure using directory files, a batch management table of directories called a bus table is introduced in consideration of the slow seek time of the CD-ROM.
このHSFのファイルシステムとの互換性を追記型光デ
ィスク上に実現する方式が互換方式として提案されてい
る(参考文献:情報処理学会第36回全国大会、4S−
6『CD−ROM(HSF)との互換性を汎用OS上で
実現した追記型光ディスクの記憶管理方式1)』、4S−
7『CD−ROM(HSF)との互換性を汎用OS上で
実現した追記型光ディスクの記憶管理方式2)』)。この
方式では、初期設定時に管理情報であるパステーブルを
メモリ内に復元して管理するとともに、パステーブルの
変更情報は履歴情報として、追記型記憶媒体内に記録す
る方式を取っている。A method for realizing compatibility with the HSF file system on a write-once optical disc has been proposed as a compatible method (Reference: IPSJ 36th National Convention, 4S-
6 “Storage management method for write-once optical disc that realizes compatibility with CD-ROM (HSF) on general-purpose OS” 1), 4S-
7 "Memory management method for write-once type optical disc that realizes compatibility with CD-ROM (HSF) on a general-purpose OS 2)"). In this method, a path table, which is management information, is restored and managed in a memory at the time of initial setting, and change information of the path table is recorded as history information in a write-once storage medium.
(3)検索情報による文書データの管理方式 追記型記憶媒体を用いた文書ファイリングシステムで
は、文書データを光ディスク内に登録すると共に、この
文書に付加するキーワード等の検索情報を光ディスク内
に記録し、この検索情報を管理情報として文書を管理す
る方式が採用されている。(3) Document data management method by search information In a document filing system using a write-once type storage medium, document data is registered in the optical disc, and search information such as keywords added to this document is recorded in the optical disc. A method of managing documents using this search information as management information is adopted.
この方式では、初期設定時に検索情報を媒体内の文書デ
ータの管理情報としてメモリ内に読出、文書データの管
理を行っている。初期設定以後の検索情報の変更や削除
等の情報は、検索情報の変更内容を示す履歴情報として
媒体内に記録している。In this method, at the time of initial setting, the search information is read into the memory as management information of the document data in the medium and the document data is managed. Information such as change or deletion of search information after the initial setting is recorded in the medium as history information indicating the contents of change of search information.
発明が解決しようとする課題 履歴情報や差分情報は管理情報の更新の度に記録される
上、バラバラなタイミングで記録される。このため、物
理セクタ単位での記録に限られる記憶媒体、特に書換が
できない追記型記憶媒体では、履歴情報が記録された多
数の物理セクタ媒体内に散在することになる。DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention History information and difference information are recorded each time management information is updated and also at different timings. For this reason, in a storage medium that is limited to recording in physical sector units, particularly in a write-once type storage medium that cannot be rewritten, it will be scattered in many physical sector media in which history information is recorded.
この散在な抑える方法としては、内部記憶装置に数回分
の履歴情報を記録しておき、記憶媒体の交換時にまとめ
て記録する方式も提案されている。しかしこの方式で
は、不慮のシステムダウンの場合などに内部記憶装置内
の最新の管理情報やその履歴情報が記憶媒体内に反映さ
れない(記録されてない)ため、記憶媒体内のデータと
管理情報に不整合が起こり、次の使用時にデータが読み
出せなくなる等、信頼性の問題が大きい。As a method of suppressing this scattering, a method has also been proposed in which history information for several times is recorded in an internal storage device and collectively recorded when the storage medium is replaced. However, in this method, the latest management information in the internal storage device and its history information are not reflected (not recorded) in the storage medium in the event of an unexpected system down, so the data and management information in the storage medium There is a large problem of reliability, such as inconsistency and data being unreadable at the next use.
従って、従来の方式では初期設定時には、このような履
歴情報の記録された多数の物理セクタを全て読みだす必
要があり、特にシークタイムの遅い光ディスクなどの媒
体を使用する場合には、初期設定時の管理情報の復元処
理時間に大きく影響を及ぼす原因となる。Therefore, in the conventional method, it is necessary to read all the many physical sectors in which such history information is recorded at the time of initial setting, and especially when using a medium such as an optical disk with a slow seek time, This will cause a great influence on the restoration processing time of the management information.
しかし通常履歴情報は追記型記憶媒体の物理セクタサイ
ズに比べて、かなり小さいあことが多い。例えば交代セ
クタ方式では、1つの交代セクタの変更当たり10バイ
トも有れば、十分である。ところが、追記型光ディスク
では、最小の記録再生単位である物理セクタサイズが5
12バイトや1KBと履歴情報に比べてはるかに大きい
場合が多い。このため、1つの物理セクタ内に数十〜数
百の履歴情報をパッキングして記録すれば、初期設定時
の管理情報復元の場合の履歴情報の読出しに必要なオー
バーヘッドを軽減し、復元処理速度を大幅に改善するこ
とが可能である。However, the normal history information is often much smaller than the physical sector size of the write-once type storage medium. For example, in the alternate sector method, it is sufficient if there are as many as 10 bytes for each alternate sector change. However, in the write-once optical disc, the physical sector size, which is the minimum recording / reproducing unit, is 5
It is often 12 bytes or 1 KB, which is much larger than the history information. Therefore, if several tens to several hundreds of history information are packed and recorded in one physical sector, the overhead required for reading history information in the case of management information restoration at the time of initialization is reduced, and the restoration processing speed is reduced. Can be significantly improved.
本発明は上記オーバーヘッドの軽減、復元処理速度の大
幅な改善が可能な記憶媒体管理システムを提供すること
を目的とする。It is an object of the present invention to provide a storage medium management system capable of reducing the overhead and greatly improving the restoration processing speed.
課題を解決するための手段 本発明では上記課題を解決するために、データと管理情
報及びその更新履歴情報を同一の媒体に記録する記憶媒
体と、この記憶媒体に記録再生を行う記憶媒体制御部
と、前記更新履歴情報を用いて管理情報を復元する変換
ロード部と、復元された管理情報を格納する内部記憶装
置と、復元された管理情報を用いてデータの記録再生を
指示するデータ管理部と、復元された管理情報を処理す
る更新処理部を備え、前記更新処理部は前記記憶媒体の
複数の物理セクタ内に記録された更新履歴情報を1つの
セクタにパッキングして再記録する機構を有している。Means for Solving the Problems In order to solve the above problems, the present invention relates to a storage medium that records data, management information, and update history information on the same medium, and a storage medium control unit that performs recording and reproduction on this storage medium. A conversion load unit that restores management information using the update history information; an internal storage device that stores the restored management information; and a data management unit that instructs recording and reproduction of data using the restored management information. And an update processing unit for processing the restored management information, and the update processing unit has a mechanism for packing the update history information recorded in a plurality of physical sectors of the storage medium into one sector and re-recording it. Have
また、上記の更新処理部及び変換ロード部を、一定の時
点で内部記憶装置内に復元された管理情報を記憶媒体内
にバックアップする機構を持つ更新処理部と、バックア
ップされた管理情報を起点としバックアップ以後の履歴
情報から最新の管理情報を復元する機構をもつ変換ロー
ド部とする構成もできる。In addition, the update processing unit and the conversion load unit described above have the update processing unit having a mechanism for backing up the management information restored in the internal storage device in the storage medium at a certain point of time, and the backup management information as a starting point. A conversion load unit having a mechanism for restoring the latest management information from the history information after backup can also be used.
作用 本発明では、更新処理部により複数のセクタに記録され
た履歴情報を1つの物理セクタにパッキングして記録す
る、または一定の時点で管理情報をバックアップするこ
とにより、変換ロード部による管理情報再生時の履歴情
報の読み出しに要するオーバーヘッドを軽減し、管理情
報の復元処理の高速化を実現できる。Effect According to the present invention, the history information recorded in a plurality of sectors by the update processing unit is packed and recorded in one physical sector, or the management information is backed up at a certain point of time so that the conversion loading unit reproduces the management information. It is possible to reduce the overhead required to read the historical information at a time and speed up the restoration process of the management information.
実施例1 第1図は本発明における実施例の基本構成を示し、第3
図〜第5図は同実施例の説明図である。Embodiment 1 FIG. 1 shows the basic structure of an embodiment of the present invention,
5 to 5 are explanatory views of the same embodiment.
第1図において、10は記憶媒体管理部、1はデータ管
理部、2は記憶媒体内のデータを管理する管理情報を格
納する内部記憶装置であり、通常は内部メモリを使用す
るが管理情報が特に大きい場合には、スワップ用として
ハードディスクなどの補助記憶媒体が併用されることも
ある。3は記憶媒体内に記録された管理情報とその履歴
情報を読み出し内部記憶装置2に復元する変換ロード
部、4は複数のセクタに分散して記録された履歴情報を
パッキングした形で記録する更新処理部、5は記憶媒体
へ記録再生を行う記憶媒体制御手段、6は記憶媒体でそ
の内部のデータ配置を示している。In FIG. 1, 10 is a storage medium management unit, 1 is a data management unit, and 2 is an internal storage device that stores management information for managing data in the storage medium. Normally, an internal memory is used, but the management information is If it is particularly large, an auxiliary storage medium such as a hard disk may be used together for swap. Reference numeral 3 is a conversion load unit for reading out management information recorded in the storage medium and its history information and restoring it to the internal storage device 4. Reference numeral 4 is an update for recording the history information dispersedly recorded in a plurality of sectors in a packed form. A processing unit, 5 is a storage medium control means for recording / reproducing on / from the storage medium, and 6 is a storage medium showing the data arrangement therein.
第1図の太実線は更新処理部4の履歴情報まとめる場合
の指示とデータの流れを示し、細実線は初期設定時の変
換ロード部3による管理情報の復元時のデータの流れを
示している。A thick solid line in FIG. 1 indicates an instruction and a data flow when the update processing unit 4 collects the history information, and a thin solid line indicates a data flow when the management information is restored by the conversion loading unit 3 at the time of initialization. .
以下、本実施例では特にこういった管理方式を用いるこ
とによる効果が大きい記憶媒体である追記型光ディスク
を記憶媒体として例に挙げて説明する。In the present embodiment, a write-once optical disc, which is a storage medium that is particularly effective when using such a management method, will be described below as an example of the storage medium.
第3図は交代セクタ方式を行う場合の管理情報(以下、
変換表と略記)の一例を示すものであり、第4図は1件
ごと個別の履歴情報を記録した物理セクタ40の概略図
を示している。Fig. 3 shows the management information (hereinafter,
FIG. 4 shows a schematic diagram of the physical sector 40 in which individual history information is recorded for each case.
第3図の31はクラスタ番号、32は物理セクタ番号で
あり、この変換表は初期設定時に内部記憶装置2内に復
元ロードされている。クラスタ番号31はデータ管理部
1が光ディスク6への記録指示を識別するための論理ア
ドレスであり、光ディスク内での実際のアドレスである
記録セクタ番号は物理セクタ番号32に記録されてい
る。例えば、クラスタ番号13の内容は実際には物理セ
クタ番号01FFに記録されていることを示す。データ
管理部1からの再生指示はこの変換表により、物理セク
タ番号32に変換され、実際の記録位置がアクセスされ
る。また記録指示の場合は光ディスク内に新しい物理セ
クタを割当、変換表内の該当クラスタ番号がこの新しい
物理セクタ番号を指すよに内部記憶装置2内の変換表を
書き換える。また、変換表の書換内容を表す履歴情報を
光ディスク6に記録する(例えば、履歴情報は第4図4
1の様になる)。In FIG. 3, 31 is a cluster number and 32 is a physical sector number, and this conversion table is restored and loaded in the internal storage device 2 at the time of initialization. The cluster number 31 is a logical address for the data management unit 1 to identify the recording instruction to the optical disc 6, and the recording sector number which is the actual address in the optical disc is recorded in the physical sector number 32. For example, it indicates that the contents of the cluster number 13 are actually recorded in the physical sector number 01FF. The reproduction instruction from the data management unit 1 is converted into the physical sector number 32 by this conversion table, and the actual recording position is accessed. In the case of a recording instruction, a new physical sector is allocated in the optical disk, and the conversion table in the internal storage device 2 is rewritten so that the corresponding cluster number in the conversion table points to this new physical sector number. Further, history information representing the rewriting contents of the conversion table is recorded on the optical disc 6 (for example, the history information is shown in FIG.
1).
変換表自体は内部記憶装置2内に最新の状態で管理され
ているため、変更毎に必ずしも変換情報を6に記録する
必要はなく、記憶媒体6の交換時やシステムの電源を落
とす場合等にまとめて記録することも可能であるが、シ
ステムの障害時や電源異常など不慮の場合には、内部記
憶装置2内の変換表が光ディスク内に反映されず、光デ
ィスク内のデータと管理情報に食い違いが発生し、次回
の使用時にこの記憶媒体が読めなくなるなどの信頼性の
上で問題が多い。このため、一般的な方式ではこの問題
点を防止するために、変換表は内部記憶装置内の変換表
を更新すると同時に光ディスクにも履歴情報を記録する
方式が採られている。しかし通常の光ディスクに対して
は、物理セクタ単位での書き込みが行われるため、こう
いった履歴情報は個々の物理セクタにバラバラに記録さ
れることになり、逆に以下の様な問題点が発生する。Since the conversion table itself is managed in the latest state in the internal storage device 2, it is not always necessary to record the conversion information in 6 every time the change is made, and when the storage medium 6 is replaced or the system is powered off, for example. It is possible to record all at once, but in the event of a system failure or power failure, the conversion table in the internal storage device 2 will not be reflected in the optical disc, and the data in the optical disc and the management information will not match. Occurs, and this storage medium becomes unreadable at the next use, and there are many problems in terms of reliability. Therefore, in the general method, in order to prevent this problem, a method of updating the conversion table in the internal storage device and simultaneously recording history information on the optical disc is adopted. However, since writing is performed in units of physical sectors on an ordinary optical disc, such history information is recorded in each physical sector separately, and conversely the following problems occur. To do.
履歴情報が多数の物理セクタにばらばらに記録されてい
る場合には、初期設定時の変換表の復元時に読みださね
ばならないセクタ数が非常に多くなり、処理時間の悪化
する原因となる。特に回転待ちが必要なためシーク時間
が他の記憶媒体よりも遅いとされる光ディスクなどの記
憶媒体では、この多数のセクタ読み出しに要するオーバ
ーヘッドは極めて大きなものとなる。履歴情報を記録さ
れたセクタが連続的に記録されている場合には、複数セ
クタの一括読出しなどにより幾分読み出しのオーバーヘ
ッドを改善することは出来るが、この方法ではバッファ
リング用に大容量のメモリを必要とするため、メモリの
制約により実現が困難である場合や効果が制限される場
合が多い。If the history information is recorded in a large number of physical sectors, the number of sectors that must be read when restoring the conversion table at the time of initialization becomes very large, which causes deterioration of the processing time. In particular, in a storage medium such as an optical disk whose seek time is considered to be slower than that of other storage media due to the necessity of waiting for rotation, the overhead required for reading a large number of sectors becomes extremely large. When the sectors in which the history information is recorded are continuously recorded, the read overhead can be improved to some extent by batch reading of multiple sectors, but with this method, a large capacity memory for buffering is used. In many cases, it is difficult to realize due to memory constraints and the effects are limited.
本実施例では、複数の物理セクタに散在して記録された
個別の履歴情報を1つの物理セクタにまとめて記録(以
下、パック履歴情報セクタと略記)することにより、こ
の初期設定時の処理速度の低下を防止する。In this embodiment, the individual history information scattered and recorded in a plurality of physical sectors is collectively recorded in one physical sector (hereinafter, abbreviated as a pack history information sector), so that the processing speed at the time of this initialization is set. Prevent the decrease of.
第5図の50にこのパック履歴情報セクタの例を示す。
51は複数の物理セクタに記録された履歴情報41をま
とめたものであり、52は次の履歴情報の位置を記録し
た位置情報である(履歴情報やパック履歴情報セクタを
連続したアドレスに記録する場合や、履歴情報の中に次
の履歴情報へのポインタを持つような場合には、52の
ような情報は持つ必要がない)。An example of this pack history information sector is shown at 50 in FIG.
Reference numeral 51 is a collection of history information 41 recorded in a plurality of physical sectors, and 52 is position information recording the position of the next history information (records history information and pack history information sectors at consecutive addresses). In the case where the history information has a pointer to the next history information, it is not necessary to have information such as 52).
また、個別の履歴情報やパック履歴情報セクタを記録す
る一定のアドレス範囲を設けて連続したセクタに記録す
れば、更に読み出しのオーバーヘッドは改善できる。Further, if a fixed address range for recording individual history information or pack history information sectors is provided and data is recorded in consecutive sectors, the read overhead can be further improved.
このようなパック履歴情報セクタの例として、例えば本
実施例の交替セクタ方式では、クラスタ番号及び物理セ
クタ番号にそれぞれ4バイトもあれば十分であり、記憶
媒体の物理セクタが512バイトの場合には、パック履
歴情報セクタには、60個以上の履歴情報が記録できる
ことになる。このため単純計算では、初期設定時のセク
タ再生に要するオーバーヘッドが1/60以下に軽減でき
る。As an example of such a pack history information sector, for example, in the alternate sector method of the present embodiment, it is sufficient if the cluster number and the physical sector number each have 4 bytes, and if the physical sector of the storage medium is 512 bytes. In the pack history information sector, 60 or more pieces of history information can be recorded. Therefore, in the simple calculation, the overhead required for sector reproduction at the initial setting can be reduced to 1/60 or less.
また、このパック履歴情報セクタを用いる方法に加え
て、一定時点で内部記憶装置2内に復元されている最新
の変換表をそのままバックアップの形で記憶媒体内に記
録(以下、ソート変換表と略記)する方法もある。この
場合、変換表のサイズなど若干のヘッダ情報が付加され
る場合もある。このソート変換表の記録後の変換表の変
更の際には、このソート変換表を起点として履歴情報が
記録される。In addition to the method using the pack history information sector, the latest conversion table restored in the internal storage device 2 at a certain time is directly recorded in the storage medium as a backup (hereinafter, abbreviated as a sort conversion table). There is also a way to do). In this case, some header information such as the size of the conversion table may be added. When the conversion table is changed after recording this sort conversion table, history information is recorded starting from this sort conversion table.
この場合の初期設定時には、まずこのソート変換表が読
みだされ、次にパック履歴情報セクタを読み出し、最後
にまだパックされていない個別の履歴情報を順次読み出
し、内部記憶内に管理表を復元する。At the time of initialization in this case, the sort conversion table is first read, then the pack history information sector is read, and finally, individual history information that has not yet been packed is sequentially read to restore the management table in the internal storage. .
本実施例において、第2図のように記憶媒体制御手段5
への指示を仮想的な論理アドレスとして扱い、実際の記
憶媒体内での記録位置へ変換するようなページングマッ
プ7を利用すれば、パック履歴情報セクタ・個別の履歴
情報を記録したセクタ・ソート変換表の記録位置をそれ
ぞれ一定の記録アドレス範囲に設定した場合でも、記憶
媒体上に予め設定領域全体を確保しておく必要がなくな
り、使用状況に応じてページングを動的に変えて領域を
光ディスク上にマッピングすることができ、そのため、
領域管理が簡単となる上、記録領域の無駄がなくなる。
記録アドレス範囲は使用状況により、どの程度必要とす
るかが不明であるが、この方法では大きめのアドレス範
囲を設定しても、領域の無駄は無い(例えば、パック履
歴情報セクタの記録アドレス範囲として、10000セ
クタ分のアドレスを設定した場合でも、光ディスク上に
は10000セクタ分を確保しておく必要はない)。In the present embodiment, the storage medium control means 5 as shown in FIG.
Is used as a virtual logical address, and if the paging map 7 is used to convert to a recording position in the actual storage medium, pack history information sector / sector recording individual history information / sort conversion Even if the recording position of the table is set to a fixed recording address range, it is not necessary to secure the entire set area on the storage medium in advance, and the paging can be dynamically changed according to the usage situation to set the area on the optical disk. Can be mapped to
Area management is simplified, and the recording area is not wasted.
It is unclear how much the recording address range is needed depending on the usage situation, but even if a large address range is set by this method, there is no waste of area (for example, as the recording address range of the pack history information sector. Even if the address for 10,000 sectors is set, it is not necessary to reserve 10,000 sectors on the optical disk).
実施例2 第6図にHSF互換方式に本発明を適用した場合の構成
図を示す。第6図において、10は記憶媒体管理部、1
はデータ管理部、2は内部記憶装置であり、この内には
HSFとの互換性を実現するための管理情報であるパス
テーブル(以下、PTと略記)21及びディレクトリフ
ァイルアドレス変換テーブル(以下、DTと略記)22
が格納される。3はPT21及びDT22を光ディスク
6内の履歴情報から読出して再生する変換ロード部、4
は複数のセクタに分散して記録された履歴情報をまとめ
た形で記録する更新処理部、5は記憶媒体へ記録再生を
行う記憶媒体制御手段、6は追記型光ディスクとその内
部のデータ配置、7は記憶媒体管理部10が扱う論理ア
ドレスを光ディスク上の物理アドレスにページ単位に動
的にマッピングするためのページングマップである。第
6図中の破線矢印は、管理情報及びデータファイルの再
生時のアクセス経路を示している(実線については、実
施例1の第1図、第2図と同様)。Embodiment 2 FIG. 6 shows a block diagram when the present invention is applied to an HSF compatible system. In FIG. 6, 10 is a storage medium management unit, and 1
Is a data management unit, 2 is an internal storage device, in which a path table (hereinafter abbreviated as PT) 21 and a directory file address conversion table (hereinafter, referred to as PT) that is management information for realizing compatibility with HSF are provided. Abbreviated as DT) 22
Is stored. 3 is a conversion load unit for reading out and reproducing the PT 21 and DT 22 from the history information in the optical disc 6.
Is an update processing unit for collectively recording the history information distributed and recorded in a plurality of sectors, 5 is a storage medium control unit for performing recording / reproduction on a storage medium, 6 is a write-once optical disc and data arrangement inside thereof, Reference numeral 7 is a paging map for dynamically mapping the logical address handled by the storage medium management unit 10 to the physical address on the optical disk in page units. A broken line arrow in FIG. 6 indicates an access path at the time of reproducing the management information and the data file (the solid line is the same as in FIGS. 1 and 2 of the first embodiment).
DT22はディレクトリファイル(以下、DFと略記)
の更新を効率的に行うために導入されたテーブルであ
る。これは次ない説明するDFの更新時の問題点を回避
する目的で導入されている(参考文献:日経エレクトロ
ニクス『光ディスクの上位レベル・フォーマット、標準
化への挑戦』、1988年7月25日号)。DT22 is a directory file (hereinafter abbreviated as DF)
Is a table introduced in order to efficiently update. This is introduced for the purpose of avoiding the problems when updating the DF, which will not be explained next (Reference: Nikkei Electronics, "High-level format of optical discs, challenge to standardization", July 25, 1988). .
HSFのディレクトリ構造ではDF内に親ディレクトリ
DFやサブディレクトリDFの位置情報である論理ブロ
ック番号を記録している。HSFのファイルシステム
(第6図ではデータ管理部1の再生処理機能に相当す
る)では、このDF内の位置情報によりディレクトリ間
の階層構造を参照している。追記型光ディスク6では書
換が出来ないため、ファイルの追加等の場合のDFの更
新は、未使用の別のブロックに追記することにより行わ
れる。このためDFのアドレスが変化することになる。
ところが、HSFのDFでは親ディレクトリDFやサブ
ディレクトリDFは、この更新されたDFに対する位置
情報として変更前のアドレスを記録しているため、この
アドレスを付け替えるためにこれらのDFも連鎖的に更
新する必要が生じ、DFの更新がディレクトリ全体に波
及するという問題が生ずる。そこでこれを解決する方法
として、ディレクトリのアドレスとして仮想のアドレス
を割り振り、ディレクトリ間の参照関係は、この仮想の
DFアドレスにより構成する。実際にDFが記録された
実アドレスとの対応はDTに記録する。この方法を用い
れば、DFの更新が起こった場合でも、仮想のDFアド
レスは変化しないため、DT22内のアドレスを更新し
たDFを記録したアドレスを指すように書換えるだけで
すむため、先の様な問題が発生せずDFの更新を効率よ
く実現できるのである。In the directory structure of HSF, a logical block number, which is position information of the parent directory DF and the subdirectory DF, is recorded in the DF. In the HSF file system (corresponding to the reproduction processing function of the data management unit 1 in FIG. 6), the hierarchical structure between directories is referred to by the position information in this DF. Since the rewritable optical disc 6 cannot be rewritten, the DF is updated when a file is added or the like by additionally writing to another unused block. Therefore, the address of DF changes.
However, in the HSF DF, the parent directory DF and the sub-directory DF record the address before the change as the position information for the updated DF, and therefore these DFs are also updated in a chain in order to replace this address. The need arises, and the problem that the update of DF spreads to the entire directory occurs. Therefore, as a method of solving this, a virtual address is allocated as the address of the directory, and the reference relationship between the directories is configured by this virtual DF address. The correspondence with the actual address where the DF is actually recorded is recorded in the DT. If this method is used, the virtual DF address does not change even if a DF update occurs, so it is only necessary to rewrite the address in DT22 to point to the address that recorded the updated DF. The DF can be efficiently updated without causing any problems.
ファイルの追加やディレクトリの作成等の場合の、管理
情報であるPTやDTの更新は内部記憶装置2内のDT
22及びPT21を更新すると共に、光ディスク6内に
は履歴情報を記録する。初期設定時には、変換ロード部
3により、この両テーブルの履歴情報を記録した多数の
セクタを読出して、DT22及びPT21を復元する必
要があるため、実施例1の交替セクタ方式の場合と同様
に大きなオーバーヘッドとなる。In the case of adding a file or creating a directory, the management information PT and DT are updated by the DT in the internal storage device 2.
22 and PT21 are updated, and the history information is recorded in the optical disc 6. At the time of initial setting, the conversion load unit 3 needs to read a large number of sectors in which history information of both tables is recorded and restore the DT 22 and PT 21, so that it is large as in the case of the replacement sector method of the first embodiment. It becomes an overhead.
本実施例では更新処理部により、個別のブロックに記録
されたこれら両テーブルの履歴情報をパッキングしてま
とめて1つのセクタに記録することにより、初期設定時
の両テーブルの復元処理を高速化している(履歴情報の
中にどちらのテーブルの履歴情報かを識別するフラグが
あれば、履歴情報を混在させることが可能で、本実施例
の場合の様に、PTの履歴情報の様に比較的データ量の
多い履歴情報とDTの履歴情報の様に比較的少ない履歴
情報を同一セクタ内に効率よくパッキングすることが可
能である)。また、規定個数の履歴情報が作成された時
点や特にデータ管理部から指示を発した時点で、内部記
憶装置2内のPT21及びDT22をバックアップする
形で光ディスク6に記録する(実施例1でのソート変換
表に対応する)ことにより、この処理をさらに高速化す
ることが可能である。In the present embodiment, the update processing unit packs the history information of both tables recorded in individual blocks and records them together in one sector, thereby speeding up the restoration processing of both tables at the time of initialization. (If the history information has a flag for identifying which table's history information, it is possible to mix history information. As in the case of the present embodiment, history information of PT is relatively large. It is possible to efficiently pack a relatively small amount of history information such as a large amount of history information and DT history information in the same sector). Further, at the time when a prescribed number of pieces of history information are created or particularly when an instruction is issued from the data management unit, the PT21 and DT22 in the internal storage device 2 are recorded on the optical disk 6 in a backup form (in the first embodiment). This processing can be further speeded up by using a sort conversion table).
発明の効果 本発明により、管理情報とその履歴情報を記録する記憶
媒体の管理システムにおいて、初期設定時の管理情報復
元処理の高速化が実現でき、こういった管理システムが
使用される文書ファイリングシステムや計算機の内部記
憶装置の利用上の効果が期待できる。EFFECTS OF THE INVENTION According to the present invention, in a management system of a storage medium for recording management information and its history information, speeding up of management information restoration processing at the time of initial setting can be realized, and a document filing system using such a management system. It can be expected to be effective in using the internal storage device of the computer.
第1図は交代セクタ方式に用いた場合の本発明における
1実施例の構成図、第2図は同実施例の変形例を示す構
成図、第3図〜第5図は同実施例の説明図、第6図はH
SF互換方式に用いた場合の本発明の実施例の構成図で
ある。 10・・・記憶媒体管理部、1・・・データ管理部、2
・・・内部記憶装置、3・・・変換ロード部、4・・・
更新処理部、5・・・記憶媒体制御手段、6・・・記憶
媒体、7・・・ページングマップ、30・・・変換表、
31・・・クラスタ番号、32・・・物理セクタ番号、
41・・・履歴情報、42・・・履歴情報、43・・・
次位置情報、21・・・パステーブル、22・・・ディ
レクトリファイルアドレス変換テーブル。FIG. 1 is a block diagram of one embodiment of the present invention when used in the alternate sector system, FIG. 2 is a block diagram showing a modification of the same embodiment, and FIGS. 3 to 5 are explanations of the same embodiment. Figures and 6 show H
It is a block diagram of the Example of this invention when using for a SF compatible system. 10 ... Storage medium management unit, 1 ... Data management unit, 2
... Internal storage device, 3 ... Conversion load unit, 4 ...
Update processing unit, 5 ... Storage medium control means, 6 ... Storage medium, 7 ... Paging map, 30 ... Conversion table,
31 ... Cluster number, 32 ... Physical sector number,
41 ... History information, 42 ... History information, 43 ...
Next position information, 21 ... Path table, 22 ... Directory file address conversion table.
Claims (6)
同一の媒体に記録する記憶媒体と、前記記憶媒体に記録
再生を行う記憶媒体制御部と、前記更新履歴情報を用い
て管理情報を復元する変換ロード部と、復元された管理
情報を格納する内部記憶装置と、復元された管理情報を
用いてデータの記録再生を指示するデータ管理部と、復
元された管理情報を処理する更新処理部を備え、前記更
新処理部は前記記憶媒体の複数の物理セクタ内に記録さ
れた更新履歴情報を1つのセクタにパッキングして再記
録する機構を有することを特徴とする記憶媒体管理シス
テム。1. A storage medium for recording data, management information and update history information thereof on the same medium, a storage medium control unit for recording and reproducing the storage medium, and restoring management information using the update history information. A conversion load unit, an internal storage device that stores the restored management information, a data management unit that instructs recording and reproduction of data using the restored management information, and an update processing unit that processes the restored management information The storage medium management system according to claim 1, wherein the update processing unit has a mechanism for packing update history information recorded in a plurality of physical sectors of the storage medium into one sector and re-recording the same.
して再記録したセクタの少なくとも1種のセクタの記録
アドレスを、一定の連続したアドレス範囲に設定するこ
とを特徴とする特許請求の範囲第1項記載の記憶媒体管
理システム。2. A recording address of at least one sector of a sector in which history information is recorded or a sector in which packing and re-recording are performed is set in a constant continuous address range. Storage medium management system according to item.
同一の媒体に記録する記憶媒体と、前記記憶媒体に記録
再生を行う記憶媒体制御部と、前記更新履歴情報を用い
て管理情報を復元する変換ロード部と、復元された管理
情報を格納する内部記憶装置と、復元された管理情報を
用いてデータの記録再生を指示するデータ管理部と、復
元された管理情報を処理する更新処理部を備え、前記更
新処理部は、一定の時点で前記内部記憶装置内に復元さ
れた管理情報を前記記憶媒体内にバックアップする機構
を有し、前記変換ロード部はバックアップされた管理情
報を起点とし、前記バックアップ以後の履歴情報から最
新の管理情報を復元する機構を有することを特徴とする
記憶媒体管理システム。3. A storage medium for recording data, management information, and update history information thereof on the same medium, a storage medium control unit for recording and reproducing data on the storage medium, and restoring the management information using the update history information. A conversion load unit, an internal storage device that stores the restored management information, a data management unit that instructs recording and reproduction of data using the restored management information, and an update processing unit that processes the restored management information The update processing unit has a mechanism for backing up the management information restored in the internal storage device in the storage medium at a certain point in time, and the conversion loading unit uses the backup management information as a starting point. A storage medium management system having a mechanism for restoring the latest management information from the history information after the backup.
タ内に記録された更新履歴情報を1つのセクタにパッキ
ングして再記録する機構をもつことを特徴とする特許請
求の範囲第3項記載の記憶媒体管理システム。4. The update processing unit has a mechanism for packing update history information recorded in a plurality of physical sectors of a storage medium into one sector and re-recording the update history information. Storage medium management system according to item.
プする管理情報を記録するセクタの少なくとも1種のセ
クタの記録アドレスを、一定の連続したアドレス範囲に
設定することを特徴とする特許請求の範囲第3項記載の
記憶媒体管理システム。5. A recording address of at least one sector of a sector in which history information is recorded or a sector in which management information to be backed up is recorded, is set to a constant continuous address range. The storage medium management system according to item 3.
て再記録したセクタ又はバックアップする管理情報を記
録するセクタの少なくとも1種のセクタの記録アドレス
を、一定の連続したアドレス範囲に設定することを特徴
とする特許請求の範囲第4項記載の記憶媒体管理システ
ム。6. A recording address of at least one sector of a sector in which history information is recorded, a sector in which packing and re-recording are performed, or a sector in which management information to be backed up is recorded is set in a constant continuous address range. The storage medium management system according to claim 4, characterized in that:
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18491488A JPH063577B2 (en) | 1988-07-25 | 1988-07-25 | Storage media management system |
| US07/773,993 US5214781A (en) | 1988-07-25 | 1991-10-09 | Method of managing storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18491488A JPH063577B2 (en) | 1988-07-25 | 1988-07-25 | Storage media management system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0233621A JPH0233621A (en) | 1990-02-02 |
| JPH063577B2 true JPH063577B2 (en) | 1994-01-12 |
Family
ID=16161542
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP18491488A Expired - Fee Related JPH063577B2 (en) | 1988-07-25 | 1988-07-25 | Storage media management system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH063577B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| ES2348906T3 (en) * | 2001-04-24 | 2010-12-16 | Koninklijke Philips Electronics N.V. | DEVICE AND PROCEDURE FOR RECORDING. |
| CN101030390B (en) | 2002-07-01 | 2010-04-21 | 松下电器产业株式会社 | Optical disc device and optical disc recording method |
| EP1426962A2 (en) | 2002-11-15 | 2004-06-09 | Matsushita Electric Industrial Co., Ltd. | Recording apparatus and recording method with data recovery means |
| CN100474432C (en) * | 2003-06-26 | 2009-04-01 | 皇家飞利浦电子股份有限公司 | Recorder and method for recording information on write-once recording medium |
| JP2021114164A (en) | 2020-01-20 | 2021-08-05 | 富士通株式会社 | Storage device and storage control method |
-
1988
- 1988-07-25 JP JP18491488A patent/JPH063577B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0233621A (en) | 1990-02-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5214781A (en) | Method of managing storage medium | |
| CA2207735C (en) | Storage of computer data | |
| US6542975B1 (en) | Method and system for backing up data over a plurality of volumes | |
| KR101087906B1 (en) | File recorder | |
| CA2308681C (en) | Method and apparatus for storage of data | |
| US5113512A (en) | System for managing a storage medium reducing physical space needed | |
| EP2333653A1 (en) | Information backup/restoring apparatus and information backup/restoring system | |
| JPH056889B2 (en) | ||
| JP5141402B2 (en) | Storage system, copy control method, and copy control apparatus | |
| JP2804115B2 (en) | Disk file system | |
| KR20030011099A (en) | Method and devices for storing and reading data on a storage medium and storage medium | |
| JP4130808B2 (en) | Formatting method | |
| WO2005066787A1 (en) | Information recording medium | |
| JPH063577B2 (en) | Storage media management system | |
| JPH0330034A (en) | Optical disk file management method | |
| JP4585052B2 (en) | Data recording system | |
| JP3725375B2 (en) | Data reorganization method in storage media library | |
| JP4079244B2 (en) | Reorganization processing method for write-once type storage media volume | |
| CN1166227A (en) | A file system for managing records and retrieving information files | |
| JPH01319820A (en) | Memory medium control system | |
| JPH0644118A (en) | File backup system | |
| JPH04289931A (en) | Variable length file managing system | |
| JPH02132516A (en) | Writable optical disc management system and method | |
| JPH01236488A (en) | Rewritable type optical disk control system | |
| JPH0664521B2 (en) | Writable optical disk management method and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |