JPH04355861A - Peripheral control processing device - Google Patents

Peripheral control processing device

Info

Publication number
JPH04355861A
JPH04355861A JP13148791A JP13148791A JPH04355861A JP H04355861 A JPH04355861 A JP H04355861A JP 13148791 A JP13148791 A JP 13148791A JP 13148791 A JP13148791 A JP 13148791A JP H04355861 A JPH04355861 A JP H04355861A
Authority
JP
Japan
Prior art keywords
data transfer
data
host computer
peripheral
peripheral 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.)
Pending
Application number
JP13148791A
Other languages
Japanese (ja)
Inventor
Kazutoshi Motoo
和敏 本尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP13148791A priority Critical patent/JPH04355861A/en
Publication of JPH04355861A publication Critical patent/JPH04355861A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To determine the priority of data transmission by the data transfer time for the purpose of preventing the transmission request from a peripheral device having a low priority level from being left unaccepted for a long time. CONSTITUTION:This device is characterized by providing a data transfer speed storage part 7 where the data transfer speed set for each peripheral device is stored, a data transfer volume storage part 8 where the data volume of data transfer to a host computer from each peripheral device is stored, a calculating circuit part 9 which calculates the data transfer time of each peripheral device based on values stored in the data transfer volume storage part 8 and the data transfer speed storage part 7, a comparing circuit 10 which compares calculation results of calculating circuits 9 with one another, and a data transfer request selecting part 11 which selects one of data transmission requests of plural peripheral devices by the output of the comparing circuit 10 and requests data transfer to the host computer.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は周辺制御処理装置に関し
、特に周辺装置からホストコンピュータにデータを送出
する送信要求の制御装置に関する。周辺制御装置は、上
位のホストコンピュータとチャネルインタフェースによ
って接続され、下位に各種の周辺装置が接続されるデバ
イスインタフェースを複数本有している。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a peripheral control processing device, and more particularly to a transmission request control device for sending data from a peripheral device to a host computer. The peripheral control device is connected to an upper host computer through a channel interface, and has a plurality of device interfaces to which various peripheral devices are connected to the lower layer.

【0002】0002

【従来の技術】従来の周辺制御処理装置は、ホストコン
ピュータと周辺装置間でデータ転送されるデータを一時
的に蓄えるデータバッファと、ホストコンピュータに対
する複数の周辺装置からのデータの送信要求を検出する
送信要求検出手段と、送信要求検出手段で検出された複
数の周辺装置からの送信要求をデバイスインタフェース
に付番された番号に基づいて選択するプライオリティ回
路と、プライオリティ回路によって選択された送信要求
をホストコンピュータに通知する手段等を有している。
2. Description of the Related Art A conventional peripheral control processing device includes a data buffer that temporarily stores data transferred between a host computer and a peripheral device, and a data buffer that detects data transmission requests from a plurality of peripheral devices to the host computer. a transmission request detection means; a priority circuit that selects transmission requests from a plurality of peripheral devices detected by the transmission request detection means based on numbers assigned to the device interface; and a host for transmission requests selected by the priority circuit. It has a means to notify the computer.

【0003】複数の周辺装置からホストコンピュータに
送信すべきデータが発生すると、各々の周辺装置から周
辺制御処理装置に送信要求が報告される。周辺制御処理
装置は各々の送信要求の優先順位を判断し、優先度の高
い順にホストコンピュータに対して送信要求を行うよう
にしている。
When data to be transmitted to a host computer is generated from a plurality of peripheral devices, each peripheral device reports a transmission request to the peripheral control processing device. The peripheral control processing device determines the priority of each transmission request, and sends transmission requests to the host computer in order of priority.

【0004】0004

【発明が解決しようとする課題】上述した従来の周辺制
御処理装置では、複数の周辺装置からの送信要求を受信
すると、優先順位を判断して優先度の高い順に送信要求
をホストコンピュータに対して行うようにしているため
、優先度の高い周辺装置からの送信要求に伴うデータ転
送が連続的に行われると、優先度の低い周辺装置からの
送信要求が全く受けられない状況が続いてしまい、優先
度の低い周辺装置からの送信要求に伴うデータ転送が長
時間行われないという問題点がある。
[Problems to be Solved by the Invention] When the conventional peripheral control processing device described above receives transmission requests from multiple peripheral devices, it determines the priority and sends the transmission requests to the host computer in order of priority. Therefore, if data transfer is performed continuously in response to a transmission request from a high-priority peripheral device, a situation continues where no transmission request from a low-priority peripheral device is received. There is a problem in that data transfer is not performed for a long time in response to a transmission request from a peripheral device with a low priority.

【0005】[0005]

【課題を解決するための手段】本発明の装置は、上位の
ホストコンピュータとチャネルインタフェースで接続さ
れ、下位の周辺装置と接続されるデバイスインタフェー
スを複数本有し、前記ホストコンピュータと周辺装置間
のデータ転送を制御する周辺制御処理装置において、前
記ホストコンピュータと複数の周辺装置間で転送される
データを一時的に蓄えるデータバッファと、前記周辺装
置毎に設定されるデータ転送速度を格納するデータ転送
速度格納部と、周辺装置毎にホストコンピュータへのデ
ータ転送のデータ量を格納するデータ転送量格納部と、
該データ転送量格納部に格納されている値と前記データ
転送速度格納部に格納されている値に基づいて、周辺装
置毎にデータ転送時間の演算を行う演算回路部と、各演
算回路の演算結果を大小比較する比較回路と、該比較回
路の出力信号によって複数の周辺装置のデータ送信要求
から一つを選択してホストコンピュータに対してデータ
の転送要求を行うデータ転送要求選択部とを有すること
を特徴とする。
[Means for Solving the Problems] The device of the present invention has a plurality of device interfaces connected to an upper host computer through a channel interface and connected to lower peripheral devices, and has a plurality of device interfaces connected to a lower level peripheral device. A peripheral control processing device that controls data transfer includes a data buffer that temporarily stores data transferred between the host computer and a plurality of peripheral devices, and a data transfer that stores data transfer speeds set for each of the peripheral devices. a speed storage unit; a data transfer amount storage unit that stores the amount of data transferred to the host computer for each peripheral device;
an arithmetic circuit unit that calculates a data transfer time for each peripheral device based on a value stored in the data transfer amount storage unit and a value stored in the data transfer rate storage unit; and an arithmetic circuit unit that calculates a data transfer time for each peripheral device; It has a comparison circuit that compares the magnitude of the results, and a data transfer request selection section that selects one of the data transmission requests of a plurality of peripheral devices based on the output signal of the comparison circuit and issues a data transfer request to the host computer. It is characterized by

【0006】[0006]

【実施例】次に本発明について図面を参照して説明する
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0007】図1は本発明の一実施例のブロック図であ
る。
FIG. 1 is a block diagram of one embodiment of the present invention.

【0008】本発明の周辺制御処理装置は2は、上位の
チャネルインタフェース4によってホストコンピュータ
1と接続され、複数の下位のデバイスインタフェース5
によって周辺装置3と接続されている。
The peripheral control processing device 2 of the present invention is connected to the host computer 1 through an upper channel interface 4, and is connected to a plurality of lower device interfaces 5.
It is connected to the peripheral device 3 by.

【0009】周辺制御処理装置2は、ホストコンピュー
タ1と複数の周辺装置3との間で転送されるデータを一
時的に蓄えるデータバッファ6と、複数の周辺装置3毎
にホストコンピュータ1へデータ転送されるデータ量を
格納するデータ転送量格納部8と、複数の周辺装置3毎
に設定されるデータ転送速度を格納するデータ転送速度
格納部7と、データ転送速度格納部7に格納されている
値とデータ転送量格納部8に格納されている値に基づい
て、周辺装置3毎にデータ転送時間の演算を行う演算回
路部9と、演算回路部9の演算結果を大小比較する比較
回路10と、比較回路10の出力信号によって複数の周
辺装置3のデータ送信要求からひとつを選択してホスト
コンピュータ1に対してデータの転送要求を行うデータ
転送要求選択部11を有している。
The peripheral control processing device 2 includes a data buffer 6 for temporarily storing data transferred between the host computer 1 and a plurality of peripheral devices 3, and a data buffer 6 for temporarily storing data transferred between the host computer 1 and a plurality of peripheral devices 3, and a data buffer 6 for transferring data to the host computer 1 for each of the plurality of peripheral devices 3. The data transfer rate storage unit 8 stores the amount of data to be transferred, the data transfer rate storage unit 7 stores the data transfer rate set for each of the plurality of peripheral devices 3, and the data transfer rate storage unit 7 stores the data transfer rate set for each of the plurality of peripheral devices 3. an arithmetic circuit unit 9 that calculates the data transfer time for each peripheral device 3 based on the value and the value stored in the data transfer amount storage unit 8; and a comparison circuit 10 that compares the calculation results of the arithmetic circuit unit 9 in magnitude. and a data transfer request selection section 11 that selects one of the data transmission requests from a plurality of peripheral devices 3 based on the output signal of the comparison circuit 10 and issues a data transfer request to the host computer 1.

【0010】次に本発明の周辺制御処理装置2の動作を
具体例を挙げて説明する。ホストコンピュータ1と周辺
装置3とのデータ転送は通常次のように行われているも
のとする。
Next, the operation of the peripheral control processing device 2 of the present invention will be explained using a specific example. It is assumed that data transfer between the host computer 1 and the peripheral device 3 is normally performed as follows.

【0011】1)ホストコンピュータ1から周辺装置3
へデータを転送する場合ホストコンピュータ1から本発
明の周辺制御処理装置2にチャネルプログラムが発行さ
れ、データを一時的にデータバッファ6に格納してから
周辺装置3にデータが転送される。
1) From the host computer 1 to the peripheral device 3
When transferring data to the peripheral device 3, the host computer 1 issues a channel program to the peripheral control processing device 2 of the present invention, temporarily stores the data in the data buffer 6, and then transfers the data to the peripheral device 3.

【0012】2)周辺装置3からホストコンピュータ1
へデータを転送する場合周辺装置3からデバイスインタ
フェース5を経由して、周辺制御処理装装置2にデータ
の送信要求とデータ転送量が通知される。
2) From peripheral device 3 to host computer 1
When transferring data to, the peripheral device 3 notifies the peripheral control processing unit 2 of a data transmission request and the amount of data to be transferred via the device interface 5.

【0013】次にデータ転送要求選択部11によってホ
ストコンピュータ1に対してデータ送信要求を行い、デ
ータバッファ6を介して周辺装置3からホストコンピュ
ータ1にデータが転送される。
Next, the data transfer request selection section 11 issues a data transmission request to the host computer 1, and the data is transferred from the peripheral device 3 to the host computer 1 via the data buffer 6.

【0014】複数の周辺装置3からホストコンピュータ
1にデータを転送する場合について詳細に説明する。
A case in which data is transferred from a plurality of peripheral devices 3 to the host computer 1 will be explained in detail.

【0015】データ転送速度格納部7にはデバイスイン
タフェース5に接続される周辺装置3のデータ転送速度
が、あらかじめ格納されているものとする。各々の周辺
装置3からデバイスインタフェース5を経由して、周辺
制御処理装置2にデータ送信要求とデータ転送量が通知
される。通知されたデータ転送量はデータ転送量格納部
8に格納される。
It is assumed that the data transfer rate of the peripheral device 3 connected to the device interface 5 is stored in the data transfer rate storage section 7 in advance. Each peripheral device 3 notifies the peripheral control processing device 2 of a data transmission request and data transfer amount via the device interface 5. The notified data transfer amount is stored in the data transfer amount storage section 8.

【0016】次にデータ転送速度格納部7に格納されて
いる値とデータ転送量格納部8に格納されている値に基
づいて、演算回路部9が周辺装置3からホストコンピュ
ータ1へのデータ転送時間を演算する。演算回路部9の
演算結果を比較回路10によって大小比較し、データ転
送要求選択部11では比較回路10の結果のうち値の最
も小さい周辺装置3のデータ送信要求を選択してホスト
コンピュータ1にデータの転送要求を行った後、データ
バッファ6を介して周辺装置3からホストコンピュータ
1にデータが転送される。
Next, based on the value stored in the data transfer rate storage section 7 and the value stored in the data transfer amount storage section 8, the arithmetic circuit section 9 transfers data from the peripheral device 3 to the host computer 1. Calculate time. The comparison circuit 10 compares the calculation results of the calculation circuit section 9 in magnitude, and the data transfer request selection section 11 selects the data transmission request of the peripheral device 3 with the smallest value among the results of the comparison circuit 10 and sends the data to the host computer 1. After making a transfer request, the data is transferred from the peripheral device 3 to the host computer 1 via the data buffer 6.

【0017】[0017]

【発明の効果】以上説明したように本発明は、複数の周
辺装置からホストコンピュータへデータを転送する場合
に、データ転送量と周辺装置のデータ転送速度からデー
タ転送時間を演算し、データ転送時間によって複数の周
辺装置からのデータ送信要求を選択してホストコンピュ
ータへ送出するようにしたので、従来のように優先度の
低い周辺装置からのデータ転送が優先度の高い周辺装置
のデータ転送によって長時間待ち状態になるという問題
点をなくすことができる。
As explained above, the present invention calculates the data transfer time from the data transfer amount and the data transfer speed of the peripheral devices when transferring data from a plurality of peripheral devices to a host computer, and calculates the data transfer time. Since data transmission requests from multiple peripheral devices are selected and sent to the host computer, data transfers from peripheral devices with low priority are no longer delayed due to data transfers from peripheral devices with high priority. The problem of being in a waiting state can be eliminated.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

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

1    ホストコンピュータ 2    周辺制御処理装置 3    周辺装置 4    チャネルインタフェース 5    デバイスインタフェース 6    データバッファ 7    データ転送速度格納部 8    データ転送量格納部 9    演算回路部 10    比較回路 11    データ転送要求選択部 1 Host computer 2 Peripheral control processing device 3 Peripheral devices 4 Channel interface 5 Device interface 6 Data buffer 7 Data transfer rate storage section 8 Data transfer amount storage section 9 Arithmetic circuit section 10 Comparison circuit 11 Data transfer request selection section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  上位のホストコンピュータとチャネル
インタフェースで接続され、下位の周辺装置と接続され
るデバイスインタフェースを複数本有し、前記ホストコ
ンピュータと周辺装置間のデータ転送を制御する周辺制
御処理装置において、前記ホストコンピュータと複数の
周辺装置間で転送されるデータを一時的に蓄えるデータ
バッファと、前記周辺装置毎に設定されるデータ転送速
度を格納するデータ転送速度格納部と、周辺装置毎にホ
ストコンピュータへのデータ転送のデータ量を格納する
データ転送量格納部と、該データ転送量格納部に格納さ
れている値と前記データ転送速度格納部に格納されてい
る値に基づいて、周辺装置毎にデータ転送時間の演算を
行う演算回路部と、各演算回路の演算結果を大小比較す
る比較回路と、該比較回路の出力信号によって複数の周
辺装置のデータ送信要求から一つを選択してホストコン
ピュータに対してデータの転送要求を行うデータ転送要
求選択部とを有することを特徴とする周辺制御処理装置
1. A peripheral control processing device that is connected to an upper host computer through a channel interface, has a plurality of device interfaces that are connected to lower peripheral devices, and controls data transfer between the host computer and the peripheral devices. , a data buffer for temporarily storing data transferred between the host computer and a plurality of peripheral devices; a data transfer rate storage section for storing a data transfer rate set for each peripheral device; A data transfer amount storage unit that stores the amount of data transferred to the computer; and a data transfer rate storage unit for each peripheral device based on the value stored in the data transfer amount storage unit and the value stored in the data transfer rate storage unit an arithmetic circuit unit that calculates the data transfer time; a comparator circuit that compares the calculation results of each arithmetic circuit; and a comparator circuit that compares the computation results of each arithmetic circuit, and selects one of the data transmission requests from multiple peripheral devices based on the output signal of the comparator circuit and sends it to the host. A peripheral control processing device comprising: a data transfer request selection unit that requests a data transfer to a computer.
JP13148791A 1991-06-04 1991-06-04 Peripheral control processing device Pending JPH04355861A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13148791A JPH04355861A (en) 1991-06-04 1991-06-04 Peripheral control processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13148791A JPH04355861A (en) 1991-06-04 1991-06-04 Peripheral control processing device

Publications (1)

Publication Number Publication Date
JPH04355861A true JPH04355861A (en) 1992-12-09

Family

ID=15059142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13148791A Pending JPH04355861A (en) 1991-06-04 1991-06-04 Peripheral control processing device

Country Status (1)

Country Link
JP (1) JPH04355861A (en)

Similar Documents

Publication Publication Date Title
JP3127523B2 (en) Communication control device and data transmission method
JP3284311B2 (en) Communication bus control device and bus control method in data processing system
KR100577659B1 (en) Sender to receiver request retry method and apparatus
JPH04355861A (en) Peripheral control processing device
JP3261715B2 (en) I / O data transfer processor
JP2001101128A (en) Data processor
JP3082297B2 (en) Task control method
KR100451722B1 (en) apparatus for controlling direct memory access
JPH1049344A (en) Buffer busy control system
JPH08314851A (en) Data processing system
JPS6049458A (en) Data buffer control system
JPH01305461A (en) Right of using bus control system
JP2002091903A (en) Bus system
JPH09116569A (en) Switching hub
JP2806855B2 (en) I / O control system
JPS58182737A (en) Information processor
JPH02143361A (en) Processing sequence deciding circuit
JPS60183659A (en) Information transfer control system
JP2917369B2 (en) Line network controller
JPH05210613A (en) Peripheral equipment connecting system
JPH04256054A (en) Controller for priority order of data transfer system
JP3211738B2 (en) Data transfer device and data transfer method
JP2842639B2 (en) Data transfer method
JPH0218656A (en) Priority control system
JPS619742A (en) Phenomenon control system