JPS5970340A - Communication processing control system - Google Patents

Communication processing control system

Info

Publication number
JPS5970340A
JPS5970340A JP57179873A JP17987382A JPS5970340A JP S5970340 A JPS5970340 A JP S5970340A JP 57179873 A JP57179873 A JP 57179873A JP 17987382 A JP17987382 A JP 17987382A JP S5970340 A JPS5970340 A JP S5970340A
Authority
JP
Japan
Prior art keywords
communication
module
request
communication processing
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP57179873A
Other languages
Japanese (ja)
Other versions
JPS6365257B2 (en
Inventor
Tadao Hashimoto
忠雄 橋本
Akira Nanbu
明 南部
Matamori Shimoda
下田 又守
Shinji Isaka
猪阪 伸二
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Hitachi Ltd
NEC Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Fujitsu Ltd
Hitachi Ltd
NEC Corp
Nippon Telegraph and Telephone Corp
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd, Hitachi Ltd, NEC Corp, Nippon Telegraph and Telephone Corp, Nippon Electric Co Ltd filed Critical Fujitsu Ltd
Priority to JP57179873A priority Critical patent/JPS5970340A/en
Publication of JPS5970340A publication Critical patent/JPS5970340A/en
Publication of JPS6365257B2 publication Critical patent/JPS6365257B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To attain the communication processing control with good performance, by realizeing the communication processing request required for simultaneous parallel processing as a continuous processing, by using a virtual wait function. CONSTITUTION:The system consists of a requesting module RM, a communication process executing module EM, and a basic control module BM, and the EM comprises a communication processing section EMA and a communication control section EMB. A preprocessing PROLOG receives a communication processing request HCREQ from the RM, ensures a working memory WA of the EM to this request and saves a register of the RM. A post processing EPILOG recovers a register of a calling party and releases the working memory WA. A virtual wait function section X showns the reality of the virtual wait instruction realizing the virtual function issued by the EM, and a continuity processing control section Y guarantees the continuity processing of the EM interrupted at the point of time of the virtual wait instruction based on the notice from the BM.

Description

【発明の詳細な説明】 発明の対象 本発明はデータ通信網の一つのノードであって、プログ
ラム実行において好適な多層構造モジュールから構成さ
れるデータ通信処理システムの制御方式に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION Object of the Invention The present invention relates to a control method for a data communication processing system, which is one node of a data communication network and is composed of multilayer modules suitable for program execution.

従来技術 この様な多層構造モジー−ルから構成される第1図の様
なデータ通信網上のデータ通信処理システムの制御方式
について述べる。図に於いてNASNBはデータ通信網
におけるノード(例えば計算機)、NWは通信網、RM
は依頼元モジュール、EMは通信処理実行モジュール、
BMは基本通信制御モジュールである。両ノードNA、
NBは通信網NWを介して接続される。ノードNA上の
依頼元モジー−ルRMは相手ノードNBに対する仮想端
末アクセス、ファイル転送などの通信処理要求を通信処
理実行モジュールEMに対して行なう。通信処理実行モ
ジュールEMは、この上位からの通信処理要求を受けて
、下位にある基本通信制御モジー−ルBMの提供する機
能を必要に応じて複数回使用して処理を完了させ、結果
を依頼元モジュールRMに対して通知する。この様な処
理を通信処理実行モジュールEMは、基本通信制御モジ
ー−ルBMと同様に、多数のパスに対して同時に並行し
て行なう。通信処理実行モジー−ルEMと基本通信制御
モジュールBMとのインターフェースも、通信要求、そ
の結果通知の形態となる。
BACKGROUND OF THE INVENTION A control system for a data communication processing system on a data communication network as shown in FIG. 1, which is comprised of such multilayered modules, will be described below. In the figure, NASNB is a node (for example, a computer) in a data communication network, NW is a communication network, and RM
is the request source module, EM is the communication processing execution module,
BM is a basic communication control module. Both nodes NA,
The NBs are connected via a communication network NW. The requesting module RM on the node NA issues a communication processing request to the communication processing execution module EM, such as virtual terminal access and file transfer to the other node NB. The communication processing execution module EM receives the communication processing request from the higher level, uses the functions provided by the lower level basic communication control module BM multiple times as necessary to complete the process, and requests the results. The original module RM is notified. The communication processing execution module EM, like the basic communication control module BM, performs such processing simultaneously on a large number of paths in parallel. The interface between the communication processing execution module EM and the basic communication control module BM also takes the form of communication requests and result notifications.

従来、上記の通信処理実行モジー−ル、基本通信制御モ
ジュールなどの通信処理モジュールにおいては、一般に
上位からの要求及び下位(ハードウェアあるいはン7ト
ウエア)からの結果通知はトリガと呼ばれ、通信処理モ
ジュールはこれらトリガ受付のたびに起動され、下位へ
の要求、伝送ブロックの蓄積などを行ない、このパスの
次トリガ受付で継続処理をすべく、現在の状態、即ちス
テータス(例えば、ポーリングシーケンス送信後メツセ
ージ受信待ちステータス)ヲこのパスの制御表に設定し
て、このトリガに対する処理を終了する。下位からの結
果通知受付時、再度通信処理モジュールが起動されこの
トリガとパスのステータスとから、通信処理モジュール
は継続処理を実行し、さらに下位への要求が必要ならば
再度要求し、ステータス(例えば、BTB(End o
f Tra’n5m1ssionBlock )ブロッ
ク受信後次ブロック受信待ちステータスなど)をこのパ
スの制御表に設定し、このトリガに対する処理を終了す
る。この様にしてステータスとトリガにより処理が逐次
実行されていく制御方式をステータス・トリガ方式と呼
ぶ。一般にこの方式は、第2図の様な状態遷移図又は第
3図の様な状態遷移表で、モジュールの動作が記述され
る。第2図に於いて丸印・  4 中のASB、、C,D、Eはステータスを、ア、イ、つ
、工、オ、力はトリガを、矢印は状態の遷移を示す。例
えばステータスCでトリガ「つ」を受けるとステータス
Dへ遷移することを示す。第3図に於いて英文字、カタ
カナはそれぞれステータス、トリガな示し、各交点、例
えばステータスCとトリガ「つ」の交点「処理4→D」
は、ステータスCにおいてトリガ「つ」を受けると処理
4を実行し、ステータスDへ遷移することを示す。一般
に状態遷移表の方が上記の様に状態遷移のみてなく、処
理をも記述できる点で表現力に優れ、仕様記述に良く使
用される。
Conventionally, in communication processing modules such as the above-mentioned communication processing execution module and basic communication control module, a request from a higher level and a result notification from a lower level (hardware or software) are generally called triggers, and communication processing The module is activated every time these triggers are received, makes requests to the lower level, accumulates transmission blocks, etc., and records the current state, that is, the status (for example, after sending a polling sequence), in order to continue processing at the next trigger reception on this path. Message reception wait status) is set in the control table for this path, and processing for this trigger ends. When a result notification is received from a lower level, the communication processing module is activated again, and based on this trigger and the path status, the communication processing module executes the continuation process, and if a request to a lower level is necessary, it requests again, and updates the status (e.g. , BTB (End o
f Tra'n5m1ssionBlock ) Next block reception wait status after block reception, etc.) is set in the control table of this path, and the processing for this trigger is ended. A control method in which processes are executed sequentially based on status and triggers in this manner is called a status/trigger method. Generally, in this method, the operation of a module is described using a state transition diagram as shown in FIG. 2 or a state transition table as shown in FIG. In Figure 2, ASB, C, D, and E in the circle mark 4 indicate status, A, I, TS, WORK, O, and force indicate triggers, and arrows indicate state transitions. For example, when a trigger "tsu" is received in status C, it indicates that the status changes to status D. In Figure 3, English letters and katakana indicate status and trigger, respectively, and each intersection, for example, the intersection of status C and trigger "tsu""processing 4 → D"
indicates that when a trigger "tsu" is received in status C, process 4 is executed and the status changes to status D. In general, state transition tables have better expressive power in that they can describe not only state transitions, but also processes, as described above, and are often used for specification descriptions.

さて、ステータス・トリガ方式では、第3図の状態遷移
表の交点ごとに小間切れのロジックとなり、次トリガに
対する継続処理実行の為の引継ぎ情報の発生、パス対応
の制御表へこの引継ぎ情報の設定及びステータスとトリ
ガによる処理の振分けなどのオーバヘッドの増大などの
欠点があった。
Now, in the status trigger method, the logic is broken at each intersection of the state transition table shown in Figure 3, and the generation of handover information for continuous processing execution for the next trigger, setting of this handover information in the control table corresponding to the path, and so on. This method has drawbacks such as increased overhead due to the distribution of processing based on status and triggers.

発明の目的 本発明の目的は、基本通信制御モジー−ルを使用してよ
り高度な通信処理を行なう通信処理制御において、上述
の様なステータス・トリガ方式の欠点を改善し、モジー
−ルを連続的なロジックとして実現すると共に、オーバ
ヘッドを削減し性能の良い通信処理制御方式を提供する
ことにある。
OBJECTS OF THE INVENTION An object of the present invention is to improve the drawbacks of the status trigger method described above in communication processing control that uses basic communication control modules to perform more advanced communication processing, and to continuously operate modules. The objective is to provide a communication processing control method that can be realized as a logical logic, reduce overhead, and have good performance.

本発明は、通信処理実行モジュールの依頼元モジュール
への提供機能ごとに連続的なロジックとする為、通信処
理制御((おいては実質的には不可能な基本通信制御モ
ジュールへの通信要求に対する完了待ちを仮想ウェイト
a能により仮想的に実現し、これによりステータスなど
の次トリガ受付における継続処理の為の引継ぎ情報の設
定を不要とする。この仮想ウェイト機能ハ、一般的なオ
ペレーティング・システムでのタスク制X1m能の一つ
であるウェイ)WAIT(事象の同期のためタスクを待
ち状態とする)機能と異なり、ある通信処理要求に対す
る実行中のモジー−ルの状態を凍結・保存するだけで、
実行中のタスクを待ち状態(依頼元モジュールの実行を
要求完了待ちで停止状態)とはしない。
The present invention provides continuous logic for each function provided by the communication processing execution module to the request source module. Waiting for completion is virtually realized using the virtual wait function, which eliminates the need to set takeover information such as status for continued processing when accepting the next trigger.This virtual wait function can be used in general operating systems. Unlike the WAIT function (which puts tasks in a waiting state to synchronize events), which is one of the task control ,
Do not put the running task in a waiting state (the execution of the request source module is stopped while waiting for the request to complete).

さらに基本通信制御モジュールへの通信要求時および結
果通知時に使用する制御用メモリの固定域に、通信処理
実行モジュールの作業用メモリのアドレスを通信要求時
に設定し、仮想ウェイト時にその時点の全レジスタをこ
の作業用メモリの一部に退避しく通信処理実行モジー−
ルの実行状態をそのまま凍結し)、制御上はコール元ヘ
リターンする。その後通信要求結果の通知時に返却され
る制御用メモリから上記作業用メモリのアドレスをえて
、仮想ウェイト時の全レジスタを回復し、仮想ウェイト
時点に戻る(通信処理実行モジー−ルを凍結状態から解
除する)ことで、継続処理実行を可能としてステータス
・トリガ方式での振分は処理などのオーバヘッドを削減
する。また一般的なオペレーティング・システムでのタ
スクeディスパッチャの様に、多数のタスク群の中から
起動すべきタスクを選択するなどの複雑な処理を行なう
ものでもない。なお上記通信処理実行モジュールの作業
用メモリとは、依頼元モジュールからの通信処理要求の
受付時に通信処理実行モジー−ルにおいて、該通信処理
要求の処理のために確保したものである。
Furthermore, the address of the working memory of the communication processing execution module is set in the fixed area of the control memory used when making a communication request to the basic communication control module and when notifying the result, and all registers at that time are set during virtual wait. The communication processing execution module is saved in a part of this working memory.
(Freezes the execution state of the caller as it is) and returns control to the caller. After that, the address of the above-mentioned working memory is obtained from the control memory that is returned when the communication request result is notified, and all the registers at the time of the virtual wait are recovered, and the return is made to the time of the virtual wait (the communication processing execution module is released from the frozen state) ), it is possible to continue processing, and distribution using the status trigger method reduces processing overhead. Further, unlike the task e-dispatcher in a general operating system, it does not perform complicated processing such as selecting a task to be started from among a large number of task groups. Note that the working memory of the communication processing execution module is reserved for processing the communication processing request in the communication processing execution module when receiving the communication processing request from the request source module.

発明の実施例 以下図面に示す実施例に従って詳細に説明する。Examples of the invention Embodiments will be described in detail below according to embodiments shown in the drawings.

第4図は本発明の一実施例を示す概略図である。同図に
おいて、几M、EM、BMは第1図のそれぞれ、依頼元
モジー−ルRM、通信処理実行モジュールEM、  基
本通信制御モジュールBMに対応する。通信処理実行モ
ジュールBMは、通信処理部EMAと通信制御部EMB
から構成される。PROLOG、 EPILOGは通信
処理部のそれぞれ前処理、後処理である。前処理は依頼
元モジュールRMからの通信処理要求受付は時、この要
求に対する通信処理実行モジュールEMの作菓用メモリ
WAの確保、依頼元モジー−ル几Mのレジスタの退避な
どを行なう。後処理はコール元レジスタの回復、作業用
メモリWAの解放などを行なう。Xは通信処理実行モジ
ュールが発行する仮想的なウェイト機能を実現する仮想
ウェイ) (VWAIT )命令の実体である仮想ウェ
イト機能部、Yは基本通信制御モジュールからの結果通
知を元に上記VWAIT時点で中断した通信処理実行モ
ジュールEMの継続処理を保証する継続処理制御部であ
る。
FIG. 4 is a schematic diagram showing an embodiment of the present invention. In the figure, boxes M, EM, and BM correspond to the requesting module RM, the communication processing execution module EM, and the basic communication control module BM in FIG. 1, respectively. The communication processing execution module BM includes a communication processing unit EMA and a communication control unit EMB.
It consists of PROLOG and EPILOG are pre-processing and post-processing, respectively, of the communication processing section. In the preprocessing, when a communication processing request is received from the requesting module RM, the processing memory WA of the communication processing execution module EM is reserved for the request, and the register of the requesting module M is saved. Post-processing includes restoring the caller register and releasing the working memory WA. (X is a virtual way that realizes a virtual wait function issued by the communication processing execution module) (VWAIT) A virtual wait function unit that is the substance of the command, Y is a virtual way that realizes the virtual wait function issued by the communication processing execution module, and Y is the virtual way that realizes the virtual wait function issued by the communication processing execution module. This is a continuation processing control unit that guarantees the continuation of the interrupted communication processing execution module EM.

さて、第4図によって実際の制御動作について説明する
。以下の説明では依頼元モジー−ルfLMから通信処理
実行モジュールEM1及び通信処理実行モジューILP
、Mから基本通信制御モジュールBMへの要求形式はS
vCコール(スーパバイザ・コール)とし、又基本通信
制御モジュールBMから通信処理実行モジー−ルEMへ
の通知形式もSVCコールとする。即ち通信処理実行モ
ジュールEM及び基本通信制御モジュールB Mは共に
SVCルーチンとする。第4図で■、8 ・ ■、■・・・は処理の順序を示す。又第4図で矢印は制
御の移行を示しているが、SVCコールのリターンにつ
いては明示していない。依頼元モジュールR,Mからの
通信処理要求HCR,EQを通信処理実行モジュールE
Mが受付ける(■)と、PR,0LOGで通信処理実行
モジュールBMの作業用メモリWAの確保、コール元R
Mのレジスタ群のWAへの退避を行なって(■)、通信
処理を開始する。これは通信要求BCREQを基本通信
制御モジュールBMに発行して行なう。基本通信1制御
モジユールBMは通信要求BCREQを受けてこれに対
する処理を実行し、入出力要求(0)を行なう。この通
信要求BCR,EQ時に基本通信制御モジュールBMへ
引渡す制御用メモリ(制御ブロックCB)は、両モジー
ール間で要求時及び結果通知時に各種の情報引継ぎ(例
えば入力メツセージの格納域アドレス)に使用するが、
この制御ブロックCB中に要求時の情報をそのまま保存
し、要求処理完了時に結果通知とともに引渡す保存情報
域を設ける。通信処理実行モ゛ジュールEMは、通信要
求BCR,EQ時(■)この保存情報域に前述の作業用
メモリWAのアドレスを設定しておく。その後BC1(
、EQの完了を待つため仮想ウェイト命令(VWAIT
)を発行する(■)。この命令(インラインマクロ命令
)の実体は仮想ウェイト機能部Xであり、その処理内容
は第5図のフローチャートの通りであって、特定のレジ
スタBR,にVVVAITの次のアドレスを設定した後
、通信処理実行モジー−ルEへ4の現レジスタ全部を作
業用メモリWA内のVWAI’l’用レジスタ退避しW
AVに退避して(この結果、通信処理実行モジュールE
Mは処理上VWAI’I’時点で実行状態が凍結・保存
される)、通信処理実行モジー−ルEMのコール元(こ
の場合はRM)レジスタ群を回復してコール元ヘリター
ンする。この状態が仮想ウェイトであって、制御上は通
信処理実行モジー−ルBMの処理は完了してコール元へ
戻っているが、処理−ヒVWAITで中断し基本通信制
御モジー−ルBMへの通信要求BC1(、EQの完了を
待っている状態である。通信処理実行モジュールHMに
おける最初のV’WA I Tでリターンするコール元
は依頼元モジー−ルRR4であり、通信処理実行モジュ
ールEMが依頼元モジュールRMにリターンコード等を
返却する場合には、VWAIT発行前にレジスタ等に設
定しておく必要がある。
Now, the actual control operation will be explained with reference to FIG. In the following explanation, from the requesting module fLM to the communication processing execution module EM1 and the communication processing execution module ILP.
, the request format from M to basic communication control module BM is S.
A vC call (supervisor call) is assumed, and the notification format from the basic communication control module BM to the communication processing execution module EM is also an SVC call. That is, both the communication processing execution module EM and the basic communication control module BM are SVC routines. In FIG. 4, ■, 8, ■, ■, etc. indicate the order of processing. Further, although the arrows in FIG. 4 indicate control transfer, the return of the SVC call is not clearly indicated. The communication processing requests HCR and EQ from the request source modules R and M are sent to the communication processing execution module E.
When M accepts (■), PR and 0LOG secure working memory WA of communication processing execution module BM, and caller R
The M register group is saved to WA (■), and communication processing is started. This is done by issuing a communication request BCREQ to the basic communication control module BM. The basic communication 1 control module BM receives the communication request BCREQ, executes processing therefor, and issues an input/output request (0). The control memory (control block CB) handed over to the basic communication control module BM at the time of communication requests BCR and EQ is used to transfer various information (for example, the storage area address of input messages) between both modules at the time of request and notification of results. but,
A storage information area is provided in this control block CB in which the information at the time of the request is stored as is and is delivered together with the result notification when the request processing is completed. The communication processing execution module EM sets the address of the above-mentioned working memory WA in this storage information area at the time of communication request BCR, EQ (■). Then BC1 (
, a virtual wait instruction (VWAIT) waits for the completion of EQ.
) is issued (■). The substance of this instruction (inline macro instruction) is the virtual wait function section X, and its processing contents are as shown in the flowchart in FIG. All current registers of 4 are saved to the processing execution module E in the VWAI'l' register in the working memory WA.
AV (as a result, the communication processing execution module E
(The execution state of M is frozen and saved at VWAI'I' due to processing), the caller (RM in this case) register group of the communication processing execution module EM is recovered and the process returns to the caller. This state is a virtual wait, and in terms of control, the processing of the communication processing execution module BM is completed and returns to the caller, but the processing is interrupted at VWAIT and the communication to the basic communication control module BM is terminated. The request BC1 (is in a state of waiting for the completion of EQ. The caller that returns with the first V'WAIT in the communication processing execution module HM is the requesting module RR4, and the communication processing execution module EM is waiting for the request to be completed. When returning a return code etc. to the original module RM, it is necessary to set it in a register etc. before issuing VWAIT.

基本通信処理モジュールBMでは通信要求BCREQに
対する処理を実行しく■)、その完了後(■)、通信処
理実行モジー−ルEMへ通知する(■)。この通知形式
をここでは前述の様KSVCコ−ル(即ち継M処理制御
部Y&″!、SvCルーチン)とした。このSVCルー
チンが第4図の継続処理制御部Yである。この継続処理
制御部Yは、基本通信制御モジュールB+Vから、通信
要求BCREQの完了通知としてのSVCコールとして
起動される。第6図に示す様に継続処理制御部Yはコー
ル元(基本通信制御モジュールBM)のレジスタ群を作
業用メモリWAへ退避し、引継がれる要求時の制御ブロ
ックCB中の保存情報域から通信処理実行モジー−ルE
Mの作業用メモリWAのアドレスをえて、WA’内のV
WAIT用レジスタし避域WAVからVWAIT時の全
レジスタを回復して、レジスタBR,が示すリターンア
ドレスにより通信処理実行モジュールEM内のVWAI
Tの次に制御を移す(■)。
The basic communication processing module BM executes processing for the communication request BCREQ (■), and after completion (■), notifies the communication processing execution module EM (■). This notification format is here the KSVC call (i.e., the continuation process control unit Y&''!, SvC routine) as described above. This SVC routine is the continuation process control unit Y in FIG. 4. This continuation process control The unit Y is activated by the basic communication control module B+V as an SVC call as a notification of completion of the communication request BCREQ.As shown in FIG. The group is saved to the working memory WA, and the communication processing execution module E is saved from the saved information area in the control block CB at the time of the request to be taken over.
Get the address of M's working memory WA and write V in WA'.
All the registers at VWAIT are recovered from the WAIT register save area WAV, and the VWAI in the communication processing execution module EM is restored using the return address indicated by register BR.
Transfer control to next T (■).

この結果、通信処理実行モジュールEMはV’WA I
 T時点での保存状態がそのまま解除される。以降、通
信処理実行モジュールEMは継続処理制御部YのSVC
コールの延長上で動作し、依頼元モジュールRMからの
要求が未完(例えばメツセージ・リードで全部の伝送ブ
ロックのリードが完了していない)ならば(■、■)再
度通信要求を行なって、VWAITを発行する。今度の
VWAITではSVCコール元が基本通信制御モジュー
ルBMであるので、仮想ウェイト機能部Xでは継続処理
制御部Yで先に退避されたBMのレジスタ群を回復し、
基本通信制御モジュールBMヘリターンする。以後、依
頼元モジュールRMからの処理が完了するまで上記を繰
返すが、処理完了時は依頼元モジュールRMへの通知後
(@)、DPILOGでその時点でのSVCコール元(
基本通信制御モジー−ルBMの結果通知のSVCコール
の延長上で走行していれば基本通信制御モジー−ルBM
、最初の通信要求BCREQでエラー等の理由で受付拒
否されるなどして依頼元モジュールRMからの通信処理
要求のSVCコールの延長上で走行していれば依頼元モ
ジー−ルRM )のレジスタ群の回復、作業用メモリW
Aの解放を行なって、コール元ヘリターンする(@)。
As a result, the communication processing execution module EM
The saved state at time T is canceled as is. Thereafter, the communication processing execution module EM is the SVC of the continuation processing control unit Y.
It operates as an extension of the call, and if the request from the requesting module RM is not completed (for example, all transmission blocks have not been read in a message read) (■, ■), the communication request is made again and the VWAIT Issue. In this VWAIT, the SVC call source is the basic communication control module BM, so the virtual wait function unit
Return to basic communication control module BM. After that, the above steps are repeated until the processing from the request source module RM is completed. When the process is completed, after notifying the request source module RM (@), the SVC caller at that point (
If the basic communication control module BM is running as an extension of the SVC call of the result notification, the basic communication control module BM
, if the first communication request BCREQ is rejected due to an error or other reason, and is running as an extension of the SVC call for a communication processing request from the requesting module RM, the register group of the requesting module RM) recovery, working memory W
Releases A and returns to the caller (@).

本発明は以上に説明した実施例において、依頼元モジー
−ル几Mからの通信処理要求を受付けた通信処理実行モ
ジー−ルEMが、並行処理が可能な様に各通信処理要求
ごとに、通信処理実行モジュールEM内で使用する作業
メモリを確保し、以後この通信要求の一連の処理完了ま
でこの作業用メモリを使用すること、並びに仮想ウェイ
ト機能部Xと継続処理制御部Yにより通信処理で本来不
可能な入出力要求待ちを仮想的に実現し、従来のステー
タス・トリガ方式でのステータス等の引継ぎ情報の設定
を不要とした。さらに基本通信制御モジュールBMへの
要求の制御ブロックCB中に上記作業用メモリ(この中
に仮想ウェイト時、全レジスタを退避)アドレスを設定
し、持ち回ることで結果通知時ζ従来のステータスとト
リガによる振分けを不要(制御ブロックCBの持ち回り
で処理対象の処理要求が、又作業用メモリ中に退避した
特定レジスタBRから処理継続アドレスが確定)とした
。これらにより通信処理制御の性能向上、さらに通信処
理モジニール開発上、設計、製造、テスト等の高効率化
が可能となる。
In the embodiment described above, the communication processing execution module EM, which has received a communication processing request from the requesting module M, performs communication processing for each communication processing request so that parallel processing can be performed. A working memory is secured for use within the processing execution module EM, and this working memory is subsequently used until the series of processing of this communication request is completed. The impossible I/O request wait is virtually realized, and the setting of status and other takeover information using the conventional status trigger method is no longer necessary. Furthermore, by setting the above-mentioned working memory address (in which all registers are saved during virtual wait) in the control block CB of the request to the basic communication control module BM and passing it around, the conventional status and trigger can be set when the result is notified. (The processing request to be processed is determined by rotating the control block CB, and the processing continuation address is determined from the specific register BR saved in the working memory.) These improvements will improve the performance of communication processing control, and will also make it possible to improve the efficiency of communication processing module development, design, manufacturing, testing, etc.

前述の実施例では、基本通信制御モジュールBMから通
信処理実行モジュールEMへの通知形式をSVCコール
としたが、必らずしもその通りである必要はない。例え
ばこれが一般的なオペレーティング・システムにお’t
j ルGAP (GiveAnd Pa5t:事象の発
生通知とともに、他タスクに処理を依頼)の形式で、継
続処理制御部Yが独立のタスクであるとしても、継続処
理制御部Yでは実施例と全く同じ方式により、通信処理
実行モジー−ルEMに対する継続制御が可能である。こ
の場合、仮想ウェイト機能部Xでのコール元へのリター
ンが、2回目以降(より正確には継続処理制御部Yから
の制御移行で、通信処理実行モジー−ルEMが動作して
いる場合)8VCコールに対するリターンではなく、上
記継続処理制御部Yへの無条件ブランチとなる様に仮想
ウェイト機能部Xを作成する必要がある。
In the embodiment described above, the notification format from the basic communication control module BM to the communication processing execution module EM is an SVC call, but this does not necessarily have to be the case. For example, if this is not the case on a typical operating system.
Even if the continuation processing control unit Y is an independent task in the form of GiveAndPa5t (GiveAndPa5t: notifying the occurrence of an event and requesting processing from another task), the continuation processing control unit Y uses exactly the same method as in the embodiment. This allows continuous control of the communication processing execution module EM. In this case, the return to the caller in the virtual wait function unit It is necessary to create the virtual wait function section X so that it becomes an unconditional branch to the above-mentioned continuation processing control section Y, rather than a return to the 8VC call.

又EPILOGにおいても同様に継続処理制御部Yへの
無条件ブランチの処理を含める必要がある。さらに実施
例では通信処理実行モジュールEMの作業用メモリを通
信処理実行モジュールEM内のPR,0LOG(前処理
)、EPILOG (後処理)で確保・解放することに
したが、必らずしもその通りである必要はない。依頼元
モジュール確保の作業用メモリを通信処理要求時に、依
頼元モジュールR,Mが引渡すことで通信処理実行モジ
ュールEM内での確保・解放を不要とし、依頼元モジュ
ールRMがこの作業用メモリを再使用することでさらに
性能向上が可能となる。
Similarly, in EPILOG, it is necessary to include processing of an unconditional branch to the continuation processing control unit Y. Furthermore, in the embodiment, the working memory of the communication processing execution module EM is secured and released by PR, 0LOG (preprocessing), and EPILOG (postprocessing) in the communication processing execution module EM, but this is not necessarily the case. It doesn't have to be the street. Requesting modules R and M hand over the working memory secured by the requesting module at the time of a communication processing request, eliminating the need to secure and release it within the communication processing execution module EM, and requesting module RM reclaims this working memory. By using it, performance can be further improved.

発明の効果 以上詳細に説明した様に、本発明によれば同時並行処理
が必要な通信処理要求をリリガによる小間切れの処理の
集合としてでなく、仮想的なウェイト機能を用いて、連
続的な処理として実現でき、ステータス等の引継ぎ情報
の設定、ステータス及びトリガによる振分けなどが不要
となり、性能の良い通信処理制御が容易に実現・できる
効果がある。
Effects of the Invention As explained in detail above, according to the present invention, communication processing requests that require simultaneous parallel processing are processed continuously using a virtual wait function, instead of being processed as a collection of small-scale processing by Religer. This eliminates the need for setting transfer information such as status, sorting based on status and triggers, and has the effect of easily realizing and controlling communication processing with good performance.

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

第1図は本発明の通信処理制御方式を適用する系の一例
を示すブロック図、第2図および第3図はそれぞれ従来
方式での制御仕様を表現する状態遷移図および状態遷移
表、第4図は本発明の一実施例を示す図、第5図および
第6図はそれぞれ本発明の制御方式の主要機能である仮
想ウェイト機能部および継続処理制御部のフローチャー
トである。、 6 NA、NB・・・データ通信網上のノード、NW・・・
通信網、 RM・・・依頼元モジュール、 EM・・・通信処理実行モジュール・ BM・・・基本通信制御モジー−ル、 DMA・・・通信処理部、 EMB・・・通信処理制御部、 X・・・仮想ウェイト機能部、 Y・・・継続処理制御部、 PROLOG・・・前処理、 EPILOG・・・後処理、 Hen、EQ・・・通信処理実行モジー−ルへの通信処
理要求、 BCREQ・・・基本通信制御モジー−ルへの通信要求
、 VWAIT・・・仮想ウェイト要求、 WA・・・通信処理実行モジュールが使用する作業用メ
モリ、 CB・・・制御用メモリ(制御ブロック)。 代理人弁理士薄 1)利ノks 1′5図 1′6 図
FIG. 1 is a block diagram showing an example of a system to which the communication processing control method of the present invention is applied, FIGS. This figure shows an embodiment of the present invention, and FIGS. 5 and 6 are flowcharts of a virtual wait function section and a continuation processing control section, respectively, which are the main functions of the control system of the present invention. , 6 NA, NB... Nodes on the data communication network, NW...
Communication network, RM...Request source module, EM...Communication processing execution module, BM...Basic communication control module, DMA...Communication processing unit, EMB...Communication processing control unit, X. ...Virtual wait function unit, Y...Continuation processing control unit, PROLOG...Pre-processing, EPILOG...Post-processing, Hen, EQ...Communication processing request to communication processing execution module, BCREQ... ...Communication request to the basic communication control module, VWAIT...Virtual wait request, WA...Working memory used by the communication processing execution module, CB...Control memory (control block). Representative Patent Attorney Susuki 1) Rinoks 1'5 Figure 1'6 Figure

Claims (1)

【特許請求の範囲】[Claims] データ通信網の一つのノードであって、通信処理要求を
発行する依頼元モジュールと、この要求を下位の基本通
信制御モジュールを使用して処理する通信処理実行モジ
ュールとから構成されるデータ通信処理システムにおい
て、依頼元モジュールからの通信処理要求を受付けた通
信処理実行モジュールが、下位の基本通信制御モジュー
ルへの通信要求時に、依頼元モジュールからの通信処理
要求ごとに割当てる通信処理実行モジー−ルの作業用メ
モリのアドレスを引渡し後、このメモリに全レジスタを
退避して、下位モジュールへの通信要求結果を仮想的に
ウェイトし、実行中の作業用メモリ、レジスタをそのま
まの状態で凍結し、実際には依頼元モジュールへリター
ンし、下位モジュールの要求結果通知で仮想的ウェイト
時の全レジスタを回復し、仮想的ウェイト状態を解除し
て、モジュール実行を凍結時点から再開始しその後は継
続処理の必要に応じて、下位モジー−ルとの間で通信要
求、仮想的ウェイト、及び解除に基づく制御の移行を繰
返して実行し、最終処理完了後、依頼元モジュールへ結
果を通知することを特徴とする通信処理制御方式。
A data communication processing system that is one node of a data communication network and consists of a request source module that issues communication processing requests, and a communication processing execution module that processes this request using a lower-level basic communication control module. , when the communication processing execution module that has received the communication processing request from the requesting module issues a communication request to the lower-level basic communication control module, the communication processing execution module's work is assigned for each communication processing request from the requesting module. After passing the address of the working memory, all registers are saved to this memory, the result of the communication request to the lower module is virtually waited, and the working memory and registers being executed are frozen as they are. returns to the requesting module, recovers all registers at the time of virtual wait upon notification of the request result from the lower module, releases the virtual wait state, restarts module execution from the frozen point, and then continues processing. It is characterized by repeatedly executing control transfer based on communication requests, virtual weights, and release with lower modules according to the request, and notifying the requesting module of the result after the final processing is completed. Communication processing control method.
JP57179873A 1982-10-15 1982-10-15 Communication processing control system Granted JPS5970340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57179873A JPS5970340A (en) 1982-10-15 1982-10-15 Communication processing control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57179873A JPS5970340A (en) 1982-10-15 1982-10-15 Communication processing control system

Publications (2)

Publication Number Publication Date
JPS5970340A true JPS5970340A (en) 1984-04-20
JPS6365257B2 JPS6365257B2 (en) 1988-12-15

Family

ID=16073390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57179873A Granted JPS5970340A (en) 1982-10-15 1982-10-15 Communication processing control system

Country Status (1)

Country Link
JP (1) JPS5970340A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60237558A (en) * 1984-05-09 1985-11-26 Omron Tateisi Electronics Co Variation system for state transition

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02117599U (en) * 1989-03-10 1990-09-20

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60237558A (en) * 1984-05-09 1985-11-26 Omron Tateisi Electronics Co Variation system for state transition

Also Published As

Publication number Publication date
JPS6365257B2 (en) 1988-12-15

Similar Documents

Publication Publication Date Title
Fekete et al. Specifying and using a partitionable group communication service
CN104216912B (en) The implementation method and device of a kind of business form work fluidisation without intrusive mood
US4901231A (en) Extended process for a multiprocessor system
US6421739B1 (en) Fault-tolerant java virtual machine
US5659701A (en) Apparatus and method for distributed program stack
US6385668B1 (en) Method and apparatus for compound hardware configuration control
Levi et al. The MARUTI hard real-time operating system
CN101262498B (en) A distributed message call method and device
CN111400011B (en) Real-time task scheduling method, system, equipment and readable storage medium
CN112463211A (en) System architecture transformation method compatible with multiple development architectures and system architecture
Zhuang et al. Hoplite: efficient and fault-tolerant collective communication for task-based distributed systems
KR20010080469A (en) A job-parallel processor
Melnik et al. Distributed library model based on distributed ledger technology for monitoring and diagnostics system
CN116954944A (en) Distributed data stream processing method, device and equipment based on memory grid
JPS5970340A (en) Communication processing control system
EP1020087A2 (en) Services using call independent building blocks
Tanenbaum A comparison of three microkernels
Niu et al. GMAS: A geo-aware mas-based workflow allocation approach on hybrid-edge-cloud environment
JPH08235011A (en) Continuous operation method and device in different environment space
KR950014163B1 (en) Apparatus and method for implementing a distributed program stack
WO2014110701A1 (en) Independent active member and functional active member assembly module and member disassembly method
CN111258748B (en) Distributed file system and control method
KR100272094B1 (en) Object migration system and method
CA1287178C (en) Extended process for a multiprocessor system
Mullender Making Amoeba work