JP5349242B2 - Packet switching apparatus and packet switching method - Google Patents
Packet switching apparatus and packet switching method Download PDFInfo
- Publication number
- JP5349242B2 JP5349242B2 JP2009235322A JP2009235322A JP5349242B2 JP 5349242 B2 JP5349242 B2 JP 5349242B2 JP 2009235322 A JP2009235322 A JP 2009235322A JP 2009235322 A JP2009235322 A JP 2009235322A JP 5349242 B2 JP5349242 B2 JP 5349242B2
- Authority
- JP
- Japan
- Prior art keywords
- packet
- amount
- transmission
- control unit
- resource management
- 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.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
この発明は、パケット交換方式を利用した通信網で用いられるノード装置としてのパケット交換装置と、そのパケット交換装置で実施されるパケット交換方法に関する。 The present invention relates to a packet switching device as a node device used in a communication network using a packet switching method, and a packet switching method implemented by the packet switching device.
LAN(Local Area Network)やインターネットなどのネットワークは、パケット交換方式と呼ばれる通信方式を利用した通信網である。これらのネットワークでは、ノード装置としてパケット交換装置が使用される。パケット交換方式は、情報をパケットと呼ばれる単位に分割して送信する。このため、パケット単位での待ち合わせが可能となり、複数のユーザで回線を共有し、効率よく並列に転送することができる。また、パケット交換装置の記憶部に一旦パケットを蓄積して転送するので、様々な通信状況に対応できるインテリジェントなネットワークを構築することができる。 A network such as a LAN (Local Area Network) or the Internet is a communication network using a communication method called a packet switching method. In these networks, a packet switching device is used as a node device. In the packet switching method, information is divided into units called packets and transmitted. This makes it possible to wait in units of packets, share a line among a plurality of users, and efficiently transfer in parallel. In addition, since packets are temporarily stored and transferred to the storage unit of the packet switching apparatus, an intelligent network that can cope with various communication situations can be constructed.
一方、近年、ネットワークを利用して提供されるサービスやアプリケーションの多様化に伴って、様々な通信品質を保証する必要性が高まってきている。通信品質には、データ廃棄率、伝搬遅延、伝搬遅延揺らぎなどがある。たとえば、リアルタイム性を必要とする音声/動画通信では、低廃棄率、低遅延及び低遅延ゆらぎの保証が要求される。一方、それほどリアルタイム性を必要としないデータ通信では、低廃棄率の保証が要求される。 On the other hand, in recent years, with the diversification of services and applications provided using a network, there is an increasing need to guarantee various communication qualities. Communication quality includes data discard rate, propagation delay, propagation delay fluctuation and the like. For example, in audio / video communication that requires real-time performance, guarantee of a low discard rate, low delay, and low delay fluctuation is required. On the other hand, in data communication that does not require real-time performance, a low discard rate guarantee is required.
サービスやアプリケーションの違いによって、それぞれの通信品質レベルを保証するために、サービスやアプリケーションごとに優先度を定め、その優先度に従って、パケットを出力する優先制御機能を有するパケット交換装置の必要性が高まってきている。 Due to differences in services and applications, there is an increasing need for packet switching devices that have a priority control function that sets priority for each service and application and outputs packets according to that priority in order to guarantee each communication quality level. It is coming.
また、通信事業者と利用者の間で、通信サービスに対応する最低帯域を保証したり、最大帯域で利用可能な帯域を制限したりする帯域制御機能も必要となってきている。 In addition, a bandwidth control function that guarantees a minimum bandwidth corresponding to a communication service or limits a bandwidth that can be used at the maximum bandwidth between communication carriers and users is required.
そこで、このような優先制御機能や帯域制御機能を有するパケット交換装置が提案されている(例えば、特許文献1参照)。この特許文献1に開示されているパケット交換装置は、入力インタフェース、出力インタフェース及びパケット交換部を備えて構成されている。入力インタフェースは、受信したユーザパケットを優先度に従って、パケット交換部に転送する。パケット交換部は、入力インタフェースから受け取ったユーザパケットを、その宛先アドレスに基づいて、対応する出力インタフェースに送る。出力インタフェースは、ユーザパケットの優先度に応じたパケットキューと、それらのキューをグループ化したキューグループを有している。各キューグループには、通信サービス契約で定められた最低保証帯域が割り当てられていて、各キューグループからの読出し帯域を制御することにより、最低帯域の保証や、利用者間での余剰帯域の割り当ての公平性を実現している。また、キューグループからの読み出しの際に、キューグループ内の優先度に従って、読出し制御することにより、通信品質レベルが保証される。 Therefore, a packet switching apparatus having such a priority control function and a bandwidth control function has been proposed (for example, see Patent Document 1). The packet switching device disclosed in Patent Document 1 includes an input interface, an output interface, and a packet switching unit. The input interface transfers the received user packet to the packet switching unit according to the priority. The packet switching unit sends the user packet received from the input interface to the corresponding output interface based on the destination address. The output interface has a packet queue corresponding to the priority of user packets and a queue group in which these queues are grouped. Each queue group is allocated the minimum guaranteed bandwidth specified in the communication service contract. By controlling the read bandwidth from each queue group, the minimum bandwidth is guaranteed and the surplus bandwidth is allocated between users. Realization of fairness. Further, when reading from the queue group, the communication quality level is guaranteed by performing read control according to the priority in the queue group.
しかしながら、上述の特許文献1に開示されているパケット交換装置では、複数の入力インタフェースから1つの出力インタフェースにパケットを送るときに、各入力インタフェースからのパケットの合計が、パケット交換部と、出力インタフェースの間の伝送帯域を超過してしまうと、出力インタフェースにパケットが到着する前に、パケット廃棄が発生することになる。このため、帯域制御が不完全になり、最低帯域の保証や、各利用者間の公平性の維持が困難になる。 However, in the packet switching device disclosed in Patent Document 1 described above, when packets are sent from a plurality of input interfaces to one output interface, the total number of packets from each input interface is determined by the packet switching unit and the output interface. If the transmission bandwidth is exceeded, packet discard occurs before the packet arrives at the output interface. For this reason, bandwidth control becomes incomplete, and it becomes difficult to guarantee a minimum bandwidth and maintain fairness among users.
この発明は、上述の問題点に鑑みてなされたものであり、この発明の目的は、出力インタフェースで帯域を管理することにより、最低帯域の保証や、各利用者間の公平性の維持を実現するパケット交換装置及びパケット交換方法を提供することにある。 The present invention has been made in view of the above-described problems, and an object of the present invention is to realize a minimum bandwidth guarantee and maintain fairness among users by managing the bandwidth with an output interface. It is an object to provide a packet switching apparatus and a packet switching method.
上述した目的を達成するために、この発明のパケット交換装置は、それぞれ入力インタフェース及び出力インタフェースを備える、複数の入出力インタフェースと、入力インタフェースから受け取るパケットを、そのパケットの宛先に該当する出力インタフェースに送るパケット交換部とを備えて構成される。 In order to achieve the above-described object, a packet switching apparatus of the present invention includes a plurality of input / output interfaces each having an input interface and an output interface, and a packet received from the input interface as an output interface corresponding to the destination of the packet. And a packet switching unit to be sent.
入力インタフェースは、複数のキューグループ、パケット受信部、キューグループ読出制御部、読出制御部、送信制御部及びスレーブ側帯域制御部を備えている。 The input interface includes a plurality of queue groups, a packet receiving unit, a queue group read control unit, a read control unit, a transmission control unit, and a slave side band control unit.
各キューグループは、それぞれ優先度の異なる複数のパケットキューを有している。パケット受信部は、外部から受信するユーザパケットを識別し、パケットキューに振り分ける。キューグループ読出制御部は、キューグループに対応して設けられ、各キューグループが備えるパケットキューからの読出順を制御する。 Each queue group has a plurality of packet queues having different priorities. The packet receiving unit identifies user packets received from outside and distributes them to the packet queue. The queue group read control unit is provided corresponding to the queue group, and controls the order of reading from the packet queues included in each queue group.
出力インタフェースは、マスター側帯域制御部、送信パケット処理部及び受信制御部を備えて構成される。 The output interface includes a master side bandwidth control unit, a transmission packet processing unit, and a reception control unit.
受信制御部は、パケット交換部から受け取るパケットをユーザパケットと、送信許可量の情報を含むマスターリソースマネジメントパケットと、送信要求量の情報を含むスレーブリソースマネジメントパケットとに分離し、それぞれ、送信パケット処理部、マスター側帯域制御部及びスレーブ側帯域制御部に送る。マスター側帯域制御部は、スレーブリソースマネジメントパケットに含まれる送信要求量に基づいて、マスターリソースマネジメントパケットを生成する。 The reception control unit separates the packet received from the packet switching unit into a user packet, a master resource management packet including information on a transmission permission amount, and a slave resource management packet including information on a transmission request amount. To the master side band control unit and the slave side band control unit. The master side bandwidth control unit generates a master resource management packet based on the transmission request amount included in the slave resource management packet.
スレーブ側帯域制御部は、マスターリソースマネジメントパケットに含まれる送信許可量、及び、読出制御部から受け取る送信量に基づいて、送信可能量を算出する。また、スレーブ側帯域制御部は、送信可能量に基づいて、各キューグループ読出制御部からの読出許可を読出制御部に送る。また、スレーブ側帯域制御部は、送信量と各パケットキューに蓄積されるパケット量に基づいて送信要求量を算出し、送信要求量を含むスレーブリソースマネジメントパケットを生成する。 The slave side bandwidth control unit calculates a transmittable amount based on the transmission permission amount included in the master resource management packet and the transmission amount received from the read control unit. Further, the slave side bandwidth control unit sends the read permission from each queue group read control unit to the read control unit based on the transmittable amount. The slave-side bandwidth control unit calculates a transmission request amount based on the transmission amount and the packet amount accumulated in each packet queue, and generates a slave resource management packet including the transmission request amount.
読出制御部は、読出許可に従って、キューグループ読出制御部からユーザパケットを読み出して送信制御部に送るとともに、送信制御部に送るパケットの送信量をスレーブ側帯域制御部に送る。送信制御部は、読出制御部から受け取るユーザパケット、スレーブ側帯域制御部が生成するスレーブリソースマネジメントパケット、及びマスター側帯域制御部が生成するマスターリソースマネジメントパケットを多重してパケット交換部に送る。 The read control unit reads the user packet from the queue group read control unit according to the read permission and sends the user packet to the transmission control unit, and sends the transmission amount of the packet to be sent to the transmission control unit to the slave side band control unit. The transmission control unit multiplexes the user packet received from the read control unit, the slave resource management packet generated by the slave side bandwidth control unit, and the master resource management packet generated by the master side bandwidth control unit, and sends the multiplexed packet.
また、この発明のパケット交換方法は、例えば、上述のパケット交換装置で実施され、以下の過程を備えている。 The packet switching method of the present invention is implemented, for example, by the above-described packet switching apparatus and includes the following steps.
入力インタフェースでは、以下の過程が行われる。 In the input interface, the following process is performed.
先ず、ユーザパケットのパケットキューへの蓄積に応答して、送信要求量にパケット受信量を加算する。次に、出力インタフェースからの送信許可量の受け取りに応答して、送信可能量に送信許可量を加算する。次に、送信可能量とパケット蓄積量を比較する。次に、送信可能量以下で、送信できるパケット数分だけ、パケットキューに蓄積されているパケットを出力インタフェースに送るとともに、送信可能量及びパケット蓄積量から送信量を減算する。次に、送信要求量から送信可能量を減算する。次に、送信要求量を出力インタフェースに送る。 First, in response to the accumulation of user packets in the packet queue, the packet reception amount is added to the transmission request amount. Next, in response to receiving the transmission permission amount from the output interface, the transmission permission amount is added to the transmittable amount. Next, the transmittable amount and the packet accumulation amount are compared. Next, the packets stored in the packet queue are sent to the output interface by the number of packets that can be transmitted below the transmittable amount, and the transmit amount is subtracted from the transmittable amount and the packet store amount. Next, the transmittable amount is subtracted from the transmission request amount. Next, the transmission request amount is sent to the output interface.
出力インタフェースでは、入力インタフェースから受け取る送信要求量から算出した送信許可量を、各入力インタフェースに送る過程が行われる。 In the output interface, a process of sending the transmission permission amount calculated from the transmission request amount received from the input interface to each input interface is performed.
この発明のパケット交換装置及びパケット交換方法によれば、出力インタフェースにおいて、各入力インタフェースから受け取る送信要求量に応じて送信許可量を算出し、入力インタフェースでは、送信許可量に応じて、送信を行う。このように、出力インタフェースで帯域を管理されるので、入力インタフェースと出力インタフェースの間でのパケットの廃棄が無くなり、各契約の最低帯域の保証や、利用者間の公平性の維持が実現される。 According to the packet switching apparatus and the packet switching method of the present invention, the output interface calculates the transmission permission amount according to the transmission request amount received from each input interface, and the input interface performs transmission according to the transmission permission amount. . As described above, since the bandwidth is managed by the output interface, the packet discard between the input interface and the output interface is eliminated, and the guarantee of the minimum bandwidth of each contract and the maintenance of the fairness among the users are realized. .
以下、図を参照して、この発明の実施の形態について説明するが、各図は、この発明が理解できる程度に概略的に示したものに過ぎない。また、以下、この発明の好適な構成例につき説明するが、数値的条件などは、単なる好適例にすぎない。従って、この発明は以下の実施の形態に限定されるものではなく、この発明の構成の範囲を逸脱せずにこの発明の効果を達成できる多くの変更又は変形を行うことができる。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, the drawings are merely schematically shown to the extent that the present invention can be understood. In the following, a preferred configuration example of the present invention will be described. However, numerical conditions and the like are merely preferred examples. Therefore, the present invention is not limited to the following embodiments, and many changes or modifications that can achieve the effects of the present invention can be made without departing from the scope of the configuration of the present invention.
(パケット交換装置)
図1を参照して、この発明のパケット交換装置の実施形態について説明する。図1は、パケット交換装置の概略構成図である。
(Packet switching equipment)
With reference to FIG. 1, an embodiment of the packet switching apparatus of the present invention will be described. FIG. 1 is a schematic configuration diagram of a packet switching apparatus.
パケット交換装置10は、複数の入出力インタフェース20及び1つのパケット交換部30を備えて構成される。入出力インタフェース20は、外部あるいはパケット交換部30との間でディジタル信号としてのパケットの送受信を行う。これら、入出力インタフェース20及びパケット交換部30は、例えば、CPU、RAM及びROMで構成される。CPUがROMに格納されているプログラムを実行することで所定の機能が実現される。また、入出力インタフェース20での処理結果は、一時的にRAMに読出し及び書換え自在に格納されている。
The
入出力インタフェース20は、それぞれ入力インタフェース100と出力インタフェース200を有している。入力インタフェース100は、受信パケット処理部110、スレーブ側帯域処理部170及び送信制御部190を備えて構成される。また、出力インタフェース200は、送信パケット処理部210、マスター側帯域処理部270及び受信制御部290を備えて構成される。
The input /
受信パケット処理部110は、複数のキューグループ(QG)130、パケット受信部120、複数のキューグループ(QG)読出制御部140及び読出制御部150を備えて構成される。受信パケット処理部110は、外部から入力ポートを経て受信したユーザパケットを、スレーブ側帯域制御部170からの指示に従って、送信制御部190に送る。
The reception
複数のキューグループ(QG)130は、例えば、QG0が、契約ユーザAに割り当てられ、QGnが契約ユーザBに割り当てられるなど、それぞれ、契約ユーザに割り当てられる。また、各キューグループ130は、それぞれ優先度の異なる複数のパケットキュー(Q)132を有している。例えば、QG0では、Q01が高優先パケット(HP)に割り当てられ、Q0mが低優先パケット(LP)に割り当てられる。
The plurality of queue groups (QG) 130 are assigned to contract users, for example, QG0 is assigned to contract user A and QGn is assigned to contract user B. Each
パケット受信部120は、入力ポートから受信するユーザパケットに含まれるIPアドレスやポート番号などのパケット情報を利用して、ユーザパケットを対応するキューグループ130に振り分ける。すなわち、パケット受信部120は、パケット情報からユーザパケットがどの契約ユーザが送信したものであるかを判定する。このパケット情報は、例えば、各ユーザパケットのヘッダ部分に格納されている。
The
また、パケット受信部120は、パケット情報に含まれる優先識別子などの情報から、ユーザパケットの優先度の高低を判定し、優先度の高低に応じて対応するキューグループ130のパケットキュー132に振り分ける。パケット受信部120は、ユーザパケットを、振り分けられたパケットキュー132に送る。パケットキュー132に送られたユーザパケットは、パケットキュー132に一時蓄積される。
Further, the
QG読出制御部140は、複数のキューグループ130のそれぞれに対応して設けられていて、パケットキュー132からの読出順を制御する。QG読出制御部140は、対応するキューグループ130に含まれるパケットキュー132から、優先度の高いユーザパケットを優先的に読み出す。なお、QG読出制御部140は、高優先パケットを低優先パケットより先に読み出す完全優先型でなく、従来周知の重み付けラウンドロビン(WRR)などを用いた方法で読み出しても良い。各QG読出制御部140は、読出制御部150からの読出指示に応じて、パケットキュー132からユーザパケットを読み出す。
The QG read
読出制御部150は、スレーブ側帯域制御部170からの読出許可に応答して、各QG読出制御部140に読出指示を送り、各QG読出制御部140が読み出したユーザパケットを送信制御部190に送る。また、読出制御部150は、送信制御部190に送ったユーザパケットの量(送信量)をスレーブ側帯域制御部170に通知する。
In response to the read permission from the slave-side
スレーブ側帯域制御部170は、マスターリソースマネジメントパケット(RMmパケット)受信部172、送信可能量管理部174、送信要求量管理部176及びスレーブリソースマネジメントパケット(RMsパケット)送信部178を備えている。スレーブ側帯域制御部170は、出力インタフェース200が備えるマスター側帯域処理部270が生成するマスターリソースマネジメントパケット(RMmパケット)に基づいて、スレーブリソースマネジメントパケット(RMsパケット)を生成する。
The slave-side
RMmパケット受信部172は、RMmパケットに含まれる送信許可量を抽出する。RMmパケットは、後述するように、各入出力インタフェース20が備えるマスター側帯域制御部270が生成している。
The RMm
送信可能量管理部174は、キューグループ130ごとに送信可能量を管理している。送信可能量は、送信可能量管理部174の指示に応じて、RAM等に読み出し及び書き換え自在に格納されている。送信可能量管理部174は、送信可能量に基づいて読出許可を読出制御部150に送る。送信可能量管理部174は、送信可能量以下で送信できるパケット数分だけ、各パケットキュー132から読み出す、読出許可を読出制御部150に送る。
The transmittable
例えば、QG0の高優先パケットキューに5パケット、低優先パケットキューに8パケット蓄積されていて、送信可能量が8パケット分の場合は、QG0の高優先パケットに蓄積されている5パケットの読出許可と、低優先パケットキューに蓄積されている8パケットのうち3パケットの読出許可とを読出制御部150に送る。また、送信可能量が、3パケット分の場合は、QG0の高優先パケットキューに蓄積されてい3パケット分の読出許可を読出制御部150に送る。
For example, when 5 packets are stored in the high priority packet queue of QG0 and 8 packets are stored in the low priority packet queue, and the transmittable amount is 8 packets, the read permission of 5 packets stored in the high priority packet of QG0 is permitted. Then, the read permission of 3 packets out of 8 packets stored in the low priority packet queue is sent to the
送信可能量管理部174は、RMmパケット受信部172における送信許可量の抽出に応答して、抽出された送信許可量を送信可能量に加算する。また、読出制御部150が、ユーザパケットを送信制御部190に送った場合は、そのパケットの送信量を、送信可能量から減算する。
In response to the extraction of the transmission permission amount by the RMm
送信要求量管理部176は、パケットキュー132にユーザパケットが蓄積されると、その蓄積に応答して、キューグループ130ごとに、蓄積されたユーザパケットの総和としてのパケット蓄積量を算出する。送信要求量管理部176は、パケット蓄積量から送信量を減算して、送信要求量を算出する。送信要求量は、送信要求量管理部176の指示に応じて、RAM等に読み出し及び書き換え自在に格納されている。
When a user packet is accumulated in the
RMsパケット送信部178は、送信要求量を含むRMsパケットを生成して、送信制御部190に送る。
The RMs
送信制御部190は、受信パケット処理部110から受け取るユーザパケット、スレーブ側帯域制御部170が生成するRMsパケット、及び、マスター側帯域制御部270が生成するRMmパケットを多重して、パケット交換部30に送る。
The
パケット交換部30は、入力インタフェース100から受け取るパケットを、このパケットの宛先に対応する出力インタフェース200に送る。
The
受信制御部290は、パケット交換部30から受け取るパケットを、ユーザパケット、RMsパケット及びRMmパケットに分離して、それぞれ、送信パケット処理部210、マスター側帯域制御部270及びスレーブ側帯域制御部170に送る。
The
送信パケット処理部210は、例えば、受信バッファ230及びパケット送信部220を備えて構成される。送信パケット処理部210は、パケット交換部30から受信したユーザパケットを、出力ポートを経て外部に送信する。
The transmission
送信パケット処理部210に送られたユーザパケットは、受信バッファ230に一時蓄積される。パケット送信部220は、受信バッファ230に蓄積されたユーザパケットを、出力ポートから外部に出力する。
The user packet sent to the transmission
マスター側帯域制御部270は、スレーブリソースマネジメントパケット(RMsパケット)受信部272、送信許可量演算部276及びマスターリソースマネジメントパケット(RMm)送信部278を備えて構成される。マスター側帯域制御部270は、他の入出力インタフェース20が備えるスレーブ側帯域処理部170から出力されるRMsパケットに基づいて、RMmパケットを生成する。
The master side
RMsパケット受信部272は、RMsパケットから、各入力インタフェースが要求する送信要求量を抽出する。送信許可量演算部276は、送信要求量に基づいて、各入力インタフェースに対する送信許可量を算出する。送信許可量は、各キューグループ130に対して公平であり、かつ最低保証量を満足するように定められる。
The RMs packet receiving unit 272 extracts the transmission request amount requested by each input interface from the RMs packet. The transmission permission
RMmパケット送信部278は、送信許可量を含むRMmパケットを生成して、送信制御部190に送る。
The RMm
(パケット交換方法)
図2及び図3を参照して、この発明のパケット交換方法の実施形態について説明する。図2は、パケット交換方法の処理フローを示す図である。図3は、パケット交換装置におけるパケット交換を説明するための模式図である。
(Packet switching method)
With reference to FIG.2 and FIG.3, embodiment of the packet switching method of this invention is described. FIG. 2 is a diagram showing a processing flow of the packet switching method. FIG. 3 is a schematic diagram for explaining packet switching in the packet switching apparatus.
ここでは、入出力インタフェース0(IF0)と、入出力インタフェース1(IF1)に入力されるユーザパケットを、入出力インタフェース(IF2)から出力する場合について説明する。また、IF0、IF1及びIF2は、互いに同じ構成であるものとして説明する。 Here, a case where user packets input to the input / output interface 0 (IF0) and the input / output interface 1 (IF1) are output from the input / output interface (IF2) will be described. Also, IF0, IF1, and IF2 will be described as having the same configuration.
IF0の入力インタフェース100には、QG0とQG1の2つのキューグループ130が設けられている。QG0は、契約ユーザAに割り当てられ、QG1は、契約ユーザBに割り当てられている。IF0には、契約ユーザAと契約ユーザBのユーザパケットが入力される。QG0には、契約ユーザAのパケットが振り分けられ、QG1には、契約ユーザBのパケットが振り分けられる。
The
QG0及びQG1は、それぞれ優先度の異なるQ01とQ02の2つのパケットキュー132を有している。QG0に振り分けられた契約ユーザAのユーザパケットのうち高優先パケットは、QG0が有するQ01に振り分けられる。一方、契約ユーザAのユーザパケットのうち低優先パケットは、QG0が有するQ02に振り分けられる。同様に、契約ユーザBの高優先パケットは、QG1のQ01に振り分けられ、契約ユーザBの低優先パケットは、QG1のQ02に振り分けられる。
QG0 and QG1 have two
また、IF1の入力インタフェース100に設けられている、QG0とQG1の2つのキューグループは、それぞれ契約ユーザC及び契約ユーザDに割り当てられている。IF1には、契約ユーザCと契約ユーザDのユーザパケットが入力され、QG0には、契約ユーザCのパケットが振り分けられ、QG1には、契約ユーザDのパケットが振り分けられる。
The two queue groups QG0 and QG1 provided in the
IF2のマスター側帯域制御回路270からは、周期的にIF0及びIF1宛にRMmパケットが送信されている。各RMmパケットには、IF0及びIF1がそれぞれ備えるキューグループごとの送信許可量が含まれている。ここでは、IF0に入力された契約ユーザBのユーザパケット、IF1に入力された契約ユーザC及びDのユーザパケットが、IF2の出力ポートから出力されている状態で、新たに、契約ユーザAのユーザパケットをIF2の出力ポートから出力する通信が開始される場合について、説明する。以下の説明では、契約ユーザAのユーザパケットに関する処理を説明するが、他の契約ユーザによるユーザパケットの処理も同様に行うことができる。
From the master side
このパケット交換装置10で、契約ユーザAによる通信が開始されると、先ず、S10の過程で、QG0の送信可能量を0とする。送信可能量には送信許可量が加算され、及び、送信可能量からは送信量が減算されるが、初期状態では、RMmパケットにより通知される契約ユーザAの送信許可量は0である。また、契約ユーザAのユーザパケットは、送信されていないので、送信量も0である。従って、送信可能量は0である。
When communication by the contract user A is started in the
また、この時点では、契約ユーザAのユーザパケットがIF0に入力されていないので、各パケットキュー132に蓄積されているパケット量の総和であるパケット蓄積量も0である。送信要求量は、パケット蓄積量から送信可能量を減算して得られるが、パケット蓄積量及び送信可能量がいずれも0であるので、送信要求量も0となる。このように、IF0に契約ユーザAのユーザパケットが入力されるまで、送信要求量及び送信許可量はいずれも0となる。
At this time, since the user packet of the contract user A is not input to IF0, the packet accumulation amount that is the sum of the packet amounts accumulated in each
S20の過程で、契約ユーザAのユーザパケットがIF0に入力されると、送信要求量管理部176は、契約ユーザAに割り当てられているQG0のパケットキュー(Q01及びQ02)に蓄積されているパケット量を集計する。
When the user packet of the contract user A is input to IF0 in the process of S20, the transmission request
続いて、S30の過程で、送信要求量管理部176は、送信要求量を算出する。送信要求量は、宛先の入出力インタフェース20ごとに、パケットキュー132に蓄積されたパケット量のキューグループごとの総和であるパケット蓄積量から送信可能量を減算することにより算出される。ここでは、送信可能量が0であるので、パケット蓄積量が送信要求量になる。
Subsequently, in the process of S30, the transmission request
S40において、送信要求量を含むRMsパケットが生成される。RMsパケットは、他のユーザ、ここでは、契約ユーザBのユーザパケットや、出力インタフェース200で生成されたRMmパケットと多重され、パケット交換部30に送られる。パケット交換部30は、各パケットを、出力先であるIF2の出力インタフェースに送る。
In S40, an RMs packet including a transmission request amount is generated. The RMs packet is multiplexed with the user packet of another user, here, the contract user B, and the RMm packet generated by the
IF2の送信許可量演算部276は、各契約ユーザの最低保証帯域、最大帯域、送信要求量、出力ポートの伝送帯域などの情報を用いて、契約ユーザごとの送信許可量を計算し、送信許可量を含むRMmパケットをIF0に送る。RMmパケットは、IF0の受信制御部290で振り分けられ、スレーブ側帯域制御部170に送られる。
The IF2 transmission permission
S50において、スレーブ側帯域制御部170のRMmパケット受信部172が、RMmパケットを受け取り、送信許可量を抽出する。
In S50, the RMm
S60の過程では、送信可能量管理部174は、送信許可量を送信可能量に加算する。初期状態では、送信可能量は0であるので、送信許可量が送信可能量となる。
In the process of S60, the transmittable
S70の過程では、送信可能量管理部174は、送信可能量を読み出すべきユーザパケットのパケット量と比較する。比較の結果、送信可能量以下で、送信できるパケット数分だけパケットキューから読み出す読出許可を読出制御部150に送る。読出制御部150は、受け取った読出許可に応答して、QG読出制御部140に読出指示を送り、QG0のキューグループに含まれるパケットキュー132からユーザパケットを受け取る。受け取ったユーザパケットは、送信制御部190に送られる。
In the process of S70, the transmittable
S80の過程では、送信可能量管理部174は、管理している送信可能量から送信量を減算する。その後、引き続いてS20の過程を行う。
In the process of S80, the transmittable
なお、上述したパケット交換装置の構成は一例であり、これに限定されない。入出力インタフェースの個数は、3つに限定されず、4以上であってもよい。また、各入出力インタフェースが備える、キューグループの個数も2つに限定されず、3つ以上備えていていても良い。また、各キューグループが備えるパケットキューの個数も2つに限定されず、3つ以上備えていても良い。この場合、パケットキューの個数が多い場合は、優先度による分類を、さらに細かく行うことが可能になる。 The configuration of the packet switching device described above is an example, and the present invention is not limited to this. The number of input / output interfaces is not limited to three and may be four or more. Further, the number of queue groups provided in each input / output interface is not limited to two, and three or more queue groups may be provided. Further, the number of packet queues included in each queue group is not limited to two, and may be three or more. In this case, when the number of packet queues is large, classification based on priority can be performed more finely.
上述したパケット交換装置及びパケット交換方法によれば、出力インタフェースにおいて、各入力インタフェースから受け取る送信要求量に応じて送信許可量を算出し、入力インタフェースでは、送信許可量に応じて、送信を行う。このように、出力インタフェースで帯域を管理されるので、入力インタフェースと出力インタフェースの間など、出力インタフェースが受け取るまでのパケットの廃棄がなくなり、各契約の最低帯域の保証や、各利用者間の公平性の維持が実現される。 According to the packet switching apparatus and the packet switching method described above, the transmission permission amount is calculated according to the transmission request amount received from each input interface at the output interface, and the input interface performs transmission according to the transmission permission amount. In this way, because the bandwidth is managed by the output interface, packets are not discarded until the output interface receives between the input interface and the output interface, guaranteeing the minimum bandwidth of each contract, and fairness among the users. Maintenance of sex is realized.
10 パケット交換装置
20 入出力インタフェース
30 パケット交換部
100 入力インタフェース
110 受信パケット処理部
120 パケット受信部
130 キューグループ(QG)
132 パケットキュー(Q)
140 キューグループ(QG)読出制御部
150 読出制御部
170 スレーブ側帯域処理部
172 マスターリソースマネジメントパケット(RMmパケット)受信部
174 送信可能量管理部
176 送信要求量管理部
178 スレーブリソースマネジメントパケット(RMsパケット)送信部
190 送信制御部
200 出力インタフェース
210 送信パケット処理部
220 パケット送信部
230 受信バッファ
270 マスター側帯域処理部
272 スレーブリソースマネジメントパケット(RMsパケット)受信部
276 送信許可量演算部
278 マスターリソースマネジメントパケット(RMm)送信部
290 受信制御部
DESCRIPTION OF
132 Packet queue (Q)
140 Queue Group (QG)
176 Transmission request
Claims (4)
前記入力インタフェースから受け取るパケットを、該パケットの宛先に該当する前記出力インタフェースに送るパケット交換部と
を備え、
前記入力インタフェースは、
それぞれ優先度の異なる複数のパケットキューを有する、複数のキューグループと、外部から受信するユーザパケットを識別し、前記パケットキューに振り分けるパケット受信部と、前記キューグループに対応して設けられ、各キューグループが備えるパケットキューからの読出順を制御する、複数のキューグループ読出制御部と、読出制御部と、送信制御部と、スレーブ側帯域制御部とを備え、
前記出力インタフェースは、マスター側帯域制御部と、送信パケット処理部と、受信制御部とを備え、
前記受信制御部は、前記パケット交換部から受け取るパケットをユーザパケットと、送信許可量の情報を含むマスターリソースマネジメントパケットと、送信要求量の情報を含むスレーブリソースマネジメントパケットとに分離し、それぞれ、前記送信パケット処理部、前記マスター側帯域制御部及び前記スレーブ側帯域制御部に送り、
前記マスター側帯域制御部は、前記スレーブリソースマネジメントパケットに含まれる送信要求量に基づいて、マスターリソースマネジメントパケットを生成し、
前記スレーブ側帯域制御部は、
前記マスターリソースマネジメントパケットに含まれる送信許可量、及び、前記読出制御部から受け取る送信量に基づいて、送信可能量を算出し、
該送信可能量に基づいて、各キューグループ読出制御部からの読出許可を前記読出制御部に送り、
前記送信量と前記各パケットキューに蓄積されているパケット量に基づいて送信要求量を算出し、
該送信要求量を含むスレーブリソースマネジメントパケットを生成し、
前記読出制御部は、前記読出許可に従って、前記キューグループ読出制御部からユーザパケットを読み出して前記送信制御部に送るとともに、送信制御部に送るパケットの送信量を前記スレーブ側帯域制御部に送り、
前記送信制御部は、前記読出制御部から受け取るユーザパケット、前記スレーブ側帯域制御部が生成するスレーブリソースマネジメントパケット、及び前記マスター側帯域制御部が生成するマスターリソースマネジメントパケットを多重して前記パケット交換部に送る
ことを特徴とするパケット交換装置。 A plurality of input / output interfaces each having an input interface and an output interface;
A packet switching unit that sends a packet received from the input interface to the output interface corresponding to the destination of the packet;
The input interface is
A plurality of queue groups each having a plurality of packet queues with different priorities, a packet receiving unit for identifying user packets received from the outside and distributing them to the packet queues, and corresponding to the queue groups, A plurality of queue group read control units, a read control unit, a transmission control unit, and a slave side bandwidth control unit that control the reading order from the packet queues provided in the group,
The output interface includes a master side bandwidth control unit, a transmission packet processing unit, and a reception control unit,
The reception control unit separates a packet received from the packet switching unit into a user packet, a master resource management packet including information on a transmission permission amount, and a slave resource management packet including information on a transmission request amount. Send to the transmission packet processing unit, the master side bandwidth control unit and the slave side bandwidth control unit,
The master side bandwidth control unit generates a master resource management packet based on a transmission request amount included in the slave resource management packet,
The slave side bandwidth control unit
Based on the transmission permission amount included in the master resource management packet and the transmission amount received from the read control unit, the transmittable amount is calculated,
Based on the transmittable amount, a read permission from each queue group read control unit is sent to the read control unit,
Calculate a transmission request amount based on the transmission amount and the packet amount accumulated in each packet queue,
Generating a slave resource management packet including the transmission request amount;
The read control unit reads the user packet from the queue group read control unit and sends it to the transmission control unit according to the read permission, and sends the transmission amount of the packet to be sent to the transmission control unit to the slave side band control unit,
The transmission control unit multiplexes a user packet received from the read control unit, a slave resource management packet generated by the slave-side band control unit, and a master resource management packet generated by the master-side band control unit, thereby exchanging the packets. A packet switching device, wherein
前記マスターリソースマネジメントパケットに含まれる送信許可量を抽出するマスターリソースマネジメントパケット受信部と、
前記送信許可量を前記送信可能量に加算し、及び、前記読出制御部から受け取る前記送信量を、前記送信可能量から減算し、該送信可能量に基づいて、各キューグループ読出制御部からの読出許可を前記読出制御部に送る送信可能量管理部と、
各前記パケットキューに蓄積されるパケット量の総和であるパケット蓄積量から前記送信量を減算して、送信要求量を算出する送信要求量管理部と、
該送信要求量を含むスレーブリソースマネジメントパケットを生成するスレーブリソースマネジメントパケット送信部と
を備えることを特徴とする請求項1に記載のパケット交換装置。 The slave side bandwidth control unit
A master resource management packet receiving unit that extracts a transmission permission amount included in the master resource management packet;
The transmission permission amount is added to the transmittable amount, and the transmission amount received from the read control unit is subtracted from the transmittable amount, and from each queue group read control unit based on the transmittable amount A transmittable amount management unit that sends a read permission to the read control unit;
A transmission request amount management unit that calculates a transmission request amount by subtracting the transmission amount from a packet accumulation amount that is a sum of packet amounts accumulated in each of the packet queues;
The packet switching apparatus according to claim 1, further comprising: a slave resource management packet transmission unit that generates a slave resource management packet including the transmission request amount.
前記スレーブリソースマネジメントパケットから送信要求量を抽出するスレーブリソースマネジメントパケット受信部と、
前記スレーブリソースマネジメントパケットに含まれる送信要求量に基づいて、送信許可量を算出する送信許可量演算部と、
前記送信許可量を含むマスターリソースマネジメントパケットを生成するマスターリソースマネジメントパケット送信部と
を備えることを特徴とする請求項1又は2に記載のパケット交換装置。 The master side bandwidth control unit
A slave resource management packet receiver that extracts a transmission request amount from the slave resource management packet;
A transmission permission amount calculation unit that calculates a transmission permission amount based on a transmission request amount included in the slave resource management packet;
The packet switching apparatus according to claim 1, further comprising: a master resource management packet transmission unit that generates a master resource management packet including the transmission permission amount.
前記入力インタフェースから受け取るパケットを、該パケットの宛先に該当する前記出力インタフェースに送るパケット交換部を備えるパケット交換装置で行われるパケット交換方法であって、
前記入力インタフェースが、
ユーザパケットのパケットキューへの蓄積に応答して、蓄積されたパケット量を集計する過程と、
送信要求量を算出する過程と、
前記送信要求量を含むスレーブリソースマネジメントパケットを生成して、送信先の入出力インタフェースに送る過程と、
前記出力インタフェースからの、送信許可量を含むマスターリソースマネジメントパケットの受け取りに応答して、該マスターリソースマネジメントパケットから前記送信許可量を抽出する過程と、
送信可能量に前記送信許可量を加算する過程と、
前記送信可能量と送信対象のパケットキューに蓄積されたパケット量を比較する過程と、
前記送信可能量以下で、送信できるパケット数分だけ、当該パケットキューに蓄積されているパケットを読み出して前記送信先の出力インタフェースに送る過程と、
前記送信可能量からパケットの送信量を減算する過程と
を行い、
前記出力インタフェースが、
前記入力インタフェースから受け取るスレーブリソースマネジメントパケットに含まれる送信要求量から送信許可量を算出する過程と、
前記送信許可量を含むマスターリソースマネジメントパケットを生成して、送信元の入力インタフェースに送る過程と
を行い、
前記送信要求量は、パケットキューに蓄積されたパケット量の総和であるパケット蓄積量から送信量を減算することで、算出される
ことを特徴とするパケット交換方法。 A plurality of input / output interfaces each having an input interface and an output interface;
A packet switching method performed by a packet switching device including a packet switching unit that sends a packet received from the input interface to the output interface corresponding to a destination of the packet,
The input interface is
In response to the accumulation of user packets in the packet queue, the process of aggregating the accumulated amount of packets;
A process of calculating a transmission request amount;
Generating a slave resource management packet including the transmission request amount and sending it to a destination input / output interface;
In response to receiving a master resource management packet including a transmission permission amount from the output interface, extracting the transmission permission amount from the master resource management packet;
Adding the transmission permission amount to the transmittable amount;
Comparing the transmittable amount with the packet amount accumulated in the packet queue to be transmitted;
A process of reading out the packets accumulated in the packet queue and sending them to the output interface of the destination by the number of packets that can be transmitted below the transmittable amount
Performing a process of subtracting the packet transmission amount from the transmittable amount;
The output interface is
Calculating a transmission permission amount from a transmission request amount included in a slave resource management packet received from the input interface;
A master resource management packet including the transmission permission amount is generated and sent to the input interface of the transmission source,
The packet exchange method, wherein the transmission request amount is calculated by subtracting the transmission amount from a packet accumulation amount that is a sum of the packet amounts accumulated in the packet queue.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009235322A JP5349242B2 (en) | 2009-10-09 | 2009-10-09 | Packet switching apparatus and packet switching method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009235322A JP5349242B2 (en) | 2009-10-09 | 2009-10-09 | Packet switching apparatus and packet switching method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011082912A JP2011082912A (en) | 2011-04-21 |
JP5349242B2 true JP5349242B2 (en) | 2013-11-20 |
Family
ID=44076486
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009235322A Active JP5349242B2 (en) | 2009-10-09 | 2009-10-09 | Packet switching apparatus and packet switching method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5349242B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5938939B2 (en) * | 2012-02-23 | 2016-06-22 | 沖電気工業株式会社 | Packet switching apparatus, packet switching method, and bandwidth control program |
JP6326727B2 (en) * | 2013-05-30 | 2018-05-23 | 沖電気工業株式会社 | Packet switching apparatus, packet switching method, and bandwidth control program |
JP6281347B2 (en) * | 2014-03-18 | 2018-02-21 | 沖電気工業株式会社 | Packet switching apparatus and packet switching method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2570642B2 (en) * | 1994-12-20 | 1997-01-08 | 日本電気株式会社 | ATM cell switching equipment |
JP2001148698A (en) * | 1999-11-18 | 2001-05-29 | Fujitsu Ltd | Atm switch having lowest band assuring function |
JP3559496B2 (en) * | 2000-03-29 | 2004-09-02 | 株式会社東芝 | Packet switching device and statistical information processing method |
-
2009
- 2009-10-09 JP JP2009235322A patent/JP5349242B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2011082912A (en) | 2011-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3961000B2 (en) | Packet transfer apparatus and network system | |
JP4853821B2 (en) | BAND ALLOCATION DEVICE, BAND ALLOCATION METHOD, AND BAND ALLOCATION PROGRAM FOR STATION | |
JP5040732B2 (en) | Dynamic bandwidth allocation method and dynamic bandwidth allocation apparatus | |
JP2010068067A (en) | Method and device for bandwidth allocation | |
EP3605975A1 (en) | Client service transmission method and device | |
US10263906B2 (en) | Flow scheduling device and method | |
RU2643666C2 (en) | Method and device to control virtual output queue authorization and also computer storage media | |
US10911364B2 (en) | Packet processing method and router | |
JPWO2021053759A1 (en) | Network controller, communication resource allocation method and communication system | |
JP5349242B2 (en) | Packet switching apparatus and packet switching method | |
Saad et al. | Optimal network rate allocation under end-to-end quality-of-service requirements | |
CN111194543A (en) | Flow control system for use in a network | |
Kaur et al. | Core-stateless guaranteed throughput networks | |
JP4612713B2 (en) | Packet transfer apparatus and network system | |
JP2007325224A (en) | Traffic control method and system, and program | |
Chromý et al. | Asynchronous networks and Erlang formulas | |
JP4589289B2 (en) | Packet transfer device | |
JP2010114822A (en) | Dynamic band allocation method and station-side apparatus | |
JP5938939B2 (en) | Packet switching apparatus, packet switching method, and bandwidth control program | |
KR101587379B1 (en) | Method of dynamic control for queue size and apparatus thereof | |
US20120057605A1 (en) | Bandwidth Control Method and Bandwidth Control Device | |
JP6281347B2 (en) | Packet switching apparatus and packet switching method | |
Dembeck et al. | Is the optical transport network of 5G ready for industry 4.0? | |
JP7193787B2 (en) | Communication system, bridge device, communication method, and program | |
Chen et al. | Improve the problem of insufficient bandwidth and path congestion in the cloud computing environment by using self-adjustment scheduler |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120619 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130716 |
|
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: 20130723 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130820 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5349242 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313117 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |