JP2015156589A - Communication device and communication program - Google Patents

Communication device and communication program Download PDF

Info

Publication number
JP2015156589A
JP2015156589A JP2014031193A JP2014031193A JP2015156589A JP 2015156589 A JP2015156589 A JP 2015156589A JP 2014031193 A JP2014031193 A JP 2014031193A JP 2014031193 A JP2014031193 A JP 2014031193A JP 2015156589 A JP2015156589 A JP 2015156589A
Authority
JP
Japan
Prior art keywords
transfer
route
transfer path
frame
determination unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014031193A
Other languages
Japanese (ja)
Inventor
悠 中山
Yu Nakayama
悠 中山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2014031193A priority Critical patent/JP2015156589A/en
Publication of JP2015156589A publication Critical patent/JP2015156589A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To simplify route prediction from the outside by performing frame transfer according to a preset flow allocation probability, for a plurality of transfer paths when an arbitrary topology is made up by using SPBM, and matching the transfer path in the forward and backward paths.
SOLUTION: A communication device 1 includes a transfer table storage unit 21 for storing a transfer table preset with a flow allocation probability for n (n is an integer of 1 or more) for transferring a frame transmitted externally, for each of previously connected node out of a plurality of nodes, and a route determination unit 11 generating a transfer path calculation value for selecting a transfer table by a unidirectional function based on the header information of a frame and the flow allocation probability, with reference to the transfer table, and selecting the transfer path of a frame depending on the transfer path calculation value thus generated.
COPYRIGHT: (C)2015,JPO&INPIT

Description

本発明は、通信装置におけるトラヒック制御技術に係り、特に、複数の転送経路について、あらかじめ設定されたフロー割当確率に従ってフレーム転送を行い、往復での転送経路を一致させ、外部からの経路予測を簡易化する通信装置及び通信プログラムの技術に関するものである   The present invention relates to a traffic control technique in a communication device, and in particular, for a plurality of transfer paths, frame transfer is performed according to a preset flow allocation probability, and the round-trip transfer paths are made coincident to simplify route prediction from the outside. TECHNICAL FIELD OF THE INVENTION

一般に、アクセスネットワークにおいて、データの転送制御を行う通信装置は、ユーザから転送されたトラヒックの集線を行い、ユーザトラヒックを多重化した上で、エッジルータを通じコアネットワーク(通信事業者間を接続する大容量の基幹通信ネットワーク)に転送する。各通信装置は、フレームに記載されたCOSなどの値を用いて優先度を識別し、VLAN−IDなどのユーザ識別子を用いて送信元ユーザを識別する。特に、信頼性向上の観点から装置や経路の冗長化が重要であり、関連技術では、ERP(Ethernet(Ethernetは登録商標) Ring Protection)等を適用したレイヤ2リングトポロジが広く採用されている。   In general, a communication device that controls data transfer in an access network collects traffic transferred from a user, multiplexes the user traffic, and then connects a core network (a large network that connects telecommunications carriers through an edge router). Forward to capacity backbone network). Each communication apparatus identifies the priority using a value such as COS described in the frame, and identifies the transmission source user using a user identifier such as VLAN-ID. In particular, redundancy of devices and paths is important from the viewpoint of improving reliability. In related technology, a layer 2 ring topology to which ERP (Ethernet (registered trademark) Ring Protection) is applied is widely adopted.

一方で近年、データセンタにおけるサーバ仮想化技術の進展に伴い、データセンタ内ネットワークの効率化、管理容易化のためにSPB(Shortest Path Bridging)、TRILL(Transparent Interconnection of Lots of Links)といったレイヤ2ルーティング(L2R)技術の標準化が進んでいる。L2Rでは、IS−IS(Intermediate System to Intermediate System)を利用しノード間で経路情報を交換して転送経路を決定することで、最短経路転送、マルチパス転送を実現する。また、関連技術では、ループ回避のために必須であったブロッキングポートを不要とし、リソースの有効利用および経路管理の容易化を図っている。   On the other hand, in recent years, with the advancement of server virtualization technology in data centers, layer 2 routing such as SPB (Shortest Path Bridging) and TRILL (Transparent Interconnection of Lots of Links) for efficient and easy management of data center networks. Standardization of (L2R) technology is progressing. In L2R, shortest path transfer and multipath transfer are realized by exchanging path information between nodes using IS-IS (Intermediate System to Intermediate System) to determine a transfer path. In the related art, the blocking port that is essential for avoiding the loop is not required, and effective use of resources and easy route management are achieved.

今後、アクセスネットワークにおける集線区間へのL2R網の利用が考えられる。L2R網では、任意のネットワーク構成においてブロッキングポートが無くなり、最短経路転送が実現される。最短経路が複数存在する場合には、自律的にマルチパスを設定し、負荷分散が実行される。そのため、リソースの有効利用および経路管理の容易化が期待される。さらにリングトポロジにとどまらず、需要に応じて柔軟にネットワークを構成することが可能となる。   In the future, it is conceivable to use the L2R network for the concentration section in the access network. In the L2R network, there is no blocking port in an arbitrary network configuration, and shortest path transfer is realized. When there are a plurality of shortest paths, multipaths are set autonomously and load distribution is executed. Therefore, effective use of resources and easy route management are expected. Furthermore, the network can be flexibly configured according to demand, not limited to the ring topology.

特にSPBにおける一方式であるSPBMでは、複数の最短経路が存在する場合、End−to−endのマルチパスであるECT(Equal Cost Tree)を形成する。エッジノードにおいて、I−SID等に基づいて複数の転送経路のうちから一つの転送経路が選択され、選択された転送経路に対応したB−VIDが付与され、フレームが転送される。   In particular, SPBM, which is one method in SPB, forms an end-to-end multipath ECT (Equal Cost Tree) when there are a plurality of shortest paths. In the edge node, one transfer route is selected from a plurality of transfer routes based on I-SID and the like, and a B-VID corresponding to the selected transfer route is assigned, and the frame is transferred.

しかし、複数の転送経路から各フローの転送経路を単純に選択した場合、適切に負荷分散が行われないことがある。すなわちSPBMでは通常、各フローに関しI−SID等に基づいて転送経路が選択される。そのためユーザ分布やフロー分布に偏りがある場合には、一部の転送経路にフローが集中することがある。帯域の有効活用が図れず、特定フローのスループット低下や遅延増大等の転送品質低下が発生する課題がある。   However, when a transfer path for each flow is simply selected from a plurality of transfer paths, load distribution may not be performed appropriately. That is, in SPBM, a transfer path is normally selected based on I-SID or the like for each flow. Therefore, if the user distribution or the flow distribution is biased, the flow may concentrate on some transfer paths. There is a problem that bandwidth cannot be effectively used, and transfer quality decreases such as throughput reduction and delay increase of a specific flow.

特定フローのスループット低下を防ぎ公平性を実現するための第1の関連技術として、レートベースの経路選択手法がある(例えば、非特許文献1参照。)。この技術は、エッジノードにてフローごとの入力レートを推定し、これを用いて各経路を選択しているフローの平均レートを算出し、新規フローが到着した際には平均レートが大きい経路を選択する。その結果として輻輳した経路を避けてロードバランスを行い、スループットの公平化を図る。   There is a rate-based route selection method as a first related technique for preventing a decrease in the throughput of a specific flow and realizing fairness (see, for example, Non-Patent Document 1). This technology estimates the input rate for each flow at the edge node, calculates the average rate of the flow that has selected each route using this, and when a new flow arrives, selects a route with a high average rate. select. As a result, load balancing is performed while avoiding a congested route, and throughput is faired.

第2の関連技術として、エッジノードにおける経路選択確率を最適化し、ロードバランス性を高める手法がある(例えば、非特許文献2参照。)。本手法では、各ノードにおける経路選択確率を変数として各リンクの期待トラヒック量を表し、この最大値を最小化するように、各経路の選択確率を定める。結果として経路間のロードバランス性を向上し、フロー間のスループット公平性向上が可能である。   As a second related technique, there is a method of optimizing the route selection probability in the edge node and improving the load balance (see, for example, Non-Patent Document 2). In this method, the expected traffic volume of each link is expressed using the path selection probability at each node as a variable, and the selection probability of each path is determined so as to minimize the maximum value. As a result, the load balance between paths can be improved, and the throughput fairness between flows can be improved.

これらの技術を用いることで、経路間のロードバランス性を向上させ、輻輳を抑制し、フロー間のスループット公平性を向上させることができる。しかし、これらの技術では、各フローについて、どの経路を用いてフレームが転送されているのかを外部から予測することが困難であり、また往復での経路が一致しない場合が発生する、という課題があった。   By using these techniques, it is possible to improve load balance between paths, suppress congestion, and improve throughput fairness between flows. However, with these technologies, it is difficult to predict from the outside which route is used to transfer the frame for each flow, and there is a problem that the round trip route may not match. there were.

例えば、第1の関連技術を用いた場合、フローが新着する度に、その時点における各経路の平均レートを用いて経路選択が行われるため、外部からの経路予測が困難であり、往復での経路一致は保障されない。また第2の関連技術を用いた場合、各フレームについて、設定された経路選択確率に基づいて経路選択がなされるため、外部からの経路予測が困難で、往復での経路一致も保障されない。   For example, when the first related technology is used, every time a flow arrives, route selection is performed using the average rate of each route at that time. Path matching is not guaranteed. Further, when the second related technique is used, route selection is performed for each frame based on the set route selection probability, so that it is difficult to predict the route from the outside, and the round-trip route matching is not guaranteed.

Path selection algorithm for shortest path bridging in access networks,IEICE Communications Express,vol.2,no.10,pp.396−401,2013.Path selection algorithm for shortest path bridging in access networks, IEICE Communications Express, vol. 2, no. 10, pp. 396-401, 2013. SPBMにおけるECT形成時の経路選択確率の最適化,電子情報通信学会技術研究報告,CS2013−63,pp.19−24,2013年12月Optimization of path selection probability at ECT formation in SPBM, IEICE technical report, CS2013-63, pp. 19-24, December 2013

本発明が解決しようとする問題点は、関連技術では、SPBMを利用し任意のトポロジを構成した際、ロードバランス性を高めるように複数の転送経路から各フローの転送経路を選択した場合、各フローについて、フレーム転送経路を外部から予測することが困難であり、また往復での経路が一致しない場合が発生する、という点である。   The problem to be solved by the present invention is that in the related technology, when an arbitrary topology is configured using SPBM, each flow transfer path is selected from a plurality of transfer paths so as to improve load balance. With respect to the flow, it is difficult to predict the frame transfer path from the outside, and there are cases where the round-trip path does not match.

前記課題を解決するために、本発明の目的は、これら関連技術の課題を解決し、SPBMを利用し任意のトポロジを構成した場合において、複数の転送経路について、あらかじめ設定されたフロー割当確率に従ってフレーム転送を行い、往復での転送経路を一致させ、外部からの経路予測を簡易化することを目的とする。   In order to solve the above-mentioned problems, the object of the present invention is to solve the problems of these related techniques and, when an arbitrary topology is configured using SPBM, according to a preset flow allocation probability for a plurality of transfer paths. The purpose is to simplify frame prediction from the outside by performing frame transfer, matching transfer paths in round trips.

上記目的を達成するため、本発明に係る通信装置は、フレームの宛先に応じて、n個の転送経路を保持する転送テーブルと、経路判断部と、を備え、前記経路判断部は、前記各転送経路に対するフロー割当確率r〜rを保持し、前記フロー割当確率に基づく関数を生成し、フレームのヘッダ情報に基づき、前記関数により当該フレームの転送経路を選択する、ことを行う。 In order to achieve the above object, a communication apparatus according to the present invention includes a transfer table that holds n transfer paths according to a destination of a frame, and a path determination unit. holding the flow assignment probability r 1 ~r n for transfer path, it generates a function based on the flow assignment probability, based on the header information of the frame, to select the transfer path of the frame by the function, do the.

具体的には、本発明に係る通信装置は、
複数のノードのうち予め接続されたノードごとに、外部から送信されたフレームを転送するためのn(nは1以上の整数)個の転送経路に対するフロー割当確率が予め設定された転送テーブルを格納する転送テーブル格納部と、
前記転送テーブルを参照し、前記転送経路を選択するための転送経路算出値を前記フレームのヘッダ情報及び前記フロー割当確率に基づいて一方向性関数で生成し、生成した前記転送経路算出値に応じて前記フレームの転送経路を選択する経路判断部と、を備える。
Specifically, the communication device according to the present invention is:
Stores a forwarding table in which flow allocation probabilities are set in advance for n (n is an integer of 1 or more) forwarding paths for forwarding a frame transmitted from the outside for each node connected in advance among a plurality of nodes. A forwarding table storage unit,
A transfer path calculation value for selecting the transfer path with reference to the transfer table is generated by a one-way function based on the header information of the frame and the flow allocation probability, and according to the generated transfer path calculation value And a route determination unit that selects a transfer route of the frame.

本発明に係る通信装置では、
前記経路判断部は、
前記n個の転送経路に対する前記フロー割当確率r〜rを整数比R〜Rに変換し、前記フレームのヘッダ情報xを用いて、式(1)で表されるハッシュ関数値hを生成し、

Figure 2015156589
生成した前記ハッシュ関数値が、式(2)を満たす転送経路を選択し、選択した前記転送経路で前記フレームを転送してもよい。
Figure 2015156589
In the communication apparatus according to the present invention,
The route determination unit
The flow allocation probabilities r 1 to rn for the n transfer paths are converted into integer ratios R 1 to R n , and the hash function value h represented by Expression (1) is used using the header information x of the frame. Produces
Figure 2015156589
The generated hash function value may select a transfer path that satisfies Equation (2), and the frame may be transferred through the selected transfer path.
Figure 2015156589

本発明に係る通信装置では、
前記経路判断部は、
前記転送経路上のノードごとに付与された識別子の値を比較し、比較した前記識別子の値を昇順に従って前記n個の転送経路に対し経路番号を設定し、前記経路番号が設定された前記n個の転送経路に対し前記フロー割当確率を割当ててもよい。
In the communication apparatus according to the present invention,
The route determination unit
The identifier value assigned to each node on the transfer route is compared, the compared identifier values are set in ascending order, the route number is set for the n transfer routes, and the route number is set to the n The flow allocation probability may be allocated to each transfer path.

本発明に係る通信装置では、
前記経路判断部は、
前記転送経路上のノードごとに付与された識別子の値を比較し、比較した前記識別子の値を降順に従って前記n個の転送経路に対し経路番号を設定し、前記経路番号が設定された前記n個の転送経路に対し前記フロー割当確率を割当ててもよい。
In the communication apparatus according to the present invention,
The route determination unit
The identifier value assigned to each node on the transfer route is compared, the compared identifier values are set in descending order, route numbers are set for the n transfer routes, and the route number is set to the n The flow allocation probability may be allocated to each transfer path.

本発明に係る通信装置では、
前記経路判断部は、
C−VLANID(Customer Virtual Local Area Network Identifier)を用いて生成したハッシュ関数値を使用し、往復の転送経路を一致させてもよい。
In the communication apparatus according to the present invention,
The route determination unit
A hash function value generated using a C-VLANID (Customer Virtual Local Area Network Identifier) may be used to match the round-trip transfer paths.

本発明に係る通信装置では、
前記経路判断部は、
宛先MAC(Media Access Control)アドレス及び送信元MACアドレスを論理演算し、前記論理演算結果を用いて生成したハッシュ関数値を使用し、往復の転送経路を一致させてもよい。
In the communication apparatus according to the present invention,
The route determination unit
The destination MAC (Media Access Control) address and the source MAC address may be logically calculated, and the hash function value generated using the logical calculation result may be used to match the round-trip transfer paths.

本発明に係る通信装置では、
前記経路判断部は、
I−SID(Identifying−Service Instance Identifier)を用いて生成したハッシュ関数値を使用し、往復の転送経路を一致させてもよい。
In the communication apparatus according to the present invention,
The route determination unit
A round-trip transfer path may be matched using a hash function value generated using I-SID (Identifying-Service Instance Identifier).

具体的には、本発明に係る通信プログラムは
複数のノードのうち予め接続されたノードごとに、外部から送信されたフレームを転送するためのn(nは1以上の整数)個の転送経路に対するフロー割当確率が予め設定された転送テーブルを参照し、前記転送経路を選択するための転送経路算出値を前記フレームのヘッダ情報及び前記フロー割当確率に基づいて一方向性関数で生成し、生成した前記転送経路算出値に応じて前記フレームの転送経路を選択する経路判断手順と、をコンピュータに順に実行させる。
Specifically, the communication program according to the present invention provides for n (n is an integer of 1 or more) transfer paths for transferring a frame transmitted from the outside for each node connected in advance among a plurality of nodes. A transfer route calculation value for selecting the transfer route is generated with a one-way function based on the header information of the frame and the flow assignment probability by referring to a transfer table in which a flow assignment probability is set in advance. And a route determination procedure for selecting a transfer route of the frame in accordance with the transfer route calculation value.

なお、上記各発明は、可能な限り組み合わせることができる。   The above inventions can be combined as much as possible.

本発明によれば、SPBMネットワークを構成する通信装置は、複数の転送経路について、あらかじめ設定されたフロー割当確率に従ってフレーム転送を行い、往復での転送経路を一致させ、外部からの経路予測を簡易化する。   According to the present invention, a communication device constituting an SPBM network performs frame transfer according to a preset flow allocation probability for a plurality of transfer paths, matches round-trip transfer paths, and simplifies path prediction from the outside. Turn into.

本実施形態に係るネットワークの構成を示す一例である。It is an example which shows the structure of the network which concerns on this embodiment. 本実施形態に係る通信装置の構成を示す一例である。It is an example which shows the structure of the communication apparatus which concerns on this embodiment. 本実施形態に係る転送テーブルを示す一例である。It is an example which shows the transfer table which concerns on this embodiment. 本実施形態に係るSPMDドメインにおけるネットワークの構成を示す一例である。It is an example which shows the structure of the network in the SPMD domain which concerns on this embodiment. 本実施形態に係るSPMDドメインにおけるネットワークの転送経路を示す一例である。It is an example which shows the transfer path | route of the network in the SPMD domain which concerns on this embodiment.

以下、本発明の実施形態について、図面を参照しながら詳細に説明する。なお、本発明は、以下に示す実施形態に限定されるものではない。これらの実施の例は例示に過ぎず、本発明は当業者の知識に基づいて種々の変更、改良を施した形態で実施することができる。なお、本明細書及び図面において符号が同じ構成要素は、相互に同一のものを示すものとする。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In addition, this invention is not limited to embodiment shown below. These embodiments are merely examples, and the present invention can be implemented in various modifications and improvements based on the knowledge of those skilled in the art. In the present specification and drawings, the same reference numerals denote the same components.

以下、図を用いて本発明を実施するための形態例を説明する。なお、本発明は、以下の記述により限定されるものではなく、本発明の要旨を逸脱しない範囲において適宜変更可能である。まず、図1、2、3、4、5を用いて本発明の第1の実施の形態について説明する。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. In addition, this invention is not limited by the following description, In the range which does not deviate from the summary of this invention, it can change suitably. First, the first embodiment of the present invention will be described with reference to FIGS.

(第1の実施の形態)
本実施形態に係る通信装置は、転送テーブル格納部及び経路判断部を備える。転送テーブル格納部は転送テーブルを格納し、経路判断部は転送経路判断部として機能する。また、通信装置の動作における通信プログラムは、経路判断手順を有し実行させる。
(First embodiment)
The communication apparatus according to the present embodiment includes a transfer table storage unit and a route determination unit. The transfer table storage unit stores a transfer table, and the route determination unit functions as a transfer route determination unit. Further, the communication program in the operation of the communication apparatus has a route determination procedure and is executed.

図1において、BEB(Backbone Edge Bridge)は本発明に係る通信装置1であり、SPBMネットワーク4においてエッジノードとして動作する。BCB(Backbone Core Bridge)はSPBMネットワーク4におけるコアノード6として動作する。SPBM網内のトポロジは何でも良い。BEB1にはそれぞれ、複数のユーザ端末5が接続される。   In FIG. 1, BEB (Backbone Edge Bridge) is a communication apparatus 1 according to the present invention, and operates as an edge node in the SPBM network 4. BCB (Backbone Core Bridge) operates as a core node 6 in the SPBM network 4. Any topology may be used in the SPBM network. A plurality of user terminals 5 are connected to each BEB 1.

図2において、1は本発明に係る通信装置であり、フレーム受信部2がSPBMネットワーク4外から受信したフレームについて、転送経路判断部11は、転送テーブルを参照して転送経路を定め、ヘッダ付与部12が対応するPBB(Provider Backbone Bridging)ヘッダ、すなわちアウターMACヘッダを付与する。このとき、等コストの転送経路ECT(Equal Cost Tree)が存在する場合には、転送経路判断部11が転送経路選択を行う。ヘッダが付与されたフレームは、宛先に対応するフレーム送信部3を通じて、他ノードへと転送される。   In FIG. 2, reference numeral 1 denotes a communication device according to the present invention. For a frame received by the frame receiving unit 2 from outside the SPBM network 4, the transfer path determining unit 11 determines a transfer path with reference to the transfer table, and adds a header. The unit 12 adds a corresponding PBB (Provider Backbone Bridging) header, that is, an outer MAC header. At this time, when there is an equal cost transfer path ECT (Equal Cost Tree), the transfer path determination unit 11 selects a transfer path. The frame with the header is transferred to another node through the frame transmission unit 3 corresponding to the destination.

転送テーブル格納部21に格納された転送テーブルの構成を図3に示す。図3を用いて、PBBヘッダの付与方法を詳述する。まず、転送テーブルは、宛先クライアントMACアドレス(C−DA)、宛先BEB(B−DA)、カスタマーVID(C−VID)、サービス識別子(I−SID)の対応表を持つ。さらに、I−SIDとB−VID、出力ポート、フロー割当確率の対応表を持つ。転送経路判断部11は、転送テーブルを参照し、フレームのC−DA、C−VIDに基づいてB−DA、I−SIDを定める。   The configuration of the transfer table stored in the transfer table storage unit 21 is shown in FIG. The method for adding the PBB header will be described in detail with reference to FIG. First, the forwarding table has a correspondence table of destination client MAC address (C-DA), destination BEB (B-DA), customer VID (C-VID), and service identifier (I-SID). Furthermore, it has a correspondence table of I-SID and B-VID, output port, and flow allocation probability. The transfer path determination unit 11 refers to the transfer table and determines B-DA and I-SID based on the C-DA and C-VID of the frame.

次に当該I−SIDに対応するB−VIDが複数存在する場合には、ECTが存在することを示しているため、フロー割当確率に基づいて与えるB−VIDを定める。この様にしてPBBヘッダにおけるB−DA、I−SID、B−VIDを定めた上で、対応する出力ポート情報を参照し、転送先を決定する。また、当該エッジノードを起点とする転送経路のみならず、ネットワーク上の全ての転送経路についての、経路番号、フロー割当確率、B−VIDの対応テーブルを持つ。経路番号の設定方法については後述する。   Next, when there are a plurality of B-VIDs corresponding to the I-SID, it indicates that ECT exists, and therefore, a B-VID to be given is determined based on the flow allocation probability. In this way, after defining B-DA, I-SID, and B-VID in the PBB header, the transfer destination is determined by referring to the corresponding output port information. In addition to the transfer route starting from the edge node, there is a correspondence table of route numbers, flow allocation probabilities, and B-VIDs for all transfer routes on the network. A route number setting method will be described later.

図4において、ノード#0〜#5はSPBMドメインを形成している。ノード#0,ノード#5に対して、複数のユーザ端末5が接続されている。SPBM4では、転送経路としてEnd−to−endかつ、往復で対称な最短経路を生成する。さらに最短経路が複数存在する場合には、転送経路の組(ECT)を形成する。BEB1に対し、SPBMドメイン外からフレームが到着した時には、割当経路に対応するB−VIDを付与して転送を行う。ノード#0、#5間のユニキャストフレーム転送経路は図5の通りである。本実施形態では4つの転送経路が存在する。すなわちノード#0−#1−#4−#5、#0−#1−#3−#5、#0−#2−#4−#5及び#0−#2−#3−#5を経由する経路がECTである。   In FIG. 4, nodes # 0 to # 5 form an SPBM domain. A plurality of user terminals 5 are connected to the nodes # 0 and # 5. The SPBM 4 generates an end-to-end and a round trip symmetrical shortest path as a transfer path. Further, when there are a plurality of shortest paths, a transfer path set (ECT) is formed. When a frame arrives from outside the SPBM domain, BEB1 is transferred with a B-VID corresponding to the assigned route. The unicast frame transfer path between nodes # 0 and # 5 is as shown in FIG. In this embodiment, there are four transfer paths. That is, nodes # 0- # 1- # 4- # 5, # 0- # 1- # 3- # 5, # 0- # 2- # 4- # 5 and # 0- # 2- # 3- # 5 The route that passes is ECT.

ノード#0、ノード#5において経路計算部22は、ノード#0−ノード#5間の4個の転送経路について、次のようにして経路番号を決定し、転送テーブル格納部21で格納された転送テーブルに設定する。経路上のノードに付与された識別子の値を比較し、より小さい値が存在する経路から順番に、経路番号1〜4を設定する。つまり、本実施形態において、各経路における経路上のノードは、ノード#1−#4、#1−#3、#2−#4及び#2−#3である。   In the node # 0 and the node # 5, the route calculation unit 22 determines the route number for the four transfer routes between the node # 0 and the node # 5 as follows, and stores them in the transfer table storage unit 21. Set in forwarding table. The identifier values assigned to the nodes on the route are compared, and route numbers 1 to 4 are set in order from the route having a smaller value. That is, in this embodiment, the nodes on the route in each route are the nodes # 1- # 4, # 1- # 3, # 2- # 4, and # 2- # 3.

まずノード番号が最小であるノード#1を通る経路#1−#4、#1−#3を比較し、より小さいノード番号であるノード3を通る経路#0−#1−#3−#5を経路番号1とし、経路#0−#1−#4−#5を経路番号2とする。次に残った#2−#4、#2−#3を比較し、より小さいノード番号であるノード3を通る経路#0−#2−#3−#5を経路番号3とし、経路#0−#2−#4−#5を経路番号4とする。なお識別子としては、SPBにおけるノードIDを用いても良いし、B−MACアドレス等を用いても良い。   First, routes # 1- # 4 and # 1- # 3 passing through the node # 1 having the smallest node number are compared, and routes # 0- # 1- # 3- # 5 passing through the node 3 having a smaller node number. Is route number 1 and route # 0- # 1- # 4- # 5 is route number 2. Next, the remaining # 2- # 4 and # 2- # 3 are compared, and the route # 0- # 2- # 3- # 5 passing through the node 3 having a smaller node number is set as the route number 3, and the route # 0 -# 2- # 4- # 5 is route number 4. As an identifier, a node ID in SPB may be used, or a B-MAC address or the like may be used.

以上の方法により、ノード#0、#5で同じ経路に同一の経路番号が設定される。上記を一般化すると、前記n個の転送経路について、経路上のノードに付与された識別子の値を比較し、より小さい値が存在する経路から順番に、経路番号1〜nを設定する、と書ける。なお、ノード番号比較時の大小関係を逆にし、より大きい値が存在する経路から順番に経路番号1〜nを設定しても良いが、各ノードで同じ方法によって経路番号を設定する必要がある。   By the above method, the same route number is set to the same route in the nodes # 0 and # 5. To generalize the above, for the n transfer routes, the identifier values given to the nodes on the route are compared, and the route numbers 1 to n are set in order from the route with the smaller value. I can write. It should be noted that the size relationship at the time of comparing node numbers may be reversed, and route numbers 1 to n may be set in order from the route having a larger value. However, it is necessary to set the route number by the same method at each node. .

経路判断部として機能する転送経路判断部11は、以下のようにして各フローの転送経路を選択する。まず、n個の転送経路に対するフロー割当確率r〜rをあらかじめ設定しておく。次にr〜rを整数比に変換し、その値をR〜Rとする。R〜Rを用いて、式(3)で表されるハッシュ関数を生成する。ここで、本実施形態では、転送経路mを選択するための算出値は、一方向性関数としてハッシュ関数で算出した。

Figure 2015156589
The transfer route determination unit 11 functioning as a route determination unit selects a transfer route for each flow as follows. First, flow allocation probabilities r 1 to rn for n transfer paths are set in advance. Then converts the r 1 ~r n integer ratio, and its value as R 1 to R n. A hash function represented by Expression (3) is generated using R 1 to R n . Here, in this embodiment, the calculated value for selecting the transfer path m is calculated by a hash function as a one-way function.
Figure 2015156589

ここでmod(x,N)は、Nをxで割った余りを意味する。SPBMネットワーク4外から転送されてくるフレームについて、フレームヘッダの一部をハッシュ関数のxに代入し、ハッシュ値を求める。求めたハッシュ値について、式(4)を満たす転送経路mを求め、当該フレームを転送経路mに転送する。

Figure 2015156589
Here, mod (x, N) means a remainder obtained by dividing N by x. For a frame transferred from outside the SPBM network 4, a part of the frame header is substituted into x of the hash function to obtain a hash value. With respect to the obtained hash value, a transfer path m satisfying Expression (4) is obtained, and the frame is transferred to the transfer path m.
Figure 2015156589

xとして用いる値の例としてはカスタマーVLAN−IDがある。本実施形態では、カスタマーVLAN−IDは往復経路で同じ値が用いられるため、往復経路での経路の一致が保障される。同時に、カスタマーVLAN−ID情報とフロー割当確率r〜rを用いれば、外部から各フローの転送経路を予測することが可能である。 An example of a value used as x is customer VLAN-ID. In the present embodiment, the same value is used for the customer VLAN-ID in the round trip route, so that the route match in the round trip route is guaranteed. At the same time, the use of the customer VLAN-ID information and flow assignment probability r 1 ~r n, it is possible to predict the transfer route of the flow from the outside.

例えば図5において、ノード#0、#5における経路番号1(#0−#1−#3−#5)、経路番号2(#0−#1−#4−#5)、経路番号3(#0−#2−#3−#5)、経路番号4(#0−#2−#4−#5)のフロー割当確率がそれぞれ0.1、0.2、0.3、0.4だとする。つまりr=0.1、r=0.2、r=0.3、r=0.4である。r〜rを整数比に変換すると、r:r:r:r=1:2:3:4となるため、R=1、R=2、R=3、R=4とする。 For example, in FIG. 5, route number 1 (# 0- # 1- # 3- # 5), route number 2 (# 0- # 1- # 4- # 5), route number 3 ( # 0- # 2- # 3- # 5) and path number 4 (# 0- # 2- # 4- # 5) have flow allocation probabilities of 0.1, 0.2, 0.3, and 0.4, respectively. Suppose. That is, r 1 = 0.1, r 2 = 0.2, r 3 = 0.3, and r 4 = 0.4. When r 1 to r 4 are converted into an integer ratio, r 1 : r 2 : r 3 : r 4 = 1: 2: 3: 4, so R 1 = 1, R 2 = 2 and R 3 = 3, Let R 4 = 4.

ここで、R〜Rを用いて、ハッシュ関数h(x)=mod(x,10)を生成する。ノード0、5において、SPBMネットワーク4外から転送されてくるフレームについて、フレームヘッダの一部を用いてハッシュ値を求める。例えば、h(101)=1,h(125)=5等となる。ハッシュ値について、式(5)を満たす転送経路mを求め、当該フレームを転送経路mに転送する。

Figure 2015156589
Here, a hash function h (x) = mod (x, 10) is generated using R 1 to R 4 . At nodes 0 and 5, a hash value is obtained for a frame transferred from outside the SPBM network 4 using a part of the frame header. For example, h (101) = 1, h (125) = 5, etc. For the hash value, a transfer path m satisfying Expression (5) is obtained, and the frame is transferred to the transfer path m.
Figure 2015156589

すなわち、0≦h(x)<1であれば転送経路1,1≦h(x)<3であれば転送経路2,3≦h(x)<6であれば転送経路3,6≦h(x)<10であれば転送経路4を選択する。以上の方法により、xに対して同じ値を用いれば、異なるノード、異なるトラヒック状況においても常に同一の経路が選択される。よって往復での経路一致、外部からの予測が可能となっている。   That is, if 0 ≦ h (x) <1, the transfer path 1; if 1 ≦ h (x) <3, the transfer path 2; if 3 ≦ h (x) <6, the transfer path 3, 6 ≦ h. If (x) <10, the transfer path 4 is selected. With the above method, if the same value is used for x, the same route is always selected even in different nodes and different traffic situations. Therefore, round trip route matching and prediction from the outside are possible.

(第2の実施の形態)
本発明における第2の実施の形態は、ほぼ第1の実施の形態と同様であるが、以下の点が異なる。すなわち、ハッシュ関数h(x)に入れるxの値として、カスタマーVLAN−IDの代わりに、カスタマー宛先MACアドレス(C−MAC DA)とカスタマー送信元MACアドレス(C−MAC SA)の論理演算結果を利用する。例えば、C−MAC DAとC−MAC SAの論理和を算出し、この値をxとして利用する。この方法により、フレームの送信元および宛先となるユーザ端末5の組み合わせによって選択する経路を決定することが可能となる。
(Second Embodiment)
The second embodiment of the present invention is substantially the same as the first embodiment except for the following points. That is, as a value of x to be put into the hash function h (x), a logical operation result of the customer destination MAC address (C-MAC DA) and the customer transmission source MAC address (C-MAC SA) is used instead of the customer VLAN-ID. Use. For example, the logical sum of C-MAC DA and C-MAC SA is calculated, and this value is used as x. With this method, it is possible to determine a route to be selected depending on the combination of the user terminal 5 that is the transmission source and destination of the frame.

(第3の実施の形態)
本発明における第3の実施の形態は、ほぼ第1の実施の形態と同様であるが、以下の点が異なる。すなわち、ハッシュ関数h(x)に入れるxの値として、カスタマーVLAN−IDの代わりに、PBB(Provider Backbone Bridging)ヘッダ内のI−SIDの値を利用する。この方法により、I−SIDごとに選択する経路を決定することができる。各BEB1に多くのI−SIDがプロビジョニングされており、多くのI−SIDのフローが同一の転送経路上を転送される場合に、効率的に経路選択や外部からの経路予測が可能となる。
(Third embodiment)
The third embodiment of the present invention is substantially the same as the first embodiment except for the following points. That is, the value of x in the hash function h (x) uses the value of I-SID in the PBB (Provider Backbone Bridging) header instead of the customer VLAN-ID. By this method, a route to be selected for each I-SID can be determined. When many I-SIDs are provisioned in each BEB 1 and many I-SID flows are transferred on the same transfer route, route selection and route prediction from the outside can be efficiently performed.

なお、本実施形態に係る発明の通信装置の動作は、コンピュータと通信プログラムによっても実現でき、通信プログラムを記録媒体に記録することも、ネットワークを通して提供することも可能である。   Note that the operation of the communication apparatus according to the present embodiment can be realized by a computer and a communication program, and the communication program can be recorded on a recording medium or provided through a network.

本発明は情報通信産業に適用することができる。   The present invention can be applied to the information communication industry.

1:通信装置(BEB)
2:フレーム受信部
3:フレーム送信部
4:SPBM Network
5:ユーザ端末
6:コアノード(BCB)
11:転送経路判断部
12:ヘッダ付与部
21:転送テーブル格納部
22:経路計算部
23:割当確率計算部
1: Communication device (BEB)
2: Frame receiver 3: Frame transmitter 4: SPBM Network
5: User terminal 6: Core node (BCB)
11: transfer route determination unit 12: header assignment unit 21: transfer table storage unit 22: route calculation unit 23: allocation probability calculation unit

Claims (8)

複数のノードのうち予め接続されたノードごとに、外部から送信されたフレームを転送するためのn(nは1以上の整数)個の転送経路に対するフロー割当確率が予め設定された転送テーブルを格納する転送テーブル格納部と、
前記転送テーブルを参照し、前記転送経路を選択するための転送経路算出値を前記フレームのヘッダ情報及び前記フロー割当確率に基づいて一方向性関数で生成し、生成した前記転送経路算出値に応じて前記フレームの転送経路を選択する経路判断部と、を
備えることを特徴とする通信装置。
Stores a forwarding table in which flow allocation probabilities are set in advance for n (n is an integer of 1 or more) forwarding paths for forwarding a frame transmitted from the outside for each node connected in advance among a plurality of nodes. A forwarding table storage unit,
A transfer path calculation value for selecting the transfer path with reference to the transfer table is generated by a one-way function based on the header information of the frame and the flow allocation probability, and according to the generated transfer path calculation value And a route determination unit that selects a transfer route of the frame.
前記経路判断部は、
前記n個の転送経路に対する前記フロー割当確率r〜rを整数比R〜Rに変換し、前記フレームのヘッダ情報xを用いて、式C1によりハッシュ関数値を生成し、生成した前記ハッシュ関数値が、式C2を満たす転送経路を選択し、選択した前記転送経路で前記フレームを転送する、
ことを特徴とする請求項1に記載の通信装置。
Figure 2015156589
Figure 2015156589
The route determination unit
The flow allocation probabilities r 1 to rn for the n forwarding paths are converted into integer ratios R 1 to R n , and a hash function value is generated by using the header information x of the frame to generate a hash function value The hash function value selects a transfer path that satisfies the expression C2, and transfers the frame through the selected transfer path.
The communication apparatus according to claim 1.
Figure 2015156589
Figure 2015156589
前記経路判断部は、
前記転送経路上のノードごとに付与された識別子の値を比較し、比較した前記識別子の値を昇順に従って前記n個の転送経路に対し経路番号を設定し、前記経路番号が設定された前記n個の転送経路に対し前記フロー割当確率を割当てる、
ことを特徴とする請求項1又は2に記載の通信装置。
The route determination unit
The identifier value assigned to each node on the transfer route is compared, the compared identifier values are set in ascending order, the route number is set for the n transfer routes, and the route number is set to the n Assigning the flow allocation probability to a plurality of transfer paths;
The communication apparatus according to claim 1 or 2, wherein
前記経路判断部は、
前記転送経路上のノードごとに付与された識別子の値を比較し、比較した前記識別子の値を降順に従って前記n個の転送経路に対し経路番号を設定し、前記経路番号が設定された前記n個の転送経路に対し前記フロー割当確率を割当てる、
ことを特徴とする請求項1又は2に記載の通信装置。
The route determination unit
The identifier value assigned to each node on the transfer route is compared, the compared identifier values are set in descending order, route numbers are set for the n transfer routes, and the route number is set to the n Assigning the flow allocation probability to a plurality of transfer paths;
The communication apparatus according to claim 1 or 2, wherein
前記経路判断部は、
C−VLANID(Customer Virtual Local Area Network Identifier)を用いて生成したハッシュ関数値を使用し、往復の転送経路を一致させる
ことを特徴とする請求項1から4のいずれかに記載の通信装置。
The route determination unit
5. The communication apparatus according to claim 1, wherein a hash function value generated using a C-VLANID (Customer Virtual Local Area Network Identifier) is used to match a round-trip transfer path.
前記経路判断部は、
宛先MAC(Media Access Control)アドレス及び送信元MACアドレスを論理演算し、前記論理演算結果を用いて生成したハッシュ関数値を使用し、往復の転送経路を一致させる
ことを特徴とする請求項1から4のいずれかに記載の通信装置。
The route determination unit
2. A logical operation is performed on a destination MAC (Media Access Control) address and a source MAC address, and a hash function value generated using the logical operation result is used to match a round-trip transfer path. 4. The communication device according to any one of 4.
前記経路判断部は、
I−SID(Identifying−Service Instance Identifier)を用いて生成したハッシュ関数値を使用し、往復の転送経路を一致させる
ことを特徴とする請求項1から4のいずれかに記載の通信装置。
The route determination unit
5. The communication apparatus according to claim 1, wherein a hash function value generated using an I-SID (Identifying-Service Instance Identifier) is used to match a round-trip transfer path. 6.
複数のノードのうち予め接続されたノードごとに、外部から送信されたフレームを転送するためのn(nは1以上の整数)個の転送経路に対するフロー割当確率が予め設定された転送テーブルを参照し、前記転送経路を選択するための転送経路算出値を前記フレームのヘッダ情報及び前記フロー割当確率に基づいて一方向性関数で生成し、生成した前記転送経路算出値に応じて前記フレームの転送経路を選択する経路判断手順を
コンピュータに実行させることを特徴とする通信プログラム。
Refers to a forwarding table in which flow allocation probabilities for n (n is an integer of 1 or more) forwarding routes for forwarding a frame transmitted from the outside are connected in advance for each node connected in advance among a plurality of nodes. Then, a transfer path calculation value for selecting the transfer path is generated by a one-way function based on the header information of the frame and the flow allocation probability, and the frame transfer is performed according to the generated transfer path calculation value. A communication program for causing a computer to execute a route determination procedure for selecting a route.
JP2014031193A 2014-02-21 2014-02-21 Communication device and communication program Pending JP2015156589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014031193A JP2015156589A (en) 2014-02-21 2014-02-21 Communication device and communication program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014031193A JP2015156589A (en) 2014-02-21 2014-02-21 Communication device and communication program

Publications (1)

Publication Number Publication Date
JP2015156589A true JP2015156589A (en) 2015-08-27

Family

ID=54775662

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014031193A Pending JP2015156589A (en) 2014-02-21 2014-02-21 Communication device and communication program

Country Status (1)

Country Link
JP (1) JP2015156589A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020522184A (en) * 2017-06-29 2020-07-27 華為技術有限公司Huawei Technologies Co.,Ltd. Method and node for determining transmission path

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020522184A (en) * 2017-06-29 2020-07-27 華為技術有限公司Huawei Technologies Co.,Ltd. Method and node for determining transmission path
US11146480B2 (en) 2017-06-29 2021-10-12 Huawei Technologies Co., Ltd. Apparatus, method of determining transmission path and computer-readable storage medium

Similar Documents

Publication Publication Date Title
JP7417825B2 (en) slice-based routing
EP2911348B1 (en) Control device discovery in networks having separate control and forwarding devices
US9270598B1 (en) Congestion control using congestion prefix information in a named data networking environment
US8885643B2 (en) Method for multicast flow routing selection
WO2017128945A1 (en) Method and device for allocating service traffic
KR102123035B1 (en) Three stage folded clos optimization for 802.1aq
CN102972009B (en) The System and method for Path selection is selected for implementing federated service device
KR101809779B1 (en) Automated traffic engineering for 802.1aq based upon the use of link utilization as feedback into the tie-breaking mechanism
US9654401B2 (en) Systems and methods for multipath load balancing
EP2839614B1 (en) Selecting between equal cost shortest paths in a 802.1aq network using split tiebreakers
US20150032871A1 (en) Automated traffic engineering based upon the use of bandwidth and unequal cost path utilization
JP6589060B2 (en) Software-defined network entry generation and packet forwarding
EP2928130B1 (en) Systems and methods for load balancing multicast traffic
US20140269296A1 (en) Systems and Methods of Bundled Label Switch Path for Load Splitting
CN106936704B (en) Multi-path switching using hop-by-hop VLAN classification
WO2016141846A1 (en) Data message transmission method and edge routing bridge device
US7889745B2 (en) Systems and methods for multi-layer interworking
CN104702510B (en) Message forwarding method and device in a kind of RPR networks
US10382323B1 (en) Flooding-based routing protocol having label switched path session information
JP2015156589A (en) Communication device and communication program
JP2016054342A (en) Communication device, communication method and program
JP2015156590A (en) Communication device and communication program
Nakayama Rate-based path selection for shortest path bridging in access networks
Nakayama Optimization of ECT selection probability in SPBM networks
JP2016042670A (en) Communication device and transfer method