JPH0389754A - Execution management processing system in communication control processing equipment - Google Patents

Execution management processing system in communication control processing equipment

Info

Publication number
JPH0389754A
JPH0389754A JP1224521A JP22452189A JPH0389754A JP H0389754 A JPH0389754 A JP H0389754A JP 1224521 A JP1224521 A JP 1224521A JP 22452189 A JP22452189 A JP 22452189A JP H0389754 A JPH0389754 A JP H0389754A
Authority
JP
Japan
Prior art keywords
processing
event
frame
information
main queue
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
JP1224521A
Other languages
Japanese (ja)
Other versions
JPH0720159B2 (en
Inventor
Hitoya Nakamura
人也 中村
Noriaki Kishino
岸野 訓明
Toshihiko Inagaki
敏彦 稲垣
Takashi Yamamoto
孝 山本
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP1224521A priority Critical patent/JPH0720159B2/en
Publication of JPH0389754A publication Critical patent/JPH0389754A/en
Publication of JPH0720159B2 publication Critical patent/JPH0720159B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To suppress wasteful processing to minimum, and to shorten the processing time by adjusting the number of events stagnating in a main queue less than a fixed number by using an event input selecting function and an event circulating function. CONSTITUTION:The number of the events stagnating in the main queue 12 is adjusted to be less than the fixed number at every data link based on the pieces of information stagnating in sub-queues 12A to 12N prepared at every data link by the event input selecting function 61 and the event circulating function 62, and the number of the events stagnating in the main queue 12 is suppressed to necessary minimum at every data link. Thus, the occurrence of such a situation that the many events for which the data link stagnates in the main queue 12 and transmission becomes impossible can be prevented, and the wasteful processing at the time when frame transmission is impossible can be suppressed to the minimum, and the processing time can be shortened, and simultaneously, processing efficiency can be improved.

Description

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

[産業上の利用分野] 本発明は、高水準データ伝送手順(HDLC)に基づい
て、フレーム単位で情報の送受信処理を行う通信制御処
理装置における実行管理処理方式に関するもので、詳し
くは、O3I参照モデルの階層構成上のデータリンクレ
イヤ(以下、レイヤlと呼ぶ)の処理を実行する通信制
御処理装置における実行管理処理方式に関するものであ
る。 [従来の技術] 前記レイヤ■における処理は、低位レベルの処理と、高
位レベルの処理とに大別することができる。 ここに、低位レベルの処理とは、その隣接下位層である
物理レイヤ(レイヤI)にインタフェースし、対向装置
から又は対向装置へのピットストリームを送受信し、フ
ラグ検出、フレーム検出、フレームチエ、クシ−ケンス
(Fe2)チエツク、及び各フィールド分解などを行う
処理である。 また、高位レベルの処理とは、各フィールドの中身から
、リンク管理、順序制御、誤り制御などを行う処理であ
る。 このようなレイヤ■の処理を実現する通信制御処理装置
における実行管理処理方式として、前述の下位レベルの
処理をバードウ゛エアで、高位レベルの処理を汎用マイ
クロプロセッサによるファームウェアにて実現するもの
が提案されている。 この方式は、文献
[Industrial Application Field] The present invention relates to an execution management processing method in a communication control processing device that performs information transmission and reception processing in frame units based on high-level data transmission procedures (HDLC).For details, refer to O3I. The present invention relates to an execution management processing method in a communication control processing device that executes processing of a data link layer (hereinafter referred to as layer I) on a hierarchical structure of a model. [Prior Art] The processing in the layer (2) can be roughly divided into low-level processing and high-level processing. Here, low-level processing refers to interfacing to the physical layer (layer I), which is the adjacent lower layer, transmitting and receiving pit streams from/to the opposing device, flag detection, frame detection, frame checking, and combing. - This is a process of checking (Fe2) and decomposing each field. Further, high-level processing is processing that performs link management, order control, error control, etc. from the contents of each field. As an execution management processing method for a communication control processing device that realizes such layer processing, a method has been proposed in which the lower-level processing described above is performed using hardware, and the higher-level processing is performed using firmware using a general-purpose microprocessor. There is. This method is

【信学技報Vo1.87.  r電子
情報通信学会技術研究報告9発行:社団法人電子情報通
信学会」におけるrlsDN用プロトコル処理装置の評
価・検証について(SE87−84)j】に記載されて
いる。 第2図は、従来の通信制御処理装置の構成を、情報の流
れとなるフレームの送受信時の処理に着目して、機能的
に示したものである。 この図示例では、l5DN用レイヤ■プロトコル処理装
置(以下、SIGと呼ふ)lが前記通信制御処理装置に
該当し、この5ICIは、対向装置2及び上位装置3と
接続されている。 以下その動作を説明する。 5IGIは、対向装置2よりフレームを受信すると、受
信動作として以下の処理を行う。 1) 受信イベント処理回路10によって、受信フレー
ムラ格納するバッファを、空バツフアブール11より引
き出す。 2) 受信フレームの情報をバッファに格納した後、受
信イベント処理回路10は、フレーム受信があったこと
をメインキュー(実行管理キューまたは処理待ちキュー
とも呼ばれる)12にキューイングする。 3) バッファに格納された情報がメインキュー12に
滞留する。 4) フレーム受信処理13によって、メインキュー1
2に滞留している情報を引き出して、LA P −D 
(Link Access Procedure on
 the D ahannel)処理をする。 このLAP−Dは、文献 [T T C標準「ユーザ・
網インタフエース、第2巻、第1分冊(発行:社団法人
 電信電話技術委員会)」におけるr[sDNユーザ・
網インタフエース(JT920、JT−Q921)Jl
に示されているように、レイヤ■における処理の代表的
なものである。 5) 上位装置3へ情報が通知され、上位装置3の受信
処理回路30によって受信処理がなされる。 6) 上位装置3での受信処理が済むと、バッファ解放
処理回路14によって、空きバッファを空バツフアブー
ル11へ格納スる。 また、送達確認フレームを出す必要がある場合は、以下
の処理を行う。 ) フレーム受信処理回路I3によって、送達確認フレ
ーム送出のためのバッファを空バッファブールitから
引き出し、送達確認フレームを送出することを、メイン
キュー12にキューイングする。 i) 送達確認フレームの情報が、メインキュー12に
滞留する。 iii )  フレーム送信処理回路15において、メ
インキュー12から送達確認フレームの情報を弓き出し
、送達確認フレームの送信処理をする。 IV )  送信処理後にバッファ解放処理回路14に
よって、空バッファを空バツフアブールへ格納する。 また、上位装置3より、フレームを送信する場合には、
5ICIは、送信動作として以下の処理を行う。 A) 上位装置3からのバッファ割り当て要求により、
5IGIはバッファ割り当て処理回路16によって、空
バッファを空バッファブール11から引き出し、上位装
置3へ通知する。 B) 上位装置3の送信処理回路17によって情報の格
納を行い、送信イベント処理回路18に送信要求を通知
する。 C) 送信イベント処理回路18は、送信要求があるこ
とを、メインキュー12にキューイングする。 D) 送信フレームの情報が、メインキ5−12に滞留
する。 E) フレーム送信処理回路15によってメインキュー
12に滞留している送信フレームの情報を引き出し、L
AP−D処理をする。 F〉 送信終了後、バ・ソファに格納された情報を未確
認lフレームブール19に滞留させる。 また、送達確認フレームを受信した場合は、以下の処理
をする。 イ) 受信イベント処理回路10で、送達確認フレーム
ラ格納する空バッファを空バ・、ファブール11より引
き出す。 口) フレームが格納された後、受信イベント処理回路
10は、送達確認フレーム受信があったことをメインキ
ュー12にキューイングする。 ハ) 送達確認フレームの情報をメインキュー12に滞
留させる。 二) フレーム受信処理回路13によって、未確認lフ
レームブール19内のバッファ解放と送達確認フレーム
格納バッファの解放をする。 なお、前述の第2図において、記号「−〇→」は、バッ
ファに格納された情報の具体的な流れを示すものであり
、また、記号「○」の左肩に付した数字、ローマ数字、
片仮名等の符号は、どの段階の手順によるものであるか
を示すもので、前述の各処理手順の説明で使用した符号
に対応させて、ある。 以上の処理内容を、実行管理処理方式として捕えると、
第3図のようになる。 即ち、ファームウェアによる処理は、外部からの入出力
要求によって処理する割り込みレヘル40のものと、通
常動作として、メインキュー12内に滞留している各種
処理要求を1つ取り出し、要求内容を分析し、それぞれ
の処理を行うベースレベル50のものとに大別すること
ができる。 ここに、図示のように、割り込みレベル40における処
理は、割込解析回路41によって入出力要求の内容を解
析して、要求に応じて、送信イベント処理回路18、受
信イベント処理回路10、バ・ノファ割り当て処理回路
16、バッファ解放処理回路14などにより処理する。 また、ベースレベル50における処理は、メインキュー
12と、フレーム送信処理回路15と、フレーム受信処
理回路13とを利用して、実行管理を行う。 この実行管理処理方式でのlフレーム送信処理は、第4
図の流れ図に従っている。 この第4図の処理は、文献[T T C標準「ユーザ・
網インタフエース、第2巻、第1分冊(発行社団注入 
電信電話技術委員会)」における「l5DNユーザ・網
インタフエース(JT−920゜JT−Q921)J 
]に示されているものである。 次に第4図の流れ図を説明する。 図中のマルチフレーム設定は、5IGIの内部状態を示
している。 マルチフレーム設定状態で上位装置より、lフレーム送
信要求としてDL−データー要求が通知されると(ステ
ップ1O1)、前述の送信イベント処理としてlフレー
ムをサブキュー(Iフレーム送信時ちキュ・−とも呼ぶ
)につみこみ(ステップ102)、送信要求があること
を通知するためメインキューに送信要求(lフレームを
キューにつなげ)を出す(ステップ103)。 その結果、その要求は、キューに滞留し、マルチフレー
ム設定状態に戻る(ステップ104)。 次に、メインキューより取り出したイベントが送信要求
であると(ステップ105)、フレーム送信処理として
対応するデータリンクのlフレームを送信できるか否か
の判断を行う。 送信できるか否かの判断は、相手受信がビジーであるか
否か(ステップ106)と、[V(S)V (A)+K
]が成立するか否か(ステップ107)との2段階に行
われる。 送信が可能な場合には、まず、対応するデータリンクの
サブキューにつながっている先頭のlフレームを取り出
しくステップ1O8)、Iフレームを送信する処理をす
る。 ■フレームを送信する処理は、[P=O]とする処理(
ステップ109)と、さらに【コマンドを送信する処理
(ステップ110)とで構成される。 さらに送信起動後、後処理として送信フレームを未確認
■フレームプールに滞留させるために、送信状態変数の
更新[V (S)=V (S)+ 1]を行い(ステッ
プ111) 、さらに、確認保留中のクリア(ステップ
112)を実行し、タイマー作動中の判断(ステップ1
13)、及び各種タイマーの停止、起動(ステップ11
4)を順に行って、マルチフレーム設定状態(ステップ
116)に戻る。 前記一連のIフレーム送信処理の中で、相手受信ビジー
や、[V (S)=V (A)+K]で送信できないと
判断したときには、送信要求をもう一度発生させる(ス
テップ115)。 すると、そのイベントはメインキューに滞留し、マルチ
フレーム設定状態(ステップ116)に戻る。 以上の動作は、データリンク仕様が複数リンクをサポー
トしているため、各リンク毎に行われる。 第5図(a )、 (b )、 (C,)は、■フレー
ム送信処理を、メインキュー内のイベント動作で示した
ものである。 第5図(a)に示すように、上位装置からのDLデータ
ー要求が通知されると、割り込みレベルで送信イベント
処理回路18による処理が行われ、メインキュー12に
送信要求イベントをいれると供に、予め各リンク毎に用
意されている複数個のサブキュー12A、12B、・・
・・・・12.の中からそのイベントに対するリンクの
サブキューを選出して、そのサブキューに情報をいれて
、処理を終了する。 次にベースレベルにおいて、メインキュー12に滞留し
ているイベントを1つ取り出し、それが送信要求イベン
トであってフレーム送信処理回路15において送信可能
なときは、第5図(b)に示すように、対応するリンク
のサブキュー12.内の先頭情報を取り出し、送信する
。 また、送信不可能時は、第5図(C)に示すように、再
度メインキューに送信要求イベントを戻す。 [発明が解決しようとする課題] しかしながら、第5図に示した従来の実行管理処理方式
では、上位装置からDL−データ要求が通知された場合
には、第5図(a)にも示したように、サブキューに既
に滞留している情報数にかかわらず、すべての送信要求
イベントがメインキューに入れられてしまう。 そのために、送信不可能となるケースが多数発生して、
無駄に送信処理を繰り返す事態が多発して、処理時間の
増大、処理効率の低下といった問題が発生する虞れがあ
った。 また、メインキューを構成する回路としても、容量の大
きなものが必要となるという不都合もあった。 この発明は、前記事情に鑑みてなされたもので、通信制
御処理装置でのフレーム送信処理時において、フレーム
送信不可能時のむだな処理を最小限に抑えて、処理時間
を短縮するとともに処理効率を向上させることができ、
しかも、メインキューを構成する回路の容量を低減させ
ることもできる実行管理処理方式を提供することを目的
とする。 [課題を解決するための手段] この発明に係る実行管理処理方式は、入力されたフレー
ムの処理内容を示すイベントを蓄積するメインキューと
、処理の順序性を保つために前記フレームの情報を各デ
ータリンク毎に蓄積するサブキューとを具備し、高水準
データ伝送手順に基づいて、フレーム単位で情報の送受
信処理を行う通信制御処理装置における実行管理処理方
式である。 具体的には、前述の課題解決の手段として
、イベント入力選択機能と、イベント循環機能とを備え
る。 ここに、イベント入力選択機能は、フレームが入力され
た場合に、そのフレームの情報を蓄積すべきサブキュー
に既に滞留している情報数を検出して、情報数が一定数
以上の場合には、そのフレームのイベントのメインキュ
ーへの蓄積ヲ回避スる機能である。 また、イベント循環機能は、メインキューに滞留してい
るイベントを処理する場合に、そのイベントに対する情
報を蓄積していたサブキューに残存する情報数の検出を
行って、情報が残存している場合には、メインキューか
ら取り出したイベントを再度メインキューに戻す機能で
ある。 そして、本発明に係る実行管理処理方式では、これらの
イベント入力選択機能とイベント循環機能とを利用して
、メインキューに滞留するイベント数を各データリンク
毎に一定数以下に調整する[作用コ 本発明に係る実行管理処理方式は、イベント入力選択機
能とイベント循環機能とによって、メインキューに滞留
するイベント数を、各データリンク毎に用意されたサブ
キューに滞留している情報数に基づいて、各データリン
ク毎に一定数以下に調整するもので、メインキューに滞
留するイベント数を、各データリンク毎に必要最小限に
抑えることができる。 したがって、送信不可能となるデータリンクに対するイ
ベントが多数メインキューに滞留するような事態の発生
を防止することができ、フレーム送信不可能時のむだな
処理を最小限に抑えて、処理時間を短縮するとともに処
理効率を向上させることができる。 しかも、メインキューに滞留するイベント数が一定数以
下に調整されるため、メインキューを構成する回路の容
量を低減させることもでき、ハードウェア的に、装置の
コストを低減させることもできる。 [実施例] 第1図(a )、 (b )、 (C)および第6図は
、本発明に係る通信処理装置における実行管理処理方式
の一実施例を示したものである。 この一実施例の実行管理処理方式は、第1図(a)、 
(b )、 (c )に示すように、入力されたフレー
ムの処理内容を示すイベントを蓄積するメインキュー1
2と、処理の順序性を保つために前記フレームの情報を
各データリンクA、B、N毎に蓄積するサブキュー12
A、12.、・・・・・・12.とを具備する。そして
、高水準データ伝送手順(HDLC)に基づいて、フレ
ーム単位で情報の送受信処理を行う通信制御処理装置に
おける実行管理処理方式であって、端的には、■フレー
ムの送信処理において、送信不可能なデータリンクに対
する無駄な送信処理を最小限に抑えることを解決すべき
課題としたものである。 具体的には、第1図(a)に示す如くイベント入力選択
機能61を備え、また、第1図(b)に示す如くイベン
ト循環機能62を備える。 ここに、イベント入力選択機能61は、フレーム(■フ
レーム)が入力された場合(即ち、上位装置からのDL
−データー要求が通知されたとき)に、割り込みレベル
での送信イベント処理回路18による処理を改善するも
ので、そのフレームの情報を蓄積すべきサブキュー(I
フレーム送信待ちキュー)に既に滞留している情報数を
検出して、滞留している情報が存在する場合には、その
フレームのイベントのメインキュー12への蓄積を回避
し、対応するリンクのサブキューに情報を入れるのみの
処理とする機能である。 第1図(a)の例では、情報A3がサブキュー12Aに
蓄積されるが、このサブキュー12Aには既にAt、A
2の二つの情報が存在しているため、そのイベントは、
新たにメインキュー12に蓄積されることがない。 また、前記イベント循環機能62は、ベースレベルにお
いてメインキーL−12に滞留しているイベントを一つ
取り出して処理する場合に、そのイベントに対する情報
を蓄積していたサブキューに残存する情報数の検出を行
って、そのサブキューに情報が残存している場合には、
メインキュー12から取り出したイベントを再度メイン
キュー12に戻す機能である。 第1図(b)の例は、ベースレベルにおいて、メインキ
ュー12に滞留しているイベントを1つ取り出し、それ
がリンクNに対する送信要求イベントであって、送信可
能な場合を示したもので、この場合、サブキ二一12、
には、まだIフレーム情報が残存しているので、処理済
みのイベントnは再度メインキュー12に戻されている
。 この一実施例の実行管理処理方式では、これらのイベン
ト入力選択機能61とイベント循環機能62とを利用し
て、メインキュー12に滞留するイベント数が、各デー
タリンク毎に一個に調整される。 フレーム送信処理において、送信不可能時は、第1図(
C)に示すように、フレーム送信処理回路15によって
、再度、メインキュー12に送信要求イベントが戻され
る。 以上の如き一実施例における1フレーム送信処理の手順
を、第6図の流れ図に基づいて説明する。 なお、この一実施例の処理は、ステップ200〜207
、ステップ301〜314によって構成されているが、
従来の■フレーム送信処理手順との顕著な差異は、ステ
ップ202,206. ステップ305,308等を、
新規に追加したところにある。 まず、マルチフレーム設定状態(ステップ200)で、
上位装置よりIフレーム送信要求とじてDL−データー
要求が通知される(ステップ201)と、通知されたデ
ータリンクのサブキュー(lフレーム送信待ちキュー)
につまれている情報数(Iフレーム数)を検出している
1キユーカウンタの値が“O”であるか否かを判断する
(ステップ202)。 “0”のときは、送信要求(Iフレームをキューにつな
げ)をメインキュー(実行管理キュー)に入れ(ステッ
プ204)、Iフレームの情報を対応するデータリンク
のサブキューにつみこみ(ステップ205)、対応する
データリンクの■キューカウンタの値をカウントアンプ
する(ステップ206)。 Iキューカウンタの値が“O“でなければ、送信要求は
発生せず、1フレームの情報を対応するデータリンクの
サブキューにつみこみ(ステップ205)、対応するデ
ータリンクのIキューカウンタの値をカウントアツプす
る(ステップ206)。 ステップ206が済むと、再度マルチフレーム設定状態
に戻る(ステップ207)。 一方、メインキューより取り出した情報が送信要求であ
る場合(ステップ301)には、フレーム送信処理とし
て、相手受信がビジーであるか否かの判断(ステップ3
02)、および、[V(S)=V (A)+K]が成立
するか否かの判断(ステップ303)がなされ、これら
の判断に基づいて、対応するリンクのIフレームを送信
できるか否かが判断される。 ステップ302,303によって送信が可能な場合には
、対応するデータリンクのサブキューにつながっている
先頭の1フレームを取り出す(ステ、ブ304)ととも
に、対応するデータリンクの1キユーカウンタの値をカ
ウントダウンしく305)、rフレームを送信する処理
として、[P−O]とする処理(ステップ306)と1
コマンドを送信する処理(ステップ307)とを行う。 そして、送信起動後、対応するデータリンクのIキュー
カウンタの値が“O″であるか否かを判断しくステップ
308)、“O”でなければ送信要求をメインキューに
いれる(ステップ309)。 Iキューカウンタの値を判断した後、その後処理として
、送信状態変数の更新[V (S) =v (s)+1
]を実行しくステップ310)、さらに確認保留中のク
リアを実行する(ステップ311)。 次いで、タイマー作動中の判断を実行しくステップ31
2)、及び各種タイマーの停止、起動を行い(ステップ
313)、マルチフレーム設定状態に戻る(ステップ3
15)。 前記一連のIフレーム送信処理の中で、相手受信ビジー
や[V (S) −V (A)+K]のために送信でき
ないと判断した時には、送信要求をもう一度発生しくス
テップ314)、その情報はメインキューに滞留して、
マルチフレーム設定状態に戻る(ステップ315)。 以上の説明で明らかなように、前記一実施例の実行管理
処理方式は、イベント入力道択機能61とイベント循環
機能62とによって、メインキュー12に滞留するイベ
ント数を、各データリンク毎に用意されたサブキュー1
2A、12B、・・・・・・128に滞留している情報
数に基ついて、各テータリンク毎に一定数以下に調整す
るもので、メインキー−12に滞留するイベント数を、
各データリンク毎に必要最小限に抑えることができる。 したがって、送信不可能となるデータリンクに対するイ
ベントが多数メインキュー12に滞留スるような事態の
発生を防止することができ、フレーム送信不可能時のむ
だな処理を最小限に抑えて処理時間を短縮するとともに
処理効率を向上させることができる。 しかも、メインキュー12に滞留するイベント数が一定
数以下に調整されるため、メインキュー12を構成する
回路の容量を低減させることもでき、ハードウェア的に
、装置のコストを低減させることもできる。 なお、前述の実施例では、イベント入力選択機能61は
、フレーム(rフレーム)が入力された場合に、そのフ
レームの情報を蓄積すべきサブキュー(Iフレーム送信
待ちキュー)に既に滞留している情報数を検出して、滞
留している情報が一つでも存在すれば、そのフレームの
イベントのメインキュー12への蓄積を回避することと
したが、サブキューに滞留している情報数が一定数以上
(例えば、2個以上)の場合にのみ蓄積を回避する方式
も考えられる。 また、メインキュー12に滞留するイベント数は、実施
例の如く各データリンク毎に1個に限定するものではな
い。例えば、フレーム送信処理回路15の処理速度等を
考慮して、各データリンク毎に2個以下、あるいは3個
以下といったように、任意の一定数以下に制限すること
としても、無駄な送信処理を削減する上では、効果を上
げることができる。 [発明の効果コ 以上、詳細に説明したように、本発明に係る実行管理処
理方式は、イベント入力選択機能とイベント循環機能と
によって、メイン十−一に滞留するイベント数を、各デ
ータリンク毎に用意されたサブキューに滞留している情
報数に基づいて、各データリンク毎に一定数以下に調整
するもので、メインキューに滞留するイベント数を、各
データリンク毎に必要最小限に抑えることができる。 したがって、送信不可能となるデータリンクに対するイ
ベントが多数メインキューに滞留するような事態の発生
を防止することができ、フレーム送信不可能時のむだな
処理を最小限に抑えて、処理時間を短縮するとともに処
理効率を向上させることができる。 しかも、メインキューに滞留するイベント数が一定数以
下に調整されるため、メインキューを構成する回路の容
量を低減させることもでき、ハードウェア的に、装置の
コストを低減させることもできる。
[IEICE Technical Report Vol. 1.87. Regarding the evaluation and verification of the rlsDN protocol processing device published by the Institute of Electronics, Information and Communication Engineers (IEICE) Technical Research Report 9 (SE87-84)j]. FIG. 2 functionally shows the configuration of a conventional communication control processing device, focusing on processing when transmitting and receiving frames, which are the flow of information. In this illustrated example, the 15DN layer ① protocol processing device (hereinafter referred to as SIG) 1 corresponds to the communication control processing device, and this 5ICI is connected to the opposite device 2 and the higher-level device 3. The operation will be explained below. When the 5IGI receives a frame from the opposite device 2, it performs the following processing as a reception operation. 1) The reception event processing circuit 10 extracts the buffer for storing the reception frame from the empty buffer Boolean 11. 2) After storing the information of the received frame in the buffer, the reception event processing circuit 10 queues the fact that the frame has been received in the main queue (also called an execution management queue or a processing queue) 12. 3) Information stored in the buffer remains in the main queue 12. 4) By frame reception processing 13, main queue 1
Pull out the information stored in 2 and LA P-D
(Link Access Procedure on
the Dhannel) process. This LAP-D is based on the document [TTC standard “User
Network Interface, Volume 2, Part 1 (Published by Telegraph and Telephone Technology Committee)
Network interface (JT920, JT-Q921) Jl
As shown in Figure 3, this is a typical process in layer (2). 5) The information is notified to the higher-level device 3, and the reception processing circuit 30 of the higher-level device 3 performs the reception process. 6) After the reception processing in the host device 3 is completed, the buffer release processing circuit 14 stores the empty buffer in the empty buffer Boolean 11. Additionally, if it is necessary to issue a delivery confirmation frame, the following processing is performed. ) The frame reception processing circuit I3 pulls out a buffer for transmitting the acknowledgment frame from the empty buffer Boolean it, and queues the transmission of the acknowledgment frame in the main queue 12. i) Delivery confirmation frame information is retained in the main queue 12. iii) The frame transmission processing circuit 15 extracts the delivery confirmation frame information from the main queue 12 and performs the delivery confirmation frame transmission processing. IV) After the transmission process, the buffer release processing circuit 14 stores the empty buffer in the empty buffer Boolean. Also, when transmitting a frame from the host device 3,
5ICI performs the following processing as a transmission operation. A) Due to a buffer allocation request from the host device 3,
5IGI uses the buffer allocation processing circuit 16 to extract an empty buffer from the empty buffer Boolean 11 and notifies the host device 3 of the empty buffer. B) The transmission processing circuit 17 of the host device 3 stores the information and notifies the transmission event processing circuit 18 of the transmission request. C) The transmission event processing circuit 18 queues in the main queue 12 that there is a transmission request. D) Information on the transmitted frame remains in the main key 5-12. E) The frame transmission processing circuit 15 extracts the information of the transmission frames retained in the main queue 12, and
Perform AP-D processing. F> After the transmission is completed, the information stored in the buffer is retained in the unconfirmed frame boolean 19. Furthermore, when a delivery confirmation frame is received, the following processing is performed. b) The reception event processing circuit 10 extracts an empty buffer for storing the delivery confirmation framer from the empty buffer 11. After the frame is stored, the reception event processing circuit 10 queues in the main queue 12 that the delivery confirmation frame has been received. c) The information of the delivery confirmation frame is retained in the main queue 12. 2) The frame reception processing circuit 13 releases the buffer in the unconfirmed l frame boolean 19 and the delivery confirmation frame storage buffer. In the above-mentioned FIG. 2, the symbol "-〇→" indicates the specific flow of information stored in the buffer, and the number attached to the left shoulder of the symbol "○", Roman numeral,
Codes such as katakana indicate which step of the procedure is involved, and correspond to the codes used in the explanation of each processing procedure above. If we consider the above processing as an execution management processing method,
It will look like Figure 3. That is, the processing by the firmware is that of the interrupt level 40 that is processed by input/output requests from the outside, and as a normal operation, one of the various processing requests accumulated in the main queue 12 is taken out, the request content is analyzed, It can be roughly divided into 50 base levels that perform each type of processing. As shown in the figure, the processing at the interrupt level 40 involves an interrupt analysis circuit 41 analyzing the contents of the input/output request, and depending on the request, transmitting event processing circuit 18, receiving event processing circuit 10, and Processing is performed by the nofa allocation processing circuit 16, buffer release processing circuit 14, and the like. Further, the processing at the base level 50 is executed and managed using the main queue 12, the frame transmission processing circuit 15, and the frame reception processing circuit 13. The l frame transmission process in this execution management processing method is
Follow the flowchart in figure. The process shown in FIG.
Net Interface, Volume 2, Part 1 (Publishing Association Injection)
``15DN User Network Interface (JT-920゜JT-Q921)J'' in ``Telegraph and Telephone Technical Committee)''
]. Next, the flowchart shown in FIG. 4 will be explained. The multi-frame setting in the figure shows the internal state of 5IGI. When a DL-data request is notified as an l-frame transmission request from the higher-level device in a multi-frame setting state (step 1O1), the l-frame is sent to a subqueue (also called a queue when transmitting an I-frame) as the above-mentioned transmission event process. and sends a transmission request (connecting l frames to the queue) to the main queue to notify that there is a transmission request (step 103). As a result, the request remains in the queue and returns to the multiframe setting state (step 104). Next, if the event extracted from the main queue is a transmission request (step 105), it is determined whether or not one frame of the corresponding data link can be transmitted as frame transmission processing. The determination of whether or not transmission is possible is based on whether or not the receiving end is busy (step 106) and [V(S)V (A)+K
] holds true (step 107). If transmission is possible, first, the first I frame connected to the subqueue of the corresponding data link is taken out (step 108), and the I frame is transmitted. ■The process of transmitting a frame is the process of setting [P=O] (
The process consists of step 109) and a process of transmitting a command (step 110). Furthermore, after the transmission is started, the transmission state variable is updated [V (S) = V (S) + 1] in order to make the transmission frame remain in the unconfirmed frame pool as a post-processing (step 111), and then the confirmation is suspended. Clear the timer (step 112) and determine whether the timer is running (step 1).
13), and stopping and starting various timers (step 11)
4) in order and return to the multi-frame setting state (step 116). During the series of I frame transmission processing, when it is determined that the other party is busy receiving data or cannot be transmitted due to [V(S)=V(A)+K], a transmission request is issued again (step 115). Then, the event stays in the main queue, and the process returns to the multiframe setting state (step 116). The above operations are performed for each link because the data link specification supports multiple links. FIGS. 5(a), 5(b), and 5(c) show (1) frame transmission processing using event operations in the main queue. As shown in FIG. 5(a), when a DL data request from a higher-level device is notified, processing is performed by the transmission event processing circuit 18 at the interrupt level, and the transmission request event is placed in the main queue 12. , a plurality of subqueues 12A, 12B, prepared in advance for each link.
...12. A subqueue with a link to the event is selected from among the subqueues, information is put into the subqueue, and the process ends. Next, at the base level, one event retained in the main queue 12 is taken out, and if it is a transmission request event and can be transmitted by the frame transmission processing circuit 15, as shown in FIG. 5(b). , the corresponding link's subqueue 12. Extract the first information within and send it. Furthermore, when transmission is impossible, the transmission request event is returned to the main queue again, as shown in FIG. 5(C). [Problems to be Solved by the Invention] However, in the conventional execution management processing method shown in FIG. 5, when a DL-data request is notified from a host device, the process shown in FIG. As such, all transmission request events are placed in the main queue, regardless of the amount of information already stored in the subqueue. As a result, there are many cases where it becomes impossible to send,
There is a possibility that problems such as an increase in processing time and a decrease in processing efficiency may occur due to frequent occurrences of unnecessary repetition of transmission processing. Another disadvantage is that the main queue requires a large-capacity circuit. The present invention has been made in view of the above circumstances, and reduces processing time and improves processing efficiency by minimizing wasteful processing when frame transmission is not possible during frame transmission processing in a communication control processing device. can improve,
Moreover, it is an object of the present invention to provide an execution management processing method that can also reduce the capacity of the circuit that constitutes the main queue. [Means for Solving the Problems] The execution management processing method according to the present invention includes a main queue that accumulates events indicating the processing contents of input frames, and a main queue that stores the information of the frames in order to maintain the order of processing. This is an execution management processing method in a communication control processing device that includes a subqueue that is accumulated for each data link and performs information transmission and reception processing in frame units based on a high-level data transmission procedure. Specifically, as a means for solving the above problem, an event input selection function and an event circulation function are provided. Here, when a frame is input, the event input selection function detects the number of information already stored in the subqueue in which the information of that frame should be stored, and if the number of information is more than a certain number, This function avoids the accumulation of events of that frame in the main queue. In addition, when processing an event that has accumulated in the main queue, the event circulation function detects the number of information remaining in the subqueue that has stored information for that event, and if any information remains, is a function that returns events taken from the main queue to the main queue. The execution management processing method according to the present invention utilizes these event input selection functions and event circulation functions to adjust the number of events staying in the main queue to a certain number or less for each data link. The execution management processing method according to the present invention uses an event input selection function and an event circulation function to determine the number of events retained in the main queue based on the number of information retained in the subqueue prepared for each data link. By adjusting the number of events to a certain number or less for each data link, it is possible to suppress the number of events staying in the main queue to the necessary minimum for each data link. Therefore, it is possible to prevent a situation in which a large number of events for data links that cannot be sent remain in the main queue, minimizing wasteful processing when frames cannot be sent, and reducing processing time. At the same time, processing efficiency can be improved. Furthermore, since the number of events staying in the main queue is adjusted to a certain number or less, the capacity of the circuits forming the main queue can be reduced, and the cost of the device can also be reduced in terms of hardware. [Embodiment] FIGS. 1(a), (b), (C) and FIG. 6 show an embodiment of an execution management processing method in a communication processing device according to the present invention. The execution management processing method of this embodiment is shown in FIG. 1(a).
As shown in (b) and (c), main queue 1 accumulates events indicating the processing content of input frames.
2, and a subqueue 12 for storing the frame information for each data link A, B, and N in order to maintain order of processing.
A, 12. ,...12. and. It is an execution management processing method in a communication control processing device that performs information transmission and reception processing in frame units based on the high-level data transmission procedure (HDLC). The problem to be solved is to minimize wasteful transmission processing for data links. Specifically, it is provided with an event input selection function 61 as shown in FIG. 1(a), and an event circulation function 62 as shown in FIG. 1(b). Here, the event input selection function 61 selects when a frame (■ frame) is input (i.e., when a DL from a host device is input).
- When a data request is notified), this improves the processing by the transmission event processing circuit 18 at the interrupt level, and the subqueue (I
The number of information already accumulated in the frame transmission waiting queue is detected, and if there is accumulated information, the event of the frame is prevented from being accumulated in the main queue 12, and the event is queued in the corresponding link's subqueue. This is a function that only inputs information into the . In the example of FIG. 1(a), information A3 is stored in the subqueue 12A, but this subqueue 12A has already been stored with At and A.
Since there are two pieces of information (2), the event is
No new data is accumulated in the main queue 12. Furthermore, when the event circulation function 62 extracts and processes one event that has accumulated in the main key L-12 at the base level, the event circulation function 62 detects the number of information remaining in the subqueue that has accumulated information for that event. and if there is information remaining in that subqueue,
This is a function to return an event taken out from the main queue 12 to the main queue 12 again. The example in FIG. 1(b) shows a case where one event retained in the main queue 12 is taken out at the base level, and it is a transmission request event for link N and can be transmitted. In this case, Subki 2112,
Since the I frame information still remains in , the processed event n is returned to the main queue 12 again. In the execution management processing method of this embodiment, the event input selection function 61 and the event circulation function 62 are used to adjust the number of events retained in the main queue 12 to one for each data link. In frame transmission processing, if transmission is not possible, see Figure 1 (
As shown in C), the frame transmission processing circuit 15 returns the transmission request event to the main queue 12 again. The procedure of one frame transmission processing in one embodiment as described above will be explained based on the flowchart of FIG. 6. Note that the processing in this embodiment includes steps 200 to 207.
, consists of steps 301 to 314,
The notable difference from the conventional frame transmission processing procedure is steps 202, 206 . Steps 305, 308, etc.
It's in the newly added area. First, in the multi-frame setting state (step 200),
When a DL-data request is notified as an I-frame transmission request from a higher-level device (step 201), a subqueue (I-frame transmission waiting queue) of the notified data link is sent.
It is determined whether the value of the 1-queue counter that detects the number of information contained in the frame (number of I frames) is "O" (step 202). When it is "0", the transmission request (connecting the I frame to the queue) is put into the main queue (execution management queue) (step 204), and the information of the I frame is put into the corresponding data link subqueue (step 205). , the value of the queue counter of the corresponding data link is counted and amplified (step 206). If the value of the I-queue counter is not "O", no transmission request is generated, one frame of information is loaded into the subqueue of the corresponding data link (step 205), and the value of the I-queue counter of the corresponding data link is loaded. Count up (step 206). After step 206 is completed, the process returns to the multi-frame setting state again (step 207). On the other hand, if the information retrieved from the main queue is a transmission request (step 301), the frame transmission process involves determining whether or not the receiving party is busy (step 3).
02), and whether or not [V(S)=V(A)+K] holds (step 303), and based on these judgments, it is determined whether the I frame of the corresponding link can be transmitted. will be judged. If transmission is possible in steps 302 and 303, the first frame connected to the subqueue of the corresponding data link is taken out (step 304), and the value of the 1 queue counter of the corresponding data link is counted down. Step 305), as the process of transmitting the r frame, the process of setting [P-O] (step 306) and 1
A process of transmitting a command (step 307) is performed. After starting the transmission, it is determined whether the value of the I-queue counter of the corresponding data link is "O" (step 308), and if it is not "O", the transmission request is placed in the main queue (step 309). After determining the value of the I queue counter, as a subsequent process, update the transmission state variable [V (S) = v (s) + 1
] is executed (step 310), and the confirmation pending is cleared (step 311). Next, step 31 is performed to determine whether the timer is operating.
2), and stops and starts various timers (step 313), and returns to the multi-frame setting state (step 3).
15). During the series of I-frame transmission processing, if it is determined that transmission is not possible because the other party is busy receiving or [V (S) - V (A) + K], a transmission request is issued again (step 314), and the information is stays in the main queue,
The process returns to the multi-frame setting state (step 315). As is clear from the above explanation, in the execution management processing method of the embodiment, the number of events retained in the main queue 12 is prepared for each data link by the event input option selection function 61 and the event circulation function 62. subqueue 1
Based on the number of information stored in 2A, 12B, 128, the number of events stored in main key 12 is adjusted to a certain number or less for each data link.
It is possible to reduce the number of data links to the necessary minimum for each data link. Therefore, it is possible to prevent a situation in which a large number of events for data links that cannot be transmitted remain in the main queue 12, and to minimize unnecessary processing when frames cannot be transmitted, thereby reducing processing time. It is possible to shorten the time and improve processing efficiency. Furthermore, since the number of events staying in the main queue 12 is adjusted to a certain number or less, the capacity of the circuits that make up the main queue 12 can be reduced, and the cost of the device can also be reduced in terms of hardware. . In the above-mentioned embodiment, when a frame (r frame) is input, the event input selection function 61 selects the information already accumulated in the subqueue (I frame transmission waiting queue) in which the information of the frame should be stored. If the number of accumulated information is detected, the event of that frame is avoided from being accumulated in the main queue 12, but if the number of accumulated information in the subqueue exceeds a certain number. A method of avoiding accumulation only in the case of (for example, two or more) is also conceivable. Furthermore, the number of events retained in the main queue 12 is not limited to one for each data link as in the embodiment. For example, considering the processing speed of the frame transmission processing circuit 15, etc., it may be possible to limit the number of frames to a certain number or less, such as 2 or less or 3 or less for each data link, to avoid unnecessary transmission processing. In terms of reduction, it is possible to increase the effect. [Effects of the Invention] As explained in detail above, the execution management processing method according to the present invention uses the event input selection function and the event circulation function to reduce the number of events staying in main 1-1 for each data link. The number of events retained in the main queue is adjusted to a certain number or less for each data link based on the number of information retained in the subqueue prepared in the main queue. I can do it. Therefore, it is possible to prevent a situation in which a large number of events for data links that cannot be sent remain in the main queue, minimizing wasteful processing when frames cannot be sent, and reducing processing time. At the same time, processing efficiency can be improved. Furthermore, since the number of events staying in the main queue is adjusted to a certain number or less, the capacity of the circuits forming the main queue can be reduced, and the cost of the device can also be reduced in terms of hardware.

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

