JPH02230449A - Matrix control system for communication control program - Google Patents

Matrix control system for communication control program

Info

Publication number
JPH02230449A
JPH02230449A JP1051786A JP5178689A JPH02230449A JP H02230449 A JPH02230449 A JP H02230449A JP 1051786 A JP1051786 A JP 1051786A JP 5178689 A JP5178689 A JP 5178689A JP H02230449 A JPH02230449 A JP H02230449A
Authority
JP
Japan
Prior art keywords
processing
matrix
control
state
analyzer
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
JP1051786A
Other languages
Japanese (ja)
Inventor
Toshiya Igarashi
五十嵐 敏也
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
Original Assignee
Fujitsu 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 filed Critical Fujitsu Ltd
Priority to JP1051786A priority Critical patent/JPH02230449A/en
Publication of JPH02230449A publication Critical patent/JPH02230449A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To reduce the developing manhour of a program by preparing a matrix analyzer processing part which analyzes a matrix table via a processing logic which is not dependent on the communication control means and then calls a processing module. CONSTITUTION:A part related directly to a matrix includes a matrix analyzer processing part 13 and a matrix table 17 so as to eliminate the dependence on the protocol procedure, etc. These part 13 and table 17 are completely independent of various processing modules 22a, 22b... which are dependent on the control procedure. Thus it is possible to omit a state checking process, etc., in the processing module and therefore to perform the integrated and universal control of the matrix which does not depend on each communication control procedure. Then the developing manhour of a program is reduced and the overall program constitution is facilitated.

Description

【発明の詳細な説明】 〔概要〕 計算機システムにおいて,各種制御手順に応じた状態遷
移を伴う回線制御を行う回線制御プログラムのマトリク
ス制御方式に関し 個々の回線制御手順に依存しない統一的・汎用的なマト
リクスの制御を行う手段を提供し.プログラム開発工数
の低減やプログラム構成の簡易化を可能にすることを目
的とし 現状態に応じて.制御手順に依存する状態遷移に関連す
る処理を行う複数の処理モジュールからなる制御手順依
存部と,状態遷移に関する情報を回線の制御手順に依存
しないあらかじめ定められた形式により,テーブル化し
て記憶するマl・リクステーブルと1マトリクステーブ
ルを,回線の制御手順に依存しないあらかじめ定められ
た処理ロジックにより解析し.制御手順依存部の中の処
理モジュールを呼び出す処理を行うマトリクスアナライ
ザ処理部とを備えるように構成する。
[Detailed Description of the Invention] [Summary] Regarding the matrix control method of a line control program that performs line control with state transitions according to various control procedures in a computer system, a unified and general-purpose method that does not depend on individual line control procedures is provided. Provides a means to control the matrix. The purpose is to reduce program development man-hours and simplify program configuration, depending on the current situation. A control procedure-dependent section consisting of multiple processing modules that performs processes related to state transitions that depend on control procedures, and a module that stores information about state transitions in a tabular form in a predetermined format that does not depend on line control procedures. The L-Risk table and the 1-Matrix table are analyzed using predetermined processing logic that does not depend on the line control procedure. and a matrix analyzer processing section that performs a process of calling a processing module in the control procedure dependent section.

〔産業上の利用分野〕[Industrial application field]

本発明は,計算機システムにおいて,各種制1′6■手
順に応じた状態遷移を伴う回線制御を行う回線制御プロ
グラムのマトリクス制御方式に関する。
The present invention relates to a matrix control method for a line control program in a computer system that performs line control with state transitions according to various procedures.

回線を介して,端末や他システムとの通信を行う計算機
システムでは,通信相手とのブロ1・コル等に応じた各
種の回線制御が必要になる。1システムにおいて,複数
種類の回線制御が必要になったり,制御手順の変更が必
要になったりすることがあるので,これらに柔軟に対処
できるようにすることが望まれる。
In a computer system that communicates with terminals or other systems via lines, various types of line control are required depending on the communication partner's communication status. In one system, multiple types of line control may be required, or control procedures may need to be changed, so it is desirable to be able to deal with these flexibly.

〔従来の技術〕[Conventional technology]

回線の制御.特に複数セション(バス)の制御を行うよ
うなプログラムは,状態と事象との関係により,実施す
べき処理とその処理後の状態とを示ずマI・リクス(状
態遷移表)に従い制御される場合が多い。そのため,回
線制御プログラムの開発者は,紙面に状態遷移を示すマ
トリクスを書き表し,それを参照しながらプログラムの
開発を行うようにしている。
Line control. In particular, programs that control multiple sessions (buses) are controlled according to a matrix (state transition table) that does not indicate the processing to be performed and the state after processing, due to the relationship between states and events. There are many cases. For this reason, developers of line control programs write down a matrix showing state transitions on paper and refer to it while developing their programs.

71・リクスの情報をテーブル化して計算機に記憶させ
,そのテーブルを用いることにより.発生した事象と状
態とを判別して,自動的に処理の振り分けを行うことも
考えられているが,マトリクスの情報から,どのように
テーブルを作成するかという具体的な手法が確立してお
らず,また,計算機に記41されたマトリクステーブル
を解析し,処理を振り分ける処理ロジックについて,汎
用的なロジソクが存在しないため,プログラム開発者は
,各種の制御手順に応じて,ケース・ハイ・ゲースで対
処しなげればならなかった。
71. By creating a table of risk information, storing it in a computer, and using that table. Although it has been considered to automatically allocate processing by determining the event and status that have occurred, no concrete method has been established for how to create a table from the information in the matrix. Furthermore, since there is no general-purpose logic for analyzing the matrix table recorded in the computer and distributing the processing, program developers have to create case-high-case logic according to various control procedures. I had to deal with it.

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

従来方式では,71・リクステーブルおよびそれを解析
する処理部を,制御手順に応じたプログラムごと,また
はプログラム開発者ごとに,別々なテーフル構成および
処理ロジソクにより作成することになるため,プログラ
ム開発者の負担が大きく,開発工数が増大ずるという問
題があった。また,開発されたプログラムが分かりにく
くなるという問題があった。
In the conventional method, the 71 RIX table and the processing unit that analyzes it are created using separate table configurations and processing logic for each program depending on the control procedure or for each program developer. The problem was that the workload was heavy and the number of development man-hours increased. Another problem was that the developed program was difficult to understand.

本発明は上記問題点の解決を図り,個々の回線制御手順
に依存しない統一的・汎用的なマトリクスの制御を行う
手段を提供し,プログラム開発工数の低減や,全体のプ
ログラム構成の簡易化を可能にすることを目的としてい
る。
The present invention aims to solve the above problems and provides a means for performing unified and general-purpose matrix control that does not depend on individual line control procedures, thereby reducing the number of program development steps and simplifying the overall program configuration. It aims to make it possible.

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

第1図は本発明の構成例を示す。 FIG. 1 shows an example of the configuration of the present invention.

第1図において,10はCPUおよびメモリなどからな
る処理装置,Ila,llbはデータ通信を行いデータ
を処理する応用処理部,12はプロトコルや各種制御手
順に従って回線を介した通信の制御を行う回線制御部,
13は71・リクスアナライザ処理部,14はモードチ
ェソクアナライザ.15は種別チェソクアナライザ,1
6は処理状態チェソクアナライザ,17は状態遷移に関
する情報をテーブル化して記憶する71・リクステーブ
ル,18はモードチェソクテーブル,1つは種別チェソ
クテーブル,20は処理状tWチェ7クテーブル,21
ぱ制御手順依存部,22a,22b22cは処理モジュ
ールを表す。
In FIG. 1, 10 is a processing unit consisting of a CPU and memory, Ila and Ilb are application processing units that perform data communication and process data, and 12 is a line that controls communication via the line according to protocols and various control procedures. control unit,
13 is a 71 risk analyzer processing unit, and 14 is a mode check analyzer. 15 is type Chesoku analyzer, 1
6 is a processing state check analyzer, 17 is a table 71 for storing information regarding state transitions in the form of a table, 18 is a mode check table, 1 is a type check table, 20 is a processing state tW check table, 21
The control procedure dependent units 22a, 22b and 22c represent processing modules.

回線制御部12ぱ,状態遷移を伴う回線制御を行うプロ
グラムおよびテーブルによって構成される。回線制御部
12のプログラムは,各種制御手順に依存する制御手順
依存部21と,制御手順に依存しないマトリクスアナラ
イザ処理部13等からなる。また,回線制御部12が扱
うテーブルとして,マトリクステーブル17が設けられ
る。これは,マトリクスアナライザ処理部13によって
参照されるようになっており,そのテーブルの形式が,
制御手順に依存しないようになっている。
The line control unit 12 is composed of programs and tables that perform line control with state transitions. The program of the line control section 12 consists of a control procedure dependent section 21 that depends on various control procedures, a matrix analyzer processing section 13, etc. that does not depend on control procedures. Further, a matrix table 17 is provided as a table handled by the line control unit 12. This table is referred to by the matrix analyzer processing unit 13, and the format of the table is as follows.
It is designed to be independent of control procedures.

第1図に示す例では,マトリクステーブル17は,モー
ドチェノクテーブル18と種別チェソクテーブル19と
処理状態チェソクテーブル20とによって,階層的に構
成されている。
In the example shown in FIG. 1, the matrix table 17 is hierarchically structured by a mode check table 18, a type check table 19, and a processing state check table 20.

モードチェソクテーブル18は,処理の「要求」である
か,「完了」であるかのモードに対応する種別チエノク
テーブル19へのポインタを持つ。
The mode check table 18 has a pointer to the type check table 19 corresponding to the mode of processing, ``request'' or ``completion.''

種別チェソクテーブル19は,「要求」および「完了」
ごとに,事象の種別情報に対応ずる処理状態チェソクテ
ーブル20へのボインクを持つ。
Type check table 19 shows “request” and “completed”
For each event, there is a link to the processing status check table 20 corresponding to the event type information.

処理状態チェソクテーブル20は,現在の状態に対して
,事象が発生した場合に実施する処理と,処理後の状態
の情報を持つ。また,ざらに他のマI・リクスによる状
態遷移の制御が必要である場合にば,そのマI・リクス
を制御ずるための別なマトリクステーブルに対するポイ
ンタを持つ。
The process status check table 20 has information on the process to be performed when an event occurs and the status after the process for the current status. In addition, if it is necessary to control the state transition by another matrix, it has a pointer to another matrix table for controlling that matrix.

マI・リクスアナライザ処理部]3は.事象が発生する
と,まずモードチェソクアナライザ14により,モード
チエノクテーブル18を検索し.該当する種別チェソク
テーブル19のアドレスを得て,種別チェノクアナライ
ザ15を起動する。種別チェソクアナライザ15は.種
別チェソクテーブル19を検索し,該当する事象の種別
を扱う処理状態チェソクテーブル20のアドレスを得て
処理状態チェソクアリーライザ16を起動する。処理状
態チェソクアナライザ1Gは,処理状態チェックテーブ
ル2oを検索し.該当する現状態に対する処理と処理後
の状態とを決定する。実施する処理は.制御手順依存部
21に処理モジュール22a.22b,・・・・・・と
個別に登録されており,必要な場合に,その1つを呼び
出して起動する。
[MaI Risk Analyzer Processing Unit] 3. When an event occurs, the mode check table 18 is first searched by the mode check analyzer 14. The address of the corresponding type check table 19 is obtained and the type check analyzer 15 is activated. The type of Chesoku Analyzer 15 is. The type checking table 19 is searched, the address of the processing status checking table 20 that handles the type of the event is obtained, and the processing status checking table 20 is activated. The processing status check analyzer 1G searches the processing status check table 2o. Determine the processing for the current state and the state after processing. The processing to be carried out is. The control procedure dependent unit 21 includes a processing module 22a. 22b, . . . are individually registered, and when necessary, one of them is called and activated.

〔作用〕[Effect]

本発明では2プロ1・コルや手順等に依存しないように
,71・リクスに直接関連する部分を.マトリクスアナ
ライザ処理部13と71・リクステーフル17とによっ
て構成し,これらと,制御手順に依存する各種の処理モ
ジュール22a.22b,・・・とを,完全に独立させ
る。これにより,処理モジュール内で,状態チェノク等
の処理が不要になり,プログラムを簡易化することが可
能になる。
In the present invention, the parts directly related to 71.Risk are excluded so as not to depend on 2Protocols and procedures. It is composed of the matrix analyzer processing section 13 and 71 and the risk stage 17, and various processing modules 22a. 22b, . . . are made completely independent. This eliminates the need for processing such as checking the status within the processing module, making it possible to simplify the program.

マトリクステーブル17の形式,ずなわち,71・リク
ステーブル17のフィールド構成や属性などは,回線の
制御手順に依存しないように,あらかじめ定められてい
て,どのようなマトリクスでも,そのデータが同じ形式
で格納されるため,それを参照して状態遷移の制御を行
うマI・リクスアナライザ処理部13は,汎用的に使用
することができる。
The format of the matrix table 17, that is, the field configuration and attributes of the matrix table 17, is predetermined so as not to depend on the line control procedure, and the data is in the same format no matter what matrix. Therefore, the MARIX analyzer processing unit 13, which refers to the data and controls the state transition, can be used for general purposes.

〔実施例〕〔Example〕

第2図は本発明の一実施例についての適用システムの例
,第3図は本発明の一実施例を説明するだめのセション
コントロール系状態遷移図,第4図は本発明の一実施例
を説明するためのセションコン1・ロール系マトリクス
の例,第5図は木発明の一実施例に係るモードチェソク
テーブルのテーブル構成例,第6図は本発明の一実施例
に係る処理状態チェソクテーブルのテーブル構成例,第
7図は本発明の一実施例に係るマトリクステーブルの例
,第8図は本発明の一実施例に係るモードチェノクアナ
ライザの処理フロー,第9図は本発明の一実施例に係る
処理状態チェソクアナライザの処理フロー,第10図は
本発明の適用形態の例を示す。
Fig. 2 is an example of an application system for an embodiment of the present invention, Fig. 3 is a session control system state transition diagram for explaining an embodiment of the present invention, and Fig. 4 is an example of an application system for an embodiment of the present invention. An example of a session controller 1/role matrix for explanation, FIG. 5 is an example of the table configuration of a mode check table according to an embodiment of the invention, and FIG. 6 is a table configuration example of a mode check table according to an embodiment of the present invention. An example of the table configuration of a table, FIG. 7 is an example of a matrix table according to an embodiment of the present invention, FIG. 8 is a processing flow of a mode chenok analyzer according to an embodiment of the present invention, and FIG. FIG. 10, a processing flow of a processing state check analyzer according to an embodiment, shows an example of an application form of the present invention.

本発明を,第2図に示すようなシステムに適用した例を
,以下に説明する。第2図において,30は応用プログ
ラム,31は不ソトヮーク制御部,32は制御ドライハ
,33は装置ドライハ,34はアダプタを表す。
An example in which the present invention is applied to a system as shown in FIG. 2 will be described below. In FIG. 2, numeral 30 represents an application program, 31 represents an independent work control section, 32 represents a control dryer, 33 represents a device dryer, and 34 represents an adapter.

本実施例は,第2図に示す制御ドライハ32のソフトウ
ェアに関連している。制御ドライハ32ぱ,セションコ
ン1・ロール系状態遷移図と送受信系状態遷移図に従っ
て.複数セション(パス)の制御を行う。
This embodiment relates to the software of the control dryer 32 shown in FIG. According to the control driver 32, session control 1, roll system state transition diagram and transmission/reception system state transition diagram. Controls multiple sessions (paths).

セションコントロール系状態遷移図は.第3図に示すよ
うになっている。
Session control system state transition diagram. It is as shown in Figure 3.

初期状態40で, CONNECT要求があると,セシ
ョン確立処理中状態41に遷移する。CONNECT完
了により1セション確立処理中状態41がらセション確
立状態42に遷移する。セション確立状態42におイテ
, SEND要求. RECEIVE要求によりデータ
の送受信が行われる。セション確立処理中状態41また
はセション確立状態42で, DISC要求の事象が発
生すると,セション解放処理中状態43に遷移し,さら
にDISC完了により,初期状態40に戻る。
In the initial state 40, when a CONNECT request is received, the state changes to the session establishment processing state 41. Upon completion of CONNECT, the state 41 in which one session is being established is transited to the session establishment state 42. Session established state 42, SEND request. Data is sent and received in response to a RECEIVE request. When a DISC request event occurs in the session establishment processing state 41 or session establishment state 42, the state changes to the session release processing state 43, and then returns to the initial state 40 upon completion of DISC.

第3図に示す状態遷移図を.表形式のマトリクスで表し
たのが,第4図に示すセションコントロール系マトリク
スである。
The state transition diagram shown in Figure 3. The session control matrix shown in FIG. 4 is expressed in a tabular matrix.

第4図は,例えば初期状態において, CONNECT
要求の事象が発生ずると.処理Aを行い,■のセション
確立処理中状態に移ることを示している。
Figure 4 shows that, for example, in the initial state, CONNECT
When a request event occurs. This shows that processing A is performed and the state shifts to the session establishment processing state (2).

セション確立状態で, CONNECT要求の事象が発
生した場合には,エラー処理を行い,現状態と同じ■の
状態を維持する。
If a CONNECT request event occurs in the session establishment state, error processing is performed and the current state (■) is maintained.

セション確立状態で,S諏D/RECEIVB要求また
はSEND/RECEIVE完了の事象が発生ずると,
送受信系マトリクス(図示省略)による制御に移行する
When a Send/RECEIVB request or SEND/RECEIVE completion event occurs in the session established state,
The process shifts to control using a transmission/reception matrix (not shown).

本発明では.第4図に示すようなマトリクスの情報を,
(1)モードのチェソク,(2)要求種別のチェソク,
(3冫処理状態のチェンクというように.処理段階ごと
に分けて,第5図,第6図に示すような所定の形式で,
テーブル化して記憶するようになっている。
In the present invention. The information in the matrix shown in Figure 4 is
(1) Check the mode, (2) Check the request type,
(Such as changing the three processing states. Divided by processing stage, in a predetermined format as shown in Figures 5 and 6,
It is stored in a table.

第5図は,第1図に示すモートチェソクテーブル18の
テーブル構成例であり,ヘッダ部とマトリクス部とから
なる。ヘノダ部におけるサーチカウンタ数は,マトリク
ス部におりるテーブルエン1−りの個数であり,この例
では,値が「2」である。リザーブは,未使用領域を表
す。次の処理アナライザのフィールドには,第1図に示
すモードチェソクアナライザ14へのポインタが設定さ
れる。
FIG. 5 shows an example of the table structure of the mote check table 18 shown in FIG. 1, which consists of a header section and a matrix section. The number of search counters in the henoder section is the number of table entries in the matrix section, and in this example, the value is "2". Reserve represents unused space. In the next processing analyzer field, a pointer to the mode check analyzer 14 shown in FIG. 1 is set.

判定部には,「要求」または「完了」の干−ド種別が設
定される。次テーブルポインタには,要求または完了の
種別チエノクテーブル19へのポインタが設定ざれる。
The determination unit is set with a load type of "request" or "completion". A pointer to the request or completion type check table 19 is set in the next table pointer.

種別チェソクテーブル19のテーブル構成は図示省略す
るが.第5Mに示すモードチェノクテーブル18の構成
と,ほぼ同様である。ただし判定部には, CONNE
CT , DISC等の事象の種別が格納ざれる。次テ
ーブルポインタには,処理状態チェソクテーブル20へ
のポインタが設定される。
Although the table structure of the type check table 19 is omitted from illustration. The configuration is almost the same as the configuration of the mode check table 18 shown in No. 5M. However, in the judgment section, CONNE
Event types such as CT and DISC are stored. A pointer to the processing status check table 20 is set in the next table pointer.

第1図に示す処理状態チェソクテーブル20のテーブル
構成は,第6図に示すようになっている。
The table configuration of the processing status check table 20 shown in FIG. 1 is as shown in FIG. 6.

これもヘッダ部の構成ば5モードチェソクテーブル18
と同様である。ただし,処理アナライザは第1図に示す
処理状態チェソクアナライザ16へのポインタである。
This is also the configuration of the header section, 5 mode check table 18
It is similar to However, the processing analyzer is a pointer to the processing state check analyzer 16 shown in FIG.

マトリクス部は,現在の状態を示す判定部と状態遷移に
伴って行うべき処理がある場合に,その処理モシュール
をポイントする処理モジュール情報と,処理後の新しい
状態または次のテーブルのアドレス情報とからなるいく
つかのテーブルエントリによって構成される。
The matrix part consists of a judgment part that indicates the current state, processing module information that points to the processing module when there is processing to be performed in conjunction with state transition, and address information of the new state or next table after processing. It consists of several table entries.

例えば,「モードー要求」,[種別一SEND Jの処
理依頼があったときに参照される処理状態チェソクテー
ブル20では,そのサーチカウンタ数は「2」である。
For example, in the processing status check table 20 that is referred to when there is a processing request of "mode request" or [type 1 SEND J], the number of search counters is "2".

このとき,1番目のテーフ゛ノレエントリtこおいて,
判定部に「初期」状態,処理モジュールに,「エラー処
理」.処理後の状態に「遷移なし」の情報が設定される
。2番目のテーブルエントリでは,判定部に「セション
確立」,処理モジュールにNull(オールO),処理
後の状態として,送受信系マトリクス(図示省略)への
ポインタが設定される。この2番目のエン1−りのよう
に次のアナライザによる解析が必要な場合には,処理モ
ジュール域にNullをセソトずることで.それを表す
At this time, for the first file entry t,
"Initial" state in the judgment section, "error processing" in the processing module. Information of "no transition" is set in the state after processing. In the second table entry, "session established" is set in the determination unit, Null (all O) is set in the processing module, and a pointer to a transmission/reception system matrix (not shown) is set as the state after processing. If analysis by the next analyzer is required, as in this second en-1, you can add Null to the processing module area. represent it.

「モードー要求」,「種別−SENDJの処理依頬は,
セション確立処理中/セション解放処理中状態のときに
発生ずることはなく.マトリクス上,あり得ないので,
メモリ節約のため,その状態についてのテーブル展開は
行わない。
"Mode request", "Type - SENDJ processing dependence is
This does not occur when the session is being established/released. Since it is impossible on the matrix,
To save memory, no table expansion is performed for that state.

以上のようなテーブル構成により,第4図に示すセショ
ンコントロール系マトリクスを,テーブル化した例が,
第7図に示ず71・リクステーブルである。すなわち.
第7図に示すマトリクステーブルは.第4図に示ず71
・リクスと全く同じ意味を持ち.計算機が認識できる形
式になっている。
With the above table structure, an example of the session control matrix shown in Figure 4 is created as a table.
Not shown in FIG. 7 is a 71-risk table. In other words.
The matrix table shown in Figure 7 is. Not shown in Figure 471
・Has exactly the same meaning as Rikusu. It is in a format that computers can recognize.

なお,第7図に示す各テーブルのヘッダ部については図
示を省略している。また,図をわかりやすくするために
,ここでは,モードチェソクテ−ブル18を.判定部(
要求/完了)と次テーブルポインタの組により表してい
る。NEXTは,ポインタ情報であって,次のテーブル
を検索する必要があることを示す。同様に.要求種別チ
ェソクテーブル19aおよび完了種別チェソクテーブル
]. 9 bは,判定部(各種別)と次テーブルポイン
タの組により表している。処理状態チェソクテーブル2
0は,判定部(現状態)と処理モシュールと処理後の状
態(または次テーブルポインタ)の組により表している
Note that illustration of the header portion of each table shown in FIG. 7 is omitted. Also, to make the diagram easier to understand, mode check table 18 is shown here. Judgment section (
It is represented by a pair of request/completion) and next table pointer. NEXT is pointer information and indicates that the next table needs to be searched. Similarly. Request type check table 19a and completion type check table]. 9b is represented by a pair of determination unit (by type) and next table pointer. Processing status check table 2
0 is represented by a set of a determination unit (current state), a processing model, and a post-processing state (or next table pointer).

第7図に示す処理状態チェソクテーブル20では,全状
態についてのエントリを表示しているが前述のように,
マトリクス上,あり得ないものについては,テーブル展
開は不要である。
The processing status check table 20 shown in FIG. 7 displays entries for all statuses, but as mentioned above,
Table expansion is not necessary for items that cannot exist on the matrix.

第1図に示すモードチェソクアナライザ14は第8図に
示すような処理を行う。この処理は,モドチェソクテー
ブル18の形式だけに依存し制御手順等には依存しない
ため,セションコン1・ロール系に限らず,適用するこ
とが可能である。
The mode check analyzer 14 shown in FIG. 1 performs processing as shown in FIG. Since this process depends only on the format of the mode check table 18 and does not depend on the control procedure, etc., it can be applied not only to the session control 1/roll system.

以下,第8図に示す処理■〜[相]に従って説明する。Hereinafter, the process will be explained according to the processes ① to [phase] shown in FIG.

■ 変数schptr (サーチポインタとして用いる
)に,モードチェソクテーブル18のアドレスを設定す
る。
■ Set the address of the mode check table 18 in the variable schptr (used as a search pointer).

■ 変数schcnt (ザーチカウンタとして用いる
)に,モードチェソクテーブル18のザーチカウンタ数
の値を設定する。この例では,「2」である。
(2) Set the value of the search counter number in the mode check table 18 to the variable schcnt (used as a search counter). In this example, it is "2".

■ 変数schptrがOになったかどうかを判定する
■ Determine whether the variable schptr has become O.

0になった場合,処理[相]によるエラー処理を行う。If it becomes 0, perform error handling using process [phase].

■ 変数schptrが指す判定部の内容と,処理要求
のモード(要求または完了)とを比較する。
(2) Compare the contents of the determination section pointed to by the variable schptr and the mode of the processing request (request or completion).

■ 一致しない場合,処理■へ,一致する場合処理■へ
分岐する。
■ If they do not match, proceed to process ■; if they match, branch to process ■.

■ 変数schptrをインクリメンI・シ,モードチ
ェソクテーブル18における次のエン1・りをボイン1
・する。
■ Increment the variable schptr, and set the next value in the mode check table 18 to 1.
·do.

■ 変数schcntをデクリメント(=1)する。そ
の後,処理■へ制御を戻し,同様に処理を繰り返す。
■ Decrement (=1) the variable schcnt. Thereafter, control is returned to process (2) and the process is repeated in the same manner.

■ モードが一致した場合.変数nextptrに,次
テーブルポインタを設定する。
■ When the modes match. Set the next table pointer in the variable nextptr.

■ 次のアナライザ,すなわち,第1図に示す種別チェ
ノクアナライザ15を呼び出す。
(2) Call the next analyzer, that is, the type Chenok analyzer 15 shown in FIG.

[相] 処理■の判定で.変数schcnt= 0が検
出された場合,あり得ない処理依頼があったことになる
ので1 自フ゜ログラムまたはイ也フ゜ログラムのフ゜
ログラムミスと判断し,所定のダウンコードを指定して
,システムダウン関数を呼び出す。
[Phase] Based on the judgment of processing ■. If the variable schcnt = 0 is detected, it means that there was an impossible processing request, so 1 It is determined that there is a program error in the self program or the program, and the system down function is called by specifying the predetermined down code. .

以上が,モードチェソクアナライザ14による処理であ
るが,種別チェソクアナライザ15についても,全く同
様である。種別チェックアナライザ15により,種別に
応した処理状態チェソクテーブル20の決定と,それを
解析する処理状態チェソクアナライザ16の起動が行わ
れる。
The above is the processing by the mode check analyzer 14, but the process by the type check analyzer 15 is exactly the same. The type check analyzer 15 determines a processing status check table 20 corresponding to the type and activates a processing status check analyzer 16 that analyzes the table.

第1図に示す処理状態チェソクアナライザ16は,第9
図に示すような処理を行う。この処理は処理状態チェソ
クテーブル20の形式だけに依存し.制御手順等には依
存しないため,セションコン1・ロール系に限らず.適
用することが可能である。以下,第9図に示す処理■〜
0に従って説明する。
The processing state check analyzer 16 shown in FIG.
Perform the processing shown in the figure. This process depends only on the format of the process status check table 20. Since it does not depend on control procedures, etc., it is not limited to session control 1/roll systems. It is possible to apply. The following is the process shown in Figure 9.
0 will be explained.

■ 変数schptrに,検索対象とする処理状態チェ
ノクテーブル20のアドレスを設定する。
(2) Set the address of the processing state check table 20 to be searched in the variable schptr.

■ 変数schcntに,処理状態チェソクテーブル2
0のザーチカウンタ数の値を設定する。
■ The variable schcnt contains the processing status check table 2.
Set the search counter number value to 0.

■ 変数schptrがOになったかどうかを判定する
■ Determine whether the variable schptr has become O.

0になった場合,処理0によるエラー処理を行う。If it becomes 0, error handling is performed using process 0.

■ 変数schptrが指す判定部の内容と,処理要求
時の状態とを比較する。
(2) Compare the contents of the determination section pointed to by the variable schptr with the state at the time of the processing request.

■ 一致しない場合,処理■へ,一致ずる場合処理■へ
分岐ずる。
■ If they do not match, proceed to process ■; if they match, proceed to process ■.

■ 変数schptrをインクリメンI・シ,処理状態
チェソクテーブル20における次のエン1・りをポイン
トする。
(2) Increment the variable schptr to point to the next en1 in the processing status check table 20;

■ 変数schcntをデクリメント(−1)する。そ
の後,処理■へ制御を戻し,同様に処理を繰り返す。
■ Decrement (-1) the variable schcnt. Thereafter, control is returned to process (2) and the process is repeated in the same manner.

■ 判定部の状態と処理要求時の状態とが一致した場合
,処理モジュールがあるかどうかを判定する。処理モジ
ュールが登録されている場合には,処理■へ移る。
■ If the state of the determination unit matches the state at the time of the processing request, determine whether a processing module exists. If the processing module is registered, the process moves to process (2).

■ 処理モジュールがNull の場合,さらに,サー
チすべきテーブルがあることになる。そこで変数nex
tptrに,次テーブルポインタを設定する。
■ If the processing module is Null, there are additional tables to search. So the variable nex
Set the next table pointer in tptr.

[相] 次のアナライザを呼び出す。この例では,セシ
ョンコントロール系71・リクステーブルから送受信系
マトリクステーブルに従った制御に移行することになる
[Phase] Calls the next analyzer. In this example, control is shifted from the session control system 71/rix table to control according to the transmission/reception system matrix table.

■ 処理状態チェソクテーブル20の該当エン1・りに
,処理モジュールが登録されている場合その処理モシュ
ールを呼び出す。これによりプロ1−コルや手順等に応
じた実際に必要となる処理が行われることムこなる。
■ If a processing module is registered in the corresponding entry in the processing status check table 20, call that processing module. This prevents actually necessary processing according to the protocol, procedure, etc. from being performed.

@ 処理モジュールから復帰したならば,処理状態チェ
ソクテーフ゛ル20の該当エントリから処理後の状態情
報を得て2それを現状態とずる。
@ When the processing module returns, it obtains post-processing state information from the corresponding entry in the processing state check table 20 and sets it as the current state.

0 処理■の判定で,変数scbcnt−0が検出され
た場合,あり得ない処理依頼があったごとになるので,
自フ゜ログラムまたば他フ゛ログラムのフ゛ログラムミ
スと判断し,所定のダウンコードを指定して,システム
ダウン関数を呼び出す。
0 If the variable scbcnt-0 is detected in the judgment of process ■, it means that an impossible process request has been made.
It determines that it is a program error in its own program or another program, specifies a predetermined down code, and calls the system down function.

なお,セションコントロール系を中心にマトリクスの制
御を説明したが,送受信系等についても同じ処理ロジノ
クにより,同様な71・リクス制御が可能である。
Although the matrix control has been explained with a focus on the session control system, similar 71-risk control can be performed on the transmission/reception system and the like using the same processing logic.

第10図(イ)は,異なるプロトコルを制御するプログ
ラムを開発する場合における適用形態の例を示す。
FIG. 10(a) shows an example of an application form when developing a program to control different protocols.

AC手順制御プログラム50とBC手順制御プログラム
51とは,それぞれ異なるプロトコルにより.状態遷移
のしかたが異なってくるが,その状態遷移図を.第1図
に示す所定のマトリクステーブル17の形式で表すこと
により.マI・リクスアナライザ処理部13を共通化す
ることができる。
The AC procedure control program 50 and the BC procedure control program 51 are based on different protocols. The method of state transition is different, but here is a state transition diagram. By expressing it in the form of a predetermined matrix table 17 shown in FIG. The micro-I-risk analyzer processing section 13 can be shared.

処理内容の違いについては,制御手順依存部21におけ
る個々の処理モジュール22a.・・・により吸収ずる
Regarding differences in processing contents, the individual processing modules 22a. It is absorbed by...

第10図(口)は,同一プロ1−コルで制御する層(レ
イヤ)が異なるプログラムを開発する場合における適用
形態の例を示す。
FIG. 10 (exit) shows an example of an application form when programs with different layers to be controlled by the same protocol are developed.

OS>S層制御プログラム52とOSI−T層制御プロ
グラム53とは,層(レイヤ)が異なるため,処理内容
が違うが,その各状態遷移図を第1図に示す所定のマト
リクステーブル17の形式で表すことにより,マトリク
スアナライザ処理部13による統一的な処理ロジソクで
,状態遷移に係る制御を行うことができる。この場合も
,処理内容の違いについては,制御手順依存部21にお
ける個々の処理モジュール22a.・・・により吸収す
ることができる。
The OS>S layer control program 52 and the OSI-T layer control program 53 have different processing contents because they are in different layers, but their respective state transition diagrams are in the format of the predetermined matrix table 17 shown in FIG. By expressing this as follows, control related to state transition can be performed using a unified processing logic by the matrix analyzer processing unit 13. In this case as well, differences in processing contents are determined by the individual processing modules 22a. It can be absorbed by...

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

以上説明したように,本発明によれば,次のような効果
がある6 (1)状態遷移図から,所定の形式に従って71・リク
ステーブルを作成することにより,状態チェソクや必要
な処理の起動などを自動的に行うことができ,プロトコ
ルや手順等に依存する処理モジュールだけを個別に開発
すればよいようになるので,プログラム開発工数力 (
滅ず−、(2)状態遷移が同一のマI・リクス制御によ
り制御されるため,プログラムが理解しやすくなる。
As explained above, the present invention has the following effects6 (1) By creating a 71 risk table from a state transition diagram according to a predetermined format, it is possible to check the state and start necessary processes. etc. can be done automatically, and only the processing modules that depend on protocols and procedures need to be developed individually, reducing the number of program development man-hours (
(2) Since state transitions are controlled by the same matrix control, the program becomes easier to understand.

(3)例えば,セションコンl・じJ−ル系と送受信系
のように.マトリクスが多重化されている場合でも,対
応が可能である。
(3) For example, session controller/J-rule system and transmitting/receiving system. This is possible even when matrices are multiplexed.

(4)追加や削除などのマトリクスの変更に対するプロ
グラムの修正が柔軟にできるようになる。
(4) It becomes possible to flexibly modify the program in response to matrix changes such as additions and deletions.

すなわち,状態判定を,統一的に71〜リクスアナライ
ザ処理部ですべて行うため,マトリクステーブルの内容
を修正するだけで.実際の処理部には,ほとんど影響を
与えずに,柔軟に対処することができ,保守性が向上ず
る。
In other words, since all state determinations are performed uniformly in the risk analyzer processing section 71, all that is required is to modify the contents of the matrix table. It can be handled flexibly with almost no impact on the actual processing unit, improving maintainability.

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

第1図は本発明の構成例 第2図は本発明の一実施例についての適用システムの例
, 第3図は本発明の一実施例を説明するためのセションコ
ンl− o−ル系状態遷移図,第4図は本発明の一実施
例を説明するだめのセションコント[コール系マI・リ
クスの例,第5図は木発明の一実施例に係るモードチェ
ソクテーブルのテーブル構成例, 第6図は木発明の一実施例に係る処理状態チェソクテー
ブルのテーブル構成例 第7図は本発明の一実施例に係るマl・リクステブルの
例 第8図は本発明の一実施例に係るモードチェソクアナラ
イザの処理フロー 第9図は本発明の一実施例に係る処理状態チェノクアナ
ライザの処理フロー 第10図は本発明の適用形態の例を示す。 図中,10ば処理装置.1.1a.].1.bは応用処
理部,12は回線制御部,13はマトリクスアナライザ
処理部,14はモードチェソクアナライザ,15は種別
チェソクアナライザ,16は処理状態チェソクアナライ
ザ,17ばマI・リクステーブル,18はモードチェソ
クテーブル,J9は種別チエ・ツタテーブル,20は処
理状態チェソクテーブル,21は制御手順依存部,22
a〜22Cは処理モジュールを表す。
Figure 1 shows a configuration example of the present invention. Figure 2 shows an example of an application system for an embodiment of the present invention. Figure 3 shows a session controller system state transition for explaining an embodiment of the present invention. 4 is an example of a session control [call system matrix] for explaining an embodiment of the present invention, and FIG. 5 is an example of a table configuration of a mode check table according to an embodiment of the tree invention. FIG. 6 is an example of a table configuration of a processing status check table according to an embodiment of the tree invention. FIG. 7 is an example of a multi-liktable table according to an embodiment of the present invention. FIG. 9 shows a processing flow of a mode check analyzer according to an embodiment of the present invention, and FIG. 10 shows an example of an application form of the present invention. In the figure, 10 is a processing device. 1.1a. ]. 1. b is an application processing unit, 12 is a line control unit, 13 is a matrix analyzer processing unit, 14 is a mode check analyzer, 15 is a type check analyzer, 16 is a processing status check analyzer, 17 is a matrix analyzer, 18 is a mode check table, J9 is a type check table, 20 is a processing state check table, 21 is a control procedure dependent part, 22
a to 22C represent processing modules.

Claims (1)

【特許請求の範囲】 各種制御手順に応じた状態遷移を伴う回線制御を行う回
線制御プログラムのマトリクス制御方式であって、 現状態に応じて、制御手順に依存する状態遷移に関連す
る処理を行う複数の処理モジュールからなる制御手順依
存部(21)と、 状態遷移に関する情報を、回線の制御手順に依存しない
あらかじめ定められた形式により、テーブル化して記憶
するマトリクステーブル(17)と、上記マトリクステ
ーブル(17)を、回線の制御手順に依存しないあらか
じめ定められた処理ロジックにより解析し、上記制御手
順依存部(21)の中の処理モジュールを呼び出す処理
を行うマトリクスアナライザ処理部(13)とを備えた
ことを特徴とする回線制御プログラムのマトリクス制御
方式。
[Claims] A matrix control method for a line control program that performs line control with state transitions depending on various control procedures, the method comprising: performing processing related to state transitions depending on the control procedure according to the current state. A control procedure dependent unit (21) consisting of a plurality of processing modules; a matrix table (17) that stores information regarding state transitions in a tabular form in a predetermined format that does not depend on line control procedures; and the matrix table described above. (17) using a predetermined processing logic that does not depend on the line control procedure, and a matrix analyzer processing section (13) that performs processing to call the processing module in the control procedure dependent section (21). A matrix control method for line control programs characterized by:
JP1051786A 1989-03-03 1989-03-03 Matrix control system for communication control program Pending JPH02230449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1051786A JPH02230449A (en) 1989-03-03 1989-03-03 Matrix control system for communication control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1051786A JPH02230449A (en) 1989-03-03 1989-03-03 Matrix control system for communication control program

Publications (1)

Publication Number Publication Date
JPH02230449A true JPH02230449A (en) 1990-09-12

Family

ID=12896627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1051786A Pending JPH02230449A (en) 1989-03-03 1989-03-03 Matrix control system for communication control program

Country Status (1)

Country Link
JP (1) JPH02230449A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003524328A (en) * 2000-02-07 2003-08-12 クゥアルコム・インコーポレイテッド Method and apparatus for providing configurable layers and protocols in a communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003524328A (en) * 2000-02-07 2003-08-12 クゥアルコム・インコーポレイテッド Method and apparatus for providing configurable layers and protocols in a communication system

Similar Documents

Publication Publication Date Title
EP1099164B1 (en) Method and program for processing administrative requests of a distributed network application executing in a clustered computing environment
US5287453A (en) Fast remote file access facility for distributing file access requests in a closely coupled computer system
CA2049121C (en) Methods and apparatus for providing dynamic invocation of applications in a distributed heterogeneous environment
US7765081B2 (en) Systems and methods for a distributed execution environment with per-command environment management
US20080294764A1 (en) Storage medium bearing hba information provision program, hba information provision method and hba information provision apparatus
EP3030969A1 (en) Automated application test system
JP2000339287A (en) Concentrated affinity maintenance device and method therefor in client/server.data processing system managed by work load
JPH11134219A (en) Device and method for simulating multiple nodes on single machine
US20020091695A1 (en) Remote computation framework
CN112787999B (en) Cross-chain calling method, device, system and computer readable storage medium
JPH07105027A (en) Computer system and method for execution of plurality of tasks
US11513830B2 (en) Introspection into workloads running within virtual machines
CN115878301A (en) Acceleration framework, acceleration method and equipment for database network load performance
JP3548030B2 (en) Server processing apparatus and server processing method
US20230401052A1 (en) Map update method, apparatus, and system
JP2001290665A (en) Processor system
JP3090641B2 (en) Parallel data processing system and control method thereof
US5668994A (en) Conversation management routine for co-operative processing applications
CN115878213A (en) Dynamic loading method for Internet of things equipment driver
JPH02230449A (en) Matrix control system for communication control program
CN112506654B (en) Distributed collaborative debugging method and system for industrial robot
CN116643854A (en) Service arrangement method and device, flow controller and task processor
JPH09330243A (en) Computer system
JP3884239B2 (en) Server computer
JP2001325011A (en) Programmable controller system