[go: up one dir, main page]

JP2014230011A - Gateway device and packet communication method - Google Patents

Gateway device and packet communication method Download PDF

Info

Publication number
JP2014230011A
JP2014230011A JP2013106709A JP2013106709A JP2014230011A JP 2014230011 A JP2014230011 A JP 2014230011A JP 2013106709 A JP2013106709 A JP 2013106709A JP 2013106709 A JP2013106709 A JP 2013106709A JP 2014230011 A JP2014230011 A JP 2014230011A
Authority
JP
Japan
Prior art keywords
user data
packet
data packet
gateway device
port
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
JP2013106709A
Other languages
Japanese (ja)
Inventor
和 三村
Kazu Mimura
和 三村
矢野 正
Tadashi Yano
正 矢野
成人 中原
Shigeto Nakahara
成人 中原
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2013106709A priority Critical patent/JP2014230011A/en
Publication of JP2014230011A publication Critical patent/JP2014230011A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

【課題】移動体通信に係るゲートウェイ装置において、リンクアグリゲーションされた複数のインタフェースポート間の負荷をなるべく均等になるようにする。【解決手段】複数のI/Fポートを有する1または複数の回線収容部と、移動体通信におけるユーザ端末に関するユーザデータパケットを処理するパケット処理部と、ユーザデータパケットのルーティング処理を行うスイッチ部とを備えたゲートウェイ装置であって、スイッチ部が、同装置内のパケット処理部が出力するユーザデータパケットに付加されたユーザ端末に対応する情報を抽出し、その情報を用いて出力I/Fポートを決定する。【選択図】 図3PROBLEM TO BE SOLVED: To make the load between a plurality of link-aggregated interface ports as even as possible in a gateway device related to mobile communication. SOLUTION: One or a plurality of line accommodating units having a plurality of I / F ports, a packet processing unit for processing a user data packet relating to a user terminal in mobile communication, and a switch unit for routing a user data packet. The switch unit extracts the information corresponding to the user terminal added to the user data packet output by the packet processing unit in the device, and uses the information to output the output I / F port. To determine. [Selection diagram] Fig. 3

Description

本発明は、ゲートウェイ装置、およびパケット通信方法に係わり、特に、移動体通信システムにおいて、パケットを出力するインタフェースポートの負荷を分散するゲートウェイ装置、およびパケット通信方法に関する。   The present invention relates to a gateway device and a packet communication method, and more particularly to a gateway device and a packet communication method for distributing a load of an interface port that outputs a packet in a mobile communication system.

3GPP(3rd Generation Partnership Project) LTE(Long Term Evolution)/LTE−Advansedや、IEEE(the Institute of Electrical and Electronics Engineers) 802.16mといった規格に代表される移動体通信システムのコアネットワークでは、ユーザ端末の移動先である基地局やユーザが所望するサービス網に向けてのユーザデータパケットは、各ユーザのデータフローごとにIP(Internet Protocol)カプセル化技術を用いて適切に転送される。IPカプセル化のプロトコルには、Mobile IP、GRE(Generic Routing Encapsulation)、GTP(GPRS Tunneling Protocol)などを用いる。コアネットワークの構成要素であるゲートウェイ装置は、このパケット転送を中継し、IPカプセル化のプロトコル変換、適当な装置/ネットワークへのルーティング、課金、トラヒックコントロールなどのゲートウェイ処理を行う。   3GPP (3rd Generation Partnership Project) LTE (Long Term Evolution) / LTE-Advanced, and IEEE (the Institute of Electrical Engineering) Core of mobile communication systems such as IEEE 80 A user data packet destined for a destination base station or a service network desired by a user is appropriately transferred using an IP (Internet Protocol) encapsulation technique for each user data flow. As the IP encapsulation protocol, Mobile IP, GRE (Generic Routing Encapsulation), GTP (GPRS Tunneling Protocol), or the like is used. The gateway device, which is a component of the core network, relays this packet transfer and performs gateway processing such as IP encapsulation protocol conversion, routing to an appropriate device / network, charging, and traffic control.

図1は、移動体通信システムの一例である。システムの詳細については後述するが、ユーザ端末(100−1、100−2)と対向装置107との間の通信に関するユーザデータパケットを、間に存在する基地局(101−1、101−2)とアクセスゲートウェイ装置103、サービス網ゲートウェイ装置105が、上述したIPカプセル化を施して転送することで、ユーザ端末の移動を追従することができる。   FIG. 1 is an example of a mobile communication system. Although details of the system will be described later, user data packets related to communication between the user terminals (100-1, 100-2) and the opposite device 107 are transmitted between the base stations (101-1, 101-2). And the access gateway apparatus 103 and the service network gateway apparatus 105 can perform the movement of the user terminal by performing the above-described IP encapsulation and transferring.

図2は、サービス網ゲートウェイ装置105からアクセスゲートウェイ装置103に向けて出力されたユーザデータパケットである。パケットの先頭には、レイヤ2転送に関わるイーサヘッダ201と、ゲートウェイ装置(GW:Gateway)間のレイヤ3転送に関わるIPヘッダ202が存在する。さらに、IPカプセル化に関する情報を含んだカプセルヘッダ203が存在する。その後ろに、ユーザ端末と対向装置のIPアドレスを含んだIPヘッダ204と、ユーザデータ205が存在する。   FIG. 2 shows a user data packet output from the service network gateway device 105 toward the access gateway device 103. At the head of the packet, there is an ether header 201 related to layer 2 transfer and an IP header 202 related to layer 3 transfer between gateway devices (GW: Gateway). Further, there is a capsule header 203 including information related to IP encapsulation. Behind this are an IP header 204 containing the IP addresses of the user terminal and the opposite device, and user data 205.

ところで、移動体通信システムにおいては、上記ゲートウェイ装置では大量のユーザデータパケットを転送することになる。この対策の1つとして、ゲートウェイ装置においてリンクアグリゲーション技術を適用し、ネットワーク接続される入出力インタフェース(I/F:Interface)ポートの容量拡張を図る。リンクアグリゲーションとは、複数のI/Fポートを集約して、1つのI/Fポートに見せかける技術である。これにより、あるサブネット宛てのパケット出力スループットをリンク速度(たとえば10Gbpsなど)以上に拡張できる。また、I/Fポートの利用効率向上にもつながる。たとえば、3つのI/Fポートを集約した場合に、1つのI/Fポートが故障しても、負荷が66%以下であれば他のI/Fポートが肩代わりすることができ、出力スループットを落とさずに通信することが可能となる。1つを稼働系とし、もう1つを予備系とするような運用形態(すなわち、負荷が50%)よりも、出力スループットと利用効率を高めることができる。   By the way, in the mobile communication system, the gateway device transfers a large amount of user data packets. As one of countermeasures, a link aggregation technique is applied to the gateway device to expand the capacity of an input / output interface (I / F) interface connected to the network. Link aggregation is a technology that aggregates a plurality of I / F ports and makes them appear as one I / F port. Thereby, the packet output throughput addressed to a certain subnet can be expanded to a link speed (for example, 10 Gbps) or more. In addition, the use efficiency of the I / F port is improved. For example, when three I / F ports are aggregated, even if one I / F port fails, if the load is 66% or less, other I / F ports can take over, and output throughput can be reduced. It is possible to communicate without dropping. The output throughput and the utilization efficiency can be improved as compared with the operation mode in which one is an active system and the other is a standby system (that is, the load is 50%).

リンクアグリゲーションにおいて、どのパケットをどのI/Fポートから出力するかを決定するアルゴリズムは装置ベンダごとに異なるが、大きく2つの方式に分けられる。1つは、出力するI/Fポートをパケットごとに順番に選択するラウンドロビン方式である。この方式はI/Fポートごとの負荷は均等化されるが、パケットの順番が入れ替わる場合がある。もう1つは、パケットのヘッダから情報を抽出してハッシュ値を計算し、出力I/Fポートを決定するハッシュ方式である。この方式においてヘッダから抽出する情報は下記の通りである。
・イーサヘッダの送信先/送信元MAC(Media Access Control)アドレス
・IPヘッダの送信先/送信元IPアドレス
・TCP/UDPヘッダの送信先/送信元ポート番号
非特許文献1には、リンクアグリゲーションを適用する際にハッシュ方式によって出力I/Fポートを選択する方法が記載されている。また、特許文献1には、出力I/Fポートを選択する方法として、ハッシュ方式と同様のアルゴリズムを適用する方法が記載されている。具体的には、同一のサブネットに対してパケットを中継可能なゲートウェイを2つ以上設定しておき、ヘッダ情報を用いて関数を計算し、この関数値に基づいて中継に使用するゲートウェイを選択し、そのゲートウェイが接続されているポートからパケットを送信する方法が記載されている。
In link aggregation, an algorithm for determining which packet is output from which I / F port is different for each device vendor, but can be roughly divided into two methods. One is a round robin method in which an output I / F port is selected in order for each packet. In this method, the load for each I / F port is equalized, but the order of packets may be changed. The other is a hash method in which information is extracted from the header of a packet, a hash value is calculated, and an output I / F port is determined. The information extracted from the header in this method is as follows.
• Ether header destination / source MAC (Media Access Control) address • IP header destination / source IP address • TCP / UDP header destination / source port number In Non-Patent Document 1, link aggregation is used. A method of selecting an output I / F port by a hash method when applying is described. Patent Document 1 describes a method of applying an algorithm similar to the hash method as a method of selecting an output I / F port. Specifically, two or more gateways that can relay packets to the same subnet are set, a function is calculated using header information, and a gateway to be used for relaying is selected based on the function value. Describes a method of transmitting a packet from a port to which the gateway is connected.

特開2004−274441号公報JP 2004-274441 A

アラクサラネットワークス株式会社、「AX6700S・AX6600S・AX6300Sソフトウェアマニュアル コンフィグレーションガイドVol.1 AX63S−S001−90(第10版)」、333−334ページ、16.1.5節、2009年12月発行ALAXALA Networks Corporation, “AX6700S / AX6600S / AX6300S Software Manual Configuration Guide Vol.1 AX63S-S001-90 (10th edition)”, pages 333-334, section 16.1.5, issued in December 2009

移動体通信システムでのゲートウェイ装置では、リンクアグリゲーションを適用した際に、上述のラウンドロビン方式を採ることはできない。これは、あるユーザ端末に対するユーザデータパケットの順番が入れ替わると、ユーザに不要な課金を発生させてしまうからである。最低でも、同じユーザ端末に対するユーザデータパケットは、同じI/Fポートから出力されなければならない。   The gateway device in the mobile communication system cannot adopt the above-described round robin method when link aggregation is applied. This is because if the order of user data packets for a certain user terminal is changed, unnecessary charges are generated for the user. At a minimum, user data packets for the same user terminal must be output from the same I / F port.

また、移動体通信システムでのゲートウェイ装置においては、非特許文献1や特許文献1に記載されるハッシュ方式ではI/Fポート間の負荷が偏る可能性が高くなる。上述したように、移動体通信システムにおけるゲートウェイ装置間転送のパケットフォーマットは図2のようになる。出力I/Fポートを決定するハッシュ値の計算には、図2のイーサヘッダ201とIPヘッダ202が抽出対象となる。このとき、あるリンクアグリゲーションされたI/Fポートからのパケット出力を想定すると、イーサヘッダ201の送信先/送信元、IPヘッダの送信元は、ユーザ端末に関わらず同じ値となる。すなわち、IPヘッダ202の送信先の値だけが、ハッシュ値計算の分散に寄与する。ところが、移動体通信システムではゲートウェイ装置の台数は数十台程度に限られるため、計算されるハッシュ値の分散性が悪くなり、その結果出力I/Fポート間の負荷が偏る可能性が高くなる。すなわち、図1のアクセスゲートウェイ装置102とサービス網ゲートウェイ装置105の間でのユーザデータパケットの転送について、各ゲートウェイ装置の出力I/Fポート間の負荷が偏ることになる。負荷の偏りが大きくなると、I/Fポートの利用効率が低下してしまい、装置全体での出力スループットも低下してしまう。また、同じ宛先のパケットは同じI/Fポートから出力されるため、あるゲートウェイ装置に対する出力スループットが1つのリンク速度以下に制限されてしまう。   Further, in a gateway apparatus in a mobile communication system, the hash method described in Non-Patent Document 1 and Patent Document 1 has a high possibility that the load between I / F ports is biased. As described above, the packet format for transfer between gateway apparatuses in the mobile communication system is as shown in FIG. In the calculation of the hash value for determining the output I / F port, the Ethernet header 201 and the IP header 202 in FIG. 2 are extracted. At this time, assuming packet output from a certain link-aggregated I / F port, the destination / source of the Ethernet header 201 and the source of the IP header have the same value regardless of the user terminal. That is, only the destination value of the IP header 202 contributes to the distribution of hash value calculations. However, in the mobile communication system, the number of gateway devices is limited to about several tens, so the dispersibility of the calculated hash value is deteriorated, and as a result, the load between the output I / F ports is likely to be biased. . That is, regarding the transfer of user data packets between the access gateway apparatus 102 and the service network gateway apparatus 105 in FIG. 1, the load between the output I / F ports of the gateway apparatuses is biased. When the load bias increases, the utilization efficiency of the I / F port decreases, and the output throughput of the entire apparatus also decreases. In addition, since packets of the same destination are output from the same I / F port, the output throughput for a certain gateway device is limited to one link speed or less.

本発明は、このような事情に鑑みてなされたものであり、リンクアグリゲーションされた複数のI/Fポート間の負荷をなるべく均等になるようにする方法、及びそれを実現する装置、システムを提供することを目的とする。   The present invention has been made in view of such circumstances, and provides a method for equalizing the load among a plurality of link-aggregated I / F ports as much as possible, and an apparatus and system for realizing the method. The purpose is to do.

本願において開示される発明のうち、代表的なものの概要を簡単に説明すれば、下記の通りである。   Of the inventions disclosed in this application, the outline of typical ones will be briefly described as follows.

複数のI/Fポートを有する1または複数の回線収容部と、移動体通信におけるユーザ端末に関するユーザデータパケットを処理するパケット処理部と、ユーザデータパケットのルーティング処理を行うスイッチ部と、を備えたゲートウェイ装置である。スイッチ部は、パケット処理部から出力されるユーザデータパケットからユーザ端末に対応する情報を抽出し、ユーザ端末に対応する情報を用いてユーザデータパケットを出力する回線収容部とI/Fポートを決定する。   One or a plurality of line accommodating units having a plurality of I / F ports, a packet processing unit that processes user data packets related to user terminals in mobile communication, and a switch unit that performs routing processing of user data packets It is a gateway device. The switch unit extracts information corresponding to the user terminal from the user data packet output from the packet processing unit, and determines a line accommodating unit and an I / F port to output the user data packet using the information corresponding to the user terminal. To do.

本発明によれば、リンクアグリゲーションされた複数のI/Fポート間の出力負荷をなるべく均等にすることができる。   According to the present invention, output loads between a plurality of link-aggregated I / F ports can be made as uniform as possible.

上記した以外の課題、構成及び効果は、以下の実施形態の説明により明らかにされる。   Problems, configurations, and effects other than those described above will be clarified by the following description of embodiments.

本発明を適用する通信システム例の構成図である。It is a block diagram of the example of a communication system to which this invention is applied. 移動体通信システムにおけるゲートウェイ装置間転送のユーザデータパケット構成図の例である。It is an example of the user data packet block diagram of the transfer between gateway apparatuses in a mobile communication system. ゲートウェイ装置のハードウェア構成図の例である。It is an example of the hardware block diagram of a gateway apparatus. スイッチユニットのソフトウェア構成図の例である。It is an example of the software block diagram of a switch unit. パケット処理カードのソフトウェア構成図の例である。It is an example of the software block diagram of a packet processing card. 制御ユニットのソフトウェア構成図の例である。It is an example of the software block diagram of a control unit. 実施例1に係る、サービス網ゲートウェイ装置を設定するシーケンス図の例である。It is an example of the sequence diagram which sets the service network gateway apparatus based on Example 1. FIG. リンクアグリゲーション管理テーブルのデータ構成図の例である。It is an example of a data block diagram of a link aggregation management table. 実施例1に係る、プロトコル管理テーブルのデータ構成図の例である。4 is an example of a data configuration diagram of a protocol management table according to the first embodiment. FIG. 実施例1に係る、対向スイッチ設定要求のメッセージフォーマット図の例である。6 is an example of a message format diagram of a facing switch setting request according to Embodiment 1. FIG. 実施例1、または、実施例3に係る、ルーティングテーブルのデータ構成図の例である。FIG. 10 is an example of a data configuration diagram of a routing table according to the first embodiment or the third embodiment. 実施例1に係る、アクセスゲートウェイ装置にユーザデータパケットを送信するシーケンス図の例である。It is an example of the sequence diagram which transmits a user data packet to the access gateway apparatus based on Example 1. FIG. ユーザ端末情報テーブルのデータ構成図の例である。It is an example of the data block diagram of a user terminal information table. 実施例1に係る、アクセスゲートウェイ装置からユーザデータパケットを受信するシーケンス図の例である。It is an example of the sequence diagram which receives a user data packet from the access gateway apparatus based on Example 1. FIG. 実施例1に係る、制御ユニットにおける設定処理のフローチャートの例である。3 is an example of a flowchart of setting processing in a control unit according to the first embodiment. 実施例1に係る、スイッチユニットにおけるパケット転送処理のフローチャートの例である。6 is an example of a flowchart of packet transfer processing in the switch unit according to the first embodiment. 実施例2に係る、サービス網ゲートウェイ装置を設定するシーケンス図の例である。FIG. 10 is an example of a sequence diagram for setting a service network gateway device according to a second embodiment. 実施例2に係る、ルーティングテーブルのデータ構成図の例である。FIG. 10 is an example of a data configuration diagram of a routing table according to the second embodiment. 実施例2に係る、I/Fポートの負荷に応じて動的に設定された後のルーティングテーブルのデータ構成図の例である。FIG. 10 is an example of a data configuration diagram of a routing table after being dynamically set according to the load of the I / F port according to the second embodiment. 実施例2に係る、アクセスゲートウェイ装置にユーザデータパケットを送信するシーケンス図の例である。FIG. 10 is an example of a sequence diagram for transmitting a user data packet to an access gateway apparatus according to the second embodiment. 実施例2に係る、パケット処理カードが出力するユーザデータパケット構成図の例である。It is an example of the user data packet block diagram which a packet processing card | curd outputs based on Example 2. FIG. 実施例2に係る、スイッチユニットが出力するユーザデータパケット構成図の例である。It is an example of the user data packet block diagram which a switch unit outputs based on Example 2. FIG. 実施例2に係る、I/Fポートの負荷に応じてルーティングテーブルを動的に設定するシーケンス図の例である。FIG. 10 is an example of a sequence diagram for dynamically setting a routing table according to the load of the I / F port according to the second embodiment. 実施例2に係る、I/F統計情報テーブルのデータ構成図の例である。10 is an example of a data configuration diagram of an I / F statistical information table according to Embodiment 2. FIG. 実施例2に係る、パケット処理カードにおけるユーザデータパケット出力処理のフローチャートの例である。12 is an example of a flowchart of user data packet output processing in the packet processing card according to the second embodiment. 実施例2に係る、スイッチユニットにおけるパケット転送処理のフローチャートの例である。10 is an example of a flowchart of packet transfer processing in the switch unit according to the second embodiment. 実施例2に係る、制御ユニットにおけるルーティングテーブル動的設定処理のフローチャートの例である。12 is an example of a flowchart of a routing table dynamic setting process in the control unit according to the second embodiment. 実施例3に係る、サービス網ゲートウェイ装置を設定するシーケンス図の例である。FIG. 10 is an example of a sequence diagram for setting a service network gateway device according to a third embodiment. 実施例3に係る、MACアドレステーブルのデータ構成図の例である。10 is an example of a data configuration diagram of a MAC address table according to Embodiment 3. FIG. 実施例3に係る、アクセスゲートウェイ装置にユーザデータパケットを送信するシーケンス図の例である。FIG. 10 is an example of a sequence diagram for transmitting a user data packet to an access gateway apparatus according to a third embodiment. 実施例3に係る、パケット処理カードが出力するユーザデータパケット構成図の例である。It is an example of the user data packet block diagram which a packet processing card | curd outputs based on Example 3. FIG. 実施例3に係る、スイッチユニットが出力するユーザデータパケット構成図の例である。It is an example of the user data packet block diagram which a switch unit outputs based on Example 3. FIG. 実施例3に係る、パケット処理カードにおけるユーザデータパケット出力処理のフローチャートの例である。12 is an example of a flowchart of user data packet output processing in a packet processing card according to the third embodiment. 実施例3に係る、スイッチユニットにおけるパケット転送処理のフローチャートの例である。12 is an example of a flowchart of packet transfer processing in the switch unit according to the third embodiment.

以下の実施の形態においては便宜上その必要があるときは、複数のセクションまたは実施の形態に分割して説明するが、特に明示した場合を除き、それらはお互い無関係なものではなく、一方は他方の一部または全部の変形例、詳細、補足説明などの関係にある。各実施の形態は、個別で実施してもよいが、組合せて実施してもよい。   In the following embodiments, when it is necessary for the sake of convenience, the description will be divided into a plurality of sections or embodiments. However, unless otherwise specified, they are not irrelevant to each other. Some or all of the modifications, details, supplementary explanations, and the like are related. Each embodiment may be implemented individually or in combination.

また、以下の実施の形態において、要素の数など(個数、数値、量、範囲等を含む)に言及する場合、特に明示した場合及び原理的に明らかに特定の数に限定される場合などを除き、その特定の数に限定されるものではなく、特定の数以上でも以下でもよいものとする。   Also, in the following embodiments, when referring to the number of elements (including the number, numerical value, quantity, range, etc.), particularly when clearly indicated and when clearly limited to a specific number in principle, etc. Except, it is not limited to the specific number, and may be a specific number or more.

さらに、以下の実施の形態において、その構成要素(要素ステップなどを含む)は、特に明示した場合及び原理的に明らかに必須であると考えられる場合などを除き、必ずしも必須のものではないことは言うまでもない。   Further, in the following embodiments, the constituent elements (including element steps) are not necessarily essential unless explicitly stated or considered to be clearly essential in principle. Needless to say.

同様に、以下の実施の形態において、構成要素などの形状、位置関係等に言及するときは、特に明示した場合及び原理的に明らかにそうでないと考えられる場合などを除き、実質的にその形状などに近似または類似するものなどを含むものとする。このことは前記数値及び範囲についても同様である。   Similarly, in the following embodiments, when referring to the shape, positional relationship, etc., of components, etc., the shape is substantially the same unless otherwise specified or otherwise apparent in principle. And the like are included. The same applies to the numerical values and ranges.

第1の実施例として、パケット通信システムの場合のゲートウェイ装置、及びパケット通信方法を、そのシステム、処理の順に説明する。   As a first embodiment, a gateway device and a packet communication method in the case of a packet communication system will be described in the order of the system and processing.

<システム>
はじめに、図1を用いて本発明が適用される通信システムの構成例を説明する。ここでは3GPP LTEにおける移動体通信システムを例にとる。ユーザ端末(100−1、100−2)は、無線インタフェースを介して、無線信号を有線信号に相互変換する基地局(101−1、101−2)と通信を行う。基地局(101−1、101−2)は、ルータやスイッチで構成されるIP網であるアクセス網102を介して、アクセスゲートウェイ装置103とユーザデータトラヒックの通信を行う。ユーザデータトラヒックとは、ユーザデータパケットが流れるトラヒックのことである。また、アクセスゲートウェイ装置103とは、ユーザ端末が属する適切な基地局に対して、ユーザデータトラフィックを転送する装置である。アクセスゲートウェイ装置103は、ルータやスイッチで構成されるIP網であるコア網104を介して、サービス網ゲートウェイ装置105とユーザデータトラヒックの通信を行う。サービス網ゲートウェイ装置105は、ユーザデータトラヒックを適切なサービス網106に転送する装置である。サービス網106とは、インターネットや企業網などのことである。対向装置107は、サービス網106に接続し、上記説明した移動体通信システムを介して、端末(100−1、100−2)とエンド−エンド間の通信を行う。さらに、移動管理装置108は、基地局(101−1、101−2)、アクセスゲートウェイ装置103、およびサービス網ゲートウェイ装置105と制御信号の通信を行う。移動管理装置108は、端末の無線接続状況を管理するとともに、基地局とアクセスゲートウェイ装置103とサービス網ゲートウェイ装置105の間のユーザデータトラヒックの経路を制御する装置である。アクセスゲートウェイ装置103、サービス網ゲートウェイ装置105、移動管理装置108は、図1では1台ずつであるが、通信システムの規模に応じて、複数台存在しても良い。
<System>
First, a configuration example of a communication system to which the present invention is applied will be described with reference to FIG. Here, a mobile communication system in 3GPP LTE is taken as an example. The user terminals (100-1, 100-2) communicate with base stations (101-1, 101-2) that mutually convert wireless signals into wired signals via a wireless interface. The base stations (101-1, 101-2) communicate user data traffic with the access gateway apparatus 103 via the access network 102, which is an IP network composed of routers and switches. User data traffic is traffic through which user data packets flow. The access gateway apparatus 103 is an apparatus that transfers user data traffic to an appropriate base station to which the user terminal belongs. The access gateway device 103 communicates user data traffic with the service network gateway device 105 via the core network 104, which is an IP network composed of routers and switches. The service network gateway device 105 is a device that transfers user data traffic to an appropriate service network 106. The service network 106 is the Internet, a corporate network, or the like. The opposite device 107 is connected to the service network 106 and performs end-to-end communication with the terminals (100-1, 100-2) via the mobile communication system described above. Further, the mobility management device 108 communicates control signals with the base stations (101-1, 101-2), the access gateway device 103, and the service network gateway device 105. The mobility management device 108 is a device that manages the wireless connection status of the terminal and controls the route of user data traffic between the base station, the access gateway device 103, and the service network gateway device 105. Although there are one access gateway device 103, one service network gateway device 105, and one mobility management device 108 in FIG. 1, there may be a plurality of access gateway devices 103 depending on the scale of the communication system.

前述したように、ユーザ端末(100−1、100−2)と対向装置107との間の通信に関するユーザデータパケットを、間に存在する基地局(101−1、101−2)とアクセスゲートウェイ装置103、サービス網ゲートウェイ装置105が、IPカプセル化を施して転送することで、ユーザ端末の移動を追従することができる。   As described above, the user data packet related to the communication between the user terminal (100-1, 100-2) and the opposite device 107 is transmitted between the base station (101-1, 101-2) and the access gateway device. 103. The service network gateway device 105 can follow the movement of the user terminal by performing IP encapsulation and transferring.

本実施例において述べるゲートウェイ装置とは、アクセスゲートウェイ装置103とサービス網ゲートウェイ装置105である。本実施の形態では、便宜上、サービス網ゲートウェイ装置105を本発明適用対象として説明するが、アクセスゲートウェイ装置103にも適用することは可能である。また、本実施の形態では各ゲートウェイ装置と移動管理装置108は別装置としているが、これらは物理的に同一の装置であっても良い。   The gateway devices described in this embodiment are the access gateway device 103 and the service network gateway device 105. In this embodiment, for convenience, the service network gateway device 105 will be described as an application target of the present invention, but the service network gateway device 105 can also be applied to the access gateway device 103. In this embodiment, each gateway device and the mobility management device 108 are separate devices, but they may be physically the same device.

次に、図3を用いて、本実施の形態のゲートウェイ装置のハードウェア構成例を説明する。ゲートウェイ装置105は、ネットワーク接続を終端する1枚または複数枚のラインカード(300、310)(回線収容部)と、ルーティング処理を行うスイッチユニット320と、ユーザデータパケットを処理する1枚または複数枚のパケット処理カード(330、340)と、スイッチユニット320やラインカード(300、310)の設定を行う制御ユニット350から構成される。なお、どのパケット処理カードがどのユーザデータパケットを処理するかは、ユーザ端末ごとに異なる。すなわち、同一のユーザ端末のユーザデータパケットは、同一のパケット処理カードにおいて処理される。   Next, a hardware configuration example of the gateway device according to the present embodiment will be described with reference to FIG. The gateway device 105 includes one or more line cards (300, 310) (line accommodating units) that terminate the network connection, a switch unit 320 that performs routing processing, and one or more sheets that process user data packets. Packet processing cards (330, 340) and a control unit 350 for setting the switch unit 320 and the line cards (300, 310). Note that which packet processing card processes which user data packet differs for each user terminal. That is, user data packets of the same user terminal are processed in the same packet processing card.

ラインカード1(300)は、インタフェース(I/F:Interface)ポート(301−1、301−2)、ネットワークプロセッサ(NP:Network Processor)302、メモリ303、内部接続コネクタ304を備える。I/Fポート(301−1、301−2)は装置外部と接続されており、装置外部とのパケットの送受信を行う。NP302は、装置外部から受信したユーザデータパケットを処理できる適切なパケット処理カードを選択し、スイッチユニットに渡す。メモリ303には、そのパケット処理カードの選択に必要なユーザ端末情報が保持される。内部接続コネクタ304は、スイッチユニット320と接続される。ラインカード2(310)もラインカード1(300)と同様の構成である。複数あるI/Fポート(301−1、301−2、311−1、311−2)のうち2つ以上を選択し、リンクアグリゲーションを用いて装置外部と接続する。   The line card 1 (300) includes interface (I / F: Interface) ports (301-1, 301-2), a network processor (NP: Network Processor) 302, a memory 303, and an internal connection connector 304. The I / F ports (301-1 and 301-2) are connected to the outside of the apparatus, and transmit / receive packets with the outside of the apparatus. The NP 302 selects an appropriate packet processing card that can process the user data packet received from the outside of the apparatus, and passes it to the switch unit. The memory 303 holds user terminal information necessary for selecting the packet processing card. The internal connection connector 304 is connected to the switch unit 320. The line card 2 (310) has the same configuration as the line card 1 (300). Two or more I / F ports (301-1, 301-2, 311-1, 311-2) are selected and connected to the outside of the apparatus using link aggregation.

スイッチユニット320は、CPU321、メモリ322、内部接続コネクタ(323、324−1〜324−4)、スイッチチップ325から構成される。CPU321は、メモリ322内に展開されたソフトウェアプログラムを順次読み出して実行し、スイッチチップ325の設定を行う。メモリ322内に展開されるソフトウェアプログラムは、制御ユニット350から設定される。内部接続コネクタ323は、制御ユニット350と接続される。また、内部接続コネクタ(324−1〜324−4)は、ラインカード(300、310)やパケット処理カード(330、340)と接続される。スイッチチップ325は、パケットのルーティング処理と、各カード間のパケットの受け渡し、ラインカード(300、310)上の各I/Fポート(301−1、301−2、311−1、311−2)を通過する入出力パケット量の計測を行う。   The switch unit 320 includes a CPU 321, a memory 322, internal connection connectors (323, 324-1 to 324-4), and a switch chip 325. The CPU 321 sequentially reads and executes the software programs developed in the memory 322, and sets the switch chip 325. A software program developed in the memory 322 is set from the control unit 350. The internal connection connector 323 is connected to the control unit 350. The internal connection connectors (324-1 to 324-4) are connected to the line cards (300, 310) and the packet processing cards (330, 340). The switch chip 325 performs packet routing processing, packet transfer between each card, and each I / F port (301-1, 301-2, 311-1, 311-2) on the line card (300, 310). Measure the amount of input and output packets that pass through.

パケット処理カード1(330)は、CPU331、内部接続コネクタ332、メモリ333、FROM(Flash Read Only Memory)334から構成される。ユーザデータパケットを処理する機能を提供するためのソフトウェアプログラムはFROM334に記憶されており、装置の起動時にメモリ333に展開される。CPU331は、メモリ333内に展開されたソフトウェアプログラムを順次読み出して実行する。内部接続コネクタ332は、スイッチユニット320と接続される。パケット処理カード2(340)もパケット処理カード1(330)と同様の構成である。   The packet processing card 1 (330) includes a CPU 331, an internal connection connector 332, a memory 333, and a FROM (Flash Read Only Memory) 334. A software program for providing a function for processing a user data packet is stored in the FROM 334 and is expanded in the memory 333 when the apparatus is activated. The CPU 331 sequentially reads and executes the software programs developed in the memory 333. The internal connection connector 332 is connected to the switch unit 320. The packet processing card 2 (340) has the same configuration as the packet processing card 1 (330).

制御ユニット350は、CPU351、メモリ352、FROM353、内部接続コネクタ354から構成される。スイッチユニット320を設定する機能を提供するためのソフトウェアプログラムはFROM353に記憶されており、装置の起動時にメモリ352に展開される。CPU351は、メモリ352内に展開されたソフトウェアプログラムを順次読み出して実行する。内部接続コネクタ354は、スイッチユニット320と接続される。   The control unit 350 includes a CPU 351, a memory 352, a FROM 353, and an internal connection connector 354. A software program for providing a function for setting the switch unit 320 is stored in the FROM 353, and is expanded in the memory 352 when the apparatus is activated. The CPU 351 sequentially reads and executes the software programs developed in the memory 352. The internal connection connector 354 is connected to the switch unit 320.

図4は、スイッチユニット320内で展開されるソフトウェアプログラムの構成図である。本実施のソフトウェアプログラムは、機能ブロックを示すプログラム領域400とデータを示すテーブル領域410から構成される。プログラム領域400は、スイッチチップ325にテーブル情報を設定するスイッチチップ設定部401と、スイッチチップ325が計測するI/Fポートのパケット量を統計情報として取得するI/F統計情報取得部402から構成される。   FIG. 4 is a configuration diagram of a software program developed in the switch unit 320. The software program of the present embodiment includes a program area 400 indicating functional blocks and a table area 410 indicating data. The program area 400 includes a switch chip setting unit 401 that sets table information in the switch chip 325, and an I / F statistical information acquisition unit 402 that acquires the packet amount of the I / F port measured by the switch chip 325 as statistical information. Is done.

また、テーブル領域410は、ルーティング情報を格納するルーティングテーブル411、I/Fポートとその先のネットワークに接続された機器のMACアドレスとの静的対応情報を格納したMACアドレステーブル412、どのI/Fポートがリンクアグリゲーションされているかの情報を格納したリンクアグリゲーション(LA:Link Aggregation)管理テーブル413、移動体通信システムにおいて使用するIPカプセル化のプロトコル情報を格納したプロトコル管理テーブル414、スイッチチップ325から取得したI/Fポート通過パケット量の統計情報を格納するI/F統計情報テーブル415から構成される。これらのテーブルのうち、ルーティングテーブル411、MACアドレステーブル412、リンクアグリゲーション管理テーブル413、プロトコル管理テーブル414がスイッチチップ325に反映される設定情報になる。なお、各テーブルのデータ構成については、<処理(シーケンス)>にて詳細を後述する。   The table area 410 includes a routing table 411 that stores routing information, a MAC address table 412 that stores static correspondence information between an I / F port and a MAC address of a device connected to a network ahead of the I / F port, and which I / F From a link aggregation (LA) management table 413 storing information indicating whether the F port is link-aggregated, a protocol management table 414 storing IP encapsulation protocol information used in the mobile communication system, and a switch chip 325 The I / F statistical information table 415 stores statistical information on the acquired I / F port passing packet amount. Among these tables, the routing table 411, the MAC address table 412, the link aggregation management table 413, and the protocol management table 414 are setting information reflected in the switch chip 325. The data structure of each table will be described later in detail in <Process (Sequence)>.

図5は、パケット処理カード(330、340)内で展開されるソフトウェアプログラムの構成図である。ここでは、パケット処理カード1(330)を例にとって説明する。本実施のソフトウェアプグラムは、プログラム領域500とテーブル領域510から構成される。なお、パケット処理カード2(340)もパケット処理カード1(330)と同様の構成である。プログラム領域500は、受信したユーザデータパケットのユーザ端末を特定してパケット課金やトラヒック制御などの移動体通信に係る処理を行うモバイル処理部501と、スイッチユニット320とラインカード(300、310)を介して装置外部とユーザデータパケットをやり取りするパケット送受信部502から構成される。また、テーブル領域510は、移動体通信に係る処理に必要なユーザ端末情報を格納するユーザ端末情報テーブル511から構成される。なお、テーブルのデータ構成については、<処理(シーケンス)>にて詳細を後述する。   FIG. 5 is a configuration diagram of a software program developed in the packet processing card (330, 340). Here, the packet processing card 1 (330) will be described as an example. The software program according to the present embodiment includes a program area 500 and a table area 510. The packet processing card 2 (340) has the same configuration as the packet processing card 1 (330). The program area 500 includes a mobile processing unit 501 that identifies a user terminal of a received user data packet and performs processing related to mobile communication such as packet charging and traffic control, a switch unit 320, and line cards (300, 310). A packet transmitting / receiving unit 502 that exchanges user data packets with the outside of the apparatus. The table area 510 includes a user terminal information table 511 that stores user terminal information necessary for processing related to mobile communication. Details of the data structure of the table will be described later in <Process (Sequence)>.

図6は、制御ユニット350内で展開されるソフトウェアプログラムの構成図である。本実施のソフトウェアプグラムは、プログラム領域600とテーブル領域610から構成される。プログラム領域600は、スイッチユニット320にテーブル情報を設定するスイッチユニット設定部601と、スイッチユニット320が持つI/F統計情報テーブル415を定期的に取得して監視するI/F統計情報監視部602から構成される。   FIG. 6 is a configuration diagram of a software program developed in the control unit 350. The software program according to this embodiment includes a program area 600 and a table area 610. The program area 600 includes a switch unit setting unit 601 that sets table information in the switch unit 320 and an I / F statistical information monitoring unit 602 that periodically acquires and monitors the I / F statistical information table 415 that the switch unit 320 has. Consists of

また、テーブル領域610は、ルーティング情報を格納するルーティングテーブル611、I/Fポートとその先のネットワークに接続された機器のMACアドレスとの静的対応情報を格納したMACアドレステーブル612、どのI/Fポートがリンクアグリゲーションされているかの情報を格納したリンクアグリゲーション管理テーブル613、移動体通信システムにおいて使用するIPカプセル化のプロトコル情報を格納したプロトコル管理テーブル614、スイッチユニット320から取得したI/Fポート通過パケット量の統計情報を格納するI/F統計情報テーブル615から構成される。これらのテーブルのうち、ルーティングテーブル611、MACアドレステーブル612、リンクアグリゲーション管理テーブル613、プロトコル管理テーブル614がスイッチユニット320のメモリ322に展開される設定情報になる。すなわち、これらのテーブルの内容は、ルーティングテーブル411、MACアドレステーブル412、リンクアグリゲーション管理テーブル413、プロトコル管理テーブル414と等価である。なお、各テーブルのデータ構成については、<処理(シーケンス)>にて詳細を後述する。   The table area 610 includes a routing table 611 that stores routing information, a MAC address table 612 that stores static correspondence information between an I / F port and a MAC address of a device connected to the network ahead, and which I / F Link aggregation management table 613 storing information indicating whether the F port is link-aggregated, protocol management table 614 storing IP encapsulation protocol information used in the mobile communication system, and I / F port acquired from the switch unit 320 It is composed of an I / F statistical information table 615 that stores statistical information of the amount of passing packets. Among these tables, the routing table 611, the MAC address table 612, the link aggregation management table 613, and the protocol management table 614 are setting information developed in the memory 322 of the switch unit 320. That is, the contents of these tables are equivalent to the routing table 411, the MAC address table 412, the link aggregation management table 413, and the protocol management table 414. The data structure of each table will be described later in detail in <Process (Sequence)>.

以上が、本実施の形態のシステムである。   The above is the system of the present embodiment.

<処理(シーケンス)>
本実施の形態のサービス網ゲートウェイ装置において、スイッチユニットが、パケット処理カードの出力するユーザデータパケットに付加されたユーザ端末に対応する情報を抽出し、その情報を用いて出力I/Fポートを決定する処理について、3つの手順を説明する。具体的には、(A)サービス網ゲートウェイ装置を設定する処理、(B)アクセスゲートウェイ装置にユーザデータパケットを送信する処理、(C)アクセスゲートウェイ装置からユーザデータパケットを受信する処理の手順である。
<Process (sequence)>
In the service network gateway device of this embodiment, the switch unit extracts information corresponding to the user terminal added to the user data packet output from the packet processing card, and determines the output I / F port using the information Three procedures will be described for the processing to be performed. Specifically, (A) a process for setting a service network gateway apparatus, (B) a process for transmitting a user data packet to the access gateway apparatus, and (C) a process for receiving a user data packet from the access gateway apparatus. .

(A)サービス網ゲートウェイ装置を設定する処理
図7は、制御ユニット350からサービス網ゲートウェイ装置105内のラインカード2(310)とスイッチユニット320を設定する手順である。ここでは一例として、ラインカード2(310)の有する複数のI/Fポートがリンクアグリゲーションされ、コア網を構成する対向スイッチ104−1にネットワーク接続されているものとする。まず、管理者がコマンド等を投入し、制御ユニット350においてリンクアグリゲーションの設定を構成する(ステップ700)。制御ユニット350は、その設定に基づいて、スイッチユニット320に対してリンクアグリゲーション管理テーブル413のテーブル設定要求を行う(ステップ701)。
(A) Processing for Setting Service Network Gateway Device FIG. 7 shows a procedure for setting the line card 2 (310) and the switch unit 320 in the service network gateway device 105 from the control unit 350. Here, as an example, it is assumed that a plurality of I / F ports of the line card 2 (310) are link-aggregated and connected to the opposite switch 104-1 constituting the core network. First, the administrator inputs a command or the like, and configures the link aggregation setting in the control unit 350 (step 700). Based on the setting, the control unit 350 issues a table setting request for the link aggregation management table 413 to the switch unit 320 (step 701).

図8は、スイッチユニット320が保持するリンクアグリゲーション管理テーブル413のデータ構成の一例を示す図である。リンクアグリゲーション管理テーブル413は、リンクアグリゲーション番号800、I/Fポート番号801、ラインカード情報802の項目から構成される。さらにラインカード情報802は、ラインカード識別番号803と内部I/Fポート番号804の項目を下位に持つ。たとえば、LA1のリンクアグリゲーションに関して、P1、P2、P3の3つのI/Fポートから構成されることを表す。さらに、P1のI/Fポートは、物理的には番号#2のラインカードに存在し、そのラインカード中の内部番号#1のI/Fポートであることを表す。   FIG. 8 is a diagram illustrating an example of a data configuration of the link aggregation management table 413 held by the switch unit 320. The link aggregation management table 413 includes items of a link aggregation number 800, an I / F port number 801, and line card information 802. Further, the line card information 802 has items of a line card identification number 803 and an internal I / F port number 804 at the lower level. For example, the link aggregation of LA1 indicates that it is composed of three I / F ports P1, P2, and P3. Further, the P1 I / F port physically exists in the line card of the number # 2, and indicates that it is the I / F port of the internal number # 1 in the line card.

図7に戻る。スイッチユニット320は、リンクアグリゲーションの設定を制御ユニットから受信すると、ラインカード2(310)を介して、対向になるコア網を構成する対向スイッチ104−1との間で、リンクアグリゲーションのネゴシエーションを行う(ステップ702)。このプロトコルには、たとえば、LACP(Link Aggregation Contorol Protocol)を用いる。次に、再び管理者がコマンド等を投入し、制御ユニット350において、移動体通信で用いるIPカプセル化のプロトコルの設定を構築する(ステップ703)。制御ユニット350は、その設定に基づいて、スイッチユニット320に対してプロトコル管理テーブル414のテーブル設定要求を行う(ステップ704)。   Returning to FIG. When the switch unit 320 receives the link aggregation setting from the control unit, the switch unit 320 negotiates the link aggregation with the opposing switch 104-1 constituting the opposing core network via the line card 2 (310). (Step 702). For this protocol, for example, LACP (Link Aggregation Control Protocol) is used. Next, the administrator again inputs a command or the like, and the control unit 350 constructs an IP encapsulation protocol setting used in mobile communication (step 703). Based on the setting, the control unit 350 makes a table setting request for the protocol management table 414 to the switch unit 320 (step 704).

図9は、スイッチユニット320が保持するプロトコル管理テーブル414のデータ構成の一例を示す図である。プロトコル管理テーブル414は、出力I/Fポート番号900、送信元IPアドレス901、送信先IPアドレス902、使用プロトコル903、リンクアグリゲーションハッシュ計算アルゴリズム904、ユーザデータのIPヘッダ位置905の項目から構成される。   FIG. 9 is a diagram illustrating an example of a data configuration of the protocol management table 414 held by the switch unit 320. The protocol management table 414 includes items of an output I / F port number 900, a transmission source IP address 901, a transmission destination IP address 902, a used protocol 903, a link aggregation hash calculation algorithm 904, and an IP header position 905 of user data. .

出力I/Fポート番号900は、ユーザデータパケットを出力するI/Fポート番号を表す。送信元IPアドレス901は、サービス網ゲートウェイ装置105自身のIPアドレスを表す。送信先IPアドレス902は、アクセス網ゲートウェイ装置103のIPアドレスを表す。たとえば、図9の1番目のエントリは、出力するI/FポートがLA1である場合に、ユーザデータパケット200のIPヘッダ202の送信元がサービス網ゲートウェイ自身である3.0.0.1で、IPヘッダ202の送信先がアクセスゲートウェイ装置である1.1.1.1であれば、使用するIPカプセル化のプロトコルはGREであり、出力I/Fの物理ポートを決定するリンクアグリゲーションのハッシュ計算アルゴリズムとしてユーザデータパケット200のIPヘッダ204も含めることを指定し、そのIPヘッダ204がIPパケットの33バイト目から始まることを指定する。   The output I / F port number 900 represents an I / F port number that outputs a user data packet. The transmission source IP address 901 represents the IP address of the service network gateway device 105 itself. The transmission destination IP address 902 represents the IP address of the access network gateway device 103. For example, the first entry in FIG. 9 is 3.0.0.1 in which the source of the IP header 202 of the user data packet 200 is the service network gateway itself when the output I / F port is LA1. If the transmission destination of the IP header 202 is the access gateway apparatus 1.1.1.1, the IP encapsulation protocol to be used is GRE, and the link aggregation hash for determining the physical port of the output I / F It is specified that the IP header 204 of the user data packet 200 is included as a calculation algorithm, and that the IP header 204 starts from the 33rd byte of the IP packet.

移動体通信システムでは、ゲートウェイ装置ごとに使用するIPカプセル化のプロトコルが異なる場合がある。また、ユーザデータパケット200のカプセルヘッダ203のヘッダ長もゲートウェイ装置ごとに異なる場合がある。プロトコル管理テーブル414において、上記のように設定しておくことで、スイッチユニット320は、ユーザパケット200のIPヘッダ204の位置を特定することが可能となる。これによって、スイッチユニット320は、ユーザデータパケット200から、ユーザ端末に対応する情報であるユーザ端末のIPアドレスを抽出することができる。   In a mobile communication system, the IP encapsulation protocol used for each gateway device may be different. Also, the header length of the capsule header 203 of the user data packet 200 may be different for each gateway device. By setting the protocol management table 414 as described above, the switch unit 320 can specify the position of the IP header 204 of the user packet 200. Thereby, the switch unit 320 can extract the IP address of the user terminal, which is information corresponding to the user terminal, from the user data packet 200.

図7に戻る。コア網を構成する対向スイッチ104−1がリンクアグリゲーションハッシュ計算アルゴリズムを任意に設定できる機能を有する場合に、制御ユニット350は、さらに対向スイッチ104−1に対してIPカプセル化で使用するプロトコル情報を通知することを決定する(ステップ705)。そして、スイッチユニット320とラインカード2(310)を介してコア網を構成する対向スイッチ104−1に対向スイッチ設定要求メッセージを送信する(ステップ706〜708)。これによって、コア網を構成する対向スイッチ104−1におけるリンクアグリゲーションハッシュ計算アルゴリズムを設定できる。上記設定を行うことによって、リンクアグリゲーションされた複数のI/Fポート間の出力負荷をなるべく均等にするのみならず、I/Fポート間の入力負荷もなるべく均等にすることができる。   Returning to FIG. When the opposing switch 104-1 constituting the core network has a function capable of arbitrarily setting a link aggregation hash calculation algorithm, the control unit 350 further transmits protocol information used for IP encapsulation to the opposing switch 104-1. It is decided to notify (step 705). Then, a counter switch setting request message is transmitted to the counter switch 104-1 constituting the core network via the switch unit 320 and the line card 2 (310) (steps 706 to 708). Thereby, the link aggregation hash calculation algorithm in the opposing switch 104-1 constituting the core network can be set. By performing the above setting, not only the output load among the plurality of link-aggregated I / F ports can be made as uniform as possible, but also the input load between the I / F ports can be made as uniform as possible.

図10は、対向スイッチ設定要求のメッセージフォーマットの一例を示す図である。対向スイッチ設定要求メッセージ1000は、対象送信元IPアドレス1001、対象送信先IPアドレス1002、使用カプセル化プロトコル1003、リンクアグリゲーションハッシュ計算アルゴリズム1004、ユーザデータのIPヘッダ位置1005の項目から構成される。ここで、対象送信元IPアドレス1001は、アクセスゲートウェイ装置103のIPアドレスを表す。対象送信先IPアドレス1002は、サービス網ゲートウェイ装置105自身のIPアドレスを表す。したがって、この例のメッセージは、アクセスゲートウェイ装置103からサービス網ゲートウェイ装置105に転送されるユーザデータパケットに対して、送信元IPアドレスがアクセスゲートウェイ装置である1.1.1.1で、送信先IPアドレスがサービス網ゲートウェイ自身である3.0.0.1であれば、使用するIPカプセル化のプロトコルはGREであり、入力するI/Fの物理ポートを決定するリンクアグリゲーションのハッシュ計算アルゴリズムとしてユーザ端末のIPアドレスを含むIPヘッダを含めることを指定し、そのIPヘッダがIPパケットの33バイト目から始まることを指定する。   FIG. 10 is a diagram illustrating an example of a message format of the opposite switch setting request. The opposite switch setting request message 1000 includes items of a target source IP address 1001, a target destination IP address 1002, a used encapsulation protocol 1003, a link aggregation hash calculation algorithm 1004, and an IP header position 1005 of user data. Here, the target transmission source IP address 1001 represents the IP address of the access gateway apparatus 103. The target transmission destination IP address 1002 represents the IP address of the service network gateway device 105 itself. Therefore, the message in this example is that the user IP packet transferred from the access gateway apparatus 103 to the service network gateway apparatus 105 has a transmission source IP address of 1.1.1.1 and the transmission destination If the IP address is 3.0.0.1, which is the service network gateway itself, the IP encapsulation protocol to be used is GRE, and a hash calculation algorithm for link aggregation that determines the physical port of the input I / F It is specified that an IP header including the IP address of the user terminal is included, and that the IP header starts from the 33rd byte of the IP packet.

図7に戻る。再び管理者がコマンド等を投入し、制御ユニット350において、ルーティングテーブルの設定を構成する(ステップ709)。制御ユニット350は、その設定に基づいて、スイッチユニット320に対してルーティングテーブル411のテーブル設定要求を行う(ステップ710)。   Returning to FIG. The administrator again inputs a command or the like, and configures the setting of the routing table in the control unit 350 (step 709). Based on the setting, the control unit 350 makes a table setting request for the routing table 411 to the switch unit 320 (step 710).

図11は、本実施例において、スイッチユニット320が保持するルーティングテーブル411のデータ構成の一例を示す図である。ルーティングテーブル411は、経路1100、出力I/Fポート番号1101、出力I/FポートのMACアドレス1102、次ホップのルータのMACアドレス1103の項目から構成される。たとえば1番目のエントリは、サブネット1.1.0.0/16の経路に一致するパケットに対して、LA1を出力I/Fポートとし、出力するパケットの送信元MACアドレスに01:00:00:00:00:01を代入し、出力するパケットの送信先MACアドレスに00:33:00:00:00:03を代入することを表す。   FIG. 11 is a diagram illustrating an example of a data configuration of the routing table 411 held by the switch unit 320 in the present embodiment. The routing table 411 includes items of a path 1100, an output I / F port number 1101, a MAC address 1102 of the output I / F port, and a MAC address 1103 of the next hop router. For example, in the first entry, LA1 is set as an output I / F port for a packet matching the route of the subnet 1.1.0.0/16, and the source MAC address of the output packet is set to 01: 00: 00: 00. : 00:00:01 is substituted, and 00: 33: 00: 00: 00: 03 is substituted for the destination MAC address of the output packet.

以上で、サービス網ゲートウェイ装置の設定が完了する。   This completes the setting of the service network gateway device.

(B)アクセスゲートウェイ装置にユーザデータパケットを送信する処理
図12は、サービス網ゲートウェイ装置105からアクセスゲートウェイ装置103にユーザデータパケットを転送する手順である。ここでは、サービス網ゲートウェイ装置105のラインカード1(300)が、図1に示したサービス網106にネットワーク接続されているとする。また、ラインカード2(310)が図1に示したコア網104にネットワーク接続されているとする。
(B) Processing for Transmitting User Data Packet to Access Gateway Device FIG. 12 shows a procedure for transferring a user data packet from the service network gateway device 105 to the access gateway device 103. Here, it is assumed that the line card 1 (300) of the service network gateway apparatus 105 is connected to the service network 106 shown in FIG. Further, it is assumed that the line card 2 (310) is connected to the core network 104 shown in FIG.

まず、対向装置107から特定のユーザ端末宛てのユーザデータパケットが、ラインカード1(300)に届く(ステップ1200)。ラインカード1(300)は、そのユーザデータパケットを処理可能なパケット処理カード1(330)を特定する(ステップ1201)。ここでは、ユーザ端末宛てのユーザデータパケットからIPアドレスとドメイン情報を特定し、特定されたIPアドレスとドメイン情報に基づいて、以前に同じユーザのデータパケットを処理したパケット処理カードを特定する。ラインカード1(300)はユーザデータパケットをパケット処理カード1(330)宛てに送信する(ステップ1202)。パケット処理カード1(330)は、スイッチユニット320を介してユーザデータパケットを受信する(ステップ1203)。パケット処理カード1(330)は、ユーザ端末情報テーブル511を参照し、移動体通信に係る処理を行い、ユーザデータパケットを転送すべきアクセスゲートウェイ装置103を特定する(ステップ1204)。ここでは、ユーザデータパケットからIPアドレスとドメイン情報を特定し、ユーザ端末情報テーブル511を参照することで呼番号を特定する。特定された呼番号に基づいて、アクセスゲートウェイ装置を特定する。   First, a user data packet addressed to a specific user terminal is sent from the opposite device 107 to the line card 1 (300) (step 1200). The line card 1 (300) specifies the packet processing card 1 (330) that can process the user data packet (step 1201). Here, the IP address and domain information are specified from the user data packet addressed to the user terminal, and the packet processing card that previously processed the data packet of the same user is specified based on the specified IP address and domain information. The line card 1 (300) transmits the user data packet to the packet processing card 1 (330) (step 1202). The packet processing card 1 (330) receives the user data packet via the switch unit 320 (step 1203). The packet processing card 1 (330) refers to the user terminal information table 511, performs processing related to mobile communication, and specifies the access gateway device 103 to which the user data packet is to be transferred (step 1204). Here, the IP address and domain information are specified from the user data packet, and the call number is specified by referring to the user terminal information table 511. An access gateway device is specified based on the specified call number.

図13は、パケット処理カード1(330)が保持するユーザ端末情報テーブル511のデータ構成の一例を示す図である。ユーザ端末情報テーブル511は、呼番号1300とユーザ端末情報1301の項目から構成される。さらに、ユーザ端末情報1301は、下位にIPアドレス1302、ドメイン情報1303、IPカプセル情報1304の項目を持つ。ユーザ端末情報1301は、パケット課金情報やトラヒック制御情報なども含むが、ここでは省略する。呼番号1300は、サービス網ゲートウェイ装置内で各ユーザ端末に付けた通し番号を表す。IPアドレス1302は、ユーザ端末のIPアドレスを表す。ドメイン情報1303は、サービス網106での転送で用いられるVLAN(Virtual Local Area Network)タグ番号などを表す。IPカプセル情報1304は、ユーザデータパケットの転送先/転送元になるアクセスゲートウェイ装置のIPアドレスやカプセルヘッダに付ける識別子などを表す。   FIG. 13 is a diagram showing an example of the data configuration of the user terminal information table 511 held by the packet processing card 1 (330). The user terminal information table 511 includes items of a call number 1300 and user terminal information 1301. Further, the user terminal information 1301 has items of an IP address 1302, domain information 1303, and IP capsule information 1304 at the lower level. The user terminal information 1301 includes packet billing information and traffic control information, but is omitted here. The call number 1300 represents a serial number assigned to each user terminal in the service network gateway device. The IP address 1302 represents the IP address of the user terminal. The domain information 1303 represents a VLAN (Virtual Local Area Network) tag number used for transfer in the service network 106. The IP capsule information 1304 represents an IP address of an access gateway device that is a transfer destination / transfer source of a user data packet, an identifier attached to a capsule header, and the like.

ユーザ端末情報テーブル511の各エントリは、ユーザ端末が電源を入れたり、基地局をハンドオーバしたりしたことを契機に、図1に示した基地局(101−1、101−2)、アクセスゲートウェイ装置103、サービス網ゲートウェイ装置105、移動管理装置108の間で制御信号をやり取りすることで作成、および変更される。この方法に関しては、移動体通信システムに係る当該事業者には既知のものであり、ここでは詳細については割愛する。   Each entry in the user terminal information table 511 includes the base stations (101-1, 101-2) and the access gateway apparatus shown in FIG. 1 when the user terminal is turned on or the base station is handed over. 103, created and changed by exchanging control signals between the service network gateway device 105 and the mobility management device. This method is known to the business operator related to the mobile communication system, and details are omitted here.

図12に戻る。パケット処理カード1(330)は、図2に示したパケットフォーマットの形にユーザデータパケットをIPカプセル化し、スイッチユニット320に送信する(ステップ1205)。スイッチユニット320は、図11のルーティングテーブル411の経路1100を検索し、出力I/Fポートを決定する(ステップ1206)。   Returning to FIG. The packet processing card 1 (330) encapsulates the user data packet in the form of the packet format shown in FIG. 2 and transmits it to the switch unit 320 (step 1205). The switch unit 320 searches the route 1100 of the routing table 411 in FIG. 11 and determines an output I / F port (step 1206).

出力I/Fポートがリンクアグリゲーションされたものである場合、図9のプロトコル管理テーブル414の出力I/Fポート番号900、送信元IPアドレス901、送信先IPアドレス902を検索して、リンクアグリゲーションハッシュ計算アルゴリズムを決定し、ハッシュ値を計算する(ステップ1207)。図9に示すリンクアグリゲーションハッシュ計算アルゴリズムは、ユーザデータのIPヘッダを含めるものであるため、図2で示すイーサヘッダ201、IPヘッダ202、IPヘッダ204を抽出して、ハッシュ値を計算する。   When the output I / F port is a link-aggregated one, the output I / F port number 900, the transmission source IP address 901, and the transmission destination IP address 902 in the protocol management table 414 in FIG. A calculation algorithm is determined and a hash value is calculated (step 1207). Since the link aggregation hash calculation algorithm shown in FIG. 9 includes the IP header of user data, the ether header 201, the IP header 202, and the IP header 204 shown in FIG. 2 are extracted to calculate a hash value.

その後、図8のリンクアグリゲーション管理テーブル413のリングアグリゲーション番号800を検索し、構成する出力I/Fの物理ポート情報を取得する。上記計算したハッシュ値を出力I/F物理ポート数で割った剰余を計算して、出力すべきラインカード2(310)と出力I/Fの物理ポート番号を決定し、ユーザデータパケットをラインカード2(310)に渡す(ステップ1208)。例えば図8を例に説明すると、計算したハッシュ値を出力I/F物理ポート数である3で割った剰余を計算し、剰余が0なら出力I/Fの物理ポート番号をP1とし、剰余が1なら出力I/Fの物理ポート番号をP2とし、剰余が2なら出力I/Fの物理ポート番号をP3とする。ラインカード2(310)は、スイッチユニット320に指示されたI/Fポートからユーザデータパケットを、アクセスゲートウェイ装置103に向けて送信する(ステップ1209)。   Thereafter, the ring aggregation number 800 in the link aggregation management table 413 in FIG. 8 is searched, and the physical port information of the configured output I / F is acquired. The remainder obtained by dividing the calculated hash value by the number of output I / F physical ports is calculated, the line card 2 (310) to be output and the physical port number of the output I / F are determined, and the user data packet is transferred to the line card. 2 (310) (step 1208). For example, taking FIG. 8 as an example, a remainder is calculated by dividing the calculated hash value by 3 which is the number of output I / F physical ports. If the remainder is 0, the physical port number of the output I / F is P1, and the remainder is If it is 1, the physical port number of the output I / F is P2, and if the remainder is 2, the physical port number of the output I / F is P3. The line card 2 (310) transmits a user data packet from the I / F port instructed to the switch unit 320 to the access gateway apparatus 103 (step 1209).

以上の手順を踏むことで、サービス網ゲートウェイ装置内のスイッチユニットが、同装置内のパケット処理カードが出力するユーザデータパケットに付加されたユーザ端末に対応する情報を抽出し、その情報を用いて出力I/Fポートを決定することが可能になる。ユーザ端末ごとに出力I/Fポートを割り当てることになり、リンクアグリゲーションされた複数のI/Fポート間の出力負荷の均等化に大きく貢献する。これによって、リンクアグリゲーションを正しく機能させ、サービス網ゲートウェイ装置におけるI/Fポートの利用効率を向上し、また装置全体の総出力スループットを向上することができる。また、あるアクセスゲートウェイ装置に対する出力スループットをリンク速度以上にすることができる。   By following the above procedure, the switch unit in the service network gateway device extracts information corresponding to the user terminal added to the user data packet output by the packet processing card in the device, and uses that information. The output I / F port can be determined. An output I / F port is assigned to each user terminal, which greatly contributes to equalization of output load among a plurality of link-aggregated I / F ports. As a result, link aggregation can function correctly, the utilization efficiency of the I / F port in the service network gateway apparatus can be improved, and the total output throughput of the entire apparatus can be improved. Also, the output throughput for a certain access gateway device can be made higher than the link speed.

(C)アクセスゲートウェイ装置からユーザデータパケットを受信する処理
図14は、アクセスゲートウェイ装置103からサービス網ゲートウェイ装置105にユーザデータパケットを転送する手順である。ここでは、サービス網ゲートウェイ装置105のラインカード1(300)が、図1に示したサービス網106にネットワーク接続されているとする。また、ラインカード2(310)が図1に示したコア網104にネットワーク接続されているとする。
(C) Processing for Receiving User Data Packet from Access Gateway Device FIG. 14 shows a procedure for transferring a user data packet from the access gateway device 103 to the service network gateway device 105. Here, it is assumed that the line card 1 (300) of the service network gateway apparatus 105 is connected to the service network 106 shown in FIG. Further, it is assumed that the line card 2 (310) is connected to the core network 104 shown in FIG.

まず、アクセスゲートウェイ装置103から、特定のユーザ端末の発信したユーザデータパケットが送信される(ステップ1400)。このユーザデータパケットは、当然IPカプセル化されており、その宛先はサービス網ゲートウェイ装置105である。コア網104を構成するルータ/スイッチ群のうち、サービス網ゲートウェイ装置に対向する対向スイッチ104−1は、図7のステップ705〜708であらかじめ受け取った対向スイッチ設定要求に従って、サービス網ゲートウェイ装置105に入力するI/Fポートを決定する(ステップ1401)。このとき、対向スイッチ104−1は、図10の対向スイッチ設定要求1000で指定されたリンクアグリゲーションハッシュ計算アルゴリズムを用いてハッシュ値を計算し、サービス網ゲートウェイ装置105との間で接続するリンクアグリゲーションの構成I/Fポートの中から、上記ハッシュ値に応じて入力すべきI/Fポートを決定する。その後、対向スイッチ104−1は、上記決定したラインカード2(310)のI/Fに対して、ユーザデータパケットを送信する(ステップ1402)。   First, a user data packet transmitted from a specific user terminal is transmitted from the access gateway device 103 (step 1400). This user data packet is naturally IP-encapsulated, and the destination is the service network gateway device 105. In the router / switch group constituting the core network 104, the opposite switch 104-1 facing the service network gateway apparatus transmits to the service network gateway apparatus 105 according to the opposite switch setting request received in advance in steps 705 to 708 of FIG. The input I / F port is determined (step 1401). At this time, the opposite switch 104-1 calculates a hash value using the link aggregation hash calculation algorithm specified by the opposite switch setting request 1000 in FIG. 10 and performs link aggregation for connection with the service network gateway device 105. The I / F port to be input is determined from the configuration I / F ports according to the hash value. Thereafter, the opposite switch 104-1 transmits a user data packet to the determined I / F of the line card 2 (310) (step 1402).

以上の手順を踏むことで、サービス網ゲートウェイ装置の対向スイッチが、ユーザデータパケットに付加されたユーザ端末に対応する情報を抽出し、その情報を用いて入力I/Fポートを決定することが可能になる。ユーザ端末ごとに入力I/Fポートを割り当てることになり、リンクアグリゲーションされた複数のI/Fポート間の入力負荷の均等化に大きく貢献する。これによって、出力だけでなく入力に関してもリンクアグリゲーションを正しく機能させ、サービス網ゲートウェイ装置におけるI/Fポートの利用効率を向上することができる。   By following the above procedure, it is possible for the opposite switch of the service network gateway device to extract information corresponding to the user terminal added to the user data packet and determine the input I / F port using that information become. An input I / F port is assigned to each user terminal, which greatly contributes to equalization of input load among a plurality of link-aggregated I / F ports. As a result, link aggregation can be correctly functioned not only for output but also for input, and the utilization efficiency of the I / F port in the service network gateway device can be improved.

図14に戻る。ラインカード2(310)は、ユーザデータパケットを受信すると、そのユーザデータパケットを処理可能なパケット処理カード1(330)を特定する(ステップ1403)。ラインカード2(310)はユーザデータパケットをパケット処理カード1(330)宛てに送信する(ステップ1404)。パケット処理カード1(330)は、スイッチユニット320を介してユーザデータパケットを受信する(ステップ1405)。パケット処理カード1(330)は、ユーザ端末情報テーブル511を参照し、移動体通信に係る処理を行い、ユーザデータパケットのIPカプセル化を解除する(ステップ1406)。パケット処理カード1(330)は、スイッチユニット320に送信する(ステップ1407)。スイッチユニット320は、図11のルーティングテーブル411の経路1100を検索し、出力I/Fポートを決定する(ステップ1410)。   Returning to FIG. When receiving the user data packet, the line card 2 (310) specifies the packet processing card 1 (330) that can process the user data packet (step 1403). The line card 2 (310) transmits the user data packet to the packet processing card 1 (330) (step 1404). The packet processing card 1 (330) receives the user data packet via the switch unit 320 (step 1405). The packet processing card 1 (330) refers to the user terminal information table 511, performs processing related to mobile communication, and releases the IP encapsulation of the user data packet (step 1406). The packet processing card 1 (330) transmits to the switch unit 320 (step 1407). The switch unit 320 searches the route 1100 of the routing table 411 in FIG. 11 and determines an output I / F port (step 1410).

出力I/Fポートがリンクアグリゲーションされたものである場合、図9のプロトコル管理テーブル414を検索する。しかし、ここでは既にIPカプセル化が解除されており、エントリには一致しない。そのため、背景技術にて述べた通常のリンクアグリゲーションハッシュ計算アルゴリズムを用いて、ハッシュ値を計算する(ステップ1411)。つまり、IPヘッダ202とカプセルヘッダ203がないため、イーサヘッダ201、IPヘッダ204を抽出して、ハッシュ値を計算する。その後、図8のリンクアグリゲーション管理テーブル413のリングアグリゲーション番号800を検索し、構成する出力I/Fの物理ポート情報を取得する。上記計算したハッシュ値を出力I/F物理ポート数で割った剰余を計算して、出力すべきラインカード1(300)と出力I/Fの物理ポート番号を決定し、ユーザデータパケットをラインカード1(300)に渡す(ステップ1412)。ラインカード1(300)は、スイッチユニット320に指示されたI/Fポートからユーザデータパケットを、対向装置107に向けて送信する(ステップ1413)。   If the output I / F port has been link-aggregated, the protocol management table 414 in FIG. 9 is searched. However, the IP encapsulation has already been released here and does not match the entry. Therefore, the hash value is calculated using the normal link aggregation hash calculation algorithm described in the background art (step 1411). That is, since there is no IP header 202 and capsule header 203, the ether header 201 and the IP header 204 are extracted and the hash value is calculated. Thereafter, the ring aggregation number 800 in the link aggregation management table 413 in FIG. 8 is searched, and the physical port information of the configured output I / F is acquired. The remainder obtained by dividing the calculated hash value by the number of output I / F physical ports is calculated, the line card 1 (300) to be output and the physical port number of the output I / F are determined, and the user data packet is transferred to the line card. 1 (300) (step 1412). The line card 1 (300) transmits the user data packet from the I / F port instructed to the switch unit 320 to the opposite device 107 (step 1413).

<処理(フローチャート)>
本実施の形態のサービス網ゲートウェイ装置は2つの動作から成る。具体的には、制御ユニットにおける設定処理の動作、スイッチユニットにおけるパケット転送処理の動作である。以下、図15〜16を用いて、サービス網ゲートウェイ装置の動作の処理フローを説明する。
<Process (flow chart)>
The service network gateway apparatus of this embodiment consists of two operations. Specifically, the setting process operation in the control unit and the packet transfer process operation in the switch unit. Hereinafter, the processing flow of the operation of the service network gateway apparatus will be described with reference to FIGS.

図15は、制御ユニット350における設定処理のフローチャートである。管理者のコマンド投入等によって、設定を開始する(ステップ1500)。まず、スイッチユニット320に対してリンクアグリゲーション管理テーブル413を設定する(ステップ1501)。また、スイッチユニット320に対して図9のプロトコル管理テーブル413を設定する(ステップ1501)。次に、リンクアグリゲーションを設定したI/Fポートの対向スイッチがリンクアグリゲーションハッシュ計算アルゴリズムを任意に設定できる、すなわちプログラマブルである場合(ステップ1503)、その対向スイッチに対して図10の対向スイッチ設定要求メッセージ1000を送信する(ステップ1504)。その後、スイッチユニット320に対して図11のルーティングテーブル411を設定し(ステップ1505)、設定処理を終了する(ステップ1506)。   FIG. 15 is a flowchart of setting processing in the control unit 350. Setting is started by an administrator command input (step 1500). First, the link aggregation management table 413 is set for the switch unit 320 (step 1501). Further, the protocol management table 413 of FIG. 9 is set for the switch unit 320 (step 1501). Next, when the opposite switch of the I / F port for which link aggregation has been set can arbitrarily set the link aggregation hash calculation algorithm (step 1503), the opposite switch setting request of FIG. The message 1000 is transmitted (step 1504). Thereafter, the routing table 411 of FIG. 11 is set for the switch unit 320 (step 1505), and the setting process is terminated (step 1506).

図16は、スイッチユニット320におけるパケット転送処理のフローチャートである。まず、いずれかのラインカード、またはパケット処理カードからユーザデータパケットを受信する(ステップ1600)。図11のルーティングテーブル411を検索し、出力I/Fポート番号を取得する(ステップ1601)。その出力I/Fポート番号がリンクアグリゲーションされたものでない場合(ステップ1602)、ルーティングテーブルに従ってユーザデータパケットを送信し(ステップ1606)、処理を終了する(ステップ1607)。   FIG. 16 is a flowchart of packet transfer processing in the switch unit 320. First, a user data packet is received from any line card or packet processing card (step 1600). The routing table 411 in FIG. 11 is searched to obtain the output I / F port number (step 1601). If the output I / F port number is not one that has been link-aggregated (step 1602), a user data packet is transmitted according to the routing table (step 1606), and the process is terminated (step 1607).

ステップ1602に戻り、取得した出力I/Fポート番号がリンクアグリゲーションされたものである場合、受信したユーザデータパケットがパケット処理カードからのパケットであるかを判定する(ステップ1603)。そうでない場合、すなわちラインカードから受信した場合は、ルーティングテーブルに従ってパケット処理カードにユーザデータパケットを送信し(ステップ1606)、処理を終了する(ステップ1607)。   Returning to step 1602, if the acquired output I / F port number has been link-aggregated, it is determined whether the received user data packet is a packet from a packet processing card (step 1603). Otherwise, that is, when received from the line card, the user data packet is transmitted to the packet processing card according to the routing table (step 1606), and the processing is terminated (step 1607).

ステップ1603に戻り、受信したユーザデータパケットがパケット処理カードからのパケットである場合、図9のプロトコル管理テーブル414を検索して、リンクアグリゲーションハッシュ計算アルゴリズムを決定する(ステップ1604)。その後、図8のリンクアグリゲーション管理テーブル413を検索して、構成する出力I/Fの物理ポート情報を取得する。そして、計算したハッシュ値を出力I/F物理ポート数で割った剰余を計算して、出力すべきラインカードと出力I/Fの物理ポート番号を決定する(ステップ1605)。上記決定したラインカードと出力I/Fの物理ポート番号に従い、ラインカカードにユーザデータパケットを送信し(ステップ1606)、処理を終了する(ステップ1607)。   Returning to step 1603, if the received user data packet is a packet from the packet processing card, the protocol management table 414 of FIG. 9 is searched to determine the link aggregation hash calculation algorithm (step 1604). Thereafter, the link aggregation management table 413 in FIG. 8 is searched to obtain physical port information of the configured output I / F. Then, the remainder obtained by dividing the calculated hash value by the number of output I / F physical ports is calculated to determine the line card to be output and the physical port number of the output I / F (step 1605). In accordance with the determined line card and the physical port number of the output I / F, a user data packet is transmitted to the line card (step 1606), and the process ends (step 1607).

以上の手順を踏むことで、サービス網ゲートウェイ装置内のスイッチユニットが、同装置内のパケット処理カードが出力するユーザデータパケットに付加されたユーザ端末に対応する情報を抽出し、その情報を用いて出力I/Fポートを決定することが可能になる。ユーザ端末ごとに出力I/Fポートを割り当てることになり、リンクアグリゲーションされた複数のI/Fポート間の出力負荷の均等化に大きく貢献する。これによって、リンクアグリゲーションを正しく機能させ、サービス網ゲートウェイ装置におけるI/Fポートの利用効率を向上し、また装置全体の総出力スループットを向上することができる。また、あるアクセスゲートウェイ装置に対する出力スループットをリンク速度以上にすることができる。   By following the above procedure, the switch unit in the service network gateway device extracts information corresponding to the user terminal added to the user data packet output by the packet processing card in the device, and uses that information. The output I / F port can be determined. An output I / F port is assigned to each user terminal, which greatly contributes to equalization of output load among a plurality of link-aggregated I / F ports. As a result, link aggregation can function correctly, the utilization efficiency of the I / F port in the service network gateway apparatus can be improved, and the total output throughput of the entire apparatus can be improved. Also, the output throughput for a certain access gateway device can be made higher than the link speed.

第2の実施例として、パケット通信システムの場合のゲートウェイ装置、及びパケット通信方法を、そのシステム、処理の順に説明する。本実施例では、パケット処理カードが、ユーザ端末に対応する情報(例えば、呼番号を用いて計算されるハッシュ値)を内部ヘッダに付加し、スイッチユニットがその情報に基づいて出力I/Fポートを決定することを特徴とする。これにより、複数のI/Fポート間の出力負荷の分散性を向上させることができる。   As a second embodiment, a gateway device and a packet communication method in the case of a packet communication system will be described in the order of the system and processing. In this embodiment, the packet processing card adds information corresponding to the user terminal (for example, a hash value calculated using the call number) to the internal header, and the switch unit outputs the output I / F port based on the information. It is characterized by determining. Thereby, the dispersibility of the output load among a plurality of I / F ports can be improved.

<システム>
本発明が適用される通信システムの構成、ゲートウェイ装置のハードウェア構成、ゲートウェイ装置内部のスイッチユニット、パケット処理カード、および制御ユニットのソフトウェア構成は、実施例1と同様である。ただし、実施例2では、スイッチユニット320において、図9のプロトコル管理テーブル414の内容をスイッチチップ325に設定する必要がないため、スイッチチップ325のハードウェア構成を簡略化することが可能となる。
<System>
The configuration of the communication system to which the present invention is applied, the hardware configuration of the gateway device, the software configuration of the switch unit, the packet processing card, and the control unit inside the gateway device are the same as those in the first embodiment. However, in the second embodiment, in the switch unit 320, it is not necessary to set the contents of the protocol management table 414 in FIG. 9 in the switch chip 325, so that the hardware configuration of the switch chip 325 can be simplified.

<処理(シーケンス)>
本実施の形態のサービス網ゲートウェイにおいて、スイッチユニットが、パケット処理カードの出力するユーザデータパケットに付加されたユーザ端末に対応する情報を抽出し、その情報を用いて出力I/Fポートを決定する処理について、3つの手順を説明する。具体的には、(A)サービス網ゲートウェイ装置を設定する処理、(B)アクセスゲートウェイ装置にユーザデータパケットを送信する処理、(C)I/Fポートの負荷に応じてルーティングテーブルを動的に設定する処理の手順である。
<Process (sequence)>
In the service network gateway according to the present embodiment, the switch unit extracts information corresponding to the user terminal added to the user data packet output from the packet processing card, and determines the output I / F port using the information. Regarding the processing, three procedures will be described. Specifically, (A) a process for setting a service network gateway apparatus, (B) a process for transmitting a user data packet to the access gateway apparatus, and (C) a routing table dynamically according to the load on the I / F port It is the procedure of the process to set.

(A)サービス網ゲートウェイ装置を設定する処理
図17は、制御ユニット350からサービス網ゲートウェイ装置105内のラインカード2(310)とスイッチユニット320を設定する手順である。ここでは一例として、ラインカード2(310)の有する複数のI/Fポートがリンクアグリゲーションされ、コア網を構成する対向スイッチ104−1にネットワーク接続されているものとする。
(A) Processing for Setting Service Network Gateway Device FIG. 17 shows a procedure for setting the line card 2 (310) and the switch unit 320 in the service network gateway device 105 from the control unit 350. Here, as an example, it is assumed that a plurality of I / F ports of the line card 2 (310) are link-aggregated and connected to the opposite switch 104-1 constituting the core network.

まず、管理者がコマンド等を投入し、制御ユニット350においてリンクアグリゲーションの設定を構成する(ステップ1700)。制御ユニット350は、その設定に基づいて、スイッチユニット320に対して図8のリンクアグリゲーション管理テーブル413のテーブル設定要求を行う(ステップ1701)。スイッチユニット320は、リンクアグリゲーションの設定をもらうと、ラインカード2(310)を介して、対向になるコア網を構成する対向スイッチ104−1との間で、リンクアグリゲーションのネゴシエーションを行う(ステップ1702)。このプロトコルには、たとえば、LACPを用いる。再び管理者がコマンド等を投入し、制御ユニット350において、ルーティングテーブルの設定を構成する(ステップ1703)。制御ユニット350は、その設定に基づいて、スイッチユニット320に対してルーティングテーブル411のテーブル設定要求を行う(ステップ1704)。   First, the administrator inputs a command or the like, and configures link aggregation settings in the control unit 350 (step 1700). Based on the setting, the control unit 350 makes a table setting request for the link aggregation management table 413 of FIG. 8 to the switch unit 320 (step 1701). When the switch unit 320 receives the link aggregation setting, the switch unit 320 negotiates link aggregation with the opposing switch 104-1 constituting the opposing core network via the line card 2 (310) (step 1702). ). For this protocol, for example, LACP is used. The administrator again inputs a command or the like, and configures the setting of the routing table in the control unit 350 (step 1703). Based on the setting, the control unit 350 makes a table setting request for the routing table 411 to the switch unit 320 (step 1704).

図18(a)は、本実施例において、スイッチユニット320が保持するルーティングテーブル411のデータ構成の一例を示す図である。ルーティングテーブル411は、経路1800、入力I/Fポート番号1801、出力I/Fポート番号1802、出力I/FポートのMACアドレス1803、次ホップのルータのMACアドレス1804の項目から構成される。ここで、入力I/Fポート番号1801にある値は、物理I/Fポートとしては存在しない仮想的なI/Fポート番号になる。各経路1800に対して、仮想的な入力I/Fポート1801のエントリを用意し、それぞれに出力I/Fポート番号1802を割り当てる。この出力I/Fポート番号1802には、あるリンクアグリゲーションの構成要素となるI/Fポートの番号を代入する。たとえば、図8のリンクアグリゲーション管理テーブル413に従うと、リングアグリゲーション番号LA1は、P1〜P3のI/Fポートから構成されるので、P1〜P3のいずれかを代入する。ここでは便宜上、図18(a)に示した例のように代入する。たとえば1番目のエントリは、サブネット1.1.0.0/16の経路に一致するパケットに対して、入力I/FポートがV1であれば、P1を出力I/Fポートとし、出力するパケットの送信元MACアドレスに01:00:00:00:00:01を代入し、出力するパケットの送信先MACアドレスに00:33:00:00:00:03を代入することを表す。   FIG. 18A is a diagram illustrating an example of a data configuration of the routing table 411 held by the switch unit 320 in the present embodiment. The routing table 411 includes items of a path 1800, an input I / F port number 1801, an output I / F port number 1802, an output I / F port MAC address 1803, and a next-hop router MAC address 1804. Here, the value in the input I / F port number 1801 is a virtual I / F port number that does not exist as a physical I / F port. For each path 1800, a virtual input I / F port 1801 entry is prepared, and an output I / F port number 1802 is assigned to each entry. In this output I / F port number 1802, the number of an I / F port that is a component of a certain link aggregation is substituted. For example, according to the link aggregation management table 413 of FIG. 8, the ring aggregation number LA1 is composed of P1 to P3 I / F ports, and therefore any one of P1 to P3 is substituted. Here, for convenience, substitution is performed as in the example shown in FIG. For example, if the input I / F port is V1 for the packet that matches the path of the subnet 1.1.0.0/16, the first entry is the packet that is output with P1 as the output I / F port This indicates that 01: 00: 00: 00: 01 is substituted for the source MAC address and 00: 33: 00: 00: 00: 03 is substituted for the destination MAC address of the output packet.

以上で、サービス網ゲートウェイ装置の設定が完了する。   This completes the setting of the service network gateway device.

(B)アクセスゲートウェイ装置にユーザデータパケットを送信する処理
図19は、サービス網ゲートウェイ装置105からアクセスゲートウェイ装置103にユーザデータパケットを転送する手順である。ここでは、サービス網ゲートウェイ装置105のラインカード1(300)が、図1に示したサービス網106にネットワーク接続されているとする。また、ラインカード2(310)が図1に示したコア網104にネットワーク接続されているとする。
(B) Processing for Transmitting User Data Packet to Access Gateway Device FIG. 19 shows a procedure for transferring a user data packet from the service network gateway device 105 to the access gateway device 103. Here, it is assumed that the line card 1 (300) of the service network gateway apparatus 105 is connected to the service network 106 shown in FIG. Further, it is assumed that the line card 2 (310) is connected to the core network 104 shown in FIG.

まず、対向装置107から特定のユーザ端末宛てのユーザデータパケットが、ラインカード1(300)に届く(ステップ1900)。ラインカード1(300)は、そのユーザデータパケットを処理可能なパケット処理カード1(330)を特定する(ステップ1901)。ラインカード1(300)はユーザデータパケットをパケット処理カード1(330)宛てに送信する(ステップ1902)。パケット処理カード1(330)は、スイッチユニット320を介してユーザデータパケットを受信する(ステップ1903)。パケット処理カード1(330)は、図13のユーザ端末情報テーブル511を参照し、移動体通信に係る処理を行い、ユーザデータパケットを転送すべきアクセスゲートウェイ装置103を特定する(ステップ1904)。   First, a user data packet addressed to a specific user terminal is sent from the opposite device 107 to the line card 1 (300) (step 1900). The line card 1 (300) specifies the packet processing card 1 (330) that can process the user data packet (step 1901). The line card 1 (300) transmits the user data packet to the packet processing card 1 (330) (step 1902). The packet processing card 1 (330) receives the user data packet via the switch unit 320 (step 1903). The packet processing card 1 (330) refers to the user terminal information table 511 of FIG. 13, performs processing related to mobile communication, and specifies the access gateway device 103 to which the user data packet is to be transferred (step 1904).

また、パケット処理カード1(330)は、ユーザ端末情報テーブル511から呼番号も取得する。パケット処理カード1(330)は、この呼番号をハッシュ関数Hにかけてハッシュ値を計算し、スイッチユニット320とパケットをやり取りするために付加する内部通信用の内部ヘッダに、ハッシュ値を付加する(ステップ1905)。   The packet processing card 1 (330) also acquires a call number from the user terminal information table 511. The packet processing card 1 (330) calculates the hash value by applying this call number to the hash function H, and adds the hash value to the internal header for internal communication added to exchange the packet with the switch unit 320 (step). 1905).

図20(a)は、本実施例において、パケット処理カード1(330)がスイッチユニット320に対して出力するユーザデータパケット構成の一例を示す図である。ユーザデータパケット2000は、先頭から、内部ヘッダ2001、イーサヘッダ2002、IPヘッダ2003、カプセルヘッダ2004、IPヘッダ2005、ユーザデータ2006から構成される。すなわち、図2のパケットフォーマットに内部ヘッダ2001が付加された形になる。ただし、イーサヘッダ2002の送信先/送信元MACアドレスは、スイッチユニット320のルーティング処理後に正しく付けられるため、この時点ではデフォルトの規定値が代入されている。内部ヘッダ2001には、入力I/Fポート番号と出力I/Fポート番号を付加することができる。この入力I/Fポート番号の部分に上記で計算したH(呼番号)の値を代入する。したがって、この入力I/Fポート番号は仮想的なI/Fポートの番号となる。   FIG. 20A is a diagram illustrating an example of a user data packet configuration that the packet processing card 1 (330) outputs to the switch unit 320 in the present embodiment. The user data packet 2000 includes an internal header 2001, an ether header 2002, an IP header 2003, a capsule header 2004, an IP header 2005, and user data 2006 from the top. That is, the internal header 2001 is added to the packet format of FIG. However, since the destination / source MAC address of the ether header 2002 is correctly assigned after the routing processing of the switch unit 320, the default specified value is substituted at this point. An input I / F port number and an output I / F port number can be added to the internal header 2001. The value of H (call number) calculated above is substituted for this input I / F port number. Therefore, this input I / F port number is a virtual I / F port number.

図19に戻る。パケット処理カード1(330)は、図20(a)に示したパケットフォーマットの形にユーザデータパケットを加工し、スイッチユニット320に送信する(ステップ1906)。スイッチユニット320は、内部ヘッダ2001から入力I/Fポート番号を抽出する。抽出した入力I/Fポート番号に基づいて図18のルーティングテーブル411の経路1100と入力I/Fポート番号1801を検索し、出力I/Fポートを決定する(ステップ1907)。スイッチユニット320は、ユーザデータパケットを出力I/Fポートを持つラインカード2(310)に渡す(ステップ1908)。   Returning to FIG. The packet processing card 1 (330) processes the user data packet into the packet format shown in FIG. 20A and transmits it to the switch unit 320 (step 1906). The switch unit 320 extracts the input I / F port number from the internal header 2001. Based on the extracted input I / F port number, the route 1100 and the input I / F port number 1801 of the routing table 411 in FIG. 18 are searched to determine the output I / F port (step 1907). The switch unit 320 passes the user data packet to the line card 2 (310) having the output I / F port (step 1908).

図20(b)は、本実施例において、スイッチユニット320がラインカード2(310)に対して出力するユーザデータパケット構成の一例を示す図である。パケットヘッダの構成は、図20(a)と同様である。スイッチユニット320は、ステップ1907で決定した出力I/Fポートに従って、内部ヘッダ2001の出力I/Fポート番号と、イーサヘッダ2002の送信先/送信元MACアドレスを補完する。   FIG. 20B is a diagram illustrating an example of a user data packet configuration that the switch unit 320 outputs to the line card 2 (310) in the present embodiment. The configuration of the packet header is the same as that in FIG. The switch unit 320 complements the output I / F port number of the internal header 2001 and the destination / source MAC address of the Ethernet header 2002 according to the output I / F port determined in step 1907.

図19に戻る。ラインカード2(310)は、スイッチユニット320に指示された出力I/Fポートからユーザデータパケットを、アクセスゲートウェイ装置103に向けて送信する(ステップ1909)。   Returning to FIG. The line card 2 (310) transmits the user data packet from the output I / F port instructed to the switch unit 320 to the access gateway apparatus 103 (step 1909).

以上の手順を踏むことで、サービス網ゲートウェイ装置内のパケット処理カードは、同装置内のスイッチユニットが抽出できる形態でユーザ端末に対応する情報を付加することが可能になる。そして、スイッチユニットは、そのユーザ端末に対応する情報を抽出し、その情報を用いて出力I/Fポートを決定することが可能になる。ユーザ端末ごとに出力I/Fポートを割り当てることになり、リンクアグリゲーションされた複数のI/Fポート間の出力負荷の均等化に大きく貢献する。これによって、リンクアグリゲーションを正しく機能させ、サービス網ゲートウェイ装置におけるI/Fポートの利用効率を向上し、また装置全体の総出力スループットを向上することができる。また、あるアクセスゲートウェイ装置に対する出力スループットをリンク速度以上にすることができる。   By following the above procedure, the packet processing card in the service network gateway apparatus can add information corresponding to the user terminal in a form that can be extracted by the switch unit in the apparatus. Then, the switch unit can extract information corresponding to the user terminal and determine an output I / F port using the information. An output I / F port is assigned to each user terminal, which greatly contributes to equalization of output load among a plurality of link-aggregated I / F ports. As a result, link aggregation can function correctly, the utilization efficiency of the I / F port in the service network gateway apparatus can be improved, and the total output throughput of the entire apparatus can be improved. Also, the output throughput for a certain access gateway device can be made higher than the link speed.

なお、上記ではユーザ端末に対応する情報として呼番号を用いたが、ユーザ端末のIPアドレスや電話番号、端末個体番号など、ユーザ端末に対して一貫性のある値であれば代替できる。   In the above description, the call number is used as the information corresponding to the user terminal. However, any value that is consistent with the user terminal, such as the IP address, telephone number, or individual terminal number of the user terminal, can be substituted.

(C)I/Fポートの負荷に応じてルーティングテーブルを動的に設定する処理
上記シーケンス(B)の段階で、ユーザ端末個別の要素を加えることで、リンクアグリゲーションハッシュ計算の分散性は十分に良くなる。しかしながら、トラヒックの変動により、リンクアグリゲーションを構成するI/Fポート間の負荷が偏ってしまう確率は低いもののゼロにはならない。そこで、さらにI/Fポートの通過パケット量によって負荷を均等化する。
(C) Processing for dynamically setting the routing table according to the load on the I / F port At the stage of the sequence (B), by adding an element for each user terminal, the dispersibility of link aggregation hash calculation is sufficient. Get better. However, although the probability that the load between the I / F ports constituting the link aggregation is biased due to the fluctuation of traffic is low, it is not zero. Therefore, the load is further equalized by the amount of packets passing through the I / F port.

図21は、I/Fポートの負荷に応じて、制御ユニット350がスイッチユニット320のルーティングテーブルを動的に設定する手順である。まず、制御ユニット350は、スイッチユニット320から定期的にI/Fポートの通過パケット量の統計情報取得を実行する(ステップ2100)。統計情報を取得するため、制御ユニット350は、スイッチユニット320に対してI/F統計情報取得要求を行う(ステップ2101)。その後、スイッチユニット320からI/F統計情報取得応答を受け取り、I/F統計情報テーブル615を更新する(ステップ2102)。ステップ2100〜2102は、定期的に繰り返し実行される。   FIG. 21 shows a procedure in which the control unit 350 dynamically sets the routing table of the switch unit 320 according to the load on the I / F port. First, the control unit 350 periodically acquires statistical information on the amount of packets passing through the I / F port from the switch unit 320 (step 2100). In order to acquire statistical information, the control unit 350 makes an I / F statistical information acquisition request to the switch unit 320 (step 2101). Thereafter, an I / F statistical information acquisition response is received from the switch unit 320, and the I / F statistical information table 615 is updated (step 2102). Steps 2100 to 2102 are repeatedly executed periodically.

図22は、制御ユニット350が保持するI/F統計情報テーブル615のデータ構成の一例を示す図である。I/F統計情報テーブル615は、入力I/Fポート番号2200と出力I/Fポート番号2201のマトリクスになる。スイッチユニット320は、図20(b)に示した内部ヘッダ2001の入力と出力I/Fポート番号の組と通過パケット量を計測している。制御ユニット350は、この情報を取得し、たとえば移動平均として秒間パケット量を記録する。たとえば、入力V2→出力P2に流れた秒間パケット量は5Gbpsであり、入力V3→出力P2に流れた秒間パケット量は4Gbpsである。このとき、I/Fポート番号P2の総出力は9Gbpsになっている。   FIG. 22 is a diagram illustrating an example of a data configuration of the I / F statistical information table 615 held by the control unit 350. The I / F statistical information table 615 is a matrix of input I / F port numbers 2200 and output I / F port numbers 2201. The switch unit 320 measures a set of input and output I / F port numbers of the internal header 2001 shown in FIG. The control unit 350 obtains this information and records the amount of packets per second as a moving average, for example. For example, the packet amount per second flowing from the input V2 to the output P2 is 5 Gbps, and the packet amount flowing per second from the input V3 to the output P2 is 4 Gbps. At this time, the total output of the I / F port number P2 is 9 Gbps.

図21に戻る。制御ユニット350は、I/F統計情報テーブル615を検査して、リンクアグリゲーションを構成するI/Fポート間で負荷の偏りの発生を検知する(ステップ2103)。制御ユニット350は、負荷の偏りを解消すべく、ルーティングテーブルの設定の変更を決定し(ステップ2104)、スイッチユニット320に対してテーブル設定要求を行う(ステップ2105)。   Returning to FIG. The control unit 350 checks the I / F statistical information table 615 and detects the occurrence of a load bias between the I / F ports constituting the link aggregation (step 2103). The control unit 350 determines to change the setting of the routing table in order to eliminate the load bias (step 2104), and makes a table setting request to the switch unit 320 (step 2105).

図18(b)は、スイッチユニット320が保持する、I/Fポートの負荷に応じて動的に変更された後のルーティングテーブル411のデータ構成の一例を示す図である。図22のI/F統計情報テーブル615によれば、出力I/Fポート番号P2の負荷が高くなっている。そこで、図18(b)のルーティングテーブル411のように、1.1.0.0/16の経路における入力I/Fポート番号V3のエントリについて、出力I/Fポート番号がP2からP3に変更する。これによりP2の出力I/Fポートの負荷が減り、P3の出力I/Fポートの負荷が増えることになり、結果としてP1〜P3のI/Fポート間の負荷が均等化される。   FIG. 18B is a diagram illustrating an example of a data configuration of the routing table 411 that is held by the switch unit 320 and dynamically changed according to the load of the I / F port. According to the I / F statistical information table 615 of FIG. 22, the load of the output I / F port number P2 is high. Therefore, as shown in the routing table 411 in FIG. 18B, the output I / F port number is changed from P2 to P3 for the entry of the input I / F port number V3 in the route of 1.1.0.0/16. To do. This reduces the load on the P2 output I / F port and increases the load on the P3 output I / F port. As a result, the load between the P1 to P3 I / F ports is equalized.

以上の手順を踏むことで、出力I/Fポート間の負荷に応じて、動的にルーティングテーブルを変更することが可能になる。これにより、リンクアグリゲーションされた複数のI/Fポート間の出力負荷の更なる均等化に大きく貢献する。   By following the above procedure, the routing table can be dynamically changed according to the load between the output I / F ports. This greatly contributes to further equalization of the output load between the plurality of link-aggregated I / F ports.

<処理(フローチャート)>
本実施の形態のサービス網ゲートウェイ装置は3つの動作から成る。具体的には、パケット処理カードにおけるユーザデータパケット出力処理の動作、スイッチユニットにおけるパケット転送処理の動作、制御ユニットにおけるルーティングテーブル動的設定処理の動作である。以下、図23〜25を用いて、サービス網ゲートウェイ装置の動作の処理フローを説明する。
<Process (flow chart)>
The service network gateway apparatus according to the present embodiment includes three operations. Specifically, the operations are user data packet output processing in the packet processing card, packet transfer processing in the switch unit, and routing table dynamic setting processing in the control unit. Hereinafter, the processing flow of the operation of the service network gateway apparatus will be described with reference to FIGS.

図23は、パケット処理カード1(330)におけるユーザデータパケット出力処理のフローチャート図である。まず、スイッチユニット320を介して、ユーザデータパケットを受信する(ステップ2300)。ユーザデータパケットのヘッダ情報から図13のユーザ端末情報テーブルを検索し、ユーザ端末情報を取得する(ステップ2301)。そして、ユーザデータパケットの次の転送先を特定する(ステップ2302)。転送先がアクセスゲートウェイ装置103である場合、ユーザデータパケットのIPカプセル化を行う(ステップ2303)。その後、図20(a)のように内部ヘッダ2001も付加し、呼番号のハッシュ値を計算して内部ヘッダに代入する(ステップ2304)。最後に、そのユーザデータパケットをスイッチユニット320に送信して(2306)、処理を終了する(ステップ2307)。   FIG. 23 is a flowchart of user data packet output processing in the packet processing card 1 (330). First, a user data packet is received through the switch unit 320 (step 2300). The user terminal information table of FIG. 13 is searched from the header information of the user data packet, and the user terminal information is acquired (step 2301). Then, the next transfer destination of the user data packet is specified (step 2302). When the transfer destination is the access gateway apparatus 103, IP encapsulation of the user data packet is performed (step 2303). Thereafter, as shown in FIG. 20A, an internal header 2001 is also added, and a hash value of the call number is calculated and substituted into the internal header (step 2304). Finally, the user data packet is transmitted to the switch unit 320 (2306), and the process is terminated (step 2307).

ステップ2302に戻り、転送先が対向装置107である場合、ユーザデータパケットに対して、ゲートウェイ装置間転送のIPヘッダを削除してIPカプセル化を解除する(ステップ2305)。最後に、そのユーザデータパケットをスイッチユニット320に送信して(2306)、処理を終了する(ステップ2307)。   Returning to Step 2302, when the transfer destination is the opposite device 107, the IP header of the transfer between gateway devices is deleted from the user data packet to release the IP encapsulation (Step 2305). Finally, the user data packet is transmitted to the switch unit 320 (2306), and the process is terminated (step 2307).

図24は、スイッチユニット320におけるパケット転送処理のフローチャートである。まず、いずれかのラインカード、またはパケット処理カードからユーザデータパケットを受信する(ステップ2400)。ユーザデータパケットに付加された内部ヘッダから入力I/Fポート番号を抽出する(ステップ2401)。ユーザデータパケットのヘッダ情報と抽出した入力I/Fポート番号から図18(a)、または図18(b)のルーティングテーブル411を検索し、出力I/Fポート番号を取得する(ステップ2402)。ルーティングテーブルに従ってユーザデータパケットを送信し(ステップ2403)、処理を終了する(ステップ2404)。   FIG. 24 is a flowchart of packet transfer processing in the switch unit 320. First, a user data packet is received from any line card or packet processing card (step 2400). The input I / F port number is extracted from the internal header added to the user data packet (step 2401). The routing table 411 of FIG. 18A or 18B is searched from the header information of the user data packet and the extracted input I / F port number, and the output I / F port number is acquired (step 2402). A user data packet is transmitted according to the routing table (step 2403), and the process is terminated (step 2404).

以上の手順を踏むことで、サービス網ゲートウェイ装置内のパケット処理カードは、同装置内のスイッチユニットが抽出できる形態でユーザ端末に対応する情報を付加することが可能になる。そして、スイッチユニットは、そのユーザ端末に対応する情報を抽出し、その情報を用いて出力I/Fポートを決定することが可能になる。ユーザ端末ごとに出力I/Fポートを割り当てることになり、リンクアグリゲーションされた複数のI/Fポート間の出力負荷の均等化に大きく貢献する。これによって、リンクアグリゲーションを正しく機能させ、サービス網ゲートウェイ装置におけるI/Fポートの利用効率を向上し、また装置全体の総出力スループットを向上することができる。また、あるアクセスゲートウェイ装置に対する出力スループットをリンク速度以上にすることができる。   By following the above procedure, the packet processing card in the service network gateway apparatus can add information corresponding to the user terminal in a form that can be extracted by the switch unit in the apparatus. Then, the switch unit can extract information corresponding to the user terminal and determine an output I / F port using the information. An output I / F port is assigned to each user terminal, which greatly contributes to equalization of output load among a plurality of link-aggregated I / F ports. As a result, link aggregation can function correctly, the utilization efficiency of the I / F port in the service network gateway apparatus can be improved, and the total output throughput of the entire apparatus can be improved. Also, the output throughput for a certain access gateway device can be made higher than the link speed.

なお、上記ではユーザ端末に対応する情報として呼番号を用いたが、ユーザ端末のIPアドレスや電話番号、端末個体番号など、ユーザ端末に対して一貫性のある値であれば代替できる。   In the above description, the call number is used as the information corresponding to the user terminal. However, any value that is consistent with the user terminal, such as the IP address, telephone number, or individual terminal number of the user terminal, can be substituted.

図25は、制御ユニット350におけるルーティングテーブル動的設定処理のフローチャート図である。本処理は、繰り返し実行されるものである。まず処理を開始する(ステップ2500)。定期的にスイッチユニット320からI/Fポートの通過パケット量統計情報を取得して移動平均を計算し、図22のI/F統計情報テーブル615を逐次更新する(ステップ2501)。I/F統計情報テーブル615の各出力I/Fポートの総出力合計値を検査して、リンクアグリゲーションを構成するI/Fポート間で負荷の偏りの発生を検出する。具体的には、負荷が事前設定した閾値(たとえば10Gbpsのリンク速度に対して閾値8Gbpsなど)を超えた出力I/Fポートが存在するかを調べる(ステップ2502)。存在しない場合には、ステップ2501の処理に戻る。一方、存在する場合には、閾値を超えていない他の出力I/Fポートにパケット出力を割り振って、負荷を均等化するようにルーティングテーブル411の設定を変更する(ステップ2503)。変更後のルーティングテーブル411は、たとえば図18(b)である。図22のI/F統計情報テーブル615によれば、出力I/Fポート番号P2の負荷が高くなっている。そこで、図18(b)のルーティングテーブル411のように、1.1.0.0/16の経路における入力I/Fポート番号V3のエントリについて、出力I/Fポート番号をP2からP3に変更する。これによりP2の出力I/Fポートの負荷が減り、P3の出力I/Fポートの負荷が増えることになり、結果としてP1〜P3のI/Fポート間の負荷が均等化される。以上の処理を繰り返し実行する(ステップ2504)。   FIG. 25 is a flowchart of the routing table dynamic setting process in the control unit 350. This process is repeatedly executed. First, the process is started (step 2500). Periodically, the passing packet amount statistical information of the I / F port is acquired from the switch unit 320, the moving average is calculated, and the I / F statistical information table 615 of FIG. 22 is sequentially updated (step 2501). The total output total value of each output I / F port in the I / F statistical information table 615 is inspected to detect the occurrence of load bias between the I / F ports constituting the link aggregation. Specifically, it is checked whether there is an output I / F port whose load exceeds a preset threshold (for example, a threshold of 8 Gbps for a link speed of 10 Gbps) (step 2502). If not, the process returns to step 2501. On the other hand, if it exists, the packet output is allocated to other output I / F ports that do not exceed the threshold value, and the setting of the routing table 411 is changed so as to equalize the load (step 2503). The changed routing table 411 is, for example, FIG. According to the I / F statistical information table 615 of FIG. 22, the load of the output I / F port number P2 is high. Therefore, as shown in the routing table 411 in FIG. 18B, the output I / F port number is changed from P2 to P3 for the entry of the input I / F port number V3 in the route of 1.1.0.0/16. To do. This reduces the load on the P2 output I / F port and increases the load on the P3 output I / F port. As a result, the load between the P1 to P3 I / F ports is equalized. The above processing is repeatedly executed (step 2504).

以上の手順を踏むことで、出力I/Fポート間の負荷に応じて、動的にルーティングテーブルを変更することが可能になる。これにより、リンクアグリゲーションされた複数のI/Fポート間の出力負荷のさらなる均等化に大きく貢献する。   By following the above procedure, the routing table can be dynamically changed according to the load between the output I / F ports. This greatly contributes to further equalization of output loads among a plurality of link-aggregated I / F ports.

第3の実施例として、パケット通信システムの場合のゲートウェイ装置、及びパケット通信方法を、そのシステム、処理の順に説明する。本実施例では、パケット処理カードが、ユーザ端末に対応する情報(例えば、呼番号)をイーサヘッダに付加し、スイッチユニットがその情報を用いてハッシュ値を計算することで、出力I/Fポートを決定することを特徴とする。これにより、複数のI/Fポート間の出力負荷の分散性を向上させることができる。   As a third embodiment, a gateway device and a packet communication method in the case of a packet communication system will be described in the order of the system and processing. In the present embodiment, the packet processing card adds information (for example, call number) corresponding to the user terminal to the ether header, and the switch unit calculates a hash value using the information, whereby the output I / F port It is characterized by determining. Thereby, the dispersibility of the output load among a plurality of I / F ports can be improved.

<システム>
本発明が適用される通信システムの構成、ゲートウェイ装置のハードウェア構成、ゲートウェイ装置内部のスイッチユニット、パケット処理カード、および制御ユニットのソフトウェア構成は、実施例1と同様である。ただし、実施例3では、スイッチユニット320において、図9のプロトコル管理テーブル414の内容をスイッチチップ325に設定する必要がないため、スイッチチップ325のハードウェア構成を簡略化することが可能となる。
<System>
The configuration of the communication system to which the present invention is applied, the hardware configuration of the gateway device, the software configuration of the switch unit, the packet processing card, and the control unit inside the gateway device are the same as those in the first embodiment. However, in the third embodiment, in the switch unit 320, it is not necessary to set the contents of the protocol management table 414 in FIG. 9 in the switch chip 325, so that the hardware configuration of the switch chip 325 can be simplified.

<処理(シーケンス)>
本実施の形態のサービス網ゲートウェイにおいて、スイッチユニットが、パケット処理カードの出力するユーザデータパケットに付加されたユーザ端末に対応する情報を抽出し、その情報を用いて出力I/Fポートを決定するする処理について、2つの手順を説明する。具体的には、(A)サービス網ゲートウェイ装置を設定する処理、(B)アクセスゲートウェイ装置にユーザデータパケットを送信する処理の手順である。
<Process (sequence)>
In the service network gateway according to the present embodiment, the switch unit extracts information corresponding to the user terminal added to the user data packet output from the packet processing card, and determines the output I / F port using the information. Two procedures will be described for the processing to be performed. Specifically, (A) a process for setting a service network gateway device and (B) a procedure for transmitting a user data packet to the access gateway device.

(A)サービス網ゲートウェイ装置を設定する処理
図26は、制御ユニット350からサービス網ゲートウェイ装置105内のラインカード2(310)とスイッチユニット320を設定する手順である。ここでは一例として、ラインカード2(310)の有する複数のI/Fポートがリンクアグリゲーションされ、コア網を構成する対向スイッチ104−1にネットワーク接続されているものとする。まず、管理者がコマンド等を投入し、制御ユニット350においてリンクアグリゲーションの設定を構成する(ステップ2600)。制御ユニット350は、その設定に基づいて、スイッチユニット320に対して図8のリンクアグリゲーション管理テーブル413のテーブル設定要求を行う(ステップ2601)。スイッチユニット320は、リンクアグリゲーションの設定をもらうと、ラインカード2(310)を介して、対向になるコア網を構成する対向スイッチ104−1との間で、リンクアグリゲーションのネゴシエーションを行う(ステップ2602)。このプロトコルには、たとえば、LACPを用いる。再び管理者がコマンド等を投入し、制御ユニット350において、一部のMACアドレスについて静的なMACアドレステーブルの設定を構成する(ステップ2603)。制御ユニット350は、その設定に基づいて、スイッチユニット320に対してMACアドレステーブル412のテーブル設定要求を行う(ステップ2604)。
(A) Processing for Setting Service Network Gateway Device FIG. 26 shows a procedure for setting the line card 2 (310) and the switch unit 320 in the service network gateway device 105 from the control unit 350. Here, as an example, it is assumed that a plurality of I / F ports of the line card 2 (310) are link-aggregated and connected to the opposite switch 104-1 constituting the core network. First, the administrator inputs a command or the like, and configures the link aggregation setting in the control unit 350 (step 2600). Based on the setting, the control unit 350 makes a table setting request for the link aggregation management table 413 in FIG. 8 to the switch unit 320 (step 2601). When the switch unit 320 receives the link aggregation setting, the switch unit 320 negotiates link aggregation with the opposite switch 104-1 constituting the opposite core network via the line card 2 (310) (step 2602). ). For this protocol, for example, LACP is used. The administrator again inputs a command and the like, and the control unit 350 configures static MAC address table settings for some MAC addresses (step 2603). Based on the setting, the control unit 350 makes a table setting request for the MAC address table 412 to the switch unit 320 (step 2604).

図27は、スイッチユニット320が保持するMACアドレステーブル412のデータ構成の一例を示す図である。MACアドレステーブル412は、MACアドレス2700、登録状態2701、I/Fポート番号2702の項目からなる。MACアドレステーブルとは、本来、あるI/Fポートから入力したパケットの送信元MACアドレスを動的に学習し、どのI/Fポートの先にどのMACアドレスの機器が接続されているかを記したテーブルである。ここでは、動的学習ではなく、登録状態2701をあらかじめ静的に設定をしている。I/Fポート番号2702には、物理的には存在しないダミーの番号を代入している。このようなMACアドレステーブル412を設定する効果については、シーケンス(B)にて後述する。   FIG. 27 is a diagram illustrating an example of a data configuration of the MAC address table 412 held by the switch unit 320. The MAC address table 412 includes items of a MAC address 2700, a registration state 2701, and an I / F port number 2702. Originally, the MAC address table dynamically learns the source MAC address of a packet input from a certain I / F port, and describes which MAC address device is connected to which I / F port. It is a table. Here, instead of dynamic learning, the registration state 2701 is statically set in advance. A dummy number that does not physically exist is assigned to the I / F port number 2702. The effect of setting the MAC address table 412 will be described later in the sequence (B).

図26に戻る。再び管理者がコマンド等を投入し、制御ユニット350において、ルーティングテーブルの設定を構成する(ステップ2605)。制御ユニット350は、その設定に基づいて、スイッチユニット320に対して図11のルーティングテーブル411のテーブル設定要求を行う(ステップ2606)。   Returning to FIG. The administrator again inputs a command or the like, and configures the setting of the routing table in the control unit 350 (step 2605). Based on the setting, the control unit 350 makes a table setting request for the routing table 411 in FIG. 11 to the switch unit 320 (step 2606).

以上で、サービス網ゲートウェイ装置の設定が完了する。   This completes the setting of the service network gateway device.

(B)アクセスゲートウェイ装置にユーザデータパケットを送信する処理
図28は、サービス網ゲートウェイ装置105からアクセスゲートウェイ装置103にユーザデータパケットを転送する手順である。ここでは、サービス網ゲートウェイ装置105のラインカード1(300)が、図1に示したサービス網106にネットワーク接続されているとする。また、ラインカード2(310)が図1に示したコア網104にネットワーク接続されているとする。
(B) Processing for Transmitting User Data Packet to Access Gateway Device FIG. 28 shows a procedure for transferring a user data packet from the service network gateway device 105 to the access gateway device 103. Here, it is assumed that the line card 1 (300) of the service network gateway apparatus 105 is connected to the service network 106 shown in FIG. Further, it is assumed that the line card 2 (310) is connected to the core network 104 shown in FIG.

まず、対向装置107から特定のユーザ端末宛てのユーザデータパケットが、ラインカード1(300)に届く(ステップ2800)。ラインカード1(300)は、そのユーザデータパケットを処理可能なパケット処理カード1(330)を特定する(ステップ2801)。ラインカード1(300)はユーザデータパケットをパケット処理カード1(330)宛てに送信する(ステップ2802)。パケット処理カード1(330)は、スイッチユニット320を介してユーザデータパケットを受信する(ステップ2803)。パケット処理カード1(330)は、図13のユーザ端末情報テーブル511を参照し、移動体通信に係る処理を行い、ユーザデータパケットを転送すべきアクセスゲートウェイ装置103を特定する(ステップ2804)。また、ユーザ端末情報テーブル511から呼番号も取得する。パケット処理カード1(330)は、この呼番号をハッシュ関数Hにかけてハッシュ値を計算し、ユーザデータパケットのイーサヘッダに付加する(ステップ2805)。   First, a user data packet addressed to a specific user terminal is sent from the opposite device 107 to the line card 1 (300) (step 2800). The line card 1 (300) specifies the packet processing card 1 (330) that can process the user data packet (step 2801). The line card 1 (300) transmits the user data packet to the packet processing card 1 (330) (step 2802). The packet processing card 1 (330) receives the user data packet via the switch unit 320 (step 2803). The packet processing card 1 (330) refers to the user terminal information table 511 of FIG. 13, performs processing related to mobile communication, and specifies the access gateway device 103 to which the user data packet is to be transferred (step 2804). Also, the call number is obtained from the user terminal information table 511. The packet processing card 1 (330) calculates the hash value by applying this call number to the hash function H, and adds it to the ether header of the user data packet (step 2805).

図29(a)は、本実施例において、パケット処理カード1(330)がスイッチユニット320に対して出力するユーザデータパケット構成の一例を示す図である。ユーザデータパケット2900は、先頭から、内部ヘッダ2901、イーサヘッダ2902、IPヘッダ2903、カプセルヘッダ2904、IPヘッダ2905、ユーザデータ2906から構成される。すなわち、図2のパケットフォーマットに内部ヘッダ2901が付加された形になる。ただし、イーサヘッダ2902の送信先/送信元MACアドレスは、スイッチユニット320のルーティング処理後に正しく付けられるため、この時点ではデフォルトの規定値、または任意の値が代入されている。ここで、送信元MACアドレスには、上記で計算したH(呼番号)の値をMACアドレスとして代入する。具体的には、たとえば、以下のようにMACアドレスを算出する。   FIG. 29A is a diagram showing an example of a user data packet configuration output from the packet processing card 1 (330) to the switch unit 320 in the present embodiment. A user data packet 2900 includes an internal header 2901, an Ethernet header 2902, an IP header 2903, a capsule header 2904, an IP header 2905, and user data 2906 from the top. That is, the internal header 2901 is added to the packet format of FIG. However, since the transmission destination / source MAC address of the Ethernet header 2902 is correctly assigned after the routing processing of the switch unit 320, a default specified value or an arbitrary value is substituted at this time. Here, the value of H (call number) calculated above is substituted for the source MAC address as the MAC address. Specifically, for example, the MAC address is calculated as follows.

MAC(呼番号)=(02:02:02:00:00:00)+H(呼番号) (ただし関数Hの出力バイト数は3バイト)
上記のようにイーサヘッダ2902の送信元MACアドレスは、実際には実在しない仮想的なMACアドレスのものとなる。そのため、MAC(呼番号)が取り得る値に対して、図27のようにMACアドレステーブル412を静的に設定しておくことで、スイッチユニット320が、実在しない仮想的なMACアドレスを誤って毎回学習しないようにする。
MAC (call number) = (02: 02: 02: 00: 00: 00) + H (call number) (however, the number of output bytes of function H is 3 bytes)
As described above, the source MAC address of the Ethernet header 2902 is a virtual MAC address that does not actually exist. Therefore, by setting the MAC address table 412 statically as shown in FIG. 27 with respect to the values that the MAC (call number) can take, the switch unit 320 erroneously sets a virtual MAC address that does not exist. Avoid learning every time.

図28に戻る。パケット処理カード1(330)は、図29(a)に示したパケットフォーマットの形にユーザデータパケットを加工し、スイッチユニット320に送信する(ステップ2806)。スイッチユニット320は、図11のルーティングテーブル411の経路1100を検索し、出力I/Fポートを決定する(ステップ2807)。出力I/Fポートがリンクアグリゲーションされたものである場合、図8のリンクアグリゲーション管理テーブル413のリングアグリゲーション番号800を検索し、構成する出力I/Fの物理ポート情報を取得する。背景技術にて述べた通常のリンクアグリゲーションハッシュ計算アルゴリズムを用いてハッシュ値を計算する(ステップ2808)。つまり、イーサヘッダ201、IPヘッダ202を抽出して、ハッシュ値を計算する。このハッシュ計算の入力パラメータには、MAC(呼番号)を含むことになり、ハッシュ値の分散性が向上する。スイッチユニット320は、上記ハッシュ値を出力I/F物理ポート数で割った剰余を計算して、出力すべきラインカード2(310)と出力I/Fの物理ポート番号を決定し、ユーザデータパケットをラインカード2(310)に渡す(ステップ2809)。   Returning to FIG. The packet processing card 1 (330) processes the user data packet into the packet format shown in FIG. 29A and transmits it to the switch unit 320 (step 2806). The switch unit 320 searches the route 1100 in the routing table 411 in FIG. 11 and determines an output I / F port (step 2807). If the output I / F port has been link-aggregated, the ring aggregation number 800 in the link aggregation management table 413 in FIG. 8 is searched to obtain the physical port information of the configured output I / F. A hash value is calculated using the normal link aggregation hash calculation algorithm described in the background art (step 2808). That is, the ether header 201 and the IP header 202 are extracted and the hash value is calculated. The input parameter for this hash calculation includes the MAC (call number), which improves the dispersibility of the hash value. The switch unit 320 calculates the remainder obtained by dividing the hash value by the number of output I / F physical ports, determines the line card 2 (310) to be output and the physical port number of the output I / F, and outputs the user data packet. Is transferred to the line card 2 (310) (step 2809).

図29(b)は、スイッチユニット320がラインカード2(310)に対して出力するユーザデータパケット構成の一例を示す図である。パケットヘッダの構成は、図29(a)と同様である。スイッチユニット320は、内部ヘッダ2901の出力I/Fポート番号と、イーサヘッダ2902の送信先/送信元MACアドレスを補完する。   FIG. 29B is a diagram showing an example of a user data packet configuration that the switch unit 320 outputs to the line card 2 (310). The configuration of the packet header is the same as that shown in FIG. The switch unit 320 complements the output I / F port number of the internal header 2901 and the destination / source MAC address of the Ethernet header 2902.

図28に戻る。ラインカード2(310)は、スイッチユニット320に指示された出力I/Fポートからユーザデータパケットを、アクセスゲートウェイ装置103に向けて送信する(ステップ2810)。   Returning to FIG. The line card 2 (310) transmits the user data packet from the output I / F port instructed to the switch unit 320 to the access gateway apparatus 103 (step 2810).

以上の手順を踏むことで、サービス網ゲートウェイ装置内のパケット処理カードは、同装置内のスイッチユニットが抽出できる形態でユーザ端末に対応する情報を付加することが可能になる。そして、スイッチユニットは、そのユーザ端末に対応する情報を抽出し、その情報を用いて出力I/Fポートを決定することが可能になる。ユーザ端末ごとに出力I/Fポートを割り当てることになり、リンクアグリゲーションされた複数のI/Fポート間の出力負荷の均等化に大きく貢献する。これによって、リンクアグリゲーションを正しく機能させ、サービス網ゲートウェイ装置におけるI/Fポートの利用効率を向上し、また装置全体の総出力スループットを向上することができる。また、あるアクセスゲートウェイ装置に対する出力スループットをリンク速度以上にすることができる。   By following the above procedure, the packet processing card in the service network gateway apparatus can add information corresponding to the user terminal in a form that can be extracted by the switch unit in the apparatus. Then, the switch unit can extract information corresponding to the user terminal and determine an output I / F port using the information. An output I / F port is assigned to each user terminal, which greatly contributes to equalization of output load among a plurality of link-aggregated I / F ports. As a result, link aggregation can function correctly, the utilization efficiency of the I / F port in the service network gateway apparatus can be improved, and the total output throughput of the entire apparatus can be improved. Also, the output throughput for a certain access gateway device can be made higher than the link speed.

なお、上記ではユーザ端末に対応する情報として呼番号を用いたが、ユーザ端末のIPアドレスや電話番号、端末個体番号など、ユーザ端末に対して一貫性のある値であれば代替できる。   In the above description, the call number is used as the information corresponding to the user terminal. However, any value that is consistent with the user terminal, such as the IP address, telephone number, or individual terminal number of the user terminal, can be substituted.

<処理(フローチャート)>
本実施の形態のサービス網ゲートウェイ装置は2つの動作から成る。具体的には、パケット処理カードにおけるユーザデータパケット出力処理の動作、スイッチユニットにおけるパケット転送処理の動作である。以下、図30〜31を用いて、サービス網ゲートウェイ装置の動作の処理フローを説明する。
<Process (flow chart)>
The service network gateway apparatus of this embodiment consists of two operations. Specifically, it is an operation of user data packet output processing in the packet processing card and an operation of packet transfer processing in the switch unit. Hereinafter, the processing flow of the operation of the service network gateway apparatus will be described with reference to FIGS.

図30は、パケット処理カード1(330)におけるユーザデータパケット出力処理のフローチャート図である。まず、スイッチユニット320を介して、ユーザデータパケットを受信する(ステップ3000)。ユーザデータパケットのヘッダ情報から図13のユーザ端末情報テーブルを検索し、ユーザ端末情報を取得する(ステップ3001)。そして、ユーザデータパケットの次の転送先を特定する(ステップ3002)。転送先がアクセスゲートウェイ装置103である場合、ユーザデータパケットのIPカプセル化を行う(ステップ3003)。その後、図29(a)のように呼番号のハッシュ値から仮想的なMACアドレスを計算してイーサヘッダ2902の送信元MACアドレスに代入する(ステップ3004)。最後に、そのユーザデータパケットをスイッチユニット320に送信して(3006)、処理を終了する(ステップ3007)。   FIG. 30 is a flowchart of user data packet output processing in the packet processing card 1 (330). First, a user data packet is received through the switch unit 320 (step 3000). The user terminal information table of FIG. 13 is searched from the header information of the user data packet, and the user terminal information is acquired (step 3001). Then, the next transfer destination of the user data packet is specified (step 3002). When the transfer destination is the access gateway apparatus 103, IP encapsulation of the user data packet is performed (step 3003). After that, as shown in FIG. 29A, a virtual MAC address is calculated from the hash value of the call number and substituted for the source MAC address of the ether header 2902 (step 3004). Finally, the user data packet is transmitted to the switch unit 320 (3006), and the process is terminated (step 3007).

ステップ3002に戻り、転送先が対向装置107である場合、ユーザデータパケットに対して、ゲートウェイ装置間転送のIPヘッダを削除してIPカプセル化を解除する(ステップ3005)。最後に、そのユーザデータパケットをスイッチユニット320に送信して(3006)、処理を終了する(ステップ3007)。   Returning to step 3002, if the transfer destination is the opposite device 107, the IP header of the inter-gateway device transfer is deleted from the user data packet to release the IP encapsulation (step 3005). Finally, the user data packet is transmitted to the switch unit 320 (3006), and the process is terminated (step 3007).

図31は、スイッチユニット320におけるパケット転送処理のフローチャート図である。まず、いずれかのラインカード、またはパケット処理カードからユーザデータパケットを受信する(ステップ3100)。ユーザデータパケットのヘッダ情報から図11のルーティングテーブル411を検索し、出力I/Fポート番号を取得する(ステップ3101)。その出力I/Fポート番号がリンクアグリゲーションされたものでない場合(ステップ3102)、ルーティングテーブルに従ってユーザデータパケットを送信し(ステップ3104)、処理を終了する(ステップ3105)。   FIG. 31 is a flowchart of packet transfer processing in the switch unit 320. First, a user data packet is received from any line card or packet processing card (step 3100). The routing table 411 in FIG. 11 is searched from the header information of the user data packet, and the output I / F port number is acquired (step 3101). If the output I / F port number is not one that has been link-aggregated (step 3102), the user data packet is transmitted according to the routing table (step 3104), and the process is terminated (step 3105).

ステップ3102に戻り、取得した出力I/Fポート番号がリンクアグリゲーションされたものである場合、図8のリンクアグリゲーション管理テーブル413を検索して、構成する出力I/Fの物理ポート情報を取得する。そして、背景技術で述べた通常のリンクアグリゲーションハッシュ計算を行う。ハッシュ値を出力I/F物理ポート数で割った剰余を計算して、出力すべきラインカードと出力I/Fの物理ポート番号を決定する(ステップ3103)。上記決定したラインカードと出力I/Fの物理ポート番号に従い、ラインカカードにユーザデータパケットを送信し(ステップ3104)、処理を終了する(ステップ3105)。   Returning to step 3102, if the acquired output I / F port number is a link-aggregated one, the link aggregation management table 413 in FIG. 8 is searched to acquire the physical port information of the configured output I / F. Then, the normal link aggregation hash calculation described in the background art is performed. The remainder obtained by dividing the hash value by the number of output I / F physical ports is calculated, and the line card to be output and the physical port number of the output I / F are determined (step 3103). In accordance with the determined line card and the physical port number of the output I / F, a user data packet is transmitted to the line card (step 3104), and the process ends (step 3105).

