JPH0736813A - Channel control device - Google Patents

Channel control device

Info

Publication number
JPH0736813A
JPH0736813A JP18236493A JP18236493A JPH0736813A JP H0736813 A JPH0736813 A JP H0736813A JP 18236493 A JP18236493 A JP 18236493A JP 18236493 A JP18236493 A JP 18236493A JP H0736813 A JPH0736813 A JP H0736813A
Authority
JP
Japan
Prior art keywords
channel
data
peripheral
transfer
priority
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.)
Withdrawn
Application number
JP18236493A
Other languages
Japanese (ja)
Inventor
Hiroshi Matsumoto
洋 松本
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 Computertechno Ltd
Original Assignee
NEC Computertechno 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 Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP18236493A priority Critical patent/JPH0736813A/en
Publication of JPH0736813A publication Critical patent/JPH0736813A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the generation probability of data overrun by considering and determining the sort of a peripheral device in addition to a transfer system and the number of counts remaining in a data buffer at the time of determining data transfer interruption priority for data from respective channels in a channel control device. CONSTITUTION:In the case of sending instruction codes for starting I/O data transfer from respective peripheral control devices 41 to 44 to respective channel devices 71 to 74, sorted information of peripheral devices for starting transfer is included in the instruction codes and the sorted information is stored in respective device sort storing means 101 to 104. In the case of preparing interruption requests by respective interruption request preparing means 91 to 94 and sending the requests to an inter-channel priority judging means 6, the information in the means 101 to 104 is also sent to the means 6, which determines the priority order of respective data transfer interruption requests while considering transfer methods, the numbers of counts remaining in the data buffer and sorted information for respective requests.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はチャネル制御装置に関
し、特に複数の周辺制御装置との間の入出力を制御する
チャネル制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a channel controller, and more particularly to a channel controller for controlling input / output with a plurality of peripheral controllers.

【0002】[0002]

【従来の技術】従来のこの種のチャネル制御装置は、チ
ャネルからのデータ転送割り込み要求の優先度を判定す
る際に、各チャネルの転送方式とデータバッファの残り
カウント数とを判断要素として利用し、転送能力の高い
転送方式の場合には割り込み要求の優先度を高く、転送
能力の低い転送方式の場合には割り込み要求の優先度を
低く、又、データバッファの残りカウント数が少ない場
合には割り込み要求の優先度を高く、残りカウント数に
余裕がある場合には割り込み要求の優先度を低く設定し
ている。
2. Description of the Related Art A conventional channel control device of this type utilizes the transfer method of each channel and the remaining count of the data buffer as a determination factor when determining the priority of a data transfer interrupt request from the channel. , In the case of a transfer method with a high transfer capacity, the priority of an interrupt request is high, in the case of a transfer method with a low transfer capacity, the priority of an interrupt request is low, and when the remaining count of the data buffer is small, The priority level of the interrupt request is set high, and the priority level of the interrupt request is set low when the remaining count has a margin.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の優先判
定方式では、低い優先度の転送方式ではあるが周辺装置
の転送能力が高い場合には、割り込み要求の優先度を低
く設定してしまいデータオーバランを起こす可能性があ
る。
In the above-mentioned conventional priority determination method, although the transfer method has a low priority, when the transfer capability of the peripheral device is high, the priority of the interrupt request is set low and the data is transferred. May cause overrun.

【0004】本発明の目的は、実際に使用する周辺装置
の種別を考慮して優先度を決定することにより、データ
オーバランの発生確率を更に改善したチャネル制御装置
を提供することである。
An object of the present invention is to provide a channel control device in which the probability of occurrence of data overrun is further improved by determining the priority in consideration of the type of peripheral device actually used.

【0005】[0005]

【課題を解決するための手段】本発明のチャネル制御装
置は、主記憶装置に接続された入出力処理装置と複数の
周辺制御装置との間に接続され前記主記憶装置と各周辺
装置との間のデータ入出力を制御するチャネル制御装置
において、前記周辺制御装置と対応する各チャネル装置
内に転送の実行対象となる周辺装置の種別を記憶するデ
バイス種別格納手段を有し、前記各チャネル装置からの
データ転送割り込み要求に対し当該チャネル装置におけ
る転送方式とデータバッファの残りカウント数とに加え
て前記デバイス種別格納手段に格納されている周辺装置
の種別を考慮して優先度を決定するチャネル間優先判定
手段を備えて構成されている。
A channel control device of the present invention is connected between an input / output processing device connected to a main memory device and a plurality of peripheral control devices to connect the main memory device and each peripheral device. In the channel control device for controlling data input / output between the channel control devices, each channel device corresponding to the peripheral control device has a device type storage unit for storing the type of the peripheral device to be transferred. Between channels for determining the priority in consideration of the type of peripheral device stored in the device type storage means in addition to the transfer method and the remaining count of the data buffer in the channel device in response to the data transfer interrupt request from It is configured to include priority determination means.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0007】図1は本発明の一実施例を含むシステム構
成を示すブロック図である。
FIG. 1 is a block diagram showing a system configuration including an embodiment of the present invention.

【0008】図1に示す本実施例のチャネル制御装置3
は、主記憶装置1のデータ入出力を処理する入出力処理
装置2と周辺制御装置41〜44との間に接続されてお
り、周辺制御装置41〜44との間で入出力インタフェ
ース111〜114を介してデータ転送を実行するチャ
ネル装置71〜74と、チャネル装置71〜74からの
データ転送割り込み要求の優先順位を決定するチャネル
間優先判定手段6と、チャネル装置71〜74の要求を
管理し入出力処理装置2とのデータの受け渡しを制御す
るチャネル要求処理装置5とを備えている。又、各チャ
ネル装置71〜74内には、それぞれ、周辺制御装置4
1〜44との転送データを格納するデータバッファ81
〜84と、割り込み要求を作成する割り込み要求作成手
段91〜94と、周辺制御装置41〜44配下の動作中
の周辺装置の種別を記憶するデバイス種別格納手段10
1〜104とを備えている。
The channel controller 3 of this embodiment shown in FIG.
Is connected between the input / output processing device 2 that processes data input / output of the main storage device 1 and the peripheral control devices 41 to 44, and the input / output interfaces 111 to 114 are connected to the peripheral control devices 41 to 44. The channel devices 71 to 74 for executing data transfer via the channel device, the inter-channel priority determining means 6 for determining the priority of the data transfer interrupt request from the channel devices 71 to 74, and the requests of the channel devices 71 to 74 are managed. A channel request processing device 5 for controlling data exchange with the input / output processing device 2 is provided. Further, in each of the channel devices 71 to 74, the peripheral control device 4 is provided.
Data buffer 81 for storing transfer data with 1 to 44
To 84, interrupt request creation means 91 to 94 for creating an interrupt request, and device type storage means 10 for storing the types of operating peripheral devices under the control of the peripheral control devices 41 to 44.
1 to 104 are provided.

