JPH04270536A - Packet processing unit - Google Patents

Packet processing unit

Info

Publication number
JPH04270536A
JPH04270536A JP3016526A JP1652691A JPH04270536A JP H04270536 A JPH04270536 A JP H04270536A JP 3016526 A JP3016526 A JP 3016526A JP 1652691 A JP1652691 A JP 1652691A JP H04270536 A JPH04270536 A JP H04270536A
Authority
JP
Japan
Prior art keywords
field
packet
layer
processing
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3016526A
Other languages
Japanese (ja)
Inventor
Yukio Ushisako
牛迫 幸雄
Akihiko Kubo
久保 昭彦
Yuji Atsui
裕司 厚井
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP3016526A priority Critical patent/JPH04270536A/en
Publication of JPH04270536A publication Critical patent/JPH04270536A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To eliminate the need for detailed management of a value able to be set in a field of a generation number/color number by setting various information used for processing a hierarchical protocol to each field as it is. CONSTITUTION:A sub-field 3 distinguishes inter-layers in a stack of each layer protocol formed hierarchically, a sub-field 4 distinguishes a service access point(SAP) for the inter-layers and a sub-field 5 distinguishes a connection end point(CEP) in the SAP. A sub-field 6 distinguishes the transmission reception to the CEP and a sub-field 7 distinguishes the order of primitive informed to the CEP. Then at least one sub-field among the sub-fields 3-7 is provided with a forming means 100 forming at least one field to a packet 1 and a processing means 200 revising the setting of the formed field and progressing the packet processing according to the revised value.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、階層化されたプロト
コルのプログラムを処理するような通信処理プログラム
をデータ駆動型の実行で並列処理するデータ駆動型計算
機等のパケット処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet processing device such as a data-driven computer that processes a communication processing program such as a hierarchical protocol program in parallel using data-driven execution.

【0002】0002

【従来の技術】図6は例えば特開平1−106229号
公報に示された従来のデータ駆動型計算機で用いられる
パケットの構成を示す図であり、図において、31はパ
ケットが次にどこへ行くべきかを示す行先フラグ、32
は命令が単項演算であるか二項演算であるかを示すオペ
ランドフラグ、33は世代番号/カラー番号、34は行
先ノード番号、35は命令、36は二項演算命令の左右
どちらのデータをもつかを示すフラグ、37は第1デー
タ、38は第2データ、39はこれらから構成されるパ
ケットである。
2. Description of the Related Art FIG. 6 is a diagram showing the structure of a packet used in a conventional data-driven computer disclosed in, for example, Japanese Unexamined Patent Publication No. 1-106229. In the figure, 31 indicates where the packet will go next. Destination flag indicating whether to
is an operand flag indicating whether the instruction is a unary operation or a binary operation, 33 is the generation number/color number, 34 is the destination node number, 35 is the instruction, and 36 is the data on either the left or right side of the binary operation instruction. 37 is first data, 38 is second data, and 39 is a packet composed of these.

【0003】図2及び図4は、従来例及び後述するこの
発明の実施例を説明するための図である。図2と図4は
、それぞれ、階層化されたプロトコルにおける内部構成
の例を示している。9は{N}レイヤ、10は{N+1
}レイヤである。また、SAPはサービス・アクセス・
ポイントを示し、CEPはコネクション端点を示すもの
とすると、11aは{N}レイヤのサービス・アクセス
・ポイント−1である{N}SAP−1、11bは{N
}レイヤのサービス・アクセス・ポイント−2である{
N}SAP−2、12aは{N}レイヤのコネクション
端点−1である{N}CEP−1、12bは{N}レイ
ヤのコネクション端点−2である{N}CEP−2、以
下、同様に、12cは{N}CEP−3、12dは{N
}CEP−4、13aは{N+1}SAP−1、13b
は{N+1}SAP−2、14aは、{N+1}CEP
−1、14bは{N+1}CEP−2、14cは{N+
1}CEP−3、14dは{N+1}CEP−4、15
aは{N+1}レイヤのプロトコルにおけるコネクショ
ン−1、15bは{N+1}レイヤのプロトコルにおけ
るコネクション−2、15cは{N+1}レイヤのプロ
トコルにおけるコネクション−3である。
FIGS. 2 and 4 are diagrams for explaining a conventional example and an embodiment of the present invention to be described later. FIGS. 2 and 4 each show an example of an internal configuration in a layered protocol. 9 is {N} layer, 10 is {N+1
}It is a layer. SAP also provides services, access,
and CEP indicates the connection end point, 11a is the service access point-1 of the {N} layer, {N} SAP-1, and 11b is the {N} layer.
} layer service access point-2 {
N}SAP-2, 12a is the connection end point-1 of the {N} layer.{N}CEP-1, 12b is the connection end point-2 of the {N} layer.{N}CEP-2, and so on. , 12c is {N}CEP-3, 12d is {N
}CEP-4, 13a is {N+1} SAP-1, 13b
is {N+1} SAP-2, 14a is {N+1} CEP
-1, 14b is {N+1}CEP-2, 14c is {N+
1}CEP-3, 14d is {N+1}CEP-4, 15
a is connection -1 in the {N+1} layer protocol, 15b is connection -2 in the {N+1} layer protocol, and 15c is connection -3 in the {N+1} layer protocol.

