JP2017098660A - Network system and switch - Google Patents

Network system and switch Download PDF

Info

Publication number
JP2017098660A
JP2017098660A JP2015226686A JP2015226686A JP2017098660A JP 2017098660 A JP2017098660 A JP 2017098660A JP 2015226686 A JP2015226686 A JP 2015226686A JP 2015226686 A JP2015226686 A JP 2015226686A JP 2017098660 A JP2017098660 A JP 2017098660A
Authority
JP
Japan
Prior art keywords
switch
packet
aggregation
network
edge
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
JP2015226686A
Other languages
Japanese (ja)
Inventor
若山 浩二
Koji Wakayama
浩二 若山
聡 堤
Satoshi Tsutsumi
聡 堤
裕司 大石
Yuji Oishi
裕司 大石
明弘 関口
Akihiro Sekiguchi
明弘 関口
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.)
Proterial Ltd
Original Assignee
Hitachi Metals 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 Metals Ltd filed Critical Hitachi Metals Ltd
Priority to JP2015226686A priority Critical patent/JP2017098660A/en
Publication of JP2017098660A publication Critical patent/JP2017098660A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a network system which determines a control content while taking an aggregation relation between switches into account without increasing a load of transfer processing in the switch.SOLUTION: A network control device holds an aggregation relation indicating a relation between an aggregate switch and an edge switch that transmits/receives a packet aggregated by the aggregate switch. The edge switch and the aggregate switch count the number of received packets meeting monitor conditions that are set to the switches. The switch transmits a notification indicating that the counted number of received packets meets a predetermined condition, to the network control device. Upon receiving the notification, on the basis of the aggregation relation, the network control device identifies a switch to exchange a packet with the switch that has transmitted the notification. On the basis of the number of received packets counted by the identified switch, a content of control on the packet to be transmitted from the identified switch to the switch that has transmitted the notification, is determined.SELECTED DRAWING: Figure 14

Description

本発明は、ネットワーク制御装置がスイッチを制御するネットワークシステムに関する。   The present invention relates to a network system in which a network control device controls a switch.

レイヤ2ネットワークの構築技術の一つに、レイヤ2のパケットに対して多段にカプセル化ヘッダを付与する通信方式がある。この通信方式の例としては、例えば、PBB(Provider Backbone Bridge)又はMPLS(Multiprotocol Label Switching)がある。レイヤ2ヘッダを多段にカプセル化することによって、物理的な一つのネットワーク上に仮想的な複数のネットワークを構築できる。   One of the techniques for constructing a layer 2 network is a communication method in which encapsulation headers are added in multiple stages to layer 2 packets. Examples of this communication method include PBB (Provider Backbone Bridge) or MPLS (Multiprotocol Label Switching). By encapsulating the layer 2 header in multiple stages, a plurality of virtual networks can be constructed on one physical network.

モバイルネットワークでは移動するユーザの携帯端末が通信するので、繁華街又はイベント会場等の多数の人が集まる場所において局所的に大量の通信が行われることがある。   Since mobile terminals of mobile users communicate on a mobile network, a large amount of communication may be performed locally in places where a large number of people gather, such as downtowns or event venues.

さらに、モバイルネットワークを利用するアプリケーションは、従来からのWebアプリケーションに加えて、高精細の動画を配信するアプリケーション、及びセンサ同士が通信するアプリケーション等が出現しており、多様化している。センサが通信するアプリケーションとしては、例えば、M2M(Machine To Machine)、IoT(Internet of Things)等がある。   Furthermore, applications that use mobile networks are diversified, in addition to conventional web applications, applications that deliver high-definition video, applications that communicate with sensors, and the like have emerged. Examples of applications with which the sensor communicates include M2M (Machine To Machine) and IoT (Internet of Things).

動画の配信では一つの通信で大容量のデータが転送され、センサ同士の通信では、一つの通信で転送されるデータの容量は少ないものの、同時に大量の異なる通信が発生する。このように、モバイルネットワークを利用するアプリケーションの多様化に伴って、モバイルネットワークのトラフィックの傾向が複雑化している。   In the distribution of moving images, a large amount of data is transferred by one communication, and in the communication between sensors, the amount of data transferred by one communication is small, but a large amount of different communication occurs at the same time. Thus, with the diversification of applications that use mobile networks, mobile network traffic trends have become more complex.

このため、モバイルネットワーク全体でのネットワーク制御を最適化するためには、通信が行われている場所及びアプリケーションの種類の少なくとも一方を特定して、モバイルネットワークを監視し、制御しなければならない。なお、モバイルネットワークは、端末と無線で通信する基地局とパケットコアとを接続するネットワークである。パケットコアは、端末をモバイルネットワークに接続するための認証処理を実行し、端末の移動を管理し、端末が通信先と送受信するパケットを転送する。   For this reason, in order to optimize the network control in the entire mobile network, it is necessary to monitor and control the mobile network by specifying at least one of the place where the communication is performed and the type of application. The mobile network is a network that connects a base station that communicates with a terminal wirelessly and a packet core. The packet core executes an authentication process for connecting the terminal to the mobile network, manages the movement of the terminal, and transfers packets transmitted and received by the terminal with the communication destination.

本技術分野の背景技術として、特開2009−267642号公報(特許文献1)及び特開2014−171226号公報(特許文献2)がある。   As background arts in this technical field, there are JP-A-2009-267642 (Patent Document 1) and JP-A-2014-171226 (Patent Document 2).

特許文献1には、フロー制御による輻輳に対する制御技術であり、中継装置で輻輳を検知すると終端装置にデータ量を制限するよう指示することが記載されている([0007]〜[0013])。   Patent Document 1 describes a control technique for congestion due to flow control, and describes that a termination apparatus is instructed to limit the amount of data when congestion is detected by a relay apparatus ([0007] to [0013]).

特許文献2には、スイッチがモニタした結果をコントローラに送信し、コントローラは、スイッチから収集した統計情報に基づいて、スイッチの転送用テーブルを変更することが記載されている([0016]〜[0019])。   Patent Document 2 describes that the result of monitoring by the switch is transmitted to the controller, and the controller changes the transfer table of the switch based on statistical information collected from the switch ([0016] to [0016]. 0019]).

特開2009−267642号公報JP 2009-267642 A 特開2014−171226号公報JP 2014-171226 A

特許文献1に記載された技術では、中継装置の配下の複数の終端装置のデータ量を制限する。しかし、終端装置を特定して終端装置を制御するので、カプセル化されたパケットにおいては、中継装置がカプセル化ヘッダを含むパケットのヘッダ全体を監視して、個々の終端装置を特定する必要があり、中継装置におけるパケット転送処理の負荷が増大してしまう。   In the technique described in Patent Document 1, the data amount of a plurality of terminal devices under the relay device is limited. However, since the termination device is specified and controlled, the relay device must monitor the entire packet header including the encapsulation header to identify each termination device. This increases the load of packet transfer processing in the relay apparatus.

特許文献2に記載された技術では、スイッチの利用状況に応じてスイッチの制御内容を変更できる。しかし、あるスイッチが他のスイッチが送信したパケットを集約する場合、集約関係を考慮してスイッチの制御内容を決定することはできず、スイッチの制御内容に応じては、制御内容に不公平が生じる場合がある。ここで、制御内容の不公平とは、例えば、実際の通信量が少ないスイッチであるにもかかわらず、制限量が多くなる制御内容が設定されてしまうことをいう。   In the technique described in Patent Document 2, the control content of the switch can be changed according to the usage status of the switch. However, when one switch aggregates packets sent by other switches, it is impossible to determine the control content of the switch in consideration of the aggregation relationship. Depending on the control content of the switch, the control content may be unfair. May occur. Here, the unfairness of the control content means that, for example, a control content with a large limit amount is set even though the switch has a small actual communication amount.

本発明は、スイッチの転送処理の負荷を増大させることなく、スイッチ間の集約関係を考慮して制御内容を決定するネットワークシステムを提供することを目的とする。   An object of the present invention is to provide a network system that determines control contents in consideration of an aggregation relationship between switches without increasing the load of switch transfer processing.

上記課題を解決するために、複数のスイッチと、前記複数のスイッチを制御するネットワーク制御装置とを備えるネットワークシステムであって、前記複数のスイッチによって構築されるネットワークは、端末と外部ネットワークとの間に位置し、前記複数のスイッチは、前記端末側に位置するエッジスイッチ及び前記外部ネットワーク側に位置する集約スイッチを含み、前記集約スイッチは、自身の配下の少なくとも一つのエッジスイッチと送受信するパケットを集約し、前記ネットワーク制御装置は、前記集約スイッチと当該集約スイッチが集約するパケットを送受信するエッジスイッチとの関係を示す集約関係を保持し、前記エッジスイッチ及び前記集約スイッチは、自身に設定された監視条件と一致するパケットの受信数を計数し、前記エッジスイッチ又は前記集約スイッチは、前記計数した受信数が所定条件を満たす場合、前記所定条件を満たす旨の通知を前記ネットワーク制御装置に送信し、前記ネットワーク制御装置は、前記通知を受信した場合、前記集約関係に基づいて、前記通知を送信したスイッチとの間でパケットを送受信するスイッチを特定し、前記特定されたスイッチが計数した受信数を取得し、前記取得した受信数に基づいて、前記通知を送信したスイッチに前記特定されたスイッチが送信するパケットに対する制御内容を決定し、前記決定した制御内容を前記特定されたスイッチに設定し、前記特定されたスイッチは、前記設定された制御内容に基づいて、前記パケットを送信することを特徴とする。   In order to solve the above-described problem, a network system including a plurality of switches and a network control device that controls the plurality of switches, wherein a network constructed by the plurality of switches is between a terminal and an external network. The plurality of switches include an edge switch located on the terminal side and an aggregation switch located on the external network side, and the aggregation switch transmits packets to and from at least one edge switch under its control. The network control device holds an aggregation relationship indicating a relationship between the aggregation switch and an edge switch that transmits and receives packets aggregated by the aggregation switch, and the edge switch and the aggregation switch are set in the network control device. Count the number of received packets that match the monitoring conditions, The edge switch or the aggregation switch transmits a notification that the predetermined condition is satisfied when the counted number of receptions satisfies a predetermined condition to the network control apparatus, and the network control apparatus receives the notification Based on the aggregation relationship, the switch that transmits and receives packets to and from the switch that transmitted the notification is identified, the number of receptions counted by the identified switch is obtained, and the number of receptions obtained is based on the obtained number of receptions. The control content for the packet transmitted by the specified switch is determined to the switch that has transmitted the notification, the determined control content is set in the specified switch, and the specified switch The packet is transmitted based on contents.

本発明によれば、スイッチの転送処理の負荷を増大させることなく、スイッチ間の集約関係を考慮して制御内容を決定するネットワークシステムを提供できる。   ADVANTAGE OF THE INVENTION According to this invention, the network system which determines the control content in consideration of the aggregation relationship between switches can be provided, without increasing the load of the transfer process of a switch.

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

実施例1のネットワークシステムの構成図である。1 is a configuration diagram of a network system according to a first embodiment. 実施例1のNWスイッチの構成図である。1 is a configuration diagram of an NW switch according to Embodiment 1. FIG. 実施例1のラインカードの構成図である。1 is a configuration diagram of a line card according to Embodiment 1. FIG. 実施例1の識別テーブルの説明図である。It is explanatory drawing of the identification table of Example 1. FIG. 実施例1の監視テーブルの説明図である。It is explanatory drawing of the monitoring table of Example 1. FIG. 実施例1の転送テーブルの説明図である。It is explanatory drawing of the transfer table of Example 1. FIG. 実施例1の管理カードの構成図である。2 is a configuration diagram of a management card according to Embodiment 1. FIG. 実施例1のネットワーク制御装置の構成図である。1 is a configuration diagram of a network control device of Embodiment 1. FIG. 実施例1のトポロジデータベースの説明図である。It is explanatory drawing of the topology database of Example 1. FIG. 実施例1のネットワーク制御装置がトポロジデータベースを構築する手順の説明図である。It is explanatory drawing of the procedure in which the network control apparatus of Example 1 builds a topology database. 実施例1のPBBパケットのフォーマットの説明図である。It is explanatory drawing of the format of the PBB packet of Example 1. FIG. 実施例1のMPLSパケットのフォーマットの説明図である。It is explanatory drawing of the format of the MPLS packet of Example 1. FIG. 実施例1のEthernet(Ethernetは登録商標、以下同じ) over Ethernetのパケットのフォーマットの説明図である。FIG. 3 is an explanatory diagram of an Ethernet packet format according to the first embodiment (Ethernet is a registered trademark; the same applies hereinafter). 実施例1の集約スイッチが輻輳を検出した場合の処理の概略について説明する。An outline of processing when the aggregation switch according to the first embodiment detects congestion will be described. 実施例1の集約スイッチのパケット受信処理のフローチャートである。6 is a flowchart of packet reception processing of the aggregation switch according to the first embodiment. 実施例1のエッジスイッチのパケット受信処理のフローチャートである。3 is a flowchart of packet reception processing of the edge switch according to the first exemplary embodiment. 実施例1のエッジスイッチのカウント指示受信処理のフローチャートである。6 is a flowchart of count instruction reception processing of the edge switch according to the first embodiment. 実施例1のエッジスイッチのカウンタ値送信指示受信処理のフローチャートである。6 is a flowchart of counter value transmission instruction reception processing of the edge switch according to the first embodiment. 実施例1のネットワーク制御装置の輻輳通知受信処理のフローチャートである。3 is a flowchart of a congestion notification reception process of the network control device according to the first embodiment. 実施例1のネットワーク制御装置のカウンタ値受信処理のフローチャートである。6 is a flowchart of counter value reception processing of the network control apparatus according to the first embodiment. 実施例1のネットワーク制御装置の制御内容生成処理のフローチャートである。3 is a flowchart of a control content generation process of the network control device according to the first embodiment. 実施例2の端末のモバイルネットワークへの接続制御の説明図である。It is explanatory drawing of the connection control to the mobile network of the terminal of Example 2. FIG. 実施例2のS1APを用いて送受信される各種メッセージのパケットフォーマットの説明図である。It is explanatory drawing of the packet format of the various messages transmitted / received using S1AP of Example 2. FIG. 実施例2のネットワーク制御装置の輻輳通知受信処理のフローチャートである。10 is a flowchart of a congestion notification reception process of the network control device according to the second embodiment. 実施例3のエッジスイッチが輻輳を検出した場合の処理の概略について説明する。An outline of processing when the edge switch according to the third embodiment detects congestion will be described.

実施例1について図1〜図21を用いて説明する。   Example 1 will be described with reference to FIGS.

図1は、実施例1のネットワークシステムの構成図である。   FIG. 1 is a configuration diagram of a network system according to the first embodiment.

本実施例のネットワークシステムは、モバイルネットワークに適用される例を示すが、これに限定されず、例えばFTTH(Fiber To The Home)等の種々のネットワークに適用可能である。   The network system of the present embodiment shows an example applied to a mobile network, but is not limited to this, and can be applied to various networks such as FTTH (Fiber To The Home).

ネットワークシステムは、モバイルバックホール5、パケットコア4、及びネットワーク制御装置2を有する。   The network system includes a mobile backhaul 5, a packet core 4, and a network control device 2.

モバイルバックホール5は、基地局3A〜3Lとパケットコア4とを接続するネットワークである。基地局3A〜3Lを総称する場合、基地局3と記載する。パケットコア4は、基地局3に接続される端末6をモバイルネットワークに接続するための認証処理を実行し、端末の移動を管理し、端末が通信先と送受信するパケットを転送するネットワークである。   The mobile backhaul 5 is a network that connects the base stations 3 </ b> A to 3 </ b> L and the packet core 4. The base stations 3 </ b> A to 3 </ b> L are collectively referred to as the base station 3. The packet core 4 is a network that executes an authentication process for connecting the terminal 6 connected to the base station 3 to the mobile network, manages the movement of the terminal, and transfers packets transmitted and received by the terminal to and from the communication destination.

モバイルバックホール5について説明する。モバイルバックホール5は、複数のネットワークスイッチ(NWスイッチ)11A〜13Bによって構築される。なお、NWスイッチ11A〜13Bを総称する場合には、NWスイッチ1と記載する。NWスイッチ11A〜13Bは、設置される場所によってエッジスイッチ11、中継スイッチ12、及び集約スイッチ13に分類される。   The mobile backhaul 5 will be described. The mobile backhaul 5 is constructed by a plurality of network switches (NW switches) 11A to 13B. The NW switches 11A to 13B are collectively referred to as NW switch 1. The NW switches 11A to 13B are classified into the edge switch 11, the relay switch 12, and the aggregation switch 13 according to the installation location.

エッジスイッチ11は端末6を収容する基地局3に接続されるNWスイッチ1であり、モバイルバックホール5の基地局3側に配置される。図1では、エッジスイッチ11はエッジスイッチ11A〜11Fである。例えば、エッジスイッチ11Aは、基地局3A及び3Bに接続される。モバイルバックホール5が有するエッジスイッチ11の数、及びエッジスイッチ11に接続される基地局3の数は、図1に限定されない。   The edge switch 11 is the NW switch 1 connected to the base station 3 that accommodates the terminal 6, and is arranged on the base station 3 side of the mobile backhaul 5. In FIG. 1, the edge switches 11 are edge switches 11A to 11F. For example, the edge switch 11A is connected to the base stations 3A and 3B. The number of edge switches 11 included in the mobile backhaul 5 and the number of base stations 3 connected to the edge switch 11 are not limited to FIG.

集約スイッチ13は、パケットコア4に接続されるNWスイッチ1であり、モバイルバックホール5のパケットコア4側に配置される。図1では、集約スイッチ13は集約スイッチ13A及び13Bである。モバイルバックホール5が有する集約スイッチ13の数は、図1に限定されない。   The aggregation switch 13 is the NW switch 1 connected to the packet core 4, and is arranged on the packet core 4 side of the mobile backhaul 5. In FIG. 1, the aggregation switch 13 is the aggregation switches 13A and 13B. The number of aggregation switches 13 included in the mobile backhaul 5 is not limited to FIG.

中継スイッチ12は、エッジスイッチ11と集約スイッチ13とを接続するNWスイッチ1であり、モバイルバックホール5のエッジスイッチ11と集約スイッチ13との間に配置される。図1では、中継スイッチ12は中継スイッチ12A〜12Cである。中継スイッチ12Aは、エッジスイッチ11A及び11Bとリングトポロジで接続され、中継スイッチ12Bは、エッジスイッチ11C及び11Dとリングトポロジで接続され、中継スイッチ12Cは、エッジスイッチ11E及び11Fとリングトポロジで接続される。また、中継スイッチ12A〜12Cは、集約スイッチ13A及び13Bとリングトポロジで接続される。   The relay switch 12 is the NW switch 1 that connects the edge switch 11 and the aggregation switch 13, and is arranged between the edge switch 11 and the aggregation switch 13 of the mobile backhaul 5. In FIG. 1, the relay switch 12 is the relay switches 12A to 12C. The relay switch 12A is connected to the edge switches 11A and 11B in a ring topology, the relay switch 12B is connected to the edge switches 11C and 11D in a ring topology, and the relay switch 12C is connected to the edge switches 11E and 11F in a ring topology. The The relay switches 12A to 12C are connected to the aggregation switches 13A and 13B in a ring topology.

各NWスイッチ1は、受信したパケットのヘッダ情報(例えば、VLANID等)とパケットの転送との関係が登録されたフローテーブル106を保持しており、パケットを受信した場合、フローテーブル116を参照し、受信したパケットのヘッダ情報に対応する転送先に転送する。なお、NWスイッチ1の詳細は、図2〜図7で説明する。具体的には、エッジスイッチ11は、基地局3から受信したデータのヘッダ情報に新たなヘッダ情報を付加して、基地局3から受信したデータをカプセル化して、モバイルバックホール5に送信する。中継装置12及び集約スイッチ13は、カプセル化されたヘッダ情報を参照して、受信したデータを転送する。   Each NW switch 1 holds a flow table 106 in which a relationship between header information (for example, VLANID) of a received packet and packet transfer is registered. When a packet is received, the NW switch 1 refers to the flow table 116. The packet is transferred to the transfer destination corresponding to the header information of the received packet. Details of the NW switch 1 will be described with reference to FIGS. Specifically, the edge switch 11 adds new header information to the header information of the data received from the base station 3, encapsulates the data received from the base station 3, and transmits it to the mobile backhaul 5. The relay device 12 and the aggregation switch 13 transfer the received data with reference to the encapsulated header information.

ネットワーク制御装置2は、制御ネットワーク7を介してモバイルバックホール5が有する各NWスイッチ1に接続され、モバイルバックホール5が有するNWスイッチ1を制御する計算機である。ネットワーク制御装置2の詳細は、図8で説明する。   The network control device 2 is a computer that is connected to each NW switch 1 included in the mobile backhaul 5 via the control network 7 and controls the NW switch 1 included in the mobile backhaul 5. Details of the network control device 2 will be described with reference to FIG.

パケットコア4について説明する。   The packet core 4 will be described.

パケットコア4は、S−GW(Serving−Gateway)41、P−GW(PDN−Gateway)42、MME(Mobility Management Entity)43、及びPCRF(Policy and Charging Rule Function)44を有する。   The packet core 4 includes an S-GW (Serving-Gateway) 41, a P-GW (PDN-Gateway) 42, an MME (Mobility Management Entity) 43, and a PCRF (Policy and Charging Rule Function) 44.

S−GW41は、基地局3から送信されたデータをモバイルバックホール5を介して受信し、受信したデータをP−GW4に転送し、P−GW4から送信されたデータを受信し、受信したデータをモバイルバックホール5を介して基地局3に転送する。   The S-GW 41 receives the data transmitted from the base station 3 via the mobile backhaul 5, transfers the received data to the P-GW 4, receives the data transmitted from the P-GW 4, and receives the received data. Is transferred to the base station 3 via the mobile backhaul 5.

P−GW42は、S−GW41から送信されたデータを受信し、受信したデータを外部ネットワークに転送し、外部ネットワークから送信されたデータを受信し、受信したデータをS−GW41に転送する。   The P-GW 42 receives the data transmitted from the S-GW 41, transfers the received data to the external network, receives the data transmitted from the external network, and transfers the received data to the S-GW 41.

MME43は、端末6の位置を管理し、端末6がモバイルネットワークに接続するための認証処理を実行する。   The MME 43 manages the position of the terminal 6 and executes an authentication process for the terminal 6 to connect to the mobile network.

PCRF44は、端末6の加入者が加入中のサービスに関する情報(加入者情報)を保持する加入サービス管理装置である。   The PCRF 44 is a subscription service management device that holds information (subscriber information) related to services that the subscriber of the terminal 6 is subscribed to.

図2は、実施例1のNWスイッチ1の構成図である。   FIG. 2 is a configuration diagram of the NW switch 1 according to the first embodiment.

NWスイッチ1は、ラインカード100A〜100N、内部スイッチ110、及び管理カード120を有する。NWスイッチ1は、ラインカード100A〜100Nを少なくとも一つを有すればよい。ラインカード100A〜100Nを総称する場合、ラインカード100と記載する。   The NW switch 1 includes line cards 100A to 100N, an internal switch 110, and a management card 120. The NW switch 1 may have at least one of the line cards 100A to 100N. The line cards 100A to 100N are collectively referred to as the line card 100.

ラインカード100は、隣接するNWスイッチ1、基地局3、又はS−GW41等の他の装置に接続される。各ラインカード100は、図示しないポートを有しており、他の装置から受信したパケットのヘッダ情報に基づいて宛先となるポートを決定し、内部スイッチ110にパケットを出力する。また、各ラインカード100は、内部スイッチ110から入力されたパケットを当該パケットの宛先となるポートから出力する。ラインカード100の詳細は図3で説明する。   The line card 100 is connected to another device such as the adjacent NW switch 1, the base station 3, or the S-GW 41. Each line card 100 has a port (not shown), determines a destination port based on header information of a packet received from another device, and outputs the packet to the internal switch 110. Each line card 100 outputs the packet input from the internal switch 110 from the port that is the destination of the packet. Details of the line card 100 will be described with reference to FIG.

管理カード120は、制御ネットワーク7を介してネットワーク制御装置2に接続される。管理カード120は、ラインカード100が有するフローテーブル106(図3参照)の更新指示をネットワーク制御装置2から受信し、受信した更新指示に基づいて、フローテーブル106を更新する。また、管理カード120は、ネットワーク制御装置2に送信すべき情報をネットワーク制御装置2に送信する。管理カード120の詳細は図7で説明する。   The management card 120 is connected to the network control device 2 via the control network 7. The management card 120 receives an update instruction for the flow table 106 (see FIG. 3) of the line card 100 from the network control device 2, and updates the flow table 106 based on the received update instruction. In addition, the management card 120 transmits information to be transmitted to the network control device 2 to the network control device 2. Details of the management card 120 will be described with reference to FIG.

内部スイッチ110は、ラインカード100と管理カード120とを相互に接続する。内部スイッチ110は、ラインカード100から入力されたパケットを宛先となるポートを有するラインカード100に出力する。また、内部スイッチ110は、管理カード120が受信した更新指示をラインカード100に出力する。   The internal switch 110 connects the line card 100 and the management card 120 to each other. The internal switch 110 outputs the packet input from the line card 100 to the line card 100 having a destination port. Further, the internal switch 110 outputs the update instruction received by the management card 120 to the line card 100.

図3は、実施例1のラインカード100の構成図である。   FIG. 3 is a configuration diagram of the line card 100 according to the first embodiment.

ラインカード100は、物理レイヤ・MAC処理部101、装置内インタフェース102、フロー識別部103、パケット監視部104、転送処理部105、及びフローテーブル106を有する。本実施例では、フロー識別部103、パケット監視部104、及び転送処理部105は、ハードウェア(例えば、FPGA(Field−Programmable Gate Array)等)によって実現されるものとして説明するが、これらに対応するプログラムを図示しないプロセッサが実行することによって実現されてもよい。   The line card 100 includes a physical layer / MAC processing unit 101, an in-device interface 102, a flow identification unit 103, a packet monitoring unit 104, a transfer processing unit 105, and a flow table 106. In the present embodiment, the flow identification unit 103, the packet monitoring unit 104, and the transfer processing unit 105 will be described as being realized by hardware (for example, a field-programmable gate array (FPGA)). This may be realized by executing a program to be executed by a processor (not shown).

物理レイヤ・MAC処理部101は、他の装置から入力されたパケットの物理レイヤ及びMACレイヤを終端させる処理を実行し、当該処理を実行したパケットをフロー識別部103に出力する。また、物理レイヤ・MAC処理部101は、他の装置に出力するパケットに物理レイヤのヘッダ及びMACレイヤのヘッダを付与して、当該パケットを他の装置に出力する。装置内インタフェース102は、内部スイッチ110に接続されるインタフェースである。   The physical layer / MAC processing unit 101 executes a process for terminating the physical layer and the MAC layer of a packet input from another device, and outputs the packet that has executed the process to the flow identification unit 103. Also, the physical layer / MAC processing unit 101 adds a physical layer header and a MAC layer header to a packet to be output to another apparatus, and outputs the packet to the other apparatus. The in-device interface 102 is an interface connected to the internal switch 110.

フロー識別部113は、フローテーブル106に含まれる識別テーブル1063を参照して、物理レイヤ・MAC処理部101から入力されたパケットのヘッダ情報に基づいて当該パケットの出力先をパケット監視部104又は転送処理部105に決定する。出力先がパケット監視部104となるパケットは、監視対象となるパケットである。   The flow identification unit 113 refers to the identification table 1063 included in the flow table 106 and determines the output destination of the packet based on the header information of the packet input from the physical layer / MAC processing unit 101 or the transfer unit The processing unit 105 is determined. A packet whose output destination is the packet monitoring unit 104 is a packet to be monitored.

パケット監視部104は、フロー識別部113から入力されたパケットが、監視テーブル1062に登録された監視条件と一致するかを判定し、監視条件と一致するパケットの数をカウントして、入力されたパケットを転送処理部105に出力する。例えば、監視条件としては、エッジスイッチ11にはカプセル化される前のパケットのヘッダ情報が登録され、集約スイッチ13にはカプセル化された後のパケットのヘッダ情報が登録される。なお、監視条件として、ヘッダ情報以外の情報、すなわち、IPレイヤの情報(例えばポート番号等)が登録されてもよい。   The packet monitoring unit 104 determines whether the packet input from the flow identification unit 113 matches the monitoring condition registered in the monitoring table 1062, counts the number of packets that match the monitoring condition, and receives the input The packet is output to the transfer processing unit 105. For example, as monitoring conditions, header information of packets before encapsulation is registered in the edge switch 11, and header information of packets after encapsulation is registered in the aggregation switch 13. Information other than the header information, that is, IP layer information (for example, a port number) may be registered as the monitoring condition.

転送処理部105は、フローテーブル106に登録された転送テーブル1061を参照し、入力されたパケットの宛先を決定し、装置内インタフェース102に出力する。   The transfer processing unit 105 refers to the transfer table 1061 registered in the flow table 106, determines the destination of the input packet, and outputs it to the in-device interface 102.

フローテーブル106は、転送テーブル1061、監視テーブル1062、及び識別テーブル1063を含む。   The flow table 106 includes a transfer table 1061, a monitoring table 1062, and an identification table 1063.

転送テーブル1061は転送処理部105によって参照されるテーブルであり、転送テーブル1061にはパケットのヘッダ情報に対応するアクションが登録される。転送テーブル1061の詳細は図6で説明する。   The forwarding table 1061 is a table that is referred to by the forwarding processing unit 105, and an action corresponding to packet header information is registered in the forwarding table 1061. Details of the transfer table 1061 will be described with reference to FIG.

監視テーブル1062はパケット監視部104によって参照されるテーブルであり、監視テーブル1062には監視条件と当該監視条件に対応するカウント値とが登録される。監視テーブル1062の詳細は図5で説明する。   The monitoring table 1062 is a table that is referred to by the packet monitoring unit 104. In the monitoring table 1062, a monitoring condition and a count value corresponding to the monitoring condition are registered. Details of the monitoring table 1062 will be described with reference to FIG.

識別テーブル1063はフロー識別部103によって参照されるテーブルであり、識別テーブル1063にはパケットのヘッダ情報と当該ヘッダ情報に対応する出力先とが登録される。識別テーブル1063の詳細は図4で説明する。   The identification table 1063 is a table that is referred to by the flow identification unit 103. In the identification table 1063, header information of a packet and an output destination corresponding to the header information are registered. Details of the identification table 1063 will be described with reference to FIG.

図4は、実施例1の識別テーブル1063の説明図である。   FIG. 4 is an explanatory diagram of the identification table 1063 according to the first embodiment.

識別テーブル1063は、ヘッダ情報401及び振分先402を含む。ヘッダ情報401には、受信したパケットのヘッダに設定されている情報(ヘッダ情報)が登録される。図4では、ヘッダ情報401には、VLANIDが登録されるが、これに限定されず、MPLSラベル等が登録されてもよい。なお、エッジスイッチ11の識別テーブル1063のヘッダ情報401には、カプセル化前のパケットのヘッダ情報が登録され、中継装置12及び集約スイッチ13の識別テーブル1063のヘッダ情報401には、カプセル化された後のエッジスイッチ11によって新たに付加されたヘッダ情報が登録される。振分先402には、ヘッダ情報に対応する振分先となるパケット監視部104又は転送処理部105の識別情報が登録される。   The identification table 1063 includes header information 401 and a distribution destination 402. In the header information 401, information (header information) set in the header of the received packet is registered. In FIG. 4, VLANID is registered in the header information 401, but the present invention is not limited to this, and an MPLS label or the like may be registered. In addition, the header information 401 of the packet before encapsulation is registered in the header information 401 of the identification table 1063 of the edge switch 11, and is encapsulated in the header information 401 of the identification table 1063 of the relay device 12 and the aggregation switch 13. Header information newly added by the later edge switch 11 is registered. In the distribution destination 402, identification information of the packet monitoring unit 104 or the transfer processing unit 105 that is the distribution destination corresponding to the header information is registered.

図5は、実施例1の監視テーブル1062の説明図である。   FIG. 5 is an explanatory diagram of the monitoring table 1062 according to the first embodiment.

監視テーブル1062は、監視条件501、及びカウンタ502を含む。監視条件501には、パケットの監視条件が登録される。なお、エッジスイッチ11の監視テーブル1062の監視条件501には、カプセル化前のパケットのヘッダ情報が登録され、中継装置12及び集約スイッチ13の監視テーブル1062の監視条件501には、カプセル化された後のエッジスイッチ11によって新たに付加されたヘッダ情報が登録される。また、図3で説明したように、監視条件501には、IPレイヤに登録された情報(例えば、ポート番号等)が登録されてもよい。例えば、図5の2行目のレコードの監視条件501には、VLANIDが「#2」であって、かつポート番号が「#1」であるという条件が登録される。これによって、パケット監視部104は、VLANIDが「#2」であるパケットのみIPレイヤをスヌーピングして、ポート番号を取得すればよく、他のパケットのIPレイヤをスヌーピングする必要がないので、ラインカード100の処理負荷を軽減しつつ、IPレイヤの所定の情報が同一となるパケットを計数できる。また、監視条件501には、IPレイヤの情報のみが登録されてもよい。この場合、パケット監視部104に入力された全てのパケットのIPレイヤをスヌーピングすることになるが、フロー識別部103によってヘッダ情報に基づいてパケット監視部104に振り分けているため、ラインカード100に入力された全てのパケットのIPレイヤをスヌーピングする必要がなく、ラインカード100の処理負荷を軽減できる。   The monitoring table 1062 includes a monitoring condition 501 and a counter 502. In the monitoring condition 501, a packet monitoring condition is registered. Note that the header information of the packet before encapsulation is registered in the monitoring condition 501 of the monitoring table 1062 of the edge switch 11, and is encapsulated in the monitoring condition 501 of the monitoring table 1062 of the relay device 12 and the aggregation switch 13. Header information newly added by the later edge switch 11 is registered. As described with reference to FIG. 3, information registered in the IP layer (for example, a port number) may be registered in the monitoring condition 501. For example, a condition that the VLAN ID is “# 2” and the port number is “# 1” is registered in the monitoring condition 501 of the record in the second row in FIG. As a result, the packet monitoring unit 104 only needs to snooping the IP layer only for the packet whose VLAN ID is “# 2” to obtain the port number, and does not need to snoop the IP layer of other packets. While reducing the processing load of 100, it is possible to count packets in which predetermined information of the IP layer is the same. In addition, only IP layer information may be registered in the monitoring condition 501. In this case, the IP layer of all the packets input to the packet monitoring unit 104 is snooped. However, since the flow identification unit 103 distributes the packet to the packet monitoring unit 104 based on the header information, the IP layer is input to the line card 100. It is not necessary to snooping the IP layer of all the packets that have been sent, and the processing load on the line card 100 can be reduced.

カウンタ502には、監視条件501に登録された監視条件と一致するパケットの受信数が登録される。なお、カウンタ502に登録される情報は、監視条件と一致するパケットの数に限定されず、例えば、監視条件と一致するパケットの容量の合計が登録されてもよい。   In the counter 502, the number of received packets that match the monitoring condition registered in the monitoring condition 501 is registered. The information registered in the counter 502 is not limited to the number of packets that match the monitoring condition, and for example, the total capacity of packets that match the monitoring condition may be registered.

図6は、実施例1の転送テーブル1061の説明図である。   FIG. 6 is an explanatory diagram of the transfer table 1061 according to the first embodiment.

転送テーブル1061は、ヘッダ情報601及びアクション602を含む。ヘッダ情報601には、パケットのヘッダ情報が登録される。なお、エッジスイッチ11の転送テーブル1061のヘッダ情報601には、カプセル化前のパケットのヘッダ情報が登録され、中継装置12及び集約スイッチ13の転送テーブル1061のヘッダ情報601には、カプセル化された後のエッジスイッチ11によって新たに付加されたヘッダ情報が登録される。アクション602には、ヘッダ情報601に登録されたヘッダ情報と一致するパケットに対するアクションが登録される。図6に示す2行目及び3行目のレコードのアクション602には、所定のポートに転送するパケットを転送する旨のアクションが登録されている。また、図6に示す1行目のレコードのように、アクション602には、廃棄するパケットの割合と転送するポート番号とが登録されてもよい。   The forwarding table 1061 includes header information 601 and an action 602. In the header information 601, packet header information is registered. The header information 601 of the packet before encapsulation is registered in the header information 601 of the forwarding table 1061 of the edge switch 11, and is encapsulated in the header information 601 of the forwarding table 1061 of the relay device 12 and the aggregation switch 13. Header information newly added by the later edge switch 11 is registered. In the action 602, an action for a packet that matches the header information registered in the header information 601 is registered. In the action 602 of the records in the second and third lines shown in FIG. 6, an action for transferring a packet to be transferred to a predetermined port is registered. Further, as in the record on the first line shown in FIG. 6, the ratio of packets to be discarded and the port number to be transferred may be registered in the action 602.

図7は、実施例1の管理カード120の構成図である。   FIG. 7 is a configuration diagram of the management card 120 according to the first embodiment.

管理カード120は、装置内インタフェース121、装置管理部122、及び外部インタフェース123を有する。   The management card 120 includes an in-device interface 121, a device management unit 122, and an external interface 123.

装置管理部122は、プロセッサによって実現されるものとして説明するが、これに対応する図示しないハードウェア(例えば、FPGA(Field−Programmable Gate Array)等)が実行することによって実現されてもよい。   Although the device management unit 122 is described as being realized by a processor, the device management unit 122 may be realized by executing hardware (not shown) (for example, a field-programmable gate array (FPGA)) corresponding thereto.

装置内インタフェース121は、内部スイッチ110に接続されるインタフェースである。装置管理部122は、NWスイッチ1全体を管理し、ラインカード100のフローテーブル106の更新処理を実行する。外部インタフェース123は、制御ネットワーク7を介してネットワーク制御装置2に接続されるインタフェースである。   The in-device interface 121 is an interface connected to the internal switch 110. The device management unit 122 manages the entire NW switch 1 and executes update processing of the flow table 106 of the line card 100. The external interface 123 is an interface connected to the network control device 2 via the control network 7.

図8は、実施例1のネットワーク制御装置2の構成図である。   FIG. 8 is a configuration diagram of the network control device 2 according to the first embodiment.

まず、ネットワーク制御装置2のハードウェア構成について説明する。ネットワーク制御装置2は、制御インタフェース21、プロセッサ22、メモリ23、及び二次記憶装置24を有する。制御インタフェース21、プロセッサ22、メモリ23、及び二次記憶装置24は互いにバス25を介して接続される。   First, the hardware configuration of the network control device 2 will be described. The network control device 2 includes a control interface 21, a processor 22, a memory 23, and a secondary storage device 24. The control interface 21, processor 22, memory 23, and secondary storage device 24 are connected to each other via a bus 25.

制御インタフェース21は、各NWスイッチ1に制御ネットワーク7を介して接続されるインタフェースである。   The control interface 21 is an interface connected to each NW switch 1 via the control network 7.

プロセッサ22は、各種演算処理を実行する。二次記憶装置24は非揮発性の非一時的な記憶媒体であり、各種プログラム及び各種データが記憶される。メモリ23は揮発性の一時的な記憶媒体であり、メモリ23には、二次記憶装置24に記憶された各種プログラム及び各種データがロードされ、プロセッサ22がメモリ23にロードされた各種プログラムを実行し、メモリ23にロードされた各種データを読み書きする。   The processor 22 executes various arithmetic processes. The secondary storage device 24 is a non-volatile non-transitory storage medium, and stores various programs and various data. The memory 23 is a volatile temporary storage medium. The memory 23 is loaded with various programs and various data stored in the secondary storage device 24, and the processor 22 executes the various programs loaded in the memory 23. Then, various data loaded in the memory 23 are read and written.

プロセッサ22は、トポロジ管理部221及びフロー管理部222を有する。トポロジ管理部221及びフロー管理部222は、プロセッサ22がこれらに対応するプログラムを実行することによって実現されるものとして説明するが、ハードウェアによって実現されてもよい。   The processor 22 includes a topology management unit 221 and a flow management unit 222. Although the topology management unit 221 and the flow management unit 222 are described as being realized by the processor 22 executing programs corresponding thereto, they may be realized by hardware.

トポロジ管理部221は、モバイルバックホール5のネットワークトポロジを管理する。フロー管理部222は、各NWスイッチ1のフローテーブル106を生成し、フローテーブル106の各NWスイッチ1の設定処理を実行する。   The topology management unit 221 manages the network topology of the mobile backhaul 5. The flow management unit 222 generates a flow table 106 for each NW switch 1 and executes setting processing for each NW switch 1 in the flow table 106.

メモリ23には、トポロジデータベース231及びフロー管理データベース232が記憶される。トポロジデータベース231には、モバイルバックホール5のネットワークトポロジが登録される。トポロジデータベース231の詳細は図9で説明する。フロー管理データベース232には、各NWスイッチ1のフローテーブル106に登録された情報が登録される。   The memory 23 stores a topology database 231 and a flow management database 232. In the topology database 231, the network topology of the mobile backhaul 5 is registered. Details of the topology database 231 will be described with reference to FIG. Information registered in the flow table 106 of each NW switch 1 is registered in the flow management database 232.

図9は、実施例1のトポロジデータベース231の説明図である。   FIG. 9 is an explanatory diagram of the topology database 231 according to the first embodiment.

トポロジデータベース231は、集約スイッチ13で集約されるパケットのフローに関する情報が登録される。トポロジデータベース231は、エッジスイッチ901及び集約スイッチ902を含む。   In the topology database 231, information relating to the flow of packets aggregated by the aggregation switch 13 is registered. The topology database 231 includes an edge switch 901 and an aggregation switch 902.

エッジスイッチ901には、エッジスイッチ11が基地局3からパケットを受信するポート番号及びカプセル化される前のVLANIDと、エッジスイッチ11が当該パケットを送信するポート番号及びエッジスイッチ11によってカプセル化された後のVLANIDとが登録される。   The edge switch 901 encapsulates the port number at which the edge switch 11 receives a packet from the base station 3 and the VLAN ID before encapsulation, and the port number at which the edge switch 11 transmits the packet and the edge switch 11 encapsulated. Later VLANIDs are registered.

集約スイッチ902には、エッジスイッチ11が送信したパケットを集約スイッチ13が受信するポート番号と当該パケットのエッジスイッチ11によってカプセル化された後のVLANIDとが登録される。   In the aggregation switch 902, a port number at which the aggregation switch 13 receives a packet transmitted by the edge switch 11 and a VLAN ID after the packet is encapsulated by the edge switch 11 are registered.

例えば、図9に示す1行目〜3行目のレコードは、集約スイッチであるSW#100のポート#1でVLAN#100として受信されるパケットは、エッジスイッチ11であるSW#1がポート#0で受信するVLAN#1のパケットと、エッジスイッチ11であるSW#1がポート#0で受信するVLAN#2のパケットと、エッジスイッチ11であるSW#1がポート#1で受信するVLAN#5のパケットとが、集約されていることを示す。   For example, the records in the first to third lines shown in FIG. 9 indicate that packets received as VLAN # 100 at port # 1 of SW # 100 that is the aggregation switch are received by SW # 1 that is edge switch 11 and port # 1. VLAN # 1 packet received at 0, VLAN # 2 packet received by SW # 1 as the edge switch 11 at port # 0, and VLAN # 2 received by SW # 1 as the edge switch 11 at port # 1 5 packets are aggregated.

また、図9に示す4行目及5行目のレコードは、集約スイッチであるSW#100のポート#1でVLAN#200として受信されるパケットは、エッジスイッチ11であるSW#1がポート#2で受信するVLAN#10のパケットと、エッジスイッチ11であるSW#1がポート#2で受信するVLAN#20のパケットと、集約されていることを示す。   Also, the records in the fourth and fifth lines shown in FIG. 9 indicate that packets received as VLAN # 200 at port # 1 of SW # 100 that is the aggregation switch are received by SW # 1 that is edge switch 11 and port # 1. 2 indicates that the packet of VLAN # 10 received by port 2 and the packet of VLAN # 20 received by SW # 1 which is the edge switch 11 at port # 2 are aggregated.

すなわち、トポロジデータベース231には、集約スイッチ13と当該集約スイッチ13が集約するパケットを送受信するエッジスイッチ11との関係を示す集約関係が登録されていればよい。   In other words, the topology database 231 only needs to register an aggregation relationship indicating the relationship between the aggregation switch 13 and the edge switch 11 that transmits and receives packets aggregated by the aggregation switch 13.

図10は、実施例1のネットワーク制御装置2がトポロジデータベース231を構築する手順の説明図である。   FIG. 10 is an explanatory diagram of a procedure in which the network control device 2 according to the first embodiment constructs the topology database 231.

図10では、ネットワーク制御装置2は、レイヤ2ネットワーク内の各NWスイッチ1との間で、IEEE802.1ABとして標準化されているLLDP(Link Layer Discovery Protocol)、及びOpenFlow(OpenFlowは登録商標、以下同じ)の仕組みを用いるものとする。   In FIG. 10, the network control device 2 communicates with each NW switch 1 in the layer 2 network by LLDP (Link Layer Discovery Protocol), which is standardized as IEEE 802.1AB, and OpenFlow (OpenFlow is a registered trademark, the same applies hereinafter). ).

まず、ネットワーク制御装置2は、NWスイッチ1Aに対して、LLDPパケットをOpenFlowのPacket−outメッセージを用いて送信する。NWスイッチ1Aは、Packet−outを受信した場合、LLDPパケットを隣接するNWスイッチ1Bに送信する。NWスイッチ1BはNWスイッチ1AからLLDPを受信した場合、OpenFlowのPacket−inメッセージを用いて、LLDPフレームをネットワーク制御装置2に送信する。   First, the network control device 2 transmits an LLDP packet to the NW switch 1A using an OpenFlow Packet-out message. When receiving the packet-out, the NW switch 1A transmits an LLDP packet to the adjacent NW switch 1B. When the NW switch 1B receives LLDP from the NW switch 1A, the NW switch 1B transmits an LLDP frame to the network control device 2 using an OpenFlow Packet-in message.

ネットワーク制御装置2は、NWスイッチ1Bから受信したPacket−inに含まれる情報に基づいて、ネットワークスイッチ1Aとネットワークスイッチ1Bとの接続関係に関する情報をトポロジデータベース231に設定する。   The network control device 2 sets information related to the connection relationship between the network switch 1A and the network switch 1B in the topology database 231 based on the information included in the Packet-in received from the NW switch 1B.

ネットワーク制御装置2は、図10に示す手順をレイヤ2ネットワーク内の全てのNWスイッチ1に対して実行することによって、レイヤ2ネットワークのネットワークトポロジーを把握できる。そして、ネットワーク制御装置2は、各NWスイッチ1の接続関係に基づいて、図9に示すトポロジデータベース231を構築する。   The network control device 2 can grasp the network topology of the layer 2 network by executing the procedure shown in FIG. 10 for all the NW switches 1 in the layer 2 network. Then, the network control device 2 constructs the topology database 231 shown in FIG. 9 based on the connection relationship of each NW switch 1.

なお、ネットワーク制御装置2がトポロジデータベース231を構築する処理は、トポロジ管理部221によって実行される。   Note that the topology management unit 221 executes processing for the network control device 2 to construct the topology database 231.

図11は、実施例1のPBBパケットのフォーマットの説明図である。   FIG. 11 is an explanatory diagram of the format of the PBB packet according to the first embodiment.

PBBパケットは、PBBヘッダ、MACヘッダ、及びIPヘッダ等を含む。基地局3から送信されたパケットは、PBBヘッダを含まない通常のパケットである。エッジスイッチ11は、基地局3からパケットを受信すると、MACヘッダの送信先MACアドレス(CMAC DA)及びVLANを参照して、受信したパケットにPBBヘッダを付加して、受信したパケットをカプセル化して、PBBヘッダを付加したパケットを中継スイッチ12に転送する。   The PBB packet includes a PBB header, a MAC header, an IP header, and the like. The packet transmitted from the base station 3 is a normal packet that does not include a PBB header. When receiving the packet from the base station 3, the edge switch 11 refers to the destination MAC address (CMAC DA) and VLAN of the MAC header, adds a PBB header to the received packet, and encapsulates the received packet. The packet with the PBB header added is transferred to the relay switch 12.

中継スイッチ12、及び集約スイッチ13は、PBBヘッダが付加されたパケットを受信すると、受信したパケットのPBBヘッダを参照して、当該パケットを転送する。   When receiving the packet with the PBB header added, the relay switch 12 and the aggregation switch 13 refer to the PBB header of the received packet and transfer the packet.

エッジスイッチ11は、MACヘッダの送信元MACアドレス及びVLANを参照することによって、当該エッジスイッチ11に接続された基地局3単位でパケットのフローを監視する。   The edge switch 11 monitors the packet flow for each base station 3 connected to the edge switch 11 by referring to the transmission source MAC address and VLAN in the MAC header.

また、集約スイッチ13は、PBBヘッダを参照して、パケットのフローを監視する。例えば、集約スイッチ13は、PBBヘッダの送信元MACアドレス(BMAC SA)、BVID(Backbone VLAN(Virtual Local Area Network) Identifier)、及びISID(I-service instance identifier)を参照して、当該集約スイッチ13に到達するまでに集約されたパケットのフローを監視する。   Further, the aggregation switch 13 refers to the PBB header and monitors the packet flow. For example, the aggregation switch 13 refers to the source MAC address (BMAC SA), BVID (Backbone VLAN (Virtual Area Network) Identifier), and ISID (I-service instance identifier) switch 13 of the PBB header, Monitor the flow of aggregated packets before reaching.

本実施例では、モバイルバックホール5においては、PBBヘッダが付加されたPBBパケットが転送されるものとして説明するが、これに限定されない。例えば、本実施例は、MPLSヘッダが付加されたMPLSパケットが転送されてもよいし、通常のパケットにさらにMACヘッダが付加されたEthernet over Ethernetパケットが転送されてもよい。   In the present embodiment, the mobile backhaul 5 is described as a PBB packet to which a PBB header is added, but is not limited thereto. For example, in this embodiment, an MPLS packet to which an MPLS header is added may be transferred, or an Ethernet over Ethernet packet to which a MAC header is further added to a normal packet may be transferred.

図12は、実施例1のMPLSパケットのフォーマットの説明図である。   FIG. 12 is an explanatory diagram of a format of an MPLS packet according to the first embodiment.

MPLSパケットは、MPLSヘッダ、MACヘッダ、及びIPヘッダ等を含む。エッジスイッチ11は、基地局3からパケットを受信すると、基地局3から送信されたパケットのMACヘッダの送信先MACアドレス(MAC DA)及びVLANを参照して、受信したパケットにMPLSヘッダを付加して、受信したパケットをカプセル化して、MPLSヘッダを付加したパケットを中継スイッチ12に転送する。   The MPLS packet includes an MPLS header, a MAC header, an IP header, and the like. When the edge switch 11 receives a packet from the base station 3, the edge switch 11 refers to the destination MAC address (MAC DA) and VLAN of the MAC header of the packet transmitted from the base station 3, and adds an MPLS header to the received packet. The received packet is encapsulated, and the packet with the MPLS header added is transferred to the relay switch 12.

中継スイッチ12、及び集約スイッチ13は、MPLSヘッダが付加されたパケットを受信すると、受信したパケットのMPLSヘッダを参照して、当該パケットを転送する。   When receiving the packet with the MPLS header added, the relay switch 12 and the aggregation switch 13 refer to the MPLS header of the received packet and transfer the packet.

エッジスイッチ11は、MACヘッダの送信元MACアドレス及びVLANを参照することによって、当該エッジスイッチ11に接続された基地局3単位でパケットのフローを監視する。   The edge switch 11 monitors the packet flow for each base station 3 connected to the edge switch 11 by referring to the transmission source MAC address and VLAN in the MAC header.

また、集約スイッチ13は、MPLSヘッダを参照して、パケットのフローを監視する。例えば、集約スイッチ13は、MPLSヘッダのラベルの値を参照して、当該集約スイッチ13に到達するまでに集約されたパケットのフローを監視する。   Further, the aggregation switch 13 refers to the MPLS header and monitors the packet flow. For example, the aggregation switch 13 refers to the label value of the MPLS header, and monitors the flow of packets that have been aggregated until reaching the aggregation switch 13.

図13は、実施例1のEthernet over Ethernetのパケットのフォーマットの説明図である。   FIG. 13 is an explanatory diagram of a packet format of the Ethernet over Ethernet according to the first embodiment.

Ethernet over Ethernetパケットは、第1MACヘッダ、第2MACヘッダ、及びIPヘッダ等を含む。エッジスイッチ11は、基地局3からパケットを受信すると、基地局3から送信された通常のパケットの第2MACヘッダの送信先MACアドレス(CMAC DA)及びVLANを参照して、受信したパケットに第1MACヘッダを付加して、受信したパケットをカプセル化して、第1MACヘッダを付加したパケットを中継スイッチ12に転送する。   The Ethernet over Ethernet packet includes a first MAC header, a second MAC header, an IP header, and the like. When the edge switch 11 receives the packet from the base station 3, the edge switch 11 refers to the transmission destination MAC address (CMAC DA) and the VLAN of the second MAC header of the normal packet transmitted from the base station 3, and adds the first MAC to the received packet. The header is added, the received packet is encapsulated, and the packet with the first MAC header added is transferred to the relay switch 12.

中継スイッチ12、及び集約スイッチ13は、第1MACヘッダが付加されたパケットを受信すると、受信したパケットの第1MACヘッダを参照して、当該パケットを転送する。   When receiving the packet with the first MAC header added, the relay switch 12 and the aggregation switch 13 refer to the first MAC header of the received packet and transfer the packet.

エッジスイッチ11は、第2MACヘッダの送信元MACアドレス及びVLANを参照することによって、当該エッジスイッチ11に接続された基地局3単位でパケットのフローを監視する。   The edge switch 11 monitors the packet flow for each base station 3 connected to the edge switch 11 by referring to the transmission source MAC address and VLAN of the second MAC header.

また、集約スイッチ13は、第1MACヘッダを参照して、パケットのフローを監視する。例えば、集約スイッチ13は、第1MACヘッダの送信元MACアドレス及びVLANを参照して、当該集約スイッチ13に到達するまでに集約されたパケットのフローを監視する。   Further, the aggregation switch 13 refers to the first MAC header and monitors the packet flow. For example, the aggregation switch 13 refers to the transmission source MAC address and VLAN in the first MAC header, and monitors the flow of packets that have been aggregated until the aggregation switch 13 is reached.

図14は、実施例1の集約スイッチ13が輻輳を検出した場合の処理の概略について説明する。図14では、パケットが上り方向(エッジスイッチ11から集約スイッチ13に向かう方向)に転送される例を示す。   FIG. 14 illustrates an outline of processing when the aggregation switch 13 according to the first embodiment detects congestion. FIG. 14 shows an example in which a packet is transferred in the upstream direction (direction from the edge switch 11 toward the aggregation switch 13).

集約スイッチ13Aのパケット監視部104は、監視テーブル1062に登録された監視条件と一致するパケットを監視している。集約スイッチ13Aは、ある監視条件のパケットのカウンタが所定の閾値以上となった場合、当該監視条件のパケットのフローにおいて輻輳が発生したと判断し、輻輳通知をネットワーク制御装置2に送信する(1401)。輻輳が発生した監視条件は、例えばVLAN#Nであるものとする。ここで、集約スイッチ13Aが受信するVLAN#Nのパケットは、例えば、エッジスイッチ11A及び11Bが基地局3から受信するVLAN#Aのパケットを集約するものとする。当該集約関係は、ネットワーク制御装置2のトポロジデータベース231に登録されている。本実施例では、集約スイッチ13Aは、監視条件と一致するパケットの受信数に基づいて輻輳を検出し、輻輳通知をネットワーク制御装置2に送信するものとするが、これに限定されない。例えば、集約スイッチ13は、監視条件と一致するパケットの受信数が所定の条件を満たせば、その旨の通知をネットワーク制御装置2に送信してもよい。具体的には、集約スイッチ13の監視テーブル1062には、異常を検出した旨のパケットに関する監視条件が登録されており、当該監視条件に対する閾値として「1」が登録されている場合、集約スイッチ13は、異常を検出した旨のパケットを受信すると、即座にその旨の通知をネットワーク制御装置2に送信してもよい。   The packet monitoring unit 104 of the aggregation switch 13A monitors packets that match the monitoring conditions registered in the monitoring table 1062. The aggregation switch 13A determines that congestion has occurred in the packet flow of the monitoring condition when the counter of the packet of the monitoring condition exceeds a predetermined threshold, and transmits a congestion notification to the network control device 2 (1401). ). Assume that the monitoring condition in which congestion occurs is, for example, VLAN #N. Here, the VLAN #N packet received by the aggregation switch 13A is, for example, the VLAN #A packet received from the base station 3 by the edge switches 11A and 11B. The aggregation relationship is registered in the topology database 231 of the network control device 2. In the present embodiment, the aggregation switch 13A detects congestion based on the number of received packets that match the monitoring condition and transmits a congestion notification to the network control device 2, but the present invention is not limited to this. For example, the aggregation switch 13 may transmit a notification to that effect to the network control device 2 if the number of received packets that match the monitoring condition satisfies a predetermined condition. Specifically, the monitoring table 1062 of the aggregation switch 13 registers a monitoring condition regarding a packet indicating that an abnormality has been detected, and if “1” is registered as a threshold for the monitoring condition, the aggregation switch 13 When a packet indicating that an abnormality has been detected is received, a notification to that effect may be sent immediately to the network control device 2.

ネットワーク制御装置2は、ステップ1401の処理で送信された輻輳通知を受信した場合、トポロジデータベース231を参照して、輻輳が発生した監視条件のVLAN#Nに集約されるVLAN#Aを特定し、VLAN#Aのパケットを集約スイッチ13に送信するエッジスイッチ11A及び11Bを特定する。そして、ネットワーク制御装置2は、特定したエッジスイッチ11A及び11BでVLAN#Aのパケットのカウント指示を送信する(1402)。カウント指示は、エッジスイッチ11A及び11Bの監視テーブル1062の監視条件にVLAN#Aを追加する監視テーブル1062の更新指示、及びエッジスイッチ11A及び11Bの識別テーブル1063においてVLAN#Aの振分先をパケット監視部104に追加又は変更する識別テーブル1063の更新指示を含む。   When the network control apparatus 2 receives the congestion notification transmitted in the process of step 1401, the network control apparatus 2 refers to the topology database 231 and identifies VLAN # A to be aggregated in the VLAN # N of the monitoring condition where the congestion has occurred. The edge switches 11A and 11B that transmit the VLAN #A packet to the aggregation switch 13 are specified. Then, the network control device 2 transmits a VLAN #A packet count instruction using the identified edge switches 11A and 11B (1402). The count instruction is a packet indicating the update instruction of the monitoring table 1062 for adding VLAN #A to the monitoring conditions of the monitoring table 1062 of the edge switches 11A and 11B, and the distribution destination of VLAN #A in the identification table 1063 of the edge switches 11A and 11B. An update instruction for the identification table 1063 to be added or changed to the monitoring unit 104 is included.

エッジスイッチ11A及び11Bは、ネットワーク制御装置2から送信されたカウント指示に基づいて、フローテーブル106を更新して、VLAN#Aのカウントを開始する。そして、所定時間経過した場合、又はネットワーク制御装置2からカウンタ値送信指示を受信した場合、エッジスイッチ11A及び11Bは、受信したVLAN#Aのパケット数をカウンタの値をカウント結果としてネットワーク制御装置2に送信する(1403)。エッジスイッチ11A及び11Bでは、通常時には、パケットの監視を実施しないので、エッジスイッチ11A及び11Bパケットのカウント結果をネットワーク制御装置2に送信しないので、制御ネットワーク7の通信量を低減できる。   The edge switches 11A and 11B update the flow table 106 based on the count instruction transmitted from the network control device 2 and start counting VLAN # A. When a predetermined time has elapsed or when a counter value transmission instruction has been received from the network control device 2, the edge switches 11A and 11B use the received VLAN #A packet count as a count value and the network control device 2 (1403). Since the edge switches 11A and 11B normally do not monitor packets, the count results of the edge switches 11A and 11B packets are not transmitted to the network control device 2, so that the communication traffic of the control network 7 can be reduced.

ネットワーク制御装置2は、エッジスイッチ11A及び11Bからカウント結果を受信した場合、受信したカウント結果に基づいて、エッジスイッチ11A及び11BのVLAN#Aのパケットに対する新たなアクション(制御内容)を決定し、決定したVLAN#Aのパケットに対する新たなアクションを転送テーブル1061に登録する登録指示をエッジスイッチ11A及び11Bに送信する(1404)。   When the network control device 2 receives the count results from the edge switches 11A and 11B, the network control device 2 determines a new action (control content) for the VLAN #A packet of the edge switches 11A and 11B based on the received count results. A registration instruction for registering a new action for the determined VLAN # A packet in the forwarding table 1061 is transmitted to the edge switches 11A and 11B (1404).

エッジスイッチ11A及び11Bは、ステップ1404の処理で送信された登録指示に基づいて転送テーブル1061を更新し、更新後の転送テーブル1061に基づいてパケットを転送する。   The edge switches 11A and 11B update the transfer table 1061 based on the registration instruction transmitted in step 1404, and transfer the packet based on the updated transfer table 1061.

なお、上り方向に転送されるパケットについて説明したが、本実施例は下り方向に転送されるパケットにも適用可能である。下り方向に転送されるパケットに本実施例を適用した場合の詳細については実施例3で説明する。   Although the packet transferred in the upstream direction has been described, the present embodiment can also be applied to a packet transferred in the downstream direction. The details when the present embodiment is applied to a packet transferred in the downstream direction will be described in a third embodiment.

図15は、実施例1の集約スイッチ13のパケット受信処理のフローチャートである。   FIG. 15 is a flowchart of packet reception processing of the aggregation switch 13 according to the first embodiment.

集約スイッチ13は、中継スイッチ12からパケットを受信すると(1501)、フロー識別部103が、識別テーブル1063を参照し、受信したパケットが監視対象のパケットであるか否かを判定する(1502)。具体的には、フロー識別部103は、受信したパケットのエッジスイッチ11によって付加されたヘッダ情報が識別テーブル1063のヘッダ情報401に登録されたヘッダ情報と一致するレコードの振分先402にパケット監視部104を示す情報が登録されていれば、受信したパケットが監視対象のパケットであると判定し、当該レコードの振分先402にパケット監視部104を示す情報が登録されていなければ、受信したパケットは監視対象のパケットでないと判定する。   When the aggregation switch 13 receives a packet from the relay switch 12 (1501), the flow identification unit 103 refers to the identification table 1063 and determines whether the received packet is a monitoring target packet (1502). Specifically, the flow identification unit 103 monitors the packet to the distribution destination 402 of the record in which the header information added by the edge switch 11 of the received packet matches the header information registered in the header information 401 of the identification table 1063. If the information indicating the section 104 is registered, it is determined that the received packet is a packet to be monitored. If the information indicating the packet monitoring section 104 is not registered in the distribution destination 402 of the record, the received packet is received. It is determined that the packet is not a monitoring target packet.

ステップ1502の処理で、受信したパケットが監視対象のパケットであると判定された場合(1502:Yes)、フロー識別部103は、受信したパケットをパケット監視部104に出力する(1503)。   If it is determined in step 1502 that the received packet is a packet to be monitored (1502: Yes), the flow identifying unit 103 outputs the received packet to the packet monitoring unit 104 (1503).

パケット監視部104は、監視テーブル1062を参照し、入力されたパケットが監視条件501に登録された条件と一致するか否かを判定する(1504)。   The packet monitoring unit 104 refers to the monitoring table 1062 and determines whether or not the input packet matches the condition registered in the monitoring condition 501 (1504).

ステップ1504の処理で、入力されたパケットが監視条件501に登録された条件と一致すると判定された場合(1504:YES)、パケット監視部104は、入力されたパケットが監視条件501に登録された条件と一致する監視テーブル1062のレコードのカウンタ502に1を加算する(1505)。そして、パケット監視部104は、監視テーブル1062の当該レコードのカウンタ502に登録された値が閾値以上であるか否かを判定する(1506)。   When it is determined in step 1504 that the input packet matches the condition registered in the monitoring condition 501 (1504: YES), the packet monitoring unit 104 registers the input packet in the monitoring condition 501. 1 is added to the counter 502 of the record in the monitoring table 1062 that matches the condition (1505). Then, the packet monitoring unit 104 determines whether or not the value registered in the counter 502 of the record in the monitoring table 1062 is greater than or equal to the threshold (1506).

ステップ1506の処理で、カウンタ502に登録された値が閾値以上であると判定された場合(1506:Yes)、パケット監視部104は、受信したパケットが一致する監視条件で輻輳が発生していると判定し、輻輳通知をネットワーク制御装置2に送信する(1507)。   If it is determined in step 1506 that the value registered in the counter 502 is greater than or equal to the threshold (1506: Yes), the packet monitoring unit 104 is congested under the monitoring condition that the received packets match. And the congestion notification is transmitted to the network control device 2 (1507).

次に、転送処理部105は、転送テーブル1061を参照し、受信したパケットのアクションを決定し、受信したパケットに対して転送処理を実行し(1508)、パケット受信処理を終了する。   Next, the transfer processing unit 105 refers to the transfer table 1061, determines the action of the received packet, executes the transfer process on the received packet (1508), and ends the packet reception process.

ステップ1502の処理で、受信したパケットが監視対象のパケットでないと判定された場合(1502:No)、ステップ1508の処理に進み、転送処理部105は、受信したパケットに対して転送処理を実行し、パケット受信処理を終了する。また、ステップ1504の処理でパケット監視部104に入力されたパケットが監視条件501に登録された条件と一致しないと判定された場合(1504:No)、及びステップ1506の処理で、カウンタ502に登録された値が閾値以上であると判定された場合(1506:No)も同じく、ステップ1508の処理に進み、転送処理部105は、受信したパケットに対して転送処理を実行し、パケット受信処理を終了する。   If it is determined in step 1502 that the received packet is not a packet to be monitored (1502: No), the process proceeds to step 1508, and the transfer processing unit 105 executes the transfer process on the received packet. The packet reception process is terminated. In addition, when it is determined that the packet input to the packet monitoring unit 104 does not match the condition registered in the monitoring condition 501 in the process of step 1504 (1504: No), and registered in the counter 502 in the process of step 1506 Similarly, when it is determined that the calculated value is equal to or greater than the threshold (1506: No), the process proceeds to step 1508, and the transfer processing unit 105 executes the transfer process on the received packet, and performs the packet reception process. finish.

図16は、実施例1のエッジスイッチ11のパケット受信処理のフローチャートである。   FIG. 16 is a flowchart of packet reception processing of the edge switch 11 according to the first embodiment.

エッジスイッチ11は、基地局3からパケットを受信すると(1601)、フロー識別部103が、識別テーブル1063を参照し、受信したパケットが監視対象のパケットであるか否かを判定する(1602)。具体的には、フロー識別部103は、受信したパケットのカプセル化される前のヘッダ情報が識別テーブル1063のヘッダ情報401に登録されたヘッダ情報と一致するレコードの振分先402にパケット監視部104を示す情報が登録されていれば、受信したパケットが監視対象のパケットであると判定し、当該レコードの振分先402にパケット監視部104を示す情報が登録されていなければ、受信したパケットは監視対象のパケットでないと判定する。   When the edge switch 11 receives a packet from the base station 3 (1601), the flow identification unit 103 refers to the identification table 1063 and determines whether the received packet is a monitoring target packet (1602). Specifically, the flow identification unit 103 sets the packet monitoring unit to the distribution destination 402 of the record in which the header information before encapsulation of the received packet matches the header information registered in the header information 401 of the identification table 1063. If the information indicating 104 is registered, it is determined that the received packet is a packet to be monitored. If the information indicating the packet monitoring unit 104 is not registered in the distribution destination 402 of the record, the received packet is determined. Is not a packet to be monitored.

ステップ1602の処理で、受信したパケットが監視対象のパケットであると判定された場合(1602:Yes)、フロー識別部103は、受信したパケットをパケット監視部104に出力する(1603)。   If it is determined in step 1602 that the received packet is a packet to be monitored (1602: Yes), the flow identification unit 103 outputs the received packet to the packet monitoring unit 104 (1603).

パケット監視部104は、監視テーブル1062を参照し、入力されたパケットが監視条件501に登録された条件と一致するか否かを判定する(1604)。   The packet monitoring unit 104 refers to the monitoring table 1062 and determines whether or not the input packet matches the condition registered in the monitoring condition 501 (1604).

ステップ1604の処理で、入力されたパケットが監視条件501に登録された条件と一致すると判定された場合(1604:YES)、パケット監視部104は、入力されたパケットが監視条件501に登録された条件と一致する監視テーブル1062のレコードのカウンタ502に1を加算する(1605)。次に、転送処理部105は、転送テーブル1061を参照し、受信したパケットのアクションを決定し、受信したパケットに対して転送処理を実行し(1606)、パケット受信処理を終了する。   If it is determined in step 1604 that the input packet matches the condition registered in the monitoring condition 501 (1604: YES), the packet monitoring unit 104 registers the input packet in the monitoring condition 501. 1 is added to the counter 502 of the record in the monitoring table 1062 that matches the condition (1605). Next, the transfer processing unit 105 refers to the transfer table 1061, determines the action of the received packet, executes the transfer process on the received packet (1606), and ends the packet reception process.

ステップ1602の処理で、受信したパケットが監視対象のパケットでないと判定された場合(1602:No)、ステップ1606の処理に進み、転送処理部105は、受信したパケットに対して転送処理を実行し、パケット受信処理を終了する。また、ステップ1604の処理でパケット監視部104に入力されたパケットが監視条件501に登録された条件と一致しないと判定された場合(1604:No)も同じく、ステップ1508の処理に進み、転送処理部105は、受信したパケットに対して転送処理を実行し、パケット受信処理を終了する。   If it is determined in step 1602 that the received packet is not a packet to be monitored (1602: No), the process proceeds to step 1606, and the transfer processing unit 105 executes the transfer process on the received packet. The packet reception process is terminated. Similarly, when it is determined in step 1604 that the packet input to the packet monitoring unit 104 does not match the condition registered in the monitoring condition 501 (1604: No), the process proceeds to step 1508, and the transfer process is performed. The unit 105 executes a transfer process on the received packet and ends the packet reception process.

図17は、実施例1のエッジスイッチ11のカウント指示受信処理のフローチャートである。   FIG. 17 is a flowchart of the count instruction reception process of the edge switch 11 according to the first embodiment.

エッジスイッチ11は、ネットワーク制御装置2からカウント指示を受信する(1701)。カウント指示は、輻輳が発生した監視条件となるパケットをエッジスイッチ11がカウントできるようにするために識別テーブル1063の更新指示及び監視テーブル1062の更新指示を含む。   The edge switch 11 receives a count instruction from the network control device 2 (1701). The count instruction includes an update instruction for the identification table 1063 and an update instruction for the monitoring table 1062 so that the edge switch 11 can count packets that become monitoring conditions in which congestion has occurred.

エッジスイッチ11の管理カード120の装置管理部122は、カウント指示に含まれる識別テーブル1063の更新指示に基づいて、装置内インタフェース121を介して識別テーブル1063を更新する(1702)。具体的には、装置管理部122は、輻輳が発生した監視条件のパケットのヘッダ情報が識別テーブル1063のヘッダ情報401に登録されたヘッダ情報と一致するレコードがある場合、当該レコードの振分先402をパケット監視部104を示す情報に変更する。また、装置管理部122は、当該ヘッダ情報と一致するレコードがない場合、新たなレコードを追加し、追加したレコードのヘッダ情報401に輻輳が発生した監視条件のパケットのヘッダ情報を登録し、振分先402にパケット監視部104を示す情報と登録する。   The device management unit 122 of the management card 120 of the edge switch 11 updates the identification table 1063 via the in-device interface 121 based on the update instruction of the identification table 1063 included in the count instruction (1702). Specifically, when there is a record in which the header information of the monitoring condition packet in which congestion has occurred matches the header information registered in the header information 401 of the identification table 1063, the apparatus management unit 122 assigns the record to the destination 402 is changed to information indicating the packet monitoring unit 104. In addition, when there is no record that matches the header information, the device management unit 122 adds a new record, registers the header information of the monitoring condition packet in which congestion occurs in the header information 401 of the added record, and Information indicating the packet monitoring unit 104 is registered in the minute 402.

次に、装置管理部122は、カウント指示に含まれる監視テーブル1062の更新指示に基づいて、装置内インタフェース121を介して監視テーブル1062を更新し(1703)、カウント指示受信処理を終了する。具体的には、装置管理部122は、監視テーブル1062に新たなレコードを追加し、追加したレコードの監視条件501に輻輳が発生した監視条件を登録し、追加したレコードのカウンタ502を初期化する。   Next, the device management unit 122 updates the monitoring table 1062 via the in-device interface 121 based on the update instruction of the monitoring table 1062 included in the count instruction (1703), and ends the count instruction receiving process. Specifically, the device management unit 122 adds a new record to the monitoring table 1062, registers the monitoring condition in which congestion has occurred in the monitoring condition 501 of the added record, and initializes the counter 502 of the added record. .

図18は、実施例1のエッジスイッチ11のカウンタ値送信指示受信処理のフローチャートである。   FIG. 18 is a flowchart of counter value transmission instruction reception processing of the edge switch 11 according to the first embodiment.

エッジスイッチ11は、ネットワーク制御装置2からカウンタ値送信指示を受信する(1801)。次に、エッジスイッチ11は、監視テーブル1062のカウンタ502に登録された値を、ネットワーク制御装置2に送信する(1802)。   The edge switch 11 receives a counter value transmission instruction from the network control device 2 (1801). Next, the edge switch 11 transmits the value registered in the counter 502 of the monitoring table 1062 to the network control device 2 (1802).

次に、エッジスイッチ11は、ステップ1802の処理で送信した値がカウンタ502に登録されたレコードを監視テーブル1062から削除する(1803)。   Next, the edge switch 11 deletes the record in which the value transmitted in the process of step 1802 is registered in the counter 502 from the monitoring table 1062 (1803).

次に、エッジスイッチ11は、ステップ1803の処理で監視テーブル1062から削除されたレコードの監視条件501に登録された監視条件に対応するヘッダ情報がヘッダ情報401に登録されたレコードの振分先402を転送処理部105を示す情報に変更し(1804)、カウンタ値送信指示受信処理を終了する。   Next, the edge switch 11 distributes the record 402 to which the header information corresponding to the monitoring condition registered in the monitoring condition 501 of the record deleted from the monitoring table 1062 in the process of step 1803 is registered in the header information 401. Is changed to information indicating the transfer processing unit 105 (1804), and the counter value transmission instruction reception process is terminated.

なお、エッジスイッチ11は、カウンタ値送信指示を受信しなくても、ネットワーク制御装置2からカウント指示を受信してから所定時間が経過した場合、カウンタ値送信指示受信処理を実行してもよい。   Even if the edge switch 11 does not receive the counter value transmission instruction, the edge switch 11 may execute the counter value transmission instruction reception process when a predetermined time has elapsed after receiving the count instruction from the network control device 2.

図19は、実施例1のネットワーク制御装置2の輻輳通知受信処理のフローチャートである。   FIG. 19 is a flowchart of the congestion notification reception process of the network control device 2 according to the first embodiment.

ネットワーク制御装置2は、集約スイッチ13から送信された輻輳通知を受信する(1901)。輻輳通知は、輻輳を検出した集約スイッチ13の識別子、及び輻輳が検出された監視条件を含む。   The network control device 2 receives the congestion notification transmitted from the aggregation switch 13 (1901). The congestion notification includes the identifier of the aggregation switch 13 that has detected the congestion and the monitoring condition in which the congestion has been detected.

次に、ネットワーク制御装置2は、トポロジデータベース231を参照し、輻輳が検出された監視条件のパケットに集約されるパケットを集約スイッチ13に送信するエッジスイッチ11を特定する(1902)。具体的には、ネットワーク制御装置2は、トポロジデータベース231に登録された集約スイッチ902に、受信した輻輳通知に含まれる集約スイッチ13の識別子、及び監視条件が登録されたレコードのエッジスイッチ901に登録されたエッジスイッチ11の識別情報を取得する。   Next, the network control device 2 refers to the topology database 231 and identifies the edge switch 11 that transmits to the aggregation switch 13 a packet that is aggregated into the monitoring condition packets in which congestion is detected (1902). Specifically, the network control device 2 registers in the aggregation switch 902 registered in the topology database 231 in the edge switch 901 of the record in which the identifier of the aggregation switch 13 included in the received congestion notification and the monitoring condition is registered. The identification information of the edge switch 11 is acquired.

次に、ネットワーク制御装置2は、集約スイッチ13によって輻輳が検出された監視条件のパケットをステップ1902の処理で特定したエッジスイッチ11がカウントするように、当該エッジスイッチ11の識別テーブル1063及び監視テーブル1062の更新指示を生成する(1903)。具体的には、ネットワーク制御装置2は、トポロジデータベース231に登録された集約スイッチ902に、受信した輻輳通知に含まれる集約スイッチ13の識別子、及び監視条件が登録されたレコードのエッジスイッチ901に登録されたカプセル化される前のVLANIDを取得する。そして、ネットワーク制御装置2は、ステップ1902の処理で特定したエッジスイッチ11の識別テーブル1063を、取得したVLANIDのパケットをパケット監視部104に振り分けるよう更新する指示、及び、取得したVLANIDのパケットを監視するようにステップ1902の処理で特定したエッジスイッチ11の監視テーブル1062を更新する指示を生成する。   Next, the network control device 2 identifies and monitors the identification table 1063 and the monitoring table of the edge switch 11 so that the edge switch 11 identified in the processing of Step 1902 counts the packets of the monitoring condition for which congestion is detected by the aggregation switch 13. An update instruction 1062 is generated (1903). Specifically, the network control device 2 registers in the aggregation switch 902 registered in the topology database 231 in the edge switch 901 of the record in which the identifier of the aggregation switch 13 included in the received congestion notification and the monitoring condition is registered. Obtain the VLANID before being encapsulated. Then, the network control apparatus 2 monitors the identification table 1063 of the edge switch 11 identified in the processing of Step 1902 to update the packet monitoring unit 104 to distribute the acquired VLAN ID packet, and monitors the acquired VLAN ID packet. Thus, an instruction to update the monitoring table 1062 of the edge switch 11 identified in the process of step 1902 is generated.

次に、ネットワーク制御装置2は、ステップ1903の処理で生成した識別テーブル1063及び監視テーブル1062の更新指示を含むカウント指示を、ステップ1902の処理で特定したエッジスイッチ11に送信し(1904)、輻輳通知受信処理を終了する。   Next, the network control apparatus 2 transmits a count instruction including an update instruction for the identification table 1063 and the monitoring table 1062 generated in the process of step 1903 to the edge switch 11 specified in the process of step 1902 (1904), and congestion The notification reception process ends.

図20は、実施例1のネットワーク制御装置2のカウンタ値受信処理のフローチャートである。   FIG. 20 is a flowchart of counter value reception processing of the network control device 2 according to the first embodiment.

ネットワーク制御装置2は、図18に示すカウンタ値送信指示受信処理でエッジスイッチ11が送信したカウンタ値を受信する(2001)。   The network control device 2 receives the counter value transmitted by the edge switch 11 in the counter value transmission instruction reception process shown in FIG. 18 (2001).

次に、ネットワーク制御装置2は、カウント指示を送信した全てのエッジスイッチ11からカウンタ値を受信したか否かを判定する(2002)。   Next, the network control device 2 determines whether or not counter values have been received from all the edge switches 11 that have transmitted count instructions (2002).

ステップ2002の処理で、カウント指示を送信した全てのエッジスイッチ11からカウンタ値を受信したと判定された場合(2002:YES)、ネットワーク制御装置2は、受信したカウンタ値に基づいて、カウント指示を送信した各エッジスイッチ11での輻輳が検出されたフローのパケットの制御内容を生成する制御内容生成処理を実行する(2003)。制御内容生成処理の詳細は、図21で説明する。ステップ2003の処理で生成する制御内容は、輻輳が検出された監視条件のパケットに集約されるフローのパケットをエッジスイッチ11が受信した場合の制御内容であり、当該パケットのヘッダ情報と当該パケットに対するアクションとを含む。   If it is determined in step 2002 that the counter values have been received from all the edge switches 11 that have transmitted the count instruction (2002: YES), the network control device 2 issues a count instruction based on the received counter value. A control content generation process for generating the control content of the packet of the flow in which congestion is detected at each edge switch 11 that has been transmitted is executed (2003). Details of the control content generation processing will be described with reference to FIG. The control content generated in the process of step 2003 is the control content when the edge switch 11 receives a packet of a flow that is aggregated into a packet with a monitoring condition in which congestion is detected. Including actions.

なお、ステップ2002の処理で、カウント指示を送信した全てのエッジスイッチ11からカウンタ値を受信したと判定された場合、ネットワーク制御装置2は、受信したカウント値に基づいて、制御内容が生成される対象となるエッジスイッチ11を選択し、選択したエッジスイッチ11について制御内容生成処理を実行してもよい。例えば、ネットワーク制御装置2は、受信したカウント値が閾値以上であるエッジスイッチ11を、制御内容が生成される対象となるエッジスイッチ11として選択してもよいし、受信したカウント値が大きい順に所定数のエッジスイッチ11を、制御内容が生成される対象となるエッジスイッチ11として選択してもよい。これによって、カウント値を受信した全てのエッジスイッチ11について制御内容生成処理を実行する場合と比較して、ネットワーク制御装置2の処理負荷を軽減できる。   If it is determined in step 2002 that the counter values have been received from all the edge switches 11 that have transmitted the count instruction, the network control device 2 generates the control content based on the received count values. The target edge switch 11 may be selected, and the control content generation process may be executed for the selected edge switch 11. For example, the network control device 2 may select the edge switch 11 for which the received count value is equal to or greater than the threshold as the edge switch 11 for which the control content is to be generated. A number of edge switches 11 may be selected as the edge switch 11 for which the control content is generated. As a result, the processing load of the network control device 2 can be reduced as compared with the case where the control content generation processing is executed for all the edge switches 11 that have received the count value.

次に、ネットワーク制御装置2は、ステップ2003の処理で生成した制御内容を含むフローテーブル変更メッセージを、カウント指示を送信したエッジスイッチ11に送信し(2004)、カウンタ値受信処理を終了する。   Next, the network control apparatus 2 transmits a flow table change message including the control content generated in the process of step 2003 to the edge switch 11 that transmitted the count instruction (2004), and ends the counter value reception process.

一方、ステップ2002の処理で、カウント指示を送信した全てのエッジスイッチ11からカウンタ値を受信していないと判定された場合(2002:NO)、ネットワーク制御装置2は、カウンタ値受信処理を終了する。   On the other hand, if it is determined in step 2002 that the counter value has not been received from all the edge switches 11 that have transmitted the count instruction (2002: NO), the network control device 2 ends the counter value reception process. .

エッジスイッチ11は、フローテーブル変更メッセージを受信した場合、受信したフローテーブル変更メッセージに含まれる制御内容に基づいて、転送テーブル1061を更新する。   When the edge switch 11 receives the flow table change message, the edge switch 11 updates the transfer table 1061 based on the control contents included in the received flow table change message.

図21は、実施例1のネットワーク制御装置2の制御内容生成処理のフローチャートである。   FIG. 21 is a flowchart of the control content generation process of the network control device 2 according to the first embodiment.

まず、ネットワーク制御装置2は、エッジスイッチ11から受信したカウンタ値の総和を示す値(C)を0に設定する(2101)。   First, the network control device 2 sets a value (C) indicating the sum of the counter values received from the edge switch 11 to 0 (2101).

次に、ネットワーク制御装置2は、エッジスイッチ11から受信したカウンタ値の総和を算出する(2102)。図21では、iは、エッジスイッチ11の識別子であり、jはエッジスイッチ11の物理ポートの識別子であり、kはエッジスイッチ11が送受信するVLANIDである。   Next, the network control device 2 calculates the sum of the counter values received from the edge switch 11 (2102). In FIG. 21, i is an identifier of the edge switch 11, j is an identifier of the physical port of the edge switch 11, and k is a VLAN ID transmitted and received by the edge switch 11.

次に、ネットワーク制御装置2は、各エッジスイッチ11のカウンタ値をステップ2102の処理で除算した値を、各エッジスイッチ11のパケット廃棄率として算出し(2103)、制御内容生成処理を終了する。ステップ2103の処理でパケット廃棄率は制御内容である。   Next, the network control device 2 calculates a value obtained by dividing the counter value of each edge switch 11 by the processing of step 2102 as a packet discard rate of each edge switch 11 (2103), and ends the control content generation processing. In the processing in step 2103, the packet discard rate is a control content.

なお、本実施例では、集約スイッチ13では、監視条件が予め設定された監視条件と一致するパケットをカウントしており、集約スイッチ13があるフローのパケットの輻輳を検出した場合のみ、輻輳を検出されたフローに集約されるフローのパケットをエッジスイッチ11がカウントするが、エッジスイッチ11のパケットのカウントの開始タイミングはこれに限定されない。例えば、エッジスイッチ11も、集約スイッチ13と同じ監視条件でパケットをカウントしていてもよい。   In the present embodiment, the aggregation switch 13 counts packets whose monitoring conditions match a preset monitoring condition, and detects congestion only when congestion of packets of a certain flow is detected by the aggregation switch 13. The edge switch 11 counts the packets of the flow that are aggregated into the flow that has been made, but the start timing of the packet count of the edge switch 11 is not limited to this. For example, the edge switch 11 may also count packets under the same monitoring conditions as the aggregation switch 13.

以上によって、本実施例では、複数のスイッチと、複数のスイッチを制御するネットワーク制御装置とを備えるネットワークシステムであって、複数のスイッチによって構築されるネットワークは、端末と外部ネットワークとの間に位置し、複数のスイッチは、端末側に位置するエッジスイッチ及び外部ネットワーク側に位置する集約スイッチを含み、集約スイッチは、自身の配下の少なくとも一つのエッジスイッチと送受信するパケットを集約し、ネットワーク制御装置は、集約スイッチと当該集約スイッチが集約するパケットを送受信するエッジスイッチとの関係を示す集約関係を保持し、エッジスイッチ及び集約スイッチは、自身に設定された監視条件と一致するパケットの受信数を計数し、エッジスイッチ又は集約スイッチは、計数した受信数が所定条件を満たす場合、所定条件を満たす旨の通知をネットワーク制御装置に送信し、ネットワーク制御装置は、通知を受信した場合、集約関係に基づいて、通知を送信したスイッチとの間でパケットを送受信するスイッチを特定し、特定されたスイッチが計数した受信数を取得し、取得した受信数に基づいて、通知を送信したスイッチに特定されたスイッチが送信するパケットに対する制御内容を決定し、決定した制御内容を特定されたスイッチに設定し、特定されたスイッチは、設定された制御内容に基づいて、パケットを送信することを特徴とするネットワークシステム。これによって、スイッチは監視条件に一致するパケットのみを監視するため、転送処理の負荷を増大させることを防止でき、スイッチ間の集約関係を考慮して制御内容を決定できる。   As described above, in this embodiment, the network system includes a plurality of switches and a network control device that controls the plurality of switches, and the network constructed by the plurality of switches is located between the terminal and the external network. The plurality of switches include an edge switch located on the terminal side and an aggregation switch located on the external network side. The aggregation switch aggregates packets transmitted and received with at least one edge switch under its control, and a network control device Holds the aggregation relationship indicating the relationship between the aggregation switch and the edge switch that transmits and receives the packet aggregated by the aggregation switch. The edge switch and the aggregation switch indicate the number of received packets that match the monitoring conditions set in itself. Counting, edge switch or aggregation switch, counting If the received number satisfies the predetermined condition, a notification indicating that the predetermined condition is satisfied is transmitted to the network control apparatus. When the network control apparatus receives the notification, the network control apparatus communicates with the switch that transmitted the notification based on the aggregation relationship. The switch that transmits and receives packets is identified, the number of receptions counted by the identified switch is obtained, and based on the obtained number of receptions, the control content for the packet transmitted by the switch identified by the switch that sent the notification is determined. Then, the determined control content is set in a specified switch, and the specified switch transmits a packet based on the set control content. Thus, since the switch monitors only packets that match the monitoring condition, it is possible to prevent an increase in the load of transfer processing, and control content can be determined in consideration of the aggregation relationship between the switches.

また、本実施例によれば、集約スイッチは、計数した受信数が所定条件を満たす場合、通知をネットワーク制御装置に送信し、ネットワーク制御装置は、通知を受信した場合、集約関係に基づいて、通知を送信した集約スイッチで集約されるパケットを送信するエッジスイッチを特定し、特定されたエッジスイッチが計数した受信数を取得し、取得した受信数に基づいて、通知を送信した集約スイッチに特定されたエッジスイッチが送信するパケットに対する制御内容を決定し、決定した制御内容を特定されたエッジスイッチに設定することを特徴とする。これによって、集約スイッチが上り方向のパケットを受信した数が所定条件を満たす場合、当該パケットを送信するエッジスイッチの制御内容を決定するので、例えば、上り方向のパケットに輻輳等が発生した場合、エッジスイッチ側で当該輻輳を抑制することができる。   Further, according to the present embodiment, the aggregation switch transmits a notification to the network control device when the counted number of receptions satisfies the predetermined condition, and the network control device, based on the aggregation relationship, when receiving the notification, Identifies the edge switch that transmits packets that are aggregated by the aggregation switch that sent the notification, acquires the number of receptions counted by the identified edge switch, and identifies the aggregation switch that sent the notification based on the received number of receptions The control content for the packet transmitted by the selected edge switch is determined, and the determined control content is set in the specified edge switch. Accordingly, when the number of packets received by the aggregation switch in the upstream direction satisfies a predetermined condition, the control content of the edge switch that transmits the packet is determined. For example, when congestion or the like occurs in the upstream packet, The congestion can be suppressed on the edge switch side.

また、本実施例によれば、ネットワーク制御装置は、取得した受信数に基づいて、特定されたエッジスイッチの中からどのエッジスイッチの制御内容を決定するかを選択することを特徴とする。これによって、ネットワーク制御装置は、例えば、受信数が閾値以上のエッジスイッチの制御内容を決定するので、ネットワーク制御装置の処理負荷を低減できる。   In addition, according to the present embodiment, the network control device selects which edge switch control content is to be determined from among the identified edge switches based on the acquired number of receptions. As a result, the network control apparatus determines, for example, the control content of the edge switch whose number of reception is equal to or greater than the threshold value, and therefore the processing load on the network control apparatus can be reduced.

また、本実施例によれば、ネットワーク制御装置は、特定された全てのエッジスイッチが計数した受信数を合計し、特定された各エッジスイッチが計数した受信数を合計した値で除算した値をパケット廃棄率とする制御内容を決定し、エッジスイッチは、設定された制御内容のパケット廃棄率で、受信したパケットを廃棄することを特徴とする。これによって、各エッジスイッチが実際に通信したパケット数に応じて、各エッジスイッチのパケット廃棄率が公平に決定できる。   In addition, according to the present embodiment, the network control device sums the number of receptions counted by all the specified edge switches, and divides the value obtained by dividing the number of receptions counted by each identified edge switch by the total value. The control content to be set as the packet discard rate is determined, and the edge switch discards the received packet at the packet discard rate of the set control content. Thereby, the packet discard rate of each edge switch can be determined fairly according to the number of packets actually communicated by each edge switch.

また、本実施例によれば、ネットワーク制御装置は、通知を受信した場合、所定条件を満たす受信数の監視条件を含む計数指示を特定されたスイッチに送信し、ネットワーク制御装置によって特定されたスイッチは、計数指示を受信した場合、受信した計数指示に含まれる監視条件を設定し、設定した監視条件と一致するパケットの受信数を計数し、計数した受信数をネットワーク制御装置に送信し、ネットワーク制御装置は、特定されたスイッチから計数した受信数を受信することによって受信数を取得することを特徴とする。これによって、パケットの受信数が所定条件を満たす旨の通知を送信したスイッチにパケットを送信するスイッチは、計数指示を受信した場合、監視条件と一致するパケットの受信数を計数するので、当該スイッチの処理負荷を軽減でき、ネットワーク制御装置とスイッチとの間の通信量も低減できる。   Further, according to the present embodiment, when the network control device receives the notification, the network control device transmits a counting instruction including the monitoring condition of the number of receptions satisfying the predetermined condition to the specified switch, and the switch specified by the network control device When receiving the counting instruction, set the monitoring condition included in the received counting instruction, count the number of received packets that match the set monitoring condition, send the counted number of reception to the network control device, and The control device obtains the reception number by receiving the reception number counted from the specified switch. Thus, when a switch that transmits a packet to a switch that has transmitted a notification that the number of received packets satisfies a predetermined condition receives a counting instruction, the switch counts the number of received packets that match the monitoring condition. , And the amount of communication between the network control device and the switch can be reduced.

また、本実施例によれば、エッジスイッチは、端末から送信されたデータを受信した場合、受信したデータのヘッダに含まれる第1識別子に対応する第2識別子を含む新たなヘッダを受信したパケットに付加し、ネットワーク内に転送し、第1識別子が異なるパケットであっても、同じ第2識別子が付加されることによって、当該集約スイッチに集約されることを特徴とする。これによって、異なる第1識別子のパケットに同じ第2識別子が付加されることによって、ある集約スイッチに集約される。   Further, according to the present embodiment, when the edge switch receives data transmitted from the terminal, it receives a new header including a second identifier corresponding to the first identifier included in the header of the received data. Even if the packets have different first identifiers, they are aggregated by the aggregation switch by adding the same second identifier. As a result, the same second identifier is added to packets having different first identifiers, and the packets are aggregated in a certain aggregation switch.

また、本実施例によれば、ネットワーク制御装置は、集約スイッチが受信するパケットに含まれる第2識別子と、集約スイッチで集約されるパケットを端末から受信してネットワークに送信するエッジスイッチ及び当該パケットに含まれる第1識別子との関係を、集約関係として保持し、集約スイッチに設定される監視条件は、受信したパケットが所定の第2識別子を含むことであり、エッジスイッチに設定される監視条件は、受信したパケットが所定の第1識別子を含むことであるを特徴とする。これによって、エッジスイッチでは、第1識別子を監視して、パケットの受信数を計数するので、エッジスイッチの転送処理負荷を軽減でき、集約スイッチでは、第2識別子を監視して、パケットの受信数を計数するので、集約スイッチの転送処理負荷を軽減できる。   Further, according to the present embodiment, the network control device receives the second identifier included in the packet received by the aggregation switch, the edge switch that receives the packet aggregated by the aggregation switch from the terminal, and transmits the packet to the network, and the packet The monitoring condition set in the aggregation switch is a monitoring condition set in the edge switch, in which the received packet includes a predetermined second identifier. Is characterized in that the received packet includes a predetermined first identifier. As a result, the edge switch monitors the first identifier and counts the number of received packets, so the transfer processing load of the edge switch can be reduced. The aggregation switch monitors the second identifier and the number of received packets. Therefore, the transfer processing load of the aggregation switch can be reduced.

実施例1では、集約スイッチ13及びエッジスイッチ11に設定される監視条件はパケットのヘッダ情報(例えば、VLANID)である場合の例について説明したが、本実施例では、集約スイッチ13及びエッジスイッチ11に設定される監視条件はパケットのヘッダ情報の他に、当該パケットを送信したアプリケーションを特定可能な情報を含む場合の例について説明する。   In the first embodiment, an example in which the monitoring condition set in the aggregation switch 13 and the edge switch 11 is packet header information (for example, VLANID) has been described. However, in this embodiment, the aggregation switch 13 and the edge switch 11 are described. In addition to the packet header information, the monitoring condition set in the example described here includes information that can identify the application that transmitted the packet.

図22は、実施例2の端末6のモバイルネットワークへの接続制御の説明図である。   FIG. 22 is an explanatory diagram of connection control to the mobile network of the terminal 6 according to the second embodiment.

端末6は、モバイルネットワークに接続する場合、基地局3との間で信号を送受信し、無線リンクを設定する(2201)。   When connecting to the mobile network, the terminal 6 transmits and receives signals to and from the base station 3 and sets up a radio link (2201).

次に、端末6は、Attach Requestメッセージをパケットコア4に送信し(2202)、パケットコア4との間で認証処理を実行する。Attach Requestメッセージは、基地局3、エッジスイッチ111、中継スイッチ12、及び集約スイッチ13を経由してパケットコア4に到達する。   Next, the terminal 6 transmits an Attach Request message to the packet core 4 (2202), and executes an authentication process with the packet core 4. The Attach Request message reaches the packet core 4 via the base station 3, the edge switch 111, the relay switch 12, and the aggregation switch 13.

パケットコア4は、ステップ2202の処理で送信されたAttach Requestメッセージを受信した場合、Identify Requestメッセージを端末6に送信する(2203)。Identify Requestメッセージは、集約スイッチ13、中継スイッチ12、エッジスイッチ111、及び基地局3を経由して端末6に到達する。   When the packet core 4 receives the Attach Request message transmitted in the process of Step 2202, the packet core 4 transmits an Identify Request message to the terminal 6 (2203). The Identify Request message reaches the terminal 6 via the aggregation switch 13, the relay switch 12, the edge switch 111, and the base station 3.

端末6は、Identify Requestメッセージを受信した場合、Identify Requestメッセージに対応する応答として、Identify Responseメッセージをパケットコア4に送信する(2204)。Identify Requestメッセージは、基地局3、エッジスイッチ111、中継スイッチ12、及び集約スイッチ13を経由してパケットコア4に到達する。   When the terminal 6 receives the Identify Request message, the terminal 6 transmits an Identify Response message to the packet core 4 as a response corresponding to the Identify Request message (2204). The Identify Request message reaches the packet core 4 via the base station 3, the edge switch 111, the relay switch 12, and the aggregation switch 13.

この後、端末6とパケットコア4との間で秘匿処理及びベアラ設定が実行され、端末6はモバイルネットワークに接続される。   Thereafter, a concealment process and bearer setting are executed between the terminal 6 and the packet core 4, and the terminal 6 is connected to the mobile network.

ここで、モバイルネットワークの接続制御におけるAttach Requestメッセージ、Identify Requestメッセージ、及びIdentify Responseメッセージは、3GPPが規定するS1AP(Application Protocol)を用いて、基地局3とパケットコア4との間で送受信される。   Here, an Attach Request message, an Identify Request message, and an Identify Response message in mobile network connection control are transmitted and received between the base station 3 and the packet core 4 using S1AP (Application Protocol) defined by 3GPP. .

ここで、S1APを用いて送受信される各種メッセージのパケットフォーマットについて説明する。図23は、実施例2のS1APを用いて送受信される各種メッセージのパケットフォーマットの説明図である。   Here, packet formats of various messages transmitted and received using S1AP will be described. FIG. 23 is an explanatory diagram of packet formats of various messages transmitted and received using the S1AP according to the second embodiment.

エッジスイッチ11は、基地局3からAttach Requestメッセージ及びIdentify Responseメッセージを受信した場合、これらのメッセージにPBBヘッダを付加してカプセル化する。集約スイッチ13は、パケットコア4からIdentify Requestメッセージを受信した場合、当該メッセージにPBBヘッダを付加してカプセル化する。   When the edge switch 11 receives the Attach Request message and the Identify Response message from the base station 3, the edge switch 11 adds a PBB header to these messages and encapsulates them. When the aggregation switch 13 receives the Identify Request message from the packet core 4, the aggregation switch 13 adds a PBB header to the message and encapsulates the message.

IPレイヤのSIAPには、これらのS1APを用いて送受信される旨、及びこれらのメッセージを識別するための情報が登録される。これらのメッセージを送信したアプリケーションを特定可能な情報である。   Information indicating that transmission / reception is performed using these S1APs and information for identifying these messages are registered in the SIAP of the IP layer. This is information that can identify the application that sent these messages.

集約スイッチ13は、受信したパケットのS1APを参照してAttach Requestメッセージであれば、Attach Requestメッセージをカウントする。集約スイッチ13が、PBBヘッダに含まれるあるVLANIDのAttach Requestメッセージについて輻輳を検出した場合、輻輳を検出したPBBヘッダに含まれるVLANIDのパケットに集約されるMACヘッダに含まれるVLANIDのパケットが経由するエッジスイッチ11は、当該MACヘッダに含まれるVLANIDのAttach Requestメッセージをカウントする。そして、ネットワーク制御装置2は、エッジスイッチ11からカウンタ値を取得し、取得したカウンタ値に基づいて、当該MACヘッダに含まれるVLAN IDのパケットに対する制御内容を決定し、各エッジスイッチ11に制御内容を設定する。   If the aggregation switch 13 refers to the S1AP of the received packet and is an Attach Request message, the aggregation switch 13 counts the Attach Request message. When the aggregation switch 13 detects congestion for an Attach Request message of a certain VLAN ID included in the PBB header, the VLAN ID packet included in the MAC header aggregated in the VLAN ID packet included in the PBB header where the congestion is detected passes. The edge switch 11 counts the Attach Request message of VLANID included in the MAC header. Then, the network control apparatus 2 acquires a counter value from the edge switch 11, determines the control content for the VLAN ID packet included in the MAC header based on the acquired counter value, and controls the edge switch 11 to control content. Set.

これによって、端末6がモバイルネットワークに接続する場合の最初のメッセージ(Attach Requestメッセージ)に基づいて、輻輳を検出し、輻輳が検出されたメッセージのVLANIDに集約されるMACヘッダのVLANIDのパケットのエッジスイッチ11での制御内容を決定でき、いちはやく輻輳に対応したネットワーク制御を実施できる。なお、上記した例では、所定のメッセージ(Attach Requestメッセージ)を監視するためにアプリケーション特定情報を参照したが、所定のアプリケーションを監視するためにアプリケーション特定情報を参照してもよい。   Thereby, based on the first message (Attach Request message) when the terminal 6 connects to the mobile network, congestion is detected, and the edge of the VLAN ID packet of the MAC header that is aggregated to the VLAN ID of the message in which the congestion is detected The control contents in the switch 11 can be determined, and network control corresponding to congestion can be performed at first. In the above example, the application specifying information is referred to monitor a predetermined message (Attach Request message). However, the application specifying information may be referred to monitor a predetermined application.

なお、本実施例の集約スイッチ13の監視テーブル1062の監視条件501には、PBBヘッダに含まれるVLANIDと、アプリケーションを特定可能な情報として、S1APに登録されるAttach Requestメッセージを特定可能な情報と、が予め登録されている。また、集約スイッチ13の識別テーブル1063には、アプリケーションを特定可能な情報を参照するPBBヘッダに含まれるVLANIDのパケットの振分先がパケット監視部104となるように予め登録されている。これによって、PBBヘッダに含まれる所定のVLANIDのみアプリケーションを特定可能な情報をスヌーピングするので、集約スイッチ13の処理負荷を軽減できる。   Note that the monitoring condition 501 of the monitoring table 1062 of the aggregation switch 13 according to the present embodiment includes the VLAN ID included in the PBB header, the information that can specify the Attach Request message registered in the S1AP, and the information that can specify the application. Are registered in advance. In addition, in the identification table 1063 of the aggregation switch 13, the packet monitoring unit 104 is registered in advance so that the distribution destination of the VLAN ID packet included in the PBB header that refers to the information that can identify the application is the packet monitoring unit 104. As a result, information capable of specifying an application only for a predetermined VLAN ID included in the PBB header is snooping, so that the processing load on the aggregation switch 13 can be reduced.

また、本実施例の集約スイッチ13が輻輳を検出した場合、ネットワーク制御装置2によって、エッジスイッチ11の監視テーブル1062の監視条件501には、MACヘッダに含まれるVLANIDと、アプリケーションを特定可能な情報として、S1APに登録されるAttach Requestメッセージを特定可能な情報と、が登録される。また、エッジスイッチ11の識別テーブル1063には、アプリケーションを特定可能な情報を参照するMACヘッダに含まれるVLANIDのパケットの振分先がパケット監視部104となるように登録される。これによって、MACヘッダに含まれる所定のVLANIDのみアプリケーションを特定可能な情報をスヌーピングするので、エッジスイッチ11の処理負荷を軽減できる。   Also, when the aggregation switch 13 of this embodiment detects congestion, the network control device 2 uses the VLAN ID included in the MAC header and information that can identify the application in the monitoring condition 501 of the monitoring table 1062 of the edge switch 11. And information that can identify the Attach Request message registered in the S1AP. In addition, in the identification table 1063 of the edge switch 11, the packet monitoring unit 104 is registered so that the distribution destination of the VLAN ID packet included in the MAC header that refers to the information that can identify the application is used. As a result, information capable of specifying an application only for a predetermined VLAN ID included in the MAC header is snooping, so that the processing load on the edge switch 11 can be reduced.

図24は、実施例2のネットワーク制御装置2の輻輳通知受信処理のフローチャートである。図24では、図19に示す処理と同じ処理は同じ符号を付与し、説明を省略する。   FIG. 24 is a flowchart of the congestion notification reception process of the network control device 2 according to the second embodiment. In FIG. 24, the same processes as those shown in FIG.

本実施例の輻輳通知受信処理では、ネットワーク制御装置2は、ステップ1902の処理で、輻輳が検出された監視条件のパケットに集約されるパケットを基地局3から受信するエッジスイッチ11を特定した後、ステップ2401の処理を実行する。   In the congestion notification receiving process of the present embodiment, the network control device 2 identifies the edge switch 11 that receives from the base station 3 the packets aggregated in the monitoring condition packets in which congestion is detected in the process of step 1902. Step 2401 is executed.

ステップ2401の処理では、ネットワーク制御装置2は、輻輳が検出された監視条件に含まれるアプリケーションを特定可能な情報を取得する。   In the processing of Step 2401, the network control device 2 acquires information that can identify the application included in the monitoring condition where congestion is detected.

そして、ステップ1903の処理で、ネットワーク制御装置2は、集約スイッチ13によって輻輳が検出された監視条件のパケットをステップ1902の処理で特定したエッジスイッチ11がカウントするように、当該エッジスイッチ11の識別テーブル1063及び監視テーブル1062の更新指示を生成する。具体的には、ネットワーク制御装置2は、トポロジデータベース231に登録された集約スイッチ902に、受信した輻輳通知に含まれる集約スイッチ13の識別子、及び監視条件が登録されたレコードのエッジスイッチ901に登録されたカプセル化される前のVLANIDを取得する。そして、ネットワーク制御装置2は、ステップ1902の処理で特定したエッジスイッチ11の識別テーブル1063を、取得したVLANIDのパケットをパケット監視部104に振り分けるよう更新する指示を生成する。また、ネットワーク制御装置2は、取得したVLANID及びステップ2401の処理で取得したアプリケーションを特定可能な情報を含むパケットを監視するようにステップ1902の処理で特定したエッジスイッチ11の監視テーブル1062を更新する指示を生成する。   In step 1903, the network control device 2 identifies the edge switch 11 so that the edge switch 11 specified in step 1902 counts the packets under the monitoring condition in which congestion is detected by the aggregation switch 13. An update instruction for the table 1063 and the monitoring table 1062 is generated. Specifically, the network control device 2 registers in the aggregation switch 902 registered in the topology database 231 in the edge switch 901 of the record in which the identifier of the aggregation switch 13 included in the received congestion notification and the monitoring condition is registered. Obtain the VLANID before being encapsulated. Then, the network control device 2 generates an instruction to update the identification table 1063 of the edge switch 11 identified in the process of Step 1902 so that the acquired VLAN ID packet is distributed to the packet monitoring unit 104. Further, the network control device 2 updates the monitoring table 1062 of the edge switch 11 identified in the process of step 1902 so as to monitor the packet including the acquired VLAN ID and information that can identify the application acquired in the process of step 2401. Generate instructions.

そして、ステップ1904の処理で、ネットワーク制御装置2は、ステップ1903の処理で生成した更新指示を含むカウント指示を、ステップ1902の処理で特定したエッジスイッチ11に送信し、輻輳通知受信処理を終了する。   In step 1904, the network control apparatus 2 transmits a count instruction including the update instruction generated in step 1903 to the edge switch 11 specified in step 1902, and ends the congestion notification reception process. .

以上によって、本実施例によれば、集約スイッチに設定される監視条件、及びエッジスイッチに設定される監視条件は、受信したパケットに含まれるアプリケーションを特定可能な情報によって特定されるアプリケーションが所定のアプリケションであることを特徴とする。これによって、エッジスイッチ及び集約スイッチはアプリケーションに応じて詳細にパケットを計数することができ、さらに監視条件に含まれる第1識別子又は第2識別子以外のパケットはアプリケーション特定可能情報を参照しないので、転送処理負荷の増大を最低限に抑制できる。   As described above, according to the present embodiment, the monitoring condition set in the aggregation switch and the monitoring condition set in the edge switch are determined by the application specified by the information that can specify the application included in the received packet being predetermined. It is an application. As a result, the edge switch and the aggregation switch can count packets in detail according to the application, and packets other than the first identifier or the second identifier included in the monitoring condition do not refer to the application identifiable information. An increase in processing load can be minimized.

実施例1及び実施例2では、集約スイッチ13が上り方向のパケットのフローの輻輳を検出した場合、ネットワーク制御装置2は、輻輳を検出したフローに集約されるフローのパケットを送信するエッジスイッチ11のカウンタ値に基づいて、当該エッジスイッチ11の制御内容を決定する例について説明した。本実施例では、エッジスイッチ11が下り方向のパケットのフローの輻輳を検出した場合、ネットワーク制御装置2は、エッジスイッチ11で輻輳を検出したフローのパケットを送信する集約スイッチ13のカウンタ値に基づいて、当該集約スイッチ13の制御内容を決定する例について説明する。   In the first and second embodiments, when the aggregation switch 13 detects congestion of the upstream packet flow, the network control device 2 transmits the packet of the flow that is aggregated into the flow in which the congestion is detected. An example has been described in which the control content of the edge switch 11 is determined based on the counter value. In this embodiment, when the edge switch 11 detects the congestion of the downstream packet flow, the network control device 2 is based on the counter value of the aggregation switch 13 that transmits the packet of the flow whose congestion is detected by the edge switch 11. An example of determining the control content of the aggregation switch 13 will be described.

図25は、実施例3のエッジスイッチ11が輻輳を検出した場合の処理の概略について説明する。   FIG. 25 illustrates an outline of processing when the edge switch 11 according to the third embodiment detects congestion.

エッジスイッチ11のパケット監視部104は、監視テーブル1062に登録された監視条件と一致するパケットを監視している。例えば、エッジスイッチ11Aは、ある監視条件のパケットのカウンタが所定の閾値以上となった場合、当該監視条件のパケットのフローにおいて輻輳が発生したと判断し、輻輳通知をネットワーク制御装置2に送信する(2501)。エッジスイッチ11Aの監視テーブル1062には、MACヘッダがVLAN#Aであることを監視条件として登録されてもよいし、PBBヘッダでVLAN#Nであることが監視条件として登録されてもよい。PBBヘッダがVLAN#Nであるパケットは、MACヘッダがVLAN#Aであるパケット及びMACヘッダがVLAN#Bであるパケットを集約するものとする。MACヘッダがVLAN#Aであるパケットは、エッジスイッチ11Aが受信し、MACヘッダがVLAN#Bであるパケットは、エッジスイッチ11Bが受信するものとする。   The packet monitoring unit 104 of the edge switch 11 monitors packets that match the monitoring conditions registered in the monitoring table 1062. For example, when the counter of a packet with a certain monitoring condition becomes equal to or greater than a predetermined threshold, the edge switch 11A determines that congestion has occurred in the packet flow with the monitoring condition, and transmits a congestion notification to the network control device 2. (2501). In the monitoring table 1062 of the edge switch 11A, it may be registered as a monitoring condition that the MAC header is VLAN #A, or it may be registered as a monitoring condition that the MAC header is VLAN #N. Assume that the packets whose PBB header is VLAN # N are aggregated of packets whose MAC header is VLAN # A and packets whose MAC header is VLAN # B. Assume that the edge switch 11A receives a packet whose MAC header is VLAN # A, and the edge switch 11B receives a packet whose MAC header is VLAN # B.

ネットワーク制御装置2は、ステップ2501の処理で送信された輻輳通知を受信した場合、トポロジデータベース231を参照し、輻輳が発生した監視条件のフローのパケットをエッジスイッチ11Aに送信する集約スイッチ13Aを特定する。そして、ネットワーク制御装置2は、輻輳が発生した監視条件のフローのパケットのカウント指示を集約スイッチ13Aに送信する(2502)。なお、カウント指示は、集約スイッチ13の識別テーブル1063の更新指示及び監視テーブル1062の更新指示を含む。   When the network control device 2 receives the congestion notification transmitted in the processing of step 2501, the network control device 2 refers to the topology database 231 and identifies the aggregation switch 13A that transmits the packet of the monitoring condition flow in which the congestion has occurred to the edge switch 11A. To do. Then, the network control device 2 transmits a packet count instruction for the flow of the monitoring condition in which congestion has occurred to the aggregation switch 13A (2502). The count instruction includes an update instruction for the identification table 1063 of the aggregation switch 13 and an update instruction for the monitoring table 1062.

集約スイッチ13の識別テーブル1063の更新指示及び監視テーブル1062の更新指示を生成する処理について説明する。   Processing for generating an update instruction for the identification table 1063 of the aggregation switch 13 and an update instruction for the monitoring table 1062 will be described.

エッジスイッチ11Aの監視テーブル1062にVLAN#Aが監視条件として登録されている場合、ネットワーク制御装置2は、トポロジデータベース231を参照し、VLAN#Aを集約するVLAN#Nを特定する。そして、ネットワーク制御装置2は、VLAN#Nの転送先をパケット監視部104に設定するように識別テーブル1063を更新する識別テーブル1063の更新指示を生成する。また、ネットワーク制御装置2は、監視テーブル1062の監視条件に、PBBヘッダがVLAN#Nであり、かつMACヘッダがVLAN#Aであること、及びPBBヘッダがVLAN#Nであることを登録するように監視テーブル1062を更新する監視テーブル1062の更新指示を生成する。   When VLAN # A is registered as a monitoring condition in the monitoring table 1062 of the edge switch 11A, the network control device 2 refers to the topology database 231 and identifies VLAN # N that aggregates VLAN # A. Then, the network control device 2 generates an update instruction for the identification table 1063 for updating the identification table 1063 so as to set the transfer destination of VLAN #N in the packet monitoring unit 104. Further, the network control apparatus 2 registers in the monitoring condition of the monitoring table 1062 that the PBB header is VLAN # N, the MAC header is VLAN # A, and the PBB header is VLAN # N. An update instruction for the monitoring table 1062 for updating the monitoring table 1062 is generated.

エッジスイッチ11Aの監視テーブル1062にVLAN#Nが監視条件として登録されている場合、ネットワーク制御装置2は、トポロジデータベース231を参照し、VLAN#Nに集約されるエッジスイッチ11のVLAN#Aを特定する。そして、ネットワーク制御装置2は、VLAN#Nの転送先をパケット監視部104に設定するように識別テーブル1063を更新する識別テーブル1063の更新指示を生成する。また、ネットワーク制御装置2は、監視テーブル1062の監視条件に、PBBヘッダがVLAN#Nであり、かつMACヘッダがVLAN#Aであること、及びPBBヘッダがVLAN#Nであることを登録するように監視テーブル1062を更新する監視テーブル1062の更新指示を生成する。   When VLAN #N is registered as a monitoring condition in the monitoring table 1062 of the edge switch 11A, the network control device 2 refers to the topology database 231 and identifies the VLAN #A of the edge switch 11 aggregated in the VLAN #N. To do. Then, the network control device 2 generates an update instruction for the identification table 1063 for updating the identification table 1063 so as to set the transfer destination of VLAN #N in the packet monitoring unit 104. Further, the network control apparatus 2 registers in the monitoring condition of the monitoring table 1062 that the PBB header is VLAN # N, the MAC header is VLAN # A, and the PBB header is VLAN # N. An update instruction for the monitoring table 1062 for updating the monitoring table 1062 is generated.

集約スイッチ13Aは、カウント指示に含まれる識別テーブル1063の更新指示に基づいて、識別テーブル1063を更新し、カウント指示に含まれる監視テーブル1062を更新して、PBBヘッダがVLAN#Nであって、かつMACヘッダがVLAN#Aであるフローのパケット、及びPBBヘッダがVLAN#Nであるフローのパケットのカウントを開始する。集約スイッチ13は、カウントの開始後所定時間が経過した場合、集約スイッチ13Aは、カウント結果をネットワーク制御装置2に送信する(2503)。   The aggregation switch 13A updates the identification table 1063 based on the update instruction of the identification table 1063 included in the count instruction, updates the monitoring table 1062 included in the count instruction, and the PBB header is VLAN # N. The counting of the packets of the flow whose MAC header is VLAN # A and the packets of the flow whose PBB header is VLAN # N is started. When a predetermined time has elapsed after the count starts, the aggregation switch 13A transmits the count result to the network control device 2 (2503).

ネットワーク制御装置2は、集約スイッチ13Aからカウント結果を受信した場合、受信したカウント結果に基づいて、エッジスイッチ11Aで輻輳が検出された監視条件のフローのパケットに対する集約スイッチ13Aの新たなアクションを決定し、決定した新たなアクションを集約スイッチ13Aの転送テーブル1061に登録する登録指示を集約スイッチ13Aに送信する(2504)。   When receiving the count result from the aggregation switch 13A, the network control device 2 determines a new action of the aggregation switch 13A for the packet of the monitoring condition flow in which congestion is detected by the edge switch 11A based on the received count result. Then, a registration instruction for registering the determined new action in the transfer table 1061 of the aggregation switch 13A is transmitted to the aggregation switch 13A (2504).

例えば、本実施例では、ネットワーク制御装置2は、集約スイッチ13Aから送信されたPBBヘッダがVLAN#Nであって、かつMACヘッダがVLAN#Aであるパケットのカウンタ値を、集約スイッチ13Aから送信されたPBBヘッダがVLAN#Nであるパケットのカウンタ値で除算した値をパケット廃棄率とする新たなアクションを決定する。これによって、集約スイッチ13Aの転送テーブル1061には、PBBヘッダがVLAN#Nであって、かつMACヘッダがVLAN#Aであるパケットのアクションのパケット廃棄率が登録される。   For example, in this embodiment, the network control device 2 transmits from the aggregation switch 13A the counter value of the packet whose PBB header transmitted from the aggregation switch 13A is VLAN # N and whose MAC header is VLAN # A. A new action is determined in which the value obtained by dividing the PBB header by the counter value of the packet whose VLAN number is P # is the packet discard rate. As a result, the packet discard rate of the action of the packet whose PBB header is VLAN # N and MAC header is VLAN # A is registered in the forwarding table 1061 of the aggregation switch 13A.

集約スイッチ13Aは、PBBヘッダがVLAN#Nであって、かつMACヘッダがVLAN#Aであるパケットを、当該パケットの集約スイッチ13Aの受信数に基づいて破棄することになる。   The aggregation switch 13A discards the packet whose PBB header is VLAN #N and whose MAC header is VLAN #A based on the number of reception of the packet by the aggregation switch 13A.

また、エッジスイッチ11Aが受信するパケットについて輻輳を検出する例について説明したが、ネットワーク制御装置2が、VLAN#Nのパケットについて輻輳を検出してもよい。   Moreover, although the example which detects congestion about the packet which edge switch 11A receives was demonstrated, the network control apparatus 2 may detect congestion about the packet of VLAN # N.

ネットワーク制御装置2がVLAN#Nのパケットについて輻輳を検出する処理について説明する。   A process in which the network control device 2 detects congestion in the VLAN #N packet will be described.

ネットワーク制御装置2は、VLAN#Nに集約されるVLAN#Aを受信するエッジスイッチ11AからVLAN#Aのカウンタ値を取得し、VLAN#Nに集約されるVLAN#Bを受信するエッジスイッチ11BからVLAN#Bのカウンタ値を取得する。そして、ネットワーク制御装置2は、VLAN#Aのカウンタ値及びVLAN#Bのカウンタ値の合計が閾値以上であれば、VLAN#Nに輻輳が発生したと判断し、ステップ2502の処理で集約スイッチ13Aにカウント指示を送信する。   The network control apparatus 2 acquires the counter value of VLAN # A from the edge switch 11A that receives VLAN # A aggregated to VLAN # N, and from the edge switch 11B that receives VLAN # B aggregated to VLAN # N. The counter value of VLAN # B is acquired. If the sum of the counter value of VLAN #A and the counter value of VLAN #B is equal to or greater than the threshold, the network control device 2 determines that congestion has occurred in VLAN #N, and the aggregation switch 13A is processed in step 2502. Send a count instruction to

ステップ2502の処理について具体的に説明する。ネットワーク制御装置2は、トポロジデータベース231を参照し、VLAN#Nであるパケットを受信する集約スイッチ13Aと、VLAN#Nに集約されるエッジスイッチ11のVLAN#A及びVLAN#Bとを特定する。そして、ネットワーク制御装置2は、VLAN#Nの転送先をパケット監視部104に設定するように集約スイッチ13Aの識別テーブル1063を更新する更新指示を生成する。また、ネットワーク制御装置2は、集約スイッチ13Aの監視テーブル1062の監視条件に、PBBヘッダがVLAN#Nであり、かつMACヘッダがVLAN#Aであること、及びPBBヘッダがVLAN#Nであり、かつMACヘッダがVLAN#Bであることを登録する更新指示を生成する。   The process of step 2502 will be specifically described. The network control device 2 refers to the topology database 231 and identifies the aggregation switch 13A that receives a packet that is VLAN #N and the VLAN #A and VLAN #B of the edge switch 11 that are aggregated to VLAN #N. Then, the network control device 2 generates an update instruction for updating the identification table 1063 of the aggregation switch 13A so as to set the transfer destination of VLAN #N in the packet monitoring unit 104. Further, the network control device 2 uses the monitoring conditions of the monitoring table 1062 of the aggregation switch 13A as follows: the PBB header is VLAN # N, the MAC header is VLAN # A, and the PBB header is VLAN # N. An update instruction for registering that the MAC header is VLAN # B is generated.

集約スイッチ13Aは、受信した識別テーブル1063の更新指示に基づいて、識別テーブル1063を更新し、受信した監視テーブル1062の更新指示に基づいて、監視テーブル1062を更新して、PBBヘッダがVLAN#Nであり、かつMACヘッダがVLAN#Aであるパケットをカウントし、PBBヘッダがVLAN#Nであり、かつMACヘッダがVLAN#Bであるパケットをカウントする。そして、集約スイッチ13Aは、ステップ2503の処理で、これらのパケットのカウント値をネットワーク制御装置2に送信する。   The aggregation switch 13A updates the identification table 1063 based on the received update instruction of the identification table 1063, updates the monitoring table 1062 based on the received update instruction of the monitoring table 1062, and the PBB header is VLAN # N. And the MAC header is VLAN # A, and the PBB header is VLAN # N and the MAC header is VLAN # B. Then, the aggregation switch 13A transmits the count values of these packets to the network control device 2 in the process of step 2503.

ネットワーク制御装置2は、集約スイッチ13Aからパケットのカウント値を受信した場合、集約スイッチ13Aから送信されたPBBヘッダがVLAN#Nであって、かつMACヘッダがVLAN#Aであるパケットのカウンタ値と、集約スイッチ13Aから送信されたPBBヘッダがVLAN#Nであって、かつMACヘッダがVLAN#Bであるパケットのカウンタ値との合計値を算出する。そして、ネットワーク制御装置2は、PBBヘッダがVLAN#Nであって、かつMACヘッダがVLAN#Aであるパケットのカウンタ値を合計値で除算した値を当該パケットのパケット廃棄率に決定し、PBBヘッダがVLAN#Nであって、かつMACヘッダがVLAN#Bであるパケットのカウンタ値を合計値で除算した値を当該パケットのパケット廃棄率に決定する。そして、ネットワーク制御装置2は、PBBヘッダがVLAN#Nであって、かつMACヘッダがVLAN#Aであるパケットのアクション、及びPBBヘッダがVLAN#Nであって、かつMACヘッダがVLAN#Bであるパケットのアクションとしてそれぞれ決定したパケット廃棄率を、集約スイッチ13Aの転送テーブル1061に登録する登録指示を集約スイッチ13Aに送信する。   When the network control device 2 receives the packet count value from the aggregation switch 13A, the network control device 2 uses the counter value of the packet with the PBB header transmitted from the aggregation switch 13A as VLAN #N and the MAC header as VLAN #A. Then, a total value is calculated with the counter value of the packet whose PBB header transmitted from the aggregation switch 13A is VLAN # N and whose MAC header is VLAN # B. Then, the network control apparatus 2 determines the packet discard rate of the packet as a value obtained by dividing the counter value of the packet whose PBB header is VLAN #N and whose MAC header is VLAN #A by the total value. A value obtained by dividing the counter value of the packet whose header is VLAN #N and whose MAC header is VLAN #B by the total value is determined as the packet discard rate of the packet. Then, the network control device 2 uses the action of the packet whose PBB header is VLAN # N and MAC header is VLAN # A, and the PBB header is VLAN # N and MAC header is VLAN # B. A registration instruction for registering the packet discard rate determined as an action of a packet in the forwarding table 1061 of the aggregation switch 13A is transmitted to the aggregation switch 13A.

集約スイッチ13Aは、受信した転送テーブル1061の登録指示に基づいて、転送テーブル1061を更新する。   The aggregation switch 13A updates the transfer table 1061 based on the received registration instruction of the transfer table 1061.

これによって、集約スイッチ13Aは、PBBヘッダがVLAN#Nであって、かつMACヘッダがVLAN#Aであるパケットを、当該パケットの集約スイッチ13Aの受信数に基づいて破棄し、PBBヘッダがVLAN#Nであって、かつMACヘッダがVLAN#Bであるパケットを、当該パケットの集約スイッチ13Aの受信数に基づいて破棄することになる。   As a result, the aggregation switch 13A discards the packet whose PBB header is VLAN # N and MAC header is VLAN # A based on the number of reception of the packet by the aggregation switch 13A, and the PBB header is VLAN #. N and the packet whose MAC header is VLAN # B is discarded based on the number of packets received by the aggregation switch 13A.

以上によって、本実施例では、エッジスイッチは、エッジスイッチは、計数した受信数が所定条件を満たす場合、通知をネットワーク制御装置に送信し、ネットワーク制御装置は、通知を受信した場合、集約関係を参照して、通知を送信したエッジスイッチにパケットを送信する集約スイッチを特定し、特定された集約スイッチが計数した受信数を取得し、取得した受信数に基づいて、特定された集約スイッチの通知を送信したエッジスイッチに送信するパケットに対する制御内容を決定し、決定した制御内容を特定された集約スイッチに設定することを特徴とする。これによって、エッジスイッチが下り方向のパケットを受信した数が所定条件を満たす場合、当該パケットを送信する集約スイッチの制御内容を決定するので、例えば、下り方向のパケットに輻輳等が発生した場合、集約スイッチ側で当該輻輳を抑制することができる。   As described above, in this embodiment, the edge switch transmits a notification to the network control device when the received reception count satisfies the predetermined condition, and the network control device establishes the aggregation relationship when the notification is received. Refer to the edge switch that sent the notification to identify the aggregation switch that sends the packet, obtain the number of receptions counted by the identified aggregation switch, and notify the identified aggregation switch based on the obtained number of receptions The control content for the packet to be transmitted to the edge switch that transmitted is determined, and the determined control content is set in the specified aggregation switch. As a result, when the number of packets received by the edge switch in the downlink direction satisfies the predetermined condition, the control content of the aggregation switch that transmits the packet is determined. For example, when congestion or the like occurs in the packet in the downlink direction, The congestion can be suppressed on the aggregation switch side.

また、上記実施例で説明したコンピュータプログラムを、例えば集積回路(LSI)で設計すること等によりハードウェアにより実現してもよい。   Further, the computer program described in the above embodiment may be realized by hardware by designing it with an integrated circuit (LSI), for example.

なお、本発明は上記した実施例に限定されるものではなく、様々な変形例が含まれる。例えば、上記した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施例の構成の一部を他の実施例の構成に置き換えることも可能であり、また、ある実施例の構成に他の実施例の構成を加えることも可能である。また、各実施例の構成の一部について、他の構成の追加、削除、及び置換をすることが可能である。   In addition, this invention is not limited to an above-described Example, Various modifications are included. For example, the above-described embodiments have been described in detail for easy understanding of the present invention, and are not necessarily limited to those having all the configurations described. Further, a part of the configuration of a certain embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of a certain embodiment. Further, it is possible to add, delete, and replace other configurations for a part of the configuration of each embodiment.

また、各実施例の構成の一部について、他の構成の追加、削除、及び置換をすることが可能である。また、上記の各構成、機能、処理部、処理手段等は、それらの一部または全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。   Further, it is possible to add, delete, and replace other configurations for a part of the configuration of each embodiment. Each of the above-described configurations, functions, processing units, processing means, and the like may be realized by hardware by designing a part or all of them with, for example, an integrated circuit.

また、前記の各構成、機能等は、プロセッサがそれぞれの機能を実現するプログラムを解釈し、実行することによりソフトウェアで実現してもよい。   In addition, each of the above-described configurations, functions, and the like may be realized by software by the processor interpreting and executing a program that realizes each function.

各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリや、ハードディスク、SSD(Solid State Drive)等の記録装置、または、IC(Integrated Circuit)カード、SDカード、DVD(Digital Versatile Disc)等の記録媒体に置くことができる。   Information such as programs, tables, and files that realize each function is stored in a memory, a hard disk, a recording device such as an SSD (Solid State Drive), an IC (Integrated Circuit) card, an SD card, a DVD (Digital Versatile Disc), etc. Can be placed on any recording medium.

また、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実際にはほとんど全ての構成が相互に接続されていると考えてもよい。   Further, the control lines and information lines are those that are considered necessary for the explanation, and not all the control lines and information lines on the product are necessarily shown. Actually, it may be considered that almost all the components are connected to each other.

1 NWスイッチ
2 ネットワーク制御装置
3 基地局
4 パケットコア
5 モバイルバックホール
6 端末
11 エッジスイッチ
12 中継スイッチ
13 集約スイッチ
100 ラインカード
101 物理レイヤ・MAC処理部
102 装置内インタフェース
103 フロー識別部
104 パケット監視部
105 転送処理部
106 フローテーブル
110 内部スイッチ
111 エッジスイッチ
113 フロー識別部
116 フローテーブル
120 管理カード
1061 転送テーブル
1062 監視テーブル
1063 識別テーブル
DESCRIPTION OF SYMBOLS 1 NW switch 2 Network control apparatus 3 Base station 4 Packet core 5 Mobile backhaul 6 Terminal 11 Edge switch 12 Relay switch 13 Aggregation switch 100 Line card 101 Physical layer and MAC processing part 102 In-device interface 103 Flow identification part 104 Packet monitoring part 105 Transfer Processing Unit 106 Flow Table 110 Internal Switch 111 Edge Switch 113 Flow Identification Unit 116 Flow Table 120 Management Card 1061 Transfer Table 1062 Monitoring Table 1063 Identification Table

Claims (10)

複数のスイッチと、前記複数のスイッチを制御するネットワーク制御装置とを備えるネットワークシステムであって、
前記複数のスイッチによって構築されるネットワークは、端末と外部ネットワークとの間に位置し、
前記複数のスイッチは、前記端末側に位置するエッジスイッチ及び前記外部ネットワーク側に位置する集約スイッチを含み、
前記集約スイッチは、自身の配下の少なくとも一つのエッジスイッチと送受信するパケットを集約し、
前記ネットワーク制御装置は、前記集約スイッチと当該集約スイッチが集約するパケットを送受信するエッジスイッチとの関係を示す集約関係を保持し、
前記エッジスイッチ及び前記集約スイッチは、自身に設定された監視条件と一致するパケットの受信数を計数し、
前記エッジスイッチ又は前記集約スイッチは、前記計数した受信数が所定条件を満たす場合、前記所定条件を満たす旨の通知を前記ネットワーク制御装置に送信し、
前記ネットワーク制御装置は、
前記通知を受信した場合、前記集約関係に基づいて、前記通知を送信したスイッチとの間でパケットを送受信するスイッチを特定し、
前記特定されたスイッチが計数した受信数を取得し、
前記取得した受信数に基づいて、前記通知を送信したスイッチに前記特定されたスイッチが送信するパケットに対する制御内容を決定し、
前記決定した制御内容を前記特定されたスイッチに設定し、
前記特定されたスイッチは、前記設定された制御内容に基づいて、前記パケットを送信することを特徴とするネットワークシステム。
A network system comprising a plurality of switches and a network control device that controls the plurality of switches,
The network constructed by the plurality of switches is located between the terminal and the external network,
The plurality of switches include an edge switch located on the terminal side and an aggregation switch located on the external network side,
The aggregation switch aggregates packets transmitted and received with at least one edge switch under its control,
The network control device holds an aggregation relationship indicating a relationship between the aggregation switch and an edge switch that transmits and receives packets aggregated by the aggregation switch;
The edge switch and the aggregation switch count the number of received packets that match the monitoring conditions set in itself,
The edge switch or the aggregation switch, when the counted number of receptions satisfies a predetermined condition, sends a notification that the predetermined condition is satisfied to the network control device,
The network controller is
When receiving the notification, based on the aggregation relationship, identify a switch that transmits and receives packets to and from the switch that transmitted the notification,
Obtaining the number of receptions counted by the identified switch;
Based on the acquired number of receptions, determine the control content for the packet transmitted by the identified switch to the switch that transmitted the notification,
Set the determined control content to the specified switch,
The specified switch transmits the packet on the basis of the set control content.
請求項1に記載のネットワークシステムであって、
前記集約スイッチは、前記計数した受信数が所定条件を満たす場合、前記通知を前記ネットワーク制御装置に送信し、
前記ネットワーク制御装置は、
前記通知を受信した場合、前記集約関係に基づいて、前記通知を送信した集約スイッチで集約されるパケットを送信するエッジスイッチを特定し、
前記特定されたエッジスイッチが計数した受信数を取得し、
前記取得した受信数に基づいて、前記通知を送信した集約スイッチに前記特定されたエッジスイッチが送信するパケットに対する制御内容を決定し、
前記決定した制御内容を前記特定されたエッジスイッチに設定することを特徴とするネットワークシステム。
The network system according to claim 1,
The aggregation switch transmits the notification to the network control device when the counted number of receptions satisfies a predetermined condition,
The network controller is
When receiving the notification, based on the aggregation relationship, identify an edge switch that transmits packets aggregated by the aggregation switch that transmitted the notification,
Obtaining the number of receptions counted by the identified edge switch;
Based on the acquired number of reception, determine the control content for the packet transmitted by the specified edge switch to the aggregation switch that transmitted the notification,
The network system, wherein the determined control content is set in the specified edge switch.
請求項2に記載のネットワークシステムであって、
前記ネットワーク制御装置は、前記取得した受信数に基づいて、前記特定されたエッジスイッチの中からどのエッジスイッチの前記制御内容を決定するかを選択することを特徴とするネットワークシステム。
The network system according to claim 2,
The network control device selects which edge switch to determine the control content of from the specified edge switches based on the acquired number of receptions.
請求項2に記載のネットワークシステムであって、
前記ネットワーク制御装置は、
前記特定された全てのエッジスイッチが計数した受信数を合計し、
前記特定された各エッジスイッチが計数した受信数を前記合計した値で除算した値をパケット廃棄率とする前記制御内容を決定し、
前記エッジスイッチは、前記設定された制御内容のパケット廃棄率で、受信したパケットを廃棄することを特徴とするネットワークシステム。
The network system according to claim 2,
The network controller is
Sum the receptions counted by all the specified edge switches,
Determining the control content with a packet discard rate as a value obtained by dividing the number of receptions counted by each identified edge switch by the total value;
The network system according to claim 1, wherein the edge switch discards received packets at the packet discard rate of the set control content.
請求項1に記載のネットワークシステムであって、
前記エッジスイッチは、前記計数した受信数が所定条件を満たす場合、前記通知を前記ネットワーク制御装置に送信し、
前記ネットワーク制御装置は、
前記通知を受信した場合、前記集約関係を参照して、前記通知を送信したエッジスイッチにパケットを送信する集約スイッチを特定し、
前記特定された集約スイッチが計数した受信数を取得し、
前記取得した受信数に基づいて、前記特定された集約スイッチの前記通知を送信したエッジスイッチに送信するパケットに対する制御内容を決定し、
前記決定した制御内容を前記特定された集約スイッチに設定することを特徴とするネットワークシステム。
The network system according to claim 1,
The edge switch transmits the notification to the network control device when the counted number of receptions satisfies a predetermined condition,
The network controller is
When the notification is received, referring to the aggregation relationship, identify the aggregation switch that transmits the packet to the edge switch that transmitted the notification,
Obtaining the number of receptions counted by the identified aggregation switch;
Based on the acquired number of reception, determine the control content for the packet to be transmitted to the edge switch that has transmitted the notification of the identified aggregation switch,
The network system, wherein the determined control content is set in the specified aggregation switch.
請求項1に記載のネットワークシステムであって、
前記ネットワーク制御装置は、前記通知を受信した場合、前記所定条件を満たす受信数の監視条件を含む計数指示を前記特定されたスイッチに送信し、
前記ネットワーク制御装置によって特定されたスイッチは、
前記計数指示を受信した場合、前記受信した計数指示に含まれる監視条件を設定し、
前記設定した監視条件と一致するパケットの受信数を計数し、
前記計数した受信数を前記ネットワーク制御装置に送信し、
前記ネットワーク制御装置は、
前記特定されたスイッチから前記計数した受信数を受信することによって前記受信数を取得することを特徴とするネットワークシステム。
The network system according to claim 1,
When the network control device receives the notification, the network control device transmits a counting instruction including a monitoring condition for the number of receptions satisfying the predetermined condition to the specified switch,
The switch identified by the network controller is
When receiving the counting instruction, set a monitoring condition included in the received counting instruction,
Count the number of received packets that match the set monitoring conditions,
Transmitting the counted number of receptions to the network control device;
The network controller is
The network system according to claim 1, wherein the reception number is acquired by receiving the counted reception number from the specified switch.
請求項1に記載のネットワークシステムであって、
前記エッジスイッチは、前記端末から送信されたデータを受信した場合、前記受信したデータのヘッダに含まれる第1識別子に対応する第2識別子を含む新たなヘッダを前記受信したパケットに付加し、前記ネットワーク内に転送し、
第1識別子が異なるパケットであっても、同じ第2識別子が付加されることによって、当該集約スイッチに集約されることを特徴とするネットワークシステム。
The network system according to claim 1,
When the edge switch receives data transmitted from the terminal, it adds a new header including a second identifier corresponding to the first identifier included in the header of the received data to the received packet, Forward into the network,
A network system, wherein packets having different first identifiers are aggregated to the aggregation switch by adding the same second identifier.
請求項7に記載のネットワークシステムであって、
前記ネットワーク制御装置は、
前記集約スイッチが受信するパケットに含まれる第2識別子と、前記集約スイッチで集約されるパケットを前記端末から受信して前記ネットワークに送信するエッジスイッチ及び当該パケットに含まれる第1識別子との関係を、前記集約関係として保持し、
前記集約スイッチに設定される監視条件は、受信したパケットが所定の第2識別子を含むことであり、
前記エッジスイッチに設定される監視条件は、受信したパケットが所定の第1識別子を含むことであるを特徴とするネットワークシステム。
The network system according to claim 7,
The network controller is
A relationship between a second identifier included in a packet received by the aggregation switch, an edge switch that receives a packet aggregated by the aggregation switch from the terminal and transmits the packet to the network, and a first identifier included in the packet. , Hold as the aggregation relationship,
The monitoring condition set in the aggregation switch is that the received packet includes a predetermined second identifier,
The network system according to claim 1, wherein the monitoring condition set in the edge switch is that the received packet includes a predetermined first identifier.
請求項8に記載のネットワークシステムであって、
前記集約スイッチに設定される監視条件、及び前記エッジスイッチに設定される監視条件は、受信したパケットに含まれるアプリケーションを特定可能な情報によって特定されるアプリケーションが所定のアプリケションであることを特徴とするネットワークシステム。
The network system according to claim 8, wherein
The monitoring condition set in the aggregation switch and the monitoring condition set in the edge switch are characterized in that an application specified by information capable of specifying an application included in a received packet is a predetermined application. Network system.
ネットワークを構築するスイッチであって、
前記ネットワークは、端末と外部ネットワークとの間に位置し、
前記スイッチは、前記端末側に位置するエッジスイッチであって、
前記スイッチは、ネットワーク制御装置によって制御され、
前記ネットワーク制御装置は、自身の配下の少なくとも一つのエッジスイッチと送受信するパケットを集約する集約スイッチと当該集約スイッチが集約するパケットを送受信するエッジスイッチとの関係を示す集約関係を保持し、
前記集約スイッチは、自身に設定された監視条件と一致するパケットの受信数を計数し、
前記集約スイッチは、前記計数した受信数が所定条件を満たす場合、前記所定条件を満たす旨の通知を前記ネットワーク制御装置に送信し、
前記ネットワーク制御装置は、
前記通知を受信した場合、前記集約関係に基づいて、前記通知を送信した集約スイッチとの間でパケットを送受信する前記スイッチを含むエッジスイッチを特定し、
前記特定されたエッジスイッチが計数した受信数を取得し、
前記取得した受信数に基づいて、前記通知を送信した集約スイッチに前記特定されたエッジスイッチが送信するパケットに対する制御内容を決定し、
前記決定した制御内容を前記特定されたエッジスイッチに送信し、
前記スイッチは、
前記制御内容を受信した場合、前記受信した制御内容を設定し、
前記設定された制御内容に基づいて、前記パケットを前記集約スイッチに送信することを特徴とするスイッチ。
A switch for constructing a network,
The network is located between the terminal and an external network,
The switch is an edge switch located on the terminal side,
The switch is controlled by a network control device,
The network control device holds an aggregation relationship indicating a relationship between an aggregation switch that aggregates packets to be transmitted and received with at least one edge switch under its control and an edge switch that transmits and receives packets aggregated by the aggregation switch,
The aggregation switch counts the number of received packets that match the monitoring condition set in itself,
The aggregation switch, when the counted number of receptions satisfies a predetermined condition, sends a notification that the predetermined condition is satisfied to the network control device,
The network controller is
When receiving the notification, based on the aggregation relationship, identify an edge switch including the switch that transmits and receives packets to and from the aggregation switch that transmitted the notification,
Obtaining the number of receptions counted by the identified edge switch;
Based on the acquired number of reception, determine the control content for the packet transmitted by the specified edge switch to the aggregation switch that transmitted the notification,
Transmitting the determined control content to the specified edge switch;
The switch is
If the control content is received, set the received control content,
A switch that transmits the packet to the aggregation switch based on the set control content.
JP2015226686A 2015-11-19 2015-11-19 Network system and switch Pending JP2017098660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015226686A JP2017098660A (en) 2015-11-19 2015-11-19 Network system and switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015226686A JP2017098660A (en) 2015-11-19 2015-11-19 Network system and switch

Publications (1)

Publication Number Publication Date
JP2017098660A true JP2017098660A (en) 2017-06-01

Family

ID=58817462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015226686A Pending JP2017098660A (en) 2015-11-19 2015-11-19 Network system and switch

Country Status (1)

Country Link
JP (1) JP2017098660A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019047254A (en) * 2017-08-31 2019-03-22 富士通株式会社 Information processing system, information processing device, and information processing program
JPWO2021181477A1 (en) * 2020-03-09 2021-09-16
WO2023187922A1 (en) * 2022-03-28 2023-10-05 日本電信電話株式会社 Communication control device, communication control method, and communication control program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019047254A (en) * 2017-08-31 2019-03-22 富士通株式会社 Information processing system, information processing device, and information processing program
JPWO2021181477A1 (en) * 2020-03-09 2021-09-16
JP7351405B2 (en) 2020-03-09 2023-09-27 日本電信電話株式会社 Signal transfer system, signal transfer device, signal transfer management device, signal transfer method, and signal transfer program
WO2023187922A1 (en) * 2022-03-28 2023-10-05 日本電信電話株式会社 Communication control device, communication control method, and communication control program

Similar Documents

Publication Publication Date Title
US10020948B2 (en) Charging in a software defined network
WO2019033857A1 (en) Packet control method and network device
WO2021083269A1 (en) Network traffic rate limiting method and device, central control equipment and gateways
US20220217070A1 (en) Network OAM Method and Apparatus
US20220191293A1 (en) Communication system, communication device, communication method, and non-transitory computer readable medium storing program
US20200403910A1 (en) Packet Processing Method, Controller, and Forwarding Device
WO2019166031A1 (en) Multi-connection data amount reporting method
CN108521371B (en) Message forwarding method and device
KR20140106235A (en) Open-flow switch and packet manageing method thereof
WO2017067007A1 (en) Method, device and system for controlling quality of service
WO2020169039A1 (en) Policy management method and device
EP3982600A1 (en) Qos policy method, device, and computing device for service configuration
EP3534571B1 (en) Service packet transmission method, and node apparatus
US20170222953A1 (en) User packet forwarding control method and processing node
EP3105885B1 (en) Integrity control in service chaining
JP6472876B2 (en) Computer program, apparatus and storage medium
JP5708818B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP2017098660A (en) Network system and switch
EP2911353B1 (en) Method and device for flow path negotiation in link aggregation group
KR101679224B1 (en) Network system based on sdn capable traffice distribution
WO2023035925A1 (en) Service processing method, apparatus and system
WO2018177003A1 (en) Charging method, and related device and system
JP2016046669A (en) Packet processing device, program and method
JP2019114950A (en) LTE communication system and communication control method
US9860791B1 (en) Long term evolution communication policies based on explicit congestion notification

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20170512