JP2013206221A - Electronic device and program - Google Patents

Electronic device and program Download PDF

Info

Publication number
JP2013206221A
JP2013206221A JP2012075500A JP2012075500A JP2013206221A JP 2013206221 A JP2013206221 A JP 2013206221A JP 2012075500 A JP2012075500 A JP 2012075500A JP 2012075500 A JP2012075500 A JP 2012075500A JP 2013206221 A JP2013206221 A JP 2013206221A
Authority
JP
Japan
Prior art keywords
command
processing
unit
function
executing
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.)
Pending
Application number
JP2012075500A
Other languages
Japanese (ja)
Inventor
Junji Tanaka
淳史 田中
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.)
Nikon Corp
Original Assignee
Nikon Corp
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 Nikon Corp filed Critical Nikon Corp
Priority to JP2012075500A priority Critical patent/JP2013206221A/en
Publication of JP2013206221A publication Critical patent/JP2013206221A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic device that can use a command of other device as with the same as a command of own device without a special setting nor using a dedicated device.SOLUTION: An electronic device comprises: a communication part that communicates with other device; a command management part that manages a command including a command executing functions with which the other device is provided; and a command processing part that executes the command managed by the command management part and acquires an execution result obtained by an execution. When a first execution result resulting from a first command being executed is not acquired by executing the first command included in the command managed by the command management part, the command processing part executes a second command substituting for the first command.

Description

本発明は、電子機器、およびプログラムに関する。   The present invention relates to an electronic device and a program.

近年、電子機器の多くはCPUが搭載され、CPUで実行するプログラムによって様々な機能を実現している。ところが、様々な電子機器で同様の機能を実現するために機器毎に同じようなプログラムを搭載しなければならないという問題がある。このため、コントローラで一元的に処理を実行する技術などが考えられている(例えば特許文献1参照)。   In recent years, many electronic devices are equipped with a CPU, and various functions are realized by programs executed by the CPU. However, there is a problem that a similar program must be installed for each device in order to realize the same function in various electronic devices. For this reason, the technique etc. which perform a process centrally with a controller are considered (for example, refer patent document 1).

特開平07−044290号公報Japanese Patent Application Laid-Open No. 07-044290

従来、他機器と同じ機能を利用する場合、自機器に他機器と同じアプリケーションソフトなどをインストールしたり、コントローラで一元的に処理を実行する必要があった。   Conventionally, when using the same function as that of another device, it is necessary to install the same application software or the like as that of the other device in the own device or to execute processing centrally by the controller.

本発明は、このような事情に鑑みてなされたもので、その目的は、特別な設定や専用の装置を用いることなく、他機器のコマンドを自機器のコマンドと同様に使用できる電子機器、およびプログラムを提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide an electronic device that can use commands of other devices in the same manner as the commands of its own device without using special settings or dedicated devices, and To provide a program.

この発明は上述した課題を解決するためになされたもので、本発明は、他機器と通信を行う通信部と、他機器が備えている機能の処理を実行するコマンドを含むコマンドを管理するコマンド管理部と、前記コマンド管理部が管理するコマンドを実行するとともに、実行することにより得られた実行結果を取得するコマンド処理部と、を備え、前記コマンド処理部は、前記コマンド管理部が管理するコマンドに含まれる第1コマンドを実行することにより、前記第1コマンドを実行することにより得られる実行結果である第1実行結果を取得できなかった場合、前記第1コマンドを代替する第2コマンドを実行することを特徴とする電子機器である。   The present invention has been made to solve the above-described problems, and the present invention relates to a command for managing a command including a communication unit that communicates with another device and a command that executes processing of a function of the other device. A management unit, and a command processing unit that executes a command managed by the command management unit and acquires an execution result obtained by executing the command, and the command management unit manages the command processing unit When the first execution result that is the execution result obtained by executing the first command cannot be obtained by executing the first command included in the command, a second command that replaces the first command is obtained. The electronic device is characterized by being executed.

また、本発明は、上記記載の電子機器、を備えることを特徴とする電子機器連携システムである。   Moreover, this invention is an electronic device cooperation system provided with the above-mentioned electronic device.

また、本発明は、コンピュータに、通信部を介して他機器と通信を行う通信ステップと、他機器が備えている機能の処理を実行するコマンドを含むコマンドを管理するコマンド管理ステップと、前記コマンド管理ステップにおいて管理するコマンドに含まれる第1コマンドを実行することにより、前記第1コマンドを実行することにより得られる実行結果である第1実行結果を取得できなかった場合、前記第1コマンドを代替する第2コマンドを実行するコマンド処理ステップと、を実行させるためのプログラムである。   In addition, the present invention provides a computer with a communication step for communicating with another device via a communication unit, a command management step for managing a command including a command for executing processing of a function provided in the other device, and the command If the first execution result, which is the execution result obtained by executing the first command, cannot be obtained by executing the first command included in the command managed in the management step, the first command is substituted And a command processing step for executing a second command to be executed.

この発明によれば、特別な設定や専用の装置を用いることなく、他機器のコマンドを自機器のコマンドと同様に使用できる。   According to the present invention, commands of other devices can be used in the same manner as commands of the own device without using special settings or dedicated devices.

本発明の一実施形態に係る電子機器の構成例を示す図である。It is a figure which shows the structural example of the electronic device which concerns on one Embodiment of this invention. 本実施形態に係る電子機器連携システムの動作の一例を示す図である。It is a figure which shows an example of operation | movement of the electronic device cooperation system which concerns on this embodiment. 本実施形態に係る電子機器連携システムの初期動作を示すフローチャートである。It is a flowchart which shows the initial operation | movement of the electronic device cooperation system which concerns on this embodiment. 本実施形態に係る電子カメラにおいてコマンドを実行する処理を示す図である。It is a figure which shows the process which performs a command in the electronic camera which concerns on this embodiment. 電子カメラの構成例を示す図である。It is a figure which shows the structural example of an electronic camera. 本実施形態に係る電子機器連携システムのコマンド表示例を示す図である。It is a figure which shows the example of a command display of the electronic device cooperation system which concerns on this embodiment. 本実施形態に係る電子機器連携システムのコマンド実行例を示す図である。It is a figure which shows the example of command execution of the electronic device cooperation system which concerns on this embodiment. 本実施形態に係る電子機器連携システムにおいて撮影処理を行う動作の一例を示す図である。It is a figure which shows an example of the operation | movement which performs an imaging | photography process in the electronic device cooperation system which concerns on this embodiment. 本実施形態に係る電子カメラの制御プログラムによる処理の実行手順の一例を示すフローチャートである。It is a flowchart which shows an example of the execution procedure of the process by the control program of the electronic camera which concerns on this embodiment. コマンド実行処理の動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of a command execution process. コマンドリストに登録されているコマンドの機能グループ毎の分類を示す図である。It is a figure which shows the classification | category for every function group of the command registered into the command list. 代替コマンドの第1例を説明する図である。It is a figure explaining the 1st example of an alternative command. 代替コマンドの第2例を説明する図である。It is a figure explaining the 2nd example of an alternative command. 代替処理を用いたコマンドの実行処理の一例を示すフローチャートである。It is a flowchart which shows an example of the execution process of the command using an alternative process. 代替コマンド検索処理の第1例を示すフローチャートである。It is a flowchart which shows the 1st example of an alternative command search process. 代替コマンド検索処理の第2例を示すフローチャートである。It is a flowchart which shows the 2nd example of an alternative command search process. 複数コマンドから代替コマンドを選択する第1例を説明する図である。It is a figure explaining the 1st example which selects an alternative command from a plurality of commands. 複数コマンドから代替コマンドを選択する第2例を説明する図である。It is a figure explaining the 2nd example which selects an alternative command from a plurality of commands. 代替コマンド検索処理の第3例を示すフローチャートである。It is a flowchart which shows the 3rd example of an alternative command search process.

以下、図面を参照して、本発明の実施の形態について説明する。なお、本実施形態では、複数の様々な機能を有する電子機器(電子カメラ、携帯電話、プリンタなど)の間で互いの機能を利用するコマンド共有機能(以降、C機能と称する)が用いられる。   Embodiments of the present invention will be described below with reference to the drawings. In the present embodiment, a command sharing function (hereinafter referred to as C function) that uses each other's functions among electronic devices (electronic cameras, mobile phones, printers, etc.) having a plurality of various functions is used.

[電子機器10の構成例]
図1は、本発明の一実施形態に係る電子機器10の構成例を示す図である。図1において、電子機器10は、ハードウェア11と、ソフトウェア12とで構成される。
[Configuration Example of Electronic Device 10]
FIG. 1 is a diagram illustrating a configuration example of an electronic device 10 according to an embodiment of the present invention. In FIG. 1, the electronic device 10 includes hardware 11 and software 12.

ハードウェア11は、電子機器10本来の機能に対応するための電子機器用回路13と、C機能に対応するための通信回路14(通信部)とを有する。例えば、電子カメラの場合は、撮像回路、表示回路、記録回路などが電子機器用回路13に対応する。なお、携帯電話などの場合は、携帯電話の通信網の基地局との間で通信するための電話機本来の通信回路とは別に、電子機器間で通信可能なBluetooth(登録商標)、Wi−Fi(Wireless Fidelity、登録商標)などの規格に対応する通信回路やその通信回路を使用して通信可能な範囲にある同じ機能に対応する電子機器を探索するソフトウェアを備えたものがあるので、このような携帯電話の場合は通信回路14を新たに設ける必要がなく、電子機器用回路13に含まれている。ここで、通信回路14が行う通信は、無線通信であってもよいし、有線通信であってもよい。   The hardware 11 includes an electronic device circuit 13 for supporting the original function of the electronic device 10 and a communication circuit 14 (communication unit) for supporting the C function. For example, in the case of an electronic camera, an imaging circuit, a display circuit, a recording circuit, and the like correspond to the electronic device circuit 13. In the case of a mobile phone or the like, Bluetooth (registered trademark) or Wi-Fi that can communicate between electronic devices, separately from the original communication circuit of the telephone for communicating with a base station of a mobile phone communication network. Some of them are equipped with software that searches for a communication circuit corresponding to a standard such as (Wireless Fidelity (registered trademark)) and an electronic device corresponding to the same function in a range where communication is possible using the communication circuit. In the case of a portable telephone, it is not necessary to newly provide the communication circuit 14 and is included in the electronic device circuit 13. Here, the communication performed by the communication circuit 14 may be wireless communication or wired communication.

ソフトウェア12は、ハードウェア11の各部を制御して電子機器10の動作を実現するOS(オペレーションシステム)を基本とし、OS上で実行される制御プログラム15(制御部)およびC機能プラットホーム16を有する。   The software 12 is based on an OS (operation system) that controls each part of the hardware 11 to realize the operation of the electronic device 10, and includes a control program 15 (control unit) and a C function platform 16 that are executed on the OS. .

制御プログラム15は、電子機器10の操作に対応する本来の機能を実現するためのプログラムだけでなく、本実施形態の特徴であるC機能により他機器に搭載された機能を利用するプログラムを有する。例えば、制御プログラム15は、後述のコマンド共有部18において管理されている複数のコマンドのうち選択されたコマンドを、設定されたコマンドの実行順序で実行させる処理を制御するプログラムを有する。なお、自機器の機能および他機器の機能或いは両方を組み合わせた機能のいずれの場合のプログラムであっても、C機能プラットホーム16(コマンド処理部30)に対してコマンド(或いはコマンド実行するタイミングを与えるイベント)を発行して実行結果を得る動作は同じであり、制御プログラム15側で自機器の機能であるか他機器の機能であるかを意識する必要はない。   The control program 15 includes not only a program for realizing an original function corresponding to the operation of the electronic device 10 but also a program that uses a function installed in another device by the C function that is a feature of the present embodiment. For example, the control program 15 includes a program that controls processing for executing a command selected from a plurality of commands managed in the command sharing unit 18 described later in the execution order of the set commands. It should be noted that a program (or command execution timing) is given to the C function platform 16 (command processing unit 30) in any case of the program of the function of the own device and the function of other devices or a combination of both. The operation of issuing the event and obtaining the execution result is the same, and it is not necessary to be aware of whether the function is the function of the own device or the function of another device on the control program 15 side.

C機能プラットホーム16は、コマンド共有部18(コマンド管理部)と、通信処理部19、コマンドサーチ部22(コマンド探索部)と、コマンド処理部30と、とを有する。   The C function platform 16 includes a command sharing unit 18 (command management unit), a communication processing unit 19, a command search unit 22 (command search unit), and a command processing unit 30.

コマンド共有部18は、自機器または他機器で実行可能なコマンドをコマンドリスト20として管理する。例えば、コマンド共有部18は、他機器が備えている機能の処理を実行するコマンドである外部コマンドを含む複数のコマンドを管理する。なお、コマンドリスト20に登録されるコマンドには、コマンド種別やコマンド機能名、パラメータなどコマンドに関係する様々な情報が含まれている。但し、コマンドリスト20はコマンドのリストであって、コマンドを実行するプログラム自体はそれぞれの電子機器にある。また、コマンドリスト20には、予め自機器で実行可能な内部コマンドのリストが登録されているが、通信処理部19が通信回路14で接続される他機器から取得する外部コマンドが適宜追加される。ここで、コマンドリスト20に登録されている外部コマンドの実行先である他機器との通信が通信回路14上で切断されたことを通信処理部19で検出した場合は、コマンドリスト20に登録されている当該機器のコマンドを削除する。なお、コマンド共有部18が管理しているコマンドリスト20は、内部コマンドと外部コマンドとが含まれている状態以外に、内部コマンドのみが含まれている状態、または外部コマンドのみが含まれている状態であってもよい。また、コマンド共有部18が管理しているコマンドリスト20は、少なくとも1つのコマンドが含まれている状態であってもよい。   The command sharing unit 18 manages commands that can be executed by the own device or other devices as a command list 20. For example, the command sharing unit 18 manages a plurality of commands including an external command that is a command for executing processing of a function provided in another device. The command registered in the command list 20 includes various information related to the command such as a command type, a command function name, and a parameter. However, the command list 20 is a list of commands, and a program for executing the command is in each electronic device. Also, in the command list 20, a list of internal commands that can be executed by the own device is registered in advance, but external commands that the communication processing unit 19 acquires from other devices connected by the communication circuit 14 are appropriately added. . Here, when the communication processing unit 19 detects that communication with another device that is the execution destination of the external command registered in the command list 20 is disconnected on the communication circuit 14, it is registered in the command list 20. Delete the command of the device. Note that the command list 20 managed by the command sharing unit 18 includes only the internal command or the external command in addition to the internal command and the external command. It may be in a state. Further, the command list 20 managed by the command sharing unit 18 may be in a state where at least one command is included.

通信処理部19は、通信回路14を介して予め決められた所定のプロトコルによる通信を確立し、機器情報、コマンドリスト、イベントなどの送受信、或いはコマンドの送信や実行結果の受信などを行う。   The communication processing unit 19 establishes communication based on a predetermined protocol via the communication circuit 14, and transmits / receives device information, command lists, events, etc., or transmits commands and receives execution results.

コマンドサーチ部22は、通信処理部19が通信回路14を介して接続される他機器から、他機器が備えている機能の処理を実行するコマンドを探索する。そして、コマンドサーチ部22が探索した利用可能な外部コマンドは、コマンドリスト20に適宜追加される。例えば、コマンドサーチ部22は、通常、近距離通信(例えば、Bluetooth(登録商標)の規格に対応する通信)で通信可能な他機器で実行可能な外部コマンドをコマンドリスト20に追加する。一方、コマンドサーチ部22は、近距離通信で通信可能なエリアよりも広いエリアにある他機器で実行可能な外部コマンドをコマンドリスト20に追加する場合、Wi−Fi(登録商標)の規格に対応する通信で通信可能な他機器で実行可能な外部コマンドをコマンドリスト20に追加する。なお、コマンドサーチ部22は、コマンド処理部30からの指令に応じて、探索エリアを変更(探索に利用する通信を変更)する。   The command search unit 22 searches for a command for executing processing of a function included in another device from another device to which the communication processing unit 19 is connected via the communication circuit 14. The available external commands searched by the command search unit 22 are appropriately added to the command list 20. For example, the command search unit 22 adds to the command list 20 an external command that can be executed by another device that can normally communicate by near field communication (for example, communication corresponding to the Bluetooth (registered trademark) standard). On the other hand, the command search unit 22 corresponds to the Wi-Fi (registered trademark) standard when adding an external command that can be executed by another device in an area wider than an area communicable by short-range communication to the command list 20. An external command that can be executed by another device that can communicate by communication is added to the command list 20. Note that the command search unit 22 changes the search area (changes the communication used for the search) in response to a command from the command processing unit 30.

コマンド処理部30は、コマンド共有部18が管理するコマンドを実行するとともに、実行することにより得られた実行結果を取得する。具体的には、コマンド処理部30は、コマンド共有部18のコマンドリスト20を参照して、制御プログラム15から送られるコマンドが内部コマンド(自機器で実行するコマンド)であるか外部コマンド(他機器で実行するコマンド)であるかを判別する。そして、コマンド処理部30は、制御プログラム15から送られるコマンドが内部コマンドである場合には、自機器において内部コマンドに対応する機能の処理を実行して、その実行結果を制御プログラム15側に返す処理を行う。   The command processing unit 30 executes a command managed by the command sharing unit 18 and acquires an execution result obtained by executing the command. Specifically, the command processing unit 30 refers to the command list 20 of the command sharing unit 18 and determines whether the command sent from the control program 15 is an internal command (command executed by the own device) or an external command (other device). Command to be executed in step 1). Then, when the command sent from the control program 15 is an internal command, the command processing unit 30 executes processing of the function corresponding to the internal command in its own device, and returns the execution result to the control program 15 side. Process.

また、コマンド処理部30は、制御プログラム15から送られるコマンドが外部コマンドである場合には、外部コマンドを通信処理部19からハードウェア11の通信回路14を介して接続される他機器に送信する。そして、コマンド処理部30は、通信回路14および通信処理部19を介して、他機器において外部コマンドを実行することにより得られた実行結果を受信し、これを制御プログラム15側に返す処理を行う。   Further, when the command sent from the control program 15 is an external command, the command processing unit 30 transmits the external command from the communication processing unit 19 to another device connected via the communication circuit 14 of the hardware 11. . The command processing unit 30 receives the execution result obtained by executing the external command in the other device via the communication circuit 14 and the communication processing unit 19 and returns the result to the control program 15 side. .

例えば、コマンド処理部30は、制御プログラム15が制御するコマンドの実行順序に従って、外部コマンドを通信回路14(および通信処理部19)を介して他機器に送信するとともに、他機器が外部コマンドを実行することにより得られた実行結果である実行結果を取得する。なお、コマンド処理部30は、他機器から外部コマンド(すなわち自機器で実行するコマンド)を受信した場合、受信した外部コマンドを自機器において実行するとともに、実行することにより得られた実行結果を、他機器に対して送信する。   For example, the command processing unit 30 transmits an external command to another device via the communication circuit 14 (and the communication processing unit 19) according to the execution order of the commands controlled by the control program 15, and the other device executes the external command. The execution result which is the execution result obtained by doing is acquired. In addition, when the command processing unit 30 receives an external command (that is, a command to be executed by the own device) from another device, the command processing unit 30 executes the received external command on the own device and executes the execution result obtained by executing the command. Send to other devices.

また、コマンド処理部30は、情報取得部31と、コマンド選択部32(選択部)と、条件設定部33と、を備えている。
情報取得部31は、自機器または他機器における性能を示す情報を取得する。なお、情報取得部31は、他機器における性能を示す情報を、通信回路14を介して接続される他機器と通信することにより取得する。例えば、情報取得部31は、性能を示す情報を要求するコマンドを他機器に対して送信するとともに、他機器が応答する性能を示す情報を受信することにより、他機器における性能を示す情報を取得する。
The command processing unit 30 includes an information acquisition unit 31, a command selection unit 32 (selection unit), and a condition setting unit 33.
The information acquisition unit 31 acquires information indicating the performance of the own device or another device. The information acquisition unit 31 acquires information indicating the performance of the other device by communicating with the other device connected via the communication circuit 14. For example, the information acquisition unit 31 transmits a command requesting information indicating performance to another device, and acquires information indicating the performance of the other device by receiving information indicating the performance to which the other device responds. To do.

ここで、性能を示す情報とは、例えば、各機器が備えている機能に応じて予め設定されている性能を示す情報(機能毎に予め設定されている処理速度、処理の正確さや精密さ、等の性能を示す情報)である。また、性能を示す情報とは、例えば、時間の経過にともなって変化する性能を示す情報(リソース状態(例えばCPU使用率、実行タスク数、バッテリ残容量等)を示す情報)である。なお、性能を示す情報は、要求性能を満たすか否かを示す情報であってもよい。例えば、性能を示す情報は、自機器または他機器が実行する処理が要求性能を満たすか否か(処理時間500msec以内の性能を満たすか否か、バッテリ持続時間60分以上の性能を満たすか否か、等)を示す情報であってもよい。   Here, the information indicating the performance is, for example, information indicating the performance set in advance according to the function of each device (processing speed, processing accuracy and precision set in advance for each function, And the like). The information indicating the performance is, for example, information indicating the performance that changes with time (information indicating the resource state (for example, the CPU usage rate, the number of execution tasks, the remaining battery capacity, etc.)). Note that the information indicating the performance may be information indicating whether or not the required performance is satisfied. For example, the information indicating performance indicates whether or not the processing executed by the own device or other device satisfies the required performance (whether the processing satisfies a performance within a processing time of 500 msec or whether the performance satisfies a battery duration of 60 minutes or more. Or the like.

コマンド選択部32は、コマンド共有部18が管理している複数のコマンドそれぞれに対応する機能の処理が実行される機器の性能を示す情報に基づいて、この複数のコマンドのうち実行するコマンドを選択する。例えば、コマンド選択部32は、制御プログラム15の制御により実行されるコマンドの機能と同じような機能を実行させる複数のコマンドがコマンド共有部18に管理されている場合、複数のコマンドそれぞれの処理が実行される機器における性能を示す情報に基づいて、この同じ機能を実行させる複数のコマンドから、実行するコマンドを選択する。   The command selection unit 32 selects a command to be executed from among the plurality of commands based on information indicating the performance of a device that executes processing of a function corresponding to each of the plurality of commands managed by the command sharing unit 18. To do. For example, when the command sharing unit 18 manages a plurality of commands that execute the same function as the command executed by the control of the control program 15, the command selection unit 32 performs processing for each of the plurality of commands. Based on the information indicating the performance of the device to be executed, a command to be executed is selected from a plurality of commands for executing the same function.

条件設定部33は、自機器または他機器の複数の性能を示す情報の優先条件を設定する。例えば、条件設定部33は、複数の機器の性能を示す情報(処理速度、処理の正確さや精密さ、等)の優先条件として、「処理速度を優先」または「処理の正確さや精密さを優先」等の優先条件を設定する。ここで、条件設定部33は、ユーザによって入力された条件、予め設定されている条件、または処理条件(例えば、電子機器10が電子カメラの場合の撮影被写体条件等)に基づいて、上述の優先条件を設定する。そして、コマンド選択部32は、例えば、条件設定部33により設定された優先条件と、各機器における性能を示す情報とに基づいて、上述の同じ機能を実行させる複数のコマンドから、実行するコマンドを選択する。なお、このような、コマンドの選択処理について詳しくは後述する。   The condition setting unit 33 sets priority conditions for information indicating a plurality of performances of the own device or other devices. For example, the condition setting unit 33 gives priority to “processing speed” or “processing accuracy and precision” as a priority condition of information (processing speed, processing accuracy and precision, etc.) indicating the performance of a plurality of devices. ”And other priority conditions are set. Here, the condition setting unit 33 performs the above-mentioned priority based on conditions input by the user, preset conditions, or processing conditions (for example, shooting subject conditions when the electronic device 10 is an electronic camera). Set conditions. Then, the command selection unit 32, for example, executes a command to be executed from a plurality of commands that execute the same function based on the priority condition set by the condition setting unit 33 and the information indicating the performance in each device. select. Details of the command selection process will be described later.

このように、本実施形態に係る電子機器10は構成され、複数の電子機器10がコマンドを共有して互いの機能を利用できるようになっている。   Thus, the electronic device 10 according to the present embodiment is configured, and a plurality of electronic devices 10 can share commands and use each other's functions.

[電子機器連携システム100の動作例]
次に、電子機器10として、C機能に対応するハードウェア11およびソフトウェア12を備えた電子カメラ101および携帯電話102を用いる場合の電子機器連携システム100の基本動作について説明する。
[Operation Example of Electronic Device Cooperation System 100]
Next, a basic operation of the electronic device cooperation system 100 when the electronic camera 101 and the mobile phone 102 including the hardware 11 and software 12 corresponding to the C function are used as the electronic device 10 will be described.

図2は、電子機器連携システム100の動作の一例を示す図である。
図2において、電子カメラ101は撮影コマンド151を有し、携帯電話102は電子メールコマンド161と、GPS(Global Positioning system)コマンド162とを有する。撮影コマンド151は、電子カメラ101の撮影を行うコマンドである。電子メールコマンド161は、電子メールを送受信するコマンドである。GPSコマンド162は、緯度、経度などの位置情報を取得するコマンドである。
FIG. 2 is a diagram illustrating an example of the operation of the electronic device cooperation system 100.
In FIG. 2, the electronic camera 101 has a shooting command 151, and the mobile phone 102 has an e-mail command 161 and a GPS (Global Positioning system) command 162. The shooting command 151 is a command for shooting the electronic camera 101. The e-mail command 161 is a command for sending and receiving e-mail. The GPS command 162 is a command for acquiring position information such as latitude and longitude.

そして、電子カメラ101と携帯電話102のそれぞれのコマンド共有部18は、通信処理部19による通信確立(S101)の後、互いの機器情報とコマンドリスト20(図2では、コマンドリスト131a、コマンドリスト132aに対応)を送受信する。例えば電子カメラ101は、機器情報として自機器がカメラであること、実行可能なコマンドリスト131aとして撮影コマンド151を有すること、などを携帯電話102に送信する(S102)。逆に、携帯電話102は、機器情報として自機器が携帯電話であること、実行可能なコマンドリスト132aとして電子メールコマンド161と、GPSコマンド162とを有すること、などを電子カメラ101に送信する(S103)。   Then, after the communication processing unit 19 establishes communication (S101), the command sharing unit 18 of the electronic camera 101 and the mobile phone 102 establishes mutual device information and a command list 20 (in FIG. 2, a command list 131a, a command list). 132a). For example, the electronic camera 101 transmits to the mobile phone 102 that the device itself is a camera as device information, and has a shooting command 151 as an executable command list 131a (S102). Conversely, the mobile phone 102 transmits to the electronic camera 101 that the device itself is a mobile phone as device information, and has an email command 161 and a GPS command 162 as an executable command list 132a ( S103).

これにより、電子カメラ101は、自機器の撮影コマンド151と、携帯電話102の電子メールコマンド161と、GPSコマンド162とを含むコマンドリスト131bを持つことができる。同様に、携帯電話102は、自機器の電子メールコマンド161およびGPSコマンド162と、電子カメラ101の撮影コマンド151とを含むコマンドリスト131bを持つことができる。なお、送受信するのはコマンドリストであって、コマンドを実行するプログラム自体はそれぞれの電子機器にある。   As a result, the electronic camera 101 can have a command list 131b including the shooting command 151 of the own device, the e-mail command 161 of the mobile phone 102, and the GPS command 162. Similarly, the mobile phone 102 can have a command list 131b that includes an electronic mail command 161 and a GPS command 162 of its own device, and a shooting command 151 of the electronic camera 101. Note that a command list is transmitted and received, and a program for executing a command is in each electronic device.

電子カメラ101と携帯電話102のそれぞれのコマンド処理部30は、コマンド共有部18が保持するコマンドリスト20の中のコマンドを実行する。例えば電子カメラ101はコマンドリスト131aの撮影コマンド151を実行することができ、携帯電話102はコマンドリスト132aの電子メールコマンド161やGPSコマンド162を実行することができる。ここで、コマンドリスト131aおよびコマンドリスト132aは、電子カメラ101および携帯電話102のそれぞれが本来備えているコマンド(内部コマンド)である。さらに、本実施形態に係る電子機器連携システム100では、通信確立後に送受信した他機器のコマンド(外部コマンド)を使用することができる。   The command processing units 30 of the electronic camera 101 and the mobile phone 102 execute commands in the command list 20 held by the command sharing unit 18. For example, the electronic camera 101 can execute the shooting command 151 of the command list 131a, and the mobile phone 102 can execute the e-mail command 161 and the GPS command 162 of the command list 132a. Here, the command list 131a and the command list 132a are commands (internal commands) that are originally provided in the electronic camera 101 and the mobile phone 102, respectively. Furthermore, in the electronic device cooperation system 100 according to the present embodiment, commands (external commands) of other devices that are transmitted / received after establishment of communication can be used.

例えば図2では、電子カメラ101が位置情報を取得したい場合、GPSコマンド162を携帯電話102に送信し(S104)、携帯電話102でGPSコマンド162を実行して取得した位置情報(緯度経度など)を実行結果とするコマンド応答を電子カメラ101に送信する(S105)。   For example, in FIG. 2, when the electronic camera 101 wants to acquire position information, the GPS command 162 is transmitted to the mobile phone 102 (S104), and the position information (latitude and longitude, etc.) acquired by executing the GPS command 162 on the mobile phone 102. Is transmitted to the electronic camera 101 (S105).

このようにして、電子カメラ101は、GPS機能を搭載していなくてもGPSによる位置情報を取得することができ、例えば撮影画像のヘッダ情報に位置情報を付加して保存するような新たな機能を容易に実現することができる。   In this way, the electronic camera 101 can acquire position information by GPS even if it is not equipped with a GPS function. For example, a new function that adds and stores position information to header information of a captured image is provided. Can be easily realized.

図3は、本実施形態に係る電子機器連携システム100において、電子機器の電源を投入してからコマンドリストを取得するまでの処理(初期動作)を示すフローチャートである。   FIG. 3 is a flowchart showing processing (initial operation) from when the electronic device is turned on until the command list is acquired in the electronic device cooperation system 100 according to the present embodiment.

(ステップS151)電子機器10の電源が投入されると、C機能プラットホーム16の通信処理部19は通信回路14を起動する。   (Step S151) When the power of the electronic device 10 is turned on, the communication processing unit 19 of the C function platform 16 activates the communication circuit 14.

(ステップS152)通信回路14によって通信可能な範囲にある他の電子機器を探索する。なお、このような機能は、例えばBluetooth(登録商標)などの規格で決められており、通信可能な範囲にある電子機器を見つけることができる。   (Step S <b> 152) Search for other electronic devices within a range in which communication is possible by the communication circuit 14. Such a function is determined by, for example, a standard such as Bluetooth (registered trademark), and an electronic device within a communicable range can be found.

(ステップS153)通信処理部19は、検出した電子機器がC機能に対応する機器であるか否かの判別を行い、C機能に対応しない場合はステップS152に戻って電子機器の探索を継続する。そして、C機能に対応する場合はステップS154に進む。なお、C機能に対応しているか否かの判別は、例えば通信確立時に送受信する制御データにC機能対応有を示す独自の情報を付加することにより実現できる。   (Step S153) The communication processing unit 19 determines whether or not the detected electronic device is a device corresponding to the C function. If the detected electronic device does not correspond to the C function, the communication processing unit 19 returns to step S152 and continues to search for the electronic device. . If it corresponds to the C function, the process proceeds to step S154. The determination of whether or not the C function is supported can be realized, for example, by adding unique information indicating that the C function is available to control data transmitted and received when communication is established.

(ステップS154)機器探索で見つかったC機能に対応する他機器に自機器の機器情報を送信する。   (Step S154) The device information of the own device is transmitted to the other device corresponding to the C function found by the device search.

(ステップS155)機器探索で見つかったC機能に対応する他機器から機器情報を受信する。   (Step S155) Device information is received from another device corresponding to the C function found in the device search.

(ステップS156)自機器が保持するコマンドリストを他機器に送信する。   (Step S156) The command list held by the own device is transmitted to another device.

(ステップS157)他機器が保持するコマンドリストを他機器から受信する。   (Step S157) A command list held by another device is received from the other device.

(ステップS158)他機器から受信したコマンドリストに登録されているコマンドを自機器が保持するコマンドリストに追加する。   (Step S158) The command registered in the command list received from the other device is added to the command list held by the own device.

このようにして、本実施形態に係る電子機器連携システム100では、他機器との間で実行可能なコマンドリストを送受信することによって、他機器のコマンドを自機器のコマンドと同じように実行することができる。しかも、コマンドの実行自体は当該コマンドを有する機器上で行うので、従来のようにコマンドを実行するためのソフトウェアやドライバプログラムをインストールする必要がなく、OSの種類にも依存しない。   In this way, in the electronic device cooperation system 100 according to the present embodiment, by executing a command list that can be executed with another device, the command of the other device is executed in the same manner as the command of the own device. Can do. In addition, since the execution of the command itself is performed on a device having the command, it is not necessary to install software and a driver program for executing the command as in the past, and it does not depend on the type of OS.

図4は、本実施形態に係る電子機器連携システム100に対応する電子カメラ101においてコマンドを実行する処理を示す図である。図4(a)は、電子カメラ101で撮影した画像に対して画像処理Aを施してメモリカードなどに保存する処理例を示している。ここで、画像処理コマンドAは電子カメラ101では実行できない外部コマンドなので、画像処理プログラムAを有する画像処理サーバ104に画像処理コマンドAと画像データを送信して画像処理サーバ104で画像処理Aを施し、処理後の画像データを電子カメラ101に返信する。そして、電子カメラ101は、画像処理サーバ104から受信した画像処理Aが施された画像データを撮影画像としてメモリカードなどに保存する。   FIG. 4 is a diagram illustrating processing for executing a command in the electronic camera 101 corresponding to the electronic device cooperation system 100 according to the present embodiment. FIG. 4A shows a processing example in which image processing A is performed on an image photographed by the electronic camera 101 and stored in a memory card or the like. Here, since the image processing command A is an external command that cannot be executed by the electronic camera 101, the image processing command A and the image data are transmitted to the image processing server 104 having the image processing program A, and the image processing server 104 performs the image processing A. The processed image data is returned to the electronic camera 101. The electronic camera 101 stores the image data subjected to the image processing A received from the image processing server 104 as a captured image in a memory card or the like.

さらに、図4(b)は、電子カメラ101で撮影した画像に対して画像処理Bを施してメモリカードなどに保存する処理の流れを示している。ここで、画像処理コマンドBは電子カメラ101で実行可能な内部コマンドなので、自機器内の制御プログラムに画像処理コマンドBと画像データを送って画像処理Bを施し、処理後の画像データを受け取ってメモリカードなどに保存する。   Further, FIG. 4B shows a flow of processing for performing image processing B on an image photographed by the electronic camera 101 and storing it in a memory card or the like. Here, since the image processing command B is an internal command that can be executed by the electronic camera 101, the image processing command B and the image data are sent to the control program in the own device, the image processing B is performed, and the processed image data is received. Save to a memory card.

このように、本実施形態に係る電子機器連携システム100における電子カメラ101は、外部コマンドおよび内部コマンドの区別なく、同じようにコマンドを発行して処理を行うことができる。   As described above, the electronic camera 101 in the electronic device cooperation system 100 according to the present embodiment can perform processing by issuing commands in the same manner without distinguishing between external commands and internal commands.

[機器情報]
次に、機器情報について説明する。図2で説明したように、本実施形態に係る電子機器連携システム100に対応する電子機器10は、通信確立時に機器情報を送受信する。この機器情報には、例えば以下のような情報が含まれる。
・国ID:各国毎に決められた固有ID、或いは国名でもよい。例えばJAPANなど。・メーカID:メーカ毎に決められた固有ID、或いはメーカ名でもよい。例えばABCDE会社など。
・機器カテゴリID:機器種別毎に決められたカテゴリを示す固有ID、或いは機器名でもよい。例えば電子カメラ、携帯電話、プリンタなど。
・機器ID:機器毎に決められた固有IDで製造番号やシリアル番号など。
・所有者ID:機器の所有者毎に予め決められた固有ID、或いは所有者名や住所、電話番号などであってもよい。
[Equipment information]
Next, device information will be described. As described with reference to FIG. 2, the electronic device 10 corresponding to the electronic device cooperation system 100 according to the present embodiment transmits and receives device information when communication is established. The device information includes the following information, for example.
Country ID: A unique ID or country name determined for each country may be used. For example, JAPAN. Manufacturer ID: A unique ID determined for each manufacturer or a manufacturer name may be used. For example, ABCDE company.
Device category ID: It may be a unique ID indicating a category determined for each device type, or a device name. For example, electronic cameras, mobile phones, printers, etc.
Device ID: A unique ID determined for each device, such as a manufacturing number or serial number.
Owner ID: It may be a unique ID predetermined for each owner of the device, an owner name, an address, a telephone number, or the like.

このように、本実施形態に係る電子機器連携システム100では、通信確立時に上記のような機器情報を送受信する。これにより、例えば特定国の機器、同一メーカの機器、同じカテゴリの機器、同じ所有者の機器などの特定機器でしかコマンドを利用できないようにすることができる。   As described above, in the electronic device cooperation system 100 according to the present embodiment, the device information as described above is transmitted and received when communication is established. Thereby, for example, the command can be used only by a specific device such as a device in a specific country, a device of the same manufacturer, a device of the same category, or a device of the same owner.

[コマンド]
次に、コマンドに含まれる情報について説明する。図2で説明したように、コマンドには自機器で実行する内部コマンドと、他機器で実行する外部コマンドとがあり、いずれのコマンドにも以下のような情報が含まれる。
・コマンド種別:単体で実行するコマンド、バッチ処理コマンドなど。
・実行可能な機器:例えば電子カメラ、携帯電話などの機器種別や個別の機器IDなど。
(なお、機器種別や機器IDは、通信確立時に送受信される機器情報に含まれる)
・コマンド機能名:例えば撮影機能、位置情報取得機能、プリンタ機能、画像処理機能、超解像度画像処理機能、顔検出機能など。
・コマンドID:コマンド毎に予め決められた固有ID、或いはコマンド名。例えば撮影コマンド、印刷コマンドなど。
・パラメータ:コマンドで参照するパラメータ。例えば撮影コマンドであればシャッタ速度や絞り値或いは撮影モードの選択値(夜景モードなど)。なお、選択可能な数値範囲や全ての選択値の情報も含まれる。
・コマンド実行結果:コマンドの実行によって得られる結果で、数値や画像データなどの実行結果である。例えばGPSコマンドであれば緯度経度などの数値、画像処理であれば処理後の画像データなど。
・アイコン:コマンドを画面に表示する場合に、コマンドを判別し易いようするための画像。例えば電子メールコマンドであれば封書画像のアイコンなど。
・チュートリアル:コマンドの使い方や機能説明。いわゆるHELP情報に相当する。
・コマンドで使用する別のコマンドの情報:バッチ処理などで別のコマンドの実行結果を利用するコマンドなど。例えば現在位置の住所を求める住所コマンドを設けた場合、住所コマンドの中でGPSコマンドを実行して、GPSコマンドで得られる緯度経度の数値から地図上の位置を検索して住所を求める、など。
・コマンドの性能情報:処理速度、処理の正確さや精密さ、等の性能を示す情報。
・作者情報:コマンド作成者のIDや名称など。
[command]
Next, information included in the command will be described. As described with reference to FIG. 2, the command includes an internal command executed by the own device and an external command executed by another device, and each command includes the following information.
-Command type: Commands executed alone, batch processing commands, etc.
Executable devices: device types such as electronic cameras and mobile phones, individual device IDs, etc.
(Note that the device type and device ID are included in device information transmitted and received when communication is established)
Command function name: For example, a shooting function, a position information acquisition function, a printer function, an image processing function, a super-resolution image processing function, a face detection function, etc.
Command ID: A unique ID or command name predetermined for each command. For example, shooting command, printing command, etc.
• Parameter: A parameter that is referenced by a command. For example, in the case of a shooting command, the shutter speed, aperture value, or shooting mode selection value (night view mode, etc.). Information on selectable numerical ranges and information on all selected values is also included.
Command execution result: A result obtained by executing a command, which is an execution result of a numerical value or image data. For example, numerical values such as latitude and longitude are used for GPS commands, and processed image data are used for image processing.
Icon: An image that makes it easy to identify a command when the command is displayed on the screen. For example, if it is an e-mail command, an icon of a sealed image.
・ Tutorial: How to use commands and explanation of functions. This corresponds to so-called HELP information.
-Information on other commands used in commands: Commands that use the execution results of other commands in batch processing, etc. For example, when an address command for obtaining an address at the current position is provided, a GPS command is executed in the address command, and a position on the map is searched for from a numerical value of latitude and longitude obtained by the GPS command.
Command performance information: Information indicating performance such as processing speed, processing accuracy and precision.
Author information: ID and name of the command creator.

このように、本実施形態に係る電子機器連携システム100では、通信確立時に上記のような情報を含むコマンドリストを送受信する。これにより、例えばコマンドのパラメータや使い方がわかるので、初めてのコマンドであっても動作設定を簡単に行うことができ、所望の実行結果を得ることができる。   Thus, in the electronic device cooperation system 100 according to the present embodiment, a command list including the above information is transmitted and received when communication is established. As a result, for example, the parameter and usage of the command can be understood, so that even the first command can be easily set for operation and a desired execution result can be obtained.

ここで、様々な電子機器におけるコマンド例を以下に示す。
・電子機器が携帯電話の場合
「GPSコマンド」:GPSの測位データに基づく緯度経度などの位置情報の提供。
「簡易位置情報取得コマンド」:携帯電話通信網の最寄りの基地局の場所に基づく位置情報の提供。
「メール送信コマンド」:電子メールの送信。
「超解像画像処理コマンド」:高解像度化を行う画像処理。
「音声録音コマンド」:マイクロホンで音声を録音。
・電子機器が電子カメラの場合
「静止画AUTO撮影コマンド」:自動露出、自動焦点で静止画撮影。
「高速シャッタ撮影コマンド」:高速シャッタで画像を撮影。
「ボケ優先撮影コマンド」:ボケのある被写界深度の浅い画像を撮影。
「動画撮影コマンド」:動画を撮影。
「画像処理コマンド」:画質調整(ホワイトバランス調整、コントラスト調整、等)を行う画像処理。
「顔検出処理コマンド」:画像から顔を検出する処理。
「付加情報登録コマンド」:画像データにファイル名やヘッダ情報等の付加情報を登録。或いは、画像データに対応付けられた別のデータファイルに付加情報を登録。
「保存コマンド」:記憶媒体(メモリカード)への保存。
・電子機器が画像処理サーバの場合
「画像処理コマンド」:画質調整(ホワイトバランス調整、コントラスト調整、等)を行う画像処理(例えば電子カメラが備えている画像処理機能に対して高機能な処理)。
「顔認識処理コマンド」:画像から顔を検出する処理とともに、特定の個人の顔を認識して検出する処理。
・電子機器がプリンタの場合
「写真印刷L版」:L判で印刷。
「写真印刷A4」:A4で印刷。
・電子機器がFAXの場合
「画像送信」:画像データを送信。
「データ受信」:画像データを受信。
・電子機器がテレビの場合
「画像表示」:画像データを画面に表示。
「チャネル選択」:放送受信するチャネル選択。
・電子機器がビデオの場合
「静止画録画」:静止画像を記録。
「動画録画」:動画像を記録。
このように、本実施形態に係る電子機器連携システム100では、他機器のコマンドを自機器のコマンドと同じように実行することができ、自機器にはない他機器の機能を利用できる。
Here, command examples in various electronic devices are shown below.
When the electronic device is a mobile phone “GPS command”: providing position information such as latitude and longitude based on GPS positioning data.
"Simple location information acquisition command": Provision of location information based on the location of the nearest base station in the mobile phone communication network.
“Mail send command”: Send an e-mail.
“Super-resolution image processing command”: image processing for increasing the resolution.
"Voice recording command": Record voice with a microphone.
When the electronic device is an electronic camera “Still image AUTO shooting command”: Still image shooting with automatic exposure and auto focus.
“High-speed shutter shooting command”: Takes an image with a high-speed shutter.
“Bokeh priority shooting command”: Shoots a blurred image with a shallow depth of field.
“Video shooting command”: Shoots a video.
“Image processing command”: Image processing for adjusting image quality (white balance adjustment, contrast adjustment, etc.).
“Face detection processing command”: processing for detecting a face from an image.
“Additional information registration command”: Registers additional information such as file name and header information in the image data. Alternatively, additional information is registered in another data file associated with the image data.
“Save command”: Save to a storage medium (memory card).
When the electronic device is an image processing server “Image processing command”: Image processing for adjusting image quality (white balance adjustment, contrast adjustment, etc.) (for example, processing that is highly functional with respect to the image processing function of the electronic camera) .
“Face recognition process command”: A process of detecting a face from an image and a process of recognizing and detecting a face of a specific individual.
-When the electronic device is a printer "Photo printing L version": Printed in L size.
“Photo printing A4”: Printing with A4.
-When the electronic device is a FAX "Image transmission": Image data is transmitted.
“Data reception”: Receives image data.
-When the electronic device is a TV “Image display”: Display image data on the screen.
“Channel selection”: Channel selection for broadcast reception.
-When the electronic device is a video "Still image recording": Record a still image.
"Video recording": Record moving images.
As described above, in the electronic device cooperation system 100 according to the present embodiment, the command of the other device can be executed in the same manner as the command of the own device, and the function of the other device that does not exist in the own device can be used.

[イベント]
次に、イベントに含まれる情報について説明する。図2では、発行したコマンドを自機器または他機器で実行して実行結果を得る例を示したが、コマンドを実行するタイミングを与えることもできる。例えば図2において、携帯電話102側から電子カメラ101の撮影コマンド151を利用する場合、例えば電子カメラ101のシャッターボタンが押下された時に撮影を行うなど、撮影を行うタイミングを指示しなければならない。なお、携帯電話102側から撮影コマンド151を発行した時に直ぐに撮影を行うような使い方の場合は、シャッターボタンの押下時というイベントを指示する必要はない。
[Event]
Next, information included in the event will be described. Although FIG. 2 shows an example in which the issued command is executed by the own device or another device to obtain an execution result, timing for executing the command can also be given. For example, in FIG. 2, when the shooting command 151 of the electronic camera 101 is used from the mobile phone 102 side, the shooting timing must be instructed, for example, shooting is performed when the shutter button of the electronic camera 101 is pressed. Note that in the case of usage in which shooting is performed immediately when the shooting command 151 is issued from the mobile phone 102 side, there is no need to instruct an event when the shutter button is pressed.

以下にイベントに含まれる情報の一例を示す。
・イベント種別:オペレーション、処理割り込みなどの制御情報。例えばシャッターボタン押下はオペレーション、電子メール受信や予め設定した時刻などは処理割り込み。
・イベントが発生した機器ID:機器情報で説明した機器ID。例えば、機器ID:カメラなど。
・イベント名:イベントの名称。例えばタイマー割り込みやシャッターボタン押下、顔認識、或いは電源オフなど。
・イベントID:イベント名に対応するID。例えばシャッターボタン押下の場合はID=RB_DOWNなど。なお、実際にはこのイベントIDが送受信される。
・パラメータ:イベントで参照するパラメータ。例えばコマンドを実行する時刻など。なお、選択可能な数値範囲や全ての選択値の情報も含まれる。
・アイコン:コマンドリストを表示する場合のアイコン画像。
・チュートリアル:イベントの使い方や機能説明。いわゆるHELP情報に相当する。
・このイベントをトリガーとして実行するコマンド情報:例えばイベントがシャッターボタン押下であれば撮影コマンドなど。
・作者情報:イベント作成者のIDや名称など。
An example of information included in the event is shown below.
Event type: Control information such as operation and processing interrupt. For example, pressing the shutter button interrupts the operation, e-mail reception, and preset time.
Device ID in which an event has occurred: Device ID described in the device information. For example, device ID: camera.
-Event name: Name of the event. For example, timer interruption, shutter button press, face recognition, or power off.
Event ID: ID corresponding to the event name. For example, ID = RB_DOWN when the shutter button is pressed. Actually, this event ID is transmitted and received.
-Parameter: A parameter to be referenced in the event. For example, command execution time. Information on selectable numerical ranges and information on all selected values is also included.
Icon: Icon image when displaying the command list.
・ Tutorial: Event usage and function explanation. This corresponds to so-called HELP information.
Command information executed using this event as a trigger: For example, a shooting command if the event is a shutter button press.
Author information: ID and name of event creator.

このように、本実施形態に係る電子機器連携システム100では、通信確立時に先に説明したコマンドリストに含めて上記のようなイベントも送受信される。これにより、例えばコマンドを実行するためのイベントを知ることができ、イベントのパラメータや使い方なども確認できる。   As described above, in the electronic device cooperation system 100 according to the present embodiment, the above-described events are also transmitted and received in the command list described above when communication is established. Thereby, for example, an event for executing a command can be known, and event parameters and usage can be confirmed.

ここで、様々な電子機器におけるイベント例を以下に示す。
・電子機器が携帯電話の場合
「電話着信」「メール受信」「キーボード操作」「十字キー操作」など。
・電子機器が電子カメラの場合
「シャッターボタン押下」「ダイヤル操作」「静止画撮影」「SDカード挿入」など。
・電子機器がプリンタの場合
「パネル操作」「SDカード挿入」「インク切れ」など。
・電子機器がテレビの場合
「チャンネル操作」「リモコン操作」など。
・電子機器がビデオの場合
「再生ボタン押下」「早送りボタン押下」など。
Here, examples of events in various electronic devices are shown below.
-If the electronic device is a mobile phone, "Incoming call", "Receiving mail", "Keyboard operation", "Cross key operation", etc.
When the electronic device is an electronic camera, “shutter button press”, “dial operation”, “still image shooting”, “SD card insertion”, etc.
-When the electronic device is a printer, "panel operation", "SD card insertion", "run out of ink", etc.
・ When the electronic device is a TV, “Channel operation”, “Remote control operation”, etc.
When the electronic device is a video, “Play button pressed”, “Fast-forward button pressed”, etc.

このように、本実施形態に係る電子機器連携システム100では、他機器のコマンドや自機器のコマンドを実行するためのイベントも機器間で共有する。   As described above, in the electronic device cooperation system 100 according to the present embodiment, an event for executing a command of another device or a command of the own device is also shared between the devices.

[電子カメラ101の構成例]
図5は、本実施形態に係る電子機器10が電子カメラ101である場合の構成例を示す図である。
[Configuration Example of Electronic Camera 101]
FIG. 5 is a diagram illustrating a configuration example when the electronic apparatus 10 according to the present embodiment is the electronic camera 101.

電子カメラ101は、光学系201と、撮像部202と、バッファ203と、制御部204と、操作部205と、表示部206と、メモリカードIF(インターフェース)207、メモリ208と、通信部209とを備えている。   The electronic camera 101 includes an optical system 201, an imaging unit 202, a buffer 203, a control unit 204, an operation unit 205, a display unit 206, a memory card IF (interface) 207, a memory 208, and a communication unit 209. It has.

図5において、光学系201は、被写体像を撮像部202の受光面に結像する。ここで、光学系201は、ズームレンズやフォーカスレンズなどの複数枚のレンズおよびレンズ駆動部や絞り機構などを有し、制御部204によって、ズームレンズ位置、フォーカスレンズ位置、絞り値などが制御される。   In FIG. 5, the optical system 201 forms a subject image on the light receiving surface of the imaging unit 202. Here, the optical system 201 includes a plurality of lenses such as a zoom lens and a focus lens, a lens driving unit, an aperture mechanism, and the like, and the control unit 204 controls the zoom lens position, the focus lens position, the aperture value, and the like. The

撮像部202は、例えばCMOS型固体撮像素子およびA/D変換器などを有し、固体撮像素子の受光面に結像された被写体像を受光量に応じて電気信号に変換し、さらにA/D変換後の画像データをバッファ203に出力する。   The imaging unit 202 includes, for example, a CMOS solid-state imaging device and an A / D converter, and converts a subject image formed on the light-receiving surface of the solid-state imaging device into an electrical signal according to the amount of received light. The D-converted image data is output to the buffer 203.

バッファ203は、例えば揮発性の高速メモリで構成される。バッファ203は、撮像部202が出力する画像データを一時的に記憶するだけでなく、制御部204が画像処理を行う時のバッファメモリとしても使用される。或いは、表示部206に画像を表示する時の表示メモリとしても使用される。   The buffer 203 is composed of, for example, a volatile high-speed memory. The buffer 203 not only temporarily stores the image data output from the imaging unit 202, but is also used as a buffer memory when the control unit 204 performs image processing. Alternatively, it is used as a display memory when an image is displayed on the display unit 206.

制御部204は、例えば内部に記憶されたプログラム(例えば図1の制御プログラム15)に従って動作するCPUで構成される。制御部204は電子カメラ101全体の動作を制御し、例えば操作部205のモード選択ダイヤル263で電子カメラ101の撮影モードを選択したり、シャッターボタン262の押下時に光学系201のフォーカスレンズ制御や絞り制御を行って撮像部202のメカニカルシャッタまたは電子シャッタを制御して、被写体画像を撮影する。そして、制御部204は、撮像部202から画像データを読み出し、バッファ203に取り込む制御を行う。さらに、制御部204は、バッファ203に取り込まれた画像データに対して所定の画像処理(ホワイトバランス処理,色補間処理,ガンマ補正処理,彩度強調処理,輪郭強調処理、或いはJPEG規格などに準拠した画像圧縮処理)を施し、画像処理後の画像データ(例えばJPEGデータ)に所定のファイル名やヘッダ情報を付加情報として登録(付加)してメモリカード207aに保存する。或いは、バッファ203に取り込まれた画像データを表示部206に撮影画像として表示する。
なお、この制御部204は、例えば図1に示すC機能プラットホーム16および制御プログラム15を含んで構成されている。この後の電子カメラ101の構成を用いた処理に関する説明において、図1に示すC機能プラットホーム16が備える各部および制御プログラム15と、図5に示す制御部204とのそれぞれの名称を適宜使用する。
The control unit 204 is configured by a CPU that operates in accordance with, for example, an internally stored program (for example, the control program 15 in FIG. 1). The control unit 204 controls the operation of the entire electronic camera 101, for example, selects the shooting mode of the electronic camera 101 with the mode selection dial 263 of the operation unit 205, or controls the focus lens and aperture of the optical system 201 when the shutter button 262 is pressed. Control is performed to control the mechanical shutter or the electronic shutter of the imaging unit 202 to capture the subject image. Then, the control unit 204 performs control to read out the image data from the imaging unit 202 and load it into the buffer 203. Further, the control unit 204 conforms to predetermined image processing (white balance processing, color interpolation processing, gamma correction processing, saturation enhancement processing, contour enhancement processing, or JPEG standard) on the image data captured in the buffer 203. Image compression processing) is performed, and a predetermined file name and header information are registered (added) as additional information to the image data (for example, JPEG data) after the image processing, and stored in the memory card 207a. Alternatively, the image data captured in the buffer 203 is displayed on the display unit 206 as a captured image.
The control unit 204 includes, for example, the C function platform 16 and the control program 15 shown in FIG. In the following description regarding processing using the configuration of the electronic camera 101, the names of the respective units and the control program 15 included in the C function platform 16 shown in FIG. 1 and the control unit 204 shown in FIG.

操作部205は、電源ボタン261、シャッターボタン262、モード選択ダイヤル263、メニューボタン264、十字キー265などで構成される。ユーザは、これらの操作ボタンを操作して電子カメラ101を使用する。なお、操作部205による操作情報は制御部204に出力され、制御部204は操作部205から入力する操作情報に応じて電子カメラ101の動作を制御する。例えばメニューボタン264を押下すると、制御部204は電子カメラ101の機能を選択するメニュー画面を表示部206に表示する。そして、十字キー265を操作してメニュー画面の操作を行う。特に、本実施形態に係る電子カメラ101では、メニューボタン264を押下すると図6に示すようなコマンドリストが表示され、十字キー265で選択することにより他機器の機能を利用することができる。或いは、これらのコマンドを組み合わせることによって新たなアプリケーション機能を実現できる。   The operation unit 205 includes a power button 261, a shutter button 262, a mode selection dial 263, a menu button 264, a cross key 265, and the like. The user operates these operation buttons to use the electronic camera 101. Operation information from the operation unit 205 is output to the control unit 204, and the control unit 204 controls the operation of the electronic camera 101 in accordance with operation information input from the operation unit 205. For example, when the menu button 264 is pressed, the control unit 204 displays a menu screen for selecting the function of the electronic camera 101 on the display unit 206. Then, the menu screen is operated by operating the cross key 265. In particular, in the electronic camera 101 according to the present embodiment, when the menu button 264 is pressed, a command list as shown in FIG. 6 is displayed, and the functions of other devices can be used by selecting with the cross key 265. Alternatively, a new application function can be realized by combining these commands.

図7は、電子機器連携システム100のコマンド実行例を示す図である。
例えば、図7に示すように、機器2のコマンドリストには、自機器のコマンド(内部コマンド)として、機能1から機能3のコマンドが登録されており、他機器(機器2)のコマンド(外部コマンド)として、機能4および機能5のコマンドが登録されている。これにより、機器2は、機能1から機能5の5つのコマンドを使用することができる。そして、機器2は、これらのコマンドを組み合わせたアプリケーションプログラムを実行することができる。図7の例では、機器2は、コマンドの実行順序160として、機器2の機能1のコマンド、機器1の機能4のコマンド、機器1の機能5のコマンド、機器2の機能2のコマンド、機器2の機能3のコマンドの順に実行する。なお、これらのコマンドを組み合わせたアプリケーションプログラムは、内部コマンドと外部コマンドとを組み合わせたものに限られるものではなく、例えば、内部コマンドのみ、または外部コマンドのみを組み合わせたアプリケーションプログラムとしてもよい。
FIG. 7 is a diagram illustrating a command execution example of the electronic device cooperation system 100.
For example, as shown in FIG. 7, in the command list of the device 2, the commands of the function 1 to the function 3 are registered as the commands of the own device (internal commands), and the commands of the other device (device 2) (external) As commands, functions 4 and 5 are registered. As a result, the device 2 can use the five commands from function 1 to function 5. The device 2 can execute an application program in which these commands are combined. In the example of FIG. 7, the device 2 uses the command execution order 160 as a function 1 command of the device 2, a function 4 command of the device 1, a function 5 command of the device 1, a function 2 command of the device 2, and a device 2 in the order of the command of the function 3. The application program combining these commands is not limited to a combination of internal commands and external commands, and may be, for example, an application program combining only internal commands or only external commands.

表示部206は、液晶モニタなどで構成される。そして、制御部204によって、撮影画像や設定メニューなどが表示される。   The display unit 206 includes a liquid crystal monitor or the like. Then, the control unit 204 displays a captured image, a setting menu, and the like.

メモリカードIF207は、電子カメラ101にメモリカード207aを接続するためのインターフェースである。制御部204はメモリカードIF207を介してメモリカード207aに画像データを読み書きする。   The memory card IF 207 is an interface for connecting the memory card 207 a to the electronic camera 101. The control unit 204 reads and writes image data to and from the memory card 207a via the memory card IF 207.

メモリ208は、例えばフラッシュメモリなどの不揮発性の半導体メモリで構成される。メモリ208には、電子カメラ101に設定された撮影モードや露出情報、フォーカス情報などのパラメータが記憶される。特に本実施形態では、自機器や他機器のコマンドリスト、機器情報、イベントなどが記憶される。   The memory 208 is configured by a non-volatile semiconductor memory such as a flash memory, for example. The memory 208 stores parameters such as the shooting mode, exposure information, and focus information set in the electronic camera 101. In particular, in the present embodiment, a command list, device information, an event, and the like of the own device and other devices are stored.

通信部209は、図1の通信回路14に対応し、電子機器間で通信可能なBluetooth(登録商標)、Wi−Fi(登録商標)などの規格に対応する。   The communication unit 209 corresponds to the communication circuit 14 in FIG. 1 and corresponds to standards such as Bluetooth (registered trademark) and Wi-Fi (registered trademark) that can communicate between electronic devices.

以上が電子カメラ101の構成および基本動作である。   The above is the configuration and basic operation of the electronic camera 101.

[電子機器連携システム100の動作例]
次に、電子カメラ101を用いた電子機器連携システム100の動作例について説明する。なお、動作の基本的な流れは以下の通りである。
(1)機器間で通信を確立する。
(2)自機器の情報を相手に送信する。
(3)現在の自機器にて実行可能なコマンドリストなどを相手機器に送信する。
(4)相手機器からも機器情報とコマンドリストを受け取る。
(5)相手機器からコマンドを受信した場合はそのコマンドを実行し、実行結果を返信する。
(6)必要であれば自機器から相手機器にコマンドを送信し、実行結果を受け取る。
[Operation Example of Electronic Device Cooperation System 100]
Next, an operation example of the electronic device cooperation system 100 using the electronic camera 101 will be described. The basic flow of operation is as follows.
(1) Establish communication between devices.
(2) Send information about the device itself to the other party.
(3) A command list that can be executed by the current device is transmitted to the partner device.
(4) Receive device information and command list from the counterpart device.
(5) When a command is received from the counterpart device, the command is executed and the execution result is returned.
(6) If necessary, a command is transmitted from the own device to the other device, and the execution result is received.

図8は、C機能に対応する電子機器10として、電子カメラ101、および携帯電話102を利用して撮影処理を行う場合の電子機器連携システム100の動作の一例である。なお、図2と同符号のブロックおよび処理は同じものを示す。   FIG. 8 is an example of the operation of the electronic device cooperation system 100 when the electronic camera 10 and the mobile phone 102 are used to perform shooting processing as the electronic device 10 corresponding to the C function. Note that blocks and processes having the same reference numerals as those in FIG.

図8において、電子カメラ101と、携帯電話102との間で通信確立(S101)後、図2を用いて説明したように、互いの機器情報や実行可能なコマンドを送受信(S102、S103)する。この図8に示すコマンドリストは図2のコマンドリスト131aおよびコマンドリスト132aに代えて、コマンドリスト131cおよびコマンドリスト132cである。   In FIG. 8, after establishing communication between the electronic camera 101 and the mobile phone 102 (S101), as described with reference to FIG. 2, mutual device information and executable commands are transmitted and received (S102, S103). . The command list shown in FIG. 8 is a command list 131c and a command list 132c instead of the command list 131a and the command list 132a shown in FIG.

電子カメラ101は、撮影コマンド151と、画像処理コマンド152と、付加情報登録コマンド153と、保存コマンド154とを有する。また、携帯電話102は電子メールコマンド161と、GPSコマンド162と、簡易位置情報取得コマンド163とを有する。電子カメラ101と携帯電話102のそれぞれのコマンド共有部18は、互いの機器情報とコマンドを送受信する。   The electronic camera 101 has a shooting command 151, an image processing command 152, an additional information registration command 153, and a save command 154. In addition, the mobile phone 102 has an e-mail command 161, a GPS command 162, and a simple position information acquisition command 163. The command sharing units 18 of the electronic camera 101 and the mobile phone 102 transmit and receive mutual device information and commands.

これにより、電子カメラ101が有するコマンドリスト131cには、電子カメラ101が有するコマンドに加えて、電子メールコマンド161と、GPSコマンド162と、簡易位置情報取得コマンド163とが追加される。一方、携帯電話102が有するコマンドリスト132cには、携帯電話102が有するコマンドに加えて、撮影コマンド151と、画像処理コマンド152と、付加情報登録コマンド153と、保存コマンド154とが追加される。   Thereby, in addition to the command which the electronic camera 101 has, the electronic mail command 161, the GPS command 162, and the simple position information acquisition command 163 are added to the command list 131c which the electronic camera 101 has. On the other hand, a shooting command 151, an image processing command 152, an additional information registration command 153, and a save command 154 are added to the command list 132c of the mobile phone 102 in addition to the commands of the mobile phone 102.

すなわち、電子カメラ101のコマンドリスト131cおよび携帯電話102のコマンドリスト132cのそれぞれには、撮影コマンド151と、画像処理コマンド152と、付加情報登録コマンド153と、保存コマンド154と、電子メールコマンド161と、GPSコマンド162と、簡易位置情報取得コマンド163とが保持されている。   That is, the command list 131c of the electronic camera 101 and the command list 132c of the mobile phone 102 respectively include a shooting command 151, an image processing command 152, an additional information registration command 153, a save command 154, and an e-mail command 161. , A GPS command 162 and a simple position information acquisition command 163 are held.

[コマンドの実行例]
次に、図8において、電子カメラ101がGPSコマンド162を実行する場合は、GPSコマンド162を携帯電話102に送信する(S107)。携帯電話102は、GPSコマンド162を実行して緯度、経度などの位置情報を取得し、取得した位置情報を示すコマンド応答を電子カメラ101に送信する(S108)。そして、電子カメラ101は、携帯電話102から応答コマンドを受信することにより、位置情報を取得する。
[Example of command execution]
Next, in FIG. 8, when the electronic camera 101 executes the GPS command 162, the GPS command 162 is transmitted to the mobile phone 102 (S107). The mobile phone 102 executes the GPS command 162 to acquire position information such as latitude and longitude, and transmits a command response indicating the acquired position information to the electronic camera 101 (S108). The electronic camera 101 acquires position information by receiving a response command from the mobile phone 102.

このようにして、電子カメラ101は、携帯電話102から現在の位置情報を取得することができる。すなわち、例えばGPS機能をもたない電子カメラ101であっても、GPS機能が自機能にあるかのように、GPS機能を有する電子カメラと同様に位置情報を取得することができる。   In this way, the electronic camera 101 can acquire current position information from the mobile phone 102. That is, for example, even if the electronic camera 101 does not have a GPS function, the position information can be acquired in the same manner as an electronic camera having a GPS function as if the GPS function is in its own function.

[制御プログラムによる処理の実行手順の例]
次に、制御プログラム15による処理の実行手順の一例について説明する。ここでは、図8に示す、電子カメラ101と、携帯電話102との2つの電子機器を連携して動作させる電子機器連携システム100を例として、この電子機器連携システム100において実行する処理の実行手順の一例について説明する。この例は、「観光地において電子カメラ101で撮影した画像に位置情報を付加してメモリカード207aに保存する」という利用シーンを想定している。ここで、図8を用いて説明したように、電子カメラ101と、携帯電話102との2つの電子機器は機器情報やコマンドリストを互いに送受信して、同じコマンドリストを共有している状態にある。この場合の利用可能なコマンドは、例えば電子カメラ101の撮影コマンド151、画像処理コマンド152、付加情報登録コマンド153、および保存コマンド154と、携帯電話102の電子メールコマンド161、GPSコマンド162、簡易位置情報取得コマンド163とである。
[Example of process execution procedure by control program]
Next, an example of an execution procedure of processing by the control program 15 will be described. Here, an example of the electronic device cooperation system 100 that operates the two electronic devices of the electronic camera 101 and the mobile phone 102 in cooperation with each other as illustrated in FIG. 8 will be described. An example will be described. This example assumes a usage scene of “adding location information to an image photographed by the electronic camera 101 in a tourist spot and storing it in the memory card 207a”. Here, as described with reference to FIG. 8, the two electronic devices, the electronic camera 101 and the mobile phone 102, transmit and receive device information and a command list to each other and share the same command list. . Available commands in this case include, for example, the shooting command 151, the image processing command 152, the additional information registration command 153, and the save command 154 of the electronic camera 101, the e-mail command 161, the GPS command 162, and the simple position of the mobile phone 102. An information acquisition command 163.

図9は、制御プログラム15による処理(アプリケーションプログラムAとする)の実行手順の一例を示すフローチャートである。なお、アプリケーションプログラムAの処理は、例えばコマンドリスト131cのコマンドを組み合わせてユーザが自由に作成することができる。例えば図6で説明したような各コマンドに対応するアイコンを処理順に並べることにより、様々なアプリケーション機能を実現できる。本実施形態では既に図9に示す処理順序のアプリケーションプログラムが作成されているものとして説明する。
以下、図9に示す制御プログラム15に設定された実行手順の例を順に説明する。
FIG. 9 is a flowchart illustrating an example of an execution procedure of processing (referred to as application program A) by the control program 15. The process of the application program A can be freely created by the user by combining the commands in the command list 131c, for example. For example, various application functions can be realized by arranging icons corresponding to the commands as described in FIG. 6 in the order of processing. In the present embodiment, it is assumed that an application program having the processing order shown in FIG. 9 has already been created.
Hereinafter, examples of execution procedures set in the control program 15 shown in FIG. 9 will be described in order.

(ステップS301:GPSコマンド162発行)制御部204は、コマンドリスト131cの中からGPSコマンド162を、通信部209を介して携帯電話102に送信し、実行結果として位置情報を取得する。   (Step S301: Issuing GPS command 162) The control unit 204 transmits a GPS command 162 from the command list 131c to the mobile phone 102 via the communication unit 209, and acquires position information as an execution result.

(ステップS302:シャッターボタンイベント)制御部204は、シャッターボタン262が押下されたか否かを判別し、シャッターボタン262が押下されるまで待機する。そして、制御部204は、シャッターボタン262が押下されたことを検出した場合はステップS303に処理を進める。   (Step S302: Shutter button event) The control unit 204 determines whether or not the shutter button 262 has been pressed, and waits until the shutter button 262 is pressed. If the control unit 204 detects that the shutter button 262 has been pressed, the process proceeds to step S303.

(ステップS303:撮影コマンド発行)制御部204は、コマンドリスト131cの中から撮影コマンド151を発行し、実行結果として撮影画像を取得する。例えば、制御部204は、撮像部202に、光学系201を介して入射された被写体像による画像データを取得させ、バッファ203に出力させる。   (Step S303: Shooting Command Issue) The control unit 204 issues a shooting command 151 from the command list 131c, and acquires a shot image as an execution result. For example, the control unit 204 causes the imaging unit 202 to acquire image data based on the subject image incident via the optical system 201 and output the image data to the buffer 203.

(ステップS304:画像処理コマンド発行)制御部204は、コマンドリスト131cの中から画像処理コマンド152を発行し、取得した撮影画像に対して画像処理(例えば、ホワイトバランス調整、コントラスト調整、JPEG圧縮などの処理)を実行することにより画像データを生成する。   (Step S304: Image processing command issuance) The control unit 204 issues an image processing command 152 from the command list 131c, and performs image processing (for example, white balance adjustment, contrast adjustment, JPEG compression, etc.) on the acquired captured image. The image data is generated by executing the process.

(ステップS305:付加情報登録コマンド発行)制御部204は、コマンドリスト131cの中から付加情報登録コマンド153を発行し、ステップS301において取得した位置情報(緯度経度情報、或いは地図データから住所情報に変換してもよい)を含む撮影時の設定情報や関連情報、またはファイル名を、ステップS304において生成した画像データに付加情報として登録する(付加する)。   (Step S305: Issue additional information registration command) The control unit 204 issues an additional information registration command 153 from the command list 131c, and converts the position information (latitude / longitude information or map data into address information from the map data acquired in step S301). The setting information and related information at the time of shooting including the file name may be registered (added) to the image data generated in step S304 as additional information.

(ステップS306;保存コマンド)制御部204は、保存コマンド154を発行して、ステップS305において付加情報を付加した画像データを、メモリカードIF207を介してメモリカード207aに保存する。   (Step S306; Save Command) The control unit 204 issues a save command 154 and saves the image data to which the additional information is added in step S305 to the memory card 207a via the memory card IF 207.

なお、発行される各コマンド(或いはイベント)は、自機器または他機器のC機能プラットホーム16(電子カメラ101の場合はC機能プラットホーム251)のコマンド処理部30に送られる。ここで、OSは図6の制御部204に対応する。そして、コマンド処理部30は、コマンド(内部コマンドまたは外部コマンド)を実行する機器にコマンドを発行し、実行結果を取得する。   Each command (or event) to be issued is sent to the command processing unit 30 of the C function platform 16 (C function platform 251 in the case of the electronic camera 101) of the own device or another device. Here, the OS corresponds to the control unit 204 in FIG. Then, the command processing unit 30 issues a command to a device that executes the command (internal command or external command), and acquires the execution result.

なお、制御プログラム15による処理は、図9に示すアプリケーションプログラムAによる処理のような外部コマンドと内部コマンドとを組み合わせた処理に限られるものではなく、処理の内容に応じて、外部コマンドのみを組み合わせた処理としてもよいし、内部コマンドのみを組み合わせた処理としてもよい。   Note that the processing by the control program 15 is not limited to processing in which external commands and internal commands are combined as in the processing by the application program A shown in FIG. 9, but only external commands are combined in accordance with the contents of processing. Or a combination of only internal commands.

図10は、コマンド実行処理の動作の一例を示すフローチャートである。この図10を参照して、電子カメラ101と携帯電話102との2つの電子機器を連携して動作させる電子機器連携システム100において、図9に示す制御プログラム15による処理(アプリケーションプログラムA)の実行手順に従ってコマンドを実行した場合のコマンドの実行処理の一例について説明する。   FIG. 10 is a flowchart illustrating an example of the operation of command execution processing. Referring to FIG. 10, in electronic device cooperation system 100 that operates two electronic devices of electronic camera 101 and mobile phone 102 in cooperation with each other, execution of processing (application program A) by control program 15 shown in FIG. An example of command execution processing when a command is executed according to the procedure will be described.

まず、制御部204は、アプリケーションプログラムAの実行手順に従ってGPSコマンド162を実行する。具体的には、コマンド処理部30は、コマンド共有部18のコマンドリスト20を参照して、制御プログラム15から受け取ったGPSコマンド162が携帯電話102(他機器)において実行する外部コマンドであることを判別して、GPSコマンド162を通信処理部19から通信回路14を介して接続される携帯電話102に送信する(ステップS401)。   First, the control unit 204 executes the GPS command 162 according to the execution procedure of the application program A. Specifically, the command processing unit 30 refers to the command list 20 of the command sharing unit 18 and confirms that the GPS command 162 received from the control program 15 is an external command to be executed on the mobile phone 102 (other device). It discriminate | determines and transmits the GPS command 162 to the mobile telephone 102 connected via the communication circuit 14 from the communication process part 19 (step S401).

制御部204は、GPSコマンド162を実行したことに応じて、実行結果である位置情報を取得する。例えば、コマンド処理部30は、GPSコマンド162を携帯電話102に送信したことに応じて、携帯電話102においてGPSコマンド162が実行されて取得された位置情報を、携帯電話102からのコマンド応答により受信する。そして、コマンド処理部30は、受信した位置情報を制御プログラム15側に返す(ステップS402)。   In response to the execution of the GPS command 162, the control unit 204 acquires position information that is an execution result. For example, the command processing unit 30 receives position information acquired by executing the GPS command 162 in the mobile phone 102 in response to the transmission of the GPS command 162 to the mobile phone 102 by a command response from the mobile phone 102. To do. Then, the command processing unit 30 returns the received position information to the control program 15 side (step S402).

次に、制御部204は、ステップS402においてGPSコマンド162の実行結果を取得したか否か(GPSコマンド162の実行処理が正常に終了したか否か)を判定する(ステップS403)。   Next, the control unit 204 determines whether or not the execution result of the GPS command 162 has been acquired in step S402 (whether or not the execution process of the GPS command 162 has ended normally) (step S403).

ステップS403において、GPSコマンド162の実行結果を取得していないと判定された場合、制御部204は、例えば処理エラーを示す表示を行うなどのエラー処理を実行して処理を終了する。
なお、制御部204は、ステップS403の処理において経過時間を監視して、実行結果を取得できない時間が所定の時間以上経過したか否かを検出することによりタイムアウト処理をするか否かを判定してもよい。例えば、制御部204は、処理の経過時間が所定の時間以上経過していない場合には、タイムアウト処理をしないでステップS402に処理を戻し、タイムアウトするまで、GPSコマンド162の実行結果を受信(取得)する処理を継続してもよい。一方、制御部204は、処理の経過時間が所定の時間以上経過した場合には、タイムアウトにより処理を終了してもよい。例えば、制御部204は、タイムアウト処理として、処理エラーを示す表示を行うなどのエラー処理を実行して処理を終了してもよい。
If it is determined in step S403 that the execution result of the GPS command 162 has not been acquired, the control unit 204 executes error processing such as displaying a processing error, and ends the processing.
Note that the control unit 204 monitors the elapsed time in the process of step S403, and determines whether or not to perform a timeout process by detecting whether or not a time during which an execution result cannot be acquired has exceeded a predetermined time. May be. For example, if the elapsed time of processing has not exceeded a predetermined time, the control unit 204 returns to step S402 without performing time-out processing, and receives (acquires) the execution result of the GPS command 162 until time-out occurs. ) May be continued. On the other hand, the control unit 204 may terminate the process due to a timeout when the elapsed time of the process has exceeded a predetermined time. For example, the control unit 204 may terminate the process by executing an error process such as displaying a process error as the timeout process.

一方、ステップS403において、GPSコマンド162の実行結果を取得したと判定した場合、制御部204は、アプリケーションプログラムAの実行手順に従った次のコマンドを選択(次のコマンドに移動)する(ステップS450)。例えば、制御部204は、次にシャッターイベントの受付けを許可するとともに、シャッターイベントを受付けた場合に撮影コマンド151を選択する。   On the other hand, if it is determined in step S403 that the execution result of the GPS command 162 has been acquired, the control unit 204 selects (moves to the next command) the next command according to the execution procedure of the application program A (step S450). ). For example, the control unit 204 permits the next acceptance of the shutter event, and selects the shooting command 151 when the shutter event is accepted.

次に、制御部204は、ステップS450において次のコマンドを選択できたか否か、すなわちアプリケーションプログラムAの実行手順に従って実行するコマンドが全て実行済み(コマンド終了)になったか否かを判定する(ステップS451)。この時点では、制御部204は、次のコマンドとして撮影コマンド151を選択するため、処理をステップS401に戻し、撮影コマンド151を制御プログラム15からコマンド処理部30に送信する。ステップS401において、コマンド処理部30は、コマンド共有部18のコマンドリスト20を参照して、制御プログラム15から受け取った撮影コマンド151が電子カメラ101(自機器)において実行する内部コマンドであることを判別して、撮影コマンド151を実行する。   Next, the control unit 204 determines whether or not the next command has been selected in step S450, that is, whether or not all commands to be executed in accordance with the execution procedure of the application program A have been executed (command end) (step S450). S451). At this time, since the control unit 204 selects the shooting command 151 as the next command, the process returns to step S401, and the shooting command 151 is transmitted from the control program 15 to the command processing unit 30. In step S401, the command processing unit 30 refers to the command list 20 of the command sharing unit 18, and determines that the shooting command 151 received from the control program 15 is an internal command to be executed in the electronic camera 101 (own device). Then, the shooting command 151 is executed.

そして、制御部204は、ステップS401からS406の処理を、アプリケーションプログラムAの実行手順に従って、撮影コマンド151、画像処理コマンド152、付加情報登録コマンド153、保存コマンド154、の順番にそれぞれ実行する。また、ステップS451において、アプリケーションプログラムAの実行手順に従って実行するコマンドが全て実行済み(コマンド終了)になったと判定された場合、制御部204は処理を終了する。   Then, the control unit 204 executes the processing of steps S401 to S406 in the order of the shooting command 151, the image processing command 152, the additional information registration command 153, and the save command 154 according to the execution procedure of the application program A. If it is determined in step S451 that all commands executed according to the execution procedure of the application program A have been executed (command end), the control unit 204 ends the process.

このように、本実施形態に係る電子機器連携システム100では、電子カメラ101の制御部204が、制御プログラム15に設定されたコマンドの実行手順に従って、外部コマンドを携帯電話102に送信することにより携帯電話102において実行するとともに、内部コマンドを電子カメラ101において実行することができる。そして、制御部204は、制御プログラム15に設定されたコマンドの実行手順に従って実行された外部コマンドまたは内部コマンドの実行結果を取得した後に、次の手順のコマンドを実行することができる。   As described above, in the electronic device cooperation system 100 according to the present embodiment, the control unit 204 of the electronic camera 101 transmits the external command to the mobile phone 102 in accordance with the command execution procedure set in the control program 15. In addition to being executed on the telephone 102, internal commands can be executed on the electronic camera 101. Then, the control unit 204 can execute the command of the next procedure after acquiring the execution result of the external command or the internal command executed according to the command execution procedure set in the control program 15.

ところで、図10を用いて説明した処理において、例えば、ステップS403において実行結果を取得できないと判定された場合、取得するまでの間は次のコマンドの実行が待たされる、または取得できないために処理が中断されて終了するといった問題がある。例えば、図9に示すアプリケーションプログラムAの実行手順において、電子カメラ101は、携帯電話102からGPSコマンド162の実行結果を取得できない場合、取得するまでの間はシャッターボタンのイベントを受け付けることができず撮影コマンド151の実行ができない。   In the process described with reference to FIG. 10, for example, if it is determined in step S403 that the execution result cannot be acquired, the execution of the next command is awaited until it is acquired, or the process cannot be acquired. There is a problem of being interrupted and exiting. For example, in the execution procedure of the application program A shown in FIG. 9, if the electronic camera 101 cannot acquire the execution result of the GPS command 162 from the mobile phone 102, it cannot accept the shutter button event until the acquisition. The shooting command 151 cannot be executed.

ここで、携帯電話102からGPSコマンド162の実行結果を取得できない場合とは、例えば、携帯電話102において、動作状態などによってGPSコマンド162を実行する準備ができていない場合、またはGPSコマンド162による処理の実行結果の取得が遅延している場合(測位データの取得に時間がかかっている場合)、などである。また、図9に示すアプリケーションプログラムAが作成された時点では携帯電話102と通信可能であったが、アプリケーションプログラムAが実行される時点では携帯電話102と通信不可能な状態になった場合も、電子カメラ101は、GPSコマンド162の実行結果を取得できない。このような場合、電子カメラ101において撮影処理が行えないために、シャッタータイミングを逃してしまう場合がある。また、実行結果を取得できないことにより、アプリケーションプログラムAの処理が中断されてしまう場合がある。   Here, the case where the execution result of the GPS command 162 cannot be acquired from the mobile phone 102 is, for example, the case where the mobile phone 102 is not ready to execute the GPS command 162 depending on the operation state or the like, or the processing by the GPS command 162 This is the case when the execution result acquisition is delayed (when it takes a long time to acquire positioning data). In addition, when the application program A shown in FIG. 9 is created, communication with the mobile phone 102 is possible, but when the application program A is executed, communication with the mobile phone 102 is disabled. The electronic camera 101 cannot acquire the execution result of the GPS command 162. In such a case, since the electronic camera 101 cannot perform the photographing process, the shutter timing may be missed. In addition, the processing of the application program A may be interrupted due to the failure to obtain the execution result.

上述したように、制御プログラム15に設定されたコマンドの実行手順(アプリケーションプログラムAの実行手順)に従って、コマンドを実行した場合、特に、他機器の動作状況や他機器の所在(場所)の条件などによって、他機器で実行する外部コマンドの実行結果を取得できない場合がある。このようにコマンドの実行結果を取得できない場合、本実施形態に係る電子機器連携システム100では、そのコマンドの実行結果を代替する実行結果(代替実行結果)を取得可能な代替コマンドを実行する。すなわち、電子機器連携システム100では、実行結果を取得できないコマンドの替わりに、代替実行結果を取得するための代替コマンドを実行する。これにより、電子機器連携システム100では、代替コマンドを実行することにより取得した代替実行結果を、取得できなかった実行結果の替わりとして利用することができる。   As described above, when a command is executed in accordance with the command execution procedure set in the control program 15 (application program A execution procedure), in particular, the operation status of other devices, the location (location) conditions of other devices, and the like. Depending on the reason, the execution result of the external command executed by another device may not be acquired. When the execution result of the command cannot be acquired as described above, the electronic device cooperation system 100 according to the present embodiment executes an alternative command that can acquire an execution result (alternative execution result) that replaces the execution result of the command. That is, the electronic device cooperation system 100 executes an alternative command for acquiring an alternative execution result instead of a command for which an execution result cannot be acquired. Thereby, in the electronic device cooperation system 100, the alternative execution result acquired by executing the alternative command can be used as a substitute for the execution result that could not be acquired.

例えば、電子カメラ101は、携帯電話102からGPSコマンド162の実行結果を取得できない場合、GPS162の替わりに位置情報を取得することが可能な代替コマンドを実行する。そして、電子カメラ101は、取得できなかったGPSコマンド162の替わりに実行した代替コマンドにより得られた位置情報(代替実行結果)を取得する。
以下、コマンドの実行結果を取得できない場合に、そのコマンドの代替コマンドを実行することにより代替実行結果を取得する処理(代替処理)を詳しく説明する。
For example, when the electronic camera 101 cannot acquire the execution result of the GPS command 162 from the mobile phone 102, the electronic camera 101 executes an alternative command that can acquire position information instead of the GPS 162. Then, the electronic camera 101 acquires position information (substitution execution result) obtained by the substitute command executed instead of the GPS command 162 that could not be obtained.
Hereinafter, a process (alternative process) of acquiring an alternative execution result by executing an alternative command of a command when the execution result of the command cannot be acquired will be described in detail.

[代替処理を用いたコマンドの実行処理の説明]
コマンド処理部30は、コマンド共有部18が管理するコマンドに含まれる第1コマンドを実行することにより得られるはずの実行結果である第1実行結果を取得できない場合がある。この場合、コマンド処理部30は、第1コマンドを代替する第2コマンドを実行する。そして、コマンド処理部30は、第2コマンドを実行することにより得られる第2実行結果を、第1実行結果を代替する実行結果(代替実行結果)として取得する。
[Description of command execution processing using alternative processing]
The command processing unit 30 may not be able to acquire a first execution result that is an execution result that should be obtained by executing the first command included in the command managed by the command sharing unit 18. In this case, the command processing unit 30 executes a second command that substitutes for the first command. Then, the command processing unit 30 acquires the second execution result obtained by executing the second command as an execution result (substitute execution result) that replaces the first execution result.

図9を用いて説明したアプリケーションプログラムAの実行手順を例に説明すると、まず、制御部204は、コマンドリスト131cの中からGPSコマンド162を、通信部209を介して携帯電話102に送信する。ここで、携帯電話102は、例えば、GPS衛星からの電波を受信できない場合、GPSコマンド162を実行することにより得られるはずの位置情報を取得できない。よって、制御部204は、GPSコマンド162の実行結果を取得することができない。そのため、制御部204は、GPSコマンド162を代替する代替コマンド(例えば、簡易位置情報取得コマンド163)を実行することにより、位置情報(代替実行結果)を取得する(ステップS301)。   The procedure for executing the application program A described with reference to FIG. 9 will be described as an example. First, the control unit 204 transmits a GPS command 162 from the command list 131c to the mobile phone 102 via the communication unit 209. Here, for example, when the mobile phone 102 cannot receive a radio wave from a GPS satellite, it cannot acquire position information that should be obtained by executing the GPS command 162. Therefore, the control unit 204 cannot acquire the execution result of the GPS command 162. Therefore, the control unit 204 acquires position information (substitution execution result) by executing an alternative command (for example, a simple position information acquisition command 163) that substitutes for the GPS command 162 (step S301).

次に、制御部204は、シャッターボタンイベントの取得を可能に制御し、シャッターボタン262が押下されたことを検出した場合(ステップS302)、撮影コマンド151を発行(実行)し、実行結果として撮影画像を取得する(ステップS303)。そして、制御部204は、取得した撮影画像に対して画像処理を実行(画像処理コマンド152発行)することにより画像データを生成する(ステップS304)。ここで、シャッターボタンイベント(ステップS302)、撮影コマンド発行(ステップS303)、および画像処理コマンド発行(ステップS304)の処理は、GPSコマンド162を実行することにより得られる位置情報とは関係なく実行が可能な処理である。   Next, the control unit 204 controls the acquisition of the shutter button event, and when detecting that the shutter button 262 has been pressed (step S302), issues (executes) a shooting command 151 and takes a shot as an execution result. An image is acquired (step S303). Then, the control unit 204 performs image processing (issues an image processing command 152) on the acquired captured image to generate image data (step S304). Here, the processing of the shutter button event (step S302), the shooting command issuance (step S303), and the image processing command issuance (step S304) is executed regardless of the position information obtained by executing the GPS command 162. It is possible processing.

続いて、制御部204は、ステップS305の付加情報登録コマンド発行の処理を行う。この処理において、制御部204は、上述のステップS301において取得した代替実行結果としての位置情報を画像データに登録(付加)する(ステップS305)。そして、制御部204は、保存コマンド154を発行して、上述の代替実行結果として取得した位置情報を付加した画像データをメモリカード207aに保存する(ステップS306)。   Subsequently, the control unit 204 performs processing for issuing an additional information registration command in step S305. In this process, the control unit 204 registers (adds) the position information as the substitute execution result acquired in step S301 described above to the image data (step S305). Then, the control unit 204 issues a save command 154, and saves the image data to which the position information acquired as the above alternative execution result is added to the memory card 207a (step S306).

このように、制御部204は、携帯電話102に送信した外部コマンドであるGPSコマンド162の実行結果として位置情報を取得できない場合、このGPSコマンド162を代替する代替コマンド(例えば、簡易位置情報取得コマンド163)を実行することにより位置情報を取得して、制御プログラム15(アプリケーションプログラムA)の実行手順に従って次のコマンドを実行する。これにより、制御部204は、制御プログラム15の処理を中断させることなく継続して実行することができる。すなわち、電子カメラ101は、携帯電話102のGPS機能による位置情報を取得できない場合であっても、代替する位置情報を取得することができるとともに、撮影動作が可能となるように処理を継続することができる。   As described above, when the position information cannot be acquired as the execution result of the GPS command 162 that is the external command transmitted to the mobile phone 102, the control unit 204 substitutes for the GPS command 162 (for example, a simple position information acquisition command). 163) is executed to acquire position information, and the next command is executed according to the execution procedure of the control program 15 (application program A). Thereby, the control unit 204 can continuously execute the process of the control program 15 without interrupting the process. That is, even when the electronic camera 101 cannot acquire the position information by the GPS function of the mobile phone 102, the electronic camera 101 can acquire the alternative position information and continue the processing so that the photographing operation can be performed. Can do.

ここで、コマンド共有部18は、コマンドリスト20に登録されているコマンド(内部コマンドまたは外部コマンド)を、機能の種類毎に識別可能なように管理している。例えば、コマンド共有部18は、コマンドリスト20に登録されているコマンドを、機能グループ毎に分類して識別可能なように管理している。   Here, the command sharing unit 18 manages commands (internal commands or external commands) registered in the command list 20 so that they can be identified for each function type. For example, the command sharing unit 18 manages the commands registered in the command list 20 so as to be categorized and identified for each function group.

図11は、コマンドリスト20に登録されているコマンドの機能グループ毎の分類を示す図である。この図は、電子カメラ101と、携帯電話102と、画像処理サーバ104とがそれぞれ互いのコマンドを共有した際の、それぞれのコマンドの機能グループ毎の分類の一例を示している。この機能グループは、例えばコマンドに含まれるコマンド機能名(撮影機能、位置情報取得機能、プリンタ機能、画像処理機能、超解像度画像処理機能、顔検出機能など)に基づいて識別(分類)される。   FIG. 11 is a diagram showing the classification of commands registered in the command list 20 for each function group. This figure shows an example of classification of each command for each functional group when the electronic camera 101, the mobile phone 102, and the image processing server 104 share each other's commands. This function group is identified (classified) based on, for example, a command function name (photographing function, position information acquisition function, printer function, image processing function, super-resolution image processing function, face detection function, etc.) included in the command.

図11に示す例では、撮影機能グループG101には、電子カメラ101が有する静止画撮影コマンドおよび動画撮影コマンドと、携帯電話102が有する静止画撮影コマンドおよび動画撮影コマンドとが含まれている。位置情報取得機能グループG102には、携帯電話102が有するGPSコマンド162および簡易位置情報取得コマンド163が含まれている。画質調整機能グループG103には、電子カメラ101が有する画像処理コマンドと、画像処理サーバ104が有する画像処理コマンドとが含まれている。顔検出機能グループG104には、電子カメラ101が有する顔検出コマンドと、画像処理サーバ104が有する顔認識コマンドとが含まれている。   In the example shown in FIG. 11, the shooting function group G101 includes a still image shooting command and a moving image shooting command that the electronic camera 101 has, and a still image shooting command and a moving image shooting command that the mobile phone 102 has. The location information acquisition function group G102 includes a GPS command 162 and a simple location information acquisition command 163 that the mobile phone 102 has. The image quality adjustment function group G103 includes image processing commands that the electronic camera 101 has and image processing commands that the image processing server 104 has. The face detection function group G104 includes a face detection command that the electronic camera 101 has and a face recognition command that the image processing server 104 has.

