JPH05189341A - Residence monitoring system for data transmission request queue - Google Patents

Residence monitoring system for data transmission request queue

Info

Publication number
JPH05189341A
JPH05189341A JP4003665A JP366592A JPH05189341A JP H05189341 A JPH05189341 A JP H05189341A JP 4003665 A JP4003665 A JP 4003665A JP 366592 A JP366592 A JP 366592A JP H05189341 A JPH05189341 A JP H05189341A
Authority
JP
Japan
Prior art keywords
data transmission
transmission request
request queue
retention
line control
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
JP4003665A
Other languages
Japanese (ja)
Inventor
Tetsuya Kawahara
哲也 河原
Shuji Ono
修司 大野
Shoji Yamaguchi
彰二 山口
Yoshimi Fujimata
芳巳 藤又
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.)
Hitachi Ltd
Hitachi Information and Control Systems Inc
Original Assignee
Hitachi Ltd
Hitachi Process Computer Engineering Inc
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 Hitachi Ltd, Hitachi Process Computer Engineering Inc filed Critical Hitachi Ltd
Priority to JP4003665A priority Critical patent/JPH05189341A/en
Publication of JPH05189341A publication Critical patent/JPH05189341A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To attain the effective utilization of the memory of a main storage part by preventing data which can not be transferred for a communication buffer is full, from being placed on the main storage part. CONSTITUTION:A communication interface part 105 performs an access to data transmission request queue management tables 115-a, 115-b, and 115-c, so that the number of effective data transmission request queues can be calculated. Then, the communication interface part 105 monitors the residential state of the data transmission request queue from the calculated value and the information of a data transmission request queue residence monitoring table 108, and communicates the residential state to a CPU 101 according to the state of the queue residence. At the time of receiving the data transmission request queue residence information/residence recovery information from the communication interface part 105, the CPU 101 performs the transmission data registration suppressing/resuming processing to a main storage part 102 for the pertinent line.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CPU、主記憶部及び
通信インタフェース部を備えるホスト・コンピュータ
と、多回線制御装置及び複数の端末とからなるコンピュ
ータ・システムに係わり、特に、ホスト・コンピュータ
が多回線制御装置へ行うデータ送信要求の制御に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system including a host computer having a CPU, a main memory unit and a communication interface unit, and a multi-line controller and a plurality of terminals. The present invention relates to control of a data transmission request to a multi-line control device.

【0002】[0002]

【従来の技術】従来、ホスト・コンピュータ内のチャネ
ル装置がCPUの指示を受けて、ホスト・コンピュータ
内の主記憶装置から送信データを入出力装置内のバッフ
ァに転送する際、例えば、特開平1−291350号公
報に記載のように、チャネル装置は、主記憶装置内の送
信データを入出力装置へ転送する回数をカウントする。
また、チャネル装置は、入出力装置からの送信データに
対する処理終了の報告回数をカウントする。チャネル装
置は、入出力装置への送信データ転送回数と入出力装置
からの終了報告回数とを比較し、この比較結果と入出力
装置のバッファ数と比較する。前記比較により、チャネ
ル装置は入出力装置のデータバッファの空き具合いを検
出し、入出力装置のデータバッファが満杯になると、主
記憶上の送信データを入出力装置へ転送するのを中止し
ていた。
2. Description of the Related Art Conventionally, when a channel device in a host computer receives an instruction from a CPU and transfers transmission data from a main storage device in the host computer to a buffer in an input / output device, for example, Japanese Patent Application Laid-Open No. 1-58242 is used. As described in JP-A-291350, the channel device counts the number of times the transmission data in the main storage device is transferred to the input / output device.
Further, the channel device counts the number of times of reporting the end of processing for the transmission data from the input / output device. The channel device compares the transmission data transfer count to the input / output device with the end report count from the input / output device, and compares this comparison result with the buffer count of the input / output device. According to the comparison, the channel device detects the availability of the data buffer of the input / output device, and when the data buffer of the input / output device becomes full, the transfer of the transmission data in the main memory to the input / output device is stopped. ..

【0003】[0003]

【発明が解決しようとする課題】上記従来技術では、主
記憶装置に送信データを登録するCPUに対して、入出
力装置のデータバッファが満杯であることを報告する手
段が考慮されてないので、前記CPUは、データバッフ
ァが満杯の入出力装置に対する送信データでも主記憶装
置内に登録する。このため、データバッファ満杯の入出
力装置に対する転送データを主記憶装置内へ登録する処
理が集中して発生すると、チャネル装置は該当入出力装
置に送信データを転送しないので、転送待ち送信データ
が主記憶装置内に溜り、システムによっては必要以上に
メモリを必要とするという問題がある。また、転送待ち
送信データが主記憶装置内に溜らないようにする際、C
PUに、データバッファ満杯の入出力装置に対する転送
データの主記憶装置内への登録を待つよう通知すること
ができないという問題もある。
The above prior art does not consider means for reporting to the CPU that registers transmission data in the main storage device that the data buffer of the input / output device is full. The CPU also registers, in the main storage device, transmission data for an input / output device whose data buffer is full. Therefore, if the processing for registering the transfer data for the input / output device with the full data buffer in the main storage device occurs intensively, the channel device does not transfer the transmission data to the corresponding input / output device. There is a problem that it accumulates in the storage device and requires more memory than necessary depending on the system. Further, when the transmission data waiting to be transferred is prevented from accumulating in the main storage device, C
There is also a problem in that the PU cannot be notified to wait for the transfer data for the input / output device that is full of the data buffer to be registered in the main storage device.

