JP3256974B2 - Layer protocol processing method - Google Patents

Layer protocol processing method

Info

Publication number
JP3256974B2
JP3256974B2 JP41032690A JP41032690A JP3256974B2 JP 3256974 B2 JP3256974 B2 JP 3256974B2 JP 41032690 A JP41032690 A JP 41032690A JP 41032690 A JP41032690 A JP 41032690A JP 3256974 B2 JP3256974 B2 JP 3256974B2
Authority
JP
Japan
Prior art keywords
layer
module
processing
protocol processing
layer protocol
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
JP41032690A
Other languages
Japanese (ja)
Other versions
JPH04215157A (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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP41032690A priority Critical patent/JP3256974B2/en
Publication of JPH04215157A publication Critical patent/JPH04215157A/en
Application granted granted Critical
Publication of JP3256974B2 publication Critical patent/JP3256974B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【技術分野】本発明はレイヤプロトコル処理方式に関
し、特に情報通信ネットワークにおいてエンドトウエン
ド(End-to-End)の通信プロトコルがレイヤ上に構成さ
れソフトウェアによってプロトコル処理される通信技術
におけるレイヤプロトコル処理方式に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a layer protocol processing method, and more particularly to a layer protocol processing method in a communication technology in which an end-to-end communication protocol is formed on a layer in an information communication network and the protocol is processed by software. It is about.

【0002】[0002]

【従来技術】図2は従来のプロトコルを処理する際のソ
フトウェアモジュール構造を示している。図の(A)は
プロトコルレイヤ構造を示しており、外部からのコマン
ドまたはパケットデータ21はレイヤ構成23の最上位
のレイヤNからシーケンシャルに処理され、最下位のレ
イヤ処理後、ラインドライバインタフェース24に送出
される。
2. Description of the Related Art FIG. 2 shows a software module structure for processing a conventional protocol. FIG. 4A shows a protocol layer structure, in which a command or packet data 21 from the outside is sequentially processed from the uppermost layer N of the layer configuration 23, and after the lowermost layer processing, the line driver interface 24. Sent out.

【0003】ネットワーク25から受信したデータは上
述とは逆の処理が施されてレイヤN処理の後、レスポン
ス22として外部へ送出される。
The data received from the network 25 is subjected to a process reverse to that described above, and after the layer N process, is sent out as a response 22 to the outside.

【0004】これ等レイヤプロトコルを従来型のソフト
ウェアモジュール構成に対応させて示したのが図の
(B)である。各レイヤの処理は独立にモジュール(2
3・N,23・N−1,23N−2,…)化されてお
り、例えば、外部から入力されるコマンド21は最上位
のレイヤNモジュール23・Nで取込まれて処理され、
このレイヤN対応のパケットバッファ24で一時的に保
持される。
FIG. 1B shows these layer protocols corresponding to the conventional software module configuration. Processing of each layer is performed independently by module (2
, 3N, 23N-1, 23N-2,...). For example, a command 21 input from the outside is captured and processed by the uppermost layer N module 23N.
The packet is temporarily stored in the packet buffer 24 corresponding to the layer N.

【0005】次のレイヤモジュール23・N−1でバッ
ファ24からパケットデータを取込みレイヤN−1の処
理が実行される。
The next layer module 23.N-1 takes in the packet data from the buffer 24 and executes the processing of the layer N-1.

【0006】この様に、最下位レイヤモジュールまで処
理されたパケットは、ラインドライバインタフェース2
7を駆動するデバイスドライバモジュール26に送ら
れ、ラインドライバからネットワークへ送られることに
なる。
[0006] As described above, the packets processed up to the lowest layer module are sent to the line driver interface 2.
7 is sent to the device driver module 26 that drives the device 7, and is sent from the line driver to the network.

【0007】上述した従来のレイヤプロトコル処理方式
では、各レイヤモジュールがデータパケットに対して共
通に使用されるようになっているので、モジュールの変
更、追加が生じた場合、全てのパケット処理に影響が出
てしまい、影響の局所化を図ることが困難である。ま
た、変更中はネットワークサービスが全面的に停止する
という欠点もある。
In the above-mentioned conventional layer protocol processing method, since each layer module is commonly used for data packets, any change or addition of a module affects all packet processing. And it is difficult to localize the influence. There is also a disadvantage that the network service is completely stopped during the change.

【0008】[0008]

【発明の目的】本発明の目的は、レイヤプロトコル処理
の変更,追加を他のコネクションに影響を与えること無
く最小限の局所化で行うことができるようにしたレイヤ
プロトコル処理方式を提供することである。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a layer protocol processing method capable of changing or adding a layer protocol processing with minimal localization without affecting other connections. is there.

【0009】[0009]

【発明の構成】本発明によるレイヤプロトコル処理方式
は、レイヤプロトコル処理の各レイヤ毎に対応してオブ
ジェクト空間内に設けられた複数のレイヤ処理オブジェ
クトモジュールと、コネクション毎のアプリケーション
モジュールとを設け、前記アプリケーションモジュール
の各々は、対応コネクションのレイヤプロトコル処理の
ための各レイヤ処理オブジェクトモジュールを呼出す指
定ポインタ,各レイヤ処理で使用する作業用レジスタ,
レイヤ間のパケットデータを一時的に保持するバッフ
ァ,各アプリケーションモジュールの動作を指示するた
めのコード領域を含み、これ等アプリケーションモジュ
ールから前記オブジェクトモジュール側へ前記指定ポイ
ンタを送出するようにしたことを特徴とする。
The layer protocol processing system according to the present invention comprises a plurality of layer processing object modules provided in an object space corresponding to each layer of the layer protocol processing, and an application module for each connection. Each of the application modules includes a designated pointer for calling each layer processing object module for the layer protocol processing of the corresponding connection, a work register used in each layer processing,
It includes a buffer for temporarily holding packet data between layers, a code area for instructing the operation of each application module , and the application module sends the designated pointer to the object module side.
The data is transmitted.

【0010】図1は本発明の実施例のソフトウェアモジ
ュール構成を示す図である。ソフトウェアモジュール
は、図示する如く、コネクション毎のアプリケーション
モジュール(APL1及びAPL2)5,6と、オブジ
ェクトモジュール空間3として存在する各レイヤ対応の
レイヤ処理モジュール1・1〜1・5およびレイヤ処理
モジュール間の排他制御をなすスケジューラモジュール
2とにより構成されている。
FIG. 1 is a diagram showing a software module configuration according to an embodiment of the present invention. As shown, the software modules include application modules (APL1 and APL2) 5 and 6 for each connection, and layer processing modules 1.1 to 1.5 and layer processing modules corresponding to each layer existing as an object module space 3. And a scheduler module 2 that performs exclusive control.

【0011】例えば、コネクション#1が要求される
と、それに対応したアプリケーションモジュール5が呼
出される。このコネクションで必要とするレイヤ処理は
ポインタにて指定され、オブジェクトモジュール3へ
インタをその内容とするメッセージ4が送出される。
For example, when connection # 1 is requested, the corresponding application module 5 is called. Layer processing required by the connection designated by the pointer, port to an object module 3
A message 4 containing the contents of the interface is transmitted.

【0012】このメッセージ4で示されたポインタによ
りオブシェクトモジュール内の対応するレイヤ処理オブ
ジェクト(この例では、レイヤ処理1・1)が選択的に
活性化されて動作する。レイヤ処理オブジェクトが動作
中に必要な作業レジスタはアプリケーションモジュール
5内のデータ構造の形式で確保されており、これが使用
されることになる。
The corresponding layer processing object (layer processing 1.1 in this example) in the object module is selectively activated by the pointer indicated by the message 4 to operate. Work registers required during operation of the layer processing object are secured in the form of a data structure in the application module 5, and are used.

【0013】レイヤ処理オブジェクトの処理が終了する
と、次のレイヤ処理オブシェクトへ送るパケットデータ
がアプリケーションモジュール5内のバッファ領域に記
憶される。
When the processing of the layer processing object is completed, the packet data to be sent to the next layer processing object is stored in the buffer area in the application module 5.

【0014】この様に次次と必要なレイヤ処理が実行さ
れる。そのシーケンスを決定するのがアプリケーション
モジュール5内のテキストコード領域のコードである。
In this manner, the necessary layer processing is executed successively. It is the code of the text code area in the application module 5 that determines the sequence.

【0015】スケジューラオブジェクトモジュール2は
複数のアプリケーションモジュールが同一のレイヤ処理
オブジェクトを競合して使用する場合に、この競合状態
を防止すべく所定の排他規則で排他制御を行うものであ
る。
When a plurality of application modules use the same layer processing object in conflict with each other, the scheduler object module 2 performs exclusion control according to a predetermined exclusion rule in order to prevent this conflict state.

【0016】[0016]

【発明の効果】以上のように本発明によれば、コネクシ
ョンを独立なアプリケーションモジュールとし、各レイ
ヤ処理モジュールをオブジェクトとして別の空間に配置
することで、レイヤプロトコル処理の変更、追加をコネ
クションに影響を与えることなく最小限の局所化で行う
ことができるという効果がある。
As described above, according to the present invention, the connection is made an independent application module, and each layer processing module is arranged as an object in another space, so that the change or addition of the layer protocol processing affects the connection. There is an effect that it can be performed with minimal localization without giving

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

【図1】本発明の実施例のレイヤプロトコル処理のソフ
トウェアモジュール構成を示す図である。
FIG. 1 is a diagram illustrating a software module configuration of a layer protocol process according to an embodiment of the present invention.

【図2】従来のレイヤプロトコル処理方式を示す図であ
る。
FIG. 2 is a diagram showing a conventional layer protocol processing method.

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

1・1〜1・5 レイヤ処理モジュール 4 メッセージ 5,6 アプリケーションモジュール 1.1 to 1.5 Layer processing module 4 Message 5, 6 Application module

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 13/00 H04L 29/06 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 13/00 H04L 29/06

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 レイヤプロトコル処理の各レイヤ毎に対
応してオブジェクト空間内に設けられた複数のレイヤ処
理オブジェクトモジュールと、コネクション毎のアプリ
ケーションモジュールとを設け、前記アプリケーション
モジュールの各々は、対応コネクションのレイヤプロト
コル処理のための各レイヤ処理オブジェクトを呼出す指
定ポインタ,各レイヤ処理で使用する作業用レジスタ,
レイヤ間のパケットデータを一時的に保持するバッフ
ァ,各アプリケーションモジュールの動作を指示するた
めのコード領域を含み、これ等アプリケーションモジュ
ールから前記オブジェクトモジュール側へ前記指定ポイ
ンタを送出するようにしたことを特徴とするレイヤプロ
トコル処理方式。
A plurality of layer processing object modules provided in an object space corresponding to each layer of the layer protocol processing and an application module for each connection are provided, and each of the application modules includes a corresponding connection module. A designated pointer that calls each layer processing object for layer protocol processing, a working register used in each layer processing,
It includes a buffer for temporarily holding packet data between layers, a code area for instructing the operation of each application module , and the application module sends the designated pointer to the object module side.
Layer protocol processing method is characterized in that so as to deliver the pointer.
JP41032690A 1990-12-13 1990-12-13 Layer protocol processing method Expired - Fee Related JP3256974B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP41032690A JP3256974B2 (en) 1990-12-13 1990-12-13 Layer protocol processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP41032690A JP3256974B2 (en) 1990-12-13 1990-12-13 Layer protocol processing method

Publications (2)

Publication Number Publication Date
JPH04215157A JPH04215157A (en) 1992-08-05
JP3256974B2 true JP3256974B2 (en) 2002-02-18

Family

ID=18519504

Family Applications (1)

Application Number Title Priority Date Filing Date
JP41032690A Expired - Fee Related JP3256974B2 (en) 1990-12-13 1990-12-13 Layer protocol processing method

Country Status (1)

Country Link
JP (1) JP3256974B2 (en)

Also Published As

Publication number Publication date
JPH04215157A (en) 1992-08-05

Similar Documents

Publication Publication Date Title
US4907220A (en) Process for the establishment of virtual connections passing through switching matrices of a multi-stage switching system
JPH02303242A (en) Bus repeater
US4977499A (en) Method and apparatus for commanding operations on a computer network
JP3256974B2 (en) Layer protocol processing method
WO2004088522A1 (en) Bus bridge device, bus bridge method, and i/o control device
JP2715815B2 (en) Data writing method
JP2500608B2 (en) Response confirmation method
JP3313646B2 (en) No. 7-signal ISUP transit exchange
JP3893787B2 (en) Communication method
JPH01276940A (en) Data transfer controller
JP2880202B2 (en) Set call management method
JPH05191474A (en) Communication protocol processor
JPH0683739A (en) Switching system for host computer
JPS6326905B2 (en)
JPH0748732B2 (en) Serial communication system
JP3457084B2 (en) Packet bus controller
JPH01240049A (en) Signal simulation system
JPH05191422A (en) Lan controller with network management function
JPS5830256A (en) Communication controller
JPH0752415B2 (en) Subordinate device control method by central processing unit
JPS5824254A (en) Packet buffer-free system
JPS6236941A (en) Data communication equipment in automobile
JPS605099B2 (en) Local station destination address control method
JPS6282843A (en) Communication control equipment
JPS6278639A (en) Memory access system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees