JPH0448452A - High speed access interface device for magneto-optical disk - Google Patents

High speed access interface device for magneto-optical disk

Info

Publication number
JPH0448452A
JPH0448452A JP15598590A JP15598590A JPH0448452A JP H0448452 A JPH0448452 A JP H0448452A JP 15598590 A JP15598590 A JP 15598590A JP 15598590 A JP15598590 A JP 15598590A JP H0448452 A JPH0448452 A JP H0448452A
Authority
JP
Japan
Prior art keywords
buffer memory
optical disk
data
magneto
written
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.)
Granted
Application number
JP15598590A
Other languages
Japanese (ja)
Other versions
JP2973474B2 (en
Inventor
Masaya Maruta
丸田 誠哉
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2155985A priority Critical patent/JP2973474B2/en
Publication of JPH0448452A publication Critical patent/JPH0448452A/en
Application granted granted Critical
Publication of JP2973474B2 publication Critical patent/JP2973474B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the number of times of I/O to a magneto optical disk by making the controller of the magneto optical disk device have the buffer memory of several track portions, buffering writing data on a same track to some extent and writing on the magneto optical disk only when the buffer memory is saturated. CONSTITUTION:When a host computer 1 has writing requirement to a disk, it does not execute writing actually immediately but stores data to be written in a buffer memory once. After that, when it has the writing requirement to the block of the same track as the block to exist in the buffer memory 3, the data of the block re put in the buffer memory of the track, when the buffer memory 3 is saturated, the data is written in a magneto optical disk in the buffer memory 3 according to normal algorism and the data to have the new writing requirement are written in the buffer memory 3 instead of them. Thus, the number of times of I/O is reduced and the increasing operating speed of t magneto optical disk is attained.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は光磁気ディスクの入出力制御装置に関する。[Detailed description of the invention] Industrial applications The present invention relates to an input/output control device for a magneto-optical disk.

従来の技術 近年、光ディスクは一度だけ書き込み可能な追記型から
始まり、何度でも書き換え可能な書換え型光磁気ディス
クが開発され、一般のコンピュタシステムにも接続され
るようになって普及してきた。特に大容量のデータ保存
が要求される電子フフイリングシヌテムなどで利用され
ている。しかし、ハードディスクに比較するとアクセス
タイムが遅いため、より高速化が望まれている。
BACKGROUND OF THE INVENTION In recent years, optical disks started out as write-once types that can be written only once, and rewritable magneto-optical disks that can be rewritten any number of times have been developed and have become popular as they can be connected to general computer systems. It is especially used in electronic filing systems that require large-capacity data storage. However, access times are slower than hard disks, so faster speeds are desired.

光磁気ディスクは、そのメディアの材質の特性から、あ
るセクタにデータを書き込む場合、−度そのセクタのデ
ータをゼロクリアし、その後、ブタを書き込まなければ
ならない。また、書き込んだデータが正しいかどうかを
調べるために、そのセクタをベリファイする必要がある
。したがって、−回の書き込みオペレーションで、ディ
スクは3回転しなければならず、光磁気ディスクのアク
セスがハードディスクに比べ遅い原因の一つとなってい
る。
Due to the characteristics of the material of the media, when writing data to a certain sector of a magneto-optical disk, the data in that sector must be cleared to zero several times, and then the data must be written again. Additionally, it is necessary to verify the sector to check whether the written data is correct. Therefore, the disk must rotate three times for - times of write operations, which is one of the reasons why access to magneto-optical disks is slower than that of hard disks.

一般にディスクのり一ド/ライトオペレーションは、数
個の連続したセクタをアロケーションの単位としたブロ
ックで行われる。したがって、いくつかのブロックへの
書き込み要求があり、それらのブロックが同一トラック
上にあったとしても、物理的なディスクへのI10要求
はそのブロックの回数だけ発せられている。さらに光磁
気ディヌりの場合は、前述の理由から1回の工/○要求
で平均2.6 回転している。
In general, disk read/write operations are performed in blocks with several consecutive sectors as a unit of allocation. Therefore, even if there are write requests to several blocks, and the blocks are on the same track, I10 requests to the physical disk are issued as many times as there are blocks. Furthermore, in the case of magneto-optical dinulling, for the reasons mentioned above, the average number of rotations per machining/○ request is 2.6.

発明が解決しようとする課題 たとえば、同一トラック上にn個のブロックの書き込み
要求が光磁気ディスクへある場合、これらのブロックを
すべてディスクに書き込むためには、(2,6*n)回
転必要であり、またシステム側でもn個の工/○処理が
オーバヘッドとなる。
Problems to be Solved by the Invention For example, if there is a request to write n blocks on the same track to a magneto-optical disk, (2,6*n) rotations are required to write all of these blocks to the disk. Also, on the system side, the n number of operations/○ processing becomes an overhead.

本発明は、上記の課題を解決するために、同一トラック
上への複数個のブロックの書き込みは、−度のライト要
求で完了させ、ディスクアクセスを高速化するのを目的
とする。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention aims to speed up disk access by completing writing of a plurality of blocks on the same track with -1 write request.

課題を解決するための手段 本発明は、上記目的を達成するために、光磁気ディスク
装置のコントローラに数トラック分のバックアメモリを
持たせ、ある程度同一トラック上の書き込みデータをバ
ッファリングしておいて、バッファメモリが飽和したと
きは既定のアルゴリズムに従っである時期に一回のI/
○で1トラック分のデータを書き込むように構成し、物
理工/○の回数を減らすことにより光磁気ディスクの高
速化を図ろうとするものである。
Means for Solving the Problems In order to achieve the above object, the present invention provides a controller for a magneto-optical disk device with backup memory for several tracks, and buffers write data on the same track to some extent. , when the buffer memory is saturated, one I/O is executed at a certain time according to a predetermined algorithm.
This is an attempt to increase the speed of the magneto-optical disk by configuring it so that one track's worth of data is written by ○ and by reducing the number of physical operations/○.

作   用 本発明は上記の構成により、ディスクへのライト要求が
あった場合、すぐには実際に書き込み処理を行わず、書
き込むべきデータはいったんバッファメモリへ蓄え、そ
の後、バッファメモリに存在するブロックと同一トラッ
クのブロックへのライト要求があると、そのブロックの
データはそのトラソクノハノファメモリへ置かし、バッ
クアメモリが飽和すると、前記既定のアルゴリズムに従
ってバッファメモリ中のデータが光磁気ディスクに書き
込まれ、代わりに新たなライト要求のあったデータがバ
ッファメモリに曹き込まれ、物理I10の回数を減らす
ことにより光磁気ディスクの高速化がなされる。
Effect of the Invention According to the above configuration, when there is a write request to the disk, the present invention does not actually perform the write process immediately, but stores the data to be written in the buffer memory once, and then writes the data to the blocks existing in the buffer memory. When there is a write request to a block on the same track, the data of that block is placed in the corresponding memory, and when the backup memory is saturated, the data in the buffer memory is written to the magneto-optical disk according to the predetermined algorithm. Instead, the newly requested data is written into the buffer memory, and the speed of the magneto-optical disk is increased by reducing the number of physical I10 operations.

実施例 以下図面に基づいて本発明の一実施例の光磁気ディスク
の高速アクセスインタフェース装置の構成と動作を説明
する。
Embodiment Hereinafter, the structure and operation of a high-speed access interface device for a magneto-optical disk according to an embodiment of the present invention will be explained based on the drawings.

第1図は、本発明の一実施例の構成図、第2図はその動
作の流れ図である。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a flowchart of its operation.

ホストコンピュータ1から光磁気ディスクドライブ4へ
のコマンドの受信(ステップ1、以下S1のように略記
する)があると、制御装置2はそれがリード要求か、ラ
イト要求かを判断しくS2)、ライト要求であれば、制
御装置2はブロック単位のライト要求を受は入れ、書き
込むべきブロックが存在するトラックのアドレスにより
、バッファメモリ3を走査し、そのトラックのデータが
存在していないかを調べる(S11)。もし存在してい
れば、そのバッファメモリ内のブロックアドレス位置に
データを追加格納する(S16)。
When a command is received from the host computer 1 to the magneto-optical disk drive 4 (step 1, hereinafter abbreviated as S1), the control device 2 determines whether it is a read request or a write request (S2), and a write request. If it is a request, the control device 2 accepts the block-by-block write request, scans the buffer memory 3 based on the address of the track where the block to be written exists, and checks whether data in that track exists ( S11). If the data exists, the data is additionally stored at the block address position in the buffer memory (S16).

しかし、バッファメモリは有限であり、たとえばm個の
トラック分のメモリしかないとすると、新たなライト要
求がバッファメモリに格納されているトラックのどれに
も一致しない場合は(S11)、空きバックアメモリが
あるかを探しく512)、あればバッファメモリ3へ要
求トランクから、そのデータをリードしたうえで(S1
5)、バッファメモリ3へ要求ブロックデータを転送す
るが(S1e)、空きバッファメモリが無ければ、下記
の基準によりバッファメモリ3上のあるトラック分のデ
ータが選択されて(S13)、メディアに1トラック分
書き込まれる(S14)。その後に要求されたトランク
上の全データをバッファメモリ3へ光磁気ディスクから
読みこんでおいてから(S15)。その空いたバッファ
メモリには新たなトラックのデータが収容される(S1
e)。
However, the buffer memory is finite. For example, if there is only memory for m tracks, if a new write request does not match any of the tracks stored in the buffer memory (S11), the free backup memory is 512), and if so, read that data from the request trunk to buffer memory 3 (S1
5), the requested block data is transferred to the buffer memory 3 (S1e), but if there is no free buffer memory, data for a certain track on the buffer memory 3 is selected according to the following criteria (S13), and 1 is transferred to the media. Tracks are written (S14). After that, all data on the requested trunk is read from the magneto-optical disk into the buffer memory 3 (S15). Data of a new track is stored in the empty buffer memory (S1
e).

バッファメモリ内のどのトラックのデータが一番最初に
追い出されるかは、次に示す要素が考慮されて決定され
る。
Which track's data in the buffer memory will be evicted first is determined by considering the following factors.

1 格納されているブロック数が一番多い。1 The number of stored blocks is the largest.

2 格納されているデータが一番古い。2 The stored data is the oldest.

3  ドライブのヘッドの現在位置から最も近い。3. Closest to the current position of the drive head.

以上のアルゴリズムにより、バッファメモリの容量が犬
きく、誉き込みデータのトラックのヒツト率が高いと光
磁気ディスクへの物理アクセスの回数が減るため、パフ
ォーマンスが向上する。さらにリード要求に対しても、
バッファメモリ内にす−ドすべきブロックのデータが入
っておれば(S21)、実際にディスクから読み込むこ
となくそのバッファメモリから要求ブロックのデータを
転送すれば良いため(S22)、高速化につながる。
According to the above algorithm, when the capacity of the buffer memory is large and the hit rate of the track of the imported data is high, the number of physical accesses to the magneto-optical disk is reduced, thereby improving performance. Furthermore, in response to lead requests,
If the data of the block to be loaded is contained in the buffer memory (S21), the data of the requested block can be transferred from the buffer memory without actually reading it from the disk (S22), leading to faster processing. .

発明の詳細 な説明したように本発明の光磁気ディスクの高速アクセ
スインタフェース装置は、光磁気ディスク装置のコント
ローラに数トラック分のバッファメモリを持たせ、ある
程度同一トラック上に書き込みデータをバッファリング
しておいて、バッファメモリが飽和したときのみ光磁気
ディスクに書き込むように構成したので、光磁気ディス
クへのIloの回数が少なくなり、動作を高速化するこ
とができる。
As described in detail, the high-speed access interface device for a magneto-optical disk of the present invention has a controller of a magneto-optical disk device with a buffer memory for several tracks, and buffers write data on the same track to some extent. Since the configuration is such that data is written to the magneto-optical disk only when the buffer memory is saturated, the number of Ilo operations to the magneto-optical disk is reduced, and the operation speed can be increased.

またアロケーション単位を固定のブロック長にしている
従来のファイルシステムにおいても、ホストコンピュー
タでなく周辺装置側でバッファリングを行っているため
、特にソフトウェアの改良を施さなくても高速化するこ
とができる。
Furthermore, even in conventional file systems where the allocation unit is a fixed block length, buffering is performed on the peripheral device side rather than on the host computer, so speeds can be increased without any particular software improvements.

そのためアクセスタイムがハードディスクに比べ非常に
遅い光磁気ディスクの性能を高めることができるもので
ある。
Therefore, it is possible to improve the performance of magneto-optical disks whose access time is much slower than that of hard disks.

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

第1図は本発明の一実施例の光磁気ディスクの高速アク
セスインタフェース装置の構成図、第2図は第1図の制
御装置2の処理の流れを示す流れ図である。 1・・・・・・ホストコンピュータ、2・・・・・・制
御装置、3・・・・・・バッファメモリ、4・・・・・
光磁気ディスクドライフ。
FIG. 1 is a block diagram of a high-speed access interface device for a magneto-optical disk according to an embodiment of the present invention, and FIG. 2 is a flowchart showing the processing flow of the control device 2 of FIG. 1. 1...Host computer, 2...Control device, 3...Buffer memory, 4...
Magneto-optical disk drive.

Claims (1)

【特許請求の範囲】[Claims] 光磁気ディスクへの書き込みデータをトラック単位で一
時的にバッファリングする複数個のメモリと、前記メモ
リが飽和したときに既定のアルゴリズムに従ってメモリ
上のデータを光磁気ディスクへ書き込む制御装置とを有
する光磁気ディスクの高速アクセスインタフェース装置
An optical system having a plurality of memories that temporarily buffer data to be written to a magneto-optical disk on a track-by-track basis, and a control device that writes data on the memory to the magneto-optical disk according to a predetermined algorithm when the memory is saturated. High-speed access interface device for magnetic disks.
JP2155985A 1990-06-14 1990-06-14 Magneto-optical disk drive Expired - Fee Related JP2973474B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2155985A JP2973474B2 (en) 1990-06-14 1990-06-14 Magneto-optical disk drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2155985A JP2973474B2 (en) 1990-06-14 1990-06-14 Magneto-optical disk drive

Publications (2)

Publication Number Publication Date
JPH0448452A true JPH0448452A (en) 1992-02-18
JP2973474B2 JP2973474B2 (en) 1999-11-08

Family

ID=15617833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2155985A Expired - Fee Related JP2973474B2 (en) 1990-06-14 1990-06-14 Magneto-optical disk drive

Country Status (1)

Country Link
JP (1) JP2973474B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8126113B2 (en) 2009-01-29 2012-02-28 Kabushiki Kaisha Toshiba X-ray diagnosis apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8126113B2 (en) 2009-01-29 2012-02-28 Kabushiki Kaisha Toshiba X-ray diagnosis apparatus

Also Published As

Publication number Publication date
JP2973474B2 (en) 1999-11-08

Similar Documents

Publication Publication Date Title
US5983319A (en) Information recording and reproduction apparatus and a method of data caching including read-ahead capability
JP3183993B2 (en) Disk control system
US5420983A (en) Method for merging memory blocks, fetching associated disk chunk, merging memory blocks with the disk chunk, and writing the merged data
JPH1063578A (en) Information recording and reproducing device
US5787461A (en) High speed optical disk drive caching executable and non-executable data
US6523086B1 (en) Method for improving performance of read cache of magnetic disk drive
JP4461089B2 (en) Storage control apparatus and storage control method
JP5605043B2 (en) Data copy device, data copy method, and storage device
JP2973474B2 (en) Magneto-optical disk drive
JPH04111113A (en) Hard disk emulator
JP3444056B2 (en) Recording / reproducing apparatus and recording / reproducing method
JPH0511933A (en) Hard disk emulator and fixed cache area allocating method for the emulator
JP3111912B2 (en) Disk cache control method
JPH01303547A (en) Control system for information memory
JP2834081B2 (en) Magnetic disk controller
US20060020751A1 (en) Medium storage device, cache segment switching method for medium storage device, and medium storage system
US6957302B2 (en) System and method for performing write operations in a disk drive using a write stack drive
WO1984002016A1 (en) Dynamic addressing for variable track length cache memory
JP3080416B2 (en) Method of executing internal operation in controller and controller
JPH0934782A (en) Information storage device
JPH0528651A (en) Information recorder and reproducer
JPH0250743A (en) External storage subsystem
JP2782842B2 (en) Disk cache device
JPH0743634B2 (en) Split volume control method
JPH04111015A (en) Information recorder

Legal Events

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