【0009】次に、図1を参照して動作について説明す
る。例えば、主記憶装置1と周辺制御装置41配下の周
辺装置との間の入出力動作が起動された場合を想定する
と、まず入出力処理装置2から周辺制御装置41に対し
てチャネルプログラムが待ち状態にあることが通知され
る。この通知に対する応答として、周辺制御装置41か
らチャネル装置71にチャネルコマンド語の転送要求を
指示する指示コードが上がり、この要求を入出力処理装
置2が受け付けるとチャネルコマンド語送出処理のファ
ームウェア割り込みが発生し、ファームウェアの処理に
より主記憶装置1からチャネルコマンド語が読み出され
る。このチャネルコマンド語は入出力処理装置2によ
り、チャネル制御装置3及び入出力インタフェース11
1を介して周辺制御装置41に送られる。なお、周辺制
御装置41が指示コードをチャネル装置71に送る際に
は、指示コード内に転送を開始する周辺装置の種別をコ
ード化した情報(例えば、周辺装置の種別による転送能
力を2段階に分けた1ビットの情報)を含め、指示コー
ドと共にチャネル装置71に送る。
Next, the operation will be described with reference to FIG. For example, assuming that an input / output operation between the main storage device 1 and a peripheral device under the peripheral control device 41 is activated, first, the channel program waits for the peripheral control device 41 from the input / output processing device 2. Will be notified. As a response to this notification, an instruction code for instructing a channel command word transfer request from the peripheral control device 41 is sent to the channel device 71, and when the input / output processing device 2 accepts this request, a firmware interrupt for the channel command word sending process occurs. Then, the channel command word is read from the main memory 1 by the processing of the firmware. This channel command word is sent by the input / output processor 2 to the channel controller 3 and the input / output interface 11.
1 to the peripheral control device 41. When the peripheral control device 41 sends the instruction code to the channel device 71, information in which the type of the peripheral device that starts the transfer is coded in the instruction code (for example, the transfer capability depending on the type of the peripheral device is set to two levels). The information including the divided 1-bit information) is sent to the channel device 71 together with the instruction code.

【0010】チャネル装置71は、周辺制御装置41か
ら送られた指示コードを受け付けると、割り込み要求作
成手段91により割り込み要求を作成する。又、デバイ
ス種別格納手段101には、周辺制御装置41から送ら
れた指示コード内の周辺装置の種別コードを格納する。
指示コードの割り込みが入出力処理装置2に受け付けら
れると、入出力処理装置2はファームウェア割り込みを
発生し、ファームウェアの処理によりチャネル装置71
をデータ転送可能状態にする。
When the channel device 71 receives the instruction code sent from the peripheral control device 41, the interrupt request creating means 91 creates an interrupt request. Further, the device type storage means 101 stores the type code of the peripheral device in the instruction code sent from the peripheral control device 41.
When the interrupt of the instruction code is accepted by the input / output processing device 2, the input / output processing device 2 generates a firmware interrupt, and the channel device 71 is processed by the firmware.
To enable data transfer.

【0011】開始されるデータ転送のチャネルコマンド
語が入力の場合、周辺制御装置41からのデータは入出
力インタフェース111を介してデータバッファ81に
格納され、ある一定量のデータが貯まると割り込み要求
作成手段91により入力データ転送割り込み要求が作成
される。割り込み要求作成手段91により作成された割
り込み要求と共に、デバイス種別格納手段101内の種
別コード情報は、チャネル間優先判定手段6に送られ
る。複数のデータ転送割り込み要求が同時に存在した場
合、チャネル間優先判定手段6は、各チャネル装置71
〜74内のデータバッファ81〜84の残りカウント
数、入出力インタフェース111〜114の転送方式の
違いによる転送能力、及びデバイス種別格納手段101
〜104内に格納された現在割り込み要求を上げている
周辺装置の種別から判断し、緊急性の一番高い割り込み
要求一つを選択する。この選択は、あらかじめチャネル
間優先判定手段6内に設定されている基準に基づいて行
われる。選択された割り込み要求に対応するチャネル装
置内のデータバッファ中のデータは、チャネル要求処理
装置5の制御の下に入出力処理装置2に送られ、入力デ
ータは主記憶装置1に書き込まれる。
When the channel command word for the data transfer to be started is input, the data from the peripheral controller 41 is stored in the data buffer 81 via the input / output interface 111, and when a certain amount of data is accumulated, an interrupt request is created. The means 91 creates an input data transfer interrupt request. The type code information in the device type storage means 101 is sent to the inter-channel priority determination means 6 together with the interrupt request created by the interrupt request creation means 91. When there are a plurality of data transfer interrupt requests at the same time, the inter-channel priority determining means 6 determines that each channel device 71
To 74, the remaining counts of the data buffers 81 to 84, the transfer capability of the input / output interfaces 111 to 114 depending on the transfer method, and the device type storage unit 101.
Judgment is made from the type of the peripheral device which stores the interrupt request currently stored in ~ 104, and one interrupt request having the highest urgency is selected. This selection is performed based on the criteria set in the inter-channel priority determining means 6 in advance. The data in the data buffer in the channel device corresponding to the selected interrupt request is sent to the input / output processing device 2 under the control of the channel request processing device 5, and the input data is written in the main storage device 1.

【0012】チャネルコマンド語が出力の場合には、割
り込み要求作成手段91により出力データ転送割り込み
要求が作成され、入力データ転送と同様に、割り込み要
求作成手段91により作成された割り込み要求と共に、
デバイス種別格納手段101内の種別コード情報がチャ
ネル間優先判定手段6に送られ、チャネル間優先判定手
段6は、各チャネル装置71〜74内のデータバッファ
81〜84の残りカウント数、入出力インタフェース1
11〜114の転送方式の違いによるデータ転送能力、
及びデバイス種別格納手段101〜104内に格納され
た現在割り込み要求を上げている周辺装置の種別から判
断して緊急性の一番高い割り込み要求一つを選択する。
選ばれた割り込み要求はチャネル要求処理装置5に送ら
れ、チャネル要求処理装置5を介して入出力処理装置2
に送られる。入出力処理装置2に割り込み要求が送られ
ると、入出力処理装置2は主記憶装置1から出力データ
を送出し、出力データ転送割り込み要求を上げたチャネ
ル装置内のデータバッファに出力データを格納する。デ
ータバッファ内に格納された出力データは、入出力イン
タフェースを介して周辺制御装置に送られる。転送が行
われデータバッファ内のデータが一定値を割ると、入力
データ転送割り込み要求が出されることになる。
When the channel command word is output, the interrupt request creating means 91 creates an output data transfer interrupt request, and like the input data transfer, together with the interrupt request created by the interrupt request creating means 91,
The type code information in the device type storage means 101 is sent to the inter-channel priority determination means 6, and the inter-channel priority determination means 6 uses the remaining counts of the data buffers 81 to 84 in the respective channel devices 71 to 74, the input / output interface. 1
Data transfer capability due to the difference in the transfer method of 11 to 114,
Also, one of the interrupt requests having the highest urgency is selected by judging from the type of the peripheral device which is currently raising the interrupt request stored in the device type storage means 101 to 104.
The selected interrupt request is sent to the channel request processing device 5, and the input / output processing device 2 is sent via the channel request processing device 5.
Sent to. When an interrupt request is sent to the input / output processing device 2, the input / output processing device 2 sends the output data from the main memory 1 and stores the output data in the data buffer in the channel device that has issued the output data transfer interrupt request. . The output data stored in the data buffer is sent to the peripheral controller via the input / output interface. When the data is transferred and the data in the data buffer falls below a certain value, an input data transfer interrupt request is issued.

【0013】上述の実施例では、デバイス種別格納手段
には周辺制御装置から送られてくる周辺装置の種別コー
ド情報を格納するものとしたが、周辺装置名から判断し
て同様な情報をチャネル制御装置側で判別して格納する
ようにしてもよい。
In the above embodiment, the device type storage means stores the type code information of the peripheral device sent from the peripheral control device, but the same information is determined by the channel control by judging from the peripheral device name. It may be determined and stored on the device side.

【0014】[0014]

【発明の効果】以上説明したように、本発明のチャネル
制御装置は、チャネルからのデータ転送割り込み要求に
対して、転送方式,データバッファの残りカウント数に
加え周辺装置の種別を考慮して割り込み要求の優先度を
決定するため、割り込み必要性のより高い要求を割り込
ませることが可能になり、データオーバランの発生確率
を低減し効率的な割り込みが行えるという効果がある。
As described above, the channel control device of the present invention interrupts a data transfer interrupt request from a channel in consideration of the type of peripheral device in addition to the transfer method and the remaining count of the data buffer. Since the priority of the request is determined, it is possible to interrupt a request having a higher interrupt need, which has the effect of reducing the probability of data overrun and enabling efficient interrupts.

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

【図1】本発明の一実施例を含むシステム構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a system configuration including an embodiment of the present invention.

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

1 主記憶装置 2 入出力処理装置 3 チャネル制御装置 41,42,43,44 周辺制御装置 5 チャネル要求処理装置 6 チャネル間優先判定手段 71,72,73,74 チャネル装置 81,82,83,84 データバッファ 91,92,93,94 割り込み要求作成手段 101,102,103,104 デバイス種別格納
手段 111,112,113,114 入出力インタフェ
ース
1 main memory 2 input / output processor 3 channel controller 41, 42, 43, 44 peripheral controller 5 channel request processor 6 inter-channel priority determination means 71, 72, 73, 74 channel device 81, 82, 83, 84 Data buffer 91, 92, 93, 94 Interrupt request creating means 101, 102, 103, 104 Device type storage means 111, 112, 113, 114 Input / output interface

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 主記憶装置に接続された入出力処理装置
と複数の周辺制御装置との間に接続され前記主記憶装置
と各周辺装置との間のデータ入出力を制御するチャネル
制御装置において、前記周辺制御装置と対応する各チャ
ネル装置内に転送の実行対象となる周辺装置の種別を記
憶するデバイス種別格納手段を有し、前記各チャネル装
置からのデータ転送割り込み要求に対し当該チャネル装
置における転送方式とデータバッファの残りカウント数
とに加えて前記デバイス種別格納手段に格納されている
周辺装置の種別を考慮して優先度を決定するチャネル間
優先判定手段を備えたことを特徴とするチャネル制御装
置。
1. A channel controller which is connected between an input / output processing device connected to a main storage device and a plurality of peripheral control devices and which controls data input / output between the main storage device and each peripheral device. In each channel device corresponding to the peripheral control device, device type storage means for storing the type of peripheral device to be transferred is stored, and in the channel device in response to a data transfer interrupt request from each channel device. A channel provided with inter-channel priority determining means for determining the priority in consideration of the type of peripheral device stored in the device type storing means in addition to the transfer method and the remaining count of the data buffer. Control device.
JP18236493A 1993-07-23 1993-07-23 Channel control device Withdrawn JPH0736813A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18236493A JPH0736813A (en) 1993-07-23 1993-07-23 Channel control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18236493A JPH0736813A (en) 1993-07-23 1993-07-23 Channel control device

Publications (1)

Publication Number Publication Date
JPH0736813A true JPH0736813A (en) 1995-02-07

Family

ID=16117026

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18236493A Withdrawn JPH0736813A (en) 1993-07-23 1993-07-23 Channel control device

Country Status (1)

Country Link
JP (1) JPH0736813A (en)

Similar Documents

Publication Publication Date Title
EP0729104A2 (en) A data transfer control device for controlling data transfer between shared memories of clusters
JPH0736813A (en) Channel control device
JP2000187636A (en) Dam transfer system
JP2007299126A (en) Controller and program for controller
JPH01137359A (en) Processor control system
JPH05173923A (en) Input/output data transfer processing device
JPH05189349A (en) Channel priority discriminating circuit
JP3157794B2 (en) Peripheral control processor
JPS622349B2 (en)
JPS61165163A (en) Channel selecting system
JPH0535640A (en) Channel priority deciding circuit
JPS59144955A (en) Information processor
JPH02127732A (en) Job control system
JPS6385938A (en) Controller for multiplex parallel operation of program
JPH06250964A (en) Controller
JPS5958552A (en) Slowdown control system
JPH06337837A (en) Data processor
JPH0314155A (en) Instruction control system for local area network
JPS58142451A (en) Interruption control system
JPS62140145A (en) Virtual computer system
JPH0131223B2 (en)
JPH04195649A (en) Data processor
JPH05314049A (en) Channel device
JPH071494B2 (en) Channel command word chain device
JPS5958518A (en) Input and output control system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20001003