JPH09330257A - External storage medium reader - Google Patents

External storage medium reader

Info

Publication number
JPH09330257A
JPH09330257A JP8146934A JP14693496A JPH09330257A JP H09330257 A JPH09330257 A JP H09330257A JP 8146934 A JP8146934 A JP 8146934A JP 14693496 A JP14693496 A JP 14693496A JP H09330257 A JPH09330257 A JP H09330257A
Authority
JP
Japan
Prior art keywords
storage medium
reading
index
memory
read
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.)
Pending
Application number
JP8146934A
Other languages
Japanese (ja)
Inventor
Takashi Uonami
隆志 魚波
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 JP8146934A priority Critical patent/JPH09330257A/en
Publication of JPH09330257A publication Critical patent/JPH09330257A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an external storage medium reader with which a random access file in a storage medium at comparatively low read speed can be read out at high speed. SOLUTION: An index memory is secured inside a RAM and when a CD-ROM is loaded, index data are transferred to this index memory (step 104). At the same time, when there is a read instruction (step 108), a file position is read out of the index data in this index memory (step 114) and based on this information, the CD-ROM is accessed and read out (step 116). Thus, the number of times of access is decreased by the random access file for alternately reading the index data and the data file, and read can be accelerated.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、外部記憶媒体読出
装置に関し、特に、CD−ROMなどの比較的読出速度
の遅い記憶媒体から記憶情報を読み出す外部記憶媒体読
出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an external storage medium reading device, and more particularly to an external storage medium reading device for reading stored information from a storage medium such as a CD-ROM having a relatively slow reading speed.

【0002】[0002]

【従来の技術】CD−ROMなどの比較的読出速度の遅
い記憶媒体を扱う場合、従来、高速読出を行なうために
キャッシュメモリを備えるものがあった。このキャッシ
ュメモリは、通常、CD−ROMをアクセスしたとき
に、アクセスされたアドレス以降のデータをキャッシュ
メモリに蓄えておき、次回に、同アドレス以降のデータ
を読み出すときにはキャッシュメモリに蓄えておいたデ
ータを読み出すようにしている。
2. Description of the Related Art When dealing with a storage medium such as a CD-ROM which has a relatively low read speed, conventionally, there has been provided with a cache memory for performing high speed read. This cache memory normally stores the data after the accessed address in the cache memory when the CD-ROM is accessed, and the data stored in the cache memory when the data after the same address is read next time. I am trying to read.

【0003】また、シーケンシャルファイルの高速な読
出を行なうものとしては、特開平第7−73084号公
報に開示されたものが知られており、検索処理中に次の
インデックスデータを検索用メモリに転送することによ
り、シーケンシャルなインデックスデータの検索処理を
高速に行なっている。
Further, as one for performing high-speed reading of a sequential file, the one disclosed in Japanese Patent Laid-Open No. 7-73084 is known, and the next index data is transferred to the search memory during the search process. By doing so, the sequential index data search processing is performed at high speed.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の外部記
憶媒体読出装置においては、次のような課題があった。
The above-described conventional external storage medium reading device has the following problems.

【0005】前者の場合、CD−ROMのファイルの数
が多くなって頻繁にアクセスが行なわれると、インデク
スデータとファイルのデータとを交互に読み出すことに
なってくる。すると、キャッシュメモリに読み込んでお
いたデータは殆ど利用されなくなり、アクセス速度が低
下する。また、後者の場合、一般的なランダムアクセス
ファイルには適用できなかった。本発明は、上記課題に
かんがみてなされたもので、比較的読出速度の遅い記憶
媒体におけるランダムアクセスファイルを高速に読み出
すことが可能な外部記憶媒体読出装置の提供を目的とす
る。
In the former case, if the number of files in the CD-ROM is large and the files are frequently accessed, the index data and the file data will be read alternately. Then, the data read in the cache memory is hardly used and the access speed is reduced. The latter case could not be applied to general random access files. The present invention has been made in view of the above problems, and an object thereof is to provide an external storage medium reading device capable of reading a random access file in a storage medium having a relatively low reading speed at high speed.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、請求項1にかかる発明は、脱着可能な記憶媒体を装
着して記憶情報を読み出し可能な読出手段と、上記記憶
媒体におけるランダムアクセスファイルのインデクスデ
ータを記憶するインデクスメモリと、上記読出手段を制
御してインデクスデータを読み出して上記インデクスメ
モリに記憶させるとともに外部からの読出指示に応じて
このインデクスメモリにて必要なインデクスデータを参
照して上記読出手段にファイル位置を指示して読み出し
を行なう読出制御手段とを具備する構成としてある。
In order to achieve the above object, the invention according to claim 1 is a reading means capable of reading a stored information by mounting a removable storage medium, and a random access file in the storage medium. Index memory for storing the index data of the index memory, and reading the index data by controlling the reading means to store the index data in the index memory and refer to the index data required in the index memory in response to an external read instruction. A read control means for instructing the file position to the read means to perform the read is provided.

【0007】読出制御手段は読出手段を制御してインデ
クスデータを読み出し、インデクスメモリに記憶させる
ので、外部からの読出指示があったときにはこのインデ
クスメモリにて必要なインデクスデータを参照し、同イ
ンデクスデータに基づいて読出手段にファイル位置を指
示して読み出しを行なう。すなわち、ランダムアクセス
ファイルの場合、インデクスデータについては必ずメモ
リをアクセスして読み出しを行なう。
The read control means controls the read means to read the index data and store it in the index memory. Therefore, when a read instruction is given from the outside, the necessary index data is referred to in the index memory and the index data is read. Based on the above, the file position is instructed to the reading means to read. That is, in the case of a random access file, the memory is always accessed to read the index data.

【0008】ここにおいて、脱着可能な記憶媒体は比較
的読出速度の遅い記憶媒体などであれば効果的であり、
例えば、CD−ROMや光磁気ディスクなどの機械的ア
クセスが必要で高速化の難しいデバイスであれば読出速
度の高速化の効果が大きい。むろん、既存の媒体に限ら
ず、将来的に利用されるものであっても適用可能であ
る。インデクスメモリはランダムアクセスファイルのイ
ンデクスデータを記憶可能なメモリであればよく、例え
ば、DRAMなどで構成可能である。高速アクセスので
きるものが好適であるが、少なくともいわゆる半導体デ
バイスであればCD−ROM等を読み出すにあたっての
高速化は可能である。
Here, the removable storage medium is effective if it is a storage medium having a relatively low reading speed,
For example, in a device such as a CD-ROM or a magneto-optical disk that requires mechanical access and is difficult to increase in speed, the effect of increasing the read speed is great. Needless to say, the present invention is not limited to existing media, and can be applied to media that will be used in the future. The index memory may be any memory that can store the index data of the random access file, and can be configured with, for example, a DRAM. A device capable of high-speed access is preferable, but at least a so-called semiconductor device can achieve a higher speed in reading a CD-ROM or the like.

【0009】インデクスデータの読み込みタイミング
は、適宜行なっても良いが、請求項2にかかる発明は、
請求項1に記載の外部記憶媒体読出装置において、上記
読出制御手段は、上記記憶媒体を新たに装着したときに
上記インデクスメモリへインデクスデータを記憶させる
構成としてある。すなわち、新たに記憶媒体を装着すれ
ば、読出制御手段は上記読出手段を制御してインデクス
データを読み出させ、読み出したインデクスデータをイ
ンデクスメモリへ記憶させる。
The index data may be read at any timing, but the invention according to claim 2 is
The external storage medium reading device according to claim 1, wherein the read control means is configured to store index data in the index memory when the storage medium is newly mounted. That is, when a new storage medium is attached, the read control means controls the read means to read the index data, and stores the read index data in the index memory.

【0010】従って、いったん、記憶媒体を装着した後
は、ファイルの読出指示があれば、まず、メモリ内でイ
ンデクスデータを参照し、ファイル位置情報を得て読出
手段にて記憶媒体へアクセスする。インデクスメモリ
は、単独で備えられていても良いし、キャッシュメモリ
などとして備えられている既存のメモリを割り振って利
用しても良い。例えば、請求項3にかかる発明は、請求
項1または請求項2に記載の外部記憶媒体読出装置にお
いて、上記読出手段にて読み出したファイルのデータを
記憶するキャッシュメモリを備え、上記読出制御手段は
読出指示に対してこのキャッシュメモリからの読み出し
を優先させる構成としてある。
Therefore, once the storage medium has been mounted, if there is a file read instruction, the index data is first referenced in the memory to obtain file position information, and the read means accesses the storage medium. The index memory may be provided alone, or an existing memory provided as a cache memory or the like may be allocated and used. For example, the invention according to claim 3 is the external storage medium reading device according to claim 1 or 2, further comprising a cache memory for storing the data of the file read by the reading means, and the reading control means. The reading from the cache memory is prioritized with respect to the reading instruction.

【0011】すなわち、インデクスデータをインデクス
メモリへ記憶させておくだけであれば、インデクスデー
タを読み出すときにはキャッシュと同様にメモリをアク
セスして読出速度の向上をはかれるものの、データファ
イルを読み出すときには実際に記憶媒体にアクセスする
ことになる。しかしながら、キャッシュメモリを備えて
いる場合には読み出したデータのアドレス以降のデータ
がキャッシュメモリに記録されており、次に読み出すデ
ータが既に同キャッシュメモリに記録されているようで
あれば、記憶媒体にアクセスする前にこのキャッシュメ
モリからの読み出しを優先させればよい。
That is, if the index data is only stored in the index memory, the memory is accessed in the same manner as the cache when reading the index data to improve the reading speed, but it is actually stored when reading the data file. You will have access to the medium. However, if the cache memory is provided, the data after the address of the read data is recorded in the cache memory, and if the data to be read next is already recorded in the same cache memory, it is stored in the storage medium. Prior to accessing, reading from the cache memory may be prioritized.

【0012】この意味でキャッシュメモリとインデクス
メモリとは併用可能であるし、請求項4にかかる発明
は、請求項3に記載の外部記憶媒体読出装置において、
上記インデクスメモリの空き領域を上記キャッシュメモ
リに割り当てる構成としてある。インデクスメモリの場
合、インデクスデータを全て記憶可能とすることが望ま
しく、ある程度の容量が必要となる。一方、インデクス
データの容量自体はデータによって決まり、必ずしも一
定ではない。従って、インデクスデータを読み込んだと
きにインデクスメモリに空き領域が生じるようであれ
ば、キャッシュメモリとして割り当てても良い。
In this sense, the cache memory and the index memory can be used together, and the invention according to claim 4 is the external storage medium reading device according to claim 3.
A free area of the index memory is assigned to the cache memory. In the case of an index memory, it is desirable to be able to store all index data, and a certain amount of capacity is required. On the other hand, the capacity of the index data itself depends on the data and is not always constant. Therefore, if there is a free area in the index memory when the index data is read, it may be allocated as the cache memory.

【0013】むろん、特にキャッシュメモリとインデク
スメモリとを並設させるというよりも、メモリとしては
一体であり、先にインデクスデータを読み込んでこの部
分については記憶媒体が変えられない限り上書きしない
ようにし、残りのメモリをキャッシュに割り当てるよう
にしても良い。
Of course, in particular, rather than arranging the cache memory and the index memory side by side, they are integrated as a memory, and the index data is read first and this portion is not overwritten unless the storage medium is changed, The remaining memory may be assigned to the cache.

【0014】[0014]

【発明の実施の形態】以下、図面にもとづいて本発明の
実施形態を説明する。図1は、本発明の一実施形態にか
かる外部記憶媒体読出装置を適用したCD−ROM装置
のハードウェア構成をブロック図により示している。同
図において、CPU20は本CD−ROM装置10の全
体を制御するものであり、一時的なデータの記憶に利用
されるRAM30と、制御プログラムなどが書き込まれ
ているROM40と、外部機器とのデータのやりとりな
どに利用されるインターフェイス(I/F)50と、C
D−ROMを装着して駆動・読み取りを行なうCDドラ
イブ61と、このCDドライブ61の駆動と読み取りを
ハードウェア的に制御するCD制御部62とから構成さ
れている。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a hardware configuration of a CD-ROM device to which an external storage medium reading device according to an embodiment of the present invention is applied. In the figure, a CPU 20 controls the entire CD-ROM device 10, and includes a RAM 30 used for temporary data storage, a ROM 40 in which a control program and the like are written, and data of an external device. Interface (I / F) 50 used for communication between
It is composed of a CD drive 61 mounted with a D-ROM for driving and reading, and a CD controller 62 for controlling the driving and reading of the CD drive 61 by hardware.

【0015】本実施形態においては、このCDドライブ
61とCD制御部62とによって記憶媒体であるCD−
ROMからの読み出しを行なうものであり、この意味で
読出手段を構成する。本実施形態においてはCD−RO
M装置10に適用しているが、記憶媒体が光磁気ディス
クなどであれば、その読み取りユニットが読出手段に対
応する。また、RAM30は、図2に示すように、アド
レスの低位側からワークエリア31、インデクスメモリ
32、キャッシュメモリ33に割り当てられている。ワ
ークエリア31は一定アドレス分だけ常に確保されてい
るが、残りのインデクスメモリ32とキャッシュメモリ
33については、先にインデクスメモリ32を割り当
て、残りの空き領域をキャッシュメモリ33に割り当て
るようにしている。
In the present embodiment, the CD drive 61 and the CD control unit 62 are used to store a CD-
The reading is performed from the ROM, and the reading means is configured in this sense. In this embodiment, the CD-RO
Although applied to the M device 10, if the storage medium is a magneto-optical disk or the like, the reading unit corresponds to the reading means. As shown in FIG. 2, the RAM 30 is assigned to the work area 31, the index memory 32, and the cache memory 33 from the lower address side. The work area 31 is always secured for a certain address, but the index memory 32 and the cache memory 33 are allocated to the index memory 32 first, and the remaining free area is allocated to the cache memory 33.

【0016】本実施形態においては、このようにRAM
30内にインデクスメモリ32が確保されている。イン
デクスメモリは後述するインデクスデータを記憶できる
ものであれば、その形態はどのようなものでもよい。従
って、本実施形態のように一体のメモリを共有するもの
であっても良いし、個別に専用のメモリを割り当ててお
いても良い。さらに、読出手段に対して一体的に組み込
まれていても良い。また、本実施形態においては、キャ
ッシュメモリ33を備えているが、必ずしも必要なわけ
ではない。このように備える場合においても、必ずしも
一体のRAM30をインデクスメモリ32と共有する必
要はなく、独立の構成としても良い。この場合、バッフ
ァメモリとして存在し、必要に応じてキャッシュ的に利
用されるようなものでも構わない。
In this embodiment, the RAM is
An index memory 32 is secured in 30. The index memory may have any form as long as it can store index data described later. Therefore, the integrated memory may be shared as in the present embodiment, or a dedicated memory may be individually allocated. Further, it may be integrated with the reading means. Further, although the cache memory 33 is provided in the present embodiment, it is not always necessary. Even in such a case, the integrated RAM 30 does not necessarily need to be shared with the index memory 32, and may be an independent configuration. In this case, it may be present as a buffer memory and used as a cache if necessary.

【0017】読出制御手段は、上記CPU20を核とし
て、RAM30とROM40などから構成されており、
主制御プログラムは同ROM40に記憶されている。本
実施形態においては、汎用的なCPU20を核として読
出制御手段を構成しているが、実質的に以下に説明する
ような制御を実行可能であればよく、ハードウェア構成
について適宜変更可能であることはいうまでもない。ま
た、ソフトウェア的にもその要旨を変更しないで他の手
法で構成可能であることもいうまでもない。
The read control means is composed of a RAM 30, a ROM 40, etc., with the CPU 20 as a core.
The main control program is stored in the ROM 40. In the present embodiment, the general-purpose CPU 20 is used as the core to constitute the read control means, but it is sufficient that the control as described below can be executed substantially, and the hardware configuration can be changed appropriately. Needless to say. Further, it goes without saying that the software can be configured by another method without changing the gist thereof.

【0018】図3は本発明の主制御プログラムに対応す
るフローチャートを示しており、以下、同フローチャー
トに基づいて本実施形態の動作を説明する。プログラム
が実行され、初期設定が行なわれると(ステップ10
0)、CPU20はCD制御部62を制御してCD−R
OMが装着されたか否かをチェックする(スッテプ10
2)。CD制御部62はトレーの開閉状態及びCD−R
OMの有無を監視可能であり、CD−ROMが装着され
たらCPU20に通知する。CPU20はこの通知信号
を監視し、CD−ROMが装着するまではループ処理で
待機する。装着されたらCD制御部62に指示してCD
ドライブ61を駆動させるとともにインデクスデータを
読み出させ、RAM30のインデクスメモリ32に記憶
させる(ステップ104)。
FIG. 3 shows a flowchart corresponding to the main control program of the present invention, and the operation of this embodiment will be described below based on the flowchart. When the program is executed and initialization is performed (step 10
0), the CPU 20 controls the CD controller 62 to control the CD-R.
Check if OM is installed (Step 10
2). The CD control unit 62 controls the tray open / close state and the CD-R.
The presence or absence of the OM can be monitored, and the CPU 20 is notified when the CD-ROM is mounted. The CPU 20 monitors this notification signal and waits in a loop until the CD-ROM is mounted. When it is installed, the CD controller 62 is instructed to install the CD
The drive 61 is driven and the index data is read out and stored in the index memory 32 of the RAM 30 (step 104).

【0019】ここにおいて、インデクスデータの大きさ
は不定であるため、RAM30のワークエリア31の直
後からインデクスデータを書き込み、書き終わったとこ
ろまでをインデクスメモリ32とし、残りの空き領域を
キャッシュメモリ33として利用するために設定する
(ステップ106)。
Here, since the size of the index data is indefinite, the index data is written from immediately after the work area 31 of the RAM 30, and the area up to the end is used as the index memory 32, and the remaining free area is used as the cache memory 33. Set for use (step 106).

【0020】これでCD−ROMの読出準備が完了し、
読出指示があるまで待機することになる(ステップ10
8)。読出指示がないときにはCD制御部62を制御し
てCD−ROMが取り外されたか否かをチェックしてお
り(スッテプ110)、取り外されたときにはステップ
102へ戻って同様のインデクスデータの転送を繰り返
す。すなわち、CD−ROMのインデクスデータはCD
−ROMが取り替えられるまでは保持され、取り替えら
れた時点で更新される。
This completes the preparation for reading the CD-ROM,
It waits until there is a read instruction (step 10).
8). When there is no read instruction, the CD controller 62 is controlled to check whether or not the CD-ROM has been removed (step 110), and when it has been removed, the process returns to step 102 and the same index data transfer is repeated. That is, the index data of the CD-ROM is the CD
-Retained until the ROM is replaced and updated at the time of replacement.

【0021】読出指示があった場合(ステップ10
8)、また、キャッシュメモリ33に記憶されているか
否かを調べる(スッテプ112)。当初は、何も読み込
まれていないはずであるからヒットせずと判断してイン
デクスメモリ32からファイル位置を読み出し(ステッ
プ114)、続いてCD制御部62を制御してCD−R
OMにアクセスさせて読み出しを行なわせる。この場
合、インデクスデータはメモリから読み出したので極め
て高速に行なわれ、続くデータファイルの読出時に記憶
媒体へアクセスしている。従って、従来であれば二回行
なわれていたアクセスを一回に減らすことができた。
When there is a read instruction (step 10)
8) Also, it is checked whether or not it is stored in the cache memory 33 (step 112). Initially, since nothing should have been read, it is determined that no hit has occurred and the file position is read from the index memory 32 (step 114), and then the CD controller 62 is controlled to control the CD-R.
The OM is accessed for reading. In this case, since the index data is read from the memory, it is performed at an extremely high speed, and the storage medium is accessed when the subsequent data file is read. Therefore, it was possible to reduce the number of accesses that were conventionally performed twice to once.

【0022】この後、キャッシュメモリ33の更新など
の処理を行ない、再び読出指示の待機を行なう(ステッ
プ108)。キャッシュ処理は、実際のCD−ROMへ
のアクセスがあったときにも行なわれるが、読出指示の
待機中にもCD−ROMの取り外しをチェックした後の
空き時間にCD−ROMへアクセスし、前回読み出した
データの続き部分を先読みしてキャッシュメモリ33へ
書き込むなどの処理を実行している(ステップ12
0)。そして、読出指示があったときは、インデクスメ
モリ32の読み出しよりも先行してキャッシュの情報を
参照し(ステップ112)、ヒットしていればキャッシ
ュメモリ33から必要なデータを読み出す(ステップ1
22)。
Thereafter, the cache memory 33 is updated, and the read instruction is waited again (step 108). Although the cache process is performed even when the actual CD-ROM is accessed, the CD-ROM is accessed during the idle time after checking the removal of the CD-ROM while waiting for the reading instruction, and the previous time Processing such as prefetching the subsequent portion of the read data and writing it in the cache memory 33 is executed (step 12).
0). When there is a read instruction, the cache information is referenced prior to reading from the index memory 32 (step 112), and if there is a hit, the necessary data is read from the cache memory 33 (step 1).
22).

【0023】むろん、ヒットしていればメモリからの読
み出しだけでCD−ROMへのアクセスが無くなり、読
み込み速度が高速化する。このように、RAM30内に
インデクスメモリ32を確保し、CD−ROMが装着さ
れたときにインデクスデータを同インデクスメモリ32
に転送するとともに(ステップ104)、読出指示があ
ったときには(ステップ108)、同インデクスメモリ
32のインデクスデータからファイル位置を読み出し
(ステップ114)、同情報に基づいてCD−ROMを
アクセスして読み出す(ステップ116)ようにしたた
め、インデクスデータとデータファイルを交互に読み出
すランダムアクセスファイルでCD−ROMへのアクセ
ス回数を減らし、高速化することができる。
Of course, if there is a hit, access to the CD-ROM is eliminated by simply reading from the memory, and the reading speed is increased. In this way, the index memory 32 is secured in the RAM 30, and when the CD-ROM is mounted, the index data is stored in the index memory 32.
(Step 104), and when there is a read instruction (step 108), the file position is read from the index data of the index memory 32 (step 114), and the CD-ROM is accessed and read based on the same information. By doing so (step 116), it is possible to reduce the number of accesses to the CD-ROM by using a random access file for alternately reading the index data and the data file, and to speed up the operation.

【0024】[0024]

【発明の効果】以上説明したように本発明は、一般的な
ランダムアクセスファイルの場合にインデクスデータへ
のアクセスをメモリに対して行なうようにしたため、記
憶媒体へのアクセス回数を低減して高速化を図ることが
可能な外部記憶媒体読出装置を提供することができる。
As described above, according to the present invention, in the case of a general random access file, the index data is accessed to the memory. Therefore, the number of accesses to the storage medium is reduced and the speed is increased. It is possible to provide an external storage medium reading device capable of achieving the above.

【0025】また、請求項2にかかる発明によれば、記
憶媒体を装着したらすぐにインデクスデータをインデク
スメモリへ書き込む。一般的に、CD−ROMを装着す
る作業があれば一連の作業の中でインデクスデータをイ
ンデクスメモリへ書き込む作業を体感することはなくな
り、アクセスの際に最初から高速化の効果が現れること
になる。
According to the second aspect of the invention, the index data is written to the index memory immediately after mounting the storage medium. Generally, if there is a work of mounting a CD-ROM, the work of writing index data to the index memory will not be experienced in a series of work, and the effect of speeding up will appear from the beginning at the time of access. .

【0026】さらに、請求項3にかかる発明によれば、
キャッシュと併用してさらに効果的となる。この際、イ
ンデクスデータへのアクセスをキャッシュに記憶させな
いようにすれば、インデクスデータとデータファイルと
を交互にアクセスしてもキャッシュのヒット率を下げな
いようにすることができる。
Further, according to the invention of claim 3,
It is even more effective when used with cache. At this time, if the access to the index data is not stored in the cache, it is possible to prevent the hit rate of the cache from being lowered even if the index data and the data file are alternately accessed.

【0027】さらに、請求項4にかかる発明によれば、
メモリの空き領域を余らせることなく有効に利用して高
速化に貢献することができる。
Further, according to the invention of claim 4,
It is possible to contribute to the speedup by effectively utilizing the free area of the memory without leaving it.

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

【図1】本発明の一実施形態にかかる外部記憶媒体読出
装置を適用したCD−ROM装置のブロック図である。
FIG. 1 is a block diagram of a CD-ROM device to which an external storage medium reading device according to an embodiment of the present invention is applied.

【図2】RAMの内訳を示す図である。FIG. 2 is a diagram showing a breakdown of a RAM.

【図3】本外部記憶媒体読出装置における制御プログラ
ムに対応したフローチャートである。
FIG. 3 is a flowchart corresponding to a control program in the external storage medium reading device.

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

10…CD−ROM装置 20…CPU 30…RAM 31…ワークエリア 32…インデクスメモリ 33…キャッシュメモリ 40…ROM 50…インターフェイス 61…CDドライブ 62…CD制御部 10 ... CD-ROM device 20 ... CPU 30 ... RAM 31 ... Work area 32 ... Index memory 33 ... Cache memory 40 ... ROM 50 ... Interface 61 ... CD drive 62 ... CD control unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 脱着可能な記憶媒体を装着して記憶情報
を読出可能な読出手段と、 上記記憶媒体におけるランダムアクセスファイルのイン
デクスデータを記憶するインデクスメモリと、 上記読出手段を制御してインデクスデータを読み出して
上記インデクスメモリに記憶させるとともに外部からの
読出指示に応じてこのインデクスメモリにて必要なイン
デクスデータを参照して上記読出手段にファイル位置を
指示して読み出しを行なう読出制御手段とを具備するこ
とを特徴とする外部記憶媒体読出装置。
1. A reading means capable of reading a stored information by mounting a removable storage medium, an index memory for storing index data of a random access file in the storage medium, and an index data for controlling the reading means. Read control means for reading and storing the same in the index memory and referring to necessary index data in this index memory in response to a read instruction from the outside to instruct the reading means to specify a file position and perform reading. An external storage medium reading device characterized by:
【請求項2】 上記請求項1に記載の外部記憶媒体読出
装置において、上記読出制御手段は、上記記憶媒体を新
たに装着したときに上記インデクスメモリへインデクス
データを記憶させることを特徴とする外部記憶媒体読出
装置。
2. The external storage medium reading device according to claim 1, wherein the read control means stores index data in the index memory when the storage medium is newly installed. Storage medium reading device.
【請求項3】 上記請求項1または請求項2に記載の外
部記憶媒体読出装置において、上記読出手段にて読み出
したファイルのデータを記憶するキャッシュメモリを備
え、上記読出制御手段は読出指示に対してこのキャッシ
ュメモリからの読み出しを優先させることを特徴とする
外部記憶媒体読出装置。
3. The external storage medium reading device according to claim 1 or 2, further comprising a cache memory for storing the data of the file read by said reading means, said reading control means responding to a read instruction. An external storage medium reading device characterized by giving priority to reading from a lever cache memory.
【請求項4】 上記請求項3に記載の外部記憶媒体読出
装置において、上記インデクスメモリの空き領域を上記
キャッシュメモリに割り当てることを特徴とする外部記
憶媒体読出装置。
4. The external storage medium reading device according to claim 3, wherein a free area of the index memory is assigned to the cache memory.
JP8146934A 1996-06-10 1996-06-10 External storage medium reader Pending JPH09330257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8146934A JPH09330257A (en) 1996-06-10 1996-06-10 External storage medium reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8146934A JPH09330257A (en) 1996-06-10 1996-06-10 External storage medium reader

Publications (1)

Publication Number Publication Date
JPH09330257A true JPH09330257A (en) 1997-12-22

Family

ID=15418882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8146934A Pending JPH09330257A (en) 1996-06-10 1996-06-10 External storage medium reader

Country Status (1)

Country Link
JP (1) JPH09330257A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006030958A1 (en) * 2004-09-15 2006-03-23 Canon Kabushiki Kaisha Electronic apparatus and control method
US7106749B1 (en) 1999-11-10 2006-09-12 Nds Limited System for data stream processing
JP2008077433A (en) * 2006-09-21 2008-04-03 Sony Computer Entertainment Inc Database generation method and information processor
JP2009211411A (en) * 2008-03-04 2009-09-17 Ricoh Co Ltd Cache device
US7756201B2 (en) 2001-07-23 2010-07-13 Nds Limited System for random access to content
JP2012089209A (en) * 2010-10-20 2012-05-10 Sharp Corp Recording reproducer, reproduction cache processing method, program, and recording medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7106749B1 (en) 1999-11-10 2006-09-12 Nds Limited System for data stream processing
US7580416B2 (en) 1999-11-10 2009-08-25 Nds Limited System for data stream processing
US7756201B2 (en) 2001-07-23 2010-07-13 Nds Limited System for random access to content
WO2006030958A1 (en) * 2004-09-15 2006-03-23 Canon Kabushiki Kaisha Electronic apparatus and control method
US8817112B2 (en) 2004-09-15 2014-08-26 Canon Kabushiki Kaisha Electronic apparatus, control method and computer readable medium for transmitting thumbnail data to an external apparatus
JP2008077433A (en) * 2006-09-21 2008-04-03 Sony Computer Entertainment Inc Database generation method and information processor
JP4578454B2 (en) * 2006-09-21 2010-11-10 株式会社ソニー・コンピュータエンタテインメント Database generation method and information processing apparatus
JP2009211411A (en) * 2008-03-04 2009-09-17 Ricoh Co Ltd Cache device
JP2012089209A (en) * 2010-10-20 2012-05-10 Sharp Corp Recording reproducer, reproduction cache processing method, program, and recording medium

Similar Documents

Publication Publication Date Title
US7085087B2 (en) Data storage apparatus and method for managing buffer memory
US6151660A (en) Information recording/reproducing apparatus having segmented cache memory
JP2001100925A (en) Disk controller
JPH10149260A (en) Reading cache system for disk drive
JPH09330257A (en) External storage medium reader
JPH04259048A (en) Pre-read data control system using statistic information
JPH0566999A (en) Cache system for magnetic disk device
US5875453A (en) Apparatus for and method of information processing
US20030110352A1 (en) Data storage apparatus that combines a group of continuous data series stored in buffer separately before storing in a recording medium
JP3539802B2 (en) Information storage device
JPH04251421A (en) Method for decreasing number of moving times of head/arm of disk drive in direction of diameter
JP2002342038A (en) Disk device controlling execution order of commands
JP2704138B2 (en) Control method of magnetic disk cache
JP2973474B2 (en) Magneto-optical disk drive
JP3011535B2 (en) Information storage device using CD-ROM drive
JPH1049312A (en) Magnetic disk drive
JPH10177509A (en) Magnetic disk device
JPH07134634A (en) Disk device
JPH02307116A (en) Storage subsystem
JPS61287071A (en) Magnetic disc controller
JP2000181798A (en) Cache control system for disk device
JP2000010944A (en) Multiprocessor disk array controller
JP2002150697A (en) Magnetic disk control system and magnetic disk device using it
JPH04111015A (en) Information recorder
JPH0375946A (en) Input/output control system