JP2019180012A - Communication device, communication method, and communication system - Google Patents

Communication device, communication method, and communication system Download PDF

Info

Publication number
JP2019180012A
JP2019180012A JP2018067975A JP2018067975A JP2019180012A JP 2019180012 A JP2019180012 A JP 2019180012A JP 2018067975 A JP2018067975 A JP 2018067975A JP 2018067975 A JP2018067975 A JP 2018067975A JP 2019180012 A JP2019180012 A JP 2019180012A
Authority
JP
Japan
Prior art keywords
communication
ssid
unit
log information
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.)
Granted
Application number
JP2018067975A
Other languages
Japanese (ja)
Other versions
JP2019180012A5 (en
JP6902766B2 (en
Inventor
洋昭 兼田
Hiroaki Kaneda
洋昭 兼田
大兒 唐鎌
Daigo Karakama
大兒 唐鎌
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.)
Silex Technology Inc
Original Assignee
Silex Technology Inc
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 Silex Technology Inc filed Critical Silex Technology Inc
Priority to JP2018067975A priority Critical patent/JP6902766B2/en
Publication of JP2019180012A publication Critical patent/JP2019180012A/en
Publication of JP2019180012A5 publication Critical patent/JP2019180012A5/ja
Application granted granted Critical
Publication of JP6902766B2 publication Critical patent/JP6902766B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

To provide a communication system capable of easily collecting realtime log information after occurrence of fault.SOLUTION: A communication system collecting log information for analyzing communication fault occurring between other communication device include a radio communication unit for acquiring a radio frame originated around the own device, and acquiring a SSID stored in the radio frame, a storage section for storing a specific SSID, and temporarily holding the log information of radio communication performed between other communication device, a determination part for determining whether or not the specific SSID matches the SSID acquired by the radio communication unit, a frame generation section for generating a beacon frame storing the log information in a prescribed region in the radio frame, and a communication control section for broadcasting the beacon frame, generated in the frame generation section, via the radio communication unit, only when a determination is made that SSIDs match in the determination part.SELECTED DRAWING: Figure 4

Description

本発明は、無線通信における通信ログデータ収集に関する。   The present invention relates to communication log data collection in wireless communication.

近年、無線LANの普及に伴い、無線通信装置が室内、構内などに多数設置されるようになっている。無線通信は、有線通信などに比べ、装置同士の接続を容易に確認できない。有線通信の装置の間には有線ケーブルで物理的な装置同士の接続は確認できるが、目に見えない無線通信においては、装置同士が接続し無線通信を行われているか否かを確認するのは困難である。特に無線通信に障害が発生した場合はなおさらである。   In recent years, with the widespread use of wireless LANs, a large number of wireless communication devices are installed indoors or on the premises. Wireless communication cannot easily check the connection between devices compared to wired communication. You can check the connection between physical devices with wired cable between wired communication devices, but in invisible wireless communication, check whether the devices are connected and performing wireless communication. It is difficult. This is especially true when a failure occurs in wireless communication.

一般的には、無線通信装置における様々な障害(例えば、通信エラー、装置の一部故障、ソフトウェアのバグなど)の発生時に、その原因を特定するため、ログ情報を収集し解析する方法が利用される。   Generally, a method of collecting and analyzing log information is used to identify the cause of various failures in wireless communication devices (for example, communication errors, partial device failures, software bugs, etc.). Is done.

ログ情報は、無線通信装置の製造会社、当該装置を用いて通信システムを構築する通信業者など、障害を解析することができる者によって利用され、通常、エンドユーザが扱うことはない。そのため、ログ情報を収集するための回路は、無線通信装置内の回路上に付加的に設けられていることも多く、ログ情報を解析する者は、ログ情報を収集するために装置の筐体を開けて、内部の基板に直接、ケーブル(例えばシリアルケーブルなど)を接続して、ログ情報を収集する必要がある。   Log information is used by a person who can analyze a failure, such as a manufacturer of a wireless communication device or a communication company that builds a communication system using the device, and is usually not handled by an end user. For this reason, a circuit for collecting log information is often additionally provided on a circuit in the wireless communication device, and a person who analyzes the log information can use the housing of the device to collect the log information. And connecting a cable (for example, a serial cable) directly to the internal substrate to collect log information.

また、ログ情報を収集することは、障害を解析するために有益ではあるが、特に組み込み用途のモジュール回路(小型無線モジュール回路など)では、リソース(記憶媒体、メモリ)容量には限りがあり、一定期間のログ情報を保存しておくことは難しい。   In addition, collecting log information is useful for analyzing failures, but the resource (storage medium, memory) capacity is limited, especially in module circuits (such as small wireless module circuits) for embedded applications. It is difficult to store log information for a certain period.

また、例えば、ユーザが所有する製品からログ情報を収集する必要がある場合には、筐体を開けて配線を行う作業は容易に行えるとは言い難い。   Also, for example, when log information needs to be collected from a product owned by a user, it is difficult to say that the work of opening the housing and wiring is easy.

ところで、無線通信装置が、障害の発生した(異常検出した)ことを契機にログ情報を自装置以外に通知できる技術も開示されている。特許文献1には、画像形成装置における異常検出時のログ情報を保存し、近距離無線通信(例えばNFC(Near Field Communication)通信)により外部に簡便に通知する技術が記載されている。また、特許文献1に開示の技術を利用すれば、装置の筐体を開けて、ログ情報の収集を行わなくてもよい。   By the way, a technique is disclosed in which a wireless communication device can notify log information to devices other than its own device when a failure occurs (abnormality is detected). Japanese Patent Application Laid-Open No. 2004-133867 describes a technique for storing log information when an abnormality is detected in an image forming apparatus and simply notifying the outside by short-range wireless communication (for example, NFC (Near Field Communication) communication). Further, if the technique disclosed in Patent Document 1 is used, it is not necessary to collect the log information by opening the housing of the apparatus.

特開2014−149676号公報JP 2014-149676 A

しかしながら、特許文献1が開示する技術では、異常検出時に近距離無線通信を用いて外部へ通知(携帯端末で受信)することができるが、例えばIEEE802.11規格に準拠する無線回路を備える無線通信装置に適用する場合は、当該通信規格と近距離無線通信の規格に準ずる無線回路の両方を備える必要があり、コストが増加する。さらに、NFC通信を利用する場合は、無線通信装置のNFC回路ユニットに携帯端末のNFC回路ユニットを近づける必要があり、無線通信装置が高所やユーザが容易に近づけない場所に設置されていた場合には利便性を損なう。   However, with the technology disclosed in Patent Document 1, it is possible to notify to the outside (received by a mobile terminal) using short-range wireless communication when an abnormality is detected. For example, wireless communication including a wireless circuit compliant with the IEEE 802.11 standard When applied to a device, it is necessary to provide both a communication circuit conforming to the communication standard and a short-range wireless communication standard, which increases costs. Furthermore, when using NFC communication, it is necessary to bring the NFC circuit unit of the portable terminal close to the NFC circuit unit of the wireless communication device, and the wireless communication device is installed in a high place or a place where the user cannot easily approach There is a loss of convenience.

本発明は、上記問題を少なくとも一部を解決するためになされたものであり、障害発生後にリアルタイムなログ情報を容易に収集できる通信システムを提供することを目的とする。   The present invention has been made to solve at least a part of the above-described problems, and an object thereof is to provide a communication system that can easily collect real-time log information after a failure occurs.

本発明の一態様に係る通信装置は、他の通信装置との間で発生する通信障害を解析するためにログ情報を収集する通信システムにおいて、自装置の周囲に発信された無線フレームを取得し、無線フレームに格納されたSSIDを取得する無線通信部と、特定のSSIDを記憶し、かつ他の通信装置との間で行われる無線通信のログ情報を一時保持する記憶部と、特定のSSIDと無線通信部が取得したSSIDとが一致するか否かを判断する判断部と、ログ情報を無線フレーム内の所定の領域に格納したビーコンフレームを生成するフレーム生成部と、判断部においてSSIDが一致していると判断した場合のみ、フレーム生成部で生成されたビーコンフレームを無線通信部を介してブロードキャスト送信する通信制御部とを備える。   A communication apparatus according to an aspect of the present invention acquires a radio frame transmitted to the periphery of the own apparatus in a communication system that collects log information in order to analyze a communication failure that occurs with another communication apparatus. A wireless communication unit that acquires an SSID stored in a wireless frame, a storage unit that stores a specific SSID and temporarily stores log information of wireless communication performed with another communication device, and a specific SSID And the SSID acquired by the wireless communication unit, a frame generation unit that generates a beacon frame in which log information is stored in a predetermined area in the wireless frame, and the determination unit A communication control unit that broadcasts the beacon frame generated by the frame generation unit via the wireless communication unit only when it is determined that they match.

ここに言う他の通信装置との間で行われる無線通信のログ情報には、実際に通信が行える状況での通信記録情報だけでなく、通信を試みる際の動作処理およびその結果に関する情報も含む意味である。上記した構成によれば、通信装置は、自装置の周囲に発信された無線フレームを取得し、その無線フレームに含まれるSSIDと記憶部に記憶する特定のSSIDとが一致した場合には、自装置と通信対象の装置(例えば基地局など)との間で行う無線通信のやり取りや自装置の動作処理などをロギングしたログ情報をビーコンフレームに格納し、自装置の周囲にブロードキャスト送信できる。これにより、ビーコンフレームを取得できる通信端末(例えば、ログ収集端末など)で容易にログ情報を取得できる。   The log information of the wireless communication performed with other communication devices mentioned here includes not only the communication record information in a situation where communication can actually be performed, but also information related to operation processing and the result when attempting communication. Meaning. According to the configuration described above, the communication device acquires a radio frame transmitted around its own device, and when the SSID included in the radio frame matches the specific SSID stored in the storage unit, Log information that logs the exchange of wireless communication performed between a device and a device to be communicated (for example, a base station), the operation processing of the device itself, and the like can be stored in a beacon frame and broadcast to the surroundings of the device itself. Thereby, log information can be easily acquired by a communication terminal (for example, a log collection terminal) that can acquire a beacon frame.

また、通信制御部は生成されたビーコンフレームを送信するときには無線通信部の送信出力を無線通信に使用している送信出力値よりも小さい値であるログ情報送信出力値に設定する。   Further, when transmitting the generated beacon frame, the communication control unit sets the transmission output of the wireless communication unit to a log information transmission output value that is smaller than the transmission output value used for wireless communication.

このように構成すれば、ログ情報を格納したビーコンフレームは、自装置の近傍にのみ送信されることになり、意図しない通信端末で傍受されることを軽減できるため、セキュリティ性が向上する。   If comprised in this way, the beacon frame which stored log information will be transmitted only to the vicinity of an own apparatus, and since it can reduce that it is intercepted by the unintended communication terminal, security property improves.

本発明の一態様に係る通信システムの通信制御方法は、他の通信装置との間で発生する通信障害を解析するためにログ情報を無線端末により収集する通信システムの通信制御方法であって、自装置の周囲に発信された無線フレームを取得し、無線フレームに格納されたSSIDを取得する無線通信ステップと、特定のSSIDを記憶し、かつ他の通信装置との間で行われる無線通信のログ情報を一時保持する記憶ステップと、特定のSSIDと取得したSSIDとが一致するか否かを判断する判断ステップと、ログ情報を無線フレーム内の所定の領域に格納したビーコンフレームを生成する生成ステップと、判断ステップの結果SSIDが一致していると判断した場合のみ、生成されたビーコンフレームを無線端末に向けてブロードキャスト送信する通信制御ステップとを含む。   A communication control method for a communication system according to an aspect of the present invention is a communication control method for a communication system that collects log information by a wireless terminal in order to analyze a communication failure that occurs with another communication device, A wireless communication step for acquiring a wireless frame transmitted around the own device and acquiring an SSID stored in the wireless frame; a wireless communication step for storing a specific SSID and for performing wireless communication with other communication devices; A storage step for temporarily storing log information, a determination step for determining whether or not a specific SSID matches the acquired SSID, and generation for generating a beacon frame in which the log information is stored in a predetermined area in the radio frame Only when it is determined that the SSID matches the result of the step and the determination step, the generated beacon frame is broadcast toward the wireless terminal. And a communication control step of Shin.

このように構成すれば、上記通信装置と同様の効果を奏する。   If comprised in this way, there exists an effect similar to the said communication apparatus.

本発明の一態様に係る通信システムは、通信障害を解析するためにログ情報を収集する通信システムであって、所定のSSIDを格納する無線フレームを送信する送信機と、通信装置であって、自装置の周囲に発信された無線フレームを取得し、無線フレームに格納されたSSIDを取得する無線通信部と、特定のSSIDを記憶し、かつ他の通信装置との間で行われる無線通信にかかるログ情報を一時保持する記憶部と、特定のSSIDと無線通信部が取得したSSIDとが一致するか否かを判断する判断部と、ログ情報をフレーム内の所定の領域に格納したビーコンフレームを生成するフレーム生成部と、判断部においてSSIDが一致していると判断した場合のみ、フレーム生成部で生成されたビーコンフレームを無線通信部を介してブロードキャスト送信する通信制御部とを備える通信装置と、ログ情報が格納されたビーコンフレームを受信するログ収集端末とを備える。   A communication system according to an aspect of the present invention is a communication system that collects log information in order to analyze a communication failure, a transmitter that transmits a radio frame that stores a predetermined SSID, and a communication device, A wireless communication unit that acquires a wireless frame transmitted around its own device, acquires an SSID stored in the wireless frame, stores a specific SSID, and performs wireless communication between other communication devices. A storage unit that temporarily holds the log information, a determination unit that determines whether the specific SSID and the SSID acquired by the wireless communication unit match, and a beacon frame in which the log information is stored in a predetermined area in the frame The beacon frame generated by the frame generation unit is transmitted via the wireless communication unit only when it is determined that the SSID matches with the frame generation unit that generates Comprising a communication apparatus and a communication control unit for transmitting broadcasts, a log collection terminal receiving the beacon frame log information is stored.

このように構成すれば、上記通信装置と同様の効果を奏する。   If comprised in this way, there exists an effect similar to the said communication apparatus.

さらに、本発明の一態様に係る通信システムは、送信機は2種類のSSIDを送信可能であり、通信装置において、記憶部は、予め、デバッグ開始用SSIDとデバッグ終了用SSIDとを記憶しており、通信制御部は、無線通信部が取得したSSIDがデバッグ開始用SSIDに一致すると判断部が判断した場合、フレーム生成部で生成されたビーコンフレームを無線通信部を介してブロードキャスト送信し、無線通信部が取得したSSIDがデバッグ終了用SSIDに一致すると判断部が判断した場合、ブロードキャスト送信を停止する。   Further, in the communication system according to one embodiment of the present invention, the transmitter can transmit two types of SSIDs. In the communication device, the storage unit stores in advance a debug start SSID and a debug end SSID. When the determination unit determines that the SSID acquired by the wireless communication unit matches the debug start SSID, the communication control unit broadcasts and transmits the beacon frame generated by the frame generation unit via the wireless communication unit. When the determination unit determines that the SSID acquired by the communication unit matches the debug end SSID, the broadcast transmission is stopped.

このように構成すれば、通信システムは、通信装置が送信機から送信されるSSIDが記憶部に記憶されたデバッグ開始用SSIDと一致すると、ログ情報をビーコンフレームに格納し通信装置の周囲に向けてブロードキャスト送信する。また、通信装置が送信機から送信されるSSIDが記憶部に記憶されたデバッグ終了用SSIDと一致すると、ビーコンフレームを通信装置の周囲に向けてブロードキャスト送信することを停止する。   With this configuration, the communication system stores the log information in the beacon frame and directs it to the surroundings of the communication device when the SSID transmitted from the transmitter matches the SSID for debug start stored in the storage unit. Broadcast. Further, when the SSID transmitted from the transmitter matches the SSID for debug termination stored in the storage unit, the communication device stops broadcasting the beacon frame toward the periphery of the communication device.

本発明は、障害発生後に簡易な手段で無線通信におけるログ情報を収集できる。   The present invention can collect log information in wireless communication by simple means after a failure occurs.

図1は、本発明の実施の形態に係る通信システムのネットワーク構成を示す模式図である。FIG. 1 is a schematic diagram showing a network configuration of a communication system according to an embodiment of the present invention. 図2は、本発明の実施の形態に係る通信装置のハードウェア構成を示すブロック図である。FIG. 2 is a block diagram showing a hardware configuration of the communication apparatus according to the embodiment of the present invention. 図3は、本発明の実施の形態に係る通信装置の機能構成を示すブロック図である。FIG. 3 is a block diagram showing a functional configuration of the communication apparatus according to the embodiment of the present invention. 図4は、本発明の実施の形態に係る通信装置において障害発生からログ情報を含む無線フレームを送信する一連の処理を示すフロー図である。FIG. 4 is a flowchart showing a series of processes for transmitting a radio frame including log information from the occurrence of a failure in the communication apparatus according to the embodiment of the present invention. 図5は、本発明の実施の形態に係る通信装置によるログ情報を含む無線フレームを送信する場合に行われる通信制御処理を示すフロー図である。FIG. 5 is a flowchart showing a communication control process performed when a radio frame including log information is transmitted by the communication apparatus according to the embodiment of the present invention. 図6は、本発明の実施の形態に係る通信装置によるログ情報を含む無線フレームの構成を示す説明図である。FIG. 6 is an explanatory diagram showing a configuration of a radio frame including log information by the communication device according to the embodiment of the present invention. 図7は、関連技術における通信システムのネットワーク構成を示す模式図である。FIG. 7 is a schematic diagram illustrating a network configuration of a communication system in the related art.

以下、実施の形態について、図面を参照しながら具体的に説明する。   Hereinafter, embodiments will be specifically described with reference to the drawings.

以下で説明する実施の形態は、いずれも本発明の好ましい一具体例を示すものである。以下の実施の形態で示される数値、形状、材料、構成要素、構成要素の配置位置及び接続形態、ステップ、ステップの順序などは、一例であり、本発明を限定する主旨ではない。また、以下の実施の形態における構成要素のうち、本発明の最上位概念を示す独立請求項に記載されていない構成要素については、より好ましい形態を構成する任意の構成要素として説明される。なお、同一の構成要素には同一の符号を付し、説明を省略する場合がある。   Each of the embodiments described below shows a preferred specific example of the present invention. The numerical values, shapes, materials, constituent elements, arrangement positions and connecting forms of the constituent elements, steps, order of steps, and the like shown in the following embodiments are merely examples, and are not intended to limit the present invention. In addition, among the constituent elements in the following embodiments, constituent elements that are not described in the independent claims indicating the highest concept of the present invention are described as optional constituent elements that constitute a more preferable embodiment. In addition, the same code | symbol is attached | subjected to the same component and description may be abbreviate | omitted.

(実施の形態)
本実施の形態において、障害発生後にリアルタイムなログ情報を容易に収集でき、特別なアプリケーションを搭載せずにログ収集ができる通信システムについて説明する。
(Embodiment)
In the present embodiment, a communication system that can easily collect real-time log information after a failure occurs and can collect logs without installing a special application will be described.

図1は、実施の形態に係る通信システムのネットワーク構成を示す模式図である。   FIG. 1 is a schematic diagram illustrating a network configuration of a communication system according to an embodiment.

図1に示されるように、通信システム100は、通信装置1と、第一基地局2と、ログ収集端末3と、第二基地局4と、LAN11(Local Area Network)とを備える。   As shown in FIG. 1, the communication system 100 includes a communication device 1, a first base station 2, a log collection terminal 3, a second base station 4, and a LAN 11 (Local Area Network).

通信装置1は、第一基地局2との間で無線通信リンク10を確立し得る通信装置である。無線通信リンク10には、所定のSSID(Service Set Identifier)、及び、所定の暗号化方式で無線通信が行われる。なお、無線通信は、例えば、IEEE802.11a、b、g、n規格などに適合する無線LANにより実現される。通信装置1は、例えば、無線回路モジュールを組み込みこんだ通信装置などである。後述するとおり、通信装置1は、特定のSSIDを検出したことをトリガとして、自らのログ情報を、ビーコンフレームに載せブロードキャスト送信する機能を有する。   The communication device 1 is a communication device that can establish a wireless communication link 10 with the first base station 2. The wireless communication link 10 performs wireless communication using a predetermined SSID (Service Set Identifier) and a predetermined encryption method. Note that the wireless communication is realized by a wireless LAN that conforms to, for example, the IEEE 802.11a, b, g, and n standards. The communication device 1 is, for example, a communication device incorporating a wireless circuit module. As will be described later, the communication device 1 has a function of broadcasting its own log information on a beacon frame triggered by the detection of a specific SSID.

第一基地局2は、通信装置1との間で無線通信リンク10を確立し得る基地局である。また、第一基地局2は、LAN11を通じて、他のネットワーク(例えば、インターネットなどの外部ネットワークなど)と接続し、通信装置1と他のネットワークとの間の通信を中継することができる。第一基地局2は、例えば、無線回路モジュールを備える無線アクセスポイントである。   The first base station 2 is a base station that can establish a wireless communication link 10 with the communication device 1. The first base station 2 can connect to another network (for example, an external network such as the Internet) through the LAN 11 and relay communication between the communication device 1 and the other network. The first base station 2 is a wireless access point including a wireless circuit module, for example.

ログ収集端末3は、通信装置1との間で無線通信を確立し得る端末である。   The log collection terminal 3 is a terminal that can establish wireless communication with the communication device 1.

ログ収集端末3は、通信装置1と第一基地局2との間で行われる無線通信のやりとり、通信装置1の動作記録などを随時、ログ情報として収集するために使用する通信端末である。より具体的には、ログ収集端末3のユーザは、通信装置1がブロードキャスト送信するビーコンフレームに載せたログ情報をキャプチャにより取得し、これを解析して不具合の原因究明に役立てる。   The log collection terminal 3 is a communication terminal used for collecting, as needed, log information such as exchange of wireless communication performed between the communication apparatus 1 and the first base station 2 and an operation record of the communication apparatus 1. More specifically, the user of the log collection terminal 3 acquires log information placed in a beacon frame broadcasted by the communication device 1 by capture, analyzes this, and uses it to investigate the cause of the failure.

ログ収集端末3は、例えば、無線回路モジュールを備えるPC(Personal Computer)、携帯通信端末、タブレット端末などの汎用的な装置でよいが、無線フレームのキャプチャ機能が必須である。   The log collection terminal 3 may be a general-purpose device such as a PC (Personal Computer) equipped with a wireless circuit module, a mobile communication terminal, a tablet terminal, etc., but a radio frame capture function is essential.

第二基地局4は、周囲の装置に向けて無線フレームを送信する基地局である。また、第二基地局4は、自装置に予め定められた特定のSSIDを少なくとも1つ以上備えている。第二基地局4は、周囲の装置に対し、この特定のSSIDをビーコンフレームに格納して送信する。また、第二基地局4は、特定のSSIDを2つ(以後、デバッグ開始用SSIDと、デバッグ終了用SSIDと呼ぶ)備え、それぞれ所定の条件下でビーコンフレームに格納して送信してもよい。ここで、本実施の形態では、自装置に予め定められた特定のSSIDを少なくとも1つ以上備えており、周囲の装置に向けて無線フレームを送信できる基地局(第二基地局4)で説明するが、必ずしも基地局である必要はなく、無線フレームを送信できる装置(例えば、ビーコンフレームを送信可能な送信機)であればよい。   The second base station 4 is a base station that transmits a radio frame to surrounding devices. In addition, the second base station 4 includes at least one specific SSID predetermined in its own device. The second base station 4 stores this specific SSID in a beacon frame and transmits it to surrounding devices. Further, the second base station 4 may include two specific SSIDs (hereinafter referred to as a debug start SSID and a debug end SSID), which are stored in a beacon frame and transmitted under predetermined conditions. . Here, in the present embodiment, the base station (second base station 4), which has at least one specific SSID predetermined in its own device and can transmit a radio frame to surrounding devices, will be described. However, it is not necessarily a base station, and any device capable of transmitting a radio frame (for example, a transmitter capable of transmitting a beacon frame) may be used.

デバッグ開始用SSIDとデバッグ終了用SSIDは、異なるSSIDであり、デバッグ開始用SSIDをビーコンフレームに格納して送信後、一定時間を経てデバッグ終了用SSIDをビーコンフレームに格納して送信するようにしてもよい。当該一定時間は、第二基地局4に備わる設定ツールを介してユーザにより自由に設定できてもよい。   The debug start SSID and the debug end SSID are different SSIDs. After the debug start SSID is stored in the beacon frame and transmitted, the debug end SSID is stored in the beacon frame and transmitted after a certain time. Also good. The certain time may be freely set by the user via a setting tool provided in the second base station 4.

後述するとおり、デバッグ開始用SSIDは、通信端末1との無線通信において、通信端末1がビーコンフレームに格納された当該SSIDを取得することにより、通常モードからデバッグモードにモードを切り替える契機となる情報である。一方、デバッグ終了用SSIDは、通信端末1との無線通信において、通信端末1がビーコンフレームに格納された当該SSIDを取得することにより、デバッグモードから通常モードにモードを切り替える契機となる情報である。   As will be described later, the debug start SSID is information that triggers switching the mode from the normal mode to the debug mode when the communication terminal 1 acquires the SSID stored in the beacon frame in the wireless communication with the communication terminal 1. It is. On the other hand, the SSID for debug termination is information that triggers switching the mode from the debug mode to the normal mode when the communication terminal 1 acquires the SSID stored in the beacon frame in the wireless communication with the communication terminal 1. .

以後の本実施の形態の説明では、第二基地局4は、特定のSSIDを2つ備えている前提で説明する。第二基地局4は、例えば、無線回路モジュールを備える無線アクセスポイントである。なお、第二基地局4とログ収集端末3のそれぞれの機能は1つの筐体(装置)に備わっていてもよい。   In the following description of this embodiment, the second base station 4 will be described on the assumption that two specific SSIDs are provided. The second base station 4 is a wireless access point including a wireless circuit module, for example. The functions of the second base station 4 and the log collection terminal 3 may be provided in one casing (device).

LAN11は、有線のローカルエリアネットワークであり、第一基地局2に接続されている。LAN11は、第一基地局2と図示しない他のネットワーク(例えば、インターネットなどの外部ネットワークなど)と接続している。LAN11は、例えば、IEEE802.3規格に準拠した有線LANであり、この場合を例として説明するが、これに替えて無線LAN(又は、有線LANと無線LANとの組み合わせ)を用いることも可能である。   The LAN 11 is a wired local area network and is connected to the first base station 2. The LAN 11 is connected to the first base station 2 and another network (not shown) (for example, an external network such as the Internet). The LAN 11 is, for example, a wired LAN that conforms to the IEEE 802.3 standard, and this case will be described as an example. However, a wireless LAN (or a combination of a wired LAN and a wireless LAN) can be used instead. is there.

図1に示す通信システムの運用をより具体的に説明する。通常時、通信装置1は、第一基地局2を経由して他の無線通信装置(図示しない)や、第一基地局2に接続されたLAN11上の他の通信装置などと通信する。通信装置1と第一基地局2との間で通信障害が発生した場合、その障害の原因を解析すべく、ログ収集端末3および第二基地局4が持ち込まれ、通信装置1が第二基地局4からのデバッグ開始用SSIDを検知することを契機として通信装置1のモードがデバッグモードに遷移し、ログ情報をビーコンフレームに搭載する。そのビーコンフレームが通信装置1からブロードキャスト送信され、ログ収集端末3がログ情報を収集する。   The operation of the communication system shown in FIG. 1 will be described more specifically. During normal operation, the communication device 1 communicates with another wireless communication device (not shown) via the first base station 2 or another communication device on the LAN 11 connected to the first base station 2. When a communication failure occurs between the communication device 1 and the first base station 2, the log collection terminal 3 and the second base station 4 are brought in to analyze the cause of the failure, and the communication device 1 is connected to the second base station. When the SSID for debugging start from the station 4 is detected, the mode of the communication device 1 transitions to the debug mode, and the log information is mounted in the beacon frame. The beacon frame is broadcast from the communication device 1 and the log collection terminal 3 collects log information.

図2は、実施の形態に係る通信装置1のハードウェア構成を示すブロック図である。   FIG. 2 is a block diagram illustrating a hardware configuration of the communication device 1 according to the embodiment.

図2に示されるように、通信装置1は、CPU(Central Processing Unit)20、ROM(Read Only Memory)21、RAM(Random Access Memory)22、WNIC(Wireless Network Interface Controller)23、および各構成部品間を接続している内部バス24などを備えている。   As illustrated in FIG. 2, the communication device 1 includes a CPU (Central Processing Unit) 20, a ROM (Read Only Memory) 21, a RAM (Random Access Memory) 22, a WNIC (Wireless Network Interface Controller and 23 components), and the like. An internal bus 24 and the like are connected between them.

CPU20は、ROM21に格納された制御プログラムを実行するプロセッサである。   The CPU 20 is a processor that executes a control program stored in the ROM 21.

ROM21は、制御プログラム、制御情報、装置情報、認証情報の一部などを保持する読み出し専用記憶領域である。   The ROM 21 is a read-only storage area that holds a control program, control information, device information, a part of authentication information, and the like.

RAM22は、CPU20が制御プログラムを実行するときに使用するワークエリアとして用いられる記憶領域である。   The RAM 22 is a storage area used as a work area used when the CPU 20 executes a control program.

WNIC23は、無線通信を行う無線通信インタフェースである。例えば、IEEE802.11a、b、g、n、ac規格等に適合する無線LANの通信インタフェースである。なお、通信装置1は、WNIC23を2つ以上備えていてもよい。   The WNIC 23 is a wireless communication interface that performs wireless communication. For example, a wireless LAN communication interface conforming to the IEEE802.11a, b, g, n, and ac standards. Note that the communication device 1 may include two or more WNICs 23.

内部バス24は、CPU20,ROM21、RAM22、WNIC23を電気的に接続し、信号のやりとりを行うバス回路である。   The internal bus 24 is a bus circuit that electrically connects the CPU 20, ROM 21, RAM 22, and WNIC 23 to exchange signals.

図3は、本発明の実施の形態に係る通信装置1の機能構成を示すブロック図である。   FIG. 3 is a block diagram showing a functional configuration of the communication apparatus 1 according to the embodiment of the present invention.

図3に示されるように通信装置1は、無線通信部31と、判断部32と、通信制御部33と、記憶部34、フレーム生成部35、通信モードフラグ36とを備える。   As illustrated in FIG. 3, the communication device 1 includes a wireless communication unit 31, a determination unit 32, a communication control unit 33, a storage unit 34, a frame generation unit 35, and a communication mode flag 36.

無線通信部31は、自装置(通信装置1)が備える無線インタフェースを介して、第一基地局2およびログ収集端末3とそれぞれ、無線通信に関する種々の処理を行う。なお、無線通信部31が、2以上の無線インタフェースを備えている場合には、第一基地局2およびログ収集端末3と同時並行的に通信を行ってもよい。また、自装置が1つの無線インタフェースのみ備えている場合には、逐次的に第一基地局2およびログ収集端末3のどちらか一方と所定の条件(例えば、時分割で行う通信など)に従って無線通信を行ってもよい。   The wireless communication unit 31 performs various processes related to wireless communication with the first base station 2 and the log collection terminal 3 via the wireless interface included in the own device (communication device 1). When the wireless communication unit 31 includes two or more wireless interfaces, the first base station 2 and the log collection terminal 3 may communicate with each other in parallel. In addition, when the own apparatus has only one wireless interface, wireless communication is sequentially performed according to one of the first base station 2 and the log collection terminal 3 in accordance with a predetermined condition (for example, communication performed in a time division manner). Communication may be performed.

無線通信部31は、通信制御部33の指示により、自装置の周囲に発信されているビーコンを取得し、収集したビーコンに含まれる通信情報から抽出されたSSIDを判断部32に通知する。   The wireless communication unit 31 acquires a beacon transmitted around the device itself according to an instruction from the communication control unit 33 and notifies the determination unit 32 of the SSID extracted from the communication information included in the collected beacons.

無線通信部31は自装置と第一基地局2との間で行われる無線通信のやりとりに関する情報を記憶部34にログ情報として一時的に保持する。ここで、ログ情報は、データの送受信で取得できる通信情報(送受信時刻、データサイズ、アドレスなど)であってもよいし、受信した実データ(データそのもの)を含んでいてもよい。また、ログ情報は、自装置の動作および処理内容(例えば、コマンド処理など)を時系列で記録したものであってもよい。   The wireless communication unit 31 temporarily holds information related to the exchange of wireless communication performed between itself and the first base station 2 as log information in the storage unit 34. Here, the log information may be communication information (transmission / reception time, data size, address, etc.) that can be acquired by data transmission / reception, or may include received actual data (data itself). Further, the log information may be information in which the operation of the own device and the processing contents (for example, command processing) are recorded in time series.

無線通信部31は、デバッグモードの際、ログ情報を載せたビーコンフレームを、所定の送信出力でブロードキャスト送信する。   In the debug mode, the wireless communication unit 31 broadcasts a beacon frame carrying log information with a predetermined transmission output.

無線通信部31は、CPU20、ROM21、RAM22、WNIC23などにより実現される。   The wireless communication unit 31 is realized by the CPU 20, ROM 21, RAM 22, WNIC 23, and the like.

判断部32は、無線通信部31を通じて行う第一基地局2との無線通信を正常に行えているか否かを判断する。   The determination unit 32 determines whether the wireless communication with the first base station 2 performed through the wireless communication unit 31 is normally performed.

判断部32は、記憶部34などに予め記憶しているデバッグ開始用SSIDと無線通信部31から通知を受けたSSIDとが一致するか否かを判断する。判断部32は、一致する場合のみ、通信制御部33にその旨を通知する。   The determination unit 32 determines whether or not the debug start SSID stored in advance in the storage unit 34 and the SSID notified from the wireless communication unit 31 match. The judgment unit 32 notifies the communication control unit 33 only when they match.

判断部32は、無線通信部31を通じて、第二基地局4からログ収集を終了する旨の通知を受信したか否かを判断する。具体的には、判断部32は、記憶部34などに予め記憶しているデバッグ終了用SSIDと無線通信部31から通知を受けたSSIDとが一致するか否かを判断する。判断部32は、一致する場合のみ、通信制御部33にその旨を通知する。   The determination unit 32 determines whether or not a notification to end log collection from the second base station 4 is received through the wireless communication unit 31. Specifically, the determination unit 32 determines whether or not the debug end SSID stored in advance in the storage unit 34 and the SSID notified from the wireless communication unit 31 match. The judgment unit 32 notifies the communication control unit 33 only when they match.

判断部32は、CPU20、ROM21、RAM22などにより実現される。   The determination unit 32 is realized by the CPU 20, the ROM 21, the RAM 22, and the like.

通信制御部33は、判断部32の通知をもとに、自装置の周辺に存在する基地局に対する検索(スキャン)を行う旨を無線通信部31に指示する。   Based on the notification from the determination unit 32, the communication control unit 33 instructs the wireless communication unit 31 to perform a search (scan) for base stations existing in the vicinity of the own device.

通信制御部33は、判断部32の通知をもとに通信モードフラグ36を、デバッグモードと通常モードとの間で切り替える(書き換える)。   The communication control unit 33 switches (rewrites) the communication mode flag 36 between the debug mode and the normal mode based on the notification from the determination unit 32.

通信制御部33は、フレーム生成部35で生成するログ情報を含んだビーコンフレーム(後述する)を、定期的(例えば100ms)に無線通信部31に通知する。   The communication control unit 33 notifies the wireless communication unit 31 of a beacon frame (described later) including log information generated by the frame generation unit 35 periodically (for example, 100 ms).

通信制御部33は、ビーコンフレームの送信において、ログ情報送信出力値として、所定の送信出力値に設定するように無線通信部31へ通知する。ここで、所定の送信出力値は、自装置が第一基地局2などと行う、無線通信に使用している通常の送信出力値よりも小さい値である。例えば、ログ情報送信出力値は、自装置から周囲半径2〜3m程度にビーコンフレームが到達でき、その領域に位置するログ収集端末3がビーコンフレームをキャプチャできる程度でよい。   In the transmission of the beacon frame, the communication control unit 33 notifies the wireless communication unit 31 to set the log information transmission output value to a predetermined transmission output value. Here, the predetermined transmission output value is a value smaller than a normal transmission output value used for wireless communication performed by the own apparatus with the first base station 2 or the like. For example, the log information transmission output value may be such that the beacon frame can reach the surrounding radius of about 2 to 3 m from the own apparatus and the log collection terminal 3 located in the area can capture the beacon frame.

通信制御部33は、CPU20、ROM21、RAM22などにより実現される。   The communication control unit 33 is realized by the CPU 20, the ROM 21, the RAM 22, and the like.

記憶部34は、無線通信部31を通じて、第一基地局2との間で行う無線通信のデータのやりとりを一定時間、保持する。一定時間とは、例えば、定期的に送信されるビーコンフレームの時間(例えば100ms)などである。当該保持されたデータは、ログ情報として保持している。   The storage unit 34 holds, for a certain period of time, data exchange of wireless communication performed with the first base station 2 through the wireless communication unit 31. The certain time is, for example, a time period (for example, 100 ms) of a beacon frame transmitted periodically. The retained data is retained as log information.

記憶部34は、通信モードが通常モードとデバッグモードとの間を遷移するか否かの判断時に参照するデバッグ開始用SSIDおよびデバッグ終了用SSIDを記憶している。デバッグ開始用SSIDおよびデバッグ終了用SSIDは、工場出荷時に設定されていてもよいし、ユーザによって自装置が備える図示しない設定ツール(例えば、ツールのWebUI上で設定するなど)で設定されてもよい。   The storage unit 34 stores a debug start SSID and a debug end SSID that are referred to when determining whether or not the communication mode transitions between the normal mode and the debug mode. The debug start SSID and debug end SSID may be set at the time of shipment from the factory, or may be set by a user using a setting tool (not shown) provided in the apparatus (for example, setting on the Web UI of the tool). .

記憶部34は、CPU20、ROM21、RAM22などにより実現される。   The storage unit 34 is realized by the CPU 20, the ROM 21, the RAM 22, and the like.

フレーム生成部35は、記憶部34に保持していたログ情報を、定期的(例えば、100msなど)発信するビーコンフレーム内の所定の領域(例えば、後述する図6のログ情報64の領域など)に格納する。
フレーム生成部35は、CPU20、ROM21、RAM22などにより実現される。
The frame generation unit 35 is a predetermined area (for example, an area of log information 64 in FIG. 6 to be described later) in a beacon frame for transmitting log information held in the storage unit 34 periodically (for example, 100 ms). To store.
The frame generation unit 35 is realized by the CPU 20, the ROM 21, the RAM 22, and the like.

通信モードフラグ36は、通信制御部33の通知をもとに、通常モードとデバッグモードのいずれで動作しているか記憶するフラグである。モードの書き換えは、通信制御部33の通知により行われ、モードが切り替わるまでは当該フラグは維持される。   The communication mode flag 36 is a flag for storing whether the operation is in the normal mode or the debug mode based on the notification from the communication control unit 33. The mode is rewritten by notification from the communication control unit 33, and the flag is maintained until the mode is switched.

通信モードフラグ36は、CPU20、ROM21、RAM22などにより実現される。   The communication mode flag 36 is realized by the CPU 20, the ROM 21, the RAM 22, and the like.

図4は、本発明の実施の形態に係る通信装置において、障害発生からログ情報を含む無線フレームを送信する一連の処理を示すフロー図である。なお、図4では、基地局が送信するビーコンフレームを用いて説明するが、無線通信におけるアクティブスキャンで用いるプローブリクエスト(例えば、自装置から送信など)に対するプローブレスポンス(例えば、第二基地局4からの応答)の無線フレームからSSIDを取得してもよい。   FIG. 4 is a flowchart showing a series of processes for transmitting a radio frame including log information from the occurrence of a failure in the communication apparatus according to the embodiment of the present invention. In addition, in FIG. 4, although demonstrated using the beacon frame which a base station transmits, the probe response (for example, from 2nd base station 4) with respect to the probe request (for example, transmission from an own apparatus etc.) used by the active scan in radio | wireless communication is demonstrated. The SSID may be acquired from the wireless frame of the response.

ステップS41にて、判断部32は、無線通信部31を通じて行う第一基地局2との間で正常に無線通信を行えているか否かを判断する。判断部32は、第一基地局2と無線通信を正常に行えている場合にはステップS41を繰り返す(ステップS41のYes)。正常に行えていない場合には、通信制御部33にその旨の通知を行い、ステップS42に遷移する(ステップS41のNo)。   In step S <b> 41, the determination unit 32 determines whether or not normal wireless communication with the first base station 2 performed through the wireless communication unit 31 can be performed. The determination unit 32 repeats Step S41 when wireless communication with the first base station 2 is normally performed (Yes in Step S41). If not normally performed, the communication control unit 33 is notified to that effect, and the process proceeds to step S42 (No in step S41).

ステップS42にて、通信制御部33は、判断部32の通知をもとに自装置の周辺に存在する基地局の検索(スキャン)を行う旨を無線通信部31に指示する。具体的には、無線通信部31は、これにより、自装置の周囲に発信されている第二基地局4などからのビーコンを取得し、自装置の周囲に存在する基地局の装置情報、SSID、使用チャネルなど無線通信に必要な情報(単に通信情報とも呼ぶ)を収集し、収集した通信情報から抽出されたSSIDを判断部32に通知する。   In step S <b> 42, the communication control unit 33 instructs the wireless communication unit 31 to search for (scan) a base station existing in the vicinity of the own device based on the notification of the determination unit 32. Specifically, the wireless communication unit 31 thereby acquires a beacon from the second base station 4 or the like transmitted around the device itself, and device information of the base stations existing around the device itself, the SSID. Information necessary for wireless communication such as a used channel (also simply referred to as communication information) is collected, and the SSID extracted from the collected communication information is notified to the determination unit 32.

ステップS43にて、判断部32は、ステップS42の処理で無線通信部31から通知を受けたSSIDのうちに、記憶部34に予め記憶しているデバッグ開始用SSID(例えば、例えば、第二基地局4から定期的に送信されるビーコンフレームから取得したSSID)と一致するSSIDを送信するAPを発見したか否かを判断する。判断部32は、SSIDが一致する場合にはステップS44に遷移する(ステップS43のYes)。一方、SSIDが一致しない場合にはステップS42に遷移する(ステップS43のNo)。   In step S43, the determination unit 32 includes the SSID for debugging start stored in advance in the storage unit 34 among the SSIDs received from the wireless communication unit 31 in the process of step S42 (for example, the second base, for example). It is determined whether an AP that transmits an SSID that matches the SSID acquired from the beacon frame periodically transmitted from the station 4 is found. If the SSIDs match, the determination unit 32 transitions to step S44 (Yes in step S43). On the other hand, if the SSIDs do not match, the process proceeds to step S42 (No in step S43).

ステップS44にて、通信制御部33は、判断部32の通知(ステップS43のYes)をもとに通信モードフラグ36をデバッグモードに切り替える(書き換える)。   In step S44, the communication control unit 33 switches (rewrites) the communication mode flag 36 to the debug mode based on the notification from the determination unit 32 (Yes in step S43).

ステップS45にて、通信制御部33は、記憶部34に保持されるログ情報をフレーム生成部35で生成するビーコンフレーム(後述する)に格納し、定期的(例えば100ms)に無線通信部31を通じて、周囲の装置に向けて当該ビーコンフレームをブロードキャスト送信する。   In step S45, the communication control unit 33 stores the log information held in the storage unit 34 in a beacon frame (described later) generated by the frame generation unit 35, and periodically (for example, 100 ms) through the wireless communication unit 31. The beacon frame is broadcasted to surrounding devices.

ステップS46にて、判断部32は、記憶部34に予め記憶しているデバッグ終了用SSIDと定期的に無線通信部31から通知を受けたSSID(例えば、第二基地局4から定期的に送信されるビーコンフレームから取得したSSID)とが一致するか否かを判断する。判断部32は、デバッグ終了用SSIDに一致するSSIDを送信するAPを発見した場合にはステップS47に遷移する(ステップS46のYes)。一方、通知を受信していない場合にはステップS45に戻り処理を繰り返す(ステップS46のNo)。   In step S46, the determination unit 32 and the SSID for ending the debug stored in advance in the storage unit 34 and the SSID periodically received from the wireless communication unit 31 (for example, periodically transmitted from the second base station 4). Or the SSID acquired from the beacon frame to be matched). If the determination unit 32 finds an AP that transmits an SSID that matches the debug-ending SSID, the determination unit 32 proceeds to step S47 (Yes in step S46). On the other hand, if the notification has not been received, the process returns to step S45 to repeat the process (No in step S46).

ステップS47にて、通信制御部33は、判断部32の通知(ステップS46のYes)をもとに通信モードフラグ36を通常モードに切り替える(書き換える)。   In step S47, the communication control unit 33 switches (rewrites) the communication mode flag 36 to the normal mode based on the notification from the determination unit 32 (Yes in step S46).

図5は、本発明の実施の形態に係る通信装置1によるログ情報を含む無線フレームを送信する場合に行われる通信制御処理を示すフロー図である。なお、図5で行われる一連の処理は、図4のステップS45の処理を詳細に説明している。ここでは、特定のSSIDを発信している基地局は第二基地局4とし、自装置と無線通信においてログ情報を取得する対象の基地局は第一基地局2として説明する。   FIG. 5 is a flowchart showing a communication control process performed when a radio frame including log information is transmitted by the communication apparatus 1 according to the embodiment of the present invention. The series of processing performed in FIG. 5 describes in detail the processing in step S45 in FIG. Here, a base station that transmits a specific SSID will be described as a second base station 4, and a base station from which log information is acquired in wireless communication with its own device will be described as a first base station 2.

ステップS51にて、図4のステップS44の後、通信制御部33は、無線通信部31を通じてログ情報を取得する対象の第一基地局2と無線接続を試みる。そして、自装置(通信装置1)と第一基地局2との間で相互に無線通信を行う。   In step S51, after step S44 of FIG. 4, the communication control unit 33 attempts to establish a wireless connection with the first base station 2 from which log information is acquired through the wireless communication unit 31. Then, wireless communication is performed between the own device (communication device 1) and the first base station 2.

ステップS52にて、無線通信部31はこれ以降、自装置が第一基地局2との間で行う無線通信における通信データのやりとり、自装置の動作記録などを記憶部34にログ情報として一時的に保持する。   In step S52, the wireless communication unit 31 thereafter temporarily exchanges communication data in the wireless communication performed by itself with the first base station 2, records its operation, etc. as log information in the storage unit 34. Hold on.

ステップS53にて、フレーム生成部35は、定期的に発信するビーコンフレームにステップS52で保持していたログ情報をフレーム内の所定の領域(例えば、後述する図6のログ情報64の領域など)に格納する。   In step S53, the frame generation unit 35 stores the log information held in step S52 in a beacon frame periodically transmitted in a predetermined area in the frame (for example, an area of log information 64 in FIG. 6 described later). To store.

ステップS54にて、通信制御部33は、ステップS53の処理に伴い、当該処理後のビーコンフレームの送信について、所定の送信出力値に設定するように無線通信部31へ通知する。   In step S54, the communication control unit 33 notifies the wireless communication unit 31 to set a predetermined transmission output value for the transmission of the beacon frame after the processing in accordance with the processing of step S53.

ステップS55にて、無線通信部31は、ステップS54の通知をもとに、ビーコンフレーム送信時に所定の送信出力にて、自装置の周囲に向けてビーコンフレームをブロードキャスト送信する。   In step S55, based on the notification in step S54, the wireless communication unit 31 broadcasts a beacon frame toward its surroundings at a predetermined transmission output during beacon frame transmission.

図6は、本発明の実施の形態に係る通信装置によるログ情報を含む無線フレーム(ビーコンフレーム)の一部の構成を示す説明図である。なお、図6のビーコンフレームは、以下に説明するID61、長さ62、OUI63、ログ情報64を含む構成である。   FIG. 6 is an explanatory diagram showing a configuration of a part of a radio frame (beacon frame) including log information by the communication device according to the embodiment of the present invention. Note that the beacon frame in FIG. 6 includes an ID 61, a length 62, an OUI 63, and log information 64 described below.

ElementID61は、無線フレーム内のElementID61以降(具体的には、図6の長さ62〜ログ情報64)に格納されるデータがベンダー独自のデータが格納されていることを示す番号である。   The element ID 61 is a number indicating that the data stored after the element ID 61 in the radio frame (specifically, the length 62 to the log information 64 in FIG. 6) is vendor-specific data.

長さ62は、ビーコンフレーム全体の長さである。   The length 62 is the length of the entire beacon frame.

OUI63は、IEEEが管理しており、メーカーごとに異なる値が割り当てられている。つまり、通常、メーカーが同じなら同じ内容が格納される。当該OUI63の一部の領域では、メーカー独自の仕様を設定し利用できる領域も含まれる。   The OUI 63 is managed by the IEEE, and a different value is assigned for each manufacturer. That is, the same content is usually stored if the manufacturer is the same. The partial area of the OUI 63 includes an area where manufacturer-specific specifications can be set and used.

ログ情報64は、データの送受信で取得できる通信情報(送受信時刻、データサイズ、アドレスなど)であってもよいし、受信した実データ(データそのもの)を含んでいても良い。   The log information 64 may be communication information (transmission / reception time, data size, address, etc.) that can be acquired by data transmission / reception, or may include received actual data (data itself).

可変データ領域65は、メーカーごとに自由に設定できる可変のデータ領域である。当該領域には、少なくともログ情報64を含んでいる。   The variable data area 65 is a variable data area that can be freely set for each manufacturer. This area includes at least log information 64.

図7は、関連技術における通信システムのネットワーク構成を示す模式図である。   FIG. 7 is a schematic diagram illustrating a network configuration of a communication system in the related art.

図7に示されるように、通信システム700は、通信装置71と、基地局72と、PC(Personal Computer)73と、LAN11とを備える。なお、図7では、図1で示した同一の構成要素には同一の符号を付し、説明を省略する。   As illustrated in FIG. 7, the communication system 700 includes a communication device 71, a base station 72, a PC (Personal Computer) 73, and a LAN 11. In FIG. 7, the same components as shown in FIG.

通信装置71は、基地局72及びPC73との間でそれぞれ無線通信リンク70及び有線通信リンク75を確立し得る通信装置である。ここで、無線通信リンク70には、所定のSSID、及び、所定の暗号化方式で無線通信が行われる。なお、無線通信は、例えば、IEEE802.11a、b、g、n規格などに適合する無線LANにより実現される。通信装置71は、例えば、無線回路モジュールを備えている。また、有線通信リンク75には、有線ケーブルを介して、シリアルインターフェース規格に適合するシリアル通信が行われる。なお、シリアル通信は、例えば、SPI(Serial PeripheralInterface)、USB、RS−232C規格などに適合するシリアル通信により実現される。通信装置71は、例えば、シリアル通信を行うための通信規格に適合した入出力ポート(例えば、コネクタ端子や実装基板上に設置された端子など)を備えている。   The communication device 71 is a communication device that can establish a wireless communication link 70 and a wired communication link 75 between the base station 72 and the PC 73, respectively. Here, the wireless communication link 70 performs wireless communication using a predetermined SSID and a predetermined encryption method. Note that the wireless communication is realized by a wireless LAN that conforms to, for example, the IEEE 802.11a, b, g, and n standards. The communication device 71 includes, for example, a wireless circuit module. The wired communication link 75 performs serial communication that conforms to the serial interface standard via a wired cable. Note that the serial communication is realized by serial communication conforming to, for example, SPI (Serial Peripheral Interface), USB, RS-232C standard, and the like. The communication device 71 includes, for example, an input / output port (for example, a connector terminal or a terminal installed on a mounting board) conforming to a communication standard for performing serial communication.

通信装置71は、無線通信リンク70を介して基地局72と無線通信によるデータのやりとりを行うことができる。また、通信装置71は、通信装置71が備える記憶装置(図示しない)に保持されたログ情報をPC73とシリアル通信を行うことで提供できる。   The communication device 71 can exchange data with the base station 72 through wireless communication via the wireless communication link 70. The communication device 71 can provide log information held in a storage device (not shown) included in the communication device 71 by performing serial communication with the PC 73.

基地局72は、通信装置71との間で無線通信リンク70を確立し得る基地局である。また、基地局72は、LAN11を通じて、他のネットワーク(例えば、インターネットなどの外部ネットワークなど)と接続し、通信装置71と他のネットワークとの間の通信を中継することができる。基地局72は、例えば、無線回路モジュールを備える無線アクセスポイントである。   The base station 72 is a base station that can establish a wireless communication link 70 with the communication device 71. The base station 72 can connect to another network (for example, an external network such as the Internet) through the LAN 11 and relay communication between the communication device 71 and the other network. The base station 72 is a wireless access point including a wireless circuit module, for example.

PC73は、通信障害時に持ち込まれる、ログ情報を収集するための通信端末であり、通信装置71との間で有線通信リンク75を確立し得る端末である。   The PC 73 is a communication terminal for collecting log information brought in at the time of a communication failure, and is a terminal capable of establishing a wired communication link 75 with the communication device 71.

PC73は、通信装置71が基地局72との間で無線接続を試みる以降の動作記録を、随時ログ情報として収集する。より具体的には、PC73のユーザは、通信装置71と基地局72との間で行われる無線通信のやりとり、通信装置71の動作記録などをログ情報として、有線通信リンク75を介して、通信装置71から取得できる。   The PC 73 collects operation records after the communication device 71 attempts a wireless connection with the base station 72 as log information as needed. More specifically, the user of the PC 73 communicates via the wired communication link 75 using the wireless communication exchange between the communication device 71 and the base station 72 and the operation record of the communication device 71 as log information. It can be acquired from the device 71.

PC73は、例えば、シリアル通信を行うための通信規格に適合した入出力ポートを備えるPCである。   The PC 73 is, for example, a PC that includes an input / output port that conforms to a communication standard for performing serial communication.

図7に示された通信システムでは、通信装置71からログ情報をPC73が収集する場合には、通信装置71にPC73が有線ケーブルで有線通信リンク75が確立できることが前提になっている。しかし、通信装置71の設置場所により、あるいは、通信機能部分の組込み仕様により、有線ケーブルを接続できないことも考え得る。また、通信装置71に備わるシリアル通信を行うための通信規格に適合した入出力ポートが装置内の実装基板上に設けられていたとしても、筐体の蓋を開けて、直接に入出力ポートと有線ケーブルで接続する必要があり、ユーザの利便性が損なわれる。   In the communication system shown in FIG. 7, when the PC 73 collects log information from the communication device 71, it is assumed that the PC 73 can establish a wired communication link 75 with the communication device 71 using a wired cable. However, it is conceivable that the wired cable cannot be connected depending on the installation location of the communication device 71 or the built-in specification of the communication function part. Even if an input / output port conforming to the communication standard for serial communication provided in the communication device 71 is provided on the mounting board in the device, the lid of the housing is opened and the input / output port is directly connected. It is necessary to connect with a wired cable, which impairs user convenience.

(まとめ)
以上のような態様で、本発明の実施が行われる。このケースでは、通信装置1と第一基地局2との間で通信の障害が生じたとき、まず通信装置1のログ情報を解析し、障害の原因は通信装置1にあるのか否かを明確化する。そのため、通信装置1をデバッグモードに切換えさせるトリガが、予め特定されたSSIDである。もちろん機械的なスイッチなどでモードを切り替える方法も考えられるが、通信装置1の設置場所等によっては、こうした方法が取れないこともあり得る。上述のとおり、特定のSSIDを発信するのは、第二基地局4であるとして説明したが、通信装置1の通信相手であった第一基地局2であってもよい。なお、第一基地局2および第二基地局4に特定のSSIDを含むビーコンフレームを発信させることは、既存の設定変更技術であるので説明を省略する。
(Summary)
Implementation of the present invention is performed in the manner as described above. In this case, when a communication failure occurs between the communication device 1 and the first base station 2, the log information of the communication device 1 is first analyzed to clearly determine whether the failure is caused by the communication device 1. Turn into. Therefore, the trigger for switching the communication device 1 to the debug mode is the SSID specified in advance. Of course, a method of switching the mode by a mechanical switch or the like is also conceivable, but such a method may not be taken depending on the installation location of the communication device 1 or the like. As described above, the specific SSID is described as being transmitted from the second base station 4, but may be the first base station 2 that was the communication partner of the communication device 1. In addition, since transmitting the beacon frame containing specific SSID to the 1st base station 2 and the 2nd base station 4 is an existing setting change technique, description is abbreviate | omitted.

本発明は、無線通信における通信のやり取りをロギングする際に利用可能である。具体的には、無線アクセスポイントを含む無線LANなどのネットワークにおける通信装置などに利用可能である。   The present invention can be used when logging communication exchanges in wireless communication. Specifically, it can be used for a communication device in a network such as a wireless LAN including a wireless access point.

1、71 通信装置
2 第一基地局(無線アクセスポイント)
3 無線端末
4 第二基地局(無線アクセスポイント)
10、70 無線通信リンク
75 有線通信リンク
11 LAN
100、700 通信システム
20 CPU
21 ROM
22 RAM
23 記憶装置
24 WNIC
25 NIC
26 内部バス
31 無線通信部
32 判断部
33 通信制御部
34 記憶部
35 フレーム生成部
36 通信モードフラグ
61 Element ID
62 長さ
63 OUI
64 ログ情報
65 可変データ領域
72 基地局(無線アクセスポイント)
73 PC
75 有線通信リンク
1, 71 Communication device 2 First base station (wireless access point)
3 Wireless terminal 4 Second base station (wireless access point)
10, 70 Wireless communication link 75 Wired communication link 11 LAN
100, 700 Communication system 20 CPU
21 ROM
22 RAM
23 storage device 24 WNIC
25 NIC
26 Internal Bus 31 Wireless Communication Unit 32 Judgment Unit 33 Communication Control Unit 34 Storage Unit 35 Frame Generation Unit 36 Communication Mode Flag 61 Element ID
62 length 63 OUI
64 Log information 65 Variable data area 72 Base station (wireless access point)
73 PC
75 Wired communication link

Claims (5)

通信装置であって、他の通信装置との間で発生する通信障害を解析するためにログ情報を収集する通信システムにおいて、
自装置の周囲に発信された無線フレームを取得し、前記無線フレームに格納されたSSIDを取得する無線通信部と、
特定のSSIDを記憶し、かつ前記他の通信装置との間で行われる無線通信のログ情報を一時保持する記憶部と、
前記特定のSSIDと前記無線通信部が取得したSSIDとが一致するか否かを判断する判断部と、
前記ログ情報を無線フレーム内の所定の領域に格納したビーコンフレームを生成するフレーム生成部と、
前記判断部においてSSIDが一致していると判断した場合のみ、前記フレーム生成部で生成されたビーコンフレームを前記無線通信部を介してブロードキャスト送信する通信制御部と、
を備える通信装置。
In a communication apparatus that collects log information in order to analyze a communication failure that occurs between other communication apparatuses,
A wireless communication unit that acquires a wireless frame transmitted around the device itself, and acquires an SSID stored in the wireless frame;
A storage unit that stores a specific SSID and temporarily holds log information of wireless communication performed with the other communication device;
A determination unit that determines whether the specific SSID and the SSID acquired by the wireless communication unit match;
A frame generation unit that generates a beacon frame in which the log information is stored in a predetermined area in a radio frame;
Only when it is determined that the SSID matches in the determination unit, a communication control unit that broadcasts the beacon frame generated by the frame generation unit via the wireless communication unit,
A communication device comprising:
さらに、通信制御部は前記生成されたビーコンフレームを送信するときには前記無線通信部の送信出力を無線通信に使用している送信出力値よりも小さい値であるログ情報送信出力値に設定する請求項1の通信装置。   The communication control unit further sets a transmission output value of the wireless communication unit to a log information transmission output value that is smaller than a transmission output value used for wireless communication when transmitting the generated beacon frame. 1. Communication device. 他の通信装置との間で発生する通信障害を解析するためにログ情報を無線端末により収集する通信システムの通信制御方法であって、
自装置の周囲に発信された無線フレームを取得し、前記無線フレームに格納されたSSIDを取得する無線通信ステップと、
特定のSSIDを記憶し、かつ前記他の通信装置との間で行われる無線通信のログ情報を一時保持する記憶ステップと、
前記特定のSSIDと前記取得したSSIDとが一致するか否かを判断する判断ステップと、
前記ログ情報を無線フレーム内の所定の領域に格納したビーコンフレームを生成する生成ステップと、
前記判断ステップの結果SSIDが一致していると判断した場合のみ、前記生成されたビーコンフレームを前記無線端末に向けてブロードキャスト送信する通信制御ステップと
を含む通信制御方法。
A communication control method for a communication system that collects log information by a wireless terminal in order to analyze a communication failure that occurs with another communication device,
A wireless communication step of acquiring a wireless frame transmitted around the device and acquiring an SSID stored in the wireless frame;
A storage step of storing a specific SSID and temporarily holding log information of wireless communication performed with the other communication device;
A determination step of determining whether or not the specific SSID and the acquired SSID match;
Generating a beacon frame storing the log information in a predetermined area in a radio frame;
A communication control method including a communication control step of broadcasting the generated beacon frame toward the wireless terminal only when it is determined that the SSIDs match as a result of the determination step.
通信障害を解析するためにログ情報を収集する通信システムであって、
所定のSSIDを格納する無線フレームを送信する送信機と、
通信装置であって、
自装置の周囲に発信された無線フレームを取得し、前記無線フレームに格納されたSSIDを取得する無線通信部と、
特定のSSIDを記憶し、かつ他の通信装置との間で行われる無線通信にかかるログ情報を一時保持する記憶部と、
前記特定のSSIDと前記無線通信部が取得したSSIDとが一致するか否かを判断する判断部と、
前記ログ情報をフレーム内の所定の領域に格納したビーコンフレームを生成するフレーム生成部と、
前記判断部においてSSIDが一致していると判断した場合のみ、前記フレーム生成部で生成されたビーコンフレームを前記無線通信部を介してブロードキャスト送信する通信制御部と、
を備える通信装置と、
前記ログ情報が格納されたビーコンフレームを受信するログ収集端末と
を備える通信システム。
A communication system that collects log information to analyze communication failures,
A transmitter for transmitting a radio frame storing a predetermined SSID;
A communication device,
A wireless communication unit that acquires a wireless frame transmitted around the device itself, and acquires an SSID stored in the wireless frame;
A storage unit that stores a specific SSID and temporarily holds log information related to wireless communication performed with another communication device;
A determination unit that determines whether or not the specific SSID and the SSID acquired by the wireless communication unit match;
A frame generation unit for generating a beacon frame in which the log information is stored in a predetermined area in the frame;
A communication control unit that broadcasts a beacon frame generated by the frame generation unit via the wireless communication unit only when the determination unit determines that the SSIDs match.
A communication device comprising:
A communication system comprising: a log collection terminal that receives a beacon frame in which the log information is stored.
前記送信機は、2種類のSSIDを送信可能であり、
前記通信装置において、
前記記憶部は、予め、デバッグ開始用SSIDとデバッグ終了用SSIDとを記憶しており、
前記通信制御部は、前記無線通信部が取得したSSIDが前記デバッグ開始用SSIDに一致すると前記判断部が判断した場合、前記フレーム生成部で生成されたビーコンフレームを前記無線通信部を介してブロードキャスト送信し、前記無線通信部が取得したSSIDが前記デバッグ終了用SSIDに一致すると前記判断部が判断した場合、前記ブロードキャスト送信を停止する、
請求項4記載の通信システム。
The transmitter can transmit two types of SSIDs,
In the communication device,
The storage unit stores in advance a debug start SSID and a debug end SSID,
When the determination unit determines that the SSID acquired by the wireless communication unit matches the debug start SSID, the communication control unit broadcasts the beacon frame generated by the frame generation unit via the wireless communication unit. And when the determination unit determines that the SSID acquired by the wireless communication unit matches the debug end SSID, the broadcast transmission is stopped.
The communication system according to claim 4.
JP2018067975A 2018-03-30 2018-03-30 Communication equipment, communication control methods, and communication systems Active JP6902766B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018067975A JP6902766B2 (en) 2018-03-30 2018-03-30 Communication equipment, communication control methods, and communication systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018067975A JP6902766B2 (en) 2018-03-30 2018-03-30 Communication equipment, communication control methods, and communication systems

Publications (3)

Publication Number Publication Date
JP2019180012A true JP2019180012A (en) 2019-10-17
JP2019180012A5 JP2019180012A5 (en) 2021-01-28
JP6902766B2 JP6902766B2 (en) 2021-07-14

Family

ID=68279028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018067975A Active JP6902766B2 (en) 2018-03-30 2018-03-30 Communication equipment, communication control methods, and communication systems

Country Status (1)

Country Link
JP (1) JP6902766B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005303821A (en) * 2004-04-14 2005-10-27 Canon Inc Radio terminal device
WO2012042647A1 (en) * 2010-09-30 2012-04-05 富士通株式会社 Communication system, wireless communication device, status information reception device, wireless communication program, and status information reception program
JP2015171025A (en) * 2014-03-07 2015-09-28 富士通株式会社 Communication control system, information processing apparatus, and communication control method
JP2016021732A (en) * 2014-06-20 2016-02-04 株式会社バッファロー Wireless connection device, network system and wireless connection device control method
JP2016158039A (en) * 2015-02-23 2016-09-01 三菱電機株式会社 Communication device and wireless communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005303821A (en) * 2004-04-14 2005-10-27 Canon Inc Radio terminal device
WO2012042647A1 (en) * 2010-09-30 2012-04-05 富士通株式会社 Communication system, wireless communication device, status information reception device, wireless communication program, and status information reception program
JP2015171025A (en) * 2014-03-07 2015-09-28 富士通株式会社 Communication control system, information processing apparatus, and communication control method
JP2016021732A (en) * 2014-06-20 2016-02-04 株式会社バッファロー Wireless connection device, network system and wireless connection device control method
JP2016158039A (en) * 2015-02-23 2016-09-01 三菱電機株式会社 Communication device and wireless communication system

Also Published As

Publication number Publication date
JP6902766B2 (en) 2021-07-14

Similar Documents

Publication Publication Date Title
EP3542566B1 (en) Methods and apparatus for capturing and/or using packets to facilitate fault detection
KR101453521B1 (en) Wireless access point apparatus and method for detecting unauthorized wireless lan node
KR101541073B1 (en) Mobile Infringement Protection System based on smart apparatus for Securing Cloud Environments and Method thereof
KR100906504B1 (en) Wireless communication system, wireless lan access point and settings confirmation/change method used therefor
KR101244841B1 (en) Method for setting up a WLAN connection and resolving the indoor locastion of a station using the QR(Quick Response) code and sound wave
US9351180B2 (en) Communication system, wireless communication apparatus and state information receiving apparatus
EP3316626A1 (en) Method and apparatus for accessing wireless network with smart device
KR101563213B1 (en) Terminal and Method for Selecting Access Point With Reliablility
CN107205239B (en) Method for detecting wireless network connection and detection equipment
CN110752954A (en) Networking fault detection method and related device for household electrical appliance
JP5958694B2 (en) Measurement information collecting system, wireless node, wireless node communication method and program
CN113595839B (en) Device binding method, terminal device and storage medium
US10070289B1 (en) Client association for provisioning devices in a communication network
CN111130929B (en) Method and system for automatically testing WIFI throughput
JP4836537B2 (en) Radio base station apparatus and communication parameter setting method for radio base station apparatus
CN107426755B (en) Base station problem troubleshooting method and device, computer readable storage medium and computer equipment
US8543104B2 (en) Radio device, state detection method and system
JP6902766B2 (en) Communication equipment, communication control methods, and communication systems
CN111770094A (en) Access control method of wireless network and related device
CN112911703B (en) WIFI detection method and system, WIFI probe device, monitoring device and storage medium
CN105307167A (en) Wireless relay device and wireless relay method
CN111431911B (en) Method for collecting basic information of equipment in network, network edge equipment and network equipment
US20110161745A1 (en) Mobility PDA Surveillance Using GPS
JP7356186B1 (en) Access points, investigation log acquisition method, and investigation log acquisition program
CN205902095U (en) Intelligent terminal smells spy device in real time based on wi -Fi

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201207

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201207

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20201207

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20210126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210226

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210426

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210614

R150 Certificate of patent or registration of utility model

Ref document number: 6902766

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150