JPH03102448A - Channel device - Google Patents

Channel device

Info

Publication number
JPH03102448A
JPH03102448A JP1239374A JP23937489A JPH03102448A JP H03102448 A JPH03102448 A JP H03102448A JP 1239374 A JP1239374 A JP 1239374A JP 23937489 A JP23937489 A JP 23937489A JP H03102448 A JPH03102448 A JP H03102448A
Authority
JP
Japan
Prior art keywords
transfer
data
signal
response
stack
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
JP1239374A
Other languages
Japanese (ja)
Other versions
JP2752456B2 (en
Inventor
Takamasa Tanaka
孝征 田中
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1239374A priority Critical patent/JP2752456B2/en
Publication of JPH03102448A publication Critical patent/JPH03102448A/en
Application granted granted Critical
Publication of JP2752456B2 publication Critical patent/JP2752456B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To correctly send back a data transfer answer signal despite a delay caused to the transfer of data by holding the difference between the number of received transfer request signals and the number of transmitted transfer answer signals and also holding the data secures the transmission timing of a data transfer and instruction signal. CONSTITUTION:A channel device 1 receives the transfer request signals in number corresponding to the number N of data and transcribes the contents (r) of a request-answer number difference stack 5 obtained at a relevant time point to an end instruction stack 6. The value of the contents (r) shows the number of transfer answer signals to be returned for return the number of transfer answer signals equivalent to the number N of data obtained when the number of transfer request signals corresponding to the number N of data. Therefore the device 1 hereafter gives -1 to the contents (r) of the stack 6 every time a transfer answer signal is returned and transmits a data transfer and instruction signal. As a result, the data transfer answer signal is correctly returned despite a delay caused to the transfer of data.

Description

【発明の詳細な説明】 〔概 要] 少なくとも.下位装置側との間で1同期転送を行うと共
に,転送応答信号の受領を待つことなく転送要求信号を
発信でき,かつ自己が受信すべきデータ数を定めること
ができるチャネル装置に関し 自己が受信すべきデータ数を受信したことを契機にデー
タ転送終了指示信号を送出でき,かつデータ転送に遅延
が生しても正しくデータ転送応答信号を返すことができ
るようにすることを目的とし, データ・バッファをそなえると共に.転送要求信号を受
領した受領個数と転送応答信号を送出した送出個数との
差を保持する要求・応答数差スタックをそなえ,更にデ
ータ転送終了指示信号を送出するタイくングを与えるデ
ータを保持する終了指示スタックをそなえて構戒する。
[Detailed Description of the Invention] [Summary] At least. A channel device that performs one synchronous transfer with the lower device side, can send a transfer request signal without waiting for the reception of a transfer response signal, and can determine the number of data that it should receive. The purpose is to be able to send a data transfer end instruction signal when the desired number of data is received, and to be able to correctly return a data transfer response signal even if there is a delay in data transfer. In addition to providing Provides a request/response number difference stack that holds the difference between the number of received data that received a transfer request signal and the number of sent data that sent a transfer response signal, and also holds data that provides a timing for sending a data transfer end instruction signal. Prepare a termination instruction stack and be on guard.

(産業上の利用分野] 本発明は,チャネル装置,特に少なくとも,下位装置側
との間で.同期転送を行うと共に,転送応答信号の受領
を待つことなく転送要求信号を発信でき,かつ自己が受
信すべきデータ数を定めることができるチャネル装置に
関する。
(Industrial Application Field) The present invention is capable of performing synchronous transfer between a channel device, particularly at least with a lower-level device, and transmitting a transfer request signal without waiting for reception of a transfer response signal. The present invention relates to a channel device that can determine the number of data to be received.

データ線の長さが大になって信号伝送時の伝送時間を問
題にする必要が生したことなどから,同期転送方弐を採
用するものであるが,自己が発した転送要求信号に対応
するめ答信−3を受領することを待つことなく,次々と
転送要求信号を送出するようにしたインタフェースが採
用されている。
Synchronous transfer method 2 was adopted because the length of the data line became large and it became necessary to consider the transmission time during signal transmission, but in order to respond to the transfer request signal issued by the self. An interface is employed in which transfer request signals are sent out one after another without waiting for response-3 to be received.

また自己が受信すべきデータ数を定めて.当該個数のデ
ータを受信したらデータ転送終了指示信号を早期に送出
することか望まれる。
Also, determine the number of data that it should receive. It is desirable to send a data transfer end instruction signal as soon as the relevant number of data is received.

〔従来の技術〕[Conventional technology]

自己が発した転送要求信号に対応する応答信号を受領す
ることを待つことなく,次々と転送要求信号を送出する
インタフェースが採用されている。
An interface is employed that sends out transfer request signals one after another without waiting for a response signal corresponding to the transfer request signal itself to be received.

しかし,当該従来の場合においては,転送要求信号を受
領した受領個数と転送応答信号を送出した送出個数との
差を管理する管理手段をそなえていなかった。
However, in this conventional case, there was no management means for managing the difference between the number of received transfer request signals and the number of transmitted transfer response signals.

また.何らかの理由によって例えば上位装置との間での
データ転送に非所望な遅延が生しることがあり.下位装
置からの転送要求を受領した直後に転送応答信号を所望
通りに返送できないことがあり,このためデータ転送終
了指示を行うタイ≧ングを見出すことがむづかしい場合
がある。
Also. For some reason, for example, an undesired delay may occur in data transfer with a host device. Immediately after receiving a transfer request from a lower-level device, it may not be possible to return a transfer response signal as desired, and therefore it may be difficult to find a timing ≧ for instructing the end of data transfer.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の場合には,上記管理手段をそなえていないことか
ら,返送すべき転送応答信号を正しく返送できないこと
が生しる可能性がある。また上述の如く転送応答信号を
返送する時期が非所望に遅れてしまうような場合があり
,データ転送終了指示を行うタイξングを見出すことが
むづかしい。
In the conventional case, since the above-mentioned management means is not provided, there is a possibility that the transfer response signal to be returned cannot be returned correctly. Further, as described above, there are cases where the timing of returning the transfer response signal is undesirably delayed, and it is difficult to find the timing for instructing the end of data transfer.

このために自己が受信すべきデータ数に対応する個数の
データ転送要求信号(この信号と共にデータが転送され
てくると考えてよい)を受信した時点で.上記データ転
送終了指示信号を送出するようにすると,上記の如《,
返送すべき転送応答信号を返送できない状態で,上記デ
ータ転送終了指示信号が先に送出されてしまうことが生
じる。
For this reason, at the point when it receives a number of data transfer request signals corresponding to the number of data that it should receive (data can be considered to be transferred along with this signal). If the above data transfer end instruction signal is sent,
The data transfer end instruction signal may be sent first in a state where the transfer response signal that should be sent back cannot be sent back.

本発明は,自己が受信すべきデータ数を受信したことを
契機にデータ転送終了指示信号を送出でき かつデータ
転送に遅延が生しても正しくデータ転送応答信号を返す
ことができるようにすることを目的としている。
The present invention enables a device to send a data transfer end instruction signal upon receiving the number of data that it should receive, and to correctly return a data transfer response signal even if there is a delay in data transfer. It is an object.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理構成図を示す。図中の符号1はチ
ャネル・ブロセソサ(以下チャネル装置ともいう)5 
2は上位装置であって図示の場合には主記憶装i!f 
(MS)で代表せしめているもの,3は下位装置であっ
て図示の場合には入出力装置(■0)で代表せしめてい
るものを表している。
FIG. 1 shows a basic configuration diagram of the present invention. The code 1 in the figure is a channel processor (hereinafter also referred to as a channel device) 5
2 is a host device, and in the case shown, main memory i! f
(MS), and 3 is a lower-level device, which in the illustrated case is represented by an input/output device (■0).

また4はデータ・バッファである。更に5は木発明にお
いてもうけられている要求・応答数差スタックであり,
例えば図示の如く下位装置3から転送要求信号が次々と
発せられてデータ・バッファ4にデータが蓄積されてゆ
くことに対応してチャネル装置1が当該データを受信し
たことを通知する転送応答信号を逐次返送してゆくよう
にされているが,この間の転送要求信号を受領した受領
個数と,転送応答信号を送出した送出個数との差を保持
するようにする。
Further, 4 is a data buffer. Furthermore, 5 is the request/response number difference stack created in the tree invention,
For example, as shown in the figure, in response to transfer request signals being issued one after another from the lower device 3 and data being accumulated in the data buffer 4, the channel device 1 sends a transfer response signal notifying that it has received the data. Although the signals are sent back sequentially, the difference between the number of received transfer request signals and the number of sent transfer response signals during this period is maintained.

また6は本発明においてもうけられている終了指示スタ
ソクであって,上述した如く何らかの理由によって上記
転送応答信号の返送タイミングが遅れる、LうlI″こ
とがある場合でも.白己が受信ずべき個数のデータに見
合う数の転送応答信号を返送することを契機にデータ転
送終了指示信号を送出できるようにする。
In addition, 6 is a termination instruction status provided in the present invention, and even if the return timing of the transfer response signal is delayed for some reason as described above, the number of signals that should be received by the white receiver. A data transfer end instruction signal can be sent when a number of transfer response signals corresponding to the number of data are returned.

〔作 川) 今,下位装置3からのデータを上位装置2へ転送するこ
とを劣える。この場合,下位装置3は転送要求信号と対
応してデータを送出し,チャネル装置1からの転送応答
の受領を待つことなく次々と転送要求信号(データと共
に)を送出する。
[Sakukawa] Now, it is difficult to transfer data from the lower-level device 3 to the higher-level device 2. In this case, the lower device 3 sends out data in response to the transfer request signal, and sends out the transfer request signals (along with the data) one after another without waiting for receipt of a transfer response from the channel device 1.

当該送出されたデータは,データ・ハッファ4に一時蓄
えられた上で,上位装置2へ転送されてゆくものである
が.チャネル装置1ば上記個々の転送要求信号の受領に
対応して転送応答信号を返送する。
The transmitted data is temporarily stored in the data huffer 4 and then transferred to the host device 2. The channel device 1 returns a transfer response signal in response to receiving the individual transfer request signals.

要求・応答数差スタック5は.転送要求信号の受領個数
と転送応答信号の送出個数との差に対応する値を保持す
るようにして,返送ずべき転送応答信閃の個数を管理で
きるようにしている。
The request/response count difference stack 5 is . By holding a value corresponding to the difference between the number of transfer request signals received and the number of transfer response signals sent, the number of transfer response signals that should be returned can be managed.

一方,チャネル装置1ば,自己が受信すべきデータ数を
知っており.当該データ数Nに対応する個数の上記転送
要求信号を受信すると,この時点での」二記要求・応答
数差スタック5の内容rを終了指示スタック6に転記す
る。当該内容が示す値rば 上記データ数Nに対応する
個数の転送要求信号を受信した時点での.当該数Nに相
当する個数の転送応答信号を返送するために当該時点以
降に返送すべき転送応答信号の数を示している。このこ
とから,チャネル装置1は,以後転送応答信号を返送す
るたびに,上記終了指示スタック6の内容rをマイナス
1づつしてゆき,データ転送終了指示信号を送出できる
ようにする。
On the other hand, channel device 1 knows the number of data it should receive. When the number of transfer request signals corresponding to the data number N is received, the contents r of the request/response number difference stack 5 at this point in time are transferred to the end instruction stack 6. The value r indicated by the content is the value at the time when the number of transfer request signals corresponding to the number of data N is received. In order to return the number of transfer response signals corresponding to the number N, the number indicates the number of transfer response signals that should be returned after this point in time. Therefore, every time the channel device 1 returns a transfer response signal from now on, it increments the content r of the end instruction stack 6 by minus 1, so that it can send out the data transfer end instruction signal.

[実施例] 第2図は本発明の一実施例構成を示す。図中の符号1は
チャネル装置(チャネル・プロセッザ)4はデータ・バ
ッファ,5は要求・応答数差スタック,6は終了指示ス
タック,7.8は夫々データ・ハス,9はハス制御回路
,10は応答可否判定部であって転送応答信号を送出し
てよいか否かを判定するもの,11は転送要求信号受信
回路,12は転送応答信号送出回路,13はデータ転送
終了指示信号送出回路を表している。
[Embodiment] FIG. 2 shows the configuration of an embodiment of the present invention. In the figure, reference numeral 1 is a channel device (channel processor), 4 is a data buffer, 5 is a request/response number difference stack, 6 is an end instruction stack, 7 and 8 are respective data hashes, 9 is a hash control circuit, 10 11 is a response permission determination unit which determines whether or not to send a transfer response signal; 11 is a transfer request signal receiving circuit; 12 is a transfer response signal sending circuit; and 13 is a data transfer end instruction signal sending circuit. represents.

要求・応答数差スタック5の内容は,転送要求信号受信
回路11による受信検出に対応して+1され,かつ転送
応答信号送出回路工2による送出に対応して−1される
。応答可否判定部10は,データ・バッファ4に現に蓄
積されているデータ個数や,要求・応答数差スタック5
の内容({a)を勘案して,転送応答信号を送出するか
否かを判定する。そして,送出すべき場合には.送出指
示を転送応答信号送出回Fl&l2に送る。
The contents of the request/response number difference stack 5 are incremented by +1 in response to reception detection by the transfer request signal receiving circuit 11, and -1 in response to transmission by the transfer response signal transmitting circuit 2. The response determination unit 10 determines the number of data currently stored in the data buffer 4 and the request/response number difference stack 5.
It is determined whether or not to send a transfer response signal, taking into consideration the content ({a) of . And if it should be sent. The transmission instruction is sent to the transfer response signal transmission circuit Fl&l2.

また応答可否判定部10は,チャネル装置1が受信すべ
きデータの個数Nを知っており,当該個数Nに該当する
数の転送要求信号を受信したときその時点での要求・応
答数差スタック5の内容(値)を終了指示スタック6に
転記せしめる。
In addition, the response availability determination unit 10 knows the number N of data that the channel device 1 should receive, and when it receives the number of transfer request signals corresponding to the number N, the request/response number difference stack 5 at that time The contents (values) of are transferred to the end instruction stack 6.

終了指示スタック6の内容は.以後.転送応答信号送出
回路12による送出に対応して−1され例えばその内容
が値「工」となった際に,データ転送終了指示信号送出
回路13に対して.終了指示送出指示を発する。
The contents of the end instruction stack 6 are as follows. From then on. -1 in response to the transmission by the transfer response signal transmission circuit 12, for example, when the content becomes the value "work", the . Issue a termination instruction sending instruction.

なお,公知のIPIインタフェースの場合の如く デー
タ転送終了指示信号を送出する際には転送応答信号を送
出しない場合には,図示の要求応答数差スタック5の内
容は,データ転送終了指示信号の送出によってマイナス
1されるようにされる。
Note that if a transfer response signal is not sent when sending a data transfer end instruction signal as in the case of a known IPI interface, the contents of the illustrated request response number difference stack 5 will be the same as when the data transfer end instruction signal is sent. is set to minus 1.

第3図は第2個目の転送応答信号の送出が遅れた場合の
タイムチャ−1−,第4図は第3個目の転送応答信号の
送出が遅れた場合のタイムチャートを示している。
FIG. 3 shows a time chart 1- when the sending of the second transfer response signal is delayed, and FIG. 4 shows a time chart when the sending of the third transfer response signal is delayed.

第3図および第4図を参照すると判る如く,チャネル装
置1が受信すべきデータ数がN=3であったとすると,
3個分の転送要求信号を受領したときに,スタック5の
内容をスタソク6に転記する。第3図図示の場合には,
第2個目の転送応答信号の送出に遅延が生じていること
から,スタック6には値「3」を転記される。また第4
図図示の場合には,第3個目の転送応答信号の送出に遅
延が生じていることから,スタック6には値「2」を転
記される。
As can be seen from FIGS. 3 and 4, if the number of data that the channel device 1 should receive is N=3,
When three transfer request signals are received, the contents of the stack 5 are transferred to the stack 6. In the case shown in Figure 3,
Since there is a delay in sending the second transfer response signal, the value "3" is transferred to the stack 6. Also the fourth
In the case shown in the figure, since there is a delay in sending out the third transfer response signal, the value "2" is transferred to the stack 6.

そして.以後.転送応答信号が送出されることに対応し
て,スタック6の内容は−1されてゆく。
and. From then on. In response to the transmission of the transfer response signal, the contents of the stack 6 are incremented by -1.

そして スタック6の内容が値「1」になった際に,デ
ータ転送終了指示信号を送出すべく動作が発動される。
When the contents of the stack 6 reach the value "1", an operation is activated to send out a data transfer end instruction signal.

これによって,受信すべきデータ数N=3に見合う数の
転送応答信号が送出されると.いわば直ちにデータ転送
終了指示信号が発せられ,以後の転送要求信号の送出は
終了せしめられる。
As a result, the number of transfer response signals corresponding to the number of data to be received, N=3, is sent out. In other words, a data transfer end instruction signal is immediately issued, and subsequent transmission of transfer request signals is terminated.

従来の場合には,終了指示スタック6が存在しないこと
もあって.例えばN=3に対応する転送要求信号を受信
した際に直ちにデータ転送終了指示信号を送出するよう
にすると,所定個数の転送応答信号が送出される前に上
記データ転送終了指示信号が送出されることになってし
まうものであった。
In the conventional case, the termination instruction stack 6 does not exist. For example, if a data transfer end instruction signal is sent immediately upon receiving a transfer request signal corresponding to N=3, the data transfer end instruction signal will be sent before a predetermined number of transfer response signals are sent. It was something that was going to happen.

[発明の効果〕 以上説明した如く1本発明によれば、正しいタイξング
の下でデータ転送終了指示信号を送出することか可能と
なる。
[Effects of the Invention] As explained above, according to the present invention, it is possible to send a data transfer end instruction signal under correct timing.

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

第1図は木発明の原理構威図,第2図は本発明の一実施
例構成,第3図および第4図は夫々タイムチャ−1・を
示す。 図中,1はチャネル装置(チャネル・ブロセッザ)4 
2ば上位装置(主記憶装置),3は下位装置(入出力装
置).4はデータ・バッファ,5ば要求・応答数差スタ
ノク,6は終了指示スタックを表す。
FIG. 1 shows the principle structure of the invention, FIG. 2 shows the structure of an embodiment of the invention, and FIGS. 3 and 4 show time charts 1 and 4, respectively. In the figure, 1 is a channel device (channel processor) 4
2 is the upper device (main memory), 3 is the lower device (input/output device). 4 represents a data buffer, 5 represents a request/response count difference stanok, and 6 represents an end instruction stack.

Claims (1)

【特許請求の範囲】 上位装置(2)側と下位装置(3)側との間にもうけら
れてデータ転送用のデータ・バッファ(4)を有するチ
ャネル装置(1)であって、少なくとも上記下位装置(
3)側との間で、同期転送を行うと共に、転送要求を出
す側の装置が転送応答信号の受領に先行して送出できる
転送要求信号の数を予め取り決めることができ、かつ転
送応答を出す側の装置が自己の受信すべきデータ数を定
めておいて所定数の受信に対応してデータ転送終了指示
信号を送出できるよう構成されてなるチャネル装置(1
)において、 上記転送要求信号を受領した受領個数と上記転送応答信
号を送出した送出個数との差を保持する要求・応答数差
スタック(5)をもうけると共に、自己の受信すべきデ
ータ数に対応する個数の上記転送要求信号を受領した際
における上記要求・応答数差スタック(5)の内容を転
記されて、当該自己の受信すべきデータ数に対応する個
数の上記転送要求信号に対して、自己が当該個数に対応
した上記転送応答信号を送出することを契機として、上
記データ転送終了指示信号を送出するための終了指示ス
タック(6)を有する ことを特徴とするチャネル装置。
[Scope of Claims] A channel device (1) having a data buffer (4) for data transfer provided between a higher-level device (2) side and a lower-level device (3) side, the channel device (1) having a data buffer (4) for data transfer; Device(
3) In addition to performing synchronous transfer with the device, the device issuing the transfer request can agree in advance on the number of transfer request signals that can be sent out prior to receiving the transfer response signal, and issue the transfer response. A channel device (1
), creates a request/response number difference stack (5) that holds the difference between the number of received data that received the transfer request signal and the number of data sent that sent the transfer response signal, and also corresponds to the number of data that should be received by itself. The contents of the request/response number difference stack (5) upon receiving the number of transfer request signals to be received are transcribed, and for the number of transfer request signals corresponding to the number of data to be received by the self, A channel device characterized in that it has an end instruction stack (6) for sending out the data transfer end instruction signal when the channel device sends out the transfer response signal corresponding to the number.
JP1239374A 1989-09-14 1989-09-14 Channel device Expired - Fee Related JP2752456B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1239374A JP2752456B2 (en) 1989-09-14 1989-09-14 Channel device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1239374A JP2752456B2 (en) 1989-09-14 1989-09-14 Channel device

Publications (2)

Publication Number Publication Date
JPH03102448A true JPH03102448A (en) 1991-04-26
JP2752456B2 JP2752456B2 (en) 1998-05-18

Family

ID=17043825

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1239374A Expired - Fee Related JP2752456B2 (en) 1989-09-14 1989-09-14 Channel device

Country Status (1)

Country Link
JP (1) JP2752456B2 (en)

Also Published As

Publication number Publication date
JP2752456B2 (en) 1998-05-18

Similar Documents

Publication Publication Date Title
KR920018567A (en) Data processing systems
JPH05197698A (en) Debugging system for decentralized information processing system
JPH07210519A (en) Data transfer control method and transmission/reception controller
JPH069361B2 (en) Message transmission method
JPH03102448A (en) Channel device
JP2767990B2 (en) Microprocessor control method
JPH0235500B2 (en)
JP2581041B2 (en) Data processing device
JPH02217039A (en) Poling/selecting control procedure system
JPH04172032A (en) Polling control system
JPS61264829A (en) Control system for interruption of network controller
JPH04295952A (en) Message communication equipment for multi-processor system
JPH05342020A (en) Inter-task communicating system
JPH0426504B2 (en)
JPH0285947A (en) Data transmission system
JPS63103531A (en) Relay control system for digital signal
KR970029090A (en) Communication method between user interface and main control system
JPS5831785B2 (en) Line polarity control method
JPS6358564A (en) Interruption controlling system for bus converting device
JPS62266948A (en) Communication control equipment in system
JPH0636500B2 (en) Polling control method
JPH02120946A (en) Control system for distributed file
JPS63169149A (en) Dynamic transmission schedule system
JPH0561609A (en) Magnetic disk device
JPH0760416B2 (en) Data processing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees