JP6918634B2 - Imaging equipment, control methods and programs - Google Patents

Imaging equipment, control methods and programs Download PDF

Info

Publication number
JP6918634B2
JP6918634B2 JP2017159542A JP2017159542A JP6918634B2 JP 6918634 B2 JP6918634 B2 JP 6918634B2 JP 2017159542 A JP2017159542 A JP 2017159542A JP 2017159542 A JP2017159542 A JP 2017159542A JP 6918634 B2 JP6918634 B2 JP 6918634B2
Authority
JP
Japan
Prior art keywords
beacon
position information
role
receiving
control unit
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
JP2017159542A
Other languages
Japanese (ja)
Other versions
JP2019041151A (en
Inventor
龍太 水森
龍太 水森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2017159542A priority Critical patent/JP6918634B2/en
Publication of JP2019041151A publication Critical patent/JP2019041151A/en
Application granted granted Critical
Publication of JP6918634B2 publication Critical patent/JP6918634B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Details Of Cameras Including Film Mechanisms (AREA)
  • Studio Devices (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Navigation (AREA)

Description

本発明は、無線通信機能を有する撮影装置、制御方法及びプログラムに関する。 The present invention relates to a photographing device having a wireless communication function, a control method, and a program.

従来、通信速度は遅いが、低消費電力で動作できるBluetooth(登録商標)という規格が知られている。特にVersion4.0以降は、低消費電力に注力することで幅広い分野の機器で採用が進んでいる。一般的にVersion4.0以降のBluetoothは、Bluetooth Low Energy(以下BLE)と呼ばれている。BLEは、デジタルカメラにも搭載されており、同じくBLEに対応するスマートフォンとBLEでの常時接続することで様々な機能・サービスを実現する。例えば、スマートフォンが保持する位置情報をBLE通信でデジタルカメラに送信する機能がある。これにより、測位機能を持たないデジタルカメラであっても画像データに位置情報を付与できる。 Conventionally, a standard called Bluetooth (registered trademark), which has a slow communication speed but can operate with low power consumption, is known. In particular, since Version 4.0, it has been adopted in a wide range of devices by focusing on low power consumption. Generally, Bluetooth after Version 4.0 is called Bluetooth Low Energy (hereinafter referred to as BLE). BLE is also installed in digital cameras, and various functions and services are realized by always connecting to a smartphone that also supports BLE with BLE. For example, there is a function of transmitting the position information held by the smartphone to the digital camera by BLE communication. As a result, even a digital camera that does not have a positioning function can add position information to the image data.

特許文献1には、GPS(Global Positioning Service)と近距離無線を有し、GPSによる位置測位電波を受信できない場合は、近距離無線を用いて近くの機器から位置情報を取得する技術が開示されている。位置情報取得のために複数の経路を用意することで、位置情報取得の確率を高めることができる。 Patent Document 1 discloses a technique that has GPS (Global Positioning Service) and short-range radio waves, and acquires position information from a nearby device using short-range radio waves when it cannot receive positioning radio waves by GPS. ing. By preparing a plurality of routes for acquiring location information, the probability of acquiring location information can be increased.

特開2004−125490号公報Japanese Unexamined Patent Publication No. 2004-125490

BLEで接続したスマートフォンから位置情報を取得するカメラの場合には、スマートフォンがBLE通信圏内にいないとスマートフォンから位置情報を取得できず、撮影した画像に位置情報を付与することができない。この場合、特許文献1に記載されているように、BLEと異なる仕組みで位置情報を取得することも可能であるが、BLE以外の仕組みが必要になり、カメラの構造を複雑にしてしまうという問題がある。 In the case of a camera that acquires location information from a smartphone connected via BLE, the location information cannot be acquired from the smartphone unless the smartphone is within the BLE communication range, and the location information cannot be added to the captured image. In this case, as described in Patent Document 1, it is possible to acquire the position information by a mechanism different from that of BLE, but a mechanism other than BLE is required, which causes a problem that the structure of the camera is complicated. There is.

本発明はこのような問題点に鑑みなされたもので、無線通信機能を有する撮影装置において、装置の構造を複雑にすることなく、撮影装置によって得られた撮影画像に位置情報を付与できる確率を高めることを目的とする。 The present invention has been made in view of such a problem, and in a photographing apparatus having a wireless communication function, the probability that position information can be given to the captured image obtained by the photographing device without complicating the structure of the device can be determined. The purpose is to enhance.

そこで、本発明は、無線通信機能を有する撮影装置であって、被写体を撮影する撮影手段と、前記撮影装置の無線通信における役割として、前記撮影装置の存在を伝えるビーコンを送信する役割と、外部装置からビーコンを受信する役割のいずれかを設定し、前記ビーコンを送信する役割に設定されている状態において、外部装置との無線接続を確立中でない場合に、前記撮影装置の役割を、前記ビーコンを受信する役割に切り替える設定手段と、前記ビーコンを送信する役割に設定されている場合には、前記ビーコンを受信した外部装置から該外部装置の位置情報を受信し、前記ビーコンを受信する役割が設定されている場合には、送信元の位置情報を含んだビーコンを受信する受信手段と、前記受信手段が位置情報を受信した場合に、受信した位置情報に基づいて特定された前記撮影装置の位置情報を、前記撮影手段により得られた撮影画像に付与し、前記受信手段が前記ビーコンを受信した場合に、受信したビーコンに含まれる位置情報に基づいて特定された前記撮影装置の位置情報を、前記撮影画像に付与する付与手段とを有することを特徴とする。 Therefore, the present invention is a photographing device having a wireless communication function, which has a photographing means for photographing a subject, a role of transmitting a beacon for transmitting the existence of the photographing device as a role in wireless communication of the photographing device, and an external device. When one of the roles of receiving a beacon from the device is set and the role of transmitting the beacon is set and the wireless connection with the external device is not established, the role of the photographing device is set to the beacon. The setting means for switching to the role of receiving the beacon and, when set to the role of transmitting the beacon, the role of receiving the position information of the external device from the external device that received the beacon and receiving the beacon. When set, the receiving means for receiving the beacon including the position information of the transmission source and the photographing device specified based on the received position information when the receiving means receives the position information. Position information is added to the captured image obtained by the photographing means, and when the receiving means receives the beacon, the position information of the photographing device specified based on the position information included in the received beacon is given. It is characterized by having an giving means to give to the photographed image.

本発明によれば、無線通信機能を有する撮影装置において、装置の構造を複雑にすることなく、撮影装置によって得られた撮影画像に位置情報を付与できる確率を高めることができる。 According to the present invention, in a photographing device having a wireless communication function, it is possible to increase the probability that position information can be added to a photographed image obtained by the photographing device without complicating the structure of the device.

デジタルカメラを示す図である。It is a figure which shows the digital camera. 端末装置を示す図である。It is a figure which shows the terminal device. 無線アクセスポイントを示す図である。It is a figure which shows the wireless access point. システムの全体図である。It is an overall view of the system. 位置情報受信処理を示すシーケンス図である。It is a sequence diagram which shows the position information reception processing. GATTサーバーを示す図である。It is a figure which shows the GATT server. 端末装置が位置情報を取得する処理を示すフローチャートである。It is a flowchart which shows the process which a terminal device acquires a position information. Advertiseのデータ構成の一例を示す図である。It is a figure which shows an example of the data structure of Advantage. 位置情報取得処理を示すフローチャートである。It is a flowchart which shows the position information acquisition processing. 第2の実施形態に係る位置情報取得処理を示すフローチャートである。It is a flowchart which shows the position information acquisition processing which concerns on 2nd Embodiment.

以下、本発明の実施形態について図面に基づいて説明する。
(第1の実施形態)
図1は、撮影装置としてのデジタルカメラ100を示す図である。101は、レンズで、被写体像をデジタルカメラ100内に取り込む。撮像部102は、CCDやCMOS等の撮像素子や各種電子機器を含み、レンズ101により光学的に取り込まれた被写体像をデジタルデータに変換する。制御部103は、デジタルカメラ100の全体を制御する。制御部103は、例えばCentral Processing Unit(CPU)である。画像処理部104は、撮像部102で取り込まれた静止画に対し画像処理を施す。符号化部105は、画像処理部104で処理された画像データに対して、所望の符号化方式に従った符号化処理を行う。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(First Embodiment)
FIG. 1 is a diagram showing a digital camera 100 as a photographing device. Reference numeral 101 denotes a lens, which captures a subject image into the digital camera 100. The image pickup unit 102 includes an image pickup element such as a CCD or CMOS and various electronic devices, and converts a subject image optically captured by the lens 101 into digital data. The control unit 103 controls the entire digital camera 100. The control unit 103 is, for example, a Central Processing Unit (CPU). The image processing unit 104 performs image processing on the still image captured by the imaging unit 102. The coding unit 105 performs coding processing on the image data processed by the image processing unit 104 according to a desired coding method.

Read Only Memory(ROM)106は、書き換え可能な不揮発性メモリでOperating System(OS)などのプログラムや、外部装置から供給されるプログラムを保持する。Random Access Memory(RAM)107は揮発性メモリでプログラムや撮影された画像データや、通信データ等を一時記憶する。記憶部108は、デジタルカメラ100に着脱可能なメモリカードである。記憶部108は、デジタルカメラ100で撮影した画像データ・動画データを記憶することが可能である。なお、後述するデジタルカメラ100の機能や処理は、制御部103がROM106に格納されているプログラムを読み出し、このプログラムを実行することにより実現されるものである。 The Read Only Memory (ROM) 106 is a rewritable non-volatile memory that holds programs such as an Operating System (OS) and programs supplied from an external device. The Random Access Memory (RAM) 107 temporarily stores programs, captured image data, communication data, and the like in a volatile memory. The storage unit 108 is a memory card that can be attached to and detached from the digital camera 100. The storage unit 108 can store image data / moving image data taken by the digital camera 100. The functions and processes of the digital camera 100, which will be described later, are realized by the control unit 103 reading a program stored in the ROM 106 and executing this program.

Bit Move Unit(BMU)109は、例えばメモリ間(例えば、RAM107と他のメモリとの間)や、メモリと各I/Oデバイス(例えば、無線部110)間においてシステムバス111を介して行われるデータ転送を制御する。無線部110は、近距離での機器間通信により端末装置200と通信する。 The Bit Move Unit (BMU) 109 is performed, for example, between the memories (for example, between the RAM 107 and another memory) or between the memories and each I / O device (for example, the radio unit 110) via the system bus 111. Control data transfer. The wireless unit 110 communicates with the terminal device 200 by inter-device communication in a short distance.

無線部110は、Bluetooth(登録商標)により、近距離無線通信を行う。Bluetoothは、例えば無線LANよりも通信速度は遅いが消費電力は低いという特徴を持つ無線インターフェイスである。本実施形態においては、無線部110は、Bluetooth規格のバージョン4.0以降で規定されたBluetooth Low Energy規格(BLE)に準拠しているものとする。さらに、無線部110は、BLEにおける役割としてアドバタイザー、スキャナーのいずれの役割としても機能できるものとする。すなわち、無線部110は、アドバタイザーとしてAdvertiseを送信することで他の機器(外部装置)に自装置の存在を伝えることができ、かつ他の機器が発するAdvertiseをスキャナーとして受信することもできる。なお、アドバタイザーが送信するAdvertiseは、自装置の存在を伝えるビーコンの一例であり、アドバタイザーは、ビーコンを送信する役割の一例である。スキャナーは、外部装置からビーコンを受信する役割の一例である。システムバス111は、102〜110の各ブロックを通信可能に接続する。 The wireless unit 110 performs short-range wireless communication by Bluetooth (registered trademark). Bluetooth is a wireless interface characterized in that the communication speed is slower than that of a wireless LAN, but the power consumption is low, for example. In the present embodiment, it is assumed that the radio unit 110 complies with the Bluetooth Low Energy standard (BLE) specified in version 4.0 or later of the Bluetooth standard. Further, the radio unit 110 can function as either an advertiser or a scanner as a role in BLE. That is, the radio unit 110 can convey the existence of its own device to another device (external device) by transmitting the update as an advertiser, and can also receive the update emitted by the other device as a scanner. The Advertiser transmitted by the advertiser is an example of a beacon that conveys the existence of the own device, and the advertiser is an example of a role of transmitting the beacon. The scanner is an example of a role of receiving a beacon from an external device. The system bus 111 connects each block of 102 to 110 so as to be communicable.

図2は、端末装置200を示す図である。端末装置200は、デジタルカメラ100とBLE接続する。なお、端末装置200は、単一のコンピュータ装置で実現してもよいし、必要に応じた複数のコンピュータ装置に各機能を分散して実現するようにしてもよい。制御部201は、端末装置200全体を制御する。制御部201は例えばCPUである。ROM202は、書き換え可能な不揮発性メモリでOS等のプログラムや、外部装置から供給されるプログラムを保持する。RAM203は、揮発性メモリでプログラムやデータを一時記憶する。記憶部204は、画像データなどを記憶する。記憶部204は、例えば端末装置200に固定して設置されたハードディスクドライブ(HDD)や、フラッシュメモリで構成されるソリッドステートドライブ(SSD)である。記憶部204はまた、ハードディスクとフラッシュメモリを併用したハイブリッドドライブやメモリカードであってもよい。なお、後述する端末装置200の機能や処理は、制御部201がROM202等に格納されているプログラムを読み出し、このプログラムを実行することにより実現されるものである。 FIG. 2 is a diagram showing a terminal device 200. The terminal device 200 is BLE-connected to the digital camera 100. The terminal device 200 may be realized by a single computer device, or may be realized by distributing each function to a plurality of computer devices as required. The control unit 201 controls the entire terminal device 200. The control unit 201 is, for example, a CPU. The ROM 202 is a rewritable non-volatile memory that holds programs such as an OS and programs supplied from an external device. The RAM 203 temporarily stores programs and data in a volatile memory. The storage unit 204 stores image data and the like. The storage unit 204 is, for example, a hard disk drive (HDD) fixedly installed in the terminal device 200 or a solid state drive (SSD) composed of a flash memory. The storage unit 204 may also be a hybrid drive or a memory card in which a hard disk and a flash memory are used in combination. The functions and processes of the terminal device 200, which will be described later, are realized by the control unit 201 reading a program stored in the ROM 202 or the like and executing this program.

BMU205は、例えばメモリ間(例えば、VRAM206と他のメモリとの間)や、メモリと各I/Oデバイス(例えば、無線部209、無線LAN部210)間のデータ転送を制御する。Video R A M(VRAM)206は、液晶モニター208に表示する為の画像を描画する。このVRAM206に生成した画像は所定の規定に従って液晶モニター208に送信される。これにより液晶モニター208は画像を表示する。液晶モニター208はタッチセンサ207を有するタッチパネルである。タッチパネルは、液晶モニター208に重ね合わせて平面的に構成され、接触された位置に応じた座標情報が出力されるようにした入力デバイスである。制御部201は、タッチパネルへのユーザ操作に応じた指示を受け付ける。 The BMU 205 controls, for example, data transfer between memories (for example, between VRAM 206 and another memory) or between the memory and each I / O device (for example, wireless unit 209, wireless LAN unit 210). The Video RAM (VRAM) 206 draws an image to be displayed on the liquid crystal monitor 208. The image generated in the VRAM 206 is transmitted to the liquid crystal monitor 208 according to a predetermined specification. As a result, the liquid crystal monitor 208 displays an image. The liquid crystal monitor 208 is a touch panel having a touch sensor 207. The touch panel is an input device that is superposed on the liquid crystal monitor 208 and is configured in a plane so that coordinate information corresponding to the contacted position is output. The control unit 201 receives an instruction to the touch panel according to a user operation.

無線部209は、近距離無線通信によりデジタルカメラ100等の他の機器との無線通信を行う。無線部209は例えば、無線通信を介して、後述の無線アクセスポイントが送信する位置情報を受信する。無線部209は、デジタルカメラ100の無線部110と同様に、BLEに準拠しているものとする。ただし、無線部209は、BLEにおける役割としてスキャナーの役割で動作できればよい。無線部209は、他の機器が送信するAdvertiseを受信し、必要に応じてBLE接続を確立する。無線LAN部210は、無線アクセスポイントと通信することでインターネットへ接続する。 The wireless unit 209 performs wireless communication with other devices such as the digital camera 100 by short-range wireless communication. The wireless unit 209 receives, for example, the position information transmitted by the wireless access point described later via wireless communication. It is assumed that the wireless unit 209 conforms to BLE, like the wireless unit 110 of the digital camera 100. However, the radio unit 209 may operate in the role of a scanner as a role in BLE. The radio unit 209 receives the update transmitted by another device, and establishes a BLE connection as necessary. The wireless LAN unit 210 connects to the Internet by communicating with the wireless access point.

GPS部211は、Global Positioning Serviceに準拠した位置測位を行う。GPS部211は、衛星からの電場を受信し、演算処理を行うことで端末装置200の正確な位置情報を算出する。GPSにより位置情報を算出するのは、屋外での位置測位に有効である。システムバス212は201〜211の各ブロックを通信可能に接続する。 The GPS unit 211 performs positioning based on the Global Positioning Service. The GPS unit 211 receives the electric field from the satellite and performs arithmetic processing to calculate accurate position information of the terminal device 200. Calculation of position information by GPS is effective for outdoor position positioning. The system bus 212 connects each block of 201 to 211 so as to be communicable.

図3は、本実施例における無線アクセスポイント(AP)300を示す図である。無線AP300は単一のコンピュータ装置で実現してもよいし、必要に応じた複数のコンピュータ装置に各機能を分散して実現するようにしてもよい。制御部301は、無線AP300全体を制御する。制御部301は、例えばCPUである。ROM302は、書き換え可能な不揮発性メモリで、OSなどのプログラムや、外部装置から供給されるプログラムを保持する。RAM303は、揮発性メモリでプログラムやデータを一時記憶する。記憶部304は、無線AP300の設定や実行するプログラムなど記憶する。記憶部304は、例えば無線AP300に固定して設置されたHDD、SSD、ハードディスクとフラッシュメモリを併用したハイブリッドドライブやメモリカードなどである。BMU305は、例えばメモリ間(例えば、RAM303と他のメモリとの間)や、メモリと各I/Oデバイス(例えば、無線部306や無線LAN部307)間のデータ転送を制御する。 FIG. 3 is a diagram showing a wireless access point (AP) 300 in this embodiment. The wireless AP 300 may be realized by a single computer device, or may be realized by distributing each function to a plurality of computer devices as required. The control unit 301 controls the entire wireless AP 300. The control unit 301 is, for example, a CPU. The ROM 302 is a rewritable non-volatile memory that holds programs such as an OS and programs supplied from an external device. The RAM 303 temporarily stores programs and data in a volatile memory. The storage unit 304 stores the settings of the wireless AP 300 and the program to be executed. The storage unit 304 is, for example, an HDD, an SSD, a hybrid drive or a memory card in which a hard disk and a flash memory are used in combination, which are fixedly installed in the wireless AP300. The BMU 305 controls, for example, data transfer between memories (for example, between RAM 303 and another memory) or between memory and each I / O device (for example, wireless unit 306 or wireless LAN unit 307).

無線部306は、近距離無線通信により他の機器との無線通信を行う。無線部209は、無線部110等と同様に、BLEに準拠しているものとする。ただし、無線部306は、BLEにおける役割としてアドバタイザーの役割で動作できればよい。無線部306は、BLEのIndoor Positioning Service(IPS)に準拠したAdvertiseができる機能を有し、IPS準拠の位置情報を送信することができる。送信される位置情報は無線AP300の設置時に設定されているものとする。無線LAN部307は、端末装置200と接続して無線通信を行い、端末装置200に対しインターネットへのアクセスを提供する。システムバス308は、301〜307の各ブロックを通信可能に接続する。 The wireless unit 306 performs wireless communication with other devices by short-range wireless communication. It is assumed that the radio unit 209 conforms to BLE in the same manner as the radio unit 110 and the like. However, the radio unit 306 may operate in the role of an advertiser as a role in BLE. The radio unit 306 has a function of performing an update compliant with the Indoor Positioning Service (IPS) of BLE, and can transmit IPS-compliant position information. It is assumed that the transmitted position information is set when the wireless AP 300 is installed. The wireless LAN unit 307 connects to the terminal device 200 to perform wireless communication, and provides the terminal device 200 with access to the Internet. The system bus 308 connects each block of 301 to 307 in a communicable manner.

なお、デジタルカメラ100、端末装置200及び無線AP300が利用する近距離無線通信は、Bluetoothに限定されるものではなく、これ以外の近距離無線通信の方式を用いることとしてもよい。 The short-range wireless communication used by the digital camera 100, the terminal device 200, and the wireless AP300 is not limited to Bluetooth, and other short-range wireless communication methods may be used.

図4は、デジタルカメラ100が、撮影により得られた撮影画像に対し位置情報を付与する処理を実現するシステムの全体図である。デジタルカメラ100は、端末装置200とBLEで接続する。デジタルカメラ100は、低消費電力のBLEを利用することで常時接続が可能となり、端末装置200から位置情報を定期的に取得するだけでなく、撮影のタイミングで最新の位置情報を取得することができる。また、デジタルカメラ100は、無線AP300が送信する、位置情報を含んだAdvertiseを取得することで、Advertiseに含まれる位置情報を取得することもできる。 FIG. 4 is an overall view of a system in which the digital camera 100 realizes a process of imparting position information to a captured image obtained by photographing. The digital camera 100 is connected to the terminal device 200 by BLE. The digital camera 100 can be always connected by using the low power consumption BLE, and not only the position information can be periodically acquired from the terminal device 200, but also the latest position information can be acquired at the timing of shooting. can. Further, the digital camera 100 can also acquire the position information included in the update by acquiring the address including the position information transmitted by the wireless AP 300.

端末装置200は、デジタルカメラ100に提供する位置情報を、複数の方法により取得する。1つ目は、GPS衛星400が発するGPS電波をGPS部211で受信して位置情報を算出する方法である。これは、屋外での測位に効果を発揮する。2つ目は、無線AP300が送信する、位置情報を含むAdvertiseを受信する方法である。これは、GPS電波の届かない屋内で効果を発揮する。3つ目は、端末装置200が、無線AP300と無線LAN接続を通してインターネット401に接続し、位置情報管理サーバー402から無線AP300の位置情報を取得する方法である。位置情報管理サーバー402は、SSIDの情報とその位置情報を紐付けて管理している。端末装置200は、無線AP300を指し示すSSID(Service Set IDentifier)の情報を用い、位置情報管理サーバー402に対してインターネット401を経由して問い合わせることで位置情報を取得する。これも、GPS電波の届かないところで効果を発揮する。デジタルカメラ100は、端末装置200が取得した位置情報を受信する。このため、デジタルカメラ100は、GPS等の測位のための機能を有さなくとも、撮影画像に位置情報を付与することが可能になる。 The terminal device 200 acquires the position information provided to the digital camera 100 by a plurality of methods. The first is a method in which the GPS unit 211 receives the GPS radio waves emitted by the GPS satellite 400 and calculates the position information. This is effective for outdoor positioning. The second is a method of receiving the update including the position information transmitted by the wireless AP 300. This is effective indoors where GPS radio waves do not reach. The third method is a method in which the terminal device 200 connects to the Internet 401 through a wireless LAN connection with the wireless AP 300 and acquires the location information of the wireless AP 300 from the location information management server 402. The location information management server 402 manages the SSID information in association with the location information. The terminal device 200 acquires the location information by inquiring the location information management server 402 via the Internet 401 using the information of the SSID (Service Set Identifier) indicating the wireless AP 300. This is also effective in places where GPS radio waves do not reach. The digital camera 100 receives the position information acquired by the terminal device 200. Therefore, the digital camera 100 can add position information to the captured image even if it does not have a function for positioning such as GPS.

図5は、デジタルカメラ100が端末装置200から位置情報を受信する処理を示すシーケンス図である。本処理は、デジタルカメラ100と端末装置200がBLE未接続の状態において開始される。S501において、デジタルカメラ100が起動する。デジタルカメラ100は、例えば、利用者が撮影を行うために電源ボタンを押下する操作に応じて起動する。次に、S502において、デジタルカメラ100の制御部103は、BLEの規格に従ったAdvertiseを開始するよう制御する。具体的には、制御部103は、無線部110に対してAdvertise間隔等の設定値と、Advertiseのデータを設定する。これに対応し、無線部110は、Advertiseのパケットの送信を開始する。S502の処理により、デジタルカメラ100は、自装置の存在を周囲の機器に知らせることができる。Advertiseは、Advertise間隔に従い定期的に配信されるブロードキャストの形式をとり、配信間隔が長くなれば長時間Advertiseを配信し続けられる。デジタルカメラ100は、基本的にBLE接続に際しアドバタイザー機器として振る舞う。 FIG. 5 is a sequence diagram showing a process in which the digital camera 100 receives position information from the terminal device 200. This process is started when the digital camera 100 and the terminal device 200 are not connected to BLE. In S501, the digital camera 100 is activated. The digital camera 100 is activated, for example, in response to an operation in which the user presses the power button to take a picture. Next, in S502, the control unit 103 of the digital camera 100 controls to start the update according to the BLE standard. Specifically, the control unit 103 sets the setting values such as the Adaptise interval and the Adaptise data for the radio unit 110. Correspondingly, the radio unit 110 starts transmitting the Advertise packet. By the processing of S502, the digital camera 100 can notify the surrounding devices of the existence of its own device. The update takes the form of a broadcast that is periodically delivered according to the update interval, and if the delivery interval is long, the update can be continuously delivered for a long time. The digital camera 100 basically behaves as an advertiser device when connecting to BLE.

端末装置200の制御部201は、Advertiseを受信すると、S503において、Adevertiseに対する応答として、デジタルカメラ100に対して接続要求を送信するよう制御する。具体的には、制御部201は、無線部209に対して接続要求を設定する。これに対応し、無線部209は、接続要求を送信する。なお、他の例としては、制御部201は、Advertiseを受信し、かつユーザから接続指示を受け付けた場合に、接続要求を送信することとしてもよい。例えば、端末装置200は、Advertiseを受信した場合に、デジタルカメラ100の存在を示す情報を液晶モニター208に表示した上で、ユーザから接続指示を受け付けることとしてもよい。 Upon receiving the update, the control unit 201 of the terminal device 200 controls in S503 to transmit a connection request to the digital camera 100 as a response to the update. Specifically, the control unit 201 sets a connection request for the wireless unit 209. Correspondingly, the radio unit 209 transmits a connection request. As another example, the control unit 201 may transmit a connection request when the Advance is received and the connection instruction is received from the user. For example, when the terminal device 200 receives the update, the terminal device 200 may receive the connection instruction from the user after displaying the information indicating the existence of the digital camera 100 on the liquid crystal monitor 208.

次に、S504において、デジタルカメラ100の制御部103と端末装置200の制御部201は、BLEの接続を確立するよう制御する。これは、リンク層の接続である。S504において、制御部103及び制御部201の制御の下、無線部110と無線部209がBLEとしてのサポート機能に関する情報の交換などを行うことで、無線電波のやり取りが可能な状態となる。基本的にはS503において接続要求が送信されたことをきっかけとして、無線部110及び無線部209がBLEの規格に従いリンク層の接続確立を自動的に行う。制御部103及び制御部201は、それぞれ無線部110と無線部209の状態を監視することでBLE接続の完了を把握することができる。 Next, in S504, the control unit 103 of the digital camera 100 and the control unit 201 of the terminal device 200 control to establish the connection of BLE. This is a link layer connection. In S504, under the control of the control unit 103 and the control unit 201, the radio unit 110 and the radio unit 209 exchange information regarding the support function as BLE, so that radio waves can be exchanged. Basically, the radio unit 110 and the radio unit 209 automatically establish the connection of the link layer according to the BLE standard, triggered by the transmission of the connection request in S503. The control unit 103 and the control unit 201 can grasp the completion of the BLE connection by monitoring the states of the radio unit 110 and the radio unit 209, respectively.

次に、S505において、制御部103と制御部201は、ATTサービスでの接続を確立する。これは、アプリケーション層の接続である。制御部103及び制御部201は、S504において確立されたBLE接続を土台として、各種機能が提供できるATTでの接続を確立する。通信としてはATTが規定するプロトコルに従う。本処理は、デジタルカメラ100の制御部103が無線部110を、端末装置200の制御部201が無線部209を使ってリクエストやレスポンスのやり取りを行うことで実現できる。 Next, in S505, the control unit 103 and the control unit 201 establish a connection in the ATT service. This is an application layer connection. The control unit 103 and the control unit 201 establish an ATT connection that can provide various functions based on the BLE connection established in S504. Communication follows the protocol specified by ATT. This processing can be realized by exchanging requests and responses by the control unit 103 of the digital camera 100 using the wireless unit 110 and the control unit 201 of the terminal device 200 using the wireless unit 209.

本実施形態においては、デジタルカメラ100は、図6に示すような位置情報に関するサービスに対応しているものとする。GATT(General ATTribute Profile)に準拠したサーバー機能であるGATTサーバー601に位置情報受付サービス602が用意されている。GATTサーバー601は、制御部103で実行されるプログラムとしてRAM107上に存在する。位置情報受付サービス602はGATTサーバー601のプログラムが管理するデータとしてRAM107上に存在する。さらに位置情報受付サービス602は、それ自身を一意に特定するためのUUID(Universally Unique IDentifier)603を有している。さらに、位置情報受付サービス602は、実際の値としてハンドル604で識別可能な緯度値606と、ハンドル605で識別可能な経度値607を有している。デジタルカメラ100は、緯度値606及び経度値607を参照することで位置情報を活用できる。 In the present embodiment, it is assumed that the digital camera 100 corresponds to the service related to the position information as shown in FIG. The location information reception service 602 is provided on the GATT server 601 which is a server function compliant with GATT (General ATTrivute Profile). The GATT server 601 exists on the RAM 107 as a program executed by the control unit 103. The location information reception service 602 exists on the RAM 107 as data managed by the program of the GATT server 601. Further, the location information reception service 602 has a UUID (Universally Unique Identifier) 603 for uniquely identifying itself. Further, the location information reception service 602 has a latitude value 606 that can be identified by the handle 604 and a longitude value 607 that can be identified by the handle 605 as actual values. The digital camera 100 can utilize the position information by referring to the latitude value 606 and the longitude value 607.

図5に戻り、S505の処理の後、S506において、端末装置200の制御部201は、デジタルカメラ100にATTプロトコルに従った、位置情報の書き込みリクエストを送信するよう制御する。書き込みリクエストは、端末装置200がデジタルカメラ100の位置情報受付サービス602が管理する位置情報に対する更新を依頼するリクエストである。制御部201は、無線部209に対して書き込みリクエストを設定する。これに対応し、無線部209は、書き込みリクエストを送信する。書き込みリクエストとしては引数としてUUID603とハンドル604,605を組み合わせる。これにより、GATTサーバー601が管理する位置情報受付サービス602内の緯度値606、経度値607を一意に指定できる。また、制御部201は、最新の位置情報をRAM203に格納しておく。これにより、制御部201は、最新の位置情報を送信することができる。なお、端末装置200が位置情報を取得する処理については図7を参照しつつ後述する。 Returning to FIG. 5, after the processing of S505, in S506, the control unit 201 of the terminal device 200 controls the digital camera 100 to transmit a position information write request according to the ATT protocol. The write request is a request for the terminal device 200 to request an update of the position information managed by the position information reception service 602 of the digital camera 100. The control unit 201 sets a write request for the wireless unit 209. Corresponding to this, the radio unit 209 transmits a write request. As a write request, UUID 603 and handles 604 and 605 are combined as arguments. As a result, the latitude value 606 and the longitude value 607 in the location information reception service 602 managed by the GATT server 601 can be uniquely specified. Further, the control unit 201 stores the latest position information in the RAM 203. As a result, the control unit 201 can transmit the latest position information. The process of acquiring the position information by the terminal device 200 will be described later with reference to FIG. 7.

デジタルカメラ100が書き込みリクエストを受信すると、S507において、制御部103は位置情報を更新する。具体的には、制御部103で動作するGATTサーバー601は、無線部110で受信したリクエストから緯度、経度の情報を抽出する。そして、GATTサーバー601は、UUID603で書き込み対象となるサービスを特定し、ハンドル604,605に従いRAM107にある緯度値606と経度値607の領域にデータをコピーする。これによりデジタルカメラ100が取り扱える位置情報が更新される。 When the digital camera 100 receives the write request, the control unit 103 updates the position information in S507. Specifically, the GATT server 601 operated by the control unit 103 extracts latitude and longitude information from the request received by the radio unit 110. Then, the GATT server 601 identifies the service to be written by the UUID 603, and copies the data to the areas of the latitude value 606 and the longitude value 607 in the RAM 107 according to the handles 604 and 605. As a result, the position information that can be handled by the digital camera 100 is updated.

次に、S508において、制御部103は、書き込みリクエストに対応する応答として、書き込みレスポンスを端末装置200に送信するよう制御する。具体的には、制御部103は、無線部110に書き込みレスポンスを設定する。これに対応し、無線部110は、書き込みレスポンスを端末装置200に送信する。ここまでの処理により、端末装置200は、BLEを用いてデジタルカメラ100に位置情報を提供することができる。基本的にBLEは常時接続であり、通信が行われない間は、デジタルカメラ100と端末装置200の間のBLEの接続は維持される。具体的には、デジタルカメラ100の制御部103及び端末装置200の制御部201は、空のパケットをやり取りすることでお互いに相手の存在を確認し続ける。 Next, in S508, the control unit 103 controls to transmit the write response to the terminal device 200 as a response corresponding to the write request. Specifically, the control unit 103 sets a write response in the wireless unit 110. Corresponding to this, the wireless unit 110 transmits a write response to the terminal device 200. By the processing up to this point, the terminal device 200 can provide the position information to the digital camera 100 using the BLE. Basically, the BLE is always connected, and the connection of the BLE between the digital camera 100 and the terminal device 200 is maintained while the communication is not performed. Specifically, the control unit 103 of the digital camera 100 and the control unit 201 of the terminal device 200 continue to confirm the existence of each other by exchanging empty packets.

次に、S509において、デジタルカメラ100の制御部103は、ユーザ操作に応じて撮影を行うよう制御する。撮影ボタンが押下されると、制御部103の制御の下、撮像部102は撮影を行う。制御部103は、撮影により得られた撮影画像に、BMU109を使って画像処理部104、符号化部105の処理を施し、所望の形式に従った撮影画像を得る。得られた撮影画像は、RAM107に一時保存される。次に、S510において、制御部103は、撮影画像に位置情報を付与する。具体的には、制御部103は、S507において取得しRAM107に格納した緯度値606と経度値607を撮影画像の所定の領域にコピーする。画像データの所定の領域としては、例えば、Exif(Exchangeable image file format)における位置情報の領域が挙げられる。S511において、制御部103は、位置情報が付与された撮影画像を記憶部108に格納する。具体的には、制御部103は、BMU109を使って、撮影画像をRAM107から記憶部108に移動させる。以上の処理により、デジタルカメラ100は、端末装置200とのBLE接続を介して位置情報を受信し、受信した位置情報を撮影画像に付与することができる。 Next, in S509, the control unit 103 of the digital camera 100 controls to perform shooting according to the user operation. When the shooting button is pressed, the imaging unit 102 takes a picture under the control of the control unit 103. The control unit 103 processes the captured image obtained by photographing with the image processing unit 104 and the coding unit 105 using the BMU 109 to obtain a captured image according to a desired format. The obtained captured image is temporarily stored in the RAM 107. Next, in S510, the control unit 103 adds position information to the captured image. Specifically, the control unit 103 copies the latitude value 606 and the longitude value 607 acquired in S507 and stored in the RAM 107 to a predetermined area of the captured image. Examples of the predetermined region of the image data include a region of position information in Exif (Exif (Exif image file format)). In S511, the control unit 103 stores the captured image to which the position information is added in the storage unit 108. Specifically, the control unit 103 uses the BMU 109 to move the captured image from the RAM 107 to the storage unit 108. By the above processing, the digital camera 100 can receive the position information via the BLE connection with the terminal device 200 and add the received position information to the captured image.

次に、図7を参照しつつ、端末装置200が位置情報を取得する処理について説明する。端末装置200は、3つの方法で、位置情報を取得する。端末装置200が取得した位置情報は、デジタルカメラ100に送信される。位置情報を取得する処理の1つ目は、GPSを利用した処理である。S701において、端末装置200の制御部201は、GPS情報を取得することで位置情報を取得できる。具体的には、GPS部211は、GPS衛星400からの電波を受信できる条件下において位置情報の算出を行う。制御部201は、GPS部211が算出した位置情報をGPS部211から読み出すことで位置情報を取得する。制御部201は、本処理を定期的に実行することで、屋外などGPS電波が受信できる条件のもとで、最新の位置情報を取得し続けることができる。 Next, the process of acquiring the position information by the terminal device 200 will be described with reference to FIG. 7. The terminal device 200 acquires the position information by three methods. The position information acquired by the terminal device 200 is transmitted to the digital camera 100. The first process of acquiring position information is a process using GPS. In S701, the control unit 201 of the terminal device 200 can acquire the position information by acquiring the GPS information. Specifically, the GPS unit 211 calculates the position information under the condition that the radio wave from the GPS satellite 400 can be received. The control unit 201 acquires the position information by reading the position information calculated by the GPS unit 211 from the GPS unit 211. By periodically executing this process, the control unit 201 can continue to acquire the latest position information under conditions such as outdoors where GPS radio waves can be received.

2つ目は、BLEを利用した処理である。S711において、無線AP300の無線部306は、BLEのIPSに準拠したAdvertiseを行う。制御部301は、無線部306にAdvertise間隔などの設定値と、Advertiseのデータとして無線AP300の位置情報を設定する。これに対応し、無線部306は、位置情報を含んだAdvertiseのパケットを送信する。 The second is processing using BLE. In S711, the radio unit 306 of the radio AP300 performs an update compliant with the IPS of BLE. The control unit 301 sets the setting value such as the Adaptise interval and the position information of the radio AP300 as the Adaptise data in the radio unit 306. Correspondingly, the radio unit 306 transmits an Advantage packet including the position information.

図8は、IPSに準拠するAdvertiseのデータ構成の一例を示す図である。Advertise800は、IPSの規格で規定されている情報である。データ長801は、Advertiseのデータ長である。アドバタイズタイプ802は、Advertiseの種別を示す識別子である。IPSのAdvertiseの場合には、アドバタイズタイプ802は、「0x25」の値となる。フラグ803は、Advertiseに含まれる情報の種類を示す。図8の例では、フラグ803には、「0x05」が設定されている。これは、WGS84(World Geodetic System 1984)に準拠した測地系に従う緯度と経度からなる位置情報とAdvertiseの電波強度情報を含むことを意味する。804は、緯度情報である。805は、緯度情報である。806は、Advertiseの電波強度である。この位置情報は無線AP300を設置するときにあらかじめ設定しておく情報とする。 FIG. 8 is a diagram showing an example of an IPS-compliant Advanced data structure. Advisor 800 is information defined by the IPS standard. The data length 801 is the data length of Advantage. Advertisement type 802 is an identifier indicating the type of Advertise. In the case of IPS Advertise, the advertisement type 802 has a value of "0x25". Flag 803 indicates the type of information contained in the Advance. In the example of FIG. 8, the flag 803 is set to "0x05". This means that it includes position information consisting of latitude and longitude according to a geodetic system compliant with WGS84 (World Geodetic System 1984) and radio field strength information of Advanced. 804 is latitude information. 805 is latitude information. 806 is the radio field intensity of Advantage. This position information is information that is set in advance when the wireless AP 300 is installed.

図7に戻り、端末装置200の制御部201は、S711において送信された、位置情報を含んだAdvertiseを受信したか否かを確認する。具体的には、制御部201は、Advertiseを受信すると、受信したAdvertiseのアドバタイズタイプ802に「0x25」が設定されているか否かを確認する。制御部201は、アドバタイズタイプ802に「0x25」が設定されている場合に、位置情報を含んだAdvertiseを受信したと判断する。そして、この場合には、制御部201は、Advertiseから緯度804と経度805を抽出し、これらをRAM203に格納する。制御部201は、本処理を定期的に実行することで、屋内などGPS電波が受信できない条件でも、最新の位置情報を取得し続けられる。 Returning to FIG. 7, the control unit 201 of the terminal device 200 confirms whether or not the Advantage including the position information transmitted in S711 has been received. Specifically, when the control unit 201 receives the advertisement, it confirms whether or not "0x25" is set in the advertisement type 802 of the received advertisement. When the advertisement type 802 is set to "0x25", the control unit 201 determines that the advertisement including the position information has been received. Then, in this case, the control unit 201 extracts the latitude 804 and the longitude 805 from the update and stores them in the RAM 203. By periodically executing this process, the control unit 201 can continue to acquire the latest position information even under conditions such as indoors where GPS radio waves cannot be received.

3つ目は、無線LANを利用した処理である。S721において、無線AP300の制御部301は、無線LAN機能のアクセスポイントモードでビーコンを定期送信している。具体的には、制御部301は、無線LAN部307にSSIDなどの設定値を書き込む。これに対応し、無線LAN部307は、ビーコンを送信する。一方、S722において、端末装置200の制御部201は、ビーコンのスキャンを行う。具体的には、制御部201が無線LAN部210に問い合わせる。制御部201は、ビーコンを検出すると、次に、S723において、端末装置200の制御部201及び無線AP300の制御部301は、無線LANでの接続を行う。S723の処理は、リンク層の接続を確立する処理であり、制御部201及び制御部301は、認証処理などを行い、保護された通信路を確立する。なお、他の例としては、端末装置200上の液晶モニター208に利用可能なアクセスポイントの一覧を表示して、ユーザから所望の無線AP300の選択を受け付けた場合に、S723の処理が実行されるものとしてもよい。 The third is processing using a wireless LAN. In S721, the control unit 301 of the wireless AP300 periodically transmits the beacon in the access point mode of the wireless LAN function. Specifically, the control unit 301 writes a set value such as an SSID in the wireless LAN unit 307. Corresponding to this, the wireless LAN unit 307 transmits a beacon. On the other hand, in S722, the control unit 201 of the terminal device 200 scans the beacon. Specifically, the control unit 201 inquires of the wireless LAN unit 210. When the control unit 201 detects the beacon, next, in S723, the control unit 201 of the terminal device 200 and the control unit 301 of the wireless AP 300 make a wireless LAN connection. The process of S723 is a process of establishing the connection of the link layer, and the control unit 201 and the control unit 301 perform an authentication process or the like to establish a protected communication path. As another example, when a list of available access points is displayed on the liquid crystal monitor 208 on the terminal device 200 and the user accepts the selection of the desired wireless AP 300, the process of S723 is executed. It may be a thing.

無線LANでの接続確立後、S724において、端末装置200の制御部201は、位置情報の問い合わせ要求を送信する。問い合わせ要求は、無線AP300を経由して位置情報管理サーバー402へ送信される。問い合わせ要求は、引数としてSSIDが用いられ、SSIDに合致する位置情報を問い合わせる情報である。問い合わせ要求の送信は、HTTP(Hyper Text Transport Protocol)のPOST処理により実現可能である。制御部201は、RAM203に要求メッセージを作成し、BMU205を用いてRAM203から無線LAN部210にデータを送り込むことで問い合わせ要求を送信できる。無線AP300の制御部301は、受け取った問い合わせ要求をインターネット401に送信する。 After establishing the connection by wireless LAN, in S724, the control unit 201 of the terminal device 200 transmits a position information inquiry request. The inquiry request is transmitted to the location information management server 402 via the wireless AP300. The inquiry request is information in which the SSID is used as an argument and the position information matching the SSID is inquired. The transmission of the inquiry request can be realized by the POST process of HTTP (HyperText Transport Protocol). The control unit 201 can send an inquiry request by creating a request message in the RAM 203 and sending data from the RAM 203 to the wireless LAN unit 210 using the BMU 205. The control unit 301 of the wireless AP 300 transmits the received inquiry request to the Internet 401.

次に、S725において、位置情報管理サーバー402は、受信した問い合わせ要求に対する応答として、位置情報を示す位置情報通知を送信する。具体的には、位置情報管理サーバー402は、要求されたSSIDに合致する位置情報をデータベースから取得し、取得した位置情報をHTTPのレスポンスメッセージに付与し、これを端末装置200に送信する。応答メッセージは、無線AP300を経由して端末装置200に送られる。端末装置200の制御部201は、無線LAN部210を介して位置情報通知を取得できる。 Next, in S725, the location information management server 402 transmits a location information notification indicating the location information as a response to the received inquiry request. Specifically, the location information management server 402 acquires location information matching the requested SSID from the database, adds the acquired location information to the HTTP response message, and transmits this to the terminal device 200. The response message is sent to the terminal device 200 via the wireless AP 300. The control unit 201 of the terminal device 200 can acquire the location information notification via the wireless LAN unit 210.

このように、端末装置200は、上述の3つの方法で、位置情報の取得を試みることで、可能な限り正確な自装置の位置情報を保持する。そして、端末装置200は、BLEで常時接続しているデジタルカメラ100に対して位置情報を提供する。デジタルカメラ100は、端末装置200とのBLE接続を維持する限り、撮影画像に最新の位置情報を付与することができる。 In this way, the terminal device 200 keeps the position information of its own device as accurate as possible by trying to acquire the position information by the above-mentioned three methods. Then, the terminal device 200 provides the position information to the digital camera 100 which is always connected by BLE. The digital camera 100 can add the latest position information to the captured image as long as the BLE connection with the terminal device 200 is maintained.

図9は、デジタルカメラ100による位置情報取得処理を示すフローチャートである。図5を参照しつつ説明した処理では、デジタルカメラ100は、端末装置200とBLE接続できない状況では、最新の位置情報を取得できない。このため、例えば、デジタルカメラ100と端末装置200を1人のユーザが携帯し、外出先で端末装置200のバッテリーがきれた場合には、デジタルカメラ100により得られた撮影画像に位置情報を付与することができなくなってしまう。そこで、デジタルカメラ100は、図9に示す処理により位置情報の取得を試みる。なお、処理の前提として、デジタルカメラ100は、アドバタイザーに設定されているものとする。 FIG. 9 is a flowchart showing a position information acquisition process by the digital camera 100. In the process described with reference to FIG. 5, the digital camera 100 cannot acquire the latest position information in a situation where the terminal device 200 cannot be BLE connected. Therefore, for example, when one user carries the digital camera 100 and the terminal device 200 and the battery of the terminal device 200 runs out on the go, position information is added to the captured image obtained by the digital camera 100. You will not be able to do it. Therefore, the digital camera 100 attempts to acquire the position information by the process shown in FIG. As a premise of processing, it is assumed that the digital camera 100 is set in the advertiser.

S901において、デジタルカメラ100の制御部103は、デジタルカメラ100の動作モードを撮影モードに設定する。ここで、撮影モードは、撮像部102による撮影機能を有効にする動作モードである。撮影モードにおいては、撮像部102は、利用者により撮影ボタンが押下されることに応じて撮影を行うことができる。すなわち、S902の処理は、撮影部による撮影機能を有効に機能設定する処理の一例である。 In S901, the control unit 103 of the digital camera 100 sets the operation mode of the digital camera 100 to the shooting mode. Here, the shooting mode is an operation mode for enabling the shooting function by the imaging unit 102. In the shooting mode, the imaging unit 102 can shoot in response to the user pressing the shooting button. That is, the process of S902 is an example of a process of effectively setting the shooting function by the shooting unit.

次に、S902において、制御部103は、デジタルカメラ100と端末装置200の間のBLE接続(無線接続)が確立中であるか否かを確認する。具体的には、制御部103は、無線部110がS508(図5)において説明した空パケットのやり取りを実行中の場合にBLE接続が確立中と判断する。また、他の例としては、制御部103は、無線部110がアドバタイザーとしてAdvertiseを実行している場合にBLE接続が確立していると判断してもよい。制御部103は、BLE接続確認中と判断した場合には(S902でYes)、処理をS903へ進める。制御部103は、BLE接続確立中でないと判断した場合には(S902でNo)、処理をS911へ進める。 Next, in S902, the control unit 103 confirms whether or not the BLE connection (wireless connection) between the digital camera 100 and the terminal device 200 is being established. Specifically, the control unit 103 determines that the BLE connection is being established when the radio unit 110 is executing the exchange of empty packets described in S508 (FIG. 5). As another example, the control unit 103 may determine that the BLE connection is established when the radio unit 110 is executing Advertise as an advertiser. When the control unit 103 determines that the BLE connection is being confirmed (Yes in S902), the control unit 103 proceeds to the process in S903. If the control unit 103 determines that the BLE connection is not being established (No in S902), the control unit 103 proceeds to the process in S911.

S903において、制御部103は、端末装置200から位置情報を受信する。次に、S904において、制御部103は、RAM107に格納された位置情報を、S903において受信した位置情報に更新する。S903及びS904の処理は、図5のS506〜S508の処理に対応する。次に、S905において、制御部103は、撮影が行われたか否かを確認する。撮影処理は、図5のS509の処理に対応する。制御部103は、例えば、ユーザによりシャッターボタンが押下されたか否かに応じて撮影が行われたか否かを確認する。制御部103は、撮影が行われたと判断した場合には(S905でYes)、処理をS906へ進める。制御部103は、撮影が行われなかったと判断した場合には(S905でNo)、処理をS908へ進める。S906において、制御部103は、S904において更新された位置情報を、デジタルカメラ100の位置として、撮影画像に付与する。次に、S907において、制御部103は、位置情報が付与された撮影画像を記憶部108に格納し、その後処理をS902へ進める。ここで、S906及びS907の処理は、図5のS510及びS511の処理に対応する。 In S903, the control unit 103 receives the position information from the terminal device 200. Next, in S904, the control unit 103 updates the position information stored in the RAM 107 with the position information received in S903. The processes of S903 and S904 correspond to the processes of S506 to S508 of FIG. Next, in S905, the control unit 103 confirms whether or not the photographing has been performed. The shooting process corresponds to the process of S509 in FIG. The control unit 103 confirms, for example, whether or not shooting has been performed depending on whether or not the shutter button has been pressed by the user. When the control unit 103 determines that the shooting has been performed (Yes in S905), the control unit 103 proceeds to the process in S906. When the control unit 103 determines that the shooting has not been performed (No in S905), the control unit 103 proceeds to the process in S908. In S906, the control unit 103 adds the position information updated in S904 to the captured image as the position of the digital camera 100. Next, in S907, the control unit 103 stores the captured image to which the position information is added in the storage unit 108, and then proceeds to the process in S902. Here, the processes of S906 and S907 correspond to the processes of S510 and S511 of FIG.

また、S908において、制御部103は、撮影モードが終了したか否かを確認する。なお、制御部103は、ユーザ操作に応じて撮影モードの終了指示を受け付けた場合に撮影モードを終了する。制御部103は、撮影モードが終了したと判断した場合には(S908でYes)、処理を終了する。制御部103は、撮影モードが終了していないと判断した場合には(S908でNo)、処理をS902へ進める。 Further, in S908, the control unit 103 confirms whether or not the shooting mode has ended. The control unit 103 ends the shooting mode when it receives an instruction to end the shooting mode in response to a user operation. When the control unit 103 determines that the shooting mode has ended (Yes in S908), the control unit 103 ends the process. When the control unit 103 determines that the shooting mode has not ended (No in S908), the control unit 103 proceeds to the process in S902.

一方、S911においては、制御部103は、BLE無線通信における役割をアドバタイザーからスキャナーに切り替える。本処理は、無線通信における役割を設定する設定処理の一例である。次に、S912において、制御部103は、BLEのIPSに準拠したAdvertiseを受信したか否かを確認する。制御部103は、アドバタイズタイプが「0x25」のAdvertiseを受信した場合に、ISPに準拠したAdvertiseを受信したと判断する。制御部103は、ISPに準拠したAdvertiseを受信したと判断した場合には(S912でYes)、処理をS913へ進める。制御部103は、ISPに準拠したAdvertiseを受信しなかったと判断した場合には(S912でNo)、処理をS915へ進める。 On the other hand, in S911, the control unit 103 switches the role in BLE wireless communication from the advertiser to the scanner. This process is an example of a setting process for setting a role in wireless communication. Next, in S912, the control unit 103 confirms whether or not the IPS-compliant Advertise of BLE has been received. When the control unit 103 receives the advertisement whose advertisement type is "0x25", the control unit 103 determines that the advertisement conforming to the ISP has been received. When the control unit 103 determines that the ISP-compliant Advance has been received (Yes in S912), the control unit 103 proceeds to the process in S913. When the control unit 103 determines that the ISP-compliant Advance is not received (No in S912), the control unit 103 proceeds to the process in S915.

S913において、制御部103は、受信したAdvertiseに含まれる位置情報を取得する。次に、S914において、制御部103は、RAM107に格納された位置情報をAdvertiseから取得した位置情報で更新する。具体的には、制御部103は、Advertiseのフラグ803により緯度804と経度805が存在することを確認し、これらのデータで、RAM107の緯度値606、経度値607を上書きする。なお、S913の処理時点においては、デジタルカメラ100と端末装置200の間のBLE接続は確立していないため、GATTサーバー601や位置情報受付サービス602は無効になっている。このため、図5を参照しつつ説明した処理において、端末装置200がATTプロトコルに従い緯度値606、経度値607に対して書き込みリクエストを送信することはない。一方で、デジタルカメラ100と端末装置200のBLE接続が確立中の場合には、S911〜S914の処理が実行されることはない。すなわち、RAM107の緯度値606、経度値607は、BLE接続が確立中とそうでない場合とにおいて、排他的に利用される。 In S913, the control unit 103 acquires the position information included in the received Update. Next, in S914, the control unit 103 updates the position information stored in the RAM 107 with the position information acquired from the update. Specifically, the control unit 103 confirms that the latitude 804 and the longitude 805 exist by the flag 803 of the Update, and overwrites the latitude value 606 and the longitude value 607 of the RAM 107 with these data. At the time of processing S913, the GATT server 601 and the location information reception service 602 are disabled because the BLE connection between the digital camera 100 and the terminal device 200 has not been established. Therefore, in the process described with reference to FIG. 5, the terminal device 200 does not send a write request to the latitude value 606 and the longitude value 607 according to the ATT protocol. On the other hand, when the BLE connection between the digital camera 100 and the terminal device 200 is being established, the processes S911 to S914 are not executed. That is, the latitude value 606 and the longitude value 607 of the RAM 107 are exclusively used depending on whether the BLE connection is being established or not.

次に、S915において、制御部103は、撮影が行われたか否かを確認する。本処理は、S905の処理と同様である。制御部103は、撮影が行われたと判断した場合には(S915でYes)、処理をS916へ進める。制御部103は、撮影が行われなかったと判断した場合には(S915でNo)、処理をS919へ進める。 Next, in S915, the control unit 103 confirms whether or not the photographing has been performed. This process is the same as the process of S905. When the control unit 103 determines that the shooting has been performed (Yes in S915), the control unit 103 proceeds to the process in S916. When the control unit 103 determines that the shooting has not been performed (No in S915), the control unit 103 proceeds to the process in S919.

次に、S916において、制御部103は、RAM107に更新後の位置情報が記憶されているか否かを確認する。後述するようにS912〜S919の処理は、ループ処理であり、S912〜S914は複数回実行される。制御部103は、このループ処理において、S916の処理の直前に実行されたS912の処理においてYesと判断されS914が実行された場合に、RAM107に更新後の位置情報が記憶されていると判断する。他の例としては、制御部103は、RAM107に記憶されている位置情報の更新のタイミングに応じて、更新された位置情報があるか否かを判断してもよい。すなわち、制御部103は、更新のタイミングからS916の処理実行時までの期間が閾値未満の場合に更新後の位置情報が記憶されていると判断する。 Next, in S916, the control unit 103 confirms whether or not the updated position information is stored in the RAM 107. As will be described later, the processing of S912 to S919 is a loop processing, and S912 to S914 are executed a plurality of times. In this loop processing, the control unit 103 determines that Yes is determined in the processing of S912 executed immediately before the processing of S916, and when S914 is executed, it is determined that the updated position information is stored in the RAM 107. .. As another example, the control unit 103 may determine whether or not there is updated position information according to the timing of updating the position information stored in the RAM 107. That is, the control unit 103 determines that the updated position information is stored when the period from the update timing to the processing execution time of S916 is less than the threshold value.

制御部103は、更新後の位置情報が記憶されていると判断した場合には(S916でYes)、処理をS917へ進める。制御部103は、更新された位置情報が記憶されていないと判断した場合には(S916でNo)、処理をS918へ進める。S917において、制御部103は、撮影処理により得られた撮影画像に対し、S906において更新された位置情報を、デジタルカメラの位置として付与する。次に、S918において、制御部103は、位置情報が付与された撮影画像を記憶部108に格納し、その後処理をS912へ進める。 When the control unit 103 determines that the updated position information is stored (Yes in S916), the control unit 103 advances the process to S917. When the control unit 103 determines that the updated position information is not stored (No in S916), the control unit 103 proceeds to the process in S918. In S917, the control unit 103 adds the position information updated in S906 to the photographed image obtained by the photographing process as the position of the digital camera. Next, in S918, the control unit 103 stores the captured image to which the position information is added in the storage unit 108, and then proceeds to the process in S912.

S919において、制御部103は、撮影モードが終了したか否かを確認する。制御部103は、撮影モードが終了したと判断した場合には(S919でYes)、処理をS920へ進める。制御部103は、撮影モードが終了していないと判断した場合には(S919でNo)、処理をS912へ進める。S920において、制御部103は、デジタルカメラ100のBLEの役割をアドバタイザーに設定し、その後処理を終了する。 In S919, the control unit 103 confirms whether or not the shooting mode has ended. When the control unit 103 determines that the shooting mode has ended (Yes in S919), the control unit 103 advances the process to S920. When the control unit 103 determines that the shooting mode has not ended (No in S919), the control unit 103 proceeds to the process in S912. In S920, the control unit 103 sets the role of BLE of the digital camera 100 in the advertiser, and then ends the process.

以上のように、本実施形態のデジタルカメラ100は、端末装置200とBLEによる常時接続を行うことで、撮影画像に適切な位置情報を付与することができる。さらに、デジタルカメラ100は、端末装置200とBLE接続できない場合には、自装置の無線通信における役割をアドバタイザーからスキャナーに切り替える。そして、デジタルカメラ100は、IPSに準拠したAdvertiseを受信することで、Advertiseに含まれる位置情報を取得することができる。すなわち、デジタルカメラ100は、無線通信における役割を切り替えることで、BLEという1つの通信手段以外の構成を要することなく、撮影画像に位置情報を付与できる確率を高めることができる。すなわち、デジタルカメラ100は、BLE等の近距離無線通信機能を有する撮影装置が外部装置から位置情報を取得する可能性を高めることで、装置の構造を複雑にすることなく、撮影画像に位置情報を付与できる確率を高めることができる。 As described above, the digital camera 100 of the present embodiment can be given appropriate position information to the captured image by constantly connecting to the terminal device 200 by BLE. Further, when the digital camera 100 cannot make a BLE connection with the terminal device 200, the digital camera 100 switches its role in wireless communication from the advertiser to the scanner. Then, the digital camera 100 can acquire the position information included in the IPS by receiving the IPS-compliant Advance. That is, by switching the role of the digital camera 100 in wireless communication, it is possible to increase the probability that position information can be added to the captured image without requiring a configuration other than one communication means called BLE. That is, the digital camera 100 increases the possibility that a photographing device having a short-range wireless communication function such as BLE acquires position information from an external device, so that the position information can be captured in the captured image without complicating the structure of the device. Can be increased.

第1の実施形態の第1の変形例について説明する。実施形態においては、デジタルカメラ100は、撮影モードに設定されたことを条件として、図9のS902の処理を実行することとした。ただし、S902の処理は所定の条件を満たす場合に実行されればよく、所定の条件は実施形態に限定されるものではない。他の例としては、デジタルカメラ100は、デジタルカメラ100の電源がオンされたことを条件としてS902を実行することとしてもよい。この場合には、制御部103は、デジタルカメラ100に電源が投入され、制御部103が起動した時点でS902を実行すればよい。 A first modification of the first embodiment will be described. In the embodiment, the digital camera 100 is determined to execute the process of S902 in FIG. 9 on condition that the shooting mode is set. However, the process of S902 may be executed when a predetermined condition is satisfied, and the predetermined condition is not limited to the embodiment. As another example, the digital camera 100 may execute S902 on condition that the power of the digital camera 100 is turned on. In this case, the control unit 103 may execute S902 when the power is turned on to the digital camera 100 and the control unit 103 is activated.

また、第2の変形例について説明する。実施形態においては、デジタルカメラ100は、S911においてBLEの役割がスキャナーに設定された場合に、撮影モードの終了を条件として、BLEの役割をアドバタイザーに戻すこととした。ただし、BLEの役割を戻す処理は所定の条件を満たす場合に実行されればよく、所定の条件は、実施形態に限定されるものではない。他の例としては、デジタルカメラ100は、ユーザ操作に応じて電源オフの指示を受け付けた場合に、電源オフの前に無線通信の役割をアドバタイザーに設定してもよい。 In addition, a second modification will be described. In the embodiment, the digital camera 100 decides to return the role of BLE to the advertiser on condition that the shooting mode is terminated when the role of BLE is set to the scanner in S911. However, the process of returning the role of BLE may be executed when a predetermined condition is satisfied, and the predetermined condition is not limited to the embodiment. As another example, the digital camera 100 may set the role of wireless communication in the advertiser before the power is turned off when the power off instruction is received in response to the user operation.

第3の変形例としては、デジタルカメラ100の無線部110は、時分割でアドバタイザーとスキャナーを切り替えながら動作できるものであってもよい。さらに、この場合には、制御部103は、デジタルカメラ100をアドバタイザー及びスキャナーの両方の役割を並行して動作させる。そして、制御部103は、BLE接続確立中でないと判断され、S911以降の処理を実行中に、デジタルカメラ100がアドバタイザーとしてBLE接続が確立した場合には、S911以降の処理を停止し、S903以降の処理を行うこととしてもよい。これにより、BLE接続が復活した場合に、即座にS903以降の処理を再開することができる。 As a third modification, the wireless unit 110 of the digital camera 100 may be capable of operating while switching between the advertiser and the scanner in a time division manner. Further, in this case, the control unit 103 causes the digital camera 100 to operate both the roles of the advertiser and the scanner in parallel. Then, if it is determined that the BLE connection is not being established and the digital camera 100 establishes the BLE connection as an advertiser during the processing after S911, the control unit 103 stops the processing after S911 and S903. Subsequent processing may be performed. As a result, when the BLE connection is restored, the processing after S903 can be resumed immediately.

第4の変形例としては、デジタルカメラ100は、S912において複数のAdvertiseを受信した場合に、各Advertiseの電波強度に従い、デジタルカメラ100の位置情報を特定してもよい。具体的には、デジタルカメラ100の制御部103は、Advertiseの電波強度と、このAdvertiseに含まれる電波強度806(図8)の差からこのAdvertiseの送信元とデジタルカメラ100の間の距離を推測する。制御部103は、これを複数のAdvertiseそれぞれに対して行う。そして、制御部103は、各Advertiseの送信元の位置情報と、推測した距離と、を用いて、三角測量や加重平均といった演算を行うことでより正確な位置情報を算出してもよい。 As a fourth modification, when the digital camera 100 receives a plurality of Adaptises in S912, the digital camera 100 may specify the position information of the digital camera 100 according to the radio wave intensity of each Adaptise. Specifically, the control unit 103 of the digital camera 100 estimates the distance between the source of the Advanced and the digital camera 100 from the difference between the radio field strength of the Advanced and the radio wave strength 806 (FIG. 8) included in the Advanced. do. The control unit 103 performs this for each of the plurality of Advances. Then, the control unit 103 may calculate more accurate position information by performing calculations such as triangulation and weighted average using the position information of the transmission source of each update and the estimated distance.

第5の変形例としては、デジタルカメラ100と外部装置との間の無線通信は、比較的近距離の無線通信であればよく、BLE通信に限定されるものではない。デジタルカメラ100と外部装置との間の無線通信は、例えば無線LANであってもよい。この場合、デジタルカメラ100の制御部103は、図9のS902においては、無線LAN接続の確立中か否かを確認する。なお、無線LAN接続の確立中でない場合とは、デジタルカメラ100がAPモードでビーコンを送信している状態である。この場合、S911において、デジタルカメラ100は、無線LANでの役割をステーションモードに切り替え、他の無線APが発行するビーコンの検出を試みる。そして、ビーコンが検出された場合には、図7の3つ目の位置情報取得の手順に従い、位置情報を取得することができる。 As a fifth modification, the wireless communication between the digital camera 100 and the external device may be a relatively short-range wireless communication, and is not limited to BLE communication. The wireless communication between the digital camera 100 and the external device may be, for example, a wireless LAN. In this case, the control unit 103 of the digital camera 100 confirms whether or not the wireless LAN connection is being established in S902 of FIG. The case where the wireless LAN connection is not being established means that the digital camera 100 is transmitting the beacon in the AP mode. In this case, in S911, the digital camera 100 switches the role in the wireless LAN to the station mode and attempts to detect the beacon issued by another wireless AP. Then, when the beacon is detected, the position information can be acquired according to the third procedure of acquiring the position information in FIG. 7.

(第2の実施形態)
次に、第2の実施形態に係るデジタルカメラ100について、第1の実施形態に係るデジタルカメラ100と異なる点を説明する。図10は、第2の実施形態に係るデジタルカメラ100による、位置情報取得処理を示すフローチャートである。なお、図9に示す位置情報取得処理の各処理のうち、図5を参照しつつ説明した第1の実施形態に係る位置情報取得処理の各処理と同一の処理には、同一の番号を付している。
(Second embodiment)
Next, the difference between the digital camera 100 according to the second embodiment and the digital camera 100 according to the first embodiment will be described. FIG. 10 is a flowchart showing a position information acquisition process by the digital camera 100 according to the second embodiment. In addition, among each process of the position information acquisition process shown in FIG. 9, the same process as each process of the position information acquisition process according to the first embodiment described with reference to FIG. 5 is assigned the same number. is doing.

S904の処理の後、制御部103は、処理をS1001へ進める。S1001において、制御部103は、動画撮影(録画)が開始されたか否かを確認する。制御部103は、例えば、ユーザにより録画ボタンが押下されたか否かに応じて録画が開始されたか否かを確認する。なお、録画が開始すると、制御部103は、記憶部108に動画ファイルを生成し、撮像部102で取得した動画を画像処理部104、符号化部105で処理した後、記憶部108の動画ファイルに順次記録していく。制御部103は、録画が開始したと判断した場合には(S1001でYes)、処理をS1002へ進める。制御部103は、録画が開始していない場合には(S1001でNo)、処理をS902へ進める。 After the processing of S904, the control unit 103 advances the processing to S1001. In S1001, the control unit 103 confirms whether or not the moving image shooting (recording) has been started. The control unit 103 confirms whether or not the recording is started according to whether or not the recording button is pressed by the user, for example. When recording starts, the control unit 103 generates a moving image file in the storage unit 108, processes the moving image acquired by the imaging unit 102 by the image processing unit 104 and the coding unit 105, and then processes the moving image file in the storage unit 108. It will be recorded sequentially in. When the control unit 103 determines that the recording has started (Yes in S1001), the control unit 103 proceeds to the process in S1002. If the recording has not started (No in S1001), the control unit 103 advances the process to S902.

S1002において、制御部103は、動画に位置情報を付与する。具体的には、制御部103は、RAM107に格納されている位置情報(緯度値606と経度値607)を記憶部108に記憶されている動画の管理領域に書き込む。次に、S1003において、制御部103は、録画が終了したか否かを確認する。制御部103は、例えば、ユーザ操作に応じて録画の終了指示を受け付けた場合に、録画を終了する。制御部103は、録画が終了するまで待機し、録画が終了したと判断した場合には(S1003でYes)、処理を終了する。 In S1002, the control unit 103 adds position information to the moving image. Specifically, the control unit 103 writes the position information (latitude value 606 and longitude value 607) stored in the RAM 107 into the moving image management area stored in the storage unit 108. Next, in S1003, the control unit 103 confirms whether or not the recording is completed. The control unit 103 ends recording when, for example, receives an instruction to end recording in response to a user operation. The control unit 103 waits until the recording is completed, and when it is determined that the recording is completed (Yes in S1003), the control unit 103 ends the process.

一方、S914の処理の後、制御部103は、処理をS1011へ進める。S1011において、制御部103は、録画開始されたか否かを確認する。本処理は、S1001の処理と同様である。制御部103は、録画が開始したと判断した場合には(S1011でYes)、処理をS1012へ進める。制御部103は、録画が開始していない場合には(S1011でNo)、処理をS912へ進める。S1012において、制御部103は、RAM107に更新後の位置情報が格納されているか否かを確認する。S1012の処理は、図9のS916の処理と同様である。制御部103は、更新後の位置情報が記憶されていると判断した場合には(S1012でYes)、処理をS1013へ進める。制御部103は、更新された位置情報が記憶されていないと判断した場合には(S1012でNo)、処理をS912へ進める。 On the other hand, after the processing of S914, the control unit 103 advances the processing to S1011. In S1011, the control unit 103 confirms whether or not recording has started. This process is the same as the process of S1001. When the control unit 103 determines that the recording has started (Yes in S1011), the control unit 103 proceeds to the process in S1012. If the recording has not started (No in S1011), the control unit 103 advances the process to S912. In S1012, the control unit 103 confirms whether or not the updated position information is stored in the RAM 107. The process of S1012 is the same as the process of S916 of FIG. When the control unit 103 determines that the updated position information is stored (Yes in S1012), the control unit 103 proceeds to the process in S1013. When the control unit 103 determines that the updated position information is not stored (No in S1012), the control unit 103 proceeds to the process in S912.

S1013において、制御部103は、動画に位置情報を付与する。S1013の処理は、S1002の処理と同様である。次に、S1014において、制御部103は、デジタルカメラ100のBLEの役割をアドバタイザーに設定する。次に、S1015において、制御部103は、録画が終了したか否かを確認する。S1015の処理は、S1003の処理と同様である。すなわち、制御部103は、録画が終了するまで待機し、録画が終了したと判断した場合にはS1015でYes)、処理を終了する。なお、第2の実施形態のデジタルカメラ100のこれ以外の構成及び処理は、第1の実施形態に係るデジタルカメラ100の構成及び処理と同様である。 In S1013, the control unit 103 adds position information to the moving image. The process of S1013 is the same as the process of S1002. Next, in S1014, the control unit 103 sets the role of BLE of the digital camera 100 to the advertiser. Next, in S1015, the control unit 103 confirms whether or not the recording has been completed. The process of S1015 is the same as the process of S1003. That is, the control unit 103 waits until the recording is completed, and when it is determined that the recording is completed, Yes) in S1015, and the process is terminated. The other configurations and processes of the digital camera 100 of the second embodiment are the same as the configurations and processes of the digital camera 100 according to the first embodiment.

以上のように、デジタルカメラ100は、BLE等の近距離無線通信機能を有する撮影装置が外部装置から位置情報を取得する可能性を高めることで、装置の構造を複雑にすることなく、動画に対しても、位置情報を付与できる確率を高めることができる。 As described above, the digital camera 100 increases the possibility that a photographing device having a short-range wireless communication function such as BLE acquires position information from an external device, thereby making a moving image without complicating the structure of the device. On the other hand, the probability that the position information can be given can be increased.

以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 Although the preferred embodiments of the present invention have been described in detail above, the present invention is not limited to the specific embodiments, and various modifications are made within the scope of the gist of the present invention described in the claims.・ Can be changed.

(その他の実施例)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other Examples)
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.

100 カメラ
200 端末装置
300 無線AP
100 Camera 200 Terminal device 300 Wireless AP

Claims (10)

無線通信機能を有する撮影装置であって、
被写体を撮影する撮影手段と、
前記撮影装置の無線通信における役割として、前記撮影装置の存在を伝えるビーコンを送信する役割と、外部装置からビーコンを受信する役割のいずれかを設定し、前記ビーコンを送信する役割に設定されている状態において、外部装置との無線接続を確立中でない場合に、前記撮影装置の役割を、前記ビーコンを受信する役割に切り替える設定手段と、
前記ビーコンを送信する役割に設定されている場合には、前記ビーコンを受信した外部装置から該外部装置の位置情報を受信し、前記ビーコンを受信する役割が設定されている場合には、送信元の位置情報を含んだビーコンを受信する受信手段と、
前記受信手段が位置情報を受信した場合に、受信した位置情報に基づいて特定された前記撮影装置の位置情報を、前記撮影手段により得られた撮影画像に付与し、前記受信手段が前記ビーコンを受信した場合に、受信したビーコンに含まれる位置情報に基づいて特定された前記撮影装置の位置情報を、前記撮影画像に付与する付与手段と
を有することを特徴とする撮影装置。
An imaging device that has a wireless communication function
Shooting means to shoot the subject and
As a role in the wireless communication of the photographing device, either a role of transmitting a beacon for transmitting the existence of the photographing device or a role of receiving a beacon from an external device is set, and the role of transmitting the beacon is set. In the state, when the wireless connection with the external device is not established, the setting means for switching the role of the photographing device to the role of receiving the beacon, and
When the role of transmitting the beacon is set, the position information of the external device is received from the external device which received the beacon, and when the role of receiving the beacon is set, the transmission source. A receiving means for receiving a beacon containing the location information of
When the receiving means receives the position information, the position information of the photographing device specified based on the received position information is added to the photographed image obtained by the photographing means, and the receiving means attaches the beacon. A photographing device having a means for imparting the position information of the photographing device specified based on the position information included in the received beacon to the photographed image when it is received.
前記付与手段は、前記受信手段が前記位置情報を受信した場合に、前記受信手段が受信した位置情報を前記撮影装置の位置情報として前記画像に付与し、前記受信手段が前記ビーコンを受信した場合に、前記ビーコンに含まれる位置情報を前記撮影装置の位置情報として前記画像に付与することを特徴とする請求項1に記載の撮影装置。 When the receiving means receives the position information, the giving means adds the position information received by the receiving means to the image as the position information of the photographing device, and the receiving means receives the beacon. The photographing device according to claim 1, wherein the position information included in the beacon is added to the image as the position information of the photographing device. 前記受信手段は、異なる外部装置から送信された複数のビーコンを受信し、
前記受信手段が受信した複数の前記ビーコンそれぞれの電波強度と、複数の前記ビーコンそれぞれの位置情報と、に基づいて、前記撮影装置の位置を特定する特定手段をさらに有し、
前記付与手段は、前記ビーコンを受信した場合に、前記特定手段により特定された位置を示す位置情報を前記画像に付与することを特徴とする請求項1に記載の撮影装置。
The receiving means receives a plurality of beacons transmitted from different external devices, and receives the plurality of beacons.
Further, it has a specific means for specifying the position of the photographing device based on the radio wave intensity of each of the plurality of the beacons received by the receiving means and the position information of each of the plurality of the beacons.
The imaging device according to claim 1, wherein the imparting means imparts position information indicating a position specified by the specific means to the image when the beacon is received.
前記撮影装置の役割として前記ビーコンを送信する役割が設定されており、かつ所定の条件を満たす場合に、外部装置との無線接続が確立中か否かを確認する確認手段をさらに有することを特徴とする請求項1乃至3の何れか1項に記載の撮影装置。 The role of the photographing device is set to transmit the beacon, and when a predetermined condition is satisfied, it further has a confirmation means for confirming whether or not a wireless connection with an external device is being established. The photographing apparatus according to any one of claims 1 to 3. 前記所定の条件は、前記撮影手段の機能が有効に設定されたことであることを特徴とする請求項4に記載の撮影装置。 The imaging device according to claim 4, wherein the predetermined condition is that the function of the imaging means is effectively set. 前記所定の条件は、前記撮影装置の電源がオンされたことであることを特徴とする請求項4に記載の撮影装置。 The imaging device according to claim 4, wherein the predetermined condition is that the power of the imaging device is turned on. 前記設定手段は、前記撮影装置の役割として前記ビーコンを受信する役割が設定されている場合に、前記撮影手段の機能が無効に設定されたことを条件として、前記撮影装置の役割を、前記ビーコンを送信する役割に切り替えることを特徴とする請求項1乃至6の何れか1項に記載の撮影装置。 When the role of receiving the beacon is set as the role of the photographing device, the setting means sets the role of the photographing device as the beacon, provided that the function of the photographing means is disabled. The photographing apparatus according to any one of claims 1 to 6, wherein the role of transmitting the beacon is switched to. 前記設定手段は、前記撮影装置の役割として前記ビーコンを受信する役割が設定されている場合に、前記撮影装置の電源オフの指示を受け付けたことを条件として、前記撮影装置の役割を、前記ビーコンを送信する役割に切り替えることを特徴とする請求項1乃至6の何れか1項に記載の撮影装置。 When the role of receiving the beacon is set as the role of the photographing device, the setting means sets the role of the photographing device as the beacon, provided that the instruction to turn off the power of the photographing device is received. The photographing apparatus according to any one of claims 1 to 6, wherein the role of transmitting the beacon is switched to. 無線通信機能を有する撮影装置が実行する制御方法であって、
被写体を撮影する撮影ステップと、
前記撮影装置の無線通信における役割として、前記撮影装置の存在を伝えるビーコンを送信する役割と、外部装置からビーコンを受信する役割のいずれかを設定し、前記ビーコンを送信する役割に設定されている状態において、外部装置との無線接続を確立中でない場合に、前記撮影装置の役割を、前記ビーコンを受信する役割に切り替える設定ステップと、
前記ビーコンを送信する役割に設定されている場合には、前記ビーコンを受信した外部装置から該外部装置の位置情報を受信し、前記ビーコンを受信する役割に設定されている場合には、送信元の位置情報を含んだビーコンを受信する受信ステップと、
前記受信ステップにおいて位置情報を受信した場合に、受信した位置情報に基づいて特定された前記撮影装置の位置情報を、前記撮影ステップにおいて得られた撮影画像に付与し、前記受信ステップにおいて前記ビーコンを受信した場合に、受信したビーコンに含まれる位置情報に基づいて特定された前記撮影装置の位置情報を、前記撮影画像に付与する付与ステップと
を含むことを特徴とする制御方法。
It is a control method executed by a photographing device having a wireless communication function.
Shooting steps to shoot the subject and
As a role in the wireless communication of the photographing device, either a role of transmitting a beacon for transmitting the existence of the photographing device or a role of receiving a beacon from an external device is set, and the role of transmitting the beacon is set. In the state, when the wireless connection with the external device is not established, the setting step of switching the role of the photographing device to the role of receiving the beacon, and
When it is set to the role of transmitting the beacon, it receives the position information of the external device from the external device which received the beacon, and when it is set to the role of receiving the beacon, it is the transmission source. A reception step to receive a beacon containing the location information of
When the position information is received in the reception step, the position information of the photographing device specified based on the received position information is added to the photographed image obtained in the photographing step, and the beacon is attached in the receiving step. A control method comprising a step of imparting the position information of the photographing device specified based on the position information included in the received beacon to the photographed image when the image is received.
無線通信機能を有する撮影装置のコンピュータを、
前記撮影装置の無線通信における役割として、前記撮影装置の存在を伝えるビーコンを送信する役割と、外部装置からビーコンを受信する役割のいずれかを設定し、前記ビーコンを送信する役割に設定されている状態において、外部装置との無線接続を確立中でない場合に、前記撮影装置の役割を、前記ビーコンを受信する役割に切り替える設定手段と、
前記ビーコンを送信する役割に設定されている場合には、前記ビーコンを受信した外部装置から該外部装置の位置情報を受信し、前記ビーコンを受信する役割に設定されている場合には、送信元の位置情報を含んだビーコンを受信する受信手段と、
前記受信手段が位置情報を受信した場合に、受信した位置情報に基づいて特定された前記撮影装置の位置情報を、撮影手段により得られた撮影画像に付与し、前記受信手段が前記ビーコンを受信した場合に、受信したビーコンに含まれる位置情報に基づいて特定された前記撮影装置の位置情報を、前記撮影画像に付与する付与手段と
して機能させるためのプログラム。
A computer with a shooting device that has a wireless communication function
As a role in the wireless communication of the photographing device, either a role of transmitting a beacon for transmitting the existence of the photographing device or a role of receiving a beacon from an external device is set, and the role of transmitting the beacon is set. In the state, when the wireless connection with the external device is not established, the setting means for switching the role of the photographing device to the role of receiving the beacon, and
When it is set to the role of transmitting the beacon, it receives the position information of the external device from the external device which received the beacon, and when it is set to the role of receiving the beacon, it is the transmission source. A receiving means for receiving a beacon containing the location information of
When the receiving means receives the position information, the position information of the photographing device specified based on the received position information is added to the photographed image obtained by the photographing means, and the receiving means receives the beacon. A program for making the position information of the photographing device specified based on the position information included in the received beacon function as an giving means to be given to the photographed image.
JP2017159542A 2017-08-22 2017-08-22 Imaging equipment, control methods and programs Active JP6918634B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017159542A JP6918634B2 (en) 2017-08-22 2017-08-22 Imaging equipment, control methods and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017159542A JP6918634B2 (en) 2017-08-22 2017-08-22 Imaging equipment, control methods and programs

Publications (2)

Publication Number Publication Date
JP2019041151A JP2019041151A (en) 2019-03-14
JP6918634B2 true JP6918634B2 (en) 2021-08-11

Family

ID=65726692

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017159542A Active JP6918634B2 (en) 2017-08-22 2017-08-22 Imaging equipment, control methods and programs

Country Status (1)

Country Link
JP (1) JP6918634B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630553B (en) * 2021-08-02 2023-03-21 上海停格网络科技有限公司 Geographic information acquisition method and photographing device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102647735B1 (en) * 2015-06-11 2024-03-15 가시오게산키 가부시키가이샤 Image shooting apparatus, information acquiring apparatus, information acquiring system, transmission control method, information acquiring method, and computer program stored in recording medium
JP6146464B2 (en) * 2015-06-11 2017-06-14 カシオ計算機株式会社 Imaging apparatus, information acquisition apparatus, information acquisition system, transmission control method, information acquisition method, and program
JP6507997B2 (en) * 2015-11-02 2019-05-08 株式会社デンソー User approaching separation estimation system

Also Published As

Publication number Publication date
JP2019041151A (en) 2019-03-14

Similar Documents

Publication Publication Date Title
JP5920057B2 (en) Transmission device, image sharing system, transmission method, and program
JP6465541B2 (en) COMMUNICATION DEVICE, REPRODUCTION DEVICE, ITS METHOD, AND PROGRAM
JP2012247841A (en) Neighboring person specifying apparatus, neighboring person specifying method, neighboring person specifying program, and neighboring person specifying system
JP2012247840A (en) Neighboring person specifying apparatus, neighboring person specifying method, neighboring person specifying program, and neighboring person specifying system
US9699366B2 (en) Image providing apparatus, image display device, imaging system, image display system, and image providing method in which composite image data is generated using auxiliary image data generated by at least one auxiliary imaging unit
JP6004807B2 (en) Image processing apparatus, control method thereof, and program
JP2015156573A (en) Imaging apparatus, communication apparatus, imaging system, imaging method, display method, imaging program, and display program
JP6987556B2 (en) Communication equipment, information processing methods and programs
JP6918634B2 (en) Imaging equipment, control methods and programs
JP2016103703A (en) Information processing device, electronic apparatus, control method for them, program, and storage medium
JP6391374B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP2015164240A (en) Communication apparatus, imaging apparatus, server, communication system, communication method, and communication program
JP6433231B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6976127B2 (en) Image pickup device, information processing device, their control method, and information processing system
JP6444095B2 (en) Communication apparatus, control method, and program
JP7073570B2 (en) Communication equipment, control methods and programs for communication equipment
JP7091570B1 (en) Communication equipment, control methods and programs for communication equipment
JP5376899B2 (en) Image display device, imaging device, and image display method
WO2015173907A1 (en) Data transfer system, display device, portable information terminal, data transfer method, and program
JP2020140600A (en) Intermediary terminal, communication system, input system, intermediary terminal control method, and program
JP7286842B2 (en) UPDATE SYSTEM, UPDATE SYSTEM CONTROL METHOD AND PROGRAM
JP2014165639A (en) Information terminal device, communication system, and method
JP2015099581A (en) Information presentation system including a plurality of cameras and server
US11496685B2 (en) Information processing system, information processing method, medium, and management device
JP2015012582A (en) Imaging device, information processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200708

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210428

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210721

R151 Written notification of patent or utility model registration

Ref document number: 6918634

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151