JPH06342407A - Channel device - Google Patents

Channel device

Info

Publication number
JPH06342407A
JPH06342407A JP5130607A JP13060793A JPH06342407A JP H06342407 A JPH06342407 A JP H06342407A JP 5130607 A JP5130607 A JP 5130607A JP 13060793 A JP13060793 A JP 13060793A JP H06342407 A JPH06342407 A JP H06342407A
Authority
JP
Japan
Prior art keywords
bus
state
lock
ready
command
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.)
Withdrawn
Application number
JP5130607A
Other languages
Japanese (ja)
Inventor
Hidetoshi Makino
秀敏 牧野
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP5130607A priority Critical patent/JPH06342407A/en
Publication of JPH06342407A publication Critical patent/JPH06342407A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To continuously perform access from a host device to the same low order device after bus reset. CONSTITUTION:A channel device 2 connected through a bus 4 to plural low order devices 3-1-3-n, which enable access by turning to a ready state corresponding to a ready request, so as to perform access to the host devices 3-1-3-n corresponding to a request from a host device 1 is provided with a storage means 21 for storing data showing whether the plural slave devices 3-1-3-n are turned to the ready state or not, command executing means 23 for executing the command due to the host device 1, managing means 22 for reflecting the storage means 21 with changes in the ready states of the slave devices 3-1-3-n due to the operation of this command executing means 23, and bus lock control means 24 for performing the monitor of the lock state of the bus 4, lock cancel and recovery processing concerning the ready state of the plural slave devices 3-1-3-n based on the data of the storage means 21 after this lock cancel.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、光ディスク装置、光
磁気ディスク装置等のように、レディー要求に応じてレ
ディー状態となることによりアクセスが可能となる下位
装置がバスを介して複数接続されるチャネル装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a plurality of lower devices, such as an optical disk device and a magneto-optical disk device, which can be accessed by entering a ready state in response to a ready request. It relates to a channel device.

【0002】[0002]

【従来の技術】書換え型或いは追記型の光ディスク装置
の特長として、媒体の交換が可能である点が挙げられ
る。この媒体の交換を可能とするため、使用後(アクセ
ス後)の処理としてレディー解除コマンドを実行する必
要がある。図7、図8に示されるように、光ディスク装
置3は、レディー要求コマンド(START UNI
T)に応じてレディー状態(READY)となることに
よりアクセスが可能となり、レディー解除コマンド(S
TOP UNIT)に応じてノットレディー(NOTR
EADY)となってアクセスが不能となるように構成さ
れている。
2. Description of the Related Art A rewritable or write-once type optical disk device has a feature that media can be exchanged. In order to enable exchange of this medium, it is necessary to execute a ready release command as a process after use (after access). As shown in FIG. 7 and FIG. 8, the optical disk device 3 uses the ready request command (START UNI
When the ready state is changed to the ready state (READY) according to T), access becomes possible, and the ready release command (S
Not Ready (NOTR) according to TOP UNIT
EADY) and access is disabled.

【0003】この様な光ディスク装置をチャネル装置に
複数台接続して、複数のドライブを持つシステムを構成
すると、アクセスしたいドライブ(光ディスク装置)毎
にSTART UNITを送出し、アクセス終了後には
STOP UNITを送出して動作を完了させる必要が
ある。ここで、ある光ディスク装置のアクセス中にドラ
イブ側の何らかの要因によりバスラインがロックし動作
不可能となった場合、一般にホスト側かデバイス側かで
バスリセット(実際には、オペレータによりバスの電源
を落とす等の操作を行う。)を送出することにより障害
から復旧することが多い。
When a plurality of such optical disk devices are connected to a channel device to form a system having a plurality of drives, START UNIT is transmitted for each drive (optical disk device) desired to be accessed, and STOP UNIT is sent after the access is completed. Must be sent to complete the operation. Here, if the bus line is locked due to some cause on the drive side during operation of an optical disk device and it becomes inoperable, generally the bus is reset by the host side or the device side (actually, the operator turns on the bus power supply). It often recovers from the failure by sending the operation such as dropping.).

【0004】[0004]

【発明が解決しようとする課題】しかるに、バスライン
が復旧したとしても、バスリセット(BUS RESE
T)により、図8に示される如く、いままでレディー状
態であった光ディスク装置3のレディー状態も解除さ
れ、ノットレディー状態に遷移してしまう。このため、
以降の同ドライブの使用に際してはSTART UNI
Tをホスト側から再度送出し直す必要があり、単に、バ
スリセットを実行しても、継続的に、同一ドライブを使
用し続けることができないという問題が生じていた。
However, even if the bus line is restored, the bus reset (BUS RESE
As a result of T), as shown in FIG. 8, the ready state of the optical disk device 3 which has been in the ready state until now is released, and the state changes to the not ready state. For this reason,
When using the same drive thereafter, START UNI
It is necessary to send T again from the host side, and even if a bus reset is simply executed, the same drive cannot be continuously used.

【0005】本発明は、このような従来のチャネル装置
の問題点を解決せんとしてなされたもので、その目的
は、上位装置がバスリセット後に、継続的に、同下位装
置をアクセスすることを可能とするチャネル装置を提供
することである。
The present invention has been made to solve the problems of the conventional channel device, and an object thereof is to enable an upper device to continuously access the lower device after a bus reset. It is to provide a channel device.

【0006】[0006]

【課題を解決するための手段】そこで本発明では、レデ
ィー要求に応じてレディー状態となることによりアクセ
スが可能となる複数の下位装置とバスを介して接続され
ると共に、上位装置からの要求に応じて前記下位装置を
アクセスするチャネル装置に、前記複数の下位装置がレ
ディー状態であるか否かのデータが記憶される記憶手段
と、前記上位装置によるコマンドを実行するコマンド実
行手段と、このコマンド実行手段による動作による下位
装置のレディー状態の変化を前記記憶手段に反映させる
管理手段と、前記バスのロック状態の監視及び、ロック
解除を行うと共に、このロック解除後には前記記憶手段
のデータに基づき、前記複数の下位装置のレディー状態
に関する復旧処理を行うバスロック制御手段とを具備さ
せてチャネル装置を構成した。
Therefore, in the present invention, a plurality of lower-level devices that can be accessed by entering a ready state in response to a ready request are connected via a bus and a request from a higher-level device is received. In response to the channel device accessing the lower device, storage means for storing data as to whether or not the plurality of lower devices are ready, command executing means for executing a command by the upper device, and the command Management means for reflecting in the storage means a change in the ready state of the lower device due to the operation by the execution means, monitoring of the lock state of the bus and unlocking, and after releasing the lock, based on the data in the storage means A channel device including bus lock control means for performing recovery processing regarding the ready state of the plurality of lower devices. Configuration was.

【0007】つまり、本発明では、ファームウエアによ
り、バスのロック状態の監視を行い、ロック状態を検出
するとこのロック状態の解除を行う監視・解除手段と、
前記監視・解除手段によるバスのロック状態の解除が行
われた場合に、前記記憶手段のデータに基づき、前記複
数の下位装置のレディー状態に関する復旧処理を行う装
置状態復旧手段とを備えるバスロック制御手段を構成す
る。
That is, in the present invention, the monitoring / release means for monitoring the lock state of the bus by the firmware and releasing the lock state when the lock state is detected,
Bus lock control including a device state restoration unit that performs restoration processing regarding the ready states of the plurality of lower devices based on the data in the storage unit when the bus lock state is released by the monitoring / release unit Constitutes a means.

【0008】また、本発明では、バスのロック状態の監
視を行い、ロック状態を検出すると上位装置に通知を行
う監視・通知手段と、この監視・通知手段による通知に
応じて、バスリセットコマンドが前記上位装置から送出
された場合に、前記バスのロック状態の解除を行うロッ
ク解除手段と、このロック解除手段によるバスのロック
状態の解除が行われた場合に、前記記憶手段のデータに
基づき、前記複数の下位装置のレディー状態に関する復
旧処理を行う装置状態復旧手段とを備えるバスロック制
御手段を構成する。
Further, according to the present invention, the bus lock condition is monitored, and when the lock condition is detected, the monitor / notification means for notifying the host device and the bus reset command are issued in response to the notification by the monitor / notification means. When it is sent from the host device, the lock release means for releasing the lock state of the bus, and the release of the bus lock state by the lock release means, based on the data of the storage means, A bus lock control unit is provided that includes a device state restoration unit that performs restoration processing regarding the ready states of the plurality of lower devices.

【0009】[0009]

【作用】上記構成によると、チャネル装置のバスロック
制御手段において、監視・解除手段が、バスのロック状
態の監視を行い、ロック状態を検出するとこのロック状
態の解除を行う。つまりバスロックは、チャネル装置で
ロック解除され、オペレータの介入を不要としている。
更に、装置状態復旧手段は、前記監視・解除手段による
バスのロック状態の解除が行われた場合に、前記記憶手
段のデータに基づき、前記複数の下位装置のレディー状
態に関する復旧処理を行う。一方、記憶手段には、管理
手段によってコマンド実行手段による動作による下位装
置のレディー状態の変化が反映させられ、複数の下位装
置がレディー状態であるか否かのデータが記憶されてい
る。このため、複数の下位装置のレディー状態は、バス
ロック前に戻され、上位装置は継続的に、同装置をアク
セスすることが可能となる。
According to the above construction, in the bus lock control means of the channel device, the monitoring / releasing means monitors the locked state of the bus, and when the locked state is detected, the locked state is released. That is, the bus lock is unlocked at the channel device, eliminating the need for operator intervention.
Further, the device status recovery means performs recovery processing regarding the ready status of the plurality of lower-level devices based on the data in the storage means when the bus lock status is released by the monitoring / release means. On the other hand, in the storage means, the management means reflects the change in the ready state of the lower-level device due to the operation by the command executing means, and stores data as to whether or not the plurality of lower-level devices are in the ready state. Therefore, the ready states of the plurality of lower devices are returned to before the bus lock, and the upper device can continuously access the same.

【0010】また、監視・通知手段が、バスのロック状
態の監視を行い、ロック状態を検出すると上位装置に通
知を行うので、上位装置は、バスロックを検出する。上
位装置は、バスリセットコマンドを送出し、前記バスの
ロック状態の解除を行うようにチャネル装置に制御を行
う。装置状態復旧手段は、前記バスリセットコマンドを
受け、前記記憶手段のデータに基づき、前記複数の下位
装置のレディー状態に関する復旧処理を行う。一方、記
憶手段には、管理手段によってコマンド実行手段による
動作による下位装置のレディー状態の変化が反映させら
れ、複数の下位装置がレディー状態であるか否かのデー
タが記憶されている。このため、複数の下位装置のレデ
ィー状態は、バスロック前に戻され、上位装置は継続的
に、同装置をアクセスすることが可能となる。
Further, the monitoring / notifying means monitors the lock state of the bus, and when it detects the lock state, it notifies the host device, so that the host device detects the bus lock. The host device sends a bus reset command to control the channel device so as to release the locked state of the bus. The device status recovery means receives the bus reset command and performs recovery processing regarding the ready status of the plurality of lower devices based on the data in the storage means. On the other hand, in the storage means, the management means reflects the change in the ready state of the lower-level device due to the operation by the command executing means, and stores data as to whether or not the plurality of lower-level devices are in the ready state. Therefore, the ready states of the plurality of lower devices are returned to before the bus lock, and the upper device can continuously access the same.

【0011】[0011]

【実施例】以下添付図面を参照して、本発明のチャネル
装置の実施例を説明する。各図において、同一の構成要
素には同一の番号を付し、重複する説明を省略する。図
1には、本発明の実施例に係るチャネル装置の構成が示
されている。チャネル装置2はホストCPU等から構成
される上位装置1に接続されると共に、バス4を介して
複数の下位装置である光ディスク装置3−1〜3−nに
接続されている。チャネル装置2は上位装置1のコマン
ドに応じて、必要な光ディスク装置3−1〜3−nをア
クセスし、データのリードライトを行う等を実行するコ
マンド実行手段23を備える。光ディスク装置3−1〜
3−nは、書換え型或いは追記型であり、図7、図8に
示した光ディスク装置3と同様に、レディー要求に応じ
てレディー状態となることによりアクセスが可能となる
構成を有する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of a channel device of the present invention will be described below with reference to the accompanying drawings. In each drawing, the same constituent elements are designated by the same reference numerals, and duplicate description will be omitted. FIG. 1 shows the configuration of a channel device according to an embodiment of the present invention. The channel device 2 is connected to a host device 1 including a host CPU and the like, and is also connected via a bus 4 to a plurality of lower device optical disk devices 3-1 to 3-n. The channel device 2 is provided with a command execution means 23 for accessing the required optical disk devices 3-1 to 3-n and reading and writing data according to the command from the host device 1. Optical disc device 3-1 to 3-1
3-n is a rewritable type or a write-once type, and has a configuration in which access is made possible by entering a ready state in response to a ready request, as in the optical disc device 3 shown in FIGS. 7 and 8.

【0012】チャネル装置2は、記憶手段21(フラ
グ)を有し、各光ディスク装置3−1〜3−n(No1
〜Non)に対応して、装置がレディー状態であるか否
かのデータが記憶されるように構成されている。この記
憶手段21は、管理手段22により管理され、コマンド
実行手段23による動作による光ディスク装置3−1〜
3−nのレディー状態の変化が反映させられる。つま
り、上位装置1からの所望の光ディスク装置3−1〜3
−nを指定して送出されるレディー要求コマンド(ST
ART UNIT)、レディー解除コマンド(STOP
UNIT)に応じて、記憶手段21の対応のエリアの
セットリセットが管理手段22によりなされる。
The channel device 2 has a storage means 21 (flag), and each of the optical disk devices 3-1 to 3-n (No1).
~ Non), data indicating whether or not the device is in the ready state is stored. The storage means 21 is managed by the management means 22 and is operated by the command executing means 23 to operate the optical disk devices 3-1 to 3-1.
Changes in the 3-n ready state are reflected. That is, the desired optical disk devices 3-1 to 3 from the host device 1
Ready request command (ST
ART UNIT), Ready release command (STOP
In accordance with (UNIT), the management means 22 sets and resets the corresponding area of the storage means 21.

【0013】チャネル装置2にはバスロック制御手段2
4が備えられる。バスロック制御手段24は、バス4の
ロック状態の監視を行い、ロック状態を検出するとこの
ロック状態の解除を行う監視・解除手段26と、前記監
視・解除手段26によるバスのロック状態の解除が行わ
れた場合に、前記記憶手段21のデータに基づき、前記
複数の光ディスク装置3−1〜3−nのレディー状態に
関する復旧処理を行う装置状態復旧手段25とを備え
る。このバスロック制御手段24、管理手段22、コマ
ンド実行手段23はファームウエアにより構成される。
このファームウエアによる処理動作は、図2乃至図3の
フローチャートにより示されるので、以下このフローチ
ャートに沿って動作を説明する。
The channel device 2 has a bus lock control means 2
4 is provided. The bus lock control means 24 monitors the locked state of the bus 4, and when the locked state is detected, the monitoring / release means 26 that releases the locked state, and the monitoring / release means 26 releases the locked state of the bus. When performed, the apparatus state restoration means 25 is provided for performing restoration processing regarding the ready states of the plurality of optical disc apparatuses 3-1 to 3-n based on the data of the storage means 21. The bus lock control means 24, management means 22, and command execution means 23 are composed of firmware.
The processing operation by this firmware is shown by the flowcharts of FIGS. 2 to 3, and the operation will be described below with reference to this flowchart.

【0014】チャネル装置2は電源投入により立上が
り、フラグ、レジスタ類等の初期化を実行する(30、
31)。次に、上位装置1からの要求待ちに入り(3
2)、要求があったときにその要求内容をチェックし、
START UNITコマンドであることを検出する
と、あらかじめ決められたドライブ状態のフラグ(記憶
手段21の該当エリア)をセットする(33、34)。
また、STOP UNITコマンドの場合には対応のド
ライブ状態のフラグをリセットする(35、36)。斯
して、チャネル装置1はドライブの状態を把握してい
る。
The channel device 2 starts up when the power is turned on, and initializes flags, registers and the like (30,
31). Next, it waits for a request from the higher-level device 1 (3
2), when there is a request, check the content of the request,
When it is detected that the command is the START UNIT command, a predetermined drive state flag (corresponding area of the storage means 21) is set (33, 34).
In the case of the STOP UNIT command, the corresponding drive status flag is reset (35, 36). Thus, the channel device 1 knows the state of the drive.

【0015】START UNITコマンド、STOP
UNITコマンドのいずれでもない場合の所望の光デ
ィスク装置3−1〜3−nに対するアクセス等の通常の
コマンドの処理において(37)、コマンドが正常に実
行されたか否かを検出している(38)。コマンドが正
常に実行された場合には、正常な完了処理を行って(3
9)、上位装置1からの要求待ちにリターンする。一
方、コマンドが正常に実行されない場合には、その要因
を分析しタイムアウトエラーかを判定する(40)。タ
イムアウトでなければ対応するエラー完了処理が実行さ
れる(44)。タイムアウトである場合には、バスロッ
ク状態と判断してバス4をリセットする(41)。例え
ば、チャネル装置2がバス4の電源を制御する構成を採
り、バスリセット時には、電源を一時的に断とする。次
に、ドライブの状態を記憶手段21のデータ(フラグ状
態)によりチェックし(42)、必要なドライブに対し
てSTART UNITコマンドを送出する(43)。
この結果、図7において示したように、このドライブ
(光ディスク装置)はレディー状態となり、継続してア
クセスすることが可能となる。つまり、この場合には、
上位装置1はバスロックを知ることなく、当該光ディス
ク装置に対するアクセスを要求できることになる。
START UNIT command, STOP
In the processing of a normal command such as an access to a desired optical disk device 3-1 to 3-n when it is not a UNIT command (37), it is detected whether the command is executed normally (38). . If the command is executed normally, perform normal completion processing (3
9) Return to wait for a request from the higher-level device 1. On the other hand, when the command is not executed normally, the cause is analyzed and it is determined whether it is a time-out error (40). If not timed out, the corresponding error completion process is executed (44). If the time is out, the bus 4 is judged to be in the bus lock state and the bus 4 is reset (41). For example, the channel device 2 controls the power supply of the bus 4, and the power supply is temporarily cut off when the bus is reset. Next, the state of the drive is checked by the data (flag state) of the storage means 21 (42), and the START UNIT command is sent to the required drive (43).
As a result, as shown in FIG. 7, this drive (optical disk device) is in the ready state and can be continuously accessed. So in this case,
The host device 1 can request access to the optical disk device without knowing the bus lock.

【0016】上記実施例の場合には、上位装置1はバス
ロックを知ることなく、当該光ディスク装置に対するア
クセスを要求できるが、システム管理上、上位装置1が
バスロックを知るように構成する場合には、図4の構成
が採用される。このチャネル装置2Aのバスロック制御
手段24Aは、バス4のロック状態の監視を行い、ロッ
ク状態を検出すると上位装置1に通知を行う監視・通知
手段28と、この監視・通知手段28による通知に応じ
て、バスリセットコマンドが上位装置1から送出された
場合に、バス4のロック状態の解除を行うロック解除手
段27と、このロック解除手段27によるバス4のロッ
ク状態の解除が行われた場合に、記憶手段21のデータ
に基づき、複数の光ディスク装置3−1〜3−nのレデ
ィー状態に関する復旧処理を行う装置状態復旧手段25
とを備える点で、図1の実施例と異なる。このバスロッ
ク制御手段24Aについてもファームウエアにより構成
される。このファームウエアによる処理動作は、図5乃
至図6のフローチャートにより示されるので、以下この
フローチャートに沿って動作を説明する。
In the above embodiment, the host device 1 can request access to the optical disk device without knowing the bus lock. However, when the host device 1 is configured to know the bus lock in terms of system management. 4 adopts the configuration of FIG. The bus lock control means 24A of the channel device 2A monitors the lock state of the bus 4 and notifies the host device 1 of a notice when the lock state is detected, and a notification by the monitor / notification means 28. Accordingly, when the bus reset command is sent from the host device 1, the unlocking means 27 for unlocking the locked state of the bus 4 and the unlocked state of the bus 4 by the unlocking means 27 are released. In addition, the device state restoration means 25 for performing restoration processing regarding the ready states of the plurality of optical disc devices 3-1 to 3-n based on the data in the storage means 21.
The difference from the embodiment of FIG. The bus lock control means 24A is also composed of firmware. The processing operation by this firmware is shown by the flowcharts of FIGS. 5 to 6, and the operation will be described below with reference to this flowchart.

【0017】チャネル装置2は電源投入により立上が
り、フラグ、レジスタ類等の初期化を実行する(30、
31)。次に、上位装置1からの要求待ちに入り(3
2)、要求があったときにその要求内容をチェックし、
START UNITコマンドであることを検出する
と、あらかじめ決められたドライブ状態のフラグ(記憶
手段21の該当エリア)をセットする(33、34)。
また、STOP UNITコマンドの場合には対応のド
ライブ状態のフラグをリセットする(35、36)。斯
して、チャネル装置1はドライブの状態を把握してい
る。ここまでは、図1の実施例と同様である。
The channel device 2 starts up when the power is turned on, and initializes flags, registers and the like (30,
31). Next, it waits for a request from the higher-level device 1 (3
2), when there is a request, check the content of the request,
When it is detected that the command is the START UNIT command, a predetermined drive state flag (corresponding area of the storage means 21) is set (33, 34).
In the case of the STOP UNIT command, the corresponding drive status flag is reset (35, 36). Thus, the channel device 1 knows the state of the drive. Up to this point, the process is similar to that of the embodiment shown in FIG.

【0018】START UNITコマンド、STOP
UNITコマンドのいずれでもない場合には、リセッ
ト&スタートコマンドが上位装置1から送られてきたの
かを検出し(51)、リセット&スタートコマンドでも
なければ、所望の光ディスク装置3−1〜3−nに対す
るアクセス等の通常のコマンドの処理が実行される(5
2)。この処理において、タイムアウトエラーかを判定
する(53)。タイムアウトエラーがなく、正常にコマ
ンドが処理された場合には、正常な完了処理を行って
(55)、上位装置1からの要求待ちにリターンする。
一方、タイムアウトである場合には、バスロック状態と
判断してバスロックを上位装置1へ通知する(54)。
START UNIT command, STOP
If it is neither a UNIT command, it is detected whether a reset & start command is sent from the host device 1 (51), and if it is not a reset & start command, the desired optical disk device 3-1 to 3-n Processing of a normal command such as access to
2). In this process, it is judged whether or not there is a time-out error (53). If there is no time-out error and the command is processed normally, normal completion processing is performed (55) and the process returns to waiting for a request from the higher-level device 1.
On the other hand, if the time is out, it is determined that the bus is locked and the bus lock is notified to the host device 1 (54).

【0019】バスロックの通知を受けた上位装置1で
は、所要の場合には履歴を作成するなどの処理を行い、
かつ、リセット&スタートコマンドを送出することにな
る。このリセット&スタートコマンドを受けたチャネル
装置2では、ステップ51において『yes』へ分岐す
ることになり、バス4のリセットが行われる(56)。
例えば、チャネル装置2がバス4の電源を制御する構成
を採り、バスリセット時には、電源を一時的に断とす
る。次に、ドライブの状態を記憶手段21のデータ(フ
ラグ状態)によりチェックし(57)、必要なドライブ
に対してSTARTUNITコマンドを送出する(5
8)。この結果、図7において示したように、このドラ
イブ(光ディスク装置)はレディー状態となり、継続し
てアクセスすることが可能となる。つまり、この場合に
は、上位装置1はバスロックを知りリセット&スタート
コマンドを送出することで、当該光ディスク装置に継続
的にアクセスを要求できることになる。
Upon receiving the notification of the bus lock, the host device 1 performs processing such as creating a history if necessary,
At the same time, a reset & start command will be sent. The channel device 2 that has received this reset & start command branches to "yes" in step 51, and the bus 4 is reset (56).
For example, the channel device 2 controls the power supply of the bus 4, and the power supply is temporarily cut off when the bus is reset. Next, the state of the drive is checked by the data (flag state) of the storage means 21 (57), and the START UNIT command is sent to the necessary drive (5).
8). As a result, as shown in FIG. 7, this drive (optical disk device) is in the ready state and can be continuously accessed. In other words, in this case, the host device 1 can continuously request access to the optical disk device by knowing the bus lock and sending a reset & start command.

【0020】[0020]

【発明の効果】以上説明したように、本発明によれば、
バスがロック状態になった場合にはバスをリセットしロ
ック状態を解除させ、必要な下位装置対して基のレディ
ー状態に戻すので、上位装置がバスリセット後に、継続
的に、同下位装置をアクセスすることが可能となる効果
を奏する。
As described above, according to the present invention,
When the bus becomes locked, the bus is reset, the locked state is released, and the necessary lower-level device is returned to the original ready state, so the upper-level device continuously accesses the lower-level device after the bus is reset. There is an effect that can be done.

【0021】更に本発明では、上位装置にバスリセット
を通知し、チャネル装置は上位装置のコマンドを受けて
バスラインをリセットし必要な下位装置対して基のレデ
ィー状態に戻すので、上位装置がバスリセット後に、継
続的に、同下位装置をアクセスすることが可能となる効
果を奏する。この場合には、上位装置がバスリセットに
関与し、システムの管理等を的確に実行可能となる。
Further, according to the present invention, the host device is notified of the bus reset, and the channel device receives the command of the host device and resets the bus line to restore the necessary ready device to the original ready state. After the reset, there is an effect that the subordinate device can be continuously accessed. In this case, the higher-level device is involved in the bus reset, and the system management and the like can be accurately executed.

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

【図1】本発明のチャネル装置の実施例の構成図。FIG. 1 is a configuration diagram of an embodiment of a channel device of the present invention.

【図2】本発明のチャネル装置の実施例の動作を示すフ
ローチャート。
FIG. 2 is a flowchart showing the operation of an embodiment of the channel device of the present invention.

【図3】本発明のチャネル装置の実施例の動作を示すフ
ローチャート。
FIG. 3 is a flowchart showing the operation of the embodiment of the channel device of the present invention.

【図4】本発明のチャネル装置の他の実施例の構成図。FIG. 4 is a block diagram of another embodiment of the channel device of the present invention.

【図5】本発明のチャネル装置の他の実施例の動作を示
すフローチャート。
FIG. 5 is a flowchart showing the operation of another embodiment of the channel device of the present invention.

【図6】本発明のチャネル装置の他の実施例の動作を示
すフローチャート。
FIG. 6 is a flowchart showing the operation of another embodiment of the channel device of the present invention.

【図7】光ディスク装置の状態遷移を示す図。FIG. 7 is a diagram showing a state transition of the optical disc device.

【図8】光ディスク装置の状態遷移を示す図。FIG. 8 is a diagram showing a state transition of the optical disc device.

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

1 上位装置 2、2A
チャネル装置 3−1〜3−n 光ディスク装置 4 バス 21 記憶手段 22 管理
手段 23 コマンド実行手段 24、24
A バスロック制御手段 25 装置状態復旧手段 26 監視
・解除手段 27 ロック解除手段 28 監視
・通知手段
1 Upper device 2, 2A
Channel device 3-1 to 3-n Optical disc device 4 Bus 21 Storage means 22 Management means 23 Command execution means 24, 24
A bus lock control means 25 device state recovery means 26 monitoring / release means 27 lock release means 28 monitoring / notification means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 レディー要求に応じてレディー状態とな
ることによりアクセスが可能となる複数の下位装置とバ
スを介して接続されると共に、上位装置からの要求に応
じて前記下位装置をアクセスするチャネル装置におい
て、 前記複数の下位装置がレディー状態であるか否かのデー
タが記憶される記憶手段と、 前記上位装置によるコマンドを実行するコマンド実行手
段と、 このコマンド実行手段による動作による下位装置のレデ
ィー状態の変化を前記記憶手段に反映させる管理手段
と、 前記バスのロック状態の監視及び、ロック解除を行うと
共に、このロック解除後には前記記憶手段のデータに基
づき、前記複数の下位装置のレディー状態に関する復旧
処理を行うバスロック制御手段とを具備したことを特徴
とするチャネル装置。
1. A channel that is connected to a plurality of lower-level devices that can be accessed by entering a ready state in response to a ready request via a bus and that accesses the lower-level device in response to a request from a higher-level device. In the device, a storage unit that stores data as to whether or not the plurality of lower devices are in a ready state, a command execution unit that executes a command by the upper device, and a lower device ready by an operation by the command execution unit. Management means for reflecting a change of state in the storage means, monitoring and unlocking the lock status of the bus, and after releasing the lock, based on the data in the storage means, the ready status of the plurality of lower devices. And a bus lock control means for performing a recovery process regarding the channel device.
【請求項2】 バスロック制御手段は、 バスのロック状態の監視を行い、ロック状態を検出する
とこのロック状態の解除を行う監視・解除手段と、 前記監視・解除手段によるバスのロック状態の解除が行
われた場合に、前記記憶手段のデータに基づき、前記複
数の下位装置のレディー状態に関する復旧処理を行う装
置状態復旧手段とを備えることを特徴とする請求項1記
載のチャネル装置。
2. The bus lock control means monitors the lock state of the bus, and when the lock state is detected, the monitor / release means releases the lock state, and the monitor / release means releases the lock state of the bus. 2. The channel device according to claim 1, further comprising: a device state restoration unit that performs restoration processing regarding the ready states of the plurality of lower devices based on the data in the storage unit when the above-mentioned is performed.
【請求項3】 バスロック制御手段は、 バスのロック状態の監視を行い、ロック状態を検出する
と上位装置に通知を行う監視・通知手段と、 この監視・通知手段による通知に応じて、バスリセット
コマンドが前記上位装置から送出された場合に、前記バ
スのロック状態の解除を行うロック解除手段と、 このロック解除手段によるバスのロック状態の解除が行
われた場合に、前記記憶手段のデータに基づき、前記複
数の下位装置のレディー状態に関する復旧処理を行う装
置状態復旧手段とを備えることを特徴とする請求項1記
載のチャネル装置。
3. The bus lock control means monitors the locked state of the bus, and notifies the host device when the locked state is detected, and a bus reset in response to the notification by the monitoring / notification means. When a command is sent from the host device, the lock release means for releasing the lock state of the bus, and the data in the storage means when the lock state of the bus is released by the lock release means 2. The channel device according to claim 1, further comprising a device state restoration unit that performs restoration processing regarding the ready states of the plurality of lower devices based on the above.
JP5130607A 1993-06-01 1993-06-01 Channel device Withdrawn JPH06342407A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5130607A JPH06342407A (en) 1993-06-01 1993-06-01 Channel device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5130607A JPH06342407A (en) 1993-06-01 1993-06-01 Channel device

Publications (1)

Publication Number Publication Date
JPH06342407A true JPH06342407A (en) 1994-12-13

Family

ID=15038265

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5130607A Withdrawn JPH06342407A (en) 1993-06-01 1993-06-01 Channel device

Country Status (1)

Country Link
JP (1) JPH06342407A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001265537A (en) * 2000-03-22 2001-09-28 Hitachi Telecom Technol Ltd External storage device
JP2007272376A (en) * 2006-03-30 2007-10-18 Alpine Electronics Inc Power supply controller and power supply control method
KR100812710B1 (en) * 2006-11-14 2008-03-12 엠텍비젼 주식회사 Method and apparatus for communication using control bus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001265537A (en) * 2000-03-22 2001-09-28 Hitachi Telecom Technol Ltd External storage device
JP2007272376A (en) * 2006-03-30 2007-10-18 Alpine Electronics Inc Power supply controller and power supply control method
JP4716910B2 (en) * 2006-03-30 2011-07-06 アルパイン株式会社 Power supply control device and power supply control method
KR100812710B1 (en) * 2006-11-14 2008-03-12 엠텍비젼 주식회사 Method and apparatus for communication using control bus

Similar Documents

Publication Publication Date Title
US7219144B2 (en) Disk array system and fault information control method
US7366838B2 (en) Storage system and control method thereof for uniformly managing the operation authority of a disk array system
US7908513B2 (en) Method for controlling failover processing for a first channel controller and a second channel controller
US7698518B2 (en) Disk array with capacity management
EP1624375A2 (en) Apparatus, method and program to handle an abnormality in a distributed information processing system
JP2002063063A (en) Storage area network managing system
WO2002019111A2 (en) Fault tolerant data storage system
US7702757B2 (en) Method, apparatus and program storage device for providing control to a networked storage architecture
JPH08335144A (en) External storage device
US20070130432A1 (en) Storage system for copying data between storage devices, and method of copying data
US7216210B2 (en) Data I/O system using a plurality of mirror volumes
US20130346790A1 (en) Non-disruptive controller replacement in network storage systems
US20050198433A1 (en) Storage device controlling apparatus and method of controlling the same
JP2005222404A (en) Storage control subsystem having virtual storage unit
JP2000181887A5 (en)
GB2311633A (en) Data storage management system
JP2007025933A (en) Storage system and its firmware automatic updating method
JP2003208413A (en) Computer system for centralized management of property information
JP2006313410A (en) Management information management method for storage network, storage management system and storage management software
JP4796251B2 (en) Network storage system and control method thereof
JP4074442B2 (en) Method, apparatus, system, program and storage medium for data backup
JPH06342407A (en) Channel device
US7359833B2 (en) Information processing system and method
JP4379860B2 (en) Storage control device and control method thereof
JP2008084327A (en) Method, apparatus, system, program, and recording medium for data backup

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000801