JPH08102746A - Exchange device, exchange method and semiconductor device - Google Patents

Exchange device, exchange method and semiconductor device

Info

Publication number
JPH08102746A
JPH08102746A JP23823094A JP23823094A JPH08102746A JP H08102746 A JPH08102746 A JP H08102746A JP 23823094 A JP23823094 A JP 23823094A JP 23823094 A JP23823094 A JP 23823094A JP H08102746 A JPH08102746 A JP H08102746A
Authority
JP
Japan
Prior art keywords
data
search
storage means
input
register
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
JP23823094A
Other languages
Japanese (ja)
Inventor
Tetsuo Ogawa
哲男 小川
Takeshi Ueda
岳 上田
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.)
JFE Steel Corp
Original Assignee
Kawasaki Steel 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 Kawasaki Steel Corp filed Critical Kawasaki Steel Corp
Priority to JP23823094A priority Critical patent/JPH08102746A/en
Publication of JPH08102746A publication Critical patent/JPH08102746A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE: To parallelly switch plural data whose storage positions of the identification information of a transmission destinations are different from each other and to improve the exchange efficiency of lines by selecting the line of an identification number retrieved based on the position data of the frame and a required identifier and transmitting reception data. CONSTITUTION: When the data frame of a LAN line 152 is received, an NT 301 transfers a TYPE to an AP 102, selects a channel and sends out communication destination identification information through a DMAC 103. The AP 102 fetches it and generates interruption to a CPU 12h when it is registered and the CPU 121 reads a segment address from the address register of the AP 102, adds '1', writes it in the address register and specifies the port address of the data. Then, connection to an output port read from a memory register is set in an SEU 111, data transfer from the AP 102 to the SEU 111 is set in the DMAC 103 and the write of the data is performed to the SEU 111.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、データフレームを受信
し、そのデータフレームに対応づけられた出力回線を検
索し、検索した出力回線にデータフレームを転送する交
換装置、交換方法、および半導体デバイスに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a switching apparatus, a switching method, and a semiconductor device which receive a data frame, search an output line associated with the data frame, and transfer the data frame to the searched output line. Regarding

【0002】[0002]

【従来の技術】交換装置は、例えばATM網におけるA
TMヘッダのVPIおよびVCI、Ethernetタイプまた
はIEEE802.3のデータフレームにおけるDA
(宛先アドレス)、TCP/IPのIPヘッダに含まれ
るDEST(宛先アドレス)、ISDN回線における相
手のISDN番号などの、送信先を識別するデータに基
づいて受信したデータフレームの送信先を判断し、受信
したデータフレームを転送する。
2. Description of the Related Art A switching device is, for example, an A in an ATM network.
DA in VPI and VCI of TM header, Ethernet type or IEEE802.3 data frame
(Destination address), DEST (destination address) included in the IP header of TCP / IP, the ISDN number of the other party in the ISDN line, etc. are used to determine the destination of the received data frame based on the data for identifying the destination, Transfer the received data frame.

【0003】近年は、複数のネットワークを相互に接続
するインターネットワーキング化が進められている。こ
のため将来は、LAN、電話網、公衆データ通信網等を
1次元化したネットワークに、多様なプロトコルに基づ
くデータフレームを混在する要求が高まると考えられ
る。
In recent years, internetworking for connecting a plurality of networks to each other has been promoted. Therefore, it is considered that in the future, there will be an increasing demand for mixing data frames based on various protocols in a one-dimensional network such as a LAN, a telephone network, and a public data communication network.

【0004】しかしながら、各プロトコルに基づくデー
タフレーム中の送信先を識別するデータの位置は異なる
ので、各プロトコルのデータフレームをそのまま単一の
ネットワーク上に混在させることは出来ない。そこで従
来は、多様なプロトコルのデータフレームを転送する場
合には、そのデータフレームをATMセル等の、単一の
プロトコルのセルに含ませ、当該セルの送信先を識別す
るデータに、前記データフレームの送信先を格納するこ
とにより、データフレームの転送を行っていた。
However, since the position of the data for identifying the destination in the data frame based on each protocol is different, the data frame of each protocol cannot be mixed as it is on a single network. Therefore, conventionally, when transferring data frames of various protocols, the data frame is included in a cell of a single protocol such as an ATM cell, and the data frame is included in the data for identifying the destination of the cell. The data frame was transferred by storing the transmission destination of.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、データ
フレームをATMセル等の他のプロトコルのセルに含ま
せると、ヘッダ等の余剰データが増加する。また、当該
セルの送信先を識別するデータに、前記データフレーム
の送信先を格納する処理が必要なので、交換装置の負荷
が増加する。
However, when a data frame is included in a cell of another protocol such as an ATM cell, surplus data such as a header increases. Further, since the data for identifying the transmission destination of the cell needs to be stored with the transmission destination of the data frame, the load on the switching device increases.

【0006】一方、受信フレームを送出すべき回線の選
択は高速に行う必要があるので、従来は複数のプロトコ
ルに基づくデータフレームをそのまま混在させてスイッ
チングを行うことはできなかった。
On the other hand, since it is necessary to select the line to which the received frame is to be sent out at high speed, conventionally, it was not possible to mix data frames based on a plurality of protocols as they are and perform switching.

【0007】そこで本発明は、送信先の識別情報の格納
位置が異なる複数のプロトコルに基づくデータフレーム
を、並行してスイッチングすることのできる交換装置お
よび交換方法を提供することを目的とする。
Therefore, an object of the present invention is to provide a switching device and a switching method capable of switching in parallel data frames based on a plurality of protocols in which the storage location of the identification information of the transmission destination is different.

【0008】[0008]

【課題を解決するための手段】このような目的を達成す
るために、請求項1に記載の発明は、データフレームを
受信し、当該データフレームに対応づけられた出力回線
に、当該データフレームを転送する交換装置において、
検索データ及び当該検索データに対応づけた回線の識別
番号を格納する格納手段、前記データフレーム中の内部
に取り込むデータの位置を記憶する位置記憶手段、前記
データフレーム中の前記位置のデータを内部に取り込む
取込手段、取り込んだデータ中の前記識別番号の検索に
用いるデータの位置を記憶する検索データ位置記憶手
段、および当該位置記憶手段に格納した位置のデータに
基づいて、前記格納手段から前記識別番号を検索する検
索手段を有する半導体デバイスと、当該半導体デバイス
により検索された前記識別番号の回線から前記データフ
レームを送信する送信手段とを備えたことを特徴とす
る。
In order to achieve such an object, the invention described in claim 1 receives a data frame and sends the data frame to an output line associated with the data frame. In the switching device to transfer,
Storage means for storing the search data and the identification number of the line associated with the search data, position storage means for storing the position of the data to be captured inside the data frame, and data for the position in the data frame inside The fetching means for fetching, the search data position storing means for storing the position of the data used for searching the identification number in the fetched data, and the identification from the storing means based on the data of the position stored in the position storing means. It is characterized by comprising a semiconductor device having a searching means for searching a number and a transmitting means for transmitting the data frame from the line of the identification number searched by the semiconductor device.

【0009】請求項2に記載の発明は、請求項1に記載
の交換装置であって、前記半導体デバイスは、前記位置
記憶手段、および前記検索データ位置記憶手段を複数有
し、各検索データ位置記憶手段が各位置記憶手段に対応
づけられており、いずれの位置記憶手段、および検索デ
ータ位置記憶手段を用いるかの選択に用いるデータの、
前記データフレーム中の場所を記憶する場所記憶手段
と、前記データフレーム中の当該場所のデータに基づい
て、いずれの位置記憶手段、および検索データ位置記憶
手段を用いるかを選択する選択手段とを更に有すること
を特徴とする。
A second aspect of the present invention is the exchange apparatus according to the first aspect, wherein the semiconductor device has a plurality of the position storage means and the search data position storage means, and each search data position. A storage means is associated with each position storage means, and the data used to select which position storage means and search data position storage means is used,
A location storage means for storing a location in the data frame, and a selection means for selecting which location storage means and search data location storage means to use based on the data of the location in the data frame. It is characterized by having.

【0010】請求項3に記載の発明は、請求項2に記載
の交換装置であって、少なくとも1つの前記位置記憶手
段、および当該位置記憶手段に対応づけられた前記検索
データ位置記憶手段は、IPのDESTを含むデータの
位置を記憶し、前記検索データ位置記憶手段は、イーサ
ネットまたはSNAPのTYPEの位置を記憶すること
を特徴とする。
The invention according to claim 3 is the exchange apparatus according to claim 2, wherein at least one of the position storage means and the search data position storage means associated with the position storage means are: It is characterized in that the position of the data including the DEST of the IP is stored, and the search data position storage means stores the position of the TYPE of the Ethernet or SNAP.

【0011】請求項4に記載の発明は、データフレーム
を受信し、当該データフレームに対応づけられた出力回
線に、当該データフレームを転送する交換方法におい
て、検索データ及び当該検索データに対応づけた回線の
識別番号を予め格納し、前記データフレーム中の前記識
別番号の検索に用いるデータのデータ位置を複数記憶
し、いずれのデータ位置を用いるかの選択に用いるデー
タの、前記データフレーム中の場所を記憶し、当該場所
のデータに基づいて、いずれのデータ位置を用いるかを
選択し、選択されたデータ位置のデータに基づいて前記
格納手段から前記識別番号を検索し、当該識別番号の回
線から前記データフレームを送信することを特徴とす
る。
According to a fourth aspect of the present invention, in the exchange method of receiving a data frame and transferring the data frame to the output line associated with the data frame, the retrieval data and the retrieval data are associated with each other. A location in the data frame of the data that stores the line identification number in advance, stores a plurality of data positions of data used for searching the identification number in the data frame, and selects which data position to use Stored in the storage means, select which data position to use based on the data of the location, retrieve the identification number from the storage means based on the data of the selected data location, and then use the line of the identification number. The data frame is transmitted.

【0012】請求項5に記載の発明は、請求項4に記載
の交換方法であって、少なくとも1つの前記データ位置
はIPのDESTを含むデータの位置であり、前記場所
は、イーサネットまたはSNAPのTYPEの場所であ
ることを特徴とする。
[0012] The invention according to claim 5 is the exchange method according to claim 4, wherein at least one of the data positions is a data position including IP DEST, and the position is Ethernet or SNAP. It is a type place.

【0013】請求項6に記載の発明は、検索データ及び
当該検索データに対応づけた出力データを格納する格納
手段と、入力されたデータ列中の内部に取り込むデータ
の位置を記憶する位置記憶手段と、入力されたデータ列
中の前記位置のデータを内部に取り込む取込手段と、取
り込んだデータ中の予め定められた位置のデータに基づ
いて、前記格納手段から前記検索データを検索される検
索手段と、検索された前記検索データに対応づけられた
前記出力データを出力する出力手段とを備えたことを特
徴とする。請求項7に記載の発明は、請求項6に記載の
半導体デバイスであって、前記位置記憶手段、前記取込
手段、および前記検索手段を複数有し、各取込手段およ
び各検索手段が各位置記憶手段に対応づけられており、
いずれの前記位置記憶手段、前記取込手段、および前記
検索手段を用いるかを選択する選択手段を更に備えたこ
とを特徴とする。請求項8に記載の発明は、請求項7に
記載の半導体デバイスであって、前記選択手段は、各位
置記憶手段、各取込手段、および各検索手段に対応づけ
られたデータを格納する選択データ格納手段と、前記選
択データが入力された場合に、入力された選択データに
対応づけられた位置記憶手段、取込手段、および検索手
段を選択することを特徴とする。
According to a sixth aspect of the present invention, storage means for storing the search data and output data associated with the search data, and position storage means for storing the position of the data to be captured inside the input data string are stored. A retrieval means for retrieving the retrieval data from the storage means based on the retrieval means for retrieving the data at the position in the input data string and the data at the predetermined position in the retrieved data. Means and an output means for outputting the output data associated with the retrieved search data. The invention according to claim 7 is the semiconductor device according to claim 6, which has a plurality of the position storing means, the fetching means, and the searching means, each fetching means and each searching means It is associated with the position storage means,
It is characterized by further comprising a selecting means for selecting which of the position storing means, the fetching means and the searching means to use. The invention according to claim 8 is the semiconductor device according to claim 7, wherein the selecting means stores the data associated with each position storing means, each fetching means, and each searching means. It is characterized in that when the selection data is inputted, the data storage means and the position storage means, the fetching means, and the search means associated with the inputted selection data are selected.

【0014】[0014]

【作用】本発明によれば、交換装置は検索データ及び検
索データに対応づけた回線の識別番号、受信するデータ
フレーム中の、送信先回線の識別番号の検索に用いるデ
ータのデータ位置、および、いずれのデータ位置を用い
るかの選択に用いるデータのデータフレーム中の場所を
予め記憶し、データフレームを受信した際に、その場所
のデータに基づいて、いずれのデータ位置を用いるかを
選択し、選択されたデータ位置のデータに基づいて識別
番号を検索し、検索した識別番号の回線から受信したデ
ータフレームを送信する。
According to the present invention, the switching device has the search data and the line identification number associated with the search data, the data position of the data used to retrieve the identification number of the destination line in the received data frame, and Pre-store the location in the data frame of the data used to select which data position to use, when receiving the data frame, based on the data at that location, select which data position to use, The identification number is searched based on the data of the selected data position, and the data frame received from the line of the searched identification number is transmitted.

【0015】一例としては、少なくとも1つのデータ位
置はIPのDESTを含むデータの位置であり、前記場
所はイーサネットまたはSNAPのTYPEの場所であ
る。
As an example, at least one data location is the location of the data containing the IP DEST and the location is the Ethernet or SNAP TYPE location.

【0016】[0016]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0017】[実施例1](1)ネットワークシステムの構成 図1において、10はATM網、11〜17はATM交
換機である。21はATMセルの送受信を行う端末であ
る。31、32は本発明交換装置の一例としてのIWU
(Inter Working Unit)であり、TCP/IPを用いる
LANから受信したデータフレームをATMセルに変換
してATM網10に送信し、またATM網から受信した
ATMセルをTCP/IPのデータフレームに変換して
LANに送信する。22、23、および44〜49はL
AN端末である。
[Embodiment 1] (1) Configuration of network system In FIG. 1, 10 is an ATM network, and 11 to 17 are ATM exchanges. Reference numeral 21 is a terminal for transmitting and receiving ATM cells. Reference numerals 31 and 32 are IWUs as an example of the exchange apparatus of the present invention.
(Inter Working Unit), a data frame received from a LAN using TCP / IP is converted into an ATM cell and transmitted to the ATM network 10, and an ATM cell received from the ATM network is converted into a TCP / IP data frame. And send it to the LAN. 22, 23, and 44 to 49 are L
It is an AN terminal.

【0018】(2)交換装置のハードウエア構成 図2は、IWU32のハードウエアブロック図である。
IWU31も同様の構成を有する。図2において、30
1はネットワークターミネータ(NT)であり、ATM
回線150またはLAN回線152と装置との絶縁、シ
リアル/パラレル変換、およびデータのバッファリング
を行う。NT301はCPUバスおよびデータ転送バス
を有する。CPUバスはCPU121に接続されてい
る。
(2) Hardware Configuration of Switching Device FIG. 2 is a hardware block diagram of the IWU 32.
The IWU 31 has a similar configuration. In FIG. 2, 30
1 is a network terminator (NT), ATM
Isolation between the line 150 or the LAN line 152 and the device, serial / parallel conversion, and data buffering are performed. The NT 301 has a CPU bus and a data transfer bus. The CPU bus is connected to the CPU 121.

【0019】101、102は、本発明半導体デバイス
の一例としてのアドレスプロセッサ(AP)であり、入
力されたデータの検索を行い、予め設定されたシーケン
スに従って検索結果を出力する。AP101はATM回
線側のNTに接続されており、AP102はLAN回線
側のNTに接続されている。本実施例では、NT301
からスイッチングエレメントユニット(SEU)111
にセルデータを転送する場合にアドレスプロセッサ(A
P)101、102を用いる。SEU111から出力さ
れたデータは、AP101、102を介さずに、DMA
C103により直接NT301に転送される。
Reference numerals 101 and 102 denote address processors (AP) as an example of the semiconductor device of the present invention, which searches for input data and outputs a search result in accordance with a preset sequence. AP 101 is connected to NT on the ATM line side, and AP 102 is connected to NT on the LAN line side. In this embodiment, NT301
To Switching element unit (SEU) 111
Address processor (A
P) 101 and 102 are used. The data output from the SEU 111 can be transferred to the DMA without passing through the APs 101 and 102.
It is directly transferred to NT301 by C103.

【0020】103は、ダイレクトメモリアクセスコン
トローラ(DMAC)であり、NT301、AP10
1、102、およびスイッチングエレメントユニット
(SEU)111の間でデータの転送を行う。DMAC
103はCPUバスとデータ転送バスを有し、CPUバ
スはCPU121に接続されている。データ転送バス
は、NT301のデータ転送バス、AP102の入力ポ
ートおよび出力ポート、ならびにSEU111のポート
に接続されている。
Reference numeral 103 denotes a direct memory access controller (DMAC), which is NT301, AP10.
Data is transferred between the first and second switching elements unit (SEU) 111. DMAC
103 has a CPU bus and a data transfer bus, and the CPU bus is connected to the CPU 121. The data transfer bus is connected to the data transfer bus of NT301, the input and output ports of AP102, and the port of SEU111.

【0021】SEU111は、複数のデータポート(単
にポートと呼ぶ)および1つの制御ポートを有し、制御
ポートから入力されたデータに従ってポート間を接続す
る。121は交換装置全体の制御を行うCPU、122
はCPU121が実行するプログラム等を格納するRO
M、123はRAMである。124はタイマー(TIM
ER)であり、設定された時間毎にCPU121に対し
て割り込みを行う。125は交換装置に対する各種の設
定等を入力する入力装置であり、代表的にはキーボード
およびマウスにより構成される。126は、交換装置の
動作状態等を表示する表示装置である。160はネット
ッワークターミネータ301により回線150、152
から絶縁されたデータバスである。170はCPUバス
である。 (3)アドレスプロセッサ(AP)の構成 図3を用いて、本発明半導体デバイスの一例としてのA
P102のハードウエア構成を説明する。本デバイス
は、多くのプログラムと同様に、仕様を明らかにするこ
とにより当業者が容易に生産し、および使用することが
出来るものである。そこで、本デバイスのポート構成、
CAMアレイの構成、およびレジスタ構成等の仕様を以
下に詳述する。なお、AP101の構成は、AP102
の構成と同一である。
The SEU 111 has a plurality of data ports (single
Control port) and one control port
Connect the ports according to the data input from the ports.
You. Reference numeral 121 denotes a CPU that controls the entire exchange apparatus, and 122
Is an RO that stores programs executed by the CPU 121.
M and 123 are RAMs. 124 is a timer (TIM
ER), and to the CPU 121 at every set time.
To interrupt. 125 is various equipment for the exchange device.
It is an input device that inputs constants, etc., typically a keyboard
And mouse. 126 is a replacement device
It is a display device that displays an operating state and the like. 160 is the net
Lines 150 and 152 by the work terminator 301
Data bus isolated from. 170 is a CPU bus
Is. (3) Configuration of address processor (AP) As an example of the semiconductor device of the present invention, FIG.
The hardware configuration of P102 will be described. This device
As with many programs,
Can be easily produced and used by those skilled in the art.
It can be done. So, the port configuration of this device,
Specifications such as CAM array configuration and register configuration
Details are given below. The configuration of AP 101 is AP 102.
The configuration is the same as that of.

【0022】(3-1 )ポート構成 図3に示すように、AP102は入力ポート(INPUT PO
RT)210、出力ポート(OUTPUT PORT )220、およ
びCPUポート230を有する。
(3-1) Port Configuration As shown in FIG. 3, the AP 102 has an input port (INPUT PO
It has an RT) 210, an output port (OUTPUT PORT) 220, and a CPU port 230.

【0023】(3-1-1 )入力ポート 入力ポート210は、検索キーデータを入力するポート
である。ポート幅は32ビットであるが、16ビットま
たは8ビットのみが有効であるように設定することが出
来る。データ(ID:0〜31)は、WRパルスに同期
して入力される必要がある。WRの極正は、正論理また
は負論理に設定することが出来る。
(3-1-1) Input Port The input port 210 is a port for inputting search key data. The port width is 32 bits but can be set so that only 16 or 8 bits are valid. The data (ID: 0 to 31) needs to be input in synchronization with the WR pulse. The extreme positive of WR can be set to positive logic or negative logic.

【0024】図3において、入力ポート210のIPB
USY端子は入力ポートへのデータ入力の可否を示す信
号を出力する端子であって、他のポート(出力ポートま
たはCPUポート)が動作中で入力ポートへのデータ入
力を受け付けないときにLOWが出力される。
In FIG. 3, the IPB of the input port 210
The USY terminal is a terminal that outputs a signal indicating whether data can be input to the input port, and outputs LOW when another port (output port or CPU port) is operating and does not accept data input to the input port. To be done.

【0025】入力ポート210に入力された入力データ
は、予め定義された入力ポートシーケンスに従ってデー
タフォーマッタ211により結合(コンパウンド)さ
れ、32ビットのデータ(コンパランドデータ)にな
る。コンパランドデータに従って検索などの処理が行わ
れる。
The input data input to the input port 210 is combined (compounded) by the data formatter 211 in accordance with a pre-defined input port sequence to become 32-bit data (comparand data). Processing such as search is performed according to the comparand data.

【0026】(3-1-2 )出力ポート 出力ポート(OUTPUT PORT )220は、検索結果等のデ
ータを出力するポートである。データ幅は32ビットで
あるが、16ビットまたは8ビットのみが有効であるよ
うに設定することもできる。出力ポート220のOE端
子にLOWが入力されているときに出力ポート220の
RD端子に対するLOWパルス(RDパルス)が入力さ
れることにより、出力データ(OD)が出力される。
(3-1-2) Output Port The output port (OUTPUT PORT) 220 is a port for outputting data such as search results. The data width is 32 bits, but it can also be set so that only 16 or 8 bits are valid. Output data (OD) is output by inputting a LOW pulse (RD pulse) to the RD terminal of the output port 220 while LOW is input to the OE terminal of the output port 220.

【0027】出力ポート220のOPBUSY端子は、
出力ポートからのデータ出力の可否を示す信号が出力さ
れる端子であり、他のポート(入力ポートまたはCPU
ポート)が動作中で出力ポートからのデータ出力が出来
ないときにLOWが出力される。
The OPBUSY terminal of the output port 220 is
It is a terminal that outputs a signal that indicates whether or not data can be output from the output port, and the other port (input port or CPU
Port) is operating and data cannot be output from the output port, LOW is output.

【0028】(3-1-3 )CPUポート CPUポートは、ホストプロセッサとのインタフェース
用の16ビット入出力データバスである。データ幅は1
6ビット、アドレス幅は8ビットである。アドレスは、
AP内の各種レジスタのアドレスを指定するために用い
られる。CPUポートから、以下の操作を行うことが出
来る。
(3-1-3) CPU Port The CPU port is a 16-bit input / output data bus for interfacing with the host processor. Data width is 1
It has 6 bits and an address width of 8 bits. The address is
It is used to specify the addresses of various registers in the AP. The following operations can be performed from the CPU port.

【0029】(3-1-3-1 )レジスタの読み書き チップ内部の各種レジスタへのデータの書き込みおよび
読み出しを行うことが出来る。
(3-1-3-1) Reading / Writing Registers Data can be written in and read from various registers inside the chip.

【0030】(3-1-3-2 )CAMテーブルの書き込みと
読み出し CAMテーブルの書き込みと読み出しは、Memory_ A
R, Memory_ HHA, およびMemory_ HEAレジスタへ
のアクセスを介して行われる。
(3-1-3-2) Writing to and reading from the CAM table
This is done via access to the R, Memory_HHA, and Memory_HEA registers.

【0031】(3-1-3-3 )各種コマンドの実行 コマンドの実行はコマンドレジスタへ実行命令を書き込
むことにより行われる。例えば、検索実行命令が書き込
まれるとAP102は、CPUの介在を必要とせずに、
定義されたシーケンスに従って入力ポートからデータを
入力し、出力ポートから結果を出力する。検索実行命令
を書き込む前に行われる検索条件の定義もCPUバス2
30から行う。
(3-1-3-3) Execution of various commands Execution of commands is performed by writing execution commands in the command register. For example, when a search execution instruction is written, the AP 102 does not require CPU intervention,
Input data from the input port and output the result from the output port according to the defined sequence. The definition of the search condition performed before writing the search execution instruction is also the CPU bus 2
Start from 30.

【0032】(3-1-3-4 )検索 CPUポートを介して検索を行うこともできる。コマン
ドの実行は、IPコマンドレジスタに対するオペコード
の書き込みによって行う。
(3-1-3-4) Search A search can also be performed via the CPU port. The command is executed by writing an operation code in the IP command register.

【0033】(3-2 )CAMアレーの構成 CAMアレー250は、図4に示すCAM基本ワードを
2048個有する。図4において、エンプティビット2
51は、そのワードに有効なテーブルデータが書き込ま
れているかどうかを示す。有効なデータが書き込まれて
いるときは、0に設定される。ヒット/ミスヒットフラ
グ255は、検索の結果がヒットしたかどうかを示す。
アクセスビット256は、過去の検索においてヒットま
たはミスヒットが有ったか否かを示す。
(3-2) Structure of CAM Array The CAM array 250 has 2048 basic CAM words shown in FIG. In FIG. 4, empty bit 2
51 indicates whether or not valid table data is written in the word. Set to 0 when valid data is being written. The hit / miss hit flag 255 indicates whether or not the search result is a hit.
The access bit 256 indicates whether or not there is a hit or a miss hit in the past search.

【0034】図5を用いて、CAMアレー250の論理
構成を説明する。図5に示すように、CAMアレー25
0はロウ(図5の横の行)×カラム(図5の縦の列)の
論理構成を有する。ロウおよびカラムのサイズは、図5
のセグメント番号ビット253およびバウンダリビット
252により定義される。これらのビットは、AP10
2が実行を開始する前に予め書き込まれる。
The logical configuration of the CAM array 250 will be described with reference to FIG. As shown in FIG. 5, the CAM array 25
0 has a logical configuration of row (horizontal row in FIG. 5) × column (vertical column in FIG. 5). The row and column sizes are shown in Figure 5.
Is defined by the segment number bit 253 and the boundary bit 252 of the. These bits are AP10
2 is pre-written before starting execution.

【0035】図4に示すセグメントビットは3ビットで
あり、000〜111の値によりセグメント番号が示さ
れる。セグメント番号はカラム方向の位置を表す。セグ
メントビットの値が000のワードから111のワード
までがある場合は、テーブルのカラムサイズは8であ
り、セグメントビット253の値が000のワードのみ
がある場合は、テーブルのカラムサイズは1である。こ
のように、セグメントビットに書き込む値により、テー
ブルのカラムサイズが定義される。
The segment bits shown in FIG. 4 are 3 bits, and the value of 000 to 111 indicates the segment number. The segment number represents the position in the column direction. If the segment bit value is from 000 words to 111 words, the table column size is 8, and if the segment bit 253 value is only 000 words, the table column size is 1. . Thus, the column size of the table is defined by the value written in the segment bit.

【0036】セグメントビットが000であるワード
は、CAMテーブルの新しいロウが始まることを示す。
このワードのバウンダリビット(図4参照)には、1を
書き込んでおく。CAMテーブルのカラムサイズnとロ
ウサイズmとは、 n × m ≦ 2048 を満たさなくてはならない。2048−n×mで定義さ
れる余りのワードは使用することが出来ない。検索は、
テーブルのカラム毎に行う。1つのコンパランドデータ
を用いて、同一のカラムにある各セグメント254を1
回参照する。
A word with a segment bit of 000 indicates that a new row in the CAM table begins.
1 is written in the boundary bit (see FIG. 4) of this word. The column size n and the row size m of the CAM table must satisfy n × m ≦ 2048. The remaining words defined by 2048-nxm cannot be used. Search is
Do this for each column of the table. One segment 254 in the same column is used by using one comparand data.
Refer to times.

【0037】テーブルの定義が終了すると、CPUポー
ト230を介して各基本ワードのセグメント254に、
データを書き込むことが出来る。各セグメントに書き込
まれたデータを検索データ(キーデータ)として用いる
か否か、および検索によりヒットした場合に出力するタ
ーゲットデータとして用いるか否かは、CPUポート2
30を介してCPU121により定義される。各セグメ
ントに書き込まれたデータは、キーデータおよびターゲ
ットデータの双方に用いることもできる。また、カラム
毎に異なる数のセグメントを、検索データまたはターゲ
ットデータとして用いることもできる。電源投入後のC
AMテーブルの値は不定なので、CAMの全てのセグメ
ント(2048個のセグメント)にバウンダリビットを
書き込むことによってCAMテーブルを設定する。
When the definition of the table is completed, the segment 254 of each basic word is transferred to the segment 254 of each basic word via the CPU port 230.
You can write data. The CPU port 2 determines whether the data written in each segment is used as search data (key data) and whether it is used as target data to be output when the search hits.
It is defined by the CPU 121 via 30. The data written in each segment can be used as both key data and target data. Also, a different number of segments for each column can be used as search data or target data. C after power on
Since the values in the AM table are indefinite, the CAM table is set by writing the boundary bits in all the segments (2048 segments) of the CAM.

【0038】(3-3 )レジスタの構成 AP102は、コントロールレジスタ、CUTレジス
タ、SEARCHレジスタ、HHAレジスタ、16個の
コンパランドレジスタ、16個のCSレジスタ、16個
のマスクレジスタ、32個のAOCレジスタ、32個の
AOSCレジスタ、Aチャネル選択レジスタ、Bチャネ
ル選択レジスタ、およびアドレスレジスタを有する。C
Sレジスタ、マスクレジスタは、8個づつAチャネルと
Bチャネルとに分けられている。AOCレジスタ、およ
びAOSCレジスタは、16個づつAチャネルとBチャ
ネルとに分けられている。
(3-3) Register Configuration AP 102 is a control register, CUT register, SEARCH register, HHA register, 16 comparand registers, 16 CS registers, 16 mask registers, 32 AOC registers. , 32 AOSC registers, A channel selection register, B channel selection register, and address register. C
The S register and the mask register are divided into 8 channels each for A channel and B channel. The AOC register and the AOSC register are divided into 16 A channels and 16 B channels.

【0039】コントロールレジスタにより入力データの
データ幅を設定する。CUTレジスタにより検索に用い
る入力データを設定する。SEARCHレジスタにより
検索を実行する条件を設定する。HHAレジスタには、
ヒットしたCAMデータのアドレスが格納される。16
個のコンパランドレジスタには、最大16個のコンパラ
ンドデータが格納される。コンパランドレジスタに格納
された任意のコンパランドデータを、CPUポートから
のアペンド命令により、CAMアレイ中の任意のワード
に格納することができる。16個のCSレジスタには、
各検索を行うときにコンパランドデータをシフトするバ
イト数等を設定する。16個のマスクレジスタには、各
コンパランドデータのマスクするビットを設定する。
The data width of the input data is set by the control register. Input data used for search is set by the CUT register. The SEARCH register sets the condition for executing the search. The HHA register has
The address of the hit CAM data is stored. 16
Up to 16 comparand data are stored in each comparand register. Arbitrary comparand data stored in the comparand register can be stored in any word in the CAM array by an append instruction from the CPU port. 16 CS registers,
Set the number of bytes to shift comparand data when performing each search. The masked bits of each comparand data are set in the 16 mask registers.

【0040】各チャネルの16個のAOCレジスタによ
り、出力データのシーケンスを設定する。即ち、1番目
から16番目ののAOCレジスタに設定された出力デー
タが、順に出力ポートから出力される。AOCレジスタ
でCAMテーブルのデータを出力すると定義した場合に
は、そのAOCレジスタに対応するAOSCレジスタに
より、出力するCAMテーブルのセグメント番号を設定
する。Aチャネル選択レジスタおよびBチャネル選択レ
ジスタには、それぞれAチャネルおよびBチャネルを選
択するために用いるデータを格納する。アドレスレジス
タにより、CPUポートからアクセスするCAMのアド
レスを設定する。これらのレジスタの設定内容を、
「(3-4 )入力シーケンスの設定方法」および「(3-5
)出力シーケンスの設定方法」で詳述する。
The 16 AOC registers of each channel set the sequence of output data. That is, the output data set in the 1st to 16th AOC registers are sequentially output from the output port. When it is defined that the CAM table data is output by the AOC register, the segment number of the CAM table to be output is set by the AOSC register corresponding to the AOC register. The A channel selection register and the B channel selection register store data used for selecting the A channel and the B channel, respectively. The address register sets the address of the CAM accessed from the CPU port. The setting contents of these registers are
"(3-4) How to set the input sequence" and "(3-5
) Output sequence setting method ".

【0041】(3-4 )入力シーケンスの設定方法 AP102には、データの入力シーケンス(入力ポート
上のデータの取り込み、コンパランドデータのマスキン
グ等)を2種類(AチャネルおよびBチャネル)設定す
ることが出来る。
(3-4) Input Sequence Setting Method Two types (A channel and B channel) of data input sequences (capture of data on input port, masking of comparand data, etc.) should be set in the AP 102. Can be done.

【0042】各チャネルの入力シーケンスは、最大64
個の入力データに対して設定することが出来る。最大6
4個の入力データの中のどの入力データをAPに取り込
むかを、64ビットのCUTレジスタによって設定す
る。即ち、CUTレジスタの各ビットを各入力データに
対応させ、取り込むデータに対応するビットに1を設定
し、取り込まない入力データに対応するビットに0を設
定する。
The maximum input sequence of each channel is 64.
It can be set for each input data. Up to 6
Which of the four pieces of input data is taken into the AP is set by the 64-bit CUT register. That is, each bit of the CUT register is made to correspond to each input data, 1 is set to the bit corresponding to the fetched data, and 0 is set to the bit corresponding to the non-fetched input data.

【0043】16ビットおよび8ビットの入力データ
は、AP内で結合(コンパウンド)されて最大16個の
32ビット幅データ(コンパランドデータと呼ぶ)とし
て扱われる。32ビットの入力データは、そのまま32
ビット幅のコンパランドデータとして扱われる。コンパ
ランドデータは16個のコンパランドレジスタに格納さ
れる。
The 16-bit and 8-bit input data are combined (compounded) in the AP and treated as a maximum of 16 32-bit width data (called comparand data). 32-bit input data is 32 as is
Handled as bit-width comparand data. The comparand data is stored in 16 comparand registers.

【0044】コンパランドレジスタに取り込んだデータ
の中で、1つのチャネルの入力シーケンスで検索に用い
ることの出来る最大のデータ量は、CAMテーブルの最
大カラムサイズ、即ち8個である。従って有効入力デー
タ幅が32ビット、16ビット、および8ビットの場
合、それぞれ、8個、16個及び32個の入力データを
検索に用いることが出来る。
The maximum amount of data that can be used for a search by the input sequence of one channel among the data taken in the comparand register is the maximum column size of the CAM table, that is, eight. Therefore, when the effective input data width is 32 bits, 16 bits, and 8 bits, 8, 16, and 32 pieces of input data can be used for the search, respectively.

【0045】CUTレジスタによってAPに取り込むと
設定された入力データは、WRパルスに同期して逐次A
P102のアキュムレーションバッファに格納される。
どの入力データがアキュムレーションバッファに格納さ
れたときに検索を実行するかを、64ビットのSEAR
CHレジスタで設定する。即ち、SEARCHレジスタ
の各ビットが64個の入力データの各々に対応し、検索
を実行させる入力データに対応するSEARCHレジス
タのビットを1に設定する。なお、コンパランドレジス
タに4バイトのデータが格納されていないときでも、検
索を実行することが出来る。この場合、データが入力さ
れていないフィールドのコンパランドデータの値は0に
設定される。
The input data set when taken into the AP by the CUT register is sequentially A-synchronized with the WR pulse.
It is stored in the accumulation buffer of P102.
64-bit SEAR which input data should be searched when stored in the accumulation buffer
Set in CH register. That is, each bit of the SEARCH register corresponds to each of 64 input data, and the bit of the SEARCH register corresponding to the input data to be searched is set to 1. The search can be executed even when the 4-byte data is not stored in the comparand register. In this case, the value of the comparand data of the field in which no data is input is set to 0.

【0046】検索を実行する際に、前のコンパランドレ
ジスタに格納されている入力データの1から3バイト
を、検索対象とするコンパランドレジスタにシフトさせ
ることが出来る。各検索を行う時のシフトさせるバイト
数を、CSレジスタの中の2ビットのシフト量フィール
ドに設定する。また、入力データをCAMアレイの中の
何番目のセグメントに対して検索させるかを、CSレジ
スタの中の3ビットのセグメント指定フィールドに設定
する。CSレジスタは各チャネルに8個づつ設けてあ
り、8回の検索のそれぞれについてシフトする量および
検索の対象となるセグメントを設定することが出来る。
シフトを行わないときはシフト量フィールドは、デフォ
ルトのまま0に設定する。
When executing the search, 1 to 3 bytes of the input data stored in the previous comparand register can be shifted to the comparand register to be searched. The number of bytes to be shifted when performing each search is set in the 2-bit shift amount field in the CS register. Further, the 3-bit segment designation field in the CS register is used to set the number of the segment in the CAM array to search for the input data. Eight CS registers are provided for each channel, and the shift amount and the segment to be searched can be set for each of the eight searches.
When the shift is not performed, the shift amount field is set to 0 as the default.

【0047】検索を実行する際にコンパランドデータの
一部をマスクする場合は、その検索に対応するマスクレ
ジスタの、マスクするビットに対応するビットを0に設
定する。マスクしないビットには1を設定する。AP内
では、検索を実行する際にマスクレジスタの値とコンパ
ランドデータとの論理積(AND)を計算することによ
り、マスクされるビットの値を0にマスクする。
When a part of the comparand data is masked when executing the search, the bit corresponding to the bit to be masked in the mask register corresponding to the search is set to 0. Set 1 to the bits that are not masked. In the AP, the value of the masked bit is masked to 0 by calculating the logical product (AND) of the mask register value and the comparand data when executing the search.

【0048】入力シーケンスは、WRパルスの入力によ
り一つずつ進む。また、SQRST端子に対してLOW
パルスが入力されるか、CPUポートからSQRSTコ
マンドが入力されることにより入力シーケンスは先頭に
戻る。
The input sequence advances one by one by inputting a WR pulse. Also, LOW for the SQRST pin
The input sequence returns to the beginning by inputting a pulse or an SQRST command from the CPU port.

【0049】(3-5 )出力シーケンスの設定方法 検索を実行すると、CAMテーブル中のヒットしたデー
タ(入力データと一致したCAMテーブルのデータ)の
レジスタアドレスがHHAレジスタに格納される。複数
のコンパランドデータのAND条件により複数のセグメ
ントに対する検索を行った場合は、ヒットした複数のセ
グメントの最下位のアドレスがHHAレジスタに格納さ
れる。
(3-5) Output Sequence Setting Method When the search is executed, the register address of the hit data in the CAM table (CAM table data that matches the input data) is stored in the HHA register. When a plurality of segments are searched by the AND condition of a plurality of comparand data, the lowest addresses of the plurality of hit segments are stored in the HHA register.

【0050】検索を実行した後に、コンパランドレジス
タ、HHAレジスタ、およびCAMテーブルから、出力
ポートへデータを出力することが出来る。出力するデー
タおよび出力する順序は出力シーケンスで定める。出力
シーケンスは、2種類(AチャネルおよびBチャネル)
設定することが出来る。それぞれのチャネルについて、
以下の設定を行うことが出来る。
After executing the search, data can be output from the comparand register, the HHA register, and the CAM table to the output port. The output data and the output order are determined by the output sequence. Two output sequences (A channel and B channel)
Can be set. For each channel
The following settings can be made.

【0051】16個のコンパランドレジスタ、HHAレ
ジスタ、およびCAMテーブルの中のヒットしたロウの
データの、いずれのデータを出力するかを16個のAO
Cレジスタのそれぞれに設定する。AOCレジスタの設
定により、コンパランドレジスタの値とCAMテーブル
のヒットしたロウのデータの値の論理ORを出力するこ
ともできる。1番目のAOCレジスタに設定されたデー
タから16番目のAOCレジスタに設定されたデータ
が、順に出力ポートから出力される。AOCレジスタ
に、コンパランドレジスタのデータのみを出力するよう
に設定することにより、入力ポート210に入力された
データをそのまま出力ポート220から出力することが
出来る。
Which of the 16 comparand registers, the HHA register, and the data of the hit row in the CAM table is to be output is set to 16 AOs.
Set in each of the C registers. By setting the AOC register, the logical OR of the value of the comparand register and the value of the data of the hit row in the CAM table can be output. The data set in the first AOC register to the data set in the 16th AOC register are sequentially output from the output port. By setting the AOC register to output only the data of the comparand register, the data input to the input port 210 can be output from the output port 220 as it is.

【0052】CAMテーブル中のヒットしたロウの各セ
グメントのデータは、検索に用いたか否かに拘わらず、
任意に出力することが出来る。出力するCAMテーブル
のデータのセグメント番号を、16個のAOCレジスタ
のそれぞれに対応づけられた16個のAOSCレジスタ
に設定する。出力シーケンスは、RDパルスの入力によ
り一つずつ進む。また、SQRST端子に対してLOW
パルスが入力されるか、CPUポートからSQRSTコ
マンドが入力されることにより出力シーケンスは先頭に
戻る。
The data of each segment of the hit row in the CAM table is irrespective of whether it is used for retrieval or not.
It can be output arbitrarily. The segment number of the output CAM table data is set in 16 AOSC registers associated with each of the 16 AOC registers. The output sequence advances one by one by the input of the RD pulse. Also, LOW for the SQRST pin
The output sequence returns to the beginning by inputting a pulse or an SQRST command from the CPU port.

【0053】(3-6 )検索の実行 検索条件の設定が終了した後にSWIOPコマンドを入
力すると、AP(AP)102は入出力モード(IOP
モード)に移行し、入力ポート210からの入力に従っ
て検索を実行する。この場合、入力シーケンスおよび出
力シーケンスのそれぞれについてAチャネルとBチャネ
ルのいずれを用いるかは、CPUポートからのコマンド
により設定される。
(3-6) Execution of search When the SWIOP command is input after the search conditions have been set, the AP (AP) 102 is in the input / output mode (IOP).
Mode), and the search is executed according to the input from the input port 210. In this case, which of the A channel and the B channel is used for each of the input sequence and the output sequence is set by a command from the CPU port.

【0054】検索条件の設定が終了した後にSWIOP
_SELECTコマンドを入力すると、AP(AP)1
02はチャネル選択条件付き入出力モード(IOP_S
ELECTモード)に移行する。この場合、最初に入力
された32ビットのデータを、Aチャネル選択レジスタ
およびBチャネル選択レジスタに格納した値と比較す
る。最初に入力された32ビットのデータが、Aチャネ
ル選択レジスタに格納した値と同一であればAチャネル
を選択し、Bチャネル選択レジスタに格納した値と同一
であればBチャネルを選択する。続いて入力ポート21
0からの入力に従って、選択したチャネルで検索を実行
する。
After setting the search conditions, SWIOP
When you enter the _SELECT command, AP (AP) 1
02 is an input / output mode with a channel selection condition (IOP_S
(ELECT mode). In this case, the initially input 32-bit data is compared with the values stored in the A channel selection register and the B channel selection register. If the initially input 32-bit data is the same as the value stored in the A channel selection register, the A channel is selected, and if it is the same as the value stored in the B channel selection register, the B channel is selected. Then input port 21
Perform a search on the selected channel according to the input from 0.

【0055】(3-7 )CPUポートからの検索 検索データをCPUポート210から入力することもで
きる。入力された検索データはCPU入力レジスタに設
定される。その後SARCHコマンドを入力すると、A
P102は検索を実行する。
(3-7) Search from CPU Port Search data can also be input from the CPU port 210. The input search data is set in the CPU input register. If you then enter the SARCH command, A
P102 executes the search.

【0056】検索結果をCPUポートから出力すること
もできる。ヒットしたCAMデータのアドレスは、HH
Aレジスタから読み取る。Memory_ ARレジスタを読み
出すことにより、アドレスレジスタに設定されたセグメ
ントアドレスのCAMデータを読み出すことが出来る。
The search result can be output from the CPU port. The address of the hit CAM data is HH
Read from A register. The CAM data of the segment address set in the address register can be read by reading the Memory_AR register.

【0057】(4)データフレームの構成 図6を用いて、ATM回線150上で使用されるATM
セルのデータ構成を説明する。図6(A)に示すよう
に、ATMセルは5オクテットのセルヘッダおよび48
オクテットの情報フィールドにより構成される。ユーザ
およびネットワークの間で用いられるUNI(User Net
work Interface)と、ネットワーク間で用いられるNN
I(Network Network Interface )におけるセルヘッダ
の構成を、図6(B)および(C)に示す。
(4) Structure of Data Frame An ATM used on the ATM line 150 will be described with reference to FIG.
The data structure of the cell will be described. As shown in FIG. 6 (A), an ATM cell has a cell header of 5 octets and 48 octets.
It is composed of octet information fields. UNI (User Net) used between users and networks
work interface) and NN used between networks
The structure of the cell header in I (Network Network Interface) is shown in FIGS. 6 (B) and 6 (C).

【0058】図6(B)および(C)において、VPI
はバーチャルパス識別、VCIはバーチャルチャネル識
別である。VPIおよびVCIによりそのセルの送信先
が識別される。VPIとVCIの値は通常、ATMコネ
クションが確立されるときに設定され、ATMコネクシ
ョンが解放されるまで保持される。PTはペイロードタ
イプであり、そのセルの情報フィールドに含まれる情報
がユーザ情報であるか網情報であるかを示す。
In FIGS. 6B and 6C, the VPI
Is a virtual path identification, and VCI is a virtual channel identification. The VPI and VCI identify the destination of the cell. The values of VPI and VCI are usually set when an ATM connection is established and held until the ATM connection is released. PT is a payload type and indicates whether the information contained in the information field of the cell is user information or network information.

【0059】LAN回線152上には、Ethernetタイプ
のデータフレーム又はIEEE802.3のデータフレ
ームが送信される。図7に、Ethernetタイプのデータフ
レームのデータ構成を、図8にIEEE802.3のデ
ータフレームの構成を示す。図7および図8において、
TYPEは各データフレームのDATAフィールドに格
納されるデータのプロトコルを示す。TYPEにより、
例えばIP、ARP、ICMPなどのプロトコルが表示
される。
Ethernet type data frames or IEEE802.3 data frames are transmitted on the LAN line 152. FIG. 7 shows the data structure of the Ethernet type data frame, and FIG. 8 shows the structure of the IEEE802.3 data frame. 7 and 8,
TYPE indicates the protocol of data stored in the DATA field of each data frame. By TYPE,
For example, protocols such as IP, ARP, and ICMP are displayed.

【0060】図9に、DATAフィールドに格納される
データの一例としての、IPデータフレームの構成を示
す。図9においてDESTはデスティネーションアドレ
スであり、このデータフレームの送信先を表示する。
FIG. 9 shows the structure of an IP data frame as an example of data stored in the DATA field. In FIG. 9, DEST is a destination address and indicates the destination of this data frame.

【0061】(5)本実施例におけるAPの初期設定 (5-1 )CAMアレーの設定 図10(A)に、アドレスプロセッサ101のCAMア
レー250の定義(テーブル構成)を示す。交換装置の
電源が投入されたときまたは入力装置125から定義の
変更入力があったときに、CPU121がカラムサイズ
を2に設定する。
(5) Initial Setting of AP in this Embodiment (5-1) Setting of CAM Array FIG. 10A shows the definition (table configuration) of the CAM array 250 of the address processor 101. The CPU 121 sets the column size to 2 when the power of the exchange apparatus is turned on or when the definition change is input from the input device 125.

【0062】各APが接続された受信側の回線で用いら
れるVPIおよびVCIをセグメント0に格納する。図
6に示すようにATMヘッダの上位4オクテット中の下
位4ビットにはVPIおよびVCIが表示されない。ま
た、UNIではATMセルヘッダの上位4ビットにはV
PI、VCIが格納されない。そこで上位4ビットおよ
び下位4ビットには0を格納する。セグメント1にはセ
ルの出力ポート番号を格納する。セルの出力ポート番号
は、本発明の「回線の番号」に該当し、セグメント0の
VPI、VCIは本発明の「番号の検索に用いるデー
タ」に該当する。図10(B)に、アドレスプロセッサ
102のCAMアレー250の定義(テーブル構成)を
示す。カラムサイズは3に設定する。LAN回線152
上では、IPデータフレームと他のデータフレームとが
混在する。そこで、それぞれのデータフレーム中に格納
されている送信先識別情報をセグメント0に格納する。
例えばIPについては、図9に示すDESTをセグメン
ト0に格納する。セグメント1には、その送信先に接続
された回線のポート番号を格納し、セグメント2には、
その送信先に対応づけられたVPI、VCI、PT、C
LPを格納する。また、GFCの初期値を上位4ビット
に格納しておく。PVCではVCIおよびVPIは予め
格納しておき、VCでは呼の設定時にVPI及びVCI
を格納する。ポート番号、VPI、VCIは本発明の
「回線の番号」に該当し、送信先識別情報またはDES
Tは、本発明の「番号の検索に用いるデータ」に該当す
る。なお、1つのATM回線のみが接続されている場合
は、ATM回線のポートを選択する必要がないので、カ
ラムサイズを2に設定し、セグメント1にVPI、VC
Iを格納する。VPI、VCIは論理的な回線の番号で
あり、本発明の「回線の番号」に該当する。
The VPI and VCI used in the receiving side line to which each AP is connected are stored in the segment 0. As shown in FIG. 6, VPI and VCI are not displayed in the lower 4 bits in the upper 4 octets of the ATM header. In UNI, V is set in the upper 4 bits of the ATM cell header.
PI and VCI are not stored. Therefore, 0 is stored in the upper 4 bits and the lower 4 bits. The output port number of the cell is stored in segment 1. The output port number of the cell corresponds to the "line number" of the present invention, and the VPI and VCI of the segment 0 correspond to the "data used for searching the number" of the present invention. FIG. 10B shows the definition (table configuration) of the CAM array 250 of the address processor 102. Set the column size to 3. LAN line 152
Above, IP data frames and other data frames are mixed. Therefore, the destination identification information stored in each data frame is stored in the segment 0.
For example, for IP, DEST shown in FIG. 9 is stored in segment 0. In segment 1, the port number of the line connected to the destination is stored, and in segment 2,
VPI, VCI, PT, C associated with the destination
Store the LP. Also, the initial value of GFC is stored in the upper 4 bits. In PVC, VCI and VPI are stored in advance, and in VC, VPI and VCI are set when a call is set up.
To store. The port number, VPI, and VCI correspond to the “line number” of the present invention, and the destination identification information or DES
T corresponds to the "data used for number search" of the present invention. When only one ATM line is connected, it is not necessary to select the ATM line port, so the column size is set to 2 and VPI and VC are set for segment 1.
Store I. VPI and VCI are logical line numbers and correspond to the "line number" of the present invention.

【0063】(5-2)AP101の入力シーケンスの設
定 CPU121はAチャネルの入力シーケンスを選択し、
コントロールレジスタにより、入力データの有効データ
幅をNTの出力データの幅と同一の8ビットに設定す
る。VPIおよびVCIは、APに転送するATMセル
の第1オクテットから第4オクテットに表示される。そ
こでCPU121は、それらのオクテットに対応する、
CUTレジスタの第0ビットから第3ビットを1に設定
し他のビットを0に設定する。CUTレジスタは、本発
明における位置記憶手段に対応する。第1オクテットか
ら第4オクテットの4バイトのデータは、AP内で結合
されて1つ目のコンパランドデータとなりコンパランド
レジスタに格納される。
(5-2) Setting of input sequence of AP 101 The CPU 121 selects the input sequence of A channel,
The control register sets the effective data width of the input data to 8 bits, which is the same as the width of the NT output data. The VPI and VCI are displayed in the first to fourth octets of the ATM cell transferred to the AP. So the CPU 121 corresponds to those octets,
The 0th bit to the 3rd bit of the CUT register are set to 1 and the other bits are set to 0. The CUT register corresponds to the position storage means in the present invention. The 4-byte data of the first octet to the fourth octet is combined in the AP to become the first comparand data and stored in the comparand register.

【0064】次にSEARCHレジスタの第3ビットを
1に設定し他のビットを0に設定する。これにより、第
3ビットに対応する4番目の入力データが入力されたと
きに検索が実行される。SEARCHレジスタは、本発
明における検索データ位置記憶手段に対応する。上位4
ビットおよび下位4ビットは検索に用いない。そこで1
番目の検索に対応するマスクレジスタ(1番目のマスク
レジスタ)の上位4ビット及び下位4ビットを0に設定
し、他のビットを1に設定する。
Next, the third bit of the SEARCH register is set to 1 and the other bits are set to 0. Thereby, the search is executed when the fourth input data corresponding to the third bit is input. The SEARCH register corresponds to the search data position storage means in the present invention. Top 4
Bits and lower 4 bits are not used for searching. There 1
The upper 4 bits and the lower 4 bits of the mask register (first mask register) corresponding to the th search are set to 0, and the other bits are set to 1.

【0065】(5-3)AP102の入力シーケンスの設
定 AチャネルにIPに対する入力シーケンスを設定し、B
チャネルに他のプロトコルのデータフレームに対する入
力シーケンスを設定する。CPU121は、Aチャネル
およびBチャネルのCUTレジスタに、AP101に対
する入力シーケンスと同様に、データフレームの先頭か
ら各種プロトコルの送信先識別情報が格納され得る範囲
までを示すデータを設定する。また、Aチャネルの入力
シーケンスを選択し、DESTの格納されている最後の
バイトのデータ位置をSEARCHレジスタに設定す
る。同様に、他のプロトコルに基づく送信先識別情報の
中の最後のバイトの位置をBチャネルのSEARCHレ
ジスタに設定する。
(5-3) Setting the input sequence of AP 102 Set the input sequence for IP on channel A, and set B
Set the input sequence for the data frame of another protocol in the channel. The CPU 121 sets, in the CUT registers of the A channel and the B channel, data indicating the range from the beginning of the data frame to the range where the destination identification information of various protocols can be stored, similar to the input sequence for the AP 101. Also, the input sequence of the A channel is selected, and the data position of the last byte where DEST is stored is set in the SEARCH register. Similarly, the position of the last byte in the destination identification information based on another protocol is set in the SEARCH register of the B channel.

【0066】また、EthernetタイプまたはIEEE80
2.3における、IPを示すTYPEの値をAチャネル
選択レジスタに格納し、Bチャネルで用いるプロトコル
を示すTYPEの値をBチャネル選択レジスタに格納す
る。Aチャネル選択レジスタおよびBチャネル選択レジ
スタは、本願発明における選択データ格納手段に該当
し、TYPEは選択データに該当する。各チャネルにつ
いて、AP101と同様に、必要なCSレジスタ及びマ
スクレジスタの設定を行う。
Ethernet type or IEEE80
The TYPE value indicating IP in 2.3 is stored in the A channel selection register, and the TYPE value indicating the protocol used in the B channel is stored in the B channel selection register. The A channel selection register and the B channel selection register correspond to selection data storage means in the present invention, and TYPE corresponds to selection data. For each channel, the necessary CS register and mask register settings are made as in the AP 101.

【0067】(5-4)AP101の出力シーケンスの設
定 Aチャネルの出力シーケンスを選択し、コントロールレ
ジスタにより出力データの有効データ幅をNTの入力デ
ータの幅と同一の8ビットに設定する。本実施例では、
AP101から出力ポートへはデータを出力しないの
で、各AOCレジスタに出力データが無いことを示すデ
ータを設定する。設定が終了すると、CPU121はア
ドレスプロセッサ101にSWIOPコマンドを発行し
て、AP101をIOPモードに遷移させる。
(5-4) Setting of Output Sequence of AP 101 The output sequence of the A channel is selected, and the effective data width of the output data is set to 8 bits which is the same as the width of the input data of NT by the control register. In this embodiment,
Since no data is output from the AP 101 to the output port, data indicating that there is no output data is set in each AOC register. When the setting is completed, the CPU 121 issues a SWIOP command to the address processor 101 to shift the AP 101 to the IOP mode.

【0068】(5-5)AP102の出力シーケンスの設
定 Aチャネルの出力シーケンスを選択し、コントロールレ
ジスタにより出力データの有効データ幅をNTの入力デ
ータの幅と同一の8ビットに設定する。次にAOCレジ
スタにより出力データのシーケンスを設定する。本実施
例では、出力側のネットワークにおけるGFC、VP
I、VCI、PT、及びCLPを出力する。そこで1番
目のAOCレジスタに、CAMデータを出力するように
設定する。出力側のネットワークのVPIおよびVCI
はセグメント2に格納されているので、1番目のAOS
Cレジスタにセグメント2を設定する。これらの設定が
終了すると、CPU121はアドレスプロセッサ102
にSWIOP_SELECTコマンドを発行して、アド
レスプロセッサ102をIOP_SELECTモードに
遷移させる。
(5-5) Setting of Output Sequence of AP 102 The output sequence of the A channel is selected, and the effective data width of the output data is set to 8 bits which is the same as the width of the NT input data by the control register. Next, the sequence of output data is set by the AOC register. In this embodiment, GFC and VP in the output side network
It outputs I, VCI, PT, and CLP. Therefore, the first AOC register is set to output CAM data. VPI and VCI of output network
Is stored in segment 2, so the first AOS
Set segment 2 in the C register. Upon completion of these settings, the CPU 121 causes the address processor 102 to
To issue an SWIOP_SELECT command to cause the address processor 102 to transition to the IOP_SELECT mode.

【0069】(6)交換装置の検索動作 図11を参照して、各APの初期設定が終了し入出力モ
ードに移行した後の、本発明交換機の検索動作を説明す
る。
(6) Search Operation of Switching Device With reference to FIG. 11, the search operation of the exchange of the present invention after the initial setting of each AP is completed and the input / output mode is entered will be described.

【0070】(6-1 )LAN回線152からのデータフ
レームの受信 NT301は、1つのデータフレームが内部のFIFO
に蓄積されると、TYPEをAP102に転送する(S
100)。そのデータフレームがIPデータフレームで
ある場合は(S110)、転送されたデータ(TYP
E)の値はAチャネル選択レジスタに格納されたデータ
の値と同一なので、AP102はAチャネルを選択する
(S120)。TYPEの値がBチャネルに格納したデ
ータ値と同一であれば、AP102はBチャネルを選択
する(S130)。続けてNT301は、受信したデー
タフレームの先頭から、各種プロトコルのデータフレー
ムの送信先識別情報が含まれ得る範囲までのデータを、
AP102に転送するように、DMAC103に要求す
る。DMAC103は、NT301のデータ転送バスに
アドレス信号(ADR)、リード信号(RD)およびチ
ップセレクト信号(CS)を出力してデータを読み込
み、AP102の入力ポートに対してライト信号(W
T)を出力してデータを書き込むことによりデータを転
送する(S140)。
(6-1) Reception of data frame from LAN line 152 In NT301, one data frame is an internal FIFO
When it is stored in the AP, the TYPE is transferred to the AP 102 (S
100). If the data frame is an IP data frame (S110), the transferred data (TYP
Since the value of E) is the same as the value of the data stored in the A channel selection register, the AP 102 selects the A channel (S120). If the TYPE value is the same as the data value stored in the B channel, the AP 102 selects the B channel (S130). Subsequently, the NT 301 sends data from the beginning of the received data frame to the range in which the destination identification information of the data frame of various protocols can be included,
Request the DMAC 103 to transfer to the AP 102. The DMAC 103 outputs the address signal (ADR), the read signal (RD) and the chip select signal (CS) to the data transfer bus of the NT 301 to read the data, and the write signal (W to the input port of the AP 102.
Data is transferred by outputting T) and writing the data (S140).

【0071】AP102は入出力モードに遷移している
ので、入力ポートからWT信号が入力されると、予め設
定さている入力シーケンスに従って入力ポート上のデー
タを読み込んで検索を行う。AP102は、転送された
データの中からチャネルAまたはチャネルBの入力シー
ケンスに従って、送信先識別情報を取り込む。入力され
たデータフレームの送信先識別情報(IPではDEST
に対応する)がAP102に登録されていれば、AP1
02は検索によりそのロウを発見し、CPU121に対
して割り込みを発生する。割り込みが発生すると(S1
50)、CPU121は、AP102のアドレスレジス
タのHHAレジスタからヒットしたセグメントのセグメ
ントアドレスを読み込む(S160)。次に読み込んだ
セグメントアドレスに1を加えた値をAP102のアド
レスレジスタに書き込むことにより、ヒットしたデータ
のポートアドレスを指定する(S170)。次にMemory
_Rレジスタから出力ポートの値を読み込み(S18
0)、そのAPが接続されたポートから読み込んだ出力
ポートへの接続をSEU111に対して設定する(S1
90)。
Since the AP 102 has transitioned to the input / output mode, when the WT signal is input from the input port, the data on the input port is read according to a preset input sequence to perform a search. The AP 102 takes in the destination identification information from the transferred data according to the input sequence of the channel A or the channel B. Destination identification information of the input data frame (DEST in IP
(Corresponding to) is registered in AP102, AP1
02 finds the row by searching and issues an interrupt to the CPU 121. When an interrupt occurs (S1
50), the CPU 121 reads the segment address of the hit segment from the HHA register of the address register of the AP 102 (S160). Then, the value obtained by adding 1 to the read segment address is written in the address register of the AP 102 to specify the port address of the hit data (S170). Then Memory
The value of the output port is read from the _R register (S18
0), the connection from the port to which the AP is connected to the read output port is set to the SEU 111 (S1)
90).

【0072】(6-2 )ATM回線150へのデータフレ
ームの送信 次にCPU121は、AP102からSEU111への
4バイトのデータ転送をDMAC103に設定する(S
210)。DMAC103は、AP102の出力ポート
220にアウトプットイネーブル信号(OE)およびR
Dを出力してデータを読み出し、SEU111にCSお
よびWRを出力してデータを書き込むことにより、デー
タの転送を行う。
(6-2) Transmission of data frame to ATM line 150 Next, the CPU 121 sets 4-byte data transfer from the AP 102 to the SEU 111 in the DMAC 103 (S
210). The DMAC 103 outputs the output enable signal (OE) and R to the output port 220 of the AP 102.
Data is transferred by outputting D and reading the data and outputting CS and WR to the SEU 111 and writing the data.

【0073】AP102は、出力ポートにRD信号が入
力されると、予め定められた出力シーケンスに従って出
力ポートからデータを出力する。即ち、セグメント2に
格納された出力側の回線のVPIおよびVCIを8ビッ
ト毎に出力する。APからの4バイトのデータ転送が終
了すると、DMAC103はCPU121に対して割り
込みを発生する。すると、CPU121は、続けてNT
301からSEU111に対する48バイトのデータ転
送を設定する(S220)。
When the RD signal is input to the output port, AP 102 outputs data from the output port according to a predetermined output sequence. That is, the VPI and VCI of the line on the output side stored in the segment 2 are output every 8 bits. When the 4-byte data transfer from the AP is completed, the DMAC 103 issues an interrupt to the CPU 121. Then, the CPU 121 continues to NT
The data transfer of 48 bytes from 301 to SEU111 is set (S220).

【0074】SEU111に入力されたセルデータは、
出力側のポートに転送され、出力側のポートのDMAC
103により出力側のポートのNT301に転送される
(S230)。出力ポートのNT301は、転送された
データをシリアルデータに変換して出力側のAT網15
0に送出する。S210からS230をLAN回線15
2から受信した全てのデータフレームを転送し終えるま
で繰り返す(S240)。これにより、本交換装置に入
力されたデータフレームの転送を行うことができる。転
送が終了すると、CPU121は、AP102に対して
SQRSTコマンドを発行し、入出力シーケンスを先頭
に戻す(S250)。
The cell data input to the SEU111 is
Transferred to the output side port, DMAC of the output side port
The data is transferred to the output port NT301 by 103 (S230). The output port NT 301 converts the transferred data into serial data and outputs the AT network 15 on the output side.
Send to 0. LAN line 15 from S210 to S230
Repeat until all the data frames received from 2 have been transferred (S240). As a result, the data frame input to the exchange can be transferred. When the transfer is completed, the CPU 121 issues an SQRST command to the AP 102 and returns the input / output sequence to the beginning (S250).

【0075】[その他]実施例1においては、本発明交
換機の一例として、LANおよびATM網を相互に接続
するIWUを用いたが、イーサネットまたはSNAPの
LAN内の交換機にも本発明交換機を適用できることは
いうまでもない。この場合は、送信先のイーサネットま
たはSNAPの回線が接続されたポート番号、または/
および、そのポートで使用する送信先識別情報をアドレ
スプロセッサのターゲットデータとして使用する。送信
先のイーサネットまたはSNAPの接続された回線のポ
ート番号、またはそのポートで使用する送信先識別情報
は、本発明における「回線の番号」に該当する。
[Others] In the first embodiment, an IWU for connecting a LAN and an ATM network to each other was used as an example of the exchange of the present invention, but the exchange of the present invention can also be applied to an exchange in an Ethernet or SNAP LAN. Needless to say. In this case, the port number to which the destination Ethernet or SNAP line is connected, or /
And the destination identification information used at that port is used as the target data of the address processor. The port number of the line connected to the destination Ethernet or SNAP, or the destination identification information used at that port corresponds to the "line number" in the present invention.

【0076】実施例1ではNT301に1データフレー
ムが蓄積されてから送信先の検索を行ったが、受信した
情報を逐次アドレスプロセッサに転送しても良い。この
場合は、CUTレジスタの全てのビットを1に設定し、
受信した全てのデータをAPに取り込む。また、受信す
るデータフレームの先頭から数えた、送信先識別情報の
最後のバイトに対応する、SEARCHレジスタのビッ
トを1に設定する。本十しれによれば、データフレーム
全てを受信しなくても、送信先識別情報が転送された時
点で送信先のポート番号等を検索することができる。従
って、より少ない遅延時間で受信したデータフレームを
スイッチングすることができる。
In the first embodiment, the transmission destination is searched after one data frame is stored in the NT 301, but the received information may be sequentially transferred to the address processor. In this case, set all bits in the CUT register to 1,
All the received data is taken into AP. Further, the bit of the SEARCH register corresponding to the last byte of the destination identification information counted from the beginning of the received data frame is set to 1. According to this tenth aspect, the port number or the like of the transmission destination can be searched at the time when the transmission destination identification information is transferred without receiving all the data frames. Therefore, the received data frame can be switched with a smaller delay time.

【0077】[0077]

【発明の効果】以上の説明から明らかなように、本発明
によれば、検索データ、検索データに対応づけた回線の
識別番号、受信するデータフレーム中の送信先回線の識
別番号の検索に用いるデータのデータ位置、および、デ
ータ位置に対応づけたデータを予め記憶するので、デー
タフレームを受信した際に、その中の一部のデータに基
づいて、いずれのデータ位置を用いるかを選択すること
ができる。更に、選択されたデータ位置のデータに対応
づけられた識別番号を検索し、検索した識別番号の回線
から受信したデータフレームを送信することができる。
このため、本発明交換機及び交換方法によれば、送信先
の識別情報の格納位置が異なる複数のプロトコルに基づ
く複数のデータフレームを、スイッチングすることがで
きる。
As is apparent from the above description, according to the present invention, the search data, the identification number of the line associated with the search data, and the identification number of the destination line in the received data frame are used. Since the data position of the data and the data associated with the data position are stored in advance, when the data frame is received, it is possible to select which data position to use based on a part of the data in the data frame. You can Furthermore, it is possible to retrieve the identification number associated with the data at the selected data position and transmit the data frame received from the line of the retrieved identification number.
Therefore, according to the exchange and the exchange method of the present invention, it is possible to switch a plurality of data frames based on a plurality of protocols in which the storage location of the identification information of the transmission destination is different.

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

【図1】本発明ネットワークシステムの構成を示す説明
図である。
FIG. 1 is an explanatory diagram showing a configuration of a network system of the present invention.

【図2】本発明交換機のハードウエアブロック図であ
る。
FIG. 2 is a hardware block diagram of the exchange of the present invention.

【図3】アドレスプロセッサ(AP)のハードウエアブ
ロック図である。
FIG. 3 is a hardware block diagram of an address processor (AP).

【図4】CAM基本ワードの構成を示す説明図である。FIG. 4 is an explanatory diagram showing a structure of a CAM basic word.

【図5】CAMアレイの構成を示す説明図である。FIG. 5 is an explanatory diagram showing a configuration of a CAM array.

【図6】ATMセルの構成を示す説明図である。FIG. 6 is an explanatory diagram showing the structure of an ATM cell.

【図7】Ethernetタイプのデータフレームの構成を示す
説明図である。
FIG. 7 is an explanatory diagram showing a configuration of an Ethernet type data frame.

【図8】IEEE802.3のデータフレームの説明図
である。
FIG. 8 is an explanatory diagram of an IEEE 802.3 data frame.

【図9】IPデータフレームの説明図である。FIG. 9 is an explanatory diagram of an IP data frame.

【図10】AP102のCAMアレイの設定を示す説明
図である。
FIG. 10 is an explanatory diagram showing setting of the CAM array of the AP 102.

【図11】本発明交換装置による検索動作を示すフロー
チャートである。
FIG. 11 is a flowchart showing a search operation by the exchange apparatus of the present invention.

【符号の説明】 10 ATM網 11〜17 ATM交換機 21〜24 端末 31、32 IWU 44〜46 LAN端末 101、102 アドレスプロセッサ(AP) 103 ダイナミックメモリアクセスコントローラ(D
MAC) 104 バスアービタ 111 スイッチングエレメントユニット(SEU) 121 CPU 122 ROM 123 RAM 124 タイマー 125 入力装置 126 表示装置 131〜134 アドレスプロセッサ 150 ATM回線 152 LAN回線 160 データバス 170 CPUバス 210 入力ポート 211 データフォーマッター 212 入力ポートシーケンサ 220 出力ポート 222 出力ポートシーケンサ 230 CPUポート 231 フラグロジック 250 CAMアレー 251 エンプティビット 252 バウンダリビット 253 セグメント番号ビット 254 セグメント 255 ヒット/ミスヒットフラグ 256 アクセスビット 301〜308 ネットワークターミネータ(NT)
[Explanation of Codes] 10 ATM Network 11-17 ATM Switch 21-24 Terminal 31, 32 IWU 44-46 LAN Terminal 101, 102 Address Processor (AP) 103 Dynamic Memory Access Controller (D
MAC) 104 bus arbiter 111 switching element unit (SEU) 121 CPU 122 ROM 123 RAM 124 timer 125 input device 126 display device 131-134 address processor 150 ATM line 152 LAN line 160 data bus 170 CPU bus 210 input port 211 data formatter 212 input Port sequencer 220 Output port 222 Output port sequencer 230 CPU port 231 Flag logic 250 CAM array 251 Empty bit 252 Boundary bit 253 Segment number bit 254 Segment 255 Hit / miss hit flag 256 Access bit 301-308 Network terminator (NT)

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 データフレームを受信し、当該データフ
レームに対応づけられた出力回線に、当該データフレー
ムを転送する交換装置において、 検索データ及び当該検索データに対応づけた回線の識別
番号を格納する格納手段、前記データフレーム中の内部
に取り込むデータの位置を記憶する位置記憶手段、前記
データフレーム中の前記位置のデータを内部に取り込む
取込手段、取り込んだデータ中の前記識別番号の検索に
用いるデータの位置を記憶する検索データ位置記憶手
段、および当該位置記憶手段に格納した位置のデータに
基づいて、前記格納手段から前記識別番号を検索する検
索手段を有する半導体デバイスと、 当該半導体デバイスにより検索された前記識別番号の回
線から前記データフレームを送信する送信手段とを備え
たことを特徴とする交換装置。
1. A switching device that receives a data frame and transfers the data frame to an output line associated with the data frame stores the search data and the identification number of the line associated with the search data. Storage means, position storage means for storing the position of data to be captured inside the data frame, capture means for capturing data at the position in the data frame, and used for searching the identification number in the captured data A search data position storing means for storing the position of the data, and a semiconductor device having a searching means for searching the identification number from the storing means on the basis of the position data stored in the position storing means, and the semiconductor device for searching A transmission means for transmitting the data frame from the line of the identified identification number Exchange apparatus according to claim.
【請求項2】 請求項1に記載の交換装置であって、前
記半導体デバイスは、 前記位置記憶手段、および前記検索データ位置記憶手段
を複数有し、 各検索データ位置記憶手段が各位置記憶手段に対応づけ
られており、 いずれの位置記憶手段、および検索データ位置記憶手段
を用いるかを選択する選択データを入力する手段と、 当該選択データに基づいて、いずれの位置記憶手段、お
よび検索データ位置記憶手段を用いるかを選択する選択
手段とを更に有することを特徴とする交換装置。
2. The exchange apparatus according to claim 1, wherein the semiconductor device has a plurality of the position storage means and a plurality of the search data position storage means, and each search data position storage means has a respective position storage means. And a means for inputting selection data for selecting which position storage means and search data position storage means to be used, and which position storage means and search data position based on the selection data. An exchange apparatus further comprising a selection unit for selecting whether to use a storage unit.
【請求項3】 請求項2に記載の交換装置であって、 少なくとも1つの前記位置記憶手段、および当該位置記
憶手段に対応づけられた前記検索データ位置記憶手段
は、IPのDESTを含むデータの位置を記憶し、 前記選択データは、イーサネットまたはSNAPのTY
PEであることを特徴とする交換装置。
3. The exchange apparatus according to claim 2, wherein at least one of the position storage means and the search data position storage means associated with the position storage means stores data including IP DEST. The location is stored, and the selection data is Ethernet or SNAP TY.
An exchange device characterized by being PE.
【請求項4】 データフレームを受信し、当該データフ
レームに対応づけられた出力回線に、当該データフレー
ムを転送する交換方法において、 検索データ及び当該検索データに対応づけた回線の識別
番号を予め格納し、 前記データフレーム中の前記識別番号の検索に用いるデ
ータのデータ位置を複数記憶し、 いずれのデータ位置を用いるかの選択に用いる選択デー
タを入力し、 当該選択データに基づいて、いずれのデータ位置を用い
るかを選択し、 選択されたデータ位置のデータに対応づけられた前記識
別番号を検索し、 当該識別番号で示される回線から前記データフレームを
送信することを特徴とする交換方法。
4. In a switching method of receiving a data frame and transferring the data frame to an output line associated with the data frame, search data and an identification number of the line associated with the search data are stored in advance. However, a plurality of data positions of data used for searching the identification number in the data frame are stored, selection data used for selecting which data position is used is input, and any data is selected based on the selection data. A switching method comprising selecting whether to use a position, searching for the identification number associated with the data at the selected data position, and transmitting the data frame from the line indicated by the identification number.
【請求項5】 請求項4に記載の交換方法であって、 少なくとも1つの前記データ位置はIPのDESTを含
むデータの位置であり、 前記選択データは、イーサネットまたはSNAPのTY
PEであることを特徴とする交換方法。
5. The exchange method according to claim 4, wherein the at least one data position is a position of data including DEST of IP, and the selected data is TY of Ethernet or SNAP.
An exchange method characterized by being PE.
【請求項6】 検索データ及び当該検索データに対応づ
けた出力データを格納する格納手段と、 入力されたデータ列中の内部に取り込むデータの位置を
記憶する位置記憶手段と、 入力されたデータ列中の前記位置のデータを内部に取り
込む取込手段と、 取り込んだデータ中の予め定められた位置のデータに基
づいて、前記格納手段から前記検索データを検索される
検索手段と、 検索された前記検索データに対応づけられた前記出力デ
ータを出力する出力手段と、を備えたことを特徴とする
半導体デバイス。
6. A storage means for storing search data and output data associated with the search data, a position storage means for storing a position of data to be taken into the input data string, and an input data string. And a retrieval means for retrieving the retrieval data from the storage means on the basis of the data at a predetermined position in the retrieved data, An output device that outputs the output data associated with the search data, the semiconductor device.
【請求項7】 請求項6に記載の半導体デバイスであっ
て、 前記位置記憶手段、前記取込手段、および前記検索手段
を複数有し、 各取込手段および各検索手段が各位置記憶手段に対応づ
けられており、 いずれの位置記憶手段、取込手段、および検索手段を用
いるかを選択する選択データを入力する選択手段を更に
備えたことを特徴とする半導体デバイス。
7. The semiconductor device according to claim 6, comprising a plurality of the position storing means, the fetching means, and the searching means, each fetching means and each searching means in each position storing means. A semiconductor device, which is associated with the semiconductor device, further comprising selection means for inputting selection data for selecting which of the position storage means, the acquisition means, and the search means to be used.
【請求項8】 請求項7に記載の半導体デバイスであっ
て、前記選択手段は、 各位置記憶手段、各取込手段、および各検索手段に対応
づけられたデータを格納する選択データ格納手段と、 前記選択データが入力された場合に、入力された選択デ
ータに対応づけられた位置記憶手段、取込手段、および
検索手段を選択することを特徴とする半導体デバイス。
8. The semiconductor device according to claim 7, wherein the selection means includes selected data storage means for storing data associated with each position storage means, each fetching means, and each search means. A semiconductor device, characterized in that, when the selection data is input, a position storage unit, a loading unit, and a search unit associated with the input selection data are selected.
JP23823094A 1994-09-30 1994-09-30 Exchange device, exchange method and semiconductor device Pending JPH08102746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23823094A JPH08102746A (en) 1994-09-30 1994-09-30 Exchange device, exchange method and semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23823094A JPH08102746A (en) 1994-09-30 1994-09-30 Exchange device, exchange method and semiconductor device

Publications (1)

Publication Number Publication Date
JPH08102746A true JPH08102746A (en) 1996-04-16

Family

ID=17027088

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23823094A Pending JPH08102746A (en) 1994-09-30 1994-09-30 Exchange device, exchange method and semiconductor device

Country Status (1)

Country Link
JP (1) JPH08102746A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5889777A (en) * 1995-10-23 1999-03-30 Nec Corporation Network server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5889777A (en) * 1995-10-23 1999-03-30 Nec Corporation Network server

Similar Documents

Publication Publication Date Title
US5875352A (en) Method and apparatus for multiple channel direct memory access control
US5664116A (en) Buffering of data for transmission in a computer communication system interface
US5778180A (en) Mechanism for reducing data copying overhead in protected memory operating systems
US5740448A (en) Method and apparatus for exclusive access to shared data structures through index referenced buffers
US5535197A (en) Shared buffer switching module
EP0772130B1 (en) Method and apparatus for transmission and processing of virtual commands
US5917821A (en) Look-up engine for packet-based network
JPH08223182A (en) System and method of storage and take-out of routing information
CA2326928C (en) Route lookup engine
JPH09224042A (en) Device and method for packeting and segmenting mpeg packet
US20080013535A1 (en) Data Switch and Switch Fabric
JP2003092598A (en) Packet transferring processor
JPH1127324A (en) Communication controller
JPH06259352A (en) Device for connection of data terminal to communication network
JPH09224041A (en) Device and method for data packing by addition
US5930525A (en) Method and apparatus for network interface fetching initial and data burst blocks and segmenting blocks and scheduling blocks compatible for transmission over multiple virtual circuits
US5495478A (en) Apparatus and method for processing asynchronous transfer mode cells
WO1995014269A1 (en) A high-performance host interface for networks carrying connectionless traffic
JPH08102746A (en) Exchange device, exchange method and semiconductor device
JPH08102744A (en) Exchange, exchange method and network system
JPH08102745A (en) Exchange, exchange method and network system
JPH08102743A (en) Switching device and method
JPH0879261A (en) Atm switching device and method
US6816924B2 (en) System and method for tracing ATM cells and deriving trigger signals
JPH0879262A (en) Semiconductor device for communication

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040608