JP4953142B2 - Communication apparatus, packet division method and program - Google Patents
Communication apparatus, packet division method and program Download PDFInfo
- Publication number
- JP4953142B2 JP4953142B2 JP2009093965A JP2009093965A JP4953142B2 JP 4953142 B2 JP4953142 B2 JP 4953142B2 JP 2009093965 A JP2009093965 A JP 2009093965A JP 2009093965 A JP2009093965 A JP 2009093965A JP 4953142 B2 JP4953142 B2 JP 4953142B2
- Authority
- JP
- Japan
- Prior art keywords
- length
- data
- packet
- dividing
- division
- 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
- 238000004891 communication Methods 0.000 title claims description 136
- 238000000034 method Methods 0.000 title claims description 29
- 238000004364 calculation method Methods 0.000 claims description 35
- 238000005538 encapsulation Methods 0.000 claims description 27
- 230000005540 biological transmission Effects 0.000 claims description 17
- 230000011218 segmentation Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 9
- 239000012634 fragment Substances 0.000 description 2
- 241001522296 Erithacus rubecula Species 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000007616 round robin method Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、パケットの送信側から送信されたパケットを分割し、分割したパケットをパケットの受信側へ送信する通信装置、パケット分割方法及びプログラムに関する。 The present invention relates to a communication apparatus, a packet division method, and a program for dividing a packet transmitted from a packet transmission side and transmitting the divided packet to a packet reception side.
マルチリンクPPP(Point to Point Protocol)を利用した通信において、MRU(Maximum Receive Unit)によってパケットの分割を行う場合、パケットは、そのパケットの長さとMRUとに応じ、m個のマルチリンクPPPパケットに分割される。なお、MRUとは、パケットの受信側が1回に受信できる最大のデータ長のことである。この場合、分割されたm個のマルチリンクPPPパケットの内訳は、MRUと同じデータ長のマルチリンクPPPパケットが(m−1)個と、MRUよりも短いデータ長のマルチリンクPPPパケットが1個となる。 In communication using multilink PPP (Point to Point Protocol), when dividing a packet by MRU (Maximum Receive Unit), the packet is divided into m multilink PPP packets according to the length of the packet and the MRU. Divided. The MRU is the maximum data length that can be received at one time by the packet receiver. In this case, the breakdown of the divided m multilink PPP packets is (m−1) multilink PPP packets having the same data length as the MRU and one multilink PPP packet having a data length shorter than the MRU. It becomes.
ここで、PPPとは、2地点間を接続するための通信で使用されるWAN(Wide Area Network)用のプロトコルのことである。また、マルチリンクPPPとは、複数の論理データリンクを使用して複数のPPPによる接続を同時に確立できるようにしたプロトコルのことである。 Here, PPP is a WAN (Wide Area Network) protocol used in communication for connecting two points. Multilink PPP is a protocol that allows a plurality of PPP connections to be established simultaneously using a plurality of logical data links.
マルチリンクPPPを利用した通信において、複数の論理データリンクをラウンドロビン方式で使用し、映像ストリーム等のように長さが一定のパケットを連続して送信する場合を考えてみる。この場合、パケットの分割数と論理データリンクの数との間に公約数があると、MRUよりも短いデータ長のマルチリンクPPPパケットを送信する論理データリンクが固定される。つまり、特定の論理データリンクの帯域の使用率が他の論理データリンクの帯域の使用率よりも低い状態で固定されるという問題点がある。 Consider a case in which a plurality of logical data links are used in a round robin method in communication using multilink PPP, and packets having a constant length such as a video stream are continuously transmitted. In this case, if there is a common divisor between the number of divided packets and the number of logical data links, the logical data link that transmits a multilink PPP packet having a data length shorter than that of the MRU is fixed. That is, there is a problem that the usage rate of the bandwidth of a specific logical data link is fixed in a state lower than the usage rate of the bandwidth of another logical data link.
このような状況において、論理データリンクの帯域の使用率に応じ、使用する論理データリンクの数を動的に増減させようとする場合、論理データリンクの数を増やす基準となる閾値にこの論理データリンクの帯域の使用率が到達せず、論理データリンクの数を増やすことができない場合がある。 In such a situation, when the number of logical data links to be used is dynamically increased / decreased according to the usage rate of the logical data link bandwidth, this logical data is set as a reference threshold for increasing the number of logical data links. In some cases, the link bandwidth usage rate does not reach and the number of logical data links cannot be increased.
ところで、パケットの長さに応じてパケット分割するための技術が例えば、特許文献1や特許文献2に開示されている。特許文献1に開示されている技術は、多層プロトコル構造を持つパケット通信において、プロトコルの種類に応じてエラーが発生しない長さにパケットを分割して送信するという技術である。
By the way, techniques for dividing a packet according to the length of the packet are disclosed in, for example,
また、特許文献2に開示されている技術は、PPPを利用したパケット通信において、通信経路の中間ノード等においてIPフラグメントが発生しないようにパケットを分割して送信するという技術である。なお、IPフラグメントとは、IPよりも下位のプロトコルの最大のフレーム長に応じ、ノードがIPパケットを分割することである。
The technique disclosed in
上述した特許文献1及び特許文献2に開示されている技術は、マルチリンクPPPを利用した通信のように、分割されたパケットを複数の論理データリンクを使用して同時に送信することを想定していない。
The techniques disclosed in
そのため、特許文献1及び特許文献2に開示されている技術を利用しても、特定の論理データリンクの帯域の使用率が他の論理データリンクの帯域の使用率よりも低い状態で固定されるという問題点は解決されない。
Therefore, even if the techniques disclosed in
本発明は、マルチリンクPPPを利用した通信において、特定の論理データリンクの帯域の使用率が他の論理データリンクの帯域の使用率よりも低い状態で固定されることを回避することができる通信装置、パケット分割方法及びプログラムを提供することを目的とする。 The present invention is a communication that can avoid a situation in which the bandwidth usage rate of a specific logical data link is fixed lower than the bandwidth usage rates of other logical data links in communications using multilink PPP. An object is to provide an apparatus, a packet division method, and a program.
上記目的を達成するために本発明は、
通信回線に接続され、パケットの送信側から送信されたパケットを分割し、前記通信回線内に設定された複数の論理データリンクのそれぞれを使用して前記分割したパケットのそれぞれを前記パケットの受信側へ送信する通信装置であって、
前記パケットの送信側から送信されたパケットに前記通信回線を介した通信に必要なヘッダを付加した第1のデータを生成するとともに、前記パケットの長さと、前記パケットの受信側が1回に受信できる最大のデータの長さであるMRUとに基づいて、前記パケットを分割するための分割数を算出し、前記第1のデータを前記分割数で除算することによって分割する。
In order to achieve the above object, the present invention provides:
A packet that is connected to a communication line and that is transmitted from a packet transmission side is divided, and each of the divided packets is received by using each of a plurality of logical data links set in the communication line. A communication device for transmitting to
The first data in which a header required for communication via the communication line is added to the packet transmitted from the packet transmission side is generated, and the length of the packet and the reception side of the packet can be received at a time Based on the MRU which is the maximum data length, the number of divisions for dividing the packet is calculated, and the first data is divided by the number of divisions.
また、通信回線に接続され、パケットの送信側から送信されたパケットを分割し、前記通信回線内に設定された複数の論理データリンクのそれぞれを使用して前記分割したパケットのそれぞれを前記パケットの受信側へ送信する通信装置におけるパケット分割方法であって、
前記パケットの送信側から送信されたパケットに前記通信回線を介した通信に必要なヘッダを付加した第1のデータを生成する処理と、
前記パケットの長さと、前記パケットの受信側が1回に受信できる最大のデータの長さであるMRUとに基づいて、前記パケットを分割するための分割数を算出する算出処理と、
前記第1のデータを前記分割数で除算することによって分割する分割処理と、を有する。
Further, the packet transmitted from the transmission side of the packet is connected to the communication line, and each of the divided packets using each of the plurality of logical data links set in the communication line is divided into the packets. A packet division method in a communication device that transmits to a receiving side,
Processing for generating first data in which a header necessary for communication via the communication line is added to the packet transmitted from the packet transmission side;
A calculation process for calculating the number of divisions for dividing the packet based on the length of the packet and the MRU that is the maximum data length that can be received at one time by the receiving side of the packet;
Dividing the first data by dividing the first data by the number of divisions.
また、通信回線に接続され、パケットの送信側から送信されたパケットを分割し、前記通信回線内に設定された複数の論理データリンクのそれぞれを使用して前記分割したパケットのそれぞれを前記パケットの受信側へ送信する通信装置に、
前記パケットの送信側から送信されたパケットに前記通信回線を介した通信に必要なヘッダを付加した第1のデータを生成する機能と、
前記パケットの長さと、前記パケットの受信側が1回に受信できる最大のデータの長さであるMRUとに基づいて、前記パケットを分割するための分割数を算出する算出機能と、
前記第1のデータを前記分割数で除算することによって分割する分割機能と、を実現させる。
Further, the packet transmitted from the transmission side of the packet is connected to the communication line, and each of the divided packets using each of the plurality of logical data links set in the communication line is divided into the packets. To the communication device that transmits to the receiving side,
A function of generating first data in which a header necessary for communication via the communication line is added to the packet transmitted from the packet transmission side;
A calculation function for calculating the number of divisions for dividing the packet based on the length of the packet and the MRU which is the maximum data length that can be received at one time by the receiving side of the packet;
And a division function for dividing the first data by dividing the first data by the number of divisions.
本発明によれば、通信装置は、複数の論理データリンクが設定された通信回線に接続され、パケットの送信側から送信されたパケットに通信回線を介した通信に必要なヘッダを付加した第1のデータを生成する。また、通信装置は、パケットの長さと、パケットの受信側が1回に受信できる最大のデータの長さであるMRUとに基づいて、パケットを分割するための分割数を算出し、第1のデータを分割数で除算することによって分割する。そして、通信装置は、複数の論理データリンクのそれぞれを使用して分割された第1のデータのそれぞれをパケットの受信側へ送信する。 According to the present invention, the communication device is connected to a communication line in which a plurality of logical data links are set, and a first packet in which a header necessary for communication via the communication line is added to a packet transmitted from the packet transmission side. Generate data for Further, the communication apparatus calculates the number of divisions for dividing the packet based on the length of the packet and the MRU that is the maximum data length that can be received at one time by the packet receiving side. Is divided by the number of divisions. Then, the communication device transmits each of the first data divided using each of the plurality of logical data links to the packet receiving side.
そのため、特定の論理データリンクの帯域の使用率が他の論理データリンクの帯域の使用率よりも低い状態で固定されることを回避することができる。 Therefore, it can be avoided that the usage rate of the bandwidth of a specific logical data link is fixed in a state where it is lower than the usage rate of the bandwidth of another logical data link.
以下に、本発明の実施の形態について図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本発明の通信装置を適用した通信システムの実施の一形態の構成を示すブロック図である。 FIG. 1 is a block diagram showing a configuration of an embodiment of a communication system to which a communication apparatus of the present invention is applied.
本実施形態の通信システムは図1に示すように、通信装置1−1,1−2と、通信装置1−1と通信回線4によって接続された通信端末3−1と、通信装置1−2と通信回線5によって接続された通信端末3−2とを備えている。 As shown in FIG. 1, the communication system according to the present embodiment includes communication devices 1-1 and 1-2, a communication terminal 3-1 connected to the communication device 1-1 by a communication line 4, and a communication device 1-2. And a communication terminal 3-2 connected by a communication line 5.
また、通信装置1−1と通信装置1−2とは、通信回線2によって接続され、通信回線2内に設定された論理データリンク2−1〜2−nを使用してマルチリンクPPPを利用した通信を行う。なお、通信回線2としては例えば、ISDN(Integrated Services Digital Network)のPRI(Primary Rate Interface)が考えられ、その場合、論理データリンク2−1〜2−nは例えば、23本のBチャネルとなる。Bチャネルとは、ISDNのデータ用の論理チャネルであり、音声やデータの伝送に用いられる。Bチャネル1本の帯域は64kbpsである。
Further, the communication device 1-1 and the communication device 1-2 are connected by the
通信端末3−1,3−2は、IPパケットの送信側の端末または受信側の端末である。なお、本実施形態では、通信端末3−1,3−2は、一例としてIP(Internet Protocol)に対応したIPパケットを送受信するものとして説明するが、通信端末3−1,3−2が送受信するパケットはIPパケットに限定されない。 The communication terminals 3-1 and 3-2 are terminals on the IP packet transmitting side or receiving side. In the present embodiment, the communication terminals 3-1 and 3-2 are described as transmitting and receiving IP packets corresponding to IP (Internet Protocol) as an example, but the communication terminals 3-1 and 3-2 transmit and receive. Packets to be performed are not limited to IP packets.
通信装置1−1,1−2は、通信端末3−1,3−2から送信されたIPパケットを受信する。そして、マルチリンクPPPを利用した通信を行うために、受信したIPパケットにヘッダを付加することによってカプセル化する機能を有している。 The communication devices 1-1 and 1-2 receive IP packets transmitted from the communication terminals 3-1 and 3-2. And in order to perform communication using multilink PPP, it has the function to encapsulate by adding a header to the received IP packet.
図2は、図1に示した通信装置1−1の構成の一例を示すブロック図である。なお、通信装置1−2も同様の構成である。 FIG. 2 is a block diagram illustrating an example of the configuration of the communication device 1-1 illustrated in FIG. The communication device 1-2 has the same configuration.
図1に示した通信装置1−1は図2に示すように、分割数算出部11と、分割単位長算出部12と、データ分割部13と、カプセル化部14と、通信IF15−1〜15−nとを備えている。
As shown in FIG. 2, the communication apparatus 1-1 shown in FIG. 1 includes a division
通信IF15−1〜15−nは、通信装置1−1と通信回線2,4とを接続する。なお、本実施形態では、通信回線4は、通信IF15−1を介して通信装置1−1と接続され、通信回線2は、通信IF15−2を介して通信装置1−1と接続されている。
The communication IFs 15-1 to 15-n connect the communication device 1-1 and the
カプセル化部14は、通信端末3−1から送信されたIPパケットを通信IF15−1を介して受信する。そして、受信したIPパケットにPPPヘッダを付加した第1のデータであるMPデータを生成する。このようにPPPヘッダをIPパケットに付加することにより、通信回線2を介してIPパケットを送受信することができるようになる。そして、カプセル化部14は、生成されたMPデータの長さであり、第1のデータ長であるMPデータ長を算出し、算出されたMPデータ長を分割数算出部11へ出力する。また、カプセル化部14は、生成されたMPデータをデータ分割部13へ出力する。また、カプセル化部14は、データ分割部13から出力された分割されたMPデータを受け付けると、受け付けた分割されたMPデータのそれぞれにマルチリンクPPPヘッダと、MPヘッダとを付加したマルチリンクPPPパケットを生成する。そして、生成されたマルチリンクPPPパケットのそれぞれを通信IF15−2を介して論理データリンク2−1〜2−nのいずれかへラウンドロビン方式で出力する。なお、MPヘッダは、論理データリンク2−1〜2−nのそれぞれに分割されて送信されたMPデータを組み立て直すために必要な情報を含むヘッダである。また、マルチリンクPPPヘッダは、PPPヘッダと同様に、通信回線2を介してIPパケットを送受信するために必要なヘッダである。
The
分割数算出部11は、カプセル化部14から出力されたMPデータ長を受け付ける。そして、受け付けたMPデータ長とMRUとに応じ、MPデータを分割する分割数を算出する。具体的には、分割数算出部11は、まず、MPヘッダの長さであるMPヘッダ長をMRUから減算することにより、第2のデータ長である最大MPペイロード長を算出する。次に、算出された最大MPペイロード長でMPデータ長を除算する。この除算した結果を切り上げた値を分割数とする。そして、分割数算出部11は、算出された分割数とMPデータ長とを分割単位長算出部12へ出力する。
The division
分割単位長算出部12は、分割数算出部11から出力された分割数とMPデータ長とを受け付ける。そして、受け付けたMPデータ長を分割数で除算する。この除算した結果を切り上げた値を分割単位長とする。そして、分割単位長算出部12は、算出された分割単位長をデータ分割部13へ出力する。なお、分割単位長とは、MPデータを分割する長さの単位である。
The division unit
データ分割部13は、カプセル化部14から出力されたMPデータと、分割単位長算出部12から出力された分割単位長とを受け付ける。そして、受け付けたMPデータのMPデータ長と分割単位長とを比較する。比較した結果、MPデータ長が分割単位長よりも長い場合、MPデータを先頭から分割単位長で分割し、分割された分割単位長のMPデータをカプセル化部14へ出力する。そして、データ分割部13は、受け付けたMPデータのMPデータ長から分割単位長を減算した長さをMPデータ長とし、さらに、そのMPデータ長と分割単位長とを比較する。データ分割部13は、MPデータ長と分割単位長とを比較して分割単位長のMPデータをカプセル化部14へ出力する動作を、MPデータ長が分割単位長以下になるまで繰り返す。そして、最後に分割単位長以下の長さのMPデータをカプセル化部14へ出力する。
The
以下に、上記のように構成された通信システムにおいて、IPパケットを分割して送信する動作について説明する。ここでは、長さが400byteのIPパケットが通信端末3−1から通信端末3−2へ連続して送信される場合を想定する。また、ここでは、一例として各ヘッダの長さ等を以下の(1)〜(4)に示すとおりとする。 Hereinafter, an operation of dividing and transmitting an IP packet in the communication system configured as described above will be described. Here, it is assumed that an IP packet having a length of 400 bytes is continuously transmitted from the communication terminal 3-1 to the communication terminal 3-2. Here, as an example, the length of each header is as shown in the following (1) to (4).
(1)MRU:200byte
(2)IPパケットに付加されるPPPヘッダ:1byte
(3)分割されたMPデータに付加されるマルチリンクPPPヘッダ:4byte
(4)分割されたMPデータに付加されるMPヘッダ:4byte
まず、図1及び図2に示した通信装置1−1が分割単位長を算出する動作を説明する。
(1) MRU: 200 bytes
(2) PPP header added to IP packet: 1 byte
(3) Multilink PPP header added to the divided MP data: 4 bytes
(4) MP header added to divided MP data: 4 bytes
First, an operation in which the communication device 1-1 illustrated in FIGS. 1 and 2 calculates the division unit length will be described.
図3は、図1及び図2に示した通信装置1−1が分割単位長を算出する動作を説明するためのフローチャートである。 FIG. 3 is a flowchart for explaining an operation in which the communication device 1-1 shown in FIGS. 1 and 2 calculates the division unit length.
まず、通信端末3−1は、IPパケットを通信端末3−2へ向けて送信する。 First, the communication terminal 3-1 transmits an IP packet toward the communication terminal 3-2.
通信端末3−1から送信されたIPパケットを通信回線4及び通信IF15−1を介して受信した通信装置1−1のカプセル化部14は、受信したIPパケットにPPPヘッダを付加したMPデータを生成する。そして、生成されたMPデータのMPデータ長を算出する(ステップS1)。ここでは、受信したIPパケットの長さが400byteであり、IPパケットに付加されるPPPヘッダの長さが1byteであるため、MPデータ長は401byteとなる。
Upon receiving the IP packet transmitted from the communication terminal 3-1 via the communication line 4 and the communication IF 15-1, the
そして、カプセル化部14は、算出されたMPデータ長を分割数算出部11へ出力し、生成されたMPデータをデータ分割部13へ出力する。
Then, the encapsulating
カプセル化部14から出力されたMPデータ長を受け付けた分割数算出部11は、MPヘッダ長をMRUから減算した長さである最大MPペイロード長を算出する(ステップS2)。ここでは、MRUが200byteであり、MPヘッダ長が4byteであるため、最大MPペイロード長は196byteとなる。
The division
次に、分割数算出部11は、ステップS2において算出された最大MPペイロード長で受け付けたMPデータ長を除算する。そして、その除算した結果を切り上げた値を分割数とする(ステップS3)。ここでは、MPデータ長は401byteであり、最大MPペイロード長が196byteであるため、分割数は3となる。
Next, the division
そして、分割数算出部11は、算出された分割数とMPデータ長とを分割単位長算出部12へ出力する。
Then, the division
分割数算出部11から出力された分割数とMPデータ長とを受け付けた分割単位長算出部12は、受け付けたMPデータ長を分割数で除算する。この除算した結果を切り上げた値を分割単位長とする(ステップS4)。ここではMPデータ長が401byteであり、分割数が3であるため、分割単位長は134byteとなる。
The division unit
そして、分割単位長算出部12は、算出された分割単位長をデータ分割部13へ出力する。
Then, the division unit
以上が、図1に示した通信装置1−1が分割単位長を算出する動作である。 The above is the operation in which the communication apparatus 1-1 illustrated in FIG. 1 calculates the division unit length.
次に、図1及び図2に示した通信装置1−1が分割単位長に従ってMPデータを分割して送信する動作を説明する。 Next, an operation in which the communication apparatus 1-1 illustrated in FIGS. 1 and 2 divides and transmits MP data according to the division unit length will be described.
図4は、図1及び図2に示した通信装置1−1が分割単位長に従ってMPデータを分割して送信する動作を説明するためのフローチャートである。 FIG. 4 is a flowchart for explaining an operation in which the communication apparatus 1-1 shown in FIGS. 1 and 2 divides and transmits MP data according to the division unit length.
カプセル化部14から出力されたMPデータと、分割単位長算出部12から出力された分割単位長とを受け付けたデータ分割部13は、受け付けたMPデータのMPデータ長と分割単位長とを比較する(ステップS21)。
The
ステップS21の比較の結果、MPデータ長が分割単位長よりも長い場合、MPデータを先頭から分割単位長で分割する。そして、分割された分割単位長のMPデータをカプセル化部14へ出力する。ここでは、MPデータ長が401byteであり、分割単位長が134byteであるため、MPデータ長が分割単位長よりも長い。従って、MPデータのうち先頭から134byteに相当する部分がカプセル化部14へ出力される。なお、ステップS21の比較の結果、MPデータ長が分割単位長以下である場合については後述する。
As a result of the comparison in step S21, when the MP data length is longer than the division unit length, the MP data is divided by the division unit length from the top. Then, the divided unit length MP data is output to the
分割単位長のMPデータを受け付けたカプセル化部14は、受け付けた分割単位長のMPデータにマルチリンクPPPヘッダとMPヘッダとを付加したマルチリンクPPPパケットを生成する(ステップS22)。ここでは、分割単位長134byteに4byteのマルチリンクPPPヘッダと4byteのMPヘッダとが付加された142byteのマルチリンクPPPパケットが生成される。
Upon receiving the division unit length MP data, the
そして、カプセル化部14は、生成されたマルチリンクPPPパケットを論理データリンク2−1を使用して通信装置1−2へ送信する(ステップS23)。
Then, the
次に、データ分割部13は、受け付けたMPデータ長から分割単位長分を減算し、その減算された長さをMPデータ長とする(ステップS24)。ここでは、受け付けたMPデータ長が401byteであり、分割単位長が134byteであるため、MPデータ長は267byteとなる。
Next, the
そして、ステップS21の動作へ遷移し、データ分割部13は、MPデータ長と分割単位長とを比較する。ここでは、MPデータ長が267byteであり、分割単位長が134byteであるため、MPデータ長が分割単位長よりも長い。従って、MPデータのうち先頭から134byteに相当する部分がカプセル化部14へ出力される。
Then, the process proceeds to the operation of step S21, and the
次に、ステップS22の動作に遷移し、カプセル化部14は、受け付けた分割単位長のMPデータにマルチリンクPPPヘッダとMPヘッダとを付加したマルチリンクPPPパケットを生成する。ここでは、分割単位長134byteに4byteのマルチリンクPPPヘッダと4byteのMPヘッダとが付加された142byteのマルチリンクPPPパケットが生成される。
Next, the operation proceeds to the operation of step S22, and the
次に、ステップS23の動作に遷移し、カプセル化部14は、生成されたマルチリンクPPPパケットを論理データリンク2−2を使用して通信装置1−2へ送信する。
Next, the operation transits to the operation of Step S23, and the
次に、ステップS24の動作に遷移し、データ分割部13は、MPデータ長から分割単位長分を減算し、減算された長さをMPデータ長とする。ここでは、MPデータ長が267byteであり、分割単位長が134byteであるため、MPデータ長は133byteとなる。
Next, the operation proceeds to the operation of step S24, and the
そして、再度、ステップS21の動作へ遷移し、データ分割部13は、MPデータ長と分割単位長とを比較する。ここでは、MPデータ長が133byteであり、分割単位長が134byteであるため、MPデータ長が分割単位長以下である。この133byteの長さのMPデータがカプセル化部14へ出力される。
Then, the operation again proceeds to the operation of step S21, and the
データ分割部13から出力された分割単位長以下のMPデータを受け付けたカプセル化部14は、受け付けた分割単位長以下の長さのMPデータにマルチリンクPPPヘッダとMPヘッダとを付加したマルチリンクPPPパケットを生成する(ステップS25)。ここでは、分割単位長以下の長さである133byteに4byteのPPPヘッダと4byteのMPヘッダとが付加された141byteのマルチリンクPPPパケットが生成される。
The encapsulating
そして、カプセル化部14は、生成されたマルチリンクPPPパケットを論理データリンク2−3を使用して通信装置1−2へ送信する。(ステップS26)。
Then, the
このように、上述したステップS21〜S24の動作は、MPデータ長が分割単位長よりも長い間、繰り返して行われる。 As described above, the operations in steps S21 to S24 described above are repeatedly performed while the MP data length is longer than the division unit length.
以降、通信装置1−1が400byteの長さのIPパケットを引き続いて受信した場合も同様に、142byteのマルチリンクPPPパケットが論理データリンク2−1,2−2を使用して送信され、141byteのマルチリンクPPPパケットが論理データリンク2−3を使用して送信される。 Thereafter, when the communication apparatus 1-1 subsequently receives an IP packet having a length of 400 bytes, 142-byte multilink PPP packets are similarly transmitted using the logical data links 2-1 and 2-2, and 141 bytes. Multi-link PPP packets are transmitted using the logical data link 2-3.
以上が、図1に示した通信装置1−1が分割単位長に従ってMPデータを分割して送信する動作である。 The above is the operation in which the communication device 1-1 shown in FIG. 1 divides and transmits MP data according to the division unit length.
図5は、図1及び図2に示した通信装置1−1が受信したIPパケットからマルチリンクPPPパケットが生成されるまでを段階的に示す図であり、(a)はMPデータが最大MPペイロード長で分割された場合を示す図、(b)はMPデータが分割単位長で分割された場合を示す図である。なお、図5においてはマルチリンクPPPヘッダのことをMLPPPヘッダと表記している。 FIG. 5 is a diagram showing step by step until a multilink PPP packet is generated from an IP packet received by the communication device 1-1 shown in FIG. 1 and FIG. The figure which shows the case where it divides | segments by payload length, (b) is a figure which shows the case where MP data is divided | segmented by division | segmentation unit length. In FIG. 5, the multilink PPP header is expressed as an MLPPP header.
図5(a)及び図5(b)の最下段に示すマルチリンクPPPパケットを比較すると、図5(a)では、最後のマルチリンクPPPパケットの長さが他のマルチリンクPPPパケットの長さに比べて極端に短くなっている。一方、図5(b)では、最後のマルチリンクPPPパケットの長さと他のマルチリンクPPPパケットの長さとの間に大きな違いがない。 Comparing the multilink PPP packets shown at the bottom of FIG. 5A and FIG. 5B, in FIG. 5A, the length of the last multilink PPP packet is the length of another multilink PPP packet. It is extremely short compared to. On the other hand, in FIG. 5B, there is no significant difference between the length of the last multilink PPP packet and the length of other multilink PPP packets.
図6は、図1に示した通信回線2に設定された論理データリンク2−1〜2−3のそれぞれを使用して送信されるマルチリンクPPPパケットの長さの一例を示す図であり、(a)はMPデータが最大MPペイロード長で分割された場合を示す図、(b)はMPデータが分割単位長で分割された場合を示す図である。なお、図6においては、IPパケットの長さやMRU、各ヘッダの長さを上述した動作フローにおいて示したものと同じとしている。
FIG. 6 is a diagram illustrating an example of the length of a multilink PPP packet transmitted using each of the logical data links 2-1 to 2-3 set in the
図6(a)と図6(b)とを比較すると、図6(a)では、論理データリンク2−1,2−2にはMRU(200byte)にマルチリンクPPPヘッダ(4byte)が付加された204byteのマルチリンクPPPパケットが送信されており、論理データリンク2−3には17byteのマルチリンクPPPパケットが送信されている。つまり、論理データリンク2−3の帯域の使用率は、論理データリンク2−1,2−2の帯域の使用率よりも低い状態で固定されている。一方、図6(b)では論理データリンク2−1,2−2には134byteのマルチリンクPPPパケットが送信されており、論理データリンク2−3には133byteのマルチリンクPPPパケットが送信されている。つまり、論理データリンク2−1〜2−3の全ての帯域の使用率が平準化されている。 Comparing FIG. 6 (a) and FIG. 6 (b), in FIG. 6 (a), the MRU (200 bytes) is added to the logical data links 2-1 and 2-2, and the multilink PPP header (4 bytes) is added. A 204-byte multilink PPP packet is transmitted, and a 17-byte multilink PPP packet is transmitted to the logical data link 2-3. That is, the bandwidth usage rate of the logical data link 2-3 is fixed in a state lower than the bandwidth usage rates of the logical data links 2-1 and 2-2. On the other hand, in FIG. 6B, a 134-byte multilink PPP packet is transmitted to the logical data links 2-1 and 2-2, and a 133-byte multilink PPP packet is transmitted to the logical data link 2-3. Yes. That is, the usage rates of all the bands of the logical data links 2-1 to 2-3 are leveled.
このように本実施形態において通信装置1−1,1−2は、複数の論理データリンク2−1〜2−nが設定された通信回線2に接続され、パケットの送信側から送信されたパケットに通信回線2を介した通信に必要なPPPヘッダを付加したMPデータを生成する。また、通信装置1−1,1−2は、パケットの長さと、パケットの受信側が1回に受信できる最大のデータの長さであるMRUとに基づいて、パケットを分割するための分割数を算出し、MPデータを分割数で除算することによって分割する。そして、通信装置1−1,1−2は、複数の論理データリンク2−1〜2−nのそれぞれを使用して分割されたMPデータのそれぞれをパケットの受信側へ送信する。
As described above, in the present embodiment, the communication apparatuses 1-1 and 1-2 are connected to the
そのため、特定の論理データリンクの帯域の使用率が他の論理データリンクの帯域の使用率よりも低い状態で固定されることを回避することができる。 Therefore, it can be avoided that the usage rate of the bandwidth of a specific logical data link is fixed in a state where it is lower than the usage rate of the bandwidth of another logical data link.
なお、本実施形態では、MRUから最大MPペイロード長を算出したが、MRU以外の値から最大MPペイロード長を算出してもよい。例えば、送信遅延を考慮し、マルチリンクPPPパケットに許容される最大のパケット長からマルチリンクPPPヘッダの長さとMPヘッダの長さとを減算した値を最大MPペイロード長としてもよい。 In the present embodiment, the maximum MP payload length is calculated from the MRU, but the maximum MP payload length may be calculated from a value other than the MRU. For example, considering the transmission delay, a value obtained by subtracting the length of the multilink PPP header and the length of the MP header from the maximum packet length allowed for the multilink PPP packet may be set as the maximum MP payload length.
また、本発明においては、通信装置内の処理は上述の専用のハードウェアにより実現されるもの以外に、その機能を実現するためのプログラムを通信装置にて読取可能な記録媒体に記録し、この記録媒体に記録されたプログラムを通信装置に読み込ませ、実行するものであっても良い。通信装置にて読取可能な記録媒体とは、フレキシブルディスク、光磁気ディスク、DVD、CDなどの移設可能な記録媒体の他、通信装置に内蔵されたHDDなどを指す。 In the present invention, the processing in the communication device is recorded on a recording medium that can be read by the communication device, in addition to the processing realized by the dedicated hardware described above. The program recorded on the recording medium may be read by the communication device and executed. The recording medium readable by the communication device refers to a transfer medium such as a flexible disk, a magneto-optical disk, a DVD, and a CD, as well as an HDD built in the communication device.
1−1,1−2 通信装置
2,4,5 通信回線
2−1〜2−n 論理データリンク
3−1,3−2 通信端末
11 分割数算出部
12 分割単位長算出部
13 データ分割部
14 カプセル化部
15−1〜15−n 通信IF
1-1, 1-2
Claims (12)
前記パケットの送信側から送信されたパケットに前記通信回線を介した通信に必要なヘッダを付加した第1のデータを生成するとともに、前記パケットの長さと、前記パケットの受信側が1回に受信できる最大のデータの長さであるMRUとに基づいて、前記パケットを分割するための分割数を算出し、前記第1のデータを前記分割数で除算することによって分割する通信装置。 A packet that is connected to a communication line and that is transmitted from a packet transmission side is divided, and each of the divided packets is received by using each of a plurality of logical data links set in the communication line. A communication device for transmitting to
The first data in which a header required for communication via the communication line is added to the packet transmitted from the packet transmission side is generated, and the length of the packet and the reception side of the packet can be received at a time A communication apparatus that divides a packet by calculating a division number for dividing the packet based on an MRU that is a maximum data length and dividing the first data by the division number.
前記パケットの送信側から送信されたパケットから前記第1のデータを生成し、該生成された第1のデータと、当該第1のデータの長さである第1のデータ長を出力するカプセル化部と、
前記カプセル化部から出力された第1のデータ長を受け付け、該受け付けた第1のデータ長と、前記MRUとに応じ、前記分割数を算出し、該算出された前記分割数と、前記第1のデータ長とを出力する分割数算出部と、
前記分割数算出部から出力された前記分割数と前記第1のデータ長とを受け付け、該受け付けた前記第1のデータ長を前記受け付けた前記分割数で除算することにより、前記第1のデータを分割する長さの単位である分割単位長を算出し、該算出された分割単位長を出力する分割単位長算出部と、
前記分割単位長算出部から出力された分割単位長と、前記カプセル化部から出力された前記第1のデータとを受け付け、該受け付けた前記第1のデータを前記受け付けた分割単位長に従って分割するデータ分割部と、を有する通信装置。 The communication device according to claim 1,
Encapsulation that generates the first data from a packet transmitted from the transmission side of the packet, and outputs the generated first data and a first data length that is the length of the first data And
The first data length output from the encapsulation unit is received, the division number is calculated according to the received first data length and the MRU, the calculated division number, and the first A division number calculation unit that outputs a data length of 1;
The first data is received by receiving the division number and the first data length output from the division number calculation unit, and dividing the received first data length by the received division number. A division unit length calculation unit that calculates a division unit length, which is a unit of length for dividing the image, and outputs the calculated division unit length;
The division unit length output from the division unit length calculation unit and the first data output from the encapsulation unit are received, and the received first data is divided according to the received division unit length. And a data dividing unit.
前記分割数算出部は、前記複数の論理データリンクを使用する際に必要なヘッダの長さを前記MRUから減算した長さである第2のデータ長を算出し、該算出された第2のデータ長で前記第1のデータ長を除算することにより、前記分割数を算出する通信装置。 The communication device according to claim 2,
The division number calculating unit calculates a second data length, which is a length obtained by subtracting a length of a header necessary for using the plurality of logical data links from the MRU, and calculates the calculated second data length. A communication device that calculates the number of divisions by dividing the first data length by a data length.
前記分割数算出部は、前記受け付けた第1のデータ長と、前記MRUに代えて、前記論理データリンクを使用して送信することができる最大のパケット長に応じた長さとに応じ、前記分割数を算出する通信装置。 The communication device according to claim 2,
The dividing number calculating unit, the first data length, wherein the accepted instead of the MRU, depending on the maximum length corresponding to the packet length that can be transmitted using the logical data links, wherein A communication device that calculates the number of divisions.
前記パケットの送信側から送信されたパケットに前記通信回線を介した通信に必要なヘッダを付加した第1のデータを生成する処理と、
前記パケットの長さと、前記パケットの受信側が1回に受信できる最大のデータの長さであるMRUとに基づいて、前記パケットを分割するための分割数を算出する算出処理と、
前記第1のデータを前記分割数で除算することによって分割する分割処理と、を有するパケット分割方法。 A packet that is connected to a communication line and that is transmitted from a packet transmission side is divided, and each of the divided packets is received by using each of a plurality of logical data links set in the communication line. A packet dividing method in a communication device for transmitting to
Processing for generating first data in which a header necessary for communication via the communication line is added to the packet transmitted from the packet transmission side;
A calculation process for calculating the number of divisions for dividing the packet based on the length of the packet and the MRU that is the maximum data length that can be received at one time by the receiving side of the packet;
A packet dividing method comprising: dividing the first data by dividing the first data by the number of divisions.
前記算出処理は、
前記第1のデータの長さである第1のデータ長と、前記MRUとに応じ、前記分割数を算出する処理であり、
前記分割処理は、
前記第1のデータ長を前記分割数で除算することにより、前記第1のデータを分割する長さの単位である分割単位長を算出する処理と、
前記第1のデータを前記算出された分割単位長に従って分割する処理と、を含むパケット分割方法。 The packet division method according to claim 5, wherein
The calculation process is as follows:
A process of calculating the number of divisions according to a first data length that is a length of the first data and the MRU;
The dividing process is
A process of calculating a division unit length, which is a unit of length for dividing the first data, by dividing the first data length by the number of divisions;
A process of dividing the first data according to the calculated division unit length.
前記算出処理は、
前記複数の論理データリンクを使用する際に必要なヘッダの長さを前記MRUから減算した長さである第2のデータ長を算出する処理と、
前記算出された第2のデータ長で前記第1のデータ長を除算することにより、前記分割数を算出する処理と、を含むパケット分割方法。 The packet division method according to claim 6, wherein
The calculation process is as follows:
A process of calculating a second data length, which is a length obtained by subtracting a length of a header required when using the plurality of logical data links from the MRU;
A process of calculating the number of divisions by dividing the first data length by the calculated second data length.
前記算出処理は、前記第1のデータ長と、前記MRUに代えて、前記論理データリンクを使用して送信することができる最大のパケット長に応じた長さとに応じ、前記分割数を算出する処理であるパケット分割方法。 The packet division method according to claim 6, wherein
The calculation process calculates the division number according to the first data length and a length according to a maximum packet length that can be transmitted using the logical data link instead of the MRU. Packet segmentation method that is processing.
前記パケットの送信側から送信されたパケットに前記通信回線を介した通信に必要なヘッダを付加した第1のデータを生成する機能と、
前記パケットの長さと、前記パケットの受信側が1回に受信できる最大のデータの長さであるMRUとに基づいて、前記パケットを分割するための分割数を算出する算出機能と、
前記第1のデータを前記分割数で除算することによって分割する分割機能と、を実現させるためのプログラム。 A packet that is connected to a communication line and that is transmitted from a packet transmission side is divided, and each of the divided packets is received by using each of a plurality of logical data links set in the communication line. To the communication device that transmits to
A function of generating first data in which a header necessary for communication via the communication line is added to the packet transmitted from the packet transmission side;
A calculation function for calculating the number of divisions for dividing the packet based on the length of the packet and the MRU which is the maximum data length that can be received at one time by the receiving side of the packet;
A program for realizing a division function of dividing the first data by dividing the first data by the number of divisions.
前記算出機能は、
前記第1のデータの長さである第1のデータ長と、前記MRUとに応じ、前記分割数を算出する機能であり、
前記分割機能は、
前記第1のデータ長を前記分割数で除算することにより、前記第1のデータを分割する長さの単位である分割単位長を算出する機能と、
前記第1のデータを前記算出された分割単位長に従って分割する機能と、を含むプログラム。 The program according to claim 9,
The calculation function is
A function of calculating the number of divisions according to a first data length that is a length of the first data and the MRU;
The division function is
A function of calculating a division unit length, which is a unit of length for dividing the first data, by dividing the first data length by the number of divisions;
A function of dividing the first data according to the calculated division unit length.
前記算出機能は、
前記複数の論理データリンクを使用する際に必要なヘッダの長さを前記MRUから減算した長さである第2のデータ長を算出する機能と、
前記算出された第2のデータ長で前記第1のデータ長を除算することにより、前記分割数を算出する機能と、を含むプログラム。 The program according to claim 10, wherein
The calculation function is
A function of calculating a second data length that is a length obtained by subtracting a length of a header required when using the plurality of logical data links from the MRU;
A function of calculating the number of divisions by dividing the first data length by the calculated second data length.
前記算出機能は、前記第1のデータ長と、前記MRUに代えて、前記論理データリンクを使用して送信することができる最大のパケット長に応じた長さとに応じ、前記分割数を算出する機能であるプログラム。 The program according to claim 10, wherein
The calculation function calculates the division number according to the first data length and a length according to a maximum packet length that can be transmitted using the logical data link instead of the MRU. A program that is a function to perform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009093965A JP4953142B2 (en) | 2009-04-08 | 2009-04-08 | Communication apparatus, packet division method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009093965A JP4953142B2 (en) | 2009-04-08 | 2009-04-08 | Communication apparatus, packet division method and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010245943A JP2010245943A (en) | 2010-10-28 |
JP4953142B2 true JP4953142B2 (en) | 2012-06-13 |
Family
ID=43098460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009093965A Expired - Fee Related JP4953142B2 (en) | 2009-04-08 | 2009-04-08 | Communication apparatus, packet division method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4953142B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7275886B2 (en) | 2019-06-14 | 2023-05-18 | 日本精工株式会社 | roller bearing |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9086900B2 (en) | 2012-12-05 | 2015-07-21 | International Business Machines Corporation | Data flow affinity for heterogenous virtual machines |
CN104113491A (en) | 2013-04-22 | 2014-10-22 | 中兴通讯股份有限公司 | Data transmission method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3540183B2 (en) * | 1999-01-21 | 2004-07-07 | 株式会社東芝 | Multilink communication device |
JP2001007862A (en) * | 1999-06-24 | 2001-01-12 | Matsushita Electric Ind Co Ltd | Communication load distributing method |
EP3934364B1 (en) * | 2003-09-09 | 2023-12-06 | Nippon Telegraph And Telephone Corporation | Multi-channel wlan station |
-
2009
- 2009-04-08 JP JP2009093965A patent/JP4953142B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7275886B2 (en) | 2019-06-14 | 2023-05-18 | 日本精工株式会社 | roller bearing |
Also Published As
Publication number | Publication date |
---|---|
JP2010245943A (en) | 2010-10-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4727952B2 (en) | Packet aggregation for real-time services over packet data networks | |
KR100769228B1 (en) | Method and apparatus of data segmentation in a mobile communications system | |
CN101697504B (en) | Method and device for improving data transmission quality | |
US20070291788A1 (en) | Method and apparatus for reducing transmission overhead | |
US8654858B2 (en) | Methods and apparatus for differential encoding | |
EP3940974B1 (en) | Transmission method and device for data stream | |
JP5069399B2 (en) | Method and apparatus for forwarding and recovering incoming data packets | |
JP4953142B2 (en) | Communication apparatus, packet division method and program | |
US8594075B2 (en) | Method and system for wireless VoIP communications | |
US9148257B2 (en) | Method and apparatus for reducing delays in a packets switched network | |
US8483064B2 (en) | Method and system for the distribution of internet protocol traffic in a communication system | |
JP6065108B2 (en) | Wireless communication apparatus, wireless communication system, and wireless communication method | |
US20190082204A1 (en) | Ip traffic software high precision pacer | |
US8817987B2 (en) | Encryption communication apparatus and method for controlling transfer period of key resynchronization information | |
EP1446904B1 (en) | Radio bearer service for ims services | |
KR20120056640A (en) | Method and apparatus of frame construction for docsis data transmission | |
WO2018203982A1 (en) | Trans-layer bidirectional robust header compression system | |
WO2020108392A9 (en) | Service bit stream processing method and apparatus | |
EP1798917B1 (en) | Method of passing a constant bit rate digital signal through an ethernet interface and system for carrying out the method | |
Huang et al. | Adaptive forward error correction with cognitive technology mechanism for video streaming over wireless networks | |
CN115486043B (en) | Method and apparatus for decoded multipath network communications | |
JP5216830B2 (en) | Data transfer apparatus and method | |
WO2014174801A1 (en) | Wireless communication device, wireless communication system, and wireless communication method | |
Xiao | User plane for VOLTE | |
JP2016149700A (en) | Radio transmitter, radio receiver, radio transmission and reception system, radio communication device, radio transmission method and radio reception method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100921 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111209 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111220 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120127 |
|
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: 20120214 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120302 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4953142 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150323 Year of fee payment: 3 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |