JPH038043A - Device connecting system - Google Patents
Device connecting systemInfo
- Publication number
- JPH038043A JPH038043A JP14341789A JP14341789A JPH038043A JP H038043 A JPH038043 A JP H038043A JP 14341789 A JP14341789 A JP 14341789A JP 14341789 A JP14341789 A JP 14341789A JP H038043 A JPH038043 A JP H038043A
- Authority
- JP
- Japan
- Prior art keywords
- interface
- devices
- command
- phase
- director
- 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
Links
Abstract
Description
【発明の詳細な説明】
[概要]
SC8Iインタフェースを使用して複数のデバイスを上
位装置に接続するデバイス接続方式に関し、
インタフェースによる接続台数の制約を受けることなく
多数のデバイスを接続可能とすることを目的とし、
単一の上位装置に対し複数の下位インタフェースを設け
て各インタフェース毎に最大接続台数Nより1つ少ない
(N−1)台のデバイスを接続し、上位装置からのデバ
イス機番に応じて選択手段により対応するインタフェー
スを選択接続するように構成する。[Detailed Description of the Invention] [Summary] Regarding a device connection method that connects multiple devices to a host device using an SC8I interface, the present invention aims to enable connection of a large number of devices without being restricted by the number of connected devices due to the interface. The purpose is to provide multiple lower-level interfaces to a single higher-level device, connect one device less than the maximum number of connections N (N-1) to each interface, and connect devices according to the device number from the higher-level device. The configuration is such that the corresponding interface is selected and connected by the selection means.
[産業上の利用分野コ
本発明は、SCSIインタフェース等を使用して複数の
デバイスを上位装置に接続するデバイス接続方式に関す
る。[Industrial Field of Application] The present invention relates to a device connection method for connecting a plurality of devices to a host device using a SCSI interface or the like.
パーソナルコンピュータにディスクを主体としたデバイ
スを接続して適宜のシステムを構成するためのインタフ
ェースとしてS CS I (SmalCampul
cr Sysjcm In+etlacc)が実用化さ
れている。SCSI (SmalCampul) is an interface for connecting disk-based devices to a personal computer to configure an appropriate system.
cr Sysjcm In+etlacc) has been put into practical use.
5C8I、通称、スカシ−はSC8Iバスに対し最大8
台の装置を接続することができ、8台の装置の内、命令
を出す装置をイニシエータ、命令を受けて実行する装置
をターゲットと定義しており、イニシエータ及びターゲ
ットは固定的に決めてもよいし、処理の中でイニシェー
クとなったり、ターゲットなったりしてもよい。この結
果、5C81バスに接続されたどの装置も対等の立場に
立つことのできる双方向バスとなり、システム構成のフ
レキシビリティが高いという特徴をもつ。5C8I, commonly known as Scashi, is a maximum of 8 for the SC8I bus.
Of the eight devices, the device that issues the command is defined as the initiator, and the device that receives and executes the command is defined as the target, and the initiator and target may be fixedly determined. However, it may also serve as an initiator or a target during processing. As a result, the 5C81 bus becomes a bidirectional bus in which any device connected to it can stand on an equal footing, and is characterized by high flexibility in system configuration.
ところで、近年にあっては、上位装置の処理性能の向上
、またファイルの大容量化等により単一のシステムで上
位装置に接続されるデバイスの台数も増加する傾向にあ
り、SC3Iのようなインタフェースにあっては上位装
置に対するデバイス接続数が制約され、インタフェース
の機能を損なうことなくデバイス接続台数を増加できる
こ七が望まれる。By the way, in recent years, the number of devices connected to a host device in a single system has tended to increase due to improvements in the processing performance of host devices and increases in file capacity. In this case, the number of devices connected to the host device is restricted, and it is desirable to be able to increase the number of devices connected without impairing the interface function.
[従来の技術]
第6図はSC8Iインタフェースを使用した従来方式の
説明図である。[Prior Art] FIG. 6 is an explanatory diagram of a conventional method using an SC8I interface.
第6図において、10は上位装置のとしてのCPUであ
り、CPUl0はホストアダプタとしてのディレクタ1
8を介してSC8Iインタフェース14に接続される。In FIG. 6, 10 is a CPU as a host device, and CPU10 is a director 1 as a host adapter.
8 to the SC8I interface 14.
SC8Iインタフェース14は、最大8台の装置を接続
することができ、この場合にはCPUl0以外に7台の
デバイス、例えば磁気ディスク装置や光磁気ディスク装
置が接続される。The SC8I interface 14 can connect up to eight devices, and in this case, seven devices other than the CPU10, such as a magnetic disk device and a magneto-optical disk device, are connected.
ここでCPUl0は命令を出す装置であることからSC
8Iインタフェース14から見てディレクタ18はイニ
シエータと定義され、またデバイス12−1〜12−7
はCPUl0からの命令を受けてリード、ライト等の動
作を実行することからターゲットと定義され、しかもド
ライブの回路を一体化しているためエンペップイドタイ
プ(Enbeded Type) と定義される。また
システム的にCPUl0は命令を出しデバスイ12−1
〜12−7は命令を実行するのみであるからイニシータ
とターゲットは固定された関係に置かれている。Here, since CPUl0 is a device that issues instructions, SC
From the perspective of the 8I interface 14, the director 18 is defined as an initiator, and also the devices 12-1 to 12-7.
is defined as a target because it executes operations such as read and write upon receiving instructions from CPU10, and is defined as an embedded type because it integrates the drive circuit. Also, system-wise, CPU 10 issues instructions to device 12-1.
~12-7 only execute instructions, so the initiator and target are placed in a fixed relationship.
ディレクタ18には、CPUl0との間でコマンド、デ
ータ等の授受を行なうドライバ・レシーバ20、ホスト
チャネルとのインタフェースを制御するチャネルインタ
フェースコントローラ22、転送データを一時的に格納
するデータ転送バッファ24.5C8Iインタフ工−ス
制御回路26が設けられ、MPU28による制御のもと
にCPU10のコマンドに基づくデバイス12−1〜1
2−7の制御が行なわれ、この制御に必要な各種の情報
はコントロールメモリ30に格納される。The director 18 includes a driver/receiver 20 that exchanges commands, data, etc. with the CPU10, a channel interface controller 22 that controls the interface with the host channel, and a data transfer buffer 24.5C8I that temporarily stores transfer data. An interface control circuit 26 is provided to control the devices 12-1 to 1 based on commands from the CPU 10 under the control of the MPU 28.
Controls 2-7 are performed, and various information necessary for this control is stored in the control memory 30.
[発明が解決しようとする課題]
しかしながら、このようなscs rインタフェースを
使用して上位装置に複数のデバイス装置を接続したデバ
イス接続方式にあっては、5C8Iインターフエースが
最大8台までしか装置を接続できないため、上位装置に
対し最大7台のデバイスしか接続することができず、S
CSIインタフェースの採用によりデバイス接続台数が
制約され、システム規模を拡大することができない問題
があった。[Problems to be Solved by the Invention] However, in a device connection method in which multiple devices are connected to a host device using such an SCSR interface, the 5C8I interface can only connect up to 8 devices. Because connection is not possible, only a maximum of 7 devices can be connected to the host device, and S
The adoption of the CSI interface limits the number of devices that can be connected, making it impossible to expand the system scale.
本発明は、このような従来の問題点に鑑みてなされたも
ので、下位インタフェースによる接続台数の制約を受け
ることなく多数のデバイスを単一の上位装置に接続でき
るデバイス接続方式を提供することを目的とする。The present invention has been made in view of these conventional problems, and it is an object of the present invention to provide a device connection method that allows a large number of devices to be connected to a single host device without being limited by the number of devices connected by the lower-level interface. purpose.
[課題を解決するための手段] 第1図は本発明の原理説明図である。[Means to solve the problem] FIG. 1 is a diagram explaining the principle of the present invention.
まず本発明は、上位装置10に対し最大接続台数Nが決
められた下位インタフェースを介して複数のデバイス1
2を接続するデバイス接続方式を対象とする。First, the present invention connects a plurality of devices 1 to a host device 10 via a lower-order interface for which the maximum number N of devices to be connected is determined.
This applies to device connection methods that connect 2 devices.
このようなデバイス接続方式につき本発明にあっては、
上位装置10に対し複数の下位インタフエース14−1
.14−2を設けて各下位インタフェース14−1.1
4−2毎に(N−1)台のデバイス12を接続し、上位
装置10からのデバイス機番に応じて複数の下位インタ
ーフェース14−1.14−2の中の1つを選択接続す
る選択手段16を設けるように構成する。In the present invention, regarding such a device connection method,
Multiple lower level interfaces 14-1 for the higher level device 10
.. 14-2 and each lower interface 14-1.1
Selection of connecting (N-1) devices 12 to each 4-2 and selecting and connecting one of the plurality of lower-level interfaces 14-1 and 14-2 according to the device number from the higher-level device 10. A means 16 is provided.
ここで下位インタフェース14−1.14−2としては
例えば装置の最大接続対数が8台となるSC8Iインタ
フェースを使用する。Here, as the lower interface 14-1, 14-2, for example, an SC8I interface is used, which has a maximum number of connections of eight devices.
[作用]
このような構成を備えた本発明のデバイス接続方式にあ
っては、下位インタフェースに対する装置の接続台数が
制限されていても、複数の下位インタフェースを選択手
段を介して上位装置に接続し、上位装置からのコマンド
に含まれるデバイス機番により対応する下位インタフェ
ースを選択接続するため、下位インタフェースに制約さ
れることなくデバイス接続数を増加させることができる
。[Operation] In the device connection method of the present invention having such a configuration, even if the number of devices connected to a lower-level interface is limited, a plurality of lower-level interfaces can be connected to a higher-level device through the selection means. Since the corresponding lower interface is selectively connected based on the device number included in the command from the higher-level device, the number of connected devices can be increased without being restricted by the lower-level interface.
例えばSC3Iインタフェースは最大8台の装置を接続
することができるので、SC3Iインタフェースを2本
上位装置に対し選択接続した場合、各SCSIインタフ
ェースに7台ずつ、合計14台のデバイスを接続するこ
とができる。For example, the SC3I interface can connect up to 8 devices, so if you selectively connect two SC3I interfaces to a host device, you can connect 7 devices to each SCSI interface, for a total of 14 devices. .
[実施例コ
第2図は本発明の一実施例を示した実施例構成図である
。Embodiment FIG. 2 is a block diagram showing an embodiment of the present invention.
第2図において、10は上位装置としてのCPUであり
、CPUl0に対してはホストアダプタとしてのディレ
クタ18を介して、この実施例にあっては2つの下位イ
ンタフェースとして5C8Iインタフェース14−1.
14−2を接続している。In FIG. 2, reference numeral 10 denotes a CPU as a host device, and in this embodiment, 5C8I interfaces 14-1, .
14-2 is connected.
SC3Iインタフェース14−1.14−2は全部で8
台の装置を接続することができ、そのうち1台はディレ
クタ18となることから残り7台を5C8Iインタフェ
ース14−1についてはデバイス装置12−1〜12−
7として接続し、またSC3Iインタフェース14−2
については、デバイス12−8〜12−14として接続
している。ここで、デバイス12−1〜12−14は磁
気ディスク装置や光デイスク装置等で成り、例えばこの
実施例にあっては14台の光デイスク装置を接続してい
る。SC3I interface 14-1.14-2 has a total of 8
1 device can be connected, and since one of them becomes the director 18, the remaining 7 devices can be connected to the device devices 12-1 to 12-1 for the 5C8I interface 14-1.
7 and also connect as SC3I interface 14-2
are connected as devices 12-8 to 12-14. Here, the devices 12-1 to 12-14 are composed of magnetic disk devices, optical disk devices, etc., and in this embodiment, for example, 14 optical disk devices are connected.
ディレクタ18にはCPUl0との間でコマンド及びデ
ータの授受を行なうドライバ・レシーバ20が設けられ
、ドライバ・レシーバ20に続いてホスト10との間の
伝送制御を行なうチャネルインタフェースコントローラ
22が設けられる。The director 18 is provided with a driver/receiver 20 that exchanges commands and data with the CPU 10, and a channel interface controller 22 that controls transmission with the host 10 following the driver/receiver 20.
チャネルインタフェースコントローラ22に続いてはC
PUI (R:デバイスとの間の転送データを一時的に
格納するデータ転送バッファ24が設けられる。Following the channel interface controller 22 is C.
A data transfer buffer 24 is provided to temporarily store data transferred to and from the PUI (R: device).
更ニデバイス12−1〜12−14を接続する下位イン
タフェースとして設けた2つのSC8Iインタフェース
14−1.14−2毎にSC8Iインタフェース制御回
路26−1.26−2が設けられる。このSC3Iイン
タフェース制御回路26−1.26−2とデータ転送バ
ッファ24側は選択手段としての切換スイッチ16を介
して接続され、切換スイッチ16の切換制御により5C
SIインタフ工−ス制御回路26−1または26−2の
いずれか一方がデータ転送バッファ24側、即ちCPU
l0側と選択接続される。An SC8I interface control circuit 26-1.26-2 is provided for each of the two SC8I interfaces 14-1.14-2 provided as lower-order interfaces for connecting the further devices 12-1 to 12-14. This SC3I interface control circuit 26-1, 26-2 and the data transfer buffer 24 side are connected via a changeover switch 16 as a selection means, and the 5C
Either one of the SI interface control circuits 26-1 and 26-2 is connected to the data transfer buffer 24 side, that is, the CPU
Selectively connected to the l0 side.
MPU28はディレクタ18の全体的な制御を行なって
おり、2台のSC3Iインタフェース制御回路26−1
.26−2に伴って新たに設けられた切換スイッチ16
を制御する機能を有する。The MPU 28 performs overall control of the director 18, and has two SC3I interface control circuits 26-1.
.. Changeover switch 16 newly installed with 26-2
It has the function to control.
この切換スイ゛ツチ16の制御機能は、SC3Iインタ
フェース14−1〜14−2に接続されたデバイス12
−1〜12−14毎に予めデバイス機番を定めておき、
CPUl0からの起動時にデバイス機番が決定されるデ
ィレクタ18のMPU28はデバイス機番を判別し、デ
バイス機番に対する5csiインタフェース14−1.
14−2の対応関係は予め分かっていることから、デバ
イス機番に対応したSC8Iインタフェース制御回路2
6−1.26−2のいずれか一方を選択接続するように
なる。The control function of this changeover switch 16 is performed by the devices 12 connected to the SC3I interfaces 14-1 to 14-2.
-1 to 12-14, set device numbers in advance,
The MPU 28 of the director 18, whose device number is determined upon startup from the CPU10, determines the device number and sends the 5CSI interface 14-1 .
14-2 is known in advance, the SC8I interface control circuit 2 corresponding to the device number
Either one of 6-1 and 26-2 is selectively connected.
SC3Iインタフェース制御回路26−1. 26−2
はSC3Iプロトコルに従ったインタフェース制御を行
なう。SC3I interface control circuit 26-1. 26-2
performs interface control according to the SC3I protocol.
第3図はSC3Iインタフェースの遷移図を示したもの
で、5C8Iのフェーズは、Bus FREE。FIG. 3 shows a transition diagram of the SC3I interface, and the 5C8I phase is Bus FREE.
^REBITRAT!ON、 5ELECTION、
RESELECTION、 MESSAGEOUT、
COMMAND、 DATAIN、 DATA OUT
、 5TATUS、 MESSAGEINの各フェーズ
で構成される。第3図で矢印がついているものは、フェ
ーズの移行が可能な方向を示している。^REBITRAT! ON, 5ELCTION,
RESELECTION, MESSAGEOUT,
COMMAND, DATAIN, DATA OUT
, 5TATUS, and MESSAGEIN phases. The arrows in FIG. 3 indicate directions in which phase transitions are possible.
次に、コマンドの実行を例にとってフェーズの移行の仕
方を説明する。Next, the method of phase transition will be explained using command execution as an example.
5C3Iでは、何もコマンドを実行していない時は、B
tlS FREEフェーズにいる。その時に、コマンド
を実行するためには、5C3I BtlSの使用権を得
るために、^RB ITRAT IONフェーズに移行
する。ここで使用権を得られたならば、5ELECTI
ONフエーズに移行して、コマンドを発行しようとする
イニシエータが、コマンドを実行するターゲットを選択
する。この後でMESSAGE 01lTフエーズに移
行して、選択したターゲット配下のどのデバイスにコマ
ンドを実行させるのか指定するメツセージをイニシエー
タからターゲットに送出する。以上の一連の処理で、イ
ニシエータとターゲットとその配下のデバイスとの結合
が完了する。In 5C3I, when no command is executed, B
We are in the tlS FREE phase. At that time, in order to execute the command, it moves to the ^RB ITRATION phase to obtain the right to use the 5C3I BtlS. If you can get the usage rights here, 5ELECTI
Moving to the ON phase, the initiator who wishes to issue a command selects a target to execute the command. After this, the process moves to the MESSAGE 011T phase, and a message specifying which device under the selected target is to execute the command is sent from the initiator to the target. Through the above series of processes, the connection between the initiator, the target, and the devices under it is completed.
次にターゲットはイニシエータからコマンドを受は取る
ためのCOMMANDフェーズに移行する。ここでイニ
シエータはターゲットにコマンド、を送出する。コマン
ドの種類によってこの後のフェーズの移行は3つに別れ
る。第1のものはデータの転送のないコマンドで、コマ
ンドフェーズかう直接5TATtlSフエーズに移行す
るもの。2番目のものはREQtlEST 5ENSE
コマンドのように機械的動作が入らずに直にデータを転
送するもので、I)ATA INフェーズまたは、DA
TA OUTフェーズに移行する。The target then moves to the COMMAND phase in which it receives and takes commands from the initiator. Here, the initiator sends a command to the target. The subsequent phase transition is divided into three depending on the type of command. The first type is a command that does not transfer data, and the command phase moves directly to the 5TATtlS phase. The second one is REQtlEST 5ENSE
It transfers data directly without any mechanical action like commands, and is used in I) ATA IN phase or DA
Move to TA OUT phase.
DATA INフェーズでは、ターゲットからイニシエ
ータにデータが転送され、DATAOUTフェーズでは
イニシエータからターゲットにデータが転送される。こ
のデータの転送の方向はコマンドによって一意に決まる
。3番目は、シークのような機械的動作がデータ転送の
前に伴うもので、その間イニシエータとターゲットの結
合をきるために、MESSAGE INフェーズに移行
して、結合を切るためのメツセージをターゲットからイ
ニシエータに送る。その結果バスはBUS FREEフ
ェーズに移行する。In the DATA IN phase, data is transferred from the target to the initiator, and in the DATA OUT phase, data is transferred from the initiator to the target. The direction of this data transfer is uniquely determined by the command. The third type involves a mechanical operation such as a seek before data transfer, during which a transition is made to the MESSAGE IN phase to break the bond between the initiator and target, and a message to break the bond is sent from the target to the initiator. send to As a result, the bus transitions to the BUS FREE phase.
次にターゲットが機械的動作を完了すると、コマンドを
実行するために、再びイニシエータと結合するために、
ターゲット側から^RBITRATIONフェーズに移
行して、5C3I 8USの使用権を獲得する。Then, when the target completes the mechanical movement, it will combine with the initiator again to execute the command.
The target side moves to the RBITRATION phase and acquires the right to use 5C3I 8US.
その後で、RESELECTIONフェーズに移行して
、ターゲットからイニシエータを選択する。その後でM
ESSAGE INフェーズに移行して、ターゲット配
下のどのデバイスのコマンドを再開するのか、をイニシ
エータに通知するためのメツセージをイニシエ“−夕に
送る。この時点で再びイニシエータとターゲットとその
配下のデバイスとの結合が完了する。その後で、DAT
A INフェーズ、またはDATAOUTフェーズに移
行してデータを転送する。データを転送した後で、5T
ATUSフエーズに移行してコマンドの実行結果をイニ
シエータに通知する。その後で、MESSAGE IN
フェーズに移行して、コマンドの完了を通知する。以上
で一つのコマンドが完了する。更に続けてコマンドを実
行する場合にはCOMMANDフェーズに移行して、処
理を繰り返す。Thereafter, the process moves to the RESELECTION phase to select an initiator from the target. After that M
The process moves to the ESSAGE IN phase and sends a message to the initiator to notify the initiator which device under the target is to resume commands. At this point, the initiator, target, and the device under it again communicate. The join is complete. After that, the DAT
A Transition to IN phase or DATAOUT phase to transfer data. After transferring data, 5T
Shifts to ATUS phase and notifies the initiator of the command execution results. After that, MESSAGE IN
phase and signal completion of the command. This completes one command. If a command is to be executed further, the process moves to the COMMAND phase and the process is repeated.
コマンドを実行する必要がない場合には、BusFRE
Eフェーズに移行する。If you do not need to execute a command, use BusFRE
Move to E phase.
次に、第2図の実施例による制御動作を第4図の動作フ
ロー図を参照して説明する。Next, the control operation according to the embodiment of FIG. 2 will be explained with reference to the operation flow diagram of FIG. 4.
まずシステムの電源オンによりディレクタ18はステッ
プ81でシステムリセットを行なった後、ステップS2
のアイドルルーチンを実行する。続いて、ステップS3
に進んでCPUI Oからの起動の有無をチエツクし、
起動が掛けられていなければステップS4に進んでデバ
イス側からのりセレクションの有無を判別する。ステッ
プS4でリセレクショが無ければステップS5に進み、
ビジィのために処理を中断したデバイスが存在するか否
かをコントロールメモリ30の格納情報から判別し、中
断したデバイスが無ければ再びステップS2のアイドル
ルーチンに戻る処理を繰り返す。First, when the system is powered on, the director 18 performs a system reset in step 81, and then in step S2.
run idle routine. Next, step S3
Go to and check if it is booted from CPUI O.
If activation has not been applied, the process proceeds to step S4, where it is determined from the device side whether or not there is glue selection. If there is no reselection in step S4, proceed to step S5,
It is determined from the information stored in the control memory 30 whether or not there is a device whose processing has been interrupted because it is busy, and if there is no device whose processing has been interrupted, the process returns to the idle routine of step S2 again and is repeated.
このようなステップ82〜$5の処理を繰り返す待機状
態において、今、CPUl0から5C8Iインタフェー
ス14−1側に接続しているデバイス12−2に起動が
行なわれたとする。このホスト10からの起動コマンド
はステップS3で判別され、ステップS6でCPUから
の入出力命令に含まれるデバイス機番をディレクタ18
のMPU28が解読し、デバイス機番に対応するデバイ
ス12−2はSC8Iインタフェース14−1側にある
ことから切換スイッチ16を制御し、ステップS7で5
csrインタフ工−ス制御回路26−1側をデータ転送
バッファ24側に選択接続し、次のステップS8でディ
レクタはデバイス12−2を選択する。Assume that in a standby state in which the processes of steps 82 to $5 are repeated, the device 12-2 connected from the CPU 10 to the 5C8I interface 14-1 is activated. This startup command from the host 10 is determined in step S3, and the device number included in the input/output command from the CPU is sent to the director 18 in step S6.
The MPU 28 decodes the device number, and since the device 12-2 corresponding to the device number is on the SC8I interface 14-1 side, it controls the changeover switch 16, and in step S7
The CSR interface control circuit 26-1 side is selectively connected to the data transfer buffer 24 side, and in the next step S8, the director selects the device 12-2.
続いてステップS9でCPUl0から送られてきたコマ
ンドをデコードし、ステップSIOのコマンドフェーズ
でデバイス12−2に対し5csrコマンドを送り出す
。Subsequently, in step S9, the command sent from CPU10 is decoded, and in the command phase of step SIO, a 5csr command is sent to device 12-2.
今、CPUからリードコマンドが送られてきたとすると
、デバイス12−2はステップSIQのコマンドフェー
ズによるリードコマンドを受けると、リードコマンドで
指定されたアドレストラックにヘッドを位置決め移動す
るシーク動作を開始し、シーク完了までには時間がかか
ることからステップS11でメツセージインフェーズと
してデイコネクトメツセージをディレクタ18に送出し
、パスフリーフェーズとしてステップS2のアイドルル
ーチンに戻る。Assuming that a read command is now sent from the CPU, when the device 12-2 receives the read command in the command phase of step SIQ, it starts a seek operation to position and move the head to the address track specified by the read command. Since it takes time to complete the seek, a disconnect message is sent to the director 18 as a message in phase in step S11, and the process returns to the idle routine in step S2 as a path free phase.
続いて、デバイス12−2でシーク動作が完了し、デー
タリードを行なってデバイス12−2内のバッファにリ
ードデータが書き込まれると、ディレクタ18に対しり
セレクションを行なう。このデバイス12−2からのり
セレクションはステップS4で判別され、ステップ81
2に進む。Subsequently, when the seek operation is completed in the device 12-2, data is read, and the read data is written into the buffer within the device 12-2, selection is performed on the director 18. The glue selection from this device 12-2 is determined in step S4, and step 81
Proceed to step 2.
ステップS4のりセレクション判別によりステップS1
2のメツセージインフェーズに進むと、デバイス12−
2はアイデンティファイメツセージを送出してディスコ
ネクト後の再結合をディレクタ18との間で行なう。こ
の後に切換スイッチ16をSC3Iインタフェース14
−1側に切換える。続いてステップSI3でデータフェ
ーズとしてデバイス12−2よりリードデータをディレ
クタ18に転送し、ディレクタ18に転送されたり一ド
データはSC8Iインタフェース制御回路26−1.切
換スイッチ16.データバッファ24゜チャネルインタ
フェースコントローラ22.ドライバ・レシーバ20を
通ってCPUI O側の主記憶装置に送られる。Step S4: By determining the glue selection, Step S1
Proceeding to the message in phase 2, device 12-
2 sends an identification message and reconnects with the director 18 after disconnection. After this, changeover switch 16 to SC3I interface 14
Switch to -1 side. Subsequently, in step SI3, read data is transferred from the device 12-2 to the director 18 as a data phase, and the read data transferred to the director 18 and read data is transferred to the SC8I interface control circuit 26-1. Changeover switch 16. Data buffer 24°Channel interface controller 22. It passes through the driver receiver 20 and is sent to the main memory on the CPUI O side.
ステップ813のデータ転送が終了するとステップSI
4でスティタスフェーズとしてスティタス情報をデバイ
ス12−2からディレクタ18に送り、更にステップS
I5でメツセージインフェーズとしてコマンドコンプリ
ートメツセージをデバイス12からディレクタ18に送
出する。コマンドコンプリートメツセージを受領したデ
ィレクタ18はステップSI4のスティタスフェーズで
受は取ったスティタスの値をチエツクし、CPU10に
対しエンドスティタスをステップS16で報告し、一連
の処理を終了する。When the data transfer in step 813 is completed, step SI
4, the status information is sent from the device 12-2 to the director 18 as a status phase, and further step S
At I5, a command complete message is sent from the device 12 to the director 18 as a message in phase. The director 18, which has received the command complete message, checks the received status value in the status phase of step SI4, reports the end status to the CPU 10 in step S16, and ends the series of processing.
続いてステップSI7でコマンドチェーンの有無を判別
し、コマンドチェーンが指示されていればステップS9
のコマンドデコードに戻り、一方、コマンドチェーンが
指示されていなければステップS2のアイドルルーチン
に戻る。Next, in step SI7, it is determined whether or not there is a command chain, and if a command chain is specified, the process proceeds to step S9.
On the other hand, if no command chain is specified, the process returns to the idle routine of step S2.
以上の制御動作はデバイス12−2を接続しているSC
8Iインタフェース14−1側のみに関するものである
が、本発明にあっては、ディレクタ18に対し2本のs
cs rインタフェース14−1.14−2を設けてい
るため、ディレクタ18のMPU28は片方のインタフ
ェースバスで動作しているときには、もう片方のインタ
フェースバスの状態を常にチエツクする。The above control operation is performed by the SC connected to the device 12-2.
Although this relates only to the 8I interface 14-1 side, in the present invention, two S
Since the CSR interfaces 14-1 and 14-2 are provided, when the MPU 28 of the director 18 is operating on one interface bus, it always checks the status of the other interface bus.
第4図の動作フロー図にあっては■に示すように、片方
のインタフェースバスの処理の切れ目で他方のインタフ
ェースバスの状態をチエツクし、第5図に示す中断シー
ケンスを繰り返し実行している。In the operation flow diagram of FIG. 4, as shown in (2), the state of the other interface bus is checked at the break in the processing of one interface bus, and the interruption sequence shown in FIG. 5 is repeatedly executed.
第5図のディレクタ18から切り離した状態に置かれて
いるインタフェースバスを監視する中断シーケンスは、
まずステップS1でデバイス側からのリセレクションの
有無を判別しており、リセレクションがあるとステップ
S2に進んでメツセージインフェーズとしてデバイス側
よりアイデンティファイメツセージを送り、このアイデ
ンティファイメツセージを受けたディレクタ18側はス
テップS3でメツセージアウトフェーズとしてデバイス
に中断メツセージを送出して待機状態とさせ、更にステ
ップS4でリセレクションに対し中断を行なったこと、
及び中断させたデバイスの機番をコントロールメモリ3
0に記憶保持された後、ステップS5でバスフリーに移
行して一連の処理を終える。The interrupt sequence for monitoring an interface bus that is disconnected from the director 18 of FIG.
First, in step S1, it is determined whether or not there is a reselection from the device side. If there is a reselection, the process proceeds to step S2, where an identifying message is sent from the device side as a message in phase, and this identifying message is received. The director 18 side sends an interruption message to the device as a message out phase in step S3 to put it in a standby state, and further interrupts reselection in step S4;
and the machine number of the interrupted device in control memory 3.
After being stored as 0, in step S5 the bus becomes free, and the series of processing ends.
従って、第2図のデバイス12−2のディレクタ18に
対する接続状態で切り離されている5C8Iインタフェ
ース14−2側のデバイス12−8〜12−14のいず
れかによりディスコネクト後の再結合を行なうためのり
セレクション要求が出された場合には、デバイス12−
2側の処理が1つ終わって次に移行するとき、例えば第
4図■に示すようなフェーズ切換状態でMPU28は5
C8Iインタフ工−ス制御回路26−2を通じて第5図
に示す中断シーケンスに従った処理を実行する。Therefore, there is no need to use any of the devices 12-8 to 12-14 on the 5C8I interface 14-2 side, which are disconnected while the device 12-2 is connected to the director 18 in FIG. 2, for reconnection after disconnection. If a selection request is made, device 12-
When one process on the second side is completed and the process moves to the next one, the MPU 28 is in a phase switching state as shown in FIG. 4, for example.
Processing according to the interruption sequence shown in FIG. 5 is executed through the C8I interface control circuit 26-2.
このためデバイス12−2との間の制御動作が終了して
ステップS2のアイドルルーチンに戻り、ステップ82
〜S5の処理を繰り返す待機状態にあるときにステップ
S5でビジィのために中断したデバイスをチエツクする
と、このときコントロールメモリ30に第5図の中断シ
ーケンスの実行により処理が中断されたデバイスがSC
8Iインタフェース14−2側に存在することから、ス
テップS7に進んで切換スイッチ16により5C8Iイ
ンタフ工−ス制御回路26−2を選択し、続いてステッ
プS8でコントロールメモリ30に格納された中断デバ
イスの機番に基づいてデバイスセレクションを行ない、
この場合、CPUからのコマンドデコードは既に終了し
ていることから、ステップS8から破線で示すようにス
テップS13のデータフェーズに進んで中断シーケンス
を再開するようになる。Therefore, the control operation with the device 12-2 is completed and the process returns to the idle routine of step S2, and step 82
When the device whose processing was interrupted due to busyness is checked in step S5 while in the standby state where the processing from ~S5 is repeated, the device whose processing was interrupted due to the execution of the interruption sequence shown in FIG. 5 is stored in the control memory 30 as SC.
Since the 5C8I interface control circuit 26-2 exists on the side of the 8I interface 14-2, the process proceeds to step S7, where the selector switch 16 selects the 5C8I interface control circuit 26-2, and then, in step S8, the interrupt device stored in the control memory 30 is selected. Perform device selection based on machine number,
In this case, since command decoding from the CPU has already been completed, the process proceeds from step S8 to the data phase of step S13, as indicated by the broken line, and the interrupted sequence is restarted.
なお、上記の実施例は単一のCPUI Oに対しディレ
クタ18を介して2つのSC8Iインタフェース14−
1.14−2を選択接続可能に設けることで14台のデ
バイスを接続したシステム構成を例にとるものであった
が、デバイスアクセス時間が許容される範囲内で2以上
のSC3Iインタフェースを選択接続することでデバイ
ス接続数を更に増加させてもよい。Note that the above embodiment connects two SC8I interfaces 14- to a single CPUI O via the director 18.
1.14-2 can be selectively connected to allow for selective connection of a system configuration in which 14 devices are connected. However, within the allowable device access time, two or more SC3I interfaces can be selectively connected. By doing so, the number of connected devices may be further increased.
また、上記の実施例は装置の接続台数を最大8台とする
SC3Iインタフェースを例にとるものであったが、本
発明はこれに限定されず、単一の上位装置に対し複数の
デバイスを共通接続するデバイス接続数に制限のある下
位インタフェースにつき全く同様に本発明を適用するこ
とができる。Further, although the above embodiment takes as an example the SC3I interface in which the maximum number of connected devices is 8, the present invention is not limited to this, and the present invention is not limited to this, but can connect multiple devices in common to a single host device. The present invention can be applied in exactly the same way to lower-level interfaces that have a limited number of connected devices.
−スを設け、上位装置からのデバイス機番に応じて対応
するインタフェースを選択接続することでインタフェー
スの接続可能台数に制約されることなく、単一の上位装
置に対し多数のデバイスを接続することができ、デバイ
ス接続数の増加によるシステム規模を容易に拡張するこ
とができる。- By setting up a host device and selecting and connecting the corresponding interface according to the device number from the host device, a large number of devices can be connected to a single host device without being restricted by the number of interfaces that can be connected. This makes it possible to easily expand the system scale by increasing the number of connected devices.
第1図は本発明の原理説明図;
第2図は本発明の実施例構成図;
第3図はSC3Iインタフェースの遷移図;第4図は本
発明の動作フロー図;
第5図は本発明の中断シーケンス説明図;第6図は従来
方式の構成図である。
[発明の効果]
以上説明してきたように本発明によれば、上位装置に複
数のデバイスを接続する下位インタフェースにデバイス
接続数の制約があっても、上位装置に対し選択手段を介
して複数の下位インタフェース、
10:上位装置(CP U)
12.12−1〜17:デバイス
14−1.14−2:下位インタフェース(SC8Iイ
ンタフエース)
16:選択手段(切換スイッチ)
18:ディレクタ
20ドライバ・レシーバ
22:チャネルインタフェースコントローラ24:デー
タ転送バッファ
26−1.26−2 : S CS Iインタフェー
ス制御回路28:MPU
30:コントロールロモリ
不運」月のIfl酌シーグンス占充明図第5図Fig. 1 is an explanatory diagram of the principle of the present invention; Fig. 2 is a configuration diagram of an embodiment of the present invention; Fig. 3 is a transition diagram of the SC3I interface; Fig. 4 is an operational flow diagram of the present invention; Fig. 5 is a diagram of the present invention An explanatory diagram of the interruption sequence; FIG. 6 is a block diagram of the conventional system. [Effects of the Invention] As described above, according to the present invention, even if there is a restriction on the number of devices connected to a lower-level interface that connects a plurality of devices to a higher-level device, a plurality of devices can be connected to a higher-level device through a selection means. Lower interface, 10: Upper device (CPU) 12.12-1 to 17: Device 14-1.14-2: Lower interface (SC8I interface) 16: Selection means (selector switch) 18: Director 20 driver/receiver 22: Channel interface controller 24: Data transfer buffer 26-1.26-2: SCS I interface control circuit 28: MPU 30: Control Romory Bad Luck"Moon's Ifl Cup Signs Charming Chart Figure 5
Claims (2)
れた下位インタフェースを介して複数のデバイス(12
)を接続するデバイス接続方式に於いて、前記上位装置
(10)に対し複数の下位インタフェース(14−1、
14−2)を設けて各下位インターフェイス(14−1
、14−2)毎に最大(N−1)台のデバイス(12)
を接続し、上位装置(10)からのデバイス機番に応じ
て前記下位下位インタエース(14−1、14−2)の
中の1つ選択接続する選択手段(16)を設けたことを
特徴とするデバイス接続方式。(1) Multiple devices (12
), a plurality of lower-level interfaces (14-1,
14-2) and each lower interface (14-1
, 14-2) for a maximum of (N-1) devices (12)
and selecting means (16) for selectively connecting one of the lower-lower interfaces (14-1, 14-2) according to the device number from the host device (10). device connection method.
は、上位装置(10)を含めて最大8台を接続可能なS
CSIインタフェースであることを特徴とする請求項1
記載1記載のデバイス接続方式。(2) The lower interface (14-1, 14-2)
is an S that can connect up to 8 devices including the host device (10).
Claim 1 characterized in that it is a CSI interface.
Device connection method described in Description 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1143417A JP2673008B2 (en) | 1989-06-06 | 1989-06-06 | SCSI device connection device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1143417A JP2673008B2 (en) | 1989-06-06 | 1989-06-06 | SCSI device connection device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH038043A true JPH038043A (en) | 1991-01-16 |
| JP2673008B2 JP2673008B2 (en) | 1997-11-05 |
Family
ID=15338272
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1143417A Expired - Lifetime JP2673008B2 (en) | 1989-06-06 | 1989-06-06 | SCSI device connection device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2673008B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11282793A (en) * | 1998-03-30 | 1999-10-15 | Oki Electric Ind Co Ltd | Bus expansion device and communication device |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63310052A (en) * | 1987-06-12 | 1988-12-19 | Canon Inc | Bus connection control device |
-
1989
- 1989-06-06 JP JP1143417A patent/JP2673008B2/en not_active Expired - Lifetime
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63310052A (en) * | 1987-06-12 | 1988-12-19 | Canon Inc | Bus connection control device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11282793A (en) * | 1998-03-30 | 1999-10-15 | Oki Electric Ind Co Ltd | Bus expansion device and communication device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2673008B2 (en) | 1997-11-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6298398B1 (en) | Method to provide checking on data transferred through fibre channel adapter cards | |
| CN102385564B (en) | Methods and apparatus for improved serial advanced technology attachment performance | |
| WO2021048658A1 (en) | Link speed recovery in a data storage system | |
| JP3279248B2 (en) | Switch mechanism, disk array device having the same, and computer system | |
| US20200341915A1 (en) | Enhanced tape drive communication | |
| US7254329B2 (en) | Method and system for multi-initiator support to streaming devices in a fibre channel network | |
| US5448700A (en) | Method and system for interfacing PC to CD-ROM drives | |
| US5734918A (en) | Computer system with an input/output processor which enables direct file transfers between a storage medium and a network | |
| JPH038043A (en) | Device connecting system | |
| US11163708B2 (en) | Automated transformation from command mode to transport mode | |
| WO2001003385A1 (en) | A method and system for un-tagged command queuing | |
| JPH06236340A (en) | Data transfer method and transfer device | |
| JPH0519181B2 (en) | ||
| JP2840536B2 (en) | Bus connection control device | |
| JPS63223822A (en) | Control system for disk device | |
| JPH07141285A (en) | Data transfer control unit | |
| JPS60254355A (en) | Cross call control system | |
| JPS59119430A (en) | Input/output control device | |
| JPH0563817B2 (en) | ||
| JPH04255960A (en) | Parallel operating method of disk drives | |
| Jackson | Ring-structured microprocessor network for multiprocessor resource sharing. | |
| JPH05108532A (en) | Scsi control method | |
| JPH06337842A (en) | SCSI bus signal control circuit | |
| JPH09237163A (en) | Duplex disk storage device | |
| JPH06131125A (en) | Disk array device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 19960611 |