【0004】本発明の目的は、データバッファが満杯あ
るいは満杯に近い入出力装置に対する送信データをCP
Uが主記憶装置に登録しないように、チャネル装置がC
PUに通知し、主記憶装置に転送待ち送信データが溜ら
ないようにすることである。
It is an object of the present invention to CP transmit data to an input / output device whose data buffer is full or nearly full.
To prevent U from registering in main memory, the channel device
This is to notify the PU so that transmission data waiting to be transferred is not accumulated in the main storage device.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、以下の手段を設ける。
To achieve the above object, the following means are provided.

【0006】CPUと主記憶部及び、複数の回線制御モ
ジュールを有する多回線制御装置と接続し、前記回線制
御モジュールに対してデータ送信の要求を行う通信イン
タフェース部を備えたホスト・コンピュータにおいて、
前記回線制御モジュールに、次のものを設ける。
In a host computer provided with a communication interface unit which is connected to a multi-line control device having a CPU, a main storage unit and a plurality of line control modules, and which requests the line control module for data transmission,
The line control module is provided with the following.

【0007】(1) 通信インタフェース部から受取ったデ
ータ送信要求キューを格納するテーブルを設ける。
(1) A table for storing a data transmission request queue received from the communication interface unit is provided.

【0008】(2) 前記データ送信要求キューの個数を格
納する手段を設ける。
(2) A means for storing the number of the data transmission request queues is provided.

【0009】(3) 通信インタフェース部から受取ったデ
ータ送信要求に対する処理が完了したキューの個数をカ
ウントする手段、及び前記カウントした値を格納する手
段を設ける。
(3) A means for counting the number of queues for which the processing for the data transmission request received from the communication interface unit is completed, and a means for storing the counted value are provided.

【0010】また、通信インタフェース部に、次のもの
を設ける。
Further, the communication interface unit is provided with the following.

【0011】(a) 上記(1)のテーブルにデータ送信要求
キューを登録した際、回線制御モジュールへのデータ送
信要求キュー登録数をカウントする手段を設ける。
(A) A means is provided for counting the number of data transmission request queue registrations in the line control module when the data transmission request queue is registered in the table of (1) above.

【0012】(b) 回線制御モジュール内に格納されてい
る有効データ送信要求キューの個数を検出する手段を設
ける。
(B) A means for detecting the number of valid data transmission request queues stored in the line control module is provided.

【0013】(c) 回線制御モジュール内にデータ送信要
求キューが溜っていることを判別するための比較定数を
設ける。
(C) A comparison constant is provided for determining that the data transmission request queue is stored in the line control module.

【0014】(d) 前記有効データ送信要求キューの個数
と比較定数とから、回線制御モジュール内にデータ送信
要求キューが溜っていることを検出する手段を設ける。
(D) Means for detecting that the data transmission request queue is accumulated in the line control module is provided from the number of the valid data transmission request queues and the comparison constant.

【0015】(e) 回線制御モジュール内に滞留していた
データ送信要求キューが掃けたことを判別するための比
較定数を設ける。
(E) A comparison constant is provided to determine that the data transmission request queue retained in the line control module has been swept.

【0016】(f) 前記有効データ送信要求キューの個数
と比較定数とから、回線制御モジュール内に滞留してい
たデータ送信要求キューが掃けたことを検出する手段を
設ける。
(F) Means is provided for detecting that the data transmission request queue retained in the line control module has been swept based on the number of valid data transmission request queues and the comparison constant.

【0017】(g) 回線制御モジュール内のデータ送信要
求キューの滞留状況を格納する手段を設ける。
(G) A means for storing the staying status of the data transmission request queue in the line control module is provided.

【0018】(h) 前記格納していた滞留状況が未滞留状
態で、回線制御モジュール内のデータ送信要求キュー滞
留を検出した際、その旨をCPUへ通知する手段を設け
る。
(H) When the stored retention status is the non-retention status, when a retention of the data transmission request queue in the line control module is detected, a means for notifying the CPU is provided.

【0019】(i) 前記格納していた滞留状況が滞留状態
で、回線制御モジュール内のデータ送信要求キュー滞留
回復を検出した際、その旨をCPUへ通知する手段を設
ける。
(I) When the stored retention status is the retention status and a retention recovery of the data transmission request queue in the line control module is detected, a means for notifying the CPU is provided.

【0020】さらに、CPUに、通信インタフェース部
からデータ送信要求キュー滞留報告を受取った際、該当
回線制御モジュールに対する送信データの主記憶部への
登録を抑止する手段を設ける。そして、CPUに、通信
インタフェース部からデータ送信要求キュー滞留回復報
告を受取った際、該当回線制御モジュールに対する送信
データの主記憶部への登録抑止を解除する手段を設け
る。
Further, the CPU is provided with means for suppressing registration of transmission data for the corresponding line control module in the main memory when the data transmission request queue retention report is received from the communication interface. Then, the CPU is provided with means for canceling the registration inhibition of the transmission data for the relevant line control module in the main storage unit when receiving the data transmission request queue retention recovery report from the communication interface unit.

【0021】[0021]

【作用】CPUと主記憶部及び、複数の回線制御モジュ
ールを有する多回線制御装置と接続し、前記回線制御モ
ジュールに対してデータ送信の要求を行う通信インタフ
ェース部を備えたホスト・コンピュータにおいて、前記
通信インタフェース部は、回線制御モジュール内のデー
タ送信要求キューを格納するテーブルに空きがある場
合、前記テーブルにデータ送信要求キューを登録し、デ
ータ送信要求キュー登録数を加算する。回線制御モジュ
ールは、前記テーブルにデータ送信要求キューがある場
合、該要求に対応する送信データを主記憶部から転送
し、該当回線にデータを送信する。そして、該要求に対
する処理が完了すると、処理完了キュー数を加算する。
In a host computer having a communication interface unit that is connected to a CPU, a main storage unit, and a multi-line control device having a plurality of line control modules, and makes a request for data transmission to the line control module, If the table for storing the data transmission request queue in the line control module has a free space, the communication interface unit registers the data transmission request queue in the table and adds the data transmission request queue registration number. When the table has a data transmission request queue, the line control module transfers the transmission data corresponding to the request from the main storage unit and transmits the data to the corresponding line. Then, when the processing for the request is completed, the number of processing completion queues is added.

【0022】通信インタフェース部は、データ送信要求
キュー登録数及び処理完了キュー数を格納テーブルから
周期的に読み出し、回線制御モジュール内に格納されて
いる有効データ送信要求キューの個数を算出する。
The communication interface section periodically reads the number of data transmission request queue registrations and the number of processing completion queues from the storage table, and calculates the number of valid data transmission request queues stored in the line control module.

【0023】データ送信要求キュー滞留回復報告済みの
状態で、かつ、前記算出した有効データ送信要求キュー
の個数が回線制御モジュール内にデータ送信要求キュー
が溜っていることを判別するための比較定数より大きい
場合、通信インタフェース部は、CPUへデータ送信要
求キュー滞留の報告をする。そして、データ送信要求キ
ュー滞留の報告を受けたCPUは、該当回線制御モジュ
ールに対する送信データの主記憶部への登録を抑止す
る。また、データ送信要求キュー滞留報告済みの状態
で、かつ、前記算出した有効データ送信要求キューの個
数が回線制御モジュール内に滞留していたデータ送信要
求キューが掃けたことを判別するための比較定数より小
さい場合、通信インタフェース部は、CPUへデータ送
信要求キュー滞留回復の報告をする。そして、データ送
信要求キュー滞留回復の報告を受けたCPUは、該当回
線制御モジュールに対する送信データの主記憶部への登
録を再開する。
In the state where the data transmission request queue retention recovery has been reported, and the calculated number of valid data transmission request queues is from the comparison constant for determining that the data transmission request queues are accumulated in the line control module. If it is larger, the communication interface unit reports the retention of the data transmission request queue to the CPU. Then, the CPU, which has received the report indicating that the data transmission request queue stays, inhibits the transmission data for the relevant line control module from being registered in the main storage unit. In addition, a comparison constant for determining that the data transmission request queue that has been accumulated in the line control module when the data transmission request queue retention report has already been made and the calculated number of valid data transmission request queues has been swept If it is smaller, the communication interface unit reports the data transmission request queue retention recovery to the CPU. Then, the CPU that has received the report indicating that the retention of the data transmission request queue is restored restarts the registration of the transmission data for the relevant line control module in the main storage unit.

【0024】このようにして、データ送信要求キューが
満杯あるいは満杯に近い回線制御モジュールに対する送
信データをCPUが主記憶部に登録しないように、通信
インタフェース部がCPUに通知し、主記憶部に転送待
ち送信データが溜らないようにすることができる。
In this way, the communication interface section notifies the CPU so that the CPU does not register the transmission data for the line control module, which is full or nearly full, in the data transmission request queue and transfers it to the main storage section. It is possible to prevent the waiting transmission data from accumulating.

【0025】[0025]

【実施例】以下、本発明の実施例を図を用いて説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0026】図1は、本発明の第一の実施例に係わるコ
ンピュータ・システムの構成を示したものである。前記
コンピュータ・システムは、大別して、利用者にサービ
スを提供するホスト・コンピュータ100、利用者の端末1
17-a,117-b,117-c,117-d、前記各端末117-a,117-b,117-
c,117-dが接続される公衆通信網(あるいは専用通信
網)116、及び前記ホスト・コンピュータ100と各端末11
7-a,117-b,117-c,117-dとの間の通信制御を行う多回線
通信制御装置110の構成要素から成る。また、ホスト・
コンピュータ100は、次の構成要素から成る。CPU101
は、各端末117-a,117-b,117-c,117-dへの通信処理等を
行う。主記憶部102は、送信データを格納するための通
信バッファ103を有し、前記CPU101とコンピュータ・
バス104で接続される。通信インタフェース部105は、内
部にMPU106及び通信バッファ107を備え、前記コンピ
ュータ・バス104に接続される。ここで、前記MPU106
は、CPU101からのデータ通信指示コマンドに対する
処理、主記憶部102の通信バッファ103から通信インタフ
ェース105の通信バッファ107へのデータ転送等の処理を
行う。さらに、通信インタフェース部105は、データ送
信要求キュー滞留監視用テーブル108を有する。前記デ
ータ送信要求キュー滞留監視用テーブル108は、回線制
御モジュール内にデータ送信要求キューが滞留してない
か監視するためのものである。そして、多回線通信制御
装置109は次の構成要素から成る。コンピュータ・イン
タフェース・モジュール110は、通信インタフェース部1
05に接続される。回線制御モジュール112-a,112-b,112-
cは、各々内部にMPU113-aと通信バッファ114-a及び
データ送信要求キュー管理テーブル115-a、MPU113-b
と通信バッファ114-b及びデータ送信要求キュー管理テ
ーブル115-b、MPU113-cと通信バッファ114-c及びデ
ータ送信要求キュー管理テーブル115-cを備え、内部バ
ス111で前記コンピュータ・インタフェース・モジュー
ル110と接続される。ここで、前記各MPU113-a,113-
b,113-cは、通信インタフェース部105からのデータ送信
要求キューに対する処理、通信インタフェース部105内
の通信バッファ107からのデータ転送及び端末へのデー
タ送信等の処理を行う。そして、各回線制御モジュール
112-a,112-b,112-cは、公衆通信網(あるいは専用通信
網)116に接続された各端末117-a,117-b,117-c,117-dと
の回線制御を行う。
FIG. 1 shows the configuration of a computer system according to the first embodiment of the present invention. The computer system is roughly classified into a host computer 100 that provides services to users and a user terminal 1
17-a, 117-b, 117-c, 117-d, each of the terminals 117-a, 117-b, 117-
Public communication network (or dedicated communication network) 116 to which c, 117-d are connected, and the host computer 100 and each terminal 11
7-a, 117-b, 117-c, 117-d. The multi-line communication control device 110 controls communication with the multi-line communication control device 110. Also, the host
The computer 100 includes the following components. CPU101
Performs communication processing to each terminal 117-a, 117-b, 117-c, 117-d. The main storage unit 102 has a communication buffer 103 for storing transmission data, and the CPU 101 and computer
Connected by bus 104. The communication interface unit 105 includes an MPU 106 and a communication buffer 107 inside and is connected to the computer bus 104. Here, the MPU 106
Performs processing for a data communication instruction command from the CPU 101, data transfer from the communication buffer 103 of the main storage unit 102 to the communication buffer 107 of the communication interface 105, and the like. Further, the communication interface unit 105 has a data transmission request queue retention monitoring table 108. The data transmission request queue retention monitoring table 108 is for monitoring whether the data transmission request queue is retained in the line control module. The multi-line communication control device 109 is composed of the following components. The computer interface module 110 includes a communication interface unit 1
Connected to 05. Line control module 112-a, 112-b, 112-
c is an MPU 113-a, a communication buffer 114-a, a data transmission request queue management table 115-a, and an MPU 113-b.
And a communication buffer 114-b and a data transmission request queue management table 115-b, an MPU 113-c, a communication buffer 114-c and a data transmission request queue management table 115-c, and the computer interface module 110 via an internal bus 111. Connected with. Here, the MPUs 113-a and 113-
b and 113-c perform processing for the data transmission request queue from the communication interface unit 105, data transfer from the communication buffer 107 in the communication interface unit 105, data transmission to the terminal, and the like. And each line control module
112-a, 112-b, 112-c perform line control with each terminal 117-a, 117-b, 117-c, 117-d connected to the public communication network (or dedicated communication network) 116. ..

【0027】図2は、前記コンピュータ・システムにお
いて、回線制御モジュール内にデータ送信要求キューが
滞留した際、通信インタフェース部105が主記憶部102へ
の送信データ登録抑止あるいは登録再開を、CPU101
に要求するための概略手順を示したものである。ホスト
・コンピュータ100内の通信インタフェース部105は、各
回線制御モジュール112-a,112-b,112-c内のデータ送信
要求キュー管理テーブル115-a,115-b,115-cを周期的に
アクセスし、前記データ送信要求キュー管理テーブル11
5-a,115-b,115-c毎の有効データ送信要求キュー数を算
出する。そして、前記通信インタフェース部105は、前
記算出した値をデータ送信要求キュー滞留監視用テーブ
ル108の情報と比較して、その結果、ある回線のデータ
送信要求キュー管理テーブル内にデータ送信要求キュー
が滞留していると判別すると、CPU101へその旨を通
知する。また、前記比較した結果、ある回線のデータ送
信要求キュー管理テーブル内に滞留していたデータ送信
要求キューが掃けて滞留回復したと判別すると、CPU
101へその旨を通知する。
FIG. 2 shows that when the data transmission request queue stays in the line control module in the computer system, the communication interface unit 105 controls the transmission data registration in the main storage unit 102 or resumes the registration by the CPU 101.
It shows the general procedure for making a request. The communication interface unit 105 in the host computer 100 periodically sends the data transmission request queue management tables 115-a, 115-b, 115-c in the line control modules 112-a, 112-b, 112-c. Access and access the data transmission request queue management table 11
Calculate the number of valid data transmission request queues for each 5-a, 115-b, 115-c. Then, the communication interface unit 105 compares the calculated value with the information of the data transmission request queue retention monitoring table 108, and as a result, the data transmission request queue is retained in the data transmission request queue management table of a certain line. If it is determined that it is, the CPU 101 is notified of that fact. Further, as a result of the comparison, if it is determined that the data transmission request queue that has been retained in the data transmission request queue management table of a certain line has been swept and retained, the CPU
Notify 101 to that effect.

【0028】CPU101では、通信インタフェース部105
からのデータ送信要求キュー滞留報告/滞留回復報告を
受け取ると、前記報告内容に応じて、該当回線に対する
主記憶部102への送信データ登録抑止/再開の処理を行
う。
In the CPU 101, the communication interface section 105
When the data transmission request queue retention report / retention recovery report is received from, the transmission data registration inhibition / restart processing for the corresponding line to the main storage unit 102 is performed according to the report content.

【0029】図3は、通信インタフェース部105におい
て、データ送信要求キュー管理テーブル内のデータ送信
要求キューの滞留状況を判別する際に参照するデータ送
信要求キュー滞留監視用テーブル108の構成を示したも
のである。前記データ送信要求キュー滞留監視用テーブ
ル108は、次の構成要素を持つ。データ送信要求キュー
滞留判別定数300は、データ送信要求キュー管理テーブ
ル内にデータ送信要求キューが溜っていることを判別す
るための比較定数である。データ送信要求キュー管理テ
ーブル内の有効データ送信要求キューの個数が前記デー
タ送信要求キュー滞留判別定数300より大きい場合、デ
ータ送信要求キューは滞留している。データ送信要求キ
ュー滞留回復判別定数301は、データ送信要求キュー管
理テーブル内に滞留していたデータ送信要求キューが掃
けたことを判別するための比較定数である。データ送信
要求キュー管理テーブル内の有効データ送信要求キュー
の個数が前記データ送信要求キュー滞留回復判別定数30
1より小さい場合、データ送信要求キューは滞留してい
ない。また、データ送信要求キュー滞留報告/滞留回復
報告済み登録エリア302は、通信インタフェース部105が
データ送信要求キューの滞留状況を判別する際に、前回
までの判別処理で、CPU101にデータ送信要求キュー
滞留報告/滞留回復報告の何れを行っているかを登録す
るエリアである。前記データ送信要求キュー滞留報告/
滞留回復報告済み登録エリア302は、各回線制御モジュ
ール毎に接続されている回線数分存在する。
FIG. 3 shows the structure of the data transmission request queue retention monitoring table 108 that is referred to in the communication interface unit 105 when determining the retention status of the data transmission request queue in the data transmission request queue management table. Is. The data transmission request queue retention monitoring table 108 has the following components. The data transmission request queue retention determination constant 300 is a comparison constant for determining that the data transmission request queue is stored in the data transmission request queue management table. When the number of valid data transmission request queues in the data transmission request queue management table is larger than the data transmission request queue retention determination constant 300, the data transmission request queue is retained. The data transmission request queue retention recovery determination constant 301 is a comparison constant for determining that the data transmission request queue retained in the data transmission request queue management table has been swept. The number of valid data transmission request queues in the data transmission request queue management table is the data transmission request queue retention recovery determination constant 30
If it is less than 1, the data transmission request queue has not accumulated. Further, the data transmission request queue retention report / retention recovery report completion registration area 302 is stored in the data transmission request queue by the CPU 101 in the determination processing up to the previous time when the communication interface unit 105 determines the retention status of the data transmission request queue. This is an area for registering whether a report / retention recovery report is being made. Report on retention of data transmission request queue /
There are as many retention recovery reported registration areas 302 as there are lines connected to each line control module.

【0030】通信インタフェース部105は、前記データ
送信要求キュー滞留報告/滞留回復報告済み登録エリア
302の内容がキュー滞留報告済みで、データ送信要求キ
ュー滞留を判別した場合は、CPU101にデータ送信要
求キュー滞留の報告をしない。また、前記データ送信要
求キュー滞留報告/滞留回復報告済み登録エリア302の
内容がキュー滞留回復報告済みで、データ送信要求キュ
ー滞留回復を判別した場合、CPU101にデータ送信要
求キュー滞留回復の報告をしない。
The communication interface unit 105 stores the data transmission request queue retention report / retention recovery report completion registration area.
When the content of 302 has already been reported as a queue retention report and it is determined that the data transmission request queue retention is present, the data transmission request queue retention is not reported to the CPU 101. If the contents of the data transmission request queue retention report / retention recovery report completion registration area 302 has already been reported as queue retention recovery and it is determined that the data transmission request queue retention is recovered, the CPU 101 does not report the data transmission request queue retention recovery. ..

【0031】図4は、通信インタフェース部105が各回
線制御モジュール112-a,112-b,112-cへ登録するデータ
送信要求キューに関する情報を格納するための、データ
送信要求キュー管理テーブル115-a,115-b,115-cのフォ
ーマットを示したものである。前記データ送信要求キュ
ー管理テーブル115-a,115-b,115-cは、次の構成要素を
持つ。データ送信要求キュー登録数400は、通信インタ
フェース部105がデータ送信要求キュー管理テーブルへ
登録したデータ送信要求キューの個数を表す。前記デー
タ送信要求キュー登録数400は、通信インタフェース部1
05がデータ送信要求キューを回線制御モジュールへ登録
する際加算される。処理完了キュー数401は、回線制御
モジュールが、通信インタフェース部105から受け取っ
たデータ送信要求キューに対する処理を完了した個数を
表す。前記処理完了キュー数401は、キューに対する処
理完了時に回線制御モジュールによって加算される。ま
た、データ送信要求キュー登録エリア402は、通信イン
タフェース部105が回線制御モジュールへ登録するデー
タ送信要求キューを格納するエリアである。
FIG. 4 shows a data transmission request queue management table 115- for storing information on the data transmission request queue registered in the line control modules 112-a, 112-b, 112-c by the communication interface unit 105. It shows the format of a, 115-b, 115-c. The data transmission request queue management tables 115-a, 115-b, 115-c have the following components. The data transmission request queue registration number 400 represents the number of data transmission request queues registered in the data transmission request queue management table by the communication interface unit 105. The data transmission request queue registration number 400 is the communication interface unit 1
05 is added when registering the data transmission request queue in the line control module. The number of processing completion queues 401 represents the number of completed processings of the data transmission request queue received from the communication interface unit 105 by the line control module. The processing completion queue number 401 is added by the line control module when the processing for the queue is completed. The data transmission request queue registration area 402 is an area for storing a data transmission request queue registered by the communication interface unit 105 in the line control module.

【0032】各データ送信要求キュー管理テーブル115-
a,115-b,115-cは、各回線制御モジュール112-a,112-b,1
12-cに接続される回線数分存在する。
Each data transmission request queue management table 115-
a, 115-b, 115-c are the line control modules 112-a, 112-b, 1
There are as many lines as connected to 12-c.

【0033】以下、図5及び図6を用いて、本発明の実
施例におけるデータ送信要求キュー滞留状況の監視、及
び主記憶部への送信データ登録抑止/再開をCPUに要
求する処理手順の流れを説明する。
Hereinafter, with reference to FIGS. 5 and 6, the flow of the processing procedure for monitoring the retention status of the data transmission request queue and requesting the CPU to suppress / restart the transmission data registration in the main memory in the embodiment of the present invention. Will be explained.

【0034】図5は、通信インタフェース部105におい
て、データ送信要求キュー管理テーブル内のデータ送信
要求キューの滞留状況を判別し、状況に応じてCPU10
1へキュー滞留報告/滞留回復報告を行うまでの処理フ
ローを示したものである。
In FIG. 5, in the communication interface unit 105, the retention status of the data transmission request queue in the data transmission request queue management table is discriminated, and the CPU 10 is determined according to the status.
Figure 1 shows the processing flow up to the queue retention report / retention recovery report.

【0035】ホスト・コンピュータ100内の通信インタ
フェース部105は、周期的に各回線制御モジュール112-
a,112-b,112-c内のデータ送信要求キュー管理テーブル1
15-a,115-b,115-cから、データ送信要求キュー登録数40
0及び処理完了キュー数401を読出し(500,501)、これら
の値から該当回線の有効データ送信要求キュー数を算出
する(502)。つぎに、データ送信要求キュー滞留監視用
テーブル108のデータ送信要求キュー滞留判別定数300を
読出し(503)、前記算出した有効キュー数と前記データ
送信要求キュー滞留判別定数300とを比較する(504)。前
記比較の結果、有効キュー数の方が大きい場合、通信イ
ンタフェース部105は、該当データ送信要求キュー滞留
報告/滞留回復報告済み登録エリア302の内容を読出し
(505)、前記読出した内容がキュー滞留報告済みか否か
判別する(506)。前記判別の結果、内容がキュー滞留報
告済みでない場合、通信インタフェース部105は、CP
U101へ該当回線へのデータ送信要求キューの滞留報告
を行い(507)、前記読出した内容がキュー滞留報告済み
の場合は、該処理を終了する。
The communication interface unit 105 in the host computer 100 periodically sends each line control module 112-
Data transmission request queue management table 1 in a, 112-b, 112-c
From 15-a, 115-b, 115-c, 40 data transmission request queue registrations
0 and the processing completion queue number 401 are read (500, 501), and the valid data transmission request queue number of the corresponding line is calculated from these values (502). Next, the data transmission request queue retention determination constant 300 of the data transmission request queue retention monitoring table 108 is read (503), and the calculated number of valid queues is compared with the data transmission request queue retention determination constant 300 (504). .. As a result of the comparison, when the number of effective queues is larger, the communication interface unit 105 reads the contents of the corresponding data transmission request queue retention report / retention recovery report completed registration area 302.
(505), it is determined whether or not the read content has been reported as a queue retention report (506). As a result of the determination, if the content has not been reported to be in the queue, the communication interface unit 105 determines that the CP
The retention report of the data transmission request queue to the corresponding line is reported to U101 (507), and if the read content is the queue retention report, the process is terminated.

【0036】前記比較の結果、有効キュー数の方が小さ
い場合、通信インタフェース部105は、データ送信要求
キュー滞留回復判別定数301を読出し(508)、前記算出し
た有効キュー数と前記データ送信要求キュー滞留回復判
別定数301とを比較する(509)。前記データ送信要求キュ
ー滞留回復判別定数301との比較の結果、有効キュー数
の方が小さい場合、通信インタフェース部105は、該当
データ送信要求キュー滞留報告/滞留回復報告済み登録
エリア302の内容を読出し(510)、前記読出した内容がキ
ュー滞留回復報告済みか否か判別する(511)。前記判別
の結果、内容がキュー滞留回復報告済みでない場合、通
信インタフェース部105は、CPU101へ該当回線のデー
タ送信要求キュー滞留回復報告を行い(512)、前記読出
した内容がキュー滞留回復報告済みの場合は、該処理を
終了する。
As a result of the comparison, if the number of valid queues is smaller, the communication interface unit 105 reads the data transmission request queue retention recovery determination constant 301 (508), and the calculated number of valid queues and the data transmission request queue. The retention recovery discrimination constant 301 is compared (509). As a result of comparison with the data transmission request queue retention recovery determination constant 301, if the number of effective queues is smaller, the communication interface unit 105 reads the contents of the corresponding data transmission request queue retention report / retention recovery report completed registration area 302. (510), it is determined whether or not the read content has been reported as a queue retention recovery report (511). As a result of the determination, if the content is not already reported as the queue retention recovery, the communication interface unit 105 reports the data transmission request queue retention recovery of the corresponding line to the CPU 101 (512), and the read content is the queue retention recovery reported. If so, the process ends.

【0037】このように、通信インタフェース部105
は、各回線制御モジュール112-a,112-b,112-cのデータ
送信要求キュー管理テーブル115-a,115-b,115-c内のデ
ータ送信要求キューの滞留状況を判別し、滞留状況に応
じて、その旨をCPU101へ通知する。
In this way, the communication interface unit 105
Determines the stay status of the data send request queue in the data send request queue management table 115-a, 115-b, 115-c of each line control module 112-a, 112-b, 112-c. CPU 101 is notified accordingly.

【0038】図6は、CPU101において、通信インタ
フェース部105からデータ送信要求キューの滞留報告/
滞留回復報告を受け取った際の処理フローチャートを示
したものである。
In FIG. 6, in the CPU 101, the retention report of the data transmission request queue from the communication interface unit 105 /
It is a processing flow chart when a retention recovery report is received.

【0039】ホスト・コンピュータ100内のCPU101
は、通信インタフェース部105からデータ送信要求キュ
ーの滞留報告/滞留回復報告を受取ると、前記報告内容
を解析し(600)、報告内容を判別する(601)。前記判別の
結果、報告内容がキュー滞留報告の場合、CPU101
は、該当回線に対する送信データの主記憶部102への登
録を抑止する(602)。また、前記判別の結果、報告内容
がキュー滞留回復報告の場合、CPU101は、該当回線
に対する送信データの主記憶部102への登録を再開する
(603)。
CPU 101 in host computer 100
Upon receiving the retention report / retention recovery report of the data transmission request queue from the communication interface unit 105, the user analyzes the report content (600) and determines the report content (601). As a result of the determination, if the report content is the queue retention report, the CPU 101
Suppresses registration of transmission data for the corresponding line in the main storage unit 102 (602). Further, as a result of the determination, when the report content is the queue retention recovery report, the CPU 101 restarts the registration of the transmission data for the corresponding line in the main storage unit 102.
(603).

【0040】このように、CPU101では、通信インタ
フェース部105からのデータ送信要求キューの滞留報告
/滞留回復報告の内容に応じて、該当回線に対する送信
データの主記憶部102への登録の抑止/再開を行う。
As described above, the CPU 101 suppresses / resumes the registration of the transmission data for the corresponding line in the main storage unit 102 according to the contents of the retention report / retention recovery report of the data transmission request queue from the communication interface unit 105. I do.

【0041】本実施例によれば、ホスト・コンピュータ
内の通信インタフェース部が、各回線制御モジュールの
各データ送信要求キュー管理テーブル内のデータ送信要
求キューの滞留状況を監視し、滞留状況に応じてその旨
をCPUへ報告するので、CPUにおいて、データ送信
要求キューが滞留している回線に対して、主記憶部への
送信データの登録を待たせることができる。これによ
り、主記憶部上の転送待ちデータを少なくすることがで
きる。
According to this embodiment, the communication interface unit in the host computer monitors the staying status of the data sending request queue in each data sending request queue management table of each line control module, and depending on the staying status. Since the fact is reported to the CPU, it is possible for the CPU to make the line in which the data transmission request queue stays wait for the transmission data to be registered in the main storage unit. As a result, the amount of data waiting to be transferred on the main storage unit can be reduced.

【0042】さらに、通信インタフェース部からCPU
へのデータ送信要求キュー滞留報告/滞留回復報告は、
滞留状況が変化したときのみ行うので、キュー滞留状態
あるいはキュー滞留回復状態が連続する場合でも、通信
インタフェース部及びCPUの処理負荷増加を防止でき
る。
Further, from the communication interface unit to the CPU
Data transmission request queue retention report / retention recovery report to
Since it is performed only when the staying status changes, even when the queue staying state or the queue staying recovery state continues, it is possible to prevent the processing load of the communication interface unit and the CPU from increasing.

【0043】[0043]

【発明の効果】本発明によれば、多回線通信制御装置内
の回線制御モジュールの通信バッファが満杯の回線に対
する送信データを主記憶部へ登録しないので、主記憶部
のメモリを有効活用できる。また、回線制御モジュール
の通信バッファの掃け具合が悪い回線に対するデータ送
信要求が集中しても、主記憶部上に送信データを置かな
いので、前記通信バッファの掃け具合がよくなったとき
に、通信インタフェース部の処理負荷が大きくならない
ようにすることができる。
According to the present invention, since the transmission data for the line in which the communication buffer of the line control module in the multi-line communication control device is full is not registered in the main storage unit, the memory of the main storage unit can be effectively used. In addition, even if data transmission requests for a line in which the communication buffer of the line control module has a poor sweep condition are concentrated, transmission data is not placed in the main storage unit. It is possible to prevent the processing load of the interface unit from increasing.

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

【図1】本発明の一実施例に係わるコンピュータ・シス
テムの構成図である。
FIG. 1 is a configuration diagram of a computer system according to an embodiment of the present invention.

【図2】通信インタフェース部が主記憶部への送信デー
タ登録抑止あるいは登録再開を、CPUに要求するため
の概略手順を示した図である。
FIG. 2 is a diagram showing a schematic procedure for a communication interface unit to request the CPU to suppress or restart registration of transmission data in a main storage unit.

【図3】データ送信要求キュー管理テーブル内のデータ
送信要求キューの滞留状況を判別する際に参照するテー
ブルの構成図である。
FIG. 3 is a configuration diagram of a table in the data transmission request queue management table, which is referred to when determining the stay status of the data transmission request queue.

【図4】各回線制御モジュールへ登録するデータ送信要
求キューに関する情報を格納するテーブルの構成図であ
る。
FIG. 4 is a configuration diagram of a table that stores information related to a data transmission request queue registered in each line control module.

【図5】データ送信要求キュー管理テーブル内のデータ
送信要求キューの滞留状況を判別し、状況に応じてCP
Uへキュー滞留報告/滞留回復報告を行うまでの処理フ
ロー図である。
FIG. 5 determines the staying status of the data transmission request queue in the data transmission request queue management table, and determines the CP according to the status.
FIG. 7 is a process flow chart up to the queue retention report / retention recovery report to U.

【図6】通信インタフェース部からデータ送信要求キュ
ーの滞留報告/滞留回復報告を受け取った際の処理フロ
ー図である。
FIG. 6 is a process flow chart when a stay report / stagnation recovery report of the data transmission request queue is received from the communication interface unit.

【符号の説明】 100…ホスト・コンピュータ 101…CPU 105…通信インタフェース部 106…MPU 108…データ送信要求キュー滞留監視用テーブル 109…多回線通信制御装置 112−a,112−b,112−c…回線制御モジュ
ール 115−a,115−b,115−c…データ送信要求
キュー管理テーブル
[Description of Reference Signs] 100 ... Host computer 101 ... CPU 105 ... Communication interface unit 106 ... MPU 108 ... Data transmission request queue retention monitoring table 109 ... Multi-line communication control device 112-a, 112-b, 112-c ... Line control module 115-a, 115-b, 115-c ... Data transmission request queue management table

───────────────────────────────────────────────────── フロントページの続き (72)発明者 大野 修司 神奈川県横浜市戸塚区吉田町292番地株式 会社日立製作所マイクロエレクトロニクス 機器開発研究所内 (72)発明者 山口 彰二 茨城県日立市大みか町五丁目2番1号株式 会社日立製作所大みか工場内 (72)発明者 藤又 芳巳 茨城県日立市大みか町五丁目2番1号日立 プロセスコンピュータエンジニアリング株 式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Shuji Ohno 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa, Ltd. Microelectronics Device Development Laboratory, Hitachi, Ltd. (72) Inventor Shoji Yamaguchi 5-2 Omika-cho, Hitachi-shi, Ibaraki No. 1 stock company Hitachi Ltd. Omika factory (72) Inventor Yoshimi Fujimata 5-2-1 Omika-cho, Hitachi-shi, Ibaraki Hitachi Process Computer Engineering Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】CPUと主記憶部及び、複数の回線制御モ
ジュールを有する多回線制御装置と接続し、前記回線制
御モジュールに対してデータ送信の要求を行う通信イン
タフェース部を備えたホスト・コンピュータにおいて、
前記回線制御モジュールに、通信インタフェース部から
受取ったデータ送信要求キューを格納する手段と、前記
データ送信要求キューの個数を格納する手段と、通信イ
ンタフェース部から受取ったデータ送信要求に対する処
理が完了したキューの個数を格納する手段とを設け、さ
らに、通信インタフェース部に、回線制御モジュール内
に格納されている有効データ送信要求キューの個数を検
出する手段と、前記有効データ送信要求キューの個数か
ら、回線制御モジュール内にデータ送信要求キューが溜
っていることを検出する手段と、前記有効データ送信要
求キューの個数から、回線制御モジュール内に滞留して
いたデータ送信要求キューが掃けたことを検出する手段
と、回線制御モジュール内のデータ送信要求キューの滞
留状況を格納する手段と、前記格納していた滞留状況が
未滞留状態で、回線制御モジュール内のデータ送信要求
キュー滞留を検出した際、及び前記格納していた滞留状
況が滞留状態で、回線制御モジュール内のデータ送信要
求キュー滞留回復を検出した際、その旨をCPUへ通知
する手段とを設けたことを特徴とするデータ送信要求キ
ューの滞留監視方式。
1. A host computer comprising a CPU, a main storage unit, and a multi-line control device having a plurality of line control modules, and a communication interface unit for making a data transmission request to the line control modules. ,
In the line control module, means for storing a data transmission request queue received from a communication interface unit, means for storing the number of the data transmission request queues, and a queue in which processing for the data transmission request received from the communication interface unit is completed. And a means for storing the number of valid data transmission request queues stored in the line control module in the communication interface section, and a circuit for determining the number of valid data transmission request queues stored in the line control module. A means for detecting that the data transmission request queue is accumulated in the control module, and a means for detecting that the data transmission request queue retained in the line control module has been swept based on the number of the valid data transmission request queues. And the retention status of the data transmission request queue in the line control module is stored. The data in the line control module when the data transmission request queue retention in the line control module is detected when the stored retention state is in the non-retention state and when the stored retention state is in the retention state A retention monitoring method for a data transmission request queue, which is provided with means for notifying the CPU of the recovery of the retention of the transmission request queue.
JP4003665A 1992-01-13 1992-01-13 Residence monitoring system for data transmission request queue Pending JPH05189341A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4003665A JPH05189341A (en) 1992-01-13 1992-01-13 Residence monitoring system for data transmission request queue

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4003665A JPH05189341A (en) 1992-01-13 1992-01-13 Residence monitoring system for data transmission request queue

Publications (1)

Publication Number Publication Date
JPH05189341A true JPH05189341A (en) 1993-07-30

Family

ID=11563739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4003665A Pending JPH05189341A (en) 1992-01-13 1992-01-13 Residence monitoring system for data transmission request queue

Country Status (1)

Country Link
JP (1) JPH05189341A (en)

Similar Documents

Publication Publication Date Title
JP4205103B2 (en) Information system, load control method, load control program, and recording medium
US7376853B2 (en) Network apparatus, method for controlling the same, and program for the same
JP3284311B2 (en) Communication bus control device and bus control method in data processing system
JP3940397B2 (en) Aggregation of hardware events in multi-node systems
RU2134446C1 (en) Method for controlling primitive program overflow by messages in multiprocessor control system (versions)
EP0871307A2 (en) Apparatus for flexible control of interrupts in multiprocessor systems
EP0871308A2 (en) Method and program product for flexible control of interrupts in multiprocessor systems
US6789142B2 (en) Method, system, and program for handling interrupt requests
JP2002024195A (en) Parallel processor and parallel process method
CN111427674A (en) Micro-service management method, device and system
JPH05189341A (en) Residence monitoring system for data transmission request queue
JPH06169312A (en) Communication controller
JPH0578925A (en) Communication control method
JPH0962624A (en) Processing method and processing system for on-line transaction
CN117544584B (en) Control method, device, switch and medium based on double CPU architecture
JP3082297B2 (en) Task control method
JPH09204311A (en) Information processing system
JPH05224964A (en) Bus abnormality information system
JP2798558B2 (en) Printer device control method
EP1119141A1 (en) Real-time communication device and system
JP2000222374A (en) Load distribution type packet parallel processor
JPH01305461A (en) Right of using bus control system
JP2000155738A (en) Data processor
JPS6325736B2 (en)
JP2000299716A (en) Data receiver and data receiving method