Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6746428B2 - IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM - Google Patents
[go: Go Back, main page]

JP6746428B2 - IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM - Google Patents

IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM Download PDF

Info

Publication number
JP6746428B2
JP6746428B2 JP2016158904A JP2016158904A JP6746428B2 JP 6746428 B2 JP6746428 B2 JP 6746428B2 JP 2016158904 A JP2016158904 A JP 2016158904A JP 2016158904 A JP2016158904 A JP 2016158904A JP 6746428 B2 JP6746428 B2 JP 6746428B2
Authority
JP
Japan
Prior art keywords
control unit
unit
wireless communication
main control
communication
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.)
Expired - Fee Related
Application number
JP2016158904A
Other languages
Japanese (ja)
Other versions
JP2018026767A (en
JP2018026767A5 (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 JP2016158904A priority Critical patent/JP6746428B2/en
Publication of JP2018026767A publication Critical patent/JP2018026767A/en
Publication of JP2018026767A5 publication Critical patent/JP2018026767A5/ja
Application granted granted Critical
Publication of JP6746428B2 publication Critical patent/JP6746428B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Description

本発明は、無線通信を介して他の機器と通信可能な通信装置に関する。 The present invention relates to a communication device capable of communicating with another device via wireless communication.

近年、携帯電話を含むスマートデバイスと無線LAN(Local Area Network)やBluetooth(登録商標)を介して接続し、デジタルカメラ内の画像を簡単にスマートデバイスへ転送する技術が知られている(例えば特許文献1)。 2. Description of the Related Art In recent years, a technique is known in which a smart device including a mobile phone is connected via a wireless LAN (Local Area Network) or Bluetooth (registered trademark) and an image in a digital camera is easily transferred to the smart device (for example, patents). Reference 1).

特開2015−88789号公報JP, 2005-88789, A

無線通信機能を有するデジタルカメラにおいては、無線通信を制御する通信制御部と、カメラの機能を制御するメイン制御部とが分かれており、デジタルカメラの電源をOFFにしても無線通信を制御する部分に電力を供給し続けるものが存在する。このようなカメラでは、リモートでデジタルカメラの電源をONにできるため、デジタルカメラをカバンの中にしまったままでもスマートデバイスの操作だけで通信することができる。 In a digital camera having a wireless communication function, a communication control unit that controls wireless communication and a main control unit that controls the function of the camera are separated, and a unit that controls wireless communication even when the power of the digital camera is turned off. There are things that continue to supply power to. In such a camera, since the power of the digital camera can be turned on remotely, communication can be performed only by operating the smart device even when the digital camera is left in the bag.

しかしながら、デジタルカメラとスマートデバイスが接続したからといって、必ずしもデジタルカメラの無線機能を利用したいとは限らない。接続した際であっても、ユーザの望まないタイミングであれば、デジタルカメラのメイン制御部の電源をONにしないほうが好ましい。 However, just because a digital camera and a smart device are connected does not necessarily mean that the wireless function of the digital camera is desired to be used. Even at the time of connection, it is preferable not to turn on the power of the main control unit of the digital camera if the timing is not desired by the user.

そこで、本発明は、よりユーザの意図に沿った電源の制御を実現することを目的とする。 Therefore, it is an object of the present invention to realize power supply control that is more in line with the user's intention.

上記の課題を解決するために、本発明の撮像装置は、近距離無線通信規格である第一の通信規格に従って通信する近距離無線通信手段と、前記近距離無線通信手段よりも消費電力の多い第二の通信規格に従って無線通信する無線通信手段と、電源と、前記撮像装置の動作を制御する主制御手段と、前記主制御手段とは異なる副制御手段とを有し、前記主制御手段と前記副制御手段と前記近距離無線通信手段に前記電源からの電力を供給する第一の状態において前記近距離無線通信手段を介して外部装置と接続する場合、前記副制御手段は、通信イベントを前記主制御手段に通知し、前記副制御手段と前記近距離無線通信手段に電力を供給し前記主制御手段に電力を供給しない第二の状態において前記近距離無線通信手段を介して前記外部装置と接続する場合、前記副制御手段は、前記通信イベントを前記主制御手段に通知せず、前記外部装置と前記近距離無線通信手段を介して接続している間に、前記外部装置から起動を要求された場合、前記第二の状態であっても、前記副制御手段は、前記通信イベントを前記主制御手段に通知するよう制御することで前記第一の状態への遷移を促し、前記近距離無線通信手段を介して前記外部装置から前記第二の通信規格に従った通信を要求された場合、前記主制御手段は、前記無線通信手段を介して前記第二の通信規格に従った通信を行うよう制御することを特徴とする。 In order to solve the above problems, an imaging apparatus of the present invention has a short-range wireless communication unit that communicates according to a first communication standard that is a short-range wireless communication standard, and consumes more power than the short-range wireless communication unit. Wireless communication means for performing wireless communication according to a second communication standard, a power supply, main control means for controlling the operation of the imaging device, and sub-control means different from the main control means, and the main control means When connecting to an external device via the short-range wireless communication unit in the first state in which electric power from the power source is supplied to the sub-control unit and the short-range wireless communication unit, the sub-control unit transmits a communication event. The external device is notified via the short-range wireless communication unit in a second state in which the main control unit is notified and power is supplied to the sub-control unit and the short-range wireless communication unit but no power is supplied to the main control unit. When connecting with the sub-control unit, the sub-control unit does not notify the main control unit of the communication event and activates from the external device while the sub-control unit is connected to the external device via the short-range wireless communication unit. When requested, even in the second state, the sub-control unit prompts the transition to the first state by controlling to notify the main control unit of the communication event, When a communication conforming to the second communication standard is requested from the external device via the distance wireless communication unit, the main control unit communicates via the wireless communication unit according to the second communication standard. It is characterized by controlling to perform.

本発明によれば、よりユーザの意図に沿った電源の制御を実現することができる。 According to the present invention, it is possible to realize the control of the power supply more in line with the user's intention.

第1の実施形態におけるデジタルカメラの構成を示すブロック図と概観図である。FIG. 3 is a block diagram and a schematic view showing the configuration of the digital camera according to the first embodiment. 第1の実施形態におけるスマートデバイスの構成を示すブロック図と外観図である。FIG. 2 is a block diagram and an external view showing the configuration of the smart device according to the first embodiment. 第1の実施形態におけるデジタルカメラの主制御部と副制御部の間のSPI通信の例を示す図である。It is a figure which shows the example of SPI communication between the main-control part and sub-control part of the digital camera in 1st Embodiment. 第1の実施形態におけるデジタルカメラの主制御部の電力供給状態の変化を副制御部に通知する通信シーケンスを示した図である。FIG. 6 is a diagram showing a communication sequence for notifying the sub control unit of a change in the power supply state of the main control unit of the digital camera in the first embodiment. 第1の実施形態におけるBLE接続・切断時のデジタルカメラとスマートデバイスの通信シーケンスを示した図である。FIG. 6 is a diagram showing a communication sequence between a digital camera and a smart device at the time of BLE connection/disconnection in the first embodiment. 第1の実施形態におけるデジタルカメラの表示部におけるBLE接続状態を示す例の図である。It is a figure of the example which shows the BLE connection state in the display part of the digital camera in 1st Embodiment. 第1の実施形態におけるスマートデバイスのユーザ操作例を示した図である。It is a figure showing an example of user operation of a smart device in a 1st embodiment. 第1の実施形態におけるBLEを用いてスマートデバイスからデジタルカメラを起動させるシーケンス図である。It is a sequence diagram which starts a digital camera from a smart device using BLE in a 1st embodiment. 第1の実施形態におけるデジタルカメラの副制御部のフローチャートである。6 is a flowchart of a sub control unit of the digital camera according to the first embodiment.

以下に、本発明を実施するための形態について、添付の図面を用いて詳細に説明する。
なお、以下に説明する実施の形態は、本発明の実現手段としての一例であり、本発明が適用される装置の構成や各種条件によって適宜修正又は変更されてもよい。また、各実施の形態を適宜組み合せることも可能である。
Hereinafter, modes for carrying out the present invention will be described in detail with reference to the accompanying drawings.
The embodiment described below is an example of a means for realizing the present invention, and may be appropriately modified or changed depending on the configuration of the device to which the present invention is applied and various conditions. It is also possible to combine the respective embodiments as appropriate.

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

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

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

不揮発性メモリ103は、電気的に消去・記録可能な不揮発性のメモリであり、制御部101で実行される後述のプログラム等が格納される。 The non-volatile memory 103 is an electrically erasable/recordable non-volatile memory, and stores a program, which will be described later, executed by the control unit 101.

作業用メモリ104は、撮像部102で撮像された画像データを一時的に保持するバッファメモリや、表示部106の画像表示用メモリ、制御部101の作業領域等として使用される。 The work memory 104 is used as a buffer memory that temporarily holds the image data captured by the image capturing unit 102, an image display memory of the display unit 106, a work area of the control unit 101, and the like.

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

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

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

電源管理部108はデジタルカメラ100が動作するための電力を供給するためのユニットである。電源管理部108はデジタルカメラ100全体に電力を供給するほかに、後述する副制御部116・近距離無線通信部112に限定して電力を供給することができる。以後、デジタルカメラ100全体に電力が供給されている状態を電源ON状態と呼称する。また、副制御部116・近距離無線通信部112に限定して電力を供給している状態をスタンバイ状態と呼称する。また、デジタルカメラ100全体へ電力供給が断たれている状態を電源OFF状態と呼称する。スタンバイ状態では、主制御部101への電力供給が断たれているため、表示部106にはなにも表示されない。また撮像を行うこともできない。その代わり、デジタルカメラ100は消費電力が極めて低い状態で、スマートデバイス200からの信号を待つことができる。 The power management unit 108 is a unit for supplying electric power for operating the digital camera 100. In addition to supplying power to the entire digital camera 100, the power management unit 108 can supply power only to the sub-control unit 116 and short-range wireless communication unit 112 described below. Hereinafter, a state in which electric power is supplied to the entire digital camera 100 is called a power-on state. A state in which power is supplied only to the sub-control unit 116 and the short-range wireless communication unit 112 is called a standby state. Further, a state in which power supply to the entire digital camera 100 is cut off is called a power-off state. In the standby state, the power supply to the main control unit 101 is cut off, so that nothing is displayed on the display unit 106. In addition, it is not possible to take an image. Instead, the digital camera 100 can wait for a signal from the smart device 200 with extremely low power consumption.

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

近距離無線通信部112は、例えば無線通信のためのアンテナと無線信号を処理するため変復調回路や通信コントローラから構成される。近距離無線通信部112は、変調した無線信号をアンテナから出力し、またアンテナで受信した無線信号を復調することによりIEEE802.15の規格(いわゆるBluetooth(登録商標))に従った近距離無線通信を実現する。本実施形態においてBluetooth(登録商標)通信は、低消費電力であるBluetooth(登録商標) Low Energyのバージョン4.0(以下BLE)を採用する。このBLE通信は、無線LAN通信と比べて通信可能な範囲が狭い(つまり、通信可能な距離が短い)。また、BLE通信は、無線LAN通信と比べて通信速度が遅い。その一方で、BLE通信は、無線LAN通信と比べて消費電力が少ない。本実施形態のデジタルカメラ100は、近距離無線通信部112を介して、外部装置とデータのやりとりを行うことができる。例えば外部装置から撮影の命令を受信した場合は撮像部102を制御し、撮影動作を行い、無線LAN通信によるデータの授受を行うための命令を受信した場合は通信111を制御し、無線LAN通信を開始する。また近距離無線通信部112は前述のスタンバイ状態での動作が可能なため、スタンバイ状態で外部装置からデジタルカメラ電源ONの命令を受信した場合は後述する副制御部116を介してデジタルカメラ100全体の電源供給を開始することが可能である。 The short-range wireless communication unit 112 includes, for example, an antenna for wireless communication, a modulation/demodulation circuit for processing a wireless signal, and a communication controller. The short-range wireless communication unit 112 outputs a modulated wireless signal from an antenna and demodulates a wireless signal received by the antenna, thereby performing short-range wireless communication in accordance with the IEEE802.15 standard (so-called Bluetooth (registered trademark)). To realize. In this embodiment, Bluetooth (registered trademark) communication adopts Bluetooth 4.0 (registered trademark) Low Energy version 4.0 (hereinafter referred to as BLE), which has low power consumption. The BLE communication has a narrower communicable range than the wireless LAN communication (that is, the communicable distance is short). Moreover, the communication speed of BLE communication is slower than that of wireless LAN communication. On the other hand, BLE communication consumes less power than wireless LAN communication. The digital camera 100 of this embodiment can exchange data with an external device via the short-range wireless communication unit 112. For example, when a command to shoot is received from an external device, the imaging unit 102 is controlled to perform a shooting operation, and when a command to exchange data by wireless LAN communication is received, the communication 111 is controlled to perform wireless LAN communication. To start. Further, since the short-distance wireless communication unit 112 can operate in the standby state described above, when the digital camera power ON command is received from the external device in the standby state, the entire digital camera 100 is transmitted via the sub-control unit 116 described later. It is possible to start the power supply of.

副制御部116は近距離無線通信部112を制御し、外部装置との近距離無線通信を制御する装置である。主制御部101と内部インターフェースで接続されており、主制御部101とデータの送受が可能となっている。本実施形態では主制御部101との内部インターフェースはSPI(SerialPeripheralInterface)を採用している。SPIは通常SCK(SerialClock)、MISO(MasterInSlaveOut)、MOSI(MasterOutSlaveIn)、SS(SlaveSelect)の4本の信号線で構成される。本実施形態においては主制御部101がMaster、副制御部116がSlaveとなる。更に本実施形態のデジタルカメラ100では、副制御部116から主制御部101への通信開始を指示するための信号線SREQ(SerialRequest)を追加している。このSREQ線が主制御部101だけでなく電源管理部108とも接続され、電源管理部108はSREQ線のASSERTを検知すると主制御部101への電源供給を開始する構成を取っている。そして、外部装置から近距離無線通信部112を介してデジタルカメラ100の電源をONする命令を受信した際にはSREQ線をASSERTすることにより電源管理部108を制御し、デジタルカメラ100全体への電源供給を開始することができる。副制御部作業用メモリ117は主制御部101の電力供給状態を副制御部116が記憶するために使用される。 The sub control unit 116 is a device that controls the short-range wireless communication unit 112 and controls short-range wireless communication with an external device. It is connected to the main control unit 101 via an internal interface, and can send and receive data to and from the main control unit 101. In this embodiment, an SPI (Serial Peripheral Interface) is adopted as an internal interface with the main control unit 101. The SPI is usually composed of four signal lines of SCK (Serial Clock), MISO (MasterInSlaveOut), MOSI (MasterOutSlaveIn), and SS (SlaveSelect). In the present embodiment, the main control unit 101 is Master and the sub control unit 116 is Slave. Further, in the digital camera 100 of this embodiment, a signal line SREQ (Serial Request) for instructing the sub controller 116 to start communication from the main controller 101 is added. This SREQ line is connected not only to the main control unit 101 but also to the power supply management unit 108, and the power supply management unit 108 has a configuration to start power supply to the main control unit 101 when detecting ASSERT of the SREQ line. When a command to turn on the power of the digital camera 100 is received from the external device via the short-range wireless communication unit 112, the power management unit 108 is controlled by ASSERTing the SREQ line to control the entire digital camera 100. Power supply can be started. The sub-control unit work memory 117 is used by the sub-control unit 116 to store the power supply state of the main control unit 101.

次に、デジタルカメラ100の外観について説明する。図1(b)、図1(c)はデジタルカメラ100の外観の一例を示す図である。レリーズスイッチ105aや再生ボタン105b、方向キー105c、タッチパネル105dは、前述の操作部105に含まれる操作部材である。また、表示部106には、撮像部102による撮像の結果得られた画像が表示される。 Next, the appearance of the digital camera 100 will be described. FIG. 1B and FIG. 1C are diagrams showing an example of the external appearance of the digital camera 100. The release switch 105a, the play button 105b, the direction key 105c, and the touch panel 105d are operation members included in the operation unit 105 described above. Further, an image obtained as a result of the image pickup by the image pickup unit 102 is displayed on the display unit 106.

以上がデジタルカメラ100の説明である。 The above is the description of the digital camera 100.

<スマートデバイス200の構成について>
図2は、本実施形態の情報処理装置の一例であるスマートデバイス200の構成例を示すブロック図である。なお、スマートデバイスとはスマートフォン等の携帯電話やいわゆるタブレットデバイスを含む。なお、ここでは情報処理装置の一例としてスマートデバイスについて述べるが、情報処理装置はこれに限られない。例えば情報処理装置は、無線機能付きのデジタルカメラやプリンタ、テレビ、あるいはパーソナルコンピュータ、携帯電話などであってもよい。
<About the configuration of the smart device 200>
FIG. 2 is a block diagram showing a configuration example of the smart device 200 which is an example of the information processing apparatus of this embodiment. The smart device includes mobile phones such as smartphones and so-called tablet devices. Although a smart device is described here as an example of the information processing apparatus, the information processing apparatus is not limited to this. For example, the information processing device may be a digital camera or printer with a wireless function, a television, a personal computer, a mobile phone, or the like.

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

撮像部202は、撮像部202に含まれるレンズで結像された被写体光を電気信号に変換し、ノイズ低減処理などを行い、デジタルデータを画像データとして出力する。撮像した画像データはバッファメモリに蓄えられた後、制御部201にて所定の演算を行い、記録媒体210に記録される。 The imaging unit 202 converts the subject light imaged by the lens included in the imaging unit 202 into an electric signal, performs noise reduction processing, and outputs digital data as image data. The captured image data is stored in the buffer memory, and then the control unit 201 performs a predetermined calculation and records it on the recording medium 210.

不揮発性メモリ203は、電気的に消去・記録可能な不揮発性のメモリである。不揮発性メモリ203には、制御部201が実行する基本的なソフトウェアであるOS(オペレーティングシステム)や、このOSと協働して応用的な機能を実現するアプリケーションが記録されている。また、本実施形態では、不揮発性メモリ203には、デジタルカメラ100と通信するためのアプリケーション(以下アプリ)が格納されている。 The non-volatile memory 203 is a non-volatile memory that can be electrically erased and recorded. The non-volatile memory 203 stores an OS (operating system) which is basic software executed by the control unit 201 and an application which realizes an applied function in cooperation with the OS. Further, in the present embodiment, the nonvolatile memory 203 stores an application (hereinafter referred to as an application) for communicating with the digital camera 100.

作業用メモリ204は、表示部206の画像表示用メモリや、制御部201の作業領域等として使用される。 The work memory 204 is used as an image display memory of the display unit 206, a work area of the control unit 201, and the like.

操作部205は、スマートデバイス200に対する指示をユーザから受け付けるために用いられる。操作部205は例えば、ユーザがスマートデバイス200の電源のON/OFFを指示するための電源ボタンや、表示部206に形成されるタッチパネルなどの操作部材を含む。 The operation unit 205 is used to receive an instruction for the smart device 200 from the user. The operation unit 205 includes, for example, a power button for the user to instruct power ON/OFF of the smart device 200 and an operation member such as a touch panel formed on the display unit 206.

表示部206は、画像データの表示、対話的な操作のための文字表示などを行う。なお、表示部206は必ずしもスマートデバイス200が備える必要はない。スマートデバイス200は表示部206と接続することができ、表示部206の表示を制御する表示制御機能を少なくとも有していればよい。 The display unit 206 displays image data, displays characters for interactive operation, and the like. The display unit 206 does not necessarily have to be included in the smart device 200. The smart device 200 can be connected to the display unit 206 and has at least a display control function for controlling the display of the display unit 206.

記録媒体207は、撮像部202から出力された画像データを記録することができる。記録媒体207は、スマートデバイス200に着脱可能なよう構成してもよいし、スマートデバイス200に内蔵されていてもよい。すなわち、スマートデバイス200は少なくとも記録媒体207にアクセスする手段を有していればよい。 The recording medium 207 can record the image data output from the imaging unit 202. The recording medium 207 may be configured to be attachable to and detachable from the smart device 200, or may be built in the smart device 200. That is, the smart device 200 may have at least a means for accessing the recording medium 207.

通信部211は、外部装置と接続するためのインターフェースである。本実施形態のスマートデバイス200は、通信部211を介して、デジタルカメラ100とデータのやりとりを行うことができる。本実施形態では、通信部211はアンテナであり、制御部101は、アンテナを介して、デジタルカメラ100と接続することができる。なお、デジタルカメラ100との接続では、直接接続してもよいしアクセスポイントを介して接続してもよい。データを通信するためのプロトコルとしては、例えば無線LANを通じたPTP/IP(Picture Transfer Protocol over Internet Protocol)を用いることができる。なお、デジタルカメラ100との通信はこれに限られるものではない。 The communication unit 211 is an interface for connecting to an external device. The smart device 200 of the present embodiment can exchange data with the digital camera 100 via the communication unit 211. In the present embodiment, the communication unit 211 is an antenna, and the control unit 101 can be connected to the digital camera 100 via the antenna. In connection with the digital camera 100, it may be directly connected or may be connected via an access point. As a protocol for communicating data, for example, PTP/IP (Picture Transfer Protocol over Internet Protocol) through a wireless LAN can be used. The communication with the digital camera 100 is not limited to this.

近距離無線通信部212は、例えば無線通信のためのアンテナと無線信号を処理するため変復調回路や通信コントローラから構成される。近距離無線通信部212は、変調した無線信号をアンテナから出力し、またアンテナで受信した無線信号を復調することによりIEEE802.15の規格(いわゆるBluetooth(登録商標))に従った近距離無線通信を実現する。本実施形態においてBluetooth(登録商標)通信は、前述のデジタルカメラ100の構成と同様に低消費電力であるBluetooth(登録商標) Low Energyのバージョン4.0(以下BLE)を採用する。 The short-range wireless communication unit 212 includes, for example, an antenna for wireless communication, a modulation/demodulation circuit for processing a wireless signal, and a communication controller. The short-range wireless communication unit 212 outputs a modulated wireless signal from an antenna and demodulates a wireless signal received by the antenna, thereby performing short-range wireless communication in accordance with the IEEE802.15 standard (so-called Bluetooth (registered trademark)). To realize. In this embodiment, Bluetooth (registered trademark) communication employs version 4.0 (hereinafter, BLE) of Bluetooth (registered trademark) Low Energy, which has low power consumption like the configuration of the digital camera 100 described above.

本実施形態におけるデジタルカメラ100との近距離無線通信においては、最初にペアリングと呼ばれる近距離無線通信における1:1接続のための操作によってデジタルカメラ100の近距離無線通信部112と接続する必要がある。ペアリング操作においては例えばデジタルカメラ100がBLEのPeripheralデバイスとなり、近距離無線通信部112を用いてAdvertiseと呼ばれる自分の存在を周辺に知らせるための信号を定期的に発信する。そして、スマートデバイス200がCentralとして動作し、近距離無線通信部212を用いてScan動作を行うことによって、デジタルカメラ100からのAdvertiseを受信することでデジタルカメラ100を発見する。デジタルカメラ100を発見すると、スマートデバイス200はInitiate動作によって参加要請を行うことによって近距離無線通信の接続を確立する。 In the near field communication with the digital camera 100 in the present embodiment, it is necessary to first connect to the near field communication unit 112 of the digital camera 100 by an operation for 1:1 connection in the near field communication called pairing. There is. In the pairing operation, for example, the digital camera 100 serves as a BLE Peripheral device, and periodically transmits a signal called "Advertise" to the surroundings by using the short-range wireless communication unit 112. Then, the smart device 200 operates as the Central, and performs the Scan operation using the short-range wireless communication unit 212, thereby discovering the digital camera 100 by receiving the Advertise from the digital camera 100. When the digital camera 100 is found, the smart device 200 establishes a short-range wireless communication connection by requesting participation through the Initiate operation.

なお、ペアリングという用語は暗号化をともなうBluetooth接続の際に限定して使用されることもあるが、本発明においては暗号化の有無に関わらず、近距離無線通信を用いた1:1接続のための操作をペアリングと呼ぶ。 Note that the term pairing is sometimes used only for Bluetooth connection with encryption, but in the present invention, 1:1 connection using short-range wireless communication regardless of whether encryption is used or not. The operation for is called pairing.

公衆網接続部213は、公衆無線通信を行う際に用いられるインターフェースである。スマートデバイス200は、公衆網接続部213を介して、他の機器と通話することができる。この際、制御部201はマイク214およびスピーカ215を介して音声信号の入力と出力を行うことで、通話を実現する。本実施形態では、公衆網接続部213はアンテナであり、制御部101は、アンテナを介して、公衆網に接続することができる。なお、接続部211および公衆網接続部213は、一つのアンテナで兼用することも可能である。 The public network connection unit 213 is an interface used when performing public wireless communication. The smart device 200 can communicate with other devices via the public network connection unit 213. At this time, the control unit 201 realizes a call by inputting and outputting a voice signal via the microphone 214 and the speaker 215. In the present embodiment, the public network connection unit 213 is an antenna, and the control unit 101 can connect to the public network via the antenna. Note that the connection unit 211 and the public network connection unit 213 can also be used by one antenna.

次に、スマートデバイス200の外観について説明する。図2(b)はスマートデバイス100の外観の一例を示す図である。電源ボタン205aやホームボタン205b、タッチパネル205cは、前述の操作部205に含まれる操作部材である。ホームボタン205bはユーザが押下することで実行中のアプリケーションを中断し、表示部206へ他のアプリケーションを選択できるホーム画面を表示することができる。 Next, the appearance of the smart device 200 will be described. FIG. 2B is a diagram showing an example of the appearance of the smart device 100. The power button 205a, the home button 205b, and the touch panel 205c are operation members included in the operation unit 205 described above. When the home button 205b is pressed by the user, the application being executed can be interrupted and a home screen for selecting another application can be displayed on the display unit 206.

以上がスマートデバイス200の説明である。 The above is the description of the smart device 200.

以降図3から図9を用いてデジタルカメラ100の近距離無線通信部112を介したBLEの通信イベント発生時の主制御部101と副制御部116、スマートデバイス200の挙動を説明する。 The behaviors of the main control unit 101, the sub control unit 116, and the smart device 200 when a BLE communication event occurs via the short-range wireless communication unit 112 of the digital camera 100 will be described below with reference to FIGS. 3 to 9.

<デジタルカメラの主制御部と副制御部の内部通信シーケンス>
まず図3(a)でデジタルカメラ100が電源ON状態の時の副制御部116から主制御部101へSPI通信によってデータ転送を行う流れの例の説明を行う。
<Internal communication sequence between main control unit and sub control unit of digital camera>
First, with reference to FIG. 3A, an example of a flow of performing data transfer by SPI communication from the sub control unit 116 to the main control unit 101 when the power of the digital camera 100 is ON will be described.

副制御部116は主制御部101へ通信を開始する際にまずステップS301でSREQポートをASSERTにさせる。主制御部101はSREQ信号のASSERTを検知すると、SPIによるデータ受信が可能な状態かどうかを判断し、可能と判断するとステップS302にてSSポートをASSERTさせる。副制御部116はSSポートのASSERTを検知すると、主制御部101へのデータ送信の準備を行なった後、ステップS303にてSREQポートをDEASSERTさせる。主制御部101はSREQポートのDEASSERTを検知するとステップS304にてSCKポートのクロック信号を発生させ、MISOポートを用いてデータの受信を行う。主制御部101はデータの受信が完了するとステップS305にてSSポートをDEASSERTさせ、SPI通信を終了させる。 When starting communication with the main control unit 101, the sub control unit 116 first sets the SREQ port to ASSERT in step S301. When the main control unit 101 detects ASSERT of the SREQ signal, the main control unit 101 determines whether or not the data reception by the SPI is possible, and if so, the SS port is ASSERTed in step S302. When the sub control unit 116 detects an ASSERT of the SS port, it prepares for data transmission to the main control unit 101, and then at step S303, causes the SREQ port to be DEASSERT. When the main control unit 101 detects DEASSERT of the SREQ port, it generates a clock signal of the SCK port in step S304 and receives data using the MISO port. When the data reception is completed, the main control unit 101 sets the SS port to DEASSERT in step S305, and ends the SPI communication.

次に図3(b)でデジタルカメラ100がスタンバイ状態の時の副制御部116から主制御部101へSPI通信によってデータ転送を行う流れの例の説明を行う。 Next, with reference to FIG. 3B, an example of a flow of performing data transfer from the sub control unit 116 to the main control unit 101 by SPI communication when the digital camera 100 is in the standby state will be described.

図3(a)のステップS301と同様に副制御部116は主制御部101へ通信を開始する際にまずステップS311でSREQポートをASSERTにさせる。SREQポートがASSERTされるとステップS312でSREQポートと接続された電源管理部108が主制御部101を起動させる。ここで電源管理部108が主制御部101を起動させることは、ハードウェア的にSREQポートと主制御部101の起動ポートが連動していてもよい。あるいは、電源管理部108がSREQポートのASSERTの検知を判断して、主制御部101の起動ポートを動作させてもよい。主制御部101はステップS312にて起動すると、図3(a)のS302と同様に、SPIによるデータ受信が可能な状態かどうかを判断し、可能と判断するとステップS313にてSSポートをASSERTさせる。 Similar to step S301 in FIG. 3A, when starting communication with the main control unit 101, the sub control unit 116 first sets the SREQ port to ASSERT in step S311. When the SREQ port is ASSERTed, the power management unit 108 connected to the SREQ port activates the main control unit 101 in step S312. Here, for the power management unit 108 to activate the main control unit 101, the SREQ port and the activation port of the main control unit 101 may be linked in terms of hardware. Alternatively, the power management unit 108 may determine the ASSERT detection of the SREQ port and operate the activation port of the main control unit 101. When the main control unit 101 is activated in step S312, it determines whether data can be received by SPI as in step S302 in FIG. 3A. If it is determined that the data can be received by SPI, the SS port is asserted in step S313. ..

以降図3(a)のステップS303〜ステップS305と同様にステップS314〜ステップS316にて副制御部116は主制御部101へSPI通信によるデータ転送を行う。 Thereafter, as in steps S303 to S305 in FIG. 3A, in steps S314 to S316, the sub control unit 116 transfers data to the main control unit 101 by SPI communication.

最後に図3(c)で主制御部101から副制御部116へSPI通信によってデータ転送を行う流れの例の説明を行う。 Finally, an example of the flow of data transfer from the main control unit 101 to the sub control unit 116 by SPI communication will be described with reference to FIG.

主制御部101は副制御部116へ通信を開始する際にまずステップS321にてSSポートをASSERTさせる。副制御部116はSSポートのASSERTを検知すると、SPIによるデータ受信が可能な状態かどうかを判断し、可能と判断するとステップS322にてSREQポートをASSERTさせる。主制御部101はSREQポートのASSERTを検知するとステップS323にてSCKポートのクロック信号を発生させ、MOSIポートを用いてデータの送信を行う。主制御部101はデータの送信が完了するとステップS324にてSSポートをDEASSERTさせる。副制御部116はSSポートのDEASSERTを検知すると主制御部101から送信されたデータの処理を行ない、ステップS325でSREQポートをDEASSERTさせて、SPI通信を終了させる。 When starting communication with the sub control unit 116, the main control unit 101 first causes the SS port to ASSERT in step S321. When the sub control unit 116 detects the ASSERT of the SS port, it determines whether or not the data reception by the SPI is possible, and if so, the SREQ port is ASSERTed in step S322. When the main control unit 101 detects ASSERT of the SREQ port, the main control unit 101 generates a clock signal of the SCK port in step S323, and transmits data using the MOSI port. When the data transmission is completed, the main control unit 101 sets the SS port to DEASSERT in step S324. When the sub control unit 116 detects the DEASSERT of the SS port, the sub control unit 116 processes the data transmitted from the main control unit 101, causes the SREQ port to be DEASSERT in step S325, and ends the SPI communication.

<デジタルカメラの状態変更時の流れ>
次に図4を用いてデジタルカメラ100の状態が操作部105へのユーザ操作により電源ON状態からスタンバイ状態へ、スタンバイ状態から電源ON状態へ変更される時の主制御部101と副制御部116間の通信の流れを説明する。
<Flow when changing the status of the digital camera>
Next, referring to FIG. 4, the main control unit 101 and the sub control unit 116 when the state of the digital camera 100 is changed from the power-on state to the standby state and from the standby state to the power-on state by a user operation on the operation unit 105. The flow of communication between them will be described.

図4(a)はデジタルカメラ100がユーザの操作部105の操作等によりスタンバイ状態から電源ON状態へ変更される際の主制御部101と副制御部116間の通信の流れである。主制御部101はステップS401にて操作部105のユーザ操作等により電力供給が開始されると、ステップS402において起動処理を実施する。その後、ステップS403にて副制御部116に対して主制御部101は図3(c)で示したSPI通信により、主制御部電力供給状態遷移通知を送信する。副制御部116は主制御部101から主制御部電力供給状態遷移通知を受信すると、ステップS404にて副制御部作業用メモリ117に対して、主制御部101が電力供給状態、つまりデジタルカメラ100が電源ON状態であることを記憶させる。 FIG. 4A is a flow of communication between the main control unit 101 and the sub control unit 116 when the digital camera 100 is changed from the standby state to the power ON state by the user operating the operation unit 105 or the like. When power supply is started by a user operation of the operation unit 105 or the like in step S401, the main control unit 101 executes a startup process in step S402. After that, in step S403, the main control unit 101 transmits the main control unit power supply state transition notification to the sub control unit 116 by the SPI communication shown in FIG. 3C. When the sub control unit 116 receives the main control unit power supply state transition notification from the main control unit 101, the main control unit 101 sends the power to the sub control unit working memory 117 in step S404, that is, the digital camera 100. It is stored that the power is on.

図4(b)はデジタルカメラ100がユーザの操作部105の操作等により電源ON状態からスタンバイ状態へ変更される際の主制御部101と副制御部116間の通信の流れである。主制御部101はステップS411にて操作部105のユーザ操作等によりスタンバイ状態への移行を指示されると、ステップS412にて副制御部116に対して図3(c)で示したSPI通信により、主制御部電力非供給状態遷移通知を送信する。副制御部116は主制御部101から主制御部電力非供給状態遷移通知を受信すると、ステップS413にて副制御部作業用メモリ117に対して、主制御部101が電力非供給状態、つまりデジタルカメラ100がスタンバイ状態であることを記憶させる。主制御部101は副制御部116へ主制御部電力非供給状態遷移通知を送信した後、ステップS414にて撤収処理を実行し、終了する。 FIG. 4B is a flow of communication between the main control unit 101 and the sub control unit 116 when the digital camera 100 is changed from the power-on state to the standby state by the user operating the operation unit 105 or the like. When the main control unit 101 is instructed to enter the standby state by a user operation of the operation unit 105 or the like in step S411, the main control unit 101 uses the SPI communication illustrated in FIG. 3C to the sub control unit 116 in step S412. , Main control unit power non-supply state transition notification is transmitted. When the sub control unit 116 receives the main control unit power non-supply state transition notification from the main control unit 101, the main control unit 101 instructs the sub control unit work memory 117 in the power non-supply state, that is, the digital state in step S413. The fact that the camera 100 is in the standby state is stored. After transmitting the main control unit power non-supply state transition notification to the sub control unit 116, the main control unit 101 executes the withdrawal process in step S414 and ends.

<BLE通信の接続・切断時の流れ>
次に図5、図6、図7を用いてデジタルカメラ100の近距離無線通信部112とスマートデバイス200の近距離無線通信部212とのBLE通信が、切断・再接続する際の流れの説明を行う。
<Flow when connecting/disconnecting BLE communication>
Next, with reference to FIG. 5, FIG. 6, and FIG. 7, a description will be given of the flow when the BLE communication between the short-range wireless communication unit 112 of the digital camera 100 and the short-range wireless communication unit 212 of the smart device 200 is disconnected/reconnected. I do.

図5(a)はデジタルカメラ100が電源ON状態である時に、スマートデバイス200とのBLE通信が、切断・再接続する際の流れである。 FIG. 5A shows a flow of disconnecting and reconnecting the BLE communication with the smart device 200 when the power of the digital camera 100 is ON.

まず、デジタルカメラ100とスマートデバイス200間でのBLE通信切断時の流れを説明する。デジタルカメラ100とスマートデバイス200の間でBLE通信が確立している状態で、ステップS501でユーザがスマートデバイス200の操作部205を用いて、図7(b)のようにデジタルカメラ100とのBLE通信を切断する操作を実行する。この操作に応じて、S502でスマートデバイス200の制御部201は近距離無線通信部212を制御し、デジタルカメラ100へBLE通信の切断要求を送信する。デジタルカメラ100の副制御部116は近距離無線通信部112を介して、スマートデバイス200からBLE通信の切断要求を受信する。これに応じて、ステップS503にて近距離無線通信部112を介してBLE通信の切断応答をスマートデバイス200へ送信し、BLE通信を切断させる。デジタルカメラ100の副制御部116はスマートデバイスとのBLE通信が切断すると、ステップS504で副制御部作業用メモリ117から主制御部101の電力を読み出す。ここで読み込む主制御部101の電力供給状態は図4(a)(b)で説明した方法で副制御部作業用メモリ117へ保存した情報である。副制御部116はステップS504で主制御部101が電力供給状態と判断すると、ステップS505で主制御部101に対して図3(a)で示したSPI通信でBLE切断通知を送信する。デジタルカメラ100の主制御部101は副制御部116からBLE切断通知を受け取ると、ステップS506において表示部106へ図6(a)に示すようにBLEの未接続状態を示す表示を行う。また副制御部116は主制御部101へBLE切断通知を送信すると、ステップS507においてAdvertiseパケットを送信する。 First, the flow when disconnecting BLE communication between the digital camera 100 and the smart device 200 will be described. In a state where BLE communication is established between the digital camera 100 and the smart device 200, the user uses the operation unit 205 of the smart device 200 in step S501 to BLE the digital camera 100 as shown in FIG. 7B. Perform the operation to disconnect the communication. In response to this operation, in S502, the control unit 201 of the smart device 200 controls the short-range wireless communication unit 212 and transmits a BLE communication disconnection request to the digital camera 100. The sub control unit 116 of the digital camera 100 receives a BLE communication disconnection request from the smart device 200 via the short-range wireless communication unit 112. In response to this, in step S503, a response to disconnect BLE communication is transmitted to the smart device 200 via the short-range wireless communication unit 112 to disconnect BLE communication. When the BLE communication with the smart device is disconnected, the sub control unit 116 of the digital camera 100 reads the power of the main control unit 101 from the sub control unit work memory 117 in step S504. The power supply state of the main control unit 101 read here is the information stored in the sub control unit work memory 117 by the method described with reference to FIGS. When the sub control unit 116 determines that the main control unit 101 is in the power supply state in step S504, the sub control unit 116 transmits the BLE disconnection notification to the main control unit 101 by the SPI communication illustrated in FIG. 3A in step S505. When the main control unit 101 of the digital camera 100 receives the BLE disconnection notification from the sub control unit 116, in step S506, the display unit 106 displays a BLE unconnected state as shown in FIG. 6A. When the sub control unit 116 transmits the BLE disconnection notification to the main control unit 101, the sub control unit 116 transmits an Advertise packet in step S507.

続いて、デジタルカメラ100とスマートデバイス200間でBLE通信が再接続する際の流れを説明する。ステップS511でユーザがスマートデバイス200の操作部205を用いて、図7(c)のようにデジタルカメラ100とのBLE通信を再接続する操作を実行する。この操作に応じて、ステップS511でスマートデバイス200の制御部201は近距離無線通信部212を制御し、デジタルカメラ100へBLE通信の再接続要求を送信する。デジタルカメラ100の副制御部116は近距離無線通信部112を介して、スマートデバイス200からBLE通信の再接続要求を受信すると、ステップS513で副制御部作業用メモリ117から主制御部101が電力供給状態を読み出す。副制御部116は主制御部101が電力供給状態だと判断すると、ステップS514で副制御部116は主制御部101に対して図3(a)で示したSPI通信でBLE再接続通知を送信する。デジタルカメラ100の主制御部101は副制御部116からBLE再接続通知を受け取ると、ステップS515において表示部106へ図6(b)に示すようにBLEの接続中状態を示す表示を行う。 Next, a flow when BLE communication is reconnected between the digital camera 100 and the smart device 200 will be described. In step S511, the user uses the operation unit 205 of the smart device 200 to perform an operation of reconnecting the BLE communication with the digital camera 100 as illustrated in FIG. 7C. In response to this operation, in step S511, the control unit 201 of the smart device 200 controls the short-range wireless communication unit 212 and transmits a reconnection request for BLE communication to the digital camera 100. When the sub-control unit 116 of the digital camera 100 receives the BLE communication reconnection request from the smart device 200 via the short-range wireless communication unit 112, the sub-control unit working memory 117 sends power to the main control unit 101 in step S513. Read the supply status. When the sub control unit 116 determines that the main control unit 101 is in the power supply state, the sub control unit 116 transmits the BLE reconnection notification to the main control unit 101 by the SPI communication illustrated in FIG. 3A in step S514. To do. When the main control unit 101 of the digital camera 100 receives the BLE reconnection notification from the sub control unit 116, in step S515, the display unit 106 displays the BLE connection state as shown in FIG. 6B.

次にデジタルカメラ100がスタンバイ状態である時に、スマートデバイス200とのBLE通信が、切断・再接続する際の流れを図5(b)を用いて説明する。 Next, a flow of disconnecting/reconnecting the BLE communication with the smart device 200 when the digital camera 100 is in the standby state will be described with reference to FIG.

ステップS521〜ステップS523で図5(a)のステップS501〜ステップS503と同様にユーザがスマートデバイス200の操作部205を用いて、デジタルカメラ100とのBLE通信を切断する操作を行ない、BLE通信を切断する流れである。その後ステップS524ではデジタルカメラ100の副制御部116は副制御部作業用メモリ117から主制御部101の電力供給状態を読み出す。副制御部116はステップS524で主制御部101が電力非供給状態と判断すると、図5(a)の場合と異なり、主制御部へのSPI通信を実施せず、ステップS525で、Advertiseパケットを送信する。 In steps S521 to S523, as in steps S501 to S503 of FIG. 5A, the user uses the operation unit 205 of the smart device 200 to perform an operation of disconnecting the BLE communication with the digital camera 100 to perform BLE communication. It is the flow of cutting. After that, in step S524, the sub control unit 116 of the digital camera 100 reads the power supply state of the main control unit 101 from the sub control unit work memory 117. When the sub control unit 116 determines that the main control unit 101 is in the power non-supply state in step S524, unlike the case of FIG. 5A, the sub control unit 116 does not perform the SPI communication to the main control unit, and in step S525, sends the Advertise packet. Send.

続いて、デジタルカメラ100とスマートデバイス200間でBLE通信が再接続する際の流れを説明する。ステップS531〜ステップS532でユーザがスマートデバイス200の操作部205を用いて、デジタルカメラ100とのBLE通信を再接続する操作を行ない、BLE通信が再接続する流れである。 Next, a flow when BLE communication is reconnected between the digital camera 100 and the smart device 200 will be described. In steps S531 to S532, the user performs an operation of reconnecting the BLE communication with the digital camera 100 using the operation unit 205 of the smart device 200, and the BLE communication is reconnected.

その後ステップS533ではデジタルカメラ100の副制御部116は副制御部作業用メモリ117から主制御部101の電力供給状態を読み出す。副制御部116はステップS53で主制御部101が電力非供給状態と判断すると、図5(a)の場合と異なり、主制御部へのSPI通信を実施しない。 After that, in step S533, the sub control unit 116 of the digital camera 100 reads the power supply state of the main control unit 101 from the sub control unit work memory 117. When the sub control unit 116 determines in step S53 that the main control unit 101 is in the power non-supply state, unlike the case of FIG. 5A, the SPI control to the main control unit is not performed.

<BLE通信によるカメラ起動時の流れ>
図8はスマートデバイス200からのBLE通信によって、デジタルカメラ100をスタンバイ状態から電源ON状態へ起動させる際の流れの例である。
<Flow of camera startup by BLE communication>
FIG. 8 shows an example of the flow when the digital camera 100 is activated from the standby state to the power-on state by BLE communication from the smart device 200.

本シーケンス図はスタンバイ状態のデジタルカメラ100とスマートデバイス200がBLEで接続されている状態で開始される。ステップS801でユーザがスマートデバイス200の操作部205を用いて、図7(d)のように、デジタルカメラ100を電源ON状態へ遷移させる操作を実行する。これに応じて、スマートデバイス200の制御部201はステップS802でデジタルカメラ100に対して、BLE通信上でデジタルカメラ100を電源ON状態へ起動させるためのコマンドを送信する。デジタルカメラ100の副制御部116はスマートデバイス200からのコマンドを受信すると、ステップS803で無線通信イベントを判断する。デジタルカメラ100の副制御部116は無線通信イベントが主制御部101を電力供給状態へ遷移させるコマンドであると判断すると、ステップS804でSREQポートをASSERTさせることにより、主制御部101を電源供給状態へ遷移させる。ここで主制御部101を電力供給状態へ遷移させる方法としては、SREQポートのASSERTと主制御部101の起動ポートのASSERTを連動するような回路構成により実現してもよい。あるいは、電源管理部108がステップS804のSREQポートのASSERTを判断して、ステップS805で主制御部101の起動ポートをASSERTさせてもよい。デジタルカメラ100の主制御部101は起動するとステップS806で初期化処理を実行し、その中でSREQポートがASSERTされているかのチェックを行う。主制御部101はステップS806の中でSREQポートがASSERTされていることを検知すると、ステップS807で図3(b)のステップS313〜ステップS16に示す方法で、副制御部116からSPI通信でデータを受信する。最後に主制御部101はステップS808で図3(c)に示すSPI通信の方法で、副制御部116に対して電力供給状態になったことを通知する。 This sequence diagram starts when the digital camera 100 and the smart device 200 in the standby state are connected by BLE. In step S801, the user uses the operation unit 205 of the smart device 200 to perform an operation for transitioning the digital camera 100 to the power-on state, as shown in FIG. 7D. In response to this, the control unit 201 of the smart device 200 transmits a command for activating the digital camera 100 to the power-on state on the BLE communication to the digital camera 100 in step S802. Upon receiving the command from the smart device 200, the sub control unit 116 of the digital camera 100 determines a wireless communication event in step S803. When the sub-control unit 116 of the digital camera 100 determines that the wireless communication event is a command for transitioning the main control unit 101 to the power supply state, the sub-control unit 116 causes the SREQ port to be ASSERT in step S804 so that the main control unit 101 is in the power supply state. Transition to. Here, the method of transitioning the main control unit 101 to the power supply state may be realized by a circuit configuration in which ASSERT of the SREQ port and ASSERT of the activation port of the main control unit 101 are interlocked. Alternatively, the power management unit 108 may determine the ASSERT of the SREQ port in step S804, and in step S805, the activation port of the main control unit 101 may be ASSERT. Upon activation, the main control unit 101 of the digital camera 100 executes initialization processing in step S806, and checks whether the SREQ port is ASSERT in the initialization processing. When the main control unit 101 detects in step S806 that the SREQ port is ASSERTed, the main control unit 101 transmits data from the sub control unit 116 by SPI communication by the method shown in steps S313 to S16 of FIG. 3B in step S807. To receive. Finally, in step S808, the main control unit 101 notifies the sub control unit 116 that the power supply state has been reached by the SPI communication method shown in FIG.

<デジタルカメラの副制御部のフローチャート>
最後に本実施形態におけるデジタルカメラ100の副制御部116の処理の流れを図9のフローチャートを用いて説明する。
<Flowchart of sub-control unit of digital camera>
Finally, the flow of processing of the sub control unit 116 of the digital camera 100 according to this embodiment will be described with reference to the flowchart of FIG.

本フローチャートはデジタルカメラ100の副制御部116が近距離無線通信部112からBLE通信に関する無線通信イベントの発生を検知したところから始まる。 This flowchart starts when the sub control unit 116 of the digital camera 100 detects from the short-range wireless communication unit 112 that a wireless communication event regarding BLE communication has occurred.

ステップS901でデジタルカメラ100の副制御部116は発生した無線通信イベントの確認・解析を行い、ステップS902で発生した無線通信イベントがBLE通信の接続もしくは、切断かを判定する。ステップS902でデジタルカメラ100の副制御部116が発生した無線通信イベントがBLE通信の接続もしくは切断ではないと判定した場合はステップS903へ遷移し、SPI通信により主制御部101へ通知を行なう。一方ステップS902において、発生した無線通信イベントがBLE通信の接続もしくは切断であると判断した場合には、ステップS904へ遷移し、副制御部作業用メモリ117から主制御部101の電力供給状態の情報を読み出す。ステップS905では副制御部116は主制御部101の電力供給状態の判断を行ない、主制御部101の電力供給状態が電力供給状態と判断するとステップS906へ遷移し、主制御部101へBLEの接続もしくは切断の通知を行う。ステップS905で主制御部101が非電力供給状態と判断すると、そのまま何もせずに終了する。 In step S901, the sub-control unit 116 of the digital camera 100 confirms/analyzes the generated wireless communication event, and determines whether the wireless communication event generated in step S902 is BLE communication connection or disconnection. When it is determined in step S902 that the wireless communication event generated by the sub control unit 116 of the digital camera 100 is not the connection or disconnection of the BLE communication, the process proceeds to step S903, and the main control unit 101 is notified by SPI communication. On the other hand, in step S902, when it is determined that the generated wireless communication event is the connection or disconnection of the BLE communication, the process proceeds to step S904, and the information about the power supply state of the main control unit 101 from the sub control unit work memory 117. Read out. In step S905, the sub control unit 116 determines the power supply state of the main control unit 101. If the sub control unit 116 determines that the power supply state of the main control unit 101 is the power supply state, the process proceeds to step S906, and BLE is connected to the main control unit 101. Or, give notice of disconnection. When the main control unit 101 determines in step S905 that the power is not supplied, the process ends without doing anything.

以上説明した本実施形態のデジタルカメラ100では、スタンバイ状態で無線通信イベントが発生した場合、通信イベントの種類に基づき主制御部101への電力を供給を開始するか否かを切り替える。これにより、不要な電力の消費を抑えることが可能となる。 In the digital camera 100 of the present embodiment described above, when a wireless communication event occurs in the standby state, whether or not to start supplying power to the main control unit 101 is switched based on the type of communication event. This makes it possible to suppress unnecessary power consumption.

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

Claims (11)

撮像装置であって、An imaging device,
近距離無線通信規格である第一の通信規格に従って通信する近距離無線通信手段と、Short-distance wireless communication means for communicating according to the first communication standard, which is a short-distance wireless communication standard,
前記近距離無線通信手段よりも消費電力の多い第二の通信規格に従って無線通信する無線通信手段と、A wireless communication unit that performs wireless communication according to a second communication standard that consumes more power than the short-range wireless communication unit,
電源と、Power supply,
前記撮像装置の動作を制御する主制御手段と、Main control means for controlling the operation of the imaging device,
前記主制御手段とは異なる副制御手段とを有し、A sub-control means different from the main control means,
前記主制御手段と前記副制御手段と前記近距離無線通信手段に前記電源からの電力を供給する第一の状態において前記近距離無線通信手段を介して外部装置と接続する場合、前記副制御手段は、通信イベントを前記主制御手段に通知し、When connecting to an external device via the short-range wireless communication unit in the first state in which the power from the power source is supplied to the main control unit, the sub-control unit, and the short-range wireless communication unit, the sub-control unit Notifies the main control means of a communication event,
前記副制御手段と前記近距離無線通信手段に電力を供給し前記主制御手段に電力を供給しない第二の状態において前記近距離無線通信手段を介して前記外部装置と接続する場合、前記副制御手段は、前記通信イベントを前記主制御手段に通知せず、When connecting to the external device via the short-range wireless communication unit in a second state in which power is supplied to the sub-control unit and the short-range wireless communication unit and power is not supplied to the main control unit, the sub-control The means does not notify the communication event to the main control means,
前記外部装置と前記近距離無線通信手段を介して接続している間に、前記外部装置から起動を要求された場合、前記第二の状態であっても、前記副制御手段は、前記通信イベントを前記主制御手段に通知するよう制御することで前記第一の状態への遷移を促し、When activation is requested from the external device while connecting to the external device via the short-range wireless communication unit, the sub-control unit may perform the communication event even in the second state. Prompts the transition to the first state by controlling to notify the main control means,
前記近距離無線通信手段を介して前記外部装置から前記第二の通信規格に従った通信を要求された場合、前記主制御手段は、前記無線通信手段を介して前記第二の通信規格に従った通信を行うよう制御することを特徴とする撮像装置。When the external device requests communication according to the second communication standard via the short-range wireless communication unit, the main control unit conforms to the second communication standard via the wireless communication unit. An imaging device characterized by controlling to perform communication.
前記外部装置から要求される前記第二の通信規格に従った通信は前記撮像装置により撮像された画像データの閲覧のための通信であることを特徴とする請求項1に記載の撮像装置。The image pickup apparatus according to claim 1, wherein the communication according to the second communication standard required by the external apparatus is communication for browsing image data picked up by the image pickup apparatus. 前記撮像装置は、前記外部装置から前記近距離無線通信手段を介して撮像指示を受け付けることを特徴とする請求項1または2に記載の撮像装置。The image pickup apparatus according to claim 1, wherein the image pickup apparatus receives an image pickup instruction from the external apparatus via the short-range wireless communication unit. 前記撮像装置は、前記副制御手段および前記主制御手段の両方に電力を供給しない第三の状態を有することを特徴とする請求項1乃至3のいずれか1項に記載の撮像装置。The image pickup apparatus according to claim 1, wherein the image pickup apparatus has a third state in which power is not supplied to both the sub control unit and the main control unit. 表示手段をさらに有し、Further having display means,
前記第二の状態では、前記表示手段への表示は行われないことを特徴とする請求項1乃至4のいずれか1項に記載の撮像装置。The image pickup apparatus according to claim 1, wherein in the second state, the display on the display unit is not performed.
近距離無線通信規格である第一の通信規格に従って通信する近距離無線通信手段と、前記近距離無線通信手段よりも消費電力の多い第二の通信規格に従って無線通信する無線通信手段と、電源と、前記撮像装置の動作を制御する主制御手段と、前記主制御手段とは異なる副制御手段とを有する撮像装置の制御方法であって、A short-range wireless communication unit that communicates according to a first communication standard that is a short-range wireless communication standard, a wireless communication unit that performs wireless communication according to a second communication standard that consumes more power than the short-range wireless communication unit, and a power supply. A method for controlling an image pickup apparatus, comprising: a main control unit that controls the operation of the image pickup apparatus; and a sub-control unit that is different from the main control unit.
前記主制御手段と前記副制御手段と前記近距離無線通信手段に前記電源からの電力を供給する第一の状態において前記近距離無線通信手段を介して外部装置と接続する場合、前記副制御手段により、通信イベントを前記主制御手段に通知するよう制御し、When connecting to an external device via the short-range wireless communication unit in the first state in which the power from the power source is supplied to the main control unit, the sub-control unit, and the short-range wireless communication unit, the sub-control unit Control to notify the main control means of a communication event,
前記副制御手段と前記近距離無線通信手段に電力を供給し前記主制御手段に電力を供給しない第二の状態において前記近距離無線通信手段を介して前記外部装置と接続する場合、前記副制御手段により、前記通信イベントを前記主制御手段に通知しないよう制御し、When connecting to the external device via the short-range wireless communication unit in a second state in which power is supplied to the sub-control unit and the short-range wireless communication unit and power is not supplied to the main control unit, the sub-control Means for controlling not to notify the main control means of the communication event,
前記外部装置と前記近距離無線通信手段を介して接続している間に、前記外部装置から起動を要求された場合、前記第二の状態であっても、前記副制御手段により、前記通信イベントを前記主制御手段に通知するよう制御することで前記第一の状態への遷移を促し、When a request for activation is made from the external device while connecting to the external device via the short-range wireless communication means, the sub-control means causes the communication event to occur even in the second state. Prompts the transition to the first state by controlling to notify the main control means,
前記近距離無線通信手段を介して前記外部装置から前記第二の通信規格に従った通信を要求された場合、前記主制御手段により、前記無線通信手段を介して前記第二の通信規格に従った通信を行うよう制御することを特徴とする撮像装置の制御方法。When the external device requests communication according to the second communication standard via the short-range wireless communication means, the main control means conforms to the second communication standard via the wireless communication means. A method for controlling an image pickup apparatus, characterized by controlling to perform communication.
前記外部装置から要求される前記第二の通信規格に従った通信は前記撮像装置により撮像された画像データの閲覧のための通信であることを特徴とする請求項6に記載の撮像装置の制御方法。7. The control of the image pickup apparatus according to claim 6, wherein the communication according to the second communication standard required by the external apparatus is communication for browsing image data picked up by the image pickup apparatus. Method. 前記撮像装置は前記外部装置から前記近距離無線通信手段を介して撮像指示を受け付けることを特徴とする請求項6または7に記載の撮像装置の制御方法。The method according to claim 6, wherein the imaging device receives an imaging instruction from the external device via the short-range wireless communication unit. 前記撮像装置は、前記副制御手段および前記主制御手段の両方に電力を供給しない第三の状態を有することを特徴とする請求項6乃至8のいずれか1項に記載の撮像装置の制御方法。9. The method for controlling an image pickup apparatus according to claim 6, wherein the image pickup apparatus has a third state in which power is not supplied to both the sub control unit and the main control unit. .. 前記撮像装置は表示手段をさらに有し、The imaging device further includes a display unit,
前記第二の状態では、前記表示手段への表示は行われないことを特徴とする請求項6乃至9のいずれか1項に記載の撮像装置の制御方法。10. The method for controlling an image pickup apparatus according to claim 6, wherein the display on the display unit is not performed in the second state.
コンピュータを、請求項1乃至のいずれか1項に記載の通信装置の各手段として機能させるための、コンピュータが読み取り可能なプログラム。 Computer, according to claim 1 or to function as each unit of the communication apparatus according to any one of 5, the computer readable program.
JP2016158904A 2016-08-12 2016-08-12 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM Expired - Fee Related JP6746428B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016158904A JP6746428B2 (en) 2016-08-12 2016-08-12 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016158904A JP6746428B2 (en) 2016-08-12 2016-08-12 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM

Publications (3)

Publication Number Publication Date
JP2018026767A JP2018026767A (en) 2018-02-15
JP2018026767A5 JP2018026767A5 (en) 2019-09-26
JP6746428B2 true JP6746428B2 (en) 2020-08-26

Family

ID=61194834

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016158904A Expired - Fee Related JP6746428B2 (en) 2016-08-12 2016-08-12 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP6746428B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3338818B2 (en) * 1999-12-14 2002-10-28 エヌイーシーインフロンティア株式会社 Power management system for wireless LAN terminals
JP6112938B2 (en) * 2013-03-29 2017-04-12 キヤノン株式会社 Information processing apparatus, control method therefor, and program

Also Published As

Publication number Publication date
JP2018026767A (en) 2018-02-15

Similar Documents

Publication Publication Date Title
JP6436948B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP7025198B2 (en) Communication systems, communication devices and their control methods, programs
JP6755081B2 (en) Communication equipment and its control method and program
JP6821360B2 (en) Electronic devices and their control methods
JP2019193020A (en) Electronic apparatus and control method therefor, and program
JP6570575B2 (en) Imaging apparatus, control method therefor, and program
JP7041559B2 (en) Communication devices, data transfer devices and their control methods, and programs
JP7093179B2 (en) Communication devices, electronic devices and their control methods, systems, and programs
JP6656070B2 (en) Imaging device, control method therefor, program and system
JP2019004422A (en) Communication device, control method, and program
JP6746428B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
JP7676208B2 (en) COMMUNICATION DEVICE, CONTROL METHOD, AND PROGRAM
JP6598964B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6976722B2 (en) Communication equipment and its control method, and programs
JP6700821B2 (en) Communication device, imaging device, control method thereof, and program
JP6843630B2 (en) Communication device, control method of communication device, program
JP6869656B2 (en) Transmitter, receiver, and communication system
JP6758927B2 (en) Imaging device, control method of imaging device, and program
JP7725230B2 (en) Communication device, control method, and program
JP6468827B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM
JP6783640B2 (en) Communication device, control method of communication device, program
JP2020057899A (en) Wireless communication system and wireless communication terminal control method
JP2018180307A (en) Image shooting apparatus, control method of image shooting apparatus, program
JP6700951B2 (en) Communication device, control method and program therefor, and communication system
JP2018006962A (en) Communication equipment, control method for communication equipment, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190809

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190809

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200327

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200414

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200612

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200805

R151 Written notification of patent or utility model registration

Ref document number: 6746428

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees