JP2018182572A - Mobile terminal, communication system, communication method, and program - Google Patents

Mobile terminal, communication system, communication method, and program Download PDF

Info

Publication number
JP2018182572A
JP2018182572A JP2017080838A JP2017080838A JP2018182572A JP 2018182572 A JP2018182572 A JP 2018182572A JP 2017080838 A JP2017080838 A JP 2017080838A JP 2017080838 A JP2017080838 A JP 2017080838A JP 2018182572 A JP2018182572 A JP 2018182572A
Authority
JP
Japan
Prior art keywords
communication
information
connection information
access point
information indicating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017080838A
Other languages
Japanese (ja)
Inventor
増田 明
Akira Masuda
明 増田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2017080838A priority Critical patent/JP2018182572A/en
Publication of JP2018182572A publication Critical patent/JP2018182572A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a mobile terminal, communication system, communication method, and program that can efficiently perform a process to cause an apparatus to connect with an AP when there are a plurality of APs.SOLUTION: A mobile terminal of the present invention includes storage means, communication means, and communication control means. The storage means stores connection information on each of a plurality of access points. The communication means obtains apparatus type information and installation information from an apparatus. The communication control means maintains control to perform either a first communication process to transmit all the connection information stored in the storage means to the apparatus on the basis of the apparatus type information or a second communication process to transmit the connection information on an access point with the highest radio wave intensity to the apparatus on the basis of the installation information.SELECTED DRAWING: Figure 5

Description

本発明は、携帯端末、通信システム、通信方法およびプログラムに関する。   The present invention relates to a mobile terminal, a communication system, a communication method, and a program.

端末や機器をネットワークに接続するためのアクセスポイント(以下、「AP」と称する場合がある)と、アクセスポイントに繋ぎに行く側の機器を示すステーション(以下、「STA」と称する場合がある)を無線LANで接続させるWi-Fi技術に関して、近年普及してきているタブレットやスマートフォンなどのスマートデバイス(携帯端末)を用いて、STAをAPに接続させるDevice Provisioning Protocol(以下、「DPP」と称する)という技術の仕様がWi-Fi Allianceによって策定中である。   An access point (hereinafter sometimes referred to as "AP") for connecting a terminal or device to a network and a station indicating a device to be connected to the access point (hereinafter sometimes referred to as "STA") Device Provisioning Protocol (hereinafter referred to as “DPP”) for connecting an STA to an AP using a smart device (portable terminal) such as a tablet or a smartphone that has become widespread in recent years with regard to Wi-Fi technology for connecting The specification of the technology is being formulated by the Wi-Fi Alliance.

DPPでは、スマートデバイスはAPの接続情報をAPから取得し、STAに渡すことで、STAをAPに接続させる。しかし複数のAPが存在し、スマートデバイスが複数の接続情報を持つ場合、STAの性質や設置状況によって、接続情報を渡すタイミングや、どの接続情報を渡すかなどをコントロールする必要があるが、DPPではそれらをコントロールすることができない。したがって、複数のAPが存在する場合にSTA(機器)をAPへ接続させる処理を効率的に実施できないという問題がある。   In DPP, the smart device obtains AP connection information from the AP, passes the information to the STA, and causes the STA to connect to the AP. However, when there are multiple APs and the smart device has multiple connection information, it is necessary to control the timing of passing the connection information and which connection information to pass depending on the nature and installation status of the STA, but DPP So you can not control them. Therefore, there is a problem that the process of connecting the STA (device) to the AP can not be efficiently performed when there are a plurality of APs.

本発明は、上記に鑑みてなされたものであって、複数のAPが存在する場合に機器をAPへ接続させる処理を効率的に実施可能な携帯端末、通信システム、通信方法およびプログラムを提供することを目的とする。   The present invention has been made in view of the above, and provides a mobile terminal, a communication system, a communication method, and a program capable of efficiently executing a process of connecting a device to an AP when there are a plurality of APs. The purpose is

上述した課題を解決し、目的を達成するために、本発明は、機器をアクセスポイントに接続させる携帯端末であって、複数の前記アクセスポイントごとの該アクセスポイントに接続するための情報を示す接続情報を記憶する記憶手段と、前記機器から、前記機器の種別を示す機器種別情報と、前記機器が所定の位置に設置されているか否かを示す設置情報と、を取得する通信手段と、前記機器種別情報に基づく、前記記憶手段に記憶された全ての前記接続情報を前記機器へ送信する第1の通信処理、および、前記設置情報に基づく、信号強度が最も高い前記アクセスポイントの前記接続情報を前記機器へ送信する第2の通信処理のうちの何れかを実行する制御を行う通信制御手段と、を備える携帯端末である。   In order to solve the problems described above and to achieve the object, the present invention is a portable terminal for connecting an apparatus to an access point, the connection showing information for connecting to the access point for each of the plurality of access points. Communication means for acquiring, from the device, device type information indicating the type of the device, and installation information indicating whether the device is installed at a predetermined position, from storage means for storing information; First communication processing for transmitting all the connection information stored in the storage unit to the device based on the device type information, and the connection information of the access point having the highest signal strength based on the installation information Communication control means for performing control to execute any one of the second communication processes for transmitting to the device.

本発明によれば、複数のAPが存在する場合に機器をAPへ接続させる処理を効率的に実施できる。   According to the present invention, the process of connecting a device to an AP can be efficiently performed when there are a plurality of APs.

図1は、従来の通信システムの一例を示す図である。FIG. 1 is a diagram showing an example of a conventional communication system. 図2は、従来の課題を説明するための図である。FIG. 2 is a diagram for explaining a conventional problem. 図3は、実施形態の通信システムの構成の一例を示す図である。FIG. 3 is a diagram showing an example of the configuration of the communication system of the embodiment. 図4は、実施形態のスマートデバイスのハードウェア構成の一例を示す図である。FIG. 4 is a diagram illustrating an example of a hardware configuration of the smart device according to the embodiment. 図5は、実施形態のスマートデバイスが有する機能の一例を示す図である。FIG. 5 is a diagram illustrating an example of functions of the smart device according to the embodiment. 図6は、UI画面の一例を示す図である。FIG. 6 is a diagram showing an example of the UI screen. 図7は、RSSIリストの一例を示す図である。FIG. 7 is a diagram showing an example of the RSSI list. 図8は、実施形態のスマートデバイスの動作例を示すフローチャートである。FIG. 8 is a flowchart illustrating an operation example of the smart device according to the embodiment. 図9は、実施形態のヒーターが有する機能の一例を示す図である。Drawing 9 is a figure showing an example of the function which the heater of an embodiment has. 図10は、実施形態の通信システムの動作手順の一例を示すシーケンス図である。FIG. 10 is a sequence diagram showing an example of an operation procedure of the communication system of the embodiment.

以下、添付図面を参照しながら、本発明に係る携帯端末、通信システム、通信方法およびプログラムの実施形態を詳細に説明する。   Hereinafter, embodiments of a portable terminal, a communication system, a communication method, and a program according to the present invention will be described in detail with reference to the attached drawings.

実施形態の具体的な内容を説明する前に、前提となるDPPについて説明する。図1は、DPPが適用される通信システムの一例を示す図である。図1に示す通信システムは、APと、スマートデバイス(携帯端末)と、DPP対応デバイスであるヒーター(STAの一例)と、を含む。   Before describing the specific contents of the embodiment, the premised DPP will be described. FIG. 1 is a diagram illustrating an example of a communication system to which DPP is applied. The communication system illustrated in FIG. 1 includes an AP, a smart device (mobile terminal), and a heater (an example of a STA) that is a DPP compatible device.

DPPとは、STA(図1の例ではヒーター)を、スマートデバイスを使ってネットワークに参加させる規格である。DPP対応デバイスは、公開鍵暗号方式で外部機器と通信可能である。DPP対応デバイスは、対になる秘密鍵と公開鍵を所持しており、公開鍵を通信相手に渡し、秘密鍵は外部に漏れないように保持して、認証処理や暗号化された通信を行う。   DPP is a standard that causes a STA (a heater in the example of FIG. 1) to join a network using a smart device. The DPP compatible device can communicate with an external device by public key encryption. The DPP-compliant device possesses a private key and a public key to be paired, passes the public key to the communication partner, holds the private key so as not to leak outside, and performs authentication processing and encrypted communication. .

DPP対応デバイスは、公開鍵を含む所定のコード情報(この例ではQRコード(登録商標))を持っている。スマートデバイスは、DPP対応デバイスのQRコード(登録商標)をスキャンすることで、該DPP対応デバイスの公開鍵を取得できる。スマートデバイスは、DPP対応デバイスから取得した公開鍵を使って認証処理、通信のための暗号鍵の生成を行う。   The DPP compatible device has predetermined code information (in this example, a QR code (registered trademark)) including a public key. The smart device can obtain the public key of the DPP compatible device by scanning the QR code (registered trademark) of the DPP compatible device. The smart device performs an authentication process and generates an encryption key for communication using the public key acquired from the DPP compatible device.

また、APは、該APに接続するための接続情報を含む所定のコード情報(この例ではQRコード(登録商標))を持っている。スマートデバイスは、APのQRコード(登録商標)をスキャンすることで、該APの接続情報を取得でき、その接続情報を使ってAPに接続することができる。また、スマートデバイスは、APから取得した接続情報をヒーターに渡すことで、ヒーターをAPに接続させることができる。ここでの接続情報は、DPPで規定されている、APへの接続に必要な情報である。例えば接続情報は、APを識別するためのSSID、パスフレーズ(セキュリティキー)、暗号化の種類、MACアドレスなどを含む。   Also, the AP has predetermined code information (in this example, a QR code (registered trademark)) including connection information for connecting to the AP. The smart device can obtain connection information of the AP by scanning a QR code (registered trademark) of the AP, and can connect to the AP using the connection information. Also, the smart device can connect the heater to the AP by passing the connection information acquired from the AP to the heater. The connection information here is information required for connection to the AP, which is defined by DPP. For example, the connection information includes an SSID for identifying the AP, a passphrase (security key), a type of encryption, a MAC address, and the like.

以下、DPPによる接続処理の流れの一例を説明する。(1)まず、スマートデバイスは、APのQRコード(登録商標)をスキャンして接続情報を取得し、その取得した接続情報を使ってAPと接続する。   Hereinafter, an example of the flow of connection processing by DPP will be described. (1) First, the smart device scans the QR code (registered trademark) of the AP to acquire connection information, and connects to the AP using the acquired connection information.

(2)次に、スマートデバイスは、ヒーターのQRコード(登録商標)をスキャンして公開鍵を取得する。(3)次に、スマートデバイスは、ヒーターとの間で認証処理を行い、通信を確立する。(4)次に、スマートデバイスは、APの接続情報をヒーターへ渡す(通信は暗号化されて行われる)。   (2) Next, the smart device scans the heater's QR code (registered trademark) to obtain a public key. (3) Next, the smart device performs an authentication process with the heater to establish communication. (4) Next, the smart device passes the connection information of the AP to the heater (communication is performed encrypted).

(5)ヒーターは、スマートデバイスから受け取った接続情報を使ってAPと接続する。このようにして、UIリッチなスマートデバイスを使うことでUIが乏しい(poorな)機器(IoT機器など)を簡単にネットワークに参加させることができる。   (5) The heater connects to the AP using the connection information received from the smart device. In this way, by using a UI rich smart device, devices with poor UI (poor) devices (such as IoT devices) can be easily joined to the network.

ここで、図2に示すように、通信システムが、複数のAP(AP1,AP2,AP3)と複数のSTA(STA1,STA2,STA3,STA4,STA5,STA6)を含む場合を想定する。6つのSTAを3つのAPを介してネットワークに接続させたい場合は、例えば、STA1/STA2をAP1に、STA3/STA4をAP2に、STA5/STA6をAP3に、接続させる場合が考えられる。そのように接続させたい場合、既存のDPP仕様では、以下のような処理が必要となる。   Here, as shown in FIG. 2, it is assumed that the communication system includes a plurality of APs (AP1, AP2, AP3) and a plurality of STAs (STA1, STA2, STA3, STA4, STA5, STA5, STA6). When it is desired to connect six STAs to a network through three APs, for example, it is conceivable to connect STA1 / STA2 to AP1, STA3 / STA4 to AP2, and STA5 / STA6 to AP3. If such connection is desired, the existing DPP specification requires the following process.

まず、STA1/STA2をAP1に接続する場合の処理について説明する。スマートデバイスは、AP1のQRコード(登録商標)をスキャンして接続情報を取得し、AP1と接続する。次に、スマートデバイスはSTA1のQRコード(登録商標)をスキャンして公開鍵を取得し、STA1との間で認証処理を行い、通信を確立する。そして、スマートデバイスは、AP1から取得した接続情報をSTA1へ渡し、STA1をAP1に接続させる。同様に、スマートデバイスはSTA2のQRコード(登録商標)をスキャンして公開鍵を取得し、STA2との間で認証処理を行い、通信を確立する。そして、スマートデバイスは、AP1から取得した接続情報をSTA2へ渡し、STA2をAP1に接続させる。   First, processing in the case of connecting STA1 / STA2 to AP1 will be described. The smart device scans the QR code (registered trademark) of AP1, acquires connection information, and connects to AP1. Next, the smart device scans the QR code (registered trademark) of STA1 to obtain a public key, performs authentication processing with STA1, and establishes communication. Then, the smart device passes the connection information acquired from the AP1 to the STA1, and connects the STA1 to the AP1. Similarly, the smart device scans the QR code (registered trademark) of STA2 to obtain a public key, performs authentication processing with STA2, and establishes communication. Then, the smart device passes the connection information acquired from the AP1 to the STA2, and connects the STA2 to the AP1.

次に、STA3/STA4をAP2に接続する場合の処理について説明する。スマートデバイスは、AP2のQRコード(登録商標)をスキャンして接続情報を取得し、AP2と接続する。次に、スマートデバイスはSTA3のQRコード(登録商標)をスキャンして公開鍵を取得し、STA3との間で認証処理を行い、通信を確立する。そして、スマートデバイスは、AP2から取得した接続情報をSTA3へ渡し、STA3をAP2に接続させる。同様に、スマートデバイスはSTA4のQRコード(登録商標)をスキャンして公開鍵を取得し、STA4との間で認証処理を行い、通信を確立する。そして、スマートデバイスは、AP2から取得した接続情報をSTA4へ渡し、STA4をAP2に接続させる。   Next, processing in the case of connecting STA3 / STA4 to AP2 will be described. The smart device scans the QR code (registered trademark) of AP2 to obtain connection information, and connects with AP2. Next, the smart device scans the QR code (registered trademark) of STA3 to obtain a public key, performs authentication processing with STA3, and establishes communication. Then, the smart device passes the connection information acquired from the AP 2 to the STA 3 and connects the STA 3 to the AP 2. Similarly, the smart device scans the QR code (registered trademark) of the STA 4 to obtain a public key, performs authentication processing with the STA 4, and establishes communication. Then, the smart device passes the connection information acquired from the AP 2 to the STA 4 and connects the STA 4 to the AP 2.

次に、STA5/STA6をAP3に接続する場合の処理について説明する。スマートデバイスは、AP3のQRコード(登録商標)をスキャンして接続情報を取得し、AP3と接続する。次に、スマートデバイスはSTA5のQRコード(登録商標)をスキャンして公開鍵を取得し、STA5との間で認証処理を行い、通信を確立する。そして、スマートデバイスは、AP3から取得した接続情報をSTA5へ渡し、STA5をAP3に接続させる。同様に、スマートデバイスはSTA6のQRコード(登録商標)をスキャンして公開鍵を取得し、STA6との間で認証処理を行い、通信を確立する。そして、スマートデバイスは、AP3から取得した接続情報をSTA6へ渡し、STA6をAP3に接続させる。   Next, processing in the case of connecting STA5 / STA6 to AP3 will be described. The smart device scans the QR code (registered trademark) of AP3 to obtain connection information, and connects with AP3. Next, the smart device scans the QR code (registered trademark) of the STA 5 to obtain a public key, performs authentication processing with the STA 5, and establishes communication. Then, the smart device passes the connection information acquired from the AP 3 to the STA 5 and connects the STA 5 to the AP 3. Similarly, the smart device scans the QR code (registered trademark) of the STA 6 to obtain a public key, performs authentication processing with the STA 6, and establishes communication. Then, the smart device passes the connection information acquired from the AP 3 to the STA 6 to connect the STA 6 to the AP 3.

以上のように、スマートデバイスは、STAを接続させたいAPをスキャンし、その後にSTAをスキャンするという操作を繰り返す必要がある。操作対象のSTAをどのAPに接続させたいかによって、スキャンするAPを変える、という操作は煩雑である。また、ユーザがどのAPにどのSTAを接続させるかを意識して作業しなければならず、操作ミスが起こる可能性がある。また、オフィスなどでは、STAをどのAPに接続させるかはある程度自由でよい、という利用シーンがよくあり、その場合は、ユーザが接続先APを意識して操作する、ということが無駄な手間となってしまう。これは、R-wan接続の場合も同様であり、どのAPに接続したとしてもR-wanに繋がることができれば問題ない。   As described above, the smart device has to repeat the operation of scanning for an AP to which the STA is to be connected and then scanning the STA. The operation of changing the AP to be scanned is complicated depending on which AP wants to connect the STA to be operated. In addition, the user must be aware of which AP is connected to which STA, which may cause an operation error. In addition, in the office etc., there is often a usage scene that it is sufficient to which AP to connect the STA to a certain extent, and in that case, it is a waste of time and effort that the user consciously operates the connection destination AP. turn into. This is the same as in the case of the R-wan connection, and there is no problem as long as it can be connected to the R-wan no matter which AP it is connected to.

なお、上記利用シーンは、同じSSID、パスフレーズのAPが複数台あり、STAはどれに接続してもよい、という場合である。既存のWi-Fiでは、SSID、パスフレーズ、無線認証暗号方式が一致していれば、電波強度が強いAPに自動的に接続され、バランスよく振り分けられる。しかしDPPでは、同じSSID、パスフレーズ、無線認証暗号方式であっても、APごとにIDが割り当てられて互いに区別されるため、それぞれのAPの接続情報を持っている必要があるので(AP1に接続するためには、AP1の接続情報を持っている必要がある。)、既存のWi-Fiのように、電波強度で振り分けるということができない。   The above usage scene is a case where there are a plurality of APs of the same SSID and passphrase, and the STA may be connected to any of them. In the existing Wi-Fi, if the SSID, the passphrase, and the wireless authentication encryption method match, it is automatically connected to an AP with a strong field strength and distributed in a well-balanced manner. However, in DPP, even with the same SSID, passphrase, and wireless authentication encryption method, IDs are assigned to each AP and they are distinguished from each other, so it is necessary to have connection information of each AP (in AP1 In order to make a connection, it is necessary to have connection information of AP1.) It can not be distributed by radio wave strength like existing Wi-Fi.

上記の課題点を鑑みて、AP1〜3の接続情報を最初にまとめてスマートデバイスが取得し、その後STAに配布する、という方法を取ることができると、便利である。しかし既存のDPPの仕様では、複数のAPの接続情報をスマートデバイスがまとめて持っている場合に、STAにどの接続情報を渡すべきか判別できず、このようなケースに対応できない。   In view of the above problems, it is convenient if it is possible to take a method in which the smart device first acquires connection information of AP 1 to 3 first and then distributes to STAs. However, according to the existing DPP specifications, when the smart device collectively has connection information of a plurality of APs, it can not determine which connection information should be passed to the STA, and such a case can not be coped with.

そこで、本実施形態では、スマートデバイスは、機器の種別を示す機器種別情報と、機器が所定の位置に設置されているか否かを示す設置情報とをSTAから取得する。そして、スマートデバイスは、その取得した機器種別情報が携帯端末(モバイルデバイス)であることを示す場合、手持ちの全てのAPの接続情報をSTAへ送信する第1の通信処理を実行し、その取得した機器種別情報がモバイルデバイスでないことを示し、かつ、取得した設置情報が所定の位置に設置されていることを示す(設置済みであることを示す)場合、電波の強度が最も高いAPの接続情報をSTAへ送信する第2の通信処理を実行する。   Therefore, in the present embodiment, the smart device acquires, from the STA, device type information indicating the type of device and installation information indicating whether the device is installed at a predetermined position. Then, when the acquired device type information indicates that the acquired device type information is a portable terminal (mobile device), the smart device executes a first communication process for transmitting connection information of all the APs on hand to the STA, and acquires the communication information. If the device type information indicates that the device is not a mobile device, and if the acquired installation information indicates that the device is installed at a predetermined position (indicating that it has been installed), the connection of the AP with the highest radio wave strength is used. A second communication process is performed to transmit information to the STA.

以下、本実施形態の具体的な内容を説明する。   Hereinafter, specific contents of the present embodiment will be described.

図3は、本実施形態の通信システム1の構成の一例を示す図である。図3に示すように、通信システム1は、2つのAP10(10−a,10−b)と、スマートデバイス20と、4つのヒーター30(30−a,30−b,30−c,30−d)と、を含む。   FIG. 3 is a diagram showing an example of the configuration of the communication system 1 of the present embodiment. As shown in FIG. 3, the communication system 1 includes two APs 10 (10-a, 10-b), a smart device 20, and four heaters 30 (30-a, 30-b, 30-c, 30- d) and.

なお、この例では、STAの一例としてヒーターを挙げているが、これに限られるものではない。以下の説明では、AP10−aおよびAP10―bを互いに区別しない場合は単に「AP10」と称し、ヒーター30−a、30−b、30−cおよび30−dの各々を互いに区別しない場合は単に「ヒーター30」と称する。   In this example, although a heater is mentioned as an example of STA, it is not restricted to this. In the following description, AP10-a and AP10-b are simply referred to as "AP10" when they are not distinguished from one another, and simply when they are not distinguished from one another between heaters 30-a, 30-b, 30-c and 30-d. It is called "heater 30".

図4は、「携帯端末」の一例であるスマートデバイス20のハードウェア構成の一例を示す図である。図4に示すように、スマートデバイス20は、CPU(Central Processing Unit)21と、ROM(Read Only Memory)22と、RAM(Random Access Memory)23と、HDD(Hard Disc Drive)24と、入力部25と、表示部26と、通信I/F(インタフェース)27と、を備える。なお、AP10やSTA(この例ではヒーター30)のハードウェア構成も、図4と同様である。また、例えばスマートデバイス20の場合は、撮像部(カメラ)などをさらに備える形態であってもよい。   FIG. 4 is a diagram illustrating an example of a hardware configuration of the smart device 20 which is an example of the “mobile terminal”. As shown in FIG. 4, the smart device 20 includes a central processing unit (CPU) 21, a read only memory (ROM) 22, a random access memory (RAM) 23, a hard disc drive (HDD) 24, and an input unit. 25, a display unit 26, and a communication I / F (interface) 27. The hardware configuration of the AP 10 and STA (in this example, the heater 30) is also the same as that shown in FIG. Further, for example, in the case of the smart device 20, the form may further include an imaging unit (camera) or the like.

CPU21は、プログラムを実行することにより、スマートデバイス20の動作を統括的に制御し、スマートデバイス20が有する各種の機能を実現する。スマートデバイス20が有する各種の機能については後述する。   The CPU 21 controls the operation of the smart device 20 in a centralized manner by executing a program to realize various functions of the smart device 20. Various functions of the smart device 20 will be described later.

ROM22は、不揮発性のメモリであり、スマートデバイス20を起動させるためのプログラムを含む各種データ(スマートデバイス20の製造段階で書き込まれる情報)を記憶する。RAM23は、CPU21の作業領域を有する揮発性のメモリである。HDDは、補助記憶装置の一例であり、CPU21が実行するプログラム等の各種データを記憶する。   The ROM 22 is a non-volatile memory, and stores various data (information written at the manufacturing stage of the smart device 20) including a program for activating the smart device 20. The RAM 23 is a volatile memory having a work area of the CPU 21. The HDD is an example of an auxiliary storage device, and stores various data such as a program executed by the CPU 21.

入力部25は、スマートデバイス20を使用するユーザが各種の操作を行うためのデバイスである。表示部26は、各種の情報を表示するデバイスである。表示部26は、例えば液晶ディスプレイ、有機EL(Electro Luminescence)ディスプレイ等で構成される。なお、例えばタッチパネルのような形態で、入力部25と表示部26が一体に構成されてもよい。   The input unit 25 is a device for the user using the smart device 20 to perform various operations. The display unit 26 is a device that displays various types of information. The display unit 26 is configured of, for example, a liquid crystal display, an organic EL (Electro Luminescence) display, or the like. The input unit 25 and the display unit 26 may be integrally configured, for example, in the form of a touch panel.

通信I/F27は、外部機器(AP10やヒーター30等)と通信するためのインタフェースである。   The communication I / F 27 is an interface for communicating with an external device (such as the AP 10 or the heater 30).

図5は、スマートデバイス20が有する機能の一例を示す図である。図5に示すように、スマートデバイス20は、無線通信部201、接続情報取得部202、接続情報格納部203、通信制御部204、公開鍵取得部205、UI部206を有する。   FIG. 5 is a diagram illustrating an example of the function of the smart device 20. As shown in FIG. 5, the smart device 20 includes a wireless communication unit 201, a connection information acquisition unit 202, a connection information storage unit 203, a communication control unit 204, a public key acquisition unit 205, and a UI unit 206.

無線通信部201は、Wi-Fiの接続処理や無線の通信を行う。この例では、無線通信部201は、「通信手段」の一例であり、ヒーター30(機器の一例)から、機器の種別を示す機器種別情報と、機器が所定の位置に設置されているか否かを示す設置情報と、を取得する機能を有する。スマートデバイス20とヒーター30との間の通信が確立すると、ヒーター30は、前述の機器識別情報と前述の設置情報とを含む情報パケットをスマートデバイス20へ送信し、無線通信部201は、この情報パケットを受信する。ここでは、無線通信部201の機能は、CPU21がプログラムを実行して通信I/F27を制御することにより実現される。   The wireless communication unit 201 performs Wi-Fi connection processing and wireless communication. In this example, the wireless communication unit 201 is an example of the “communication means”, and from the heater 30 (an example of the device), device type information indicating the type of the device and whether the device is installed at a predetermined position And setting information indicating. When communication between the smart device 20 and the heater 30 is established, the heater 30 transmits an information packet including the above-described device identification information and the above-described installation information to the smart device 20, and the wireless communication unit 201 Receive a packet. Here, the function of the wireless communication unit 201 is realized by the CPU 21 executing a program to control the communication I / F 27.

接続情報取得部202は、「接続情報取得手段」の一例であり、AP10から接続情報(該AP10に接続するための情報)を取得する。より具体的には、接続情報取得部202は、AP10に設けられた所定のコード情報(この例ではQRコード(登録商標))を読み取ることで接続情報を取得する。本実施形態では、接続情報取得部202は、スマートデバイス20とヒーター30との間の通信が確立する前の段階で(後述するヒーター30のQRコード(登録商標)を読み取る前の段階で)、AP10−aの接続情報と、AP10−bの接続情報とを予め取得しておく。ここでは、接続情報取得部202の機能は、CPU21がプログラムを実行することにより実現される。また、例えばスマートデバイス20に、AP10のQRコード(登録商標)を読み取るための読み取り装置が設けられており、接続情報取得部202の機能は、CPU21がプログラムを実行して該読み取り装置を制御することにより実現されてもよい。   The connection information acquisition unit 202 is an example of “connection information acquisition means”, and acquires connection information (information for connecting to the AP 10) from the AP 10. More specifically, the connection information acquisition unit 202 acquires connection information by reading predetermined code information (QR code (registered trademark) in this example) provided in the AP 10. In the present embodiment, the connection information acquisition unit 202 is at a stage before communication between the smart device 20 and the heater 30 is established (at a stage before reading a QR code (registered trademark) of the heater 30 described later), The connection information of the AP 10-a and the connection information of the AP 10-b are acquired in advance. Here, the function of the connection information acquisition unit 202 is realized by the CPU 21 executing a program. Further, for example, the smart device 20 is provided with a reading device for reading the QR code (registered trademark) of the AP 10, and the CPU 21 executes a program to control the reading device for the function of the connection information acquisition unit 202. May be realized.

接続情報格納部203は、「記憶手段」の一例であり、複数のAP10ごとの、該AP10に接続するための情報を示す接続情報を記憶する。この例では、接続情報格納部203は、接続情報取得部202により取得された、AP10−aの接続情報と、AP10−bの接続情報とを記憶する。   The connection information storage unit 203 is an example of a “storage unit”, and stores connection information indicating information for connecting to each of the plurality of APs 10 for connecting to the APs. In this example, the connection information storage unit 203 stores the connection information of the AP 10-a acquired by the connection information acquisition unit 202 and the connection information of the AP 10-b.

通信制御部204は、接続情報の制御やDPPに関する処理を実行する。ここでは、通信制御部204は「通信制御手段」の一例であり、ヒーター30から取得した機器種別情報に基づく、接続情報格納部203に記憶された全ての接続情報を該ヒーター30へ送信する第1の通信処理、および、該ヒーター30から取得した設置情報に基づく、電波の強度が最も高いAP10の接続情報を該ヒーター30へ送信する第2の通信処理のうちの何れかを実行する制御を行う。   The communication control unit 204 executes control of connection information and processing regarding DPP. Here, the communication control unit 204 is an example of the “communication control unit”, and transmits all the connection information stored in the connection information storage unit 203 to the heater 30 based on the device type information acquired from the heater 30. Control for executing any one of the second communication process of transmitting to the heater 30 the connection information of the AP 10 having the highest radio wave intensity based on the communication process of 1 and the installation information acquired from the heater 30 Do.

この例では、機器種別情報は、機器が携帯端末(モバイルデバイス)であるか否かを示す情報であり、通信制御部204は、機器種別情報がモバイルデバイスであることを示す場合、前述の第1の通信処理を実行する制御を行う。機器(STA)がモバイルデバイスの場合は、AP10へ接続後もSTAの位置が変化し、接続するAP10も変化していく可能性が高いということになるため、STAに対して1つのAP10の接続情報のみを渡すだけでは不十分である。そのため、スマートデバイス20が有する全ての接続情報をSTAに渡す制御を行う。   In this example, the device type information is information indicating whether the device is a portable terminal (mobile device), and the communication control unit 204 indicates that the device type information indicates that the device is a mobile device. Control to execute 1 communication processing is performed. When the device (STA) is a mobile device, the position of the STA changes even after connection to the AP 10, and there is a high possibility that the connected AP 10 also changes. Therefore, connection of one AP 10 to the STA Passing only information is not enough. Therefore, control is performed to pass all connection information possessed by the smart device 20 to the STA.

また、通信制御部204は、機器種別情報がモバイルデバイスでないことを示し、かつ、設置情報が所定の位置に設置されていることを示す場合(設置済みを示す場合)、前述の第2の通信処理を実行する制御を行う。機器(STA)が所定の位置に設置されているかどうかとは、STAが、現時点で既に設置されており、今後、位置が固定であるかどうかということを意味する。現時点で既に所定の位置に設置されている場合は、その後、STAでAP10のRSSI(電波強度)を測定し、その強度を元に接続先のAP10を選別するという後工程の処理を行うことができる。一方、まだ所定の位置に設置されておらず、今後も位置が動く可能性がある場合は、現時点のAP10のRSSIを測定しても、今後に設置された際にAP10との位置関係が変わり、RSSIも変わってしまうため、測定は行わない。   Further, when the communication control unit 204 indicates that the device type information is not a mobile device and indicates that the installation information is installed at a predetermined position (in a case where the installation information is installed), the above-described second communication Control to execute processing. Whether or not the device (STA) is installed at a predetermined position means that the STA is already installed at this point and whether the position is fixed from now on. If the current position has already been installed at a predetermined position, the STA may measure the RSSI (radio wave intensity) of the AP 10 and then perform the post-processing process of selecting the connection destination AP 10 based on that intensity. it can. On the other hand, if it is not installed at a predetermined position and there is a possibility that the position may move in the future, even if the RSSI of the current AP10 is measured, the positional relationship with the AP10 changes when installed in the future. , RSSI also changes, so measurement is not performed.

ここで、設置情報の値が、STA側でどのように決められるかを説明する。例えばSTAの設置後、ユーザがSTAのボタンを押下する、もしくはSTAのなんらかのUIから設置済みであることを設定する等の操作によって、STAが発信する情報パケットに含まれる設置情報の値を、「設置済み」であることを示す値にセットすることができる。STA側でUI機能を有していない場合は、該STAが発信する情報パケットに含まれる設置情報は「null(なし)」となる。この場合、スマートデバイス20が有するUI部206は、図6に示すような、対象のSTA(情報パケットを送信してきたSTA)が設置済みであるか、未設置であるかの入力を促すUI画面を表示する。UI部206は、設置済みの入力を受け付けた場合に、その旨を通信制御部204へ通知する。この通知を受けた通信制御部204は、前述の第2の通信処理を実行する制御を行う。   Here, how the value of the installation information is determined on the STA side will be described. For example, after the installation of the STA, the value of the installation information included in the information packet transmitted by the STA may be "set by the user pressing the button of the STA or setting that installation is done from some UI of the STA". It can be set to a value indicating "installed". If the STA side does not have a UI function, the installation information included in the information packet transmitted by the STA is "null". In this case, the UI unit 206 of the smart device 20 prompts the user to input whether the target STA (the STA that has transmitted the information packet) has been installed or not installed, as shown in FIG. Display When the UI unit 206 receives an input already installed, the UI unit 206 notifies the communication control unit 204 to that effect. The communication control unit 204 that has received this notification performs control to execute the second communication process described above.

前述の第2の通信処理を実行する場合、通信制御部204は、ヒーター30(STA)から取得した、AP10ごとに、ヒーター30が該AP10から受信する電波の強度を示す電波強度情報に基づいて、電波の強度が最も高いAP10を選択する。電波強度情報は、AP10ごとに、該AP10を識別するSSIDと、該AP10の電波強度を示すRSSIと、該AP10に紐付く一意な物理アドレスを示すMACアドレスとを対応付けた情報である。以下の説明では、この電波強度情報を「RSSIリスト」と称する場合がある。図7はRSSIリストの一例を示す図である。   When the second communication process described above is performed, the communication control unit 204 determines, for each AP 10 acquired from the heater 30 (STA), based on the radio wave intensity information indicating the intensity of the radio wave received from the AP 10 by the heater 30. , Select the AP10 with the highest radio wave strength. The radio wave intensity information is information in which an SSID for identifying the AP 10, an RSSI indicating the radio wave intensity of the AP 10, and a MAC address indicating a unique physical address linked to the AP 10 are associated for each AP 10. In the following description, this radio wave intensity information may be referred to as "RSSI list". FIG. 7 is a diagram showing an example of the RSSI list.

以下、スマートデバイス20がRSSIリストを取得する方法の一例を説明する。この例では、通信制御部204は、RSSIリストの取得を要求するパケット(以下の説明では、「RSSIリスト要求パケット」と称する)を、通信相手となるヒーター30へ送信する。このRSSIリスト要求パケットを受信したヒーター30は、周囲のAP10を検索するためのパケット(以下の説明では、「AP検索パケット」と称する)を発信し、このAP検索パケットを受信したAP10が応答パケットをヒーター30に返す。これにより、ヒーター30は周囲に存在するAP10を検出するとともに、AP10から受信する電波の強度を検出することができるので、前述のRSSIリストを作成することができる。そして、ヒーター30は、RSSIリスト要求パケットの応答として、RSSIリストをスマートデバイス20へ返信する。これにより、スマートデバイス20はRSSIリストをヒーター30から取得することができる。   Hereinafter, an example of a method in which the smart device 20 acquires the RSSI list will be described. In this example, the communication control unit 204 transmits a packet requesting acquisition of the RSSI list (referred to as an “RSSI list request packet” in the following description) to the heater 30 as the communication partner. The heater 30 receiving the RSSI list request packet transmits a packet for searching the surrounding AP 10 (hereinafter referred to as “AP search packet”), and the AP 10 receiving the AP search packet receives a response packet Is returned to the heater 30. As a result, the heater 30 can detect the APs 10 present around it and also detect the intensity of radio waves received from the APs 10, so that the aforementioned RSSI list can be created. Then, the heater 30 returns the RSSI list to the smart device 20 as a response to the RSSI list request packet. Thereby, the smart device 20 can acquire the RSSI list from the heater 30.

ここでは、以上に説明した通信制御部204の機能は、CPU21がプログラムを実行することにより実現される。   Here, the functions of the communication control unit 204 described above are realized by the CPU 21 executing a program.

図5の説明を続ける。公開鍵取得部205はヒーター30から公開鍵を取得する。ここでは、前述したようにDPP対応デバイスであるヒーター30は、公開鍵暗号方式で外部機器と通信可能である。ヒーター30は、対になる秘密鍵と公開鍵を所持しており、公開鍵を通信相手となるスマートデバイス20に渡し、秘密鍵は外部に漏れないように保持して、認証処理や暗号化された通信を行う。この例では、公開鍵取得部205は、ヒーター30に設けられた所定のコード情報(この例ではQRコード(登録商標))を読み取ることで公開鍵を取得し、通信制御部204は、公開鍵を取得したヒーター30との間で認証処理を行い、通信を確立する。ここでは、公開鍵取得部205の機能は、CPU21がプログラムを実行することにより実現される。また、例えばスマートデバイス20に、ヒーター30のQRコード(登録商標)を読み取るための読み取り装置が設けられており、公開鍵取得部205の機能は、CPU21がプログラムを実行して該読み取り装置を制御することにより実現されてもよい。   The description of FIG. 5 is continued. The public key acquisition unit 205 acquires the public key from the heater 30. Here, as described above, the heater 30, which is a DPP compatible device, can communicate with an external device by the public key encryption method. The heater 30 has a private key and a public key to be paired, passes the public key to the smart device 20 as a communication partner, holds the private key so as not to leak to the outside, and performs authentication processing or encryption. Communicate. In this example, the public key acquisition unit 205 acquires a public key by reading predetermined code information (QR code (registered trademark) in this example) provided in the heater 30, and the communication control unit 204 acquires the public key. The authentication process is performed with the heater 30 that has acquired the to establish communication. Here, the function of the public key acquisition unit 205 is realized by the CPU 21 executing a program. For example, the smart device 20 is provided with a reading device for reading the QR code (registered trademark) of the heater 30, and the function of the public key acquisition unit 205 is such that the CPU 21 executes a program to control the reading device It may be realized by

UI部206は、ユーザからの入力を受け付けるとともに、各種の情報(図6に示すUI画面等)を表示する制御を行う。ここでは、UI部206の機能は、CPU21がプログラムを実行して表示部26を制御することにより実現される。   The UI unit 206 performs control to display various information (a UI screen or the like shown in FIG. 6) while receiving an input from the user. Here, the function of the UI unit 206 is realized by the CPU 21 executing a program to control the display unit 26.

図8は、本実施形態のスマートデバイス20の動作例を示すフローチャートである。ここでは、スマートデバイス20と、任意の1つのヒーター30との通信が確立していることを前提とする。図8に示すように、まず、スマートデバイス20(無線通信部201)は、ヒーター30から情報パケットを受信する(ステップS1)。   FIG. 8 is a flowchart showing an operation example of the smart device 20 of the present embodiment. Here, it is assumed that communication between the smart device 20 and any one heater 30 has been established. As shown in FIG. 8, first, the smart device 20 (wireless communication unit 201) receives an information packet from the heater 30 (step S1).

次に、通信制御部204は、ステップS1で受信した情報パケットに含まれる機器種別情報がモバイルデバイスであることを示すか否かを確認する(ステップS2)。ステップS2の結果が肯定の場合(ステップS2:Yes)、通信制御部204は、接続情報格納部203に格納された全ての接続情報をヒーター30へ送信する(ステップS3)。   Next, the communication control unit 204 confirms whether the device type information included in the information packet received in step S1 indicates that the device is a mobile device (step S2). When the result of step S2 is affirmative (step S2: Yes), the communication control unit 204 transmits all the connection information stored in the connection information storage unit 203 to the heater 30 (step S3).

ステップS2の結果が否定の場合(ステップS2:No)、通信制御部204は、ステップS1で受信した情報パケットに設置情報が含まれるか否かを確認する(ステップS4)。ステップS4の結果が否定の場合(ステップS4:No)、通信制御部204は、UI部206に対して、前述のUI画面(例えば図6に示すUI画面)の表示を依頼する。この依頼を受けたUI部206は前述のUI画面を表示し、ユーザからの入力を受け付ける(ステップS5)。そして、設置済みの入力を受け付けた場合に(ステップS6:Yes)、処理は後述のステップS8に移行する。   When the result of step S2 is negative (step S2: No), the communication control unit 204 confirms whether or not the information packet received in step S1 includes the installation information (step S4). When the result of step S4 is negative (step S4: No), the communication control unit 204 requests the UI unit 206 to display the above-mentioned UI screen (for example, the UI screen shown in FIG. 6). The UI unit 206 having received this request displays the above-mentioned UI screen, and receives an input from the user (step S5). And when the input of installation completed is received (step S6: Yes), a process transfers to below-mentioned step S8.

上述のステップS4の結果が肯定の場合(ステップS4:Yes)、通信制御部204は、情報パケットに含まれる設置情報が設置済みを示すか否かを確認する(ステップS7)。ステップS7の結果が肯定の場合(ステップS7:Yes)、処理はステップS8に移行する。つまり、機器種別情報がスマートデバイスでないことを示し、かつ、設置情報が所定の位置に設置されていることを示す場合に限り、処理はステップS8に移行する。   When the result of the above-mentioned step S4 is affirmation (step S4: Yes), the communication control part 204 confirms whether the installation information included in the information packet shows installation completed (step S7). When the result of step S7 is affirmative (step S7: Yes), the process proceeds to step S8. That is, the process proceeds to step S8 only when the device type information indicates that the device is not a smart device and the installation information indicates that the device information is installed at a predetermined position.

ステップS8において、通信制御部204は、前述のRSSIリスト要求パケットを、通信相手となるヒーター30へ送信する制御を行い、その応答としてRSSIリストを取得する。そして、通信制御部204は、RSSIリストを参照して、電波の強度が最も高いAP10を選択する(ステップS9)。そして、通信制御部204は、ステップS9で選択したAP10の接続情報をヒーター30へ送信する制御を行う(ステップS10)。   In step S8, the communication control unit 204 performs control to transmit the above-mentioned RSSI list request packet to the heater 30 which is the communication partner, and acquires the RSSI list as a response. Then, the communication control unit 204 refers to the RSSI list to select the AP 10 having the highest radio wave strength (step S9). Then, the communication control unit 204 performs control to transmit the connection information of the AP 10 selected in step S9 to the heater 30 (step S10).

図9は、ヒーター30が有する機能の一例を示す図である。この例では、1つのヒーター30を例に挙げて説明するが、他のヒーター30についても同様である。図9に示すように、ヒーター30は、無線通信部301と、通信制御部302と、UI部303とを有する。無線通信部301は、Wi-Fiの接続処理や無線の通信を行う。通信制御部304は、接続情報の制御やDPPに関する処理を実行する。UI部303は、ユーザからの入力を受け付けるとともに、各種の情報を表示する制御を行う。   FIG. 9 is a view showing an example of the function of the heater 30. As shown in FIG. In this example, although one heater 30 is described as an example, the same applies to the other heaters 30. As shown in FIG. 9, the heater 30 has a wireless communication unit 301, a communication control unit 302, and a UI unit 303. The wireless communication unit 301 performs Wi-Fi connection processing and wireless communication. The communication control unit 304 executes control of connection information and processing regarding DPP. The UI unit 303 performs control to display various types of information as well as accepting input from the user.

図10は、スマートデバイス20と、1つのヒーター30との通信が確立している場合に、スマートデバイス20が前述の第2の通信処理を行って、該ヒーター30をAP10に接続させる場合の動作手順の一例を示すシーケンス図である。   FIG. 10 shows an operation when the smart device 20 performs the above-mentioned second communication process to connect the heater 30 to the AP 10 when communication between the smart device 20 and one heater 30 is established. It is a sequence diagram which shows an example of a procedure.

まず、ヒーター30の無線通信部301は、前述の情報パケットをスマートデバイス20へ送信する(ステップS101)。スマートデバイス20の無線通信部201は、ヒーター30から受信した情報パケットを通信制御部204へ渡す(ステップS102)。通信制御部204は、情報パケットに設置情報が含まれているか否かを確認する(ステップS103)。以下、ステップS103の結果が否定の場合を説明する。この場合、通信制御部204は、UI部206に対して、前述のUI画面の表示を依頼する(ステップS104)。この依頼を受けたUI部206はUI画面を表示し、ユーザからの入力を受け付ける(ステップS105)。UI部206は、設置済みの入力を受け付けた場合、その旨を通信制御部204へ通知する(ステップS106)。   First, the wireless communication unit 301 of the heater 30 transmits the aforementioned information packet to the smart device 20 (step S101). The wireless communication unit 201 of the smart device 20 passes the information packet received from the heater 30 to the communication control unit 204 (step S102). The communication control unit 204 confirms whether the information packet includes the installation information (step S103). Hereinafter, the case where the result of step S103 is negative will be described. In this case, the communication control unit 204 requests the UI unit 206 to display the aforementioned UI screen (step S104). The UI unit 206 having received this request displays a UI screen, and receives an input from the user (step S105). When the UI unit 206 receives an input already installed, the UI unit 206 notifies the communication control unit 204 to that effect (step S106).

前述のステップS103の結果が肯定の場合、または、前述のステップS106の通知を受けた場合、通信制御部204は前述の第2の通信処理を実行する制御を行う。具体的には以下のとおりである。まず、通信制御部204は、無線通信部201に対して、前述のRSSIリスト要求パケットの送信を依頼する(ステップS107)。この依頼を受けた無線通信部201は、RSSIリスト要求パケットをヒーター30へ送信する(ステップS108)。   If the result of the above-described step S103 is affirmative, or if the notification of the above-mentioned step S106 is received, the communication control unit 204 performs control to execute the above-mentioned second communication process. Specifically, it is as follows. First, the communication control unit 204 requests the wireless communication unit 201 to transmit the aforementioned RSSI list request packet (step S107). The wireless communication unit 201 having received this request transmits the RSSI list request packet to the heater 30 (step S108).

ヒーター30の無線通信部301は、スマートデバイス20から受信したRSSIリスト要求パケットを通信制御部302へ渡す(ステップS109)。次に、通信制御部302は、無線通信部301に対して、前述のAP検索パケットの発信を依頼する(ステップS110)。この依頼を受けた無線通信部301は、AP検索パケットを発信する(ステップS111)。そして、その結果(AP検索パケットに対する応答パケット等)を通信制御部302へ通知する(ステップS112)。通信制御部302は、その結果に基づき、RSSIリストを作成する(ステップS113)。そして、通信制御部302は、無線通信部301に対して、RSSIリストの送信を依頼し(ステップS114)、この依頼を受けた無線通信部301は、RSSIリスト要求パケットに対する応答として、RSSIリストをスマートデバイス20へ送信する(ステップS115)。   The wireless communication unit 301 of the heater 30 passes the RSSI list request packet received from the smart device 20 to the communication control unit 302 (step S109). Next, the communication control unit 302 requests the wireless communication unit 301 to transmit the above-described AP search packet (step S110). Upon receiving the request, the wireless communication unit 301 transmits an AP search packet (step S111). Then, the result (a response packet to the AP search packet, etc.) is notified to the communication control unit 302 (step S112). The communication control unit 302 creates an RSSI list based on the result (step S113). Then, the communication control unit 302 requests the wireless communication unit 301 to transmit the RSSI list (step S114), and the wireless communication unit 301 having received the request transmits the RSSI list as a response to the RSSI list request packet. It transmits to the smart device 20 (step S115).

スマートデバイス20の無線通信部201は、ヒーター30から受信したRSSIリストを通信制御部204へ渡す(ステップS116)。通信制御部204は、RSSIリストを参照して、電波の強度が最も高いAP10を選択する(ステップS117)。そして、通信制御部204は、無線通信部201に対して、ステップS117で選択したAP10の接続情報の送信を依頼する(ステップS118)。この依頼を受けた無線通信部201は、ステップS117で選択されたAP10の接続情報をヒーター30へ送信する(ステップS119)。   The wireless communication unit 201 of the smart device 20 passes the RSSI list received from the heater 30 to the communication control unit 204 (step S116). The communication control unit 204 refers to the RSSI list to select the AP 10 having the highest radio wave strength (step S117). Then, the communication control unit 204 requests the wireless communication unit 201 to transmit the connection information of the AP 10 selected in step S117 (step S118). The wireless communication unit 201 having received this request transmits the connection information of the AP 10 selected in step S117 to the heater 30 (step S119).

ヒーター30の無線通信部301は、スマートデバイス20から受信した接続情報を通信制御部302へ渡す(ステップS120)。そして、通信制御部302は、その接続情報を用いてAP10に接続することを無線通信部301に依頼する(ステップS121)。この依頼を受けた無線通信部301は、接続情報を用いてAP10に接続するための処理を行う(ステップS122)。   The wireless communication unit 301 of the heater 30 passes the connection information received from the smart device 20 to the communication control unit 302 (step S120). Then, the communication control unit 302 requests the wireless communication unit 301 to connect to the AP 10 using the connection information (step S121). The wireless communication unit 301 having received this request performs processing for connecting to the AP 10 using the connection information (step S122).

以上に説明したように、本実施形態のスマートデバイス20は、複数のAP10の各々の接続情報を予め取得しておき、通信が確立したヒーター30から、機器の種別を示す機器種別情報と、機器が所定の位置に設置されているか否かを示す設置情報とを取得する。そして、スマートデバイス20は、その取得した機器種別情報がモバイルデバイスであることを示す場合は、手持ちの全てのAP10の接続情報をヒーター30へ送信する第1の通信処理を実行し、その取得した機器種別情報がモバイルデバイスでないことを示し、かつ、取得した設置情報が設置済みを示す場合、電波の強度が最も高いAP10の接続情報をヒーター30へ送信する第2の通信処理を実行する。これにより、複数のAP10が存在する場合において機器(この例ではヒーター30)をAP10に接続させる処理を効率的に実施できる。   As described above, the smart device 20 according to the present embodiment obtains connection information of each of the plurality of APs 10 in advance, and from the heater 30 with which communication has been established, device type information indicating the type of the device and the device Acquires installation information indicating whether or not is installed at a predetermined position. Then, when the acquired device type information indicates that the acquired device type information is a mobile device, the smart device 20 executes a first communication process of transmitting connection information of all the APs 10 in hand to the heater 30, and acquires the first communication process. If the device type information indicates that the device type information is not a mobile device and the acquired installation information indicates that the device is installed, a second communication process is performed to transmit connection information of the AP 10 having the highest radio wave intensity to the heater 30. Thereby, in the case where there are a plurality of APs 10, the process of connecting the device (in this example, the heater 30) to the APs 10 can be efficiently performed.

以上、本発明に係る実施形態について説明したが、本発明は、上述の実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上述の実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、上述の実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。   As mentioned above, although embodiment concerning this invention was described, this invention is not limited to the above-mentioned embodiment as it is, At an execution phase, a component is changed and actualized in the range which does not deviate from the summary. In addition, various inventions can be formed by appropriate combinations of a plurality of components disclosed in the above-described embodiments. For example, some components may be deleted from all the components shown in the above-described embodiment.

また、上述した実施形態の通信システム1で実行されるプログラムは、インストール可能な形式または実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)、USB(Universal Serial Bus)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよいし、インターネット等のネットワーク経由で提供または配布するように構成してもよい。また、各種プログラムを、ROM等に予め組み込んで提供するように構成してもよい。   Further, the program executed by the communication system 1 of the embodiment described above is a file of an installable format or an executable format, and is a CD-ROM, a flexible disk (FD), a CD-R, a DVD (Digital Versatile Disk), It may be configured to be recorded and provided in a computer readable recording medium such as USB (Universal Serial Bus) or may be configured to be provided or distributed via a network such as the Internet. In addition, various programs may be configured to be provided by being incorporated in a ROM or the like in advance.

1 通信システム
10 AP
20 スマートデバイス
30 ヒーター
201 無線通信部
202 接続情報取得部
203 接続情報格納部
204 通信制御部
205 公開鍵取得部
206 UI部
301 無線通信部
302 通信制御部
303 UI部
1 Communication system 10 AP
Reference Signs List 20 smart device 30 heater 201 wireless communication unit 202 connection information acquisition unit 203 connection information storage unit 204 communication control unit 205 public key acquisition unit 206 UI unit 301 wireless communication unit 302 communication control unit 303 UI unit

Wi-Fi Device Provisioning Protocol (DPP) Technical Specification Version 0.0.16Wi-Fi Device Provisioning Protocol (DPP) Technical Specification Version 0.0.16

Claims (9)

機器をアクセスポイントに接続させる携帯端末であって、
複数の前記アクセスポイントごとの、該アクセスポイントに接続するための情報を示す接続情報を記憶する記憶手段と、
前記機器から、前記機器の種別を示す機器種別情報と、前記機器が所定の位置に設置されているか否かを示す設置情報と、を取得する通信手段と、
前記機器種別情報に基づく、前記記憶手段に記憶された全ての前記接続情報を前記機器へ送信する第1の通信処理、および、前記設置情報に基づく、電波の強度が最も高い前記アクセスポイントの前記接続情報を前記機器へ送信する第2の通信処理のうちの何れかを実行する制御を行う通信制御手段と、を備える、
携帯端末。
A mobile terminal that connects the device to the access point,
Storage means for storing connection information indicating information for connecting to each of the plurality of access points;
Communication means for acquiring, from the device, device type information indicating the type of the device, and installation information indicating whether the device is installed at a predetermined position;
First communication processing for transmitting all the connection information stored in the storage unit to the device based on the device type information, and the access point of the access point having the highest radio wave intensity based on the installation information Communication control means for performing control to execute any one of second communication processes for transmitting connection information to the device;
Mobile terminal.
前記機器種別情報は、前記機器が携帯端末であるか否かを示す情報であり、
前記通信制御手段は、
前記機器種別情報が前記機器は携帯端末であることを示す場合、前記第1の通信処理を実行する制御を行う、
請求項1に記載の携帯端末。
The device type information is information indicating whether the device is a portable terminal,
The communication control means
When the device type information indicates that the device is a portable terminal, control to execute the first communication process is performed.
The portable terminal according to claim 1.
前記通信制御手段は、
前記機器種別情報が前記機器は携帯端末でないことを示し、かつ、前記設置情報が、前記機器は所定の位置に設置されていることを示す場合、前記第2の通信処理を実行する制御を行う、
請求項2に記載の携帯端末。
The communication control means
When the device type information indicates that the device is not a portable terminal, and the installation information indicates that the device is installed at a predetermined position, control to execute the second communication process is performed. ,
The portable terminal according to claim 2.
前記通信制御手段は、
前記機器から取得した、前記アクセスポイントごとに、前記機器が前記アクセスポイントから受信する電波の強度を示す電波強度情報に基づいて、電波の強度が最も高い前記アクセスポイントを選択する、
請求項1乃至3のうちの何れか1項に記載の携帯端末。
The communication control means
The access point having the highest radio wave strength is selected based on radio wave strength information indicating the radio wave strength received by the device from the access point, for each of the access points acquired from the device.
The portable terminal according to any one of claims 1 to 3.
前記アクセスポイントから前記接続情報を取得する接続情報取得手段をさらに備える、
請求項1乃至4のうちの何れか1項に記載の携帯端末。
It further comprises connection information acquisition means for acquiring the connection information from the access point,
The portable terminal according to any one of claims 1 to 4.
前記接続情報取得手段は、
前記アクセスポイントに設けられた所定のコード情報を読み取ることで前記接続情報を取得する、
請求項5に記載の携帯端末。
The connection information acquisition unit
The connection information is acquired by reading predetermined code information provided in the access point.
The portable terminal according to claim 5.
機器と、アクセスポイントと、前記機器を前記アクセスポイントに接続させる携帯端末と、を含む通信システムであって、
複数の前記アクセスポイントごとの、該アクセスポイントに接続するための情報を示す接続情報を記憶する記憶手段と、
前記機器から、前記機器の種別を示す機器種別情報と、前記機器が所定の位置に設置されているか否かを示す設置情報と、を取得する通信手段と、
前記機器種別情報に基づく、前記記憶手段に記憶された全ての前記接続情報を前記機器へ送信する第1の通信処理、および、前記設置情報に基づく、電波の強度が最も高い前記アクセスポイントの前記接続情報を前記機器へ送信する第2の通信処理のうちの何れかを実行する制御を行う通信制御手段と、を備える、
通信システム。
A communication system comprising: a device; an access point; and a portable terminal for connecting the device to the access point,
Storage means for storing connection information indicating information for connecting to each of the plurality of access points;
Communication means for acquiring, from the device, device type information indicating the type of the device, and installation information indicating whether the device is installed at a predetermined position;
First communication processing for transmitting all the connection information stored in the storage unit to the device based on the device type information, and the access point of the access point having the highest radio wave intensity based on the installation information Communication control means for performing control to execute any one of second communication processes for transmitting connection information to the device;
Communications system.
機器をアクセスポイントに接続させる携帯端末による通信方法であって、
前記機器から、前記機器の種別を示す機器種別情報と、前記機器が所定の位置に設置されているか否かを示す設置情報と、を取得する通信ステップと、
前記機器種別情報に基づく、複数の前記アクセスポイントごとの、該アクセスポイントに接続するための情報を示す接続情報を記憶する記憶手段に記憶された全ての前記接続情報を前記機器へ送信する第1の通信処理、および、前記設置情報に基づく、電波の強度が最も高い前記アクセスポイントの前記接続情報を前記機器へ送信する第2の通信処理のうちの何れかを実行する制御を行う通信制御ステップと、を有する、
通信方法。
A communication method by a portable terminal for connecting a device to an access point,
A communication step of acquiring, from the device, device type information indicating the type of the device, and installation information indicating whether the device is installed at a predetermined position;
First, transmitting all the connection information stored in the storage unit storing connection information indicating information for connecting to the access point for each of the plurality of access points based on the device type information to the device Control step of performing any one of the second communication process of transmitting to the device the connection information of the access point having the highest radio wave strength based on the installation information and And have,
Communication method.
機器をアクセスポイントに接続させる携帯端末に、
前記機器から、前記機器の種別を示す機器種別情報と、前記機器が所定の位置に設置されているか否かを示す設置情報と、を取得する通信ステップと、
前記機器種別情報に基づく、複数の前記アクセスポイントごとの、該アクセスポイントに接続するための情報を示す接続情報を記憶する記憶手段に記憶された全ての前記接続情報を前記機器へ送信する第1の通信処理、および、前記設置情報に基づく、電波の強度が最も高い前記アクセスポイントの前記接続情報を前記機器へ送信する第2の通信処理のうちの何れかを実行する制御を行う通信制御ステップと、を実行させるためのプログラム。
The portable terminal that connects the device to the access point
A communication step of acquiring, from the device, device type information indicating the type of the device, and installation information indicating whether the device is installed at a predetermined position;
First, transmitting all the connection information stored in the storage unit storing connection information indicating information for connecting to the access point for each of the plurality of access points based on the device type information to the device Control step of performing any one of the second communication process of transmitting to the device the connection information of the access point having the highest radio wave strength based on the installation information and And programs to run.
JP2017080838A 2017-04-14 2017-04-14 Mobile terminal, communication system, communication method, and program Pending JP2018182572A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017080838A JP2018182572A (en) 2017-04-14 2017-04-14 Mobile terminal, communication system, communication method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017080838A JP2018182572A (en) 2017-04-14 2017-04-14 Mobile terminal, communication system, communication method, and program

Publications (1)

Publication Number Publication Date
JP2018182572A true JP2018182572A (en) 2018-11-15

Family

ID=64277226

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017080838A Pending JP2018182572A (en) 2017-04-14 2017-04-14 Mobile terminal, communication system, communication method, and program

Country Status (1)

Country Link
JP (1) JP2018182572A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020113955A (en) * 2019-01-16 2020-07-27 ブラザー工業株式会社 Computer program for terminal device and communication device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020113955A (en) * 2019-01-16 2020-07-27 ブラザー工業株式会社 Computer program for terminal device and communication device
US11595814B2 (en) 2019-01-16 2023-02-28 Brother Kogyo Kabushiki Kaisha Non-transitory computer-readable medium storing computer-readable instructions for terminal device and communication device
JP7279367B2 (en) 2019-01-16 2023-05-23 ブラザー工業株式会社 Computer program for terminal device and communication device
US11825302B2 (en) 2019-01-16 2023-11-21 Brother Kogyo Kabushiki Kaisha Non-transitory computer-readable medium storing computer-readable instructions for terminal device and communication device

Similar Documents

Publication Publication Date Title
US11889453B2 (en) Method and apparatus for registering wireless device in wireless communication system
US11729617B2 (en) Communication apparatus, communication method, and storage medium
US8531989B2 (en) Systems and methods for implementing ad hoc wireless networking
WO2017148308A1 (en) Method, apparatus and system for accessing network by internet-of-things device
US10321312B2 (en) Communication apparatus and control method thereof
CN108292199B (en) Information processing apparatus, information processing system, and information processing method
JP2014241487A (en) Communication device
US9918300B2 (en) Communication apparatus, control method thereof, and program
KR102644362B1 (en) Communication apparatus, control method, and computer-readable storage medium
JP6366113B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD
KR20200002742A (en) Method and apparatus for registering wireless device in wireless communication system
JP2014033282A (en) Communication method, radio communication device, and program
US20170013461A1 (en) Communication apparatus, communication method, and program
JP2018182572A (en) Mobile terminal, communication system, communication method, and program
WO2016078267A1 (en) Terminal realization method and device, and terminal and storage medium
JP2020167468A (en) Communication device, communication method, and program
US20170024596A1 (en) Communication apparatus, method for controlling communication apparatus, and storage medium
JP6634907B2 (en) Communication device, wireless terminal, and program
JP2019121930A (en) Information processing apparatus, control method of the same, and program