JP2017103650A - Communication device, communication device control method, and program - Google Patents

Communication device, communication device control method, and program Download PDF

Info

Publication number
JP2017103650A
JP2017103650A JP2015236003A JP2015236003A JP2017103650A JP 2017103650 A JP2017103650 A JP 2017103650A JP 2015236003 A JP2015236003 A JP 2015236003A JP 2015236003 A JP2015236003 A JP 2015236003A JP 2017103650 A JP2017103650 A JP 2017103650A
Authority
JP
Japan
Prior art keywords
communication
wireless lan
digital camera
unit
mobile phone
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
JP2015236003A
Other languages
Japanese (ja)
Inventor
正和 土橋
Masakazu Tsuchihashi
正和 土橋
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 JP2015236003A priority Critical patent/JP2017103650A/en
Publication of JP2017103650A publication Critical patent/JP2017103650A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

【課題】BLEを用いて無線LANに接続する際のハンドオーバー時間を短縮する。
【解決手段】デジタルカメラ100が携帯電話200からBLEハンドオーバー要求を受信すると、デジタルカメラ100はその要求に応答するとともに、無線LAN通信機能を起動して、アクセスポイントとして無線信号を発信する準備を開始する。それと並行して、携帯電話に対して無線LANパラメータを提供し、無線LAN接続要求を待つ。デジタルカメラ100は無線LAN接続要求があったときにアクセスポイントとして機能していれば、無線LANにハンドオーバーしてBLEを停止する。
【選択図】図7
A method of reducing handover time when connecting to a wireless LAN using BLE.
When a digital camera receives a BLE handover request from a mobile phone, the digital camera responds to the request, activates a wireless LAN communication function, and prepares to transmit a radio signal as an access point. Start. At the same time, it provides wireless LAN parameters to the mobile phone and waits for a wireless LAN connection request. If the digital camera 100 functions as an access point when a wireless LAN connection request is made, the digital camera 100 is handed over to the wireless LAN and stops BLE.
[Selection] Figure 7

Description

本発明は、複数の無線通信手段を介して外部装置と通信する通信装置、通信装置の制御方法、プログラムに関する。   The present invention relates to a communication device that communicates with an external device via a plurality of wireless communication means, a communication device control method, and a program.

近年、無線LAN等の通信接続のための設定を簡単な操作で実現するための手法として、他の通信方式を用いて、認証に必要な設定情報等を交換することで、ユーザが無線LANの設定情報を入力する手間を省く仕組みが提案されている。この仕組みは、いわゆるハンドオーバー(特に垂直ハンドオーバー)と呼ばれるもので、NFC(Near Field Communicatin)やBLE(Bluetooth(登録商標) Low Energy)等、より消費電力が小さく通信範囲の狭い通信を用いて、認証に必要な設定情報等を交換する。例えば、特許文献1には、デジタルカメラと携帯電話とが、NFCを用いて無線LANの通信パラメータを共有することが開示されている。   In recent years, as a method for realizing a setting for communication connection such as a wireless LAN by a simple operation, the user can exchange the setting information necessary for authentication by using another communication method, so that the user can There has been proposed a mechanism that saves the trouble of inputting setting information. This mechanism is called so-called handover (especially vertical handover), and uses communication with a smaller communication range such as NFC (Near Field Communicator) and BLE (Bluetooth (registered trademark) Low Energy). Exchange setting information necessary for authentication. For example, Patent Document 1 discloses that a digital camera and a mobile phone share wireless LAN communication parameters using NFC.

特開2015−146521号公報JP2015-146521A

しかしながら、特許文献1では、ハンドオーバーの処理に必要な時間について何ら考慮されていない。例えば、無線LANの接続をするためのハンドオーバーに必要な時間には、無線LANの起動と接続処理にかかる時間のみならず、その通信パラメータを共有するための他の通信経路の起動や接続処理にかかる時間も含まれる。そのため、単に無線LANを起動して接続するよりも時間がかかる場合もある。   However, in Patent Document 1, no consideration is given to the time required for the handover process. For example, the time required for handover to connect to a wireless LAN includes not only the time required for wireless LAN activation and connection processing, but also activation and connection processing of other communication paths for sharing the communication parameters. The time it takes is included. For this reason, it may take more time than simply starting and connecting the wireless LAN.

上述の課題に鑑み、本発明は、ハンドオーバーの処理に必要な時間を短縮することを目的とする。   In view of the above problems, an object of the present invention is to shorten the time required for handover processing.

上記の課題を解決するため、本発明の通信装置は、第1の通信手段と、第2の通信手段と、前記第1の通信手段による通信を介して前記第2の通信手段による通信へのハンドオーバーの要求を外部装置から受信すると、前記要求に応じたハンドオーバーのために前記第1の通信手段による通信を停止する前に、前記第2の通信手段による通信の準備処理を開始する制御手段とを有することを特徴とする。
In order to solve the above-described problems, a communication device according to the present invention is configured to communicate with a first communication unit, a second communication unit, and a communication with the second communication unit via a communication with the first communication unit. Control that, upon receiving a handover request from an external device, starts communication preparation processing by the second communication means before stopping communication by the first communication means for handover according to the request Means.

本発明によれば、ハンドオーバーの処理に必要な時間を短縮することができる。   According to the present invention, the time required for the handover process can be shortened.

(a)第1の実施形態におけるデジタルカメラのブロック図である。(b)、(c)は、第1の実施形態におけるデジタルカメラの外観図である。(A) It is a block diagram of the digital camera in 1st Embodiment. (B), (c) is an external view of the digital camera in the first embodiment. 第1の実施形態における携帯電話の構成を示すブロック図である。It is a block diagram which shows the structure of the mobile telephone in 1st Embodiment. 第1の実施形態におけるネットワークシステムの概略図である。1 is a schematic diagram of a network system in a first embodiment. 第1の実施形態におけるハンドオーバー処理の流れを示す図である。It is a figure which shows the flow of the handover process in 1st Embodiment. 第1の実施形態におけるタグメモリのフォーマット例である。It is a format example of the tag memory in the first embodiment. 第1の実施形態における通信装置と情報端末のNFC接続シーケンスである。It is a NFC connection sequence of the communication apparatus and information terminal in 1st Embodiment. 第1の実施形態における通信装置と情報端末のBLE接続シーケンスである。It is a BLE connection sequence of the communication apparatus and information terminal in 1st Embodiment. 第1の実施形態における通信装置と情報端末のハンドオーバー処理を示すフロー図である。It is a flowchart which shows the hand-over process of the communication apparatus and information terminal in 1st Embodiment. その他の実施形態におけるタグメモリのフォーマット例である。It is a format example of the tag memory in other embodiment.

以下に、本発明を実施するための形態について、添付の図面を用いて詳細に説明する。なお、以下に説明する実施の形態は、本発明の実現手段としての一例であり、本発明が適用される装置の構成や各種条件によって適宜修正又は変更されてもよい。また、各実施の形態を適宜組み合せることも可能である。   EMBODIMENT OF THE INVENTION Below, the form for implementing this invention is demonstrated in detail using attached drawing. The embodiment described below is an example as means for realizing the present invention, and may be appropriately modified or changed depending on the configuration of the apparatus to which the present invention is applied and various conditions. Moreover, it is also possible to combine each embodiment suitably.

[実施形態]
<デジタルカメラの構成>
図1(a)は、本実施形態の通信装置の一例であるデジタルカメラ100の構成例を示すブロック図である。なお、ここでは通信装置の一例としてデジタルカメラについて述べるが、通信装置はこれに限られない。例えば通信装置は携帯型のメディアプレーヤや、いわゆるタブレットデバイス、パーソナルコンピュータなどの情報処理装置であってもよい。
[Embodiment]
<Configuration of digital camera>
FIG. 1A is a block diagram illustrating a configuration example of a digital camera 100 that is an example of a communication apparatus according to the present embodiment. Although a digital camera is described here as an example of a communication device, the communication device is not limited to this. For example, the communication device may be an information processing device such as a portable media player, a so-called tablet device, or a personal computer.

制御部101は、入力された信号や、後述のプログラムに従ってデジタルカメラ100の各部を制御する。なお、制御部101が装置全体を制御する代わりに、複数のハードウェアが処理を分担することで、装置全体を制御してもよい。   The control unit 101 controls each unit of the digital camera 100 according to an input signal and a program described later. Note that instead of the control unit 101 controlling the entire apparatus, a plurality of hardware may share the processing to control the entire apparatus.

撮像部102は、例えば、光学レンズユニットと絞り・ズーム・フォーカスなど制御する光学系と、光学レンズユニットを経て導入された光(映像)を電気的な映像信号に変換するための撮像素子などで構成される。撮像素子としては、一般的には、CMOS(Complementary Metal Oxide Semiconductor)や、CCD(Charge Coupled Device)が利用される。撮像部102は、制御部101に制御されることにより、撮像部102に含まれるレンズで結像された被写体光を、撮像素子により電気信号に変換し、ノイズ低減処理などを行いデジタルデータを画像データとして出力する。本実施形態のデジタルカメラ100では、画像データは、DCF(Design Rule for Camera File system)の規格に従って、記録媒体110に記録される。   The imaging unit 102 includes, for example, an optical lens unit, an optical system that controls the aperture, zoom, focus, and the like, and an imaging device that converts light (video) introduced through the optical lens unit into an electrical video signal. Composed. In general, a CMOS (Complementary Metal Oxide Semiconductor) or a CCD (Charge Coupled Device) is used as the imaging element. The imaging unit 102 is controlled by the control unit 101 to convert subject light imaged by a lens included in the imaging unit 102 into an electrical signal by the imaging device, and perform noise reduction processing or the like to convert the digital data into an image. Output as data. In the digital camera 100 of the present embodiment, the image data is recorded on the recording medium 110 in accordance with the DCF (Design Rule for Camera File System) standard.

不揮発性メモリ103は、電気的に消去・記録可能な不揮発性のメモリであり、制御部101で実行される後述のプログラム等が格納される。
作業用メモリ104は、撮像部102で撮像された画像データを一時的に保持するバッファメモリや、表示部106の画像表示用メモリ、制御部101の作業領域等として使用される。
The non-volatile memory 103 is an electrically erasable / recordable non-volatile memory, and stores a program to be described later executed by the control unit 101.
The work memory 104 is used as a buffer memory that temporarily holds image data picked up by the image pickup unit 102, an image display memory of the display unit 106, a work area of the control unit 101, and the like.

操作部105は、ユーザがデジタルカメラ100に対する指示をユーザから受け付けるために用いられる。操作部105は例えば、ユーザがデジタルカメラ100の電源のON/OFFを指示するための電源ボタンや、撮影を指示するためのレリーズスイッチ、画像データの再生を指示するための再生ボタンを含む。さらに、後述の通信部111を介して外部機器との通信を開始するための専用の接続ボタンなどの操作部材を含む。また、後述する表示部106に形成されるタッチパネルも操作部105に含まれる。なお、レリーズスイッチは、SW1およびSW2を有する。レリーズスイッチが、いわゆる半押し状態となることにより、SW1がONとなる。これにより、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の撮影準備を行うための指示を受け付ける。また、レリーズスイッチが、いわゆる全押し状態となることにより、SW2がONとなる。これにより、撮影を行うための指示を受け付ける。   The operation unit 105 is used for the user to accept an instruction for the digital camera 100 from the user. The operation unit 105 includes, for example, a power button for instructing the user to turn on / off the digital camera 100, a release switch for instructing photographing, and a reproduction button for instructing reproduction of image data. Furthermore, an operation member such as a dedicated connection button for starting communication with an external device via the communication unit 111 described later is included. A touch panel formed on the display unit 106 described later is also included in the operation unit 105. The release switch has SW1 and SW2. When the release switch is in a so-called half-pressed state, SW1 is turned on. As a result, an instruction for making preparations for shooting such as AF (autofocus) processing, AE (automatic exposure) processing, AWB (auto white balance) processing, and EF (flash pre-emission) processing is accepted. Further, when the release switch is in a fully-pressed state, SW2 is turned on. As a result, an instruction for photographing is received.

表示部106は、撮影の際のビューファインダー画像の表示、撮影した画像データの表示、対話的な操作のための文字表示などを行う。なお、表示部106は必ずしもデジタルカメラ100が内蔵する必要はない。デジタルカメラ100は内部又は外部の表示部106と接続することができ、表示部106の表示を制御する表示制御機能を少なくとも有していればよい。   The display unit 106 displays a viewfinder image at the time of shooting, displays shot image data, and displays characters for interactive operation. Note that the display unit 106 is not necessarily built in the digital camera 100. The digital camera 100 can be connected to an internal or external display unit 106 and only needs to have at least a display control function for controlling display on the display unit 106.

記録媒体110は、撮像部102から出力された画像データを記録することができる。記録媒体110は、デジタルカメラ100に着脱可能なよう構成してもよいし、デジタルカメラ100に内蔵されていてもよい。すなわち、デジタルカメラ100は少なくとも記録媒体110にアクセスする手段を有していればよい。   The recording medium 110 can record the image data output from the imaging unit 102. The recording medium 110 may be configured to be detachable from the digital camera 100 or may be built in the digital camera 100. That is, the digital camera 100 only needs to have a means for accessing at least the recording medium 110.

通信部111は、外部装置と接続するためのインターフェースである。本実施形態のデジタルカメラ100は、通信部111を介して、外部装置とデータのやりとりを行うことができる。例えば、撮像部102で生成した画像データを、通信部111を介して外部装置に送信することができる。なお、本実施形態では、通信部111は外部装置とIEEE802.11の規格に従った、いわゆる無線LANで通信するためのインターフェースを含む。制御部101は、通信部111を制御することで外部装置との無線通信を実現する。なお、通信方式は無線LANに限定されるものではなく、例えば赤外通信方式も含む。   The communication unit 111 is an interface for connecting to an external device. The digital camera 100 of this embodiment can exchange data with an external device via the communication unit 111. For example, image data generated by the imaging unit 102 can be transmitted to an external device via the communication unit 111. In the present embodiment, the communication unit 111 includes an interface for communicating with an external apparatus via a so-called wireless LAN in accordance with the IEEE 802.11 standard. The control unit 101 realizes wireless communication with an external device by controlling the communication unit 111. Note that the communication method is not limited to the wireless LAN, and includes, for example, an infrared communication method.

近接無線通信部112は、例えば無線通信のためのアンテナと無線信号を処理するため変復調回路や通信コントローラから構成される。近接無線通信部112は、変調した無線信号をアンテナから出力し、またアンテナで受信した無線信号を復調することでISO/IEC 18092の規格(いわゆるNFC:Near Field Communication)に従った非接触近接通信を実現する。本実施形態の近接無線通信部112は、デジタルカメラ100の側部に配される。また近接無線通信部112にはタグメモリが備えられており、タグメモリに記憶された情報は、NFCのリーダライタ機能を備える外部機器に対して送信される。なお一般的には、NFCは近距離無線通信と呼ばれることもあるが、本実施形態では無線LANよりもサービスエリアが狭い無線通信(例えばBluetooth(登録商標)を含む)を近距離無線通信と呼び、その中でもさらにサービスエリアが狭い近接型の通信を近接無線通信と称して区別する。NFCは、通信のためのパラメータを取得したり、ペアリングにより相手機器の情報をあらかじめ登録しておかなくとも通信を開始できる。
デジタルカメラ100は、後述する携帯電話200とは、互いの近接無線通信部を近接させることにより通信を開始して接続される。なお、近接無線通信部を用いて接続させる場合、必ずしも近接無線通信部同士を接触させる必要はない。近接無線通信部は一定の距離だけ離れていても通信することができるため、互いの機器を接続するためには、近接無線通信可能な範囲まで近づければよい。以下の説明では、この近接無線通信可能な範囲まで近づけることを、近接させる、とも記載する。
The close proximity wireless communication unit 112 includes, for example, an antenna for wireless communication and a modulation / demodulation circuit and a communication controller for processing wireless signals. The proximity wireless communication unit 112 outputs a modulated wireless signal from an antenna, and demodulates the wireless signal received by the antenna, thereby non-contact proximity communication according to the ISO / IEC 18092 standard (so-called NFC: Near Field Communication). Is realized. The close proximity wireless transfer unit 112 of the present embodiment is disposed on the side of the digital camera 100. The close proximity wireless communication unit 112 is provided with a tag memory, and information stored in the tag memory is transmitted to an external device having an NFC reader / writer function. In general, NFC is sometimes referred to as short-range wireless communication, but in this embodiment, wireless communication having a service area narrower than that of the wireless LAN (including Bluetooth (registered trademark), for example) is referred to as short-range wireless communication. Of these, proximity communication with a narrower service area is referred to as proximity wireless communication to distinguish. NFC can start communication without acquiring parameters for communication or registering information of the counterpart device in advance by pairing.
The digital camera 100 is connected to a mobile phone 200 to be described later by starting communication by bringing the close proximity wireless communication units close to each other. In addition, when connecting using a close proximity wireless communication part, it is not necessary to contact close proximity wireless communication parts. Since the close proximity wireless communication unit can communicate even if they are separated from each other by a certain distance, in order to connect the devices to each other, it is only necessary to approach the range where close proximity wireless communication is possible. In the following description, it is also referred to as bringing close to the range where close proximity wireless communication is possible.

近距離無線通信部113は、例えば無線通信のためのアンテナと無線信号を処理するため変復調回路や通信コントローラから構成される。近距離無線通信部113は、変調した無線信号をアンテナから出力し、またアンテナで受信した無線信号を復調することによりIEEE802.15の規格(いわゆるBluetooth(登録商標))に従った近距離無線通信を実現する。本実施形態においてBluetooth(登録商標)通信は、低消費電力であるBluetooth(登録商標) Low Energyのバージョン4.0を採用する。このBluetooth(登録商標)通信は、無線LAN通信と比べて通信可能な範囲が狭い(つまり、通信可能な距離が短い)。また、Bluetooth(登録商標)通信は、無線LAN通信と比べて通信速度が遅い。その一方で、Bluetooth(登録商標)通信は、無線LAN通信と比べて消費電力が少ない。   The short-range wireless communication unit 113 includes, for example, an antenna for wireless communication and a modulation / demodulation circuit and a communication controller for processing a wireless signal. The short-range wireless communication unit 113 outputs a modulated wireless signal from an antenna, and demodulates the wireless signal received by the antenna, thereby short-range wireless communication in accordance with the IEEE 802.15 standard (so-called Bluetooth (registered trademark)). To realize. In this embodiment, Bluetooth (registered trademark) communication employs Bluetooth (registered trademark) Low Energy version 4.0, which has low power consumption. This Bluetooth (registered trademark) communication has a narrower communicable range than wireless LAN communication (that is, a communicable distance is short). In addition, Bluetooth (registered trademark) communication has a lower communication speed than wireless LAN communication. On the other hand, Bluetooth (registered trademark) communication consumes less power than wireless LAN communication.

本実施形態では、通信部111により実現される通信の通信速度は、近接無線通信部112により実現される通信の通信速度よりも速い。また、通信部111により実現される通信は、近接無線通信部112による通信よりも、通信可能な範囲が広い。その代わり、近接無線通信部112では、通信可能な範囲の狭さにより通信相手を限定することができるため、通信部111により実現される通信で必要な暗号鍵の交換等の処理を必要としない。すなわち、通信部111を用いるよりも手軽に通信することができる。   In the present embodiment, the communication speed realized by the communication unit 111 is faster than the communication speed realized by the close proximity wireless transfer unit 112. The communication realized by the communication unit 111 has a wider communication range than the communication by the close proximity wireless transfer unit 112. Instead, the close proximity wireless communication unit 112 can limit the communication partner due to the narrow range of communication, and therefore does not require processing such as encryption key exchange necessary for communication realized by the communication unit 111. . That is, it is possible to communicate more easily than using the communication unit 111.

なお、本実施形態におけるデジタルカメラ100の通信部111は、インフラストラクチャモードにおけるアクセスポイント(以下APとも呼ぶ。)として動作するAPモードと、インフラストラクチャモードにおけるクライアント(以下CLとも呼ぶ。)として動作するCLモードとを有している。そして、通信部111をCLモードで動作させることにより、本実施形態におけるデジタルカメラ100は、インフラストラクチャモードにおけるCL機器として動作することが可能である。デジタルカメラ100がCL機器として動作する場合、周辺のAP機器に接続することで、AP機器が形成するネットワークに参加することが可能である。また、通信部111をAPモードで動作させることにより、本実施形態におけるデジタルカメラ100は、APの一種ではあるが、より機能が限定された簡易的なAP(以下、簡易AP)として動作することも可能である。デジタルカメラ100が簡易APとして動作すると、デジタルカメラ100は自身でネットワークを形成する。デジタルカメラ100の周辺の装置は、デジタルカメラ100をAP機器と認識し、デジタルカメラ100が形成したネットワークに参加することが可能となる。上記のようにデジタルカメラ100を動作させるためのプログラムは不揮発性メモリ103に保持されているものとする。   Note that the communication unit 111 of the digital camera 100 according to the present embodiment operates as an AP mode that operates as an access point (hereinafter also referred to as AP) in the infrastructure mode and as a client (hereinafter also referred to as CL) in the infrastructure mode. CL mode. Then, by operating the communication unit 111 in the CL mode, the digital camera 100 in the present embodiment can operate as a CL device in the infrastructure mode. When the digital camera 100 operates as a CL device, it can participate in a network formed by the AP device by connecting to a peripheral AP device. In addition, by operating the communication unit 111 in the AP mode, the digital camera 100 according to the present embodiment is a kind of AP, but operates as a simple AP (hereinafter referred to as a simple AP) with more limited functions. Is also possible. When the digital camera 100 operates as a simple AP, the digital camera 100 forms a network by itself. Devices around the digital camera 100 can recognize the digital camera 100 as an AP device and participate in a network formed by the digital camera 100. It is assumed that a program for operating the digital camera 100 is held in the nonvolatile memory 103 as described above.

なお、本実施形態におけるデジタルカメラ100はAPの一種であるものの、CL機器から受信したデータをインターネットプロバイダなどに転送するゲートウェイ機能は有していない簡易APである。したがって、自機が形成したネットワークに参加している他の装置からデータを受信しても、それをインターネットなどのネットワークに転送することはできない。   Note that although the digital camera 100 in this embodiment is a kind of AP, it is a simple AP that does not have a gateway function for transferring data received from a CL device to an Internet provider or the like. Therefore, even if data is received from another device participating in the network formed by the own device, it cannot be transferred to a network such as the Internet.

次に、デジタルカメラ100の外観について説明する。図1(b)、図1(c)はデジタルカメラ100の外観の一例を示す図である。レリーズスイッチ105aや再生ボタン105b、方向キー105c、タッチパネル105dは、前述の操作部105に含まれる操作部材である。また、表示部106には、撮像部102による撮像の結果得られた画像が表示される。また、本実施形態のデジタルカメラ100は、カメラ筺体の側面に近接無線通信部112のアンテナ部分を有する。この近接無線通信部同士を一定の距離に近づけることにより、他の機器と近接無線通信を確立することができる。これにより、ケーブル等を介さずに非接触で通信可能であると共に、ユーザの意図に沿って通信相手を限定することができる。
以上がデジタルカメラ100の説明である。
Next, the appearance of the digital camera 100 will be described. 1B and 1C are diagrams illustrating an example of the appearance of the digital camera 100. FIG. The release switch 105a, the playback button 105b, the direction key 105c, and the touch panel 105d are operation members included in the operation unit 105 described above. Further, the display unit 106 displays an image obtained as a result of imaging by the imaging unit 102. In addition, the digital camera 100 according to the present embodiment has an antenna portion of the close proximity wireless transfer unit 112 on the side surface of the camera housing. Proximity wireless communication with other devices can be established by bringing the proximity wireless communication units closer to each other. Thereby, it is possible to communicate in a non-contact manner without using a cable or the like, and it is possible to limit communication partners according to the user's intention.
The above is the description of the digital camera 100.

<携帯電話200の内部構成>
図2は、本実施形態の情報処理装置の一例である携帯電話200の構成例を示すブロック図である。なお、ここでは情報処理装置の一例として携帯電話について述べるが、情報処理装置はこれに限られない。例えば情報処理装置は、無線機能付きのデジタルカメラ、タブレットデバイス、あるいはパーソナルコンピュータなどであってもよい。
制御部201は、入力された信号や、後述のプログラムに従って携帯電話200の各部を制御する。なお、制御部201が装置全体を制御する代わりに、複数のハードウェアが処理を分担することで、装置全体を制御してもよい。
撮像部202は、撮像部202に含まれるレンズで結像された被写体光を電気信号に変換し、ノイズ低減処理などを行いデジタルデータを画像データとして出力する。撮像した画像データはバッファメモリに蓄えられた後、制御部201にて所定の演算を行い、記録媒体210に記録される。
不揮発性メモリ203は、電気的に消去・記録可能な不揮発性のメモリである。不揮発性メモリ203には、制御部201が実行する基本的なソフトウェアであるOS(オペレーティングシステム)や、このOSと協働して応用的な機能を実現するアプリケーションが記録されている。また、本実施形態では、不揮発性メモリ203には、デジタルカメラ100と通信するためのアプリケーション(以下アプリ)が格納されている。
作業用メモリ204は、表示部206の画像表示用メモリや、制御部201の作業領域等として使用される。
<Internal configuration of mobile phone 200>
FIG. 2 is a block diagram illustrating a configuration example of the mobile phone 200 which is an example of the information processing apparatus according to the present embodiment. Although a mobile phone is described here as an example of the information processing apparatus, the information processing apparatus is not limited to this. For example, the information processing apparatus may be a digital camera with a wireless function, a tablet device, or a personal computer.
The control unit 201 controls each unit of the mobile phone 200 according to an input signal and a program described later. Note that instead of the control unit 201 controlling the entire apparatus, the entire apparatus may be controlled by a plurality of pieces of hardware sharing the processing.
The imaging unit 202 converts subject light imaged by a lens included in the imaging unit 202 into an electrical signal, performs noise reduction processing, and outputs digital data as image data. The captured image data is stored in the buffer memory, and then a predetermined calculation is performed by the control unit 201 and recorded on the recording medium 210.
The nonvolatile memory 203 is an electrically erasable / recordable nonvolatile memory. The nonvolatile memory 203 stores an OS (operating system) that is basic software executed by the control unit 201 and an application that realizes an applied function in cooperation with the OS. In the present embodiment, the nonvolatile memory 203 stores an application (hereinafter referred to as an application) for communicating with the digital camera 100.
The work memory 204 is used as an image display memory of the display unit 206, a work area of the control unit 201, and the like.

操作部205は、携帯電話200に対する指示をユーザから受け付けるために用いられる。操作部205は例えば、ユーザが携帯電話200の電源のON/OFFを指示するための電源ボタンや、表示部206に形成されるタッチパネルなどの操作部材を含む。
表示部206は、画像データの表示、対話的な操作のための文字表示などを行う。なお、表示部206は必ずしも携帯電話200が備える必要はない。携帯電話200は表示部206と接続することができ、表示部206の表示を制御する表示制御機能を少なくとも有していればよい。
記録媒体210は、撮像部202から出力された画像データを記録することができる。記録媒体210は、携帯電話200に着脱可能なよう構成してもよいし、携帯電話200に内蔵されていてもよい。すなわち、携帯電話200は少なくとも記録媒体210にアクセスする手段を有していればよい。
The operation unit 205 is used to receive an instruction for the mobile phone 200 from the user. The operation unit 205 includes, for example, operation members such as a power button for the user to instruct ON / OFF of the power supply of the mobile phone 200 and a touch panel formed on the display unit 206.
The display unit 206 displays image data, characters for interactive operation, and the like. Note that the display unit 206 is not necessarily provided in the mobile phone 200. The mobile phone 200 can be connected to the display unit 206 and has at least a display control function for controlling the display of the display unit 206.
The recording medium 210 can record image data output from the imaging unit 202. The recording medium 210 may be configured to be detachable from the mobile phone 200 or may be built in the mobile phone 200. That is, the mobile phone 200 only needs to have at least a means for accessing the recording medium 210.

通信部211は、外部装置と接続するためのインターフェースである。本実施形態の携帯電話200は、通信部211を介して、デジタルカメラ100とデータのやりとりを行うことができる。本実施形態では、通信部211はアンテナを含み、制御部101は、アンテナを介して、無線通信によりデジタルカメラ100と接続することができる。なお、デジタルカメラ100との接続では、直接接続してもよいしアクセスポイントを介して接続してもよい。データを通信するためのプロトコルとしては、例えば無線LANを通じたPTP/IP(Picture Transfer Protocol over Internet Protocol)を用いることができる。なお、デジタルカメラ100との通信はこれに限られるものではない。例えば、通信部211は、赤外線通信モジュール、Bluewtooth(登録商標)通信モジュール、WirelessUSB等の無線通信モジュールを含むことができる。さらには、USBケーブルやHDMI(登録商標),IEEE1394など、有線接続を採用してもよい。   The communication unit 211 is an interface for connecting to an external device. The mobile phone 200 of this embodiment can exchange data with the digital camera 100 via the communication unit 211. In the present embodiment, the communication unit 211 includes an antenna, and the control unit 101 can be connected to the digital camera 100 by wireless communication via the antenna. In connection with the digital camera 100, it may be connected directly or via an access point. As a protocol for communicating data, for example, PTP / IP (Picture Transfer Protocol over Internet Protocol) through a wireless LAN can be used. Note that communication with the digital camera 100 is not limited to this. For example, the communication unit 211 can include an infrared communication module, a Bluetooth (registered trademark) communication module, and a wireless communication module such as WirelessUSB. Furthermore, a wired connection such as a USB cable, HDMI (registered trademark), or IEEE1394 may be employed.

近接無線通信部212は、他機との非接触通信を実現するための通信ユニットである。近接無線通信部212は、無線通信のためのアンテナと無線信号を処理するための変復調回路や通信コントローラから構成される。近接無線通信部212は、変調した無線信号をアンテナから出力し、またアンテナで受信した無線信号を復調することにより非接触通信を実現する。ここでは、ISO/IEC 18092の規格(いわゆるNFC)に従った非接触通信を実現する。近接無線通信部212は、他のデバイスからデータ読み出し要求を受けると、不揮発性メモリ203に格納されているデータに基づき、応答データを出力する。本実施形態では、携帯電話200は、近接無線通信部212を通じて、NFCの規格で定義されているカードリーダモード、カードライタモードおよびP2Pモードで動作し、主にInitiatorとしてふるまう。対して、デジタルカメラ100は近接無線通信部112を介して、主にTargetとしてふるまう。   The near field communication unit 212 is a communication unit for realizing non-contact communication with other devices. The close proximity wireless communication unit 212 includes an antenna for wireless communication, a modulation / demodulation circuit for processing a wireless signal, and a communication controller. The close proximity wireless communication unit 212 realizes contactless communication by outputting a modulated wireless signal from the antenna and demodulating the wireless signal received by the antenna. Here, non-contact communication according to the ISO / IEC 18092 standard (so-called NFC) is realized. When the proximity wireless communication unit 212 receives a data read request from another device, it outputs response data based on the data stored in the nonvolatile memory 203. In the present embodiment, the mobile phone 200 operates in the card reader mode, the card writer mode, and the P2P mode defined by the NFC standard through the close proximity wireless communication unit 212, and mainly acts as an initiator. On the other hand, the digital camera 100 behaves mainly as a Target via the proximity wireless communication unit 112.

近距離無線通信部213は、例えば無線通信のためのアンテナと無線信号を処理するため変復調回路や通信コントローラから構成される。近距離無線通信部213は、変調した無線信号をアンテナから出力し、またアンテナで受信した無線信号を復調することによりIEEE802.15の規格(いわゆるBluetooth(登録商標))に従った近距離無線通信を実現する。本実施形態においてBluetooth(登録商標)通信は、低消費電力であるBluetooth(登録商標) Low Energyのバージョン4.0を採用する。このBluetooth(登録商標)通信は、無線LAN通信と比べて通信可能な範囲が狭い(つまり、通信可能な距離が短い)。また、Bluetooth(登録商標)通信は、無線LAN通信と比べて通信速度が遅い。その一方で、Bluetooth(登録商標)通信は、無線LAN通信と比べて消費電力が少ない。   The short-range wireless communication unit 213 includes, for example, an antenna for wireless communication and a modem circuit and a communication controller for processing wireless signals. The short-range wireless communication unit 213 outputs a modulated wireless signal from the antenna, and demodulates the wireless signal received by the antenna, thereby short-range wireless communication according to the IEEE 802.15 standard (so-called Bluetooth (registered trademark)). To realize. In this embodiment, Bluetooth (registered trademark) communication employs Bluetooth (registered trademark) Low Energy version 4.0, which has low power consumption. This Bluetooth (registered trademark) communication has a narrower communicable range than wireless LAN communication (that is, a communicable distance is short). In addition, Bluetooth (registered trademark) communication has a lower communication speed than wireless LAN communication. On the other hand, Bluetooth (registered trademark) communication consumes less power than wireless LAN communication.

公衆網通信部216は、公衆無線通信を行う際に用いられるインターフェースである。携帯電話200は、公衆網通信部216を介して、他の機器と通話することができる。この際、制御部201はマイク214およびスピーカ215を介して音声信号の入力と出力を行うことで、通話を実現する。本実施形態では、公衆網通信部216はアンテナであり、制御部101は、アンテナを介して、公衆網に接続することができる。なお、通信部211および公衆網通信部216は、一つのアンテナを共用することも可能である。
以上が携帯電話200の説明である。
The public network communication unit 216 is an interface used when performing public wireless communication. The mobile phone 200 can talk with other devices via the public network communication unit 216. At this time, the control unit 201 inputs and outputs an audio signal via the microphone 214 and the speaker 215, thereby realizing a call. In the present embodiment, the public network communication unit 216 is an antenna, and the control unit 101 can be connected to the public network via the antenna. The communication unit 211 and the public network communication unit 216 can share one antenna.
The above is the description of the mobile phone 200.

<ネットワークシステムの構成>
図3は、本実施形態のネットワークシステムの一例について概略的に示した図である。ネットワークシステムは、デジタルカメラ100と携帯電話200とで構成され、これらは、NFC方式またはBLE方式による近接無線通信によって通信することが可能である。また、デジタルカメラ100と携帯電話200は、無線LAN方式による無線通信によって通信することも可能である。
<Network system configuration>
FIG. 3 is a diagram schematically showing an example of the network system of the present embodiment. The network system includes a digital camera 100 and a mobile phone 200, which can communicate by proximity wireless communication using the NFC method or the BLE method. In addition, the digital camera 100 and the mobile phone 200 can communicate by wireless communication using a wireless LAN system.

<ハンドオーバー処理の概要>
続いて、図3に示したネットワーク構成において実行される、ハンドオーバー(HO)処理の流れについて、図4を参照しながら概要を説明する。なお本発明は、デジタルカメラ100と携帯電話200にはあらかじめ電源が投入されていることを前提とする。ここでいうハンドオーバーは、通信中の通信方式あるいは通信インターフェースを他の通信方式あるいは通信インターフェースに切り替えて通信を続行する垂直ハンドオーバーである。
<Overview of handover processing>
Next, an outline of the flow of handover (HO) processing executed in the network configuration shown in FIG. 3 will be described with reference to FIG. The present invention is based on the premise that the digital camera 100 and the mobile phone 200 are already powered on. The handover here is a vertical handover in which communication is continued by switching the communication method or communication interface during communication to another communication method or communication interface.

まず、図4に示すように、第1の通信手段による通信(BLE)が開始されると、デジタルカメラ100から携帯電話200へ無線LANの通信パラメータすなわち無線LANパラメータ情報(SSID、暗号キー)が通知される(S401)。これにより、デジタルカメラ100は携帯電話200と、無線LANの通信パラメータ情報を共有する。   First, as shown in FIG. 4, when communication (BLE) by the first communication means is started, wireless LAN communication parameters, that is, wireless LAN parameter information (SSID, encryption key) are transmitted from the digital camera 100 to the mobile phone 200. Notification is made (S401). As a result, the digital camera 100 shares wireless LAN communication parameter information with the mobile phone 200.

本実施形態では、このBLEによる無線LANの通信パラメータ情報の共有に並行して、アクセスポイント機能の立ち上げに関する準備処理を行う。このように、第1の通信手段での通信中にアクセスポイント機能の立ち上げに関する準備処理を前倒しで行うことで、アクセスポイント機能の立ち上がりまでの時間を早めることが出来る。アクセスポイント機能の立ち上げ準備とは、例えば、無線モジュールのファームウェアダンロード、無線ドライバへのパラメータ設定、DHCPサーバ機能の立ち上げ、アクセスポイント機能の設定、等が挙げられる。その後、準備処理が終わり次第、デジタルカメラ100はアクセスポイント機能を用い、S401で通知した無線LANパラメータにもとづいて第2の通信手段である無線LANのビーコンの発信を開始し、無線LANネットワークを生成する。   In the present embodiment, in parallel with the sharing of wireless LAN communication parameter information by BLE, a preparation process for starting up an access point function is performed. In this way, by performing the preparation process for starting up the access point function ahead of time during communication by the first communication means, the time until the start of the access point function can be shortened. Preparations for starting up the access point function include, for example, firmware download of the wireless module, parameter setting to the wireless driver, startup of the DHCP server function, setting of the access point function, and the like. Thereafter, as soon as the preparation process is completed, the digital camera 100 uses the access point function to start transmitting a wireless LAN beacon, which is the second communication means, based on the wireless LAN parameter notified in S401, and generates a wireless LAN network. To do.

続いて、携帯電話200が、S401で受信した無線LANパラメータ情報に含まれるSSIDに該当する無線LANネットワークに対して通信接続要求を送信する(S402)。   Subsequently, the mobile phone 200 transmits a communication connection request to the wireless LAN network corresponding to the SSID included in the wireless LAN parameter information received in S401 (S402).

その後、通信接続要求を受信したデジタルカメラ100が、要求許可を示す応答を携帯電話200に送信し(S403)、デジタルカメラ100と携帯電話200の間で無線LAN通信接続が確立される。このようにアクセスポイント機能の立ち上がりが早まることにより、携帯端末200の通信接続要求をより早く受け取ることができるため、無線LAN通信接続の確立までの時間を短縮することができる。   Thereafter, the digital camera 100 that has received the communication connection request transmits a response indicating the request permission to the mobile phone 200 (S403), and a wireless LAN communication connection is established between the digital camera 100 and the mobile phone 200. As the access point function rises earlier in this way, the communication connection request of the mobile terminal 200 can be received earlier, so that the time until establishment of the wireless LAN communication connection can be shortened.

上述した例では、第1の通信手段による通信がBLEである場合に、アクセスポイント機能の立ち上げに関する準備処理を前倒しすることで無線LAN通信接続の確立までの時間を短縮する。これに加えて、本実施形態では、第1の通信手段による通信がNFCである場合には、アクセスポイント機能の立ち上げに関する準備処理を前倒ししない。その理由について、BLEの通信と対比して以下に述べる。   In the above-described example, when the communication by the first communication means is BLE, the preparation time for starting up the access point function is advanced to shorten the time until establishment of the wireless LAN communication connection. In addition to this, in the present embodiment, when the communication by the first communication means is NFC, the preparation process for starting the access point function is not advanced. The reason will be described below in comparison with BLE communication.

まず、NFCは、通信距離は10cm程度に限定され、機器同士を近接させることでデータのやり取りを行う。この近接させるというユーザの所作(或いは行為)により、通信相手の機器を特定でき、煩雑な操作が必要なく直感的に通信を行う事ができる。その反面、通信経路はユーザの所作によって大きく影響を受け、機器同士の近接通信部の位置関係による通信失敗の可能性も高い。通信の確実性がユーザの所作による影響を大きく受けてしまう。そのため、ユーザの所作によって通信が失敗する可能性がBLEに比べて高い。   First, NFC has a communication distance limited to about 10 cm, and exchanges data by bringing devices close to each other. By the user's action (or action) of making it approach, it is possible to specify a communication partner device, and it is possible to communicate intuitively without the need for complicated operations. On the other hand, the communication path is greatly affected by the user's actions, and there is a high possibility of communication failure due to the positional relationship of the proximity communication units between the devices. The certainty of communication is greatly affected by user actions. Therefore, the possibility of communication failure due to the user's work is higher than BLE.

このような特徴を持つNFCにおいて、第2の通信手段(無線LAN)の通信準備の前倒しを行った場合、NFC通信の失敗のたびに準備をやり直す必要が生じ、中断された準備処理のために消費された資源が無駄である。従って、第1の通信手段による通信がNFCの場合は、接続時間の短縮よりも、通信の確実性を重視し、NFCの通信が完了してから無線LANの準備処理を開始する。これによって、たとえば無駄になる可能性のある準備処理に費やさす電力や計算等の資源を節約することができる。   In the NFC having such a feature, when the communication preparation of the second communication means (wireless LAN) is advanced, it is necessary to prepare again each time the NFC communication fails, and for the suspended preparation process The consumed resources are useless. Therefore, when the communication by the first communication means is NFC, the reliability of communication is more important than the reduction of the connection time, and the wireless LAN preparation process is started after the NFC communication is completed. As a result, for example, resources such as electric power and calculation spent on a preparation process that may be wasted can be saved.

一方、BLEは、通信距離が数メートルから数十メートルであり、NFCに比べるとユーザの所作による影響を受けにくい。加えて、BLEハンドオーバーを行う際は、通信装置と情報端末はBLEペアリングで接続済みの状態であり、通信失敗する可能性は低いと考えられる。その一方で、BLEはNFCに比べると通信時間が長くなる傾向がある。なぜなら、暗号化の必要もなく接続確立までの処理が簡単なNFCに比べて、BLEは、ある程度の通信距離があるために暗号化が必要であったり、接続の認証処理などが複雑であったりするためである。すなわち、NFCに比べてBLEの場合は、より無線LANの接続までの時間を短くしたい。そこで、第1の通信手段による通信がBLEの場合は通信の確実性よりも接続時間の短縮を重視し、BLEの通信が完了する前に、無線LANの準備処理を前倒して開始する。なおペアリングとは、BLEで通信する機器の情報を予めペアリング情報として互いに登録しておく処理であり、通信の際にはペアリング情報に基づいて相手機器を特定し、登録された機器であれば通信を開始する。   On the other hand, BLE has a communication distance of several meters to several tens of meters, and is less affected by user actions than NFC. In addition, when performing BLE handover, the communication device and the information terminal are already connected by BLE pairing, and it is considered that the possibility of communication failure is low. On the other hand, BLE tends to have a longer communication time than NFC. This is because, compared to NFC, which does not require encryption and is easy to establish a connection, BLE has a certain communication distance, so encryption is necessary, and connection authentication processing is complicated. It is to do. That is, in the case of BLE as compared with NFC, it is desired to shorten the time until connection to the wireless LAN. Therefore, when the communication by the first communication means is BLE, priority is given to shortening the connection time rather than the certainty of communication, and the wireless LAN preparation process is started ahead of time before the BLE communication is completed. Pairing is a process of previously registering information on devices that communicate with BLE as pairing information in advance. When communicating, the partner device is identified based on the pairing information, and the registered device is the registered device. If there is, start communication.

なお、前倒しについては、無線LANの準備処理までとし、無線LAN通信自体(実際にビーコンの発信を開始すること)は、BLEの通信が終了してから行う。なぜなら、BLEと無線LAN通信とでは周波数帯域が同じ2.4GHz帯に属する場合があり、この場合には2つの通信が干渉してしまうからである。   Note that the advancement is up to wireless LAN preparation processing, and wireless LAN communication itself (actually starting beacon transmission) is performed after BLE communication is completed. This is because BLE and wireless LAN communication may belong to the same 2.4 GHz frequency band, and in this case, the two communications interfere with each other.

<NFCハンドオーバー処理>
まず、第1の無線通信手段にNFCを用いた場合のハンドオーバー処理について説明する。本処理の前提として、予めタグメモリには、デジタルカメラ100の通信部111のアクセスポイント機能が生成する無線LANネットワークに接続するための無線LANパラメータ情報(SSID、暗号キー)が格納されているものとする。ここで、タグメモリについて説明する。本実施形態の近接無線通信部112は、内部にタグメモリを備え、タグメモリに格納された情報を、NFCのリーダライタ機能を備える外部機器、たとえば携帯電話200に対して送信する機能を持つ。本実施形態におけるタグメモリのデータフォーマットについて、図5に一例を示す。図5に示すように、タグメモリは、総容量が64バイトであり、SSID(16バイト)、暗号キー(16バイト)、通信可否状態(1バイト)の情報を格納することができる。なお通信可否状態はNFC−HO設定と呼ぶこともあり、以下の説明ではNFC−HO設定と呼ぶことにする。SSID(Service Set Identifier)及び暗号キーは、後述する通信部111によって生成される無線LANネットワークに接続するために必要な情報である。NFC−HO設定は、近接無線通信部112を介して、デジタルカメラ100が通信部111を用いた外部機器と通信可能な状態に遷移する(すなわちハンドオーバーする)ために必要な情報を取得できるか否かを示す情報であり、「0:可」または「1:不可」のどちらかで示される。以上がタグメモリの説明である。換言すれば、NFCから無線LANへのハンドオーバーが許可されているか否かを示す情報である。
<NFC handover process>
First, the handover process when NFC is used for the first wireless communication means will be described. As a premise of this processing, wireless LAN parameter information (SSID, encryption key) for connecting to a wireless LAN network generated by the access point function of the communication unit 111 of the digital camera 100 is stored in the tag memory in advance. And Here, the tag memory will be described. The near field communication unit 112 of the present embodiment includes a tag memory therein, and has a function of transmitting information stored in the tag memory to an external device having an NFC reader / writer function, for example, the mobile phone 200. An example of the data format of the tag memory in this embodiment is shown in FIG. As shown in FIG. 5, the tag memory has a total capacity of 64 bytes, and can store information on SSID (16 bytes), encryption key (16 bytes), and communication enable / disable state (1 byte). Note that the communication enable / disable state is sometimes referred to as NFC-HO setting, and will be referred to as NFC-HO setting in the following description. The SSID (Service Set Identifier) and the encryption key are information necessary for connecting to a wireless LAN network generated by the communication unit 111 described later. Whether the NFC-HO setting can acquire information necessary for the digital camera 100 to transition to a state where the digital camera 100 can communicate with an external device using the communication unit 111 (that is, handover) via the proximity wireless communication unit 112. It is information indicating whether or not, and is indicated by either “0: possible” or “1: not possible”. The above is the description of the tag memory. In other words, it is information indicating whether or not handover from NFC to the wireless LAN is permitted.

続いて、第1の無線通信手段にNFCを用いた場合のハンドオーバー処理のシーケンスを図6に示す。図6(a)はデジタルカメラ100のNFC−HO設定が「0:可」のときの処理シーケンスを示した図である。なおNFC−HO設定は図6のS603でデジタルカメラ100から携帯電話200へと渡され、S605で携帯電話200の制御部201により参照されて通信可または通信不可のいずれであるかが判定される。したがってデジタルカメラ100のNFC−HO設定が「0:可」のときの処理シーケンスといっても、静的に決定されているわけではなく、S605における制御部201による判定の結果、NFC−HO設定が可であれば、図6(a)のシーケンスとなる。これはNFC−HO設定が不可である場合も同様で、S605における制御部201による判定の結果、NFC−HO設定が通信不可であれば、図6(b)のシーケンスとなる。   Next, FIG. 6 shows a sequence of handover processing when NFC is used for the first wireless communication means. FIG. 6A is a diagram showing a processing sequence when the NFC-HO setting of the digital camera 100 is “0: Allowed”. Note that the NFC-HO setting is transferred from the digital camera 100 to the mobile phone 200 in S603 of FIG. 6, and is referred to by the control unit 201 of the mobile phone 200 in S605 to determine whether communication is possible or not. . Therefore, the processing sequence when the NFC-HO setting of the digital camera 100 is “0: Allowed” is not statically determined. As a result of the determination by the control unit 201 in S605, the NFC-HO setting is determined. Is possible, the sequence of FIG. The same applies to the case where NFC-HO setting is impossible. If the result of determination by the control unit 201 in S605 is that communication is not possible, the sequence shown in FIG.

S601において、携帯電話200の制御部201は、ユーザ操作を受けてNFCのリーダライタ機能を有効化する。例えば、操作部205の所定のボタンが押下されたことにより有効化する。
S602において、携帯電話200の制御部201は、近接無線通信部212のリーダライタ機能によって、読み出し要求信号を送信する。本ステップは、ユーザが携帯電話200とデジタルカメラ100を、NFC通信における通信可能範囲内に近づけたことを契機に実行される。ここでNFC方式の通信可能範囲は、10cm程度の近接的な距離の範囲内となる。例えば携帯電話200の制御部201は、NFCのリーダライタ機能を有効化すると、それとともに携帯電話200の表示部206に、携帯電話200をデジタルカメラ100に近接させることをユーザに促す画面を表示させる。ユーザが携帯電話200をデジタルカメラ100に近接させると、携帯電話200とデジタルカメラ100とがNFC通信における通信可能範囲内に入り、近接無線通信部212から送信された読み出し要求信号がデジタルカメラ100の近接無線通信部112に到達する。なお、図6における縦軸上の網かけ部分は、互いの機器がNFC通信の通信可能範囲内に近接されている状態を示す。なお、この読み出し要求は情報取得要求の一例である。S602の読み出し要求をきっかけにして無線LANへのハンドオーバーが開始されるので、S602の読み出し要求は、NFCから無線LANへのハンドオーバー開始要求ということもできる。
In step S <b> 601, the control unit 201 of the mobile phone 200 activates the NFC reader / writer function in response to a user operation. For example, it is activated when a predetermined button of the operation unit 205 is pressed.
In step S <b> 602, the control unit 201 of the mobile phone 200 transmits a read request signal by the reader / writer function of the close proximity wireless transfer unit 212. This step is executed when the user brings the mobile phone 200 and the digital camera 100 close to the communicable range in NFC communication. Here, the communicable range of the NFC method is in the range of a close distance of about 10 cm. For example, when the NFC reader / writer function is enabled, the control unit 201 of the mobile phone 200 displays a screen prompting the user to bring the mobile phone 200 close to the digital camera 100 on the display unit 206 of the NFC reader / writer function. . When the user brings the mobile phone 200 close to the digital camera 100, the mobile phone 200 and the digital camera 100 enter the communicable range in NFC communication, and the read request signal transmitted from the close proximity wireless communication unit 212 is the digital camera 100. The proximity wireless communication unit 112 is reached. The shaded portion on the vertical axis in FIG. 6 indicates a state in which the devices are close to each other within the communicable range of NFC communication. This read request is an example of an information acquisition request. Since the handover to the wireless LAN is started in response to the read request in S602, the read request in S602 can also be referred to as a handover start request from NFC to the wireless LAN.

S603において、デジタルカメラ100の近接無線通信部112は、タグメモリに格納された情報を読み出し、読み出し要求信号の応答信号として、携帯電話200に送信する。ここで送信される情報には、デジタルカメラ100の近距離無線通信部111のアクセスポイント機能が生成する無線LANネットワークに接続するための無線LANパラメータ情報(SSID、暗号キー)が含まれる。さらに、NFC−HO設定(「0:可」)の情報も含まれる。なお、デジタルカメラ100の近接無線通信部112は、携帯電話200の近接無線通信部212から供給される電波を受信する際の電磁誘導で発生する電力を利用して、処理を実行する。応答を返したならば、制御部101は、近接無線通信部112を用いた通信による携帯電話200との無線LANパラメータの共有が完了したと判断し、近接無線通信部112を無効にする。具体的には、携帯電話200からの読み出し要求に対する応答を返さないようにする。あるいは、NFC−HO設定の情報を「1:不可」に変更する。これにより、再度携帯電話200に近接された場合に、ハンドオーバー処理をやり直してしまうことや、他の携帯電話に近接された場合に、他の携帯電話とハンドオーバーしてしまうことを防ぐ。 続くS604において、デジタルカメラ100の制御部101は、通信部111のアクセスポイント機能を有効化する。すなわち無線LAN通信機能を起動する。なお、S604による処理は、制御部101が無線LANパラメータの共有が完了したと判断してNFCによる通信を停止し、近接無線通信部112を無効にした後で実行される。   In step S <b> 603, the close proximity wireless transfer unit 112 of the digital camera 100 reads out information stored in the tag memory, and transmits the information to the mobile phone 200 as a response signal of the read request signal. The information transmitted here includes wireless LAN parameter information (SSID, encryption key) for connecting to a wireless LAN network generated by the access point function of the short-range wireless communication unit 111 of the digital camera 100. Furthermore, information of NFC-HO setting (“0: Allowed”) is also included. Note that the close proximity wireless communication unit 112 of the digital camera 100 executes processing using power generated by electromagnetic induction when receiving radio waves supplied from the close proximity wireless communication unit 212 of the mobile phone 200. If the response is returned, the control unit 101 determines that sharing of the wireless LAN parameters with the mobile phone 200 by communication using the close proximity wireless communication unit 112 is completed, and invalidates the close proximity wireless communication unit 112. Specifically, a response to the read request from the mobile phone 200 is not returned. Alternatively, the NFC-HO setting information is changed to “1: Impossible”. This prevents the handover process from being redone when approaching the mobile phone 200 again, or from being handed over to another mobile phone when approaching another mobile phone. In subsequent S <b> 604, the control unit 101 of the digital camera 100 validates the access point function of the communication unit 111. That is, the wireless LAN communication function is activated. Note that the processing in S604 is executed after the control unit 101 determines that sharing of the wireless LAN parameters is completed, stops communication by NFC, and disables the close proximity wireless communication unit 112.

一方、S604に並行して、携帯電話200の制御部201は、S605において、S603で受信した情報を解析し、通信部211による通信接続要求を送信するか否かを決定する。具体的には、取得したNFC−HO設定の情報をもとに、携帯電話200が不揮発メモリ203などに予め備える、NFC通信設定を含む判定テーブルを参照することによって、通信部211からの通信接続要求を送信するか否かを決定する。NFC通信設定には、例えば携帯電話200をユーザが操作することによって予め設定された、NFC通信を許可する「通信可」を示す情報または許可しない「通信不可」を示す情報のいずれかが記録されている。たとえば、デジタルカメラ100から受信したNFC−HO設定が「通信可」であると判定されなら、NFC通信設定が「通信可」であるか否かを制御部201はS605においてさらに判定する。いずれも「通信可」であると判定されれば、処理はステップS606に進む。なお図6(a)のシーケンスは、NFC−HO設定が「通信可」である場合のものと前に説明したが、加えてNFC通信設定も「通信可」の場合である。S605でNFC−HO設定またはNFC通信設定の少なくともいずれかが「通信不可」であるなら、S606は行われず図6(b)の手順となる。なお本ステップは、決定手段による処理の一例である。   On the other hand, in parallel with S604, the control unit 201 of the mobile phone 200 analyzes the information received in S603 in S605 and determines whether or not to transmit a communication connection request from the communication unit 211. Specifically, based on the acquired NFC-HO setting information, a communication connection from the communication unit 211 is made by referring to a determination table including an NFC communication setting that the mobile phone 200 includes in advance in the nonvolatile memory 203 or the like. Decide whether to send the request. In the NFC communication setting, for example, either information indicating “communication permitted” allowing NFC communication or information indicating “communication impossible” not permitted is recorded, which is set in advance by the user operating the mobile phone 200. ing. For example, if it is determined that the NFC-HO setting received from the digital camera 100 is “communication enabled”, the control unit 201 further determines in S605 whether the NFC communication setting is “communication enabled”. If it is determined that both are “communicable”, the process proceeds to step S606. Note that the sequence in FIG. 6A has been described before when the NFC-HO setting is “communication enabled”, but in addition, the NFC communication setting is also “communication enabled”. If at least one of the NFC-HO setting and the NFC communication setting is “communication impossible” in S605, S606 is not performed and the procedure of FIG. 6B is performed. This step is an example of processing by the determining means.

なおNFC−HO設定は、デジタルカメラ100に設定され、NFCから無線LANへのハンドオーバーを許可しないことを示しており、他の用途でのNFCの使用を禁止するための情報ではない。これに対してNFC通信設定は、携帯電話200に設定され、携帯電話200のNFCによる通信の可/不可を示す設定であり、通信不可に設定されていれば用途を問わずNFCを使用することはできない。なお、たとえばNFC通信設定に「通信不可」が設定されている場合には携帯電話200はNFCの搬送波を出力しないよう構成されているのであれば、図6の手順そのものが開始されることがない。その場合にはS605におけるNFC通信設定の判定は不要であり、NFC−HO設定のみを判定すればよい。   The NFC-HO setting is set in the digital camera 100 and indicates that handover from NFC to the wireless LAN is not permitted, and is not information for prohibiting the use of NFC for other purposes. On the other hand, the NFC communication setting is a setting that is set in the mobile phone 200 and indicates whether or not the NFC communication of the mobile phone 200 is possible. If the communication is disabled, NFC is used regardless of the application. I can't. For example, when “Non-communication” is set in the NFC communication setting, if the mobile phone 200 is configured not to output the NFC carrier wave, the procedure of FIG. 6 itself is not started. . In that case, the determination of the NFC communication setting in S605 is unnecessary, and only the NFC-HO setting needs to be determined.

続くS606において、制御部201が通信接続要求を送信するとS605で決定したため、携帯電話200の制御部201は、デジタルカメラ100の接続部111のアクセスポイント機能によって生成された無線LANネットワークに接続するために、通信部211を制御して通信接続要求をデジタルカメラ100に送信する。なお本ステップは、本発明における接続要求手段に相当する。ここでは、S603で取得した無線LANパラメータ情報(SSID、暗号キー)が利用される。なお、S606の処理は、S605が完了した直後に定期的に行われる。すなわち、S604でのデジタルカメラ100のネットワーク生成が完了したか否かにかかわらず通信接続要求を発信する。この通信接続要求は、デジタルカメラ100の制御部101によりS604における通信部111のアクセスポイントの有効化が完了し次第、すなわちS604でのデジタルカメラ100のネットワーク生成が完了し次第、受け付けられることになる。   In S <b> 606, since it is determined in S <b> 605 that the control unit 201 transmits a communication connection request, the control unit 201 of the mobile phone 200 connects to the wireless LAN network generated by the access point function of the connection unit 111 of the digital camera 100. In addition, the communication unit 211 is controlled to transmit a communication connection request to the digital camera 100. This step corresponds to connection request means in the present invention. Here, the wireless LAN parameter information (SSID, encryption key) acquired in S603 is used. Note that the process of S606 is periodically performed immediately after the completion of S605. That is, the communication connection request is transmitted regardless of whether or not the network generation of the digital camera 100 in S604 is completed. This communication connection request is accepted as soon as the access point of the communication unit 111 in S604 is completed by the control unit 101 of the digital camera 100, that is, as soon as the network generation of the digital camera 100 in S604 is completed. .

S607において、デジタルカメラ100の制御部101は、S606で送信された無線LANパラメータ情報(SSID、暗号キー)が有効であると判定した場合、接続部111を制御して、通信接続要求を許可する応答を携帯電話200に送信する。これにより、デジタルカメラ100と携帯電話200の間で無線LAN通信接続が確立される。なおS606で送信された無線LANパラメータ情報が有効でないと判定した場合には通信接続要求を許可する応答を送信することはない。なお本ステップは、接続要求応答手段による処理の一例である。このように第1の通信手段がNFCの場合は、S603までのNFC通信が完了した後に、S604の第2の通信(無線LAN)の準備を開始する。   In step S <b> 607, when the control unit 101 of the digital camera 100 determines that the wireless LAN parameter information (SSID, encryption key) transmitted in step S <b> 606 is valid, the control unit 101 controls the connection unit 111 to permit a communication connection request. A response is transmitted to the mobile phone 200. Thereby, a wireless LAN communication connection is established between the digital camera 100 and the mobile phone 200. When it is determined that the wireless LAN parameter information transmitted in S606 is not valid, a response permitting the communication connection request is not transmitted. This step is an example of processing by the connection request response means. Thus, when the first communication means is NFC, after the NFC communication up to S603 is completed, preparation for the second communication (wireless LAN) in S604 is started.

次に、図6(b)を用いて、デジタルカメラ100のNFC−HO設定が「1:不可」のときの処理シーケンスを説明する。ステップS601からステップS603、S605は図6(a)と同様であるため説明を省略する。S608において、携帯電話200はS605でデジタルカメラ100のNFC−HO設定が「1:不可」である情報を得たと判定したため、通信接続要求を出さず、ハンドオーバー処理を終了する。   Next, a processing sequence when the NFC-HO setting of the digital camera 100 is “1: Impossible” will be described with reference to FIG. Steps S601 to S603 and S605 are the same as in FIG. In step S608, since the mobile phone 200 determines in step S605 that information indicating that the NFC-HO setting of the digital camera 100 is “1: impossible” has been obtained, the mobile phone 200 ends the handover process without issuing a communication connection request.

以上、図6を参照しながら、本実施形態におけるデジタルカメラ100と携帯電話200との間で実行される第1の通信手順にNFCを用いた場合のハンドオーバー処理の詳細について説明した。   The details of the handover process when NFC is used for the first communication procedure executed between the digital camera 100 and the mobile phone 200 in the present embodiment have been described above with reference to FIG.

このように、第2の通信手段である無線LANの設定情報を取得するための第1の通信手段がNFCの場合は、図6(a)のS603までのNFC通信が完了した後で初めて、S606の第2の通信(無線LAN)の準備を開始する。これによって、無線LANの通信を行うための設定パラメータの取得が完了してから、デジタルカメラ100は無線LANを起動するため、NFC通信の失敗に起因して無線LANの起動処理が無駄に終わることがなく、資源の浪費を防止できる。   Thus, when the first communication means for acquiring the setting information of the wireless LAN as the second communication means is NFC, it is not until after the NFC communication up to S603 in FIG. 6A is completed. Preparation for the second communication (wireless LAN) in S606 is started. As a result, since the digital camera 100 activates the wireless LAN after the acquisition of the setting parameters for performing the wireless LAN communication is completed, the wireless LAN activation processing ends in vain due to the failure of the NFC communication. And waste of resources can be prevented.

なお本説明では、前述したように、無線LANパラメータ情報(SSID、暗号キー)は、予めタグメモリ110に格納されていることを前提としたが、例えば工場出荷時に固定の無線LANパラメータ情報をタグメモリに書込むようにしてもよい。あるいは、表示部106に設定メニュー画面を表示し、操作部105を介したユーザの入力操作により無線LANのネットワーク設定が変更されたタイミングでタグメモリ上の無線LANパラメータ情報を更新するようにしてもよい。   In this description, as described above, it is assumed that the wireless LAN parameter information (SSID, encryption key) is stored in the tag memory 110 in advance. You may make it write in memory. Alternatively, the setting menu screen may be displayed on the display unit 106, and the wireless LAN parameter information on the tag memory may be updated when the wireless LAN network setting is changed by a user input operation via the operation unit 105. Good.

<BLEハンドオーバー処理>
第1の通信手段にBLEを用いた場合のハンドオーバー処理について図7を参照しながら説明する。本処理の前提として、通信機器100と携帯端末200はペアリング処理が終了しているものとする。
<BLE handover processing>
A handover process when BLE is used for the first communication means will be described with reference to FIG. As a premise of this processing, it is assumed that the communication device 100 and the mobile terminal 200 have completed pairing processing.

図7(a)はデジタルカメラ100のBLE−HO設定がBLEハンドオーバー使用「可」のときの処理シーケンスを示した図である。BLE−HO設定は、近距離無線通信部113を介して、デジタルカメラ100が通信部111(すなわち無線LAN)を用いた外部機器と通信可能な状態に遷移する(すなわちハンドオーバーする)ために必要な情報を取得できるか否かを示す情報であり、「0:可」または「1:不可」のどちらかで示される。BLE−HO設定は、図7のS703でデジタルカメラ100から携帯電話200へと渡され、その直後に携帯電話200の制御部201により参照されてBLE−から無線LANへのハンドオーバーが可または不可のいずれであるかが判定される。したがってデジタルカメラ100のBLE−HO設定が「可」のときの処理シーケンスといっても、静的に決定されているわけではなく、S703で受信したBLE−HO設定を制御部201により判定した結果、BLE−HO設定が可であれば、図7(a)のシーケンスとなる。一方、判定の結果、BLE−HO設定が不可であれば、図7(b)のシーケンスとなる。   FIG. 7A shows a processing sequence when the BLE-HO setting of the digital camera 100 is “permitted” for BLE handover. The BLE-HO setting is necessary for the digital camera 100 to transition to a state where it can communicate with an external device using the communication unit 111 (that is, wireless LAN) via the short-range wireless communication unit 113 (that is, handed over). This is information indicating whether or not such information can be acquired, and is indicated by either “0: possible” or “1: impossible”. The BLE-HO setting is transferred from the digital camera 100 to the mobile phone 200 in S703 of FIG. 7, and immediately after that, it is referred to by the control unit 201 of the mobile phone 200, and handover from BLE- to the wireless LAN is possible or not possible. Is determined. Therefore, the processing sequence when the BLE-HO setting of the digital camera 100 is “permitted” is not statically determined, and the result of determining the BLE-HO setting received in S703 by the control unit 201. If BLE-HO setting is possible, the sequence of FIG. On the other hand, if the result of determination is that BLE-HO setting is not possible, the sequence of FIG.

S701において、携帯電話200の制御部201は、ユーザ操作を受けてBLEハンドオーバー処理の開始を検出する。例えば、操作部205の所定のボタンが押下されたことを検出としてよい。
S702において、携帯電話200の制御部201は、近距離無線通信部213によって、BLEハンドオーバー開始要求の信号を送信する。BLEハンドオーバー開始要求は、BLEから無線LANへのハンドオーバー開始要求である。本ステップは、S701でユーザが携帯電話200の開始操作を行ったことを契機に実行される。
また、これに併せてS708の、通信部111のアクセスポイント機能を有効化するための準備処理を開始し、無線LAN通信機能を起動する。図7(a)では、準備処理も含めてS708と表現する。
In step S701, the control unit 201 of the mobile phone 200 detects the start of the BLE handover process in response to a user operation. For example, it may be detected that a predetermined button of the operation unit 205 is pressed.
In step S <b> 702, the control unit 201 of the mobile phone 200 transmits a BLE handover start request signal through the short-range wireless communication unit 213. The BLE handover start request is a handover start request from the BLE to the wireless LAN. This step is executed when the user performs a start operation of the mobile phone 200 in S701.
At the same time, a preparation process for enabling the access point function of the communication unit 111 in S708 is started, and the wireless LAN communication function is activated. In FIG. 7A, it is expressed as S708 including the preparation process.

S703において、デジタルカメラ100の制御部101は、近距離無線通信部113を介してBLEハンドオーバー開始要求に対する応答を携帯電話200に送信する。ここで送信される情報には、BLEハンドオーバー処理の使用ができるか否かを示すBLE−HO設定も含まれる。図7(a)では、送信されるBLE−HO設定は「可」であることを示す。携帯電話200の制御部201はS703の応答を受信すると、S704へ進む。   In step S <b> 703, the control unit 101 of the digital camera 100 transmits a response to the BLE handover start request to the mobile phone 200 via the short-range wireless communication unit 113. The information transmitted here includes a BLE-HO setting indicating whether or not the BLE handover process can be used. FIG. 7A shows that the transmitted BLE-HO setting is “permitted”. When the control unit 201 of the mobile phone 200 receives the response of S703, the process proceeds to S704.

S704において、携帯電話200の制御部201は、S703で受信したBLE−HO設定情報を判定し、BLE通信を続行するか否かを決定する。具体的には、制御部201は、取得したBLE−HO設定が「可」であれば、携帯電話200が予め備えるBLE通信設定が「通信可」であるかさらに判定して、通信可であると判定したなら、S705へ進む。少なくともいずれか一方が「不可」であると判定した場合には通信はそこで終了し、図7(b)の手順となる。   In step S704, the control unit 201 of the mobile phone 200 determines the BLE-HO setting information received in step S703 and determines whether to continue the BLE communication. Specifically, if the acquired BLE-HO setting is “permitted”, the control unit 201 further determines whether or not the BLE communication setting that the mobile phone 200 has in advance is “communication permitted”, and communication is possible. If it is determined, the process proceeds to S705. If it is determined that at least one of them is “impossible”, the communication ends there and the procedure shown in FIG.

なおBLE−HO設定はデジタルカメラ100に設定され、BLEから無線LANへのハンドオーバーを許可しないことを示しており、他の用途でのBLEの使用を禁止するための情報ではない。これに対してBLE通信設定は、携帯電話200に設定され、携帯電話200のBLEによる通信の可/不可を示す設定であり、通信不可に設定されていれば用途を問わずBLEを使用することはできない。なお、たとえばBLE通信設定に「不可」が設定されている場合には携帯電話200はBLEの搬送波を出力しないよう構成されているのであれば、図7の手順そのものが開始されることがない。その場合にはS704におけるBLE通信設定の判定は不要となる。   Note that the BLE-HO setting is set in the digital camera 100 and indicates that handover from BLE to the wireless LAN is not permitted, and is not information for prohibiting the use of BLE for other purposes. On the other hand, the BLE communication setting is a setting that is set in the mobile phone 200 and indicates whether communication by the BLE of the mobile phone 200 is possible. If the communication is disabled, the BLE is used regardless of the application. I can't. For example, when “impossible” is set in the BLE communication setting, if the mobile phone 200 is configured not to output the BLE carrier wave, the procedure of FIG. 7 itself is not started. In that case, the determination of the BLE communication setting in S704 becomes unnecessary.

S705において、携帯電話200の制御部201はデジタルカメラ100に対し、無線LANパラメータ情報を要求し、S706において、デジタルカメラ100の制御部101は、携帯電話200に対し、無線LANパラメータ情報を含む応答を送信する。ここで送信される情報には、デジタルカメラ100の無線通信部111のアクセスポイント機能が生成する無線LANネットワークに接続するための無線LANパラメータ情報(SSID、暗号キー)が含まれる。   In step S705, the control unit 201 of the mobile phone 200 requests wireless LAN parameter information from the digital camera 100. In step S706, the control unit 101 of the digital camera 100 responds to the mobile phone 200 including wireless LAN parameter information. Send. The information transmitted here includes wireless LAN parameter information (SSID, encryption key) for connecting to the wireless LAN network generated by the access point function of the wireless communication unit 111 of the digital camera 100.

携帯電話200の制御部201は必要な無線LANネットワーク情報をすべて入手した後、S707において、デジタルカメラ100に対して無線LAN通信切り替え要求を送信する。デジタルカメラ100の制御部101はこれを受け、携帯電話200との無線LANネットワーク情報の共有が完了したと判断し、S708において、携帯電話200に対し、無線LAN通信切り替え要求の応答を送信する。   After obtaining all necessary wireless LAN network information, the control unit 201 of the mobile phone 200 transmits a wireless LAN communication switching request to the digital camera 100 in S707. In response to this, the control unit 101 of the digital camera 100 determines that sharing of the wireless LAN network information with the mobile phone 200 has been completed, and transmits a response to the wireless LAN communication switching request to the mobile phone 200 in S708.

S708の処理が完了したことに応じて、デジタルカメラ100の制御部101は、BLEの通信を切断する。これは、前述の通り、BLEの通信が無線LANの通信と同じ周波数帯を用いることによる干渉を避けるためである。   In response to the completion of the processing of S708, the control unit 101 of the digital camera 100 disconnects the BLE communication. This is to avoid interference caused by using the same frequency band for BLE communication as for wireless LAN communication, as described above.

また、デジタルカメラ100の制御部101は、S709において、通信部111のアクセスポイント機能による信号の発信を開始する。デジタルカメラ100の無線LAN通信機能は、S702でBLEハンドオーバー開始要求を受信した後、S703の直前あるいは直後に、無線LANへの通信の切り替え要求を待たずに起動される。それにより、帯電話200との無線LANネットワーク情報の共有の完了を待たずに、アクセスポイント機能による信号発信の準備が開始される。もし、S708の完了よりも前に準備処理がすべて完了していた場合には、S708の完了まで、通信部111のアクセスポイント機能による信号の発信を待機する。   In step S709, the control unit 101 of the digital camera 100 starts signal transmission by the access point function of the communication unit 111. The wireless LAN communication function of the digital camera 100 is activated without waiting for a request to switch communication to the wireless LAN immediately after or after S703 after receiving the BLE handover start request in S702. Thereby, preparation for signal transmission by the access point function is started without waiting for the completion of sharing of the wireless LAN network information with the mobile phone 200. If all the preparation processes have been completed before the completion of S708, the transmission of a signal by the access point function of the communication unit 111 is awaited until the completion of S708.

S710において、携帯電話200の制御部201は、デジタルカメラ100の接続部111のアクセスポイント機能によって生成された無線LANネットワークに接続するために、通信部211を制御して通信接続要求をデジタルカメラ100に送信する。ここでは、S706で取得した無線LANパラメータ情報(SSID、暗号キー)が利用される。   In step S <b> 710, the control unit 201 of the mobile phone 200 controls the communication unit 211 to send a communication connection request to the digital camera 100 in order to connect to the wireless LAN network generated by the access point function of the connection unit 111 of the digital camera 100. Send to. Here, the wireless LAN parameter information (SSID, encryption key) acquired in S706 is used.

S711において、デジタルカメラ100の制御部101は、S710で送信された無線LANパラメータ情報(SSID、暗号キー)が有効であるか否かを判定し、有効であると判定したなら、接続部111を制御して、通信接続要求を許可する応答を携帯電話200に送信する。これにより、デジタルカメラ100と携帯電話200の間で無線LAN通信接続が確立される。   In step S711, the control unit 101 of the digital camera 100 determines whether or not the wireless LAN parameter information (SSID and encryption key) transmitted in step S710 is valid. Control is performed and a response permitting the communication connection request is transmitted to the mobile phone 200. Thereby, a wireless LAN communication connection is established between the digital camera 100 and the mobile phone 200.

図7(a)において、S709は、従来はS708の後、BLEによる通信の完了後に行われていたところを、本実施形態では、ハンドオーバーを行う前に開始される。すなわち、図7(a)ではS703の前後にS709を開始する。このように、BLEによる通信の完了前に無線LANの準備処理を開始することで、ハンドオーバーに要する時間を短縮することができる。   In FIG. 7A, S709 is conventionally performed after completion of communication by BLE after S708, but in this embodiment, is started before handover. That is, in FIG. 7A, S709 is started before and after S703. Thus, the time required for the handover can be shortened by starting the wireless LAN preparation process before the completion of the communication by BLE.

次に、図7(b)を用いて、デジタルカメラ100に設定されたBLE−HO設定が「不可」のときの処理シーケンスを説明する。ステップS701からステップS703、S704は同様であるため説明を省略する。
携帯電話200の制御部201は、S704でデジタルカメラ100のBLE−HO設定が「不可」であると判定したため、S712において通信接続要求を出さず、ハンドオーバー処理を終了する。
Next, a processing sequence when the BLE-HO setting set in the digital camera 100 is “impossible” will be described with reference to FIG. Steps S701 to S703 and S704 are the same and will not be described.
Since the control unit 201 of the mobile phone 200 determines that the BLE-HO setting of the digital camera 100 is “impossible” in S704, the communication connection request is not issued in S712, and the handover process ends.

このように、第2の通信手段である無線LANの設定情報を取得するための第1の通信手段がBLEの場合は、図7(a)のS708までのBLE通信が完了する前に、S709の第2の通信(無線LAN)通信の準備を開始する。なお、準備処理を始めるタイミングが早いほど、BLE通信が完了するまでに無線LANの通信の準備が完了している可能性が高いため、上記の例では、S702を受けた時点で、S703の実行とともに準備処理を開始している。しかし、タイミングはこれに限られるものではない。例えば、ある程度の確実性も重視して、ステップS705〜S706の処理による無線LANの通信パラメータ情報の共有が完了してから準備処理を開始してもよい。この場合でも、少なくともS708が完了してから準備処理を開始するよりは、無線LANの接続が確立するまでの時間を短くすることができる。つまり、少なくともBLE通信を切断する前に無線LANの準備処理を開始すればよい。
以上、図7を参照しながら、本実施形態におけるデジタルカメラ100と携帯電話200との間で実行される第1の通信手段にBLEを用いた場合のハンドオーバー処理の詳細について説明した。
As described above, when the first communication means for acquiring the setting information of the wireless LAN as the second communication means is BLE, before the BLE communication up to S708 in FIG. Preparation for the second communication (wireless LAN) is started. Note that the earlier the timing of starting the preparation process, the higher the possibility that the wireless LAN communication preparation is completed before the completion of the BLE communication. Therefore, in the above example, the execution of S703 is performed when S702 is received. At the same time, the preparation process has started. However, the timing is not limited to this. For example, giving priority to a certain degree of certainty, the preparation process may be started after the sharing of wireless LAN communication parameter information by the processes of steps S705 to S706 is completed. Even in this case, it is possible to shorten the time until the wireless LAN connection is established, rather than starting the preparation process after at least S708 is completed. That is, at least the wireless LAN preparation process should be started before disconnecting the BLE communication.
The details of the handover process when BLE is used as the first communication means executed between the digital camera 100 and the mobile phone 200 in the present embodiment has been described above with reference to FIG.

なお本説明では、BLEハンドオーバー開始要求を受けてから無線LANパラメータ情報の通知行うようなシーケンスについて説明をしたが、BLEペアリング処理の段階であらかじめ無線LANパラメータ情報を通知しておき、BLEハンドオーバー開始要求後の無線LANパラメータ情報の通知を省略するようにしてもよい。   In this description, the sequence of notifying the wireless LAN parameter information after receiving the BLE handover start request has been described. However, the wireless LAN parameter information is notified in advance at the stage of the BLE pairing process, and the BLE hand is notified. The notification of the wireless LAN parameter information after the over start request may be omitted.

<デジタルカメラ100ハンドオーバー処理フローチャート>
デジタルカメラ100のハンドオーバー処理について図8を参照しながら説明する。図8はデジタルカメラ100の制御部101により実行される処理の手順を示す。はじめに、NFCハンドオーバー処理について説明する。図8の処理は、制御部101が、近接無線通信部112または近距離無線通信部113による信号の受信を検知したことをトリガーとして開始される。その信号はたとえば、デジタルカメラ100の近接無線通信部112と携帯電話200の近接無線通信部212を近づけるようなユーザ操作により受信されるNFC読み出し要求である。あるいは、その信号は、携帯電話200の操作部205の所定のボタンが押下されたことで送信されるBLEハンドオーバー開始要求である。
<Digital camera 100 handover processing flowchart>
A handover process of the digital camera 100 will be described with reference to FIG. FIG. 8 shows a procedure of processing executed by the control unit 101 of the digital camera 100. First, the NFC handover process will be described. The processing in FIG. 8 is started when the control unit 101 detects the reception of a signal by the close proximity wireless communication unit 112 or the short distance wireless communication unit 113. The signal is, for example, an NFC read request received by a user operation that brings the close proximity wireless communication unit 112 of the digital camera 100 close to the close proximity wireless communication unit 212 of the mobile phone 200. Alternatively, the signal is a BLE handover start request transmitted when a predetermined button of the operation unit 205 of the mobile phone 200 is pressed.

S801において、制御部101は、受信した信号が、携帯電話200の近接無線通信部212から送信され、近接離無線通信部112で受信したNFC読み出し要求信号であるか否か判定する。NFC読み出し要求信号であると判定した場合、制御部101はステップ802において、デジタルカメラ100の近接無線通信112はタグメモリに格納された情報を読み出し、読み出し要求信号の応答信号とともに携帯電話200に送信する。ステップ803において、デジタルカメラ100の制御部101は、デジタルカメラ100のNFC−HO設定が「0:可」かそれとも「1:不可」か判定する。「0:可」であると判定した場合、制御部101はステップ804以降のNFCハンドオーバー処理を開始する。「1:不可」であると判定した場合は、制御部101はNFCハンドオーバー処理をしない。   In step S <b> 801, the control unit 101 determines whether the received signal is an NFC read request signal transmitted from the close proximity wireless communication unit 212 of the mobile phone 200 and received by the close proximity wireless communication unit 112. If it is determined that the signal is an NFC read request signal, the control unit 101 reads the information stored in the tag memory in step 802 and transmits the information stored in the tag memory to the mobile phone 200 together with the response signal of the read request signal. To do. In step 803, the control unit 101 of the digital camera 100 determines whether the NFC-HO setting of the digital camera 100 is “0: possible” or “1: impossible”. If it is determined that “0: Allowed”, the control unit 101 starts NFC handover processing from step 804 onward. If it is determined that “1: not possible”, the control unit 101 does not perform the NFC handover process.

ステップ804において、制御部101はBLE−HO設定を「不可」に変更する。これはNFCハンドオーバー処理中にBLEハンドオーバー処理を開始できないようにするためである。
次に、ステップ805において、制御部101は無線LAN通信の準備を開始する。無線LAN通信の準備とは、具体的に、通信部111に対して無線モジュールのファームダウンロードを行うことや、無線ドライバに無線LANパラメータ情報(SSID、暗号キー)を設定すること等があげられる。
In step 804, the control unit 101 changes the BLE-HO setting to “impossible”. This is to prevent the BLE handover process from starting during the NFC handover process.
Next, in step 805, the control unit 101 starts preparation for wireless LAN communication. Specifically, preparation for wireless LAN communication includes performing firmware download of a wireless module to the communication unit 111, setting wireless LAN parameter information (SSID, encryption key) in a wireless driver, and the like.

ステップ806において、制御部101は通信部111のアクセスポイント機能を起動する。ステップ807において、制御部101はDHCPサーバ機能を起動する。これにより、無線LANのビーコンの発信が開始され、ネットワークが生成される。ステップ807まで完了すると、デジタルカメラ100は携帯電話200からの無線LAN通信接続要求を待つ。ステップ808において、デジタルカメラ100の制御部101は、携帯電話200から無線LAN通信接続要求を検知すると、無線LANパラメータ情報(SSID、暗号キー)が有効であるか否かを判断し、有効であると判断した場合にはステップ809において、接続部111を制御して、無線LAN通信接続要求を許可する応答を携帯電話200に送信する。これにより、デジタルカメラ100と携帯電話200は無線LAN通信が確立し、NFCハンドオーバー処理が完了する。無線LANパラメータ情報が有効でないと判定した場合には、S809は行われない。   In step 806, the control unit 101 activates the access point function of the communication unit 111. In step 807, the control unit 101 activates the DHCP server function. As a result, transmission of a wireless LAN beacon is started and a network is generated. When the process up to step 807 is completed, the digital camera 100 waits for a wireless LAN communication connection request from the mobile phone 200. In step 808, when the control unit 101 of the digital camera 100 detects a wireless LAN communication connection request from the mobile phone 200, the control unit 101 determines whether the wireless LAN parameter information (SSID, encryption key) is valid, and is valid. If it is determined, in step 809, the connection unit 111 is controlled to transmit a response permitting the wireless LAN communication connection request to the mobile phone 200. Thereby, wireless LAN communication is established between the digital camera 100 and the mobile phone 200, and the NFC handover process is completed. If it is determined that the wireless LAN parameter information is not valid, S809 is not performed.

一方、ステップS801において受信した信号がNFC読み出し要求ではないと判定した場合、制御部101は、ステップ810において、受信した信号がBLEハンドオーバー開始要求であるか否かを判定する。
ステップS810において、受信した信号がBLEハンドオーバー開始要求であると判定された場合、ステップ811において、デジタルカメラ100の制御部101はBLEハンドオーバー要求に対する応答として、BLE−HO設定を含む情報を携帯電話200に送る。
ステップ812において、制御部101は、BLE−HO設定が「可」か「不可」かを判定する。BLE−HO設定が「可」の場合は、制御部101はステップ813以降のBLEハンドオーバー処理を開始する。「不可」の場合はBLEハンドオーバー処理を終了する。
ステップ813において、制御部101はBLE−HO設定を「1:不可」に変更する。これはBLEハンドオーバー処理中にNECハンドオーバーを開始しないようにするためである。
On the other hand, when determining in step S801 that the received signal is not an NFC read request, the control unit 101 determines in step 810 whether the received signal is a BLE handover start request.
If it is determined in step S810 that the received signal is a BLE handover start request, in step 811, the control unit 101 of the digital camera 100 carries information including the BLE-HO setting as a response to the BLE handover request. Send to phone 200.
In step 812, the control unit 101 determines whether the BLE-HO setting is “permitted” or “not permitted”. If the BLE-HO setting is “permitted”, the control unit 101 starts the BLE handover process from step 813 onward. If “impossible”, the BLE handover process is terminated.
In step 813, the control unit 101 changes the BLE-HO setting to “1: Impossible”. This is to prevent the NEC handover from starting during the BLE handover process.

次に、ステップ814において、制御部101は無線LAN通信の準備を開始する。無線LAN通信の準備とは、具体的に、接続部111に対して無線モジュールのファームダウンロードを行う、無線ドライバに無線LANパラメータ情報(SSID、暗号キー)を設定する、等があげられる。このステップ814の第2の通信手段の通信準備にあたり、後述するステップ815からステップ818のBLE通信と並行して行うことで、アクセスポイント機能の起動時間の短縮化を実現する。   Next, in step 814, the control unit 101 starts preparation for wireless LAN communication. Specifically, preparation for wireless LAN communication includes performing firmware download of a wireless module to the connection unit 111, setting wireless LAN parameter information (SSID, encryption key) in a wireless driver, and the like. In preparation for communication of the second communication means in step 814, the activation time of the access point function is shortened by performing in parallel with BLE communication in steps 815 to 818 described later.

ステップ814と並行して、デジタルカメラ100の制御部101は携帯電話200からの無線LANパラメータ情報(SSID、暗号キー)の要求を待機する。このときの通信方式はBLEである。ステップ815において、近距離無線通信部113より携帯電話200からの無線LANパラメータ情報の要求(SSID、暗号キー)を検知すると、ステップ815において、制御部101は近距離無線通信部113を制御して、携帯電話200に対し無線LANパラメータ情報の要求(SSID、暗号キー)を含む応答を送信する。携帯電話200はデジタルカメラ100に対し、BLEから無線LAN通信へ通信方式の切り替えを要求する。ステップ817において、デジタルカメラ100の制御部101は、携帯電話200からの無線LAN通信切り替え要求を検出すると、ステップ818において、携帯電話200へ無線LAN通信切り替え要求に対する応答を返す。デジタルカメラ100と携帯電話200とのBLEによる通信は、ステップ818で終了し、ステップ806から無線LAN通信に切り替わる。ここでデジタルカメラ100と携帯電話200のBLE通信は切断される。なお、無線LANとの干渉を避けるために時分割でBLE通信を継続してもよい。なお、制御部101は、S807をS814の直後に行い、S815〜S818と並行して実行してもよい。   In parallel with step 814, the control unit 101 of the digital camera 100 waits for a request for wireless LAN parameter information (SSID, encryption key) from the mobile phone 200. The communication method at this time is BLE. In step 815, when the wireless LAN parameter information request (SSID, encryption key) from the mobile phone 200 is detected by the short-range wireless communication unit 113, the control unit 101 controls the short-range wireless communication unit 113 in step 815. The mobile phone 200 transmits a response including a request for wireless LAN parameter information (SSID, encryption key). The cellular phone 200 requests the digital camera 100 to switch the communication method from BLE to wireless LAN communication. In step 817, when the control unit 101 of the digital camera 100 detects a wireless LAN communication switching request from the mobile phone 200, it returns a response to the wireless LAN communication switching request to the mobile phone 200 in step 818. The communication by the BLE between the digital camera 100 and the mobile phone 200 ends in step 818, and the wireless LAN communication is switched from step 806. Here, the BLE communication between the digital camera 100 and the mobile phone 200 is disconnected. Note that BLE communication may be continued in a time-sharing manner in order to avoid interference with the wireless LAN. Note that the control unit 101 may perform S807 immediately after S814 and execute it in parallel with S815 to S818.

ステップ806以降はNFCハンドオーバーと共通の処理のため説明は省略する。なお、本実施形態では、BLEハンドオーバーの開始要求を携帯電話200の操作部205に対するユーザ操作をトリガーとして説明したが、デジタルカメラ100の操作部105に対するユーザ操作をトリガーとしてもよい。また、本実施形態では、ステップ815およびステップ816において、BLEハンドオーバー開始要求を受けてから無線LANパラメータ情報の通知行うようなフローについて説明をしたが、BLEペアリング処理の段階であらかじめ無線LANパラメータ情報を通知しておき、BLEハンドオーバー開始要求後の無線LANパラメータ情報の通知を省略するようにしてもよい。   Since step 806 and subsequent steps are processing common to NFC handover, description thereof is omitted. In the present embodiment, the BLE handover start request has been described using a user operation on the operation unit 205 of the mobile phone 200 as a trigger, but a user operation on the operation unit 105 of the digital camera 100 may be used as a trigger. Further, in this embodiment, the flow in which the wireless LAN parameter information is notified after receiving the BLE handover start request in step 815 and step 816 has been described. Information may be notified, and notification of wireless LAN parameter information after a BLE handover start request may be omitted.

以上、本実施形態のデジタルカメラ100では、第一の通信から第二の通信へとハンドオーバーする際に、第二の通信のための準備処理を、第一の通信が完了する前に開始する。これにより、第二の通信の確立までにかかる時間を短縮することができる。   As described above, in the digital camera 100 according to the present embodiment, when the handover from the first communication to the second communication is performed, the preparation process for the second communication is started before the first communication is completed. . Thereby, the time taken to establish the second communication can be shortened.

また、第一の通信に、通信の失敗のしやすさが異なる複数の通信方式のいずれかを用いることができる場合、用いる通信方式によって第二の通信のための準備処理を第一の通信が完了する前に開始するか第一の通信が完了した後に開始するかを異ならせる。これによって、第一の通信の特徴に合わせた適切な処理を行い、ユーザビリティを高めることができる。   In addition, when any one of a plurality of communication methods with different eases of communication failure can be used for the first communication, the first communication prepares for the second communication depending on the communication method used. Whether it starts before completion or after the first communication is completed is different. This makes it possible to perform appropriate processing according to the characteristics of the first communication and improve usability.

なお、「不可」に設定されたNFC−HO設定またはBLE−HO設定を、無線LANによる通信が確立した後、たとえばステップS809の後で、「可」に書き戻しておくことで、次回のハンドオーバーが可能になる。また、BLEを第1の通信、無線LANを第2の通信と呼んだ場合には、NFCを第3の通信と呼ぶ場合がある。
[その他の実施形態]
上述の実施形態では、携帯電話200からの無線LAN通信の接続要求の発信は、第一の通信が完了し次第、開始される例について説明した。しかしながら、携帯電話200にインストールされているOSの仕様によっては、一度送信した接続要求に対する応答がなかった場合に、要求を再送信するまでの待機期間が設けられている場合がある。このような場合、デジタルカメラ100がネットワークを生成する前に要求を出してしまうことで、一度目の接続要求が受け付けられず、再送信までの待機期間の分だけ時間がかかってしまう。そこで、上述の実施形態に加えて、携帯電話200が適切なタイミングで接続要求を発信できるよう待機させるために、第一の通信を用いて携帯電話200に待機時間を通知するようにしてもよい。例えば、第一の通信にNFCを用いるハンドオーバーの場合は、図9のようにタグメモリに待機時間を記録する領域を設け、その領域に待機時間の設定値を記録する。記録した設定値を、図8のステップ802のNFC読み出し要求に対する応答として携帯電話200に送信することで、通知する。
Note that the NFC-HO setting or BLE-HO setting set to “impossible” is written back to “possible” after the communication via the wireless LAN is established, for example, after step S809, so that the next hand. Over is possible. When BLE is called first communication and wireless LAN is called second communication, NFC may be called third communication.
[Other Embodiments]
In the above-described embodiment, the example in which the connection request for the wireless LAN communication from the mobile phone 200 is started as soon as the first communication is completed has been described. However, depending on the specifications of the OS installed in the mobile phone 200, there may be a waiting period until the request is retransmitted when there is no response to the connection request once transmitted. In such a case, since the digital camera 100 issues a request before generating the network, the first connection request is not accepted, and it takes time for the waiting period until retransmission. Therefore, in addition to the above-described embodiment, in order to wait for the mobile phone 200 to issue a connection request at an appropriate timing, the mobile phone 200 may be notified of the standby time using the first communication. . For example, in the case of handover using NFC for the first communication, an area for recording a standby time is provided in the tag memory as shown in FIG. 9, and a set value of the standby time is recorded in that area. The recorded set value is notified by transmitting it to the mobile phone 200 as a response to the NFC read request in step 802 of FIG.

また、第一の通信にBLEを用いるハンドオーバーの場合は、図8のステップ818の無線LANパラメータ情報の要求に対する応答に待機時間の設定値を含めて送信することで通知する。携帯電話200は受信した待機時間に基づいて、図8ステップ808の無線LAN通信の接続要求を発信する開始のタイミングを決定する。   Further, in the case of handover using BLE for the first communication, notification is made by transmitting the response to the request for wireless LAN parameter information in step 818 of FIG. 8 including the set value of the standby time. Based on the received standby time, the cellular phone 200 determines the start timing of transmitting the wireless LAN communication connection request in step 808 of FIG.

なお、待機時間の設定値は、デジタルカメラ100の状態や、準備処理の前倒しをするか否か、第一の通信に用いる通信方式に応じて決定される。例えば、準備処理を前倒しする場合には、準備処理を前倒しする分早くネットワークを生成できることを考慮して、準備処理を前倒ししない場合よりも短い時間を待機時間として決定する。また、NFCを用いる場合には、NFCの通信が完了してから準備処理を開始するので、準備処理の前倒しの時間をゼロとして計算した時間を待機時間に設定する。   Note that the set value of the standby time is determined according to the state of the digital camera 100, whether to advance the preparation process, or the communication method used for the first communication. For example, when the preparation process is advanced, the standby time is determined to be shorter than when the preparation process is not advanced in consideration of the fact that a network can be generated earlier than the preparation process is advanced. When NFC is used, the preparation process is started after the NFC communication is completed. Therefore, the time calculated by setting the advance time of the preparation process to zero is set as the standby time.

以上の処理により、デジタルカメラ100がネットワークを生成してから、携帯電話200が一度目の接続要求を送信するため、携帯電話200からの一度目の接続要求を受け付けることができる。つまり、携帯電話200の接続要求を再送する待機時間を待つ可能性を低減することができ、よりスムーズなハンドオーバーを実現することができる。   With the above processing, since the mobile phone 200 transmits the first connection request after the digital camera 100 generates the network, the first connection request from the mobile phone 200 can be accepted. That is, it is possible to reduce the possibility of waiting for a waiting time for resending the connection request of the mobile phone 200, and it is possible to realize a smoother handover.

また、上述の実施形態において、例えば図8のS801では、携帯電話200からのNFC読み出し要求を制御部101が判断していた。これについては、近接無線通信部112が読み出し要求の判断および応答を行ってもよい。   In the above-described embodiment, for example, in S801 of FIG. 8, the control unit 101 determines an NFC read request from the mobile phone 200. For this, the proximity wireless communication unit 112 may determine and respond to a read request.

また、上述したようにNFCの通信経路はユーザの所作により大きく影響を受けるため、S802の読み出し要求に対する応答が正しく携帯電話200に受け取られるとは限らない。また、NFCのプロトコル上、応答が正しく携帯電話200に受け取られたことを制御部101や近接無線通信部112が確認することはできない。そこで、携帯電話200が応答を受け取った場合、携帯電話200からタグメモリに書き込み要求を送信するように設計し、この書き込み要求をハンドオーバーの要求としてもよい。このようにすれば、携帯電話200がハンドオーバーに必要な情報を受け取った上でハンドオーバー要求を発信することになる。これにより、携帯電話200がハンドオーバーに必要な情報を受け取り損ねてハンドオーバー処理を開始していないにも関わらず、デジタルカメラ100だけがハンドオーバーのための処理を開始してしまうことを防ぐことができる。   In addition, as described above, the NFC communication path is greatly affected by the user's actions, and thus the response to the read request in S802 is not always correctly received by the mobile phone 200. In addition, according to the NFC protocol, the control unit 101 and the proximity wireless communication unit 112 cannot confirm that the response is correctly received by the mobile phone 200. Therefore, when the mobile phone 200 receives a response, the mobile phone 200 may be designed to transmit a write request to the tag memory, and the write request may be used as a handover request. In this way, the mobile phone 200 transmits the handover request after receiving the information necessary for the handover. This prevents only the digital camera 100 from starting the handover process even though the mobile phone 200 has failed to receive the information necessary for the handover and has not started the handover process. Can do.

また、デジタルカメラ100が、制御部101としてマルチコアのプロセッサを用いた場合、BLE通信あるいはNFC通信という第1の通信を行うスレッドと、前倒しした準備処理を行うスレッドとを互いに異なるコアで実行する。こうすることで、並列処理によるより一層の時間短縮の効果が期待できる。
また上記実施形態では近接無線通信としてNFCを用いたが、無線通信に代えてたとえば赤外線通信を用いることもできる。この場合には、無線LANに関する情報を獲得する前に、ネットワーク構築を前倒しで開始してもよいが、NFCと同様に前倒しをせず、資源の浪費を防止してもよい。
Further, when the digital camera 100 uses a multi-core processor as the control unit 101, a thread for performing the first communication called BLE communication or NFC communication and a thread for performing the preparatory preparation process are executed by different cores. By doing so, the effect of further time reduction by parallel processing can be expected.
In the above embodiment, NFC is used as the proximity wireless communication. However, for example, infrared communication can be used instead of the wireless communication. In this case, the network construction may be started ahead of time before acquiring information related to the wireless LAN, but it may not be brought forward in the same way as NFC to prevent waste of resources.

また、実施形態ではデジタルカメラ100および携帯電話200は、共に無線LANという第2の通信インターフェースに加えて、NFCとBLEという2種類の第1の通信インターフェースを有している。しかしながら、デジタルカメラ100および携帯電話200が、無線LANのほかに、NFCまたはBLEのいずれか一方の共通な通信インターフェースを有しているのであれば、本実施形態に係る発明は適用可能である。その場合には、NFCまたはBLEのいずれかの通信インターフェースに応じた処理の分岐は行われず。いずれかの通信インターフェースに応じた処理のみが実行される。   In the embodiment, both the digital camera 100 and the mobile phone 200 have two types of first communication interfaces, NFC and BLE, in addition to a second communication interface called a wireless LAN. However, if the digital camera 100 and the mobile phone 200 have a common communication interface of either NFC or BLE in addition to the wireless LAN, the invention according to this embodiment is applicable. In that case, the process is not branched according to the NFC or BLE communication interface. Only processing corresponding to one of the communication interfaces is executed.

本発明は、上述の実施形態の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.

100...携帯電話、200...デジタルカメラ、101,201...制御部、111,211...通信部、112,212...近接無線通信部、113,213...近距離無線通信部 100 ... mobile phone, 200 ... digital camera, 101,201 ... control unit, 111,211 ... communication unit, 112,212 ... close proximity wireless communication unit, 113,213 ... near Distance wireless communication unit

Claims (10)

第1の通信手段と、
第2の通信手段と、
前記第1の通信手段による通信を介して前記第2の通信手段による通信へのハンドオーバーの要求を外部装置から受信すると、前記要求に応じたハンドオーバーのために前記第1の通信手段による通信を停止する前に、前記第2の通信手段による通信の準備処理を開始する制御手段と
を有することを特徴とする通信装置。
A first communication means;
A second communication means;
When a request for handover to communication by the second communication means is received from an external device via communication by the first communication means, communication by the first communication means for handover according to the request And a control means for starting a communication preparation process by the second communication means before stopping the communication.
前記制御手段は、前記要求を受信すると、前記第2の通信手段による通信へのハンドオーバーが許可されていれば、前記要求に対する応答を送信するとともに、前記第2の通信手段による通信の準備処理を開始することを特徴とする請求項1に記載の通信装置。   When the control means receives the request, if the handover to the communication by the second communication means is permitted, the control means transmits a response to the request, and the communication preparation process by the second communication means The communication device according to claim 1, wherein the communication device is started. 前記制御手段は、前記第2の通信手段による通信へのハンドオーバーを許可するか否かを示す情報を前記応答に含めることを特徴とする請求項2に記載の通信装置。   3. The communication apparatus according to claim 2, wherein the control unit includes information indicating whether or not to allow handover to communication by the second communication unit in the response. 前記制御手段は、前記応答を送信した後で、前記第2の通信手段による通信のためのパラメータを前記第1の通信手段による通信を用いて前記外部装置に送信することを特徴とする請求項2または3に記載の通信装置。   The control unit, after transmitting the response, transmits a parameter for communication by the second communication unit to the external device using communication by the first communication unit. 2. The communication device according to 2 or 3. 前記第1の通信手段の通信方式は、Bluetooth(登録商標)Low Energyであり、前記第2の通信手段の通信方式は無線LANであることを特徴とする請求項1乃至4のいずれか一項に記載の通信装置。   5. The communication system of the first communication unit is Bluetooth (registered trademark) Low Energy, and the communication system of the second communication unit is a wireless LAN. 6. The communication apparatus as described in. 第3の通信手段を更に有し、
前記制御手段は、前記第3の通信手段による通信を介して前記第2の通信手段による通信へのハンドオーバーの要求を外部装置から受信すると、前記要求に応じたハンドオーバーのために前記第3の通信手段による通信を停止した後で、前記第2の通信手段による通信の準備処理を開始することを特徴とする請求項1乃至5のいずれか一項に記載の通信装置。
A third communication means;
When the control unit receives a request for handover to communication by the second communication unit from the external device through communication by the third communication unit, the control unit performs the third request for handover according to the request. 6. The communication apparatus according to claim 1, wherein after the communication by the communication unit is stopped, the communication preparation process by the second communication unit is started.
前記第3の通信手段による通信方式は近接無線通信であることを特徴とする請求項6に記載の通信装置。   The communication apparatus according to claim 6, wherein a communication method by the third communication unit is proximity wireless communication. 前記制御手段はさらに、前記応答に、前記外部装置からの前記第2の通信手段の通信方式による接続要求を送信するタイミングを制御するための時間情報を含めることを特徴とする請求項2乃至5のいずれか一項に記載の通信装置。   The control means further includes, in the response, time information for controlling a timing for transmitting a connection request from the external device according to a communication method of the second communication means. The communication device according to any one of the above. 第1の通信手段と第2の通信手段とを有する通信装置により、
前記第1の通信手段による通信を介して前記第2の通信手段による通信へのハンドオーバーの要求を外部装置から受信すると、前記要求に応じたハンドオーバーのために前記第1の通信手段による通信を停止する前に、前記第2の通信手段による通信の準備処理を開始することを特徴とする通信装置の制御方法。
By the communication device having the first communication means and the second communication means,
When a request for handover to communication by the second communication means is received from an external device via communication by the first communication means, communication by the first communication means for handover according to the request Before the communication is stopped, the communication preparation process by the second communication means is started.
コンピュータを、請求項1乃至8のいずれか1項に記載の通信装置の各手段として機能させるためのプログラム。   The program for functioning a computer as each means of the communication apparatus of any one of Claims 1 thru | or 8.
JP2015236003A 2015-12-02 2015-12-02 Communication device, communication device control method, and program Pending JP2017103650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015236003A JP2017103650A (en) 2015-12-02 2015-12-02 Communication device, communication device control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015236003A JP2017103650A (en) 2015-12-02 2015-12-02 Communication device, communication device control method, and program

Publications (1)

Publication Number Publication Date
JP2017103650A true JP2017103650A (en) 2017-06-08

Family

ID=59015697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015236003A Pending JP2017103650A (en) 2015-12-02 2015-12-02 Communication device, communication device control method, and program

Country Status (1)

Country Link
JP (1) JP2017103650A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019008724A (en) * 2017-06-28 2019-01-17 キヤノン株式会社 Communication device and control method thereof
JP2019193020A (en) * 2018-04-20 2019-10-31 キヤノン株式会社 Electronic apparatus and control method therefor, and program
JPWO2023047602A1 (en) * 2021-09-27 2023-03-30
US12108290B2 (en) 2020-05-29 2024-10-01 Canon Kabushiki Kaisha Apparatus, method of same, and storage medium for wirelessly communicating with external device via a plurality of wireless communication methods

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019008724A (en) * 2017-06-28 2019-01-17 キヤノン株式会社 Communication device and control method thereof
JP2019193020A (en) * 2018-04-20 2019-10-31 キヤノン株式会社 Electronic apparatus and control method therefor, and program
JP7101525B2 (en) 2018-04-20 2022-07-15 キヤノン株式会社 Electronic devices and their control methods, as well as programs
US12108290B2 (en) 2020-05-29 2024-10-01 Canon Kabushiki Kaisha Apparatus, method of same, and storage medium for wirelessly communicating with external device via a plurality of wireless communication methods
JPWO2023047602A1 (en) * 2021-09-27 2023-03-30
JP7568988B2 (en) 2021-09-27 2024-10-17 日本電信電話株式会社 COMMUNICATION SYSTEM AND CONTROL METHOD

Similar Documents

Publication Publication Date Title
JP6869746B2 (en) Communication device, its control method, program
JP6755081B2 (en) Communication equipment and its control method and program
JP6400101B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6576082B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP2017103650A (en) Communication device, communication device control method, and program
JP6415232B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6570575B2 (en) Imaging apparatus, control method therefor, and program
JP6385078B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6399854B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP2016103703A (en) Information processing device, electronic apparatus, control method for them, program, and storage medium
JP6463050B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP2018033002A (en) WIRELESS COMMUNICATION DEVICE, ITS CONTROL METHOD, AND WIRELESS COMMUNICATION SYSTEM
JP6478539B2 (en) Wireless communication apparatus, control method, and program
JP2017199977A (en) Imaging apparatus, control method therefor, program, and system
JP2018011269A (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP2017204740A (en) Communication device, control method of communication device, and program
JP6433231B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6386862B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP2016058970A (en) Wireless communication apparatus, control method and program for wireless communication apparatus
JP6468827B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM
US20230276511A1 (en) Communication apparatus, communication control method, and storage medium
JP2017085518A (en) Communication apparatus, control method for communication apparatus, and program
JP2018207423A (en) Communication system
WO2023074132A1 (en) Wireless communication device and control method therefor
JP2016100724A (en) Information processing apparatus, information processing method, and program