JPH0478947A - High speed completion informing system - Google Patents

High speed completion informing system

Info

Publication number
JPH0478947A
JPH0478947A JP2192548A JP19254890A JPH0478947A JP H0478947 A JPH0478947 A JP H0478947A JP 2192548 A JP2192548 A JP 2192548A JP 19254890 A JP19254890 A JP 19254890A JP H0478947 A JPH0478947 A JP H0478947A
Authority
JP
Japan
Prior art keywords
command
routine
completion
control
controller table
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
JP2192548A
Other languages
Japanese (ja)
Inventor
Mikako Kaneko
金子 美香子
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 JP2192548A priority Critical patent/JPH0478947A/en
Publication of JPH0478947A publication Critical patent/JPH0478947A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To execute the completion notice processing at a high speed by dequeuing a command controller table from the head, and migrating the control to a routine address stored therein. CONSTITUTION:When it is desired to output request commands CMD1 - 3 to an input/output control part 3 from a fundamental communication control part 1, when the respective completions are returned, an address of a routine to be actuated is stored in a command controller table 5, and by queuing to a command control main table in order of outputting a command, the request commands CMD-1 - 3 are outputted to the input/output control part 3. At the time of receiving the completion of the CMDs 1, 2 from the input/output control part 3, a completion receiving routine 2 executes dequeuing of the command controller table 5 from the head, the control is migrated to a routine address stored therein, and when the control is returned from this routine, its command controller table 5 is released, and the same processing is executed to the next command controller table 5. In such a way, the completion notice processing can be executed at a high speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は装置間において要求に対する完了通知を受けた
ときの処理方式に関し、特に完了が返ってきたときの処
理ルーチンへの移行を高速化した完了通知方式に関する
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a processing method when receiving a notification of completion of a request between devices, and particularly speeds up transition to a processing routine when completion is returned. Regarding completion notification method.

〔従来の技術〕[Conventional technology]

従来、この種の完了通知方式では、完了通知種別毎にど
のルーチンを起動するかを対応づけたマトリックステー
ブルを持ち、完了通知受信時にその種別でマトリックス
テーブルをサーチして探し出したルーチンに制御を渡す
方式が一般的てあった。
Conventionally, this type of completion notification method has a matrix table that associates which routine to start for each type of completion notification, and when a completion notification is received, the matrix table is searched for that type and control is passed to the found routine. The method was common.

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

上述した従来の完了通知方式は、例えは通信処理プログ
ラムでの回線の接続処理の場合、初期化後の接続要求に
対する完了時と、障害発生で切断された後の接続要求に
対する完了時とでは、処理は異なるが、マトリックステ
ーブルには゛接続要求に対する完了通知″として固定的
に登録されているため、そのルーチンに飛んでから対応
する処理に振分けをしなければならなかった。
In the conventional completion notification method described above, for example, in the case of line connection processing in a communication processing program, there are two types of completion notifications: when a connection request is completed after initialization, and when a connection request is completed after being disconnected due to a failure. Although the processing is different, it is fixedly registered in the matrix table as "completion notification for connection request", so it was necessary to jump to that routine and then distribute to the corresponding processing.

また、完了通知を受ける度にマトリックステーブルを読
み込み、該当するルーチンが見つかるまでテーブルをサ
ーチしなければならない。
Furthermore, each time a completion notification is received, the matrix table must be read and the table must be searched until the corresponding routine is found.

このように、交信の内容によって処理を変えることが出
来ず、また完了通知時の対応するルーチンへの制御の移
行が遅くなるという欠点があった。
As described above, there are disadvantages in that the processing cannot be changed depending on the content of the communication, and the transfer of control to the corresponding routine when notification of completion is delayed.

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

本発明は、装置間における第一の装置から第二の装置へ
の要求に対する前記第二の装置からの完了信号受信時の
高速完了通知方式において、前記第一の装置が、コマン
ド制御メインテーブルとコマンド制御子テーブルを備え
、前記要求コマンドを前記第二の装置へ出力時、前記要
求コマンドに対応する前記完了信号が返った時に起動し
たいルーチンのアドレスを前記コマンド制御子テーブル
に格納し、前記要求コマンドを出す順番に前記コマンド
制御メインテーブルに前記コマンド制御子テーブルをキ
ューイングして前記要求コマンドを前記第二の装置へ出
力する通信制御部と、前記第二の装置から前記完了信号
を受付る度に、前記コマンド制御メインテーブルより前
記コマンド制御子テーブルを先頭からデキューイングし
、前記コマンド制御子テーブルに格納してある前記ルー
チンアドレスに制御を移行し、前記ルーチンから制御が
戻った時に前記コマンド制御子テーブルを解放する完了
受付手段を有することを特徴とする。
The present invention provides a high-speed completion notification method when receiving a completion signal from the second device in response to a request from a first device to the second device between devices, in which the first device communicates with a command control main table. A command controller table is provided, and an address of a routine to be activated when the request command is output to the second device and the completion signal corresponding to the request command is returned is stored in the command controller table, and a communication control unit that queues the command controller table in the command control main table in the order in which commands are issued and outputs the request command to the second device; and receives the completion signal from the second device. At each time, the command control child table is dequeued from the beginning from the command control main table, control is transferred to the routine address stored in the command control child table, and when control returns from the routine, the command control child table is dequeued from the beginning. The present invention is characterized by having a completion acceptance means for releasing the controller table.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示す動作概要図である。尚
、以下の(a)、(b)は第1図における(a)、(b
)と対応する。
FIG. 1 is an operational schematic diagram showing an embodiment of the present invention. Note that (a) and (b) below are equivalent to (a) and (b) in Figure 1.
) corresponds to

(a)基本通信制御部1から入出力制御部3に対して要
求コマンドCMD−1,CMD−2,CMD−3を出力
したい時、それぞれの完了が返った時に起動したいルー
チンのアドレスをコマンド制御子テーブル5に格納し、
コマンドを出す順番にコマンド制御メインテーブル4に
キューイングして要求コマンドCMD−1,CMD−2
,CMD−3を入出力制御部3に出力する。
(a) When you want to output request commands CMD-1, CMD-2, and CMD-3 from the basic communication control unit 1 to the input/output control unit 3, command control the address of the routine you want to start when each completion is returned. Store it in child table 5,
Request commands CMD-1 and CMD-2 are queued in the command control main table 4 in the order in which the commands are issued.
, CMD-3 to the input/output control section 3.

(b)入出力制御部3からCMD−1及びCMD−2の
完了受付時、完了受付ルーチン2はコマンド制御メイン
テーブル4より完了コマンドの識別は行わずに、コマン
ド制御子テーブル5を先頭からデキューイングし、そこ
に格納してあるルーチンアドレスに制御を移行し、その
ルーチンから制御が戻った時に該コマンド制御子テーブ
ル5を解放し、次のコマンド制御子テーブル5をキュー
の先頭からデキューイングし同様の処理を行う。
(b) When receiving the completion of CMD-1 and CMD-2 from the input/output control unit 3, the completion reception routine 2 dequeues the command control child table 5 from the beginning without identifying the completed command from the command control main table 4. , transfers control to the routine address stored there, releases the command controller table 5 when control returns from that routine, and dequeues the next command controller table 5 from the head of the queue. Perform similar processing.

以上のようにコマンド制御子テーブル5を使用すること
により、指定された完了処理ルーチンの起動の高速化を
図ることが出来る。
By using the command controller table 5 as described above, it is possible to speed up the activation of the specified completion processing routine.

尚、この例では、要求に対する完了が、要求を出した順
に通知されることを前提にしているか、要求に対する完
了が、要求を出した順に通知されことが保証されず、完
了受付時にコマンドでサーチする方式であっても、待ち
キューがそれほど多くないシステムでは当該コマンド制
御子テーブル5を用いる方式は有効である。
In addition, in this example, it is assumed that the completion of the request is notified in the order in which the request was issued, or it is not guaranteed that the completion of the request is notified in the order in which the request was issued. However, in systems where there are not so many waiting queues, the method using the command controller table 5 is effective.

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

以上説明したように本発明によれば、要求の種類がいか
に増えても、完了通知時の処理はコマンド制御子テーブ
ルを先頭からデキューイングし、そこに格納してあるル
ーチンアドレスに制御を移行するだけなので、完了通知
処理を高速化できる効果がある。
As explained above, according to the present invention, no matter how many types of requests increase, the processing at the time of notification of completion dequeues the command controller table from the beginning and transfers control to the routine address stored there. This has the effect of speeding up completion notification processing.

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

第1図は本発明の一実施例を示す動作概要図である。 1・・・基本通信制御部、2・・・完了受付ルーチン、
3・・・入出力制御部、4・・・コマンド制御メインテ
ーブル、5・・・コマンド制御子テーブル。
FIG. 1 is an operational schematic diagram showing an embodiment of the present invention. 1...Basic communication control unit, 2...Completion reception routine,
3... Input/output control unit, 4... Command control main table, 5... Command control child table.

Claims (1)

【特許請求の範囲】 1、装置間における第一の装置から第二の装置への要求
コマンドに対する前記第二の装置からの完了信号受信時
の高速完了通知方式において、前記第一の装置が、コマ
ンド制御メインテーブルとコマンド制御子テーブルを備
え、前記要求コマンドを前記第二の装置へ出力時、前記
要求コマンドに対応する前記完了信号が返った時に起動
したいルーチンのアドレスを前記コマンド制御子テーブ
ルに格納し、前記要求コマンドを出す順番に前記コマン
ド制御メインテーブルに前記コマンド制御子テーブルを
キューイングして前記要求コマンドを前記第二の装置へ
出力する通信制御部と、前記第二の装置から前記完了信
号を受付る度に、前記コマンド制御メインテーブルより
前記コマンド制御子テーブルを先頭からデキューイング
し、前記コマンド制御子テーブルに格納してある前記ル
ーチンアドレスに制御を移行し、前記ルーチンから制御
が戻った時に前記コマンド制御子テーブルを解放する完
了受付手段を有することを特徴とする高速完了通知方式
。 2、装置間における第一の装置から第二の装置への要求
コマンドに対する前記第二の装置からの完了信号受信時
の高速完了通知方式において、前記第一の装置が、コマ
ンド制御メインテーブルとコマンド制御子テーブルを備
え、前記要求コマンドを前記第二の装置へ出力時、前記
要求コマンドに対応する前記完了信号が返った時に起動
したいルーチンのアドレスを前記コマンド制御子テーブ
ルに格納し、前記要求コマンドを出す順番に前記コマン
ド制御メインテーブルに前記コマンド制御子テーブルを
キューイングして前記要求コマンドを前記第二の装置へ
出力する通信制御部と、前記第二の装置から前記完了信
号を受付る度に、前記コマンド制御メインテーブルより
前記完了信号に含まれる前記コマンドで前記コマンド制
御子テーブルを先頭からサーチし前記コマンドに対応す
る前記コマンド制御子テーブルをデキューイングし、前
記コマンド制御子テーブルに格納してある前記ルーチン
アドレスに制御を移行し、前記ルーチンから制御が戻っ
た時に前記コマンド制御子テーブルを解放する完了受付
手段を有することを特徴とする高速完了通知方式。
[Scope of Claims] 1. In a high-speed completion notification method when receiving a completion signal from the second device in response to a request command from the first device to the second device between devices, the first device: A command control main table and a command controller table are provided, and the address of a routine to be activated when the request command is output to the second device and the completion signal corresponding to the request command is returned is stored in the command controller table. a communication control unit that outputs the request commands to the second device by queuing the command controller table in the command control main table in the order in which the request commands are issued; Every time a completion signal is received, the command control child table is dequeued from the beginning from the command control main table, control is transferred to the routine address stored in the command control child table, and control is removed from the routine. A high-speed completion notification method characterized by comprising a completion reception means for releasing the command controller table when returning. 2. In the high-speed completion notification method when receiving a completion signal from the second device in response to a request command from a first device to a second device between devices, the first device transmits a command control main table and a command. A controller table is provided, and when the request command is output to the second device, the address of a routine to be activated when the completion signal corresponding to the request command is returned is stored in the command controller table, and a communication control unit that queues the command controller table in the command control main table in order to output the request command to the second device, and each time the completion signal is received from the second device; Then, the command controller table is searched from the beginning using the command included in the completion signal from the command control main table, the command controller table corresponding to the command is dequeued, and the dequeued command controller table is stored in the command controller table. 1. A high-speed completion notification system, comprising a completion reception means for transferring control to a certain routine address and releasing the command controller table when control returns from the routine.
JP2192548A 1990-07-20 1990-07-20 High speed completion informing system Pending JPH0478947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2192548A JPH0478947A (en) 1990-07-20 1990-07-20 High speed completion informing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2192548A JPH0478947A (en) 1990-07-20 1990-07-20 High speed completion informing system

Publications (1)

Publication Number Publication Date
JPH0478947A true JPH0478947A (en) 1992-03-12

Family

ID=16293112

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2192548A Pending JPH0478947A (en) 1990-07-20 1990-07-20 High speed completion informing system

Country Status (1)

Country Link
JP (1) JPH0478947A (en)

Similar Documents

Publication Publication Date Title
JP3549081B2 (en) Task execution control method with priority and data processing device
JPH03126158A (en) Method and apparatus for scheduling
GB1511281A (en) Trap semaphore in computer
JPH01162967A (en) Method and device for interruption processing
JPH0478947A (en) High speed completion informing system
JPS62126457A (en) Distributed data processing system
JPH01292559A (en) Message processing system and data transfer system for parallel computers
JPH07325779A (en) Input/output controller
GB1501754A (en) Data-processing system
JPS6091452A (en) Task scheduling system of data processor
JPH0381856A (en) Data transfer control system
JPS62235898A (en) Remote supervisory and controlling slave station equipment
JPH06274436A (en) Data transfer system
JPH03223955A (en) Information processing system
JPS63261431A (en) Merge process control system
JPH07175670A (en) Task controller
JPH05303524A (en) Buffer control system
JPH02118841A (en) Input queue control system
JPH02127732A (en) Job control system
JPH03148747A (en) Inter-processor communication system
JPS6327942A (en) Message input device
JPS63245754A (en) Input/output control system for information processing system
JPH02241191A (en) Command queue plane switching system
JPS61101862A (en) Message scheduling system
JPH03189828A (en) Coordination operation system