JPH07143133A - Multi-layer protocol processor for common use of memory - Google Patents

Multi-layer protocol processor for common use of memory

Info

Publication number
JPH07143133A
JPH07143133A JP14797593A JP14797593A JPH07143133A JP H07143133 A JPH07143133 A JP H07143133A JP 14797593 A JP14797593 A JP 14797593A JP 14797593 A JP14797593 A JP 14797593A JP H07143133 A JPH07143133 A JP H07143133A
Authority
JP
Japan
Prior art keywords
layer
protocol processing
memory
data
processing unit
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
JP14797593A
Other languages
Japanese (ja)
Inventor
Manabu Kagawa
学 香川
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 JP14797593A priority Critical patent/JPH07143133A/en
Publication of JPH07143133A publication Critical patent/JPH07143133A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce a required memory quantity by using a memory for storing line input output data in common for layers and transferring the data indirectly through the use of addresses stored in the common use memory. CONSTITUTION:Each processing among layers 1-3 is implemented respectively by a layer 1 protocol processing section 101, a layer 2 protocol processing section 102, and a layer 3 protocol processing section 103. Each of the protocol processing sections 101-103 is connected to a common use memory 105 through a system bus 104 and to a bus contention arbitration control section 106 controlling the use of the common use memory 105. That is, each of the protocol processing sections 101-103 and the common use memory 105 are connected through the bus to be accessible to each other, and the bus contention arbitration control section 106 is connected to each processing section so as to avoid the collision when the bus is in use. Then input output line data themselves are not directly transferred among the layers 1-3 but transferred indirectly based on addresses stored in the common use memory 105.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は階層構造に基づいたレイ
ヤ1〜レイヤ3のデータ通信処理装置に関し、特に、レ
イヤ1にATMプロトコルを使用する場合のデータ通信
処埋装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a layer 1 to layer 3 data communication processing apparatus based on a hierarchical structure, and more particularly to a data communication processing apparatus when the ATM protocol is used for layer 1.

【0002】[0002]

【従来の技術】図4は従来のデータ通信処理装置の構成
を示す図である。従来技術について図4を参照して以下
に説明する。
2. Description of the Related Art FIG. 4 is a diagram showing the configuration of a conventional data communication processing device. The conventional technique will be described below with reference to FIG.

【0003】図4に示す装置は、レイヤ1プロトコル処
理部201,レイヤ2プロトコル処理部202,レイヤ
3プロトコル処理部203によりレイヤ1〜レイヤ3の
各処理がそれぞれ行われる。レイヤ2プロトコル処理部
202およびレイヤ3プロトコル処理部203はシステ
ムバス204を介してレイヤ2,レイヤ3用回線データ
メモリ206と接続され、また、該メモリ206の使用
状況を制御するバス競合調停制御部207と接続されて
いる。ATMプロトコルが使用されるレイヤ1プロトコ
ル処理部201には、処理に高速性が要求されるためレ
イヤ1専用にレイヤ1用回線データメモリ205が設け
られており、これと接続されている。
In the apparatus shown in FIG. 4, the layer 1 protocol processing section 201, the layer 2 protocol processing section 202, and the layer 3 protocol processing section 203 perform respective processes of layers 1 to 3 respectively. The layer 2 protocol processing unit 202 and the layer 3 protocol processing unit 203 are connected to the layer 2 and layer 3 line data memory 206 via the system bus 204, and a bus contention arbitration control unit for controlling the usage status of the memory 206. It is connected to 207. The layer 1 protocol processing unit 201 using the ATM protocol is provided with a layer 1 line data memory 205 dedicated to layer 1 and is connected thereto because high speed processing is required.

【0004】従来のレイヤ1プロトコル処理部201
(ATM)及びレイヤ2プロトコル処理部202で行わ
れるプロトコル処理では、ユーザデータと各レイヤのヘ
ッダ情報を合わせたデータセグメントを入力データとし
て処理が行われていた。
A conventional layer 1 protocol processing unit 201
In the protocol processing performed by (ATM) and the layer 2 protocol processing unit 202, the processing is performed with the data segment, which is the combination of the user data and the header information of each layer, as the input data.

【0005】レイヤ1プロトコル処理部201では回線
(ユーザ、端末)との間でセル208が送受信される。
このときの受信側処理として、受信されたセル208は
次レイヤ1用回線データメモリ205に格納されレーム
に組み立てられた後、レイヤ2プロトコル処理部202
に転送される。送信側処理としてはレイヤ2プロトコル
処理部202より送られたフレームがセルに分解され、
セル208として出力される。
In the layer 1 protocol processing unit 201, cells 208 are transmitted / received to / from lines (users, terminals).
As processing on the receiving side at this time, the received cell 208 is stored in the next layer 1 line data memory 205 and assembled into a frame, and then the layer 2 protocol processing unit 202.
Transferred to. As the transmitting side processing, the frame transmitted from the layer 2 protocol processing unit 202 is decomposed into cells,
It is output as cell 208.

【0006】レイヤ2プロトコル処理部202ではレイ
ヤ1プロトコル処理部201との間でフレームが送受信
されるが、このときの受信側処理としては入力フレーム
内のヘッダ情報によりレイヤ2プロトコル処理が行わ
れ、この後ヘッダを削除し、パケットとしてレイヤ3プ
ロトコル処理部203へ引き渡す。送信側処理としては
レイヤ3プロトコル処理部203より引き取ったパケッ
トにヘッダ情報を付加し、フレームとしてレイヤ1プロ
トコル処理部201に転送する。
[0006] The layer 2 protocol processing unit 202 transmits / receives a frame to / from the layer 1 protocol processing unit 201. At this time, as the receiving side processing, the layer 2 protocol processing is performed by the header information in the input frame, After that, the header is deleted and the packet is delivered to the layer 3 protocol processing unit 203. As the transmitting side processing, header information is added to the packet received from the layer 3 protocol processing section 203 and transferred to the layer 1 protocol processing section 201 as a frame.

【0007】以上のように、従来はレイヤ1とレイヤ2
の間ではフレームが直接転送されていた。
As described above, conventionally, layer 1 and layer 2
Frames were transferred directly between.

【0008】[0008]

【発明が解決しようとする課題】上述した従来のデータ
通信処理装置では以下の2点が問題となる。
The conventional data communication processing device described above has the following two problems.

【0009】(1)ユーザデータの2重格納 レイヤ1ではレイヤ1専用の回線入出力データ内ユーザ
データ(この場合フレーム)格納用メモリを要し、レイ
ヤ2及びレイヤ3ではレイヤ2及びレイヤ3用のレイヤ
1と送受されるデータセグメント(フレーム)内ユーザ
データ(パケット)格納用メモリを要していた。
(1) Double storage of user data Layer 1 requires a memory for storing user data (frames in this case) in the line input / output data dedicated to layer 1, and layers 2 and 3 for layers 2 and 3 It requires a memory for storing user data (packet) in a data segment (frame) to be transmitted / received to / from the layer 1.

【0010】回線データの内容はユーザデータ及び各レ
イヤのヘッダ情報により構成されるが、その大部分はユ
ーザデータにより占められる。このユーザデータは各レ
イヤが参照することのないデータであり、本来各レイヤ
処理部ではそのプロトコル処理に必要とされないもので
ある。この回線データの大部分を占め、かつ、各レイヤ
プロトコルで必要とされないデータをレイヤ1、レイヤ
2で格納するのはシステム全体としてのメモリ量を不必
要に増やすものとなる。
The contents of the line data are composed of user data and header information of each layer, but most of them are occupied by user data. This user data is data that each layer does not refer to, and is originally not required for the protocol processing in each layer processing unit. Storing most of this line data and data not required by each layer protocol in layer 1 and layer 2 unnecessarily increases the memory amount of the entire system.

【0011】(2)レイヤ間データ転送による処理能力
の低下 回線データ内の大部分を占めるユーザデータをレイヤ1
−レイヤ2間で転送することにより、プロトコル処理以
外にその転送処理を行うことが必要となり、その分プロ
トコル処理能力を割くことになる。
(2) Deterioration of processing capacity due to inter-layer data transfer User data occupying most of line data is layer 1
-By transferring between layers 2, it is necessary to perform the transfer processing in addition to the protocol processing, and the protocol processing capacity is reduced accordingly.

【0012】本発明は上述したような従来の技術が有す
る問題点に鑑みてなされたものであって、階層(レイ
ヤ)構造に基づいたシステムにおいてレイヤ1(AT
M)、レイヤ2、レイヤ3の3層のプロトコル処理を行
う際、システム全体で要するメモリ量を削減し、またシ
ステム全体での処理能力を軽滅することを目的とする。
The present invention has been made in view of the problems of the above-described conventional technique, and is a layer 1 (AT) in a system based on a layer structure.
M), layer 2, and layer 3 are used for protocol processing, the amount of memory required for the entire system is reduced, and the processing capacity of the entire system is reduced.

【0013】[0013]

【課題を解決するための手段】本発明のメモリ共用多層
プロトコル処理装置は、階層構造に基づいたデータ通信
処理を行う装置であって、レイヤ1プロトコル処理装
置、レイヤ2プロトコル処理装置及びレイヤ3プロトコ
ル処理装置と、各レイヤプロトコル処理装置と回線との
間で入出力され、ユーザデータ及び各レイヤのプロトコ
ル処理に用いられるヘッダ情報等のデータを格納する共
用メモリと、を有し、各レイヤプロトコル処理装置のそ
れぞれは、前記共用メモリにアクセス可能に構成され、
レイヤ1−レイヤ2間で行われるフレーム転送やレイヤ
2−レイヤ3間で行われるパケット転送においては共用
メモリに格納されたデータを直接転送することなく、格
納された共用メモリ上の先頭及び末尾アドレス値によ
り、間接的にデータの転送を行うことを特徴とする。
A memory sharing multi-layer protocol processing device of the present invention is a device for performing data communication processing based on a hierarchical structure, and is a layer 1 protocol processing device, a layer 2 protocol processing device and a layer 3 protocol. Each layer protocol processing has a processing device and a shared memory that stores user data and data such as header information used for protocol processing of each layer that is input / output between each layer protocol processing device and a line. Each of the devices is configured to access the shared memory,
In the frame transfer performed between the layer 1 and the layer 2 and the packet transfer performed between the layer 2 and the layer 3, the start and end addresses in the stored shared memory are not directly transferred. It is characterized in that data is indirectly transferred by a value.

【0014】[0014]

【作用】回線入出力データ格納用の共用メモリが各レイ
ヤプロトコル処理装置がアクセス可能に構成され、レイ
ヤ1−レイヤ2間のフレーム転送がフレーム自体ではな
く、共用メモリに格納されたアドレスにより間接的に転
送されるので、回線入出力データ格納用のメモリを1つ
にまとめられることとなる。
A shared memory for storing line input / output data is configured to be accessible by each layer protocol processing device, and frame transfer between layer 1 and layer 2 is indirectly performed by an address stored in the shared memory, not by the frame itself. Therefore, the memory for storing the line input / output data can be integrated into one.

【0015】また、レイヤ1−レイヤ2間の転送データ
量が減るので、両プロトコル処理部でデータ転送に要し
ていた処理が軽減される。
Further, since the amount of data transferred between layer 1 and layer 2 is reduced, the processing required for data transfer in both protocol processing units is reduced.

【0016】[0016]

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

【0017】図1は本発明の一実施例の構成を示す図で
あり、本発明に基づいたレイヤ1〜3プロトコル処理装
置のプロック構成の慨略及びデータの流れを示したもの
である。
FIG. 1 is a diagram showing the configuration of an embodiment of the present invention, and shows the outline of a block configuration of a layer 1 to 3 protocol processing device based on the present invention and the flow of data.

【0018】本実施例は、レイヤ1プロトコル処理部1
01,レイヤ2プロトコル処理部102,レイヤ3プロ
トコル処理部103によりレイヤ1〜レイヤ3の各処理
がそれぞれ行われる。各プロトコル処理部はシステムバ
ス104を介して共用メモリ105と接続され、また、
該共用メモリ105の使用を制御するバス競合調停制御
部106と接続されている。
In this embodiment, the layer 1 protocol processing unit 1
01, the layer 2 protocol processing unit 102, and the layer 3 protocol processing unit 103 perform the respective processes of layers 1 to 3. Each protocol processing unit is connected to the shared memory 105 via the system bus 104, and
It is connected to a bus contention arbitration control unit 106 that controls the use of the shared memory 105.

【0019】なお、図中の各符号のそれぞれは以下の内
容を示すものである。
Each reference numeral in the drawing indicates the following contents.

【0020】a0:パケット先頭アドレス a1:パケット末尾アドレス A0:フレーム先頭アドレス A1:フレーム末尾アドレス L2C:レイヤ3プロトコル処理部103からレイヤ2
プロトコル処理部102へのコマンド L2S:レイヤ2プロトコル処理部102からレイヤ3
プロトコル処理部103への状態報告 L1C:レイヤ2プロトコル処理部102からレイヤ1
プロトコル処理部101へのコマンド L1S:レイヤ1プロトコル処理部101からレイヤ2
プロトコル処理部102への状態報告 X0:L2C格納アドレス X1:L2S格納アドレス X2:L1C格納アドレス X3:L1S格納アドレス 本発明においては、従来構成からの変更の実現が課題解
決の手段となる。
A0: packet start address a1: packet end address A0: frame start address A1: frame end address L2C: layer 3 protocol processing unit 103 to layer 2
Command to Protocol Processing Unit 102 L2S: Layer 2 Protocol Processing Unit 102 to Layer 3
Status Report to Protocol Processor 103 L1C: Layer 2 Protocol Processor 102 to Layer 1
Command to Protocol Processing Unit 101 L1S: Layer 1 Protocol Processing Unit 101 to Layer 2
Status Report to Protocol Processing Unit 102 X0: L2C storage address X1: L2S storage address X2: L1C storage address X3: L1S storage address In the present invention, realization of a change from the conventional configuration is a means for solving the problem.

【0021】すなわち、以下の2点の実現である。That is, the following two points are realized.

【0022】(1)レイヤ1プロトコル処理部をバスに
接続する 従来レイヤ1プロトコル専用であったメモリがバスに接
続された各プロトコル共用のメモリとなるのでレイヤ1
処理部にバスシーケンス(バス獲得/解放)処理回路を
追加する。
(1) Connecting the Layer 1 Protocol Processing Unit to the Bus Since the memory that was conventionally dedicated to the Layer 1 protocol becomes the memory connected to the bus and shared by the protocols, Layer 1
A bus sequence (bus acquisition / release) processing circuit is added to the processing unit.

【0023】(2)フレームからアドレスへのレイヤ1
−レイヤ2間インタフェースの変更 従来のレイヤ1(ATM)及びレイヤ2間で直接フレー
ムの受け渡しを行っていたので、これを共用メモリの先
頭アドレス及び末尾アドレスによりフレームの受け渡し
を間接的に行うよう変更する。
(2) Layer 1 from frame to address
-Change of interface between layer 2 Since the frame was directly passed between the conventional layer 1 (ATM) and layer 2, this was changed to indirectly pass the frame by the start address and the end address of the shared memory. To do.

【0024】上記のことを実現するための本実施例にお
ける装置構成及び処理シーケンスの特徴的な部分につい
て以下に記す。
Characteristic portions of the apparatus configuration and processing sequence in this embodiment for realizing the above will be described below.

【0025】(1)装置構成 本実施例は、図4に示した従来例ではレイヤ1用のプロ
トコル処理部が専用に使用していたフレーム格納メモリ
をバスに接続したことが大きな変更点となる。
(1) Device Configuration The present embodiment is greatly changed in that the frame storage memory, which is used exclusively by the protocol processing unit for layer 1 in the conventional example shown in FIG. 4, is connected to the bus. .

【0026】レイヤ1〜3各々のプロトコル処理部とそ
れらが使用する共用のメモリが互いにアクセス可能なよ
うにバスに接続される。各プロトコル処埋部がバス使用
の際、衝突しないようバス競合調停制御部106が各々
と接続される。各レイヤ間では入出力回線データ自体を
直接転送するのではなく、共用メモリにそれが格納され
たアドレスにより間接的に転送される。アドレスは例え
ば図1における各レイヤ間のプリミティブ(L2C,L
2S,L1C,L1S)に含めるような形で行われる。
The protocol processing units of layers 1 to 3 and the shared memory used by them are connected to the bus so that they can access each other. The bus contention arbitration control unit 106 is connected to each protocol embedding unit 106 so as not to collide with each other when the bus is used. The I / O line data itself is not directly transferred between the layers, but is indirectly transferred by the address where it is stored in the shared memory. The address is, for example, a primitive (L2C, L2) between layers in FIG.
2S, L1C, L1S).

【0027】上記の構成とするためには、フレーム格納
メモリアクセスの前にバス獲得要求をバス競合調停制御
部に出力する回路を追加する必要があるが、この回路と
して従来より用いられているレイヤ3用及びレイヤ2用
のプロトコル処理部と同じ回路をそのまま用い、バス競
合調停制御部をレイヤ3用及びレイヤ2用のプロトコル
処理部の2者調停であったものをレイヤ1用のプロトコ
ル処理部も加えた3者調停にすれば変更量も少なく実現
することができ、さらに、競合の優先順位においてレイ
ヤ1を最高位におけば、レイヤ1プロトコル処理部は共
用メモリが専用に近い状態で使用できることになり、従
来回路とほぼ同じものを用いることができる。
In order to have the above configuration, it is necessary to add a circuit for outputting a bus acquisition request to the bus contention arbitration control unit before accessing the frame storage memory. The same circuit as the protocol processing unit for 3 and layer 2 is used as it is, and the bus contention arbitration control unit is a two-way arbitration of the protocol processing unit for layer 3 and the protocol processing unit for layer 2 If the three-party arbitration is also added, the amount of change can be reduced, and if layer 1 is set to the highest level in the priority of competition, the layer 1 protocol processing part uses the shared memory in a state almost dedicated. As a result, almost the same circuit as the conventional circuit can be used.

【0028】本実施例は、競合調停制御部を3者調停の
ものとし、また、共用メモリ105の競合の優先順位と
してレイヤ1プロトコル処理部101が最優先となるよ
うに構成されている。
In this embodiment, the contention arbitration control unit is a three-party arbitration unit, and the layer 1 protocol processing unit 101 has the highest priority as the priority of the contention of the shared memory 105.

【0029】(2)処理シーケンス 次に、レイヤ1−レイヤ2間で直接フレームの受け渡し
を行っていたものを共用メモリにフレームが格納された
アドレスにより間接的に受け渡しを行う実施例について
記す。アドレスの受け渡しにおいて次の2点が装置構成
及び処理手順上の考慮点となる。
(2) Processing Sequence Next, an embodiment will be described in which a frame is directly transferred between layer 1 and layer 2 but indirectly transferred by an address at which the frame is stored in the shared memory. The following two points are the points to be considered in the device configuration and the processing procedure when passing the address.

【0030】:レイヤ1−レイヤ2間のフレーム格納
アドレスの転送方法 :フレーム格納アドレスの管理をどこで行うか についてはレイヤ1−レイヤ2間で直接転送を行う方
法や、共用メモリを介して行う方法等の物理的な選択
と、フレーム格納アドレスをどのようなデータフォーマ
ットにして転送するか(例えば、アドレスのみの転送
か、もしくは、他のプリミティブと合わせての転送か
等)という論理的な選択に大別出来る。
: Transfer method of frame storage address between layer 1 and layer 2: Where to manage frame storage address: direct transfer method between layer 1 and layer 2 or method via shared memory And the logical selection of what data format the frame store address should be transferred to (for example, whether only the address is transferred or is transferred with other primitives). It can be roughly divided.

【0031】本実施例では物理的には共用メモリを介し
て、論理的には他のプリミティブと合わせる方法が示さ
れている。例えば、レイヤ1プロトコル処理部101が
フレーム組み立てを完了した時、レイヤ2プロトコル処
理部102に現在の状態を報告するためのL1S起動信
号を出力する。これを受けたレイヤ2プロトコル処理部
は、あらかじめ決められたL1S格納アドレスX3にL
1Sを読みに行く。L1Sの内容はプリミティブとして
組み立て完了が表示されるもので、併せてフレーム格納
アドレスを示すフレーム先頭アドレスA0,フレーム末
尾アドレスA1も示されている。
In this embodiment, a method of physically matching with another primitive through a shared memory is shown. For example, when the layer 1 protocol processing unit 101 completes frame assembly, it outputs an L1S activation signal for reporting the current state to the layer 2 protocol processing unit 102. Upon receiving this, the layer 2 protocol processing unit sets L to the predetermined L1S storage address X3.
Go read 1S. The content of L1S indicates that the assembly is completed as a primitive, and the frame start address A0 and the frame end address A1 indicating the frame storage address are also shown.

【0032】は装置における処理シーケンスに影響を
与えるものである。例えば、レイヤ3プロトコル処理部
103にてメモリ管理を行う場合には、レイヤ3からレ
イヤ2へ、レイヤ2からレイヤ1へと順に受信データ用
メモリアドレス(空エリア)、送信データ用メモリ(デ
ータが格納されているエリア)が伝えられる。
The item (1) affects the processing sequence in the apparatus. For example, when memory management is performed by the layer 3 protocol processing unit 103, a memory address for receiving data (empty area) and a memory for transmitting data (data is stored in order from layer 3 to layer 2 and layer 2 to layer 1) The stored area) is transmitted.

【0033】図2はレイヤ3プロトコル処理部103に
てアドレス管理を行う場合の受信側処理シーケンスを示
す図であり、図3は同様のアドレス管理による送信側処
理シーケンスを示す図である。
FIG. 2 is a diagram showing a receiving side processing sequence when the layer 3 protocol processing unit 103 manages addresses, and FIG. 3 is a diagram showing a transmitting side processing sequence by the same address management.

【0034】まず、図2を参照して受信時の処理につい
て説明する。
First, the processing at the time of reception will be described with reference to FIG.

【0035】回線より有効なセルが受信され、該セルを
受信するためのアドレス要求がレイヤ1プロトコル処理
部101からレイヤ2プロトコル処理部102を介して
送られてくると、レイヤ3プロトコル処理部103はこ
れを処理するために空エリアの検索を行う。この後、上
記の検索された結果である空エリアを示すアドレスをレ
イヤ2プロトコル処理部102を介してレイヤ1プロト
コル処理部101へ送出する。レイヤ1プロトコル処理
部101では、該指示に示されるアドレスからフレーム
に組み立てるレイヤ1プロトコル処理を行った後に、該
組み立てたフレームの長さを示す末尾アドレスをレイヤ
2プロトコル処理部102に通知する。レイヤ2プロト
コル処理部102ではフレームが組み立てられた先頭ア
ドレスからフレーム終端までのレイヤ2プロトコル処理
を行ってパケットとし、パケットを受信したことおよび
パケットが格納されたアドレスをレイヤ3プロトコル処
理部103へ通知する。これを受けてレイヤ3プロトコ
ル処理部103ではレイヤ3プロトコル処理を行う。
When a valid cell is received from the line and an address request for receiving the cell is sent from the layer 1 protocol processing section 101 through the layer 2 protocol processing section 102, the layer 3 protocol processing section 103 is sent. Does a search for an empty area to handle this. Thereafter, the address indicating the empty area, which is the above-mentioned search result, is sent to the layer 1 protocol processing unit 101 via the layer 2 protocol processing unit 102. The layer 1 protocol processing unit 101 performs layer 1 protocol processing for assembling a frame from the address indicated by the instruction, and then notifies the layer 2 protocol processing unit 102 of the end address indicating the length of the assembled frame. The layer 2 protocol processing unit 102 performs layer 2 protocol processing from the head address where the frame is assembled to the end of the frame into a packet, and notifies the layer 3 protocol processing unit 103 that the packet is received and the address where the packet is stored. To do. In response to this, the layer 3 protocol processing unit 103 performs layer 3 protocol processing.

【0036】次に、図3を参照して送信時の処理につい
て説明する。
Next, processing at the time of transmission will be described with reference to FIG.

【0037】レイヤ3プロトコル処理部103がパケッ
ト送信要求および該パケットが格納されているアドレス
をレイヤ2プロトコル処理部102へ送出すると、レイ
ヤ2プロトコル処理部102にてレイヤ2のプロトコル
処理が行われる。この結果、送信パケットに対応するフ
レームが格納されているアドレスが確認されると、該フ
レームを送信する要求を確認したアドレスとともにレイ
ヤ1プロトコル処理部101に送出する。レイヤ1プロ
トコル処理部101では、指定されたアドレスに格納さ
れているフレームを読み取ってセル107に分解するレ
イヤ1プロトコル処理(ATMプロトコル処理)を行っ
て、これを回線に送出するとともに、レイヤ2プロトコ
ル処理部102に対しては送信処理が終了したことを示
す終了通知を送出する。レイヤ2プロトコル処理部10
2では、送信によって変化した状態変数を更新するレイ
ヤ2プロトコル処理を行い、レイヤ3プロトコル処理部
103に対して送信終了通知を行う。レイヤ3プロトコ
ル処理部103では状態変数を更新するレイヤ3プロト
コル処理を行い、また、管理するアドレスに空エリアを
追加する処理を行う。
When the layer 3 protocol processing section 103 sends a packet transmission request and the address in which the packet is stored to the layer 2 protocol processing section 102, the layer 2 protocol processing section 102 performs layer 2 protocol processing. As a result, when the address at which the frame corresponding to the transmission packet is stored is confirmed, the frame 1 is sent to the layer 1 protocol processing unit 101 together with the confirmed address. The layer 1 protocol processing unit 101 performs a layer 1 protocol process (ATM protocol process) for reading a frame stored at a specified address and disassembling it into cells 107, and sending this to a line and a layer 2 protocol. An end notification indicating that the transmission process is completed is sent to the processing unit 102. Layer 2 protocol processing unit 10
In 2, the layer 2 protocol processing for updating the state variable changed by the transmission is performed, and the transmission completion notification is sent to the layer 3 protocol processing unit 103. The layer 3 protocol processing unit 103 performs a layer 3 protocol process for updating a state variable, and also performs a process for adding an empty area to a managed address.

【0038】[0038]

【発明の効果】本発明は以上説明したように構成されて
いるので、以下に記載するような効果を奏する。
Since the present invention is constructed as described above, it has the following effects.

【0039】回線入出力データ格納用のメモリをレイヤ
1〜3共用にし、レイヤ1−レイヤ2間のフレーム転送
をフレーム自体ではなく、共用メモリに格納されたアド
レスにより間接的に転送することにより回線入出力デー
タ格納用のメモリを1つにまとめることにより、装置全
体としての所要メモリ量を削減することができる効果が
ある。
The memory for storing the line input / output data is shared by layers 1 to 3, and the frame transfer between the layer 1 and the layer 2 is indirectly transferred not by the frame itself but by the address stored in the shared memory. By consolidating the memories for storing the input / output data into one, it is possible to reduce the required memory amount of the entire apparatus.

【0040】また、レイヤ1−レイヤ2間の転送データ
量が減ることにより、両プロトコル処理部でデータ転送
に要していた処理を軽減することができ、処理速度を向
上することができる効果がある。
Further, since the amount of transfer data between layer 1 and layer 2 is reduced, the processing required for data transfer in both protocol processing units can be reduced, and the processing speed can be improved. is there.

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

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

【図2】図1に示した実施例の受信時の処理を示すシー
ケンス図である。
FIG. 2 is a sequence diagram showing processing at the time of reception in the embodiment shown in FIG.

【図3】図1に示した実施例の送信時の処理を示すシー
ケンス図である。
FIG. 3 is a sequence diagram showing processing at the time of transmission of the embodiment shown in FIG.

【図4】従来例の構成を示す図である。FIG. 4 is a diagram showing a configuration of a conventional example.

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

101 レイヤ1プロトコル処理部 102 レイヤ2プロトコル処理部 103 レイヤ3プロトコル処理部 104 システムバス 105 共用メモリ 106 バス競合調停制御部 107 セル 101 Layer 1 Protocol Processing Unit 102 Layer 2 Protocol Processing Unit 103 Layer 3 Protocol Processing Unit 104 System Bus 105 Shared Memory 106 Bus Contention Arbitration Control Unit 107 Cell

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成5年11月10日[Submission date] November 10, 1993

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】特許請求の範囲[Name of item to be amended] Claims

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【特許請求の範囲】[Claims]

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 階層構造に基づいたデータ通信処理を行
う装置であって、 レイヤ1プロトコル処理装置、レイヤ2プロトコル処理
装置及びレイヤ3プロトコル処理装置と、 各レイヤプロトコル処理装置と回線との間で入出力さ
れ、ユーザデータ及び各レイヤのプロトコル処理に用い
られるヘッダ情報等のデータを格納する共用メモリと、
を有し、 各レイヤプロトコル処理装置のそれぞれは、前記共用メ
モリにアクセス可能に構成され、レイヤ1−レイヤ2間
で行われるフレーム転送やレイヤ2−レイヤ3間で行わ
れるパケット転送においては共用メモリに格納されたデ
ータを直接転送することなく、格納された共用メモリ上
の先頭及び末尾アドレス値により、間接的にデータの転
送を行うことを特徴とするメモリ共用多層プロトコル処
理装置。
1. A device for performing data communication processing based on a hierarchical structure, comprising: a layer 1 protocol processing device, a layer 2 protocol processing device, and a layer 3 protocol processing device; and between each layer protocol processing device and a line. A shared memory that stores user data and data such as header information used for protocol processing of each layer,
Each of the layer protocol processing devices is configured to be accessible to the shared memory, and shared memory is used for frame transfer performed between layer 1 and layer 2 and packet transfer performed between layer 2 and layer 3. A memory sharing multi-layer protocol processing device characterized in that data is indirectly transferred by the start and end address values stored in a shared memory without directly transferring the data stored in the memory.
JP14797593A 1993-06-18 1993-06-18 Multi-layer protocol processor for common use of memory Pending JPH07143133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14797593A JPH07143133A (en) 1993-06-18 1993-06-18 Multi-layer protocol processor for common use of memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14797593A JPH07143133A (en) 1993-06-18 1993-06-18 Multi-layer protocol processor for common use of memory

Publications (1)

Publication Number Publication Date
JPH07143133A true JPH07143133A (en) 1995-06-02

Family

ID=15442339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14797593A Pending JPH07143133A (en) 1993-06-18 1993-06-18 Multi-layer protocol processor for common use of memory

Country Status (1)

Country Link
JP (1) JPH07143133A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6625123B1 (en) 1998-05-15 2003-09-23 Nec Corporation ATM-cell segmentation and reassembly circuit
CN1127833C (en) * 1998-09-29 2003-11-12 日本电气株式会社 Packet processing equipment,packet processing method and packet switching technology

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63121342A (en) * 1986-11-10 1988-05-25 Nec Corp Reception buffer control system for communication processing equipment
JPH01136263A (en) * 1987-11-24 1989-05-29 Nec Corp System for managing communication control buffer
JPH03294949A (en) * 1990-04-12 1991-12-26 Sharp Corp High speed communication bus window controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63121342A (en) * 1986-11-10 1988-05-25 Nec Corp Reception buffer control system for communication processing equipment
JPH01136263A (en) * 1987-11-24 1989-05-29 Nec Corp System for managing communication control buffer
JPH03294949A (en) * 1990-04-12 1991-12-26 Sharp Corp High speed communication bus window controller

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6625123B1 (en) 1998-05-15 2003-09-23 Nec Corporation ATM-cell segmentation and reassembly circuit
CN1127833C (en) * 1998-09-29 2003-11-12 日本电气株式会社 Packet processing equipment,packet processing method and packet switching technology
US7130312B1 (en) 1998-09-29 2006-10-31 Juniper Networks, Inc. Packet processing apparatus, packet processing method, and packet exchange
US7515610B2 (en) 1998-09-29 2009-04-07 Juniper Networks, Inc. Packet processing using a multi-port memory
US7970012B2 (en) 1998-09-29 2011-06-28 Juniper Networks, Inc. Packet processing using a multi-port memory

Similar Documents

Publication Publication Date Title
JP2983167B2 (en) Network interface device and packet processing method in network interface
JPH01502708A (en) Information transmission methods and devices
JP2002521942A (en) Memory device and method of operating memory device
JPH07143133A (en) Multi-layer protocol processor for common use of memory
US5163049A (en) Method for assuring data-string-consistency independent of software
JPS63160445A (en) Method and system for controlling transmission
JPH09224066A (en) Communication protocol parallel processor
JP2738314B2 (en) Switching system of N + 1 redundant circuit controller
KR0154489B1 (en) Apparatus for receiving/sending ipc message in atm switching system and method thereof
JPH07271654A (en) Controller
JPH0471060A (en) Semiconductor integrated circuit
JP2723245B2 (en) Facsimile storage and switching equipment
JP3799741B2 (en) Bus controller
JP2953362B2 (en) LAN switching device
JP2944193B2 (en) Data receiving device
JPH0279640A (en) Data transmission equipment
JPH05130162A (en) Data transfer system
JP2576236B2 (en) Communication method of programmable controller
JPH11196097A (en) Data communication control device and method therefor
JPH1023101A (en) Data transfer interface circuit and data transfer method
JP3594952B2 (en) A link between the central system and the satellite system to perform operations of the central system
JPH03252848A (en) Variable bus width designation/information reception system for split bus
JPH0546564A (en) Message pass system
JPH05136786A (en) Local area network system
JPH06161922A (en) Data transmitter