JP2871354B2 - Application program connection method - Google Patents

Application program connection method

Info

Publication number
JP2871354B2
JP2871354B2 JP4301034A JP30103492A JP2871354B2 JP 2871354 B2 JP2871354 B2 JP 2871354B2 JP 4301034 A JP4301034 A JP 4301034A JP 30103492 A JP30103492 A JP 30103492A JP 2871354 B2 JP2871354 B2 JP 2871354B2
Authority
JP
Japan
Prior art keywords
layer
connection
state
data
rejection
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 - Fee Related
Application number
JP4301034A
Other languages
Japanese (ja)
Other versions
JPH06152691A (en
Inventor
正 森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP4301034A priority Critical patent/JP2871354B2/en
Publication of JPH06152691A publication Critical patent/JPH06152691A/en
Application granted granted Critical
Publication of JP2871354B2 publication Critical patent/JP2871354B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は通信アーキテクチャに論
理的な層構造を持つ複数のコンピュータ同士が互いに対
応する各層間である決められたプロトコルを実行するこ
とでエンド・エンドのアプリケーションプログラム間の
通信手段を提供するコンピュータネットワークシステム
におけるアプリケーションプログラム接続方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to communication between end-to-end application programs by allowing a plurality of computers having a logical layer structure in a communication architecture to execute a predetermined protocol between corresponding layers. The present invention relates to an application program connection method in a computer network system that provides means.

【0002】[0002]

【従来の技術】従来、通信アーキテクチャに論理的な層
構造を持つ複数のコンピュータ同士が互いに対応する各
層間である決められたプロトコルを実行することでエン
ド・エンドのアプリケーションプログラム間の通信手段
を提供するコンピュータネットワークシステムにおける
アプリケーションプログラム接続方式では、通信プロト
コルの実行手段の上位に位置するAP間の接続を行うた
めには、アーキテクチャとして実装する最下位層から最
上位層まで、1つの層間の接続プロトコルを実行し接続
状態とした上で更に1つ上の層の接続プロトコルを実行
して接続状態にしていくといった積上げ処理を繰り返し
行うことで全層間を接続状態とした上で初めてAP間の
接続要求データ送受信を可能としていた。
2. Description of the Related Art Conventionally, a plurality of computers having a logical layer structure in a communication architecture execute a predetermined protocol between respective layers corresponding to each other to provide communication means between end-to-end application programs. In an application program connection method in a computer network system, a connection protocol between one layer from the lowest layer to the highest layer implemented as an architecture is required to establish a connection between APs located above the means for executing a communication protocol. The connection request between APs is made for the first time after all the layers are connected by repeatedly performing the stacking process of executing the connection protocol by executing the connection protocol of the next higher layer to make the connection state. Data transmission / reception was enabled.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のアプリ
ケーションプログラム接続方式では、最上位のAP間の
接続を行うためには多層構造を持つ通信アーキテクチャ
の各層間を下位層から順に接続状態とする積上げ方式を
取らなくてはならないため、各層間を接続状態とするた
めのプロトコルデータが下位層から見れば多数送受信さ
れることになり、その層がデータの送受信毎に課金され
るようなシステムにおいては、その要求が結果的に拒否
されるような場合でも接続プロトコルで送受信される接
続要求プロトコルデータや、接続要求が拒否されること
により一旦接続状態としたものを再び切断状態に移行さ
せるための切断プロトコルデータを送受信することによ
り、無駄に課金されてしまうという運用上の欠点を持
つ。
In the above-mentioned conventional application program connection method, in order to establish a connection between the highest-order APs, the layers of a communication architecture having a multilayer structure are sequentially connected from a lower layer to a connected state. Since it is necessary to adopt a method, a large number of protocol data for making the connection between the layers are transmitted and received when viewed from the lower layer, and in a system where the layer is charged each time data is transmitted and received, Even if the request is eventually rejected, the connection request protocol data transmitted / received by the connection protocol or the disconnection for shifting the connection state once the connection request was rejected to the disconnected state again. There is an operational disadvantage in that sending and receiving protocol data results in unnecessary charges.

【0004】また、接続要求が多数発生するような場合
には、プロトコルデータの送受信がそれに伴い多数回行
われるため回線との間の割り込み回数が多くなり結果的
にホストコンピュータの負荷が増大する欠点を持つ。
In addition, when a large number of connection requests occur, transmission and reception of protocol data are performed a number of times, resulting in an increase in the number of interrupts to and from the line, resulting in an increase in the load on the host computer. have.

【0005】更に、APからの接続要求受諾を指示され
る前に例えば回線を接続してしまいセキュリティ対策上
問題がある。
[0005] Further, before the AP is instructed to accept the connection request, for example, a line is connected, and there is a problem in security measures.

【0006】本発明の目的は、上述の欠点を除去するよ
うにしたアプリケーションプログラム接続方式を提供す
ることにある。
An object of the present invention is to provide an application program connection method which eliminates the above-mentioned disadvantages.

【0007】[0007]

【課題を解決するための手段】第1の発明は、通信アー
キテクチャに論理的な層構造を持つ複数のコンピュータ
同士が互いに対応する各層間で予め決められたプロトコ
ルを実行することでエンド・エンドのアプリケーション
プログラム間の通信手段を提供するコンピュータネット
ワークシステムにおけるアプリケーションプログラム接
続方式において、<N>層のプロトコルを有し、送信側
では、アプリケーションプログラムからの接続要求を受
け付ける最上位の前記<N>層接続要求受付手段と<N
>層状態を切断状態から接続要求状態とする<N>層状
態管理手段と前記<N>層接続要求受付手段から渡され
た前記アプリケーションプログラムからの接続要求デー
タに<N>層間の接続を行うための<N>層接続要求情
報を付加して<N−1>層に接続要求を行う<N>層接
続要求手段と、前記<N>層接続要求手段からの接続要
求を受け付ける<N−1>層接続要求受付手段と<N−
1>層状態を切断状態から接続要求状態とする<N−1
>層状態管理手段と前記<N−1>層接続要求受付手段
から渡された前記<N>層からの接続要求データに<N
−1>層間の接続を行うための<N−1>層接続要求情
報を付加して<N−2>層に接続要求を行う<N−1>
層接続要求手段と、以降<2>層に至るまで前記<N>
層と前記<N−1>層と前記<N−2>層の関係と同様
の関係を有する各層手段と、前記<2>層接続要求手段
からの接続要求を受け付ける<1>層接続要求受付手段
と<1>層状態を切断状態から接続要求状態とする<1
>層状態管理手段と前記<1>層接続要求受付手段から
渡された前記<2>層からの接続要求データに<1>層
間の接続を行うための<1>層接続要求情報を付加し伝
送路上に前記接続要求データを送信する接続要求データ
送信手段とを有する送信側通信プロトコル実行手段を備
え、受信側では、前記接続要求データを前記伝送路から
受信する最下位の<1>層接続要求データ受信手段と前
記接続要求データ内の<1>層間の接続要求情報の正当
性を判定する<1>層接続要求情報判定手段と前記正当
性ありと判定された場合には<1>層状態を切断状態か
ら接続受付状態とする<1>層状態管理手段と前記接続
要求データから前記<1>層間の接続要求情報を削除し
て上位の<2>層に渡す<1>層接続要求データ通知手
段と、前記<1>層接続要求データ通知手段から渡され
た接続要求データを受信する<2>層接続要求データ受
信手段と受信した前記接続要求データ内の<2>層間の
接続要求情報の正当性を判定する<2>層接続要求情報
判定手段と前記正当性ありと判定された場合には前記<
2>層状態を切断状態から接続受付状態とする<2>層
状態管理手段と前記<1>層から受信した接続要求デー
タから前記<2>層間の接続要求情報を削除して上位の
<3>層に渡す<2>層接続要求データ通知手段と、以
降<N−1>層に至るまで前記<1>層と前記<2>層
と前記<3>層の関係と同様の関係を有する各層手段
と、前記<N−1>層接続要求データ通知手段から渡さ
れた接続要求データを受信する<N>層接続要求データ
受信手段と受信した前記接続要求データ内の<N>層間
の接続要求情報の正当性を判定する<N>層接続要求情
報判定手段と前記正当性ありと判定された場合には前記
<N>層状態を切断状態から接続受付状態とする<N>
層状態管理手段と前記<N−1>層から受信した前記接
続要求データから前記<N>層間の接続要求情報を削除
して前記アプリケーションプログラムに渡す<N>層接
続要求データ通知手段を有する受信側通信プロトコル実
行手段を備えることを特徴とする。
According to a first aspect of the present invention, a plurality of computers each having a logical layer structure in a communication architecture execute a predetermined protocol between respective layers corresponding to each other to execute end-to-end communication. In an application program connection system in a computer network system for providing communication means between application programs, a protocol of an <N> layer is provided, and a transmission side receives the connection request from the application program at the highest level of the <N> layer connection. Request receiving means and <N
> Change the layer state from the disconnected state to the connection request state. <N> Layer state management means and the connection request data from the application program passed from the <N> layer connection request reception means to perform connection between the <N> layers. <N> layer connection requesting means for making a connection request to the <N-1> layer by adding <N> layer connection request information for receiving the connection request from the <N> layer connection requesting means <N- 1> Layer connection request receiving means and <N-
1> Change the layer state from the disconnected state to the connection request state <N-1
> The connection request data from the <N> layer passed from the <N-1>
-1> Adds <N-1> layer connection request information for connection between layers and makes a connection request to <N-2> layer <N-1>
Layer connection requesting means;
Layer means having the same relationship as the layer, the <N-1> layer, and the <N-2> layer, and accepting a connection request from the <2> layer connection request means <1> layer connection request acceptance Means and <1> Change layer state from disconnected state to connection request state <1
The <1> layer connection request information for making a connection between <1> layers is added to the connection request data from the <2> layer passed from the> layer state management means and the <1> layer connection request receiving means. Transmission-side communication protocol execution means having connection request data transmission means for transmitting the connection request data on a transmission path, and the receiving side receives the connection request data from the transmission path at the lowest <1> layer connection. The request data receiving means determines the validity of the connection request information between <1> layers in the connection request data. <1> Layer The connection request information determining means determines the validity of the connection request information. The state is changed from the disconnected state to the connection accepting state. <1> Layer state management means and the connection request information between the <1> layers is deleted from the connection request data and passed to the upper <2> layer. Data notification means, and <1> The connection request data passed from the connection request data notifying unit is received. <2> Layer connection request data receiving unit and <2> in the received connection request data, judge validity of connection request information between layers <2>. When the layer connection request information determining means and the validity are determined,
2> The layer state is changed from the disconnected state to the connection accepting state. <2> The layer state management means and the connection request information between the <2> layers are deleted from the connection request data received from the <1> layer, and the upper layer <3> is deleted. And <2> layer connection request data notifying means to be passed to the> layer, and have the same relationship as the relationship between the <1> layer, the <2> layer, and the <3> layer until the <N-1> layer. <N-1> layer connection request data receiving means received from the <N-1> layer connection request data notifying means, and connection between <N> layers in the received connection request data. <N> layer connection request information judging means for judging the validity of the request information, and when the validity is judged, the <N> layer state is changed from the disconnected state to the connection accepting state <N>
A reception having a layer state management means and a <N> layer connection request data notifying means for deleting connection request information between the <N> layers from the connection request data received from the <N-1> layer and passing the information to the application program. It is characterized by comprising side communication protocol executing means.

【0008】また、第2の発明は、前記受信側通信プロ
トコル実行手段が、前記アプリケーションプログラムか
らの接続受諾応答を受け付ける最上位の<N>層接続受
諾応答受付手段と前記<N>層状態を接続受付状態から
接続状態とする<N>層状態管理手段と前記<N>層接
続受諾応答受付手段から渡された前記アプリケーション
プログラムからの接続受諾応答データに前記<N>層間
の接続受諾を行うための<N>層接続受諾応答情報を付
加する<N>層接続受諾応答手段と、前記<N>層接続
受諾応答手段からの接続受諾応答を受け付ける<N−1
>層接続受諾応答受付手段と前記<N>層状態を接続受
付状態から接続状態とする<N−1>層状態管理手段と
前記<N−1>層接続受諾応答受付手段から渡された前
記<N>層からの接続受諾応答データに前記<N>層間
の接続受諾を行うための<N>層接続受諾応答情報を付
加する<N−1>層接続受諾応答手段と、以降<2>層
に至るまで前記<N>層と前記<N−1>層と前記<N
−2>層の関係と同様の関係を有する各層手段と、前記
<2>層接続受諾応答手段からの接続受諾応答を受け付
ける<1>層接続受諾応答受付手段と前記<1>層状態
を接続受付状態から接続状態とする<1>層状態管理手
段と前記<1>層接続受諾応答受付手段から渡された前
記<2>層からの接続受諾応答データに前記<1>層間
の接続受諾を行うための<1>層接続受諾応答情報を付
加し付加された前記接続受諾応答データを前記伝送路上
に送信する接続受諾応答データ送信手段とを有し、前記
送信側通信プロトコル実行手段が、前記接続受諾応答デ
ータを前記伝送路から受信する最下位の<1>層接続受
諾応答データ受信手段と前記<1>層状態を接続要求状
態から接続状態とする<1>層状態管理手段と前記伝送
路から受信した前記接続受諾応答データから前記<1>
層間の接続受諾応答情報を削除して上位の<2>層に渡
す<1>層接続受諾応答データ通知手段と、前記<1>
層接続受諾応答データ通知手段から渡された前記接続受
諾応答データを受信する<2>層接続受諾応答データ受
信手段と前記<2>層状態を接続要求状態から接続状態
とする<2>層状態管理手段と前記<1>層から受信し
た接続受諾応答データから前記<2>層間の接続受諾応
答情報を削除して上位の<3>層に渡す<2>層接続受
諾応答データ通知手段と、以降<N−1>層に至るまで
前記<1>層と前記<2>層と前記<3>層の関係と同
様の関係を有する各層手段と、前記<N−1>層接続受
諾応答データ通知手段から渡された接続受諾応答データ
を受信する<N>層接続受諾応答データ受信手段と前記
<N>層状態を接続要求状態から接続状態とする<N>
層状態管理手段と前記<N−1>層から受信した前記接
続受諾応答データから前記<N>層間の接続受諾応答情
報を削除して前記アプリケーションプログラムに渡す<
N>層接続受諾応答データ通知手段とを有することを特
徴とする。
In a second aspect of the present invention, the receiving-side communication protocol executing means includes a highest-order <N> -layer connection acceptance response accepting means for accepting a connection acceptance response from the application program and the <N> layer state. The connection between the <N> layers is accepted based on the connection acceptance response data from the <N> layer state management means and the application program passed from the <N> layer connection acceptance response acceptance means, which is changed from the connection acceptance state to the connection state. <N> layer connection acceptance response means for adding <N> layer connection acceptance response information, and accepting a connection acceptance response from the <N> layer connection acceptance response means <N-1>
> The layer connection acceptance response accepting means, the <N> layer state is changed from the connection accepting state to the connection state, and the <N-1> layer state managing means and the <N-1> layer connection acceptance response accepting means are passed from the <N-1> layer connection acceptance response accepting means. <N-1> layer connection acceptance response means for adding <N> layer connection acceptance response information for accepting the connection between the <N> layers to the connection acceptance response data from the <N>layer; The <N> layer, the <N-1> layer, and the <N
-2> connecting each layer means having the same relation as the layer relation, <2> receiving a connection acceptance response from the layer connection acceptance response means <1> layer connection acceptance response receiving means and the <1> layer state The connection acceptance between the <1> layer is accepted based on the connection acceptance response data from the <2> layer passed from the <1> layer state management means and the <1> layer connection acceptance response accepting means, which is changed from the acceptance state to the connection state. And <1> connection acceptance response data transmitting means for adding the layer connection acceptance response information and transmitting the added connection acceptance response data on the transmission path. <1> layer connection acceptance response data receiving means for receiving connection acceptance response data from the transmission path, and <1> layer state management means for changing the <1> layer state from the connection request state to the connection state, and the transmission Before receiving from the road Wherein the connection acceptance response data <1>
<1> layer connection acceptance response data notifying means for deleting connection acceptance response information between layers and passing the information to a higher layer <2>;
<2> layer connection acceptance response data receiving means for receiving the connection acceptance response data passed from the layer connection acceptance response data notifying means, and changing the <2> layer state from the connection request state to the connection state <2> layer state Management means, and <2> layer connection acceptance response data notifying means for deleting connection acceptance response information between the <2> layers from the connection acceptance response data received from the <1> layer and passing it to the higher <3> layer. Thereafter, each layer means having the same relationship as the relationship between the <1> layer, the <2> layer, and the <3> layer up to the <N-1> layer, and the <N-1> layer connection acceptance response data <N> layer connection acceptance response data receiving means for receiving the connection acceptance response data passed from the notifying means, and changing the <N> layer state from the connection request state to the connection state <N>
The connection acceptance response information between the <N> layers is deleted from the connection acceptance response data received from the layer status management means and the <N-1> layer and passed to the application program <
N> layer connection acceptance response data notifying means.

【0009】さらに、第3の発明は、前記受信側通信プ
ロトコル実行手段が、前記アプリケーションプログラム
からの接続拒否応答を受け付ける前記<N>層接続拒否
応答受付手段と前記<N>層状態を接続受付状態から切
断状態に戻す<N>層状態管理手段と前記<N>層接続
拒否応答受付手段から渡された前記アプリケーションプ
ログラムからの接続拒否応答データに前記<N>層間の
接続拒否を行うための<N>層接続拒否応答情報を付加
して<N−1>層に接続拒否応答を行う<N>層接続拒
否応答手段と、前記<N>層接続拒否応答手段からの接
続拒否応答を受け付ける<N−1>層接続拒否応答受付
手段と、前記<N−1>層状態を接続受付状態から切断
状態に戻す<N−1>層状態管理手段と前記<N−1>
層接続拒否応答受付手段から渡された前記<N>層から
の接続拒否応答データに前記<N−1>層間の接続拒否
を行うための<N−1>層接続拒否応答情報を付加して
<N−2>層に接続拒否応答を行う<N−1>層接続拒
否応答手段と、以降<2>層に至るまで前記<N>層と
前記<N−1>層と前記<N−2>層の関係と同様の関
係を有する各層手段と、前記<2>層接続拒否応答手段
からの接続拒否応答を受け付ける<1>層接続拒否応答
受付手段と、前記<1>層状態を接続受付状態から切断
状態に戻す<1>層状態管理手段と前記<1>層接続拒
否応答受付手段から渡された前記<2>層からの接続拒
否応答データに前記<1>層間の接続拒否を行うための
<1>層接続拒否応答情報を付加し前記伝送路上に前記
付加された接続拒否応答データを送信する接続拒否応答
データ送信手段とを有し、前記送信側通信プロトコル実
行手段が、前記接続拒否応答データを前記伝送路から受
信する最下位の<1>層接続拒否応答データ受信手段と
前記<1>層状態を接続要求状態から切断状態に戻す<
1>層状態管理手段と前記伝送路から受信した接続拒否
応答データから前記<1>層間の接続拒否応答情報を削
除して上位の<2>層に渡す<1>層接続拒否応答デー
タ通知手段と、前記<1>層接続拒否応答データ通知手
段から渡された接続拒否応答データを受信する<2>層
接続拒否応答データ受信手段と前記<2>層状態を接続
要求状態から切断状態に戻す<2>層状態管理手段と前
記<1>層から受信した接続拒否応答データから前記<
2>層間の接続拒否応答情報を削除して上位の<3>層
に渡す<2>層接続拒否応答データ通知手段と、以降<
N−1>層に至るまで前記<1>層と前記<2>層と前
記<3>層の関係と同様の関係を有する各層手段と、前
記<N−1>層接続拒否応答データ通知手段から渡され
た接続拒否応答データを受信する<N>層接続拒否応答
データ受信手段と前記<N>層状態を接続要求状態から
切断状態に戻す<N>層状態管理手段と前記<N−1>
層から受信した接続拒否応答データから前記<N>層間
の接続拒否応答情報を削除して削除された前記接続拒否
応答情報を前記アプリケーションプログラムに渡す<N
>層接続拒否応答データ通知手段とを有することを特徴
とする。
In a third aspect of the present invention, the receiving-side communication protocol executing means receives the connection rejection response from the application program, and receives the <N> layer connection rejection response receiving means and the <N> layer state connection. A connection rejection response data from the application program passed from the <N> layer state management means and the <N> layer connection rejection response receiving means for returning the state from the disconnected state to the disconnected state; <N> layer connection rejection response information is added, and a connection rejection response is sent to the <N-1> layer. <N> layer connection rejection response means, and connection rejection response from the <N> layer connection rejection response means is received. <N-1> layer connection rejection response receiving means, and the <N-1> layer state is returned from the connection receiving state to the disconnected state. <N-1> layer state management means and the <N-1>.
<N-1> layer connection rejection response information for rejecting connection between the <N-1> layers is added to the connection rejection response data from the <N> layer passed from the layer connection rejection response receiving means. <N-1> layer connection rejection response means for performing a connection rejection response to the <N-2> layer, and the <N> layer, the <N-1> layer, and the <N- layer 2> connecting each layer means having the same relationship as the layer relation, <2> layer connection rejection response receiving means for receiving a connection rejection response from the <2> layer connection rejection response means, and connecting the <1> layer state The connection state rejection from the <1> layer is returned to the connection rejection response data from the <2> layer passed from the <1> layer state management means and the <1> layer connection rejection response reception means to return from the reception state to the disconnected state. <1> layer connection rejection response information to perform the connection rejection on the transmission path. Connection rejection response data transmitting means for transmitting response data, wherein the transmission-side communication protocol executing means receives the connection rejection response data from the transmission line at the lowest level <1> layer connection rejection response data receiving means And returning the <1> layer state from the connection request state to the disconnected state <
1> layer state management means and connection rejection response information between the <1> layers is deleted from the connection rejection response data received from the transmission path and passed to the upper <2> layer. Receiving the connection rejection response data passed from the <1> layer connection rejection response data notification means, <2> the layer connection rejection response data receiving means, and returning the <2> layer state from the connection request state to the disconnected state. <2> From the layer state management means and the connection rejection response data received from the <1> layer, the <
<2> layer connection rejection response data notification means for deleting the connection rejection response information between layers and passing it to the upper <3>layer;
Each layer unit having the same relationship as the <1> layer, the <2> layer, and the <3> layer up to the N-1> layer, and the <N-1> layer connection rejection response data notification unit Receiving the connection rejection response data passed from <N> layer connection rejection response data receiving means, returning the <N> layer state from the connection request state to the disconnected state, <N> layer state management means, and the <N-1>>
The connection rejection response information between the <N> layers is deleted from the connection rejection response data received from the layer, and the deleted connection rejection response information is passed to the application program.
> Layer connection rejection response data notifying means.

【0010】第4の発明は、前記受信側通信プロトコル
実行手段が、前記<N>層接続要求情報判定手段で前記
接続要求データ内の<N>層間の接続要求情報が不正で
あると判定した場合には前記接続要求データ内の<N>
層接続要求情報を接続拒否情報に置換し接続拒否データ
として<N−1>層に渡す<N>層接続拒否データ送信
手段と、前記<N>層接続拒否データ送信手段から前記
接続拒否データを受け付ける<N−1>層接続拒否デー
タ受付手段と<N−1>層状態を接続受付状態から切断
状態に戻す<N−1>層状態管理手段と前記<N−1>
層接続要求情報判定手段で前記接続要求データ内の<N
−1>層間の接続要求情報が不正であると判定した場合
には前記<N−1>層接続拒否データ受付手段から受け
た接続拒否データに前記<N−1>層間の接続拒否応答
情報を付加して下位の前記<N−2>層に送信する<N
−1>層接続拒否データ送信手段と、以降<2>層に至
るまで前記<N−1>層と同様の処理を行う各層手段
と、前記<2>層接続拒否データ送信手段から前記接続
拒否データを受け付ける<1>層接続拒否データ受付手
段と<1>層状態を接続受付状態から切断状態に戻す<
1>層状態管理手段と前記<1>層接続要求情報判定手
段で前記接続要求データ内の<1>層間の接続要求情報
が不正であると判定した場合には前記<1>層接続拒否
データ受付手段から受けた接続拒否データに前記<1>
層間の接続拒否応答情報を付加して前記伝送路に送信す
る<1>層接続拒否データ送信手段とを備え、前記送信
側通信プロトコル実行手段が、前記接続拒否データを前
記伝送路から受信する最下位の<1>層接続拒否データ
受信手段と前記<1>層状態を接続要求状態から切断状
態に戻す<1>層状態管理手段と前記伝送路から受信し
た接続拒否データから前記<1>層間の接続拒否情報を
削除して上位の<2>層に渡す<1>層接続拒否データ
通知手段と、前記<1>層接続拒否データ通知手段から
渡された接続拒否データを受信する<2>層接続拒否デ
ータ受信手段と前記<2>層状態を接続要求状態から切
断状態に戻す<2>層状態管理手段と前記<1>層から
受信した接続拒否データから前記<2>層間の接続拒否
情報または前記<2>層が付加した送信要求情報を削除
して上位の<3>層に渡す<2>層接続拒否データ通知
手段と、以降<N−1>層まで前記<2>層と同様の処
理を行う各層手段と、前記<N−1>層接続拒否データ
通知手段から渡された接続拒否データを受信する<N>
層接続拒否データ受信手段と前記<N>層状態を接続要
求状態から切断状態に戻す<N>層状態管理手段と前記
<N−1>層から受信した接続拒否データから前記<N
>層間の接続拒否情報あるいは前記<N>層が付加した
送信要求情報を削除して前記アプリケーションプログラ
ムに渡す<N>層接続拒否データ通知手段とを備えるこ
とを特徴とする。
In a fourth aspect, the receiving-side communication protocol executing means determines that the connection request information between the <N> layers in the connection request data is invalid by the <N> layer connection request information determining means. In this case, <N> in the connection request data
The <N> layer connection rejection data transmitting means, which replaces the layer connection request information with the connection rejection information and passes it to the <N-1> layer as connection rejection data, and transmits the connection rejection data from the <N> layer connection rejection data transmitting means. The received <N-1> layer connection rejection data receiving means, the <N-1> layer state is returned from the connection accepted state to the disconnected state, and the <N-1> layer state management means and the <N-1>.
<N> in the connection request data by the layer connection request information determination means.
-1> When it is determined that the connection request information between the layers is invalid, the connection rejection response information between the <N-1> layers is added to the connection rejection data received from the <N-1> layer connection rejection data receiving means. <N-2>
-1> layer connection rejection data transmission means, each layer means for performing the same processing as the <N-1> layer up to the <2> layer, and the connection rejection from the <2> layer connection rejection data transmission means <1> Layer connection rejection data receiving means for receiving data and <1> Layer state is returned from connection receiving state to disconnected state <
When the <1> layer connection request information in the <1> layer in the connection request data is invalid by the <1> layer state management means and the <1> layer connection request information determination means, the <1> layer connection rejection data is determined. In the connection rejection data received from the receiving unit, <1>
<1> layer connection rejection data transmitting means for adding connection rejection response information between layers and transmitting the connection rejection data to the transmission path, wherein the transmission-side communication protocol execution means receives the connection rejection data from the transmission path. The lower <1> layer connection rejection data receiving means, the <1> layer state is returned from the connection request state to the disconnected state, the <1> layer state management means, and the <1> layer is obtained from the connection rejection data received from the transmission line. <1> layer connection rejection data notifying means that deletes the connection rejection information and passes it to the upper layer <2>, and receives the connection rejection data passed from the <1> layer connection rejection data notifying means <2> The layer connection rejection data receiving means, the <2> layer state is returned from the connection request state to the disconnected state, the <2> layer state management means, and the connection rejection data received from the <1> layer is rejected between the <2> layers. Information or the above <> The transmission request information added by the layer is deleted and passed to the higher-order <3> layer. <2> Layer connection rejection data notification means, and the same processing as the above-mentioned <2> layer is performed up to the <N-1> layer. Receiving the connection refusal data passed from each layer means and the <N-1> layer connection rejection data notification means <N>
The layer connection rejection data receiving means, the <N> layer state is returned from the connection request state to the disconnected state, the <N> layer state management means, and the connection rejection data received from the <N-1> layer.
<N> layer connection rejection data notifying means which deletes connection rejection information between layers or transmission request information added by the <N> layer and passes it to the application program.

【0011】[0011]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0012】図1と図2は本発明の構成図であり、発明
を判り易くするために、接続要求発行側を図1に、接続
要求受信側を図2とし、かつプロトコル階層を3として
いる。
FIGS. 1 and 2 are block diagrams of the present invention. In order to make the invention easy to understand, FIG. 1 shows a connection request issuing side, FIG. 2 shows a connection request receiving side, and 3 shows a protocol hierarchy. .

【0013】本発明の一実施例は、ホストコンピュータ
56上で動作するアプリケーションプログラム(以下A
Pと略す)55、AP間の接続を管理実行する通信プロ
トコル実行手段1、複数のホストコンピュータ間を物理
的に接続する網57から構成されている。
In one embodiment of the present invention, an application program (hereinafter referred to as A
P) 55, a communication protocol executing means 1 for managing and executing a connection between APs, and a network 57 for physically connecting a plurality of host computers.

【0014】通信プロトコル実行手段1は送信要求発行
側においては、<3>層接続要求受付手段2、<3>層
接続要求手段3、<3>層状態管理手段4、<2>層接
続要求受付手段5、<2>層接続要求手段6、<2>層
状態管理手段7、<1>層接続要求受付手段8、接続要
求データ送信手段9、<1>層状態管理手段10、<1
>層接続受諾応答データ受信手段26、<1>層接続受
諾応答データ通知手段27、<2>層接続受諾応答デー
タ受信手段28、<2>層接続受諾応答データ通知手段
29、<3>層接続受諾応答データ受信手段30、<3
>層接続受諾応答データ通知手段31、<1>層接続拒
否応答データ受信手段38、<1>層接続拒否応答デー
タ通知手段39、<2>層接続拒否応答データ受信手段
40、<2>層接続拒否応答データ通知手段41、<3
>層接続拒否応答データ受信手段42、<3>層接続拒
否応答データ通知手段43、<1>層接続拒否データ受
信手段49、<1>層接続拒否データ通知手段50、<
2>層接続拒否データ受信手段51、<2>層接続拒否
データ通知手段52、<3>層接続拒否データ受信手段
53、<3>層接続拒否データ通知手段54から構成さ
れている。
On the transmission request issuing side, the communication protocol executing means 1 includes <3> layer connection request receiving means 2, <3> layer connection requesting means 3, <3> layer state management means 4, and <2> layer connection request. Receiving means 5, <2> layer connection requesting means 6, <2> layer state managing means 7, <1> layer connection request receiving means 8, connection request data transmitting means 9, <1> layer state managing means 10, <1>
> Layer connection acceptance response data receiving means 26, <1> layer connection acceptance response data notifying means 27, <2> layer connection acceptance response data receiving means 28, <2> layer connection acceptance response data notifying means 29, <3> layer Connection acceptance response data receiving means 30, <3
> Layer connection acceptance response data notifying means 31, <1> layer connection rejection response data receiving means 38, <1> layer connection rejection response data notifying means 39, <2> layer connection rejection response data receiving means 40, <2> layer Connection rejection response data notification means 41, <3
> Layer connection rejection response data receiving means 42, <3> layer connection rejection response data notifying means 43, <1> layer connection rejection data receiving means 49, <1> layer connection rejection data notifying means 50, <
2> layer connection rejection data receiving means 51; <2> layer connection rejection data notifying means 52; <3> layer connection rejection data receiving means 53; and <3> layer connection rejection data notifying means 54.

【0015】一方接続要求受信側での通信プロトコル実
行手段1は<1>層接続要求データ受信手段11、<1
>層接続要求情報判定手段12、<1>層接続要求デー
タ通知手段13、<1>層状態管理手段10、<2>層
接続要求データ受信手段14、<2>層接続要求情報判
定手段15、<2>層接続要求データ通知手段16、<
2>層状態管理手段7、<3>層接続要求データ受信手
段17、<3>層接続要求情報判定手段18、<3>層
接続要求データ通知手段19、<3>層状態管理手段
4、<3>層接続受諾応答受付手段20、<3>層接続
受諾応答手段21、<2>層接続受諾応答受付手段2
2、<2>層接続受諾応答手段23、<1>層接続受諾
応答受付手段24、接続受諾応答データ送信手段25、
<3>層接続拒否応答受付手段32、<3>層接続拒否
応答手段33、<2>層接続拒否応答受付手段34、<
2>層接続拒否応答手段35、<1>層接続拒否応答受
付手段36、接続拒否応答データ送信手段37、<1>
層接続拒否データ送信手段44、<1>層接続拒否デー
タ受付手段45、<2>層接続拒否データ送信手段4
6、<2>層接続拒否データ受付手段47、<3>層接
続拒否データ送信手段48から構成されている。
On the other hand, the communication protocol executing means 1 on the connection request receiving side includes the <1> layer connection request data receiving means 11, <1
> Layer connection request information determining means 12, <1> layer connection request data notifying means 13, <1> layer state managing means 10, <2> layer connection request data receiving means 14, <2> layer connection request information determining means 15 , <2> layer connection request data notifying means 16, <
2> layer state management means 7, <3> layer connection request data receiving means 17, <3> layer connection request information determination means 18, <3> layer connection request data notification means 19, <3> layer state management means 4, <3> Layer connection acceptance response accepting means 20, <3> Layer connection acceptance response means 21, <2> Layer connection acceptance response accepting means 2
2, <2> layer connection acceptance response means 23, <1> layer connection acceptance response reception means 24, connection acceptance response data transmission means 25,
<3> layer connection rejection response receiving means 32, <3> layer connection rejection response means 33, <2> layer connection rejection response receiving means 34, <
2> layer connection rejection response means 35, <1> layer connection rejection response receiving means 36, connection rejection response data transmission means 37, <1>
Layer connection rejection data transmitting means 44, <1> layer connection rejection data receiving means 45, <2> layer connection rejection data transmitting means 4
6, <2> layer connection rejection data receiving means 47, and <3> layer connection rejection data transmitting means 48.

【0016】次に本発明の動作を図1から図22を参照
しながら説明する。
Next, the operation of the present invention will be described with reference to FIGS.

【0017】図3のステップ21を参照すると、<3>
層接続要求受付手段2、<2>層接続要求受付手段5、
<1>層接続要求受付手段8は自層より1つ上位層から
のAP接続要求を受け付けて接続要求手段に制御を渡
す。
Referring to step 21 of FIG. 3, <3>
Layer connection request receiving means 2, <2> layer connection request receiving means 5,
<1> The layer connection request accepting means 8 accepts an AP connection request from the layer immediately above it, and transfers control to the connection requesting means.

【0018】図4を参照すると、<3>層接続要求手段
3、<2>層接続要求手段6、接続要求データ送信手段
9は自層の層管理状態を切断状態から接続要求状態に更
新するため、入力パラメータに”接続要求”を設定して
<3>層状態管理手段4、<2>層状態管理手段7、<
1>層状態管理手段10を呼び出し(ステップ31)、
上位からの接続要求データの前に後述する自層のプロト
コルヘッダ191(図20参照)、192あるいは19
3を付加して下位層に送信要求を行う(ステップ3
2)。
Referring to FIG. 4, <3> layer connection request means 3, <2> layer connection request means 6, and connection request data transmission means 9 update the layer management state of the own layer from the disconnected state to the connection request state. Therefore, "connection request" is set as an input parameter, and <3> layer state management means 4, <2> layer state management means 7, <
1> Call the layer state management means 10 (step 31),
Before the connection request data from the upper layer, a protocol header 191 (refer to FIG. 20) of its own layer, described later, 192 or 19
3 is transmitted to the lower layer (step 3
2).

【0019】最下位層である<1>層の場合には結果的
に作成されたAP接続要求データを回線に送出する。
In the case of the <1> layer, which is the lowest layer, the resulting AP connection request data is transmitted to the line.

【0020】図5を参照すると、<1>層接続受諾応答
データ受信手段26、<2>層接続受諾応答データ受信
手段28、<3>層接続受諾応答データ受信手段30は
下位層(最下位層の<1>層の場合には回線上)から接
続受諾応答データを受信し(ステップ41)、自層の層
管理状態を接続要求状態から接続状態に更新するため、
入力パラメータに”接続”を設定して<3>層状態管理
手段4、<2>層状態管理手段7、<1>層状態管理手
段10を呼び出した上で該データを通知手段に渡して処
理を終える(ステップ42)。
Referring to FIG. 5, <1> layer connection acceptance response data receiving means 26, <2> layer connection acceptance response data receiving means 28, and <3> layer connection acceptance response data receiving means 30 In order to update the layer management state of the own layer from the connection request state to the connection state, the connection acceptance response data is received from the layer <1> layer (on the line) (step 41).
"Connection" is set as an input parameter, and <3> layer state management means 4, <2> layer state management means 7, and <1> layer state management means 10 are called, and the data is passed to the notification means for processing. Is completed (step 42).

【0021】図6のステップ51を参照すると、<1>
層接続受諾応答データ通知手段27、<2>層接続受諾
応答データ通知手段29、<3>層接続受諾応答データ
通知手段31は受信手段から渡された接続受諾応答デー
タから自層のプロトコルヘッダ191、192あるいは
193を削除した上で上位にデータを渡す(51)。
Referring to step 51 of FIG. 6, <1>
The layer connection acceptance response data notifying unit 27, the <2> layer connection acceptance response data notifying unit 29, and the <3> layer connection acceptance response data notifying unit 31 determine the protocol header 191 of the own layer from the connection acceptance response data passed from the receiving unit. , 192 or 193 are deleted, and the data is transferred to the higher order (51).

【0022】図7を参照すると、<1>層接続拒否応答
データ受信手段38、<2>層接続拒否応答データ受信
手段40、<3>層接続拒否応答データ受信手段42は
下位層(最下位層の<1>層の場合には回線上)から接
続拒否応答データを受信し(ステップ61)、自層の層
管理状態を接続要求状態から切断状態に更新するため、
入力パラメータに”切断”を設定して<3>層状態管理
手段4、<2>層状態管理手段7、<1>層状態管理手
段10を呼び出した上で該データを通知手段に渡して処
理を終える(ステップ62)。
Referring to FIG. 7, <1> layer connection rejection response data receiving means 38, <2> layer connection rejection response data receiving means 40, and <3> layer connection rejection response data receiving means 42 In order to update the layer management state of the own layer from the connection request state to the disconnected state, the connection rejection response data is received from the layer <1> layer (on the line) (step 61).
After setting "disconnect" as an input parameter, the <3> layer state management means 4, <2> layer state management means 7, and <1> layer state management means 10 are called, and the data is passed to the notification means for processing. Is completed (step 62).

【0023】図8のステップ71を参照すると、<1>
層接続拒否応答データ通知手段39、<2>層接続拒否
応答データ通知手段41、<3>層接続拒否応答データ
通知手段43は受信手段から渡された接続拒否応答デー
タから自層のプロトコルヘッダ191、192あるいは
193を削除した上で上位にデータを渡す。
Referring to step 71 in FIG. 8, <1>
The layer connection rejection response data notifying unit 39, the <2> layer connection rejection response data notifying unit 41, and the <3> layer connection rejection response data notifying unit 43 determine the protocol header 191 of the own layer from the connection rejection response data passed from the receiving unit. , 192 or 193 are deleted, and the data is transferred to the higher order.

【0024】図9を参照すると、<1>層接続拒否デー
タ受信手段49、<2>層接続拒否データ受信手段5
1、<3>層接続拒否データ受信手段53は下位層(最
下位層の<1>層の場合には回線上)から接続拒否デー
タを受信し(ステップ81)、自層の層管理状態を接続
要求状態から切断状態に更新するため、入力パラメータ
に”切断”を設定して<3>層状態管理手段4、<2>
層状態管理手段7、<1>層状態管理手段10を呼び出
した上で該データを通知手段に渡して処理を終える(ス
テップ82)。
Referring to FIG. 9, <1> layer connection rejection data receiving means 49, <2> layer connection rejection data receiving means 5
1, <3> layer connection rejection data receiving means 53 receives connection rejection data from the lower layer (on the line in the case of the lowermost <1> layer) (step 81) and changes the layer management state of its own layer. In order to update from the connection request state to the disconnected state, "disconnected" is set in the input parameter and <3> layer state management means 4, <2>
After calling the layer state management means 7 and the <1> layer state management means 10, the data is passed to the notification means and the processing is terminated (step 82).

【0025】図10のステップ91を参照すると、<1
>層接続拒否データ通知手段50、<2>層接続拒否デ
ータ通知手段52、<3>層接続拒否データ通知手段5
4は受信手段から渡された接続拒否データから自層のプ
ロトコルヘッダ191、192あるいは193を削除し
た上で上位にデータを渡す。
Referring to step 91 of FIG.
> Layer connection rejection data notification means 50, <2> layer connection rejection data notification means 52, <3> layer connection rejection data notification means 5
No. 4 deletes the protocol header 191, 192 or 193 of the own layer from the connection rejection data passed from the receiving means and passes the data to a higher order.

【0026】図11を参照すると、<1>層接続要求デ
ータ受信手段11、<2>層接続要求データ受信手段1
4、<3>層接続要求データ受信手段17は下位層(最
下位層の<1>層の場合には回線上)からAP接続要求
データを受信し、その自層に関連するプロトコルヘッダ
191、192あるいは193の正当性および接続要求
を受け付けられる状態か否かを判定するため<1>層接
続要求情報判定手段12、<2>層接続要求情報判定手
段15、<3>層接続要求情報判定手段18を呼び出し
(ステップ101)、結果を判定し(ステップ10
2)、判定が”受諾”であれば自層の層管理状態を切断
状態から接続受付状態に更新するため、入力パラメータ
に”接続受付”を設定して<3>層状態管理手段4、<
2>層状態管理手段7、<1>層状態管理手段10を呼
び出し通知手段にデータを渡して処理を終える(ステッ
プ103)。一方結果判定(ステップ102)で判定
が”拒否(異常あるいは資源)”の場合には<1>層接
続拒否データ送信手段44、<2>層接続拒否データ送
信手段46、<3>層接続拒否データ送信手段48に制
御を渡すこととなり、各拒否データ送信手段は接続要求
データ内の自層関連プロトコルヘッダ191、192あ
るいは193の後述するコマンド212(図22)を拒
否情報に変換した上で下位層に当該データの送信要求を
行う(ステップ104)。あるいは受付処理から制御を
渡された場合(上位層で接続要求情報不正と判定された
場合)には自層の層管理状態を接続受付状態から切断状
態に戻すため、入力パラメータに”切断”を設定して<
3>層状態管理手段4、<2>層状態管理手段7、<1
>層状態管理手段10を呼び出し(ステップ105)、
上位から渡された接続拒否データにコマンドを接続拒否
としたプロトコルヘッダ191、192あるいは193
を付加して下位層に送信要求を行う(ステップ10
6)。この時、判定層および送信手段が最下位層の場合
には回線上に拒否データを送出する。
Referring to FIG. 11, <1> layer connection request data receiving means 11, <2> layer connection request data receiving means 1
4. The <3> layer connection request data receiving means 17 receives the AP connection request data from the lower layer (on the line in the case of the lowest layer <1> layer), and receives the protocol header 191 related to its own layer. <1> Layer connection request information determination unit 12, <2> Layer connection request information determination unit 15, and <3> Layer connection request information determination in order to determine the validity of 192 or 193 and whether or not the connection request can be accepted. The means 18 is called (step 101), and the result is determined (step 10).
2) If the determination is "acceptance", to update the layer management state of the own layer from the disconnected state to the connection acceptance state, set "input acceptance" as an input parameter and <3> layer state management means 4, <
2> The layer state management means 7 and <1> the layer state management means 10 are called to pass the data to the notification means, and the processing is terminated (step 103). On the other hand, if the result of determination (step 102) is "refused (abnormal or resource)", <1> layer connection rejection data transmission means 44, <2> layer connection rejection data transmission means 46, <3> layer connection rejection Control is passed to the data transmitting means 48, and each rejected data transmitting means converts a command 212 (FIG. 22) described later of the own layer related protocol header 191, 192 or 193 in the connection request data into rejection information, A request for transmission of the data is made to the layer (step 104). Alternatively, when control is passed from the reception process (when the connection request information is determined to be invalid in the upper layer), “disconnection” is set as the input parameter in order to return the layer management state of the own layer from the connection reception state to the disconnection state. Set <
3> layer state management means 4, <2> layer state management means 7, <1
> Call the layer state management means 10 (step 105)
Protocol header 191, 192 or 193 in which the command is rejected in connection rejection data passed from the host
Is sent to the lower layer (step 10).
6). At this time, when the determination layer and the transmission means are the lowest layer, reject data is sent out on the line.

【0027】図12のステップ111を参照すると、<
1>層接続拒否データ受付手段45、<2>層接続拒否
データ受付手段47は自層より1つ上位層からの接続要
求拒否データを受け付けて接続拒否データ送信手段に制
御を渡す。
Referring to step 111 of FIG.
The 1> layer connection rejection data receiving means 45 and the <2> layer connection rejection data receiving means 47 receive connection request rejection data from the layer immediately above the own layer and transfer control to the connection rejection data transmitting means.

【0028】図13のステップ121を参照すると、<
1>層接続要求データ通知手段13、<2>層接続要求
データ通知手段16、<3>層接続要求データ通知手段
19は受信手段から渡された接続要求データから自層の
プロトコルヘッダ191、192あるいは193を削除
した上で上位にデータを渡す。
Referring to step 121 of FIG.
The 1> layer connection request data notifying unit 13, the <2> layer connection request data notifying unit 16, and the <3> layer connection request data notifying unit 19 convert their own protocol headers 191 and 192 from the connection request data passed from the receiving unit. Alternatively, after deleting 193, the data is transferred to a higher order.

【0029】図14のステップ131を参照すると、<
3>層接続受諾応答受付手段20、<2>層接続受諾応
答受付手段22、<1>層接続受諾応答受付手段24は
自層より1つ上位層からの接続受諾応答を受け付けて接
続受諾応答手段に制御を渡す。
Referring to step 131 in FIG.
3> layer connection acceptance response receiving means 20, <2> layer connection acceptance response receiving means 22, and <1> layer connection acceptance response receiving means 24 receive a connection acceptance response from a layer one level higher than the own layer, and receive a connection acceptance response. Pass control to the means.

【0030】図15を参照すると、<3>層接続受諾応
答手段21、<2>層接続受諾応答手段23、<1>層
接続受諾応答手段25は自層の層管理状態を接続受付状
態から接続状態に更新するため、入力パラメータに”接
続”を設定して<3>層状態管理手段4、<2>層状態
管理手段7、<1>層状態管理手段10を呼び出し(ス
テップ141)、上位からの接続受諾応答データの前に
自層のプロトコルヘッダ191、192あるいは193
を付加して下位層に送信要求を行う(ステップ14
2)。自層が、<1>層即ち最下位層の場合には結果的
に作成された接続受諾応答データを回線に送出する。
Referring to FIG. 15, <3> layer connection acceptance response means 21, <2> layer connection acceptance response means 23, and <1> layer connection acceptance response means 25 change the layer management state of the own layer from the connection acceptance state. In order to update the connection state, "connection" is set in the input parameter, and the <3> layer state management means 4, <2> layer state management means 7, and <1> layer state management means 10 are called (step 141). Before the connection acceptance response data from the upper layer, the protocol header 191, 192 or 193 of the own layer is used.
Is sent to the lower layer (step 14).
2). If the own layer is the <1> layer, that is, the lowest layer, the resultant connection acceptance response data is transmitted to the line.

【0031】図16のステップ151を参照すると、<
3>層接続拒否応答受付手段32、<2>層接続拒否応
答受付手段34、<1>層接続拒否応答受付手段36は
自層より1つ上位層からの接続拒否応答を受け付けて接
続拒否応答手段に制御を渡す。
Referring to step 151 in FIG.
The 3> layer connection rejection response receiving means 32, the <2> layer connection rejection response receiving means 34, and the <1> layer connection rejection response receiving means 36 receive a connection rejection response from a layer one level higher than the own layer and respond to the connection rejection. Pass control to the means.

【0032】図17のステップ161〜162を参照す
ると、<3>層接続拒否応答手段33、<2>層接続拒
否応答手段35、接続拒否応答データ送信手段37は自
層の層管理状態を接続受付状態から切断状態に戻すた
め、入力パラメータに”切断”を設定して<3>層状態
管理手段4、<2>層状態管理手段7、<1>層状態管
理手段10を呼び出し(161)、上位からの接続拒否
応答データの前に自層のプロトコルヘッダ191、19
2あるいは193を付加して下位層に送信要求を行う
(162)。自層が、<1>層即ち最下位層の場合には
結果的に作成された接拒否応答データを回線に送出す
る。
Referring to steps 161 to 162 in FIG. 17, <3> layer connection rejection response means 33, <2> layer connection rejection response means 35, and connection rejection response data transmission means 37 connect the layer management state of the own layer. In order to return from the accepting state to the disconnected state, "disconnect" is set in the input parameter and the <3> layer state managing means 4, <2> layer state managing means 7, and <1> layer state managing means 10 are called (161). Before the connection rejection response data from the host, the protocol headers 191 and 19 of the own layer.
A transmission request is made to the lower layer by adding 2 or 193 (162). If the own layer is the <1> layer, that is, the lowest layer, the resulting connection rejection response data is transmitted to the line.

【0033】図18を参照すると、<3>層状態管理手
段4、<2>層状態管理手段7、<1>層状態管理手段
10は、指定パラメータを判別し(ステップ17
1)、”切断”なら層管理状態を”切断状態”に更新し
(ステップ172)、”接続要求”なら層管理状態を”
接続要求状態”に更新し(ステップ173)、”接続受
付”なら層管理状態を”接続受付状態”に更新し(ステ
ップ174)、”接続”なら層管理状態を”接続状態”
に更新し(ステップ175)処理を終える。
Referring to FIG. 18, <3> layer state management means 4, <2> layer state management means 7, and <1> layer state management means 10 determine the designated parameter (step 17).
1) If "disconnected", update the layer management state to "disconnected state" (step 172); if "connection request", update the layer management state to "disconnected".
The status is updated to "connection request status" (step 173). If "connection accepted", the layer management status is updated to "connection acceptance status" (step 174). If "connection", the layer management status is updated to "connection status".
(Step 175), and the process ends.

【0034】図19を参照すると、<1>層接続要求情
報判定手段12、<2>層接続要求情報判定手段15、
<3>層接続要求情報判定手段18は与えられたプロト
コルヘッダ191、192あるいは193を解析し、ア
ドレス情報211とコマンド212およびプロトコルパ
ラメータ213の正当性を判定し(ステップ181)、
判定処理(ステップ182)で正当であれば次に当該層
のトラヒック状態等を判定し(ステップ183)、判定
処理(ステップ184)で許容値以内であれば判定結果
を”受諾”として処理を終える(ステップ185)。
Referring to FIG. 19, <1> layer connection request information determining means 12, <2> layer connection request information determining means 15,
<3> The layer connection request information determining means 18 analyzes the given protocol header 191, 192 or 193, and determines the validity of the address information 211, the command 212 and the protocol parameter 213 (step 181).
If it is valid in the determination process (step 182), the traffic state or the like of the layer is determined next (step 183). If it is within the allowable value in the determination process (step 184), the determination result is "accepted" and the process ends. (Step 185).

【0035】判定処理(ステップ182)で不正と判定
された場合には判定結果を”拒否(異常)”として処理
を終える(ステップ187)。判定処理(ステップ18
4)で許容値以上と判定された場合には判定結果を”拒
否(資源)”として処理を終える(ステップ186)。
If it is determined in the determination process (step 182) that the content is illegal, the process is terminated with the result of the determination as "rejection (abnormal)" (step 187). Judgment process (step 18
If it is determined in step 4) that the value is equal to or larger than the allowable value, the process is terminated with the result of the determination as "denial (resource)" (step 186).

【0036】図20はAP接続要求データの一般形式を
説明する図であって、<1>層プロトコルヘッダ19
1、<2>層プロトコルヘッダ192、<3>層プロト
コルヘッダ193およびAP接続要求データ194から
構成されている。
FIG. 20 is a diagram for explaining the general format of the AP connection request data.
1, <2> layer protocol header 192, <3> layer protocol header 193, and AP connection request data 194.

【0037】図21はAP接続受諾/拒否応答データの
一般形式を説明する図であって、<1>層プロトコルヘ
ッダ191、<2>層プロトコルヘッダ192、<3>
層プロトコルヘッダ193およびAP接続受諾/拒否応
答データ204から構成されている。
FIG. 21 is a diagram for explaining the general format of the AP connection acceptance / rejection response data, in which <1> layer protocol header 191, <2> layer protocol header 192, <3>
It comprises a layer protocol header 193 and AP connection acceptance / rejection response data 204.

【0038】図21は<1>層プロトコルヘッダ19
1、<2>層プロトコルヘッダ192、<3>層プロト
コルヘッダ193の一般形式を説明する図であって、ア
ドレス情報211、コマンド212およびプロトコルパ
ラメータ213から構成されている。コマンド212は
2バイトの領域を持ち、00H〜04Hを規定し、それ
ぞれ通常データ、接続要求データ、接続受諾応答デー
タ、接続拒否応答データ(AP)、接続拒否応答データ
(プロトコル実行手段)である。
FIG. 21 shows the <1> layer protocol header 19.
1 is a diagram for explaining the general format of a <2> layer protocol header 192 and a <3> layer protocol header 193, and includes address information 211, a command 212, and a protocol parameter 213. The command 212 has a 2-byte area and specifies 00H to 04H, and is normal data, connection request data, connection acceptance response data, connection rejection response data (AP), and connection rejection response data (protocol execution means).

【0039】[0039]

【発明の効果】以上説明したように、本発明は、通信ア
ーキテクチャに論理的な層構造を持つ複数のコンピュー
タ同士が互いに対応する各層間である決められたプロト
コルを実行することでエンド・エンドのアプリケーショ
ンプログラム間の通信手段を提供するコンピュータネッ
トワークシステムにおいて、アプリケーション間の接続
を行う場合に各層全部の接続要求情報を一括して設定し
たデータを送信し、送信要求受付システムにおいては、
APから接続要求受諾を指示されて初めて各層の状態を
接続状態とするため、各層においては接続状態に移行す
る契機が管理しやすく、また送受信されるデータに対し
て課金されるシステムにおいても送受信されるデータが
接続要求が受諾される場合、拒否される場合に限らず最
高2個しか流れないため接続までに課金される量が極端
に減少する効果がある。
As described above, according to the present invention, a plurality of computers having a logical layer structure in a communication architecture execute a predetermined protocol between respective layers corresponding to each other, thereby enabling an end-to-end communication. In a computer network system that provides communication means between application programs, when connection between applications is performed, data that collectively sets connection request information for all layers is transmitted, and in a transmission request reception system,
Since the state of each layer is set to the connection state only after the AP requests the connection request, the trigger for transitioning to the connection state in each layer is easy to manage, and the transmission and reception is performed even in a system that charges for transmitted and received data. When the connection request is accepted, the maximum amount of data flowing through the connection request is not limited to two, and the amount charged up to connection is extremely reduced.

【0040】あるいは、接続要求が多数回発生する場合
でも、必要なプロトコルデータが最大2個で済むため、
回線割り込み回数が激減し結果的にホストコンピュータ
の負荷が軽減される効果がある。
Alternatively, even if a connection request is issued many times, only two required protocol data are required.
This has the effect of dramatically reducing the number of line interrupts and consequently reducing the load on the host computer.

【0041】更には、接続要求受付側のAPが接続要求
の受諾意思を示して初めて回線が接続されることにな
り、セキュリティ上も完全なシステムを構築できる効果
がある。
Further, the line is connected only after the AP on the connection request receiving side indicates the intention to accept the connection request, and there is an effect that a complete system can be constructed in terms of security.

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

【図1】本発明の送信側の一実施例を示すブロック図で
ある。
FIG. 1 is a block diagram showing one embodiment of a transmitting side of the present invention.

【図2】本発明の受信側の一実施例を示すブロック図で
ある。
FIG. 2 is a block diagram showing one embodiment of a receiving side of the present invention.

【図3】各層接続要求受付手段2、5、8のフローチャ
ートである。
FIG. 3 is a flowchart of each layer connection request receiving means 2, 5, and 8;

【図4】各層接続要求手段3、6、9のフローチャート
である。
FIG. 4 is a flowchart of each layer connection request means 3, 6, 9;

【図5】各層接続受諾応答データ受信手段26、28、
30のフローチャートである。
FIG. 5 shows each layer connection acceptance response data receiving means 26, 28,
FIG.

【図6】各層接続受諾応答データ通知手段27、29、
31のフローチャートである。
FIG. 6 shows each layer connection acceptance response data notification means 27, 29,
It is a flowchart of 31.

【図7】各層接続拒否応答データ受信手段38、40、
42のフローチャートである。
FIG. 7 shows each layer connection rejection response data receiving means 38, 40;
42 is a flowchart of FIG.

【図8】各層接続拒否応答データ通知手段39、41、
43のフローチャートである。
FIG. 8 shows each layer connection rejection response data notification means 39, 41,
It is a flowchart of 43.

【図9】各層接続拒否データ受信手段49、51、53
のフローチャートである。
FIG. 9 shows each layer connection rejection data receiving means 49, 51, 53;
It is a flowchart of FIG.

【図10】各層接続拒否データ通知手段50、52、5
4のフローチャートである。
FIG. 10 shows each layer connection rejection data notification means 50, 52, 5
4 is a flowchart of FIG.

【図11】各層接続要求データ受信手段11、14、1
7および各層接続拒否データ送信手段44、46、48
のフローチャートである。
FIG. 11 shows each layer connection request data receiving means 11, 14, 1;
7 and each layer connection rejection data transmitting means 44, 46, 48
It is a flowchart of FIG.

【図12】各層接続拒否データ受付手段45、47のフ
ローチャートである。
FIG. 12 is a flowchart of each layer connection rejection data receiving means 45 and 47.

【図13】各層接続要求データ通知手段13、16、1
9のフローチャートである。
FIG. 13 shows each layer connection request data notifying means 13, 16, 1;
9 is a flowchart of FIG.

【図14】各層接続受諾応答受付手段20、22、24
のフローチャートである。
FIG. 14 shows each layer connection acceptance response accepting means 20, 22, 24;
It is a flowchart of FIG.

【図15】各層接続受諾応答手段21、23および接続
受諾応答データ送信手段25のフローチャートである。
15 is a flowchart of each layer connection acceptance response means 21 and 23 and a connection acceptance response data transmission means 25. FIG.

【図16】各層接続拒否応答受付手段32、34、36
のフローチャートである。
FIG. 16 shows each layer connection rejection response receiving means 32, 34, 36;
It is a flowchart of FIG.

【図17】各層接続拒否応答手段33、35および接続
拒否応答データ送信手段37のフローチャートである。
17 is a flowchart of each layer connection rejection response means 33 and 35 and connection rejection response data transmission means 37. FIG.

【図18】各層状態管理手段4、7、10のフローチャ
ートである。
FIG. 18 is a flowchart of each layer state management means 4, 7, 10.

【図19】各層接続要求情報判定手段12、15、18
のフローチャートである。
FIG. 19 is each layer connection request information determination means 12, 15, and 18;
It is a flowchart of FIG.

【図20】AP接続要求データの一般形式を示す図であ
る。
FIG. 20 is a diagram showing a general format of AP connection request data.

【図21】AP接続受諾/拒否応答データの一般形式を
示す図である。
FIG. 21 is a diagram showing a general format of AP connection acceptance / rejection response data.

【図22】プロトコルヘッダの詳細を示す図である。FIG. 22 is a diagram showing details of a protocol header.

【符号の説明】[Explanation of symbols]

1 通信プロトコル実行手段 2 <3>層接続要求受付手段 3 <3>層接続要求手段 4 <3>層状態管理手段 5 <2>層接続要求受付手段 6 <2>層接続要求手段 7 <2>層状態管理手段 8 <1>層接続要求受付手段 9 <1>層接続要求データ送信手段 10 <1>層状態管理手段 11 <1>層接続要求データ受信手段 12 <1>層接続要求情報判定手段 13 <1>層接続要求データ通知手段 14 <2>層接続要求データ受信手段 15 <2>層接続要求情報判定手段 16 <2>層接続要求データ通知手段 17 <3>層接続要求データ受信手段 18 <3>層接続要求情報判定手段 19 <3>層接続要求データ通知手段 20 <3>層接続受諾応答受付手段 21 <3>層接続受諾応答手段 22 <2>層接続受諾応答受付手段 23 <2>層接続受諾応答手段 24 <1>層接続受諾応答受付手段 25 接続受諾応答データ送信手段 26 <1>層接続受諾応答データ受信手段 27 <1>層接続受諾応答データ通知手段 28 <2>層接続受諾応答データ受信手段 29 <2>層接続受諾応答データ通知手段 30 <3>層接続受諾応答データ受信手段 31 <3>層接続受諾応答データ通知手段 32 <3>層接続拒否応答受付手段 33 <3>層接続拒否応答手段 34 <2>層接続拒否応答受付手段 35 <2>層接続拒否応答手段 36 <1>層接続拒否応答受付手段 37 接続拒否応答データ送信手段 38 <1>層接続拒否応答データ受信手段 39 <1>層接続拒否応答データ通知手段 40 <2>層接続拒否応答データ受信手段 41 <2>層接続拒否応答データ通知手段 42 <3>層接続拒否応答データ受信手段 43 <3>層接続拒否応答データ通知手段 44 <1>層接続拒否データ送信手段 45 <1>層接続拒否データ受付手段 46 <2>層接続拒否データ送信手段 47 <2>層接続拒否データ受付手段 48 <3>層接続拒否データ送信手段 49 <1>層接続拒否データ受信手段 50 <1>層接続拒否データ通知手段 51 <2>層接続拒否データ受信手段 52 <2>層接続拒否データ通知手段 53 <3>層接続拒否データ受信手段 54 <3>層接続拒否データ通知手段 55 アプリケーションプログラム 56 ホストコンピュータ 57 網 DESCRIPTION OF SYMBOLS 1 Communication protocol execution means 2 <3> Layer connection request reception means 3 <3> Layer connection request means 4 <3> Layer state management means 5 <2> Layer connection request reception means 6 <2> Layer connection request means 7 <2 > Layer state management means 8 <1> Layer connection request receiving means 9 <1> Layer connection request data transmitting means 10 <1> Layer state management means 11 <1> Layer connection request data receiving means 12 <1> Layer connection request information Judging unit 13 <1> Layer connection request data notifying unit 14 <2> Layer connection request data receiving unit 15 <2> Layer connection request information judging unit 16 <2> Layer connection request data notifying unit 17 <3> Layer connection request data Receiving unit 18 <3> Layer connection request information determination unit 19 <3> Layer connection request data notification unit 20 <3> Layer connection acceptance response receiving unit 21 <3> Layer connection acceptance response unit 22 <2> Layer connection acceptance response reception means 23 <2> Layer connection acceptance response means 24 <1> Layer connection acceptance response reception means 25 Connection acceptance response data transmission means 26 <1> Layer connection acceptance response data reception means 27 <1> Layer connection acceptance response data notification means 28 < 2> Layer connection acceptance response data receiving means 29 <2> Layer connection acceptance response data notifying means 30 <3> Layer connection acceptance response data receiving means 31 <3> Layer connection acceptance response data notifying means 32 <3> Layer connection rejection response Reception means 33 <3> Layer connection rejection response means 34 <2> Layer connection rejection response reception means 35 <2> Layer connection rejection response means 36 <1> Layer connection rejection response reception means 37 Connection rejection response data transmission means 38 <1 > Layer connection rejection response data receiving means 39 <1> Layer connection rejection response data notifying means 40 <2> Layer connection rejection response data receiving means 41 <2> Layer connection rejection response data Notification means 42 <3> layer connection rejection response data receiving means 43 <3> layer connection rejection response data notification means 44 <1> layer connection rejection data transmitting means 45 <1> layer connection rejection data receiving means 46 <2> layer Connection rejection data transmitting means 47 <2> Layer connection rejection data receiving means 48 <3> Layer connection rejection data transmitting means 49 <1> Layer connection rejection data receiving means 50 <1> Layer connection rejection data notifying means 51 <2> layer Connection rejection data receiving means 52 <2> Layer connection rejection data notification means 53 <3> Layer connection rejection data receiving means 54 <3> Layer connection rejection data notification means 55 Application program 56 Host computer 57 Network

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】通信アーキテクチャに論理的な層構造を持
つ複数のコンピュータ同士が互いに対応する各層間で予
め決められたプロトコルを実行することでエンド・エン
ドのアプリケーションプログラム間の通信手段を提供す
るコンピュータネットワークシステムにおけるアプリケ
ーションプログラム接続方式において、<N>層のプロ
トコルを有し、送信側では、アプリケーションプログラ
ムからの接続要求を受け付ける最上位の前記<N>層接
続要求受付手段と<N>層状態を切断状態から接続要求
状態とする<N>層状態管理手段と前記<N>層接続要
求受付手段から渡された前記アプリケーションプログラ
ムからの接続要求データに<N>層間の接続を行うため
の<N>層接続要求情報を付加して<N−1>層に接続
要求を行う<N>層接続要求手段と、前記<N>層接続
要求手段からの接続要求を受け付ける<N−1>層接続
要求受付手段と<N−1>層状態を切断状態から接続要
求状態とする<N−1>層状態管理手段と前記<N−1
>層接続要求受付手段から渡された前記<N>層からの
接続要求データに<N−1>層間の接続を行うための<
N−1>層接続要求情報を付加して<N−2>層に接続
要求を行う<N−1>層接続要求手段と、以降<2>層
に至るまで前記<N>層と前記<N−1>層と前記<N
−2>層の関係と同様の関係を有する各層手段と、前記
<2>層接続要求手段からの接続要求を受け付ける<1
>層接続要求受付手段と<1>層状態を切断状態から接
続要求状態とする<1>層状態管理手段と前記<1>層
接続要求受付手段から渡された前記<2>層からの接続
要求データに<1>層間の接続を行うための<1>層接
続要求情報を付加し伝送路上に前記接続要求データを送
信する接続要求データ送信手段とを有する送信側通信プ
ロトコル実行手段を備え、受信側では、前記接続要求デ
ータを前記伝送路から受信する最下位の<1>層接続要
求データ受信手段と前記接続要求データ内の<1>層間
の接続要求情報の正当性を判定する<1>層接続要求情
報判定手段と前記正当性ありと判定された場合には<1
>層状態を切断状態から接続受付状態とする<1>層状
態管理手段と前記接続要求データから前記<1>層間の
接続要求情報を削除して上位の<2>層に渡す<1>層
接続要求データ通知手段と、前記<1>層接続要求デー
タ通知手段から渡された接続要求データを受信する<2
>層接続要求データ受信手段と受信した前記接続要求デ
ータ内の<2>層間の接続要求情報の正当性を判定する
<2>層接続要求情報判定手段と前記正当性ありと判定
された場合には前記<2>層状態を切断状態から接続受
付状態とする<2>層状態管理手段と前記<1>層から
受信した接続要求データから前記<2>層間の接続要求
情報を削除して上位の<3>層に渡す<2>層接続要求
データ通知手段と、以降<N−1>層に至るまで前記<
1>層と前記<2>層と前記<3>層の関係と同様の関
係を有する各層手段と、前記<N−1>層接続要求デー
タ通知手段から渡された接続要求データを受信する<N
>層接続要求データ受信手段と受信した前記接続要求デ
ータ内の<N>層間の接続要求情報の正当性を判定する
<N>層接続要求情報判定手段と前記正当性ありと判定
された場合には前記<N>層状態を切断状態から接続受
付状態とする<N>層状態管理手段と前記<N−1>層
から受信した前記接続要求データから前記<N>層間の
接続要求情報を削除して前記アプリケーションプログラ
ムに渡す<N>層接続要求データ通知手段を有する受信
側通信プロトコル実行手段を備えることを特徴とするア
プリケーションプログラム接続方式。
1. A computer which provides a communication means between end-to-end application programs by executing a predetermined protocol between layers corresponding to each other and having a logical layer structure in a communication architecture. The application program connection method in the network system has a protocol of the <N> layer, and the transmitting side has the <N> layer connection request receiving means for receiving the connection request from the application program and the <N> layer state. The connection request data from the application program passed from the <N> layer state management means and the <N> layer connection request reception means for changing the connection state from the disconnected state to the connection request state is <N> for making a connection between the <N> layers. > A connection request is made to the <N-1> layer by adding the layer connection request information <N> A connection requesting means, a <N-1> layer connection request receiving means for receiving a connection request from the <N> layer connection requesting means, and changing the <N-1> layer state from a disconnected state to a connection requesting state <N-1>> Layer state management means and <N-1
> The connection request data from the <N> layer passed from the layer connection request receiving means is used to perform connection between <N-1> layers.
<N-1> layer connection request means for making a connection request to the <N-2> layer by adding the N-1> layer connection request information, and the <N> layers and the <<N-1> layer and the <N
-2> each layer means having the same relation as the layer relation, and <1> receiving a connection request from the <2> layer connection request means.
> Layer connection request receiving means and <1> Layer state is changed from disconnected state to connection request state. <1> Layer state management means and connection from <2> layer passed from <1> Layer connection request receiving means. Transmission-side communication protocol execution means having connection request data transmission means for adding <1> layer connection request information for performing connection between <1> layers to request data and transmitting the connection request data on a transmission path, On the receiving side, the lowest-order <1> layer connection request data receiving means for receiving the connection request data from the transmission path and determining the validity of the connection request information between <1> layers in the connection request data <1>&Gt; If the layer connection request information determining means and the validity are determined, <1
> Change the layer state from the disconnected state to the connection accepting state. <1> Layer state management means and delete the connection request information between the <1> layers from the connection request data and pass it to the upper <2> layer. Receiving the connection request data passed from the connection request data notification means and the <1> layer connection request data notification means <2>
<2> Determine the validity of the connection request information between the layers in the connection request data received by the layer connection request data receiving means. <2> When the layer connection request information determination means and the validity are determined, Changes the <2> layer state from the disconnected state to the connection accepting state, deletes the <2> layer connection request information from the <2> layer state management means and the connection request data received from the <1> layer, and <2> layer connection request data notifying means to be passed to layer <3>
Each of the layer units having the same relationship as the relationship between the <1> layer, the <2> layer, and the <3> layer, and receiving the connection request data passed from the <N-1> layer connection request data notification unit < N
> The layer connection request data receiving means and the received connection request data determine the validity of the connection request information between <N> layers. <N> The layer connection request information determining means determines the validity of the connection request information. Deletes the connection request information between the <N> layers from the <N> layer state management means and the connection request data received from the <N-1> layer from the <N> layer state to the connection acceptance state from the disconnected state. And <N> layer connection request data notifying means for passing to said application program.
【請求項2】前記受信側通信プロトコル実行手段が、前
記アプリケーションプログラムからの接続受諾応答を受
け付ける最上位の<N>層接続受諾応答受付手段と前記
<N>層状態を接続受付状態から接続状態とする<N>
層状態管理手段と前記<N>層接続受諾応答受付手段か
ら渡された前記アプリケーションプログラムからの接続
受諾応答データに前記<N>層間の接続受諾を行うため
の<N>層接続受諾応答情報を付加する<N>層接続受
諾応答手段と、前記<N>層接続受諾応答手段からの接
続受諾応答を受け付ける<N−1>層接続受諾応答受付
手段と前記<N>層状態を接続受付状態から接続状態と
する<N−1>層状態管理手段と前記<N−1>層接続
受諾応答受付手段から渡された前記<N>層からの接続
受諾応答データに前記<N>層間の接続受諾を行うため
の<N>層接続受諾応答情報を付加する<N−1>層接
続受諾応答手段と、以降<2>層に至るまで前記<N>
層と前記<N−1>層と前記<N−2>層の関係と同様
の関係を有する各層手段と、前記<2>層接続受諾応答
手段からの接続受諾応答を受け付ける<1>層接続受諾
応答受付手段と前記<1>層状態を接続受付状態から接
続状態とする<1>層状態管理手段と前記<1>層接続
受諾応答受付手段から渡された前記<2>層からの接続
受諾応答データに前記<1>層間の接続受諾を行うため
の<1>層接続受諾応答情報を付加し付加された前記接
続受諾応答データを前記伝送路上に送信する接続受諾応
答データ送信手段とを有し、前記送信側通信プロトコル
実行手段が、前記接続受諾応答データを前記伝送路から
受信する最下位の<1>層接続受諾応答データ受信手段
と前記<1>層状態を接続要求状態から接続状態とする
<1>層状態管理手段と前記伝送路から受信した前記接
続受諾応答データから前記<1>層間の接続受諾応答情
報を削除して上位の<2>層に渡す<1>層接続受諾応
答データ通知手段と、前記<1>層接続受諾応答データ
通知手段から渡された前記接続受諾応答データを受信す
る<2>層接続受諾応答データ受信手段と前記<2>層
状態を接続要求状態から接続状態とする<2>層状態管
理手段と前記<1>層から受信した接続受諾応答データ
から前記<2>層間の接続受諾応答情報を削除して上位
の<3>層に渡す<2>層接続受諾応答データ通知手段
と、以降<N−1>層に至るまで前記<1>層と前記<
2>層と前記<3>層の関係と同様の関係を有する各層
手段と、前記<N−1>層接続受諾応答データ通知手段
から渡された接続受諾応答データを受信する<N>層接
続受諾応答データ受信手段と前記<N>層状態を接続要
求状態から接続状態とする<N>層状態管理手段と前記
<N−1>層から受信した前記接続受諾応答データから
前記<N>層間の接続受諾応答情報を削除して前記アプ
リケーションプログラムに渡す<N>層接続受諾応答デ
ータ通知手段とを有することを特徴とする請求項1記載
のアプリケーションプログラム接続方式。
2. The receiving-side communication protocol executing means receives the connection acceptance response from the application program, and the highest-order <N> -layer connection acceptance response receiving means, and changes the <N> -layer state from the connection receiving state to the connection state. <N>
<N> layer connection acceptance response information for accepting the connection between the <N> layers is added to the connection acceptance response data from the application program passed from the layer state management means and the <N> layer connection acceptance response receiving means. The <N> layer connection acceptance response means to be added, the <N-1> layer connection acceptance response reception means for accepting a connection acceptance response from the <N> layer connection acceptance response means, and the connection acceptance state of the <N> layer state The connection between the <N> layer and the connection acceptance response data from the <N> layer passed from the <N-1> layer state management means and the <N-1> layer connection acceptance response receiving means to make the connection state <N-1> layer connection acceptance response means for adding <N> layer connection acceptance response information for accepting, and the above <N> until the <2> layer
Layer means having the same relationship as the relationship between the <N-1> layer and the <N-2> layer, and the <1> layer connection for receiving a connection acceptance response from the <2> layer connection acceptance response means. Acceptance response receiving means, the connection from the <2> layer passed from the <1> layer state management means, and the <1> layer connection acceptance response receiving means for changing the <1> layer state from the connection reception state to the connection state. Connection acceptance response data transmitting means for adding <1> layer connection acceptance response information for accepting the connection between the <1> layers to the acceptance response data and transmitting the added connection acceptance response data to the transmission path. The transmission-side communication protocol execution means connects the lowermost <1> layer connection acceptance response data receiving means for receiving the connection acceptance response data from the transmission line with the <1> layer state from a connection request state. <1> Layer status management And <1> layer connection acceptance response data notifying means for deleting the connection acceptance response information between the <1> layers from the connection acceptance response data received from the transmission path and passing the information to the higher <2>layer;1> receiving the connection acceptance response data passed from the layer connection acceptance response data notifying unit; <2> changing the layer status from the connection request state to the connection state from the connection request state; The layer status management means and the connection acceptance response information between the <2> layers are deleted from the connection acceptance response data received from the <1> layer and passed to the higher <3> layer. And the following <1> layer and the <<1> layer up to the <N-1> layer.
<N> -layer connection that receives connection acceptance response data passed from the <N-1> -layer connection acceptance response data notifying means, and each layer means having the same relationship as the relationship between the <2> layer and the <3> layer. Acceptance response data receiving means, the <N> layer state from the connection request state to the connection state, the <N> layer state management means, and the <N> layer based on the connection acceptance response data received from the <N-1> layer. 2. An application program connection system according to claim 1, further comprising: <N> layer connection acceptance response data notifying means for deleting the connection acceptance response information of (a) and passing the information to the application program.
【請求項3】前記受信側通信プロトコル実行手段が、前
記アプリケーションプログラムからの接続拒否応答を受
け付ける前記<N>層接続拒否応答受付手段と前記<N
>層状態を接続受付状態から切断状態に戻す<N>層状
態管理手段と前記<N>層接続拒否応答受付手段から渡
された前記アプリケーションプログラムからの接続拒否
応答データに前記<N>層間の接続拒否を行うための<
N>層接続拒否応答情報を付加して<N−1>層に接続
拒否応答を行う<N>層接続拒否応答手段と、前記<N
>層接続拒否応答手段からの接続拒否応答を受け付ける
<N−1>層接続拒否応答受付手段と、前記<N−1>
層状態を接続受付状態から切断状態に戻す<N−1>層
状態管理手段と前記<N−1>層接続拒否応答受付手段
から渡された前記<N>層からの接続拒否応答データに
前記<N−1>層間の接続拒否を行うための<N−1>
層接続拒否応答情報を付加して<N−2>層に接続拒否
応答を行う<N−1>層接続拒否応答手段と、以降<2
>層に至るまで前記<N>層と前記<N−1>層と前記
<N−2>層の関係と同様の関係を有する各層手段と、
前記<2>層接続拒否応答手段からの接続拒否応答を受
け付ける<1>層接続拒否応答受付手段と、前記<1>
層状態を接続受付状態から切断状態に戻す<1>層状態
管理手段と前記<1>層接続拒否応答受付手段から渡さ
れた前記<2>層からの接続拒否応答データに前記<1
>層間の接続拒否を行うための<1>層接続拒否応答情
報を付加し前記伝送路上に前記付加された接続拒否応答
データを送信する接続拒否応答データ送信手段とを有
し、前記送信側通信プロトコル実行手段が、前記接続拒
否応答データを前記伝送路から受信する最下位の<1>
層接続拒否応答データ受信手段と前記<1>層状態を接
続要求状態から切断状態に戻す<1>層状態管理手段と
前記伝送路から受信した接続拒否応答データから前記<
1>層間の接続拒否応答情報を削除して上位の<2>層
に渡す<1>層接続拒否応答データ通知手段と、前記<
1>層接続拒否応答データ通知手段から渡された接続拒
否応答データを受信する<2>層接続拒否応答データ受
信手段と前記<2>層状態を接続要求状態から切断状態
に戻す<2>層状態管理手段と前記<1>層から受信し
た接続拒否応答データから前記<2>層間の接続拒否応
答情報を削除して上位の<3>層に渡す<2>層接続拒
否応答データ通知手段と、以降<N−1>層に至るまで
前記<1>層と前記<2>層と前記<3>層の関係と同
様の関係を有する各層手段と、前記<N−1>層接続拒
否応答データ通知手段から渡された接続拒否応答データ
を受信する<N>層接続拒否応答データ受信手段と前記
<N>層状態を接続要求状態から切断状態に戻す<N>
層状態管理手段と前記<N−1>層から受信した接続拒
否応答データから前記<N>層間の接続拒否応答情報を
削除して削除された前記接続拒否応答情報を前記アプリ
ケーションプログラムに渡す<N>層接続拒否応答デー
タ通知手段とを有することを特徴とする請求項1記載の
アプリケーションプログラム接続方式。
3. The <N> layer connection rejection response receiving means for receiving a connection rejection response from the application program, wherein the receiving side communication protocol executing means receives the connection rejection response from the application program.
> Return the layer state from the connection accepting state to the disconnected state. <N> The layer state management means and the connection rejection response data from the application program passed from the <N> layer connection rejection response receiving means. To reject connection <
An <N> layer connection rejection response means for performing a connection rejection response to the <N-1> layer by adding the N> layer connection rejection response information;
<N-1> layer connection rejection response receiving means for receiving a connection rejection response from layer connection rejection response means;
The connection state rejection response data from the <N> layer passed from the <N-1> layer state management means and the <N-1> layer connection rejection response receiving means returning the layer state from the connection acceptance state to the disconnected state. <N-1><N-1> for rejecting connection between layers
<N-1> layer connection rejection response means for performing a connection rejection response to the <N-2> layer by adding layer connection rejection response information;
Each layer means having the same relationship as the relationship between the <N> layer, the <N-1> layer, and the <N-2> layer up to the> layer,
The <2> layer connection rejection response receiving unit receives the connection rejection response from the <1> layer connection rejection response unit, and the <1> layer connection rejection response receiving unit.
Returning the layer state from the connection accepting state to the disconnected state from the <1> layer state management means and the <1> layer connection rejection response data passed from the <2> layer passed from the <1> layer connection rejection response receiving means.
And <1> connection rejection response data transmitting means for adding layer connection rejection response information and transmitting the added connection rejection response data on the transmission line for rejecting connection between layers. Protocol execution means receiving the connection rejection response data from the transmission line at the lowest order <1>
The layer connection rejection response data receiving means, the <1> layer state is returned from the connection request state to the disconnection state, and the <1> layer state management means and the connection rejection response data received from the transmission line are used to determine the <
<1> layer connection rejection response data notifying means for deleting connection rejection response information between layers and passing the information to the upper <2>layer;
1> Receiving the connection rejection response data passed from the layer connection rejection response data notification means <2> Layer connection rejection response data receiving means and returning the <2> layer state from the connection request state to the disconnected state <2> layer A state management unit, and a <2> layer connection rejection response data notifying unit that deletes the connection rejection response information between the <2> layers from the connection rejection response data received from the <1> layer and passes it to the upper <3> layer. The layer means having the same relationship between the <1> layer, the <2> layer, and the <3> layer until reaching the <N-1> layer, and the <N-1> layer connection rejection response <N> layer connection rejection response data receiving means for receiving the connection rejection response data passed from the data notification means, and returning the <N> layer state from the connection request state to the disconnected state <N>
The connection rejection response information between the <N> layers is deleted from the layer rejection response data received from the layer status management means and the <N-1> layer, and the deleted connection rejection response information is passed to the application program. 2. The application program connection method according to claim 1, further comprising: a layer connection rejection response data notification unit.
【請求項4】前記受信側通信プロトコル実行手段が、前
記<N>層接続要求情報判定手段で前記接続要求データ
内の<N>層間の接続要求情報が不正であると判定した
場合には前記接続要求データ内の<N>層接続要求情報
を接続拒否情報に置換し接続拒否データとして<N−1
>層に渡す<N>層接続拒否データ送信手段と、前記<
N>層接続拒否データ送信手段から前記接続拒否データ
を受け付ける<N−1>層接続拒否データ受付手段と<
N−1>層状態を接続受付状態から切断状態に戻す<N
−1>層状態管理手段と前記<N−1>層接続要求情報
判定手段で前記接続要求データ内の<N−1>層間の接
続要求情報が不正であると判定した場合には前記<N−
1>層接続拒否データ受付手段から受けた接続拒否デー
タに前記<N−1>層間の接続拒否応答情報を付加して
下位の前記<N−2>層に送信する<N−1>層接続拒
否データ送信手段と、以降<2>層に至るまで前記<N
−1>層と同様の処理を行う各層手段と、前記<2>層
接続拒否データ送信手段から前記接続拒否データを受け
付ける<1>層接続拒否データ受付手段と<1>層状態
を接続受付状態から切断状態に戻す<1>層状態管理手
段と前記<1>層接続要求情報判定手段で前記接続要求
データ内の<1>層間の接続要求情報が不正であると判
定した場合には前記<1>層接続拒否データ受付手段か
ら受けた接続拒否データに前記<1>層間の接続拒否応
答情報を付加して前記伝送路に送信する<1>層接続拒
否データ送信手段とを備え、前記送信側通信プロトコル
実行手段が、前記接続拒否データを前記伝送路から受信
する最下位の<1>層接続拒否データ受信手段と前記<
1>層状態を接続要求状態から切断状態に戻す<1>層
状態管理手段と前記伝送路から受信した接続拒否データ
から前記<1>層間の接続拒否情報を削除して上位の<
2>層に渡す<1>層接続拒否データ通知手段と、前記
<1>層接続拒否データ通知手段から渡された接続拒否
データを受信する<2>層接続拒否データ受信手段と前
記<2>層状態を接続要求状態から切断状態に戻す<2
>層状態管理手段と前記<1>層から受信した接続拒否
データから前記<2>層間の接続拒否情報または前記<
2>層が付加した送信要求情報を削除して上位の<3>
層に渡す<2>層接続拒否データ通知手段と、以降<N
−1>層まで前記<2>層と同様の処理を行う各層手段
と、前記<N−1>層接続拒否データ通知手段から渡さ
れた接続拒否データを受信する<N>層接続拒否データ
受信手段と前記<N>層状態を接続要求状態から切断状
態に戻す<N>層状態管理手段と前記<N−1>層から
受信した接続拒否データから前記<N>層間の接続拒否
情報あるいは前記<N>層が付加した送信要求情報を削
除して前記アプリケーションプログラムに渡す<N>層
接続拒否データ通知手段とを備えることを特徴とする請
求項1記載のアプリケーションプログラム接続方式。
4. When the receiving-side communication protocol executing means determines that the connection request information between the <N> layers in the connection request data is invalid by the <N> layer connection request information determining means, The <N> layer connection request information in the connection request data is replaced with connection refusal information, and <N-1
<N> layer connection rejection data transmitting means to be passed to the
N> receiving the connection rejection data from the layer connection rejection data transmitting means <N-1> layer connection rejection data receiving means
N-1> Return layer state from connection accepting state to disconnected state <N
-1> when the layer status management means and the <N-1> layer connection request information determination means determine that the connection request information between the <N-1> layers in the connection request data is invalid, −
1> The connection rejection data received from the layer connection rejection data receiving means is added with the connection rejection response information between the <N-1> layers and transmitted to the lower <N-2> layer. Rejection data transmission means;
-1> each layer means for performing the same processing as the layer, <2> layer connection rejection data receiving means for receiving the connection rejection data from the <2> layer connection rejection data transmitting means, and <1> layer connection rejection state When the connection request information between the <1> layers in the connection request data is determined to be invalid by the <1> layer state management means and the <1> layer connection request information determination means, And <1> layer connection rejection data transmitting means for adding the <1> layer connection rejection response information to the connection rejection data received from the layer connection rejection data receiving means and transmitting the result to the transmission path. The lower-layer <1> layer connection rejection data receiving means for receiving the connection rejection data from the transmission line;
<1> Return the layer state from the connection request state to the disconnected state. <1> Delete the <1> layer connection rejection information from the <1> layer connection rejection information from the layer rejection data received from the transmission line and the upper layer <
<2> Layer connection rejection data notifying means, which receives the connection rejection data passed from <1> layer connection rejection data notifying means, and <2> layer connection rejection data receiving means, and <2> Return the layer state from the connection request state to the disconnected state <2
> The connection state rejection information between the <2> layers or the <<
2> The transmission request information added by the layer is deleted and the upper <3>
<2> layer connection rejection data notification means to be passed to the layer;
Each layer means for performing the same processing as the <2> layer up to the <-1> layer, and receiving the connection rejection data passed from the <N-1> layer connection rejection data notifying means <N> layer connection rejection data reception Means for returning the state of the <N> layer from the connection request state to the disconnected state, the <N> layer state management means, and the connection rejection information between the <N> layers or the connection rejection data from the connection rejection data received from the <N-1> layer. 2. The application program connection system according to claim 1, further comprising: <N> layer connection rejection data notifying means for deleting the transmission request information added by the <N> layer and passing it to the application program.
JP4301034A 1992-11-11 1992-11-11 Application program connection method Expired - Fee Related JP2871354B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4301034A JP2871354B2 (en) 1992-11-11 1992-11-11 Application program connection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4301034A JP2871354B2 (en) 1992-11-11 1992-11-11 Application program connection method

Publications (2)

Publication Number Publication Date
JPH06152691A JPH06152691A (en) 1994-05-31
JP2871354B2 true JP2871354B2 (en) 1999-03-17

Family

ID=17892060

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4301034A Expired - Fee Related JP2871354B2 (en) 1992-11-11 1992-11-11 Application program connection method

Country Status (1)

Country Link
JP (1) JP2871354B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100869540B1 (en) * 2004-08-06 2008-11-19 샤프 가부시키가이샤 Transmitter, receiver, communication system, communication method, and computer-readable recording medium having communication program recorded therein

Also Published As

Publication number Publication date
JPH06152691A (en) 1994-05-31

Similar Documents

Publication Publication Date Title
US4926415A (en) Local area network system for efficiently transferring messages of different sizes
EP1164766B1 (en) Switch connection control apparatus for channels
US7412245B2 (en) Dynamic wireless meshing network for supporting load balance and flow control
JPH06209347A (en) Signal connection control part
JP3234058B2 (en) Communication system and method of operation
US8260894B2 (en) Method for balancing load among subsystems in communication network system of bus network structure
US20040001512A1 (en) Method and apparatus for peer to peer bandwidth sharing
US5408610A (en) Communication control apparatus which communicates management information in a communication system
CN103297347A (en) Load balance processing method and device
JPH08288951A (en) Atm switch and congestion control system in atm-lan
EP0487811A1 (en) Digital telecommunication system with intelligent user terminals
JP2871354B2 (en) Application program connection method
JP2002077277A (en) Method of providing access control for and/or in relation to users accessing the internet from terminals via private access node, and apparatus for carring out such method
US6718396B1 (en) Network structure method and route determination equipment
US5606557A (en) Bus load distributing method suitable for data communications equipment and bus switching control device for data communications equipment
JP2001119436A (en) Communication control system and communication control method
CN1332531C (en) A method for dynamically adjusting system service performance on service management point
JP3166118B2 (en) Autonomous congestion control method in service control node
JP3582023B2 (en) Representative group terminal aggregation method
JP3502274B2 (en) Connection type communication system or terminal or node in the connection type communication system
JP2653187B2 (en) Hierarchical protocol processing method
EP1319288B1 (en) Resource saving device and coupling of a connection in a telecommunication system
CN117880110A (en) Link determination method, device, electronic equipment and readable storage medium
JP3492466B2 (en) Band variable control method
JP3724327B2 (en) Response transmission method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19981208

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080108

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090108

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100108

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees