JP6929697B2 - Communication equipment, its control method and program - Google Patents

Communication equipment, its control method and program Download PDF

Info

Publication number
JP6929697B2
JP6929697B2 JP2017094932A JP2017094932A JP6929697B2 JP 6929697 B2 JP6929697 B2 JP 6929697B2 JP 2017094932 A JP2017094932 A JP 2017094932A JP 2017094932 A JP2017094932 A JP 2017094932A JP 6929697 B2 JP6929697 B2 JP 6929697B2
Authority
JP
Japan
Prior art keywords
communication
access point
control unit
communication device
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017094932A
Other languages
Japanese (ja)
Other versions
JP2018191256A (en
Inventor
四宮 岳史
岳史 四宮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2017094932A priority Critical patent/JP6929697B2/en
Publication of JP2018191256A publication Critical patent/JP2018191256A/en
Application granted granted Critical
Publication of JP6929697B2 publication Critical patent/JP6929697B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Description

本発明は、通信装置、その制御方法及びプログラムに関する。 The present invention relates to a communication device, a control method thereof, and a program.

近年、デジタルカメラ等の撮像装置に無線通信機能を搭載し、アクセスポイントを介してネットワークにアクセスすることが行われている。例えば特許文献1には、デジタルカメラからアクセスポイントを介してサーバ機器に画像をアップロードする構成が開示されている。 In recent years, an imaging device such as a digital camera is equipped with a wireless communication function to access a network via an access point. For example, Patent Document 1 discloses a configuration in which an image is uploaded from a digital camera to a server device via an access point.

特開2014−131184号公報Japanese Unexamined Patent Publication No. 2014-131184

撮像装置がアクセスポイントに接続するためには、アクセスポイントを探索し、そのアクセスポイントに接続する操作を行う必要がある。
この場合に、撮像装置において常時アクセスポイントを探索することが考えられるが、消費電力の観点から現実的ではない。また、撮像装置においてアクセスポイントに接続する操作を行うのでは、ユーザ操作の手間になってしまう。
In order for the image pickup device to connect to the access point, it is necessary to search for the access point and perform an operation to connect to the access point.
In this case, it is conceivable that the image pickup apparatus constantly searches for an access point, but this is not realistic from the viewpoint of power consumption. Further, if the image pickup device is operated to connect to the access point, it will be troublesome for the user to operate.

本発明の目的は上記のような点に鑑みてなされたものであり、消費電力の増大を避けるとともに、ユーザ操作の手間を省いて、通信装置がアクセスポイントを介して外部機器と通信できるようにすることを目的とする。 An object of the present invention has been made in view of the above points, so that a communication device can communicate with an external device via an access point while avoiding an increase in power consumption and saving the trouble of user operation. The purpose is to do.

本発明の通信装置は、第1の通信プロトコルによってアクセスポイントと通信する第1の通信手段と、前記第1の通信手段による通信よりも消費電力が低く、第2の通信プロトコルによって他の通信装置と通信する第2の通信手段と、前記第1の通信手段による第1のアクセスポイントとの接続が確立したことに応じて、前記第2の通信手段によって、接続通知を前記他の通信装置に送信するよう制御する制御手段と、前記第1の通信手段を用いて第2のアクセスポイントを構成する手段と、前記第1のアクセスポイントを介して接続するネットワークと、前記第2のアクセスポイントを介して接続するネットワークとの間での通信を制御する経路制御手段とを備え、前記制御手段は、前記第1のアクセスポイントから送信されるビーコンパケットに予め定められた情報が含まれていない場合、前記接続通知を送信することを特徴とする。 The communication device of the present invention consumes less power than the first communication means that communicates with the access point by the first communication protocol and the communication by the first communication means, and other communication devices by the second communication protocol. In response to the establishment of the connection between the second communication means communicating with the first communication means and the first access point by the first communication means, the second communication means sends a connection notification to the other communication device. A control means for controlling transmission, a means for configuring a second access point using the first communication means, a network connected via the first access point, and the second access point. When a route control means for controlling communication with a network connected via the control means is provided, and the control means does not include predetermined information in a beacon packet transmitted from the first access point. , The connection notification is transmitted .

本発明によれば、消費電力の増大を避けるとともに、ユーザ操作の手間を省いて、通信装置がアクセスポイントを介して外部機器と通信することができる。 According to the present invention, the communication device can communicate with an external device via an access point while avoiding an increase in power consumption and saving the trouble of user operation.

実施形態に係る通信システムの構成例を示す図である。It is a figure which shows the configuration example of the communication system which concerns on embodiment. 実施形態に係るカメラの初期設定動作を示すフローチャートである。It is a flowchart which shows the initial setting operation of the camera which concerns on embodiment. 実施形態に係るカメラの表示部の表示画面の例を示す図である。It is a figure which shows the example of the display screen of the display part of the camera which concerns on embodiment. 実施形態に係るスマートフォンの初期設定動作を示すフローチャートである。It is a flowchart which shows the initial setting operation of the smartphone which concerns on embodiment. 実施形態に係るスマートフォンの表示部の表示画面の例を示す図である。It is a figure which shows the example of the display screen of the display part of the smartphone which concerns on embodiment. 実施形態に係るカメラの表示部の表示画面の例を示す図である。It is a figure which shows the example of the display screen of the display part of the camera which concerns on embodiment. 実施形態に係るスマートフォンの表示部の表示画面の例を示す図である。It is a figure which shows the example of the display screen of the display part of the smartphone which concerns on embodiment. 実施形態に係るカメラの動作を示すフローチャートである。It is a flowchart which shows the operation of the camera which concerns on embodiment. 実施形態に係るスマートフォンの動作を示すフローチャートである。It is a flowchart which shows the operation of the smartphone which concerns on embodiment. 実施形態に係る通信システムにおける画像データのアップロード処理の流れを示すシーケンス図である。It is a sequence diagram which shows the flow of the image data upload process in the communication system which concerns on embodiment.

以下、添付図面を参照して、本発明の好適な実施形態について説明する。
<通信システムの各装置の構成>
図1は、実施形態に係る通信システムの構成例を示す図である。
通信システムは、無線通信機能を有する撮像装置100Aと、無線通信機能を有する携帯端末機器100Bとを備える。撮像装置100Aは、例えばデジタルカメラ(以下、単にカメラと称する)であり、本発明でいう通信装置、及び携帯端末機器100Bからみた他の通信装置の例である。また、携帯端末機器100Bは、例えばスマートフォンであり、本発明でいう通信装置、及びカメラ100Aからみた他の通信装置の例である。なお、携帯端末機器は、携帯型のメディアプレーヤ、所謂タブレットデバイス、又はパーソナルコンピュータ等の情報処理装置であってもよい。
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.
<Configuration of each device in the communication system>
FIG. 1 is a diagram showing a configuration example of a communication system according to an embodiment.
The communication system includes an image pickup device 100A having a wireless communication function and a mobile terminal device 100B having a wireless communication function. The image pickup device 100A is, for example, a digital camera (hereinafter, simply referred to as a camera), and is an example of the communication device according to the present invention and other communication devices as viewed from the mobile terminal device 100B. Further, the mobile terminal device 100B is, for example, a smartphone, which is an example of the communication device according to the present invention and another communication device as seen from the camera 100A. The portable terminal device may be an information processing device such as a portable media player, a so-called tablet device, or a personal computer.

カメラ100Aにおいて、制御部101Aは、制御プログラムに従ってカメラ100A全体を制御する。なお、制御部101Aによってカメラ100A全体を制御する代わりに、複数のハードウェアによって処理を分担することによりカメラ100A全体を制御するようにしてもよい。 In the camera 100A, the control unit 101A controls the entire camera 100A according to the control program. Instead of controlling the entire camera 100A by the control unit 101A, the entire camera 100A may be controlled by sharing the processing with a plurality of hardware.

撮像部102Aは、例えば絞り、ズーム、及びフォーカス機能を備える光学レンズユニットと、撮像素子とを備える。撮像素子は、光学レンズユニットによって結像された光学像に応じた電気信号(アナログ信号)を出力して当該アナログ信号をA/D変換によってデジタル信号とする。撮像素子としては、例えばCMOS(Complementary Metal Oxide Semiconductor)又はCCD(Charge Coupled Device Image Sensor)が用いられる。撮像部102Aは、制御部101Aの制御下で光学像に応じた電気信号を出力し、当該電気信号に対してノイズ低減処理等を行った後、デジタル信号を画像データとして出力する。 The image pickup unit 102A includes, for example, an optical lens unit having aperture, zoom, and focus functions, and an image pickup device. The image pickup element outputs an electric signal (analog signal) corresponding to the optical image formed by the optical lens unit, and converts the analog signal into a digital signal by A / D conversion. As the image sensor, for example, CMOS (Complementary Metal Oxide Semiconductor) or CCD (Charge Coupled Device Image Sensor) is used. The imaging unit 102A outputs an electric signal according to the optical image under the control of the control unit 101A, performs noise reduction processing or the like on the electric signal, and then outputs a digital signal as image data.

不揮発性メモリ103Aは、電気的に消去及び記録が可能なメモリであり、制御部101Aで実行される制御プログラム等が格納される。また、作業用メモリ104Aは、撮像部102Aによる撮像の結果得られた画像データを一時的に記録するバッファメモリとして用いられるとともに、画像表示用メモリ及び制御部101Aの作業領域として用いられる。 The non-volatile memory 103A is a memory that can be electrically erased and recorded, and stores a control program or the like executed by the control unit 101A. Further, the working memory 104A is used as a buffer memory for temporarily recording the image data obtained as a result of imaging by the imaging unit 102A, and is also used as a working area of the image display memory and the control unit 101A.

操作部105Aは、ユーザからの指示をユーザから受け付けるために用いられる。操作部105Aには、例えばカメラ100Aの電源をON又はOFFするための電源ボタン、撮像指示を行うためのレリーズスイッチ、画像データの再生を指示するための再生ボタンが含まれる。また、表示部106Aに形成されたタッチパネルも操作部105Aに含まれる。 The operation unit 105A is used to receive an instruction from the user from the user. The operation unit 105A includes, for example, a power button for turning on or off the power of the camera 100A, a release switch for giving an imaging instruction, and a reproduction button for instructing reproduction of image data. Further, the touch panel formed on the display unit 106A is also included in the operation unit 105A.

表示部106Aには、例えば静止画を撮像するための撮像準備段階でライブビューが表示されるとともに、撮像部102Aによる撮像の結果得られた静止画が表示される。また、表示部106Aには、対話的な操作のための文字等が表示される。 On the display unit 106A, for example, a live view is displayed at the imaging preparation stage for capturing a still image, and a still image obtained as a result of imaging by the imaging unit 102A is displayed. In addition, characters and the like for interactive operations are displayed on the display unit 106A.

電源管理部107Aは、カメラ100Aに電力を供給するためのユニットである。電源管理部107Aは、カメラ100A全体に電力を供給するとともに、副制御部120A及び省電力無線通信部112Aを含む一部に限定して電力を供給することができる。以下の説明では、カメラ100A全体に電力が供給されている状態を電源ON状態と呼び、副制御部120A及び省電力無線通信部112Aを含む一部に限定して電力が供給されている状態をスタンバイ状態と呼ぶ。また、カメラ100A全体の電力供給が断とされている状態を電源OFF状態と呼ぶ。スタンバイ状態では、カメラ100Aを消費電力が極めて低い状態に保つことができる。 The power management unit 107A is a unit for supplying electric power to the camera 100A. The power management unit 107A can supply power to the entire camera 100A, and can supply power only to a part including the sub-control unit 120A and the power-saving wireless communication unit 112A. In the following description, the state in which power is supplied to the entire camera 100A is referred to as a power ON state, and the state in which power is supplied only to a part including the sub-control unit 120A and the power-saving wireless communication unit 112A. Called the standby state. Further, a state in which the power supply of the entire camera 100A is cut off is called a power-off state. In the standby state, the power consumption of the camera 100A can be kept extremely low.

記録媒体110Aには、撮像部102Aによる撮像の結果得られた画像データが記録される。本実施形態では、画像データは、DCF(Design rule for Camera File system)規格に従って記録媒体110Aに記録される。記録媒体110Aはカメラ100Aに着脱可能でもよいし、カメラ100Aに内蔵されるようにしてもよい。 Image data obtained as a result of imaging by the imaging unit 102A is recorded on the recording medium 110A. In this embodiment, the image data is recorded on the recording medium 110A according to the DCF (Design rule for Camera File system) standard. The recording medium 110A may be attached to or detached from the camera 100A, or may be incorporated in the camera 100A.

無線通信部111Aは、例えばIEEE802.11規格に準拠した無線LAN通信を行うためのインターフェースである。無線通信部111Aが、本発明でいう第1の通信プロトコルによってアクセスポイントと通信する第1の通信手段に相当する。この無線LAN通信によって、カメラ100Aは、周囲のアクセスポイント100C又はスマートフォン100Bの無線通信部111Bと無線通信を行うことができる。また、カメラ100Aは、TCP/IP等の上位のプロトコルによって、アクセスポイント100C又はスマートフォン100Bの無線通信部111Bを介して、クラウドネットワーク100Dに接続された外部機器である不図示のサーバ機器(以下、ホストと呼ぶ)とデータを送受信することができる。なお、以下では、アクセスポイントをAPと称する。 The wireless communication unit 111A is an interface for performing wireless LAN communication conforming to, for example, the IEEE802.11 standard. The wireless communication unit 111A corresponds to the first communication means for communicating with the access point by the first communication protocol referred to in the present invention. Through this wireless LAN communication, the camera 100A can perform wireless communication with the surrounding access point 100C or the wireless communication unit 111B of the smartphone 100B. Further, the camera 100A is a server device (hereinafter, not shown) which is an external device connected to the cloud network 100D via the wireless communication unit 111B of the access point 100C or the smartphone 100B by a higher-level protocol such as TCP / IP. You can send and receive data with (called a host). In the following, the access point will be referred to as AP.

省電力無線通信部112Aは、例えば無線通信のためのアンテナと無線信号を処理するため変復調回路、そして、通信コントローラを有する。省電力無線通信部112Aは、無線信号をアンテナから出力するとともに、アンテナで受信した無線信号を復調してIEEE802.15の規格(所謂Bluetooth(登録商標))に応じた近距離無線通信を行う。省電力無線通信部112Aが、本発明でいう第2の通信プロトコルによって他の通信装置と通信を行う第2の通信手段に相当する。本実施形態では、Bluetooth通信に、BLE(Bluetooth Low Energy)と呼ばれるバージョン4.0を用いるものとする。BLE通信は、無線LAN通信と比較して通信可能な範囲が狭い(つまり、通信可能な距離が短い)。また、BLE通信は、無線LAN通信と比較してその通信速度が遅い。一方、BLE通信は、無線LAN通信と比較してその消費電力が低く、無線LAN通信による消費電力>BLE通信による消費電力となる。 The power-saving wireless communication unit 112A includes, for example, an antenna for wireless communication, a modulation / demodulation circuit for processing wireless signals, and a communication controller. The power-saving wireless communication unit 112A outputs a wireless signal from the antenna, demolishes the wireless signal received by the antenna, and performs short-range wireless communication according to the standard of IEEE802.15 (so-called Bluetooth (registered trademark)). The power-saving wireless communication unit 112A corresponds to a second communication means for communicating with another communication device by the second communication protocol referred to in the present invention. In this embodiment, version 4.0 called BLE (Bluetooth Low Energy) is used for Bluetooth communication. BLE communication has a narrower communicable range (that is, a shorter communicable distance) than wireless LAN communication. Further, the communication speed of BLE communication is slower than that of wireless LAN communication. On the other hand, the power consumption of BLE communication is lower than that of wireless LAN communication, and the power consumption of wireless LAN communication> the power consumption of BLE communication.

副制御部120Aは、省電力無線通信部112Aによる通信と、スタンバイ状態におけるカメラ100Aの制御を司る。副制御部120Aには、その動作に必要な作業用メモリと不揮発性メモリが内蔵されており、これにより、副制御部120Aは不揮発性メモリ103A及び作業用メモリ104Aに電力が供給されないスタンバイ状態でも動作することができる。また、カメラ100Aがスタンバイ状態であっても、副制御部120Aの制御下、省電力無線通信部112Aによって、スマートフォン100BとBLE通信することができる。さらに、副制御部120Aは、省電力無線通信部112Aの通信内容に応じて、電源管理部107Aを介してカメラ100Aをスタンバイ状態から電源ON状態に復帰させる。
カメラ100Aにおいて、各ブロックは内部バス130Aによって相互に接続される。
The sub-control unit 120A controls the communication by the power-saving wireless communication unit 112A and the control of the camera 100A in the standby state. The sub-control unit 120A has a built-in working memory and non-volatile memory necessary for its operation, whereby the sub-control unit 120A is in a standby state in which power is not supplied to the non-volatile memory 103A and the working memory 104A. Can work. Further, even when the camera 100A is in the standby state, the power-saving wireless communication unit 112A can perform BLE communication with the smartphone 100B under the control of the sub-control unit 120A. Further, the sub-control unit 120A returns the camera 100A from the standby state to the power ON state via the power management unit 107A according to the communication content of the power saving wireless communication unit 112A.
In the camera 100A, the blocks are connected to each other by the internal bus 130A.

スマートフォン100Bにおいて、制御部101Bは、制御プログラムに従ってスマートフォン100B全体を制御する。なお、制御部101Bがスマートフォン100B全体を制御する代わりに、複数のハードウェアが処理を分担することによりスマートフォン100B全体を制御するようにしてもよい。 In the smartphone 100B, the control unit 101B controls the entire smartphone 100B according to the control program. Instead of the control unit 101B controlling the entire smartphone 100B, a plurality of hardware may share the processing to control the entire smartphone 100B.

撮像部102Bは、カメラ100Aの撮像部102Aと同様であり、制御部101Bの制御下で光学像に応じた電気信号を出力し、当該電気信号に対してノイズ低減処理等を行った後、デジタル信号を画像データとして出力する。 The image pickup unit 102B is the same as the image pickup unit 102A of the camera 100A, outputs an electric signal corresponding to an optical image under the control of the control unit 101B, performs noise reduction processing or the like on the electric signal, and then digitally. Output the signal as image data.

不揮発性メモリ103Bは、カメラ100Aの不揮発性メモリ103Aと同様であり、制御部101Bで実行される制御プログラム等が格納される。また、作業用メモリ104Bは、バッファメモリ、画像表示用メモリ、及び制御部101Bの作業領域として用いられる。 The non-volatile memory 103B is the same as the non-volatile memory 103A of the camera 100A, and stores a control program or the like executed by the control unit 101B. Further, the working memory 104B is used as a buffer memory, an image display memory, and a working area of the control unit 101B.

操作部105Bは、ユーザからの指示をユーザから受け付けるために用いられる。操作部105Bには、例えばスマートフォン100Bの電源をON又はOFFするための電源ボタン、画面遷移の指示を行うための操作ボタンが含まれている。また、表示部106Bに形成されたタッチパネルも操作部105Bに含まれる。 The operation unit 105B is used to receive an instruction from the user from the user. The operation unit 105B includes, for example, a power button for turning on or off the power of the smartphone 100B, and an operation button for instructing a screen transition. Further, the touch panel formed on the display unit 106B is also included in the operation unit 105B.

表示部106Bには、例えば撮像部102Bによる撮影の結果得られた静止画が表示される。また、表示部106Bには。対話的な操作を行うためのGUI(Graphical User Interface)が表示される。なお、表示部106Bは必ずしもスマートフォン100Bに備える必要はなく、スマートフォン100Bは表示内容を制御する表示制御機能を少なくとも有していればよい。 On the display unit 106B, for example, a still image obtained as a result of shooting by the imaging unit 102B is displayed. Further, on the display unit 106B. A GUI (Graphical User Interface) for performing interactive operations is displayed. The display unit 106B does not necessarily have to be provided in the smartphone 100B, and the smartphone 100B may have at least a display control function for controlling the display contents.

電源管理部107Bは、スマートフォン100Bに電力を供給するためのユニットである。 The power management unit 107B is a unit for supplying electric power to the smartphone 100B.

記録媒体110Bには、撮像部102Bによる撮像の結果得られた画像データがDCF規格に従って記録される。記録媒体110Bはスマートフォン100Bに着脱可能でもよいし、スマートフォン100Bに内蔵されるようにしてもよい。 Image data obtained as a result of imaging by the imaging unit 102B is recorded on the recording medium 110B according to the DCF standard. The recording medium 110B may be attached to or detached from the smartphone 100B, or may be built into the smartphone 100B.

無線通信部111Bは、カメラ100Aの無線通信部111Aと同様の機能に加え、ソフトAP機能(親機モード)を有する。ソフトAP機能とは、制御部101Bの指示によりAPとして振る舞うことができる機能である。ソフトAP機能を有効にすることにより、スマートフォン100Bは無線通信部111Bを用いてAPを構成することになる。これにより、カメラ100Aの無線通信部111Aが、AP100Cではなく無線通信部111Bに接続し、カメラ100Aとスマートフォン100Bとが直接無線通信を行うことができる。無線通信部111Bが、本発明でいう第1の通信プロトコルによってアクセスポイントと通信する第1の通信手段に相当する。 The wireless communication unit 111B has a soft AP function (master unit mode) in addition to the same functions as the wireless communication unit 111A of the camera 100A. The soft AP function is a function that can behave as an AP according to an instruction from the control unit 101B. By enabling the soft AP function, the smartphone 100B configures the AP using the wireless communication unit 111B. As a result, the wireless communication unit 111A of the camera 100A is connected to the wireless communication unit 111B instead of the AP100C, and the camera 100A and the smartphone 100B can directly perform wireless communication. The wireless communication unit 111B corresponds to the first communication means for communicating with the access point by the first communication protocol referred to in the present invention.

省電力無線通信部112Bは、カメラ100Aの省電力無線通信部112Aと同様であり、BLE通信する。省電力無線通信部112Bが、本発明でいう第2の通信プロトコルによって他の通信装置と通信を行う第2の通信手段に相当する。 The power-saving wireless communication unit 112B is the same as the power-saving wireless communication unit 112A of the camera 100A, and performs BLE communication. The power-saving wireless communication unit 112B corresponds to a second communication means for communicating with another communication device by the second communication protocol referred to in the present invention.

公衆無線通信部113Bは、基地局100Eを介して公衆網100Fによって通信を行うためのインターフェースである。公衆無線通信部113Bは、無線通信のためのアンテナと無線信号を処理するため変復調回路、そして、通信コントローラを有する。本実施形態では、公衆無線通信部113Bは、W−CDMA(UMTS)又はLTE(Long Term Evolution)等の規格に従って公衆無線通信を行う。
スマートフォン100Bにおいて、各ブロックは内部バス130Bによって相互に接続される。
なお、図1に示す例では、カメラ100Aとスマートフォン100Bとが1対1で通信する例が示されているが、カメラ100Aは複数のスマートフォンと一対多で通信を行うことができる。
The public wireless communication unit 113B is an interface for communicating with the public network 100F via the base station 100E. The public wireless communication unit 113B has an antenna for wireless communication, a modulation / demodulation circuit for processing a wireless signal, and a communication controller. In the present embodiment, the public radio communication unit 113B performs public radio communication according to a standard such as W-CDMA (UMTS) or LTE (Long Term Evolution).
In the smartphone 100B, the blocks are connected to each other by the internal bus 130B.
In the example shown in FIG. 1, an example in which the camera 100A and the smartphone 100B communicate one-to-one is shown, but the camera 100A can perform one-to-many communication with a plurality of smartphones.

<カメラ100Aとスマートフォン100Bとのペアリング>
次に、カメラ100とスマートフォン100Bとを省電力無線通信部112A、112Bによって相互に通信可能とするためにカメラ100Aで行われる初期設定について説明する。
図2は、カメラ100Aの初期設定動作を示すフローチャートである。このフローチャートに係る処理は、制御部101Aの制御下で行われる。
<Pairing of camera 100A and smartphone 100B>
Next, the initial setting performed by the camera 100A to enable the camera 100 and the smartphone 100B to communicate with each other by the power-saving wireless communication units 112A and 112B will be described.
FIG. 2 is a flowchart showing the initial setting operation of the camera 100A. The processing related to this flowchart is performed under the control of the control unit 101A.

図2に示す処理に先立って、カメラ100Aは電源ON状態となっており、ユーザは操作部105Aによってカメラ100Aの設定を変更することが可能である。初期設定を行うにあたって、カメラ100Aとスマートフォン100Bとの間でBLE通信が行われるが、その際には、スマートフォン100BはBLEのセントラル(Central)として、カメラ100AはBLEのペリフェラル(Peripheral)として振る舞うことになる。 Prior to the process shown in FIG. 2, the camera 100A is in the power ON state, and the user can change the setting of the camera 100A by the operation unit 105A. In the initial setting, BLE communication is performed between the camera 100A and the smartphone 100B. At that time, the smartphone 100B behaves as the BLE central and the camera 100A acts as the BLE peripheral. become.

ステップS201で、制御部101Aは、表示部106Aに設定メニュー画面を表示して、ユーザが操作部105Aによってペアリング設定メニューを選択するまで待つ。なお、設定メニュー画面については後述する。 In step S201, the control unit 101A displays the setting menu screen on the display unit 106A and waits until the user selects the pairing setting menu by the operation unit 105A. The setting menu screen will be described later.

ステップS202で、制御部101Aは、省電力無線通信部112Aによってペアリングを開始するためのペアリング情報をアドバタイズ(Advertise)する。例えば制御部101Aは、BLEのGATTプロファイルによってペアリングを行うためのAP代行サービスのアドバタイズを行う。 In step S202, the control unit 101A advertises the pairing information for starting the pairing by the power saving wireless communication unit 112A. For example, the control unit 101A advertises the AP agency service for pairing according to the GATT profile of BLE.

AP代行サービスには、初期設定を求める接続対象のデバイス(以下、セントラルと呼ぶ)がセントラルを一意に特定するためのID情報を書き込むためのセントラルID特性と、初期設定の進行状況を表すStatus特性とが含まれている。ステップS202では、セントラルID特性にはNULL値が、Status特性には文字列”Initializing”が設定された状態でアドバタイズが行われる。このBLEのアドバタイズは、制御部101Aによって明示的に停止の指示があるまで、省電力無線通信部112Aによって自動的に繰り返し行われる。 The AP agency service has a central ID characteristic for writing ID information for a device to be connected (hereinafter referred to as central) for which initial setting is required to uniquely identify the central, and a status characteristic for indicating the progress of initial setting. And are included. In step S202, the advertisement is performed with the NULL value set for the central ID characteristic and the character string "Initializing" set for the Status characteristic. This advertisement of BLE is automatically repeated by the power saving wireless communication unit 112A until the control unit 101A explicitly instructs the stop.

また、AP代行サービスには他に、後述するように、セントラルの無線LAN接続状態を書き込む無線LAN状態特性、セントラルがAPとなった場合のSSIDを書き込むSSID特性、前記APに接続するためのパスワードを書き込むパスワード特性、前記APへの接続時に使用するIPアドレス等を書き込むネットワーク特性、ペリフェラルの無線LAN接続要求状態を保持する接続要求特性が含まれている。 In addition to the AP agency service, as will be described later, a wireless LAN state characteristic for writing the central wireless LAN connection status, an SSID characteristic for writing the SSID when the central becomes an AP, and a password for connecting to the AP. It includes a password characteristic for writing, a network characteristic for writing an IP address or the like used when connecting to the AP, and a connection request characteristic for holding a wireless LAN connection request state of a peripheral.

ステップS203で、制御部101Aは、アドバタイズに対してセントラルからセントラルID特性への書き込み要求があるまで待つ。この要求は、後述するように、スマートフォン100Bで行われる要求に対応するものである。制御部101Aは、書き込み要求があったと判定すると、処理をステップS204に進める。 In step S203, the control unit 101A waits for the advertisement to write from the central to the central ID characteristic. This request corresponds to the request made by the smartphone 100B, as will be described later. When the control unit 101A determines that the write request has been made, the control unit 101A advances the process to step S204.

ステップS204で、制御部101Aは、書き込みを要求したセントラルがペアリング済みであるか否かを判定する。制御部101Aは、未だペアリングが行われていないと判定すると、処理をステップS205に進める。一方、制御部101Aは、ペアリング済みであると判定すると、処理をステップS209に進める。 In step S204, the control unit 101A determines whether or not the central that requested the write has been paired. If the control unit 101A determines that the pairing has not been performed yet, the process proceeds to step S205. On the other hand, if the control unit 101A determines that the pairing has been completed, the process proceeds to step S209.

ステップS205で、制御部101Aの制御下で省電力無線通信部112Aは、セントラルに対してペアリング要求を送信する。
ステップS206で、制御部101Aは、表示部106AにPIN確認画面を表示する。なお、PIN確認画面については後述する。ここでは、ペアリングの要求毎に異なる6桁の数値が生成されて、PIN番号として用いられる。
In step S205, the power saving wireless communication unit 112A transmits a pairing request to the central unit under the control of the control unit 101A.
In step S206, the control unit 101A displays the PIN confirmation screen on the display unit 106A. The PIN confirmation screen will be described later. Here, a different 6-digit numerical value is generated for each pairing request and used as a PIN number.

ステップS207で、制御部101Aは、省電力無線通信部112AによってセントラルからPIN番号を受信するまで待つ。このPIN番号の受信は、スマートフォン100Bの送信に対応する。制御部101Aは、PIN番号を受信したと判定すると、処理をステップS208に進める。
ステップS208で、制御部101Aは、受信したPIN番号が、ステップS206において生成したPIN番号と一致しているか否かを判定する。制御部101Aは、PIN番号が一致していないと判定すると、処理をステップS205に戻して再度ペアリング要求を送信する。一方、制御部101Aは、PIN番号が一致すると判定すると、処理をステップS209に進める。
In step S207, the control unit 101A waits until the power saving wireless communication unit 112A receives the PIN number from the central unit. The reception of this PIN number corresponds to the transmission of the smartphone 100B. When the control unit 101A determines that the PIN number has been received, the control unit 101A advances the process to step S208.
In step S208, the control unit 101A determines whether or not the received PIN number matches the PIN number generated in step S206. If the control unit 101A determines that the PIN numbers do not match, the process returns to step S205 and the pairing request is transmitted again. On the other hand, if the control unit 101A determines that the PIN numbers match, the process proceeds to step S209.

ステップS209で、制御部101Aは、AP代行サービスのセントラルIDを不揮発性メモリ103Aに保存する。ここでは、制御部101Aは、副制御部120Aに内蔵の不揮発性メモリにもセントラルIDを保存する。
ステップS210で、制御部101Aは、省電力無線通信部112Aによって、初期設定が完了したことをセントラルに対して通知する。例えば制御部101Aは、アドバタイズにおけるAP代行サービスのStatus特性の設定を”Success”として、アドバタイズを受信したセントラルの初期設定が終了したことを知ることができるようにする。
In step S209, the control unit 101A stores the central ID of the AP agency service in the non-volatile memory 103A. Here, the control unit 101A also stores the central ID in the non-volatile memory built in the sub control unit 120A.
In step S210, the control unit 101A notifies the central that the initial setting is completed by the power saving wireless communication unit 112A. For example, the control unit 101A sets the Status characteristic setting of the AP agency service in the advertisement to "Success" so that it can know that the initial setting of the central that has received the advertisement has been completed.

ステップS211で、制御部101Aは、表示部106Aにペアリング完了画面を表示する。なお、ペアリング完了画面については後述する。
ステップS212で、制御部101Aは、ステップS202において開始したBLEのAP代行サービスのアドバタイズを停止する。その後、制御部101Aは、初期設定動作を終了する。これにより、セントラルとペリフェラルとは接続状態に移行する。セントラルとペリフェラルとが接続状態に移行すると、セントラルとペリフェラルとは一定間隔毎に相互にパケットの送受信を行う。そして、当該通信が維持されている間は、セントラルとペリフェラルとは互いに接続されているものとみなす。相手からの通信が届かないときには、接続状態は解除される。
In step S211 the control unit 101A displays the pairing completion screen on the display unit 106A. The pairing completion screen will be described later.
In step S212, the control unit 101A stops the advertisement of the BLE AP agency service started in step S202. After that, the control unit 101A ends the initial setting operation. As a result, the central and the peripheral are transferred to the connected state. When the central and peripherals shift to the connected state, the central and peripherals send and receive packets to and from each other at regular intervals. Then, as long as the communication is maintained, the central and the peripheral are considered to be connected to each other. When the communication from the other party does not arrive, the connection status is canceled.

図3を参照して、カメラ100Aで行われるペアリング設定メニューの選択を説明する。図3は、カメラ100Aの表示部106Aの表示画面の例を示す図である。図3(a)は設定トップ画面を示す図、図3(b)は接続設定画面を示す図、図3(c)はペアリング画面を示す図、図3(d)はPIN確認画面を示す図、図3(e)はペアリング完了画面を示す図である。 The selection of the pairing setting menu performed by the camera 100A will be described with reference to FIG. FIG. 3 is a diagram showing an example of a display screen of the display unit 106A of the camera 100A. FIG. 3A shows a setting top screen, FIG. 3B shows a connection setting screen, FIG. 3C shows a pairing screen, and FIG. 3D shows a PIN confirmation screen. FIG. 3 (e) is a diagram showing a pairing completion screen.

ステップS201においてペアリング設定メニューの選択を行う際には、ユーザが操作部105Aを操作すると、制御部101Aは、図3(a)に示す設定トップ画面を表示部106Aに表示する。設定トップ画面において、ユーザが設定項目一覧301から、携帯電話との接続設定メニュー項目302を選択すると、制御部101Aは、図3(b)に示す接続設定画面を表示部106Aに表示する。接続設定画面において、ユーザが設定項目一覧311から、携帯電話とのペアリング設定メニュー312を選択すると、制御部101Aは、図3(c)に示すペアリング画面を表示部106Aに表示する。ペアリング画面において、ユーザが新しい携帯電話の追加メニュー項目321を選択すると、カメラ100Aにおいてペアリング設定メニューの選択が行われることになる。 When the user operates the operation unit 105A when selecting the pairing setting menu in step S201, the control unit 101A displays the setting top screen shown in FIG. 3A on the display unit 106A. When the user selects the connection setting menu item 302 with the mobile phone from the setting item list 301 on the setting top screen, the control unit 101A displays the connection setting screen shown in FIG. 3B on the display unit 106A. When the user selects the pairing setting menu 312 with the mobile phone from the setting item list 311 on the connection setting screen, the control unit 101A displays the pairing screen shown in FIG. 3C on the display unit 106A. When the user selects the additional menu item 321 of the new mobile phone on the pairing screen, the pairing setting menu is selected on the camera 100A.

ステップS206において、制御部101Aは、図3(d)に示すPIN確認画面を表示部106Aに表示する。PIN確認画面において、ユーザは操作を行う必要はない。ユーザはPIN確認画面に表示されたPINコード331をスマートフォン100Bに入力することによって、ペアリングが実行されて、ステップS207の処理に進む。 In step S206, the control unit 101A displays the PIN confirmation screen shown in FIG. 3D on the display unit 106A. The user does not need to perform any operation on the PIN confirmation screen. When the user inputs the PIN code 331 displayed on the PIN confirmation screen into the smartphone 100B, pairing is executed and the process proceeds to step S207.

ステップS211において、制御部101Aは、図3(e)に示すペアリング完了画面を表示部106Aに表示する。ペアリング完了画面において、ユーザがOKボタン341を操作すると、ステップS211の処理が終了する。 In step S211 the control unit 101A displays the pairing completion screen shown in FIG. 3E on the display unit 106A. When the user operates the OK button 341 on the pairing completion screen, the process of step S211 ends.

次に、カメラ100とスマートフォン100Bとを省電力無線通信部112A、112Bによって相互に通信可能とするためにスマートフォン100Bで行われる初期設定について説明する。
図4は、スマートフォン100Bの初期設定動作を示すフローチャートである。このフローチャートに係る処理は、制御部101Bの制御下で行われる。
Next, the initial setting performed by the smartphone 100B to enable the camera 100 and the smartphone 100B to communicate with each other by the power-saving wireless communication units 112A and 112B will be described.
FIG. 4 is a flowchart showing the initial setting operation of the smartphone 100B. The processing related to this flowchart is performed under the control of the control unit 101B.

図4に示す処理に先立って、スマートフォン100Bにおいてカメラ100Aと通信を行うためのアプリケーションが起動しているものとする。初期設定を行うにあたって、カメラ100Aとスマートフォン100Bとの間でBLE通信が行われるが、その際には、スマートフォン100BはBLEのセントラルとして、カメラ100AはBLEのペリフェラルとして振る舞うことになる。 Prior to the process shown in FIG. 4, it is assumed that the application for communicating with the camera 100A is started on the smartphone 100B. In the initial setting, BLE communication is performed between the camera 100A and the smartphone 100B. At that time, the smartphone 100B behaves as the BLE central and the camera 100A acts as the BLE peripheral.

ステップS401で、制御部101Bは、表示部106Bに設定メニュー画面を表示して、ユーザが操作部105Bによってペアリング設定メニューを選択するまで待つ。なお、設定メニュー画面については後述する。
ステップS402で、制御部101Bは、表示部106Bにペアリング実行中画面を表示する。
ステップS403で、制御部101Bは、省電力無線通信部112Bによってペリフェラルからアドバタイズを受信するまで待つ。制御部101Bは、アドバタイズを受信したと判定すると、処理をステップS404に進める。
In step S401, the control unit 101B displays the setting menu screen on the display unit 106B and waits until the user selects the pairing setting menu by the operation unit 105B. The setting menu screen will be described later.
In step S402, the control unit 101B displays the pairing execution screen on the display unit 106B.
In step S403, the control unit 101B waits until the advertisement is received from the peripheral by the power saving wireless communication unit 112B. When the control unit 101B determines that the advertisement has been received, the process proceeds to step S404.

ステップS404で、制御部101Bは、受信したアドバタイズがAP代行サービスを含むか否かを判定する。制御部101Bは、アドバタイズがAP代行サービスを含まないと判定すると、処理をステップS403に戻す。一方、制御部101Bは、アドバタイズがAP代行サービスを含むと判定すると、処理をステップS405に進める。なお、AP代行サービスのアドバタイズは、図2のステップS202においてカメラ100Aが送信したアドバタイズに対応する。 In step S404, the control unit 101B determines whether or not the received advertisement includes the AP agency service. If the control unit 101B determines that the advertisement does not include the AP agency service, the process returns to step S403. On the other hand, if the control unit 101B determines that the advertisement includes the AP agency service, the process proceeds to step S405. The advertisement of the AP agency service corresponds to the advertisement transmitted by the camera 100A in step S202 of FIG.

ステップS405で、制御部101Bは、スマートフォン100Bを特定可能な固有のIDを生成して、AP代行サービスのセントラルID特性に対して書き込み要求を行う。図2で説明したように、AP代行サービスのセントラルID特性は、その値の書き込みにあたって、BLEにおいてペアリングと呼ばれるデバイス間の認証処理が必要なように設定されている。 In step S405, the control unit 101B generates a unique ID that can identify the smartphone 100B, and makes a write request to the central ID characteristic of the AP agency service. As described with reference to FIG. 2, the central ID characteristic of the AP agency service is set so that an authentication process between devices called pairing is required in BLE when writing the value.

ステップS406で、制御部101Bは、セントラルからペアリング要求を受信するまでしたか否かを判定する。このペアリング要求は、図2のステップS205において送信されるペアリング要求に対応するものであり、省電力無線通信部112Aは、セントラルID特性をアドバタイズしたペリフェラルと未だペアリング済みでない場合にのみ送信する。制御部101Bは、ペアリング要求を受信しないと判定すると、すなわちペアリング済みであってセントラルID特性に値を書き込むことができると判定すると、処理をステップS409に進める。一方、制御部101Bは、ペアリング要求を受信したと判定すると、処理をステップS407に進める。 In step S406, the control unit 101B determines whether or not the pairing request has been received from the central. This pairing request corresponds to the pairing request transmitted in step S205 of FIG. 2, and the power-saving wireless communication unit 112A transmits only when it has not yet been paired with the peripheral that advertised the central ID characteristic. do. When the control unit 101B determines that the pairing request is not received, that is, determines that the pairing has been completed and the value can be written to the central ID characteristic, the process proceeds to step S409. On the other hand, if the control unit 101B determines that the pairing request has been received, the process proceeds to step S407.

ステップS407で、制御部101Bは、表示部106BにPIN入力画面を表示する。なお、PIN入力画面については後述する。
ステップS408で、制御部101Bは、省電力無線通信部112Bによって、PIN入力画面においてユーザが入力したPIN番号をペリフェラルに送信する。カメラ100Aは、当該PIN番号を受けて、ステップS208においてPIN番号が一致するか否かを判定する。
In step S407, the control unit 101B displays the PIN input screen on the display unit 106B. The PIN input screen will be described later.
In step S408, the control unit 101B transmits the PIN number input by the user on the PIN input screen to the peripheral by the power saving wireless communication unit 112B. Upon receiving the PIN number, the camera 100A determines in step S208 whether or not the PIN numbers match.

ステップS409で、制御部101Bは、ペアリング完了通知を受信したか否かを判定する。例えば制御部101Bは、AP代行サービスのStatus特性の値が”Success(成功)”になったか否かを判定する。この判定は、図2のステップS210の処理に対応しており、カメラ100Aは、受信したPIN番号がカメラ100Aで生成したPIN番号と一致する場合にペアリング完了通知を行う。制御部101Bは、ペアリング完了通知を受信しないと判定すると、入力されたPIN番号が誤っているとして、処理をステップS406に戻す。一方、制御部101Bは、ペアリング完了通知を受信したと判定すると、処理をステップS410に進める。
ステップS410で、制御部101Bは、表示部106Bにペアリング完了画面を表示する。なお、ペアリング完了画面については後述する。その後、ペアリング完了画面が閉られると、制御部101Bは、初期設定を終了する。
In step S409, the control unit 101B determines whether or not the pairing completion notification has been received. For example, the control unit 101B determines whether or not the value of the Status characteristic of the AP agency service has become "Success". This determination corresponds to the process of step S210 of FIG. 2, and the camera 100A gives a pairing completion notification when the received PIN number matches the PIN number generated by the camera 100A. If the control unit 101B determines that the pairing completion notification is not received, the control unit 101B determines that the input PIN number is incorrect and returns the process to step S406. On the other hand, when the control unit 101B determines that the pairing completion notification has been received, the process proceeds to step S410.
In step S410, the control unit 101B displays the pairing completion screen on the display unit 106B. The pairing completion screen will be described later. After that, when the pairing completion screen is closed, the control unit 101B ends the initial setting.

図5を参照して、スマートフォン100Bで行われるペアリング設定メニューの選択を説明する。図5は、スマートフォン100Bの表示部106Bの表示画面の例を示す図である。図5(a)は設定トップ画面を示す図、図5(b)はペアリング実行中画面を示す図、図5(c)はPIN入力画面を示す図、図5(d)はペアリング完了画面を示す図である。 The selection of the pairing setting menu performed on the smartphone 100B will be described with reference to FIG. FIG. 5 is a diagram showing an example of a display screen of the display unit 106B of the smartphone 100B. 5 (a) shows a setting top screen, FIG. 5 (b) shows a screen during pairing, FIG. 5 (c) shows a PIN input screen, and FIG. 5 (d) shows pairing completed. It is a figure which shows the screen.

ステップS401においてペアリング設定メニューの選択を行う際には、ユーザが操作部105Bを操作すると、制御部101Bは、図5(a)に示す設定トップ画面を表示部106Bに表示する。設定トップ画面において、ペアリング済みのカメラと接続するための操作ボタン501と、新しいカメラとペアリングするための操作ボタン(以下、ペアリングボタンと呼ぶ)502とが表示される。ユーザがペアリングボタン502を操作すると、制御部101Bは、図5(b)に示すペアリング実行中画面を表示部106Bに表示するペアリング実行中画面において、カメラ100Aをペアリングモードで起動することを促すメッセージ511が表示される。ペアリング実行中画面において、ユーザはスマートフォン100Bに対して操作を行う必要はなく、指示に応じてカメラ100Aをペアリングモードで起動する必要がある。この操作については、図2のステップS201において説明した。そして、上述したようにペアリング処理が開始されて、ステップS403の処理に進むことになる。 When the user operates the operation unit 105B when selecting the pairing setting menu in step S401, the control unit 101B displays the setting top screen shown in FIG. 5A on the display unit 106B. On the setting top screen, an operation button 501 for connecting to a paired camera and an operation button 502 for pairing with a new camera (hereinafter referred to as a pairing button) 502 are displayed. When the user operates the pairing button 502, the control unit 101B activates the camera 100A in the pairing mode on the pairing execution screen for displaying the pairing execution screen shown in FIG. 5B on the display unit 106B. A message 511 prompting the user is displayed. On the pairing execution screen, the user does not need to operate the smartphone 100B, and needs to activate the camera 100A in the pairing mode in response to an instruction. This operation has been described in step S201 of FIG. Then, as described above, the pairing process is started, and the process proceeds to step S403.

ステップS407において、制御部101Bは、図5(c)に示すPIN入力画面を表示部106Bに表示する。PIN入力画面において、ユーザはメッセージ521に従って、カメラ100Aの表示部106Aに表示されたPINコード331(図3(d)参照)を読み取って、PIN入力領域522に入力する。その後、ユーザがペアリング実行ボタン523を操作すると、ステップS407の処理が終了して、ステップS408の処理に進む。 In step S407, the control unit 101B displays the PIN input screen shown in FIG. 5C on the display unit 106B. On the PIN input screen, the user reads the PIN code 331 (see FIG. 3D) displayed on the display unit 106A of the camera 100A according to the message 521 and inputs it to the PIN input area 522. After that, when the user operates the pairing execution button 523, the process of step S407 ends, and the process proceeds to step S408.

ステップS410において、制御部101Bは、図5(d)に示すペアリング完了画面を表示部106Bに表示する。ペアリング完了画面において、ペアリングが行われた旨のメッセージ531が表示され、ユーザがOKボタン532を操作すると、ステップS410の処理が終了する。 In step S410, the control unit 101B displays the pairing completion screen shown in FIG. 5D on the display unit 106B. On the pairing completion screen, a message 531 indicating that pairing has been performed is displayed, and when the user operates the OK button 532, the process of step S410 ends.

カメラ100Aにおいては、電源ボタンをOFFにした際、カメラ100Aを電源OFF状態にするか又はスタンバイ状態にするかを設定によって切り替えることが可能である。
図6を参照して、カメラ100Aの電源ボタンをOFFにした際のカメラの状態設定を説明する。図6は、カメラ100Aの表示部106Aの表示画面の例を示す図である。図6(a)は設定トップ画面を示す図、図6(b)は接続設定画面を示す図、図6(c)は起動設定画面を示す図である。
In the camera 100A, when the power button is turned off, it is possible to switch between the power off state and the standby state of the camera 100A depending on the setting.
With reference to FIG. 6, the state setting of the camera when the power button of the camera 100A is turned off will be described. FIG. 6 is a diagram showing an example of a display screen of the display unit 106A of the camera 100A. FIG. 6A is a diagram showing a setting top screen, FIG. 6B is a diagram showing a connection setting screen, and FIG. 6C is a diagram showing a startup setting screen.

カメラ100Aの電源ボタンをOFF操作する際、ユーザが操作部105Aを操作すると、制御部101Aは、図6(a)に示す設定トップ画面を表示部106Aに表示する。設定トップ画面において、ユーザが設定項目一覧601から、携帯電話との接続設定メニュー項目602を選択すると、制御部101Aは、図6(b)に示す接続設定画面を表示部106Aに表示する。接続設定画面において、ユーザが設定項目一覧611から、携帯電話からの起動設定メニュー612を選択すると、制御部101Aは、図6(c)に示す携帯電話からの起動設定画面を表示部106Aに表示する。起動設定画面において、有効メニュー621及び無効メニュー622の2つの選択肢が表示される。ユーザが有効メニュー621を選択すると、電源ボタンをOFFとした際にカメラ100Aがスタンバイ状態となる。一方、ユーザが無効メニュー622を選択すると、電源ボタンをOFFとした際にカメラ100Aが電源OFF状態となる。 When the user operates the operation unit 105A when the power button of the camera 100A is turned off, the control unit 101A displays the setting top screen shown in FIG. 6A on the display unit 106A. When the user selects the connection setting menu item 602 with the mobile phone from the setting item list 601 on the setting top screen, the control unit 101A displays the connection setting screen shown in FIG. 6B on the display unit 106A. When the user selects the activation setting menu 612 from the mobile phone from the setting item list 611 on the connection setting screen, the control unit 101A displays the activation setting screen from the mobile phone shown in FIG. 6C on the display unit 106A. do. On the activation setting screen, two options, a valid menu 621 and an invalid menu 622, are displayed. When the user selects the valid menu 621, the camera 100A goes into the standby state when the power button is turned off. On the other hand, when the user selects the invalid menu 622, the camera 100A is turned off when the power button is turned off.

次に、図7を参照して、スマートフォン100Bで行われるネットワーク接続メニューの選択を説明する。図7は、スマートフォン100Bの表示部106Bの表示画面の例を示す図である。図7(a)は設定トップ画面を示す図、図7(b)はネットワーク接続設定画面を示す図である。
図7(a)は図5(a)に示す設定トップ画面をスクロールしたものであり、表示部106Bに、ペアリングボタン502に続いて、ネットワーク接続設定を行うためのボタン701が表示される。ユーザがボタン701を選択すると、制御部101Bは、図7(b)に示すネットワーク接続設定画面を表示部106Bに表示する。ネットワーク接続設定画面において、携帯電話をAPにするチェックボックス702と、既知のAPを通知するチェックボックス703とが表示される。ユーザがチェックボックス702を選択した状態でOKボタン704を操作することにより、スマートフォン100BにおいてAP代行サービスが有効になる。一方、ユーザがチェックボックス703を選択した状態でOKボタン704を操作することにより、スマートフォン100BにおいてAP Findサービスが有効になる。なお、本願において、AP Findサービスの詳細な説明は省略する。
Next, with reference to FIG. 7, the selection of the network connection menu performed on the smartphone 100B will be described. FIG. 7 is a diagram showing an example of a display screen of the display unit 106B of the smartphone 100B. FIG. 7A is a diagram showing a setting top screen, and FIG. 7B is a diagram showing a network connection setting screen.
FIG. 7A is a scroll of the setting top screen shown in FIG. 5A, and the display unit 106B displays the pairing button 502 and then the button 701 for setting the network connection. When the user selects the button 701, the control unit 101B displays the network connection setting screen shown in FIG. 7B on the display unit 106B. On the network connection setting screen, a check box 702 for setting the mobile phone as an AP and a check box 703 for notifying a known AP are displayed. By operating the OK button 704 with the check box 702 selected by the user, the AP agency service is enabled on the smartphone 100B. On the other hand, when the user operates the OK button 704 with the check box 703 selected, the AP Find service is enabled on the smartphone 100B. In this application, a detailed description of the AP Find service will be omitted.

<通信システムにおける処理>
以下、図8〜図10を参照して、実施形態に係る通信システムにおける処理を説明する。
図10は、実施形態に係る通信システムにおける画像データのアップロード処理の流れを示すシーケンス図である。
図10において、破線矢印はBLE通信であることを示し、実線矢印は無線LAN通信であることを示す。また、カメラ100Aとスマートフォン100Bとは事前にBLEによりペアリング済みであるものとする。また、図7(b)においてチェックボックス702だけが選択され、スマートフォン100BにおいてAP代行サービスが有効で、AP Findサービスが無効になっているものとする。
<Processing in communication system>
Hereinafter, processing in the communication system according to the embodiment will be described with reference to FIGS. 8 to 10.
FIG. 10 is a sequence diagram showing a flow of image data upload processing in the communication system according to the embodiment.
In FIG. 10, the broken line arrow indicates BLE communication, and the solid line arrow indicates wireless LAN communication. Further, it is assumed that the camera 100A and the smartphone 100B have been paired by BLE in advance. Further, it is assumed that only the check box 702 is selected in FIG. 7B, the AP agency service is enabled, and the AP Find service is disabled on the smartphone 100B.

ステップS1000で、スマートフォン100Bは、AP100Cから無線LAN通信でブロードキャストされたビーコンパケットを受信する。AP100Cは、ビーコンパケットに、例えばSSID及び通信レート設定を付加して送信する。
ステップS1001で、ビーコンパケットを受信したスマートフォン100Bは、AP代行サービスが有効になっている場合、受信したビーコンパケットに含まれるSSIDが、不揮発性メモリ103Bに保存されたSSIDと一致するか否かを照合する。
In step S1000, the smartphone 100B receives the beacon packet broadcast by wireless LAN communication from the AP100C. The AP100C transmits a beacon packet with, for example, an SSID and a communication rate setting added.
In step S1001, the smartphone 100B that has received the beacon packet determines whether or not the SSID included in the received beacon packet matches the SSID stored in the non-volatile memory 103B when the AP agency service is enabled. Match.

ステップS1002で、スマートフォン100Bは、ステップS1001における照合の結果に応じて、AP100Cと無線LAN接続を確立する。このとき、スマートフォン100Bが、ビーコンパケットに含まれるSSIDとそのパスワードを既知であれば、自動的に無線LAN接続を確立することができる。既知でない場合は、ユーザに入力を促したり、WPS(Wi-Fi Protected Setup)を実行したりする等の操作により、無線LAN接続を確立するものとする。 In step S1002, the smartphone 100B establishes a wireless LAN connection with the AP100C according to the result of the collation in step S1001. At this time, if the smartphone 100B knows the SSID and its password included in the beacon packet, the wireless LAN connection can be automatically established. If it is not known, the wireless LAN connection shall be established by prompting the user for input or executing WPS (Wi-Fi Protected Setup).

無線LAN接続が確立すると、ステップS1003で、スマートフォン100Bは、インターネット通信により所定のURL、例えばクラウドネットワーク100D上のホストと通信可能であるか否かを確認する。
インターネット通信可能である場合、ステップS1004で、スマートフォン100Bは、BLE通信によって、カメラ100Aに無線LAN接続通知を送信する。カメラ100Aに無線LAN接続通知を送信する前に、表示部106Bに無線LAN接続通知を送信するか否かの問い合わせ画面を表示し、ユーザによる送信指示を受けた場合に、カメラ100Aに無線LAN接続通知を送信するようにしてもよい。
When the wireless LAN connection is established, in step S1003, the smartphone 100B confirms whether or not it is possible to communicate with a predetermined URL, for example, a host on the cloud network 100D by Internet communication.
When Internet communication is possible, in step S1004, the smartphone 100B transmits a wireless LAN connection notification to the camera 100A by BLE communication. Before transmitting the wireless LAN connection notification to the camera 100A, an inquiry screen as to whether or not to transmit the wireless LAN connection notification is displayed on the display unit 106B, and when a transmission instruction is received by the user, the wireless LAN connection is connected to the camera 100A. You may want to send a notification.

ステップS1005で、無線LAN接続通知を受信したカメラ100Aの副制御部120Aは、電源管理部107Aを制御して、カメラ100Aをスタンバイ状態から電源ON状態に移行させる。これにより、無線通信部111Aが起動する。
ステップS1006で、カメラ100Aは、BLE通信によって、カメラ100Aを無線LANに接続するか否かをスマートフォン100Bに応答する。例えばカメラ100Aにおいて、ホストに送るべきデータ量が所定の量以上であるとき(本実施形態では、記録媒体110Aに未アップロードの画像が所定の枚数以上存在するとき)、無線LAN接続するように応答する。また、カメラ100Aのバッテリ残量が所定の量以下であるときは、無線LAN接続しないように応答する。カメラ100Aが無線LAN接続しないように応答した場合、以降の処理を中止する。一方、カメラ100Aが無線LAN接続をするように応答した場合、カメラ100Aは、無線通信部111Aの無線LAN通信機能を有効にし、処理を継続する。
In step S1005, the sub-control unit 120A of the camera 100A that has received the wireless LAN connection notification controls the power management unit 107A to shift the camera 100A from the standby state to the power-on state. As a result, the wireless communication unit 111A is activated.
In step S1006, the camera 100A responds to the smartphone 100B whether or not to connect the camera 100A to the wireless LAN by BLE communication. For example, in the camera 100A, when the amount of data to be sent to the host is equal to or greater than a predetermined amount (in the present embodiment, when there are more than a predetermined number of unuploaded images on the recording medium 110A), the camera responds to connect to the wireless LAN. do. When the remaining battery level of the camera 100A is less than or equal to a predetermined amount, the camera responds so as not to connect to the wireless LAN. When the camera 100A responds so as not to connect to the wireless LAN, the subsequent processing is stopped. On the other hand, when the camera 100A responds to make a wireless LAN connection, the camera 100A enables the wireless LAN communication function of the wireless communication unit 111A and continues the process.

ステップS1007で、無線LAN接続するとの応答を受信したスマートフォン100Bは、無線通信部111Bが無線LAN通信のAPとしても動作するように無線通信部111Bの設定を変更する。すなわち、スマートフォン100Bは、無線通信部111Bを用いてAPを構成する。このとき、スマートフォン100Bは、当該AP機能で利用するSSID、パスワードをランダムに生成する。
ステップS1008で、スマートフォン100Bは、無線通信部111Bで用いるネットワーク設定を変更する。ネットワーク設定の変更では、無線通信部111BがAPとして受信したデータを、AP100Cに送信できるようにし、また、無線通信部111BがAP100Cから受信したデータを、APとして送信できるようにする。
In step S1007, the smartphone 100B that receives the response to connect to the wireless LAN changes the setting of the wireless communication unit 111B so that the wireless communication unit 111B also operates as an AP for wireless LAN communication. That is, the smartphone 100B constitutes an AP by using the wireless communication unit 111B. At this time, the smartphone 100B randomly generates the SSID and password used in the AP function.
In step S1008, the smartphone 100B changes the network setting used by the wireless communication unit 111B. In the change of the network setting, the data received by the wireless communication unit 111B as an AP can be transmitted to the AP100C, and the data received by the wireless communication unit 111B from the AP100C can be transmitted as an AP.

AP機能の有効化とネットワーク設定変更が完了すると、ステップS1009で、スマートフォン100Bは、カメラ100Aに、BLE通信によって、スマートフォン100Bが構成するAP(無線通信部111BのソフトAP)に接続するためのAP接続情報を送信する。このAP接続情報には、少なくともスマートフォン100Bが構成するAPのSSID、パスワードが含まれる。さらに使用する暗号化方式、無線チャネルや無線通信部111Aで使用するIPアドレス、ネットマスク、ゲートウェイアドレス、DNSアドレス等が含まれてもよい。 When the activation of the AP function and the change of the network setting are completed, in step S1009, the smartphone 100B connects the camera 100A to the AP (soft AP of the wireless communication unit 111B) configured by the smartphone 100B by BLE communication. Send connection information. This AP connection information includes at least the SSID and password of the AP configured by the smartphone 100B. Further, the encryption method to be used, the IP address used by the wireless channel or the wireless communication unit 111A, the netmask, the gateway address, the DNS address and the like may be included.

ステップS1010で、AP接続情報を受信したカメラ100Aは、AP接続情報に基づいて、スマートフォン100Bが構成するAPと無線LAN接続を確立する。
ステップS1011で、カメラ100Aは、AP100Cを介してクラウドネットワーク100D上のホストに未アップロードの画像データを送信するために、無線LAN通信によって、未アップロードの画像データをスマートフォン100Bに送信する。
In step S1010, the camera 100A that has received the AP connection information establishes a wireless LAN connection with the AP configured by the smartphone 100B based on the AP connection information.
In step S1011, the camera 100A transmits the unuploaded image data to the smartphone 100B by wireless LAN communication in order to transmit the unuploaded image data to the host on the cloud network 100D via the AP100C.

ステップS1012で、スマートフォン100Bは、カメラ100Aから送られてきた画像データを、無線LAN通信によって、AP100Cを介してクラウドネットワーク100D上のホストに送信する。ステップS1008において変更したネットワーク設定に基づいて、スマートフォン100Bが構成するAPを介して接続するネットワークと、AP100Cを介して接続するネットワークとの間でパケット交換ができるようになる。こうして、カメラ100Aは、無線通信部111B、AP100Cを介してクラウドネットワーク100D上のホストと通信することができる。 In step S1012, the smartphone 100B transmits the image data sent from the camera 100A to the host on the cloud network 100D via the AP100C by wireless LAN communication. Based on the network settings changed in step S1008, packets can be exchanged between the network connected via the AP configured by the smartphone 100B and the network connected via the AP 100C. In this way, the camera 100A can communicate with the host on the cloud network 100D via the wireless communication unit 111B and AP100C.

画像データの送信が完了すると、ステップS1013で、カメラ100Aとスマートフォン100Bとの無線LAN接続を切断する。
無線LAN接続を切断すると、ステップS1014で、カメラ100Aは、スタンバイ状態に移行する。
無線LAN接続を切断すると、ステップS1015で、スマートフォン100Bは、ステップS1007及びステップS1008において有効化したAP機能を無効化し、ネットワーク設定を削除し、次回以降の接続で利用できるようにしておく。
なお、カメラ100Aからの画像データの送信が完了して、カメラ100Aとスマートフォン100Bとの無線LAN接続を切断する前に、カメラ100Aが、BLE通信又は無線LAN通信によって、スマートフォン100Bに対して、スマートフォン100Bが構成するAPを無効化するよう指示してもよい。
When the transmission of the image data is completed, in step S1013, the wireless LAN connection between the camera 100A and the smartphone 100B is disconnected.
When the wireless LAN connection is disconnected, the camera 100A shifts to the standby state in step S1014.
When the wireless LAN connection is disconnected, in step S1015, the smartphone 100B disables the AP function enabled in step S1007 and step S1008, deletes the network setting, and makes it available for the next and subsequent connections.
Before the transmission of the image data from the camera 100A is completed and the wireless LAN connection between the camera 100A and the smartphone 100B is disconnected, the camera 100A sends the smartphone to the smartphone 100B by BLE communication or wireless LAN communication. You may instruct to invalidate the AP configured by 100B.

<カメラ100Aの動作>
図8は、図10に示す処理を実行する際のカメラ100Aの動作を示すフローチャートである。このフローチャートに係る処理は、制御部101A及び副制御部120Aの制御下で行われる。
図8のフローチャートに係る処理は、操作部105Aにおけるタッチパネル操作によって、スマートフォン100Bからの無線LAN接続通知の待ち受け開始指示を受け付けると開始される。待ち受け中において、カメラ100Aはスタンバイ状態となるものとする。
<Operation of camera 100A>
FIG. 8 is a flowchart showing the operation of the camera 100A when executing the process shown in FIG. The processing related to this flowchart is performed under the control of the control unit 101A and the sub control unit 120A.
The process according to the flowchart of FIG. 8 is started when the standby start instruction of the wireless LAN connection notification from the smartphone 100B is received by the touch panel operation in the operation unit 105A. It is assumed that the camera 100A is in the standby state during the standby state.

ステップS801で、副制御部120Aは、内蔵の不揮発性メモリにペアリング済みBLEデバイスのセントラルIDが一つ以上保存されているか否かを判定する。副制御部120Aは、セントラルIDが存在しないと判定すると、本処理を終了する。一方、副制御部120Aは、セントラルIDが存在すると判定すると、処理をステップS802に進める。 In step S801, the sub-control unit 120A determines whether or not one or more central IDs of the paired BLE devices are stored in the built-in non-volatile memory. When the sub-control unit 120A determines that the central ID does not exist, the sub-control unit 120A ends this process. On the other hand, if the sub-control unit 120A determines that the central ID exists, the process proceeds to step S802.

ステップS802で、副制御部120Aは、省電力無線通信部112Aによって、ペアリングを開始するためのペアリング情報をアドバタイズする。例えば副制御部120Aは、BLEのGATTプロファイルによってペアリングを行うためのAP代行サービスのアドバタイズを行う。AP代行サービスには、初期設定を求める接続対象のデバイスであるセントラルを一意に特定するためのID情報を書き込むためのセントラルID特性と、初期設定の進行状況を示すStatus特性とが含まれている。 In step S802, the sub-control unit 120A advertises the pairing information for starting pairing by the power-saving wireless communication unit 112A. For example, the sub-control unit 120A advertises the AP agency service for pairing according to the GATT profile of BLE. The AP agency service includes a central ID characteristic for writing ID information for uniquely identifying the central device to be connected for initial setting, and a Status characteristic for indicating the progress of the initial setting. ..

図2のステップS202においては、セントラルID特性にはNULL値が設定され、Status特性には文字列”Initializing”が設定された状態でアドバタイズが行われる。このBLEによるアドバタイズは、明示的に停止の指示があるまでは、省電力無線通信部112Aによって繰り返し行われる。また、AP代行サービスには、セントラルの無線LAN接続状態を書き込む無線LAN状態特性、セントラルがAPとなった場合のSSIDを書き込むSSID特性、前記APに接続するためのパスワードを書き込むパスワード特性、前記AP接続時に使用するIPアドレス等を書き込むネットワーク特性、ペリフェラルの無線LAN接続要求状態を保持する接続要求特性が含まれている。 In step S202 of FIG. 2, advertisement is performed with a NULL value set for the central ID characteristic and a character string "Initializing" set for the Status characteristic. This advertisement by BLE is repeatedly performed by the power saving wireless communication unit 112A until explicitly instructed to stop. Further, the AP agency service includes a wireless LAN state characteristic for writing the central wireless LAN connection state, an SSID characteristic for writing the SSID when the central becomes an AP, a password characteristic for writing a password for connecting to the AP, and the AP. It includes a network characteristic for writing an IP address and the like used at the time of connection, and a connection request characteristic for holding a peripheral wireless LAN connection request state.

ステップS803で、副制御部120Aは、省電力無線通信部112Aに対して、AP代行サービスの無線LAN状態特性に対する書き込み要求があるまで待つ。書き込み要求を受信すると、副制御部120Aは、処理をステップS804に進める。なお、ステップS803において受信する書き込み要求は、図9のステップS907において送信される書き込み要求に対応する。ステップS803の処理は、図10のステップS1004の処理に相当する。 In step S803, the sub-control unit 120A waits for the power-saving wireless communication unit 112A until there is a write request for the wireless LAN state characteristic of the AP agency service. Upon receiving the write request, the sub-control unit 120A advances the process to step S804. The write request received in step S803 corresponds to the write request transmitted in step S907 of FIG. The process of step S803 corresponds to the process of step S1004 of FIG.

ステップS804で、副制御部120Aは、ステップS803において受信した書き込み要求がペアリング済みのBLEデバイスから送信されたものか否かを判定する。ここでは、副制御部120Aは、書き込み要求を行ったセントラルのセントラルIDが、副制御部120Aに内蔵の不揮発性メモリに保存されているか否か、すなわち図2で説明したペアリング設定によって設定されたセントラルであるか否かを判定する。副制御部120Aは、ペアリング済みのBLEデバイスからの書き込み要求であると判定すると、AP代行サービスの無線LAN状態特性の値を内蔵の不揮発性メモリに保存した後、処理をステップS805に進める。一方、副制御部120Aは、ペアリング済みでないBLEデバイスからの書き込み要求であると判定すると、処理をステップS803に戻す。 In step S804, the sub-control unit 120A determines whether or not the write request received in step S803 is transmitted from the paired BLE device. Here, the sub-control unit 120A is set by whether or not the central ID of the central that has made the write request is stored in the non-volatile memory built in the sub-control unit 120A, that is, by the pairing setting described with reference to FIG. Determine if it is central. When the sub-control unit 120A determines that the write request is from the paired BLE device, the sub-control unit 120A saves the value of the wireless LAN state characteristic of the AP agency service in the built-in non-volatile memory, and then proceeds to the process in step S805. On the other hand, when the sub-control unit 120A determines that the write request is from a BLE device that has not been paired, the process returns to step S803.

ステップS805で、副制御部120Aは、電源管理部107Aを介してカメラ100Aを電源ON状態に移行させる。これにより、無線通信部111Aが起動し、APに対する接続を開始することが可能となる。ステップS805の処理は、図10のステップS1005の処理に相当する。 In step S805, the sub-control unit 120A shifts the camera 100A to the power ON state via the power management unit 107A. As a result, the wireless communication unit 111A can be activated and the connection to the AP can be started. The process of step S805 corresponds to the process of step S1005 of FIG.

ステップS806で、制御部101Aは、記録媒体110Aに未アップロードの画像が所定の枚数以上存在するか否かを判定する。制御部101Aは、未アップロード画像が所定の枚数以上存在すると判定すると、処理をステップS807に進める。一方、制御部101Aは、未アップロード画像が所定の枚数未満であると判定すると、処理をステップS809に進める。なお、未アップロードの画像を判定するため、制御部101Aは、撮影によって得られた画像データの拡張情報領域に未アップロードを示すフラグを埋め込んで、アップロードの際に当該フラグをアップロード済みに変更するようにしてもよい。また、所定の枚数は1枚でも、複数枚でもよく、さらには操作部105Aによってユーザが任意の枚数を設定できるようにしてもよい。 In step S806, the control unit 101A determines whether or not there are a predetermined number or more of unuploaded images on the recording medium 110A. When the control unit 101A determines that there are a predetermined number or more of unuploaded images, the process proceeds to step S807. On the other hand, if the control unit 101A determines that the number of unuploaded images is less than the predetermined number, the process proceeds to step S809. In order to determine an unuploaded image, the control unit 101A embeds a flag indicating unuploaded in the extended information area of the image data obtained by shooting, and changes the flag to uploaded at the time of uploading. It may be. Further, the predetermined number of sheets may be one or a plurality of sheets, and the user may be able to set an arbitrary number of sheets by the operation unit 105A.

ステップS807で、制御部101Aは、電源管理部107Aを介してバッテリ残量が所定の量を超えているか否かを判定する。制御部101Aは、バッテリ残量が所定の量を超えていると判定すると、処理をステップS808に進める。一方、制御部101Aは、バッテリ残量が所定の量以下であると判定すると、処理をステップS809に進める。 In step S807, the control unit 101A determines whether or not the remaining battery level exceeds a predetermined amount via the power supply management unit 107A. When the control unit 101A determines that the remaining battery level exceeds a predetermined amount, the control unit 101A proceeds to the process in step S808. On the other hand, if the control unit 101A determines that the remaining battery level is equal to or less than a predetermined amount, the process proceeds to step S809.

ステップS808で、制御部101Aは、AP代行サービスの接続要求特性を1(TRUE)にして、省電力無線通信部112Aによって、無線LAN接続が必要であることをスマートフォン100Bに通知し、処理をステップS810に進める。一方、ステップS809で、制御部101Aは、AP代行サービスの接続要求特性を0(FALSE)にして、省電力無線通信部112Aによって、無線LAN接続が不要であることをスマートフォン100Bに通知し、処理をステップS814に進める。ステップS808、S809の処理は、図10のステップS1006の処理に相当する。 In step S808, the control unit 101A sets the connection request characteristic of the AP agency service to 1 (TRUE), and the power-saving wireless communication unit 112A notifies the smartphone 100B that a wireless LAN connection is required, and steps the process. Proceed to S810. On the other hand, in step S809, the control unit 101A sets the connection request characteristic of the AP agency service to 0 (FALSE), and the power-saving wireless communication unit 112A notifies the smartphone 100B that the wireless LAN connection is unnecessary and processes it. To step S814. The processing of steps S808 and S809 corresponds to the processing of step S1006 of FIG.

ステップS810で、制御部101Aは、省電力無線通信部112Aに対してAP代行サービスのSSID特性、パスワード特性、ネットワーク特性に対する書き込み要求を待つ。制御部101Aは、書き込み要求があると、処理をステップS811に進める。ステップS810の処理は、図10のステップS1009の処理に相当する。なお、書き込み要求がなかった場合、制御部101Aは、電源管理部107Aを介してカメラ100Aをスタンバイ状態に移行させるようにしてもよい。 In step S810, the control unit 101A waits for the power saving wireless communication unit 112A to make a write request for the SSID characteristic, password characteristic, and network characteristic of the AP agency service. When the control unit 101A receives a write request, the control unit 101A advances the process to step S811. The process of step S810 corresponds to the process of step S1009 of FIG. If there is no write request, the control unit 101A may shift the camera 100A to the standby state via the power management unit 107A.

ステップS811で、制御部101Aは、書き込まれたSSID特性、パスワード特性の値に基づいて、スマートフォン100Bが構成するAPと無線LAN接続を確立する。また、制御部101Aは、書き込まれたネットワーク特性の値を用いてIPアドレスやゲートウェイ等のネットワーク設定を行う。ステップS811の処理は、図10のステップS1010の処理に相当する。
ステップS812で、制御部101Aは、AP100Cを介してクラウドネットワーク100D上のホストに未アップロードの画像データを送信するために、無線通信部111Aによって、未アップロードの画像データをスマートフォン100Bに送信する。ステップS812の処理は、図10のステップS1011の処理に相当する。制御部101Aは、未アップロードの画像データを全て送信すると、処理をステップS813に進める。
ステップS813で、制御部101Aは、スマートフォン100Bが構成するAPとの無線LAN接続を切断する。ステップS813の処理は、図10のステップS1013の処理に相当する。
In step S811, the control unit 101A establishes a wireless LAN connection with the AP configured by the smartphone 100B based on the written SSID characteristic and password characteristic values. Further, the control unit 101A sets the network such as the IP address and the gateway by using the written network characteristic value. The process of step S811 corresponds to the process of step S1010 of FIG.
In step S812, the control unit 101A transmits the unuploaded image data to the smartphone 100B by the wireless communication unit 111A in order to transmit the unuploaded image data to the host on the cloud network 100D via the AP100C. The process of step S812 corresponds to the process of step S1011 of FIG. When the control unit 101A transmits all the unuploaded image data, the process proceeds to step S813.
In step S813, the control unit 101A disconnects the wireless LAN connection with the AP configured by the smartphone 100B. The process of step S813 corresponds to the process of step S1013 of FIG.

ステップS814で、制御部101Aは、ステップS802において開始したBLEのアドバタイズを停止する。
ステップS815で、制御部101Aは、電源管理部107Aを介して電源をOFFしてカメラ100Aをスタンバイ状態に移行させる。ステップS815の処理は、図10のステップS1014の処理に相当する。なお、未アップロードの画像が所定の枚数以上存在しないか又はバッテリ残量が所定の残量以下である場合、制御部101Aはカメラ100Aを電源OFF状態としてもよい。
In step S814, the control unit 101A stops the advertisement of BLE started in step S802.
In step S815, the control unit 101A turns off the power supply via the power supply management unit 107A to shift the camera 100A to the standby state. The process of step S815 corresponds to the process of step S1014 of FIG. If there are no more than a predetermined number of unuploaded images or the remaining amount of the battery is less than or equal to the predetermined amount, the control unit 101A may turn off the power of the camera 100A.

以上のように、カメラ100Aにおいて、副制御部120Aは、スマートフォン100BとAP100Cとの無線LAN接続の確立に応じて送信される無線LAN接続通知を省電力無線通信部112Aによって受信した場合、無線通信部111Aを起動する。そして、制御部101Aは、AP100Cを介してホストと通信するために、無線通信部111Aによって、スマートフォン100Bが構成するAPに無線LAN接続するよう制御する。 As described above, in the camera 100A, when the sub-control unit 120A receives the wireless LAN connection notification transmitted in response to the establishment of the wireless LAN connection between the smartphone 100B and the AP100C by the power-saving wireless communication unit 112A, the wireless communication is performed. Start unit 111A. Then, the control unit 101A controls the wireless communication unit 111A to connect to the AP configured by the smartphone 100B via a wireless LAN in order to communicate with the host via the AP 100C.

<スマートフォン100Bの動作>
図9は、図10に示す処理を実行する際のスマートフォン100Bの動作を示すフローチャートである。このフローチャートに係る処理は、制御部101Bの制御下で行われる。
図9のフローチャートに係る処理は、操作部105Bからビーコンパケットの照合を開始するための操作を受け付けると開始される。例えばユーザによるメニュー操作に応じて、スマートフォン100Bに搭載されたOS(Operating System)に対してBLEの機能及び無線LANの機能が有効に設定され、フローチャートに係る処理を行うアプリケーションプログラムが起動する。これにより、スマートフォン100Bは、APから送信されるビーコンパケットの受信を待つ状態となって、図9のフローチャートに係る処理を開始する。なお、接続希望するAPのSSIDは、予めユーザが操作部105Bによってスマートフォン100Bに入力し、不揮発性メモリ103Bに保存されているものとする。
<Operation of smartphone 100B>
FIG. 9 is a flowchart showing the operation of the smartphone 100B when executing the process shown in FIG. The processing related to this flowchart is performed under the control of the control unit 101B.
The process according to the flowchart of FIG. 9 is started when an operation for starting beacon packet collation is received from the operation unit 105B. For example, in response to a menu operation by the user, the BLE function and the wireless LAN function are effectively set for the OS (Operating System) mounted on the smartphone 100B, and an application program that performs processing related to the flowchart is started. As a result, the smartphone 100B is in a state of waiting for the reception of the beacon packet transmitted from the AP, and starts the process according to the flowchart of FIG. It is assumed that the SSID of the AP to be connected is input to the smartphone 100B by the operation unit 105B in advance by the user and stored in the non-volatile memory 103B.

ステップS901で、制御部101Bは、不揮発性メモリ103Bにペアリング済みBLEデバイスのペリフェラルIDが一つ以上保存されているか否かを判定する。制御部101Bは、ペリフェラルIDが存在しないと判定すると、処理をステップS917に進める。一方、制御部101Bは、ペリフェラルIDが存在すると判定すると、処理をステップS902に進める。
ステップS902で、制御部101Bは、受信したビーコンパケットに含まれるSSIDが、不揮発性メモリ103Bに保存されたSSIDと一致するか否かを判定する。制御部101Bは、SSIDが一致すると判定すると、処理をステップS903に進める。一方、制御部101Bは、SSIDが一致しないと判定すると、処理をステップS917に進める。ステップS902の処理は、図10のステップS1001の処理に相当する。
In step S901, the control unit 101B determines whether or not one or more peripheral IDs of the paired BLE devices are stored in the non-volatile memory 103B. If the control unit 101B determines that the peripheral ID does not exist, the process proceeds to step S917. On the other hand, if the control unit 101B determines that the peripheral ID exists, the process proceeds to step S902.
In step S902, the control unit 101B determines whether or not the SSID included in the received beacon packet matches the SSID stored in the non-volatile memory 103B. When the control unit 101B determines that the SSIDs match, the control unit 101B proceeds to the process in step S903. On the other hand, if the control unit 101B determines that the SSIDs do not match, the process proceeds to step S917. The process of step S902 corresponds to the process of step S1001 of FIG.

ステップS903で、制御部101Bは、ステップS902において受信したSSIDと不揮発性メモリ103Bに保存されたSSIDとパスワードに基づいて、APと無線LAN接続を確立する。本実施形態では、スマートフォン100BがAP100Cと無線LAN接続を確立するものとして説明する。なお、パスワードが不揮発性メモリ103Bに保存されていない場合、本ステップにおいてユーザ操作によりパスワードを入力又は設定できるようにしてもよい。ステップS903の処理は、図10のステップS1002の処理に相当する。
ステップS904で、制御部101Bは、AP100Cを介してインターネット上のホストと通信可能であるか否かを判定する。例えば特定のインターネット上のホスト(図10のステップS1011、S1012におけるアップロード先)と通信可能か否かによって判定する。制御部101Bは、通信可能であると判定すると、処理をステップS905に進め、通信不可能であると判定すると、処理をステップS917に進める。ステップS904の処理は、図10のステップS1003の処理に相当する。
In step S903, the control unit 101B establishes a wireless LAN connection with the AP based on the SSID received in step S902 and the SSID and password stored in the non-volatile memory 103B. In the present embodiment, the smartphone 100B will be described as establishing a wireless LAN connection with the AP100C. If the password is not stored in the non-volatile memory 103B, the password may be input or set by the user operation in this step. The process of step S903 corresponds to the process of step S1002 of FIG.
In step S904, the control unit 101B determines whether or not it is possible to communicate with the host on the Internet via the AP100C. For example, it is determined whether or not it is possible to communicate with a host on a specific Internet (upload destination in steps S1011 and S1012 of FIG. 10). If the control unit 101B determines that communication is possible, the process proceeds to step S905, and if it determines that communication is not possible, the control unit 101B proceeds to step S917. The process of step S904 corresponds to the process of step S1003 of FIG.

ステップS905で、制御部101Bは、省電力無線通信部112Bによって、ペリフェラルからアドバタイズを受信するまで待つ。制御部101Bは、アドバタイズを受信したと判定すると、処理をステップS906に進める。
ステップS906で、制御部101Bは、ステップS905において受信したアドバタイズがAP代行サービスを含むか否かを判定する。制御部101Bは、アドバタイズがAP代行サービスを含まないと判定すると、処理をステップS905に戻す。一方、制御部101Bは、アドバタイズがAP代行サービスを含むと判定すると、処理をステップS907に進める。ここで受信するAP代行サービスのアドバタイズは、図8のステップS802の処理においてカメラ100Aから送信されたアドバタイズに対応する。
In step S905, the control unit 101B waits until the advertisement is received from the peripheral by the power saving wireless communication unit 112B. When the control unit 101B determines that the advertisement has been received, the process proceeds to step S906.
In step S906, the control unit 101B determines whether or not the advertisement received in step S905 includes the AP agency service. If the control unit 101B determines that the advertisement does not include the AP agency service, the process returns to step S905. On the other hand, if the control unit 101B determines that the advertisement includes the AP agency service, the process proceeds to step S907. The advertisement of the AP agency service received here corresponds to the advertisement transmitted from the camera 100A in the process of step S802 of FIG.

ステップS907で、制御部101Bは、省電力無線通信部112Bによって、AP100Cと無線LAN接続が確立したことをカメラ100Aに通知する。例えば制御部101Bは、BLEのGATTプロファイルによって無線LAN接続状態通知を行うためのAP代行サービスの書き込み処理を行う。AP代行サービスには、ステップS902の処理でビーコンパケットを受信したAP100Cとの接続状態を表す無線LAN接続状態特性が含まれている。なお、ステップS907の処理によって送信される無線LAN接続通知は、図8のステップS803において受信される無線LAN接続通知に対応する。ステップS907の処理は、図10のステップS1004の処理に相当する。 In step S907, the control unit 101B notifies the camera 100A that the wireless LAN connection with the AP100C has been established by the power saving wireless communication unit 112B. For example, the control unit 101B performs a writing process of the AP agency service for notifying the wireless LAN connection status by the GATT profile of BLE. The AP agency service includes a wireless LAN connection state characteristic indicating a connection state with the AP100C that received the beacon packet in the process of step S902. The wireless LAN connection notification transmitted by the process of step S907 corresponds to the wireless LAN connection notification received in step S803 of FIG. The process of step S907 corresponds to the process of step S1004 of FIG.

ステップS908で、制御部101Bは、省電力無線通信部112Bに対して、カメラ100Aが無線LAN接続を要求しているか否かを判定する。例えば制御部101Bは、BLEのGATTプロファイルによって無線LAN接続要求の有無を取得するためのAP代行サービスの読み取り処理を行う。AP代行サービスには、カメラ100Aが無線LAN接続を要求するか否かを表す接続要求特性が含まれている。なお、ステップS908で判定される無線LAN接続応答は、図8のステップS808又はステップS809での無線LAN接続応答に相当する。制御部101Bは、無線LAN接続応答があると判定すると、処理をステップS909に進め、無線LAN接続要求がないと判定すると、処理をステップS917に進める。ステップS908の処理は、図10のステップS1006の処理に相当する。 In step S908, the control unit 101B determines whether or not the camera 100A requests the wireless LAN connection from the power saving wireless communication unit 112B. For example, the control unit 101B performs a reading process of the AP agency service for acquiring the presence / absence of a wireless LAN connection request according to the GATT profile of BLE. The AP agency service includes a connection request characteristic indicating whether or not the camera 100A requests a wireless LAN connection. The wireless LAN connection response determined in step S908 corresponds to the wireless LAN connection response in step S808 or step S809 of FIG. If the control unit 101B determines that there is a wireless LAN connection response, the process proceeds to step S909, and if it determines that there is no wireless LAN connection request, the control unit 101B proceeds to the process in step S917. The process of step S908 corresponds to the process of step S1006 of FIG.

ステップS909で、制御部101Bは、無線通信部111Bの設定を変更し、無線通信部111Bが無線LAN通信のAPとしても振る舞うようにソフトAP機能を有効にする。このとき、制御部101Bは、当該AP機能で利用するSSIDとパスワードをランダムに生成する。ソフトAP機能が有効になると、無線通信部111Bは、AP100Cと同様に、例えばSSID及び通信レート設定を付加したビーコンパケットを無線LANでブロードキャストを開始する。ステップS909の処理は、図10のステップS1007の処理に相当する。
ステップS910で、制御部101Bは、無線通信部111Bで用いるネットワーク設定を変更する。具体的には、スマートフォン100Bが構成するAPのIPアドレス及びネットワークアドレスを決定する。そして、そのネットワークアドレスとAP100Cに対するネットワークが相互に通信可能なようにルーティングテーブルを更新する。ここで使用するIPアドレスは、AP100Cに対するネットワークで使用しているIPアドレスと重複しないプライベートアドレスから選択するものとする。ステップS910の処理は、図10のステップS1008の処理に相当する。
In step S909, the control unit 101B changes the setting of the wireless communication unit 111B, and enables the soft AP function so that the wireless communication unit 111B also acts as an AP for wireless LAN communication. At this time, the control unit 101B randomly generates the SSID and password used in the AP function. When the soft AP function is enabled, the wireless communication unit 111B starts broadcasting a beacon packet with, for example, an SSID and a communication rate setting on the wireless LAN, similarly to the AP100C. The process of step S909 corresponds to the process of step S1007 of FIG.
In step S910, the control unit 101B changes the network settings used by the wireless communication unit 111B. Specifically, the IP address and network address of the AP configured by the smartphone 100B are determined. Then, the routing table is updated so that the network address and the network for AP100C can communicate with each other. The IP address used here shall be selected from private addresses that do not overlap with the IP address used in the network for the AP100C. The process of step S910 corresponds to the process of step S1008 of FIG.

ステップS911で、制御部101Bは、省電力無線通信部112Bによって、スマートフォン100Bが構成するAPに接続するためのAP接続情報をカメラ100Aに通知する。例えば制御部101Bは、BLEのGATTプロファイルによってソフトAPと接続するためのAP代行サービスの書き込み処理を行う。AP代行サービスには、ステップS909において生成したSSIDとパスワードを表すSSID特性とパスワード特性、ステップS910において設定したネットワーク設定下で動作するためのネットワーク特性が含まれている。ネットワーク特性には、無線通信部111Aで使用するためのIPアドレス、ネットマスク、ゲートウェイアドレス、DNSアドレス等が含まれている。SSID特性については、その値の書き込みに当たって、BLEにおけるペアリングと呼ばれるデバイス間の認証処理が必要なように設定されている。なお、ステップS911の処理によって送信されるAP接続情報は、図8のステップS810において受信されるAP接続情報に対応する。ステップS911の処理は、図10のステップS1009の処理に相当する。 In step S911, the control unit 101B notifies the camera 100A of the AP connection information for connecting to the AP configured by the smartphone 100B by the power saving wireless communication unit 112B. For example, the control unit 101B performs a writing process of the AP agency service for connecting to the soft AP according to the GATT profile of BLE. The AP agency service includes SSID characteristics and password characteristics representing the SSID and password generated in step S909, and network characteristics for operating under the network settings set in step S910. The network characteristics include an IP address, a netmask, a gateway address, a DNS address, and the like for use by the wireless communication unit 111A. The SSID characteristic is set so that an authentication process between devices called pairing in BLE is required when writing the value. The AP connection information transmitted by the process of step S911 corresponds to the AP connection information received in step S810 of FIG. The process of step S911 corresponds to the process of step S1009 of FIG.

ステップS912で、制御部101Bは、スマートフォン100Bが構成するAPに対する接続が行われるのを待つ。この接続は、ステップS911において通知したSSIDとパスワードに基づいて接続があった場合に成立する。なお、ステップS912の処理よって受信されるSSIDとパスワードは、図8のステップS811で送信されるSSIDとパスワードに対応する。ステップS912の処理は、図10のステップS1010に相当する。
ステップS913で、制御部101Bは、無線通信部111Bによってデータを受信するのを待つ。ここで受信するデータは、カメラ100Aが送信するデータと、AP100Cが送信するデータとの2種類が存在する。制御部101Bは、いずれかデータを受信したと判定すると、処理をステップS914に進める。ステップ913において受信するデータの一つの例が、図8のステップS812でカメラ100Aが送信する画像データである。
In step S912, the control unit 101B waits for the connection to the AP configured by the smartphone 100B to be made. This connection is established when there is a connection based on the SSID and password notified in step S911. The SSID and password received by the process of step S912 correspond to the SSID and password transmitted in step S811 of FIG. The process of step S912 corresponds to step S1010 of FIG.
In step S913, the control unit 101B waits for the data to be received by the wireless communication unit 111B. There are two types of data received here: data transmitted by the camera 100A and data transmitted by the AP100C. When the control unit 101B determines that any of the data has been received, the control unit 101B proceeds to the process in step S914. One example of the data received in step 913 is the image data transmitted by the camera 100A in step S812 of FIG.

ステップS914で、制御部101Bは、ステップS913において受信したデータを、ステップS910において変更したネットワーク設定に基づいて処理する。具体的には、受信したデータの送信先が無線通信部111B自身のアドレスか否かを判定し、異なる場合、当該データをAP100Cに転送する(ルーティング(経路制御)処理)。例えばカメラ100Aが、ある画像データをクラウドネットワーク100D上のあるホストに対して送信した場合、そのデータはスマートフォン100Bを介してAP100Cに到達し、さらにAP100Cによりインターネットに出力される。その後、インターネット上の図示しない各種ルータの処理により目的のホストに到達する。ステップS913及びS914の処理は、図10におけるステップS1012に相当する。 In step S914, the control unit 101B processes the data received in step S913 based on the network settings changed in step S910. Specifically, it is determined whether or not the transmission destination of the received data is the address of the wireless communication unit 111B itself, and if it is different, the data is transferred to the AP100C (routing (routing (routing control) processing). For example, when the camera 100A transmits a certain image data to a certain host on the cloud network 100D, the data reaches the AP100C via the smartphone 100B and is further output to the Internet by the AP100C. After that, the target host is reached by processing various routers (not shown) on the Internet. The processing of steps S913 and S914 corresponds to step S1012 in FIG.

ステップS915で、制御部101Bは、無線通信部111Bと、カメラ100Aの無線通信部111Aとの無線LAN接続が切断されたか否かを判定する。この切断は、カメラ100Aが未アップロードの画像データを全て送信した場合や、カメラ100Aとスマートフォン100Bの物理的距離が離れた場合等に発生する。図8のステップS813は、カメラ100Aがアップロードの画像データを全て送信した場合の、カメラ100Aによる切断要求処理である。ステップS915の処理は、図10のステップS1013に相当する。
ステップS916で、制御部101Bは、ステップS909において有効にしたソフトAP機能を無効にし、ステップS910において変更したネットワーク設定を元に戻す。また、制御部101Bは、ステップS903において接続したAP100Cとの無線LAN接続を切断する。これらの処理により、無線通信部111Bの状態を本フローチャートの開始の状態に戻すことができる。ステップS916の処理は、図10のステップS1015に相当する。
In step S915, the control unit 101B determines whether or not the wireless LAN connection between the wireless communication unit 111B and the wireless communication unit 111A of the camera 100A has been disconnected. This disconnection occurs when the camera 100A transmits all the unuploaded image data, or when the physical distance between the camera 100A and the smartphone 100B is large. Step S813 of FIG. 8 is a disconnection request process by the camera 100A when the camera 100A transmits all the uploaded image data. The process of step S915 corresponds to step S1013 of FIG.
In step S916, the control unit 101B invalidates the soft AP function enabled in step S909, and restores the network settings changed in step S910. Further, the control unit 101B disconnects the wireless LAN connection with the AP100C connected in step S903. By these processes, the state of the wireless communication unit 111B can be returned to the start state of this flowchart. The process of step S916 corresponds to step S1015 of FIG.

ステップS917で、制御部101Bは、ユーザによって操作部105Bから処理終了指示を受けたか否かを判定する。制御部101Bは、処理終了指示を受けたと判定すると、本処理を終了する。一方、制御部101Bは、処理終了指示を受けていない判定すると、処理をステップS901に戻す。 In step S917, the control unit 101B determines whether or not the processing end instruction has been received from the operation unit 105B by the user. When the control unit 101B determines that the process end instruction has been received, the control unit 101B ends the process. On the other hand, if the control unit 101B determines that the process end instruction has not been received, the process returns to step S901.

以上のように、スマートフォン100Bにおいて、制御部101Bは、無線通信部111BによるAP100Cとの無線LAN接続が確立したことに応じて、省電力無線通信部112Bによって、無線LAN接続通知をカメラ100Aに送信するよう制御する。制御部101Bは、無線通信部111Bを用いてAPを構成し、AP100Cを介して接続するネットワークと、スマートフォン100Bが構成するAPを介して接続するネットワークとの間での通信を制御する。 As described above, in the smartphone 100B, the control unit 101B transmits the wireless LAN connection notification to the camera 100A by the power saving wireless communication unit 112B in response to the establishment of the wireless LAN connection with the AP100C by the wireless communication unit 111B. Control to do. The control unit 101B configures an AP by using the wireless communication unit 111B, and controls communication between a network connected via the AP 100C and a network connected via the AP configured by the smartphone 100B.

以上述べたように、スマートフォン100Bは、AP100Cとの無線LAN接続が確立したことに応じて、BLE通信によって、無線LAN接続通知をカメラ100Aに送信する。スタンバイ状態にあるカメラ100Aは、BLE通信によって、スマートフォン100Bからの無線LAN接続通知を受信すると、電源ON状態に移行する。そして、カメラ100Aにおいて無線LAN接続が必要であれば、カメラ100Aはスマートフォン100Bが構成するAPとの無線LAN接続を確立して、AP100Cを介して外部機器と通信する。これにより、カメラ100Aにおいて常時アクセスポイントを探索する必要がなく消費電力の増大を避けるとともに、カメラ100Aにおけるユーザ操作の手間を省いて、カメラ100AがAP100Cを介してホストと通信することができる。 As described above, the smartphone 100B transmits the wireless LAN connection notification to the camera 100A by BLE communication in response to the establishment of the wireless LAN connection with the AP100C. When the camera 100A in the standby state receives the wireless LAN connection notification from the smartphone 100B by BLE communication, the camera 100A shifts to the power ON state. Then, if the camera 100A requires a wireless LAN connection, the camera 100A establishes a wireless LAN connection with the AP configured by the smartphone 100B and communicates with an external device via the AP 100C. As a result, it is not necessary to constantly search for an access point in the camera 100A, which avoids an increase in power consumption, and the camera 100A can communicate with the host via the AP100C without the trouble of user operation in the camera 100A.

以上、本発明を実施形態と共に説明したが、上記実施形態は本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。 Although the present invention has been described above with the embodiments, the above-described embodiments are merely examples of embodiment of the present invention, and the technical scope of the present invention is interpreted in a limited manner by these. It must not be. That is, the present invention can be implemented in various forms without departing from the technical idea or its main features.

例えばステップS1004において、ステップS1000で受信するビーコンパケットに予め定められたAPのSSIDが含まれていないことを条件として、スマートフォン100Bがカメラ100Aに無線LAN接続通知を送信するようにしてもよい。予め定められたAPのSSIDとしては、例えば自宅で普段使用するAPのSSIDが該当する。
AP100Cが、自宅等で普段使用するAPであるとする。カメラ100Aによって撮影を行って帰宅したとき、このカメラ100Aをバッグ等から取り出して電源をONしてメニューを表示し、AP100Cに接続して、撮影した画像データをネットワーク上のホストにアップロードするのが一般的である。この場合は、カメラ100AからAP100Cに直接接続してホストと通信すればよく、本実施形態で説明したようにスマートフォン100Bを介する必要性は少ない。そこで、スマートフォン100Bと、普段使用するAPとの無線LAN接続が確立したときには、カメラ100Aに無線LAN接続通知を送信しないようにする。
それに対して、AP100Cが、自宅等で普段使用するものとは別のAPであるとする。例えば外出先でスマートフォン100BがAP100Cに接続したときに、本実施形態で説明したようにカメラ100Aがスマートフォン100Bを介してホストと通信できるようにすれば、外出先でも画像データをアップロードでき、利便性を向上させることができる。そこで、スマートフォン100Bと、普段使用するものとは別のAPとの無線LAN接続が確立したときに、カメラ100Aに無線LAN接続通知を送信するようにする。
For example, in step S1004, the smartphone 100B may transmit the wireless LAN connection notification to the camera 100A on the condition that the beacon packet received in step S1000 does not include the SSID of the predetermined AP. As the SSID of the predetermined AP, for example, the SSID of the AP that is usually used at home corresponds to it.
It is assumed that AP100C is an AP that is usually used at home or the like. When you take a picture with the camera 100A and go home, take out the camera 100A from the bag etc., turn on the power to display the menu, connect to the AP100C, and upload the taken image data to the host on the network. It is common. In this case, the camera 100A may be directly connected to the AP100C to communicate with the host, and there is little need to go through the smartphone 100B as described in the present embodiment. Therefore, when the wireless LAN connection between the smartphone 100B and the AP that is normally used is established, the wireless LAN connection notification is not transmitted to the camera 100A.
On the other hand, it is assumed that the AP100C is a different AP from the one normally used at home or the like. For example, when the smartphone 100B is connected to the AP100C on the go, if the camera 100A can communicate with the host via the smartphone 100B as described in this embodiment, the image data can be uploaded even on the go, which is convenient. Can be improved. Therefore, when a wireless LAN connection between the smartphone 100B and an AP different from the one normally used is established, the wireless LAN connection notification is transmitted to the camera 100A.

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

100A:デジタルカメラ、101A:制御部、201A:撮像部、103A:不揮発性メモリ、104A:作業用メモリ、107A:電源管理部、111A:無線通信部、112A:省電力無線通信部、120A:副制御部、100B:スマートフォン、101B:制御部、103B:不揮発性メモリ、104B:作業用メモリ、111B:無線通信部、112B:省電力無線通信部、100C:アクセスポイント 100A: Digital camera, 101A: Control unit, 201A: Imaging unit, 103A: Non-volatile memory, 104A: Work memory, 107A: Power management unit, 111A: Wireless communication unit, 112A: Power saving wireless communication unit, 120A: Sub Control unit, 100B: Smartphone, 101B: Control unit, 103B: Non-volatile memory, 104B: Work memory, 111B: Wireless communication unit, 112B: Power-saving wireless communication unit, 100C: Access point

Claims (12)

第1の通信プロトコルによってアクセスポイントと通信する第1の通信手段と、
前記第1の通信手段による通信よりも消費電力が低く、第2の通信プロトコルによって他の通信装置と通信する第2の通信手段と、
前記第1の通信手段による第1のアクセスポイントとの接続が確立したことに応じて、前記第2の通信手段によって、接続通知を前記他の通信装置に送信するよう制御する制御手段と、
前記第1の通信手段を用いて第2のアクセスポイントを構成する手段と、
前記第1のアクセスポイントを介して接続するネットワークと、前記第2のアクセスポイントを介して接続するネットワークとの間での通信を制御する経路制御手段とを備え
前記制御手段は、前記第1のアクセスポイントから送信されるビーコンパケットに予め定められた情報が含まれていない場合、前記接続通知を送信することを特徴とする通信装置。
A first means of communication with the access point using the first communication protocol,
A second communication means that consumes less power than the communication by the first communication means and communicates with another communication device by the second communication protocol.
A control means for controlling the connection notification to be transmitted to the other communication device by the second communication means in response to the establishment of the connection with the first access point by the first communication means.
A means for configuring a second access point using the first communication means, and
A route control means for controlling communication between a network connected via the first access point and a network connected via the second access point is provided .
The control means is a communication device that transmits the connection notification when the beacon packet transmitted from the first access point does not contain predetermined information.
前記制御手段は、前記第1の通信手段による前記第1のアクセスポイントとの接続が確立し、所定のURLと通信可能である場合、前記接続通知を送信することを特徴とする請求項に記載の通信装置。 It said control means, said first connection is established between the first access point by the communication means, if it can communicate with a predetermined URL, to claim 1, wherein transmitting the connection notice The communication device described. 前記予め定められた情報は、予め定められたアクセスポイントのSSIDであることを特徴とする請求項1又は2に記載の通信装置。 The communication device according to claim 1 or 2 , wherein the predetermined information is an SSID of a predetermined access point. 前記制御手段は、前記第2の通信手段によって、前記第2のアクセスポイントの接続情報を前記他の通信装置に送信することを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。 The communication according to any one of claims 1 to 3 , wherein the control means transmits the connection information of the second access point to the other communication device by the second communication means. Device. 前記接続情報は、前記第2のアクセスポイントのSSIDを含むことを特徴とする請求項に記載の通信装置。 The communication device according to claim 4 , wherein the connection information includes the SSID of the second access point. 前記接続情報は、前記他の通信装置の前記第1のプロトコルによって通信する通信手段で使用するIPアドレスを含むことを特徴とする請求項4又は5に記載の通信装置。 The communication device according to claim 4 or 5 , wherein the connection information includes an IP address used by a communication means that communicates by the first protocol of the other communication device. 前記制御手段は、前記他の通信装置から前記第2のアクセスポイントに接続するとの応答を前記第2の通信手段によって受信した場合、前記第2の通信手段によって、前記第2のアクセスポイントの接続情報を前記他の通信装置に送信することを特徴とする請求項4乃至6のいずれか1項に記載の通信装置。 When the control means receives a response from the other communication device to connect to the second access point by the second communication means, the second communication means connects the second access point. The communication device according to any one of claims 4 to 6 , wherein information is transmitted to the other communication device. 前記制御手段は、前記他の通信装置と前記第2のアクセスポイントとの接続が切断したことに応じて、前記第2のアクセスポイントを無効化することを特徴とする請求項1乃至7のいずれか1項に記載の通信装置。 The control means any of claims 1 to 7 , wherein the control means invalidates the second access point in response to the disconnection between the other communication device and the second access point. The communication device according to item 1. 前記第1の通信手段は無線LANによる通信を行い、前記第2の通信手段はBluetooth(登録商標)による通信を行うことを特徴とする請求項1乃至8のいずれか1項に記載の通信装置。 The communication device according to any one of claims 1 to 8 , wherein the first communication means communicates by wireless LAN, and the second communication means communicates by Bluetooth (registered trademark). .. 前記通信装置は携帯端末機器であり、前記他の通信装置は撮像装置であることを特徴とする請求項1乃至9のいずれか1項に記載の通信装置。 The communication device according to any one of claims 1 to 9 , wherein the communication device is a mobile terminal device, and the other communication device is an image pickup device. 第1の通信プロトコルによってアクセスポイントと通信する第1の通信手段と、前記第1の通信手段による通信よりも消費電力が低く、第2の通信プロトコルによって他の通信装置と通信する第2の通信手段とを備えた通信装置の制御方法であって、
前記第1の通信手段による第1のアクセスポイントとの接続が確立したことに応じて、前記第2の通信手段によって、接続通知を前記他の通信装置に送信するステップと、
前記第1の通信手段を用いて第2のアクセスポイントを構成するステップと、
前記第1のアクセスポイントを介して接続するネットワークと、前記第2のアクセスポイントを介して接続するネットワークとの間での通信を制御するステップとを有し、
前記接続通知を前記他の通信装置に送信する前記ステップでは、前記第1のアクセスポイントから送信されるビーコンパケットに予め定められた情報が含まれていない場合、前記接続通知を送信することを特徴とする通信装置の制御方法。
A first communication means for communicating with the access point by the first communication protocol and a second communication which consumes less power than the communication by the first communication means and communicates with another communication device by the second communication protocol. It is a control method of a communication device provided with means.
A step of transmitting a connection notification to the other communication device by the second communication means in response to the establishment of the connection with the first access point by the first communication means.
A step of configuring a second access point using the first communication means, and
Possess and controlling the network connected via the first access point, the communication between the network connecting via the second access point,
The step of transmitting the connection notification to the other communication device is characterized in that the connection notification is transmitted when the beacon packet transmitted from the first access point does not contain predetermined information. Control method of the communication device.
コンピュータを、請求項1乃至10のいずれか1項に記載の通信装置の各手段として機能させるためのプログラム。 A program for causing a computer to function as each means of the communication device according to any one of claims 1 to 10.
JP2017094932A 2017-05-11 2017-05-11 Communication equipment, its control method and program Active JP6929697B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017094932A JP6929697B2 (en) 2017-05-11 2017-05-11 Communication equipment, its control method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017094932A JP6929697B2 (en) 2017-05-11 2017-05-11 Communication equipment, its control method and program

Publications (2)

Publication Number Publication Date
JP2018191256A JP2018191256A (en) 2018-11-29
JP6929697B2 true JP6929697B2 (en) 2021-09-01

Family

ID=64479202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017094932A Active JP6929697B2 (en) 2017-05-11 2017-05-11 Communication equipment, its control method and program

Country Status (1)

Country Link
JP (1) JP6929697B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5581597B2 (en) * 2009-02-05 2014-09-03 独立行政法人情報通信研究機構 Portable communication relay device
JP2015180043A (en) * 2014-02-25 2015-10-08 キヤノン株式会社 Communication device, control method therefor and program
JP2015162734A (en) * 2014-02-26 2015-09-07 シャープ株式会社 mobile terminal device
JP2016208175A (en) * 2015-04-20 2016-12-08 富士通株式会社 Communication method, communication system, information processing device and program
JP6532341B2 (en) * 2015-07-28 2019-06-19 キヤノン株式会社 Communication device, control method therefor, and program

Also Published As

Publication number Publication date
JP2018191256A (en) 2018-11-29

Similar Documents

Publication Publication Date Title
US11050891B2 (en) Data processing system executing predetermined data processing by plurality of apparatuses linking
JP6489852B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP5838988B2 (en) Communication program and communication device
JP6004752B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
JP6355424B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
US10257337B2 (en) Communication apparatus connectable with use of close proximity wireless communication, method for controlling communication apparatus, and recording medium
JP6433265B2 (en) Information processing apparatus, electronic device, control method thereof, program, and storage medium
JP2015146561A (en) Network electronic apparatus, control method thereof, and program
JP6869746B2 (en) Communication device, its control method, program
JP6415232B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6399854B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6929697B2 (en) Communication equipment, its control method and program
US20210307109A1 (en) Communication apparatus capable of wirelessly communicating with another apparatus, control method therefor, and storage medium
JP6877999B2 (en) Communication device, control method of communication device, program
JP2016058970A (en) Radio communication equipment, control method for radio communication equipment, and program
JP6386862B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6433231B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6972053B2 (en) Smartphones, their control methods, and programs
JP2015211353A (en) Communication terminal, data transmission system and connection control method therefor
JP6936652B2 (en) Communication device, control method of communication device, and program
JP6821369B2 (en) Communication equipment, its control method, and programs
JP6700951B2 (en) Communication device, control method and program therefor, and communication system
JP2017085518A (en) Communication apparatus, control method for communication apparatus, and program
JP2016034103A (en) Communication apparatus, control method of the same and program
JP2019193069A (en) Communication device, and control method and program therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200424

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210303

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210406

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210513

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210713

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210811

R151 Written notification of patent or utility model registration

Ref document number: 6929697

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151