JP2018046569A - Communication device, control method for the same, and program - Google Patents

Communication device, control method for the same, and program Download PDF

Info

Publication number
JP2018046569A
JP2018046569A JP2017213821A JP2017213821A JP2018046569A JP 2018046569 A JP2018046569 A JP 2018046569A JP 2017213821 A JP2017213821 A JP 2017213821A JP 2017213821 A JP2017213821 A JP 2017213821A JP 2018046569 A JP2018046569 A JP 2018046569A
Authority
JP
Japan
Prior art keywords
communication
program
application
image
digital camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017213821A
Other languages
Japanese (ja)
Other versions
JP6552578B2 (en
Inventor
達也 西口
Tatsuya Nishiguchi
達也 西口
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 JP2017213821A priority Critical patent/JP6552578B2/en
Publication of JP2018046569A publication Critical patent/JP2018046569A/en
Application granted granted Critical
Publication of JP6552578B2 publication Critical patent/JP6552578B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

PROBLEM TO BE SOLVED: To control available operation appropriately in accordance with a use form of an application.SOLUTION: A communication device includes: communication means which communicates with an external device using a communication application that includes a first program receiving a user operation for communication with the communication device and a second program for communication with the communication device; notification means which notifies the external device of an operation available by the external device among operations for controlling the communication device in communication between the communication device and the external device; and determination means which determines a use form of the second program used by the external device. The notification means makes an operation to be notified differ according to the use form of the second program.SELECTED DRAWING: Figure 10

Description

本発明は、外部装置を通信を用いて制御する技術に関する。   The present invention relates to a technique for controlling an external device using communication.

デジタルカメラなどの通信装置とPCを接続して、PCからデジタルカメラを制御し画像取得やカメラの制御を行うシステムは以前から提案されている。近年、スマートフォンなどの携帯端末の普及に伴い、様々な機器からデジタルカメラの制御を行いたいという要望が高まっている。   A system for connecting a communication device such as a digital camera to a PC and controlling the digital camera from the PC to acquire an image and control the camera has been proposed. In recent years, with the spread of mobile terminals such as smartphones, there has been an increasing demand for controlling digital cameras from various devices.

特開2005−136833号公報JP 2005-136833 A

デジタルカメラと通信しうるデバイスやアプリケーションが広がるにつれ、それぞれのアプリケーションの特性に合った制御を実現する必要がある。   As devices and applications that can communicate with digital cameras spread, it is necessary to realize control that matches the characteristics of each application.

本発明の通信装置は、前記通信装置との通信のためのユーザ操作を受け付ける第1のプログラムと、前記通信装置と通信を行うための第2のプログラムとを含む通信アプリケーションを用いる外部装置と通信する通信手段と、前記通信装置と前記外部装置との通信において前記通信装置を制御するためのオペレーションのうち、前記外部装置が利用可能なオペレーションを前記外部装置に通知する通知手段と、前記外部装置が利用する第2のプログラムの使用形態を判断する判断手段とを有し、前記通知手段は、前記第2のプログラムの使用形態に応じて、通知するオペレーションを異ならせることを特徴とする。   The communication device of the present invention communicates with an external device using a communication application including a first program that accepts a user operation for communication with the communication device and a second program for communicating with the communication device. Communication means for performing communication between the communication apparatus and the external apparatus, notification means for notifying the external apparatus of an operation that can be used by the external apparatus, and the external apparatus And determining means for determining the usage pattern of the second program used by the computer, wherein the notification means varies the operation to be notified according to the usage pattern of the second program.

本発明によれば、アプリケーションの特性に応じて最適なオペレーションを利用させることが可能となる。   According to the present invention, it is possible to use an optimal operation according to the characteristics of an application.

システム構成を示す概念図である。It is a conceptual diagram which shows a system structure. デジタルカメラのハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of a digital camera. PC、携帯端末のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of PC and a portable terminal. 外部機器で起動するアプリケーション構成とデジタルカメラとの接続を説明した図である。It is a figure explaining the connection of the application structure and digital camera which are started with an external device. デジタルカメラが有するテーブルを示す図である。It is a figure which shows the table which a digital camera has. PCとデジタルカメラとの通信を示すシーケンスである。It is a sequence which shows communication with PC and a digital camera. 携帯端末とデジタルカメラとの通信を示すシーケンスである。It is a sequence which shows communication with a portable terminal and a digital camera. PCアプリケーション及び携帯端末アプリケーションの画面例である。It is an example of a screen of a PC application and a portable terminal application. デジタルカメラが有するテーブルを示す図である。It is a figure which shows the table which a digital camera has. PCとデジタルカメラとの通信を示すシーケンスである。It is a sequence which shows communication with PC and a digital camera. PCとデジタルカメラとの通信を示すシーケンスである。It is a sequence which shows communication with PC and a digital camera. デジタルカメラが有するテーブルを示す図である。It is a figure which shows the table which a digital camera has.

<第1の実施形態>
以下、添付図面に従って本発明に係る実施形態を詳細に説明する。
<First Embodiment>
Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings.

図1は、本実施形態に係る画像転送処理が実行可能なシステムの構成例を示す図である。   FIG. 1 is a diagram illustrating a configuration example of a system capable of executing image transfer processing according to the present embodiment.

図1のカメラ制御処理は、デジタル一眼レフカメラ(以下、デジタルカメラ)201、このデジタルカメラ201に対して外部機器として接続し制御を行うPC202、または、スマートフォン、タブレットなどの携帯端末203で構成される。   The camera control process in FIG. 1 includes a digital single-lens reflex camera (hereinafter referred to as a digital camera) 201, a PC 202 that is connected to the digital camera 201 as an external device and performs control, or a mobile terminal 203 such as a smartphone or a tablet. The

デジタルカメラ201とPC202は有線ケーブル204により接続可能であり、画像データを含むコンテンツデータ、各種信号などの送受信が可能になっている。有線ケーブル204はUSBケーブルでもよいし、有線LANケーブルでもよい。   The digital camera 201 and the PC 202 can be connected by a wired cable 204 and can transmit and receive content data including image data and various signals. The wired cable 204 may be a USB cable or a wired LAN cable.

また、本実施形態におけるデジタルカメラ201とPC202は、アクセスポイント205を介して無線で接続することも可能である。本実施形態におけるデジタルカメラ201と携帯端末203は、無線LANにより接続されているものとする。   In addition, the digital camera 201 and the PC 202 in this embodiment can be connected wirelessly via the access point 205. Assume that the digital camera 201 and the portable terminal 203 in this embodiment are connected by a wireless LAN.

なお、デジタルカメラ201と携帯端末203の間の通信は、アドホックネットワークなどを用いた直接接続であってもよいし、アクセスポイント205などを介してのインフラストラクチャー接続であってもよい。また、カメラが簡易的なアクセスポイントとなり、携帯端末103とインフラストラクチャー接続で直接通信を確立してもよい。   The communication between the digital camera 201 and the portable terminal 203 may be a direct connection using an ad hoc network or an infrastructure connection via the access point 205 or the like. Further, the camera may be a simple access point, and direct communication may be established with the mobile terminal 103 through infrastructure connection.

図2は本発明の一実施形態に係わる一眼レフデジタルカメラ201の構成を示すブロック図である。   FIG. 2 is a block diagram showing a configuration of a single-lens reflex digital camera 201 according to an embodiment of the present invention.

図2において、101は撮影レンズである。102はAF(オートフォーカス)駆動部である。AF駆動部102は、例えばDCモータやステッピングモータによって構成され、マイクロコンピュータ123の制御によって撮影レンズ101のフォーカスレンズ位置を変化させることによりピントを合わせる。   In FIG. 2, reference numeral 101 denotes a photographing lens. Reference numeral 102 denotes an AF (autofocus) drive unit. The AF drive unit 102 is configured by, for example, a DC motor or a stepping motor, and focuses by changing the focus lens position of the photographing lens 101 under the control of the microcomputer 123.

103はズーム駆動部である。ズーム駆動部103は、例えばDCモータやステッピングモータによって構成され、マイクロコンピュータ123の制御によって撮影レンズ101の変倍レンズ位置を変化させることにより撮影レンズ101の焦点距離を変化させる。   Reference numeral 103 denotes a zoom drive unit. The zoom drive unit 103 is constituted by, for example, a DC motor or a stepping motor, and changes the focal length of the photographic lens 101 by changing the zoom lens position of the photographic lens 101 under the control of the microcomputer 123.

104は絞りである。   Reference numeral 104 denotes an aperture.

105は絞り駆動部である。絞り駆動部105は、絞り104を駆動する。駆動されるべき量はマイクロコンピュータ123によって算出され、光学的な絞り値を変化させる。   Reference numeral 105 denotes an aperture driving unit. The diaphragm driving unit 105 drives the diaphragm 104. The amount to be driven is calculated by the microcomputer 123, and the optical aperture value is changed.

106は撮影レンズ101から入射した光束をファインダ側と撮像素子側とに切替えるための主ミラーである。主ミラー106は常時はファインダ部へと光束を導くよう反射させるように配されているが、撮影が行われる場合には、撮像素子112へと光束を導くように上方に跳ね上がり光束中から待避する。また主ミラー106はその中央部が光の一部を透過できるようにハーフミラーとなっており、光束の一部を焦点検出を行うためのセンサに入射するように透過させる。   Reference numeral 106 denotes a main mirror for switching the light beam incident from the photographing lens 101 between the viewfinder side and the image sensor side. The main mirror 106 is always arranged so as to reflect the light beam to the finder unit. However, when photographing is performed, the main mirror 106 jumps upward so as to guide the light beam to the image pickup device 112 and evacuates from the light beam. . The main mirror 106 is a half mirror so that a central portion thereof can transmit a part of the light, and transmits a part of the light beam so as to enter a sensor for performing focus detection.

107は主ミラー106から透過してきた光束を反射させ焦点検出を行うためのセンサ(焦点検出回路109内に配置されている)に導くためのサブミラーである。   Reference numeral 107 denotes a sub-mirror for reflecting a light beam transmitted from the main mirror 106 and guiding it to a sensor (disposed in the focus detection circuit 109) for focus detection.

108はファインダーを構成するペンタプリズムである。ファインダーは他にピント板、アイピースレンズ(不図示)などによって構成させる。   Reference numeral 108 denotes a pentaprism that constitutes a finder. In addition, the viewfinder is composed of a focus plate, an eyepiece lens (not shown), and the like.

109は焦点検出回路である。ミラー106の中央部を透過し、サブミラー107で反射された光束は、焦点検出回路109の内部に配置された光電変換を行うためのセンサに至る。フォーカス演算に用いるデフォーカス量は、センサの出力を演算することによって求められる。マイクロコンピュータ123は演算結果を評価してAF駆動部102に指示し、フォーカスレンズを駆動させる。   Reference numeral 109 denotes a focus detection circuit. The light beam transmitted through the center of the mirror 106 and reflected by the sub-mirror 107 reaches a sensor for performing photoelectric conversion disposed inside the focus detection circuit 109. The defocus amount used for the focus calculation is obtained by calculating the output of the sensor. The microcomputer 123 evaluates the calculation result and instructs the AF driving unit 102 to drive the focus lens.

110はフォーカルプレーンシャッタである。111はシャッタ駆動回路であり、フォーカルプレーンシャッタ110を駆動する。シャッタの開口時間はマイクロコンピュータ123によって、制御される。   Reference numeral 110 denotes a focal plane shutter. Reference numeral 111 denotes a shutter drive circuit that drives the focal plane shutter 110. The opening time of the shutter is controlled by the microcomputer 123.

112は撮像素子である。撮像素子112には、CCDやCMOSセンサなどが用いられ、撮影レンズ101によって結像された被写体像を電気信号に変換する。   Reference numeral 112 denotes an image sensor. A CCD, CMOS sensor, or the like is used as the image sensor 112, and the subject image formed by the photographing lens 101 is converted into an electrical signal.

113はクランプ回路である。114はAGC回路である。クランプ回路113やAGC回路114は、A/D変換をする前の基本的なアナログ信号処理を行い、マイクロコンピュータ123により、クランプレベルやAGC基準レベルの変更が行われる。115はA/D変換器である。A/D変換器115は撮像素子112のアナログ出力信号をデジタル信号に変換する。116は映像・音声信号処理回路であり、ゲートアレイなどのロジックデバイスにより実現される。   Reference numeral 113 denotes a clamp circuit. Reference numeral 114 denotes an AGC circuit. The clamp circuit 113 and the AGC circuit 114 perform basic analog signal processing before A / D conversion, and the microcomputer 123 changes the clamp level and the AGC reference level. Reference numeral 115 denotes an A / D converter. The A / D converter 115 converts the analog output signal of the image sensor 112 into a digital signal. Reference numeral 116 denotes a video / audio signal processing circuit, which is realized by a logic device such as a gate array.

117はEVF駆動回路である。118はEVF(電子ビューファインダ)モニタである。   Reference numeral 117 denotes an EVF drive circuit. Reference numeral 118 denotes an EVF (electronic viewfinder) monitor.

119はメモリコントローラである。120はメモリである。121はコンピュータ等と接続可能な外部インタフェースである。122はバッファメモリである。   Reference numeral 119 denotes a memory controller. Reference numeral 120 denotes a memory. Reference numeral 121 denotes an external interface that can be connected to a computer or the like. Reference numeral 122 denotes a buffer memory.

映像・音声信号処理回路116は、デジタル化された画像データに、フィルター処理、色変換処理、ガンマ処理を行うと共に、JPEGなどの圧縮処理を行い、メモリコントローラ119に出力する。   The video / audio signal processing circuit 116 performs filtering processing, color conversion processing, gamma processing, and compression processing such as JPEG on the digitized image data, and outputs the result to the memory controller 119.

映像・音声信号処理回路116は、マイク132、または、音声ライン入力133からの音声信号の圧縮処理を行い、メモリコントローラ119に出力する。映像・音声信号処理回路116は、撮像素子112からの映像信号や、メモリーコントローラ119から逆に入力される画像データを、EVF駆動回路117を通してEVF(電子ビューファインダ)モニタ118に出力することも可能である。これらの機能切り替えはマイクロコンピュータ123の指示により行われる。映像・音声信号処理回路116は、必要に応じて撮像素子112の信号の露出情報やホワイトバランスなどの情報をマイクロコンピュータ123に出力することが可能である。それらの情報を基にマイクロコンピュータ123はホワイトバランスやゲイン調整の指示を行う。連続撮影動作の場合においては、一旦、未処理画像のままバッファメモリ122に撮影データを格納し、メモリコントローラ119を通して未処理の画像データを読み出し、映像・音声信号処理回路116にて画像処理や圧縮処理を行い連続撮影を行う。連像撮影枚数は、バッファメモリの大きさに左右される。   The video / audio signal processing circuit 116 compresses the audio signal from the microphone 132 or the audio line input 133 and outputs the compressed signal to the memory controller 119. The video / audio signal processing circuit 116 can also output the video signal from the image sensor 112 and the image data input in reverse from the memory controller 119 to the EVF (electronic viewfinder) monitor 118 through the EVF drive circuit 117. It is. Switching between these functions is performed according to instructions from the microcomputer 123. The video / audio signal processing circuit 116 can output information such as exposure information and white balance of the signal from the image sensor 112 to the microcomputer 123 as necessary. Based on the information, the microcomputer 123 instructs white balance and gain adjustment. In the case of the continuous shooting operation, the shooting data is temporarily stored in the buffer memory 122 as an unprocessed image, the unprocessed image data is read through the memory controller 119, and image processing and compression are performed by the video / audio signal processing circuit 116. Process and perform continuous shooting. The number of continuous shots depends on the size of the buffer memory.

映像・音声信号処理回路116は、マイク132、または、音声ライン入力133からの音声データを、DA変換135を通してスピーカー136に出力することも可能である。   The video / audio signal processing circuit 116 can output the audio data from the microphone 132 or the audio line input 133 to the speaker 136 through the DA conversion 135.

メモリコントローラ119では、映像・音声信号処理回路116から入力された未処理のデジタル画像・音声データをバッファメモリに格納し、処理済みのデジタル画像・音声データをメモリ120に格納する。また、逆にバッファメモリ122やメモリ120から画像・音声データを映像・音声信号処理回路部116に出力する。メモリ120は取り外し可能である場合もある。メモリコントローラ119は、PC等と接続可能な外部インタフェース121を介してメモリ120に記憶されている画像・音声を出力可能である。   In the memory controller 119, unprocessed digital image / audio data input from the video / audio signal processing circuit 116 is stored in the buffer memory, and processed digital image / audio data is stored in the memory 120. Conversely, the image / audio data is output from the buffer memory 122 or the memory 120 to the video / audio signal processing circuit unit 116. The memory 120 may be removable. The memory controller 119 can output images and sounds stored in the memory 120 via an external interface 121 that can be connected to a PC or the like.

123はマイクロコンピュータである。124は操作部材である。操作部材124は、マイクロコンピュータ123にその状態を伝え、マイクロコンピュータ123はその操作部材の変化に応じて各部をコントロールする。   Reference numeral 123 denotes a microcomputer. Reference numeral 124 denotes an operation member. The operation member 124 transmits the state to the microcomputer 123, and the microcomputer 123 controls each part according to the change of the operation member.

125はスイッチ1(以後SW1)である。126はスイッチ2(以後SW2)である。スイッチSW1とスイッチSW2は、レリーズボタンの操作でオンオフするスイッチであり、それぞれ操作部材124の入力スイッチのうちの1つである。スイッチSW1のみオンの状態はレリーズボタン半押し状態であり、この状態でオートフォーカスの動作を行ったり、測光動作を行う。スイッチSW1,SW2が共にオンの状態はレリーズボタンの全押し状態であり、画像を記録するためのレリーズボタンオン状態である。この状態で撮影が行われる。またスイッチSW1,SW2がONし続けている間は、連続撮影動作が行われる。操作部材124には、他に、ISO設定ボタン、画像サイズ設定ボタン、画質設定ボタン、情報表示ボタンなど不図示のスイッチが接続されており、スイッチの状態が検出されている。   Reference numeral 125 denotes a switch 1 (hereinafter SW1). Reference numeral 126 denotes a switch 2 (hereinafter referred to as SW2). The switches SW1 and SW2 are switches that are turned on and off by operating the release button, and are each one of the input switches of the operation member 124. When only the switch SW1 is on, the release button is half-pressed. In this state, the auto focus operation or the photometric operation is performed. When the switches SW1 and SW2 are both on, the release button is fully pressed, and the release button for recording an image is on. Shooting is performed in this state. Further, a continuous shooting operation is performed while the switches SW1 and SW2 are kept on. In addition, switches such as an ISO setting button, an image size setting button, an image quality setting button, and an information display button are connected to the operation member 124, and the state of the switch is detected.

127は液晶駆動回路である。128は外部液晶表示部材である。129はファインダー内液晶表示部材である。液晶駆動回路127は、マイクロコンピュータ123の表示内容命令に従って、外部液晶表示部材128やファインダー内液晶表示部材129を駆動する。また、ファインダー内液晶表示部材129には、不図示のLEDなどのバックライトが配置されており、そのLEDも液晶駆動回路127で駆動される。マイクロコンピュータ123は撮影前に設定されているISO感度、画像サイズ、画質に応じた、画像サイズの予測値データをもとに、メモリコントローラ119を通して、メモリの容量を確認した上で撮影可能残数を演算することができる。必要に応じて外部液晶表示部材128、ファインダー内液晶表示部材129にも表示することができる。   Reference numeral 127 denotes a liquid crystal driving circuit. Reference numeral 128 denotes an external liquid crystal display member. Reference numeral 129 denotes a liquid crystal display member in the viewfinder. The liquid crystal drive circuit 127 drives the external liquid crystal display member 128 and the in-finder liquid crystal display member 129 in accordance with the display content command of the microcomputer 123. The in-viewfinder liquid crystal display member 129 is provided with a backlight such as an LED (not shown), and the LED is also driven by the liquid crystal drive circuit 127. The microcomputer 123 confirms the capacity of the memory through the memory controller 119 based on the predicted value data of the image size according to the ISO sensitivity, the image size, and the image quality set before shooting, and then the remaining number of images that can be shot. Can be calculated. If necessary, it can also be displayed on the external liquid crystal display member 128 and the liquid crystal display member 129 in the viewfinder.

130は不揮発性メモリ(EEPROM)で、カメラに電源が入れられていない状態でも、データを保存することができる。   Reference numeral 130 denotes a nonvolatile memory (EEPROM) that can store data even when the camera is not turned on.

131は電源部である。電源部131は、各ICや駆動系に必要な電源を供給する。   Reference numeral 131 denotes a power supply unit. The power supply unit 131 supplies power necessary for each IC and drive system.

132はマイクである。   Reference numeral 132 denotes a microphone.

133は音声のライン入力である。   Reference numeral 133 denotes a voice line input.

134はA/D変換器である。A/D変換器133はマイク132、または、音声ライン入力133のアナログ出力信号をデジタル信号に変換する。   Reference numeral 134 denotes an A / D converter. The A / D converter 133 converts the analog output signal of the microphone 132 or the audio line input 133 into a digital signal.

135はD/A変換器である。D/A変換器はデジタル信号をアナログ出力信号に変換する。   Reference numeral 135 denotes a D / A converter. The D / A converter converts the digital signal into an analog output signal.

136スピーカーである。   136 speakers.

137はパーソナルコンピュータや携帯電話・携帯情報端末に代表される外部機器である。前述のインターフェイス121を介してカメラの各種情報や画像データの送受信の相手となる。また通信回路を備えたカメラも同様に外部機器として用いることも可能であり、その場合にはカメラ同士で各種情報や画像データの送受信を行うことも可能である。   Reference numeral 137 denotes an external device typified by a personal computer, a mobile phone, and a portable information terminal. Through the above-described interface 121, it becomes a partner for transmitting and receiving various information and image data of the camera. Similarly, a camera provided with a communication circuit can also be used as an external device. In this case, various information and image data can be transmitted and received between the cameras.

図3aは本発明の一実施形態に係るPC202のハードウェア構成を示すブロック図である。   FIG. 3a is a block diagram showing a hardware configuration of the PC 202 according to an embodiment of the present invention.

301はCPU、302は内部メモリ、303はグラフィックコントローラを含む表示器であり、外部モニタ装置と接続される場合や内蔵のモニタを有する場合もある。304はキーボード、305はマウス、306は通信ポートでこれを介してカメラとの通信を可能にしている。307はHDなどのディスクメモリである。307は必ずしもディスク形状の媒体でなくても、フラッシュメモリの様にディスク同様に扱える記憶装置でもよい。308はPC内の電源である。   Reference numeral 301 denotes a CPU, 302 denotes an internal memory, and 303 denotes a display unit including a graphic controller, which may be connected to an external monitor device or may have a built-in monitor. Reference numeral 304 is a keyboard, 305 is a mouse, and 306 is a communication port, which enables communication with the camera. Reference numeral 307 denotes a disk memory such as an HD. 307 is not necessarily a disk-shaped medium, but may be a storage device that can be handled like a disk, such as a flash memory. Reference numeral 308 denotes a power source in the PC.

表示器303では、撮影パラメータ操作画面や、ライブビュー画像表示画面を含む各種画面を表示する。このようなリモート撮影(遠隔撮影)システムのアプリケーションプログラムはHD307に記憶されており、ユーザオペレーションやカメラデバイス検出などのトリガで起動されCPU301で実行される。   The display 303 displays various screens including a shooting parameter operation screen and a live view image display screen. An application program for such a remote shooting (remote shooting) system is stored in the HD 307 and is activated by a trigger such as a user operation or camera device detection and executed by the CPU 301.

図3bは、本発明の一実施形態に係る携帯端末203のハードウェア構成を示すブロック図である。携帯端末の例としては、いわゆるスマートフォンなどの携帯電話、タブレットデバイス、PDA(Personal Digital Assistant)、携帯型AVプレイヤー、電子ブック、電子辞書等があげられる。   FIG. 3b is a block diagram illustrating a hardware configuration of the mobile terminal 203 according to an embodiment of the present invention. Examples of portable terminals include mobile phones such as so-called smartphones, tablet devices, PDAs (Personal Digital Assistants), portable AV players, electronic books, electronic dictionaries, and the like.

この携帯端末203は、CPU400、フラッシュメモリ401、RAM402、内蔵カメラ403、マイク404、スピーカ405、イヤホン406、タッチパネル410、液晶表示部411、スイッチ412、通信部413、外部I/F414を有する。さらに携帯端末203は、GPS(Global Positioning System)センサ407や電子コンパス408などを有する。これらのほか、携帯端末203は、通話用のアンテナや通話用の通信モジュール等を有していてもよい。   The portable terminal 203 includes a CPU 400, a flash memory 401, a RAM 402, a built-in camera 403, a microphone 404, a speaker 405, an earphone 406, a touch panel 410, a liquid crystal display unit 411, a switch 412, a communication unit 413, and an external I / F 414. Furthermore, the mobile terminal 203 includes a GPS (Global Positioning System) sensor 407, an electronic compass 408, and the like. In addition to these, the portable terminal 203 may include a call antenna, a call communication module, and the like.

CPU400は、携帯端末203で実行される処理を統括的に制御する。   The CPU 400 controls the processes executed by the mobile terminal 203 in an integrated manner.

RAM402は、CPU400の作業領域として用いられ、CPU400が処理するコンテンツ等の各種データや、各種アプリケーションのプログラムを一時的に格納する。   The RAM 402 is used as a work area of the CPU 400, and temporarily stores various data such as contents processed by the CPU 400 and various application programs.

フラッシュメモリ401は、内蔵カメラ403により撮像されたデジタル写真画像や動画像等の各種コンテンツやCPU400が実行する各種制御プログラムや各種アプリケーションプログラムを記憶する。   The flash memory 401 stores various contents such as digital photograph images and moving images taken by the built-in camera 403, various control programs executed by the CPU 400, and various application programs.

液晶表示部411は、例えばTFT(Thin Film Transistor)等のLCDやOELD(Organic Electro−Luminescence Display)であり、いわゆるGUIを表示する。また液晶表示部411はタッチパネル410と一体的に設けられている。タッチパネル410は、アプリケーションの実行により写真やGUIが表示された状態において、ユーザのタッチ操作を検出し、CPU400へ伝える。タッチパネル410の動作方式としては、例えば抵抗被膜方式や静電容量方式が用いられるが、その他の方式が用いられてもよい。タッチパネル410は、例えば、写真表示アプリケーションの実行中に、ユーザが写真を選択して全画面表示をしたり、ピンチインやピンチアウトによる画像の拡大や縮小したりも可能にしている。   The liquid crystal display unit 411 is an LCD such as a TFT (Thin Film Transistor) or an OELD (Organic Electro-Luminescence Display), for example, and displays a so-called GUI. The liquid crystal display unit 411 is provided integrally with the touch panel 410. The touch panel 410 detects a user's touch operation in a state where a photograph or GUI is displayed by executing an application, and notifies the CPU 400 of the touch operation. As an operation method of the touch panel 410, for example, a resistance film method or a capacitance method is used, but other methods may be used. The touch panel 410 enables, for example, a user to select a photo and display it on a full screen while executing a photo display application, or to enlarge or reduce an image by pinching in or pinching out.

スイッチ412は、例えば電源スイッチ、起動ボタン等、タッチパネル415では入力できないユーザの操作等を受け付け、入力信号をCPU400へ伝える。   The switch 412 receives a user operation that cannot be input on the touch panel 415, such as a power switch and a start button, and transmits an input signal to the CPU 400.

イヤホン406及びスピーカ405は、上記フラッシュメモリ401等に記憶された、または通信部413、外部I/F414等から入力された音声信号を出力する。   The earphone 406 and the speaker 405 output an audio signal stored in the flash memory 401 or the like or input from the communication unit 413 or the external I / F 414 or the like.

通信部413は、インターネットやLAN(Local Area Network)等のネットワークを介して、他の機器との間で通信処理を行う。当該通信部413は、無線LAN(Local Area Network)モジュールを有していてもよいし、WWAN(Wireless Wide Area Network)モジュールを有していてもよい。   The communication unit 413 performs communication processing with other devices via a network such as the Internet or a LAN (Local Area Network). The communication unit 413 may include a wireless LAN (Local Area Network) module or a WWAN (Wireless Wide Area Network) module.

外部I/F(インタフェース)414は、例えばUSB(Universal Serial Bus)やHDMI(登録商標)(High−Definition Multimedia Interface)等の各種規格に準じて、データのやり取りを行う。   The external I / F (interface) 414 exchanges data in accordance with various standards such as USB (Universal Serial Bus) and HDMI (registered trademark) (High-Definition Multimedia Interface).

電源415は携帯端末203用の電源である。一般的にリチウムイオン電池などの充電型の電源が用いられている。   A power source 415 is a power source for the portable terminal 203. Generally, a rechargeable power source such as a lithium ion battery is used.

<SDK>
図4に、本実施形態におけるソフトウェア構成例を示す。本実施形態における外部装置502を用いてデジタルカメラ501を制御するためには、カメラ制御用の通信アプリケーション503をインストールする必要がある。このアプリケーション503は、デジタルカメラ501を制御することを主用途としたアプリケーションソフトウェアである。ユーザは、例えばインターネット上の所定のサーバからアプリケーション503をダウンロードし、外部装置502にインストールすることが可能である。アプリケーション503は、デジタルカメラ501との通信モジュールとなるカメラ接続SDK504(以下、SDK)をライブラリとして内包する。アプリケーション503がインストールされた外部装置502によるデジタルカメラ101との直接の通信は、SDK504を介して行うことになる。すなわち、アプリケーション503のうち、SDK504は主としてデジタルカメラ201との通信を担うソフトウェアプログラムである。その他の機能、例えばユーザ操作の受け付け、GUIの表示、アプリケーション503の起動・終了などはアプリケーション503のうちSDK504以外のソフトウェアプログラムを用いることになる。
<SDK>
FIG. 4 shows a software configuration example in the present embodiment. In order to control the digital camera 501 using the external device 502 in this embodiment, it is necessary to install a communication application 503 for camera control. This application 503 is application software whose main purpose is to control the digital camera 501. For example, the user can download the application 503 from a predetermined server on the Internet and install it in the external device 502. The application 503 includes a camera connection SDK 504 (hereinafter referred to as “SDK”) serving as a communication module with the digital camera 501 as a library. Direct communication with the digital camera 101 by the external apparatus 502 in which the application 503 is installed is performed via the SDK 504. That is, among the applications 503, the SDK 504 is a software program mainly responsible for communication with the digital camera 201. Other functions, such as accepting user operations, displaying a GUI, starting and ending the application 503, use software programs other than the SDK 504 in the application 503.

なお、本実施形態では、通常のPC用のSDK(以下、PC用SDK)と、携帯電話などの携帯端末用のSDK(以下、携帯端末用SDK)を用意している。ここでいう通常のPCとは、デスクトップPCやノートPCなどを想定しているこれに対し携帯端末とは、例えばいわゆるスマートフォンに代表される携帯電話やタブレットデバイスを想定している。   In this embodiment, a normal PC SDK (hereinafter referred to as PC SDK) and a mobile terminal SDK (hereinafter referred to as mobile terminal SDK) are prepared. The normal PC here is assumed to be a desktop PC, a notebook PC or the like, while the mobile terminal is assumed to be a mobile phone or a tablet device represented by a so-called smartphone, for example.

いずれのSDKも、デジタルカメラ101のベンダからアプリケーション開発者に提供されることを想定している。したがってアプリケーション開発者は、アプリケーションのインストールが想定される外部装置502がPCか携帯端末かに応じて、いずれのSDKをアプリケーション503に組み込むかを決定する。また、PCでも携帯端末でもデジタルカメラ101を制御可能としたい場合は、ベンダはPC用SDKが組み込まれたアプリケーションと携帯端末用SDKが組み込まれたアプリケーションという2タイプを用意することになる。   It is assumed that any SDK is provided from the vendor of the digital camera 101 to the application developer. Therefore, the application developer determines which SDK is to be incorporated into the application 503 depending on whether the external device 502 on which the application is supposed to be installed is a PC or a portable terminal. If the digital camera 101 can be controlled by either a PC or a portable terminal, the vendor prepares two types of applications: an application incorporating a PC SDK and an application incorporating a portable terminal SDK.

一般に、PCに比べて携帯電話などの携帯端末は処理能力や画面サイズの面でスペックに差がある。そこで本実施形態では、PC用のアプリケーションで実行可能な処理と、携帯端末用のアプリケーションで実行可能な処理とを異ならせるようにしている。本実施形態では、機器に応じた実行可能な処理の制御をSDKを用いて実現する。   In general, mobile terminals such as mobile phones have different specifications in terms of processing capability and screen size compared to PCs. Therefore, in the present embodiment, processing that can be executed by an application for a PC is different from processing that can be executed by an application for a mobile terminal. In the present embodiment, control of executable processing according to the device is realized using SDK.

まず、デジタルカメラ201の構成について説明する。デジタルカメラ201は、PCアプリモード及び携帯端末アプリモードという2つの被制御モードを有する。PCアプリモードは、PC用SDKが組み込まれたPC用のアプリケーションにより制御されるモードである。携帯端末アプリモードは、携帯端末用SDKが組み込まれた携帯端末のアプリケーションにより制御されるモードである。   First, the configuration of the digital camera 201 will be described. The digital camera 201 has two controlled modes, a PC application mode and a mobile terminal application mode. The PC application mode is a mode controlled by a PC application in which a PC SDK is incorporated. The mobile terminal application mode is a mode controlled by an application of a mobile terminal in which the mobile terminal SDK is incorporated.

上記2つのモードにおいて外部装置から実行可能な処理は、カメラの不揮発性メモリ130に保持されたテーブルにより管理される。本実施形態における管理テーブルの例を図5に示す。図5に示すように、PCアプリモード及び携帯端末アプリモードでは、実行可能な処理が異なる。   Processing that can be executed from the external device in the two modes is managed by a table held in the nonvolatile memory 130 of the camera. An example of the management table in this embodiment is shown in FIG. As shown in FIG. 5, the executable process is different between the PC application mode and the mobile terminal application mode.

<デジタルカメラ・PC接続シーケンス>
図6に、本実施形態におけるデジタルカメラ201とPC202が接続された際の処理シーケンスを示す。本シーケンスは、PCアプリが起動されたPC202とデジタルカメラ201との間で接続を確立したことに応じて開始される。なお、本シーケンスにおけるデジタルカメラ201の処理は、マイクロコンピュータ123などの制御部が、入力信号やプログラムにしたがってデジタルカメラ201の各部を制御することにより実現される。また、本シーケンスにおけるPC202の処理は、CPU301が、入力信号やプログラムにしたがってPC202の各部を制御することにより実現される。
<Digital camera / PC connection sequence>
FIG. 6 shows a processing sequence when the digital camera 201 and the PC 202 are connected in the present embodiment. This sequence is started in response to establishment of a connection between the PC 202 in which the PC application is activated and the digital camera 201. Note that the processing of the digital camera 201 in this sequence is realized by a control unit such as the microcomputer 123 controlling each unit of the digital camera 201 according to an input signal or a program. Further, the processing of the PC 202 in this sequence is realized by the CPU 301 controlling each part of the PC 202 according to an input signal or a program.

また本シーケンスの説明では、PCアプリのうちSDKによらないプログラム(以下、これをPCアプリと呼ぶ)を読み込んで実行する処理と、PC用SDKを読み込んで実行する処理とを分けて記載している。また本シーケンスの説明には、理解を容易にするためにこれらのソフトウェアが処理の主体であるかのような記載が含まれる。しかしながら実際の動作主体はPCアプリまたはPC用SDKを読み込んだCPU301である。   In the description of this sequence, a process for reading and executing a program (hereinafter referred to as a PC application) that does not depend on an SDK among PC applications and a process for reading and executing a PC SDK are described separately. Yes. Further, the description of this sequence includes a description as if these softwares are the main subject of processing in order to facilitate understanding. However, the actual operating subject is the CPU 301 that has read the PC application or PC SDK.

まずPCアプリは、PC用SDKに接続要求を行う(S601)。   First, the PC application makes a connection request to the PC SDK (S601).

接続要求を受けたPC用SDKは、デジタルカメラ201に対して、デバイス情報の取得要求を送信する(S602)。   The SDK for PC that has received the connection request transmits a device information acquisition request to the digital camera 201 (S602).

PC202からの取得要求を受信したデジタルカメラ201は、デバイス情報をPC202に送信する(S651)。このデバイス情報には、デジタルカメラ201が対応するオペレーション、有効なイベント、現在のプロパティが含まれる。   Upon receiving the acquisition request from the PC 202, the digital camera 201 transmits device information to the PC 202 (S651). This device information includes an operation corresponding to the digital camera 201, a valid event, and a current property.

ここでデバイス情報について詳細に説明する。オペレーションとは、デジタルカメラ201に対する制御コマンドであり、主にデジタルカメラ201が有する画像を送信させるオペレーションと、デジタルカメラ201の撮影機能を制御するオペレーションに分類される。デジタルカメラ201が有する画像を送信させるオペレーションとしては、例えばデジタルカメラ201から外部装置に画像データを送信する「画像取得」がある。撮影機能を制御するオペレーションとしては、デジタルカメラ201に静止画撮影動作を行わせる「レリーズ」が代表例である。その他、デジタルカメラ201から外部装置にいわゆるライブビュー画像を送信する「PC LiveView」、デジタルカメラ201に動画撮影動作を行わせる「動画記録開始・終了」などがあげられる。なお、PCアプリモードと携帯端末アプリモードの切り替えも、このオペレーションに含まれる。S651では、まずPCアプリモードと携帯端末アプリモードの切り替えオペレーションを利用可能なオペレーションとして通知する。   Here, the device information will be described in detail. The operation is a control command for the digital camera 201, and is mainly classified into an operation for transmitting an image of the digital camera 201 and an operation for controlling the photographing function of the digital camera 201. As an operation for transmitting an image of the digital camera 201, for example, there is “image acquisition” in which image data is transmitted from the digital camera 201 to an external device. A typical example of the operation for controlling the photographing function is “release” which causes the digital camera 201 to perform a still image photographing operation. In addition, there are “PC LiveView” for transmitting a so-called live view image from the digital camera 201 to an external device, “moving image recording start / end” for causing the digital camera 201 to perform a moving image shooting operation, and the like. Note that switching between the PC application mode and the mobile terminal application mode is also included in this operation. In S651, first, a switching operation between the PC application mode and the mobile terminal application mode is notified as an available operation.

イベントとは、デジタルカメラ201で発生した情報を外部装置に通知するための情報である。イベントの例としては、デジタルカメラ201の設定値がデジタルカメラ201側で変更した場合のイベントや、デジタルカメラ201側の操作で撮影が行われた場合のイベントがあげられる。   An event is information for notifying an external device of information generated by the digital camera 201. Examples of the event include an event when the setting value of the digital camera 201 is changed on the digital camera 201 side and an event when shooting is performed by an operation on the digital camera 201 side.

プロパティとは、デジタルカメラ201のパラメータであり、例えば絞り値、シャッタースピード値、ISO感度などがあげられる。   The property is a parameter of the digital camera 201 and includes, for example, an aperture value, a shutter speed value, ISO sensitivity, and the like.

図6の説明に戻る。デバイス情報を取得したPC用SDKは、デバイス情報を参照し、デジタルカメラ201がPCアプリモードと携帯端末アプリモードの切り替えオペレーションに対応しているかを判断する。切り替えオペレーションに対応していると判断した場合は、デジタルカメラ201に対し、動作モードをPCアプリモードに設定するよう要求する(S603)。   Returning to the description of FIG. The PC SDK that has acquired the device information refers to the device information and determines whether the digital camera 201 supports the switching operation between the PC application mode and the mobile terminal application mode. If it is determined that the switching operation is supported, the digital camera 201 is requested to set the operation mode to the PC application mode (S603).

デジタルカメラ201は設定の要求を受信すると、図5のPCアプリモードの制御可能テーブル801を参照する。そして制御可能な機能として、「画像取得」、「レリーズ」、「カメラパラメータ設定」、「PC LiveView」、「動画記録開始・終了」を利用可能なオペレーションとして追加する(S652)。   Upon receiving the setting request, the digital camera 201 refers to the PC application mode controllable table 801 in FIG. As controllable functions, “image acquisition”, “release”, “camera parameter setting”, “PC LiveView”, and “moving image recording start / end” are added as available operations (S652).

さらにデジタルカメラ201は、制御可能な機能が追加されたことを通知するために、デバイス情報の再取得を要求するようPC202に通知する(S653)。   Further, the digital camera 201 notifies the PC 202 to request reacquisition of device information in order to notify that a controllable function has been added (S653).

PC用SDKは通知を受信すると、デバイス情報の再取得要求をデジタルカメラ201に送信する(S604)。   Upon receiving the notification, the PC SDK transmits a device information reacquisition request to the digital camera 201 (S604).

デジタルカメラ201はデバイス情報の再取得要求を受信すると、現在のデバイス情報を再送信する。なお、ここで送信されるデバイス情報には、S652で追加した機能に関する情報も含まれる。このデバイス情報をS654で受信することで、PC用SDKはデジタルカメラ201の制御において使用可能な機能を認識することができる。   Upon receiving the device information reacquisition request, the digital camera 201 retransmits the current device information. Note that the device information transmitted here includes information related to the function added in S652. By receiving this device information in S654, the PC SDK can recognize the functions that can be used in the control of the digital camera 201.

次に、PCアプリからデジタルカメラ201の制御を行うシーケンスを説明する。   Next, a sequence for controlling the digital camera 201 from the PC application will be described.

図8(a)は、PCアプリを起動した際にPCアプリが表示するGUI画面である。この画面はPCアプリの起動とともに表示してもよいし、PC用SDKからS654までの処理が完了した通知を受けてから表示してもよい。   FIG. 8A shows a GUI screen displayed by the PC application when the PC application is activated. This screen may be displayed together with the activation of the PC application, or may be displayed after receiving notification that the processing from the PC SDK to S654 has been completed.

図8(a)に示すGUI画面には画像取得ボタン801及びカメラ制御ボタン802が含まれる。画像取得ボタン801がユーザにより押下されると、デジタルカメラ201からPC202に、画像を送信する処理が開始される。カメラ制御ボタン802は、デジタルカメラ201を遠隔制御するためのモードに移行するためのボタンである。   The GUI screen shown in FIG. 8A includes an image acquisition button 801 and a camera control button 802. When the image acquisition button 801 is pressed by the user, processing for transmitting an image from the digital camera 201 to the PC 202 is started. The camera control button 802 is a button for shifting to a mode for remotely controlling the digital camera 201.

カメラ制御ボタン802がユーザにより押下されると、図8(b)に示すカメラ制御画面が表示され、PC202からデジタルカメラ201の制御が可能となる。PC202が制御可能なデジタルカメラ201の機能として、図8(b)の例ではライブビュー画像の表示、静止画撮影、動画撮影、露出補正をあげている。ライブビューボタン814はデジタルカメラ201からライブビュー画像を取得し表示するか否かを設定するためのボタンである。ON状態の場合、PC202はデジタルカメラ201からライブビュー画像を取得し、ライブビュー領域811に表示する。OFF状態の場合、PC202はデジタルカメラ201からライブビュー画像を取得せず、ライブビュー領域811は非表示状態となる。静止画撮影ボタン812はデジタルカメラ201に静止画撮影を指示するためのボタンである。動画撮影ボタン813はデジタルカメラ201に動画撮影を指示するためのボタンである。なお、動画撮影中に動画撮影ボタン813が押下された場合は、PC202はデジタルカメラに動画撮影の停止を指示する。露出補正ボタンはデジタルカメラ201に静止画撮影を指示するためのボタンであり、ユーザ操作により押下されると補正値の候補(例えば−2〜+2)が表示され、所望の補正値を設定することができる。   When the camera control button 802 is pressed by the user, a camera control screen shown in FIG. 8B is displayed, and the digital camera 201 can be controlled from the PC 202. The functions of the digital camera 201 that can be controlled by the PC 202 include live view image display, still image shooting, moving image shooting, and exposure correction in the example of FIG. A live view button 814 is a button for setting whether to acquire and display a live view image from the digital camera 201. In the ON state, the PC 202 acquires a live view image from the digital camera 201 and displays it in the live view area 811. In the OFF state, the PC 202 does not acquire a live view image from the digital camera 201, and the live view area 811 is not displayed. The still image shooting button 812 is a button for instructing the digital camera 201 to take a still image. A movie shooting button 813 is a button for instructing the digital camera 201 to shoot a movie. If the moving image shooting button 813 is pressed during moving image shooting, the PC 202 instructs the digital camera to stop moving image shooting. The exposure correction button is a button for instructing the digital camera 201 to shoot a still image. When the exposure correction button is pressed by a user operation, correction value candidates (for example, −2 to +2) are displayed, and a desired correction value is set. Can do.

次に、ユーザ操作により、GUI画面上の画像取得ボタン801が押された場合について説明する。PCアプリは、ユーザ操作を検知したことに応じてPC用SDKに対して画像情報の取得を要求する(S605)。本実施形態における画像情報とは、例えばファイル名などの画像を特定するためのID、ファイルサイズ、ファイル形式などである。画像に対応するサムネイルを画像情報として送信してもよい。PC用SDKはデジタルカメラ201に画像情報取得要求を送信する(S606)。   Next, a case where the image acquisition button 801 on the GUI screen is pressed by a user operation will be described. The PC application requests the PC SDK to acquire image information in response to detecting the user operation (S605). The image information in the present embodiment is, for example, an ID for specifying an image such as a file name, a file size, and a file format. A thumbnail corresponding to the image may be transmitted as image information. The PC SDK transmits an image information acquisition request to the digital camera 201 (S606).

S655において、PC用SDKはデジタルカメラ201から画像情報を受信し、S607において受信した画像情報をPCアプリに受け渡す。PCアプリはS607で取得した画像情報に基づき、ファイル名やサムネイルの一覧を表示し、ユーザに取得対象となる画像を選択させる。そしてPCアプリは、PC用SDKに対して画像の取得を要求する(S608)この要求には取得対象として選択された画像のIDが含まれる。   In step S655, the PC SDK receives image information from the digital camera 201, and transfers the image information received in step S607 to the PC application. The PC application displays a list of file names and thumbnails based on the image information acquired in S607, and allows the user to select an image to be acquired. Then, the PC application requests the PC SDK to acquire an image (S608). This request includes the ID of the image selected as the acquisition target.

PC用SDKが画像取得要求を受け付けると、PC用SDKは、S654で受信したオペレーションに「画像取得」含まれているか否かに基づき、PCアプリからの画像取得要求が有効か否かを判断する。画像取得要求が有効であると判断した場合、PC用SDKはS609において画像取得要求を取得対象の画像のIDとともにデジタルカメラ201に送信する。   When the PC SDK receives the image acquisition request, the PC SDK determines whether the image acquisition request from the PC application is valid based on whether the operation received in S654 is “image acquisition”. . When it is determined that the image acquisition request is valid, the PC SDK transmits the image acquisition request to the digital camera 201 together with the ID of the acquisition target image in S609.

デジタルカメラ201は、S609にて画像取得要求を受信すると、メモリ120から取得対象のIDを有する画像を読み出し、PC用SDKに画像を送信する(S656)。   Upon receiving the image acquisition request in S609, the digital camera 201 reads an image having the acquisition target ID from the memory 120 and transmits the image to the PC SDK (S656).

そしてS610で、PC用SDKは受信した画像をPCアプリに渡す。この処理により、PCアプリはデジタルカメラ201から受信した画像を表示することが可能となる。   In step S610, the PC SDK passes the received image to the PC application. With this process, the PC application can display an image received from the digital camera 201.

次に、ユーザ操作により、PCアプリのUI画面701上のカメラ制御ボタン703が押された場合について説明する。この場合PCアプリは、S611にて図8(b)に示すカメラ制御用UI画面を表示し、PC用SDKにPC用ライブビュー要求を行う。   Next, a case where the camera control button 703 on the UI screen 701 of the PC application is pressed by a user operation will be described. In this case, the PC application displays the camera control UI screen shown in FIG. 8B in S611 and makes a PC live view request to the PC SDK.

PC用SDKはPC用ライブビュー要求を受けると、S654で取得したオペレーションにPC LiveViewが含まれているかを判断する。含まれていればS612にて、デジタルカメラ201にPC用ライブビュー要求を送信する。   When the PC SDK receives the PC live view request, the PC SDK determines whether the operation acquired in S654 includes PC LiveView. If it is included, a PC live view request is transmitted to the digital camera 201 in S612.

デジタルカメラは、PC用ライブビュー要求を受信すると、PC用ライブビュー画像を作成し、S657にてPC用ライブビュー画像をPC用SDKに送信する。   Upon receiving the PC live view request, the digital camera creates a PC live view image, and transmits the PC live view image to the PC SDK in step S657.

そしてS613においてPC用SDKは受信したPC用ライブビュー画像をPCアプリに渡す。この処理により、PCアプリはデジタルカメラ201から受信したライブビュー画像を表示することが可能となる。   In step S613, the PC SDK passes the received PC live view image to the PC application. With this process, the PC application can display the live view image received from the digital camera 201.

次に、ユーザ操作により、PCアプリの静止画撮影ボタン812が押された場合について説明する。   Next, a case where the still image shooting button 812 of the PC application is pressed by a user operation will be described.

ユーザ操作により、静止画撮影ボタン812が押されると、S614においてPCアプリは、PC用SDKに対してレリーズ要求を行う。   When the still image shooting button 812 is pressed by a user operation, the PC application makes a release request to the PC SDK in S614.

PC用SDKはレリーズ要求を受けると、S654で取得したオペレーションにレリーズが含まれているかを判断する。含まれていればS615にて、デジタルカメラ201にレリーズ要求を送信する。   When the PC SDK receives a release request, it determines whether the operation acquired in S654 includes a release. If it is included, a release request is transmitted to the digital camera 201 in S615.

レリーズ要求を受信したデジタルカメラ201はS658にてレリーズ動作を行うことで、新たな撮影が行われ画像を取得する。画像を取得すると、S659においてデジタルカメラ201はPC用SDKに対して画像追加イベントを送信する。PC用SDKはS616にて受信した画像追加イベントをPCアプリに送信する。このことにより、PCアプリはデジタルカメラ201側で新たな画像が得られたことを認識することができる。   Upon receiving the release request, the digital camera 201 performs a release operation in S658, so that a new shooting is performed and an image is acquired. When the image is acquired, in step S659, the digital camera 201 transmits an image addition event to the PC SDK. The PC SDK transmits the image addition event received in S616 to the PC application. Thus, the PC application can recognize that a new image has been obtained on the digital camera 201 side.

<デジタルカメラ・携帯端末接続シーケンス>
図7に、本実施形態におけるデジタルカメラ201と携帯端末203が接続された際の処理シーケンスを示す。本シーケンスは、携帯端末アプリが起動された携帯端末203とデジタルカメラ201との間で接続を確立したことに応じて開始される。なお、本シーケンスにおけるデジタルカメラ201の処理は、マイクロコンピュータ123などの制御部が、入力信号やプログラムにしたがってデジタルカメラ201の各部を制御することにより実現される。また、本シーケンスにおける携帯端末203の処理は、CPU400が、入力信号やプログラムにしたがって携帯端末203の各部を制御することにより実現される。
<Digital camera / mobile terminal connection sequence>
FIG. 7 shows a processing sequence when the digital camera 201 and the portable terminal 203 in this embodiment are connected. This sequence is started in response to establishment of a connection between the mobile terminal 203 in which the mobile terminal application is activated and the digital camera 201. Note that the processing of the digital camera 201 in this sequence is realized by a control unit such as the microcomputer 123 controlling each unit of the digital camera 201 according to an input signal or a program. Further, the processing of the mobile terminal 203 in this sequence is realized by the CPU 400 controlling each unit of the mobile terminal 203 according to an input signal or a program.

また本シーケンスの説明では、携帯端末アプリのうちSDKによらないプログラム(以下、これを携帯端末アプリと呼ぶ)を読み込んで実行する処理と、携帯端末用SDKを読み込んで実行する処理とを分けて記載している。また本シーケンスの説明には、理解を容易にするためにこれらのソフトウェアが処理の主体であるかのような記載が含まれる。しかしながら実際の動作主体は携帯端末アプリまたは携帯端末用SDKを読み込んだCPU400である。   In the description of this sequence, a process for reading and executing a program (hereinafter referred to as a mobile terminal application) that does not depend on the SDK among mobile terminal applications and a process for reading and executing the mobile terminal SDK are divided. It is described. Further, the description of this sequence includes a description as if these softwares are the main subject of processing in order to facilitate understanding. However, the actual operating subject is the CPU 400 that has read the mobile terminal application or the mobile terminal SDK.

なお、本シーケンスは、図6のシーケンスとの相違点がPC202か携帯電話203かの違いしかない処理が多い。したがってこれらの処理については、説明を適宜省略するものとする。   Note that this sequence has many processes that are different from the sequence of FIG. 6 only in whether the PC 202 or the mobile phone 203 is different. Therefore, description of these processes will be omitted as appropriate.

まずS701、S702、S751は、図6のS601、S602、S651と同様の処理であるため、説明を省略する。   First, S701, S702, and S751 are the same processes as S601, S602, and S651 in FIG.

S751でデバイス情報を取得した携帯端末用SDKは、デバイス情報を参照し、デジタルカメラ201がPCアプリモードと携帯端末アプリモードの切り替えオペレーションに対応しているかを判断する。切り替えオペレーションに対応していると判断した場合は、デジタルカメラ201に対し、動作モードを携帯端末アプリモードに設定するよう要求する(S703)。   The mobile terminal SDK that has acquired the device information in S751 refers to the device information and determines whether the digital camera 201 is compatible with the switching operation between the PC application mode and the mobile terminal application mode. If it is determined that the switching operation is supported, the digital camera 201 is requested to set the operation mode to the mobile terminal application mode (S703).

デジタルカメラ201は設定の要求を受信すると、図5のPCアプリモードの制御可能テーブル801を参照し、制御可能な機能として、「画像取得」、「リサイズ画像取得」を利用可能なオペレーションとして追加する(S752)。ここで追加されるオペレーションは、PCアプリモードのときと異なる。つまりデジタルカメラ201は、SDKから通知されるモードの情報に応じて相手装置が携帯端末か否かを判断し、携帯端末である場合は利用可能な機能を制限している。   Upon receiving the setting request, the digital camera 201 refers to the PC application mode controllable table 801 in FIG. 5 and adds “image acquisition” and “resize image acquisition” as controllable functions as usable operations. (S752). The operation added here is different from that in the PC application mode. That is, the digital camera 201 determines whether or not the partner apparatus is a mobile terminal according to the mode information notified from the SDK, and restricts the functions that can be used when the other apparatus is a mobile terminal.

S753、S704、S754は図6のS653、S605、S654と同様の処理であるため、説明を省略する。   S753, S704, and S754 are the same processes as S653, S605, and S654 of FIG.

図8(c)に、携帯端末アプリの画面の一例を示す。本実施形態における携帯端末アプリは、PCアプリとは異なり、デジタルカメラ201での撮影を遠隔制御する機能はなく、デジタルカメラが有する画像を取得する機能を有するものとする。したがって、画面851には、画像取得を指示するためのボタン852が表示される。   FIG. 8C shows an example of the screen of the mobile terminal application. Unlike the PC application, the mobile terminal application in the present embodiment does not have a function of remotely controlling photographing with the digital camera 201 and has a function of acquiring an image of the digital camera. Accordingly, a button 852 for instructing image acquisition is displayed on the screen 851.

次に、ユーザ操作により、画像取得ボタン852が押された場合について説明する。一般的な携帯端末は、PCに比べてデータの処理能力が低いため、大きなサイズのデータを受信したり表示したりするのに時間がかかる場合がある。そこで本実施形態における携帯端末アプリは、大きなサイズの画像が受信対象となっている場合は、その画像を小さくリサイズして送信するよう、デジタルカメラ201に要求することとした。   Next, a case where the image acquisition button 852 is pressed by a user operation will be described. Since a general portable terminal has a lower data processing capacity than a PC, it may take time to receive or display a large size of data. Therefore, when a large-size image is a reception target, the mobile terminal application in the present embodiment requests the digital camera 201 to resize and transmit the image.

図7の説明に戻る。画像取得ボタン852を押下するユーザ操作を検知した場合のS705、S706、S755、S707は、図6のS605、S606、S655、S607と同様の処理であるから、説明を省略する。そしてPCアプリの場合と同様、携帯端末アプリはS707で取得した画像情報に基づき、ファイル名やサムネイルの一覧を表示し、ユーザに取得対象となる画像を選択させる。   Returning to the description of FIG. S705, S706, S755, and S707 when a user operation for pressing the image acquisition button 852 is detected are the same as S605, S606, S655, and S607 in FIG. As in the case of the PC application, the mobile terminal application displays a list of file names and thumbnails based on the image information acquired in S707, and allows the user to select an image to be acquired.

取得対象となる画像が選択された場合、携帯端末アプリはS707で取得した画像情報に基づき、選択された画像のサイズが所定の値以上か否かを判断する。ここでいう所定の値とは、予め携帯端末アプリが保持している具体的なバイト数(例えば5MB以上か否か)を用いることができる。また、例えばS755で受信する画像サイズにS、M、Lといったサイズを示す情報が含まれる場合は、このサイズ情報を用いてもよい(例えばMサイズ以上か)。選択された画像が所定の値以上でないと判断した場合は、携帯端末アプリはPCアプリと同様、画像取得要求を携帯端末用SDKに受け渡す。選択された画像が所定の値以上だと判断した場合は、携帯端末アプリはより小さなサイズの画像を要求すべく、リサイズ画像取得要求を携帯端末用SDKに受け渡す。   When an image to be acquired is selected, the mobile terminal application determines whether the size of the selected image is greater than or equal to a predetermined value based on the image information acquired in S707. As the predetermined value here, a specific number of bytes (for example, whether or not 5 MB or more) held in advance by the mobile terminal application can be used. For example, if the image size received in S755 includes information indicating a size such as S, M, or L, this size information may be used (for example, whether the size is M or larger). When it is determined that the selected image is not equal to or greater than the predetermined value, the mobile terminal application delivers an image acquisition request to the mobile terminal SDK, as with the PC application. If it is determined that the selected image is greater than or equal to the predetermined value, the mobile terminal application passes a resized image acquisition request to the mobile terminal SDK to request a smaller size image.

まず、選択された画像のサイズが所定の値以上でないと判断された場合について説明する。この場合携帯端末アプリは、携帯端末用SDKに対して画像の取得を要求する(S708)。この要求には取得対象の画像のIDが含まれる。   First, a case where it is determined that the size of the selected image is not equal to or greater than a predetermined value will be described. In this case, the mobile terminal application requests acquisition of an image from the mobile terminal SDK (S708). This request includes the ID of the image to be acquired.

携帯端末用SDKが画像取得要求を受け付けると、携帯端末用SDKは、S754で受信したオペレーションに「画像取得」含まれているか否かに基づき、携帯端末アプリからの画像取得要求が有効か否かを判断する。画像取得要求が有効であると判断した場合、携帯端末用SDKはS709において画像取得要求を取得対象の画像のIDとともにデジタルカメラ201に送信する。   When the mobile terminal SDK receives the image acquisition request, the mobile terminal SDK determines whether the image acquisition request from the mobile terminal application is valid based on whether or not the operation received in S754 includes “image acquisition”. Judging. If it is determined that the image acquisition request is valid, the mobile terminal SDK transmits the image acquisition request to the digital camera 201 together with the ID of the image to be acquired in S709.

デジタルカメラ201は、S709にて画像取得要求を受信すると、メモリ120から取得対象のIDを有する画像を読み出し、携帯端末用SDKに画像を送信する(S756)。   Upon receiving the image acquisition request in S709, the digital camera 201 reads the image having the acquisition target ID from the memory 120 and transmits the image to the mobile terminal SDK (S756).

そしてS710で、PC用SDKは受信した画像をPCアプリに渡す。この処理により、PCアプリはデジタルカメラ201から受信した画像を表示することが可能となる。   In step S710, the PC SDK passes the received image to the PC application. With this process, the PC application can display an image received from the digital camera 201.

次に、選択された画像のサイズが所定の値以上だと判断された場合について説明する。この場合携帯端末アプリは、携帯端末用SDKに対してリサイズ画像の取得を要求する(S711)。この要求には取得対象の画像のIDが含まれる。   Next, a case where it is determined that the size of the selected image is greater than or equal to a predetermined value will be described. In this case, the mobile terminal application requests the mobile terminal SDK to acquire a resized image (S711). This request includes the ID of the image to be acquired.

携帯端末用SDKがリサイズ画像取得要求を受け付けると、携帯端末用SDKは、S754で受信したオペレーションに「リサイズ画像取得」が含まれているか否かに基づき、携帯端末アプリからのリサイズ画像取得要求が有効か否かを判断する。リサイズ画像取得要求が有効であると判断した場合、携帯端末用SDKはS712においてリサイズ画像取得要求を取得対象の画像のIDとともにデジタルカメラ201に送信する。   When the mobile terminal SDK accepts the resize image acquisition request, the mobile terminal SDK receives a resize image acquisition request from the mobile terminal application based on whether or not “acquire resize image” is included in the operation received in S754. Determine whether it is valid. If it is determined that the resize image acquisition request is valid, the mobile terminal SDK transmits the resize image acquisition request to the digital camera 201 together with the ID of the acquisition target image in S712.

デジタルカメラ201は、S712にてリサイズ画像取得要求を受信すると、メモリ120から取得対象のIDを有する画像を読み出し、所定のサイズにリサイズを行う。リサイズ画像のサイズは予めデジタルカメラ201がその目安を保持していてもよいし、携帯端末用SDKがデジタルカメラ201に通知してもよい。リサイズ画像の生成後、デジタルカメラ201は携帯端末用SDKに画像を送信する(S757)。なお、本実施形態のリサイズ画像取得のオペレーションは、リサイズのオペレーションと画像取得のオペレーションを兼ねている。他の方法としては、リサイズのオペレーションを設け、携帯端末用SDKがデジタルカメラ201に画像IDを特定してリサイズを指示する方法がある。この場合、デジタルカメラ201はリサイズが完了したら携帯端末用SDKに通知を行い、携帯端末用SDKは画像取得のオペレーションでリサイズ画像を取得する。   When the digital camera 201 receives a resized image acquisition request in step S712, the digital camera 201 reads an image having an ID to be acquired from the memory 120 and resizes it to a predetermined size. The size of the resized image may be stored in advance by the digital camera 201 or may be notified to the digital camera 201 by the mobile terminal SDK. After the resized image is generated, the digital camera 201 transmits the image to the mobile terminal SDK (S757). Note that the resized image acquisition operation of the present embodiment is both a resize operation and an image acquisition operation. As another method, there is a method in which resizing operation is provided, and the mobile terminal SDK specifies the image ID to the digital camera 201 and instructs resizing. In this case, the digital camera 201 notifies the mobile terminal SDK when the resizing is completed, and the mobile terminal SDK acquires a resized image by an image acquisition operation.

そしてS713で、携帯端末用SDKは受信したリサイズ画像を携帯端末アプリに渡す。この処理により、PCアプリはデジタルカメラ201から受信した画像を表示することが可能となる。   In S713, the mobile terminal SDK passes the received resized image to the mobile terminal application. With this process, the PC application can display an image received from the digital camera 201.

なお、複数の画像が取得対象として選択された場合、携帯端末アプリは個々の画像について画像取得要求を行うかリサイズ画像取得要求を行うかを判断し、判断結果に応じた要求を行う。   When a plurality of images are selected as acquisition targets, the mobile terminal application determines whether to make an image acquisition request or a resized image acquisition request for each image, and makes a request according to the determination result.

なお、本実施形態における携帯端末アプリはライブビューやレリーズを行うためのGUIを有していない。しかしながら、もしライブビューやレリーズを行うためのGUIを有する携帯端末アプリから、携帯端末用SDKがPC用ライブビュー要求やレリーズ要求を受けても、携帯端末用SDKがエラーを返すことになる(S714〜S717)。このようにすることで、デジタルカメラ201との通信を要することなく適切なエラー通知を行うことが可能となる。   Note that the mobile terminal application in the present embodiment does not have a GUI for performing live view or release. However, even if the mobile terminal SDK receives a PC live view request or release request from a mobile terminal application having a GUI for performing live view or release, the mobile terminal SDK returns an error (S714). ~ S717). In this way, it is possible to perform appropriate error notification without requiring communication with the digital camera 201.

なお、PCアプリ、携帯端末アプリともに、アプリケーションが終了すると、各SDKよりデジタルカメラ201に対して切断処理が行われ、各モードで追加された制御機能が削除される。   When both the PC application and the mobile terminal application are terminated, a disconnection process is performed on the digital camera 201 from each SDK, and the control function added in each mode is deleted.

以上のように構成することで、PCと携帯端末のようにハードスペックが異なる場合でも、デジタルカメラに接続する制御端末に最適な制御機能を提供することが出来る。   With the above configuration, even when the hardware specifications are different, such as a PC and a mobile terminal, it is possible to provide an optimal control function for a control terminal connected to the digital camera.

なお、オペレーションの種類は本実施形態に示したものに限定されないし、またテーブルの構成も図5に示したものには限定されない。例えば、携帯端末であっても、行楽地などの記念撮影の際にリモート撮影を行う場合が考えられる。したがって、携帯端末アプリモードでもレリーズ及びPC LiveViewを利用可能なオペレーションとしてもよい。この場合、PC LiveViewよりも画質または転送レートを低くしてライブビュー画像を送信するオペレーションを別途設け、携帯端末アプリモードで利用可能にしてもよい。また、携帯端末では詳細なパラメータ設定を必要とする機会が多くないと考えられるため、レリーズは利用可能としてもカメラパラメータ設定は利用可能にしないことも考えられる。また、カメラパラメータ設定をパラメータに応じて複数のオペレーションに分割し、携帯端末ではそのうちの一部のオペレーションしか利用可能にしないようにしてもよい。   The type of operation is not limited to that shown in the present embodiment, and the configuration of the table is not limited to that shown in FIG. For example, even in the case of a mobile terminal, it may be possible to perform remote shooting when taking a commemorative photo of a holiday destination or the like. Therefore, it is good also as operation which can utilize release and PC LiveView also in portable terminal application mode. In this case, an operation for transmitting a live view image with a lower image quality or transfer rate than that of PC LiveView may be separately provided and used in the mobile terminal application mode. In addition, since it is considered that there are not many opportunities for detailed parameter setting in the mobile terminal, it is possible that the camera parameter setting is not made available even if the release is available. Further, the camera parameter setting may be divided into a plurality of operations according to the parameters so that only a part of the operations can be used in the mobile terminal.

<第2の実施形態>
第1の実施形態では、通信相手がPCか携帯端末かに応じて、利用可能なオペレーションを異ならせる例について説明した。これに対し本実施形態では、利用可能なオペレーションをデジタルカメラのベンダ製のアプリケーションか否かに応じて切り替えることとした。デジタルカメラのベンダ以外の第三者にデジタルカメラ制御用のSDKを公開し、アプリケーションを作成させることは、カメラシステムの用途をより拡張する意味では望ましい。しかしその一方で、すべてのオペレーションを利用可能とすると、ベンダ側で予期しなかった制御が行われる可能性もあるため、利用可能なオペレーションに一定の制限をかけることが望ましい。
<Second Embodiment>
In the first embodiment, an example has been described in which available operations differ depending on whether the communication partner is a PC or a portable terminal. On the other hand, in the present embodiment, the available operations are switched according to whether the application is a digital camera vendor application. Opening the SDK for controlling the digital camera to a third party other than the vendor of the digital camera and creating an application is desirable in the sense of expanding the use of the camera system. However, on the other hand, if all operations are made available, there is a possibility that unexpected control may be performed on the vendor side. Therefore, it is desirable to place certain restrictions on the available operations.

そこで本実施形態では、アプリケーションがデジタルカメラのベンダが提供しているものか否かに応じて、利用可能なオペレーションを異ならせることとした。   Therefore, in the present embodiment, the available operations differ depending on whether the application is provided by a digital camera vendor.

以下、本実施形態について詳細に説明する。本実施形態は第1の実施形態と共通する部分が多いため、共通部分については説明を省略し、本実施形態に特有の部分を中心に説明する。   Hereinafter, this embodiment will be described in detail. Since this embodiment has many parts in common with the first embodiment, description of the common parts will be omitted, and description will be made centering on parts unique to the present embodiment.

本実施形態のデジタルカメラ201は、デジタルカメラ201のベンダが作成したPCアプリ(以下、ベンダアプリ)と通信するモード(ベンダアプリモード)、ベンダ以外の第三者が作成したPCアプリ(以下、標準アプリ)と通信するモード(標準アプリモード)とを有する。この2つのモードは利用可能なオペレーションがそれぞれ異なり、モードとオペレーションの関係を示すテーブルが不揮発性メモリ130に保持されている。図9に、テーブルの一例を示す。図9の例では、ベンダアプリモードでは「画像取得」、「レリーズ」、「カメラパラメータ設定」、「PC Liveview」、「動画記録開始・終了」が利用可能である。また、標準アプリモードでは「画像取得」が利用可能である。なお、PC用SDKも同様にベンダアプリモードと標準アプリモードを有しており、PCアプリからの指示がない限り、標準アプリモードで動作するものとする。   The digital camera 201 according to the present embodiment includes a mode (vendor application mode) for communicating with a PC application created by the vendor of the digital camera 201 (hereinafter referred to as a vendor application), a PC application created by a third party other than the vendor (hereinafter referred to as a standard) Mode (standard application mode). The two modes have different usable operations, and a table indicating the relationship between the modes and the operations is held in the nonvolatile memory 130. FIG. 9 shows an example of the table. In the example of FIG. 9, “image acquisition”, “release”, “camera parameter setting”, “PC Liveview”, and “moving image recording start / end” can be used in the vendor application mode. In the standard application mode, “image acquisition” can be used. The PC SDK similarly has a vendor application mode and a standard application mode, and operates in the standard application mode unless an instruction is issued from the PC application.

本発明の実施例2における自社アプリモード時の処理を示すシーケンスを図10に示す。   FIG. 10 shows a sequence showing processing in the company application mode according to the second embodiment of the present invention.

本発明の実施例2における他社アプリモード時の処理を示すシーケンスを図11に示す。   FIG. 11 shows a sequence showing processing in the other company application mode in the second embodiment of the present invention.

以下、図9テーブルと、図11、12のシーケンスを参照して、本発明の第1の実施例による、PCのSDKからのデジタルカメラへの接続モードの違いにより、デジタルカメラの提供する機能の変更について説明する。   Hereinafter, referring to the table of FIG. 9 and the sequences of FIGS. 11 and 12, the functions provided by the digital camera according to the difference in the connection mode from the PC SDK to the digital camera according to the first embodiment of the present invention. The change will be described.

<デジタルカメラ・ベンダアプリ接続シーケンス>
図6に、本実施形態におけるデジタルカメラ201とPC202が接続された際の処理シーケンスを示す。なお、本フローはPC202上でベンダアプリが起動した場合について説明する。
<Digital camera / vendor application connection sequence>
FIG. 6 shows a processing sequence when the digital camera 201 and the PC 202 are connected in the present embodiment. In addition, this flow demonstrates the case where a vendor application starts on PC202.

まずS1001において、ベンダアプリはPC用SDKに対し、接続モードをベンダアプリモードに設定するよう要求する。   First, in step S1001, the vendor application requests the PC SDK to set the connection mode to the vendor application mode.

PC用SDKはS1002において、PC用SDKの接続モードを標準アプリモードからベンダアプリモードに切り替える。   In step S1002, the PC SDK switches the PC SDK connection mode from the standard application mode to the vendor application mode.

続いてS1003において、ベンダアプリはPC用SDKに対し、接続要求を受け渡す。   In step S1003, the vendor application passes a connection request to the PC SDK.

S1004、S1051は図6のS602、S651と同様の処理である。   S1004 and S1051 are the same processes as S602 and S651 in FIG.

S1051にてデバイス情報を取得したPC用SDKは、デバイス情報を参照し、デジタルカメラ201がベンダアプリモードと標準アプリモードの切り替えオペレーションに対応しているかを判断する。切り替えオペレーションに対応していると判断した場合は、デジタルカメラ201に対し、動作モードを自身のモードに合わせてベンダアプリモードに設定するよう要求する(S1005)。   The PC SDK that has acquired the device information in S1051 refers to the device information and determines whether the digital camera 201 supports the switching operation between the vendor application mode and the standard application mode. If it is determined that the switching operation is supported, the digital camera 201 is requested to set the operation mode to the vendor application mode in accordance with its own mode (S1005).

デジタルカメラ201は設定の要求を受信すると、図9のベンダアプリモードのテーブルを参照する。そして制御可能な機能として、「画像取得」、「レリーズ」、「カメラパラメータ設定」、「PC LiveView」、「動画記録開始・終了」を利用可能なオペレーションとして追加する(S1052)。   Upon receiving the setting request, the digital camera 201 refers to the vendor application mode table of FIG. As controllable functions, “image acquisition”, “release”, “camera parameter setting”, “PC LiveView”, and “moving image recording start / end” are added as available operations (S1052).

これ以降のS1006〜S1018及びS1053〜S1059は、図6のS604〜S616及びS653〜S659と同様の処理であるから、説明を省略する。   Subsequent S1006 to S1018 and S1053 to S1059 are the same processes as S604 to S616 and S653 to S659 of FIG.

<デジタルカメラ・標準アプリ接続シーケンス>
次に、図11に本実施形態におけるデジタルカメラ201とPC202が接続された際の処理シーケンスを示す。なお、本フローはPC202上で標準アプリが起動した場合について説明する。
<Digital camera / standard application connection sequence>
Next, FIG. 11 shows a processing sequence when the digital camera 201 and the PC 202 in this embodiment are connected. In addition, this flow demonstrates the case where a standard application starts on PC202.

PC202上の標準アプリが起動すると、標準アプリはPC用SDKに接続要求を受け渡す。ここでのベンダアプリとの大きな違いは、図10のS1001のように、PC用SDKのモード設定を要求しない点である。前述したように、PC用SDKはPCアプリからの要求がない限り、標準アプリモードで動作する。   When the standard application on the PC 202 is activated, the standard application delivers a connection request to the PC SDK. The major difference from the vendor application here is that the mode setting of the PC SDK is not requested as in S1001 of FIG. As described above, the SDK for PC operates in the standard application mode unless requested by the PC application.

S1102、S1151は図6のS602、S651と同様の処理である。   S1102 and S1151 are the same processes as S602 and S651 in FIG.

S1151にてデバイス情報を取得したPC用SDKは、デバイス情報を参照し、デジタルカメラ201がベンダアプリモードと標準アプリモードの切り替えオペレーションに対応しているかを判断する。切り替えオペレーションに対応していると判断した場合は、デジタルカメラ201に対し、動作モードを自身のモードに合わせて標準アプリモードに設定するよう要求する(S1103)。   The PC SDK that has acquired the device information in S1151 refers to the device information and determines whether the digital camera 201 supports the switching operation between the vendor application mode and the standard application mode. If it is determined that the switching operation is supported, the digital camera 201 is requested to set the operation mode to the standard application mode in accordance with its own mode (S1103).

デジタルカメラ201は設定の要求を受信すると、図9のベンダアプリモードのテーブルを参照し、制御可能な機能として、「画像取得」を利用可能なオペレーションとして追加する(S1152)。   Upon receiving the setting request, the digital camera 201 refers to the vendor application mode table of FIG. 9 and adds “image acquisition” as an operation that can be used as a controllable function (S1152).

それ以降のS1104〜S1110、S1153〜S1156は、図6のS604〜S610、S653〜S656と同様の処理であるため、説明を省略する。   Subsequent S1104 to S1110 and S1153 to S1156 are the same processes as S604 to S610 and S653 to S656 in FIG.

次に、PC用SDKが標準アプリからPC用ライブビュー要求を受けた場合について説明する(S1111)。この場合、PC用SDKはS1154で取得したオペレーションにPC LiveViewが含まれているかを判断する。PC用SDKが標準アプリモードの場合、PC LiveViewのオペレーションはS1154で取得できないため、PC用SDKは標準アプリにエラーを返す(S1112)。同様に標準アプリからPC用SDKにレリーズ要求をした場合(S1113)も、PC用SDKはエラーを返すことになる(S1114)。   Next, a case where the PC SDK receives a PC live view request from the standard application will be described (S1111). In this case, the PC SDK determines whether PC LiveView is included in the operation acquired in S1154. If the PC SDK is in the standard application mode, the PC LiveView operation cannot be acquired in S1154, and the PC SDK returns an error to the standard application (S1112). Similarly, when a release request is issued from the standard application to the PC SDK (S1113), the PC SDK returns an error (S1114).

以上説明したように、本実施形態のSDKは、標準アプリに組み込まれているかベンダアプリに組み込まれているかに応じてデジタルカメラのモードを制御し、利用可能なオペレーションを異ならせるよう制御することとした。このようにすることで、アプリから利用可能なオペレーションを適切に制限することが可能となる。   As described above, the SDK according to the present embodiment controls the mode of the digital camera according to whether it is incorporated in the standard application or the vendor application, and controls the available operations differently. did. By doing in this way, it becomes possible to restrict | limit the operation which can be utilized from an application appropriately.

なお、本実施形態ではPCアプリについてベンダアプリ、標準アプリが用意される場合について説明したが、携帯端末アプリについてベンダアプリ、標準アプリを用意し、それぞれ異なるオペレーションを利用可能にしてもよい。   In the present embodiment, a case where a vendor application and a standard application are prepared for a PC application has been described. However, a vendor application and a standard application may be prepared for a mobile terminal application, and different operations may be used.

<第3の実施形態>
第1の実施形態では、PCのほうが携帯端末よりスペックが高いという理由で、PCアプリの方が使用可能なオペレーションを多く設けるテーブル構成としていたが、必ずしもこの構成に限定されない。
<Third Embodiment>
In the first embodiment, the PC configuration has a table configuration in which more operations that can be used by the PC application are provided because the specification of the PC is higher than that of the portable terminal. However, the configuration is not necessarily limited thereto.

例えば、家の外に持ち出す機会の少ないPCに対し、普段外に持ち歩く携帯端末の場合は携帯端末の操作で自分撮りをするなど、リモート撮影を行えるようにしておくことが望ましいとも考えられる。   For example, it may be desirable to enable remote shooting such as taking a self-portrait by operating the mobile terminal in the case of a mobile terminal that is usually carried outside the PC, which is rarely taken out of the house.

したがって、図12のようなテーブル構成とし、PCからはオペレーションを制限ないしは使用できないようにし、携帯端末のみからカメラを制御できるようにしてもよい。   Therefore, the table configuration shown in FIG. 12 may be used so that operations cannot be restricted or used from the PC, and the camera can be controlled only from the mobile terminal.

以上のように構成することで、PCと携帯端末といった使用形態にあった、カメラ制御の機能を提供することが出来る。   With the configuration as described above, it is possible to provide a camera control function suitable for use forms such as a PC and a portable terminal.

<他の実施形態>
以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。
<Other embodiments>
As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment, A various deformation | transformation and change are possible within the range of the summary.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

Claims (11)

通信装置であって、
前記通信装置との通信のためのユーザ操作を受け付ける第1のプログラムと、前記通信装置と通信を行うための第2のプログラムとを含む通信アプリケーションを用いる外部装置と通信する通信手段と、
前記通信装置と前記外部装置との通信において前記通信装置を制御するためのオペレーションのうち、前記外部装置が利用可能なオペレーションを前記外部装置に通知する通知手段と、
前記外部装置が利用する第2のプログラムの使用形態を判断する判断手段とを有し、前記通知手段は、前記第2のプログラムの使用形態に応じて、通知するオペレーションを異ならせることを特徴とする通信装置。
A communication device,
A communication means for communicating with an external device using a communication application including a first program for accepting a user operation for communication with the communication device and a second program for communicating with the communication device;
Among the operations for controlling the communication device in communication between the communication device and the external device, notification means for notifying the external device of an operation that can be used by the external device;
Determining means for determining a usage pattern of the second program used by the external device, wherein the notifying means varies a notification operation according to a usage pattern of the second program. Communication device.
前記第2のプログラムの使用形態は、第1の使用形態と第2の使用形態を含み、前記第1の使用形態は、前記通信装置のベンダの前記通信アプリケーションにて使用される形態であることを特徴とする請求項1に記載の通信装置。   The usage pattern of the second program includes a first usage pattern and a second usage pattern, and the first usage pattern is a mode used in the communication application of the vendor of the communication device. The communication apparatus according to claim 1. 前記通信装置は、被写体を撮影する撮影手段をさらに有することを特徴とする請求項2に記載の通信装置。   The communication apparatus according to claim 2, further comprising a photographing unit that photographs a subject. 前記オペレーションは、前記通信装置が有する画像データを取得するオペレーションを含むことを特徴とする請求項3に記載の通信装置。   The communication apparatus according to claim 3, wherein the operation includes an operation of acquiring image data included in the communication apparatus. 前記オペレーションは、前記外部装置を用いたリモート撮影に関するオペレーションを少なくとも1つ含むことを特徴とする請求項4に記載の通信装置。   The communication apparatus according to claim 4, wherein the operation includes at least one operation related to remote photographing using the external device. 前記リモート撮影に関するオペレーションは、静止画の撮影、動画の撮影、ライブビュー画像の取得、撮影パラメータの制御のうち少なくとも1つを含むことを特徴とする請求項5に記載の通信装置。   The communication apparatus according to claim 5, wherein the operation related to remote shooting includes at least one of still image shooting, moving image shooting, live view image acquisition, and shooting parameter control. 前記判断手段により前記第2のプログラムの使用形態が前記第1の使用形態であると判断された場合、前記通知手段は前記外部装置を用いたリモート撮影に関するオペレーションのうち少なくとも1つを、前記利用可能なオペレーションとして前記外部装置に通知しないことを特徴とする請求項5または6に記載の通信装置。   When the determining unit determines that the usage pattern of the second program is the first usage pattern, the notifying unit uses at least one of operations related to remote shooting using the external device as the usage. The communication apparatus according to claim 5, wherein the external apparatus is not notified as a possible operation. 前記判断手段により前記第2のプログラムの使用形態が前記第1の使用形態であると判断された場合、前記通知手段は前記画像データを取得するオペレーションを前記利用可能なオペレーションとして通知することを特徴とする請求項4乃至7のいずれか1項に記載の通信装置。   When the determination unit determines that the usage pattern of the second program is the first usage pattern, the notification unit notifies the operation of acquiring the image data as the usable operation. The communication apparatus according to any one of claims 4 to 7. 前記判断手段により、前記第2のプログラムの使用形態が前記第2の使用形態であると判断された場合、前記通知手段は、前記第2のプログラムの使用形態が前記第1の使用形態であると判断された場合よりも多くのオペレーションを前記外部装置に通知することを特徴とする請求項2乃至8のいずれか1項に記載の通信装置。   When the determining means determines that the usage pattern of the second program is the second usage pattern, the notifying means indicates that the usage pattern of the second program is the first usage pattern. The communication apparatus according to any one of claims 2 to 8, wherein the external apparatus is notified of more operations than when it is determined. 通信装置の制御方法であって、
前記通信装置との通信のためのユーザ操作を受け付ける第1のプログラムと、前記通信装置と通信を行うための第2のプログラムとを含む通信アプリケーションを用いる外部装置と通信する通信工程と、
前記通信装置と前記外部装置との通信において前記通信装置を制御するためのオペレーションのうち、前記外部装置が利用可能なオペレーションを前記外部装置に通知する通知工程と、
前記外部装置が利用する第2のプログラムの使用形態を判断する判断工程とを有し、前記通知工程では、前記第2のプログラムの使用形態に応じて、通知するオペレーションを異ならせることを特徴とする通信装置の制御方法。
A communication device control method comprising:
A communication step of communicating with an external device using a communication application including a first program for accepting a user operation for communication with the communication device and a second program for communicating with the communication device;
Among the operations for controlling the communication device in communication between the communication device and the external device, a notification step of notifying the external device of an operation that can be used by the external device;
A determination step of determining a usage pattern of the second program used by the external device, and in the notification step, a notification operation is varied according to a usage pattern of the second program. Method for controlling a communication device.
通信装置のコンピュータを、請求項1乃至9のいずれか1項に記載の通信装置の各手段として機能させるコンピュータが読み取り可能なプログラム。   A computer-readable program that causes a computer of a communication device to function as each unit of the communication device according to any one of claims 1 to 9.
JP2017213821A 2017-11-06 2017-11-06 COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM Active JP6552578B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017213821A JP6552578B2 (en) 2017-11-06 2017-11-06 COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017213821A JP6552578B2 (en) 2017-11-06 2017-11-06 COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013244243A Division JP2015104015A (en) 2013-11-26 2013-11-26 Communication device, control method for the same, and program

Publications (2)

Publication Number Publication Date
JP2018046569A true JP2018046569A (en) 2018-03-22
JP6552578B2 JP6552578B2 (en) 2019-07-31

Family

ID=61696108

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017213821A Active JP6552578B2 (en) 2017-11-06 2017-11-06 COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM

Country Status (1)

Country Link
JP (1) JP6552578B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008048136A (en) * 2006-08-15 2008-02-28 Sony Corp Communication system and transmitting-receiving device
JP2011041155A (en) * 2009-08-17 2011-02-24 Canon Inc Image processing apparatus, control method thereof and communication system
JP2013162303A (en) * 2012-02-03 2013-08-19 Canon Inc Image processing device, method of controlling the same, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008048136A (en) * 2006-08-15 2008-02-28 Sony Corp Communication system and transmitting-receiving device
JP2011041155A (en) * 2009-08-17 2011-02-24 Canon Inc Image processing apparatus, control method thereof and communication system
JP2013162303A (en) * 2012-02-03 2013-08-19 Canon Inc Image processing device, method of controlling the same, and program

Also Published As

Publication number Publication date
JP6552578B2 (en) 2019-07-31

Similar Documents

Publication Publication Date Title
US20190370276A1 (en) File managing method for a digital apparatus
US8345143B2 (en) Image capturing apparatus and image capturing apparatus control method
JP6139829B2 (en) Information processing apparatus, control method therefor, and program
JP5988749B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP2015104015A (en) Communication device, control method for the same, and program
US20050146630A1 (en) Portable combination apparatus capable of copying image file between recording media and method thereof
US10084956B2 (en) Imaging apparatus, and imaging system
JP2017034455A (en) Imaging apparatus, its control method, program, and storage medium
KR20100076792A (en) A digital photographing device and a controlling method thereof
JP6618303B2 (en) Control device, communication system, control method of control device, and program
JP6552578B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
JP4479455B2 (en) Image recording apparatus, image supply method, and program
JP4574077B2 (en) COMMUNICATION SYSTEM, RADIO COMMUNICATION DEVICE, AND IMAGING DEVICE
JP6357041B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, SYSTEM, AND PROGRAM
JP2018006996A (en) Communication device, imaging device, control method of those, program, and storage medium
JP2019009571A (en) Log device
JP6362457B2 (en) EXTERNAL DEVICE, COMMUNICATION DEVICE, ITS CONTROL METHOD, SYSTEM, AND PROGRAM
JP5448498B2 (en) Imaging apparatus, control method thereof, and program
JP2004104370A (en) Information-processing apparatus and method therefor, and program
JP2019016914A (en) Imaging apparatus, control method of the same, program, and recording medium
JP6711580B2 (en) Imaging system, external device, imaging device, lens unit, driving device, program
US8624987B2 (en) Image capturing apparatus, method of controlling the same, and program therefor
JP6271988B2 (en) Imaging apparatus, control method therefor, and program
JP2004104369A (en) Information-processing apparatus and method therefor, and program
JP2015080156A (en) Electronic apparatus, control method therefor and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180821

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181009

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181206

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190702

R151 Written notification of patent or utility model registration

Ref document number: 6552578

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151