JPH09289524A - Packet router processor - Google Patents

Packet router processor

Info

Publication number
JPH09289524A
JPH09289524A JP10095096A JP10095096A JPH09289524A JP H09289524 A JPH09289524 A JP H09289524A JP 10095096 A JP10095096 A JP 10095096A JP 10095096 A JP10095096 A JP 10095096A JP H09289524 A JPH09289524 A JP H09289524A
Authority
JP
Japan
Prior art keywords
route information
protocol
packet
processing
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10095096A
Other languages
Japanese (ja)
Other versions
JP3243633B2 (en
Inventor
Mitsuru Maruyama
充 丸山
Takeshi Sanei
武 三栄
Takeshi Ogura
毅 小倉
Naohisa Takahashi
直久 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP10095096A priority Critical patent/JP3243633B2/en
Publication of JPH09289524A publication Critical patent/JPH09289524A/en
Application granted granted Critical
Publication of JP3243633B2 publication Critical patent/JP3243633B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent influence on packet data transfer processing throughput in spite of the increase of containing lines by transferring a route information packet to protocol processing part after reception by means of a line corresponding part, executing a protocol processing, transmitting updating data of route information to a retrieval processing part and updating a route information table. SOLUTION: The protocol processing of the route information is executed with a route information exchange node 14, route information from the route information exchange node 14 is received by the line corresponding part 4 with a communication line 9 and the information is transferred to the protocol processing part 1 by way of connection mechanism 8 through the use of a message transferring means. A route information protocol processing such as BGP and OSPF, etc., is executed in the protocol processing part 1. As a result, when the updating of route information is recognized, the protocol processing part 1 transmit updating data to the retrieval processing part 2 by way of connection mechanism 8 through the use of the message transferring means. The updating data is stored in a route information storing table 3.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、通信システムの中
で、経路情報に関するプロトコル処理と、経路情報に基
づきパケットデータの転送処理を行う パケットルータ
処理装置(以下、単に「ルータ処理装置」ともいう)に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet router processing device (hereinafter, also simply referred to as a "router processing device") for performing a protocol process relating to route information and a packet data transfer process based on the route information in a communication system. ).

【0002】[0002]

【従来の技術】一般に、ルータ処理装置においては、大
別して、 (1)経路情報に関するプロトコル処理 (2)パケットデータの転送処理が行われる。従来のルー
タ処理装置において、(1)の経路情報に関するプロトコ
ル処理は、以下の如く行われる。 (a)回線対応部で経路情報の交換を行う相手ホストか
ら、通信回線を介して経路情報のパケットを受信する。 (b)経路情報に関するプロトコル処理を行う。なお、従
来は、BGP(Border Gateway Protocol),OSPF
(OpenShotest Path First),RIP(Routing Inf
omation Protocol)などが、経路情報用のプロトコルと
して利用されてきた。
2. Description of the Related Art Generally, a router processing device roughly divides (1) a protocol process relating to route information and (2) a packet data transfer process. In the conventional router processing device, the protocol processing relating to the route information (1) is performed as follows. (a) A packet of route information is received via a communication line from a partner host that exchanges route information in the line corresponding unit. (b) Perform protocol processing related to the route information. Note that, in the past, BGP (Border Gateway Protocol), OSPF
(OpenShortest Path First), RIP (Routing Inf
omation Protocol) has been used as a protocol for route information.

【0003】(参考文献:西田著TCP/IPインターネ
ットワーキングISBN4-915778-23-1) (c)プロトコルの処理結果を経路情報格納テーブルに反
映させる。また、従来のルータ処理装置において、(2)
のパケットデータの転送処理は、以下の如く行われる。 (d)回線対応部で通信回線上のパケットを受信し、その
パケットヘッダ部分を抽出する。ヘッダ部分には、宛先
アドレスと送出元アドレスが格納されている。 (e)上の宛先をキーとして経路情報格納テーブルから検
索処理を行い、そのエントリに格納されているゲートウ
ェイアドレスなどの情報を得て、パケットの送出先を決
定する。 (f)送出先が決まったところで、パケットを該送出先に
転送する。
(Reference: TCP / IP Internetworking ISBN 4-915778-23-1 by Nishida) (c) The processing result of the protocol is reflected in the route information storage table. In addition, in the conventional router processing device, (2)
The packet data transfer process is performed as follows. (d) The line corresponding part receives a packet on the communication line and extracts the packet header part. A destination address and a transmission source address are stored in the header part. (e) Search processing is performed from the route information storage table using the above destination as a key, information such as the gateway address stored in the entry is obtained, and the destination of the packet is determined. (f) When the destination is determined, the packet is transferred to the destination.

【0004】[0004]

【発明が解決しようとする課題】上記従来技術において
は、経路情報に関するプロトコル処理およびパケットの
転送制御に関する処理を単一のプロセッサで行っていた
ため、下記の如き問題があった。 (1)経路情報に関するプロトコル処理にCPU時間をと
られ、パケットの転送制御に関する処理が遅延すること
がある。 (2)複数の回線を同時に処理する場合に、特定の回線対
応部の処理およびプロトコル処理にCPU時間をとら
れ、テーブルを検索する処理などが不定期に遅延するこ
とがある。特に、接続された複数の回線がFDDI,B-
ISDNの如く高速になると、この問題が顕著になる。 (3)回線対応部にパケットが入力される毎に割り込みが
上がり、割り込み処理にCPU時間をとられ、システム
全体のリアルタイム性が低下する。接続された複数の回
線がFDDI,B-ISDNの如く高速になると、パケッ
ト間隔が短くなるため、この問題が更に顕著になる。
In the above-mentioned prior art, since the protocol processing relating to the route information and the processing relating to the packet transfer control are carried out by a single processor, there are the following problems. (1) CPU processing may take time for protocol processing related to route information, and processing related to packet transfer control may be delayed. (2) When processing a plurality of lines at the same time, a CPU time is taken for a process of a specific line corresponding part and a protocol process, and a process for searching a table may be delayed irregularly. In particular, the connected multiple lines are FDDI, B-
At high speeds such as ISDN, this problem becomes noticeable. (3) Each time a packet is input to the line interface, an interrupt occurs, and CPU time is taken for interrupt processing, which deteriorates the real-time property of the entire system. This problem becomes more serious when the plurality of connected lines become high speed such as FDDI and B-ISDN because the packet interval becomes short.

【0005】また、回線対応部だけを別のプロセッサで
実行する例もあるが、これにも下記の如き問題があっ
た。 (4)経路情報格納テーブルは、各CPUから共有にアク
セス可能に構成されるが、経路情報に関するプロトコル
処理および複数のパケットの転送処理に関する処理で上
記経路情報格納テーブルがアクセスされるため、競合を
招き、リアルタイム性が低下する。また、プロトコル処
理部においては、更に、下記の如き問題があった。 (5)経路情報を交換する相手が複数になった場合には、
CPU時間をとられる上、更新する経路情報格納テーブ
ルへの更なるアクセスネックも招く結果となる。図5
に、前述の経路情報に関するプロトコル処理の動作例を
示す。図中、縦方向は時間の経過を示しており、それぞ
れの縦線が各部での動作経過時間を示している。図5で
は、連続したパケットデータの転送処理がある場合に、
その途中で経路情報に関するプロトコル処理が入り込ん
だ場合を示している。
There is also an example in which only the line interface is executed by another processor, but this also has the following problems. (4) The route information storage table is configured to be commonly accessible by each CPU. However, since the route information storage table is accessed in the protocol process relating to the route information and the process relating to the transfer process of a plurality of packets, a conflict occurs. Inviting, real-time performance deteriorates. Further, the protocol processing unit has the following problems. (5) If there are multiple parties exchanging route information,
As a result, CPU time is consumed, and a further access neck to the route information storage table to be updated is brought about. FIG.
Shows an operation example of the protocol processing relating to the above-mentioned route information. In the figure, the vertical direction indicates the passage of time, and each vertical line indicates the elapsed operation time of each unit. In FIG. 5, when there is continuous packet data transfer processing,
The case where the protocol processing regarding the route information has entered during the process is shown.

【0006】1つ目のパケットデータの転送処理では、
回線対応部にパケット1が通信回線から取り込まれ、そ
のヘッダ情報を基に検索処理が行われ、得られた転送先
にパケットが送出される。このとき、経路情報に関する
パケットが回線対応部に入ると、経路情報に関するプロ
トコル処理が行われ、その結果、経路情報格納テーブル
の更新が行われる。このため、2つ目のパケットデータ
の転送処理は、経路情報に関するプロトコル処理が終了
するまで待たされてしまう。このように従来のルータ装
置は、経路情報に関するプロトコル処理、および、複数
のパケットの転送制御に関する処理との競合により、高
速なパケット交換データの転送処理を得るのが難かしい
という重大な問題を有する。
In the first packet data transfer process,
The packet 1 is fetched from the communication line to the line interface, a search process is performed based on the header information, and the packet is sent to the obtained transfer destination. At this time, when a packet related to the route information enters the line interface, protocol processing related to the route information is performed, and as a result, the route information storage table is updated. Therefore, the transfer processing of the second packet data is made to wait until the protocol processing regarding the route information is completed. As described above, the conventional router device has a serious problem that it is difficult to obtain a high-speed packet switching data transfer process due to a conflict with a protocol process related to route information and a process related to transfer control of a plurality of packets. .

【0007】また、ファイアウォール,DNS,proxyな
どのネットワークサービス機能を実現するためのネット
ワーク管理処理部は、従来、ワークステーション(WS)
などで構成され、ネットワークを介して、ルータ処理装
置と接続されることが多かった。 (参考文献:“ファイアウォール”Soft BankISBN
4-890528-672-2) このため、接続ネットワーク上のトラブルにより、ネッ
トワーク管理処理部との接続が切断することがあり、こ
れがルータ処理機能に重大な影響を及ぼすことも多かっ
た。本発明は上記事情に鑑みてなされたもので、その目
的とするところは、従来の技術における上述の如き問題
を解消して、収容回線数の増加,転送回線容量の増大,
経路情報交換先の増加を行っても、個々のパケットデー
タの転送処理の能力に影響を及ぼさず、また、ネットワ
ークのサービス性にも優れたパケットルータ処理装置を
提供することにある。
Further, a network management processing unit for realizing network service functions such as a firewall, DNS, and proxy is conventionally a workstation (WS).
Etc., and was often connected to a router processing device via a network. (Reference: "Firewall" Soft BankISBN
4-890528-672-2) For this reason, the connection with the network management processing unit may be disconnected due to a trouble on the connection network, which often has a serious influence on the router processing function. The present invention has been made in view of the above circumstances, and an object of the present invention is to solve the above-mentioned problems in the prior art, to increase the number of accommodated lines, increase the transfer line capacity,
An object of the present invention is to provide a packet router processing device that does not affect the transfer processing capability of individual packet data even if the number of destinations for exchanging route information is increased, and that has excellent network serviceability.

【0008】[0008]

【課題を解決するための手段】本発明の上記目的は、通
信回線上のデータを受取り、また、通信回線上にデータ
を送出する複数の回線対応部と、経路情報に関するプロ
トコルデータの処理を行う複数のプロトコル処理部と、
該プロトコル処理部によるプロトコルデータの処理結果
から得られた経路情報を格納可能な複数の経路情報格納
テーブルと、経路アドレスをキーとして前記経路情報格
納テーブルをアクセスする複数の検索処理部と、前記各
構成要素相互間を結合する結合装置と、前記各構成要素
相互間でメッセージの授受を行うメッセージ転送手段と
パケットデータの授受を行うデータ転送手段とを有する
とともに、前記各構成要素を、独立に動作可能なプロセ
ッサで構成したことを特徴とするパケットルータ処理装
置により達成される。
SUMMARY OF THE INVENTION It is an object of the present invention to process protocol data relating to route information and a plurality of line corresponding units for receiving data on a communication line and transmitting data on the communication line. A plurality of protocol processing units,
A plurality of route information storage tables capable of storing the route information obtained from the processing result of the protocol data by the protocol processing unit; a plurality of search processing units for accessing the route information storage table using the route address as a key; It has a coupling device for coupling the constituent elements to each other, a message transfer means for exchanging messages between the constituent elements and a data transfer means for exchanging packet data, and operates the constituent elements independently. This is achieved by a packet router processing device characterized by being configured with a possible processor.

【0009】[0009]

【発明の実施の形態】本発明に係るパケットルータ処理
装置においては、経路情報に関するプロトコル処理およ
びパケットの転送制御に関する処理を、以下の如く実現
する。なお、各構成要素は、各々別のプロセッサモジュ
ールに割り当てられ、それぞれのプロセッサモジュール
は、結合装置で接続される。また、各プロセッサモジュ
ールには、モジュール相互間でメッセージの授受を行う
メッセージ転送手段と、パケットデータの授受を行うデ
ータ転送手段とが用意されている。 経路情報に関するプロトコル処理は、以下の各部で機能
を分担する。 (1)通信回線のアクセスを行い、データを送受する回線
対応部 (2)経路情報に関するプロトコル処理を行うプロトコル
処理部 (3)得られた最新の経路情報を管理する検索処理部 (4)経路情報を格納する経路情報格納テーブル
BEST MODE FOR CARRYING OUT THE INVENTION In a packet router processing device according to the present invention, protocol processing relating to route information and processing relating to packet transfer control are realized as follows. Each component is assigned to a different processor module, and the processor modules are connected by a coupling device. Further, each processor module is provided with a message transfer means for exchanging messages between the modules and a data transfer means for exchanging packet data. The functions of the protocol processing relating to the route information are shared by the following units. (1) Line-corresponding unit that accesses communication lines and sends / receives data (2) Protocol processing unit that performs protocol processing related to route information (3) Search processing unit that manages the latest obtained route information (4) Route Route information storage table that stores information

【0010】本発明に係るパケットルータ処理装置にお
ける経路情報のプロトコル処理は、回線対応部で経路情
報パケットを受信した後に、その情報を、メッセージ転
送手段を用いてプロトコル処理部に転送し、そこで、経
路情報のプロトコル処理が実行される。この結果得られ
た経路情報の更新データをメッセージ転送手段を用いて
検索処理部に送付し、検索処理部では、経路情報テーブ
ルを更新する。また、請求項2に基づく処理では、経路
情報を交換する相手先が複数ある場合に、相手先毎にそ
れぞれ独立したプロトコル処理部を割り当て、それぞれ
が上記処理を行う。また、請求項3に基づく処理では、
複数の検索処理部および複数の経路情報格納テーブルを
回線対応部毎に割り当て、すべてが同一の上記処理を行
う。
In the protocol processing of the route information in the packet router processing device according to the present invention, after receiving the route information packet in the line corresponding unit, the information is transferred to the protocol processing unit by using the message transfer means, and there, The protocol processing of the route information is executed. The update data of the route information obtained as a result is sent to the search processing unit using the message transfer means, and the search processing unit updates the route information table. Further, in the processing according to claim 2, when there are a plurality of destinations with which the route information is exchanged, independent protocol processing units are assigned to the respective destinations, and each performs the above processing. Further, in the processing according to claim 3,
A plurality of search processing units and a plurality of route information storage tables are assigned to each line corresponding unit, and all the same processing is performed.

【0011】一方、本発明に係るパケットルータ処理装
置におけるパケットの転送制御に関する処理は、以下の
各部で機能を分担する。 (1)通信回線のアクセスを行い、データを授受する回線
対応部 (2)経路情報を検索する検索処理部 (3)検索する情報を格納しておく経路情報格納テーブル 回線対応部で、データパケットを受信した後に、ヘッダ
部分の宛先アドレスを抽出し、そのデータを、メッセー
ジ転送手段を用いて、検索処理部に問い合わせを行うた
めに、転送する。検索処理部では、送られてきた宛先ア
ドレスのデータをキーにして経路情報格納テーブルを検
索して、エントリの探索を行う。
On the other hand, in the processing relating to packet transfer control in the packet router processing device according to the present invention, the following parts share the functions. (1) Line corresponding part that accesses the communication line to send and receive data (2) Search processing part that searches route information (3) Route information storage table that stores the information to be searched Data packet at the line corresponding part After receiving, the destination address of the header portion is extracted, and the data is transferred by using the message transfer means for making an inquiry to the search processing unit. The search processing unit searches the route information storage table by using the sent destination address data as a key to search for an entry.

【0012】エントリには、送出中継アドレス(ゲート
ウェイアドレス)や送出先の回線部の番号やボード番
号,ポート番号に関する情報が含まれている。検索処理
部は、このエントリ情報を、メッセージ転送手段を用い
て、問い合わせのあった回線対応部に送出する。回線対
応部では、得られたエントリ情報を見て、送出先の回線
対応部/ボード番号/ポート番号/が特定できるため、
送出先にデータ転送手段を用いてパケットデータの転送
を行う。また、請求項3に基づく処理では、複数の検索
処理部および複数の経路情報格納テーブルを回線対応部
毎に割り当て、回線対応部毎に、割り当てられた検索処
理部に対して、問い合わせが行われる。
The entry includes information about a transmission relay address (gateway address), a line number of the transmission destination, a board number, and a port number. The search processing unit sends this entry information to the inquired line corresponding unit using the message transfer means. The line interface can identify the line interface / board number / port number / of the transmission destination by looking at the obtained entry information.
The packet data is transferred to the destination using the data transfer means. Further, in the processing according to claim 3, a plurality of search processing units and a plurality of route information storage tables are assigned to each line corresponding unit, and an inquiry is made to the assigned search processing unit for each line corresponding unit. .

【0013】また、請求項4に基づく処理では、ファイ
アウォール,DNS,proxyなどのネットワークサービス
機能を実現するためのネットワーク管理処理を、複数の
サービス処理部において独立に動作させ、ルータ処理と
の高速かつ信頼性の高い転送処理を行う。以下、本発明
の実施例を図面に基づいてより詳細に説明する。図1
は、本発明の一実施例に係るシステム構成図である。図
1において、符号1はプロトコル処理部、2は検索処理
部、3は経路情報を格納する経路情報格納テーブル、
4,5,6,7は回線対応部、8はモジュール相互を接
続する結合機構、9,10,11,12は通信回線、1
3はファイアウォール,DNS,proxyなどのネットワー
クサービス機能を実現するためのネットワーク管理処理
サービス処理部を示している。
Further, in the processing according to claim 4, the network management processing for realizing the network service function such as the firewall, DNS, and proxy is operated independently in the plurality of service processing units, and the high speed processing with the router processing is realized. Performs highly reliable transfer processing. Hereinafter, embodiments of the present invention will be described in more detail with reference to the drawings. FIG.
FIG. 1 is a system configuration diagram according to an embodiment of the present invention. In FIG. 1, reference numeral 1 is a protocol processing unit, 2 is a search processing unit, 3 is a route information storage table for storing route information,
4, 5, 6, 7 are line corresponding parts, 8 is a coupling mechanism for connecting the modules to each other, 9, 10, 11, 12 are communication lines, 1
Reference numeral 3 denotes a network management processing service processing unit for realizing network service functions such as firewall, DNS, and proxy.

【0014】本実施例に示した構成例では、プロトコル
処理部が2つ、検索処理部が2つ、経路情報格納テーブ
ルが2つ、回線対応部が4つ、通信回線が4つ、サービ
ス処理部13が2つの場合を示している。上述のモジュ
ール相互間でメッセージの授受を行うメッセージ転送手
段は、プロトコル処理部1,検索処理部2,回線対応部
4,5,6,7およびサービス処理部13の各部相互間
で実行され、パケットデータの授受を行うデータ転送手
段は、回線対応部4,5,6,7相互間で実行される。
結合機構8は通常のクロスバースイッチなどで構成可能
である。また、プロトコル処理部1,検索処理部2,回
線対応部4,5,6,7およびサービス処理部13の各
モジュールは、プロセッサに結合機構8へのインタフェ
ースを備えた、汎用のワークステーション,パーソナル
コンピュータなどでも実現できる。
In the configuration example shown in this embodiment, there are two protocol processing units, two search processing units, two route information storage tables, four line corresponding units, four communication lines, and service processing. The case where there are two parts 13 is shown. The message transfer means for exchanging messages between the above-mentioned modules is executed among the protocol processing unit 1, the search processing unit 2, the line corresponding units 4, 5, 6, 7 and the service processing unit 13, and packet transfer is performed. A data transfer means for exchanging data is executed between the line corresponding units 4, 5, 6, 7.
The coupling mechanism 8 can be composed of a normal crossbar switch or the like. Further, each module of the protocol processing unit 1, the search processing unit 2, the line corresponding units 4, 5, 6, 7 and the service processing unit 13 is a general-purpose workstation or personal computer in which the processor is provided with an interface to the coupling mechanism 8. It can be realized by a computer.

【0015】経路情報格納テーブル3は、通常のメモリ
などを用いて構成できる。また、通信回線9,10,1
1,12としては FDDI,Ethernet,ATMなどの
通信回線を用いることができる。上述のメッセージ転送
手段は、通常のマルチプロセッサ間のメッセージパッシ
グの機構を用いることで実現でき、データ転送手段は、
DMA転送などの手段が利用可能である。図2中の矢印
Bは、1つの回線対応部にパケットが入力され、他の回
線対応部に転送処理を行う処理を示している。また、同
矢印Aは、外部に接続された経路情報交換ノード14と
の間で経路情報の交換を行う処理を示している。
The route information storage table 3 can be constructed by using an ordinary memory or the like. Also, the communication lines 9, 10, 1
Communication lines such as FDDI, Ethernet, and ATM can be used as 1 and 12. The above-mentioned message transfer means can be realized by using a normal message passing mechanism between multiprocessors, and the data transfer means is
Means such as DMA transfer can be used. An arrow B in FIG. 2 indicates a process in which a packet is input to one line interface and transfer processing is performed to another line interface. Further, the arrow A indicates a process of exchanging route information with the route information exchange node 14 connected to the outside.

【0016】上述の経路情報のプロトコル処理は、経路
情報交換ノード14との間で行い、経路情報交換ノード
14からの経路情報は、通信回線9を介して回線対応部
4で受信し、その情報をメッセージ転送手段を用いて、
結合機構8経由で、プロトコル処理部1に転送する。プ
ロトコル処理部1では、BGPやOSPFなどの経路情
報プロトコル処理が行われる。その結果、経路情報の更
新が確認されると、プロトコル処理部1は、メッセージ
転送手段を用いて、結合機構8経由で、検索処理部2に
更新データを伝える。その更新データは、経路情報格納
テーブル3に格納される。
The above-described protocol processing of the route information is performed with the route information exchange node 14, and the route information from the route information exchange node 14 is received by the line corresponding unit 4 via the communication line 9 and the information is received. Using message transfer means
Transfer to the protocol processing unit 1 via the coupling mechanism 8. In the protocol processing unit 1, a route information protocol such as BGP or OSPF is performed. As a result, when the update of the route information is confirmed, the protocol processing unit 1 transmits the update data to the search processing unit 2 via the coupling mechanism 8 using the message transfer means. The updated data is stored in the route information storage table 3.

【0017】4,5,6,7の各回線対応部では、経路
情報のプロトコル処理を行うべきパケットか、転送すべ
きパケットかを、宛先情報を用いて判断する。すなわ
ち、宛先情報が自分のアドレスであれば経路情報のプロ
トコル処理であり、それ以外は他に転送すべきパケット
とみなすことができる。次に、上述の如く構成された本
実施例の動作を具体的に説明する。図2の矢印Bに示す
如く、回線対応部5でデータパケットを受信した後に、
ヘッダ部分の宛先アドレスを抽出し、それが自アドレス
か否かを判断する。自アドレスでない場合は、他に転送
すべきパケットと判断する。
Each of the line corresponding units 4, 5, 6, and 7 determines whether the packet should be subjected to the protocol processing of the route information or the packet to be transferred by using the destination information. That is, if the destination information is its own address, it is a protocol process of the route information, and other than that can be regarded as a packet to be transferred. Next, the operation of this embodiment configured as described above will be specifically described. As shown by arrow B in FIG. 2, after the data packet is received by the line interface 5,
The destination address of the header part is extracted, and it is judged whether or not it is the own address. If the packet is not the own address, it is determined that the packet should be transferred to another.

【0018】宛先アドレスの情報をメッセージ転送手段
を用いて、問い合わせをするために、結合機構8経由で
検索処理部2に転送する。検索処理部2では、送られて
きた宛先アドレスのデータをキーにして、経路情報格納
テーブル3を検索して、エントリの探索を行う。図3
は、本実施例における経路情報格納テーブル3の具体的
構成の一例を示す図である。エントリには、送出中継ア
ドレス(ゲートウェイアドレス)や送出先の回線部の番号
やボード番号,ポート番号に関する情報が含まれてい
る。
The information of the destination address is transferred to the search processing section 2 via the coupling mechanism 8 for making an inquiry using the message transfer means. The search processing unit 2 searches the route information storage table 3 by using the sent destination address data as a key to search for an entry. FIG.
FIG. 6 is a diagram showing an example of a specific configuration of the route information storage table 3 in this embodiment. The entry includes information on the transmission relay address (gateway address), the line number of the transmission destination, the board number, and the port number.

【0019】使用するアドレスは、例えば、IP(Inte
rnet Protocol)準拠の32bitのアドレス体系を持つも
のとする。ここで、検索アドレスが10.1.2.3であるとす
る。この場合、まず、この経路情報に経路情報格納テー
ブル3に書かれているネットワークマスクをかけること
によって、32bitのアドレス体系中のどこがネットワ
ーク部分かを抽出する。その結果、10.1.0.0のエントリ
部分のマスクが255.255.0.0であるため このマスクを上
述のアドレス10.1.2.3に適用すると、10.1.0.0という結
果が得られて、このエントリと一致することが示され
る。
The address used is, for example, IP (Inte
It shall have a 32-bit address system conforming to rnet Protocol). Here, it is assumed that the search address is 10.1.2.3. In this case, first, by multiplying this route information by the network mask written in the route information storage table 3, it is extracted where in the 32-bit address system is the network portion. As a result, the mask of the entry part of 10.1.0.0 is 255.255.0.0, so when this mask is applied to the above address 10.1.2.3, the result of 10.1.0.0 is obtained, which indicates that this entry matches. .

【0020】次に、上で得られたエントリから、ゲート
ウェイアドレス,回線対応部,ボード番号,ポート番号
の各パラメータを取り出す。この結果、ゲートウェイア
ドレス11.0.0.1,回線対応部6,ボード番号2,ポート
番号1が得られる。検索処理部2は、これらのデータを
検索結果として、メッセージ転送手段を用いて結合機構
8経由で、問い合わせのあった回線対応部5に送出す
る。回線対応部5では、得られたエントリ情報を見て、
送出先の回線対応部/ボード番号/ポート番号が特定で
きるため、データ転送手段を用いて、送出先の回線対応
部6に直接、パケットデータの転送を行う。
Next, the gateway address, line interface, board number, and port number parameters are extracted from the entry obtained above. As a result, the gateway address 11.0.0.1, the line interface 6, the board number 2, and the port number 1 are obtained. The search processing unit 2 sends these data as a search result to the inquired line corresponding unit 5 via the coupling mechanism 8 using the message transfer means. In the line interface 5, looking at the obtained entry information,
Since the line corresponding part / board number / port number of the destination can be specified, the packet data is directly transferred to the line corresponding part 6 of the destination by using the data transfer means.

【0021】回線対応部5からのパケットデータを受信
した回線対応部6では、このデータを通信回線11上に
送出する。図4に、上述の動作説明図を示す。図中、縦
方向は時間の経過を示しており、それぞれの縦線が各部
の動作処理時間の経過を示している。図4に示されてい
る例は、連続して回線対応部5からパケットデータの転
送処理がある場合に、同時に経路情報に関するプロトコ
ル処理が入り込んだ場合の例である。まず、プロトコル
処理部1はシステム初期化を行い、次いで、検索処理部
2,回線対応部4,5,6を起動する。
The line interface 6 having received the packet data from the line interface 5 sends this data to the communication line 11. FIG. 4 shows the above-mentioned operation explanatory diagram. In the figure, the vertical direction indicates the passage of time, and each vertical line indicates the passage of the operation processing time of each unit. The example shown in FIG. 4 is an example in the case where the packet data transfer process is continuously performed from the line interface 5 and the protocol process related to the route information is simultaneously entered. First, the protocol processing unit 1 initializes the system, and then activates the search processing unit 2 and the line corresponding units 4, 5, and 6.

【0022】1つ目のパケットデータ(図中では(1)と
示されている)の転送処理では、回線対応部5にパケッ
ト(1)が通信回線から取り込まれ、そのヘッダ情報を基
にパケットデータ転送であることが判断されると、検索
処理部2にメッセージが送出され、検索処理部2におい
て検索処理が行われる。検索処理部2は得られた結果を
回線対応部5にメッセージ送出し、その結果、回線対応
部5から回線対応部6にパケットデータ転送が行われ
る。
In the transfer processing of the first packet data (denoted as (1) in the figure), the packet (1) is fetched from the communication line to the line interface 5 and the packet information is transferred based on the header information. When it is determined that the data transfer is performed, a message is sent to the search processing unit 2 and the search processing unit 2 performs the search processing. The search processor 2 sends the obtained result to the line interface 5 as a message, and as a result, packet data is transferred from the line interface 5 to the line interface 6.

【0023】また、2つ目のパケットデータの転送処理
も同様に行われるが、機能を分担しているために、パイ
プライン的に連続して動作可能である。なお、前述の如
く、回線対応部5から回線対応部6へのパケットデータ
の転送処理はDMAで行われるため、2つ目のパケット
データの入力処理と並行して行うことができる。また、
1つ目のパケットデータの転送処理と同時に、回線対応
部4に経路情報のパケットが入力されると、この情報
は、メッセージとしてプロトコル処理部1に送出され、
経路情報に関するプロトコル処理部が行われる。
The transfer processing of the second packet data is performed in the same manner, but since the functions are shared, it is possible to continuously operate in a pipeline manner. As described above, since the transfer processing of the packet data from the line interface 5 to the line interface 6 is performed by the DMA, it can be performed in parallel with the input process of the second packet data. Also,
When a packet of route information is input to the line interface 4 at the same time as the transfer processing of the first packet data, this information is sent to the protocol processor 1 as a message,
A protocol processing unit for route information is performed.

【0024】その結果はメッセージとして検索処理部2
に送出され、その結果として、経路情報格納テーブルの
更新が行われる。これらがすべてパケットデータ転送処
理と並列で実行可能である。上記実施例によれば、経路
情報に関するプロトコル処理、および、パケット転送制
御に関する処理を分散して行うことが可能となるため、
前述の下記の如き問題が解消できる。 (1)経路情報に関するプロトコル処理にCPU時間をと
られ、パケットの転送制御に関する処理が遅延すること
がある。
The result is sent as a message to the search processing unit 2
And the route information storage table is updated as a result. All of these can be executed in parallel with the packet data transfer process. According to the above-described embodiment, it is possible to distribute the protocol processing related to the route information and the processing related to the packet transfer control in a distributed manner.
The problems described below can be solved. (1) CPU processing may take time for protocol processing related to route information, and processing related to packet transfer control may be delayed.

【0025】(2)複数の回線を同時に処理する場合に、
特定の回線対応部の処理およびプロトコル処理にCPU
時間をとられ、テーブルを検索する処理などが不定期に
遅延することがある。 (3)回線対応部にパケットが入力される毎に割り込みが
上がり、割り込み処理にCPU時間をとられ、システム
全体のリアルタイム性が低下する。また、複数の検索処
理部,経路情報格納テーブル,プロトコル処理部への分
散動作を行うように構成したことにより、 (4)経路情報格納テーブルは、各CPUから共有にアク
セス可能に構成されるが、経路情報に関するプロトコル
処理および複数のパケットの転送処理に関する処理で上
記経路情報格納テーブルがアクセスされるため、競合を
招き、リアルタイム性が低下する。
(2) When processing a plurality of lines simultaneously,
CPU for specific line processing and protocol processing
It may take time, and the process of searching the table may be delayed irregularly. (3) Each time a packet is input to the line interface, an interrupt occurs, and CPU time is taken for interrupt processing, which deteriorates the real-time property of the entire system. Further, since the distributed operation is performed to the plurality of search processing units, the route information storage table, and the protocol processing unit, (4) the route information storage table is configured to be shared by each CPU. Since the route information storage table is accessed in the protocol process relating to the route information and the process relating to the transfer process of a plurality of packets, competition is caused and real-time performance is deteriorated.

【0026】(5)経路情報を交換する相手が複数になっ
た場合には、CPU時間をとられる上、更新する経路情
報格納テーブルへの更なるアクセスネックも招く結果と
なる。などの問題を解消することができる。更に、ファ
イアウォール,DNS,proxyなどの機能を実現するネッ
トワーク管理処理を、サービス処理部において独立に動
作させることにより、 (6)接続ネットワーク上のトラブルにより、ネットワー
ク管理処理部との接続が切断することがあり、これがル
ータ処理機能に重大な影響を及ぼすことも多かった。と
いう問題も解消することができる。
(5) When there are a plurality of parties to exchange the route information, the CPU time is consumed and a further access neck to the route information storage table to be updated is brought about. It is possible to solve such problems. Furthermore, by operating the network management processing that realizes functions such as firewall, DNS, and proxy independently in the service processing unit, (6) the connection with the network management processing unit is disconnected due to a trouble on the connection network. However, this often had a significant impact on router processing functions. That problem can be solved.

【0027】つまり、上記実施例によれば、これらの結
果に基づき、収容回線数の増加,転送回線容量の増大,
経路情報交換先の増加を行っても、個々のパケットデー
タの転送処理の能力に影響を及ぼさず、また、ネットワ
ークのサービス性にも優れたルータ処理装置を実現でき
ることになる。なお、上記実施例は本発明の一例を示し
たものであり、本発明はこれに限定されるべきものでは
ないことは言うまでもないことである。例えば、経路情
報用のプロトコル,ネットワークサービス機能を実現す
るためのネットワーク管理処理部などは、自由な組み合
わせが可能である。
That is, according to the above embodiment, based on these results, the number of accommodated lines is increased, the transfer line capacity is increased,
Even if the number of destinations for exchanging the route information is increased, it is possible to realize a router processing device that does not affect the transfer processing capability of individual packet data and has excellent network serviceability. It should be noted that the above embodiment is an example of the present invention, and it is needless to say that the present invention is not limited to this. For example, a protocol for route information, a network management processing unit for realizing a network service function, and the like can be freely combined.

【0028】[0028]

【発明の効果】以上、詳細に説明した如く、本発明によ
れば、収容回線数の増加,転送回線容量の増大,経路情
報交換先の増加を行っても、個々のパケットデータの転
送処理の能力に影響を及ぼさず、また、ネットワークの
サービス性にも優れたルータ処理装置を実現できるとい
う顕著な効果を奏するものである。
As described above in detail, according to the present invention, even if the number of accommodated lines, the transfer line capacity, and the number of destinations for exchanging route information are increased, individual packet data transfer processes can be performed. This has a remarkable effect that it is possible to realize a router processing device that does not affect the capability and is excellent in serviceability of the network.

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

【図1】本発明の一実施例に係るシステム構成図であ
る。
FIG. 1 is a system configuration diagram according to an embodiment of the present invention.

【図2】図1に示したシステム構成における、経路情報
に関するプロトコル処理とパケットデータの転送制御に
関する処理を説明するための図である。
FIG. 2 is a diagram for explaining a protocol process regarding route information and a process regarding transfer control of packet data in the system configuration shown in FIG.

【図3】図2に示したシステム構成における動作例で
の、経路情報格納テーブルの動作を説明するための図で
ある。
FIG. 3 is a diagram for explaining an operation of a route information storage table in an operation example in the system configuration shown in FIG.

【図4】実施例の全体的な動作の説明図である。FIG. 4 is an explanatory diagram of the overall operation of the embodiment.

【図5】従来の装置における動作を説明する図である。FIG. 5 is a diagram illustrating the operation of a conventional device.

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

1 プロトコル処理部 2 検索処理部 3 経路情報格納テーブル 4,5,6,7 回線対応部 8 結合機構 9,10,11,12 通信回線 13 サービス処理部 14 経路情報交換ノード 1 Protocol Processing Unit 2 Search Processing Unit 3 Route Information Storage Table 4, 5, 6, 7 Line Corresponding Unit 8 Coupling Mechanism 9, 10, 11, 12 Communication Line 13 Service Processing Unit 14 Route Information Exchange Node

───────────────────────────────────────────────────── フロントページの続き (72)発明者 高橋 直久 東京都新宿区西新宿三丁目19番2号 日本 電信電話株式会社内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Naohisa Takahashi Nippon Telegraph and Telephone Corporation, 3-19-2 Nishishinjuku, Shinjuku-ku, Tokyo

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 通信回線上のデータを受取り、また、通
信回線上にデータを送出する複数の回線対応部と、経路
情報に関するプロトコルデータの処理を行う複数のプロ
トコル処理部と、該プロトコル処理部によるプロトコル
データの処理結果から得られた経路情報を格納可能な複
数の経路情報格納テーブルと、経路アドレスをキーとし
て前記経路情報格納テーブルをアクセスする複数の検索
処理部と、前記各構成要素相互間を結合する結合装置
と、前記各構成要素相互間でメッセージの授受を行うメ
ッセージ転送手段とパケットデータの授受を行うデータ
転送手段とを有するとともに、前記各構成要素を、独立
に動作可能なプロセッサで構成したことを特徴とするパ
ケットルータ処理装置。
1. A plurality of line corresponding units that receive data on a communication line and send data to the communication line, a plurality of protocol processing units that process protocol data relating to route information, and the protocol processing units. Between a plurality of route information storage tables capable of storing the route information obtained from the processing result of the protocol data by the, a plurality of search processing units for accessing the route information storage table by using the route address as a key, and between the respective constituent elements. And a message transfer means for exchanging messages between the respective constituent elements and a data transfer means for exchanging packet data, and each of the constituent elements is a processor capable of operating independently. A packet router processing device characterized by being configured.
【請求項2】 経路情報を交換する相手先が複数ある場
合に、相手先毎に独立した前記プロトコル処理部を割り
当てることを特徴とする請求項1記載のパケットルータ
処理装置。
2. The packet router processing device according to claim 1, wherein when there are a plurality of destinations for exchanging the route information, the independent protocol processing unit is assigned to each destination.
【請求項3】 前記回線対応部単位に、独立に前記検索
処理部および経路情報格納テーブルを割り当てることを
特徴とする請求項1または2記載のパケットルータ処理
装置。
3. The packet router processing device according to claim 1, wherein the search processing unit and the route information storage table are independently assigned to each line corresponding unit.
【請求項4】 前記各構成要素に加え、複数のサービス
処理部を持たせ、ネットワークの管理動作を並列に実行
することを特徴とする請求項1〜3のいずれかに記載の
パケットルータ処理装置。
4. The packet router processing device according to claim 1, wherein a plurality of service processing units are provided in addition to the respective constituent elements, and network management operations are executed in parallel. .
JP10095096A 1996-04-23 1996-04-23 Packet router processing equipment Expired - Fee Related JP3243633B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10095096A JP3243633B2 (en) 1996-04-23 1996-04-23 Packet router processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10095096A JP3243633B2 (en) 1996-04-23 1996-04-23 Packet router processing equipment

Publications (2)

Publication Number Publication Date
JPH09289524A true JPH09289524A (en) 1997-11-04
JP3243633B2 JP3243633B2 (en) 2002-01-07

Family

ID=14287639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10095096A Expired - Fee Related JP3243633B2 (en) 1996-04-23 1996-04-23 Packet router processing equipment

Country Status (1)

Country Link
JP (1) JP3243633B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005064982A (en) * 2003-08-15 2005-03-10 Nippon Telegr & Teleph Corp <Ntt> Terminal device
US7003696B1 (en) 1999-06-08 2006-02-21 Nec Corporation Fault management system for switching equipment
US7801883B2 (en) 2005-01-19 2010-09-21 Samsung Electronics Co., Ltd. Method and apparatus for improving data processing speed through storage of record information of identity module
JPWO2013001578A1 (en) * 2011-06-29 2015-02-23 株式会社日立製作所 Input / output control device and frame processing method of input / output control device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7003696B1 (en) 1999-06-08 2006-02-21 Nec Corporation Fault management system for switching equipment
JP2005064982A (en) * 2003-08-15 2005-03-10 Nippon Telegr & Teleph Corp <Ntt> Terminal device
US7801883B2 (en) 2005-01-19 2010-09-21 Samsung Electronics Co., Ltd. Method and apparatus for improving data processing speed through storage of record information of identity module
JPWO2013001578A1 (en) * 2011-06-29 2015-02-23 株式会社日立製作所 Input / output control device and frame processing method of input / output control device

Also Published As

Publication number Publication date
JP3243633B2 (en) 2002-01-07

Similar Documents

Publication Publication Date Title
US7167474B2 (en) Network relaying apparatus and network relaying method capable of high-speed routing and packet transfer
US6683885B1 (en) Network relaying apparatus and network relaying method
US6798788B1 (en) Arrangement determining policies for layer 3 frame fragments in a network switch
US6032190A (en) System and method for processing data packets
US6157644A (en) Method and apparatus for accelerating OSI layer 3 routers
CN108390833B (en) Software defined network forwarding control method based on virtual domain
JPH05219065A (en) Message routing device
US5434855A (en) Method and apparatus for selective interleaving in a cell-switched network
US6658003B1 (en) Network relaying apparatus and network relaying method capable of high-speed flow detection
US8099515B2 (en) Context switched route look up key engine
US7729362B2 (en) Method and apparatus for processing packet in high speed router
KR100612315B1 (en) Distributed router with ping-pong preventing function and ping-pong preventing method using the same
US7174394B1 (en) Multi processor enqueue packet circuit
JPH10303965A (en) Routing system for router device
US7352748B1 (en) Updating of routing data in a network element
US6671277B1 (en) Network relaying apparatus and network relaying method capable of high quality transfer of packets under stable service quality control
JP3243633B2 (en) Packet router processing equipment
JP3645733B2 (en) Network relay device and network relay method
US7969994B2 (en) Method and apparatus for multiple connections to group of switches
JP2000138684A (en) Atm repeater
US7620042B2 (en) Apparatus and method for inter-processor communications in a multiprocessor routing node
JP3671360B2 (en) Packet router processor
JPS58170155A (en) Packet communication system
EP1126665B1 (en) Source learning for multi-path backplane data switch
JP2004120642A (en) Router apparatus and transfer control method

Legal Events

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

Free format text: PAYMENT UNTIL: 20071026

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081026

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091026

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101026

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101026

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111026

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20111026

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121026

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20121026

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20131026

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees