Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7513251B2 - Network scanning device, a program for causing a computer to execute the program, and a computer-readable recording medium having the program recorded thereon - Google Patents
[go: Go Back, main page]

JP7513251B2 - Network scanning device, a program for causing a computer to execute the program, and a computer-readable recording medium having the program recorded thereon - Google Patents

Network scanning device, a program for causing a computer to execute the program, and a computer-readable recording medium having the program recorded thereon Download PDF

Info

Publication number
JP7513251B2
JP7513251B2 JP2020100713A JP2020100713A JP7513251B2 JP 7513251 B2 JP7513251 B2 JP 7513251B2 JP 2020100713 A JP2020100713 A JP 2020100713A JP 2020100713 A JP2020100713 A JP 2020100713A JP 7513251 B2 JP7513251 B2 JP 7513251B2
Authority
JP
Japan
Prior art keywords
scan
network
delay
subtraction result
threshold value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020100713A
Other languages
Japanese (ja)
Other versions
JP2021197579A (en
Inventor
健太 鈴木
拓哉 栗原
睿 滕
一人 矢野
義規 鈴木
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.)
ATR Advanced Telecommunications Research Institute International
Original Assignee
ATR Advanced Telecommunications Research Institute International
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 ATR Advanced Telecommunications Research Institute International filed Critical ATR Advanced Telecommunications Research Institute International
Priority to JP2020100713A priority Critical patent/JP7513251B2/en
Publication of JP2021197579A publication Critical patent/JP2021197579A/en
Application granted granted Critical
Publication of JP7513251B2 publication Critical patent/JP7513251B2/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)

Description

特許法第30条第2項適用 発行日が令和 1年12月12日である電子情報通信学会信学技報 vol.119 no.344 NS2019-142,第44-49頁にて公開Article 30, paragraph 2 of the Patent Act is applicable. Published on December 12, 2019, in the Technical Report of the Institute of Electronics, Information and Communication Engineers, Vol. 119, No. 344, NS2019-142, pages 44-49.

特許法第30条第2項適用 発行日が令和 2年 2月16日であるInternational Conference on Advanced Communications Technology(ICACT),p319-323にて公開Article 30, paragraph 2 of the Patent Act applies. Published on February 16, 2020 at the International Conference on Advanced Communications Technology (ICACT), pp. 319-323.

この発明は、ネットワークスキャン装置、コンピュータに実行させるためのプログラムおよびプログラムを記録したコンピュータ読み取り可能な記録媒体に関するものである。 This invention relates to a network scanning device, a program for causing a computer to execute the program, and a computer-readable recording medium on which the program is recorded.

第5世代移動通信(5G)システムの実用化に伴って、携帯端末、コンピュータ、センサおよびウェブカメラ等の多くの物がインターネットに接続されることになる。このようなインターネットに接続された携帯端末およびコンピュータ等は、IoT(Internet of Things)機器と呼ばれている。 As the fifth generation mobile communication (5G) system comes into practical use, many devices, such as mobile terminals, computers, sensors, and webcams, will be connected to the Internet. Such mobile terminals and computers connected to the Internet are called IoT (Internet of Things) devices.

IoT時代には、通信ネットワークに接続されるIoT機器の個数は、急速に増大することが見込まれる。IoT機器のうち、無線通信を行うIoT機器は、十分にセキュリティを確保できないまま、不正使用され、DDoS(Distributed Denial of Service attack)攻撃のようなサイバー攻撃に悪用されるケースが増大すると予想される。 In the IoT era, the number of IoT devices connected to communication networks is expected to increase rapidly. Among these, IoT devices that perform wireless communication are expected to be used illegally without sufficient security measures in order to increase the number of cases where they are exploited in cyber attacks such as distributed denial of service (DDoS) attacks.

このような事態を回避するために、通信ネットワークに接続されたIoT機器に対して、ネットワークスキャンを行い、セキュリティ対策が各IoT機器になされているかを調査する必要がある。 To avoid such a situation, it is necessary to conduct network scans of IoT devices connected to communication networks and investigate whether security measures are in place for each IoT device.

ネットワークスキャンは、ネットワークの接続状態および脆弱なデバイスを調査および検出するための重要な方法である(非特許文献1,2)。ネットワークスキャンによって、スキャナは、応答遅延およびポート使用状態のようなターゲットとするIoT機器の情報を取得する。そして、これらのネットワークスキャン結果は、ネットワーク機器をモニターし、混雑状態をチェックし、脆弱なIoT機器を識別するためにネットワーク管理者を助ける。 Network scanning is an important method to investigate and detect network connection status and vulnerable devices (Non-Patent Documents 1, 2). Through network scanning, a scanner obtains information of targeted IoT devices, such as response delay and port usage status. These network scan results then help network administrators to monitor network devices, check congestion status, and identify vulnerable IoT devices.

K. Yano, N. Egashira, T. Kurihara, S. Shimizu, and Y. Suzuki, “Research and Development on Wide Area Network Scan Techniques for IoT Wireless Equipment,” IEICE Tech. Rep., pp.203-208, NS2019-85, July 2019.K. Yano, N. Egashira, T. Kurihara, S. Shimizu, and Y. Suzuki, “Research and Development on Wide Area Network Scan Techniques for IoT Wireless Equipment,” IEICE Tech. Rep., pp.203-208, NS2019-85, July 2019. R. Das, N. Baranasuriya, V. Padmanabhan, C. Rodbro, and S. Gilbert, “Informed Bandwidth Adaptation in Wi-Fi Networks using Ping-Pair,” Proc. CoNEXT 2017, pp.376-388, Dec 2017.R. Das, N. Baranasuriya, V. Padmanabhan, C. Rodbro, and S. Gilbert, “Informed Bandwidth Adaptation in Wi-Fi Networks using Ping-Pair,” Proc. CoNEXT 2017, pp.376-388, Dec 2017.

しかし、従来では、マルチホップ端末装置に対するスケジューリングを考慮せずにネットワークスキャンを実行するときのスキャンスケジュールを作成する。その結果、マルチホップ端末装置へのネットワークスキャンは、シングルホップ端末装置に対するネットワークスキャンで想定している以上の無線リソースを必要とするため、無線区間が混雑し、ネットワークスキャンの失敗またはスキャンパケットの再送が発生するという問題がある。特に、Wi-SUN(Wireless Smart Utility Network)では、マルチホップ通信を前提としているため、マルチホップ端末装置に対するスケジューリングを考慮せずにネットワークスキャンを実行すると、ネットワークスキャンの失敗またはスキャンパケットの再送が発生するという問題が顕在化する。 However, conventionally, a scan schedule is created when performing a network scan without considering the scheduling for multi-hop terminal devices. As a result, a network scan for a multi-hop terminal device requires more wireless resources than is assumed for a network scan for a single-hop terminal device, resulting in problems such as congestion in the wireless section, network scan failure, or scan packet retransmission. In particular, since Wi-SUN (Wireless Smart Utility Network) is premised on multi-hop communication, performing a network scan without considering the scheduling for a multi-hop terminal device results in problems such as network scan failure or scan packet retransmission.

そこで、この発明の実施の形態によれば、マルチホップ通信によるネットワークスキャンを実行するときの無線リソースを低減可能なネットワークスキャン装置を提供する。 Therefore, according to an embodiment of the present invention, a network scanning device is provided that can reduce wireless resources when performing a network scan using multi-hop communication.

また、この発明の実施の形態によれば、マルチホップ通信によるネットワークスキャンを実行するときの無線リソースの低減をコンピュータに実行させるためのプログラムを提供する。 In addition, according to an embodiment of the present invention, a program is provided for causing a computer to reduce wireless resources when performing a network scan using multi-hop communication.

更に、この発明の実施の形態によれば、マルチホップ通信によるネットワークスキャンを実行するときの無線リソースの低減をコンピュータに実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体を提供する。 Furthermore, according to an embodiment of the present invention, a computer-readable recording medium is provided that stores a program for causing a computer to reduce wireless resources when performing a network scan using multi-hop communication.

(構成1)
この発明の実施の形態によれば、ネットワークスキャン装置は、ネットワークスキャンを実行するときに使用する複数の第1のネットワークの無線通信区間におけるホップ段数を推定するネットワークスキャン装置であって、スキャン手段と、記録手段と、推定手段と、スケジュール作成手段とを備える。スキャン手段は、複数の第1のネットワークを使用して複数の端末装置の複数のIPアドレスに対してスキャンパケットを送信してネットワークスキャンを実行する。記録手段は、スキャンパケットを送信してからスキャン応答を受信するまでの時間であるスキャン応答遅延を計測し、その計測した計測スキャン応答遅延をIPアドレスに対応付けて記録する記録処理を複数の端末装置の全てについて実行する。推定手段は、ネットワークスキャン装置と端末装置との間に有線通信区間と1ホップからなる無線通信区間とが存在する第2のネットワークを想定して計測スキャン応答遅延から第2のネットワークにおける有線通信区間の遅延を減算した第1の減算結果を第2のネットワークにおける無線通信区間の最小遅延と比較してホップ段数を推定する推定処理を複数の端末装置の全てについて実行する。スケジュール作成手段は、推定手段によって推定されたホップ段数が第1のホップ段数であるときネットワークスキャンにおけるスキャンパケットの通信速度を第1の通信速度に設定し、推定手段によって推定されたホップ段数が第1のホップ段数よりも多い第2のホップ段数であるときスキャンパケットの通信速度を第1の通信速度よりも低い第2の通信速度に設定してネットワークスキャンのスキャンスケジュールを作成する。そして、スキャン手段は、スケジュール作成手段によって作成されたスキャンスケジュールに従ってネットワークスキャンを実行する。
(Configuration 1)
According to an embodiment of the present invention, a network scanning device is a network scanning device that estimates the number of hops in a wireless communication section of a plurality of first networks used when performing a network scan, and includes a scanning means, a recording means, an estimating means, and a schedule creating means. The scanning means performs a network scan by transmitting a scan packet to a plurality of IP addresses of a plurality of terminal devices using the plurality of first networks. The recording means measures a scan response delay, which is a time from transmitting a scan packet to receiving a scan response, and performs a recording process for all of the plurality of terminal devices, in which the measured measured scan response delay is associated with an IP address and recorded. The estimating means performs an estimation process for all of the plurality of terminal devices, in which a first subtraction result obtained by subtracting a delay in the wired communication section in the second network from the measured scan response delay, assuming a second network in which a wired communication section and a wireless communication section consisting of one hop exist between the network scanning device and the terminal devices, is compared with a minimum delay in the wireless communication section in the second network to estimate the number of hops. The schedule creation means creates a scan schedule for the network scan by setting the communication speed of the scan packets in the network scan to a first communication speed when the number of hops estimated by the estimation means is a first hop number, and by setting the communication speed of the scan packets to a second communication speed lower than the first communication speed when the number of hops estimated by the estimation means is a second hop number greater than the first hop number. Then, the scan means executes the network scan in accordance with the scan schedule created by the schedule creation means.

(構成2)
構成1において、推定手段は、推定処理において、計測スキャン応答遅延の最小値から第2のネットワークにおける有線通信区間の遅延を減算して第1の減算結果の最小値を算出し、第2のネットワークにおける無線通信区間の最小遅延に基づいて複数のしきい値を算出し、第1の減算結果の最小値を複数のしきい値と比較してホップ段数を推定する。
(Configuration 2)
In configuration 1, in the estimation process, the estimation means subtracts the delay of the wired communication section in the second network from the minimum value of the measured scan response delay to calculate a first minimum value of the subtraction results, calculates a plurality of threshold values based on the minimum delay of the wireless communication section in the second network, and compares the minimum value of the first subtraction result with the plurality of threshold values to estimate the number of hops.

(構成3)
構成2において、複数のしきい値は、Th~Th(Nは、2以上の整数)からなる。推定手段は、推定処理において、第2のネットワークにおける無線通信区間の最小遅延を基準値に設定し、第2のネットワークにおける無線通信区間の最小遅延から第2のネットワークにおける有線通信区間の平均遅延を減算して第2の減算結果を算出し、Th=(基準値)+(第2の減算結果)×Nによって複数のしきい値を算出し、第1の減算結果の最小値を、算出した複数のしきい値と比較してホップ段数を推定する。
(Configuration 3)
In configuration 2, the multiple thresholds consist of Th 1 to Th N (N is an integer equal to or greater than 2). In the estimation process, the estimation means sets the minimum delay of the wireless communication section in the second network as a reference value, calculates a second subtraction result by subtracting the average delay of the wired communication section in the second network from the minimum delay of the wireless communication section in the second network, calculates multiple thresholds by Th N = (reference value) + (second subtraction result) × N, and estimates the number of hops by comparing the minimum value of the first subtraction result with the calculated multiple thresholds.

(構成4)
構成1において、推定手段は、推定処理において、計測スキャン応答遅延の最小値から第2のネットワークにおける有線通信区間の平均遅延を減算して第1の減算結果の最小値を算出し、第2のネットワークにおける無線通信区間の最小遅延を第1のしきい値に設定し、第2のネットワークにおける無線通信区間の最小遅延から第2のネットワークにおける有線通信区間の平均遅延を減算して第2の減算結果を算出し、第1のしきい値に第2の減算結果を加算して第2のしきい値を算出し、第1の減算結果の最小値から第1のしきい値を減算して第3の減算結果を算出し、第2のしきい値から第1のしきい値を減算して第4の減算結果を算出し、第3の減算結果が負であるとき、ホップ段数を“1”と推定し、第3の減算結果が零以上であるとき、第3の減算結果を第4の減算結果で除算した除算結果を切り上げて得られる整数に1を加算した加算結果をホップ段数として推定する。
(Configuration 4)
In configuration 1, in the estimation process, the estimation means calculates a minimum value of a first subtraction result by subtracting an average delay of the wired communication section in the second network from a minimum value of the measured scan response delay, sets the minimum delay of the wireless communication section in the second network as a first threshold value, calculates a second subtraction result by subtracting the average delay of the wired communication section in the second network from the minimum delay of the wireless communication section in the second network, calculates a second threshold value by adding the second subtraction result to the first threshold value, calculates a third subtraction result by subtracting the first threshold value from the minimum value of the first subtraction results, and calculates a fourth subtraction result by subtracting the first threshold value from the second threshold value, estimates the number of hop stages to be “1” when the third subtraction result is negative, and estimates an addition result obtained by dividing the third subtraction result by the fourth subtraction result, and adding 1 to the integer obtained by rounding up the division result as the number of hop stages when the third subtraction result is equal to or greater than zero.

(構成5)
構成1において、推定手段は、推定処理において、計測スキャン応答遅延の平均値から第2のネットワークにおける有線通信区間の遅延を減算して第1の減算結果の平均値を算出し、第2のネットワークにおける無線通信区間の最小遅延に基づいて複数のしきい値を算出し、第1の減算結果の平均値を複数のしきい値と比較してホップ段数を推定する。
(Configuration 5)
In configuration 1, in the estimation process, the estimation means subtracts the delay of the wired communication section in the second network from the average value of the measured scan response delays to calculate an average value of a first subtraction result, calculates a plurality of threshold values based on the minimum delay of the wireless communication section in the second network, and compares the average value of the first subtraction result with the plurality of threshold values to estimate the number of hops.

(構成6)
構成5において、複数のしきい値は、Th~Th(Nは、2以上の整数)からなる。推定手段は、推定処理において、第2のネットワークにおける無線通信区間の最小遅延と第2のネットワークにおける無線通信区間の最小遅延の2倍との中点を基準値に設定し、第2のネットワークにおける無線通信区間の最小遅延から第2のネットワークにおける有線通信区間の平均遅延を減算して第2の減算結果を算出し、Th=(基準値)+(第2の減算結果)×Nによって複数のしきい値を算出し、第1の減算結果の平均値を、算出した複数のしきい値と比較してホップ段数を推定する。
(Configuration 6)
In configuration 5, the multiple thresholds include Th 1 to Th N (N is an integer equal to or greater than 2). In the estimation process, the estimation means sets the midpoint between the minimum delay of the wireless communication section in the second network and twice the minimum delay of the wireless communication section in the second network as a reference value, calculates a second subtraction result by subtracting the average delay of the wired communication section in the second network from the minimum delay of the wireless communication section in the second network, calculates multiple thresholds by Th N = (reference value) + (second subtraction result) × N, and estimates the number of hops by comparing an average value of the first subtraction result with the calculated multiple thresholds.

(構成7)
構成1において、推定手段は、推定処理において、計測スキャン応答遅延の平均値から第2のネットワークにおける有線通信区間の平均遅延を減算して第1の減算結果の平均値を算出し、第2のネットワークにおける無線通信区間の最小遅延から第2のネットワークにおける有線通信区間の平均遅延を減算して第2の減算結果を算出し、その算出した第2の減算結果を第2のネットワークにおける無線通信区間の最小遅延と第2のネットワークにおける無線通信区間の最小遅延の2倍との中点からなる基準値に加算して第1のしきい値を算出し、第1のしきい値に第2の減算結果を加算して第2のしきい値を算出し、第1の減算結果の平均値から第1のしきい値を減算して第3の減算結果を算出し、第2のしきい値から第1のしきい値を減算して第4の減算結果を算出し、第3の減算結果が負であるとき、ホップ段数を“1”と推定し、第3の減算結果が零以上であるとき、第3の減算結果(D)を第4の減算結果(D)で除算した除算結果を切り上げて得られる整数に1を加算した加算結果をホップ段数として推定する。
(Configuration 7)
In the configuration 1, the estimation means, in the estimation process, calculates an average value of first subtraction results by subtracting an average delay of the wired communication section in the second network from an average value of the measured scan response delays, calculates a second subtraction result by subtracting the average delay of the wired communication section in the second network from a minimum delay of the wireless communication section in the second network, calculates a first threshold value by adding the calculated second subtraction result to a reference value formed of a midpoint between the minimum delay of the wireless communication section in the second network and twice the minimum delay of the wireless communication section in the second network, calculates a first threshold value by adding the second subtraction result to the first threshold value, calculates a second threshold value by subtracting the first threshold value from an average value of the first subtraction results to calculate a third subtraction result, calculates a fourth subtraction result by subtracting the first threshold value from the second threshold value, estimates the number of hops to be “1” when the third subtraction result is negative, and estimates the number of hops to be “ 1 ” when the third subtraction result is equal to or greater than zero. ) by the fourth subtraction result (D 2 ), round up the division result, and add 1 to the resulting integer to estimate the number of hops.

(構成8)
構成1から構成7のいずれかにおいて、ネットワークスキャン装置は、判定手段を更に備える。判定手段は、複数の第1のネットワークの種別を複数の端末装置の属性として判定する。推定手段は、推定処理において、端末装置の属性に対応する計測スキャン応答遅延から第2のネットワークにおける有線通信区間の遅延を減算した第1の減算結果を第2のネットワークにおける無線通信区間の最小遅延と比較してホップ段数を推定する。
(Configuration 8)
In any one of configurations 1 to 7, the network scanning device further includes a determination means for determining types of the plurality of first networks as attributes of the plurality of terminal devices, and the estimation means, in the estimation process, compares a first subtraction result obtained by subtracting a delay in a wired communication section in the second network from a measured scan response delay corresponding to the attribute of the terminal device with a minimum delay in a wireless communication section in the second network to estimate the number of hops.

(構成9)
構成1から構成8のいずれかにおいて、スケジュール作成手段は、更に、第3のしきい値以上である計測スキャン応答遅延の個数をスキャン応答の個数で除算したときの比が第4のしきい値よりも大きくないとき、スキャンパケットの通信速度を維持し、または第1の通信速度よりも高い第3の通信速度に設定してネットワークスキャンのスキャンスケジュールを作成する。
(Configuration 9)
In any of configurations 1 to 8, the schedule creation means further creates a scan schedule for the network scan by maintaining the communication speed of the scan packets or setting it to a third communication speed higher than the first communication speed when a ratio of the number of measured scan response delays that are equal to or greater than a third threshold value divided by the number of scan responses is not greater than a fourth threshold value.

(構成10)
また、この発明の実施の形態によれば、プログラムは、ネットワークスキャンを実行するときに使用する複数の第1のネットワークの無線通信区間におけるホップ段数の推定をコンピュータに実行させるプログラムであって、
スキャン手段が、複数の第1のネットワークを使用して複数の端末装置の複数のIPアドレスに対してスキャンパケットを送信してネットワークスキャンを実行する第1のステップと、
記録手段が、スキャンパケットを送信してからスキャン応答を受信するまでの時間であるスキャン応答遅延を計測し、その計測した計測スキャン応答遅延をIPアドレスに対応付けて記録する記録処理を複数の端末装置の全てについて実行する第2のステップと、
推定手段が、ネットワークスキャン装置と端末装置との間に有線通信区間と1ホップからなる無線通信区間とが存在する第2のネットワークを想定して計測スキャン応答遅延から第2のネットワークにおける有線通信区間の遅延を減算した第1の減算結果(α)を第2のネットワークにおける無線通信区間の最小遅延と比較してホップ段数を推定する推定処理を複数の端末装置の全てについて実行する第3のステップと、
スケジュール作成手段が、第3のステップにおいて推定されたホップ段数が第1のホップ段数であるときネットワークスキャンにおけるスキャンパケットの通信速度を第1の通信速度に設定し、推定手段によって推定されたホップ段数が第1のホップ段数よりも多い第2のホップ段数であるときスキャンパケットの通信速度を第1の通信速度よりも低い第2の通信速度に設定してネットワークスキャンのスキャンスケジュールを作成する第4のステップとをコンピュータに実行させ、
スキャン手段は、第1のステップにおいて、第4のステップにおいて作成されたスキャンスケジュールに従ってネットワークスキャンを実行する、コンピュータに実行させるためのプログラムである。
(Configuration 10)
According to an embodiment of the present invention, a program causes a computer to estimate a number of hops in a wireless communication section of a plurality of first networks used when performing a network scan, the program comprising:
A first step in which a scanning means executes a network scan by transmitting scan packets to a plurality of IP addresses of a plurality of terminal devices using a plurality of first networks;
a second step in which a recording means measures a scan response delay, which is a time from transmitting a scan packet to receiving a scan response, and records the measured scan response delay in association with an IP address for all of the multiple terminal devices;
a third step in which the estimation means executes an estimation process for all of the multiple terminal devices, in which the estimation means estimates the number of hops by comparing a first subtraction result (α) obtained by subtracting a delay in the wired communication section in the second network from the measured scan response delay, assuming a second network in which a wired communication section and a wireless communication section consisting of one hop exist between the network scanning device and the terminal device, with a minimum delay in the wireless communication section in the second network;
a fourth step in which the schedule creation means creates a scan schedule for the network scan by setting a communication speed of the scan packet in the network scan to a first communication speed when the number of hops estimated in the third step is a first hop number, and by setting a communication speed of the scan packet to a second communication speed lower than the first communication speed when the number of hops estimated by the estimation means is a second hop number greater than the first hop number;
The scanning means is a program for causing a computer to execute, in the first step, a network scan in accordance with the scan schedule created in the fourth step.

(構成11)
構成10において、推定手段は、第3のステップの推定処理において、計測スキャン応答遅延の最小値から第2のネットワークにおける有線通信区間の遅延を減算して第1の減算結果の最小値を算出し、第2のネットワークにおける無線通信区間の最小遅延に基づいて複数のしきい値を算出し、第1の減算結果の最小値を複数のしきい値と比較してホップ段数を推定する。
(Configuration 11)
In configuration 10, in the estimation process of the third step, the estimation means subtracts the delay of the wired communication section in the second network from the minimum value of the measured scan response delay to calculate a first minimum value of the subtraction results, calculates a plurality of threshold values based on the minimum delay of the wireless communication section in the second network, and compares the minimum value of the first subtraction result with the plurality of threshold values to estimate the number of hops.

(構成12)
構成11において、複数のしきい値は、Th~Th(Nは、2以上の整数)からなる。推定手段は、第3のステップの推定処理において、第2のネットワークにおける無線通信区間の最小遅延を基準値に設定し、第2のネットワークにおける無線通信区間の最小遅延から第2のネットワークにおける有線通信区間の平均遅延を減算して第2の減算結果を算出し、Th=(基準値)+(第2の減算結果)×Nによって複数のしきい値を算出し、第1の減算結果の最小値を算出した複数のしきい値と比較してホップ段数を推定する。
(Configuration 12)
In configuration 11, the multiple thresholds consist of Th 1 to Th N (N is an integer equal to or greater than 2). In the estimation process of the third step, the estimation means sets the minimum delay of the wireless communication section in the second network as a reference value, calculates a second subtraction result by subtracting the average delay of the wired communication section in the second network from the minimum delay of the wireless communication section in the second network, calculates multiple thresholds by Th N = (reference value) + (second subtraction result) × N, and estimates the number of hops by comparing the minimum value of the first subtraction result with the multiple calculated thresholds.

(構成13)
構成10において、推定手段は、第3のステップの推定処理において、計測スキャン応答遅延の最小値から第2のネットワークにおける有線通信区間の平均遅延を減算して第1の減算結果の最小値を算出し、第2のネットワークにおける無線通信区間の最小遅延を第1のしきい値に設定し、第2のネットワークにおける無線通信区間の最小遅延から第2のネットワークにおける有線通信区間の平均遅延を減算して第2の減算結果を算出し、第1のしきい値に第2の減算結果を加算して第2のしきい値を算出し、第1の減算結果の最小値から第1のしきい値を減算して第3の減算結果を算出し、第2のしきい値Th2から第1のしきい値を減算して第4の減算結果を算出し、第3の減算結果が負であるとき、ホップ段数を“1”と推定し、第3の減算結果が零以上であるとき、第3の減算結果を第4の減算結果で除算した除算結果を切り上げて得られる整数に1を加算した加算結果をホップ段数として推定する。
(Configuration 13)
In configuration 10, in the estimation process of the third step, the estimation means subtracts an average delay of the wired communication section in the second network from a minimum value of the measured scan response delay to calculate a minimum value of a first subtraction result, sets the minimum delay of the wireless communication section in the second network to a first threshold value, subtracts the average delay of the wired communication section in the second network from the minimum delay of the wireless communication section in the second network to calculate a second subtraction result, and sets the first threshold value the second subtraction result is added to the first threshold value to calculate a second threshold value, the first threshold value is subtracted from the minimum value of the first subtraction results to calculate a third subtraction result, and the first threshold value is subtracted from the second threshold value Th2 to calculate a fourth subtraction result. If the third subtraction result is negative, the number of hop stages is estimated to be "1". If the third subtraction result is equal to or greater than zero, the third subtraction result is divided by the fourth subtraction result, the division result is rounded up, and 1 is added to the resulting integer, and this is estimated to be the number of hop stages.

(構成14)
構成10において、推定手段は、第3のステップの推定処理において、計測スキャン応答遅延の平均値から第2のネットワークにおける有線通信区間の遅延を減算して第1の減算結果の平均値を算出し、第2のネットワークにおける無線通信区間の最小遅延に基づいて複数のしきい値を算出し、第1の減算結果の平均値を複数のしきい値と比較してホップ段数を推定する。
(Configuration 14)
In configuration 10, in the estimation process of the third step, the estimation means subtracts the delay of the wired communication section in the second network from the average value of the measured scan response delays to calculate an average value of first subtraction results, calculates a plurality of threshold values based on the minimum delay of the wireless communication section in the second network, and compares the average value of the first subtraction results with the plurality of threshold values to estimate the number of hops.

(構成15)
構成14において、複数のしきい値は、Th~Th(Nは、2以上の整数)からなる。推定手段は、第3のステップの推定処理において、第2のネットワークにおける無線通信区間の最小遅延と第2のネットワークにおける無線通信区間の最小遅延の2倍との中点を基準値に設定し、第2のネットワークにおける無線通信区間の最小遅延から第2のネットワークにおける有線通信区間の平均遅延を減算して第2の減算結果を算出し、Th=(基準値)+(第2の減算結果)×Nによって複数のしきい値を算出し、第1の減算結果の平均値を算出した複数のしきい値と比較してホップ段数を推定する。
(Configuration 15)
In configuration 14, the multiple thresholds consist of Th 1 to Th N (N is an integer equal to or greater than 2). In the estimation process of the third step, the estimation means sets the midpoint between the minimum delay of the wireless communication section in the second network and twice the minimum delay of the wireless communication section in the second network as a reference value, calculates a second subtraction result by subtracting the average delay of the wired communication section in the second network from the minimum delay of the wireless communication section in the second network, calculates multiple thresholds by Th N = (reference value) + (second subtraction result) × N, and estimates the number of hops by comparing an average value of the first subtraction result with the multiple calculated thresholds.

(構成16)
構成10において、推定手段は、第3のステップの推定処理において、計測スキャン応答遅延の平均値から第2のネットワークにおける有線通信区間の平均遅延を減算して第1の減算結果の平均値を算出し、第2のネットワークにおける無線通信区間の最小遅延から第2のネットワークにおける有線通信区間の平均遅延を減算して第2の減算結果を算出し、その算出した第2の減算結果を第2のネットワークにおける無線通信区間の最小遅延と第2のネットワークにおける無線通信区間の最小遅延の2倍との中点からなる基準値に加算して第1のしきい値を算出し、第1のしきい値に第2の減算結果を加算して第2のしきい値を算出し、第1の減算結果の平均値から第1のしきい値を減算して第3の減算結果を算出し、第2のしきい値から第1のしきい値を減算して第4の減算結果を算出し、第3の減算結果が負であるとき、ホップ段数を“1”と推定し、第3の減算結果が零以上であるとき、第3の減算結果を第4の減算結果(で除算した除算結果を切り上げて得られる整数に1を加算した加算結果をホップ段数として推定する。
(Configuration 16)
In the configuration 10, in the estimation process of the third step, the estimation means calculates an average value of first subtraction results by subtracting an average delay of the wired communication section in the second network from an average value of the measured scan response delays, calculates a second subtraction result by subtracting the average delay of the wired communication section in the second network from a minimum delay of the wireless communication section in the second network, and calculates the calculated second subtraction result from a midpoint between the minimum delay of the wireless communication section in the second network and twice the minimum delay of the wireless communication section in the second network. the first threshold value is added to a reference value that is equal to or greater than the first threshold value to calculate a first threshold value, the second subtraction result is added to the first threshold value to calculate a second threshold value, the first threshold value is subtracted from an average value of the first subtraction results to calculate a third subtraction result, and the first threshold value is subtracted from the second threshold value to calculate a fourth subtraction result, and if the third subtraction result is negative, the number of hop stages is estimated to be "1", and if the third subtraction result is equal to or greater than zero, the third subtraction result is divided by the fourth subtraction result (to obtain an integer, and then 1 is added to the resulting integer, and this is estimated to be the number of hop stages.

(構成17)
構成10から構成16のいずれかにおいて、プログラムは、判定手段が、複数の第1のネットワークの種別を複数の端末装置の属性として判定する第5のステップを更にコンピュータに実行させ、
推定手段は、第3のステップの推定処理において、端末装置の属性に対応する計測スキャン応答遅延から第2のネットワークにおける有線通信区間の遅延を減算した第1の減算結果を第2のネットワークにおける無線通信区間の最小遅延と比較してホップ段数を推定する。
(Configuration 17)
In any one of configurations 10 to 16, the program further causes the computer to execute a fifth step in which the determining means determines types of the plurality of first networks as attributes of the plurality of terminal devices;
In the estimation process of the third step, the estimation means compares a first subtraction result obtained by subtracting the delay of the wired communication section in the second network from the measured scan response delay corresponding to the attribute of the terminal device with the minimum delay of the wireless communication section in the second network to estimate the number of hops.

(構成18)
構成10から構成17のいずれかにおいて、スケジュール作成手段は、第4のステップにおいて、更に、第3のしきい値以上である計測スキャン応答遅延の個数をスキャン応答の個数で除算したときの比が第4のしきい値よりも大きくないとき、スキャンパケットの通信速度を維持し、または第1の通信速度よりも高い第3の通信速度に設定してネットワークスキャンのスキャンスケジュールを作成する。
(Configuration 18)
In any of configurations 10 to 17, in the fourth step, the schedule creation means further creates a scan schedule for the network scan by maintaining the communication speed of the scan packets or setting it to a third communication speed higher than the first communication speed when the ratio of the number of measured scan response delays that are equal to or greater than a third threshold value divided by the number of scan responses is not greater than a fourth threshold value.

(構成19)
更に、この発明の実施の形態によれば、記録媒体は、構成10から構成18のいずれかに記載のプログラムを記録したコンピュータ読み取り可能な記録媒体である。
(Configuration 19)
Furthermore, according to an embodiment of the present invention, a recording medium is a computer-readable recording medium having the program according to any one of configurations 10 to 18 recorded thereon.

マルチホップ通信によるネットワークスキャンを実行するときの無線リソースを低減できる。 This reduces the use of wireless resources when performing network scans using multi-hop communication.

この発明の実施の形態における通信システムの概略図である。1 is a schematic diagram of a communication system according to an embodiment of the present invention. 図1に示すネットワークスキャン装置の概略図である。FIG. 2 is a schematic diagram of the network scanning device shown in FIG. 1 . 図2に示すホスト情報データベースに格納される対応表の概念図である。3 is a conceptual diagram of a correspondence table stored in the host information database shown in FIG. 2. 図2に示すホスト情報データベースに格納される別の対応表の概念図である。3 is a conceptual diagram of another correspondence table stored in the host information database shown in FIG. 2. 図4に示す対応表に格納される対応表の概念図である。5 is a conceptual diagram of a correspondence table stored in the correspondence table shown in FIG. 4 . スキャンスケジュールの概念図である。FIG. 2 is a conceptual diagram of a scan schedule. 1ホップの遅延時間を算出する方法を説明するための図である。FIG. 11 is a diagram for explaining a method for calculating a one-hop delay time. ネットワーク種別、最小スキャン応答遅延および平均スキャン応答遅延の対応表を示す図である。FIG. 13 is a diagram showing a correspondence table of network type, minimum scan response delay, and average scan response delay. ネットワーク種別がWired LANであるときのスキャン応答遅延とネットワークスキャンの回数との関係を示す図である。11 is a diagram illustrating the relationship between the scan response delay and the number of network scans when the network type is a Wired LAN. ネットワーク種別がWired LANであるときのスキャン応答遅延の確率分布関数を示す図である。FIG. 13 is a diagram showing a probability distribution function of a scan response delay when the network type is a Wired LAN. ネットワーク種別がWLAN、Wi-SUNおよびLoRaであるときのスキャン応答遅延とネットワークスキャンの回数との関係を示す図である。11 is a diagram showing the relationship between the scan response delay and the number of network scans when the network types are WLAN, Wi-SUN, and LoRa. ネットワーク種別がWLANであるときのスキャン応答遅延の確率分布関数を示す図である。FIG. 13 is a diagram showing a probability distribution function of a scan response delay when the network type is a WLAN. ネットワーク種別がWi-SUNであるときのスキャン応答遅延の確率分布関数を示す図である。FIG. 13 is a diagram showing the probability distribution function of scan response delay when the network type is Wi-SUN. ネットワーク種別がLoRaであるときのスキャン応答遅延の確率分布関数を示す図である。FIG. 13 is a diagram showing the probability distribution function of the scan response delay when the network type is LoRa. ネットワークの概念図である。FIG. 1 is a conceptual diagram of a network. ネットワークNW1-1,NW2-1における遅延時間の概念図である。FIG. 2 is a conceptual diagram of delay times in networks NW1-1 and NW2-1. ネットワークNW1-2,NW2-2における遅延時間の概念図である。FIG. 2 is a conceptual diagram of delay times in networks NW1-2 and NW2-2. しきい値Thi_Nの概念図である。FIG. 13 is a conceptual diagram of a threshold value Th i_N . しきい値Thi_Nを算出する方法を説明するための図である。11 is a diagram for explaining a method for calculating a threshold value Th i_N . FIG. しきい値Thi_Nを算出する別の方法を説明するための図である。FIG. 13 is a diagram for explaining another method for calculating the threshold value Th i_N . しきい値Thi_Nを用いたホップ段数の推定方法を説明するための図である。11 is a diagram for explaining a method of estimating the number of hops using a threshold value Th i_N . FIG. αとしきい値Thi_1,Thi_2とを用いてホップ段数を算出する方法について説明するための図である。FIG. 13 is a diagram for explaining a method of calculating the number of hops using α i and thresholds Th i — 1 and Th i — 2 . リストLS1の概念図である。FIG. 13 is a conceptual diagram of a list LS1. リストLS2の概念図である。FIG. 13 is a conceptual diagram of list LS2. リストLS3の概念図である。FIG. 13 is a conceptual diagram of list LS3. リストLS4の概念図である。FIG. 13 is a conceptual diagram of list LS4. スキャンパケットの通信速度を制御する方法を説明するための図である。11 is a diagram for explaining a method for controlling the communication speed of a scan packet. FIG. スキャンパケットの通信速度の制御を示す概念図である。FIG. 13 is a conceptual diagram showing control of the communication speed of a scan packet. 図2に示すネットワークスキャン装置の動作を説明するためのフローチャートである。3 is a flowchart for explaining the operation of the network scanning device shown in FIG. 2 . 図29のステップS1の詳細な動作を説明するためのフローチャートである。30 is a flowchart for explaining a detailed operation of step S1 in FIG. 29. 図30のステップS14の詳細な動作を説明するためのフローチャートである。31 is a flowchart for explaining a detailed operation of step S14 in FIG. 30. 図30のステップS15の詳細な動作を説明するためのフローチャートである。31 is a flowchart for explaining a detailed operation of step S15 in FIG. 30. 図29のステップS2の詳細な動作を説明するためのフローチャートである。30 is a flowchart for explaining a detailed operation of step S2 in FIG. 29. 図33のステップS34の詳細な動作を説明するためのフローチャートである。34 is a flowchart for explaining a detailed operation of step S34 in FIG. 33. 図33のステップS34の詳細な動作を説明するための別のフローチャートである。34 is another flowchart for explaining the detailed operation of step S34 in FIG. 33. 図29のステップS2の詳細な動作を説明するための別のフローチャートである。30 is another flowchart for explaining the detailed operation of step S2 of FIG. 29. 図36のステップS34Aの詳細な動作を説明するためのフローチャートである。37 is a flowchart for explaining the detailed operation of step S34A in FIG. 36. 図36のステップS34Aの詳細な動作を説明するための別のフローチャートである。37 is another flowchart for explaining the detailed operation of step S34A in FIG. 36. 図29のステップS3の詳細な動作を説明するためのフローチャートである。30 is a flowchart for explaining a detailed operation of step S3 in FIG. 29. 図1に示すネットワークスキャン装置の別の概略図である。2 is another schematic diagram of the network scanning device shown in FIG. 1. 複数のネットワークにおけるスキャン応答遅延SRTTの累積分布関数を示す図である。FIG. 1 illustrates the cumulative distribution function of scan response delay SRTT i in multiple networks. スキャンパケットの通信速度とネットワーク種別との関係を示す対応表TBL5の概念図である。13 is a conceptual diagram of a correspondence table TBL5 showing the relationship between the communication speed of a scan packet and the network type. 図40に示すネットワークスキャン装置の動作を説明するためのフローチャートである。41 is a flowchart for explaining the operation of the network scanning device shown in FIG. 40. 図43に示すステップS3Aの詳細な動作を説明するためのフローチャートである。44 is a flowchart for explaining a detailed operation of step S3A shown in FIG. 43. 図44に示すステップS3-3Aの詳細な動作を説明するためのフローチャートである。45 is a flowchart for illustrating a detailed operation of step S3-3A shown in FIG. 44. 最小スキャン応答遅延をしきい値として用いたときのネットワーク種別を判定する実験結果を示す図である。FIG. 13 is a diagram showing the results of an experiment to determine the network type when the minimum scan response delay is used as a threshold value. 平均スキャン応答遅延をしきい値として用いたときのネットワーク種別を判定する実験結果を示す図である。13A and 13B are diagrams illustrating experimental results for determining a network type when the average scan response delay is used as a threshold value.

本発明の実施の形態について図面を参照しながら詳細に説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰返さない。 The embodiment of the present invention will be described in detail with reference to the drawings. Note that the same or corresponding parts in the drawings are given the same reference numerals and their description will not be repeated.

図1は、この発明の実施の形態における通信システムの概略図である。図1を参照して、この発明の実施の形態による通信システム10は、ネットワークスキャン装置1と、インターネットプロバイダISPと、基地局BS1~BS4と、端末装置TM1~TM5とを備える。 Figure 1 is a schematic diagram of a communication system according to an embodiment of the present invention. Referring to Figure 1, a communication system 10 according to an embodiment of the present invention includes a network scanning device 1, an Internet provider ISP, base stations BS1 to BS4, and terminal devices TM1 to TM5.

ネットワークスキャン装置1、インターネットプロバイダISP(Internet Service Provider)、基地局BS1~BS4および端末装置TM1~TM5は、通信空間に配置される。 The network scanning device 1, the Internet service provider ISP (Internet Service Provider), base stations BS1 to BS4, and terminal devices TM1 to TM5 are placed in the communication space.

インターネットプロバイダISPは、ネットワークNW1の通信事業者である。基地局BS1~BS4は、それぞれ、ネットワークNW2~NW5の基地局である。ネットワークNW1は、例えば、有線LAN(Wired LAN)であり、ネットワークNW2は、例えば、無線LAN(WLAN)であり、ネットワークNW3は、例えば、Wi-SUN(Wireless Smart Utility Network)であり、ネットワークNW4は、例えば、LoRa(Long Range)であり、ネットワークNW5は、例えば、LTE(Long Term Evolution)である。ネットワークNW1~NW5は、相互に異なる通信規格に従って通信を行う。 The Internet provider ISP is the telecommunications carrier of network NW1. Base stations BS1 to BS4 are base stations of networks NW2 to NW5, respectively. Network NW1 is, for example, a wired LAN (Wired LAN), network NW2 is, for example, a wireless LAN (WLAN), network NW3 is, for example, a Wi-SUN (Wireless Smart Utility Network), network NW4 is, for example, LoRa (Long Range), and network NW5 is, for example, LTE (Long Term Evolution). Networks NW1 to NW5 communicate according to mutually different communication standards.

端末装置TM1~TM5は、それぞれ、ネットワークNW1~NW5内に配置され、インターネットプロバイダISPおよび基地局BS1~BS4と通信を行う。 The terminal devices TM1 to TM5 are placed in the networks NW1 to NW5, respectively, and communicate with the Internet provider ISP and the base stations BS1 to BS4.

なお、図1においては、ネットワークNW1~NW5のそれぞれにおいて、1個の端末装置が図示されているが、実際には、ネットワークNW1~NW5のそれぞれにおいて、複数の端末装置が存在する。 Note that in FIG. 1, one terminal device is shown in each of networks NW1 to NW5, but in reality, multiple terminal devices exist in each of networks NW1 to NW5.

この発明の実施の形態においては、端末装置TM1~TM5の各々が無線端末である場合があり、端末装置TM1~TM5の一部が無線端末からなり、かつ、残りが有線端末からなる場合もある。 In an embodiment of the present invention, each of the terminal devices TM1 to TM5 may be a wireless terminal, or some of the terminal devices TM1 to TM5 may be wireless terminals and the rest may be wired terminals.

端末装置TM1は、有線を介してインターネットプロバイダISPに接続される。 The terminal device TM1 is connected to the Internet provider ISP via a wired connection.

端末装置TM2~TM5は、それぞれ、無線通信によって基地局BS1~BS4と通信を行う。 The terminal devices TM2 to TM5 communicate with the base stations BS1 to BS4, respectively, via wireless communication.

ネットワークスキャン装置1は、後述する方法によって、端末装置TM1~TM5に対してネットワークスキャンを行い、ネットワークNW1~NW5の種別を判定する。また、ネットワークスキャン装置1は、後述する方法によって、端末装置TM1~TM5までの無線通信区間におけるホップ段数を推定するとともに、その推定したホップ段数に応じたスキャンスケジュールを作成してネットワークスキャンを実行する。 The network scanning device 1 performs a network scan on the terminal devices TM1 to TM5 using a method described below, and determines the type of the networks NW1 to NW5. The network scanning device 1 also estimates the number of hops in the wireless communication section to the terminal devices TM1 to TM5 using a method described below, and creates a scan schedule according to the estimated number of hops to perform the network scan.

図2は、図1に示すネットワークスキャン装置1の概略図である。図2を参照して、ネットワークスキャン装置1は、ネットワークスキャナ11と、スキャン解析マネージャ12と、ホスト情報データベース13と、スキャンスケジューラ14とを備える。 Figure 2 is a schematic diagram of the network scanning device 1 shown in Figure 1. Referring to Figure 2, the network scanning device 1 includes a network scanner 11, a scan analysis manager 12, a host information database 13, and a scan scheduler 14.

ネットワークスキャナ11は、スキャンスケジューラ14からスキャンスケジュールを受ける。そして、ネットワークスキャナ11は、1,2,3,・・・,g(gは、3以上の整数)のいずれかの数値に設定されたTTL(Time To Live)を含むg個のスキャンパケット(例えば、Pingパケットなど)を生成する。そうすると、ネットワークスキャナ11は、スキャンスケジュールに基づいて、g個のPingパケットを送信し、スキャン対象のネットワーク20に接続された端末装置に対してネットワークスキャンを行う。 The network scanner 11 receives a scan schedule from the scan scheduler 14. The network scanner 11 then generates g scan packets (e.g., Ping packets) each including a TTL (Time To Live) set to one of the values 1, 2, 3, ..., g (g is an integer equal to or greater than 3). The network scanner 11 then transmits the g Ping packets based on the scan schedule, and performs a network scan on the terminal devices connected to the network 20 to be scanned.

そして、ネットワークスキャナ11は、ネットワーク20に接続された端末装置からネットワークスキャンのスキャン応答を受信し、その受信したスキャン応答をユーザ(ネットワークセキュリティ等からなる)30およびスキャン解析マネージャ12へ出力する。 Then, the network scanner 11 receives a scan response of the network scan from a terminal device connected to the network 20, and outputs the received scan response to the user (comprising network security, etc.) 30 and the scan analysis manager 12.

スキャン解析マネージャ12は、ネットワークスキャナ11からスキャン応答を受け、ネットワークスキャン中に通信ログを受ける。そして、スキャン解析マネージャ12は、スキャン応答に基づいてスキャン対象の端末装置のアドレスと、スキャン応答とを対応付けたスキャン結果を生成し、その生成したスキャン結果をホスト情報データベース13に格納することによってホスト情報データベース13を作成または更新する。 The scan analysis manager 12 receives a scan response from the network scanner 11 and receives a communication log during the network scan. The scan analysis manager 12 then generates a scan result that associates the address of the terminal device to be scanned with the scan response based on the scan response, and creates or updates the host information database 13 by storing the generated scan result in the host information database 13.

また、スキャン解析マネージャ12は、複数の端末装置を対象とするネットワークスキャンのスキャン応答遅延に基づいて、後述する方法によって、ネットワーク20(ネットワークNW1~NW5)の種別を判定する。 The scan analysis manager 12 also determines the type of network 20 (networks NW1 to NW5) based on the scan response delay of a network scan targeting multiple terminal devices using a method described below.

更に、スキャン解析マネージャ12は、スキャン応答遅延に基づいて、後述する方法によって端末装置までの無線通信区間におけるホップ段数を推定する。 Furthermore, the scan analysis manager 12 estimates the number of hops in the wireless communication section to the terminal device based on the scan response delay using a method described below.

ホスト情報データベース13は、スキャン結果を記憶する。 The host information database 13 stores the scan results.

スキャンスケジューラ14は、ホスト情報データベース13からスキャン結果を読み出す。また、スキャンスケジューラ14は、スキャン要件をユーザ30から受ける。スキャンスケジューラ14は、ネットワークスキャンを行う領域(例えば、日本国内)に存在する全ての端末装置のグローバルIPアドレスおよびドメイン名を予め保持している。 The scan scheduler 14 reads the scan results from the host information database 13. The scan scheduler 14 also receives scan requirements from the user 30. The scan scheduler 14 holds in advance the global IP addresses and domain names of all terminal devices present in the area (e.g., Japan) where the network scan is to be performed.

そして、スキャンスケジューラ14は、スキャン要件およびスキャン結果に基づいて、後述する方法によって、ネットワークスキャンのスキャンタイミングと各スキャンタイミングにおけるネットワークスキャンの対象となる端末装置とを対応付けたスキャンスケジュールを作成する。そうすると、スキャンスケジューラ14は、スキャンスケジュールをネットワークスキャナ11へ出力してスキャンスケジュールに従ってネットワークスキャンを実行するようにネットワークスキャナ11を制御する。 Then, based on the scan requirements and the scan results, the scan scheduler 14 creates a scan schedule that associates the scan timings of the network scan with the terminal devices that are the targets of the network scan at each scan timing, using a method described below. The scan scheduler 14 then outputs the scan schedule to the network scanner 11 and controls the network scanner 11 to execute a network scan according to the scan schedule.

図3は、図2に示すホスト情報データベース13に格納される対応表の概念図である。なお、対応表TBL1は、ネットワークの種別を判定するときの対応表である。 Figure 3 is a conceptual diagram of a correspondence table stored in the host information database 13 shown in Figure 2. Note that correspondence table TBL1 is a correspondence table used when determining the network type.

図3を参照して、対応表TBL1は、時刻tと、IPアドレスAdd(i=1~m、mは、端末装置の総数)と、IPアドレスAddi_jと、ドメイン名DNと、基地局と、スキャン応答SRと、スキャン応答遅延SRTTと、仮判定と、仮判定回数と、最終判定とを含む。時刻t、IPアドレスAdd、IPアドレスAddi_j、ドメイン名DN、基地局、スキャン応答SR、スキャン応答遅延SRTT、仮判定、仮判定回数および最終判定は、相互に対応付けられる。 3, correspondence table TBL1 includes a time t, an IP address Add i (i=1 to m, m is the total number of terminal devices), an IP address Add i_j , a domain name DN i , a base station, a scan response SR i , a scan response delay SRTT i , a provisional judgment, a provisional judgment count, and a final judgment. The time t, IP address Add i , IP address Add i_j , domain name DN i , base station, scan response SR i , scan response delay SRTT i , provisional judgment, provisional judgment count, and final judgment are associated with each other.

時刻tは、YYYY/MM/DD/hh/mm/ss(年/月/日/時/分/秒)によって表される。そして、時刻tは、ネットワークスキャンにおけるPingパケットをネットワークスキャンの対象である端末装置へ送信した時間を表す。 Time t is expressed as YYYY/MM/DD/hh/mm/ss (year/month/day/hour/minute/second). Time t represents the time when a Ping packet in a network scan is sent to the terminal device that is the target of the network scan.

IPアドレスAddは、ネットワークスキャンの対象である端末装置のグローバルIPアドレスからなる。 The IP address Add i consists of the global IP address of the terminal device that is the target of the network scan.

IPアドレスAddi_jは、ネットワークスキャン装置1からネットワークスキャンの対象である端末装置(IPアドレスAddを有する端末装置)までの間に存在するルータのIPアドレスからなる。IPアドレスAdd1_1,Add1_2は、IPアドレスAddに対応付けられ、ネットワークスキャン装置1と、IPアドレスAddを有する端末装置との間に存在するルータを表す。IPアドレスAdd2_1,Add2_2,Add2_3は、IPアドレスAddに対応付けられ、ネットワークスキャン装置1と、IPアドレスAddを有する端末装置との間に存在するルータを表す。IPアドレスAdd3_1は、IPアドレスAddに対応付けられ、ネットワークスキャン装置1と、IPアドレスAddを有する端末装置との間に存在するルータを表す。IPアドレスAdd4_1,Add4_2、・・・、IPアドレスAddm-1_1およびIPアドレスAddm_1についても同様である。従って、IPアドレスAddi_jにおける“j”は、正の整数からなる。また、IPアドレスAdd1_1,Add1_2およびIPアドレスAdd2_1,Add2_2,Add2_3は、相互に一致する場合、一部が相互に一致する場合、および相互に異なる場合がある。図3に示すルータのIPアドレスAdd1_1,Add1_2;IPアドレスAdd2_1,Add2_2,Add2_3;IPアドレスAdd3_1;IPアドレスAdd4_1,Add4_2;・・・;IPアドレスAddm-1_1およびIPアドレスAddm_1の任意の複数のIPアドレス間(IPアドレスAdd2_1,Add2_2,Add2_3とIPアドレスAdd4_1,Add4_2との間、およびIPアドレスAdd4_1,Add4_2とIPアドレスAddm-1_1との間等)についても同様である。 IP address Add i_j is composed of the IP addresses of routers existing between the network scanning device 1 and the terminal device (terminal device having IP address Add i ) that is the target of the network scan. IP addresses Add 1_1 and Add 1_2 are associated with IP address Add 1 and represent routers existing between the network scanning device 1 and the terminal device having IP address Add 1. IP addresses Add 2_1 , Add 2_2 and Add 2_3 are associated with IP address Add 2 and represent routers existing between the network scanning device 1 and the terminal device having IP address Add 2. IP address Add 3_1 is associated with IP address Add 3 and represents a router existing between the network scanning device 1 and the terminal device having IP address Add 3 . The same applies to IP addresses Add 4_1 , Add 4_2 , ..., IP addresses Add m-1_1 and IP address Add m_1 . Therefore, "j" in IP address Add i_j is a positive integer. Also, IP addresses Add 1_1 , Add 1_2 and IP addresses Add 2_1 , Add 2_2 , Add 2_3 may match each other, may partially match each other, or may be different from each other. The same is true for the IP addresses Add 1_1 , Add 1_2 of the router shown in FIG. 3; IP addresses Add 2_1 , Add 2_2 , Add 2_3 ; IP address Add 3_1 ; IP addresses Add 4_1 , Add 4_2 ; ...; and between any multiple IP addresses of IP address Add m-1_1 and IP address Add m_1 (between IP addresses Add 2_1 , Add 2_2 , Add 2_3 and IP addresses Add 4_1 , Add 4_2 , and between IP addresses Add 4_1 , Add 4_2 and IP address Add m-1_1 , etc.).

ドメイン名DNは、IPアドレスAddに基づいてPTR(PoinTeR record)レコードを用いて変換されたものである。 The domain name DN i is converted based on the IP address Add i using a PTR (Pointer record).

基地局、スキャン応答SR、スキャン応答遅延SRTT、仮判定、仮判定回数および最終判定は、端末装置iのIPアドレスAddに対応して設けられる。 The base station, the scan response SR i , the scan response delay SRTT i , the tentative decision, the number of tentative decisions, and the final decision are provided corresponding to the IP address Add i of the terminal device i.

スキャン応答SRは、端末装置iのIPアドレスAddに対応付けられている。対応表TBL1において、スキャン応答SR1_1,SR1_2、・・・は、端末装置1のIPアドレスAddからのスキャン応答を表し、スキャン応答SR3_1,SR3_2、・・・は、端末装置3のIPアドレスAddからのスキャン応答を表し、スキャン応答SRm-1_1,SRm-1_2、・・・は、端末装置m-1のIPアドレスAddm-1からのスキャン応答を表す。なお、1つのIPアドレスAddに対して複数のスキャン応答SRが存在するのは、1つのIPアドレスAddの複数のポートに対してネットワークスキャンが実行されるからである。 The scan response SR i is associated with the IP address Add i of the terminal device i. In the correspondence table TBL1, the scan responses SR 1_1 , SR 1_2 , ... represent the scan responses from the IP address Add 1 of the terminal device 1, the scan responses SR 3_1 , SR 3_2 , ... represent the scan responses from the IP address Add 3 of the terminal device 3, and the scan responses SR m-1_1 , SR m-1_2 , ... represent the scan responses from the IP address Add m-1 of the terminal device m-1. Note that the reason that there are multiple scan responses SR i for one IP address Add i is because a network scan is performed on multiple ports of one IP address Add i .

スキャン応答SR1_1,SR1_2、・・・;スキャン応答SR3_1,SR3_2、・・・;・・・;スキャン応答SRm-1_1,SRm-1_2、・・・の各々は、スキャン応答が返って来たとき、“1”からなり、スキャン応答が返って来なかったとき、“0”からなる。 Each of the scan responses SR 1_1 , SR 1_2 , ...; the scan responses SR 3_1 , SR 3_2 , ...; the scan responses SR m-1_1 , SR m-1_2 , ... is "1" when a scan response is returned, and is "0" when no scan response is returned.

なお、この発明の実施の形態においては、端末装置iのIPアドレスAddごとにネットワークスキャンの結果を知りたいので、上述したように、スキャン応答SRは、端末装置iのIPアドレスAddに対応付けられている。従って、端末装置iの複数のポート番号の少なくとも1つのポート番号からスキャン応答が返って来たとき、スキャン応答SRは、1からなり、端末装置iの複数のポート番号の全てからスキャン応答が返って来なかったとき、スキャン応答SRは、0からなる。 In this embodiment of the present invention, since it is desired to know the results of the network scan for each IP address Add i of terminal device i, as described above, the scan response SR i is associated with the IP address Add i of terminal device i. Therefore, when a scan response is returned from at least one of the multiple port numbers of terminal device i, the scan response SR i is 1, and when a scan response is not returned from any of the multiple port numbers of terminal device i, the scan response SR i is 0.

図3においては、端末装置から返って来たスキャン応答SRについては、返って来たスキャン応答SRの個数分のスキャン応答がホスト情報データベース13に格納される。これは、上述したように、ネットワークスキャンは、g個のPingパケットを送信して行われるため、最大でg個のスキャン応答SRが返って来る。g個のスキャン応答SRのうち、少なくとも1個のスキャン応答SRが返って来れば、スキャン応答が返って来たことを示す“1”ではなく、返って来た個数分のスキャン応答SRが対応表TBL1に格納されている。 3, for scan responses SR i returned from a terminal device, the number of scan responses SR i returned is stored in the host information database 13. As described above, a network scan is performed by sending g Ping packets, so a maximum of g scan responses SR i are returned. If at least one scan response SR i out of the g scan responses SR i is returned, then the number of scan responses SR i returned is stored in correspondence table TBL1 instead of "1 " indicating that a scan response has been returned.

スキャン応答遅延SRTTは、Pingパケットを送信した時刻からスキャン応答SRが返って来るまでの時間からなる。対応表TBL1においては、スキャン応答遅延SRTT1_1,SRTT1_2,・・・は、端末装置1のIPアドレスAddに対してネットワークスキャンを実行したときのスキャン応答遅延を表し、スキャン応答遅延SRTT3_1,SRTT3_2,・・・は、端末装置3のIPアドレスAddに対してネットワークスキャンを実行したときのスキャン応答遅延を表し、スキャン応答遅延SRTTm-1_1,SRTTm-1_2,・・・は、端末装置m-1のIPアドレスAddm-1に対してネットワークスキャンを実行したときのスキャン応答遅延を表す。そして、スキャン応答遅延SRTTは、スキャン応答SRが返って来たことに基づいて計測されるので、対応表TBL1には、返って来たスキャン応答SRの個数と同じ個数のスキャン応答遅延SRTTが格納される。従って、例えば、スキャン応答遅延SRTT1_1,SRTT1_2,・・・は、それぞれ、スキャン応答SR1_1,SR1_2に対応付けられている。スキャン応答遅延延SRTT1_1,SRTT1_2,・・・以外のスキャン応答遅延延SRTT3_1,SRTT3_2、・・・等についても同様である。 The scan response delay SRTT i is the time from when a Ping packet is transmitted until a scan response SR i is returned. In the correspondence table TBL1, the scan response delays SRTT 1_1 , SRTT 1_2 , ... represent the scan response delays when a network scan is executed for the IP address Add 1 of the terminal device 1, the scan response delays SRTT 3_1 , SRTT 3_2 , ... represent the scan response delays when a network scan is executed for the IP address Add 3 of the terminal device 3, and the scan response delays SRTT m-1_1 , SRTT m-1_2 , ... represent the scan response delays when a network scan is executed for the IP address Add m-1 of the terminal device m-1. Since the scan response delay SRTT i is measured based on the return of the scan response SR i , the same number of scan response delays SRTT i as the number of returned scan responses SR i are stored in the correspondence table TBL1. Therefore, for example, the scan response delays SRTT 1_1 , SRTT 1_2 , ... are associated with the scan responses SR 1_1 , SR 1_2 , ..., respectively. The same is true for the scan response delays SRTT 3_1 , SRTT 3_2 , ... other than the scan response delays SRTT 1_1 , SRTT 1_2 , ....

仮判定は、後述する方法によって判定されたネットワークの種別Typeからなる。種別Typeは、種別Type1~Type5のいずれかからなる。種別Type1は、Wired LANからなり、種別Type2は、WLANからなり、種別Type3は、Wi-SUNからなり、種別Type4は、LoRaからなり、種別Type5は、LTEからなる。 The tentative determination is made based on the type of network determined by the method described below. The type can be one of types 1 to 5. Type 1 is Wired LAN, Type 2 is WLAN, Type 3 is Wi-SUN, Type 4 is LoRa, and Type 5 is LTE.

仮判定回数は、仮判定に含まれる1個以上の種別に対応付けられた1個以上の仮判定回数からなる。仮判定回数Nd_1_1,Nd_1_2,Nd_1_3は、端末装置1のIPアドレスAddに対してネットワークスキャンを実行したときのネットワーク種別の仮判定回数を表し、仮判定回数Nd_3_1,Nd_3_2は、端末装置3のIPアドレスAddに対してネットワークスキャンを実行したときのネットワーク種別の仮判定回数を表し、仮判定回数Nd_m-1_1,Nd_m-1_2,Nd_m-1_3,Nd_m-1_4は、端末装置m-1のIPアドレスAddm-1に対してネットワークスキャンを実行したときのネットワーク種別の仮判定回数を表す。そして、仮判定回数は、対象ネットワークの種別を種別Type(種別Type1~Type5のいずれか)と仮判定した回数からなる。例えば、仮判定回数Nd_1_1は、対象ネットワークの種別を種別Type3と仮判定した回数からなる。他の仮判定回数Nd_1_2,Nd_1_3,Nd_3_1,Nd_3_2,Nd_m-1_1,Nd_m-1_2,Nd_m-1_3,Nd_m-1_4についても同様である。 The provisional judgment count is made up of one or more provisional judgment counts associated with one or more types included in the provisional judgment. The provisional judgment counts Nd_1_1, Nd_1_2, and Nd_1_3 represent the provisional judgment counts of the network type when a network scan is performed on the IP address Add 1 of the terminal device 1, the provisional judgment counts Nd_3_1 and Nd_3_2 represent the provisional judgment counts of the network type when a network scan is performed on the IP address Add 3 of the terminal device 3, and the provisional judgment counts Nd_m-1_1, Nd_m-1_2, Nd_m-1_3, and Nd_m-1_4 represent the provisional judgment counts of the network type when a network scan is performed on the IP address Add m-1 of the terminal device m-1. The provisional judgment count is made up of the number of times the type of the target network is provisionally judged to be a type Type (any of types Type 1 to Type 5). For example, the provisional determination count Nd_1_1 is the number of times the type of the target network is provisionally determined to be Type 3. The same is true for the other provisional determination counts Nd_1_2, Nd_1_3, Nd_3_1, Nd_3_2, Nd_m-1_1, Nd_m-1_2, Nd_m-1_3, and Nd_m-1_4.

最終判定は、最も多い仮判定回数に対応付けられた仮判定からなる。例えば、種別Type3からなる最終判定は、種別Type1,Type3,Type4のうち、仮判定回数が最も多い仮判定回数Nd_1_1に対応付けられた種別Type3からなる。また、IPアドレスAddm-1に対応付けられた最終判定が“unknown”であるのは、仮判定回数Nd_m-1_1,Nd_m-1_2,Nd_m-1_3,Nd_m-1_4のうちの複数の仮判定回数が最も多く、相互に同じ回数であったためである。このように、仮判定回数が同じであるネットワーク種別が複数存在するとき、ネットワーク種別が“unknown”であると判定する。なお、“unknown”は、ネットワークの種別が不明であることを示す。 The final judgment is made up of the provisional judgment associated with the largest number of provisional judgments. For example, the final judgment made up of the type Type 3 is made up of the type Type 3 associated with the provisional judgment count Nd_1_1 having the largest number of provisional judgments among the types Type 1, Type 3, and Type 4. The reason why the final judgment associated with the IP address Add m-1 is "unknown" is because the provisional judgment counts Nd_m-1_1, Nd_m-1_2, Nd_m-1_3, and Nd_m-1_4 are the largest and are the same number. In this way, when there are multiple network types with the same number of provisional judgments, the network type is determined to be "unknown". Note that "unknown" indicates that the type of the network is unknown.

図4は、図2に示すホスト情報データベース13に格納される別の対応表の概念図である。なお、対応表TBL2は、ネットワークの無線通信区間のホップ段数を推定するときの対応表である。 Figure 4 is a conceptual diagram of another correspondence table stored in the host information database 13 shown in Figure 2. Note that correspondence table TBL2 is a correspondence table used when estimating the number of hops in a wireless communication section of a network.

図4を参照して、対応表TBL2は、スキャン実施回数s(s=1~S)と、対応表TBL3_sとを含む。スキャン実施回数sおよび対応表TBL3_sは、相互に対応付けられる。 Referring to FIG. 4, correspondence table TBL2 includes the number of scans s (s=1 to S) and correspondence table TBL3_s. The number of scans s and correspondence table TBL3_s are associated with each other.

スキャン実施回数sは、ネットワークスキャンが実行された回数を示す。そして、スキャン実施回数Sは、ホップ段数を推定する時点におけるスキャン実施回数を示す。また、スキャン実施回数1~S-1は、過去のネットワークスキャンの実施回数である。 The number of scans s indicates the number of times a network scan has been performed. The number of scans S indicates the number of scans performed at the time the number of hops is estimated. The number of scans 1 to S-1 indicates the number of times a network scan has been performed in the past.

対応表TBL2は、常に、S(Sは、2以上の整数)個の対応表TBL3_1~TBL3_Sを含む。そして、対応表TBL3_Sよりも新しい対応表TBL3_S+1が対応表TBL2に格納されたとき、最も古い対応表TBL3_1が削除される。 Correspondence table TBL2 always contains S (S is an integer equal to or greater than 2) correspondence tables TBL3_1 to TBL3_S. When correspondence table TBL3_S+1, which is newer than correspondence table TBL3_S, is stored in correspondence table TBL2, the oldest correspondence table TBL3_1 is deleted.

図5は、図4に示す対応表TBL2に格納される対応表TBL3の概念図である。図5を参照して、対応表TBL3は、時刻t’と、IPアドレスAdd’と、ポート番号PNと、スキャン応答SRと、スキャン応答遅延SRTTと、αと、最小値αi_MINと、平均値αi_AVEと、属性ATBと、有線通信区間の平均遅延RRTTi_AVEと、無線通信区間の最小遅延WRTTi_MINと、ホップ段数Nとを含む。 Fig. 5 is a conceptual diagram of correspondence table TBL3 stored in correspondence table TBL2 shown in Fig. 4. Referring to Fig. 5, correspondence table TBL3 includes time t', IP address Add'i , port number PNr , scan response SRi , scan response delay SRTTi , αi , minimum value αi_MIN , average value αi_AVE , attribute ATBi , average delay RRTTi_AVE of the wired communication section, minimum delay WRTTi_MIN of the wireless communication section, and number of hops Ni .

時刻t’、IPアドレスAdd’、ポート番号PN、スキャン応答SR、スキャン応答遅延SRTT、α、最小値αi_MIN、平均値αi_AVE、属性ATB、有線通信区間の平均遅延RRTTi_AVE、無線通信区間の最小遅延WRTTi_MINおよびホップ段数Nは、相互に対応付けられる。 Time t', IP address Add' i , port number PN r , scan response SR i , scan response delay SRTT i , α i , minimum value α i _MIN , average value α i _AVE , attribute ATB i , average delay of wired communication section RRTT i _AVE , minimum delay of wireless communication section WRTT i _MIN and number of hops N i are mutually associated.

対応表TBL3においては、ドメイン名DNおよび基地局が格納されていないが、実際には、ドメイン名DNおよび基地局も格納されている。 In the correspondence table TBL3, the domain name DN i and the base station are not stored, but in reality, the domain name DN i and the base station are also stored.

時刻t’は、YYYY/MM/DD/hh/mm/ss(年/月/日/時/分/秒)によって表される。そして、時刻t’は、ネットワークスキャンにおけるPingパケットをネットワークスキャンの対象である端末装置へ送信した時間を表す。 Time t' is expressed as YYYY/MM/DD/hh/mm/ss (year/month/day/hour/minute/second). Time t' represents the time when a Ping packet in a network scan is sent to the terminal device that is the target of the network scan.

IPアドレスAdd’は、ネットワークスキャンの対象である端末装置のグローバルIPアドレスからなる。 The IP address Add'i consists of the global IP address of the terminal device that is the target of the network scan.

ポート番号PNは、IPアドレスAdd’のポート番号である。スキャン応答SRおよびスキャン応答遅延SRTTは、図3において説明したとおりである。そして、対応表TBL3においては、スキャン応答SRおよびスキャン応答遅延SRTTは、ポート番号PNに対応付けられる。 The port number PN r is the port number of the IP address Add' i . The scan response SR i and the scan response delay SRTT i are as described in Fig. 3. In the correspondence table TBL3, the scan response SR i and the scan response delay SRTT i are associated with the port number PN r .

αは、スキャン応答遅延SRTTから有線通信区間の平均遅延RRTTi_AVEを減算した減算結果からなる。そして、αは、ポート番号PNに対応付けられる。対応表TBL3において、α1_1,α1_2は、IPアドレスAdd’に対してネットワークスキャンを実行したときのαを表し、α2_1,α2_2は、IPアドレスAdd’に対してネットワークスキャンを実行したときのαを表し、α3_1,α3_2,α3_3は、IPアドレスAdd’に対してネットワークスキャンを実行したときのαを表し、αm-1_1,αm-1_2,αm-1_3は、IPアドレスAdd’m-1に対してネットワークスキャンを実行したときのαを表し、αm_1,αm_2,αm_3は、IPアドレスAdd’に対してネットワークスキャンを実行したときのαを表す。 α i is the result of subtracting the average delay RRTT i_AVE in the wired communication section from the scan response delay SRTT i , and is associated with the port number PN r . In correspondence table TBL3, α 1_1 and α 1_2 represent the α i when a network scan is performed on IP address Add' 1 , α 2_1 and α 2_2 represent the α i when a network scan is performed on IP address Add' 2 , α 3_1 , α 3_2 , and α 3_3 represent the α i when a network scan is performed on IP address Add' 3 , α m-1_1 , α m-1_2 , and α m-1_3 represent the α i when a network scan is performed on IP address Add' m-1 , and α m_1 , α m_2 , and α m_3 represent the α i when a network scan is performed on IP address Add' m .

αi_MINは、αの最小値であり、IPアドレスAdd’に対応付けられる。そして、最小値αi_MINは、ポート番号PNに対応付けられた1個以上のαのうちの最小値を取るαのインデックスを選択することによって決定される。即ち、ポート番号PNに対応付けられたαがα,α,α(例えば、αが最小値)のように複数個存在する場合、最小値αi_MINは、複数個のα(α,α,α)のうちのインデックス“2”を有する最小値αからなる。この場合、複数個のα(α,α,α)のうちの最小値が複数個(例えば、α,αが最小値)存在する場合、最小値αi_MINは、複数個の最小値(=α,α)の任意の1つからなる。一方、ポート番号PNに対応付けられたαが1個である場合、最小値αi_MINは、その1個のαからなる。 α i _MIN is the minimum value of α i and is associated with the IP address Add' i . The minimum value α i _MIN is determined by selecting the index of α i having the minimum value among one or more α i associated with the port number PN r . That is, when there are a plurality of α i associated with the port number PN r , such as α 1 , α 2 , α 3 (for example, α 2 is the minimum value), the minimum value α i _MIN is made up of the minimum value α 2 having the index "2" among the plurality of α i1 , α 2 , α 3 ). In this case, when there are a plurality of minimum values (for example, α 1 , α 2 are the minimum values) among the plurality of α i1 , α 2 , α 3 ), the minimum value α i _MIN is made up of any one of the plurality of minimum values (=α 1 , α 2 ). On the other hand, when there is one α i associated with the port number PN r , the minimum value α i _MIN is made up of that one α i .

最小値αi_MINは、初回のネットワークスキャンが実行されたとき、必ず、更新される。また、最小値αi_MINは、2回目以降にネットワークスキャンが実行されたとき、新たに実行されたネットワークスキャンにおいて取得されるスキャン応答遅延SRTTに基づいて算出されたαを対応表TBL3に既に記録された最小値αi_MINと比較し、αが記録済の最小値αi_MINよりも小さいとき、記録済の最小値αi_MINを新たに算出されたαに置き換えて最小値αi_MINを更新する。一方、新たに算出されたαが記録済の最小値αi_MIN以上である場合、最小値αi_MINを更新しない。 The minimum value αi_MIN is always updated when the first network scan is performed. When a network scan is performed for the second or subsequent times, the minimum value αi_MIN is calculated by comparing the αi calculated based on the scan response delay SRTTi obtained in the newly performed network scan with the minimum value αi_MIN already recorded in the correspondence table TBL3, and if αi is smaller than the recorded minimum value αi_MIN , the recorded minimum value αi_MIN is replaced with the newly calculated αi to update the minimum value αi_MIN . On the other hand, if the newly calculated αi is equal to or larger than the recorded minimum value αi_MIN , the minimum value αi_MIN is not updated.

αi_AVEは、αの平均値であり、IPアドレスAdd’に対応付けられる。平均値αi_AVEは、次式によって算出されるD α_aveからなる。 α i _AVE is the average value of α i and corresponds to the IP address Add′ i . The average value α i _AVE is made up of D S α _ave calculated by the following formula.

Figure 0007513251000001
Figure 0007513251000001

式(1)において、D α_aveは、S回目のネットワークスキャンを実施したときのαの平均値である。また、D α_qは、s回目のネットワークスキャンを実施したときのq(qは、正の整数)番目のスキャン応答に対応するαである。更に、N αは、s回目のネットワークスキャンを実施したときのαの個数である。対応表TBL3においては、αは、ポート番号PNに対応付けられるので、N αは、1~Ptotal(Ptotalは、ポートの総数)である。そして、式(1)の分母は、S回のネットワークスキャンを実施したときのαの総数を表す。 In formula (1), D S α_ave is the average value of α i when the Sth network scan is performed. Furthermore, D s α_q is α i corresponding to the qth (q is a positive integer) scan response when the sth network scan is performed. Furthermore, N s α is the number of α i when the sth network scan is performed. In correspondence table TBL3, α i is associated with port number PN r , so N s α ranges from 1 to P total (P total is the total number of ports). And the denominator in formula (1) represents the total number of α i when Sth network scans are performed.

このように、平均値αi_AVEは、過去(1回目からS-1回目)のネットワークスキャンにおけるαと、ホップ段数の推定時のネットワークスキャンにおけるαとの平均値からなる。 In this way, the average value α i _AVE is made up of the average value of α i in the past (1st to S−1th) network scans and α i in the network scan when the number of hops is estimated.

なお、式(1)によって平均値αi_AVE(D α_ave=)を算出することは、平均値αi_AVEを更新することに相当する。 Note that calculating the average value α i _AVE (D S α — ave =) using equation (1) corresponds to updating the average value α i _AVE .

属性ATBiは、図3の対応表TBL1に格納された最終判定からなる。 Attribute ATBi consists of the final judgment stored in the correspondence table TBL1 in Figure 3.

有線通信区間の平均遅延RRTTi_AVEは、後述するネットワークスキャン装置1が想定しているネットワークにおける有線通信区間の平均遅延である。そして、有線通信区間の平均遅延RRTTi_AVEは、事前に、実験またはシミュレーションによって取得され、対応表TBL3に格納される。 The average delay RRTT i_AVE in the wired communication section is the average delay in the wired communication section in the network assumed by the network scanning device 1 described later. The average delay RRTT i_AVE in the wired communication section is obtained in advance by an experiment or a simulation, and is stored in the correspondence table TBL3.

無線通信区間の最小遅延WRTTi_MINは、後述するネットワークスキャン装置1が想定しているネットワークにおける無線通信区間の最小遅延である。そして、無線通信区間の最小遅延WRTTi_MINは、事前に、実験またはシミュレーションによって取得され、対応表TBL3に格納される。 The minimum delay WRTT i_MIN in the wireless communication section is the minimum delay in the wireless communication section in the network assumed by the network scanning device 1 described later. The minimum delay WRTT i_MIN in the wireless communication section is obtained in advance by an experiment or a simulation, and is stored in the correspondence table TBL3.

ホップ段数Nは、端末装置に対して実際にネットワークスキャンを行うときのネットワークにおける無線通信区間の推定されたホップ数からなる。そして、ホップ段数Nが推定されていない場合、Nには、無効値からなる初期値が格納される。 The number of hops N i is an estimated number of hops in a wireless communication section in a network when a network scan is actually performed on a terminal device. If the number of hops N i has not been estimated, an initial value that is an invalid value is stored in N i .

なお、図4に示す対応表TBL3_1~TBL3_Sの各々は、図5に示す対応表TBL3からなる。 Note that each of the correspondence tables TBL3_1 to TBL3_S shown in FIG. 4 is made up of the correspondence table TBL3 shown in FIG. 5.

図6は、スキャンスケジュールの概念図である。図6を参照して、スキャンスケジュールSCSHDは、スキャン総時間長T_totalを有し、T(Tは、1以上の整数)個のスキャンタイミング1~スキャンタイミングTを含む。 6 is a conceptual diagram of a scan schedule, and the scan schedule SCSHD has a total scan time length T S _total, and includes T S (T S is an integer equal to or greater than 1) scan timings 1 S to T S .

スキャン総時間長T_totalは、例えば、1日に設定され、スキャンタイミング1~スキャンタイミングTの各々は、例えば、1時間の時間長を有する。スキャンタイミングt(t=1~T)は、開始時刻tstartと、終了時刻tendと、対象アドレスAdd~Add(mは、1以上の整数)と、通信速度V~Vとを含む。 The total scan time length T S _total is set to, for example, one day, and each of scan timings 1 S to TS has a time length of, for example, one hour. The scan timings t S (t S =1 S to TS ) include a start time t start , an end time t end , target addresses Add 1 to Add m (m is an integer equal to or greater than 1), and communication speeds V 1 to V m .

開始時刻tstartは、スキャンタイミングtにおいてネットワークスキャンを開始する時刻を表し、終了時刻tendは、スキャンタイミングtにおいてネットワークスキャンを終了する時刻を表す。従って、ネットワークスキャナ11は、スキャンタイミングtにおいて終了時刻tendが到来すると、ネットワークスキャンを終了する。 The start time t start represents the time when the network scan starts at the scan timing t S , and the end time t end represents the time when the network scan ends at the scan timing t S. Therefore, the network scanner 11 ends the network scan when the end time t end arrives at the scan timing t S.

対象アドレスAdd~Addの各々は、グローバルIPアドレスからなる。そして、対象アドレスAdd~Addは、ネットワークスキャンの対象であるm個の端末装置を表す。 Each of the target addresses Add 1 to Add m is a global IP address, and represents m terminal devices that are targets of the network scan.

通信速度V~Vは、ネットワークスキャンを行うときのスキャンパケットの通信速度である。そして、通信速度V~Vは、それぞれ、対象アドレスAdd~Addに対応付けられている。 The communication speeds V 1 to V m are the communication speeds of scan packets when a network scan is performed, and correspond to the target addresses Add 1 to Add m , respectively.

従って、ネットワークスキャナ11は、スキャンタイミングtにおいてネットワークスキャンを行うとき、対象アドレスAdd~Addに対して、それぞれ、通信速度V~Vでg個のスキャンパケットを送出する。 Therefore, when the network scanner 11 performs a network scan at a scan timing tS , it transmits g scan packets to the target addresses Add 1 to Add m at communication speeds V 1 to V m , respectively.

なお、スキャンタイミングt以外のスキャンタイミング1~(t-1),(t+1)~Tの各々も、図6に示すスキャンタイミングtと同じ構成からなる。 Each of the scan timings 1 S to (t−1) S and (t+1) S to T S other than the scan timing t S has the same configuration as the scan timing t S shown in FIG.

スキャンタイミング1~Tは、相互に同じ時間長(=tend-tstart)を有していてもよく、相互に異なる時間長(=tend-tstart)を有していてもよい。また、スキャンタイミング1~Tは、相互に同じ個数のIPアドレスを有していてもよく、相互に異なる個数のIPアドレスを有していてもよい。 The scan timings 1S to TS may have the same time length (=t end -t start ) or may have different time lengths (=t end -t start ). Also, the scan timings 1S to TS may have the same number of IP addresses or may have different numbers of IP addresses.

また、スキャンタイミングtは、1つの時刻を意味するのではなく、開始時刻tstartから終了時刻tendまでの所定の時間長を有する概念である。 Moreover, the scan timing tS does not mean a single time, but is a concept having a predetermined time length from the start time tstart to the end time tend.

ネットワークスキャンの対象となるネットワークの種別を判定する方法について説明する。 Explains how to determine the type of network being scanned.

スキャン解析マネージャ12は、1つのスキャンタイミングtにおけるネットワークスキャンが終了すると、ホスト情報データベース13の対応表TBL1を参照して、1つのIPアドレスAddに対応付けられたスキャン応答SRおよびスキャン応答遅延SRTTを読み出す。 When the scan analysis manager 12 finishes a network scan at one scan timing tS , it refers to the correspondence table TBL1 of the host information database 13 and reads out the scan response SR i and the scan response delay SRTT i associated with one IP address Add i .

そして、スキャン解析マネージャ12は、スキャン応答SRに含まれるTTLを検出する。この場合、スキャン解析マネージャ12は、IPアドレスAddに対応付けられたスキャン応答SR11,SR12,・・・からそれぞれTTL11,TTL12,・・・を検出する。 Then, the scan analysis manager 12 detects TTL i included in the scan response SR i . In this case, the scan analysis manager 12 detects TTL 11 , TTL 12 , ... from the scan responses SR 11 , SR 12 , ... associated with the IP address Add 1 , respectively.

TTLは、Pingパケットが端末装置からネットワークスキャン装置1へ返って来るまでのホップ数を表す。1台のルータを通過する度に1ホップ増加するため、TTLは、Pingパケットが端末装置からネットワークスキャン装置1へ返って来るまでに通過したルータの台数+1を示す数値である。 TTL indicates the number of hops a Ping packet must make before returning from the terminal device to the network scanning device 1. Since one hop is added each time a Ping packet passes through a router, TTL is a value indicating the number of routers the Ping packet passed through before returning from the terminal device to the network scanning device 1 + 1.

スキャン解析マネージャ12は、TTL11,TTL12,・・・を検出すると、スキャン応答SR11,SR12,・・・に対応付けられたスキャン応答遅延SRTT11,SRTT12,・・・を検出する。そして、スキャン解析マネージャ12は、TTL11,TTL12,・・・およびスキャン応答遅延SRTT11,SRTT12,・・・に基づいて、1ホップの遅延時間を算出する。 When scan analysis manager 12 detects TTL11 , TTL12 , ..., it detects scan response delays SRTT11 , SRTT12 , ... associated with scan responses SR11 , SR12 , .... Then, scan analysis manager 12 calculates one-hop delay time based on TTL11 , TTL12 , ... and scan response delays SRTT11 , SRTT12 , ....

図7は、1ホップの遅延時間を算出する方法を説明するための図である。図7を参照して、ネットワークスキャン装置1と、ネットワークスキャンの対象となる端末装置との間には、K(Kは、1以上の整数)個のルータが存在する。 Figure 7 is a diagram for explaining a method for calculating one-hop delay time. Referring to Figure 7, there are K (K is an integer equal to or greater than 1) routers between the network scanning device 1 and the terminal device that is the target of the network scan.

TTL=1を含むPingパケットは、ルータ1まで到達し、TTL=2を含むPingパケットは、ルータ2まで到達し、以下、同様にして、TTL=K-1を含むPingパケットは、ルータK-1まで到達し、TTL=Kを含むPingパケットは、ルータKまで到達し、TTL=K+1を含むPingパケットは、端末装置まで到達する。 A Ping packet containing TTL=1 reaches Router 1, a Ping packet containing TTL=2 reaches Router 2, and so on. A Ping packet containing TTL=K-1 reaches Router K-1, a Ping packet containing TTL=K reaches Router K, and a Ping packet containing TTL=K+1 reaches the terminal device.

端末装置は、Pingパケットを受信すると、Pingパケットからなるスキャン応答SRを送信する。スキャン応答SRは、端末装置からネットワークスキャン装置1までの間の各種の経路を経由してネットワークスキャン装置1に到達する。そして、スキャン応答SRは、ネットワークスキャン装置1に到達したとき、通過したルータの個数からなるTTLを含む。 When the terminal device receives the Ping packet, it transmits a scan response SR i consisting of a Ping packet. The scan response SR i reaches the network scanning device 1 via various routes between the terminal device and the network scanning device 1. When the scan response SR i reaches the network scanning device 1, it includes a TTL consisting of the number of routers that it has passed through.

そこで、この発明の実施の形態においては、端末装置からネットワークスキャン装置1に到達したスキャン応答に含まれるTTLのうち、最小のTTLをネットワーク経路の段数とする。そして、図7においては、最小のTTLを“K+1”とする。 Therefore, in this embodiment of the invention, the minimum TTL among the TTLs included in the scan response that arrives at the network scanning device 1 from the terminal device is set as the number of stages in the network path. In FIG. 7, the minimum TTL is set to "K+1".

そうすると、スキャン解析マネージャ12は、端末装置よりも1段手前のルータKからのスキャン応答SRに対応付けられたスキャン応答遅延SRTTをホスト情報データベース13の対応表TBL1から検出し、その検出したスキャン応答遅延SRTTをLast hop RTTとする。即ち、Last hop RTTは、端末装置からネットワークスキャン装置1へ到達したPingパケットに含まれるTTLによって表されるネットワークの段数K+1よりも1段だけ手前のルータKに対するスキャン応答遅延である。 Then, the scan analysis manager 12 detects the scan response delay SRTT associated with the scan response SR from the router K one stage before the terminal device from the correspondence table TBL1 of the host information database 13, and sets the detected scan response delay SRTT as the last hop RTT. In other words, the last hop RTT is the scan response delay for the router K that is one stage before the number of network stages K+1 represented by the TTL included in the Ping packet that arrived at the network scanning device 1 from the terminal device.

ネットワークスキャン装置1と端末装置との間に配置されたK個のルータ1~Kは、Pingパケットをネットワークスキャン装置1と端末装置との間で伝送するときの経路を制御する。従って、K個のルータ1~Kのうちスキャン応答SRが返って来たルータであり、かつ、端末装置に最も近いルータを「最近接ルータ」としたとき、ルータ1から最近接ルータまでの1個以上のルータを通過するときの経路段数を「経路制御段数」とする。その結果、ルータ1から最近接ルータまでの1個以上のルータは、通常、K個のルータ1~Kからなり、K個のルータ1~Kを通過するときの経路制御段数は、Kとなる。 K routers 1 to K arranged between the network scanning device 1 and the terminal device control the route when a Ping packet is transmitted between the network scanning device 1 and the terminal device. Therefore, if the router among the K routers 1 to K that returned a scan response SR and is closest to the terminal device is defined as the "nearest router," then the number of route stages when passing through one or more routers from router 1 to the nearest router is defined as the "route control stages." As a result, the one or more routers from router 1 to the nearest router usually consist of K routers 1 to K, and the number of route control stages when passing through K routers 1 to K is K.

スキャン解析マネージャ12は、式(1)によって1ホップの遅延時間を算出する。 The scan analysis manager 12 calculates the delay time for one hop using formula (1).

1ホップの遅延時間=(Last hop RTT)/(経路制御段数)・・・(1)
Last hop RTTを用いて、1ホップの遅延時間を算出するのは、送信したい情報を含むパケットを送信先の端末装置へ送信する場合、送信先の端末装置は、最終的に、1個のルータを介してパケットを受信するので、ルータKと端末装置とからなるネットワークをネットワークスキャンの対象である対象ネットワークとするためである。また、TTL=K+1を含むPingパケットがルータKまで到達した後、ルータKを通過するスキャン応答SRは、端末装置によって送信されたものであり、ネットワークスキャン装置1からルータKまでのスキャン応答遅延RTTと、ネットワークスキャン装置1から端末装置までのスキャン応答遅延RTTとを区別できないからである。
One-hop delay time=(Last hop RTT)/(Number of routing stages) (1)
The reason for calculating the one-hop delay time using the last hop RTT is that when a packet containing information to be transmitted is transmitted to a destination terminal device, the destination terminal device ultimately receives the packet via one router, and therefore the network consisting of router K and the terminal device is treated as the target network that is the target of the network scan. Also, after a Ping packet containing TTL=K+1 reaches router K, the scan response SR that passes through router K was transmitted by the terminal device, and it is not possible to distinguish between the scan response delay RTT from the network scanning device 1 to router K and the scan response delay RTT from the network scanning device 1 to the terminal device.

その結果、1ホップの遅延時間は、K個のルータ1~Kにおける遅延時間の平均遅延時間からなる。 As a result, the delay time for one hop is the average delay time of the delay times at K routers 1 to K.

また、1ホップの遅延時間は、複数の端末装置について算出された複数の1ホップ当たりの遅延時間の平均値からなっていてもよい。 The delay time per hop may also be the average value of multiple delay times per hop calculated for multiple terminal devices.

このように、この発明の実施の形態においては、ネットワークスキャンは、ネットワークスキャン装置1からネットワークスキャンの対象である端末装置までの間に複数のルータが存在する多段ネットワークにおいて実行される。 Thus, in this embodiment of the invention, the network scan is performed in a multi-stage network in which there are multiple routers between the network scanning device 1 and the terminal device that is the target of the network scan.

スキャン解析マネージャ12は、1ホップの遅延時間を算出すると、1ホップの遅延時間にネットワークの経路段数(=K+1)よりも1段小さいKからなる経路制御段数を乗算して経路遅延RRTT_TYPE(=1ホップの遅延時間×経路制御段数K)を算出する。 After calculating the one-hop delay time, the scan analysis manager 12 multiplies the one-hop delay time by a number of route control stages, K of which is one stage smaller than the number of route stages (= K + 1) in the network, to calculate the route delay RRTT_TYPE (= one-hop delay time × number of route control stages K).

なお、式(1)によって、Last hop RTTを経路制御段数Kで除算して1ホップの遅延時間を算出し、1ホップの遅延時間に経路制御段数Kを乗算して経路遅延RRTTを算出するのは、次の理由による。 The reason why the last hop RTT is divided by the number of routing stages K in formula (1) to calculate the delay time of one hop, and the route delay RRTT is calculated by multiplying the delay time of one hop by the number of routing stages K, is as follows.

Last hop RTTは、実際には、バラツキを有するので、Last hop RTTを経路制御段数Kで除算して1つのルータを通過するときの平均的な遅延時間を1ホップの遅延時間として算出し、その算出した1ホップの遅延時間に経路制御段数Kを乗算して経路遅延RRTT_TYPEを算出することによって、Last hop RTTのバラツキを丸めるためである。 Since the last hop RTT actually varies, the last hop RTT is divided by the number of routing stages K to calculate the average delay time when passing through one router as the delay time of one hop, and the calculated delay time of one hop is multiplied by the number of routing stages K to calculate the route delay RRTT_TYPE , thereby rounding off the variation in the last hop RTT.

そして、ルータKからスキャン応答SRが返って来ない場合には、ネットワークスキャン装置1がPingパケットを送信してからルータK-1からのスキャン応答SRを受信するまでのスキャン応答遅延RTTをLast hop RTTとして、上述した方法によって経路遅延RRTT_TYPEを算出してもよく、ルータK-1,Kからスキャン応答SRが返って来ない場合には、ネットワークスキャン装置1がPingパケットを送信してからルータK-2からのスキャン応答SRを受信するまでのスキャン応答遅延RTTをLast hop RTTとして、上述した方法によって経路遅延RRTT_TYPEを算出してもよい。従って、一般的には、複数のルータ1~Kのうちの最近接ルータから返って来たスキャン応答遅延RTTTをLast hop RTTとして、上述した方法によって経路遅延RRTT_TYPEを算出すればよい。 Then, if the scan response SR i is not returned from the router K, the scan response delay RTT i from when the network scanning device 1 transmits a Ping packet until when it receives the scan response SR i from the router K-1 may be set as the last hop RTT, and the route delay RRTT _TYPE may be calculated by the above-mentioned method, and if the scan response SR i is not returned from the routers K-1 and K, the scan response delay RTT i from when the network scanning device 1 transmits a Ping packet until when it receives the scan response SR i from the router K-2 may be set as the last hop RTT, and the route delay RRTT _TYPE may be calculated by the above-mentioned method. Therefore, in general, the scan response delay RTTT i returned from the closest router among the multiple routers 1 to K may be set as the last hop RTT , and the route delay RRTT _TYPE may be calculated by the above-mentioned method.

経路遅延RRTT_TYPEを算出した後、スキャン解析マネージャ12は、端末装置からのスキャン応答SRに対応付けられたスキャン応答遅延SRTTをホスト情報データベース13の対応表TBL1から検出する。そして、スキャン解析マネージャ12は、スキャン応答遅延SRTTから経路遅延RRTT_TYPE(=1ホップの遅延時間×経路制御段数K)を減算してアクセス系部分の伝送遅延ARTT(=スキャン応答遅延RTT-経路遅延RRTT_TYPE(=1ホップの遅延時間×経路制御段数K))を算出する。 After calculating the route delay RRTT_TYPE , the scan analysis manager 12 detects the scan response delay SRTT associated with the scan response SR from the terminal device from the correspondence table TBL1 of the host information database 13. Then, the scan analysis manager 12 subtracts the route delay RRTT_TYPE (= delay time of one hop × number of route control stages K) from the scan response delay SRTT to calculate the transmission delay ARTT of the access system portion (= scan response delay RTT - route delay RRTT_TYPE (= delay time of one hop × number of route control stages K)).

なお、ルータKからスキャン応答SRが返って来ない場合には、上述の方法により1ホップの遅延時間を算出し、その算出した1ホップの遅延時間に多段ネットワークの段数から1を減じた値(すなわち、ネットワークスキャン装置1からルータK(=端末装置に最も近い位置に配置されたルータ)までのネットワーク段数)を乗算して経路遅延RRTT_TYPEを算出してもよい。このようにすることで、ルータKからスキャン応答SRが返って来ない場合においても、ルータKから端末装置までの遅延をアクセス系部分の伝送遅延ARTTとして求めることができる。 If the scan response SR i is not returned from the router K, the one-hop delay time may be calculated using the above-mentioned method, and the calculated one-hop delay time may be multiplied by a value obtained by subtracting 1 from the number of stages in the multistage network (i.e., the number of network stages from the network scanning device 1 to the router K (= the router located closest to the terminal device)) to calculate the route delay RRTT_TYPE . In this way, even if the scan response SR i is not returned from the router K, the delay from the router K to the terminal device can be found as the transmission delay ARTT of the access system portion.

図8は、ネットワーク種別、最小スキャン応答遅延および平均スキャン応答遅延の対応表を示す図である。 Figure 8 shows a table showing the correspondence between network type, minimum scan response delay, and average scan response delay.

図8を参照して、対応表TBL4は、ネットワーク種別と、最小スキャン応答遅延と、平均スキャン応答遅延とを含む。最小スキャン応答遅延および平均スキャン応答遅延は、ネットワーク種別に対応付けられる。 Referring to FIG. 8, correspondence table TBL4 includes network type, minimum scan response delay, and average scan response delay. The minimum scan response delay and the average scan response delay are associated with the network type.

ネットワーク種別は、Wired LAN、WLAN、Wi-SUN、LoRaおよびLTEからなる。 Network types include Wired LAN, WLAN, Wi-SUN, LoRa and LTE.

0.310[ms]の最小スキャン応答遅延および0.41[ms]の平均スキャン応答遅延は、Wired LANに対応付けられる。0.839[ms]の最小スキャン応答遅延および2.16[ms]の平均スキャン応答遅延は、WLANに対応付けられる。180[ms]の最小スキャン応答遅延および460.4[ms]の平均スキャン応答遅延は、Wi-SUNに対応付けられる。3808[ms]の最小スキャン応答遅延および5250[ms]の平均スキャン応答遅延は、LoRaに対応付けられる。12.5[ms]の最小スキャン応答遅延および19.3[ms]の平均スキャン応答遅延は、LTEに対応付けられる。 The minimum scan response delay of 0.310 ms and the average scan response delay of 0.41 ms are associated with Wired LAN. The minimum scan response delay of 0.839 ms and the average scan response delay of 2.16 ms are associated with WLAN. The minimum scan response delay of 180 ms and the average scan response delay of 460.4 ms are associated with Wi-SUN. The minimum scan response delay of 3808 ms and the average scan response delay of 5250 ms are associated with LoRa. The minimum scan response delay of 12.5 ms and the average scan response delay of 19.3 ms are associated with LTE.

このように、Wired LAN、WLAN、Wi-SUN、LoRaおよびLTEは、相互に異なる最小スキャン応答遅延または平均スキャン応答遅延を有する。 Thus, Wired LAN, WLAN, Wi-SUN, LoRa and LTE have different minimum or average scan response delays.

そして、最小スキャン応答遅延または平均スキャン応答遅延は、対象ネットワークの種別を判定するためのしきい値DT_thを構成する。 Then, the minimum scan response delay or the average scan response delay constitutes a threshold value DT_th for determining the type of the target network.

スキャン解析マネージャ12は、対応表TBL4を保持している。そして、スキャン解析マネージャ12は、伝送遅延ARTTを算出すると、その算出した伝送遅延ARTTをしきい値DT_thと比較し、伝送遅延ARTTに最も近いしきい値DT_thに対応付けられたネットワーク種別を対象ネットワークの種別と仮判定する。 The scan analysis manager 12 holds a correspondence table TBL4. Then, when the scan analysis manager 12 calculates the transmission delay ARTT, it compares the calculated transmission delay ARTT with a threshold value DT_th, and provisionally determines that the network type associated with the threshold value DT_th that is closest to the transmission delay ARTT is the type of the target network.

図9は、ネットワーク種別がWired LANであるときのスキャン応答遅延とネットワークスキャンの回数との関係を示す図である。 Figure 9 shows the relationship between scan response delay and the number of network scans when the network type is Wired LAN.

図9において、縦軸は、スキャン応答遅延を表し、横軸は、ネットワークスキャンの回数を表す。そして、図9は、実測されたスキャン応答遅延と、ネットワークスキャンの回数との関係を示す。 In Figure 9, the vertical axis represents the scan response delay, and the horizontal axis represents the number of network scans. Figure 9 also shows the relationship between the measured scan response delay and the number of network scans.

図9を参照して、Wired LANにおいて、スキャン応答遅延は、1000回までのネットワークスキャンに対して、概ね、0.30[ms]~0.55[ms]までの間に分布している。 Referring to Figure 9, in a wired LAN, the scan response delay is generally distributed between 0.30 [ms] and 0.55 [ms] for up to 1000 network scans.

図10は、ネットワーク種別がWired LANであるときのスキャン応答遅延の確率分布関数を示す図である。 Figure 10 shows the probability distribution function of scan response delay when the network type is Wired LAN.

図10において、縦軸は、確率分布関数を表し、横軸は、スキャン応答遅延を表す。図10を参照して、スキャン応答遅延の平均は、0.41[ms]であり、スキャン応答遅延の最小値は、0.310[ms]であり、スキャン応答遅延の最大値は、0.560[ms]である。 In FIG. 10, the vertical axis represents the probability distribution function, and the horizontal axis represents the scan response delay. Referring to FIG. 10, the average scan response delay is 0.41 [ms], the minimum scan response delay is 0.310 [ms], and the maximum scan response delay is 0.560 [ms].

図11は、ネットワーク種別がWLAN、Wi-SUNおよびLoRaであるときのスキャン応答遅延とネットワークスキャンの回数との関係を示す図である。 Figure 11 shows the relationship between scan response delay and the number of network scans when the network types are WLAN, Wi-SUN, and LoRa.

図11において、縦軸は、スキャン応答遅延を表し、横軸は、ネットワークスキャンの回数を表す。そして、図11は、実測されたスキャン応答遅延と、ネットワークスキャンの回数との関係を示す。 In Figure 11, the vertical axis represents the scan response delay, and the horizontal axis represents the number of network scans. Figure 11 also shows the relationship between the measured scan response delay and the number of network scans.

図11を参照して、スキャン応答遅延は、1500回までのネットワークスキャンに対して、WLAN、Wi-SUNおよびLoRaの間で大きく異なっている。そして、スキャン応答遅延は、WLANにおいて、最も小さく、Wi-SUNにおいて、2番目に小さく、LoRaにおいて、最も大きい。 Referring to FIG. 11, the scan response delay differs significantly between WLAN, Wi-SUN, and LoRa for up to 1500 network scans. The scan response delay is smallest for WLAN, second smallest for Wi-SUN, and largest for LoRa.

図12は、ネットワーク種別がWLANであるときのスキャン応答遅延の確率分布関数を示す図である。 Figure 12 shows the probability distribution function of scan response delay when the network type is WLAN.

図12において、縦軸は、確率分布関数を表し、横軸は、スキャン応答遅延を表す。図12を参照して、スキャン応答遅延の平均は、2.16[ms]であり、スキャン応答遅延の最小値は、0.839[ms]である。 In FIG. 12, the vertical axis represents the probability distribution function, and the horizontal axis represents the scan response delay. Referring to FIG. 12, the average scan response delay is 2.16 [ms], and the minimum scan response delay is 0.839 [ms].

図13は、ネットワーク種別がWi-SUNであるときのスキャン応答遅延の確率分布関数を示す図である。図13において、縦軸は、確率分布関数を表し、横軸は、スキャン応答遅延を表す。図13を参照して、スキャン応答遅延の平均は、460.4[ms]であり、スキャン応答遅延の最小値は、180[ms]である。 Figure 13 is a diagram showing the probability distribution function of the scan response delay when the network type is Wi-SUN. In Figure 13, the vertical axis represents the probability distribution function, and the horizontal axis represents the scan response delay. Referring to Figure 13, the average scan response delay is 460.4 [ms], and the minimum value of the scan response delay is 180 [ms].

図14は、ネットワーク種別がLoRaであるときのスキャン応答遅延の確率分布関数を示す図である。図14において、縦軸は、確率分布関数を表し、横軸は、スキャン応答遅延を表す。図14を参照して、スキャン応答遅延の平均は、5250[ms]であり、スキャン応答遅延の最小値は、3808[ms]である。 Figure 14 is a diagram showing the probability distribution function of the scan response delay when the network type is LoRa. In Figure 14, the vertical axis represents the probability distribution function, and the horizontal axis represents the scan response delay. Referring to Figure 14, the average scan response delay is 5250 [ms], and the minimum value of the scan response delay is 3808 [ms].

なお、ネットワーク種別がLTEである場合も、上述したWired LAN、WLAN、Wi-SUNおよびLoRaと同様にして、実測したスキャン応答遅延の分布に基づいて、最小スキャン応答遅延および平均スキャン応答遅延の値を決定した。 When the network type is LTE, the minimum scan response delay and average scan response delay values were determined based on the distribution of the measured scan response delays in the same manner as for Wired LAN, WLAN, Wi-SUN, and LoRa described above.

スキャン解析マネージャ12は、終了条件が満たされるまで仮判定を繰り返し実行する。終了条件は、次の終了条件1および終了条件2のいずれかからなる。 The scan analysis manager 12 repeatedly performs the tentative judgment until the termination condition is satisfied. The termination condition is either the following termination condition 1 or termination condition 2.

(終了条件1)
仮判定を所定の回数Zだけ実施した場合
なお、Zは、例えば、10回である。
(Termination condition 1)
When provisional determination is performed a predetermined number of times Z, Z is, for example, 10 times.

(終了条件2)
あるネットワーク種別に対する仮判定回数が支配的になった場合
例えば、あるネットワーク種別に対する仮判定回数がZ/2回以上になった場合である。
(Termination condition 2)
When the number of provisional judgments for a certain network type becomes dominant: For example, when the number of provisional judgments for a certain network type becomes Z/2 or more.

また、スキャン解析マネージャ12は、終了条件1を用いる場合、所定の時間内に仮判定回数がZ回に達しないとき、ネットワーク種別を“unknown”と判定する。 In addition, when using termination condition 1, if the number of provisional judgments does not reach Z within a specified time, the scan analysis manager 12 judges the network type to be "unknown."

ホップ段数の推定方法について説明する。図15は、ネットワークの概念図である。図15の(a)を参照して、ネットワークNW1は、ネットワークスキャン装置1(=ネットワークスキャナ11)と、有線ルータ2と、Wi-SUNルータ3,4と、Wi-SUN端末装置5とを含む。 The method for estimating the number of hops will now be described. Figure 15 is a conceptual diagram of a network. Referring to Figure 15(a), network NW1 includes a network scanning device 1 (= network scanner 11), a wired router 2, Wi-SUN routers 3 and 4, and a Wi-SUN terminal device 5.

ネットワークNW1は、端末装置に対してネットワークスキャンを実行するときに使用するネットワークである。 Network NW1 is the network used when performing a network scan on a terminal device.

ネットワークスキャナ11と有線ルータ2との間および有線ルータ2とWi-SUNルータ3との間は、有線通信区間である。 The sections between the network scanner 11 and the wired router 2 and between the wired router 2 and the Wi-SUN router 3 are wired communication sections.

Wi-SUNルータ3とWi-SUNルータ4との間およびWi-SUNルータ4とWi-SUN端末装置5との間は、無線通信区間である。 The sections between Wi-SUN router 3 and Wi-SUN router 4, and between Wi-SUN router 4 and Wi-SUN terminal device 5, are wireless communication sections.

このように、ネットワークNW1は、複数ホップの有線通信区間と1ホップ以上の無線通信区間とからなる。 In this way, network NW1 consists of a multi-hop wired communication section and one or more hop wireless communication sections.

図15の(b)を参照して、ネットワークNW2は、ネットワークスキャン装置1(=ネットワークスキャナ11)と、有線ルータ2,6と、Wi-SUNルータ4と、Wi-SUN端末装置5とを含む。 Referring to FIG. 15(b), the network NW2 includes a network scanning device 1 (= network scanner 11), wired routers 2 and 6, a Wi-SUN router 4, and a Wi-SUN terminal device 5.

ネットワークNW2は、ネットワークスキャン装置1(=ネットワークスキャナ11)が想定しているネットワークである。 Network NW2 is the network assumed by the network scanning device 1 (= network scanner 11).

ネットワークスキャナ11と有線ルータ2との間、有線ルータ2と有線ルータ6との間および有線ルータ6とWi-SUNルータ4との間は、有線通信区間である。 The sections between the network scanner 11 and the wired router 2, between the wired router 2 and the wired router 6, and between the wired router 6 and the Wi-SUN router 4 are wired communication sections.

Wi-SUNルータ4とWi-SUN端末装置5との間は、無線通信区間である。 The section between the Wi-SUN router 4 and the Wi-SUN terminal device 5 is a wireless communication section.

このように、ネットワークNW2は、複数ホップの有線通信区間と1ホップの無線通信区間とからなる。 In this way, network NW2 consists of a multi-hop wired communication section and a one-hop wireless communication section.

ネットワークNW1は、ネットワークNW1-1,NW1-2からなり、ネットワークNW2は、ネットワークNW2-1,NW2-2からなる。 Network NW1 consists of networks NW1-1 and NW1-2, and network NW2 consists of networks NW2-1 and NW2-2.

図16は、ネットワークNW1-1,NW2-1における遅延時間の概念図である。図16を参照して、遅延時間SRTT_NW1-1は、ネットワークNW1-1におけるネットワークスキャナ11とWi-SUN端末装置5との間の遅延時間を示し、遅延時間SRTT_NW2-1は、ネットワークNW2-1におけるネットワークスキャナ11とWi-SUN端末装置5との間の遅延時間を示す。 Figure 16 is a conceptual diagram of delay times in networks NW1-1 and NW2-1. Referring to Figure 16, delay time SRTT_NW1-1 indicates the delay time between the network scanner 11 and the Wi-SUN terminal device 5 in network NW1-1, and delay time SRTT_NW2-1 indicates the delay time between the network scanner 11 and the Wi-SUN terminal device 5 in network NW2-1.

遅延時間SRTT_NW1-1は、ネットワークスキャナ11と有線ルータ2との間の遅延時間(1)と、有線ルータ2とWi-SUNルータ3との間の遅延時間(2)と、Wi-SUNルータ3とWi-SUNルータ4との間の遅延時間(3)と、Wi-SUNルータ4とWi-SUN端末装置5との間の遅延時間(4)とからなる。 The delay time SRTT_NW1-1 consists of the delay time (1) between the network scanner 11 and the wired router 2, the delay time (2) between the wired router 2 and the Wi-SUN router 3, the delay time (3) between the Wi-SUN router 3 and the Wi-SUN router 4, and the delay time (4) between the Wi-SUN router 4 and the Wi-SUN terminal device 5.

そして、遅延時間(1),(2)の各々は、有線通信区間の遅延時間RRTTであり、遅延時間(3),(4)の各々は、無線通信区間の遅延時間WRTTである。 The delay times (1) and (2) are the delay times RRTT of the wired communication section, and the delay times (3) and (4) are the delay times WRTT of the wireless communication section.

従って、遅延時間SRTT_NW1-1は、2つの有線通信区間の遅延時間RRTTと、2つの無線通信区間の遅延時間WRTTとからなる。 Therefore, the delay time SRTT_NW1-1 consists of the delay time RRTT of the two wired communication sections and the delay time WRTT of the two wireless communication sections.

遅延時間SRTT_NW2-1は、ネットワークスキャナ11と有線ルータ2との間の遅延時間(1)と、有線ルータ2と有線ルータ6との間の遅延時間(2)と、有線ルータ6とWi-SUNルータ4との間の遅延時間(3)と、Wi-SUNルータ4とWi-SUN端末装置5との間の遅延時間(4)とからなる。 The delay time SRTT_NW2-1 consists of the delay time (1) between the network scanner 11 and the wired router 2, the delay time (2) between the wired router 2 and the wired router 6, the delay time (3) between the wired router 6 and the Wi-SUN router 4, and the delay time (4) between the Wi-SUN router 4 and the Wi-SUN terminal device 5.

そして、遅延時間(1),(2),(3)の各々は、有線通信区間の遅延時間RRTTであり、遅延時間(4)は、無線通信区間の遅延時間WRTTである。 The delay times (1), (2), and (3) are the delay times RRTT of the wired communication section, and the delay time (4) is the delay time WRTT of the wireless communication section.

従って、遅延時間SRTT_NW2-1は、3つの有線通信区間の遅延時間RRTTと、1つの無線通信区間の遅延時間WRTTとからなる。 Therefore, the delay time SRTT_NW2-1 consists of the delay time RRTT of three wired communication sections and the delay time WRTT of one wireless communication section.

遅延時間SRTT_NW1-1は、実測値であり、遅延時間SRTT_NW2-1は、端末装置の属性判定における認識である。 The delay time SRTT_NW1-1 is an actual measured value, and the delay time SRTT_NW2-1 is recognized in determining the attributes of the terminal device.

遅延時間SRTT_NW1-1に含まれる無線通信区間の遅延時間(3),(4)は、遅延時間SRTT_NW2-1に含まれる無線通信区間の遅延時間(4)と異なる。 The delay times (3) and (4) of the wireless communication sections included in the delay time SRTT_NW1-1 are different from the delay time (4) of the wireless communication section included in the delay time SRTT_NW2-1.

遅延時間SRTT_NW2-1に含まれる無線通信区間の遅延時間(4)は、実測されたスキャン応答遅延SRTT(=対応表TBL3に含まれるスキャン応答遅延SRTT)から遅延時間SRTT_NW2-1に含まれる有線通信区間の遅延時間(1),(2),(3)を減算することによって算出される。そして、この減算結果がネットワークNW2-1における無線通信区間の遅延時間(4)に相当するαである。 The delay time (4) of the wireless communication section included in the delay time SRTT_NW2-1 is calculated by subtracting the delay times (1), (2), and (3) of the wired communication section included in the delay time SRTT_NW2-1 from the actually measured scan response delay SRTT (= the scan response delay SRTT i included in the correspondence table TBL3). The result of this subtraction is α, which corresponds to the delay time (4) of the wireless communication section in the network NW2-1.

対応表TBL3に含まれる有線通信区間の平均遅延RRTTi_AVEは、実験またはシミュレーションによって事前に求められた平均遅延時間であるので、αは、α=(SRTT-3×RRTTi_AVE)によって算出される。 The average delay RRTT i_AVE of the wired communication section included in the correspondence table TBL3 is an average delay time obtained in advance by an experiment or a simulation, so α is calculated by α=(SRTT i -3×RRTT i_AVE ).

また、ネットワークNW2-1における1つの無線通信区間(=Wi-SUNルータ4とWi-SUN端末装置5との区間)における遅延時間WRTTの最小値WRTTi_MINも、実験またはシミュレーションによって事前に求められ、対応表TBL3に格納されている。そして、最小値WRTTi_MINは、1ホップの無線通信における遅延時間の最小値である。 In addition, the minimum value WRTT i_MIN of the delay time WRTT in one wireless communication section (=the section between the Wi-SUN router 4 and the Wi-SUN terminal device 5) in the network NW2-1 is also obtained in advance by experiment or simulation and stored in the correspondence table TBL3. The minimum value WRTT i_MIN is the minimum value of the delay time in one-hop wireless communication.

そこで、算出したαを最小値WRTTi_MINと比較することによって無線通信区間におけるホップ段数を推定する。より具体的には、αが最小値WRTTi_MINの何倍であるかを判定してホップ段数を推定する。 Therefore, the number of hops in the wireless communication section is estimated by comparing the calculated α with the minimum value WRTT i_MIN . More specifically, the number of hops is estimated by determining how many times α is larger than the minimum value WRTT i_MIN .

図17は、ネットワークNW1-2,NW2-2における遅延時間の概念図である。ネットワークNW1-2は、ネットワークNW1-1における有線ルータ2をWi-SUNルータ7に変えたネットワークである。 Figure 17 is a conceptual diagram of delay times in networks NW1-2 and NW2-2. Network NW1-2 is a network in which the wired router 2 in network NW1-1 has been replaced with a Wi-SUN router 7.

ネットワークNW1-2において、ネットワークスキャナ11とWi-SUNルータ7との間は、有線通信区間であり、Wi-SUNルータ7とWi-SUNルータ3との間、Wi-SUNルータ3とWi-SUNルータ4との間、およびWi-SUNルータ4とWi-SUN端末装置5との間は、無線通信区間である。 In network NW1-2, the section between network scanner 11 and Wi-SUN router 7 is a wired communication section, while the sections between Wi-SUN router 7 and Wi-SUN router 3, between Wi-SUN router 3 and Wi-SUN router 4, and between Wi-SUN router 4 and Wi-SUN terminal device 5 are wireless communication sections.

従って、ネットワークNW1-2は、1ホップの有線通信区間と3ホップの無線通信区間とからなるネットワークである。 Therefore, network NW1-2 is a network consisting of a one-hop wired communication section and a three-hop wireless communication section.

ネットワークNW2-2は、ネットワークNW2-1と同じように、3ホップの有線通信区間と1ホップの無線通信区間とからなる。但し、ネットワークNW2-2における1ホップの無線通信区間の遅延時間(4)は、ネットワークNW2-1における1ホップの無線通信区間の遅延時間(4)よりも大きい。これは、次の理由による。 Like network NW2-1, network NW2-2 consists of a three-hop wired communication section and a one-hop wireless communication section. However, the delay time (4) of the one-hop wireless communication section in network NW2-2 is greater than the delay time (4) of the one-hop wireless communication section in network NW2-1. This is for the following reasons.

有線LANにおける遅延時間は、例えば、最小値が0.31[msec]であり、平均値が0.41[msec]であり、最大値が0.56[msec]である。一方、Wi-SUNにおける遅延時間は、例えば、最小値が180[msec]であり、平均値が511[msec]であり、最大値が1389[msec]である。 For example, the delay time in a wired LAN is a minimum of 0.31 [msec], an average of 0.41 [msec], and a maximum of 0.56 [msec]. On the other hand, the delay time in a Wi-SUN is a minimum of 180 [msec], an average of 511 [msec], and a maximum of 1389 [msec].

また、ネットワークNW1-2は、1つの有線通信区間と3つの無線通信区間とを含み、ネットワークNW1-1は、2つの有線通信区間と2つの無線通信区間とを含むので、ネットワークNW1-2は、ネットワークNW1-1よりも多くの無線通信区間を含む。そして、上述したように無線通信区間の遅延時間(100~1000[msec])は、有線通信区間の遅延時間(1[msec]未満)よりも非常に大きいので、ネットワークNW1-1の1個の有線通信区間を1個の無線通信区間に変えたネットワークNW1-2において実測されたスキャン応答遅延SRTTは、ネットワークNW1-1において実測されたスキャン応答遅延SRTTよりも大きくなる。従って、ネットワークNW2-2における1ホップの無線通信区間の遅延時間(4)は、ネットワークNW2-1における1ホップの無線通信区間の遅延時間(4)よりも大きくなる。 In addition, since network NW1-2 includes one wired communication section and three wireless communication sections, and network NW1-1 includes two wired communication sections and two wireless communication sections, network NW1-2 includes more wireless communication sections than network NW1-1. As described above, the delay time of the wireless communication section (100 to 1000 [msec]) is much greater than the delay time of the wired communication section (less than 1 [msec]), so the scan response delay SRTT actually measured in network NW1-2, which replaces one wired communication section of network NW1-1 with one wireless communication section, is greater than the scan response delay SRTT actually measured in network NW1-1. Therefore, the delay time (4) of the wireless communication section of one hop in network NW2-2 is greater than the delay time (4) of the wireless communication section of one hop in network NW2-1.

そして、図16において説明した方法によってαを算出し、その算出したαを最小遅延WRTTi_MINと比較することによって無線通信区間におけるホップ段数を推定する。 Then, α is calculated by the method described in FIG. 16, and the calculated α is compared with the minimum delay WRTT i_MIN to estimate the number of hops in the wireless communication section.

この発明の実施の形態においては、無線通信区間におけるホップ段数を推定する方法は、次の2つの方法がある。
(I)αをしきい値Thi_N(N=1,2,3,・・・)と比較してホップ段数を推定する。
(II)αとしきい値Thi_1,Thi_2とを用いてホップ段数を算出する。
In the embodiment of the present invention, there are two methods for estimating the number of hops in a wireless communication section.
(I) Estimate the number of hops by comparing α i with a threshold Th i — N (N=1, 2, 3, . . . ).
(II) The number of hops is calculated using α i and thresholds Th i — 1 and Th i — 2 .

図18は、しきい値Thi_Nの概念図である。図18を参照して、Thi_1は、1ホップと2ホップとの間のしきい値であり、Thi_2は、2ホップと3ホップとの間のしきい値であり、Thi_3は、3ホップと4ホップとの間のしきい値である。 Fig. 18 is a conceptual diagram of thresholds Th i_N . Referring to Fig. 18, Th i_1 is a threshold between 1 hop and 2 hops, Th i_2 is a threshold between 2 hops and 3 hops, and Th i_3 is a threshold between 3 hops and 4 hops.

1ホップで通信する端末装置のαのサンプルをしきい値Thi_1と比較し、αがしきい値Th_未満であれば、ホップ段数が“1”であると推定し、αがしきい値Th_以上であれば、αをしきい値Thi_2と比較する。 A sample of α i of a terminal device communicating in one hop is compared with a threshold value Th i_1 , and if α i is less than the threshold value Th_1 , the number of hops is estimated to be "1", and if α i is greater than or equal to the threshold value Th_1 , α i is compared with a threshold value Th i_2 .

そして、αがしきい値Thi_2未満であれば、ホップ段数が“2”であると推定する。 If α i is less than a threshold Th i — 2 , the number of hops is estimated to be “2”.

また、2ホップで通信する端末装置のαのサンプルをしきい値Thi_2と比較し、αがしきい値Thi_2未満であれば、ホップ段数が“2”であると推定し、αがしきい値Thi_2以上であれば、αをしきい値Thi_3と比較する。 In addition, a sample of α i of a terminal device communicating in two hops is compared with a threshold value Th i_2 , and if α i is less than the threshold value Th i_2 , the number of hops is estimated to be "2", and if α i is greater than or equal to the threshold value Th i_2 , α i is compared with a threshold value Th i_3 .

更に、3ホップで通信する端末装置のαのサンプルをしきい値Thi_3と比較し、αがしきい値Thi_3未満であれば、ホップ段数が“3”であると推定し、αがしきい値Thi_3以上であれば、αをしきい値Thi_4と比較する。 Furthermore, a sample of α i of a terminal device communicating over three hops is compared with a threshold value Th i_3 , and if α i is less than the threshold value Th i_3 , the number of hops is estimated to be "3", and if α i is greater than or equal to the threshold value Th i_3 , α i is compared with a threshold value Th i_4 .

以下、同様にして、αをしきい値Thi_Nと比較し、αがThi_N-1≦α<Thi_Nを満たすとき、ホップ段数が“N-1”であると推定する。 Thereafter, in a similar manner, α i is compared with the threshold value Th i_N , and when α i satisfies Th i_N-1 ≦α i <Th i_N , the number of hops is estimated to be “N−1”.

上記の(I)または(II)によってホップ段数を推定する場合、αの最小値αi_MINまたは平均値αi_AVEが用いられる。 When estimating the number of hops by the above (I) or (II), the minimum value α i _MIN or the average value α i _AVE of α i is used.

図19は、しきい値Thi_Nを算出する方法を説明するための図である。なお、図19においては、αとしてαの最小値αi_MINを用いるときのしきい値Thi_Nを算出する方法を説明する。 Fig. 19 is a diagram for explaining a method for calculating the threshold value Th i_N . Note that Fig. 19 explains a method for calculating the threshold value Th i_N when the minimum value α i_MIN of α i is used as α i .

図19を参照して、1ホップの無線通信区間の遅延時間WRTTの最小値WRTTi_MINを基準値とする。そして、最小値WRTT_MINから1つの有線通信区間の遅延時間の平均値RRTTi_AVEを減算してLを算出する。ここで、最小値WRTTi_MINから平均値RRTTi_AVEを減算するのは、ネットワークスキャナ11が、ネットワークスキャンに使用されたネットワークNW1の構成をネットワークNW2の構成と誤認したため、その誤認識分を補正するためである。 19, the minimum value WRTT i_MIN of the delay time WRTT i in a wireless communication section of one hop is set as a reference value. Then, the average value RRTT i_AVE of the delay time in one wired communication section is subtracted from the minimum value WRTT i_MIN to calculate L i . Here, the average value RRTT i_AVE is subtracted from the minimum value WRTT i_MIN in order to correct the misrecognition caused by the network scanner 11 misrecognizing the configuration of the network NW1 used in the network scan as the configuration of the network NW2.

を算出すると、その算出したLを基準値(=WRTTi_MIN)に加算してしきい値Thi_1を算出する。また、Lをしきい値Thi_1に加算してしきい値Thi_2を算出する。更に、Lをしきい値Thi_2に加算してしきい値Th_を算出する。以下、同様にして、しきい値Thi_4~Thi_Nを算出する。 After L i is calculated, the calculated L i is added to a reference value (=WRTT i_MIN ) to calculate threshold value Th i_1 . Furthermore, L i is added to threshold value Th i_1 to calculate threshold value Th i_2 . Furthermore, L i is added to threshold value Th i_2 to calculate threshold value Th i_3 . Thereafter, threshold values Th i_4 to Th i_N are calculated in a similar manner.

従って、しきい値Thi_Nは、次式によって算出される。 Therefore, the threshold value Th i_N is calculated by the following formula.

Figure 0007513251000002
Figure 0007513251000002

αi_MINがαi_MIN<Thi_1を満たすとき、ホップ段数を“1”と推定し、αi_MINがThi_1≦αi_MIN<Thi_2を満たすとき、ホップ段数を“2”と推定し、αi_MINがThi_2≦αi_MIN<Thi_3を満たすとき、ホップ段数を“3”と推定し、以下、同様にして、αi_MINがThi_N-1≦αi_MIN<Thi_Nを満たすとき、ホップ段数を“N-1”と推定する。 When α i _MIN satisfies α i _MIN < Th i _1 , the number of hop stages is estimated to be "1", when α i _MIN satisfies Th i _1 ≦ α i _MIN < Th i _2 , the number of hop stages is estimated to be "2", when α i _MIN satisfies Th i _2 ≦ α i _MIN < Th i _3 , the number of hop stages is estimated to be "3", and similarly, when α i _MIN satisfies Th i _N-1 ≦ α i _MIN < Th i _N , the number of hop stages is estimated to be "N-1".

図20は、しきい値Thi_Nを算出する別の方法を説明するための図である。なお、図20においては、αとしてαの平均値αi_AVEを用いるときのしきい値Thi_Nを算出する方法を説明する。 Fig. 20 is a diagram for explaining another method for calculating the threshold value Th i_N . Note that Fig. 20 explains a method for calculating the threshold value Th i_N when the average value α i_AVE of α i is used as α i .

図20を参照して、WRTTi_MINと2×WRTTi_MINとの中点(=1.5×RTTi_MIN)を算出し、その算出した中点(=1.5×WRTTi_MIN)を基準値とする。 With reference to FIG. 20, the midpoint (=1.5×RTT i_MIN ) between WRTT i_MIN and 2×WRTT i_MIN is calculated, and the calculated midpoint (=1.5×WRTT i_MIN ) is set as the reference value.

そして、Lを基準値(=1.5×WRTTi_MIN)に加算してしきい値Thi_1を算出する。また、Lをしきい値Thi_1に加算してしきい値Thi_2を算出する。更に、Lをしきい値Thi_2に加算してしきい値Thi_3を算出する。以下、同様にして、しきい値Thi_4~Thi_Nを算出する。 Then, L i is added to a reference value (=1.5×WRTT i_MIN ) to calculate threshold value Th i_1 . Also, L i is added to threshold value Th i_1 to calculate threshold value Th i_2 . Furthermore, L i is added to threshold value Th i_2 to calculate threshold value Th i_3 . Thereafter, threshold values Th i_4 to Th i_N are calculated in a similar manner.

従って、しきい値Thi_Nは、次式によって算出される。 Therefore, the threshold value Th i_N is calculated by the following formula.

Figure 0007513251000003
Figure 0007513251000003

平均値αi_AVEがαi_AVE<Thi_1を満たすとき、ホップ段数を“1”と推定し、平均値αi_AVEがThi_1≦αi_AVE<Thi_2を満たすとき、ホップ段数を“2”と推定し、平均値αi_AVEがThi_2≦αi_AVE<Thi_3を満たすとき、ホップ段数を“3”と推定し、以下、同様にして、平均値αi_AVEがThi_N-1≦αi_AVE<Thi_Nを満たすとき、ホップ段数を“N-1”と推定する。 When the average value α i_AVE satisfies α i_AVE < Th i — 1 , the number of hop stages is estimated to be "1", when the average value α i_AVE satisfies Th i — 1 ≦ α i_AVE < Th i — 2, the number of hop stages is estimated to be "2", when the average value α i_AVE satisfies Th i — 2 ≦ α i_AVE < Th i — 3 , the number of hop stages is estimated to be "3", and similarly, when the average value α i_AVE satisfies Th i_N-1 ≦ α i_AVE < Th i_N , the number of hop stages is estimated to be "N-1".

上述したように、しきい値Thi_Nは、式(2)または式(3)によって算出されるので、しきい値Thi_Nは、一般的には、次式によって算出される。 As described above, the threshold value Th i_N is calculated by equation (2) or equation (3), and therefore the threshold value Th i_N is generally calculated by the following equation.

Figure 0007513251000004
Figure 0007513251000004

式(4)において、STDは、基準値である。式(4)の基準値STDに最小遅延WRTTi_MINを代入すると、式(2)が得られ、式(4)の基準値STDに1.5×WRTTi_MINを代入すると、式(3)が得られる。従って、式(4)は、しきい値Thi_Nを算出する一般式である。 In formula (4), STD is a reference value. Substituting the minimum delay WRTT i_MIN into the reference value STD in formula (4) gives formula (2), and substituting 1.5×WRTT i_MIN into the reference value STD in formula (4) gives formula (3). Therefore, formula (4) is a general formula for calculating the threshold value Th i_N .

図21は、しきい値Thi_Nを用いたホップ段数の推定方法を説明するための図である。なお、図21においては、上述したネットワークNW1-2において実測されたスキャン応答遅延SRTTを用いてホップ段数の推定方法を説明する。 Fig. 21 is a diagram for explaining a method for estimating the number of hops using a threshold value Th i_N . Note that in Fig. 21, the method for estimating the number of hops is explained using the scan response delay SRTT i actually measured in the above-mentioned network NW1-2.

図21を参照して、上述した方法によって、実測されたスキャン応答遅延SRTTから有線通信区間の平均遅延RRTTi_AVEを減算してαを算出する。 Referring to FIG. 21, α i is calculated by subtracting the average delay RRTT i_AVE in the wired communication section from the actually measured scan response delay SRTT i using the method described above.

そして、αをしきい値Thi_1と比較してαがしきい値Thi_1よりも大きいと判定する。その後、αをしきい値Thi_2と比較してαがしきい値Thi_2よりも大きいと判定する。更に、αをしきい値Thi_3と比較してαがしきい値Thi_3よりも小さいと判定する。従って、ホップ段数を“3”と推定する。 Then, α i is compared with a threshold Th i_1 and it is determined that α i is greater than the threshold Th i_1 . After that, α i is compared with a threshold Th i_2 and it is determined that α i is greater than the threshold Th i_2 . Furthermore, α i is compared with a threshold Th i_3 and it is determined that α i is smaller than the threshold Th i_3 . Therefore, the number of hops is estimated to be "3".

なお、図21においては、αの最小値αi_MINおよび平均値αi_AVEのいずれを用いた場合も、図21において説明した方法によってホップ段数を推定できる。 In FIG. 21, the number of hops can be estimated by the method described in FIG. 21 regardless of whether the minimum value α i _MIN or the average value α i _AVE of α i is used.

引き続いて、αとしきい値Thi_1,Thi_2とを用いてホップ段数を算出する方法について説明する。 Next, a method of calculating the number of hops using α i and thresholds Th i — 1 and Th i — 2 will be described.

図22は、αとしきい値Thi_1,Thi_2とを用いてホップ段数を算出する方法について説明するための図である。なお、図22においては、上述したネットワークNW1-2において実測されたスキャン応答遅延SRTTを用いてホップ段数の推定方法を説明する。 Fig. 22 is a diagram for explaining a method for calculating the number of hops using α i and thresholds Th i_1 and Th i_2 . Note that Fig. 22 explains a method for estimating the number of hops using the scan response delay SRTT i actually measured in the above-mentioned network NW1-2.

図22を参照して、αからしきい値Thi_1を減算してDi_1を算出する。また、しきい値Thi_2からしきい値Thi_1を減算してDi_2を算出する。 22, D i — 1 is calculated by subtracting a threshold value Th i — 1 from α i , and D i — 2 is calculated by subtracting a threshold value Th i — 1 from a threshold value Th i — 2.

そうすると、Di_が負であるか否かを判定する。そして、Di_が負であるとき、ホップ段数を“1”と推定する。一方、Di_が負でないとき、1+Ceil[Di_/Di_]の演算結果をホップ段数であると推定する。ここで、Ceil[Di_/Di_]は、Di_をDi_で除算した除算結果を切り上げた整数を出力することを表す。従って、図22に示す例では、αがしきい値Thi_2よりも大きいので、Ceil[Di_/Di_]=2となり、ホップ段数は、“3”であると推定される。 Then, it is determined whether Di_1 is negative. When Di_1 is negative, the number of hop stages is estimated to be "1". On the other hand, when Di_1 is not negative, the calculation result of 1 + Ceil[ Di_1 / Di_2 ] is estimated to be the number of hop stages. Here, Ceil[ Di_1 / Di_2 ] represents the output of an integer obtained by rounding up the result of dividing Di_1 by Di_2 . Therefore, in the example shown in FIG. 22, since α i is larger than the threshold value Th i_2 , Ceil[ Di_1 / Di_2 ] = 2, and the number of hop stages is estimated to be "3".

なお、図22においても、αの最小値αi_MINおよび平均値αi_AVEのいずれを用いた場合も、図22において説明した方法によってホップ段数を推定できる。 In addition, in FIG. 22 as well, the number of hops can be estimated by the method described in FIG. 22 regardless of whether the minimum value α i _MIN or the average value α i _AVE of α i is used.

スキャンスケジューラ14は、推定されたホップ段数に基づいてネットワークスキャンにおけるスキャンパケットの通信速度を設定してスキャンスケジュールを作成する。 The scan scheduler 14 creates a scan schedule by setting the communication speed of the scan packets in the network scan based on the estimated number of hops.

ネットワークスキャンに用いられたネットワークの無線通信区間のホップ段数を推定するとき、リストLS1,LS2,LS3,LS4が作成される。 When estimating the number of hops in the wireless communication section of the network used in the network scan, lists LS1, LS2, LS3, and LS4 are created.

図23から図26は、それぞれ、リストLS1~LS4の概念図である。図23を参照して、リストLS1は、属性が判定された端末装置のIPアドレスAdd’i_aと、最小値αi_MIN_aと、平均値αi_AVE_aとを含む。IPアドレスAdd’i_a、最小値αi_MIN_aおよび平均値αi_AVE_aは、相互に対応付けられる。IPアドレスAdd’i_a、最小値αi_MIN_aおよび平均値αi_AVE_aにおける「a」は、属性が判定済みであることを表す。 23 to 26 are conceptual diagrams of lists LS1 to LS4, respectively. Referring to Fig. 23, list LS1 includes an IP address Add' i_a of a terminal device whose attribute has been determined, a minimum value α i_MIN_a , and an average value α i_AVE_a . The IP address Add' i_a , the minimum value α i_MIN_a , and the average value α i_AVE_a correspond to each other. The "a" in the IP address Add' i_a , the minimum value α i_MIN_a , and the average value α i_AVE_a indicates that the attribute has been determined.

図24を参照して、リストLS2は、リストLS2-1,LS2-2からなる。リストLS2-1は、最小値αi_MINが更新された端末装置のIPアドレスAdd’i_upと、更新された最小値αi_MIN_upとを含む。IPアドレスAdd’i_upおよび最小値αi_MIN_upは、相互に対応付けられる。IPアドレスAdd’i_upおよび最小値αi_MIN_upにおける「up」は、更新済みであることを表す。 24, list LS2 is made up of lists LS2-1 and LS2-2. List LS2-1 includes an IP address Add' i_up of a terminal device whose minimum value α i_MIN has been updated, and the updated minimum value α i_MIN_up . The IP address Add' i_up and the minimum value α i_MIN_up are associated with each other. "up" in the IP address Add' i_up and the minimum value α i_MIN_up indicates that they have been updated.

リストLS2-2は、平均値αi_AVEが更新された端末装置のIPアドレスAdd”i_upと、更新された平均値αi_AVE_upとを含む。IPアドレスAdd”i_upおよび平均値αi_AVE_upは、相互に対応付けられる。IPアドレスAdd”i_upおよび平均値αi_AVE_upにおける「up」は、更新済みであることを表す。そして、IPアドレスAdd”i_upは、リストLS2-1のIPアドレスAdd’i_upと同じであることもあれば、異なっていることもある。 The list LS2-2 includes an IP address Add" i_up of a terminal device whose average value α i_AVE has been updated, and the updated average value α i_AVE_up . The IP address Add" i_up and the average value α i_AVE_up are associated with each other. "Up" in the IP address Add" i_up and the average value α i_AVE_up indicates that the address has been updated. The IP address Add" i_up may be the same as the IP address Add'i_up in the list LS2-1, or it may be different.

図25を参照して、リストLS3は、属性が判定済みであり、かつ、ホップ段数が初期値(無効値)である端末装置のIPアドレスAdd’i_a_invと、最小値αi_MIN_a_invと、平均値αi_AVE_a_invとを含む。IPアドレスAdd’i_a_inv、最小値αi_MIN_a_invおよび平均値αi_AVE_a_invは、相互に対応付けられる。IPアドレスAdd’i_a_inv、最小値αi_MIN_a_invおよび平均値αi_AVE_a_invにおける「a」は、属性が判定済みであることを表し、「inv」は、ホップ段数が初期値(無効値)であることを表す。 25, list LS3 includes an IP address Add'i_a_inv , a minimum value αi_MIN_a_inv , and an average value αi_AVE_a_inv of a terminal device whose attribute has been determined and whose number of hops is an initial value (invalid value). The IP address Add'i_a_inv , the minimum value αi_MIN_a_inv , and the average value αi_AVE_a_inv are associated with each other. "a" in the IP address Add'i_a_inv , the minimum value αi_MIN_a_inv , and the average value αi_AVE_a_inv indicates that the attribute has been determined, and "inv" indicates that the number of hops is an initial value (invalid value).

図26を参照して、リストLS4は、リストLS4-1,LS4-2からなる。リストLS4-1は、属性が判定済みであり、かつ、最小値αi_MINが更新された端末装置のIPアドレスAdd’i_a_upと、更新された最小値αi_MIN_a_upとを含む。IPアドレスAdd’i_a_upおよび最小値αi_MIN_a_upは、相互に対応付けられる。IPアドレスAdd’i_a_upおよび最小値αi_MIN_a_upにおける「a」は、属性が判定済みであることを表し、「up」は、更新済みであることを表す。 26, list LS4 is made up of lists LS4-1 and LS4-2. List LS4-1 includes an IP address Add' i_a_up of a terminal device whose attribute has been determined and whose minimum value α i_MIN has been updated, and the updated minimum value α i_MIN_a_up . The IP address Add' i_a_up and the minimum value α i_MIN_a_up are associated with each other. The "a" in the IP address Add' i_a_up and the minimum value α i_MIN_a_up indicates that the attribute has been determined, and "up" indicates that the attribute has been updated.

リストLS4-2は、属性が判定済みであり、かつ、平均値αi_AVEが更新された端末装置のIPアドレスAdd”i_a_upと、更新された平均値αi_AVE_a_upとを含む。IPアドレスAdd”i_a_upおよび平均値αi_AVE_a_upは、相互に対応付けられる。IPアドレスAdd”i_a_upおよび平均値αi_AVE_a_upにおいて、「a」は、属性が判定済みであることを表し、「up」は、更新済みであることを表す。そして、IPアドレスAdd”i_a_upは、リストLS4-1のIPアドレスAdd’i_a_upと同じであることもあれば、異なっていることもある。 List LS4-2 includes an IP address Add" i_a_up of a terminal device whose attribute has been determined and whose average value α i_AVE has been updated, and the updated average value α i_AVE_a_up . The IP address Add" i_a_up and the average value α i_AVE_a_up are mutually associated. In the IP address Add" i_a_up and the average value α i_AVE_a_up , "a" indicates that the attribute has been determined, and "up" indicates that it has been updated. The IP address Add" i_a_up may be the same as the IP address Add'i_a_up in list LS4-1, or it may be different.

図27は、スキャンパケットの通信速度を制御する方法を説明するための図である。図27を参照して、スキャンスケジューラ14は、ホップ段数Nが“2”であるとき、スキャンパケットの通信速度を1ホップの通信速度の1/2に制御する。また、スキャンスケジューラ14は、ホップ段数Nが“3”であるとき、スキャンパケットの通信速度を1ホップの通信速度の1/3に制御する。更に、スキャンスケジューラ14は、ホップ段数Nが“4”であるとき、スキャンパケットの通信速度を1ホップの通信速度の1/4に制御する。以下、同様にして、スキャンスケジューラ14は、ホップ段数Nが“N”であるとき、スキャンパケットの通信速度を1ホップの通信速度の1/Nに制御する。 Fig. 27 is a diagram for explaining a method of controlling the communication speed of a scan packet. Referring to Fig. 27, when the number of hop stages N i is "2", the scan scheduler 14 controls the communication speed of the scan packet to 1/2 of the communication speed of one hop. Also, when the number of hop stages N i is "3", the scan scheduler 14 controls the communication speed of the scan packet to 1/3 of the communication speed of one hop. Furthermore, when the number of hop stages N i is "4", the scan scheduler 14 controls the communication speed of the scan packet to 1/4 of the communication speed of one hop. Similarly, when the number of hop stages N i is "N", the scan scheduler 14 controls the communication speed of the scan packet to 1/N of the communication speed of one hop.

図28は、スキャンパケットの通信速度の制御を示す概念図である。図28を参照して、無線通信区間のホップ段数は、“2”である。スキャンパケットの通信速度を制御しない場合、例えば、スキャンパケットは、無線通信区間において、4[個/sec]の通信速度で送信される(図28の(a)参照)。 Figure 28 is a conceptual diagram showing control of the communication speed of scan packets. Referring to Figure 28, the number of hops in the wireless communication section is "2". If the communication speed of scan packets is not controlled, for example, scan packets are transmitted at a communication speed of 4 [packets/sec] in the wireless communication section (see (a) of Figure 28).

一方、スキャンパケットの通信速度を制御した場合、例えば、スキャンパケットは、無線通信区間において、2[個/sec]の通信速度で送信される(図28の(b)参照)。 On the other hand, when the communication speed of the scan packets is controlled, for example, the scan packets are transmitted at a communication speed of 2 packets/sec in the wireless communication section (see (b) in FIG. 28).

従って、ホップ段数に応じて無線通信区間のスキャンパケットの通信速度を制御することによって無線通信区間の無線リソースを低減できる。 Therefore, by controlling the communication speed of scan packets in a wireless communication section according to the number of hops, wireless resources in the wireless communication section can be reduced.

図29は、図2に示すネットワークスキャン装置1の動作を説明するためのフローチャートである。 Figure 29 is a flowchart for explaining the operation of the network scanning device 1 shown in Figure 2.

図29を参照して、ネットワークスキャン装置1の動作が開始されると、スキャン解析マネージャ12は、端末装置の属性を判定する(ステップS1)。 Referring to FIG. 29, when operation of the network scanning device 1 is started, the scan analysis manager 12 determines the attributes of the terminal device (step S1).

その後、スキャン解析マネージャ12は、マルチホップの段数を推定する(ステップS2)。 Then, the scan analysis manager 12 estimates the number of multi-hop stages (step S2).

引き続いて、スキャンスケジューラ14は、推定されたホップ段数を反映してスキャンスケジュールを作成し(ステップS3)、その作成したスキャンスケジュールをネットワークスキャナ11へ出力してスキャンスケジュールに従ってネットワークスキャンを実行するようにネットワークスキャナ11を制御する。 The scan scheduler 14 then creates a scan schedule reflecting the estimated number of hops (step S3), outputs the created scan schedule to the network scanner 11, and controls the network scanner 11 to execute a network scan according to the scan schedule.

ネットワークスキャナ11は、スキャンスケジュールをスキャンスケジューラ14から受け、その受けたスキャンスケジュールに従ってネットワークスキャンを実行する(ステップS4)。これによって、ネットワークスキャン装置1の動作が終了する。 The network scanner 11 receives the scan schedule from the scan scheduler 14 and executes a network scan according to the received scan schedule (step S4). This completes the operation of the network scanning device 1.

図30は、図29のステップS1の詳細な動作を説明するためのフローチャートである。図30を参照して、ネットワークスキャン装置1の動作が開始されると、スキャン解析マネージャ12は、i=1を設定する(ステップS11)。そして、ネットワークスキャナ11は、Pingパケットを送信してネットワークスキャンを実行する(ステップS12)。 Figure 30 is a flow chart for explaining the detailed operation of step S1 in Figure 29. Referring to Figure 30, when the operation of the network scanning device 1 starts, the scan analysis manager 12 sets i = 1 (step S11). Then, the network scanner 11 transmits a Ping packet to perform a network scan (step S12).

その後、スキャン解析マネージャ12は、スキャン応答遅延を計測する(ステップS13)。 Then, the scan analysis manager 12 measures the scan response delay (step S13).

引き続いて、スキャン解析マネージャ12は、ネットワークの経路段数およびスキャン応答遅延に基づいてアクセス系部分の伝送遅延ARTTを算出する(ステップS14)。 Next, the scan analysis manager 12 calculates the transmission delay ARTTi of the access system portion based on the number of network path stages and the scan response delay (step S14).

そして、スキャン解析マネージャ12は、伝送遅延ARTTをしきい値と比較し、ネットワーク種別を仮判定する(ステップS15)。 Then, the scan analysis manager 12 compares the transmission delay ARTT i with a threshold value and provisionally determines the network type (step S15).

そうすると、スキャン解析マネージャ12は、仮判定の終了条件を満たすか否かを判定する(ステップS16)。より具体的には、スキャン解析マネージャ12は、上述した終了条件1または終了条件2を満たすか否かを判定することによって仮判定の終了条件を満たすか否かを判定する。 The scan analysis manager 12 then determines whether the termination condition for the provisional judgment is met (step S16). More specifically, the scan analysis manager 12 determines whether the termination condition for the provisional judgment is met by determining whether the above-mentioned termination condition 1 or termination condition 2 is met.

ステップS16において、仮判定の終了条件を満たないと判定されたとき、スキャン解析マネージャ12は、所定時間が経過したか否かを判定する(ステップS17)。 If it is determined in step S16 that the conditions for terminating the provisional judgment are not met, the scan analysis manager 12 determines whether a predetermined time has elapsed (step S17).

ステップS17において、所定時間が経過したと判定されたとき、スキャン解析マネージャ12は、“unknown”を端末装置iの最終判定結果に設定する(ステップS18)。 When it is determined in step S17 that the predetermined time has elapsed, the scan analysis manager 12 sets "unknown" as the final judgment result of the terminal device i (step S18).

一方、ステップS17において、所定時間が経過していないと判定されたとき、一連の動作は、ステップS12へ移行し、ステップS16において、所定時間が経過するまでに仮判定の終了条件を満たすと判定されるまで、ステップS12~ステップS17が繰り返し実行される。 On the other hand, if it is determined in step S17 that the predetermined time has not elapsed, the series of operations proceeds to step S12, and steps S12 to S17 are repeatedly executed until it is determined in step S16 that the termination condition for the provisional judgment is met before the predetermined time has elapsed.

そして、ステップS16において、仮判定の終了条件を満たすと判定されると、スキャン解析マネージャ12は、仮判定回数が支配的であるか否かを判定する(ステップS19)。 Then, if it is determined in step S16 that the condition for terminating the provisional judgment is met, the scan analysis manager 12 determines whether the number of provisional judgments is dominant (step S19).

ステップS19において、仮判定回数が支配的であると判定されたとき、スキャン解析マネージャ12は、仮判定回数が支配的になった仮判定結果を端末装置iの最終判定結果に設定する(ステップS20)。 When it is determined in step S19 that the number of provisional judgments is dominant, the scan analysis manager 12 sets the provisional judgment result in which the number of provisional judgments has become dominant as the final judgment result for the terminal device i (step S20).

一方、ステップS19において、仮判定回数が支配的でないと判定されたとき、スキャン解析マネージャ12は、判定回数が最も多い仮判定結果を端末装置iの最終判定結果に設定する(ステップS21)。 On the other hand, when it is determined in step S19 that the number of provisional judgments is not dominant, the scan analysis manager 12 sets the provisional judgment result with the greatest number of judgments as the final judgment result for the terminal device i (step S21).

そして、スキャン解析マネージャ12は、ステップS18、ステップS20およびステップS21のいずれかの後、i=mであるか否かを判定する(ステップS22)。 Then, after step S18, step S20, or step S21, the scan analysis manager 12 determines whether i=m (step S22).

ステップS22において、i=mでないと判定されたとき、スキャン解析マネージャ12は、i=i+1を設定する(ステップS23)。その後、一連の動作は、ステップS12へ移行し、ステップS22において、i=mであると判定されるまで、ステップS12~ステップS23が繰り返し実行される。 If it is determined in step S22 that i is not equal to m, the scan analysis manager 12 sets i to i+1 (step S23). After that, the series of operations proceeds to step S12, and steps S12 to S23 are repeatedly executed until it is determined in step S22 that i is equal to m.

そして、ステップS22において、i=mであると判定されると、スキャン解析マネージャ12は、最終判定結果をホスト情報データベース13の対応表TBL1に記録する(ステップS24)。そして、ステップS24の後、一連の動作は、図29のステップS2へ移行する。 If it is determined in step S22 that i=m, the scan analysis manager 12 records the final determination result in the correspondence table TBL1 of the host information database 13 (step S24). After step S24, the series of operations proceeds to step S2 in FIG. 29.

図30に示すフローチャートにおいては、ステップS16において、上述した終了条件2(仮判定回数が支配的になった)を満たすと判定することによって仮判定の終了条件を満たすと判定した場合、ステップS19,S21を実行せずにステップS20を実行するようにしてもよい。 In the flowchart shown in FIG. 30, if it is determined in step S16 that the termination condition of the provisional judgment is satisfied by determining that the termination condition 2 described above (the number of provisional judgments becomes dominant) is satisfied, step S20 may be executed without executing steps S19 and S21.

図31は、図30のステップS14の詳細な動作を説明するためのフローチャートである。図31を参照して、図30のステップS13の後、スキャン解析マネージャ12は、端末装置iからのスキャン応答SRに含まれるTTLを検出し、その検出したTTLの数値K+1をネットワークの経路段数に設定する(ステップS141)。 Fig. 31 is a flowchart for explaining the detailed operation of step S14 in Fig. 30. Referring to Fig. 31, after step S13 in Fig. 30, scan analysis manager 12 detects TTL i included in scan response SR i from terminal device i, and sets the value K+1 of the detected TTL i as the number of route stages in the network (step S141).

そして、スキャン解析マネージャ12は、端末装置の1つ手前に位置するルータKからのスキャン応答SRに対応するスキャン応答遅延SRTTを検出する(ステップS142)。 Then, the scan analysis manager 12 detects the scan response delay SRTT K corresponding to the scan response SR K from the router K located immediately upstream of the terminal device (step S142).

その後、スキャン解析マネージャ12は、スキャン応答遅延SRTTをネットワークスキャン装置1からルータKまでのホップ数である経路制御段数Kで除算して1ホップの遅延時間を算出する(ステップS143)。 Thereafter, the scan analysis manager 12 divides the scan response delay SRTT K by the number of routing stages K, which is the number of hops from the network scanning device 1 to the router K, to calculate the delay time per hop (step S143).

引き続いて、スキャン解析マネージャ12は、1ホップの遅延時間にネットワークスキャン装置からルータKまでの経路制御段数Kを乗算して経路遅延を算出する(ステップS144)。 The scan analysis manager 12 then multiplies the one-hop delay time by the number of route control stages K from the network scanning device to router K to calculate the route delay (step S144).

そうすると、スキャン解析マネージャ12は、端末装置iからのスキャン応答SRに対応付けられたスキャン応答遅延SRTTから経路遅延を減算して伝送遅延ARTTを算出する(ステップS145)。その後、一連の動作は、図30のステップS15へ移行する。 Then, the scan analysis manager 12 calculates the transmission delay ARTT i by subtracting the path delay from the scan response delay SRTT i associated with the scan response SR i from the terminal device i (step S145). After that, the series of operations proceeds to step S15 in FIG.

図32は、図30のステップS15の詳細な動作を説明するためのフローチャートである。 Figure 32 is a flowchart explaining the detailed operation of step S15 in Figure 30.

図32を参照して、図30のステップS14の後、スキャン解析マネージャ12は、保持している対応表TBL4からWired LAN、WLAN、Wi-SUN、LoRaおよびLTEのネットワークにおけるしきい値DT_th1~DT_th5を読み出す(ステップS151)。 Referring to FIG. 32, after step S14 in FIG. 30, the scan analysis manager 12 reads out thresholds DT_th1 to DT_th5 for Wired LAN, WLAN, Wi-SUN, LoRa, and LTE networks from the correspondence table TBL4 that it holds (step S151).

この場合、スキャン解析マネージャ12は、Wired LANにおけるしきい値としてしきい値DT_th1を読み出し、WLANにおけるしきい値としてしきい値DT_th2を読み出し、Wi-SUNにおけるしきい値としてしきい値DT_th3を読み出し、LoRaにおけるしきい値としてしきい値DT_th4を読み出し、LTEにおけるしきい値としてしきい値DT_th5を読み出す。 In this case, the scan analysis manager 12 reads out threshold value DT_th1 as the threshold value for Wired LAN, threshold value DT_th2 as the threshold value for WLAN, threshold value DT_th3 as the threshold value for Wi-SUN, threshold value DT_th4 as the threshold value for LoRa, and threshold value DT_th5 as the threshold value for LTE.

また、スキャン解析マネージャ12は、対応表TBL4の最小スキャン応答遅延または平均スキャン応答遅延をしきい値DT_th1~DT_th5として読み出す。 The scan analysis manager 12 also reads the minimum scan response delay or average scan response delay from the correspondence table TBL4 as thresholds DT_th1 to DT_th5.

ステップS151の後、スキャン解析マネージャ12は、j=1を設定し(ステップS152)、伝送遅延ARTTとしきい値DT_thjとの差の絶対値|ARTT―DT_thj|を算出する(ステップS153)。 After step S151, the scan analysis manager 12 sets j=1 (step S152), and calculates the absolute value |ARTT i -DT_thj| of the difference between the transmission delay ARTT i and the threshold value DT_thj (step S153).

そして、スキャン解析マネージャ12は、j=NNWであるか否かを判定する(ステップS154)。なお、NNWは、ネットワークの総数である。 Then, the scan analysis manager 12 determines whether j= N_NW (step S154), where N_NW is the total number of networks.

ステップS154において、j=NNWでないと判定されたとき、スキャン解析マネージャ12は、j=j+1を設定する(ステップS155)。その後、一連の動作は、ステップS153へ移行し、ステップS154において、j=NNWであると判定されるまで、ステップS153~ステップS155が繰り返し実行される。 When it is determined in step S154 that j is not equal to N NW , the scan analysis manager 12 sets j to j + 1 (step S155). After that, the series of operations proceeds to step S153, and steps S153 to S155 are repeatedly executed until it is determined in step S154 that j is equal to N NW .

そして、ステップS154において、j=NNWであると判定されると、スキャン解析マネージャ12は、複数の絶対値|ARTT―DT_thj|から最小値を検出する(ステップS156)。 If it is determined in step S154 that j= NNW , the scan analysis manager 12 detects the minimum value from among the multiple absolute values |ARTT i -DT_thj| (step S156).

そうすると、スキャン解析マネージャ12は、最小値が複数有るか否かを判定する(ステップS157)。 The scan analysis manager 12 then determines whether there are multiple minimum values (step S157).

ステップS157において、最小値が複数有ると判定されたとき、スキャン解析マネージャ12は、対象ネットワークの種別を“unknown”と仮判定する(ステップS158)。 When it is determined in step S157 that there are multiple minimum values, the scan analysis manager 12 provisionally determines that the type of the target network is "unknown" (step S158).

一方、ステップS157において、最小値が複数無いと判定されたとき、スキャン解析マネージャ12は、最小値の算出に用いられたしきい値DT_thjに対応するネットワーク種別を対象ネットワークの種別として仮判定する(ステップS159)。 On the other hand, when it is determined in step S157 that there are not multiple minimum values, the scan analysis manager 12 provisionally determines that the network type corresponding to the threshold value DT_thj used to calculate the minimum value is the type of the target network (step S159).

そして、ステップS158またはステップS159の後、スキャン解析マネージャ12は、仮判定結果と仮判定回数をホスト情報データベース13に記録する(ステップS160)。その後、一連の動作は、図30のステップS16へ移行する。 Then, after step S158 or step S159, the scan analysis manager 12 records the provisional judgment result and the number of provisional judgments in the host information database 13 (step S160). After that, the series of operations proceeds to step S16 in FIG. 30.

図33は、図29のステップS2の詳細な動作を説明するためのフローチャートである。 Figure 33 is a flowchart explaining the detailed operation of step S2 in Figure 29.

図33を参照して、図29のステップS1の後、スキャン解析マネージャ12は、ホスト情報データベース13の対応表TBL3に基づいて、属性が判定された端末装置のリストLS1を作成する(ステップS31)。この場合、スキャン解析マネージャ12は、対応表TBL2の対応表TBL3_Sを構成する対応表TBL3(即ち、ホップ段数の推定時における対応表TBL3)に基づいて、属性が判定された端末装置のリストLS1を作成する。 Referring to FIG. 33, after step S1 in FIG. 29, the scan analysis manager 12 creates a list LS1 of terminal devices whose attributes have been determined based on the correspondence table TBL3 in the host information database 13 (step S31). In this case, the scan analysis manager 12 creates the list LS1 of terminal devices whose attributes have been determined based on the correspondence table TBL3 (i.e., the correspondence table TBL3 at the time of estimating the number of hops) constituting the correspondence table TBL3_S in the correspondence table TBL2.

ステップS31の後、スキャン解析マネージャ12は、対応表TBL2の対応表TBL3_Sを構成する対応表TBL3(即ち、ホップ段数の推定時における対応表TBL3)に基づいて、上述した方法によって、IPアドレスAddの全てについて最小値αMINを更新し、最小値αMINが更新された端末装置のリストLS2(=LS2-1)を作成する(ステップS32)。 After step S31, scan analysis manager 12 updates the minimum value α MIN for all IP addresses Add i using the method described above based on correspondence table TBL3 (i.e., correspondence table TBL3 at the time of estimating the number of hops) that constitutes correspondence table TBL3_S of correspondence table TBL2 , and creates a list LS2 (= LS2-1) of terminal devices whose minimum value α MIN has been updated (step S32).

ステップS32の後、スキャン解析マネージャ12は、リストLS1に基づいて、属性が判定され、かつ、ホップ段数が初期値(無効値)である端末装置のリストLS3を作成する(ステップS33)。 After step S32, the scan analysis manager 12 creates a list LS3 of terminal devices whose attributes have been determined and whose hop count is the initial value (invalid value) based on list LS1 (step S33).

そして、スキャン解析マネージャ12は、リストLS3に含まれる全ての端末装置についてホップ段数を推定する(ステップS34)。 Then, the scan analysis manager 12 estimates the number of hops for all terminal devices included in the list LS3 (step S34).

その後、スキャン解析マネージャ12は、リストLS1,LS2(=LS2-1)に基づいて、属性が判定され、かつ、最小値αi_MINが更新された端末装置のリストLS4(=LS4-1)を作成する(ステップS35)。 Thereafter, the scan analysis manager 12 creates a list LS4 (=LS4-1) of terminal devices whose attributes have been determined and whose minimum value α i _MIN has been updated based on the lists LS1 and LS2 (=LS2-1) (step S35).

引き続いて、スキャン解析マネージャ12は、リストLS4(=LS4-1)に含まれる全ての端末装置についてホップ段数を推定する(ステップS36)。その後、一連の動作は、図29のステップS3へ移行する。 The scan analysis manager 12 then estimates the number of hops for all terminal devices included in list LS4 (= LS4-1) (step S36). After that, the series of operations proceeds to step S3 in FIG. 29.

なお、ステップS35,S36は、既に、ホップ段数が推定されているが、最小値αi_MINが更新されたので、既に推定されたホップ段数を更新するために実行されるステップである。 It should be noted that steps S35 and S36 are steps executed to update the already estimated number of hops since the minimum value α i _MIN has been updated although the number of hops has already been estimated.

図34は、図33のステップS34の詳細な動作を説明するためのフローチャートである。なお、図34に示すフローチャートは、αの最小値αi_MINをしきい値Thと比較してホップ段数を推定するフローチャートである。 Fig. 34 is a flowchart for explaining the detailed operation of step S34 in Fig. 33. Note that the flowchart shown in Fig. 34 is a flowchart for estimating the number of hops by comparing the minimum value α i _MIN of α with a threshold value Th N.

図34を参照して、図33のステップS33の後、スキャン解析マネージャ12は、p=1を設定する(ステップS341)。ここで、pは、リストLS3に含まれる更新後の最小値αi_MINの引数であり、1~Pであり、Pは、更新後の最小値αi_MINの総数である。 34, after step S33 in Fig. 33, scan analysis manager 12 sets p=1 (step S341), where p is an argument of the updated minimum value α i_MIN included in list LS3 and ranges from 1 to P, and P is the total number of updated minimum values α i_MIN .

ステップS341の後、スキャン解析マネージャ12は、リストLS3から最小値αp_MINを検出し(ステップS342)、N=1を設定する(ステップS343)。ここで、Nは、ホップ段数である。 After step S341, the scan analysis manager 12 finds the minimum value α p_MIN from the list LS3 (step S342), and sets N=1 (step S343), where N is the number of hops.

その後、スキャン解析マネージャ12は、現在時点における対応表TBL3_S(=TBL3)から無線通信区間の最小遅延WRTTi_MINおよび有線通信区間の平均遅延RRTTi_AVEを検出し、その検出した最小遅延WRTTi_MINおよび平均遅延RRTTi_AVEを式(2)に代入してしきい値Thを算出する(ステップS344)。 Thereafter, the scan analysis manager 12 detects the minimum delay WRTT i_MIN of the wireless communication section and the average delay RRTT i_AVE of the wired communication section from the correspondence table TBL3_S (=TBL3) at the current time, and substitutes the detected minimum delay WRTT i_MIN and average delay RRTT i_AVE into equation (2) to calculate the threshold value Th N (step S344).

そうすると、スキャン解析マネージャ12は、最小値αp_MINがしきい値Th以上であるか否かを判定する(ステップS345)。 Then, the scan analysis manager 12 determines whether the minimum value α p _MIN is equal to or greater than the threshold value Th N (step S345).

ステップS345において、最小値αp_MINがしきい値Th以上であると判定されたとき、スキャン解析マネージャ12は、N=N+1を設定する(ステップS346)。その後、一連の動作は、ステップS344へ移行し、ステップS345において、最小値αp_MINがしきい値Th以上でないと判定されるまで、ステップS344~ステップS346が繰り返し実行される。 When it is determined in step S345 that the minimum value α p _MIN is equal to or greater than the threshold value Th N , the scan analysis manager 12 sets N=N+1 (step S346). Thereafter, the series of operations proceeds to step S344, and steps S344 to S346 are repeatedly executed until it is determined in step S345 that the minimum value α p _MIN is not equal to or greater than the threshold value Th N.

そして、ステップS345において、最小値αp_MINがしきい値Th以上でないと判定されると、スキャン解析マネージャ12は、Nの最終値をホップ段数に設定する(ステップS347)。 If it is determined in step S345 that the minimum value α p_MIN is not equal to or greater than the threshold value Th N , the scan analysis manager 12 sets the final value of N as the number of hops (step S347).

その後、スキャン解析マネージャ12は、設定したホップ段数をホスト情報データベース13の対応表TBL3(現在時点の対応表TBL3_S)に記録する(ステップS348)。 Then, the scan analysis manager 12 records the set number of hops in the correspondence table TBL3 (current correspondence table TBL3_S) of the host information database 13 (step S348).

そして、スキャン解析マネージャ12は、p=Pであるか否かを判定する(ステップS349)。 Then, the scan analysis manager 12 determines whether p = P (step S349).

ステップS349において、p=Pでないと判定されたとき、スキャン解析マネージャ12は、p=p+1を設定する(ステップS350)。その後、一連の動作は、ステップS342へ移行し、ステップS349において、p=Pであると判定されるまで、ステップS342~ステップS350が繰り返し実行される。 If it is determined in step S349 that p=P is not true, the scan analysis manager 12 sets p=p+1 (step S350). The series of operations then proceeds to step S342, and steps S342 to S350 are repeatedly executed until it is determined in step S349 that p=P is true.

そして、ステップS349において、p=Pであると判定されると、一連の動作は、図33のステップS35へ移行する。 If it is determined in step S349 that p=P, the process proceeds to step S35 in FIG. 33.

ステップS343において、N=1を設定した後に、ステップS344において、しきい値Thが算出される。そして、ステップS345において、最小値αp_MINがしきい値Th以上であると判定されると、ステップS346において、N=1+1=2が設定される。即ち、ホップ段数Nが“2”に設定される。 After setting N=1 in step S343, a threshold value Th1 is calculated in step S344. Then, if it is determined in step S345 that the minimum value α p_MIN is equal to or greater than the threshold value Th1, N=1+ 1 =2 is set in step S346. That is, the number of hops N is set to "2".

そして、ステップS346において、N=2が設定された後に、ステップS344において、しきい値Thが算出され、ステップS345において、最小値αp_MINがしきい値Th以上であると判定されると、ステップS346において、N=2+1=3が設定される。即ち、ホップ段数Nが“3”に設定される。 Then, after N=2 is set in step S346, threshold value Th2 is calculated in step S344, and if it is determined in step S345 that minimum value α p_MIN is equal to or greater than threshold value Th2 , N=2+1=3 is set in step S346. That is, the number of hops N is set to "3".

以後、ステップS345において、最小値αp_MINがしきい値Th以上でないと判定されるまで(即ち、最小値αp_MINがしきい値Thよりも小さいと判定されるまで)、ステップS344~ステップS346が繰り返し実行される。 Thereafter, steps S344 to S346 are repeatedly executed until it is determined in step S345 that the minimum value α p_MIN is not equal to or greater than the threshold value Th 2 (that is, until it is determined that the minimum value α p_MIN is smaller than the threshold value Th N ).

そして、ステップS345において、最小値αp_MINがしきい値Th以上でないと判定されたときのNの値が最終値となり、ステップS347において、Nの最終値が、推定されたホップ段数に設定される。 Then, in step S345, the value of N when it is determined that the minimum value α p_MIN is not equal to or greater than the threshold value Th N becomes the final value, and in step S347, the final value of N is set to the estimated number of hops.

なお、図33のステップS36の詳細な動作も、図34に示すフローチャートに従って実行される。この場合、pは、リストLS4に含まれる更新後の最小値αi_MINの引数であり、Pは、更新後の最小値αi_MINの総数である。 The detailed operation of step S36 in Fig. 33 is also executed according to the flowchart shown in Fig. 34. In this case, p is the argument of the updated minimum value α i_MIN included in list LS4, and P is the total number of updated minimum values α i_MIN .

図35は、図33のステップS34の詳細な動作を説明するための別のフローチャートである。なお、図35に示すフローチャートは、αの最小値αi_MINおよびしきい値Th,Thを用いた演算によりホップ段数を推定するフローチャートである。 Fig. 35 is another flowchart for explaining the detailed operation of step S34 in Fig. 33. Note that the flowchart shown in Fig. 35 is a flowchart for estimating the number of hops by calculation using the minimum value α i_MIN of α and thresholds Th 1 and Th 2 .

図35に示すフローチャートは、図34に示すフローチャートのステップS343~ステップS347をステップS351~ステップS356に変えたものであり、その他は、図34に示すフローチャートと同じである。 The flowchart shown in FIG. 35 is the same as the flowchart shown in FIG. 34, except that steps S343 to S347 in the flowchart shown in FIG. 34 are replaced with steps S351 to S356.

図35を参照して、図33のステップS33の後、上述したステップS341,S342が順次実行される。 Referring to FIG. 35, after step S33 in FIG. 33, steps S341 and S342 described above are executed in sequence.

ステップS342の後、スキャン解析マネージャ12は、式(2)によってしきい値Th,Thを算出する(ステップS351)。 After step S342, the scan analysis manager 12 calculates the threshold values Th 1 and Th 2 by the formula (2) (step S351).

そして、スキャン解析マネージャ12は、D=αp_MIN-ThおよびD=Th-Thを算出する(ステップS352)。 Then, the scan analysis manager 12 calculates D 1p _MIN -Th 1 and D 2 =Th 2 -Th 1 (step S352).

その後、スキャン解析マネージャ12は、Dが“0”よりも小さいか否かを判定する(ステップS353)。 Thereafter, the scan analysis manager 12 determines whether D1 is less than "0" (step S353).

ステップS353において、Dが“0”よりも小さいと判定されたとき、スキャン解析マネージャ12は、N=1を設定する(ステップS354)。 If it is determined in step S353 that D1 is smaller than "0", the scan analysis manager 12 sets N=1 (step S354).

一方、ステップS353において、Dが“0”よりも小さくないと判定されたとき、スキャン解析マネージャ12は、N=1+Ceil[D/D]を設定する(ステップS355)。 On the other hand, if it is determined in step S353 that D1 is not smaller than "0", the scan analysis manager 12 sets N=1+Ceil[ D1 / D2 ] (step S355).

そして、ステップS354またはステップS355の後、スキャン解析マネージャ12は、Nをホップ段数に設定する(ステップS356)。その後、上述したステップS348~ステップS350が順次実行され、ステップS349において、p=Pであると判定されると、一連の動作は、図33のステップS35へ移行する。 Then, after step S354 or step S355, the scan analysis manager 12 sets N to the number of hops (step S356). After that, steps S348 to S350 described above are executed in sequence, and if it is determined in step S349 that p=P, the series of operations proceeds to step S35 in FIG. 33.

図36は、図29のステップS2の詳細な動作を説明するための別のフローチャートである。 Figure 36 is another flowchart for explaining the detailed operation of step S2 in Figure 29.

図36に示すフローチャートは、図33に示すフローチャートのステップS32,S35,S36をそれぞれステップS32A,S35A,S36Aに変えたものであり、その他は、図33に示すフローチャートと同じである。 The flowchart shown in FIG. 36 is the same as the flowchart shown in FIG. 33, except that steps S32, S35, and S36 in the flowchart shown in FIG. 33 have been replaced with steps S32A, S35A, and S36A, respectively.

図36を参照して、図29のステップS1の後、上述したステップS31が実行される。 Referring to Figure 36, after step S1 in Figure 29, step S31 described above is executed.

ステップS31の後、スキャン解析マネージャ12は、対応表TBL2の対応表TBL3_Sを構成する対応表TBL3(即ち、ホップ段数の推定時における対応表TBL3)に基づいて、上述した方法によって、IPアドレスAddの全てについて平均値αi_AVEを更新し、平均値αi_AVEが更新された端末装置のリストLS2(=LS2-2)を作成する(ステップS32A)。 After step S31, the scan analysis manager 12 updates the average values α i _AVE for all IP addresses Add i using the method described above based on correspondence table TBL3 (i.e., correspondence table TBL3 at the time of estimating the number of hops) that constitutes correspondence table TBL3_S of correspondence table TBL2 , and creates a list LS2 (= LS2-2) of terminal devices whose average values α i _AVE have been updated (step S32A).

そして、上述したステップS33,S34が順次実行された後、スキャン解析マネージャ12は、リストLS1,LS2(=LS2-2)に基づいて、属性が判定され、かつ、平均値αAVEが更新された端末装置のリストLS4(=LS4-2)を作成する(ステップS35A)。 Then, after the above-mentioned steps S33 and S34 have been executed in sequence, the scan analysis manager 12 creates a list LS4 (= LS4-2) of terminal devices whose attributes have been determined and whose average value α AVE has been updated based on the lists LS1 and LS2 (= LS2-2) (step S35A).

引き続いて、スキャン解析マネージャ12は、リストLS4(=LS4-2)に含まれる全ての端末装置についてホップ段数を推定する(ステップS36A)。その後、一連の動作は、図29のステップS3へ移行する。 The scan analysis manager 12 then estimates the number of hops for all terminal devices included in list LS4 (= LS4-2) (step S36A). After that, the series of operations proceeds to step S3 in FIG. 29.

なお、ステップS35A,S36Aは、既に、ホップ段数が推定されているが、平均値αi_AVEが更新されたので、既に推定されたホップ段数を更新するために実行されるステップである。 It should be noted that steps S35A and S36A are steps executed to update the already estimated number of hops since the average value α i_AVE has been updated although the number of hops has already been estimated.

図37は、図36のステップS34Aの詳細な動作を説明するためのフローチャートである。なお、図37に示すフローチャートは、αの平均値αi_AVEをしきい値Thと比較してホップ段数を推定するフローチャートである。 Fig. 37 is a flowchart for explaining the detailed operation of step S34A in Fig. 36. Note that the flowchart shown in Fig. 37 is a flowchart for estimating the number of hops by comparing the average value α i_AVE of α with a threshold value Th N.

図37に示すフローチャートは、図34に示すフローチャートのステップS342,S344,S345をそれぞれS342A,S344A,S345Aに変えたものであり、その他は、図34に示すフローチャートと同じである。 The flowchart shown in FIG. 37 is the same as the flowchart shown in FIG. 34, except that steps S342, S344, and S345 in the flowchart shown in FIG. 34 have been replaced with steps S342A, S344A, and S345A, respectively.

図37を参照して、図36のステップS33の後、上述したステップS341が実行される。そして、ステップS341の後、スキャン解析マネージャ12は、リストLS3から平均値αp_AVEを検出する(ステップS342A)。 37, the above-mentioned step S341 is executed after step S33 in Fig. 36. Then, after step S341, the scan analysis manager 12 detects the average value α p_AVE from list LS3 (step S342A).

ステップS342Aの後、上述したステップS343が実行されると、スキャン解析マネージャ12は、現在時点における対応表TBL3_S(=TBL3)から無線通信区間の最小遅延WRTTi_MINおよび有線通信区間の平均遅延RRTTi_AVEを検出し、その検出した最小遅延WRTTi_MINおよび平均遅延RRTTi_AVEを式(3)に代入してしきい値Thを算出する(ステップS344A)。 After step S342A, when the above-mentioned step S343 is executed, the scan analysis manager 12 detects the minimum delay WRTT i_MIN of the wireless communication section and the average delay RRTT i_AVE of the wired communication section from the correspondence table TBL3_S (=TBL3) at the current time, and substitutes the detected minimum delay WRTT i_MIN and average delay RRTT i_AVE into equation (3) to calculate the threshold value Th N (step S344A).

その後、スキャン解析マネージャ12は、平均値αp_AVEがしきい値Th以上であるか否かを判定する(ステップS345A)。 Thereafter, the scan analysis manager 12 determines whether the average value α p_AVE is equal to or greater than a threshold value Th N (step S345A).

ステップS345Aにおいて、平均値αp_AVEがしきい値Th以上であると判定されたとき、上述したステップS346が実行される。そして、ステップS345Aにおいて、平均値αp_AVEがしきい値Th以上でないと判定されるまで、ステップS344A,S345A,S346が繰り返し実行される。 When it is determined in step S345A that the average value α p_AVE is equal to or greater than the threshold value Th N , the above-mentioned step S346 is executed. Then, steps S344A, S345A, and S346 are repeatedly executed until it is determined in step S345A that the average value α p_AVE is not equal to or greater than the threshold value Th N.

そして、ステップS345Aにおいて、平均値αp_AVEがしきい値Th以上でないと判定されると、上述したステップS347~ステップS350が順次実行され、ステップS349において、p=Pであると判定されると、一連の動作は、図36のステップS35へ移行する。 Then, in step S345A, if it is determined that the average value α p_AVE is not greater than or equal to the threshold value Th N , the above-mentioned steps S347 to S350 are executed in sequence, and if it is determined in step S349 that p = P, the series of operations proceeds to step S35 in Figure 36.

ステップS343において、N=1を設定した後に、ステップS344Aにおいて、しきい値Thが算出される。そして、ステップS345Aにおいて、平均値αp_AVEがしきい値Th以上であると判定されると、ステップS346において、N=1+1=2が設定される。即ち、ホップ段数Nが“2”に設定される。 After setting N=1 in step S343, a threshold value Th1 is calculated in step S344A. Then, if it is determined in step S345A that the average value α p_AVE is equal to or greater than the threshold value Th1, N=1+ 1 =2 is set in step S346. That is, the number of hops N is set to "2".

そして、ステップS346において、N=2が設定された後に、ステップS344Aにおいて、しきい値Thが算出され、ステップS345Aにおいて、平均値αp_AVEがしきい値Th以上であると判定されると、ステップS346において、N=2+1=3が設定される。即ち、ホップ段数Nが“3”に設定される。 Then, after N=2 is set in step S346, a threshold value Th2 is calculated in step S344A, and if it is determined in step S345A that the average value α p_AVE is equal to or greater than the threshold value Th2, N= 2 +1=3 is set in step S346. That is, the number of hops N is set to "3".

以後、ステップS345Aにおいて、平均値αp_AVEがしきい値Th以上でないと判定されるまで(即ち、平均値αp_AVEがしきい値Thよりも小さいと判定されるまで)、ステップS344A,S345A,S346が繰り返し実行される。 Thereafter, steps S344A, S345A, and S346 are repeatedly executed until it is determined in step S345A that the average value α p_AVE is not equal to or greater than the threshold value Th N (that is, until it is determined that the average value α p_AVE is smaller than the threshold value Th N ).

そして、ステップS345Aにおいて、平均値αp_AVEがしきい値Th以上でないと判定されたときのNの値が最終値となり、ステップS347において、Nの最終値が、推定されたホップ段数に設定される。 Then, in step S345A, the value of N when it is determined that the average value α p_AVE is not equal to or greater than the threshold value Th2 becomes the final value, and in step S347, the final value of N is set to the estimated number of hops.

なお、図36のステップS36Aの詳細な動作も、図37に示すフローチャートに従って実行される。この場合、pは、リストLS4(=LS4-2)に含まれる更新後の平均値αp_AVEの引数であり、Pは、更新後の平均値αp_AVEの総数である。 The detailed operation of step S36A in Fig. 36 is also executed according to the flowchart shown in Fig. 37. In this case, p is the argument of the updated average value α p_AVE included in list LS4 (=LS4-2), and P is the total number of updated average values α p_AVE .

図38は、図36のステップS34Aの詳細な動作を説明するための別のフローチャートである。なお、図38に示すフローチャートは、αの平均値αi_AVEおよびしきい値Th,Thを用いた演算によりホップ段数を推定するフローチャートである。 Fig. 38 is another flowchart for explaining the detailed operation of step S34A in Fig. 36. Note that the flowchart shown in Fig. 38 is a flowchart for estimating the number of hops by calculation using the average value α i_AVE of α and threshold values Th 1 and Th 2 .

図38に示すフローチャートは、図35に示すフローチャートのステップS342,S351,S352をそれぞれステップS342A,S351A,S352Aに変えたものであり、その他は、図35に示すフローチャートと同じである。 The flowchart shown in FIG. 38 is the same as the flowchart shown in FIG. 35, except that steps S342, S351, and S352 in the flowchart shown in FIG. 35 have been replaced with steps S342A, S351A, and S352A, respectively.

図38を参照して、図36のステップS33の後、上述したステップS341が実行される。 Referring to FIG. 38, after step S33 in FIG. 36, step S341 described above is executed.

ステップS341の後、スキャン解析マネージャ12は、リストLS3から平均値αp_AVEを検出し(ステップS342A)、式(3)によってしきい値Th,Thを算出する(ステップS351A)。 After step S341, the scan analysis manager 12 detects the average value α p_AVE from list LS3 (step S342A), and calculates threshold values Th 1 and Th 2 by equation (3) (step S351A).

そして、スキャン解析マネージャ12は、D=αp_AVE-ThおよびD=Th-Thを算出する(ステップS352A)。 Then, the scan analysis manager 12 calculates D 1p _ AVE - Th 1 and D 2 = Th 2 - Th 1 (step S352A).

その後、上述したステップS353~S356,S348~S350が順次実行され、ステップS349において、p=Pであると判定されると、一連の動作は、図33のステップS35へ移行する。 Then, the above-mentioned steps S353 to S356 and S348 to S350 are executed in sequence, and if it is determined in step S349 that p = P, the series of operations proceeds to step S35 in FIG. 33.

図39は、図29のステップS3の詳細な動作を説明するためのフローチャートである。 Figure 39 is a flowchart explaining the detailed operation of step S3 in Figure 29.

図39を参照して、図29のステップS2の後、スキャンスケジューラ14は、i=1を設定する(ステップS3-1)。そして、スキャンスケジューラ14は、対応表TBL2の対応表TBL3_Sを構成する対応表TBL3を参照して、IPアドレスAdd’に対応するホップ段数Nを検出する(ステップS3-2)。 39, after step S2 in Fig. 29, the scan scheduler 14 sets i=1 (step S3-1).Then, the scan scheduler 14 refers to the correspondence table TBL3 constituting the correspondence table TBL3_S of the correspondence table TBL2, and detects the number of hops N i corresponding to the IP address Add' i (step S3-2).

その後、スキャンスケジューラ14は、ホップ段数Nに基づいてスキャンパケットの通信速度Vを設定する(ステップS3-3)。より具体的には、スキャンスケジューラ14は、1ホップのときのスキャンパケットの通信速度の(1/N)倍になるようにスキャンパケットの通信速度Vを設定する。 Thereafter, the scan scheduler 14 sets the communication speed V i of the scan packet based on the number of hops N i (step S3-3). More specifically, the scan scheduler 14 sets the communication speed V i of the scan packet to be (1/N i ) times the communication speed of the scan packet for one hop.

そして、スキャンスケジューラ14は、IPアドレスAdd’、開始時刻ti_start、終了時刻ti_end、および通信速度Vをスキャンタイミングtに設定する(ステップS3-4)。 Then, the scan scheduler 14 sets the IP address Add' i , the start time t i _start , the end time t i _end , and the communication speed V i to the scan timing t S (step S3-4).

そうすると、スキャンスケジューラ14は、i=mであるか否かを判定する(ステップS3-5)。 The scan scheduler 14 then determines whether i=m (step S3-5).

ステップS3-5において、i=mでないと判定されたとき、スキャンスケジューラ14は、i=i+1を設定する(ステップS3-6)。その後、一連の動作は、ステップS3-2へ移行し、ステップS3-5において、i=mであると判定されるまで、ステップS3-2~S3-6が繰り返し実行される。 If it is determined in step S3-5 that i is not equal to m, the scan scheduler 14 sets i to i+1 (step S3-6). After that, the series of operations proceeds to step S3-2, and steps S3-2 to S3-6 are repeatedly executed until it is determined in step S3-5 that i is equal to m.

そして、ステップS3-5において、i=mであると判定されると、スキャンスケジューラ14は、スキャンスケジュールSCSHDをネットワークスキャナ11へ出力し(ステップS3-7)、スキャンスケジュールSCSHDに従ってネットワークスキャンを実行するようにネットワークスキャナ11を制御する。その後、一連の動作は、図29のステップS4へ移行する。 If it is determined in step S3-5 that i=m, the scan scheduler 14 outputs the scan schedule SCSHD to the network scanner 11 (step S3-7) and controls the network scanner 11 to execute a network scan in accordance with the scan schedule SCSHD. After that, the series of operations proceeds to step S4 in FIG. 29.

上述したネットワークスキャン装置1の動作によれば、ネットワークスキャン装置1は、ネットワークスキャンに使用するネットワークにおける無線通信区間のホップ段数Nを推定し、その推定したホップ段数Nに基づいて1ホップのときのスキャンパケットの通信速度の(1/N)倍になるようにスキャンパケットの通信速度Vを設定し、その設定した通信速度Vでスキャンパケットを送信してネットワークスキャンを実行する。 According to the operation of the network scanning device 1 described above, the network scanning device 1 estimates the number of hops N i of the wireless communication section in the network used for network scanning, sets the communication speed V i of the scan packet to be (1/N i ) times the communication speed of the scan packet for one hop based on the estimated number of hops N i , and transmits the scan packet at the set communication speed V i to perform network scanning.

その結果、単位時間当たりに送出されるスキャンパケットの量は、ホップ段数に応じてスキャンパケットの通信速度を制御しない場合に比べて少なくなる。 As a result, the amount of scan packets sent per unit time is less than when the communication speed of the scan packets is not controlled according to the number of hops.

従って、ホップ段数に応じてスキャンパケットの通信速度を制御しない場合に比べて無線リソースを低減できる。 This allows for a reduction in wireless resources compared to when the communication speed of scan packets is not controlled according to the number of hops.

図40は、図1に示すネットワークスキャン装置1の別の概略図である。この発明の実施の形態によるネットワークスキャン装置は、図40に示すネットワークスキャン装置1Aであってもよい。 Figure 40 is another schematic diagram of the network scanning device 1 shown in Figure 1. The network scanning device according to the embodiment of the present invention may be the network scanning device 1A shown in Figure 40.

図40を参照して、ネットワークスキャン装置1Aは、図2に示すネットワークスキャン装置1のスキャンスケジューラ14をスキャンスケジューラ14Aに変えたものであり、その他は、ネットワークスキャン装置1と同じである。 Referring to FIG. 40, the network scanning device 1A is the same as the network scanning device 1 except that the scan scheduler 14 of the network scanning device 1 shown in FIG. 2 has been replaced with a scan scheduler 14A.

スキャンスケジューラ14Aは、1回目から(S-1)回目のネットワークスキャンによって取得されたスキャン応答SRおよびスキャン応答SRTTを対応表TBL2の対応表TBL3_s(s=1~S-1)から検出する。この場合、スキャンスケジューラ14Aは、対応表TBL3_1~TBL3_S-1の各々において、1つのIPアドレスAdd’に対応するスキャン応答SRおよびスキャン応答SRTTを検出する。ここで、スキャン応答SRは、“1”からなるスキャン応答SRであり、スキャン応答SRTTは、“1”からなるスキャン応答SRに対応付けられたスキャン応答SRTTである。 The scan scheduler 14A detects the scan responses SR i and SRTT i acquired by the first to (S-1)th network scans from the correspondence table TBL3_s (s=1 to S-1) of the correspondence table TBL2. In this case, the scan scheduler 14A detects the scan response SR i and the scan response SRTT i corresponding to one IP address Add' i in each of the correspondence tables TBL3_1 to TBL3_S-1. Here, the scan response SR i is the scan response SR i consisting of "1", and the scan response SRTT i is the scan response SRTT i associated with the scan response SR i consisting of "1".

そして、スキャンスケジューラ14Aは、検出したスキャン応答SRの個数NSRiをカウントし、検出したスキャン応答遅延SRTTのうち、しきい値rATBi th以上のスキャン応答遅延SRTTの個数NSRTTiをカウントする。ここで、しきい値rATBi thは、ネットワーク種別(=属性ATBi)ごとに決められたしきい値であり、スキャンスケジューラ14Aは、ネットワーク種別(=属性ATB)に対応付けてしきい値rATBi thを予め保持している。 The scan scheduler 14A then counts the number NSRi of detected scan responses SRi , and counts the number NSRTTi of detected scan response delays SRTTi that are equal to or greater than a threshold value rATBith , where the threshold value rATBith is a threshold value determined for each network type (=attribute ATBi ), and the scan scheduler 14A holds the threshold value rATBith in advance in association with the network type (=attribute ATBi ).

スキャンスケジューラ14Aは、個数NSRiおよび個数NSRTTiをカウントすると、個数NSRTTiを個数NSRiで除算した比c(=NSRTTi/NSRi)を算出する。 After counting the numbers N_SRi and N_SRTTi , the scan scheduler 14A calculates a ratio c i (= N_SRTTi / N_SRi ) by dividing the number N_SRTTi by the number N_SRi .

そして、スキャンスケジューラ14Aは、比c(=NSRTTi/NSRi)がしきい値CATBiよりも大きいか否かを判定する。 Then, the scan scheduler 14A determines whether the ratio c i (=N SRTTi /N SRi ) is greater than a threshold value C ATBi .

スキャンスケジューラ14Aは、比c(=NSRTTi/NSRi)がしきい値CATBiよりも大きいと判定したとき、スキャンパケットの通信速度Vを下げる。即ち、スキャン解析マネージャ12Aは、1ホップのときのスキャンパケットの通信速度の(1/N)倍になるようにスキャンパケットの通信速度Vを設定する。 When the scan scheduler 14A determines that the ratio c i (=N SRTTi /N SRi ) is greater than the threshold value C ATBi , it lowers the communication speed V i of the scan packets. That is, the scan analysis manager 12A sets the communication speed V i of the scan packets to be (1/N i ) times the communication speed of the scan packets for one hop.

一方、スキャンスケジューラ14Aは、比c(=NSRTTi/NSRi)がしきい値CATBiよりも大きくないと判定したとき、比c(=NSRTTi/NSRi)が零であるか否かを判定する。なお、スキャンスケジューラ14Aは、しきい値CATBiを予め保持している。 On the other hand, when the scan scheduler 14A determines that the ratio c i (=N SRTTi /N SRi ) is not greater than the threshold value C ATBi , the scan scheduler 14A determines whether the ratio c i (=N SRTTi /N SRi ) is zero. Note that the scan scheduler 14A holds the threshold value C ATBi in advance.

そして、スキャンスケジューラ14Aは、比c(=NSRTTi/NSRi)が零であると判定したとき、スキャンパケットの通信速度Vを上げる。 Then, when the scan scheduler 14A determines that the ratio c i (=N SRTTi /N SRi ) is zero, it increases the communication speed V i of the scan packets.

一方、スキャンスケジューラ14Aは、比c(=NSRTTi/NSRi)が零でないと判定したとき、スキャンパケットの通信速度Vを維持する。 On the other hand, when the scan scheduler 14A determines that the ratio c i (=N SRTTi /N SRi ) is not zero, it maintains the communication speed V i of the scan packets.

スキャンスケジューラ14Aは、上述した動作を全てのIPアドレスAdd’について実行する。 The scan scheduler 14A executes the above-mentioned operation for all IP addresses Add'i .

スキャンスケジューラ14Aは、その他、スキャンスケジューラ14と同じ機能を果たす。 Scan scheduler 14A performs the same functions as scan scheduler 14.

図41は、複数のネットワークにおけるスキャン応答遅延SRTTの累積分布関数を示す図である。 FIG. 41 is a diagram showing the cumulative distribution function of the scan response delay SRTT i in multiple networks.

図41において、縦軸は、スキャン応答遅延SRTTの累積分布関数を表し、横軸は、スキャン応答遅延SRTTを表す。また、曲線k1は、Wired LAN(Local Area Network)におけるスキャン応答遅延SRTTの累積分布関数を示し、曲線k2は、WLAN(Wireless LAN(Local Area Network))におけるスキャン応答遅延SRTTの累積分布関数を示し、曲線k3は、LTE(Long Term Evolution)におけるスキャン応答遅延SRTTの累積分布関数を示し、曲線k4は、Wi-SUN(Wireless Smart Utility Network)におけるスキャン応答遅延SRTTの累積分布関数を示し、曲線k5は、LoRa(Long Range)におけるスキャン応答遅延SRTTの累積分布関数を示す。 41, the vertical axis represents the cumulative distribution function of the scan response delay SRTT i , and the horizontal axis represents the scan response delay SRTT i . Also, curve k1 represents the cumulative distribution function of the scan response delay SRTT i in a Wired LAN (Local Area Network), curve k2 represents the cumulative distribution function of the scan response delay SRTT i in a WLAN (Wireless LAN (Local Area Network)), curve k3 represents the cumulative distribution function of the scan response delay SRTT i in LTE (Long Term Evolution), curve k4 represents the cumulative distribution function of the scan response delay SRTT i in a Wi-SUN (Wireless Smart Utility Network), and curve k5 represents the cumulative distribution function of the scan response delay SRTT i in LoRa (Long Range).

図41を参照して、LAN、WLAN、LTE、Wi-SUNおよびLoRaにおけるしきい値rWired LAN th,rWLAN th,rLTE th,rWi-SUN th,rLoRa thは、例えば、混雑していない無線ネットワークに対するスキャン応答遅延SRTTの累積分布関数CDF(Cumulative Distribution Function)が0.95であるときのスキャン応答遅延SRTTに設定される。 Referring to FIG. 41, the thresholds r Wired LAN th , r WLAN th , r LTE th , r Wi-SUN th , and r LoRa th for LAN, WLAN, LTE, Wi-SUN, and LoRa are set to the scan response delay SRTT i when the cumulative distribution function CDF (Cumulative Distribution Function) of the scan response delay SRTT for an uncongested wireless network is 0.95, for example.

なお、スキャンスケジューラ14Aは、例えば、しきい値rATBi thとしてしきい値rWired LAN th,rWLAN th,rLTE th,rWi-SUN th,rLoRa thを予め保持する。 The scan scheduler 14A holds, for example, threshold values rWiredLANth , rWLANth , rLTEth , rWi -SUNth , and rLoRath as the threshold value rATBith in advance .

図42は、スキャンパケットの通信速度とネットワーク種別との関係を示す対応表TBL5の概念図である。 Figure 42 is a conceptual diagram of the correspondence table TBL5 that shows the relationship between the communication speed of scan packets and the network type.

図42を参照して、対応表TBL5は、通信速度1~4とネットワーク種別A,Bとを含む。 Referring to Figure 42, correspondence table TBL5 includes communication speeds 1 to 4 and network types A and B.

ネットワーク種別Aにおいては、通信速度1は、50[packet/スキャンタイミングt]からなり、通信速度2は、10[packet/スキャンタイミングt]からなり、通信速度3は、2[packet/スキャンタイミングt]からなり、通信速度4は、1[packet/スキャンタイミングt]からなる。 In network type A, communication speed 1 is 50 [packets/scan timing tS ], communication speed 2 is 10 [packets/scan timing tS ], communication speed 3 is 2 [packets/scan timing tS ], and communication speed 4 is 1 [packet/scan timing tS ].

また、ネットワーク種別Bにおいては、通信速度1は、10[packet/スキャンタイミングt]からなり、通信速度2は、4[packet/スキャンタイミングt]からなり、通信速度3は、2[packet/スキャンタイミングt]からなり、通信速度4は、設定されない。 In network type B, communication speed 1 is 10 [packets/scan timing tS ], communication speed 2 is 4 [packets/scan timing tS ], communication speed 3 is 2 [packets/scan timing tS ], and communication speed 4 is not set.

このように、通信速度1~4(または通信速度1~3)は、ネットワーク種別A,Bに応じて、1つのスキャンタイミングt当たりに送出されるスキャンパケットの個数からなる。 In this way, communication speeds 1 to 4 (or communication speeds 1 to 3) are determined according to the network types A and B, and are determined by the number of scan packets sent per scan timing tS .

なお、ネットワークスキャン装置1Aにおいては、対応表TBL5がホスト情報データベース13に格納される。 In addition, in the network scanning device 1A, the correspondence table TBL5 is stored in the host information database 13.

図43は、図40に示すネットワークスキャン装置1Aの動作を説明するためのフローチャートである。 Figure 43 is a flowchart explaining the operation of the network scanning device 1A shown in Figure 40.

図43に示すフローチャートは、図29に示すフローチャートのステップS3をステップS3Aに変えたものであり、その他は、図29に示すフローチャートと同じである。 The flowchart shown in FIG. 43 is the same as the flowchart shown in FIG. 29, except that step S3 in the flowchart shown in FIG. 29 has been replaced with step S3A.

図43を参照して、ネットワークスキャン装置1Aの動作が開始されると、上述したステップS1,S2が順次実行される。この場合、ステップS1の詳細な動作は、図30に示すフローチャートによって実行され、図30のステップS14の詳細な動作は、図31に示すフローチャートによって実行され、図30のステップS15の詳細な動作は、図32に示すフローチャートによって実行される。また、ステップS2の詳細な動作は、図33に示すフローチャートまたは図36に示すフローチャートによって実行され、図33のステップS34の詳細な動作は、図34に示すフローチャートまたは図35に示すフローチャートによって実行され、図36のステップS34の詳細な動作は、図37に示すフローチャートまたは図38に示すフローチャートによって実行される。 Referring to FIG. 43, when the operation of the network scanning device 1A is started, the above-mentioned steps S1 and S2 are executed in sequence. In this case, the detailed operation of step S1 is executed according to the flowchart shown in FIG. 30, the detailed operation of step S14 of FIG. 30 is executed according to the flowchart shown in FIG. 31, and the detailed operation of step S15 of FIG. 30 is executed according to the flowchart shown in FIG. 32. Also, the detailed operation of step S2 is executed according to the flowchart shown in FIG. 33 or the flowchart shown in FIG. 36, the detailed operation of step S34 of FIG. 33 is executed according to the flowchart shown in FIG. 34 or the flowchart shown in FIG. 35, and the detailed operation of step S34 of FIG. 36 is executed according to the flowchart shown in FIG. 37 or the flowchart shown in FIG. 38.

ステップS2の後、スキャンスケジューラ14Aは、推定された段数Nと、スキャン応答遅延SRTTとを反映してスキャンスケジュールを作成する(ステップS3A)。なお、ステップS3Aの詳細な動作は、後述する図44に示すフローチャートによって実行される。 After step S2, the scan scheduler 14A creates a scan schedule reflecting the estimated stage number N i and the scan response delay SRTT i (step S3A). Note that the detailed operation of step S3A is executed according to the flowchart shown in FIG. 44, which will be described later.

そして、ステップS3Aの後、上述したステップS4が実行され、ネットワークスキャン装置1Aの動作が終了する。 Then, after step S3A, step S4 described above is executed, and the operation of the network scanning device 1A ends.

図44は、図43に示すステップS3Aの詳細な動作を説明するためのフローチャートである。 Figure 44 is a flowchart explaining the detailed operation of step S3A shown in Figure 43.

図44に示すフローチャートは、図39に示すフローチャートのステップS3-3をステップS3-3Aに変えたものであり、その他は、図39に示すフローチャートと同じである。 The flowchart shown in FIG. 44 is the same as the flowchart shown in FIG. 39, except that step S3-3 in the flowchart shown in FIG. 39 has been replaced with step S3-3A.

図44を参照して、図43のステップS2の後、上述したステップS3-1,S3-2が順次実行される。そして、ステップS3-2の後、スキャンスケジューラ14Aは、ホップ段数Nおよびスキャン応答遅延SRTTに基づいてスキャンパケットの通信速度Vを設定する(ステップS3-3A)。 44, after step S2 in Fig. 43, the above-mentioned steps S3-1 and S3-2 are executed in sequence. Then, after step S3-2, the scan scheduler 14A sets the communication speed V i of the scan packet based on the hop count N i and the scan response delay SRTT i (step S3-3A).

その後、上述したステップS3-4~ステップS3-7が順次実行され、一連の動作は、図43のステップS4へ移行する。 Then, steps S3-4 to S3-7 described above are executed in sequence, and the series of operations proceeds to step S4 in FIG. 43.

図45は、図44に示すステップS3-3Aの詳細な動作を説明するためのフローチャートである。 Figure 45 is a flowchart explaining the detailed operation of step S3-3A shown in Figure 44.

図45を参照して、図44のステップS3-2の後、スキャンスケジューラ14Aは、i=1を設定する(ステップS41)。 Referring to FIG. 45, after step S3-2 in FIG. 44, the scan scheduler 14A sets i=1 (step S41).

そして、スキャンスケジューラ14Aは、ホスト情報データベース13に格納された対応表TBL2の(S-1)個の対応表TBL3を参照して、IPアドレスAdd’に対応するスキャン応答SR(“1”からなるスキャン応答SR)およびスキャン応答遅延SRTTを検出する(ステップS42)。 Then, the scan scheduler 14A refers to the (S-1) correspondence tables TBL3 of the correspondence table TBL2 stored in the host information database 13, and detects the scan response SR i (scan response SR i consisting of "1") and scan response delay SRTT i corresponding to the IP address Add' i (step S42).

その後、スキャンスケジューラ14Aは、スキャン応答SRの総数NSRi_totalを検出する(ステップS43)。 After that, the scan scheduler 14A detects the total number N SRi_total of the scan responses SR i (step S43).

引き続いて、スキャンスケジューラ14Aは、s=1を設定し(ステップS44)、NSRTTi_total=0を設定する(ステップS45)。なお、sは、(S-1)個の対応表TBL3から検出したスキャン応答遅延SRTTの番号を表し、NSRDi_totalは、しきい値rATBi th以上であるスキャン応答遅延SRTTの総数を表す。 Next, the scan scheduler 14A sets s=1 (step S44) and sets N SRTTi _ total =0 (step S45), where s represents the number of the scan response delay SRTT i detected from the (S-1) correspondence tables TBL3, and N SRDi _ total represents the total number of the scan response delay SRTT i that is equal to or greater than the threshold value r ATBi th .

ステップS45の後、スキャンスケジューラ14Aは、ネットワーク種別ATBに対応するしきい値rATBi thを選択し、スキャン応答遅延SRTTi_sがしきい値rATBi th以上であるか否かを判定する(ステップS46)。 After step S45, the scan scheduler 14A selects a threshold value r ATBi th corresponding to the network type ATB i , and determines whether the scan response delay SRTT i_s is equal to or greater than the threshold value r ATBi th (step S46).

ステップS46において、スキャン応答遅延SRTTi_sがしきい値rATBi th以上であると判定されたとき、スキャンスケジューラ14Aは、NSRDi_total=NSRDi_total+1を設定する(ステップS47)。即ち、スキャンスケジューラ14Aは、スキャン応答遅延SRTTi_sがしきい値rATBi th以上であるとき、個数NSRDi_totalを“1”だけインクリメントする。 When it is determined in step S46 that the scan response delay SRTTi_s is equal to or greater than the threshold value rATBith , the scan scheduler 14A sets NSRDi_total = NSRDi_total + 1 (step S47). That is, when the scan response delay SRTTi_s is equal to or greater than the threshold value rATBith , the scan scheduler 14A increments the number NSRDi_total by "1".

一方、ステップS46において、スキャン応答遅延SRTTi_sがしきい値rATBi th以上でないと判定されたとき、一連の動作は、ステップS48へ移行する。 On the other hand, when it is determined in step S46 that the scan response delay SRTT i_s is not equal to or greater than the threshold value r ATBi th , the series of operations proceeds to step S48.

そして、ステップS46において、スキャン応答遅延SRTTi_sがしきい値rATBi th以上でないと判定されたとき、またはステップS47の後、スキャンスケジューラ14Aは、s=NSRi_totalであるか否かを判定する(ステップS48)。なお、スキャン応答遅延SRTTの番号を表す“s”がスキャン応答SRの総数NSRi_totalと等しいか否かを判定するのは、ステップS42で検出されたスキャン応答SR(“1”からなるスキャン応答SR)の個数およびスキャン応答遅延SRTTの個数は、相互に等しいからである。 Then, when it is determined in step S46 that the scan response delay SRTT i_s is not equal to or greater than the threshold value r ATBi th , or after step S47, the scan scheduler 14A determines whether s=N SRi_total (step S48). Note that the reason for determining whether "s", which represents the number of the scan response delay SRTT i, is equal to the total number N SRi_total of the scan responses SR i is because the number of the scan responses SR i (scan responses SR i consisting of "1") detected in step S42 and the number of the scan response delays SRTT i are equal to each other.

ステップS48において、s=NSRi_totalでないと判定されたとき、スキャンスケジューラ14Aは、s=s+1を設定する(ステップS49)。その後、一連の動作は、ステップS46へ移行し、ステップS48において、s=NSRi_totalであると判定されるまで、ステップS46~ステップS49が繰り返し実行される。 When it is determined in step S48 that s is not equal to N SRi_total , the scan scheduler 14A sets s to s + 1 (step S49). After that, the series of operations proceeds to step S46, and steps S46 to S49 are repeatedly executed until it is determined in step S48 that s is equal to N SRi_total .

そして、ステップS48において、s=NSRi_totalであると判定されると、スキャンスケジューラ14Aは、c=NSRTTi_total/NSRi_totalによって比cを算出する(ステップS50)。 Then, when it is determined in step S48 that s=N SRi — total , the scan scheduler 14A calculates the ratio c i by c i =N SRTTi — total /N SRi — total (step S50).

その後、スキャンスケジューラ14Aは、ネットワーク種別ATBに対応するしきい値CATBiを選択し、比cがしきい値CATBiよりも大きいか否かを判定する(ステップS51)。 Thereafter, the scan scheduler 14A selects a threshold value C ATBi corresponding to the network type ATB i , and determines whether the ratio c i is greater than the threshold value C ATBi (step S51).

ステップS51において、比cがしきい値CATBiよりも大きいと判定されたとき、スキャンスケジューラ14Aは、図27に示す対応表、または対応表TBL5を参照して、スキャンパケットの通信速度Vを1ホップのときのスキャンパケットの通信速度よりも1段階下げる(ステップS52)。 In step S51, when it is determined that the ratio c i is greater than the threshold value C ATBi , the scan scheduler 14A refers to the correspondence table shown in FIG. 27 or the correspondence table TBL5 and reduces the communication speed V i of the scan packet by one step below the communication speed of the scan packet for one hop (step S52).

一方、ステップS51において、比cがしきい値CATBiよりも大きくないと判定されたとき、スキャンスケジューラ14Aは、比cが“0”であるか否かを判定する(ステップS53)。 On the other hand, when it is determined in step S51 that the ratio c i is not greater than the threshold value C ATBi , the scan scheduler 14A determines whether the ratio c i is "0" (step S53).

ステップS53において、比cが“0”であると判定されたとき、スキャンスケジューラ14Aは、対応表TBL5を参照して、スキャンパケットの通信速度Vを1ホップのときのスキャンパケットの通信速度よりも1段階上げる(ステップS54)。 When it is determined in step S53 that the ratio c i is "0", the scan scheduler 14A refers to the correspondence table TBL5 and increases the communication speed V i of the scan packet by one step from the communication speed of the scan packet for one hop (step S54).

そして、ステップS52の後、またはステップS53において比cが“0”でないと判定されたとき、またはステップS54の後、スキャンスケジューラ14Aは、i=mであるか否かを判定する(ステップS55)。 Then, after step S52, or when it is determined in step S53 that the ratio c is not "0", or after step S54, the scan scheduler 14A determines whether i = m (step S55).

ステップS55において、i=mでないと判定されたとき、スキャンスケジューラ14Aは、i=i+1を設定する(ステップS56)。その後、一連の動作は、ステップS42へ移行し、ステップS55において、i=mであると判定されるまで、ステップS42~ステップS56が繰り返し実行される。 If it is determined in step S55 that i is not equal to m, the scan scheduler 14A sets i to i+1 (step S56). After that, the series of operations proceeds to step S42, and steps S42 to S56 are repeatedly executed until it is determined in step S55 that i is equal to m.

そして、ステップS55において、i=mであると判定されると、一連の動作は、図44のステップS3-4へ移行する。 Then, if it is determined in step S55 that i=m, the sequence of operations proceeds to step S3-4 in FIG. 44.

なお、ステップS53において、比cが零でないと判定された後、一連の動作がステップS55へ移行することは、スキャンパケットの通信速度Vを維持することに相当する。 In addition, after it is determined in step S53 that the ratio c i is not zero, the series of operations proceeds to step S55, which corresponds to maintaining the communication speed V i of the scan packets.

また、スキャンスケジューラ14Aは、ステップS52において、スキャンパケットの通信速度Vを1段階に限らず、任意の段階だけ下げてもよく、ステップS54において、スキャンパケットの通信速度Vを1段階に限らず、任意の段階だけ上げてもよい。 In addition, in step S52, the scan scheduler 14A may lower the communication speed V i of the scan packet by any step, not limited to one step, and in step S54, the scan scheduler 14A may increase the communication speed V i of the scan packet by any step, not limited to one step.

更に、図45に示すフローチャートにおいては、スキャン応答SRの総数NSRi_totalが零であるか否かを判定し、スキャン応答SRの総数NSRi_totalが零であるとき、ステップS52を実行するようにしてもよい。総数NSRi_totalが零であることは、1つのIPアドレスAdd’に対するネットワークスキャンを実行した場合、スキャン応答SRが全く返って来なかったことを意味するので、スキャンパケットの通信速度Vを下げることによってネットワークスキャンに使用されるネットワークにおける混雑を低減してネットワークスキャンの結果の信頼性を向上できるからである。 45, it may be determined whether the total number NSRi_total of scan responses SR i is zero, and when the total number NSRi_total of scan responses SR i is zero, step S52 may be executed. The total number NSRi_total being zero means that when a network scan is performed for one IP address Add' i , no scan response SR i is returned, and therefore by lowering the communication speed Vi of the scan packets, congestion in the network used for the network scan can be reduced, thereby improving the reliability of the results of the network scan.

図45に示すフローチャートによれば、しきい値rATBi th以上であるスキャン応答遅延SRTTの個数NSRTTi_totalと、スキャン応答SRの個数NSRDi_totalとの比cがしきい値CATBiよりも大きくないとき、1ホップのときのスキャンパケットの通信速度よりもスキャンパケットの通信速度Vを下げない(ステップS53~ステップS55参照)。 According to the flowchart shown in FIG. 45 , when the ratio c i of the number N SRTTi_total of scan response delays SRTT i that are equal to or greater than a threshold value r ATBi th to the number N SRDi_total of scan responses SR i is not greater than a threshold value C ATBi , the communication speed V i of the scan packet is not reduced below the communication speed of the scan packet for one hop (see steps S53 to S55).

従って、ホップ段数Nが多くても、1ホップのときのネットワークスキャンに要する時間を少なくとも維持でき、ネットワークスキャンに必要な無線リソースの増加を抑制できる。 Therefore, even if the number of hops N i is large, it is possible to maintain at least the time required for a network scan for one hop, and to suppress an increase in the wireless resources required for a network scan.

また、比cが零(即ち、しきい値rATBi th以上であるスキャン応答遅延SRTTの個数NSRTTi_totalが零)であるとき、スキャンパケットの通信速度Vを上げる(ステップS53の“YES”→ステップS54参照)。 Also, when the ratio c i is zero (ie, the number N SRTTi — total of scan response delays SRTT i that are equal to or greater than the threshold value r ATBi th is zero), the communication speed V i of the scan packets is increased (YES in step S53→see step S54).

従って、ホップ段数Nが多くても、1ホップのときよりもネットワークスキャンに要する時間を更に短くでき、ネットワークスキャンに必要な無線リソースを更に抑制できる。 Therefore, even if the number of hops N i is large, the time required for a network scan can be further shortened compared to the case of one hop, and the wireless resources required for a network scan can be further reduced.

図46は、最小スキャン応答遅延をしきい値として用いたときのネットワーク種別を判定する実験結果を示す図である。 Figure 46 shows the results of an experiment to determine the network type when the minimum scan response delay is used as the threshold.

図46においては、ネットワーク種別としてWLAN、Wi-SUNおよびLoRaを用いた。また、実験の試行回数は、各ネットワークの種別に対してそれぞれ200回である。 In Figure 46, the network types used were WLAN, Wi-SUN, and LoRa. The number of experimental trials was 200 for each network type.

図46を参照して、図30に示すフローチャート(図31および図32に示すフローチャートを含む。)に従ってネットワーク種別を判定した結果、対象ネットワークの種別がWLANであると判定された回数、対象ネットワークの種別がWi-SUNであると判定された回数、および対象ネットワークの種別がLoRaであると判定された回数は、全て、200回であった。 Referring to FIG. 46, as a result of determining the network type according to the flowchart shown in FIG. 30 (including the flowcharts shown in FIG. 31 and FIG. 32), the number of times the target network type was determined to be WLAN, the number of times the target network type was determined to be Wi-SUN, and the number of times the target network type was determined to be LoRa were all 200 times.

このように、しきい値Dt_thjとして最小スキャン応答遅延を用いたとき、100%の確率で対象ネットワークの種別をWLAN、Wi-SUNおよびLoRaのいずれかであると判定することができることが分かった。 In this way, it was found that when the minimum scan response delay is used as the threshold Dt_thj, it is possible to determine with 100% probability that the type of the target network is either WLAN, Wi-SUN, or LoRa.

図47は、平均スキャン応答遅延をしきい値として用いたときのネットワーク種別を判定する実験結果を示す図である。 Figure 47 shows the results of an experiment to determine network type when the average scan response delay is used as a threshold.

図47においても、ネットワーク種別としてWLAN、Wi-SUNおよびLoRaを用い、実験の試行回数も、各ネットワークの種別に対してそれぞれ200回である。 In Figure 47, WLAN, Wi-SUN, and LoRa were used as network types, and the number of experimental trials was 200 for each network type.

図47を参照して、図30に示すフローチャート(図31および図32に示すフローチャートを含む。)に従ってネットワーク種別を判定した結果、対象ネットワークの種別がWLANであると判定された回数は、200回である。また、対象ネットワークの種別がWi-SUNであると判定された回数が194回であり、対象ネットワークの種別がWLUNであると判定された回数が6回である。更に、対象ネットワークの種別がLoRaであると判定された回数は、200回である。 Referring to FIG. 47, as a result of determining the network type according to the flowchart shown in FIG. 30 (including the flowcharts shown in FIG. 31 and FIG. 32), the number of times that the type of the target network was determined to be WLAN was 200. In addition, the number of times that the type of the target network was determined to be Wi-SUN was 194, and the number of times that the type of the target network was determined to be WLUN was 6. In addition, the number of times that the type of the target network was determined to be LoRa was 200.

このように、しきい値Dt_thjとして平均スキャン応答遅延を用いたとき、WLANおよびLoRaのネットワークについては、100%の確率で対象ネットワークの種別を判定でき、Wi-SUNのネットワークについては、97%の確率で対象ネットワークの種別を判定できることが分かった。 In this way, when the average scan response delay is used as the threshold Dt_thj, it was found that the type of the target network can be determined with a 100% probability for WLAN and LoRa networks, and with a 97% probability for Wi-SUN networks.

図46および図47に示す実験結果によって、図30に示すフローチャート(図31および図32に示すフローチャートを含む。)によるネットワーク種別の判定方法は、高い確率で対象ネットワークの種別を判定できることが分かった。そして、しきい値DT_thjとして最小スキャン応答遅延を用いることにとって、対象ネットワークの種別を判定する確率を100%に向上できることが分かった。 The experimental results shown in Figures 46 and 47 show that the method of determining the network type using the flowchart shown in Figure 30 (including the flowcharts shown in Figures 31 and 32) can determine the type of the target network with a high probability. It was also found that by using the minimum scan response delay as the threshold value DT_thj, the probability of determining the type of the target network can be improved to 100%.

従って、スキャン解析マネージャ12は、好ましくは、図32のステップS151において、対応表TBL1から最小スキャン応答遅延をしきい値DT_th1~DT_th5として読み出す。 Therefore, the scan analysis manager 12 preferably reads out the minimum scan response delays from the correspondence table TBL1 as thresholds DT_th1 to DT_th5 in step S151 of FIG. 32.

上述したように、図30に示すフローチャート(図31および図32に示すフローチャートを含む。)に従ってネットワーク種別を判定することによって対象ネットワークの種別を正確に判定することができる。 As described above, the type of the target network can be accurately determined by determining the network type according to the flowchart shown in FIG. 30 (including the flowcharts shown in FIG. 31 and FIG. 32).

この発明の実施の形態においては、ネットワークスキャン装置1の動作は、ソフトウェアによって実現されてもよい。この場合、ネットワークスキャン装置1は、CPU(Central Processing Unit)、ROM(Read Only Memory)およびRAM(Random Access Memory)を備える。そして、ROMは、図29に示すフローチャート(図30から図39に示すフローチャートを含む。)の各ステップからなるプログラムProg_Aを記憶する。 In an embodiment of the present invention, the operation of the network scanning device 1 may be realized by software. In this case, the network scanning device 1 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). The ROM stores a program Prog_A consisting of the steps of the flowchart shown in FIG. 29 (including the flowcharts shown in FIG. 30 to FIG. 39).

CPUは、ROMからプログラムProg_Aを読み出し、その読み出したプログラムProg_Aを実行して、対象ネットワークの種別を判定するとともに対象ネットワークの無線通信区間のホップ段数を推定する。RAMは、算出された1ホップの遅延時間、経路遅延、伝送遅延ARTT、複数の絶対値|ARTT-DT_thj|、複数の絶対値|ARTT-DT_thj|の最小値およびしきい値Th等を一時的に記憶する。 The CPU reads out a program Prog_A from the ROM and executes the read out program Prog_A to determine the type of a target network and estimate the number of hops in a wireless communication section of the target network. The RAM temporarily stores the calculated one-hop delay time, route delay, transmission delay ARTT i , a plurality of absolute values |ARTT i -DT_thj|, the minimum value of the plurality of absolute values |ARTT i -DT_thj|, a threshold value Th N , etc.

また、プログラムProg_Aは、CD,DVD等の記録媒体に記録されて流通してもよい。プログラムProg_Aを記録した記録媒体がコンピュータに装着されると、コンピュータは、記録媒体からプログラムProg_Aを読み出して実行し、対象ネットワークの種別を判定するとともに対象ネットワークの無線通信区間のホップ段数を推定する。 The program Prog_A may also be distributed in a form recorded on a recording medium such as a CD or DVD. When the recording medium on which the program Prog_A is recorded is inserted into a computer, the computer reads and executes the program Prog_A from the recording medium, determines the type of the target network, and estimates the number of hops in the wireless communication section of the target network.

従って、プログラムProg_Aを記録した記録媒体は、コンピュータ読み取り可能な記録媒体である。 Therefore, the recording medium on which the program Prog_A is recorded is a computer-readable recording medium.

また、この発明の実施の形態においては、ネットワークスキャン装置1Aの動作は、ソフトウェアによって実現されてもよい。この場合、ネットワークスキャン装置1Aは、CPU、ROMおよびRAMを備える。そして、ROMは、図43に示すフローチャート(図30から図38、図44および図45に示すフローチャートを含む。)の各ステップからなるプログラムProg_Bを記憶する。 In addition, in an embodiment of the present invention, the operation of the network scanning device 1A may be realized by software. In this case, the network scanning device 1A includes a CPU, a ROM, and a RAM. The ROM stores a program Prog_B consisting of the steps of the flowchart shown in FIG. 43 (including the flowcharts shown in FIGS. 30 to 38, 44, and 45).

CPUは、ROMからプログラムProg_Bを読み出し、その読み出したプログラムProg_Bを実行して、対象ネットワークの種別を判定するとともに対象ネットワークの無線通信区間のホップ段数を推定する。RAMは、算出された1ホップの遅延時間、経路遅延、伝送遅延ARTT、複数の絶対値|ARTT-DT_thj|、複数の絶対値|ARTT-DT_thj|の最小値およびしきい値Th等を一時的に記憶する。 The CPU reads out the program Prog_B from the ROM and executes the read out program Prog_B to determine the type of the target network and estimate the number of hops in the wireless communication section of the target network. The RAM temporarily stores the calculated one-hop delay time, route delay, transmission delay ARTT i , a plurality of absolute values |ARTT i -DT_thj|, the minimum value of the plurality of absolute values |ARTT i -DT_thj|, a threshold value Th N , etc.

また、プログラムProg_Bは、CD,DVD等の記録媒体に記録されて流通してもよい。プログラムProg_Bを記録した記録媒体がコンピュータに装着されると、コンピュータは、記録媒体からプログラムProg_Bを読み出して実行し、対象ネットワークの種別を判定するとともに対象ネットワークの無線通信区間のホップ段数を推定する。 The program Prog_B may also be distributed in a form recorded on a recording medium such as a CD or DVD. When the recording medium on which the program Prog_B is recorded is inserted into a computer, the computer reads and executes the program Prog_B from the recording medium, determines the type of the target network, and estimates the number of hops in the wireless communication section of the target network.

従って、プログラムProg_Bを記録した記録媒体は、コンピュータ読み取り可能な記録媒体である。 Therefore, the recording medium on which the program Prog_B is recorded is a computer-readable recording medium.

上記においては、スキャンパケットの通信速度Vをホップ段数Nに応じて1ホップのときのスキャンパケットの通信速度の(1/N)倍に設定すると、説明したが、この発明の実施の形態においては、これに限らず、ホップ段数Nが2ホップ以上であるときのスキャンパケットの通信速度がホップ段数Nの増加に伴って1ホップのときのスキャンパケットの通信速度から直線的に減少するようにしてもよい。 In the above, it has been explained that the communication speed V i of the scan packet is set to (1/N i ) times the communication speed of the scan packet for one hop depending on the hop count N i . However, in an embodiment of the present invention, this is not limited to this, and the communication speed of the scan packet when the hop count N i is two hops or more may be set to decrease linearly from the communication speed of the scan packet for one hop as the hop count N i increases.

ホップ段数Nが2ホップ以上であるときのスキャンパケットの通信速度をこのようにして決定することによって、1ホップのときのスキャンパケットの通信速度の(1/N)倍になるようにホップ段数Nが2ホップ以上であるときのスキャンパケットの通信速度を制御する場合に比べて、ホップ段数Nが多い領域におけるスキャンパケットの通信速度を大きく低下させることができるので、無線リソースを更に低減できる。 By determining the communication speed of the scan packet when the hop count N i is two or more hops in this manner, the communication speed of the scan packet in areas where the hop count N i is large can be significantly reduced compared to controlling the communication speed of the scan packet when the hop count N i is two or more hops to be (1/N i ) times the communication speed of the scan packet when the hop count N i is one hop, thereby further reducing wireless resources.

なお、この発明の実施の形態においては、スキャンパケットの通信速度Vは、ホップ段数Nが第1の値であるとき第1の通信速度に設定され、ホップ段数Nが第1の値よりも大きい第2の値であるとき第1の通信速度よりも低い第2の通信速度に設定されればよい。 In addition, in an embodiment of the present invention, the communication speed V i of the scan packet may be set to a first communication speed when the hop count N i is a first value, and may be set to a second communication speed lower than the first communication speed when the hop count N i is a second value greater than the first value.

また、上記においては、ネットワーク種別(=端末装置の属性)を判定した場合において、ネットワークの無線通信区間のホップ段数Nを推定すると説明したが、この発明の実施の形態においては、これに限らず、ネットワーク種別(=端末装置の属性)を判定しない場合において、ネットワークの無線通信区間のホップ段数Nを推定するようにしてもよい。ホップ段数Nを推定する方法自体は、ネットワーク種別によって変わらないからである。従って、ネットワーク種別が1個である場合について、上述した方法によってホップ段数を推定するようにしてもよい。 In the above description, the number of hops N i in the wireless communication section of the network is estimated when the network type (= the attribute of the terminal device) is determined, but the embodiment of the present invention is not limited to this, and the number of hops N i in the wireless communication section of the network may be estimated when the network type (= the attribute of the terminal device) is not determined. This is because the method of estimating the number of hops N i itself does not change depending on the network type. Therefore, when there is one network type, the number of hops may be estimated by the above-mentioned method.

更に、上述した実施の形態によれば、α(=αMINまたはαAVE)を算出し、その算出したα(=αMINまたはαAVE)をしきい値Thと比較してホップ段数Nを推定する。そして、しきい値Thは、上述した式(4)(即ち、式(2)または式(3))によって算出される。その結果、しきい値Thは、最小遅延WRTTi_MINに基づいて算出されることになる。従って、この発明の実施の形態においては、α(=αMINまたはαAVE)を算出し、その算出したα(=αMINまたはαAVE)を最小遅延WRTTi_MINと比較してネットワークスキャンに使用するネットワークにおける無線通信区間のホップ段数Nを推定することを特徴とする。 Furthermore, according to the above-described embodiment, α (=α MIN or α AVE ) is calculated, and the calculated α (=α MIN or α AVE ) is compared with a threshold value Th N to estimate the number of hop stages N i . Then, the threshold value Th N is calculated by the above-described formula (4) (i.e., formula (2) or formula (3)). As a result, the threshold value Th N is calculated based on the minimum delay WRTT i_MIN . Therefore, the embodiment of the present invention is characterized in that α (=α MIN or α AVE ) is calculated, and the calculated α (=α MIN or α AVE ) is compared with the minimum delay WRTT i_MIN to estimate the number of hop stages N i of the wireless communication section in the network used for network scanning.

この発明の実施の形態においては、K個のルータ1~Kのうちスキャン応答SRが返って来たルータであり、かつ、端末装置に最も近いルータを「最近接ルータ」としたとき、最近接ルータからのスキャン応答遅延RTTは、「経路制御応答遅延」を構成する。 In this embodiment of the invention, when the router that returns the scan response SR among K routers 1 to K and is the closest to the terminal device is defined as the "nearest router," the scan response delay RTT from the nearest router constitutes the "route control response delay."

また、この発明の実施の形態においては、TTLは、「段数指標」を構成する。 In addition, in this embodiment of the invention, TTL constitutes the "stage number index."

更に、この発明の実施の形態においては、Pingパケットを送信するネットワークスキャナ11は、「送信手段」を構成する。 Furthermore, in this embodiment of the invention, the network scanner 11 that transmits the Ping packets constitutes the "transmission means."

更に、この発明の実施の形態においては、スキャン応答SRを受信するネットワークスキャナ11は、「受信手段」を構成する。 Furthermore, in this embodiment of the invention, the network scanner 11 that receives the scan response SR constitutes a "receiving means."

更に、この発明の実施の形態においては、スキャン応答遅延RTTを計測するスキャン解析マネージャ12は、「計測手段」を構成する。 Furthermore, in this embodiment of the invention, the scan analysis manager 12 that measures the scan response delay RTT constitutes a "measurement means."

更に、この発明の実施の形態においては、対象ネットワークの種別を判定するスキャン解析マネージャ12は、「判定手段」を構成する。 Furthermore, in this embodiment of the invention, the scan analysis manager 12, which determines the type of the target network, constitutes a "determination means."

更に、この発明の実施の形態においては、ネットワークスキャンに使用するネットワークの無線通信区間のホップ段数を推定するスキャン解析マネージャ12は、「推定手段」を構成する。 Furthermore, in this embodiment of the invention, the scan analysis manager 12, which estimates the number of hops in the wireless communication section of the network used for network scanning, constitutes an "estimation means."

更に、この発明の実施の形態においては、推定されたホップ段数に応じてスキャンパケットの通信速度を設定してスキャンスケジュールを作成するスキャンスケジューラ14は、「スケジュール作成手段」を構成する。 Furthermore, in this embodiment of the invention, the scan scheduler 14, which sets the communication speed of the scan packets according to the estimated number of hops and creates a scan schedule, constitutes a "schedule creation means."

更に、この発明の実施の形態においては、α(=αi_MINまたはαi_AVE)は、「第1の減算結果」を構成する。 Furthermore, in this embodiment of the present invention, α (=α i_MIN or α i_AVE ) constitutes the "first subtraction result."

更に、この発明の実施の形態においては、対応表TBL1,TBL2(TBL3を含む)を作成するスキャン解析マネージャ12は、「記録手段」を構成する。 Furthermore, in this embodiment of the invention, the scan analysis manager 12 that creates the correspondence tables TBL1 and TBL2 (including TBL3) constitutes a "recording means."

更に、この発明の実施の形態においては、ネットワークNW1は、「第1のネットワーク」を構成し、Wired LAN、WLAN、Wi-SUN、LoRaおよびLTEは、「複数の第1のネットワーク」を構成する。 Furthermore, in this embodiment of the invention, network NW1 constitutes a "first network," and Wired LAN, WLAN, Wi-SUN, LoRa, and LTE constitute "multiple first networks."

更に、この発明の実施の形態においては、ネットワークNW2は、「第2のネットワーク」を構成する。 Furthermore, in this embodiment of the invention, network NW2 constitutes a "second network."

更に、この発明の実施の形態においては、対応表TBLに格納されたスキャン応答遅延SRTTは、「計測スキャン応答遅延」を構成する。 Furthermore, in this embodiment of the invention, the scan response delay SRTT i stored in the correspondence table TBL constitutes a "measured scan response delay."

更に、この発明の実施の形態においては、(WRTTi_MIN-RRTTi_AVE)または(DWRTT_min-DRRTT_ave)は、「第2の減算結果」を構成し、Dは、「第3の減算結果」を構成し、Dは、「第4の減算結果」を構成する。 Furthermore, in this embodiment of the invention, (WRTT i_MIN - RRTT i_AVE ) or (D WRTT_min - D RRTT_ave ) constitutes the "second subtraction result", D 1 constitutes the "third subtraction result", and D 2 constitutes the "fourth subtraction result".

更に、この発明の実施の形態においては、しきい値Thは、「第1のしきい値」を構成し、しきい値Thは、「第2のしきい値」を構成する。 Furthermore, in this embodiment of the present invention, threshold value Th1 constitutes a "first threshold value," and threshold value Th2 constitutes a "second threshold value."

更に、この発明の実施の形態においては、しきい値rATBi thは、「第3のしきい値」を構成し、しきい値CATBiは、「第4のしきい値」を構成する。 Furthermore, in this embodiment of the present invention, threshold value r ATBi th constitutes a "third threshold value", and threshold value C ATBi constitutes a "fourth threshold value".

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した実施の形態の説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is indicated by the claims, not by the description of the embodiments above, and is intended to include all modifications within the meaning and scope of the claims.

この発明は、ネットワークスキャン装置、コンピュータに実行させるためのプログラムおよびプログラムを記録したコンピュータ読み取り可能な記録媒体に適用される。 This invention applies to a network scanning device, a program for causing a computer to execute the program, and a computer-readable recording medium on which the program is recorded.

1 ネットワークスキャン装置、10 通信システム、11 ネットワークスキャナ、12 スキャン解析マネージャ、13 ホスト情報データベース、14 スキャンスケジューラ、20 スキャン対象ネットワーク、30 ユーザ。 1 Network scanning device, 10 Communication system, 11 Network scanner, 12 Scan analysis manager, 13 Host information database, 14 Scan scheduler, 20 Scan target network, 30 User.

Claims (19)

ネットワークスキャンを実行するときに使用する複数の第1のネットワークの無線通信区間におけるホップ段数を推定するネットワークスキャン装置であって、
前記複数の第1のネットワークを使用して複数の端末装置の複数のIPアドレスに対してスキャンパケットを送信してネットワークスキャンを実行するスキャン手段と、
前記スキャンパケットを送信してからスキャン応答を受信するまでの時間であるスキャン応答遅延を計測し、その計測した計測スキャン応答遅延を前記IPアドレスに対応付けて記録する記録処理を前記複数の端末装置の全てについて実行する記録手段と、
前記ネットワークスキャン装置と前記端末装置との間に有線通信区間と1ホップからなる無線通信区間とが存在する第2のネットワークを想定して前記計測スキャン応答遅延から前記第2のネットワークにおける前記有線通信区間の遅延を減算した第1の減算結果を前記第2のネットワークにおける前記無線通信区間の最小遅延と比較して前記ホップ段数を推定する推定処理を前記複数の端末装置の全てについて実行する推定手段と、
前記推定手段によって推定された前記ホップ段数が第1のホップ段数であるとき前記ネットワークスキャンにおけるスキャンパケットの通信速度を第1の通信速度に設定し、前記推定手段によって推定された前記ホップ段数が前記第1のホップ段数よりも多い第2のホップ段数であるとき前記スキャンパケットの通信速度を前記第1の通信速度よりも低い第2の通信速度に設定して前記ネットワークスキャンのスキャンスケジュールを作成するスケジュール作成手段とを備え、
前記スキャン手段は、前記スケジュール作成手段によって作成された前記スキャンスケジュールに従って前記ネットワークスキャンを実行する、ネットワークスキャン装置。
A network scanning device that estimates a number of hops in a wireless communication section of a plurality of first networks used when performing a network scan, comprising:
a scanning means for performing a network scan by transmitting scan packets to a plurality of IP addresses of a plurality of terminal devices using the plurality of first networks;
a recording means for measuring a scan response delay, which is a time from transmitting the scan packet to receiving a scan response, and for executing a recording process for recording the measured scan response delay in association with the IP address for all of the plurality of terminal devices;
an estimation means for executing, for all of the plurality of terminal devices, an estimation process for estimating the number of hops by comparing a first subtraction result obtained by subtracting a delay in the wired communication section in the second network from the measured scan response delay, with a minimum delay in the wireless communication section in the second network, assuming a second network in which a wired communication section and a wireless communication section consisting of one hop exist between the network scanning device and the terminal device;
a schedule creating means for creating a scan schedule for the network scan by setting a communication speed of a scan packet in the network scan to a first communication speed when the number of hop stages estimated by the estimation means is a first hop stage, and setting the communication speed of the scan packet to a second communication speed lower than the first communication speed when the number of hop stages estimated by the estimation means is a second hop stage greater than the first hop stage,
A network scanning device, wherein the scanning means executes the network scan in accordance with the scan schedule created by the schedule creating means.
前記推定手段は、前記推定処理において、前記計測スキャン応答遅延の最小値から前記第2のネットワークにおける前記有線通信区間の遅延を減算して前記第1の減算結果の最小値を算出し、前記最小遅延に基づいて複数のしきい値を算出し、前記第1の減算結果の最小値を前記複数のしきい値と比較して前記ホップ段数を推定する、請求項1に記載のネットワークスキャン装置。 The network scanning device according to claim 1, wherein in the estimation process, the estimation means subtracts the delay of the wired communication section in the second network from the minimum value of the measured scan response delay to calculate the minimum value of the first subtraction result, calculates multiple thresholds based on the minimum delay, and estimates the number of hops by comparing the minimum value of the first subtraction result with the multiple thresholds. 前記複数のしきい値は、Th~Th(Nは、2以上の整数)からなり、
前記推定手段は、前記推定処理において、前記最小遅延を基準値に設定し、前記最小遅延から前記第2のネットワークにおける前記有線通信区間の平均遅延を減算して第2の減算結果を算出し、Th=(基準値)+(第2の減算結果)×Nによって前記複数のしきい値を算出し、前記第1の減算結果の最小値を前記算出した複数のしきい値と比較して前記ホップ段数を推定する、請求項2に記載のネットワークスキャン装置。
The plurality of threshold values are Th 1 to Th N (N is an integer of 2 or more),
3. The network scanning device of claim 2, wherein in the estimation process, the estimation means sets the minimum delay as a reference value, subtracts an average delay of the wired communication section in the second network from the minimum delay to calculate a second subtraction result, calculates the multiple thresholds by Th N = (reference value) + (second subtraction result) x N, and estimates the number of hops by comparing the minimum of the first subtraction result with the calculated multiple thresholds.
前記推定手段は、前記推定処理において、前記計測スキャン応答遅延の最小値から前記第2のネットワークにおける前記有線通信区間の平均遅延を減算して前記第1の減算結果の最小値を算出し、前記最小遅延を第1のしきい値に設定し、前記最小遅延から前記第2のネットワークにおける前記有線通信区間の平均遅延を減算して第2の減算結果を算出し、前記第1のしきい値に前記第2の減算結果を加算して第2のしきい値を算出し、前記第1の減算結果の最小値から前記第1のしきい値を減算して第3の減算結果を算出し、前記第2のしきい値から前記第1のしきい値を減算して第4の減算結果を算出し、前記第3の減算結果が負であるとき、前記ホップ段数を“1”と推定し、前記第3の減算結果が零以上であるとき、前記第3の減算結果を前記第4の減算結果で除算した除算結果を切り上げて得られる整数に1を加算した加算結果を前記ホップ段数として推定する、請求項1に記載のネットワークスキャン装置。 2. The network scanning device according to claim 1, wherein, in the estimation process, the estimation means calculates a minimum value of the first subtraction results by subtracting an average delay of the wired communication section in the second network from a minimum value of the measured scan response delays, sets the minimum delay as a first threshold value, calculates a second subtraction result by subtracting the average delay of the wired communication section in the second network from the minimum delay, calculates a second threshold value by adding the second subtraction result to the first threshold value, calculates a third subtraction result by subtracting the first threshold value from the minimum value of the first subtraction results, and calculates a fourth subtraction result by subtracting the first threshold value from the second threshold value, estimates the number of hops to be "1" when the third subtraction result is negative, and estimates, when the third subtraction result is equal to or greater than zero, as the number of hops. 前記推定手段は、前記推定処理において、前記計測スキャン応答遅延の平均値から前記第2のネットワークにおける前記有線通信区間の遅延を減算して前記第1の減算結果の平均値を算出し、前記最小遅延に基づいて複数のしきい値を算出し、前記第1の減算結果の平均値を前記複数のしきい値と比較して前記ホップ段数を推定する、請求項1に記載のネットワークスキャン装置。 The network scanning device according to claim 1, wherein in the estimation process, the estimation means subtracts the delay of the wired communication section in the second network from the average measured scan response delay to calculate an average value of the first subtraction result, calculates a plurality of threshold values based on the minimum delay, and estimates the number of hops by comparing the average value of the first subtraction result with the plurality of threshold values. 前記複数のしきい値は、Th~Th(Nは、2以上の整数)からなり、
前記推定手段は、前記推定処理において、前記最小遅延と前記最小遅延の2倍との中点を基準値に設定し、前記最小遅延から前記第2のネットワークにおける前記有線通信区間の平均遅延を減算して第2の減算結果を算出し、Th=(基準値)+(第2の減算結果)×Nによって前記複数のしきい値を算出し、前記第1の減算結果の平均値を前記算出した複数のしきい値と比較して前記ホップ段数を推定する、請求項5に記載のネットワークスキャン装置。
The plurality of threshold values are Th 1 to Th N (N is an integer of 2 or more),
6. The network scanning device of claim 5, wherein in the estimation process, the estimation means sets the midpoint between the minimum delay and twice the minimum delay as a reference value, calculates a second subtraction result by subtracting an average delay of the wired communication section in the second network from the minimum delay, calculates the multiple thresholds by Th N = (reference value) + (second subtraction result) x N, and estimates the number of hops by comparing an average value of the first subtraction result with the calculated multiple thresholds.
前記推定手段は、前記推定処理において、前記計測スキャン応答遅延の平均値から前記第2のネットワークにおける前記有線通信区間の平均遅延を減算して前記第1の減算結果の平均値を算出し、前記最小遅延から前記第2のネットワークにおける前記有線通信区間の平均遅延を減算して第2の減算結果を算出し、その算出した第2の減算結果を前記最小遅延と前記最小遅延の2倍との中点からなる基準値に加算して第1のしきい値を算出し、前記第1のしきい値に前記第2の減算結果を加算して第2のしきい値を算出し、前記第1の減算結果の平均値から前記第1のしきい値を減算して第3の減算結果を算出し、前記第2のしきい値から前記第1のしきい値を減算して第4の減算結果を算出し、前記第3の減算結果が負であるとき、前記ホップ段数を“1”と推定し、前記第3の減算結果が零以上であるとき、前記第3の減算結果を前記第4の減算結果で除算した除算結果を切り上げて得られる整数に1を加算した加算結果を前記ホップ段数として推定する、請求項1に記載のネットワークスキャン装置。 In the estimation process, the estimation means calculates an average value of the first subtraction results by subtracting an average delay of the wired communication section in the second network from an average value of the measured scan response delays, calculates a second subtraction result by subtracting the average delay of the wired communication section in the second network from the minimum delay, calculates a first threshold value by adding the calculated second subtraction result to a reference value consisting of a midpoint between the minimum delay and twice the minimum delay, and calculates a second threshold value by adding the second subtraction result to the first threshold value. 2. The network scanning device according to claim 1, further comprising: a first threshold value that is a first subtraction result; a second threshold value that is a first subtraction result; a third subtraction result that is a second subtraction result; a fourth subtraction result that is a second subtraction result; and a second threshold value that is a second subtraction result; when the third subtraction result is negative, the number of hop stages is estimated to be "1." When the third subtraction result is equal to or greater than zero, the number of hop stages is estimated to be an integer obtained by rounding up the result of dividing the third subtraction result by the fourth subtraction result and adding 1 to the resulting integer. 前記複数の第1のネットワークの種別を前記複数の端末装置の属性として判定する判定手段を更に備え、
前記推定手段は、前記推定処理において、前記端末装置の属性に対応する前記計測スキャン応答遅延から前記第2のネットワークにおける前記有線通信区間の遅延を減算した第1の減算結果を前記第2のネットワークにおける前記無線通信区間の最小遅延と比較して前記ホップ段数を推定する、請求項1から請求項7のいずれか1項に記載のネットワークスキャン装置。
a determination unit for determining types of the first networks as attributes of the terminal devices,
8. The network scanning device according to claim 1, wherein the estimation means, in the estimation process, estimates the number of hops by comparing a first subtraction result obtained by subtracting the delay of the wired communication section in the second network from the measured scan response delay corresponding to an attribute of the terminal device with a minimum delay of the wireless communication section in the second network.
前記スケジュール作成手段は、更に、第3のしきい値以上である前記計測スキャン応答遅延の個数を前記スキャン応答の個数で除算したときの比が第4のしきい値よりも大きくないとき、前記スキャンパケットの通信速度を維持し、または前記第1の通信速度よりも高い第3の通信速度に設定して前記ネットワークスキャンのスキャンスケジュールを作成する、請求項1から請求項8のいずれか1項に記載のネットワークスキャン装置。 The network scanning device according to any one of claims 1 to 8, wherein the schedule creation means further creates a scan schedule for the network scan by maintaining the communication speed of the scan packets or setting it to a third communication speed higher than the first communication speed when the ratio of the number of the measured scan response delays equal to or greater than a third threshold value divided by the number of the scan responses is not greater than a fourth threshold value. ネットワークスキャンを実行するときに使用する複数の第1のネットワークの無線通信区間におけるホップ段数の推定をコンピュータに実行させるプログラムであって、
スキャン手段が、前記複数の第1のネットワークを使用して複数の端末装置の複数のIPアドレスに対してスキャンパケットを送信してネットワークスキャンを実行する第1のステップと、
記録手段が、前記スキャンパケットを送信してからスキャン応答を受信するまでの時間であるスキャン応答遅延を計測し、その計測した計測スキャン応答遅延を前記IPアドレスに対応付けて記録する記録処理を前記複数の端末装置の全てについて実行する第2のステップと、
推定手段が、前記ネットワークスキャンを実行するネットワークスキャン装置と前記端末装置との間に有線通信区間と1ホップからなる無線通信区間とが存在する第2のネットワークを想定して前記計測スキャン応答遅延から前記第2のネットワークにおける前記有線通信区間の遅延を減算した第1の減算結果を前記第2のネットワークにおける前記無線通信区間の最小遅延と比較して前記ホップ段数を推定する推定処理を前記複数の端末装置の全てについて実行する第3のステップと、
スケジュール作成手段が、前記第3のステップにおいて推定された前記ホップ段数が第1のホップ段数であるとき前記ネットワークスキャンにおけるスキャンパケットの通信速度を第1の通信速度に設定し、前記第3のステップにおいて推定された前記ホップ段数が前記第1のホップ段数よりも多い第2のホップ段数であるとき前記スキャンパケットの通信速度を前記第1の通信速度よりも低い第2の通信速度に設定して前記ネットワークスキャンのスキャンスケジュールを作成する第4のステップとをコンピュータに実行させ、
前記スキャン手段は、前記第1のステップにおいて、前記第4のステップにおいて作成された前記スキャンスケジュールに従って前記ネットワークスキャンを実行する、コンピュータに実行させるためのプログラム。
A program for causing a computer to estimate a number of hops in a wireless communication section of a plurality of first networks used when performing a network scan, the program comprising:
a first step of a scanning means performing a network scan by transmitting a scan packet to a plurality of IP addresses of a plurality of terminal devices using the plurality of first networks;
a second step in which a recording means measures a scan response delay, which is a time from transmitting the scan packet to receiving a scan response, and records the measured scan response delay in association with the IP address for all of the plurality of terminal devices;
a third step in which an estimation means executes an estimation process for all of the plurality of terminal devices, the estimation process being performed by subtracting a delay in the wired communication section in the second network from the measured scan response delay, assuming a second network in which a wired communication section and a wireless communication section consisting of one hop exist between the network scanning device that executes the network scan and the terminal device, and comparing the result with a minimum delay in the wireless communication section in the second network to estimate the number of hops;
a fourth step in which a schedule creation means creates a scan schedule for the network scan by setting a communication speed of a scan packet in the network scan to a first communication speed when the number of hop stages estimated in the third step is a first hop stage, and by setting a communication speed of the scan packet to a second communication speed lower than the first communication speed when the number of hop stages estimated in the third step is a second hop stage that is greater than the first hop stage;
The scanning means, in the first step, executes the network scan in accordance with the scan schedule created in the fourth step.
前記推定手段は、前記第3のステップの前記推定処理において、前記計測スキャン応答遅延の最小値から前記第2のネットワークにおける前記有線通信区間の遅延を減算して前記第1の減算結果の最小値を算出し、前記最小遅延に基づいて複数のしきい値を算出し、前記第1の減算結果の最小値を前記複数のしきい値と比較して前記ホップ段数を推定する、請求項10に記載のコンピュータに実行させるためのプログラム。 The program for causing a computer to execute the program according to claim 10, wherein the estimation means, in the estimation process of the third step, subtracts the delay of the wired communication section in the second network from the minimum value of the measured scan response delay to calculate the minimum value of the first subtraction result, calculates a plurality of threshold values based on the minimum delay, and compares the minimum value of the first subtraction result with the plurality of threshold values to estimate the number of hops. 前記複数のしきい値は、Th~Th(Nは、2以上の整数)からなり、
前記推定手段は、前記第3のステップの前記推定処理において、前記最小遅延を基準値に設定し、前記最小遅延から前記第2のネットワークにおける前記有線通信区間の平均遅延を減算して第2の減算結果を算出し、Th=(基準値)+(第2の減算結果)×Nによって前記複数のしきい値を算出し、前記第1の減算結果の最小値を前記算出した複数のしきい値と比較して前記ホップ段数を推定する、請求項11に記載のコンピュータに実行させるためのプログラム。
The plurality of threshold values are Th 1 to Th N (N is an integer of 2 or more),
12. The program for causing a computer to execute the program according to claim 11, wherein, in the estimation process of the third step, the estimation means sets the minimum delay as a reference value, subtracts an average delay of the wired communication section in the second network from the minimum delay to calculate a second subtraction result, calculates the plurality of threshold values by ThN = (reference value) + (second subtraction result) x N, and estimates the number of hops by comparing a minimum value of the first subtraction result with the calculated plurality of threshold values.
前記推定手段は、前記第3のステップの前記推定処理において、前記計測スキャン応答遅延の最小値から前記第2のネットワークにおける前記有線通信区間の平均遅延を減算して前記第1の減算結果の最小値を算出し、前記最小遅延を第1のしきい値に設定し、前記最小遅延から前記第2のネットワークにおける前記有線通信区間の平均遅延を減算して第2の減算結果を算出し、前記第1のしきい値に前記第2の減算結果を加算して第2のしきい値を算出し、前記第1の減算結果の最小値から前記第1のしきい値を減算して第3の減算結果を算出し、前記第2のしきい値から前記第1のしきい値を減算して第4の減算結果を算出し、前記第3の減算結果が負であるとき、前記ホップ段数を“1”と推定し、前記第3の減算結果が零以上であるとき、前記第3の減算結果を前記第4の減算結果で除算した除算結果を切り上げて得られる整数に1を加算した加算結果を前記ホップ段数として推定する、請求項10に記載のコンピュータに実行させるためのプログラム。 11. The program for causing a computer to execute the program according to claim 10, wherein, in the estimation process of the third step, the estimation means calculates a minimum value of the first subtraction results by subtracting an average delay of the wired communication section in the second network from a minimum value of the measured scan response delays, sets the minimum delay as a first threshold value, calculates a second subtraction result by subtracting the average delay of the wired communication section in the second network from the minimum delay, calculates a second threshold value by adding the second subtraction result to the first threshold value, calculates a third subtraction result by subtracting the first threshold value from the minimum value of the first subtraction results, and calculates a fourth subtraction result by subtracting the first threshold value from the second threshold value, estimates the number of hops to be "1" when the third subtraction result is negative, and estimates, when the third subtraction result is equal to or greater than zero, an addition result obtained by rounding up a division result of the third subtraction result by the fourth subtraction result and adding 1 to the integer obtained as the number of hops as the number of hops. 前記推定手段は、前記第3のステップの前記推定処理において、前記計測スキャン応答遅延の平均値から前記第2のネットワークにおける前記有線通信区間の遅延を減算して前記第1の減算結果の平均値を算出し、前記最小遅延に基づいて複数のしきい値を算出し、前記第1の減算結果の平均値を前記複数のしきい値と比較して前記ホップ段数を推定する、請求項10に記載のコンピュータに実行させるためのプログラム。 The program for causing a computer to execute the program according to claim 10, wherein the estimation means, in the estimation process of the third step, subtracts the delay of the wired communication section in the second network from the average value of the measured scan response delays to calculate an average value of the first subtraction results, calculates a plurality of threshold values based on the minimum delay, and compares the average value of the first subtraction results with the plurality of threshold values to estimate the number of hops. 前記複数のしきい値は、Th~Th(Nは、2以上の整数)からなり、
前記推定手段は、前記第3のステップの前記推定処理において、前記最小遅延と前記最小遅延の2倍との中点を基準値に設定し、前記最小遅延から前記第2のネットワークにおける前記有線通信区間の平均遅延を減算して第2の減算結果を算出し、Th=(基準値)+(第2の減算結果)×Nによって前記複数のしきい値を算出し、前記第1の減算結果の平均値を前記算出した複数のしきい値と比較して前記ホップ段数を推定する、請求項14に記載のコンピュータに実行させるためのプログラム。
The plurality of threshold values are Th 1 to Th N (N is an integer of 2 or more),
15. The program for causing a computer to execute the program according to claim 14, wherein in the estimation process of the third step, the estimation means sets the midpoint between the minimum delay and twice the minimum delay as a reference value, calculates a second subtraction result by subtracting an average delay of the wired communication section in the second network from the minimum delay, calculates the multiple thresholds by ThN = (reference value) + (second subtraction result) x N, and estimates the number of hops by comparing an average value of the first subtraction result with the calculated multiple thresholds.
前記推定手段は、前記第3のステップの前記推定処理において、前記計測スキャン応答遅延の平均値から前記第2のネットワークにおける前記有線通信区間の平均遅延を減算して前記第1の減算結果の平均値を算出し、前記最小遅延から前記第2のネットワークにおける前記有線通信区間の平均遅延を減算して第2の減算結果を算出し、その算出した第2の減算結果を前記最小遅延と前記最小遅延の2倍との中点からなる基準値に加算して第1のしきい値を算出し、前記第1のしきい値に前記第2の減算結果を加算して第2のしきい値を算出し、前記第1の減算結果の平均値から前記第1のしきい値を減算して第3の減算結果を算出し、前記第2のしきい値から前記第1のしきい値を減算して第4の減算結果を算出し、前記第3の減算結果が負であるとき、前記ホップ段数を“1”と推定し、前記第3の減算結果が零以上であるとき、前記第3の減算結果を前記第4の減算結果で除算した除算結果を切り上げて得られる整数に1を加算した加算結果を前記ホップ段数として推定する、請求項10に記載のコンピュータに実行させるためのプログラム。 The estimation means, in the estimation process of the third step, calculates an average value of the first subtraction results by subtracting an average delay of the wired communication section in the second network from an average value of the measured scan response delays, calculates a second subtraction result by subtracting the average delay of the wired communication section in the second network from the minimum delay, calculates a first threshold value by adding the calculated second subtraction result to a reference value consisting of a midpoint between the minimum delay and twice the minimum delay, and calculates a second threshold value by adding the second subtraction result to the first threshold value. 11. A program for causing a computer to execute the program of claim 10, which calculates a threshold value, subtracts the first threshold value from an average value of the first subtraction results to calculate a third subtraction result, subtracts the first threshold value from the second threshold value to calculate a fourth subtraction result , and when the third subtraction result is negative, estimates the number of hop stages to be "1", and when the third subtraction result is zero or greater, estimates as the number of hop stages an addition result obtained by rounding up the division result of the third subtraction result by the fourth subtraction result and adding 1 to the integer obtained. 判定手段が、前記複数の第1のネットワークの種別を前記複数の端末装置の属性として判定する第5のステップを更にコンピュータに実行させ、
前記推定手段は、前記第3のステップの前記推定処理において、前記端末装置の属性に対応する前記計測スキャン応答遅延から前記第2のネットワークにおける前記有線通信区間の遅延を減算した第1の減算結果を前記第2のネットワークにおける前記無線通信区間の最小遅延と比較して前記ホップ段数を推定する、請求項10から請求項16のいずれか1項に記載のコンピュータに実行させるためのプログラム。
a fifth step in which a determination means determines types of the plurality of first networks as attributes of the plurality of terminal devices;
17. A program for causing a computer to execute the program according to claim 10, wherein, in the estimation process of the third step, the estimation means estimates the number of hops by comparing a first subtraction result obtained by subtracting the delay of the wired communication section in the second network from the measured scan response delay corresponding to an attribute of the terminal device with a minimum delay of the wireless communication section in the second network.
前記スケジュール作成手段は、前記第4のステップにおいて、更に、第3のしきい値以上である前記計測スキャン応答遅延の個数を前記スキャン応答の個数で除算したときの比が第4のしきい値よりも大きくないとき、前記スキャンパケットの通信速度を維持し、または前記第1の通信速度よりも高い第3の通信速度に設定して前記ネットワークスキャンのスキャンスケジュールを作成する、請求項10から請求項17のいずれか1項に記載のコンピュータに実行させるためのプログラム。 The program for causing a computer to execute the program according to any one of claims 10 to 17, wherein in the fourth step, the schedule creation means further creates a scan schedule for the network scan by maintaining the communication speed of the scan packets or setting it to a third communication speed higher than the first communication speed when the ratio of the number of the measured scan response delays equal to or greater than a third threshold value divided by the number of the scan responses is not greater than a fourth threshold value. 請求項10から請求項18のいずれか1項に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。 A computer-readable recording medium having recorded thereon the program according to any one of claims 10 to 18.
JP2020100713A 2020-06-10 2020-06-10 Network scanning device, a program for causing a computer to execute the program, and a computer-readable recording medium having the program recorded thereon Active JP7513251B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020100713A JP7513251B2 (en) 2020-06-10 2020-06-10 Network scanning device, a program for causing a computer to execute the program, and a computer-readable recording medium having the program recorded thereon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020100713A JP7513251B2 (en) 2020-06-10 2020-06-10 Network scanning device, a program for causing a computer to execute the program, and a computer-readable recording medium having the program recorded thereon

Publications (2)

Publication Number Publication Date
JP2021197579A JP2021197579A (en) 2021-12-27
JP7513251B2 true JP7513251B2 (en) 2024-07-09

Family

ID=79196174

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020100713A Active JP7513251B2 (en) 2020-06-10 2020-06-10 Network scanning device, a program for causing a computer to execute the program, and a computer-readable recording medium having the program recorded thereon

Country Status (1)

Country Link
JP (1) JP7513251B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010103786A (en) 2008-10-24 2010-05-06 Kddi Corp Method of estimating delay time in overlay network, peer node, and program
JP2012039565A (en) 2010-08-11 2012-02-23 Oki Networks Co Ltd Monitoring system, monitoring device, monitoring program and terminal
WO2019239608A1 (en) 2018-06-12 2019-12-19 Nec Corporation Information collection system, information collection method, medium, and information collection program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010103786A (en) 2008-10-24 2010-05-06 Kddi Corp Method of estimating delay time in overlay network, peer node, and program
JP2012039565A (en) 2010-08-11 2012-02-23 Oki Networks Co Ltd Monitoring system, monitoring device, monitoring program and terminal
WO2019239608A1 (en) 2018-06-12 2019-12-19 Nec Corporation Information collection system, information collection method, medium, and information collection program
JP2021527879A (en) 2018-06-12 2021-10-14 日本電気株式会社 Information gathering system, information gathering method, and program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GR2000 ソフトウェアマニュアル 運用ガイド Ver.06-04対応 第3版 ,株式会社日立製作所,2002年04月,第3版,第35頁-第36頁
GR2000 ソフトウェアマニュアル 運用コマンドレファレンス Ver.06-04対応 第3版 ,日本,株式会社日立製作所,2002年04月,第3版,第358頁-第365頁

Also Published As

Publication number Publication date
JP2021197579A (en) 2021-12-27

Similar Documents

Publication Publication Date Title
Gnawali et al. Interaction of retransmission, blacklisting, and routing metrics for reliability in sensor network routing
EP3143721B1 (en) Probing technique for predictive routing in computer networks
Kazantzidis et al. Permissible throughput network feedback for adaptive multimedia in AODV MANETs
JP2011507322A (en) Method for characterizing a communication link in a communication network
Jiang An enhanced prediction-based link availability estimation for MANETs
US10419324B2 (en) Analysis of network performance
US20190081892A1 (en) Fast and loss-free local recovery by a rpl parent device
US20180062986A1 (en) Network routing through an overlay network
He et al. Endhost-based shortest path routing in dynamic networks: An online learning approach
JP7513251B2 (en) Network scanning device, a program for causing a computer to execute the program, and a computer-readable recording medium having the program recorded thereon
US20190297004A1 (en) Bayesian dynamic multihop wireless best path prediction
SE540705C2 (en) Mobile radio network node and method for estimating the capacity of a link in a radio communications network
Murray et al. Measuring the reliability of 802.11 WiFi networks
CN105744550A (en) Wireless Mesh network, and routing method and apparatus thereof
Saukh et al. Generic routing metric and policies for wsns
JP2020154637A (en) A network scanning device, a program to be executed by a computer, and a computer-readable recording medium on which the program is recorded.
JP7520319B2 (en) Network scanning device, a program for causing a computer to execute the program, and a computer-readable recording medium having the program recorded thereon
JP5831539B2 (en) Communication delay time deriving method, communication terminal, and communication delay time deriving program
JP7485549B2 (en) Network scanning device, a program for causing a computer to execute the program, and a computer-readable recording medium having the program recorded thereon
Wadhwani et al. Link stability based approach for route discovery in MANET using DSR
Cordero et al. Optimization of jitter configuration for reactive route discovery in wireless mesh networks
JP7684681B2 (en) Scan rate calculation device, network scanning device equipped with the same, program for causing a computer to execute the program, and computer-readable recording medium having the program recorded thereon
Zhang et al. Concurrent multipath transfer performance optimization using Kalman filter based predictive delay estimation in wireless networks
JP7432982B2 (en) A network scanning device, a program to be executed by a computer, and a computer-readable recording medium recording the program
Goto et al. Dynamic optimization of multicast active probing path to locate lossy links for OpenFlow networks

Legal Events

Date Code Title Description
A80 Written request to apply exceptions to lack of novelty of invention

Free format text: JAPANESE INTERMEDIATE CODE: A80

Effective date: 20200615

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230608

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240313

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240501

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240604

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: 20240618

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240620

R150 Certificate of patent or registration of utility model

Ref document number: 7513251

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150