JP2016139892A - Communication device, communication system, calculation method and communication program - Google Patents

Communication device, communication system, calculation method and communication program Download PDF

Info

Publication number
JP2016139892A
JP2016139892A JP2015013051A JP2015013051A JP2016139892A JP 2016139892 A JP2016139892 A JP 2016139892A JP 2015013051 A JP2015013051 A JP 2015013051A JP 2015013051 A JP2015013051 A JP 2015013051A JP 2016139892 A JP2016139892 A JP 2016139892A
Authority
JP
Japan
Prior art keywords
increase amount
round
unit
trip delay
delay time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015013051A
Other languages
Japanese (ja)
Other versions
JP6055852B2 (en
Inventor
勝 本庄
Masaru Honjo
勝 本庄
康孝 西村
Yasutaka Nishimura
康孝 西村
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.)
KDDI Corp
Original Assignee
KDDI Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KDDI Corp filed Critical KDDI Corp
Priority to JP2015013051A priority Critical patent/JP6055852B2/en
Publication of JP2016139892A publication Critical patent/JP2016139892A/en
Application granted granted Critical
Publication of JP6055852B2 publication Critical patent/JP6055852B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To enable high-precision specification of the link speed to a master unit at plural positions without measurement of the through-put.SOLUTION: A communication device 2 that can perform radio communication with a master unit 1 for emitting electric waves comprises an achieving part 251 for achieving a round-trip delay time corresponding to a time period from transmission of each of plural packets of different sizes from the communication device 2 to the master unit 1 till reception of a response packet transmitted from the master unit 1 in response to the packet, an increase amount calculator 257 for calculating the increase amount of a round-trip delay time corresponding to a size increase amount based on the plural round-trip delay times achieved by the achieving part 251, and a link speed calculator 258 for calculating the link speed to the master unit 1 on the basis of the increase amount of the round-trip delay time to the size increase amount.SELECTED DRAWING: Figure 2

Description

本発明は、通信装置、通信システム、算出方法及び通信プログラムに関する。   The present invention relates to a communication device, a communication system, a calculation method, and a communication program.

従来、無線LAN等の無線通信機器の中継装置を設置する際に、当該中継装置の設置予定位置においてスループットが十分に出ているか否かといった検証が行われている。例えば、特許文献1には、無線LANの基地局装置に対して無線LAN制御信号を送信した回数と、当該無線LAN制御信号に対する応答信号を当該親機から受信した回数とに基づいてフレームエラーレートを算出し、スループットの理論値と、フレームエラーレートとに基づいて、当該無線LANのスループットを算出する測定装置が提案されている。   Conventionally, when a relay device of a wireless communication device such as a wireless LAN is installed, verification has been made as to whether or not a sufficient throughput is obtained at the installation position of the relay device. For example, Patent Document 1 discloses a frame error rate based on the number of times a wireless LAN control signal is transmitted to a wireless LAN base station device and the number of times a response signal to the wireless LAN control signal is received from the parent device. And a measuring apparatus that calculates the throughput of the wireless LAN based on the theoretical value of the throughput and the frame error rate.

特許第4675743号公報Japanese Patent No. 4675743

ところで、中継装置の設置予定位置においてスループットが十分に出ているか否かといった検証を行う場合には、子機又は中継機と、親機との間で取り得るスループットのうち、理論上の最大スループットであるリンク速度を特定し、当該リンク速度に基づいて設置予定位置が中継装置の設置位置として妥当か否かを判定することが望ましい。   By the way, when verifying whether or not the throughput is sufficient at the planned installation position of the relay device, the theoretical maximum throughput of the throughput that can be taken between the slave unit or the relay unit and the master unit. It is desirable to identify a link speed that is and to determine whether or not the planned installation position is appropriate as the installation position of the relay device based on the link speed.

リンク速度を特定する際には、例えば、ユーザが子機を持ちながら、親機の周辺を移動することにより、複数の位置におけるスループットを測定し、これらのスループットの中から最大のスループットに基づいてリンク速度を特定することが考えられる。   When specifying the link speed, for example, the user measures the throughput at multiple locations by moving around the parent device while holding the child device, and based on the maximum throughput among these throughputs. It is conceivable to specify the link speed.

しかしながら、ユーザが測定していない位置が、最大のスループットを取る位置となる可能性があり、リンク速度を精度良く特定することができないという問題がある。また、精度良くリンク速度を特定するには、測定位置を増やす必要があり、ユーザにとって煩雑であるという問題があった。   However, there is a possibility that a position not measured by the user may be a position where the maximum throughput is obtained, and there is a problem that the link speed cannot be specified with high accuracy. In addition, in order to specify the link speed with high accuracy, it is necessary to increase the number of measurement positions, which is problematic for the user.

そこで、本発明はこれらの点に鑑みてなされたものであり、複数の位置においてスループットを測定せずに親機とのリンク速度を精度良く特定することができる通信装置、通信システム、算出方法及び通信プログラムを提供することを目的とする。   Therefore, the present invention has been made in view of these points, and a communication device, a communication system, a calculation method, and a communication device capable of accurately identifying the link speed with the parent device without measuring the throughput at a plurality of positions. An object is to provide a communication program.

本発明の第1の態様に係る通信装置は、電波を発信する親機と無線通信可能な通信装置であって、前記親機に対してサイズの異なるパケットを複数送信し、複数のパケットのそれぞれに対応して、当該パケットを送信してから、前記親機が送信した応答パケットを受信するまでの時間である往復遅延時間を取得する取得部と、前記取得部が取得した複数の往復遅延時間に基づいて、前記サイズの増加量に対する前記往復遅延時間の増加量を算出する増加量算出部と、前記サイズの増加量に対する前記往復遅延時間の増加量に基づいて前記親機とのリンク速度を算出するリンク速度算出部と、を備える。   The communication device according to the first aspect of the present invention is a communication device capable of wireless communication with a parent device that emits radio waves, and transmits a plurality of packets of different sizes to the parent device, each of the plurality of packets. Corresponding to the acquisition unit for acquiring a round-trip delay time that is a time from when the packet is transmitted to when the response packet transmitted by the master is received, and a plurality of round-trip delay times acquired by the acquisition unit And an increase amount calculation unit for calculating an increase amount of the round trip delay time with respect to the increase amount of the size, and a link speed with the base unit based on the increase amount of the round trip delay time with respect to the increase amount of the size. A link speed calculation unit for calculating.

前記増加量算出部は、前記取得部が取得した複数の往復遅延時間のうち、それぞれのサイズのパケットに対応する最小の往復遅延時間に基づいて、前記サイズの増加量に対する前記往復遅延時間の増加量を算出してもよい。   The increase amount calculation unit is configured to increase the round-trip delay time with respect to the size increase amount based on a minimum round-trip delay time corresponding to each size packet among a plurality of round-trip delay times acquired by the acquisition unit. The amount may be calculated.

前記取得部は、前記サイズがそれぞれ異なる前記パケットの組み合わせを1セットとし、複数セットのそれぞれに対応する複数の前記往復遅延時間を取得してもよい。
前記取得部は、前記パケットのサイズに応じて送信間隔を変更しながら前記パケットを前記親機に複数送信してもよい。
The acquisition unit may acquire a plurality of round-trip delay times corresponding to each of a plurality of sets, with a combination of the packets having different sizes as one set.
The acquisition unit may transmit a plurality of the packets to the parent device while changing a transmission interval according to the size of the packet.

前記通信装置は、前記親機の無線通信を中継する中継装置の設置候補位置において送信した所定サイズのパケットに対応する往復遅延時間が、所定の閾値以下である場合に、前記設置候補位置が前記親機に近すぎて、前記中継装置の設置位置として不適切な位置であると判定する判定部と、前記リンク速度算出部が算出した前記リンク速度から算出される実効スループットに基づいて、前記所定の閾値を更新する更新部とをさらに備えてもよい。   When the round-trip delay time corresponding to a packet of a predetermined size transmitted at the installation candidate position of the relay apparatus that relays the wireless communication of the base unit is equal to or less than a predetermined threshold, the communication apparatus Based on an effective throughput calculated from the link speed calculated by the link speed calculation unit and a determination unit that determines that the position is too close to the base unit and inappropriate for the installation position of the relay device And an updating unit that updates the threshold value.

本発明の第2の態様に係る通信システムは、電波を発信する親機と、当該親機と無線通信可能な通信装置とを備える通信システムであって、前記親機は、前記通信装置からパケットを受信したことに応じて、当該通信装置に応答パケットを送信し、前記通信装置は、前記親機に対してサイズの異なるパケットを複数送信し、複数のパケットのそれぞれに対応して、当該パケットを送信してから、前記親機が送信した前記応答パケットを受信するまでの時間である往復遅延時間を取得する取得部と、前記取得部が取得した複数の往復遅延時間に基づいて、前記サイズの増加量に対する前記往復遅延時間の増加量を算出する増加量算出部と、前記サイズの増加量に対する前記往復遅延時間の増加量に基づいて前記親機とのリンク速度を算出するリンク速度算出部とを有する。   A communication system according to a second aspect of the present invention is a communication system including a parent device that transmits radio waves and a communication device that can wirelessly communicate with the parent device, wherein the parent device transmits packets from the communication device. Is transmitted to the communication device in response to receiving the packet, the communication device transmits a plurality of packets of different sizes to the parent device, and each of the packets corresponds to each of the plurality of packets. An acquisition unit that acquires a round-trip delay time that is a time from when the master unit transmits the response packet, and the size based on the plurality of round-trip delay times acquired by the acquisition unit An increase amount calculating unit for calculating an increase amount of the round trip delay time with respect to an increase amount of the network, and a re- link for calculating a link speed with the base unit based on the increase amount of the round trip delay time with respect to the increase amount of the size. And a click rate calculator.

本発明の第3の態様に係る算出方法は、電波を発信する親機とのリンク速度を算出する算出方法であって、前記親機と無線通信可能な通信装置において、前記親機に対してサイズの異なるパケットを複数送信し、複数のパケットのそれぞれに対応して、当該パケットを送信してから、前記親機が送信した応答パケットを受信するまでの時間である往復遅延時間を取得するステップと、取得した複数の往復遅延時間に基づいて、前記サイズの増加量に対する前記往復遅延時間の増加量を算出するステップと、前記サイズの増加量に対する前記往復遅延時間の増加量に基づいて前記親機とのリンク速度を算出するステップと、を備える。   A calculation method according to a third aspect of the present invention is a calculation method for calculating a link speed with a parent device that emits radio waves, and in a communication device capable of wireless communication with the parent device, A step of transmitting a plurality of packets having different sizes, and acquiring a round trip delay time corresponding to each of the plurality of packets until the response packet transmitted by the master unit is received after the packet is transmitted Calculating an increase amount of the round-trip delay time with respect to the increase amount of the size based on the plurality of acquired round-trip delay times; and based on the increase amount of the round-trip delay time with respect to the increase amount of the size. Calculating a link speed with the machine.

本発明の第4の態様に係る通信プログラムは、電波を発信する親機と無線通信可能なコンピュータを、前記親機に対してサイズの異なるパケットを複数送信し、複数のパケットのそれぞれに対応して、当該パケットを送信してから、前記親機が送信した応答パケットを受信するまでの時間である往復遅延時間を取得する取得部、前記取得部が取得した複数の往復遅延時間に基づいて、前記サイズの増加量に対する前記往復遅延時間の増加量を算出する増加量算出部、及び、前記サイズの増加量に対する前記往復遅延時間の増加量に基づいて前記親機とのリンク速度を算出するリンク速度算出部、として機能させる。   According to a fourth aspect of the present invention, there is provided a communication program that transmits a plurality of packets having different sizes to a parent device that is capable of wireless communication with a parent device that emits radio waves, and corresponds to each of the plurality of packets. Then, an acquisition unit that acquires a round-trip delay time that is a time from when the packet is transmitted until the response packet transmitted by the parent device is received, based on the plurality of round-trip delay times acquired by the acquisition unit, An increase amount calculation unit that calculates an increase amount of the round trip delay time with respect to the increase amount of the size, and a link that calculates a link speed with the base unit based on the increase amount of the round trip delay time with respect to the increase amount of the size It functions as a speed calculation unit.

本発明によれば、複数の位置においてスループットを測定せずに親機とのリンク速度を精度良く特定することができるという効果を奏する。   According to the present invention, it is possible to accurately specify the link speed with the parent device without measuring the throughput at a plurality of positions.

本実施形態に係る通信システムの概要を示す図である。It is a figure which shows the outline | summary of the communication system which concerns on this embodiment. 本実施形態に係る通信装置の構成を示す図である。It is a figure which shows the structure of the communication apparatus which concerns on this embodiment. 中継装置の設置位置の適否判定用の画面の一例である。It is an example of the screen for the suitability determination of the installation position of a relay apparatus. 中継装置の設置位置の適否判定用の画面に判定結果及び適切度が表示された例を示す図である。It is a figure which shows the example by which the determination result and the appropriateness were displayed on the screen for the suitability determination of the installation position of a relay apparatus. 実際のスループットが、所定の解像度の映像を視聴するために十分とされるスループットよりも大きい場合のスループット特性の例を示す図である。It is a figure which shows the example of a throughput characteristic in case an actual throughput is larger than the throughput sufficient for viewing the image | video of a predetermined | prescribed resolution. 実際のスループットが、所定の解像度の映像を視聴するために十分とされるスループットよりも小さい場合のスループット特性の例を示す図である。It is a figure which shows the example of a throughput characteristic in case an actual throughput is smaller than the throughput sufficient to view the image | video of a predetermined | prescribed resolution. RTTの要素を説明する図である。It is a figure explaining the element of RTT. パケットに含まれるICMPデータの構成を示す図である。It is a figure which shows the structure of the ICMP data contained in a packet. 取得部が送信したパケットのサイズと、当該パケットに対応して取得したRTTとの関係を表すグラフである。It is a graph showing the relationship between the size of the packet which the acquisition part transmitted, and RTT acquired corresponding to the said packet. 図8Aに、パケットのサイズの増加量に対するRTTの増加量の算出結果に基づく直線を描画した図である。FIG. 8A is a diagram in which a straight line is drawn based on the calculation result of the increase amount of the RTT with respect to the increase amount of the packet size. 設置候補位置の適否の判定に係る処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which concerns on determination of the suitability of an installation candidate position. 第3閾値の更新に係る処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which concerns on the update of a 3rd threshold value.

以下、本発明の実施形態について説明する。
[通信システムSの概要]
図1は、本実施形態に係る通信システムSの概要を示す図である。通信システムSは、親機1と、通信装置2とを備える。通信システムSは、親機1の通信を中継する中継装置の設置候補となる位置を示す設置候補位置が、設置位置として適しているか否かを判定するシステムである。
Hereinafter, embodiments of the present invention will be described.
[Outline of Communication System S]
FIG. 1 is a diagram showing an overview of a communication system S according to the present embodiment. The communication system S includes a parent device 1 and a communication device 2. The communication system S is a system that determines whether or not an installation candidate position indicating a position that is a candidate for installation of a relay device that relays communication of the parent device 1 is suitable as an installation position.

親機1は、電波を発信する機能を有しており、例えば無線LANのアクセスポイントである。通信装置2は、親機1と無線により通信可能な子機であり、スマートフォンやタブレット等の携帯端末である。本実施形態では、親機1が建物内に設置されており、通信装置2を持ったユーザが、当該建物内を自由に移動できることが想定されている。なお、親機1は、無線LANのアクセスポイントに有線により接続されたコンピュータであってもよい。   The base unit 1 has a function of transmitting radio waves, and is, for example, a wireless LAN access point. The communication device 2 is a child device that can communicate with the parent device 1 wirelessly, and is a portable terminal such as a smartphone or a tablet. In the present embodiment, it is assumed that the parent device 1 is installed in a building and a user having the communication device 2 can freely move in the building. The base unit 1 may be a computer connected to a wireless LAN access point by wire.

通信装置2は、ユーザが設置候補位置に位置している場合に当該ユーザから所定の操作を受け付けたことに応じて、親機1に対してエコー要求を行うパケットを送信し、親機1から応答パケットを受信することにより、パケットを送信してから応答パケットを受信するまでの往復遅延時間(Round Trip Time、以下、「RTT」という。)を取得する(図1の(1))。そして、通信装置2は、取得したRTTに基づいて、設置候補位置が中継装置の設置位置として適切か否かを判定する(図1の(2))。そして、通信装置2は、判定結果を通信装置2の表示部に表示させる(図1の(3))。これにより、通信装置2のユーザは、設置候補位置が、中継装置の設置位置として適切であるかを確認することができる。
以下、通信システムSを構成する通信装置2の構成について説明する。
The communication device 2 transmits a packet for performing an echo request to the parent device 1 in response to receiving a predetermined operation from the user when the user is located at the installation candidate position. By receiving the response packet, a round trip time (Round Trip Time, hereinafter referred to as “RTT”) from when the packet is transmitted to when the response packet is received is acquired ((1) in FIG. 1). And the communication apparatus 2 determines whether an installation candidate position is appropriate as an installation position of a relay apparatus based on acquired RTT ((2) of FIG. 1). And the communication apparatus 2 displays a determination result on the display part of the communication apparatus 2 ((3) of FIG. 1). Thereby, the user of the communication apparatus 2 can confirm whether the installation candidate position is appropriate as the installation position of the relay apparatus.
Hereinafter, the configuration of the communication device 2 constituting the communication system S will be described.

[通信装置2の構成例]
図2は、本実施形態に係る通信装置2の構成を示す図である。
通信装置2は、表示部21と、入力部22と、無線部23と、記憶部24と、制御部25とを備える。
[Configuration Example of Communication Device 2]
FIG. 2 is a diagram illustrating a configuration of the communication device 2 according to the present embodiment.
The communication device 2 includes a display unit 21, an input unit 22, a wireless unit 23, a storage unit 24, and a control unit 25.

表示部21は、例えば、液晶ディスプレイや有機EL(Electro-Luminescence)ディスプレイ等により構成される。表示部21は、例えば、制御部25の制御に応じて、中継装置の設置候補位置が、中継装置の設置位置として適切であるか否かを示す画面を表示する。
入力部22は、例えば、ボタンや、表示部21上に配置される接触センサ等により構成されており、通信装置2のユーザから操作入力を受け付ける。
The display unit 21 includes, for example, a liquid crystal display or an organic EL (Electro-Luminescence) display. For example, the display unit 21 displays a screen indicating whether or not the installation candidate position of the relay device is appropriate as the installation position of the relay device according to the control of the control unit 25.
The input unit 22 includes, for example, a button, a contact sensor disposed on the display unit 21, and receives an operation input from the user of the communication device 2.

無線部23は、例えば、無線によって親機1等の外部装置と通信を行う。具体的には、無線部23は、制御部25から出力された信号を変調してRF(Radio Frequency)信号を生成し、アンテナ(不図示)を介して当該RF信号を無線送信する。無線部23は、アンテナを介して受信したRF信号を復調し、復調により得られた信号を制御部25に出力する。   For example, the wireless unit 23 communicates with an external device such as the base unit 1 by wireless. Specifically, the wireless unit 23 modulates the signal output from the control unit 25 to generate an RF (Radio Frequency) signal, and wirelessly transmits the RF signal via an antenna (not shown). The radio unit 23 demodulates the RF signal received via the antenna and outputs a signal obtained by the demodulation to the control unit 25.

記憶部24は、例えば、ROM及びRAM等により構成される。記憶部24は、通信装置2を機能させるための各種プログラムを記憶する。例えば、記憶部24は、通信装置2の制御部25を、後述する取得部251、判定部252、適切度算出部253、表示制御部254、第2閾値算出部255、第3閾値算出部256、増加量算出部257、及びリンク速度算出部258として機能させる通信プログラムとしての速度測定用アプリケーションを記憶する。   The storage unit 24 is configured by, for example, a ROM and a RAM. The storage unit 24 stores various programs for causing the communication device 2 to function. For example, the storage unit 24 controls the control unit 25 of the communication device 2 as an acquisition unit 251, a determination unit 252, an appropriateness calculation unit 253, a display control unit 254, a second threshold calculation unit 255, and a third threshold calculation unit 256, which will be described later. Further, a speed measurement application is stored as a communication program that functions as the increase amount calculation unit 257 and the link speed calculation unit 258.

制御部25は、例えば、CPUにより構成される。制御部25は、記憶部24に記憶されている各種プログラムを実行することにより、通信装置2に係る機能を制御する。制御部25は、取得部251と、判定部252と、適切度算出部253と、表示制御部254と、第2閾値算出部255と、第3閾値算出部256と、増加量算出部257と、リンク速度算出部258とを備える。   The control part 25 is comprised by CPU, for example. The control unit 25 controls functions related to the communication device 2 by executing various programs stored in the storage unit 24. The control unit 25 includes an acquisition unit 251, a determination unit 252, an appropriateness calculation unit 253, a display control unit 254, a second threshold calculation unit 255, a third threshold calculation unit 256, and an increase calculation unit 257. A link speed calculation unit 258.

[設置候補位置の適否の判定]
取得部251、判定部252、適切度算出部253、及び表示制御部254は、協働することにより、中継装置の設置候補位置が、中継装置の設置位置として適切か否かを判定し、判定結果を表示部21に表示させる。以下、取得部251、判定部252、適切度算出部253、及び表示制御部254の、設置候補位置の適否の判定に係る処理について説明する。
[Judgment of appropriateness of installation candidate position]
The acquisition unit 251, the determination unit 252, the appropriateness calculation unit 253, and the display control unit 254 determine whether or not the relay device installation candidate position is appropriate as the relay device installation position by cooperation. The result is displayed on the display unit 21. Hereinafter, processing related to determination of the suitability of the installation candidate positions by the acquisition unit 251, the determination unit 252, the appropriateness calculation unit 253, and the display control unit 254 will be described.

取得部251は、設置候補位置において、通信装置2が、親機1に対して所定サイズのパケットを送信し、当該パケットに対応するRTTを取得する。具体的には、まず、通信装置2のユーザは、通信装置2のメニュー(不図示)から速度測定用アプリケーションを選択し、通信装置2に速度測定用アプリケーションを実行させる。速度測定用アプリケーションが実行されたことに応じて、制御部25は、図3に示す、中継装置の設置位置の適否判定用の画面を表示部21に表示させる。   In the installation candidate position, the acquisition unit 251 transmits a packet of a predetermined size to the parent device 1 at the installation candidate position, and acquires an RTT corresponding to the packet. Specifically, first, the user of the communication device 2 selects a speed measurement application from a menu (not shown) of the communication device 2, and causes the communication device 2 to execute the speed measurement application. In response to the execution of the speed measurement application, the control unit 25 causes the display unit 21 to display a screen for determining suitability of the installation position of the relay device shown in FIG.

図3に示す画面では、開始ボタンが表示されている。ユーザは、通信装置2を持ちながら中継装置の設置候補位置に移動する。そして、ユーザが、当該設置候補位置において開始ボタンを押下すると、取得部251は、ICMP(Internet Control Message Protocol)のpingを実行することにより、親機1に対してエコー要求を行うパケットを親機1に複数回送信する。親機1は、当該パケットを受信したことに応じて、応答パケットを送信する。   In the screen shown in FIG. 3, a start button is displayed. The user moves to the installation candidate position of the relay device while holding the communication device 2. When the user presses the start button at the installation candidate position, the acquisition unit 251 performs ICMP (Internet Control Message Protocol) ping to transmit a packet for making an echo request to the parent device 1. Send to 1 multiple times. Base unit 1 transmits a response packet in response to receiving the packet.

取得部251は、親機1に送信した複数のパケットのそれぞれに対応する応答パケットを受信すると、例えば、応答パケットを受信した時刻から親機1に対してパケットを送信した時刻を減算することにより、複数のパケットのそれぞれに対応する複数のRTTを取得する。また、取得部251は、送信したパケットに対応する応答パケットを所定時間内に受け取らなかった場合、パケットがロスしたものとする。そして、取得部251は、通信装置2が、親機1に対して送信した複数のパケットのそれぞれに対応して応答パケットを取得できたか否かを判定することにより、パケットのロス率を取得する。   When receiving the response packet corresponding to each of the plurality of packets transmitted to the base unit 1, the acquisition unit 251 subtracts the time at which the packet was transmitted to the base unit 1 from the time at which the response packet was received, for example. A plurality of RTTs corresponding to each of the plurality of packets are acquired. Further, if the acquisition unit 251 does not receive a response packet corresponding to the transmitted packet within a predetermined time, it is assumed that the packet is lost. And the acquisition part 251 acquires the packet loss rate by determining whether the communication apparatus 2 was able to acquire the response packet corresponding to each of the some packet transmitted with respect to the main | base station 1. .

また、取得部251は、同一の設置候補位置において取得した複数のRTTを用いて、RTTの平均値及び分散を算出する。また、取得部251は、設置候補位置における親機1の電波の強度を示す電波強度情報を取得する。   In addition, the acquisition unit 251 calculates an average value and variance of RTTs using a plurality of RTTs acquired at the same installation candidate position. In addition, the acquisition unit 251 acquires radio wave intensity information indicating the radio wave intensity of the parent device 1 at the installation candidate position.

判定部252は、所定サイズのパケットに対応する、取得部251が取得したRTTに基づいて、設置候補位置が設置位置として適しているか否かを判定する。具体的には、判定部252は、パケットのロス率及びRTTの平均値に基づいて、設置候補位置が親機1から遠く、中継装置の設置位置として不適切な位置であるか否かを判定する。また、判定部252は、取得部251が設置候補位置において取得した電波強度情報が示す親機1の電波強度に基づいて、設置候補位置が親機1から遠く、中継装置の設置位置として不適切な位置であるか否かを判定する。   The determination unit 252 determines whether the installation candidate position is suitable as the installation position based on the RTT acquired by the acquisition unit 251 corresponding to a packet of a predetermined size. Specifically, the determination unit 252 determines whether the installation candidate position is far from the base unit 1 and is inappropriate as the installation position of the relay device based on the packet loss rate and the average value of the RTT. To do. Further, the determination unit 252 is inappropriate as the installation position of the relay device because the installation candidate position is far from the parent device 1 based on the radio field intensity of the parent device 1 indicated by the radio field intensity information acquired by the acquisition unit 251 at the installation candidate position. It is determined whether the position is correct.

より具体的には、判定部252は、ロス率が、予め定められた第1閾値以上、RTTの平均値が第2閾値以上、又は親機1の電波強度が第4閾値以下である場合に、設置候補位置が親機1から遠く、設置位置として不適切な位置であると判定する。   More specifically, the determination unit 252 determines that the loss rate is equal to or higher than a predetermined first threshold, the average value of RTT is equal to or higher than the second threshold, or the radio field intensity of the parent device 1 is equal to or lower than the fourth threshold. Therefore, it is determined that the installation candidate position is far from the base unit 1 and is inappropriate as the installation position.

例えば、通信装置2が送信したパケットの個数をn、ロス率をloss(n)、第1閾値をth_loss、RTTの平均値をave(n)、第2閾値をth_ave_max、親機1の電波強度をrssi、第4閾値をth_rssi_minとした場合に、判定部252は、以下の式(1)に示す条件式を満たすと、設置候補位置が親機1から遠く、中継装置の設置位置として不適切であると判定する。ここで、記号「||」は、論理和を示している。このようにすることで、通信装置2は、設置候補位置が親機1から遠すぎることをユーザに確認させることができる。なお、th_ave_maxは、所定の解像度の映像を視聴するために最低限必要とされるスループットに基づいて、第2閾値算出部255によって算出される。この算出の方法については後述する。
loss(n) ≧ th_loss || ave(n) ≧ th_ave_max|| rssi ≦ th_rssi_min ・・・(1)
For example, the number of packets transmitted by the communication device 2 is n, the loss rate is loss (n), the first threshold is th_loss, the average value of RTT is ave (n), the second threshold is th_ave_max, and the radio field intensity of the base unit 1 Is set to rssi and the fourth threshold value is th_rssi_min, the determination unit 252 is inappropriate as the installation position of the relay device because the installation candidate position is far from the base unit 1 when the conditional expression shown in the following expression (1) is satisfied. It is determined that Here, the symbol “||” indicates a logical sum. By doing in this way, the communication apparatus 2 can make a user confirm that an installation candidate position is too far from the main | base station 1. FIG. Note that th_ave_max is calculated by the second threshold value calculation unit 255 based on the minimum throughput required to view a video with a predetermined resolution. This calculation method will be described later.
loss (n) ≧ th_loss || ave (n) ≧ th_ave_max || rssi ≦ th_rssi_min (1)

また、判定部252は、RTTの平均値に基づいて、設置候補位置が親機1に近すぎて、中継装置の設置位置として不適切な位置であるか否かを判定する。具体的には、判定部252は、設置候補位置における、所定サイズの複数のパケットの送信に対応するRTTの平均値が第3閾値以下である場合に、当該設置候補位置が親機1に近すぎて、中継装置の設置位置として不適切な位置であると判定する。   Further, the determination unit 252 determines, based on the average value of RTT, whether or not the installation candidate position is too close to the base unit 1 and is an inappropriate position as the relay apparatus installation position. Specifically, when the average value of RTT corresponding to transmission of a plurality of packets of a predetermined size at the installation candidate position is equal to or smaller than the third threshold, the determination unit 252 closes the installation candidate position to the parent device 1. Therefore, it is determined that the position is inappropriate as the installation position of the relay device.

また、判定部252は、取得部251が取得した分散に基づいて、設置候補位置が親機1に近すぎて、設置位置として不適切な位置であるか否かを判定する。具体的には、設置候補位置が親機1に近い場合、設置候補位置が親機1から遠い場合に比べて親機1の電波強度が強いことから、通信の遅延が生じにくく、RTTのばらつきが少なくなる。そこで、判定部252は、設置候補位置におけるRTTの分散が、第5閾値以下である場合に、当該設置候補位置が親機1に近すぎて、中継装置の設置位置として不適切な位置であると判定する。   Further, the determination unit 252 determines whether the installation candidate position is too close to the parent device 1 and is an inappropriate position as the installation position based on the dispersion acquired by the acquisition unit 251. Specifically, when the installation candidate position is close to the base unit 1, the radio wave intensity of the base unit 1 is stronger than when the installation candidate position is far from the base unit 1, so that communication delay is unlikely to occur and RTT variation Less. Therefore, when the RTT variance at the installation candidate positions is equal to or less than the fifth threshold, the determination unit 252 is an inappropriate position as the installation position of the relay device because the installation candidate position is too close to the base unit 1. Is determined.

また、判定部252は、取得部251が設置候補位置において取得した電波強度情報が示す親機1の電波強度に基づいて、設置候補位置が親機1に近すぎて、中継装置の設置位置として不適切な位置であるか否かを判定する。具体的には、判定部252は、親機1の電波強度が、第4閾値よりも大きい第6閾値以上である場合に、設置候補位置が親機1に近すぎて、中継装置の設置位置として不適切な位置であるか否かを判定する。   Further, the determination unit 252 determines that the installation candidate position is too close to the base unit 1 based on the radio field intensity of the base unit 1 indicated by the radio field intensity information acquired by the acquisition unit 251 at the installation candidate position, and is set as the relay device installation position. It is determined whether or not the position is inappropriate. Specifically, when the radio field intensity of base unit 1 is equal to or greater than a sixth threshold value that is greater than the fourth threshold value, determination unit 252 determines that the installation candidate position is too close to base unit 1 and the relay device installation position. It is determined whether the position is inappropriate.

例えば、第3閾値をth_ave_min、RTTの分散をvar(n)、第5閾値をth_var、第6閾値をth_rssi_maxとした場合に、判定部252は、以下の式(2)に示す条件式を満たすと、設置候補位置が親機1に近すぎて中継装置の設置位置として不適切であると判定する。このようにすることで、通信装置2は、設置候補位置が親機1に近すぎることをユーザに確認させることができる。なお、th_ave_min及びth_varは、所定の解像度の映像を視聴するために十分とされるスループットに基づいて、第3閾値算出部256によって算出される。th_ave_minの算出の方法については後述する。
ave(n) ≦ th_ave_min || var(n) ≦ th_var || rssi ≧ th_rssi_max ・・・(2)
For example, when the third threshold value is th_ave_min, the RTT variance is var (n), the fifth threshold value is th_var, and the sixth threshold value is th_rssi_max, the determination unit 252 satisfies the following conditional expression (2): It is determined that the installation candidate position is too close to the base unit 1 and is inappropriate as the installation position of the relay device. By doing in this way, the communication apparatus 2 can make a user confirm that an installation candidate position is too close to the main | base station 1. FIG. Note that th_ave_min and th_var are calculated by the third threshold value calculation unit 256 based on a throughput sufficient for viewing a video with a predetermined resolution. A method of calculating th_ave_min will be described later.
ave (n) ≤ th_ave_min || var (n) ≤ th_var || rssi ≥ th_rssi_max (2)

また、判定部252は、上述の式(1)及び式(2)のいずれの条件式も満たさない場合、設置候補位置が、中継装置の設置位置として適切な位置であると判定する。
ここで、通信装置2のユーザが、最適な設置候補位置を選択するために、通信装置2を持ちながら移動することが考えられる。このため、判定部252は、定期的(例えば1秒おき)に、取得部251が取得したRTTに基づいて、設置候補位置が設置位置として適しているか否かを判定する。例えば、判定部252は、通信装置2が同一の場所に位置している場合に、取得部251が当該同一の場所において過去n秒間に取得した複数のRTTの平均値を算出し、当該統計値が第2閾値以上である場合に、設置候補位置が親機1から遠く、設置候補位置が不適切な位置であると判定してもよい。
Moreover, the determination part 252 determines with a candidate installation position being a suitable position as an installation position of a relay apparatus, when neither conditional expression of the above-mentioned Formula (1) and Formula (2) is satisfy | filled.
Here, it is conceivable that the user of the communication device 2 moves while holding the communication device 2 in order to select an optimal installation candidate position. For this reason, the determination unit 252 determines whether the installation candidate position is suitable as the installation position based on the RTT acquired by the acquisition unit 251 periodically (for example, every second). For example, when the communication device 2 is located at the same location, the determination unit 252 calculates an average value of a plurality of RTTs acquired by the acquisition unit 251 in the past n seconds in the same location, and calculates the statistical value. May be determined that the installation candidate position is far from the parent device 1 and the installation candidate position is an inappropriate position.

この場合、通信装置2は、自身にかかる加速度を検出する加速度検出部(不図示)や、自身の位置を検出する位置検出部(不図示)を備えておき、判定部252は、加速度検出部が検出した加速度、及び位置検出部が検出した通信装置2の位置の少なくともいずれかに基づいて、通信装置2が同一の設置候補位置に位置しているか否かを判定してもよい。このようにすることで、判定部252は、同一の位置において過去n秒間に取得した多くのRTTに基づいて平均値を算出するので、当該同一の位置における電波状況を多く反映した平均値を算出することができる。   In this case, the communication device 2 includes an acceleration detection unit (not shown) that detects acceleration applied to itself, and a position detection unit (not shown) that detects its own position. The determination unit 252 includes an acceleration detection unit. Whether or not the communication device 2 is located at the same installation candidate position may be determined based on at least one of the acceleration detected by and the position of the communication device 2 detected by the position detection unit. In this way, the determination unit 252 calculates an average value based on many RTTs acquired in the past n seconds at the same position, and thus calculates an average value that largely reflects the radio wave situation at the same position. can do.

適切度算出部253は、設置候補位置が設置位置として適していると判定部252が判定した場合に、RTT、所定解像度の映像を視聴するために最低限必要とされるスループット、当該映像を視聴するために十分とされるスループット、及びパケットのサイズとに基づいて、設置候補位置の、設置位置としての適切度を算出する。   When the determination unit 252 determines that the installation candidate position is suitable as the installation position, the appropriateness calculation unit 253 views the RTT, the minimum throughput required to view the video with the predetermined resolution, and the video. The appropriateness of the installation candidate position as the installation position is calculated on the basis of the throughput sufficient for the purpose and the packet size.

具体的には、適切度をGAUGE(n)とすると、適切度算出部253は、以下の式(3)に基づいて適切度を算出する。ここで、ave(n)は、th_ave_minよりも大きく、th_ave_maxよりも小さいことから、式(3)において、適切度は、0よりも大きく、1よりも小さい値となる。ここで、適切度が0.5に近ければ近いほど、設置候補位置が適切であることを示すものとする。また、適切度が0に近ければ近いほど、設置候補位置が親機1に近いことを示し、1に近ければ近いほど、設置候補位置が親機1から遠いことを示している。
GAUGE(n) = (ave(n) - th_ave_min) / (th_ave_max - th_ave_min)・・・(3)
なお、適切度算出部253は、取得部251が設置候補位置において取得した親機1の電波強度に基づいて、設置候補位置の設置位置としての適切度を算出してもよい。
Specifically, assuming that the appropriateness is GAUGE (n), the appropriateness calculating unit 253 calculates the appropriateness based on the following equation (3). Here, since ave (n) is larger than th_ave_min and smaller than th_ave_max, the appropriateness is a value larger than 0 and smaller than 1 in Equation (3). Here, it is assumed that the closer the appropriateness is to 0.5, the more suitable the installation candidate position is. Further, the closer the appropriateness is to 0, the closer the installation candidate position is to the parent device 1, and the closer to 1, the farther the installation candidate position is from the parent device 1.
GAUGE (n) = (ave (n)-th_ave_min) / (th_ave_max-th_ave_min) (3)
The appropriateness calculation unit 253 may calculate the appropriateness as the installation position of the installation candidate position based on the radio wave intensity of the parent device 1 acquired by the acquisition unit 251 at the installation candidate position.

表示制御部254は、判定部252による判定結果、及び適切度算出部253による適切度を示す情報を表示部21に表示させる。具体的には、表示制御部254は、図3に示す、表示部21に表示されている中継装置の設置位置の適否判定用の画面に対して、判定結果及び適切度を表示させる。   The display control unit 254 causes the display unit 21 to display information indicating the determination result by the determination unit 252 and the appropriateness by the appropriateness calculation unit 253. Specifically, the display control unit 254 displays the determination result and the appropriateness on the screen for determining the appropriateness of the installation position of the relay device displayed on the display unit 21 shown in FIG.

図4は、中継装置の設置位置の適否判定用の画面に、判定結果及び適切度が表示された例を示す図である。図4に示すように、適否判定用の画面には、中継装置の設置候補位置が、設置位置として近すぎるか、適切か、遠すぎるかを分類する第1領域221、第2領域222及び第3領域223が表示されている。また、適否判定用の画面には、停止ボタンが表示されており、この停止ボタンがユーザによって押下されると、取得部251がパケットの送信を停止するとともに、判定部252が判定を停止する。   FIG. 4 is a diagram illustrating an example in which the determination result and the appropriateness level are displayed on the screen for determining whether or not the relay apparatus is installed. As shown in FIG. 4, on the screen for determining suitability, the first area 221, the second area 222, and the second area for classifying whether the installation candidate position of the relay device is too close, appropriate, or too far as the installation position. Three areas 223 are displayed. In addition, a stop button is displayed on the suitability determination screen. When the stop button is pressed by the user, the acquisition unit 251 stops packet transmission and the determination unit 252 stops determination.

表示制御部254は、判定結果及び適切度をインジケータ220で示す。具体的には、表示制御部254は、判定結果が適切であることを示している場合、インジケータを第2領域222に表示させる。ここで、表示制御部254は、第1領域221と第2領域222との境界線に対応する横軸上の座標を、適切度「0」に対応する座標Xminとし、第2領域222と第3領域223との境界線に対応する横軸上の座標を、適切度「1」に対応する座標Xmaxとする。そして、表示制御部254は、適切度算出部253が算出した適切度に対応する横軸上の座標Xgaugeを以下の式(4)に基づいて算出し、当該座標Xgaugeにインジケータ220を表示させる。
Xgauge = Xmin + (Xmax - Xmin)*(1 - GAUGE(n)) ・・・(4)
The display control unit 254 indicates the determination result and the appropriateness with the indicator 220. Specifically, the display control unit 254 displays an indicator in the second region 222 when the determination result indicates that it is appropriate. Here, the display control unit 254 sets the coordinate on the horizontal axis corresponding to the boundary line between the first region 221 and the second region 222 as the coordinate Xmin corresponding to the appropriateness “0”, and the second region 222 and the second region 222. The coordinate on the horizontal axis corresponding to the boundary line with the three regions 223 is set as the coordinate Xmax corresponding to the appropriateness “1”. Then, the display control unit 254 calculates the coordinate Xgauge on the horizontal axis corresponding to the appropriateness calculated by the appropriateness calculation unit 253 based on the following equation (4), and displays the indicator 220 on the coordinate Xgauge.
Xgauge = Xmin + (Xmax-Xmin) * (1-GAUGE (n)) (4)

また、表示制御部254は、判定結果が親機1に近すぎることを示している場合、インジケータ220を第1領域221に表示させる。また、表示制御部254は、判定結果が親機1から遠すぎることを示している場合、インジケータ220を第3領域223に表示させる。   Moreover, the display control part 254 displays the indicator 220 on the 1st area | region 221, when the determination result has shown that it is too close to the main | base station 1. FIG. Moreover, the display control part 254 displays the indicator 220 on the 3rd area | region 223, when the determination result has shown that it is too far from the main | base station 1. FIG.

ここで、判定部252が、設置候補位置が設置位置として適しているか否かを定期的に判定することから、表示制御部254は、当該判定の結果に基づいて、定期的にインジケータ220を再描画する。これにより、通信装置2のユーザは、インジケータ220の位置を確認しながら、設置候補位置のうち、最適と考えられる設置候補位置を選択することができる。   Here, since the determination unit 252 periodically determines whether the installation candidate position is suitable as the installation position, the display control unit 254 periodically resets the indicator 220 based on the determination result. draw. Thereby, the user of the communication apparatus 2 can select the installation candidate position considered to be optimal among the installation candidate positions while confirming the position of the indicator 220.

[第2閾値及び第3閾値の算出]
第2閾値算出部255及び第3閾値算出部256は、それぞれ、第2閾値及び第3閾値を算出する。以下、第2閾値及び第3閾値を算出する処理について説明する。
[Calculation of second threshold and third threshold]
The second threshold value calculation unit 255 and the third threshold value calculation unit 256 calculate the second threshold value and the third threshold value, respectively. Hereinafter, processing for calculating the second threshold and the third threshold will be described.

第2閾値算出部255は、所定の解像度の映像を視聴するために最低限必要とされるスループットと、パケットのサイズとに基づいて、当該映像を視聴するために最低限必要とされるRTTを第2閾値として算出する。   The second threshold value calculation unit 255 calculates the minimum RTT required to view the video based on the minimum throughput required to view the video with the predetermined resolution and the packet size. Calculate as the second threshold.

最低限必要とされるスループットをth_min[Mbit/sec]、通信装置2が親機1に対して送信するパケットのサイズをD[byte]とすると、第2閾値th_ave_max[msec]は、以下の式(5)で求められる。例えば、最低限必要とされるスループットが6Mbps、パケットのサイズが56500byteである場合、第2閾値th_ave_maxは、150.6msecと求められる。
th_ave_max=D * 8 * 2 / th_min / 1000・・・(5)
When the minimum required throughput is th_min [Mbit / sec] and the size of the packet transmitted from the communication apparatus 2 to the base unit 1 is D [byte], the second threshold th_ave_max [msec] is expressed by the following equation: Calculated in (5). For example, when the minimum required throughput is 6 Mbps and the packet size is 56500 bytes, the second threshold th_ave_max is calculated to be 150.6 msec.
th_ave_max = D * 8 * 2 / th_min / 1000 (5)

第3閾値算出部256は、所定の解像度の映像を視聴するために十分とされるスループットと、パケットのサイズとに基づいて、当該映像を視聴するために十分とされるRTTを第3閾値として算出する。   The third threshold value calculation unit 256 uses, as a third threshold value, an RTT that is sufficient for viewing the video based on the throughput sufficient for viewing the video with a predetermined resolution and the size of the packet. calculate.

十分とされるスループットをth_max[Mbit/sec]、通信装置2が親機1に対して送信するパケットのサイズをD[byte]とすると、第3閾値th_ave_min[msec]は、以下の式(6)で求められる。例えば、十分とされるスループットが40Mbps、パケットのサイズが56500byteである場合、第3閾値th_ave_minは、22.6msecと求められる。
th_ave_min=D * 8 * 2 / th_max / 1000・・・(6)
Assuming that the sufficient throughput is th_max [Mbit / sec] and the size of the packet transmitted from the communication apparatus 2 to the base unit 1 is D [byte], the third threshold th_ave_min [msec] is expressed by the following equation (6 ). For example, when the sufficient throughput is 40 Mbps and the packet size is 56500 bytes, the third threshold th_ave_min is obtained as 22.6 msec.
th_ave_min = D * 8 * 2 / th_max / 1000 (6)

[第3閾値の更新]
ここで、無線通信において用いる無線LANの仕様や、子機のスペックによっては、実際のスループットが、所定の解像度の映像を視聴するために十分とされるスループットよりも大きかったり、小さかったりすることがある。
[Update the third threshold]
Here, depending on the specifications of the wireless LAN used in the wireless communication and the specifications of the slave unit, the actual throughput may be larger or smaller than the throughput sufficient for viewing a video with a predetermined resolution. is there.

図5Aは、実際のスループットが、所定の解像度の映像を視聴するために十分とされるスループットよりも大きい場合のスループット特性の例を示す図である。図5Bは、実際のスループットが、所定の解像度の映像を視聴するために十分とされるスループットよりも小さい場合のスループット特性の例を示す図である。図5A及び図5Bに示す例では、横軸に、通信装置2が親機1から受信する電波の電波強度を示し、縦軸に、通信装置2が当該電波強度の電波を受信した位置における実際のスループットを示す。   FIG. 5A is a diagram illustrating an example of throughput characteristics when the actual throughput is larger than the throughput that is sufficient to view a video with a predetermined resolution. FIG. 5B is a diagram illustrating an example of throughput characteristics when the actual throughput is smaller than the throughput that is sufficient to view a video with a predetermined resolution. In the example shown in FIGS. 5A and 5B, the horizontal axis indicates the radio wave intensity of the radio wave received by the communication device 2 from the base unit 1, and the vertical axis indicates the actual position at the position where the communication device 2 receives the radio wave having the radio wave intensity. Shows the throughput.

例えば、所定の解像度の映像を視聴するために十分とされるスループットが40Mps、当該映像を視聴するために最低限必要とされるスループットが6Mbpsである場合、図5Aに示すスループット特性では、設置候補位置が親機1に近すぎると判定される電波強度の範囲が、約−75dBm以上となり、通信装置2が親機1から遠い位置であっても親機1に近すぎると判定されてしまう。また、図5Aに示すスループット特性では、設置候補位置が設置位置として適切と判定される電波強度の範囲が、約−75dBmから約−80dBmまでの範囲に限られ、適切と判定されるエリアが限られるという問題がある。   For example, when the throughput sufficient for viewing a video with a predetermined resolution is 40 Mbps and the minimum throughput required for viewing the video is 6 Mbps, the throughput characteristics shown in FIG. The range of the radio wave intensity determined to be too close to the base unit 1 is about −75 dBm or more, and it is determined that the communication device 2 is too close to the base unit 1 even if the communication device 2 is far from the base unit 1. Further, in the throughput characteristics shown in FIG. 5A, the range of the radio wave intensity in which the installation candidate position is determined to be appropriate as the installation position is limited to the range from about −75 dBm to about −80 dBm, and the area determined to be appropriate is limited. There is a problem that is.

また、図5Bでは、設置候補位置が親機1に近すぎると判定される電波強度の範囲が存在せず、設置候補位置が設置位置として適切と判定される電波強度の範囲が、約−85dBm以上となる。これにより、通信装置2が親機1に近い位置であっても設置位置として適切と判定されてしまう。   Further, in FIG. 5B, there is no range of radio field strengths for which it is determined that the installation candidate position is too close to base unit 1, and the radio field intensity range for which the installation candidate position is determined to be appropriate as the installation position is approximately −85 dBm. That's it. Thereby, even if the communication apparatus 2 is a position close | similar to the main | base station 1, it will determine with being suitable as an installation position.

これに対して、通信装置2では、親機に対してサイズの異なるパケットを複数送信し、複数のパケットに対応するRTTを取得する。そして、第3閾値算出部256は、更新部として機能し、当該RTTに基づいて第3閾値を更新する。具体的には、第3閾値の更新は、取得部251、増加量算出部257、リンク速度算出部258及び第3閾値算出部256が協働することにより行われる。以下に、第3閾値の更新に係る処理について説明する。   On the other hand, the communication device 2 transmits a plurality of packets having different sizes to the parent device, and acquires RTTs corresponding to the plurality of packets. And the 3rd threshold value calculation part 256 functions as an update part, and updates a 3rd threshold value based on the said RTT. Specifically, the update of the third threshold value is performed by the cooperation of the acquisition unit 251, the increase amount calculation unit 257, the link speed calculation unit 258, and the third threshold value calculation unit 256. Hereinafter, processing related to the update of the third threshold will be described.

取得部251は、同一位置において、親機1に対してサイズの異なるパケットを複数送信し、複数のパケットのそれぞれに対応して、当該パケットを送信してから、親機1が送信した応答パケットを受信するまでの時間であるRTTを取得する。   The acquisition unit 251 transmits a plurality of packets having different sizes to the parent device 1 at the same position, and transmits the packet corresponding to each of the plurality of packets, and then the response packet transmitted by the parent device 1 RTT which is the time until receiving is acquired.

具体的には、まず、通信装置2のユーザは、通信装置2に速度測定用アプリケーションを実行させた後、所定の操作を行い、第3閾値を設定するための設定画面(不図示)を表示させる。この設定画面には、開始ボタンが表示されている。ユーザが、通信装置2が親機1と通信可能な範囲の任意の位置において開始ボタンを押下すると、取得部251は、当該位置においてICMPのpingを実行して、サイズの異なる複数のパケットの親機1への送信を開始する。そして、取得部251は、親機1に送信した複数のパケットのそれぞれに対応する複数のRTTを取得する。   Specifically, first, the user of the communication device 2 causes the communication device 2 to execute the speed measurement application and then performs a predetermined operation to display a setting screen (not shown) for setting the third threshold value. Let On this setting screen, a start button is displayed. When the user presses the start button at an arbitrary position within the range in which the communication device 2 can communicate with the parent device 1, the acquisition unit 251 executes ICMP ping at the position, and the parent of a plurality of packets having different sizes. Transmission to the machine 1 is started. Then, the acquisition unit 251 acquires a plurality of RTTs corresponding to the plurality of packets transmitted to the parent device 1.

例えば、取得部251は、pingを実行する間隔を100msとし、1バイトから65000バイトまで1バイトずつパケットのサイズを増加させながらpingを実行する。
なお、取得部251は、サイズがそれぞれ異なるパケットの組み合わせを1セットとし、複数セットのそれぞれに対応する複数のRTTを取得してもよい。
For example, the acquisition unit 251 executes the ping while increasing the packet size by 1 byte from 1 byte to 65000 bytes with the interval for executing the ping being 100 ms.
Note that the acquisition unit 251 may acquire a plurality of RTTs corresponding to each of a plurality of sets, with a combination of packets having different sizes as one set.

ここで、パケットの送信間隔が短すぎる場合には、単位時間あたりに送信するデータ量が増えすぎ、親機1に設けられているバッファがオーバフローしてしまい、パケットロスが発生する確率が高くなるという問題がある。そこで、取得部251は、パケットのサイズに応じて送信間隔を変更しながらパケットを親機1に送信してもよい。例えば、取得部251は、パケットのサイズが大きい場合には送信間隔を長くしてもよい。このようにすることで、パケットロスが発生する確率を低くし、取得部251が小さい値のRTTを取得する確率を高めることができる。   Here, when the packet transmission interval is too short, the amount of data transmitted per unit time increases too much, the buffer provided in the base unit 1 overflows, and the probability of packet loss increases. There is a problem. Therefore, the acquisition unit 251 may transmit the packet to the parent device 1 while changing the transmission interval according to the packet size. For example, the acquisition unit 251 may increase the transmission interval when the packet size is large. By doing in this way, the probability that a packet loss will occur can be lowered, and the probability that the acquisition unit 251 will acquire a small value of RTT can be increased.

増加量算出部257は、取得部251が取得した複数のRTTに基づいて、パケットのサイズの増加量に対するRTTの増加量を算出する。具体的には、増加量算出部257は、取得部251が取得した複数のRTTのうち、それぞれのサイズのパケットに対応する最小のRTTに基づいて、パケットのサイズの増加量に対するRTTの増加量(Δmin.RTT / ΔDicmpdata)を算出する。増加量算出部257は、例えば、最小二乗法を用いて、パケットのサイズの増加量に対するRTTの増加量を算出する。   The increase amount calculation unit 257 calculates an increase amount of the RTT with respect to the increase amount of the packet size based on the plurality of RTTs acquired by the acquisition unit 251. Specifically, the increase amount calculation unit 257 increases the RTT increase amount with respect to the increase amount of the packet size based on the minimum RTT corresponding to each size packet among the plurality of RTTs acquired by the acquisition unit 251. (Δmin.RTT / ΔDicmpdata) is calculated. The increase amount calculation unit 257 calculates the increase amount of the RTT with respect to the increase amount of the packet size by using, for example, the least square method.

リンク速度算出部258は、増加量算出部257が算出した、パケットのサイズの増加量に対するRTTの増加量に基づいて親機1とのリンク速度を算出する。ここで、リンク速度は、親機1と、通信装置2との間のスループットの理論上の最大値である。   The link speed calculation unit 258 calculates the link speed with the base unit 1 based on the increase amount of the RTT with respect to the increase amount of the packet size calculated by the increase amount calculation unit 257. Here, the link speed is the theoretical maximum value of the throughput between the parent device 1 and the communication device 2.

ここで、無線通信によってパケットを送受信する際のRTTは、図6に示すように、親機1及び通信装置2における送信待ち(キャリアビジー)時間、ICMPのロード時間(ICMP load)、送信キューの待ち時間、フレーム間スペースとしてのDIFS(DCF Inter Frame Space)及びSIFS(Short Inter Frame Space)、バックオフ時間BO(Backoff)、データフレームの送信時間、ACKの送信時間、及びパケットロスに伴うパケットの再送時間から構成されている。   Here, as shown in FIG. 6, the RTT for transmitting and receiving packets by wireless communication is the transmission waiting (carrier busy) time, the ICMP load time (ICMP load), and the transmission queue of the base unit 1 and the communication device 2. Wait time, DIFS (DCF Inter Frame Space) and SIFS (Short Inter Frame Space), backoff time BO (Backoff), data frame transmission time, ACK transmission time, and packet loss due to packet loss It consists of retransmission time.

送信待ち時間、ICMPのロード時間、送信キューの待ち時間を、それぞれTcb、Ticmp、Tqueuingとし、DIFS、BO、データフレーム、SIFS、ACKの通信にかかる時間を、それぞれTdifs、Tbo、Tdata、Tsifs、Tackとし、パケットロスに伴う再送の時間をTretransとすると、RTTは、以下の式(7)で表される。
RTT = 2Tcb + 2Tdifs + 2Tbo + 2Tdata + 2Tsifs + 2Tack
+ Tretrans + Ticmp + Tqueing・・・(7)
The transmission waiting time, ICMP loading time, and transmission queue waiting time are Tcb, Ticmp, and Tqueuing, respectively, and the communication time of DIFS, BO, data frame, SIFS, and ACK are respectively Tdifs, Tbo, Tdata, Tsifs, If Tack is assumed and retransmission time associated with packet loss is Tretrans, RTT is expressed by the following equation (7).
RTT = 2Tcb + 2Tdifs + 2Tbo + 2Tdata + 2Tsifs + 2Tack
+ Tretrans + Ticmp + Tqueing (7)

ここで、RTTが最小値min.RTTとなるのは、送信待ち時間、送信キューの待ち時間、再送の時間、及びバックオフ時間BOが発生しない時であることから、min.RTTは、以下の式(8)で表される。
min.RTT = 2Tdifs + 2Tdata + 2Tsifs + 2Tack + Ticmp・・・(8)
Here, the RTT is the minimum value min. Since RTT is a transmission waiting time, a transmission queue waiting time, a retransmission time, and a back-off time BO does not occur, min. RTT is expressed by the following equation (8).
min.RTT = 2Tdifs + 2Tdata + 2Tsifs + 2Tack + Ticmp (8)

データフレームは、図7に示すように、物理ヘッダと、PLCP SDU(Physical Layer Convergence Protocol Service Data Unit)とから構成される。そして、物理ヘッダは、PLCPプリアンブル、及びPLCPヘッダから構成され、PLCP SDUは、802.11ヘッダ、IPヘッダ、ICMPヘッダ、ICMPデータ、及びFCS(Frame Check Sequence)から構成される。ここで、ICMPデータのサイズは、取得部251が指定するパケットのサイズに対応している。   As shown in FIG. 7, the data frame includes a physical header and a PLCP SDU (Physical Layer Convergence Protocol Service Data Unit). The physical header includes a PLCP preamble and a PLCP header, and the PLCP SDU includes an 802.11 header, an IP header, an ICMP header, ICMP data, and an FCS (Frame Check Sequence). Here, the size of the ICMP data corresponds to the size of the packet designated by the acquisition unit 251.

PLCPプリアンブル、及びPLCPヘッダに係る通信時間をそれぞれTplcppreamble、Tplcpheaderとし、802.11ヘッダ、IPヘッダ、ICMPヘッダ、ICMPデータ、及びFCSに係るデータ量をそれぞれ、D8011header、Dipheader、Dicmpheader、Dicmpdata、Dfcsとし、PLCPのリンク速度をBとすると、RTTの最小値min.RTTは、以下の式(9)で表される。
min.RTT = 2Tdifs + 2Tdata + 2Tsifs + 2Tack + Ticmp
= 2Tdifs + 2(Tplcppreamble + Tplcpheader)
+ 2 * 8 / B(D8011header + Dipheader + Dicmpheader + Dicmpdata + Dfcs)
+ 2Tsifs + 2Tack + Ticmp・・・(9)
The communication times related to the PLCP preamble and PLCP header are Tplcppreamble and Tplcpheader, respectively, and the data amounts related to the 802.11 header, IP header, ICMP header, ICMP data, and FCS are D8011header, Dipheader, Dicmpheader, Dicmpdata, and Dfcs, respectively. , Where the PLCP link speed is B, the minimum RTT value min. RTT is expressed by the following equation (9).
min.RTT = 2Tdifs + 2Tdata + 2Tsifs + 2Tack + Ticmp
= 2Tdifs + 2 (Tplcppreamble + Tplcpheader)
+ 2 * 8 / B (D8011header + Dipheader + Dicmpheader + Dicmpdata + Dfcs)
+ 2Tsifs + 2Tack + Ticmp (9)

ここで、ICMPデータ以外のデータのサイズは固定値をとることから、式(9)は、式(10)に変換することができる。
min.RTT = 16 / B * Dicmpdata + Const・・・(10)
Here, since the size of data other than ICMP data takes a fixed value, Expression (9) can be converted to Expression (10).
min.RTT = 16 / B * Dicmpdata + Const (10)

式(10)より、RTTの最小値は、パケット(ICMPデータ)のサイズと比例関係にあることが確認できる。ここで、図8Aに、取得部251が送信したパケットのサイズと、当該パケットに対応して取得したRTTとの関係を表すグラフを示す。図8Aからも、パケットのサイズと、当該パケットのサイズに対応するRTTの最小値は、比例関係にあることが確認できる。したがって、パケットのサイズの増加量に対するRTTの最小値の増加量に基づいて、リンク速度を算出することができる。具体的には、パケットのサイズの増加量を△Dicmpdata、RTTの最小値の増加量をΔmin.RTTとすると、リンク速度Bは、以下の式(11)で求められる。
B=16 / (Δmin.RTT / ΔDicmpdata)・・・(11)
From equation (10), it can be confirmed that the minimum value of RTT is proportional to the size of the packet (ICMP data). Here, FIG. 8A shows a graph showing the relationship between the size of the packet transmitted by the acquisition unit 251 and the RTT acquired corresponding to the packet. Also from FIG. 8A, it can be confirmed that the size of the packet and the minimum value of the RTT corresponding to the size of the packet are in a proportional relationship. Therefore, the link speed can be calculated based on the increase amount of the minimum value of the RTT with respect to the increase amount of the packet size. Specifically, assuming that the amount of increase in packet size is ΔDicmpdata and the amount of increase in the minimum value of RTT is Δmin.RTT, the link speed B is obtained by the following equation (11).
B = 16 / (Δmin.RTT / ΔDicmpdata) (11)

図8Bは、図8Aに、増加量算出部257が算出した、パケットのサイズの増加量に対するRTTの増加量の算出結果に基づく直線Lを描画した図である。図8Bに示すように、RTTの最小値に対応して直線Lが描画されていることが確認できる。リンク速度算出部258は、式(11)に基づいて親機とのリンク速度を算出する。   FIG. 8B is a diagram in which a straight line L based on the calculation result of the RTT increase amount with respect to the packet size increase amount calculated by the increase amount calculation unit 257 is drawn in FIG. 8A. As shown in FIG. 8B, it can be confirmed that a straight line L is drawn corresponding to the minimum value of RTT. Link speed calculation unit 258 calculates the link speed with the parent device based on equation (11).

ここで、リンク速度から算出される実効スループットの最大値が映像を視聴するために十分とされるスループットよりも大きい場合、通信装置2に対応するスループット特性は、図5Aに示すものとなり、設置候補位置が親機1に近すぎると判定される範囲が広くなるとともに、設置位置として適切と判定される範囲が限定される。ここで、実効スループットの最大値が、例えばリンク速度の70%程度となる場合、第3閾値算出部256は、リンク速度に0.7を乗算した値を実効スループットの最大値とみなす。   Here, when the maximum value of the effective throughput calculated from the link speed is larger than the throughput sufficient for viewing the video, the throughput characteristic corresponding to the communication device 2 is as shown in FIG. While the range in which it is determined that the position is too close to the parent device 1 is widened, the range in which the position is determined as appropriate as the installation position is limited. Here, when the maximum value of the effective throughput is about 70% of the link speed, for example, the third threshold value calculation unit 256 regards a value obtained by multiplying the link speed by 0.7 as the maximum value of the effective throughput.

第3閾値算出部256は、実効スループットの最大値が映像を視聴するために十分とされるスループットよりも大きい場合に、第3閾値を、当該第3閾値よりも低い値に更新する。具体的には、第3閾値算出部256は、実効スループットの最大値が映像を視聴するために十分とされるスループットよりも所定割合以上(例えば、第3閾値の120%)である場合に、式(6)に示すth_maxに実効スループットの最大値を適用して第3閾値を更新する。このようにすることで、設置候補位置が設置位置として適切と判定される範囲を広げることができる。   The third threshold value calculation unit 256 updates the third threshold value to a value lower than the third threshold value when the maximum value of the effective throughput is larger than the throughput sufficient for viewing the video. Specifically, the third threshold value calculation unit 256, when the maximum value of the effective throughput is a predetermined ratio or more (for example, 120% of the third threshold value) than the throughput that is sufficient for viewing the video, The third threshold is updated by applying the maximum effective throughput to th_max shown in Equation (6). By doing in this way, the range where an installation candidate position is judged appropriate as an installation position can be expanded.

また、実効スループットの最大値が映像を視聴するために十分とされるスループットよりも小さい場合、通信装置2に対応するスループット特性は、図5Bに示すものとなり、設置候補位置が適切と判定される範囲が広くなる。   Further, when the maximum effective throughput is smaller than the throughput sufficient for viewing the video, the throughput characteristic corresponding to the communication device 2 is as shown in FIG. 5B, and the installation candidate position is determined to be appropriate. The range becomes wider.

そこで、第3閾値算出部256は、実効スループットの最大値が映像を視聴するために十分とされるスループットよりも小さい場合に、第3閾値を、当該第3閾値よりも高い値に更新してもよい。具体的には、第3閾値算出部256は、実効スループットの最大値が映像を視聴するために十分とされるスループットよりも所定割合未満(例えば、第3閾値の80%)である場合に、当該第3閾値を、元の値よりも大きい値に更新する。このようにすることで、設置候補位置が設置位置として適切と判定される範囲を狭くすることができる。   Therefore, the third threshold value calculation unit 256 updates the third threshold value to a value higher than the third threshold value when the maximum value of the effective throughput is smaller than the throughput sufficient for viewing the video. Also good. Specifically, the third threshold value calculation unit 256, when the maximum value of the effective throughput is less than a predetermined ratio (for example, 80% of the third threshold value) than the throughput that is sufficient to view the video, The third threshold value is updated to a value larger than the original value. By doing in this way, the range where an installation candidate position is judged appropriate as an installation position can be narrowed.

[設置候補位置の適否の判定に係るフローチャート]
続いて、通信装置2における処理の流れについて説明する。まず、設置候補位置の適否の判定に係る処理の流れについて説明する。図9は、設置候補位置の適否の判定に係る処理の流れを示すフローチャートである。ここで、判定部252の判定間隔はT秒であるものとする。
[Flowchart for Determining Suitability of Installation Candidate Position]
Next, the flow of processing in the communication device 2 will be described. First, the flow of processing relating to the determination of the suitability of the installation candidate position will be described. FIG. 9 is a flowchart showing a flow of processing relating to determination of suitability of the installation candidate positions. Here, it is assumed that the determination interval of the determination unit 252 is T seconds.

まず、取得部251は、開始操作を受け付けたか否かを判定する(S1)。具体的には、取得部251は、図3に示す中継装置の設置位置の適否判定用の画面において開始ボタンが押下されたか否かを判定する。取得部251は、開始ボタンが押下されたと判定すると、S2に処理を移し、開始ボタンが押下されていないと判定すると、S1を再実行する。   First, the acquisition unit 251 determines whether a start operation has been accepted (S1). Specifically, the acquisition unit 251 determines whether or not the start button is pressed on the screen for determining suitability of the installation position of the relay device illustrated in FIG. If the acquisition unit 251 determines that the start button has been pressed, the process proceeds to S2, and if it determines that the start button has not been pressed, the acquisition unit 251 re-executes S1.

続いて、取得部251は、ICMPのpingを実行して親機1に対してパケットを送信する(S2)。ここで、取得部251は、T秒よりも短い時間ごと(例えば、数十ミリ秒ごと)にパケットの送信を行う。これにより、取得部251は、親機1に対して複数のパケットを送信する。続いて、取得部251は、パケットの送信を開始してから、T秒経過したか否かを判定する(S3)。取得部251は、T秒経過したと判定すると、S4に処理を移し、T秒経過していないと判定すると、S2に処理を移す。   Subsequently, the acquisition unit 251 performs ICMP ping and transmits a packet to the parent device 1 (S2). Here, the acquisition unit 251 transmits a packet every time shorter than T seconds (for example, every several tens of milliseconds). Thereby, the acquisition unit 251 transmits a plurality of packets to the parent device 1. Subsequently, the acquisition unit 251 determines whether or not T seconds have elapsed since the start of packet transmission (S3). If the acquisition unit 251 determines that T seconds have elapsed, it moves the process to S4, and if it determines that T seconds have not elapsed, it moves the process to S2.

続いて、取得部251は、S2において送信されたパケットに対応する複数のRTTを取得する(S4)。ここで、取得部251は、T秒間に送信したパケットに対応する複数のRTTに基づいてRTT平均値及び分散を算出するとともに、パケットのロス率を算出する。   Subsequently, the acquisition unit 251 acquires a plurality of RTTs corresponding to the packet transmitted in S2 (S4). Here, the acquisition unit 251 calculates an RTT average value and variance based on a plurality of RTTs corresponding to packets transmitted for T seconds, and calculates a packet loss rate.

続いて、判定部252は、パケットのロス率及びRTTに基づいて、設置候補位置が親機1から遠すぎるか否かを判定する(S5)。具体的には、判定部252は、式(1)に示す条件式を満たすか否か判定を行う。判定部252は、当該条件式を満たすと、設置候補位置が親機1から遠すぎると判定し、S6に処理を移す。その後、表示制御部254は、S6において、インジケータ220を第3領域223に表示させる。その後、表示制御部254は、S11に処理を移す。   Subsequently, the determination unit 252 determines whether the installation candidate position is too far from the parent device 1 based on the packet loss rate and the RTT (S5). Specifically, the determination unit 252 determines whether or not the conditional expression shown in Expression (1) is satisfied. If the determination unit 252 satisfies the conditional expression, the determination unit 252 determines that the installation candidate position is too far from the parent device 1, and moves the process to S6. Thereafter, the display control unit 254 causes the indicator 220 to be displayed in the third region 223 in S6. Thereafter, the display control unit 254 moves the process to S11.

また、判定部252は、S5において、設置候補位置が親機1から遠すぎないと判定した場合、S7に処理を移す。そして、判定部252は、S7において、RTTの平均値及びRTTの分散に基づいて、設置候補位置が親機1に近すぎるか否かを判定する。具体的には、判定部252は、式(2)に示す条件式を満たすか否かを判定する。判定部252は、当該条件式を満たすと、設置候補位置が親機1に近すぎると判定し、S8に処理を移す。その後、表示制御部254は、S8においてインジケータ220を第1領域221に表示させる。その後、表示制御部254は、S11に処理を移す。   If the determination unit 252 determines in S5 that the installation candidate position is not too far from the parent device 1, the process proceeds to S7. In S7, determination unit 252 determines whether the installation candidate position is too close to base unit 1 based on the average value of RTT and the dispersion of RTT. Specifically, the determination unit 252 determines whether or not the conditional expression shown in Expression (2) is satisfied. If the determination unit 252 satisfies the conditional expression, the determination unit 252 determines that the installation candidate position is too close to the parent device 1, and moves the process to S8. Thereafter, the display control unit 254 displays the indicator 220 in the first area 221 in S8. Thereafter, the display control unit 254 moves the process to S11.

また、判定部252は、S7において、設置候補位置が親機1に近すぎないと判定すると、設置候補位置が適切な位置にあると判定し、S9に処理を移す。適切度算出部253は、S9において、設置候補位置の適切度を算出する。   If the determination unit 252 determines in S7 that the installation candidate position is not too close to the parent device 1, the determination unit 252 determines that the installation candidate position is in an appropriate position, and moves the process to S9. In S9, the appropriateness calculation unit 253 calculates the appropriateness of the installation candidate position.

続いて、表示制御部254は、S10において算出された適切度に基づいてインジケータ220を第2領域222に表示させる。その後、表示制御部254は、S11に処理を移す。   Subsequently, the display control unit 254 displays the indicator 220 in the second region 222 based on the appropriateness calculated in S10. Thereafter, the display control unit 254 moves the process to S11.

S11において、取得部251は、設置位置の適否判定の停止操作を受け付けたか否かを判定する。具体的には、取得部251は、図4に示す中継装置の設置位置の適否判定用の画面において停止ボタンが押下されたか否かを判定する。取得部251は、停止ボタンが押下されたと判定すると、本フローチャートに係る処理を終了し、停止ボタンが押下されていないと判定すると、S2に処理を移す。   In S11, the acquisition unit 251 determines whether or not a stop operation for determining whether or not the installation position is appropriate has been received. Specifically, the acquisition unit 251 determines whether or not a stop button has been pressed on the screen for determining suitability of the installation position of the relay device illustrated in FIG. When the acquisition unit 251 determines that the stop button has been pressed, the acquisition unit 251 ends the process according to the flowchart, and when it determines that the stop button has not been pressed, the acquisition unit 251 moves the process to S2.

[第3閾値の更新に係るフローチャート]
続いて、第3閾値の更新に係る処理の流れについて説明する。図10は、第3閾値の更新に係る処理の流れを示すフローチャートである。
[Flowchart for Updating Third Threshold]
Next, the flow of processing related to the update of the third threshold will be described. FIG. 10 is a flowchart showing a flow of processing relating to the update of the third threshold.

まず、取得部251は、第3閾値を設定するための設定画面において開始操作を受け付けたか否かを判定する(S21)。取得部251は、開始操作を受け付けたと判定すると、S22に処理を移し、開始操作を受け付けていないと判定すると、S21を再実行する。   First, the acquisition unit 251 determines whether or not a start operation has been received on the setting screen for setting the third threshold (S21). If the acquisition unit 251 determines that the start operation has been accepted, the process proceeds to S22. If the acquisition unit 251 determines that the start operation has not been received, the acquisition unit 251 re-executes S21.

続いて、取得部251は、サイズがそれぞれ異なる複数のパケットを送信し(S22)、複数のパケットのそれぞれに対応するRTTを取得する(S23)。続いて、取得部251は、S22における複数のパケットの送信を予め定められた回数(N回)行ったか否かを判定する(S24)。取得部251は、複数のパケットの送信をN回行ったと判定するとS25に処理を移し、所定期間が経過していないと判定すると、S22に処理を移す。   Subsequently, the acquisition unit 251 transmits a plurality of packets having different sizes (S22), and acquires an RTT corresponding to each of the plurality of packets (S23). Subsequently, the acquisition unit 251 determines whether or not transmission of a plurality of packets in S22 has been performed a predetermined number of times (N times) (S24). If the acquisition unit 251 determines that the transmission of a plurality of packets has been performed N times, it moves the process to S25, and if it determines that the predetermined period has not elapsed, it moves the process to S22.

続いて、増加量算出部257は、それぞれのサイズのパケットに対応する最小のRTTに基づいて、パケットのサイズの増加量に対するRTTの増加量を算出する(S25)。
続いて、リンク速度算出部258は、パケットのサイズの増加量に対するRTTの増加量に基づいて親機1とのリンク速度を算出する(S26)。
Subsequently, the increase amount calculation unit 257 calculates the increase amount of the RTT with respect to the increase amount of the packet size based on the minimum RTT corresponding to each size packet (S25).
Subsequently, the link speed calculation unit 258 calculates the link speed with the base unit 1 based on the increase amount of the RTT with respect to the increase amount of the packet size (S26).

続いて、第3閾値算出部256は、リンク速度算出部258が測定したリンク速度に基づいて実効スループットの最大値を算出する(S27)。
続いて、第3閾値算出部256は、S27において算出した実効スループットの最大値が、映像を視聴するために十分とされるスループットよりも大きいか否かを判定する(S28)。第3閾値算出部256は、実効スループットの最大値が、映像を視聴するために十分とされるスループットよりも大きいと判定すると、S29に処理を移し、第3閾値を当該第3閾値よりも低い値に更新する。また、第3閾値算出部256は、実効スループットの最大値が、映像を視聴するために十分とされるスループット以下であると判定すると、本フローチャートの処理を終了する。第3閾値算出部256は、実効スループットの最大値が、映像を視聴するために十分とされるスループット以下である場合に、第3閾値を元の値よりも大きい値に更新してもよい。
Subsequently, the third threshold value calculation unit 256 calculates the maximum value of the effective throughput based on the link speed measured by the link speed calculation unit 258 (S27).
Subsequently, the third threshold value calculation unit 256 determines whether or not the maximum value of the effective throughput calculated in S27 is larger than the throughput sufficient for viewing the video (S28). If the third threshold value calculation unit 256 determines that the maximum value of the effective throughput is larger than the throughput that is sufficient for viewing the video, the third threshold value calculation unit 256 moves the process to S29 and sets the third threshold value lower than the third threshold value. Update to value. If the third threshold value calculation unit 256 determines that the maximum value of the effective throughput is equal to or less than the throughput that is sufficient for viewing the video, the third threshold value calculation unit 256 ends the process of this flowchart. The third threshold value calculation unit 256 may update the third threshold value to a value larger than the original value when the maximum value of the effective throughput is equal to or less than the throughput sufficient for viewing the video.

[本実施形態における効果]
以上のとおり、本実施形態に係る通信システムSでは、通信装置2が、親機1とのRTTを取得し、当該RTTに基づいて、設置候補位置が中継装置の設置位置として適しているか否かを判定する。ここで、通信装置2は、ICMPのpingを使用してRTTを取得し、当該RTTに基づいて上記判定を行うことから、スマートフォン等の携帯端末を通信装置2として用いることができる。よって、通信システムSでは、専用の通信装置を用いることなく中継装置の設置候補位置が設置位置として適しているか否かを判定することができる。
[Effect in this embodiment]
As described above, in the communication system S according to the present embodiment, the communication device 2 acquires the RTT with the base unit 1, and based on the RTT, whether or not the installation candidate position is suitable as the installation position of the relay device. Determine. Here, since the communication apparatus 2 acquires RTT using ICMP ping and performs the above determination based on the RTT, a mobile terminal such as a smartphone can be used as the communication apparatus 2. Therefore, in the communication system S, it is possible to determine whether or not the candidate position of the relay device is suitable as the installation position without using a dedicated communication device.

また、通信装置2は、親機1に対してサイズの異なるパケットを複数送信し、複数のパケットのそれぞれに対応してRTTを取得し、当該複数のRTTに基づいて算出したパケットのサイズの増加量に対するRTTの増加量に基づいて親機1とのリンク速度を算出する。このように、通信装置2は、複数のパケットのそれぞれに対応した複数のRTTに基づいてリンク速度を算出するので、複数の位置においてスループットを測定せずに親機とのリンク速度を精度良く特定することができる。   Further, the communication device 2 transmits a plurality of packets having different sizes to the base unit 1, acquires an RTT corresponding to each of the plurality of packets, and increases the packet size calculated based on the plurality of RTTs. Based on the amount of increase in RTT with respect to the amount, the link speed with base unit 1 is calculated. In this way, the communication device 2 calculates the link speed based on a plurality of RTTs corresponding to each of a plurality of packets, so that the link speed with the parent device can be accurately identified without measuring the throughput at a plurality of positions. can do.

また、通信装置2は、サイズがそれぞれ異なるパケットの組み合わせを1セットとし、複数セットのそれぞれに対応する複数のRTTを取得するので、同一サイズのパケットによるRTTを複数取得することができる。これにより、通信装置2は、同一サイズのRTTの中からロスが最も少ないRTTを選択することができ、当該RTTに基づいて精度良くリンク速度を算出することができる。   Further, since the communication device 2 obtains a plurality of RTTs corresponding to each of a plurality of sets by combining a combination of packets having different sizes, it is possible to obtain a plurality of RTTs using packets of the same size. Thereby, the communication apparatus 2 can select the RTT with the least loss from the RTTs of the same size, and can calculate the link speed with high accuracy based on the RTT.

また、通信装置2は、実効スループットの最大値が、映像を視聴するために十分とされるスループットよりも大きい場合又は十分とされるスループット以下である場合に、第3閾値を実効スループットの最大値に基づいて更新するので、設置候補位置が設置位置として適切と判定される範囲が狭い場合、又は設置候補位置が設置位置として適切と判定される範囲が広すぎる場合に、当該範囲を調整することができる。   Further, the communication device 2 sets the third threshold value to the maximum value of the effective throughput when the maximum value of the effective throughput is larger than the throughput that is sufficient for viewing the video or less than the sufficient throughput. If the range where the installation candidate position is determined to be appropriate as the installation position is narrow, or the range where the installation candidate position is determined to be appropriate as the installation position is too wide, the range is adjusted. Can do.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更又は改良を加えることが可能であることが当業者に明らかである。特に、装置の分散・統合の具体的な実施形態は以上に図示するものに限られず、その全部又は一部について、種々の付加等に応じて、又は、機能負荷に応じて、任意の単位で機能的又は物理的に分散・統合して構成することができる。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above embodiment. In particular, the specific embodiments of the distribution / integration of the devices are not limited to those illustrated above, and all or a part thereof may be added in arbitrary units according to various additions or according to functional loads. It can be configured functionally or physically distributed and integrated.

例えば、上述の実施形態では、設置候補位置の適否の判定と、第3閾値の設定とをそれぞれ別に行うこととしたが、これに限らない。例えば、通信装置2は、設置候補位置の適否の判定と、第3閾値の設定とをそれぞれ並行して行ってもよい。   For example, in the above-described embodiment, the determination of the suitability of the installation candidate position and the setting of the third threshold value are performed separately, but the present invention is not limited to this. For example, the communication device 2 may perform the determination of the appropriateness of the installation candidate position and the setting of the third threshold value in parallel.

具体的には、取得部251は、パケットのサイズを1400バイトとしてpingを100回実行してRTTを取得し、その後、pingにおいて送信するパケットのサイズを32バイトとしてpingを100回実行してRTTを取得する。なお、パケットのサイズ及びpingの実行回数は、上述した回数に限定されるものではない。   Specifically, the acquisition unit 251 acquires the RTT by executing ping 100 times with a packet size of 1400 bytes, and then executes the ping 100 times with the size of the packet transmitted in the ping being 32 bytes. To get. The packet size and the number of executions of ping are not limited to the above-described number.

そして、判定部252は、パケットのサイズを1400バイトとした場合のRTTに基づいて、設置候補位置が設置位置として適しているか否かを判定する。
また、増加量算出部257は、パケットのサイズを1400バイトとした場合のRTTと、パケットのサイズを32バイトとした場合のRTTとに基づいてRTTの増加量を算出し、リンク速度算出部258は、増加量算出部257が算出した、パケットのサイズの増加量に対するRTTの増加量に基づいて親機1とのリンク速度を算出する。そして、第3閾値算出部256は、当該リンク速度に基づいて実効スループットの最大値を算出し、当該実効スループットの最大値に基づいて第3閾値を更新する。
Then, the determination unit 252 determines whether or not the installation candidate position is suitable as the installation position based on the RTT when the packet size is 1400 bytes.
Further, the increase amount calculation unit 257 calculates the increase amount of the RTT based on the RTT when the packet size is 1400 bytes and the RTT when the packet size is 32 bytes, and the link speed calculation unit 258. Calculates the link speed with the base unit 1 based on the increase amount of the RTT with respect to the increase amount of the packet size calculated by the increase amount calculation unit 257. Then, the third threshold value calculation unit 256 calculates the maximum value of the effective throughput based on the link speed, and updates the third threshold value based on the maximum value of the effective throughput.

通信装置2は、これら取得部251、判定部252、増加量算出部257、リンク速度算出部258、第3閾値算出部256の処理を繰り返し行うことにより、設置候補位置の適否の判定と、第3閾値の設定とをそれぞれ並行して、リアルタイムに行ってもよい。このようにすることで、第3閾値がリアルタイムに更新され、設置候補位置が設置位置として適しているか否かを精度よく判定することができる。   The communication device 2 repeats the processes of the acquisition unit 251, the determination unit 252, the increase amount calculation unit 257, the link speed calculation unit 258, and the third threshold value calculation unit 256, thereby determining whether the installation candidate position is appropriate. The three threshold values may be set in parallel and in real time. By doing in this way, a 3rd threshold value is updated in real time, and it can be determined accurately whether an installation candidate position is suitable as an installation position.

また、上述の実施形態では、RTTの平均値に基づいて、判定部252が、設置候補位置が中継装置の設置位置として適切か否かを判定したり、第3閾値算出部256が、第3閾値の更新を行ったりしたが、これに限らない。例えば、取得部251が、RTTの中央値や最小値といったRTTの統計値を取得してもよい。そして、判定部252が、当該統計値に基づいて設置候補位置が中継装置の設置位置として適切か否かを判定したり、第3閾値算出部256が、当該統計値に基づいて第3閾値の更新を行ったりしてもよい。   Further, in the above-described embodiment, the determination unit 252 determines whether the installation candidate position is appropriate as the installation position of the relay device based on the average value of the RTT, or the third threshold calculation unit 256 performs the third operation. Although the threshold value has been updated, the present invention is not limited to this. For example, the acquisition unit 251 may acquire an RTT statistical value such as a median value or a minimum value of the RTT. Then, the determination unit 252 determines whether the installation candidate position is appropriate as the installation position of the relay device based on the statistical value, or the third threshold value calculation unit 256 determines the third threshold value based on the statistical value. An update may be performed.

1・・・親機、2・・・通信装置、21・・・表示部、22・・・入力部、23・・・通信部、24・・・記憶部、25・・・制御部、251・・・取得部、252・・・判定部、253・・・適切度算出部、254・・・表示制御部、255・・・第2閾値算出部、256・・・第3閾値算出部、257・・・増加量算出部、258・・・リンク速度算出部、3・・・子機、S・・・通信システム DESCRIPTION OF SYMBOLS 1 ... Master machine, 2 ... Communication apparatus, 21 ... Display part, 22 ... Input part, 23 ... Communication part, 24 ... Memory | storage part, 25 ... Control part, 251 ... acquisition unit, 252 ... determination unit, 253 ... adequacy calculation unit, 254 ... display control unit, 255 ... second threshold calculation unit, 256 ... third threshold calculation unit, 257 ... Increase amount calculation unit, 258 ... Link speed calculation unit, 3 ... Slave unit, S ... Communication system

Claims (8)

電波を発信する親機と無線通信可能な通信装置であって、
前記親機に対してサイズの異なるパケットを複数送信し、複数のパケットのそれぞれに対応して、当該パケットを送信してから、前記親機が送信した応答パケットを受信するまでの時間である往復遅延時間を取得する取得部と、
前記取得部が取得した複数の往復遅延時間に基づいて、前記サイズの増加量に対する前記往復遅延時間の増加量を算出する増加量算出部と、
前記サイズの増加量に対する前記往復遅延時間の増加量に基づいて前記親機とのリンク速度を算出するリンク速度算出部と、
を備える通信装置。
A communication device capable of wireless communication with a parent device that emits radio waves,
A round trip which is a time from when a plurality of packets having different sizes are transmitted to the parent device and corresponding to each of the plurality of packets until the response packet transmitted by the parent device is received. An acquisition unit for acquiring a delay time;
Based on a plurality of round-trip delay times acquired by the acquisition unit, an increase amount calculation unit that calculates an increase amount of the round-trip delay time with respect to the increase amount of the size;
A link speed calculation unit that calculates a link speed with the base unit based on an increase amount of the round trip delay time with respect to an increase amount of the size;
A communication device comprising:
前記増加量算出部は、前記取得部が取得した複数の往復遅延時間のうち、それぞれのサイズのパケットに対応する最小の往復遅延時間に基づいて、前記サイズの増加量に対する前記往復遅延時間の増加量を算出する、
請求項1に記載の通信装置。
The increase amount calculation unit is configured to increase the round-trip delay time with respect to the size increase amount based on a minimum round-trip delay time corresponding to each size packet among a plurality of round-trip delay times acquired by the acquisition unit. Calculate the quantity,
The communication apparatus according to claim 1.
前記取得部は、前記サイズがそれぞれ異なる前記パケットの組み合わせを1セットとし、複数セットのそれぞれに対応する複数の前記往復遅延時間を取得する、
請求項1又は2に記載の通信装置。
The acquisition unit takes a combination of the packets having different sizes as one set, and acquires a plurality of round-trip delay times corresponding to each of a plurality of sets.
The communication apparatus according to claim 1 or 2.
前記取得部は、前記パケットのサイズに応じて送信間隔を変更しながら前記パケットを前記親機に複数送信する、
請求項1から3のいずれか1項に記載の通信装置。
The acquisition unit transmits a plurality of the packets to the base unit while changing a transmission interval according to the size of the packet.
The communication apparatus according to any one of claims 1 to 3.
前記親機の無線通信を中継する中継装置の設置候補位置において送信した所定サイズのパケットに対応する往復遅延時間が、所定の閾値以下である場合に、前記設置候補位置が前記親機に近すぎて、前記中継装置の設置位置として不適切な位置であると判定する判定部と、
前記リンク速度算出部が算出した前記リンク速度から算出される実効スループットに基づいて、前記所定の閾値を更新する更新部とをさらに備える、
請求項1から4のいずれか1項に記載の通信装置。
If the round-trip delay time corresponding to a packet of a predetermined size transmitted at the installation candidate position of the relay device that relays the wireless communication of the base unit is equal to or less than a predetermined threshold, the installation candidate position is too close to the base unit A determination unit for determining that the position is inappropriate as an installation position of the relay device;
An update unit that updates the predetermined threshold based on an effective throughput calculated from the link speed calculated by the link speed calculation unit;
The communication apparatus according to any one of claims 1 to 4.
電波を発信する親機と、当該親機と無線通信可能な通信装置とを備える通信システムであって、
前記親機は、前記通信装置からパケットを受信したことに応じて、当該通信装置に応答パケットを送信し、
前記通信装置は、
前記通信装置が、前記親機に対してサイズの異なるパケットを複数送信し、複数のパケットのそれぞれに対応して、当該パケットを送信してから、前記親機が送信した前記応答パケットを受信するまでの時間である往復遅延時間を取得する取得部と、
前記取得部が取得した複数の往復遅延時間に基づいて、前記サイズの増加量に対する前記往復遅延時間の増加量を算出する増加量算出部と、
前記サイズの増加量に対する前記往復遅延時間の増加量に基づいて前記親機とのリンク速度を算出するリンク速度算出部とを有する、
通信システム。
A communication system comprising a parent device for transmitting radio waves and a communication device capable of wireless communication with the parent device,
In response to receiving the packet from the communication device, the base unit transmits a response packet to the communication device,
The communication device
The communication device transmits a plurality of packets having different sizes to the parent device, and transmits the packet corresponding to each of the plurality of packets, and then receives the response packet transmitted by the parent device. An acquisition unit for acquiring a round-trip delay time which is a time until,
Based on a plurality of round-trip delay times acquired by the acquisition unit, an increase amount calculation unit that calculates an increase amount of the round-trip delay time with respect to the increase amount of the size;
A link speed calculation unit that calculates a link speed with the base unit based on an increase amount of the round-trip delay time with respect to an increase amount of the size,
Communications system.
電波を発信する親機とのリンク速度を算出する算出方法であって、
前記親機と無線通信可能な通信装置において、前記親機に対してサイズの異なるパケットを複数送信し、複数のパケットのそれぞれに対応して、当該パケットを送信してから、前記親機が送信した応答パケットを受信するまでの時間である往復遅延時間を取得するステップと、
取得した複数の往復遅延時間に基づいて、前記サイズの増加量に対する前記往復遅延時間の増加量を算出するステップと、
前記サイズの増加量に対する前記往復遅延時間の増加量に基づいて前記親機とのリンク速度を算出するステップと、
を備える算出方法。
A calculation method for calculating a link speed with a parent device that transmits radio waves,
In the communication device capable of wireless communication with the parent device, the plurality of packets having different sizes are transmitted to the parent device, and the parent device transmits the packets corresponding to each of the plurality of packets. Obtaining a round trip delay time which is a time until receiving the response packet,
Calculating an increase amount of the round trip delay time with respect to the increase amount of the size based on the plurality of acquired round trip delay times;
Calculating a link speed with the base unit based on an increase amount of the round trip delay time with respect to an increase amount of the size;
A calculation method comprising:
電波を発信する親機と無線通信可能なコンピュータを、
前記親機に対してサイズの異なるパケットを複数送信し、複数のパケットのそれぞれに対応して、当該パケットを送信してから、前記親機が送信した応答パケットを受信するまでの時間である往復遅延時間を取得する取得部、
前記取得部が取得した複数の往復遅延時間に基づいて、前記サイズの増加量に対する前記往復遅延時間の増加量を算出する増加量算出部、及び、
前記サイズの増加量に対する前記往復遅延時間の増加量に基づいて前記親機とのリンク速度を算出するリンク速度算出部、
として機能させる通信プログラム。
A computer that can communicate wirelessly with the parent device
A round trip which is a time from when a plurality of packets having different sizes are transmitted to the parent device and corresponding to each of the plurality of packets until the response packet transmitted by the parent device is received. An acquisition unit for acquiring a delay time,
Based on a plurality of round-trip delay times acquired by the acquisition unit, an increase amount calculation unit that calculates an increase amount of the round-trip delay time with respect to the increase amount of the size, and
A link speed calculation unit that calculates a link speed with the base unit based on an increase amount of the round trip delay time with respect to an increase amount of the size;
Communication program to function as.
JP2015013051A 2015-01-27 2015-01-27 Communication apparatus, communication system, calculation method, and communication program Active JP6055852B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015013051A JP6055852B2 (en) 2015-01-27 2015-01-27 Communication apparatus, communication system, calculation method, and communication program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015013051A JP6055852B2 (en) 2015-01-27 2015-01-27 Communication apparatus, communication system, calculation method, and communication program

Publications (2)

Publication Number Publication Date
JP2016139892A true JP2016139892A (en) 2016-08-04
JP6055852B2 JP6055852B2 (en) 2016-12-27

Family

ID=56560555

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015013051A Active JP6055852B2 (en) 2015-01-27 2015-01-27 Communication apparatus, communication system, calculation method, and communication program

Country Status (1)

Country Link
JP (1) JP6055852B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004289583A (en) * 2003-03-24 2004-10-14 Kddi R & D Laboratories Inc Dynamic image compression coding transmitting/receiving device
JP2004312725A (en) * 2003-03-27 2004-11-04 Docomo Communications Laboratories Usa Inc Method and apparatus for determining quality of service
JP2006013920A (en) * 2004-06-25 2006-01-12 Fujitsu Ltd Program, device, and method for failure analysis, and recording medium
JP2009005368A (en) * 2007-03-30 2009-01-08 Panasonic Corp Zone management apparatus
JP2011509025A (en) * 2007-12-31 2011-03-17 インテル・コーポレーション Optimal placement and configuration technology for infrastructure relay nodes in wireless networks
JP2011114416A (en) * 2009-11-24 2011-06-09 Panasonic Electric Works Co Ltd Radio wave state display device
JP2014220621A (en) * 2013-05-07 2014-11-20 アンリツネットワークス株式会社 Packet processing method and packet processing device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004289583A (en) * 2003-03-24 2004-10-14 Kddi R & D Laboratories Inc Dynamic image compression coding transmitting/receiving device
JP2004312725A (en) * 2003-03-27 2004-11-04 Docomo Communications Laboratories Usa Inc Method and apparatus for determining quality of service
JP2006013920A (en) * 2004-06-25 2006-01-12 Fujitsu Ltd Program, device, and method for failure analysis, and recording medium
JP2009005368A (en) * 2007-03-30 2009-01-08 Panasonic Corp Zone management apparatus
JP2011509025A (en) * 2007-12-31 2011-03-17 インテル・コーポレーション Optimal placement and configuration technology for infrastructure relay nodes in wireless networks
JP2011114416A (en) * 2009-11-24 2011-06-09 Panasonic Electric Works Co Ltd Radio wave state display device
JP2014220621A (en) * 2013-05-07 2014-11-20 アンリツネットワークス株式会社 Packet processing method and packet processing device

Also Published As

Publication number Publication date
JP6055852B2 (en) 2016-12-27

Similar Documents

Publication Publication Date Title
US20170289926A1 (en) Transmit power control for uplink transmissions
JP6239769B2 (en) AP location query
US10470119B2 (en) Terminal apparatus, communication control apparatus, communication system, and communication control method
CN110022195B (en) Measurement method, measurement configuration method, terminal and network equipment
CN110719154B (en) Beam failure recovery request transmission method and device
US9615277B2 (en) Method for determining position based on network and electronic device thereof
US20160109554A1 (en) ADAPTIVE OPTIMIZATION OF TIME OF FLIGHT (ToF) EXCHANGE
US20180176733A1 (en) Automatic generation of logical maps for access point layouts
CN114007272A (en) Random access method and user terminal
CN111615216B (en) Random access method and terminal
JP6055852B2 (en) Communication apparatus, communication system, calculation method, and communication program
CN108076480B (en) Communication terminal and communication system
JP6007266B2 (en) Communication apparatus, communication system, determination method, and communication program
JP6383653B2 (en) COMMUNICATION DEVICE, COMMUNICATION QUALITY ESTIMATION METHOD, AND COMMUNICATION QUALITY ESTIMATION PROGRAM
CN112787734B (en) Signal-to-interference-and-noise ratio measuring method, device, equipment and medium
US10306493B2 (en) Measurement device and measurement method
JP6480362B2 (en) Estimation apparatus, estimation method, and estimation program
CN106030333B (en) communication system, wired communication device, control method, and control program
JP2011205479A (en) Radio communication system and radio quality measuring method
KR101895766B1 (en) User terminal, method, application and checking apparatus for providing wi-fi communication quality
JP6457359B2 (en) Relay device, communication system, and relay method
JP5966040B1 (en) Communication apparatus and calculation method
CN112888012B (en) Method, apparatus, device and medium for determining measurement purpose
JP6585807B2 (en) Relay device, communication system, and relay method
JP2016163213A (en) Communication terminal, communication method, and communication program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160830

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160906

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161013

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20161108

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161205

R150 Certificate of patent or registration of utility model

Ref document number: 6055852

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150