Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7445985B2 - Communication device, communication system, and communication method - Google Patents
[go: Go Back, main page]

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

Communication device, communication system, and communication method Download PDF

Info

Publication number
JP7445985B2
JP7445985B2 JP2021109754A JP2021109754A JP7445985B2 JP 7445985 B2 JP7445985 B2 JP 7445985B2 JP 2021109754 A JP2021109754 A JP 2021109754A JP 2021109754 A JP2021109754 A JP 2021109754A JP 7445985 B2 JP7445985 B2 JP 7445985B2
Authority
JP
Japan
Prior art keywords
communication
beacon
mode
wireless
output value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021109754A
Other languages
Japanese (ja)
Other versions
JP2023006903A (en
JP2023006903A5 (en
Inventor
洋昭 兼田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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

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

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

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

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

インフラストラクチャー方式による無線ネットワークにかかる環境において、無線通信装置をアクセスポイントと無線通信可能に設定する場合、無線通信装置に無線通信のための初期設定を予め行う必要がある。その結果、当該無線通信装置とアクセスポイントを介して無線による通信が可能となる。初期設定は、例えば、無線ネットワークを構築するときに必要になるネットワーク識別子のSSID(Service Set IDentifier)、セキュリティ情報などである。 In an environment related to an infrastructure-based wireless network, when setting a wireless communication device to be able to wirelessly communicate with an access point, it is necessary to perform initial settings for wireless communication on 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, etc. that are required when constructing a wireless network.

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

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

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

本発明は、上記課題を解決するためになされたものであり、複数の通信装置についての無線通信のための初期設定作業を効率的かつ簡便に行うことを目的とする。
The present invention has been made to solve the above problems, and an object of the present invention is to efficiently and easily 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 base unit in a process of performing initial settings for wireless communication in a communication system including a plurality of communication devices. 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 configuration beacon that stores the wireless initial setting information in a beacon frame are generated . A beacon generation unit, a wireless communication unit that broadcasts a setting beacon to the surroundings of the device using the initial SSID, and a communication mode switching unit that switches the communication mode between normal mode and notification mode according to user instructions. and a determining unit that determines whether the communication mode of the communication mode switching unit is set to notification mode, and transmitting radio waves used for wireless communication based on the notification that the notification mode is set by the determining unit. A control unit that changes the output 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 base device generates a configuration beacon in which wireless initial setting information is stored in a beacon frame, and transmits the information from the own device to other communication devices in the communication system (communication devices functioning as a slave device). The setting beacon can be notified to the user. In this way, the communication device can efficiently and easily perform the initial setting work for wireless communication of the communication device functioning as a slave device.

また、判断部は、さらに無線通信部が設定用ビーコンを周囲に報知する回数が予め決められた所定の回数に達したか否かを判断し、判断部よる所定の回数に達した旨の通知をもとに、制御部は無線通信部に設定用ビーコンの報知を停止する指示を通知するとともに、通信モード切替部は、通信モードを通常モードに切り替えてもよい。 Further, the determining unit further determines whether the number of times the wireless communication unit notifies the surroundings of the setting beacon has reached a predetermined number of times, and the determining unit notifies the user that the number of times the wireless communication unit broadcasts the setting beacon to the surrounding area has reached the predetermined number of times. 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, by keeping the number of times the communication device broadcasts the configuration beacon to the surrounding area to a predetermined number, the communication device can prevent unnecessary dissemination of the configuration beacon transmitted in an open security state, and The risk of data being intercepted on terminals can be reduced.

また、第一送信出力値は、通信モードが通常モードに設定されている場合に無線通信に用いる電波の送信出力値であり、第二送信出力値は第一送信出力値よりも小さく、かつ、通信システムにおける報知の電波が届く最低限の値であってもよい。
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 normal mode, and the second transmission output value is smaller than the first transmission output value, and It may be the minimum value that the notification radio waves in the communication system can reach.

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

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

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

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

本発明は、無線通信システムにおける複数の通信装置に対して、無線通信のための共通した初期設定を簡便に行うことができる。 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 present invention. 図2は、本発明の実施の形態に係る通信装置の機能構成を示すブロック図である。FIG. 2 is a block diagram showing the functional configuration of a communication device according to an embodiment of the present invention. 図3は、本発明の実施の形態に係る通信装置が親機として機能する場合の動作フローの一例である。FIG. 3 is an example of an operation flow when the communication device according to the embodiment of the present invention functions as a base device. 図4は、本発明の実施の形態に係る通信装置が子機として機能する場合の動作フローの一例である。FIG. 4 is an example of an operation flow when the communication device according to the embodiment of the present invention functions as a slave 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 diagram showing a series of processes for performing initial settings for wireless communication in a plurality of communication devices of a communication system according to an embodiment of the present invention.

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

以下で説明する実施の形態は、いずれも本発明の好ましい一具体例を示すものである。以下の実施の形態で示される数値、形状、材料、構成要素、構成要素の配置位置及び接続形態、ステップ、ステップの順序などは、一例であり、本発明を限定する主旨ではない。また、以下の実施の形態における構成要素のうち、本発明の最上位概念を示す独立請求項に記載されていない構成要素については、より好ましい形態を構成する任意の構成要素として説明される。なお、同一の構成要素には同一の符号を付し、説明を省略する場合がある。 The embodiments described below each represent a preferred specific example of the present invention. The numerical values, shapes, materials, components, arrangement positions and connection forms of the components, steps, order of steps, etc. shown in the following embodiments are merely examples, and do not limit the present invention. Furthermore, among the constituent elements in the following embodiments, constituent elements that are not described in the independent claims representing the most significant concept of the present invention will be explained as arbitrary constituent elements constituting a more preferable embodiment. Note that the same components may be given the same reference numerals and their descriptions may be omitted.

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

図1は、本発明の実施の形態に係る通信システム100の構成を示す模式図である。 FIG. 1 is a schematic diagram showing the configuration of a communication system 100 according to an embodiment of the present 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. . Hereinafter, the communication device 1a, the communication device 1b, the communication device 1c, and the communication device 1d will be collectively referred to as the communication device 1. The communication device 1 a is connected to the terminal device 2 via a communication link 15 . The communication link 15 is realized, for example, by wireless communication conforming to IEEE802.11n, ac standards, etc., or wired communication conforming to IEEE802.3 standards, etc. Further, the communication link 15 may realize communication using a wired cable conforming to a communication interface (for example, USB standard) included in the communication device 1a. Communication device 1 is connected to wireless network 10 . The wireless network 10 is realized by wireless communication that complies with, for example, IEEE802.11n, ac standards, and the like.

通信装置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 that complies with, for example, 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. that are peripheral devices of a personal computer. In the present invention, initial setting information is written into one of the plurality of communication devices 1 so that it becomes a master device, and the setting information is transmitted to the other remaining communication devices (functioning as slave devices). In the following embodiment, 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, 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台で説明するが、これに限定されない。 Note that the number of components of the communication system 100 shown in FIG. 1 is only an example. In this embodiment, for example, four communication devices 1 will be described, but the present invention 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 present 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 realized, for example, as a known computer having a CPU, ROM, RAM, HDD, etc. (not shown). Furthermore, data related to various programs, control data, etc. are stored in the ROM, RAM, and HDD.

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

また、無線通信部31は、制御部36の通知をもとに、予め決められた固有の初期SSIDを用いて、設定用ビーコンを周囲に報知する。設定用ビーコンについては後に図5の説明で詳細に示す。 Furthermore, based on the notification from the control unit 36, the wireless communication unit 31 broadcasts the setting beacon to the surrounding area using a predetermined unique initial SSID. The setting beacon will be described in detail later in the explanation 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 of this fact.

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

さらに記憶部32は、自装置の装置情報(例えば、MACアドレス、IPアドレス、無線通信に使用しているチャネル、認証方式、暗号方式など)なども格納している。 Furthermore, the storage unit 32 also stores device information of the device itself (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, normal mode, notification mode, and learning mode, and switches each communication mode as appropriate based on the notification from the control unit 36. Normal mode is a mode in which normal data and control signals are sent and received, notification mode is a mode in which wireless initial setting information is notified using a configuration beacon, and learning mode is a mode in which wireless initial setting information is learned by receiving configuration beacons. . 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 a user's mode switching instruction (for example, long press of a switch, etc.). On the other hand, when the communication device functions as a slave device, the communication mode switching unit 33 switches the device from the normal mode to the learning mode in response to a user's instruction (for example, pressing a switch once). Note that the normal mode is a mode provided to distinguish from the notification mode and the learning mode, and is set at the time of factory shipment.

また、通信装置が親機として機能する場合、通信モード切替部33は、制御部36の通知をもとに通信モードを通知モードから通常モードに切り替える。 Further, 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から予め格納された無線通信のために必要な無線初期設定情報を取得し、通常のビーコンフレームの一部に格納し、設定用ビーコンを生成する。設定用ビーコンについては後ほど詳細に説明する。 Upon receiving the notification from the control unit 36, the beacon generation unit 34 acquires wireless initial setting information necessary for wireless communication stored in advance from the storage unit 32, stores it in a part of a normal beacon frame, and sets the information. Generate a beacon for use. The setting beacon will be explained in detail later.

判断部35は、通信モード切替部33の通信モードが通知モードに設定されたか否かを判断する。通知モードが設定されたと判断した場合には、その旨をビーコン生成部34および制御部36に通知する。 The determining unit 35 determines whether 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, the beacon generation unit 34 and the control unit 36 are notified of this fact.

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

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

判断部35は、無線通信部31が受信したビーコンが設定用ビーコンであるか否かを判断する。設定用ビーコンを受信した場合には、その旨を制御部36に通知する。具体的には、当該受信したビーコンに無線初期設定情報が含まれているか否かを判断する。当該初期設定情報が含まれていると判断した場合には、設定用ビーコンを受信した旨を制御部36に通知する。 The determining 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 of this fact. Specifically, it is determined whether the received beacon includes wireless initial setting information. If it is determined that the initial setting information is included, the controller 36 is notified that the setting beacon has been received.

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

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

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

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

制御部36は、判断部35より設定用ビーコンを受信した旨の通知をもとに設定用ビーコンから無線初期設定情報を抽出し、抽出した無線初期設定情報を記憶部32に格納するように通知し、当該無線初期設定情報を用いて自装置の無線通信のために必要な初期設定を行う。そして、制御部36は、通信モード切替部33に通信モードを学習モードから通常モードに切り替える指示を通知する。 The control unit 36 extracts wireless initial setting information from the setting beacon based on the notification that the setting beacon has been received from the determining unit 35, and notifies the storage unit 32 to store the extracted wireless initial setting information. Then, using the wireless initial setting information, the device performs initial settings necessary for wireless communication of its own device. 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 that operates as a base 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. Note that the communication device 1 has initial setting information necessary for wireless communication 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 communication device 1a (master device) according to the embodiment of the present invention is configured with wireless initial setting information necessary for wireless communication, the communication device 1a (master device) according to the embodiment of the present invention switches to the notification mode, and then We will explain in detail the process from broadcasting the setting beacon to the surrounding area to switching to normal mode.

ステップS301にて、判断部35は、通信モード切替部33の通信モードが通知モードに設定されたか否かを判断する。判断部35は、通信モードが通知モードに設定された場合には、その旨をビーコン生成部34および制御部36に通知し、ステップS302に遷移する(ステップS301のYes)。一方、設定されていない場合には、ステップS301を繰り返し、待機する(ステップS301のNo)。 In step S301, the determining unit 35 determines whether 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 proceeds to step S302 (Yes in step S301). On the other hand, if it has not been set, step S301 is repeated and the process 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 output value to the second transmission output 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 the storage unit 32 in advance, and generates a normal beacon frame. and generate a configuration 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 , and based on the notification, the wireless communication unit 31 broadcasts the setting beacon to the surrounding area using the second transmission output value.

ステップS305にて、判断部35は、無線通信部31により設定用ビーコンを周囲に報知する回数が予め決められた所定の回数に達したか否かを判断する。所定の回数に達した場合には、制御部36にその旨を通知し、ステップS306に遷移する(ステップS305のYes)。一方、所定の回数に達していない場合には、ステップS304に戻りビーコン送信を繰り返す(ステップS305のNo)。 In step S305, the determination unit 35 determines whether the number of times the wireless communication unit 31 notifies the surroundings of the setting beacon has reached a predetermined number of times. If the predetermined number of times has been reached, the control unit 36 is notified of this, and the process moves 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 repeats beacon transmission (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 broadcasting the setting beacon based on the notification from the determination unit 35 (the notification of step S305), and the control unit 36 notifies the wireless communication unit 31 of an instruction to stop broadcasting the setting beacon, and Notifies an instruction to switch the communication mode from notification mode to normal mode.

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

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

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

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

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

ステップS403にて、判断部35は、無線通信部31が受信した無線フレームが設定用ビーコンであるか否かを判断する。判断部35は、設定用ビーコンを受信した場合には、その旨を制御部36に通知する(ステップS403のYes)。一方、設定用ビーコンを受信していない場合には、ステップS402を繰り返す(ステップS403のNo)。 In step S403, the determining unit 35 determines whether the wireless frame received by the wireless communication unit 31 is a setting beacon. When the determination unit 35 receives the setting beacon, it 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 determining 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 own device. 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 includes an Element ID 51, a Length 52, an OUI 53, and a variable data area 54 (including setting information 55).

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

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

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

可変データ領域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). Further, the variable data area 54 includes setting information 55. The variable data area 54 also includes an area that can be used by setting specifications unique to the manufacturer.

設定情報55は、さらに、第二SSID56、セキュリティ方式57、および鍵情報58を含む。 Setting information 55 further includes second SSID 56, security method 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 an SSID (for example, “Infra1”) that the user sets in the communication device 1 for wireless communication. ).

セキュリティ方式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 (eg, WPA2-PSK) that the user sets in the communication device 1 for wireless communication. Here, the security method is a method that generates an encryption key based on a secret code that is shared in advance by another means when encrypting communication, and a method that performs 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 that the user sets in the communication device 1 for wireless communication. The key information 58 is composed of a combination of alphanumeric characters and symbols, such as "123456AB", for example.

図6は、本発明の実施の形態に係る通信システム100の通信装置1における無線通信のための初期設定を行う一連の処理を示すシーケンス図である。 FIG. 6 is a sequence diagram showing a series of processes for performing initial settings for wireless communication in the communication device 1 of the 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 (operates as a base device), and then inputs wireless initial setting information to communication devices 1b, 1c, and 1d ( A series of processes up to the initial settings required for wireless communication on the device (operating as a slave device) will be explained.

ステップS601にて、端末装置2によりユーザが入力した無線初期設定情報が通信リンク15を介して通信装置1aに入力される。 In step S601, 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.

ステップS602にて、通信装置1aは、ユーザの指示(例えば設定ツールを用いる、通信装置1aに備わるスイッチを長押しなど)により、通信モードが通常モードから通知モードに切り替わる。 In step S602, the communication mode of the communication device 1a is switched from the normal mode to the notification mode in response to a user's instruction (for example, using a setting tool, pressing and holding a switch provided on 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 performing 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 normal mode to learning mode in response to a user's instruction (for example, by pressing a switch provided on 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 a setting beacon. Specifically, the communication devices 1b, 1c, and 1d search for a beacon with a predetermined unique initial SSID (for example, @@@teaching@@@). Note that at this time, the security setting is set to "open (state not set)". That is, if the communication devices 1b, 1c, and 1d find a predetermined unique initial SSID by searching, they can immediately establish a wireless connection.

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

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

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

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

なお、図6において、ステップS605およびS606のシステム上の処理順序は問わない。 Note that 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, the communication device to which the terminal device is connected and the wireless initial setting information is inputted among the plurality of communication devices has been described as the base device. However, the implementation of the present invention is not limited to this. Not limited to. For example, regardless of the initial setting information from the terminal device, at the time of mode switching (such as when pressing and holding a switch), it is determined whether wireless initial setting information is stored in the storage section of the own device, and the information is stored. If it is determined that the device in question functions as a master device and no wireless initial setting information is stored, it may function as a slave device and follow the operation flow shown in FIG. 4. Alternatively, the initial setting information may be input by some method into one communication device functioning as the parent device by switching between the parent device and the child device using a physical setting means (such as a slide SW).

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

本発明は、複数の無線通信装置に対し、無線通信のための初期設定作業を効率的かつ簡便に行う場合に利用できる。 INDUSTRIAL APPLICATION This invention can be utilized when initializing work for wireless communication is performed efficiently and simply 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 Judgment 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 (4)

複数の通信装置を備える通信システムの、無線通信のための初期設定を行う処理において、親機として機能する通信装置であって、
予め決められた固有の初期SSID(Service Set IDentifier)および無線通信のために必要な初期設定情報である無線初期設定情報を保持する記憶部と、
前記無線初期設定情報をビーコンフレームに格納した設定用ビーコンを生成するビーコン生成部と、
前記初期SSIDを用いて、前記設定用ビーコンを自装置の周囲に報知する無線通信部と、
ユーザの指示に応じて通信モードを通常モードと通知モードとの間を切り替える通信モード切替部と、
前記通信モード切替部の前記通信モードが前記通知モードに設定されているか否かを判断する判断部と、
前記判断部による前記通知モードが設定されている旨の通知をもとに無線通信に用いる電波の送信出力値を第一送信出力値から第二送信出力値に変更し、前記無線通信部に前記第二送信出力値で前記設定用ビーコンを報知するように制御する制御部と、
を備える通信装置。
A communication device that functions as a base device in a process of performing initial settings for wireless communication in a communication system including a plurality of communication devices,
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 configuration beacon in which the wireless initial configuration information is stored in a beacon frame;
a wireless communication unit that uses the initial SSID to broadcast the setting beacon to the surroundings of the own device;
a communication mode switching unit that switches the communication mode between a normal mode and a notification 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 notification mode;
Based on the notification from the determination unit that the notification mode is set, 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, and the a control unit that controls the setting beacon to notify with a second transmission output value;
A communication device comprising:
前記判断部は、さらに前記無線通信部が前記設定用ビーコンを周囲に報知する回数が予め決められた所定の回数に達したか否かを判断し、
前記判断部よる前記所定の回数に達した旨の通知をもとに、前記制御部は無線通信部に前記設定用ビーコンの報知を停止する指示を通知するとともに、前記通信モード切替部は、前記通信モードを前記通常モードに切り替える
請求項1に記載の通信装置。
The determining unit further determines whether 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 broadcasting of the setting beacon, and the communication mode switching unit The communication device according to claim 1, wherein the communication mode is switched to the 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 output value is smaller than the first transmission output value, and is the minimum value that the notification radio waves in the communication system can reach.
The communication device according to claim 1 or 2.
他の通信装置との間で無線通信のための初期設定を行う通信システムの通信方法であって、
予め決められた固有の初期SSID(Service Set IDentifier)および無線通信のために必要な初期設定情報である無線初期設定情報を保持する記憶ステップと、
前記無線初期設定情報をビーコンフレームに格納し設定用ビーコンを生成するビーコン生成ステップと、
前記初期SSIDを用いて、前記設定用ビーコンを自装置の周囲に報知する無線通信ステップと、
ユーザの指示に応じて通信モードを通常モードから通知モードに切り替える通信モード切替ステップと、
前記通信モードが前記通知モードに設定されているか否かを判断する判断ステップと、
前記通知モードが設定されている旨の通知をもとに無線通信に用いる電波の送信出力値を第一送信出力値からより小さい第二送信出力値に変更し、前記第二送信出力値で前記設定用ビーコンを報知するように制御する制御ステップと、
を含む通信方法。
A communication method for a communication system that performs initial settings for wireless communication with another communication device,
a storing step of storing 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 step of storing the wireless initial setting information in a beacon frame and generating a setting beacon;
a wireless communication step of broadcasting the setting beacon around the device using the initial SSID;
a communication mode switching step of switching the communication mode from normal mode to notification mode according to a user's instruction;
a determining step of determining whether the communication mode is set to the notification mode;
Based on the notification that the notification mode is set, the transmission output value of radio waves used for wireless communication is changed from the first transmission output value to a smaller second transmission output value, and the second transmission output value is changed to the second transmission output value. a control step for controlling the setting beacon to notify;
methods of communication, 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 JP2023006903A (en) 2023-01-18
JP2023006903A5 JP2023006903A5 (en) 2023-11-16
JP7445985B2 true 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)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080109880A1 (en) 2006-11-03 2008-05-08 Asustek Computer Inc. Wireless local area network system and related method, station, and access point

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080109880A1 (en) 2006-11-03 2008-05-08 Asustek Computer Inc. Wireless local area network system and related method, station, and access point

Also Published As

Publication number Publication date
JP2023006903A (en) 2023-01-18

Similar Documents

Publication Publication Date Title
CN103379589B (en) Wireless communication system, wireless communications method and wireless terminal
EP2034777B1 (en) Wireless connecting system for connecting network apparatus to wireless network and network apparatus used in wireless connecting system
EP2645775A2 (en) Communication device
CN103841626A (en) Internet of Things wireless terminal, configuration method thereof and mobile terminal
CN101668290A (en) Method and device for configuring wireless local area network (WLAN)
CN105407450A (en) Intelligent equipment, electronic device, and network connection method based on near-field communication
JP6263962B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
CN104168625A (en) Intelligent device, method for connecting intelligent device to wireless routing device, and wireless routing device
CN103634795A (en) Wireless communication apparatus and method
RU2018108832A (en) CELLULAR WLAN CONTROLLER, WLAN DEVICE AND WORK METHOD FOR PREPARING A WLAN
US11140549B2 (en) Information processing apparatus and information processing method
JP7218145B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
US20150312945A1 (en) Apparatus and method for managing instant connection based on wireless local area network
EP3266227A1 (en) Communication device, communication method, communication system, and computer program product
JP5895678B2 (en) Wireless communication system and wireless communication method
TW201528862A (en) Network configuration method and wireless networking system
JP2019068249A (en) Communication apparatus, control method, and program
JP2008104076A (en) COMMUNICATION PARAMETER SETTING METHOD, COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP7445985B2 (en) Communication device, communication system, and communication method
JP6597976B2 (en) Peripheral device relay device and image display system
CN107360566B (en) Type-based uplink data encryption control method and device for Internet of things terminal
JP6781468B2 (en) Image relay device, image display system, and communication terminal
JP2020088580A (en) Information processing apparatus, control method, and program
JP6475207B2 (en) Wireless communication apparatus, method and program
JP6145062B2 (en) Relay device, transmission control method, and computer 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