JP2002373122A - Scsi interface controller and its selection monitoring system - Google Patents

Scsi interface controller and its selection monitoring system

Info

Publication number
JP2002373122A
JP2002373122A JP2001180662A JP2001180662A JP2002373122A JP 2002373122 A JP2002373122 A JP 2002373122A JP 2001180662 A JP2001180662 A JP 2001180662A JP 2001180662 A JP2001180662 A JP 2001180662A JP 2002373122 A JP2002373122 A JP 2002373122A
Authority
JP
Japan
Prior art keywords
selection
scsi
time
peripheral device
delay
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
JP2001180662A
Other languages
Japanese (ja)
Other versions
JP3661609B2 (en
Inventor
Makoto Nakajima
真 中島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2001180662A priority Critical patent/JP3661609B2/en
Publication of JP2002373122A publication Critical patent/JP2002373122A/en
Application granted granted Critical
Publication of JP3661609B2 publication Critical patent/JP3661609B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the SCSI interface controller of a host adapter capable of preventing the deterioration of any input and output processing performance with respect to peripheral equipment in an on-line state by confirming the connected situation to peripheral equipment in an off-line state. SOLUTION: This SCSI interface controller is provided with a selection delay monitoring time selecting circuit 300 so that a selection time-out delay time with respect to peripheral equipment whose selection has been successful and a selection time-out delay time with respect to peripheral equipment whose selection has failed can be set. The selection time-out delay time of an SCSI command with respect to the peripheral equipment whose selection has been successful is set so as to be not less than 250 milliseconds based on the SCSI specifications of an ANSI, and the selection time-out delay time with respect to the peripheral equipment whose selection has failed is set so as to be short until the selection of the peripheral equipment is made possible.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、SCSIインタフ
ェース制御装置およびそのセレクション監視方式に関
し、特にディジーチェイン構成で接続されるホストアダ
プタ側を改良したSCSIインタフェース制御装置およ
びSCSIインタフェース制御装置によるセレクション
監視方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a SCSI interface control device and a selection monitoring method thereof, and more particularly to a SCSI interface control device in which a host adapter connected in a daisy chain configuration is improved and a selection monitoring method using the SCSI interface control device. .

【0002】[0002]

【従来の技術】従来、このSCSIインタフェース制御
装置はSCSIインタフェースをコンピュータ用の周辺
装置に設け、SCSIバスを介してホストコンピュータ
や周辺機器のSCSIインタフェースを接続してSCS
Iシステムを構成していた。
2. Description of the Related Art Conventionally, this SCSI interface controller has a SCSI interface provided in a peripheral device for a computer, and connects the SCSI interface of a host computer or a peripheral device via a SCSI bus to the SCSI interface.
I system was configured.

【0003】このようなSCSIシステムにおいては、
ホストアダプタのセレクション・タイムアウト・ディレ
イ監視時間を最低250ミリ秒で設定し、接続されてい
る周辺機器の制御を行っていた。
In such a SCSI system,
The selection timeout / delay monitoring time of the host adapter is set at a minimum of 250 milliseconds to control connected peripheral devices.

【0004】従来、周辺機器のインタフェースとしては
SCSI(SMALL COMPUTER SYSTE
MINTERFACE)規格がANSIによって標準化
されている。なお、以下の説明において、このSCSI
規格に応じたインタフェースをSCSIインタフェース
という。
Conventionally, as a peripheral device interface, a SCSI (SMALL COMPUTER SYSTEM) has been used.
MINTERFACE) standard has been standardized by ANSI. In the following description, this SCSI
An interface conforming to the standard is called a SCSI interface.

【0005】SCSI上の全ての動作はバス・フェーズ
という単位に細分化する事が出来る。 バス・フェーズ
として、バスフリー・フェーズ、アービトレーション・
フェーズ、セレクション・フェーズ、リセレクション・
フェーズ、コマンド・フェーズ、データ・フェーズ、ス
テータス・フェーズ、及びメッセージ・フェーズの8種
類が定義されている。
[0005] All operations on SCSI can be subdivided into units called bus phases. Bus-free phase, arbitration
Phase, selection phase, reselection
Eight types, a phase, a command phase, a data phase, a status phase, and a message phase are defined.

【0006】この中の、セレクション・フェーズでは、
セレクション・タイムアウト・ディレイ以上の時間を経
過してもターゲットからのBSY信号の応答がない場
合、タイムアウト処理を実施してバスを開放する。この
セレクション・タイムアウト・ディレイ監視時間につい
てANSIでは250ミリ秒を推奨している。
[0006] In the selection phase,
If there is no response of the BSY signal from the target even after a lapse of a time equal to or longer than the selection timeout delay, timeout processing is performed to release the bus. ANSI recommends 250 milliseconds for the selection time-out delay monitoring time.

【0007】[0007]

【発明が解決しようとする課題】この種の従来の技術で
は、ホストアダプタ配下に複数の周辺装置がディジーチ
ェイン接続している構成において、SCSI IDは割
り振られているが、オフライン状態の周辺装置が存在す
る場合、ホストアダプタが定期的にオフラインの状態の
周辺装置に対してセレクションを実施し、接続状況の確
認を行うことになり、セレクション・タイムアウト・デ
ィレイ監視時間である最低250ミリ秒間はSCSIバ
スを占有してしまい、オンライン状態の周辺装置の入出
力処理が低下するという問題がある。
In this type of prior art, in a configuration in which a plurality of peripheral devices are daisy-chain connected under a host adapter, SCSI IDs are assigned, but peripheral devices in an offline state are not assigned. If there is, the host adapter periodically performs selection on the peripheral device in the offline state to check the connection status, and the SCSI bus is used for at least 250 milliseconds, which is the selection timeout / delay monitoring time. And the input / output processing of peripheral devices in the online state is reduced.

【0008】本発明の目的は、オフライン状態の周辺装
置に対する接続状況の確認を行うことによる、オンライ
ン状態の周辺装置に対する入出力処理性能低下を防ぐホ
ストアダプタのSCSIインタフェース制御装置および
そのセレクション監視方式を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a host adapter SCSI interface control device and its selection monitoring method for preventing a decrease in input / output processing performance with respect to an on-line peripheral device by confirming a connection status with an off-line peripheral device. To provide.

【0009】[0009]

【課題を解決するための手段】本発明の第1の実施の形
態は、ホストアダプタと周辺装置とが接続されるシステ
ムにおいて、前記周辺装置との接続状態によってセレク
ション・タイムアウト・ディレイ監視時間を変更する手
段を有することを特徴とするSCSIインタフェース制
御装置を提供する。
According to a first embodiment of the present invention, in a system in which a host adapter and a peripheral device are connected, a selection time-out / delay monitoring time is changed depending on a connection state with the peripheral device. A SCSI interface control device is provided, comprising:

【0010】本発明の第2の実施の形態は、ホストアダ
プタと周辺装置とが接続されるシステムのセレクション
処理において、セレクション対象となるSCSI ID
との接続状態によってセレクション・タイムアウト・デ
ィレイ監視時間を変更する手段を有することを特徴とす
るSCSIインタフェース制御装置のセレクション監視
方式を提供する。
According to a second embodiment of the present invention, in a selection process of a system in which a host adapter and a peripheral device are connected, a SCSI ID to be selected is selected.
A means for changing a selection timeout / delay monitoring time depending on a connection state with the SCSI interface control device.

【0011】本発明の第3の実施の形態は、周辺装置の
状態監視処理におけるSCSIコマンド発行時に周辺装
置の接続状態によってセレクション・タイムアウト・デ
ィレイ監視時間の選択を行うセレクション・ディレイ監
視時間選択回路を設けたことを特徴としているSCSI
インタフェース制御装置のセレクション監視方式を提供
する。
In a third embodiment of the present invention, there is provided a selection delay monitoring time selection circuit for selecting a selection time-out delay monitoring time according to a connection state of a peripheral device when a SCSI command is issued in a peripheral device state monitoring process. SCSI that is provided
A selection monitoring method for an interface control device is provided.

【0012】本発明の第4の実施の形態は、前記セレク
ション・ディレイ監視時間選択回路は、セレクションを
行うSCSI IDと、このSCSI IDに接続され
ているセレクション成功レジスタと、SCSIコマンド
のセレクション・タイムアウト・ディレイ値を設定す
る、複数のセレクション・タイムアウト・ディレイ監視
時間レジスタと、前記セレクション成功レジスタに接続
され、複数のセレクション・タイムアウト・ディレイ監
視時間レジスタを選択する選択スイッチと、該選択スイ
ッチにより選択され、セレクション・タイムアウト・デ
ィレイ値を発行するSCSIコマンド発行回路とで構成
されていることを特徴とする請求項3記載のSCSIイ
ンタフェース制御装置のセレクション監視方式を提供す
る。
[0012] In a fourth embodiment of the present invention, the selection delay monitoring time selection circuit comprises: a SCSI ID for performing selection; a selection success register connected to the SCSI ID; and a selection timeout of SCSI command. A plurality of selection time-out delay monitoring time registers for setting a delay value, a selection switch connected to the selection success register and selecting the plurality of selection time-out delay monitoring time registers, and a selection switch selected by the selection switch And a SCSI command issuing circuit for issuing a selection timeout delay value. 4. A selection monitoring method for a SCSI interface control device according to claim 3, wherein

【0013】本発明の第5の実施の形態は、セレクショ
ン成功済みの周辺装置に対するセレクション・タイムア
ウト・ディレイ時間とセレクション失敗の周辺装置に対
するセレクション・タイムアウト・ディレイ時間の設定
を可能とし、セレクション成功済みの周辺装置に対する
SCSIコマンドのセレクション・タイムアウト・ディ
レイ時間は、ANSIのSCSI規格に則った250ミ
リ秒以上で設定し、セレクション失敗の周辺装置に対す
るセレクショ・タイムアウト・ディレイ時間は周辺装置
がセレクション可能な時間まで短く設定する手段を有す
ることを特徴とする請求項4記載のSCSIインタフェ
ース制御装置のセレクション監視方式を提供する。
The fifth embodiment of the present invention enables setting of a selection timeout delay time for a peripheral device for which selection has been successful and a selection timeout delay time for a peripheral device for which selection has failed. The selection timeout delay time of the SCSI command for the peripheral device is set to 250 ms or more in accordance with the ANSI SCSI standard, and the selection timeout delay time for the peripheral device in which the selection fails is set to the time that the peripheral device can select. 5. A selection monitoring system for a SCSI interface control device according to claim 4, further comprising means for setting a short setting.

【0014】本発明の第6の実施の形態は、セレクショ
ン・タイムアウト・ディレイ監視時間によるSCSIバ
スの占有時間を短くし、セレクション成功済みの周辺装
置に対する入出力処理の遅延を減らすことを特徴とする
請求項5記載のSCSIインタフェース制御装置のセレ
クション監視方式を提供する。
The sixth embodiment of the present invention is characterized in that the occupation time of the SCSI bus by the selection time-out delay monitoring time is shortened, and the delay of input / output processing to peripheral devices for which selection has been successful is reduced. A selection monitoring method for a SCSI interface control device according to claim 5 is provided.

【0015】[0015]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0016】図1は本発明の一実施例を示す。図1を参
照すると、本発明の一実施例はホストアダプタ100と
2台の周辺装置200〜201がSCSIバス400に
より接続されている構成が示されている。
FIG. 1 shows an embodiment of the present invention. Referring to FIG. 1, an embodiment of the present invention shows a configuration in which a host adapter 100 and two peripheral devices 200 to 201 are connected by a SCSI bus 400.

【0017】本発明の一実施例は、磁気テープ装置等を
制御するホストアダプタ100と、磁気テープ装置等の
複数の周辺装置200〜201と、ホストアダプタ10
0と周辺装置200〜201を接続するインタフェース
であるSCSIバス400を含む。
One embodiment of the present invention includes a host adapter 100 for controlling a magnetic tape device and the like, a plurality of peripheral devices 200 to 201 such as a magnetic tape device, and a host adapter 10.
0 and a peripheral device 200-201.

【0018】ホストアダプタ100は、ホストアダプタ
の制御部を構成するCPU(中央処理装置)101と、C
PU101がホストアダプタを制御するためのマイクロ
コードを格納したROM(リード・オンリー・メモリー)
103と、CPU101が各種類のデータ処理に使用す
るメモリ等を設けたRAM(ランダム・アクセス・メモ
リー)102と、CPU101からのデータをSCSI
プロトコルに変換しSCSIバス400上へ転送し、周
辺装置との通信をおこなうSCSIインタフェース10
4とを備えている。
The host adapter 100 includes a CPU (Central Processing Unit) 101 constituting a control unit of the host adapter,
ROM (read only memory) storing microcode for PU101 to control the host adapter
103, a RAM (random access memory) 102 provided with a memory or the like used by the CPU 101 for each type of data processing, and data from the CPU 101
SCSI interface 10 that converts the data into a protocol and transfers it to the SCSI bus 400 to communicate with peripheral devices
4 is provided.

【0019】このSCSIインターフェース104には
セレクション・タイムアウト・ディレイ監視時間選択回
路300が設けられている。
The SCSI interface 104 is provided with a selection / timeout / delay monitoring time selection circuit 300.

【0020】ホストアダプタ100のCPU101で生
成した制御命令は、SCSIインタフェース104に供
給され、SCSIプロトコルに変換され、その出力はS
CSIバス400を通してCPU101で選択した周辺
装置に接続されているSCSIインタフェース210,
211にて処理され、周辺機器200,201の制御を
行う。
A control command generated by the CPU 101 of the host adapter 100 is supplied to a SCSI interface 104, converted into a SCSI protocol, and its output is
A SCSI interface 210 connected to the peripheral device selected by the CPU 101 through the CSI bus 400,
The processing is performed at 211 to control the peripheral devices 200 and 201.

【0021】周辺装置200〜201は、SCSIバス
400に接続し、ホストアダプタ100との通信を行う
SCSIインタフェース210〜211と、周辺機器2
20〜221とを備えている。
The peripheral devices 200 to 201 are connected to the SCSI bus 400 and communicate with the host adapter 100.
20 to 221.

【0022】このCPU101で生成した制御命令は、
SCSIインタフェース104に供給され、SCSIプ
ロトコルに変換され、その出力はSCSIバス400を
通してCPU101で選択した周辺装置に接続されてい
るSCSIインタフェース210,211にて処理さ
れ、周辺機器の制御を行う。
The control command generated by the CPU 101 is:
The data is supplied to the SCSI interface 104 and converted into a SCSI protocol. The output is processed by the SCSI interfaces 210 and 211 connected to the peripheral device selected by the CPU 101 via the SCSI bus 400 to control the peripheral devices.

【0023】そして、本発明に従ってSCSIインター
フェース104にはセレクション・タイムアウト・ディ
レイ監視時間選択回路300が設けられている。
According to the present invention, the SCSI interface 104 is provided with a selection timeout / delay monitoring time selection circuit 300.

【0024】このセレクション・タイムアウト・ディレ
イ監視時間選択回路300は、周辺装置に対するSCS
Iコマンド発行処理の一部であるセレクション処理にお
いて機能する。このセレクション処理において機能は、
SCSIコマンド発行の対象装置である周辺装置とホス
トアダプタ100との接続状態によってセレクション・
タイムアウト・ディレイ値を決定し、SCSIコマンド
発行を行う。
The selection time-out delay monitoring time selection circuit 300 is used to select an SCS for a peripheral device.
It functions in the selection processing which is a part of the I command issuance processing. The functions in this selection process are:
Selection / selection depends on the connection status between the peripheral device which is the target device of the SCSI command issuance and the host adapter 100.
A timeout delay value is determined, and a SCSI command is issued.

【0025】図2を参照すると、SCSIインタフェー
ス104(図1)の内部にあるセレクション・ディレイ
監視時間選択回路300はセレクションを行うSCSI
ID310と、このSCSI ID310に接続され
ているセレクション成功レジスタ320と、SCSIコ
マンドのセレクション・タイムアウト・ディレイ値を設
定する、複数のセレクション・タイムアウト・ディレイ
監視時間レジスタ330と、セレクション成功レジスタ
320に接続され、複数のセレクション・タイムアウト
・ディレイ監視時間レジスタ330,331を選択する
選択スイッチ340と、この選択スイッチ340により
選択され、セレクション・タイムアウト・ディレイ値を
発行するSCSIコマンド発行回路350とで構成され
ている。
Referring to FIG. 2, the selection delay monitoring time selection circuit 300 inside the SCSI interface 104 (FIG. 1) performs the SCSI
An ID 310, a selection success register 320 connected to the SCSI ID 310, a plurality of selection timeout delay monitoring time registers 330 for setting a selection timeout delay value of a SCSI command, and a selection success register 320. , A selection switch 340 for selecting a plurality of selection timeout delay monitoring time registers 330, 331, and a SCSI command issuing circuit 350 selected by the selection switch 340 and issuing a selection timeout delay value. .

【0026】セレクションを行うSCSI ID310
は、SCSIコマンドを発行する周辺装置に対応したS
CSI ID値が入力される。
SCSI ID 310 for selection
Is the S corresponding to the peripheral device that issues the SCSI command.
The CSI ID value is entered.

【0027】セレクション成功レジスタ320は、SC
SI ID毎にセレクション成功の可否を示すフラグ3
21を格納し、セレクションを行うSCSI ID31
0に対応したセレクション成功フラグ321を選択スイ
ッチ340に出力する。また、SCSIコマンド発行回
路350からのセレクション成功信号351を用いて、
セレクション成功フラグ321の設定を行う。
The selection success register 320 contains the SC
Flag 3 indicating success or failure of selection for each SI ID
SCSI ID 31 for storing and performing selection
The selection success flag 321 corresponding to 0 is output to the selection switch 340. Also, using the selection success signal 351 from the SCSI command issuing circuit 350,
The selection success flag 321 is set.

【0028】セレクション・タイムアウト・ディレイ監
視時間レジスタ330には、セレクション成功済みの周
辺装置に対するSCSIコマンドのセレクション・タイ
ムアウト・ディレイ値を設定する。また、セレクション
・タイムアウト・ディレイ監視時間レジスタ331に
は、セレクション失敗の周辺装置に対するSCSIコマ
ンドのセレクション・タイムアウト・ディレイ値を設定
する。
In the selection timeout delay monitoring time register 330, a selection timeout delay value of a SCSI command for a peripheral device that has been successfully selected is set. In the selection timeout delay monitoring time register 331, a selection timeout delay value of a SCSI command for a peripheral device in which selection has failed is set.

【0029】選択スイッチ340は、セレクション成功
レジスタ320からの出力信号322を元にセレクショ
ン・タイムアウト・ディレイ監視時間レジスタ330
と、セレクション・タイムアウト・ディレイ監視時間レ
ジスタ331から適当なレジスタ値を選択し、セレクシ
ョン・タイムアウト・ディレイ値341を出力する。こ
れは、セレクション成功レジスタ320からの出力信号
322がセレクション成功済みならば、セレクション・
タイムアウト・ディレイ監視時間レジスタ330を選択
し、出力信号322がセレクション失敗ならば、セレク
ション・タイムアウト・ディレイ監視時間レジスタ33
1を選択する。
The selection switch 340 is based on the output signal 322 from the selection success register 320 and selects the selection time-out delay monitoring time register 330.
Then, an appropriate register value is selected from the selection timeout delay monitoring time register 331, and the selection timeout delay value 341 is output. This means that if the output signal 322 from the selection success register 320 has been successfully selected, the selection
If the timeout / delay monitoring time register 330 is selected and the output signal 322 fails in selection, the selection / timeout / delay monitoring time register 33 is selected.
Select 1.

【0030】SCSIコマンド発行回路350におい
て、セレクション・タイムアウト・ディレイ値として、
選択スイッチ340で選択されたセレクション・タイム
アウト・ディレイ値341を入力し、SCSIコマンド
発行処理を行う。また、周辺装置に対してSCSIコマ
ンドを発行した結果のセレクション成功の可否をセレク
ション成功信号351を用いてセレクション成功レジス
タ320へ発信する。
In the SCSI command issuing circuit 350, the selection timeout delay value is
The selection time-out delay value 341 selected by the selection switch 340 is input, and a SCSI command issuance process is performed. Further, whether or not the selection is successful as a result of issuing the SCSI command to the peripheral device is transmitted to the selection success register 320 using the selection success signal 351.

【0031】つぎに、本実施の形態の動作について説明
する。まず、従来におけるオフライン状態の周辺装置に
対する状態監視の動作について図3のタイミング図を用
いて説明する。
Next, the operation of this embodiment will be described. First, a conventional state monitoring operation for a peripheral device in an offline state will be described with reference to a timing chart of FIG.

【0032】図3おいて、セレクション・タイムアウト
・ディレイ時間はSCSI規格の250ミリ秒以上であ
る為、250ミリ秒で設定した動作と仮定して説明す
る。
In FIG. 3, since the selection timeout delay time is 250 milliseconds or more of the SCSI standard, description will be made assuming that the operation is set to 250 milliseconds.

【0033】オフライン状態の周辺装置に対する、SC
SIコマンド発行であるため、オンラインにならない限
り周辺装置からの応答は無いため、SCSIバスのBS
Y信号はセレクション・タイムアウト・ディレイ監視時
間の250ミリ秒の間、アサートし続ける。なお、この
間はSCSIバスが占有されるため、他の周辺装置に対
する入出力動作は出来なくなる。
SC for a peripheral device in an offline state
Since this command is issued, there is no response from the peripheral device unless it goes online.
The Y signal remains asserted for the selection timeout delay monitoring time of 250 milliseconds. During this time, since the SCSI bus is occupied, input / output operations to other peripheral devices cannot be performed.

【0034】一方、本発明におけるオフライン状態に対
する状態監視の動作について図4のタイミング図に従っ
て実行される。
On the other hand, the state monitoring operation for the offline state according to the present invention is executed according to the timing chart of FIG.

【0035】オンライン状態で何の動作も行っていない
周辺装置ではセレクションに対して最低1ミリ秒あれば
応答してくる。そこで、本発明ではオフライン状態の周
辺装置に対するセレクション・タイムアウト・ディレイ
値を1ミリ秒で設定した動作と仮定して説明する。
A peripheral device that is not performing any operation in the online state responds to the selection in at least 1 millisecond. Therefore, the present invention will be described on the assumption that the selection timeout delay value is set to 1 millisecond for the peripheral device in the off-line state.

【0036】オフライン状態の周辺装置に対するSCS
Iコマンド発行は上述したようにセレクション・タイム
アウト・ディレイ監視時間の1ミリ秒のSCSIバスが
占有されるが、従来の250ミリ秒と比較すると、他の
周辺装置に対する入出力動作の遅延は大幅に防いでい
る。
SCS for peripheral devices in offline state
As described above, the I command is issued occupies the SCSI bus of the selection timeout delay monitoring time of 1 millisecond, but the delay of the input / output operation with respect to other peripheral devices is significantly longer as compared with the conventional 250 milliseconds. I'm preventing.

【0037】また、セレクション・タイムアウト・ディ
レイ値設定の制御動作について、図2のブロック図及び
図5のフローチャートを参照して説明する。はじめに初
期設定として、セレクション・タイムアウト・ディレイ
監視時間レジスタ330にはセレクション成功済みのS
CSI IDに対応に対するセレクション・タイムアウ
ト・ディレイ値である250ミリ秒を設定し、セレクシ
ョン・タイムアウト・ディレイ監視時間レジスタ331
にはセレクション失敗のSCSI IDに対応に対する
セレクション・タイムアウト・ディレイ値である1ミリ
秒を設定する(図5のステップA0)。なお、次回のS
CSIコマンド発行時からステップA0は行わない。
The control operation for setting the selection time-out delay value will be described with reference to the block diagram of FIG. 2 and the flowchart of FIG. First, as an initial setting, the selection time-out delay monitoring time register 330 stores in the selection successful S
A selection timeout delay value of 250 milliseconds corresponding to the CSI ID is set, and a selection timeout delay monitoring time register 331 is set.
Is set to 1 ms, which is the selection timeout delay value corresponding to the SCSI ID for which selection has failed (step A0 in FIG. 5). The next S
Step A0 is not performed after the CSI command is issued.

【0038】セレクションを行うSCSI ID310
がセレクション成功レジスタ320に入力され、セレク
ション成功レジスタ320内で入力されたSCSI I
Dに対応するセレクション成功フラグ321を出力信号
322から選択スイッチ340へ出力される(図5のス
テップA1及びA2)。
SCSI ID 310 for selection
Is input to the selection success register 320, and the SCSI I
The selection success flag 321 corresponding to D is output from the output signal 322 to the selection switch 340 (steps A1 and A2 in FIG. 5).

【0039】セレクション成功レジスタ320の出力信
号322を受信した選択スイッチは、出力信号322の
値が、セレクション成功(図5のステップA3)なら
ば、セレクション・タイムアウトディレイ監視時間レジ
スタ330の値を、セレクション・タイムアウト・ディ
レイ値341としてSCSIコマンド発行回路350に
出力(図5のステップA4)し、セレクション成功レジ
スタから入力された値が、セレクション失敗(図5のス
テップA3)ならば、セレクション・タイムアウト・デ
ィレイ監視時間レジスタ331の値をセレクション・タ
イムアウト・ディレイ値341としてSCSIコマンド
発行回路350に出力する(図5のステップA5)。
The selection switch that has received the output signal 322 of the selection success register 320 changes the value of the selection / timeout delay monitoring time register 330 if the value of the output signal 322 is successful (step A3 in FIG. 5). Output to the SCSI command issuing circuit 350 as the timeout delay value 341 (step A4 in FIG. 5), and if the value input from the selection success register is selection failure (step A3 in FIG. 5), select timeout delay The value of the monitoring time register 331 is output to the SCSI command issuing circuit 350 as the selection timeout delay value 341 (step A5 in FIG. 5).

【0040】SCSIコマンド発行回路350では、セ
レクション・タイムアウト・ディレイ値としてセレクシ
ョン・タイムアウト・ディレイ値341を用いて、SC
SIコマンド発行処理を行い、SCSI IDに対応す
る周辺装置に対して発行する(図5のステップA6)。
また、周辺装置に対してSCSIコマンドを発行した結
果のセレクション成功の可否をセレクション成功信号3
51を用いてセレクション成功レジスタ320へ発信す
る。
The SCSI command issuing circuit 350 uses the selection timeout delay value 341 as the selection timeout delay value,
An SI command issuance process is performed and the command is issued to the peripheral device corresponding to the SCSI ID (step A6 in FIG. 5).
In addition, a selection success signal 3 indicates whether or not the selection is successful as a result of issuing the SCSI command to the peripheral device.
Send to the selection success register 320 using 51.

【0041】セレクション成功信号を受信したセレクシ
ョン成功レジスタ320では、SCSI IDに対応す
るセレクション成功フラグの設定及び解除(図5のステ
ップA7,A8及びA9)を行う。
In the selection success register 320 which has received the selection success signal, the selection success flag corresponding to the SCSI ID is set and released (steps A7, A8 and A9 in FIG. 5).

【0042】このように、状態監視の対象となる周辺装
置とホストアダプタとの接続状態によってSCSIコマ
ンド発行時にセレクション・タイムアウト・ディレイ監
視時間を可変しているので、オンライン状態の周辺装置
にはSCSI規格に従ったセレクション・タイムアウト
・ディレイ時間を設定し、オフライン状態の周辺装置に
は、通常動作時に応答可能なセレクション・タイムアウ
ト・ディレイ値を設定することが可能となる。
As described above, the selection timeout / delay monitoring time is varied at the time of issuing the SCSI command according to the connection state between the peripheral device to be monitored and the host adapter. , A selection timeout delay value responsive to a normal operation can be set in the peripheral device in the offline state.

【0043】従って、オフライン状態の周辺装置に対す
る状態監視時にSCSIバスを占有する時間を250ミ
リ秒より可能な限り短く設定することにより、オンライ
ン状態の周辺装置に対する入出力時間の遅延を防ぐ効果
が得られる。
Accordingly, by setting the time for occupying the SCSI bus as short as possible to less than 250 milliseconds when monitoring the status of the peripheral device in the off-line state, it is possible to prevent the delay of the input / output time for the peripheral device in the online state. Can be

【0044】本発明の他の実施の形態として、その基本
的構成は上記の通りであるが、図6に示すように、制御
可能な装置の台数についてさらに工夫している。図6に
おいて、本発明の他の実施の形態は、SCSIインター
フェース(図1)にセレクション・タイムアウト・ディ
レイ監視時間選択回路600が設けられている。
In another embodiment of the present invention, the basic configuration is as described above, but as shown in FIG. 6, the number of controllable devices is further devised. 6, in another embodiment of the present invention, a selection time-out delay monitoring time selection circuit 600 is provided in the SCSI interface (FIG. 1).

【0045】このセレクション・タイムアウト・ディレ
イ監視時間選択回路600は、周辺装置(#1〜#N)
に対するSCSIコマンド発行処理の一部であるセレク
ション処理が機能する。このセレクション処理の機能
は、SCSIコマンド発行の対象装置である周辺装置と
ホストアダプタ100(図1)との接続状態によってセ
レクション・タイムアウト・ディレイ値を決定し、SC
SIコマンド発行を行う。
The selection time-out delay monitoring time selection circuit 600 includes a peripheral device (# 1 to #N).
The selection process, which is a part of the SCSI command issuance process, functions. The function of this selection processing is to determine the selection timeout delay value according to the connection state between the peripheral device which is the target device of the SCSI command issuance and the host adapter 100 (FIG. 1).
Issue SI command.

【0046】図6を参照すると、SCSIインタフェー
ス104(図1)の内部にあるセレクション・ディレイ
監視時間選択回路600はセレクションを行うSCSI
ID610と、このSCSI ID610に接続され
ているセレクション成功レジスタ620と、出力信号6
22によりSCSIコマンドのセレクション・タイムア
ウト・ディレイ値を設定する、複数のセレクション・タ
イムアウト・ディレイ監視時間レジスタ630,631
と、セレクション成功レジスタ620に接続され、複数
のセレクション・タイムアウト・ディレイ監視時間レジ
スタ630,631を選択する選択スイッチ640とで
構成されている。さらに、セレクション・ディレイ監視
時間選択回路600はSCSIコマンド発行回路350
に接続されている。このSCSIコマンド発行回路65
0は選択スイッチ640により選択されたセレクション
・タイムアウト・ディレイ値641を入力し、周辺装置
に対してSCSIコマンドを発行した結果のセレクショ
ン成功の可否をセレクション成功信号651を用いてセ
レクション成功レジスタ620へ発信し、セレクション
・タイムアウト・ディレイ値を発行するように構成され
ている。このように本発明の他の実施の形態においては
周辺装置の台数を2台からN台まで増やしている。ま
た、セレクション成功レジスタ内のSCSI IDに対
応するセレクション成功フラグ621の数をN個に増や
している。これにより、周辺装置との接続状態によって
セレクション・タイムアウト・ディレイ値を変更出来る
周辺装置の台数を増やすことが可能となる効果が得られ
Referring to FIG. 6, the selection delay monitoring time selection circuit 600 inside the SCSI interface 104 (FIG. 1) performs the SCSI
ID 610, a selection success register 620 connected to the SCSI ID 610, and an output signal 6
22, a plurality of selection timeout delay monitoring time registers 630 and 631 for setting a selection timeout delay value of a SCSI command.
And a selection switch 640 connected to the selection success register 620 and selecting a plurality of selection time-out delay monitoring time registers 630 and 631. Further, the selection delay monitoring time selection circuit 600 includes a SCSI command issuing circuit 350.
It is connected to the. This SCSI command issuing circuit 65
0 inputs the selection time-out delay value 641 selected by the selection switch 640, and transmits to the selection success register 620 using the selection success signal 651 whether or not the selection is successful as a result of issuing the SCSI command to the peripheral device. And is configured to issue a selection timeout delay value. As described above, in another embodiment of the present invention, the number of peripheral devices is increased from two to N. Further, the number of selection success flags 621 corresponding to the SCSI IDs in the selection success register is increased to N. As a result, it is possible to increase the number of peripheral devices capable of changing the selection time-out delay value depending on the connection state with the peripheral device.

【0047】[0047]

【発明の効果】以上説明したように、本発明によれば、
SCSIインタフェース制御装置に関し、ホストアダプ
タと複数の周辺装置がディジーチェイン構成で接続され
ている基本構成に基づき、周辺装置の状態監視による入
出力の性能低下を抑止する実現したホストアダプタ側の
SCSI インターフェース制御装置が提供される。
As described above, according to the present invention,
Regarding the SCSI interface control device, based on the basic configuration in which the host adapter and a plurality of peripheral devices are connected in a daisy-chain configuration, a SCSI interface control on the host adapter side is realized which suppresses a decrease in input / output performance by monitoring the status of the peripheral devices. An apparatus is provided.

【0048】さらに、本発明によれば、周辺装置の状態
監視処理におけるSCSIコマンド発行時に周辺装置の
接続状態によってセレクション・タイムアウト・ディレ
イ監視時間の選択を行う回路を設けたSCSIインタフ
ェース制御装置のセレクション監視方式が提供される。
Further, according to the present invention, the selection monitoring of the SCSI interface control device provided with a circuit for selecting the selection timeout / delay monitoring time according to the connection status of the peripheral device at the time of issuing the SCSI command in the status monitoring process of the peripheral device. A scheme is provided.

【0049】このSCSIインタフェース制御装置のセ
レクション監視方式は、セレクション成功済みの周辺装
置に対するセレクション・タイムアウト・ディレイ時間
とセレクション失敗の周辺装置に対するセレクション・
タイムアウト・ディレイ時間の設定を可能とし、セレク
ション成功済みの周辺装置に対するSCSIコマンドの
セレクション・タイムアウト・ディレイ時間は、ANS
IのSCSI規格に則った250ミリ秒以上で設定し、
セレクション失敗の周辺装置に対するセレクショ・タイ
ムアウト・ディレイ時間は周辺装置がセレクション可能
な時間まで短く設定するという動作を実行することで、
セレクション・タイムアウト・ディレイ監視時間による
SCSIバスの占有時間を短くし、セレクション成功済
みの周辺装置に対する入出力処理の遅延を減らす効果が
得られる。
The selection monitoring method of the SCSI interface control device includes a selection timeout delay time for a peripheral device for which selection has been completed and a selection timeout for peripheral devices for which selection has failed.
The timeout delay time can be set, and the selection timeout delay time of the SCSI command for the peripheral device for which the selection has been completed is ANS.
Set at 250 ms or more according to the SCSI standard of I,
By performing the operation of setting the selection timeout delay time for the peripheral device that has failed the selection short enough to allow the peripheral device to select,
The effect of shortening the occupation time of the SCSI bus by the selection time-out delay monitoring time is to reduce the delay of input / output processing for peripheral devices for which selection has been successful.

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

【図1】本発明の一実施の形態におけるSCSIシステ
ムの構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a SCSI system according to an embodiment of the present invention.

【図2】本発明の一実施の形態におけるセレクション・
タイムアウト・ディレイ監視時間選択回路を示すブロッ
ク図である。
FIG. 2 shows a selection method according to an embodiment of the present invention.
FIG. 4 is a block diagram illustrating a timeout / delay monitoring time selection circuit.

【図3】従来におけるオフライン状態の周辺装置に対す
る状態監視動作時SCSIバス内のBSY信号のタイミ
ングを示す図である。
FIG. 3 is a diagram showing a timing of a BSY signal in a SCSI bus during a state monitoring operation for a peripheral device in an off-line state in the related art.

【図4】本発明におけるオフライン状態の周辺装置に対
する状態監視動作時のSCSIバス内のBSY信号のタ
イミングを示す図である。
FIG. 4 is a diagram showing the timing of a BSY signal in a SCSI bus during a state monitoring operation for a peripheral device in an offline state according to the present invention.

【図5】本発明におけるセレクション・タイムアウト・
ディレイ値制御動作のフローチャートを示す図である。
FIG. 5 is a diagram illustrating a selection timeout,
It is a figure showing a flow chart of a delay value control operation.

【図6】本発明の他の実施の形態におけるセレクション
・タイムアウト・ディレイ監視時間選択回路を示すブロ
ック図である。
FIG. 6 is a block diagram showing a selection timeout delay monitoring time selection circuit according to another embodiment of the present invention.

【符号の説明】 100 ホストアダプタ 101 CPU 102 RAM 103 ROM 104 SCSIインタフェース 200 周辺装置#0 201 周辺装置#1 202 周辺装置#2 20N 周辺装置#N 210 SCSIインタフェース#0 211 SCSIインタフェース#1 220 周辺機器#0 221 周辺機器#1 300,600 セレクション・タイムアウト・ディ
レイ監視時間選択回路 310,610 セレクションを行うSCSI ID 320,620 セレクション成功レジスタ 321,621 セレクション成功フラグ 322,622 セレクション成功レジスタ320の
出力信号 330,630 セレクション・タイムアウト・ディ
レイ監視時間レジスタ 331,631 セレクション・タイムアウト・ディ
レイ監視時間レジスタ 340,640 選択スイッチ 341,641 セレクション・タイムアウト・ディ
レイ値341 350,650 SCSIコマンド発行回路 351,651 セレクション成功信号 400 SCSIバス
[Description of Signs] 100 Host adapter 101 CPU 102 RAM 103 ROM 104 SCSI interface 200 Peripheral device # 0 201 Peripheral device # 1 202 Peripheral device # 2 20N Peripheral device #N 210 SCSI interface # 0 211 SCSI interface # 1 220 Peripheral device # 0 221 Peripheral device # 1 300,600 Selection timeout delay monitoring time selection circuit 310,610 SCSI ID 320,620 for selection Selection success register 321, 621 Selection success flag 322,622 Output signal 330 of selection success register 320 , 630 Selection timeout delay monitoring time register 331, 631 Selection timeout delay monitoring time register 340,640 selection switch 341,641 Selection timeout delay value 341 350,650 SCSI command issuing circuit 351,651 selection success signal 400 SCSI bus

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 ホストアダプタと周辺装置とが接続され
るシステムにおいて、前記周辺装置との接続状態によっ
てセレクション・タイムアウト・ディレイ監視時間を変
更する手段を有することを特徴とするSCSIインタフ
ェース制御装置。
1. A SCSI interface control device in a system in which a host adapter and a peripheral device are connected, further comprising means for changing a selection timeout / delay monitoring time according to a connection state with the peripheral device.
【請求項2】 ホストアダプタと周辺装置とが接続され
るシステムのセレクション処理において、セレクション
対象となるSCSI IDとの接続状態によってセレク
ション・タイムアウト・ディレイ監視時間を変更する手
段を有することを特徴とするSCSIインタフェース制
御装置のセレクション監視方式。
2. In a selection process of a system in which a host adapter and a peripheral device are connected, a means for changing a selection timeout / delay monitoring time according to a connection state with a SCSI ID to be selected is provided. Selection monitoring method for SCSI interface controller.
【請求項3】 周辺装置の状態監視処理におけるSCS
Iコマンド発行時に周辺装置の接続状態によってセレク
ション・タイムアウト・ディレイ監視時間の選択を行う
セレクション・ディレイ監視時間選択回路を設けたこと
を特徴としているSCSIインタフェース制御装置のセ
レクション監視方式。
3. SCS in the peripheral device status monitoring process
A selection monitoring method for a SCSI interface control device, comprising a selection delay monitoring time selection circuit for selecting a selection timeout monitoring time according to a connection state of a peripheral device when an I command is issued.
【請求項4】 前記セレクション・ディレイ監視時間選
択回路は、セレクションを行うSCSI IDと、この
SCSI IDに接続されているセレクション成功レジ
スタと、SCSIコマンドのセレクション・タイムアウ
ト・ディレイ値を設定する、複数のセレクション・タイ
ムアウト・ディレイ監視時間レジスタと、前記セレクシ
ョン成功レジスタに接続され、複数のセレクション・タ
イムアウト・ディレイ監視時間レジスタを選択する選択
スイッチと、該選択スイッチにより選択され、セレクシ
ョン・タイムアウト・ディレイ値を発行するSCSIコ
マンド発行回路とで構成されていることを特徴とする請
求項3記載のSCSIインタフェース制御装置のセレク
ション監視方式。
4. The selection delay monitoring time selection circuit sets a SCSI ID for selection, a selection success register connected to the SCSI ID, and a selection timeout delay value of a SCSI command. A selection time-out delay monitoring time register, a selection switch connected to the selection success register for selecting a plurality of selection time-out delay monitoring time registers, and a selection time-out delay value selected by the selection switch 4. The selection monitoring method for a SCSI interface control device according to claim 3, further comprising a SCSI command issuing circuit that performs the selection.
【請求項5】 セレクション成功済みの周辺装置に対す
るセレクション・タイムアウト・ディレイ時間とセレク
ション失敗の周辺装置に対するセレクション・タイムア
ウト・ディレイ時間の設定を可能とし、セレクション成
功済みの周辺装置に対するSCSIコマンドのセレクシ
ョン・タイムアウト・ディレイ時間は、ANSIのSC
SI規格に則った250ミリ秒以上で設定し、セレクシ
ョン失敗の周辺装置に対するセレクショ・タイムアウト
・ディレイ時間は周辺装置がセレクション可能な時間ま
で短く設定する手段を有することを特徴とする請求項4
記載のSCSIインタフェース制御装置のセレクション
監視方式。
5. A selection timeout delay time for a peripheral device for which selection has been successfully completed and a selection timeout delay time for a peripheral device for which selection has failed, and a selection timeout of a SCSI command for a peripheral device for which selection has been successful.・ Delay time is ANSI SC
5. A method according to claim 4, wherein the setting is made at least 250 milliseconds in accordance with the SI standard, and a means for setting a selection timeout delay time for a peripheral device in which selection has failed to be as short as possible for the peripheral device to be selected.
The selection monitoring method of the SCSI interface control device described in the above.
【請求項6】 セレクション・タイムアウト・ディレイ
監視時間によるSCSIバスの占有時間を短くし、セレ
クション成功済みの周辺装置に対する入出力処理の遅延
を減らすことを特徴とする請求項5記載のSCSIイン
タフェース制御装置のセレクション監視方式。
6. The SCSI interface control device according to claim 5, wherein the occupation time of the SCSI bus by the selection time-out delay monitoring time is shortened, and the delay of the input / output processing to the peripheral device for which the selection has been successful is reduced. Selection monitoring system.
JP2001180662A 2001-06-14 2001-06-14 SCSI interface control device and selection monitoring method thereof Expired - Fee Related JP3661609B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001180662A JP3661609B2 (en) 2001-06-14 2001-06-14 SCSI interface control device and selection monitoring method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001180662A JP3661609B2 (en) 2001-06-14 2001-06-14 SCSI interface control device and selection monitoring method thereof

Publications (2)

Publication Number Publication Date
JP2002373122A true JP2002373122A (en) 2002-12-26
JP3661609B2 JP3661609B2 (en) 2005-06-15

Family

ID=19021046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001180662A Expired - Fee Related JP3661609B2 (en) 2001-06-14 2001-06-14 SCSI interface control device and selection monitoring method thereof

Country Status (1)

Country Link
JP (1) JP3661609B2 (en)

Also Published As

Publication number Publication date
JP3661609B2 (en) 2005-06-15

Similar Documents

Publication Publication Date Title
JP2018116648A (en) Information processor, control method thereof and program
JPH04363746A (en) Microcomputer system having dma function
JP2002116998A (en) Usb controller incorporated in peripheral equipment
JP2000293485A (en) Communication interface
JP2002373122A (en) Scsi interface controller and its selection monitoring system
JPH06301644A (en) Data transfer method
JPH0654022A (en) Communication controller and processor
JP2720838B2 (en) Data transfer device
JP3453395B2 (en) Information transfer system
JPH10198524A (en) Hard disk controller
JP2000155738A (en) Data processor
JP3399776B2 (en) Computer and method for transferring peripheral device control data in computer
JPH02730B2 (en)
JP2824890B2 (en) SCSI protocol controller
JPH11212904A (en) Data transfer system
JPS60205652A (en) Dma transfer system
JP2826781B2 (en) Data transfer method
JPH10269152A (en) Storage device array controller
JPS63310052A (en) Bus connection controller
JP2003085120A (en) Image forming device
JPH02245959A (en) Data transfer system of input/output controller
JPH0157376B2 (en)
JPH07120309B2 (en) Page data transfer control method between storage devices
JPS6344230A (en) Interruption control system
JPS60100206A (en) Centralized control system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040715

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040720

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040908

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050301

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050314

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080401

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090401

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100401

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110401

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120401

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees