[go: up one dir, main page]

JP2021068973A - Transfer device, transfer system, and transfer program - Google Patents

Transfer device, transfer system, and transfer program Download PDF

Info

Publication number
JP2021068973A
JP2021068973A JP2019192048A JP2019192048A JP2021068973A JP 2021068973 A JP2021068973 A JP 2021068973A JP 2019192048 A JP2019192048 A JP 2019192048A JP 2019192048 A JP2019192048 A JP 2019192048A JP 2021068973 A JP2021068973 A JP 2021068973A
Authority
JP
Japan
Prior art keywords
band
data
transfer device
input
specific
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019192048A
Other languages
Japanese (ja)
Other versions
JP7441024B2 (en
JP2021068973A5 (en
Inventor
圭一郎 山手
Keiichiro Yamate
圭一郎 山手
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.)
Alaxala Networks Corp
Original Assignee
Alaxala Networks 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 Alaxala Networks Corp filed Critical Alaxala Networks Corp
Priority to JP2019192048A priority Critical patent/JP7441024B2/en
Publication of JP2021068973A publication Critical patent/JP2021068973A/en
Publication of JP2021068973A5 publication Critical patent/JP2021068973A5/ja
Application granted granted Critical
Publication of JP7441024B2 publication Critical patent/JP7441024B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

To achieve simple and fair control.SOLUTION: A transfer device that transfers data includes a holding unit that can store the data in the input order and output the data in the input order, a storage unit that stores correspondence information in which first data amount and a band are associated with each other such that the band becomes smaller as the amount of the first data stored in the holding unit increases, and an input determination unit that identifies specific first data amount from the corresponding information according to a recording band recorded in the input target data, and determines whether to input or discard the input target data to the holding unit on the basis of the specific first data amount and the data amount acquired from the holding unit.SELECTED DRAWING: Figure 9

Description

本発明は、データを転送する転送装置、転送システム、および転送プログラムに関する。 The present invention relates to a transfer device, a transfer system, and a transfer program that transfer data.

インターネットが普及したことにより、サーバーやサービスの仮想化技術が進化している。これにより、ユーザーである組織が個別にサーバーを購入および管理するよりも、データセンターからサーバーやサービスをレンタルし、インターネット経由で利用する方が、費用、稼働率などの品質およびサーバー増強などのスケーラビリティーなど多くの面において優位となっている。この結果、データセンターが収容するサーバーの台数も増え続けている。あわせて、データセンターのネットワークではトラフィックも常時増加している。 With the spread of the Internet, virtualization technology for servers and services is evolving. As a result, it is better to rent servers and services from the data center and use them via the Internet than to purchase and manage the servers individually by the user organization. It has an advantage in many aspects such as tees. As a result, the number of servers housed in data centers continues to grow. At the same time, traffic is constantly increasing in the data center network.

データセンター運用者は、トラフィックの増加に対して、将来のトラフィック量を予想し、事前に回線やネットワーク転送装置(以降「スイッチ」と呼ぶ)を増強する。これにより、トラフィックがネットワークの帯域を越えないよう管理される。しかし、データセンターでは、一般的には、全サーバーが最大性能でパケットを送信した場合の帯域が、データセンターネットワークに用意されていない。このため、サーバーが予測を越えたトラフィックを送信した場合、トラフィックが回線の帯域を越えるので、トラフィックの一部が廃棄される。 Data center operators anticipate future traffic volumes in response to increased traffic, and increase lines and network transfer devices (hereinafter referred to as "switches") in advance. This manages traffic so that it does not exceed the bandwidth of the network. However, in a data center, in general, the bandwidth when all servers send packets at maximum performance is not provided in the data center network. Therefore, if the server sends more traffic than expected, the traffic will exceed the bandwidth of the line and part of the traffic will be discarded.

トラフィックがネットワークの帯域を越えた場合の回線帯域の使用方法として、公平制御という方法がある。公平制御を実現する方法としては、たとえばフェアキューを使用する方法がある。この方法は、各スイッチにおいて回線へ送信するトラフィックを個別のフローに分離し、フロー個別にキューを用意して該当フローのパケットを対応するキューに滞留させ、ラウンドロビンで各キューからパケットを引き抜いて送信する。これにより、トラフィックの合計帯域が回線帯域を越える場合には、帯域の大きなフローのトラフィックを廃棄する。したがって、フロー間の公平性が実現される。フェアキューを利用して公平制御を実現する方法の一例は、特許文献1に開示されている。 There is a method called fair control as a method of using the line bandwidth when the traffic exceeds the network bandwidth. As a method of realizing fair control, for example, there is a method of using a fair queue. In this method, the traffic sent to the line at each switch is separated into individual flows, queues are prepared for each flow, packets of the corresponding flow are retained in the corresponding queue, and packets are extracted from each queue by round robin. Send. As a result, when the total bandwidth of the traffic exceeds the line bandwidth, the traffic of the flow with a large bandwidth is discarded. Therefore, fairness between flows is realized. An example of a method of realizing fair control by using a fair queue is disclosed in Patent Document 1.

特許文献1の公平アクセスネットワークシステムは、論理的に多重化されたVLANの数に従って各VLANにそれぞれ対応するキューを作成し、受信したパケットの宛先IPアドレスに基づき、このパケットを送信する場合に所属するVLANのキューにこのパケットのデータを振り分け、次に複数のキューにそれぞれ振り分けられたパケットのデータを各キューから所定の順序で送出する。 The fair access network system of Patent Document 1 belongs to the case where a queue corresponding to each VLAN is created according to the number of logically multiplexed VLANs and this packet is transmitted based on the destination IP address of the received packet. The data of this packet is distributed to the queue of the VLAN to be used, and then the data of the packet distributed to each of the plurality of queues is sent from each queue in a predetermined order.

さらに、非特許文献1に提示されているRandom Early Detection(以降、「ランダム初期検出」と呼ぶ)を使用して公平制御を実現する場合、フェアキュー等によりフロー個別の帯域またはパケットの滞留状態を把握し、帯域が大きなフローを狙ってランダム初期検出によるパケット検出および廃棄をする。これにより、ランダム初期検出を動作させつつフロー間の公平性を向上することができる。 Further, when fair control is realized by using Random Early Detection (hereinafter referred to as "random initial detection") presented in Non-Patent Document 1, the bandwidth of each flow or the retention state of packets is determined by fair queue or the like. Grasp and detect and discard packets by random initial detection aiming at a flow with a large bandwidth. This makes it possible to improve the fairness between flows while operating the random initial detection.

また、トラフィックがネットワークの帯域を越えた場合の回線帯域の使用方法として、非特許文献2に紹介されているTwo Rate Three Markerという方法がある。この方法は、たとえば、送信元であるサーバーごとに保証帯域(Committed Information Rate(CIR))とピーク帯域(Peak Information Rate(PIR))とを設定し、保証帯域以下のトラフィック、保証帯域以上ピーク帯域以下のトラフィック、およびピーク帯域を越えるトラフィックの3種類にトラフィック内のパケットを分別して各パケットのDSフィールドに記録する。 Further, as a method of using the line bandwidth when the traffic exceeds the network bandwidth, there is a method called Two Rate Three Marker introduced in Non-Patent Document 2. In this method, for example, a guaranteed bandwidth (Committed Information Rate (CIR)) and a peak bandwidth (Peek Information Rate (PIR)) are set for each source server, and traffic below the guaranteed bandwidth and peak bandwidth above the guaranteed bandwidth. The packets in the traffic are classified into the following three types of traffic and the traffic exceeding the peak band, and recorded in the DS field of each packet.

そして、この方法は、データセンターネットワークの入り口であるエッジスイッチでサーバー個別に保証帯域とピーク帯域を設定してTwo Rate Three Markerにしたがってパケットに3種類の種別を記録する。これにより、ネットワーク内の輻輳ポイントにおいてこの3種類を区別して保証帯域以下のパケットを最優先、保証帯域以上ピーク帯域以下のパケットを次善優先として扱う。したがって、トラフィック間の公平性が実現される。 Then, in this method, the guaranteed band and the peak band are set for each server at the edge switch which is the entrance of the data center network, and three types are recorded in the packet according to the Two Rate Three Marker. As a result, at the congestion point in the network, these three types are distinguished and the packet below the guaranteed band is treated as the highest priority, and the packet above the guaranteed band and below the peak band is treated as the second highest priority. Therefore, fairness between traffic is realized.

特開2004−104708号公報Japanese Unexamined Patent Publication No. 2004-104708

Floyd, S., and Jacobson, V “Random Early Detection gateways for Congestion Avoidance”,IEEE/ACM Transactions on Networking, V.1 N.4, August 1993,Floyd, S.M. , And Jacobson, V "Random Early Detection gateways for Congestion Availability", IEEE / ACM Transportations on Networking, V.I. 1 N. 4, August 1993, “A Two Rate Three Color Marker”, RFC 2698, September 1999."A Two Rate Three Color Marker", RFC 2698, September 1999.

しかしながら、フェアキューを使うためには、少なくともフローと同じ数のキューが必要であり、各キューに少なくとも1パケット分のパケットバッファーが必要である。データセンターが収容するサーバーの台数が増えるとフローの数も増加するので、スイッチに大量のキューとバッファー用メモリが必要となる。したがって、データセンター向けに公平制御を実現したスイッチは高価となる。さらに、スイッチのキューの数に上限がある場合、収容サーバーの増加に伴うフローの増加により、スイッチの公平制御機能が使用できなくなる可能性がある。 However, in order to use fair queues, at least as many queues as flows are required, and each queue requires at least one packet buffer. As the number of servers in the data center increases, so does the number of flows, which requires a large amount of queue and buffer memory on the switch. Therefore, a switch that realizes fair control for a data center is expensive. Furthermore, if there is an upper limit on the number of queues on the switch, the fairness control function of the switch may become unavailable due to the increase in flow accompanying the increase in the number of accommodated servers.

図20は、データセンターのネットワーク構成例を示す説明図である。ここで、図20を用いて、フェアキューを使用した場合のコアスイッチに必要なキューの数を説明する。図20に示すデータセンターには、図20から省略されている装置を含めて1000台のサーバーS1〜S1000がある。サーバーS1〜S1000を区別しない場合は、単に、サーバーSと表記する。 FIG. 20 is an explanatory diagram showing an example of a network configuration of a data center. Here, with reference to FIG. 20, the number of queues required for the core switch when the fair queue is used will be described. In the data center shown in FIG. 20, there are 1000 servers S1 to S1000 including the device omitted from FIG. 20. When the servers S1 to S1000 are not distinguished, it is simply referred to as the server S.

これらサーバーS1〜S1000をネットワークに接続するために、図20から省略されている装置を含めて100台のエッジスイッチE1〜E100がある。エッジスイッチE1〜E100を区別しない場合は、単に、エッジスイッチEと表記する。S1からS10までの10台のサーバーは、エッジスイッチE1に接続している。同様に図20から省略されている装置および回線を含めてS11〜S1000までの990台のサーバーも、それぞれ10台ずつ、対応するE2〜E100までの99台のエッジスイッチに接続している。 In order to connect these servers S1 to S1000 to the network, there are 100 edge switches E1 to E100 including the device omitted from FIG. 20. When the edge switches E1 to E100 are not distinguished, they are simply referred to as edge switches E. The 10 servers from S1 to S10 are connected to the edge switch E1. Similarly, 990 servers from S11 to S1000, including the devices and lines omitted from FIG. 20, are also connected to 99 edge switches from E2 to E100, 10 each.

これら100台のエッジスイッチE1〜E100を接続するために、図20から省略されている装置を含めて10台のコアスイッチC11〜C20がある。E1からE10までの10台のエッジスイッチはコアスイッチC11に接続している。同様に図20から省略されている装置および回線を含めてE2〜E100までの99台のエッジスイッチも、それぞれ10台ずつ、対応するC12〜C20までの9台のコアスイッチに接続している。 In order to connect these 100 edge switches E1 to E100, there are 10 core switches C11 to C20 including the device omitted from FIG. 20. The 10 edge switches E1 to E10 are connected to the core switch C11. Similarly, 99 edge switches E2 to E100 including the devices and lines omitted from FIG. 20 are also connected to the corresponding 9 core switches C12 to C20, 10 each.

さらにこれら10台のコアスイッチC11〜C20を接続するために、1台のコアスイッチC1がある。10台のコアスイッチC11〜C20はコアスイッチC1と接続している。コアスイッチC1〜C20を区別しない場合は、単に、コアスイッチCと表記する。 Further, in order to connect these 10 core switches C11 to C20, there is one core switch C1. The 10 core switches C11 to C20 are connected to the core switch C1. When the core switches C1 to C20 are not distinguished, they are simply referred to as core switches C.

図20のサーバーSとエッジスイッチEとの間、エッジスイッチEとコアスイッチCとの間、コアスイッチC同士の間を接続する回線の帯域は、すべて10[Gbit/s]であると仮定する。 It is assumed that the bandwidths of the lines connecting the server S and the edge switch E in FIG. 20, between the edge switch E and the core switch C, and between the core switches C are all 10 [Gbit / s]. ..

ここで、S1からS100までの100台のサーバーがそれぞれ、S901からS1000の100台のサーバーのどれかへ、100[Mbit/s]でトラフィックを送信していると仮定する(合計10[Gbit/s]のトラフィック)。また、S101からS900までの800台のサーバーも、S901からS1000の100台のサーバーのどれかへ、10[Mbit/s]でトラフィックを送信していると仮定する(合計8[Gbit/s]のトラフィック)。 Here, it is assumed that 100 servers from S1 to S100 are transmitting traffic to any of the 100 servers from S901 to S1000 at 100 [Mbit / s] (total 10 [Gbit / s]). s] traffic). It is also assumed that 800 servers from S101 to S900 are also transmitting traffic at 10 [Mbit / s] to any of the 100 servers from S901 to S1000 (total 8 [Gbit / s]]. Traffic).

この仮定したトラフィックはすべて、コアスイッチC1からコアスイッチC20への回線2000を通過する。この回線2000は10[Gbit/s]であるが、サーバーS1〜S900までのトラフィックの合計は18[Gbit/s]なので、8[Gbit/s]超過している。送信元サーバーS1〜S900別に公平制御を目標とする場合、サーバーS1〜S100が送信する100[Mbit/s]のトラフィックをそれぞれ80[Mbit/s]廃棄して各々20[Mbit/s]とし、合計10[Gbit/s]とするのが適切である。 All of this assumed traffic passes through line 2000 from core switch C1 to core switch C20. This line 2000 has 10 [Gbit / s], but since the total traffic from the servers S1 to S900 is 18 [Gbit / s], it exceeds 8 [Gbit / s]. When fair control is targeted for each of the source servers S1 to S900, the 100 [Mbit / s] traffic transmitted by the servers S1 to S100 is discarded by 80 [Mbit / s] to 20 [Mbit / s] each. A total of 10 [Gbit / s] is appropriate.

フェアキューを使用した場合、コアスイッチC1のコアスイッチC20への回線が接続しているインターフェースにおいて、通過するトラフィックの900台のサーバーS1〜S900それぞれ個別のキューの各々から、フェアキューにしたがって、パケットがある限りラウンドロビンでパケットを引き抜いて送信される。たとえば、900台のサーバーS1〜S900に対応する900本のキューから10[Mbit/s]のトラフィックが送信される(合計9[Gbit/s]のトラフィック)。残った1[Gbit/s]の帯域に対して10[Mbit/s]では送信しきれないS1からS100までのサーバーに対応する100本のキューから、追加で[10Mbit/s]のトラフィックが送信される(合計1[Gbit/s]のトラフィック)。これにより、公平制御される。 When a fair queue is used, at the interface to which the line of the core switch C1 to the core switch C20 is connected, packets of passing traffic are packetized from each of the individual queues of the 900 servers S1 to S900 according to the fair queue. As long as there is, the packet is pulled out by round robin and transmitted. For example, 10 [Mbit / s] traffic is transmitted from 900 queues corresponding to 900 servers S1 to S900 (total 9 [Gbit / s] traffic). Additional [10 Mbit / s] traffic is transmitted from 100 queues corresponding to the servers S1 to S100 that cannot be transmitted with 10 [Mbit / s] for the remaining 1 [Gbit / s] bandwidth. (Total 1 [Gbit / s] of traffic). As a result, fair control is performed.

しかし、フェアキューを実現するために、コアスイッチC1に900本のキューが必要である。この数はデータセンターにあるサーバーの数とほぼ同等である。このため、データセンターに収容するサーバーの台数が増加すると必要なキューの数も増える。この結果、コアスイッチCのキュー数でデータセンターの規模が制限されてしまう。 However, in order to realize a fair cue, 900 cues are required for the core switch C1. This number is about the same as the number of servers in the data center. Therefore, as the number of servers accommodated in the data center increases, so does the number of queues required. As a result, the scale of the data center is limited by the number of queues of the core switch C.

また、非特許文献2のTwo Rate Three Markerを使用する場合、エッジスイッチE1〜E100の各々が接続している10台のサーバーが送信したトラフィックをエッジスイッチE1〜E100の各々が識別し、各サーバーについてピーク帯域として20[Mbit/s]を設定してTwo Rate Three Markerを動作させてDSフィールドに記録する。 Further, when the Two Rate Three Marker of Non-Patent Document 2 is used, each of the edge switches E1 to E100 identifies the traffic transmitted by the 10 servers connected to each of the edge switches E1 to E100, and each server identifies the traffic transmitted by each of the edge switches E1 to E100. 20 [Mbit / s] is set as the peak band, and the Two Rate Three Marker is operated to record in the DS field.

コアスイッチC1のコアスイッチC20への回線が接続しているインターフェースにおいてDSフィールドの値に応じてパケット送信キューを変更すると、サーバーS1〜S100が送信したトラフィックのうち20[Mbit/s]分のパケット(合計2[Gbit/s]のトラフィック)とサーバーS101〜S900が送信したトラフィックの10[Mbit/s]分のパケット(合計9[Gbit/s]のトラフィック)とが送信される。これにより、公平制御される。 When the packet transmission queue is changed according to the value of the DS field in the interface to which the line to the core switch C20 of the core switch C1 is connected, 20 [Mbit / s] packets of the traffic transmitted by the servers S1 to S100 are packet. (Total 2 [Gbit / s] traffic) and packets for 10 [Mbit / s] of the traffic transmitted by the servers S101 to S900 (total 9 [Gbit / s] traffic) are transmitted. As a result, fair control is performed.

しかし、適切な公平制御のための送信元サーバーSあたりのトラフィックの帯域上限は、状況により変化する。上記例の場合は、ピーク帯域を20[Mbit/s]に制限すると公平であったが、サーバーS101〜S900が11[Mbit/s]で送信している場合(合計9.9[Gbit/s]のトラフィック)は、サーバーS1〜S100を12[Mbit/s](合計1.2[Gbit/s]のトラフィック)に制限すると公平になる。 However, the bandwidth limit of traffic per source server S for proper fair control varies depending on the situation. In the case of the above example, it was fair to limit the peak band to 20 [Mbit / s], but when the servers S101 to S900 are transmitting at 11 [Mbit / s] (total 9.9 [Gbit / s]). ] Traffic) becomes fair when the servers S1 to S100 are limited to 12 [Mbit / s] (total 1.2 [Gbit / s] traffic).

公平になるためのピーク帯域はトラフィックの状況によって異なる。したがって、状況に合わせた適切な帯域を求め、エッジスイッチEのTwo Rate Three Markerの設定に反映する必要がある。しかし、コアスイッチCにおいて公平制御のための適切な帯域を求めるためにはフロー個別の帯域を調べる必要があり、結局データセンターのサーバー台数に比例した資源が必要となる。さらに、適切な帯域を求めてエッジスイッチEへ反映している間にもトラフィックの帯域が変化し、反映が間に合わず適切な動作とならない可能性もある。 The peak bandwidth for fairness depends on traffic conditions. Therefore, it is necessary to obtain an appropriate band according to the situation and reflect it in the setting of Two Rate Three Marker of the edge switch E. However, in order to obtain an appropriate bandwidth for fair control in the core switch C, it is necessary to check the bandwidth of each flow, and in the end, resources proportional to the number of servers in the data center are required. Further, the traffic bandwidth may change while the appropriate bandwidth is sought and reflected on the edge switch E, and the reflection may not be in time and the operation may not be appropriate.

このため、データセンターネットワークで公平性を実現するためには、フェアキューのようにサーバー台数に比例したリソースを各スイッチに要求することなく、かつTwo Rate Three Markerのようにサーバー別トラフィックの帯域に応じたピーク帯域計算も必要としない簡便な公平制御の実現方法が必要である。 Therefore, in order to achieve fairness in the data center network, resources proportional to the number of servers are not required for each switch as in the fair queue, and the traffic bandwidth for each server is used as in the Two Rate Three Marker. There is a need for a simple method for realizing fair control that does not require corresponding peak band calculation.

本発明は、簡便な公平制御を実現することを目的とする。 An object of the present invention is to realize simple fair control.

本願において開示される発明の一側面となる転送装置は、データを転送する転送装置であって、前記データを入力順に蓄積し前記入力順に出力可能な保持部と、前記保持部に蓄積された第1データ量が多いほど帯域が小さくなるように前記第1データ量と前記帯域とを対応付けた対応情報を記憶する記憶部と、前記保持部への入力対象データに記録されている記録帯域に応じて特定の第1データ量を前記対応情報から特定し、前記特定の第1データ量と、前記保持部からの取得データ量と、に基づいて、前記入力対象データを前記保持部に入力するか廃棄するかを判定する入力判定部と、を有することを特徴とする。 The transfer device, which is one aspect of the invention disclosed in the present application, is a transfer device that transfers data, and is a holding unit that can store the data in the input order and output the data in the input order, and a first holding unit stored in the holding unit. In the storage unit that stores the correspondence information in which the first data amount and the band are associated with each other so that the band becomes smaller as the amount of data increases, and the recording band recorded in the data to be input to the holding unit. Correspondingly, a specific first data amount is specified from the corresponding information, and the input target data is input to the holding unit based on the specific first data amount and the amount of data acquired from the holding unit. It is characterized by having an input determination unit for determining whether to discard or discard.

本願において開示される発明の他の側面となる転送装置は、データを転送する転送装置であって、帯域別に設けられ、該当する帯域のデータを入力順に蓄積し前記入力順に出力可能な複数の保持部と、入力対象データに記録されている記録帯域に基づいて、前記複数の保持部のうち前記入力対象データをいずれの保持部に入力すべきかを判定する入力判定部と、を有することを特徴とする。 The transfer device according to another aspect of the invention disclosed in the present application is a transfer device for transferring data, which is provided for each band and holds a plurality of holdings capable of accumulating data in the corresponding band in the input order and outputting the data in the input order. It is characterized by having a unit and an input determination unit that determines to which of the plurality of holding units the input target data should be input based on the recording band recorded in the input target data. And.

本願において開示される発明の別の側面となる転送装置は、データを転送する転送装置であって、複数の通信装置の各々と通信可能に接続される複数の通信部と、フローを特定するフロー特定情報と前記フローごとに異なる帯域計測番号とを対応付けた対応情報と、前記帯域計測番号ごとに帯域が加算される帯域情報と、を記憶する記憶部と、前記対応情報を参照して、前記複数の通信部のいずれかからの判定対象データに含まれているフロー特定情報に基づいて、前記判定対象データの帯域計測番号を特定し、前記帯域情報において前記判定対象データの帯域計測番号に対応する帯域に、前記判定対象データのサイズを加算し、前記サイズが加算された加算後の帯域を前記判定対象データに記録するフロー判定部と、前記フロー判定部によってフローが判定された前記判定対象データの宛先アドレスに基づいて、前記宛先アドレスで特定される特定の通信装置に接続される特定の通信部を決定する転送先決定部と、を有することを特徴とする。 A transfer device that is another aspect of the invention disclosed in the present application is a transfer device that transfers data, and is a flow that specifies a flow and a plurality of communication units that are communicably connected to each of the plurality of communication devices. With reference to the storage unit that stores the correspondence information in which the specific information is associated with the band measurement number different for each flow and the band information in which the band is added for each band measurement number, and the correspondence information. The band measurement number of the determination target data is specified based on the flow identification information included in the determination target data from any of the plurality of communication units, and the band measurement number of the determination target data is used in the band information. A flow determination unit that adds the size of the determination target data to the corresponding band and records the added band to which the size is added in the determination target data, and the determination that the flow is determined by the flow determination unit. It is characterized by having a transfer destination determination unit that determines a specific communication unit connected to the specific communication device specified by the destination address based on the destination address of the target data.

本願において開示される発明の一側面となる転送システムは、第1転送装置と、前記第1転送装置と通信可能に接続される第2転送装置と、を有する転送システムであって、前記第1転送装置は、複数の通信装置の各々と通信可能に接続される複数の通信部と、フローを特定するフロー特定情報と前記フローごとに異なる帯域計測番号とを対応付けた対応情報と、前記帯域計測番号ごとに帯域が加算される帯域情報と、を記憶する記憶部と、前記対応情報を参照して、前記複数の通信部のいずれかからの判定対象データに含まれているフロー特定情報に基づいて、前記判定対象データの帯域計測番号を特定し、前記帯域情報において前記判定対象データの帯域計測番号に対応する帯域に、前記判定対象データのサイズを加算し、前記サイズが加算された加算後の帯域を前記判定対象データに記録するフロー判定部と、前記フロー判定部によってフローが判定された前記判定対象データの宛先アドレスに基づいて、前記複数の通信装置のうち前記宛先アドレスで特定される前記第2転送装置に接続される特定の通信部を決定する転送先決定部と、を有し、前記第2転送装置は、前記第1転送装置からのデータを入力順に蓄積し前記入力順に出力可能な保持部と、前記保持部に蓄積された第1データ量が多いほど帯域が小さくなるように前記データ量と前記帯域とを対応付けた対応情報を記憶する記憶部と、前記第1転送装置からの前記保持部への入力対象データに記録されている記録帯域に応じて特定のデータ量を前記対応情報から特定し、前記特定のデータ量と、前記保持部からの取得データ量と、に基づいて、前記入力対象データを前記保持部に入力するか廃棄するかを判定する入力判定部と、を有することを特徴とする。 The transfer system, which is one aspect of the invention disclosed in the present application, is a transfer system including a first transfer device and a second transfer device communicably connected to the first transfer device. The transfer device includes a plurality of communication units that are communicably connected to each of the plurality of communication devices, correspondence information that associates flow specific information that specifies a flow with a band measurement number that is different for each flow, and the band. With reference to the storage unit that stores the band information in which the band is added for each measurement number and the corresponding information, the flow specific information included in the determination target data from any of the plurality of communication units Based on this, the band measurement number of the determination target data is specified, the size of the determination target data is added to the band corresponding to the band measurement number of the determination target data in the band information, and the size is added. Based on the flow determination unit that records the later band in the determination target data and the destination address of the determination target data whose flow is determined by the flow determination unit, the destination address is specified among the plurality of communication devices. The second transfer device has a transfer destination determination unit that determines a specific communication unit connected to the second transfer device, and the second transfer device accumulates data from the first transfer device in the order of input and in the order of input. A holding unit that can be output, a storage unit that stores correspondence information in which the amount of data and the band are associated with each other so that the band becomes smaller as the amount of first data stored in the holding unit increases, and the first unit. A specific amount of data is specified from the corresponding information according to the recording band recorded in the data to be input from the transfer device to the holding unit, and the specific amount of data and the amount of data acquired from the holding unit are obtained. Based on the above, the data is characterized by having an input determination unit for determining whether to input the input target data to the holding unit or discard the data.

本願において開示される発明の一側面となる転送プログラムは、複数の通信装置の各々と通信可能に接続される複数の通信部によるデータ転送をプロセッサに実行させる転送プログラムであって、前記プロセッサは、フローを特定するフロー特定情報と前記フローごとに異なる帯域計測番号とを対応付けた対応情報と、前記帯域計測番号ごとに帯域が加算される帯域情報と、を記憶する記憶部にアクセス可能であり、前記プロセッサに、前記対応情報を参照して、前記複数の通信部のいずれかからの判定対象データに含まれているフロー特定情報に基づいて、前記判定対象データの帯域計測番号を特定し、前記帯域情報において前記判定対象データの帯域計測番号に対応する帯域に、前記判定対象データのサイズを加算し、前記サイズが加算された加算後の帯域を前記判定対象データに記録するフロー判定処理と、前記フロー判定処理によってフローが判定された前記判定対象データの宛先アドレスに基づいて、前記宛先アドレスで特定される特定の通信装置に接続される特定の通信部を決定する転送先決定処理と、を実行させることを特徴とする。 The transfer program, which is one aspect of the invention disclosed in the present application, is a transfer program that causes a processor to execute data transfer by a plurality of communication units communicably connected to each of a plurality of communication devices. It is possible to access a storage unit that stores the corresponding information in which the flow specific information for specifying the flow and the band measurement number different for each flow are associated with each other, and the band information in which the band is added for each band measurement number. With reference to the corresponding information, the processor identifies the band measurement number of the determination target data based on the flow identification information included in the determination target data from any of the plurality of communication units. A flow determination process in which the size of the determination target data is added to the band corresponding to the band measurement number of the determination target data in the band information, and the added band to which the size is added is recorded in the determination target data. , A transfer destination determination process for determining a specific communication unit connected to a specific communication device specified by the destination address based on the destination address of the determination target data whose flow is determined by the flow determination process. Is characterized by executing.

本発明の代表的な実施の形態によれば、簡便な公平制御を実現することができる。 According to a typical embodiment of the present invention, simple fair control can be realized.

図1は、実施例1にかかるエッジスイッチEの構成例を示すブロック図である。FIG. 1 is a block diagram showing a configuration example of the edge switch E according to the first embodiment. 図2は、図1に示したフロー判定部の構成例を示すブロック図である。FIG. 2 is a block diagram showing a configuration example of the flow determination unit shown in FIG. 図3は、実施例1にかかるパケットフォーマットの一例を示す説明図である。FIG. 3 is an explanatory diagram showing an example of the packet format according to the first embodiment. 図4は、帯域の値をその2を底とする対数に変換した場合の例を示す表である。FIG. 4 is a table showing an example when the band value is converted into a logarithm having the base of 2. 図5は、エッジスイッチのサーバーSおよびコアスイッチとの回線接続図である。FIG. 5 is a line connection diagram between the server S of the edge switch and the core switch. 図6は、エッジスイッチにおけるフロー表の設定例を示す説明図である。FIG. 6 is an explanatory diagram showing an example of setting a flow table in the edge switch. 図7は、パケットに記録される帯域例1を示す表である。FIG. 7 is a table showing a band example 1 recorded in a packet. 図8は、実施例1にかかるコアスイッチの構成例を示すブロック図である。FIG. 8 is a block diagram showing a configuration example of the core switch according to the first embodiment. 図9は、図8に示したコアスイッチの送信部の構成例を示すブロック図である。FIG. 9 is a block diagram showing a configuration example of a transmission unit of the core switch shown in FIG. 図10は、パケットの記録帯域ごとにおける送信パケット数、送信情報量、全サーバー合計帯域、および廃棄キュー長の集計例1を示す説明図である。FIG. 10 is an explanatory diagram showing an aggregation example 1 of the number of transmitted packets, the amount of transmitted information, the total bandwidth of all servers, and the discard queue length for each packet recording band. 図11は、フロー表の変形例1を示す説明図である。FIG. 11 is an explanatory diagram showing a modification 1 of the flow table. 図12は、フロー表の変形例2を示す説明図である。FIG. 12 is an explanatory diagram showing a modification 2 of the flow table. 図13は、パケットに記録される帯域例2を示す表である。FIG. 13 is a table showing a band example 2 recorded in a packet. 図14は、パケットの記録帯域ごとにおける送信パケット数、送信情報量、全サーバー合計帯域、および廃棄キュー長の集計例2を示す説明図である。FIG. 14 is an explanatory diagram showing an aggregation example 2 of the number of transmitted packets, the amount of transmitted information, the total bandwidth of all servers, and the discard queue length for each packet recording band. 図15は、フロー表の変形例を示す説明図である。FIG. 15 is an explanatory diagram showing a modified example of the flow table. 図16は、実施例2にかかるコアスイッチの送信部の構成例を示すブロック図である。FIG. 16 is a block diagram showing a configuration example of a transmission unit of the core switch according to the second embodiment. 図17は、パケットの記録帯域ごとにおける送信パケット数、送信情報量、全サーバー合計帯域、および送信キュー番号の集計例を示す説明図である。FIG. 17 is an explanatory diagram showing an aggregation example of the number of transmitted packets, the amount of transmitted information, the total bandwidth of all servers, and the transmission queue number for each packet recording band. 図18は、実施例3にかかるコアスイッチCの送信部の構成例を示すブロック図である。FIG. 18 is a block diagram showing a configuration example of a transmission unit of the core switch C according to the third embodiment. 図19は、ケース3またはケース4において、送信部が回線へ送信すべきパケットの記録帯域別の1[ms]当たりパケット数、1[ms]あたり送信情報量、帯域、および廃棄確定キュー長とランダム廃棄キュー長を示す表である。FIG. 19 shows, in Case 3 or Case 4, the number of packets per 1 [ms] for each recording band of packets to be transmitted to the line by the transmitting unit, the amount of transmitted information per 1 [ms], the band, and the discard confirmation queue length. It is a table which shows the random discard queue length. 図20は、データセンターのネットワーク構成例を示す説明図である。FIG. 20 is an explanatory diagram showing an example of a network configuration of a data center.

以下に示す各実施例は、データを転送する転送装置、転送システム、および転送プログラムに関し、たとえば、データセンターネットワークのように、端末を多数収容して通信を支えるプライベートネットワークおよびVPNネットワークに適用可能である。 Each of the following embodiments relates to a transfer device, transfer system, and transfer program that transfers data, and is applicable to private networks and VPN networks that accommodate a large number of terminals and support communication, such as a data center network. is there.

実施例1は、コアスイッチCのインターフェースにある送信キューの長さを利用して公平制御を実現する例である。以下、図1から図16、および図20を用いて実施例1を説明する。 The first embodiment is an example in which fair control is realized by utilizing the length of the transmission queue in the interface of the core switch C. Hereinafter, the first embodiment will be described with reference to FIGS. 1 to 16 and 20.

<エッジスイッチEの構成例>
図1は、実施例1にかかるエッジスイッチEの構成例を示すブロック図である。エッジスイッチEは、制御部101と、パケット処理部102と、データバス103と、複数のインターフェース部104と、を有する転送装置である。パケット処理部102は、パケットバッファー110と、フロー判定部111と、転送先決定部112と、を有する。各インターフェース部104は、受信部113と送信部114とを有する。
<Configuration example of edge switch E>
FIG. 1 is a block diagram showing a configuration example of the edge switch E according to the first embodiment. The edge switch E is a transfer device having a control unit 101, a packet processing unit 102, a data bus 103, and a plurality of interface units 104. The packet processing unit 102 includes a packet buffer 110, a flow determination unit 111, and a transfer destination determination unit 112. Each interface unit 104 has a receiving unit 113 and a transmitting unit 114.

サーバーSが送信したパケットは、サーバーSと接続しているエッジスイッチEのインターフェース部104の受信部113によって受信される。受信されたパケットは、データバス103を経由してパケット処理部102にあるパケットバッファー110に蓄積される。 The packet transmitted by the server S is received by the receiving unit 113 of the interface unit 104 of the edge switch E connected to the server S. The received packet is stored in the packet buffer 110 in the packet processing unit 102 via the data bus 103.

フロー判定部111は、パケットバッファー110に蓄積されたパケットの各々についてフロー判定処理を実行し、判定結果に応じて必要がある場合に当該パケットを書き換える。フロー判定部111の詳細は、図2で後述する。 The flow determination unit 111 executes a flow determination process for each of the packets stored in the packet buffer 110, and rewrites the packet when necessary according to the determination result. Details of the flow determination unit 111 will be described later in FIG.

転送先決定部112は、パケットの宛先アドレスに基づいて、当該パケットを送信すべき送信インターフェースを決定する。最後に、転送先決定部112によって送信インターフェースに決定されたインターフェース部104の送信部114が、パケットバッファー110からパケットを読み取り、パケットを送信する。これにより、パケットが転送される。 The forwarding destination determination unit 112 determines the transmission interface to which the packet should be transmitted based on the destination address of the packet. Finally, the transmission unit 114 of the interface unit 104 determined as the transmission interface by the transfer destination determination unit 112 reads the packet from the packet buffer 110 and transmits the packet. As a result, the packet is forwarded.

なお、フロー判定部111および転送先決定部112は、メモリに記憶されたプログラムをプロセッサにより実行させることにより実現される機能としてもよく、LSIによって実行されてもよい。 The flow determination unit 111 and the transfer destination determination unit 112 may be functions realized by executing the program stored in the memory by the processor, or may be executed by the LSI.

<フロー判定部111の構成例>
図2は、図1に示したフロー判定部111の構成例を示すブロック図である。フロー判定部111は、フロー判定処理部201と、フロー表202と、帯域表203と、帯域リセット部204と、を有する。フロー表202および帯域表203は、図示しないメモリに記憶されている。
<Structure example of flow determination unit 111>
FIG. 2 is a block diagram showing a configuration example of the flow determination unit 111 shown in FIG. The flow determination unit 111 includes a flow determination processing unit 201, a flow table 202, a band table 203, and a band reset unit 204. The flow table 202 and the band table 203 are stored in a memory (not shown).

フロー判定処理部201は、フロー判定処理をパケットごとに実行する。フロー表202は、フローを判定するためのテーブルであり、フィールドとして、受信インターフェース221、送信元アドレス222、帯域計測番号223および帯域記録係数224を保持する。受信インターフェース221には、値として、パケットが受信されたインターフェース部104の識別情報が記録される。送信元アドレス222には、値として、受信されたパケットの送信元アドレスが記録される。受信インターフェース221および送信元アドレス222がフローを特定するフロー特定情報である。 The flow determination processing unit 201 executes the flow determination process for each packet. The flow table 202 is a table for determining the flow, and holds the reception interface 221, the source address 222, the band measurement number 223, and the band recording coefficient 224 as fields. In the receiving interface 221, the identification information of the interface unit 104 in which the packet is received is recorded as a value. At the source address 222, the source address of the received packet is recorded as a value. The receiving interface 221 and the source address 222 are flow-specific information that specifies the flow.

帯域計測番号223には、値として、フローごとに異なる番号が記録される。帯域記録係数224には、値として、あらかじめ設定された値が記録される。たとえば、帯域記録係数224の列には、全フローについて「1」が設定される。帯域記録係数224は通信コストに関する値であり、帯域を重み付けする。帯域記録係数224の値が小さいほどそのパケットが送信されやすくなり通信コストが上昇する。 In the band measurement number 223, a different number is recorded for each flow as a value. A preset value is recorded as a value in the band recording coefficient 224. For example, in the column of band recording coefficient 224, "1" is set for all flows. The band recording coefficient 224 is a value related to the communication cost and weights the band. The smaller the value of the band recording coefficient 224, the easier it is for the packet to be transmitted, and the higher the communication cost.

帯域表203は、帯域計測番号223毎に計測された帯域230を記録する。帯域リセット部204は、帯域表203に記録された帯域230をリセットする。フロー判定処理部201の動作について詳細に説明する。 The band table 203 records the band 230 measured for each band measurement number 223. The band reset unit 204 resets the band 230 recorded in the band table 203. The operation of the flow determination processing unit 201 will be described in detail.

フロー判定処理部201は、パケットバッファー110から判定対象パケットの受信インターフェースと送信元アドレスとパケットサイズを読み出す。 The flow determination processing unit 201 reads the reception interface, source address, and packet size of the determination target packet from the packet buffer 110.

フロー判定処理部201は、パケットバッファー110から読み出した受信インターフェースおよび送信元アドレスと一致する受信インターフェース221および送信元アドレス222の行をフロー表202から検索し、該当行の帯域計測番号223と帯域記録係数224を読み出す。該当行がない場合には、フロー判定処理部201は、これ以上何もしない。 The flow determination processing unit 201 searches the flow table 202 for rows of the receiving interface 221 and the source address 222 that match the receiving interface and the source address read from the packet buffer 110, and records the bandwidth measurement number 223 and the bandwidth of the corresponding row. Read the coefficient 224. If there is no corresponding line, the flow determination processing unit 201 does nothing further.

フロー判定処理部201は、帯域表203から該当した帯域計測番号223の行を読み出し、その行の帯域230に、パケットバッファー110から読み出したパケットサイズを加算する。そして、フロー判定処理部201は、加算後の帯域230を取り出し、帯域表203から読み出した行の帯域記録係数224を乗算して、判定対象パケットの帯域フィールドに記録する。フロー判定処理とは別に、帯域リセット部204が、1[ms]周期で帯域表203の全行にアクセスし、アクセスした行の帯域230を0にリセットする。 The flow determination processing unit 201 reads the line of the corresponding band measurement number 223 from the band table 203, and adds the packet size read from the packet buffer 110 to the band 230 of that line. Then, the flow determination processing unit 201 takes out the added band 230, multiplies it by the band recording coefficient 224 of the line read from the band table 203, and records it in the band field of the determination target packet. Apart from the flow determination process, the band reset unit 204 accesses all the rows of the band table 203 in a cycle of 1 [ms], and resets the band 230 of the accessed rows to 0.

<パケットフォーマット>
図3は、実施例1にかかるパケットフォーマットの一例を示す説明図である。パケット300は、IPヘッダ301と、データを格納するペイロード302と、を有する。IPヘッダ301は、パケット300の転送に必要な情報を格納する複数のフィールドを有する。これらのフィールドのうち前述の帯域フィールドとしてはサービス種別303のフィールドを使用することができる。ただし、サービス種別303のうち帯域の格納に利用できる部分は6ビットなので、0から63までの64個の数値しか表現できない。そのため、たとえば、帯域の値の2を底とする対数をとって、その値を格納するという方法が一例である。
<Packet format>
FIG. 3 is an explanatory diagram showing an example of the packet format according to the first embodiment. The packet 300 has an IP header 301 and a payload 302 for storing data. The IP header 301 has a plurality of fields for storing information necessary for forwarding the packet 300. Of these fields, the field of service type 303 can be used as the band field described above. However, since the portion of the service type 303 that can be used to store the bandwidth is 6 bits, only 64 numerical values from 0 to 63 can be expressed. Therefore, for example, a method of taking a logarithm with the base of the band value 2 and storing the value is an example.

図4は、帯域の値をその2を底とする対数に変換した場合の例を示す表である。この方法によれば、丸め誤差が入るものの、2の64乗のまでの値をIPヘッダ301の標準フィールドに格納することができる。他の格納方法としては、IPヘッダ301の長さが標準より長くなることが大きな問題とならないのであれば、独自の格納方法を定義して、図3の拡張情報304に格納することもできる。 FIG. 4 is a table showing an example when the band value is converted into a logarithm having the base of 2. According to this method, values up to 2 to the 64th power can be stored in the standard field of the IP header 301, although there is a rounding error. As another storage method, if it is not a big problem that the length of the IP header 301 is longer than the standard, a unique storage method can be defined and stored in the extended information 304 of FIG.

<エッジスイッチEのサーバーSおよびコアスイッチCとの回線接続>
図5は、エッジスイッチEのサーバーSおよびコアスイッチCとの回線接続図である。図5では、エッジスイッチEとしてエッジスイッチE1、サーバーSとしてサーバーS1〜S10、コアスイッチCとしてコアスイッチC1を例に挙げて説明する。
<Line connection with server S and core switch C of edge switch E>
FIG. 5 is a line connection diagram of the edge switch E with the server S and the core switch C. In FIG. 5, the edge switch E1 as the edge switch E, the servers S1 to S10 as the server S, and the core switch C1 as the core switch C will be described as an example.

エッジスイッチE1は、インターフェース部104として、11個のインターフェース部501〜511を有する。インターフェース部501はサーバーS1と回線接続される。同様に、インターフェース部502はサーバーS2と、インターフェース部503はサーバーS3と、インターフェース部504はサーバーS4と、インターフェース部505はサーバーS5と、インターフェース部506はサーバーS6と、インターフェース部507はサーバーS7と、インターフェース部508はサーバーS8と、インターフェース部509はサーバーS9と、インターフェース部510はサーバーS10と、インターフェース部511はコアスイッチC11と接続される。 The edge switch E1 has 11 interface units 501 to 511 as the interface unit 104. The interface unit 501 is line-connected to the server S1. Similarly, the interface unit 502 is the server S2, the interface unit 503 is the server S3, the interface unit 504 is the server S4, the interface unit 505 is the server S5, the interface unit 506 is the server S6, and the interface unit 507 is the server S7. The interface unit 508 is connected to the server S8, the interface unit 509 is connected to the server S9, the interface unit 510 is connected to the server S10, and the interface unit 511 is connected to the core switch C11.

<フロー表202の設定例>
図6は、エッジスイッチE1におけるフロー表202の設定例を示す説明図である。エッジスイッチE1は、フロー表202を用いて、送信元サーバーS別にフローを分別し、パケット300にフローの帯域を記録する。なお、サーバーS1〜S10には、それぞれアドレス「10.0.0.1」〜「10.0.0.10」が割り当てられているものとする。
<Setting example of flow table 202>
FIG. 6 is an explanatory diagram showing a setting example of the flow table 202 in the edge switch E1. The edge switch E1 separates the flow for each source server S using the flow table 202, and records the bandwidth of the flow in the packet 300. It is assumed that the servers S1 to S10 are assigned addresses "10.0.0.1" to "10.0.0.10", respectively.

フロー表202の各行はそれぞれサーバーS1〜S10に対応する。具体的には、たとえば、受信インターフェース221の列には各サーバーS1〜S10と接続しているインターフェース部501〜510の識別情報として、便宜的にインターフェース部501〜510の符号501〜510が設定される。送信元アドレス222の列には各サーバーS1〜S10のアドレス「10.0.0.1」〜「10.0.0.10」が設定される。帯域計測番号223の列には、各フローで異なる番号が設定される。 Each row in the flow table 202 corresponds to servers S1 to S10, respectively. Specifically, for example, in the column of the receiving interface 221, reference numerals 501 to 510 of the interface units 501 to 510 are set for convenience as identification information of the interface units 501 to 510 connected to the servers S1 to S10. The interface. The addresses "10.0.0.1" to "10.0.0.10" of each server S1 to S10 are set in the column of the source address 222. In the column of band measurement number 223, a different number is set for each flow.

<パケット300に記録される帯域例1>
図7は、パケット300に記録される帯域例1を示す表である。図7では、例として、サーバーS1が100[Mbit/s]のトラフィックを1250バイトのパケット300に分割し、分割したパケット300を100[μs]周期で送信した場合に、エッジスイッチE1がパケット300に記録する帯域の例を示す。
<Bandwidth example 1 recorded in packet 300>
FIG. 7 is a table showing a band example 1 recorded in the packet 300. In FIG. 7, as an example, when the server S1 divides the traffic of 100 [Mbit / s] into 1250-byte packets 300 and transmits the divided packets 300 in a cycle of 100 [μs], the edge switch E1 performs the packet 300. An example of the band to be recorded in is shown.

図7のとおり、サーバーS1が100[μs]周期でしたパケット300に対し、エッジスイッチE1のフロー判定部111は、図6のフロー表202の先頭行における帯域計測番号223の値「1」と帯域記録係数224の値「1」をフロー表202から取得する。次いで、フロー判定部111は、時刻が50[μs]において、帯域表203の帯域計測番号223の値「1」番である行の帯域230の値「0」にパケットサイズである1250[Byte]を加算する。 As shown in FIG. 7, for the packet 300 in which the server S1 has a cycle of 100 [μs], the flow determination unit 111 of the edge switch E1 sets the value “1” of the band measurement number 223 in the first row of the flow table 202 of FIG. The value "1" of the band recording coefficient 224 is acquired from the flow table 202. Next, when the time is 50 [μs], the flow determination unit 111 sets the packet size to 1250 [Byte] in the value “0” of the band 230 in the line which is the value “1” of the band measurement number 223 in the band table 203. Is added.

これ以降の時刻で、サーバーS1が送信する一連のパケット300について、エッジスイッチE1において1250[Byte],2500[Byte],3750[Byte],…のように、1250[Byte]単位の累積値を算出する。これら累積値が、対応するパケット300および帯域表203の帯域230に記録される。しかし一方で、帯域リセット部204が1[ms]周期で帯域表203の帯域230の値を「0」でリセットするので、パケット300に記録される帯域は15000[Byte]を越えることがなく1250[Byte]に戻る。 For a series of packets 300 transmitted by the server S1 at a time after this, the cumulative value in 1250 [Byte] units such as 1250 [Byte], 2500 [Byte], 3750 [Byte], ... At the edge switch E1 is calculated. calculate. These cumulative values are recorded in the corresponding packet 300 and band 230 in band table 203. However, on the other hand, since the band reset unit 204 resets the value of the band 230 in the band table 203 with "0" in a cycle of 1 [ms], the band recorded in the packet 300 does not exceed 15000 [Byte] and is 1250. Return to [Byte].

<コアスイッチCの構成例>
図8は、実施例1にかかるコアスイッチCの構成例を示すブロック図である。コアスイッチCは、制御部801と、パケット処理部802と、データバス803と、複数のインターフェース部804と、を有する転送装置である。パケット処理部802は、パケットバッファー810と、転送先決定部812と、を有する。各インターフェース部804は、受信部813と送信部814と、を有する。
<Configuration example of core switch C>
FIG. 8 is a block diagram showing a configuration example of the core switch C according to the first embodiment. The core switch C is a transfer device having a control unit 801, a packet processing unit 802, a data bus 803, and a plurality of interface units 804. The packet processing unit 802 has a packet buffer 810 and a transfer destination determination unit 812. Each interface unit 804 has a receiving unit 813 and a transmitting unit 814.

コアスイッチCもエッジスイッチE同様、コアスイッチCと接続している接続先スイッチがコアスイッチCへ送信したパケット300は、コアスイッチC内の当該接続先スイッチと接続しているインターフェース部804の受信部813によって受信される。接続先スイッチとは、コアスイッチCがコアスイッチC1であれば、コアスイッチC11〜C20である、コアスイッチCがコアスイッチC11〜C20のいずれかであれば、コアスイッチC1およびエッジスイッチE(たとえば、コアスイッチCがコアスイッチC11であれば、エッジスイッチE1〜E10)である。受信されたパケット300は、データバス803を経由してパケット処理部802にあるパケットバッファー810に蓄積される。 Similar to the edge switch E, the core switch C also receives the packet 300 transmitted to the core switch C by the connection destination switch connected to the core switch C by the interface unit 804 connected to the connection destination switch in the core switch C. Received by unit 813. The connection destination switch is the core switch C11 to C20 if the core switch C is the core switch C1, and the core switch C1 and the edge switch E (for example, if the core switch C is any of the core switches C11 to C20). If the core switch C is the core switch C11, the edge switches E1 to E10). The received packet 300 is stored in the packet buffer 810 in the packet processing unit 802 via the data bus 803.

転送先決定部812は、パケットバッファー810に蓄積されたパケット300の各々について、パケット300の宛先アドレスに基づいて、当該パケット300を送信すべき送信インターフェースを決定する。最後に、転送先決定部812によって送信インターフェースに決定されたインターフェース部804の送信部814が、パケットバッファー810からパケット300を読み取り、パケット300を送信する。これにより、パケット300が転送される。 The transfer destination determination unit 812 determines the transmission interface to which the packet 300 should be transmitted based on the destination address of the packet 300 for each of the packets 300 stored in the packet buffer 810. Finally, the transmission unit 814 of the interface unit 804 determined as the transmission interface by the transfer destination determination unit 812 reads the packet 300 from the packet buffer 810 and transmits the packet 300. As a result, the packet 300 is transferred.

<コアスイッチCの送信部814の構成例>
図9は、図8に示したコアスイッチCの送信部814の構成例を示すブロック図である。コアスイッチCの送信部814は、送信キュー901と、回線送信部902と、入力判定部903と、廃棄優先度表904と、を有する。廃棄優先度表904は、図示しないメモリに記憶されている。
<Configuration example of transmitter 814 of core switch C>
FIG. 9 is a block diagram showing a configuration example of the transmission unit 814 of the core switch C shown in FIG. The transmission unit 814 of the core switch C has a transmission queue 901, a line transmission unit 902, an input determination unit 903, and a disposal priority table 904. The discard priority table 904 is stored in a memory (not shown).

送信キュー901は、パケット300を先入れ先出しするリスト構造(FIFOメモリ)である。送信キュー901は、たとえば、1000パケットまでパケット300を保持する。回線送信部902は、回線送信部902の接続先のスイッチのインターフェース部に、送信キュー901から出力されるパケット300を送信する。 The transmission queue 901 has a list structure (FIFO memory) in which packets 300 are first-in first-out. The transmission queue 901 holds packets 300 up to, for example, 1000 packets. The line transmission unit 902 transmits the packet 300 output from the transmission queue 901 to the interface unit of the switch to which the line transmission unit 902 is connected.

入力判定部903は、パケットバッファー810からパケット300を送信キュー901に入力すべきか否かを、廃棄優先度表904に基づいて判定する。廃棄優先度表904は、フィールドとして、廃棄キュー長942を帯域941別にあらかじめ設定したテーブルである。廃棄キュー長942とは、入力判定部903がパケットバッファー810から読み取ったパケット300を、送信キュー901に搭載するか、または、廃棄するかを決定するためのパラメータである。送信キュー901に搭載されているパケット数である送信キュー長に基づき、廃棄キュー長942には、パケット廃棄を行う最小の送信キュー長が設定される。コアスイッチCの送信部814の動作について詳細に説明する。 The input determination unit 903 determines whether or not the packet 300 from the packet buffer 810 should be input to the transmission queue 901 based on the discard priority table 904. The discard priority table 904 is a table in which the discard queue length 942 is preset for each band 941 as a field. The discard queue length 942 is a parameter for determining whether the packet 300 read from the packet buffer 810 by the input determination unit 903 is mounted on the transmission queue 901 or discarded. Based on the transmission queue length, which is the number of packets mounted on the transmission queue 901, the discard queue length 942 is set to the minimum transmission queue length for packet discard. The operation of the transmission unit 814 of the core switch C will be described in detail.

入力判定部903は、パケット300をパケットバッファー810から読み取ると、廃棄優先度表904から、パケット300の帯域フィールドに記録された帯域(記録帯域)よりも大きい帯域941の中で最小な帯域941を記した行を検索する。たとえば、記録帯域が10000[bit/s]であれば、10000[bit/s]よりも大きい帯域941(18000〜1250000[bit/s])の中で、最小の帯域941である18000[bit/s]の行が検索される。 When the input determination unit 903 reads the packet 300 from the packet buffer 810, the input determination unit 903 selects the smallest band 941 among the bands 941 larger than the band (recording band) recorded in the band field of the packet 300 from the discard priority table 904. Search for the line you wrote. For example, if the recording band is 10000 [bit / s], the smallest band 941 among the bands 941 (18000 to 1250000 [bit / s]) larger than 10000 [bit / s] is 18000 [bit / s]. s] line is searched.

入力判定部903は、検索された行の廃棄キュー長942を取得する。上記の例では、入力判定部903は、帯域941である18000[bit/s]の行の廃棄キュー長942である「500」を取得する。 The input determination unit 903 acquires the discard queue length 942 of the searched row. In the above example, the input determination unit 903 acquires "500" which is the discard queue length 942 of the row of 18000 [bit / s] which is the band 941.

次いで、入力判定部903は、送信キュー901に滞留しているパケット300の数(以降、「滞留キュー長」と呼ぶ)を送信キュー901から取得する。入力判定部903は、滞留キュー長と廃棄優先度表904から得た廃棄キュー長942とを比較する。入力判定部903は、滞留キュー長が廃棄キュー長942の値よりも小さい場合、パケットバッファー810から読み取ったパケット300を送信キュー901に入力する。 Next, the input determination unit 903 acquires the number of packets 300 staying in the transmission queue 901 (hereinafter, referred to as “retention queue length”) from the transmission queue 901. The input determination unit 903 compares the retention queue length with the disposal queue length 942 obtained from the disposal priority table 904. When the stay queue length is smaller than the value of the discard queue length 942, the input determination unit 903 inputs the packet 300 read from the packet buffer 810 to the transmission queue 901.

回線送信部902は、送信キュー901にパケット300が滞留している場合、送信キュー901の先頭パケットを抽出し、回線速度に従って回線へ送信する。一方、入力判定部903は、滞留キュー長が廃棄キュー長942の値以上である場合、パケットバッファー810から読み取ったパケット300を廃棄する。 When the packet 300 is accumulated in the transmission queue 901, the line transmission unit 902 extracts the first packet of the transmission queue 901 and transmits it to the line according to the line speed. On the other hand, when the stay queue length is equal to or greater than the value of the discard queue length 942, the input determination unit 903 discards the packet 300 read from the packet buffer 810.

図10は、パケット300の記録帯域ごとにおける送信パケット数、送信情報量、全サーバー合計帯域、および廃棄キュー長942の集計例1を示す説明図である。集計例1では、コアスイッチCのインターフェース部804にある送信キュー901の長さを利用して公平制御を実現する構成が適用される。 FIG. 10 is an explanatory diagram showing an aggregation example 1 of the number of transmitted packets, the amount of transmitted information, the total bandwidth of all servers, and the discard queue length 942 for each recording band of the packet 300. In the aggregation example 1, a configuration that realizes fair control by utilizing the length of the transmission queue 901 in the interface unit 804 of the core switch C is applied.

具体的には、たとえば、サーバー群からあるトラフィックが送信されてエッジスイッチE1が図6に示すフロー表202を使用した場合において、コアスイッチC1がコアスイッチC20へ本来送信すべきトラフィックをパケット300の記録帯域別に集計した例である。 Specifically, for example, when a certain traffic is transmitted from the server group and the edge switch E1 uses the flow table 202 shown in FIG. 6, the core switch C1 transmits the traffic that should be originally transmitted to the core switch C20 of the packet 300. This is an example of totaling by recording band.

より具体的には、たとえば、図10では、以下のケース1およびケース2を想定する。(ケース1)サーバーS1〜S100が、サーバーS900〜S1000のいずれかに、100[Mbit/s]のトラフィックを100[μs]間隔の1250バイトのパケット300で送信する。 More specifically, for example, in FIG. 10, the following cases 1 and 2 are assumed. (Case 1) Servers S1 to S100 transmit 100 [Mbit / s] traffic to any of servers S900 to S1000 in 1250-byte packets 300 at 100 [μs] intervals.

(ケース2)サーバーS101〜S900が、サーバーS900〜S1000のいずれかに、10[Mbit/s]のトラフィックを1[ms]間隔の1250バイトのパケット300で送信する。 (Case 2) Servers S101 to S900 transmit 10 [Mbit / s] traffic to any of servers S900 to S1000 in 1250-byte packets 300 at 1 [ms] intervals.

図10では、ケース1またはケース2の場合の、コアスイッチC1のコアスイッチC20へ接続するインターフェース部804の送信部814において、本来送信すべきパケット300の記録帯域別の1[ms]あたりパケット数、1[ms]あたり情報量、通信帯域および廃棄キュー長を示す。 In FIG. 10, in the case of case 1 or case 2, the number of packets per 1 [ms] for each recording band of the packets 300 that should be originally transmitted in the transmission unit 814 of the interface unit 804 connected to the core switch C20 of the core switch C1. 1, Indicates the amount of information per [ms], communication bandwidth, and discard queue length.

ここで、滞留キュー長が「650」である場合を考える。この場合、図10に示したとおり、図9の廃棄優先度表904により、廃棄キュー長942の値「650」に対応する帯域941は、5800[bit/s]未満である。したがって、5800[bit/s]未満のパケット300が、送信キュー901に積まれる。 Here, consider the case where the retention queue length is "650". In this case, as shown in FIG. 10, according to the disposal priority table 904 of FIG. 9, the band 941 corresponding to the value “650” of the disposal queue length 942 is less than 5800 [bit / s]. Therefore, packets 300 of less than 5800 [bit / s] are loaded on the transmission queue 901.

図10によると記録帯域が5800[bit/s]未満のパケット300の記録帯域別全サーバー合計帯域の累積値は、合計12[Gbit/s](=9+1+1+1)の帯域となるが、コアスイッチCのインターフェース部804は、10[Gbit/s]しか送信速度がない。このため、回線送信部902による送信キュー901からのパケット出力よりも、入力判定部903による送信キュー901へのパケット入力の方が多い。その結果、滞留キュー長が伸張する。 According to FIG. 10, the cumulative value of the total bandwidth of all servers by recording bandwidth of the packet 300 whose recording bandwidth is less than 5800 [bit / s] is a total bandwidth of 12 [Gbit / s] (= 9 + 1 + 1 + 1), but the core switch C The interface unit 804 has a transmission speed of only 10 [Gbit / s]. Therefore, there are more packet inputs to the transmission queue 901 by the input determination unit 903 than packet outputs from the transmission queue 901 by the line transmission unit 902. As a result, the retention queue length is extended.

また、滞留キュー長が「850」の場合、図10に示したとおり、図9の廃棄優先度表904により、廃棄キュー長942の値「850」に対応する帯域941は、1800[bit/s]未満である。したがって、1800[bit/s]未満のパケット300のみが送信キュー901に積まれる。 Further, when the retention queue length is "850", as shown in FIG. 10, according to the disposal priority table 904 of FIG. 9, the band 941 corresponding to the value "850" of the disposal queue length 942 is 1800 [bit / s]. ] Is less than. Therefore, only packets 300 less than 1800 [bit / s] are loaded on the transmission queue 901.

記録帯域1800[bit/s]未満のパケット300の記録帯域別全サーバー合計帯域の累積値は、9[Gbit/s]の帯域となるが、コアスイッチCのインターフェース部804の送信速度10[Gbit/s]の方が速い。このため、回線送信部902による送信キュー901からのパケット出力よりも、入力判定部903による送信キュー901へのパケット入力の方が少ない。その結果、滞留キュー長が短縮する。 The cumulative value of the total bandwidth of all servers for each recording bandwidth of packets 300 with a recording bandwidth of less than 1800 [bit / s] is 9 [Gbit / s], but the transmission speed of the interface unit 804 of the core switch C is 10 [Gbit / s]. / S] is faster. Therefore, the number of packet inputs to the transmission queue 901 by the input determination unit 903 is smaller than the packet output from the transmission queue 901 by the line transmission unit 902. As a result, the retention queue length is shortened.

そして、滞留キュー長が701〜800の状態において、帯域941が3200[bit/s]未満であるパケット300(合計10[Gbit/s])が送信キュー901に積まれる。したがって、図10のトラフィックは、コアスイッチCのインターフェース部804の送信速度10[Gbit/s]とつりあって安定する。 Then, in a state where the retention queue length is 701 to 800, packets 300 (total 10 [Gbit / s]) whose bandwidth 941 is less than 3200 [bit / s] are loaded on the transmission queue 901. Therefore, the traffic in FIG. 10 is stable in balance with the transmission speed 10 [Gbit / s] of the interface unit 804 of the core switch C.

この結果、サーバーS101〜S900(ケース2)の10[Mbit/s]のトラフィックについては、100[μs]間隔の1250バイトのパケット300はすべて送信される。一方、サーバーS1〜S100(ケース1)の100[Mbit/s]のトラフィックはそれぞれ1[ms]あたり10パケット送信される。この10パケットの中で、記録帯域が1250と2500である2パケットのみが通過するので20[Mbit/s]となり、公平制御が実現できる。 As a result, for the 10 [Mbit / s] traffic of the servers S101 to S900 (Case 2), all 1250 byte packets 300 at 100 [μs] intervals are transmitted. On the other hand, the traffic of 100 [Mbit / s] of the servers S1 to S100 (case 1) is transmitted in 10 packets per 1 [ms]. Of these 10 packets, only 2 packets having recording bands of 1250 and 2500 pass through, so that the value is 20 [Mbit / s], and fair control can be realized.

なお、実施例1では、フロー判定をパケット300の送信元アドレスに基づいて行う例で説明したが、パケット300中のその他の要素をフロー判定に用いてもよい。 In the first embodiment, the flow determination is performed based on the source address of the packet 300, but other elements in the packet 300 may be used for the flow determination.

図11は、フロー表202の変形例1を示す説明図である。図11のフロー表1102は、図6のフロー表202に、宛先アドレス1101が追加されたテーブルである。フロー表1102を用いると、フロー判定処理部201は、送信元アドレス222と宛先アドレス1101の組み合わせでフロー判定を行うことができる。 FIG. 11 is an explanatory diagram showing a modification 1 of the flow table 202. The flow table 1102 of FIG. 11 is a table in which the destination address 1101 is added to the flow table 202 of FIG. Using the flow table 1102, the flow determination processing unit 201 can perform flow determination by combining the source address 222 and the destination address 1101.

ここで、図11において、宛先アドレス1101の値「*」は、すべての宛先アドレスを意味する。したがって、フロー判定処理部201は、フロー表1102の検索を、は一番上の行から順に、マッチする行が見つかるまで実行する。 Here, in FIG. 11, the value "*" of the destination address 1101 means all the destination addresses. Therefore, the flow determination processing unit 201 executes the search of the flow table 1102 in order from the top row until a matching row is found.

図11の例で説明すると、受信インターフェース221の値が「603」であるインターフェース部503に接続された送信元アドレス1201の値「10.0.0.3」のサーバーS3からパケット300が送信されたとする。このパケット群について、宛先アドレスが192.168.0.1であるパケット300とそれ以外のパケット300で異なる帯域計測番号223が割り当てられる。したがって、この特定の宛先アドレス1101の値「192.168.0.1」に対するパケット300だけ個別に帯域計測可能である。 Explaining with the example of FIG. 11, the packet 300 is transmitted from the server S3 having the value "10.0.0.3" of the source address 1201 connected to the interface unit 503 where the value of the receiving interface 221 is "603". Suppose. For this packet group, different band measurement numbers 223 are assigned to the packet 300 whose destination address is 192.168.0.1 and the other packets 300. Therefore, the bandwidth of only the packet 300 for the value "192.168.0.1" of the specific destination address 1101 can be measured individually.

たとえば、送信元アドレス222だけでフロー判定した場合だと、送信元アドレス222と宛先アドレスの組み合わせでフロー判定する場合に比べて、計測帯域が大きく廃棄の影響を受ける場合である。一方、特定の宛先アドレス1101に対するパケット300だけ個別に帯域計測して、その結果が送信元アドレス222だけでフロー判定する場合に比べて小さな帯域となれば、そのパケット300は廃棄の影響を受けない。 For example, in the case where the flow is determined only by the source address 222, the measurement band is larger than in the case where the flow is determined by the combination of the source address 222 and the destination address, and the effect of disposal is large. On the other hand, if the bandwidth of only the packet 300 for the specific destination address 1101 is individually measured and the result is a smaller bandwidth than the case where the flow is determined only by the source address 222, the packet 300 is not affected by the discard. ..

また、フロー表1102を適用した例では、特定のサーバーSが送信するパケット300に記録する帯域を送信元アドレス222だけでフロー判定する場合に比べて小さくすることにより、特定のサーバーSのトラフィックを他サーバーSより多くすることもできる。 Further, in the example in which the flow table 1102 is applied, the traffic of the specific server S is reduced by reducing the bandwidth recorded in the packet 300 transmitted by the specific server S as compared with the case where the flow is determined only by the source address 222. It can be more than other servers S.

図12は、フロー表202の変形例2を示す説明図である。図12は、エッジスイッチE1のフロー判定部111のフロー表202を示す。フロー表202において、受信インターフェース221の値「602」の行の帯域記録係数224が「0.5」である。受信インターフェース221の値「602」は、サーバーS2と接続されるインターフェース部502を示す。公平制御のパケット300の重みである帯域記録係数224を他の帯域記録係数224の半分であるため、サーバーS2は、他サーバーSの2倍のトラフィックを流す。 FIG. 12 is an explanatory diagram showing a modification 2 of the flow table 202. FIG. 12 shows a flow table 202 of the flow determination unit 111 of the edge switch E1. In the flow table 202, the band recording coefficient 224 of the row of the value “602” of the reception interface 221 is “0.5”. The value "602" of the receiving interface 221 indicates an interface unit 502 connected to the server S2. Since the band recording coefficient 224, which is the weight of the fair control packet 300, is half that of the other band recording coefficient 224, the server S2 flows twice as much traffic as the other server S.

図13は、パケット300に記録される帯域例2を示す表である。図13では、例として、サーバーS2が100[μs]周期で1250バイトのパケット300を送信した場合に、エッジスイッチE1のフロー判定部111が図12に示すフロー表202設定時にパケット300に帯域を記録した例を示す。図8の場合と異なり、図12では、受信インターフェース221が「602」の行の帯域記録係数224が「0.5」であるため、パケット300に記録される帯域の値はすべて、0.5が乗じられて半分となる。 FIG. 13 is a table showing a band example 2 recorded in the packet 300. In FIG. 13, as an example, when the server S2 transmits a 1250-byte packet 300 in a cycle of 100 [μs], the flow determination unit 111 of the edge switch E1 assigns a bandwidth to the packet 300 when the flow table 202 shown in FIG. 12 is set. The recorded example is shown. Unlike the case of FIG. 8, in FIG. 12, since the band recording coefficient 224 of the line where the reception interface 221 is “602” is “0.5”, all the band values recorded in the packet 300 are 0.5. Is multiplied and halved.

図14は、パケット300の記録帯域ごとにおける送信パケット数、送信情報量、全サーバー合計帯域、および廃棄キュー長942の集計例2を示す説明図である。集計例2では、エッジスイッチE1が図12に示すフロー表202を使用する点を除いて、集計例1と同一条件である。 FIG. 14 is an explanatory diagram showing an aggregation example 2 of the number of transmitted packets, the amount of transmitted information, the total bandwidth of all servers, and the discard queue length 942 for each recording band of the packet 300. In the aggregation example 2, the conditions are the same as those in the aggregation example 1 except that the edge switch E1 uses the flow table 202 shown in FIG.

ここで、滞留キュー長が「800」未満である場合を考える。図14において記録帯域が3200[bit/s]未満のパケット300が、送信キュー901に積まれる。すると、送信キュー901に入力されたトラフィックの合計帯域が10.03[Gbit/s]となり、コアスイッチCのインターフェース部804の送信速度である10[Gbit/s]を超える。その結果、滞留キュー長が伸張する。 Here, consider the case where the retention queue length is less than "800". In FIG. 14, the packet 300 having a recording band of less than 3200 [bit / s] is loaded on the transmission queue 901. Then, the total bandwidth of the traffic input to the transmission queue 901 becomes 10.03 [Gbit / s], which exceeds the transmission speed of 10 [Gbit / s] of the interface unit 804 of the core switch C. As a result, the retention queue length is extended.

滞留キュー長が伸張して800以上となると、図14において記録帯域が1800[bit/s]未満のパケット300だけが送信キュー901に積まれる。この結果、送信キュー901に入力されるトラフィックの合計帯域が9.01[Gbit/s]となり、コアスイッチCのインターフェース部804の送信速度である10[Gbit/s]を下回る。その結果、滞留キュー長が短縮する。 When the retention queue length is extended to 800 or more, only packets 300 having a recording bandwidth of less than 1800 [bit / s] in FIG. 14 are loaded on the transmission queue 901. As a result, the total bandwidth of the traffic input to the transmission queue 901 becomes 9.01 [Gbit / s], which is lower than the transmission speed of 10 [Gbit / s] of the interface unit 804 of the core switch C. As a result, the retention queue length is shortened.

このように、滞留キュー長は800前後で増減する。そして、記録帯域が625[bit/s]および1250[bit/s]であるトラフィック9.01[Gbit/s]のすべてと、記録帯域が1875[bit/s]、2500[bit/s]および3125[bit/s]であるトラフィック1.01[Gbit/s]の一部との合計である10[Gbit/s]のトラフィックが送信される。 In this way, the retention queue length increases or decreases at around 800. Then, all of the traffic 9.01 [Gbit / s] having a recording band of 625 [bit / s] and 1250 [bit / s], and the recording band of 1875 [bit / s], 2500 [bit / s] and A traffic of 10 [Gbit / s], which is a total of a part of the traffic of 1.01 [Gbit / s] of 3125 [bit / s], is transmitted.

このとき、送信される10[Gbit/s]のうち、前者の9.01[Gbit/s]のトラフィックはすべて送信されるので、残りの帯域0.99[Gbit/s]が後者の1.02[Gbit/s]のトラフィックの送信に使用される。すなわち、後者のトラフィック1.02[Gbit/s]のうち実際に送信されるのは0.99[Gbit/s](約97%)で、残りの約3%は廃棄されることになる。 At this time, out of the 10 [Gbit / s] transmitted, all the traffic of 9.01 [Gbit / s] of the former is transmitted, so that the remaining band of 0.99 [Gbit / s] is 1. 02 Used to transmit [Gbit / s] traffic. That is, of the latter traffic 1.02 [Gbit / s], 0.99 [Gbit / s] (about 97%) is actually transmitted, and the remaining about 3% is discarded.

以上の動作により、フロー表202において帯域記録係数224の値が「1」であるサーバーS1のトラフィックにおいては、1[ms]あたり記録帯域が1250[bit/s]および2500[bit/s]である2パケット通過することが期待できる。一方、帯域記録係数224の値が「0.5」であるサーバーS2のトラフィックにおいては、1[ms]あたり記録帯域が625、1250、1875、2500[bit/s]である4パケットのほとんどが通過することが期待できる。 As a result of the above operation, in the traffic of the server S1 in which the value of the bandwidth recording coefficient 224 is "1" in the flow table 202, the recording bandwidths are 1250 [bit / s] and 2500 [bit / s] per 1 [ms]. It can be expected that a certain two packets will pass. On the other hand, in the traffic of the server S2 in which the value of the bandwidth recording coefficient 224 is "0.5", most of the four packets having the recording bandwidths of 625, 1250, 1875, and 2500 [bit / s] per [ms]. You can expect it to pass.

このようにして、フローの実帯域に対して重みを考慮した値をパケット300に帯域として記録することにより、他フローに対するトラフィックの重みの違いを表現し、コアスイッチCでの輻輳時に重要トラフィックを優先して送信することが可能になる。 In this way, by recording the value considering the weight with respect to the actual bandwidth of the flow as the bandwidth in the packet 300, the difference in the weight of the traffic with respect to the other flow is expressed, and the important traffic is recorded at the time of congestion at the core switch C. It becomes possible to send with priority.

なお、フロー表202によるフロー判定は、帯域記録係数224を利用する場合でも、図6に対する図11のフロー表1102と同様に、送信元アドレス222以外の要素を使ってもよい。 In the flow determination according to the flow table 202, even when the band recording coefficient 224 is used, elements other than the source address 222 may be used as in the flow table 1102 of FIG. 11 with respect to FIG.

図15は、フロー表の変形例を示す説明図である。図15のフロー表1502は、図13のフロー表202に、宛先アドレス1101が追加されたテーブルである。フロー表1502を用いると、フロー判定処理部201は、送信元アドレス222と宛先アドレス1101の組み合わせでフロー判定を行うことができる。 FIG. 15 is an explanatory diagram showing a modified example of the flow table. The flow table 1502 of FIG. 15 is a table in which the destination address 1101 is added to the flow table 202 of FIG. Using the flow table 1502, the flow determination processing unit 201 can perform flow determination by combining the source address 222 and the destination address 1101.

なお、図15では、送信元アドレス222の値「10.0.0.3」のサーバーSから送信されるパケット300のうち、宛先アドレス1101の値「192.168.0.1」のパケット300だけに別の帯域記録係数224を適用できる。これにより、このパケット300を重要トラフィックとして扱うことができる。 In FIG. 15, among the packets 300 transmitted from the server S having the source address 222 value “10.0.0.3”, the packet 300 having the destination address 1101 value “192.168.0.1”. Only another band recording factor 224 can be applied. As a result, the packet 300 can be treated as important traffic.

実施例2は、コアスイッチCのインターフェースに複数の送信キュー901を適用して公平制御を実現する例を示す。実施例2のコアスイッチCの送信部814の構造が実施例1と異なる。なお、実施例1と同一構成には同一符号を付しその説明を省略する。 The second embodiment shows an example in which a plurality of transmission queues 901 are applied to the interface of the core switch C to realize fair control. The structure of the transmission unit 814 of the core switch C of the second embodiment is different from that of the first embodiment. The same components as those in the first embodiment are designated by the same reference numerals, and the description thereof will be omitted.

図16は、実施例2にかかるコアスイッチCの送信部814の構成例を示すブロック図である。送信部814は、複数の送信キュー901と、回線送信部1602と、入力判定部1603と、キュー番号表1604と、を有する。キュー番号表1604は、図示しないメモリに記憶される。 FIG. 16 is a block diagram showing a configuration example of the transmission unit 814 of the core switch C according to the second embodiment. The transmission unit 814 has a plurality of transmission queues 901, a line transmission unit 1602, an input determination unit 1603, and a queue number table 1604. The queue number table 1604 is stored in a memory (not shown).

複数の送信キュー901には、1から始まる送信キュー番号がついており、それぞれ100パケットまでパケット300を搭載することができるものとする。 It is assumed that the plurality of transmission queues 901 have transmission queue numbers starting from 1, and each packet 300 can be loaded up to 100 packets.

回線送信部1602は、複数ある送信キュー901のいずれか1つにパケット300が滞留している場合、送信キュー番号1642の値が最小の送信キュー901からパケット300を1つ抽出し、回線へ送信する。 When the packet 300 is retained in any one of the plurality of transmission queues 901, the line transmission unit 1602 extracts one packet 300 from the transmission queue 901 having the smallest transmission queue number 1642 and transmits the packet 300 to the line. To do.

入力判定部1603は、パケットバッファー810からパケット300をいずれの送信キュー901に入力すべきか否かを、キュー番号表1604に基づいて判定する。キュー番号表1604は、送信キュー901ごとに付与された送信キュー番号1642を帯域941別にあらかじめ設定したテーブルである。コアスイッチCの送信部814の動作について詳細に説明する。 The input determination unit 1603 determines in which transmission queue 901 the packet 300 should be input from the packet buffer 810 based on the queue number table 1604. The queue number table 1604 is a table in which transmission queue numbers 1642 assigned to each transmission queue 901 are preset for each band 941. The operation of the transmission unit 814 of the core switch C will be described in detail.

入力判定部1603は、パケット300をパケットバッファー810から読み取り、キュー番号表1604から、パケット300に記録されている帯域よりも大きい帯域941の中で最小の帯域941を記録した行を検索する。たとえば、記録帯域が10000[bit/s]であれば、10000[bit/s]よりも大きい帯域941(18000〜1250000[bit/s])の中で、最小の帯域941である18000[bit/s]の行が検索される。 The input determination unit 1603 reads the packet 300 from the packet buffer 810, and searches the queue number table 1604 for the line in which the smallest band 941 among the bands 941 larger than the band recorded in the packet 300 is recorded. For example, if the recording band is 10000 [bit / s], the smallest band 941 among the bands 941 (18000 to 1250000 [bit / s]) larger than 10000 [bit / s] is 18000 [bit / s]. s] line is searched.

入力判定部1603は、検索された行の送信キュー番号1642を取得する。上記の例では、入力判定部1603は、帯域941である18000[bit/s]の行の送信キュー番号1642である「7」を取得する。 The input determination unit 1603 acquires the transmission queue number 1642 of the searched line. In the above example, the input determination unit 1603 acquires "7" which is the transmission queue number 1642 of the row of 18000 [bit / s] which is the band 941.

次いで、入力判定部1603は、パケット300を、取得した送信キュー番号1642の送信キュー901に搭載する。取得した送信キュー番号1642の送信キュー901に空きがない場合は、入力判定部1603は、当該パケット300を廃棄する。 Next, the input determination unit 1603 mounts the packet 300 on the transmission queue 901 of the acquired transmission queue number 1642. If there is no space in the acquired transmission queue 901 of transmission queue number 1642, the input determination unit 1603 discards the packet 300.

図17は、パケット300の記録帯域ごとにおける送信パケット数、送信情報量、全サーバー合計帯域、および送信キュー番号1642の集計例を示す説明図である。本集計例では、廃棄キュー長942から送信キュー番号1642に変更された点を除いて、集計例1と同一条件である。なお、送信キュー番号1642に値が#である送信キュー901を、送信キュー901−#と表記する。 FIG. 17 is an explanatory diagram showing an aggregation example of the number of transmitted packets, the amount of transmitted information, the total bandwidth of all servers, and the transmission queue number 1642 in each recording band of the packet 300. In this aggregation example, the conditions are the same as those in aggregation example 1 except that the discard queue length 942 is changed to the transmission queue number 1642. The transmission queue 901 whose value is # in the transmission queue number 1642 is referred to as transmission queue 901- #.

図17に示すトラフィックに対して回線送信部1602が回線帯域である10[Gbit/s]でパケット300を送信する場合、まず、送信部814は、送信キュー901−2から9[Gbit/s]のパケット300を回線送信部1602に出力する。 When the line transmission unit 1602 transmits the packet 300 with the line bandwidth of 10 [Gbit / s] for the traffic shown in FIG. 17, the transmission unit 814 first transmits the transmission queues 901-2 to 9 [Gbit / s]. Packet 300 is output to the line transmission unit 1602.

回線帯域が1[Gbit/s]余っているので、送信キュー901−3から1[Gbit/s]のパケット300を回線送信部1602に出力する。この結果、回線帯域をすべて消費したので、送信キュー901−4番以降に滞留するパケット300は回線送信部1602に出力されない。そして、サーバーS101〜S900の10[Mbit/s]のトラフィックのパケット300はすべて送信される。一方、サーバーS1〜S100の100[Mbit/s]のトラフィックについては、それぞれ1[ms]あたり10パケットある中で記録帯域が1250[bit/s]と2500[bit/s]である2パケットのみが通過する。これにより、サーバーS1〜S100からの10[Mbit/s]分のトラフィックのパケット300が送信されるため、公平制御が実現できる。 Since the line bandwidth is 1 [Gbit / s] surplus, packets 300 of transmission queues 901-3 to 1 [Gbit / s] are output to the line transmission unit 1602. As a result, since all the line bandwidth is consumed, the packet 300 staying in the transmission queue 901-4 and thereafter is not output to the line transmission unit 1602. Then, all packets 300 of the traffic of 10 [Mbit / s] of the servers S101 to S900 are transmitted. On the other hand, for the traffic of 100 [Mbit / s] of the servers S1 to S100, only 2 packets having recording bandwidths of 1250 [bit / s] and 2500 [bit / s] out of 10 packets per 1 [ms], respectively. Passes. As a result, the packet 300 of the traffic for 10 [Mbit / s] from the servers S1 to S100 is transmitted, so that fair control can be realized.

実施例3は、ランダム初期検出による廃棄を実現する例である。実施例3のコアスイッチCの送信部814の内部構造が実施例1と異なる。実施例1と同一構成には同一符号を付し、その説明を省略する。 Example 3 is an example of realizing disposal by random initial detection. The internal structure of the transmission unit 814 of the core switch C of the third embodiment is different from that of the first embodiment. The same components as those in the first embodiment are designated by the same reference numerals, and the description thereof will be omitted.

図18は、実施例3にかかるコアスイッチCの送信部814の構成例を示すブロック図である。送信部814は、送信キュー901と、回線送信部902と、入力判定部1803と、ランダム廃棄優先度表1804と、を有する。 FIG. 18 is a block diagram showing a configuration example of the transmission unit 814 of the core switch C according to the third embodiment. The transmission unit 814 has a transmission queue 901, a line transmission unit 902, an input determination unit 1803, and a random discard priority table 1804.

入力判定部1803は、パケットバッファー810からパケット300を送信キュー901に入力すべきか否かを、ランダム廃棄優先度表1804に基づいて判定する。ランダム廃棄優先度表1804は、廃棄確定キュー長1842、ランダム廃棄キュー長1843およびランダム廃棄確率1844を帯域941別にあらかじめ設定したテーブルである。廃棄確定キュー長1842、ランダム廃棄キュー長1843およびランダム廃棄確率1844は、入力判定部1803がパケットバッファー810から読み取ったパケット300を送信キュー901に入力するか、または、廃棄するかを決定するためのパラメータである。 The input determination unit 1803 determines whether or not the packet 300 from the packet buffer 810 should be input to the transmission queue 901 based on the random discard priority table 1804. The random discard priority table 1804 is a table in which the discard confirmed queue length 1842, the random discard queue length 1843, and the random discard probability 1844 are preset for each band 941. The discard confirmation queue length 1842, the random discard queue length 1843, and the random discard probability 1844 determine whether the packet 300 read from the packet buffer 810 by the input determination unit 1803 is input to the transmission queue 901 or discarded. It is a parameter.

廃棄確定キュー長1842は、送信キュー901に搭載されているパケット数である滞留キュー長に基づき、パケット廃棄を必ず行う最小の送信キュー長である。ランダム廃棄キュー長1843は、廃棄確率に基づいたパケット300のランダム廃棄を行う最小の滞留キュー長である。ランダム廃棄確率1844は、ランダム廃棄を行う際の廃棄確率である。ここで、廃棄確定キュー長1842は、ランダム廃棄キュー長1843の値以上に設定される。換言すれば、ランダム廃棄キュー長1843は、廃棄確定キュー長1842以の値以下に設定される。コアスイッチCの送信部814の動作について詳細に説明する。 The discard confirmation queue length 1842 is the minimum transmission queue length that always discards packets based on the retention queue length, which is the number of packets mounted on the transmission queue 901. The random discard queue length 1843 is the minimum retention queue length for randomly discarding the packet 300 based on the discard probability. Random disposal probability 1844 is a disposal probability when performing random disposal. Here, the discard confirmation queue length 1842 is set to be equal to or greater than the value of the random discard queue length 1843. In other words, the random discard queue length 1843 is set to a value equal to or less than the discard confirmed queue length 1842. The operation of the transmission unit 814 of the core switch C will be described in detail.

入力判定部1803は、パケットバッファー810から送信すべきパケット300を読み取り、ランダム廃棄優先度表1804から、パケット300に記録されている帯域よりも大きい帯域941の中で最小な帯域941を記録した行を検索する。たとえば、記録帯域が10000[bit/s]であれば、10000[bit/s]よりも大きい帯域941(18000〜1250000[bit/s])の中で、最小の帯域941である18000[bit/s]の行が検索される。 The input determination unit 1803 reads the packet 300 to be transmitted from the packet buffer 810, and records the smallest band 941 among the bands 941 larger than the band recorded in the packet 300 from the random discard priority table 1804. To search for. For example, if the recording band is 10000 [bit / s], the smallest band 941 among the bands 941 (18000 to 1250000 [bit / s]) larger than 10000 [bit / s] is 18000 [bit / s]. s] line is searched.

入力判定部903は、検索された行の廃棄確定キュー長1842、ランダム廃棄キュー長1843およびランダム廃棄確率1844を取得する。上記の例では、入力判定部903は、帯域941である18000[bit/s]の行の廃棄確定キュー長1842の値「400」、ランダム廃棄キュー長1843の値「300」、およびランダム廃棄確率1844の値「1%」を取得する。次いで入力判定部903は、滞留キュー長を送信キュー901から取得する。 The input determination unit 903 acquires the discard confirmation queue length 1842, the random discard queue length 1843, and the random discard probability 1844 of the searched row. In the above example, the input determination unit 903 has a value "400" of the discard confirmation queue length 1842, a value "300" of the random discard queue length 1843, and a random discard probability of the row of the band 941 18000 [bit / s]. Acquire the value "1%" of 1844. Next, the input determination unit 903 acquires the retention queue length from the transmission queue 901.

入力判定部903は、ランダム廃棄優先度表1804から得た廃棄確定キュー長1842およびランダム廃棄キュー長1843と、取得した滞留キュー長と、を比較する。比較対象のランダム廃棄キュー長1843の値が、比較対象の廃棄確定キュー長1842の値未満に設定されている場合は、以下のようになる。 The input determination unit 903 compares the discard confirmation queue length 1842 and the random discard queue length 1843 obtained from the random discard priority table 1804 with the acquired retention queue length. When the value of the random discard queue length 1843 to be compared is set to be less than the value of the discard confirmed queue length 1842 to be compared, the result is as follows.

滞留キュー長がランダム廃棄キュー長より1843も小さい場合、入力判定部903は、パケット300を送信キュー901に入力する。滞留キュー長がランダム廃棄キュー長1843以上で、かつ、廃棄確定キュー長1842より短い場合、入力判定部903は、ランダム廃棄優先度表1804から得たランダム廃棄確率1844の値でパケット300を廃棄する。一方、廃棄しなかった場合、入力判定部903は、パケット300を送信キュー901に入力する。滞留キュー長が廃棄確定キュー長1842以上である場合、入力判定部903は、パケット300を廃棄する。 When the retention queue length is 1843 smaller than the random discard queue length, the input determination unit 903 inputs the packet 300 to the transmission queue 901. When the retention queue length is the random discard queue length 1843 or more and shorter than the discard confirmation queue length 1842, the input determination unit 903 discards the packet 300 with the value of the random discard probability 1844 obtained from the random discard priority table 1804. .. On the other hand, if not discarded, the input determination unit 903 inputs the packet 300 into the transmission queue 901. When the retention queue length is the discard confirmation queue length 1842 or more, the input determination unit 903 discards the packet 300.

比較対象のランダム廃棄キュー長1843の値が、比較対象の廃棄確定キュー長1842の値と同一に設定されている場合は、以下のようになる。 When the value of the random discard queue length 1843 to be compared is set to be the same as the value of the discard confirmed queue length 1842 to be compared, the result is as follows.

滞留キュー長がランダム廃棄キュー長より1843(=廃棄確定キュー長1842)も小さい場合、入力判定部903は、パケット300を送信キュー901に入力する。滞留キュー長がランダム廃棄キュー長1843以上(=廃棄確定キュー長1842)である場合、入力判定部903は、パケット300を廃棄する。 When the retention queue length is smaller than the random discard queue length by 1843 (= discard confirmation queue length 1842), the input determination unit 903 inputs the packet 300 to the transmission queue 901. When the retention queue length is the random discard queue length 1843 or more (= discard confirmed queue length 1842), the input determination unit 903 discards the packet 300.

つぎに、コアスイッチC1がランダム初期廃棄を実現する場合におけるランダム廃棄優先度表1804の設定例について説明する。具体的には、たとえば、以下のケース3またはケース4においてコアスイッチC1のコアスイッチC20へ接続する送信部814の動作を説明する。 Next, a setting example of the random discard priority table 1804 when the core switch C1 realizes random initial discard will be described. Specifically, for example, in the following case 3 or case 4, the operation of the transmission unit 814 connected to the core switch C20 of the core switch C1 will be described.

(ケース3)サーバーS1〜S100がサーバーS900〜S1000のいずれかへ、20[Mbit/s]のトラフィックを500[μs]間隔の1250バイトのパケットで送信する。 (Case 3) Servers S1 to S100 transmit 20 [Mbit / s] traffic to any of servers S900 to S1000 in 1250-byte packets at intervals of 500 [μs].

(ケース4)サーバーS101〜S900がサーバーS900〜S1000のいずれかへ、10[Mbit/s]のトラフィックを1[ms]間隔の1250バイトのパケットで送信する。 (Case 4) Servers S101 to S900 transmit 10 [Mbit / s] traffic to any of servers S900 to S1000 in 1250 byte packets at 1 [ms] intervals.

図19は、ケース3またはケース4において、回線送信部902が回線へ送信すべきパケット300の記録帯域別の1[ms]当たりパケット数、1[ms]あたり送信情報量、帯域、および廃棄確定キュー長とランダム廃棄キュー長を示す表である。 FIG. 19 shows, in case 3 or case 4, the number of packets per 1 [ms] for each recording band of the packet 300 to be transmitted to the line by the line transmission unit 902, the amount of transmission information per 1 [ms], the band, and the determination of disposal. It is a table which shows the queue length and the random discard queue length.

滞留キュー長が「600」未満の場合、記録帯域が1250[bit/s]から3750[bit/s]までのパケット300による11[Gbit/s]のトラフィックはすべて送信キュー901に積まれる。この結果、回線帯域10[Gbit/s]よりも送信対象のトラフィックの合計11[Gbit/s]の方が大きい。その結果、滞留キュー長が伸張する。 When the retention queue length is less than "600", all traffic of 11 [Gbit / s] by the packet 300 having a recording bandwidth of 1250 [bit / s] to 3750 [bit / s] is loaded on the transmission queue 901. As a result, the total of the traffic to be transmitted is 11 [Gbit / s] larger than the line bandwidth of 10 [Gbit / s]. As a result, the retention queue length is extended.

滞留キュー長が伸張して600〜699になると、記録帯域が1250[bit/s]および2500[bit/s]であるパケット300による合計10[Gbit/s]のトラフィックはすべて送信キュー901に積まれる。一方、記録帯域が3750[bit/s]であるパケット300による1[Gbit/s]のトラフィックについては、滞留キュー長がランダム廃棄キュー長1843より長いのでランダム廃棄確率1%のパケット300が廃棄されて0.99[Gbit/s]だけ送信キュー901に積まれる。 When the retention queue length is extended to 600 to 699, all traffic of a total of 10 [Gbit / s] by the packet 300 having a recording bandwidth of 1250 [bit / s] and 2500 [bit / s] is loaded on the transmission queue 901. Is done. On the other hand, for 1 [Gbit / s] traffic by the packet 300 having a recording bandwidth of 3750 [bit / s], since the retention queue length is longer than the random discard queue length 1843, the packet 300 with a random discard probability of 1% is discarded. Therefore, only 0.99 [Gbit / s] is loaded in the transmission queue 901.

こうして、回線帯域よりも送信すべきトラフィックの合計帯域の方が大きく、かつ、滞留キュー長が伸張した場合に、サーバーS101〜S900が送信したトラフィックに比べて記録帯域が大きなパケット300を含む(すなわち、送信トラフィック帯域も大きい)S1〜S100が送信したトラフィックだけをランダム初期検出による廃棄の対象とし、公平なランダム初期検出を実現する。 In this way, when the total bandwidth of the traffic to be transmitted is larger than the line bandwidth and the retention queue length is extended, the packet 300 including the packet 300 whose recording bandwidth is larger than the traffic transmitted by the servers S101 to S900 (that is,). (The transmission traffic bandwidth is also large) Only the traffic transmitted by S1 to S100 is targeted for discard by the random initial detection, and a fair random initial detection is realized.

以上説明したように、上述した各実施例では、ネットワークのエッジスイッチEが、ネットワーク外部から受信したパケット300をフローに分別し、フロー個別に帯域を計測し、パケット300に帯域を記録する。コアスイッチCは、パケット300を転送するにあたり、パケット300の記録帯域を参照し、記録帯域が小さなパケットを優先して送信する。 As described above, in each of the above-described embodiments, the edge switch E of the network separates the packet 300 received from the outside of the network into flows, measures the bandwidth for each flow, and records the bandwidth in the packet 300. When transferring the packet 300, the core switch C refers to the recording band of the packet 300 and preferentially transmits a packet having a small recording band.

これにより、コアスイッチCにおいて回線帯域よりも該当回線へ送信すべきトラフィックの合計帯域の方が大きい場合に、記録帯域が大きなパケットを廃棄することができる。結果として帯域の大きなフローのパケット300が優先して廃棄されるので、結果的に複数フロー間で帯域を公平制御できる。 As a result, when the total bandwidth of the traffic to be transmitted to the corresponding line is larger than the line bandwidth in the core switch C, the packet having a large recording bandwidth can be discarded. As a result, the packet 300 of the flow having a large bandwidth is preferentially discarded, and as a result, the bandwidth can be fairly controlled among the plurality of flows.

また、エッジスイッチEとコアスイッチCとで機能を分担してネットワーク全体で公平制御を実現したことにより、エッジスイッチEではフローの数だけ帯域計測機能が必要になるが、エッジスイッチEを通過してネットワークに入ってくるパケット300はエッジスイッチEに接続しているサーバーSが送信したデータとなる。したがって、エッジスイッチEで管理すべきフローの数はデータセンター全体のフロー数とは無関係な充分に少ない数となる。また、コアスイッチCではフロー個別の動作がないので、データセンター全体のフロー数を考慮する必要がなくなる。 In addition, since the functions are shared between the edge switch E and the core switch C to realize fair control in the entire network, the edge switch E requires as many bandwidth measurement functions as the number of flows, but passes through the edge switch E. The packet 300 that enters the network is the data transmitted by the server S connected to the edge switch E. Therefore, the number of flows to be managed by the edge switch E is sufficiently small regardless of the number of flows in the entire data center. Further, since the core switch C does not operate for each flow, it is not necessary to consider the number of flows in the entire data center.

たとえば、端末が多数接続されているネットワークにおいて、ネットワーク上のどのスイッチにも端末数に比例するリソースを用意することなく、回線での輻輳時に端末間で帯域を公平制御することができる。 For example, in a network in which a large number of terminals are connected, it is possible to fairly control the bandwidth between terminals during congestion on the line without preparing resources proportional to the number of terminals on any switch on the network.

また、上述した転送装置および転送システムは、下記(1)〜(20)のように構成することもできる。 Further, the above-mentioned transfer device and transfer system can also be configured as described in (1) to (20) below.

(1)パケット300を転送する転送装置の一例であるコアスイッチCは、たとえば、実施例1に示したように、パケット300を入力順に蓄積し入力順に出力可能な保持部(たとえば、送信キュー901)と、保持部に蓄積された第1データ量(たとえば、廃棄キュー長942)が多いほど帯域941が小さくなるように第1データ量と帯域とを対応付けた対応情報(たとえば、廃棄優先度表904)を記憶する記憶部と、入力対象パケットに記録されている記録帯域に応じて特定の第1データ量を対応情報から特定し、特定の第1データ量と、保持部からの取得データ量である滞留キュー長と、に基づいて、入力対象パケットを保持部に入力するか廃棄するかを判定する入力判定部903と、を有する。 (1) The core switch C, which is an example of a transfer device that transfers the packet 300, is, for example, as shown in the first embodiment, a holding unit (for example, a transmission queue 901) capable of accumulating the packets 300 in the input order and outputting them in the input order. ) And the corresponding information (for example, discard priority) in which the first data amount and the band are associated with each other so that the band 941 becomes smaller as the amount of the first data stored in the holding unit (for example, the discard queue length 942) increases. A specific first data amount is specified from the corresponding information according to the storage unit that stores Table 904) and the recording band recorded in the input target packet, and the specific first data amount and the data acquired from the holding unit. It has an input determination unit 903 that determines whether to input or discard the input target packet to the holding unit based on the retention queue length, which is an amount.

これにより、記録帯域が大きいほど入力対象パケットが廃棄されやすく、記録帯域が小さいほど保持部に入力されやすくなる。したがって、簡便な公平制御を実現することができる。 As a result, the larger the recording band, the easier it is for the input target packet to be discarded, and the smaller the recording band, the easier it is for the input target packet to be input to the holding unit. Therefore, simple fair control can be realized.

(2)上記(1)のコアスイッチCにおいて、入力判定部903は、記録帯域よりも大きい帯域に対応する第1データ量を特定の第1データ量として特定する。これにより、特定の第1データ量を、記録帯域に対応する第1データ量よりも小さく設定することができ、入力対象パケットが廃棄されやすくなる。 (2) In the core switch C of the above (1), the input determination unit 903 specifies a first data amount corresponding to a band larger than the recording band as a specific first data amount. As a result, the specific first data amount can be set smaller than the first data amount corresponding to the recording band, and the input target packet is likely to be discarded.

(3)上記(2)のコアスイッチCにおいて、入力判定部903は、記録帯域よりも大きい帯域の中で最小の帯域に対応する第1データ量を特定の第1データ量として特定する。これにより、記録帯域に対応する第1データ量よりも小さい特定の第1データ量の低下を抑制することができ、入力対象パケットの廃棄されやすさと、入力のされやすさとのバランスを保つことができる。 (3) In the core switch C of the above (2), the input determination unit 903 specifies the first data amount corresponding to the smallest band in the band larger than the recording band as a specific first data amount. As a result, it is possible to suppress a decrease in a specific first data amount smaller than the first data amount corresponding to the recording band, and it is possible to maintain a balance between the ease of discarding the input target packet and the ease of input. it can.

(4)上記(1)のコアスイッチCにおいて、入力判定部903は、取得データ量が特定の第1データ量がよりも小さい場合、入力対象データを保持部に入力する。これにより、滞留キュー長を伸張させることができる。 (4) In the core switch C of the above (1), when the acquired data amount is smaller than the specific first data amount, the input determination unit 903 inputs the input target data to the holding unit. As a result, the retention queue length can be extended.

(5)上記(1)のコアスイッチCにおいて、入力判定部903は、取得データ量が特定の第1データ量以上である場合、入力対象データを廃棄する。これにより、滞留キュー長の伸張を抑制することができる。 (5) In the core switch C of the above (1), the input determination unit 903 discards the input target data when the acquired data amount is equal to or larger than the specific first data amount. As a result, it is possible to suppress the extension of the retention queue length.

(6)上記(1)のコアスイッチCにおいて、たとえば、実施例3に示したように、対応情報(たとえば、ランダム廃棄優先度表1804)は、第1データ量(たとえば、廃棄確定キュー長1842)と、第1データ量以下の第2データ量(たとえば、ランダム廃棄キュー長1843)と、入力対象パケットの廃棄確率(たとえば、ランダム廃棄確率1844)と、帯域941と、を対応付けており、入力判定部1803は、記録帯域に応じて特定の第1データ量、特定の第2データ量、および特定の廃棄確率を対応情報から特定し、特定の第1データ量、特定の第2データ量、および特定の廃棄確率と、保持部からの取得データ量と、に基づいて、入力対象パケットを保持部に入力するか廃棄するかを判定する。 (6) In the core switch C of the above (1), for example, as shown in the third embodiment, the correspondence information (for example, the random discard priority table 1804) is the first data amount (for example, the discard confirmed queue length 1842). ), The second data amount equal to or less than the first data amount (for example, random discard queue length 1843), the discard probability of the input target packet (for example, random discard probability 1844), and the band 941. The input determination unit 1803 specifies a specific first data amount, a specific second data amount, and a specific discard probability from the corresponding information according to the recording band, and specifies a specific first data amount and a specific second data amount. , And, based on the specific discard probability and the amount of data acquired from the holding unit, it is determined whether to input or discard the input target packet to the holding unit.

これにより、ランダム初期検出による入力対象パケットの廃棄の簡便化を図ることができる。 As a result, it is possible to simplify the disposal of the input target packet by the random initial detection.

(7)上記(6)のコアスイッチCにおいて、入力判定部1803は、記録帯域よりも大きい帯域に対応する第1データ量を特定の第1データ量として特定し、特定の第1データ量に対応する第2データ量を特定の第2データ量として特定し、特定の第1データ量に対応する廃棄確率を特定の廃棄確率として特定する。 (7) In the core switch C of (6) above, the input determination unit 1803 specifies a first data amount corresponding to a band larger than the recording band as a specific first data amount, and sets the first data amount to a specific first data amount. The corresponding second data amount is specified as a specific second data amount, and the disposal probability corresponding to the specific first data amount is specified as a specific disposal probability.

これにより、ランダム初期検出において、特定の第1データ量を、記録帯域に対応する第1データ量よりも小さく設定することができ、入力対象パケットが廃棄されやすくなる。 As a result, in the random initial detection, the specific first data amount can be set smaller than the first data amount corresponding to the recording band, and the input target packet is likely to be discarded.

(8)上記(7)のコアスイッチCにおいて、入力判定部1803は、記録帯域よりも大きい帯域の中で最小の帯域に対応する第1データ量を特定の第1データ量として特定する。これにより、ランダム初期検出において、記録帯域に対応する第1データ量よりも小さい特定の第1データ量の低下を抑制することができ、入力対象パケットの廃棄されやすさと、入力のされやすさとのバランスを保つことができる。 (8) In the core switch C of the above (7), the input determination unit 1803 specifies the first data amount corresponding to the smallest band among the bands larger than the recording band as a specific first data amount. As a result, in the random initial detection, it is possible to suppress a decrease in a specific first data amount smaller than the first data amount corresponding to the recording band, and the ease of discarding the input target packet and the ease of input are achieved. You can keep the balance.

(9)上記(6)のコアスイッチCにおいて、入力判定部1803は、取得データ量が特定の第2データ量よりも小さい場合、入力対象データを保持部に入力する。これにより、ランダム初期検出において、滞留キュー長を伸張させることができる。 (9) In the core switch C of the above (6), when the acquired data amount is smaller than the specific second data amount, the input determination unit 1803 inputs the input target data to the holding unit. As a result, the retention queue length can be extended in the random initial detection.

(10)上記(6)のコアスイッチCにおいて、入力判定部1803は、対応情報において特定の第2データ量が特定の第2データ量未満に設定されている場合で、かつ、取得データ量が特定の第2データ量以上で、かつ、特定の第1データ量よりも小さい場合、特定の廃棄確率に基づいて、入力対象データを保持部に入力するか廃棄するかを判定する。 (10) In the core switch C of the above (6), the input determination unit 1803 is in the case where the specific second data amount is set to less than the specific second data amount in the corresponding information, and the acquired data amount is When the amount of data is equal to or greater than the specific amount of second data and smaller than the amount of specific first data, it is determined whether to input or discard the input target data to the holding unit based on the specific discard probability.

これにより、ランダム初期検出において、滞留キュー長の伸縮制御を簡略化することができる。 This makes it possible to simplify the expansion / contraction control of the retention queue length in the random initial detection.

(11)上記(6)のコアスイッチCにおいて、入力判定部1803は、取得データ量が特定の第1データ量以上である場合、入力対象データを廃棄する。これにより、ランダム初期検出において、滞留キュー長の伸張を抑制することができる。 (11) In the core switch C of the above (6), the input determination unit 1803 discards the input target data when the acquired data amount is equal to or larger than the specific first data amount. As a result, it is possible to suppress the extension of the retention queue length in the random initial detection.

(12)上記(1)のコアスイッチCにおいて、たとえば、実施例1および実施例3に示したように、回線に接続され、取得データ量の合計帯域が回線の残存帯域よりも小さい場合、保持部に蓄積されたパケットを入力順に回線に送信する回線送信部902を有する。 (12) In the core switch C of the above (1), for example, as shown in the first and third embodiments, when the total band of the acquired data amount is smaller than the remaining band of the line, it is retained. It has a line transmission unit 902 that transmits packets accumulated in the unit to the line in the order of input.

これにより、帯域が大きいフローほど、そのフローに属するパケット300が優先して廃棄され、結果的に複数フロー間で帯域を公平制御することができる。 As a result, the larger the bandwidth, the more preferentially the packets 300 belonging to the flow are discarded, and as a result, the bandwidth can be fairly controlled among the plurality of flows.

(13)パケット300を転送する転送装置の一例であるコアスイッチCは、たとえば、実施例2に示したように、帯域別に設けられ、該当する帯域のパケットを入力順に蓄積し入力順に出力可能な複数の保持部(たとえば、複数の送信キュー901)と、入力対象パケットに記録されている記録帯域に基づいて、複数の保持部のうち入力対象パケットをいずれの保持部に入力すべきかを判定する入力判定部1603と、を有する。 (13) The core switch C, which is an example of a transfer device that transfers packets 300, is provided for each band, for example, as shown in the second embodiment, and can accumulate packets in the corresponding band in the input order and output them in the input order. Based on the plurality of holding units (for example, a plurality of transmission queues 901) and the recording band recorded in the input target packet, it is determined which of the plurality of holding units the input target packet should be input to. It has an input determination unit 1603 and.

これにより、帯域941別に、滞留キュー長を伸縮制御することができる。 Thereby, the expansion / contraction control of the retention queue length can be performed for each band 941.

(14)上記(13)のコアスイッチCは、複数の保持部の各々の識別情報(たとえば、送信キュー番号1642)と識別情報ごとに異なる帯域941とを対応付けた対応情報(たとえばキュー番号表1604)を記憶する記憶部を有し、入力判定部1603は、記録帯域に応じて特定の識別情報を対応情報から特定し、複数の保持部のうち特定の識別情報によって特定される保持部に入力対象パケットを入力する。 (14) The core switch C of the above (13) has correspondence information (for example, a queue number table) in which the identification information (for example, transmission queue number 1642) of each of the plurality of holding units and the band 941 different for each identification information are associated with each other. It has a storage unit that stores 1604), and the input determination unit 1603 identifies specific identification information from the corresponding information according to the recording band, and is a holding unit specified by the specific identification information among the plurality of holding units. Input the input target packet.

これにより、帯域941別に、滞留キュー長を伸張させることができる。 As a result, the retention queue length can be extended for each band 941.

(15)上記(13)のコアスイッチCは、回線に接続され、複数の保持部からのパケット300を回線に送信する回線送信部1602を有し、回線送信部1602は、複数の保持部のうち第1保持部よりも帯域が小さい第2保持部に蓄積されたパケット300を入力順に回線に送信する。 (15) The core switch C of the above (13) has a line transmission unit 1602 connected to a line and transmitting packets 300 from a plurality of holding units to the line, and the line transmission unit 1602 has a plurality of holding units. Among them, the packets 300 stored in the second holding unit, which has a smaller band than the first holding unit, are transmitted to the line in the order of input.

これにより、帯域941が小さい保持部に滞留するパケット300ほど優先的に送信されるため、結果的に複数フロー間で帯域を公平制御することができる。 As a result, the packets 300 in which the band 941 stays in the small holding unit are preferentially transmitted, and as a result, the band can be fairly controlled among the plurality of flows.

(16)パケット300を転送する転送装置の一例であるエッジスイッチEは、たとえば、実施例1に示したように、複数の通信装置(たとえば、サーバーSやコアスイッチC)の各々と通信可能に接続される複数の通信部(たとえば、インターフェース部104)と、フローを特定するフロー特定情報(たとえば、受信インターフェース221および送信元アドレス222)とフローごとに異なる帯域計測番号223とを対応付けた対応情報(たとえば、フロー表202)と、帯域計測番号223ごとに帯域230が加算される帯域情報(たとえば、帯域表203)と、を記憶する記憶部と、対応情報を参照して、複数の通信部のいずれかからの判定対象パケットに含まれているフロー特定情報に基づいて、判定対象パケットの帯域計測番号223を特定し、帯域情報において判定対象パケットの帯域計測番号223に対応する帯域230に、判定対象パケットのサイズ(たとえば、1250Byte)を加算し、サイズが加算された加算後の帯域230を判定対象パケットに記録するフロー判定部111と、フロー判定部111によってフローが判定された判定対象パケットの宛先アドレスに基づいて、宛先アドレスで特定される特定の通信装置(たとえば、コアスイッチC)に接続される特定の通信部を決定する転送先決定部112と、を有する。 (16) The edge switch E, which is an example of a transfer device that transfers the packet 300, can communicate with each of a plurality of communication devices (for example, server S and core switch C), for example, as shown in the first embodiment. Correspondence in which a plurality of connected communication units (for example, interface unit 104) are associated with flow specific information (for example, reception interface 221 and source address 222) that specifies a flow and a band measurement number 223 that is different for each flow. A plurality of communications with reference to the storage unit that stores the information (for example, the flow table 202) and the band information (for example, the band table 203) in which the band 230 is added for each band measurement number 223, and the corresponding information. The band measurement number 223 of the judgment target packet is specified based on the flow identification information included in the judgment target packet from any of the units, and the band 230 corresponding to the band measurement number 223 of the judgment target packet in the band information is assigned. , The flow determination unit 111 that adds the size of the determination target packet (for example, 1250 Byte) and records the added band 230 in the determination target packet, and the determination target for which the flow is determined by the flow determination unit 111. It has a transfer destination determination unit 112 that determines a specific communication unit connected to a specific communication device (for example, core switch C) specified by the destination address based on the destination address of the packet.

これにより、判定対象パケットの転送先のコアスイッチCは、転送されてくる判定対象パケットの記録帯域を用いて、フロー判定および滞留キュー長の伸縮制御を行うことができる。 As a result, the core switch C at the transfer destination of the determination target packet can perform flow determination and expansion / contraction control of the retention queue length by using the recording band of the transfer target packet.

(17)上記(16)のエッジスイッチEにおいて、フロー判定部111は、所定時間単位で帯域情報の帯域をリセットする。これにより、帯域230の過剰な増加を抑制することができ、フローごとに帯域230を均等に分散することができる。 (17) In the edge switch E of the above (16), the flow determination unit 111 resets the band of the band information in predetermined time units. As a result, it is possible to suppress an excessive increase in the band 230, and the band 230 can be evenly distributed for each flow.

(18)上記(16)のエッジスイッチEにおいて、対応情報(たとえば、フロー表202)は、帯域230を重み付けする帯域記録係数224を対応付けており、フロー判定部111は、対応情報を参照して、フロー特定情報に基づいて、判定対象パケットの帯域計測番号および帯域記録係数を特定し、帯域情報において判定対象パケットの帯域計測番号223に対応する帯域に、判定対象パケットのサイズに判定対象パケットの帯域記録係数224を乗じた値を加算し、サイズが加算された加算後の帯域230を判定対象パケットに記録する。 (18) In the edge switch E of the above (16), the correspondence information (for example, the flow table 202) is associated with the band recording coefficient 224 that weights the band 230, and the flow determination unit 111 refers to the correspondence information. Then, the band measurement number and the band recording coefficient of the judgment target packet are specified based on the flow specific information, and the judgment target packet is set to the band corresponding to the band measurement number 223 of the judgment target packet in the band information and the size of the judgment target packet. The value obtained by multiplying the band recording coefficient 224 of the above is added, and the added band 230 to which the size is added is recorded in the determination target packet.

これにより、フロー別に帯域230を重み付けすることができる。たとえば、帯域記録係数224の値が小さいほどそのパケットが送信されやすくなり通信コストが上昇する。 Thereby, the band 230 can be weighted for each flow. For example, the smaller the value of the bandwidth recording coefficient 224, the easier it is for the packet to be transmitted, and the higher the communication cost.

(19)上記(18)のエッジスイッチEでは、対応情報において、第1帯域計測番号223に対応する第1帯域記録係数224と、第1帯域計測番号223とは異なる第2帯域計測番号223に対応する第2帯域記録係数224と、が異なる。 (19) In the edge switch E of the above (18), in the correspondence information, the first band recording coefficient 224 corresponding to the first band measurement number 223 and the second band measurement number 223 different from the first band measurement number 223 are set. Is different from the corresponding second band recording coefficient 224.

これにより、帯域記録係数224の差異により、フローごとに通信コストが異なるように設定することができる。 As a result, the communication cost can be set to be different for each flow due to the difference in the band recording coefficient 224.

(20)転送システムは、上記(16)のエッジスイッチEと、上記(1)のコアスイッチCと、を有する。これにより、ネットワークのエッジスイッチEが、ネットワーク外部から受信したパケット300をフローに分別し、フロー個別に帯域を計測し、パケット300に帯域を記録する。コアスイッチCは、パケット300を転送するにあたり、パケット300の記録帯域を参照し、記録帯域が小さなパケットを優先して送信する。 (20) The transfer system includes the edge switch E of the above (16) and the core switch C of the above (1). As a result, the edge switch E of the network separates the packet 300 received from the outside of the network into flows, measures the bandwidth for each flow, and records the bandwidth in the packet 300. When transferring the packet 300, the core switch C refers to the recording band of the packet 300 and preferentially transmits a packet having a small recording band.

これにより、コアスイッチCにおいて回線帯域よりも該当回線へ送信すべきトラフィックの合計帯域の方が大きい場合に、記録帯域が大きなパケットを廃棄することができる。結果として帯域の大きなフローのパケット300が優先して廃棄されるので、結果的に複数フロー間で帯域を公平制御できる。 As a result, when the total bandwidth of the traffic to be transmitted to the corresponding line is larger than the line bandwidth in the core switch C, the packet having a large recording bandwidth can be discarded. As a result, the packet 300 of the flow having a large bandwidth is preferentially discarded, and as a result, the bandwidth can be fairly controlled among the plurality of flows.

101 制御部
102 パケット処理部
104 インターフェース部
110 パケットバッファー
111 フロー判定部
112 転送先決定部
113 受信部
114 送信部
201 フロー判定処理部
202 フロー表
203 帯域表
204 帯域リセット部
221 受信インターフェース
222 送信元アドレス
223 帯域計測番号
224 帯域記録係数
230 帯域
300 パケット
801 制御部
802 パケット処理部
804 インターフェース部
810 パケットバッファー
812 転送先決定部
813 受信部
814 送信部
901 送信キュー
902 回線送信部
903 入力判定部
904 廃棄優先度表
941 帯域
942 廃棄キュー長
1102 フロー表
1502 フロー表
1602 回線送信部
1603 入力判定部
1604 キュー番号表
1642 送信キュー番号
1803 入力判定部
1804 ランダム廃棄優先度表
1842 廃棄確定キュー長
1843 ランダム廃棄キュー長
1844 ランダム廃棄確率
C コアスイッチ
E エッジスイッチ
S サーバー
101 Control unit 102 Packet processing unit 104 Interface unit 110 Packet buffer 111 Flow judgment unit 112 Transfer destination determination unit 113 Reception unit 114 Transmission unit 201 Flow judgment processing unit 202 Flow table 203 Band table 204 Band reset unit 221 Reception interface 222 Source address 223 Band measurement number 224 Band recording coefficient 230 Band 300 Packet 801 Control unit 802 Packet processing unit 804 Interface unit 810 Packet buffer 812 Transfer destination determination unit 813 Reception unit 814 Transmission unit 901 Transmission queue 902 Line transmission unit 903 Input judgment unit 904 Discard priority Degree Table 941 Band 942 Discard Queue Length 1102 Flow Table 1502 Flow Table 1602 Line Transmitter 1603 Input Judgment Unit 1604 Queue Number Table 1642 Transmission Queue Number 1803 Input Judgment Unit 1804 Random Discard Priority Table 1842 Discard Confirmed Queue Length 1843 Random Discard Queue Length 1844 Random discard probability C Core switch E Edge switch S Server

Claims (21)

データを転送する転送装置であって、
前記データを入力順に蓄積し前記入力順に出力可能な保持部と、
前記保持部に蓄積された第1データ量が多いほど帯域が小さくなるように前記第1データ量と前記帯域とを対応付けた対応情報を記憶する記憶部と、
前記保持部への入力対象データに記録されている記録帯域に応じて特定の第1データ量を前記対応情報から特定し、前記特定の第1データ量と、前記保持部からの取得データ量と、に基づいて、前記入力対象データを前記保持部に入力するか廃棄するかを判定する入力判定部と、
を有することを特徴とする転送装置。
A transfer device that transfers data
A holding unit that can store the data in the input order and output it in the input order,
A storage unit that stores correspondence information in which the first data amount and the band are associated with each other so that the band becomes smaller as the amount of the first data stored in the holding unit increases.
A specific first data amount is specified from the corresponding information according to the recording band recorded in the data to be input to the holding unit, and the specific first data amount and the acquired data amount from the holding unit are used. Based on, an input determination unit that determines whether to input or discard the input target data to the holding unit, and
A transfer device characterized by having.
請求項1に記載の転送装置であって、
前記入力判定部は、前記記録帯域よりも大きい帯域に対応する第1データ量を前記特定の第1データ量として特定する、
ことを特徴とする転送装置。
The transfer device according to claim 1.
The input determination unit specifies a first data amount corresponding to a band larger than the recording band as the specific first data amount.
A transfer device characterized by that.
請求項2に記載の転送装置であって、
前記入力判定部は、前記記録帯域よりも大きい帯域の中で最小の帯域に対応する第1データ量を前記特定の第1データ量として特定する、
ことを特徴とする転送装置。
The transfer device according to claim 2.
The input determination unit specifies the first data amount corresponding to the smallest band among the bands larger than the recording band as the specific first data amount.
A transfer device characterized by that.
請求項1に記載の転送装置であって、
前記入力判定部は、前記取得データ量が前記特定の第1データ量がよりも小さい場合、前記入力対象データを前記保持部に入力する、
ことを特徴とする転送装置。
The transfer device according to claim 1.
When the acquired data amount is smaller than the specific first data amount, the input determination unit inputs the input target data to the holding unit.
A transfer device characterized by that.
請求項1に記載の転送装置であって、
前記入力判定部は、前記取得データ量が前記特定の第1データ量以上である場合、前記入力対象データを廃棄する、
ことを特徴とする転送装置。
The transfer device according to claim 1.
When the acquired data amount is equal to or larger than the specific first data amount, the input determination unit discards the input target data.
A transfer device characterized by that.
請求項1に記載の転送装置であって、
前記対応情報は、前記第1データ量と、前記第1データ量以下の第2データ量と、前記入力対象データの廃棄確率と、前記帯域と、を対応付けており、
前記入力判定部は、前記記録帯域に応じて特定の第1データ量、特定の第2データ量、および特定の廃棄確率を前記対応情報から特定し、前記特定の第1データ量、前記特定の第2データ量、および前記特定の廃棄確率と、前記保持部からの取得データ量と、に基づいて、前記入力対象データを前記保持部に入力するか廃棄するかを判定する、
ことを特徴とする転送装置。
The transfer device according to claim 1.
The corresponding information associates the first data amount, the second data amount equal to or less than the first data amount, the discard probability of the input target data, and the band.
The input determination unit specifies a specific first data amount, a specific second data amount, and a specific disposal probability from the corresponding information according to the recording band, and the specific first data amount and the specific Based on the second data amount, the specific discard probability, and the amount of data acquired from the holding unit, it is determined whether to input or discard the input target data to the holding unit.
A transfer device characterized by that.
請求項6に記載の転送装置であって、
前記入力判定部は、前記記録帯域よりも大きい帯域に対応する第1データ量を前記特定の第1データ量として特定し、前記特定の第1データ量に対応する第2データ量を前記特定の第2データ量として特定し、前記特定の第1データ量に対応する廃棄確率を前記特定の廃棄確率として特定する、
ことを特徴とする転送装置。
The transfer device according to claim 6.
The input determination unit specifies a first data amount corresponding to a band larger than the recording band as the specific first data amount, and a second data amount corresponding to the specific first data amount is the specific amount. It is specified as the second data amount, and the disposal probability corresponding to the specific first data amount is specified as the specific disposal probability.
A transfer device characterized by that.
請求項7に記載の転送装置であって、
前記入力判定部は、前記記録帯域よりも大きい帯域の中で最小の帯域に対応する第1データ量を前記特定の第1データ量として特定する、
ことを特徴とする転送装置。
The transfer device according to claim 7.
The input determination unit specifies the first data amount corresponding to the smallest band among the bands larger than the recording band as the specific first data amount.
A transfer device characterized by that.
請求項6に記載の転送装置であって、
前記入力判定部は、前記取得データ量が前記特定の第2データ量よりも小さい場合、前記入力対象データを前記保持部に入力する、
ことを特徴とする転送装置。
The transfer device according to claim 6.
When the acquired data amount is smaller than the specific second data amount, the input determination unit inputs the input target data to the holding unit.
A transfer device characterized by that.
請求項6に記載の転送装置であって、
前記入力判定部は、前記対応情報において前記特定の第2データ量が前記特定の第2データ量未満に設定されている場合で、かつ、前記取得データ量が前記特定の第2データ量以上で、かつ、前記特定の第1データ量よりも小さい場合、前記特定の廃棄確率に基づいて、前記入力対象データを前記保持部に入力するか廃棄するかを判定する、
ことを特徴とする転送装置。
The transfer device according to claim 6.
In the input determination unit, when the specific second data amount is set to be less than the specific second data amount in the corresponding information and the acquired data amount is equal to or more than the specific second data amount. If it is smaller than the specific first data amount, it is determined whether to input or discard the input target data to the holding unit based on the specific discard probability.
A transfer device characterized by that.
請求項6に記載の転送装置であって、
前記入力判定部は、前記取得データ量が前記特定の第1データ量以上である場合、前記入力対象データを廃棄する、
ことを特徴とする転送装置。
The transfer device according to claim 6.
When the acquired data amount is equal to or larger than the specific first data amount, the input determination unit discards the input target data.
A transfer device characterized by that.
請求項1に記載の転送装置であって、
回線に接続され、前記取得データ量の合計帯域が前記回線の残存帯域よりも小さい場合、前記保持部に蓄積されたデータを前記入力順に前記回線に送信する送信部と、
を有することを特徴とする転送装置。
The transfer device according to claim 1.
When connected to a line and the total band of the acquired data amount is smaller than the remaining band of the line, a transmission unit that transmits the data accumulated in the holding unit to the line in the input order, and a transmission unit.
A transfer device characterized by having.
データを転送する転送装置であって、
帯域別に設けられ、該当する帯域のデータを入力順に蓄積し前記入力順に出力可能な複数の保持部と、
入力対象データに記録されている記録帯域に基づいて、前記複数の保持部のうち前記入力対象データをいずれの保持部に入力すべきかを判定する入力判定部と、
を有することを特徴とする転送装置。
A transfer device that transfers data
A plurality of holding units provided for each band, which can store data of the corresponding band in the input order and output in the input order, and
An input determination unit that determines to which of the plurality of holding units the input target data should be input based on the recording band recorded in the input target data.
A transfer device characterized by having.
請求項13に記載の転送装置であって、
前記複数の保持部の各々の識別情報と前記識別情報ごとに異なる帯域とを対応付けた対応情報を記憶する記憶部を有し、
前記入力判定部は、前記記録帯域に応じて特定の識別情報を前記対応情報から特定し、前記複数の保持部のうち前記特定の識別情報によって特定される保持部に前記入力対象データを入力する、
ことを特徴とする転送装置。
The transfer device according to claim 13.
It has a storage unit that stores the identification information of each of the plurality of holding units and the corresponding information in which different bands are associated with each identification information.
The input determination unit identifies specific identification information from the corresponding information according to the recording band, and inputs the input target data to the holding unit specified by the specific identification information among the plurality of holding units. ,
A transfer device characterized by that.
請求項13に記載の転送装置であって、
回線に接続され、前記複数の保持部からのデータを前記回線に送信する送信部を有し、
前記送信部は、前記複数の保持部のうち第1保持部よりも帯域が小さい第2保持部に蓄積されたデータを前記入力順に前記回線に送信する、
ことを特徴とする転送装置。
The transfer device according to claim 13.
It has a transmitter that is connected to the line and transmits data from the plurality of holdings to the line.
The transmitting unit transmits data stored in the second holding unit having a band smaller than that of the first holding unit among the plurality of holding units to the line in the input order.
A transfer device characterized by that.
データを転送する転送装置であって、
複数の通信装置の各々と通信可能に接続される複数の通信部と、
フローを特定するフロー特定情報と前記フローごとに異なる帯域計測番号とを対応付けた対応情報と、前記帯域計測番号ごとに帯域が加算される帯域情報と、を記憶する記憶部と、
前記対応情報を参照して、前記複数の通信部のいずれかからの判定対象データに含まれているフロー特定情報に基づいて、前記判定対象データの帯域計測番号を特定し、前記帯域情報において前記判定対象データの帯域計測番号に対応する帯域に、前記判定対象データのサイズを加算し、前記サイズが加算された加算後の帯域を前記判定対象データに記録するフロー判定部と、
前記フロー判定部によってフローが判定された前記判定対象データの宛先アドレスに基づいて、前記宛先アドレスで特定される特定の通信装置に接続される特定の通信部を決定する転送先決定部と、
を有することを特徴とする転送装置。
A transfer device that transfers data
Multiple communication units that are communicably connected to each of the multiple communication devices,
A storage unit that stores the corresponding information in which the flow specific information for specifying the flow and the band measurement number different for each flow are associated with each other, and the band information in which the band is added for each band measurement number.
With reference to the corresponding information, the band measurement number of the determination target data is specified based on the flow identification information included in the determination target data from any of the plurality of communication units, and the band measurement number is specified in the band information. A flow determination unit that adds the size of the determination target data to the band corresponding to the band measurement number of the determination target data and records the added band to which the size is added in the determination target data.
A transfer destination determination unit that determines a specific communication unit connected to a specific communication device specified by the destination address based on the destination address of the determination target data whose flow is determined by the flow determination unit.
A transfer device characterized by having.
請求項16に記載の転送装置であって、
前記フロー判定部は、所定時間単位で前記帯域情報の帯域をリセットする、
ことを特徴とする転送装置。
The transfer device according to claim 16.
The flow determination unit resets the band of the band information in predetermined time units.
A transfer device characterized by that.
請求項16に記載の転送装置であって、
前記対応情報は、前記帯域を重み付けする帯域記録係数を対応付けており、
前記フロー判定部は、前記対応情報を参照して、前記フロー特定情報に基づいて、前記判定対象データの帯域計測番号および帯域記録係数を特定し、前記帯域情報において前記判定対象データの帯域計測番号に対応する帯域に、前記判定対象データのサイズに前記判定対象データの帯域記録係数を乗じた値を加算し、前記サイズが加算された加算後の帯域を前記判定対象データに記録する、
ことを特徴とする転送装置。
The transfer device according to claim 16.
The correspondence information is associated with a band recording coefficient that weights the band.
The flow determination unit specifies the band measurement number and the band recording coefficient of the determination target data based on the flow identification information with reference to the corresponding information, and the band measurement number of the determination target data in the band information. The value obtained by multiplying the size of the determination target data by the band recording coefficient of the determination target data is added to the band corresponding to, and the added band to which the size is added is recorded in the determination target data.
A transfer device characterized by that.
請求項18に記載の転送装置であって、
前記対応情報において、第1帯域計測番号に対応する第1帯域記録係数と、前記第1帯域計測番号とは異なる第2帯域計測番号に対応する第2帯域記録係数と、が異なる、
ことを特徴とする転送装置。
The transfer device according to claim 18.
In the corresponding information, the first band recording coefficient corresponding to the first band measurement number and the second band recording coefficient corresponding to the second band measurement number different from the first band measurement number are different.
A transfer device characterized by that.
第1転送装置と、前記第1転送装置と通信可能に接続される第2転送装置と、を有する転送システムであって、
前記第1転送装置は、
複数の通信装置の各々と通信可能に接続される複数の通信部と、
フローを特定するフロー特定情報と前記フローごとに異なる帯域計測番号とを対応付けた対応情報と、前記帯域計測番号ごとに帯域が加算される帯域情報と、を記憶する記憶部と、
前記対応情報を参照して、前記複数の通信部のいずれかからの判定対象データに含まれているフロー特定情報に基づいて、前記判定対象データの帯域計測番号を特定し、前記帯域情報において前記判定対象データの帯域計測番号に対応する帯域に、前記判定対象データのサイズを加算し、前記サイズが加算された加算後の帯域を前記判定対象データに記録するフロー判定部と、
前記フロー判定部によってフローが判定された前記判定対象データの宛先アドレスに基づいて、前記複数の通信装置のうち前記宛先アドレスで特定される前記第2転送装置に接続される特定の通信部を決定する転送先決定部と、を有し、
前記第2転送装置は、
前記第1転送装置からのデータを入力順に蓄積し前記入力順に出力可能な保持部と、
前記保持部に蓄積された第1データ量が多いほど帯域が小さくなるように前記データ量と前記帯域とを対応付けた対応情報を記憶する記憶部と、
前記第1転送装置からの前記保持部への入力対象データに記録されている記録帯域に応じて特定のデータ量を前記対応情報から特定し、前記特定のデータ量と、前記保持部からの取得データ量と、に基づいて、前記入力対象データを前記保持部に入力するか廃棄するかを判定する入力判定部と、
を有することを特徴とする転送システム。
A transfer system including a first transfer device and a second transfer device communicatively connected to the first transfer device.
The first transfer device is
Multiple communication units that are communicably connected to each of the multiple communication devices,
A storage unit that stores the corresponding information in which the flow specific information for specifying the flow and the band measurement number different for each flow are associated with each other, and the band information in which the band is added for each band measurement number.
With reference to the corresponding information, the band measurement number of the determination target data is specified based on the flow identification information included in the determination target data from any of the plurality of communication units, and the band measurement number is specified in the band information. A flow determination unit that adds the size of the determination target data to the band corresponding to the band measurement number of the determination target data and records the added band to which the size is added in the determination target data.
Based on the destination address of the determination target data whose flow is determined by the flow determination unit, a specific communication unit connected to the second transfer device specified by the destination address is determined among the plurality of communication devices. Has a transfer destination determination unit and
The second transfer device is
A holding unit capable of accumulating data from the first transfer device in the order of input and outputting the data in the order of input,
A storage unit that stores correspondence information in which the data amount and the band are associated with each other so that the band becomes smaller as the amount of the first data stored in the holding unit increases.
A specific amount of data is specified from the corresponding information according to the recording band recorded in the data to be input to the holding unit from the first transfer device, and the specific amount of data and the acquisition from the holding unit are obtained. An input determination unit that determines whether to input or discard the input target data to the holding unit based on the amount of data.
A transfer system characterized by having.
複数の通信装置の各々と通信可能に接続される複数の通信部によるデータ転送をプロセッサに実行させる転送プログラムであって、
前記プロセッサは、フローを特定するフロー特定情報と前記フローごとに異なる帯域計測番号とを対応付けた対応情報と、前記帯域計測番号ごとに帯域が加算される帯域情報と、を記憶する記憶部にアクセス可能であり、
前記プロセッサに、
前記対応情報を参照して、前記複数の通信部のいずれかからの判定対象データに含まれているフロー特定情報に基づいて、前記判定対象データの帯域計測番号を特定し、前記帯域情報において前記判定対象データの帯域計測番号に対応する帯域に、前記判定対象データのサイズを加算し、前記サイズが加算された加算後の帯域を前記判定対象データに記録するフロー判定処理と、
前記フロー判定処理によってフローが判定された前記判定対象データの宛先アドレスに基づいて、前記宛先アドレスで特定される特定の通信装置に接続される特定の通信部を決定する転送先決定処理と、
を実行させることを特徴とする転送プログラム。
A transfer program that causes a processor to execute data transfer by multiple communication units that are communicably connected to each of a plurality of communication devices.
The processor stores, in a storage unit, stores correspondence information in which flow specific information for specifying a flow is associated with a band measurement number different for each flow, and band information in which a band is added for each band measurement number. It is accessible and
To the processor
With reference to the corresponding information, the band measurement number of the determination target data is specified based on the flow identification information included in the determination target data from any of the plurality of communication units, and the band measurement number is specified in the band information. A flow judgment process in which the size of the judgment target data is added to the band corresponding to the band measurement number of the judgment target data, and the added band to which the size is added is recorded in the judgment target data.
A transfer destination determination process for determining a specific communication unit connected to a specific communication device specified by the destination address based on the destination address of the determination target data whose flow is determined by the flow determination process.
A transfer program characterized by executing.
JP2019192048A 2019-10-21 2019-10-21 Transfer device, transfer system, and transfer program Active JP7441024B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019192048A JP7441024B2 (en) 2019-10-21 2019-10-21 Transfer device, transfer system, and transfer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019192048A JP7441024B2 (en) 2019-10-21 2019-10-21 Transfer device, transfer system, and transfer program

Publications (3)

Publication Number Publication Date
JP2021068973A true JP2021068973A (en) 2021-04-30
JP2021068973A5 JP2021068973A5 (en) 2022-08-26
JP7441024B2 JP7441024B2 (en) 2024-02-29

Family

ID=75637559

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019192048A Active JP7441024B2 (en) 2019-10-21 2019-10-21 Transfer device, transfer system, and transfer program

Country Status (1)

Country Link
JP (1) JP7441024B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001326688A (en) * 2000-05-17 2001-11-22 Hitachi Ltd Shaping device
JP2004048450A (en) * 2002-07-12 2004-02-12 Nippon Telegr & Teleph Corp <Ntt> Stream distribution method, client terminal, device, system, program, and recording medium recording the program
JP2005210606A (en) * 2004-01-26 2005-08-04 Ntt Communications Kk Communication apparatus, priority control method, and program for performing priority control of packet
US20110051604A1 (en) * 2009-08-25 2011-03-03 Fujitsu Limited Packet relay device and congestion control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001326688A (en) * 2000-05-17 2001-11-22 Hitachi Ltd Shaping device
JP2004048450A (en) * 2002-07-12 2004-02-12 Nippon Telegr & Teleph Corp <Ntt> Stream distribution method, client terminal, device, system, program, and recording medium recording the program
JP2005210606A (en) * 2004-01-26 2005-08-04 Ntt Communications Kk Communication apparatus, priority control method, and program for performing priority control of packet
US20110051604A1 (en) * 2009-08-25 2011-03-03 Fujitsu Limited Packet relay device and congestion control method

Also Published As

Publication number Publication date
JP7441024B2 (en) 2024-02-29

Similar Documents

Publication Publication Date Title
US8064344B2 (en) Flow-based queuing of network traffic
KR101720259B1 (en) An apparatus and a method of receiving and storing data packets controlled by a central controller
US10855606B2 (en) Information processing apparatus and information processing system
US7319669B1 (en) Method and system for controlling packet flow in networks
US8520522B1 (en) Transmit-buffer management for priority-based flow control
US7870291B1 (en) Packet prioritization systems and methods using address aliases
CN109547341B (en) Load sharing method and system for link aggregation
US8121120B2 (en) Packet relay apparatus
US20110267952A1 (en) Dynamic latency-based rerouting
US9407581B2 (en) Distributed processing of data frames by multiple adapters using time stamping and a central controller
KR101716832B1 (en) An assembly and a method of receiving and storing data while saving bandwidth by controlling updating of fill levels of queues
US9450851B2 (en) Communication apparatus and method
JP2014517571A (en) Hierarchical scheduling and shaping
US8392672B1 (en) Identifying unallocated memory segments
US8929372B2 (en) Grid router
WO2018036173A1 (en) Network load balancing method, device and system
JP7654835B2 (en) Packet transmission method and network device
CN113746751A (en) Communication method and device
JP7103883B2 (en) Communication systems, communication control methods, and communication devices
JP2012015667A (en) Packet relay device
CN111416776A (en) Method and network device for transmitting data
KR20120055947A (en) Method and apparatus for providing Susbscriber-aware per flow
JP2021068973A (en) Transfer device, transfer system, and transfer program
JP7251060B2 (en) Information processing device, information processing system and information processing program
JP2019009630A (en) Network load distribution device and method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220818

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220818

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230613

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230721

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231024

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231120

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240130

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240216

R150 Certificate of patent or registration of utility model

Ref document number: 7441024

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150