【0004】次に動作について説明する。例えば、図2
に示すOSI(開放型システム間相互接続)の基本参照
モデルに従ったタイプでの階層化されたプロトコルのプ
ログラムを処理する場合を考える。{N+1}SAP−
1(13a)内のある{N+1}CEP−1(14a)
に対して要求/応答のプリミティブを出す時、パケット
の世代番号/カラー番号33にはそのフィールドに設定
できる最大値までの値であらかじめ決めておいた規則に
従った値を設定する。そして、{N+1}SAP13a
内には複数の{N+1}CEP14a、14bが存在す
るので、このようにして設定される値と処理対象となっ
ているコネクションの対応関係を対応表等を用いて管理
しておく。また、{N+1}レイヤ10の{N+1}C
EP−1(14a)が{N}SAP−1(11a)内の
ある{N}CEP−1(12a)から指示/確認のプリ
ミティブを受ける時も同様に予め決めておいた規則に従
って、CEP単位毎にパケットの世代番号/カラー番号
33へある値を割り当て、その値と処理対象となってい
るコネクションの対応関係も対応表等で管理する。つま
り{N+1}レイヤ10内部で処理されるプリミティブ
に対しては{N+1}SAP13a、13b内の{N+
1}CEP14a、14b、14cを単位として要求/
応答のプリミティブが順序制御されやすい体系で世代番
号/カラー番号33に値を割り当てる。
Next, the operation will be explained. For example, Figure 2
Consider the case where a program with a layered protocol is processed according to the basic reference model of OSI (Open Systems Interconnection) shown in FIG. {N+1}SAP-
{N+1}CEP-1(14a) in 1(13a)
When issuing a request/response primitive to a packet, the generation number/color number 33 of the packet is set to a value up to the maximum value that can be set in that field, according to a predetermined rule. And {N+1} SAP13a
Since there are a plurality of {N+1} CEPs 14a and 14b within the network, the correspondence between the values set in this way and the connections to be processed is managed using a correspondence table or the like. Also, {N+1}C of {N+1} layer 10
When EP-1 (14a) receives an instruction/confirmation primitive from a certain {N}CEP-1 (12a) in {N}SAP-1 (11a), it also receives the instruction/confirmation primitive in CEP units according to the predetermined rules. A certain value is assigned to the generation number/color number 33 of each packet, and the correspondence between that value and the connection to be processed is also managed using a correspondence table or the like. In other words, for {N+1} primitives processed inside layer 10, {N+1} inside SAP 13a, 13b
1} Request CEP14a, 14b, 14c as a unit/
Values are assigned to the generation number/color number 33 in a system that allows response primitives to be easily controlled in order.

【0005】また、これとは独立に、指示/確認のプリ
ミティブも{N}SAP11a、11b内の{N}CE
P12a、12b、12cを単位として順序制御されや
すい体系で、世代番号/カラー番号33に値を割り当て
る。この場合、要求/応答のプリミティブで設定される
値と指示/応答のプリミティブで設定される値が一致す
ることのないようにし、また割り当てた値と{N+1}
レイヤ10内のコネクション15a、15bの対応関係
や値の割り当て状況を管理する。
[0005]In addition, independently of this, the instruction/confirmation primitive is also {N}CE in {N}SAP 11a, 11b.
Values are assigned to the generation number/color number 33 in a system that facilitates order control using P12a, 12b, and 12c as units. In this case, the value set in the request/response primitive and the value set in the instruction/response primitive should not match, and the assigned value and {N+1}
The correspondence between the connections 15a and 15b in the layer 10 and the value assignment status are managed.

【0006】一方、図4に示すように、{N+1}レイ
ヤ10内でコネクション15a、15bの逆多重化が行
われている場合、{N}レイヤ9内のひとつのコネクシ
ョンに割り当てられた世代番号/カラー番号33の値が
{N+1}レイヤ10内の複数のコネクション15a、
15bのいづれかで処理されることになり、コネクショ
ン毎に順序制御可能な世代番号/カラー番号33を設定
するためには{N+1}レイヤ10内のコネクション1
5a、15bの違いを区別できる世代番号/カラー番号
33である必要が生じる。そこで逆多重化の処理を行な
う場合には、世代番号/カラー番号33を構成するビッ
ト数の内のいくつかのビットを、コネクションを区別す
る目的でだけ使用するようにしておき、プリミティブの
処理時にはここを使用しないことで逆多重化の処理を実
現する。
On the other hand, as shown in FIG. 4, when connections 15a and 15b are demultiplexed in {N+1} layer 10, the generation number assigned to one connection in {N} layer 9 /The value of color number 33 is {N+1} multiple connections 15a in layer 10,
15b, and in order to set the generation number/color number 33 whose order can be controlled for each connection, {N+1} connection 1 in layer 10
The generation number/color number 33 needs to be able to distinguish between 5a and 15b. Therefore, when performing demultiplexing processing, some of the bits that make up the generation number/color number 33 are used only for the purpose of distinguishing connections, and when processing primitives, By not using this, demultiplexing processing is realized.

【0007】[0007]

【発明が解決しようとする課題】従来のパケット処理装
置は以上のように実行されているので、数値演算のプロ
グラムを実行するために設けられている限られたビット
幅の世代番号/カラー番号のフィールドを通信処理のプ
ログラムに適用しようとすると、各層、各コネクション
さらには各プリミティブが異なれば、パケット内の世代
番号/カラー番号・フィールドには各々違った値を設定
する必要が生じる。このため、このような通信処理にお
ける種々の情報を考慮した形式でこのフィールドに設定
する1つの値を割り当てねばならない。しかもこれらの
値の割り当て状況(割り当て済か未割り当てか)も管理
しなければならない。また、コネクション毎に各プリミ
ティブを受けた順番でメモリ・アクセス処理が実行され
るように順序制御の実現が容易な値を割り当てできるよ
うな割り当て規則を決めた上で各コネクションとそれぞ
れにコネクションに割り当てられている値との対応関係
を管理しなければならない。さらに逆多重化の処理を考
慮してそのための割り当てビットを世代番号/カラー番
号・フィールド内に確保しておくと、残りのビットだけ
で表現できる値の個数では、プリミティブの処理を実行
する段階で割り当てる値が不足するなどの問題があった
[Problems to be Solved by the Invention] Since the conventional packet processing device is executed as described above, it is difficult to use generation numbers/color numbers with a limited bit width provided for executing numerical calculation programs. When applying the field to a communication processing program, if each layer, each connection, and even each primitive are different, it becomes necessary to set different values to the generation number/color number field in the packet. Therefore, one value must be assigned to this field in a format that takes into account various information in such communication processing. Moreover, the assignment status of these values (assigned or unassigned) must also be managed. In addition, we decided on an assignment rule that makes it easy to implement order control so that memory access processing is executed in the order in which each primitive is received for each connection, and then assigns it to each connection. It is necessary to manage the correspondence with the values that are specified. Furthermore, if you take demultiplexing processing into consideration and allocate bits for this purpose in the generation number/color number/field, the number of values that can be expressed only with the remaining bits will be reduced at the stage of executing primitive processing. There were problems such as insufficient values to allocate.

【0008】この第1の発明は上記のような問題点を解
消するためになされたもので、通信処理における種々の
情報(層、コネクション、プリミティブ)と世代番号/
カラー番号のフィールドに設定するために割り当てられ
る値との対応関係などを管理する必要がなく、また、第
2の発明は、逆多重化の処理を考慮した場合において世
代番号/カラー番号のフィールドで表現可能な値が不足
しなくなるようにしたものである。すなわち、通信処理
における階層構成やコネクション設定状況などの情報を
そのままの値として指定するパケット処理装置を得るこ
とを目的とする。
[0008] This first invention was made to solve the above-mentioned problems, and is based on various information (layers, connections, primitives) and generation numbers/numbers in communication processing.
There is no need to manage the correspondence with the value assigned to the color number field, and the second invention also eliminates the need to manage the correspondence relationship with the value assigned to the color number field. This is to ensure that there is no shortage of expressible values. That is, the object is to obtain a packet processing device that specifies information such as the hierarchical structure and connection setting status in communication processing as a value as is.

【0009】[0009]

【課題を解決するための手段】この発明に係るパケット
処理装置は、カラーを指定できるフィールドのビット数
を増し、このフィールドをいくつかのサブフィールドに
分割するとともにこれらのサブフィールドに階層化プロ
トコルの処理におけるいくつかの情報をそのまま設定で
きるようにしたものである。
[Means for Solving the Problems] A packet processing device according to the present invention increases the number of bits of a field that can specify a color, divides this field into several subfields, and adds a layered protocol to these subfields. This allows some information in processing to be set as is.

【0010】つまり、第1の発明は、階層化された各層
プロトコルのスタックにおいて層間を区別するサブフィ
ールド、その層間でのサービス・アクセス・ポイント(
SAP)を区別するサブフィールド、そのSAP内のコ
ネクション端点(CEP)を区別するサブフィールド、
そのCEPへの送受信を区別するサブフィールド、その
CEPに通知されるプリミティブの順番を区別するサブ
フィールドのうち、少なくともいずれかのフィールドを
パケットに形成する形成手段と、この形成されたフィー
ルドに値を設定変更し、かつ、その値によりパケット処
理を進行してゆく処理手段を設けたものである。
[0010] That is, the first invention is based on a subfield that distinguishes between layers in a stack of layered protocols, and a service access point (
a subfield that distinguishes a connection end point (CEP) within that SAP;
Forming means for forming at least one field into a packet out of subfields that distinguish transmission and reception to the CEP and subfields that distinguish the order of primitives notified to the CEP, and a forming means that sets a value in the formed field. A processing means is provided for changing settings and proceeding with packet processing based on the changed values.

【0011】また、第2の発明は、逆多重化を行ってい
る層内でのコネクションを区別するサブフィールドをあ
らかじめパケット内に形成する形成手段と、この形成さ
れたフィールドに逆多重化されたコネクションを識別す
る値を設定し、利用する処理手段を設けたものである。
[0011] The second invention also provides forming means for forming in advance in a packet a subfield that distinguishes a connection within the layer where demultiplexing is performed, and a subfield that is demultiplexed into the formed field. It is provided with a processing means for setting and utilizing a value for identifying a connection.

【0012】0012

【作用】第1の発明におけるパケット処理装置は階層化
されたプロトコルを処理する場合に用いられる各種の情
報を各フィールドにそのままの値で設定することにより
、従来のように、世代番号/カラー番号のフィールド内
に設定できる値を細かく管理する必要がなくなる。また
、カラーの指定フィールドのビット数がふえたことで、
このフィールドで表現できる値が多くなり、階層化プロ
トコルのプログラムを実行する上で並列に処理可能な部
分を十分に区別できる値を生成できる。
[Operation] The packet processing device according to the first invention sets various information used when processing a layered protocol in each field with the same value, so that generation number/color number can be set as is. This eliminates the need for detailed management of the values that can be set in fields. Also, because the number of bits in the color specification field has increased,
The number of values that can be expressed in this field increases, and it is possible to generate values that can sufficiently distinguish between parts that can be processed in parallel when executing a layered protocol program.

【0013】第2の発明におけるパケット処理装置は、
逆多重化されているコネクションを区別するためのフィ
ールドをあらかじめ設けているので、他のフィールドを
圧迫することがない。
[0013] The packet processing device in the second invention includes:
Since a field is provided in advance to distinguish connections that are being demultiplexed, other fields are not overwhelmed.

【0014】[0014]

【実施例】実施例1. 以下、この発明の一実施例を図について説明する。図1
において100は形成手段、200は処理手段、1は本
発明を適用したパケット、2は本発明によりフィールド
幅を拡張したカラー・フィールド、3は階層化されたプ
ロトコル構造での層間を区別するための{N}レイヤ識
別子のサブフィールド、4は{N+1}レイヤにサービ
スを提供するサービス・アクセス・ポイントを区別する
ための{N}SAP識別子のサブフィールド、5は{N
}SAP内のコネクション端点を区別するための{N}
CEP識別子のサブフィールド、6は{N}CEPでの
流れの方向を区別するための送受信識別のサブフィール
ド、7は{N}CEPに通知されるプリミティブの順番
を区別するための順序識別のサブフィールド、8は{N
+1}レイヤ内で逆多重化の処理が行われている時その
{N+1}レイヤ・プロトコルでのコネクションを区別
するための{N+1}レイヤ.コネクション識別子のサ
ブフィールドである。これらのサブフィールドは、形成
手段100によりパケットのカラー・フィールド内に形
成されたものである。
[Example] Example 1. An embodiment of the present invention will be described below with reference to the drawings. Figure 1
100 is a forming means, 200 is a processing means, 1 is a packet to which the present invention is applied, 2 is a color field whose field width is expanded according to the present invention, and 3 is for distinguishing between layers in a layered protocol structure. {N} subfield of layer identifier; 4 is subfield of {N} SAP identifier for distinguishing service access points serving the {N+1} layer; 5 is subfield of {N}
}{N} to distinguish between connection endpoints in SAP
CEP identifier subfield, 6 is a sending/receiving identification subfield for distinguishing the flow direction at {N}CEP, and 7 is an order identification subfield for distinguishing the order of primitives notified to {N}CEP. field, 8 is {N
+1} layer for distinguishing connections in the {N+1} layer protocol when demultiplexing processing is performed within the {N+1} layer. This is a subfield of the connection identifier. These subfields are those formed within the color field of the packet by the forming means 100.

【0015】図2と図4は、階層化されたプロトコルに
おける内部構成を示した図であり、すでに従来例で説明
したのでここでは説明を省略する。また、図3と図5は
各種プリミティブが通知された時にカラー・フィールド
2に設定される値を示している。このうち、図5の順序
の列とコネクション識別子の列に示されている矢印は、
設定される値が途中で変更されることを表現している。 値は矢印の左側の値から右側の値へ変わる。
FIGS. 2 and 4 are diagrams showing the internal structure of a layered protocol, and since it has already been explained in the conventional example, the explanation will be omitted here. Furthermore, FIGS. 3 and 5 show values set in color field 2 when various primitives are notified. Among these, the arrows shown in the order column and connection identifier column in FIG.
This indicates that the value to be set will be changed midway through. The value changes from the value on the left side of the arrow to the value on the right side.

【0016】次に図1に示した形式のパケット1を用い
て図2に示したプロトコルの構成におけるデータ駆動型
実行の動作を示す。なお、このデータ駆動はデータ記憶
の機能をもつものとする。この動作は処理手段200の
動作を説明するものであり、パケット1内のカラー・フ
ィールド2の値は、各層間で各層にある処理手段により
随時設定され直すことを基本とした処理を行うものであ
る。まず、図2の構成において、{N+1}SAP−1
(13a)内のひとつの{N+1}CEP−1(14a
)に{N+1}コネクション設定要求プリミティブが通
知された時点でパケット1のカラー・フィールド2の内
容を図3に示す1行目の値16に設定し{N+1}レイ
ヤ10の処理を実行する。この{N+1}レイヤ10処
理によって引き起される{N}レイヤ9への要求プリミ
ティブが{N}SAP−1(11a)内の{N}CEP
−1(12a)に通知されるとその時点で{N}レイヤ
9内で新たにカラー・フィールド2を設定し直す。
Next, the operation of data-driven execution in the protocol configuration shown in FIG. 2 will be described using packet 1 having the format shown in FIG. Note that this data drive has a data storage function. This operation explains the operation of the processing means 200, and the processing is based on the fact that the value of color field 2 in packet 1 is reset at any time between each layer by the processing means in each layer. be. First, in the configuration of FIG. 2, {N+1}SAP-1
One {N+1}CEP-1(14a) in (13a)
) is notified of the {N+1} connection setup request primitive, the content of the color field 2 of packet 1 is set to the value 16 in the first line shown in FIG. 3, and the {N+1} layer 10 processing is executed. The request primitive to {N} layer 9 caused by this {N+1} layer 10 processing is {N} CEP in {N} SAP-1 (11a)
-1 (12a), at that point the color field 2 is newly set in the {N} layer 9.

【0017】次に{N+1}コネクション設定要求に対
する確認を含むプリミティブが、{N}SAP−1(1
1a)内の{N}CEP−1(12a)に通知されてき
た場合、図3の2行目の値17をカラー・フィールド2
に設定し{N+1}レイヤ10の処理を実行する。そし
て、この{N+1}レイヤ10の処理によってその上の
レイヤに通知される{N+1}コネクション設定確認プ
リミティブが{N+1}SAP−1(13a)の{N+
1}CEP−1(14a)に来た時点で、上のレイヤは
これを受けとり、上のレイヤの処理手段によりカラー・
フィールド2を設定し直す。
Next, the primitive containing the confirmation for the {N+1} connection setup request is sent to {N}SAP-1(1
If notified to {N}CEP-1 (12a) in 1a), the value 17 in the second row of FIG.
{N+1} layer 10 processing is executed. Then, the {N+1} connection setting confirmation primitive notified to the upper layer by the processing of this {N+1} layer 10 is {N+1} of the {N+1} SAP-1 (13a).
1} When it arrives at CEP-1 (14a), the upper layer receives it and uses the processing means of the upper layer to color and process it.
Reset field 2.

【0018】{N+1}レイヤ10内のコネクション設
定完了にともなって{N+1}SAP−1(13a)の
{N+1}CEP−1(14a)に対する{N+1}デ
ータ送信要求プリミティブが3個通知された場合に設定
されるカラー・フィールド2の値を図3の3行目〜5行
目18、19、20に示す。また、{N}SAP−1(
11a)の{N}CEP−1(12a)に対して{N+
1}データ受信を含むプリミティブが通知されてきた場
合に設定されるカラー・フィールド2の値を図3の6行
目21に示す。図3において、コネクション識別子の値
は常に0としているのは、後述する実施例2において説
明するが、図2に示した構成では逆多重化の処理を行っ
ていないためである。また、図3における順序の値は、
送信と受信で独立な扱いとなっており、それぞれ通知さ
れた順序を示している。
[0018] When {N+1} three data transmission request primitives are notified from {N+1} SAP-1 (13a) to {N+1} CEP-1 (14a) upon completion of the connection setup within the {N+1} layer 10. The values of color field 2 set to 1 are shown in lines 18, 19, and 20 in the third to fifth lines of FIG. Also, {N}SAP-1(
11a) for {N}CEP-1 (12a) {N+
1} The value of color field 2 that is set when a primitive including data reception is notified is shown in the sixth line 21 of FIG. In FIG. 3, the value of the connection identifier is always set to 0, as will be explained later in Example 2, because the configuration shown in FIG. 2 does not perform demultiplexing processing. Moreover, the order value in FIG. 3 is
Sending and receiving are treated independently, and the order in which they are notified is shown.

【0019】一方、図4の構成における処理手段200
の動作について以下に説明する。{N+1}SAP−1
(13a)内の{N+1}CEP−1(14a)に{N
+1}コネクション設定要求プリミティブが通知された
時点で、カラー・フィールド2の内容を図5に示す1行
目の値22に設定し{N+1}レイヤ10の処理を実行
する。同様に{N+1}SAP−1(13a)内の{N
+1}CEP−2(14b)に{N+1}コネクション
設定要求プリミティブが通知された時点で、カラー・フ
ィールド2の内容を図5に示す2行目の値23に設定し
{N+1}レイヤ10の処理を行う。これらの{N+1
}レイヤ10処理によって引き起される{N}レイヤ9
への要求プリミティブが{N}SAP−1(11a)の
{N}CEP−4(12d)に順次通知されると、その
時点で{N}レイヤ9の処理で新たにカラー・フィール
ド2を設定し直す。
On the other hand, the processing means 200 in the configuration of FIG.
The operation will be explained below. {N+1}SAP-1
{N+1}CEP-1 (14a) in (13a)
+1} When the connection setup request primitive is notified, the content of color field 2 is set to the value 22 in the first row shown in FIG. 5, and {N+1} layer 10 processing is executed. Similarly, {N+1}{N in SAP-1 (13a)
+1} When the {N+1} connection setup request primitive is notified to CEP-2 (14b), the content of color field 2 is set to the value 23 in the second line shown in FIG. 5, and {N+1} layer 10 processing is performed. I do. These {N+1
}{N} layer 9 caused by layer 10 processing
When request primitives to {N} are sequentially notified to {N} CEP-4 (12d) of {N} SAP-1 (11a), at that point a new color field 2 is set in {N} layer 9 processing. Try again.

【0020】次に2つの{N+1}コネクション設定要
求に対する確認を含む2個のプリミティブが{N}SA
P−1(11a)内の{N}CEP−4(12d)に通
知されてきた場合、図5に示す3行目24及び4行目2
5の値を設定する。ただし、この時点における順序サブ
フィールドの値とコネクション識別子サブフィールドの
値は矢印の左側の値となっており、{N+1}レイヤ1
0内の処理を進めていく段階で処理手段200が逆多重
化が起きていることを判断した時点で両者の値を矢印の
右側の値に変更する。そして、この{N+1}レイヤ1
0の処理により、2つのコネクション設定確認プリミテ
ィブが{N+1}SAP−1(13a)の{N+1}C
EP−1(14a)と{N+1}CEP−2(14b)
に通知された段階で、上のレイヤにおいて上のレイヤの
処理手段が各々のカラー・フィールド2に新たな値を設
定する。
Next, two primitives containing confirmations for the two {N+1} connection setup requests are {N}SA
When notified to {N}CEP-4 (12d) in P-1 (11a), the third line 24 and the fourth line 2 shown in FIG.
Set the value of 5. However, at this point, the value of the order subfield and the value of the connection identifier subfield are the values on the left side of the arrow, and {N+1} layer 1
When the processing means 200 determines that demultiplexing is occurring while proceeding with the processing within 0, both values are changed to the values on the right side of the arrow. And this {N+1} layer 1
0 processing, the two connection setup confirmation primitives are {N+1}C of {N+1}SAP-1 (13a)
EP-1 (14a) and {N+1}CEP-2 (14b)
At the stage where the color field 2 is notified, the processing means of the upper layer sets a new value in each color field 2.

【0021】{N+1}レイヤ10内のコネクション設
定完了にともなって、{N+1}SAP−1(13a)
の{N+1}CEP−1(14a)と{N+1}CEP
−2(14b)に対する{N+1}データ送信要求プリ
ミティブが通知された場合に設定されるカラー・フィー
ルド2の値を図5の5行目26、6行目27、7行目2
8に示す。また、{N}SAP−1(11a)の{N}
CEP−4(12d)に対して{N+1}データ受信を
含むプリミティブが通知されてきた場合に設定されるカ
ラー・フィールド2の値を図5の8行目29と9行目3
0に示す。ただし、この時点における順序サブフィール
ドの値とコネクション識別子サブフィールドの値は矢印
の左側の値となっており、{N+1}レイヤ10内の処
理手段が処理を進めていく段階で逆多重化が起きている
ことを判断した時点で矢印の左側の値を矢印の右側の値
に変更する。
[0021] {N+1} With the completion of the connection setting in layer 10, {N+1} SAP-1 (13a)
{N+1}CEP-1 (14a) and {N+1}CEP
The values of color field 2 that are set when the {N+1} data transmission request primitive for -2 (14b) is notified are shown in the 5th line 26, the 6th line 27, and the 7th line 2 in Figure 5.
8. Also, {N} of {N} SAP-1 (11a)
The values of color field 2 that are set when a primitive including {N+1} data reception is notified to CEP-4 (12d) are shown in the 8th line 29 and the 9th line 3 in Figure 5.
0. However, at this point, the value of the order subfield and the value of the connection identifier subfield are the values on the left side of the arrow, and demultiplexing occurs at the stage when the processing means in the {N+1} layer 10 proceeds with the processing. When it is determined that the value on the left side of the arrow is correct, the value on the left side of the arrow is changed to the value on the right side of the arrow.

【0022】実施例2. なお、上記実施例1ではカラーフィールドに6つのサブ
フィールドがある場合を示したが、カラー・フィールド
内になくてもよい。また、6つのフィールドが連続して
ある必要はなく離れた位置にあってもよい。さらに、6
つのフィールドがすべてある必要はなく、少なくともい
ずれかひとつのフィールドが他のフィールドから独立し
ていればよい。第1の発明は、この6フィールド中の最
初の5フィールドのうちいずれかひとつをあらかじめ設
けているものであり、第2の発明は、特にコネクション
識別フィールドを設けた場合のものである。なお、上述
の実施例1においては、逆多重化の場合のみを説明した
が、一方のレイヤから他方のレイヤをみた場合を逆多重
化とすれば、反対に他方のレイヤから一方のレイヤをみ
れば多重化になるため、多重化の場合にも適用できるも
のである。
Example 2. In the first embodiment, the color field has six subfields, but the six subfields do not need to be included in the color field. Furthermore, the six fields do not need to be consecutive and may be located at separate locations. Furthermore, 6
It is not necessary to have all three fields; it is sufficient that at least one field is independent from the other fields. In the first invention, any one of the first five fields among these six fields is provided in advance, and in the second invention, in particular, a connection identification field is provided. In addition, in the above-mentioned Example 1, only the case of demultiplexing was explained, but if demultiplexing is the case where one layer is viewed from another layer, conversely, one layer can be viewed from the other layer. Since this is multiplexing, it can also be applied to multiplexing.

【0023】[0023]

【発明の効果】以上のように、この発明によればパケッ
ト形式におけるフィールドに、階層化プロトコルの処理
における各種情報をそのまま設定できるように構成した
ので、層毎の並列性、コネクション毎の並列性、プリミ
ティブ毎の並列性をプログラマが意識的に世代番号/カ
ラー番号との対応関係で細かく管理しなくても容易にか
つ自然な形でデータ駆動型の並列処理を実行することが
できる効果がある。
As described above, according to the present invention, various information in the processing of the layered protocol can be directly set in fields in the packet format, so that parallelism for each layer and parallelism for each connection can be achieved. , it has the effect of allowing data-driven parallel processing to be easily and naturally executed without the programmer having to consciously manage the parallelism of each primitive in detail in correspondence with generation numbers/color numbers. .

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

【図1】この発明の一実施例によるデータ駆動型計算機
のパケット処理装置を示す図。
FIG. 1 is a diagram showing a packet processing device for a data-driven computer according to an embodiment of the present invention.

【図2】階層化されたプロトコルの内部構成を示す図。FIG. 2 is a diagram showing the internal structure of a layered protocol.

【図3】各フィールドに設定される値を示す図。FIG. 3 is a diagram showing values set in each field.

【図4】階層化されたプロトコルの内部構成を示す図。FIG. 4 is a diagram showing the internal structure of a layered protocol.

【図5】各フィールドに設定される値を示す図。FIG. 5 is a diagram showing values set in each field.

【図6】従来のパケット形式を示す図。FIG. 6 is a diagram showing a conventional packet format.

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

1  パケット 2  カラー・フィールド 3  {N}レイヤ識別子 4  {N}SAP識別子 5  {N}CEP識別子 6  送信か受信を示すフラグ 7  順序 1 packet 2 Color field 3 {N} layer identifier 4 {N} SAP identifier 5 {N}CEP identifier 6 Flag indicating sending or receiving 7. Order

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  以下の要素を有するパケット処理装置
(a)以下のフィールドのうち少なくともひとつのフィ
ールドをあらかじめ設けてパケットを形成をする形成手
段、(a1)階層化されたプロトコル処理で層間を区別
するためのレイヤ識別子フィールド、(a2)層間での
アクセス点を区別するアクセス点識別フィールド、(a
3)アクセス点内のコネクション端点を区別するコネク
ション端点識別フィールド、(a4)コネクション端点
へのイベントの送受信を区別する送受信フィールド、(
a5)イベントの順序制御を行なう順序識別フィールド
、 (b)上記形成手段により形成されたパケットのフィー
ルドの値を設定変更し、その設定変更された値によりパ
ケットを処理する処理手段。
Claim 1: A packet processing device having the following elements: (a) a forming means for forming a packet by providing in advance at least one field among the following fields; (a1) distinguishing between layers by layered protocol processing; (a2) an access point identification field for distinguishing access points between layers, (a
3) A connection end point identification field that distinguishes a connection end point within an access point; (a4) a transmission/reception field that distinguishes sending and receiving events to and from a connection end point;
a5) an order identification field for controlling the order of events; (b) processing means for changing the setting of the field value of the packet formed by the forming means and processing the packet according to the changed value.
【請求項2】  以下の要素を有するパケット処理装置
(a)コネクションの多重化あるいは逆多重化を行なっ
ている層のコネクションを識別するためのコネクション
識別フィールドを、あらかじめパケット内に設けてパケ
ットを形成する形成手段、 (b)コネクションの多重化あるいは逆多重化を行なっ
ている層で、多重化あるいは逆多重化されたコネクショ
ンを識別し、コネクション識別フィールドに識別した値
を設定する処理手段。
[Claim 2] A packet processing device having the following elements: (a) Forming a packet by providing in advance a connection identification field in the packet to identify the connection in the layer where connections are being multiplexed or demultiplexed; (b) processing means for identifying a multiplexed or demultiplexed connection in a layer performing connection multiplexing or demultiplexing, and setting the identified value in a connection identification field;
JP3016526A 1991-02-07 1991-02-07 Packet processing unit Pending JPH04270536A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3016526A JPH04270536A (en) 1991-02-07 1991-02-07 Packet processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3016526A JPH04270536A (en) 1991-02-07 1991-02-07 Packet processing unit

Publications (1)

Publication Number Publication Date
JPH04270536A true JPH04270536A (en) 1992-09-25

Family

ID=11918721

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3016526A Pending JPH04270536A (en) 1991-02-07 1991-02-07 Packet processing unit

Country Status (1)

Country Link
JP (1) JPH04270536A (en)

Similar Documents

Publication Publication Date Title
DE69832769T2 (en) Network communication device with bound ports for increased bandwidth
US6044418A (en) Method and apparatus for dynamically resizing queues utilizing programmable partition pointers
US6694361B1 (en) Assigning multiple LIDs to ports in a cluster
US7089346B2 (en) Method of operating a crossbar switch
CN109426648A (en) For the technology by intelligent network interface controller processing network packet
US9614789B2 (en) Supporting multiple virtual switches on a single host
DE102005060085B9 (en) Method, communication network and control unit for the cyclic transmission of data
US7240135B2 (en) Method of balancing work load with prioritized tasks across a multitude of communication ports
CN103238301A (en) Technique for managing traffic at router
US7688737B2 (en) Latency hiding message passing protocol
CN106452873A (en) Control method, control device and processor in software defined network
JPH04270536A (en) Packet processing unit
CA2484508A1 (en) Apparatus, method and computer program to reserve resources in communications system
JP2003069589A (en) Network system, addressing method, communication controller and its method
US5528768A (en) Multiprocessor communication system having a paritioned main memory where individual processors write to exclusive portions of the main memory and read from the entire main memory
CN116633955A (en) Communication method, device, vehicle, medium and equipment
US20060253861A1 (en) API interface to make dispatch tables to match API routines
CN110199499A (en) Unified centralized network storehouse
CN114465984B (en) Address allocation method, system, device and computer readable storage medium based on transmission path
KR20020042139A (en) Method for message frame operation of can system
JP2001268094A (en) Mode unit, information processing system provided with the mode units, and parameter exchange method
JP3005379B2 (en) Communication system between programmable controllers
CN100370426C (en) Server managing device
JP2002140201A (en) Method for updating database and database management system using the same
JPS63107236A (en) Line control method