JP5860293B2 - Communication device, control method, and program - Google Patents

Communication device, control method, and program Download PDF

Info

Publication number
JP5860293B2
JP5860293B2 JP2012017269A JP2012017269A JP5860293B2 JP 5860293 B2 JP5860293 B2 JP 5860293B2 JP 2012017269 A JP2012017269 A JP 2012017269A JP 2012017269 A JP2012017269 A JP 2012017269A JP 5860293 B2 JP5860293 B2 JP 5860293B2
Authority
JP
Japan
Prior art keywords
communication
service
devices
digital camera
protocols
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
JP2012017269A
Other languages
Japanese (ja)
Other versions
JP2013156858A (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 JP2012017269A priority Critical patent/JP5860293B2/en
Publication of JP2013156858A publication Critical patent/JP2013156858A/en
Application granted granted Critical
Publication of JP5860293B2 publication Critical patent/JP5860293B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Description

本発明は、複数の通信プロトコルを用いて通信を行う通信装置、制御方法、及びプログラムに関する。   The present invention relates to a communication apparatus, a control method, and a program that perform communication using a plurality of communication protocols.

通信機器がネットワークを介して、他の通信機器が提供するサービスを検索するため、また、自らが提供するサービスを他の通信機器へ通知するための、通信プロトコル(サービス発見プロトコル)がある。このようなプロトコルには、例えば、UPnP(Universal Plug and Play)や、mDNS(Multicast Domain Name System)などがある。これらのプロトコルでは、サービス発見のための処理として、サービス利用装置がサービスを検索するための要求を送信する検索処理と、サービス提供装置が自ら提供するサービス情報を送信する通知処理との2種類の処理が定められている。サービス利用装置は、要求に対する応答またはサービス提供装置から送信される通知メッセージを受信することにより、サービス提供装置の存在を発見する。また、サービス提供装置による通知処理では、サービス提供装置がサービスを提供している間は、通知メッセージが周期的に送信される。   There is a communication protocol (service discovery protocol) for a communication device to search for a service provided by another communication device via a network and for notifying another communication device of a service provided by itself. Examples of such protocols include UPnP (Universal Plug and Play) and mDNS (Multicast Domain Name System). In these protocols, there are two types of processing for service discovery: search processing for transmitting a request for a service utilization device to search for a service, and notification processing for transmitting service information provided by the service providing device itself. Processing is defined. The service using device detects the presence of the service providing device by receiving a response to the request or a notification message transmitted from the service providing device. In the notification process by the service providing apparatus, a notification message is periodically transmitted while the service providing apparatus provides a service.

上述の2つのプロトコルは並存しており、広く接続性を保つためには1つの通信機器がこれら2つの(複数の)プロトコルをサポートすることが要求される。これは、サービスを提供するサービス提供装置とサービスを利用するサービス利用装置との両方に言えることである。例えば、特許文献1には、複数のプロトコルを用いるサービス提供装置とサービス利用装置とからなるネットワークにおいて、異なるプロトコル間で同一のサービスの識別情報を用いてサービスの同一性を判断する技術が記載されている。   The above two protocols coexist, and in order to maintain wide connectivity, one communication device is required to support these two (plurality) protocols. This is true for both a service providing apparatus that provides a service and a service using apparatus that uses the service. For example, Patent Document 1 describes a technique for determining the identity of a service using identification information of the same service between different protocols in a network including a service providing apparatus and a service using apparatus that use a plurality of protocols. ing.

特開2004−248072号公報JP 2004-248072 A

上述の通り、サービス提供装置とサービス利用装置との両方が複数のプロトコルをサポートすると、この両装置が複数のプロトコルを共通してサポートする場合がある。このような状況において、複数のプロトコルを動作させ続けることは、それぞれの装置における消費電力、またネットワークリソースの有効利用の観点から妥当性を欠く。この観点からすれば、サービス提供装置が提供するサービスが1つであれば、サービス利用装置との間で利用される通信プロトコルは1つであることが望ましい。   As described above, when both the service providing apparatus and the service using apparatus support a plurality of protocols, the both apparatuses may support the plurality of protocols in common. In such a situation, continuing to operate a plurality of protocols lacks validity from the viewpoint of power consumption in each device and effective use of network resources. From this point of view, if the service providing apparatus provides one service, it is desirable that the number of communication protocols used with the service using apparatus is one.

これに対して、サービス提供装置が使用する通信プロトコルを、1つに制限することができるが、これにより接続性が損なわれてしまうという課題があった。例えば、サービス利用装置とサービス提供装置とがUPnP及びmDNSを利用可能な場合に、両装置がUPnPで接続した後でサービス提供装置がmDNSの利用を止めると、それ以降mDNSのみを利用可能なサービス利用装置がサービスを発見できなくなる。   On the other hand, although the communication protocol used by the service providing apparatus can be limited to one, there is a problem that connectivity is impaired thereby. For example, when a service using apparatus and a service providing apparatus can use UPnP and mDNS, if the service providing apparatus stops using mDNS after both apparatuses are connected by UPnP, a service that can use only mDNS thereafter. The using device cannot find the service.

本発明は上記課題に鑑みてなされたものであり、複数の通信プロトコルを利用可能なシステムにおいて、接続性を損なうことなく、消費電力およびネットワーク負荷を低減することを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to reduce power consumption and network load without impairing connectivity in a system capable of using a plurality of communication protocols.

上記目的を達成するため、本発明による通信装置は、複数の通信プロトコルの少なくともいずれかを利用して、複数の他の装置と通信を行う通信装置であって、利用中の複数の通信プロトコルのうち、前記複数の他の装置が利用可能な通信プロトコルを判定する判定手段と、前記判定手段による判定結果に基づいて、利用中の複数の通信プロトコルのうち、利用を停止しても、当該利用中の複数の通信プロトコルに含まれる他の通信プロトコルによって、前記複数の他の装置との間の通信が維持される通信プロトコルについて、利用を停止する停止手段と、を有する。
In order to achieve the above object, a communication device according to the present invention is a communication device that communicates with a plurality of other devices by using at least one of a plurality of communication protocols, and a plurality of communication protocols in use. Among these, even if the use is stopped among the plurality of communication protocols that are currently used based on the determination unit that determines a communication protocol that can be used by the plurality of other devices, and the determination result by the determination unit, Stop means for stopping the use of a communication protocol in which communication with the plurality of other devices is maintained by another communication protocol included in the plurality of communication protocols.

本発明によれば、複数の通信プロトコルを利用可能な通信装置において、接続性を確保しながら、消費電力やネットワーク負荷を低減する技術を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, in the communication apparatus which can utilize a some communication protocol, the technique which reduces power consumption and a network load can be provided, ensuring a connectivity.

サービス提供装置のハードウェア構成の一例を示す図。The figure which shows an example of the hardware constitutions of a service provision apparatus. サービス提供装置の機能ブロック構成の一例を示す図。The figure which shows an example of the functional block structure of a service provision apparatus. サービス利用装置のハードウェア構成の一例を示す図。The figure which shows an example of the hardware constitutions of a service utilization apparatus. サービス利用装置の機能ブロック構成の一例を示す図。The figure which shows an example of the functional block structure of a service utilization apparatus. 実施形態1のサービス提供装置の動作の流れを表すフローチャート。5 is a flowchart showing a flow of operations of the service providing apparatus according to the first embodiment. サービス提供装置の動作の流れを示すフローチャート。The flowchart which shows the flow of operation | movement of a service provision apparatus. サービス利用装置の動作の流れを示すフローチャート。The flowchart which shows the flow of operation | movement of a service utilization apparatus. サービス提供装置で記録されるサービス利用端末データのデータ構成例を示す図。The figure which shows the data structural example of the service utilization terminal data recorded with a service provision apparatus. システム構成の例を示す図。The figure which shows the example of a system configuration. システムにおける動作の一例を示すシーケンスチャート。The sequence chart which shows an example of the operation | movement in a system. 実施形態2のサービス提供装置の動作の流れを示すフローチャート。9 is a flowchart showing a flow of operations of the service providing apparatus according to the second embodiment. 実施形態2のシステムにおける動作の一例を示すシーケンスチャート。10 is a sequence chart illustrating an example of an operation in the system according to the second embodiment.

以下、添付図面を参照して本発明の実施の形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

<<実施形態1>>
以下、本実施形態に係るサービス提供装置およびサービス利用装置について、図面を参照しながら詳細に説明する。なお、本実施形態では、サービス提供装置はデジタルカメラとし、サービス利用装置は携帯電話として説明するが、これに限られない。例えば、この逆であってもよく、また、デジタルカメラや携帯電話以外の装置をサービス提供装置やサービス利用装置としてもよい。なお、サービス提供装置とサービス利用装置は共に少なくとも1つの通信プロトコルを利用可能な通信装置である。なお、以下の説明では、「サービス」とは、例えば、画像交換サービスであり、サービス提供装置が、サービス利用装置との間で画像をやり取りするサービスである。サービスは、この他にも、通信を伴うサービスであれば、どのようなサービスであってもよい。
<< Embodiment 1 >>
Hereinafter, a service providing apparatus and a service using apparatus according to the present embodiment will be described in detail with reference to the drawings. In the present embodiment, the service providing apparatus is described as a digital camera, and the service using apparatus is described as a mobile phone. However, the present invention is not limited to this. For example, this may be reversed, and a device other than a digital camera or a mobile phone may be used as a service providing device or a service using device. Both the service providing apparatus and the service using apparatus are communication apparatuses that can use at least one communication protocol. In the following description, “service” is, for example, an image exchange service, and a service providing apparatus exchanges images with a service using apparatus. The service may be any service as long as it is a service involving communication.

(サービス提供装置のハードウェア構成)
図1は、本発明を実施したサービス提供装置(デジタルカメラ100)のハードウェア構成の一例を示す図である。デジタルカメラ100は、例えば、表示部101、操作部102、撮像部103、画像処理部104、符号化・復号化部105、及び記録再生部106を有する。また、本例では、デジタルカメラ100は、さらに、記憶部107、電源部108、時計部109、制御部110、ROM111、RAM112、無線LANアンテナ制御部113、通信インタフェース部(通信IF)114及びアンテナ115をも有する。
(Hardware configuration of service providing device)
FIG. 1 is a diagram illustrating an example of a hardware configuration of a service providing apparatus (digital camera 100) that implements the present invention. The digital camera 100 includes, for example, a display unit 101, an operation unit 102, an imaging unit 103, an image processing unit 104, an encoding / decoding unit 105, and a recording / reproducing unit 106. In this example, the digital camera 100 further includes a storage unit 107, a power supply unit 108, a clock unit 109, a control unit 110, a ROM 111, a RAM 112, a wireless LAN antenna control unit 113, a communication interface unit (communication IF) 114, and an antenna. 115.

表示部101と操作部102は、アプリケーションの表示や実行などを行う。撮像部103は、被写体の光学像を撮像する。画像処理部104は、撮像部103から出力された撮像画像を所定フォーマットの画像データに変換し、画像データに透かしデータを付与する。符号化・復号化部105は、画像処理部104から出力された画像データに対して、所定の高能率符号化(例えば、DCT変換、量子化後に可変長符号化)を行う。符号化・復号化部105はまた、記録再生部106から再生された圧縮画像データを伸長復号化し、その画像データを画像処理部104に供給する。記録再生部106は圧縮符号化された画像データを不図示の記録媒体に記録再生する。なお、本実施形態では、画像データを符号化する技術として、例えば、JPEG(Joint Photographic Experts Group)方式を用いる。   The display unit 101 and the operation unit 102 display and execute an application. The imaging unit 103 captures an optical image of the subject. The image processing unit 104 converts the captured image output from the imaging unit 103 into image data having a predetermined format, and adds watermark data to the image data. The encoding / decoding unit 105 performs predetermined high-efficiency encoding (for example, DCT conversion, variable length encoding after quantization) on the image data output from the image processing unit 104. The encoding / decoding unit 105 also decompresses and decodes the compressed image data reproduced from the recording / reproducing unit 106 and supplies the image data to the image processing unit 104. The recording / reproducing unit 106 records and reproduces the compression-encoded image data on a recording medium (not shown). In the present embodiment, as a technique for encoding image data, for example, a JPEG (Joint Photographic Experts Group) method is used.

記憶部107は無線通信ネットワーク情報、データ送受信情報、通信機器情報、撮影画像情報など各種データを記憶し、管理する。電源部108はデジタルカメラ100へ電源を供給し、時計部109は時間を計測し、制御部110はデジタルカメラ100を制御する。ROM111は、読み出し専用メモリであり、制御命令、すなわちプログラムが格納される。RAM112は、ランダムアクセスメモリであり、様々なデータが格納される。アンテナ115は無線LAN通信を行うアンテナであり、無線LANアンテナ制御部113はアンテナ115を制御する。通信IF114はネットワークの検索、構築、接続、管理など通信処理を行う。   The storage unit 107 stores and manages various data such as wireless communication network information, data transmission / reception information, communication device information, and captured image information. The power supply unit 108 supplies power to the digital camera 100, the clock unit 109 measures time, and the control unit 110 controls the digital camera 100. The ROM 111 is a read-only memory and stores control instructions, that is, programs. The RAM 112 is a random access memory and stores various data. The antenna 115 is an antenna that performs wireless LAN communication, and the wireless LAN antenna control unit 113 controls the antenna 115. The communication IF 114 performs communication processing such as network search, construction, connection, and management.

(サービス提供装置の機能構成)
次に、図2を用いてサービス提供装置(デジタルカメラ100)の機能構成について説明する。本実施形態では、デジタルカメラ100は、UPnP機能部210と、mDNS機能部220と、サービス利用装置管理部230と、サービス機能提供部240とを含む。なお、本実施形態では、デジタルカメラ100の各機能ブロックは、例えば、ROM111にプログラムとして記憶され、制御部110によって実行されるものとして説明する。ただし、以下で説明する機能構成は、全てがソフトウェアで実行されてもよいし、機能の一部又は全部がハードウェアで実行されてもよい。
(Functional configuration of service providing device)
Next, the functional configuration of the service providing apparatus (digital camera 100) will be described with reference to FIG. In the present embodiment, the digital camera 100 includes a UPnP function unit 210, an mDNS function unit 220, a service use device management unit 230, and a service function providing unit 240. In the present embodiment, each functional block of the digital camera 100 is described as being stored in the ROM 111 as a program and executed by the control unit 110, for example. However, all of the functional configurations described below may be executed by software, or some or all of the functions may be executed by hardware.

UPnP機能部210は、UPnP(Universal Plug and Play)によってデジタルカメラ100が提供するサービス、すなわちデジタルカメラ100が有するサービス機能の情報を報知する機能部である。UPnP機能部210は、さらにUPnPサービス通知処理部211と、UPnPサービス応答処理部212とを含む。UPnPサービス通知処理部211は、デジタルカメラ100が能動的にサービス情報通知を送信する処理部である。UPnPサービス通知処理部211は、SSDP(Simple Service Discovery Protocol)のNotifyメッセージで、デジタルカメラ100が提供するサービス情報をサービス利用装置へ報知する。一方、UPnPサービス応答処理部212は、受動的にサービス情報通知を送信する処理部である。UPnPサービス応答処理部212は、サービス利用装置からのサービス情報要求メッセージ(SSDPのM−Searchメッセージ)への応答メッセージ(SSDPのResponseメッセージ)により、そのサービス利用装置へサービス情報を通知する。   The UPnP function unit 210 is a function unit that notifies services provided by the digital camera 100 by UPnP (Universal Plug and Play), that is, information on service functions of the digital camera 100. The UPnP function unit 210 further includes a UPnP service notification processing unit 211 and a UPnP service response processing unit 212. The UPnP service notification processing unit 211 is a processing unit that the digital camera 100 actively transmits a service information notification. The UPnP service notification processing unit 211 notifies the service using apparatus of service information provided by the digital camera 100 using a SSDP (Simple Service Discovery Protocol) Notify message. On the other hand, the UPnP service response processing unit 212 is a processing unit that passively transmits a service information notification. The UPnP service response processing unit 212 notifies service information to the service using device by a response message (SSDP Response message) to the service information request message (SSDP M-Search message) from the service using device.

mDNS機能部220は、mDNS(Multicast Domain Name System)によってデジタルカメラ100が提供するサービスの情報を報知する機能部である。mDNS機能部220は、さらにmDNSサービス通知処理部221と、mDNSサービス応答処理部222とを含む。mDNSサービス通知処理部221は、デジタルカメラ100が能動的にサービス情報通知を送信する処理部である。mDNSサービス通知処理部221は、mDNSのAnnounceメッセージで、デジタルカメラ100が提供するサービス情報を通知する。mDNSサービス応答処理部222は、受動的にサービス情報通知を行う処理部である。mDNSサービス応答処理部222は、サービス利用装置からのサービス情報要求メッセージ(mDNSのQueryメッセージ)への応答メッセージ(mDNSのResponseメッセージ)により、そのサービス利用装置へサービス情報を報知する。   The mDNS function unit 220 is a function unit that notifies information on services provided by the digital camera 100 using mDNS (Multicast Domain Name System). The mDNS function unit 220 further includes an mDNS service notification processing unit 221 and an mDNS service response processing unit 222. The mDNS service notification processing unit 221 is a processing unit that the digital camera 100 actively transmits a service information notification. The mDNS service notification processing unit 221 notifies service information provided by the digital camera 100 using an mDNS Announce message. The mDNS service response processing unit 222 is a processing unit that passively notifies service information. The mDNS service response processing unit 222 notifies the service using device of the service information by a response message (mDNS Response message) to the service information request message (mDNS Query message) from the service using device.

サービス利用装置管理部230は、デジタルカメラ100が提供するサービスを利用する、サービス利用装置の情報を管理する機能部である。サービス利用装置管理部230が管理するサービス利用装置の情報(サービス利用端末管理テーブル)の一例を図8に示す。サービス利用装置管理部230は、サービス利用端末の識別情報(801)と、それぞれのサービス利用端末がサポートする通信プロトコル(サービス発見プロトコル)の種別(UPnP802、mDNS803)とを対応付けて記憶する。図8に示すサービス利用端末管理テーブルの詳細や管理方法については、後述の動作フローの説明と合わせて詳述する。   The service using device management unit 230 is a functional unit that manages information on a service using device that uses a service provided by the digital camera 100. An example of service use device information (service use terminal management table) managed by the service use device management unit 230 is shown in FIG. The service using device management unit 230 stores the identification information (801) of the service using terminal and the communication protocol (service discovery protocol) type (UPnP 802, mDNS 803) supported by each service using terminal in association with each other. The details and management method of the service use terminal management table shown in FIG. 8 will be described in detail together with the description of the operation flow described later.

サービス機能提供部240は、デジタルカメラ100がUPnP機能部210およびmDNS機能部220で通知するサービスについて、実処理を実装する機能部である。   The service function providing unit 240 is a functional unit that implements actual processing for a service that the digital camera 100 notifies with the UPnP function unit 210 and the mDNS function unit 220.

(サービス利用装置のハードウェア構成)
図3は、本実施形態におけるサービス利用装置(携帯電話300)のハードウェア構成図である。携帯電話300は、表示部301、操作部302、電源部303、符号化・復号化部304、記録再生部305、記憶部306、時計部307、制御部308、ROM309、RAM310を備える。また、携帯電話300は、さらに、無線LANアンテナ制御部311、通信インタフェース部(通信IF)312、公衆網アンテナ制御部313、及び無線LAN用のアンテナ314と公衆網用のアンテナ315を備える。
(Hardware configuration of service using device)
FIG. 3 is a hardware configuration diagram of the service using device (mobile phone 300) in the present embodiment. The mobile phone 300 includes a display unit 301, an operation unit 302, a power supply unit 303, an encoding / decoding unit 304, a recording / reproducing unit 305, a storage unit 306, a clock unit 307, a control unit 308, a ROM 309, and a RAM 310. The mobile phone 300 further includes a wireless LAN antenna control unit 311, a communication interface unit (communication IF) 312, a public network antenna control unit 313, a wireless LAN antenna 314, and a public network antenna 315.

表示部301はアプリケーションの表示を行い、操作部302はそのアプリケーションの実行のための操作などを行う。電源部303は、携帯電話300に電力を供給する。符号化/復号化部304は、記録再生部305から再生された圧縮画像データを伸長復号化し、その画像データを表示部301に表示する。記録再生部305は、圧縮符号化された画像データを不図示の記録媒体に記録再生する。なお、本実施形態では、画像データを符号化する技術として、例えば、JPEG(Joint Photographic Experts Group)方式を用いる。記憶部306は、無線通信ネットワーク情報、データ送受信情報、通信機器情報、撮影画像情報など各種データを記憶し、管理する。時計部307は時間を計測する。制御部308は携帯電話300に係る様々な機能を制御する。ROM309は読み出し専用メモリであり、制御命令つまりプログラムを格納し、RAM310はランダムアクセスメモリであって、様々なデータが格納される。無線LANアンテナ制御部311は、無線LAN通信を行うため、アンテナ314を制御する。公衆網アンテナ制御部313は、例えばセルラ通信網による公衆網との間の通信を行うため、アンテナ315を制御する。通信IF312は、ネットワークの検索、構築、接続、管理など通信処理を行う。   The display unit 301 displays an application, and the operation unit 302 performs an operation for executing the application. The power supply unit 303 supplies power to the mobile phone 300. The encoding / decoding unit 304 decompresses and decodes the compressed image data reproduced from the recording / reproducing unit 305 and displays the image data on the display unit 301. The recording / reproducing unit 305 records / reproduces the compressed and encoded image data on a recording medium (not shown). In the present embodiment, as a technique for encoding image data, for example, a JPEG (Joint Photographic Experts Group) method is used. The storage unit 306 stores and manages various data such as wireless communication network information, data transmission / reception information, communication device information, and captured image information. The clock unit 307 measures time. The control unit 308 controls various functions related to the mobile phone 300. The ROM 309 is a read-only memory and stores control instructions, that is, programs, and the RAM 310 is a random access memory that stores various data. The wireless LAN antenna control unit 311 controls the antenna 314 to perform wireless LAN communication. The public network antenna control unit 313 controls the antenna 315 in order to perform communication with the public network using, for example, a cellular communication network. The communication IF 312 performs communication processing such as network search, construction, connection, and management.

(サービス利用装置の機能構成)
次に、図4を用いてサービス利用装置(携帯電話300)の機能構成について説明する。図4は、携帯電話300の機能構成例を示すブロック図である。本実施形態の携帯電話300は、機能部として、UPnP検索処理部410と、mDNS検索処理部420と、サービス利用処理部430とを備える。なお、本実施形態では、携帯電話300の各機能ブロックは、例えば、ROM309にプログラムとして記憶され、制御部308によって実行されるものとして説明する。ただし、以下で説明する機能構成の全てがソフトウェアで実行されてもよいし、機能構成の一部又は全部がハードウェアで実行されてもよい。
(Functional configuration of service utilization device)
Next, the functional configuration of the service using device (mobile phone 300) will be described with reference to FIG. FIG. 4 is a block diagram illustrating a functional configuration example of the mobile phone 300. The mobile phone 300 of this embodiment includes a UPnP search processing unit 410, an mDNS search processing unit 420, and a service use processing unit 430 as functional units. In the present embodiment, each functional block of the mobile phone 300 is described as being stored in the ROM 309 as a program and executed by the control unit 308, for example. However, all of the functional configurations described below may be executed by software, or a part or all of the functional configurations may be executed by hardware.

UPnP検索処理部410は、UPnPによって、デジタルカメラ100が提供するサービスの情報を検索する処理部である。UPnP検索処理部410は、SSDPのM−Searchメッセージをデジタルカメラ100へ送信し、デジタルカメラ100から応答信号(SSDPのResponseメッセージ)を受信して、デジタルカメラ100が提供するサービス情報を取得する。またUPnP検索処理部410は、デジタルカメラが送信するSSDPのNotifyメッセージを受信することで、デジタルカメラのサービス情報を取得してもよい。またUPnP検索処理部410は、カメラが送信するSSDPのByebyeメッセージ、およびNotifyメッセージを監視し、デジタルカメラ100のサービスが停止したことを検知してもよい。   The UPnP search processing unit 410 is a processing unit that searches for information on services provided by the digital camera 100 using UPnP. The UPnP search processing unit 410 transmits an SSDP M-Search message to the digital camera 100, receives a response signal (an SSDP Response message) from the digital camera 100, and acquires service information provided by the digital camera 100. The UPnP search processing unit 410 may obtain service information of the digital camera by receiving an SSDP Notify message transmitted from the digital camera. The UPnP search processing unit 410 may monitor the SSDP Byebye message and Notify message transmitted by the camera, and may detect that the service of the digital camera 100 has stopped.

mDNS検索処理部420は、mDNSによって、デジタルカメラ100が提供するサービスの情報を検索する処理部である。mDNS検索処理部420は、mDNSのQueryメッセージをデジタルカメラ100へ送信し、デジタルカメラ100から応答信号(mDNSのResponseメッセージ)を受信することで、デジタルカメラ100が提供するサービス情報を取得する。またmDNS検索処理部420は、デジタルカメラが送信するmDNSのAnnounceメッセージを受信することで、デジタルカメラのサービス情報を取得してもよい。またmDNS検索処理部420は、カメラが送信するmDNSのGoodbyeメッセージ、およびAnnounceメッセージを監視し、デジタルカメラのサービスが停止したことを検知する。   The mDNS search processing unit 420 is a processing unit that searches for information on services provided by the digital camera 100 using mDNS. The mDNS search processing unit 420 transmits an mDNS Query message to the digital camera 100 and receives a response signal (mDNS Response message) from the digital camera 100 to acquire service information provided by the digital camera 100. The mDNS search processing unit 420 may acquire service information of the digital camera by receiving an mDNS Announce message transmitted by the digital camera. The mDNS search processing unit 420 monitors the mDNS Goodbye message and Announce message transmitted by the camera, and detects that the service of the digital camera has stopped.

サービス利用処理部430は、携帯電話300がUPnP検索処理部410およびmDNS検索処理部420で発見したデジタルカメラ100が提供するサービスについて、実際に利用するための処理を行う。   The service use processing unit 430 performs a process for actually using the service provided by the digital camera 100 discovered by the mobile phone 300 using the UPnP search processing unit 410 and the mDNS search processing unit 420.

(サービス提供装置の動作)
次に、図5、図6、及び図8を用いて、本実施形態におけるサービス提供装置(デジタルカメラ100)の動作フローの一例を示す。図5は、デジタルカメラ100が、自らのサービス通知を開始した際の動作フローである。この処理は、例えば、デジタルカメラ100の電源オン、ユーザによるボタン操作等の操作実行、外部装置からのメッセージ受信などを契機に実行される。
(Operation of the service providing device)
Next, an example of an operation flow of the service providing apparatus (digital camera 100) according to the present embodiment will be described with reference to FIGS. FIG. 5 is an operation flow when the digital camera 100 starts its own service notification. This process is executed, for example, when the digital camera 100 is turned on, a user performs a button operation, or a message is received from an external device.

本処理が開始されると、デジタルカメラ100はUPnPによるサービス応答処理(S501)とmDNSによるサービス応答処理(S502)とを開始する。デジタルカメラ100は、UPnPによるサービス応答処理(S501)の開始後に、サービス利用装置からSSDPのM−Searchメッセージを受信すると、そのサービス利用装置へSSDPのResponseメッセージを送信する。また、デジタルカメラ100は、mDNSによるサービス応答処理(S502)を開始後に、サービス利用装置からmDNSのQueryを受信すると、そのサービス利用装置へmDNSのResponseを送信する。なお、これらの応答処理の開始時点では、デジタルカメラ100は、UPnPおよびmDNSのサービス通知メッセージ(SSDPのNotify、mDNSのAnnounceの各メッセージ)の送信は行わない。   When this process is started, the digital camera 100 starts a service response process (S501) by UPnP and a service response process (S502) by mDNS. When the digital camera 100 receives an SSDP M-Search message from the service using device after the service response processing (S501) by UPnP is started, the digital camera 100 transmits an SSDP Response message to the service using device. When the digital camera 100 receives the mDNS Query from the service using apparatus after starting the service response process (S502) by mDNS, the digital camera 100 transmits an mDNS Response to the service using apparatus. At the start of these response processes, the digital camera 100 does not transmit UPnP and mDNS service notification messages (SSDP Notify and mDNS Announce messages).

続いて、デジタルカメラ100は、サービス利用端末の監視処理を開始する(S503〜S516)。本実施形態では、デジタルカメラ100は、サービス利用端末から送信されるUPnPおよびmDNSのサービス情報要求メッセージの受信を監視することで、サービス利用端末の監視を行う。ここで、サービス利用装置がサービスを発見するのに用いた通信プロトコルを、サービス情報要求メッセージのプロトコル種別により判別することができる。すなわち、サービス情報要求メッセージが、UPnPのものであったか、mDNSのものであったかによって、サービス利用装置(携帯電話300)がサービスを発見したプロトコルを特定することができる。S503〜S516の処理は、デジタルカメラ100が、自らが提供するサービス通知を停止するまで繰り返される。例えば、デジタルカメラ100の電源オフ、ユーザによるボタン操作等の操作実行、外部装置からのメッセージ受信などを契機にサービス通知が停止される。   Subsequently, the digital camera 100 starts a service use terminal monitoring process (S503 to S516). In the present embodiment, the digital camera 100 monitors the service using terminal by monitoring the reception of UPnP and mDNS service information request messages transmitted from the service using terminal. Here, the communication protocol used for the service utilization device to discover the service can be determined by the protocol type of the service information request message. That is, it is possible to specify the protocol in which the service using device (mobile phone 300) has found the service depending on whether the service information request message is UPnP or mDNS. The processes from S503 to S516 are repeated until the digital camera 100 stops the service notification provided by itself. For example, the service notification is stopped when the power of the digital camera 100 is turned off, the user performs a button operation or the like, or a message is received from an external device.

デジタルカメラ100は、監視処理中にサービス利用端末からUPnPのサービス情報要求を受信すると(S504でYes)、要求の送信元にUPnPサービス情報応答メッセージを送信する(S505)。また、デジタルカメラ100は、UPnPをサポートするサービス利用端末として、要求の送信元を、図8に示すようなサービス利用端末管理テーブルに記憶する(S506)。ここで、デジタルカメラ100は、サービス情報要求メッセージの送信元を新たなサービス利用端末として発見した場合で、UPnPのサービス通知処理を停止中の場合(S507とS508でYes)、UPnPのサービス通知処理を開始する(S509)。その後、処理はS510へ遷移する。なお、UPnPのサービス通知処理を行っている間、デジタルカメラ100はUPnPのサービス通知メッセージを周期的かつ継続的に送信し続ける。   When the digital camera 100 receives a UPnP service information request from the service using terminal during the monitoring process (Yes in S504), the digital camera 100 transmits a UPnP service information response message to the request source (S505). In addition, the digital camera 100 stores the request source as a service use terminal that supports UPnP in a service use terminal management table as shown in FIG. 8 (S506). Here, when the digital camera 100 finds the transmission source of the service information request message as a new service use terminal and the UPnP service notification process is stopped (Yes in S507 and S508), the UPnP service notification process is performed. Is started (S509). Thereafter, the process proceeds to S510. During the UPnP service notification process, the digital camera 100 continues to transmit UPnP service notification messages periodically and continuously.

なお、UPnPのサービス情報要求を受信しなかった場合(S504でNo)は、デジタルカメラは100、S505〜S509の処理を行わずに、処理をS510へ遷移させる。また、新たなサービス利用端末を発見しない場合(S507でNo)、又はUPnPのサービス通知処理を実行中の場合(S508でNo)は、デジタルカメラ100は、S509の処理を実行せずに、処理をS510へ遷移させる。   If a UPnP service information request is not received (No in S504), the digital camera shifts the process to S510 without performing the processes of 100 and S505 to S509. When no new service using terminal is found (No in S507) or when the UPnP service notification process is being executed (No in S508), the digital camera 100 performs the process without executing the process of S509. To S510.

一方、デジタルカメラ100は、mDNSのサービス情報要求を受信すると(S510でYes)、要求の送信元にmDNSサービス情報応答メッセージを送信する(S511)。また、デジタルカメラ100は、mDNSをサポートするサービス利用端末として、要求の送信元を、図8に示すようなサービス利用端末管理テーブルに記憶する(S512)。ここで、デジタルカメラ100は、サービス情報要求メッセージの送信元を新たなサービス利用端末として発見した場合で、mDNSのサービス通知処理を停止中の場合(S513とS514でYes)、mDNSのサービス通知処理を開始する(S515)。そして、監視処理を継続する場合は、処理をS504へ戻す。なお、デジタルカメラ100は、mDNSのサービス通知処理を行っている間、mDNSのサービス通知メッセージを周期的かつ継続的に送信し続ける。   On the other hand, when receiving the mDNS service information request (Yes in S510), the digital camera 100 transmits an mDNS service information response message to the request source (S511). In addition, the digital camera 100 stores the request transmission source in a service use terminal management table as shown in FIG. 8 as a service use terminal that supports mDNS (S512). Here, when the digital camera 100 finds the transmission source of the service information request message as a new service use terminal and the mDNS service notification process is stopped (Yes in S513 and S514), the mDNS service notification process Is started (S515). If the monitoring process is to be continued, the process returns to S504. The digital camera 100 continues to transmit the mDNS service notification message periodically and continuously while performing the mDNS service notification process.

なお、mDNSのサービス情報要求を受信しなかった場合(S510でNo)は、デジタルカメラは100、S511〜S515の処理を行わない。また、新たなサービス利用端末を発見しない場合(S513でNo)、又はmDNSのサービス通知処理を実行中の場合(S514でNo)は、デジタルカメラ100は、S515の処理を実行しない。そして、これらの場合であって、監視処理を継続する場合は、処理をS504へ戻す。   When the mDNS service information request is not received (No in S510), the digital camera does not perform the processing of 100 and S511 to S515. When no new service using terminal is found (No in S513) or when the mDNS service notification process is being executed (No in S514), the digital camera 100 does not execute the process of S515. In these cases, when the monitoring process is continued, the process returns to S504.

なお、デジタルカメラ100は、上述のように、S506やS512において、サービス利用端末がUPnPやmDNSを利用可能であるかを示すサービス利用端末管理テーブルを管理する。サービス利用端末管理テーブルでは、図8のように、サービス利用端末の識別子(801)と、そのサービス利用端末がUPnPとmDNSのそれぞれをサポートするか否かを示すフラグ(802、803)とが関連付けられて記憶される。デジタルカメラ100は、サービス利用端末管理テーブルを参照することにより、各サービス利用端末がUPnPとmDNSをサポートするか否かを判定することができる。例えば、図8のサービス利用端末管理テーブルは、携帯電話A(300A)はUPnPをサポートするが、mDNSをサポートしていないことを示す。また、図8のサービス利用端末管理テーブルは、携帯電話B(300B)はUPnPとmDNSとの両方をサポートしており、携帯電話C(300C)はUPnPをサポートしていないが、mDNSをサポートしていることを示す。   As described above, the digital camera 100 manages the service use terminal management table indicating whether the service use terminal can use UPnP or mDNS in S506 and S512. In the service use terminal management table, as shown in FIG. 8, the service use terminal identifier (801) is associated with a flag (802, 803) indicating whether or not the service use terminal supports UPnP and mDNS. And memorized. The digital camera 100 can determine whether each service using terminal supports UPnP and mDNS by referring to the service using terminal management table. For example, the service using terminal management table of FIG. 8 indicates that the mobile phone A (300A) supports UPnP but does not support mDNS. In the service use terminal management table of FIG. 8, the mobile phone B (300B) supports both UPnP and mDNS, and the mobile phone C (300C) does not support UPnP, but supports mDNS. Indicates that

続いて、デジタルカメラ100が、UPnPおよびmDNSのサービス通知処理を停止する際の動作フローについて、図6を参照して説明する。この処理は、例えば、デジタルカメラ100におけるサービス提供の開始(S501、S502)後、タイマ管理によって定期的に実行される。ただし、ユーザによるデジタルカメラ100のボタン操作等の操作実行、外部装置からのメッセージ受信などを契機に本処理が実行されてもよい。   Next, an operation flow when the digital camera 100 stops the UPnP and mDNS service notification processing will be described with reference to FIG. This process is periodically executed by timer management after the start of service provision in the digital camera 100 (S501, S502), for example. However, this process may be executed when the user performs an operation such as a button operation on the digital camera 100 or a message is received from an external device.

まず、デジタルカメラ100は、サービス利用端末管理テーブル(800)を検索して各サービス利用端末が利用可能なプロトコルを特定し、UPnPのみサポートするサービス利用端末が存在するかどうかを判定する(S601)。すなわち、S601では、1つのプロトコル(UPnP)による通信を停止しても、他のプロトコル(mDNS)によってサービス(通信)が切断されないかどうかを判定する。判定結果がUPnPのみをサポートするサービス利用端末が存在しないことを示す場合(S601でNo)、デジタルカメラ100は、自らがUPnPのサービス通知処理を実行しているかどうかを判定する(S602)。そして、デジタルカメラ100は、UPnPのサービス通知処理を実行している場合(S602でYes)、UPnPのサービス通知処理を停止し(S603)、サービス利用端末に向けてUPnPのサービス消滅通知を送信する(S604)。すなわち、接続中のサービス利用端末が全てmDNSを利用可能である場合、UPnPによる接続は切断しても支障はないため、UPnPを利用中の場合は、そのプロトコルによる接続を切断する。   First, the digital camera 100 searches the service use terminal management table (800), identifies a protocol that can be used by each service use terminal, and determines whether there is a service use terminal that supports only UPnP (S601). . That is, in S601, it is determined whether the service (communication) is not disconnected by another protocol (mDNS) even if communication by one protocol (UPnP) is stopped. If the determination result indicates that there is no service using terminal that supports only UPnP (No in S601), the digital camera 100 determines whether or not it is executing UPnP service notification processing (S602). When the UPnP service notification process is being executed (Yes in S602), the digital camera 100 stops the UPnP service notification process (S603) and transmits a UPnP service disappearance notification to the service use terminal. (S604). That is, if all the service using terminals that are connected can use mDNS, there is no problem even if the connection by UPnP is disconnected. Therefore, when UPnP is being used, the connection by the protocol is disconnected.

なお、判定結果がUPnPのみをサポートしているサービス利用端末が存在することを示す場合(S601でYes)は、S602〜S604の処理は省略され、デジタルカメラ100は、処理をS605へ遷移させる。また、デジタルカメラ100がUPnPのサービス通知処理を実行していない場合(S602でNo)は、当該サービス通知処理が実行されていないため停止することもできない。このため、この場合もS603とS604の処理は省略され、デジタルカメラ100は、処理をS605へ遷移させる。   When the determination result indicates that there is a service using terminal that supports only UPnP (Yes in S601), the processing of S602 to S604 is omitted, and the digital camera 100 shifts the processing to S605. If the digital camera 100 is not executing UPnP service notification processing (No in S602), it cannot be stopped because the service notification processing is not executed. Therefore, also in this case, the processes of S603 and S604 are omitted, and the digital camera 100 shifts the process to S605.

次に、デジタルカメラ100は、サービス利用端末管理テーブル(800)を検索して各サービス利用端末が利用可能なプロトコルを特定し、mDNSのみサポートするサービス利用端末が存在するかどうかを判定する(S605)。すなわち、S605では、1つのプロトコル(mDNS)による通信を停止しても、他のプロトコル(UPnP)によってサービス(通信)が切断されないかどうかを判定する。判定結果がmDNSのみをサポートするサービス利用端末が存在しないことを示す場合(S605でNo)、デジタルカメラ100は、自らがmDNSのサービス通知処理を実行しているかどうかを判定する(S606)。そして、デジタルカメラ100は、mDNSのサービス通知処理を実行している場合(S606でYes)、mDNSのサービス通知処理を停止し(S607)、サービス利用端末に向けてmDNSのサービス消滅通知を送信する(S608)。すなわち、接続中のサービス利用端末が全てUPnPを利用可能である場合、mDNSによる接続は切断しても支障はないため、mDNSを利用中の場合は、そのプロトコルによる接続を切断する。   Next, the digital camera 100 searches the service use terminal management table (800), identifies a protocol that can be used by each service use terminal, and determines whether there is a service use terminal that supports only mDNS (S605). ). That is, in S605, it is determined whether the service (communication) is not disconnected by another protocol (UPnP) even if communication by one protocol (mDNS) is stopped. When the determination result indicates that there is no service using terminal that supports only mDNS (No in S605), the digital camera 100 determines whether or not it is executing mDNS service notification processing (S606). If the digital camera 100 is executing the mDNS service notification process (Yes in S606), the digital camera 100 stops the mDNS service notification process (S607) and transmits the mDNS service disappearance notification to the service using terminal. (S608). In other words, if all connected service using terminals can use UPnP, there is no problem even if the connection using mDNS is disconnected. Therefore, if mDNS is used, the connection using that protocol is disconnected.

なお、判定結果がmDNSのみをサポートしているサービス利用端末が存在することを示す場合(S605でYes)は、S606〜S608の処理は省略され、デジタルカメラ100は、図6のフローで表される処理を終了する。また、デジタルカメラ100がmDNSのサービス通知処理を実行していない場合(S606でNo)は、当該サービス通知処理が実行されていないため停止することもできない。このため、この場合もS607とS608の処理は省略され、デジタルカメラ100は、図6のフローで表される処理を終了する。   When the determination result indicates that there is a service using terminal that supports only mDNS (Yes in S605), the processing of S606 to S608 is omitted, and the digital camera 100 is represented by the flow of FIG. Terminate the process. Further, when the digital camera 100 is not executing the mDNS service notification process (No in S606), it cannot be stopped because the service notification process is not executed. Therefore, in this case as well, the processes of S607 and S608 are omitted, and the digital camera 100 ends the process represented by the flow of FIG.

なお、例えば、S601やS605における判定時に、サービス通知処理を実行していないプロトコルについては、全てのサービス利用装置がそのプロトコルをサポートしていないと判定してもよい。これにより、先にサービス通知処理を停止したプロトコルはサポートされていないと判定されるため、全てのプロトコルが停止することを防ぐことができる。   Note that, for example, at the time of determination in S601 or S605, for a protocol that does not execute service notification processing, it may be determined that not all service using devices support the protocol. As a result, it is determined that the protocol for which the service notification process has been stopped first is not supported, so that it is possible to prevent all the protocols from being stopped.

図6の処理では、サービス提供装置(デジタルカメラ100)は、利用中の複数の通信プロトコルのうち、1つのみをサポートしているサービス利用装置があると判定した場合は、その通信プロトコルによる接続を切断しないように制御される。一方、利用中の複数の通信プロトコルのうち1つのみをサポートしているサービス利用装置がないと判定した場合は、サービス提供装置は、その複数の通信プロトコルのうちいずれかによる接続を切断するように制御される。これにより、サービス提供装置とサービス利用装置との間の接続性を確保しながら、必要最低限の数の通信プロトコルを用いてサービスを提供することが可能となる。   In the process of FIG. 6, if the service providing apparatus (digital camera 100) determines that there is a service using apparatus that supports only one of a plurality of communication protocols in use, connection using the communication protocol is performed. It is controlled not to cut. On the other hand, if it is determined that there is no service using device that supports only one of the plurality of communication protocols being used, the service providing device may disconnect the connection using one of the plurality of communication protocols. Controlled. As a result, it is possible to provide a service using a minimum number of communication protocols while ensuring connectivity between the service providing apparatus and the service using apparatus.

(サービス利用装置の動作)
次に、サービス利用装置(携帯電話300)がデジタルカメラ100のサービスを検索する際の処理について、図7に示すフロー図を用いて説明する。本処理は、例えば、携帯電話300のユーザが、携帯電話300のボタン等を操作したことを契機に開始される。また、例えば、携帯電話300におけるタイマ等による自動実行命令が発出されたことや、外部装置からのメッセージ受信などを契機に、本処理が実施されてもよい。
(Operation of service using device)
Next, processing when the service using device (mobile phone 300) searches for the service of the digital camera 100 will be described with reference to the flowchart shown in FIG. This process is started, for example, when the user of the mobile phone 300 operates a button or the like of the mobile phone 300. Further, for example, this processing may be performed when an automatic execution command is issued by a timer or the like in the mobile phone 300 or when a message is received from an external device.

処理において、携帯電話300は、まず、自らがUPnPをサポートするか否かの判定(S701)、及び自らがmDNSをサポートするか否かの判定(S703)を実行する。そして、携帯電話300は、自らがUPnPをサポートする場合(S701でYes)、UPnPのサービス検索処理を開始し(S702)、処理をS703へ遷移させる。また、携帯電話300は、自らがmDNSをサポートする場合(S703でYes)、mDNSのサービス検索処理を開始し(S704)、処理をS705へ遷移させる。なお、携帯電話300は、自らがUPnPをサポートしない場合(S701でNo)はS702の処理を省略し、自らがmDNSをサポートしない場合(S703でNo)はS704の処理を省略する。   In the process, the mobile phone 300 first determines whether or not it supports UPnP (S701) and determines whether or not it supports mDNS (S703). If the mobile phone 300 supports UPnP (Yes in S701), the mobile phone 300 starts UPnP service search processing (S702), and shifts the processing to S703. If the mobile phone 300 supports mDNS (Yes in S703), the mobile phone 300 starts mDNS service search processing (S704), and shifts the processing to S705. If the mobile phone 300 does not support UPnP (No in S701), the process of S702 is omitted. If the mobile phone 300 does not support mDNS (No in S703), the process of S704 is omitted.

携帯電話300は、サービス検索処理(S702とS704)の実行を開始すると、UPnPとmDNSそれぞれのサービス情報要求メッセージを送信し、サービス情報応答メッセージとサービス情報通知メッセージを受信する。なお、携帯電話300は、例えば事前設定によって、UPnPとmDNSのそれぞれをサポートするかどうかを判定する。ただし、他の方法で判定を行ってもよく、例えば検索するサービスの種別ごとに判定方法が異なってもよく、携帯電話300のプログラムがUPnPやmDNSの機能を実装しているかどうかに応じて判定してもよい。   When the mobile phone 300 starts executing the service search process (S702 and S704), the mobile phone 300 transmits service information request messages for UPnP and mDNS, and receives a service information response message and a service information notification message. Note that the mobile phone 300 determines whether to support UPnP and mDNS, for example, by presetting. However, the determination may be made by other methods, for example, the determination method may be different for each type of service to be searched, and the determination is made depending on whether the program of the mobile phone 300 is equipped with a UPnP or mDNS function. May be.

サービス検索処理を開始すると(S702、S704)、携帯電話300はサービス情報応答メッセージ、サービス情報通知メッセージ、サービス消滅通知の受信を監視する。携帯電話300は、サービス情報応答またはサービス情報通知を受信すると(S705でYes)、受信したメッセージがサービス検索処理を実行中の通信プロトコルによるものであるかどうかを判定する(S706)。そして、携帯電話300は、サービス検索処理を実行中の通信プロトコルのメッセージを受信した場合(S706でYes)、発見したサービスの利用を開始する(S707)。なお、受信したメッセージがサービス検索処理を実行中でない通信プロトコルによるものであった場合は、処理をS705へ戻し、各種メッセージの受信の監視を継続する。   When the service search process is started (S702, S704), the mobile phone 300 monitors reception of a service information response message, a service information notification message, and a service disappearance notification. When the mobile phone 300 receives the service information response or the service information notification (Yes in S705), the mobile phone 300 determines whether the received message is based on the communication protocol that is executing the service search process (S706). When the mobile phone 300 receives a message of a communication protocol that is executing the service search process (Yes in S706), the mobile phone 300 starts using the found service (S707). If the received message is based on a communication protocol that is not executing the service search process, the process returns to S705 to continue monitoring the reception of various messages.

一方、携帯電話300は、サービス消滅通知を受信すると(S708でYes)、その通知に対応する通信プロトコル以外の通信プロトコルで、同一のサービスを発見しているかどうかを判定する(S709)。携帯電話300は、他の通信プロトコルでのサービスを発見している場合(S709でYes)、処理をS705へ戻し、そのまま、サービスの利用と、各種メッセージの受信監視とを継続する。すなわち、携帯電話300は、UPnPでもmDNSでも同一のサービスを発見している場合、UPnP又はmDNSどちらか一方のサービス消滅通知を受信しただけでは、サービスの利用を停止しない。S708で受信したサービス消滅通知の通信プロトコル以外でサービスを発見していない場合(S709でNo)、携帯電話300は当該サービスが消滅したと判断し、S707で開始したサービスの利用を停止する(S710)。   On the other hand, when receiving the service disappearance notification (Yes in S708), the mobile phone 300 determines whether the same service has been found using a communication protocol other than the communication protocol corresponding to the notification (S709). If the mobile phone 300 has found a service using another communication protocol (Yes in S709), the process returns to S705, and continues to use the service and monitor reception of various messages. That is, when the mobile phone 300 finds the same service in both UPnP and mDNS, the use of the service is not stopped only by receiving the service disappearance notification of either UPnP or mDNS. If no service is found other than the communication protocol of the service disappearance notification received in S708 (No in S709), the mobile phone 300 determines that the service has disappeared and stops using the service started in S707 (S710). ).

(通信システムの構成及び動作)
次に、デジタルカメラ100と携帯電話300とが参加する通信システムと、その通信システムにおける通信シーケンスの一例について、図9および図10を用いて解説する。図9は、通信システムの構成例を示す図である。本実施形態では、通信システム900は、デジタルカメラ100と3台の携帯電話(それぞれ携帯電話A(300A)、携帯電話B(300B)、携帯電話C(300C))が参加して構成される。デジタルカメラ100と携帯電話300A〜300Cのそれぞれは、無線LAN通信920を行う。携帯電話300A〜300Cのそれぞれは、図3と図4で示した機能を有し、図7のように動作する。なお本実施形態では、図8に示すように、携帯電話A(300A)はUPnPのみ、携帯電話B(300B)はUPnPおよびmDNSの両方、携帯電話C(300C)はmDNSのみをサポートするものとする。
(Configuration and operation of communication system)
Next, a communication system in which the digital camera 100 and the mobile phone 300 participate and an example of a communication sequence in the communication system will be described with reference to FIGS. FIG. 9 is a diagram illustrating a configuration example of a communication system. In this embodiment, the communication system 900 includes a digital camera 100 and three mobile phones (mobile phone A (300A), mobile phone B (300B), and mobile phone C (300C)). Each of the digital camera 100 and the mobile phones 300A to 300C performs wireless LAN communication 920. Each of the mobile phones 300A to 300C has the functions shown in FIGS. 3 and 4 and operates as shown in FIG. In this embodiment, as shown in FIG. 8, the cellular phone A (300A) supports only UPnP, the cellular phone B (300B) supports both UPnP and mDNS, and the cellular phone C (300C) supports only mDNS. To do.

図10は図9の通信システムにおける、デジタルカメラ100と携帯電話300A〜300Cとの間の通信シーケンスの一例を表す。なお、初期状態として、デジタルカメラ100と3台の携帯電話300A〜300Cは無線LANで接続されているものとする。   FIG. 10 shows an example of a communication sequence between the digital camera 100 and the mobile phones 300A to 300C in the communication system of FIG. As an initial state, it is assumed that the digital camera 100 and the three mobile phones 300A to 300C are connected by a wireless LAN.

図の処理では、まず、デジタルカメラ100のユーザが、例えば画像交換サービスを開始するためにデジタルカメラ100を操作する(S1001)。その操作が行われると、デジタルカメラ100はUPnPのサービス応答処理を開始する(S1002)と共に、mDNSのサービス応答処理を開始する(S1003)。   In the illustrated process, first, the user of the digital camera 100 operates the digital camera 100 to start an image exchange service, for example (S1001). When the operation is performed, the digital camera 100 starts UPnP service response processing (S1002) and also starts mDNS service response processing (S1003).

一方、携帯電話A(300A)のユーザは、画像交換サービスを開始するために携帯電話Aを操作したとする(S1004)。その操作が行われると、携帯電話A(300A)はUPnPのサービス情報要求を送信する(S1005)。デジタルカメラ100はサービス情報要求を受信すると(S1005)、携帯電話AにUPnPのサービス情報応答を送信し(S1006)、UPnPのサービス通知処理を開始する(S1007)。これ以降、デジタルカメラ100はUPnPのサービス情報通知メッセージを周期的に送信する(S1009、S1010)。携帯電話A(300A)は、サービス情報応答(S1006)を受信すると、デジタルカメラ100との画像交換サービスを開始する(S1008)。   On the other hand, it is assumed that the user of the mobile phone A (300A) operates the mobile phone A to start the image exchange service (S1004). When the operation is performed, the mobile phone A (300A) transmits a UPnP service information request (S1005). Upon receiving the service information request (S1005), the digital camera 100 transmits a UPnP service information response to the mobile phone A (S1006), and starts UPnP service notification processing (S1007). Thereafter, the digital camera 100 periodically transmits UPnP service information notification messages (S1009, S1010). When receiving the service information response (S1006), the cellular phone A (300A) starts an image exchange service with the digital camera 100 (S1008).

続いて、携帯電話B(300B)のユーザが、画像交換サービスを開始するために携帯電話B(300B)を操作したとする(S1011)。この操作が行われると、携帯電話B(300B)はUPnPのサービス情報要求の送信(S1012)と、mDNSのサービス情報要求の送信(S1013)を実行する。デジタルカメラ100は、これらのサービス情報要求を受信すると(S1012、S1013)、携帯電話BにUPnPのサービス情報応答(S1014)とmDNSのサービス情報応答(S1016)とを送信する。また、デジタルカメラ100は、mDNSのサービス情報要求(S1013)の受信を契機に、mDNSのサービス通知処理を開始する(S1017)。これ以降、デジタルカメラ100はmDNSのサービス情報通知メッセージを周期的に送信する(S1018、S1019)。携帯電話B(300B)は、サービス情報応答(S1014)を受信すると、デジタルカメラ100との画像交換サービスを開始する(S1015)。   Subsequently, it is assumed that the user of the mobile phone B (300B) operates the mobile phone B (300B) to start the image exchange service (S1011). When this operation is performed, the cellular phone B (300B) executes UPnP service information request transmission (S1012) and mDNS service information request transmission (S1013). Upon receiving these service information requests (S1012, S1013), the digital camera 100 transmits a UPnP service information response (S1014) and an mDNS service information response (S1016) to the mobile phone B. Further, the digital camera 100 starts mDNS service notification processing upon receiving the mDNS service information request (S1013) (S1017). Thereafter, the digital camera 100 periodically transmits an mDNS service information notification message (S1018, S1019). Upon receiving the service information response (S1014), the cellular phone B (300B) starts an image exchange service with the digital camera 100 (S1015).

デジタルカメラ100は、例えばサービス通知処理の停止判定処理を行うためのタイマが満了すると(S1020)、図6に示す判定処理を行う。本実施形態では、S1020の段階で、mDNSのみをサポートするサービス利用端末(携帯電話)が存在しないため、デジタルカメラ100は、mDNSのサービス通知処理を停止し(S1021)、mDNSのサービス消滅通知を送信する(S1022)。この時点で、デジタルカメラ100は、S1017で開始したmDNSのサービス情報通知メッセージの周期的送信処理を停止する。携帯電話B(300B)は、S1022のサービス消滅通知を受信するが、S1014でUPnPでもデジタルカメラ100のサービスを発見しているので、画像交換サービスの利用を継続する。   For example, when the timer for performing the service notification process stop determination process expires (S1020), the digital camera 100 performs the determination process illustrated in FIG. In this embodiment, since there is no service using terminal (mobile phone) that supports only mDNS at the stage of S1020, the digital camera 100 stops the mDNS service notification process (S1021), and notifies the mDNS service disappearance notification. Transmit (S1022). At this time, the digital camera 100 stops the periodic transmission processing of the mDNS service information notification message started in S1017. The mobile phone B (300B) receives the service disappearance notification in S1022, but since the service of the digital camera 100 has been found even in UPnP in S1014, the use of the image exchange service is continued.

この後に、携帯電話C(300C)のユーザが、画像交換サービスを開始するために携帯電話C(300C)を操作したとする(S1023)。携帯電話C(300C)はmDNSのサービス情報要求を送信する(S1024)。デジタルカメラ100はサービス情報要求(S1024)を受信すると、携帯電話CにmDNSのサービス情報応答を送信し(S1025)、mDNSのサービス通知処理を再開する(S1026)。これ以降、デジタルカメラ100はmDNSのサービス情報通知メッセージを周期的に送信する(S1028)。サービス情報応答(S1025)を受信した携帯電話C(300C)は、デジタルカメラ100との画像交換サービスを開始する(S1027)。   Thereafter, it is assumed that the user of the mobile phone C (300C) operates the mobile phone C (300C) to start the image exchange service (S1023). The cellular phone C (300C) transmits an mDNS service information request (S1024). Upon receiving the service information request (S1024), the digital camera 100 transmits an mDNS service information response to the mobile phone C (S1025), and resumes the mDNS service notification process (S1026). Thereafter, the digital camera 100 periodically transmits an mDNS service information notification message (S1028). The mobile phone C (300C) that has received the service information response (S1025) starts an image exchange service with the digital camera 100 (S1027).

以上説明したように、本実施形態のデジタルカメラ100は、必要最低限の数の通信プロトコルで全てのサービス利用端末がサービスを利用できるように、サービス情報通知を行う通信プロトコルを制限する。これにより、接続性を損なうことなく、消費電力およびネットワーク負荷の低減を図ることが可能となる。   As described above, the digital camera 100 according to the present embodiment limits the communication protocol for performing service information notification so that all service using terminals can use the service with the minimum number of communication protocols. This makes it possible to reduce power consumption and network load without impairing connectivity.

<<実施形態2>>
実施形態1では、サービス提供装置であるデジタルカメラ100が、サービス提供を開始する時点でサービス情報要求メッセージに対する応答処理のみを開始するとした。しかしながら本発明は、これに限定されない。本実施形態では、サービス提供装置(デジタルカメラ100)が、サービス提供開始時点でサービスの通知処理と応答処理を開始する場合の例について説明する。なお、本実施形態におけるデジタルカメラおよび携帯電話のハードウェア構成、機能構成は、実施形態1と同様に図1〜図4で示される形態をとるため、説明を省略する。
<< Embodiment 2 >>
In the first embodiment, it is assumed that the digital camera 100 that is a service providing apparatus starts only a response process to a service information request message when starting to provide a service. However, the present invention is not limited to this. In the present embodiment, an example will be described in which the service providing apparatus (digital camera 100) starts service notification processing and response processing at the start of service provision. Note that the hardware configuration and functional configuration of the digital camera and mobile phone in the present embodiment take the form shown in FIGS.

(サービス提供装置及びサービス利用装置の動作)
図11は、デジタルカメラ100が、自らが提供するサービス通知を開始した際に実行される処理の動作を示すフロー図である。この処理は、実施形態1と同様に、例えば、デジタルカメラ100の電源オン、ユーザによるボタン操作等によるデジタルカメラ100の操作実行、外部装置からのメッセージ受信などを契機に実行される。
(Operation of service providing device and service using device)
FIG. 11 is a flowchart showing an operation of processing executed when the digital camera 100 starts a service notification provided by itself. Similar to the first embodiment, this process is executed when the digital camera 100 is powered on, the digital camera 100 is operated by a button operation by the user, or a message is received from an external device.

デジタルカメラ100は、本処理を開始すると、UPnPおよびmDNSによるサービス応答処理および通知処理を開始する(S1101、S1102)。デジタルカメラ100は、UPnPによるサービス応答処理を開始後、サービス利用装置からのUPnPのサービス情報要求メッセージを受信すると、これに対する応答信号を送信する。さらに、デジタルカメラ100は、UPnPによるサービス通知処理の開始後、UPnPのサービス通知処理を停止するまで、UPnPのサービス通知メッセージを周期的に送信し続ける。また、デジタルカメラ100は、mDNSによるサービス応答処理を開始後、サービス利用装置からのmDNSのサービス情報要求メッセージを受信すると、これに対する応答信号を送信する。さらに、デジタルカメラ100は、mDNSによるサービス通知処理の開始後、mDNSのサービス通知処理を停止するまで、mDNSのサービス通知メッセージを周期的に送信し続ける。   When this process is started, the digital camera 100 starts service response processing and notification processing using UPnP and mDNS (S1101, S1102). When the digital camera 100 receives the UPnP service information request message from the service using apparatus after starting the service response process using UPnP, the digital camera 100 transmits a response signal. Further, the digital camera 100 continues to periodically transmit UPnP service notification messages until the UPnP service notification process is stopped after the UPnP service notification process is started. In addition, when the digital camera 100 receives the mDNS service information request message from the service using apparatus after starting the service response process by mDNS, the digital camera 100 transmits a response signal thereto. Further, after the service notification process by mDNS is started, the digital camera 100 continues to periodically transmit the mDNS service notification message until the mDNS service notification process is stopped.

なお、S1103〜S1116の処理は、実施形態1における図5のS503〜S516と同様の処理である。このため、ここでは説明を省略する。また、デジタルカメラ100においてサービス通知処理を停止する際の動作フロー、デジタルカメラ100が管理するサービス利用端末管理テーブル、携帯電話300がサービスを検索する際の動作フローは実施形態1と同様であるため、説明を省略する。   Note that the processing of S1103 to S1116 is the same processing as S503 to S516 of FIG. For this reason, explanation is omitted here. The operation flow when the service notification process is stopped in the digital camera 100, the service use terminal management table managed by the digital camera 100, and the operation flow when the mobile phone 300 searches for the service are the same as those in the first embodiment. The description is omitted.

(通信システムの動作)
図12は、本実施形態におけるデジタルカメラ100と携帯電話(300A〜300C)の間の通信シーケンスの一例である。なお、通信システムの構成は実施形態1と同様、図9で示す構成であるものとする。なお、初期状態として、デジタルカメラ100と3台の携帯電話(300A〜300C)は無線LANで接続済みであるものとする。
(Operation of communication system)
FIG. 12 is an example of a communication sequence between the digital camera 100 and the mobile phone (300A to 300C) in the present embodiment. The configuration of the communication system is assumed to be the configuration shown in FIG. As an initial state, it is assumed that the digital camera 100 and the three mobile phones (300A to 300C) are already connected by a wireless LAN.

まず、デジタルカメラ100のユーザが、画像交換サービスを開始するためにデジタルカメラ100を操作する(S1201)。この操作が行われると、デジタルカメラ100はUPnPのサービス応答処理(S1202)、mDNSのサービス応答処理(S1203)、UPnPのサービス通知処理(S1204)、およびmDNSのサービス通知処理(S1205)を開始する。そして、デジタルカメラ100は、これ以降、UPnPおよびmDNSのサービス情報通知メッセージを周期的に送信する(S1206、S1207)。   First, the user of the digital camera 100 operates the digital camera 100 to start the image exchange service (S1201). When this operation is performed, the digital camera 100 starts UPnP service response processing (S1202), mDNS service response processing (S1203), UPnP service notification processing (S1204), and mDNS service notification processing (S1205). . Thereafter, the digital camera 100 periodically transmits UPnP and mDNS service information notification messages (S1206, S1207).

一方、携帯電話A(300A)のユーザが、画像交換サービスを開始するために携帯電話A(300A)を操作したとする(S1208)。この操作が行われると、携帯電話A(300A)はUPnPのサービス情報要求を送信する(S1209)。デジタルカメラ100は、サービス情報要求を受信すると(S1209)、携帯電話AにUPnPのサービス情報応答を送信する(S1210)。携帯電話A(300A)は、サービス情報応答を受信すると(S1210)、デジタルカメラ100との画像交換サービスを開始する(S1211)。   On the other hand, assume that the user of the mobile phone A (300A) operates the mobile phone A (300A) to start the image exchange service (S1208). When this operation is performed, the cellular phone A (300A) transmits a UPnP service information request (S1209). Upon receiving the service information request (S1209), the digital camera 100 transmits a UPnP service information response to the mobile phone A (S1210). When receiving the service information response (S1210), the cellular phone A (300A) starts an image exchange service with the digital camera 100 (S1211).

続いて、携帯電話B(300B)のユーザが、画像交換サービスを開始するために携帯電話B(300B)を操作したとする(S1212)。この操作が行われると、携帯電話B(300B)は、UPnPのサービス情報要求の送信(S1213)と、mDNSのサービス情報要求の送信(S1214)とを実行する。デジタルカメラ100はサービス情報要求を受信すると(S1213、S1214)、携帯電話BにUPnPのサービス情報応答(S1215)とmDNSのサービス情報応答(S1217)を送信する。携帯電話B(300B)は、サービス情報応答を受信すると(S1215)、デジタルカメラ100との画像交換サービスを開始する(S1216)。   Subsequently, it is assumed that the user of the mobile phone B (300B) operates the mobile phone B (300B) to start the image exchange service (S1212). When this operation is performed, the cellular phone B (300B) executes UPnP service information request transmission (S1213) and mDNS service information request transmission (S1214). Upon receiving the service information request (S1213, S1214), the digital camera 100 transmits a UPnP service information response (S1215) and an mDNS service information response (S1217) to the mobile phone B. When the mobile phone B (300B) receives the service information response (S1215), it starts an image exchange service with the digital camera 100 (S1216).

デジタルカメラ100は、例えば、サービス通知処理の停止判定処理を行うためのタイマが満了すると(S1218)、図6に示すような判定処理を行う。S1218の段階では、mDNSのみをサポートするサービス利用端末(携帯電話)が存在しないため、デジタルカメラ100はmDNSのサービス通知処理を停止し(S1219)、mDNSのサービス消滅通知を送信する(S1220)。この時点で、デジタルカメラ100は、S1205で開始したmDNSのサービス情報通知メッセージの周期的送信処理を停止する。携帯電話B(300B)は、S1220のサービス消滅通知を受信するが、S1215でUPnPでもデジタルカメラ100のサービスを発見しているので、画像交換サービスの利用を継続する。   For example, when the timer for performing the service notification process stop determination process expires (S1218), the digital camera 100 performs a determination process as illustrated in FIG. In step S1218, since there is no service using terminal (mobile phone) that supports only mDNS, the digital camera 100 stops the mDNS service notification process (S1219) and transmits an mDNS service disappearance notification (S1220). At this point, the digital camera 100 stops the periodic transmission processing of the mDNS service information notification message started in S1205. The mobile phone B (300B) receives the service disappearance notification in S1220, but since the service of the digital camera 100 has been found even in UPnP in S1215, the use of the image exchange service is continued.

この後、携帯電話C(300C)のユーザが、画像交換サービスを開始するために携帯電話C(300C)を操作したとする(S1221)。すると、携帯電話C(300C)は、mDNSのサービス情報要求を送信する(S1222)。デジタルカメラ100はサービス情報要求(S1222)を受信すると、携帯電話C(300C)にmDNSのサービス情報応答を送信し(S1223)、mDNSのサービス通知処理を再開する(S1224)。これ以降、デジタルカメラ100はmDNSのサービス情報通知メッセージを周期的に送信する(S1226)。サービス情報応答(S1223)を受信した携帯電話C(300C)は、デジタルカメラ100との画像交換サービスを開始する(S1225)。   Thereafter, it is assumed that the user of the mobile phone C (300C) operates the mobile phone C (300C) to start the image exchange service (S1221). Then, the cellular phone C (300C) transmits an mDNS service information request (S1222). Upon receiving the service information request (S1222), the digital camera 100 transmits an mDNS service information response to the mobile phone C (300C) (S1223), and restarts the mDNS service notification process (S1224). Thereafter, the digital camera 100 periodically transmits an mDNS service information notification message (S1226). The mobile phone C (300C) that has received the service information response (S1223) starts an image exchange service with the digital camera 100 (S1225).

実施形態2の方法によっても、サービス提供装置とサービス利用装置との間の接続性を確保しながら、必要最低限の数の通信プロトコルのみを動作させることが可能となる。   Also according to the method of the second embodiment, it is possible to operate only the minimum necessary number of communication protocols while ensuring the connectivity between the service providing apparatus and the service using apparatus.

なお、実施形態1及び2において、複数の通信プロトコルとはUPnPとmDNSであるとしたが、これに限定されない。またこれらの実施形態では、サービス提供装置がサポートする通信プロトコルは2種類であるとしたが、3種類以上の通信プロトコルを使用しても良い。   In the first and second embodiments, the plurality of communication protocols are UPnP and mDNS, but are not limited thereto. In these embodiments, the service providing apparatus supports two types of communication protocols. However, three or more types of communication protocols may be used.

また、実施形態1及び2では、サービス提供装置は、サービス利用装置からのサービス情報要求メッセージに含まれるプロトコル種別を用いて、サービス利用装置がサービスを発見するのに用いた通信プロトコルを判定すると説明した。しかし、サービス利用装置が利用した通信プロトコルの判定方法はこれに限られない。たとえば、サービス提供装置が、サービス利用装置に対して、使用した通信プロトコルの種別の情報を要求する要求メッセージを送信しても良い。あるいは、サービス提供装置において、サービス利用装置がサポートする通信プロトコルの種別を事前に設定しておいても良い。   In the first and second embodiments, the service providing apparatus uses the protocol type included in the service information request message from the service using apparatus to determine the communication protocol used by the service using apparatus to find the service. did. However, the method for determining the communication protocol used by the service using device is not limited to this. For example, the service providing apparatus may transmit a request message requesting information on the type of communication protocol used to the service using apparatus. Alternatively, in the service providing apparatus, the type of communication protocol supported by the service using apparatus may be set in advance.

また、実施形態1及び2では、サービス提供装置がサービス通知処理停止を判定する際に、UPnPについて判定した後にmDNSについての判定を行っている。この場合、全てのサービス利用装置がUPnPもmDNSも両方使用している場合には、必ずUPnPサービス通知処理が停止されることになる。しかしながら、本発明はこれに限定されるものではない。サービス通知処理を停止することができる通信プロトコルが複数あった場合、例えば事前の設定によって、所定の通信プロトコルの種別を停止するようにしても良い。また、通信プロトコルが3つ以上の場合は、それらの通信プロトコルでの通信について維持すべき優先順序を予め定め、優先順序の低い順に通信プロトコルを停止するようにしてもよい。あるいは、サービス通知処理にかかる処理負荷の大きい通信プロトコルから順に、サービス通知処理を停止する通信プロトコルとして選択してもよい。さらに、処理負荷と、通信速度などの処理能力との評価関数を用いて、処理負荷に対する処理能力の効率の高い通信プロトコルを可能な限り維持するように、停止すべき通信プロトコルを決定してもよい。   In the first and second embodiments, when the service providing apparatus determines to stop the service notification process, it determines mDNS after determining UPnP. In this case, when all the service using devices use both UPnP and mDNS, the UPnP service notification process is always stopped. However, the present invention is not limited to this. When there are a plurality of communication protocols capable of stopping the service notification process, for example, a predetermined communication protocol type may be stopped by a prior setting. Further, when there are three or more communication protocols, a priority order to be maintained for communication using these communication protocols may be determined in advance, and the communication protocols may be stopped in order of decreasing priority order. Or you may select as a communication protocol which stops a service notification process in an order from the communication protocol with a large processing load concerning a service notification process. Furthermore, by using an evaluation function of the processing load and the processing capability such as the communication speed, the communication protocol to be stopped can be determined so as to maintain a communication protocol with a high processing capability with respect to the processing load as much as possible. Good.

以上、本発明の代表的な実施形態について説明した。しかしながら、本発明は、上述及び図面に示す実施形態に限定されることはなく、その要旨を変更しない範囲内で適宜変形して実施できる。   The exemplary embodiments of the present invention have been described above. However, the present invention is not limited to the embodiments described above and shown in the drawings, and can be implemented with appropriate modifications within a range not changing the gist thereof.

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

Claims (11)

複数の通信プロトコルの少なくともいずれかを利用して、複数の他の装置と通信を行う通信装置であって、
利用中の複数の通信プロトコルのうち、前記複数の他の装置が利用可能な通信プロトコルを判定する判定手段と、
前記判定手段による判定結果に基づいて、利用中の複数の通信プロトコルのうち、利用を停止しても、当該利用中の複数の通信プロトコルに含まれる他の通信プロトコルによって、前記複数の他の装置のそれぞれとの間の通信が維持される通信プロトコルについて、利用を停止する停止手段と、
を有することを特徴とする通信装置。
A communication device that communicates with a plurality of other devices using at least one of a plurality of communication protocols,
A determination unit that determines a communication protocol that can be used by the plurality of other devices among a plurality of communication protocols in use;
Based on the determination result by the determination unit, among the plurality of communication protocols in use, be suspended use by other communication protocols included in the plurality of communication protocols in the use, the plurality of other devices Stop means for stopping the use of the communication protocol in which communication with each of the communication protocols is maintained;
A communication apparatus comprising:
前記複数の他の装置から受信した信号について、通信プロトコルを特定する特定手段と、
前記特定手段で特定された通信プロトコルを利用して当該複数の他の装置との間で通信を開始する開始手段と、
をさらに有することを特徴とする請求項1に記載の通信装置。
The signals received from the plurality of other devices, specifying means for specifying a communication protocol,
Start means for starting communication with the plurality of other devices using the communication protocol specified by the specifying means;
The communication apparatus according to claim 1, further comprising:
ネットワークに参加している複数の他の通信装置と、複数の通信プロトコルでの通信が可能な通信装置であって、
前記通信装置が有する機能に関する情報の要求を、前記複数の他の通信装置から受信する受信手段と、
受信した前記要求に基づいて、前記複数の他の通信装置が利用可能な通信プロトコルを判定する判定手段と、
前記受信手段により前記要求を受信したことに応じて、前記判定手段により判定された通信プロトコルを利用して、前記通信装置が有する機能に関する情報の報知を開始する報知手段と、
前記判定手段により前記複数の他の通信装置が利用可能と判定された通信プロトコルに基づいて、前記通信装置が有する機能に関する情報の報知に利用中の複数の通信プロトコルのうち、利用を停止しても、当該利用中の複数の通信プロトコルに含まれる他の通信プロトコルによって、前記複数の他の通信装置のそれぞれへの情報の報知が可能である通信プロトコルについて、利用を停止する停止手段と、
を有することを特徴とする通信装置。
A communication device capable of communicating with a plurality of other communication devices participating in a network using a plurality of communication protocols,
Receiving means for receiving a request for information on the function of the communication device from the plurality of other communication devices;
Determination means for determining a communication protocol that can be used by the plurality of other communication devices based on the received request;
Informing means for initiating notification of information on the function of the communication device using the communication protocol determined by the determining means in response to receiving the request by the receiving means;
Based on the communication protocol determined by the determining means to be usable by the plurality of other communication devices, the use is stopped among the plurality of communication protocols that are being used for reporting information on the functions of the communication device. Also, with respect to a communication protocol that can be notified of information to each of the plurality of other communication devices by another communication protocol included in the plurality of communication protocols that are being used, stop means for stopping the use,
A communication apparatus comprising:
前記判定手段は、前記要求に用いられた通信プロトコルから、前記複数の他の通信装置が利用可能な通信プロトコルを判定する、
ことを特徴とする請求項3に記載の通信装置。
The determination means determines a communication protocol that can be used by the plurality of other communication devices from the communication protocol used for the request.
The communication apparatus according to claim 3.
前記停止手段は、利用中の複数の通信プロトコルに含まれる1つの通信プロトコルであって、前記複数の他の装置のいずれもが、当該1つの通信プロトコルと異なる通信プロトコルを利用可能である場合は、当該1つの通信プロトコルの利用を停止する、
ことを特徴とする請求項1から4のいずれか1項に記載の通信装置。
The stop means is one communication protocol included in a plurality of communication protocols being used, and any of the plurality of other devices can use a communication protocol different from the one communication protocol. , Stop using the one communication protocol,
The communication apparatus according to any one of claims 1 to 4 , wherein the communication apparatus is characterized in that:
前記停止手段は、利用中の複数の通信プロトコルの処理負荷に応じて、切断する通信プロトコルを選択する、
ことを特徴とする請求項1から5のいずれか1項に記載の通信装置。
The stop means selects a communication protocol to be disconnected in accordance with processing loads of a plurality of communication protocols being used.
The communication apparatus according to any one of claims 1 to 5 , wherein:
前記停止手段は、利用中の複数の通信プロトコルのうち、利用を停止しても、当該利用中の複数の通信プロトコルに含まれる他の通信プロトコルによって、前記複数の他の装置のそれぞれとの間の通信が維持される通信プロトコルが複数あった場合は、事前の設定で定められた通信プロトコルの利用を停止する、
ことを特徴とする請求項1から6のいずれか1項に記載の通信装置。
Even if the use of the plurality of communication protocols that are being used is stopped, the stop unit may be connected to each of the plurality of other devices by using another communication protocol included in the plurality of communication protocols that are being used. If there are multiple communication protocols that can be maintained, stop using the communication protocol defined in the previous settings.
Communication apparatus according to any one of claims 1 6, characterized in that.
前記判定手段による判定は定期的に実行される、
ことを特徴とする請求項1からのいずれか1項に記載の通信装置。
The determination by the determination means is periodically executed.
Communication apparatus according to any one of claims 1 7, characterized in that.
複数の通信プロトコルの少なくともいずれかを利用して、複数の他の装置と通信を行う通信装置における制御方法であって、
判定手段が、利用中の複数の通信プロトコルのうち、前記複数の他の装置が利用可能な通信プロトコルを判定する判定工程と、
停止手段が、前記判定工程における判定結果に基づいて、利用中の複数の通信プロトコルのうち、利用を停止しても、当該利用中の複数の通信プロトコルに含まれる他の通信プロトコルによって前記複数の他の装置のそれぞれとの間の通信が維持される通信プロトコルについて、利用を停止する停止工程と、
を有することを特徴とする制御方法。
A control method in a communication device that communicates with a plurality of other devices using at least one of a plurality of communication protocols,
A determination step of determining a communication protocol that can be used by the plurality of other devices among the plurality of communication protocols being used;
Stop means, on the basis of the determination result in the determination step, among the plurality of communication protocols in use, be suspended use, the plurality of the other communication protocols included in the plurality of communication protocols in the use For a communication protocol in which communication with each of the other devices is maintained, a stop process for stopping use,
A control method characterized by comprising:
ネットワークに参加している複数の他の通信装置と、複数の通信プロトコルでの通信が可能な通信装置における制御方法であって、
受信手段が、前記通信装置が有する機能に関する情報の要求を、前記複数の他の通信装置から受信する受信工程と、
判定手段が、受信した前記要求に基づいて、前記複数の他の通信装置が利用可能な通信プロトコルを判定する判定工程と、
報知手段が、前記受信工程において前記要求を受信したことに応じて、前記判定工程において判定された通信プロトコルを利用して、前記通信装置が有する機能に関する情報の報知を開始する報知工程と、
停止手段が、前記判定工程において前記複数の他の通信装置が利用可能と判定された通信プロトコルに基づいて、前記通信装置が有する機能に関する情報の報知に利用中の複数の通信プロトコルのうち、利用を停止しても、当該利用中の複数の通信プロトコルに含まれる他の通信プロトコルによって、前記複数の他の通信装置のそれぞれへの情報の報知が可能である通信プロトコルについて、利用を停止する停止工程と、
を有することを特徴とする制御方法。
A control method in a communication device capable of communicating with a plurality of other communication devices participating in a network with a plurality of communication protocols,
A receiving step for receiving a request for information on the function of the communication device from the plurality of other communication devices;
A determination step of determining a communication protocol that can be used by the plurality of other communication devices based on the received request;
A notification step of starting notification of information on the function of the communication device using the communication protocol determined in the determination step in response to the notification unit receiving the request in the reception step;
Based on the communication protocol that is determined to be usable by the plurality of other communication devices in the determination step, the stopping unit is used among a plurality of communication protocols that are being used for reporting information about the functions of the communication device. Stopping the use of a communication protocol that can notify information to each of the plurality of other communication devices by another communication protocol included in the plurality of communication protocols being used even if the communication is stopped Process,
A control method characterized by comprising:
コンピュータを請求項1からのいずれか1項に記載の通信装置が備える各手段として機能させるためのプログラム。 The program for functioning a computer as each means with which the communication apparatus of any one of Claim 1 to 8 is provided.
JP2012017269A 2012-01-30 2012-01-30 Communication device, control method, and program Expired - Fee Related JP5860293B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012017269A JP5860293B2 (en) 2012-01-30 2012-01-30 Communication device, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012017269A JP5860293B2 (en) 2012-01-30 2012-01-30 Communication device, control method, and program

Publications (2)

Publication Number Publication Date
JP2013156858A JP2013156858A (en) 2013-08-15
JP5860293B2 true JP5860293B2 (en) 2016-02-16

Family

ID=49051967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012017269A Expired - Fee Related JP5860293B2 (en) 2012-01-30 2012-01-30 Communication device, control method, and program

Country Status (1)

Country Link
JP (1) JP5860293B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6363871B2 (en) * 2014-05-16 2018-07-25 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
US11057951B2 (en) 2018-03-12 2021-07-06 Canon Kabushiki Kaisha Communication apparatus, method of controlling communication apparatus, and non-transitory computer-readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4677270B2 (en) * 2005-04-08 2011-04-27 キヤノン株式会社 Communication apparatus and control method
JP4541992B2 (en) * 2005-08-02 2010-09-08 キヤノン株式会社 Network device, control method thereof, and program
JP5152245B2 (en) * 2010-04-09 2013-02-27 ブラザー工業株式会社 Management device and program

Also Published As

Publication number Publication date
JP2013156858A (en) 2013-08-15

Similar Documents

Publication Publication Date Title
KR101944736B1 (en) Communication apparatus and control method of communication apparatus
JP6335466B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP6278031B2 (en) Data processing system, data processing apparatus, and data processing method
JP6245907B2 (en) Communication apparatus and communication system
JP6282046B2 (en) Information processing apparatus, control method for information processing apparatus, and program
JP6393030B2 (en) Transmission device, reception device, control method, program, and transmission / reception system
JP2011004389A (en) Communication equipment and control method therefor
GB2570574A (en) Communication system, communication apparatus, and control method therefor
JP5063408B2 (en) Management device, control method and program
JP2017034297A (en) Communication apparatus, control method therefor, and program
JP5448489B2 (en) Information processing apparatus and control method thereof, information processing system, and program
EP2252008B1 (en) Communication apparatus and method for controlling a communication apparatus
JP5917103B2 (en) Information processing apparatus, information processing method, and program
JP5860293B2 (en) Communication device, control method, and program
JP2017062626A (en) Communication device, control method thereof, and program
JP6202826B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2017017594A (en) Communication device, control method, and program
JP2010157977A (en) Communication apparatus and method of controlling the same
JP2010147724A (en) Communication apparatus, providing apparatus, control method, program and system
JP2002164901A (en) Master/slave setting method and communication controller and network system
JP7328754B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2016081450A (en) Communication equipment, control method for communication equipment, and computer program
JP2007027940A (en) Method for transmitting data file and wireless communication apparatus
JP6512798B2 (en) Communication apparatus, control method, and program
JP7086743B2 (en) Communication device, control method of communication device, program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140925

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150716

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150724

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150901

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151218

R151 Written notification of patent or utility model registration

Ref document number: 5860293

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees