JPS60233745A - Optical disk control system - Google Patents

Optical disk control system

Info

Publication number
JPS60233745A
JPS60233745A JP8926884A JP8926884A JPS60233745A JP S60233745 A JPS60233745 A JP S60233745A JP 8926884 A JP8926884 A JP 8926884A JP 8926884 A JP8926884 A JP 8926884A JP S60233745 A JPS60233745 A JP S60233745A
Authority
JP
Japan
Prior art keywords
optical disk
external storage
ready
ready state
volume
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
JP8926884A
Other languages
Japanese (ja)
Inventor
Nobuaki Ishioka
石岡 暢明
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP8926884A priority Critical patent/JPS60233745A/en
Publication of JPS60233745A publication Critical patent/JPS60233745A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures

Abstract

PURPOSE:To shorten the data access time of an optical disk and to reduce the load of a CPU by comparing the optical disk set in a ready state with the volume name of an external memory to store them in an internal memory and reporting the ready state to the CPU. CONSTITUTION:When both an optical disk 14 and an external memory 15 are set in a ready state respectively, an optical disk control part 18 and an external memory part 19 read the volume names stored in fixed addresses of the disk 14 and the memory 15 to an internal memory 17 by ready signals (b) and (c). Then each end flag is set up after the normal read is through. An optical disk controller 13 compares the volume names of the disk 14 and an external memory medium with each other on the memory 17. When coincidence is obtained from said comparison, those volume names are stored at the prescribed positions of the memory 17. Then a coincidence flag is set up. The controller 13 informs a CPU11 by an interruption signal (a) that the disk 14 is put under a ready state. These read end flag and the volume name coincidence flag are held as log as both the disk 14 and memory 15 are kept in a ready state respectively.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、1度しかデータの書き込みができないDRA
W(Direct Read After Write
 )タイプの光ディスクを制御する方式に関し、特に光
ディスクのランダムアクセスを容易にするために光ディ
スクノティレクトリをフロッピーディスク又は磁気ディ
スク等の外部記憶装置に格納して光ディスクを制御する
制御方式に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention is directed to a DRA in which data can be written only once.
W (Direct Read After Write
) type of optical disk, and particularly relates to a control method for controlling an optical disk by storing an optical disk directory in an external storage device such as a floppy disk or a magnetic disk in order to facilitate random access to the optical disk.

〔従来の技術〕[Conventional technology]

上記の如き制御方式では、光ディスクのディレクトリ部
を外部記憶媒体にもたせるため、光ディスクのボリュー
ム名と外部記憶媒体のがり−−ム名が一致するかどうか
確認してから、データをアクセスにゆかないと誤ったデ
ータをアクセスする恐れがあるので、データをアクセス
する度毎にポリー−ム名が一致していることを確認する
制御方式をとる必要がある。
In the control method described above, since the directory section of the optical disk is stored on the external storage medium, it is necessary to check whether the volume name of the optical disk and the volume name of the external storage medium match before accessing the data. Since there is a risk of accessing incorrect data, it is necessary to use a control method to confirm that the polymer names match each time data is accessed.

これに対する従来の制御方式を第3図及び第4図を用い
て説明する。第3図は従来の制御方式の一例を示すブロ
ック図、第4図は従来の制御方式の動作流れ図である。
A conventional control method for this will be explained using FIGS. 3 and 4. FIG. 3 is a block diagram showing an example of a conventional control method, and FIG. 4 is an operation flowchart of the conventional control method.

第3図において、1は中央処理装置(以下CPUと略す
。)、2は主記憶装置、3は光デイスク制御装置、4は
光ディスク、5は外部記憶装置である。
In FIG. 3, 1 is a central processing unit (hereinafter abbreviated as CPU), 2 is a main storage device, 3 is an optical disk control device, 4 is an optical disk, and 5 is an external storage device.

CPU 1が光ディスク4をアクセスするだめには、捷
ずCPU 1が光ディスク4及び外部記憶装置5がレデ
ィ状態であることをレディ信号す、cにより確認した後
に、CPU1が光デイスク制御装置3に対し光ディスク
4からデータを読み出すコマンドを発行し、光ディスク
4の固定アドレスに格納されている。y IJニーム名
を主記憶装置2に読み込む。
In order for the CPU 1 to access the optical disk 4, the CPU 1 confirms that the optical disk 4 and the external storage device 5 are in a ready state using a ready signal (c), and then the CPU 1 sends a message to the optical disk controller 3. It issues a command to read data from the optical disc 4 and stores it at a fixed address on the optical disc 4. y Read the IJ neem name into the main memory 2.

同様にして、CPU1は外部記憶装置5に格納されてい
るg IJニーム名を主記憶装置2に読み込む。
Similarly, the CPU 1 reads the g IJ neem name stored in the external storage device 5 into the main storage device 2 .

上記の動作の終了後、ディレクトリの格納されている外
部記憶媒体とデータの格納されている光デイスク媒体の
ボリューム名が一致することを主記憶装置2上で比較確
認してから、CPU1は光デイスク制御装置3に対し光
ディスクのデータをアクセスするコマンドを発行してい
た。以上の動作の流れは第4図に示すようになる。この
ように、従来の方式では、データを光ディスクにアクセ
スしにゆく度毎に光ディスクのg IJニーム名と外部
記憶媒体のデリー−ム名をチェックしなければならず、
データをアクセスするのに時間もかかり、CPU資源を
浪費しているという欠点を有していた。
After completing the above operations, the CPU 1 compares and confirms on the main storage device 2 that the volume names of the external storage medium in which the directory is stored and the optical disk medium in which the data is stored match, and then the CPU 1 A command was issued to the control device 3 to access data on the optical disk. The flow of the above operation is shown in FIG. In this way, in the conventional method, each time you access data on an optical disk, you have to check the optical disk's GJ name and the external storage medium's name.
It has the disadvantage that it takes time to access data and wastes CPU resources.

〔発明の課題〕[Problem of invention]

本発明は上述の如き従来技術の欠点を解消するためにな
されたものであって、光ディスク及び外部記憶装置がレ
ディ状態になると、光デイスク制御装置が自動的に両媒
体のボリューム名を読み込み、両ゼリューム名をチェッ
クし、両?リューム名が一致した場合にのみCPUに対
して光ディスクがレディ状態であることを報告し、該ボ
リューム名を光ディスク又は外部記憶装置が媒体交換等
のためノットレディ状態になるまで光デイスク制御部内
に保持し、どちらか一方がノットレディ状態になると該
ボリューム名を光デイスク制御部内から消滅させ、CP
Uに対してノットレディ状態を報告する光デイスク制御
装置を提供することを目的とする。
The present invention has been made in order to eliminate the drawbacks of the prior art as described above, and when an optical disk and an external storage device become ready, the optical disk control device automatically reads the volume names of both media. Check the Zelium name and check whether it is both? Only when the volume names match, it is reported to the CPU that the optical disk is ready, and the volume name is held in the optical disk control unit until the optical disk or external storage device becomes not ready due to medium exchange, etc. However, when either one becomes not ready, the volume name is deleted from the optical disk control unit, and the CP
An object of the present invention is to provide an optical disk control device that reports a not-ready state to a computer.

〔発明の構成及び作用〕[Structure and operation of the invention]

本発明の制御方式を実現するだめの光デイスク制御装置
は、既存の光デイスク制御装置と同様、光ディスクの所
定データトラック上への光学ヘッド位置決め機能及び選
択されたデータトラックとの記憶データの書き込み、読
み出し制御機能に加えて、外部記憶装置へのデータの書
き込み及び読み出し制御機能と、光ディスク及び外部記
憶媒体のボリューム名を読み込み、両者が一致した場合
そのg IJニーム名を記憶しておく内部メモリと、ホ
ストCF’Uとの一データ転送を制御する472717
1回路とから構成される。
The optical disk control device that realizes the control method of the present invention, like existing optical disk control devices, has the function of positioning the optical head on a predetermined data track of the optical disk, and writing storage data to and from the selected data track. In addition to the read control function, there is also a data writing and read control function to the external storage device, an internal memory that reads the volume name of the optical disk and external storage medium, and stores the g IJ name if the two match. , 472717, which controls data transfer with host CF'U.
It consists of one circuit.

以下本発明の一実施例を第1図及び第2図を参照して詳
細に説明する。第1図は本実施例の構成を示すブロック
図、第2図は本実施例の動作流れ図である。第1図にお
いて、11はCPU112は主記憶装置、13は光デイ
スク制御装置、14は光ディスク、15は外部記憶装置
でアシ、光ディスフ制御装置13はCPUインタフェー
ス16内部メモリ17、光デイスク制御部18及び外部
記憶装置制御部19から構成される。
An embodiment of the present invention will be described in detail below with reference to FIGS. 1 and 2. FIG. 1 is a block diagram showing the configuration of this embodiment, and FIG. 2 is an operation flowchart of this embodiment. In FIG. 1, 11 is a CPU 112 which is a main storage device, 13 is an optical disk controller, 14 is an optical disk, 15 is an external storage device, and an optical disk controller 13 is a CPU interface 16, an internal memory 17, and an optical disk controller 18. and an external storage device control section 19.

第1図に示される様に、光ディスク14がレディ状態に
なるとレディ信号すにより光デイスク制御装置13の内
部に存在する光デイスク制御部18は光ディスク14の
固定アドレスに格納されているボリューム名を内部メモ
リ17の所定のアドレスに読み込み、読み込み正常終了
後、光ディスクのデリー−ム名読み込み完了フラグをた
てる。
As shown in FIG. 1, when the optical disk 14 becomes ready, the ready signal causes the optical disk controller 18 in the optical disk controller 13 to internally read the volume name stored at the fixed address of the optical disk 14. The data is read into a predetermined address in the memory 17, and after the reading is completed successfully, a flag indicating completion of reading the name of the optical disc is set.

同様に、外部記憶装置15がレディ状態になるとレディ
信号Cにより外部記憶制御部19は外部記憶媒体の固定
アドレスに格納されている。g IJニーム名を内部メ
モリ17の所定のアドレスに読み込み、読み込み正常終
了後、外部記憶媒体のボリューム名読み込み完了フラグ
をたてる。光デイスク制御装置13は、光ディスクと外
部記憶媒体のボリューム名読み込み完了フラグが立って
いるのを確認すると、両者のボリューム名を内部メモリ
17上で比較し、両者のボリューム名が一致した場合に
はそのボリューム名を内部メモリ17の所定の位置に格
納し、?リューム名一致フラグを立てる。格納されたボ
リューム名はCPU 11から光ディスクのボリー−ム
を確認するコマンドが発行された場合の照合に利用する
。上記動作が完了すると同時に、光デイスク制御装置1
3はCPU 11に対して、割り込み信号aにより、光
ディスクがレディ状態になった事を知らせる。
Similarly, when the external storage device 15 becomes ready, the ready signal C causes the external storage control unit 19 to store data at a fixed address in the external storage medium. g. Read the IJ neem name into a predetermined address in the internal memory 17, and after the reading is successfully completed, set a volume name reading completion flag on the external storage medium. When the optical disk control device 13 confirms that the volume name reading completion flag of the optical disk and external storage medium is set, it compares the volume names of both on the internal memory 17, and if the volume names of both match, Store the volume name in a predetermined location in the internal memory 17, and ? Set the volume name match flag. The stored volume name is used for verification when the CPU 11 issues a command to confirm the volume of the optical disk. At the same time as the above operation is completed, the optical disk control device 1
3 notifies the CPU 11 that the optical disk has become ready by means of an interrupt signal a.

尚、上記動作中でボリューム名が一致しなかった場合に
も光デイスク制御装置13はCPU 11に対してぎリ
ュームが不一致であるという内容のエラースティタスを
報告する。
Note that even if the volume names do not match during the above operation, the optical disk control device 13 reports an error status to the CPU 11 indicating that the volumes do not match.

上記のレゾ4状態つまり光ディスク及び外部記憶媒体の
ぎり−−ム名読み込み完了フラグと?リューム名一致フ
ラグは、光ディスク14及び外部記憶装置15が物理的
にレディ状態であるうちは保持される。
The above-mentioned reso 4 state, that is, the optical disc and external storage medium - the name read completion flag? The volume name match flag is held as long as the optical disk 14 and external storage device 15 are physically ready.

次に、光ディスクの媒体交換等で光ディスク14がノッ
トレディ状態になると、光デイスク制御部18は光ディ
スクのボリューム名読み込み完了フラグをクリアする。
Next, when the optical disk 14 becomes not ready due to medium exchange of the optical disk, etc., the optical disk control unit 18 clears the volume name reading completion flag of the optical disk.

同様に、外部記憶装置15がノットレディ状態になると
、外部記憶制御部19は外部記憶媒体のボリューム名読
み込み完了フラグをクリアする。一方、光デイスク制御
装置13は常に光ディスク及び外部記憶媒体のボリュー
ム名読み込み完了フラグを監視していて、どちらか一方
のフラグがクリアされるとボリューム名一致フラグをク
リアし、CPU11に対し割り込み信号aを介しノット
レディ状態を報告する。
Similarly, when the external storage device 15 enters the not-ready state, the external storage control unit 19 clears the volume name reading completion flag of the external storage medium. On the other hand, the optical disk control device 13 constantly monitors the volume name read completion flag of the optical disk and external storage medium, and when either flag is cleared, it clears the volume name match flag and sends an interrupt signal a to the CPU 11. Reports not-ready status via.

以上説明したように、本実施例では、光ディスクと外部
記憶装置のボリュームチェックの機構を光デイスク制御
装置内に内蔵させているため、CPUが光ディスクを制
御する過程が第2図に示される流れとなり、第4図の流
れと比べて光ディスクのデータアクセス時間が短縮され
CPUの負荷を軽減することが可能である。
As explained above, in this embodiment, the volume check mechanism for the optical disk and external storage device is built into the optical disk control device, so the process in which the CPU controls the optical disk follows the flow shown in FIG. , compared to the flow shown in FIG. 4, the data access time of the optical disc can be shortened and the load on the CPU can be reduced.

一方、本光デイスク制御装置13を用いて外部記憶媒体
に光ディスクのディスクアドレスを格納せずに光ディス
ク14だけを制御する場合、上記に述べたような方式で
CPU ] 1に対してレディ状態を報告する方式だと
、光ディスク14がレディ状態でも外部記憶装置15が
レディ状態にならないと光ディスク4に対してアクセス
することができない。このような欠点を克服するため、
本発明によれば、新たにモード設定コマンドを設け、C
PU11から第1のモードを設定するコマンドを受け付
けると光ディスク14及び外部記憶装置15の両方がレ
ディ状態になり両者のテリューム名が一致した時に、C
PU 11に対しレディ状態を報告する機能を有効にし
、CPU 11より第1のモードを設定するコマンドを
受け付けると単に光ディスク14が物理的にレディ状態
になると、CPU 11に対してレディ状態を報告する
機能をも併せ持つようにすることも可能である。
On the other hand, when using the present optical disk control device 13 to control only the optical disk 14 without storing the disk address of the optical disk in an external storage medium, the ready state is reported to the CPU 1 using the method described above. In this method, even if the optical disc 14 is in a ready state, the optical disc 4 cannot be accessed unless the external storage device 15 is in a ready state. In order to overcome these drawbacks,
According to the present invention, a mode setting command is newly provided, and C
When a command to set the first mode is received from the PU 11, both the optical disk 14 and the external storage device 15 become ready, and when the television names of both match, the C
When the function of reporting the ready status to the PU 11 is enabled and a command to set the first mode is received from the CPU 11, the optical disk 14 simply becomes physically ready, and the ready status is reported to the CPU 11. It is also possible to have both functions.

なお、以上の説明において読み込み完了フラグおよび一
致フラグを用いた場合を説明したが以下の方法で行えば
これらのフラグを使用する必要はない。
In addition, although the case where the reading completion flag and the match flag were used was explained in the above description, it is not necessary to use these flags if the following method is performed.

先ず光デイスク制御装置の電源投入時において内部メモ
リのボリューム名を格納するエリアに本装置では未使用
の&lJ、−ム名を格納し、ボリューム名の一致を検出
してもそのg 17ユ一ム名が未使用のボリューム名の
ときには前記のようにCPUに対してレディ状態の報告
を行わないようにすれば良い。
First, when the optical disk control device is powered on, an unused volume name is stored in the volume name storage area of the internal memory of the optical disk control device, and even if a match is detected in the volume name, the g17 unit is stored. When the name is an unused volume name, the ready state may not be reported to the CPU as described above.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明の方式によれば、光ディス
クのデータアクセス時間を短縮し、CPUの負荷を軽減
することが可能となる。
As explained above, according to the method of the present invention, it is possible to shorten the data access time of an optical disc and reduce the load on the CPU.

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

第1図は本発明の実施例の構成を示すプロ、り図、第2
図は本発明の実施例の動作流れ図、第3図は従来例の構
成を示すブロック図、第4図は従来例の動作流れ図であ
る。 11・・・中央処理装置、12・・主記憶装置、13・
・・光デイスク制御装置、]4・・・光ディスク、15
・外部記憶装置、16・・・CPUインタフェース、1
7・・・内部メモリ、18・・・光デイスク制御部、1
9・・・外部記憶装置制御部。 第1図 第2図 ソ=にスフへ勺チー27がス閘女往
Figure 1 is a professional diagram showing the configuration of an embodiment of the present invention;
3 is a block diagram showing the configuration of a conventional example, and FIG. 4 is an operational flow diagram of the conventional example. 11...Central processing unit, 12...Main storage device, 13.
・・Optical disk control device, ] 4 ・・Optical disk, 15
・External storage device, 16...CPU interface, 1
7... Internal memory, 18... Optical disk control unit, 1
9...External storage device control unit. Figure 1 Figure 2 27 goes to Sukhumvit

Claims (2)

【特許請求の範囲】[Claims] (1)光デイスク上のデータ位置を管理するディレクト
リ部をフロッピーディスク、磁気ディスク等の外部記憶
装置に記憶しておき、前記ディレクトリ部を読み込んで
光デイスク上のデータ位置を知り中央制御装置が光ディ
スクとアクセスする光デイスク制御方式において、光デ
イスク制御装置は光ディスク及び外部記憶装置のレディ
状態を常に監視し、光ディスクまたは外部記憶装置がレ
ディ状態になるとレディ状態となった装置のボリューム
名を読み込んで該ボリューム名を当該光デイスク制御装
置の内部メモリの装置毎に設けられた所定位置に格納し
、光ディスク及び外部記憶装置の同装置がレディ状態と
なった場合前記両装置から読み込んだがリューム名を比
較し、これらのボリューム名が一致したとき、一致した
ボリューム名を内部メモリの所定位置に格納するととも
に中央制御装置にレディ状態を報告することを特徴とす
る光デイスク制御方式。
(1) A directory section for managing the data location on the optical disk is stored in an external storage device such as a floppy disk or a magnetic disk, and the central controller reads the directory section and learns the data location on the optical disk. In the optical disk control method, the optical disk control device constantly monitors the ready state of the optical disk and external storage device, and when the optical disk or external storage device becomes ready, it reads the volume name of the device that became ready and performs the corresponding operation. The volume name is stored in a predetermined location provided for each device in the internal memory of the optical disk control device, and when the optical disk and external storage device become ready, the volume names are compared when read from both devices. , an optical disk control method characterized in that when these volume names match, the matched volume name is stored in a predetermined location in an internal memory and a ready state is reported to a central control unit.
(2)光デイスク上のデータ位置を管理するディレクト
リ部をフロッピーディスク、磁気ディスク等の外部記憶
装置に記憶しておき、前記ディレクトリ部を読み込んで
光デイスク上のデータ位置を知り中央制御装置が光ディ
スクとアクセスする光デイスク制御方式において、光デ
イスク制御装置はモード設定コマンドを中央制御装置か
ら受取り指定されたモードを記憶し、前記モードが第1
のモードであるときには光ディスク及び外部記憶装置の
同装置がレディ状態となったときに該同装置から読み取
ったボリューム名を比較してこれらのがリューム名が一
致した場合一致した?リーーム名を当該光デイスク制御
装置の内部メモリに格納するとともに中央制御装置にレ
ディ状態を報告し、一方前記モードが第2のモードであ
るときには上記のごときがリューム名の比較は行なわず
光ディスクがレディ状態になったときに中央制御装置に
レディ状態を報告することを特徴とする光ディスり制御
方式。
(2) A directory section for managing the data location on the optical disk is stored in an external storage device such as a floppy disk or a magnetic disk, and the central controller reads the directory section and learns the data location on the optical disk. In the optical disk control method, the optical disk control device receives a mode setting command from the central control device and stores the specified mode, and when the mode is
mode, when the optical disk and external storage device are in the ready state, the volume names read from the same device are compared, and if the volume names match, are they a match? The system stores the system name in the internal memory of the optical disk controller and reports the ready state to the central controller. On the other hand, when the mode is the second mode, the system does not compare the system names and indicates that the optical disk is ready. An optical disk control system characterized by reporting a ready state to a central control unit when the ready state is reached.
JP8926884A 1984-05-07 1984-05-07 Optical disk control system Pending JPS60233745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8926884A JPS60233745A (en) 1984-05-07 1984-05-07 Optical disk control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8926884A JPS60233745A (en) 1984-05-07 1984-05-07 Optical disk control system

Publications (1)

Publication Number Publication Date
JPS60233745A true JPS60233745A (en) 1985-11-20

Family

ID=13966003

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8926884A Pending JPS60233745A (en) 1984-05-07 1984-05-07 Optical disk control system

Country Status (1)

Country Link
JP (1) JPS60233745A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63744A (en) * 1986-06-20 1988-01-05 Sanyo Electric Co Ltd Information file device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63744A (en) * 1986-06-20 1988-01-05 Sanyo Electric Co Ltd Information file device

Similar Documents

Publication Publication Date Title
US7020756B2 (en) Data saving method and external storage device
US8108597B2 (en) Storage control method and system for performing backup and/or restoration
US5724542A (en) Method of controlling disk control unit
US6513102B2 (en) Internal copy for a storage controller
KR20000035409A (en) A memory device and a method for controlling the same
US6199105B1 (en) Recovery system for system coupling apparatuses, and recording medium recording recovery program
JPS60233745A (en) Optical disk control system
JP2000148404A (en) Computer system
JP2562753B2 (en) Readout control method for magneto-optical disk device
JPH06348600A (en) Disk cache device
JP2634867B2 (en) Disk cache data transfer control method
JPH0235537A (en) Multiple volume update control system
JPH04291618A (en) Duplexed disk control system
JP2001014219A (en) Method and device for controlling cache
JP2733478B2 (en) Loading media management method for collective equipment
JPS6013360A (en) Storage device
JPH07141120A (en) Processing method for fault in information storage medium
JPS59180765A (en) System for managing doubled volume
JPS6390088A (en) Recording information managing system for optical disk
JPH0895717A (en) Magnetooptic disk drive and disk drive system
JPH10320134A (en) Optical disk library device
JP2960455B2 (en) External storage control method
JP3484707B2 (en) Asynchronous data transfer controller
JPH02165354A (en) Auxiliary storage device
JPH04111030A (en) Information recorder