JP2016181745A - Wireless terminal, program, and communication log acquisition method - Google Patents
Wireless terminal, program, and communication log acquisition method Download PDFInfo
- Publication number
- JP2016181745A JP2016181745A JP2015059634A JP2015059634A JP2016181745A JP 2016181745 A JP2016181745 A JP 2016181745A JP 2015059634 A JP2015059634 A JP 2015059634A JP 2015059634 A JP2015059634 A JP 2015059634A JP 2016181745 A JP2016181745 A JP 2016181745A
- Authority
- JP
- Japan
- Prior art keywords
- log
- communication
- server
- wireless terminal
- wireless
- 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.)
- Pending
Links
Images
Landscapes
- Monitoring And Testing Of Exchanges (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
【課題】無線端末−サーバ間の無線区間及び有線区間の通信ログを適切に特定すること。【解決手段】無線アクセスポイント4を介して有線ネットワークに接続されたサーバ3と通信する無線端末1であって、サーバ3との通信における無線区間の通信ログ200を取得する第1取得部142と、取得した通信ログ200から自身がサーバ3に対して送信又はサーバ3から受信したフレームのデータサイズ、及び当該フレームの送受信の順序を参照情報201として抽出する第1抽出部143と、参照情報201に基づいて、サーバ3が記憶する全通信ログ301から自身との通信に関する通信ログ300を取得する第2取得部144と、取得した通信ログ300を通信ログ200と対応付けることで、無線区間で送受信したフレームの夫々の内容を特定する特定部145とを備える。【選択図】図2A communication log for a wireless section and a wired section between a wireless terminal and a server is specified appropriately. A wireless terminal 1 that communicates with a server 3 connected to a wired network via a wireless access point 4, and a first acquisition unit 142 that acquires a communication log 200 of a wireless section in communication with the server 3. A first extraction unit 143 that extracts, as reference information 201, a data size of a frame that is transmitted to or received from the server 3 from the acquired communication log 200, and a transmission / reception order of the frame; The second acquisition unit 144 that acquires the communication log 300 related to communication with itself from all the communication logs 301 stored in the server 3 and the acquired communication log 300 in association with the communication log 200 allows transmission and reception in the wireless section. And a specifying unit 145 for specifying the contents of each frame. [Selection] Figure 2
Description
本発明は、無線アクセスポイントを介したサーバ通信の通信ログを取得する無線端末、プログラム及び通信ログ取得方法に関する。 The present invention relates to a wireless terminal, a program, and a communication log acquisition method for acquiring a communication log of server communication via a wireless access point.
ネットワークを介した通信の評価として、スループット測定が広く用いられている。スループット測定は、特許文献1のように、複数のパケットを送信してからACK応答を受けるまでの往復時間やパケットロス率に基づいて行われる。しかしながら、算出したスループットは、ある一定期間の通信速度の平均値であり、必ずしも通信の実態をあらわしているとはいえない。
Throughput measurement is widely used as an evaluation of communication via a network. Throughput measurement is performed based on the round-trip time and the packet loss rate from when a plurality of packets are transmitted until the ACK response is received, as in
具体的には、タイミングT1及びタイミングT2の双方において通信速度が1Mbpsである環境と、タイミングT1において通信速度が1.9MbpsでタイミングT2において通信速度が0.1Mbpsである環境とでは、平均スループットは同じであるが、実際に通信を行った場合には通信品質に差が生じてしまう。
このように、スループットを測定する際の時間粒度は、通信品質が変化する時間粒度に比べて大きいため、スループット測定ではない新たな通信評価方法が求められている。
Specifically, in an environment where the communication speed is 1 Mbps at both the timing T1 and the timing T2, and an environment where the communication speed is 1.9 Mbps at the timing T1 and the communication speed is 0.1 Mbps at the timing T2, the average throughput is Although the same, when communication is actually performed, a difference occurs in communication quality.
Thus, since the time granularity when measuring the throughput is larger than the time granularity when the communication quality changes, a new communication evaluation method that is not a throughput measurement is required.
このような通信評価方法の一例として、通信装置−サーバ間の通信ログを解析して、通信品質を評価する仕組みが考えられる。このような仕組みによれば、時間粒度が細かくなるため、実際にユーザが感じる品質に近い通信品質を測定することができる。 As an example of such a communication evaluation method, a mechanism for analyzing a communication log between a communication device and a server and evaluating communication quality can be considered. According to such a mechanism, since the time granularity becomes fine, it is possible to measure the communication quality close to the quality actually felt by the user.
しかしながら、通信ログを解析して通信品質を測定する仕組みでは、以下のような問題がある。
スマートフォン等の通信装置で無線アクセスポイントを介して無線LAN通信する場合、通信装置自身がMACレイヤの通信ログをキャプチャするAPIが存在しておらず、当該機能を備える無線LANモニタ装置を利用しなければ、MACレイヤの通信ログをキャプチャすることができない。一方、無線LAN通信はWPA2で暗号化されている場合には、無線LANモニタ装置であってもIPレイヤ以上が見えず、無線区間(通信装置−無線アクセスポイント間)で通信される信号が何を意味しているか判別することができない。
However, the mechanism for analyzing communication logs and measuring communication quality has the following problems.
When wireless LAN communication is performed via a wireless access point with a communication device such as a smartphone, the communication device itself does not have an API for capturing a MAC layer communication log, and a wireless LAN monitor device having this function must be used. For example, the MAC layer communication log cannot be captured. On the other hand, when the wireless LAN communication is encrypted with WPA2, even the wireless LAN monitor device cannot see the IP layer or higher, and what signal is transmitted in the wireless section (between the communication device and the wireless access point). Cannot be determined.
また、通信装置がプロキシサーバを経由してサーバにアクセスすると、サーバでは、対象の通信装置を特定することができず、自身が保持する有線区間(無線アクセスポイント−サーバ間)の通信ログから、対象の通信装置に関する通信ログを抽出することができない。 Also, when the communication device accesses the server via the proxy server, the server cannot identify the target communication device, and from the communication log of the wired section (between the wireless access point and the server) held by itself, A communication log related to the target communication device cannot be extracted.
このように、通信ログを解析して通信品質を測定する場合、無線区間の通信ログの具体的な内容を把握することができず、また、対象となる有線区間の通信ログを適切に抽出することができないという問題がある。 As described above, when measuring communication quality by analyzing communication logs, it is impossible to grasp the specific contents of the communication logs in the wireless section, and appropriately extract the communication logs in the target wired section. There is a problem that can not be.
本発明は、このような問題に鑑みてなされたものであり、無線区間及び有線区間の通信ログを適切に特定可能な無線端末、プログラム及び通信ログ取得方法を提供することを目的とする。 The present invention has been made in view of such problems, and an object of the present invention is to provide a wireless terminal, a program, and a communication log acquisition method that can appropriately specify communication logs in a wireless section and a wired section.
本発明の第1の態様においては、無線アクセスポイントを介して有線ネットワークに接続されたサーバと通信する無線端末であって、前記サーバとの通信における無線区間の通信ログである第1ログを取得する第1取得部と、取得した前記第1ログから、自身が前記サーバに対して送信又は前記サーバから受信したフレームのデータサイズ、及び当該フレームの送受信の順序を参照情報として抽出する第1抽出部と、前記第1ログから抽出した前記参照情報に基づいて、前記サーバが記憶する通信ログのうち自身との通信に関する通信ログである第2ログを取得する第2取得部と、取得した前記第2ログに基づいて、前記第1ログとして記録された自身が送受信したフレームの内容を特定する特定部とを備える無線端末を提供する。 In the first aspect of the present invention, a wireless terminal that communicates with a server connected to a wired network via a wireless access point, and acquires a first log that is a communication log of a wireless section in communication with the server A first extraction unit that extracts, as reference information, a data size of a frame that is transmitted to or received from the server and a transmission / reception order of the frame from the acquired first log And a second acquisition unit that acquires a second log that is a communication log related to communication with itself among communication logs stored by the server, based on the reference information extracted from the first log, and the acquired Based on the second log, a wireless terminal is provided that includes a specifying unit that specifies the content of the frame transmitted / received by itself recorded as the first log.
また、前記第2取得部は、前記サーバが記憶する通信ログのうち、自身に関連するアドレスを送信元又は送信先とする通信ログを前記サーバから取得する第3取得部と、取得した前記通信ログから、前記参照情報に基づいて、前記サーバと自身との通信に関する前記第2ログを抽出する第2抽出部とを更に備えることとしてもよい。 In addition, the second acquisition unit acquires, from the server, a communication log having an address related to itself as a transmission source or a transmission destination, among the communication logs stored in the server, and the acquired communication It is good also as providing the 2nd extraction part which extracts the said 2nd log regarding communication with the said server and self based on the said reference information from a log.
また、前記サーバとの通信に応じた内容を表示する表示部と、前記サーバに対して要求してから前記内容が表示されるまでの時間が閾値を超えたか否かを判定する判定部とを更に備え、前記第1取得部及び前記第2取得部は、前記判定部が前記閾値を超えたと判定すると、前記要求前後の所定期間の前記第1ログ及び前記第2ログを取得することとしてもよい。 A display unit that displays content according to communication with the server; and a determination unit that determines whether a time from when the request is made to the server until the content is displayed exceeds a threshold value. In addition, the first acquisition unit and the second acquisition unit may acquire the first log and the second log for a predetermined period before and after the request when the determination unit determines that the threshold value is exceeded. Good.
また、フレームの内容を特定した前記第1ログ及び前記第2ログに基づいて、前記サーバとの間の通信品質を測定する測定部を更に備えることとしてもよい。 Moreover, it is good also as providing the measurement part which measures the communication quality between the said servers based on the said 1st log and the said 2nd log which specified the content of the flame | frame.
本発明の第2の態様においては、無線アクセスポイントを介して有線ネットワークに接続されたサーバと通信する無線端末を、前記サーバとの通信における無線区間の通信ログである第1ログを取得する第1取得部、取得した前記第1ログから、自身が前記サーバに対して送信又は前記サーバから受信したフレームのデータサイズ、及び当該フレームの送受信の順序を参照情報として抽出する第1抽出部、前記第1ログから抽出した前記参照情報に基づいて、前記サーバが記憶する通信ログのうち自身との通信に関する通信ログである第2ログを取得する第2取得部、取得した前記第2ログに基づいて、前記第1ログとして記録された自身が送受信したフレームの内容を特定する特定部として機能させるプログラムを提供する。 In the second aspect of the present invention, a wireless terminal that communicates with a server connected to a wired network via a wireless access point acquires a first log that is a communication log of a wireless section in communication with the server. 1 acquisition unit, a first extraction unit that extracts, as reference information, a data size of a frame that is transmitted to or received from the server, and an order of transmission / reception of the frame from the acquired first log, Based on the reference information extracted from the first log, a second acquisition unit that acquires a second log that is a communication log relating to communication with itself among communication logs stored by the server, and based on the acquired second log Thus, a program is provided that functions as a specifying unit that specifies the content of the frame transmitted and received by itself recorded as the first log.
本発明の第3の態様においては、無線アクセスポイントを介して有線ネットワークに接続されたサーバと通信する無線端末に関する通信ログを取得する通信ログ取得方法であって、前記サーバとの通信における無線区間の通信ログである第1ログを取得するステップと、取得した前記第1ログから、前記無線端末が前記サーバに対して送信又は前記サーバから受信したフレームのデータサイズ、及び当該フレームの送受信の順序を参照情報として抽出するステップと、前記第1ログから抽出した前記参照情報に基づいて、前記サーバが記憶する通信ログのうち前記無線端末との通信に関する通信ログである第2ログを取得するステップと、取得した前記第2ログに基づいて、前記第1ログにおけるフレームの内容を特定するステップと、を含む通信ログ取得方法を提供する。 According to a third aspect of the present invention, there is provided a communication log acquisition method for acquiring a communication log related to a wireless terminal that communicates with a server connected to a wired network through a wireless access point, wherein the wireless section is in communication with the server. Acquiring a first log that is a communication log of the data, a data size of a frame that the wireless terminal has transmitted to or received from the server from the acquired first log, and an order of transmission and reception of the frame And acquiring a second log, which is a communication log related to communication with the wireless terminal, among communication logs stored by the server, based on the reference information extracted from the first log. And specifying the content of the frame in the first log based on the acquired second log. To provide a communication log acquisition method.
本発明によれば、無線区間及び有線区間の通信ログを適切に特定することができる。 ADVANTAGE OF THE INVENTION According to this invention, the communication log of a radio | wireless area and a wired area can be specified appropriately.
[無線端末1の概要]
初めに、図1を参照して、無線端末1の概要について説明する。図1は、無線端末1を含む通信システムSの構成を示す図である。図1に示すように、通信システムSでは、無線端末1は、無線アクセスポイント4を介してサーバ3と通信する。無線端末1及び無線アクセスポイント4間は、無線で通信する無線区間であり、無線アクセスポイント4及びサーバ3間は、有線で通信する有線区間である。
無線区間には、無線モニタ装置2が設けられており、無線区間における通信内容を示す通信ログ200を取得する。一方、有線区間における通信内容を示す通信ログ300は、サーバ3において管理される。
[Overview of wireless terminal 1]
First, an outline of the
A
無線区間の通信ログ200は、WPA2により暗号化されている場合には、通信される信号が上り/下りであることや当該信号のデータサイズ等は分かるものの、IPレイヤ以上が見えず、通信される信号の内容(例えば、下り信号が動画データであることやテキストデータであること等)がわからない。
一方、有線区間の通信ログ300は、サーバ3側で管理しているため、通信される信号の内容は分かるものの、無線端末1がプロキシサーバを介してサーバ3と通信している場合、サーバ3から見えるアドレスが無線端末1のアドレスと異なるため、対象の無線端末1に関する通信ログ300を適切に抽出することができない。
When the
On the other hand, since the
この点、無線端末1では、無線区間の通信ログ200と有線区間の通信ログ300とを紐づけることで、無線区間の通信ログ200の内容を把握可能にするとともに、サーバ3で管理される通信ログの中から無線端末1に関する通信ログ300を適切に抽出する。
以下、無線端末1の具体的な構成について図面を参照して説明する。
In this regard, in the
Hereinafter, a specific configuration of the
[無線端末1の構成]
図2は、無線端末1、無線モニタ装置2及びサーバ3の機能構成を示すブロック図である。無線端末1は、無線アクセスポイント4を介して無線通信可能な任意の端末装置であり、例えば、携帯電話、スマートフォン、ゲーム機、パーソナルコンピュータ等である。無線端末1は、無線モニタ装置2及びサーバ3と有線又は無線を介して接続される。
無線モニタ装置2は、無線区間(無線端末1及び無線アクセスポイント4間)で送受信される信号をモニタし、当該信号のMACレイヤのログをキャプチャする。サーバ3は、無線端末1に対してWeb閲覧等の所定のサービスを提供する。
[Configuration of wireless terminal 1]
FIG. 2 is a block diagram illustrating functional configurations of the
The
図2に示すように、無線端末1は、通信部11と、表示部12と、記憶部13と、制御部14と、を含んで構成される。
通信部11は、送信アンテナ及び受信アンテナを含んで構成され、制御部14から出力された信号を変調してRF(Radio Frequency)信号を生成し、送信アンテナを介して無線アクセスポイント4等の外部機器に対して無線送信する。また、通信部11は、受信アンテナを介して受信したRF信号を復調して制御部14に出力する。
As shown in FIG. 2, the
The
表示部12は、液晶ディスプレイや有機EL(Electro-Luminescence)ディスプレイ等により構成され、制御部14の制御に基づいて様々な情報、例えば、サーバ3が提供するサービス内容を表示する。
記憶部13は、ROM及びRAM等のメモリ又はハードディスク等の記憶媒体である。記憶部13は、制御部14を機能させるためのプログラム及び制御部14が動作する際に生成されるデータを記憶する。
The
The
制御部14は、例えば、CPUにより構成され、記憶部13に記憶されている各種プログラムを実行することにより、判定部141、第1取得部142、第1抽出部143、第2取得部144、特定部145及び測定部146として機能する。
The
判定部141は、サーバ3との通信において、ユーザが通信品質の劣化を感じる程度の遅延が生じたか否かを判定する。一例として、判定部141は、サーバ3に対して所定のサービスを要求してから当該サービス内容が表示部12に表示されるまでの時間が閾値を超えたか否かを判定する。
The determination unit 141 determines whether or not a delay has occurred in the communication with the
第1取得部142は、判定部141が閾値を超えたと判定すると、サーバ3との通信における無線区間の通信ログ200を取得する。具体的には、第1取得部142は、無線モニタ装置2に対して、遅延が生じた要求を行った前後所定期間の通信ログを要求し、当該通信ログを通信ログ200として無線モニタ装置2から取得する。
このように、第1取得部142は、遅延が生じた期間、即ち、ユーザが通信品質の劣化を感じる時間粒度に応じた期間の通信ログ200を取得する。
If the determination unit 141 determines that the threshold value has been exceeded, the
Thus, the
第1抽出部143は、取得した通信ログ200から、無線端末1がサーバ3に送信又はサーバ3から受信したフレームのデータサイズ、及び当該フレームの送受信の順序を参照情報として抽出する。
The
ここで、図3は、第1取得部142が取得した通信ログ200の一例を示す。なお、図3では、横軸として無線端末1がフレームを送受信した順番を採用しているが、無線端末1がフレームを送受信した時刻を用いることとしてもよい。
無線モニタ装置2は、無線区間で送受信される信号のMACレイヤのログをキャプチャすることができるため、図3に示すように、通信ログ200からは、MACアドレスで特定される無線端末1及びサーバ3間で通信されるフレームのデータサイズやアップリンク/ダウンリンクの種別を把握することができる。他方、IPレイヤ以上は暗号化されているため、通信ログ200からは、通信されるフレームの内容までは把握できない。
Here, FIG. 3 shows an example of the
Since the
図3の参照情報201に示すように、第1抽出部143は、通信ログ200から、通信順序に対応付けて、上り/下りの種別及びデータサイズを抽出する。第1抽出部143が抽出した参照情報201は、無線区間の通信ログ200と有線区間の通信ログ300とを紐づけるために用いられる。
As illustrated in the
図2に戻り、第2取得部144は、判定部141が閾値を超えたと判定すると、通信ログ200から抽出した参照情報201(アップ/ダウンの種別、データサイズ、順序)に基づいて、サーバ3が記憶する通信ログ(より詳細には、遅延が生じた要求を行った前後所定期間の通信ログ)のうち無線端末1との通信に関する通信ログ300をサーバ3から取得する。
サーバ3は、自身と通信する機器との間の通信ログを記憶している。ここで、図4(A)に示すように、サーバ3との通信にプロキシサーバが介在している場合、サーバ3から見えるアドレスは、対象の無線端末1ではなくプロキシサーバのアドレスになってしまうため、サーバ3は、対象の無線端末1を特定することができない。
Returning to FIG. 2, when the
The
一方、無線区間の通信ログ200の傾向(送受信の順序及びデータサイズ)と有線区間の通信ログ300の傾向とは対応関係にあるため、第2取得部144は、無線区間の傾向を示す参照情報201を用いてサーバ3が記憶する通信ログを絞り込み、対象の無線端末1の通信ログ300のみを取得する。
なお、このような絞込は、無線端末1から通信ログの要求を受けたサーバ3側で行うこととしてもよく、無線端末1側で行うこととしてもよい。この点、本実施形態では、無線端末1側で絞り込みを行うため、第2取得部144は、第3取得部147及び第2抽出部148を含んで構成される。
On the other hand, since the tendency of the
Note that such narrowing may be performed on the
第3取得部147は、サーバ3が記憶する通信ログのうち、無線端末1に関連するアドレスを送信元又は送信先とする通信ログをサーバ3から取得する。例えば、図4(A)のようなネットワーク構成である場合、対象の無線端末1は、プロキシサーバ「Proxy1」を介してサーバ3にアクセスする。そこで、第3取得部147は、図4(B)に示す全通信ログ301のうちの送信元又は送信先を「Proxy1」とする通信ログ302をサーバ3から取得する。
なお、プロキシサーバ「Proxy1」には、アクセスポイント「AP1」「AP2」が接続され、また、アクセスポイント「AP1」「AP2」には複数の無線端末1が接続されるため、全通信ログ301から通信ログ302への絞り込みだけでは、対象の無線端末1の通信ログ300を絞り込むことはできない。
The
Since the proxy servers “Proxy1” are connected to the access points “AP1” and “AP2”, and the access points “AP1” and “AP2” are connected to the plurality of
第2抽出部148は、無線区間の傾向を示す参照情報201を用いて通信ログ302を更に絞り込み、プロキシサーバ「Proxy1」を通信相手とする通信ログ302から、サーバ3と対象の無線端末1との通信に関する通信ログ300を抽出する。具体的には、第2抽出部148は、参照情報201から特定される無線区間の通信ログ200の傾向(送受信の順序及びデータサイズ)と対応する有線区間の通信ログを通信ログ300として抽出する。
The
図5は、全通信ログ301を送信元や送信先及び参照情報201により絞り込んだ結果得られる、サーバ3と対象の無線端末1との間の通信に関する通信ログ300を示す図である。なお、図5では、無線端末1がWebを閲覧している際の通信ログを示している。サーバ3側ではIPレイヤ以上もキャプチャできるため、通信ログ300からは通信される信号の内容が分かる。図5に示す例では、無線端末1とサーバ3との間でテキストデータ、CSSデータ、画像データの順に要求及び応答が行われていることが分かる。
FIG. 5 is a diagram illustrating a
図2に戻り、特定部145は、第2取得部144が取得した有線区間の通信ログ300に基づいて、無線区間の通信ログ200として記録された無線端末1が送受信したフレームの内容を特定する。具体的には、特定部145は、通信ログ200と通信ログ300とを送信/受信の種別やデータサイズに基づいて1対1で対応付け、通信ログ300から得られるIPレイヤ以上の内容に基づいて、無線区間で送受信したフレームの夫々の内容を特定する。
図6は、特定部145が夫々のフレームの内容を特定した通信ログ200Aの一例を示す図である。図3の通信ログ200と比較して、図6の通信ログ200Aでは、送受信したデータフレームの内容が特定できていることが分かる。
Returning to FIG. 2, the
FIG. 6 is a diagram illustrating an example of the
図2に戻り、測定部146は、フレームの内容を特定した通信ログ200A、通信ログ300及びその他の通信ログに基づいて、サーバ3と無線端末1との間の通信品質を測定し、無線区間及び有線区間の何れで通信品質が劣化したか等を検出する。一例として、無線区間で通信品質が劣化した場合、無線の混雑や隠れ端末等の影響により、無線端末1の応答時間の遅延や、無線端末1からのフレーム再送が多発する。また、有線区間で通信品質が劣化した場合には、サーバ3の過負荷やキューからのあふれ等の影響により、サーバ3の応答時間の遅延や、サーバ3からのTCPの再送が多発する。測定部146では、これら問題を、通信ログ200A、通信ログ300及びその他の通信ログに基づいて検出し、これら問題が発生したタイミングを、特定部145が特定した通信ログ200Aの内容等から特定する。
Returning to FIG. 2, the
無線モニタ装置2は、ログ抽出部21を含んで構成される。
ログ抽出部21は、無線区間で送受信される信号をモニタし、当該信号のMACレイヤのログをキャプチャする。また、ログ抽出部21は、無線端末1の第1取得部142からの要求に応じて、当該要求を受けたタイミング前後の所定期間の通信ログ200を抽出する。具体的には、ログ抽出部21は、要求のあった無線端末1のMACアドレスに基づいて対象の無線端末1を特定し、当該無線端末1の無線区間の通信ログ200を抽出する。ログ抽出部21は、抽出した通信ログ200を要求のあった無線端末1に対して直接又は無線アクセスポイント4を介して間接的に送信する。
The
The log extraction unit 21 monitors a signal transmitted and received in a wireless section and captures a MAC layer log of the signal. Further, in response to a request from the
サーバ3は、ログ抽出部31を含んで構成される。
ログ抽出部31は、サーバ3が管理する有線区間の通信ログの中から対象の無線端末1に対して送信する通信ログを抽出し、当該無線端末1に対して送信する。なお、無線区間の通信ログ200と紐づける有線区間の通信ログ300は、サーバ3が管理する通信ログを、参照情報201(アップ/ダウンの種別、データサイズ、順序)により2段階に絞り込んだものである。ログ抽出部31は、無線端末1に対して絞り込む前の通信ログを送信することとしてもよく、任意の絞り込みを行った後の通信ログを送信することとしてもよい。
The
The
[通信システムSの処理]
以上、通信システムSを構成する無線端末1、無線モニタ装置2及びサーバ3の機能構成について説明した。続いて、図7を参照して、通信システムSの処理の流れについて説明する。なお、図7に示す処理は、無線アクセスポイント4を介してサーバ3と通信している無線端末1が、サーバ3の提供するサービスを利用している状況で行われる処理である。
[Processing of communication system S]
The functional configurations of the
初めに、ステップS1において、無線端末1の判定部141は、サーバ3に対して要求してからサービス内容が表示されるまでの時間が閾値を超えたか否かを判定する。この判定がYESのとき、判定部141は、遅延が生じたと判定し、処理をステップS2に移す。他方、この判定がNOのとき、判定部141は、遅延は生じていないと判定し、処理を終了する。
First, in step S <b> 1, the determination unit 141 of the
続いて、ステップS2において、無線端末1の第1取得部142は、無線モニタ装置2に対して遅延が生じた期間の無線区間の通信ログを要求する。この要求を受けると、ステップS3において、無線モニタ装置2のログ抽出部21は、対象の無線端末1の無線区間の通信ログ200を抽出し、当該無線端末1に対して送信する。
Subsequently, in step S <b> 2, the
続いて、ステップS4において、無線端末1の第1抽出部143は、無線モニタ装置2から取得した通信ログ200を解析し、参照情報201(アップ/ダウンの種別、データサイズ、順序)を抽出する。続いて、ステップS5において、無線端末1の第2取得部144は、抽出した参照情報201に基づいて、サーバ3に対して遅延が生じた期間の有線区間の通信ログを要求する。
Subsequently, in step S4, the
続いて、ステップS6において、サーバ3のログ抽出部31は、無線端末1の要求に基づいて有線区間の通信ログを抽出し、無線端末1に対して送信する。無線区間及び有線区間の通信ログ200,300を取得すると、ステップS7において、無線端末1の特定部145は、通信ログ200と通信ログ300とを送信/受信の種別やデータサイズに基づいて1対1で対応付け、無線区間で送受信したフレームの夫々の内容を特定する。
Subsequently, in step S <b> 6, the
続いて、無線端末1の測定部146は、ステップS8において、通信ログ200A、通信ログ300及びその他の通信ログに基づいて図8で後述するシーケンスを生成し、続いて、ステップS9において、通信品質の劣化箇所を検出するとともに、無線端末1のユーザに適宜通知して、処理を終了する。
Subsequently, in step S8, the
ここで、ステップS8において生成するシーケンスの一例を図8に示す。図8(A)及び図8(B)は、無線区間の通信品質が劣化している場合のシーケンス例であり、図8(A)では、無線区間の混雑により無線区間の通信品質が劣化している例を示し、図8(B)は、隠れ端末により無線区間の通信品質が劣化している例を示す。また、図8(C)及び図8(D)は、有線区間の通信品質が劣化している場合のシーケンス例であり、図8(C)では、サーバ3の過負荷により有線区間の通信品質が劣化している例を示し、図8(D)では、有線区間の混雑により有線区間の通信品質が劣化している例を示す。
Here, an example of the sequence generated in step S8 is shown in FIG. FIGS. 8A and 8B are sequence examples when the communication quality of the wireless section is deteriorated. In FIG. 8A, the communication quality of the wireless section deteriorates due to congestion of the wireless section. FIG. 8B shows an example in which the communication quality in the wireless section is degraded by the hidden terminal. 8C and 8D are sequence examples when the communication quality of the wired section is deteriorated. In FIG. 8C, the communication quality of the wired section is caused by an overload of the
図8(A)に示す例では、無線端末1がACK応答する前に行ったキャリアセンスの結果、他の無線端末が通信中であることが分かったためACK応答が遅れたことを示している。このような遅延は、無線区間の通信ログ200Aを参照して、無線端末1が送受信した内容を特定し、サーバ3からの送信を受信した時刻とACK応答を送信した時刻との差を見ることで把握することができる。
In the example shown in FIG. 8A, the result of carrier sense performed before the
図8(B)に示す例では、無線端末1が行ったキャリアセンスでは発見できない隠れ端末が存在している結果、フレームの再送が増加していることを示している。このようなフレームの再送は、無線区間の他の通信ログにおいて再送フラグの有無を検出することで把握することができる。また、フレームの再送と無線区間の通信ログ200Aとを紐づけることで、再送が増加した際の通信内容(例えば、Webページを要求するタイミングで再送が増加した等)を把握することができる。
In the example illustrated in FIG. 8B, as a result of the presence of hidden terminals that cannot be found by carrier sense performed by the
図8(C)に示す例では、サーバ3の負荷が増大した結果、無線端末1からの要求に対する応答が遅れたことを示している。このような遅延は、有線区間の通信ログ300を参照して、サーバ3が要求を受けた時刻と応答を返した時刻との差を見ることで把握することができる。
In the example illustrated in FIG. 8C, the response to the request from the
図8(D)に示す例では、有線区間が混雑している結果、サーバ3の送信キューがあふれウィンドウサイズの低下が繰り返されていることを示している。このような状況は、有線区間の通信ログ300を参照して、サーバ3からTCPの再送が発生しているか否かを見ることで把握することができる。
In the example shown in FIG. 8D, it is shown that the transmission queue of the
[無線端末1の効果]
以上説明した本実施形態によれば、サーバ3と通信する無線端末1において、無線区間及び有線区間の通信ログを適切に特定することができる。
無線端末1がプロキシサーバを介してサーバ3にアクセスする場合、サーバ3から見ると、通信相手が無線端末1であることを把握することができず、対象の無線端末1の通信ログ300を特定することはできない。この点、本実施形態では、無線区間の通信ログ200から抽出される参照情報201(上り/下りの種別、データサイズ、順序)に基づいて、有線区間の全通信ログ301を絞り込み、対象の無線端末1の通信ログ300を特定する。その結果、プロキシサーバを介し、アドレスから対象の無線端末1を把握できない場合であっても、対象の無線端末1の有線区間の通信ログ300を適切に特定することができる。
[Effect of wireless terminal 1]
According to the present embodiment described above, the
When the
また、無線LAN通信がWPA2で暗号化されているケースでは、無線区間の通信ログの内容を具体的に把握することはできない。この点、本実施形態では、特定した通信ログ300を無線区間の通信ログ200に1対1で対応付けることで、通信ログ300の内容(図5における「Info」欄参照)から無線区間で送受信したフレームの夫々の内容を特定する。これにより、無線端末1自身が通信ログをキャプチャする機能を有しておらず、暗号化された内容をキャプチャする無線モニタ装置2を用いなければならない場合であっても、無線区間の通信ログ200Aを適切に特定することができる。
In addition, in the case where the wireless LAN communication is encrypted with WPA2, the contents of the communication log in the wireless section cannot be specifically grasped. In this regard, in the present embodiment, the identified
また、無線端末1では、サーバ3に対して要求してからサービス内容が表示されるまでに遅延が生じた場合に、無線区間の通信ログ200A及び有線区間の通信ログ300を取得する。これにより、ユーザが通信品質の劣化を感じる時間粒度に応じた期間の通信ログ200A及び通信ログ300を適切に特定することができる。
また、無線端末1では、無線区間及び有線区間の通信ログを適切に特定すると、これらの通信ログを用いて通信品質を測定し、品質が劣化した区間やその原因を特定する。一例として、無線端末1は、通信ログ200A、通信ログ300及びその他の通信ログに基づき生成される図8に例示するシーケンスを参照して、無線区間及び有線区間の何れで品質が劣化したか等を特定する。この結果を、無線端末1のユーザに通知することで、無線端末1では、ユーザが実際に感じる通信品質を適切に測定することができる。
Further, the
In addition, when the
以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更又は改良を加えることが可能であることが当業者に明らかである。特に、装置の分散・統合の具体的な実施形態は以上に図示するものに限られず、その全部又は一部について、種々の付加等に応じて、又は、機能負荷に応じて、任意の単位で機能的又は物理的に分散・統合して構成することができる。 As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above embodiment. In particular, the specific embodiments of the distribution / integration of the devices are not limited to those illustrated above, and all or a part thereof may be added in arbitrary units according to various additions or according to functional loads. It can be configured functionally or physically distributed and integrated.
例えば、上記実施形態では、無線区間の通信として無線LAN通信を例にとり説明しているが、本発明は、無線区間の通信ログと有線区間の通信ログとを紐づけることで、無線区間及び有線区間の通信ログを適切に特定するものであり、無線区間の通信は無線LAN通信に限られるものではない。 For example, in the above embodiment, the wireless LAN communication is described as an example of the communication in the wireless section. However, the present invention relates to the wireless section and the wired section by associating the communication log in the wireless section and the communication log in the wired section. The communication log in the section is appropriately specified, and the communication in the wireless section is not limited to the wireless LAN communication.
1・・・無線端末
11・・・通信部
12・・・表示部
13・・・記憶部
14・・・制御部
141・・・判定部
142・・・第1取得部
143・・・第1抽出部
144・・・第2取得部
145・・・特定部
146・・・測定部
147・・・第3取得部
148・・・第2抽出部
2・・・無線モニタ装置
3・・・サーバ
4・・・無線アクセスポイント
DESCRIPTION OF
Claims (6)
前記サーバとの通信における無線区間の通信ログである第1ログを取得する第1取得部と、
取得した前記第1ログから、自身が前記サーバに対して送信又は前記サーバから受信したフレームのデータサイズ、及び当該フレームの送受信の順序を参照情報として抽出する第1抽出部と、
前記第1ログから抽出した前記参照情報に基づいて、前記サーバが記憶する通信ログのうち自身との通信に関する通信ログである第2ログを取得する第2取得部と、
取得した前記第2ログに基づいて、前記第1ログとして記録された自身が送受信したフレームの内容を特定する特定部と、
を備える無線端末。 A wireless terminal that communicates with a server connected to a wired network via a wireless access point,
A first acquisition unit that acquires a first log that is a communication log of a wireless section in communication with the server;
A first extraction unit that extracts, as reference information, a data size of a frame that is transmitted to the server or received from the server and an order of transmission and reception of the frame from the acquired first log;
Based on the reference information extracted from the first log, a second acquisition unit that acquires a second log that is a communication log related to communication with itself among communication logs stored by the server;
Based on the acquired second log, a specifying unit that specifies the content of a frame transmitted and received by the self recorded as the first log;
A wireless terminal comprising:
前記サーバが記憶する通信ログのうち、自身に関連するアドレスを送信元又は送信先とする通信ログを前記サーバから取得する第3取得部と、
取得した前記通信ログから、前記参照情報に基づいて、前記サーバと自身との通信に関する前記第2ログを抽出する第2抽出部と、
を更に備える請求項1に記載の無線端末。 The second acquisition unit includes
Of the communication log stored by the server, a third acquisition unit that acquires from the server a communication log having an address related to itself as a transmission source or transmission destination
A second extraction unit that extracts the second log related to communication between the server and itself based on the reference information from the acquired communication log;
The wireless terminal according to claim 1, further comprising:
前記サーバに対して要求してから前記内容が表示されるまでの時間が閾値を超えたか否かを判定する判定部と、を更に備え、
前記第1取得部及び前記第2取得部は、前記判定部が前記閾値を超えたと判定すると、前記要求前後の所定期間の前記第1ログ及び前記第2ログを取得する、
請求項1又は2に記載の無線端末。 A display unit for displaying content according to communication with the server;
A determination unit that determines whether a time from when the request is made to the server until the content is displayed exceeds a threshold value,
When the first acquisition unit and the second acquisition unit determine that the determination unit exceeds the threshold, the first acquisition unit and the second acquisition unit acquire the first log and the second log for a predetermined period before and after the request,
The wireless terminal according to claim 1 or 2.
を更に備える請求項1から3の何れか1項に記載の無線端末。 A measurement unit for measuring communication quality with the server based on the first log and the second log specifying the content of a frame;
The wireless terminal according to any one of claims 1 to 3, further comprising:
前記サーバとの通信における無線区間の通信ログである第1ログを取得する第1取得部、
取得した前記第1ログから、自身が前記サーバに対して送信又は前記サーバから受信したフレームのデータサイズ、及び当該フレームの送受信の順序を参照情報として抽出する第1抽出部、
前記第1ログから抽出した前記参照情報に基づいて、前記サーバが記憶する通信ログのうち自身との通信に関する通信ログである第2ログを取得する第2取得部、
取得した前記第2ログに基づいて、前記第1ログとして記録された自身が送受信したフレームの内容を特定する特定部、
として機能させるプログラム。 A wireless terminal that communicates with a server connected to a wired network via a wireless access point,
A first acquisition unit that acquires a first log that is a communication log of a wireless section in communication with the server;
A first extraction unit that extracts, from the acquired first log, as reference information, a data size of a frame transmitted to the server or received from the server, and a transmission / reception order of the frame;
Based on the reference information extracted from the first log, a second acquisition unit that acquires a second log that is a communication log related to communication with itself among communication logs stored by the server;
Based on the acquired second log, a specifying unit that specifies the content of the frame recorded and transmitted by the first log,
Program to function as.
前記サーバとの通信における無線区間の通信ログである第1ログを取得するステップと、
取得した前記第1ログから、前記無線端末が前記サーバに対して送信又は前記サーバから受信したフレームのデータサイズ、及び当該フレームの送受信の順序を参照情報として抽出するステップと、
前記第1ログから抽出した前記参照情報に基づいて、前記サーバが記憶する通信ログのうち前記無線端末との通信に関する通信ログである第2ログを取得するステップと、
取得した前記第2ログに基づいて、前記第1ログにおけるフレームの内容を特定するステップと、
を含む通信ログ取得方法。 A communication log acquisition method for acquiring a communication log related to a wireless terminal communicating with a server connected to a wired network via a wireless access point,
Obtaining a first log that is a communication log of a wireless section in communication with the server;
Extracting from the acquired first log as reference information the data size of the frame transmitted to or received from the server by the wireless terminal and the transmission / reception order of the frame;
Based on the reference information extracted from the first log, obtaining a second log that is a communication log related to communication with the wireless terminal among communication logs stored by the server;
Identifying the contents of the frame in the first log based on the acquired second log;
Communication log acquisition method including
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015059634A JP2016181745A (en) | 2015-03-23 | 2015-03-23 | Wireless terminal, program, and communication log acquisition method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015059634A JP2016181745A (en) | 2015-03-23 | 2015-03-23 | Wireless terminal, program, and communication log acquisition method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2016181745A true JP2016181745A (en) | 2016-10-13 |
Family
ID=57132716
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015059634A Pending JP2016181745A (en) | 2015-03-23 | 2015-03-23 | Wireless terminal, program, and communication log acquisition method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2016181745A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018148485A (en) * | 2017-03-08 | 2018-09-20 | 日本電気株式会社 | Wireless communication device, wireless communication method, relay device, and program |
| JP2019013493A (en) * | 2017-07-07 | 2019-01-31 | アイリスオーヤマ株式会社 | Dehumidifier |
| JP2023058924A (en) * | 2021-10-14 | 2023-04-26 | 株式会社リコー | Monitoring device, communication monitoring method and program |
-
2015
- 2015-03-23 JP JP2015059634A patent/JP2016181745A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018148485A (en) * | 2017-03-08 | 2018-09-20 | 日本電気株式会社 | Wireless communication device, wireless communication method, relay device, and program |
| JP7004377B2 (en) | 2017-03-08 | 2022-01-21 | 日本電気株式会社 | Wireless communication device, wireless communication method, relay device and program |
| JP2019013493A (en) * | 2017-07-07 | 2019-01-31 | アイリスオーヤマ株式会社 | Dehumidifier |
| JP2023058924A (en) * | 2021-10-14 | 2023-04-26 | 株式会社リコー | Monitoring device, communication monitoring method and program |
| JP7775626B2 (en) | 2021-10-14 | 2025-11-26 | 株式会社リコー | Monitoring device, communication monitoring method, and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9253231B2 (en) | Retrieving and caching adaptive bitrate stream segments based on network congestion | |
| KR102284050B1 (en) | Method and apparatus for controlling traffic of electronic device in wireless communication system | |
| US8880689B2 (en) | Apparatus, mobile terminal, and method to estimate quality of experience of application | |
| JP5865221B2 (en) | Sensor data collection system and gateway control method | |
| CN116170099A (en) | Data transmission method, terminal and network side equipment | |
| EP3682595B1 (en) | Obtaining local area network diagnostic test results | |
| JP2015520576A (en) | Method and apparatus for network traffic offloading | |
| US10743252B2 (en) | Method for identifying access point and hotspot and terminal | |
| CN110832911B (en) | Method, apparatus and system for providing wireless network speed information | |
| EP2739106A3 (en) | Method, apparatus, and computer program product for signaling for sectorized beam operation in wireless networks | |
| US20170041817A1 (en) | Communication management apparatus, wireless terminal, and non-transitory machine-readable storage medium | |
| WO2014030067A4 (en) | Systems and methods for measuring available bandwidth in mobile telecommunications networks | |
| CN103891383A (en) | Profiling wi-fi channel congestion and interference to optimize channel selection | |
| KR101491639B1 (en) | Method for determining type of network and method for providing contents by using the same | |
| US20170280342A1 (en) | Measurement apparatus, measurement method, and communication system | |
| JP2016181745A (en) | Wireless terminal, program, and communication log acquisition method | |
| US20150250016A1 (en) | Managing radio resource control (rrc) connections based on radio bearer attributes | |
| US20240397359A1 (en) | Examining latency in communications networks | |
| JP6382530B2 (en) | Communication terminal and program | |
| JP2019022052A (en) | Packet classification program, packet classification method and packet classification device | |
| WO2020085252A1 (en) | Wireless lan communication system, access point communication quality determination method, and information collection server | |
| JP2016092656A (en) | Quality degradation analysis method, quality degradation analyzer, and network system | |
| EP3167665B1 (en) | Mobility determination | |
| JP2013157742A (en) | Monitoring device, program and monitoring method | |
| US20150326861A1 (en) | Mobile electronic device and video compensation method thereof |