JP3777202B2 - Information recording / reproducing device - Google Patents
Information recording / reproducing device Download PDFInfo
- Publication number
- JP3777202B2 JP3777202B2 JP18025595A JP18025595A JP3777202B2 JP 3777202 B2 JP3777202 B2 JP 3777202B2 JP 18025595 A JP18025595 A JP 18025595A JP 18025595 A JP18025595 A JP 18025595A JP 3777202 B2 JP3777202 B2 JP 3777202B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- recording
- management table
- management data
- file
- 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
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【0001】
【発明の属する技術分野】
この発明は、フロッピディスク等の磁気ディスクや光ディスクのような記録媒体に情報の記録又は再生を行う情報記録再生装置に関し、特にその情報記録再生装置における情報のファイル及びその管理データを管理する手段に関する。
【0002】
【従来の技術】
情報記録再生装置に用いられる記録媒体には、フロッピディスク等の着脱自在な磁気ディスクや取外し不能であるが容量の大きい内蔵型磁気ディスクのような書換え可能な磁気ディスク、或はそれぞれ磁気ディスクより記録密度が高い追記型の光ディスク(狭義)や書換え可能な光磁気ディスクのような着脱自在な光ディスク(広義)がある。
【0003】
これらの記録媒体に情報の記録又は再生を行うためには、記録時に1組の情報であるファイル毎にファイル名又はファイル番号と共に、そのファイルが記録媒体上のどこに記録されているかを示すサーフェイス番号,トラック番号,セクタ番号からなるアドレス及び使用するセクタ数等をそのファイルの管理データとして登録し、それらの管理データをまとめたファイル管理テーブルを作成しておく。再生時にはファイル名又はファイル番号によりテーブルを検索して、得られたアドレスから情報を再生する。
【0004】
このファイル管理テーブルは、例えばMS−DOS(米国マイクロ・ソフト社のディスク基準オペレーティング・システム:同社の登録商標)におけるFAT(ファイル・アロケーション・テーブル)が相当し、一般に広く使われているので、以下「ファイル管理テーブル」を「FAT」ともいう。
【0005】
このFATは情報の記録,再生,抹消等が行われる度に必要になるので、必ず記録媒体上に記録されており、特に着脱自在な記録媒体の場合は極めて重要である。
【0006】
万一、FATが破壊又は再生不能になると記録された貴重な情報が失われることになるから、そのような重大事故を防止するため、同一内容のFATが複数の互いに独立した領域にそれぞれ格納されている。例えば記録媒体が光磁気ディスク7の場合、図10に示すように少くともその記録面30の最外周部と最内周部のFAT領域31a,31bの2箇所、あるいは更に仮想線で示したようなFAT領域31c…を設けて、それぞれにFATが格納されており、FAT領域の数(即ちFATの数)nが多いほど安全性は向上する。
【0007】
情報再生時には、これらの領域のうちのいずれかの領域、例えばFAT領域31aのFATを読出し、FAT領域31aから読出せない時にFAT領域31bからFATを読出せばよいから、FAT領域の数nが多くても余り問題にならない。しかしながら、情報記録及び抹消時にはn個すべてのFAT領域31a,31b,31c…のFATを更新しなければならないから、図示しないヘッドの半径方向の移動が多くなって記録及び抹消時のアクセス速度が低下し、それだけ情報記録再生装置の作業効率が悪くなる。
【0008】
そのため、例えば特開平5−303528号公報に示されたようなライトバック式ディスクキャッシュ装置の提案があった。すなわち、アクセスされたブロック(管理データに相当)を含む1トラック分程度のデータをグループとしてキャッシュバッファ上でアドレス順に管理し、情報書込みによって更新されたブロックがあればグループとして記録媒体にバックライトするという提案があった。
【0009】
【発明が解決しようとする課題】
しかしながら上記の提案は、キャッシュバッファとしてLRU(Least Recently Used:すなわち最も新しくアクセスされたブロックを保持する)方式のキャッシュバッファを使用し、しかもアクセスされたブロックを含むグループを転送単位として管理している。そのため必要とするブロック以外の余分なデータが多く、キャッシュバッファの容量を大きくとらないと少し前にアクセスされたブロックが欠落して了う。
【0010】
したがって、上位装置からアクセスされたファイルとキャッシュバッファ上のファイルのブロックとが必ずしも一致(ヒット)しない。即ちヒット率が悪いため、ヒットしないブロックは改めて記録媒体から再生しなければならず、かえってキャッシュバッファがない通常のアクセスよりもアクセス時間が遅くなるという問題があり、ヒット率を上げるためにはキャッシュバッファの容量をさらに大きくしなければならない。
【0011】
キャッシュバッファとして使用するキャッシュメモリは、機能上は通常のRAMで代用しても差支えないが、特に高速アクセスを必要とするデータについて、他のRAMよりもアクセス速度の速いRAMを用いるものであるから、実用上はコスト的に考えて、容量が少ないほどアクセス速度の速いRAMが使用出来、容量が大きければ他のRAMより若干速いRAMでも我慢しなければならない。
【0012】
この発明は上記の点に鑑みてなされたものであり、キャッシュバッファ上に形成されたFATのヒット率を高めて情報の記録及び再生のアクセス時間を短縮し、情報記録再生装置の作業効率の向上を計ることを目的とする。
【0013】
【課題を解決するための手段】
この発明は上記の目的を達成するため、複数個の各ファイル毎の管理データからなる同一内容のファイル管理テーブルがそれぞれ複数の領域に記録されている記録媒体に情報の記録又は再生を行う情報記録再生装置において、それぞれ次のようにしたものである。
【0014】
すなわち、ファイル管理テーブルを格納し得る管理テーブル格納領域を備えたキャッシュバッファと、上記記録媒体上の上記ファイル管理テーブルが記録されている領域の数と、そのファイル管理テーブルに含まれる管理データの数と、各ファイル管理テーブルのアドレスとを含むベース管理情報を、事前に上記記録媒体から読み出している上位装置から入力して上記キャッシュバッファに記憶させるベース情報入力手段と、上記キャッシュバッファ上の管理テーブル格納領域に形成される上記管理データに関する情報の領域をクリアする手段と、上記管理データに関する情報の領域をクリアした後に、記録媒体上の複数の領域のうちのいずれかの領域からファイル管理テーブルを読出してキャッシュバッファ上の管理テーブル格納領域に転送する管理テーブル転送手段とを設け、そのキャッシュバッファ上のファイル管理テーブル及び上記管理データに関する情報を用いて情報の記録,再生及び記録媒体上の複数の領域の各ファイル管理テーブルを管理するようにしたものである。
【0017】
さらに記録命令実行時に、該命令に伴って入力する管理データをキャッシュバッファ上の管理テーブル格納領域に登録する管理データ登録手段を設けるとよい。
【0018】
また非命令実行時に、管理データ登録手段によって登録されたキャッシュバッファ上のファイル管理テーブルの管理データのうち記録媒体上のファイル管理テーブルに記録されていない管理データを、該記録媒体上の複数の領域の各ファイル管理テーブルにそれぞれ記録する登録データ記録手段を設けるとよい。
【0019】
あるいは記録媒体を排出する時に、管理データ登録手段によって登録されたキャッシュバッファ上のファイル管理テーブルの管理データのうち記録媒体上のファイル管理テーブルに記録されていない管理データを、該記録媒体上の複数の領域の各ファイル管理テーブルにそれぞれ記録した後、記録媒体を排出する記録媒体排出手段を設けてもよい。
【0020】
【作用】
上記のように構成した情報記録再生装置は、初期設定時に管理テーブル転送手段がファイル管理テーブルを格納し得るキャッシュバッファ上の管理テーブル格納領域に、記録媒体上の複数の領域のうちのいずれかからファイル管理テーブルを読出して転送するから、キャッシュバッファ上には1組のファイル管理テーブルがすべて格納されている。
【0021】
したがって、ヒット率は100%であり、それほどアクセス速度の速いキャッシュバッファでなくても、いちいち記録媒体から読出す必要がないから有効アクセス速度は格段に向上する。そのキャッシュバッファ上の1組のファイル管理テーブルを用いて情報の記録,再生及び記録媒体上の複数の領域の各ファイル管理テーブルを管理するから、情報記録再生装置の作業効率が向上する。
【0025】
また、ベース情報入力手段が接続され、事前に記録媒体からベース管理情報を読み出している上位装置から、記録媒体上のファイル管理テーブルが記録されている領域の数と、各ファイル管理テーブルのアドレスを含むベース管理情報を入力して、同じキャッシュバッファ上又はRAM等に記憶することにより、OS(オペレーション・システム)のちがい、例えば同じMS−DOSでもそのヴァージョンのちがいによってそれぞれ領域の数や各ファイル管理テーブルのアドレスが異っていても、全く同様に処理することが可能になる。これは、特に交換,着脱が可能な記録媒体を使用する情報記録再生装置の場合、その効果が大きい。
【0026】
さらに、管理データ登録手段は記録命令実行時に、即ちファイル更新を含めて新しい管理データを記録する時に、該記録命令に伴って入力する管理データをキャッシュバッファ上の管理テーブル格納領域に登録する。
【0027】
したがって、新しい管理データが記録される度に、それを用いて記録媒体上の複数の領域の各ファイル管理テーブルが管理されるキャッシュバッファ上のファイル管理テーブルが更新されるが、その都度記録媒体上の各領域毎のファイル管理テーブルまで更新する訳ではないから、記録命令の実行時間が従来より短縮される。
【0028】
また登録データ記録手段は、非命令実行時すなわち記録命令又は再生命令実行時を除いた空き時間に、新しく登録されたキャッシュバッファ上のファイル管理テーブルの管理データのうち記録媒体上のファイル管理テーブルに記録されていない管理データを、記録媒体上の複数の領域の各ファイル管理テーブルにそれぞれ記録する。
【0029】
したがって、管理データ登録手段によって登録された新しいファイルの管理データは、この登録データ記録手段によって記録媒体上のすべてのファイル管理テーブルに記録され、該テーブルはすべて更新される。そのために、記録媒体上の領域の数にほぼ比例した時間が必要であるが、この処理は非命令実行時に行われるから、情報記録再生装置の作業効率をいささかも損なうことがない。
【0030】
あるいは、記録媒体排出手段は記録媒体を排出する時に、新しく登録されたキャッシュバッファ上の管理テーブル格納領域の管理データのうち記録媒体上の管理テーブルに記録されていない管理データが残っていれば、その残っている管理データを記録媒体上の複数の領域の各ファイル管理テーブルにそれぞれ記録した後、記録媒体を排出する。
【0031】
したがって、例えば記録命令が実行された直後に記録媒体の排出命令が出されて、管理データ登録手段が作用しなかった場合でも、記録媒体排出手段が作用して記録媒体上の各ファイル管理テーブルの更新が確実に行われたのち、記録媒体が排出される。
【0032】
【発明の実施の形態】
以下この発明の実施の形態を図面を参照して具体的に説明する。
図2はこの発明を実施した情報記録再生装置の例である光磁気ディスク装置の構成を示す回路図である。
【0033】
図2に示した光磁気ディスク装置1は、該装置全体の制御及び情報処理を行うCPU2と,ROM3,RAM4,キャッシュバッファ5からなるメモリグループと、記録媒体である光磁気ディスク7の読出しと書込みを制御するリード/ライト制御部6と、上位装置である例えばパーソナルコンピュータ,ワークステーション等のホストマシン9に接続されてデータ(情報)やコマンド(命令)等の入出力のインタフェースを制御するI/F制御部8とにより構成されている。
【0034】
CPU2はホストマシン9からのコマンドに応じ、ROM3に予め格納されているプログラムに従って光磁気ディスク装置1を構成する各部の制御や情報処理を行い、必要なデータを一時的にRAM4やキャッシュバッファ5に記憶させたり、記憶させたデータを読出して処理する。
【0035】
キャッシュバッファ5を構成するキャッシュメモリはRAMの一種であるが、一般に大容量のRAM4よりも容量が小さい代りにアクセス速度の速いメモリによって構成されている。最もアクセス速度の速いメモリは、CPUと同じチップ上に設けられたメモリであるが、その容量は限られたものでありレジスタ等の用途に限定されている場合が多いから、RAM4よりもアクセス速度の速いメモリ素子をCPU2の近傍に設け、キャッシュバッファ5として使用する。
【0036】
リード/ライト制御部6はそれぞれ図示しない変復調回路や誤り訂正回路等からなる情報処理系と、光磁気ディスク7への情報や管理データの書込み,読出し,消去を行う光ヘッドやその移動及び光磁気ディスク7の回転駆動を行う各サーボ機構系と、それらのサーボ機構系の制御を行うサーボ制御系とによって構成されている。
【0037】
ファイル即ち1組の情報は、光磁気ディスク7(図10)の記録面30の各FAT領域31a,31b…以外の領域に記録され、そのスタートアドレスや記録されたセクタ数等は該ファイルの管理データとしてFAT領域31a,31b…の各FATにそれぞれ記録される。磁気ディスクと異なり光磁気ディスクは片面にのみ記録が行われるから、アドレスはトラック番号,セクタ番号のみにより構成されている。
【0038】
この発明による光磁気ディスク装置1は、各ファイル毎の管理データからなるFATが初期設定時に1組全部、あるいは再生命令実行時にファイルが始めてアクセスされる都度その管理データが1個ずつキャッシュバッファ5に転送され、キャッシュバッファ5上の管理テーブル格納領域にFATが形成される。
【0039】
表1は、キャッシュバッファ5上のFATを、或いは該FATを用いて光磁気ディスク7上のファイル及び各FAT領域31a,31b,31c…のFATをそれぞれ管理するためにキャッシュバッファ5(又はRAM4)に記憶された管理情報の一例を示し、表1の(A)はFAT情報を、同じく(B)は光磁気ディスク7上のFAT管理情報を、同じく(C)はFATに含まれる各管理データの情報すなわちオフセット値とキャッシュ情報をそれぞれ示している。
【0040】
【表1】
【0041】
表1の(A)に示したFAT情報は、光磁気ディスク7上のFAT領域の数すなわちFATの数:nと、その1組のFATに含まれる管理データの数すなわちファイルの数:mとからなり、それぞれ初期設定時にホストマシン9が光磁気ディスク7から読出し、光磁気ディスク装置1のCPU2(ベース情報入力手段)が入力してキャッシュバッファ5(又はRAM4)に記憶させたものである。
【0042】
表1の(B)に示したFAT管理情報は、光磁気ディスク7上のn個のFAT領域の各スタートアドレスすなわち各FAT(FAT#1,FAT#2…FAT#n)のスタートアドレスにより構成されている。FATの数n及び各FATのスタートアドレスは、使用されているOSと記録媒体とによりそれぞれ異なり、光磁気ディスク装置1には分らないから、このFAT管理情報も表1の(A)に示したFAT情報と同じく、CPU2によってホストマシン9から入力して記憶される。
【0043】
表1の(C)に示した管理データ情報は、光磁気ディスク7上に記録されたm個のファイルの各管理データがn個のFAT#1,FAT#2…FAT#nにそれぞれ記録された時に、その管理データのスタートアドレスが各FATのスタートアドレスからどれだけ離れているかを示すオフセット値すなわちオフセット(1),オフセット(2)…オフセット(m)と、キャッシュバッファ5の管理テーブル格納領域に形成されたFATの各管理データに関する情報すなわちキャッシュ情報とにより構成されている。
【0044】
ここで、FATの数nはOS(オペレーティング・システム)と記録媒体とにより異なるといっても、通常のディスクではn=2が殆どであり、光磁気ディスクでn=3の場合もあるが、n≧4はまれである。しかも、一般に情報記録再生装置が上位装置に接続されてシステムが形成されると、途中でnが変化することはない。しかしながら、ファイルの数mは常に変化し、情報の抹消が行われた場合を除いて、情報の蓄積と共に増加する一方である。
【0045】
いま、整数i,jをそれぞれi=1〜n,j=1〜mとして、光磁気ディスク7上の或るFAT領域#iの管理データ(j)のスタートアドレスは、表1の(B)に示したFAT管理情報のFAT#iのスタートアドレスに、表1の(C)に示した管理データ情報の該管理データのオフセット(j)を加算させることにより得られる。
【0046】
表1の(C)に示した管理データ情報のキャッシュ情報は2個のフラグからなり、第1のフラグは当該管理データ(j)がキャッシュバッファ5上のFATに格納されている否かを示し、第2のフラグは管理データ(j)が光磁気ディスク7上のFAT#iに記録されているか否かを示す。
【0047】
すなわち、表1の(C)に示したように第0列がオフセット値、第i列がFAT#iのキャッシュ情報であり、第j行が管理データ(j)のオフセット(j)とキャッシュ情報であるから、第i列,第j行のキャッシュ情報(ij)の内容を第1,第2のフラグを順に並べて表わすと、例えばキャッシュ情報(23)の内容が{00}であれば、管理データ(3)がまだキャッシュバッファ5上のFATに格納されていないことを示し、光磁気ディスク7上のいずれかのFATから管理データ(3)がキャッシュバッファ5上のFATに転送されると、(第3行の他のキャッシュ情報と共に)内容が{11}に変る。
【0048】
また、例えばファイル(j)が新しく記録されると、その管理データのスタートアドレスからオフセット(j)が記憶されると共に、第j行のすべてのキャッシュ情報の内容が{10}になり、キャッシュバッファ5上の管理データが光磁気ディスク7上の各FAT領域のFAT#1,FAT#2…FAT#nに記録されるに従って、キャッシュ情報(1j),(2j)…(nj)の内容が順に{11}に変る。
【0049】
すなわち、初期設定時の当初は管理データ情報のすべてのキャッシュ情報の欄は{00}であり、管理データ(j)がキャッシュバッファ5上のFATに転送されれば、(光磁気ディスク7上のいずれの領域のFATからであっても)第j行のすべてのキャッシュ情報の内容が{11}になる。また新しい管理データ(j)がキャッシュバッファ5上のFATに登録されれば、第j行のすべてのキャッシュ情報が{10}になり、光磁気ディスク7上のFATに記録されれば{11}になる。
【0050】
図1はこの発明の第1実施例である光磁気ディスク装置の構成を示す機能ブロック図である。
図1に示した光磁気ディスク装置1は、それぞれがCPU2(図2)の作用を機能別に示すベース情報入力手段11,管理テーブル転送手段12,管理データ登録手段13,登録データ記録手段14,記録媒体排出手段15と、キャッシュバッファ5及び光磁気ディスク7とにより構成され、キャッシュバッファ5と光磁気ディスク7にはそれぞれファイル管理テーブル(FAT)5a,7aが設けられている。光磁気ディスク7上のFAT7aは実際は複数個であるが、図1では1個のFATで代表する。
【0051】
以下、各手段の作用をフロー図を参照して説明する。
図3は第1実施例の初期設定時におけるベース情報入力手段11と管理テーブル転送手段12の作用の一例を示すフロー図である。
【0052】
図3に示した初期設定のルーチンがスタートすると、先ずステップ1でベース情報入力手段11が作用して、表1の(A),(B)に示したFAT情報,FAT管理情報からなる基本的な管理情報であるベース管理情報を、ホストマシン9から入力してキャッシュバッファ5に記憶させる。次にステップ2に進んで、表1の(C)に示したキャッシュバッファ5上の管理データ情報の領域をクリアする。
【0053】
さらにステップ3で管理テーブル転送手段12が作用して、光磁気ディスク7上の複数のFAT7aのうちのいずれか1組をすべて読出してキャッシュバッファ5上のFAT領域に転送し、m個の管理データからなるFAT5aを形成すると共に、管理データ情報の領域のオフセット欄にオフセット(1)乃至オフセット(m)を登録し、第1行乃至第m行のすべてのキャッシュ情報を{11}にする。
【0054】
このようにして初期設定を終了し、通常の作業であるルーチン(A)にジャンプする。なお、ステップ2からエンドになってルーチン(B)にジャンプする破線で示したルートについては後述する第2実施例において説明する。
【0055】
図4は第1実施例の通常の作業の一例であるルーチン(A)を示すフロー図である。
図4に示したルーチン(A)がスタートすると、ステップ10でホストマシン9からコマンドが入力したか否かを判定して、否ならばステップ10に戻る。コマンドが入力していればステップ11に進んでコマンドの内容を判定し、再生命令ならばステップ12へ、記録命令ならばステップ15へそれぞれ進む。
【0056】
再生命令でステップ12へ進むと、指定されたアドレスによって再生命令の対象がファイルか管理データかを判定して、ファイルであればステップ13で光磁気ディスク7から読出し、管理データであればステップ14でキャッシュバッファ5のファイル管理テーブル5aから読出して、それぞれホストマシン9に転送したのちステップ10に戻る。
【0057】
記録命令でステップ15へ進むと、指定されたアドレスによって記録命令の対象がファイルか管理データかを判定して、ファイルであればステップ16で続いて入力するファイルの内容を光磁気ディスク7に記録してステップ10に戻る。管理データであればステップ17で指定されたアドレスを記憶した後、そのアドレスによってステップ18で記録対象であるFAT#iがi=1であるか否かを判定して、FAT#1であればステップ19に進んでアドレスに続く管理データの内容を入力し、キャッシュバッファ5のファイル管理テーブル5aに登録してステップ10に戻り、FAT#1でなければ管理データの内容を入力することなく、そのままステップ10に戻る。
【0058】
すなわち、管理データのみについて考えれば、再生命令の時はキャッシュバッファ5から読出してホストマシンに出力するから、その度に光磁気ディスク7から読出すよりも応答が速い。
また、記録命令の時もn個の各FATに対してその度に同一の内容を入力して光磁気ディスク7に記録することを繰返す代りに、n個のアドレスは入力して記憶し、内容は1回だけ入力してファイル管理テーブル5aに登録するだけであるから、応答は遥かに速くなる。
【0059】
図5は登録/抹消のサブルーチンの一例を示すフロー図である。
登録とは、新しいファイル(読出して内容の一部が修正されたものも新しいファイルと見做される)の内容を光磁気ディスク7に記録し、その管理データをFATに登録することであり、抹消とは、既に内容が記録され管理データが登録されているファイルを無効にすることである。
【0060】
しかしながら、登録の場合は、ファイルは図4に示したルーチン(A)で説明したように、記録命令によって内容が光磁気ディスク7に記録されるが、その管理データは記録命令によってキャッシュバッファ5に登録されていても光磁気ディスク7の各FATには記録されていない。
抹消の場合は、内容は光磁気ディスク7に残っていても、無効であることを示す管理データが記録命令によって登録されればよいから、管理データについて見れば登録も抹消も同じことである。
【0061】
図5に示した登録/抹消のサブルーチンがスタートすると、ステップ20でまだ光磁気ディスク7上のFAT7aに記録していない新しく登録された管理データ(登録データ)の有無、すなわち内容が{10}であるキャッシュ情報(1j)の有無を判定し、無ければリターンし、有ればステップ21へ進む。
【0062】
ステップ21では、CPU2が登録データ記録手段14(図1)として作用して、キャッシュバッファ5上の登録データ(j)をFAT#iに記録し、キャッシュ情報(ij)を{11}に変更することをi=1〜nのn回繰返した後ステップ22へ進む。ステップ22ではステップ20で説明したことと同じ判定を行って、有ればステップ21に戻り、無ければリターンする。
【0063】
図5に示した登録/抹消のサブルーチンがスタートすると、未記録の登録データをすべて処理し終らなければリターンしない。しかしながら、キャッシュバッファ5上のキャッシュ情報の変更に要する時間は極めて短かいから問題にならないが、光磁気ディスク7上の複数個ある領域のFATの管理データ(j)を変更するには、ヘッドのトラッキングのための移動に時間がかかるので、短時間では終らない。
【0064】
そのためホストマシン9から次のコマンドが入力しても暫らく待たせるようでは、光磁気ディスク装置1の作業効率を悪くして了う。従って、コマンドの割込みの優先度を高く設定して、コマンドが入力すれば登録/抹消のサブルーチンをストップして、コマンド命令を実行してからサブルーチンを再開するようにすればよい。
【0065】
あるいは、図5に示したサブルーチンのステップ22を削除して、ステップ21が終ればリターンするようにしてもよい。この場合は、サブルーチンのスタートから、最大でも未記録の登録データを1個処理する時間でリターンする。
【0066】
しかしながら、ホストマシン9からのコマンドが間を置かずに連続して入力する場合、例えば光磁気ディスク装置1が多数のホストマシンの共同データベースとして使用されるような極端な場合でも、必ずどこかに非命令実行時が存在し、その間このサブルーチンには何回もジャンプしてくるから、上記のような時間短縮のための変更を加えても実用上の障害は発生しない。
【0067】
ただし、コマンドの入力が頻発したため、それらの命令を実行した後に登録/抹消のサブルーチンがその後処理を実行している時に、光磁気ディスク7を取出す排出命令が入力すると、後処理が完了しないまま排出される恐れがある。
【0068】
図6は、そのような事故を防止するための記録媒体排出手段15であるCPU2のルーチンの一例を示すフロー図である。
光磁気ディスク7の排出命令が入力して図6に示した排出ルーチンがスタートすると、ステップ27で先ず図5に示した登録/抹消のサブルーチンにジャンプし、すべての未記録の登録データの処理が完了した後、ステップ28へ進んで記録媒体である光磁気ディスク7を排出してエンドになる。
【0069】
したがって、いかなる時に排出命令が入力しても、後処理が未完成のまま光磁気ディスク7が排出されることはない。同様に、特に図示はしないが、光磁気ディスク7を装着したまま誤って光磁気ディスク装置1の電源をオフする誤動作に備えて、電源オフ時にも図5に示した登録/抹消のサブルーチンを実行した後、電源が切れるようにするとよい。
【0070】
図7はこの発明の第2実施例である光磁気ディスク装置の構成を示す機能ブロック図であり、図7に示した第2実施例が第1実施例(図1)と異なる所は、管理テーブル転送手段12に代えて、同様にCPU2の作用を示す管理データ転送手段16を設けたことであり、その他の部分は全く同様であるから説明を省略する。
【0071】
この管理データ転送手段16は、ホストマシン9から再生命令のコマンドが入力した時に、アクセスされた管理データがキャッシュバッファ5上のFAT5aになかった場合に、その管理データを光磁気ディスク7上のFAT7aのうちのいずれかから読出して、FAT5aに転送すると共に、ホストマシン9に出力するものである。
【0072】
図7に示した第2実施例の初期設定は、図3に示した初期設定のルーチンにおいて、ステップ1とステップ2を終了した後、破線で示したようにエンドになって通常の作業であるルーチン(B)にジャンプする。従って、初期設定終了時には、表1の(A),(B)に示したFAT情報,FAT管理情報はキャッシュバッファ5上に記憶されているが、表1の(C)に示した管理データ情報の領域はクリアされたままである。
【0073】
図8は第2実施例の通常の作業の一例であるルーチン(B)を示すフロ−図である。
図8に示したルーチン(B)の各ステップは、ステップ34を除いてすべて図4に示したルーチン(A)の各ステップに対応する。即ち、ルーチン(B)のステップ30乃至ステップ33及びステップ35乃至ステップ39は、ルーチン(A)のステップ10乃至ステップ13及びステップ15乃至ステップ19とそれぞれ同じであるから説明を省略する。
【0074】
ステップ30で入力したコマンドが、ステップ31,32で管理データに対する再生命令であると判定されてステップ34へ進むと、再生処理のサブルーチンにジャンプし、サブルーチンの処理が終了してリターンしてくるとステップ30に戻る。
図9はルーチン(B)のステップ34からジャンプしてくる管理データの再生処理のサブルーチンの一例を示すフロー図である。
【0075】
図9に示した再生処理のサブルーチンがスタートすると、先ずステップ40でアクセスされた例えば管理データ(j)がキャッシュバッファ5上のFAT5aに格納されているか否かを判定する。そのため、キャッシュバッファ5上の管理データ情報の第j行のキャッシュ情報のいずれか1個の内容をチェックして、{10}又は{11}すなわち第1のフラグが立っていれば管理データ(j)がFAT5aに格納されていると判定してステップ42にジャンプし、{00}又は{01}すなわち第1のフラグが立っていなければステップ41へ進む。
【0076】
ステップ41ではCPU2が管理データ転送手段16(図7)として作用して、光磁気ディスク7上のFAT7aのいずれかから管理データ(j)を読出し、キャッシュバッファ5上のFAT5aに転送して格納すると共に、管理データ情報の第j行のキャッシュ情報(1j)乃至(nj)の内容をすべて{11}に変換して、ステップ42へ進む。
【0077】
ステップ42では第1実施例のルーチン(A)のステップ14(図4)と全く同様に、キャッシュバッファ5上のFAT5aから管理データ(j)を読出してホストマシン9に出力した後、メインのルーチン(B)にリターンする。
【0078】
以上説明した第1実施例と第2実施例とを比較すると、第1実施例は光磁気ディスク装置1の初期設定時に、管理テーブル転送手段12が光磁気ディスク7上の複数のFAT7aのうちのいずれかから、1組のFATのすべての情報をキャッシュバッファ5のFAT領域に転送してFAT5aを形成する。従って、ホストマシン9から管理データの再生命令のコマンドが入力した時のヒット率が100%であり、全くFAT7aから読出す必要がないから、アクセスされた管理データ(j)の出力開始までの時間が極めて短かい。
【0079】
しかしながら、キャッシュバッファ5は1組のFATをすべて格納するだけの容量が必要であり、1個の管理データの長さは短いといっても、例えば記録媒体が光磁気ディスクのように大容量のものであると記録可能なファイルの数mも大きくなるから、相当な容量のキャッシュバッファでなければならない。従って、コスト的にあまりアクセス速度の速い素子は使い難い。
【0080】
一方、ファイルの数mがいかに大きくても、また1日の作業でいかに多数回のアクセスが行われても、殆んどの場合に実際に使用されるファイルの数は限られたものであり、同じファイルが何回もアクセスされる場合が多い。
【0081】
第2実施例はホストマシン9から管理データの再生命令のコマンドが入力した時に、始めてアクセスされた管理データ(j)であれば、その管理データ(j)を光磁気ディスク7上のFAT7aのうちのいずれかから読出し、キャッシュバッファ5上のFAT5aに転送して格納する。従って、始めてファイル(j)がアクセスされた時は管理データ(j)の転送に時間を要するが、2回目以降のアクセスは第1実施例と全く同様である。
【0082】
この場合、キャッシュバッファ5は一日にアクセスされるファイルの最大数の容量があればよいから、第1実施例に比べて遥かに小容量で済み、それだけコスト的にもアクセス速度の速い素子を使用することが出来る。従って、第1実施例と同様に、用途によってはそれ以上に、光磁気ディスク装置の作業効率が向上する。
【0083】
また、第1及び第2実施例の共通した特徴は、ホストマシン9から新しいファイルを記録するコマンドが入力した時に、そのファイルの内容を記録する時間は同じでも、新しいファイルの管理データをキャッシュバッファ5上のFAT5aに登録するだけで管理データの記録命令の実行を終了するから、その都度光磁気ディスク7上の複数のFAT7aのすべてに登録していた従来の装置に比べて、新しいファイルの記録命令実行に伴う管理データ登録に要する時間が大幅に短縮され、作業効率が向上する。
【0084】
光磁気ディスク7上の複数のFAT7aへの新しいファイルの管理データの登録(記録)は、光磁気ディスク装置1の非命令実行時すなわちコマンドが入力していない時に実行するから、そのために作業効率が損なわれることがない。これは、光磁気ディスク7上に既に記録されているファイルを抹消する場合も全く同様であることは、既に説明した通りである。
【0085】
さらに、従来は管理データを(登録又は抹消)する場合に、光磁気ディスク7上の複数のFAT7aに対して、その都度ホストマシン9から各管理データのアドレスとその同じ内容を入力してそれぞれ記録していたが、この実施例では一度だけ入力した内容を登録したキャッシュバッファ5上のFAT5aの管理データと記憶したアドレスとを用いて実行されるから、ホストマシン9との通信時間が極めて短かくなり、ホストマシン9の作業効率も向上する。
【0086】
もし、記録(又は抹消)命令のコマンドの後処理としての光磁気ディスク7上のFAT7aの更新を終了していない時に、記録媒体排出のコマンド又は押ボタン等による指令が入力した場合は、FAT7aの更新が終了してから記録媒体を排出するから、更新未了の事故が防止出来る。これは誤って光磁気ディスク装置1の電源をオフした場合にも、簡単に適用することが出来る。
【0087】
【発明の効果】
以上説明したようにこの発明による情報記録再生装置は、記録媒体上に形成されたファイル管理テーブルのヒット率を高めて情報の記録及び再生のアクセス時間を短縮し、その作業効率を向上することが出来る。
【図面の簡単な説明】
【図1】この発明の第1実施例である光磁気ディスク装置の構成を示す機能ブロック図である。
【図2】この発明による情報記録再生装置の一実施例である光磁気ディスク装置の構成を示す回路図である。
【図3】図1に示した第1実施例の初期設定のルーチンの一例を示すフロー図である。
【図4】図1に示した第1実施例の作業の一例であるルーチン(A)を示すフロー図である。
【図5】図4に示したルーチン(A)が使用する登録/抹消のサブルーチンの一例を示すフロー図である。
【図6】記録媒体排出のルーチンの一例を示すフロー図である。
【図7】この発明の第2実施例である光磁気ディスク装置の構成を示す機能ブロック図である。
【図8】図7に示した第2実施例の作業の一例であるルーチン(B)を示すフロー図である。
【図9】図8に示したルーチン(B)が使用する再生処理のサブルーチンの一例を示すフロー図である。
【図10】この発明の実施例及び従来例が共に使用する光磁気ディスク上のファイル管理テーブル領域の配置の一例を示す平面図である。
【符号の説明】
1:光磁気ディスク装置(情報記録再生装置)
2:CPU 5:キャッシュバッファ
5a,7a:FAT(ファイル管理テーブル)
7:光磁気ディスク(記録媒体)
9:ホストマシン(上位装置)
11:ベース情報入力手段
12:管理テーブル転送手段
13:管理データ登録手段 14:登録データ記録手段
15:記録媒体排出手段 16:管理データ転送手段
31a,31b,31c:FAT領域[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information recording / reproducing apparatus for recording or reproducing information on a recording medium such as a magnetic disk such as a floppy disk or an optical disk, and more particularly to means for managing information files and management data in the information recording / reproducing apparatus. .
[0002]
[Prior art]
Recording media used in information recording / reproducing apparatuses are rewritable magnetic disks such as floppy disks, rewritable magnetic disks such as a built-in magnetic disk that cannot be removed but has a large capacity, or recording from a magnetic disk, respectively. There are detachable optical discs (in a broad sense) such as write-once optical discs (in a narrow sense) with high density and rewritable magneto-optical discs.
[0003]
In order to record or reproduce information on these recording media, a surface number indicating where the file is recorded along with the file name or file number for each file which is a set of information at the time of recording. , Track number, sector number address, number of sectors to be used, etc. are registered as management data of the file, and a file management table in which the management data is collected is created. During reproduction, the table is searched by file name or file number, and information is reproduced from the obtained address.
[0004]
This file management table corresponds to, for example, FAT (file allocation table) in MS-DOS (a disk-based operating system of US Microsoft Corporation: a registered trademark of the company), and is generally widely used. The “file management table” is also referred to as “FAT”.
[0005]
Since this FAT is required every time information is recorded, reproduced, deleted, etc., it is always recorded on a recording medium, and is particularly important in the case of a removable recording medium.
[0006]
In the unlikely event that the FAT is destroyed or cannot be reproduced, the recorded valuable information will be lost. Therefore, in order to prevent such a serious accident, the FAT having the same contents is stored in a plurality of independent areas. ing. For example, when the recording medium is the magneto-
[0007]
At the time of information reproduction, any one of these areas, for example, the FAT in the
[0008]
For this reason, for example, there has been a proposal of a write-back type disk cache device as disclosed in Japanese Patent Laid-Open No. 5-303528. That is, data for about one track including the accessed block (corresponding to management data) is managed as a group in the order of addresses on the cache buffer, and if there is a block updated by information writing, it is backlit as a group on the recording medium. There was a proposal.
[0009]
[Problems to be solved by the invention]
However, the above proposal uses a cache buffer of LRU (Least Recently Used), that is, the most recently accessed block as a cache buffer, and manages a group including the accessed block as a transfer unit. . For this reason, there is a lot of extra data other than the necessary blocks, and if the capacity of the cache buffer is not increased, the block accessed a while ago is lost.
[0010]
Therefore, the file accessed from the host device and the block of the file on the cache buffer do not necessarily match (hit). That is, since the hit rate is bad, a block that does not hit has to be reproduced from the recording medium again, and there is a problem that the access time becomes slower than normal access without a cache buffer. The buffer capacity must be increased further.
[0011]
The cache memory used as a cache buffer may be replaced with a normal RAM in terms of function, but a RAM having a higher access speed than other RAMs is used particularly for data requiring high-speed access. In practice, considering the cost, a RAM having a higher access speed can be used as the capacity is smaller, and if the capacity is larger, a RAM slightly faster than other RAMs must be endured.
[0012]
The present invention has been made in view of the above points, and improves the work efficiency of the information recording / reproducing apparatus by increasing the hit rate of the FAT formed on the cache buffer to shorten the access time for recording and reproducing information. The purpose is to measure.
[0013]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides an information recording for recording or reproducing information on a recording medium in which a file management table having the same contents composed of management data for each of a plurality of files is recorded in a plurality of areas. In the playback device, each is performed as follows.
[0014]
That is, a cache buffer having a management table storage area capable of storing a file management table, the number of areas in which the file management table is recorded on the recording medium, and the number of management data included in the file management table And base information input means for inputting base management information including the address of each file management table from a host device that has been read from the recording medium in advance and storing the base management information in the cache buffer; On the above cache buffer Means for clearing the information area related to the management data formed in the management table storage area, and file management from any one of a plurality of areas on the recording medium after clearing the information area related to the management data A management table transfer means for reading the table and transferring it to a management table storage area on the cache buffer, and recording and reproducing information using the file management table on the cache buffer and the information on the management data, and on the recording medium Each file management table in a plurality of areas is managed.
[0017]
Furthermore, it is preferable to provide management data registration means for registering management data input along with the command in the management table storage area on the cache buffer when the recording command is executed.
[0018]
In addition, among the management data of the file management table on the cache buffer registered by the management data registration means during non-command execution, management data not recorded in the file management table on the recording medium is stored in a plurality of areas on the recording medium. It is preferable to provide registration data recording means for recording in each file management table.
[0019]
Alternatively, when the recording medium is ejected, management data that is not recorded in the file management table on the recording medium among the management data in the file management table on the cache buffer registered by the management data registering means is stored on the recording medium. Recording medium ejecting means for ejecting the recording medium after recording in each file management table in this area may be provided.
[0020]
[Action]
The information recording / reproducing apparatus configured as described above has a management table storage area on the cache buffer in which the management table transfer means can store the file management table at the time of initial setting, from any one of a plurality of areas on the recording medium. Since the file management table is read and transferred, a set of file management tables are all stored in the cache buffer.
[0021]
Therefore, the hit rate is 100%, and even if the cache buffer is not so fast, it is not necessary to read from the recording medium every time, so that the effective access speed is remarkably improved. Information recording / reproduction and each file management table in a plurality of areas on the recording medium are managed using a set of file management tables on the cache buffer, so that the work efficiency of the information recording / reproducing apparatus is improved.
[0025]
Also, Base information input means is connected The base management information is read from the recording medium in advance. By inputting the base management information including the number of areas in which the file management table on the recording medium is recorded and the address of each file management table from the host device, and storing it in the same cache buffer or RAM, Even if the number of areas and the address of each file management table differ depending on the version of the OS (operation system), for example, the same MS-DOS, the same processing can be performed. This is particularly effective in the case of an information recording / reproducing apparatus using a recording medium that can be exchanged and attached.
[0026]
Further, the management data registration means registers management data input in accordance with the recording command in the management table storage area on the cache buffer when the recording command is executed, that is, when new management data including file update is recorded.
[0027]
Therefore, each time new management data is recorded, the file management table on the cache buffer that manages each file management table of a plurality of areas on the recording medium is updated using the new management data. Since the file management table for each area is not updated, the execution time of the recording command is shortened compared to the conventional method.
[0028]
The registered data recording means stores the file management table in the file management table in the newly registered cache buffer in the file management table in the newly registered cache buffer during the non-instruction execution time, that is, the idle time except when the recording instruction or the reproduction instruction is executed. Unrecorded management data is recorded in each file management table in a plurality of areas on the recording medium.
[0029]
Therefore, the management data of the new file registered by the management data registration means is recorded in all the file management tables on the recording medium by the registration data recording means, and all the tables are updated. For this reason, a time substantially proportional to the number of areas on the recording medium is required. However, since this process is performed at the time of non-command execution, the work efficiency of the information recording / reproducing apparatus is not slightly impaired.
[0030]
Alternatively, when the recording medium ejecting means ejects the recording medium, if management data that is not recorded in the management table on the recording medium remains among the management data in the management table storage area on the newly registered cache buffer, The remaining management data is recorded in each file management table in a plurality of areas on the recording medium, and then the recording medium is ejected.
[0031]
Therefore, for example, even when a recording medium ejection command is issued immediately after the recording command is executed and the management data registration unit does not operate, the recording medium ejection unit operates and each file management table on the recording medium operates. After the update is performed reliably, the recording medium is ejected.
[0032]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be specifically described below with reference to the drawings.
FIG. 2 is a circuit diagram showing a configuration of a magneto-optical disk apparatus which is an example of an information recording / reproducing apparatus embodying the present invention.
[0033]
The magneto-
[0034]
In response to a command from the host machine 9, the
[0035]
The cache memory constituting the
[0036]
The read /
[0037]
A file, ie, a set of information, is recorded in an area other than the
[0038]
In the magneto-
[0039]
Table 1 shows the cache buffer 5 (or RAM 4) for managing the FAT on the
[0040]
[Table 1]
[0041]
The FAT information shown in (A) of Table 1 includes the number of FAT areas on the magneto-
[0042]
The FAT management information shown in (B) of Table 1 is composed of start addresses of n FAT areas on the magneto-
[0043]
In the management data information shown in (C) of Table 1, each piece of management data of m files recorded on the magneto-
[0044]
Here, although the number n of FATs varies depending on the OS (operating system) and the recording medium, n = 2 is almost the case with normal disks, and n = 3 may be the case with magneto-optical disks. n ≧ 4 is rare. Moreover, in general, when an information recording / reproducing apparatus is connected to a host apparatus to form a system, n does not change midway. However, the number m of files always changes and increases with the accumulation of information except when information is deleted.
[0045]
Now, assuming that integers i and j are i = 1 to n and j = 1 to m, respectively, the start address of the management data (j) of a certain FAT area #i on the magneto-
[0046]
The cache information of the management data information shown in (C) of Table 1 includes two flags, and the first flag indicates whether or not the management data (j) is stored in the FAT on the
[0047]
That is, as shown in Table 1 (C), the 0th column is the offset value, the ith column is the FAT # i cache information, and the jth row is the management data (j) offset (j) and the cache information. Therefore, if the contents of the cache information (ij) in the i-th column and the j-th row are expressed by arranging the first and second flags in order, for example, if the contents of the cache information (23) is {00}, the management is performed. When the data (3) is not yet stored in the FAT on the
[0048]
For example, when a file (j) is newly recorded, an offset (j) is stored from the start address of the management data, and the contents of all the cache information on the j-th line become {10}, and the cache buffer As the management data on 5 are recorded in
[0049]
That is, at the time of initialization, all the cache information fields of the management data information are {00}, and if the management data (j) is transferred to the FAT on the
[0050]
FIG. 1 is a functional block diagram showing the configuration of the magneto-optical disk apparatus according to the first embodiment of the present invention.
The magneto-
[0051]
Hereinafter, the operation of each means will be described with reference to the flowchart.
FIG. 3 is a flowchart showing an example of the operation of the base information input means 11 and the management table transfer means 12 at the time of initial setting in the first embodiment.
[0052]
When the initial setting routine shown in FIG. 3 is started, first, the base information input means 11 is operated in
[0053]
Further, in
[0054]
In this way, the initial setting is completed, and the routine jumps to routine (A), which is a normal operation. A route indicated by a broken line that jumps from
[0055]
FIG. 4 is a flowchart showing a routine (A) which is an example of a normal operation of the first embodiment.
When the routine (A) shown in FIG. 4 is started, it is determined in
[0056]
If the playback command proceeds to step 12, it is determined whether the target of the playback command is a file or management data based on the designated address. If the file is a file, it is read from the magneto-
[0057]
When the recording command proceeds to step 15, it is determined whether the target of the recording command is a file or management data based on the designated address, and if it is a file, the contents of the file to be input subsequently in step 16 are recorded on the magneto-
[0058]
That is, considering only the management data, since the read command is read from the
In addition, at the time of a recording command, instead of repeatedly inputting the same contents to each of the n FATs and recording them on the magneto-
[0059]
FIG. 5 is a flowchart showing an example of a registration / deletion subroutine.
Registration is to record the contents of a new file (a file that has been read and partly modified is regarded as a new file) on the magneto-
[0060]
However, in the case of registration, as described in the routine (A) shown in FIG. 4, the contents of the file are recorded on the magneto-
In the case of deletion, even if the contents remain on the magneto-
[0061]
When the registration / deletion subroutine shown in FIG. 5 starts, the presence / absence of newly registered management data (registration data) that has not yet been recorded in the FAT 7a on the magneto-
[0062]
In
[0063]
When the registration / deletion subroutine shown in FIG. 5 is started, the process does not return unless all unrecorded registration data has been processed. However, since the time required for changing the cache information on the
[0064]
Therefore, even if the next command is input from the host machine 9, the work efficiency of the magneto-
[0065]
Alternatively, step 22 of the subroutine shown in FIG. 5 may be deleted, and the process may return when
[0066]
However, when commands from the host machine 9 are continuously input without any gap, for example, even in an extreme case where the magneto-
[0067]
However, since commands are frequently input, if a discharge command for ejecting the magneto-
[0068]
FIG. 6 is a flowchart showing an example of a routine of the
When the eject command for the magneto-
[0069]
Therefore, no matter what time the eject command is input, the magneto-
[0070]
FIG. 7 is a functional block diagram showing the configuration of the magneto-optical disk apparatus according to the second embodiment of the present invention. The second embodiment shown in FIG. 7 differs from the first embodiment (FIG. 1) in the management. Instead of the table transfer means 12, a management data transfer means 16 that similarly shows the operation of the
[0071]
The management data transfer means 16 transfers the management data to the FAT 7a on the magneto-
[0072]
The initial setting of the second embodiment shown in FIG. 7 is a normal operation in the initial setting routine shown in FIG. 3 after completing
[0073]
FIG. 8 is a flowchart showing a routine (B) which is an example of normal work of the second embodiment.
Each step of the routine (B) shown in FIG. 8 corresponds to each step of the routine (A) shown in FIG. That is,
[0074]
When the command input in
FIG. 9 is a flowchart showing an example of a subroutine of management data reproduction processing jumping from step 34 of the routine (B).
[0075]
When the reproduction processing subroutine shown in FIG. 9 starts, it is first determined whether or not, for example, management data (j) accessed in
[0076]
In
[0077]
In
[0078]
Comparing the first embodiment and the second embodiment described above, in the first embodiment, when the magneto-
[0079]
However, the
[0080]
On the other hand, no matter how large the number of files m is, or how many times a day is accessed, the number of files actually used is limited in most cases. The same file is often accessed many times.
[0081]
In the second embodiment, if management data (j) is accessed for the first time when a management data reproduction command is input from the host machine 9, the management data (j) is stored in the FAT 7a on the magneto-
[0082]
In this case, since the
[0083]
Further, the common feature of the first and second embodiments is that when a command for recording a new file is input from the host machine 9, the management data of the new file is stored in the cache buffer even if the time for recording the contents of the file is the same. Since the execution of the management data recording command is completed simply by registering it in the
[0084]
Registration (recording) of new file management data to the plurality of FATs 7a on the magneto-
[0085]
Further, conventionally, when management data is registered (registered or deleted), the address of each management data and the same contents are inputted to the plurality of FATs 7a on the magneto-
[0086]
If the update of the FAT 7a on the magneto-
[0087]
【The invention's effect】
As described above, the information recording / reproducing apparatus according to the present invention can increase the hit rate of the file management table formed on the recording medium, shorten the access time for recording and reproducing information, and improve the work efficiency. I can do it.
[Brief description of the drawings]
FIG. 1 is a functional block diagram showing a configuration of a magneto-optical disk apparatus according to a first embodiment of the present invention.
FIG. 2 is a circuit diagram showing a configuration of a magneto-optical disk apparatus which is an embodiment of an information recording / reproducing apparatus according to the present invention.
FIG. 3 is a flowchart showing an example of an initial setting routine of the first embodiment shown in FIG. 1;
FIG. 4 is a flowchart showing a routine (A) which is an example of the operation of the first embodiment shown in FIG. 1;
FIG. 5 is a flowchart showing an example of a registration / deletion subroutine used by the routine (A) shown in FIG. 4;
FIG. 6 is a flowchart showing an example of a recording medium discharge routine.
FIG. 7 is a functional block diagram showing a configuration of a magneto-optical disk apparatus according to a second embodiment of the present invention.
FIG. 8 is a flowchart showing a routine (B) which is an example of the operation of the second embodiment shown in FIG. 7;
FIG. 9 is a flowchart showing an example of a reproduction processing subroutine used by a routine (B) shown in FIG. 8;
FIG. 10 is a plan view showing an example of an arrangement of file management table areas on a magneto-optical disk used by both the embodiment of the present invention and the conventional example.
[Explanation of symbols]
1: Magneto-optical disk device (information recording / reproducing device)
2: CPU 5: Cache buffer
5a, 7a: FAT (file management table)
7: Magneto-optical disk (recording medium)
9: Host machine (host device)
11: Base information input means
12: Management table transfer means
13: Management data registration means 14: Registration data recording means
15: Recording medium discharge means 16: Management data transfer means
31a, 31b, 31c: FAT region
Claims (4)
前記ファイル管理テーブルを格納し得る管理テーブル格納領域を備えたキャッシュバッファと、
前記記録媒体上の前記ファイル管理テーブルが記録されている領域の数と、該ファイル管理テーブルに含まれる管理データの数と、各ファイル管理テーブルのアドレスとを含むベース管理情報を、事前に前記記録媒体から該情報を読み出している上位装置から入力して前記キャッシュバッファに記憶させるベース情報入力手段と、
前記キャッシュバッファ上の管理テーブル格納領域に形成される前記管理データに関する情報の領域をクリアする手段と、
前記管理データに関する情報の領域をクリアした後に、前記記録媒体上の複数の領域のうちのいずれかの領域から前記ファイル管理テーブルを読出して前記キャッシュバッファ上の管理テーブル格納領域に転送する管理テーブル転送手段とを設け、
そのキャッシュバッファ上のファイル管理テーブル及び前記管理データに関する情報を用いて情報の記録又は再生、及び前記記録媒体上の複数の領域の各ファイル管理テーブルを管理するようにしたことを特徴とする情報記録再生装置。In an information recording / reproducing apparatus for recording or reproducing information on a recording medium in which file management tables having the same contents composed of management data for a plurality of files are recorded in a plurality of areas,
A cache buffer having a management table storage area capable of storing the file management table;
Base management information including the number of areas in which the file management table is recorded on the recording medium, the number of management data included in the file management table, and the address of each file management table is recorded in advance. Base information input means for inputting the information from a host device reading the information from the medium and storing the information in the cache buffer;
Means for clearing an area of information relating to the management data formed in a management table storage area on the cache buffer;
Management table transfer for reading out the file management table from one of a plurality of areas on the recording medium and transferring it to the management table storage area on the cache buffer after clearing the information area on the management data Means,
Information recording, wherein information is recorded or reproduced using the file management table on the cache buffer and the information on the management data, and each file management table in a plurality of areas on the recording medium is managed. Playback device.
記録命令実行時に、該命令に伴って入力する管理データを前記キャッシュバッファ上の管理テーブル格納領域に登録する管理データ登録手段を設けたことを特徴とする情報記録再生装置。The information recording / reproducing apparatus according to claim 1 ,
An information recording / reproducing apparatus comprising: management data registration means for registering management data input in accordance with a command in a management table storage area on the cache buffer when the recording command is executed.
非命令実行時に、前記管理データ登録手段によって登録された前記キャッシュバッファ上のファイル管理テーブルの管理データのうち前記記録媒体上のファイル管理テーブルに記録されていない管理データを、該記録媒体上の複数の領域の各ファイル管理テーブルにそれぞれ記録する登録データ記録手段を設けたことを特徴とする情報記録再生装置。The information recording / reproducing apparatus according to claim 2 ,
Management data not recorded in the file management table on the recording medium among the management data of the file management table on the cache buffer registered by the management data registration means at the time of non-command execution An information recording / reproducing apparatus provided with registered data recording means for recording in each file management table in the above area.
前記記録媒体を排出する時に、前記管理データ登録手段によって登録された前記キャッシュバッファ上のファイル管理テーブルの管理データのうち前記記録媒体上のファイル管理テーブルに記録されていない管理データを、該記録媒体上の複数の領域の各ファイル管理テーブルにそれぞれ記録した後、前記記録媒体を排出する記録媒体排出手段を設けたことを特徴とする情報記録再生装置。The information recording / reproducing apparatus according to claim 2 ,
Management data that is not recorded in the file management table on the recording medium among the management data of the file management table on the cache buffer registered by the management data registration means when the recording medium is ejected. An information recording / reproducing apparatus comprising: a recording medium ejecting means for ejecting the recording medium after recording in each file management table of the plurality of upper areas.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18025595A JP3777202B2 (en) | 1994-08-15 | 1995-07-17 | Information recording / reproducing device |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6-191480 | 1994-08-15 | ||
| JP19148094 | 1994-08-15 | ||
| JP18025595A JP3777202B2 (en) | 1994-08-15 | 1995-07-17 | Information recording / reproducing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH08110868A JPH08110868A (en) | 1996-04-30 |
| JP3777202B2 true JP3777202B2 (en) | 2006-05-24 |
Family
ID=26499848
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP18025595A Expired - Fee Related JP3777202B2 (en) | 1994-08-15 | 1995-07-17 | Information recording / reproducing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3777202B2 (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4160139B2 (en) | 1997-12-12 | 2008-10-01 | オリンパス株式会社 | Information recording / reproducing device |
| TW200504577A (en) | 2003-07-16 | 2005-02-01 | Matsushita Electric Industrial Co Ltd | Management method for data storage in data recording medium, and information processing device using the same |
| JP4663577B2 (en) * | 2006-05-16 | 2011-04-06 | 株式会社バッファロー | Data storage device and initialization method thereof |
| JP2009135686A (en) | 2007-11-29 | 2009-06-18 | Mitsubishi Electric Corp | 3D video recording method, 3D video recording medium, 3D video playback method, 3D video recording device, 3D video playback device |
| JP5627860B2 (en) | 2009-04-27 | 2014-11-19 | 三菱電機株式会社 | 3D image distribution system, 3D image distribution method, 3D image distribution device, 3D image viewing system, 3D image viewing method, 3D image viewing device |
| JP5274359B2 (en) | 2009-04-27 | 2013-08-28 | 三菱電機株式会社 | 3D video and audio recording method, 3D video and audio playback method, 3D video and audio recording device, 3D video and audio playback device, 3D video and audio recording medium |
| JP5766050B2 (en) * | 2011-07-05 | 2015-08-19 | キヤノン株式会社 | Image processing apparatus and control method |
| JP2014042308A (en) * | 2013-10-03 | 2014-03-06 | Mitsubishi Electric Corp | Image reproduction method, image reproduction apparatus, and optical disk |
-
1995
- 1995-07-17 JP JP18025595A patent/JP3777202B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH08110868A (en) | 1996-04-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2883791B2 (en) | Storage medium and control method thereof | |
| US20080140905A1 (en) | Magnetic disk unit, file management system, and file management method | |
| JPS5876957A (en) | Memory hierarchy control | |
| JP2003518313A (en) | Buffer management system for managing the transfer of data to and from the disk drive buffer | |
| JPH05313980A (en) | Information recording method | |
| JPH056891B2 (en) | ||
| US20040268070A1 (en) | Method and apparatus for backing up data in virtual storage medium | |
| JP3777202B2 (en) | Information recording / reproducing device | |
| US6988178B1 (en) | Emulation processing method for a storage device and storage device | |
| EP1582971A2 (en) | Diskarray system | |
| JPS58114150A (en) | Alternation controlling system for disc device | |
| US5617560A (en) | System for handling platform independent optical card by separating during a read and recombining during a write generic directory information and OS dependent directory information | |
| JP3969809B2 (en) | Data buffer management method in storage device | |
| US6360296B1 (en) | Disk control apparatus | |
| JPH0778187A (en) | Recording medium, electronic publication utilization system, and processing method | |
| JPWO2002052397A1 (en) | Storage device, storage device control method, and exchangeable storage medium therefor | |
| JP4269870B2 (en) | Recording / reproducing apparatus and recording method | |
| JPH03217972A (en) | File search device | |
| JP3869364B2 (en) | Disk drive device and recording disk loading control method | |
| JPH05342817A (en) | File management method and information recording / reproducing apparatus | |
| JP3179372B2 (en) | WRITE CACHE CONTROL METHOD AND RECORDING MEDIUM RECORDING MEDIUM DISCHARGE SWITCH CONTROL PROGRAM FOR WRITE CACHE | |
| JP3573599B2 (en) | Data recovery method for disk array | |
| CN100367369C (en) | Method for data access on damaged optical disk | |
| JP3641254B2 (en) | Computer system | |
| CN100568373C (en) | Method for changing operations on a storage medium from a current file system to a new or updated file system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040706 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040902 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050531 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050727 |
|
| 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: 20060221 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060227 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100303 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110303 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120303 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |