[go: up one dir, main page]

JP2016040857A - Communication device and adjusting method - Google Patents

Communication device and adjusting method Download PDF

Info

Publication number
JP2016040857A
JP2016040857A JP2014164103A JP2014164103A JP2016040857A JP 2016040857 A JP2016040857 A JP 2016040857A JP 2014164103 A JP2014164103 A JP 2014164103A JP 2014164103 A JP2014164103 A JP 2014164103A JP 2016040857 A JP2016040857 A JP 2016040857A
Authority
JP
Japan
Prior art keywords
transmission
buffer
packet
transmission rate
amount
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.)
Withdrawn
Application number
JP2014164103A
Other languages
Japanese (ja)
Inventor
武司 児玉
Takeshi Kodama
武司 児玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2014164103A priority Critical patent/JP2016040857A/en
Publication of JP2016040857A publication Critical patent/JP2016040857A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

【課題】伝送効率の向上を図ること。【解決手段】バッファ111は、送信パケットを溜める。送信部112は、バッファ111に溜められた送信パケットを所定の伝送路102を介して受信装置103へ送信する。第1測定部113は、送信パケットを送信する送信装置101と受信装置103との間の伝搬遅延時間を測定する。第2測定部114は、所定の伝送路102の伝送速度を測定する。調整部115は、第1測定部113によって測定された伝搬遅延時間と、第2測定部114によって測定された伝送速度と、に基づいてバッファ111に溜めることができる最大データ量を調整する。【選択図】図1BPROBLEM TO BE SOLVED: To improve transmission efficiency. A buffer 111 stores transmission packets. The transmission unit 112 transmits the transmission packet stored in the buffer 111 to the reception device 103 via a predetermined transmission path 102. The first measuring unit 113 measures the propagation delay time between the transmitting device 101 and the receiving device 103 that transmit the transmitted packet. The second measuring unit 114 measures the transmission speed of the predetermined transmission line 102. The adjusting unit 115 adjusts the maximum amount of data that can be stored in the buffer 111 based on the propagation delay time measured by the first measuring unit 113 and the transmission speed measured by the second measuring unit 114. [Selection diagram] FIG. 1B

Description

本発明は、通信装置および調整方法に関する。   The present invention relates to a communication device and an adjustment method.

従来、TCP(Transmission Control Protocol:伝送制御プロトコル)などにおいて用いられるデータ転送方式の一つとしてウィンドウ制御などの輻輳制御が知られている(たとえば、下記非特許文献1,2参照。)。   Conventionally, congestion control such as window control is known as one of data transfer methods used in TCP (Transmission Control Protocol) (for example, see Non-Patent Documents 1 and 2 below).

KALAMPOUKAS L,VARMA A,RAMAKRISHNAN K K、「Explicit Window Adaptation:A Method to Enhance TCP Performance」、IEEE/ACM Trans Netw、2002年KALAMPOUUKAS L, VARMA A, RAMAKRISH NAN KK, "Explicit Window Adaptation: A Method to Enhancement TCP Performance", IEEE / ACM Trans Network, 2002 N Ghani,S Dixit、「TCP/IP Enhancements for Satellite Networks」、Communications Magazine、1999年N Ghani, S Digit, “TCP / IP Enhancements for Satellite Networks”, Communications Magazine, 1999

しかしながら、上述した従来技術では、輻輳制御を行う送信側は、受信側からの応答信号に応じて送信量を制御する。このため、たとえば、通信経路に含まれる所定区間の伝送速度が増加しても、所定区間の伝送速度の増加が送信側からの送信量に反映されるまでに時間がかかる。このため、所定区間の伝送速度の利用率が低く、伝送効率を向上させることが困難であるという問題がある。   However, in the above-described conventional technology, the transmission side that performs congestion control controls the transmission amount according to the response signal from the reception side. For this reason, for example, even if the transmission rate of a predetermined section included in the communication path increases, it takes time until the increase in the transmission speed of the predetermined section is reflected in the transmission amount from the transmission side. For this reason, there is a problem that the utilization rate of the transmission rate in the predetermined section is low and it is difficult to improve the transmission efficiency.

1つの側面では、本発明は、伝送効率の向上を図ることができる通信装置および調整方法を提供することを目的とする。   In one aspect, an object of the present invention is to provide a communication device and an adjustment method capable of improving transmission efficiency.

上述した課題を解決し、目的を達成するため、本発明の一側面によれば、送信パケットを溜めるバッファを備え、前記バッファに溜められた送信パケットを所定の伝送路を介して受信装置へ送信する通信装置において、前記送信パケットを送信する送信装置と前記受信装置との間の伝搬遅延時間を測定し、前記所定の伝送路の伝送速度を測定し、測定した前記伝搬遅延時間と前記伝送速度とに基づく、前記バッファに溜めることができる最大データ量の調整であって、前記伝送速度が上昇した場合は前記最大データ量を減少させ、前記伝送速度が低下した場合は前記最大データ量を増加させる調整を行う、通信装置および調整方法が提案される。   In order to solve the above-described problems and achieve the object, according to one aspect of the present invention, a buffer for storing transmission packets is provided, and the transmission packets stored in the buffer are transmitted to a receiving device via a predetermined transmission path. Measuring a propagation delay time between the transmitting device that transmits the transmission packet and the receiving device, measuring a transmission rate of the predetermined transmission path, and measuring the measured propagation delay time and the transmission rate. And adjusting the maximum amount of data that can be stored in the buffer based on the above, wherein when the transmission rate is increased, the maximum amount of data is decreased, and when the transmission rate is decreased, the maximum amount of data is increased. A communication device and an adjustment method for performing adjustment are proposed.

本発明の別の側面によれば、送信パケットを溜めるバッファを備え、前記バッファに溜められた送信パケットを所定の伝送路を介して受信装置へ送信する通信装置において、前記送信パケットを送信する送信装置と前記受信装置との間の伝搬遅延時間を測定し、前記所定の伝送路の伝送速度を測定し、測定した前記伝搬遅延時間と前記伝送速度とに基づく、前記バッファに溜めることができる最大データ量の調整であって、前記伝送速度が上昇した場合は前記最大データ量を増加させ、前記伝送速度が低下した場合は前記最大データ量を減少させる調整を行う、通信装置および調整方法が提案される。   According to another aspect of the present invention, in a communication device that includes a buffer that stores transmission packets, and that transmits the transmission packets stored in the buffer to a reception device via a predetermined transmission path, transmission that transmits the transmission packets Measuring the propagation delay time between the device and the receiving device, measuring the transmission rate of the predetermined transmission path, and based on the measured propagation delay time and the transmission rate, the maximum that can be accumulated in the buffer A communication apparatus and adjustment method for adjusting the amount of data, wherein the maximum data amount is increased when the transmission rate is increased, and the maximum data amount is decreased when the transmission rate is decreased. Is done.

本発明の一側面によれば、伝送効率の向上を図ることができるという効果を奏する。   According to one aspect of the present invention, it is possible to improve transmission efficiency.

図1Aは、実施の形態1にかかる通信装置の一例を示す図である。FIG. 1A is a diagram illustrating an example of the communication apparatus according to the first embodiment. 図1Bは、図1Aに示した通信装置における信号の流れの一例を示す図である。1B is a diagram illustrating an example of a signal flow in the communication apparatus illustrated in FIG. 1A. 図1Cは、実施の形態1にかかる通信装置の変形例を示す図である。FIG. 1C is a diagram illustrating a modification of the communication device according to the first embodiment. 図1Dは、図1Cに示した通信装置における信号の流れの一例を示す図である。FIG. 1D is a diagram illustrating an example of a signal flow in the communication apparatus illustrated in FIG. 1C. 図2Aは、実施の形態2にかかる通信システムの一例を示す図である。FIG. 2A is a diagram illustrating an example of a communication system according to the second embodiment. 図2Bは、図2Aに示した通信システムにおけるプロトコルスタックの一例を示す図である。2B is a diagram illustrating an example of a protocol stack in the communication system illustrated in FIG. 2A. 図2Cは、無線区間の伝送速度が変化する状況の一例を示す図である。FIG. 2C is a diagram illustrating an example of a situation where the transmission rate of the wireless section changes. 図3Aは、ACK受信時のウィンドウの動作の一例を示す図(その1)である。FIG. 3A is a diagram (part 1) illustrating an example of a window operation when an ACK is received. 図3Bは、ACK受信時のウィンドウの動作の一例を示す図(その2)である。FIG. 3B is a second diagram illustrating an exemplary window operation when an ACK is received. 図4は、送信端末による処理の一例を示すフローチャートである。FIG. 4 is a flowchart illustrating an example of processing by the transmission terminal. 図5は、輻輳制御の動作の一例を示す図である。FIG. 5 is a diagram illustrating an example of the operation of congestion control. 図6Aは、無線区間の伝送速度の変動による送信端末の送信レートの変化の一例を示す図である。FIG. 6A is a diagram illustrating an example of a change in transmission rate of a transmission terminal due to a change in transmission rate in a wireless section. 図6Bは、増加した無線区間の伝送速度を使い切れる場合の一例を示す図である。FIG. 6B is a diagram illustrating an example in which the transmission rate of the increased wireless section can be used up. 図7Aは、送信バッファに蓄積可能なデータ量の調整の一例を示す図(その1)である。FIG. 7A is a diagram (part 1) illustrating an example of adjusting the amount of data that can be stored in the transmission buffer. 図7Bは、送信バッファに蓄積可能なデータ量の調整の一例を示す図(その2)である。FIG. 7B is a diagram (part 2) illustrating an example of adjustment of the amount of data that can be stored in the transmission buffer. 図8Aは、実施の形態2にかかるCPEの一例を示す図である。FIG. 8A is a diagram illustrating an example of the CPE according to the second embodiment. 図8Bは、図8Aに示したCPEにおける信号の流れの一例を示す図である。FIG. 8B is a diagram illustrating an example of a signal flow in the CPE illustrated in FIG. 8A. 図9は、CPEのハードウェア構成の一例を示す図である。FIG. 9 is a diagram illustrating an example of a hardware configuration of the CPE. 図10は、RTTの測定の一例を示す図である。FIG. 10 is a diagram illustrating an example of RTT measurement. 図11は、RTT測定値格納部に格納される情報の一例を示す図である。FIG. 11 is a diagram illustrating an example of information stored in the RTT measurement value storage unit. 図12は、伝送速度測定値格納部に格納される情報の一例を示す図である。FIG. 12 is a diagram illustrating an example of information stored in the transmission rate measurement value storage unit. 図13Aは、無線区間の伝送速度の増加に対する所要のバッファ容量の一例を示す図(その1)である。FIG. 13A is a diagram (part 1) illustrating an example of a required buffer capacity with respect to an increase in transmission rate in a wireless section. 図13Bは、無線区間の伝送速度の増加に対する所要のバッファ容量の一例を示す図(その2)である。FIG. 13B is a diagram (part 2) illustrating an example of a required buffer capacity with respect to an increase in transmission rate in a wireless section. 図13Cは、無線区間の伝送速度の増加に対する所要のバッファ容量の一例を示す図(その3)である。FIG. 13C is a diagram (No. 3) illustrating an example of a required buffer capacity with respect to an increase in transmission rate in a wireless section. 図14は、CPEによる処理の一例を示すフローチャートである。FIG. 14 is a flowchart illustrating an example of processing by the CPE. 図15Aは、送信端末におけるパケットロス検出時の送信ウィンドウの制御の一例を示す図(その1)である。FIG. 15A is a diagram (part 1) illustrating an example of transmission window control when a packet loss is detected in a transmission terminal. 図15Bは、送信端末におけるパケットロス検出時の送信ウィンドウの制御の一例を示す図(その2)である。FIG. 15B is a diagram (part 2) illustrating an example of transmission window control when a packet loss is detected in the transmission terminal. 図16は、パケットロスの検出に対する所要のバッファ容量の一例を示す図である。FIG. 16 is a diagram illustrating an example of a required buffer capacity for packet loss detection. 図17Aは、実施の形態4にかかる送信バッファに蓄積可能なデータ量の調整の一例を示す図(その1)である。FIG. 17A is a diagram (part 1) illustrating an example of adjustment of the amount of data that can be stored in the transmission buffer according to the fourth embodiment. 図17Bは、実施の形態4にかかる送信バッファに蓄積可能なデータ量の調整の一例を示す図(その2)である。FIG. 17B is a diagram (part 2) illustrating an example of adjustment of the amount of data that can be stored in the transmission buffer according to the fourth embodiment. 図18Aは、実施の形態4にかかるCPEの一例を示す図である。FIG. 18A is a diagram illustrating an example of the CPE according to the fourth embodiment. 図18Bは、図18Aに示したCPEにおける信号の流れの一例を示す図である。18B is a diagram illustrating an example of a signal flow in the CPE illustrated in FIG. 18A. 図19は、実施の形態4にかかるCPEによる処理の一例を示すフローチャートである。FIG. 19 is a flowchart of an example of processing by the CPE according to the fourth embodiment. 図20は、蓄積可能な最大データ量を急激に変化させた状況の一例を示す図である。FIG. 20 is a diagram illustrating an example of a situation in which the maximum amount of data that can be stored is rapidly changed.

以下に図面を参照して、本発明にかかる通信装置および調整方法の実施の形態を詳細に説明する。   Embodiments of a communication apparatus and an adjustment method according to the present invention will be described below in detail with reference to the drawings.

(実施の形態1)
(実施の形態1にかかる通信装置)
図1Aは、実施の形態1にかかる通信装置の一例を示す図である。図1Bは、図1Aに示した通信装置における信号の流れの一例を示す図である。図1A,図1Bに示す送信装置101は、たとえば通信装置110の外部の通信装置である。送信装置101は、受信装置103を宛先とするパケットを通信装置110へ送信する。また、送信装置101は、送信したパケットに対する受信装置103からの応答信号に応じて、受信装置103へのパケットの送信速度を調整する輻輳制御を行う。
(Embodiment 1)
(Communication device according to Embodiment 1)
FIG. 1A is a diagram illustrating an example of the communication apparatus according to the first embodiment. 1B is a diagram illustrating an example of a signal flow in the communication apparatus illustrated in FIG. 1A. 1A and 1B is a communication device external to communication device 110, for example. Transmitting apparatus 101 transmits a packet destined for receiving apparatus 103 to communication apparatus 110. Further, the transmission apparatus 101 performs congestion control for adjusting the transmission rate of the packet to the reception apparatus 103 in accordance with a response signal from the reception apparatus 103 to the transmitted packet.

実施の形態1にかかる通信装置110は、たとえば、送信装置101から受信装置103へのパケットの送信を中継する。たとえば、通信装置110は、バッファ111と、送信部112と、第1測定部113と、第2測定部114と、調整部115と、を備える。   The communication apparatus 110 according to the first embodiment relays transmission of a packet from the transmission apparatus 101 to the reception apparatus 103, for example. For example, the communication device 110 includes a buffer 111, a transmission unit 112, a first measurement unit 113, a second measurement unit 114, and an adjustment unit 115.

バッファ111は、送信装置101からのパケットを溜めるバッファである。たとえば、バッファ111は、送信装置101からのパケットを一時的に格納する。また、バッファ111に溜めることができる最大データ量は調整部115によって調整される。バッファ111の最大データ量は、たとえば、バッファ111に格納可能なパケットの合計サイズの上限である。たとえば、送信装置101からのパケットのうちの、バッファ111の最大データ量を超える分のパケットについてはバッファ111に格納されずに破棄される。   The buffer 111 is a buffer that accumulates packets from the transmission apparatus 101. For example, the buffer 111 temporarily stores a packet from the transmission device 101. The maximum data amount that can be stored in the buffer 111 is adjusted by the adjustment unit 115. The maximum data amount of the buffer 111 is an upper limit of the total size of packets that can be stored in the buffer 111, for example. For example, of the packets from the transmission apparatus 101, the packets exceeding the maximum data amount of the buffer 111 are discarded without being stored in the buffer 111.

送信部112は、バッファ111に溜まったパケットを読み出し、読み出したパケットを、伝送路102を介して受信装置103へ送信する。伝送路102は、たとえば、送信部112と受信装置103との間の伝送路のうちの、伝送速度が最も低い伝送路(たとえばボトルネックリンク)である。伝送路102は、無線通信の伝送路であってもよいし、有線通信の伝送路であってもよい。   The transmission unit 112 reads the packets accumulated in the buffer 111 and transmits the read packets to the reception device 103 via the transmission path 102. The transmission path 102 is, for example, a transmission path (for example, a bottleneck link) having the lowest transmission speed among the transmission paths between the transmission unit 112 and the reception device 103. The transmission path 102 may be a wireless communication transmission path or a wired communication transmission path.

第1測定部113は、送信装置101と受信装置103との間の伝搬遅延時間を測定する。たとえば、第1測定部113は、送信装置101がパケットを送信してから、送信装置101が送信したパケットに対する受信装置103からの応答信号が送信装置101へ到達するまでの伝搬遅延時間を測定する。伝搬遅延時間は、たとえば送信装置101と受信装置103との間のRTT(Round Trip Time:ラウンドトリップタイム)である。第1測定部113は、測定した伝搬遅延時間を調整部115へ通知する。   The first measurement unit 113 measures the propagation delay time between the transmission device 101 and the reception device 103. For example, the first measurement unit 113 measures the propagation delay time from when the transmission device 101 transmits a packet until the response signal from the reception device 103 to the packet transmitted by the transmission device 101 reaches the transmission device 101. . The propagation delay time is, for example, RTT (Round Trip Time) between the transmission apparatus 101 and the reception apparatus 103. The first measurement unit 113 notifies the adjustment unit 115 of the measured propagation delay time.

たとえば、第1測定部113は、送信部112によって送信されたパケットのサイズと、送信部112によるパケットの送信間隔と、に基づいて伝送路102の伝送速度を測定することができる。ただし、第1測定部113による測定方法はこれに限らない。一例としては、第1測定部113は、送信部112によるパケットの送信方式に関する情報に基づいて伝送路102の伝送速度を測定してもよい。送信方式は、たとえば変調方式や符号化方式である。また、第1測定部113による伝送速度の測定は、これらの方法に限らず、たとえば伝送路102の伝送速度を監視できる方法であればよい。   For example, the first measurement unit 113 can measure the transmission rate of the transmission path 102 based on the size of the packet transmitted by the transmission unit 112 and the packet transmission interval by the transmission unit 112. However, the measurement method by the 1st measurement part 113 is not restricted to this. As an example, the first measurement unit 113 may measure the transmission rate of the transmission path 102 based on information regarding the packet transmission method by the transmission unit 112. The transmission method is, for example, a modulation method or an encoding method. The measurement of the transmission rate by the first measurement unit 113 is not limited to these methods, and any method that can monitor the transmission rate of the transmission path 102 may be used.

第2測定部114は、伝送路102の伝送速度を測定する。伝送路102の伝送速度は、たとえば、伝送路102によって伝送可能な時間あたりのデータ量である。第2測定部114は、測定した伝送速度を調整部115へ通知する。   The second measuring unit 114 measures the transmission speed of the transmission path 102. The transmission speed of the transmission path 102 is, for example, the amount of data per time that can be transmitted through the transmission path 102. The second measurement unit 114 notifies the adjustment unit 115 of the measured transmission rate.

たとえば、第2測定部114は、送信部112によるパケットの送信時刻と、送信部112によって送信されたパケットに対する受信装置103からの応答信号の通信装置110における受信時刻と、に基づいて伝搬遅延時間を測定することができる。ただし、第2測定部114による伝搬遅延時間の測定は、これらの方法に限らず、たとえば伝搬遅延時間を監視できる方法であればよい。   For example, the second measurement unit 114 determines the propagation delay time based on the transmission time of the packet by the transmission unit 112 and the reception time at the communication device 110 of the response signal from the reception device 103 for the packet transmitted by the transmission unit 112. Can be measured. However, the measurement of the propagation delay time by the second measurement unit 114 is not limited to these methods, and may be any method that can monitor the propagation delay time, for example.

調整部115は、第1測定部113から通知された伝搬遅延時間と、第2測定部114から通知された伝送速度と、に基づいて、バッファ111の最大データ量を調整する。たとえば、調整部115は、少なくとも伝搬遅延時間が一定である場合に、伝送路102の伝送速度が上昇した場合はバッファ111の最大データ量を減少させ、伝送速度が低下した場合はバッファ111の最大データ量を増加させる。   The adjustment unit 115 adjusts the maximum data amount of the buffer 111 based on the propagation delay time notified from the first measurement unit 113 and the transmission rate notified from the second measurement unit 114. For example, the adjusting unit 115 reduces the maximum data amount of the buffer 111 when the transmission speed of the transmission path 102 is increased and the transmission speed of the buffer 111 decreases when the transmission delay time is constant. Increase the amount of data.

これにより、伝送路102の伝送速度が上昇しやすい状況ほどバッファ111の最大データ量を増加させ、伝送路102の伝送速度の上昇時における伝送路102の伝送速度の利用率を向上させることができる。一例としては、調整部115は、伝送路102における最大の伝送速度と現在の伝送速度との差分と、伝搬遅延時間と、の積(たとえば下記(1)式)に基づいてバッファ111の最大データ量を調整する。   As a result, the maximum data amount of the buffer 111 increases as the transmission speed of the transmission path 102 is likely to increase, and the utilization rate of the transmission speed of the transmission path 102 when the transmission speed of the transmission path 102 increases can be improved. . As an example, the adjustment unit 115 determines the maximum data of the buffer 111 based on the product (for example, the following equation (1)) of the difference between the maximum transmission rate in the transmission path 102 and the current transmission rate and the propagation delay time. Adjust the amount.

このように、実施の形態1によれば、送信パケットの伝搬遅延時間と伝送路102の伝送速度とを用いてバッファ111の最大データ量を調整することで、バッファ111による遅延を抑えつつ、伝送路102の伝送速度の利用率を高めることができる。これにより、送信装置101と受信装置103との間の伝送効率を向上させることができる。   As described above, according to the first embodiment, by adjusting the maximum data amount of the buffer 111 using the propagation delay time of the transmission packet and the transmission speed of the transmission path 102, the transmission by the buffer 111 is suppressed while suppressing the delay. The utilization rate of the transmission rate of the path 102 can be increased. Thereby, the transmission efficiency between the transmitter 101 and the receiver 103 can be improved.

なお、受信装置103から送信装置101への応答信号は、伝送路102や通信装置110を介した通信経路によって送信装置101へ送信されてもよいし、伝送路102や通信装置110を介さない通信経路によって送信装置101へ送信されてもよい。   Note that the response signal from the receiving apparatus 103 to the transmitting apparatus 101 may be transmitted to the transmitting apparatus 101 via a communication path via the transmission path 102 or the communication apparatus 110, or communication that does not pass through the transmission path 102 or the communication apparatus 110. It may be transmitted to the transmission apparatus 101 by a route.

<調整部による調整方法の変形例>
調整部115は、第1測定部113から通知された伝搬遅延時間の時間平均値に基づいてバッファ111の最大データ量を調整してもよい。これにより、伝搬遅延時間の変動に対してバッファ111の最大データ量を緩やかに変化させ、たとえばバッファ111においてパケットが破棄されることを回避することができる。
<Modification of adjustment method by adjustment unit>
The adjustment unit 115 may adjust the maximum data amount of the buffer 111 based on the time average value of the propagation delay time notified from the first measurement unit 113. As a result, the maximum data amount of the buffer 111 can be gradually changed with respect to fluctuations in the propagation delay time, and for example, it can be avoided that packets are discarded in the buffer 111.

また、調整部115は、第2測定部114から通知された伝送路102の伝送速度の時間平均値に基づいてバッファ111の最大データ量を調整してもよい。これにより、伝送路102の伝送速度の変動に対してバッファ111の最大データ量を緩やかに変化させ、たとえばバッファ111においてパケットが破棄されることを回避することができる。   In addition, the adjustment unit 115 may adjust the maximum data amount of the buffer 111 based on the time average value of the transmission rate of the transmission path 102 notified from the second measurement unit 114. As a result, the maximum data amount of the buffer 111 can be gradually changed with respect to fluctuations in the transmission speed of the transmission path 102, and for example, it can be avoided that the packet is discarded in the buffer 111.

また、伝搬遅延時間の時間平均値には、伝搬遅延時間に基づく期間(たとえば伝搬遅延時間に相当する時間)における伝搬遅延時間の平均値を用いてもよい。また、伝送路102の伝送速度の時間平均値には、伝搬遅延時間に基づく期間(たとえば伝搬遅延時間に相当する時間)における伝送路102の伝送速度の平均値を用いてもよい。   Further, as the time average value of the propagation delay time, an average value of the propagation delay time in a period based on the propagation delay time (for example, a time corresponding to the propagation delay time) may be used. In addition, as the time average value of the transmission speed of the transmission path 102, an average value of the transmission speed of the transmission path 102 in a period based on the propagation delay time (for example, a time corresponding to the propagation delay time) may be used.

これにより、バッファ111の最大データ量の調整を伝搬遅延時間に応じた時間で収束させることができる。ここで、伝搬遅延時間や伝送路102の伝送速度の変動によるネットワークの過渡状態は、たとえば伝搬遅延時間に相当する時間で収束する。このため、バッファ111の最大データ量の調整を伝搬遅延時間に応じた時間で収束させることで、たとえばバッファ111においてパケットが破棄されることを回避することができる。   Thereby, the adjustment of the maximum data amount of the buffer 111 can be converged in a time corresponding to the propagation delay time. Here, the transient state of the network due to the propagation delay time or the change in the transmission speed of the transmission path 102 converges in a time corresponding to the propagation delay time, for example. For this reason, by adjusting the adjustment of the maximum data amount of the buffer 111 in a time corresponding to the propagation delay time, it is possible to avoid discarding the packet in the buffer 111, for example.

また、調整部115が、伝送路102の伝送速度が上昇した場合はバッファ111の最大データ量を減少させ、伝送速度が低下した場合はバッファ111の最大データ量を増加させる場合について説明したが、調整部115の調整方法はこの方法に限らない。たとえば、調整部115は、少なくとも伝搬遅延時間が一定である場合に、伝送路102の伝送速度が上昇した場合はバッファ111の最大データ量を増加させ、伝送速度が低下した場合はバッファ111の最大データ量を減少させてもよい。   In addition, the adjustment unit 115 has been described for the case where the maximum data amount of the buffer 111 is decreased when the transmission speed of the transmission path 102 is increased, and the maximum data amount of the buffer 111 is increased when the transmission speed is decreased. The adjustment method of the adjustment unit 115 is not limited to this method. For example, the adjustment unit 115 increases the maximum data amount of the buffer 111 when the transmission speed of the transmission path 102 is increased, and increases the maximum data of the buffer 111 when the transmission speed is decreased, at least when the propagation delay time is constant. The amount of data may be reduced.

これにより、たとえば、送信装置101が、受信装置103からの応答信号の受信結果に基づいてパケットのロスを検出し、ロスを検出した場合にパケットの送信量を減少させる場合における伝送路102の伝送速度の利用率を向上させることができる。一例としては、調整部115は、伝送路102における現在の伝送速度と伝搬遅延時間との積(たとえば下記(2)式)に基づいてバッファ111の最大データ量を調整する。   Thereby, for example, the transmission apparatus 101 detects a packet loss based on the reception result of the response signal from the reception apparatus 103, and when the loss is detected, transmission on the transmission path 102 is performed. Speed utilization can be improved. As an example, the adjustment unit 115 adjusts the maximum data amount of the buffer 111 based on the product (for example, the following equation (2)) of the current transmission rate and the propagation delay time in the transmission path 102.

図1Cは、実施の形態1にかかる通信装置の変形例を示す図である。図1Dは、図1Cに示した通信装置における信号の流れの一例を示す図である。図1C,図1Dにおいて、図1A,図1Bに示した部分と同様の部分については同一の符号を付して説明を省略する。図1A,図1Bに示した送信装置101は、通信装置110により実現してもよい。   FIG. 1C is a diagram illustrating a modification of the communication device according to the first embodiment. FIG. 1D is a diagram illustrating an example of a signal flow in the communication apparatus illustrated in FIG. 1C. 1C and 1D, the same reference numerals are given to the same parts as those shown in FIGS. 1A and 1B, and the description thereof is omitted. The transmission device 101 illustrated in FIGS. 1A and 1B may be realized by the communication device 110.

たとえば、通信装置110は、図1A,図1Bに示した構成に加えて送信処理部131を備える。送信処理部131は、図1A,図1Bに示した送信装置101に対応する構成である。たとえば、送信処理部131は、受信装置103を宛先とするパケットを生成してバッファ111へ送信する。また、送信処理部131は、送信したパケットに対する受信装置103からの応答信号に応じてパケットの送信速度を調整する輻輳制御を行う。バッファ111は、送信処理部131から送信されたパケットを溜める。   For example, the communication device 110 includes a transmission processing unit 131 in addition to the configuration illustrated in FIGS. 1A and 1B. The transmission processing unit 131 has a configuration corresponding to the transmission device 101 illustrated in FIGS. 1A and 1B. For example, the transmission processing unit 131 generates a packet destined for the receiving device 103 and transmits the packet to the buffer 111. In addition, the transmission processing unit 131 performs congestion control that adjusts the transmission speed of a packet according to a response signal from the reception apparatus 103 to the transmitted packet. The buffer 111 accumulates packets transmitted from the transmission processing unit 131.

(実施の形態2)
(実施の形態2にかかる通信システム)
図2Aは、実施の形態2にかかる通信システムの一例を示す図である。図2Aに示す通信システム200は、実施の形態2にかかる通信システムである。通信システム200は、送信端末211と、CPE212(Customer Premises Equipment:顧客構内設備)と、BS213(Base Station:基地局)と、受信端末214と、を含む。
(Embodiment 2)
(Communication system according to Embodiment 2)
FIG. 2A is a diagram illustrating an example of a communication system according to the second embodiment. A communication system 200 illustrated in FIG. 2A is a communication system according to the second exemplary embodiment. The communication system 200 includes a transmission terminal 211, a CPE 212 (Customer Equipment Equipment), a BS 213 (Base Station), and a reception terminal 214.

送信端末211は、CPE212およびBS213を介してネットワーク(たとえばインターネット203)に接続可能な通信装置である。送信端末211は、一例としてはモバイルPC(Personal Computer)である。   The transmission terminal 211 is a communication device that can be connected to a network (for example, the Internet 203) via the CPE 212 and the BS 213. The transmission terminal 211 is a mobile PC (Personal Computer) as an example.

送信端末211は、受信端末214を宛先とするデータパケットを生成し、生成したデータパケットをCPE212へ送信する。送信端末211とCPE212との間の通信には、無線LAN(Wireless Local Area Network:無線構内通信網)などの無線通信を用いることができる。無線LANには、一例としてはWiFi(Wireless Fidelity)(登録商標)を用いることができる。また、送信端末211とCPE212との間の通信には、USB(Universal Serial Bus:ユニバーサルシリアルバス)などの有線通信を用いてもよい。   The transmission terminal 211 generates a data packet destined for the reception terminal 214 and transmits the generated data packet to the CPE 212. For communication between the transmitting terminal 211 and the CPE 212, wireless communication such as a wireless local area network (LAN) can be used. For example, WiFi (Wireless Fidelity) (registered trademark) can be used for the wireless LAN. Further, wired communication such as USB (Universal Serial Bus) may be used for communication between the transmission terminal 211 and the CPE 212.

また、送信端末211は、CPE212へのデータパケットの送信量を、CPE212を介して受信した受信端末214からの応答信号(たとえばACKやSACK)に基づいて制御する輻輳制御(たとえばウィンドウ制御)を行う。輻輳制御については後述する。   Further, the transmission terminal 211 performs congestion control (for example, window control) for controlling the transmission amount of the data packet to the CPE 212 based on a response signal (for example, ACK or SACK) from the reception terminal 214 received via the CPE 212. . Congestion control will be described later.

CPE212は、送信端末211から送信されたデータパケットをバッファに一時格納する。そして、CPE212は、バッファに格納したデータパケットを、順次、無線区間201(無線リンク)を介してBS213へ無線送信する。   The CPE 212 temporarily stores the data packet transmitted from the transmission terminal 211 in a buffer. Then, the CPE 212 sequentially wirelessly transmits the data packets stored in the buffer to the BS 213 via the wireless section 201 (wireless link).

また、CPE212は、BS213から無線区間201を介して無線送信された、受信端末214から送信端末211への応答信号を送信端末211へ送信する。CPE212とBS213との間には、たとえば3G(3rd Generation:第3世代移動通信システム)、LTE(Long Term Evolution)、LTE−Advancedなどの各種方式の無線通信を用いることができる。CPE212は、一例としては、送信端末211のユーザが所持するモバイルルータである。   Further, the CPE 212 transmits a response signal from the reception terminal 214 to the transmission terminal 211, which is wirelessly transmitted from the BS 213 through the wireless section 201, to the transmission terminal 211. Between the CPE 212 and the BS 213, for example, various types of wireless communication such as 3G (3rd Generation: third generation mobile communication system), LTE (Long Term Evolution), and LTE-Advanced can be used. As an example, the CPE 212 is a mobile router possessed by the user of the transmission terminal 211.

BS213は、CPE212から無線送信されたデータパケットを、アクセスネットワーク202およびインターネット203を介して受信端末214へ送信する基地局である。アクセスネットワーク202は、たとえば、BS213のオペレータが管理する移動体通信網のコアネットワークである。   The BS 213 is a base station that transmits a data packet wirelessly transmitted from the CPE 212 to the receiving terminal 214 via the access network 202 and the Internet 203. The access network 202 is a core network of a mobile communication network managed by an operator of the BS 213, for example.

また、BS213は、インターネット203およびアクセスネットワーク202を介して送信された、受信端末214から送信端末211への応答信号を、CPE212へ無線送信する。   Also, the BS 213 wirelessly transmits to the CPE 212 a response signal transmitted from the receiving terminal 214 to the transmitting terminal 211, transmitted via the Internet 203 and the access network 202.

受信端末214は、インターネット203に接続された通信装置である。受信端末214は、インターネット203を介して受信した送信端末211からのデータパケットに対する応答信号を送信する。受信端末214から送信された応答信号は、インターネット203、アクセスネットワーク202、BS213およびCPE212を介して送信端末211に受信される。受信端末214は、一例としては、サーバやPCなどである。また、受信端末214は、基地局などを介してインターネット203に接続する移動体通信装置などであってもよい。   The receiving terminal 214 is a communication device connected to the Internet 203. The receiving terminal 214 transmits a response signal to the data packet received from the transmitting terminal 211 received via the Internet 203. The response signal transmitted from the reception terminal 214 is received by the transmission terminal 211 via the Internet 203, the access network 202, the BS 213, and the CPE 212. The receiving terminal 214 is, for example, a server or a PC. The receiving terminal 214 may be a mobile communication device connected to the Internet 203 via a base station or the like.

通信システム200においては、一例としては、CPE212とBS213との間の無線区間201がボトルネックリンクとなり得る。また、無線区間201においては、電波環境などによって伝送速度が変動する。   In the communication system 200, as an example, the wireless section 201 between the CPE 212 and the BS 213 can be a bottleneck link. Also, in the wireless section 201, the transmission speed varies depending on the radio wave environment and the like.

図1A,図1Bに示した通信装置110は、たとえばCPE212に適用することができる。図1A,図1Bに示した送信装置101は、たとえば送信端末211に適用することができる。図1A,図1Bに示した伝送路102は、たとえば無線区間201に適用することができる。図1A,図1Bに示した受信装置103は、たとえば受信端末214に適用することができる。また、図1C,図1Dに示した通信装置110は、たとえば送信端末211に適用することができる。   The communication device 110 shown in FIGS. 1A and 1B can be applied to the CPE 212, for example. The transmission device 101 illustrated in FIGS. 1A and 1B can be applied to the transmission terminal 211, for example. The transmission path 102 illustrated in FIGS. 1A and 1B can be applied to the wireless section 201, for example. The receiving device 103 shown in FIGS. 1A and 1B can be applied to the receiving terminal 214, for example. Moreover, the communication apparatus 110 shown to FIG. 1C and FIG. 1D is applicable to the transmission terminal 211, for example.

このように、上述した通信装置110は、たとえば、ボトルネックリンク(無線区間201)の前段に位置し、TCPまたは相当の制御メカニズムをもつプロトコルで通信する通信装置、または該通信のパス上に位置する通信装置に適用することができる。以下、通信装置110をCPE212に適用する場合について主に説明する。   As described above, the communication device 110 described above is located, for example, in the preceding stage of the bottleneck link (wireless section 201), and is located on the communication path that communicates with the protocol having TCP or a corresponding control mechanism, or on the communication path. It can be applied to a communication device. Hereinafter, the case where the communication apparatus 110 is applied to the CPE 212 will be mainly described.

(図2Aに示した通信システムにおけるプロトコルスタック)
図2Bは、図2Aに示した通信システムにおけるプロトコルスタックの一例を示す図である。処理群221は、送信端末211における処理群を示している。処理群222は、CPE212における処理群を示している。処理群223は、BS213における処理群を示している。処理群224は、受信端末214における処理群を示している。
(Protocol stack in the communication system shown in FIG. 2A)
2B is a diagram illustrating an example of a protocol stack in the communication system illustrated in FIG. 2A. A processing group 221 indicates a processing group in the transmission terminal 211. A processing group 222 indicates a processing group in the CPE 212. A processing group 223 indicates a processing group in the BS 213. A processing group 224 indicates a processing group in the receiving terminal 214.

たとえば、送信端末211および受信端末214は、TCP層以上のレイヤによって互いに通信を行う。TCP層以上のレイヤには、TCP層(TCP)やL5以上のレイヤ(≧L5)が含まれる。   For example, the transmission terminal 211 and the reception terminal 214 communicate with each other through layers higher than the TCP layer. The layers above the TCP layer include a TCP layer (TCP) and a layer above L5 (≧ L5).

CPE212は、送信端末211およびBS213との間でIP(Internet Protocol)層以下のレイヤによって互いに通信を行う。BS213は、CPE212および受信端末214との間でIP層以下のレイヤによって互いに通信を行う。   The CPE 212 communicates with the transmitting terminal 211 and the BS 213 by using layers below the IP (Internet Protocol) layer. The BS 213 communicates with the CPE 212 and the receiving terminal 214 through layers below the IP layer.

IP層以下のレイヤには、たとえば、WiFi、USB、モバイルブロードバンドインターフェース(Mobile Broadband I/F)、イーサネット(Ether)などが含まれる。イーサネットは登録商標である。   The layers below the IP layer include, for example, WiFi, USB, a mobile broadband interface (Mobile Broadband I / F), Ethernet (Ether), and the like. Ethernet is a registered trademark.

CPE212は、たとえば、モバイルブロードバンドインターフェースにおける送信バッファ212aに、送信端末211から受信したデータパケットを格納する。そして、CPE212は、送信バッファ212aに格納したデータパケットをBS213へ順次送信する。送信バッファ212aは、たとえばFIFO(First In First Out:先入れ先出し)のバッファである。また、送信バッファ212aは、優先順位付きキューのバッファなどであってもよい。   For example, the CPE 212 stores the data packet received from the transmission terminal 211 in the transmission buffer 212a in the mobile broadband interface. Then, the CPE 212 sequentially transmits the data packets stored in the transmission buffer 212a to the BS 213. The transmission buffer 212a is, for example, a FIFO (First In First Out) buffer. Further, the transmission buffer 212a may be a queue for a priority queue.

(無線区間の伝送速度が変化する状況)
図2Cは、無線区間の伝送速度が変化する状況の一例を示す図である。たとえば、CPE212がモバイルルータなどの移動通信装置であるとする。図2Cに示す地点231は、BS213との間の無線通信環境が悪い地点である。地点232は、BS213との間の無線通信環境が良い地点である。
(Situation where the transmission speed of the wireless section changes)
FIG. 2C is a diagram illustrating an example of a situation where the transmission rate of the wireless section changes. For example, assume that the CPE 212 is a mobile communication device such as a mobile router. A point 231 illustrated in FIG. 2C is a point where the wireless communication environment with the BS 213 is poor. The point 232 is a point where the wireless communication environment with the BS 213 is good.

たとえば、図2Cに示すように、送信端末211およびCPE212が、地点231から地点232へ移動したとする。この場合は、CPE212とBS213との間の無線区間201の伝送速度が増加する。   For example, as illustrated in FIG. 2C, it is assumed that the transmission terminal 211 and the CPE 212 have moved from a point 231 to a point 232. In this case, the transmission rate of the radio section 201 between the CPE 212 and the BS 213 increases.

ただし、CPE212とBS213との間の無線区間201の伝送速度は、CPE212などの移動に限らない。たとえば、CPE212とBS213との間の無線区間201の伝送速度は、CPE212とBS213との間の障害物の移動や、他の無線通信装置からの干渉状態などによっても変動する。また、CPE212とBS213との間の無線区間201の伝送速度は、CPE212とBS213との間の無線通信における変調方式や符号化方式の切り替えなどによっても変動する。   However, the transmission speed of the wireless section 201 between the CPE 212 and the BS 213 is not limited to the movement of the CPE 212 or the like. For example, the transmission speed of the wireless section 201 between the CPE 212 and the BS 213 varies depending on the movement of an obstacle between the CPE 212 and the BS 213, the interference state from other wireless communication devices, and the like. In addition, the transmission rate of the wireless section 201 between the CPE 212 and the BS 213 varies depending on the modulation method and the coding method switching in the wireless communication between the CPE 212 and the BS 213.

(ACK受信時のウィンドウの動作)
図3Aおよび図3Bは、ACK受信時のウィンドウの動作の一例を示す図である。ここでは、送信端末211において、TCPにおける輻輳制御(ウィンドウ制御)を行う場合について説明する。図3A,図3Bに示すデータパケット群301は、送信端末211による送信対象のデータパケットである。
(Window operation when ACK is received)
FIG. 3A and FIG. 3B are diagrams illustrating an example of the window operation when an ACK is received. Here, a case where the transmission terminal 211 performs congestion control (window control) in TCP will be described. A data packet group 301 illustrated in FIGS. 3A and 3B is a data packet to be transmitted by the transmission terminal 211.

データパケット群301の各データパケットにおける数値(1、2001、3001、4001、5001、…)は、各データパケットのセグメントを示している。データパケット群301のうちの斜線を付したデータパケットは送信済みのデータパケットである。   A numerical value (1, 2001, 3001, 4001, 5001,...) In each data packet of the data packet group 301 indicates a segment of each data packet. A data packet with a diagonal line in the data packet group 301 is a transmitted data packet.

送信ウィンドウ302は、送信端末211に設定された送信ウィンドウであって、送信端末211が送信可能なデータパケットの最大サイズを示す送信ウィンドウである。たとえば、送信端末211は、送信ウィンドウ302が示すサイズまでは、受信端末214からACK(確認応答)を受信しなくてもデータパケットを送信する。   The transmission window 302 is a transmission window that is set for the transmission terminal 211 and indicates the maximum size of a data packet that can be transmitted by the transmission terminal 211. For example, the transmission terminal 211 transmits a data packet up to the size indicated by the transmission window 302 without receiving an ACK (acknowledgment response) from the reception terminal 214.

そして、送信端末211は、送信ウィンドウ302の上限までまとめてデータパケットを送信した後は、受信端末214からのACKを受信するごとに新規にデータパケットの送信が可能となる。なお、これは送信ウィンドウ302のサイズが増えない場合の挙動である。送信ウィンドウ302のサイズが増えた場合は、送信端末211が送信できるパケットは、ACKを受信したデータパケットのサイズ分と、送信ウィンドウ302の増加分と、の合計のサイズ分のデータパケットとなる。   Then, after the transmission terminal 211 collectively transmits the data packet up to the upper limit of the transmission window 302, the transmission terminal 211 can newly transmit the data packet each time an ACK is received from the reception terminal 214. This is the behavior when the size of the transmission window 302 does not increase. When the size of the transmission window 302 increases, the packets that can be transmitted by the transmission terminal 211 are data packets corresponding to the total size of the size of the data packet that received the ACK and the increase of the transmission window 302.

たとえば、図3Aに示した状態において、送信端末211がセグメント「1」のデータパケットに対するACKを受信すると、図3Bに示すように送信ウィンドウ302がシフトし、送信ウィンドウ302にセグメント「5001」のデータが含まれるようになる。このため、送信端末211は、セグメント「5001」のデータパケットを送信可能な状態になり、セグメント「5001」のデータパケットを送信する。   For example, when the transmitting terminal 211 receives an ACK for the data packet of the segment “1” in the state illustrated in FIG. 3A, the transmission window 302 is shifted as illustrated in FIG. 3B, and the data of the segment “5001” is transferred to the transmission window 302. Will be included. For this reason, the transmission terminal 211 is ready to transmit the data packet of the segment “5001”, and transmits the data packet of the segment “5001”.

また、送信端末211においては、ネットワークの混雑の度合いに応じて送信ウィンドウ302のサイズを制御することでデータパケットの送信量を調整する輻輳制御が行われる。輻輳制御のアルゴリズムには、一例としてはReno/New Renoと称されるものがある。これらのアルゴリズムにおいては、たとえば以下のような制御が行われる。   In addition, the transmission terminal 211 performs congestion control for adjusting the transmission amount of the data packet by controlling the size of the transmission window 302 in accordance with the degree of network congestion. As an example of the congestion control algorithm, there is an algorithm called Reno / New Reno. In these algorithms, for example, the following control is performed.

すなわち、送信端末211は、送信したデータパケットのロス(パケットロス)を検出するまでは送信ウィンドウ302のサイズを積極的に増やす(たとえばACK受信ごとに1増加)。この制御フェーズは、たとえばスロースタートフェーズと呼ばれる。   That is, the transmitting terminal 211 actively increases the size of the transmission window 302 until it detects a loss (packet loss) of the transmitted data packet (for example, increases by 1 every time an ACK is received). This control phase is called a slow start phase, for example.

そして、送信端末211は、パケットロスを検出すると、送信量を減らすために送信ウィンドウ302のサイズを減らす(Reno/New Renoの場合は半減させる)。また、送信端末211は、その後の送信ウィンドウ302のサイズを穏やかに上昇させる(たとえばReno/New Renoの場合は1RTTごとに1増加)。この制御フェーズは、たとえば輻輳回避フェーズと呼ばれる。   Then, when detecting a packet loss, the transmission terminal 211 reduces the size of the transmission window 302 to reduce the transmission amount (in the case of Reno / New Reno, the transmission terminal 211 halves). Further, the transmission terminal 211 gently increases the size of the subsequent transmission window 302 (for example, in the case of Reno / New Reno, the transmission terminal 211 increases by 1 every 1 RTT). This control phase is called a congestion avoidance phase, for example.

(送信端末による処理)
図4は、送信端末による処理の一例を示すフローチャートである。送信端末211は、たとえば図4に示す各ステップを実行する。まず、送信端末211は、通信相手(たとえば受信端末214)とTCPのコネクションを確立する(ステップS401)。つぎに、送信端末211は、TCPの通信モードを“スロースタート”に設定する(ステップS402)。“スロースタート”は、上述のスロースタートフェーズに対応する状態である。
(Processing by sending terminal)
FIG. 4 is a flowchart illustrating an example of processing by the transmission terminal. For example, the transmission terminal 211 executes the steps shown in FIG. First, the transmission terminal 211 establishes a TCP connection with a communication partner (for example, the reception terminal 214) (step S401). Next, the transmission terminal 211 sets the TCP communication mode to “slow start” (step S402). “Slow start” is a state corresponding to the above-described slow start phase.

つぎに、送信端末211は、送信対象のデータパケットがあるか否かを判断する(ステップS403)。送信対象のデータパケットがある場合(ステップS403:Yes)は、送信端末211は、ステップS404へ移行する。すなわち、送信端末211は、ACKを未受信の送信済みデータパケットのデータ量(未ACKデータ量)が送信ウィンドウ302のサイズ(送信ウィンドウサイズ)より小さいか否かを判断する(ステップS404)。ACKを未受信の送信済みデータパケットのデータ量が送信ウィンドウ302のサイズ以上である場合(ステップS404:No)は、送信端末211は、ステップS403へ戻る(符号A)。   Next, the transmission terminal 211 determines whether there is a data packet to be transmitted (step S403). If there is a data packet to be transmitted (step S403: Yes), the transmission terminal 211 proceeds to step S404. That is, the transmission terminal 211 determines whether or not the data amount of the transmitted data packet that has not received ACK (the amount of unACK data) is smaller than the size of the transmission window 302 (transmission window size) (step S404). When the data amount of the transmitted data packet that has not received ACK is equal to or larger than the size of the transmission window 302 (step S404: No), the transmission terminal 211 returns to step S403 (reference A).

ステップS404において、ACKを未受信の送信済みデータパケットのデータ量が送信ウィンドウ302のサイズより小さい場合(ステップS404:Yes)は、送信端末211は、ステップS405へ移行する。すなわち、送信端末211は、送信対象のデータパケットをネットワークへ向けて送信する(ステップS405)。たとえば、送信端末211は、CPE212へデータパケットを送信する。   In step S404, when the data amount of the transmitted data packet that has not received ACK is smaller than the size of the transmission window 302 (step S404: Yes), the transmitting terminal 211 proceeds to step S405. That is, the transmission terminal 211 transmits the data packet to be transmitted toward the network (step S405). For example, the transmission terminal 211 transmits a data packet to the CPE 212.

つぎに、送信端末211は、ACKを未受信の送信済みデータパケットのデータ量(未ACKデータ量)に、ステップS405によって送信したデータパケットのサイズ(送信パケットサイズ)を加算する(ステップS406)。また、送信端末211は、ステップS405によって送信したデータパケットのシーケンス番号(たとえばセグメント)と、ステップS405による送信時刻と、を対応付けて記憶し(ステップS407)、ステップS403へ戻る(符号A)。   Next, the transmission terminal 211 adds the size (transmission packet size) of the data packet transmitted in step S405 to the data amount of the transmitted data packet that has not received ACK (unACK data amount) (step S406). Further, the transmission terminal 211 stores the sequence number (eg, segment) of the data packet transmitted in step S405 in association with the transmission time in step S405 (step S407), and returns to step S403 (symbol A).

ステップS403において、送信対象のデータパケットがない場合(ステップS403:No)は、送信端末211は、送信済みのデータパケットに対するACKを受信したか否かを判断する(ステップS408)。ACKを受信していない場合(ステップS408:No)は、送信端末211は、ステップS403へ戻る(符号A)。   If there is no data packet to be transmitted in step S403 (step S403: No), the transmission terminal 211 determines whether or not an ACK for the transmitted data packet has been received (step S408). When ACK is not received (step S408: No), the transmission terminal 211 returns to step S403 (symbol A).

ステップS408において、ACKを受信した場合(ステップS408:Yes)は、送信端末211は、ステップS408において受信したと判断したACKに基づいて、パケットロスが発生したか否かを判断する(ステップS409)。たとえば、送信端末211は、直近に受信したACKが示すデータパケットのシーケンス番号が、前回受信したACKが示すデータパケットのシーケンス番号の次の番号であるか否かに基づいて、パケットロスが発生したか否かを判断することができる。   If an ACK is received in step S408 (step S408: Yes), the transmission terminal 211 determines whether or not a packet loss has occurred based on the ACK determined to have been received in step S408 (step S409). . For example, the transmission terminal 211 has caused a packet loss based on whether the sequence number of the data packet indicated by the most recently received ACK is the next number of the sequence number of the data packet indicated by the previously received ACK. It can be determined whether or not.

ステップS409において、パケットロスが発生したと判断した場合(ステップS409:Yes)は、送信端末211は、ロスしたデータパケットを再送する(ステップS410)。ロスしたデータパケットは、たとえば、直近に受信したACKが示すデータパケットのシーケンス番号と、前回受信したACKが示すデータパケットのシーケンス番号と、の間のシーケンス番号のデータパケットである。   If it is determined in step S409 that a packet loss has occurred (step S409: Yes), the transmission terminal 211 retransmits the lost data packet (step S410). The lost data packet is, for example, a data packet having a sequence number between the sequence number of the data packet indicated by the most recently received ACK and the sequence number of the data packet indicated by the previously received ACK.

つぎに、送信端末211は、送信ウィンドウ302のサイズ(送信ウィンドウサイズ)を減少させる(ステップS411)。また、送信端末211は、ステップS410によって送信(再送)したデータパケットのシーケンス番号と、ステップS410による送信時刻と、を記憶する(ステップS412)。また、送信端末211は、TCPの通信モードを“輻輳回避”に設定し(ステップS413)、ステップS403へ戻る(符号A)。“輻輳回避”は、上述した輻輳回避フェーズに対応する状態である。   Next, the transmission terminal 211 decreases the size of the transmission window 302 (transmission window size) (step S411). Further, the transmission terminal 211 stores the sequence number of the data packet transmitted (retransmitted) in step S410 and the transmission time in step S410 (step S412). In addition, the transmission terminal 211 sets the TCP communication mode to “congestion avoidance” (step S413), and returns to step S403 (symbol A). “Congestion avoidance” is a state corresponding to the above-described congestion avoidance phase.

ステップS409において、パケットロスが発生していないと判断した場合(ステップS409:No)は、送信端末211は、受信したACKのACK番号と、ACKの受信時刻と、を取得する(ステップS414)。つぎに、送信端末211は、ステップS414によって取得したACK番号に基づいて、受信したACKに対応するデータパケットの送信時刻を取得する(ステップS415)。たとえば、送信端末211は、ステップS407またはステップS412による記憶結果の中から、受信したACKに対応するデータパケットの送信時刻を取得することができる。   If it is determined in step S409 that no packet loss has occurred (step S409: No), the transmission terminal 211 acquires the ACK number of the received ACK and the reception time of the ACK (step S414). Next, the transmission terminal 211 acquires the transmission time of the data packet corresponding to the received ACK based on the ACK number acquired in step S414 (step S415). For example, the transmission terminal 211 can acquire the transmission time of the data packet corresponding to the received ACK from the storage result in step S407 or step S412.

つぎに、送信端末211は、ステップS415によって取得したデータパケットの送信時刻と、ステップS414によって取得したACKの受信時刻と、に基づいて、送信端末211と受信端末214との間のRTTを算出する(ステップS416)。たとえば、送信端末211は、ACKの受信時刻からデータパケットの送信時刻を減ずることでRTTを算出する。   Next, the transmission terminal 211 calculates the RTT between the transmission terminal 211 and the reception terminal 214 based on the transmission time of the data packet acquired in step S415 and the reception time of the ACK acquired in step S414. (Step S416). For example, the transmission terminal 211 calculates the RTT by subtracting the data packet transmission time from the ACK reception time.

また、送信端末211は、ACKを未受信の送信済みデータパケットのデータ量(未ACKデータ量)から、受信したACKに対応するデータパケットのデータ量(ACKデータ量)を減算する(ステップS417)。   In addition, the transmission terminal 211 subtracts the data amount (ACK data amount) of the data packet corresponding to the received ACK from the data amount of the transmitted data packet that has not received ACK (unACK data amount) (step S417). .

つぎに、送信端末211は、現在のTCPの通信モードが“輻輳回避”であるか否かを判断する(ステップS418)。通信モードが“輻輳回避”である場合(ステップS418:Yes)は、送信端末211は、送信ウィンドウ302のサイズ(送信ウィンドウサイズ)にMSS/RTTを加算し(ステップS419)、ステップS403へ戻る(符号A)。MSS(Maximum Segment Size)は、送信してよいデータパケットの最大値(たとえば1460[byte])を示し、たとえばステップS401のコネクション確立時に受信端末214から送信端末211へ通知される。   Next, the transmission terminal 211 determines whether or not the current TCP communication mode is “congestion avoidance” (step S418). When the communication mode is “congestion avoidance” (step S418: Yes), the transmission terminal 211 adds MSS / RTT to the size of the transmission window 302 (transmission window size) (step S419), and returns to step S403 ( Symbol A). MSS (Maximum Segment Size) indicates the maximum value of data packets that can be transmitted (for example, 1460 [bytes]), and is notified from the receiving terminal 214 to the transmitting terminal 211 when the connection is established in step S401, for example.

ステップS418において、通信モードが“輻輳回避”でない場合(ステップS418:No)は、送信端末211は、送信ウィンドウ302のサイズ(送信ウィンドウサイズ)にMSSを加算し(ステップS420)、ステップS403へ戻る(符号A)。   If the communication mode is not “congestion avoidance” in step S418 (step S418: No), the transmission terminal 211 adds MSS to the size of the transmission window 302 (transmission window size) (step S420), and returns to step S403. (Reference A).

(輻輳制御)
図5は、輻輳制御の動作の一例を示す図である。図5において、横軸は経過時間を示す。TCPスループット501は、送信端末211から受信端末214へのデータパケットのスループットである。送信ウィンドウサイズ502は、送信端末211における送信ウィンドウ302のサイズである。
(Congestion control)
FIG. 5 is a diagram illustrating an example of the operation of congestion control. In FIG. 5, the horizontal axis indicates the elapsed time. The TCP throughput 501 is the throughput of data packets from the transmission terminal 211 to the reception terminal 214. The transmission window size 502 is the size of the transmission window 302 in the transmission terminal 211.

無線区間帯域503は、CPE212とBS213との間の無線区間201の帯域である。送信レート504は、送信端末211からCPE212へのデータパケットの送信レートである。バッファ量505は、CPE212の送信バッファ212aに蓄積されるデータパケットの量である。段階511〜517は、図5に示す動作の各段階を示す。   The wireless section band 503 is a band of the wireless section 201 between the CPE 212 and the BS 213. The transmission rate 504 is a data packet transmission rate from the transmission terminal 211 to the CPE 212. The buffer amount 505 is the amount of data packets stored in the transmission buffer 212a of the CPE 212. Steps 511 to 517 show the steps of the operation shown in FIG.

<スロースタートフェーズ>
まず、段階511に示すように、スロースタートフェーズ(通信モード=“スロースタート”)においては、送信ウィンドウサイズ502の増加に伴ってTCPスループット501も上昇する。
<Slow start phase>
First, as shown in step 511, in the slow start phase (communication mode = “slow start”), the TCP throughput 501 increases as the transmission window size 502 increases.

つぎに、TCPスループット501は無線区間帯域503まで上昇するとそれ以降は無線区間帯域503で一定(頭打ち)となるが、送信ウィンドウサイズ502はさらに増加する。これに伴い、送信レート504も増加する。そして、段階512に示すように、送信レート504が無線区間帯域503を超えた時点からCPE212の送信バッファ212aにデータパケットが溜まり始め、バッファ量505が増加する。   Next, when the TCP throughput 501 rises to the wireless zone bandwidth 503, the TCP bandwidth 503 thereafter becomes constant (capacity) in the wireless zone bandwidth 503, but the transmission window size 502 further increases. Along with this, the transmission rate 504 also increases. Then, as shown in step 512, data packets start to accumulate in the transmission buffer 212a of the CPE 212 from the time when the transmission rate 504 exceeds the wireless zone band 503, and the buffer amount 505 increases.

つぎに、送信ウィンドウサイズ502はさらに増加するが、CPE212の送信バッファ212aの容量は有限であるため、バッファ溢れが発生し、溢れたデータパケットがCPE212において破棄されるパケットロス521が発生する。   Next, although the transmission window size 502 further increases, since the capacity of the transmission buffer 212a of the CPE 212 is finite, a buffer overflow occurs, and a packet loss 521 in which the overflowing data packet is discarded in the CPE 212 occurs.

<輻輳回避フェーズ>
これに対して、段階513に示すように、送信端末211は、受信端末214からのACKに基づいてパケットロス521を検出すると、送信レート504を抑制するために、送信ウィンドウサイズ502を半減させ、輻輳回避フェーズに移行する。
<Congestion avoidance phase>
On the other hand, as shown in step 513, when the transmission terminal 211 detects the packet loss 521 based on the ACK from the reception terminal 214, the transmission window size 502 is halved in order to suppress the transmission rate 504, and Transition to the congestion avoidance phase.

これにより、送信ウィンドウサイズ502の上限まで送信していた状態から送信ウィンドウサイズ502を減少させたため送信ウィンドウ302に空きがない状態となる。このため、段階514に示すように、上述したウィンドウ制御によって送信端末211から新規にデータパケットが送信されなくなり、送信レート504がゼロになる。   As a result, the transmission window size 502 is reduced from the state in which transmission is performed up to the upper limit of the transmission window size 502, and therefore the transmission window 302 is not empty. For this reason, as shown in step 514, a new data packet is not transmitted from the transmission terminal 211 by the window control described above, and the transmission rate 504 becomes zero.

これに対して、段階515に示すように、CPE212の送信バッファ212aに溜まっていたデータパケットが無線区間帯域503の伝送速度で送出される。そして、段階516に示すように、CPE212の送信バッファ212aに溜まったデータパケットが枯渇するまでの間は、TCPスループット501はそれまでの速度に維持される。   On the other hand, as shown in step 515, the data packets accumulated in the transmission buffer 212 a of the CPE 212 are transmitted at the transmission rate of the wireless zone band 503. As shown in step 516, the TCP throughput 501 is maintained at the previous speed until the data packets accumulated in the transmission buffer 212a of the CPE 212 are exhausted.

送信端末211は、ACKを受信することにより送信ウィンドウ302に空きが発生すると、データパケットの送信を再開する。その後は、段階517に示すように、送信端末211は、パケットロスが発生しない上限を探りながら送信ウィンドウサイズ502をゆっくりと上昇させる。そして、再度、パケットロス522が発生すると、再度、段階513〜517と同様に動作する。なお、図5に示したグラフの一部分1600は、パケットロス522が発生した時間の前後の一部分である(図16参照)。   The transmission terminal 211 resumes the transmission of the data packet when the transmission window 302 becomes empty by receiving the ACK. Thereafter, as shown in step 517, the transmission terminal 211 slowly increases the transmission window size 502 while searching for an upper limit at which no packet loss occurs. When the packet loss 522 occurs again, the same operation as in steps 513 to 517 is performed again. A part 1600 of the graph shown in FIG. 5 is a part before and after the time when the packet loss 522 occurs (see FIG. 16).

(無線区間の伝送速度の変動による送信端末の送信レートの変化)
図6Aは、無線区間の伝送速度の変動による送信端末の送信レートの変化の一例を示す図である。図6Aにおいて、図2A,図2Bに示した部分と同様の部分については同一の符号を付して説明を省略する。
(Change in the transmission rate of the transmitting terminal due to fluctuations in the transmission speed of the wireless section)
FIG. 6A is a diagram illustrating an example of a change in transmission rate of a transmission terminal due to a change in transmission rate in a wireless section. In FIG. 6A, parts similar to those shown in FIGS. 2A and 2B are denoted by the same reference numerals, and description thereof is omitted.

データパケット602は、送信端末211から受信端末214へのデータパケットである。データパケット602の間隔が狭いほど、データパケットのレートが高いことを示す。ACK603は、受信端末214から送信端末211へのACKである。ACK603の間隔が狭いほど、ACKのレートが高いことを示す。図6Aに示す例では、送信端末211において、ACKを未受信の送信済みデータパケットのデータ量が送信ウィンドウ302の上限に達しているとする。   A data packet 602 is a data packet from the transmission terminal 211 to the reception terminal 214. A narrower interval between data packets 602 indicates a higher data packet rate. ACK 603 is an ACK from the receiving terminal 214 to the transmitting terminal 211. A narrower ACK 603 interval indicates a higher ACK rate. In the example illustrated in FIG. 6A, it is assumed that the data amount of a transmitted data packet that has not received an ACK has reached the upper limit of the transmission window 302 in the transmission terminal 211.

まず、状態611において、無線区間201の伝送速度が増加したとする。これにより、データパケット群621に示すように、CPE212の送信バッファ212aに溜まったデータパケットが、無線区間201の増加後の伝送速度で送信される。CPE212の送信バッファ212aに溜まったデータパケットが送信された後は、CPE212からの送信レートは、送信端末211からCPE212へ送信される送信レートに対応する。   First, in the state 611, it is assumed that the transmission rate of the wireless section 201 has increased. Thereby, as shown in the data packet group 621, the data packets accumulated in the transmission buffer 212 a of the CPE 212 are transmitted at the transmission rate after the increase in the wireless section 201. After the data packets accumulated in the transmission buffer 212a of the CPE 212 are transmitted, the transmission rate from the CPE 212 corresponds to the transmission rate transmitted from the transmission terminal 211 to the CPE 212.

これに対して、受信端末214は、送信端末211からのデータパケット602を受信するたびにACK603を返送するため、状態612のようになる。状態612におけるACK群622は、データパケット群621に対応するACK群である。ACK群622の送信レートは、データパケット群621の送信レートに対応する。   On the other hand, since the receiving terminal 214 returns the ACK 603 every time it receives the data packet 602 from the transmitting terminal 211, the state is as in state 612. The ACK group 622 in the state 612 is an ACK group corresponding to the data packet group 621. The transmission rate of the ACK group 622 corresponds to the transmission rate of the data packet group 621.

これに対して、受信端末214は、ACKを受信するたびに新規にデータパケットを送信するため、状態613のようになる。状態613におけるデータパケット群623は、送信端末211がACK群622の受信に応じて新規に送信するデータパケット群である。データパケット群623の送信レートは、ACK群622の送信レートに対応する。   On the other hand, since the receiving terminal 214 newly transmits a data packet every time it receives an ACK, the state becomes as in the state 613. The data packet group 623 in the state 613 is a data packet group that the transmission terminal 211 newly transmits in response to reception of the ACK group 622. The transmission rate of the data packet group 623 corresponds to the transmission rate of the ACK group 622.

これにより、状態611における無線区間201の伝送速度の増加が、送信端末211からの送信レート(CPE212の受信レート)に反映される。このように、無線区間201で伝送速度が増加した場合に、無線区間201の伝送速度の増加が、CPE212の受信レートに反映されるのは、約1RTT後となる。   Thereby, the increase in the transmission rate of the wireless section 201 in the state 611 is reflected in the transmission rate from the transmission terminal 211 (the reception rate of the CPE 212). Thus, when the transmission rate increases in the wireless section 201, the increase in the transmission speed of the wireless section 201 is reflected in the reception rate of the CPE 212 after about 1 RTT.

(増加した無線区間の伝送速度を使い切れる場合)
図6Bは、増加した無線区間の伝送速度を使い切れる場合の一例を示す図である。図6Bにおいて、図6Aに示した部分と同様の部分については同一の符号を付して説明を省略する。無線区間201の前段のCPE212の送信バッファ212aに溜まったデータパケットを吐き出して無線区間201へのデータパケットの送信量を増やすことで、増加した伝送速度の少なくとも一部を使用することができる。
(When the increased transmission speed of the wireless section can be used up)
FIG. 6B is a diagram illustrating an example in which the transmission rate of the increased wireless section can be used up. In FIG. 6B, the same parts as those shown in FIG. 6A are denoted by the same reference numerals and description thereof is omitted. By discharging the data packets accumulated in the transmission buffer 212a of the CPE 212 in the preceding stage of the wireless section 201 and increasing the transmission amount of the data packets to the wireless section 201, at least a part of the increased transmission rate can be used.

たとえば、図6Aに示したTCPのフロー制御の特性を利用すると、増加した無線区間201の伝送速度を1RTT期間継続して使い切ることができる量のデータパケットが送信バッファ212aに溜まっているように送信バッファ212aの容量を設定する。これにより、1RTT経過するまでの期間においても、増加した無線区間201の伝送速度を使い切ることができる。   For example, if the TCP flow control characteristics shown in FIG. 6A are used, the transmission buffer 212a transmits data packets in an amount that can continuously use the increased transmission rate of the wireless section 201 for one RTT period. The capacity of the buffer 212a is set. As a result, the increased transmission speed of the wireless section 201 can be used even during the period until 1 RTT elapses.

たとえば、図6Bに示す状態651に示すように、送信端末211は、送信ウィンドウ302の上限までデータパケットを送信している状態においては、ACKを受信するレートで新規にデータパケット群661を送信する。   For example, as shown in a state 651 shown in FIG. 6B, the transmission terminal 211 newly transmits a data packet group 661 at a rate at which an ACK is received in a state where data packets are transmitted up to the upper limit of the transmission window 302. .

そして、状態652に示すように、たとえば電波状況の良化に伴い無線区間201の伝送速度が増加すると、CPE212の送信バッファ212aに溜まっていたデータパケット群662が増加した伝送速度で吐き出され、一時的にTCPスループットが上昇する。   Then, as shown in the state 652, for example, when the transmission rate of the wireless section 201 increases with the improvement of the radio wave condition, the data packet group 662 accumulated in the transmission buffer 212a of the CPE 212 is discharged at the increased transmission rate, and temporarily In particular, TCP throughput increases.

状態651から1RTT経過すると、状態653に示すように、増加した無線区間201の伝送速度で送信端末211からデータパケット群663が送信される。すなわち、無線区間201の伝送速度が増加した場合に、増加した無線区間201の伝送速度を使い切るためには、1RTT期間継続して無線区間201の伝送速度を使い切れるように送信バッファ212aの容量を設定すればよい。   When 1 RTT elapses from the state 651, as shown in the state 653, the data packet group 663 is transmitted from the transmission terminal 211 at the increased transmission speed of the wireless section 201. That is, when the transmission rate of the wireless section 201 is increased, in order to use up the increased transmission speed of the wireless section 201, the capacity of the transmission buffer 212a is set so that the transmission speed of the wireless section 201 can be used continuously for one RTT period. You only have to set it.

そのためには、送信バッファ212aの容量を十分に大きく設定しておくことを要するが、送信バッファ212aの容量を大きく設定すると以下のような問題が発生する。すなわち、通信環境の変化がなく無線区間201の伝送速度が増減しない場合には、データパケットが送信バッファ212aの上限に達するまで送信バッファ212aに溜まる。このため、送信バッファ212aの容量が大きすぎると、多くのパケットデータが送信バッファ212aに格納されることによって送信バッファ212aにおけるデータパケットのキューイング遅延が大きくなる。   For this purpose, it is necessary to set the capacity of the transmission buffer 212a sufficiently large. However, if the capacity of the transmission buffer 212a is set large, the following problems occur. That is, when there is no change in the communication environment and the transmission rate of the wireless section 201 does not increase or decrease, the data packets are accumulated in the transmission buffer 212a until reaching the upper limit of the transmission buffer 212a. For this reason, if the capacity of the transmission buffer 212a is too large, a large amount of packet data is stored in the transmission buffer 212a, thereby increasing the data packet queuing delay in the transmission buffer 212a.

一方、送信バッファ212aの容量が小さすぎると、無線区間201の伝送速度が大きく増加した場合に、送信バッファ212aに溜まっているデータパケットが不足して無線区間201の伝送速度を使い切ることができない(たとえば図6A参照)。   On the other hand, if the capacity of the transmission buffer 212a is too small, when the transmission rate of the wireless section 201 is greatly increased, the data packets accumulated in the transmission buffer 212a are insufficient and the transmission speed of the wireless section 201 cannot be used up ( For example, see FIG. 6A).

したがって、無線区間201の伝送速度の変動に対して最適な送信バッファ212aの容量は、無線区間201の伝送速度を使い切るためのデータパケットを、無駄を抑えつつ蓄積できる容量である。これに対して、CPE212は、無線区間201の伝送速度の変動に対してTCPスループットおよびキューイング遅延を最適化するように送信バッファ212aの容量を調整する。送信バッファ212aの容量の調整については後述する。   Therefore, the capacity of the transmission buffer 212a that is optimal for fluctuations in the transmission speed of the wireless section 201 is a capacity that can accumulate data packets for using up the transmission speed of the wireless section 201 while reducing waste. On the other hand, the CPE 212 adjusts the capacity of the transmission buffer 212a so as to optimize the TCP throughput and the queuing delay with respect to the change in the transmission rate of the wireless section 201. Adjustment of the capacity of the transmission buffer 212a will be described later.

(送信バッファに蓄積可能なデータ量の調整)
図7Aおよび図7Bは、送信バッファに蓄積可能なデータ量の調整の一例を示す図である。図7A,図7Bに示すメモリ量701は、CPE212の送信バッファ212aに割り当てるメモリの量を示している。最大帯域703は、無線区間201における理論上の最大の伝送速度を示している。帯域704は、無線区間201における実際の伝送速度を示している。パケット量705は、無線区間201の帯域704を使い切るために要するパケット量を示している。
(Adjustment of the amount of data that can be stored in the transmission buffer)
7A and 7B are diagrams illustrating an example of adjusting the amount of data that can be stored in the transmission buffer. A memory amount 701 illustrated in FIGS. 7A and 7B indicates the amount of memory allocated to the transmission buffer 212a of the CPE 212. The maximum bandwidth 703 indicates the theoretical maximum transmission rate in the wireless section 201. A band 704 indicates an actual transmission rate in the wireless section 201. A packet amount 705 indicates a packet amount required to use up the bandwidth 704 of the wireless section 201.

CPE212は、図7Aに示すように、パケット量705が比較的少ない場合は、メモリ量701を比較的少なくする。また、CPE212は、図7Bに示すように、パケット量705が比較的多い場合は、メモリ量701を比較的多くする。このように、実施の形態2にかかるCPE212は、送信バッファ212aに割り当てるメモリ量を調整することで、送信バッファ212aの容量を調整する。   As illustrated in FIG. 7A, the CPE 212 reduces the memory amount 701 when the packet amount 705 is relatively small. In addition, as illustrated in FIG. 7B, the CPE 212 increases the memory amount 701 when the packet amount 705 is relatively large. As described above, the CPE 212 according to the second embodiment adjusts the capacity of the transmission buffer 212a by adjusting the amount of memory allocated to the transmission buffer 212a.

(実施の形態2にかかるCPE)
図8Aは、実施の形態2にかかるCPEの一例を示す図である。図8Bは、図8Aに示したCPEにおける信号の流れの一例を示す図である。CPE212は、たとえば、図8A,図8Bに示すように、フレーム送受信部801と、受信バッファ802と、パケット送受信部803と、上位層処理部804と、を備える。また、CPE212は、送信バッファ212aと、RTT測定部805と、RTT測定値格納部806と、伝送速度測定部807と、伝送速度測定値格納部808と、最大蓄積量調整部809と、を備える。
(CPE according to the second embodiment)
FIG. 8A is a diagram illustrating an example of the CPE according to the second embodiment. FIG. 8B is a diagram illustrating an example of a signal flow in the CPE illustrated in FIG. 8A. For example, as shown in FIGS. 8A and 8B, the CPE 212 includes a frame transmission / reception unit 801, a reception buffer 802, a packet transmission / reception unit 803, and an upper layer processing unit 804. The CPE 212 includes a transmission buffer 212a, an RTT measurement unit 805, an RTT measurement value storage unit 806, a transmission rate measurement unit 807, a transmission rate measurement value storage unit 808, and a maximum accumulation amount adjustment unit 809. .

フレーム送受信部801は、他の通信装置から受信したフレームのフレーム受信処理を行う。たとえば、フレーム送受信部801は、BS213から受信した電気信号をデジタルデータに変換することによりフレームを得る。そして、フレーム送受信部801は、フレーム受信処理により得られたフレームを受信バッファ802に格納する。   The frame transmission / reception unit 801 performs frame reception processing for frames received from other communication devices. For example, the frame transmission / reception unit 801 obtains a frame by converting an electrical signal received from the BS 213 into digital data. Then, the frame transmission / reception unit 801 stores the frame obtained by the frame reception process in the reception buffer 802.

また、フレーム送受信部801は、送信バッファ212aに格納されたパケットを他の通信装置へ送信するフレーム送信処理を行う。たとえば、フレーム送受信部801は、送信バッファ212aに格納されたパケットをフレーム化して電気信号に変換し、BS213へ無線送信する。   In addition, the frame transmission / reception unit 801 performs a frame transmission process for transmitting the packet stored in the transmission buffer 212a to another communication apparatus. For example, the frame transmission / reception unit 801 converts the packet stored in the transmission buffer 212a into a frame, converts it into an electrical signal, and wirelessly transmits it to the BS 213.

パケット送受信部803は、受信バッファ802に格納されたフレームをパケット化するパケット受信処理を行う。そして、パケット送受信部803は、パケット受信処理により得られたパケットを上位層処理部804へ出力する。また、パケット送受信部803は、上位層処理部804から出力されたパケットをフレーム化するパケット送信処理を行い、パケット送信処理により得られたフレームを送信バッファ212aへ出力する。   The packet transmission / reception unit 803 performs packet reception processing for packetizing the frame stored in the reception buffer 802. Then, the packet transmission / reception unit 803 outputs the packet obtained by the packet reception process to the upper layer processing unit 804. Further, the packet transmission / reception unit 803 performs packet transmission processing for framing the packet output from the upper layer processing unit 804, and outputs the frame obtained by the packet transmission processing to the transmission buffer 212a.

上位層処理部804は、パケット送受信部803から出力されたパケットに基づく、無線層より上位の層(たとえばトランスポート層やネットワーク層)のプロトコル処理を行う。また、上位層処理部804は、無線層より上位の層のプロトコル処理により得られたパケットをパケット送受信部803へ出力する。   The upper layer processing unit 804 performs protocol processing of a layer higher than the wireless layer (for example, a transport layer or a network layer) based on the packet output from the packet transmission / reception unit 803. Further, the upper layer processing unit 804 outputs a packet obtained by protocol processing of a layer higher than the wireless layer to the packet transmission / reception unit 803.

送信バッファ212aは、パケット送受信部803から出力される、CPE212が送信すべきパケットを一時的に格納する。なお、パケット送受信部803から出力される信号はフレーム化されているが、ここではパケット送受信部803から出力されて送信バッファ212aに格納される信号をパケットとも称する。送信バッファ212aの容量は、最大蓄積量調整部809によって調整される。また、実施の形態2にかかる送信バッファ212aは、パケット送受信部803から出力されるパケットのうちの、容量を超える分のパケットについては格納せずに破棄する。   The transmission buffer 212a temporarily stores a packet to be transmitted by the CPE 212, which is output from the packet transmission / reception unit 803. Note that the signal output from the packet transmitting / receiving unit 803 is framed, but here, the signal output from the packet transmitting / receiving unit 803 and stored in the transmission buffer 212a is also referred to as a packet. The capacity of the transmission buffer 212a is adjusted by the maximum accumulation amount adjustment unit 809. Also, the transmission buffer 212a according to the second embodiment discards, without storing, a packet exceeding the capacity among the packets output from the packet transmission / reception unit 803.

RTT測定部805は、CPE212が中継する送信端末211と受信端末214との間のTCP通信のRTTを測定する。たとえば、RTT測定部805は、フレーム送受信部801が送受信する信号(たとえばデータパケットおよびACK)を監視することによりRTTを測定することができる。そして、RTT測定部805は、RTTの測定値をRTT測定値格納部806へ出力する。RTT測定部805によるRTTの測定については後述する(たとえば図10参照)。   The RTT measurement unit 805 measures the RTT of TCP communication between the transmission terminal 211 and the reception terminal 214 relayed by the CPE 212. For example, the RTT measuring unit 805 can measure the RTT by monitoring signals (for example, data packets and ACKs) transmitted and received by the frame transmitting / receiving unit 801. Then, the RTT measurement unit 805 outputs the RTT measurement value to the RTT measurement value storage unit 806. The RTT measurement by the RTT measurement unit 805 will be described later (see, for example, FIG. 10).

RTT測定値格納部806は、RTT測定部805から出力されたRTTの測定値を、RTTの測定時刻と対応付けて格納する。また、RTT測定値格納部806は、RTTの測定値を時系列的に複数格納してもよい。この場合に、RTT測定値格納部806は、格納したデータの量が上限を超えると、測定時刻の古い順に測定値と測定時刻を削除して格納領域を空けるようにしてもよい。   The RTT measurement value storage unit 806 stores the RTT measurement value output from the RTT measurement unit 805 in association with the RTT measurement time. The RTT measurement value storage unit 806 may store a plurality of RTT measurement values in time series. In this case, when the amount of stored data exceeds the upper limit, the RTT measurement value storage unit 806 may delete the measurement value and the measurement time from the oldest measurement time to free up a storage area.

伝送速度測定部807は、無線区間201の伝送速度を測定し、伝送速度の測定値を伝送速度測定値格納部808へ出力する。たとえば、伝送速度測定部807は、フレーム送受信部801が送受信するデータパケットのサイズおよび送信間隔を監視することにより伝送速度を測定することができる。   The transmission rate measurement unit 807 measures the transmission rate of the wireless section 201 and outputs the transmission rate measurement value to the transmission rate measurement value storage unit 808. For example, the transmission rate measuring unit 807 can measure the transmission rate by monitoring the size and transmission interval of data packets transmitted and received by the frame transmitting / receiving unit 801.

また、伝送速度測定部807は、無線区間201に対する物理層制御に関する情報を取得し、取得した情報に基づいて伝送速度を測定してもよい。物理層制御に関する情報は、たとえば、CPE212からBS213への無線送信に用いる変調方式や符号化方式を示す情報であって、たとえばBS213からCPE212へ通知される情報である。たとえば、伝送速度測定部807は、物理層制御に関する情報と、無線区間201の伝送速度と、の対応情報を用いて、物理層制御に関する情報から無線区間201の伝送速度を導出することで無線区間201の伝送速度を測定することができる。   Further, the transmission rate measurement unit 807 may acquire information related to physical layer control for the wireless section 201 and measure the transmission rate based on the acquired information. The information regarding the physical layer control is, for example, information indicating a modulation scheme or a coding scheme used for radio transmission from the CPE 212 to the BS 213, and is information notified from the BS 213 to the CPE 212, for example. For example, the transmission rate measurement unit 807 uses the correspondence information between the information related to the physical layer control and the transmission rate of the wireless section 201 to derive the transmission rate of the wireless section 201 from the information related to the physical layer control. The transmission speed of 201 can be measured.

伝送速度測定値格納部808は、伝送速度測定部807から出力された伝送速度の測定値を、伝送速度の測定時刻と対応付けて格納する。また、伝送速度測定値格納部808は、伝送速度の測定値を時系列的に複数格納してもよい。この場合に、伝送速度測定値格納部808は、格納したデータの量が上限を超えると、測定時刻の古い順に測定値と測定時刻を削除して格納領域を空けるようにしてもよい。   The transmission rate measurement value storage unit 808 stores the transmission rate measurement value output from the transmission rate measurement unit 807 in association with the transmission rate measurement time. The transmission rate measurement value storage unit 808 may store a plurality of transmission rate measurement values in time series. In this case, when the amount of stored data exceeds the upper limit, the transmission rate measurement value storage unit 808 may delete the measurement value and the measurement time from the oldest measurement time to free up a storage area.

最大蓄積量調整部809は、RTT測定値格納部806に格納されたRTTの測定値と、伝送速度測定値格納部808に格納された伝送速度の測定値と、に基づいて、送信バッファ212aの容量(蓄積可能な最大データ量)を調整する。送信バッファ212aの容量は、たとえば図7Aに示したメモリ量701である。最大蓄積量調整部809による送信バッファ212aの容量の調整については後述する。   The maximum accumulation amount adjusting unit 809 is based on the RTT measurement value stored in the RTT measurement value storage unit 806 and the transmission rate measurement value stored in the transmission rate measurement value storage unit 808. Adjust the capacity (maximum amount of data that can be stored). The capacity of the transmission buffer 212a is, for example, the memory amount 701 shown in FIG. 7A. Adjustment of the capacity of the transmission buffer 212a by the maximum accumulation amount adjustment unit 809 will be described later.

図1A〜図1Dに示したバッファ111は、たとえば送信バッファ212aにより実現することができる。図1A〜図1Dに示した送信部112は、たとえばフレーム送受信部801により実現することができる。   The buffer 111 shown in FIGS. 1A to 1D can be realized by, for example, the transmission buffer 212a. The transmission unit 112 illustrated in FIGS. 1A to 1D can be realized by the frame transmission / reception unit 801, for example.

図1A〜図1Dに示した第1測定部113は、たとえばRTT測定部805により実現することができる。図1A〜図1Dに示した第2測定部114は、たとえば伝送速度測定部807により実現することができる。図1A〜図1Dに示した調整部115は、たとえば最大蓄積量調整部809により実現することができる。   The first measurement unit 113 illustrated in FIGS. 1A to 1D can be realized by the RTT measurement unit 805, for example. The second measurement unit 114 illustrated in FIGS. 1A to 1D can be realized by the transmission rate measurement unit 807, for example. The adjustment unit 115 illustrated in FIGS. 1A to 1D can be realized by the maximum accumulation amount adjustment unit 809, for example.

(CPEのハードウェア構成)
図9は、CPEのハードウェア構成の一例を示す図である。CPE212は、たとえば図9に示す通信装置900により実現することができる。通信装置900は、CPU901(Central Processing Unit)と、メモリコントローラ902と、メモリ903と、IOバスコントローラ904と、無線インターフェース905と、記憶装置906と、を備える。
(CPE hardware configuration)
FIG. 9 is a diagram illustrating an example of a hardware configuration of the CPE. The CPE 212 can be realized by, for example, the communication device 900 illustrated in FIG. The communication device 900 includes a CPU 901 (Central Processing Unit), a memory controller 902, a memory 903, an IO bus controller 904, a wireless interface 905, and a storage device 906.

CPU901は、通信装置900の全体の制御を司る。また、CPU901は、メモリコントローラ902を介してメモリ903へのアクセスを行う。また、CPU901は、IOバスコントローラ904を介して無線インターフェース905および記憶装置906へのアクセスを行う。   The CPU 901 governs overall control of the communication apparatus 900. Further, the CPU 901 accesses the memory 903 via the memory controller 902. Further, the CPU 901 accesses the wireless interface 905 and the storage device 906 via the IO bus controller 904.

メモリコントローラ902は、CPU901からの制御に応じてメモリ903からのデータの読み出しやメモリ903へのデータの書き出しなどを行う。メモリ903は、CPU901のワークエリアとして使用される。メモリ903は、たとえばRAM(Random Access Memory:ランダムアクセスメモリ)である。   The memory controller 902 performs reading of data from the memory 903 and writing of data to the memory 903 in accordance with control from the CPU 901. The memory 903 is used as a work area for the CPU 901. The memory 903 is, for example, a RAM (Random Access Memory).

IOバスコントローラ904は、CPU901からの制御に応じて無線インターフェース905および記憶装置906を動作させる。   The IO bus controller 904 operates the wireless interface 905 and the storage device 906 in accordance with control from the CPU 901.

無線インターフェース905は、たとえば、無線によって通信装置900の外部(たとえば送信端末211やBS213)との間で通信を行う通信インターフェースである。CPE212が送信端末211との間でUSBなどの有線通信を行う場合は、CPE212は、無線インターフェース905に加えて有線インターフェースを備えていてもよい。   The wireless interface 905 is a communication interface that performs communication with the outside of the communication apparatus 900 (for example, the transmission terminal 211 or the BS 213) by wireless, for example. When the CPE 212 performs wired communication such as USB with the transmission terminal 211, the CPE 212 may include a wired interface in addition to the wireless interface 905.

記憶装置906は、たとえば磁気ディスク、フラッシュメモリなどの不揮発メモリである。記憶装置906には、通信装置900を動作させる各種のプログラムが記憶されている。たとえば、記憶装置906に記憶されたプログラムは、メモリ903にロードされてCPU901によって実行される。   The storage device 906 is a nonvolatile memory such as a magnetic disk or a flash memory. The storage device 906 stores various programs for operating the communication device 900. For example, a program stored in the storage device 906 is loaded into the memory 903 and executed by the CPU 901.

図8A,図8Bに示したフレーム送受信部801は、たとえば無線インターフェース905によって実現することができる。図8A,図8Bに示した受信バッファ802、送信バッファ212a、RTT測定値格納部806および伝送速度測定値格納部808は、たとえばメモリ903によって実現することができる。   The frame transmission / reception unit 801 illustrated in FIGS. 8A and 8B can be realized by the wireless interface 905, for example. The reception buffer 802, the transmission buffer 212a, the RTT measurement value storage unit 806, and the transmission rate measurement value storage unit 808 shown in FIGS. 8A and 8B can be realized by the memory 903, for example.

図8A,図8Bに示したパケット送受信部803、上位層処理部804、RTT測定部805、伝送速度測定部807および最大蓄積量調整部809は、たとえばCPU901によって実現することができる。   The packet transmission / reception unit 803, the upper layer processing unit 804, the RTT measurement unit 805, the transmission rate measurement unit 807, and the maximum accumulation amount adjustment unit 809 illustrated in FIGS. 8A and 8B can be realized by the CPU 901, for example.

(RTTの測定)
図10は、RTTの測定の一例を示す図である。図10において、図2Aに示した部分と同様の部分については同一の符号を付して説明を省略する。送信端末211と受信端末214との間のRTTは、たとえば、図10に示す第1区間1001と第2区間1002との各所要時間(遅延時間)を合計することによって測定することができる。
(Measurement of RTT)
FIG. 10 is a diagram illustrating an example of RTT measurement. 10, the same parts as those shown in FIG. 2A are denoted by the same reference numerals, and the description thereof is omitted. The RTT between the transmission terminal 211 and the reception terminal 214 can be measured, for example, by summing the respective required times (delay times) in the first section 1001 and the second section 1002 shown in FIG.

第1区間1001は、CPE212と受信端末214との間の往復の区間である。第1区間1001における所要時間は、第1区間1001に含まれる無線区間201の伝送速度に応じて変動する。第2区間1002は、CPE212と送信端末211との間の往復の区間である。第2区間1002は、無線区間201を含まないため、第2区間1002における所要時間は無線区間201の伝送速度の変動の影響を受けない。   The first section 1001 is a round-trip section between the CPE 212 and the receiving terminal 214. The required time in the first section 1001 varies according to the transmission speed of the wireless section 201 included in the first section 1001. The second section 1002 is a round-trip section between the CPE 212 and the transmission terminal 211. Since the second section 1002 does not include the wireless section 201, the required time in the second section 1002 is not affected by the change in the transmission rate of the wireless section 201.

たとえば、CPE212(RTT測定部805)は、BS213へのデータパケットのシーケンス番号と送信時刻とを記憶しておく。そして、CPE212は、記憶しておいたシーケンス番号に対応するACKの受信時刻を取得し、データパケットの送信時刻からACKの受信時刻までの経過時間を算出することで第1区間1001の所要時間を測定することができる。   For example, the CPE 212 (RTT measurement unit 805) stores the sequence number and transmission time of the data packet to the BS 213. Then, the CPE 212 acquires the ACK reception time corresponding to the stored sequence number, and calculates the elapsed time from the data packet transmission time to the ACK reception time, thereby calculating the time required for the first section 1001. Can be measured.

また、CPE212は、第2区間1002における所要時間を、たとえば送信端末211と受信端末214との間のTCPのコネクション確立時において測定しておくことができる。すなわち、CPE212は、コネクション確立時に受信端末214から送信端末211へ送信されるSYNパケットのCPE212における通過時刻から、該SYNパケットに対する応答信号を含む信号のCPE212における通過時刻までの経過時間を算出する。これにより、第2区間1002の所要時間を測定することができる。   Further, the CPE 212 can measure the required time in the second section 1002 at the time of establishing a TCP connection between the transmission terminal 211 and the reception terminal 214, for example. That is, the CPE 212 calculates the elapsed time from the passage time of the SYN packet transmitted from the reception terminal 214 to the transmission terminal 211 when the connection is established, to the passage time of the signal including the response signal to the CPE 212. Thereby, the time required for the second section 1002 can be measured.

なお、SYNパケットには、ACKが含まれていてもよい。また、SYNパケットに対する応答信号は、たとえばACKである。また、SYNパケットに対する応答信号にはSYNが含まれていてもよい。   Note that the SYN packet may include ACK. Moreover, the response signal with respect to a SYN packet is ACK, for example. The response signal for the SYN packet may include SYN.

ここではCPE212が送信端末211と受信端末214との間のRTTを自装置で測定する場合について説明したが、送信端末211においてはRTTを容易に測定することができる(たとえば図4のステップS416)。このため、CPE212は、送信端末211と受信端末214との間のRTTを示す情報を送信端末211から取得してもよい。RTTを示す情報の取得は、たとえば周期的に行うようにすることができる。   Here, the case where the CPE 212 measures the RTT between the transmission terminal 211 and the reception terminal 214 by itself is described, but the transmission terminal 211 can easily measure the RTT (for example, step S416 in FIG. 4). . For this reason, the CPE 212 may acquire information indicating the RTT between the transmission terminal 211 and the reception terminal 214 from the transmission terminal 211. Acquisition of information indicating the RTT can be performed periodically, for example.

(RTT測定値格納部に格納される情報)
図11は、RTT測定値格納部に格納される情報の一例を示す図である。RTT測定値格納部806には、たとえば図11に示すテーブル1100が格納される。テーブル1100のように、RTT測定値格納部806は、RTTの測定値を測定時刻と対応付けて格納する。図11に示す例では、RTT測定値格納部806は、時系列的な複数の測定結果(測定値および測定時刻)を格納する。
(Information stored in the RTT measurement value storage)
FIG. 11 is a diagram illustrating an example of information stored in the RTT measurement value storage unit. The RTT measurement value storage unit 806 stores, for example, a table 1100 shown in FIG. As in the table 1100, the RTT measurement value storage unit 806 stores the RTT measurement value in association with the measurement time. In the example shown in FIG. 11, the RTT measurement value storage unit 806 stores a plurality of time-series measurement results (measurement values and measurement times).

(伝送速度測定値格納部に格納される情報)
図12は、伝送速度測定値格納部に格納される情報の一例を示す図である。伝送速度測定値格納部808には、たとえば図12に示すテーブル1200が格納される。テーブル1200のように、伝送速度測定値格納部808は、無線区間201の伝送速度の測定値を測定時刻と対応付けて格納する。図12に示す例では、伝送速度測定値格納部808は、時系列的な複数の測定結果(測定値および測定時刻)を格納する。
(Information stored in the transmission rate measured value storage)
FIG. 12 is a diagram illustrating an example of information stored in the transmission rate measurement value storage unit. In the transmission rate measured value storage unit 808, for example, a table 1200 shown in FIG. 12 is stored. Like the table 1200, the transmission rate measurement value storage unit 808 stores the transmission rate measurement value of the wireless section 201 in association with the measurement time. In the example illustrated in FIG. 12, the transmission rate measurement value storage unit 808 stores a plurality of time-series measurement results (measurement values and measurement times).

図13A〜図13Cは、無線区間の伝送速度の増加に対する所要のバッファ容量の一例を示す図である。図13A〜図13Cにおいて、図5に示した部分と同様の部分につては説明を省略する。   13A to 13C are diagrams illustrating an example of a required buffer capacity with respect to an increase in the transmission rate in the wireless section. In FIGS. 13A to 13C, the description of the same parts as those shown in FIG. 5 is omitted.

図13A〜図13Cに示すグラフ1311〜1313は、それぞれ図6Bに示した状態611〜613におけるTCPスループット501、無線区間帯域503、送信端末211の送信レート504およびCPE212のバッファ量505を示している。   Graphs 1311 to 1313 shown in FIGS. 13A to 13C show the TCP throughput 501, the wireless zone band 503, the transmission rate 504 of the transmission terminal 211, and the buffer amount 505 of the CPE 212 in the states 611 to 613 shown in FIG. 6B, respectively. .

無線区間201の伝送速度の増加量を予測することは困難である。これに対して、一例として、無線区間201の伝送速度がどのように増加しても対応するために、無線区間201の理論上最大の伝送速度までの増加を想定する場合について説明する。   It is difficult to predict the increase in the transmission rate of the wireless section 201. On the other hand, as an example, in order to cope with any increase in the transmission rate of the wireless section 201, a case where an increase to the theoretical maximum transmission rate of the wireless section 201 is assumed will be described.

図6A,図6Bにおいて説明したように、無線区間201の伝送速度が増加した時点から1RTT期間、送信バッファ212aに溜まったデータパケットを増加後の伝送速度で吐き出すことができれば、無線区間201の伝送速度を使い切ることができる。   As described with reference to FIGS. 6A and 6B, if data packets accumulated in the transmission buffer 212a can be discharged at the increased transmission rate for one RTT period from the time when the transmission rate of the wireless segment 201 increases, the transmission of the wireless segment 201 is performed. You can use up your speed.

このために要する送信バッファ212aの容量は、図13Cに示すグラフにおけるTCPスループット501と送信レート504で囲まれた領域1301(斜線部)の面積に相当する。したがって、送信バッファ212aの容量を領域1301に相当する量に調整することで、増加した無線区間201の伝送速度を使い切ることができる。たとえば、最大蓄積量調整部809は、送信バッファ212aに蓄積可能な最大データ量(容量)を下記(1)式により算出する。   The capacity of the transmission buffer 212a required for this corresponds to the area of a region 1301 (shaded area) surrounded by the TCP throughput 501 and the transmission rate 504 in the graph shown in FIG. 13C. Therefore, the transmission rate of the increased wireless section 201 can be used up by adjusting the capacity of the transmission buffer 212a to an amount corresponding to the area 1301. For example, the maximum accumulation amount adjustment unit 809 calculates the maximum data amount (capacity) that can be accumulated in the transmission buffer 212a by the following equation (1).

蓄積可能な最大データ量=BWmax×RTT−BWnow×RTT
=(BWmax−BWnow)×RTT…(1)
Maximum amount of data that can be stored = BW max × RTT-BW now × RTT
= (BW max −BW now ) × RTT (1)

BWmaxは、無線区間201の最大の伝送速度である。RTTは、RTT測定部805によって測定されたRTTである。BWnowは、伝送速度測定部807によって測定された無線区間201の伝送速度である。このように、最大蓄積量調整部809は、無線区間201における最大の伝送速度と現在の伝送速度との差分(BWmax−BWnow)と、RTTと、の積に基づいて送信バッファ212aの最大データ量を調整することができる。 BW max is the maximum transmission rate of the wireless section 201. RTT is RTT measured by the RTT measurement unit 805. BW now is the transmission rate of the wireless section 201 measured by the transmission rate measurement unit 807. As described above, the maximum accumulation amount adjusting unit 809 determines the maximum of the transmission buffer 212a based on the product of the difference between the maximum transmission rate in the wireless section 201 and the current transmission rate (BW max −BW now ) and RTT. The amount of data can be adjusted.

最大蓄積量調整部809は、上記(1)式によって算出した送信バッファ212aの容量を送信バッファ212aに設定することで、無線区間201の伝送速度が増加しても、無線区間201の伝送速度を使い切ることができる。   The maximum accumulation amount adjustment unit 809 sets the capacity of the transmission buffer 212a calculated by the above equation (1) in the transmission buffer 212a, so that the transmission speed of the wireless section 201 is increased even if the transmission speed of the wireless section 201 increases. Can be used up.

(CPEによる処理)
図14は、CPEによる処理の一例を示すフローチャートである。実施の形態2にかかるCPE212は、たとえば図14に示す各ステップを繰り返し実行する。まず、CPE212は、送信対象のデータパケットがあるか否かを判断する(ステップS1401)。ステップS1401の判断は、たとえば送信端末211からデータパケットを受信したか否かを判断することによって行うことができる。
(Processing by CPE)
FIG. 14 is a flowchart illustrating an example of processing by the CPE. The CPE 212 according to the second embodiment repeatedly executes, for example, each step shown in FIG. First, the CPE 212 determines whether there is a data packet to be transmitted (step S1401). The determination in step S1401 can be made, for example, by determining whether a data packet has been received from the transmission terminal 211.

ステップS1401において、送信対象のデータパケットがある場合(ステップS1401:Yes)は、CPE212は、送信対象のデータパケットを送信バッファ212aに格納し(ステップS1402)、一連の処理を終了してステップS1401へ戻る。なお、ステップS1402において、送信対象のデータパケットを送信バッファ212aに格納すると送信バッファ212aの容量オーバとなる場合は、送信バッファ212aによって送信対象のデータパケットが破棄される。   If there is a data packet to be transmitted in step S1401 (step S1401: Yes), the CPE 212 stores the data packet to be transmitted in the transmission buffer 212a (step S1402), ends the series of processing, and proceeds to step S1401. Return. In step S1402, when the transmission target data packet is stored in the transmission buffer 212a and the capacity of the transmission buffer 212a is exceeded, the transmission buffer 212a discards the transmission target data packet.

ステップS1401において、送信対象のデータパケットがない場合(ステップS1401:No)は、CPE212は、受信端末214からのACKを受信したか否かを判断する(ステップS1403)。ACKを受信していない場合(ステップS1403:No)は、CPE212は、送信用の帯域が確保できたか否かを判断する(ステップS1404)。ステップS1404の判断は、たとえばBS213からCPE212に上りリンクの無線リソースが割り当てられたか否かを判断することによって行うことができる。   In step S1401, when there is no data packet to be transmitted (step S1401: No), the CPE 212 determines whether or not an ACK from the receiving terminal 214 has been received (step S1403). If ACK has not been received (step S1403: No), the CPE 212 determines whether or not a transmission band has been secured (step S1404). The determination in step S1404 can be made, for example, by determining whether or not uplink radio resources are allocated from the BS 213 to the CPE 212.

ステップS1404において、帯域が確保できていない場合(ステップS1404:No)は、CPE212は、一連の処理を終了してステップS1401へ戻る。帯域が確保できた場合(ステップS1404:Yes)は、CPE212は、確保できた帯域分だけ送信バッファ212aからデータパケットを取り出す(ステップS1405)。   In step S1404, if the bandwidth cannot be secured (step S1404: No), the CPE 212 ends the series of processing and returns to step S1401. When the bandwidth can be secured (step S1404: Yes), the CPE 212 extracts data packets from the transmission buffer 212a by the secured bandwidth (step S1405).

つぎに、CPE212は、ステップS1405によって取り出したデータパケットのシーケンス番号と送信時刻(たとえば現在時刻)とを対応付けて記憶する(ステップS1406)。また、CPE212は、ステップS1405によって取り出したデータパケットを無線区間201に向けて送信する(ステップS1407)。   Next, the CPE 212 associates and stores the sequence number of the data packet extracted in step S1405 and the transmission time (for example, the current time) (step S1406). Further, the CPE 212 transmits the data packet extracted in step S1405 toward the wireless section 201 (step S1407).

また、CPE212は、無線区間201の伝送速度を測定する(ステップS1408)。たとえば、CPE212は、上述したように、データパケットのサイズおよび送信間隔や、物理層制御に関する情報を用いて伝送速度を測定することができる。なお、無線区間201の伝送速度の測定は、ステップS1408に限らず、図14に示した各ステップとは別に周期的に行うようにしてもよい。   Further, the CPE 212 measures the transmission rate of the wireless section 201 (step S1408). For example, as described above, the CPE 212 can measure the transmission rate using information on the size and transmission interval of the data packet and physical layer control. Note that the measurement of the transmission rate of the wireless section 201 is not limited to step S1408, and may be performed periodically separately from each step shown in FIG.

また、伝送速度測定部807は、無線区間201に対する物理層制御に関する情報を取得し、取得した情報に基づいて伝送速度を測定してもよい。物理層制御に関する情報は、たとえば、CPE212からBS213への無線送信に用いる変調方式や符号化方式を示す情報であって、たとえばBS213からCPE212へ通知される情報である。たとえば、伝送速度測定部807は、物理層制御に関する情報と、無線区間201の伝送速度と、の対応情報を用いて、物理層制御に関する情報から無線区間201の伝送速度を導出することで無線区間201の伝送速度を測定することができる。   Further, the transmission rate measurement unit 807 may acquire information related to physical layer control for the wireless section 201 and measure the transmission rate based on the acquired information. The information regarding the physical layer control is, for example, information indicating a modulation scheme or a coding scheme used for radio transmission from the CPE 212 to the BS 213, and is information notified from the BS 213 to the CPE 212, for example. For example, the transmission rate measurement unit 807 uses the correspondence information between the information related to the physical layer control and the transmission rate of the wireless section 201 to derive the transmission rate of the wireless section 201 from the information related to the physical layer control. The transmission speed of 201 can be measured.

つぎに、CPE212は、送信バッファ212aに蓄積可能な最大データ量αを設定し(ステップS1409)、一連の処理を終了してステップS1401へ戻る。ステップS1409による設定は、たとえば、ステップS1408によって測定された最新の伝送速度と、後述のステップS1413によって測定された最新のRTTと、に基づいて行うことができる。ステップS1413がまだ実行されていない場合は、CPE212は、たとえば、予め設定されたRTTに基づいてステップS1409の設定を行ってもよいし、ステップS1409の設定を行わなくてもよい。   Next, the CPE 212 sets the maximum data amount α that can be stored in the transmission buffer 212a (step S1409), ends a series of processing, and returns to step S1401. The setting in step S1409 can be performed based on, for example, the latest transmission rate measured in step S1408 and the latest RTT measured in step S1413 described later. If step S1413 has not been executed yet, the CPE 212 may perform the setting in step S1409 based on, for example, a preset RTT, or may not perform the setting in step S1409.

ステップS1403において、ACKを受信した場合(ステップS1403:Yes)は、CPE212は、ACKの受信時刻を記憶する(ステップS1410)。また、CPE212は、受信したACKのACK番号を取得する(ステップS1411)。   In step S1403, when ACK is received (step S1403: Yes), the CPE 212 stores the reception time of ACK (step S1410). In addition, the CPE 212 acquires the ACK number of the received ACK (step S1411).

つぎに、CPE212は、ステップS1411により取得したACK番号と、ステップS1406により記憶したシーケンス番号と、から受信したACKに対応するデータパケットの送信時刻を取得する(ステップS1412)。たとえば、CPE212は、ステップS1406により記憶したシーケンス番号と送信時刻との組の中から、取得したACK番号に対応するシーケンス番号を含む組を特定し、特定した組の送信時刻を取得する。   Next, the CPE 212 acquires the transmission time of the data packet corresponding to the received ACK from the ACK number acquired in step S1411 and the sequence number stored in step S1406 (step S1412). For example, the CPE 212 specifies a set including the sequence number corresponding to the acquired ACK number from the set of the sequence number and the transmission time stored in step S1406, and acquires the transmission time of the specified set.

つぎに、CPE212は、ステップS1412によって取得したデータパケットの送信時刻と、ステップS1410によって記憶したACKの受信時刻と、を用いて送信端末211と受信端末214との間のRTTを測定する(ステップS1413)。たとえば、CPE212は、データパケットの送信時刻とACKの受信時刻から、図10に示した第1区間1001の所要時間を測定する。そして、CPE212は、測定した第1区間1001の所要時間と、受信端末214とのコネクション確立時に測定した第2区間1002の所要時間と、を合計することでRTTを測定する。   Next, the CPE 212 measures the RTT between the transmission terminal 211 and the reception terminal 214 using the transmission time of the data packet acquired in step S1412 and the reception time of the ACK stored in step S1410 (step S1413). ). For example, the CPE 212 measures the time required for the first section 1001 shown in FIG. 10 from the transmission time of the data packet and the reception time of the ACK. Then, the CPE 212 measures the RTT by summing the measured time required for the first interval 1001 and the required time for the second interval 1002 measured when the connection with the receiving terminal 214 is established.

つぎに、CPE212は、送信バッファ212aに蓄積可能な最大データ量αを設定し(ステップS1414)、一連の処理を終了してステップS1401へ戻る。ステップS1414による設定は、たとえば、ステップS1408によって測定された最新の伝送速度と、ステップS1413によって測定された最新のRTTと、に基づいて行うことができる。   Next, the CPE 212 sets the maximum data amount α that can be stored in the transmission buffer 212a (step S1414), ends the series of processing, and returns to step S1401. The setting in step S1414 can be performed based on the latest transmission rate measured in step S1408 and the latest RTT measured in step S1413, for example.

このように、実施の形態2によれば、データパケットのRTTと無線区間201の伝送速度を用いて送信バッファ212aの最大データ量を調整することで、送信バッファ212aによる遅延を抑えつつ、無線区間201の伝送速度の利用率を高めることができる。   As described above, according to the second embodiment, by adjusting the maximum data amount of the transmission buffer 212a using the RTT of the data packet and the transmission rate of the wireless section 201, the wireless section can be suppressed while suppressing the delay caused by the transmission buffer 212a. The utilization rate of the transmission rate 201 can be increased.

たとえば、無線区間201における最大の伝送速度と現在の伝送速度との差分と、RTTと、の積に基づいて送信バッファ212aの最大データ量を調整することができる。これにより、無線区間201の伝送速度が増加した場合における無線区間201の伝送速度の利用率を向上させることができる。これにより、送信端末211と受信端末214との間の伝送効率を向上させることができる。   For example, the maximum data amount of the transmission buffer 212a can be adjusted based on the product of the difference between the maximum transmission rate in the wireless section 201 and the current transmission rate and RTT. Thereby, when the transmission rate of the wireless section 201 increases, the utilization rate of the transmission speed of the wireless section 201 can be improved. Thereby, the transmission efficiency between the transmission terminal 211 and the reception terminal 214 can be improved.

(実施の形態3)
実施の形態3について、実施の形態2と異なる部分について説明する。実施の形態2においては、無線区間201の伝送速度を使い切れないケースとして、無線区間201の伝送速度が増加した場合について説明した。無線区間201の伝送速度を使い切れない他のケースとしては、送信端末211がパケットロスを検出した場合にデータパケットの送信レートを抑制するケースがある。
(Embodiment 3)
The third embodiment will be described with respect to differences from the second embodiment. In the second embodiment, the case where the transmission rate of the wireless section 201 is increased has been described as a case where the transmission rate of the wireless section 201 cannot be used up. As another case where the transmission speed of the wireless section 201 cannot be used up, there is a case where the transmission rate of the data packet is suppressed when the transmission terminal 211 detects a packet loss.

上述したように、送信端末211は、パケットロスを検出すると送信量を抑制する。このため、無線区間201の伝送速度に対して送信量が減少し、たとえ無線区間201の伝送速度が増加しなくても伝送速度を使い切れなくなる場合がある。   As described above, when the transmission terminal 211 detects a packet loss, the transmission terminal 211 suppresses the transmission amount. For this reason, the transmission amount decreases with respect to the transmission speed of the wireless section 201, and even if the transmission speed of the wireless section 201 does not increase, the transmission speed may not be used up.

これに対して、実施の形態3にかかるCPE212は、送信端末211がパケットロスを検出して送信レートを抑制した場合に無線区間201の伝送速度を効率的に使えるように、送信バッファ212aの容量を調整する。   In contrast, the CPE 212 according to the third embodiment has a capacity of the transmission buffer 212a so that the transmission rate of the wireless section 201 can be used efficiently when the transmission terminal 211 detects a packet loss and suppresses the transmission rate. Adjust.

(送信端末におけるパケットロス検出時の送信ウィンドウの制御)
図15Aおよび図15Bは、送信端末におけるパケットロス検出時の送信ウィンドウの制御の一例を示す図である。図15A,図15Bにおいて、図3A,図3Bに示した部分と同様の部分については同一の符号を付して説明を省略する。たとえば図15Aに示した状態において、送信端末211が、SACK(Selective ACK)を受信することによりセグメント「11」のパケットデータのロスを検出したとする。
(Control of transmission window when packet loss is detected at the transmitting terminal)
15A and 15B are diagrams illustrating an example of transmission window control when packet loss is detected in the transmission terminal. 15A and 15B, the same parts as those shown in FIGS. 3A and 3B are denoted by the same reference numerals, and description thereof is omitted. For example, in the state shown in FIG. 15A, it is assumed that the transmitting terminal 211 detects a loss of packet data of the segment “11” by receiving SACK (Selective ACK).

この場合は、送信端末211は、図15Bに示すように、セグメント「11」のパケットデータを再送するとともに、送信ウィンドウ302のサイズを減らす。図15Bに示す例では、送信端末211は、セグメント「61」のデータパケットに対するACKを受信するまで新規のデータパケットを送信しない。   In this case, as illustrated in FIG. 15B, the transmission terminal 211 retransmits the packet data of the segment “11” and reduces the size of the transmission window 302. In the example illustrated in FIG. 15B, the transmission terminal 211 does not transmit a new data packet until receiving an ACK for the data packet of the segment “61”.

このように、TCPの輻輳制御アルゴリズムとしてReno/New Renoなどを用いる場合に、送信端末211は、パケットロスを検出すると送信ウィンドウ302のサイズを半減させて送信レートを抑制する。そして、送信端末211が送信ウィンドウ302の上限までデータパケットを送信している場合は、送信済みのデータパケットの半分についてACKを受信するまでは送信端末211は新規にデータパケットを送信しない。   As described above, when Reno / New Reno or the like is used as the TCP congestion control algorithm, the transmission terminal 211 reduces the transmission rate by reducing the size of the transmission window 302 by half when detecting a packet loss. When the transmission terminal 211 transmits data packets up to the upper limit of the transmission window 302, the transmission terminal 211 does not newly transmit data packets until ACK is received for half of the transmitted data packets.

(パケットロスの検出に対する所要のバッファ容量)
図16は、パケットロスの検出に対する所要のバッファ容量の一例を示す図である。図16においては、図5に示したグラフの一部分1600を拡大して示している。一部分1600は、図5に示したグラフのうちの、パケットロス522が発生した時間の前後の一部分である。
(Required buffer capacity for packet loss detection)
FIG. 16 is a diagram illustrating an example of a required buffer capacity for packet loss detection. In FIG. 16, a portion 1600 of the graph shown in FIG. 5 is enlarged. A portion 1600 is a portion before and after the time when the packet loss 522 occurs in the graph shown in FIG.

送信端末211が送信済みのデータパケットの半分についてACKを受信するまでには、最大で1/2RTTに相当する時間がかかる。すなわち、送信端末211は、パケットロスを検出すると、その後の1/2RTT期間は新規にデータパケットを送信できない状態となる。この期間においてCPE212からデータパケットを吐き出し続けることができれば、その後は送信端末211からデータパケットの送信が再開されるため、パケットロス検出前の送信速度を維持し、無線区間201の伝送速度を使い切ることができる。   It takes a time corresponding to 1/2 RTT at the maximum until the transmission terminal 211 receives ACK for half of the transmitted data packets. In other words, when the transmission terminal 211 detects a packet loss, the data terminal cannot be newly transmitted during the subsequent 1/2 RTT period. If the data packet can continue to be discharged from the CPE 212 during this period, the transmission of the data packet is resumed from the transmission terminal 211 thereafter, so that the transmission rate before detecting the packet loss is maintained and the transmission rate of the wireless section 201 is used up. Can do.

このために要する送信バッファ212aの容量は、図16に示すグラフにおけるTCPスループット501と送信レート504で囲まれた領域1601(斜線部)の面積に相当する。したがって、送信バッファ212aの容量を領域1601に相当する量に調整することで、パケットロスの検出によって送信端末211の送信レートが低下しても、無線区間201の伝送速度を使い切ることができる。たとえば、最大蓄積量調整部809は、送信バッファ212aに蓄積可能な最大データ量を下記(2)式により算出する。   The capacity of the transmission buffer 212a required for this corresponds to the area of a region 1601 (shaded area) surrounded by the TCP throughput 501 and the transmission rate 504 in the graph shown in FIG. Therefore, by adjusting the capacity of the transmission buffer 212a to an amount corresponding to the area 1601, the transmission rate of the wireless section 201 can be used up even if the transmission rate of the transmission terminal 211 decreases due to the detection of packet loss. For example, the maximum accumulation amount adjustment unit 809 calculates the maximum data amount that can be accumulated in the transmission buffer 212a by the following equation (2).

蓄積可能な最大データ量=1/2×BWnow×RTT …(2) Maximum amount of data that can be stored = 1/2 × BW now × RTT (2)

このように、最大蓄積量調整部809は、送信端末211がパケットロスを検出した際の送信量の減少比率(1/2)に基づく値と、無線区間201における現在の伝送速度とRTTとの積に基づいて送信バッファ212aの最大データ量を調整することができる。最大蓄積量調整部809は、上記(2)式によって算出した送信バッファ212aの容量を送信バッファ212aに設定することで、パケットロスの検出によって送信端末211の送信レートが低下しても、無線区間201の伝送速度を使い切ることができる。   As described above, the maximum accumulation amount adjustment unit 809 calculates the value based on the transmission rate reduction ratio (1/2) when the transmission terminal 211 detects a packet loss, the current transmission rate in the wireless section 201, and the RTT. Based on the product, the maximum amount of data in the transmission buffer 212a can be adjusted. The maximum accumulation amount adjustment unit 809 sets the capacity of the transmission buffer 212a calculated by the above equation (2) in the transmission buffer 212a, so that even if the transmission rate of the transmission terminal 211 decreases due to packet loss detection, the wireless interval The transmission speed of 201 can be used up.

また、領域1601の伝送速度の増加とパケットロスの検出とが同時に発生することを想定し、最大蓄積量調整部809は、送信バッファ212aに蓄積可能な最大データ量を下記(3)式により算出してもよい。   Further, assuming that an increase in the transmission rate of the area 1601 and detection of packet loss occur at the same time, the maximum accumulation amount adjustment unit 809 calculates the maximum data amount that can be accumulated in the transmission buffer 212a by the following equation (3). May be.

蓄積可能な最大データ量=BWmax×RTT−BWnow×RTT
+1/2×BWnow×RTT
=(BWmax−BWnow)×RTT
+1/2×BWnow×RTT …(3)
Maximum amount of data that can be stored = BW max × RTT-BW now × RTT
+ 1/2 × BW now × RTT
= (BW max −BW now ) × RTT
+ 1/2 × BW now × RTT (3)

上記(3)式の右辺の第1項および第2項は、上記(1)式に対応し、無線区間201の伝送速度の増加に備えるためのデータ量である。上記(3)式の右辺の第3項は、上記(2)式に対応し、パケットロスの検出による送信端末211からの送信レートの低下に備えるためのデータ量である。このように、最大蓄積量調整部809は、上記(1)式に示す第1積と、上記(2)式に示す第2積と、の和に基づいて送信バッファ212aの最大データ量を調整することができる。   The first term and the second term on the right side of the equation (3) correspond to the equation (1), and are data amounts for preparing for an increase in the transmission rate of the wireless section 201. The third term on the right side of the equation (3) corresponds to the equation (2), and is a data amount for preparing for a decrease in the transmission rate from the transmission terminal 211 due to the detection of packet loss. As described above, the maximum accumulation amount adjustment unit 809 adjusts the maximum data amount of the transmission buffer 212a based on the sum of the first product shown in the above equation (1) and the second product shown in the above equation (2). can do.

最大蓄積量調整部809は、上記(3)式によって算出した送信バッファ212aの容量を設定することで、無線区間201の伝送速度が増加し、同時に送信端末211の送信レートが低下しても、無線区間201の伝送速度を使い切ることができる。   The maximum accumulation amount adjustment unit 809 sets the capacity of the transmission buffer 212a calculated by the above equation (3), so that the transmission rate of the wireless section 201 increases and at the same time the transmission rate of the transmission terminal 211 decreases, The transmission speed of the wireless section 201 can be used up.

なお、上記(2)式および上記(3)式における「1/2」は、送信端末211がパケットロスを検出すると送信ウィンドウ302のサイズを半分にすることに基づく値である。たとえば、送信端末211がパケットロスを検出すると送信ウィンドウ302のサイズを1/3にする場合は、上記(2)式および上記(3)式における「1/2」の部分を「2/3」とすればよい。   Note that “½” in the above equations (2) and (3) is a value based on halving the size of the transmission window 302 when the transmission terminal 211 detects a packet loss. For example, when the size of the transmission window 302 is reduced to 1/3 when the transmission terminal 211 detects a packet loss, the part of “1/2” in the expression (2) and the expression (3) is “2/3”. And it is sufficient.

このように、実施の形態3によれば、データパケットのRTTと無線区間201の伝送速度を用いて送信バッファ212aの最大データ量を調整することで、送信バッファ212aによる遅延を抑えつつ、無線区間201の伝送速度の利用率を高めることができる。   As described above, according to the third embodiment, by adjusting the maximum data amount of the transmission buffer 212a using the RTT of the data packet and the transmission rate of the wireless section 201, the wireless section can be suppressed while suppressing the delay caused by the transmission buffer 212a. The utilization rate of the transmission rate 201 can be increased.

たとえば、無線区間201における現在の伝送速度と、RTTと、の積に基づいて送信バッファ212aの最大データ量を調整することができる。これにより、送信端末211がパケットロスを検出して送信レートを低下させた場合における無線区間201の伝送速度の利用率を向上させることができる。これにより、送信端末211と受信端末214との間の伝送効率を向上させることができる。   For example, the maximum data amount of the transmission buffer 212a can be adjusted based on the product of the current transmission rate in the wireless section 201 and RTT. Thereby, the utilization factor of the transmission rate of the radio | wireless area 201 when the transmission terminal 211 detects a packet loss and reduces a transmission rate can be improved. Thereby, the transmission efficiency between the transmission terminal 211 and the reception terminal 214 can be improved.

(実施の形態4)
実施の形態4について、実施の形態2,3と異なる部分について説明する。実施の形態2,3においては、送信バッファ212aに割り当てるメモリ量を調整することで、送信バッファ212aの容量を調整する場合について説明した。これに対して、実施の形態4においては、送信バッファ212aに割り当てるメモリ量には十分に大きな量を設定しておき、送信バッファ212aに蓄積可能なデータ量の論理的な上限を設定する。
(Embodiment 4)
The fourth embodiment will be described with respect to differences from the second and third embodiments. In the second and third embodiments, the case where the capacity of the transmission buffer 212a is adjusted by adjusting the memory amount allocated to the transmission buffer 212a has been described. On the other hand, in the fourth embodiment, a sufficiently large amount of memory is allocated to the transmission buffer 212a, and a logical upper limit of the amount of data that can be stored in the transmission buffer 212a is set.

(実施の形態4にかかる送信バッファに蓄積可能なデータ量の調整)
図17Aおよび図17Bは、実施の形態4にかかる送信バッファに蓄積可能なデータ量の調整の一例を示す図である。図17A,図17Bにおいて、図7A,図7Bに示した部分と同様の部分については同一の符号を付して説明を省略する。
(Adjustment of the amount of data that can be stored in the transmission buffer according to the fourth embodiment)
FIG. 17A and FIG. 17B are diagrams illustrating an example of adjusting the amount of data that can be stored in the transmission buffer according to the fourth embodiment. 17A and 17B, the same parts as those shown in FIGS. 7A and 7B are denoted by the same reference numerals, and description thereof is omitted.

図17A,図17Bに示す論理上限1701は、送信バッファ212aに蓄積可能なデータ量の論理的な上限である。実施の形態4にかかるCPE212は、送信バッファ212aに割り当てるメモリ量701は一定とし、無線区間201における最大の伝送速度(または送信端末211の送信レート)に応じて論理上限1701を調整する。   A logical upper limit 1701 shown in FIGS. 17A and 17B is a logical upper limit of the amount of data that can be stored in the transmission buffer 212a. The CPE 212 according to the fourth embodiment assumes that the memory amount 701 allocated to the transmission buffer 212a is constant, and adjusts the logical upper limit 1701 according to the maximum transmission rate (or the transmission rate of the transmission terminal 211) in the wireless section 201.

たとえば、CPE212は、図17Aに示すように、無線区間201の帯域704を使い切るために要するパケット量705が比較的少ない場合は、論理上限1701を比較的低く設定する。また、CPE212は、図17Bに示すように、無線区間201の帯域704を使い切るために要するパケット量705が比較的多い場合は、論理上限1701を比較的高く設定する。   For example, as shown in FIG. 17A, the CPE 212 sets the logical upper limit 1701 to be relatively low when the amount of packets 705 required to use up the bandwidth 704 of the wireless section 201 is relatively small. In addition, as illustrated in FIG. 17B, when the amount of packets 705 required to use up the bandwidth 704 of the wireless section 201 is relatively large, the CPE 212 sets the logical upper limit 1701 to be relatively high.

(実施の形態4にかかるCPE)
図18Aは、実施の形態4にかかるCPEの一例を示す図である。図18Bは、図18Aに示したCPEにおける信号の流れの一例を示す図である。図18A,図18Bにおいて、図8A,図8Bに示した部分と同様の部分については同一の符号を付して説明を省略する。図18A,図18Bに示すように、実施の形態4にかかるCPE212は、図8A,図8Bに示した構成に加えてパケット処理部1801を備える。
(CPE according to the fourth embodiment)
FIG. 18A is a diagram illustrating an example of the CPE according to the fourth embodiment. 18B is a diagram illustrating an example of a signal flow in the CPE illustrated in FIG. 18A. 18A and 18B, the same parts as those shown in FIGS. 8A and 8B are denoted by the same reference numerals, and description thereof is omitted. As illustrated in FIGS. 18A and 18B, the CPE 212 according to the fourth embodiment includes a packet processing unit 1801 in addition to the configuration illustrated in FIGS. 8A and 8B.

最大蓄積量調整部809は、RTT測定値格納部806に格納されたRTTの測定値と、伝送速度測定値格納部808に格納された伝送速度の測定値と、に基づいて、送信バッファ212aの容量(蓄積可能な最大データ量)を決定する。そして、最大蓄積量調整部809は、決定した容量をパケット処理部1801へ通知する。   The maximum accumulation amount adjusting unit 809 is based on the RTT measurement value stored in the RTT measurement value storage unit 806 and the transmission rate measurement value stored in the transmission rate measurement value storage unit 808. Determine the capacity (maximum amount of data that can be stored). Then, the maximum accumulation amount adjusting unit 809 notifies the packet processing unit 1801 of the determined capacity.

パケット処理部1801は、最大蓄積量調整部809から通知された最大データ量に基づいて、パケット送受信部803から出力されたパケットを送信バッファ212aに格納可能か否かを判断する。そして、パケット処理部1801は、格納可能と判断した場合はパケットを送信バッファ212aに格納し、格納可能でないと判断した場合はパケットを破棄するパケット処理を行う。パケット処理部1801による処理については後述する(たとえば図19参照)。   The packet processing unit 1801 determines whether or not the packet output from the packet transmitting / receiving unit 803 can be stored in the transmission buffer 212a based on the maximum data amount notified from the maximum accumulation amount adjusting unit 809. When it is determined that the packet can be stored, the packet processing unit 1801 stores the packet in the transmission buffer 212a. When it is determined that the packet cannot be stored, the packet processing unit 1801 performs packet processing to discard the packet. Processing performed by the packet processing unit 1801 will be described later (see, for example, FIG. 19).

図18A,図18Bに示した構成においては、パケット処理部1801によってパケットの破棄が行われるため、送信バッファ212aは、容量を超える分のパケットを破棄する機能を有していなくてもよい。   In the configuration shown in FIGS. 18A and 18B, the packet processing unit 1801 discards the packet, and therefore the transmission buffer 212a may not have a function of discarding packets exceeding the capacity.

(実施の形態4にかかるCPEによる処理)
図19は、実施の形態4にかかるCPEによる処理の一例を示すフローチャートである。実施の形態4にかかるCPE212は、たとえば図19に示す各ステップを繰り返し実行する。図19に示すステップS1901は、図14に示したステップS1401と同様である。ステップS1901において、送信対象のデータパケットがある場合(ステップS1901:Yes)は、CPE212は、現在の送信バッファ212aのデータパケットの蓄積量βを取得する(ステップS1902)。
(Processing by CPE according to Embodiment 4)
FIG. 19 is a flowchart of an example of processing by the CPE according to the fourth embodiment. The CPE 212 according to the fourth embodiment repeatedly executes each step shown in FIG. 19, for example. Step S1901 shown in FIG. 19 is the same as step S1401 shown in FIG. If there is a data packet to be transmitted in step S1901 (step S1901: Yes), the CPE 212 acquires the current data packet accumulation amount β in the transmission buffer 212a (step S1902).

つぎに、CPE212は、ステップS1902によって取得した蓄積量βと送信対象のデータパケットのサイズの合計サイズが、送信バッファ212aに蓄積可能な最大データ量α以下であるか否かを判断する(ステップS1903)。最大値αは、たとえば図17A,図17Bに示した論理上限1701であり、ステップS1912,S1917によって設定される。   Next, the CPE 212 determines whether or not the total size of the accumulation amount β acquired in step S1902 and the size of the data packet to be transmitted is equal to or less than the maximum data amount α that can be accumulated in the transmission buffer 212a (step S1903). ). The maximum value α is, for example, the logical upper limit 1701 shown in FIGS. 17A and 17B, and is set by steps S1912 and S1917.

ステップS1903において、合計サイズが最大データ量α以下である場合(ステップS1903:Yes)は、CPE212は、送信対象のデータパケットを送信バッファ212aに格納し(ステップS1904)、一連の処理を終了してステップS1901へ戻る。合計サイズが最大データ量αより大きい場合(ステップS1903:No)は、CPE212は、送信対象のデータパケットを破棄し(ステップS1905)、一連の処理を終了してステップS1901へ戻る。   In step S1903, when the total size is equal to or less than the maximum data amount α (step S1903: Yes), the CPE 212 stores the transmission target data packet in the transmission buffer 212a (step S1904), and ends the series of processing. The process returns to step S1901. When the total size is larger than the maximum data amount α (step S1903: No), the CPE 212 discards the data packet to be transmitted (step S1905), ends the series of processing, and returns to step S1901.

ステップS1902〜S1905は、たとえばパケット処理部1801によって行われる。図19に示すステップS1906〜S1917は、図14に示したステップS1403〜S1414と同様である。   Steps S1902 to S1905 are performed by, for example, the packet processing unit 1801. Steps S1906 to S1917 shown in FIG. 19 are the same as steps S1403 to S1414 shown in FIG.

このように、実施の形態4によれば、送信バッファ212aに蓄積可能なデータ量の論理的な上限を設定することで、送信バッファ212aの最大データ量を調整することができる。これにより、上述した実施の形態2,3と同様の効果を得ることができる。   Thus, according to the fourth embodiment, the maximum data amount of the transmission buffer 212a can be adjusted by setting the logical upper limit of the amount of data that can be stored in the transmission buffer 212a. Thereby, the same effects as those of the second and third embodiments can be obtained.

(実施の形態5)
実施の形態5について、実施の形態2〜4と異なる部分について説明する。
(Embodiment 5)
The fifth embodiment will be described with respect to differences from the second to fourth embodiments.

(蓄積可能な最大データ量を急激に変化させた状況)
図20は、蓄積可能な最大データ量を急激に変化させた状況の一例を示す図である。図20において、横軸は経過時間を示す。最大データ量2001は、CPE212の蓄積可能な最大データ量である。バッファ量2002は、CPE212の送信バッファ212aに蓄積されるデータパケットの量(図5に示したバッファ量505)である。無線区間帯域2003は、CPE212とBS213との間の無線区間201の帯域(図5に示した無線区間帯域503)である。
(The situation in which the maximum amount of data that can be stored is changed rapidly)
FIG. 20 is a diagram illustrating an example of a situation in which the maximum amount of data that can be stored is rapidly changed. In FIG. 20, the horizontal axis indicates the elapsed time. The maximum data amount 2001 is the maximum data amount that can be stored in the CPE 212. The buffer amount 2002 is the amount of data packets stored in the transmission buffer 212a of the CPE 212 (buffer amount 505 shown in FIG. 5). The wireless zone band 2003 is a bandwidth of the wireless zone 201 between the CPE 212 and the BS 213 (wireless zone band 503 shown in FIG. 5).

CPE212の送信バッファ212aに蓄積可能な最大データ量2001を急激に変化させると、送信バッファ212aにおいてデータパケットが破棄される場合がある。たとえば、図20に示すように、無線区間帯域2003が5[Mbps]から30[Mbps]に増加したとする。また、無線区間201の最大の伝送速度が75[Mbps]でRTTが100[ms]だとする。この場合に、送信バッファ212aに蓄積可能な最大データ量は、上記(1)式によると875[Kbytes]から562.5[Kbytes]に減少することになる。   If the maximum amount of data 2001 that can be stored in the transmission buffer 212a of the CPE 212 is suddenly changed, a data packet may be discarded in the transmission buffer 212a. For example, as shown in FIG. 20, it is assumed that the wireless zone band 2003 has increased from 5 [Mbps] to 30 [Mbps]. Further, it is assumed that the maximum transmission rate of the wireless section 201 is 75 [Mbps] and the RTT is 100 [ms]. In this case, the maximum amount of data that can be stored in the transmission buffer 212a is reduced from 875 [Kbytes] to 562.5 [Kbytes] according to the equation (1).

しかしながら、実際に送信バッファ212aに溜まっているデータパケットの量はすぐには減少しない。このため、送信バッファ212aに蓄積可能な最大データ量を急激に減少させた場合に、データパケットの蓄積状況によっては、送信バッファ212aにおいて容量オーバとなってデータパケットが破棄される場合がある。   However, the amount of data packets actually accumulated in the transmission buffer 212a does not decrease immediately. For this reason, when the maximum amount of data that can be stored in the transmission buffer 212a is drastically reduced, the capacity of the transmission buffer 212a may be exceeded and the data packet may be discarded depending on the storage state of the data packet.

これに対して、実施の形態5にかかるCPE212の最大蓄積量調整部809は、無線区間201の伝送速度(無線区間帯域2003)の測定値の時間平均を用いて、送信バッファ212aに蓄積可能な最大データ量を調整する。これにより、無線区間201の伝送速度が急激に増加しても、送信バッファ212aに蓄積可能な最大データ量(最大データ量2001)を緩やかに減少させ、送信バッファ212aにおいてデータパケットが破棄されることを回避することができる。   On the other hand, the maximum accumulation amount adjustment unit 809 of the CPE 212 according to the fifth embodiment can accumulate in the transmission buffer 212a using the time average of the measured values of the transmission rate of the wireless section 201 (wireless section band 2003). Adjust the maximum amount of data. As a result, even if the transmission rate of the wireless section 201 increases rapidly, the maximum data amount (maximum data amount 2001) that can be stored in the transmission buffer 212a is gradually decreased, and the data packet is discarded in the transmission buffer 212a. Can be avoided.

また、最大蓄積量調整部809は、送信端末211と受信端末214との間のRTTの測定値の時間平均を用いて、送信バッファ212aに蓄積可能な最大データ量を調整してもよい。これにより、RTTが急激に変化しても、送信バッファ212aに蓄積可能な最大データ量(最大データ量2001)を緩やかに変化させ、送信バッファ212aにおいてデータパケットが破棄されることを回避することができる。   Further, the maximum accumulation amount adjustment unit 809 may adjust the maximum data amount that can be accumulated in the transmission buffer 212a by using the time average of the measured RTT values between the transmission terminal 211 and the reception terminal 214. As a result, even if the RTT changes rapidly, the maximum data amount (maximum data amount 2001) that can be stored in the transmission buffer 212a is gradually changed to avoid discarding data packets in the transmission buffer 212a. it can.

また、最大蓄積量調整部809は、無線区間201の伝送速度の測定値の時間平均と、送信端末211と受信端末214との間のRTTの測定値の時間平均と、を用いて、送信バッファ212aに蓄積可能な最大データ量を調整してもよい。   Further, the maximum accumulation amount adjustment unit 809 uses the time average of the measurement values of the transmission rate in the wireless section 201 and the time average of the measurement values of the RTT between the transmission terminal 211 and the reception terminal 214 to transmit a transmission buffer. The maximum amount of data that can be stored in 212a may be adjusted.

また、伝送速度の測定値やRTTの測定値の時間平均には、1RTTに相当する長さの期間の時間平均を用いてもよい。上述したように、無線区間201の伝送速度の変動やRTTの変動におけるネットワークの過渡状態は、収束するまでに約1RTTに相当する時間がかかる。この過渡状態が終わると、CPE212の送信バッファ212aに溜まるデータパケットの量はそのときのネットワークの状態に見合ったものになる。   Further, the time average of a period corresponding to 1 RTT may be used as the time average of the measurement value of the transmission rate and the measurement value of the RTT. As described above, the network transient state due to fluctuations in the transmission rate of the wireless section 201 and fluctuations in RTT takes time corresponding to about 1 RTT to converge. When this transient state ends, the amount of data packets accumulated in the transmission buffer 212a of the CPE 212 is commensurate with the network state at that time.

これに対して送信バッファ212aの蓄積可能な最大データ量の増減の収束が遅れてしまうと、上述したように送信バッファ212aにおいて容量オーバとなってデータパケットが破棄される場合がある。そこで、伝送速度の測定値やRTTの測定値の時間平均に1RTTに相当する長さの期間の時間平均を用いることで、送信バッファ212aの蓄積可能な最大データ量の増減も1RTTで収束させることができる。ただし、時間平均の平均期間は1RTT分の期間に限らず、通信システム200の運用ポリシに応じて1RTT分の期間を補正(たとえば増減)したものであってもよい。   On the other hand, if the convergence of the increase / decrease in the maximum amount of data that can be stored in the transmission buffer 212a is delayed, as described above, the capacity may be exceeded in the transmission buffer 212a and the data packet may be discarded. Therefore, by using the time average of the length corresponding to 1 RTT as the time average of the measured value of the transmission rate and the measured value of RTT, the increase / decrease in the maximum data amount that can be accumulated in the transmission buffer 212a is converged by 1 RTT. Can do. However, the average period of time average is not limited to a period corresponding to 1 RTT, and may be a period obtained by correcting (for example, increasing or decreasing) a period corresponding to 1 RTT according to the operation policy of the communication system 200.

このように、実施の形態5によれば、実施の形態1〜3と同様の効果を得ることができる。また、無線区間201の伝送速度やRTTに時間平均を用いることで、送信バッファ212aに蓄積可能な最大データ量を緩やかに減少させ、送信バッファ212aにおいてデータパケットが破棄されることを回避することができる。   Thus, according to the fifth embodiment, the same effects as in the first to third embodiments can be obtained. In addition, by using the time average for the transmission rate and RTT of the wireless section 201, the maximum amount of data that can be stored in the transmission buffer 212a is gently reduced, and the data packet is prevented from being discarded in the transmission buffer 212a. it can.

以上説明したように、通信装置および調整方法によれば、伝送効率の向上を図ることができる。   As described above, according to the communication device and the adjustment method, it is possible to improve the transmission efficiency.

たとえば、ネットワークの伝送速度を使い切るためには、BDP(Bandwidth Delay Product:帯域遅延積)に相当する輻輳ウィンドウサイズを要することが知られている。しかしながら、上述したようにTCPのウィンドウ制御が輻輳回避フェーズに移行すると、TCPの送信ウィンドウサイズは急激に増加しないため、無線区間の伝送速度が急激に増加してもすぐに使い切ることができない。   For example, it is known that a congestion window size corresponding to BDP (Bandwidth Delay Product) is required to use up the transmission rate of the network. However, as described above, when the TCP window control shifts to the congestion avoidance phase, the TCP transmission window size does not increase abruptly, and therefore cannot be used up immediately even if the transmission rate in the wireless section increases rapidly.

これに対して、上述した各実施の形態によれば、たとえば、無線区間に接続する通信装置の送信バッファに蓄積できる最大データ量を、無線区間の伝送速度およびRTTに基づいて調整することができる。これにより、キューイング遅延を抑えつつ、無線区間の伝送速度を使い切ることができる。ただし、無線区間の伝送速度をすべて使いきらなくてもよく、たとえば無線区間の伝送速度の変動に応じて無線区間への送信レートを変化させればよい。これにより、伝送効率の向上を図ることができる。   On the other hand, according to each embodiment described above, for example, the maximum amount of data that can be stored in the transmission buffer of the communication device connected to the wireless section can be adjusted based on the transmission speed and RTT of the wireless section. . Thereby, it is possible to use up the transmission rate in the wireless section while suppressing the queuing delay. However, it is not necessary to use all the transmission rates in the wireless section. For example, the transmission rate to the wireless section may be changed in accordance with the change in the transmission speed in the wireless section. Thereby, the transmission efficiency can be improved.

上述した各実施の形態に関し、さらに以下の付記を開示する。   The following additional notes are disclosed with respect to the above-described embodiments.

(付記1)送信パケットを溜めるバッファと、
前記バッファに溜められた送信パケットを所定の伝送路を介して受信装置へ送信する送信部と、
前記送信パケットを送信する送信装置と前記受信装置との間の伝搬遅延時間を測定する第1測定部と、
前記所定の伝送路の伝送速度を測定する第2測定部と、
前記第1測定部によって測定された伝搬遅延時間と、前記第2測定部によって測定された伝送速度と、に基づいて、前記バッファに溜めることができる最大データ量を調整する調整部と、
を備え、前記調整部は、前記伝送速度が上昇した場合は前記最大データ量を減少させ、前記伝送速度が低下した場合は前記最大データ量を増加させる、
ことを特徴とする通信装置。
(Supplementary note 1) a buffer for storing transmission packets;
A transmission unit for transmitting transmission packets stored in the buffer to a reception device via a predetermined transmission path;
A first measurement unit that measures a propagation delay time between the transmission device that transmits the transmission packet and the reception device;
A second measuring unit for measuring a transmission speed of the predetermined transmission path;
An adjustment unit that adjusts the maximum amount of data that can be stored in the buffer based on the propagation delay time measured by the first measurement unit and the transmission rate measured by the second measurement unit;
The adjustment unit decreases the maximum data amount when the transmission rate increases, and increases the maximum data amount when the transmission rate decreases.
A communication device.

(付記2)前記送信装置は、前記送信パケットの送信量を、前記送信パケットに対する前記受信装置からの応答信号の受信結果に基づいて制御することを特徴とする付記1に記載の通信装置。 (Additional remark 2) The said transmission apparatus controls the transmission amount of the said transmission packet based on the reception result of the response signal from the said reception apparatus with respect to the said transmission packet, The communication apparatus of Additional remark 1 characterized by the above-mentioned.

(付記3)前記第1測定部は、前記送信装置が送信パケットを送信してから、前記送信パケットに対する前記受信装置からの応答信号が前記送信装置へ到達するまでの伝搬遅延時間を測定することを特徴とする付記1または2に記載の通信装置。 (Supplementary Note 3) The first measurement unit measures a propagation delay time from when the transmission device transmits a transmission packet until a response signal from the reception device to the transmission packet reaches the transmission device. The communication apparatus according to appendix 1 or 2, characterized by:

(付記4)前記調整部は、前記所定の伝送路における最大の伝送速度と現在の伝送速度との差分と、前記伝搬遅延時間と、の積に基づいて前記最大データ量を調整することを特徴とする付記1〜3のいずれか一つに記載の通信装置。 (Additional remark 4) The said adjustment part adjusts the said maximum data amount based on the product of the difference of the maximum transmission rate in the said predetermined transmission line, and the present transmission rate, and the said propagation delay time. The communication device according to any one of appendices 1 to 3.

(付記5)前記送信装置は、前記送信パケットに対する前記受信装置からの応答信号の受信結果に基づいて前記送信パケットのロスを検出し、前記ロスを検出した場合に前記送信パケットの送信量を所定比率によって減少させ、
前記調整部は、前記積(「第1積」と称する)と、前記所定比率に基づく値と前記所定の伝送路の現在の伝送速度と前記伝搬遅延時間との第2積と、に基づいて前記最大データ量を調整することを特徴とする付記4に記載の通信装置。
(Additional remark 5) The said transmission apparatus detects the loss of the said transmission packet based on the reception result of the response signal from the said receiving apparatus with respect to the said transmission packet, and when the said loss is detected, the transmission amount of the said transmission packet is predetermined. Reduced by ratio,
The adjustment unit is based on the product (referred to as “first product”), a value based on the predetermined ratio, and a second product of the current transmission rate of the predetermined transmission path and the propagation delay time. The communication apparatus according to appendix 4, wherein the maximum data amount is adjusted.

(付記6)前記調整部は、前記バッファに割り当てるメモリ量を変化させることによって前記最大データ量を調整することを特徴とする付記1〜5のいずれか一つに記載の通信装置。 (Supplementary note 6) The communication device according to any one of supplementary notes 1 to 5, wherein the adjustment unit adjusts the maximum data amount by changing a memory amount allocated to the buffer.

(付記7)設定された上限に応じて前記送信パケットを前記バッファに格納し、または破棄する処理部を備え、
前記調整部は、前記処理部の前記上限を設定することによって前記最大データ量を調整することを特徴とする付記1〜5のいずれか一つに記載の通信装置。
(Supplementary Note 7) A processing unit that stores or discards the transmission packet in the buffer according to a set upper limit,
The communication device according to any one of appendices 1 to 5, wherein the adjustment unit adjusts the maximum data amount by setting the upper limit of the processing unit.

(付記8)前記調整部は、前記伝搬遅延時間の時間平均値に基づいて前記最大データ量を調整することを特徴とする付記1〜7のいずれか一つに記載の通信装置。 (Supplementary note 8) The communication device according to any one of supplementary notes 1 to 7, wherein the adjustment unit adjusts the maximum data amount based on a time average value of the propagation delay time.

(付記9)前記調整部は、前記伝送速度の時間平均値に基づいて前記最大データ量を調整することを特徴とする付記1〜7のいずれか一つに記載の通信装置。 (Additional remark 9) The said adjustment part adjusts the said maximum data amount based on the time average value of the said transmission rate, The communication apparatus as described in any one of additional marks 1-7 characterized by the above-mentioned.

(付記10)前記時間平均値は、前記伝搬遅延時間に基づく期間の平均値であることを特徴とする付記8または9に記載の通信装置。 (Additional remark 10) The said time average value is an average value of the period based on the said propagation delay time, The communication apparatus of Additional remark 8 or 9 characterized by the above-mentioned.

(付記11)前記第2測定部は、前記送信部によって送信された送信パケットのサイズと、前記送信部による前記送信パケットの送信間隔と、に基づいて前記伝送速度を測定することを特徴とする付記1〜10のいずれか一つに記載の通信装置。 (Supplementary Note 11) The second measurement unit measures the transmission rate based on a size of a transmission packet transmitted by the transmission unit and a transmission interval of the transmission packet by the transmission unit. The communication device according to any one of appendices 1 to 10.

(付記12)前記第2測定部は、前記送信部による前記送信パケットの送信方式に関する情報に基づいて前記伝送速度を測定することを特徴とする付記1〜10のいずれか一つに記載の通信装置。 (Additional remark 12) The said 2nd measurement part measures the said transmission rate based on the information regarding the transmission system of the said transmission packet by the said transmission part, The communication as described in any one of Additional remark 1-10 characterized by the above-mentioned. apparatus.

(付記13)前記第1測定部は、前記送信部による前記送信パケットの送信時刻と、前記送信部によって送信された送信パケットに対する前記受信装置からの応答信号の自装置における受信時刻と、に基づいて前記伝搬遅延時間を測定することを特徴とする付記1〜12のいずれか一つに記載の通信装置。 (Supplementary note 13) The first measurement unit is based on the transmission time of the transmission packet by the transmission unit and the reception time of the response signal from the reception device to the transmission packet transmitted by the transmission unit in the own device. The communication apparatus according to any one of appendices 1 to 12, wherein the propagation delay time is measured.

(付記14)前記送信装置は自装置と異なる送信装置であり、
前記第1測定部は、
前記送信装置と前記受信装置との間のコネクション確立時に前記送信装置と前記受信装置の間で送受信された信号に基づいて、前記送信装置と前記自装置との間の第1伝搬遅延時間を測定し、
前記送信部による前記送信パケットの送信時刻と、前記送信部によって送信された送信パケットに対する前記受信装置からの応答信号の自装置における受信時刻と、に基づいて自装置と前記受信装置との間の第2伝搬遅延時間を測定し、
測定した前記第1伝搬遅延時間および前記第2伝搬遅延時間に基づいて、前記送信装置と前記受信装置との間の伝搬遅延時間を測定する、
ことを特徴とする付記13に記載の通信装置。
(Supplementary Note 14) The transmission device is a transmission device different from the own device,
The first measuring unit includes
Measure a first propagation delay time between the transmitting device and the own device based on a signal transmitted and received between the transmitting device and the receiving device when establishing a connection between the transmitting device and the receiving device And
Based on the transmission time of the transmission packet by the transmission unit and the reception time of the response signal from the reception device to the transmission packet transmitted by the transmission unit between the own device and the reception device. Measure the second propagation delay time,
Measuring a propagation delay time between the transmitting device and the receiving device based on the measured first propagation delay time and the second propagation delay time;
14. The communication device according to appendix 13, wherein

(付記15)前記所定の伝送路は、自装置と前記受信装置との間の伝送路のうちの、伝送速度が最も低い伝送路であることを特徴とする付記1〜14のいずれか一つに記載の通信装置。 (Supplementary note 15) Any one of Supplementary notes 1 to 14, wherein the predetermined transmission line is a transmission line having the lowest transmission speed among transmission lines between the own apparatus and the receiving apparatus. The communication apparatus as described in.

(付記16)送信パケットを溜めるバッファを備え、前記バッファに溜められた送信パケットを所定の伝送路を介して受信装置へ送信する通信装置における調整方法であって、
前記送信パケットを送信する送信装置と前記受信装置との間の伝搬遅延時間を測定し、
前記所定の伝送路の伝送速度を測定し、
測定した前記伝搬遅延時間と前記伝送速度とに基づく、前記バッファに溜めることができる最大データ量の調整であって、前記伝送速度が上昇した場合は前記最大データ量を減少させ、前記伝送速度が低下した場合は前記最大データ量を増加させる調整を行う、
ことを特徴とする調整方法。
(Supplementary note 16) An adjustment method in a communication apparatus, comprising a buffer for storing transmission packets, wherein the transmission packets stored in the buffer are transmitted to a receiving apparatus via a predetermined transmission path,
Measure the propagation delay time between the transmission device that transmits the transmission packet and the reception device,
Measure the transmission speed of the predetermined transmission line,
Adjustment of the maximum amount of data that can be stored in the buffer based on the measured propagation delay time and the transmission rate, and when the transmission rate is increased, the maximum data amount is decreased, and the transmission rate is If it decreases, adjust to increase the maximum data amount,
An adjustment method characterized by that.

(付記17)送信パケットを溜めるバッファと、
前記バッファに溜められた送信パケットを所定の伝送路を介して受信装置へ送信する送信部と、
前記送信パケットを送信する送信装置と前記受信装置との間の伝搬遅延時間を測定する第1測定部と、
前記所定の伝送路の伝送速度を測定する第2測定部と、
前記第1測定部によって測定された伝搬遅延時間と、前記第2測定部によって測定された伝送速度と、に基づいて、前記バッファに溜めることができる最大データ量を調整する調整部と、
を備え、前記調整部は、前記伝送速度が上昇した場合は前記最大データ量を増加させ、前記伝送速度が低下した場合は前記最大データ量を減少させる、
ことを特徴とする通信装置。
(Supplementary note 17) a buffer for storing transmission packets;
A transmission unit for transmitting transmission packets stored in the buffer to a reception device via a predetermined transmission path;
A first measurement unit that measures a propagation delay time between the transmission device that transmits the transmission packet and the reception device;
A second measuring unit for measuring a transmission speed of the predetermined transmission path;
An adjustment unit that adjusts the maximum amount of data that can be stored in the buffer based on the propagation delay time measured by the first measurement unit and the transmission rate measured by the second measurement unit;
The adjustment unit increases the maximum data amount when the transmission rate increases, and decreases the maximum data amount when the transmission rate decreases.
A communication device.

(付記18)前記送信装置は、前記送信パケットに対する前記受信装置からの応答信号の受信結果に基づいて前記送信パケットのロスを検出し、前記ロスを検出した場合に前記送信パケットの送信量を所定比率によって減少させることを特徴とする付記17に記載の通信装置。 (Supplementary note 18) The transmission device detects a loss of the transmission packet based on a reception result of a response signal from the reception device with respect to the transmission packet, and determines a transmission amount of the transmission packet when the loss is detected The communication apparatus according to appendix 17, wherein the communication apparatus decreases the ratio.

(付記19)前記調整部は、前記所定比率に基づく値と前記所定の伝送路の現在の伝送速度と前記伝搬遅延時間との積に基づいて前記最大データ量を調整することを特徴とする付記18に記載の通信装置。 (Supplementary note 19) The adjustment unit adjusts the maximum data amount based on a product of a value based on the predetermined ratio, a current transmission rate of the predetermined transmission path, and the propagation delay time. 18. The communication device according to 18.

(付記20)送信パケットを溜めるバッファを備え、前記バッファに溜められた送信パケットを所定の伝送路を介して受信装置へ送信する通信装置における調整方法であって、
前記送信パケットを送信する送信装置と前記受信装置との間の伝搬遅延時間を測定し、
前記所定の伝送路の伝送速度を測定し、
測定した前記伝搬遅延時間と前記伝送速度とに基づく、前記バッファに溜めることができる最大データ量の調整であって、前記伝送速度が上昇した場合は前記最大データ量を増加させ、前記伝送速度が低下した場合は前記最大データ量を減少させる調整を行う、
ことを特徴とする調整方法。
(Supplementary note 20) An adjustment method in a communication device including a buffer for storing transmission packets, and transmitting the transmission packets stored in the buffer to a reception device via a predetermined transmission path,
Measure the propagation delay time between the transmission device that transmits the transmission packet and the reception device,
Measure the transmission speed of the predetermined transmission line,
Adjustment of the maximum amount of data that can be stored in the buffer based on the measured propagation delay time and the transmission rate, and if the transmission rate increases, the maximum data amount is increased, and the transmission rate is If it decreases, adjust to reduce the maximum data amount,
An adjustment method characterized by that.

101 送信装置
102 伝送路
103 受信装置
110,900 通信装置
111 バッファ
112 送信部
113 第1測定部
114 第2測定部
115 調整部
131 送信処理部
200 通信システム
201 無線区間
202 アクセスネットワーク
203 インターネット
211 送信端末
212 CPE
212a 送信バッファ
213 BS
214 受信端末
221〜224 処理群
231,232 地点
301,621,623,661〜663 データパケット群
302 送信ウィンドウ
501 TCPスループット
502 送信ウィンドウサイズ
503,2003 無線区間帯域
504 送信レート
505,2002 バッファ量
511〜517 段階
521,522 パケットロス
602 データパケット
603 ACK
611〜613,651〜653 状態
622 ACK群
701 メモリ量
703 最大帯域
704 帯域
705 パケット量
801 フレーム送受信部
802 受信バッファ
803 パケット送受信部
804 上位層処理部
805 RTT測定部
806 RTT測定値格納部
807 伝送速度測定部
808 伝送速度測定値格納部
809 最大蓄積量調整部
901 CPU
902 メモリコントローラ
903 メモリ
904 IOバスコントローラ
905 無線インターフェース
906 記憶装置
1001 第1区間
1002 第2区間
1100,1200 テーブル
1301,1601 領域
1311〜1313 グラフ
1701 論理上限
1801 パケット処理部
2001 最大データ量
DESCRIPTION OF SYMBOLS 101 Transmission apparatus 102 Transmission path 103 Reception apparatus 110,900 Communication apparatus 111 Buffer 112 Transmission part 113 1st measurement part 114 2nd measurement part 115 Adjustment part 131 Transmission processing part 200 Communication system 201 Wireless section 202 Access network 203 Internet 211 Transmission terminal 212 CPE
212a Transmission buffer 213 BS
214 receiving terminal 221 to 224 processing group 231, 232 point 301, 621, 623, 661 to 663 data packet group 302 transmission window 501 TCP throughput 502 transmission window size 503, 2003 radio section band 504 transmission rate 505, 2002 buffer amount 511 517 stage 521,522 packet loss 602 data packet 603 ACK
611 to 613, 651 to 653 Status 622 ACK group 701 Memory amount 703 Maximum bandwidth 704 Band 705 Packet amount 801 Frame transmission / reception unit 802 Reception buffer 803 Packet transmission / reception unit 804 Upper layer processing unit 805 RTT measurement unit 806 RTT measurement value storage unit 807 Transmission Speed measurement unit 808 Transmission rate measurement value storage unit 809 Maximum accumulation amount adjustment unit 901 CPU
902 Memory controller 903 Memory 904 IO bus controller 905 Wireless interface 906 Storage device 1001 First section 1002 Second section 1100, 1200 Table 1301, 1601 Area 1311-1313 Graph 1701 Logical upper limit 1801 Packet processing unit 2001 Maximum data amount

Claims (6)

送信パケットを溜めるバッファと、
前記バッファに溜められた送信パケットを所定の伝送路を介して受信装置へ送信する送信部と、
前記送信パケットを送信する送信装置と前記受信装置との間の伝搬遅延時間を測定する第1測定部と、
前記所定の伝送路の伝送速度を測定する第2測定部と、
前記第1測定部によって測定された伝搬遅延時間と、前記第2測定部によって測定された伝送速度と、に基づいて、前記バッファに溜めることができる最大データ量を調整する調整部と、
を備え、前記調整部は、前記伝送速度が上昇した場合は前記最大データ量を減少させ、前記伝送速度が低下した場合は前記最大データ量を増加させる、
ことを特徴とする通信装置。
A buffer for storing transmitted packets;
A transmission unit for transmitting transmission packets stored in the buffer to a reception device via a predetermined transmission path;
A first measurement unit that measures a propagation delay time between the transmission device that transmits the transmission packet and the reception device;
A second measuring unit for measuring a transmission speed of the predetermined transmission path;
An adjustment unit that adjusts the maximum amount of data that can be stored in the buffer based on the propagation delay time measured by the first measurement unit and the transmission rate measured by the second measurement unit;
The adjustment unit decreases the maximum data amount when the transmission rate increases, and increases the maximum data amount when the transmission rate decreases.
A communication device.
前記調整部は、前記伝送速度の時間平均値に基づいて前記最大データ量を調整することを特徴とする請求項1に記載の通信装置。   The communication device according to claim 1, wherein the adjustment unit adjusts the maximum data amount based on a time average value of the transmission rate. 前記時間平均値は、前記伝搬遅延時間に基づく期間の平均値であることを特徴とする請求項2に記載の通信装置。   The communication apparatus according to claim 2, wherein the time average value is an average value of a period based on the propagation delay time. 送信パケットを溜めるバッファを備え、前記バッファに溜められた送信パケットを所定の伝送路を介して受信装置へ送信する通信装置における調整方法であって、
前記送信パケットを送信する送信装置と前記受信装置との間の伝搬遅延時間を測定し、
前記所定の伝送路の伝送速度を測定し、
測定した前記伝搬遅延時間と前記伝送速度とに基づく、前記バッファに溜めることができる最大データ量の調整であって、前記伝送速度が上昇した場合は前記最大データ量を減少させ、前記伝送速度が低下した場合は前記最大データ量を増加させる調整を行う、
ことを特徴とする調整方法。
An adjustment method in a communication device comprising a buffer for storing transmission packets, wherein the transmission packets stored in the buffer are transmitted to a receiving device via a predetermined transmission path,
Measure the propagation delay time between the transmission device that transmits the transmission packet and the reception device,
Measure the transmission speed of the predetermined transmission line,
Adjustment of the maximum amount of data that can be stored in the buffer based on the measured propagation delay time and the transmission rate, and when the transmission rate is increased, the maximum data amount is decreased, and the transmission rate is If it decreases, adjust to increase the maximum data amount,
An adjustment method characterized by that.
送信パケットを溜めるバッファと、
前記バッファに溜められた送信パケットを所定の伝送路を介して受信装置へ送信する送信部と、
前記送信パケットを送信する送信装置と前記受信装置との間の伝搬遅延時間を測定する第1測定部と、
前記所定の伝送路の伝送速度を測定する第2測定部と、
前記第1測定部によって測定された伝搬遅延時間と、前記第2測定部によって測定された伝送速度と、に基づいて、前記バッファに溜めることができる最大データ量を調整する調整部と、
を備え、前記調整部は、前記伝送速度が上昇した場合は前記最大データ量を増加させ、前記伝送速度が低下した場合は前記最大データ量を減少させる、
ことを特徴とする通信装置。
A buffer for storing transmitted packets;
A transmission unit for transmitting transmission packets stored in the buffer to a reception device via a predetermined transmission path;
A first measurement unit that measures a propagation delay time between the transmission device that transmits the transmission packet and the reception device;
A second measuring unit for measuring a transmission speed of the predetermined transmission path;
An adjustment unit that adjusts the maximum amount of data that can be stored in the buffer based on the propagation delay time measured by the first measurement unit and the transmission rate measured by the second measurement unit;
The adjustment unit increases the maximum data amount when the transmission rate increases, and decreases the maximum data amount when the transmission rate decreases.
A communication device.
送信パケットを溜めるバッファを備え、前記バッファに溜められた送信パケットを所定の伝送路を介して受信装置へ送信する通信装置における調整方法であって、
前記送信パケットを送信する送信装置と前記受信装置との間の伝搬遅延時間を測定し、
前記所定の伝送路の伝送速度を測定し、
測定した前記伝搬遅延時間と前記伝送速度とに基づく、前記バッファに溜めることができる最大データ量の調整であって、前記伝送速度が上昇した場合は前記最大データ量を増加させ、前記伝送速度が低下した場合は前記最大データ量を減少させる調整を行う、
ことを特徴とする調整方法。
An adjustment method in a communication device comprising a buffer for storing transmission packets, wherein the transmission packets stored in the buffer are transmitted to a receiving device via a predetermined transmission path,
Measure the propagation delay time between the transmission device that transmits the transmission packet and the reception device,
Measure the transmission speed of the predetermined transmission line,
Adjustment of the maximum amount of data that can be stored in the buffer based on the measured propagation delay time and the transmission rate, and if the transmission rate increases, the maximum data amount is increased, and the transmission rate is If it decreases, adjust to reduce the maximum data amount,
An adjustment method characterized by that.
JP2014164103A 2014-08-12 2014-08-12 Communication device and adjusting method Withdrawn JP2016040857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014164103A JP2016040857A (en) 2014-08-12 2014-08-12 Communication device and adjusting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014164103A JP2016040857A (en) 2014-08-12 2014-08-12 Communication device and adjusting method

Publications (1)

Publication Number Publication Date
JP2016040857A true JP2016040857A (en) 2016-03-24

Family

ID=55541089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014164103A Withdrawn JP2016040857A (en) 2014-08-12 2014-08-12 Communication device and adjusting method

Country Status (1)

Country Link
JP (1) JP2016040857A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112654065A (en) * 2021-01-19 2021-04-13 长江水利委员会水文局汉江水文水资源勘测局(长江水利委员会水文局汉江水环境监测中心) River flow speed data acquisition and transmission method
JP7537769B2 (en) 2022-01-12 2024-08-21 Necプラットフォームズ株式会社 Serial interface circuit, control method thereof, program, communication module, and communication device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112654065A (en) * 2021-01-19 2021-04-13 长江水利委员会水文局汉江水文水资源勘测局(长江水利委员会水文局汉江水环境监测中心) River flow speed data acquisition and transmission method
JP7537769B2 (en) 2022-01-12 2024-08-21 Necプラットフォームズ株式会社 Serial interface circuit, control method thereof, program, communication module, and communication device

Similar Documents

Publication Publication Date Title
US9674095B2 (en) Communication node
EP3780542B1 (en) Data transmission method and device
EP3320750B1 (en) Methods and apparatuses for selecting first base station or second base station transmit a packet data unit (pdu) to user equipment (ue)
CN102104908B (en) Data transmission control method and equipment
WO2016068316A1 (en) Wireless base station, packet transmission device, wireless terminal, control method and program
JP6274113B2 (en) Data transmission apparatus, data transmission method, and program thereof
EP3214808A1 (en) Gateway apparatus and method of controlling gateway apparatus
US9462530B2 (en) Wireless base station, wireless terminal, and packet transmission method
WO2022005344A1 (en) Distributed unit, central unit and methods performed therein
US11425592B2 (en) Packet latency reduction in mobile radio access networks
US9813943B2 (en) Apparatus and method for controlling an occupancy ratio of each region in a buffer
JP2015517251A (en) Link aggregation device
US20170099229A1 (en) Relay device and relay method
CN108432287A (en) A data transmission method and network side equipment
WO2019054112A1 (en) Communication apparatus, wireless communication system and data flow control method
US20150281997A1 (en) Link aggregation apparatus and method for distributing a tcp flow to multiple links
CN107484204B (en) Method and device for relieving uplink burst of base station
JP2016040857A (en) Communication device and adjusting method
WO2014171543A1 (en) Data transmission device, data transmission method, and program therefor
JP6897769B2 (en) Data transmitters, methods and programs
US10171325B2 (en) Minimum delay value calculating device, information transmitting device, minimum delay value calculating method, and program storage medium
JPWO2018097073A1 (en) Information notification apparatus, information notification method and program
JP7243822B2 (en) Communication system, terminal, control method, and program
JP6303333B2 (en) Wireless communication apparatus and control method
WO2016042686A1 (en) Data transmission control device and control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170511

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20171225