JP6972053B2 - Smartphones, their control methods, and programs - Google Patents

Smartphones, their control methods, and programs Download PDF

Info

Publication number
JP6972053B2
JP6972053B2 JP2019036136A JP2019036136A JP6972053B2 JP 6972053 B2 JP6972053 B2 JP 6972053B2 JP 2019036136 A JP2019036136 A JP 2019036136A JP 2019036136 A JP2019036136 A JP 2019036136A JP 6972053 B2 JP6972053 B2 JP 6972053B2
Authority
JP
Japan
Prior art keywords
access point
communication means
camera
communication
smartphone
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
JP2019036136A
Other languages
Japanese (ja)
Other versions
JP2019118123A (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
Priority claimed from JP2015018303A external-priority patent/JP6489852B2/en
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2019036136A priority Critical patent/JP6972053B2/en
Publication of JP2019118123A publication Critical patent/JP2019118123A/en
Application granted granted Critical
Publication of JP6972053B2 publication Critical patent/JP6972053B2/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 invention, a smart phone, related to a control method, and a program.

近年、デジタルカメラなどの撮像装置に無線通信機能を搭載し、アクセスポイントを介してネットワークにアクセスすることが行われている。例えば、特許文献1には、アクセスポイントを介してネットワーク上のサーバに画像をアップロードするカメラが開示されている。 In recent years, an image pickup 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 camera that uploads an image to a server on a network via an access point.

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

しかしながら、上述の特許文献1では、アクセスポイントに接続するためにユーザ操作が必要である。すなわち、例えば、沢山の撮影を行って家に帰ってきた時に、カメラをバッグから取り出して電源をONしてメニューを表示し、無線接続するための操作を行わなければならない。このような手間を省くためには、常時アクセスポイントを探索することが考えられるが、そのようにすることは、消費電力の観点から現実的ではない。 However, in the above-mentioned Patent Document 1, a user operation is required to connect to the access point. That is, for example, when a lot of pictures are taken and the user returns home, the camera must be taken out of the bag, the power is turned on, the menu is displayed, and the operation for wireless connection must be performed. In order to save such trouble, it is conceivable to always search for an access point, but doing so is not realistic from the viewpoint of power consumption.

従って、本発明の目的は、無線通信を確立するための手順において、消費電力の低減と、ユーザ操作の手間を省くこととを両立させることである。 Therefore, an object of the present invention is to achieve both reduction of power consumption and saving of user operation in the procedure for establishing wireless communication.

上記の目的を達成するため、本発明によるスマートフォンは、無線LANによって周囲の無線アクセスポイントから送信される信号を受信する第1の通信手段と、前記無線LANと異なるBLEによってカメラペアリングする第2の通信手段と、ユーザから、前記無線アクセスポイントと前記カメラとが前記無線LANによって接続するために用いられるSSIDの入力を受け付けるタッチパネルと、前記タッチパネルにより受け付けられた前記SSIDを予め記録する記録手段と、前記第2の通信手段によって前記カメラとペアリングしている場合、前記第1の通信手段により受信した前記無線アクセスポイントからの信号に含まれる情報と前記記録手段に記録されている前記SSIDとに基づいて、アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信するか又は前記アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信しないよう制御するかを切り替えるよう制御する制御手段と、を有し、前記アクセスポイント検出信号は、検出された前記無線アクセスポイントを特定するための情報を含み、前記制御手段は、前記SSIDが前記記録手段にあらかじめ記録された状態で、所定のアプリケーションを起動することによって自動的に前記無線アクセスポイントの検出を開始するよう制御し、前記アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信する場合、前記アプリケーションに従って前記アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信し、前記第2の通信手段による通信は、前記第1の通信手段による通信よりも消費電力が低いことを特徴とする。
To achieve the above object, a smart phone according to the present invention includes a first communication means for receiving signals transmitted from neighboring radio access point by the wireless LAN, the cameras paired with different BLE and the wireless LAN 2. Communication means, a touch panel that accepts input of an SSID used for connecting the wireless access point and the camera by the wireless LAN from a user, and a recording means that records the SSID received by the touch panel in advance. When paired with the camera by the second communication means, the information included in the signal from the radio access point received by the first communication means and the SSID recorded in the recording means. Based on the above, whether to control whether the access point detection signal is transmitted to the camera via the second communication means or the access point detection signal is not transmitted to the camera via the second communication means. The access point detection signal includes information for identifying the detected wireless access point, and the control means previously records the SSID in the recording means. In the case of controlling to automatically start the detection of the wireless access point by starting a predetermined application in this state, and transmitting the access point detection signal to the camera via the second communication means. The access point detection signal is transmitted to the camera via the second communication means according to the application, and the communication by the second communication means consumes less power than the communication by the first communication means. It is characterized by.

本発明によれば、無線通信を確立するための手順において、消費電力の低減と、ユーザ操作の手間を省くこととを両立することができる。 According to the present invention, in the procedure for establishing wireless communication, it is possible to achieve both reduction of power consumption and saving of user operation.

本発明の第1の実施形態による通信装置が用いられた通信システムの一例を示すブロック図である。It is a block diagram which shows an example of the communication system which used the communication apparatus by 1st Embodiment of this invention. 図1に示すカメラの初期設定動作を説明するためのフローチャートである。It is a flowchart for demonstrating the initial setting operation of the camera shown in FIG. 図1に示すカメラで行われるペアリング設定メニューの選択を説明するための図であり、(a)は設定トップ画面を示す図、(b)は接続設定画面を示す図、(c)はペアリング画面を示す図、(d)はPIN確認画面を示す図、(e)はペアリング完了画面を示す図である。It is a figure for demonstrating the selection of the pairing setting menu performed by the camera shown in FIG. 1, (a) is the figure which shows the setting top screen, (b) is the figure which shows the connection setting screen, (c) is a figure which shows the pair. The figure which shows the ring screen, (d) is the figure which shows the PIN confirmation screen, and (e) is the figure which shows the pairing completion screen. 図1に示すスマートフォンの初期設定動作を説明するためのフローチャートである。It is a flowchart for demonstrating the initial setting operation of the smartphone shown in FIG. 図1に示すスマートフォンで行われるペアリング設定メニューの選択を説明するための図であり、(a)は設定トップ画面を示す図、(b)はペアリング実行中画面を示す図、(c)はPIN入力画面を示す図、(d)はペアリング完了画面を示す図である。It is a figure for demonstrating the selection of the pairing setting menu performed in the smartphone shown in FIG. 1, (a) is the figure which shows the setting top screen, (b) is the figure which shows the pairing execution screen, (c). Is a diagram showing a PIN input screen, and (d) is a diagram showing a pairing completion screen. 図1に示すカメラの電源ボタンをOFFにした際のカメラの状態設定を説明するための図であり、(a)は設定トップ画面を示す図、(b)は接続設定画面を示す図、(c)は起動設定画面を示す図である。It is a figure for demonstrating the state setting of a camera when the power button of the camera shown in FIG. 1 is turned off, (a) is the figure which shows the setting top screen, (b) is the figure which shows the connection setting screen, ( c) is a diagram showing a start setting screen. 図1に示す通信システムにおいて、アクセスポイント検出から画像送信までの処理の流れを説明するためのシーケンス図である。In the communication system shown in FIG. 1, it is a sequence diagram for demonstrating the flow of processing from access point detection to image transmission. 図7に示す画像送信を行う際のカメラの動作を説明するためのフローチャートである。It is a flowchart for demonstrating the operation of the camera at the time of performing the image transmission shown in FIG. 7. 図7に示す画像送信が行われる際のスマートフォンの動作を説明するためのフローチャートである。It is a flowchart for demonstrating the operation of the smartphone when the image transmission shown in FIG. 7 is performed. 本発明の第2の実施形態による通信装置を備える通信システムにおいて、アクセスポイント検出から画像送信までの処理の流れを説明するためのシーケンス図である。It is a sequence diagram for demonstrating the flow of processing from access point detection to image transmission in the communication system provided with the communication apparatus according to 2nd Embodiment of this invention. 本発明の第2の実施形態に係る通信システムにおいて、画像送信を行う際のカメラの動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation of a camera at the time of performing image transmission in the communication system which concerns on 2nd Embodiment of this invention. 本発明の第2の実施形態に係る通信システムにおいて、画像送信が行われる際のスマートフォンの動作を説明するためのフローチャートである。It is a flowchart for demonstrating the operation of the smartphone when image transmission is performed in the communication system which concerns on 2nd Embodiment of this invention. 本発明の第3の実施形態による通信装置を備える通信システムにおいて、アクセスポイント検出から画像送信までの処理の流れを説明するためのシーケンス図である。It is a sequence diagram for demonstrating the flow of processing from access point detection to image transmission in the communication system provided with the communication apparatus according to the 3rd Embodiment of this invention. 本発明の第3の実施形態に係る通信システムにおいて、画像送信を行う際のカメラの動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation of a camera at the time of performing image transmission in the communication system which concerns on 3rd Embodiment of this invention. 本発明の第3の実施形態に係る通信システムにおいて、画像送信が行われる際のスマートフォンの動作を説明するためのフローチャートである。It is a flowchart for demonstrating the operation of the smartphone when image transmission is performed in the communication system which concerns on 3rd Embodiment of this invention.

以下に、本発明の実施の形態による通信装置の一例について図面を参照して説明する。 Hereinafter, an example of the communication device according to the embodiment of the present invention will be described with reference to the drawings.

[第1の実施形態]
<各装置の構成>
図1は、本発明の第1の実施形態による通信装置が用いられた通信システムの一例を示すブロック図である。
[First Embodiment]
<Configuration of each device>
FIG. 1 is a block diagram showing an example of a communication system in which a communication device according to the first embodiment of the present invention is used.

図示の通信システムでは、通信装置として無線通信機能を備える撮像装置および携帯端末機器が用いられる。撮像装置は、例えば、通信装置であるデジタルカメラ(以下単にカメラと呼ぶ)であり、携帯端末機器は、例えば、他の通信装置であるスマートフォンである。なお、他の通信装置は、携帯型のメディアプレーヤ、所謂タブレットデバイス、又はパーソナルコンピュータなどの情報処理装置であってもよい。 In the illustrated communication system, an image pickup device and a mobile terminal device having a wireless communication function are used as communication devices. The image pickup device is, for example, a digital camera (hereinafter, simply referred to as a camera) which is a communication device, and the mobile terminal device is, for example, a smartphone which is another communication device. The other communication device may be an information processing device such as a portable media player, a so-called tablet device, or a personal computer.

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

撮像部A102は、例えば、絞り、ズーム、およびフォーカス機能を備える光学レンズユニットを備えるとともに、光学レンズユニットによって結像された光学像に応じた電気信号(アナログ信号)を出力して当該アナログ信号をA/D変換によってデジタル信号とする撮像素子を有している。 The image pickup unit A102 includes, for example, an optical lens unit having aperture, zoom, and focus functions, and outputs an electric signal (analog signal) corresponding to the optical image formed by the optical lens unit to output the analog signal. It has an image pickup element that converts into a digital signal by A / D conversion.

ここでは、撮像素子として、例えば、CMOS(Complementary Metal Oxide Semiconductor)又はCCD(Charge Coupled Device Image Sensor)が用いられる。撮像部A102は、制御部A101の制御下で光学像に応じた電気信号を出力し、当該電気信号に対してノイズ低減処理などを行った後、デジタル信号を画像データとして出力する。 Here, as the image pickup device, for example, CMOS (Complementary Metal Oxide Semiconductor) or CCD (Charge Coupled Device Image Sensor) is used. The image pickup unit A102 outputs an electric signal according to the optical image under the control of the control unit A101, performs noise reduction processing on the electric signal, and then outputs a digital signal as image data.

なお、ここでは、画像データは、DCF(Design rule for Camera File system)の規格に応じて記録媒体A110に記録される。 Here, the image data is recorded on the recording medium A110 according to the DCF (Design rule for Camera File system) standard.

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

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

表示部A106には、静止画を撮像するための撮像準備段階においてライブビューが表示されるとともに、撮像の結果得られた静止画が表示される。さらには、表示部A106には対話的な操作のための文字などが表示される。 On the display unit A106, a live view is displayed in the imaging preparation stage for capturing a still image, and a still image obtained as a result of imaging is displayed. Further, characters for interactive operation are displayed on the display unit A106.

電源管理部A107は、カメラA100に電力を供給するためのユニットである。電源管理部A107は、カメラA100全体に電力を供給するももとに、後述する副制御部A120および省電力無線通信部A112に限定して電力を供給することができる。 The power management unit A107 is a unit for supplying electric power to the camera A100. The power management unit A107 can supply power to the entire camera A100, and can supply power only to the sub-control unit A120 and the power-saving wireless communication unit A112, which will be described later.

以下の説明では、カメラA100全体に電力が供給されている状態を電源ON状態(第2のモード)と呼び、副制御部A120および省電力無線通信部A112に限定して電力が供給されている状態をスタンバイ状態(第1のモード)と呼ぶ。また、カメラA100全体の電力供給が断とされている状態を電源OFF状態と呼ぶ。スタンバイ状態においては、カメラA100を消費電力が極めて低い状態に保つことができる。 In the following description, the state in which power is supplied to the entire camera A100 is referred to as a power ON state (second mode), and power is supplied only to the sub-control unit A120 and the power-saving wireless communication unit A112. The state is called a standby state (first mode). Further, a state in which the power supply of the entire camera A100 is cut off is called a power-off state. In the standby state, the power consumption of the camera A100 can be kept extremely low.

記録媒体A110には、撮像部A102による撮像の結果得られた画像データが記録される。なお、記録媒体A110はカメラA100に着脱可能であるが、カメラA100に内蔵するようにしてもよい。 Image data obtained as a result of imaging by the imaging unit A102 is recorded on the recording medium A110. Although the recording medium A110 is removable from the camera A100, it may be built into the camera A100.

無線通信部A111は、例えば、IEEE802.11規格に準拠した無線LAN通信(第1の通信プロトコル)を行うためのインターフェースである。この無線LAN通信によって、カメラA100は、周囲の無線アクセスポイント(以下アクセスポイント又はAPという)C100と無線通信を行うことができる。さらには、カメラA100はTCP/IPなどの上位のプロトコルによって、アクセスポイントC100を介して、クラウドネットワークD100に接続されたサーバ機器(外部機器:図示せず)とデータを送受信することができる。 The wireless communication unit A111 is, for example, an interface for performing wireless LAN communication (first communication protocol) conforming to the IEEE802.11 standard. Through this wireless LAN communication, the camera A100 can perform wireless communication with a surrounding wireless access point (hereinafter referred to as an access point or AP) C100. Further, the camera A100 can transmit and receive data to and from a server device (external device: not shown) connected to the cloud network D100 via the access point C100 by a higher-level protocol such as TCP / IP.

省電力無線通信部A112は、例えば、無線通信のためのアンテナと無線信号を処理するため変復調回路、そして、通信コントローラを有している。省電力無線通信部A112は、無線信号をアンテナから出力するとともに、アンテナで受信した無線信号を復調してIEEE802.15の規格(所謂Bluetooth(登録商標))に応じた近距離無線通信を行う。 The power-saving wireless communication unit A112 has, for example, an antenna for wireless communication, a modulation / demodulation circuit for processing a wireless signal, and a communication controller. The power-saving wireless communication unit A112 outputs a wireless signal from the antenna, demodulates 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)).

図示の例では、Bluetooth通信(第2の通信プロトコル)は、低消費電力(第2の消費電力)であるBluetooth Low Energyのバージョン4.0を用いるものとする。このBluetooth通信は、無線LAN通信と比較して通信可能な範囲が狭い(つまり、通信可能な距離が短い)。また、Bluetooth通信は、無線LAN通信と比較してその通信速度が遅い。一方、Bluetooth通信は、無線LAN通信と比較してその消費電力が低い。無線LAN通信による消費電力を第1の消費電力とすると、第1の消費電力>第2の消費電力である。 In the illustrated example, Bluetooth communication (second communication protocol) uses version 4.0 of Bluetooth Low Energy, which has low power consumption (second power consumption). This Bluetooth communication has a narrow communicable range (that is, a short communicable distance) as compared with wireless LAN communication. Further, the communication speed of Bluetooth communication is slower than that of wireless LAN communication. On the other hand, Bluetooth communication has lower power consumption than wireless LAN communication. Assuming that the power consumption by wireless LAN communication is the first power consumption, the first power consumption> the second power consumption.

副制御部A120は、省電力無線通信部A112による通信とスタンバイ状態におけるカメラA100の制御を司る。副制御部A120には、その動作に必要な作業用メモリと不揮発性メモリが内蔵されており、これによって、副制御部A120は不揮発性メモリA103および作業用メモリA104に電力が供給されないスタンバイ状態においても動作することができる。 The sub-control unit A120 controls the communication by the power-saving wireless communication unit A112 and the control of the camera A100 in the standby state. The sub-control unit A120 has a built-in working memory and non-volatile memory necessary for its operation, whereby the sub-control unit A120 is in a standby state in which power is not supplied to the non-volatile memory A103 and the working memory A104. Can also work.

また、副制御部A120によって、カメラA100がスタンバイ状態であっても、省電力無線通信部A112を用いて、後述するスマートフォンB100と通信することができる。さらに、副制御部A120は、省電力無線通信部A112の通信内容に応じて、電源管理部A107を介してカメラA100をスタンバイ状態から電源ON状態(第2のモード)に復帰させる。なお、図1に示す各ブロックは内部バスA130によって相互に接続されている。 Further, the sub-control unit A120 enables communication with the smartphone B100, which will be described later, by using the power-saving wireless communication unit A112 even when the camera A100 is in the standby state. Further, the sub-control unit A120 returns the camera A100 from the standby state to the power ON state (second mode) via the power management unit A107 according to the communication content of the power saving wireless communication unit A112. The blocks shown in FIG. 1 are connected to each other by the internal bus A130.

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

図示のスマートフォンB100は撮像部B101を有しており、この撮像部B101は前述の撮像部A101と同様であり、撮像部B101で得られた画像データはDCF規格に従って記録媒体B110に記録される。 The illustrated smartphone B100 has an image pickup unit B101, and the image pickup unit B101 is the same as the image pickup unit A101 described above, and the image data obtained by the image pickup unit B101 is recorded on the recording medium B110 according to the DCF standard.

不揮発性メモリB103は、不揮発性メモリA103と同様のメモリであり、不揮発性メモリB103には制御部B101で実行される制御プログラムなどが格納される。作業用メモリB104は、作業用メモリA104と同様であり、バッファメモリ、画像表示用メモリ、および制御部B101の作業領域として用いられる。 The non-volatile memory B103 is the same memory as the non-volatile memory A103, and the non-volatile memory B103 stores a control program or the like executed by the control unit B101. The working memory B104 is the same as the working memory A104, and is used as a buffer memory, an image display memory, and a working area of the control unit B101.

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

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

電源管理部B107は、スマートフォンB100に電力を供給するためのユニットである。なお、前述の記録媒体B110は、スマートフォンB100に着脱可能であるが、スマートフォンB100に内蔵されるようにしてもよい。また、無線通信部B111は無線通信部A111と同様であり、省電力無線通信部B112は無線通信部A112と同様である。 The power management unit B107 is a unit for supplying electric power to the smartphone B100. Although the above-mentioned recording medium B110 is removable from the smartphone B100, it may be built into the smartphone B100. Further, the wireless communication unit B111 is the same as the wireless communication unit A111, and the power saving wireless communication unit B112 is the same as the wireless communication unit A112.

公衆無線通信部B113は、基地局E100を介して公衆網F100によって通信を行うためのインターフェースである。公衆無線通信部B113は、無線通信のためのアンテナと無線信号を処理するため変復調回路、そして、通信コントローラを有している。図示の例では、公衆無線通信部B113はW−CDMA(UMTS)又はLTE(Long Term Evolution)などの規格に従って公衆無線通信を行う。 The public radio communication unit B113 is an interface for communicating with the public network F100 via the base station E100. The public radio communication unit B113 has an antenna for radio communication, a modulation / demodulation circuit for processing the radio signal, and a communication controller. In the illustrated example, the public radio communication unit B113 performs public radio communication according to a standard such as W-CDMA (UMTS) or LTE (Long Term Evolution).

なお、上記の各ブロックは内部バスB130によって相互に接続されている。また、図1に示す例では、カメラA100とスマートフォンB100とが1対1で通信する例が示されているが、カメラA100は複数のスマートフォンと1対多で通信を行うことができる。 The above blocks are connected to each other by the internal bus B130. Further, in the example shown in FIG. 1, an example in which the camera A100 and the smartphone B100 communicate one-to-one is shown, but the camera A100 can perform one-to-many communication with a plurality of smartphones.

<ペアリングの動作>
続いて、図1に示すスマートフォンB100とデジタルカメラA100とを省電力無線通信部B112およびA112によって相互に通信可能とするためにカメラA100で行われる初期設定について説明する。
<Pairing operation>
Subsequently, the initial setting performed by the camera A100 to enable the smartphone B100 and the digital camera A100 shown in FIG. 1 to communicate with each other by the power-saving wireless communication units B112 and A112 will be described.

図2は、図1に示すカメラの初期設定動作を説明するためのフローチャートである。なお、図示のフローチャートに係る処理は制御部A101の制御下で行われる。 FIG. 2 is a flowchart for explaining the initial setting operation of the camera shown in FIG. The process related to the illustrated flowchart is performed under the control of the control unit A101.

図2に示す処理に先立ち、カメラA100は電源ONの状態となっており、ユーザは操作部A102によってカメラA100の設定を変更することが可能である。そして、この設定を行うに当たって、スマートフォンB100とカメラA100との間でBLEによる通信が行われるが、その際には、スマートフォンB100はBLEのCentralとして、デジタルカメラA100はBLEのPeripheralとして振る舞うことになる。 Prior to the process shown in FIG. 2, the power of the camera A100 is turned on, and the user can change the setting of the camera A100 by the operation unit A102. Then, in making this setting, communication by BLE is performed between the smartphone B100 and the camera A100. At that time, the smartphone B100 behaves as the BLE Central and the digital camera A100 behaves as the BLE Peripheral. ..

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

ステップS202において、制御部A101は、省電力無線通信部A112によってペアリングを開始するためのペアリング情報をAdvertiseする。例えば、制御部A101はBLEのGATTプロファイルによってペアリングを行うためのAP FindサービスのAdvertiseを行う。 In step S202, the control unit A101 advises the pairing information for starting the pairing by the power saving wireless communication unit A112. For example, the control unit A101 performs an update of the AP Find service for pairing according to the GATT profile of BLE.

AP Findサービスには、初期設定を求める接続対象のデバイス(以下Centralと呼ぶ)がCentralを一意に特定するためのID情報(接続情報)を書き込むためのCentralID特性と初期設定の進行状況を表すStatus特性とが含まれている。ステップS202においては、CentralID特性にはNULL値が、Status特性には文字列”Initializing”が設定された状態でAdvertiseが行われる。このBLEのAdvertiseは、制御部A101によって明示的に停止の指示があるまで、省電力無線通信部A112によって、自動的に繰り返し行われる。また、AP Findサービスには他に、後述するように、Centralがビーコンを受信したアクセスポイントC100のSSIDを書き込むSSID特性が含まれている。 In the AP Find service, the Central ID characteristic for writing ID information (connection information) for the device to be connected (hereinafter referred to as Central) for which initial setting is requested to uniquely identify Central, and Status indicating the progress of initial setting. The characteristics and are included. In step S202, Advertise is performed in a state where a NULL value is set for the CentralID characteristic and the character string "Initializing" is set for the Status characteristic. This BLE Advance is automatically repeated by the power saving wireless communication unit A112 until the control unit A101 explicitly instructs the stop. In addition, the AP Find service also includes an SSID characteristic in which Central writes the SSID of the access point C100 that has received the beacon, as will be described later.

ステップS203において、制御部A101は、Advertiseに対してCentralからCentralID特性への書き込み要求があったか否かを判定する。この要求は、後述するように、スマートフォンB100で行われる要求に対応するものである。制御部A101は書き込み要求がないと判定すると、当該要求があるまでステップS203の処理を繰り返して行う。制御部A101は書き込み要求があったと判定すると、ステップS204の処理に進む。 In step S203, the control unit A101 determines whether or not there is a write request from the Central to the Central ID characteristic to the Advanced. This request corresponds to the request made by the smartphone B100, as will be described later. If the control unit A101 determines that there is no write request, the process of step S203 is repeated until the request is received. When the control unit A101 determines that there is a write request, the process proceeds to the process of step S204.

ステップS204において、制御部A101は、書き込みを要求したCentralが既にBLEペアリング済みであるか否かを判定する。制御部A101は既にペアリング済みであると判定すると、後述するステップS209の処理に進む。 In step S204, the control unit A101 determines whether or not the Central that requested the write has already been BLE paired. If the control unit A101 determines that the pairing has already been completed, the process proceeds to step S209 described later.

一方、制御部A101はペアリングが未だ行われていないと判定すると、ステップS205の処理に進む。ステップS205において、制御部A101の制御下で省電力無線通信部A112はCentralに対してペアリング要求を送信する。そして、ステップS206において、制御部A101は表示部A106にPIN確認画面を表示する。ここでは、ペアリングの要求毎に異なる6桁の数値が生成されて、PIN番号として用いられる。 On the other hand, if the control unit A101 determines that the pairing has not been performed yet, the process proceeds to step S205. In step S205, under the control of the control unit A101, the power saving wireless communication unit A112 transmits a pairing request to the Central. Then, in step S206, the control unit A101 displays the PIN confirmation screen on the display unit A106. Here, a different 6-digit numerical value is generated for each pairing request and used as a PIN number.

続いて、ステップS207において、制御部A101は、省電力無線通信部A112がCentralからPIN番号を受信したか否かを判定する。このPIN番号の受信は、スマートフォン101の送信に対応する。制御部A101はPIN番号を受信しないと判定すると、受信するまでステップS207の処理を繰り返して行う。 Subsequently, in step S207, the control unit A101 determines whether or not the power saving wireless communication unit A112 has received the PIN number from the Central. The reception of this PIN number corresponds to the transmission of the smartphone 101. If the control unit A101 determines that the PIN number is not received, the process of step S207 is repeated until the PIN number is received.

制御部A101はPIN番号を受信したと判定すると、ステップS208の処理に進む。ステップS208において、制御部A101は受信したPIN番号がステップS206で生成したPIN番号と一致しているか否かを判定する。制御部A101はPIN番号が一致していないと判定すると、ステップS205の処理に戻って再度ペアリング要求を送信する。一方、制御部A101はPIN番号が一致すると判定すると、ステップS209の処理に進む。 If the control unit A101 determines that the PIN number has been received, the process proceeds to step S208. In step S208, the control unit A101 determines whether or not the received PIN number matches the PIN number generated in step S206. If the control unit A101 determines that the PIN numbers do not match, the control unit A101 returns to the process of step S205 and transmits the pairing request again. On the other hand, if the control unit A101 determines that the PIN numbers match, the process proceeds to step S209.

ステップS209において、制御部A101は、AP FindサービスのCentralID値を不揮発性メモリA103に保存する。ここでは、制御部A101は副制御部A120に内蔵の不揮発性メモリにもCentralID値を保存する。 In step S209, the control unit A101 stores the CentralID value of the AP Find service in the non-volatile memory A103. Here, the control unit A101 also stores the CentralID value in the non-volatile memory built in the sub-control unit A120.

続いて、ステップS210において、制御部A101は、省電力無線通信部A112によって初期設定が完了したことをCentralに対して通知する。例えば、制御部A101は、AdvertiseにおけるAP FindサービスのStatus特性の値を”Success”として、Advertiseを受信したCentralが初期設定が終了したことを知ることができるようにする。 Subsequently, in step S210, the control unit A101 notifies the Central that the initial setting is completed by the power saving wireless communication unit A112. For example, the control unit A101 sets the value of the Status characteristic of the AP Find service in the Advantage as "Service" so that the Central that has received the Advantage can know that the initial setting has been completed.

次に、ステップS211において、制御部A101は、表示部A106にペアリング完了画面を表示する。なお、ペアリング完了画面については後述する。そして、ステップS212において、制御部A101は、省電力無線通信部A112によってステップS202で開始したBLEのAP FindサービスのAdvertiseを停止する。その後、制御部A101は初期設定動作を終了する。これによって、CentralとPeripheralとは接続状態に移行する。 Next, in step S211 the control unit A101 displays the pairing completion screen on the display unit A106. The pairing completion screen will be described later. Then, in step S212, the control unit A101 stops the BLE AP Find service Advantage started in step S202 by the power saving wireless communication unit A112. After that, the control unit A101 ends the initial setting operation. As a result, Central and Peripheral are connected to each other.

なお、CentralとPeripheralとが共に接続状態に移行すると、CentralとPeripheralとは一定間隔毎に相互にパケットの送受信を行う。そして、当該通信が維持されている間においては、CentralとPeripheralとは互いに接続されているものとみなす。もしも、相手からの通信が届かないときには、接続状態は解除される。 When both the Central and the Peripheral shift to the connected state, the Central and the Peripheral mutually send and receive packets at regular intervals. Then, as long as the communication is maintained, it is considered that the Central and the Peripheral are connected to each other. If the communication from the other party does not arrive, the connection status is canceled.

図3は、図1に示すカメラで行われるペアリング設定メニューの選択を説明するための図である。そして、図3(a)は設定トップ画面を示す図であり、図3(b)は接続設定画面を示す図である。また、図3(c)はペアリング画面を示す図であり、図3(d)はPIN確認画面を示す図である。さらに、図3(e)はペアリング完了画面を示す図である。 FIG. 3 is a diagram for explaining the selection of the pairing setting menu performed by the camera shown in FIG. 1. 3A is a diagram showing a setting top screen, and FIG. 3B is a diagram showing a connection setting screen. Further, FIG. 3C is a diagram showing a pairing screen, and FIG. 3D is a diagram showing a PIN confirmation screen. Further, FIG. 3 (e) is a diagram showing a pairing completion screen.

いま、ステップS201においてペアリング設定メニューの選択を行う際には、ユーザは操作部A105を操作して、図3(a)に示す設定トップ画面を表示部A106に表示する。この設定トップ画面において、ユーザが設定項目一覧301から、スマートフォンB100との接続設定メニュー項目302を選択すると、制御部A101は、図3(b)に示す接続設定画面を表示部A106に表示する。 Now, when selecting the pairing setting menu in step S201, the user operates the operation unit A105 to display the setting top screen shown in FIG. 3A on the display unit A106. When the user selects the connection setting menu item 302 with the smartphone B100 from the setting item list 301 on this setting top screen, the control unit A101 displays the connection setting screen shown in FIG. 3B on the display unit A106.

接続設定画面において、ユーザが設定項目一覧311から、スマートフォンB100とのペアリング設定メニュー312を選択すると、制御部A101は、図3(c)に示すペアリング画面を表示部A106に表示する。そして、ユーザはペアリング画面において、新しいスマートフォンの追加メニュー項目321を選択する。これによって、カメラA100においてペアリング設定メニューの選択が行われることになる。 When the user selects the pairing setting menu 312 with the smartphone B100 from the setting item list 311 on the connection setting screen, the control unit A101 displays the pairing screen shown in FIG. 3C on the display unit A106. Then, the user selects the additional menu item 321 of the new smartphone on the pairing screen. As a result, the pairing setting menu is selected in the camera A100.

図3(d)には、図2で説明したステップS206の処理によって表示部A106に表示されるPIN確認画面が示されている。PIN確認画面に関して、ユーザはカメラA100に対して操作を行う必要はない。ユーザはPIN確認画面に表示されたPINコード331をスマートフォンB100に入力することによって、ペアリングが実行されて、図2に示すステップS207の処理に進む。 FIG. 3D shows a PIN confirmation screen displayed on the display unit A106 by the process of step S206 described with reference to FIG. The user does not need to operate the camera A100 with respect to the PIN confirmation screen. By inputting the PIN code 331 displayed on the PIN confirmation screen into the smartphone B100, the pairing is executed and the process proceeds to the process of step S207 shown in FIG.

図3(e)には、図2で説明したステップS212の処理によって表示部A106に表示されるペアリング完了画面が示されている。ペアリング完了画面において、ユーザがOKボタン341を選択すると、制御部A101はステップS212の処理を終了する。 FIG. 3E shows a pairing completion screen displayed on the display unit A106 by the process of step S212 described with reference to FIG. When the user selects the OK button 341 on the pairing completion screen, the control unit A101 ends the process of step S212.

次に、図1に示すスマートフォンB100とデジタルカメラA100とを省電力無線通信部B112およびA112によって相互に通信可能とするためにスマートフォンB100で行われる初期設定について説明する。 Next, the initial setting performed by the smartphone B100 to enable the smartphone B100 and the digital camera A100 shown in FIG. 1 to communicate with each other by the power-saving wireless communication units B112 and A112 will be described.

図4は、図1に示すスマートフォンの初期設定動作を説明するためのフローチャートである。なお、図示のフローチャートに係る処理は制御部B101の制御下で行われる。 FIG. 4 is a flowchart for explaining the initial setting operation of the smartphone shown in FIG. The process related to the illustrated flowchart is performed under the control of the control unit B101.

図示のフローチャートに係る処理の開始に先立って、ユーザはスマートフォンB100においてカメラA100と通信を行うためのアプリケーションを起動しているものとする。初期設定を行うに当たっては、スマートフォンB100とカメラA100との間でBLEによる通信が行われるが、この際に、スマートフォンB100はBLEのCentralとして、そして、カメラA100はBLEのPeripheralとして振る舞うことになる。 Prior to the start of the process according to the illustrated flowchart, it is assumed that the user has started an application for communicating with the camera A100 on the smartphone B100. In performing the initial setting, communication by BLE is performed between the smartphone B100 and the camera A100. At this time, the smartphone B100 behaves as the BLE Central and the camera A100 behaves as the BLE Peripheral.

ステップS401において、制御部B101は、表示部B106に設定メニュー画面を表示して、ユーザによるペアリング設定メニューの選択を待つ。なお、設定メニュー画面については後述する。 In step S401, the control unit B101 displays the setting menu screen on the display unit B106 and waits for the user to select the pairing setting menu. The setting menu screen will be described later.

設定メニュー画面におけるユーザ操作によってステップS402に進むと、制御部B101は、ステップS402において表示部B106にペアリング実行中画面を表示する。そして、ステップS403において、制御部B101は、省電力無線通信部B112によってBLE PeripheralからAdvertiseを受信したか否かを判定する。制御部B101はAdvertiseを受信するまで待機する。 When the process proceeds to step S402 by the user operation on the setting menu screen, the control unit B101 displays the pairing execution screen on the display unit B106 in step S402. Then, in step S403, the control unit B101 determines whether or not the Advantage has been received from the BLE Peripheral by the power saving wireless communication unit B112. The control unit B101 waits until the Advantage is received.

Advertiseを受信すると、ステップS404において、制御部B101は、受信したAdvertiseがAP Findサービスを含むか否かを判定する。制御部B101はAdvertiseがAP Findサービスを含まないと判定すると、ステップS403の処理に戻る。 Upon receiving the Advantage, in step S404, the control unit B101 determines whether or not the received Advantage includes the AP Find service. When the control unit B101 determines that the Advanced does not include the AP Find service, the control unit B101 returns to the process of step S403.

制御部B101は、受信したAdvertiseがAP Findサービスを含むと判定すると、ステップS405の処理に進む。なお、AP FindサービスのAdvertiseは、図2で説明したステップS202においてルカメラA100が送信したAdvertiseに対応する。 When the control unit B101 determines that the received Advantage includes the AP Find service, the control unit B101 proceeds to the process of step S405. The Update of the AP Find service corresponds to the Advantage transmitted by the LeCamera A100 in step S202 described with reference to FIG.

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

続いて、ステップS406において、制御部B101は、Centralからペアリング要求を受信したか否かを判定する。このペアリング要求は、図2で説明したステップS205において送信されるペアリング要求に対応するものであり、省電力無線通信部B112は、CentralID特性をAdvertiseしたPeripheralと未だBLEペアリング済みでない場合にのみ送信する。 Subsequently, in step S406, the control unit B101 determines whether or not a pairing request has been received from Central. This pairing request corresponds to the pairing request transmitted in step S205 described with reference to FIG. 2, when the power-saving wireless communication unit B112 has not yet been BLE paired with the Peripheral whose Central ID characteristic has been adapted. Only send.

制御部B101はペアリング要求を受信しないと判定すると、つまり、既にペアリング済みであってCentralID特性に値を書き込むことができると判定すると、ステップS409の処理に進む。一方、制御部B101はペアリング要求を受信したと判定すると、ステップS407の処理に進む。 If the control unit B101 determines that the pairing request is not received, that is, it is determined that the pairing has already been completed and the value can be written to the CentralID characteristic, the process proceeds to step S409. On the other hand, if the control unit B101 determines that the pairing request has been received, the process proceeds to step S407.

ステップS407において、制御部B101は、表示部104にPIN入力画面を表示する。なお、PIN入力画面については後述する。PIN入力画面においてユーザがPIN番号を入力すると、ステップS408において、制御部B101は当該PIN番号を省電力無線通信部B112によってPeripheralに送信する。カメラA100においては、当該PIN番号を受けて、前述したようにしてPIN番号が一致するか否かを判定する。 In step S407, the control unit B101 displays the PIN input screen on the display unit 104. The PIN input screen will be described later. When the user inputs the PIN number on the PIN input screen, in step S408, the control unit B101 transmits the PIN number to the peripheral by the power saving wireless communication unit B112. The camera A100 receives the PIN number and determines whether or not the PIN numbers match as described above.

次に、ステップS409で、制御部B101は、ペアリング完了通知を受信したか否かを判定する。例えば、制御部B101はAP FindサービスのStatus特性の値が”Success(成功)”になったか否かを判定する。この判定は、図2で説明したステップS210の処理に対応しており、カメラA100は受信したPIN番号がカメラA100で生成したPIN番号と一致する場合にペアリング完了通知を行う。 Next, in step S409, the control unit B101 determines whether or not the pairing completion notification has been received. For example, the control unit B101 determines whether or not the value of the Status characteristic of the AP Find service has become "Success". This determination corresponds to the process of step S210 described with reference to FIG. 2, and the camera A100 gives a pairing completion notification when the received PIN number matches the PIN number generated by the camera A100.

制御部B101はペアリング完了通知を受信しないと判定すると、入力されたPIN番号が誤っているとして、ステップS406の処理に戻る。一方、制御部B101はペアリング完了通知を受信したと判定すると、ステップS410の処理に進む。ステップS410において、制御部B101は、表示部104にペアリング完了画面を表示する。なお、ペアリング完了画面については後述する。そして、ペアリング完了画面が閉られると、制御部B101は初期設定を終了する。 If the control unit B101 determines that the pairing completion notification is not received, the control unit B101 determines that the input PIN number is incorrect and returns to the process of step S406. On the other hand, if the control unit B101 determines that the pairing completion notification has been received, the process proceeds to step S410. In step S410, the control unit B101 displays the pairing completion screen on the display unit 104. The pairing completion screen will be described later. Then, when the pairing completion screen is closed, the control unit B101 ends the initial setting.

図5は、図1に示すスマートフォンで行われるペアリング設定メニューの選択を説明するための図である。そして、図5(a)は設定トップ画面を示す図であり、図5(b)はペアリング実行中画面を示す図である。また、図5(c)はPIN入力画面を示す図であり、図5(d)はペアリング完了画面を示す図である。 FIG. 5 is a diagram for explaining selection of the pairing setting menu performed by the smartphone shown in FIG. 1. 5 (a) is a diagram showing a setting top screen, and FIG. 5 (b) is a diagram showing a screen during pairing execution. Further, FIG. 5C is a diagram showing a PIN input screen, and FIG. 5D is a diagram showing a pairing completion screen.

いま、ステップS401においてペアリング設定メニューの選択を行う際には、ユーザは操作部B105を操作して、図5(a)に示す設定トップ画面を表示部B106に表示する。この設定トップ画面には、ペアリング済みのカメラと接続するための操作ボタン501および新しいカメラとペアリングするための操作ボタン502、つまり、ペアリングボタンが表示される。ユーザが操作ボタンから、新しいカメラとのペアリングボタン502を選択すると、制御部B101は表示部B106に、図5(b)にペアリング実行中画面を表示する。 Now, when selecting the pairing setting menu in step S401, the user operates the operation unit B105 to display the setting top screen shown in FIG. 5A on the display unit B106. On this setting top screen, an operation button 501 for connecting to a paired camera and an operation button 502 for pairing with a new camera, that is, a pairing button are displayed. When the user selects the pairing button 502 with the new camera from the operation buttons, the control unit B101 displays the pairing execution screen on the display unit B106 in FIG. 5B.

ペアリング実行中画面には、カメラA100をペアリングモードで起動することを促すメッセージ511が表示されるが、ペアリング実行中画面において、ユーザはスマートフォンB100に対して操作を行う必要はなく、指示に応じてカメラA100をペアリングモードで起動する必要がある。この操作については、図2に示すステップS201において説明した。そして、前述のように、ペアリング処理が開始されて、ステップS403の処理に進むことになる。 A message 511 prompting the camera A100 to be activated in the pairing mode is displayed on the pairing execution screen, but the user does not need to operate the smartphone B100 on the pairing execution screen, and is instructed. It is necessary to start the camera A100 in the pairing mode according to the above. This operation has been described in step S201 shown in FIG. Then, as described above, the pairing process is started, and the process proceeds to step S403.

図5(c)には、図4に示すステップS407において表示部B106に表示されるPIN入力画面が示されている。ユーザはメッセージ521に従って、カメラA100の表示部A106に表示されたPINコード331(図3(d)参照)を読み取って、PIN入力画面のPIN入力領域522に入力する。その後、ユーザは、ペアリング実行ボタン523を選択する。この操作によって、図4に示すステップS407の処理が終了して、ステップS408の処理に進むことになる。 FIG. 5C shows a PIN input screen displayed on the display unit B106 in step S407 shown in FIG. According to the message 521, the user reads the PIN code 331 (see FIG. 3D) displayed on the display unit A106 of the camera A100 and inputs it to the PIN input area 522 of the PIN input screen. After that, the user selects the pairing execution button 523. By this operation, the process of step S407 shown in FIG. 4 is completed, and the process proceeds to step S408.

図5(d)には、図4に示すステップS410の処理で表示部B106に表示されるペアリング完了画面が示されている。ペアリング完了画面にはペアリングが行われた旨の文言531が表示されており、ペアリング完了画面において、ユーザがOKボタン532を選択すると、制御部B101は、図4に示すステップS410の処理を終了する。 FIG. 5D shows a pairing completion screen displayed on the display unit B106 in the process of step S410 shown in FIG. The wording 531 indicating that pairing has been performed is displayed on the pairing completion screen, and when the user selects the OK button 532 on the pairing completion screen, the control unit B101 processes the step S410 shown in FIG. To finish.

カメラA100においては、電源ボタンをOFFにした際、カメラA100を電源OFF状態にするか又はスタンバイ状態にするかを設定によって切り替えることが可能である。 In the camera A100, when the power button is turned off, it is possible to switch between the power off state and the standby state of the camera A100 depending on the setting.

図6は、図1に示すカメラの電源ボタンをOFFにした際のカメラの状態設定を説明するための図である。そして、図6(a)は設定トップ画面を示す図であり、図6(b)は接続設定画面を示す図である。また、図6(c)は起動設定画面を示す図である。 FIG. 6 is a diagram for explaining the state setting of the camera when the power button of the camera shown in FIG. 1 is turned off. FIG. 6A is a diagram showing a setting top screen, and FIG. 6B is a diagram showing a connection setting screen. Further, FIG. 6C is a diagram showing a start setting screen.

いま、カメラA100の電源ボタンをOFF操作する際、ユーザが操作部A105を操作すると、制御部A101は表示部A106に図6(a)に示す設定トップ画面を表示する。設定トップ画面において、ユーザが設定項目一覧601からスマートフォンB101との接続設定メニュー項目602を選択すると、制御部A101は表示部A106に、図6(b)に示す接続設定画面を表示する。 Now, when the user operates the operation unit A105 when the power button of the camera A100 is turned off, the control unit A101 displays the setting top screen shown in FIG. 6A on the display unit A106. When the user selects the connection setting menu item 602 with the smartphone B101 from the setting item list 601 on the setting top screen, the control unit A101 displays the connection setting screen shown in FIG. 6B on the display unit A106.

当該接続設定画面において、ユーザが設定項目一覧611からスマートフォンからの起動設定メニュー612を選択すると、制御部A101は表示部A106に、図6(c)に示すスマートフォンB100の起動設定画面を表示する。当該起動設定画面においては、有効メニュー621および無効メニュー622の2つの選択肢が表示される。 When the user selects the activation setting menu 612 from the smartphone from the setting item list 611 on the connection setting screen, the control unit A101 displays the activation setting screen of the smartphone B100 shown in FIG. 6C on the display unit A106. On the activation setting screen, two options, a valid menu 621 and an invalid menu 622, are displayed.

いま、ユーザが有効メニュー621を選択すると、制御部A101は電源ボタンをOFFとした際にデジタルカメラA100をスタンバイ状態とする。一方、ユーザが無効メニュー622を選択した場合には、制御部A101は電源ボタンをOFFとした際にデジタルカメラA100を電源OFF状態とする。 Now, when the user selects the valid menu 621, the control unit A101 puts the digital camera A100 in the standby state when the power button is turned off. On the other hand, when the user selects the invalid menu 622, the control unit A101 turns off the power of the digital camera A100 when the power button is turned off.

<システムの概要>
図7は、図1に示す通信システムにおいて、アクセスポイント検出から画像送信までの処理の流れを説明するためのシーケンス図である。
<Overview of the system>
FIG. 7 is a sequence diagram for explaining the flow of processing from access point detection to image transmission in the communication system shown in FIG.

なお、図7において、破線矢印はBLEによる通信であることを示し、太実線矢印は無線LANによる通信であることを示す。また、カメラA100とスマートフォンB100とは事前にBLEによってペアリング済みであるものとする。さらに、カメラA100には、接続希望のアクセスポイントC100のSSIDとパスワード情報とが、予めユーザによって操作部A105から入力されて、不揮発性メモリA103に記憶されているものとする。 In FIG. 7, the broken line arrow indicates that the communication is by BLE, and the thick solid line arrow indicates that the communication is by wireless LAN. Further, it is assumed that the camera A100 and the smartphone B100 have been paired by BLE in advance. Further, it is assumed that the SSID and password information of the access point C100 desired to be connected are input in advance from the operation unit A105 to the camera A100 and stored in the non-volatile memory A103.

ここでは、スマートフォンB100には、接続希望のアクセスポイントC100のSSIDがカメラA100から予め省電力無線通信部B112に通知されて、不揮発性メモリB103に記憶されているものとする。そして、図示のシーケンスを開始する際には、カメラA100はスタンバイ状態であるものとする。 Here, it is assumed that the SSID of the access point C100 desired to be connected is notified in advance from the camera A100 to the power saving wireless communication unit B112 in the smartphone B100 and stored in the non-volatile memory B103. Then, when starting the illustrated sequence, it is assumed that the camera A100 is in the standby state.

ステップS710において、スマートフォンB100はアクセスポイントC100から無線LAN通信でブロードキャストされたビーコンパケット(単にビーコンともいう)を受信する。ここで、アクセスポイントC100はビーコンパケットにアクセスポイント情報(例えば、SSIDおよび通信レート設定)を付加して送信する。 In step S710, the smartphone B100 receives a beacon packet (also simply referred to as a beacon) broadcast by wireless LAN communication from the access point C100. Here, the access point C100 adds access point information (for example, SSID and communication rate setting) to the beacon packet and transmits it.

ビーコンパケットを受信すると、ステップS711において、スマートフォンB100は、受信したビーコンパケットに含まれるSSIDが予めカメラA100から通知されて不揮発性メモリB103に記憶された接続希望のアクセスポイントC100のSSIDであるか否かを照合する。ビーコンパケットのSSIDが接続希望のアクセスポイントC100のものであった場合、ステップS712において、スマートフォンB100はBLEによってカメラA100にアクセスポイント検出通知を送信する。この際、スマートフォンB100は、検出したアクセスポイントC100のアクセスポイント情報を付加してカメラA100に送信する。 Upon receiving the beacon packet, in step S711, the smartphone B100 determines whether the SSID included in the received beacon packet is the SSID of the access point C100 desired to be connected, which is previously notified by the camera A100 and stored in the non-volatile memory B103. To match. If the SSID of the beacon packet is that of the access point C100 desired to be connected, in step S712, the smartphone B100 transmits an access point detection notification to the camera A100 by BLE. At this time, the smartphone B100 adds the detected access point information of the access point C100 and transmits it to the camera A100.

なお、スマートフォンB100は、アクセスポイント検出通知(アクセスポイント検出信号)を送信する前に、表示部B106にアクセスポイント検出通知を送信するか否かを問い合わせる問い合わせ画面を表示する。そして、スマートフォンB100はユーザによる指示を待ち受けて、送信指示を受けた場合のみ、アクセスポイント検出通知をカメラA100に送信するようにしてもよい。 Before transmitting the access point detection notification (access point detection signal), the smartphone B100 displays an inquiry screen inquiring whether or not to transmit the access point detection notification to the display unit B106. Then, the smartphone B100 may wait for an instruction by the user and transmit the access point detection notification to the camera A100 only when the transmission instruction is received.

アクセスポイント検出通知を受信すると、ステップS713において、カメラA100では副制御部A120が電源管理部A107を制御して、カメラA100をスタンバイ状態から電源ON状態とする。さらに、副制御部A120は無線通信部A111の無線LAN通信機能を有効にする。 Upon receiving the access point detection notification, in step S713, the sub-control unit A120 controls the power supply management unit A107 in the camera A100 to switch the camera A100 from the standby state to the power-on state. Further, the sub-control unit A120 enables the wireless LAN communication function of the wireless communication unit A111.

ステップS714において、カメラA100は、アクセスポイントC100から無線LAN通信でブロードキャストされたビーコンパケットを受信する。そして、ステップS715において、カメラA100は受信したビーコンパケットに含まれるアクセスポイント情報と予め不揮発性メモリA103に記憶したパスワード情報とに基づいて、アクセスポイントC100と無線LAN接続を確立する。 In step S714, the camera A100 receives the beacon packet broadcast by wireless LAN communication from the access point C100. Then, in step S715, the camera A100 establishes a wireless LAN connection with the access point C100 based on the access point information included in the received beacon packet and the password information stored in the non-volatile memory A103 in advance.

続いて、ステップS716において、カメラA100は、無線LANによってアクセスポイントC100を介してクラウドネットワークD100上の所望のPCに未アップロードの画像の全てを送信する。画像送信が完了すると、ステップS717において、カメラA100とアクセスポイントC100とは無線LANによる通信を切断する。デジタルカメラA100は、無線LANによる通信を切断すると、ステップS718においてスタンバイ状態に移行する。 Subsequently, in step S716, the camera A100 transmits all the unuploaded images to the desired PC on the cloud network D100 via the access point C100 by wireless LAN. When the image transmission is completed, in step S717, the communication between the camera A100 and the access point C100 by wireless LAN is disconnected. When the digital camera A100 disconnects the communication by the wireless LAN, the digital camera A100 shifts to the standby state in step S718.

<各装置の動作>
図8は、図7に示す画像送信を行う際のカメラA100の動作を説明するためのフローチャートである。なお、図示のフローチャートに係る処理は、制御部A101および副制御部A120によって行われる。
<Operation of each device>
FIG. 8 is a flowchart for explaining the operation of the camera A100 when transmitting the image shown in FIG. 7. The processing related to the illustrated flowchart is performed by the control unit A101 and the sub-control unit A120.

図示のフローチャートに係る処理は、操作部A105におけるタッチパネル操作によって接続希望のアクセスポイントC100のSSIDがユーザによって登録された後、スマートフォンB100からのアクセスポイント検出通知の待ち受け開始指示を受けることによって開始される。待ち受け中においては、カメラA100はスタンバイ状態となるものとする。 The process according to the illustrated flowchart is started by receiving the standby start instruction of the access point detection notification from the smartphone B100 after the SSID of the access point C100 desired to be connected is registered by the user by the touch panel operation in the operation unit A105. .. During standby, the camera A100 is in the standby state.

ステップS810において、副制御部A120は、内蔵の不揮発性メモリにペアリング済みBLEデバイスのCentralID情報(ネットワーク識別子)が1つ以上保存されているか否かを判定する。副制御部A120は、CentralID情報が存在しないと判定すると、後述するステップS809の処理を行った後、処理を終了する。一方、副制御部A120は、CentralID情報が存在すると、ステップS820の処理に進む。 In step S810, the sub-control unit A120 determines whether or not one or more Central ID information (network identifier) of the paired BLE device is stored in the built-in non-volatile memory. If the sub-control unit A120 determines that the Central ID information does not exist, the sub-control unit A120 performs the process of step S809 described later, and then ends the process. On the other hand, if the Central ID information is present, the sub-control unit A120 proceeds to the process of step S820.

ステップS820において、副制御部A120は、省電力無線通信部A112によってペアリングを開始するための情報をAdvertiseする。例えば、副制御部A120は、BLEのGATTプロファイルによって、ペアリングを行うためのAP FindサービスのAdvertiseを行う。AP Findサービスには、初期設定を求める接続対象のデバイス(以下Centralという)がCentralを一意に特定するためのID情報を書き込むためのCentralID特性と初期設定の進行状況を示すStatus特性とが含まれている。 In step S820, the sub-control unit A120 advises the information for starting pairing by the power-saving wireless communication unit A112. For example, the sub-control unit A120 performs avertise of the AP Find service for performing pairing according to the GATT profile of BLE. The AP Find service includes a Central ID characteristic for writing ID information for a device to be connected (hereinafter referred to as Central) for which initial setting is requested to uniquely identify the Central, and a Status characteristic for indicating the progress of the initial setting. ing.

図2で説明したステップS202においては、CentralID特性にはNULL値が設定され、Status特性には文字列”Initializing”が設定された状態でAdvertiseが行われている。このBLEによるAdvertiseは、明示的に停止の指示があるまでは、省電力無線通信部A112によって繰り返し行われる。また、AP Findサービスには、Centralがビーコンパケットを受信したアクセスポイントC100のSSIDを書き込むSSID特性が含まれている。 In step S202 described with reference to FIG. 2, the Null value is set for the CentralID characteristic, and the character string "Initializing" is set for the Status characteristic, and the Advertise is performed. This BLE advice is repeatedly performed by the power saving wireless communication unit A112 until there is an explicit stop instruction. In addition, the AP Find service includes an SSID characteristic in which Central writes the SSID of the access point C100 that has received the beacon packet.

ステップS811において、副制御部A120は、省電力無線通信部A112に対して、AP FindサービスのSSID特性に対する書き込み要求があるか否かを判定する。書き込み要求がないと、副制御部A120は書き込み要求を受信するまでステップS811の処理を繰り返す。一方、書き込み要求を受信すると、副制御部A120はステップS812の処理に進む。なお、ステップS811において受信する書き込み要求は後述の図9に示すステップS911において送信される書き込み要求に対応する。 In step S811, the sub-control unit A120 determines whether or not there is a write request for the SSID characteristic of the AP Find service to the power-saving wireless communication unit A112. If there is no write request, the sub-control unit A120 repeats the process of step S811 until the write request is received. On the other hand, when the write request is received, the sub-control unit A120 proceeds to the process of step S812. The write request received in step S811 corresponds to the write request transmitted in step S911 shown in FIG. 9 described later.

ステップS812において、副制御部A120は、ステップS811で受信した書き込み要求がペアリング済みのBLEデバイスから送信されたものか否かを判定する。ここでは、副制御部A120は、書き込み要求を行ったCentralのCentralIDが、副制御部A120に内蔵の不揮発性メモリに保存されているか否か、つまり、図2で説明したペアリング設定によって設定されたCentralであるか否かを判定する。 In step S812, the sub-control unit A120 determines whether or not the write request received in step S811 is transmitted from the paired BLE device. Here, the sub-control unit A120 is set by whether or not the Central ID of the Central that made the write request is stored in the non-volatile memory built in the sub-control unit A120, that is, by the pairing setting described with reference to FIG. It is determined whether or not it is non-volatile.

副制御部A120はペアリング済みのBLEデバイスからの書き込み要求であると判定すると、AP FindサービスのSSID特性の値を内蔵の不揮発性メモリに保存した後、ステップS802の処理に進む。一方、副制御部A120はペアリング済みでないBLEデバイスからの書き込み要求であると判定すると、ステップS811の処理に戻る。 When the sub-control unit A120 determines that the write request is from the paired BLE device, the value of the SSID characteristic of the AP Find service is stored in the built-in non-volatile memory, and then the process proceeds to step S802. On the other hand, if the sub-control unit A120 determines that the write request is from a BLE device that has not been paired, the process returns to the process of step S811.

ステップS802において、副制御部A120は、電源管理部A107によってカメラA100を電源ON状態とする。これによって、無線通信部A111はアクセスポイントC100からビーコンパケットを受信することが可能となる。なお、ステップS802の処理は、図7に示すステップS713の処理に相当する。 In step S802, the sub-control unit A120 turns on the camera A100 by the power supply management unit A107. As a result, the wireless communication unit A111 can receive the beacon packet from the access point C100. The process of step S802 corresponds to the process of step S713 shown in FIG. 7.

続いて、ステップS803において、制御部A101は、記録媒体A110に未アップロードの画像が所定の枚数以上存在するか否かを判定する。制御部A101は未アップロード画像が所定の枚数以上存在すると判定すると、ステップS804の処理に進む。 Subsequently, in step S803, the control unit A101 determines whether or not there are a predetermined number or more of unuploaded images in the recording medium A110. When the control unit A101 determines that there are a predetermined number or more of unuploaded images, the process proceeds to step S804.

一方、制御部A120は未アップロード画像が所定の枚数未満であると判定すると、ステップS821の処理に進む。なお、未アップロード画像を判定するため、制御部A101は、撮影によって得られた画像データの拡張情報領域に未アップロードを示すフラグを埋め込んで、アップロードの際に当該フラグをアップロード済みに変更するようにしてもよい。また、所定の枚数は1枚でもよく、さらには、操作部A105によってユーザが
設定するようにしてもよい。
On the other hand, if the control unit A120 determines that the number of unuploaded images is less than a predetermined number, the process proceeds to step S821. In addition, in order to determine the unuploaded image, the control unit A101 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. You may. Further, the predetermined number of sheets may be one, and further, the user may set the number by the operation unit A105.

次に、ステップS804において、制御部A101は、電源管理部A107によってバッテリ(バッテリ電源)の残量が所定の残量以上であるか否かを判定する。制御部A101はバッテリ残量が所定の残量以上であると判定すると、ステップS805の処理に進む。一方、制御部A101はバッテリ残量が所定の残量未満であると判定すると、ステップS821の処理に進む。 Next, in step S804, the control unit A101 determines whether or not the remaining amount of the battery (battery power supply) is equal to or greater than the predetermined remaining amount by the power supply management unit A107. When the control unit A101 determines that the remaining battery level is equal to or higher than the predetermined remaining amount, the process proceeds to step S805. On the other hand, if the control unit A101 determines that the remaining battery level is less than the predetermined remaining amount, the process proceeds to step S821.

ステップS805において、制御部A101は、無線通信部A111によってアクセスポイントC100から無線LAN通信でブロードキャストされたビーコンパケットを受信する。ステップS805の処理は、図7に示すステップS714の処理に相当する。なお、ビーコンパケットを受信できなかった場合には、制御部A101は電源管理部A107によってカメラA100をスタンバイ状態とするようにしてもよい。 In step S805, the control unit A101 receives the beacon packet broadcast by the wireless communication unit A111 from the access point C100 by wireless LAN communication. The process of step S805 corresponds to the process of step S714 shown in FIG. 7. If the beacon packet cannot be received, the control unit A101 may set the camera A100 in the standby state by the power management unit A107.

続いて、ステップS806において、制御部A101は、受信したビーコンパケットに含まれるアクセスポイント情報と予め不揮発性メモリA103に記憶されたパスワード情報とに基づいて、アクセスポイントC100と無線LAN接続を確立する。ステップS806の処理は、図7に示すステップS715の処理に相当する。 Subsequently, in step S806, the control unit A101 establishes a wireless LAN connection with the access point C100 based on the access point information included in the received beacon packet and the password information previously stored in the non-volatile memory A103. The process of step S806 corresponds to the process of step S715 shown in FIG. 7.

次に、ステップS807において、制御部A101は、無線通信部A111によってアクセスポイントC100に未アップロードの画像の全てを送信する。ステップS807の処理は、図7に示すステップS716の処理に相当する。 Next, in step S807, the control unit A101 transmits all the unuploaded images to the access point C100 by the wireless communication unit A111. The process of step S807 corresponds to the process of step S716 shown in FIG. 7.

ステップS808において、制御部A101は、無線通信部A111によるアクセスポイントC100との通信を切断する。ステップS808の処理は、図7に示すステップS717の処理に相当する。 In step S808, the control unit A101 disconnects the communication with the access point C100 by the wireless communication unit A111. The process of step S808 corresponds to the process of step S717 shown in FIG. 7.

次に、ステップS821において、制御部A101は、ステップS820において開始したBLEのAdvertiseを停止する。そして、ステップS809において、制御部A101は、電源管理部A107によって電源をOFFしてカメラA100をスタンバイ状態とする。ステップS809の処理は、図7に示すステップS718の処理に相当する。なお、未アップロードの画像が存在しないか又はバッテリ残量が所定の残量未満である場合には、制御部A101はカメラA100を電源OFF状態としてもよい。 Next, in step S821, the control unit A101 stops the BLE Advance that started in step S820. Then, in step S809, the control unit A101 turns off the power supply by the power supply management unit A107 and puts the camera A100 in the standby state. The process of step S809 corresponds to the process of step S718 shown in FIG. If there is no unuploaded image or the remaining battery level is less than the predetermined remaining amount, the control unit A101 may turn off the power of the camera A100.

図9は、図7に示す画像送信が行われる際のスマートフォンB100の動作を説明するためのフローチャートである。なお、図示のフローチャートに係る処理は、制御部B101によって行われる。 FIG. 9 is a flowchart for explaining the operation of the smartphone B100 when the image transmission shown in FIG. 7 is performed. The process related to the illustrated flowchart is performed by the control unit B101.

図9に示すフローチャートに係る処理は、制御部B101が操作部B105からビーコンパケットの照合を開始するための操作を受け付けると開始される。例えば、ユーザによるメニュー操作に応じて、スマートフォンB100に搭載されたOS(Operating System)に対してBLEの機能および無線LANの機能が有効に設定され、フローチャートに係る処理を行うアプリケーションプログラム(以下単にアプリともいう)が起動する。これによって、スマートフォンB100はアクセスポイントC100から送信されたビーコンパケットの受信を待つ状態となって、図9に示すフローチャートに係る処理を開始する。 The process according to the flowchart shown in FIG. 9 is started when the control unit B101 receives an operation for starting beacon packet collation from the operation unit B105. 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) installed in the smartphone B100, and an application program that performs processing related to the flowchart (hereinafter, simply an application). Also called) starts. As a result, the smartphone B100 is in a state of waiting for the reception of the beacon packet transmitted from the access point C100, and starts the process according to the flowchart shown in FIG.

なお、カメラA100が接続希望するアクセスポイントC100のSSIDは、予めスマートフォンB100に省電力無線通信部B112を介してカメラA100から通知され、不揮発性メモリB103に記憶されているものとする。又はユーザが操作部B105によってアクセスポイントC100のSSIDをスマートフォンB100に入力するようにしてもよい。 It is assumed that the SSID of the access point C100 that the camera A100 wants to connect to is notified in advance from the camera A100 to the smartphone B100 via the power saving wireless communication unit B112 and stored in the non-volatile memory B103. Alternatively, the user may input the SSID of the access point C100 into the smartphone B100 by the operation unit B105.

ステップS910において、制御部B101は、不揮発性メモリB103にペアリング済みBLEデバイスのPeripheralID情報が1つ以上保存されているか否かを判定する。制御部B101はPeripheralID情報が存在しないと判定すると、処理を終了する。一方、制御部B101はPeripheralID情報が存在すると判定すると、ステップS901の処理に進む。 In step S910, the control unit B101 determines whether or not one or more Peripheral ID information of the paired BLE device is stored in the non-volatile memory B103. When the control unit B101 determines that the Peripheral ID information does not exist, the control unit B101 ends the process. On the other hand, if the control unit B101 determines that the Peripheral ID information exists, the process proceeds to the process of step S901.

ステップS901において、制御部B101は、受信したビーコンパケットに含まれるアクセスポイント情報のSSIDが不揮発性メモリB103に記憶されたSSIDと一致するか否かを判定する。制御部B101はSSIDが一致すると判定すると、ステップS920の処理に進む。一方、制御部B101はSSIDが一致しないと判定すると、ステップS903の処理に進む。なお、ステップS901の処理は、図7に示すステップS711の処理に相当する。 In step S901, the control unit B101 determines whether or not the SSID of the access point information included in the received beacon packet matches the SSID stored in the non-volatile memory B103. If the control unit B101 determines that the SSIDs match, the process proceeds to step S920. On the other hand, if the control unit B101 determines that the SSIDs do not match, the process proceeds to step S903. The process of step S901 corresponds to the process of step S711 shown in FIG. 7.

ステップS920にて、制御部B101は、省電力無線通信部B112によってBLE PeripheralからAdvertiseを受信したか否かを判定する。制御部B101は、Advertiseを受信したと判定すると、ステップS921の処理に進む。一方、制御部B101はAdvertiseを受信しなかったと判定すると、ステップS920の処理を繰り返す。 In step S920, the control unit B101 determines whether or not the Advantage has been received from the BLE Peripheral by the power saving wireless communication unit B112. When the control unit B101 determines that the Advantage has been received, the control unit B101 proceeds to the process of step S921. On the other hand, if the control unit B101 determines that the Advantage has not been received, the process of step S920 is repeated.

ステップS921において、制御部B101は、ステップS920において受信したAdvertiseがAP Findサービスを含むか否かを判定する。制御部B101はAdvertiseがAP Findサービスを含まないと判定すると、ステップS920の処理に戻る。一方、制御部B101はAdvertiseがAP Findサービスを含むと判定すると、ステップS911の処理に進む。ここで受信するAP FindサービスのAdvertiseは、図8に示すステップS820の処理においてカメラA100より送信されたAdvertiseに対応する。 In step S921, the control unit B101 determines whether or not the Advantage received in step S920 includes the AP Find service. When the control unit B101 determines that the Advanced does not include the AP Find service, the control unit B101 returns to the process of step S920. On the other hand, when the control unit B101 determines that the Advanced service includes the AP Find service, the control unit B101 proceeds to the process of step S911. The Advanced of the AP Find service received here corresponds to the Advanced transmitted from the camera A100 in the process of step S820 shown in FIG.

ステップS911において、制御部B101は、省電力無線通信部B112によって接続希望のアクセスポイントC100を検出した旨をカメラA100に通知する。例えば、制御部B101はBLEのGATTプロファイルによってアクセスポイント検出通知を行うためのAP Findサービスの送信を行う。AP Findサービスには、ステップS901の処理でビーコンを受信したアクセスポイントC100のSSIDを示すSSID特性が含まれている。 In step S911, the control unit B101 notifies the camera A100 that the access point C100 desired to be connected has been detected by the power saving wireless communication unit B112. For example, the control unit B101 transmits an AP Find service for performing an access point detection notification by the GATT profile of BLE. The AP Find service includes an SSID characteristic indicating the SSID of the access point C100 that received the beacon in the process of step S901.

SSID特性については、その値の書き込みに当たって、BLEにおけるペアリングと呼ばれるデバイス間の認証処理が必要なように設定されている。なお、ステップS911の処理によって送信されるアクセスポイント検出通知は、図8に示すステップS811において受信されアクセスポイント検出通知に対応する。また、ステップS911の処理は、図7に示すステップS712の処理に相当する。 The SSID characteristic is set so that an authentication process between devices called pairing in BLE is required when writing the value. The access point detection notification transmitted by the process of step S911 corresponds to the access point detection notification received in step S811 shown in FIG. Further, the process of step S911 corresponds to the process of step S712 shown in FIG. 7.

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

このように、本発明の第1の実施形態では、無線LANを無効にして省電力状態にあるカメラA100がアクセスポイントC100のビーコンを検出したスマートフォンB100からのBLE通知を受ける。そして、カメラA100は無線LANを有効にしてアクセスポイントC100との無線LAN通信を確立する。これによって、カメラA100はバッテリなどの電源を消耗することなく、接続希望のアクセスポイントC100を自動的に検出することができる。さらに、画像の転送が終了すると、カメラA100はBLEのAdvertizeを停止するようにしたので、さらに消費電力を低下させることができる。 As described above, in the first embodiment of the present invention, the camera A100 in the power saving state with the wireless LAN disabled receives the BLE notification from the smartphone B100 in which the beacon of the access point C100 is detected. Then, the camera A100 enables wireless LAN and establishes wireless LAN communication with the access point C100. As a result, the camera A100 can automatically detect the access point C100 desired to be connected without consuming a power source such as a battery. Further, when the image transfer is completed, the camera A100 stops the BLE advertisement, so that the power consumption can be further reduced.

[第2の実施形態]
続いて、本発明の第2の実施形態による通信装置を備える通信システムの一例について説明する。
[Second Embodiment]
Subsequently, an example of a communication system including a communication device according to a second embodiment of the present invention will be described.

<システムの概要>
前述の第1の実施形態においては、画像の転送が終わって無線LANを切断すると、カメラA100はBLEのAdvertiseを停止する場合について説明した。一方、第2の実施形態では、画像の転送が終わって無線LANを切断しても、カメラA100はBLEのAdvertiseを停止しない場合について説明する。
<Overview of the system>
In the first embodiment described above, the case where the camera A100 stops the BLE update when the image transfer is completed and the wireless LAN is disconnected has been described. On the other hand, in the second embodiment, a case will be described in which the camera A100 does not stop the BLE Advertise even if the image transfer is completed and the wireless LAN is disconnected.

第2の実施形態に係る通信システムの構成は図1に示す通信システムと同様であるので、ここでは説明を省略する。また、デジタルカメラA100とスマートフォンB100とは事前にペアリング済みであるものとする。 Since the configuration of the communication system according to the second embodiment is the same as that of the communication system shown in FIG. 1, the description thereof will be omitted here. Further, it is assumed that the digital camera A100 and the smartphone B100 have been paired in advance.

なお、第2の実施形態においては、AP Findサービスには第1の実施形態で説明した特性に加えて、カメラA100からスマートフォンB100に対してアクセスポイントC100の検出状態を設定するための検出状態特性が含まれるものとする。この検出状態特性には、「検出開始」と「検出停止」とがある。「検出開始」が設定されると、スマートフォンB100はアクセスポイントC100の検出を開始する。「検出停止」が設定されると、スマートフォンB100はアクセスポイントC100の検出を停止する。 In the second embodiment, in addition to the characteristics described in the first embodiment, the AP Find service has a detection state characteristic for setting the detection state of the access point C100 from the camera A100 to the smartphone B100. Shall be included. The detection state characteristics include "detection start" and "detection stop". When "Start detection" is set, the smartphone B100 starts detecting the access point C100. When "stop detection" is set, the smartphone B100 stops the detection of the access point C100.

カメラA100は、検出状態特性を「検出開始」にすることによって、スマートフォンB100に検出開始通知を行う。一方、カメラA100は、検出状態特性を「検出停止」にすることによって、スマートフォンB100に検出停止通知を行う。そして、ペアリングの際には、カメラA100は検出状態特性を「検出開始」としてAP FindサービスのAdvertiseを行う。 The camera A100 notifies the smartphone B100 of the start of detection by setting the detection state characteristic to "start detection". On the other hand, the camera A100 notifies the smartphone B100 of the detection stop by setting the detection state characteristic to "detection stop". Then, at the time of pairing, the camera A100 performs Advantage of the AP Find service with the detection state characteristic as "detection start".

図10は、本発明の第2の実施形態による通信装置を備える通信システムにおいて、アクセスポイント検出から画像送信までの処理の流れを説明するためのシーケンス図である。なお、図10において、図7に示すステップと同一のステップについては同一の参照符号を付して説明を省略する。 FIG. 10 is a sequence diagram for explaining a flow of processing from access point detection to image transmission in a communication system including a communication device according to a second embodiment of the present invention. In FIG. 10, the same steps as those shown in FIG. 7 are designated by the same reference numerals and the description thereof will be omitted.

ステップS717において、カメラA100は無線LANを切断した後、ステップ1001において、スマートフォンB100に対してBLEによってアクセスポイントC100の検出停止通知を送信する。 In step S717, the camera A100 disconnects the wireless LAN, and then in step 1001, the camera A100 transmits a detection stop notification of the access point C100 to the smartphone B100 by BLE.

カメラA100から検出停止通知を受信すると、スマートフォンB100は、ステップS1002においてアクセスポイント検出通知の送信を停止する。続いて、ステップS1003において、カメラA100は、ユーザによる撮影などによって未アップロードの画像が記録媒体A110に記録されるのを待つ。 Upon receiving the detection stop notification from the camera A100, the smartphone B100 stops the transmission of the access point detection notification in step S1002. Subsequently, in step S1003, the camera A100 waits for the unuploaded image to be recorded on the recording medium A110 due to shooting by the user or the like.

未アップロードの画像が記録媒体A110に記録されると、ステップS1004において、カメラA100はスマートフォンB100に対してBLEによってアクセスポイントC100の検出開始通知を送信する。そして、カメラA100から検出開始通知を受信すると、スマートフォンB100は、ステップS1005においてアクセスポイント検出通知の送信を開始する。 When the unuploaded image is recorded on the recording medium A110, in step S1004, the camera A100 transmits a detection start notification of the access point C100 to the smartphone B100 by BLE. Then, upon receiving the detection start notification from the camera A100, the smartphone B100 starts transmitting the access point detection notification in step S1005.

<各装置の動作>
図11は、本発明の第2の実施形態に係る通信システムにおいて、画像送信を行う際のカメラの動作を説明するためのフローチャートである。なお、図11に示すフローチャートにおいて、図8に示すフローチャートのステップと同一のステップについては同一の参照符号を付して説明を省略する。また、図示のフローチャートに係る処理は、制御部A101および副制御部A120の制御下で行われる。
<Operation of each device>
FIG. 11 is a flowchart for explaining the operation of the camera when transmitting an image in the communication system according to the second embodiment of the present invention. In the flowchart shown in FIG. 11, the same steps as those in the flowchart shown in FIG. 8 are designated by the same reference numerals and the description thereof will be omitted. Further, the processing according to the illustrated flowchart is performed under the control of the control unit A101 and the sub-control unit A120.

図11に示すフローチャートに係る処理は、操作部A105に備えられた電源スイッチによって電源OFFが行われると開始される。副制御部A120によってCentralID情報が存在すると判定されると、ステップS1101において、制御部A101は記録媒体A110に未アップロードの画像が所定の枚数以上存在するか否かを判定する。制御部A101は未アップロード画像が所定の枚数以上存在すると判定すると、ステップS1102の処理に進む。一方、制御部A101は未アップロード画像が所定の枚数未満であると判定すると、ステップS809の処理に進む。 The process according to the flowchart shown in FIG. 11 is started when the power is turned off by the power switch provided in the operation unit A105. When the sub-control unit A120 determines that the Central ID information exists, in step S1101, the control unit A101 determines whether or not there are a predetermined number or more of unuploaded images in the recording medium A110. When the control unit A101 determines that there are a predetermined number or more of unuploaded images, the process proceeds to step S1102. On the other hand, if the control unit A101 determines that the number of unuploaded images is less than a predetermined number, the process proceeds to step S809.

なお、未アップロード画像の枚数を判定するために、例えば、制御部A101は、撮影の際に画像の拡張情報領域に未アップロードを示すフラグを埋め込む。そして、アップロードの際に、制御部A101は当該フラグをアップロード済みに変更するようにしてもよい。さらに、所定の枚数は1枚でもよく、操作部A105からユーザが設定するようにしてもよい。 In order to determine the number of unuploaded images, for example, the control unit A101 embeds a flag indicating unuploaded in the extended information area of the image at the time of shooting. Then, at the time of uploading, the control unit A101 may change the flag to uploaded. Further, the predetermined number of sheets may be one, and may be set by the user from the operation unit A105.

ステップS1102において、制御部A101は、省電力無線通信部A112によってスマートフォンB100に対してアクセスポイントC100検出開始指示(検出要求)を送信する。例えば、制御部A101はBLEのGATTプロファイルに応じたAP Findサービスの検出状態特性を送信する。この際、検出状態特性は「検出開始」として送信される。なお、ステップS1102の処理は、図10に示すステップS1104の処理に相当する。 In step S1102, the control unit A101 transmits an access point C100 detection start instruction (detection request) to the smartphone B100 by the power saving wireless communication unit A112. For example, the control unit A101 transmits the detection state characteristic of the AP Find service according to the GATT profile of BLE. At this time, the detection state characteristic is transmitted as "detection start". The process of step S1102 corresponds to the process of step S1104 shown in FIG.

続いて、ステップS1103において、制御部A101は、電源管理部A107によってカメラA100をスタンバイ状態とする。その後、制御部A101は前述のステップS811の処理を行う。前述のステップS808の処理を行った後、制御部A101は、ステップS1104において省電力無線通信部A112によってスマートフォンB100に対してアクセスポイントC100の検出停止指示を送信する。例えば、制御部A101はBLEのGATTプロファイルに応じたAP Findサービスの検出状態特性の送信を行う。この際、検出状態特性は「検出停止」として送信される。なお、ステップS1104の処理は、図10に示すステップS1001の処理に相当する。ステップS1104の処理を行った後、制御部A101はステップS809の処理に進む。 Subsequently, in step S1103, the control unit A101 puts the camera A100 in the standby state by the power management unit A107. After that, the control unit A101 performs the process of step S811 described above. After performing the process of step S808 described above, the control unit A101 transmits a detection stop instruction of the access point C100 to the smartphone B100 by the power saving wireless communication unit A112 in step S1104. For example, the control unit A101 transmits the detection state characteristic of the AP Find service according to the GATT profile of BLE. At this time, the detection state characteristic is transmitted as "detection stop". The process of step S1104 corresponds to the process of step S1001 shown in FIG. After performing the process of step S1104, the control unit A101 proceeds to the process of step S809.

図12は、本発明の第2の実施形態に係る通信システムにおいて、画像送信が行われる際のスマートフォンB100の動作を説明するためのフローチャートである。なお、図12に示すフローチャートにおいて、図9に示すフローチャートのステップと同一のステップについては同一の参照符号を付して説明を省略する。また、図示のフローチャートに係る処理は、制御部B101の制御下で行われる。 FIG. 12 is a flowchart for explaining the operation of the smartphone B100 when image transmission is performed in the communication system according to the second embodiment of the present invention. In the flowchart shown in FIG. 12, the same steps as those in the flowchart shown in FIG. 9 are designated by the same reference numerals and the description thereof will be omitted. Further, the processing related to the illustrated flowchart is performed under the control of the control unit B101.

ステップS901においてビーコンパケットを検出しないか又はステップS911の処理を行った後、制御部B101は、ステップS1201において省電力無線通信部B112によってカメラA100から接続希望のアクセスポイントC100の検出停止通知を受けたか否かを判定する。例えば、制御部B101はBLEのGATTプロファイルに応じたAP Findサービスの検出状態特性を受信する。この際、検出状態特性が「検出停止」であれば、制御部B101は検出停止通知を受信したと判定する。制御部B101は検出停止通知を受信したと判定すると、ステップS1202の処理に進む。一方、制御部B101は検出停止通知を受信しないと判定すると、ステップS903の処理に進む。 Did the control unit B101 receive the detection stop notification of the access point C100 desired to be connected from the camera A100 by the power saving wireless communication unit B112 in step S1201 after the beacon packet was not detected in step S901 or the process of step S911 was performed? Judge whether or not. For example, the control unit B101 receives the detection state characteristic of the AP Find service according to the GATT profile of BLE. At this time, if the detection state characteristic is "detection stop", the control unit B101 determines that the detection stop notification has been received. When the control unit B101 determines that the detection stop notification has been received, the process proceeds to step S1202. On the other hand, if the control unit B101 determines that the detection stop notification is not received, the process proceeds to step S903.

ステップS1202において、制御部B101は、省電力無線通信部B112によってカメラA100から接続希望のアクセスポイントC100の検出開始通知を受信したか否かを判定する。例えば、制御部B101は、BLEのGATTプロファイルに応じたAP Findサービスの検出状態特性を受信する。この際、検出状態特性が「検出開始」であれば、制御部B101は検出開始通知を受信したと判定する。制御部B101は検出開始通知を受信したと判定すると、ステップS903の処理に進む。一方、制御部B101は検出開始通知を受信しないと判定すると、ステップS1202の処理を繰り返す。 In step S1202, the control unit B101 determines whether or not the power saving wireless communication unit B112 has received the detection start notification of the access point C100 desired to be connected from the camera A100. For example, the control unit B101 receives the detection state characteristic of the AP Find service according to the GATT profile of BLE. At this time, if the detection state characteristic is "detection start", the control unit B101 determines that the detection start notification has been received. When the control unit B101 determines that the detection start notification has been received, the process proceeds to step S903. On the other hand, if the control unit B101 determines that the detection start notification is not received, the process of step S1202 is repeated.

このように、本発明の第2の実施形態では、カメラA100からスマートフォンB100に対してアクセスポイントC100の検出が不要な場合にその旨を通知する。これによって、カメラA100はスマートフォンB100からの不要な検出通知の送信を停止することができる。また、BLEの動作はどのようなサービスであってもAdvertizeを必要とするので、カメラA100がBLEのAdvertiseを停止すると、カメラA100における他のBLEサービスの動作を妨げてしまう可能性がある。第2の実施形態では、Advertizeを停止しないので、AP Find以外のBLEサービスを同時に用いることができる。 As described above, in the second embodiment of the present invention, the camera A100 notifies the smartphone B100 when the detection of the access point C100 is unnecessary. As a result, the camera A100 can stop the transmission of unnecessary detection notifications from the smartphone B100. Further, since the operation of BLE requires Advertise for any service, if the camera A100 stops the Advance of BLE, the operation of other BLE services in the camera A100 may be hindered. In the second embodiment, since Advanced is not stopped, BLE services other than AP Find can be used at the same time.

[第3の実施形態]
続いて、本発明の第3の実施形態による通信装置を備える通信システムの一例について説明する。
[Third Embodiment]
Subsequently, an example of a communication system including a communication device according to a third embodiment of the present invention will be described.

<システムの概要>
前述の第2の実施形態においては、スマートフォンB100がアクセスポイントC100を検出した際に、カメラA100から検出開始通知を受けているときのみアクセスポイント検出通知をカメラA100に送信する場合について説明した。第3の実施形態では、カメラA100の未アップロードの画像枚数に応じて、アクセスポイント検出通知を送信するか否かをスマートフォンB100が判定する場合について説明する。
<Overview of the system>
In the second embodiment described above, when the smartphone B100 detects the access point C100, the case where the access point detection notification is transmitted to the camera A100 only when the detection start notification is received from the camera A100 has been described. In the third embodiment, a case where the smartphone B100 determines whether or not to transmit the access point detection notification according to the number of unuploaded images of the camera A100 will be described.

第3の実施形態に係る通信システムの構成は図1に示す通信システムと同様であるので、ここでは説明を省略する。また、デジタルカメラA100とスマートフォンB100とは事前にペアリング済みであるものとする。なお、第3の実施形態においては、AP Findサービスには第1の実施形態で説明した特性に加えて、カメラA100からスマートフォンB100に未アップロード画像の枚数を通知する画像枚数特性が含まれる。そして、ペアリングの際には、カメラA100は画像枚数特性を「0枚」としてAP FindサービスのAdvertiseを行う。 Since the configuration of the communication system according to the third embodiment is the same as that of the communication system shown in FIG. 1, the description thereof will be omitted here. Further, it is assumed that the digital camera A100 and the smartphone B100 have been paired in advance. In the third embodiment, in addition to the characteristics described in the first embodiment, the AP Find service includes an image number characteristic for notifying the smartphone B100 of the number of unuploaded images from the camera A100. Then, at the time of pairing, the camera A100 performs the AP Find service Advantage with the image number characteristic as "0 image".

図13は、本発明の第3の実施形態による通信装置を備える通信システムにおいて、アクセスポイント検出から画像送信までの処理の流れを説明するためのシーケンス図である。なお、図13において、図7に示すステップと同一のステップについては同一の参照符号を付して説明を省略する。 FIG. 13 is a sequence diagram for explaining a flow of processing from access point detection to image transmission in a communication system including a communication device according to a third embodiment of the present invention. In FIG. 13, the same steps as those shown in FIG. 7 are designated by the same reference numerals and the description thereof will be omitted.

ステップS1301において、カメラA100は、ユーザによる撮影などの未アップロードの画像枚数が変化する処理を受け付ける。そして、電源スイッチによって電源OFF操作を受け付けると、ステップS1302において、カメラA100はスマートフォンB100に対してBLEによって未アップロードの画像枚数通知を送信する。その後、ステップS1303において、カメラA100はスタンバイ状態となる。 In step S1301, the camera A100 accepts a process such as shooting by a user to change the number of unuploaded images. Then, when the power OFF operation is accepted by the power switch, in step S1302, the camera A100 transmits a notification of the number of unuploaded images to the smartphone B100 by BLE. After that, in step S1303, the camera A100 goes into a standby state.

カメラA100から画像枚数通知を受信すると、ステップS1304において、スマートフォンB100は、アクセスポイント検出通知の送信を開始する否かを判定する。ステップS1304で行われる判定については後述する。 Upon receiving the image number notification from the camera A100, in step S1304, the smartphone B100 determines whether or not to start transmitting the access point detection notification. The determination made in step S1304 will be described later.

ここで、スマートフォンB100は、アクセスポイント検出通知の送信を開始すると判定すると、前述のステップS710におけるビーコンパケットの受信からステップS717におけるデジタルカメラA100の無線LAN切断までの動作が行われる。 Here, when the smartphone B100 determines that the transmission of the access point detection notification is started, the operation from the reception of the beacon packet in the above-mentioned step S710 to the disconnection of the wireless LAN of the digital camera A100 in the step S717 is performed.

ステップS717の処理の後、ステップS1305において、カメラA100はスタンバイ状態に移行する前に、スマートフォンB100に対してBLEによって未アップロードの画像枚数通知を送信する。そして、カメラA100は、ステップS718においてスタンバイ状態に移行する。 After the process of step S717, in step S1305, the camera A100 transmits an unuploaded image number notification to the smartphone B100 by BLE before shifting to the standby state. Then, the camera A100 shifts to the standby state in step S718.

カメラA100から未アップロードの画像枚数通知を受信すると、ステップS1306において、スマートフォンB100はアクセスポイント検出通知の送信を停止するか否かを判定する。ステップS1306で行われる判定については後述する。 Upon receiving the notification of the number of unuploaded images from the camera A100, in step S1306, the smartphone B100 determines whether or not to stop the transmission of the access point detection notification. The determination made in step S1306 will be described later.

図示の例では、ステップS1305において通知される画像枚数は、ステップS716において画像送信が行われているので0枚である。よって、スマートフォンB100はアクセスポイント検出通知の送信を停止することになる。 In the illustrated example, the number of images notified in step S1305 is 0 because the image transmission is performed in step S716. Therefore, the smartphone B100 will stop transmitting the access point detection notification.

<各装置の動作>
図14は、本発明の第3の実施形態に係る通信システムにおいて、画像送信を行う際のカメラの動作を説明するためのフローチャートである。なお、図14に示すフローチャートにおいて、図8に示すフローチャートのステップと同一のステップについては同一の参照符号を付して説明を省略する。また、図示のフローチャートに係る処理は、制御部A101および副制御部A120の制御下で行われる。
<Operation of each device>
FIG. 14 is a flowchart for explaining the operation of the camera when transmitting an image in the communication system according to the third embodiment of the present invention. In the flowchart shown in FIG. 14, the same steps as those in the flowchart shown in FIG. 8 are designated by the same reference numerals and the description thereof will be omitted. Further, the processing according to the illustrated flowchart is performed under the control of the control unit A101 and the sub-control unit A120.

図14に示すフローチャートに係る処理は、操作部A105に備えられた電源スイッチによって制御部A101に電源OFFが指示されることによって開始される。副制御部A120によってCentralID情報が存在すると判定されると、ステップS1401において、制御部A101は、記録媒体A110に記憶された未アップロードの画像枚数を計数する。そして、制御部A101は省電力無線通信部A112によってスマートフォンB100に対して未アップロードの画像枚数通知を送信する。 The process according to the flowchart shown in FIG. 14 is started when the power switch provided in the operation unit A105 instructs the control unit A101 to turn off the power. When the sub-control unit A120 determines that the Central ID information exists, in step S1401, the control unit A101 counts the number of unuploaded images stored in the recording medium A110. Then, the control unit A101 transmits a notification of the number of unuploaded images to the smartphone B100 by the power-saving wireless communication unit A112.

例えば、制御部A101は、BLEのGATTプロファイルに応じたAP Findサービスの画像枚数特性の送信を行う。この際、画像枚数特性には未アップロードの画像枚数が書き込まれることになる。ステップS1401の処理は、図13に示すステップS1302の処理に相当する。 For example, the control unit A101 transmits the image number characteristic of the AP Find service according to the GATT profile of BLE. At this time, the number of unuploaded images is written in the image number characteristic. The process of step S1401 corresponds to the process of step S1302 shown in FIG.

なお、未アップロード画像の枚数を判定するために、制御部A101は、撮影の際に画像の拡張情報領域に未アップロードを示すフラグを埋め込む。そして、制御部A101はアップロードの際に当該フラグをアップロード済みに変更するようにしてもよい。 In order to determine the number of unuploaded images, the control unit A101 embeds a flag indicating unuploaded in the extended information area of the image at the time of shooting. Then, the control unit A101 may change the flag to uploaded at the time of uploading.

続いて、ステップS1402において、制御部A101は、電源管理部A107によってカメラA100をスタンバイ状態に移行させる。その後、処理はステップS811に進む。 Subsequently, in step S1402, the control unit A101 shifts the camera A100 to the standby state by the power management unit A107. After that, the process proceeds to step S811.

前述のステップS808の処理を行った後、ステップS1403において、制御部A101は、記録媒体A110に記憶された未アップロードの画像枚数を計数する。そして、制御部A101は省電力無線通信部A112によって、スマートフォンB100に対して未アップロードの画像枚数通知を送信する。例えば、制御部A101は、BLEのGATTプロファイルに応じたAP Findサービスの画像枚数特性の送信を行う。この際、画像枚数特性には未アップロードの画像枚数が書き込まれる。ステップS1403の処理は、図13に示すステップS1305の処理に相当する。 After performing the process of step S808 described above, in step S1403, the control unit A101 counts the number of unuploaded images stored in the recording medium A110. Then, the control unit A101 transmits a notification of the number of unuploaded images to the smartphone B100 by the power saving wireless communication unit A112. For example, the control unit A101 transmits the image number characteristic of the AP Find service according to the GATT profile of BLE. At this time, the number of unuploaded images is written in the image number characteristic. The process of step S1403 corresponds to the process of step S1305 shown in FIG.

なお、未アップロード画像の枚数を判定するために、制御部A101は、撮影の際に画像の拡張情報領域に未アップロードを示すフラグを埋め込む。そして、制御部A101はアップロードの際に当該フラグをアップロード済みに変更するようにしてもよい。 In order to determine the number of unuploaded images, the control unit A101 embeds a flag indicating unuploaded in the extended information area of the image at the time of shooting. Then, the control unit A101 may change the flag to uploaded at the time of uploading.

図15は、本発明の第3の実施形態に係る通信システムにおいて、画像送信が行われる際のスマートフォンB100の動作を説明するためのフローチャートである。なお、図15に示すフローチャートにおいて、図9に示すフローチャートのステップと同一のステップについては同一の参照符号を付して説明を省略する。また、図示のフローチャートに係る処理は、制御部B101の制御下で行われる。 FIG. 15 is a flowchart for explaining the operation of the smartphone B100 when image transmission is performed in the communication system according to the third embodiment of the present invention. In the flowchart shown in FIG. 15, the same steps as those in the flowchart shown in FIG. 9 are designated by the same reference numerals and the description thereof will be omitted. Further, the processing related to the illustrated flowchart is performed under the control of the control unit B101.

ステップS910において、制御部B101はPeripheralID情報が存在すると判定すると、ステップS1501の処理に進む。ステップS1501にて、制御部B101は、省電力無線通信部B112によってカメラA100から画像枚数通知を受信したか否かを判定する。例えば、制御部A101はBLEのGATTプロファイルに応じたAP Findサービスの画像枚数特性を受信したか否かを判定する。 If the control unit B101 determines in step S910 that the Peripheral ID information exists, the process proceeds to the process of step S1501. In step S1501, the control unit B101 determines whether or not the power saving wireless communication unit B112 has received the image number notification from the camera A100. For example, the control unit A101 determines whether or not the image number characteristic of the AP Find service according to the GATT profile of BLE has been received.

画像枚数通知を受信すると、制御部B101は画像枚数特性を読み取って、ステップS1502の処理に進む。一方、画像枚数通知を受信しないと、制御部B101はステップS1501の処理を繰り返す。 Upon receiving the image number notification, the control unit B101 reads the image number characteristic and proceeds to the process of step S1502. On the other hand, if the image number notification is not received, the control unit B101 repeats the process of step S1501.

ステップS1502において、制御部B101は、ステップS1501で受信した画像枚数が所定の枚数以上であるか否かを判定する。制御部B101は画像枚数が所定の枚数以上であると判定すると、ステップS901の処理に進む。一方、制御部B101は画像枚数が所定の枚数未満である判定すると、ステップS903の処理に進む。なお、上記の所定の枚数は1枚でもよく、操作部B105によってユーザが設定するようにしてもよい。 In step S1502, the control unit B101 determines whether or not the number of images received in step S1501 is equal to or greater than a predetermined number. When the control unit B101 determines that the number of images is equal to or greater than the predetermined number, the process proceeds to step S901. On the other hand, if the control unit B101 determines that the number of images is less than a predetermined number, the process proceeds to step S903. The predetermined number of sheets may be one, and may be set by the user by the operation unit B105.

このように、本発明の第3の実施形態では、カメラAS100からスマートフォンB100に対して、未アップロードの画像枚数を通知する。これによって、スマートフォンB100ではアクセスポイント検出通知をカメラA100に送信するか否かを容易に判定することができる。 As described above, in the third embodiment of the present invention, the camera AS100 notifies the smartphone B100 of the number of unuploaded images. As a result, the smartphone B100 can easily determine whether or not to transmit the access point detection notification to the camera A100.

以上、本発明について実施の形態に基づいて説明したが、本発明は、これらの実施の形態に限定されるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。 Although the present invention has been described above based on the embodiments, the present invention is not limited to these embodiments, and various embodiments within the range not deviating from the gist of the present invention are also included in the present invention. ..

例えば、上記の実施の形態の機能を制御方法として、この制御方法を通信装置に実行させるようにすればよい。また、上述の実施の形態の機能を有するプログラムを通信装置が備えるコンピュータに実行させるようにしてもよい。なお、制御プログラムは、例えば、コンピュータに読み取り可能な記録媒体に記録される。 For example, the function of the above embodiment may be used as a control method, and the communication device may be made to execute this control method. Further, the computer provided with the communication device may execute the program having the function of the above-described embodiment. The control program is recorded on, for example, a computer-readable recording medium.

[その他の実施形態]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける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 storage 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.

A100 デジタルカメラ
A101,B101 制御部
A102,B102 撮像部
A106,B106 表示部
A111,B111 無線通信部
A112,B112 省電力無線通信部
A120 副制御部
B100 スマートフォン
B113 公衆無線通信部
C100 アクセスポイント
A100 Digital camera A101, B101 Control unit A102, B102 Imaging unit A106, B106 Display unit A111, B111 Wireless communication unit A112, B112 Power saving wireless communication unit A120 Sub-control unit B100 Smartphone B113 Public wireless communication unit C100 Access point

Claims (14)

無線LANによって周囲の無線アクセスポイントから送信される信号を受信する第1の通信手段と、
前記無線LANと異なるBluetooth Low Energy(BLE)によってカメラとペアリングする第2の通信手段と、
ユーザから、前記無線アクセスポイントと前記カメラが前記無線LANによって接続するために用いられるSSIDの入力を受け付けるタッチパネルと、
前記タッチパネルにより受け付けられた前記SSIDを予め記録する記録手段と、
前記第2の通信手段によって前記カメラとペアリングしている場合、前記第1の通信手段により受信した前記無線アクセスポイントからの信号に含まれる情報と前記記録手段に記録されている前記SSIDとに基づいて、アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信するか又は前記アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信しないよう制御するかを切り替えるよう制御する制御手段と、を有し、
前記アクセスポイント検出信号は、検出された前記無線アクセスポイントを特定するための情報を含み、
前記制御手段は、前記SSIDが前記記録手段にあらかじめ記録された状態で、所定のアプリケーションを起動することによって自動的に前記無線アクセスポイントの検出を開始するよう制御し、前記アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信する場合、前記アプリケーションに従って前記アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信し、
前記第2の通信手段による通信は、前記第1の通信手段による通信よりも消費電力が低いことを特徴とするスマートフォン。
A first communication means for receiving signals transmitted from surrounding wireless access points by wireless LAN, and
A second communication means paired with the camera by Bluetooth Low Energy (BLE) different from the wireless LAN, and
A touch panel that accepts input from the user of the SSID used to connect the wireless access point and the camera via the wireless LAN.
A recording means for pre-recording the SSID received by the touch panel, and
When paired with the camera by the second communication means, the information included in the signal from the radio access point received by the first communication means and the SSID recorded in the recording means are used. Based on this, it is switched between transmitting the access point detection signal to the camera via the second communication means or controlling not to transmit the access point detection signal to the camera via the second communication means. Has a control means to control the
The access point detection signal includes information for identifying the detected wireless access point.
The control means controls to automatically start the detection of the wireless access point by starting a predetermined application in a state where the SSID is recorded in advance in the recording means, and the access point detection signal is transmitted to the said. When transmitting to the camera via the second communication means, the access point detection signal is transmitted to the camera via the second communication means according to the application.
A smartphone characterized in that the communication by the second communication means has lower power consumption than the communication by the first communication means.
前記第1の通信手段により受信した前記無線アクセスポイントからの信号に含まれる情報と、前記記録手段に記録されている前記SSIDとが同一の情報である場合、前記制御手段は、前記アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信するよう制御し、
前記第1の通信手段により受信した前記無線アクセスポイントからの信号に含まれる情報と、前記記録手段に記録されている前記SSIDとが同一の情報でない場合、前記制御手段は、前記アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信しないよう制御することを特徴とする請求項1に記載のスマートフォン。
When the information contained in the signal from the wireless access point received by the first communication means and the SSID recorded in the recording means are the same information, the control means detects the access point. Controlled to transmit the signal to the camera via the second communication means,
When the information contained in the signal from the wireless access point received by the first communication means and the SSID recorded in the recording means are not the same information, the control means has the access point detection signal. The smartphone according to claim 1, wherein the smartphone is controlled so as not to be transmitted to the camera via the second communication means.
前記カメラとの前記第2の通信手段を介したペアリングが確立していない場合は、前記記録手段に記録されているSSIDと同一の情報を含む前記無線アクセスポイントからの信号を受信しても、前記制御手段は前記アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信しないよう制御することを特徴とする請求項2に記載のスマートフォン。 When pairing with the camera via the second communication means has not been established, even if a signal from the radio access point containing the same information as the SSID recorded in the recording means is received. The smartphone according to claim 2, wherein the control means controls the access point detection signal so as not to be transmitted to the camera via the second communication means. 前記制御手段は、前記第1の通信手段により受信した前記無線アクセスポイントからの信号に含まれる情報と、前記記録手段に記録されている前記SSIDとが同一の情報である場合、前記アクセスポイント検出信号と共に前記記録手段に記録されている前記SSIDも、前記第2の通信手段を介して前記カメラに送信するよう制御することを特徴とする請求項1乃至3のいずれか1項に記載のスマートフォン。 When the information contained in the signal from the wireless access point received by the first communication means and the SSID recorded in the recording means are the same information, the control means detects the access point. The smartphone according to any one of claims 1 to 3, wherein the SSID recorded in the recording means together with the signal is also controlled to be transmitted to the camera via the second communication means. .. 前記第1の通信手段により受信した前記無線アクセスポイントからの信号に含まれる情報は、前記無線アクセスポイントが生成するネットワークを識別するためのネットワーク識別子を含むことを特徴とする請求項1乃至4のいずれか1項に記載のスマートフォン。 The information contained in the signal from the wireless access point received by the first communication means includes a network identifier for identifying a network generated by the wireless access point, according to claims 1 to 4. The smartphone described in any one of the items. 前記制御手段は、前記第1の通信手段により受信した前記無線アクセスポイントからの信号に含まれる前記ネットワーク識別子と、前記記録手段に記録されている前記SSIDに含まれるネットワーク識別子とを比較することを特徴とする請求項5に記載のスマートフォン。 The control means compares the network identifier included in the signal from the radio access point received by the first communication means with the network identifier included in the SSID recorded in the recording means. The smartphone according to claim 5, which is a feature. 前記記録手段はオペレーションシステムと、オペレーションシステムにインストールされるアプリケーションとを記録し、
前記アプリケーションが起動されることに応じて、前記制御手段は、前記第1の通信手段により受信した前記無線アクセスポイントからの信号に含まれる情報と前記記録手段に記録されている前記SSIDとに基づいて、アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信するか又は前記アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信しないよう制御するかを切り替えるよう制御することを特徴とする請求項1乃至6のいずれか1項に記載のスマートフォン。
The recording means records the operating system and the applications installed in the operating system.
In response to the activation of the application, the control means is based on information contained in a signal from the radio access point received by the first communication means and the SSID recorded in the recording means. To switch between transmitting the access point detection signal to the camera via the second communication means or controlling not to transmit the access point detection signal to the camera via the second communication means. The smartphone according to any one of claims 1 to 6, wherein the smartphone is controlled.
前記記録手段はオペレーションシステムと、オペレーションシステムにインストールされるアプリケーションとを記録し、
前記アプリケーションが起動されることに応じて、前記制御手段は、前記無線LANによって周囲の無線アクセスポイントから送信される信号を受信するよう前記第1の通信手段を制御することを特徴とする請求項1乃至6のいずれか1項に記載のスマートフォン。
The recording means records the operating system and the applications installed in the operating system.
A claim comprising controlling the first communication means so that the control means receives a signal transmitted from a surrounding wireless access point by the wireless LAN in response to the activation of the application. The smartphone according to any one of 1 to 6.
前記記録手段はオペレーションシステムと、オペレーションシステムにインストールされるアプリケーションとを記録し、
前記アプリケーションが起動されることに応じて、前記制御手段は、前記第1の通信手段により受信した前記無線アクセスポイントからの信号に含まれる前記ネットワーク識別子と、前記記録手段に記録されている前記SSIDに含まれるネットワーク識別子とを比較することを特徴とする請求項6に記載のスマートフォン。
The recording means records the operating system and the applications installed in the operating system.
In response to the activation of the application, the control means has the network identifier included in the signal from the radio access point received by the first communication means and the SSID recorded in the recording means. The smartphone according to claim 6, wherein the smartphone is compared with a network identifier included in the above.
前記第2の通信手段を介して、画像アップロードに関する情報を前記カメラと通信することを特徴とする請求項1乃至9のいずれか1項に記載のスマートフォン。 The smartphone according to any one of claims 1 to 9, wherein information regarding image upload is communicated with the camera via the second communication means. 前記第2の通信手段による通信は、前記第1の通信手段による通信よりも通信速度が遅いことを特徴とする請求項1乃至10のいずれか1項に記載のスマートフォン。 The smartphone according to any one of claims 1 to 10, wherein the communication by the second communication means has a slower communication speed than the communication by the first communication means. 公衆無線通信を介して、公衆網に接続する公衆通信手段をさらに有することを特徴とする請求項1乃至11のいずれか1項に記載のスマートフォン。 The smartphone according to any one of claims 1 to 11, further comprising a public communication means for connecting to a public network via public wireless communication. 無線LANによって周囲の無線アクセスポイントから送信される信号を受信する第1の通信手段と、前記無線LANと異なるBLEによってカメラとペアリングする第2の通信手段と、タッチパネルとを有するスマートフォンの制御方法であって、
ユーザから、前記無線アクセスポイントと前記カメラが前記無線LANによって接続するために用いられるSSIDの入力を前記タッチパネルを介して受け付ける受け付けステップと、
前記受け付けステップで受け付けられた前記SSIDを予めメモリに記録する記録ステップと、
前記第2の通信手段によって前記カメラとペアリングしている場合、前記第1の通信手段により受信した前記無線アクセスポイントからの信号に含まれる情報と前記メモリに記録されている前記SSIDとに基づいて、アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信するか又は前記アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信しないよう制御するかを切り替えるよう制御する制御ステップと、を有し、
前記アクセスポイント検出信号は、検出された前記無線アクセスポイントを特定するための情報を含み、
前記無線アクセスポイントの検出は、前記SSIDが前記メモリにあらかじめ記録された状態で、所定のアプリケーションを起動することによって自動的に開始するよう制御し、
前記アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信する場合、前記アプリケーションに従って前記アクセスポイント検出信号を前記第2の通信手段を介して前記カメラに送信し、
前記第2の通信手段による通信は、前記第1の通信手段による通信よりも消費電力が低いことを特徴とするスマートフォンの制御方法。
A method for controlling a smartphone having a first communication means for receiving a signal transmitted from a surrounding wireless access point by a wireless LAN, a second communication means for pairing with a camera by a BLE different from the wireless LAN, and a touch panel. And
A reception step for receiving input of an SSID used for connecting the wireless access point and the camera by the wireless LAN from the user via the touch panel.
A recording step in which the SSID received in the acceptance step is recorded in the memory in advance, and a recording step.
When paired with the camera by the second communication means, it is based on the information contained in the signal from the radio access point received by the first communication means and the SSID recorded in the memory. The access point detection signal is to be transmitted to the camera via the second communication means, or the access point detection signal is controlled not to be transmitted to the camera via the second communication means. Has a control step to control,
The access point detection signal includes information for identifying the detected wireless access point.
The detection of the wireless access point is controlled so as to be automatically started by starting a predetermined application with the SSID recorded in the memory in advance.
When the access point detection signal is transmitted to the camera via the second communication means, the access point detection signal is transmitted to the camera via the second communication means according to the application.
A method for controlling a smartphone, wherein the communication by the second communication means has lower power consumption than the communication by the first communication means.
コンピュータを、請求項1乃至12のいずれか1項に記載のスマートフォンの各手段として機能させるためのコンピュータが読み取り可能なプログラム。 A computer-readable program for operating a computer as each means of the smartphone according to any one of claims 1 to 12.
JP2019036136A 2015-02-02 2019-02-28 Smartphones, their control methods, and programs Active JP6972053B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019036136A JP6972053B2 (en) 2015-02-02 2019-02-28 Smartphones, their control methods, and programs

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015018303A JP6489852B2 (en) 2015-02-02 2015-02-02 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP2019036136A JP6972053B2 (en) 2015-02-02 2019-02-28 Smartphones, their control methods, and programs

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015018303A Division JP6489852B2 (en) 2015-02-02 2015-02-02 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2019118123A JP2019118123A (en) 2019-07-18
JP6972053B2 true JP6972053B2 (en) 2021-11-24

Family

ID=67304708

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019036136A Active JP6972053B2 (en) 2015-02-02 2019-02-28 Smartphones, their control methods, and programs

Country Status (1)

Country Link
JP (1) JP6972053B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4238507B2 (en) * 2002-02-25 2009-03-18 カシオ計算機株式会社 Movie creation system and movie creation method
JP5698475B2 (en) * 2010-07-29 2015-04-08 キヤノン株式会社 COMMUNICATION DEVICE, RELAY DEVICE, COMMUNICATION DEVICE CONTROL METHOD, RELAY DEVICE CONTROL METHOD, AND PROGRAM
US8606265B2 (en) * 2012-01-27 2013-12-10 Blackberry Limited Assisted system scanning with paired devices
KR101899744B1 (en) * 2013-05-06 2018-09-17 애플 인크. Delegating wifi network discovery and traffic monitoring

Also Published As

Publication number Publication date
JP2019118123A (en) 2019-07-18

Similar Documents

Publication Publication Date Title
JP6489852B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP6282046B2 (en) Information processing apparatus, control method for information processing apparatus, and program
JP6324188B2 (en) Communication device
KR101761106B1 (en) Communication apparatus and control method thereof
JP6092622B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
JP6366386B2 (en) COMMUNICATION DEVICE, IMAGING DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2015073231A (en) Communication device, communication method and program
JP6066724B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6385078B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6222979B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6972053B2 (en) Smartphones, their control methods, and programs
JP6415232B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6399854B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6877999B2 (en) Communication device, control method of communication device, program
JP2016058970A (en) Radio communication equipment, control method for radio communication equipment, and program
JP2015211353A (en) Communication terminal, data transmission system and connection control method therefor
JP6929697B2 (en) Communication equipment, its control method and program
JP6433231B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6386862B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP2016100722A (en) Imaging apparatus and control method for imaging apparatus
JP2016025374A (en) Communication device, communication device control method, and program
JP2019193069A (en) Communication device, and control method and program therefor

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190329

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190329

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200303

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20200408

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210629

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210730

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: 20211005

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211102

R151 Written notification of patent or utility model registration

Ref document number: 6972053

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151