以上の手順を踏むことで、サービス網ゲートウェイ装置内のパケット処理カードは、同装置内のスイッチユニットが抽出できる形態でユーザ端末に対応する情報を付加することが可能になる。そして、スイッチユニットは、そのユーザ端末に対応する情報を抽出し、その情報を用いて出力I/Fポートを決定することが可能になる。ユーザ端末ごとに出力I/Fポートを割り当てることになり、リンクアグリゲーションされた複数のI/Fポート間の出力負荷の均等化に大きく貢献する。これによって、リンクアグリゲーションを正しく機能させ、サービス網ゲートウェイ装置におけるI/Fポートの利用効率を向上し、また装置全体の総出力スループットを向上することができる。また、あるアクセスゲートウェイ装置に対する出力スループットをリンク速度以上にすることができる。   By following the above procedure, the packet processing card in the service network gateway apparatus can add information corresponding to the user terminal in a form that can be extracted by the switch unit in the apparatus. Then, the switch unit can extract information corresponding to the user terminal and determine an output I / F port using the information. An output I / F port is assigned to each user terminal, which greatly contributes to equalization of output load among a plurality of link-aggregated I / F ports. As a result, link aggregation can function correctly, the utilization efficiency of the I / F port in the service network gateway apparatus can be improved, and the total output throughput of the entire apparatus can be improved. Also, the output throughput for a certain access gateway device can be made higher than the link speed.

なお、上記ではユーザ端末に対応する情報として呼番号を用いたが、ユーザ端末のIPアドレスや電話番号、端末個体番号など、ユーザ端末に対して一貫性のある値であれば代替できる。   In the above description, the call number is used as the information corresponding to the user terminal. However, any value that is consistent with the user terminal, such as the IP address, telephone number, or individual terminal number of the user terminal, can be substituted.

100−1 ユーザ端末
101−1 基地局
102 アクセス網
103 アクセス網ゲートウェイ装置
104 コア網
105 サービス網ゲートウェイ装置
106 サービス網
107 対向装置
108 移動管理装置
300 ラインカード1
310 ラインカード2
320 スイッチユニット
330 パケット処理カード1
340 パケット処理カード2
350 制御ユニット
411 ルーティングテーブル
412 MACアドレステーブル
413 リンクアグリゲーション管理テーブル
414 プロトコル管理テーブル
511 ユーザ端末情報テーブル
615 I/F統計情報テーブル
1000 対向スイッチ設定要求メッセージ
100-1 User terminal 101-1 Base station 102 Access network 103 Access network gateway device 104 Core network 105 Service network gateway device 106 Service network 107 Opposite device 108 Mobility management device 300 Line card 1
310 Line card 2
320 Switch unit 330 Packet processing card 1
340 Packet processing card 2
350 Control unit 411 Routing table 412 MAC address table 413 Link aggregation management table 414 Protocol management table 511 User terminal information table 615 I / F statistics information table 1000 Opposite switch setting request message

Claims (15)

複数のI/Fポートを有する1または複数の回線収容部と、
移動体通信におけるユーザ端末に関するユーザデータパケットを処理するパケット処理部と、
前記ユーザデータパケットのルーティング処理を行うスイッチ部と、を備えたゲートウェイ装置であって、
前記スイッチ部は、前記パケット処理部から出力される前記ユーザデータパケットから前記ユーザ端末に対応する情報を抽出し、前記ユーザ端末に対応する情報を用いて前記ユーザデータパケットを出力する回線収容部とI/Fポートを決定することを特徴とするゲートウェイ装置。
One or a plurality of line accommodating sections having a plurality of I / F ports;
A packet processing unit that processes user data packets related to user terminals in mobile communication;
A switch unit that performs routing processing of the user data packet,
The switch unit extracts information corresponding to the user terminal from the user data packet output from the packet processing unit, and outputs a user data packet using the information corresponding to the user terminal; A gateway device that determines an I / F port.
請求項1に記載のゲートウェイ装置であって、
複数の前記I/Fポートのうち、2つ以上のI/Fポートが、リンクアグリゲーションされることを特徴とするゲートウェイ装置。
The gateway device according to claim 1,
A gateway apparatus, wherein two or more I / F ports among the plurality of I / F ports are link-aggregated.
請求項1に記載のゲートウェイ装置であって、
前記ユーザデータパケットはIPカプセル化されており、前記ゲートウェイ装置と他のゲートウェイ装置のIPアドレスを含む第1のIPヘッダと、前記ユーザ端末のIPアドレスと前記ユーザ端末の通信相手のIPアドレスを含む第2のIPヘッダを含み、
前記スイッチ部は、前記第2のIPヘッダを用いて前記ユーザデータパケットを出力する回線収容部とI/Fポートを決定することを特徴とするゲートウェイ装置。
The gateway device according to claim 1,
The user data packet is IP-encapsulated and includes a first IP header including IP addresses of the gateway device and another gateway device, an IP address of the user terminal, and an IP address of a communication partner of the user terminal. Including a second IP header;
The gateway unit, wherein the switch unit determines a line accommodating unit and an I / F port that output the user data packet using the second IP header.
請求項3に記載のゲートウェイ装置であって、
前記スイッチ部を設定する制御部を備え、
前記制御部は、前記移動体通信で用いる前記IPカプセル化の通信プロトコル情報と、前記ユーザデータパケットにおける前記第2のIPヘッダの位置をあらかじめ前記スイッチ部に設定することを特徴とするゲートウェイ装置。
The gateway device according to claim 3,
A control unit for setting the switch unit;
The gateway unit characterized in that the control unit preliminarily sets the IP encapsulation communication protocol information used in the mobile communication and the position of the second IP header in the user data packet in the switch unit.
請求項4に記載のゲートウェイ装置であって、
前記制御部は、リンクアグリゲーションされたI/Fポートの対向に位置するネットワーク装置に対して、前記移動体通信で用いる前記IPカプセル化の前記通信プロトコル情報と、前記ユーザデータパケットにおける前記第2のIPヘッダの位置を通知することを特徴とするゲートウェイ装置。
The gateway device according to claim 4,
The control unit, for a network device located opposite to a link-aggregated I / F port, the communication protocol information of the IP encapsulation used in the mobile communication and the second in the user data packet. A gateway device that notifies a position of an IP header.
請求項1に記載のゲートウェイ装置であって、
前記パケット処理部は、前記ユーザデータパケットを出力する際に、前記ゲートウェイ装置内での転送用の内部ヘッダに、前記ユーザ端末に対応する情報を付加し、
前記スイッチ部は、前記内部ヘッダに付加された前記ユーザ端末に対応する情報を抽出し、前記ユーザ端末に対応する情報を用いて前記ユーザデータパケットを出力する回線収容部とI/Fポートを決定することを特徴とするゲートウェイ装置。
The gateway device according to claim 1,
The packet processing unit, when outputting the user data packet, adds information corresponding to the user terminal to an internal header for transfer in the gateway device,
The switch unit extracts information corresponding to the user terminal added to the internal header, and determines a line accommodating unit and an I / F port to output the user data packet using the information corresponding to the user terminal. A gateway device characterized by:
請求項6に記載のゲートウェイ装置であって、
前記スイッチ部を設定する制御部を備え、
前記制御部は、定期的に前記スイッチ部から前記リンクアグリゲーションされたI/Fポートの転送量の統計情報を取得し、前記転送量が閾値以上のI/Fポートが存在する場合には、前記I/Fポート間の転送量を均等化するように、前記スイッチ部のルーティングテーブルを設定することを特徴とするゲートウェイ装置。
The gateway device according to claim 6,
A control unit for setting the switch unit;
The control unit periodically acquires the statistical information of the transfer amount of the link-aggregated I / F port from the switch unit, and when there is an I / F port whose transfer amount is greater than or equal to a threshold, A gateway device, wherein a routing table of the switch unit is set so as to equalize a transfer amount between I / F ports.
請求項1に記載のゲートウェイ装置であって、
前記パケット処理部は、前記ユーザデータパケットを出力する際に、前記ユーザデータパケットのイーサヘッダに、前記ユーザ端末に対応する情報を付加し、
前記スイッチ部は、前記イーサヘッダに付加された前記ユーザ端末に対応する情報を抽出し、前記ユーザ端末に対応する情報を用いて前記ユーザデータパケットを出力する回線収容部とI/Fポートを決定することを特徴とするゲートウェイ装置。
The gateway device according to claim 1,
The packet processing unit, when outputting the user data packet, adds information corresponding to the user terminal to the ether header of the user data packet,
The switch unit extracts information corresponding to the user terminal added to the Ethernet header, and determines a line accommodating unit and an I / F port that output the user data packet using the information corresponding to the user terminal. A gateway device characterized by:
複数のI/Fポートを有する1、または複数の回線収容部と、移動体通信におけるユーザ端末に関するユーザデータパケットを処理するパケット処理部と、前記ユーザデータパケットのルーティング処理を行うスイッチ部と、を備えたゲートウェイ装置におけるパケット通信方法であって、
前記スイッチ部は、前記パケット処理部から出力される前記ユーザデータパケットから前記ユーザ端末に対応する情報を抽出し、前記ユーザ端末に対応する情報を用いて前記ユーザデータパケットを出力する回線収容部とI/Fポートを決定することを特徴とするパケット通信方法。
One or a plurality of line accommodating units having a plurality of I / F ports, a packet processing unit that processes user data packets related to user terminals in mobile communication, and a switch unit that performs routing processing of the user data packets, A packet communication method in a gateway device comprising:
The switch unit extracts information corresponding to the user terminal from the user data packet output from the packet processing unit, and outputs a user data packet using the information corresponding to the user terminal; A packet communication method characterized by determining an I / F port.
請求項9に記載のパケット通信方法であって、
前記ユーザデータパケットはIPカプセル化されており、前記ゲートウェイ装置と他のゲートウェイ装置のIPアドレスを含む第1のIPヘッダと、前記ユーザ端末のIPアドレスと前記ユーザ端末の通信相手のIPアドレスを含む第2のIPヘッダを含み、
前記スイッチ部は、前記第2のIPヘッダを用いて前記ユーザデータパケットを出力する回線収容部とI/Fポートを決定することを特徴とするパケット通信方法。
The packet communication method according to claim 9, comprising:
The user data packet is IP-encapsulated and includes a first IP header including IP addresses of the gateway device and another gateway device, an IP address of the user terminal, and an IP address of a communication partner of the user terminal. Including a second IP header;
The packet communication method, wherein the switch unit determines a line accommodating unit and an I / F port that output the user data packet by using the second IP header.
請求項10に記載のパケット通信方法であって、
前記ゲートウェイ装置は、前記移動体通信で用いる前記IPカプセル化の通信プロトコル情報と、前記ユーザデータパケットにおける前記第2のIPヘッダの位置をあらかじめ前記スイッチ部に設定することを特徴とするパケット通信方法。
The packet communication method according to claim 10, comprising:
The gateway apparatus sets the communication protocol information of the IP encapsulation used in the mobile communication and the position of the second IP header in the user data packet in the switch unit in advance. .
請求項11に記載のパケット通信方法であって、
前記ゲートウェイ装置は、リンクアグリゲーションされたI/Fポートの対向に位置するネットワーク装置に対して、前記移動体通信で用いる前記IPカプセル化の前記通信プロトコル情報と、前記ユーザデータパケットにおける前記第2のIPヘッダの位置を通知することを特徴とするパケット通信方法。
The packet communication method according to claim 11, comprising:
The gateway device, for a network device located opposite to a link-aggregated I / F port, the communication protocol information of the IP encapsulation used in the mobile communication, and the second in the user data packet. A packet communication method characterized by notifying a position of an IP header.
請求項9に記載のパケット通信方法であって、
前記パケット処理部は、前記ユーザデータパケットを出力する際に、前記ゲートウェイ装置内での転送用の内部ヘッダに、前記ユーザ端末に対応する情報を付加し、
前記スイッチ部は、前記内部ヘッダに付加された前記ユーザ端末に対応する情報を抽出し、前記ユーザ端末に対応する情報を用いて前記ユーザデータパケットを出力する回線収容部とI/Fポートを決定することを特徴とするパケット通信方法。
The packet communication method according to claim 9, comprising:
The packet processing unit, when outputting the user data packet, adds information corresponding to the user terminal to an internal header for transfer in the gateway device,
The switch unit extracts information corresponding to the user terminal added to the internal header, and determines a line accommodating unit and an I / F port to output the user data packet using the information corresponding to the user terminal. And a packet communication method.
請求項13に記載のパケット通信方法であって、
前記ゲートウェイ装置は、定期的に前記スイッチ部から前記リンクアグリゲーションされたI/Fポートの転送量の統計情報を取得し、前記転送量が閾値以上のI/Fポートが存在する場合には、前記I/Fポート間の転送量を均等化するように、前記スイッチ部のルーティングテーブルを設定することを特徴とするパケット通信方法。
The packet communication method according to claim 13, comprising:
The gateway device periodically obtains the statistical information of the transfer amount of the link-aggregated I / F port from the switch unit, and when there is an I / F port whose transfer amount is equal to or greater than a threshold value, A packet communication method comprising setting a routing table of the switch unit so as to equalize a transfer amount between I / F ports.
請求項9に記載のパケット通信方法であって、
前記パケット処理部は、前記ユーザデータパケットを出力する際に、前記ユーザデータパケットのイーサヘッダに、前記ユーザ端末に対応する情報を付加し、
前記スイッチ部は、前記イーサヘッダに付加された前記ユーザ端末に対応する情報を抽出し、前記ユーザ端末に対応する情報を用いて前記ユーザデータパケットを出力する回線収容部とI/Fポートを決定することを特徴とするパケット通信方法。
The packet communication method according to claim 9, comprising:
The packet processing unit, when outputting the user data packet, adds information corresponding to the user terminal to the ether header of the user data packet,
The switch unit extracts information corresponding to the user terminal added to the Ethernet header, and determines a line accommodating unit and an I / F port that output the user data packet using the information corresponding to the user terminal. And a packet communication method.
JP2013106709A 2013-05-21 2013-05-21 Gateway device and packet communication method Pending JP2014230011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013106709A JP2014230011A (en) 2013-05-21 2013-05-21 Gateway device and packet communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013106709A JP2014230011A (en) 2013-05-21 2013-05-21 Gateway device and packet communication method

Publications (1)

Publication Number Publication Date
JP2014230011A true JP2014230011A (en) 2014-12-08

Family

ID=52129506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013106709A Pending JP2014230011A (en) 2013-05-21 2013-05-21 Gateway device and packet communication method

Country Status (1)

Country Link
JP (1) JP2014230011A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220024853A (en) * 2019-06-25 2022-03-03 후아웨이 테크놀러지 컴퍼니 리미티드 Apparatus and method for improving load balancing with constrained forwarding rules in software-defined networks

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220024853A (en) * 2019-06-25 2022-03-03 후아웨이 테크놀러지 컴퍼니 리미티드 Apparatus and method for improving load balancing with constrained forwarding rules in software-defined networks
JP2022537825A (en) * 2019-06-25 2022-08-30 ホアウェイ・テクノロジーズ・カンパニー・リミテッド Device and method for improved load balancing with limited forwarding rules in software-defined networks
JP7351595B2 (en) 2019-06-25 2023-09-27 ホアウェイ・テクノロジーズ・カンパニー・リミテッド Device and method for improving load balancing with limited forwarding rules in software-defined networks
KR102692843B1 (en) * 2019-06-25 2024-08-06 후아웨이 테크놀러지 컴퍼니 리미티드 Apparatus and method for improving load balancing with limited forwarding rules in a software-defined network

Similar Documents

Publication Publication Date Title
US10904932B2 (en) Tunnel binding based communication method and network device
JP5716741B2 (en) COMMUNICATION SYSTEM, LOGICAL CHANNEL CONTROL DEVICE, CONTROL DEVICE, COMMUNICATION METHOD, AND PROGRAM
CN104919766B (en) Path switching method and equipment for device-to-device communication
CN106357537B (en) A link monitoring method based on SDN multipath transmission
US8611226B2 (en) Method, apparatus and system for equalizing flows
EP2099180B1 (en) Switching device and method for Layer-2 forwarding of OAM frames with multicast Layer-3 addresses
US11356294B2 (en) Packet processing method and device
CN114079674B (en) Data processing method, user plane function and device
CN104506408A (en) Data transmission method and device based on SDN
CN104969590A (en) Method and apparatus for enabling data path selection in a virtual home gateway
CN103947284A (en) Communication terminal, communication method, communication system, and program
CN102291305A (en) Method and device for implementing 6 to 4 relay routing, and message forwarding method
KR20230151021A (en) Methods for transmitting and receiving information, methods and devices for transmitting data
US9635692B2 (en) Methods of ensuring network continuity performed at local gateway, fixed gateway, and network device
CN104982012B (en) Systems and methods for enabling G.hn nodes to support 1905.1 relay (MAC relay) while supporting legacy G.hn relay according to the G.hn standard
CN101668010A (en) Method and device for sharing multi-interface data stream load in WiMAX system
JPWO2015151442A1 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND CONTROL DEVICE
JP5950023B2 (en) Communication path control apparatus, address conversion apparatus, communication system, and communication path setting method
US9367514B2 (en) Communication node and communication method
JP2014230011A (en) Gateway device and packet communication method
CN118449839A (en) Control plane initiated switchover for subscriber groups
CN104363176A (en) Message control method and equipment
US10284518B2 (en) Network system with seamless handover mechanism, operation method and control apparatus thereof
CN106304397A (en) A kind of method setting up tunnel and relevant device
US20140071906A1 (en) Apparatus and method for distributing traffic load