JPH02211568A - Bus control system - Google Patents

Bus control system

Info

Publication number
JPH02211568A
JPH02211568A JP3198589A JP3198589A JPH02211568A JP H02211568 A JPH02211568 A JP H02211568A JP 3198589 A JP3198589 A JP 3198589A JP 3198589 A JP3198589 A JP 3198589A JP H02211568 A JPH02211568 A JP H02211568A
Authority
JP
Japan
Prior art keywords
bus
data
selection
devices
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3198589A
Other languages
Japanese (ja)
Inventor
Jun Sato
純 佐藤
Shunichi Oki
俊一 沖
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
NEC Software Shikoku Ltd
Original Assignee
NEC Corp
NEC Software Shikoku Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, NEC Software Shikoku Ltd filed Critical NEC Corp
Priority to JP3198589A priority Critical patent/JPH02211568A/en
Publication of JPH02211568A publication Critical patent/JPH02211568A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute the selection of a transfer destination device without delay by providing an ID sending-out means, a control means for selecting the other party and a means for controlling the inhibition of sending out an ID on a bus controller in a data transfer device. CONSTITUTION:Devices I1, I2 select devices T3 - T5 as the other parties. The devices are provided with a control part 1 for executing a selection of two pieces of buses, a check of a use state and a data transfer control to an external super-ordinate or subordinate device, an SCSI control part 2 for controlling to supply and receive information to and from buses L1, L2, a control part 3 for controlling an interface to an external device, and a circuit for utilizing an unused bus and sending an ID, respectively. By such constitution, an unselected device is set as the other party by using an unused bus and data is sent, and an ID of the device which is transferring the data is sent to the other unused bus. The other device decides whether the other party is transferring the data or not, based on the ID. In the case of being in the course of transfer, the bus use is suspended without selecting this device. In the case of being in the course of non-transfer, this device is selected and it is stopped to sending out the ID, and the data is sent. Accordingly, a transfer destination device is selected without a delay.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、情報処理技術の分野に利用する。特に、S 
CS I (Small Computer Syst
em Interface)バスの制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention is applied to the field of information processing technology. In particular, S
CS I (Small Computer System)
EM Interface) bus control system.

〔概要〕〔overview〕

本発明は、2組の装置がデータ転送を行う2本のバスの
制御方式において、 データ転送が行われていないバスにデータ転送中の装置
を特定する識別子を送出することにより、相手側装置の
バス使用状態の確認に要する時間を短縮することができ
るようにしたものである。
In a control method for two buses in which two sets of devices transfer data, the present invention enables the transmission of an identifier that identifies the device currently transferring data to the bus on which data transfer is not being performed. This makes it possible to shorten the time required to confirm the bus usage status.

〔従来の技術〕[Conventional technology]

従来、5csrバスを使用している装置を直接的に知る
手段はなく、SC5Iの手順に基づき2本のバスのうち
未使用のバスを使って相手装置を選択する動作を行い、
相手がバスを使用中であるために無応答であることを検
知してバスを使用している装置を確認していた。
Conventionally, there is no way to directly know which device is using the 5csr bus, and based on the SC5I procedure, the unused bus of the two buses is used to select the other device.
It detected that the other party was not responding because the bus was in use, and checked the device that was using the bus.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このように従来例技術では、本来のSCSIの手順に基
づき選択しようとしていることを相手側の装置に通知し
、それに対する相手側装置の応答の有無によって相手側
装置のバス使用状態を確認するので、相手側装置の応答
をチエツクするのに規定時間以上の間バスを専有してし
まい、相手側装置が選択できなかった場合はシステム全
体としての処理能力に大幅な低下を招く要因になる欠点
がある。
In this way, in the conventional technology, the other device is notified of the intention to select based on the original SCSI procedure, and the bus usage status of the other device is checked based on whether or not there is a response from the other device. This has the disadvantage that the bus is monopolized for more than a specified time to check the response of the other device, and if the other device cannot be selected, the processing capacity of the entire system will be significantly reduced. be.

本発明は、このような欠点を除去するもので、データ転
送先の装置の選択が遅滞なく行えるバス制御方式を提供
することを目的とする。
SUMMARY OF THE INVENTION The present invention aims to eliminate such drawbacks and to provide a bus control method that allows selection of a data transfer destination device without delay.

〔問題点を解決するための手段〕 本発明は、二つのバスと、このバスのそれぞれに接続さ
れ、scs rの手順に基づきデータ転送が行われる相
手装置を選択する選択手段を有する複数の装置とを備え
たバス制御方式において、上記装置のそれぞれは、上記
選択手段による選択が行われていない装置が接続されて
いるバスに上記選択手段による選択が行われている装置
のそれぞれを識別する識別情報を送出する識別子送出手
段と、この識別情報に基づき上記選択手段による選択が
行われていない装置を特定する特定手段と、この特定手
段で特定された装置を相手装置として選択することを許
可する指令を上記選択手段に与える第一制御手段と、こ
の識別情報が送出されているバスを経由して上記選択手
段による選択が行われると、上記識別子送出手段からの
識別情報の送出を禁止する第二制御手段とを有すること
を特徴とする。
[Means for Solving the Problems] The present invention provides two buses and a plurality of devices connected to each of the buses and having selection means for selecting a partner device to which data is transferred based on the SCS R procedure. In the bus control method, each of the above devices includes an identifier for identifying each of the devices selected by the selection device on a bus to which a device not selected by the selection device is connected. An identifier sending means for sending information, a specifying means for specifying a device that has not been selected by the selecting means based on the identification information, and a device specified by the specifying means is permitted to be selected as a partner device. a first control means for giving a command to the selection means; and a first control means for prohibiting the sending of the identification information from the identifier sending means when the selection means makes a selection via the bus through which the identification information is sent. It is characterized by having two control means.

〔作用〕[Effect]

未使用のバスを介して未選択の装置を相手先としてデー
タ転送が行われる。他の未使用のバスにデータ転送中の
装置を特定する識別情報を送出する。次に、他の装置が
データ転送を行う相手装置がデータ転送中の装置である
か否かを識別情報に基づき判定する。相手装置がデータ
転送中であればこの装置の選択を行わずにバスの使用を
中止する。また、相手装置がデータ転送中でなければ、
この装置を選択し、識別情報の送出を中止し、データ転
送を行う。
Data is transferred to an unselected device via an unused bus. Sends identification information identifying the device transferring data to another unused bus. Next, the other device determines whether the partner device to which data is to be transferred is the device currently transferring data, based on the identification information. If the other device is transferring data, use of the bus is stopped without selecting this device. Also, if the other device is not transferring data,
This device is selected, transmission of identification information is stopped, and data transfer is performed.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づき説明する。第1
図はこの実施例の構成を示すブロック構成図である。
Hereinafter, one embodiment of the present invention will be described based on the drawings. 1st
The figure is a block configuration diagram showing the configuration of this embodiment.

この実施例は、第1図に示すように、SCSI規定に基
づき相手側装置を選択する側の装置11およびI2と、
同規定に基づき相手側装置に選択される側の装置T3、
I4およびI5と、装置間のデータ転送に使用されるバ
スL1′およびL2とで構成される。
In this embodiment, as shown in FIG. 1, devices 11 and I2 on the side that select the other device based on SCSI regulations,
A device T3 on the side selected by the other party device based on the same provision,
I4 and I5, and buses L1' and L2 used for data transfer between devices.

また、第2図は第1図に示す装置11ないしI5の構成
を示すブロック構成図である。装置11ないしI5のそ
れぞれは、第2図に示すように、2本のバスの選択と使
用状態のチエツクおよび外部装置(上位または下位装置
)とのデータ転送を制御する制御部1と、バスL1およ
びL2との情報授受を制御するSCSI制御部2と、外
部装置とのインタフェースを制御する外部インタフェー
ス制御部3と、未使用バスを利用してIDを送出するI
D送出回路4とで構成される。
Further, FIG. 2 is a block diagram showing the configuration of the devices 11 to I5 shown in FIG. 1. As shown in FIG. 2, each of the devices 11 to I5 includes a control unit 1 that controls the selection of two buses, checking the usage status, and data transfer with an external device (upper or lower device), and a bus L1. and L2, an external interface controller 3 that controls the interface with an external device, and an I that sends out an ID using an unused bus.
It is composed of a D sending circuit 4.

すなわち、この実施例は、第1図および第2図に示すよ
うに、二つのバスLlよびL2と、バスLlおよびL2
のそれぞれに接続され、5C8Iの手順に基づきデータ
転送が行われる相手装置を選択する選択手段であるSC
SI制御部2を有する複数の装置11、I2、I3、I
4およびI5とを備え、装置11、I2、I3、I4お
よびI5のそれぞれは、上記選択手段による選択が行わ
れていない装置が接続されているバスに上記選択手段に
よる選択が行われている装置のそれぞれを識別する識別
情報を送出する識別子送出手段であるID送出回路4と
、この識別情報に基づき上記選択手段による選択が行わ
れていない装置を特定する特定手段、この特定手段で特
定された装置を相手装置として選択することを許可する
指令を上記選択手段に与える第一制御手段およびこの識
別情報が送出されているバスを経由して上言己選択手段
による選択が行われると、上記識別子送出手段からの識
別情報の送出を禁止する第二制御手段とを含む制御部l
とを有する。
That is, in this embodiment, as shown in FIGS. 1 and 2, two buses Ll and L2;
SC, which is a selection means for selecting a partner device connected to each of the
A plurality of devices 11, I2, I3, I having an SI control unit 2
4 and I5, and each of the devices 11, I2, I3, I4, and I5 is a device selected by the selection device to a bus to which a device not selected by the selection device is connected. an ID sending circuit 4 which is an identifier sending means for sending out identification information for identifying each of the devices; a specifying means for specifying a device that has not been selected by the selecting means based on this identification information; When selection is made by the self-selecting means via the first control means for giving a command to the selection means to permit selection of the device as a partner device and the bus to which this identification information is sent, the above-mentioned identifier and a second control means for prohibiting the transmission of the identification information from the transmission means.
and has.

本発明でいうところの「バス未使用」とは、そのバスに
接続されているすべての装置がそのバス上にSCSI制
御を行う制御用信号を送出していない状態をいう。ここ
で、IDは制御用信号ではない。
In the present invention, a "bus not in use" refers to a state in which all devices connected to the bus are not sending control signals for SCSI control onto the bus. Here, the ID is not a control signal.

次に、この実施例の動作を第1図および第2図に基づき
説明する。装置Il内の制御部1は装置T3とデータ転
送を行う前にバスL1およびL2をチエツクし、バスL
lが未使用であるときにこのバスL1を使用して装置T
3を選択する。自装置が選択されていることを認識した
装置I3内の制御部lはバスを使用中でない自装置が選
択されたことを装置11に応答を返して通知する。ひき
つづき、バスL1を使用して装置11と装置T3との間
でのデータ転送が行われる。このときに未使用であるバ
スト2上にはバス・Llを使用している装置11と装置
T3とのIDが送出される。次に、装置I2内の制御部
lがバスL1およびL2のいずれかを使用する前にバス
LlおよびL2をチエツクするとバスL1が使用中であ
り、ひきつづき、バスL2をチエツクするとバスL2は
未使用であるので、装置I2内の制御部1はバスト2上
に送出されているIDを調べてバスL1を使用している
装置が装置11と装置T3とであることを検知する。こ
の時点でバスL1を使用している装置が認識できたので
、バスL2を使用してデータを転送しようとした相手側
装置がバスL1を使用中の装置であれば、その時点で本
来の手順に基づきバスLlを使用して相手側装置の選択
を試みることなしにバスの使用を中止する。したがって
、バスL2は未使用のままの状態である。
Next, the operation of this embodiment will be explained based on FIGS. 1 and 2. The control unit 1 in the device Il checks buses L1 and L2 before data transfer with the device T3, and
device T using this bus L1 when l is unused.
Select 3. Having recognized that its own device has been selected, the control section 1 in the device I3 returns a response to notify the device 11 that its own device, which is not currently using the bus, has been selected. Subsequently, data is transferred between device 11 and device T3 using bus L1. At this time, the IDs of the device 11 and the device T3 using the bus Ll are sent onto the unused bus 2. Next, when the control unit I in the device I2 checks buses Ll and L2 before using either of the buses L1 and L2, bus L1 is in use, and when it subsequently checks bus L2, bus L2 is unused. Therefore, the control unit 1 in the device I2 checks the ID sent on the bus 2 and detects that the devices using the bus L1 are the device 11 and the device T3. At this point, the device using bus L1 has been recognized, so if the other device to which you tried to transfer data using bus L2 is a device using bus L1, the original procedure will be resumed. Based on this, the use of the bus is stopped without attempting to select the other device using the bus Ll. Therefore, bus L2 remains unused.

しかし、相手側装置がバスL1を使用中の装置でなけれ
ば選択が可能であり、装置I2内の制御部lはバスL2
を使用して相手側装置(この場合、装置T4またはI5
)を選択する。装置I2がバスL2を使用し始めた時点
で、装置11およびI3内のID送出回路4はバスL2
が使用中になったことを検知してバスI2上に送出して
いた各々のIDの送出を中止する。また、先より使用中
のバスL1の使用が終了すると、バスLl上にバスL2
を使用中の装置のIDが送出される。
However, if the other device is not currently using the bus L1, the selection is possible, and the controller l in the device I2 is connected to the bus L2.
to the other device (in this case, device T4 or I5)
). When device I2 starts using bus L2, ID sending circuits 4 in devices 11 and I3 use bus L2.
It detects that the ID is in use and stops sending out each ID that was being sent out on the bus I2. Furthermore, when the bus L1 that has been in use is finished, the bus L2 is placed on the bus Ll.
The ID of the device currently using is sent.

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

本発明は、以上説明したように、本来の手順を実行せず
に装置が選択しようとしている相手側装置のバス使用状
態が認識できるので、手順を実行して選択動作を行い応
答の有無を判断するための規定時間以上の時間の消費を
省く効果がある。また、一方のバスが使用中の場合でも
未使用の他方の場合を使用して並行して各々の装置間で
データ転送が行えるので、効率的なSCSIのシステム
を構築できる効果がある。
As explained above, the present invention is capable of recognizing the bus usage status of the other device that the device is trying to select without executing the original procedure, so the device executes the procedure, performs the selection operation, and determines whether or not there is a response. This has the effect of saving you from spending more time than the specified time to do so. Furthermore, even if one bus is in use, data can be transferred between devices in parallel using the other unused bus, so an efficient SCSI system can be constructed.

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

第1図は本発明実施例の構成を示すブロック構成図。 第2図は第1図の装置の構成を示すブロック構成図。 1112、I3、I4、I5・・・装置、Ll、L2・
・・バス、1・・・制御部、2・・・SCSI制御部、
3・・・外部インタフェース制御部、4・・・ID送出
回路。 実施例の構成 第 図 C3I インタフユース 装置の構成 第 図
FIG. 1 is a block configuration diagram showing the configuration of an embodiment of the present invention. FIG. 2 is a block diagram showing the configuration of the apparatus shown in FIG. 1. 1112, I3, I4, I5...device, Ll, L2・
...Bus, 1...Control unit, 2...SCSI control unit,
3... External interface control section, 4... ID sending circuit. Configuration diagram of the embodiment diagram C3I Configuration diagram of the interface use device

Claims (1)

【特許請求の範囲】 1、二つのバスと、 このバスのそれぞれに接続され、SCSIの手順に基づ
きデータ転送が行われる相手装置を選択する選択手段(
2)を有する複数の装置と を備えたバス制御方式において、 上記装置のそれぞれは、 上記選択手段による選択が行われていない装置が接続さ
れているバスに上記選択手段による選択が行われている
装置のそれぞれを識別する識別情報を送出する識別子送
出手段(4)と、 この識別情報に基づき上記選択手段による選択が行われ
ていない装置を特定する特定手段と、この特定手段で特
定された装置を相手装置として選択することを許可する
指令を上記選択手段に与える第一制御手段と、 この識別情報が送出されているバスを経由して上記選択
手段による選択が行われると、上記識別子送出手段から
の識別情報の送出を禁止する第二制御手段と を有することを特徴とするバス制御方式。
[Claims] 1. Two buses, and selection means for selecting a partner device connected to each of the buses and to which data transfer is to be performed based on the SCSI procedure.
2), in which each of the above devices is selected by the selection means on a bus connected to a device that has not been selected by the selection means. an identifier sending means (4) for sending out identification information for identifying each of the devices; a specifying means for specifying a device that has not been selected by the selecting means based on this identification information; and a device specified by the specifying means. a first control means for giving a command to the selection means to permit selection of the device as a partner device; and, when the selection by the selection means is made via the bus to which this identification information is sent, the identifier sending means; and second control means for prohibiting transmission of identification information from the bus.
JP3198589A 1989-02-10 1989-02-10 Bus control system Pending JPH02211568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3198589A JPH02211568A (en) 1989-02-10 1989-02-10 Bus control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3198589A JPH02211568A (en) 1989-02-10 1989-02-10 Bus control system

Publications (1)

Publication Number Publication Date
JPH02211568A true JPH02211568A (en) 1990-08-22

Family

ID=12346220

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3198589A Pending JPH02211568A (en) 1989-02-10 1989-02-10 Bus control system

Country Status (1)

Country Link
JP (1) JPH02211568A (en)

Similar Documents

Publication Publication Date Title
JPH02211568A (en) Bus control system
JPH02211569A (en) Information processor
JPS58182737A (en) Information processor
JPH0769882B2 (en) Input / output control system having cross-call function and dynamic configuration change method in the system
JPH01147939A (en) Robot control system
JPS61243559A (en) Dual processing system
JPS63310052A (en) Bus connection controller
JPS59103121A (en) Information processor
JPH023858A (en) Constituting system for duplicated data processor device
JPS59132257A (en) System for transferring common bus information
JPS60105057A (en) Test system
JPS63300341A (en) Duplex control circuit
JPH06295278A (en) Computer system
JPS63296428A (en) Input/output bus control system
JPH05210613A (en) Peripheral equipment connecting system
JPS60246149A (en) Data transmission equipment
JPS62249260A (en) Common bus control system
JPH02156340A (en) Switching control system
JPS60123953A (en) Controlling system of channel changeover
JPH05158861A (en) Information processing system
JPH0754504B2 (en) Bidirectional bus data transfer control method
JPS6361353A (en) Data transfer method
JPS63249243A (en) Secondary storage information saving system
JPS63300346A (en) Dma control system
JPS6224828B2 (en)