第1図(a )、 (b )、 (c )はそれぞれ本
発明の一実施例におけるIフレーム送信処理の説明図、
第2図は従来の通信制御処理装置の機能説明図、第3図
はフレーム送受信時の実行管理処理の概略説明図、第4
図は従来のIフレーム送信処理の手順を示す流れ図、第
5図(a )、 (b )、 (c )はそれぞれ従来
の実行管理処理方式におけるIフレーム送信処理の説明
図、第6図は本発明の一実施例における1フレーム送信
処理の手順を示す流れ図である。 12・・・・・・メインキュー 12A、12.、・・
・・・・129・・・・・・サブキュー 15・・・・
・・フレーム送信処理回路、18・・・・・・送信イベ
ント処理回路、61・・、・・イベント入力遺沢回路、
62・・・・・・イベント循環機能。
FIGS. 1(a), (b), and (c) are explanatory diagrams of I frame transmission processing in an embodiment of the present invention, respectively;
Fig. 2 is a functional explanatory diagram of a conventional communication control processing device, Fig. 3 is a schematic explanatory diagram of execution management processing during frame transmission and reception, and Fig. 4
The figure is a flowchart showing the procedure of conventional I frame transmission processing, Figures 5 (a), (b), and (c) are explanatory diagrams of I frame transmission processing in the conventional execution management processing method, and Figure 6 is a flowchart showing the procedure of conventional I frame transmission processing. 3 is a flowchart showing the procedure of one frame transmission processing in an embodiment of the invention. 12... Main queue 12A, 12. ,...
...129...Sub queue 15...
. . . Frame transmission processing circuit, 18 . . . Transmission event processing circuit, 61 . . . Event input residual circuit,
62...Event circulation function.

Claims (1)

【特許請求の範囲】 入力されたフレームの処理内容を示すイベントを蓄積す
るメインキューと、処理の順序性を保つために前記フレ
ームの情報を各データリンク毎に蓄積するサブキューと
を具備し、高水準データ伝送手順に基づいて、フレーム
単位で情報の送受信処理を行う通信制御処理装置におけ
る実行管理処理方式であって、 フレームが入力された場合に、そのフレームの情報を蓄
積すべきサブキューに既に滞留している情報数を検出し
て、情報数が一定数以上の場合には、そのフレームのイ
ベントのメインキューへの蓄積を回避するイベント入力
選択機能を備え、かつ、メインキューに滞留しているイ
ベントを処理する場合に、そのイベントに対する情報を
蓄積していたサブキューに残存する情報数の検出を行っ
て、情報が残存している場合には、メインキューから取
り出したイベントを再度メインキューに戻すイベント循
環機能を備え、 これらイベント入力選択機能とイベント循環機能とを利
用して、メインキューに滞留するイベント数を各データ
リンク毎に一定数以下に調整することを特徴とする通信
制御処理装置における実行管理処理方式。
[Scope of Claims] A high performance data processing system comprising a main queue that accumulates events indicating processing contents of input frames, and a subqueue that accumulates information on the frames for each data link in order to maintain order of processing. An execution management processing method in a communication control processing device that performs information transmission and reception processing in frame units based on standard data transmission procedures, and when a frame is input, the information of that frame is already stored in the subqueue where it should be stored. It is equipped with an event input selection function that detects the number of information in the frame and, if the number of information exceeds a certain number, prevents the events of that frame from being accumulated in the main queue, and the event remains in the main queue. When processing an event, detect the amount of information remaining in the subqueue that had accumulated information for that event, and if any information remains, return the event taken from the main queue to the main queue again. A communication control processing device having an event circulation function, and adjusting the number of events staying in the main queue to a certain number or less for each data link by using the event input selection function and the event circulation function. Execution management processing method.
JP1224521A 1989-09-01 1989-09-01 Execution management processing method in communication control processing device Expired - Lifetime JPH0720159B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1224521A JPH0720159B2 (en) 1989-09-01 1989-09-01 Execution management processing method in communication control processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1224521A JPH0720159B2 (en) 1989-09-01 1989-09-01 Execution management processing method in communication control processing device

Publications (2)

Publication Number Publication Date
JPH0389754A true JPH0389754A (en) 1991-04-15
JPH0720159B2 JPH0720159B2 (en) 1995-03-06

Family

ID=16815104

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1224521A Expired - Lifetime JPH0720159B2 (en) 1989-09-01 1989-09-01 Execution management processing method in communication control processing device

Country Status (1)

Country Link
JP (1) JPH0720159B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9548744B2 (en) 2014-08-18 2017-01-17 Qualcomm Incorporated Compensating for hysteretic characteristics of crystal oscillators

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9548744B2 (en) 2014-08-18 2017-01-17 Qualcomm Incorporated Compensating for hysteretic characteristics of crystal oscillators

Also Published As

Publication number Publication date
JPH0720159B2 (en) 1995-03-06

Similar Documents

Publication Publication Date Title
CN100544243C (en) Make the method and system of Network Transmission deceleration in the application layer of emission server
US5706516A (en) System for communicating messages among agent processes
CA2124452C (en) Method and apparatus for processing data within stations of a communication network
US5732286A (en) FIFO based receive packet throttle for receiving long strings of short data packets
CN1155362A (en) Intellignet communciations network
US6359895B1 (en) Communication control apparatus and method for controlling communications on a network having a tree-shape to improve the usage of buffers and reduce undesirable discard of data
CN109450691A (en) Gateway monitoring method, equipment and computer readable storage medium
CN104683460B (en) A kind of communication means of Internet of Things, device and server
EP0787396A1 (en) Parallel execution of requests in osi agents
JPH0389754A (en) Execution management processing system in communication control processing equipment
US20010008530A1 (en) Shaper and scheduling method for use in the same
CN116414534A (en) Task scheduling method, device, integrated circuit, network equipment and storage medium
US7068604B2 (en) Managing memory resident queues to control resources of the systems using the queues
EP2498452A1 (en) Client terminal interface machine, service terminal interface machine, and message processing method and system thereof
AU2002246078B2 (en) Method for the selective and collective transmission of messages in a tmn network
US20020091719A1 (en) Ferris-wheel queue
EP0466467B1 (en) A method of processing access service requests in data processing systems, such as telephone exchanges, and a distributed system applying said method
JP2647002B2 (en) Packet switching device that can manage transmission priority
EP1220511A2 (en) Memory management for packet storage
FI87715C (en) Process for processing the service request in data processing systems, such as in telephone exchanges and a distributed system applying the method
Marsan et al. Dynamic polling orders in multiserver multiqueue systems
JP2001331390A (en) Network managing system
KR20000073773A (en) Method for minimizing load of system when statistics data is transferring in mobile communication swiching board
CN116016349A (en) Message scheduling method, device and system
CN1859352A (en) Method for realizing service speech loading