同じ機能グループに含まれている複数のコマンドは、それぞれ互いに同等の機能であるか、または、機能の詳細が異なっていたとしても基本的な機能が同様であるため、互いに代替処理を行うことにより代替実行結果を取得することができる。例えば、GPSコマンド162に代えて、簡易位置情報取得コマンド163を代替処理として実行することにより、GPSの測位データに基づく位置情報に比較すると位置精度が劣るが、携帯電話通信網の基地局の場所に基づく位置情報を代替実行結果として取得することができる。   Multiple commands included in the same function group are equivalent to each other, or the basic functions are the same even if the details of the functions are different. An alternative execution result can be acquired. For example, by executing the simple position information acquisition command 163 instead of the GPS command 162 as an alternative process, the position accuracy is inferior to the position information based on the GPS positioning data, but the location of the base station of the mobile phone communication network Can be acquired as a substitute execution result.

例えば、電子カメラ101(コマンド処理部30)は、GPSコマンド162(第1コマンド)を実行することに応じて位置情報を取得できなかった場合、コマンド共有部18が管理しているGPSコマンド162(第1コマンド)を含むコマンドのうち、GPSコマンド162(第1コマンド)を除いてGPSコマンド162(第1コマンド)の機能の種類に識別されるコマンド(例えば、簡易位置情報取得コマンド163)を、代替コマンド(第2コマンド)として実行する。つまり、電子カメラ101の制御部204(コマンド処理部30)は、GPSコマンド162と同じ機能グループ(位置情報取得機能グループG102)に含まれている簡易位置情報取得コマンド163を携帯電話102に送信する。そして、携帯電話102は、簡易位置情報取得コマンド163を実行することにより取得した位置情報を、電子カメラ101に対して送信する。これにより、電子カメラ101の制御部204(コマンド処理部30)は、携帯電話102から簡易位置情報取得コマンド163(代替コマンド)の実行結果である位置情報(代替実行結果)を取得する。   For example, when the electronic camera 101 (command processing unit 30) cannot acquire the position information in response to executing the GPS command 162 (first command), the GPS command 162 (managed by the command sharing unit 18) ( Among the commands including the first command), commands (for example, the simple position information acquisition command 163) identified by the function type of the GPS command 162 (first command) except for the GPS command 162 (first command) Execute as an alternative command (second command) That is, the control unit 204 (command processing unit 30) of the electronic camera 101 transmits the simple position information acquisition command 163 included in the same function group (position information acquisition function group G102) as the GPS command 162 to the mobile phone 102. . Then, the mobile phone 102 transmits the position information acquired by executing the simple position information acquisition command 163 to the electronic camera 101. As a result, the control unit 204 (command processing unit 30) of the electronic camera 101 acquires position information (substitution execution result) that is an execution result of the simple position information acquisition command 163 (substitution command) from the mobile phone 102.

このように、電子カメラ101(制御部204)は、コマンド処理部30がGPSコマンド162を実行することにより得られる位置情報を取得できない場合、GPSコマンド162と同じ機能に識別される(同じ機能グループに含まれる)コマンドであって、GPSコマンド162を代替する簡易位置情報取得コマンド163を実行する。これにより、電子カメラ101(制御部204)は、簡易位置情報取得コマンド163を実行することにより携帯電話102において得られた位置情報を、代替実行結果として取得することが可能である。   As described above, the electronic camera 101 (control unit 204) is identified as the same function as the GPS command 162 when the command processing unit 30 cannot acquire the position information obtained by executing the GPS command 162 (the same function group). A simple position information acquisition command 163 that replaces the GPS command 162 is executed. Thereby, the electronic camera 101 (control unit 204) can acquire the position information obtained in the mobile phone 102 by executing the simple position information acquisition command 163 as an alternative execution result.

なお、機能グループは、コマンドに含まれるコマンドID(コマンド毎に予め決められた固有ID、或いはコマンド名)に基づいて、さらに詳細な機能毎に識別されてもよい。例えば、位置情報取得機能グループG102は、GPS機能グループG102aと簡易位置情報取得機能グループG102bとに分類(区別)されて識別されてもよい。また。撮影機能グループG101は、静止画撮影機能グループG101aと動画撮影機能グループG101bとに分類(区別)されて識別されてもよい。   The function group may be identified for each more detailed function based on a command ID (a unique ID or command name predetermined for each command) included in the command. For example, the position information acquisition function group G102 may be classified and distinguished into a GPS function group G102a and a simple position information acquisition function group G102b. Also. The shooting function group G101 may be classified and distinguished into a still image shooting function group G101a and a moving image shooting function group G101b.

(代替コマンドの具体例)
続いて、代替コマンドの具体例を説明する。
図12は、代替コマンドの第1例を説明する図である。この図に示す電子カメラ101と、携帯電話102と、画像処理サーバ104とは、通信可能なエリア300内にあって、図11を用いて説明したようにそれぞれのコマンドを機能の種類別に識別可能なように(機能グループ毎に分類して)共有して、互いの機能を利用できるようになっている。ここで、電子カメラ101は、携帯電話102のGPS機能を利用するためにGPSコマンド162を携帯電話102に送信する。しかし、携帯電話102は、建物の中(屋内)にあるため、GPSによる位置情報を取得できない。すなわち、電子カメラ101は、GPSコマンド162を実行しても、その実行結果を取得できない。この場合、電子カメラ101は、携帯電話102のGPS機能の処理を実行するGPSコマンド162の替わりに、携帯電話102の簡易位置情報取得機能の処理を実行する簡易位置情報取得コマンド163を代替コマンドとして実行する(携帯電話102に送信する)。これにより、電子カメラ101は、携帯電話102の簡易位置情報取得機能の処理を実行することにより得られた位置情報を、代替実行結果として取得することができる。
(Specific examples of alternative commands)
Next, a specific example of the alternative command will be described.
FIG. 12 is a diagram illustrating a first example of an alternative command. The electronic camera 101, the mobile phone 102, and the image processing server 104 shown in this figure are in a communicable area 300, and each command can be identified by function type as described with reference to FIG. As you can see, it is possible to share and use each other's functions. Here, the electronic camera 101 transmits a GPS command 162 to the mobile phone 102 in order to use the GPS function of the mobile phone 102. However, since the mobile phone 102 is in a building (indoor), it cannot acquire position information by GPS. That is, even if the electronic camera 101 executes the GPS command 162, it cannot obtain the execution result. In this case, the electronic camera 101 uses, as an alternative command, a simple position information acquisition command 163 that executes processing of the simple position information acquisition function of the mobile phone 102 instead of the GPS command 162 that executes processing of the GPS function of the mobile phone 102. Execute (send to mobile phone 102). Thereby, the electronic camera 101 can acquire the position information obtained by executing the process of the simple position information acquisition function of the mobile phone 102 as an alternative execution result.

図13は、代替コマンドの第2例を説明する図である。この図に示す例は、電子カメラ101と、携帯電話102Aと、携帯電話102Bと、画像処理サーバ104とが、通信可能なエリア300内にある状態から、その後、携帯電話102Aが通信可能なエリア300外に移動した場合の例である。電子カメラ101において、携帯電話102AのGPS(A)機能を利用したアプリケーションプログラムを作成した後に携帯電話102Aが通信可能なエリア300外に移動した場合、実行する時点では、携帯電話102AのGPS(A)機能を利用できない状態になる。すなわち、電子カメラ101は、GPSコマンド162を実行しても、その実行結果を取得できない。この場合、電子カメラ101は、携帯電話102のGPS(A)機能の処理を実行する替わりに、同じGPS機能グループG102aに含まれる携帯電話102BのGPS(B)機能の処理を実行するコマンドを携帯電話102Bに送信する。これにより、電子カメラ101は、携帯電話102BのGPS(B)機能の処理を実行することにより得られた位置情報を、代替実行結果として取得することができる。   FIG. 13 is a diagram illustrating a second example of an alternative command. The example shown in this figure is an area where the mobile phone 102A can communicate after the electronic camera 101, the mobile phone 102A, the mobile phone 102B, and the image processing server 104 are in the communicable area 300. This is an example when moving out of 300. In the electronic camera 101, when an application program using the GPS (A) function of the mobile phone 102A is created and the mobile phone 102A moves out of the communicable area 300, the GPS (A ) Function cannot be used. That is, even if the electronic camera 101 executes the GPS command 162, it cannot obtain the execution result. In this case, instead of executing the GPS (A) function processing of the mobile phone 102, the electronic camera 101 carries a command for executing the GPS (B) function processing of the mobile phone 102B included in the same GPS function group G102a. Send to phone 102B. Thereby, the electronic camera 101 can acquire the position information obtained by executing the process of the GPS (B) function of the mobile phone 102B as an alternative execution result.

(代替処理の動作の説明)
次に、図14を参照して、電子機器連携システム100における代替処理を用いたコマンドの実行処理の動作の一例について説明する。
(Explanation of alternative processing operation)
Next, with reference to FIG. 14, an example of a command execution process operation using an alternative process in the electronic device cooperation system 100 will be described.

図14は、代替処理を用いたコマンドの実行処理の一例を示すフローチャートである。この図は、図10を用いて説明したコマンドの実行処理において、GPSコマンド162の実行結果を取得できなかった場合に、代替処理として、簡易位置情報取得コマンド163を実行する処理の例を示している。なお、図14において図10の各処理に対応する部分には同一の符号を付け、その説明を省略する。   FIG. 14 is a flowchart illustrating an example of command execution processing using alternative processing. This figure shows an example of a process for executing a simple position information acquisition command 163 as an alternative process when the execution result of the GPS command 162 cannot be acquired in the command execution process described with reference to FIG. Yes. In FIG. 14, portions corresponding to the respective processes in FIG. 10 are denoted by the same reference numerals, and description thereof is omitted.

ステップS403において、GPSコマンド162の実行結果を取得していないと判定された場合、制御部204は、代替コマンド検索処理を実行する(ステップS410)。例えば、コマンド処理部30は、GPSコマンド162を代替する代替コマンドとして、GPSコマンド162と同じ機能グループ(位置情報取得機能グループG102)に含まれているコマンドを、コマンドリスト20の中から検索する。   If it is determined in step S403 that the execution result of the GPS command 162 has not been acquired, the control unit 204 executes alternative command search processing (step S410). For example, the command processing unit 30 searches the command list 20 for a command included in the same function group (position information acquisition function group G102) as the GPS command 162 as an alternative command replacing the GPS command 162.

次に、制御部204は、GPSコマンド162を代替する代替コマンドの検索に成功したか否かを判定する。例えば、コマンド処理部30は、コマンドリスト20の中に、GPSコマンド162を代替する代替コマンドが含まれているか否かを判定する(ステップS421)。   Next, the control unit 204 determines whether or not the search for an alternative command that substitutes for the GPS command 162 has succeeded. For example, the command processing unit 30 determines whether the command list 20 includes an alternative command that substitutes for the GPS command 162 (step S421).

ステップS421において、代替コマンドの検索に成功した(代替コマンドがある)と判定された場合、制御部204は、検索した代替コマンドを実行する。例えば、コマンド処理部30は、GPSコマンド162を代替するコマンドとして、簡易位置情報取得コマンド163を携帯電話102に送信する。すなわち、制御部204は、GPSコマンド162の代替処理として、簡易位置情報取得コマンド163を実行する(ステップS422)。   In step S421, when it is determined that the search for the alternative command has succeeded (there is an alternative command), the control unit 204 executes the searched alternative command. For example, the command processing unit 30 transmits a simple position information acquisition command 163 to the mobile phone 102 as a command that substitutes for the GPS command 162. That is, the control unit 204 executes the simple position information acquisition command 163 as an alternative process of the GPS command 162 (step S422).

次に、制御部204(コマンド処理部30)は、簡易位置情報取得コマンド163を実行することにより得られた位置情報(代替コマンドの実行結果、代替実行結果)を、携帯電話102から取得する(ステップS423)。続いて、制御部204は、ステップS450に処理を進め、図10を用いて説明したように、アプリケーションプログラムAの実行手順に従って、ステップS401からS406の処理を、撮影コマンド151、画像処理コマンド152、付加情報登録コマンド153、保存コマンド154、の順番にそれぞれ実行して処理を終了する。   Next, the control unit 204 (command processing unit 30) acquires the position information (substitute command execution result and alternative execution result) obtained by executing the simple position information acquisition command 163 from the mobile phone 102 ( Step S423). Subsequently, the control unit 204 advances the processing to step S450, and, as described with reference to FIG. 10, the processing of steps S401 to S406 is performed according to the execution procedure of the application program A, the shooting command 151, the image processing command 152, The additional information registration command 153 and the save command 154 are executed in this order, and the process ends.

一方、ステップS421において、代替コマンドの検索に失敗した(代替コマンドが無い)と判定された場合、制御部204は、代替コマンドが無いことを示すエラー表示と、処理を終了するか否かを選択可能なメニュー表示を表示部206に表示させる(ステップS425)。そして、制御部204は、処理を終了するか否かを選択可能なメニューに対するユーザの操作入力に応じて、処理を終了するか否か(エラー終了するか否か)を判定する(ステップS426)。   On the other hand, if it is determined in step S421 that the search for the substitute command has failed (no substitute command), the control unit 204 selects an error display indicating that there is no substitute command, and whether to end the process. Possible menu displays are displayed on the display unit 206 (step S425). Then, the control unit 204 determines whether or not to end the process (whether or not to end with an error) in accordance with a user operation input to a menu that can select whether or not to end the process (step S426). .

ステップS426において、処理を終了する(エラー終了する)と判定された場合、制御部204は、コマンドの実行処理を終了する(エラー終了する)。一方、ステップS426において、処理を終了しない(エラー終了しない)と判定された場合、制御部204は、ステップS450に処理を進めて次のコマンドの実行処理に移行する。   If it is determined in step S426 that the process is to be terminated (error termination), the control unit 204 terminates the command execution process (error termination). On the other hand, if it is determined in step S426 that the process is not to be ended (the error is not ended), the control unit 204 advances the process to step S450 and proceeds to an execution process for the next command.

このように、制御部204(コマンド処理部30)は、携帯電話102に送信した外部コマンドであるGPSコマンド162の実行結果として位置情報を取得できない場合、このGPSコマンド162を代替する代替コマンド(例えば、簡易位置情報取得コマンド163)を実行することにより代替実行結果の位置情報を取得する。   As described above, when the position information cannot be acquired as the execution result of the GPS command 162 that is the external command transmitted to the mobile phone 102, the control unit 204 (command processing unit 30) substitutes for the GPS command 162 (for example, The position information of the alternative execution result is acquired by executing the simple position information acquisition command 163).

これにより、電子カメラ101は、例えば、携帯電話102のGPS機能による位置情報を取得できない場合であっても、GPS機能に替わる位置情報を取得する簡易位置情報取得機能による位置情報を代替実行結果として取得することができる。よって、電子カメラ101は、撮影動作が可能となるように処理を継続することができる。すなわち、電子カメラ101は、制御プログラム15において実行したコマンドの実行結果を取得できない場合であっても、代替コマンドによる代替実行結果を取得できるとともに、制御プログラム15の処理を中断させることなく継続して実行することができる。   Thereby, for example, even when the electronic camera 101 cannot acquire the position information by the GPS function of the mobile phone 102, the position information by the simple position information acquisition function for acquiring the position information replacing the GPS function is used as the alternative execution result. Can be acquired. Therefore, the electronic camera 101 can continue the process so that the photographing operation can be performed. That is, even if the electronic camera 101 cannot acquire the execution result of the command executed in the control program 15, it can acquire the alternative execution result by the alternative command and can continue without interrupting the processing of the control program 15. Can be executed.

図15は、代替コマンド検索処理の一例を示すフローチャートである。続いて、図15を参照して、図14のステップS410の代替コマンド検索処理の動作について詳しく説明する。   FIG. 15 is a flowchart illustrating an example of an alternative command search process. Next, with reference to FIG. 15, the operation of the alternative command search process in step S410 of FIG. 14 will be described in detail.

まず、コマンド処理部30は、コマンドリスト20から、実行結果を取得できなかったコマンド(例えば、GPSコマンド162)と同じ機能グループ(例えば、位置情報取得機能グループG102)に含まれているコマンドを検索する(ステップS412)。   First, the command processing unit 30 searches the command list 20 for commands included in the same function group (for example, the position information acquisition function group G102) as the command (for example, the GPS command 162) for which the execution result could not be acquired. (Step S412).

次に、コマンド処理部30は、コマンドリスト20内に、同じ機能グループに含まれているコマンドがあるか否か、すなわち代替可能なコマンドがあるか否かを判定する(ステップS412)。   Next, the command processing unit 30 determines whether there is a command included in the same function group in the command list 20, that is, whether there is a replaceable command (step S412).

ステップS412において、代替可能なコマンドがあると判定された場合、コマンド処理部30は、検索した同じ機能グループに含まれているコマンド(例えば、簡易位置情報取得コマンド163)を代替コマンドとして決定し(ステップS415)、検索成功(代替コマンドあり)と判定して(ステップS416)、処理を終了する。   In step S412, when it is determined that there is a command that can be replaced, the command processing unit 30 determines a command (for example, the simple position information acquisition command 163) included in the searched function group as a replacement command ( In step S415, it is determined that the search is successful (there is an alternative command) (step S416), and the process is terminated.

一方、ステップS412において、代替可能なコマンドが無いと判定された場合、コマンド処理部30は、検索失敗(代替コマンド無し)と判定して(ステップS419)、処理を終了する。   On the other hand, if it is determined in step S412 that there is no replaceable command, the command processing unit 30 determines that the search has failed (no substitute command) (step S419), and ends the process.

このように、コマンド処理部30は、実行結果を取得できなかったコマンド(例えば、GPSコマンド162)と同じ機能グループに含まれているコマンド(例えば、簡易位置情報取得コマンド163)を代替コマンドとして検索して決定することができる。   As described above, the command processing unit 30 searches for a command (for example, the simple position information acquisition command 163) included in the same function group as the command whose execution result could not be acquired (for example, the GPS command 162) as an alternative command. Can be determined.

なお、コマンド処理部30は、図13に示すように携帯電話102AのGPS(A)機能の処理を実行するコマンドの実行結果を取得でない場合、GPS(A)機能を実行するコマンドと同じ機能グループに含まれている携帯電話102BのGPS(B)機能の処理を実行するコマンドを、代替コマンドとして決定してもよい。この場合、電子カメラ101は、GPSの測位データに基づく位置情報を取得できるため、例えば、簡易位置情報機能(A)により検出された位置情報よりも検出精度がよい位置情報を取得できる。   When the command processing unit 30 does not acquire the execution result of the command for executing the GPS (A) function processing of the mobile phone 102A as shown in FIG. 13, the same function group as the command for executing the GPS (A) function is obtained. The command for executing the processing of the GPS (B) function of the mobile phone 102B included in the mobile phone 102B may be determined as an alternative command. In this case, since the electronic camera 101 can acquire position information based on GPS positioning data, for example, it can acquire position information with better detection accuracy than the position information detected by the simple position information function (A).

図16は、代替コマンド検索処理の別の例を示すフローチャートである。この図16に示す検索処理は、図15のステップS412において、コマンドリスト20内に同じ機能グループに含まれているコマンドが無い、すなわち代替可能なコマンドが無いと判定された場合に、代替可能なコマンドを探索(検索、サーチ)する処理を実行する。なお、図16において図15の各処理に対応する部分には同一の符号を付け、その説明を省略する。   FIG. 16 is a flowchart illustrating another example of the alternative command search process. The search process shown in FIG. 16 can be replaced when it is determined in step S412 of FIG. 15 that there is no command included in the same function group in the command list 20, that is, there is no replaceable command. A process for searching for a command (search, search) is executed. In FIG. 16, portions corresponding to the respective processes in FIG. 15 are denoted by the same reference numerals, and description thereof is omitted.

ステップS412において、代替コマンドが無いと判定された場合、コマンド処理部30は、機能連携可能な機器をコマンドサーチ部22に探索させる。例えば、コマンドサーチ部22は、探索範囲を、Bluetooth(登録商標)の規格に対応する通信で通信可能なエリアの範囲からWi−Fi(登録商標)の規格に対応する通信で通信可能なエリアの範囲に広げて、機能連携可能な機器を探索する(ステップS417)。   In step S412, when it is determined that there is no alternative command, the command processing unit 30 causes the command search unit 22 to search for a device capable of function cooperation. For example, the command search unit 22 searches a search range from an area range communicable by communication corresponding to the Bluetooth (registered trademark) standard to an area communicable by communication corresponding to the Wi-Fi (registered trademark) standard. The range is expanded and a device capable of function cooperation is searched (step S417).

そして、ステップS417の探索処理によって、新たに連携可能な機器があった場合、その連携可能な機器が備えている機能の処理を実行可能なコマンドが、コマンド共有部18のコマンドリスト20に追加される。   If there is a device that can be newly linked by the search processing in step S417, a command that can execute the process of the function of the device that can be linked is added to the command list 20 of the command sharing unit 18. The

次に、コマンド処理部30は、新たに連携可能な機器があるか否かを判定する。例えば、コマンド処理部30は、コマンド共有部18のコマンドリスト20内に新たにコマンドが追加されたか否かに基づいて、新たに連携可能な機器があるか否かを判定する(ステップS418)。   Next, the command processing unit 30 determines whether there is a device that can be newly linked. For example, the command processing unit 30 determines whether or not there is a device that can be newly linked based on whether or not a new command is added to the command list 20 of the command sharing unit 18 (step S418).

ステップS418において、新たに連携可能な機器があると判定された場合、コマンド処理部30は、ステップS411に処理を戻し、再び、コマンドリスト20から、実行結果を取得できなかったコマンド(例えば、GPSコマンド162)と同じ機能グループに含まれているコマンドを検索する。   If it is determined in step S418 that there is a device that can be newly linked, the command processing unit 30 returns the process to step S411, and again, from the command list 20, a command (for example, GPS) whose execution result could not be acquired. A command included in the same function group as the command 162) is searched.

一方、ステップS418において、新たに連携可能な機器がないと判定された場合、コマンド処理部30は、検索失敗(代替コマンド無し)と判定して(ステップS419)、処理を終了する。   On the other hand, if it is determined in step S418 that there is no new device that can be linked, the command processing unit 30 determines that the search has failed (no substitute command) (step S419), and ends the process.

このように、コマンド処理部30は、実行結果を取得できなかったコマンド(例えば、GPSコマンド162)と同じ機能グループに含まれているコマンドが無い場合、代替コマンドとして利用できるコマンドを備えている連携可能な機器を、コマンドサーチ部22に探索させる。これにより、コマンド処理部30は、コマンドリスト20内に代替コマンドがない場合、新たに連携可能な機器を探索することにより連携可能となった機器のコマンドから代替コマンドを検索することができる。   As described above, the command processing unit 30 includes a command that can be used as an alternative command when there is no command included in the same function group as the command (for example, the GPS command 162) for which the execution result could not be acquired. The command search unit 22 is searched for possible devices. Thereby, when there is no substitute command in the command list 20, the command processing unit 30 can search for a substitute command from the command of the device that can be linked by searching for a new device that can be linked.

(複数コマンドから代替コマンドを選択する処理)
なお、実行結果を取得できなかったコマンド(例えば、GPSコマンド162)と同じ機能グループに含まれているコマンドが複数ある場合がある。例えば、図13に示す例では、携帯電話102BのGPS(B)機能の処理を実行するコマンドと、携帯電話102Bの簡易位置情報取得(B)機能の処理を実行するコマンドと、がある。この場合、コマンド処理部30は、実行結果を取得できなかったコマンド(例えば、携帯電話102AのGPS(A)機能の処理を実行するコマンド)と同様の検出精度が得られるGPS(B)機能の処理を実行するコマンドを選択してもよい。また、コマンド処理部30は、GPS(B)機能の処理時間よりも簡易位置情報取得(B)機能の処理時間が短い場合、簡易位置情報取得(B)機能の処理を実行するコマンドを選択してもよい。
(Process to select an alternative command from multiple commands)
There may be a plurality of commands included in the same function group as the command (for example, the GPS command 162) for which the execution result could not be acquired. For example, in the example illustrated in FIG. 13, there are a command for executing the process of the GPS (B) function of the mobile phone 102 </ b> B and a command for executing the process of the simple position information acquisition (B) function of the mobile phone 102 </ b> B. In this case, the command processing unit 30 has a GPS (B) function that can obtain the same detection accuracy as a command for which an execution result could not be obtained (for example, a command that executes the GPS (A) function of the mobile phone 102A). You may select the command which performs a process. In addition, when the processing time of the simple position information acquisition (B) function is shorter than the processing time of the GPS (B) function, the command processing unit 30 selects a command for executing the processing of the simple position information acquisition (B) function. May be.

すなわち、コマンド共有部18が、実行結果を取得できなかったコマンド(第1コマンド)を除いて、この第1コマンドの機能のグループに含まれる(第1コマンドの機能の種類に識別される)複数のコマンドを管理している場合、コマンド処理部30は、この複数のコマンドのうちから代替コマンド(第2コマンド)を選択する。例えば、コマンド処理部30のコマンド選択部32は、上述の複数のコマンドそれぞれの処理が実行される機器における性能を示す情報に基づいて、代替コマンドを選択する。   In other words, except for the command (first command) for which the command sharing unit 18 could not obtain the execution result, a plurality of commands included in the function group of the first command (identified by the function type of the first command). When the command is managed, the command processing unit 30 selects an alternative command (second command) from the plurality of commands. For example, the command selection unit 32 of the command processing unit 30 selects an alternative command based on information indicating the performance of a device that executes the processing of each of the plurality of commands.

ここで、上述の性能を示す情報とは、例えば、機能に応じて予め設定されている性能を示す情報であり、例えば、コマンドそれぞれが有する情報に含まれている。以下に、性能を示す情報の例を示す。
・処理速度:コマンドを実行してから実行結果を取得するまでに要する処理時間に影響する処理速度。
・処理の正確さ、精密さ:処理により得られる実行結果のレベル。例えば、GPS機能と簡易位置情報取得機能とを比較した場合、GPS機能の方が、より正確(精密)に位置情報を取得可能である。
・各機器の所在:コマンドを実行する他機器の自機器に対する所在。例えば、他機器のGPS機能を利用して自機器の所在位置を検出する場合、自機器に対する他機器の所在位置(距離)が検出位置の性能に影響する。
・周囲環境:処理結果の性能に影響する周囲の環境条件(温度、湿度等の条件)。
Here, the above-described information indicating the performance is information indicating the performance set in advance according to the function, for example, and is included in the information included in each command, for example. An example of information indicating performance is shown below.
Processing speed: The processing speed that affects the processing time required to execute the command and acquire the execution result.
Processing accuracy and precision: The level of execution results obtained by processing. For example, when the GPS function is compared with the simple position information acquisition function, the GPS function can acquire the position information more accurately (accurately).
-Location of each device: Location of the other device that executes the command to its own device. For example, when the location of the own device is detected using the GPS function of the other device, the location (distance) of the other device relative to the own device affects the performance of the detected position.
-Ambient environment: Ambient environmental conditions (conditions such as temperature and humidity) that affect the performance of processing results.

コマンド選択部32は、上述の例に示すような、機能に応じて予め設定されている性能を示す情報に基づいて、実行するコマンドを選択する。   The command selection unit 32 selects a command to be executed based on information indicating the performance set in advance according to the function as shown in the above example.

なお、コマンド選択部32は、コマンド機能名、コマンドIDを、上述の性能を示す情報として利用してもよい。また、コマンド選択部32は、自機器に対して適した処理を行う他機器の機能の処理を実行するコマンドを選択するために、機器の情報(例えば、機器の種別情報、機器ID、メーカID、型番を示す情報等)を、上述の性能を示す情報として利用してもよい。また、コマンド選択部32は、各機器の所有者を特定する情報(所有者ID)、性別、年齢等を示す情報、または国別を示す情報(国ID)を、上述の性能を示す情報として利用してもよい。また、上述の性能を示す情報は、時間の経過にともなって変化する性能(例えば、機器のリソース状態)を示す情報であってもよい。   Note that the command selection unit 32 may use the command function name and the command ID as information indicating the above-described performance. In addition, the command selection unit 32 selects device information (for example, device type information, device ID, manufacturer ID) in order to select a command for executing processing of a function of another device that performs processing suitable for the device itself. , Information indicating the model number, etc.) may be used as information indicating the above-described performance. Further, the command selection unit 32 uses information indicating the owner of each device (owner ID), information indicating sex, age, etc., or information indicating country (country ID) as information indicating the above-described performance. May be used. Further, the information indicating the performance described above may be information indicating the performance (for example, the resource state of the device) that changes over time.

なお、コマンド選択部32は、実行結果として得られるデータ形式が代替可能な同様のデータ形式であるコマンドを、代替コマンドとして選択する。   Note that the command selection unit 32 selects, as an alternative command, a command having a similar data format that can replace the data format obtained as an execution result.

(複数コマンドから代替コマンドを選択する具体例)
続いて、複数コマンドから代替コマンドを選択する具体例を説明する。
図17は、複数コマンドから代替コマンドを選択する第1例を説明する図である。この図に示す電子カメラ101と、携帯電話102Aと、携帯電話102Bと、画像処理サーバ104と、ナビゲーション端末装置106とは、通信可能なエリア300内にある状態から、その後、携帯電話102Aが通信可能なエリア300外に移動した場合の例である。すなわち、上述の全ての機器が通信可能なエリア300内にある状態においては、位置情報取得機能グループG102には、携帯電話102AのGPS(A)機能の処理と簡易位置情報取得(A)機能の処理とをそれぞれ実行するコマンド、携帯電話102BのGPS(B)機能の処理と簡易位置情報取得(B)機能の処理とをそれぞれ実行するコマンド、およびナビゲーション端末装置106のGPS(C)機能の処理を実行するコマンドが含まれている。
(Specific example of selecting an alternative command from multiple commands)
Next, a specific example of selecting an alternative command from a plurality of commands will be described.
FIG. 17 is a diagram illustrating a first example of selecting an alternative command from a plurality of commands. Since the electronic camera 101, the mobile phone 102A, the mobile phone 102B, the image processing server 104, and the navigation terminal device 106 shown in this figure are within the communicable area 300, the mobile phone 102A communicates thereafter. This is an example when moving outside the possible area 300. That is, in a state where all the devices described above are in the communicable area 300, the position information acquisition function group G102 includes the GPS (A) function processing and the simple position information acquisition (A) function of the mobile phone 102A. A command for executing each process, a command for executing a GPS (B) function process and a simple position information acquisition (B) function of the mobile phone 102B, and a GPS (C) function process of the navigation terminal device 106, respectively. A command to execute is included.

ここで、電子カメラ101が、携帯電話102AのGPS(A)機能の処理を実行するコマンドを実行した際に、携帯電話102Aが通信可能なエリア300外に移動していた場合、電子カメラ101は、GPS(A)機能の処理の実行結果を取得できない。そのため、電子カメラ101は、位置情報取得機能グループG102内の複数のコマンドから選択したコマンドを代替コマンドとして実行する。例えば、コマンド選択部32は、GPS(B)機能の処理を実行するコマンド、簡易位置情報取得(B)機能の処理を実行するコマンド、およびGPS(C)機能の処理を実行するコマンドのうちから、それぞれのコマンドが実行される機器における性能を示す情報に基づいて代替コマンドを選択する。   Here, when the electronic camera 101 has executed a command for executing processing of the GPS (A) function of the mobile phone 102A, if the mobile phone 102A has moved outside the communicable area 300, the electronic camera 101 The execution result of the GPS (A) function process cannot be acquired. Therefore, the electronic camera 101 executes a command selected from a plurality of commands in the position information acquisition function group G102 as an alternative command. For example, the command selection unit 32 includes a command for executing GPS (B) function processing, a command for executing simple position information acquisition (B) function processing, and a command for executing GPS (C) function processing. The alternative command is selected based on the information indicating the performance of the device on which each command is executed.

例えば、GPS(B)機能の処理、簡易位置情報取得(B)機能の処理、およびGPS(C)機能の処理のうち、簡易位置情報取得(B)機能の処理が最も速い処理速度の処理であって、GPS(C)機能の処理が最も正確な位置を取得可能な処理であるとする。この場合において、コマンド選択部32は、例えば、条件設定部33に設定された優先条件が、「処理速度を優先」であった場合、簡易位置情報取得(B)機能の処理を実行するコマンドを代替コマンドとして選択する。これにより、電子カメラ101は、処理速度を優先した簡易位置情報取得(B)機能の処理を実行することにより得られた位置情報を、代替実行結果として取得することができる。   For example, among the processing of the GPS (B) function, the processing of the simple position information acquisition (B) function, and the processing of the GPS (C) function, the processing of the simple position information acquisition (B) function is the fastest processing speed processing. It is assumed that the GPS (C) function process is a process capable of acquiring the most accurate position. In this case, for example, when the priority condition set in the condition setting unit 33 is “priority of processing speed”, the command selection unit 32 issues a command for executing processing of the simple position information acquisition (B) function. Select as an alternative command. Thereby, the electronic camera 101 can acquire the position information obtained by executing the process of the simple position information acquisition (B) function giving priority to the processing speed as an alternative execution result.

また、コマンド選択部32は、例えば、条件設定部33に設定された優先条件が、「処理の正確さや精密さを優先」であった場合、GPS(C)機能の処理を実行するコマンドを代替コマンドとして選択する。これにより、電子カメラ101は、処理の正確さや精密さを優先したGPS(C)機能の処理を実行することにより得られた位置情報を、代替実行結果として取得することができる。   Further, for example, when the priority condition set in the condition setting unit 33 is “priority is given to processing accuracy and precision”, the command selection unit 32 substitutes a command for executing the processing of the GPS (C) function. Select as a command. Thereby, the electronic camera 101 can acquire, as an alternative execution result, the position information obtained by executing the GPS (C) function process giving priority to the accuracy and precision of the process.

図18は、複数コマンドから代替コマンドを選択する第2例を説明する図である。この図に示す電子カメラ101と、携帯電話102と、画像処理サーバ104Bと、画像処理サーバ104Cとは、通信可能なエリア300内にある状態の例であって、それぞれのコマンドを機能の種類別に識別可能なように(機能グループ毎に分類して)共有して、互いの機能を利用できるようになっている。例えば、画質調整機能グループG103には、電子カメラ101の画像処理(A)機能の処理を実行するコマンド、画像処理サーバ104Bの画像処理(B)機能の処理を実行するコマンド、および画像処理サーバ104Cの画像処理(C)機能の処理を実行するコマンドが含まれている。   FIG. 18 is a diagram for explaining a second example of selecting an alternative command from a plurality of commands. The electronic camera 101, the mobile phone 102, the image processing server 104B, and the image processing server 104C shown in this figure are examples of a state in the communicable area 300, and each command is assigned to each function type. They are shared so that they can be identified (classified by function group), and the functions of each other can be used. For example, the image quality adjustment function group G103 includes a command for executing processing of the image processing (A) function of the electronic camera 101, a command for executing processing of the image processing (B) function of the image processing server 104B, and an image processing server 104C. A command for executing the processing of the image processing (C) function is included.

ここで、電子カメラ101が、画像処理サーバ104Bの画像処理(B)機能の処理を実行するコマンドを実行した場合に、画像処理サーバ104Bにおいて画像処理(B)機能の処理が正常に終了しなかったとする。例えば、電子カメラ101は、画像処理(B)機能の処理を実行するコマンドを実行することに応じて、その実行結果を取得できずにエラー応答を取得した場合、画像処理(A)機能の処理を実行するコマンド、および画像処理(C)機能の処理を実行するコマンドのうちから代替コマンドを選択する。   Here, when the electronic camera 101 executes a command for executing the processing of the image processing (B) function of the image processing server 104B, the processing of the image processing (B) function does not end normally in the image processing server 104B. Suppose. For example, when the electronic camera 101 acquires an error response without acquiring the execution result in response to executing a command for executing the processing of the image processing (B) function, the processing of the image processing (A) function An alternative command is selected from the command for executing the image processing and the command for executing the processing of the image processing (C) function.

例えば、画像処理(A)機能の処理を実行するコマンド、および画像処理(C)機能の処理を実行するコマンドのうち、画像処理(A)機能の処理が最も速い処理速度の処理であって、画像処理(C)機能の処理が最も正確な色再現処理や精密なノイズ低減処理が行われる画像処理(画像処理後の画質が最もよい画像処理)であるとする。この場合において、コマンド選択部32は、例えば、条件設定部33に設定された優先条件が、「処理速度を優先」であった場合、画像処理(A)機能の処理を実行するコマンドを代替コマンドとして選択する。これにより、電子カメラ101は、処理速度を優先した画像処理(A)機能の処理を実行することにより得られた画像を、代替実行結果として取得することができる。   For example, among commands that execute processing of the image processing (A) function and commands that execute processing of the image processing (C) function, processing of the image processing (A) function is processing at the fastest processing speed, Assume that the processing of the image processing (C) function is image processing (image processing with the best image quality after image processing) in which the most accurate color reproduction processing or precise noise reduction processing is performed. In this case, for example, when the priority condition set in the condition setting unit 33 is “priority of processing speed”, the command selection unit 32 replaces the command for executing the processing of the image processing (A) function with an alternative command. Choose as. Thereby, the electronic camera 101 can acquire an image obtained by executing the processing of the image processing (A) function giving priority to the processing speed as an alternative execution result.

また、コマンド選択部32は、例えば、条件設定部33に設定された優先条件が、「処理の正確さや精密さを優先」であった場合、画像処理(C)機能の処理を実行するコマンドを代替コマンドとして選択する。これにより、電子カメラ101は、処理の正確さや精密さを優先した画像処理(C)機能の処理を実行することにより得られた画像を、代替実行結果として取得することができる。   Further, for example, when the priority condition set in the condition setting unit 33 is “priority is given to processing accuracy and precision”, the command selection unit 32 issues a command for executing processing of the image processing (C) function. Select as an alternative command. Thereby, the electronic camera 101 can acquire an image obtained by executing the processing of the image processing (C) function giving priority to the accuracy and precision of processing as an alternative execution result.

(複数コマンドから代替コマンドを選択する処理の動作)
次に、図19を参照して、代替コマンド検索処理において、代替可能な複数コマンドから代替コマンドを選択する処理の動作の一例について説明する。
(Operation of selecting an alternative command from multiple commands)
Next, with reference to FIG. 19, an example of the operation of selecting an alternative command from a plurality of alternative commands in the alternative command search process will be described.

図19は、複数コマンドから代替コマンドを選択する処理を用いた代替コマンド検索処理の一例を示すフローチャートである。この図は、図15に示す代替コマンド検索処理に対して、複数の代替可能なコマンドがあった場合に代替コマンドを選択する処理(ステップS413、S414)を実行する点が異なる。なお、図19において図15の各処理に対応する部分には同一の符号を付け、その説明を省略する。   FIG. 19 is a flowchart illustrating an example of an alternative command search process using a process of selecting an alternative command from a plurality of commands. This figure is different from the alternative command search process shown in FIG. 15 in that a process of selecting an alternative command (steps S413 and S414) is executed when there are a plurality of alternative commands. In FIG. 19, parts corresponding to the respective processes in FIG.

ステップS412において、代替可能なコマンドがあると判定された場合、コマンド処理部30は、代替可能なコマンドが複数あるか否かを判定する(ステップS413)。ステップS413において、代替可能なコマンドが複数あると判定された場合、コマンド選択部32は、性能を示す情報に基づいて、代替可能な複数コマンドから代替コマンドを選択する。例えば、コマンド選択部32は、代替可能な複数コマンドのうち、条件設定部33により設定された優先条件に従った性能に応じたコマンドを、代替コマンドとして選択する(ステップS414)。そして、コマンド処理部30は、ステップS414においてコマンド選択部32が選択したコマンド(代替コマンド)を、代替コマンドとして決定する(ステップS415)。   If it is determined in step S412 that there are replaceable commands, the command processing unit 30 determines whether there are a plurality of replaceable commands (step S413). When it is determined in step S413 that there are a plurality of replaceable commands, the command selection unit 32 selects a replace command from the replaceable commands based on the information indicating the performance. For example, the command selection unit 32 selects, as an alternative command, a command corresponding to the performance in accordance with the priority condition set by the condition setting unit 33 among a plurality of alternative commands (step S414). Then, the command processing unit 30 determines the command (alternative command) selected by the command selection unit 32 in step S414 as an alternative command (step S415).

一方、ステップS413において、代替可能なコマンドが1つと判定された場合、コマンド処理部30は、ステップS415に処理を進め、検索した同じ機能グループに含まれているコマンドを代替コマンドとして決定する。   On the other hand, if it is determined in step S413 that there is one replaceable command, the command processing unit 30 advances the processing to step S415, and determines a command included in the searched function group as a replacement command.

このように、コマンド処理部30は、実行結果を取得できなかったコマンドと同じ機能グループに含まれているコマンドが複数ある場合、その複数のコマンドから、性能(処理速度や処理の正確さ等)の優先条件に従って代替コマンドを選択する。これにより、コマンド処理部30は、実行結果を取得できなかったコマンドの替わりに実行する代替コマンドを適切に選択することができる。   Thus, when there are a plurality of commands included in the same function group as the command for which the execution result could not be obtained, the command processing unit 30 determines the performance (processing speed, processing accuracy, etc.) from the plurality of commands. The alternative command is selected according to the priority condition. Thereby, the command processing unit 30 can appropriately select an alternative command to be executed instead of the command for which the execution result could not be acquired.

以上説明してきたように、上記実施形態の電子機器連携システム100によれば、電子機器10(例えば電子カメラ101)は、他機器(例えば、携帯電話102)で実行する外部コマンドの実行結果を取得できない場合であっても、実行結果を取得できなかった外部コマンドを代替する代替コマンドを実行することにより、取得できなかった実行結果を代替する代替実行結果を取得することができる。例えば、電子機器10は、実行結果を取得できなかった外部コマンドと同じ機能の種類に識別されるコマンドを、代替コマンドとして実行することができる。また、電子機器10は、実行結果を取得できなかった外部コマンドと同じ機能の種類に識別される複数のコマンドから、性能を示す情報に基づいて選択したコマンド(性能の優先条件に従って選択したコマンド)を代替コマンドとして実行することができる。   As described above, according to the electronic device cooperation system 100 of the above embodiment, the electronic device 10 (for example, the electronic camera 101) acquires the execution result of the external command executed by another device (for example, the mobile phone 102). Even if it is not possible, it is possible to acquire an alternative execution result that replaces the execution result that could not be acquired by executing an alternative command that replaces the external command that could not acquire the execution result. For example, the electronic device 10 can execute, as an alternative command, a command identified by the same function type as an external command for which an execution result could not be obtained. In addition, the electronic device 10 selects a command based on information indicating performance from a plurality of commands identified by the same function type as the external command for which an execution result could not be acquired (a command selected according to performance priority conditions). Can be executed as an alternative command.

よって、電子機器10は、他機器の状態によって、制御プログラム15の処理に従って実行したコマンドの実行結果を取得できない場合であっても、代替実行結果を取得することができるとともに、制御プログラム15の処理を中断させることなく継続して実行することができる。   Therefore, the electronic device 10 can acquire the alternative execution result even when the execution result of the command executed according to the process of the control program 15 cannot be acquired depending on the state of the other device, and the process of the control program 15 Can be executed continuously without interruption.

なお、上記実施形態では、他機器で実行する外部コマンドの実行結果を取得できない場合に、その外部コマンドを代替する代替コマンドを実行する代替処理を説明したが、自機器で実行する内部コマンドの実行結果を取得できない場合に、その内部コマンドを代替する代替コマンドを実行する代替処理としてもよい。すなわち、上記実施形態の電子機器連携システム100によれば、電子機器10は、外部コマンドにより処理を実行する他機器の機能と、内部コマンドにより処理を実行する自機器の機能とを同様の機能として利用することができる。   In the above embodiment, an alternative process for executing an alternative command that replaces the external command when the execution result of the external command executed on the other device cannot be obtained has been described. When the result cannot be acquired, an alternative process for executing an alternative command that replaces the internal command may be used. In other words, according to the electronic device cooperation system 100 of the above-described embodiment, the electronic device 10 has the same function as the function of another device that executes processing by an external command and the function of its own device that executes processing by an internal command. Can be used.

よって、上記実施形態の電子機器連携システム100によれば、電子機器10は、制御プログラム15の処理に従って、自機器または他機器において実行したコマンドの実行結果を取得できない場合であっても、代替コマンドによる代替実行結果を取得することができる。つまり、電子機器は、制御プログラム15の処理に従って実行したコマンドの実行結果を取得できない場合であっても、制御プログラム15の処理を中断させることなく継続して実行することができる。   Therefore, according to the electronic device cooperation system 100 of the above-described embodiment, even if the electronic device 10 cannot acquire the execution result of the command executed in the own device or another device according to the processing of the control program 15, the substitute command The alternative execution result by can be acquired. That is, even when the electronic device cannot acquire the execution result of the command executed according to the process of the control program 15, it can continuously execute the process of the control program 15 without interruption.

このように、本実施形態によれば、他機器の様々な機能を自機器の機能と同じように利用することができる。   Thus, according to this embodiment, various functions of other devices can be used in the same manner as the functions of the own device.

また、上記実施形態において、位置情報取得機能の処理、または画質調整機能の処理を実行した実行結果を取得できない場合の代替処理について説明したが、その他の機能の処理についても同様に適用することができる。   Further, in the above-described embodiment, the alternative processing when the execution result obtained by executing the processing of the position information acquisition function or the processing of the image quality adjustment function cannot be acquired has been described, but the processing can be similarly applied to the processing of other functions. it can.

また、上記実施形態において、電子カメラ101が、自機器の内部コマンドと他機器の外部コマンドとを共有して実行する際の代替処理を例に説明したが、電子カメラ101以外の電子機器10が、自機器の内部コマンドと他機器の外部コマンドとを共有して実行する際の代替処理としてもよい。   Further, in the above-described embodiment, the alternative process when the electronic camera 101 executes the internal command of the own device and the external command of the other device is described as an example. However, the electronic device 10 other than the electronic camera 101 may Alternatively, it may be an alternative process when the internal command of the own device and the external command of another device are shared and executed.

また、上記実施形態では、電子機器10として電子カメラ101、携帯電話102、画像処理サーバ104、およびナビゲーション端末装置106を主な例として説明したが、これらに限られるものではない。本発明の電子機器10は、電子機器の例として前述したようなプリンタ、FAX、テレビ、ビデオ、等であってもよいし、また、コンピュータ、ゲーム機、電子辞書、電子玩具など、その他の電子機器であってもよい。   In the above embodiment, the electronic camera 101, the mobile phone 102, the image processing server 104, and the navigation terminal device 106 have been described as main examples as the electronic device 10, but are not limited thereto. The electronic device 10 of the present invention may be a printer, a FAX, a television, a video, or the like as described above as an example of the electronic device, or may be another electronic device such as a computer, a game machine, an electronic dictionary, or an electronic toy. It may be a device.

なお、上述のC機能プラットホーム16(251)、または制御部204は専用のハードウェアにより実現されるものであってもよく、また、メモリおよびCPU(中央演算装置)により構成され、上述の各部の機能を実現するためのプログラムをメモリにロードして実行することによりその機能を実現させるものであってもよい。   The above-described C function platform 16 (251) or the control unit 204 may be realized by dedicated hardware, and is configured by a memory and a CPU (central processing unit). The function may be realized by loading a program for realizing the function into a memory and executing the program.

また、上述のC機能プラットホーム16(251)、または制御部204の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより上述の各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。   Further, a program for realizing the functions of the above-described C function platform 16 (251) or the control unit 204 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into a computer system. The processing of each unit described above may be performed by executing. Here, the “computer system” includes an OS and hardware such as peripheral devices.

また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

以上、この発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design and the like within a scope not departing from the gist of the present invention.

10 電子機器、14 通信回路(通信部)、15 制御プログラム(制御部)、18 コマンド共有部(コマンド管理部)、22 コマンドサーチ部(コマンド探索部)、30 コマンド処理部、32 コマンド選択部、33 条件設定部、101 電子カメラ、102 携帯電話、104 画像処理サーバ、204 制御部、209 通信部 10 electronic equipment, 14 communication circuit (communication unit), 15 control program (control unit), 18 command sharing unit (command management unit), 22 command search unit (command search unit), 30 command processing unit, 32 command selection unit, 33 condition setting unit, 101 electronic camera, 102 mobile phone, 104 image processing server, 204 control unit, 209 communication unit

Claims (7)

他機器と通信を行う通信部と、
他機器が備えている機能の処理を実行するコマンドを含むコマンドを管理するコマンド管理部と、
前記コマンド管理部が管理するコマンドを実行するとともに、実行することにより得られた実行結果を取得するコマンド処理部と、
を備え、
前記コマンド処理部は、
前記コマンド管理部が管理するコマンドに含まれる第1コマンドを実行することにより、前記第1コマンドを実行することにより得られる実行結果である第1実行結果を取得できなかった場合、前記第1コマンドを代替する第2コマンドを実行する
ことを特徴とする電子機器。
A communication unit that communicates with other devices;
A command management unit for managing commands including commands for executing processing of functions provided by other devices;
A command processing unit that executes a command managed by the command management unit and acquires an execution result obtained by executing the command,
With
The command processing unit
If the first execution result that is the execution result obtained by executing the first command cannot be obtained by executing the first command included in the command managed by the command management unit, the first command An electronic device characterized by executing a second command that substitutes for.
前記コマンド管理部は、
前記コマンドを前記機能の種類毎に識別可能なように管理しており、
前記コマンド処理部は、
前記コマンド管理部が管理している前記第1コマンドを含むコマンドのうち、前記第1コマンドを除いて前記第1コマンドの前記機能の種類に識別されるコマンドを、前記第2コマンドとして実行する
ことを特徴とする請求項1に記載の電子機器。
The command management unit
The command is managed so that it can be identified for each type of function,
The command processing unit
Of the commands including the first command managed by the command management unit, the command identified by the function type of the first command except the first command is executed as the second command. The electronic device according to claim 1.
前記通信部を介して接続される他機器から、他機器が備えている機能の処理を実行するコマンドを探索するコマンド探索部、
を備え、
前記コマンド処理部は、
前記コマンド管理部が管理している前記第1コマンドを含むコマンドのうち、前記第1コマンドを除いて前記第1コマンドの前記機能の種類に識別されるコマンドが含まれていない場合、前記第1コマンドを代替する前記第2コマンドを、前記通信部を介して接続される他機器から、前記コマンド探索部を介して探索する
ことを特徴とする請求項1または2に記載の電子機器。
A command search unit for searching for a command to execute processing of a function provided in the other device from the other device connected via the communication unit;
With
The command processing unit
Of the commands including the first command managed by the command management unit, except for the first command, when the command identified by the function type of the first command is not included, the first The electronic device according to claim 1, wherein the second command substituting for the command is searched for from the other device connected via the communication unit via the command search unit.
前記コマンド処理部は、
前記第2コマンドを実行することにより得られた実行結果である第2実行結果を、前記第1実行結果を代替する結果として取得する
ことを特徴とする請求項1から3の何れか一項に記載の電子機器。
The command processing unit
The second execution result, which is an execution result obtained by executing the second command, is acquired as a result that replaces the first execution result. 4. The electronic device described.
前記コマンド処理部は、
前記コマンド管理部が前記第1コマンドを除いて前記第1コマンドの前記機能の種類に識別される複数のコマンドを管理している場合、前記複数のコマンドそれぞれの処理が実行される機器における性能を示す情報に基づいて、前記複数のコマンドから前記第2コマンドを選択するコマンド選択部、
を備えることを特徴とする請求項1から4の何れか一項に記載の電子機器。
The command processing unit
In the case where the command management unit manages a plurality of commands identified by the function type of the first command except for the first command, the performance in a device in which the processing of each of the plurality of commands is executed A command selection unit that selects the second command from the plurality of commands based on the information indicated;
The electronic apparatus according to claim 1, further comprising:
前記コマンド処理部は、
複数の前記性能を示す情報の優先条件を設定する条件設定部、
を備え、
前記コマンド選択部は、
前記条件設定部により設定された前記優先条件と、前記性能を示す情報とに基づいて、前記複数のコマンドから前記第2コマンドを選択する
ことを特徴とする請求項5に記載の電子機器。
The command processing unit
A condition setting unit for setting priority conditions for information indicating a plurality of the performances;
With
The command selection unit
The electronic device according to claim 5, wherein the second command is selected from the plurality of commands based on the priority condition set by the condition setting unit and information indicating the performance.
コンピュータに、
通信部を介して他機器と通信を行う通信ステップと、
他機器が備えている機能の処理を実行するコマンドを含むコマンドを管理するコマンド管理ステップと、
前記コマンド管理ステップにおいて管理するコマンドに含まれる第1コマンドを実行することにより、前記第1コマンドを実行することにより得られる実行結果である第1実行結果を取得できなかった場合、前記第1コマンドを代替する第2コマンドを実行するコマンド処理ステップと、
を実行させるためのプログラム。
On the computer,
A communication step for communicating with other devices via a communication unit;
A command management step for managing commands including commands for executing processing of functions provided by other devices;
When the first execution result that is the execution result obtained by executing the first command cannot be obtained by executing the first command included in the command managed in the command management step, the first command A command processing step for executing a second command substituting
A program for running
JP2012075500A 2012-03-29 2012-03-29 Electronic device and program Pending JP2013206221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012075500A JP2013206221A (en) 2012-03-29 2012-03-29 Electronic device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012075500A JP2013206221A (en) 2012-03-29 2012-03-29 Electronic device and program

Publications (1)

Publication Number Publication Date
JP2013206221A true JP2013206221A (en) 2013-10-07

Family

ID=49525213

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012075500A Pending JP2013206221A (en) 2012-03-29 2012-03-29 Electronic device and program

Country Status (1)

Country Link
JP (1) JP2013206221A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015036644A (en) * 2013-08-13 2015-02-23 カシオ計算機株式会社 Information communication device, information communication system, information communication method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015036644A (en) * 2013-08-13 2015-02-23 カシオ計算機株式会社 Information communication device, information communication system, information communication method, and program

Similar Documents

Publication Publication Date Title
KR101879256B1 (en) Image capturing apparatus, control method therefor, and storage medium
JP2016123137A (en) Image communication apparatus and imaging apparatus
JP5928455B2 (en) Digital camera for digital image sharing
JP6127382B2 (en) Electronic device, control method and program
EP1804502A2 (en) Information processing apparatus and method, and computer program therefor
US11647132B2 (en) Communication terminal, method for controlling communication terminal, communication system, and storage medium
US20140253742A1 (en) Imaging operation terminal, imaging system, imaging operation method, and program device
JP5743579B2 (en) Imaging apparatus, control method thereof, and program
WO2016038973A1 (en) Photographing control device, photographing device, photographing control method, and program
WO2013084337A1 (en) Image pickup apparatus, control method thereof, and program
KR101606134B1 (en) Apparatus and method for connecting device using the image recognition in portable terminal
US20140210941A1 (en) Image capture apparatus, image capture method, and image capture program
US20140032551A1 (en) Communication apparatus, method of controlling the communication apparatus, and recording medium
KR20080012940A (en) Digital camera
JP2018037894A (en) Electronic device and control method of the same
JP6155953B2 (en) Information communication apparatus, information communication system, information communication method, and program
JP2019193145A (en) Information processing device
JP2013206220A (en) Electronic device and program
JP2009260599A (en) Image display apparatus and electronic camera
JP2018136702A (en) Communication device and control method thereof, program and recording medium
JP2013206221A (en) Electronic device and program
JP2013206222A (en) Electronic device and program
JP2022053356A (en) Communication device, control method thereof, and program
US10178296B2 (en) Imaging apparatus, control method of imaging apparatus, imaging system, and portable display device
US9467549B2 (en) External apparatus, communication apparatus, and control method therefor