JP3366184B2 - Method and apparatus for accelerating access to a plurality of CD-ROMs - Google Patents

Method and apparatus for accelerating access to a plurality of CD-ROMs

Info

Publication number
JP3366184B2
JP3366184B2 JP11047296A JP11047296A JP3366184B2 JP 3366184 B2 JP3366184 B2 JP 3366184B2 JP 11047296 A JP11047296 A JP 11047296A JP 11047296 A JP11047296 A JP 11047296A JP 3366184 B2 JP3366184 B2 JP 3366184B2
Authority
JP
Japan
Prior art keywords
rom
memory
name
directory
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
Application number
JP11047296A
Other languages
Japanese (ja)
Other versions
JPH09274579A (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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP11047296A priority Critical patent/JP3366184B2/en
Publication of JPH09274579A publication Critical patent/JPH09274579A/en
Application granted granted Critical
Publication of JP3366184B2 publication Critical patent/JP3366184B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数のCD−RO
Mに対するアクセス高速化方法に関し、特にパステーブ
ル及びファイル名のデータ管理機能を有する複数のCD
−ROMに対するアクセス高速化方法に関する。
TECHNICAL FIELD The present invention relates to a plurality of CD-ROs.
A method for accelerating access to M, particularly a plurality of CDs having a path table and file name data management function
-A method for speeding up access to ROM.

【0002】[0002]

【従来の技術】従来、この種のCD−ROMに対するフ
ァイルアクセス方法は、CD−ROM媒体内のファイル
アクセスを高速に行い、プログラムからの処理効率を向
上させるために用いられている。
2. Description of the Related Art Conventionally, this type of file access method for a CD-ROM has been used in order to access a file in a CD-ROM medium at high speed and improve processing efficiency from a program.

【0003】従来のCD−ROMに対するファイルアク
セス方法の一例が、特開平5−313834号公報に記
載されている。この公報に記載されたCD−ROMに対
するファイルアクセス方法は、CD−ROM媒体のパス
テーブルから全ディレクトリのアドレスを取得してバッ
ファリングし、バッファリングされたアドレスによるデ
ィレクトリアクセスで全ファイルの格納アドレスを取得
してバッファリングし、バッファリングされたファイル
格納アドレスを用いて指定のファイルをアクセスするも
のである。
An example of a conventional file access method for a CD-ROM is described in Japanese Patent Laid-Open No. 5-313834. The file access method for the CD-ROM described in this publication acquires the addresses of all directories from the path table of the CD-ROM medium and buffers them, and the storage addresses of all files are accessed by the directory access by the buffered addresses. It acquires and buffers and accesses the specified file using the buffered file storage address.

【0004】このように、前記公報に記載された方法に
おいては、バッファ上でパステーブル(ディレクトリ管
理部分)とファイルアドレス管理部分とが分離している
が、これにより、任意のファイルをアクセスする場合
に、必ずアドレス変換時間が発生して遅延につながって
いる。
As described above, in the method described in the above publication, the path table (directory management part) and the file address management part are separated on the buffer, which allows access to an arbitrary file. In addition, the address conversion time always occurs, which leads to a delay.

【0005】また、前記公報に記載された方法において
は、アクセスすべきCD−ROM装置が複数台である場
合に対応していないため、複数のCD−ROMを含むシ
ステムには適合できていない。
Further, the method described in the above publication does not support the case where there are a plurality of CD-ROM devices to be accessed, and therefore cannot be applied to a system including a plurality of CD-ROMs.

【0006】[0006]

【発明が解決しようとする課題】前記公報に記載された
ような従来の方法では、複数のCD−ROM装置を1台
として管理できないため、複数のCD−ROM装置にセ
ットされているCD−ROM媒体中のファイルに対して
プログラムから個々に指定を行わなければならないとい
う問題がある。
In the conventional method as described in the above publication, it is impossible to manage a plurality of CD-ROM devices as one unit, so that the CD-ROMs set in a plurality of CD-ROM devices are not managed. There is a problem that the program must individually specify the files in the medium.

【0007】また、前記公報に記載されたような従来の
方法では、CD−ROM媒体からファイルを読み込む際
に、パステーブルの先頭からアクセスを行って目的とす
るファイルのディレクトリのセクタ番号を取り込み、次
に該当ディレクトリから目的とするファイルのセクタ番
号を取り込みファイルをアクセスする手順をとっている
ため、CD−ROM媒体に対するアクセスが遅いという
問題がある。
Further, in the conventional method described in the above publication, when reading a file from a CD-ROM medium, access is made from the beginning of the path table and the sector number of the target file directory is fetched, Next, since the procedure for accessing the file by fetching the sector number of the target file from the corresponding directory is taken, there is a problem that the access to the CD-ROM medium is slow.

【0008】従って、本発明は前述した問題点に鑑みて
なされたものであり、パーソナルコンピュータ等の情報
処理装置に接続される複数のCD−ROM装置やオート
チェンジャー型のCD−ROM装置等を仮想的に1台の
CD−ROM装置(1枚のCD−ROM)として認識す
るためのインタフェースを提供することでファイルアク
セスの高速化を図ることができる複数のCD−ROMに
対するアクセス高速化方法及び装置を提供することを目
的とする。
Therefore, the present invention has been made in view of the above-mentioned problems, and a plurality of CD-ROM devices or auto-changer type CD-ROM devices connected to an information processing device such as a personal computer are virtually used. By providing an interface for recognizing as one CD-ROM device (one CD-ROM), a method and device for speeding up access to a plurality of CD-ROMs that can speed up file access are provided. The purpose is to provide.

【0009】[0009]

【課題を解決するための手段】前述した目的を達成する
ため、本発明は、複数のCD−ROM装置が接続された
情報処理装置における複数のCD−ROMに対するアク
セスの高速化方法であって、(a)前記CD−ROM装置
の扉の開閉の有無を監視するステップと、(b)前記CD
−ROM装置の扉の開閉の有無が検出された場合、前記
CD−ROM装置にセットされたCD−ROM媒体のC
D−ROM媒体名称を読み出すステップと、(c)メモリ
に展開されているCD−ROM媒体名称と、前記ステッ
プ(b)で読み出されたCD−ROM媒体名称とを比較す
るステップと、(d)前記ステップ(c)での比較の結果、
前記メモリに展開されているCD−ROM媒体名称と前
記読み出されたCD−ROM媒体名称とが不一致の場
合、前記セットされたCD−ROM媒体のCD−ROM
装置名とCD−ROM媒体名称をルートディレクトリ情
報として前記メモリ上に展開し、該ルートディレクトリ
直下のファイルについてディレクトリ情報、ファイル名
及びセクタ番号を前記メモリ上に展開し、ルートディレ
クトリ直下のサブディレクトリについてサブディレクト
リ名及びセクタ番号を、前記メモリへ展開するステップ
と、を含むことを特徴とする。
In order to achieve the above-mentioned object, the present invention comprises a plurality of CD-ROM devices connected to each other.
Access to multiple CD-ROMs in the information processing device
A method for speeding up the process, comprising : (a) monitoring whether the door of the CD-ROM device is opened or closed; and (b) the CD.
-If it is detected whether the door of the ROM device is open or closed,
C of the CD-ROM medium set in the CD-ROM device
Reading the D-ROM medium name; (c) the CD-ROM medium name loaded in the memory;
The step of comparing the CD-ROM medium name read in step (b) with (d) the result of the comparison in step (c),
The name of the CD-ROM medium loaded in the memory and the previous
If the name of the read CD-ROM medium does not match
, The CD-ROM of the set CD-ROM medium
Set the device name and the CD-ROM medium name to the root directory information.
It is expanded on the memory as a report and the root directory
Directory information and file name for files directly under
And the sector number are expanded on the memory and the root directory is
Subdirectories under the directory
Re name and sector number, characterized in that it comprises the steps of: deploying to the memory.

【0010】また、本発明の複数のCD−ROMに対す
るアクセス高速化方法は、情報処理装置の立ち上げ時
に、接続される複数のCD−ROM装置に対して、先頭
のCD−ROM装置から最後のCD−ROM装置まで順
に前記ステップ(b)ないし(d)を実行するようにするとよ
い。
Further, according to the method for speeding up access to a plurality of CD-ROMs according to the present invention, when the information processing apparatus is started up, the plurality of CD-ROM apparatuses connected to the CD-ROM apparatus from the first CD-ROM apparatus to the last CD-ROM apparatus are connected. The steps (b) to (d) may be sequentially executed up to the CD-ROM device.

【0011】さらに、本発明は、オートチェンジャー型
のCD−ROM装置が接続された情報処理装置における
複数CD−ROMに対するアクセスの高速化方法であっ
て、(b)前記CD−ROM装置にセットされたCD−R
OM媒体のCD−ROM媒体名称を読み出すステップ
と、(c)メモリに展開されているCD−ROM媒体名称
、前記ステップ(b)で読み出されたCD−ROM媒体
名称とを比較するステップと、(d)前記ステップ(c)で
の比較の結果、前記メモリに展開されているCD−RO
M媒体名称と前記読み出されたCD−ROM媒体名称と
が不一致の場合、前記セットされたCD−ROM媒体の
CD−ROM装置名とCD−ROM媒体名称をルートデ
ィレクトリ情報として前記メモリ上に展開し、該ルート
ディレクトリ直下のファイルについてディレクトリ情
報、ファイル名及びセクタ番号を前記メモリ上に展開
し、ルートディレクトリ直下のサブディレクトリについ
てサブディレクトリ名及びセクタ番号を、前記メモリへ
展開するステップと、を含むことを特徴とする。本発明
は、本体装置に複数のCD−ROM装置が接続されてな
る情報処理装置において、CD−ROMに対するアクセ
ス要求を行うプログラムとCD−ROMドライバとの間
にCD−ROMアクセスミドルウェア制御手段を備え、
前記CD−ROMアクセスミドルウェア制御手段は、前
記プログラムとのインタフェースをとるプログラムイン
タフェース手段と、セクタ管理手段と、CD−ROMド
ライバ制御手段と、を含み、前記セクタ管理手段は、前
記情報処理装置のメモリ上のエリアを動的に確保する機
能と、前記メモリ上に確保したエリアに対してCD−R
OM媒体のセットされているCD−ROM装置の装置
名、ファイル及びディレクトリの全情報を展開する機能
とを有する装置/ファイル/セクタテーブル管理手段を
備え、前記プログラムから要求されたファイル名に対し
ては、前記メモリ上に展開されたセクタ情報を基にCD
−ROM媒体上のファイルをダイレクトにアクセスでき
るようにし、前記CD−ROMドライバ制御手段は、常
時、前記複数のCD−ROM装置に対して扉の開閉の有
無等を契機としてCD−ROM媒体のセットの有無を監
視し、CD−ROM媒体がセットされていることを確認
すると前記セクタ管理手段へCD−ROM装置名を通知
し、一方、前記CD−ROM装置からのCD−ROM媒
体の取り出しを確認すると前記セクタ管理手段へCD−
ROM装置名を通知するCD-ROMセット認識手段
と、前記セクタ管理手段よりセクタ番号を受け取り、C
D−ROM媒体からファイルの内容を読み出すファイル
アクセス手段と、を備える。
Further, the present invention relates to an information processing device to which an autochanger type CD-ROM device is connected.
It is a method for speeding up access to multiple CD-ROMs.
Te, CD-R set in the (b) the CD-ROM device
Reading the CD-ROM medium name of the OM medium; and (c) comparing the CD-ROM medium name developed in the memory with the CD-ROM medium name read in step (b). , (D) in step (c) above
As a result of the comparison, the CD-RO loaded in the memory is
M medium name and the read CD-ROM medium name
If the two do not match, the CD-ROM media of the set
Set the CD-ROM device name and the CD-ROM medium name to the root directory.
It is expanded in the memory as directory information and the route
About the files directly under the directory
Information, file name and sector number are expanded on the memory
The subdirectories directly under the root directory.
Subdirectory name and sector number to the memory
Characterized in that it comprises the steps of deploying the. According to the present invention, in an information processing device in which a plurality of CD-ROM devices are connected to a main body device, a CD-ROM access middleware control means is provided between a program for requesting access to a CD-ROM and a CD-ROM driver. ,
The CD-ROM access middleware control means includes program interface means for interfacing with the program, sector management means, and CD-ROM driver control means, and the sector management means is a memory of the information processing device. A function to dynamically secure the upper area and a CD-R for the area secured on the memory.
A device / file / sector table management means having a device name of the CD-ROM device in which the OM medium is set, a function of expanding all information of files and directories, and a file name requested by the program are provided. Is a CD based on the sector information expanded on the memory.
-The files on the ROM medium can be directly accessed, and the CD-ROM driver control means always sets the CD-ROM medium in response to the presence / absence of opening / closing of the door for the plurality of CD-ROM devices. If it is confirmed that the CD-ROM medium is set, the sector management means is notified of the CD-ROM device name, and on the other hand, the removal of the CD-ROM medium from the CD-ROM device is confirmed. Then, the CD-
CD-ROM set recognition means for notifying the ROM device name and sector number from the sector management means, and C
File access means for reading the contents of the file from the D-ROM medium.

【0012】[0012]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0013】図1及び図2を参照すると、本発明の最良
の実施の形態は、パーソナルコンピュータ本体170内
で、プログラム110とCD−ROMドライバ120と
の間に複数CD−ROMアクセスミドルウェア100を
設け、この複数CD−ROMアクセスミドルウェア10
0のセクタ管理手段210の装置/ファイル/セクタテ
ーブル管理手段212に、メモリ130上のエリアを動
的に確保する機能と、メモリ130上に確保したエリア
に対してCD−ROM媒体のセットされているCD−R
OM装置名、ファイル及びディレクトリの全情報を展開
する機能と、を持たせるようにし、これにより、プログ
ラム110から要求されたファイル名に対しては、メモ
リ130上に展開されたセクタ情報を基にCD−ROM
媒体上のファイルをダイレクトにアクセスできるように
する。
Referring to FIGS. 1 and 2, the best mode for carrying out the present invention is to provide a plurality of CD-ROM access middleware 100 between a program 110 and a CD-ROM driver 120 in a personal computer main body 170. , This multiple CD-ROM access middleware 10
The device / file / sector table management means 212 of the sector management means 210 of 0 has a function of dynamically allocating an area on the memory 130, and a CD-ROM medium is set to the area secured on the memory 130. CD-R
The OM device name, the function of expanding all information of files and directories, and the like are provided so that the file name requested by the program 110 is based on the sector information expanded on the memory 130. CD-ROM
Make the files on the media directly accessible.

【0014】複数CD−ROMアクセスミドルウェア1
00のCD−ROMドライバ制御手段220のCD−R
OMセット認識手段221は、常時複数のCD−ROM
装置に対して扉の開閉の有無等を契機としてCD−RO
M媒体のセットの有無を監視しており、CD−ROM媒
体がセットされていることを確認すると、セクタ管理手
段210へCD−ROM装置名を通知する。これによ
り、セクタ管理手段210の装置/ファイル/セクタテ
ーブル管理手段212は、指定されたCD−ROM装置
からCD−ROM媒体内の情報をメモリ130へ展開す
る。また、CD−ROM装置からのCD−ROM媒体の
取り出しを確認すると、同様にしてセクタ管理手段21
0へCD−ROM装置名を通知する。これにより、セク
タ管理手段210は、指定されたCD−ROM装置のC
D−ROM媒体内の情報をメモリ130から削除する。
なお、CD−ROMドライバ制御手段220のファイル
アクセス手段222は、セクタ管理手段210よりセク
タ番号を受け取り、CD−ROM媒体からファイルの内
容を読み出す。
Multiple CD-ROM access middleware 1
00-CD-ROM driver control means 220 CD-R
The OM set recognition means 221 always uses a plurality of CD-ROMs.
CD-RO triggered by whether the door is opened or closed
Whether or not the M medium is set is monitored, and when it is confirmed that the CD-ROM medium is set, the sector management means 210 is notified of the CD-ROM device name. As a result, the device / file / sector table management unit 212 of the sector management unit 210 expands the information in the CD-ROM medium from the designated CD-ROM device to the memory 130. When it is confirmed that the CD-ROM medium is taken out from the CD-ROM device, the sector management means 21 is similarly operated.
Notify 0 of the CD-ROM device name. As a result, the sector management means 210 causes the C-ROM of the designated CD-ROM device.
The information in the D-ROM medium is deleted from the memory 130.
The file access means 222 of the CD-ROM driver control means 220 receives the sector number from the sector management means 210 and reads the contents of the file from the CD-ROM medium.

【0015】図4及び図5を参照すると、複数CD−R
OMアクセスミドルウェア100のセクタ管理手段21
0の装置/ファイル/セクタテーブル管理手段212
は、CD−ROM装置名とCD−ROM媒体名称とをル
ートディレクトリ情報としてメモリ130上のテーブル
へセットし(ステップ410)、ルートディレクトリ直
下のファイルについてディレクトリ情報、ファイル名及
びセクタ番号をメモリ130上のテーブルへセットし
(ステップ411)、ルートディレクトリ直下のディレ
クトリについてディレクトリ名及びセクタ番号をメモリ
130へ展開する(ステップ412)。
Referring to FIGS. 4 and 5, multiple CD-Rs
Sector management means 21 of OM access middleware 100
0 device / file / sector table management means 212
Sets the CD-ROM device name and the CD-ROM medium name in the table on the memory 130 as root directory information (step 410), and sets the directory information, file name and sector number for the file directly under the root directory on the memory 130. set to the table (step 411), directory directly under the root directory
The directory name and sector number of the folder are expanded in the memory 130 (step 412).

【0016】その後、前述したステップ412において
メモリ130に展開したディレクトリの配下の情報をC
D−ROM媒体から読み込み(ステップ420)、ディ
レクトリの配下にファイルが存在するか否かを確認する
(ステップ430)。ステップ430において、ディレ
クトリの配下にファイルが存在することが確認された場
合には、各ファイルのファイル名及びセクタ番号をメモ
リ130上のテーブルへセットし(ステップ431)、
一方、ファイルの存在が確認されない場合には、ステッ
プ440に移り、前述したステップ412においてメモ
リに展開したディレクトリの配下にディレクトリが存在
するか否かを確認する。
Thereafter, the information under the directory expanded in the memory 130 in step 412 described above is set to C.
Read from D-ROM medium (step 420), di
It is confirmed whether or not the file exists under the directory (step 430). In step 430, directory
If it is confirmed that the file exists under the directory, the file name and the sector number of each file is set to the memory table 130 (step 431),
On the other hand, if the existence of the file is not confirmed, the process proceeds to step 440, and it is confirmed whether or not the directory exists under the directory expanded in the memory in step 412 described above.

【0017】ステップ440において、ディレクトリ
配下にディレクトリが存在することが確認された場合に
は、メモリ上の親ディレクトリの配下にチェイン、すな
わち親ディレクトリのセクタ番号をメモリアドレスに書
き換え(ステップ442)、親ディレクトリ直下のディ
レクトリについてディレクトリ名及びセクタ番号をメモ
リ130に展開し(ステップ443)、メモリ130上
のテーブルに展開された親ディレクトリ直下のファイル
及びディレクトリのメモリ上の開始及び終了アドレスを
取得して親ディレクトリのメモリ内論理アドレスエリア
へセットする(ステップ444)。ステップ444が終
了した後は、親ディレクトリ直下の子ディレクトリの処
理に移る(ステップ445)。
If it is confirmed in step 440 that the directory exists under the directory, a chain under the parent directory on the memory, that is, the sector number of the parent directory is rewritten to the memory address (step 442), di directly under the parent directory
The directory name and the sector number of the directory are expanded in the memory 130 (step 443), and the start and end addresses on the memory of the file and the directory immediately below the parent directory expanded in the table on the memory 130 are acquired and the memory of the parent directory is acquired. It is set in the internal logical address area (step 444). After step 444 is completed, the process moves to the processing of the child directory immediately below the parent directory (step 445).

【0018】一方、ステップ430及びステップ440
において、ファイル及びディレクトリが共に存在しない
ことが確認された場合には、“NULL”情報をセット
した後(ステップ441)、親ディレクトリと同じレベ
ルの他のディレクトリの処理に移る(ステップ45
0)。ステップ450が終了した後は、全てのディレク
トリの処理の完了を確認し(ステップ460)、未完了
である場合にはステップ420に戻り、完了している場
合には全ての処理を終了する。
On the other hand, steps 430 and 440
If it is confirmed that neither the file nor the directory exists in the step (1), the "NULL" information is set (step 441), and then the process moves to another directory at the same level as the parent directory (step 45).
0). After step 450 is completed, it is confirmed that all directories have been processed (step 460). If not completed, the process returns to step 420, and if completed, all the processes are completed.

【0019】[0019]

【実施例】次に、前述した本発明の実施の形態をより具
体的に説明するために、その実施例について図面を参照
して詳細に説明する。
EXAMPLES Next, in order to describe the above-described embodiments of the present invention more specifically, examples thereof will be described in detail with reference to the drawings.

【0020】図1は、本発明の一実施例の前提となるハ
ードウェア(H/W)の全体構成を示す図である。図1
に示すように、本発明の一実施例においては、情報処理
装置であるパーソナルコンピュータ本体170に3台の
CD−ROM装置140、150及び160が接続され
ている。このように、本発明においては、CD−ROM
装置が2台以上接続された場合に特に効果を発揮する。
FIG. 1 is a diagram showing an overall configuration of hardware (H / W) which is a premise of one embodiment of the present invention. Figure 1
As shown in FIG. 3, in one embodiment of the present invention, three CD-ROM devices 140, 150 and 160 are connected to a personal computer main body 170 which is an information processing device. Thus, in the present invention, the CD-ROM
Particularly effective when two or more devices are connected.

【0021】図1を参照すると、本実施例では、従来か
ら動作しているプログラム110、CD−ROMドライ
バ120及びメモリ130に対して、図示のような関係
で複数CD−ROMアクセスミドルウェア100を追加
する。
Referring to FIG. 1, in this embodiment, a plurality of CD-ROM access middleware 100 are added to the conventionally operating program 110, CD-ROM driver 120 and memory 130 in the relationship shown in the figure. To do.

【0022】すなわち、プログラム110とCD−RO
Mドライバ120との間で直接データのやりとりを行う
従来の方法を変えることなく、プログラム110とCD
−ROMドライバ120との間に複数CD−ROMアク
セスミドルウェア100を設けることにより、プログラ
ム110から3台のCD−ROM装置140、150及
び160が1台の装置として認識されるようにし、従来
と同様の方法で複数のCD−ROM装置を1台の装置と
してファイルアクセスを行う。
That is, the program 110 and the CD-RO
Without changing the conventional method of directly exchanging data with the M driver 120, the program 110 and the CD
By providing a plurality of CD-ROM access middleware 100 between the ROM driver 120 and the program 110, the three CD-ROM devices 140, 150 and 160 can be recognized as one device by the program 110. File access is performed by the method described above using a plurality of CD-ROM devices as one device.

【0023】複数CD−ROMアクセスミドルウェア1
00は、プログラム110からファイル名を受け取り、
メモリ130上のテーブルからそのファイルが存在する
装置名を検索してCD−ROMドライバ120へ渡す。
その後、複数CD−ROMアクセスミドルウェア100
は、ファイルの内容をCD−ROMドライバ120から
受け取り、プログラム110へ返す。
Multiple CD-ROM access middleware 1
00 receives the file name from the program 110,
The device name in which the file exists is retrieved from the table on the memory 130 and passed to the CD-ROM driver 120.
After that, multiple CD-ROM access middleware 100
Receives the content of the file from the CD-ROM driver 120 and returns it to the program 110.

【0024】図2は、図1に示した複数CD−ROMア
クセスミドルウェア100の詳細な構成を示す機能ブロ
ック図である。図2を参照すると、複数CD−ROMア
クセスミドルウェア100は、プログラムI/F(イン
タフェース)手段200、セクタ管理手段210、CD
−ROMドライバ制御手段220及び初期起動時設定手
段230から構成される。
FIG. 2 is a functional block diagram showing a detailed structure of the plural CD-ROM access middleware 100 shown in FIG. Referring to FIG. 2, the plural CD-ROM access middleware 100 includes a program I / F (interface) unit 200, a sector management unit 210, and a CD.
-ROM driver control means 220 and initial startup setting means 230.

【0025】プログラムI/F手段200は、プログラ
ム100からファイル名を取得すると共に、ファイルの
内容を返答する。
The program I / F means 200 acquires the file name from the program 100 and returns the contents of the file.

【0026】セクタ管理手段210は、メモリ制御手段
211及び装置/ファイル/セクタテーブル管理手段2
12から構成される。メモリ制御手段211は、メモリ
130上にテーブル(ファイル名/セクタ番号等)エリ
アの確保を行う。装置/ファイル/セクタテーブル管理
手段212は、メモリ130上に確保したエリアに装置
名と、ディレクトリ名とそのセクタ番号と、ファイル名
とそのセクタ番号と、をテーブルとして作成する。
The sector management means 210 comprises a memory control means 211 and a device / file / sector table management means 2.
It consists of 12. The memory control unit 211 secures a table (file name / sector number, etc.) area on the memory 130. The device / file / sector table management means 212 creates a device name, a directory name and its sector number, a file name and its sector number as a table in an area secured on the memory 130.

【0027】CD−ROMドライバ制御手段220は、
CD−ROMセット認識手段221及びファイルアクセ
ス手段222から構成される。CD−ROMセット認識
手段機221は、パーソナルコンピュータ本体170の
オペレーティングシステム(O/S)の立ち上げ時にパ
ーソナルコンピュータ本体170に接続されているCD
−ROM装置の台数を確認すると共に、CD−ROM装
置にCD−ROM媒体がセットされているかの監視を行
う。ファイルアクセス手段222は、CD−ROMドラ
イバ120に対してCD−ROM装置名とセクタ番号と
を受け渡し、ファイルの内容を取得する。
The CD-ROM driver control means 220 is
It comprises a CD-ROM set recognition means 221 and a file access means 222. The CD-ROM set recognition means 221 is a CD connected to the personal computer main body 170 when the operating system (O / S) of the personal computer main body 170 is started up.
-Check the number of ROM devices and monitor whether the CD-ROM medium is set in the CD-ROM device. The file access unit 222 transfers the CD-ROM device name and sector number to the CD-ROM driver 120 and acquires the contents of the file.

【0028】初期起動時設定手段230は、パーソナル
コンピュータ本体170の立ち上げ時からCD−ROM
装置140、150及び160にCD−ROM媒体がセ
ットされている場合にCD−ROM装置の扉の開閉が行
われないことを考慮し、オペレーティングシステム(O
/S)の立ち上げ時に、複数のCD−ROM装置の先頭
のCD−ROM装置から最後のCD−ROM装置まで順
にアクセスし、CD−ROM装置にCD−ROM媒体が
セットされている場合には、装置/ファイル/セクター
テーブル管理手段212をコールする。
The initial start-up setting means 230 is a CD-ROM from the start-up of the personal computer main body 170.
Considering that the door of the CD-ROM device is not opened and closed when the CD-ROM medium is set in the devices 140, 150 and 160, the operating system (O
/ S) is started up, a plurality of CD-ROM devices are sequentially accessed from the first CD-ROM device to the last CD-ROM device, and if a CD-ROM medium is set in the CD-ROM device, , Device / file / sector table management means 212 is called.

【0029】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be described.

【0030】図3は、図2に示したCD−ROMセット
認識手段221の動作を説明するためのフローチャート
である。図3を参照すると、CD−ROMセット認識手
段221は、常にCD−ROM装置の扉の開閉を監視し
ている(ステップ310)。CD−ROM装置の扉の開
閉を確認すると、該当するCD−ROM装置にセットさ
れたCD−ROM媒体のCD−ROM媒体名称を読み出
す(ステップ320)。
FIG. 3 is a flow chart for explaining the operation of the CD-ROM set recognizing means 221 shown in FIG. Referring to FIG. 3, the CD-ROM set recognition means 221 constantly monitors the opening and closing of the door of the CD-ROM device (step 310). When the opening / closing of the door of the CD-ROM device is confirmed, the CD-ROM medium name of the CD-ROM medium set in the corresponding CD-ROM device is read (step 320).

【0031】ステップ320において、扉の開閉のあっ
たCD−ROM装置名が既にメモリ130へ展開され、
かつメモリ130へ展開済みのCD−ROM媒体名称が
セットされたCD−ROM媒体名称と一致する場合に
は、ステップ310のCD−ROM装置開閉監視状態に
戻る。これに対し、扉の開閉のあったCD−ROM装置
名が未だメモリ130へ展開されていない場合、又は扉
の開閉のあったCD−ROM装置名は既にメモリ130
に存在するが、メモリ130に展開済みのCD−ROM
媒体名称がセットされたCD−ROM媒体名称と不一致
である場合には、装置/ファイル/セクタテーブル管理
手段212をコールする(ステップ340)。ステップ
340において、装置/ファイル/セクタテーブル管理
手段212の処理が完了した後は、ステップ310のC
D−ROM装置開閉監視状態に戻る。
In step 320, the name of the CD-ROM device whose door has been opened / closed is already expanded in the memory 130,
If the CD-ROM medium name that has been expanded in the memory 130 matches the set CD-ROM medium name, the process returns to the CD-ROM device open / close monitoring state in step 310. On the other hand, if the CD-ROM device name with the door opened / closed is not yet expanded in the memory 130, or the CD-ROM device name with the door opened / closed is already stored in the memory 130.
CD-ROM which is present in the memory but has already been expanded in the memory 130
If the medium name does not match the set CD-ROM medium name, the device / file / sector table management means 212 is called (step 340). After the processing of the device / file / sector table management means 212 is completed in step 340, C in step 310 is executed.
Return to the D-ROM device opening / closing monitoring state.

【0032】図4及び図5は、図2に示した装置/ファ
イル/セクタテーブル管理手段212の動作を説明する
ためのフローチャートである。以下、前述した本発明の
実施の形態で説明した一連の動作のもとで実際にメモリ
130上にCD−ROM管理テーブルを作成する手順に
ついて説明する。
FIGS. 4 and 5 are flow charts for explaining the operation of the device / file / sector table management means 212 shown in FIG. The procedure for actually creating the CD-ROM management table on the memory 130 based on the series of operations described in the above-described embodiment of the present invention will be described below.

【0033】本実施例では、図1に示したCD−ROM
装置“:D”140にCD−ROM媒体“:KAZU”
がセットされ、CD−ROM装置“:E”150にCD
−ROM媒体“:HIRA”がセットされるものとす
る。
In this embodiment, the CD-ROM shown in FIG.
CD-ROM medium “: KAZU” on the device “: D” 140
Is set, and the CD-ROM device ": E" 150 is set to CD
-ROM medium ": HIRA" shall be set.

【0034】まず、CD−ROM装置“:D”140に
対してアクセスを行い、CD−ROM媒体がセットされ
ていることを確認する。次に、CD−ROM媒体から名
称“:KAZU”を読みとる。メモリ制御手段211に
よってメモリ130上にテーブルエリアを確保し、先頭
にルートディレクトリ情報を書き込む。すなわち、図6
(A)に示すように「D」と「KAZU」とを書き出
す。
First, the CD-ROM device ": D" 140 is accessed to confirm that the CD-ROM medium is set. Next, the name ": KAZU" is read from the CD-ROM medium. The memory control unit 211 secures a table area on the memory 130 and writes the root directory information at the head. That is, FIG.
As shown in (A), "D" and "KAZU" are written out.

【0035】続いて、CD−ROM媒体からルートディ
レクトリ直下のディレクトリ名、ファイル名及び個々の
セクタ番号を読み出し、そのディレクトリ名、ファイル
名及びセクタ番号をメモリ130上のテーブルへセット
する。ここで、CD−ROM媒体“:KAZU”が図7
に示したようなファイル構造である場合には、図6
(A)に示すように“FILE1.TXT”、“FIL
E2.TXT”、“FILE3.TXT”、“DIR
1”、“DIR2”の名称とセクタ番号とがテーブルに
セットされる。
Then, the directory name, file name and individual sector number immediately below the root directory are read from the CD-ROM medium, and the directory name , file name and sector number are set in the table on the memory 130. Here, the CD-ROM medium ": KAZU" is shown in FIG.
If the file structure is as shown in FIG.
As shown in (A), "FILE1.TXT", "FIL"
E2. TXT ”,“ FILE3. TXT "," DIR
The names "1" and "DIR2" and the sector number are set in the table.

【0036】その後、ルートディレクトリ直下のディレ
クトリ名“DIR1”、“DIR2”を対象に処理を続
ける。“DIR1”についてディレクトリ名、ファイル
名及びセクタ番号をメモリ130上のテーブルへセット
する。図7に示したファイル構造のもとで“FILE1
1.TXT”、“FILE12.TXT”、“DIR1
1”及び“DIR12”を読み込み、メモリ130上の
テーブルへセットする。このとき、図6(A)に示すよ
うに親ディレクトリである“DIR1”のメモリ内論理
アドレスには“FILE11.TXT”〜“DIR2”
に使用したメモリ130の開始アドレスと終了アドレス
とがセットされる。
[0036] After that, the directory directly under the root directory
The processing is continued for the object names “DIR1” and “DIR2”. The directory name , file name, and sector number of "DIR1" are set in the table on the memory 130. Under the file structure shown in FIG. 7, “FILE1
1. TXT ”,“ FILE12. TXT "," DIR1
1 "and" DIR12 "are read and set in a table on the memory 130. At this time, as shown in Fig. 6A, the logical address in the memory of the parent directory" DIR1 "is" FILE11. TXT "~" DIR2 "
The starting address and the ending address of the memory 130 used for are set.

【0037】続いて、“DIR11”と“DIR12”
の処理に移るが、図7に示したファイル構造ではそれぞ
れのディレクトリの配下にはディレクトリ及びファイル
共に存在しないため、図6(A)に示すようにメモリ内
論理アドレスに「NULL」をセットした後、“DIR
2”の処理へ移る。
Then, "DIR11" and "DIR12"
However, since neither the directory nor the file exists under each directory in the file structure shown in FIG. 7, after setting “NULL” to the in-memory logical address as shown in FIG. 6 (A). , "DIR
Move on to 2 "processing.

【0038】“DIR2”の配下には、図7に示すよう
に“FILE21.TXT”、“FILE22.TX
T”及び“DIR21”が存在するため、これらの読み
込みを行い、ディレクトリ名、ファイル名及びセクタ番
号をメモリ130上のテーブルへセットする。この場合
には、図6(A)に示すように“FILE21.TX
T”、“FILE22.TXT”及び“DIR21”の
名称とセクタ番号とがテーブルにセットされる。その
後、親ディレクトリである“DIR2”のメモリ内論理
アドレスに“FILE21.TXT”〜“DIR21”
に使用したメモリ130の開始アドレスと終了アドレス
とがセットされる。
Under "DIR2", as shown in FIG. 7, "FILE21.TXT" and "FILE22.TX" are provided.
Since "T" and "DIR21" exist, these are read and the directory name , file name and sector number are set in the table on the memory 130. In this case, as shown in FIG. FILE21. TX
T "," FILE22. The names and sector numbers of "TXT" and "DIR21" are set in the table, and then the logical address in the memory of the parent directory "DIR2" is set to "FILE21. TXT "~" DIR21 "
The starting address and the ending address of the memory 130 used for are set.

【0039】続いて、“DIR21”の処理に移り、
“DIR21”直下のディレクトリ名、ファイル名及び
セクタ番号をメモリ130上のテーブルへセットする。
“DIR21”の配下には、図7に示すように、“FI
LE111.TXT”、“DIR111”が存在するた
め、これらの読み込みを行い、メモリ130上のテーブ
ルへセットする。このとき、親ディレクトリである“D
IR21”のメモリ内論理アドレスに“FILE11
1.TXT”〜“DIR111”に使用したメモリ13
0の開始アドレスと終了アドレスとがセットされる。
Then, the process goes to "DIR21",
The directory name , file name and sector number immediately under "DIR21" are set in the table on the memory 130.
Under “DIR21”, as shown in FIG.
LE111. Since TXT "and" DIR111 "exist, these are read and set in the table on the memory 130. At this time, the parent directory" D "
"FILE11" is added to the in-memory logical address of "IR21".
1. Memory 13 used for TXT "-" DIR111 "
The start address and end address of 0 are set.

【0040】次に、CD−ROM装置“:E”150に
対してアクセスを行い、CD−ROM媒体がセットされ
ていることを確認する。次に、CD−ROM媒体から名
称“:HIRA”を読みとる。メモリ制御手段211に
よってメモリ130上にテーブルエリアを確保し、先頭
にルートディレクトリ情報を書き込む。すなわち、図6
(B)に示すように「E」と「HIRA」とを書き出
す。
Next, the CD-ROM device ": E" 150 is accessed to confirm that the CD-ROM medium is set. Next, the name ": HIRA" is read from the CD-ROM medium. The memory control unit 211 secures a table area on the memory 130 and writes the root directory information at the head. That is, FIG.
As shown in (B), "E" and "HIRA" are written out.

【0041】続いて、CD−ROM媒体からルートディ
レクトリ直下のディレクトリ名、ファイル名及び個々の
セクタ番号を読み出し、そのディレクトリ名、ファイル
名及びセクタ番号をメモリ130上のテーブルへセット
する。ここで、CD−ROM媒体“:HIRA”が図8
に示したようなファイル構造である場合には、図6
(B)に示すように“FILEあ.TXT”、“FIL
Eい.TXT”、“DIRか”、“DIRさ”の名称と
セクタ番号とがテーブルにセットされる。
Subsequently, the directory name, file name and individual sector number immediately below the root directory are read from the CD-ROM medium, and the directory name , file name and sector number are set in the table on the memory 130. Here, the CD-ROM medium ": HIRA" is shown in FIG.
If the file structure is as shown in FIG.
As shown in (B), "FILE a. TXT", "FIL
E. The names "TXT", "DIR?", And "DIR" and the sector number are set in the table.

【0042】その後、ルートディレクトリ直下のディレ
クトリ名“DIRか”、“DIRさ”を対象に処理を続
ける。“DIRか”についてディレクトリ名、ファイル
名及びセクタ番号をメモリ130上のテーブルへセット
する。図8に示したファイル構造のもとで“FILEか
き.TXT”、“FILEかく.TXT”を読み込み、
メモリ130上のテーブルへセットする。このとき、図
6(B)に示すように、親ディレクトリである“DIR
か”のメモリ内論理アドレスには“FILEかき.TX
T”〜“FILEかく.TXT”に使用したメモリ13
0の開始アドレスと終了アドレスとがセットされる。
[0042] After that, the directory directly under the root directory
The processing is continued for the object names “DIR?” And “DIR”. The directory name , file name and sector number of "DIR?" Are set in the table on the memory 130. Under the file structure shown in FIG. 8, "FILE oyster.TXT" and "FILE crawl.TXT" are read,
Set in a table on the memory 130. At this time, as shown in FIG. 6B, the parent directory “DIR” is displayed.
The logical address in the memory of "KA" is "FILE. TX
T "~" FILE. Memory 13 used for TXT "
The start address and end address of 0 are set.

【0043】続いて、“DIRさ”の処理に移るが、図
8に示したファイル構造では“DIRさ”の配下にはデ
ィレクトリ及びファイル共に存在しないため、図6
(B)に示すようにメモリ内論理アドレスに「NUL
L」がセットされる。
Next, the process goes to "DIR", but in the file structure shown in FIG. 8, neither directory nor file exists under "DIR".
As shown in (B), "NUL
L ”is set.

【0044】なお、CD−ROM装置“:F”160に
はCD−ROM媒体がセットされていないため、この時
点で装置/ファイル/セクタテーブル管理手段212の
処理は終了する。
Since the CD-ROM medium is not set in the CD-ROM device ": F" 160, the process of the device / file / sector table management means 212 is finished at this point.

【0045】なお、前述した実施例では、3つのCD−
ROM装置と2つのCD−ROM媒体とを用いる場合に
ついて説明したが、CD−ROM装置の数、CD−RO
M装置にセットされるCD−ROM媒体の数には制限は
ない。
In the above embodiment, three CD-
Although the case where the ROM device and the two CD-ROM media are used has been described, the number of CD-ROM devices, CD-RO
There is no limit to the number of CD-ROM media that can be set in the M device.

【0046】また、前述した実施例では、外付けのCD
−ROM装置を複数台いもづる式に接続した場合につい
て説明したが、外付けのCD−ROM装置はオートチェ
ンジャー型でもよく、また内蔵のオートチェンジャー型
のCD−ROM装置でもよい。さらに、内蔵のCD−R
OM装置と外付けのCD−ROM装置とを混在させても
よい。
Further, in the above-mentioned embodiment, the external CD
Although the case where a plurality of ROM devices are connected in a manner described above has been described, the external CD-ROM device may be an autochanger type or a built-in autochanger type CD-ROM device. In addition, a built-in CD-R
The OM device and the external CD-ROM device may be mixed.

【0047】なお、オートチェンジャー型のCD−RO
M装置を用いる場合には、CD−ROM媒体はCD−R
OM装置内に保持され、図3に示すような手順により扉
の開閉からCD−ROM装置名を判断することができな
いため、図9に示すような手順に従ってCD−ROM装
置内のいずれの装置名にCD−ROM媒体がセットされ
ているかを判断するようにしてもよい。
An autochanger type CD-RO
When using the M device, the CD-ROM medium is a CD-R
Since it is held in the OM device and the CD-ROM device name cannot be judged from the opening and closing of the door by the procedure as shown in FIG. 3, any device name in the CD-ROM device according to the procedure as shown in FIG. Alternatively, it may be determined whether the CD-ROM medium is set.

【0048】[0048]

【発明の効果】以上説明したように、本発明によれば、
メモリ上のテーブルへファイル名と共にCD−ROM装
置名とセクタ番号とを展開しているため、CD−ROM
媒体のパステーブル、ルートディレクトリ及びサブディ
レクトリを検索することなくダイレクトにファイルの内
容を読み出すことができ、ファイルの検索速度を格段に
向上させることができる。
As described above, according to the present invention,
Since the CD-ROM device name and sector number are expanded together with the file name in the table on the memory, the CD-ROM
The contents of the file can be directly read without searching the path table, root directory and sub-directories of the medium, and the file search speed can be significantly improved.

【0049】また、本発明によれば、装置名を基準にし
てアクセスするという通常のファイルアクセスの場合の
特徴を生かすようにしているため、従来から使用してい
るプログラムについてはファイルアクセス時のアクセス
先の装置名を変更するだけで済むという利点を有する。
Further, according to the present invention, since the characteristic in the case of the normal file access that is accessed based on the device name is utilized, the conventionally used program can be accessed at the time of file access. It has an advantage that only the previous device name needs to be changed.

【0050】さらに、本発明によれば、プログラムとC
D−ROMドライバとの間にミドルウェアを追加してプ
ログラムとの間のインターフェース及びCD−ROMド
ライバとの間のインターフェースを変更していないた
め、従来のソフトウェア構成に何ら変更を加える必要が
ないという利点を有する。
Further, according to the present invention, the program and C
Since middleware is not added to the D-ROM driver to change the interface with the program and the interface with the CD-ROM driver, there is no need to make any changes to the conventional software configuration. Have.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例の前提となるハードウェア
(H/W)の全体構成を示す図である。
FIG. 1 is a diagram showing an overall configuration of hardware (H / W) that is a premise of an embodiment of the present invention.

【図2】本発明の一実施例における複数CD−ROMア
クセスミドルウェアの詳細な構成を示す機能ブロック図
である。
FIG. 2 is a functional block diagram showing a detailed configuration of a plurality of CD-ROM access middleware in one embodiment of the present invention.

【図3】本発明の一実施例におけるCD−ROMセット
認識手段の動作を説明するためのフローチャートであ
る。
FIG. 3 is a flow chart for explaining the operation of a CD-ROM set recognition means in one embodiment of the present invention.

【図4】本発明の一実施例における装置/ファイル/セ
クタテーブル管理手段の動作を説明するためのフローチ
ャート(一部)である。
FIG. 4 is a flowchart (part) for explaining the operation of the device / file / sector table management means in the embodiment of the present invention.

【図5】本発明の一実施例における装置/ファイル/セ
クタテーブル管理手段の動作を説明するためのフローチ
ャート(一部)である。
FIG. 5 is a flowchart (part) for explaining the operation of the device / file / sector table management means in the embodiment of the present invention.

【図6】本発明の一実施例により作成されるメモリ内の
CD−ROM管理テーブルの構造図の一例を示す図であ
る。
FIG. 6 is a diagram showing an example of a structural diagram of a CD-ROM management table in a memory created according to an embodiment of the present invention.

【図7】本発明の一実施例で用いられるCD−ROM媒
体名称“:KAZU”のファイル構造図の一例を示す図
である。
FIG. 7 is a diagram showing an example of a file structure diagram of a CD-ROM medium name “: KAZU” used in an embodiment of the present invention.

【図8】本発明の一実施例で用いられるCD−ROM媒
体名称“:HIRA”のファイル構造図の一例を示す図
である。
FIG. 8 is a diagram showing an example of a file structure diagram of a CD-ROM medium name “: HIRA” used in an embodiment of the present invention.

【図9】本発明の別の実施例におけるCD−ROMセッ
ト認識手段の動作を説明するためのフローチャートであ
る。
FIG. 9 is a flow chart for explaining the operation of the CD-ROM set recognition means in another embodiment of the present invention.

【符号の説明】[Explanation of symbols]

100 複数CD−ROMアクセスミドルウェア 110 プログラム 120 CD−ROMドライバ 130 メモリ 140 CD−ROM装置:D 150 CD−ROM装置:E 160 CD−ROM装置:F 200 プログラムI/F(インタフェース)手段 210 セクタ管理手段 211 メモリ制御手段 212 装置/ファイル/セクタテーブル管理手段 220 CD−ROMドライバ制御手段 221 CD−ROMセット認識手段 222 ファイルアクセス手段 230 初期起動時設定手段 100 Multiple CD-ROM access middleware 110 programs 120 CD-ROM driver 130 memory 140 CD-ROM device: D 150 CD-ROM device: E 160 CD-ROM device: F 200 Program I / F (interface) means 210 Sector management means 211 memory control means 212 Device / File / Sector Table Management Means 220 CD-ROM driver control means 221 CD-ROM set recognition means 222 File access method 230 Initial startup setting means

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−315218(JP,A) 特開 平7−93110(JP,A) 特開 昭63−229677(JP,A) 特開 平6−52027(JP,A) 特開 平8−180656(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 12/00 G06F 3/06 - 3/08 ─────────────────────────────────────────────────── --- Continuation of the front page (56) References JP-A-4-315218 (JP, A) JP-A-7-93110 (JP, A) JP-A-63-229677 (JP, A) JP-A-6- 52027 (JP, A) JP-A-8-180656 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G06F 12/00 G06F 3/06-3/08

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数のCD−ROM装置が接続された情報
処理装置における複数のCD−ROMに対するアクセス
の高速化方法であって、 (a)前記CD−ROM装置の扉の開閉の有無を監視する
ステップと、 (b)前記CD−ROM装置の扉の開閉が有ったことが検
出された場合、前記CD−ROM装置にセットされたC
D−ROM媒体のCD−ROM媒体名称を読み出すステ
ップと、 (c)メモリに展開されているCD−ROM媒体名称と、
前記ステップ(b)で読み出されたCD−ROM媒体名称
とを比較するステップと、 (d)前記ステップ(c)での比較の結果、前記メモリに展開
されているCD−ROM媒体名称と前記読み出されたC
D−ROM媒体名称とが不一致の場合、前記セットされ
たCD−ROM媒体のCD−ROM装置名とCD−RO
M媒体名称をルートディレクトリ情報として前記メモリ
上に展開し、該ルートディレクトリ配下のファイルにつ
いてファイル名及びセクタ番号を前記メモリ上に展開
し、ルートディレクトリ配下ディレクトリについて
のディレクトリ配下のファイル及びディレクトリの前記
メモリ上の開始及び終了アドレスを、前記メモリへ展開
するステップと、 を含むことを特徴とする複数のCD−ROMに対するア
クセス高速化方法。
1. A method for speeding up access to a plurality of CD-ROMs in an information processing device to which a plurality of CD-ROM devices are connected, comprising: (a) monitoring whether the door of the CD-ROM device is opened or closed. And (b) when it is detected that the door of the CD-ROM device has been opened or closed, the C set in the CD-ROM device is detected.
Reading the CD-ROM medium name of the D-ROM medium; (c) the CD-ROM medium name developed in the memory;
A step of comparing the CD-ROM medium name read in the step (b), (d) a result of the comparison in the step (c), and the CD-ROM medium name developed in the memory C read
If the D-ROM medium name does not match, the CD-ROM device name and the CD-RO of the set CD-ROM medium are set.
The M media name to expand as the root directory information on the memory, the files under the root directory to expand the file name and sector number on the memory, its for the directory under the root directory
Of files and directories under the directory
A method for speeding up access to a plurality of CD-ROMs, comprising: expanding start and end addresses on the memory into the memory.
【請求項2】オートチェンジャー型のCD−ROM装置
が接続された情報処理装置における複数のCD−ROM
に対するアクセスの高速化方法であって、 (b)前記CD−ROM装置にセットされたCD−ROM
媒体のCD−ROM媒体名称を読み出すステップと、 (c)メモリに展開されているCD−ROM媒体名称と、
前記ステップ(b)で読み出されたCD−ROM媒体名称
とを比較するステップと、 (d)前記ステップ(c)での比較の結果、前記メモリに展開
されているCD−ROM媒体名称と前記読み出されたC
D−ROM媒体名称とが不一致の場合、前記セットされ
たCD−ROM媒体のCD−ROM装置名とCD−RO
M媒体名称をルートディレクトリ情報として前記メモリ
上に展開し、該ルートディレクトリ配下のファイルにつ
いてファイル名及びセクタ番号を前記メモリ上に展開
し、ルートディレクトリ配下ディレクトリについて
のディレクトリ配下のファイル及びディレクトリの前記
メモリ上の開始及び終了アドレスを、前記メモリへ展開
するステップと、 を含むことを特徴とする複数のCD−ROMに対するア
クセス高速化方法。
2. A plurality of CD-ROMs in an information processing device to which an autochanger type CD-ROM device is connected.
(B) CD-ROM set in the CD-ROM device.
Reading the CD-ROM medium name of the medium; (c) the CD-ROM medium name developed in the memory;
A step of comparing the CD-ROM medium name read in the step (b), (d) a result of the comparison in the step (c), and the CD-ROM medium name developed in the memory C read
If the D-ROM medium name does not match, the CD-ROM device name and the CD-RO of the set CD-ROM medium are set.
The M media name to expand as the root directory information on the memory, the files under the root directory to expand the file name and sector number on the memory, its for the directory under the root directory
Of files and directories under the directory
A method for speeding up access to a plurality of CD-ROMs, comprising: expanding start and end addresses on the memory into the memory.
【請求項3】前記ステップ(d)が、 (e)CD−ROM装置名とCD−ROM媒体名称とをル
ートディレクトリ情報としてメモリ上のテーブルへセッ
トするステップと、 (f)ルートディレクトリ直下のファイルについてファイ
ル名及びセクタ番号をメモリ上のテーブルへセットする
ステップと、 (g)ルートディレクトリ直下のディレクトリについて
ィレクトリ名及びセクタ番号をメモリへ展開するステッ
プと、 (h)前記ステップ(g)でメモリに展開したディレクトリ
配下の情報をCD−ROM媒体から読み込むステップ
と、 (i)前記ステップ(g)でメモリに展開したディレクトリ
直下にファイルが存在するか否かを確認するステップ
と、 (j)前記ステップ(i)でファイルの存在が確認された場合
に各ファイルのファイル名及びセクタ番号をメモリ上の
テーブルへセットするステップと、 (k)前記ステップ(g)でメモリに展開したディレクトリ
直下にディレクトリが存在するか否かを確認するステッ
プと、(l)前記ステップ(k)でディレクトリの存在が確認された
場合に各ディレクトリのディレクトリ名及びセクタ番号
をメモリ上のテーブルへ展開し、各ディレクトリについ
て、前記ステップ(h)から後記ステップ(o)の処理を行う
ステップと、 (m)前記ステップ(i)及び前記ステップ(k)でファイル又
はディレクトリが存在することが確認された場合に、前
記ステップ(g)でメモリに展開したディレクトリについ
て、前記ステップ(i)及び前記ステップ(k)で存在するこ
とが確認されたファイル又はディレクトリのメモリ上の
開始及び終了アドレスをメモリに展開するステップと、 (n)前記ステップ(i)及び前記ステップ(k)でファイル及
びディレクトリが共に存在しないことが確認された場合
に、前記ステップ(g)でメモリに展開したディ レクトリ
について“NULL”情報をセットし、そのディレクト
リと同じレベルの他のディレクトリの処理に移るステッ
プと、 (o)前記ステップ(n) が終了した後に全ディレクトリの処
理の完了を確認するステップと、 を含むことを特徴とする請求項1又は2記載の複数のC
D−ROMに対するアクセス高速化方法。
3. The step (d) comprises: (e) setting a CD-ROM device name and a CD-ROM medium name as root directory information in a table on a memory; and (f) a file directly under the root directory. About Phi
And the step of setting a filename and sector number to the table on the memory, de for the directory under (g) root directory
A step of expanding the directory name and the sector number in the memory; (h) a step of reading the information under the directory expanded in the memory in the step (g) from the CD-ROM medium; (i) a step in the step (g). Of the expanded directory in memory
A step of confirming whether or not the file exists immediately below , and (j) a step of setting the file name and the sector number of each file in a table on the memory when the existence of the file is confirmed in the step (i) And (k) the directory expanded in memory in step (g) above
The step of confirming whether or not the directory exists immediately below , and (l) the existence of the directory is confirmed in the step (k).
Directory name and sector number of each directory if
To a table in memory,
Process from step (h) to step (o) described below.
Step, (m) file or file in step (i) and step (k)
If the directory is confirmed to exist,
For the directory expanded in memory in step (g),
Exist in step (i) and step (k).
On the memory of the file or directory for which
Expanding the start and end addresses in memory, and (n) storing the file and file in step (i) and step (k).
And that both directories do not exist
In, the directory where you expanded in the memory in the step (g)
"NULL" information is set for
Move to another directory at the same level as
A plurality of Cs according to claim 1 or 2, further comprising : (o) confirming completion of processing of all directories after the step (n) is completed.
A method for speeding up access to a D-ROM.
【請求項4】本体装置に複数のCD−ROM装置が接続
されてなる情報処理装置において、 CD−ROMに対するアクセス要求を行うプログラムと
CD−ROMドライバとの間にCD−ROMアクセスミ
ドルウェア制御手段を備え、 前記CD−ROMアクセスミドルウェア制御手段は、 前記プログラムとのインタフェースをとるプログラムイ
ンタフェース手段と、 セクタ管理手段と、 CD−ROMドライバ制御手段と、 を含み、 前記セクタ管理手段は、前記情報処理装置のメモリ上の
エリアを動的に確保するメモリ制御手段と、前記メモリ
上に確保したエリアに対して、CD−ROM装置名とC
D−ROM媒体名称とをルートディレクトリ情報として
セットし、ルートディレクトリ配下のファイルのファイ
ル名及びセクタ番号をセットし、ルートディレクトリ配
下のディレクトリについてそのディレクトリ配下のファ
イル及びディレクトリの前記メモリ上の開始及び終了ア
ドレスを展開する装置/ファイル/セクタテーブル管理
手段とを備え、前記プログラムから要求されたファイル
名に対しては、前記メモリ上に展開されたセクタ番号を
基にCD−ROM媒体上のファイルをダイレクトにアク
セスできるようにし、 前記CD−ROMドライバ制御手段は、 常時、前記複数のCD−ROM装置に対して扉の開閉の
有無等を契機としてCD−ROM媒体のセットの有無を
監視し、CD−ROM媒体がセットされていることを確
認すると前記セクタ管理手段へCD−ROM装置名を通
知し、一方、前記CD−ROM装置からのCD−ROM
媒体の取り出しを確認すると前記セクタ管理手段へCD
−ROM装置名を通知するCD−ROMセット認識手段
と、 前記セクタ管理手段よりセクタ番号を受け取り、CD−
ROM媒体からファイルの内容を読み出すファイルアク
セス手段と、 を備えたことを特徴とする情報処理装置。
4. An information processing device comprising a plurality of CD-ROM devices connected to a main body device, wherein a CD-ROM access middleware control means is provided between a program for requesting access to a CD-ROM and a CD-ROM driver. The CD-ROM access middleware control means includes: a program interface means for interfacing with the program; a sector management means; and a CD-ROM driver control means, wherein the sector management means includes the information processing device. Memory control means for dynamically allocating an area on the memory, and a CD-ROM device name and C for the area secured on the memory.
D-ROM medium name as root directory information
Set and file the files under the root directory.
Name and sector number and set the root directory
About the directories below The files under that directory
File and directory start and end addresses on the memory.
A device for expanding a dress / file / sector table management means is provided, and a file on a CD-ROM medium is directly transferred to a file name requested by the program based on the sector number expanded on the memory. The CD-ROM driver control means constantly monitors the plurality of CD-ROM devices for the presence / absence of a CD-ROM medium set by opening / closing the door, etc. Upon confirming that the ROM medium is set, the sector management means is notified of the CD-ROM device name, while the CD-ROM from the CD-ROM device is notified.
When it is confirmed that the medium is taken out, a CD is sent to the sector management means.
CD-ROM set recognition means for notifying the ROM device name, and sector numbers received from the sector management means,
An information processing apparatus comprising: a file access unit for reading the contents of a file from a ROM medium.
【請求項5】前記セクタ管理手段の前記装置/ファイル
/セクタテーブル管理手段は、CD−ROM媒体がセッ
トされた通知を前記CD−ROMセット認識手段から受
けると、指定されたCD−ROM装置からCD−ROM
媒体内の情報を前記メモリへ展開し、CD−ROM媒体
の取り出し通知を前記CD−ROMセット認識手段から
受けると指定されたCD−ROM装置のCD−ROM媒
体内の情報を前記メモリから削除する、ことを特徴とす
る請求項4記載の情報処理装置。
5. The device / file / sector table management means of the sector management means receives a notification that a CD-ROM medium is set from the CD-ROM set recognition means, and from the designated CD-ROM device. CD-ROM
The information in the medium is expanded into the memory, and the information in the CD-ROM medium of the designated CD-ROM device is deleted from the memory when the CD-ROM medium removal notification is received from the CD-ROM set recognition means. The information processing apparatus according to claim 4, characterized in that.
JP11047296A 1996-04-05 1996-04-05 Method and apparatus for accelerating access to a plurality of CD-ROMs Expired - Fee Related JP3366184B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11047296A JP3366184B2 (en) 1996-04-05 1996-04-05 Method and apparatus for accelerating access to a plurality of CD-ROMs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11047296A JP3366184B2 (en) 1996-04-05 1996-04-05 Method and apparatus for accelerating access to a plurality of CD-ROMs

Publications (2)

Publication Number Publication Date
JPH09274579A JPH09274579A (en) 1997-10-21
JP3366184B2 true JP3366184B2 (en) 2003-01-14

Family

ID=14536582

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11047296A Expired - Fee Related JP3366184B2 (en) 1996-04-05 1996-04-05 Method and apparatus for accelerating access to a plurality of CD-ROMs

Country Status (1)

Country Link
JP (1) JP3366184B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000156069A (en) * 1998-11-19 2000-06-06 Nec Shizuoka Ltd Cd-rom unit assembly device

Also Published As

Publication number Publication date
JPH09274579A (en) 1997-10-21

Similar Documents

Publication Publication Date Title
US9104340B2 (en) Systems and methods for performing storage operations using network attached storage
CN100399310C (en) Information processing apparatus, information processing method, program and recording medium used therewith
US8015156B2 (en) Systems and methods for a snapshot of data
US7680842B2 (en) Systems and methods for a snapshot of data
US7386552B2 (en) Methods of migrating data between storage apparatuses
US5745888A (en) Advanced file server apparatus and method
US7353242B2 (en) File server for long term data archive
JP5340535B2 (en) ARCHIVE FILE SYSTEM MANAGEMENT METHOD, SYSTEM, AND PRODUCT (ARCHIVE FILE SYSTEM MANAGEMENT)
US20080059541A1 (en) Systems and methods for a snapshot of data
US20080046432A1 (en) Systems and methods for a snapshot of data
JPH09506453A (en) Incremental backup system
JP2000113000A (en) Retrieval method for data stored in storage medium
JPH10510642A (en) Computer data storage
EP1836615A1 (en) Method of accessing files in electronic devices
JP5241298B2 (en) System and method for supporting file search and file operations by indexing historical file names and locations
WO2007099636A1 (en) File system migration method, program and apparatus
EP2402861A1 (en) Storage system
JP2000357115A (en) Device and method for file retrieval
JP3366184B2 (en) Method and apparatus for accelerating access to a plurality of CD-ROMs
WO2008021528A2 (en) Systems and methods for a snapshot of data
JPH04260945A (en) Device and method for accessing file
JP2001290607A (en) Command queuing control method for device driver and computer system
JP3178671B2 (en) File system and its file recovery method
JPH05265820A (en) Input/output processing system
JP2001084132A (en) Computer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees