JP2017112432A - Communication device, control method and program - Google Patents

Communication device, control method and program Download PDF

Info

Publication number
JP2017112432A
JP2017112432A JP2015243511A JP2015243511A JP2017112432A JP 2017112432 A JP2017112432 A JP 2017112432A JP 2015243511 A JP2015243511 A JP 2015243511A JP 2015243511 A JP2015243511 A JP 2015243511A JP 2017112432 A JP2017112432 A JP 2017112432A
Authority
JP
Japan
Prior art keywords
communication
response
procedure
setting
handover
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
JP2015243511A
Other languages
Japanese (ja)
Inventor
朋樹 平松
Tomoki Hiramatsu
朋樹 平松
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP2015243511A priority Critical patent/JP2017112432A/en
Publication of JP2017112432A publication Critical patent/JP2017112432A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To cause a communication device to intermediate a connection setting between communication devices irrespective of a protocol supported by another communication device.SOLUTION: A communication device, which can perform first radio communication with a first other device and a second other device, and can set a connection between the first other device and the second other device, executes communication related to setting to connect between the first other device and the second other device with second radio communication, using the first radio communication with the first other device and the second other device. The communication device transmits, to the first other device and the second other device, a first signal related to a first procedure for the setting, and according to a response to the received first signal, determines whether to execute communication for the setting by a second procedure, which is different from the first procedure, with a device which has transmitted the response.SELECTED DRAWING: Figure 5

Description

本発明は、他の通信装置間の接続制御を実行可能な通信装置に関する。   The present invention relates to a communication device capable of executing connection control between other communication devices.

近年、NFC(Near Field Communication)、IrDA(Infrared Data Association)、TransferJet(登録商標)などの近接無線通信機能を有する通信装置が登場している。近接無線通信機能を有する通信装置のユーザは、この通信装置を、同様に近接無線通信機能を有する他の通信装置に近接させるだけで、これらの通信装置間で様々なデータの送受信を行うことができる。   In recent years, communication devices having a near field wireless communication function such as NFC (Near Field Communication), IrDA (Infrared Data Association), and TransferJet (registered trademark) have appeared. A user of a communication device having a close proximity wireless communication function can transmit and receive various data between these communication devices by simply bringing the communication device close to another communication device having a close proximity wireless communication function. it can.

また、特許文献1には、通信装置が、近接無線通信であるNFCを利用して、他の通信装置間での無線接続のための設定情報の交換を仲介して、近接させることが困難な機器同士を、NFCと異なる無線通信方式で接続させる技術が記載されている。なお、NFCと異なる無線通信方式は、例えば、無線LAN、Bluetooth(商標登録)等を含む。   Also, in Patent Document 1, it is difficult for a communication device to use NFC, which is proximity wireless communication, to mediate exchange of setting information for wireless connection between other communication devices, and to make it close. A technique for connecting devices with a wireless communication method different from NFC is described. Note that wireless communication systems different from NFC include, for example, wireless LAN, Bluetooth (registered trademark), and the like.

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

しかしながら、特許文献1に記載の方法では、無線接続のための設定情報の仲介を受ける他の通信装置が、共に、その情報交換のための既定の通信プロトコルに対応していることが求められる。このため、これらの他の通信装置の少なくともいずれかが、その通信プロトコルに対応していない場合、これらの他の通信装置の接続を確立させることができないという課題があった。   However, in the method described in Patent Document 1, it is required that both other communication devices that receive the mediation of setting information for wireless connection are compatible with a predetermined communication protocol for information exchange. For this reason, when at least one of these other communication devices does not support the communication protocol, there is a problem that the connection of these other communication devices cannot be established.

本発明は上記課題に鑑みなされたものであり、通信装置が、他の通信装置が対応するプロトコルによらず、当該他の通信装置間の接続設定を仲介することを可能とする装置を提供することを目的とする。   The present invention has been made in view of the above problems, and provides a device that enables a communication device to mediate connection settings between other communication devices regardless of the protocol supported by the other communication device. For the purpose.

上記課題を解決するため、本発明に係る通信装置は、第1の他の装置と第2の他の装置との間の接続を設定することができる通信装置であって、前記第1の他の装置および前記第2の他の装置と、第1の無線通信を行う通信手段と、前記第1の他の装置と前記第2の他の装置とが第2の無線通信で接続するための設定に係る通信を、前記第1の他の装置および前記第2の他の装置のそれぞれと前記通信手段を介して実行する実行手段と、を有し、前記実行手段は、前記通信手段に前記設定のための第1の手順に係る第1の信号を前記第1の他の装置と前記第2の他の装置とのそれぞれへ送信させ、受信された当該第1の信号に対する応答に応じて、当該応答を送信した装置との間で、前記第1の手順と異なる第2の手順による前記設定のための通信を実行するかを決定する、ことを特徴とする。   In order to solve the above-described problem, a communication device according to the present invention is a communication device capable of setting a connection between a first other device and a second other device, and the first other device. And the second other device, communication means for performing the first wireless communication, and the first other device and the second other device for connecting by the second wireless communication Execution means for executing communication related to the setting via each of the first other device and the second other device and the communication means, and the execution means includes the communication means According to a response to the received first signal, the first signal related to the first procedure for setting is transmitted to each of the first other device and the second other device. For the setting by the second procedure different from the first procedure with the device that has transmitted the response. Determining whether to perform the communication, characterized in that.

本発明によれば、通信装置が、他の通信装置が対応するプロトコルによらず、当該他の通信装置間の接続設定を仲介することができる。   According to the present invention, the communication device can mediate connection setting between the other communication devices regardless of the protocol supported by the other communication device.

無線通信システムの構成例を示す図。The figure which shows the structural example of a radio | wireless communications system. スマートデバイスの構成例を示すブロック図。The block diagram which shows the structural example of a smart device. プロジェクタの構成例を示すブロック図。The block diagram which shows the structural example of a projector. PCの構成例を示すブロック図。The block diagram which shows the structural example of PC. スマートデバイスによる仲介ハンドオーバ処理の流れの例を示すフローチャート。The flowchart which shows the example of the flow of the mediation handover process by a smart device. スマートデバイスによるネットワーク情報仲介処理の流れの例を示すフローチャート。The flowchart which shows the example of the flow of the network information mediation process by a smart device. スマートデバイスによる機器間ハンドオーバ処理の流れの例を示すフローチャート。The flowchart which shows the example of the flow of the hand-over process between apparatuses by a smart device. 無線通信システムで実行される処理の第1の例の流れを示すシーケンス図。The sequence diagram which shows the flow of the 1st example of the process performed with a radio | wireless communications system. 無線通信システムで実行される処理の第2の例の流れを示すシーケンス図。The sequence diagram which shows the flow of the 2nd example of the process performed with a radio | wireless communications system. 無線通信システムで実行される処理の第3の例の流れを示すシーケンス図。The sequence diagram which shows the flow of the 3rd example of the process performed with a radio | wireless communications system.

以下、図面を参照しながら、本発明の実施形態について説明する。なお、本発明の技術範囲は、特許請求の範囲によって確定されるのであって、以下の個別の実施形態によって限定されるわけではないことは明らかである。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. It should be noted that the technical scope of the present invention is determined by the scope of the claims, and is not limited by the following individual embodiments.

(無線通信システムの構成)
図1に、本実施形態に係る無線通信システム100の構成例を示す。無線通信システム100は、例えば、それぞれが無線通信機能を有する通信装置である、スマートデバイス101、プロジェクタ102、及びPC(Personal Computer)103を含む。これらの通信装置は、NFC(Near Field Communication)などの近接無線通信(第1の無線通信)を実行する機能を有する。なお、本実施形態では、各通信装置は、それぞれNFCのリーダライタ機能を有し、第1の無線通信(P2P通信)を行うものとするが、これに限られない。例えば、プロジェクタ102またはPC103が動的に書き換え可能なNFCタグを有し、スマートデバイス101がNFCタグを読み書きする通信を行ってもよく、さらに他の方式が用いられてもよい。また、本実施形態では、プロジェクタ102とPC103との間の通信には、近接無線通信等の第1の無線通信とは異なる、例えば無線LAN等の第2の無線通信が用いられる。
(Configuration of wireless communication system)
FIG. 1 shows a configuration example of a wireless communication system 100 according to the present embodiment. The wireless communication system 100 includes, for example, a smart device 101, a projector 102, and a PC (Personal Computer) 103, each of which is a communication device having a wireless communication function. These communication devices have a function of executing close proximity wireless communication (first wireless communication) such as NFC (Near Field Communication). In the present embodiment, each communication device has an NFC reader / writer function and performs the first wireless communication (P2P communication), but is not limited thereto. For example, the projector 102 or the PC 103 may have a dynamically rewritable NFC tag, and the smart device 101 may perform communication for reading and writing the NFC tag, and other methods may be used. Further, in the present embodiment, for communication between the projector 102 and the PC 103, second wireless communication such as a wireless LAN, which is different from the first wireless communication such as proximity wireless communication, is used.

プロジェクタ102とPC103は、互いに近接させることによって第2の無線通信に係る設定を実行可能でありうるが、ここでは、例えばプロジェクタ102及びPC103が固定されており、互いに近接させることができないものとする。このため、無線通信システム100においては、スマートデバイス101が、近接無線通信等の第1の無線通信を用いて、プロジェクタ102とPC103との間の第2の無線通信106に係る接続設定のための通信104及び105を行う。すなわち、スマートデバイス101は、プロジェクタ102とPC103との間の第2の無線通信(例えば無線LANによる通信)のための設定を、第1の無線通信(例えばNFCによる通信)によって仲介する。このように、直接NFC通信を行うことができない第1装置と第2装置とを、仲介装置を介して第2の無線通信にハンドオーバさせる処理を仲介ハンドオーバ処理と呼ぶ。なお、仲介ハンドオーバ処理は、NFC Connection Handoverの規格によって規定されるMediated Handoverでありうる。   The projector 102 and the PC 103 may be able to execute the setting related to the second wireless communication by being close to each other, but here, for example, the projector 102 and the PC 103 are fixed and cannot be brought close to each other. . For this reason, in the wireless communication system 100, the smart device 101 uses the first wireless communication such as the proximity wireless communication for connection setting related to the second wireless communication 106 between the projector 102 and the PC 103. Communication 104 and 105 are performed. That is, the smart device 101 mediates settings for the second wireless communication (for example, communication by wireless LAN) between the projector 102 and the PC 103 by the first wireless communication (for example, communication by NFC). In this way, the process of handing over the first device and the second device that cannot directly perform NFC communication to the second wireless communication via the mediation device is referred to as mediation handover processing. The intermediary handover process may be a mediated handover defined by the NFC Connection Handover standard.

本実施形態に係るスマートデバイス101は、複数の手順のいずれかを用いて、プロジェクタ102とPC103との間の無線通信設定のための通信を実行する。ここで、複数の手順は、詳細については後述するが、例えば第1の手順としての仲介ハンドオーバ処理手順と、第2の手順としての機器間ハンドオーバ処理手順とを含みうる。なお、複数の手順は、スマートデバイス101によるプロジェクタ102とPC103との間の無線通信設定のための通信のための手順であればどのようなものが用いられてもよく、仲介ハンドオーバ処理手順及び機器間ハンドオーバ処理手順に限られない。なお、ここでの「ハンドオーバ」は、NFC等の近距離通信が可能な第1の無線通信による通信を用いて、無線LAN等の比較的遠距離での通信が可能な第2の無線通信における接続を確立して、第2の無線通信による通信を開始するための手順を指す。なお、機器間ハンドオーバ処理は、直接NFC通信を行うことができる第1装置と第2装置とが、仲介装置を介さす第2の無線通信にハンドオーバする処理である。なお、機器間ハンドオーバ処理は、NFC Connection Handoverの規格によって規定され、双方向通信を利用するNegotiated Handoverでありうる。また、機器間ハンドオーバ処理は、NFC Connection Handoverの規格によって規定され、リーダライタとタグとの間で行われるStatic Handoverでありうる。   The smart device 101 according to the present embodiment executes communication for setting wireless communication between the projector 102 and the PC 103 using any of a plurality of procedures. Here, although the details will be described later, the plurality of procedures may include, for example, a mediation handover processing procedure as a first procedure and an inter-device handover processing procedure as a second procedure. As the plurality of procedures, any procedure may be used as long as it is a procedure for communication for setting wireless communication between the projector 102 and the PC 103 by the smart device 101. It is not limited to the inter-handover processing procedure. Note that the “handover” in this case is the second wireless communication in which communication at a relatively long distance such as a wireless LAN is performed using communication by the first wireless communication capable of near field communication such as NFC. This refers to a procedure for establishing a connection and starting communication by the second wireless communication. The inter-device handover process is a process in which the first device and the second device capable of performing direct NFC communication perform handover to the second wireless communication via the mediation device. Note that the inter-device handover process is defined by the NFC Connection Handover standard and can be a Negotiated Handover that uses bidirectional communication. Further, the inter-device handover process may be a static handover defined between the NFC Connection Handover standard and performed between the reader / writer and the tag.

スマートデバイス101は、例えば、プロジェクタ102とPC103とのそれぞれに対して、逐次的に第1の手順によるハンドオーバの要求を送信し、それに対する応答に応じて、要求の送信先の機器が第1の手順に対応しているかを確認しうる。そして、スマートデバイス101は、要求の送信先の機器が第1の手順に対応していない場合には、第2の手順を用いて接続設定用の通信を行うことを決定する。すなわち、スマートデバイス101は、まず第1の手順による接続設定用の通信を試行し、応答が第1の手順に関するものでない場合に、第1の手順と異なる第2の手順による接続設定用の通信を行うことを決定する。これにより、スマートデバイス101は、複数の手順のうち、プロジェクタ102とPC103とがそれぞれ対応する手順を自動的に確認し、これらの装置間の通信設定のために、各装置に対して使用すべき通信手順を決定することができる。なお、スマートデバイス101は、要求の送信先の装置が第1の手順と第2の手順との両方に対応していない場合は、さらなる別の手順を用いて接続設定用の通信を行ってもよい。例えば、複数の手順がそれぞれ異なる仲介ハンドオーバ処理に係るプロトコルに対応する場合に、スマートデバイス101は、これらの手順を優先的に用い、その後、機器間ハンドオーバ処理を用いるようにしうる。   For example, the smart device 101 sequentially transmits a request for handover according to the first procedure to each of the projector 102 and the PC 103, and in response to the response, the request destination device is the first device. Can check if the procedure is supported. If the request destination device does not support the first procedure, the smart device 101 determines to perform connection setting communication using the second procedure. That is, the smart device 101 first tries communication for connection setting according to the first procedure, and when the response is not related to the first procedure, communication for connection setting according to the second procedure different from the first procedure. Decide to do. As a result, the smart device 101 should automatically check the procedure corresponding to the projector 102 and the PC 103 among a plurality of procedures, and should be used for each device for communication setting between these devices. A communication procedure can be determined. Note that if the request destination device does not support both the first procedure and the second procedure, the smart device 101 may perform communication for connection setting using yet another procedure. Good. For example, when a plurality of procedures correspond to protocols related to different intermediary handover processes, the smart device 101 may use these procedures preferentially and then use the inter-device handover process.

以下では、スマートデバイス101、プロジェクタ102、及びPC103の装置構成例と、処理の流れの例について詳細に説明する。   Hereinafter, an example of the device configuration of the smart device 101, the projector 102, and the PC 103 and an example of the flow of processing will be described in detail.

(スマートデバイスの構成)
図2は、本実施形態に係るスマートデバイス101の構成例を示すブロック図である。スマートデバイス101は、例えば、無線LAN通信部201、公衆無線通信部203、NFC通信部205、パケット送受信部207、制御部208、記憶部209、電源部210、表示部211、操作部212、通話部213、及びマイク214を有する。なお、スマートデバイス101は、無線LAN通信部201、公衆無線通信部203、及びNFC通信部205のそれぞれの通信用の周波数帯域に対応するアンテナ202、204及び206を有する。
(Smart device configuration)
FIG. 2 is a block diagram illustrating a configuration example of the smart device 101 according to the present embodiment. The smart device 101 includes, for example, a wireless LAN communication unit 201, a public wireless communication unit 203, an NFC communication unit 205, a packet transmission / reception unit 207, a control unit 208, a storage unit 209, a power supply unit 210, a display unit 211, an operation unit 212, a call A unit 213 and a microphone 214. The smart device 101 includes antennas 202, 204, and 206 corresponding to the frequency bands for communication of the wireless LAN communication unit 201, the public wireless communication unit 203, and the NFC communication unit 205, respectively.

なお、各機能ブロックは、ハードウェアによって構成されてもよいし、ハードウェアとソフトウェアとの組み合わせによって構成されてもよい。例えば、記憶部209は、ROM及びRAMの両方、または、いずれか一方により構成されてもよく、各機能ブロックに係る各種動作を行うためのプログラムや、無線通信のための通信パラメータ等の各種情報を記憶しうる。なお、記憶部209として、ROM、RAM等のメモリの他に、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、DVDなどの記憶媒体が用いられてもよい。また、制御部208は、例えば、CPU、または、MPUにより構成されてもよく、制御部208が記憶部209に記憶されたプログラムを実行することにより、上述の機能ブロックの少なくともいずれかが実現されうる。さらに、例えば、表示部211と操作部212は、例えばタッチパネルによって同一のハードウェアと、その駆動用のソフトウェアとによって構成されてもよく、他の機能ブロックも同一のハードウェアなどによって統合的に実現されてもよい。さらに、各機能ブロックは、複数のハードウェア及びソフトウェアコンポーネントによって分散的に実現されてもよい。   Each functional block may be configured by hardware or a combination of hardware and software. For example, the storage unit 209 may be configured by both or either of ROM and RAM, and various information such as programs for performing various operations related to each functional block and communication parameters for wireless communication. Can be stored. As the storage unit 209, in addition to memories such as ROM and RAM, storage media such as flexible disks, hard disks, optical disks, magneto-optical disks, CD-ROMs, CD-Rs, magnetic tapes, nonvolatile memory cards, DVDs, etc. May be used. The control unit 208 may be configured by, for example, a CPU or an MPU, and at least one of the above-described functional blocks is realized by the control unit 208 executing a program stored in the storage unit 209. sell. Furthermore, for example, the display unit 211 and the operation unit 212 may be configured by the same hardware and driving software, for example, by a touch panel, and other functional blocks are also realized integrally by the same hardware. May be. Further, each functional block may be realized in a distributed manner by a plurality of hardware and software components.

なお、後述するプロジェクタ102及びPC103の構成においても、各機能ブロックは、ハードウェアによって構成されてもよいし、ハードウェアとソフトウェアとの組み合わせによって構成されてもよい。また、プロジェクタ102及びPC103の構成においても、複数の機能ブロックが同一のハードウェアなどによって統合的に実現されてもよいし、各機能ブロックが複数のハードウェア及びソフトウェアコンポーネントによって分散的に実現されてもよい。   In the configuration of the projector 102 and the PC 103 described later, each functional block may be configured by hardware or a combination of hardware and software. Also in the configuration of the projector 102 and the PC 103, a plurality of functional blocks may be integratedly realized by the same hardware or the like, or each functional block is distributedly realized by a plurality of hardware and software components. Also good.

無線LAN通信部201は、IEEE802.11規格シリーズに準拠した通信のための、RF(無線周波数)における制御、各種制御及びプロトコル処理を実行する。無線LAN通信部201は、アンテナ202を介して無線信号を送受信することができる。なお、本実施形態では、無線LANは、IEEE802.11規格シリーズに準拠するものとするが、他の無線LAN規格に準拠してもよい。また、無線LANではなく、Bluetooth(登録商標)等の他の通信方式が用いられてもよい。   The wireless LAN communication unit 201 executes RF (radio frequency) control, various controls, and protocol processing for communication conforming to the IEEE 802.11 standard series. The wireless LAN communication unit 201 can transmit and receive wireless signals via the antenna 202. In the present embodiment, the wireless LAN conforms to the IEEE 802.11 standard series, but may conform to other wireless LAN standards. Further, instead of the wireless LAN, other communication methods such as Bluetooth (registered trademark) may be used.

公衆無線通信部203は、公衆無線通信のための、RFにおける制御、各種制御及びプロトコル処理を実行する。公衆無線通信は、例えばIMT(International Multimedia Telecommunications)規格に準拠した通信を指す。IMT規格には、ワイドバンドCDMA(広帯域符号分割多元接続)、LTE(Long Term Evolution)規格等が含まれる。公衆無線通信部203は、アンテナ204を介して無線信号を送受信することができる。   The public wireless communication unit 203 executes control in RF, various controls, and protocol processing for public wireless communication. Public wireless communication refers to communication based on, for example, IMT (International Multimedia Communications) standard. The IMT standard includes wideband CDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution) standard, and the like. The public wireless communication unit 203 can transmit and receive wireless signals via the antenna 204.

NFC通信部205は、NFC(Near Field Communication)に準拠した無線通信のための、RFにおける制御、各種制御及びプロトコル処理を実行する。NFC通信部205は、通信範囲内に通信可能な装置を検出すると、自動的にNFCの接続を確立する。本実施形態では、NFC通信部205は、リーダライタとして動作し、後述のプロジェクタ102のNFC通信部303またはPC103のNFC通信部403との間で、双方向にデータ通信を行うことができるものとする。NFC通信部205は、アンテナ206を介して無線信号を送受信することができる。   The NFC communication unit 205 executes control in RF, various controls, and protocol processing for wireless communication compliant with NFC (Near Field Communication). When the NFC communication unit 205 detects a communicable device within the communication range, the NFC communication unit 205 automatically establishes an NFC connection. In this embodiment, the NFC communication unit 205 operates as a reader / writer, and can perform bidirectional data communication with an NFC communication unit 303 of the projector 102 described later or an NFC communication unit 403 of the PC 103. To do. The NFC communication unit 205 can transmit and receive wireless signals via the antenna 206.

なお、NFC通信部205は、NFCに準拠した無線通信を行うものとしたが、NFC以外の近接無線通信方式を用いてもよい。例えば、赤外線通信(IrDA)やTransfer Jet等の、無線LANよりも通信距離が短い通信方式が用いられうる。ただし、NFC通信部205が用いる近接無線通信方式は、後述のプロジェクタ102のNFC通信部303及びPC103のNFC通信部403が用いる方式と同一であるものとする。したがって、プロジェクタ102のNFC通信部303及びPC103のNFC通信部403も、NFC以外の近接無線通信方式を用いうる。   The NFC communication unit 205 performs wireless communication in conformity with NFC, but a close proximity wireless communication method other than NFC may be used. For example, a communication method such as infrared communication (IrDA) or Transfer Jet that has a shorter communication distance than a wireless LAN can be used. However, the close proximity wireless communication method used by the NFC communication unit 205 is the same as the method used by the NFC communication unit 303 of the projector 102 and the NFC communication unit 403 of the PC 103 described later. Therefore, the NFC communication unit 303 of the projector 102 and the NFC communication unit 403 of the PC 103 can also use a proximity wireless communication method other than NFC.

パケット送受信部207は、上述の各通信部を用いてパケットを送受信するための処理を実行する。すなわち、パケット送受信部207は、スマートデバイス101内で発生したデータのうち、他の装置へ送信すべきデータを、通信に使用する通信部に沿った形式でパケット化して、その通信部へ受け渡す。また、パケット送受信部207は、各通信部で受信した無線パケットを受け取って、そのパケットからデータを抽出する。なお、パケット送受信部207の機能は、各通信部内にそれぞれ含まれてもよい。   The packet transmission / reception unit 207 executes processing for transmitting / receiving a packet using each of the communication units described above. That is, the packet transmission / reception unit 207 packetizes data to be transmitted to other devices among the data generated in the smart device 101 in a format according to the communication unit used for communication, and delivers the packet to the communication unit. . Further, the packet transmitting / receiving unit 207 receives the wireless packet received by each communication unit, and extracts data from the packet. Note that the function of the packet transmitting / receiving unit 207 may be included in each communication unit.

制御部208は、上述のように、記憶部209に記憶される制御プログラムを実行することによりスマートデバイス101全体を制御する。記憶部209は、制御部208が実行する制御プログラムと、通信に必要なパラメータ等の各種情報を記憶する。後述する各種動作は、記憶部209に記憶された制御プログラムを制御部208が実行することにより行われる。   As described above, the control unit 208 controls the entire smart device 101 by executing a control program stored in the storage unit 209. The storage unit 209 stores a control program executed by the control unit 208 and various types of information such as parameters necessary for communication. Various operations described below are performed by the control unit 208 executing a control program stored in the storage unit 209.

電源部210は、スマートデバイス101に電源を供給する機能ブロックであり、例えばバッテリである。表示部211は、各種表示を行う機能を有し、LCDやLEDのように視覚で認知可能な情報の出力、またはスピーカ等の音出力を行うことができる。操作部212は、ユーザによるスマートデバイス101に対する操作を受け付ける。通話部213は、例えばマイク214や表示部211等と協働して、ユーザに対して音声通話又はビデオ通話機能を提供する。   The power supply unit 210 is a functional block that supplies power to the smart device 101, and is a battery, for example. The display unit 211 has a function of performing various displays, and can output visually recognizable information such as an LCD or LED, or can output sound such as a speaker. The operation unit 212 receives an operation on the smart device 101 by the user. The call unit 213 provides a voice call or video call function to the user in cooperation with the microphone 214, the display unit 211, and the like, for example.

(プロジェクタ及びPCの構成)
図3は、本実施形態に係るプロジェクタ102の構成例を示すブロック図であり、図4は、本実施形態に係るPC103の構成例を示すブロック図である。
(Configuration of projector and PC)
FIG. 3 is a block diagram illustrating a configuration example of the projector 102 according to the present embodiment, and FIG. 4 is a block diagram illustrating a configuration example of the PC 103 according to the present embodiment.

プロジェクタ102は、例えば、無線LAN通信部301、NFC通信部303、制御部305、記憶部306、操作部307、表示部308、パケット送受信部309、投影部310、画像処理部311、符号/復号化部312及び電源部313を有する。なお、プロジェクタ102は、無線LAN通信部301及びNFC通信部303のそれぞれの通信用の周波数帯域に対応するアンテナ302及び304を有する。   The projector 102 includes, for example, a wireless LAN communication unit 301, an NFC communication unit 303, a control unit 305, a storage unit 306, an operation unit 307, a display unit 308, a packet transmission / reception unit 309, a projection unit 310, an image processing unit 311, and an encoding / decoding unit. And a power supply unit 313. The projector 102 includes antennas 302 and 304 corresponding to communication frequency bands of the wireless LAN communication unit 301 and the NFC communication unit 303, respectively.

PC103は、例えば、無線LAN通信部401、NFC通信部403、制御部405、記憶部406、操作部407、表示部408、パケット送受信部409、画像処理部410、符号/復号化部411、及び電源部412を有する。なお、PC103は、無線LAN通信部401及びNFC通信部403のそれぞれの通信用の周波数帯域に対応するアンテナ402及び404を有する。   The PC 103 includes, for example, a wireless LAN communication unit 401, an NFC communication unit 403, a control unit 405, a storage unit 406, an operation unit 407, a display unit 408, a packet transmission / reception unit 409, an image processing unit 410, an encoding / decoding unit 411, and A power supply unit 412 is included. The PC 103 includes antennas 402 and 404 corresponding to the communication frequency bands of the wireless LAN communication unit 401 and the NFC communication unit 403, respectively.

ここで、無線LAN通信部301及び401は、スマートデバイス101の無線LAN通信部201と同様の機能を有し、NFC通信部303及び403は、スマートデバイス101のNFC通信部205と同様の機能を有する。また、パケット送受信部309及び409も、スマートデバイス101のパケット送受信部207と同様の機能を有する。また、制御部305並びに405及び記憶部306並びに406は、制御対象がスマートデバイス101ではなく、その結果、記憶及び実行されるプログラム等が異なることを除き、スマートデバイス101の制御部208及び記憶部209と同様である。さらに、操作部307並びに407及び表示部308並びに408も、ユーザによる操作対象がスマートデバイス101でないことを除き、機能としてはスマートデバイス101の操作部212及び表示部211と同様である。以下では、これらの機能ブロック以外について説明する。   Here, the wireless LAN communication units 301 and 401 have the same function as the wireless LAN communication unit 201 of the smart device 101, and the NFC communication units 303 and 403 have the same function as the NFC communication unit 205 of the smart device 101. Have. The packet transmission / reception units 309 and 409 also have the same functions as the packet transmission / reception unit 207 of the smart device 101. Also, the control units 305 and 405 and the storage units 306 and 406 are the control unit 208 and the storage unit of the smart device 101, except that the control target is not the smart device 101, and as a result, the stored and executed programs are different. It is the same as 209. Furthermore, the operation units 307 and 407 and the display units 308 and 408 are similar in function to the operation unit 212 and the display unit 211 of the smart device 101 except that the operation target by the user is not the smart device 101. Below, other than these functional blocks will be described.

プロジェクタ102において、投影部310は、光学像を投影する機能ブロックである。画像処理部311は、投影部310から出力されるべき画像データに対して、所定のフォーマットの画像データへの変換を行い、画像データの輝度や色補正等の各種処理を実行する。符号/復号化部312は、画像処理部311に入力される画像データに対して、所定の高能率符号化(例えば、DCT変換、量子化後に可変長符号化)を行う。電源部313は、プロジェクタ102に電源を供給するための電源であり、例えば商用電源である。PC103において、画像処理部410は、例えばプロジェクタ102から投影されるべき画像又は表示部408に表示させる画像について、画像処理部311と同様の処理を実行する。符号/復号化部411及び電源部412は、符号/復号化部312及び電源部313と同様である。   In the projector 102, the projection unit 310 is a functional block that projects an optical image. The image processing unit 311 converts the image data to be output from the projection unit 310 into image data of a predetermined format, and executes various processes such as brightness and color correction of the image data. The encoding / decoding unit 312 performs predetermined high-efficiency encoding (for example, DCT conversion, variable length encoding after quantization) on the image data input to the image processing unit 311. The power supply unit 313 is a power supply for supplying power to the projector 102, and is a commercial power supply, for example. In the PC 103, the image processing unit 410 performs the same processing as the image processing unit 311 on, for example, an image to be projected from the projector 102 or an image to be displayed on the display unit 408. The encoding / decoding unit 411 and the power supply unit 412 are the same as the encoding / decoding unit 312 and the power supply unit 313.

上述の全ての機能ブロックは、ソフトウェア又はハードウェア的に相互関係を有するものである。また、上述の機能ブロックは一例であり、複数の機能ブロックが1つの機能ブロックを構成するようにしてもよいし、何れかの機能ブロックがさらに複数の機能を行うブロックに分かれてもよい。   All the functional blocks described above are interrelated in software or hardware. Further, the above-described functional blocks are examples, and a plurality of functional blocks may constitute one functional block, or any one of the functional blocks may be further divided into blocks that perform a plurality of functions.

(スマートデバイスが実行する処理の流れ)
続いて、スマートデバイス101とプロジェクタ102及びPC103との間の、仲介ハンドオーバ処理について説明する。なお、以下では、ハンドオーバの処理に係る各メッセージは、NFC Connection Handoverの規格に沿ったものを用いる場合について説明するが、各メッセージで通知すべき情報が通知されうる限り、他のメッセージが用いられてもよい。
(Flow of processing executed by smart device)
Next, an intermediary handover process between the smart device 101, the projector 102, and the PC 103 will be described. In the following description, a case where each message related to the handover process is in conformity with the NFC Connection Handover standard will be described. However, as long as information to be notified in each message can be notified, other messages are used. May be.

図5は、スマートデバイス101が仲介ハンドオーバ処理を開始した際の処理の流れを示すフローチャートである。仲介ハンドオーバ処理は、操作部212を用いたユーザによるアプリケーションの起動やUI操作を契機に開始されうるが、例えば、NFC通信部205における機器の近接検知など、他の契機によって開始されてもよい。   FIG. 5 is a flowchart showing a processing flow when the smart device 101 starts the mediation handover processing. The mediated handover process can be started when a user activates an application or performs a UI operation using the operation unit 212. However, for example, the NFC communication unit 205 may detect the proximity handover of the device.

スマートデバイス101は、まず、タッチ操作すべきことをユーザに通知する(S501)。タッチ操作の通知は、例えば、仲介ハンドオーバ処理により無線LANへハンドオーバさせる対象の他の機器へのタッチ操作を促すメッセージを表示部211により表示させることにより行われうる。また、タッチ操作の通知は、例えば、表示部211を用いて特定の振動や音声を発すること等、他の形式によって行われてもよい。その後、スマートデバイス101は、NFC通信が検出されるのを待ち受ける(S502)。ここで、NFC通信の検出は、例えば、NFC通信部205においてNFC P2P通信を確立したか否かによって行われうるが、これ以外の方法で行われてもよい。例えば、NFC通信の相手装置のNFC通信部の内部に有する不揮発性メモリに格納された情報の読み取りがあったか否かによって、NFC通信の検出が行われてもよい。スマートデバイス101は、NFC通信を検出したことに応じて(S502でYES)、ネットワーク情報仲介処理を開始する(S503)。ネットワーク情報仲介処理の詳細については後述する。   First, the smart device 101 notifies the user that a touch operation should be performed (S501). The notification of the touch operation can be performed, for example, by causing the display unit 211 to display a message for prompting the touch operation to another device to be handed over to the wireless LAN by the intermediary handover process. In addition, the notification of the touch operation may be performed in other forms such as, for example, generating a specific vibration or sound using the display unit 211. Thereafter, the smart device 101 waits for NFC communication to be detected (S502). Here, the detection of NFC communication can be performed, for example, depending on whether or not NFC P2P communication is established in the NFC communication unit 205, but may be performed by other methods. For example, the NFC communication may be detected depending on whether or not information stored in a nonvolatile memory included in the NFC communication unit of the partner device of the NFC communication has been read. In response to detecting NFC communication (YES in S502), the smart device 101 starts network information mediation processing (S503). Details of the network information mediation process will be described later.

S504では、スマートデバイス101は、S503のネットワーク情報仲介処理の結果がエラーであったかの判定を行う。そして、スマートデバイス101は、ネットワーク情報仲介処理の結果がエラーであった場合(S504でYES)は、ユーザへエラーを通知して(S512)、仲介ハンドオーバ処理を終了する。なお、エラーの通知は、仲介ハンドオーバ処理がエラー終了したことを示すメッセージを表示部211に表示することによって行われてもよいが、これに限られない。例えば、表示部211を用いて仲介ハンドオーバ処理がエラー終了した旨を示す特定の振動や音声を発すること等により、エラーの通知が行われてもよい。一方、スマートデバイス101は、ネットワーク情報仲介処理の結果がエラーでなかった場合(S504でNO)は、続いて、S501と同様の、タッチ操作の通知を行う(S505)。   In S504, the smart device 101 determines whether the result of the network information mediation process in S503 is an error. If the result of the network information mediation process is an error (YES in S504), the smart device 101 notifies the user of the error (S512) and ends the mediation handover process. The error notification may be performed by displaying a message indicating that the intermediary handover process has ended in error on the display unit 211, but is not limited thereto. For example, notification of an error may be performed by emitting a specific vibration or sound indicating that the mediation handover process has ended in error using the display unit 211. On the other hand, if the result of the network information mediation process is not an error (NO in S504), the smart device 101 subsequently performs a touch operation notification similar to S501 (S505).

ここでのタッチ操作の通知は、S501の通知に応じてタッチした第1の相手装置との接続の相手である、第2の相手装置へのタッチを促す通知である。例えば、S501の通知に応じてプロジェクタ102にタッチした場合、S505では、プロジェクタ102との間で接続を確立すべき対象の装置にタッチすべき旨の通知が行われる。ユーザは、これに従って、例えばPC103へタッチしうる。   The notification of the touch operation here is a notification that prompts the user to touch the second partner device that is the partner of the connection with the first partner device touched according to the notification in S501. For example, when the projector 102 is touched in response to the notification in S501, in S505, a notification that the target device to be connected with the projector 102 should be touched is issued. In accordance with this, the user can touch the PC 103, for example.

スマートデバイス101は、S505の通知の後に、S502と同様にしてNFC通信を検出したかを判定する(S506)。スマートデバイス101は、NFC通信を検出していない場合(S506でNO)は、処理を中止するか否かを判定し(S507)、処理を中止する場合(S507でYES)はエラー通知を行い(S512)、仲介ハンドオーバ処理を終了する。一方、処理が中止されない場合(S507でNO)は、処理はS506へ戻る。   After the notification in S505, the smart device 101 determines whether NFC communication has been detected in the same manner as in S502 (S506). When the smart device 101 does not detect NFC communication (NO in S506), the smart device 101 determines whether or not to cancel the process (S507), and when it stops the process (YES in S507), notifies the error ( S512), the intermediary handover process is terminated. On the other hand, if the process is not stopped (NO in S507), the process returns to S506.

スマートデバイス101は、S506においてNFC通信を検出した場合(S506でYES)、NFC通信の相手装置との間で、S503と同様のネットワーク情報仲介処理を行う(S508)。そして、スマートデバイス101は、S504と同様に、ネットワーク情報仲介処理の結果がエラーであったかを判定し(S509)、エラーであった場合(S509でYES)は、エラーを通知して(S512)、仲介ハンドオーバを終了する。一方、スマートデバイス101は、ネットワーク情報仲介処理の結果がエラーでなかった場合(S509でNO)は、S503におけるネットワーク情報仲介処理の相手装置への再度のタッチ操作が必要かを判定する(S510)。再タッチ操作が必要か否かの判定は、S508の処理において行われるため、後のネットワーク情報仲介処理の説明において詳述する。   When the smart device 101 detects NFC communication in S506 (YES in S506), the smart device 101 performs network information mediation processing similar to S503 with the counterpart device of NFC communication (S508). Then, similarly to S504, the smart device 101 determines whether the result of the network information mediation process is an error (S509), and if it is an error (YES in S509), notifies the error (S512), End the mediation handover. On the other hand, if the result of the network information mediation process is not an error (NO in S509), the smart device 101 determines whether or not the touch operation to the partner apparatus of the network information mediation process in S503 is necessary again (S510). . The determination of whether or not a retouch operation is necessary is performed in the process of S508, and will be described in detail in the description of the network information mediation process later.

スマートデバイス101は、再タッチ操作が必要と判定した場合(S510でYES)は、処理をS505へ戻し、再タッチの対象の相手装置との間で接続設定用の通信を実行する。一方、スマートデバイス101は、再タッチ操作が必要でないと判定した場合(S510でNO)は、ユーザへの完了通知を行い(S511)、仲介ハンドオーバ処理を終了する。完了通知は、仲介ハンドオーバ処理が完了したことを示すメッセージを表示部211に表示し、又は、仲介ハンドオーバ処理が完了したことを示す特定の振動や音声を発したりすることによって行われうる。ただし、仲介ハンドオーバ処理が完了したことをユーザに通知できる限りにおいて、どのような方法が用いられてもよい。   If the smart device 101 determines that a retouch operation is necessary (YES in S510), the smart device 101 returns the process to S505 and executes communication for connection setting with the partner device to be retouched. On the other hand, when the smart device 101 determines that the retouch operation is not necessary (NO in S510), the smart device 101 notifies the user of the completion (S511) and ends the intermediary handover process. The completion notification can be performed by displaying a message indicating that the intermediary handover process has been completed on the display unit 211 or by issuing a specific vibration or voice indicating that the intermediary handover process has been completed. However, any method may be used as long as the user can be notified that the intermediary handover process has been completed.

続いて、S503及びS508で実行されるネットワーク情報仲介処理について、図6を用いて説明する。   Next, the network information mediation process executed in S503 and S508 will be described with reference to FIG.

スマートデバイス101は、ネットワーク情報仲介処理を開始すると、まず、仲介ハンドオーバ要求を送信する(S601)。ここで、仲介ハンドオーバ要求は、Handover Requestメッセージ内のネットワーク情報に、仲介ハンドオーバを示す情報である「Hm」レコードを格納したメッセージでありうる。スマートデバイス101は、仲介ハンドオーバ要求に対して何らかの応答を受信したかを判定し(S602)、応答を受信した場合(S602でYES)にはS604へ、受信していない場合(S602でNO)はS603へ、それぞれ処理を進める。   When the smart device 101 starts the network information mediation process, it first transmits a mediation handover request (S601). Here, the intermediary handover request may be a message in which “Hm” record, which is information indicating intermediary handover, is stored in the network information in the Handover Request message. The smart device 101 determines whether any response to the mediation handover request has been received (S602). If the response is received (YES in S602), the process proceeds to S604, and if not received (NO in S602). The process proceeds to S603.

S603において、スマートデバイス101は、仲介ハンドオーバ処理を中止するか否かの判定を行い、中止すると判定した場合(S603でYES)は、エラーと判定して(S612)、ネットワーク情報仲介処理を終了する。一方、スマートデバイス101は、仲介ハンドオーバ処理を中止しないと判定した場合(S603でNO)は、処理をS602へ戻す。ここで、仲介ハンドオーバ処理を中止するか否かの判定は、仲介ハンドオーバ要求を送信してから一定期間が経過したか否かによって行われうるが、これに限られない。例えば、スマートデバイス101は、NFC通信の切断を検知した場合、又はユーザ操作によるキャンセル指示があった場合等の、何等かの条件を満たした場合に、仲介ハンドオーバ処理を中止すると判定してもよい。   In S603, the smart device 101 determines whether or not to cancel the intermediary handover process. If it is determined to cancel (YES in S603), the smart device 101 determines that there is an error (S612) and ends the network information intermediation process. . On the other hand, when the smart device 101 determines not to stop the intermediary handover process (NO in S603), the process returns to S602. Here, the determination as to whether or not to cancel the intermediary handover process can be made based on whether or not a certain period has elapsed since the transmission of the intermediary handover request, but is not limited thereto. For example, the smart device 101 may determine to stop the intermediary handover process when some condition is satisfied, such as when disconnection of NFC communication is detected or when a cancel instruction is issued by a user operation. .

S604において、スマートデバイス101は、受信した応答が仲介接続応答であるかの判定を行う。仲介接続応答は、例えば、Handover Mediation Responseメッセージであり、スマートデバイス101は、このメッセージを受信することにより、相手装置が仲介ハンドオーバに対応していることを判定できる。一方、相手装置が仲介ハンドオーバに対応していない場合は、スマートデバイス101は、選択応答を受信することとなる。なお、選択応答とは、Handover Selectメッセージでありうる。スマートデバイス101は、受信した応答が仲介接続応答である場合(S604でYES)は、S606へ、仲介接続応答でない場合(S604でNO)はS605へ、それぞれ処理を進める。S605では、機器間ハンドオーバ処理が実行される。機器間ハンドオーバ処理の詳細については後述する。   In step S604, the smart device 101 determines whether the received response is a mediation connection response. The mediation connection response is, for example, a Handover Median Response message, and the smart device 101 can determine that the counterpart device is compatible with mediation handover by receiving this message. On the other hand, when the counterpart device does not support the intermediary handover, the smart device 101 receives the selection response. Note that the selection response may be a Handover Select message. If the received response is a mediation connection response (YES in S604), the smart device 101 proceeds to S606. If the response is not a mediation connection response (NO in S604), the smart device 101 proceeds to S605. In S605, an inter-device handover process is executed. Details of the inter-device handover process will be described later.

S606では、スマートデバイス101は、受信した仲介接続応答にネットワーク情報が含まれているかを判定する。ここで、ネットワーク情報とは、ネットワークの種別やそのネットワークへ接続するためのパラメータ等を含む情報でありうる。ネットワークの種別は、Wi−Fi、Blutooth、Wi−Fi Direct(登録商標)などのキャリア種別であり得る。また、ネットワークへ接続するためのパラメータは、SSID、ネットワークキー、暗号方式、認証方式及びMACアドレスのうちの少なくとも一つまたはこれらすべてでありうる。受信した仲介接続応答にネットワーク情報が含まれている場合(S606でYES)は、処理をS607へ進め、含まれていない場合(S606でNO)はエラーと判定して(S612)、ネットワーク情報仲介処理を終了する。なお、仲介接続応答にネットワーク情報が含まれていない場合は、例えば、相手装置が仲介ハンドオーバに対応しているものの、その段階では仲介ハンドオーバを実行不可能な状態である場合でありうる。また、ネットワーク情報として、ネットワークの種別を示す情報が含まれ、ネットワークへ接続するためのパラメータが含まれていない場合は、エラーと判定しなくてもよい。   In S606, the smart device 101 determines whether network information is included in the received mediation connection response. Here, the network information may be information including a network type, a parameter for connecting to the network, and the like. The network type may be a carrier type such as Wi-Fi, Bluetooth, Wi-Fi Direct (registered trademark). Further, the parameter for connecting to the network may be at least one or all of an SSID, a network key, an encryption method, an authentication method, and a MAC address. If network information is included in the received mediation connection response (YES in S606), the process proceeds to S607. If not included (NO in S606), it is determined as an error (S612), and network information mediation is performed. The process ends. Note that the case where the network information is not included in the intermediary connection response may be, for example, a case where the counterpart device supports intermediary handover but is in a state where intermediary handover cannot be executed at that stage. Further, when the network information includes information indicating the type of the network and does not include a parameter for connecting to the network, it may not be determined as an error.

S607では、スマートデバイス101は、タッチ操作が初回であるか否か、すなわち、現在行われているネットワーク情報仲介処理がS503に係る処理であるか、S508に係る処理であるかの判定を行う。スマートデバイス101は、タッチ操作が初回である場合(S607でYES)、すなわち、現在実行中の処理がS503に係る処理である場合は、ネットワーク情報仲介処理を終了する。一方、スマートデバイス101は、タッチ操作が初回でない場合(S607でNO)、すなわち、現在実行中の処理がS508に係る処理である場合は、相手装置へ、ハンドオーバ開始要求を送信する(S608)。ここで、ハンドオーバ開始要求は、例えば、Handover Initiate Requestメッセージであり、このメッセージにネットワーク情報を含めることで、相手装置にそのネットワークへの接続を指示することができる。スマートデバイス101は、この場合、初めにNFC通信を開始した第1の装置から取得したネットワーク情報と、次にNFC通信を開始した第2の装置から取得したネットワーク情報とで、互いに通信可能なものを指定したハンドオーバ開始要求を送信する。なお、第1の装置と第2の装置とで複数のネットワーク種別で通信可能な場合、スマートデバイス101は、優先度に応じて自動で選択されたネットワーク種別を指定してもよいし、ユーザの選択に従って選択されたネットワーク種別を指定してもよい。また、第1の装置と第2の装置とで互いに通信可能な第2の無線通信が存在しない場合、処理を終了してもよい。スマートデバイス101は、その後、ハンドオーバ開始要求に対する応答を受信したかを判定し(S609)、応答を受信した場合(S609でYES)は処理をS611へ進め、応答を受信していない場合(S609でNO)は処理をS610へ進める。   In S607, the smart device 101 determines whether or not the touch operation is the first time, that is, whether the currently performed network information mediation process is a process related to S503 or a process related to S508. If the touch operation is the first time (YES in S607), that is, if the currently executed process is a process related to S503, the smart device 101 ends the network information mediation process. On the other hand, if the touch operation is not the first time (NO in S607), that is, if the currently executed process is a process related to S508, the smart device 101 transmits a handover start request to the partner apparatus (S608). Here, the handover start request is, for example, a Handover Initiate Request message. By including network information in this message, it is possible to instruct the partner apparatus to connect to the network. In this case, the smart device 101 can communicate with each other using the network information acquired from the first device that first started NFC communication and the network information acquired from the second device that started NFC communication next. A handover start request specifying is sent. Note that if the first device and the second device can communicate with a plurality of network types, the smart device 101 may specify the network type automatically selected according to the priority, or the user's The network type selected according to the selection may be specified. Further, when there is no second wireless communication in which the first device and the second device can communicate with each other, the processing may be terminated. After that, the smart device 101 determines whether a response to the handover start request has been received (S609). If the response is received (YES in S609), the process proceeds to S611, and if no response has been received (S609) NO) advances the process to S610.

S610では、スマートデバイス101は、処理を中止するかを判定し、処理を中止する場合(S610でYES)は、エラーと判定して(S612)、ネットワーク情報仲介処理を終了する。一方、スマートデバイス101は、処理を中止しない場合(S610でNO)は、処理をS609へ戻す。S611では、スマートデバイス101は、受信した応答内のネットワーク情報と、ハンドオーバ開始要求において指定したネットワーク情報とが一致するかを判定する。そして、スマートデバイス101は、ネットワーク情報が一致した場合(S611でYES)はネットワーク情報仲介処理を正常終了し、一致しなかった場合(S611でNO)はエラーと判定して(S612)ネットワーク情報仲介処理を終了する。ここで、ネットワーク情報が一致する場合は、相手装置がハンドオーバ開始要求で指定したネットワークへの接続を受諾した場合であり、これらが一致しない場合は、相手装置がそのネットワークへの接続を拒否した場合でありうる。   In S610, the smart device 101 determines whether to stop the process. When the process is stopped (YES in S610), it is determined as an error (S612), and the network information mediation process ends. On the other hand, when the smart device 101 does not stop the process (NO in S610), the process returns to S609. In S611, the smart device 101 determines whether the network information in the received response matches the network information specified in the handover start request. If the network information matches (YES in S611), the smart device 101 ends the network information mediation process normally. If the network information does not match (NO in S611), the smart device 101 determines that there is an error (S612). The process ends. If the network information matches, the partner device accepts the connection to the network specified in the handover start request. If they do not match, the partner device refuses the connection to the network. It can be.

続いて、S605で実行される機器間ハンドオーバ処理について、図7を用いて説明する。   Next, the inter-device handover process executed in S605 will be described with reference to FIG.

本処理において、スマートデバイス101は、まず、タッチ操作が初回であるか否かを判定する(S701)。ここでの判定は、S607の判定と同様である。タッチ操作が初回であるか否かの判定は、例えば、NFC通信部205を用いて他の相手装置とNFC通信を既に実行したか否かによって行われてもよく、また、図5の一連の処理のうちのどのフェーズにあるかで判定されてもよい。スマートデバイス101は、タッチ操作が初回であると判定した場合(S701でYES)は、ネットワーク情報を含まない機器間ハンドオーバ要求を送信する(S702)。なお、スマートデバイス101は、双方向通信を行うP2Pモードで通信を開始した場合は、機器間ハンドオーバ要求を送信し、リーダライタモードで通信を開始した場合は、リードコマンドを送信してもよい。   In this process, the smart device 101 first determines whether or not the touch operation is the first time (S701). The determination here is the same as the determination in S607. The determination of whether or not the touch operation is the first time may be performed based on, for example, whether or not NFC communication with another partner apparatus has already been performed using the NFC communication unit 205, and the series of FIG. It may be determined in which phase of the process it is. If the smart device 101 determines that the touch operation is the first time (YES in S701), the smart device 101 transmits an inter-device handover request that does not include network information (S702). The smart device 101 may transmit an inter-device handover request when communication is started in the P2P mode in which bidirectional communication is performed, and may transmit a read command when communication is started in the reader / writer mode.

一方、スマートデバイス101は、タッチ操作が初回ではないと判定した場合(S701でNO)は、ネットワーク情報を含む機器間ハンドオーバ要求を送信する(S703)。S703では、スマートデバイス101は、ネットワーク情報を機器間ハンドオーバ要求に含めることで、ネットワーク情報で指定されるネットワークへの接続を相手装置へ要求することができる。なお、S703で送信されるネットワーク情報には、初回のタッチ操作で開始したNFC通信の相手装置から取得したネットワーク情報が含まれる。ここで、機器間ハンドオーバ要求は、Handover Requestメッセージでありうる。また、ここでのネットワーク情報は、例えば、無線LANに関する情報であり、AP/Clientといった種別や、SSID/暗号鍵といったパラメータが含まれるものとする。ただし、これに限定されるものではなく、ネットワーク情報には、例えば、Bluetooth等の他の無線通信に関する情報や複数の無線通信に関する情報が混在してもよい。   On the other hand, when the smart device 101 determines that the touch operation is not the first time (NO in S701), the smart device 101 transmits an inter-device handover request including network information (S703). In S703, the smart device 101 can request the other apparatus to connect to the network specified by the network information by including the network information in the inter-device handover request. Note that the network information transmitted in S703 includes network information acquired from the partner device of NFC communication started by the first touch operation. Here, the inter-device handover request may be a Handover Request message. The network information here is, for example, information related to the wireless LAN, and includes a type such as AP / Client and a parameter such as SSID / encryption key. However, the present invention is not limited to this, and the network information may include, for example, information on other wireless communication such as Bluetooth or information on a plurality of wireless communications.

その後、スマートデバイス101は、機器間ハンドオーバ要求に対する応答を受信したかを判定する(S704)。ここで、機器間ハンドオーバ要求に対する応答は選択応答であり、これは、Handover Selectメッセージでありうる。なお、スマートデバイス101は、S702においてリーダライタモードで通信を開始した場合で、リードコマンドを送信した場合は、選択応答に対応するレコードを読み込んだかを判定する。スマートデバイス101は、応答を受信していない場合(S704でYES)、処理を中止するかを判定し(S705)、処理を中止する場合(S705でYES)にはエラーと判定して(S711)、処理を終了する。一方、スマートデバイス101は、処理を中止しない場合(S705でNO)には、処理をS704へ戻す。   Thereafter, the smart device 101 determines whether a response to the inter-device handover request has been received (S704). Here, the response to the inter-device handover request is a selection response, which may be a Handover Select message. When the smart device 101 starts communication in the reader / writer mode in S702 and transmits a read command, the smart device 101 determines whether a record corresponding to the selection response has been read. If the smart device 101 has not received a response (YES in S704), the smart device 101 determines whether to stop the process (S705). If the process is stopped (YES in S705), the smart device 101 determines that there is an error (S711). The process is terminated. On the other hand, if the smart device 101 does not stop the processing (NO in S705), the smart device 101 returns the processing to S704.

また、スマートデバイス101は、応答を受信した場合(S704でYES)、続いて、応答にネットワーク情報が含まれているかを判定する(S706)。そして、スマートデバイス101は、応答にネットワーク情報が含まれていない場合(S706でNO)は、エラーと判定し(S711)、処理を終了する。選択応答にネットワーク情報が含まれないことは、機器間ハンドオーバ要求においてネットワーク情報で指定されていなかった場合には相手装置が何らかの理由で機器間ハンドオーバ処理を実行できない状態であることを示しうる。また、機器間ハンドオーバ要求においてネットワーク情報で指定されていた場合には、選択応答にネットワーク情報が含まれないことによって、相手装置がその指定されたネットワークへの接続が現段階で実行できない状態であることを示しうる。   When the smart device 101 receives the response (YES in S704), the smart device 101 determines whether the network information is included in the response (S706). Then, if the network information is not included in the response (NO in S706), the smart device 101 determines that there is an error (S711) and ends the process. The fact that the network information is not included in the selection response may indicate that when the inter-device handover request is not specified by the network information, the partner device cannot execute the inter-device handover process for some reason. Further, when the network information is specified in the inter-device handover request, the network information is not included in the selection response, so that the partner apparatus cannot connect to the specified network at this stage. It can be shown.

一方、スマートデバイス101は、応答にネットワーク情報が含まれていた場合(S706でYES)は、S701と同様にして、タッチ操作が初回であるか否かの判定を行う(S707)。そして、スマートデバイス101は、タッチ操作が初回である場合(S707でYES)は、機器間ハンドオーバ処理を正常終了する。一方、スマートデバイス101は、タッチ操作が初回でない場合(S707でNO)は、機器間ハンドオーバ要求に含めたネットワーク情報と、受信した選択応答に含められたネットワーク情報とが一致するかを判定する(S708)。なお、要求と応答とのそれぞれで指定されたネットワーク情報が一致する場合は、相手装置が要求に含めた無線LANへの接続ができる状態であり、一致しない場合は、接続できない状態であることとなる。   On the other hand, when the network information is included in the response (YES in S706), the smart device 101 determines whether or not the touch operation is the first time in the same manner as in S701 (S707). Then, when the touch operation is the first time (YES in S707), the smart device 101 normally ends the inter-device handover process. On the other hand, when the touch operation is not the first time (NO in S707), the smart device 101 determines whether the network information included in the inter-device handover request matches the network information included in the received selection response ( S708). If the network information specified in each of the request and response matches, the partner device can connect to the wireless LAN included in the request, and if it does not match, it cannot connect. Become.

そして、スマートデバイス101は、これらのネットワーク情報が一致する場合(S708でYES)は、機器間ハンドオーバ処理を正常終了する。一方、スマートデバイス101は、これらのネットワーク情報が一致しない場合(S708でNO)は、他方の相手装置との再タッチ操作が必要かを判定する(S709)。スマートデバイス101は、再タッチ操作が必要と判定した場合(S709でYES)は、例えば再タッチ操作が必要であることを示す情報を記憶部209に格納して(S710)、機器間ハンドオーバを正常終了する。一方、スマートデバイス101は、再タッチ操作が必要でないと判定した場合(S709でNO)は、エラーと判定して(S711)、機器間ハンドオーバを終了する。   Then, when these pieces of network information match (YES in S708), the smart device 101 normally ends the inter-device handover process. On the other hand, if the network information does not match (NO in S708), the smart device 101 determines whether a retouch operation with the other partner device is necessary (S709). If the smart device 101 determines that the retouch operation is necessary (YES in S709), the smart device 101 stores, for example, information indicating that the retouch operation is necessary in the storage unit 209 (S710), and the inter-device handover is normally performed. finish. On the other hand, when the smart device 101 determines that the retouch operation is not necessary (NO in S709), the smart device 101 determines that there is an error (S711) and ends the inter-device handover.

(無線通信システムにおける処理の流れ)
続いて、いくつかの場合に関しての無線通信システムで行われる処理の流れについて、図8〜図10を用いて説明する。
(Processing flow in wireless communication system)
Next, the flow of processing performed in the wireless communication system for several cases will be described with reference to FIGS.

[例1]
まず、図8を用いて、仲介ハンドオーバに、PC103が対応しているがプロジェクタ102が対応しない場合であって、スマートデバイス101が最初にプロジェクタ102に、次にPC103に、近接させられる場合について説明する。
[Example 1]
First, the case where the PC 103 is compatible with the mediation handover but the projector 102 is not compatible with FIG. 8 and the smart device 101 is first brought close to the projector 102 and then to the PC 103 will be described. To do.

まず、ユーザが、スマートデバイス101において仲介ハンドオーバ処理を開始するため、アプリケーションを起動したものとする(M801)。スマートデバイス101は、アプリケーションを起動すると、ハンドオーバさせる対象の2つの通信装置のうちの一方に、NFC通信部を近接させる(タッチする)ように通知する(S501、M802)。その後、ユーザは、スマートデバイス101のNFC通信部205を、プロジェクタ102のNFC通信部303に近接させたものとする。   First, it is assumed that the user has started an application in order to start the intermediary handover process in the smart device 101 (M801). When the smart device 101 starts the application, it notifies one of the two communication devices to be handed over to make the NFC communication unit approach (touch) (S501, M802). Thereafter, it is assumed that the user brings the NFC communication unit 205 of the smart device 101 close to the NFC communication unit 303 of the projector 102.

すると、スマートデバイス101およびプロジェクタ102は、NFC通信104を開始する(M803)。スマートデバイス101は、NFC通信を検出すると(S502でYES)、プロジェクタ102へ仲介ハンドオーバ要求を送信する(S601、M804)。プロジェクタ102は、仲介ハンドオーバに対応していないため、ネットワーク情報を含まない選択応答をスマートデバイス101へ送信する(M805)。スマートデバイス101は、選択応答を受信すると(S602でYES)、プロジェクタ102が仲介ハンドオーバに対応していないと判定する(S604でNO)。スマートデバイス101は、プロジェクタ102へのタッチ操作が仲介ハンドオーバ処理を開始してから初回のタッチ操作であるため(S701でYES)、ネットワーク情報を含まない機器間ハンドオーバ要求を送信する(S702、M806)。プロジェクタ102は、この機器間ハンドオーバ要求を受信すると、自身が作成した、または参加可能な無線LAN1に関するネットワーク情報を含む選択応答を送信し(M807)、その無線LAN1への接続を開始する(M808)。スマートデバイス101は、選択応答を受信すると(S704でYES)、応答がネットワーク情報を含み、タッチ操作が初回であるため(S706及びS707でYES)、他方の通信装置へのNFC通信部の近接を促す通知を行う(S505、M809)。   Then, the smart device 101 and the projector 102 start NFC communication 104 (M803). When the smart device 101 detects NFC communication (YES in S502), the smart device 101 transmits a mediation handover request to the projector 102 (S601, M804). Since the projector 102 does not support the mediated handover, the projector 102 transmits a selection response not including the network information to the smart device 101 (M805). When the smart device 101 receives the selection response (YES in S602), the smart device 101 determines that the projector 102 does not support the mediated handover (NO in S604). Since the touch operation on the projector 102 is the first touch operation after the touch operation on the projector 102 starts the intermediary handover process (YES in S701), the smart device 101 transmits an inter-device handover request that does not include network information (S702, M806). . When the projector 102 receives the inter-device handover request, the projector 102 transmits a selection response including network information related to the wireless LAN 1 created by itself or that can participate (M807), and starts connection to the wireless LAN 1 (M808). . When the smart device 101 receives the selection response (YES in S704), since the response includes network information and the touch operation is the first time (YES in S706 and S707), the NFC communication unit approaches the other communication device. A notification for prompting is performed (S505, M809).

その後、ユーザが、スマートデバイス101のNFC通信部205とPC103のNFC通信部403を近接させると、スマートデバイス101およびPC103はNFC通信105を開始する(M810)。スマートデバイス101は、NFC通信を検出すると(S506でYES)、PC103へ仲介ハンドオーバ要求を送信する(S601、M811)。PC103は、仲介ハンドオーバに対応しているため、自身が作成した、または参加可能な無線LAN2に関する情報を含む仲介接続応答をスマートデバイス101に送信する(M812)。スマートデバイス101は、ネットワーク情報を含む仲介接続応答を受信すると、PC103が仲介ハンドオーバに対応しており(S604のYES)、仲介ハンドオーバを実行可能と判断する(S606のYES)。なお、PC103とのタッチ操作は、プロジェクタ102に続いて2回目であり初回でない(S607でNO)。このため、スマートデバイス101は、プロジェクタ102が作成した又は参加可能な無線LAN1に関する情報を含むハンドオーバ開始要求を送信する(S608、M813)。PC103は、受信したハンドオーバ開始要求に含まれる無線LAN1に接続可能であると判断すると、スマートデバイス101に、無線LAN1に関する情報を含むハンドオーバ開始応答を送信する(M814)。その後、PC103は、無線LAN1への接続を開始する(M815)。スマートデバイス101は、ハンドオーバ開始応答を受信すると(S609でYES)、応答内の無線LAN1に関する情報が、M813の要求で指定した無線LAN1に関する情報と一致することを確認できる(S611でYES)。したがって、スマートデバイス101は、仲介ハンドオーバ処理完了のメッセージを表示し(M816)、処理を終了する。その後、プロジェクタ102とPC103との間で無線LAN接続処理が行われ(M817)、データ転送が開始される(M818)。   Thereafter, when the user brings the NFC communication unit 205 of the smart device 101 close to the NFC communication unit 403 of the PC 103, the smart device 101 and the PC 103 start the NFC communication 105 (M810). When the smart device 101 detects NFC communication (YES in S506), the smart device 101 transmits a mediation handover request to the PC 103 (S601, M811). Since the PC 103 supports the intermediary handover, it transmits an intermediary connection response including information related to the wireless LAN 2 created by itself or that can participate in the smart device 101 (M812). When receiving the mediation connection response including the network information, the smart device 101 determines that the mediation handover can be executed (YES in S606) because the PC 103 supports the mediation handover (YES in S604). The touch operation with the PC 103 is the second time following the projector 102 and is not the first time (NO in S607). For this reason, the smart device 101 transmits a handover start request including information on the wireless LAN 1 created by the projector 102 or that can participate (S608, M813). When the PC 103 determines that it can connect to the wireless LAN 1 included in the received handover start request, the PC 103 transmits a handover start response including information related to the wireless LAN 1 to the smart device 101 (M814). Thereafter, the PC 103 starts connection to the wireless LAN 1 (M815). Upon receiving the handover start response (YES in S609), the smart device 101 can confirm that the information related to the wireless LAN 1 in the response matches the information related to the wireless LAN 1 specified in the M813 request (YES in S611). Therefore, the smart device 101 displays a message indicating that the intermediary handover process is complete (M816) and ends the process. Thereafter, wireless LAN connection processing is performed between the projector 102 and the PC 103 (M817), and data transfer is started (M818).

このように、本実施形態によれば、初めにタッチした通信装置が仲介ハンドオーバに対応しない場合であっても、スマートデバイス101は、自動的に適切な手順を決定して2つの通信装置間の通信設定に係る通信を行うことができる。   As described above, according to the present embodiment, even when the first touched communication device does not support mediated handover, the smart device 101 automatically determines an appropriate procedure between the two communication devices. Communication related to communication settings can be performed.

[例2]
次に、図9を用いて、仲介ハンドオーバに、プロジェクタ102が対応しているがPC103が対応しない場合であって、スマートデバイス101が最初にプロジェクタ102に、次にPC103に、近接させられる場合について説明する。なお、PC103は、プロジェクタ102が作成した又は参加可能な無線LANネットワークに接続可能であるものとする。
[Example 2]
Next, referring to FIG. 9, a case where the projector 102 is compatible with the intermediary handover but the PC 103 is not compatible and the smart device 101 is first brought close to the projector 102 and then to the PC 103 will be described. explain. It is assumed that the PC 103 can be connected to a wireless LAN network that the projector 102 has created or can participate in.

M901〜M904の処理の流れは、図8のM801〜M804と同様であるため説明を省略する。本例では、プロジェクタ102は、仲介ハンドオーバに対応しているため、仲介ハンドオーバ要求を受信したことに応じて、自身が作成した又は参加可能な無線LAN1に関する情報を含む仲介接続応答をスマートデバイス101に送信する(M905)。そして、プロジェクタ102は、無線LAN1への接続を開始する(M906)。スマートデバイス101は、ネットワーク情報を含む仲介接続応答を受信すると、プロジェクタ102が仲介ハンドオーバに対応しており(S604でYES)、仲介ハンドオーバを実行可能であると判断する(S606でYES)。また、スマートデバイス101は、ここでのタッチ操作は初回であるため(S607のYES)、他方の通信装置にNFC通信部を近接させるよう促すメッセージを表示する(S505、M907)。   Since the processing flow of M901 to M904 is the same as that of M801 to M804 in FIG. In this example, since the projector 102 supports the intermediary handover, in response to the reception of the intermediary handover request, the projector 102 sends an intermediary connection response including information regarding the wireless LAN 1 that the projector 102 has created or can participate in to the smart device 101. Transmit (M905). Then, the projector 102 starts connection to the wireless LAN 1 (M906). When the smart device 101 receives the mediation connection response including the network information, the smart device 101 determines that the projector 102 supports the mediation handover (YES in S604) and can execute the mediation handover (YES in S606). Further, since the touch operation here is the first time (YES in S607), the smart device 101 displays a message that prompts the NFC communication unit to approach the other communication device (S505, M907).

M908およびM909の処理は、図8のM810およびM811と同様であるため、ここでの説明は省略する。PC103は、仲介ハンドオーバ要求を受信すると、自身は仲介ハンドオーバに対応していないため、ネットワーク情報を含まない選択応答をスマートデバイス101へ送信する(M910)。スマートデバイス101は、ネットワーク情報を含まない選択応答を受信すると、PC103が仲介ハンドオーバに対応していないと判断する(S604でNO)。また、スマートデバイス101は、PC103とのタッチ操作はプロジェクタ102に続いて2回目であるため(S701でNO)、ネットワーク情報を含む機器間ハンドオーバ要求を送信する(M911)。なお、ここで含められるネットワーク情報は、プロジェクタ102から取得した無線LAN1に関する情報である(S703)。PC103は、機器間ハンドオーバ要求を受信すると、プロジェクタ102が作成した又は参加可能な無線LAN1に接続可能であると判断し、無線LAN1に関するネットワーク情報を含む選択応答をスマートデバイス101へ送信する(M912)。そして、PC103は、無線LAN1への接続を開始する(M913)。以降、M914〜M916の処理は図8のM816〜M818と同様であるため、ここでの説明は省略する。   Since the processing of M908 and M909 is the same as that of M810 and M811 in FIG. 8, the description thereof is omitted here. Upon receiving the mediation handover request, the PC 103 transmits a selection response not including network information to the smart device 101 because it does not support the mediation handover (M910). When the smart device 101 receives the selection response that does not include the network information, the smart device 101 determines that the PC 103 does not support the mediated handover (NO in S604). Further, since the touch operation with the PC 103 is the second time following the projector 102 (NO in S701), the smart device 101 transmits an inter-device handover request including network information (M911). Note that the network information included here is information regarding the wireless LAN 1 acquired from the projector 102 (S703). Upon receiving the inter-device handover request, the PC 103 determines that it can be connected to the wireless LAN 1 created by the projector 102 or that can participate, and transmits a selection response including network information related to the wireless LAN 1 to the smart device 101 (M912). . Then, the PC 103 starts connection to the wireless LAN 1 (M913). Thereafter, the processing of M914 to M916 is the same as that of M816 to M818 in FIG. 8, and thus the description thereof is omitted here.

このように、本実施形態によれば、後からタッチした通信装置が仲介ハンドオーバに対応しない場合であっても、スマートデバイス101は、自動的に適切な手順を決定して2つの通信装置間の通信設定に係る通信を行うことができる。   As described above, according to the present embodiment, the smart device 101 automatically determines an appropriate procedure between the two communication apparatuses even when the communication apparatus touched later does not support the intermediary handover. Communication related to communication settings can be performed.

[例3]
次に、図10を用いて、仲介ハンドオーバに、プロジェクタ102が対応しているがPC103が対応しない場合であって、スマートデバイス101が最初にプロジェクタ102に、次にPC103に、近接させられる場合について説明する。なお、PC103は、プロジェクタ102が作成した又は参加可能な無線LANネットワークには接続可能でないものとする。なお、M1001〜M1011の処理は、図9のM901〜M911と同様であるため説明を省略する。
[Example 3]
Next, referring to FIG. 10, a case where the projector 102 corresponds to the intermediary handover but the PC 103 does not support the case where the smart device 101 is first brought close to the projector 102 and then to the PC 103. explain. It is assumed that the PC 103 cannot be connected to a wireless LAN network created by the projector 102 or that can participate. Note that the processing of M1001 to M1011 is the same as that of M901 to M911 in FIG.

PC103は、機器間ハンドオーバ要求を受信すると、プロジェクタ102が作成した又は参加可能な無線LAN1に接続可能でないため、自身が作成した又は参加可能な無線LAN2に関するネットワーク情報を含む選択応答を送信する(M1012)。そして、PC103は、無線LAN2への無線LAN接続を開始する(M1013)。   Upon receiving the inter-device handover request, the PC 103 is not connectable to the wireless LAN 1 that the projector 102 has created or can participate in, and therefore transmits a selection response that includes network information related to the wireless LAN 2 that has been created or can participate (M1012). ). Then, the PC 103 starts a wireless LAN connection to the wireless LAN 2 (M1013).

スマートデバイス101は、選択応答を受信すると(S704でYES)、応答内にネットワーク情報が含まれ(S706でYES)、タッチ操作が2回目であるため(S707でNO)、要求と応答とに含まれたネットワーク情報が一致するかを判定する。この場合、スマートデバイス101は、機器間ハンドオーバ要求内のネットワーク情報と、選択応答内のネットワーク情報とが一致しないため(S708でNO)、プロジェクタ102との再タッチ操作が必要と判定する(S510及びS709でYES)。   When the smart device 101 receives the selection response (YES in S704), the network information is included in the response (YES in S706), and the touch operation is the second time (NO in S707), so it is included in the request and the response. It is determined whether the received network information matches. In this case, since the network information in the inter-device handover request does not match the network information in the selection response (NO in S708), the smart device 101 determines that a retouch operation with the projector 102 is necessary (S510 and YES in S709).

その結果、スマートデバイス101は、プロジェクタ102にNFC通信部を再度近接させるよう促すメッセージを表示する(S505、M1014)。ユーザがスマートデバイス101のNFC通信部205とプロジェクタ102のNFC通信部303とを再度近接させると、スマートデバイス101及びプロジェクタ102は、NFC通信104を開始する(M1015)。M1016およびM1017はそれぞれM1004およびM1005と同様である。スマートデバイス101は、仲介接続応答を受信すると(S604でYES)、応答にネットワーク情報が含まれ、タッチ操作が初回でない(S606及びS607でYES)と判定しうる。このため、スマートデバイス101は、PC103から取得した無線LAN2に関するネットワーク情報を含むハンドオーバ開始要求を送信する(S608、M1018)。   As a result, the smart device 101 displays a message prompting the projector 102 to bring the NFC communication unit closer again (S505, M1014). When the user brings the NFC communication unit 205 of the smart device 101 close to the NFC communication unit 303 of the projector 102 again, the smart device 101 and the projector 102 start the NFC communication 104 (M1015). M1016 and M1017 are the same as M1004 and M1005, respectively. When the smart device 101 receives the mediation connection response (YES in S604), it can determine that the network information is included in the response and the touch operation is not the first time (YES in S606 and S607). Therefore, the smart device 101 transmits a handover start request including network information regarding the wireless LAN 2 acquired from the PC 103 (S608, M1018).

プロジェクタ102は、ハンドオーバ開始要求を受けると、PC103が作成した又は参加可能な無線LAN2のネットワークに接続可能であるため、無線LAN2に関するネットワーク情報を含むハンドオーバ開始応答を送信する(M1019)。そして、プロジェクタ102は、無線LAN2への接続を開始する(M1020)。以降、M1021〜M1023の処理は、図8のM816〜M818と同様であるため、ここでの説明は省略する。   Upon receiving the handover start request, the projector 102 is connectable to the wireless LAN 2 network created by or that can be joined by the PC 103, and therefore transmits a handover start response including network information related to the wireless LAN 2 (M1019). Then, the projector 102 starts connection to the wireless LAN 2 (M1020). Thereafter, the processing of M1021 to M1023 is the same as that of M816 to M818 of FIG. 8, and thus description thereof is omitted here.

このように、本実施形態によれば、後からタッチした通信装置が仲介ハンドオーバに対応せず、かつ、指定されたネットワークに接続できない場合であっても、スマートデバイス101は、自動的に2つの通信装置間の通信設定に係る通信を行うことができる。   As described above, according to the present embodiment, even if the communication device touched later does not support the intermediary handover and cannot connect to the designated network, the smart device 101 automatically Communication related to communication settings between communication devices can be performed.

上述の各例において、プロジェクタ102またはPC103のどちらか一方がスマートデバイス101を用いた仲介ハンドオーバに対応していない場合について説明したが、双方が仲介ハンドオーバに対応していなくてもよい。この場合、スマートデバイス101は、図8のM801〜M808の処理を実行した後、図9のM907〜M916の処理を実行することで、プロジェクタ102とPC103との間での無線通信を確立させることができる。また、スマートデバイス101がカードエミュレーションモードを利用して、プロジェクタ102およびPC103にネットワーク情報を読み込ませてもよい。なお、プロジェクタ102とPC103との双方が仲介ハンドオーバに対応していない場合には、エラーと判定して仲介ハンドオーバ処理を終了し、ユーザへ通知してもよい。   In each of the above-described examples, the case has been described where one of the projector 102 and the PC 103 does not support the intermediary handover using the smart device 101. However, both may not support the intermediary handover. In this case, the smart device 101 establishes wireless communication between the projector 102 and the PC 103 by executing the processing of M907 to M916 of FIG. 9 after executing the processing of M801 to M808 of FIG. Can do. Further, the smart device 101 may cause the projector 102 and the PC 103 to read network information using the card emulation mode. When both the projector 102 and the PC 103 do not support the intermediary handover, it may be determined as an error and the intermediary handover process may be terminated and notified to the user.

各例において、プロジェクタ102およびPC103が作成した又は参加可能なネットワークのうち、どちらの無線LANネットワークを使用するかをスマートデバイス101が自動で選択するようにしたが、これに限られない。例えば、プロジェクタ102およびPC103からネットワーク情報を取得した時点でスマートデバイス101の表示部211にそのネットワークの暗号化方式等を含む情報をリスト表示し、ユーザに選択させてもよい。この場合、スマートデバイス101は、PC103とのNFC通信においてハンドオーバ開始要求を送信しなくてもよい。また、スマートデバイス101は、機器間ハンドオーバ要求の中にネットワーク情報を含めず、ユーザが選択したネットワークに応じて、そのネットワークへ接続させる相手装置への再タッチ操作を促してもよい。これにより、ユーザは接続確立対象の2つの通信装置を、よりセキュリティの高い無線LANネットワークに接続させることができる。   In each example, the smart device 101 automatically selects which wireless LAN network to use from the networks created by the projector 102 and the PC 103 or that can participate, but the present invention is not limited to this. For example, when network information is acquired from the projector 102 and the PC 103, information including the encryption method of the network may be displayed in a list on the display unit 211 of the smart device 101, and may be selected by the user. In this case, the smart device 101 does not need to transmit a handover start request in NFC communication with the PC 103. Further, the smart device 101 may not include the network information in the inter-device handover request, and may prompt a retouch operation to the partner apparatus to be connected to the network according to the network selected by the user. As a result, the user can connect the two communication devices to be established with the wireless LAN network with higher security.

また、スマートデバイス101は、プロジェクタ102からネットワーク情報を取得した時点で、そのネットワークへ接続してもよいか否かを表示部211にメッセージ表示し、ユーザに選択させてもよい。これにより、そのネットワークが信頼できるネットワークか否かをユーザが確認した上で、タッチ操作を増加させることなく、接続確立対象の通信装置間の接続を確立させることができる。   Further, when the smart device 101 acquires network information from the projector 102, the smart device 101 may display a message on the display unit 211 as to whether or not to connect to the network and allow the user to select. Thereby, after the user confirms whether or not the network is a reliable network, it is possible to establish a connection between the communication apparatuses to be established without increasing the touch operation.

各例において、スマートデバイス101は、最初にプロジェクタ102に、次にPC103に、タッチ操作する場合について説明したが、順序が逆であってもよい。また、スマートデバイス101は、連続して同一の通信装置にタッチした場合には、エラーと判断して仲介ハンドオーバ処理を終了してもよいし、仲介ハンドオーバ処理を、再度、初めから開始してもよい。   In each example, the case where the smart device 101 performs a touch operation on the projector 102 first and then on the PC 103 has been described. However, the order may be reversed. If the smart device 101 continuously touches the same communication device, the smart device 101 may determine that an error has occurred and terminate the intermediary handover process, or may start the intermediary handover process again from the beginning. Good.

各例では、プロジェクタ102及びPC103は、無線LAN接続を、ハンドオーバ要求への応答を送信した後に開始するようにしたが、別のタイミングで開始してもよい。例えば、プロジェクタ102及びPC103は、ハンドオーバ要求を受信したことを契機に無線LAN接続を開始してもよい。これにより、無線LANネットワークを自身で作成する場合に、スマートデバイス101と、接続確立対象の他方の通信装置とのNFC通信が即座に開始された場合にも、確実にハンドオーバを完了することができる。   In each example, the projector 102 and the PC 103 start the wireless LAN connection after transmitting a response to the handover request, but may start at another timing. For example, the projector 102 and the PC 103 may start a wireless LAN connection when a handover request is received. Accordingly, when the wireless LAN network is created by itself, the handover can be surely completed even when NFC communication between the smart device 101 and the other communication device to be connected is immediately started. .

各例では、仲介ハンドオーバ完了通知は、ハンドオーバ開始応答または選択応答を受信したことを契機に行われる場合について説明したが、別のタイミングで行われてもよい。例えば、接続確立対象の通信装置間で使用される無線LANネットワークへ一時的に接続して通信疎通確認やディスカバリ処理等を実行し、これらの通信装置間の無線LAN接続処理が正常終了したことを確認してから、通知が行われてもよい。これにより、無線LAN接続処理がエラー等により失敗した場合にも、ユーザがハンドオーバの状況を確実に認識することができる。   In each example, the case where the intermediary handover completion notification is performed in response to the reception of the handover start response or the selection response has been described, but it may be performed at another timing. For example, temporarily connecting to a wireless LAN network used between communication devices to be connected and executing communication communication confirmation, discovery processing, etc., and confirming that wireless LAN connection processing between these communication devices has been completed normally Notification may be made after confirmation. Accordingly, even when the wireless LAN connection process fails due to an error or the like, the user can surely recognize the handover status.

各例では、スマートデバイス101が、仲介ハンドオーバ要求に対する応答が仲介接続応答でなかった場合に、無条件で機器間ハンドオーバ処理を実行するようにしたが、これに限られない。例えば、スマートデバイス101は、仲介接続応答ではないがネットワーク情報が含まれている場合には、機器間ハンドオーバ処理をスキップしてもよい。これにより、スマートデバイス101は、不要なNFC通信を行うことなく仲介ハンドオーバ処理を継続することができる。   In each example, the smart device 101 executes the inter-device handover process unconditionally when the response to the mediation handover request is not a mediation connection response, but is not limited thereto. For example, the smart device 101 may skip the inter-device handover process when the network information is included although it is not an intermediary connection response. Thereby, the smart device 101 can continue the intermediary handover process without performing unnecessary NFC communication.

<その他の実施形態>
なお、NFC及びIEEE802.11準拠の無線LANが用いられる場合について説明したが、これに限られない。例えば、ワイヤレスUSB、MBOA、Bluetooth(商標登録)、UWB、ZigBee等の他の無線媒体が用いられてもよい。また、有線LAN等の有線通信媒体が用いられてもよい。ここで、MBOAは、Multi Band OFDM Allianceの頭字語であり、UWBには、ワイヤレスUSB、ワイヤレス1394、WINETなどが含まれる。
<Other embodiments>
In addition, although the case where the wireless LAN based on NFC and IEEE802.11 was used was demonstrated, it is not restricted to this. For example, other wireless media such as wireless USB, MBOA, Bluetooth (registered trademark), UWB, and ZigBee may be used. Further, a wired communication medium such as a wired LAN may be used. Here, MBOA is an acronym for Multi Band OFDM Alliance, and UWB includes wireless USB, wireless 1394, WINET, and the like.

本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。   The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

101:スマートデバイス、102:プロジェクタ、103:PC、205:NFC通信部、208:制御部   101: Smart device, 102: Projector, 103: PC, 205: NFC communication unit, 208: Control unit

Claims (18)

第1の他の装置と第2の他の装置との間の接続を設定することができる通信装置であって、
前記第1の他の装置および前記第2の他の装置と、第1の無線通信を行う通信手段と、
前記第1の他の装置と前記第2の他の装置とが第2の無線通信で接続するための設定に係る通信を、前記第1の他の装置および前記第2の他の装置のそれぞれと前記通信手段を介して実行する実行手段と、
を有し、
前記実行手段は、前記通信手段に前記設定のための第1の手順に係る第1の信号を前記第1の他の装置と前記第2の他の装置とのそれぞれへ送信させ、受信された当該第1の信号に対する応答に応じて、当該応答を送信した装置との間で、前記第1の手順と異なる第2の手順による前記設定のための通信を実行するかを決定する、
ことを特徴とする通信装置。
A communication device capable of setting up a connection between a first other device and a second other device,
Communication means for performing first wireless communication with the first other device and the second other device;
Communication related to the setting for connecting the first other device and the second other device by second wireless communication is performed for each of the first other device and the second other device. And execution means for executing via the communication means,
Have
The execution means causes the communication means to transmit a first signal related to the first procedure for the setting to each of the first other apparatus and the second other apparatus, and is received In accordance with a response to the first signal, determine whether to perform communication for the setting according to a second procedure different from the first procedure with the apparatus that has transmitted the response.
A communication device.
前記実行手段は、前記応答が、前記第1の手順に係る第1の応答でなかった場合、当該応答を送信した他の装置との間で、前記第2の手順による前記設定のための通信を実行する、
ことを特徴とする請求項1に記載の通信装置。
If the response is not the first response according to the first procedure, the execution means communicates with the other device that has transmitted the response for the setting according to the second procedure. Run the
The communication apparatus according to claim 1.
前記実行手段は、前記応答が、前記第1の手順に係る第1の応答であった場合に、当該応答を送信した他の装置との間で、前記第2の手順による前記設定のための通信を実行しない、
ことを特徴とする請求項1又は2に記載の通信装置。
When the response is the first response according to the first procedure, the execution means is configured to perform the setting according to the second procedure with another device that has transmitted the response. Do not execute communication,
The communication apparatus according to claim 1 or 2, wherein
前記実行手段は、前記第1の他の装置からの応答が前記第1の手順に係る第1の応答であり、前記第2の他の装置からの応答が前記第1の応答でなかった場合、前記第1の他の装置との間では前記第2の手順による前記設定のための通信を実行せず、前記第2の他の装置との間では前記第2の手順による前記設定のための通信を実行する、
ことを特徴とする請求項1から3のいずれか1項に記載の通信装置。
The execution means, when the response from the first other device is the first response according to the first procedure, and the response from the second other device is not the first response The communication for the setting according to the second procedure is not executed with the first other device, and the setting according to the second procedure is not performed with the second other device. Execute communication,
The communication device according to any one of claims 1 to 3, wherein
前記実行手段は、前記第1の他の装置と前記第2の他の装置との少なくともいずれかから受信された応答が前記第1の手順に係る第1の応答でない第2の応答であった場合、前記第2の手順に係る第2の信号を、当該第2の応答を送信した他の装置へ送信する、
ことを特徴とする請求項1から4のいずれか1項に記載の通信装置。
The execution means is a second response in which the response received from at least one of the first other device and the second other device is not the first response according to the first procedure. A second signal according to the second procedure is transmitted to another device that has transmitted the second response;
The communication apparatus according to any one of claims 1 to 4, wherein the communication apparatus is characterized in that:
前記実行手段は、前記第2の信号に対する第3の応答にネットワークに関する情報が含まれていない場合、前記第1の他の装置と前記第2の他の装置との間の接続の設定を中止する、
ことを特徴とする請求項5に記載の通信装置。
The execution unit cancels setting of a connection between the first other device and the second other device when the third response to the second signal does not include information about the network. To
The communication apparatus according to claim 5.
前記実行手段は、前記第1の他の装置との間で前記設定のための第1の通信を実行した後に、前記第2の他の装置との間で前記設定のための第2の通信を実行する場合であって、当該第2の通信において前記第2の信号を送信する場合、当該第2の信号に、前記第1の通信において取得したネットワークに関する情報を含めて送信する、
ことを特徴とする請求項5又は6に記載の通信装置。
The execution means executes the first communication for the setting with the first other device, and then performs the second communication for the setting with the second other device. When the second signal is transmitted in the second communication, the second signal is transmitted including information related to the network acquired in the first communication.
The communication apparatus according to claim 5 or 6, wherein
前記実行手段は、前記第2の他の装置から受信した前記第2の信号への応答に含まれているネットワークの情報が、前記第2の信号に含めたネットワークの情報と一致しない場合に、当該応答に含まれているネットワークの情報を含めた信号を前記第1の他の装置へ送信し、前記第1の他の装置を当該ネットワークへ接続させる、
ことを特徴とする請求項7に記載の通信装置。
The execution means, when the network information included in the response to the second signal received from the second other device does not match the network information included in the second signal, Transmitting a signal including network information included in the response to the first other device, and connecting the first other device to the network;
The communication apparatus according to claim 7.
前記実行手段は、前記第1の他の装置との間で前記設定のための第1の通信を実行する前に前記第2の他の装置との間で前記設定のための第2の通信が実行されない場合であって、当該第1の通信において前記第2の信号を送信する場合、当該第2の信号には、ネットワークに関する情報を含めずに送信する、
ことを特徴とする請求項5から8のいずれか1項に記載の通信装置。
The execution means executes the second communication for the setting with the second other device before executing the first communication for the setting with the first other device. If the second signal is transmitted in the first communication, the second signal is transmitted without including information on the network.
The communication device according to claim 5, wherein the communication device is a device.
前記実行手段は、前記第1の他の装置と前記第2の他の装置との少なくともいずれかから受信された応答が前記第1の手順に係る第1の応答であった場合であって、当該応答にネットワークに関する情報が含まれていない場合、前記第1の他の装置と前記第2の他の装置との間の接続の設定を中止する、
ことを特徴とする請求項1から9のいずれか1項に記載の通信装置。
The execution means is a case where the response received from at least one of the first other device and the second other device is the first response according to the first procedure, If the response does not include information about the network, cancel setting of the connection between the first other device and the second other device;
The communication apparatus according to any one of claims 1 to 9, wherein
前記実行手段は、前記応答が前記第1の手順に係る第1の応答でなかった場合であって、当該応答にネットワークに関する情報が含まれていた場合、当該応答を送信した他の装置との間においては前記第2の手順による前記設定のための通信を実行しない、
ことを特徴とする請求項1に記載の通信装置。
The execution means is a case where the response is not the first response related to the first procedure, and if the response contains information about the network, the execution means communicates with another device that has transmitted the response. In the meantime, the communication for the setting according to the second procedure is not executed.
The communication apparatus according to claim 1.
前記ネットワークに関する情報は、前記第2の無線通信において用いられうるネットワークに関する情報である、
ことを特徴とする請求項6から11のいずれか1項に記載の通信装置。
The information regarding the network is information regarding a network that can be used in the second wireless communication.
The communication device according to claim 6, wherein the communication device is a device.
前記実行手段は、前記第1の他の装置との間で前記設定のための第1の通信を実行した後に、前記第2の他の装置との間で前記設定のための第2の通信を実行する場合であって、前記第2の他の装置からの前記第1の信号に対する応答が前記第1の手順に係る第1の応答であった場合、前記第2の他の装置へ、前記第2の無線通信による接続を開始するように指示を送信する、
ことを特徴とする請求項1から11のいずれか1項に記載の通信装置。
The execution means executes the first communication for the setting with the first other device, and then performs the second communication for the setting with the second other device. And when the response to the first signal from the second other device is the first response according to the first procedure, to the second other device, Transmitting an instruction to start a connection by the second wireless communication;
The communication device according to claim 1, wherein the communication device is a device.
前記第1の無線通信は、Near Field Communication(NFC)を用いた無線通信である、
ことを特徴とする請求項1から13のいずれか1項に記載の通信装置。
The first wireless communication is wireless communication using Near Field Communication (NFC).
The communication device according to claim 1, wherein the communication device is a device.
前記第2の無線通信は、IEEE802.11規格シリーズに準拠した無線LANとBluetoothとの少なくともいずれかを用いた無線通信である、
ことを特徴とする請求項1から14のいずれか1項に記載の通信装置。
The second wireless communication is wireless communication using at least one of a wireless LAN and Bluetooth compliant with the IEEE 802.11 standard series.
The communication device according to claim 1, wherein the communication device is a device.
第1の他の装置および第2の他の装置と、第1の無線通信を行う通信手段を有し、前記第1の他の装置と前記第2の他の装置との間の接続を設定することができる通信装置の制御方法であって、
実行手段が、前記第1の他の装置と前記第2の他の装置とが第2の無線通信で接続するための設定に係る通信を、前記第1の他の装置および前記第2の他の装置のそれぞれと前記通信手段を介して実行する実行工程を有し、
前記実行工程では、前記通信手段に前記設定のための第1の手順に係る第1の信号を前記第1の他の装置と前記第2の他の装置とのそれぞれへ送信させ、受信された当該第1の信号に対する応答に応じて、当該応答を送信した装置との間で、前記第1の手順と異なる第2の手順による前記設定のための通信を実行するかを決定する、
ことを特徴とする制御方法。
Communication means for performing first wireless communication with the first other apparatus and the second other apparatus, and setting a connection between the first other apparatus and the second other apparatus A communication device control method capable of
Execution means performs communication related to the setting for connecting the first other device and the second other device by the second wireless communication, the first other device and the second other device. Each of the apparatus and an execution step executed through the communication means,
In the execution step, the communication means transmits a first signal related to the first procedure for the setting to each of the first other device and the second other device, and is received. In accordance with a response to the first signal, determine whether to perform communication for the setting according to a second procedure different from the first procedure with the apparatus that has transmitted the response.
A control method characterized by that.
コンピュータを請求項1から15のいずれか1項に記載の通信装置が備える各手段として機能させるためのプログラム。   The program for functioning a computer as each means with which the communication apparatus of any one of Claim 1 to 15 is provided. 通信装置であって、
第1の他の装置と第2の他の装置のうち少なくとも一方がNFC Connection Handoverの規格によって規定されるMediated Handoverに対応していないかを判定する判定手段と、
前記第1の他の装置と前記第2の他の装置のうち少なくとも一方がMediated Handoverに対応していないと前記判定手段により判定された場合、NFC Connection Handoverの規格によって規定されるNegotiated HandoverまたはStatic Handoverを用いて前記第1の他の装置と前記第2の他の装置とをNFCと異なる通信方式にハンドオーバさせるための処理を行う処理手段と、
を有することを特徴とする通信装置。
A communication device,
Determination means for determining whether at least one of the first other device and the second other device is not compatible with the mediated handover defined by the NFC Connection Handover standard;
If the determination unit determines that at least one of the first other device and the second other device does not support the mediated handover, the negotiated handover or static defined by the NFC Connection Handover standard is used. Processing means for performing processing for handing over the first other device and the second other device to a communication method different from NFC using Handover;
A communication apparatus comprising:
JP2015243511A 2015-12-14 2015-12-14 Communication device, control method and program Pending JP2017112432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015243511A JP2017112432A (en) 2015-12-14 2015-12-14 Communication device, control method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015243511A JP2017112432A (en) 2015-12-14 2015-12-14 Communication device, control method and program

Publications (1)

Publication Number Publication Date
JP2017112432A true JP2017112432A (en) 2017-06-22

Family

ID=59079937

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015243511A Pending JP2017112432A (en) 2015-12-14 2015-12-14 Communication device, control method and program

Country Status (1)

Country Link
JP (1) JP2017112432A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11818775B2 (en) 2020-03-26 2023-11-14 Brother Kogyo Kabushiki Kaisha Communication system, electronic devices and non-transitory computer-readable recording medium therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11818775B2 (en) 2020-03-26 2023-11-14 Brother Kogyo Kabushiki Kaisha Communication system, electronic devices and non-transitory computer-readable recording medium therefor

Similar Documents

Publication Publication Date Title
EP3209065B1 (en) Transmission of wlan configuration via blutooth
JP4656637B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM AND COMMUNICATION PARAMETER SETTING METHOD
JP6335466B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP6558965B2 (en) Communication device, control method, and program
US20220060872A1 (en) Bluetooth device connection method and device
JP6360316B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
US10282147B2 (en) Image forming device and control method
JP2009038594A (en) Communication device, and communication parameter setting method
JP2015061169A (en) Communication device and communication system
US10560969B2 (en) Communication apparatus, control method for communication apparatus, and program
US9439229B2 (en) Method and apparatus for performing pairing between coordinator and device in network, method and apparatus for performing pairing between devices, network system including the coordinator and the devices
JP5867319B2 (en) Communication device
JP2017034613A (en) Communication device and computer program for communication device
JP2016025466A (en) Communication system, communication method, communications apparatus and method of controlling the same, and computer program
JP2015073250A (en) Communication device, control method of communication device, and program
US8655276B2 (en) Communication apparatus, control method for communication apparatus, and storage medium
JP6512875B2 (en) Communication device, control method of communication device, and program
JP2009171125A (en) Communication equipment, control method, program, and storage medium
US9900829B2 (en) Communication device, method for controlling the communication device, and program
JP2017112432A (en) Communication device, control method and program
US9467935B2 (en) Communication apparatus and control method thereof
JP2018137584A (en) Communication device and computer program for terminal device
JP5784068B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM, AND STORAGE MEDIUM
JP2016111485A (en) Communication device, control method of communication device, and program
US11166332B2 (en) Communication apparatus and control method thereof