JP6101114B2 - Packet transmission apparatus and program thereof - Google Patents
Packet transmission apparatus and program thereof Download PDFInfo
- Publication number
- JP6101114B2 JP6101114B2 JP2013040257A JP2013040257A JP6101114B2 JP 6101114 B2 JP6101114 B2 JP 6101114B2 JP 2013040257 A JP2013040257 A JP 2013040257A JP 2013040257 A JP2013040257 A JP 2013040257A JP 6101114 B2 JP6101114 B2 JP 6101114B2
- Authority
- JP
- Japan
- Prior art keywords
- packet
- transmission
- priority
- unit
- route
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
Description
本発明は、パケット通信によってデータを伝送するパケット伝送装置およびそのプログラムに関する。 The present invention relates to a packet transmission apparatus that transmits data by packet communication and a program thereof.
IP(Internet Protocol)ネットワーク等のパケット通信によってデータを送受信するネットワークにおいて、高精細映像のような大容量データを伝送する場合、1本の回線では帯域が足りないことがある。
このように、帯域が足りないと、映像の長さ以上の時間が伝送にかかったり、ライブ中継の場合は伝送ができなかったりするといった問題が発生する。
そこで、複数の回線を同時に使用して帯域を拡張する手法が提案されている(非特許文献1、特許文献1、特許文献2参照)。
例えば、非特許文献1には、OSI参照モデルにおけるデータリンク層上で複数の回線を集約して1つの回線のように使用するリンクアグリゲーション技術が開示されている。
In a network that transmits and receives data by packet communication such as an IP (Internet Protocol) network, when transmitting a large amount of data such as high-definition video, a single line may not have enough bandwidth.
As described above, when there is not enough bandwidth, there is a problem that transmission takes a time longer than the length of the video, or transmission is impossible in the case of live relay.
In view of this, there has been proposed a method of extending a band by simultaneously using a plurality of lines (see Non-Patent Document 1, Patent Document 1, and Patent Document 2).
For example, Non-Patent Document 1 discloses a link aggregation technique in which a plurality of lines are aggregated and used as one line on the data link layer in the OSI reference model.
また、特許文献1には、非特許文献1に開示されているリンクアグリゲーション技術をベースに、コネクション(フロー)ごとに使用する回線を振り分ける技術が開示されている。
すなわち、特許文献1に記載された発明(以下、特許発明1)は、複数の回線を集約して1本の論理回線として扱う際に、コネクションごとに使用する回線(物理回線)を振り分ける。そして、特許発明1は、ある回線の伝送帯域使用率が上限に達したときに、コネクションを異なる回線に移すことで、伝送帯域使用率を上げている。
Patent Document 1 discloses a technique for allocating lines to be used for each connection (flow) based on the link aggregation technique disclosed in Non-Patent Document 1.
That is, the invention described in Patent Document 1 (hereinafter, Patent Invention 1) distributes lines (physical lines) to be used for each connection when a plurality of lines are aggregated and handled as one logical line. In the first aspect of the invention, when the transmission band usage rate of a certain line reaches the upper limit, the transmission band usage rate is increased by moving the connection to a different line.
また、特許文献2には、送信端末と受信端末との間に、複数の回線で接続した一対の伝送装置を挿入し、伝送装置が回線の集約を制御する技術が開示されている。
すなわち、特許文献2に記載された発明(以下、特許発明2)は、送信端末から受信端末へ向けて出力されたパケットが送信端末側の伝送装置に到達した際に、到達したパケットの順に、伝送装置が、予想到達時刻が最短となる回線を決定する。そして、特許発明2は、その決定された回線を用いて受信端末側の伝送装置にパケットを出力することで、1つのコネクションでも、複数の回線(物理回線)を使用することを可能としている。
Patent Document 2 discloses a technique in which a pair of transmission apparatuses connected by a plurality of lines are inserted between a transmission terminal and a reception terminal, and the transmission apparatuses control line aggregation.
That is, in the invention described in Patent Document 2 (hereinafter, Patent Invention 2), when the packet output from the transmitting terminal to the receiving terminal reaches the transmission apparatus on the transmitting terminal side, The transmission apparatus determines a line with the shortest expected arrival time. According to the second aspect of the invention, a plurality of lines (physical lines) can be used even with one connection by outputting a packet to the transmission apparatus on the receiving terminal side using the determined line.
従来のリンクアグリゲーション技術をベースにした特許文献1に開示された技術では、複数の回線を集約して論理回線全体の帯域を拡張することは可能であっても、1つのコネクションが使用する回線は、1つの物理回線である。そのため、この従来の技術では、1つのコネクションが使用する帯域を拡張することができず、高精細映像のような大容量データを、1つのコネクションで伝送する場合、帯域が足りなくなるという問題を解決することはできない。 In the technology disclosed in Patent Document 1 based on the conventional link aggregation technology, it is possible to extend a bandwidth of an entire logical line by aggregating a plurality of lines, but the line used by one connection is One physical line. Therefore, with this conventional technique, the bandwidth used by one connection cannot be expanded, and the problem that the bandwidth becomes insufficient when transmitting a large amount of data such as high-definition video through one connection is solved. I can't do it.
また、特許文献2に開示された技術では、パケットの入力順に処理を実施するため、例えば、ビデオコミュニケーションのようなリアルタイムの通信中に、ファイル伝送のような非リアルタイムのパケットが大量に伝送装置に入力された場合、リアルタイムのパケットが到着する前に、非リアルタイムのパケットが大量に処理バッファに入ってしまうことがある。その場合、この従来の技術では、リアルタイムのパケットが伝送装置内で長時間待たされて遅延が増加し、受信端末での再生に間に合わずに、映像が停止してしまったり、ネットワークが非リアルタイムのパケットで埋め尽くされて、リアルタイムのパケットが損失して映像が停止してしまったりするという問題がある。 In the technique disclosed in Patent Document 2, processing is performed in the order of packet input. For example, during real-time communication such as video communication, a large amount of non-real-time packets such as file transmission are transmitted to the transmission apparatus. When input, a large amount of non-real-time packets may enter the processing buffer before the real-time packets arrive. In this case, in this conventional technique, a real-time packet is waited for a long time in the transmission apparatus, and the delay increases, so that the video stops in time for reproduction at the receiving terminal, or the network is not in real time. There is a problem that the video is stopped due to loss of a real-time packet when it is filled with packets.
本発明は、このような問題に鑑みてなされたもので、複数のコネクション(フロー)でパケットを伝送する際に、1つのフローあたりの伝送帯域を拡張することができ、かつ、リアルタイム性の高いパケットを優先的に伝送することが可能なパケット伝送装置およびそのプログラムを提供することを課題とする。 The present invention has been made in view of such a problem. When transmitting a packet by a plurality of connections (flows), the transmission band per flow can be expanded and real-time performance is high. It is an object of the present invention to provide a packet transmission device capable of transmitting packets preferentially and a program thereof.
前記課題を解決するため、請求項1に記載のパケット伝送装置は、ネットワーク上の複数の経路で接続された送信側のパケット伝送装置と受信側のパケット伝送装置とを経由して、送信装置から受信装置にパケットを伝送するパケット伝送システムにおける前記送信側のパケット伝送装置であって、複数の通信制御手段と、優先度テーブル記憶手段と、優先度別パケット記憶手段と、優先度識別手段と、優先パケット取得手段と、パケット振分手段と、経路状態記憶手段と、出力計測手段と、送信側経路状態更新手段と、受信側経路状態更新手段と、を備える構成とした。 In order to solve the above-described problem, the packet transmission device according to claim 1 is configured so that a transmission device transmits a packet transmission device on a transmission side and a packet transmission device on a reception side connected by a plurality of routes on a network. A packet transmission device on the transmission side in a packet transmission system for transmitting a packet to a reception device, a plurality of communication control means, a priority table storage means, a priority-specific packet storage means, a priority identification means, The priority packet acquisition unit, the packet distribution unit, the path state storage unit, the output measurement unit, the transmission side path state update unit, and the reception side path state update unit are provided.
かかる構成において、パケット伝送装置は、優先度テーブル記憶手段に、パケットの送信元のアドレスと受信先のアドレスとを対とした送受アドレスごとに予め優先度を対応付けた優先度テーブルを記憶しておく。これによって、どのフローの優先度が高いのかを設定することができる。
そして、パケット伝送装置は、優先度識別手段によって、送信装置から通信制御手段を介して入力されたパケットに含まれている送受アドレスに基づいて、優先度テーブルから当該パケットの優先度を識別して、優先度別パケット記憶手段に記憶する。
In such a configuration, the packet transmission device stores a priority table in which priorities are associated in advance for each transmission / reception address in which the packet transmission source address and the reception destination address are paired in the priority table storage unit. deep. Thus, it is possible to set which flow has a higher priority.
Then, the packet transmission device identifies the priority of the packet from the priority table based on the transmission / reception address included in the packet input from the transmission device via the communication control unit by the priority identification unit. And stored in the priority-specific packet storage means.
そして、パケット伝送装置は、優先パケット取得手段によって、優先度別パケット記憶手段に記憶されているパケットから、優先度が高いパケットを優先して取得する。これによって、優先度別パケット記憶手段に記憶された順番が早くても、より優先度の高いパケットが先に読み出されることになる。
また、パケット伝送装置は、出力計測手段によって、送信側のパケット伝送装置から受信側のパケット伝送装置までの予め定めた経路ごとに、通信制御手段を介して出力されるパケットの送信時刻およびパケット長を送信状況として計測する。
そして、パケット伝送装置は、送信側経路状態更新手段によって、出力計測手段で計測された送信状況に基づいて、経路ごとの送信帯域を計算し、経路状態記憶手段に記憶されている経路状態を更新する。
そして、パケット伝送装置は、受信側経路状態更新手段によって、受信側のパケット伝送装置において計測された受信帯域を、通信制御手段を介して取得し、経路状態を更新する。
これによって、送信側で計測可能な経路状態、受信側で計測可能な経路状態が、逐次経路状態記憶手段に記憶されることになる。
そして、パケット伝送装置は、パケット振分手段によって、優先パケット取得手段で取得したパケットを、経路状態記憶手段に記憶されている経路状態に基づいて、順次、複数の通信制御手段に振り分けて出力することで、伝送帯域に余裕のある経路にパケットを振り分ける。
これによって、パケット伝送装置は、1つの経路(回線)に限定せずに、複数の経路でパケットを伝送することができ、伝送する帯域を拡張することができる。
Then, the packet transmission apparatus preferentially obtains a packet having a higher priority from the packets stored in the priority-specific packet storage means by the priority packet obtaining means. As a result, even if the order stored in the priority-based packet storage means is early, a packet with a higher priority is read out first.
Further, the packet transmission device uses the output measuring unit to transmit the packet transmission time and the packet length for each predetermined route from the transmission side packet transmission device to the reception side packet transmission device via the communication control unit. Is measured as the transmission status.
Then, the packet transmission device calculates the transmission bandwidth for each route based on the transmission state measured by the output measuring unit by the transmission side route state updating unit, and updates the route state stored in the route state storage unit. To do.
Then, the packet transmission apparatus acquires the reception bandwidth measured in the packet transmission apparatus on the reception side by the reception side path state update unit via the communication control unit, and updates the path state.
As a result, the path state measurable on the transmission side and the path state measurable on the reception side are sequentially stored in the path state storage means.
Then, the packet transmission apparatus sequentially distributes and outputs the packets acquired by the priority packet acquisition unit to the plurality of communication control units based on the path state stored in the path state storage unit. Thus, the packet is distributed to a route having a sufficient transmission band.
Thereby, the packet transmission apparatus can transmit a packet by a plurality of routes without being limited to one route (line), and can extend a transmission band.
また、請求項2に記載のパケット伝送装置は、請求項1に記載のパケット伝送装置において、優先度別パケット記憶手段に、優先パケット取得手段が取得するパケットの優先度である処理対象優先度を記憶し、優先度識別手段が、入力されたパケットが処理対象優先度よりも優先度が高いパケットである場合、当該パケットの優先度で処理対象優先度を更新することを特徴とする。 Further, in the packet transmission device according to claim 2, in the packet transmission device according to claim 1, the priority-based packet storage unit sets a processing target priority that is a priority of the packet acquired by the priority packet acquisition unit. And when the input packet is a packet having a higher priority than the processing target priority, the priority identifying means updates the processing target priority with the priority of the packet.
かかる構成において、パケット伝送装置は、優先パケット取得手段が処理対象優先度のパケットを優先度別パケット記憶手段から順次読み出している場合でも、優先度識別手段によって、処理対象優先度が更新されることで、現時点で処理しているパケットよりも優先度の高いパケットを読み出すことができる。 In such a configuration, in the packet transmission apparatus, even when the priority packet acquisition unit sequentially reads out packets of the processing target priority from the packet storage unit by priority, the priority of the processing target is updated by the priority identification unit. Thus, a packet having a higher priority than the packet currently being processed can be read out.
なお、パケット伝送装置は、コンピュータを、請求項1または請求項2に記載のパケット伝送装置として機能させるためのパケット伝送プログラムで動作させることができる。The packet transmission apparatus can be operated by a packet transmission program for causing a computer to function as the packet transmission apparatus according to claim 1 or 2.
本発明は、以下に示す優れた効果を奏するものである。
請求項1,3に記載の発明によれば、パケットのフローの優先度に応じて、リアルタイム性の高いパケットを優先して伝送することができる。さらに本発明は、複数の経路に伝送するパケットを振り分けるため、1つのフローあたりの伝送帯域を拡張することができる。そのため、本発明は、物理回線の帯域に限定されることなく、複数の経路によって構成される複数の回線を集約した帯域まで、使用する帯域を拡張して、優先度の高いパケットの遅延や損失を防止することができる。
また、請求項1,3に記載の発明によれば、パケットの伝送経路の状態に応じて、最適な経路を選択して、パケットを振り分けることができる。そのため、本発明は、経路を有効に活用して、優先度の高いパケットの遅延や損失を防止することができる。
The present invention has the following excellent effects.
According to the first and third aspects of the invention, it is possible to preferentially transmit a packet with high real-time property according to the priority of the packet flow. Furthermore, since the present invention distributes packets to be transmitted to a plurality of routes, the transmission band per flow can be expanded. Therefore, the present invention is not limited to the bandwidth of a physical line, but extends the band to be used to a band where a plurality of lines constituted by a plurality of paths are aggregated, thereby delaying or losing packets with high priority. Can be prevented.
According to the first and third aspects of the present invention, it is possible to select an optimum route according to the state of the packet transmission route and distribute the packet. Therefore, the present invention can effectively prevent the delay and loss of a high priority packet by effectively using the route.
請求項2に記載の発明によれば、後から入力されたパケットでも優先度が高ければ、優先的に処理することができるため、リアルタイム性の高いパケットについて、確実に優先して伝送することができる。 According to the second aspect of the present invention, since a packet that is input later can be processed with priority if the priority is high, a packet with high real-time property can be transmitted with certainty. it can.
以下、本発明の実施形態について図面を参照して説明する。
[パケット伝送システムの概要]
最初に、図1を参照して、本発明の実施形態に係る送信側の伝送装置(送信側伝送装置)を備えたパケット伝送システムの概要について説明する。
パケット伝送システムSは、IPネットワーク等のネットワークNを介して、パケット通信によってデータを伝送するものである。
Embodiments of the present invention will be described below with reference to the drawings.
[Outline of packet transmission system]
First, an outline of a packet transmission system including a transmission device on the transmission side (transmission-side transmission device) according to an embodiment of the present invention will be described with reference to FIG.
The packet transmission system S transmits data by packet communication via a network N such as an IP network.
このパケット伝送システムSは、パケットの送信元となる1以上の送信装置3(31,32,…,3i)と、パケットの宛先(受信先)となる1以上の受信装置4(41,42,…,4j)と、パケット送信側の伝送装置(送信側伝送装置1)と、パケット受信側の伝送装置(受信側伝送装置2)と、を備える。
ここで、送信側伝送装置1は、送信装置3から受信装置4までのネットワークNの経路上の送信側に設置される。なお、送信装置3から送信されるパケットは、すべて送信側伝送装置1を経由して伝送される。
また、受信側伝送装置2は、送信装置3から受信装置4までのネットワークNの経路上の受信側に設置される。なお、受信装置4で受信するパケットは、すべて受信側伝送装置2を経由して伝送される。
また、送信側伝送装置1と受信側伝送装置2とは、複数の回線で接続され、複数の回線上の異なる経路R1,…,Rmを1つの論理回線としてパケットを伝送する。
The packet transmission system S includes one or more transmission devices 3 (3 1 , 3 2 ,..., 3 i ) that are packet transmission sources and one or more reception devices 4 (4 that are packet destinations (reception destinations). 1 , 4 2 ,..., 4 j ), a packet transmission side transmission device (transmission side transmission device 1), and a packet reception side transmission device (reception side transmission device 2).
Here, the transmission apparatus 1 on the transmission side is installed on the transmission side on the path of the network N from the transmission apparatus 3 to the
The reception-side transmission device 2 is installed on the reception side on the path of the network N from the transmission device 3 to the
The transmission apparatus 1 on the transmission side and the transmission apparatus 2 on the reception side are connected by a plurality of lines, and transmit packets using different paths R 1 ,..., R m on the plurality of lines as one logical line.
送信側伝送装置1は、送信装置3と受信装置4との間(フロー)で送受信されるパケットの優先度を予め定めておき、優先度の高いパケットを優先して受信側に伝送するものである。また、送信側伝送装置1は、パケットを伝送する際に、予め定めた受信側伝送装置2までの経路R1,…,Rmの中で1つの経路に限定せずに、複数の経路に振り分けてパケットを伝送する。 The transmission apparatus 1 on the transmission side determines the priority of packets transmitted and received between the transmission apparatus 3 and the reception apparatus 4 (flow) in advance, and prioritizes transmission of packets with high priority to the reception side. is there. The transmission-side transmission apparatus 1, when transmitting a packet, the route R 1 to the receiving side transmission apparatus 2 a predetermined, ..., without limiting to a single path in the R m, the plurality of paths Sorts and transmits packets.
これによって、パケット伝送システムSは、送信装置3と受信装置4とで送受信するパケットがリアルタイム性を有する場合、当該装置間のパケットの優先度を高めておくことで、パケットを優先的に伝送することができる。また、パケット伝送システムSは、複数の経路R1,…,Rmに順次パケットを振り分けて伝送を行うため、1つの物理回線の帯域に制限されず、広帯域化を実現することができる。
以下、本発明の実施形態に係る送信側伝送装置1と、参考例の実施形態に係る受信側伝送装置2の構成および動作について説明する。
Thereby, when a packet transmitted and received between the transmission device 3 and the
Hereinafter, configurations and operations of the transmission apparatus 1 on the transmission side according to the embodiment of the present invention and the transmission apparatus 2 on the reception side according to the embodiment of the reference example will be described.
[送信側伝送装置の構成]
まず、図2を参照(適宜図1参照)して、本発明の実施形態に係るパケット伝送システムSにおける送信側伝送装置1(送信側のパケット伝送装置)の構成について説明する。
ここでは、送信側伝送装置1は、通信制御手段10(101,…,10m)と、優先度テーブル記憶手段11と、入力パケット識別手段12(121,…,12m)と、処理待ちバッファ13と、優先パケット取得手段14と、パケット振分手段15と、出力計測手段16(161,…,16m)と、経路状態保持手段17と、を備える。
[Configuration of transmitter on transmission side]
First, with reference to FIG. 2 (refer to FIG. 1 as appropriate), the configuration of the transmission-side transmission apparatus 1 (transmission-side packet transmission apparatus) in the packet transmission system S according to the embodiment of the present invention will be described.
Here, the transmission apparatus 1 on the transmission side includes communication control means 10 (10 1 ,..., 10 m ), priority table storage means 11, input packet identification means 12 (12 1 ,..., 12 m ), processing A waiting
通信制御手段10は、ネットワークNを介して、通信データ(パケット)を送受信するものである。具体的には、通信制御手段10は、NIC(Network Interface Card)で構成される。この通信制御手段10は、送信側伝送装置1と受信側伝送装置2との間の複数の経路(R1,…,Rm)に対応して複数(101,…,10m)備える。
また、通信制御手段10は、入力手段101と、出力手段102と、を備える。
The communication control means 10 transmits and receives communication data (packets) via the network N. Specifically, the communication control means 10 is configured by a NIC (Network Interface Card). The communication control means 10 includes a plurality (10 1 ,..., 10 m ) corresponding to a plurality of paths (R 1 ,..., R m ) between the transmission side transmission apparatus 1 and the reception side transmission apparatus 2.
In addition, the
入力手段101は、ネットワークNを介して、通信データ(パケット)を入力するものである。ここでは、入力手段101は、送信装置3から送信されたパケットや、受信側伝送装置2から送信されたパケットを入力する。この入力手段101は、入力したパケットを入力パケット識別手段12に出力する。
なお、送信装置3から送信されたパケットは、実際に受信装置4に伝送する伝送対象パケットである。また、受信側伝送装置2から送信されたパケットは、受信側伝送装置2において検知している受信側の経路状態を通知するためのデータ(受信側経路状態通知)である。
The input means 101 inputs communication data (packets) via the network N. Here, the
Note that the packet transmitted from the transmission device 3 is a transmission target packet that is actually transmitted to the
出力手段102は、受信装置4に伝送する伝送対象パケットを、当該出力手段102に対応する経路上に出力するものである。なお、出力手段102には、予めどの経路(経路R1,…,Rm)を使用するのかが設定されているものとする。すなわち、出力手段102は、伝送対象パケットを、予め定めた経路上の宛先、例えば、ルータ(不図示)等に出力する。
なお、出力手段102は、後記するパケット振分手段15が振り分けた伝送対象パケットを、出力計測手段16を介して入力する。
The
The
優先度テーブル記憶手段11は、パケットの送信元(送信装置3)のアドレスと宛先(受信装置4)のアドレスとを対とした送受アドレス情報(フロー)ごとに予め優先度を対応付けた優先度テーブルを記憶するものである。
ここで、送受アドレス情報は、例えば、送信元のIPアドレス、MACアドレス、ポート番号、宛先のIPアドレス、MACアドレス、ポート番号である。さらに、送受アドレス情報には、例えば、プロトコルの種類を示すプロトコルタイプを含ませておく。
なお、これらの送受アドレス情報は、必ずしもすべて設定する必要はなく、フローを特定する階層等に応じて設定すればよい。
The priority table storage means 11 is a priority in which priorities are associated in advance for each transmission / reception address information (flow) in which a packet transmission source (transmission device 3) address and a destination (reception device 4) address are paired. The table is stored.
Here, the transmission / reception address information is, for example, a source IP address, a MAC address, a port number, a destination IP address, a MAC address, and a port number. Furthermore, the transmission / reception address information includes, for example, a protocol type indicating the type of protocol.
Note that it is not always necessary to set all of the transmission / reception address information, and it is only necessary to set according to the hierarchy specifying the flow.
また、優先度は、当該送受アドレス情報で特定されるフローごとのパケットを伝送する優先の度合いを示すものである。この優先度の区分は、特に規定するものでなく、任意の数で区分すればよい。また、異なるフローに同一の優先度を設定しても構わない。
例えば、ライブ映像のようなリアルタイム性が要求されるパケットを伝送するフローであれば、優先度を「高」に設定し、ファイル伝送のようなリアルタイム性を要求されないパケットを伝送するフローであれば、優先度を「低」に設定しておく。
The priority indicates the priority of transmitting a packet for each flow specified by the transmission / reception address information. This priority classification is not particularly defined, and may be classified by an arbitrary number. The same priority may be set for different flows.
For example, if it is a flow that transmits a packet that requires real-time characteristics such as live video, the priority is set to “high” and a flow that transmits a packet that does not require real-time characteristics such as file transmission. The priority is set to “low”.
入力パケット識別手段12(優先度識別手段)は、通信制御手段10(入力手段101)を介して入力されたパケットのヘッダを解析し、当該パケットの種別、フロー、優先度を識別するものである。
この入力パケット識別手段12は、通信制御手段10(入力手段101)の予め設定された経路R1,…,Rmごとに、複数(121,…,12m)備える。
ここでは、入力パケット識別手段12は、パケットの送信元が既知の送信装置3のアドレスであれば、当該パケットの種別が、伝送対象のパケット(伝送対象パケット)であると識別する。また、入力パケット識別手段12は、既知の受信側伝送装置2のアドレスであれば、当該パケットの種別が、受信側伝送装置2から通知される受信側経路状態通知であると識別する。
The input packet identification unit 12 (priority identification unit) analyzes the header of the packet input via the communication control unit 10 (input unit 101), and identifies the type, flow, and priority of the packet. .
The input
Here, the input
この入力パケット識別手段12は、入力されたパケットが、伝送対象パケットであった場合、当該パケットのヘッダに記述されている送受アドレス、プロトコルタイプ等によってフローを識別する。そして、入力パケット識別手段12は、識別したフローに対応して優先度テーブルに記憶されている優先度ごとに、伝送対象パケットを処理待ちバッファ13に記憶する。
When the input packet is a packet to be transmitted, the input
なお、このとき、入力パケット識別手段12は、伝送対象パケットを記憶する直前の処理待ちバッファ13が空であった場合、処理待ちバッファ13内に記憶している処理対象優先度を、伝送対象パケットの優先度で更新する。なお、この処理対象優先度は、後記する優先パケット取得手段14が、現在、どの優先度のパケットを処理対象としているのかを示す情報である。
At this time, the input
そして、入力パケット識別手段12は、伝送対象パケットを処理待ちバッファ13に記憶した旨を示す情報であるパケット格納通知を、優先パケット取得手段14に出力する。
また、入力パケット識別手段12は、伝送対象パケットを記憶する直前の処理待ちバッファ13が空でなければ、伝送対象パケットの優先度が、現在の処理対象優先度より高い場合だけ、処理対象優先度を、伝送対象パケットの優先度で更新する。
また、入力パケット識別手段12は、入力されたパケットが、受信側経路状態通知であった場合、当該通知を経路状態保持手段17に出力する。
Then, the input
Further, the input
Further, when the input packet is a reception side route state notification, the input
処理待ちバッファ13(優先度別パケット記憶手段)は、入力パケット識別手段12で識別された、伝送対象パケットの優先度ごとに、伝送対象パケットを一時記憶するものである。この処理待ちバッファ13は、半導体メモリ等の一般的な記憶媒体で構成される。
ここでは、処理待ちバッファ13に、優先パケット取得手段14が、現在、どの優先度のパケットを処理対象としているのかを示す処理対象優先度を記憶しておくこととする。
The processing waiting buffer 13 (priority-specific packet storage means) temporarily stores transmission target packets for each priority of transmission target packets identified by the input packet identification means 12. The
Here, it is assumed that the priority
優先パケット取得手段14は、処理待ちバッファ13に記憶されているパケットから、優先度が高いパケットを優先して取得するものである。
ここでは、優先パケット取得手段14は、処理待ちバッファ13にパケットが記憶されている間、優先度の高いパケットを優先して、処理待ちバッファ13から読み出して、パケット振分手段15に出力する。
The priority
Here, the priority
具体的には、優先パケット取得手段14は、入力パケット識別手段12から、パケット格納通知を通知されたタイミングで、処理対象優先度に設定された優先度のバッファを対象としてパケットを読み出し、当該優先度のバッファが空になった段階で、処理対象優先度を現在の優先度の次に高い優先度に更新して、パケットの読み出しを続ける。
なお、優先パケット取得手段14が、ある優先度を対象としてパケットの読み出しを行っている場合でも、入力パケット識別手段12によって、さらに優先度の高いパケットがバッファに記憶されたときには処理対象優先度が更新される。そのため、優先パケット取得手段14は、より優先度の高いパケットを処理待ちバッファ13から取得することができる。
Specifically, the priority
Even when the priority
パケット振分手段15は、経路状態保持手段17が保持している経路状態(可用帯域、送信帯域、受信帯域、片方向遅延、パケットロス率等)に基づいて、優先パケット取得手段14から入力される伝送対象パケットの経路を振り分けるものである。
例えば、パケット振分手段15は、伝送可能な帯域を示す可用帯域に比例した重み付けに応じて、各経路R1,…,Rmの順番を決定し、その順番で経路を使用する重み付きラウンドロビン法を用いて、パケットを各経路に振り分けることができる。この場合、パケット振分手段15は、予め定めた周期で、経路状態保持手段17に経路状態を問い合わせ、その周期の間、重み付きラウンドロビンによりパケットを振り分ける。
The
For example, the
また、例えば、パケット振分手段15は、可用帯域に対する送信帯域の低い経路に、パケットを振り分けることとしてもよい。
また、例えば、パケット振分手段15は、送信帯域が可用帯域を越えていない経路のうちで、片方向遅延が最小の経路に、パケットを振り分けることとしてもよい。
また、例えば、パケット振分手段15は、送信帯域が可用帯域を越えていない経路のうちで、パケットロス率が最小の経路に、パケットを振り分けることとしてもよい。
このように、ある時点において、振り分ける経路を1つに決定する場合、パケット振分手段15は、その時点で経路状態保持手段17に経路状態を問い合わせればよい。
このパケット振分手段15は、振り分けた経路に予め対応付けられている既知の出力計測手段16にパケットを出力する。
Further, for example, the
Further, for example, the
Further, for example, the
As described above, when a single route is determined at a certain time point, the
The
出力計測手段16は、パケット振分手段15から経路ごとに振り分けられたパケットを、当該経路に対応する通信制御手段10(出力手段102)に出力するものである。
この出力計測手段16は、通信制御手段10(出力手段102)の予め設定された経路R1,…,Rmごとに、複数(161,…,16m)備える。
The
The output measuring means 16 includes a plurality (16 1 ,..., 16 m ) for each of the preset routes R 1 ,..., R m of the communication control means 10 (output means 102).
ここでは、出力計測手段16は、パケット振分手段15で振り分けられたパケットに、経路ごとに連続したシーケンス番号(経路シーケンス番号)と、送信時刻を付加して、出力手段102に出力することとする。例えば、出力計測手段16は、パケットのヘッダに付加領域を設けて、シーケンス番号等を付加する。また、送信時刻は、図示を省略した計時手段によって計時される現時点の時刻を用いればよい。
また、出力計測手段16は、パケットの出力が完了後、出力したパケットの経路シーケンス番号、送信時刻、パケット長等を、当該パケットの送信状況として経路状態保持手段17に通知(送信状況通知)する。
Here, the
In addition, after the output of the packet is completed, the
経路状態保持手段17は、送信側伝送装置1と受信側伝送装置2との間の経路R1,…,Rmの状態(経路状態)を保持するものである。ここでは、経路状態保持手段17は、受信側経路状態更新手段171と、送信側経路状態更新手段172と、経路状態記憶手段173と、経路状態通知手段174と、を備える。
The path state holding
受信側経路状態更新手段171は、受信側伝送装置2で計測された各経路R1,…,Rmの経路状態を取得して、経路状態記憶手段173に記憶されている受信側で計測可能な経路状態を更新するものである。
ここでは、受信側経路状態更新手段171は、各経路R1,…,Rmに対応した入力パケット識別手段121,…,12mから、受信側伝送装置2で計測された経路ごとの経路状態を取得する。この受信側伝送装置2で計測される経路状態は、例えば、受信帯域、片方向遅延、パケットロス率等である。
The receiving-side path state updating
Here, the reception-side path state updating
送信側経路状態更新手段172は、送信側伝送装置1が送信するパケットの送信状況から、経路状態記憶手段173に記憶されている送信側で計測可能な経路状態を更新するものである。
ここでは、送信側経路状態更新手段172は、各経路R1,…,Rmに対応した出力計測手段161,…,16mから、パケットのシーケンス番号(経路シーケンス番号)、送信時刻、パケット長等を送信状況通知として取得する。そして、送信側経路状態更新手段172は、この送信状況通知に基づいて、各経路R1,…,Rmの経路状態として送信帯域を計算する。具体的には、送信側経路状態更新手段172は、経路ごとに、シーケンス番号の順で、パケット長を、当該パケットの送信時刻と次パケットの送信時刻との時間間隔で除算することで、送信帯域を計算する。または、送信側経路状態更新手段172は、一定時間内に送信されたパケットのパケット長の合計を、計測時間で除算することで、送信帯域を計算する。
また、送信側経路状態更新手段172は、既知の各経路の使用最大帯域から、当該最大帯域に送信帯域を乗算し受信帯域で除算した値を減算し、送信帯域を加えることで、使用可能な可用帯域を計算し、経路状態の一部として更新する。
The transmission side path
Here, the transmission-side path state updating
Further, the transmission-side route
経路状態記憶手段173は、経路ごとの伝送状態を記憶するものである。この経路状態記憶手段173は、半導体メモリ等の一般的な記憶媒体で構成される。
この経路状態記憶手段173には、受信側経路状態更新手段171によって更新される経路状態である受信帯域、片方向遅延、パケットロス率等や、送信側経路状態更新手段172よって更新される経路状態である送信帯域、可用帯域等が記憶される。
The route state storage unit 173 stores the transmission state for each route. The path state storage unit 173 is configured by a general storage medium such as a semiconductor memory.
The path state storage unit 173 includes a reception band, a one-way delay, a packet loss rate, etc., which are path states updated by the reception side path
経路状態通知手段174は、パケット振分手段15からの問い合わせに対して、経路状態記憶手段173に記憶されている経路状態を通知するものである。
以上説明したように送信側伝送装置1を構成することで、送信側伝送装置1は、優先度のより高いパケットを優先して伝送することができる。さらに、送信側伝送装置1は、あるフロー(コネクション)のパケットを1つの経路に限定せずに、複数の経路に振り分けて伝送することができる。これによって、送信側伝送装置1は、1つのフローあたりの伝送帯域を1つの物理回線が有する帯域よりも拡張することができ、かつ、リアルタイム性の高いパケットを優先的に伝送することができる。
The route
By configuring the transmission side transmission apparatus 1 as described above, the transmission side transmission apparatus 1 can preferentially transmit a packet having a higher priority. Further, the transmission apparatus 1 on the transmission side can distribute and transmit a packet of a certain flow (connection) to a plurality of paths without being limited to one path. As a result, the transmission apparatus 1 on the transmission side can expand the transmission band per flow more than the band that one physical line has, and can preferentially transmit packets with high real-time characteristics.
[送信側伝送装置の動作]
次に、図3〜図7を参照して、本発明の実施形態に係る送信側伝送装置1の動作について説明する。
この送信側伝送装置1は、送信装置3から入力されるパケットのうちで、より優先度の高いフローのパケットを選定する優先パケット選定動作と、この優先パケット選定動作で順次選定されるパケットを、複数の経路に振り分けて出力するパケット経路振分動作と、これらの動作と並列して、経路の状態を管理する経路状態管理動作との大きく3つの動作を行う。
以下、各動作について詳細に説明する。
[Transmission side transmission device operation]
Next, with reference to FIGS. 3 to 7, the operation of the transmission apparatus 1 on the transmission side according to the embodiment of the present invention will be described.
The transmission apparatus 1 on the transmission side selects a priority packet selection operation for selecting a packet having a higher priority flow among the packets input from the transmission device 3, and packets sequentially selected by the priority packet selection operation. There are roughly three operations: a packet route distribution operation that distributes and outputs to a plurality of routes, and a route state management operation that manages the state of the route in parallel with these operations.
Hereinafter, each operation will be described in detail.
(優先パケット選定動作)
まず、図3,図4を参照(適宜図1,図2参照)して、送信側伝送装置1の優先パケット選定動作について説明する。この動作は、主に、入力パケット識別手段12と優先パケット取得手段14とによって動作する。
図3に示すように、送信側伝送装置1の入力パケット識別手段12は、通信制御手段10の入力手段101を介して、パケットを入力すると(ステップS1)、送信元のアドレス等によって、当該パケットが伝送対象パケットであるか否かを判定する(ステップS2)。
ここで、当該パケットが伝送対象パケットでなければ(ステップS2でNo)、入力パケット識別手段12は、当該パケット、すなわち、受信側伝送装置2から通知された受信側経路状態通知を、経路状態保持手段17に出力して動作を終了する。
一方、入力手段101を介して入力されたパケットが伝送対象パケットである場合(ステップS2でYes)、入力パケット識別手段12は、パケットのヘッダから、フローを識別する(ステップS4)。
(Priority packet selection operation)
First, the priority packet selection operation of the transmission apparatus 1 on the transmission side will be described with reference to FIGS. 3 and 4 (see FIGS. 1 and 2 as appropriate). This operation is mainly performed by the input
As shown in FIG. 3, when the input
Here, if the packet is not a transmission target packet (No in step S2), the input
On the other hand, when the packet input via the
そして、入力パケット識別手段12は、優先度テーブルから、ステップS3で識別したフローに対応した優先度を取得する(ステップS5)。そして、入力パケット識別手段12は、伝送対象パケットを、処理待ちバッファ13のステップS5で取得した優先度に対応するバッファに格納(記憶)する(ステップS6)。
Then, the input
ここで、伝送対象パケットを格納する直前の処理待ちバッファ13が空であった場合(ステップS7でYes)、入力パケット識別手段12は、処理待ちバッファ13内の情報として保持する処理対象優先度を、当該伝送対象パケットの優先度に更新する(ステップS8)。その後、入力パケット識別手段12は、優先パケット取得手段14に、処理待ちバッファ13にパケットを格納した旨の通知(パケット格納通知)を出力する(ステップS9)。
Here, when the
一方、伝送対象パケットを格納する直前の処理待ちバッファ13が空でなかった場合(ステップS7でNo)、入力パケット識別手段12は、さらに、今回の伝送対象パケットの優先度が、処理待ちバッファ13内の処理対象優先度よりも高いか否かを判定する(ステップS10)。そして、入力パケット識別手段12は、今回の伝送対象パケットの優先度の方が高い場合だけ(ステップS10でYes)、処理対象優先度を、今回の伝送対象パケットの優先度に更新する(ステップS11)。
以上の動作によって、入力パケット識別手段12は、処理待ちバッファ13に優先度別にパケットをバッファリングするとともに、処理対象優先度に、現時点で最も高い優先度を設定する。
On the other hand, if the
With the above operation, the input
そして、図4に示すように、送信側伝送装置1の優先パケット取得手段14は、入力パケット識別手段12から、パケット格納通知を入力すると(ステップS20)、処理待ちバッファ13の処理対象優先度のバッファにパケットが格納されているか否かを判定する(ステップS21)。
ここで、処理対象優先度のバッファにパケットが格納されている場合(ステップS21でYes)、優先パケット取得手段14は、当該バッファからパケットを取得する(ステップS22)。そして、優先パケット取得手段14は、ステップS22で取得したパケットを、パケット振分手段15に出力する(ステップS23)。
As shown in FIG. 4, when the priority
Here, when the packet is stored in the processing priority buffer (Yes in step S21), the priority
その後、優先パケット取得手段14は、パケット振分手段15から、パケットの振り分けが終了した旨の通知(終了通知)を入力すると(ステップS24)、ステップS21に戻って動作を繰り返す。
なお、ステップS21で、処理対象優先度のバッファにパケットが格納されていない場合(ステップS21でNo)、優先パケット取得手段14は、処理待ちバッファ13のすべてのバッファが空か否かを判定する(ステップS25)。
ここで、空でないバッファが存在する場合(ステップS25でNo)、優先パケット取得手段14は、処理対象優先度を現在の優先度の次に高い優先度に更新し(ステップS26)、ステップS21に戻って動作を繰り返す。
Thereafter, when the priority
When no packet is stored in the processing target priority buffer in step S21 (No in step S21), the priority
Here, when there is a non-empty buffer (No in step S25), the priority
一方、すべてのバッファが空であれば(ステップS25でYes)、優先パケット取得手段14は、動作を終了し、入力パケット識別手段12から次のパケット格納通知が入力されるまで待機する。
以上の動作によって、優先パケット取得手段14は、処理待ちバッファ13から、より優先度の高いパケットを選定することができる。
On the other hand, if all the buffers are empty (Yes in step S25), the priority
With the above operation, the priority
(パケット経路振分動作)
次に、図5を参照(適宜図1,図2参照)して、送信側伝送装置1のパケット経路振分動作について説明する。この動作は、主に、パケット振分手段15と出力計測手段16とによって動作する。
図5に示すように、送信側伝送装置1のパケット振分手段15は、優先パケット取得手段14からパケットを入力すると(ステップS30)、経路状態保持手段17に経路状態を問い合わせ、その問い合わせ結果である経路状態に基づいて、経路を選択する(ステップS31)。
(Packet route distribution operation)
Next, referring to FIG. 5 (refer to FIGS. 1 and 2 as appropriate), the packet path distribution operation of the transmission apparatus 1 on the transmission side will be described. This operation is mainly performed by the
As shown in FIG. 5, when the
そして、パケット振分手段15は、ステップS31で選択した経路に対応する出力計測手段16にパケットを出力する(ステップS32)。
その後、パケット振分手段15は、パケットの振り分けが終了した旨の通知(終了通知)を優先パケット取得手段14に出力して(ステップS33)、動作を終了し、優先パケット取得手段14から次のパケットが入力されるまで待機する。
Then, the
Thereafter, the
そして、図6に示すように、送信側伝送装置1の出力計測手段16は、パケット振分手段15からパケットを入力すると(ステップS40)、当該パケットに経路ごとのシーケンス番号(経路シーケンス番号)と送信時刻とを付加する(ステップS41)。
そして、出力計測手段16は、ステップS41で経路シーケンス番号等が付加されたパケットを、振り分けられた経路に対応する通信制御手段10(出力手段102)に出力する(ステップS42)。
さらに、出力計測手段16は、出力したパケットの経路シーケンス番号、送信時刻を、当該パケットの送信状況として経路状態保持手段17に通知(送信状況通知)する(ステップS43)。
以上の動作によって、パケット振分手段15および出力計測手段16は、1つの経路に限定することなく、パケットの出力を、順次複数の経路に振り分けることができる。
Then, as shown in FIG. 6, when the output measuring means 16 of the transmitting side transmission apparatus 1 inputs a packet from the packet allocating means 15 (step S40), a sequence number (path sequence number) for each path is added to the packet. The transmission time is added (step S41).
Then, the
Further, the
With the above operation, the
(経路状態管理動作)
次に、図7を参照(適宜図1,図2参照)して、送信側伝送装置1の経路状態管理動作について説明する。この動作は、主に、経路状態保持手段17によって動作する。
図7(a)に示すように、送信側伝送装置1の経路状態保持手段17は、パケット振分手段15から、経路状態の問い合わせが指示として入力されると(ステップS40)、経路状態記憶手段173に記憶されている経路状態を読み出して、パケット振分手段15に出力する(ステップS41)。
(Route status management operation)
Next, with reference to FIG. 7 (refer to FIGS. 1 and 2 as appropriate), the path state management operation of the transmission apparatus 1 on the transmission side will be described. This operation is mainly performed by the path
As shown in FIG. 7 (a), the path
また、図7(b)に示すように、経路状態保持手段17は、出力計測手段16から、経路ごとのシーケンス番号(経路シーケンス番号)、送信時刻、パケット長等の送信状況の通知(送信状況通知)を入力されると(ステップS42)、送信側経路状態更新手段172によって、経路状態記憶手段173に記憶されている、送信側で計測可能な送信帯域等の経路状態を更新する(ステップS43)。
Further, as shown in FIG. 7B, the path
また、図7(c)に示すように、経路状態保持手段17は、入力パケット識別手段12から、受信側伝送装置2で計測された経路状態の通知(受信側経路状態通知)を入力されると(ステップS44)、経路状態記憶手段173に記憶されている、受信帯域、片方向遅延、パケットロス率等の経路状態を更新する(ステップS45)。
以上の動作によって、経路状態保持手段17は、経路ごとの通信状態を逐次監視し、パケット振分手段15に対して、パケットを振り分ける際に参考となる経路状態を提供することができる。
Further, as shown in FIG. 7C, the path
With the above operation, the path
[受信側伝送装置の構成]
次に、図8を参照(適宜図1参照)して、参考例の実施形態に係る受信側伝送装置2(受信側のパケット伝送装置)の構成について説明する。
ここでは、受信側伝送装置2は、通信制御手段20(201,…,20m)と、入力計測手段21(211,…,21m)と、パケット並替手段22と、並替待ちバッファ23と、パケット出力手段24と、経路状態保持手段25と、を備える。
[Configuration of receiving side transmission equipment]
Next, the configuration of the reception-side transmission apparatus 2 (reception-side packet transmission apparatus) according to the embodiment of the reference example will be described with reference to FIG. 8 (refer to FIG. 1 as appropriate).
Here, the receiving side transmission apparatus 2 includes communication control means 20 (20 1 ,..., 20 m ), input measurement means 21 (21 1 ,..., 21 m ), packet rearrangement means 22, and rearrangement waiting. A
通信制御手段20は、ネットワークNを介して、通信データ(パケット)を送受信するものである。具体的には、通信制御手段20は、NIC(Network Interface Card)で構成される。この通信制御手段20は、送信側伝送装置1と受信側伝送装置2との間の複数の経路(R1,…,Rm)に対応して複数(201,…,20m)備える。
また、通信制御手段20は、入力手段201と、出力手段202と、を備える。
The communication control means 20 transmits and receives communication data (packets) via the network N. Specifically, the communication control means 20 is configured by a NIC (Network Interface Card). The communication control means 20 includes a plurality (20 1 ,..., 20 m ) corresponding to a plurality of paths (R 1 ,..., R m ) between the transmission side transmission device 1 and the reception side transmission device 2.
Further, the
入力手段201は、ネットワークNを介して、通信データ(パケット)を入力するものである。ここでは、入力手段201は、送信側伝送装置1から送信されたパケットを入力する。この入力手段201は、入力したパケットを入力計測手段21に出力する。
The
出力手段202は、入力手段201で入力された、送信側伝送装置1を介して送信装置3から送信されたパケットを、送信先の受信装置4に出力したり、受信側伝送装置2において検知している受信側の経路状態を通知するためのデータ(受信側経路状態通知)を、送信側伝送装置1に対して出力したりするものである。
なお、出力手段202は、パケット出力手段24から、受信装置4に出力するパケットを入力し、経路状態保持手段25から、受信側経路状態通知を入力する。
The
The
入力計測手段21は、通信制御手段20(入力手段201)からパケットを入力し、パケットの受信状況を計測するものである。
この入力計測手段21は、通信制御手段20(入力手段201)の予め設定された経路R1,…,Rmごとに、複数(211,…,21m)備える。
ここでは、入力計測手段21は、入力したパケットの経路シーケンス番号、送信時刻、受信時刻、パケット長を、当該パケットの受信状況として経路状態保持手段25に通知(受信状況通知)する。この入力計測手段21は、経路シーケンス番号、送信時刻、パケット長については、パケットのヘッダから抽出する。また、入力計測手段21は、受信時刻については、図示を省略した計時手段によって計時される現時点の時刻を用いる。
なお、入力計測手段21は、入力したパケットをパケット並替手段22に出力する。
The
The input measuring means 21 includes a plurality (21 1 ,..., 21 m ) for each of the preset routes R 1 ,..., R m of the communication control means 20 (input means 201).
Here, the
The
パケット並替手段22は、入力計測手段21から入力されたパケットを、当該パケットのヘッダから、送信装置3と受信装置4とのフローを特定して、フローごとに区分して、パケットを並替待ちバッファ23に記憶するものである。さらに、パケット並替手段22は、逐次、パケットのヘッダから、フローのシーケンス番号を特定して、並替待ちバッファ23に記憶しているフローごとのパケットの順番を並び替える。
これによって、異なる経路で同一のフローのパケットが入力された場合でも、並替待ちバッファ23内で、逐次、フローごとのシーケンス番号の順番にパケットが整列されることになる。
The packet rearrangement means 22 identifies the flow between the transmission device 3 and the
As a result, even when packets of the same flow are input through different paths, the packets are sequentially arranged in the order of sequence numbers for each flow in the
また、ここでは、パケット並替手段22は、入力計測手段21で計測された受信時刻もパケットとともに、並替待ちバッファ23に記憶することとする。もちろん、パケット並替手段22は、受信時刻に限定されず、並替待ちバッファ23にパケットを記憶するタイミングに計測した時刻を記憶することとしてもよい。
これによって、パケットが、並替待ちバッファ23内に、いつから記憶されているのかを管理することができる。
Here, the
Thus, it is possible to manage from when the packet is stored in the
並替待ちバッファ23は、入力されたパケットをフロー別に記憶するものである。この並替待ちバッファ23は、半導体メモリ等の一般的な記憶媒体で構成される。
ここでは、並替待ちバッファ23は、パケット並替手段22によってパケットが書き込まれ、パケット出力手段24によって、順次、パケットが読み出され削除される。
The
Here, in the
パケット出力手段24は、並替待ちバッファ23に記憶されている、フローごとでシーケンス番号順に並び替えられたパケットを、シーケンス番号の順に順次読み出して、出力手段202に出力するものである。
このパケット出力手段24は、並替待ちバッファ23に記憶されているフロー別のパケットの先頭パケットのシーケンス番号(フローシーケンス番号)によって、当該パケットの並べ替えが完了したか否かを判定し、並べ替えが完了したパケットを、当該パケットの宛先アドレス(IPアドレス等)を経路とする出力手段202に出力する。
このとき、パケット出力手段24は、送信側伝送装置1でパケットに付加されたシーケンス番号(経路シーケンス番号)および送信時刻を削除することとする。
The
The
At this time, the
なお、パケット出力手段24は、並替待ちバッファ23に記憶されているフロー別のパケットの先頭パケットのシーケンス番号が、先に出力した番号と連続しない場合であっても、当該パケットが一定時間以上、並替待ちバッファ23に記憶されている場合は、出力手段202に出力することとする。
Note that the packet output means 24 keeps the packet longer than a certain time even if the sequence number of the first packet of the flow-specific packet stored in the
経路状態保持手段25は、送信側伝送装置1と受信側伝送装置2との間の経路R1,…,Rmの状態(経路状態)を保持するものである。ここでは、経路状態保持手段25は、経路状態更新手段251と、経路状態記憶手段252と、経路状態送信手段253と、を備える。
The path state holding
経路状態更新手段251は、受信側伝送装置2が受信したパケットの受信状況から、経路状態記憶手段252に記憶されている受信側で計測可能な経路状態を更新するものである。
ここでは、経路状態更新手段251は、経路R1,…,Rmに対応した入力計測手段211,…,21mから、パケットの経路シーケンス番号、送信時刻、受信時刻、パケット長等を受信状況通知として取得する。そして、経路状態更新手段251は、この受信状況通知に基づいて、各経路R1,…,Rmの経路状態として受信帯域、片方向遅延、パケットロス率等を計算して、経路状態記憶手段252に経路状態として記憶(更新)する。
The path
Here, the path
経路状態記憶手段252は、経路ごとの受信状態(経路状態)を記憶するものである。この経路状態記憶手段252は、半導体メモリ等の一般的な記憶媒体で構成される。
この経路状態記憶手段252には、経路状態更新手段251によって更新される経路状態である受信帯域、片方向遅延、パケットロス率等が記憶される。
The route
The route
経路状態送信手段253は、経路状態記憶手段252に記憶されている経路状態を、経路ごとに対応した通信制御手段20(出力手段202)を介して、送信側伝送装置1に送信(通知)する。なお、経路状態送信手段253が受信側で計測した経路状態を送信側伝送装置1に送信するタイミングは、一定時間ごとに送信することとしてもよいし、経路状態を通知する条件を満たしたときに送信することとしてもよい。この経路状態を通知する条件は、例えば、片方向遅延が閾値を超えた場合、パケットロス率が閾値を超えた場合等である。
もちろん、送信側伝送装置1に送信するタイミングは、一定時間ごとと、経路状態を通知する条件を満たしたときとの両方としてもよい。
The path
Of course, the timing of transmission to the transmission apparatus 1 on the transmission side may be both at regular intervals and when the condition for notifying the path state is satisfied.
以上説明したように受信側伝送装置2を構成することで、受信側伝送装置2は、複数の経路で送信されてくるフロー(コネクション)のパケットを、フローのシーケンス番号順に受信装置4に伝送することができる。また、受信側伝送装置2は、送信側伝送装置1でパケットを送信する経路を決定する際の経路状態を、送信側伝送装置1に通知することができる。
By configuring the reception side transmission apparatus 2 as described above, the reception side transmission apparatus 2 transmits the packets of the flows (connections) transmitted through a plurality of paths to the
[受信側伝送装置の動作]
次に、図9〜図12を参照して、参考例の実施形態に係る受信側伝送装置2の動作について説明する。
この受信側伝送装置2は、送信側伝送装置1から伝送されるパケットを受信装置4に出力するパケット伝送動作と、経路の状態を管理する経路状態管理動作との大きく2つの動作を行う。
以下、各動作について詳細に説明する。
[Operation of receiving side transmission equipment]
Next, the operation of the reception-side transmission apparatus 2 according to the embodiment of the reference example will be described with reference to FIGS.
The receiving side transmission device 2 performs two main operations: a packet transmission operation for outputting a packet transmitted from the transmission side transmission device 1 to the receiving
Hereinafter, each operation will be described in detail.
(パケット伝送動作)
まず、図9〜図11を参照(適宜図1,図8参照)して、受信側伝送装置2のパケット伝送動作について説明する。この動作は、主に、入力計測手段21とパケット並替手段22とパケット出力手段24とによって動作する。
図9に示すように、受信側伝送装置2の入力計測手段21は、通信制御手段20の入力手段201を介して、パケットを入力する(ステップS50)。
ここで、入力計測手段21は、入力したパケットの経路シーケンス番号、送信時刻、受信時刻、パケット長を、当該パケットの受信状況として経路状態保持手段25に出力(受信状況通知)する(ステップS51)。
また、入力計測手段21は、入力したパケットを、パケット並替手段22に出力する(ステップS52)。
(Packet transmission operation)
First, the packet transmission operation of the receiving side transmission apparatus 2 will be described with reference to FIGS. 9 to 11 (refer to FIGS. 1 and 8 as appropriate). This operation is mainly performed by the
As shown in FIG. 9, the input measuring means 21 of the receiving side transmission apparatus 2 inputs a packet via the input means 201 of the communication control means 20 (step S50).
Here, the
Further, the
そして、図10に示すように、受信側伝送装置2のパケット並替手段22は、入力計測手段21からパケットを入力する(ステップS60)。
そして、パケット並替手段22は、パケットのヘッダから、フローを特定して、並替待ちバッファ23において、フローごとにシーケンス番号(フローシーケンス番号)の順番でパケットを並び替える(ステップS61)。
And as shown in FIG. 10, the packet rearrangement means 22 of the receiving side transmission apparatus 2 inputs a packet from the input measurement means 21 (step S60).
Then, the packet rearrangement means 22 identifies the flow from the packet header, and rearranges the packets in the order of the sequence number (flow sequence number) for each flow in the rearrangement waiting buffer 23 (step S61).
そして、図11に示すように、受信側伝送装置2のパケット出力手段24は、並替待ちバッファ23に、パケットが格納されているか否かを判定する(ステップS70)。
ここで、並替待ちバッファ23にパケットが格納されていなければ(ステップS70でNo)、パケット出力手段24は、並替待ちバッファ23にパケットが格納されるまで待機する。
一方、並替待ちバッファ23にパケットが格納されている場合(ステップS70でYes)、パケット出力手段24は、並替待ちバッファ23において、フローごとに格納されているパケットの先頭パケットが並べ替えの完了したパケットか否か、すなわち、次に送信すべきシーケンス番号のパケットが、パケット並替手段22によって、フローごとのバッファの先頭に並べ替えられているか否かを判定する(ステップS71)。
Then, as shown in FIG. 11, the packet output means 24 of the receiving side transmission apparatus 2 determines whether or not a packet is stored in the rearrangement waiting buffer 23 (step S70).
Here, if the packet is not stored in the rearrangement waiting buffer 23 (No in step S70), the
On the other hand, when the packet is stored in the rearrangement waiting buffer 23 (Yes in step S70), the
ここで、先頭パケットの並べ替えが完了している場合(ステップS71でYes)、パケット出力手段24は、先頭パケットを、当該パケットの宛先アドレス(IPアドレス等)を経路とする出力手段202に出力する(ステップS72)。なお、このとき、パケット出力手段24は、送信側伝送装置1でパケットに付加されたシーケンス番号(経路シーケンス番号)および送信時刻を削除する。
そして、パケット出力手段24は、ステップS70に戻って動作を繰り返す。
Here, when the rearrangement of the head packet is completed (Yes in step S71), the
Then, the
一方、先頭パケットの並べ替えが完了していない場合であっても(ステップS71でNo)、先頭パケットが、並替待ちバッファ23に一定時間(閾値)以上記憶されている場合(ステップS73でYes)、パケット出力手段24は、先頭パケットを、当該パケットの宛先アドレスを経路とする出力手段202に出力する(ステップS72)。
また、先頭パケットの並替待ちバッファ23に記憶されている時間が一定時間未満であれば(ステップS73でNo)、パケット出力手段24は、出力手段202への出力は行わず、ステップS70に戻って動作を繰り返す。
以上の動作によって、受信側伝送装置2は、パケットをフロー別に並べ替えて、宛先の受信装置4に伝送することができる。
On the other hand, even if the rearrangement of the head packet is not completed (No in step S71), the head packet is stored in the
If the time stored in the
With the above operation, the receiving side transmission device 2 can rearrange the packets by flow and transmit the packets to the
(経路状態管理動作)
次に、図12を参照(適宜図1,図8参照)して、受信側伝送装置2の経路状態管理動作について説明する。この動作は、主に、経路状態保持手段25によって動作する。
図12(a)に示すように、受信側伝送装置2の経路状態保持手段25は、入力計測手段21から、パケットの経路シーケンス番号、送信時刻、受信時刻、パケット長等を受信状況通知として入力されると(ステップS80)、経路状態更新手段251によって、経路状態として受信帯域、片方向遅延、パケットロス率等を計算して、経路状態記憶手段252に記憶されている経路状態を更新する(ステップS81)。
(Route status management operation)
Next, with reference to FIG. 12 (refer to FIGS. 1 and 8 as appropriate), the path state management operation of the receiving side transmission apparatus 2 will be described. This operation is mainly performed by the path state holding means 25.
As shown in FIG. 12A, the path state holding means 25 of the receiving side transmission apparatus 2 inputs the packet path sequence number, transmission time, reception time, packet length, etc. from the input measuring means 21 as a reception status notification. Then (step S80), the path
そして、経路状態保持手段25は、経路状態送信手段253によって、片方向遅延が閾値を超えた場合、パケットロス率が閾値を超えた場合等の予め定めた状態通知条件を満たした場合(ステップS82でYes)、経路ごとに対応した通信制御手段20(出力手段202)に経路状態を出力する(ステップS83)。
Then, the path
なお、経路状態保持手段25は、ステップS82,S83に替えて、図12(b)に示すように、一定時間待機し(ステップS84)、その後、通信制御手段20(出力手段202)に経路状態を出力する(ステップS85)こととしてもよい。
あるいは、経路状態保持手段25は、ステップS82,S83に加えて、ステップS84,S85の動作を行うこととしてもよい。
以上の動作によって、経路状態保持手段25は、経路ごとの通信状態を逐次監視し、送信側伝送装置1に対して、パケットを振り分ける際に参考となる経路状態を提供することができる。
The route
Alternatively, the path
With the above operation, the path
以上、本発明や参考例の実施形態について説明したが、送信側伝送装置1や受信側伝送装置2は、これらの実施形態は限定されるものではない。
例えば、送信側伝送装置1(図2)のパケット振分手段15では、パケットを各経路に振り分ける際に、経路状態に応じて振り分けることとした。しかし、本発明は、優先度の高いパケットについては、伝送帯域を拡張して優先的に伝送することを目的としていることから、パケット振分手段15は、経路状態によらずに、ラウンドロビン法によって各経路を順番に使用することとしてもよい。
As mentioned above, although embodiment of this invention or the reference example was demonstrated, these embodiment is not limited for the transmission side transmission apparatus 1 and the reception side transmission apparatus 2. FIG.
For example, the packet distribution means 15 of the transmission apparatus 1 (FIG. 2) distributes packets according to the path state when distributing the packets to the respective paths. However, since the present invention is intended to preferentially transmit a packet with high priority by extending the transmission band, the packet distribution means 15 does not depend on the path state, but the round robin method. It is good also as using each path | route in order by.
この場合、本発明を実施するには、経路状態を計測したり、保持したりする手段を省略した簡易な構成としてもよい。すなわち、図13,図14に示したように、送信側伝送装置1(図2)から出力計測手段16、経路状態保持手段17を省略した送信側伝送装置1Bや、受信側伝送装置2(図8)から入力計測手段21、経路状態保持手段25を省略した受信側伝送装置2Bとして、簡易に構成してもよい。
なお、この場合、出力計測手段16(図2)が行っていた、パケットのヘッダにシーケンス番号、送信時刻を付加する機能は、パケット振分手段15が行うこととすればよい。
In this case, in order to implement the present invention, a simple configuration in which means for measuring or holding the path state is omitted may be employed. That is, as shown in FIGS. 13 and 14, the transmission side transmission apparatus 1B in which the output measuring means 16 and the path state holding means 17 are omitted from the transmission side transmission apparatus 1 (FIG. 2), and the reception side transmission apparatus 2 (FIG. The receiving side transmission device 2B from which the
In this case, the function of adding the sequence number and the transmission time to the header of the packet, which has been performed by the output measuring unit 16 (FIG. 2), may be performed by the
また、送信側伝送装置1,1Bや受信側伝送装置2,2Bは、それぞれ、コンピュータを、前記した内部構成の各手段として機能させるためのプログラム(送信側のパケット伝送プログラム、受信側のパレット伝送プログラム)で動作させることができる。 Also, the transmission apparatus 1 and 1B on the transmission side and the transmission apparatuses 2 and 2B on the reception side are respectively programs for causing the computer to function as each means of the internal configuration (packet transmission program on the transmission side, palette transmission on the reception side). Program).
S パケット伝送システム
1 送信側伝送装置(送信側のパケット伝送装置)
10 通信制御手段
11 優先度テーブル記憶手段
12 入力パケット識別手段(優先度識別手段)
13 処理待ちバッファ(優先度別パケット記憶手段)
14 優先パケット取得手段
15 パケット振分手段
16 出力計測手段
17 経路状態保持手段
171 受信側経路状態更新手段
172 送信側経路状態更新手段
173 経路状態記憶手段
174 経路状態通知手段
2 受信側伝送装置(受信側のパケット伝送装置)
20 通信制御手段
21 入力計測手段
22 パケット並替手段
23 並替待ちバッファ
24 パケット出力手段
25 経路状態保持手段
251 経路状態更新手段
252 経路状態記憶手段
253 経路状態送信手段
3 送信装置
4 受信装置
S packet transmission system 1 Transmission side transmission equipment (transmission side packet transmission equipment)
10 communication control means 11 priority table storage means 12 input packet identification means (priority identification means)
13 Processing waiting buffer (priority packet storage means)
DESCRIPTION OF
DESCRIPTION OF
Claims (3)
前記複数の経路に対応してパケットを送受信する複数の通信制御手段と、
パケットの送信元のアドレスと受信先のアドレスとを対とした送受アドレスごとに予め優先度を対応付けた優先度テーブルを記憶する優先度テーブル記憶手段と、
前記優先度ごとに区分して、パケットを一時記憶する優先度別パケット記憶手段と、
前記送信装置から前記通信制御手段を介して入力されたパケットに含まれている送受アドレスに基づいて、前記優先度テーブルから当該パケットの優先度を識別して、前記優先度別パケット記憶手段に記憶する優先度識別手段と、
前記優先度別パケット記憶手段に記憶されているパケットから、前記優先度が高いパケットを優先して取得する優先パケット取得手段と、
この優先パケット取得手段で取得したパケットを、順次、前記複数の通信制御手段に振り分けて出力するパケット振分手段と、
前記経路ごとの伝送状態である経路状態を記憶する経路状態記憶手段と、
当該送信側のパケット伝送装置から前記受信側のパケット伝送装置までの予め定めた経路ごとに、前記通信制御手段を介して出力されるパケットの送信時刻およびパケット長を送信状況として計測する出力計測手段と、
この出力計測手段で計測された送信状況に基づいて、経路ごとの送信帯域を計算し、前記経路状態記憶手段に記憶されている経路状態を更新する送信側経路状態更新手段と、
前記受信側のパケット伝送装置において計測された受信帯域を、前記通信制御手段を介して取得し、前記経路状態を更新する受信側経路状態更新手段と、を備え、
前記パケット振分手段は、前記経路状態記憶手段に記憶されている経路状態に基づいて、前記パケットを振り分けることを特徴とするパケット伝送装置。 The packet transmission apparatus on the transmission side in the packet transmission system for transmitting packets from the transmission apparatus to the reception apparatus via the packet transmission apparatus on the transmission side and the packet transmission apparatus on the reception side connected by a plurality of routes on the network Because
A plurality of communication control means for transmitting and receiving packets corresponding to the plurality of paths;
A priority table storage means for storing a priority table in which priority is associated in advance for each transmission / reception address in which a packet transmission source address and a reception address are paired;
A packet storage unit classified by priority for temporarily storing a packet, divided for each priority;
Based on a transmission / reception address included in a packet input from the transmission device via the communication control means, the priority of the packet is identified from the priority table and stored in the priority-specific packet storage means. Priority identification means for
Priority packet acquisition means for preferentially acquiring the packet having a high priority from the packets stored in the packet storage means by priority;
Packet distribution means for sequentially distributing and outputting the packets acquired by the priority packet acquisition means to the plurality of communication control means,
Route state storage means for storing a route state which is a transmission state for each route;
Output measuring means for measuring a transmission time and a packet length of a packet output via the communication control means as a transmission status for each predetermined route from the packet transmission apparatus on the transmission side to the packet transmission apparatus on the reception side When,
Based on the transmission status measured by the output measuring means, a transmission bandwidth for each path is calculated, and a transmission side path state updating means for updating the path state stored in the path state storage means;
Receiving path measured in the packet transmission device on the receiving side via the communication control means, and receiving side path state updating means for updating the path state, and
The packet transmission unit distributes the packet based on a path state stored in the path state storage unit .
前記優先度識別手段は、入力されたパケットが前記処理対象優先度よりも優先度が高いパケットである場合、当該パケットの優先度で前記処理対象優先度を更新することを特徴とする請求項1に記載のパケット伝送装置。 In the priority-level packet storage means, a processing target priority that is a priority of a packet acquired by the priority packet acquisition means is stored,
2. The priority identifying unit, when an input packet is a packet having a higher priority than the processing target priority, updates the processing target priority with the priority of the packet. The packet transmission apparatus described in 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013040257A JP6101114B2 (en) | 2013-03-01 | 2013-03-01 | Packet transmission apparatus and program thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013040257A JP6101114B2 (en) | 2013-03-01 | 2013-03-01 | Packet transmission apparatus and program thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014170988A JP2014170988A (en) | 2014-09-18 |
JP6101114B2 true JP6101114B2 (en) | 2017-03-22 |
Family
ID=51693093
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013040257A Expired - Fee Related JP6101114B2 (en) | 2013-03-01 | 2013-03-01 | Packet transmission apparatus and program thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6101114B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016132669A1 (en) * | 2015-02-19 | 2016-08-25 | 日本電気株式会社 | Communication device, communication system, and communication method |
CN106998302B (en) | 2016-01-26 | 2020-04-14 | 华为技术有限公司 | Service flow distribution method and device |
JP2019106653A (en) * | 2017-12-14 | 2019-06-27 | 株式会社富士通アドバンストエンジニアリング | Communication system and communication device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4430597B2 (en) * | 2005-08-26 | 2010-03-10 | 日本電信電話株式会社 | NETWORK SYSTEM, TRANSMITTER DISTRIBUTION DEVICE, PACKET COMMUNICATION METHOD, AND PACKET COMMUNICATION PROGRAM |
JP2006067615A (en) * | 2005-09-29 | 2006-03-09 | Hitachi Ltd | Packet repeating apparatus with communication quality control function |
JP4379429B2 (en) * | 2006-04-20 | 2009-12-09 | 日本電気株式会社 | Data transfer apparatus and priority control method |
-
2013
- 2013-03-01 JP JP2013040257A patent/JP6101114B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2014170988A (en) | 2014-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101468833B1 (en) | Hierarchical profiled scheduling and shaping | |
EP2959645B1 (en) | Dynamic optimization of tcp connections | |
KR100863539B1 (en) | Communication Method | |
CN110493145A (en) | A kind of caching method and device | |
US8427958B2 (en) | Dynamic latency-based rerouting | |
CN106027416B (en) | A kind of data center network traffic scheduling method and system based on space-time combination | |
CN105391567B (en) | Traffic management implementation method, device and the network equipment | |
US8750129B2 (en) | Credit-based network congestion management | |
JP2008518552A (en) | Empirical scheduling of network packets using coarse test period | |
CN108540380A (en) | More subflow network transfer methods and device | |
US8514700B2 (en) | MLPPP occupancy based round robin | |
CN111526089B (en) | Data fusion transmission and scheduling device based on variable-length granularity | |
WO2021244450A1 (en) | Communication method and apparatus | |
JP6101114B2 (en) | Packet transmission apparatus and program thereof | |
US20180176144A1 (en) | APPARATUS FOR SELF-REGULATER (SR) LAST-IN, FIRST-OUT (LIFO) SCHEDULING IN SOFTWARE DEFINED NETWORKS (SNDs) WITH HYBRID TRAFFIC | |
US10292181B2 (en) | Information communication method and information processing apparatus | |
CN106330710B (en) | Data stream scheduling method and device | |
JP5039677B2 (en) | Edge node and bandwidth control method | |
Patel et al. | Comparative analysis of congestion control algorithms using ns-2 | |
US20170373982A1 (en) | System and method for mtu size reduction in a packet network | |
JP2007318497A (en) | Wireless access controller and control method, wireless unit, and network | |
CN113014498A (en) | Method and device for receiving and transmitting data | |
CN111953598B (en) | Distributed traffic forwarding method, device and system | |
EP3162009B1 (en) | Controlling packet flow in a network | |
JP4977677B2 (en) | Edge node and bandwidth control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160201 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20161114 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20161122 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170120 |
|
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: 20170131 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170224 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6101114 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |