JP5632735B2 - COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM - Google Patents

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

Info

Publication number
JP5632735B2
JP5632735B2 JP2010291125A JP2010291125A JP5632735B2 JP 5632735 B2 JP5632735 B2 JP 5632735B2 JP 2010291125 A JP2010291125 A JP 2010291125A JP 2010291125 A JP2010291125 A JP 2010291125A JP 5632735 B2 JP5632735 B2 JP 5632735B2
Authority
JP
Japan
Prior art keywords
application
communication device
communication
unit
setting information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010291125A
Other languages
Japanese (ja)
Other versions
JP2012138844A (en
Inventor
了輔 天野
了輔 天野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2010291125A priority Critical patent/JP5632735B2/en
Publication of JP2012138844A publication Critical patent/JP2012138844A/en
Application granted granted Critical
Publication of JP5632735B2 publication Critical patent/JP5632735B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、通信相手装置との距離が所定の範囲内になるように近接されることにより1対1で無線リンクを確立してデータ通信を行うことが可能な通信装置、通信装置の制御方法およびプログラムに関する。   The present invention relates to a communication device capable of establishing a wireless link on a one-to-one basis by being close to each other so that the distance to a communication partner device is within a predetermined range, and a method for controlling the communication device And program.

近年、IrDA (Infrared Data Association)と呼ばれる赤外線を用いた近距離データ通信機能を搭載する携帯電話が登場しており、IrDAを用いた多様なサービスが展開され始めている。IrDAを用いることにより2台の携帯電話間で画像データやアドレス等のデータの送受信を行うことができる(特許文献1)。   In recent years, mobile phones equipped with a near field data communication function using infrared rays called IrDA (Infrared Data Association) have appeared, and various services using IrDA have begun to be developed. By using IrDA, data such as image data and addresses can be transmitted and received between two mobile phones (Patent Document 1).

IrDAを搭載した携帯電話における一般的なデータ通信方法について説明する。まずデータ送信側のユーザAが携帯電話aを操作して送信対象データを選択し、送信アプリケーションを起動する。そして、受信側のユーザBが携帯電話bを操作して受信アプリケーションを起動することにより、携帯電話aから携帯電話bに対してデータが送信される。
また、最近ではNFC(Near Field Communication)、TransferJet(登録商標)などの非接触通信(近接無線通信)が登場している。これらの非接触通信は、通信距離が非常に短く、通信を行う機器同士を数cm以内(例えばNFCなら10cm以内、TransferJetなら3cm以内)に近づけると無線リンクが接続され、遠ざけると無線リンクが切断されるよう制御される。なお、TransferJetでは機器同士が1対1でデータ通信を行うことを想定しており、現在ではユースケース等が記載されたホワイトペーパーが公開されている(非特許文献1)。非特許文献1には、TransferJetではユーザが互いの機器を近接させることによりデータの共有が可能であることが開示されている。
A general data communication method in a cellular phone equipped with IrDA will be described. First, the user A on the data transmission side operates the mobile phone a to select data to be transmitted, and starts a transmission application. Then, when the user B on the receiving side operates the mobile phone b to start the receiving application, data is transmitted from the mobile phone a to the mobile phone b.
Recently, non-contact communication (proximity wireless communication) such as NFC (Near Field Communication) and TransferJet (registered trademark) has appeared. In these non-contact communications, the communication distance is very short, and the wireless link is connected when the devices that communicate with each other are within a few centimeters (for example, within 10 cm for NFC and within 3 cm for TransferJet). To be controlled. TransferJet assumes that devices perform data communication on a one-to-one basis, and currently, a white paper describing use cases and the like is disclosed (Non-Patent Document 1). Non-Patent Document 1 discloses that TransferJet allows users to share data by bringing their devices close to each other.

特開2007−221355号公報JP 2007-221355 A

http://www.transferjet.org/tj/transferjet_whitepaper.pdfhttp: // www. transferjet. org / tj / transferjet_whitepaper. pdf

上述のIrDAによるデータ通信方法の場合、携帯電話のユーザが口頭でのやり取りによって双方で実行するアプリケーションを決定し、夫々対応したアプリケーションを起動する必要がある。従って、携帯電話a、b夫々が対応していないアプリケーションを起動してしまった場合、ユーザAとユーザBが起動するアプリケーションを確認し、再度上述した操作を行わなければならない。   In the case of the above-described data communication method based on IrDA, it is necessary for the user of the mobile phone to determine an application to be executed on both sides by verbal exchange, and to start the corresponding application. Therefore, when an application that is not supported by each of the mobile phones a and b is activated, the application that the user A and the user B activate must be confirmed and the above-described operation must be performed again.

また、TransferJetでのアプリケーションによるサービスを実施する方法としては、ユーザが片側の機器でアプリケーションの選択等の操作を行ってから相手機器に近づけることでデータ通信を行う、という方法が考えられる。非接触通信では機器間の距離が少しでも通信範囲外に離れると無線リンクが切断してしまうため、無線リンクの接続を維持したまま送信データの選択等の操作を行うことは困難だからである。しかしながら、片側の機器でもう一方の機器に対応していないアプリケーションが選択された状態で近接された場合に、どのようにユーザ所望のサービスを実施するための制御を行うかについて、非特許文献1には開示されていない。   Further, as a method for executing a service by an application in TransferJet, a method in which data communication is performed by a user performing an operation such as selecting an application on one device and then approaching the other device is conceivable. This is because, in non-contact communication, the radio link is disconnected if the distance between the devices is out of the communication range even a little, so that it is difficult to perform operations such as selection of transmission data while maintaining the connection of the radio link. However, Non-Patent Document 1 describes how to perform control for implementing a user-desired service when an application that is not compatible with the other device is approached in a selected state. Is not disclosed.

本発明は通信装置と他の通信装置との間で通信を行う際に他の通信装置に非対応のアプリケーションが選択された状態で他の通信装置との通信を開始した場合でも適応的にアプリケーションの切り替が可能な通信技術を提供する。   The present invention adaptively applies even when communication with another communication apparatus is started in a state where an application that is not compatible with the other communication apparatus is selected when communication is performed between the communication apparatus and the other communication apparatus. Provide communication technology that can be switched.

本発明の一つの側面にかかる通信装置は、他の通信装置と通信する通信装置であって、
前記他の通信装置と通信を開始するより前に、前記他の通信装置との通信で用いるアプリケーションをユーザに指定させる指定手段と、
前記他の通信装置から、前記他の通信装置が利用可能なアプリケーションの情報を取得する取得手段と、
前記取得手段により取得したアプリケーションの情報に基づいて、前記指定手段により指定されたアプリケーションが利用できないと判定された場合、前記指定されたアプリケーションと共通のサービス種別の他のアプリケーションを実行する実行手段と、を有することを特徴とする。
A communication apparatus according to one aspect of the present invention is a communication apparatus that communicates with another communication apparatus,
A designation unit that allows a user to designate an application to be used for communication with the other communication device before starting communication with the other communication device;
An acquisition unit that acquires information on an application that can be used by the other communication device from the other communication device;
Execution means for executing another application of the same service type as the designated application when it is determined that the application designated by the designation means cannot be used based on the application information obtained by the obtaining means; It is characterized by having.

本発明によれば、通信装置と他の通信装置との間で通信を行う際に他の通信装置に非対応のアプリケーションが選択された状態で他の通信装置との通信を開始した場合でも適応的にアプリケーションを切り替えることができる。   According to the present invention, when communication is performed between a communication device and another communication device, even when communication with another communication device is started in a state where an application that is not compatible with the other communication device is selected You can switch between applications.

本発明の実施形態にかかるシステム構成図。1 is a system configuration diagram according to an embodiment of the present invention. 通信装置として機能する自装置および通信相手装置の機能構成を示すブロック図。The block diagram which shows the function structure of the own apparatus and communication partner apparatus which function as a communication apparatus. サービス種別管理テーブルに記憶されているリストを例示する図。The figure which illustrates the list memorized by the service classification management table. 設定情報管理テーブルに記憶されているリストを例示する図。The figure which illustrates the list memorized by the setting information management table. 本発明の実施形態にかかる通信処理の流れを説明する図。The figure explaining the flow of the communication processing concerning embodiment of this invention. アプリケーションの選択処理の流れを説明する図。The figure explaining the flow of the selection process of an application. アプリケーション切り替え処理の流れを説明する図。The figure explaining the flow of an application switching process. ユーザ確認の処理の流れを説明する図。The figure explaining the flow of a user confirmation process. (a)サービス情報を例示する図、(b)ユーザ確認のための表示例を示す図。(A) The figure which illustrates service information, (b) The figure which shows the example of a display for user confirmation. (a)設定情報の変換処理の結果を例示する図、(b)サービス情報を例示する図。(A) The figure which illustrates the result of the conversion process of setting information, (b) The figure which illustrates service information. 設定情報管理テーブルに記憶されるリストを例示する図。The figure which illustrates the list memorized by the setting information management table. アプリケーション切り替え処理の流れを説明する図。The figure explaining the flow of an application switching process. ユーザ確認の処理の流れを説明する図。The figure explaining the flow of a user confirmation process. (a)設定情報管理テーブルのリストを例示する図、(b)設定情報の追加入力をユーザに促す表示画面を例示する図。(A) The figure which illustrates the list of a setting information management table, (b) The figure which illustrates the display screen which prompts a user for the additional input of setting information.

(実施形態1)
図1は本実施形態のシステム構成図である。101はデジタルカメラ、102はプリンタである。103はデジタルカメラ101の操作部であり、104はプリンタ102の操作部である。デジタルカメラ101およびプリンタ102の操作者は、操作部103、104を操作することで、実施するアプリケーションの選択が可能である。105はデジタルカメラ101の表示部であり、106はプリンタ102の表示部である。デジタルカメラ101はデジタルカメラ101を制御するコンピュータ(CPU)とコンピュータが実行するプログラムを記憶するメモリを有する。また、プリンタ102は、プリンタを制御するコンピュータ(CPU)とコンピュータが実行するプログラムを記憶するメモリを有する。
(Embodiment 1)
FIG. 1 is a system configuration diagram of this embodiment. Reference numeral 101 denotes a digital camera, and 102 denotes a printer. Reference numeral 103 denotes an operation unit of the digital camera 101, and reference numeral 104 denotes an operation unit of the printer 102. An operator of the digital camera 101 and the printer 102 can select an application to be executed by operating the operation units 103 and 104. Reference numeral 105 denotes a display unit of the digital camera 101, and reference numeral 106 denotes a display unit of the printer 102. The digital camera 101 has a computer (CPU) that controls the digital camera 101 and a memory that stores a program executed by the computer. The printer 102 includes a computer (CPU) that controls the printer and a memory that stores a program executed by the computer.

近接無線通信107はデジタルカメラ101とプリンタ102とを近づけることによって近接無線通信107を介してピア・トゥー・ピア通信を行う。近接無線通信107には、電磁誘導を利用した非接触ICカード無線通信やNFC(Near Field Communcation)、誘導電界を利用した通信などがある。近接無線通信107ではお互いの距離が数センチメートル以内に存在する場合に通信が行える。   The close proximity wireless communication 107 performs peer-to-peer communication via the close proximity wireless communication 107 by bringing the digital camera 101 and the printer 102 close to each other. The proximity wireless communication 107 includes non-contact IC card wireless communication using electromagnetic induction, NFC (Near Field Communication), communication using an induction electric field, and the like. The close proximity wireless communication 107 can perform communication when the distance between each other is within several centimeters.

図2は、通信装置として機能する自装置(デジタルカメラ101)および通信相手装置(プリンタ102)の機能構成を示すブロック図である。図2における各構成は、デジタルカメラ101およびプリンタ102のコンピュータ(CPU)がプログラムを実行することにより実現される。   FIG. 2 is a block diagram showing the functional configuration of the own apparatus (digital camera 101) and the communication partner apparatus (printer 102) that function as communication apparatuses. Each configuration in FIG. 2 is realized by a computer (CPU) of the digital camera 101 and the printer 102 executing a program.

自装置の通信部201は通信相手装置との間で近接無線通信107を行う。通信ミドルウェア部202は通信部201の制御機能や、実施するアプリケーションの選択機能を提供する。203は機器内に存在するアプリケーションを示しており、アプリケーション・ソフトウェア204a、204bは、画像転送や画像印刷などのサービスを提供する。通信制御部205は近接無線通信107の制御を行う。通信検出部206は近接無線通信107の接続および切断の制御と検出を行う。通信検出部206では、近接無線通信107で通信が行える他の機器が近接無線通信圏内に近づくと接続の検出を行う。逆に近接無線通信圏内から遠ざかると切断の検出を行う。   The communication unit 201 of the own device performs close proximity wireless communication 107 with the communication partner device. The communication middleware unit 202 provides a control function of the communication unit 201 and a function for selecting an application to be executed. Reference numeral 203 denotes an application that exists in the device, and the application software 204a and 204b provide services such as image transfer and image printing. The communication control unit 205 controls the close proximity wireless communication 107. The communication detection unit 206 controls and detects connection and disconnection of the proximity wireless communication 107. The communication detection unit 206 detects a connection when another device capable of communicating with the close proximity wireless communication 107 approaches the close proximity wireless communication range. Conversely, disconnection is detected when moving away from the close proximity wireless communication range.

操作検知部207は操作部103、104で選択操作された情報を検知する。表示制御部208は表示部105、106で表示するための制御を行う。サービス種別管理テーブル209は自装置が保持するアプリケーションを、アプリケーションが提供するサービス(機能)の種別毎(サービスカテゴリ毎)に分類したリストを記憶し、管理する。また、サービス種別管理テーブル209は自装置が保持するそれぞれのアプリケーションに関して優先度を予め設け記憶する。例えば、図3のようなリストを記憶する。   The operation detection unit 207 detects information selected and operated by the operation units 103 and 104. The display control unit 208 performs control for displaying on the display units 105 and 106. The service type management table 209 stores and manages a list in which applications held by the own device are classified for each type of service (function) provided by the application (for each service category). In addition, the service type management table 209 previously stores and stores priorities for the respective applications held by the own device. For example, a list as shown in FIG. 3 is stored.

設定情報管理テーブル210はアプリケーション毎に設定可能な設定項目として設定情報の項目のリストを記憶し、管理する。また、設定情報管理テーブル210は設定情報を各アプリケーションが解読可能な形式に変換するための変換規則に関する情報も記憶する。指定された設定情報を、アプリケーション選択部213により切替えられたアプリケーションが解釈可能な形式のデータに変換するための変換規則の情報を記憶する。例えば、XMLファイルを読み込んで各種設定情報を取得するアプリケーションに対する変換規則の記述は、各設定情報をタグの名称とタグまでのパスに関する情報を記述したリストを保持する。具体的には、図4のようなリストを記憶する。   The setting information management table 210 stores and manages a list of setting information items as setting items that can be set for each application. The setting information management table 210 also stores information on conversion rules for converting the setting information into a format that can be read by each application. Information on conversion rules for converting the designated setting information into data in a format that can be interpreted by the application switched by the application selection unit 213 is stored. For example, the description of the conversion rule for an application that reads an XML file and obtains various setting information holds a list in which each setting information describes information about the tag name and the path to the tag. Specifically, a list as shown in FIG. 4 is stored.

ユーザ指示内容取得部211は操作検知部207で検知したユーザからの指示内容を取得して、指示されたアプリケーションと設定情報の内容(設定情報の項目)を認識する。サービス情報生成部212は自装置が保持するアプリケーションのリストとユーザから指示されたアプリケーション及び設定情報の内容(設定情報の項目)を通信相手装置に通知するためのメッセージを生成する。アプリケーション選択部213は通信相手装置との間で実行するアプリケーションを選択する。   The user instruction content acquisition unit 211 acquires the instruction content from the user detected by the operation detection unit 207, and recognizes the instructed application and the content of the setting information (setting information item). The service information generation unit 212 generates a message for notifying the communication partner device of a list of applications held by the own device, the application instructed by the user, and the content of the setting information (setting information item). The application selection unit 213 selects an application to be executed with the communication partner apparatus.

アプリケーション確認部214はアプリケーション選択部213で選択したアプリケーションを実行してもよいかをユーザに確認する。設定情報変換部215はユーザ指示内容取得部211で取得した設定情報をアプリケーション選択部213で選択されたアプリケーションが可読可能な形式に変換する。アプリケーション管理部216はアプリケーション選択部213で選択したアプリケーションの起動や停止を行う。結果通知情報生成部217はアプリケーション選択部で選択したアプリケーションを通信相手装置に通知するためのメッセージを生成する。タイマ部218は時間を計時する。   The application confirmation unit 214 confirms with the user whether the application selected by the application selection unit 213 may be executed. The setting information conversion unit 215 converts the setting information acquired by the user instruction content acquisition unit 211 into a format that can be read by the application selected by the application selection unit 213. The application management unit 216 starts and stops the application selected by the application selection unit 213. The result notification information generation unit 217 generates a message for notifying the communication partner apparatus of the application selected by the application selection unit. The timer unit 218 measures time.

以下、図5、6、7、8の動作フローチャートを用いて本実施形態にかかる通信処理の流れを説明する。以下の説明では、一の通信装置としてデジタルカメラ101に着目し、デジタルカメラ101を自機器、他の通信装置としてプリンタ102を対向機器と定義して説明するが、どちらの機器が自機器か対向機器かは問わず同様の動作が可能である。   Hereinafter, the flow of communication processing according to the present embodiment will be described with reference to the operation flowcharts of FIGS. In the following description, the digital camera 101 is focused on as one communication device, and the digital camera 101 is defined as the own device, and the printer 102 is defined as the other device as the other communication device. The same operation is possible regardless of the device.

初期状態では、自装置と通信相手装置とは近接無線通信のインタフェースによる近距離無線通信ができない十分遠い距離に配置されている。自装置はユーザインタフェースとして機能する操作部103を介したユーザの操作により実行するアプリケーションと設定情報の内容(設定情報の項目)の指定が行われ、その内容については操作検知部207が検知する。ユーザインタフェースを介した操作によりアプリケーションを指定する際に、アプリケーションについて設定情報管理テーブル210で記憶されている設定情報の内容(設定情報の項目)を指定する。その状態でユーザは自装置と通信相手装置との距離が所定の通信範囲内になるように近づけると、通信制御部205は通信相手装置との無線接続処理を実行する(S502)。なお、無線接続処理中に互いの装置の識別情報(装置ID)が交換されるものとする。ユーザ指示内容取得部211は無線接続処理を開始する前に操作検知部207が予め検知したアプリケーションと設定情報の指定内容の取得(指定取得)を行う(S503)。   In the initial state, the device itself and the communication partner device are disposed at a sufficiently long distance that short-range wireless communication is not possible using the proximity wireless communication interface. The own apparatus designates an application to be executed by the user's operation via the operation unit 103 functioning as a user interface and the content of the setting information (item of setting information), and the operation detecting unit 207 detects the content. When an application is specified by an operation via the user interface, the content of the setting information (setting information item) stored in the setting information management table 210 is specified for the application. In this state, when the user approaches the distance between the user apparatus and the communication partner apparatus so as to be within a predetermined communication range, the communication control unit 205 executes a wireless connection process with the communication partner apparatus (S502). It is assumed that the identification information (device ID) of each device is exchanged during the wireless connection process. The user instruction content acquisition unit 211 acquires (specifies acquisition) specified contents of the application and setting information detected in advance by the operation detection unit 207 before starting the wireless connection process (S503).

サービス情報生成部212は、取得した指示内容を元に、ユーザからアプリケーションもしくは設定情報の指示がなされたかを判断する(S504)。ユーザからの指示があった場合(S504のYes)、サービス情報生成部212は、設定情報管理テーブル210を参照して、自装置が保持するアプリケーションのリストを取得する。さらに、サービス情報生成部212は、ユーザ指示内容取得部211で取得された指示内容(アプリケーションの情報及び設定情報)をアプリケーションのリストに付加したものをサービス情報として生成する。そして、通信制御部205はサービス情報を通信相手装置に送信する(S505)。例えば、このとき生成されるサービス情報は図9(a)のようなリストである。通信制御部205がサービス情報を通信相手装置に送信する(S505)。通信制御部205は通信相手装置からのサービス情報として、通信相手装置が保持するアプリケーションのリストの受信(リスト取得)を行なう(S506)。そして、アプリケーション選択部213は実行するアプリケーションの選択処理を開始する(S507、S601)。アプリケーションの選択処理の詳細の流れを図6の参照により説明する。   Based on the acquired instruction content, the service information generation unit 212 determines whether an instruction for an application or setting information has been given by the user (S504). When there is an instruction from the user (Yes in S504), the service information generation unit 212 refers to the setting information management table 210 and acquires a list of applications held by the own device. Furthermore, the service information generation unit 212 generates, as service information, the instruction content (application information and setting information) acquired by the user instruction content acquisition unit 211 added to the application list. Then, the communication control unit 205 transmits service information to the communication partner apparatus (S505). For example, the service information generated at this time is a list as shown in FIG. The communication control unit 205 transmits service information to the communication partner apparatus (S505). The communication control unit 205 receives a list of applications (list acquisition) held by the communication partner device as service information from the communication partner device (S506). Then, the application selection unit 213 starts an application selection process to be executed (S507, S601). A detailed flow of the application selection process will be described with reference to FIG.

(アプリケーション選択処理)
アプリケーション選択処理では、まず通信相手装置から受信したサービス情報にアプリケーション又は設定情報の指示内容が含まれているかを判断する(S602)。通信相手装置のサービス情報に指示内容が含まれていない場合(S602のNo)、自装置で指示(事前選択)されたアプリケーションが通信相手装置で利用可能か否かを判定する。すなわち、自装置で指示(事前選択)されたアプリケーションが通信相手装置のアプリケーションのリストに含まれているか否かを判断する(S603)。
(Application selection process)
In the application selection process, first, it is determined whether or not the service information received from the communication partner apparatus includes the instruction content of the application or setting information (S602). When the instruction content is not included in the service information of the communication partner device (No in S602), it is determined whether or not the application instructed (pre-selected) by the own device can be used by the communication partner device. That is, it is determined whether or not the application instructed (pre-selected) by the own device is included in the application list of the communication partner device (S603).

自装置で指定されたアプリケーションを通信相手装置が持っている場合は(S603のYes)、処理はS604に進められる。そして、アプリケーション選択部213は、自装置で指示(事前選択)されたアプリケーションを実行可能なアプリケーションとして選択して(S604)、アプリケーション選択処理を終了する(S614)。   If the communication partner apparatus has an application designated by the own apparatus (Yes in S603), the process proceeds to S604. Then, the application selection unit 213 selects the application instructed (pre-selected) by the own device as an executable application (S604), and ends the application selection process (S614).

自装置で指定(事前選択)されたアプリケーションを通信相手装置が持っていない場合(S603のNo)、事前選択されたアプリケーションは通信相手装置で利用できないと判定され、処理はS605に進められる。アプリケーション選択部213は自装置で指定されたアプリケーションと同一の機能を有するサービスカテゴリに属する共通(同一)のアプリケーションを、自装置および通信相手装置の双方で保持しているかを判断する(S605)。アプリケーション選択部213はサービス種別管理テーブル209と、通信相手装置から取得したリストとを参照して自装置と通信相手装置との間で共通に保持しかつ指定されたアプリケーションと同一のサービス種別に属するアプリケーションの有無を判定する。判定結果により、同一サービスカテゴリのアプリケーションを保持している場合は(S605のYes)、同一サービスカテゴリのアプリケーションの切り替え処理を開始し(S606)、アプリケーションの選択処理を終了する(S614)。なお、アプリケーションの切り替え処理(S606)の詳細については後述する。   If the communication partner device does not have an application designated (pre-selected) by the own device (No in S603), it is determined that the pre-selected application cannot be used by the communication partner device, and the process proceeds to S605. The application selection unit 213 determines whether both the own device and the communication partner device hold a common (identical) application that belongs to the service category having the same function as the application designated by the own device (S605). The application selection unit 213 refers to the service type management table 209 and the list acquired from the communication partner device, and is held in common between the own device and the communication partner device and belongs to the same service type as the designated application. Determine if there is an application. If the determination result shows that the application of the same service category is held (Yes in S605), the switching process of the application of the same service category is started (S606), and the selection process of the application is ended (S614). Details of the application switching process (S606) will be described later.

同一サービスカテゴリのアプリケーションを保持していない場合は(S605のNo)、アプリケーションを選択せずに(S607)、アプリケーションの選択処理を終了する(S614)。   If an application of the same service category is not held (No in S605), the application selection process is terminated (S614) without selecting an application (S607).

一方、通信相手装置のサービス情報に指示内容が含まれている場合は(S602のYes)、サービス種別管理テーブル(209)を参照して、自装置と通信相手装置で指示するアプリケーションのサービスカテゴリが一致するかを判断する(S608)。サービスカテゴリが一致しない場合は(S608のNo)、自装置もしくは通信相手装置のユーザの指示内容に不備があると判断しアプリケーションを選択せずに(S607)、アプリケーションの選択処理を終了する(S614)。   On the other hand, when the instruction content is included in the service information of the communication partner device (Yes in S602), the service category of the application instructed by the own device and the communication partner device is determined with reference to the service type management table (209). It is determined whether they match (S608). If the service categories do not match (No in S608), it is determined that the user's instruction content of the device or the communication partner device is incomplete and the application selection process is terminated without selecting an application (S607) (S614). ).

サービスカテゴリが一致する場合は(S608のYes)、無線接続処理時(S502)に取得した双方の装置IDを比較する(S609)。自装置の装置IDが通信相手装置の装置IDよりも大きな値の場合は(S609のYes)、自装置と通信相手装置で指示するアプリケーションが一致するか否かを判断する(S610)。双方で指示するアプリケーションが一致する場合は(S610のYes)、自装置で指示されたアプリケーションを実行するアプリケーションとして選択して(S611)、アプリケーション選択処理を終了する(S614)。   If the service categories match (Yes in S608), the two apparatus IDs acquired during the wireless connection process (S502) are compared (S609). When the device ID of the own device is larger than the device ID of the communication partner device (Yes in S609), it is determined whether or not the applications designated by the own device and the communication partner device match (S610). If the applications designated by both devices match (Yes in S610), the application designated by the own apparatus is selected as an application to be executed (S611), and the application selection process is terminated (S614).

双方で指示するアプリケーションが一致しない場合は(S610のNo)、双方で指示されたアプリケーションと同一のサービスカテゴリに属する共通のアプリケーションを保持しているかを判断する(S612)。同一サービスカテゴリのアプリケーションを保持している場合は(S612のYes)、アプリケーションの切り替え処理を開始し(S613)、アプリケーションの選択処理を終了する(S614)。同一サービスカテゴリのアプリケーションを保持していない場合は(S612のNo)、アプリケーションを選択せずに(S607)、アプリケーションの選択処理を終了する(S614)。   If the applications instructed by both do not match (No in S610), it is determined whether a common application belonging to the same service category as the application instructed by both is held (S612). When the application of the same service category is held (Yes in S612), the application switching process is started (S613), and the application selection process is ended (S614). When the application of the same service category is not held (No in S612), the application selection process is terminated (S614) without selecting the application (S607).

一方、自装置の装置IDが通信相手装置の装置IDよりも小さな値の場合は(S609のNo)、アプリケーションの選択処理を終了して、通信相手装置からアプリケーションの選択結果を受信するステップ(S514)に遷移する(S615)。   On the other hand, when the device ID of the own device is smaller than the device ID of the communication partner device (No in S609), the application selection process is terminated and the application selection result is received from the communication partner device (S514). ) (S615).

(アプリケーション切り替え処理)
次に、図7を参照して、アプリケーション選択部213によるアプリケーション切り替え処理(S606、S613)について説明する。アプリケーション切り替え処理を開始すると(S701)、サービス種別管理テーブル209を参照して、指定されたアプリケーションと同一の機能を有するサービスカテゴリに属するアプリケーションを取得する。
(Application switching process)
Next, application switching processing (S606, S613) by the application selection unit 213 will be described with reference to FIG. When the application switching process is started (S701), the service type management table 209 is referred to and an application belonging to a service category having the same function as the designated application is acquired.

さらにその中から、設定情報管理テーブル210を参照して、指定された設定情報の項目を最も多く設定できるアプリケーションを、切替えのためのアプリケーションとして検索する(S702)。検索した結果、上記の条件を満たすアプリケーションが一つに絞れた場合(S703のNo)、そのアプリケーションを実行するアプリケーションとして選択する(S705)。   Further, from among them, with reference to the setting information management table 210, an application that can set the largest number of designated setting information items is searched for as an application for switching (S702). As a result of the search, if only one application satisfying the above condition is selected (No in S703), the application is selected as an application to be executed (S705).

上記の条件を満たすアプリケーションが複数存在する場合(S703のYes)、サービス種別管理テーブル209を参照して、上記の条件を満たす複数のアプリケーションの中から最も優先度の高いものを検索する(S704)。設定情報の項目を最も多く指定することが可能なアプリケーションを検索した結果、上記の条件を満たす複数のアプリケーションの中から最も優先度の高いアプリケーションを選択し(S705)、処理を終了する(S706)。   When there are a plurality of applications satisfying the above conditions (Yes in S703), the service type management table 209 is referenced to search for the application with the highest priority from the plurality of applications satisfying the above conditions (S704). . As a result of searching for an application that can specify the most setting information items, the application with the highest priority is selected from a plurality of applications that satisfy the above conditions (S705), and the process is terminated (S706). .

アプリケーションの切り替え処理が終了すると(S606、S613、S706)、結果通知情報生成部217はアプリケーションの選択結果を結果通知情報として生成し、通信制御部205により通信相手装置に送信される(S508)。   When the application switching process is completed (S606, S613, S706), the result notification information generation unit 217 generates an application selection result as result notification information, and the communication control unit 205 transmits the result to the communication partner device (S508).

(ユーザ確認)
次に、アプリケーション確認部214は、アプリケーション選択部213が同一のサービス種別に属するアプリケーションに切替える際に、アプリケーションの検索結果をユーザに確認するための処理を開始する(S509、S801)。本処理(検索結果確認処理)の具体的な処理の流れを図8の参照により説明する。検索結果確認処理では、アプリケーション確認部214はアプリケーション選択部213に対して実行するアプリケーションが検索されたか否かを確認する(S802)。実行するアプリケーションが検索された場合(S802のYes)、処理はS803に進められる。検索したアプリケーションを指示された設定情報を用いて実行することをユーザに確認するために、表示制御部208は、確認表示を表示部105、106に表示する(S803)。例えば、図9(b)のようなユーザ確認のための表示を行う。
(User confirmation)
Next, when the application selection unit 213 switches to an application belonging to the same service type, the application confirmation unit 214 starts processing for confirming an application search result with the user (S509, S801). A specific processing flow of this processing (search result confirmation processing) will be described with reference to FIG. In the search result confirmation process, the application confirmation unit 214 confirms with the application selection unit 213 whether or not an application to be executed has been retrieved (S802). If an application to be executed is searched (Yes in S802), the process proceeds to S803. In order to confirm to the user that the retrieved application is to be executed using the designated setting information, the display control unit 208 displays a confirmation display on the display units 105 and 106 (S803). For example, a display for user confirmation as shown in FIG.

なお、予め指定された設定情報以外の設定情報については、全てデフォルト値に自動的に設定するものとする。さらに時間の計時を行うタイマ部218により時間の計時を開始する(S804)。ユーザ確認のための表示により計時が開始され、計時開始から一定時間以内に通信検出部206による無線接続の切断もしくは操作検知部207による無線接続をキャンセルするためのキャンセル操作が行われるか否かを監視する(S805、S806)。計時開始から一定時間以上、無線接続の切断もしくはキャンセル操作を検出しなかった場合(S805のNoかつS806のYes)、ユーザによる確認処理を終了する(S807)。   Note that setting information other than the setting information designated in advance is automatically set to default values. Further, the timer unit 218 that measures time starts to count time (S804). Time measurement is started by a display for user confirmation, and whether or not a cancel operation for canceling the wireless connection by the communication detection unit 206 or canceling the wireless connection by the operation detection unit 207 is performed within a certain time from the start of the time measurement. Monitor (S805, S806). When the disconnection or cancellation operation of the wireless connection has not been detected for a certain time or longer from the start of timing (No in S805 and Yes in S806), the confirmation process by the user is terminated (S807).

無線接続の切断もしくはキャンセル操作を検出した場合(S805のYes)、表示制御部208はアプリケーションの実行をキャンセルしたことをユーザに確認する表示を表示部105、106に表示し(S808)、全体の処理を終了する(S809)。   When the wireless connection disconnection or cancel operation is detected (Yes in S805), the display control unit 208 displays a display for confirming to the user that the execution of the application has been canceled on the display units 105 and 106 (S808). The process ends (S809).

実行するアプリケーションが未選択の場合も(S802のNo)、無線接続の切断もしくはキャンセル操作を検出した場合と同様の処理を行い(S808)、全体の処理を終了する(S809)。   Even when the application to be executed is not selected (No in S802), the same processing as when a disconnection or cancellation operation of a wireless connection is detected is performed (S808), and the entire processing is terminated (S809).

ユーザに確認する処理が終了すると(S509、S807)、設定情報変換部215は設定情報の変換処理を行う(S510)。ここでは、設定情報管理テーブル210の各設定情報の変換規則に従って、設定情報の変換を行う。   When the processing to confirm with the user is completed (S509, S807), the setting information conversion unit 215 performs setting information conversion processing (S510). Here, the setting information is converted in accordance with the conversion rule of each setting information in the setting information management table 210.

例えば、図4のDPOFの変換規則に基づいて、設定情報の変換処理を行った場合、図10(a)のようなXMLファイルが生成される。なお、XMLファイル以外の形式においても、設定情報を変換するうえで必要十分な情報を記述しておき、設定情報の変換処理を実施してもよい。   For example, when the setting information conversion process is performed based on the DPOF conversion rule of FIG. 4, an XML file as shown in FIG. 10A is generated. Note that, in a format other than the XML file, information necessary and sufficient for converting the setting information may be described, and the setting information conversion process may be performed.

設定情報の変換処理を終えると(S510)、アプリケーション管理部216は、変換された設定情報を用いてアプリケーション選択部213により選択されたアプリケーションを実行する(S511)。アプリケーションの処理が完了すると終了する(S518)。   When the setting information conversion process is completed (S510), the application management unit 216 executes the application selected by the application selection unit 213 using the converted setting information (S511). When the application process is completed, the process ends (S518).

一方、ユーザからの指示がなかった場合(S504のNo)の処理を以下に説明する。サービス情報生成部212は、設定情報管理テーブル210から保持するアプリケーションのリストを記述したサービス情報を生成し通信相手装置に送信する(S512)。例えば、このとき生成されるサービス情報は図10(b)のようなリストである。サービス情報を送信すると、通信相手装置からのサービス情報の受信を行い(S513)、通信相手装置によるアプリケーションの選択結果を受信する(S514)。   On the other hand, the process when there is no instruction from the user (No in S504) will be described below. The service information generation unit 212 generates service information describing a list of applications held from the setting information management table 210 and transmits the service information to the communication partner apparatus (S512). For example, the service information generated at this time is a list as shown in FIG. When the service information is transmitted, the service information is received from the communication partner apparatus (S513), and the application selection result by the communication partner apparatus is received (S514).

通信相手装置からアプリケーションの選択結果を受信すると(S514)、アプリケーション確認部214がアプリケーションの選択結果をユーザに確認する処理(S515、S801)を行う。そして、アプリケーション確認部214が設定情報変換処理(S516)、アプリケーションの実行処理(S517)を順に行う。ユーザに確認する処理(S515)からアプリケーション実行処理(S517)にかけては、上記のステップ(S509、S510、S511)の処理内容と同様であるため、説明は割愛する。アプリケーションの処理が完了すると終了する(S518)。   When an application selection result is received from the communication partner apparatus (S514), the application confirmation unit 214 performs processing for confirming the application selection result with the user (S515, S801). Then, the application confirmation unit 214 sequentially performs setting information conversion processing (S516) and application execution processing (S517). Since the processing from the processing to confirm with the user (S515) to the application execution processing (S517) is the same as the processing contents of the above steps (S509, S510, S511), the description is omitted. When the application process is completed, the process ends (S518).

本実施形態によれば、指示されたアプリケーションが自装置および通信相手装置のうち、どちらかの装置に備えられていない場合でも、双方の装置が備える同等のサービスを利用可能なアプリケーションに切り替えて実行できる。   According to this embodiment, even when the instructed application is not provided in either the own device or the communication partner device, the equivalent service provided in both devices is switched to an available application and executed. it can.

あるいは、双方の装置において異なるアプリケーションの指示操作が行われた場合でも、同等のサービスを実施するアプリケーションに自動的に切り替えて実行できる。従って、ユーザに互いの備えるアプリケーションを意識させることなく確実にユーザの意図する処理を実施することが可能になる。   Alternatively, even when a different application instruction operation is performed in both apparatuses, the application can be automatically switched to an application that performs an equivalent service. Therefore, it is possible to reliably execute the process intended by the user without making the user aware of the application provided to each other.

(実施形態2)
本実施形態のシステム構成図は、図1と同様であり、実施形態1で説明した内容と同様であるため、説明は割愛する。デジタルカメラ101およびプリンタ102の構成を示すブロック図は、図2と同様であり、実施形態1で説明した内容との差分のみを以下で説明する。
(Embodiment 2)
The system configuration diagram of this embodiment is the same as that shown in FIG. 1 and is the same as the contents described in the first embodiment, and thus the description thereof is omitted. A block diagram showing configurations of the digital camera 101 and the printer 102 is the same as that in FIG. 2, and only the difference from the contents described in the first embodiment will be described below.

設定情報管理テーブル210はアプリケーション毎に、アプリケーションについて実行を制御するための設定情報の項目をリストとして記憶する。また、設定情報管理テーブル210には、設定情報を各アプリケーションが解読可能な形式に変換するための変換規則と自装置が保持するそれぞれのアプリケーションに関して設定情報の内容(設定情報の項目)の重要度を示す情報を記憶しておく。例えば、図11のようなリストを保持する。   The setting information management table 210 stores, for each application, items of setting information for controlling execution of the application as a list. In the setting information management table 210, the conversion rule for converting the setting information into a format that can be read by each application and the importance of the contents of the setting information (items of setting information) regarding each application held by the own device Is stored. For example, a list as shown in FIG. 11 is held.

以下、図5、6、8、14の動作フローチャートを用いて本実施形態にかかる通信処理の流れを説明する。なお、以下の説明では、一の通信装置としてデジタルカメラ101に着目し、デジタルカメラ101を自機器、他の通信装置としてプリンタ102を対向機器と定義して説明するが、どちらの機器が自機器か対向機器かは問わず同様の動作が可能である。   Hereinafter, the flow of communication processing according to the present embodiment will be described with reference to the operation flowcharts of FIGS. In the following description, attention is given to the digital camera 101 as one communication device, and the digital camera 101 is defined as the own device and the printer 102 is defined as the other device as the other communication device. The same operation is possible regardless of whether the device is an opposing device.

また、図5、図6、図8に関しては実施形態1と同様であり、実施形態1で説明した内容との差分のみを以下で説明する。ここでは、図12を参照して、アプリケーション選択部213によるアプリケーション切り替え処理アプリケーション切り替え処理(S606、S613、S1201)について説明する。   5, 6, and 8 are the same as those in the first embodiment, and only differences from the contents described in the first embodiment will be described below. Here, with reference to FIG. 12, an application switching process (S606, S613, S1201) by the application selection unit 213 will be described.

アプリケーション切替え処理を開始すると(S1201)、設定情報管理テーブル210を参照して、指定されたアプリケーションと同一のサービスカテゴリに属するアプリケーションの設定情報の項目と指定された設定情報の項目とを比較する。   When the application switching process is started (S1201), the setting information management table 210 is referred to, and the setting information item of the application belonging to the same service category as the specified application is compared with the specified setting information item.

同一のサービスカテゴリに属するアプリケーションが、指定された設定情報の項目と同一の設定情報の項目を有する場合、指定された設定情報の項目の重要度を加算していき、その加算値(加算結果)が最大となるアプリケーションを検索する(S1202)。例えば、DPOFアプリケーションの設定情報にのうち「画像ファイル(重要度4)」と「印刷枚数(重要度2)」と「エラー処理内容(重要度3)」がユーザから指定されたとする。   When applications belonging to the same service category have the same setting information item as the specified setting information item, the importance of the specified setting information item is added, and the added value (addition result) The application with the maximum is searched (S1202). For example, it is assumed that “image file (importance 4)”, “number of printed sheets (importance 2)”, and “error processing content (importance 3)” are specified by the user in the setting information of the DPOF application.

PictBridgeアプリケーションの重要度の合計値は7、DLNA 2Box Printアプリケーションの重要度の合計値は4、印刷アプリAの重要度の合計値は4となり、合計値が最大のPictBridgeアプリケーションが検索される。検索した結果、上記の条件を満たすアプリケーションが一つのみであった場合(S1203のNo)、そのアプリケーションを実行するアプリケーションとして選択する(S1205)。   The total value of importance of the PictBridge application is 7, the total value of importance of the DLNA 2 Box Print application is 4, and the total value of importance of the print application A is 4, and the PictBridge application having the maximum total value is searched. As a result of the search, if there is only one application that satisfies the above conditions (No in S1203), the application is selected as an application to be executed (S1205).

上記条件を満たすアプリケーションが複数存在する場合(S1203のYes)、サービス種別管理テーブル209を参照してアプリケーションの中から最も優先度の高いものを検索し(S1204)、実行するアプリケーションとして選択する(S1205)。実行するアプリケーションの選択を行うと(S1205)、アプリケーション切り替え処理を終了する(S1206)。   When there are a plurality of applications that satisfy the above conditions (Yes in S1203), the service type management table 209 is searched for the application with the highest priority from the applications (S1204) and selected as an application to be executed (S1205). ). When an application to be executed is selected (S1205), the application switching process is terminated (S1206).

本実施形態によれば、片方又は双方の装置においてユーザによるアプリケーションと設定情報の指示操作が行われた場合、指示された設定情報のうち重要度の高い設定情報を利用可能なアプリケーションに切り替えて実行できる。   According to the present embodiment, when a user performs an operation for instructing an application and setting information on one or both devices, the setting information having a high degree of importance in the instructed setting information is switched to an available application and executed. it can.

(実施形態3)
本実施形態のシステム構成図は、図1と同様であり、実施形態1で説明した内容と同様であるため、説明は割愛する。デジタルカメラ101およびプリンタ102の構成を示すブロック図は、図2と同様であり、実施形態1で説明した内容との差分のみを以下で説明する。設定情報管理テーブル210はアプリケーション毎に設定可能な設定情報の項目と変換規則をリストとして記憶する。アプリケーションの設定情報取得のパターンとして、XMLファイルを読み込むことで設定情報を取得するタイプとユーザインタフェースを用いてユーザに対話的に設定情報を入力させ取得するタイプが存在する。XMLファイルから設定情報を取得するタイプの変換規則については実施形態1で説明しているため、ここでの説明は割愛する。
(Embodiment 3)
The system configuration diagram of this embodiment is the same as that shown in FIG. 1 and is the same as the contents described in the first embodiment, and thus the description thereof is omitted. A block diagram showing configurations of the digital camera 101 and the printer 102 is the same as that in FIG. 2, and only the difference from the contents described in the first embodiment will be described below. The setting information management table 210 stores setting information items and conversion rules that can be set for each application as a list. There are two types of application setting information acquisition patterns: a type in which setting information is acquired by reading an XML file and a type in which setting information is interactively input by a user using a user interface. Since the conversion rule of the type for obtaining the setting information from the XML file has been described in the first embodiment, the description here is omitted.

ユーザに設定情報の入力を促す表示し、ユーザの入力操作により設定情報を取得する対話的なアプリケーションに対する変換規則の記述は、入力情報項目と表示状態の2つに関する情報を記述したリストを保持する。入力情報項目とは、ユーザの操作により操作検知部207が得られる入力情報のうち、アプリケーションに引き渡すべき設定情報に対応した入力情報項目のことを示す。即ち、アプリケーションは設定情報管理テーブル210のリストに記載された入力情報項目に関する入力情報を取得することで設定情報を取得することができる。表示状態とは、アプリケーションがユーザに設定情報の入力操作を促すための表示を表示部105、106に指示したときの表示部105、106の状態を示す。表示部105、106が設定情報管理テーブル210のリストに記載された表示状態のときに、アプリケーションは操作検知部207から設定情報に関する入力情報を取得できる状態となる。具体的には、図14(a)のようなリストを保持する。   A description of a conversion rule for an interactive application that prompts the user to input setting information and obtains the setting information by the user's input operation holds a list that describes information about the input information item and the display state. . The input information item indicates an input information item corresponding to setting information to be handed over to the application among the input information obtained by the operation detection unit 207 by the user's operation. That is, the application can acquire the setting information by acquiring the input information related to the input information item described in the list of the setting information management table 210. The display state indicates the state of the display units 105 and 106 when the application instructs the display units 105 and 106 to display the prompt for the user to input setting information. When the display units 105 and 106 are in the display state described in the list of the setting information management table 210, the application is in a state where input information related to the setting information can be acquired from the operation detection unit 207. Specifically, a list as shown in FIG.

以下、図5、6、7、15の動作フローチャートを用いて本実施形態の動作を説明する。なお、以下の説明では、一の通信装置としてデジタルカメラ101に着目し、デジタルカメラ101を自機器、他の通信装置としてプリンタ102を対向機器と定義して説明するが、どちらの機器が自機器か対向機器かは問わず同様の動作が可能である。   Hereinafter, the operation of the present embodiment will be described with reference to the operation flowcharts of FIGS. In the following description, attention is given to the digital camera 101 as one communication device, and the digital camera 101 is defined as the own device and the printer 102 is defined as the other device as the other communication device. The same operation is possible regardless of whether the device is an opposing device.

また、図5、6、7に関しては実施形態1と同様であり、実施形態1で説明した内容との差分のみを以下で説明する。以下では、図13を参照してアプリケーション確認部214によるアプリケーションの選択結果をユーザに確認する処理について説明する(S509、S1301)。   5, 6, and 7 are the same as those in the first embodiment, and only differences from the contents described in the first embodiment will be described below. Hereinafter, with reference to FIG. 13, a process of confirming the application selection result by the application confirming unit 214 with the user will be described (S509, S1301).

選択結果の確認処理では、アプリケーション確認部214はアプリケーション選択部213に対して実行するアプリケーションが選択されたか否かを確認する(S1302)。実行するアプリケーションが選択された場合は(S1302のYes)、実行するアプリケーションが予め指定されたアプリケーションと一致するかを確認する(S1303)。指定されたアプリケーションが選択された場合は(S1303のYes)、選択結果確認処理を終了する(S1312)。   In the confirmation process of the selection result, the application confirmation unit 214 confirms whether or not an application to be executed is selected with respect to the application selection unit 213 (S1302). When the application to be executed is selected (S1302: Yes), it is confirmed whether the application to be executed matches the application designated in advance (S1303). If the designated application is selected (Yes in S1303), the selection result confirmation process is terminated (S1312).

指定されたアプリケーションと異なるものが選択された場合(S1303のNo)、表示制御部208は選択されたアプリケーションを指示された設定情報を用いて実行することをユーザに確認するための表示を表示部105、106に表示する(S1304)。なお、予め指定された設定情報以外の設定情報については、全てデフォルト値に自動的に設定するものとする。例えば、図9(b)のようなユーザ確認のための表示を行う。   When an application different from the designated application is selected (No in S1303), the display control unit 208 displays a display for confirming to the user that the selected application is to be executed using the designated setting information. 105 and 106 are displayed (S1304). Note that setting information other than the setting information designated in advance is automatically set to default values. For example, a display for user confirmation as shown in FIG.

さらにタイマ部218により時間の計時を開始する(S1305)。計時開始から所定時間内に通信検出部206による無線接続の切断もしくは操作検知部207によるキャンセル操作が行われるか否かを監視する(S1306、S1307)。計時開始から一定時間以上、無線接続の切断もしくはキャンセル操作を検出しなかった場合(S1306のNoかつS1307のYes)、選択結果確認処理を終了する(S1312)。   Further, the timer unit 218 starts measuring time (S1305). It is monitored whether or not a wireless connection is disconnected by the communication detection unit 206 or a cancel operation is performed by the operation detection unit 207 within a predetermined time from the start of timing (S1306, S1307). When the disconnection or cancellation operation of the wireless connection is not detected for a certain time or longer from the start of timing (No in S1306 and Yes in S1307), the selection result confirmation process is terminated (S1312).

無線接続の切断もしくはキャンセル操作を検出した場合(S1306のYes)、表示制御部により切り替えたアプリケーションの設定情報の追加入力をユーザに促す表示を表示部で行う(S1308)。例えば、図14(b)のような追加入力のための表示を行う。   When the disconnection or cancel operation of the wireless connection is detected (Yes in S1306), a display for prompting the user to additionally input the setting information of the application switched by the display control unit is performed on the display unit (S1308). For example, a display for additional input as shown in FIG.

追加入力の表示に対して、ユーザの操作による設定情報の追加入力が完了すると(S1310のYes)、選択結果の確認処理を終了し、全体の処理を再度開始する(S1313、S501)。追加入力の表示に対して、キャンセルボタンが選択された場合は(S1309)、全体の処理を終了する(S1314)。   When the additional input of the setting information by the user's operation is completed with respect to the display of the additional input (Yes in S1310), the selection result confirmation process is ended, and the entire process is started again (S1313, S501). When the cancel button is selected for the display of the additional input (S1309), the entire process is terminated (S1314).

一方、実行するアプリケーションが未選択の場合は(S1302のNo)、表示制御部208によりアプリケーションを実行できない旨の表示を表示部105、106で行い(S1311)、全体の処理を終了する(S1314)。   On the other hand, when the application to be executed is not selected (No in S1302), the display control unit 208 displays on the display units 105 and 106 that the application cannot be executed (S1311), and the entire process is terminated (S1314). .

次に、ユーザインタフェースを用いてユーザに対話的に設定情報を入力させ取得するアプリケーションを選択した場合の設定情報変換処理について説明する(S510、S516)。例えば、設定情報管理テーブルのリストに記載のPictBridgeでは、オフラインで設定できる設定情報が限られており、通信相手装置と接続して必要な情報を交換した後で入力される設定情報が存在する。従って、設定情報変換部は、アプリケーションの起動を行ってから処理の進行に応じて設定情報をアプリケーションに引き渡す必要が生じる。上記のようなアプリケーションに対して、設定情報変換部は、アプリケーション実行中に表示制御部から表示状態の変化に応じて表示状態の内容を通知される。通知された表示状態が設定情報管理テーブルのリストに記載の表示状態に合致する場合は、その表示状態に対応した設定情報の入力情報をアプリケーションに通知する。   Next, a description will be given of setting information conversion processing when an application to be acquired is selected by interactively inputting setting information using the user interface (S510, S516). For example, in PictBridge described in the list of the setting information management table, setting information that can be set offline is limited, and there is setting information that is input after connecting to a communication partner apparatus and exchanging necessary information. Therefore, the setting information conversion unit needs to deliver the setting information to the application as the process proceeds after the application is started. For the application as described above, the setting information conversion unit is notified of the contents of the display state according to the change in the display state from the display control unit during execution of the application. When the notified display state matches the display state described in the list of the setting information management table, the input information of the setting information corresponding to the display state is notified to the application.

本実施形態によれば、指定されたアプリケーションを実行する場合は、即座にアプリケーションを起動するため、アプリケーション実行までの待ち時間が軽減できる。   According to the present embodiment, when the designated application is executed, the application is started immediately, so that the waiting time until the application is executed can be reduced.

あるいは、指定されたアプリケーションとは別のものに切り替える場合においても、ユーザは必要な設定情報を追加入力できるようになり、ユーザの意図するとおりにアプリケーションを実行できる。あるいは、ユーザインタラクティブに設定情報を取得するアプリケーションに切り替えて実行した場合においても、予め指示された設定情報を利用してアプリケーションを実行できる。   Alternatively, even when switching to a different application from the designated application, the user can additionally input necessary setting information, and the application can be executed as intended by the user. Alternatively, even when switching to an application that obtains setting information interactively and executing it, the application can be executed using setting information instructed in advance.

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

Claims (13)

他の通信装置と通信する通信装置であって、
前記他の通信装置と通信を開始するより前に、前記他の通信装置との通信で用いるアプリケーションをユーザに指定させる指定手段と、
前記他の通信装置から、前記他の通信装置が利用可能なアプリケーションの情報を取得する取得手段と、
前記取得手段により取得したアプリケーションの情報に基づいて、前記指定手段により指定されたアプリケーションが利用できないと判定された場合、前記指定されたアプリケーションと共通のサービス種別の他のアプリケーションを実行する実行手段と、
を有することを特徴とする通信装置。
A communication device that communicates with other communication devices,
A designation unit that allows a user to designate an application to be used for communication with the other communication device before starting communication with the other communication device;
An acquisition unit that acquires information on an application that can be used by the other communication device from the other communication device;
Execution means for executing another application of the same service type as the designated application when it is determined that the application designated by the designation means cannot be used based on the application information obtained by the obtaining means; ,
A communication apparatus comprising:
前記通信装置が実行可能な複数のアプリケーションの各々をサービス種別に対応させたリストを管理する管理手段を更に有し、
前記実行手段は、前記管理手段により管理された前記リストに基づいて、前記指定されたアプリケーションと共通のサービス種別の他のアプリケーションを実行することを特徴とする請求項1に記載の通信装置。
A management means for managing a list in which each of the plurality of applications executable by the communication device is associated with a service type;
2. The communication apparatus according to claim 1, wherein the execution unit executes another application of a service type common to the designated application based on the list managed by the management unit.
前記取得手段により取得したアプリケーションの情報に基づいて、前記指定手段により指定されたアプリケーションが利用できるか否かを判定する判定手段を更に有し、
前記実行手段は、前記判定手段による判定結果に応じて、前記指定されたアプリケーションと共通のサービス種別の他のアプリケーションを実行することを特徴とする請求項1または2に記載の通信装置。
Based on the application information acquired by the acquisition means, further comprising a determination means for determining whether the application specified by the specification means can be used;
The communication device according to claim 1, wherein the execution unit executes another application of a service type common to the designated application according to a determination result by the determination unit.
前記指定手段により指定されたアプリケーションと共通のサービス種別の他のアプリケーションを検索する検索手段を更に有し、
前記実行手段は、前記検索手段により検索された前記他のアプリケーションを実行することを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。
A search means for searching for another application of the same service type as the application specified by the specifying means;
The communication device according to claim 1, wherein the execution unit executes the other application searched by the search unit.
前記通信装置が実行可能な複数のアプリケーションの各々について、当該アプリケーションで用いる設定項目を記憶する記憶手段を更に有し、
前記検索手段は、前記指定されたアプリケーションの設定項目とサービス種別とに基づいて、前記他のアプリケーションを検索することを特徴とする請求項4に記載の通信装置。
For each of a plurality of applications that can be executed by the communication device, further includes a storage unit that stores setting items used in the application,
5. The communication apparatus according to claim 4, wherein the search unit searches for the other application based on a setting item and a service type of the designated application.
前記通信装置が実行可能な複数のアプリケーションの各々について、当該アプリケーションで用いる設定項目と当該設定項目の重要度とを記憶する記憶手段を更に有し、
前記検索手段は、前記指定されたアプリケーションで用いる設定項目の重要度とサービス種別とに基づいて、前記他のアプリケーションを検索することを特徴とする請求項4に記載の通信装置。
For each of a plurality of applications that can be executed by the communication device, the storage device further includes a storage unit that stores a setting item used in the application and the importance of the setting item.
5. The communication apparatus according to claim 4, wherein the search unit searches for the other application based on an importance level and a service type of a setting item used in the designated application.
前記通信装置が実行可能な複数のアプリケーションの各々について、当該アプリケーションで用いる設定項目と当該設定項目の重要度とを記憶する記憶手段を更に有し、
前記検索手段は、前記指定されたアプリケーションと共通のサービス種別の複数の他のアプリケーションのうち、共通した設定項目の重要度の加算値が最大となる他のアプリケーションを検索することを特徴とする請求項4に記載の通信装置。
For each of a plurality of applications that can be executed by the communication device, the storage device further includes a storage unit that stores a setting item used in the application and the importance of the setting item.
The search means searches for another application having the maximum added value of the importance of the common setting item among a plurality of other applications having the same service type as the specified application. Item 5. The communication device according to Item 4.
前記通信装置が実行可能な複数のアプリケーションの各々について、重要度を記憶する記憶手段を更に有し、
前記検索手段は、前記指定されたアプリケーションと共通のサービス種別の複数の他のアプリケーションのうち、最も重要度の高い他のアプリケーションを検索することを特徴とする請求項4に記載の通信装置。
For each of a plurality of applications that can be executed by the communication device, the storage device further includes storage means for storing importance.
5. The communication apparatus according to claim 4, wherein the search unit searches for another application having the highest importance among a plurality of other applications having a service type common to the designated application.
前記指定されたアプリケーションで用いる設定項目を設定する設定手段と、
前記設定手段により設定された前記設定項目を前記他のアプリケーションで用いる設定項目に対応する形式に変換する変換手段と、を更に有することを特徴とする請求項1乃至8のいずれか1項に記載の通信装置。
Setting means for setting setting items used in the specified application;
9. The apparatus according to claim 1, further comprising: a conversion unit that converts the setting item set by the setting unit into a format corresponding to a setting item used in the other application. Communication equipment.
前記実行手段が、前記指定されたアプリケーションと共通のサービス種別の他のアプリケーションを実行する際に、アプリケーションが切り替わったことをユーザに通知する通知手段を更に有することを特徴とする請求項1乃至9のいずれか1項に記載の通信装置。   10. The notification means for notifying a user that an application has been switched when the execution means executes another application of the same service type as the specified application. The communication device according to any one of the above. 前記他の通信装置との通信が開始されてから所定時間内に、前記他の通信装置との通信が切断された場合、または、ユーザによる前記他の通信装置との通信の切断が指示された場合には、前記実行手段は前記他のアプリケーションを実行しないことを特徴とする請求項1乃至10のいずれか1項に記載の通信装置。   When the communication with the other communication device is disconnected within a predetermined time after the communication with the other communication device is started, or the user is instructed to disconnect the communication with the other communication device. The communication device according to claim 1, wherein the execution unit does not execute the other application. 他の通信装置と通信する通信装置の制御方法であって、
前記通信装置の指定手段が、前記他の通信装置と通信を開始するより前に、前記他の通信装置との通信で用いるアプリケーションをユーザに指定させる指定工程と、
前記通信装置の取得手段が、前記他の通信装置から、前記他の通信装置が利用可能なアプリケーションの情報を取得する取得工程と、
前記通信装置の実行手段が、前記取得工程において取得したアプリケーションの情報に基づいて、前記指定手段により指定されたアプリケーションが利用できないと判定された場合、前記指定されたアプリケーションと共通のサービス種別の他のアプリケーションを実行する実行工程と、
を有することを特徴とする通信装置の制御方法。
A communication device control method for communicating with another communication device,
The designation step of causing the user to designate an application used for communication with the other communication device before the communication device designation means starts communication with the other communication device;
An acquisition step in which the acquisition unit of the communication device acquires information on an application that can be used by the other communication device from the other communication device;
If the execution unit of the communication device determines that the application specified by the specifying unit cannot be used based on the application information acquired in the acquiring step, the service type common to the specified application is used. An execution process for executing the application of
A method for controlling a communication apparatus, comprising:
コンピュータを、請求項1乃至11のいずれか1項に記載の通信装置の各手段として機能させるためのプログラム。   The program for functioning a computer as each means of the communication apparatus of any one of Claims 1 thru | or 11.
JP2010291125A 2010-12-27 2010-12-27 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM Expired - Fee Related JP5632735B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010291125A JP5632735B2 (en) 2010-12-27 2010-12-27 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010291125A JP5632735B2 (en) 2010-12-27 2010-12-27 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2012138844A JP2012138844A (en) 2012-07-19
JP5632735B2 true JP5632735B2 (en) 2014-11-26

Family

ID=46675900

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010291125A Expired - Fee Related JP5632735B2 (en) 2010-12-27 2010-12-27 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP5632735B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5971042B2 (en) * 2012-09-10 2016-08-17 富士通株式会社 Information processing apparatus, program, and software execution control method
JP6444020B2 (en) * 2013-08-09 2018-12-26 キヤノン株式会社 Information processing system, information processing method, and program
JP6487737B2 (en) 2015-03-19 2019-03-20 キヤノン株式会社 Information processing apparatus, control method thereof, and program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0830532A (en) * 1994-07-20 1996-02-02 Hitachi Ltd Processing method for automatically identifying communicating party
JPH08307544A (en) * 1995-04-28 1996-11-22 Canon Inc Communication conference system
JPH10243046A (en) * 1997-02-26 1998-09-11 Nippon Telegr & Teleph Corp <Ntt> Method for automatic setting of application adaptive user environment
JP4507030B2 (en) * 2000-01-21 2010-07-21 ソニー株式会社 Network system, terminal device, and information transmission method
JP3870900B2 (en) * 2003-01-06 2007-01-24 ブラザー工業株式会社 Image data processing system, image data generation device, and program
JP2006020097A (en) * 2004-07-02 2006-01-19 Toshiba Corp Service selecting method, communication system, and client device
WO2008149780A1 (en) * 2007-05-30 2008-12-11 Kyocera Corporation Radio communication system, management server, radio communication terminal, and radio communication method

Also Published As

Publication number Publication date
JP2012138844A (en) 2012-07-19

Similar Documents

Publication Publication Date Title
US9974012B2 (en) Communication apparatus and communication system
CN104519219B (en) Communicator and its control method
JP5991733B2 (en) Network system, information processing apparatus, and communication method
CN104917911B (en) Information processing equipment and method for controlling information processing equipment
US9348551B2 (en) Mobile terminal device, and method and computer readable medium for the same
JP5743675B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP5424735B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
KR101702296B1 (en) Information processing apparatus, method for controlling the same, and storage medium
JP6305023B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP6360316B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP6581708B2 (en) Power transmission control device, power transmission control method, and program
US9596006B2 (en) Information processing apparatus and power supply control method
JP2015073250A (en) Communication device, control method of communication device, and program
JP5632735B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
EP2978203B1 (en) Image processing apparatus, method of controlling the same and program
JP6207315B2 (en) Communication apparatus and communication system
JP2014110552A (en) Communication system
JP6757452B2 (en) Transmission equipment, control methods, and programs
JP2018042204A (en) Electronic apparatus
JP2011239234A (en) Data transmission device, data relay device, and control method and program thereof
JP2018191167A (en) Information processing device, control method, and program
JP2017050738A (en) Communication apparatus, communication method, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140624

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140912

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141010

R151 Written notification of patent or utility model registration

Ref document number: 5632735

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees