JPH0519975A - Address information integrating method for hard disk emulator - Google Patents

Address information integrating method for hard disk emulator

Info

Publication number
JPH0519975A
JPH0519975A JP19841491A JP19841491A JPH0519975A JP H0519975 A JPH0519975 A JP H0519975A JP 19841491 A JP19841491 A JP 19841491A JP 19841491 A JP19841491 A JP 19841491A JP H0519975 A JPH0519975 A JP H0519975A
Authority
JP
Japan
Prior art keywords
address information
cache
data
hard disk
address
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
JP19841491A
Other languages
Japanese (ja)
Inventor
Kaname Sawada
要 沢田
Yasutaka Takahashi
泰隆 高橋
Masaaki Kanekawa
雅昭 金川
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.)
JFE Steel Corp
Original Assignee
Kawasaki Steel 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 Kawasaki Steel Corp filed Critical Kawasaki Steel Corp
Priority to JP19841491A priority Critical patent/JPH0519975A/en
Priority to EP19910307918 priority patent/EP0475639A3/en
Priority to KR1019910015122A priority patent/KR920004969A/en
Publication of JPH0519975A publication Critical patent/JPH0519975A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the fall of speed as a hard disk emulator even in a situation that access arises frequently from a host computer. CONSTITUTION:Data to be recorded in a hard disk device 4 or a non-volatile memory to be used as a cache memory has information (address information) to show at which address of the optical disk device 5 of a main storage device each data is to be stored primarily. This address information is stored in a work memory 12. Besides such the address information is apt to increase in the situation that the access arises frequently from the host computer 1. However, by executing the connection processing of the address information shown in each item in this figure, such the increase of the address information can be reduced.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、計算機の補助記憶装置
の1つであるハードディスクエミュレータに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a hard disk emulator which is one of auxiliary storage devices for computers.

【0002】[0002]

【従来の技術】光ディスク装置は、計算機の補助記憶装
置として最も多く使用されているハードディスク装置と
比較して、ディスクを交換できること、非接触記録
方式のためクラッシュの危険性が無いこと、ディスク
の長寿命性を期待できること、記憶容量が大きいこ
と、等多くの利点を有する。
2. Description of the Related Art An optical disk device is capable of exchanging disks, has no risk of crash due to a non-contact recording system, and has a long disk length, as compared with a hard disk device which is most often used as an auxiliary storage device for computers. It has many advantages such as long life expectancy and large storage capacity.

【0003】従って、近年ハードディスク装置に代わる
補助記憶装置として注目されてきている。
Therefore, in recent years, it has been attracting attention as an auxiliary storage device replacing the hard disk drive.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、光ディ
スク装置が計算機の補助記憶装置として広く普及するた
めには、現時点では以下のような問題点が存在する。
However, the following problems still exist at the present time for the optical disc device to be widely used as an auxiliary storage device for computers.

【0005】第1の問題点は、既にハードディスク装置
が計算機の補助記憶装置として広く使用されているた
め、光ディスク装置を計算機に接続するためには、新た
なハードウェアやソフトウェアを用意する必要があるこ
とである。
The first problem is that the hard disk device has already been widely used as an auxiliary storage device for a computer, and therefore new hardware and software must be prepared in order to connect the optical disk device to the computer. That is.

【0006】第2の問題点は、光ディスク装置のスルー
プットがハードディスク装置と比べて低いことである。
光ディスク装置のスループットが低い要因として、第1
にシーク時間が長いこと、第2にエラー訂正前のデータ
エラーレイトが悪く、書き込み後のベリファイ処理が不
可欠なこと、第3に同じくエラーレイトの問題から交替
処理の発生確率が高いこと等が掲げられる。
The second problem is that the throughput of the optical disk device is lower than that of the hard disk device.
The first cause of low throughput of the optical disk device is
The second is that the seek time is long, the second is that the data error rate before error correction is bad, and the verify processing after writing is essential, and the third is that the probability of replacement processing is high due to the same error rate problem. To be

【0007】第3の問題点は、光ディスク装置が光磁気
方式の場合、オーバーライトができないこと、イレーズ
サイクルとライトサイクルとの間に磁化方向反転時間が
必要なこと等である。
A third problem is that if the optical disk device is of the magneto-optical type, it cannot be overwritten and that a magnetization direction reversal time is required between the erase cycle and the write cycle.

【0008】このようなことから、光ディスク装置で
は、特にライト動作の場合に、ハードディスク装置と比
べて処理速度が著しく低下するという問題がある。
For this reason, the optical disk device has a problem that the processing speed is remarkably reduced as compared with the hard disk device, particularly in the case of a write operation.

【0009】即ち、光ディスク装置は、多くの利点を有
しながら、その一方で又、多くの問題点も併せ持ってい
ることになる。
That is, the optical disk device has many advantages, but on the other hand, it also has many problems.

【0010】本願の発明者の1人は、このような従来の
問題点を解決することができるハードディスクエミュレ
ータに関する技術を、本願発明の出願時には未公開であ
る特願平2−230807で提案している。
One of the inventors of the present application has proposed a technique relating to a hard disk emulator capable of solving such conventional problems in Japanese Patent Application No. 2-230807, which has not been published at the time of filing the present invention. There is.

【0011】この特願平2−230807では、主たる
バルク記憶装置となる光ディスク装置と共に、キャッシ
ュメモリとして用いられるハードディスク装置若しくは
不揮発性メモリと、ホストコンピュータと該光ディスク
装置及びハードディスク装置又は不揮発性メモリとの間
にあって、該ハードディスク装置若しくは不揮発性メモ
リをキャッシュメモリとして用いながら、ホストコンピ
ュータからのデータの記録やデータの再生の要求に対応
して動作するエミュレーションユニットとで構成され
る、計算機の補助記憶装置として有効なハードディスク
エミュレータを提案している。
In this Japanese Patent Application No. 2-230807, a hard disk device or a non-volatile memory used as a cache memory, a host computer, an optical disk device and a hard disk device or a non-volatile memory are provided together with an optical disk device which is a main bulk storage device. In the meantime, as an auxiliary storage device of a computer, which is composed of an emulation unit that operates in response to a request for recording or reproducing data from a host computer while using the hard disk device or non-volatile memory as a cache memory. We propose a valid hard disk emulator.

【0012】このような特願平2−230807で提案
されている技術によれば、光ディスク装置導入に当たっ
て専用ハードウェアと専用ソフトウェアを不要にすると
共に、光ディスク装置のスループットの低さを補うこと
ができる等の優れた効果を得ることができる。
According to the technique proposed in Japanese Patent Application No. 2-230807, it is possible to eliminate the need for dedicated hardware and dedicated software when introducing the optical disc device and to supplement the low throughput of the optical disc device. It is possible to obtain excellent effects such as

【0013】更に、該特願平2−230807の発明者
を含む発明者等は、以下に述べるとうり、該特願平2−
230807で提案されているハードディスクエミュレ
ータの技術を、より一層向上させるテーマを見出だして
いる。
Further, the inventors, including the inventor of the Japanese Patent Application No. 2-230807, will be described as follows.
We have found a theme to further improve the technology of the hard disk emulator proposed in 230807.

【0014】即ち、ホストコンピュータから頻繁にアク
セスが発生するという状況になってしまうと、キャッシ
ュメモリとして用いられるハードディスク装置又は不揮
発性メモリへ記録されたキャッシュデータの最新データ
に従って、主たる記憶装置となる光ディスク装置のデー
タを更新するという処理が追いつかなくなってしまう恐
れがある。
That is, when the host computer frequently accesses the optical disk, which serves as the main storage device, according to the latest data of the cache data recorded in the hard disk device used as the cache memory or the non-volatile memory. There is a risk that the process of updating the device data may not catch up.

【0015】このような更新の処理が追いつかなくなる
と、第1の問題点として、主たる記憶装置へ未転送で、
該ハードディスク装置又不揮発性メモリに記録されたま
まのキャッシュデータが満杯になってしまう恐れがあ
る。
When such an update process cannot catch up, the first problem is that it has not been transferred to the main storage device.
There is a risk that the cache data as recorded in the hard disk device or the non-volatile memory may become full.

【0016】キャッシュメモリとして用いられるハード
ディスク装置又は不揮発性メモリへ記録されたデータ
は、それぞれのデータが本来光ディスク装置のどのアド
レスへ記録されるべきものであるかの情報を有してい
る。以降、このような情報を、単にアドレス情報と呼
ぶ。
The data recorded in the hard disk device or the non-volatile memory used as the cache memory has information as to which address of the optical disk device the respective data should be originally recorded. Hereinafter, such information is simply referred to as address information.

【0017】ホストコンピュータから頻繁にアクセスが
発生するという状況が生じてしまうと、第2の問題点と
して、このようなアドレス情報が蓄積されていき、この
ようなアドレス情報を記録しているワークメモリの記憶
容量が満杯になってしまう恐れがある。
If a situation occurs in which access is frequently made from the host computer, the second problem is that such address information is accumulated, and the work memory recording such address information. The storage capacity of may become full.

【0018】このように、万一、キャッシュメモリとし
て用いられるハードディスク装置又は不揮発性メモリが
満杯になってしまったり、アドレス情報を記録するワー
クメモリが満杯となってしまうと、ハードディスク装置
又は不揮発性メモリのキャッシュデータを光ディスク装
置へ転送する処理が進行すると共に、該処理に伴って等
実行されるアドレス情報を整理する処理が進行して、こ
のような満杯状態が解消されるまで、ホストコンピュー
タからのアクセスに待ちを生じさせてしまう。
In this way, if the hard disk device or the non-volatile memory used as the cache memory becomes full, or if the work memory for recording the address information becomes full, the hard disk device or the non-volatile memory. While the process of transferring the cache data of the above to the optical disk device progresses, the process of organizing the address information executed in association with the process progresses, and until such a full state is eliminated, It causes waiting for access.

【0019】又、万一、このような満杯状態となってし
まって、この際にホストコンピュータからのアクセスが
あると、満杯状態が解消されるまでの時間が加わって、
ホストコンピュータからのアクセス時間が長くなってし
まい、ハードディスクエミュレータとしての機能が低下
してしまう。
If the host computer is accessed in such a full state, the time until the full state is canceled is added,
The access time from the host computer becomes long and the function as a hard disk emulator deteriorates.

【0020】本発明は、このようなハードディスクエミ
ュレータの技術をより一層向上させるテーマに鑑みてな
されたものであって、まず、前記特願平2−23080
7と同様に、光ディスク装置導入に当って専用ハードウ
ェアと専用ソフトウェアを不要にすると共に、光ディス
ク装置のスループットの低さを補うことを目的とする。
The present invention has been made in view of the theme of further improving the technology of such a hard disk emulator. First, the above-mentioned Japanese Patent Application No. 2-23080.
As in the case of No. 7, the purpose is to eliminate the need for dedicated hardware and dedicated software when introducing the optical disc device, and to supplement the low throughput of the optical disc device.

【0021】又、上記目的に加えて、本発明は、ホスト
コンピュータから頻繁にアクセスが発生する状況であっ
ても、主たるバルク記憶装置へ未転送で、キャッシュメ
モリとして用いられるハードディスク装置又は不揮発性
メモリに記録されたままのキャッシュデータが満杯とな
ってしまったり、又、ワークメモリ中のアドレス情報が
満杯となってしまって、ハードディスクエミュレータと
しての機能が低下してしまうことを防ぐことを目的とす
る。
In addition to the above object, the present invention provides a hard disk device or a non-volatile memory which is used as a cache memory without being transferred to the main bulk storage device even in a situation where access is frequently made from the host computer. The purpose is to prevent the function as a hard disk emulator from deteriorating due to the cache data that has been recorded on the disk being full or the address information in the work memory being full. .

【0022】[0022]

【課題を解決するための手段】本発明は、主たる記憶装
置である光ディスク装置と、ホストコンピュータからア
クセスされるデータを、データが書き込まれていないキ
ャッシュアドレスを適宜用いて、一時的に記録するキャ
ッシュエリアを有する、ハードディスク装置又は不揮発
性メモリとを用いて、所定のハードディスク装置仕様に
準拠したインターフェイス仕様をエミュレートすると共
に、前記エミュレートの際にキャッシュアドレステーブ
ルに書き込まれる、あるいは書き込まれている複数のア
ドレス情報を相互に比較して、それぞれのアドレス情報
に対応するそれぞれのキャッシュデータが、前記キャッ
シュエリアに書き込まれた状態で、統合可能か否か判断
し、統合可能であると判断された場合には、少なくと
も、対応する複数のアドレス情報を統合することによ
り、上記目的を達成したものである。
SUMMARY OF THE INVENTION The present invention is a cache for temporarily recording data accessed from a host computer and an optical disk device, which is a main storage device, by appropriately using a cache address in which no data is written. Using a hard disk device or a non-volatile memory having an area, emulates an interface specification conforming to a predetermined hard disk device specification, and at the time of the emulation, a plurality of data are written or written in a cache address table. When the respective cache data corresponding to the respective address information are written in the cache area, it is determined whether or not they can be integrated, and it is determined that they can be integrated. Has at least the corresponding multiple By integrating dress information is obtained by achieving the above object.

【0023】又、前記統合可能か否かの判断が、それぞ
れのアドレス情報が前記キャッシュエリアに書き込まれ
た状態で連続するか否かの判断であり、連続していると
判断された場合には、少なくとも、対応する複数のアド
レス情報を連結することにより、上記目的を達成したも
のである。
Further, the judgment as to whether or not the integration is possible is a judgment as to whether or not each address information is continuous in the state of being written in the cache area, and when it is judged that they are continuous. At least, the above object is achieved by connecting a plurality of corresponding address information.

【0024】更に、前記統合可能か否かの判断が、ある
キャッシュデータのアドレス情報が、それ以前に記録さ
れたキャッシュデータのアドレス情報を包含するか否か
の判断であり、包含すると判断された場合には、当該キ
ャッシュデータの方を有効にしてアドレス情報を包含さ
せることにより、上記目的を達成したものである。
Further, the judgment as to whether or not the integration is possible is a judgment as to whether or not the address information of a certain cache data includes the address information of the cache data recorded before that, and it is judged to include it. In this case, the above object is achieved by making the cache data valid and including the address information.

【0025】[0025]

【作用】任意のハードディスク装置仕様に準拠したイン
ターフェイス仕様を有することにより、光ディスク装置
の導入に当って新たなソフトウェアやハードウェアを必
要とせず、接続するホストコンピュータからはハードデ
ィスク装置として認識され、光ディスクの交換により大
容量なハードディスク装置としてのエミュレーションを
可能にする。
By having an interface specification that conforms to the specifications of any hard disk device, new software or hardware is not required when installing the optical disk device, and it is recognized as a hard disk device by the connected host computer, By replacing, emulation as a large-capacity hard disk device is possible.

【0026】又、本発明では、このようなエミュレーシ
ョンの際に、ハードディスク装置又は不揮発性メモリを
キャッシュメモリとして用いることにより、光ディスク
装置の有する問題点を低減している。
Further, according to the present invention, the problem of the optical disk device is reduced by using the hard disk device or the non-volatile memory as the cache memory during such emulation.

【0027】以降、このようなキャッシュメモリとして
用いられるハードディスク装置又は不揮発性メモリを、
データキャッシュ装置とも呼ぶ。
Hereinafter, a hard disk device or a non-volatile memory used as such a cache memory is
Also called a data cache device.

【0028】即ち、ホストコンピュータから送られる記
録データを前記ハードディスク装置もしくは前記不揮発
性メモリに記録し、一方、前記ホストコンピュータが既
に記録されているデータを再生する場合、再生データを
前記ハードディスク装置もしくは不揮発性メモリか、前
記光ディスク装置から読み出す。前記ホストコンピュー
タからのアクセスがない時は、前記ハードディスク装置
もしくは不揮発性メモリから前記光ディスク装置に前記
記録データが転送されるか、あるいは前記再生データエ
リアに続く一定量のデータを前記光ディスク装置から前
記ハードディスク装置もしくは不揮発性メモリに転送す
る。
That is, when the recording data sent from the host computer is recorded in the hard disk device or the non-volatile memory while the host computer reproduces the already recorded data, the reproduction data is reproduced in the hard disk device or the non-volatile memory. Read from the optical memory or the optical disk device. When there is no access from the host computer, the recording data is transferred from the hard disk device or the non-volatile memory to the optical disk device, or a certain amount of data following the reproduction data area is transferred from the optical disk device to the hard disk. Transfer to device or non-volatile memory.

【0029】このようにして、ハードディスク装置のエ
ミュレーション機能を有することにより、光ディスク装
置導入に当って専用のハードウェアとソフトウェアを不
要にすると共に、いわゆるキャッシュメモリとバックグ
ラウンド処理を設けることにより光ディスク装置のスル
ープットの低さを補う。
In this way, by having the emulation function of the hard disk device, it becomes unnecessary to install dedicated hardware and software when installing the optical disk device, and by providing a so-called cache memory and background processing, Make up for low throughput.

【0030】以上述べた本発明の作用及びこれによる優
れた効果は、前述の本願の発明者の1人による特願平2
−230807においても発揮されているものである。
The operation of the present invention described above and the excellent effects thereof are described in Japanese Patent Application No. Hei 2 (1994) by one of the inventors of the present application.
It is also exhibited in -230807.

【0031】本願発明においては、このような作用及び
効果に加えて、次のような作用及び効果を有している。
The present invention has the following actions and effects in addition to the above actions and effects.

【0032】即ち、本願発明は、更に、ホストコンピュ
ータからのデータの記録の要求やデータの再生の要求で
あるアクセスが頻繁に発生するという、比較的例外状況
にも着目してなされたものである。
That is, the present invention has been made paying attention to a comparatively exceptional situation that an access, which is a request for recording data or a request for reproducing data from the host computer, frequently occurs. .

【0033】ホストコンピュータから頻繁にアクセスが
発生するという状況になってしまうと、前述のように、
キャッシュメモリとして用いられるハードディスク装置
又は不揮発性メモリ(データキャッシュ装置)の記憶容
量が満杯になってしまったり、アドレス情報を記録する
ワークメモリが満杯となってしまい、ハードディスクエ
ミュレータとしての機能は低下してしまう恐れがある。
When the host computer is frequently accessed, as described above,
The storage capacity of the hard disk device or non-volatile memory (data cache device) used as a cache memory is full, or the work memory for recording address information is full, and the function as a hard disk emulator deteriorates. There is a risk that

【0034】このような比較的例外的な状況にも対応す
るため、本発明では、ワークメモリに記録されているア
ドレス情報を整理するようにしている。
In order to deal with such a relatively exceptional situation, the present invention is arranged to organize the address information recorded in the work memory.

【0035】又、本発明によれば、ワークメモリに記録
されているアドレス情報の整理の際、場合によっては、
データキャッシュ装置のキャッシュエリア中のデータを
削減することも可能である。
Further, according to the present invention, when organizing the address information recorded in the work memory, in some cases,
It is also possible to reduce the data in the cache area of the data cache device.

【0036】従って、本発明によれば、ホストコンピュ
ータから頻繁にアクセスが発生するという状況であって
も、ワークメモリの中のアドレス情報が満杯となってし
まうことを防ぐことができる。又、場合によっては、デ
ータキャッシュ装置の記録容量が満杯になってしまうこ
とを防ぐこともできる。
Therefore, according to the present invention, it is possible to prevent the address information in the work memory from being filled up even if the host computer frequently accesses the work memory. In some cases, it is possible to prevent the recording capacity of the data cache device from becoming full.

【0037】以下、本発明の対象とするキャッシュエリ
ア及びアドレス情報の説明を行う。
The cache area and address information which is the object of the present invention will be described below.

【0038】この本発明の適用されるキャッシュエリア
は、本願発明の発明者の1人が前記特願平2−2308
07でハードディスクエミュレータの技術を提案する
際、この特願平2−230807の実施例に用いられて
いるハードディスク装置中のキャッシュエリアとして想
定していたものとほぼ同一のものである。
As for the cache area to which the present invention is applied, one of the inventors of the present invention can apply the above-mentioned Japanese Patent Application No.
When proposing a hard disk emulator technology in 07, it is almost the same as that assumed as the cache area in the hard disk device used in the embodiment of this Japanese Patent Application No. 2-230807.

【0039】以下、このキャッシュエリアに関して、よ
り詳しく説明する。
The cache area will be described in more detail below.

【0040】このキャッシュエリアは、ホストコンピュ
ータからアクセスされるデータの一時的な記録を、デー
タが書き込まれていないハードディスク装置上のアドレ
スに適宜一時的に記録するというものである。
This cache area is for temporarily recording data temporarily accessed from the host computer at an address on the hard disk device where no data is written.

【0041】従って、このようなキャッシュエリアを用
いるためには、ワークメモリ中等にアドレス情報を記録
しておく必要がある。
Therefore, in order to use such a cache area, it is necessary to record address information in the work memory or the like.

【0042】前述の特願平2−230807及び本願発
明のハードディスクエミュレータは、任意のハードディ
スク装置仕様に準拠したインターフェイス仕様に従って
動作する。
The above-mentioned Japanese Patent Application No. 2-230807 and the hard disk emulator of the present invention operate in accordance with the interface specifications conforming to arbitrary hard disk device specifications.

【0043】即ち、ホストコンピュータのハードディス
クエミュレータに対する記録や読出等のアクセスは、エ
ミュレートされるハードディスク装置仕様に準拠して行
われる。
That is, access such as recording and reading to the hard disk emulator of the host computer is performed according to the specifications of the emulated hard disk device.

【0044】このホストコンピュータのアクセスの際
は、アクセスされるデータのハードディスクエミュレー
タに対するアドレス指定も、エミュレートされるハード
ディスク装置仕様に準拠している。
When accessing the host computer, the addressing of the accessed data to the hard disk emulator also conforms to the specifications of the emulated hard disk device.

【0045】以降、このようなホストコンピュータから
指定されるアドレスを、エミュレーションアドレスと呼
ぶ。
Hereinafter, the address designated by such a host computer will be referred to as an emulation address.

【0046】このようなエミュレーションアドレスに
は、トラック番号やシリンダ番号やセクタ番号等は問わ
ず、所定のバイト数のブロックを単位としてアドレス指
定する、即ち、所定のバイト数のブロック全ての通し番
号に従ってアドレス指定するものと、一般的なハードデ
ィスク装置を想定して、トラック番号やシリンダ番号や
セクタ番号等の多種のアドレス値を組合せてアドレス指
定するもの等があるが、これはエミュレートされるハー
ドディスク装置仕様に従ったものであり、本発明はこれ
を限定するものではない。
In such an emulation address, regardless of the track number, the cylinder number, the sector number, etc., an address is designated in units of a block of a predetermined number of bytes, that is, an address is specified according to the serial number of all blocks of a predetermined number of bytes. There are two types, one is to specify and one is to specify a general hard disk device by combining various address values such as track number, cylinder number, sector number, etc., but this is an emulated hard disk device specification. However, the present invention is not limited thereto.

【0047】又、主たる記憶装置である光ディスク装置
においても、情報記録媒体の物理フォーマットが螺旋状
のものであっても、あるいは同心円状の複数のトラック
によるものであっても、所定のアドレス指定方法を有し
ている。
Also in the optical disk device which is the main storage device, a predetermined addressing method is used regardless of whether the physical format of the information recording medium is spiral or a plurality of concentric tracks. have.

【0048】以降、光ディスク装置に対するデータのア
クセスの際に指定されるアドレスを、光ディスクアドレ
スと呼ぶ。
Hereinafter, the address designated when the data is accessed to the optical disk device will be referred to as an optical disk address.

【0049】なお、エミュレーンョンアドレスと光ディ
スクアドレスとは1対1で対応されているので、以降、
便宜上、光ディスク装置のアドレスもエミュレーション
アドレスとする。
Since the emulation address and the optical disk address are in a one-to-one correspondence, hereinafter,
For convenience, the address of the optical disk device is also the emulation address.

【0050】又、データキャッシュ装置であるハードデ
ィスク装置や不揮発性メモリにおいても、これに対する
データのアクセスは、所定の形態のアドレス指定がなさ
れる。
Further, even in the hard disk drive, which is a data cache device, and the non-volatile memory, the data access to the data cache device is performed by addressing in a predetermined form.

【0051】以降、このようなデータキャッシュ装置の
データのアクセスの際に指定されるアドレスを、キャッ
シュアドレスと呼ぶ。
Hereinafter, the address designated when accessing the data of such a data cache device is called a cache address.

【0052】データキャッシュ装置の前記キャッシュエ
リアとホストコンピュータとの間のデータの転送や、該
キャッシュエリアと光ディスク装置との間のデータの転
送においては、ワークメモリ中等に記録されているアド
レス情報に従って、キャッシュアドレスとエミュレーシ
ョンアドレスとの対応がなされる。
In the transfer of data between the cache area of the data cache device and the host computer and the transfer of data between the cache area and the optical disk device, according to the address information recorded in the work memory or the like, Correspondence between the cache address and the emulation address is made.

【0053】従って、データキャッシュ装置のアクセス
の際用いられるこのようなアドレス情報は、キャッシュ
アドレスとエミュレーションアドレスとの対応テーブ
ル、即ち、キャッシュアドレステーブルとなる。
Therefore, such address information used when accessing the data cache device becomes a correspondence table of cache addresses and emulation addresses, that is, a cache address table.

【0054】以下、本発明のハードディスクエミュレー
タのアドレス情報統合方法について説明する。
The address information integration method of the hard disk emulator of the present invention will be described below.

【0055】本発明の、複数のアドレス情報に対応する
それぞれのキャッシュデータが、キャッシュエリアに書
き込まれた状態で統合可能か否かの判断は、これらそれ
ぞれのアドレス情報を相互に比較して行うものとなる。
According to the present invention, whether or not each cache data corresponding to a plurality of address information can be integrated in the state of being written in the cache area is determined by comparing these respective address information with each other. Becomes

【0056】なお、本発明は、このような複数のアドレ
ス情報を相互に比較して行う統合可能か否かの判断の具
体的な条件や、これに対応する具体的な処理内容を限定
するものではない。
The present invention limits specific conditions for determining whether or not integration is possible by comparing a plurality of such address information with each other, and specific processing contents corresponding thereto. is not.

【0057】なお、本発明のこのような統合可能か否か
の判断と、この判断に従った、所定の処理とを合せて、
以降、アドレス情報の統合処理と呼ぶ。
The judgment of whether or not the present invention can be integrated and the predetermined processing according to this judgment are combined,
Hereinafter, this is referred to as address information integration processing.

【0058】以下、本発明のアドレス情報の統合処理の
具体例を説明する。
A specific example of the address information integration process of the present invention will be described below.

【0059】図1は、本発明のアドレス情報の統合処理
の一例である、アドレス情報の連結処理を示す線図であ
る。
FIG. 1 is a diagram showing an address information concatenation process, which is an example of the address information integration process of the present invention.

【0060】この図1の線図において、左から順に、説
明のために付された番号No と、該当項目の処理が行わ
れる条件と、該当項目の処理内容とが示されている。
In the diagram of FIG. 1, the numbers No given for explanation, the conditions under which the processing of the corresponding item is performed, and the processing contents of the corresponding item are shown in order from the left.

【0061】この図1に示されるアドレス情報の連結処
理は、ハードディスク装置又は不揮発性メモリであるデ
ータキャッシュ装置のキャッシュエリアにおいて、異な
るアドレス情報に対応する隣接するキャッシュデータ
が、該キャッシュエリアに書き込まれた状態で連続する
場合には、このような異なるアドレス情報を統合(連
結)するというものである。
In the concatenation process of the address information shown in FIG. 1, adjacent cache data corresponding to different address information is written in a cache area of a data cache device which is a hard disk device or a non-volatile memory. In the case where the address information continues, the different address information is integrated (connected).

【0062】まず、この図1の番号1では、ワークメモ
リに記録されたキャッシュアドレステーブルのアドレス
情報から、キャッシュエリアで隣接するキャッシュデー
タが、該キャッシュエリアに書き込まれた状態で単純に
連続すると判断される場合には、これら隣接するキャッ
シュデータに対応する複数のアドレス情報を1つに纏め
るというものである。
First, in the case of number 1 in FIG. 1, it is determined from the address information of the cache address table recorded in the work memory that the cache data adjacent in the cache area is simply continuous in the state of being written in the cache area. In this case, a plurality of pieces of address information corresponding to these adjacent cache data are put together.

【0063】即ち、キャッシュエリアで隣接するキャッ
シュデータそれぞれに対応するアドレス情報のそれぞれ
のキャッシュアドレスは、このキャッシュエリアでの隣
接により、連続していることになる。従って、このよう
なキャッシュエリアで隣接しているキャッシュデータ
が、エミュレーションアドレスについても連続している
場合には、これらのキャッシュデータのアドレス情報を
1つに纏めることができる。
That is, each cache address of the address information corresponding to each cache data adjacent in the cache area is continuous due to the adjacent in this cache area. Therefore, when the cache data adjacent in such a cache area is also continuous in terms of emulation addresses, the address information of these cache data can be collected into one.

【0064】又、この図1の番号2において、キャッシ
ュエリアに新たにあるキャッシュデータを書き込む際、
又該書き込みによりキャッシュエリアで隣接するように
なるキャッシュデータが、該キャッシュエリアに書き込
まれた状態で、エミュレーションアドレスが一部重複し
ながら連続するようになると判断される場合には、この
キャッシュデータの書き込みを、重複部分を上書きする
ように書き込むことにより、前述の番号1と同様に、キ
ャッシュエリアに書き込まれた状態でエミュレーション
アドレスが単純に連続する状態となる。
In addition, in the case of number 2 in FIG. 1, when writing new cache data in the cache area,
Further, when it is determined that the cache data that becomes adjacent in the cache area due to the writing becomes continuous while the emulation address partially overlaps in the state of being written in the cache area, this cache data By writing the write so as to overwrite the overlapped portion, the emulation addresses are simply continuous in the state of being written in the cache area, as in the case of the above-mentioned number 1.

【0065】従って、これにより、この図1の番号2に
おいても、前述の番号1と同様に、隣接するキャッシュ
データのアドレス情報を1つに纏めることができる。
Therefore, also in the case of the number 2 in FIG. 1, the address information of the adjacent cache data can be gathered into one, as in the case of the number 1 described above.

【0066】従って、今回のキャッシュデータの書き込
みの終了後、前回のアドレス情報に今回のアドレス情報
を含めるように、前回のアドレス情報を更新する。
Therefore, after the writing of the current cache data is completed, the previous address information is updated so that the previous address information includes the current address information.

【0067】なお、この図1の番号2のアドレス情報の
連結処理によれば、キャッシュエリアに記録されるキャ
ッシュデータの記憶容量を削減することができる。即
ち、前回のキャッシュデータと今回のキャッシュデータ
との重複部分の記憶容量分を削減することができる。
又、ワークメモリ中のアドレス情報の総数も削減でき
る。
According to the connection processing of the address information of No. 2 in FIG. 1, the storage capacity of the cache data recorded in the cache area can be reduced. That is, it is possible to reduce the storage capacity of the overlapping portion between the previous cache data and the current cache data.
Also, the total number of address information in the work memory can be reduced.

【0068】図2は、アドレス情報の統合処理の一例で
ある、アドレス情報の包含処理を示す線図である。
FIG. 2 is a diagram showing an address information inclusion process, which is an example of the address information integration process.

【0069】この図2に示される線図においても、前述
の図1の線図と同様に、左から順に、説明を行うための
番号No と、該当項目の処理を行う条件と、該当項目の
処理内容とが示されている。
In the diagram shown in FIG. 2 as well, similar to the diagram of FIG. 1 described above, from the left, the number No for explaining, the condition for processing the corresponding item, and the corresponding item Processing details are shown.

【0070】この図2の番号1において、ハードディス
ク装置又は不揮発性メモリであるデータキャッシュ装置
のキャッシュエリアに記録されているキャッシュデータ
に対応する、ワークメモリに記録されているアドレス情
報が、当該キャッシュデータの記録以前に記録された他
のキャッシュデータのアドレス情報を包含しているか否
かが条件となっている。
In the number 1 in FIG. 2, the address information recorded in the work memory corresponding to the cache data recorded in the cache area of the data cache device which is the hard disk device or the non-volatile memory is the cache data. The condition is whether or not the address information of other cache data recorded before the recording of is included.

【0071】あるキャッシュデータのアドレス情報のエ
ミュレーションアドレスが、該キャッシュデータの記録
以前に記録されたキャッシュデータのエミュレーション
アドレスを包含している場合は、包含している方(新し
い方)のキャッシュデータのみで、主たるバルブ記憶装
置である光ディスク装置の該当するエミュレーションア
ドレスを最新のデータに更新することができる。
When the emulation address of the address information of a certain cache data includes the emulation address of the cache data recorded before the recording of the cache data, only the included (newer) cache data is included. Then, the corresponding emulation address of the optical disk device which is the main valve storage device can be updated to the latest data.

【0072】従って、この番号1の条件の成立時には、
包含している方(新しい方)のキャシュデータの方を有
効にする。又、この番号1の条件の成立時には、包含さ
れる方(古い方)のキャッシュデータは不要となるの
で、この不要となるキャッシュデータに対応するアドレ
ス情報も不要となる。従って、この不要となったアドレ
ス情報は破棄され、これにより複数のアドレス情報が1
つに纏められる。
Therefore, when the condition of No. 1 is satisfied,
The included (newer) cache data is validated. Further, when the condition of No. 1 is satisfied, the included (older) cache data becomes unnecessary, so that the address information corresponding to the unnecessary cache data becomes unnecessary. Therefore, this unnecessary address information is discarded, so that a plurality of address information
It is put together in one.

【0073】[0073]

【実施例】以下図面に基づいて本発明の実施例を詳細に
説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0074】図3に本発明の実施例の基本構成を示す。FIG. 3 shows the basic configuration of the embodiment of the present invention.

【0075】ホストコンピュータ1は、インターフェイ
スバス6を介してハードディスクエミュレータ2にデー
タを記録し、該ハードディスクエミュレータ2からデー
タを再生する。
The host computer 1 records data in the hard disk emulator 2 via the interface bus 6 and reproduces the data from the hard disk emulator 2.

【0076】ハードディスクエミュレータ2は、エミュ
レーションユニット3、ハードディスク装置4、光ディ
スク装置5から構成され、これらのユニット及び装置
3、4、5は、インターフェイスバス7により接続され
ている。
The hard disk emulator 2 is composed of an emulation unit 3, a hard disk device 4, and an optical disk device 5, and these units and devices 3, 4, and 5 are connected by an interface bus 7.

【0077】エミュレーションユニット3は、ハードデ
ィスクエミュレータ2の全体制御を行うユニットで、ハ
ードディスクとしてのエミュレーションや、ハードディ
スク装置4、光ディスク装置5とのデータ転送、並びに
ホストコンピュータ1とのデータ転送を制御する。
The emulation unit 3 is a unit that controls the hard disk emulator 2 as a whole, and controls emulation as a hard disk, data transfer with the hard disk device 4 and the optical disk device 5, and data transfer with the host computer 1.

【0078】ハードディスク装置4は、不揮発性のデー
タキャッシュ装置として使用され、エミュレーションす
るターゲットのハードディスク装置と比べて容量が少な
い。
The hard disk device 4 is used as a nonvolatile data cache device and has a smaller capacity than the target hard disk device to be emulated.

【0079】光ディスク装置5は記録媒体であるディス
クの交換が可能で、ハードディスクのエミュレーション
をするために書換可能型が採用されている。
The optical disc device 5 is capable of exchanging a disc which is a recording medium, and employs a rewritable type for emulating a hard disc.

【0080】図4に上記実施例における記録時のデータ
フローを示す。
FIG. 4 shows a data flow during recording in the above embodiment.

【0081】ホストコンピュータ1から送られてくるデ
ータは、エミュレーションユニット3を介してハードデ
ィスク装置4に記録される。ホストコンピュータ1から
の記録コマンドシーケンスが終了すると、ハードディス
ク装置4に記録されたデータを光ディスク装置5に転送
する。この転送はホストコンピュータ1からハードディ
スクエミュレータ2に起動がかかっていない間、即ち該
ハードディスクエミュレータ2のバックグラウンド処理
として行われる。又、このバックグラウンド処理中に、
ホストコンピュータ1からハードディスクエミュレータ
2に起動がかかった場合は、バックグラウンド処理を直
ちに中止し、起動されたコマンドシーケンスを実行し、
これを終了させた後、残ったバックグラウンド処理を再
開し実行する。
The data sent from the host computer 1 is recorded in the hard disk device 4 via the emulation unit 3. When the recording command sequence from the host computer 1 is completed, the data recorded in the hard disk device 4 is transferred to the optical disk device 5. This transfer is performed while the hard disk emulator 2 is not being activated by the host computer 1, that is, as a background process of the hard disk emulator 2. Also, during this background processing,
When the hard disk emulator 2 is started up from the host computer 1, the background processing is immediately stopped, the started command sequence is executed,
After finishing this, the remaining background processing is restarted and executed.

【0082】図5に上記実施例における再生時のデータ
フローを示す。
FIG. 5 shows a data flow during reproduction in the above embodiment.

【0083】ホストコンピュータ1から指定されたデー
タがハードディスク装置4内にあった場合、データは該
ハードディスク装置4からエミュレーションユニット3
を介してホストコンピュータ1に送られる。
If the data specified by the host computer 1 is in the hard disk device 4, the data is transferred from the hard disk device 4 to the emulation unit 3
Is sent to the host computer 1 via.

【0084】再生時のバックグラウンド処理では、再生
データが図7及び図8を用いて後述するシーケンシャル
ファイルデータである場合には、再生データに続くエリ
アのデータが光ディスク装置5からハードディスク装置
4に転送される。即ち、プリフェッチ(先読み)が行わ
れる。
In the background process during reproduction, when the reproduction data is sequential file data which will be described later with reference to FIGS. 7 and 8, the data in the area following the reproduction data is transferred from the optical disk device 5 to the hard disk device 4. To be done. That is, prefetching is performed.

【0085】ホストコンピュータ1から補助記憶装置へ
のアクセスは、一般にシーケンシャルに行われる場合が
多く、あるデータへアクセスされた後、そのデータの後
ろに続くデータがアクセスされる可能性が高いため、こ
のバックグラウンド処理で行われるプリフェッチがより
効果的になる。
In general, access from the host computer 1 to the auxiliary storage device is often made sequentially, and there is a high possibility that the data following the data will be accessed after the access to the certain data. The prefetch performed in the background process becomes more effective.

【0086】ホストコンピュータ1から指定されたデー
タがハードディスク装置4内に無かった場合は、エミュ
レーションユニット3を介して光ディスク装置5から転
送される。
If the data designated by the host computer 1 does not exist in the hard disk device 4, it is transferred from the optical disk device 5 via the emulation unit 3.

【0087】ハードディスク装置4は、ランダムアクセ
スの可能なメモリであるため、シーク時間がシステム全
体の性能を考える上で無視できないことが多い。
Since the hard disk device 4 is a randomly accessible memory, the seek time is often not negligible in consideration of the performance of the entire system.

【0088】一般に、現在のハードディスク装置のシー
ク時間は、回転待ち時間を含めて20〜50ms程度であ
り、一方、1セクタ当たり記録に要する時間は1ms以下
が多い。ランダムアクセスの多い場合を考えると、実際
の記録は数ms程度にすぎないが、シークに数十ms程度要
するため、ホストコンピュータ1から見た所要時間は
(数十ms)+(数ms)になる。
Generally, the seek time of the present hard disk drive is about 20 to 50 ms including the rotation waiting time, while the time required for recording per sector is often 1 ms or less. Considering the case where there are many random accesses, the actual recording is only about several ms, but since the seek requires about several tens of ms, the time required from the viewpoint of the host computer 1 is (several tens ms) + (several ms). Become.

【0089】一方、上記実施例のハードディスクエミュ
レータ2では、ホストコンピュータ1から指定されたア
ドレスによらずキャッシュメモリとして用いるハードデ
ィスク装置4にデータをシーケンシャルに記憶していく
ため、シークが発生せず、ホストコンピュータ1から見
た所要時間は数msのみで済む。
On the other hand, in the hard disk emulator 2 of the above embodiment, since the data is sequentially stored in the hard disk device 4 used as the cache memory regardless of the address designated by the host computer 1, no seek occurs and the host computer The time required from the computer 1 is only a few ms.

【0090】次に、エミュレーションユニット3の具体
的な回路構成を図6に示す。
Next, a concrete circuit configuration of the emulation unit 3 is shown in FIG.

【0091】エミュレーションユニット3は、ホストコ
ンピュータ1とのインターフェイスと、光ディスク装置
5とハードディスク装置4とのインターフェイスを持
ち、該エミュレーションユニット3の内部でホストコン
ピュータ側インターフェイス制御回路6とメモリデバイ
ス側インターフェイス制御回路7がそれぞれのインター
フェイスプロトコルを制御する。
The emulation unit 3 has an interface with the host computer 1 and an interface with the optical disk device 5 and the hard disk device 4. Inside the emulation unit 3, the host computer side interface control circuit 6 and the memory device side interface control circuit are provided. 7 controls each interface protocol.

【0092】データ転送制御回路8は、ホストコンピュ
ータ1とメモリデバイスとの間、及び光ディスク装置5
とハードディスク装置4との間のデータ転送を制御す
る。データバッファ9は、これらのデータ転送時にバッ
ファメモリとして動作する。
The data transfer control circuit 8 is provided between the host computer 1 and the memory device and the optical disk device 5.
And data transfer between the hard disk device 4 and the hard disk device 4. The data buffer 9 operates as a buffer memory when transferring these data.

【0093】エミュレーションユニット3の全体制御
は、CPU(セントラルプロセッシングユニット)10
とプログラム用ROM(プログラム用リードオンリーメ
モリ)11、ワークRAM(ワークランダムアクセスメ
モリ)12から構成される。
The overall control of the emulation unit 3 is controlled by the CPU (Central Processing Unit) 10
And a program ROM (program read only memory) 11 and a work RAM (work random access memory) 12.

【0094】ワークRAM12は、CPU10の汎用ワ
ークエリアとして用いられるだけでなく、ハードディス
ク装置4上のデータのアドレス情報もストアする。
The work RAM 12 is used not only as a general work area of the CPU 10 but also stores address information of data on the hard disk device 4.

【0095】このアドレス情報は、図9及び図10を用
いて後述する通り、キャッシュアドレス(ハードディス
クアドレス)とエミュレーションアドレス(光ディスク
アドレスと同一とされる)との対応を示す情報であり、
通常、キャッシュエリアに新しいデータが記録される毎
に生成される。
As will be described later with reference to FIGS. 9 and 10, this address information is information indicating the correspondence between the cache address (hard disk address) and the emulation address (same as the optical disk address).
Normally, it is generated every time new data is recorded in the cache area.

【0096】又、キャッシュエリアを用いる場合には、
CPU10は、このアドレス情報を基に、ホストコンピ
ュータとハードディスク装置4との間でデータ転送を行
ったり、光ディスク装置5とハードディスク装置4との
間でバックグラウンド処理を行う。
When using the cache area,
Based on this address information, the CPU 10 transfers data between the host computer and the hard disk device 4, and performs background processing between the optical disk device 5 and the hard disk device 4.

【0097】バックグラウンド処理は、ホストコンピュ
ータ1からは独立して行われるため、該バックグラウン
ド処理が終結する前に電源が切られアドレス情報が無く
なるのを防ぐために、ワークRAM12に対するメモリ
電源バックアップ回路13を設ける。
Since the background processing is performed independently of the host computer 1, the memory power backup circuit 13 for the work RAM 12 prevents the power from being turned off and the address information being lost before the background processing is completed. To provide.

【0098】なお、図の符号14は、ホストコンピュー
タ1とのインターフェイスバス、15はメモリデバイ
ス、即ち光ディスク装置5、ハードディスク装置4との
間のインターフェイスバスを示す。エミュレーションユ
ニット3内の各ブロックはデータバス16とアドレスバ
ス17によって接続されている。ホストコンピュータ1
とメモリデバイスとの間及び光ディスク装置5とハード
ディスク装置4との間のデータは、データ転送制御信号
18により、データバス16を介して転送される。
Reference numeral 14 in the drawing denotes an interface bus with the host computer 1, and 15 shows a memory device, that is, an interface bus with the optical disk device 5 and the hard disk device 4. Each block in the emulation unit 3 is connected by a data bus 16 and an address bus 17. Host computer 1
Data between the optical disk device 5 and the hard disk device 4 is transferred via the data bus 16 by the data transfer control signal 18.

【0099】このデータ転送は、一般にCPU10を介
して行うと転送速度が遅くなるために、データ転送制御
回路8によって生成される転送要求信号や応答信号等の
データ転送制御信号18によって制御される。符号19
はメモリ電源バックアップ回路13からワークRAM1
2に供給されるバックアップ電源を示す。
This data transfer is generally controlled via the data transfer control signal 18 such as a transfer request signal or a response signal generated by the data transfer control circuit 8 because the transfer speed becomes slower if it is performed via the CPU 10. Code 19
Is from the memory power backup circuit 13 to the work RAM 1
2 shows the backup power supply to be supplied.

【0100】以下、本実施例の作用を説明する。The operation of this embodiment will be described below.

【0101】本実施例では、本発明が適用される一般的
なキャッシュエリア(以降、通常キャッシュエリアと呼
ぶ)と共に、アクセスが頻繁に行われるエミュレーショ
ンアドレスを含む連続したエミュレーションアドレスの
データを一時的に記録するための固定キャッシュエリア
を有している。
In this embodiment, data of continuous emulation addresses including emulation addresses that are frequently accessed are temporarily stored together with general cache areas to which the present invention is applied (hereinafter referred to as normal cache areas). It has a fixed cache area for recording.

【0102】固定キャッシュエリアにおけるキャッシュ
アドレスと、これに割り付けられる連続したエミュレー
ションアドレスとの、個々のアドレスの対応は、1対1
の対応となっている。
The correspondence between the individual addresses of the cache address in the fixed cache area and the consecutive emulation addresses assigned to it is one to one.
It is a correspondence of.

【0103】このような固定キャッシュエリアのアクセ
スの際には、前述の通常キャッシュエリアのアクセスの
際に必要としたアドレス情報は必要としない。
In accessing such a fixed cache area, the address information required in accessing the above-mentioned normal cache area is not required.

【0104】又、固定キャッシュエリアに割り付けられ
ているエミュレーションアドレスに対して頻繁にホスト
コンピュータが記録を行ったとしても、固定キャッシュ
エリアの対応するキャッシュアドレスへのデータの記録
が指定回数行われるだけである。
Further, even if the host computer frequently records to the emulation address assigned to the fixed cache area, the recording of the data to the corresponding cache address of the fixed cache area is performed only the designated number of times. is there.

【0105】即ち、このように固定キャッシュエリアを
用いることにより、通常キャッシュエリアを用いた場合
の、主たる記憶装置へ未転送で、通常キャッシュエリア
に記録されたままのデータが満杯となってしまうという
恐れや、通常キャッシュエリアを用いるためのワークメ
モリ中のアドレス情報が満杯となってしまう恐れがな
い。
That is, by using the fixed cache area in this way, when the normal cache area is used, the data that has not been transferred to the main storage device and remains recorded in the normal cache area becomes full. There is no fear that the address information in the work memory for using the normal cache area will be full.

【0106】このように、本実施例では、固定キャッシ
ュエリアを備えることにより、ホストコンピュータから
頻繁にアクセスが発生する状況でも、データキャッシュ
装置のデータが満杯となってしまうという恐れや、ワー
クメモリ中のアドレス情報が満杯となってしまうという
恐れを少なくすることができる。
As described above, in this embodiment, by providing the fixed cache area, the data in the data cache device may become full even in the situation where the host computer frequently accesses the data, and the work memory may not be full. It is possible to reduce the risk that the address information of will become full.

【0107】図7は、前記実施例の光ディスク装置5の
全記憶容量エリアのマップ図である。
FIG. 7 is a map of the total storage capacity area of the optical disk device 5 of the above embodiment.

【0108】この図7において、符号A10b 、A12
b 、A14b は、それぞれ、固定キャッシュエリア割付
エリア、通常キャッシュエリア割付エリア、プリフェッ
チエリア割付エリアである。
In FIG. 7, reference numerals A10b and A12 are used.
b and A14b are a fixed cache area allocation area, a normal cache area allocation area, and a prefetch area allocation area, respectively.

【0109】これら固定キャッシュエリア割付エリアA
10b 、通常キャッシュエリア割付エリアA12b 、プ
リフェッチエリア割付エリアA14b は、それぞれ、後
述する固定キャッシュエリアA10a 、通常キャッシュ
エリアA12a 、プリフェッチエリアA14a に対応し
て割付けられたものである。
Fixed cache area allocation area A
10b, a normal cache area allocation area A12b, and a prefetch area allocation area A14b are allocated corresponding to a fixed cache area A10a, a normal cache area A12a, and a prefetch area A14a, which will be described later, respectively.

【0110】この図7に示される通り、本実施例に用い
られている光ディスク装置5の全記憶容量は、300M
B(メガバイト)である。
As shown in FIG. 7, the total storage capacity of the optical disk device 5 used in this embodiment is 300M.
It is B (megabytes).

【0111】この光ディスク装置5での全記憶容量エリ
アの先頭の4MBは、OS管理情報に関するデータが記
録されている。
Data relating to the OS management information is recorded in the first 4 MB of the total storage capacity area in the optical disk device 5.

【0112】本実施例の光ディスク装置5は、実際にデ
ータが記録される記録媒体が交換可能となっている。従
って、この全記憶容量エリアの先頭の4MBのOS管理
情報データD3は、主として、光ディスク装置5に取り
付けられている記録媒体に記録されているデータのファ
イル管理に関する情報となっている。
In the optical disk device 5 of this embodiment, the recording medium on which data is actually recorded can be replaced. Accordingly, the OS management information data D3 of 4 MB at the head of the total storage capacity area is mainly information relating to file management of data recorded on the recording medium attached to the optical disk device 5.

【0113】このOS管理情報データD3は、ホストコ
ンピュータからのアクセスが頻繁に行われるデータとな
っている。
The OS management information data D3 is data that is frequently accessed by the host computer.

【0114】従って、この図7で符号A10b で示され
る如く、このOS管理情報データD3は、固定キャッシ
ュエリア割付エリアとなっている。
Therefore, as indicated by the symbol A10b in FIG. 7, the OS management information data D3 is a fixed cache area allocation area.

【0115】又、この図7において、符号A12b が付
されたエリアは、通常キャッシュエリア割付エリアとな
っている。
Further, in FIG. 7, the area designated by reference numeral A12b is a normal cache area allocation area.

【0116】なお、符号A14b の付された4MBのエ
リアは、プリフェッチエリア割付エリアとなっている。
このプリフェッチエリア割付エリアA14b は、アクセ
スがアドレスの順にシーケンシャルに行われるシーケン
シャルファイルデータD2が記録されている。
The area of 4 MB to which the code A14b is assigned is a prefetch area allocation area.
In the prefetch area allocation area A14b, sequential file data D2 in which access is performed sequentially in the order of addresses is recorded.

【0117】なお、この図7の通常キャッシュエリア割
付エリアA12b 中の符号D1は、ホットデータであ
り、図8を用いて後述する通り、ハードディスク装置4
の通常キャッシュエリアA12a に展開されているデー
タである。
The reference numeral D1 in the normal cache area allocation area A12b in FIG. 7 is hot data, and as will be described later with reference to FIG.
The data is expanded in the normal cache area A12a.

【0118】図8は、前記実施例のハードディスク装置
4の全キャッシュエリアのマップ図である。
FIG. 8 is a map of all cache areas of the hard disk device 4 of the above embodiment.

【0119】この図8において、符号A10a 、A12
a 、A14a は、それぞれ、固定キャッシュエリア、通
常キャッシュエリア、プリフェッチエリアである。又、
この図8の符号D1、D2、D3は、前述の図7の同符
号のものと同一のものである。
In FIG. 8, reference numerals A10a and A12 are used.
a and A14a are a fixed cache area, a normal cache area, and a prefetch area, respectively. or,
Reference numerals D1, D2, D3 in FIG. 8 are the same as those of the same reference numerals in FIG.

【0120】この図8に示される通り、ハードディスク
装置4の全記憶容量は40MBである。
As shown in FIG. 8, the total storage capacity of the hard disk device 4 is 40 MB.

【0121】又、このハードディスク装置4の全記憶容
量は、通常キャッシュエリアA12a と、プリフェッチ
エリアA14a と、固定キャッシュエリアA10a とで
構成されるキャッシュエリアとなっている。
The total storage capacity of the hard disk device 4 is a cache area composed of a normal cache area A12a, a prefetch area A14a and a fixed cache area A10a.

【0122】前記通常キャッシュエリアA12a は、全
キャッシュエリアの先頭から32MBが割り付けられて
いる。
In the normal cache area A12a, 32 MB is allocated from the head of all the cache areas.

【0123】なお、この通常キャッシュエリアA12a
に記録されているデータは、以降、ホットデータD1と
呼ぶ。
Incidentally, this normal cache area A12a
The data recorded in 1 is hereinafter referred to as hot data D1.

【0124】前記プリフェッチエリアA14a は、前述
の32MBの通常キャッシュエリアA12a に続く4M
Bのエリアである。
The prefetch area A14a is 4M following the 32MB normal cache area A12a.
This is area B.

【0125】ホストコンピュータからのアクセスの際、
アクセス対象となるデータが前述の図7の符号A14b
で示されるプリフェッチエリア割付エリアに記録されて
いるシーケンシャルファイルデータD2である場合に
は、キャッシュエリアとしてこの図8の符号A14a で
示されるプリフェッチエリアが用いられる。
At the time of access from the host computer,
The data to be accessed is the code A14b in FIG. 7 described above.
In the case of the sequential file data D2 recorded in the prefetch area allocation area indicated by, the prefetch area indicated by reference numeral A14a in FIG. 8 is used as the cache area.

【0126】ホストコンピュータからのシーケンシャル
ファイルデータD2の読出のアクセスの際には、図5を
用いて前述した、バックグラウンド処理によるプリフェ
ッチが行われる。
At the time of access for reading the sequential file data D2 from the host computer, prefetching by the background processing described above with reference to FIG. 5 is performed.

【0127】この図8の4MBの前記プリフェッチエリ
アA14a に続くエリアである、4MBである固定キャ
ッシュエリアA10a は、前述の図7の固定キャッシュ
エリア割付エリアA10b に記録されているOS管理情
報データD3のデータキャッシュに用いられる。
The fixed cache area A10a of 4 MB, which is an area following the pre-fetch area A14a of 4 MB of FIG. 8, corresponds to the OS management information data D3 recorded in the fixed cache area allocation area A10b of FIG. Used for data cache.

【0128】このハードディスク装置4の固定キャッシ
ュエリアA10a の記憶容量は、前述の光ディスク装置
5の先頭に位置する固定キャッシュエリア割付エリアA
10b の4MBの記憶容量と同一になっている。
The fixed cache area A10a of the hard disk device 4 has a storage capacity of the fixed cache area allocation area A located at the head of the optical disk device 5 described above.
It is the same as the storage capacity of 4 MB of 10b.

【0129】又、このハードディスク装置4の固定キャ
ッシュエリアA10aを用いたデータキャッシュの際に
は、アドレス情報を用いることなく速やかに処理を行う
ことが可能である。
In the data cache using the fixed cache area A10a of the hard disk device 4, it is possible to perform the processing promptly without using the address information.

【0130】図9〜図12は、本実施例のアドレス情報
が記録されたキャッシュアドレステーブルを示す線図で
ある。
9 to 12 are diagrams showing the cache address table in which the address information of this embodiment is recorded.

【0131】これらの図9〜図12に示されるキャッシ
ュアドレステーブルは、番号No と、フラグと、スター
トアドレスとエンドアドレスとでなるキャッシュアドレ
ス(ハードディスクアドレス)と、スタートアドレスと
エンドアドレスとでなるエミュレーションアドレス(光
ディスクアドレスと同一となっている)とで構成されて
いる。
The cache address tables shown in FIGS. 9 to 12 are numbers No, a flag, a cache address (hard disk address) consisting of a start address and an end address, and an emulation consisting of a start address and an end address. Address (which is the same as the optical disc address).

【0132】これら図9〜図12において、番号No
は、それぞれのキャッシュアドレステーブルのレコー
ド、即ち、個々のアドレス情報の通し番号である。
9 to 12, the number No.
Is a record of each cache address table, that is, a serial number of individual address information.

【0133】又、この番号No の値が大きくなるほど新
しいデータとなる。
Further, the larger the value of this number No, the newer the data.

【0134】即ち、後述するようなアドレス情報統合処
理が行われることにより、特定のアドレス情報が無効と
された場合には、この無効とされた部分に新たなアドレ
ス情報が書き込まれることがなく、先ず、この無効とな
った部分を詰めるべくこれ以降のアドレス情報を番号N
o の値が小さくなる方向へシフトし、この後、最後尾に
新たなアドレス情報が書き込まれるようになっている。
That is, when specific address information is invalidated by performing address information integration processing as described later, new address information is not written in the invalidated portion, First, in order to fill in this invalid part, the subsequent address information is numbered N
The value of o shifts to a smaller value, and after that, new address information is written at the end.

【0135】これらの図9〜図12のキャッシュアドレ
ステーブルを示す線図において、“フラグ”は、該当す
るアドレス情報が有効であるか無効であるかを示すフラ
グである。
In the diagrams showing the cache address tables of FIGS. 9 to 12, "flag" is a flag indicating whether the corresponding address information is valid or invalid.

【0136】即ち、このフラグが“1”である場合に
は、該当するアドレス情報のキャッシュアドレスの値や
エミュレーションアドレスの値は有効となる。又、有効
となったアドレス情報は、それぞれに該当するキャッシ
ュエリア中のキャッシュデータの、キャッシュアドレス
とエミュレーションアドレスとの対応を示すようにな
る。
That is, when this flag is "1", the value of the cache address and the value of the emulation address of the corresponding address information are valid. The valid address information also indicates the correspondence between the cache address and the emulation address of the cache data in the corresponding cache area.

【0137】一方、このフラグが“0”である場合に
は、これに対応するアドレス情報、即ち、キャッシュア
ドレスとエミュレーションアドレスとは無効になる。即
ち、このフラグが“0”である場合には、これに該当す
るアドレス情報がいかなる値であっても、これは無視さ
れる。
On the other hand, when this flag is "0", the address information corresponding to this flag, that is, the cache address and the emulation address are invalid. That is, when this flag is "0", this is ignored regardless of the value of the corresponding address information.

【0138】これらの図9〜図12で示されるキャッシ
ュアドレステーブルは、ホストコンピュータからのアク
セスの際のアドレス指定、即ちエミュレーションアドレ
スによるアドレス指定に従って、ハードディスク4上の
通常キャッシュエリアA12a をアクセスする際のキャ
ッシュアドレス(ハードディスクアドレス)を求める際
に用いられる。
The cache address tables shown in FIGS. 9 to 12 are used when the normal cache area A12a on the hard disk 4 is accessed according to the address specification from the host computer, that is, the address specification by the emulation address. It is used when obtaining the cache address (hard disk address).

【0139】あるいは、このキャッシュアドレステーブ
ルは、バックグラウンド処理で行われる、ハードディス
ク4の通常キャッシュエリアA12a と光ディスク装置
5の通常キャッシュエリア割付エリアA12b との間の
データ転送の際の、ハードディスクアドレスと光ディス
クアドレスとの対応を求める際にも用いられる。
Alternatively, this cache address table is used for the hard disk address and the optical disk at the time of data transfer between the normal cache area A12a of the hard disk 4 and the normal cache area allocation area A12b of the optical disk device 5 which is performed in the background processing. It is also used when finding the correspondence with an address.

【0140】なお、本実施例では、エミュレーションア
ドレスと光ディスクアドレスとは1対1に対応してお
り、同一と見做すことができる。
In this embodiment, the emulation address and the optical disc address correspond to each other on a one-to-one basis and can be regarded as the same.

【0141】以下、これら図9〜図12を用いて、本実
施例のハードディスクのエミュレータにおけるアドレス
情報統合方法を説明する。
The address information integration method in the hard disk emulator of this embodiment will be described below with reference to FIGS. 9 to 12.

【0142】本実施例のハードディスクエミュレータの
アドレス情報統合方法においては、図1を用いて前述し
たアドレス情報の連結処理の各項目の処理と、図2を用
いて前述したアドレス情報の包含処理の各項目の処理と
が行われている。
In the address information integration method of the hard disk emulator of the present embodiment, each item of the address information concatenation process described above with reference to FIG. 1 and each address information inclusion process described above with reference to FIG. Items are being processed.

【0143】まず、図9及び図10では、図1のアドレ
ス情報の連結処理の番号1の項目の処理が行われてい
る。
First, in FIG. 9 and FIG. 10, the processing of the item of number 1 of the concatenation processing of the address information of FIG. 1 is performed.

【0144】図9において、キャッシュアドレスが00
0000から00001Eである番号1のアドレス情報
で示されるキャッシュデータと、キャッシュアドレスが
00001Fから00003Eのアドレス情報で示され
るキャッシュデータとは、それぞれ、エミュレーション
アドレスが、01F001から01F01F、あるいは
01F020から01F03Fとなっている。
In FIG. 9, the cache address is 00
The emulation addresses of the cache data indicated by the address information of 0000 to 00001E and the cache data indicated by the address information of 00001F to 00003E are 01F001 to 01F01F or 01F020 to 01F03F, respectively. ing.

【0145】即ち、これら番号1のアドレス情報に対応
するキャッシュデータと番号2のアドレス情報に対応す
るキャッシュデータとは、ハードディスク装置における
キャッシュエリアに書き込まれた状態で隣接しており、
且つ、エミュレーションアドレスが連続している。
That is, the cache data corresponding to the address information of No. 1 and the cache data corresponding to the address information of No. 2 are adjacent to each other while being written in the cache area in the hard disk device,
Moreover, the emulation addresses are consecutive.

【0146】同様に、この図9の番号4から7のアドレ
ス情報で示されるそれぞれのキャッシュデータも、ハー
ドディスク装置のキャッシュエリアに書き込まれた状態
で連続している。
Similarly, the respective cache data indicated by the address information of the numbers 4 to 7 in FIG. 9 are continuous in the state of being written in the cache area of the hard disk device.

【0147】即ち、これら番号3から番号7のアドレス
情報に対応したそれぞれのキャッシュデータは、この番
号順にハードディスクキャッシュエリアに書き込まれて
おり、且つ、これら番号3から番号7のキャッシュデー
タのエミュレーションアドレスは、この番号順に連続し
ている。
That is, the respective cache data corresponding to the address information of these numbers 3 to 7 are written in the hard disk cache area in the order of numbers, and the emulation addresses of the cache data of these numbers 3 to 7 are , Are consecutive in this numerical order.

【0148】従って、図9の番号1のアドレス情報と番
号2のアドレス情報とは、図1のアドレス情報の連結処
理の番号1の項目の処理に従って統合することができ
る。又、同様に、番号3から番号7のまでの合計5個の
アドレス情報も、1つのアドレス情報に統合することが
できる。
Therefore, the address information of number 1 and the address information of number 2 in FIG. 9 can be integrated according to the processing of the item of number 1 in the concatenation processing of address information in FIG. Similarly, a total of five pieces of address information from No. 3 to No. 7 can be integrated into one piece of address information.

【0149】図10のキャッシュアドレステーブルで
は、前述の図9のキャッシュアドレステーブルのアドレ
ス情報の連結処理が完了した値が書き込まれている。
In the cache address table of FIG. 10, a value for which the concatenation process of the address information of the cache address table of FIG. 9 is completed is written.

【0150】即ち、この図10の番号1のアドレス情報
は、前述の図9の番号1のアドレス情報と番号2のアド
レス情報とが統合(連結)されたアドレス情報となって
いる。又、この図10の番号2のアドレス情報は、前述
の図9の番号3から番号7までの合計5個のアドレス情
報が統合(連結)されたアドレス情報となっている。
That is, the address information of number 1 in FIG. 10 is address information obtained by integrating (connecting) the address information of number 1 and the address information of number 2 in FIG. Further, the address information of No. 2 in FIG. 10 is the address information obtained by integrating (connecting) a total of five pieces of address information from No. 3 to No. 7 in FIG.

【0151】なお、この図10の番号3から番号7まで
のアドレス情報に書き込まれたキャッシュアドレスの値
及びエミュレーションアドレスの値は、それぞれ前述の
図9の番号3から番号7までのアドレス情報のキャッシ
ュアドレスに書き込まれた値とエミュレーションアドレ
スに書き込まれた値と同一であるが、フラグが“0”と
なっているので、これらの値が無効であることになる。
The values of the cache address and the emulation address written in the address information of numbers 3 to 7 in FIG. 10 are the caches of the address information of numbers 3 to 7 in FIG. 9, respectively. The value written in the address is the same as the value written in the emulation address, but since the flag is "0", these values are invalid.

【0152】このように、図9のキャッシュアドレステ
ーブルのアドレス情報の統合(連結)処理を行うことに
より、合計7個のアドレス情報を、合計2個のアドレス
情報に減らすことができる。
In this way, by performing the integration (concatenation) processing of the address information of the cache address table of FIG. 9, it is possible to reduce the total of 7 pieces of address information to the total of 2 pieces of address information.

【0153】図11に示されるアドレス情報が記録され
たキャッシュアドレステーブルを示す線図において、番
号3のアドレス情報に対応するキャッシュデータ、即
ち、キャッシュエリアのキャッシュアドレス00002
Fから00007Eに書き込まれたキャッシュデータ
は、エミュレーションアドレス01F000から01F
04Fに書き込まれるべきデータであり、番号1のアド
レス情報に対応するキャッシュデータや、番号2のアド
レス情報に対応するキャッシュデータよりも新しいデー
タである。
In the diagram showing the cache address table in which the address information shown in FIG. 11 is recorded, the cache data corresponding to the address information of the number 3, that is, the cache address 00002 of the cache area.
The cache data written from F to 00007E is the emulation addresses 01F000 to 01F.
The data is data to be written in 04F and is newer than the cache data corresponding to the address information of number 1 and the cache data corresponding to the address information of number 2.

【0154】従って、この番号3のアドレス情報に対応
するキャッシュデータのエミュレーションアドレスは、
それ以前に記録された番号1のアドレス情報に対応する
キャッシュデータや番号2のアドレス情報に対応するキ
ャッシュデータの、それぞれのエミュレーションアドレ
スを包含している。従って、図11のこれら番号1から
番号3までの合計3個のアドレス情報は、前述の図2の
アドレス情報の包含処理の番号1の項目の処理に従って
統合(包含)することができる。
Therefore, the emulation address of the cache data corresponding to the address information of this number 3 is
The emulation addresses of the cache data corresponding to the address information of No. 1 and the cache data corresponding to the address information of No. 2 recorded before that are included. Therefore, a total of three pieces of address information from No. 1 to No. 3 in FIG. 11 can be integrated (included) according to the processing of the item No. 1 of the inclusion processing of address information in FIG. 2 described above.

【0155】又、図11の番号6のアドレス情報に対応
するキャッシュデータ、即ち、エミュレーションアドレ
スが000020から00005Fまでのキャッシュデ
ータは、この番号6のアドレス情報に対応する該キャッ
シュデータの記録以前に記録された番号4のアドレス情
報に対応するキャッシュデータ及び番号5のアドレス情
報に対応するキャッシュデータのそれぞれのエミュレー
ションアドレスを包含している。
The cache data corresponding to the address information of No. 6 in FIG. 11, that is, the cache data having emulation addresses from 000020 to 00005F is recorded before the recording of the cache data corresponding to the address information of No. 6. The emulation addresses of the cache data corresponding to the address information of No. 4 and the cache data corresponding to the address information of No. 5 are included.

【0156】従って、これら番号4から番号6までの合
計3個のアドレス情報は、前述の図2のアドレス情報の
包含処理の番号1の項目の処理に従って統合(包含)す
ることができる。
Therefore, a total of three pieces of address information from No. 4 to No. 6 can be integrated (included) according to the processing of the item of No. 1 of the inclusion processing of address information in FIG.

【0157】又、この図11に示される状態において、
エミュレーションアドレスが000090から0000
AFである新たなデータを通常キャッシュエリアに書き
込もうとした場合には、この図11の番号7のアドレス
情報のキャッシュアドレスに続いたキャッシュエリアに
このデータは書き込まれる。
In the state shown in FIG. 11,
Emulation address is 000090 to 0000
When a new data of AF is to be written in the normal cache area, this data is written in the cache area following the cache address of the address information of No. 7 in FIG.

【0158】このように新たにキャッシュエリアに書き
込まれるデータ、即ち、キャッシュデータは、図11の
番号7のアドレス情報に対応するキャッシュデータと、
キャッシュエリアに書き込まれた状態で隣接するように
なる。
The data newly written in the cache area in this way, that is, the cache data, is the cache data corresponding to the address information of number 7 in FIG.
It becomes adjacent in the state of being written in the cache area.

【0159】又、この新たにキャッシュエリアに書き込
まれるキャッシュデータは、エミュレーションアドレス
が000090から0000AFであるので、図11の
番号7のアドレス情報に対応するキャッシュデータのエ
ミュレーションアドレス000080から00009F
と一部重複する。即ち、これらのキャッシュデータは、
エミュレーションアドレス000090から00009
Fにおいて重複する。
The cache data newly written in the cache area has emulation addresses of 00900 to 0000AF.
Partly overlaps with. That is, these cache data are
Emulation addresses 000090 to 000009
Overlap in F.

【0160】従って、このような新たなキャッシュエリ
アへのキャッシュデータの書き込みにあたっては、前述
の図1のアドレス情報の連結処理の番号2の項目の条件
が成立するということが判断される。
Therefore, when writing the cache data to such a new cache area, it is judged that the condition of the item of No. 2 of the concatenation processing of the address information in FIG. 1 is satisfied.

【0161】従って、この新たに書き込まれるキャッシ
ュデータは、図11の番号7のアドレス情報で示される
キャッシュデータのエミュレーションアドレス0000
90から00009Fの重複部分に相当する部分が上書
きされるようにしながら書き込まれる。
Therefore, the newly written cache data is the emulation address 0000 of the cache data indicated by the address information No. 7 in FIG.
The writing is performed while overwriting the portion corresponding to the overlapping portion of 90 to 000009F.

【0162】即ち、この新たに書き込まれるキャッシュ
データは、キャッシュアドレス0000C5から000
0E4までに書き込まれる。
That is, the newly written cache data has cache addresses 0000C5 to 000.
It is written by 0E4.

【0163】又、この図11の番号7のアドレス情報と
新たに書き込まれたキャッシュデータのアドレス情報と
は統合(連結)することができる。
Further, the address information of number 7 in FIG. 11 and the address information of the newly written cache data can be integrated (connected).

【0164】図12に示されるキャッシュアドレステー
ブルは、前述した図11のキャッシュアドレステーブル
のアドレス情報が統合された結果が示されている。
The cache address table shown in FIG. 12 shows the result of integrating the address information of the cache address table of FIG. 11 described above.

【0165】この図12の番号1のアドレス情報は、前
述の図11の番号1から番号3までの合計3個のアドレ
ス情報が統合されたアドレス情報である。即ち、この図
12の番号1のアドレス情報は、図11の番号1のアド
レス情報と番号2のアドレス情報とが図11の番号3の
アドレス情報に包含されて1つになったアドレス情報で
ある。
The address information of No. 1 in FIG. 12 is address information in which a total of three pieces of address information of No. 1 to No. 3 in FIG. 11 are integrated. That is, the address information of No. 1 in FIG. 12 is address information in which the address information of No. 1 and the address information of No. 2 in FIG. 11 are included in the address information of No. 3 in FIG. .

【0166】又、この図12の番号2のアドレス情報
は、前述の図11の番号4から番号6までの合計3個の
アドレス情報が統合されたアドレス情報である。即ち、
この図12の番号2のアドレス情報は、前述の図11の
番号4のアドレス情報と番号5のアドレス情報とが、図
11の番号6のアドレス情報に包含され1つになったア
ドレス情報である。
Further, the address information of No. 2 in FIG. 12 is the address information in which a total of three pieces of address information of No. 4 to No. 6 in FIG. 11 are integrated. That is,
The address information of No. 2 in FIG. 12 is the address information in which the address information of No. 4 and the address information of No. 5 in FIG. 11 are included in the address information of No. 6 in FIG. .

【0167】又、図12の番号3のアドレス情報は、前
述の図11の番号7のアドレス情報と、新たに書き込ま
れるキャッシュデータのアドレス情報とが統合(連結)
されたアドレス情報である。
The address information of No. 3 in FIG. 12 is integrated (concatenated) with the address information of No. 7 in FIG. 11 and the address information of newly written cache data.
Address information.

【0168】この図12に示されるように、本実施例に
おいては、合計7プラス1のアドレス情報を、合計3個
のアドレス情報に減少できる。
As shown in FIG. 12, in this embodiment, a total of 7 + 1 address information can be reduced to a total of three pieces of address information.

【0169】以上説明した通り、本実施例によれば、ワ
ークメモリ中のアドレス情報を削減することができ、
又、場合によっては新たに書き込まれるキャッシュデー
タの記憶容量を削減することができるという優れた効果
を得ることができる。
As described above, according to this embodiment, the address information in the work memory can be reduced,
Further, in some cases, it is possible to obtain an excellent effect that the storage capacity of newly written cache data can be reduced.

【0170】なお、以上説明したとおり、本実施例は、
主たる記憶装置である光ディスク装置5とエミュレーシ
ョンの際キャッシュエリアとして用いられるハードディ
スク装置4とを用いて、ホストコンピュータからの記録
や読み出しのアクセスに対して、エミュレートされるハ
ードディスク装置仕様に準拠するものである。
As described above, this embodiment is
The optical disk device 5 which is the main storage device and the hard disk device 4 used as a cache area during emulation are used to comply with the emulated hard disk device specifications for recording and reading access from the host computer. is there.

【0171】又、本実施例は、データキャッシュ装置と
してハードディスク装置を用い、光ディスク装置の短所
を補ったハードディスクエミュレータを構成するもので
ある。
In the present embodiment, a hard disk device is used as a data cache device, and a hard disk emulator that compensates for the disadvantages of the optical disk device is constructed.

【0172】[0172]

【発明の効果】以上説明した通り、本発明によれば、光
ディスク装置の長所であるディスクの交換性、長寿命
性、大容量性、及びクラッシュフリーを有し、加えてキ
ャッシュメモリとバックグラウンド処理を設けることに
より、光ディスク装置の短所であるスループットの低さ
を補うことができ、更にランダムアクセス性の高いデー
タの記録時は、エミュレーションするターゲットである
ハードディスク装置のスループットを上回ることも期待
できる。
As described above, according to the present invention, the advantages of the optical disk device are the exchangeability of the disk, the long life, the large capacity, and the crash-free property. In addition, the cache memory and the background processing are provided. By providing the above, it is possible to compensate for the low throughput of the optical disk device, and when recording data with high random accessibility, it can be expected to exceed the throughput of the hard disk device that is the target for emulation.

【0173】又、本発明によれば、ハードディスク装置
のエミュレーション機能を有することにより、光ディス
ク装置特有のハードウェアやソフトウェアを必要とせ
ず、ハードディスク装置に置き代ってホストコンピュー
タに接続することもできるという効果も得られる。
Further, according to the present invention, by having the emulation function of the hard disk device, it is possible to connect to the host computer in place of the hard disk device without requiring the hardware and software peculiar to the optical disk device. The effect is also obtained.

【0174】又、本発明によれば、上記効果に加え、ホ
ストコンピュータから頻繁にアクセスが発生する状況で
あっても、主たるバルク記憶装置へ未転送で、キャッシ
ュメモリとして用いられるハードディスク装置又は不揮
発性メモリに記録されたままのキャッシュデータが満杯
となってしまったり、又、ワークメモリ中のアドレス情
報が満杯となってしまって、ハードディスクエミュレー
タとしての機能が低下してしまうことを防ぐことができ
るという効果をも得ることができる。
Further, according to the present invention, in addition to the above effects, even in a situation where access is frequently made from the host computer, it is not transferred to the main bulk storage device and is used as a cache memory or a non-volatile memory device. It is possible to prevent the cache data that has been recorded in the memory from becoming full, and the address information in the work memory from becoming full and preventing the function of the hard disk emulator from deteriorating. The effect can also be obtained.

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

【図1】図1は、本発明のアドレス情報の統合方法の一
例であるアドレス情報の連結処理を示す線図である。
FIG. 1 is a diagram showing a concatenation process of address information, which is an example of a method of integrating address information according to the present invention.

【図2】図2は、本発明のアドレス情報の統合方法の一
例であるアドレス情報の包含処理を示す線図である。
FIG. 2 is a diagram showing an address information inclusion process which is an example of an address information integration method according to the present invention.

【図3】図3は、本発明の実施例の基本構成を示すブロ
ック図である。
FIG. 3 is a block diagram showing a basic configuration of an embodiment of the present invention.

【図4】図4は、上記実施例における記録時のデータフ
ローを示すブロック図である。
FIG. 4 is a block diagram showing a data flow during recording in the above embodiment.

【図5】図5は、同じく再生時のデータフローを示すブ
ロック図である。
FIG. 5 is a block diagram showing a data flow during reproduction in the same manner.

【図6】図6は、上記実施例での構成要素であるエミュ
レーションユニットの具体的な回路構成を示すブロック
図である。
FIG. 6 is a block diagram showing a specific circuit configuration of an emulation unit which is a constituent element in the above embodiment.

【図7】図7は、前記実施例の光ディスク装置の全記憶
容量エリアのマップ図である。
FIG. 7 is a map diagram of a total storage capacity area of the optical disk device of the above embodiment.

【図8】図8は、前記実施例のハードディスク装置の全
キャッシュエリアのマップ図である。
FIG. 8 is a map diagram of all cache areas of the hard disk device of the embodiment.

【図9】図9は、本実施例のアドレス情報が記録された
キャッシュアドレステーブルを示す線図である。
FIG. 9 is a diagram showing a cache address table in which address information of this embodiment is recorded.

【図10】図10は、前記図9のアドレス情報が統合さ
れたアドレス情報が記録されたキャッシュアドレステー
ブルを示す線図である。
FIG. 10 is a diagram showing a cache address table in which address information in which the address information of FIG. 9 is integrated is recorded.

【図11】図11は、本実施例のアドレス情報が記録さ
れたキャッシュアドレステーブルを示す線図である。
FIG. 11 is a diagram showing a cache address table in which address information of this embodiment is recorded.

【図12】図12は、前記図11のアドレス情報が統合
されたアドレス情報が記録されたキャッシュアドレステ
ーブルを示す線図である。
FIG. 12 is a diagram showing a cache address table in which address information in which the address information of FIG. 11 is integrated is recorded.

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

1…ホストコンピュータ、 2…ハードディスクエミュレータ、 3…エミュレーションユニット、 4…ハードディスク装置、 5…光ディスク装置、 6…ホストコンピュータ側インターフェイス制御回路、 7…メモリデバイス側インターフェイス制御回路、 8…データ転送制御回路、 9…データバッファ、 10…CPU、 11…プログラム用ROM、 12…ワークRAM、 13…メモリ電源バックアップ回路、 14…インターフェイスバス、 15…メモリデバイス(インターフェイスバス)、 16…データバス、 17…アドレスバス、 18…データ転送制御信号、 19…バックアップ電源、 A4…データキャッシュ装置全キャッシュエリア、 A5…光ディスク装置全記憶容量エリア、 A10a …固定キャッシュエリア、 A12a …通常キャッシュエリア、 A14a …プリフェッチエリア、 A10b …固定キャッシュエリア割付エリア、 A12b …通常キャッシュエリア割付エリア、 A14b …プリフェッチエリア割付エリア、 D1…ホットデータ、 D2…シーケンシャルファイルデータ、 D3…OS管理情報データ。 1 ... host computer, 2 ... Hard disk emulator, 3 ... Emulation unit, 4 ... Hard disk device, 5 ... Optical disk device, 6 ... Host computer side interface control circuit, 7 ... Interface control circuit for memory device side, 8 ... Data transfer control circuit, 9 ... Data buffer, 10 ... CPU, 11 ... Program ROM, 12 ... Work RAM, 13 ... Memory power backup circuit, 14 ... Interface bus, 15 ... Memory device (interface bus), 16 ... Data bus, 17 ... Address bus, 18 ... Data transfer control signal, 19 ... Backup power supply, A4 ... Data cache device all cache areas, A5 ... Total storage capacity area of optical disk device, A10a ... Fixed cash area, A12a ... Normal cash area, A14a ... Prefetch area, A10b ... fixed cache area allocation area, A12b ... Normal cache area allocation area, A14b ... Prefetch area allocation area, D1 ... hot data, D2 ... Sequential file data, D3 ... OS management information data.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】主たる記憶装置である光ディスク装置と、
ホストコンピュータからアクセスされるデータを、デー
タが書き込まれていないキャッシュアドレスを適宜用い
て、 一時的に記録するキャッシュエリアを有する、ハードデ
ィスク装置又は不揮発性メモリとを用いて、所定のハー
ドディスク装置仕様に準拠したインターフェイス仕様を
エミュレートすると共に、 前記エミュレートの際にキャッシュアドレステーブルに
書き込まれる、あるいは書き込まれている複数のアドレ
ス情報を相互に比較して、それぞれのアドレス情報に対
応するそれぞれのキャッシュデータが、前記キャッシュ
エリアに書き込まれた状態で、統合可能か否か判断し、 統合可能であると判断された場合には、少なくとも、対
応する複数のアドレス情報を統合することを特徴とする
ハードディスクエミュレータのアドレス情報統合方法。
1. An optical disk device which is a main storage device,
Conforms to specified hard disk device specifications by using a hard disk device or non-volatile memory that has a cache area for temporarily recording the data accessed from the host computer, using a cache address where no data is written. In addition to emulating the interface specifications described above, a plurality of address information written in the cache address table at the time of the emulation, or a plurality of written address information are compared with each other, respective cache data corresponding to the respective address information are obtained. In the state of being written in the cache area, it is determined whether or not integration is possible, and if it is determined that integration is possible, at least a plurality of corresponding address information is integrated, address Broadcast integration method.
【請求項2】請求項1において、 前記統合可能か否かの判断が、それぞれのアドレス情報
が前記キャッシュエリアに書き込まれた状態で連続する
か否かの判断であり、 連続していると判断された場合には、少なくとも、対応
する複数のアドレス情報を連結することを特徴するハー
ドディスクエミュレータのアドレス情報統合方法。
2. The method according to claim 1, wherein the judgment as to whether or not the integration is possible is a judgment as to whether or not each address information is continuously written in the cache area, and is determined to be continuous. A method for consolidating address information of a hard disk emulator, characterized in that at least a plurality of corresponding address information are concatenated.
【請求項3】請求項1において、 前記統合可能か否かの判断が、あるキャッシュデータの
アドレス情報が、それ以前に記録されたキャッシュデー
タのアドレス情報を包含するか否かの判断であり、 包含すると判断された場合には、当該キャッシュデータ
の方を有効にしてアドレス情報を包含させることを特徴
とするハードディスクエミュレータのアドレス情報統合
方法。
3. The judgment according to claim 1, wherein the judgment as to whether or not the integration is possible is a judgment as to whether or not the address information of a certain cache data includes the address information of the cache data recorded before that. A method for integrating address information in a hard disk emulator, characterized in that, when it is determined to include the address information, the cache data is validated to include the address information.
JP19841491A 1990-08-31 1991-07-12 Address information integrating method for hard disk emulator Pending JPH0519975A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP19841491A JPH0519975A (en) 1991-07-12 1991-07-12 Address information integrating method for hard disk emulator
EP19910307918 EP0475639A3 (en) 1990-08-31 1991-08-29 Hard disk emulator
KR1019910015122A KR920004969A (en) 1990-08-31 1991-08-30 Hard disk emulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19841491A JPH0519975A (en) 1991-07-12 1991-07-12 Address information integrating method for hard disk emulator

Publications (1)

Publication Number Publication Date
JPH0519975A true JPH0519975A (en) 1993-01-29

Family

ID=16390722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19841491A Pending JPH0519975A (en) 1990-08-31 1991-07-12 Address information integrating method for hard disk emulator

Country Status (1)

Country Link
JP (1) JPH0519975A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0756695A (en) * 1993-08-10 1995-03-03 Nec Corp Method for processing real time staging and device therefor
US7069379B2 (en) 2002-03-15 2006-06-27 International Business Machines Corporation Multistage information recording method and system using magnetic recording disk units

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0756695A (en) * 1993-08-10 1995-03-03 Nec Corp Method for processing real time staging and device therefor
US7069379B2 (en) 2002-03-15 2006-06-27 International Business Machines Corporation Multistage information recording method and system using magnetic recording disk units

Similar Documents

Publication Publication Date Title
US6606714B1 (en) Disk drive using defect list to perform uninterrupted writing of non-relocated data blocks and caching of relocated data blocks for deferred writing
JP4238514B2 (en) Data storage device
US6735678B2 (en) Method and apparatus for disc drive defragmentation
US5313612A (en) Information recording and reproducing apparatus including both data and work optical disk drives for restoring data and commands after a malfunction
JP2635023B2 (en) Label writing method for file data
JPH06342395A (en) Method and medium for storage of structured data
JPH0775011B2 (en) Record update method using predictive track table
JPH096540A (en) Built-in directory method for data compression of direct-access storage device and directory record
JP3568110B2 (en) Cache memory control method, computer system, hard disk drive, and hard disk controller
JP2000298608A (en) Computer data storage medium and memory managing method
US6510495B1 (en) Data write method into nonvolatile memory, information processing device and recording medium
EP0475639A2 (en) Hard disk emulator
US5337197A (en) Method and system for maintaining directory consistency in magneto-optic media
US7821896B2 (en) Data recording/reproduction for write-once discs
US6693754B2 (en) Method and apparatus for a disc drive adaptive file system
JP2005284816A (en) Disk array system
JPH0511933A (en) Hard disk emulator and fixed cache area allocating method for the emulator
JPH0519981A (en) Data write normal end judging method for optical disk device
JPH0519975A (en) Address information integrating method for hard disk emulator
JP3969809B2 (en) Data buffer management method in storage device
JPH04111113A (en) Hard disk emulator
JP3335919B2 (en) Disk cache controller
JP2681986B2 (en) Computer system
JP2531538B2 (en) Cache memory data write-back method and disk cache control device
JP3526160B2 (en) Data cache control method