JPH0458219B2 - - Google Patents

Info

Publication number
JPH0458219B2
JPH0458219B2 JP62057240A JP5724087A JPH0458219B2 JP H0458219 B2 JPH0458219 B2 JP H0458219B2 JP 62057240 A JP62057240 A JP 62057240A JP 5724087 A JP5724087 A JP 5724087A JP H0458219 B2 JPH0458219 B2 JP H0458219B2
Authority
JP
Japan
Prior art keywords
module
protocol processing
path table
instruction
request
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.)
Expired
Application number
JP62057240A
Other languages
Japanese (ja)
Other versions
JPS63222547A (en
Inventor
Hideki Yoshida
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 JP62057240A priority Critical patent/JPS63222547A/en
Publication of JPS63222547A publication Critical patent/JPS63222547A/en
Publication of JPH0458219B2 publication Critical patent/JPH0458219B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 プロトコル層を単位とした複数のプロトコル処
理部の階層順を表すパステーブルを設け、処理終
了したプロトコル処理部が要求指示したときは、
パステーブルに指定された下位層のプロトコル処
理部に接続し、応答指示したときは上位層のプロ
トコル処理部に接続するもので、要求、応答の相
手先をパステーブルで指定する方式を提供する。
[Detailed Description of the Invention] [Summary] A path table representing the hierarchical order of a plurality of protocol processing units with each protocol layer as a unit is provided, and when a protocol processing unit that has completed processing issues a request instruction,
It connects to the lower layer protocol processing unit specified in the path table, and connects to the upper layer protocol processing unit when a response is instructed, providing a method for specifying the destination of requests and responses using the path table.

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

本発明は通信制御方式に係わり、特に階層化さ
れたプロトコル処理部間における接続制御方式の
改良に関する。
The present invention relates to a communication control system, and particularly to an improvement in a connection control system between layered protocol processing units.

近年、データ通信の多様化、複雑化に伴い、通
信機能を階層的にモジユール化し、対応する階層
モジユールごとにプロトコル(通信規約)を定め
て装置間の通信を行う方式が採用されている。
In recent years, with the diversification and complexity of data communications, a method has been adopted in which communication functions are hierarchically modularized and protocols (communication rules) are established for each corresponding hierarchical module to perform communication between devices.

近年普及している種々のネツトワーク方式は、
装置の体系化のために独自に上記プロトコルが定
められたものであるが、それぞれ階層構造が異な
るため異なるネツトワーク間では通信を行うこと
ができず、標準化が推進されている。
Various network methods that have become popular in recent years are:
The above protocols were uniquely defined to systematize devices, but because they have different hierarchical structures, communication cannot be performed between different networks, so standardization is being promoted.

このため、各装置では階層モジユール単位にプ
ロトコル処理部(処理プログラム)を用意し、こ
れらを組み合わせて、自己の属するネツトワーク
方式とか標準ネツトワーク方式等、接続されるネ
ツトワーク方式に対処している。
For this reason, each device prepares a protocol processing unit (processing program) for each hierarchical module, and combines these to deal with the network system to which it is connected, such as the network system to which it belongs, the standard network system, etc. .

しかし、従来ではプロトコル処理部間の接続は
それぞれのプロトコル処理部で指定していたた
め、異なるネツトワーク方式で同じプロトコル処
理部が使用できる場合でも、上下層が異なれば接
続先を変更しなければならず、共用できないとい
う問題点があつた。
However, in the past, connections between protocol processing units were specified by each protocol processing unit, so even if the same protocol processing unit can be used with different network systems, the connection destination must be changed if the upper and lower layers are different. First, there was a problem that it could not be shared.

このため、プロトコル処理部を共用し得る簡易
な通信制御方式が求められている。
Therefore, there is a need for a simple communication control system that can share a protocol processing section.

〔従来の技術〕[Conventional technology]

第4図は従来の通信制御方式説明図である。 FIG. 4 is an explanatory diagram of a conventional communication control system.

第4図モジユール構成例を示す図において、
1は送信または受信要求を行う応用プログラム、
2は通信制御部であつて、モジユールA、モジユ
ールBを備えたものである。
In Figure 4, a diagram showing an example of module configuration,
1 is an application program that requests transmission or reception;
Reference numeral 2 denotes a communication control unit, which includes a module A and a module B.

ここで、前述した階層モジユールに対応するプ
ロトコル処理部(処理プログラム)をモジユール
A、Bと称したもので、モジユールAが上位層、
モジユールBがその下位層を形成し、その処理対
象は、例えば送受信フレーム50〔第4図1〕上
で言えば、それぞれデータA、ヘツダBに対応す
るとともに、データA(上位層)はヘツダB(下位
層)に包含されて処理されるように構成されてい
る。
Here, the protocol processing units (processing programs) corresponding to the above-mentioned hierarchical modules are referred to as modules A and B, and module A is the upper layer,
Module B forms the lower layer, and its processing targets correspond to data A and header B, respectively, on the transmitting/receiving frame 50 (FIG. 4 1), and data A (upper layer) corresponds to header B. (lower layer) and is configured to be processed.

上記モジユールは実際にはセツシヨン層〜デー
タリンク層等複数の層より構成されており、送信
の場合は、送信要求が応用プログラム1から出力
されたとき、各階層における所定のデータ形式へ
の変換、送受信フロー制御等が順次上位層より下
位層に向かつて実行され、回線を介して相手先に
データが送信される。
The above module is actually composed of multiple layers such as a session layer to a data link layer, and in the case of transmission, when a transmission request is output from the application program 1, conversion to a predetermined data format in each layer, Transmission/reception flow control, etc. are performed sequentially from the upper layer to the lower layer, and data is transmitted to the destination via the line.

上記プロトコル処理におけるモジユール間の接
続を第4図に示す2組のモジユールA、Bに基
づき説明すると、例えば、 モジユールAが所定の処理を行い、その処理
結果に基づき次の下位層であるモジユールBに
処理を要求し、 モジユールBでは所定の処理を実行してモジ
ユールAに応答し、 モジユールAではその応答に基づき次の処理
を行う、 というように、階層を接するモジユール間で要
求、応答のやりとりが行われて、それぞれのモジ
ユールにおけるプロトコル処理が遂行されるが、
要求/応答の宛先はそれぞれのモジユール内で指
定されている。
The connection between modules in the above protocol processing will be explained based on the two sets of modules A and B shown in FIG. Requests and responses are exchanged between modules that are in contact with each other in the hierarchy. is performed and protocol processing in each module is performed,
Request/response destinations are specified within each module.

このため、このモジユールAが、他のネツトワ
ーク方式に使用され、下位層のモジユールBの代
わりにモジユールDが使用される場合〔第4図
〕他のNAへの対応例を示す図〕、要求の宛先
をモジユールDに変更したモジユールA′を使用
しなければならない。
Therefore, if this module A is used in another network system and module D is used instead of module B in the lower layer [Figure 4] Diagram showing an example of correspondence to other NAs], the request module A' with the destination changed to module D must be used.

従つて、異なる2組のネツトワーク方式に対応
する通信制御部では、第4図2組のNAへの対
応例を示す図に示すように、モジユールA、モジ
ユールBおよびモジユールA′、モジユールDと
が通信制御部4に用意されている。
Therefore, in a communication control unit that supports two different sets of network systems, module A, module B, module A', module D, and is prepared in the communication control section 4.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述のごとく、階層化されたモジユールを使用
する通信制御部では、宛先を各モジユールで指定
していたため、異なる方式間でモジユールが共用
できないという問題点があつた。
As mentioned above, in a communication control unit that uses hierarchical modules, the destination is specified by each module, so there is a problem that modules cannot be shared between different systems.

本発明は上記問題点に鑑み、モジユールを共用
できる簡易な通信制御方式を提供することを目的
とするものである。
SUMMARY OF THE INVENTION In view of the above problems, it is an object of the present invention to provide a simple communication control system that allows modules to be shared.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的のため、本発明の通信制御方式は、第
1図本発明の原理説明図に示すように、 プロトコル層に対応したプロトコル処理部A,
B,Cの階層順を表すパステーブル8と、 該プロトコル処理部Bが出力する要求指示12
aおよび応答指示12bを受け取るとともに前記
パステーブル8を参照し、要求指示12aのとき
は隣接する下位層の該プロトコル処理部Cに、応
答指示12bのときは隣接する上位層の該プロト
コル処理部Aにそれぞれ接続制御を行うパステー
ブル制御部13とを設ける。
For the above purpose, the communication control system of the present invention, as shown in FIG.
A path table 8 representing the hierarchical order of B and C, and a request instruction 12 output by the protocol processing unit B.
a and the response instruction 12b and refer to the path table 8, and when the request instruction 12a is received, the protocol processing section C of the adjacent lower layer is sent, and when the response instruction 12b is sent, the protocol processing section A of the adjacent upper layer is sent. and a path table control section 13 that performs connection control, respectively.

〔作用〕[Effect]

プロトコル処理部(以下モジユール)A,B,
Cは処理データとともに要求指示12a、応答指
示12bをパステーブル制御部13に出力する
と、パステーブル制御部13はパステーブル8を
参照し、要求指示12aのときは、パステーブル
8で指示された次のモジユール(下位層)を、応
答指示12bのときは、その前のモジユール(上
位層)を選択し指示する。
Protocol processing units (hereinafter referred to as modules) A, B,
When C outputs the request instruction 12a and response instruction 12b together with the processing data to the path table control unit 13, the path table control unit 13 refers to the path table 8, and in the case of the request instruction 12a, the next instruction in the path table 8 is output. When the response instruction 12b is the module (lower layer), the previous module (upper layer) is selected and instructed.

指示されたこのモジユールに処理データを渡し
て起動すれば、所定の相手先にモジユールを接続
することができ、従来モジユール内に記入された
宛先を不要とするとともに、パステーブル8を変
更するか複数設けることにより、異なるネツトワ
ーク方式間でモジユールを共用することができ
る。
By passing processing data to the specified module and starting it, it is possible to connect the module to the specified destination, eliminating the need for destinations previously entered in the module, and changing the path table 8 or connecting multiple destinations. By providing this, the module can be shared between different network systems.

〔実施例〕〔Example〕

本発明の実施例を第1図〜第3図を参照しつつ
説明する。
Embodiments of the present invention will be described with reference to FIGS. 1 to 3.

第2図は実施例の通信制御部ブロツク図、第3
図は動作フローチヤート図である。
Fig. 2 is a block diagram of the communication control section of the embodiment;
The figure is an operation flowchart.

なお、本実施例は、2組のネツトワーク方式
(NA1,NA2)に対応する通信制御部を示すとと
もに、第1図に示すパステーブル制御部13をモ
ジユール選択、指示するパステーブル制御部13
aと、指定されたモジユールを起動する主制御部
10とに機能を分割したものである。
This embodiment shows a communication control section corresponding to two network systems (NA1, NA2), and also includes a path table control section 13 that selects and instructs the path table control section 13 shown in FIG.
The functions are divided into a main controller 10 and a main controller 10 that starts specified modules.

第2図において、本通信制御部は、主制御部1
0、キユーテーブル11、パステーブル制御部1
3、パステーブル8および各階層モジユールに対
応したプロトコル処理を行うモジユールA〜D等
より構成される。ここで、 パステーブル8は、ネツトワーク方式の種別
(NA種別)に対応して階層順にモジユール名を
配列したもの、 キユーテーブル11は、パステーブル制御部1
3aが指示したモジユールから次ぎに起動するモ
ジユールを、主制御部10が優先順位に基づき選
択するために設けたテーブルであつて、NA1お
よびNA2の各モジユールを優先順位に配列する
とともに、モジユール指示データ11aを記入す
る項目をそれぞれ設けたもの、 パステーブル制御部13aは各モジユールによ
り共用されるプログラムより構成されるもので、
各モジユールA〜Dから送られた要求指示12
a、応答指示12bに基づきパステーブル8を参
照し、選択したモジユールをキユーテーブル11
上に指示するもの、 主制御部10は、応用プログラム6からの送信
または受信要求に対して、先頭モジユール(ここ
ではモジユールA)を選択して処理を依頼すると
ともに、各モジユールより復帰(リターン)した
とき、キユーテーブル11を参照して次のモジユ
ールを起動するもの、 モジユールA〜Dは、主制御部10の起動によ
り所定の処理を実行し、処理データとともに要
求/応答を指示してパステーブル制御部13aに
処理を依頼し、その処理終了後に主制御部10に
リターンするサブプログラムで構成されるもの、 である。また、 データ9は応用プログラム6が送信時に用意す
る送信データ9aとNA種別9bとで構成される
もので、主制御部10はこの送信データ9aに基
づきデータ12を作成して各モジユールに処理依
頼を行うもの、データ12は、各モジユールにお
ける処理データ12dとともに要求指示12a、
応答指示12b、およびNA種別9a、依頼元モ
ジユール各12cの記入項目が設けられるもので
ある。
In FIG. 2, this communication control section includes main control section 1.
0, queue table 11, path table control unit 1
3. It is composed of a path table 8 and modules A to D that perform protocol processing corresponding to each hierarchical module. Here, the path table 8 is a table in which module names are arranged in hierarchical order corresponding to the type of network system (NA type), and the queue table 11 is a table in which module names are arranged in hierarchical order according to the type of network system (NA type).
3a is a table provided for the main control unit 10 to select a module to be started next from the module instructed by the module 3a based on the priority order. The path table control section 13a is composed of a program shared by each module.
Request instructions 12 sent from each module A to D
a. Refer to the path table 8 based on the response instruction 12b and transfer the selected module to the queue table 11.
In response to a transmission or reception request from the application program 6, the main control unit 10 selects the first module (module A in this case) and requests processing, and also returns from each module. When this happens, the modules A to D start the next module by referring to the queue table 11.Modules A to D execute predetermined processing by starting the main control unit 10, and instruct the request/response along with the processing data to complete the pass. This consists of a subprogram that requests processing to the table control section 13a and returns to the main control section 10 after the processing is completed. Furthermore, the data 9 is composed of transmission data 9a and NA type 9b prepared by the application program 6 at the time of transmission, and the main control unit 10 creates data 12 based on this transmission data 9a and requests processing to each module. The data 12 includes processing data 12d in each module as well as request instructions 12a,
Entries are provided for a response instruction 12b, NA type 9a, and request source module 12c.

なお、NA1はモジユールA,B,Cよりプロ
トコル処理が行われ、NA2はモジユールA,D
により処理されるものとしている。
Note that NA1 performs protocol processing from modules A, B, and C, and NA2 performs protocol processing from modules A and D.
It is assumed that the information is processed by

以下第3図を参照しつつ送信時における動作を
説明する。
The operation at the time of transmission will be explained below with reference to FIG.

(1) 応用プログラム6は送信データ9aを用意
し、NA種別9b(例えばNA1)を指定して送
信要求 (2) 通信制御部では、主制御部10が各モジユー
ルA〜Cの処理用にデータ12を用意し、先頭
モジユール(モジユールA)に処理依頼 以下モジユールBを中心に動作を説明する。
(1) The application program 6 prepares the transmission data 9a, specifies the NA type 9b (for example, NA1), and requests transmission. (2) In the communication control section, the main control section 10 sends the data for processing of each module A to C. 12 and requests processing to the first module (module A).The operation of module B will be explained below with a focus on module B.

(3) 依頼されたモジユールBでは、所定の処理を
実行し、処理データ12dとともに依頼元モジ
ユール名(Mo名)12c、要求指示12aま
たは応答指示12bを記入してパステーブル制
御部13aに送り、処理を依頼する。
(3) The requested module B executes a predetermined process, writes the request source module name (Mo name) 12c, request instruction 12a or response instruction 12b together with the processing data 12d, and sends it to the path table control unit 13a. Request processing.

(4) パステーブル制御部13aは、受け取つたデ
ータよりNA種別(NA1)、依頼元モジユール
名、要求/応答を判別するとともにパステーブ
ル8を参照し、 要求指示12aのときは下位層であるモジ
ユールCを、 応答指示12bのときは上位層であるモジ
ユールAをそれぞれ選択し、キユーテーブル
11上の該当モジユールに対応してモジユー
ル指示データ(例えばモジユールのポイン
タ、フラグ等)11aを記入し、依頼元のモ
ジユールBにリターンする。
(4) The path table control unit 13a determines the NA type (NA1), request source module name, and request/response from the received data, and also refers to the path table 8, and in the case of request instruction 12a, determines the NA type (NA1), request source module name, and request/response. C, and when the response instruction 12b is selected, the upper layer module A is selected, and the module instruction data (for example, module pointer, flag, etc.) 11a is entered corresponding to the corresponding module on the queue table 11, and the request is made. Return to original module B.

(5) パステーブル制御部13bよりリターンした
モジユールBは主制御部10にリターンする。
(5) Module B returned from the path table control section 13b returns to the main control section 10.

(6) 主制御部10はキユーテーブル11を参照
し、モジユール指示データ11aが記入された
モジユールのうち、優先順位の高いモジユール
を選択し、データ12を渡して起動する。
(6) The main control unit 10 refers to the queue table 11, selects a module with a high priority among the modules in which the module instruction data 11a has been entered, passes the data 12 to it, and activates it.

なお、NA2を指定したときは、モジユール
A、モジユールDがそれぞれ上記動作により選
択される。
Note that when NA2 is specified, module A and module D are respectively selected by the above operation.

以上により、パステーブル制御部13aが各モ
ジユールのつながりを管理制御するため、各モジ
ユールで要求および応答の相手先を指定する必要
がなく、パステーブル8を変更するのみで異なる
ネツトワーク方式に対処することができる。
As described above, since the path table control unit 13a manages and controls the connection of each module, there is no need to specify the destination of requests and responses in each module, and different network systems can be handled by simply changing the path table 8. be able to.

本発明ではプロトコル層に対応するモジユール
に着目したが、各プロトコル層内、例えばフイー
ルド処理を行うプログラムにも同様に適用するこ
とができる。
Although the present invention focuses on modules corresponding to protocol layers, it can be similarly applied to programs that perform field processing within each protocol layer, for example.

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

本発明は、モジユール間のつながりをパステー
ブルによつて制御する通信制御方式を提供するも
のであるから、各モジユールに宛先を記載する必
要がなく、異なるネツトワーク方式間でモジユー
ルを共用できる効果は極めて多大である。
Since the present invention provides a communication control method that controls connections between modules using a path table, there is no need to write a destination on each module, and the advantage is that modules can be shared between different network methods. It is extremely large.

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

第1図は本発明の原理説明図、第2図は実施例
の通信制御部ブロツク図、第3図は動作フローチ
ヤート図、第4図は従来の通信制御方式説明図で
はモジユール構成を示す図、は他のNAへの
対応例を示す図、は2組のNAへの対応例を示
す図、である。図中、 1,6は応用プログラム、2は通信制御部、8
はパステーブル、9はデータ、9aは送信デー
タ、9bはNA種別、10は主制御部、11はキ
ユーテーブル、11aはモジユール指示データ、
12はデータ、12aは要求指示、12bは応答
指示、12cは依頼元モジユール名、12dは処
理データ、13,13aはパステーブル制御部、
である。
Fig. 1 is an explanatory diagram of the principle of the present invention, Fig. 2 is a block diagram of a communication control section of an embodiment, Fig. 3 is an operation flowchart, and Fig. 4 is a diagram illustrating a module configuration in a conventional communication control method explanatory diagram. , is a diagram showing an example of correspondence to other NAs, and is a diagram showing an example of correspondence to two sets of NAs. In the figure, 1 and 6 are application programs, 2 is a communication control unit, and 8
is a path table, 9 is data, 9a is transmission data, 9b is an NA type, 10 is a main control unit, 11 is a queue table, 11a is module instruction data,
12 is data, 12a is a request instruction, 12b is a response instruction, 12c is a request source module name, 12d is processing data, 13 and 13a are path table control units,
It is.

Claims (1)

【特許請求の範囲】 1 階層化されたプロトコル層に対応した複数の
プロトコル処理部A,B,Cを備えるとともに、
それぞれの該プロトコル処理部が出力する要求指
示および応答指示に基づき該プロトコル処理部間
を接続して所定の通信処理を行う通信制御方式に
おいて、 該プロトコル処理部A,B,Cの階層順を表す
パステーブル8と、 該プロトコル処理部Bが出力する要求指示12
aおよび応答指示12bを受け取るとともに前記
パステーブル8を参照し、要求指示12aのとき
は隣接する下位置の該プロトコル処理部Cに、応
答指示12bのときは隣接する上位層の該プロト
コル処理部Aにそれぞれ接続制御を行うパステー
ブル制御部13とを設け、プロトコル処理部の出
力する該要求指示および該応答指示と該パステー
ブルに基づき、次に処理する該プロトコル処理部
を判別して接続することを特徴とする通信制御方
式。
[Claims] 1. A plurality of protocol processing units A, B, and C corresponding to hierarchical protocol layers, and
In a communication control method that connects the protocol processing units and performs a predetermined communication process based on the request instruction and response instruction output by each of the protocol processing units, this represents the hierarchical order of the protocol processing units A, B, and C. Path table 8 and request instruction 12 output by the protocol processing unit B
a and the response instruction 12b are received, and the path table 8 is referred to. When the request instruction 12a is received, the protocol processing section C in the adjacent lower layer is sent, and when the response instruction 12b is received, the protocol processing section A on the adjacent upper layer is sent. and a path table control unit 13 for controlling connection, respectively, to determine and connect the protocol processing unit to be processed next based on the request instruction, the response instruction, and the path table output by the protocol processing unit. A communication control method characterized by:
JP62057240A 1987-03-12 1987-03-12 Communication control system Granted JPS63222547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62057240A JPS63222547A (en) 1987-03-12 1987-03-12 Communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62057240A JPS63222547A (en) 1987-03-12 1987-03-12 Communication control system

Publications (2)

Publication Number Publication Date
JPS63222547A JPS63222547A (en) 1988-09-16
JPH0458219B2 true JPH0458219B2 (en) 1992-09-16

Family

ID=13050010

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62057240A Granted JPS63222547A (en) 1987-03-12 1987-03-12 Communication control system

Country Status (1)

Country Link
JP (1) JPS63222547A (en)

Also Published As

Publication number Publication date
JPS63222547A (en) 1988-09-16

Similar Documents

Publication Publication Date Title
JPS5992654A (en) Electronic document distributing system
JPH0458219B2 (en)
JP2655404B2 (en) How to implement a network architecture
JPH09261269A (en) Data delivery method
JP2887806B2 (en) Network system and mail gateway
JP3785795B2 (en) Data processing device
JPH055414B2 (en)
JPS62121562A (en) Data communication system
JPS6236938A (en) Communication control equipment for local area network
JPS6244808A (en) Control method for nc working machine group
JP3217086B2 (en) Message Communication Method between Standby Controller and Message Device in Redundant System
JPH07210214A (en) Control system and processing method for data
JP2843105B2 (en) Printer connection method for communication between applications
JPH01314326A (en) Communication control system in data processing system
JPS59157752A (en) Computer test system
JPS62192827A (en) File transmitting system
JPH0375954A (en) Network system
JPS62196947A (en) Data transmission system for remote input/output device
JPH0381852A (en) Connection control system
JPH05274230A (en) On-line file transferring system
JPH06175803A (en) Method and device for display control
JPS6074836A (en) Data transfer system
JPH043547A (en) System interconnecting computers
JPS6222169A (en) Inter-processor communication system
JPS63279361A (en) Data pass-through system