JPH07160435A - Bus connection controller - Google Patents

Bus connection controller

Info

Publication number
JPH07160435A
JPH07160435A JP5310610A JP31061093A JPH07160435A JP H07160435 A JPH07160435 A JP H07160435A JP 5310610 A JP5310610 A JP 5310610A JP 31061093 A JP31061093 A JP 31061093A JP H07160435 A JPH07160435 A JP H07160435A
Authority
JP
Japan
Prior art keywords
bus
scsi
signal
address
devices
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
JP5310610A
Other languages
Japanese (ja)
Other versions
JP2840536B2 (en
Inventor
Shinji Endo
伸二 遠藤
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP5310610A priority Critical patent/JP2840536B2/en
Publication of JPH07160435A publication Critical patent/JPH07160435A/en
Application granted granted Critical
Publication of JP2840536B2 publication Critical patent/JP2840536B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To shorten a seek time by connecting plural devices which store the same recording contents for a SCSI device which has a slow seek time and selecting a device to be put in operation according to a sought address. CONSTITUTION:For a device A, the signal from a SCSI bus is connected to a device I/F 2 through bus connecting circuits 5a and 7, and also connected to a device B through bus connecting circuits 6a and 7 on a daisy chain basis. The signal of the bus connecting circuits 5b and 6b is a specific control signal of the SCSI bus. A bus converting and connecting circuit 7 is made possible to output a signal of AND among BSY, C/D, and REQ of the devices A and B onto the SCSI bus, outputs the ACK signal from the SCSI bus properly to respective devices according to the state of a disconnected device, and also outputs the signal of a data bus O even to a data bus 1 for the device.

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 bus connection control device, and more particularly to a bus connection control device, which is used for accessing a SCSI device via a SCSI bus. The present invention relates to a connection control device.

【0002】[0002]

【従来の技術】SCSI(Small Computer Systems Int
erface:スカジィ)は、パソコンなどとの間で、高速な
データ伝送が必要な周辺装置をつなぐためのインタフェ
ースの規格である。従来の規格であったSASI(サ
シ)の機能を拡張したもので、SASIに対して上位互
換性がある。1986年に、ANSI(米国国家規格協
会,アンシー)が定めた。具体的には、ハードディスク
装置や光ディスク装置、CD−ROM、レーザプリンタ
などをパソコンとつなぐためのインタフェースである。
ハードディスクをはじめ、7台までの周辺装置を接続す
ることができる(「コンピュータ用語辞典」西東社、19
91,12,25発行、p.63〜64)。
2. Description of the Related Art SCSI (Small Computer Systems Int)
erface: Scazi) is a standard interface for connecting peripheral devices that require high-speed data transmission with a personal computer. It is an extension of the function of the conventional standard, SASI, and has upward compatibility with SASI. Established in 1986 by ANSI (American National Standards Institute, Anthy). Specifically, it is an interface for connecting a hard disk device, an optical disk device, a CD-ROM, a laser printer, etc. to a personal computer.
You can connect up to 7 peripheral devices including hard disk ("Computer Glossary", Saitosha, 19
91,12,25, p.63-64).

【0003】従来技術では、SCSIバスの状態によっ
てSCSIバス上の信号と各SCSI装置間の接続を切
り換えるものはなかった。また、装置を複数台つないで
ディスクへのアクセスを高速化する方法としてディスク
アレイ装置がある。このディスクアレイ装置はデータの
読み出しや書き込みを複数台のハードディスクに対して
同時に行うものである。例えば、書き込みについては、
書き込む一連のデータを複数のデータに分割して複数の
ハードディスクにそれぞれ書き込む。読み出しは、逆に
複数のハードディスクに書かれたデータをそれぞれ読み
出しの一連のデータにまとめてそれを読み出しデータと
する。
In the prior art, there has been no switching of signals on the SCSI bus and connections between SCSI devices depending on the state of the SCSI bus. Further, there is a disk array device as a method of connecting a plurality of devices to speed up access to a disk. This disk array device simultaneously reads and writes data to a plurality of hard disks. For example, for writing,
A series of data to be written is divided into a plurality of data and written into a plurality of hard disks. For reading, conversely, the data written on a plurality of hard disks are combined into a series of read data, which is used as read data.

【0004】[0004]

【発明が解決しようとする課題】前述のように、従来の
バス接続制御装置においては、例えば、CD−ROM,
MDなどはアクセス時間がかかる。例えば、CD−RO
Mでの平均アクセスタイムは現在では約200ms程
度、MDでは500ms程度である。これらのアクセス
タイムは、CPUの処理スピードに対して非常に大きな
値であり、データ処理の高速化のネックとなっている。
一般にヘッドの動く範囲がより大きくなればそれだけア
クスセ時間はかかり、装置を複数台用いてそれらのシー
クする範囲を分担させ、一台あたりのシークする範囲を
小さくすることによりシーク速度の向上になる。
As described above, in the conventional bus connection control device, for example, a CD-ROM,
Access time is high for MDs. For example, CD-RO
The average access time in M is about 200 ms at present, and about 500 ms in MD. These access times are extremely large values with respect to the processing speed of the CPU, which is a bottleneck in speeding up data processing.
Generally, the larger the moving range of the head is, the longer the access time is, and the seek range is improved by using a plurality of devices and sharing the seek ranges of the devices.

【0005】ディスクアレイ装置は、装置を複数台つな
いでアクセスの高速化を図ったものであるが、その実現
にはハード面では専用のコントローラおよびハードディ
スク、およびそれぞれの装置より読みとったデータを蓄
えておくバッファメモリ等、ソフト面でもOSをディス
クアレイに対応しなくてはいけないなどの手間がかかる
という問題点があった。
The disk array device is intended to speed up access by connecting a plurality of devices, but in order to realize it, in terms of hardware, a dedicated controller and hard disk, and data read from each device are stored. There is a problem in that the OS needs to be compatible with the disk array in terms of software such as a buffer memory to be installed.

【0006】本発明は、このような実情に鑑みてなされ
たもので、シーク時間(読み出しや書き込みを行う場所
まで移動するのにかかる時間)の遅いSCSI装置に対
して、同じ記録内容を有する装置を複数台接続すること
により、シークするアドレスにより動作する装置を選択
してシーク時間を短くするようにしたバス接続制御装置
を提供することを目的としている。
The present invention has been made in view of the above circumstances, and is an apparatus having the same recorded contents as a SCSI apparatus having a slow seek time (time required to move to a place where reading or writing is performed). It is an object of the present invention to provide a bus connection control device in which a plurality of devices are connected to select a device that operates according to a seek address to shorten the seek time.

【0007】[0007]

【課題を解決するための手段】本発明は、上記目的を達
成するために、命令を指令する少なくとも1つのイニシ
エータと、該イニシエータからの命令を受ける複数のタ
ーゲットとを含むSCSIシステムに用いられるバス接
続制御装置において、前記イニシエータと前記ターゲッ
トとの間に介挿されるとともに、前記イニシエータから
のSCSIフェーズにおける情報とあらかじめ与えられ
たアドレス情報とに基づいて、前記ターゲット側の信号
端子の接続を変更可能とする切換手段を有することを特
徴としたものである。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention is a bus used in a SCSI system including at least one initiator commanding an instruction and a plurality of targets receiving an instruction from the initiator. In the connection control device, the connection between the signal terminal on the target side can be changed based on the information in the SCSI phase from the initiator and the address information given in advance while being inserted between the initiator and the target. It is characterized in that it has a switching means.

【0008】[0008]

【作用】本発明によるバス接続制御装置は、SCSIバ
ス上へのインターフェイスと、複数のSCSI装置への
インターフェイスとを有しており、SCSIバスの状態
とあらかじめ与えられたアドレス情報によって、前記S
CSIバスと複数のSCSI装置との接続を切り換え
る。具体的には、同一の記録内容を持ったSCSI記録
装置を複数台接続し、本装置に対してSCSIバスより
与えられたコマンドフェーズのデータ信号により論理ブ
ロックアドレスを検出し、あらかじめ与えられたアドレ
スと比較し、その結果により各々のSCSI記録装置と
先のSCSIバスへのインターフェイスとの接続を決定
するものである。すなわち、SCSIバス検出機能によ
りその状態を検出し、その状態とあらかじめ設定された
アドレスによってSCSIバスの接続状態を切り換え
る。こうすることで、SCSI装置の記録媒体に対する
アクセススピードの向上を図る。
The bus connection control device according to the present invention has an interface to a SCSI bus and an interface to a plurality of SCSI devices.
Switches the connection between the CSI bus and multiple SCSI devices. Specifically, multiple SCSI recording devices with the same recorded contents are connected, the logical block address is detected by the data signal of the command phase given from the SCSI bus to this device, and the address given in advance is detected. And the result determines the connection between each SCSI recorder and the interface to the previous SCSI bus. That is, the state is detected by the SCSI bus detection function, and the connection state of the SCSI bus is switched according to the state and a preset address. By doing so, the access speed to the recording medium of the SCSI device is improved.

【0009】[0009]

【実施例】実施例について、図面を参照して以下に説明
する。本発明は、ホストシステムのOSの変更なしに、
また特別のSCSI機能(ディスコネクト、リコネク
ト、コマンドキャッシュ機能等)を備えた装置を使用す
ることなしに、また複雑な制御なしに、一般の同一の記
録内容を備えた複数台のSCSI装置を使用してアクセ
スを高速化することが出来る。本装置は、SCSIバス
の状態とあらかじめ与えられたアドレス情報によって各
SCSI装置への接続を切り換える切換手段を有する。
Embodiments will be described below with reference to the drawings. The present invention can be used without changing the OS of the host system.
Also, without using a device with a special SCSI function (disconnect, reconnect, command cache function, etc.) and without complicated control, you can use multiple SCSI devices with the same general recorded contents. Access can be speeded up. This device has switching means for switching the connection to each SCSI device according to the status of the SCSI bus and the address information given in advance.

【0010】例えば、SCSI装置A,Bの2台の装置
が接続された場合、SCSIバスと装置A,Bとの接続
を以下のように接続する手段を有する。 (1)装置AかつBを信号線を加工した接続状態で接続す
る(接続状態)。 (2)装置Aを通常のSCSIバスの状態で接続、装置B
は切断(接続状態)。 (3)装置Bを通常のSCSIバスの状態で接続、装置A
は切断(接続状態)。 接続回路の機能としては、装置を接続する場合、装置が
切断された状態より接続する機能を有する。
For example, when two devices, SCSI devices A and B, are connected, there is a means for connecting the SCSI bus and the devices A and B as follows. (1) Connect the devices A and B in a connection state in which signal lines are processed (connection state). (2) Connect device A in the normal SCSI bus state, device B
Is disconnected (connected state). (3) Connect device B in a normal SCSI bus state, device A
Is disconnected (connected state). As a function of the connection circuit, when the device is connected, it has a function of connecting the device in a disconnected state.

【0011】また、SCSIバスの状態によって、前記
接続状態〜のいずれかに設定するために、以下のS
CSIバスの検出機能a〜cを有する。 a.SCSIリセットの検出機能。 b.コマンドフェーズの検出機能、かつ、CDB(Comm
and Descriptor Block)の最初のバイトでのリードコマ
ンドの検出、かつ、CDBの2バイト目以後でのアドレ
スの検出とアドレスデータとの比較で、アドレス<=設
定アドレスを検出する機能。 c.コマンドフェーズの検出機能、かつ、CDBの最初
のバイトがリードコマンドでなかった、あるいはCDB
の2バイト目でのアドレスの検出とアドレスデータとの
比較で、アドレス>設定アドレスを検出する機能。
Further, in order to set one of the connection states 1 to 3 depending on the state of the SCSI bus, the following S
It has the detection functions ac of the CSI bus. a. SCSI reset detection function. b. Command phase detection function and CDB (Comm
and Descriptor Block) a function to detect a read command in the first byte, detect an address in the second byte and later of the CDB, and compare it with address data to detect an address <= set address. c. Command phase detection function and the first byte of CDB was not a read command, or CDB
The function to detect address> set address by detecting the address at the 2nd byte and comparing with the address data.

【0012】また、前記a,b,cの検出機能により、
バスの接続状態を〜に切り換える機能を有する。 また、b,cの状態の場合に接続状態をあるいはに
切り換えるための切り換えアドレスを入力する手段を有
する。
Further, due to the detection functions of a, b and c,
It has the function of switching the connection state of the bus to. Further, it has means for inputting a switching address for switching the connection state to or in the case of the states of b and c.

【0013】図1は、本発明によるバス接続制御装置の
一実施例を説明するための構成図で、図中、1はSCS
IバスI/F(インタフェース)、2,3は装置I/F
(インタフェース)、4はアドレススイッチ、5a,5
bはバス接続回路、6a,6bはバス接続回路、7はバ
ス変換接続回路、8はバス接続制御回路である。
FIG. 1 is a block diagram for explaining an embodiment of a bus connection control device according to the present invention, in which 1 is an SCS.
I bus I / F (interface), 2 and 3 are device I / Fs
(Interface), 4 is an address switch, 5a, 5
Reference numeral b is a bus connection circuit, 6a and 6b are bus connection circuits, 7 is a bus conversion connection circuit, and 8 is a bus connection control circuit.

【0014】本実施例では、SCSI装置がCD−RO
M装置であり、A,Bの2台ある。各装置には同じ記録
内容のメディアが挿入され、A,Bの装置が振り分けら
れる論理ブロックアドレスは、例えば、CD−ROMで
のブロック数が約270,000(41EB0=16
進)であるが、その約半数となるブロック数20000
(16進)ブロックとする。このアドレスを指定したの
は、後述するCDB(Command Descriptor Block)の2
バイト目までをチェックすればよいのでこのアドレスと
した。つまり、5桁目の値を見て判断すればよいことに
なる。
In this embodiment, the SCSI device is a CD-RO.
It is an M device, and there are two units, A and B. A medium having the same recorded contents is inserted into each device, and the logical block address to which the devices A and B are distributed has, for example, a block number of about 270,000 (41EB0 = 16) in the CD-ROM.
The number of blocks is 20,000
(Hexadecimal) Block. This address is specified by the CDB (Command Descriptor Block) 2 described later.
This address is used because it is only necessary to check up to the byte. In other words, it suffices to judge by looking at the value of the fifth digit.

【0015】SCSIバスI/F1はSCSIバス上に
つながる。SCSIバスの信号線はリセット信号である
RESET、その他の制御信号であるBSY(ビジ
ー),SEL(選択),C/D(制御データ),I/O
(入出力),MSG(メッセージ),REQ(要求),
ATN(アテンション),ACK(応答),データバス
の信号であるDB(データビット)0−7とそのパリテ
ィ信号のDBPよりなりたっている。ここのバス上には
CD−ROM装置に対してコマンドを発行するホストの
SCSI装置が接続されている。装置I/F2,3はそ
れぞれ装置A,Bとつながる。装置A,BのID番号は
それぞれ0,1とする。
The SCSI bus I / F1 is connected to the SCSI bus. The signal lines of the SCSI bus are RESET which is a reset signal and other control signals which are BSY (busy), SEL (selection), C / D (control data) and I / O.
(Input / output), MSG (message), REQ (request),
It is composed of ATN (attention), ACK (response), DB (data bit) 0-7 which is a data bus signal and DBP of the parity signal. Connected to the bus here is a host SCSI device that issues commands to the CD-ROM device. The devices I / F 2 and 3 are connected to the devices A and B, respectively. The ID numbers of the devices A and B are 0 and 1, respectively.

【0016】本装置の初期設定として、まず、アドレス
スイッチ4を適当な値に(本実施例の場合は、2000
0H)設定する。また、SCSIバスの初期の接続状態
は以下の通りである。SCSIバスからの信号は装置A
へはバス接続回路5a,7を通して装置I/F2へ接続
される。同様にして装置Bにもバス接続回路6a,7を
通して装置Bにデージーチェーンで接続される。バス接
続回路5b,6bの信号はSCSIバスの特定の(BS
Y,C/D,REQ,ACK,DBO)制御信号であ
る。
As an initial setting of this apparatus, first, the address switch 4 is set to an appropriate value (in the case of this embodiment, 2000).
0H) Set. The initial connection state of the SCSI bus is as follows. Signals from the SCSI bus are device A
Is connected to the device I / F 2 through bus connection circuits 5a and 7. Similarly, the device B is also daisy-chained to the device B through the bus connection circuits 6a and 7. The signals of the bus connection circuits 5b and 6b are specific to the SCSI bus (BS
Y, C / D, REQ, ACK, DBO) control signals.

【0017】また、装置A,Bからのそれぞれの上記と
同じ信号を入力として、それを変換しているのがバス変
換接続回路7である。バス接続回路5a,6aの信号は
それ以外の信号である。バス変換接続回路は装置A,B
のそれぞれのBSY,C/D,REQの論理積の信号を
SCSIバス上へ出力し、かつ、SCSIバスからのA
CK信号を、切断されている装置の状態に合わせて適宜
各装置に出力し、かつ、装置Bに対してはデータバス0
の信号をデータバス1にも出力するようにする。ACK
の制御は、切断される条件にはCDBの1バイト目の検
出で切断される場合とCDBの2バイト目で切断される
場合があるので、接続するときにいずれの状態で接続す
るかを決定する。
The bus conversion connection circuit 7 receives the same signals from the devices A and B as inputs and converts them. The signals of the bus connection circuits 5a and 6a are other signals. Bus conversion connection circuits are devices A and B
BSY, C / D, and REQ of each of the signals are output to the SCSI bus, and A from the SCSI bus is output.
The CK signal is appropriately output to each device according to the state of the disconnected device, and the data bus 0 is output to the device B.
Signal is also output to the data bus 1. ACK
The control of is determined depending on the disconnection condition, such as disconnection at the detection of the 1st byte of the CDB and disconnection at the 2nd byte of the CDB. Therefore, determine which state to connect when connecting. To do.

【0018】なお、信号MSG,C/D,I/Oはイニ
シエータ(initiator)とターゲット(target)間にフ
ェーズが存在していることを示し、8フェーズの状態遷
移で通信シーケンスを進めている。イニシエータとは、
バスの使用権を獲得し、バス上に接続されている複数台
の装置から通信したいターゲットを選択できる装置であ
り、一般に、イニシエータはホスト・コンピュータであ
り、SCSIの場合は、コントローラもイニシエータに
なれる。
The signals MSG, C / D, and I / O indicate that there is a phase between the initiator and the target, and the communication sequence is advanced by the 8-phase state transition. What is an initiator?
A device that acquires the right to use the bus and can select a target to communicate with from multiple devices connected to the bus. Generally, the initiator is the host computer, and in the case of SCSI, the controller can also be the initiator. .

【0019】図2は、SCSIバスの状態によってバス
接続回路の動作を説明するためのフローチャートであ
る。以下、各ステップに従って順に説明する。SCSI
バスの状態が、初期状態あるいはSCSIリセットがあ
ったときは、バス接続回路5a,6a,7のみを接続す
る(step1)、次に、コマンドフェーズを判断し(step
2)、コマンドフェーズでのコマンドがリードコマンド
で、アドレス>設定アドレスであるかどうかを判断し
(step3)、アドレス>設定アドレスでなければ、バス
接続回路5a,5bのみを接続し(step4)、アドレス
>設定アドレスであれば、バス接続回路6a,6bのみ
を接続する(step5)。SCSIバスのリセットはSC
SIバスのリセット信号で知ることができ、コマンドフ
ェーズはC/D,I/O,MSGの信号で、リードコマ
ンドかどうかを知ることができる。また、アドレスはS
CSIデータバス信号により確認することが出来る。C
DBの構造は以下の表1のようになっている。
FIG. 2 is a flow chart for explaining the operation of the bus connection circuit according to the state of the SCSI bus. Hereinafter, each step will be described in order. SCSI
When the bus state is the initial state or SCSI reset, only the bus connecting circuits 5a, 6a, 7 are connected (step 1), and then the command phase is judged (step 1).
2) It is judged whether the command in the command phase is a read command and address> setting address (step 3). If not address> setting address, only the bus connecting circuits 5a and 5b are connected (step 4), If the address> the set address, only the bus connection circuits 6a and 6b are connected (step 5). SCSI bus reset is SC
It can be known by the reset signal of the SI bus, and the command phase is a signal of C / D, I / O, MSG, and it can be known whether or not it is a read command. The address is S
It can be confirmed by the CSI data bus signal. C
The structure of DB is shown in Table 1 below.

【0020】[0020]

【表1】 [Table 1]

【0021】図3は、タイミングチャートを示す図であ
る。本実施例では、まず、リードコマンドでアドレス0
−20000(H)が指定され、装置Aが選択され、次
のコマンドではアドレスが20001(H)以上が指定
され、装置Bが選択された場合を例に示す。バス接続の
初期状態は、接続状態1にある。ID0に対してのセレ
クションフェーズが実行された場合、SCSIデータバ
ス0の信号は装置Bのデータバス1へ接続されているた
めに(aに示すタイミング)装置A,Bが同時にセレク
ションされる。なお、セレクションに応答するためのB
SY信号やコマンドフェーズに移行したことを示すC/
D信号、データ転送の準備が出来たことを示すREQ信
号はその論理積がSCSIバスへ送られるので、装置
A,Bのフェーズ、あるいはデータの受け渡しは同期し
て進行する。
FIG. 3 is a diagram showing a timing chart. In this embodiment, first, the address 0 is issued by the read command.
An example is shown in which −20000 (H) is specified, device A is selected, the next command specifies addresses 20001 (H) or higher, and device B is selected. The initial state of the bus connection is the connection state 1. When the selection phase for ID0 is executed, since the signal of the SCSI data bus 0 is connected to the data bus 1 of the device B (timing shown in a), the devices A and B are simultaneously selected. In addition, B for responding to the selection
C / indicating that the SY signal or command phase has been entered
Since the logical product of the D signal and the REQ signal indicating that the data transfer is ready is sent to the SCSI bus, the phases of the devices A and B or the data transfer proceed synchronously.

【0022】バス接続制御回路は、C/D,I/O,M
SG信号よりコマンドフェーズに入ったことを確認し、
タイミングbに示すACKがアサートされた時点でのデ
ータバスを読み取り、リードコマンドかどうかをチェッ
クする。リードコマンドは通常08H、あるいは28H
であるが、本発明では08Hをチェックする。データバ
スの各ビットを調べて08Hと一致するかどうかを判定
する。リードコマンドでなければ、接続状態となる。
リードコマンドであった場合は、それぞれの装置にAC
Kを返すようにする。
The bus connection control circuit includes C / D, I / O and M
Confirm that the command phase has been entered from the SG signal,
The data bus at the time when the ACK shown at the timing b is asserted is read to check whether it is a read command. Read command is usually 08H or 28H
However, in the present invention, 08H is checked. Each bit of the data bus is examined to determine if it matches 08H. If it is not a read command, the connection state is established.
If it is a read command, AC is applied to each device.
Try to return K.

【0023】次に、第2回目のACKのアサートされた
時点でのSCSIデータバスと前もってアドレススイッ
チで設定されたアドレスとをチェックする。SCSIデ
ータバスのアドレスが設定したデータバスより小さかっ
たので、接続状態にする。接続状態では装置Aのバ
スがそのままSCSIバスへ接続された状態なので、以
後の一連のフェーズは装置Aのみに対して実行される。
再度コマンドフェーズに入るとcに示すタイミングでコ
マンドを調べる。前回と同様にコマンドがリードコマン
ドであった場合には、切断されていた装置がCDBの1
バイト目で切断された状態か、2バイト目で切断された
状態かを判断して、前回が1バイト目で切断されていた
のならば、ここで接続して両方の装置にACKを返す。
本実施例の場合は何もしない。
Next, the SCSI data bus at the time when the second ACK is asserted and the address previously set by the address switch are checked. Since the address of the SCSI data bus was smaller than the set data bus, the connection state is set. In the connected state, the bus of the device A is directly connected to the SCSI bus, and therefore the subsequent series of phases is executed only for the device A.
When the command phase is entered again, the command is checked at the timing shown in c. If the command was a read command as in the previous time, the disconnected device is the CDB 1
It is determined whether it is disconnected at the second byte or the second byte, and if it was disconnected at the first byte last time, it is connected here and ACK is returned to both devices.
In the case of this embodiment, nothing is done.

【0024】次のACKのアサートされるタイミングで
データバスをチェックする。この場合は、データバスの
示すアドレスが設定したアドレスを超えていたので、装
置Aはバスより切断され、装置Bが前回切断された状態
で接続され、以後は装置Bに対して処理が行われる。こ
の時の装置Bの接続は前回切断された時点と同じフェー
ズであるので問題なく処理される。また、途中のフェー
ズでSCSIリセットがあった場合は、最初から接続状
態で始まるので問題はない。
The data bus is checked at the timing when the next ACK is asserted. In this case, since the address indicated by the data bus exceeds the set address, the device A is disconnected from the bus, the device B is connected in the previously disconnected state, and the device B is processed thereafter. . Since the connection of the device B at this time is in the same phase as when it was disconnected last time, it is processed without any problem. Also, if there is a SCSI reset in the middle phase, there is no problem because it starts from the beginning in the connected state.

【0025】[0025]

【発明の効果】以上の説明から明らかなように、本発明
によると、同一の記録内容を持った装置を複数台つない
で、ホストの介在なしに装置のシーク時間を短縮するこ
とが出来る。この方法によれば、つなぐ装置の数を多く
すれば、それだけシーク時間の短縮となる。また、機能
を拡張し、各装置に割り当てられるアドレスをFATの
領域専用、他をデータ領域等と論理フォーマットで意味
のあるアドレスに割り当てることにより、効果的なシー
クの割り当てが可能となる。
As is apparent from the above description, according to the present invention, it is possible to shorten the seek time of the device by connecting a plurality of devices having the same recorded contents without the intervention of the host. According to this method, the seek time can be shortened by increasing the number of connected devices. Further, by expanding the function and allocating an address assigned to each device to an area dedicated to the FAT and the other to a meaningful address such as a data area in a logical format, effective seek allocation can be performed.

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

【図1】本発明によるバス接続制御装置の一実施例を説
明するための構成図である。
FIG. 1 is a configuration diagram for explaining an embodiment of a bus connection control device according to the present invention.

【図2】本発明におけるSCSIバスの状態によってバ
ス接続回路の動作を説明するためのフローチャートであ
る。
FIG. 2 is a flow chart for explaining the operation of the bus connection circuit according to the state of the SCSI bus in the present invention.

【図3】本発明におけるタイミングチャートを示す図で
ある。
FIG. 3 is a diagram showing a timing chart in the present invention.

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

1…SCSIバスI/F(インタフェース)、2,3…
装置I/F(インタフェース)、4…アドレススイッ
チ、5a,5b…バス接続回路、6a,6b…バス接続
回路、7…バス変換接続回路、8…バス接続制御回路。
1 ... SCSI bus I / F (interface), 2, 3 ...
Device I / F (interface), 4 ... Address switch, 5a, 5b ... Bus connection circuit, 6a, 6b ... Bus connection circuit, 7 ... Bus conversion connection circuit, 8 ... Bus connection control circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 命令を指令する少なくとも1つのイニシ
エータと、該イニシエータからの命令を受ける複数のタ
ーゲットとを含むSCSIシステムに用いられるバス接
続制御装置において、前記イニシエータと前記ターゲッ
トとの間に介挿されるとともに、前記イニシエータから
のSCSIフェーズにおける情報とあらかじめ与えられ
たアドレス情報とに基づいて、前記ターゲット側の信号
端子の接続を変更可能とする切換手段を有することを特
徴とするバス接続制御装置。
1. A bus connection controller used in a SCSI system including at least one initiator for commanding a command, and a plurality of targets for receiving a command from the initiator, wherein the bus connection control device is interposed between the initiator and the target. In addition, the bus connection control device is provided with a switching means capable of changing the connection of the signal terminal on the target side based on the information in the SCSI phase from the initiator and the address information given in advance.
JP5310610A 1993-12-10 1993-12-10 Bus connection control device Expired - Lifetime JP2840536B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5310610A JP2840536B2 (en) 1993-12-10 1993-12-10 Bus connection control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5310610A JP2840536B2 (en) 1993-12-10 1993-12-10 Bus connection control device

Publications (2)

Publication Number Publication Date
JPH07160435A true JPH07160435A (en) 1995-06-23
JP2840536B2 JP2840536B2 (en) 1998-12-24

Family

ID=18007338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5310610A Expired - Lifetime JP2840536B2 (en) 1993-12-10 1993-12-10 Bus connection control device

Country Status (1)

Country Link
JP (1) JP2840536B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120311297A1 (en) * 2011-06-03 2012-12-06 June Lee Logical unit address assignment
WO2022125768A1 (en) * 2020-12-11 2022-06-16 Skyworks Solutions, Inc. Enumeration of peripheral devices on a serial communication bus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120311297A1 (en) * 2011-06-03 2012-12-06 June Lee Logical unit address assignment
US9390049B2 (en) * 2011-06-03 2016-07-12 Micron Technology, Inc. Logical unit address assignment
WO2022125768A1 (en) * 2020-12-11 2022-06-16 Skyworks Solutions, Inc. Enumeration of peripheral devices on a serial communication bus
US11977506B2 (en) 2020-12-11 2024-05-07 Skyworks Solutions, Inc. Enumeration of peripheral devices on a serial communication bus

Also Published As

Publication number Publication date
JP2840536B2 (en) 1998-12-24

Similar Documents

Publication Publication Date Title
US5721840A (en) Information processing apparatus incorporating automatic SCSI ID generation
US5073854A (en) Data processing system with search processor which initiates searching in response to predetermined disk read and write commands
US5925120A (en) Self-contained high speed repeater/lun converter which controls all SCSI operations between the host SCSI bus and local SCSI bus
US5745789A (en) Disc system for holding data in a form of a plurality of data blocks dispersed in a plurality of disc units connected by a common data bus
JPH0844665A (en) Bus for supporting plural data transfer sizes and protocols
US20050165975A1 (en) Logical unit number increasing device, and logical unit number increasing method
US5461719A (en) Method for recording/reproducing information on recording medium in accordance with parameters stored in memory to allow sectors of different data capacities to collectively exist
US6148366A (en) Storage system which transfers a command and data corresponding to said command subsequent to said command
JPH07281840A (en) Dual-disk recording device
US5448700A (en) Method and system for interfacing PC to CD-ROM drives
US7437503B2 (en) Method and apparatus for handling data transfers
JP2840536B2 (en) Bus connection control device
US6349348B1 (en) Data transfer method and apparatus
US20060277326A1 (en) Data transfer system and method
US5875458A (en) Disk storage device
US5954806A (en) Method to handle SCSI messages as a target
JPH01309117A (en) Magnetic disk device
US7032054B1 (en) Method and apparatus for increasing the device count on a single ATA bus
JP3499938B2 (en) I / O device sharing system between multiple systems with different protocols
US5619481A (en) Information recording/reproducing method
JPS63223822A (en) Control system for disk device
JPH0612190A (en) Magnetic disk control system
JPH04223518A (en) Disk control device responding to plural commands
JP3442099B2 (en) Data transfer storage device
JPS63292356A (en) Dma controller