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

Communication device, communication system, and communication method Download PDF

Info

Publication number
JP2023006903A
JP2023006903A JP2021109754A JP2021109754A JP2023006903A JP 2023006903 A JP2023006903 A JP 2023006903A JP 2021109754 A JP2021109754 A JP 2021109754A JP 2021109754 A JP2021109754 A JP 2021109754A JP 2023006903 A JP2023006903 A JP 2023006903A
Authority
JP
Japan
Prior art keywords
communication
wireless
beacon
mode
wireless communication
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
JP2021109754A
Other languages
Japanese (ja)
Other versions
JP2023006903A5 (en
JP7445985B2 (en
Inventor
洋昭 兼田
Hiroaki Kaneda
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 JP2021109754A priority Critical patent/JP7445985B2/en
Publication of JP2023006903A publication Critical patent/JP2023006903A/en
Publication of JP2023006903A5 publication Critical patent/JP2023006903A5/ja
Application granted granted Critical
Publication of JP7445985B2 publication Critical patent/JP7445985B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

To efficiently and simply perform an initial setting work for wireless communication.SOLUTION: A communication device 1 includes a storage unit 32 for holding a predetermined unique initial SSID and wireless initial setting information that is initial setting information necessary for wireless communication, a beacon generation unit 34 for generating a setting beacon where the wireless initial setting information is stored in a beacon frame, a wireless communication unit 31 for notifying the surroundings of the device itself of the setting beacon using the initial SSID, a communication mode switching unit 33 for switching a communication mode between a normal mode and a notification mode according to a user's instruction, a determination unit 35 for determining whether or not the communication mode of the communication mode switching unit 33 is set to the notification mode, and a control unit 36 for changing a transmission output value of radio waves used for wireless communication from a first transmission output value to a second transmission output value on the basis of the notification that the notification mode is set by the determination unit 35 and performing control so that the wireless communication unit 31 is notified of the setting beacon at the second transmission output value.SELECTED DRAWING: Figure 2

Description

本発明は、無線通信における無線接続のための初期設定に関する。 The present invention relates to initial settings for wireless connections in wireless communications.

近年、無線LAN(Local Area Network)が普及し、多くの場所において、無線通信装置が無線通信で情報を交換して運用されている。無線LANを構築する方式の1つであるインフラストラクチャー方式では、無線ネットワークにおいて、中継局(あるいはアクセスポイント)に複数の無線通信装置が集中接続される構成がとられている。 2. Description of the Related Art In recent years, wireless LANs (Local Area Networks) have become widespread, and wireless communication devices are operated by exchanging information by wireless communication in many places. 2. Description of the Related Art In an infrastructure scheme, which is one of schemes for constructing a wireless LAN, a wireless network has a configuration in which a plurality of wireless communication devices are centrally connected to a relay station (or access point).

インフラストラクチャー方式による無線ネットワークにかかる環境において、無線通信装置をアクセスポイントと無線通信可能に設定する場合、無線通信装置に無線通信のための初期設定を予め行う必要がある。その結果、当該無線通信装置とアクセスポイントを介して無線による通信が可能となる。初期設定は、例えば、無線ネットワークを構築するときに必要になるネットワーク識別子のSSID(Service Set IDentifier)、セキュリティ情報などである。 2. Description of the Related Art In an infrastructure-based wireless network environment, when a wireless communication device is set to be able to wirelessly communicate with an access point, it is necessary to perform initial settings for wireless communication in the wireless communication device in advance. As a result, wireless communication becomes possible via the wireless communication device and the access point. The initial settings include, for example, a network identifier SSID (Service Set Identifier), security information, and the like, which are necessary when constructing a wireless network.

このように、初期設定は個々の無線通信装置に設定する必要があり、複数(例えば何十、何百)台に行う場合には、ユーザは非常に手間と時間をかけることになる。そこで、例えば、下記特許文献1に記載されるように、従来、いくつかの改善技術が提案されている。 In this way, the initial settings must be set for each wireless communication device, and if a plurality of devices (for example, tens or hundreds) are to be set, the user will spend a lot of time and effort. Therefore, several improvement techniques have been conventionally proposed, for example, as described in Patent Literature 1 below.

特開2015-056778号公報JP 2015-056778 A

特許文献1には、複数の電子機器に対して無線通信設定を効率的に設定する方法が示されている。しかしながら、当該無線通信設定を行うために中継局を用いる必要があり、コストが増加する。また、複数の電子機器に対して無線通信設定を行う場合は、設定手順はそれぞれの電子機器に対して行われるため、すべての電子機器に無線通信設定を終えるまでに相応の時間を費やすことになる。このように、ユーザの利便性を損ない得る。 Patent Literature 1 discloses a method for efficiently setting wireless communication settings for a plurality of electronic devices. However, it is necessary to use a relay station to set up the wireless communication, which increases the cost. Also, when performing wireless communication settings for multiple electronic devices, the setting procedure is performed for each electronic device, so it takes a considerable amount of time to complete the wireless communication settings for all electronic devices. Become. In this way, user convenience may be impaired.

本発明は、上記課題を解決するためになされたものであり、複数台の通信装置についての無線通信のための初期設定作業を効率的かつ簡便に行うことを目的とする。 SUMMARY OF THE INVENTION It is an object of the present invention to solve the above problems, and to efficiently and simply perform initial setting work for wireless communication for a plurality of communication devices.

上記課題を解決するために、本発明の一態様に係る通信装置は、親機として機能する通信装置であって、他の通信装置との間で無線通信のための初期設定を行う通信システムにおいて、予め決められた固有の初期SSIDおよび無線通信のために必要な初期設定情報である無線初期設定情報を保持する記憶部と、無線初期設定情報をビーコンフレームに格納した設定用ビーコンを生成するビーコン生成部と、初期SSIDを用いて、設定用ビーコンを自装置の周囲に報知する無線通信部と、ユーザの指示に応じて通信モードを通常モードと通知モードとの間を切り替える通信モード切替部と、通信モード切替部の通信モードが通知モードに設定されているか否かを判断する判断部と、判断部による通知モードが設定されている旨の通知をもとに無線通信に用いる電波の送信出力値を第一送信出力値から第二送信出力値に変更し、無線通信部に第二送信出力値で設定用ビーコンを報知するように制御する制御部と、を備える。 In order to solve the above problems, a communication device according to one aspect of the present invention is a communication device that functions as a master device and performs initial settings for wireless communication with another communication device. , a storage unit that holds a predetermined unique initial SSID and wireless initial setting information that is initial setting information necessary for wireless communication; and a beacon that generates a setting beacon in which the wireless initial setting information is stored in a beacon frame. a generation unit, a wireless communication unit that uses the initial SSID to broadcast a setting beacon around the device itself, and a communication mode switching unit that switches the communication mode between the normal mode and the notification mode according to the user's instruction; , a determination unit for determining whether the communication mode of the communication mode switching unit is set to the notification mode, and a transmission output of radio waves used for wireless communication based on the notification that the notification mode is set by the determination unit a control unit that changes the value from the first transmission output value to the second transmission output value, and controls the wireless communication unit to notify the setting beacon with the second transmission output value.

これによれば、親機として機能する通信装置は、ビーコンフレームに無線初期設定情報を格納した設定用ビーコンを生成し、自装置から通信システムの他の通信装置(子機として機能する通信装置)に当該設定用ビーコンを報知することができる。このように、通信装置は、子機として機能する通信装置の無線通信のための初期設定作業を効率的かつ簡便に行うことができる。 According to this, a communication device functioning as a parent device generates a setting beacon in which wireless initial setting information is stored in a beacon frame, and sends information to another communication device (a communication device functioning as a child device) of the communication system from the own device. can be notified of the setting beacon. In this way, the communication device can efficiently and simply perform initial setting work for wireless communication of the communication device functioning as a slave device.

また、判断部は、さらに無線通信部が設定用ビーコンを周囲に報知する回数が予め決められた所定の回数に達したか否かを判断し、判断部よる所定の回数に達した旨の通知をもとに、制御部は無線通信部に設定用ビーコンの報知を停止する指示を通知するとともに、通信モード切替部は、通信モードを通常モードに切り替えてもよい。 Further, the determination unit determines whether or not the number of times the wireless communication unit notifies the surroundings of the setting beacon has reached a predetermined number of times, and the determination unit notifies that the predetermined number of times has been reached. Based on this, the control unit may notify the wireless communication unit of an instruction to stop notification of the setting beacon, and the communication mode switching unit may switch the communication mode to the normal mode.

これによれば、通信装置は、設定用ビーコンを周囲に報知する回数を所定数に留めることで、オープンなセキュリティ状態で送信される設定用ビーコンを不必要に拡散することを抑止し、他者の端末で傍受されるリスクを抑制できる。 According to this, the communication device restricts the number of times the setting beacon is broadcast to the surroundings to a predetermined number, thereby suppressing unnecessary spreading of the setting beacon transmitted in the open security state and This reduces the risk of being intercepted by other terminals.

また、第一送信出力値は、通信モードが通常モードに設定されている場合に無線通信に用いる電波の送信出力値であり、第二送信出力値は第一送信出力値よりも小さい、かつ、通信システムにおける他の対象とするすべての通信装置に電波が届く最低限の値であってもよい。 Further, the first transmission output value is a transmission output value of radio waves used for wireless communication when the communication mode is set to the normal mode, the second transmission output value is smaller than the first transmission output value, and It may be the minimum value at which radio waves reach all other target communication devices in the communication system.

これによれば、通信装置は、送信出力値を抑制することで、電波は限られた範囲までしか到達できないため、他者の端末で傍受されるリスクを抑制できる。 According to this, by suppressing the transmission output value, the communication apparatus can suppress the risk of being intercepted by another person's terminal because radio waves can only reach a limited range.

上記課題を解決するために、本発明の別の一態様に係る通信装置は、子機として機能する通信装置であって、他の通信装置との間で無線通信により無線通信のための初期設定を行う通信システムにおいて、無線通信のために必要な初期設定情報である無線初期設定情報がビーコンフレームに格納された、設定用ビーコンを検索し受信する無線通信部と、ユーザの指示に応じて通信モードを通常モードと学習モードとの間を切り替える通信モード切替部と、通信モード切替部の通信モードが学習モードに設定されているか否かを判断し、設定用ビーコンを無線通信部が受信したか否かを判断する判断部と、判断部による学習モードが設定されている旨の通知をもとに、無線通信部に設定用ビーコンを検索し受信するように制御し、判断部による設定用ビーコンを無線通信部が受信した通知をもとに設定用ビーコンから無線初期設定情報を抽出し、当該無線初期設定情報を用いて自装置の無線通信のために必要な初期設定を行う制御部とを備える。 In order to solve the above problems, a communication device according to another aspect of the present invention is a communication device that functions as a slave device, and performs initial settings for wireless communication by wireless communication with another communication device. a wireless communication unit that searches for and receives a setting beacon in which wireless initial setting information, which is initial setting information necessary for wireless communication, is stored in a beacon frame; A communication mode switching unit for switching a mode between a normal mode and a learning mode, determining whether or not the communication mode of the communication mode switching unit is set to the learning mode, and determining whether the wireless communication unit has received a setting beacon and based on the notification that the learning mode is set by the determination unit, the wireless communication unit is controlled to search for and receive the setting beacon, and the determination unit controls the setting beacon. A control unit that extracts wireless initial setting information from the setting beacon based on the notification received by the wireless communication unit, and uses the wireless initial setting information to perform initial settings necessary for wireless communication of the device itself Prepare.

これによれば、子機として機能する通信装置は、設定用ビーコンを受信し、当該設定用ビーコンから無線初期設定情報を抽出することで、自装置の無線通信のために必要な初期設定を行うことができる。このように、通信装置は、子機として機能することで通信装置の無線通信のための初期設定作業を効率的かつ簡便に行うことができる。 According to this, a communication device functioning as a slave device receives a setting beacon and extracts wireless initial setting information from the setting beacon, thereby performing initial settings necessary for wireless communication of the own device. be able to. In this way, the communication device can efficiently and simply perform initial setting work for wireless communication of the communication device by functioning as a child device.

本発明の一態様に係る通信システムは、複数の通信装置を備える通信システムであって、そのうち1つは無線初期設定情報が格納されることにより親機として機能する通信装置であり、残る通信装置は子機として機能する通信装置である。 A communication system according to an aspect of the present invention is a communication system including a plurality of communication devices, one of which is a communication device that functions as a parent device by storing wireless initial setting information, and the remaining communication device is a communication device that functions as a child device.

これによれば、通信システムは、複数の通信装置に共通の無線通信のための初期設定を簡便に行うことができる。 According to this, the communication system can easily perform initial settings for wireless communication common to a plurality of communication devices.

本発明の一態様に係る通信方法は、他の通信装置との間で無線通信のための初期設定を行う通信システムの通信方法であって、予め決められた固有の初期SSIDおよび無線通信のために必要な初期設定情報である無線初期設定情報を保持する記憶ステップと、無線初期設定情報をビーコンフレームに格納し設定用ビーコンを生成するビーコン生成ステップと、初期SSIDを用いて、設定用ビーコンを自装置の周囲に報知する無線通信ステップと、ユーザの指示に応じて通信モードを通常モードと通知モードの間を切り替える通信モード切替ステップと、通信モードが通知モードに設定されているか否かを判断する判断ステップと、通知モードが設定されている旨の通知をもとに無線通信に用いる電波の送信出力値を第一送信出力値から第二送信出力値に変更し、第二送信出力値で設定用ビーコンを報知するように制御する制御ステップとを含む。 A communication method according to an aspect of the present invention is a communication method for a communication system that performs initial settings for wireless communication with another communication device, and includes a predetermined unique initial SSID and an initial SSID for wireless communication. a storage step of storing wireless initial setting information, which is initial setting information required for the wireless communication, a beacon generating step of storing the wireless initial setting information in a beacon frame and generating a setting beacon, and an initial SSID to generate a setting beacon A wireless communication step of notifying the surroundings of the own device, a communication mode switching step of switching the communication mode between the normal mode and the notification mode according to the user's instruction, and a determination whether the communication mode is set to the notification mode. and the transmission output value of radio waves used for wireless communication is changed from the first transmission output value to the second transmission output value based on the notification that the notification mode is set, and at the second transmission output value and a control step of controlling to notify the setting beacon.

これによれば、本発明の一態様に係る通信装置と同様の効果を奏する。 According to this, the same effect as that of the communication device according to one aspect of the present invention can be obtained.

本発明の一態様に係る別の通信方法は、他の通信装置との間で無線通信により無線通信のための初期設定を行う通信システムの通信方法であって、無線通信のために必要な初期設定情報である無線初期設定情報がビーコンフレームに格納された、設定用ビーコンを検索し受信する無線通信ステップと、ユーザの指示に応じて通信モードを通常モードと学習モードとの間を切り替える通信モード切替ステップと、通信モードが学習モードに設定されているか否かを判断し、設定用ビーコンを無線通信部が受信したか否かを判断する判断ステップと、学習モードが設定されている旨の通知をもとに設定用ビーコンを検索し受信するように制御し、設定用ビーコンを無線通信部が受信した通知をもとに設定用ビーコンから無線初期設定情報を抽出し、当該無線初期設定情報を用いて自装置の無線通信のために必要な初期設定を行う制御ステップとを含む。 Another communication method according to an aspect of the present invention is a communication method of a communication system that performs initial settings for wireless communication by wireless communication with another communication device, A wireless communication step of searching for and receiving a setting beacon in which wireless initial setting information as setting information is stored in a beacon frame, and a communication mode of switching a communication mode between a normal mode and a learning mode according to a user's instruction. a switching step, determining whether or not the communication mode is set to the learning mode, determining whether or not the wireless communication unit has received the setting beacon, and notifying that the learning mode is set. based on the setting beacon and control to receive it, extract the wireless initial setting information from the setting beacon based on the notification that the wireless communication unit has received the setting beacon, and transmit the wireless initial setting information and a control step of performing initial settings necessary for wireless communication of the device itself.

これによれば、本発明の別の一態様に係る通信装置と同様の効果を奏する。 According to this, the same effect as the communication device according to another aspect of the present invention can be obtained.

なお、本発明は、装置として実現できるだけでなく、その装置を構成する処理手段をステップとする方法として実現したり、それらステップをコンピュータに実行させるプログラムとして実現したり、そのプログラムを記録したコンピュータ読み取り可能なCD-ROMなどの記録媒体として実現したり、そのプログラムを示す情報、データ又は信号として実現したりすることもできる。そして、それらプログラム、情報、データ及び信号は、インターネット等の通信ネットワークを介して配信してもよい。 The present invention can be realized not only as an apparatus, but also as a method in which processing means constituting the apparatus are used as steps, as a program for causing a computer to execute the steps, or as a computer-readable program in which the program is recorded. It can also be implemented as a recording medium such as a CD-ROM, or as information, data, or signals indicating the program. These programs, information, data and signals may then be distributed over a communication network such as the Internet.

本発明は、無線通信システムにおける複数の通信装置に対して、無線通信のための共通した初期設定を簡便に行うことができる。 INDUSTRIAL APPLICABILITY According to the present invention, common initial settings for wireless communication can be easily performed for a plurality of communication devices in a wireless communication system.

図1は、本発明の実施の形態に係る通信システムの構成を示す模式図である。FIG. 1 is a schematic diagram showing the configuration of a communication system according to an embodiment of the invention. 図2は、本発明の実施の形態に係る通信装置の機能構成を示すブロック図である。FIG. 2 is a block diagram showing the functional configuration of the communication device according to the embodiment of the invention. 図3は、本発明の実施の形態に係る通信装置が親機として機能する場合の動作フローの一例である。FIG. 3 is an example of an operational flow when the communication device according to the embodiment of the present invention functions as a parent device. 図4は、本発明の実施の形態に係る通信装置が子機として機能する場合の動作フローの一例である。FIG. 4 is an example of an operational flow when the communication device according to the embodiment of the present invention functions as a child device. 図5は、本発明の実施の形態に係る通信装置によって送信されるビーコンフレーム(設定用ビーコン)の一例である。FIG. 5 is an example of a beacon frame (setting beacon) transmitted by the communication device according to the embodiment of the present invention. 図6は、本発明の実施の形態に係る通信システムの複数の通信装置における無線通信のための初期設定を行う一連の処理を示すフロー図である。FIG. 6 is a flow chart showing a series of processes for performing initial settings for wireless communication in a plurality of communication devices of the communication system according to the embodiment of the present invention.

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

以下で説明する実施の形態は、いずれも本発明の好ましい一具体例を示すものである。以下の実施の形態で示される数値、形状、材料、構成要素、構成要素の配置位置及び接続形態、ステップ、ステップの順序などは、一例であり、本発明を限定する主旨ではない。また、以下の実施の形態における構成要素のうち、本発明の最上位概念を示す独立請求項に記載されていない構成要素については、より好ましい形態を構成する任意の構成要素として説明される。なお、同一の構成要素には同一の符号を付し、説明を省略する場合がある。 All of the embodiments described below represent preferred specific examples of the present invention. Numerical values, shapes, materials, components, arrangement positions and connection forms of components, steps, order of steps, and the like shown in the following embodiments are 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 independent claims representing the highest level concept of the present invention will be described as arbitrary constituent elements constituting more preferred embodiments. In addition, the same code|symbol may be attached|subjected to the same component and description may be abbreviate|omitted.

(実施の形態)
本実施の形態において、複数の通信装置のそれぞれが無線通信を行うための初期設定を簡便に行うことができる通信システムについて説明する。
(Embodiment)
In this embodiment, a communication system will be described in which initial settings for each of a plurality of communication apparatuses to perform wireless communication can be easily performed.

図1は、本発明の実施の形態に係る通信システム100の構成を示す模式図である。 FIG. 1 is a schematic diagram showing the configuration of a communication system 100 according to an embodiment of the invention.

図1に示すように、通信システム100は、通信装置1aと、通信装置1bと、通信装置1cと、通信装置1dと、端末装置2と、無線ネットワーク10と、通信リンク15とを備えている。ここで、以後、通信装置1aと、通信装置1bと、通信装置1cと、通信装置1dを総称して、通信装置1とも呼ぶ。通信装置1aは、通信リンク15を介して、端末装置2に接続されている。通信リンク15は、例えばIEEE802.11n、ac規格等に適合する無線通信、あるいはIEEE802.3規格等に適合する有線通信で実現される。また、通信リンク15は、通信装置1aが備える通信インタフェース(例えばUSB規格)に準じた有線ケーブルで通信を実現してもよい。通信装置1は、無線ネットワーク10に接続されている。無線ネットワーク10は、例えばIEEE802.11n、ac規格等に適合する無線通信で実現される。 As shown in FIG. 1, the communication system 100 includes a communication device 1a, a communication device 1b, a communication device 1c, a communication device 1d, a terminal device 2, a wireless network 10, and a communication link 15. . Here, hereinafter, the communication device 1a, the communication device 1b, the communication device 1c, and the communication device 1d are collectively referred to as the communication device 1 as well. The communication device 1 a is connected to the terminal device 2 via the communication link 15 . The communication link 15 is realized by, for example, wireless communication that conforms to the IEEE802.11n or ac standard, or wired communication that conforms to the IEEE802.3 standard. Further, the communication link 15 may realize communication by a wired cable conforming to the communication interface (for example, USB standard) provided in the communication device 1a. A communication device 1 is connected to a wireless network 10 . The wireless network 10 is realized by wireless communication complying with IEEE802.11n, ac standards, etc., for example.

通信装置1は、無線通信回路を備え、例えばIEEE802.11n、ac規格等に適合する無線通信を実現できる。また、通信装置1aは、端末装置2との間で無線通信あるいは有線通信で通信する。通信装置1は、他の通信端末1のそれぞれと無線ネットワーク10を介して無線通信を行う通信装置である。具体的には、通信装置1は、パソコンの周辺機器であるプリンタ、スキャナ、およびカメラなどである。本発明では、複数の通信装置1のうち一つに初期設定情報が書き込まれて親機となり、他の残りの通信装置(子機として機能する)に設定情報を送信する。以下の実施形態では、通信装置1aを親機とし、他の通信装置1b、1c、および1dを子機として説明する。 The communication device 1 includes a wireless communication circuit, and can realize wireless communication complying with IEEE802.11n, ac standards, and the like. Further, the communication device 1a communicates with the terminal device 2 by wireless communication or wired communication. The communication device 1 is a communication device that performs wireless communication with each of the other communication terminals 1 via the wireless network 10 . Specifically, the communication device 1 is a printer, a scanner, a camera, etc., which are peripheral devices of a personal computer. In the present invention, one of the plurality of communication devices 1 is written with initial setting information and becomes a master device, and transmits the setting information to the other remaining communication devices (functioning as slave devices). In the following embodiments, the communication device 1a will be described as a master device, and the other communication devices 1b, 1c, and 1d will be described as slave devices.

端末装置2は、例えばユーザにより操作されるパソコン、タブレット端末、又はスマートフォン等であり、通信装置1aとの間で通信リンク15を介して通信する。端末装置2には、通信端末1のそれぞれが無線ネットワーク10を介して互いに無線通信を行うための初期設定情報(以後、無線初期設定情報とも呼ぶ)を設定するためのアプリケーションプログラムがインストールされている。このアプリケーションプログラムを動作させることにより、無線初期設定情報は、図1に示す通信リンク15を経由して、端末装置2から通信装置1aに書き込まれる。 The terminal device 2 is, for example, a personal computer, a tablet terminal, or a smartphone operated by a user, and communicates with the communication device 1a via the communication link 15 . An application program is installed in the terminal device 2 for setting initial setting information (hereinafter also referred to as wireless initial setting information) for each of the communication terminals 1 to perform wireless communication with each other via the wireless network 10 . . By operating this application program, the wireless initial setting information is written from the terminal device 2 to the communication device 1a via the communication link 15 shown in FIG.

なお、図1に示した通信システム100の構成要素の数は、一例に過ぎない。本実施の形態では、例えば複数の通信装置1を4台で説明するが、これに限定されない。 It should be noted that the number of components of communication system 100 shown in FIG. 1 is merely an example. In this embodiment, for example, four communication devices 1 will be described, but the number is not limited to this.

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

図2に示されるように通信装置1は、無線通信部31と、記憶部32と、通信モード切替部33と、ビーコン生成部34と、判断部35と、制御部36とを備える。通信装置1の備える各機能は、例えば、図示しないCPU、ROM、RAM、HDD等を有する公知のコンピュータとして実現される。また、ROM、RAM、HDDには、各種プログラム、制御データなどに関するデータ等が記憶されている。 As shown in FIG. 2 , the communication device 1 includes a wireless communication section 31 , a storage section 32 , a communication mode switching section 33 , a beacon generation section 34 , a determination section 35 and a control section 36 . Each function provided in the communication device 1 is implemented as a known computer having, for example, a CPU, ROM, RAM, HDD, etc. (not shown). The ROM, RAM, and HDD store various programs, data related to control data, and the like.

無線通信部31は、端末装置2および他の通信装置1との間で行われる通信において、種々の制御情報、データ、その他通信に必要な情報などを無線フレームとして送受信する。具体的には、無線通信部31は、端末装置2、他の通信装置1との間で、例えば、IEEE802.11n、ac規格等に準拠する無線通信により、各種無線フレームを送受信する。 The wireless communication unit 31 transmits and receives various control information, data, and other information required for communication as wireless frames in communication between the terminal device 2 and the other communication device 1 . Specifically, the wireless communication unit 31 transmits and receives various wireless frames to and from the terminal device 2 and the other communication device 1 by wireless communication conforming to the IEEE802.11n, ac standard, or the like, for example.

また、無線通信部31は、制御部36の通知をもとに、予め決められた固有の初期SSIDを用いて、設定用ビーコンを周囲に報知する。設定用ビーコンについては後に図5の説明で詳細に示す。 Also, based on the notification from the control unit 36, the wireless communication unit 31 uses a predetermined unique initial SSID to broadcast a setting beacon to the surroundings. The configuration beacon will be described in detail later in the description of FIG.

さらに、無線通信部31は、制御部36の通知をもとに、予め決められた固有の初期SSID(例えば、@@@teaching@@@)によって設定用ビーコンを検索し、受信する。無線通信部31は設定用ビーコンを受信した場合は、その旨を制御部36に通知する。 Further, based on the notification from the control unit 36, the wireless communication unit 31 searches for and receives a setting beacon using a predetermined unique initial SSID (for example, @@@teaching@@@). When the wireless communication unit 31 receives the setting beacon, it notifies the control unit 36 to that effect.

記憶部32は、予めシステムで決められた固有の初期SSID(例えば、@@@teaching@@@)を保持している。当該固有の初期SSIDは、工場出荷時に設定されていてもよいし、ユーザが任意の値を設定ツールなどを用いて決定し、保持されていてもよい。また、親機として機能する通信装置1aの記憶部32は、ユーザによって端末装置2の入力部(図示しない)から入力され、通信リンク15を介して送信された無線通信のために必要な無線初期設定情報を保持する。一方、子機として機能する通信装置(1bなど)では、記憶部が、受信した設定用ビーコンから抽出した無線初期設定情報を格納・保持する。 The storage unit 32 holds a unique initial SSID (for example, @@@teaching@@@) predetermined by the system. The unique initial SSID may be set at the time of shipment from the factory, or may be determined by a user using a setting tool or the like and held. The storage unit 32 of the communication device 1a functioning as a parent device stores wireless initial data necessary for wireless communication, which are input by the user from the input unit (not shown) of the terminal device 2 and transmitted via the communication link 15. Holds configuration information. On the other hand, in the communication device (such as 1b) functioning as a child device, the storage unit stores and retains the wireless initial setting information extracted from the received setting beacon.

さらに記憶部32は、自装置の装置情報(例えば、MACアドレス、IPアドレス、無線通信に使用しているチャネル、認証方式、暗号方式など)なども格納している。 Further, the storage unit 32 also stores device information of its own device (eg, MAC address, IP address, channel used for wireless communication, authentication method, encryption method, etc.).

通信モード切替部33は、通信モードとして、通常モード、通知モード、および学習モードの3つの通信モードを備え、制御部36の通知をもとに、各通信モードを適宜、切り替える。通常モードは、通常のデータや制御信号を送受信するモード、通知モードは無線初期設定情報を設定用ビーコンによって通知するモード、学習モードは設定用ビーコンを受信し無線初期設定情報を学習するモードである。より具体的には、通信装置が親機として機能する場合は、通信モード切替部33は、自装置がユーザのモード切替指示(例えばスイッチ長押しなど)に応じて通常モードから通知モードに切り替える。一方、通信装置が子機として機能する場合は、通信モード切替部33は、自装置がユーザの指示(例えばスイッチ1回押下など)に応じて通常モードから学習モードに切り替える。なお、通常モードは、通知モードおよび学習モードと区別するために設けられるモードであり、工場出荷時には通常モードが設定されている。 The communication mode switching unit 33 has three communication modes, a normal mode, a notification mode, and a learning mode, and appropriately switches between the communication modes based on a notification from the control unit 36 . The normal mode is a mode for transmitting and receiving normal data and control signals, the notification mode is a mode for notifying the wireless initial setting information by the setting beacon, and the learning mode is a mode for receiving the setting beacon and learning the wireless initial setting information. . More specifically, when the communication device functions as a parent device, the communication mode switching unit 33 switches the device from the normal mode to the notification mode in response to the user's mode switching instruction (for example, long press of the switch). On the other hand, when the communication device functions as a child device, the communication mode switching unit 33 switches the self device from the normal mode to the learning mode according to the user's instruction (for example, pressing the switch once). Note that the normal mode is a mode provided to distinguish from the notification mode and the learning mode, and is set to the normal mode when shipped from the factory.

また、通信装置が親機として機能する場合、通信モード切替部33は、制御部36の通知をもとに通信モードを通知モードから通常モードに切り替える。 Also, when the communication device functions as a parent device, the communication mode switching unit 33 switches the communication mode from the notification mode to the normal mode based on the notification from the control unit 36 .

ビーコン生成部34は、制御部36の通知を受けて、記憶部32から予め格納された無線通信のために必要な無線初期設定情報を取得し、通常のビーコンフレームの一部に格納し、設定用ビーコンを生成する。設定用ビーコンについては後ほど詳細に説明する。 The beacon generation unit 34 receives the notification from the control unit 36, acquires the pre-stored wireless initial setting information necessary for wireless communication from the storage unit 32, stores it in a part of the normal beacon frame, and performs the setting. Generate beacons for The configuration beacon will be described in detail later.

判断部35は、通信モード切替部33の通信モードが通知モードに設定されたか否かを判断する。通知モードが設定されたと判断した場合には、その旨をビーコン生成部34および制御部36に通知する。 The determination unit 35 determines whether or not the communication mode of the communication mode switching unit 33 is set to the notification mode. When it is determined that the notification mode has been set, it notifies the beacon generation unit 34 and the control unit 36 to that effect.

判断部35は、通信モード切替部33の通信モードが学習モードに設定されたか否かを判断する。学習モードが設定されたと判断した場合には、その旨を制御部36に通知する。 The determination unit 35 determines whether or not the communication mode of the communication mode switching unit 33 is set to the learning mode. When it is determined that the learning mode has been set, it notifies the control unit 36 to that effect.

また、判断部35は、設定用ビーコンを周囲に報知する回数が予め決められた所定の回数に達したか否かを判断する。例えば、無線通信部31が報知する設定用ビーコンの回数をカウントし、所定の回数(例えば、3回など)行われたか否かを判断する。所定の回数行われた場合には、制御部36にその旨を通知し、カウンタの値をリセットする。なお、ビーコン報知の回数を所定数に留めるのは、後述するように設定用ビーコンがオープンなセキュリティ状態で送信されるため、そこに含まれる無線初期設定情報の不必要な拡散を抑止するためである。 Further, the determination unit 35 determines whether or not the number of times the setting beacon is notified to the surroundings has reached a predetermined number of times. For example, the number of setting beacons notified by the wireless communication unit 31 is counted, and it is determined whether or not a predetermined number of times (for example, three times) has been performed. When it has been performed a predetermined number of times, it is notified to the control unit 36 and the value of the counter is reset. The reason why the number of times of beacon notification is limited to a predetermined number is to suppress unnecessary diffusion of the wireless initial setting information contained in the setting beacon, which is transmitted in an open security state, as will be described later. be.

判断部35は、無線通信部31が受信したビーコンが設定用ビーコンであるか否かを判断する。設定用ビーコンを受信した場合には、その旨を制御部36に通知する。具体的には、当該受信したビーコンに無線初期設定情報が含まれているか否かを判断する。当該初期設定情報が含まれていると判断した場合には、設定用ビーコンを受信した旨を制御部36に通知する。 The determination unit 35 determines whether the beacon received by the wireless communication unit 31 is a setting beacon. When the setting beacon is received, the control unit 36 is notified to that effect. Specifically, it is determined whether or not the received beacon includes wireless initial setting information. If it is determined that the initial setting information is included, it notifies the control unit 36 that the setting beacon has been received.

制御部36は、判断部35の通知をもとに無線通信に用いる電波の送信出力を変更する。より具体的には、現在設定されている当該電波の送信出力値(第一送信出力値)よりも、所定の小さい送信出力値(第二送信出力値)に変更する。なお、所定の小さい送信出力値は、ユーザによりPCなどから設定ツールなどを用いて予め決定され記憶部32に格納されていてもよいし、工場出荷時に予め決定されていてもよい。ここで、所定の小さい送信出力値は、概ね自装置の直近(例えば1~5メートル程度)に電波が届く程度の設定値であり、直近に置かれた無線初期設定情報を送信する対象であるすべての通信装置に電波が届くギリギリ最小限の値が好ましい。設定用ビーコンにはセキュリティに関する設定情報も含まれており、このように送信出力値を抑制することで、設定用ビーコンは限られた範囲までしか到達できず、他者の端末で傍受されてネットワーク10に接続されてしまうリスクを抑制できる。 Based on the notification from the determination unit 35, the control unit 36 changes the transmission power of radio waves used for wireless communication. More specifically, the currently set transmission output value (first transmission output value) of the radio wave is changed to a predetermined smaller transmission output value (second transmission output value). The predetermined small transmission output value may be determined in advance by the user using a setting tool or the like from a PC or the like and stored in the storage unit 32, or may be determined in advance at the time of shipment from the factory. Here, the predetermined small transmission output value is a set value at which radio waves reach the vicinity of the device itself (for example, about 1 to 5 meters), and is the target for transmitting the wireless initial setting information placed in the vicinity. A minimum value that allows radio waves to reach all communication devices is preferable. Setting information related to security is also included in the setting beacon, and by suppressing the transmission power value in this way, the setting beacon can only reach a limited range and can be intercepted by other people's terminals and sent to the network. 10 can be suppressed.

制御部36は、ビーコン生成部34で生成した設定用ビーコンを、電波の送信出力値を第二送信出力値で周囲に報知するように無線通信部31に通知する。より具体的には、制御部36は、第二送信出力値をもとに、設定用ビーコンを自装置の周囲に向けて一定周期(例えば100ms)で報知する(電波の届く範囲に限り、通知する)旨を無線通信部31に通知する。 The control unit 36 notifies the wireless communication unit 31 to notify the surroundings of the setting beacon generated by the beacon generation unit 34 with the second transmission output value of the radio wave transmission output value. More specifically, based on the second transmission output value, the control unit 36 notifies the setting beacon to the surroundings of the device at a constant cycle (for example, 100 ms) (only within the reach of radio waves). to that effect) is notified to the wireless communication unit 31 .

制御部36は、判断部35より設定用ビーコンを周囲に報知する回数が予め決められた所定の回数に達した旨の通知をもとに、無線通信部31に設定用ビーコンの報知を停止する指示を通知し、通信モード切替部33に通信モードを通知モードから通常モードに切り替える指示を通知する。 The control unit 36 stops reporting the setting beacon to the wireless communication unit 31 based on the notification from the determination unit 35 that the number of times the setting beacon has been reported to the surrounding area has reached a predetermined number of times. It notifies the communication mode switching unit 33 of the instruction to switch the communication mode from the notification mode to the normal mode.

制御部36は、判断部35の通知をもとに、通信モードが学習モードである場合には無線通信部31に設定用ビーコンを検索および受信するように通知する。 Based on the notification from the determination unit 35, the control unit 36 notifies the wireless communication unit 31 to search for and receive the setting beacon when the communication mode is the learning mode.

制御部36は、判断部35より設定用ビーコンを受信した旨の通知をもとに設定用ビーコンから無線初期設定情報を抽出し、抽出した無線初期設定情報を記憶部32に格納するように通知し、当該無線初期設定情報を用いて自装置の無線通信のために必要な初期設定を行う。そして、制御部36は、通信モード切替部33に通信モードを学習モードから通常モードに切り替える指示を通知する。 The control unit 36 extracts the wireless initial setting information from the setting beacon based on the notification from the determining unit 35 that the setting beacon has been received, and notifies the storage unit 32 to store the extracted wireless initial setting information. Then, using the wireless initial setting information, initial settings necessary for wireless communication of the own device are performed. Then, the control unit 36 notifies the communication mode switching unit 33 of an instruction to switch the communication mode from the learning mode to the normal mode.

図3は、本発明の実施の形態に係る通信装置1のうち、ユーザによって無線初期設定情報が入力される通信装置1a(親機として動作する通信装置)の動作フローの一例である。なお、通信装置1は、無線通信のために必要な初期設定情報を端末装置2などから設定ツールなどを用いて予め設定されている。 FIG. 3 is an example of an operation flow of a communication device 1a (a communication device operating as a parent device) to which wireless initial setting information is input by a user among the communication devices 1 according to the embodiment of the present invention. In the communication device 1, initial setting information necessary for wireless communication is set in advance from the terminal device 2 or the like using a setting tool or the like.

以下、図3を参照しながら、本発明の実施の形態に係る通信装置1a(親機)が無線通信のために必要な無線初期設定情報を設定された後、通知モードに切り替わってから自装置の周囲に向けて、設定用ビーコンを報知し、通常モードに切り替わるまでについて詳細に説明する。 Hereinafter, with reference to FIG. 3, after the wireless initial setting information necessary for wireless communication is set in the communication device 1a (master device) according to the embodiment of the present invention, the communication device 1a switches to the notification mode and then A setting beacon is broadcast to the surroundings of the device, and the process from switching to the normal mode will be described in detail.

ステップS301にて、判断部35は、通信モード切替部33の通信モードが通知モードに設定されたか否かを判断する。判断部35は、通信モードが通知モードに設定された場合には、その旨をビーコン生成部34および制御部36に通知し、ステップS302に遷移する(ステップS301のYes)。一方、設定されていない場合には、ステップS301を繰り返し、待機する(ステップS301のNo)。 In step S301, the determination unit 35 determines whether or not the communication mode of the communication mode switching unit 33 is set to the notification mode. When the communication mode is set to the notification mode, the determination unit 35 notifies the beacon generation unit 34 and the control unit 36 to that effect, and transitions to step S302 (Yes in step S301). On the other hand, if it is not set, step S301 is repeated and waits (No in step S301).

ステップS302にて、制御部36は、判断部35の通知(ステップS301のYes)をもとに無線通信に用いる電波の送信出力を変更する。具体的には、制御部36は、第一送信出力値を第二送信出力値に変更する。 In step S302, the control unit 36 changes the transmission power of radio waves used for wireless communication based on the notification from the determination unit 35 (Yes in step S301). Specifically, the control unit 36 changes the first transmission power value to the second transmission power value.

ステップS303にて、ビーコン生成部34は、制御部36の通知を受けて、記憶部32に予め格納されていた無線通信のために必要な無線初期設定情報を取得し、通常のビーコンフレームの一部に格納し、設定用ビーコンを生成する。 In step S303, the beacon generation unit 34 receives the notification from the control unit 36, acquires the wireless initial setting information necessary for wireless communication stored in advance in the storage unit 32, and generates one of the normal beacon frames. store it in the unit and generate a setting beacon.

ステップS304にて、制御部36は、ビーコン生成部34で生成した設定用ビーコンを電波の送信出力値を第二送信出力値で周囲に報知するように無線通信部31に通知し、当該通知をもとに無線通信部31は設定用ビーコンを第二送信出力値で周囲に報知する。 In step S304, the control unit 36 notifies the wireless communication unit 31 to notify the surroundings of the setting beacon generated by the beacon generation unit 34 with the second transmission output value of the radio wave transmission output value, and transmits the notification. First, the wireless communication unit 31 notifies the surroundings of the setting beacon at the second transmission output value.

ステップS305にて、判断部35は、無線通信部31により設定用ビーコンを周囲に報知する回数が予め決められた所定の回数に達したか否かを判断する。所定の回数に達した場合には、制御部36にその旨を通知し、ステップS306に遷移する(ステップS305のYes)。一方、所定の回数に達していない場合には、ステップS304に戻りビーコン送信を繰り返す(ステップS305のNo)。 In step S305, the determination unit 35 determines whether or not the number of times the setting beacon is notified to the surroundings by the wireless communication unit 31 has reached a predetermined number of times. When the predetermined number of times has been reached, the control unit 36 is notified to that effect, and the process proceeds to step S306 (Yes in step S305). On the other hand, if the predetermined number of times has not been reached, the process returns to step S304 and the beacon transmission is repeated (No in step S305).

ステップS306にて、制御部36は、判断部35の通知(ステップS305の通知)をもとに、無線通信部31に設定用ビーコンの報知を停止する指示を通知し、通信モード切替部33に通信モードを通知モードから通常モードに切り替える指示を通知する。 In step S306, the control unit 36 notifies the wireless communication unit 31 of an instruction to stop notification of the setting beacon based on the notification of the determination unit 35 (notification of step S305), and instructs the communication mode switching unit 33 to stop notification of the setting beacon. Sends an instruction to switch the communication mode from notification mode to normal mode.

ステップS307にて、制御部36の通知(ステップS306の通知)をもとに、通信モード切替部33は、通信モードを通知モードから通常モードに切り替える。この際、自機は、記憶部に格納された初期設定情報を用いて自装置の通常モードにおける無線通信のために必要な初期設定を行う。 In step S307, the communication mode switching unit 33 switches the communication mode from the notification mode to the normal mode based on the notification from the control unit 36 (the notification in step S306). At this time, the device uses the initial setting information stored in the storage unit to perform initial settings necessary for wireless communication in the normal mode of the device itself.

図4は、本発明の実施の形態に係る通信装置1のうち、通信装置1a以外の通信装置1(子機として動作する通信装置)の動作フローの一例である。 FIG. 4 is an example of an operation flow of a communication device 1 (a communication device operating as a child device) other than the communication device 1a among the communication devices 1 according to the embodiment of the present invention.

本発明の実施の形態に係る通信装置(子機)が電源投入されてから親機(通信装置1a)から無線通信のために必要な無線初期設定情報を受信し、自装置に無線初期設定情報を設定するまでについて、図4を参照しながら詳細に説明する。 After the communication device (slave device) according to the embodiment of the present invention is powered on, it receives wireless initial setting information necessary for wireless communication from the parent device (communication device 1a), and transmits the wireless initial setting information to its own device. will be described in detail with reference to FIG.

ステップS401にて、判断部35は、通信モード切替部33の通信モードが学習モードに設定されているか否かを判断する。判断部35は、学習モードが設定されていると判断した場合には、その旨を制御部36に通知し、ステップS402に遷移する(ステップS401のYes)。一方、学習モードが設定されていないと判断した場合にはステップS401を繰り返し、待機する(ステップS401のNo)。 In step S401, the determination unit 35 determines whether or not the communication mode of the communication mode switching unit 33 is set to the learning mode. When determining that the learning mode is set, the determination unit 35 notifies the control unit 36 to that effect, and transitions to step S402 (Yes in step S401). On the other hand, if it is determined that the learning mode has not been set, step S401 is repeated and waits (No in step S401).

ステップS402にて、制御部36は、判断部35の通知(ステップS401のYes)を受けて、無線通信部31に設定用ビーコンを検索および受信するように通知し、無線通信部31は、制御部36の通知をもとに設定用ビーコン(例えば、@@@teaching@@@を含むビーコンフレーム)を検索し、受信する。このときは、無線通信のためのセキュリティの設定は「オープン(設定されていない状態)」となっている。つまり、通信装置1b、1c、および1dは、予め決められた固有の初期SSIDを発見すれば、直ちに無線接続が可能となる。 In step S402, the control unit 36 receives the notification from the determination unit 35 (Yes in step S401) and notifies the wireless communication unit 31 to search and receive the setting beacon. Based on the notification from the unit 36, a setting beacon (for example, a beacon frame including @@@teaching@@@) is searched for and received. At this time, the security setting for wireless communication is "open (not set)". In other words, the communication apparatuses 1b, 1c, and 1d can establish a wireless connection immediately upon discovering a predetermined unique initial SSID.

ステップS403にて、判断部35は、無線通信部31が受信した無線フレームが設定用ビーコンであるか否かを判断する。判断部35は、設定用ビーコンを受信した場合には、その旨を制御部36に通知する(ステップS403のYes)。一方、設定用ビーコンを受信していない場合には、ステップS402を繰り返す(ステップS403のNo)。 In step S403, the determination unit 35 determines whether the wireless frame received by the wireless communication unit 31 is a setting beacon. When the setting beacon is received, the determination unit 35 notifies the control unit 36 to that effect (Yes in step S403). On the other hand, if the setting beacon has not been received, step S402 is repeated (No in step S403).

ステップS404にて、制御部36は、判断部35の通知(ステップS403のYes)をもとに設定用ビーコンから初期設定情報を抽出する。 In step S404, the control unit 36 extracts initial setting information from the setting beacon based on the notification from the determination unit 35 (Yes in step S403).

ステップS405にて、制御部36は、記憶部32に抽出した初期設定情報を格納するように通知し、当該初期設定情報を用いて自装置の無線通信のために必要な初期設定を行う。そして、制御部36は、通信モード切替部33に通信モードを学習モードから通常モードに切り替える指示を通知する。 In step S405, the control unit 36 notifies the storage unit 32 to store the extracted initial setting information, and uses the initial setting information to perform initial settings necessary for wireless communication of the device itself. Then, the control unit 36 notifies the communication mode switching unit 33 of an instruction to switch the communication mode from the learning mode to the normal mode.

図5は、本発明の実施の形態に係る通信装置1による無線初期設定情報を含むビーコンフレーム500(設定用ビーコンフレーム)の一部の構成を示す説明図である。 FIG. 5 is an explanatory diagram showing a partial configuration of a beacon frame 500 (setting beacon frame) including wireless initial setting information by the communication device 1 according to the embodiment of the present invention.

図5に示されるように、ビーコンフレーム500は、ElementID51、Length52、OUI53、可変データ領域54(設定情報55を含む)により、構成される。 As shown in FIG. 5, the beacon frame 500 is composed of ElementID 51, Length 52, OUI 53, and variable data area 54 (including setting information 55).

ElementID51は、ビーコンフレーム内のElementID51以降(具体的には、図5のLength52~可変データ領域54)に格納されるデータがベンダー独自のデータであることを示す番号である。 ElementID51 is a number indicating that the data stored after ElementID51 in the beacon frame (specifically, from Length52 to variable data area 54 in FIG. 5) is data unique to the vendor.

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

OUI53は、IEEEが管理しており、メーカーごとに異なる値が割り当てられている。通常、同じメーカーなら同じ値が格納される。 The OUI 53 is managed by the IEEE and assigned different values for each manufacturer. Normally, the same value is stored for the same manufacturer.

可変データ領域54は、データの送受信で取得できる通信情報(送受信時刻、データサイズ、アドレスなど)であってもよいし、受信した実データ(データそのもの)を含んでいてもよい。また、可変データ領域54は設定情報55を含む。可変データ領域54は、メーカー独自の仕様を設定し利用できる領域も含まれる。 The variable data area 54 may be communication information (transmission/reception time, data size, address, etc.) that can be obtained by transmitting/receiving data, or may include received actual data (the data itself). Also, the variable data area 54 includes setting information 55 . The variable data area 54 also includes an area in which manufacturer-specific specifications can be set and used.

設定情報55は、さらに、第二SSID56、セキュリティ方式57、および鍵情報58を含む。 Configuration information 55 further includes second SSID 56 , security scheme 57 and key information 58 .

第二SSID56は、初期SSIDとは異なり、端末装置2から通信装置1に入力された無線初期設定情報に含まれ、ユーザが通信装置1に無線通信のために設定するSSID(例えば、「Infra1」などの文字列)である。 Unlike the initial SSID, the second SSID 56 is included in the wireless initial setting information input from the terminal device 2 to the communication device 1, and is the SSID set by the user for wireless communication in the communication device 1 (for example, "Infra1"). string).

セキュリティ方式57は、端末装置2から通信装置1に入力された無線初期設定情報であって、ユーザが通信装置1に無線通信のために設定するセキュリティ方式(例えば、WPA2-PSKなど)である。ここで、セキュリティ方式は、通信を暗号化する際、事前に別の手段で共有された秘密の符号をもとに暗号鍵を生成する方式であり、そのような符号による接続認証を行う方式である。 The security method 57 is wireless initial setting information input from the terminal device 2 to the communication device 1, and is a security method (for example, WPA2-PSK) set in the communication device 1 by the user for wireless communication. Here, the security method is a method of generating an encryption key based on a secret code shared in advance by another means when encrypting communication, and a method of performing connection authentication using such a code. be.

鍵情報58は、端末装置2から通信装置1に入力された無線初期設定情報であって、ユーザが通信装置1に無線通信のために設定する鍵情報である。鍵情報58は、例えば、「123456AB」のような英数字および記号などの組み合わせにより構成される。 The key information 58 is wireless initial setting information input from the terminal device 2 to the communication device 1, and is key information set by the user in the communication device 1 for wireless communication. The key information 58 is composed of, for example, a combination of alphanumeric characters such as "123456AB" and symbols.

図6は、本発明の実施の形態に係る通信システム100の通信装置1における無線通信のための初期設定を行う一連の処理を示すシーケンス図である。 FIG. 6 is a sequence diagram showing a series of processes for initial setting for wireless communication in communication device 1 of communication system 100 according to the embodiment of the present invention.

図6を参照して、通信システム100において、ユーザが端末装置2を用いて、通信装置1a(親機として動作)に無線初期設定情報を入力してから、通信装置1b、1c、および1d(子機として動作)に無線通信のために必要な初期設定が行われるまでの一連の処理を説明する。 Referring to FIG. 6, in communication system 100, a user uses terminal device 2 to input wireless initial setting information to communication device 1a (operating as a base device), and then communication devices 1b, 1c, and 1d ( A series of processes until initial settings necessary for wireless communication are performed in the slave unit) will be described.

ステップS601にて、端末装置2によりユーザが入力した無線初期設定情報が通信リンク15を介して通信装置1aに入力される。 In step S601, the wireless initial setting information input by the user through the terminal device 2 is input to the communication device 1a via the communication link 15. FIG.

ステップS602にて、通信装置1aは、ユーザの指示(例えば設定ツールを用いる、通信装置1aに備わるスイッチを長押しなど)により、通信モードが通常モードから通知モードに切り替わる。 In step S602, the communication device 1a switches the communication mode from the normal mode to the notification mode according to a user's instruction (for example, using a setting tool, long-pressing a switch provided in the communication device 1a, etc.).

ステップS603にて、通信装置1aは、設定用ビーコンを作成する。また、通信装置1aは、無線通信を行うための電波送信出力を第二送信出力値に設定する。 In step S603, the communication device 1a creates a setting beacon. Further, the communication device 1a sets the radio wave transmission output for wireless communication to the second transmission output value.

ステップS604にて、通信装置1b、1c、および1dのそれぞれにおいて、ユーザの指示(例えば通信装置1b、1c、および1dに備わるスイッチを1回押下など)により、通信モードが通常モードから学習モードに切り替わる。 In step S604, in each of the communication devices 1b, 1c, and 1d, the communication mode is changed from the normal mode to the learning mode by the user's instruction (for example, pressing the switch provided in the communication devices 1b, 1c, and 1d once). switch.

ステップS605にて、通信装置1b、1c、および1dのそれぞれは、設定用ビーコンを検索し、受信する。具体的には、通信装置1b、1c、および1dは、予め決められた固有の初期SSID(例えば、@@@teaching@@@)のビーコンを検索する。なお、このとき、セキュリティの設定は「オープン(設定されていない状態)」とする。つまり、通信装置1b、1c、および1dは、予め決められた固有の初期SSIDを検索により発見すれば、直ちに無線接続が可能となる。 In step S605, each of the communication devices 1b, 1c, and 1d searches for and receives a setting beacon. Specifically, the communication devices 1b, 1c, and 1d search for a beacon with a predetermined unique initial SSID (eg, @@@teaching@@@). At this time, the security setting is set to "open (not set)". In other words, the communication apparatuses 1b, 1c, and 1d can establish a wireless connection as soon as they find a predetermined unique initial SSID by searching.

ステップS606にて、通信装置1aは、電波送信出力が最も低い出力により、通信装置1aの周囲に向けて、予め決められた固有の初期SSIDにより設定用ビーコンをブロードキャスト送信する。 In step S606, the communication device 1a broadcasts a setting beacon with a predetermined unique initial SSID to the surroundings of the communication device 1a with the lowest radio wave transmission power.

ステップS607にて、通信装置1b、1c、および1dのそれぞれは、設定用ビーコンを受信したか否かを判断する。 In step S607, each of the communication devices 1b, 1c, and 1d determines whether or not a setting beacon has been received.

ステップS608にて、通信装置1b、1c、および1dのそれぞれは、ステップS607にて、設定用ビーコンを受信した場合には、設定用ビーコンの設定情報505に含まれる無線初期設定情報を抽出し、自装置の無線通信のために必要な各設定値(第二SSID、セキュリティ、鍵情報など)に設定する。 In step S608, each of the communication devices 1b, 1c, and 1d extracts the wireless initial setting information included in the setting information 505 of the setting beacon when receiving the setting beacon in step S607, Each setting value (second SSID, security, key information, etc.) necessary for wireless communication of the device is set.

このようにして、ユーザは、無線初期設定情報を通信装置1aに入力した後は、無線通信のために必要な初期設定を他の複数の通信装置(図6では、通信装置1b、1c、および1d)に個々に入力しなくても、通信装置1aから一定の距離に設置することで、他の複数の通信装置も同様の無線初期設定情報を設定できる。これ以降、システムを構成するすべての通信装置1は新たなSSID(第二SSID)を用いてセキュリティの高い無線通信が可能となる。 In this way, after the user has input the wireless initial setting information to the communication device 1a, the user can perform the initial settings necessary for wireless communication to other communication devices (communication devices 1b, 1c, and 1c in FIG. 6). 1d), similar wireless initial setting information can be set for a plurality of other communication devices by placing them at a certain distance from the communication device 1a. After that, all the communication devices 1 constituting the system can perform wireless communication with high security using the new SSID (second SSID).

なお、図6において、ステップS605およびS606のシステム上の処理順序は問わない。 In FIG. 6, the processing order of steps S605 and S606 on the system does not matter.

本発明の実施形態を説明する際、複数の通信装置のうち、端末装置が接続され、無線初期設定情報を入力される通信装置を親機とするとして説明したが、本発明の実施は必ずしもこれに限らない。例えば、端末装置からの初期設定情報にはよらず、モード切替時点(スイッチ長押し時など)で、自装置の記憶部に無線初期設定情報が格納されているか否かを判断し、格納されている装置が親機として機能し、無線初期設定情報が格納されていないと判断すれば、子機として機能し図4に示す動作フローに従う、としてもよい。あるいは、物理的な設定手段(スライドSWなど)によって、親機/子機を切り替え、親機として機能する1つの通信装置に、初期設定情報を何らかの方法で入力してもよい。 When describing the embodiments of the present invention, it was explained that among a plurality of communication devices, the communication device to which the terminal device is connected and to which the wireless initial setting information is input is the parent device. is not limited to For example, regardless of the initial setting information from the terminal device, at the time of mode switching (such as when a switch is pressed for a long time), it is determined whether or not the wireless initial setting information is stored in the storage unit of the device itself, and if it is stored. If the present device functions as a parent device and determines that the wireless initial setting information is not stored, it may function as a child device and follow the operation flow shown in FIG. Alternatively, a physical setting means (slide switch or the like) may be used to switch between the parent device and the child device, and the initial setting information may be input in some way to one communication device functioning as the parent device.

通信モード切替の手段についても、前述した機械的スイッチに限らず、端末装置から通信リンク15により切替指令信号を送信することでもよいし、赤外線などを用いて遠隔操作してもよい。 The means for switching the communication mode is not limited to the mechanical switch described above, but may be a switching command signal transmitted from the terminal device via the communication link 15, or may be remotely operated using infrared rays or the like.

本発明は、複数台の無線通信装置に対し、無線通信のための初期設定作業を効率的かつ簡便に行う場合に利用できる。 INDUSTRIAL APPLICABILITY The present invention can be used to efficiently and simply perform initial setting work for wireless communication for a plurality of wireless communication devices.

1 通信装置(通信装置1a、1b、1c、1d)
2 端末装置
10 無線ネットワーク
15 通信リンク
100 通信システム
31 無線通信部
32 記憶部
33 通信モード切替部
34 ビーコン生成部
35 判断部
36 制御部
51 Element ID
52 Length
53 OUI
54 可変データ領域
55 設定情報
56 第二SSID
57 セキュリティ方式
58 鍵情報
1 communication device (communication device 1a, 1b, 1c, 1d)
2 terminal device 10 wireless network 15 communication link 100 communication system 31 wireless communication unit 32 storage unit 33 communication mode switching unit 34 beacon generation unit 35 determination unit 36 control unit 51 Element ID
52 Length
53 OUI
54 variable data area 55 setting information 56 second SSID
57 Security method 58 Key information

Claims (7)

親機として機能する通信装置であって、他の通信装置との間で無線通信のための初期設定を行う通信システムにおいて、
予め決められた固有の初期SSID(Service Set IDentifier)および無線通信のために必要な初期設定情報である無線初期設定情報を保持する記憶部と、
前記無線初期設定情報をビーコンフレームに格納した設定用ビーコンを生成するビーコン生成部と、
前記初期SSIDを用いて、前記設定用ビーコンを自装置の周囲に報知する無線通信部と、
ユーザの指示に応じて通信モードを通常モードと通知モードとの間を切り替える通信モード切替部と、
前記通信モード切替部の通信モードが前記通知モードに設定されているか否かを判断する判断部と、
前記判断部による前記通知モードが設定されている旨の通知をもとに無線通信に用いる電波の送信出力値を第一送信出力値から第二送信出力値に変更し、前記無線通信部に第二送信出力値で前記設定用ビーコンを報知するように制御する制御部と、
を備える通信装置。
In a communication system that is a communication device that functions as a parent device and performs initial settings for wireless communication with another communication device,
a storage unit that holds a predetermined unique initial SSID (Service Set Identifier) and wireless initial setting information that is initial setting information necessary for wireless communication;
a beacon generation unit that generates a setting beacon in which the wireless initial setting information is stored in a beacon frame;
a wireless communication unit that uses the initial SSID to broadcast the setting beacon around the device;
a communication mode switching unit that switches the communication mode between a normal mode and a notification mode according to a user instruction;
a determination unit that determines whether the communication mode of the communication mode switching unit is set to the notification mode;
changing the transmission output value of the radio wave used for wireless communication from the first transmission output value to the second transmission output value based on the notification that the notification mode is set by the determination unit; a control unit that controls to notify the setting beacon with two transmission output values;
A communication device comprising:
前記判断部は、さらに前記無線通信部が前記設定用ビーコンを周囲に報知する回数が予め決められた所定の回数に達したか否かを判断し、
前記判断部よる前記所定の回数に達した旨の通知をもとに、前記制御部は無線通信部に設定用ビーコンの報知を停止する指示を通知するとともに、前記通信モード切替部は、通信モードを通常モードに切り替える
請求項1に記載の通信装置。
The determination unit further determines whether or not the number of times the wireless communication unit notifies the surroundings of the setting beacon has reached a predetermined number of times,
Based on the notification from the determination unit that the predetermined number of times has been reached, the control unit notifies the wireless communication unit of an instruction to stop notification of the setting beacon. to normal mode.
前記第一送信出力値は、前記通信モードが通常モードに設定されている場合に無線通信に用いる電波の送信出力値であり、
前記第二送信出力値は前記第一送信出力値よりも小さい、かつ、前記通信システムにおける他の対象とするすべての通信装置に電波が届く最低限の値である、
請求項1または2に記載の通信装置。
The first transmission output value is a transmission output value of radio waves used for wireless communication when the communication mode is set to the normal mode,
The second transmission power value is smaller than the first transmission power value, and is the minimum value that radio waves reach all other target communication devices in the communication system,
3. A communication device according to claim 1 or 2.
子機として機能する通信装置であって、他の通信装置との間で無線通信により無線通信のための初期設定を行う通信システムにおいて、
無線通信のために必要な初期設定情報である無線初期設定情報がビーコンフレームに格納された、設定用ビーコンを検索し受信する無線通信部と、
ユーザの指示に応じて通信モードを通常モードと学習モードとの間を切り替える通信モード切替部と、
前記通信モード切替部の通信モードが前記学習モードに設定されているか否かを判断し、前記設定用ビーコンを前記無線通信部が受信したか否かを判断する判断部と、
前記判断部による前記学習モードが設定されている旨の通知をもとに、前記無線通信部に設定用ビーコンを検索し受信するように制御し、前記判断部による設定用ビーコンを前記無線通信部が受信した通知をもとに前記設定用ビーコンから前記無線初期設定情報を抽出し、当該無線初期設定情報を用いて自装置の無線通信のために必要な初期設定を行う制御部と、
を備える通信装置。
In a communication system that is a communication device that functions as a child device and performs initial settings for wireless communication by wireless communication with another communication device,
a wireless communication unit that searches for and receives a setting beacon in which wireless initial setting information, which is initial setting information necessary for wireless communication, is stored in a beacon frame;
a communication mode switching unit that switches a communication mode between a normal mode and a learning mode according to a user's instruction;
a determination unit that determines whether the communication mode of the communication mode switching unit is set to the learning mode, and determines whether the wireless communication unit has received the setting beacon;
controlling the wireless communication unit to search for and receive a setting beacon based on the notification that the learning mode is set by the determination unit; a control unit that extracts the wireless initial setting information from the setting beacon based on the notification received by and uses the wireless initial setting information to perform initial settings necessary for wireless communication of the device;
A communication device comprising:
複数の通信装置を備える通信システムであって、そのうち1つは無線初期設定情報が格納されることにより請求項1記載の親機として機能する通信装置であり、残る通信装置は請求項4記載の子機として機能する通信装置である通信システム。 A communication system comprising a plurality of communication devices, one of which is a communication device functioning as a base unit according to claim 1 by storing wireless initial setting information, and the remaining communication devices are according to claim 4. A communication system that is a communication device that functions as a child device. 他の通信装置との間で無線通信のための初期設定を行う通信システムの通信方法であって、
予め決められた固有の初期SSID(Service Set IDentifier)および無線通信のために必要な初期設定情報である無線初期設定情報を保持する記憶ステップと、
前記無線初期設定情報をビーコンフレームに格納し設定用ビーコンを生成するビーコン生成ステップと、
前記初期SSIDを用いて、前記設定用ビーコンを自装置の周囲に報知する無線通信ステップと、
ユーザの指示に応じて通信モードを通常モードと通知モードの間を切り替える通信モード切替ステップと、
前記通信モードが前記通知モードに設定されているか否かを判断する判断ステップと、
前記通知モードが設定されている旨の通知をもとに無線通信に用いる電波の送信出力値を第一送信出力値から第二送信出力値に変更し、第二送信出力値で前記設定用ビーコンを報知するように制御する制御ステップと、
を含む通信方法。
A communication method for a communication system for performing initial settings for wireless communication with another communication device,
a storage step of holding a predetermined unique initial SSID (Service Set Identifier) and wireless initial setting information, which is initial setting information required for wireless communication;
a beacon generating step of storing the wireless initial setting information in a beacon frame and generating a setting beacon;
a wireless communication step of using the initial SSID to broadcast the setting beacon around the device;
a communication mode switching step for switching a communication mode between a normal mode and a notification mode according to a user's instruction;
a determination step of determining whether the communication mode is set to the notification mode;
changing the transmission output value of radio waves used for wireless communication from the first transmission output value to the second transmission output value based on the notification that the notification mode is set, and setting the setting beacon at the second transmission output value; A control step for controlling to notify
communication methods, including
他の通信装置との間で無線通信により無線通信のための初期設定を行う通信システムの通信方法であって、
無線通信のために必要な初期設定情報である無線初期設定情報がビーコンフレームに格納された、設定用ビーコンを検索し受信する無線通信ステップと、
ユーザの指示に応じて通信モードを通常モードと学習モードとの間を切り替える通信モード切替ステップと、
前記通信モードが学習モードに設定されているか否かを判断し、前記設定用ビーコンを前記無線通信部が受信したか否かを判断する判断ステップと、
前記学習モードが設定されている旨の通知をもとに設定用ビーコンを検索し受信するように制御し、設定用ビーコンを前記無線通信部が受信した通知をもとに前記設定用ビーコンから前記無線初期設定情報を抽出し、当該無線初期設定情報を用いて自装置の無線通信のために必要な初期設定を行う制御ステップと、
を含む通信方法。

A communication method of a communication system for performing initial settings for wireless communication by wireless communication with another communication device,
a wireless communication step of searching for and receiving a setting beacon in which wireless initial setting information, which is initial setting information necessary for wireless communication, is stored in a beacon frame;
a communication mode switching step for switching a communication mode between a normal mode and a learning mode according to an instruction from a user;
a determination step of determining whether or not the communication mode is set to the learning mode, and determining whether or not the wireless communication unit has received the setting beacon;
Based on the notification that the learning mode has been set, control is performed to search for and receive a setting beacon, and based on the notification that the setting beacon has been received by the wireless communication unit, the setting beacon is sent to the setting beacon. a control step of extracting wireless initial setting information and performing initial settings necessary for wireless communication of the device using the wireless initial setting information;
communication methods, including

JP2021109754A 2021-06-30 2021-06-30 Communication device, communication system, and communication method Active JP7445985B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021109754A JP7445985B2 (en) 2021-06-30 2021-06-30 Communication device, communication system, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021109754A JP7445985B2 (en) 2021-06-30 2021-06-30 Communication device, communication system, and communication method

Publications (3)

Publication Number Publication Date
JP2023006903A true JP2023006903A (en) 2023-01-18
JP2023006903A5 JP2023006903A5 (en) 2023-11-16
JP7445985B2 JP7445985B2 (en) 2024-03-08

Family

ID=85107771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021109754A Active JP7445985B2 (en) 2021-06-30 2021-06-30 Communication device, communication system, and communication method

Country Status (1)

Country Link
JP (1) JP7445985B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI321927B (en) 2006-11-03 2010-03-11 Asustek Comp Inc Wireless local area network (wlan) system and related method, station, and access point

Also Published As

Publication number Publication date
JP7445985B2 (en) 2024-03-08

Similar Documents

Publication Publication Date Title
CN103379589B (en) Wireless communication system, wireless communications method and wireless terminal
CN104168625B (en) Smart machine and its method and wireless routing device for being connected to wireless routing device
TW201330566A (en) System and method for facilitating wireless communication
KR20110053187A (en) Wireless communication device, wireless communication system, program and wireless communication method
CN103841626A (en) Internet of Things wireless terminal, configuration method thereof and mobile terminal
CN104094641A (en) Systems and methods for enabling stations to connect to wireless hotspots using non-unicode service set identification information
CN101568189A (en) Methods and apparatus for setting up wireless lan
US20090274065A1 (en) Method and apparatus for setting wireless local area network by using button
CN103634795A (en) Wireless communication apparatus and method
US20150312945A1 (en) Apparatus and method for managing instant connection based on wireless local area network
US11140549B2 (en) Information processing apparatus and information processing method
JP2005347911A (en) Communication system, terminal, and communication method
JP6537903B2 (en) Communication device and identification information generation method in communication device
CN104869609A (en) Information providing method and device
CN104468966A (en) Incoming call silencing method and system for mobile terminal
JP6429206B2 (en) Method and apparatus for constructing simple and easy wireless connection
JP2014197830A (en) Communication device, communication system, and program
JP2015061100A (en) Radio connection system, radio terminal device, and radio connection method
CN105069875A (en) Electronic key, electronic devices and electronic device networking/pairing method
KR20140117107A (en) Method and System for Executing IoT Service with Shortrange Communication Tag
JP2013085050A (en) Radio connection method, and device and terminal
JP2007104389A (en) Radio base station device and communication parameter setting method thereof
JP7445985B2 (en) Communication device, communication system, and communication method
JP5895678B2 (en) Wireless communication system and wireless communication method
JP6475207B2 (en) Wireless communication apparatus, method and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231108

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231108

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20231108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231208

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240202

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240219

R150 Certificate of patent or registration of utility model

Ref document number: 7445985

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150