JPH08195783A - Multi-layer protocol processing method and its device - Google Patents

Multi-layer protocol processing method and its device

Info

Publication number
JPH08195783A
JPH08195783A JP7003869A JP386995A JPH08195783A JP H08195783 A JPH08195783 A JP H08195783A JP 7003869 A JP7003869 A JP 7003869A JP 386995 A JP386995 A JP 386995A JP H08195783 A JPH08195783 A JP H08195783A
Authority
JP
Japan
Prior art keywords
layer
protocol
processing unit
message
common
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7003869A
Other languages
Japanese (ja)
Other versions
JP3364867B2 (en
Inventor
Kenji Minato
賢治 湊
Nobuaki Fujii
伸朗 藤井
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP00386995A priority Critical patent/JP3364867B2/en
Publication of JPH08195783A publication Critical patent/JPH08195783A/en
Application granted granted Critical
Publication of JP3364867B2 publication Critical patent/JP3364867B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE: To make a processing unit small and to attain a high processing speed. CONSTITUTION: A common processing section 1 conducts assembling, deassembling and error check of a protocol header and a message in common to each layer in a reception or transmission message and generates error check information and hierarchical individual processing sections 3A-3C provided to each layer check a sequence of the protocol header for each layer in a reception message and generates the protocol header by layers in the transmission message. Then a protocol layer changeover section 2 applies sequential changeover connection of the hierarchical individual processing sections 3A-3C to the common processing section 1. Thus, transmission reception quantity of data between the processing sections is reduced more than those of a conventional method and high speed processing is realized and the processing unit is made small as a whole.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、階層構造を持つ通信プ
ロトコルを用いて情報通信を行う通信装置における通信
制御部の構成に適用可能なマルチレイヤプロトコル処理
方法及びその装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-layer protocol processing method and apparatus applicable to the configuration of a communication control unit in a communication apparatus for performing information communication using a communication protocol having a hierarchical structure.

【0002】[0002]

【従来の技術】従来、階層構造を持つ通信プロトコルの
処理は階層別に処理機構を備え、個々の処理機構により
各階層のプロトコル処理を実現している。
2. Description of the Related Art Conventionally, processing of a communication protocol having a hierarchical structure has a processing mechanism for each layer, and each processing mechanism realizes the protocol processing of each layer.

【0003】図2に従来の階層構造を持つ通信プロトコ
ルの処理機構を、また図3にマルチレイヤプロトコルの
メッセージフレーム構成をそれぞれ示す。
FIG. 2 shows a conventional communication protocol processing mechanism having a hierarchical structure, and FIG. 3 shows a message frame structure of a multi-layer protocol.

【0004】図では、N階層の階層構造をもつ通信プロ
トコルの処理装置の概略を示しており、各階層処理部2
1−1〜21−Nの受信処理部22は受信メッセージの
分解、エラーチェック、プロトコルシーケンスのチェッ
クを行い、送信処理部23は送信メッセージの組立、エ
ラーチェック情報の付与を行う。
FIG. 1 shows an outline of a communication protocol processing device having a hierarchical structure of N layers, and each hierarchical processing unit 2
The reception processing units 22 of 1-1 to 21-N perform decomposition of received messages, error check, and protocol sequence check, and the transmission processing unit 23 assembles transmission messages and adds error check information.

【0005】外部装置(図示せず)より受信メッセージ
RMを受信すると、N階層処理部21−1は受信処理部
22で受信処理を行ったのち、N−1階層処理部21−
2に受信メッセージRMにおけるN階層の受信プロトコ
ルデータユニット(ProtocolData Unit:以下PDUと
称する)を伝達する。N−1階層処理部21−2はN−
1階層の受信処理部22で受信処理を行った後、さらに
上位の階層処理部21に対して受信メッセージにおける
N−1階層の受信PDUを伝達する。同様にして、最上
位の階層処理部21−Nはその受信処理部22におい
て、1つ下位の階層処理部21から受けた受信メッセー
ジの受信処理を行って受信データRDを取得する。
When the received message RM is received from an external device (not shown), the N layer processing unit 21-1 performs the receiving process in the reception processing unit 22, and then the N-1 layer processing unit 21-.
In step 2, the Nth layer reception protocol data unit (Protocol Data Unit: hereinafter referred to as PDU) in the reception message RM is transmitted. The N-1 hierarchical processing unit 21-2 is N-
After the reception processing unit 22 of the first layer performs the reception process, the reception PDU of the N-1 layer in the reception message is transmitted to the higher layer processing unit 21. Similarly, the uppermost hierarchical processing unit 21-N performs the receiving process of the received message received from the next lower hierarchical processing unit 21 in the reception processing unit 22 to acquire the reception data RD.

【0006】一方、送信データSDを受けた最上位の階
層処理部21−Nは、送信元から入力される送信データ
SDを用い送信処理部23で下位層の送信PDUを作成
し、下位の階層処理部21に伝達する。
On the other hand, the highest layer processing unit 21-N which has received the transmission data SD creates a lower layer transmission PDU by the transmission processing unit 23 using the transmission data SD input from the transmission source, and the lower layer. It is transmitted to the processing unit 21.

【0007】下位の階層処理部21の送信処理部23で
はプロトコルヘッダと上位階層処理部21から受信した
送信PDUにより、送信フレームを構成し、エラーチェ
ック情報を付与し、さらに下位の送信PDUとして、下
位の階層処理部21に伝達する。
In the transmission processing unit 23 of the lower layer processing unit 21, a transmission frame is constructed from the protocol header and the transmission PDU received from the upper layer processing unit 21, error check information is added, and as a lower transmission PDU, It is transmitted to the lower layer processing unit 21.

【0008】このようにしてN−1階層処理部21−2
では上位階層処理部21から受信する送信PDUをN−
1層の送信フレームに組み込み、N−1階層の送信PD
Uとして、N階層の階層処理部21−1に送信PDUを
伝達し、N階層処理部21−1において最終的な送信メ
ッセージSMが送出される。
In this way, the N-1 hierarchical processing section 21-2
Then, the transmission PDU received from the upper layer processing unit 21 is N-
Incorporated into 1-layer transmission frame, N-1 layer transmission PD
As U, the transmission PDU is transmitted to the N-layer processing unit 21-1, and the final transmission message SM is sent out by the N-layer processing unit 21-1.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、前述し
た従来の技術では、独立した階層処理部間でPDUの送
受を行う処理機構となっているため、PDU送受の処
理、PDUの分解或いは組立の処理を個々の階層処理部
で行う必要があり、処理装置の小型化、処理速度の高速
化が困難となっていた。
However, since the above-mentioned conventional technique has a processing mechanism for transmitting and receiving PDUs between independent hierarchical processing units, processing for transmitting and receiving PDUs, processing for disassembling or assembling PDUs is performed. Therefore, it is difficult to reduce the size of the processing device and increase the processing speed.

【0010】本発明の目的は上記の問題点に鑑み、処理
装置の小型化及び処理速度の高速化を図ることができる
マルチレイヤプロトコル処理方法及びその装置を提供す
ることにある。
In view of the above problems, it is an object of the present invention to provide a multi-layer protocol processing method and a device thereof which can reduce the size of the processing device and increase the processing speed.

【0011】[0011]

【課題を解決するための手段】本発明は上記の目的を達
成するために、請求項1では、階層構造を持つ通信プロ
トコルを処理するマルチレイヤプロトコル処理方法にお
いて、共通処理部において受信メッセージを各階層別に
プロトコルヘッダとプロトコルデータユニットに分離す
ると共にエラーチェックを行い、各階層別に設けた階層
個別処理部において前記分離したプロトコルヘッダのシ
ーケンスチェックを行うことにより、前記共通処理部に
おいて受信データを取得し、送信データに対して付与す
る各階層別のプロトコルヘッダデータを前記階層個別処
理部において作成し、前記共通処理部において前記作成
されたプロトコルヘッダデータを前記送信データに付与
すると共にエラーチェック情報を作成して付与し、送信
メッセージを作成するマルチレイヤプロトコル処理方法
を提案する。
In order to achieve the above-mentioned object, the present invention provides a multi-layer protocol processing method for processing a communication protocol having a hierarchical structure according to claim 1, in which a common message is received by a common processing unit. By separating the protocol header and the protocol data unit for each layer and performing an error check, and performing the sequence check of the separated protocol header in the layer individual processing unit provided for each layer, the received data is acquired in the common processing unit. , Creating protocol header data for each layer to be added to transmission data in the layer individual processing unit, adding the created protocol header data to the transmission data in the common processing unit, and creating error check information Create and send message It proposes a multi-layer protocol processing how.

【0012】また、請求項2では、階層構造を持つ通信
プロトコルを処理するマルチレイヤプロトコル処理装置
において、受信又は送信メッセージにおける各階層共通
のプロトコルヘッダとメッセージの組立、分解、エラー
チェック及びエラーチェック情報の作成を行う共通処理
部と、受信メッセージにおける階層別のプロトコルヘッ
ダのシーケンスチェック及び送信メッセージにおける階
層別のプロトコルヘッダの作成を行う複数の階層個別処
理部と、前記共通処理部に対して前記複数の階層個別処
理部を順次切替接続するプロトコル階層切替部とを備え
たマルチレイヤプロトコル処理装置を提案する。
According to a second aspect of the present invention, in a multi-layer protocol processing device for processing a communication protocol having a hierarchical structure, a protocol header common to each layer in a received or transmitted message and message assembly, disassembly, error check and error check information. And a plurality of layer individual processing units for performing a sequence check of layer-specific protocol headers in a received message and a layer-specific protocol header in a transmitted message, and a plurality of layer processing units for the common processing unit. We propose a multi-layer protocol processing device that includes a protocol layer switching unit that sequentially switches and connects the layer individual processing units.

【0013】[0013]

【作用】本発明の請求項1によれば、共通処理部におい
て各階層別に受信メッセージがプロトコルヘッダとプロ
トコルデータユニットに分離されると共にエラーチェッ
クが行われる。さらに、各階層別に設けられた階層個別
処理部において前記分離されたプロトコルヘッダのシー
ケンスチェックが行われる。これにより、前記共通処理
部において受信データが取得される。また、送信データ
に対して付与される各階層別のプロトコルヘッダデータ
が前記階層個別処理部において作成され、前記共通処理
部において前記作成されたプロトコルヘッダデータが前
記送信データに付与されると共にエラーチェック情報が
作成されて付与され、送信メッセージが作成される。
According to the first aspect of the present invention, the received message is separated into the protocol header and the protocol data unit and the error check is performed for each layer in the common processing unit. Further, a sequence check of the separated protocol header is performed in a layer individual processing unit provided for each layer. As a result, the reception data is acquired by the common processing unit. Further, protocol header data for each layer that is added to the transmission data is created in the layer individual processing unit, and the created protocol header data is added to the transmission data in the common processing unit and an error check is performed. The information is created and given, and the outgoing message is created.

【0014】また、請求項2によれば、共通処理部によ
り、受信メッセージにおける各階層共通のプロトコルヘ
ッダとメッセージの分解、エラーチェックが行われると
共に、該共通処理部に対して複数の階層個別処理部がプ
ロトコル階層切替部によって順次切替接続され、前記階
層個別処理部において受信メッセージにおける階層別の
プロトコルヘッダのシーケンスチェックが行われ、前記
共通処理部において受信データが取得される。また、前
記階層個別処理部において送信メッセージにおける階層
別のプロトコルヘッダの作成が行われ、前記共通処理部
に対して前記複数の階層個別処理部がプロトコル階層切
替部によって順次切替接続され、共通処理部により、送
信データに対して前記プロトコルヘッダが付与され、送
信メッセージにおける各階層共通のプロトコルヘッダと
メッセージの組立及びエラーチェック情報の作成が行わ
れ、送信メッセージが作成される。
Further, according to claim 2, the common processing unit performs the decomposition of the protocol header and the message common to each layer in the received message and the error check, and also performs a plurality of layer individual processing for the common processing unit. The units are sequentially switched and connected by the protocol layer switching unit, the sequence check of the protocol header for each layer in the received message is performed in the layer individual processing unit, and the received data is acquired in the common processing unit. In addition, the layer individual processing unit creates a protocol header for each layer in a transmission message, and the plurality of layer individual processing units are sequentially switched and connected to the common processing unit by a protocol layer switching unit. Thus, the protocol header is added to the transmission data, the protocol header common to each layer in the transmission message, the message is assembled, and the error check information is created, and the transmission message is created.

【0015】[0015]

【実施例】以下、図面に基づいて本発明の一実施例を説
明する。図1は本発明の一実施例を示す構成図であり、
本実施例では3階層の階層構造をもつ通信プロトコルを
処理するマルチレイヤプロトコル処理装置の構成例を示
す。図において、1はプロトコル階層カウンタ1aを備
えた共通処理部、2はプロトコル階層切替部、3A〜3
Cのそれぞれは第1乃至第3階層個別処理部である。各
階層個別処理部3A〜3Cは、プロトコル階層切替部2
を介して共通処理部1に接続可能に構成されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention.
In this embodiment, a configuration example of a multi-layer protocol processing device that processes a communication protocol having a hierarchical structure of three layers will be shown. In the figure, 1 is a common processing unit having a protocol layer counter 1a, 2 is a protocol layer switching unit, and 3A-3
Each of C is a first to third layer individual processing unit. The individual layer processing units 3A to 3C include the protocol layer switching unit 2
It is configured to be connectable to the common processing unit 1 via.

【0016】共通処理部1は、受信メッセージのエラー
チェックと、受信メッセージにおけるプロトコルヘッダ
とPDUの分解組立、及びエラーチェック情報の作成並
びに付与を行う。
The common processing unit 1 performs error checking of the received message, disassembly and assembly of the protocol header and PDU in the received message, and creation and addition of error check information.

【0017】階層個別処理部3A〜3Cはプロトコルシ
ーケンスのチェック及びタイマ管理を行い、プロトコル
階層別に用意され、プロトコル階層切替部2は共通処理
部1と階層個別処理部3A〜3Cの接続を制御する。
The layer individual processing units 3A to 3C check protocol sequences and manage timers and are prepared for each protocol layer. The protocol layer switching unit 2 controls the connection between the common processing unit 1 and the layer individual processing units 3A to 3C. .

【0018】また、第1信号線SL1は共通処理部1へ
のメッセージ受信に用いられ、第2信号線SL2は共通
処理部1から階層個別処理部3A〜3Cへのヘッダデー
タの送信に、第3信号線SL3は階層個別処理部3A〜
3Cから共通処理部1へのヘッダデータ送信に、第4信
号線SL4は受信データの送信に、第5信号線SL5は
送信データの受信に、第6信号線SL6は共通処理部1
からのメッセージ送信にそれぞれ用いられる。
The first signal line SL1 is used for receiving a message to the common processing unit 1, and the second signal line SL2 is used for transmitting header data from the common processing unit 1 to the hierarchical individual processing units 3A to 3C. The three signal lines SL3 are the layer individual processing units 3A-
3C to the common processing unit 1 for the header data transmission, the fourth signal line SL4 for the reception data transmission, the fifth signal line SL5 for the transmission data reception, the sixth signal line SL6 for the common processing unit 1
Used to send messages from each.

【0019】さらに、制御信号線CLは共通処理部1か
らプロトコル階層切替部2に対してプロトコル階層カウ
ンタ1aのカウント値等を伝達し、共通処理部1による
プロトコル階層切替部2の制御に用いられる。
Further, the control signal line CL transmits the count value of the protocol layer counter 1a from the common processing unit 1 to the protocol layer switching unit 2 and is used by the common processing unit 1 to control the protocol layer switching unit 2. .

【0020】次に、前述の構成よりなる本実施例の動作
を説明する。プロトコル階層切替部2は、初期状態では
最下層の第1階層個別処理部3Aを選択し、これを共通
処理部1に接続している。第1信号線SL1を介して外
部装置から共通処理部1に受信メッセージが入力される
と、共通処理部1はプロトコル階層カウンタ1aの示す
値に従い、受信メッセージのエラーチェックを行うと共
に、この受信メッセージをプロトコルヘッダとPDUに
分離し、分離したプロトコルヘッダのデータを第2信号
線SL2及びプロトコル階層切替部2を介して第1階層
個別処理部3Aに送出する。
Next, the operation of this embodiment having the above construction will be described. In the initial state, the protocol layer switching unit 2 selects the lowest layer first layer individual processing unit 3A and connects it to the common processing unit 1. When a received message is input from the external device to the common processing unit 1 via the first signal line SL1, the common processing unit 1 performs error checking of the received message according to the value indicated by the protocol layer counter 1a, and the received message is received. Is separated into a protocol header and a PDU, and the data of the separated protocol header is sent to the first layer individual processing section 3A via the second signal line SL2 and the protocol layer switching section 2.

【0021】共通処理部1からプロトコルヘッダデータ
を受信した第1階層個別処理部3Aは、プロトコルシー
ケンスのチェックを行い、タイマ設定を行った後、応答
として帰すプロトコルヘッダデータを作成し、プロトコ
ル階層切替部2及び第3信号線SL3を介して、作成し
たプロトコルヘッダデータを共通処理部1に送る。
Upon receiving the protocol header data from the common processing unit 1, the first layer individual processing unit 3A checks the protocol sequence, sets the timer, creates the protocol header data to be returned as a response, and switches the protocol layers. The created protocol header data is sent to the common processing unit 1 via the unit 2 and the third signal line SL3.

【0022】共通処理部1は送信メッセージフレームに
該プロトコルヘッダデータを設定し、プロトコル階層カ
ウンタ1aの値を1つ増やす。
The common processing unit 1 sets the protocol header data in the transmission message frame and increments the value of the protocol layer counter 1a by one.

【0023】これにより、プロトコル階層切替部2は、
制御信号線CLを介して共通処理部1から送られてくる
制御信号に含まれるプロトコル階層カウンタ1aのカウ
ント値に基づいて、共通処理部1に接続する階層個別処
理部3A〜3Cを第2階層個別処理部3Bに切り替え
る。
As a result, the protocol layer switching unit 2
Based on the count value of the protocol layer counter 1a included in the control signal sent from the common processing unit 1 via the control signal line CL, the layer individual processing units 3A to 3C connected to the common processing unit 1 are set to the second layer. Switch to the individual processing unit 3B.

【0024】この後、共通処理部1は、分離したPDU
を受信メッセージとしてエラーチェックを行い、該受信
メッセージをプロトコルヘッダとPDUに分離し、第2
信号線SL2を介して接続されている第2階層個別処理
部3Bにプロトコルヘッダデータを送る。
After that, the common processing unit 1 separates the separated PDU.
The received message is subjected to error check, the received message is separated into a protocol header and a PDU, and the second
The protocol header data is sent to the second layer individual processing section 3B connected via the signal line SL2.

【0025】共通処理部1からプロトコルヘッダデータ
を受信した第2階層個別処理部3Bは、プロトコルシー
ケンスのチェックを行い、タイマ設定を行った後、応答
として返すプロトコルヘッダデータを作成し、第2信号
線SL2を介して接続されている第2階層個別処理部3
Bにプロトコルヘッダデータを送る。
Upon receiving the protocol header data from the common processing unit 1, the second layer individual processing unit 3B checks the protocol sequence, sets the timer, and then creates the protocol header data to be returned as a response, and outputs the second signal. Second layer individual processing unit 3 connected via line SL2
Send protocol header data to B.

【0026】第2階層個別処理部3Bはプロトコルシー
ケンスのチェックを行い、タイマ設定を行った後、応答
として返すプロトコルヘッダデータを作成し、第3信号
線SL3を介して共通処理部1に送る。
The second layer individual processing section 3B checks the protocol sequence, sets the timer, creates the protocol header data to be returned as a response, and sends it to the common processing section 1 via the third signal line SL3.

【0027】共通処理部1は送信メッセージフレームに
該プロトコルヘッダデータを設定し、プロトコル階層カ
ウンタ1aの値を1つ増やす。
The common processing unit 1 sets the protocol header data in the transmission message frame and increments the value of the protocol layer counter 1a by one.

【0028】これにより、プロトコル階層切替部2は、
制御信号線CLを介して共通処理部1から送られてくる
制御信号に含まれるプロトコル階層カウンタ1aのカウ
ント値に基づいて、共通処理部1に接続する階層個別処
理部3A〜3Cを第3階層個別処理部3Cに切り替え
る。
As a result, the protocol layer switching unit 2
Based on the count value of the protocol layer counter 1a included in the control signal sent from the common processing unit 1 via the control signal line CL, the layer individual processing units 3A to 3C connected to the common processing unit 1 are connected to the third layer. Switch to the individual processing unit 3C.

【0029】共通処理部1は分離したPDUを受信メッ
セージとしてエラーチェックを行い、この受信メッセー
ジをプロトコルヘッダとPDUに分離し、第2信号線S
L2を介して接続されている第3階層個別処理部3Cに
プロトコルヘッダデータを送る。
The common processing unit 1 performs an error check using the separated PDU as a received message, separates this received message into a protocol header and a PDU, and outputs the second signal line S.
The protocol header data is sent to the third layer individual processing unit 3C connected via L2.

【0030】第3階層個別処理部3Cは受信したプロト
コルヘッダにおけるプロトコルシーケンスのチェックを
行い、タイマ設定を行った後、応答として返すプロトコ
ルヘッダデータを作成し、第3信号線SL3を介して共
通処理部1に送る。
The third layer individual processing section 3C checks the protocol sequence in the received protocol header, sets the timer, creates the protocol header data to be returned as a response, and performs the common processing via the third signal line SL3. Send to Part 1.

【0031】共通処理部1は送信メッセージフレームに
該プロトコルヘッダデータを設定し、プロトコル階層カ
ウンタ1aの値を1つ増やす。
The common processing unit 1 sets the protocol header data in the transmission message frame and increments the value of the protocol layer counter 1a by one.

【0032】これにより、プロトコル階層切替部2は、
制御信号線CLを介して共通処理部1から送られてくる
制御信号に含まれるプロトコル階層カウンタ1aのカウ
ント値に基づいて、共通処理部1に接続されている第3
階層個別処理部3Cを切り離す。
As a result, the protocol layer switching unit 2
The third processing unit 1 connected to the common processing unit 1 based on the count value of the protocol layer counter 1a included in the control signal sent from the common processing unit 1 via the control signal line CL.
The individual layer processing unit 3C is separated.

【0033】この後、共通処理部1は、分離したPDU
を受信データとして第4信号線SL4を介して、データ
受信先に送る。
After that, the common processing unit 1 separates the separated PDU.
Is sent as received data to the data receiving destination via the fourth signal line SL4.

【0034】一方、データ送信元から外部装置に対して
データを送信する際には、共通処理部1は第5信号線S
L5を介してデータ送信元からおくられた送信データを
受信し、該送信データをPDUとして送信メッセージに
設定すると共に、エラーチェック情報を作成し、該エラ
ーチェック情報を送信メッセージに加え、プロトコル階
層カウンタ1aの値を1つ減らす。
On the other hand, when the data is transmitted from the data transmission source to the external device, the common processing section 1 uses the fifth signal line S.
The transmission data sent from the data transmission source is received via L5, the transmission data is set as a PDU in the transmission message, error check information is created, and the error check information is added to the transmission message. Decrement the value of 1a by 1.

【0035】これにより、プロトコル階層切替部2は、
制御信号線CLを介して共通処理部1から送られてくる
制御信号に含まれるプロトコル階層カウンタ1aのカウ
ント値に基づいて、共通処理部1に対して第3階層個別
処理部3Cを接続する。共通処理部1に接続された第3
階層個別処理部3Cはタイマー機能を起動し、所定時間
毎に行う処理がある場合には、タイマーの計時に基づい
てその処理を行う。
As a result, the protocol layer switching unit 2
The third layer individual processing unit 3C is connected to the common processing unit 1 based on the count value of the protocol layer counter 1a included in the control signal sent from the common processing unit 1 via the control signal line CL. Third connected to common processing unit 1
The layer-specific processing unit 3C activates the timer function, and if there is a process to be performed at every predetermined time, the process is performed based on the timing of the timer.

【0036】共通処理部1は、プロトコル階層カウンタ
1aのカウント値より1つ少ないプロトコル階層に該当
するメッセージ部分のエラー情報を作成し、送信メッセ
ージに加え、プロトコル階層カウンタ1aの値を1つ減
らす。
The common processing unit 1 creates error information of a message portion corresponding to a protocol layer which is one less than the count value of the protocol layer counter 1a, and decrements the value of the protocol layer counter 1a by 1 in addition to the transmitted message.

【0037】これにより、プロトコル階層切替部2は、
制御信号線CLを介して共通処理部1から送られてくる
制御信号に含まれるプロトコル階層カウンタ1aのカウ
ント値に基づいて、共通処理部1に接続する階層個別処
理部3A〜3Cを第2階層個別処理部3Bに切り替え
る。共通処理部1に接続された第2階層個別処理部3B
はタイマー機能を起動し、所定時間毎に行う処理がある
場合には、タイマーの計時に基づいてその処理を行う。
As a result, the protocol layer switching unit 2
Based on the count value of the protocol layer counter 1a included in the control signal sent from the common processing unit 1 via the control signal line CL, the layer individual processing units 3A to 3C connected to the common processing unit 1 are set to the second layer. Switch to the individual processing unit 3B. Second layer individual processing section 3B connected to common processing section 1
Activates the timer function, and if there is a process to be performed at predetermined time intervals, the process is performed based on the timing of the timer.

【0038】次いで、共通処理部1は、プロトコル階層
カウンタ値より1つ少ないプロトコル階層に該当するメ
ッセージ部分のエラー情報を作成し、送信メッセージに
加え、プロトコル階層カウンタ1aの値を1つ減らす。
Next, the common processing unit 1 creates error information of the message portion corresponding to the protocol layer, which is one less than the protocol layer counter value, and decrements the value of the protocol layer counter 1a by one in addition to the transmitted message.

【0039】これにより、プロトコル階層切替部2は、
制御信号線CLを介して共通処理部1から送られてくる
制御信号に含まれるプロトコル階層カウンタ1aのカウ
ント値に基づいて、共通処理部1に接続する階層個別処
理部3A〜3Cを第1階層個別処理部3Aに切り替え
る。共通処理部1に接続された第1階層個別処理部3A
はタイマー機能を起動し、所定時間毎に行う処理がある
場合には、タイマーの計時に基づいてその処理を行う。
As a result, the protocol layer switching unit 2
Based on the count value of the protocol layer counter 1a included in the control signal sent from the common processing unit 1 via the control signal line CL, the layer individual processing units 3A to 3C connected to the common processing unit 1 are set to the first layer. Switch to the individual processing unit 3A. First layer individual processing unit 3A connected to common processing unit 1
Activates the timer function, and if there is a process to be performed at predetermined time intervals, the process is performed based on the timing of the timer.

【0040】この後、共通処理部1は、プロトコル階層
カウンタ1aのカウント値が1となった時点で、作成し
た送信メッセージを第6信号線SL6を介して外部装置
に送る。
After that, when the count value of the protocol layer counter 1a becomes 1, the common processing unit 1 sends the created transmission message to the external device via the sixth signal line SL6.

【0041】図4は上記実施例における送信メッセージ
の生成過程を示す図である。即ち、前述したように、第
1階層プロトコルヘッダ、第2階層プロトコルヘッダ、
第3階層プロトコルヘッダ、送信データ、第3階層エラ
ーチェック情報、第2階層エラーチェック情報、第1階
層エラーチェック情報のそれぞれが記述の順で送信フレ
ームに設定され、これにより送信メッセージが作成され
る。
FIG. 4 is a diagram showing a process of generating a transmission message in the above embodiment. That is, as described above, the first layer protocol header, the second layer protocol header,
The third layer protocol header, transmission data, third layer error check information, second layer error check information, and first layer error check information are set in the transmission frame in the order of description, and a transmission message is created by this. .

【0042】前述した実施例によれば、各階層共通のエ
ラー処理、メッセージの分解・組立を共通処理部1によ
って行うと共に、各階層個別のプロトコルシーケンスチ
ェック及びプロトコルヘッダデータの作成を各階層毎に
設けた階層個別処理部3A〜3Cによって行い、プロト
コル階層切替部2により、処理する階層毎これらの該当
する階層個別処理部3A〜3Cと共通処理部1とを接続
することにより、マルチレイヤプロトコルの各階層の処
理を1つの共通処理部1で行っているので、各処理部間
のデータの移動処理を減らすことができ、処理機構の小
型化、処理速度の高速化を実現することができる。
According to the above-described embodiment, the common processing unit 1 performs error processing common to each layer, message disassembly / assembly, and protocol sequence check and protocol header data creation for each layer. It is performed by the provided layer individual processing units 3A to 3C, and the protocol layer switching unit 2 connects the corresponding layer individual processing units 3A to 3C and the common processing unit 1 for each layer to be processed, thereby performing the multi-layer protocol Since the processing of each layer is performed by one common processing unit 1, it is possible to reduce the data movement processing between the processing units, and it is possible to reduce the size of the processing mechanism and increase the processing speed.

【0043】尚、本実施例では、3階層のマルチレイヤ
プロトコル処理装置の構成例を示したが、本発明はこれ
に限定されることはなく、2階層以下又は4階層以上の
階層構造をもつ通信プロトコルを処理する処理装置を構
成することも可能であり、これによっても同様の効果を
奏することができる。
In the present embodiment, a configuration example of a multi-layer protocol processing device having three layers has been shown, but the present invention is not limited to this and has a hierarchical structure of two layers or less or four layers or more. It is also possible to configure a processing device that processes a communication protocol, and the same effect can be achieved by this.

【0044】また、前述した共通処理部1、プロトコル
階層切替部2及び各階層個別処理部3A〜3Cをオブジ
ェクト指向プログラミング言語を用いたプログラムによ
って構成する場合には、共通処理部をスーパークラスと
して作成すると共に、その機能は共通処理部のメソッド
として作成し、さらに階層個別処理機能のメソッド名も
スーパークラスで規定し、個別処理対応のメソッドの記
述をサブクラスにおいて行う。これにより、共通機能は
全て階層別処理で共有され、且つ異なる階層の個別処理
機能も同一のメソッド名で呼び出すことが可能となる。
When the common processing unit 1, the protocol layer switching unit 2, and the layer individual processing units 3A to 3C are configured by a program using an object-oriented programming language, the common processing unit is created as a super class. At the same time, the function is created as a method of the common processing part, the method name of the hierarchical individual processing function is also defined in the superclass, and the method corresponding to the individual processing is described in the subclass. As a result, all the common functions are shared by the processing by layer, and the individual processing functions of different layers can be called by the same method name.

【0045】[0045]

【発明の効果】以上説明したように本発明の請求項1記
載のマルチレイヤプロトコル処理方法によれば、送信デ
ータから送信メッセージを作成する過程において、デー
タを共通処理部に集めるため、処理部間のデータの送受
量が従来と比べ削減されるので、処理の高速化を実現で
きる。さらに、送信メッセージの組立、受信メッセージ
の分解を全て共通処理部で行っているため、従来の技術
と比べ各階層個別処理部の構成を小型化することができ
る。
As described above, according to the multi-layer protocol processing method of the first aspect of the present invention, in the process of creating a transmission message from transmission data, the data is collected in the common processing unit, so that the processing units are not processed. Since the amount of data transmitted and received is reduced as compared with the conventional method, the processing speed can be increased. Furthermore, since the common processing unit performs all the assembling of the transmission message and the disassembling of the reception message, the configuration of each layer individual processing unit can be downsized as compared with the conventional technique.

【0046】また、請求項2記載のマルチレイヤプロト
コル処理装置によれば、送信データから送信メッセージ
を作成する過程において、各階層に共通な処理を共通処
理部によって行っているため、処理部間のデータの送受
量が従来と比べて削減されるので、処理の高速化を実現
できる。さらに、送信メッセージの組立、受信メッセー
ジの分解を全て共通処理部で行っているため、各階層個
別処理部の構成を小型化することができ、全体として処
理装置の小型化を図ることができる。
Further, according to the multi-layer protocol processing device of the second aspect, in the process of creating the transmission message from the transmission data, the processing common to each layer is performed by the common processing unit. Since the amount of data transmitted and received is reduced as compared to the conventional case, the processing speed can be increased. Further, since the common message processing unit assembles the transmitted message and decomposes the received message, it is possible to downsize the configuration of each layer individual processing unit, and it is possible to downsize the processing device as a whole.

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

【図1】本発明の一実施例を示す構成図FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】従来の階層構造を持つ通信プロトコルの処理機
構の一例を示す図
FIG. 2 is a diagram showing an example of a processing mechanism of a conventional communication protocol having a hierarchical structure.

【図3】マルチレイヤプロトコルのメッセージフレーム
構成を示す図
FIG. 3 is a diagram showing a message frame structure of a multi-layer protocol.

【図4】本発明の一実施例における送信メッセージ作成
順序を説明する図
FIG. 4 is a diagram for explaining a transmission message creation order according to an embodiment of the present invention.

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

1…共通処理部、1a…プロトコル階層カウンタ、2…
プロトコル階層切替部、3A…第1階層個別処理部、3
B…第2階層個別処理部、3C…第3階層個別処理部、
SL1〜SL6…信号線、CL…制御信号線。
1 ... Common processing unit, 1a ... Protocol layer counter, 2 ...
Protocol layer switching unit, 3A ... First layer individual processing unit, 3
B ... Second layer individual processing unit, 3C ... Third layer individual processing unit,
SL1 to SL6 ... Signal lines, CL ... Control signal lines.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 階層構造を持つ通信プロトコルを処理す
るマルチレイヤプロトコル処理方法において、 共通処理部において受信メッセージを各階層別にプロト
コルヘッダとプロトコルデータユニットに分離すると共
にエラーチェックを行い、 各階層別に設けた階層個別処理部において前記分離した
プロトコルヘッダのシーケンスチェックを行うことによ
り、前記共通処理部において受信データを取得し、 送信データに対して付与する各階層別のプロトコルヘッ
ダデータを前記階層個別処理部において作成し、前記共
通処理部において前記作成されたプロトコルヘッダデー
タを前記送信データに付与すると共にエラーチェック情
報を作成して付与し、送信メッセージを作成することを
特徴とするマルチレイヤプロトコル処理方法。
1. A multi-layer protocol processing method for processing a communication protocol having a hierarchical structure, wherein a common processing unit separates a received message into a protocol header and a protocol data unit for each layer, performs error checking, and provides each layer for each layer. By performing the sequence check of the separated protocol header in the layer individual processing unit, the common processing unit acquires the received data, and the protocol header data for each layer to be added to the transmission data is added to the layer individual processing unit. The multi-layer protocol processing method is characterized in that, in the common processing unit, the created protocol header data is added to the transmission data, error check information is created and added, and a transmission message is created.
【請求項2】 階層構造を持つ通信プロトコルを処理す
るマルチレイヤプロトコル処理装置において、 受信又は送信メッセージにおける各階層共通のプロトコ
ルヘッダとメッセージの組立、分解、エラーチェック及
びエラーチェック情報の作成を行う共通処理部と、 受信メッセージにおける階層別のプロトコルヘッダのシ
ーケンスチェック及び送信メッセージにおける階層別の
プロトコルヘッダの作成を行う複数の階層個別処理部
と、 前記共通処理部に対して前記複数の階層個別処理部を順
次切替接続するプロトコル階層切替部とを備えたことを
特徴とするマルチレイヤプロトコル処理装置。
2. A multi-layer protocol processing device for processing a communication protocol having a hierarchical structure, which is commonly used for assembling, disassembling, error checking and creating error check information of a protocol header and a message common to each layer in a received or transmitted message. A processing unit; a plurality of layer individual processing units for performing a sequence check of a protocol header for each layer in a received message and creating a protocol header for each layer in a transmitted message; and a plurality of layer individual processing units for the common processing unit A multi-layer protocol processing device, comprising:
JP00386995A 1995-01-13 1995-01-13 Multilayer protocol processing method and apparatus Expired - Lifetime JP3364867B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00386995A JP3364867B2 (en) 1995-01-13 1995-01-13 Multilayer protocol processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00386995A JP3364867B2 (en) 1995-01-13 1995-01-13 Multilayer protocol processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH08195783A true JPH08195783A (en) 1996-07-30
JP3364867B2 JP3364867B2 (en) 2003-01-08

Family

ID=11569205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00386995A Expired - Lifetime JP3364867B2 (en) 1995-01-13 1995-01-13 Multilayer protocol processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3364867B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000018716A (en) * 1998-09-04 2000-04-06 윤종용 Method for interface between rate adaptation processing part and board messenger processing part of wireless data communication processing apparatus
WO2003075537A1 (en) * 2002-03-05 2003-09-12 Fujitsu Limited Communication apparatus
JP2009219065A (en) * 2008-03-12 2009-09-24 Nec Corp Protocol processor and processing method
CN113973104A (en) * 2021-09-16 2022-01-25 上海金仕达软件科技有限公司 Transaction system and method based on event binary communication protocol

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000018716A (en) * 1998-09-04 2000-04-06 윤종용 Method for interface between rate adaptation processing part and board messenger processing part of wireless data communication processing apparatus
WO2003075537A1 (en) * 2002-03-05 2003-09-12 Fujitsu Limited Communication apparatus
US7542480B2 (en) 2002-03-05 2009-06-02 Fujitsu Microelectronics Limited Communication device
JP2009219065A (en) * 2008-03-12 2009-09-24 Nec Corp Protocol processor and processing method
CN113973104A (en) * 2021-09-16 2022-01-25 上海金仕达软件科技有限公司 Transaction system and method based on event binary communication protocol
CN113973104B (en) * 2021-09-16 2024-03-15 上海金仕达软件科技股份有限公司 Transaction system and method based on binary communication protocol of event

Also Published As

Publication number Publication date
JP3364867B2 (en) 2003-01-08

Similar Documents

Publication Publication Date Title
JPH07319787A (en) Message processing method and processing node
CN101611615A (en) Filtering of redundant frames in the network node
JP3364867B2 (en) Multilayer protocol processing method and apparatus
JP2001244982A (en) Packet omission detection system, transmitter, receiver and packet omission detection method
CN1507208A (en) Automatic protection switching protocol testing method
JPS6125348A (en) Method for deciding and notifying communication speed of data communication network
US20100250899A1 (en) Distributed processing system
CN114615213B (en) Method and system for implementing multi-network link interface based on message queue
JPH088579B2 (en) Series controller
JPS61264945A (en) Protocol parallel processing system of communication processor
JP2003348107A (en) Two-way linked network, route selecting method used therefor, and program thereof
JPH04306029A (en) Method for locating a fault device in simplex communication
US20040131066A1 (en) Electronic switching circuit and method for a communication interface with cut through buffer memory
JPH09116569A (en) Switching hub
JP2570744B2 (en) Inter-station communication control method
Kang Hybrid-Meshnet, a local area mesh network with distributed control
JP2629597B2 (en) Transmission network with connection state analysis function
JP3239371B2 (en) Device connection processing method
JP2000022835A (en) No.7 signal system isup relay exchange
JPH0522374A (en) Inter-layer event delivery processing system in osi hierarchical model
JPH11212927A (en) Conflict arbitration method
JPH09200210A (en) Address setting method
JPS63250243A (en) Data communication processing system
JPS59228447A (en) Transfer system in packet network
JP2654524B2 (en) LAN connection port switching method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071101

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081101

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091101

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101101

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101101

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111101

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111101

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121101

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121101

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20131101

Year of fee payment: 11

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term