JP5860293B2 - Communication device, control method, and program - Google Patents
Communication device, control method, and program Download PDFInfo
- 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
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy 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,
上述の通り、サービス提供装置とサービス利用装置との両方が複数のプロトコルをサポートすると、この両装置が複数のプロトコルを共通してサポートする場合がある。このような状況において、複数のプロトコルを動作させ続けることは、それぞれの装置における消費電力、またネットワークリソースの有効利用の観点から妥当性を欠く。この観点からすれば、サービス提供装置が提供するサービスが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.
以下、添付図面を参照して本発明の実施の形態を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
<<実施形態1>>
以下、本実施形態に係るサービス提供装置およびサービス利用装置について、図面を参照しながら詳細に説明する。なお、本実施形態では、サービス提供装置はデジタルカメラとし、サービス利用装置は携帯電話として説明するが、これに限られない。例えば、この逆であってもよく、また、デジタルカメラや携帯電話以外の装置をサービス提供装置やサービス利用装置としてもよい。なお、サービス提供装置とサービス利用装置は共に少なくとも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
表示部101と操作部102は、アプリケーションの表示や実行などを行う。撮像部103は、被写体の光学像を撮像する。画像処理部104は、撮像部103から出力された撮像画像を所定フォーマットの画像データに変換し、画像データに透かしデータを付与する。符号化・復号化部105は、画像処理部104から出力された画像データに対して、所定の高能率符号化(例えば、DCT変換、量子化後に可変長符号化)を行う。符号化・復号化部105はまた、記録再生部106から再生された圧縮画像データを伸長復号化し、その画像データを画像処理部104に供給する。記録再生部106は圧縮符号化された画像データを不図示の記録媒体に記録再生する。なお、本実施形態では、画像データを符号化する技術として、例えば、JPEG(Joint Photographic Experts Group)方式を用いる。
The
記憶部107は無線通信ネットワーク情報、データ送受信情報、通信機器情報、撮影画像情報など各種データを記憶し、管理する。電源部108はデジタルカメラ100へ電源を供給し、時計部109は時間を計測し、制御部110はデジタルカメラ100を制御する。ROM111は、読み出し専用メモリであり、制御命令、すなわちプログラムが格納される。RAM112は、ランダムアクセスメモリであり、様々なデータが格納される。アンテナ115は無線LAN通信を行うアンテナであり、無線LANアンテナ制御部113はアンテナ115を制御する。通信IF114はネットワークの検索、構築、接続、管理など通信処理を行う。
The
(サービス提供装置の機能構成)
次に、図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
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
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
サービス利用装置管理部230は、デジタルカメラ100が提供するサービスを利用する、サービス利用装置の情報を管理する機能部である。サービス利用装置管理部230が管理するサービス利用装置の情報(サービス利用端末管理テーブル)の一例を図8に示す。サービス利用装置管理部230は、サービス利用端末の識別情報(801)と、それぞれのサービス利用端末がサポートする通信プロトコル(サービス発見プロトコル)の種別(UPnP802、mDNS803)とを対応付けて記憶する。図8に示すサービス利用端末管理テーブルの詳細や管理方法については、後述の動作フローの説明と合わせて詳述する。
The service using
サービス機能提供部240は、デジタルカメラ100がUPnP機能部210およびmDNS機能部220で通知するサービスについて、実処理を実装する機能部である。
The service
(サービス利用装置のハードウェア構成)
図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
表示部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
(サービス利用装置の機能構成)
次に、図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
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
mDNS検索処理部420は、mDNSによって、デジタルカメラ100が提供するサービスの情報を検索する処理部である。mDNS検索処理部420は、mDNSのQueryメッセージをデジタルカメラ100へ送信し、デジタルカメラ100から応答信号(mDNSのResponseメッセージ)を受信することで、デジタルカメラ100が提供するサービス情報を取得する。またmDNS検索処理部420は、デジタルカメラが送信するmDNSのAnnounceメッセージを受信することで、デジタルカメラのサービス情報を取得してもよい。またmDNS検索処理部420は、カメラが送信するmDNSのGoodbyeメッセージ、およびAnnounceメッセージを監視し、デジタルカメラのサービスが停止したことを検知する。
The mDNS
サービス利用処理部430は、携帯電話300がUPnP検索処理部410およびmDNS検索処理部420で発見したデジタルカメラ100が提供するサービスについて、実際に利用するための処理を行う。
The service
(サービス提供装置の動作)
次に、図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
本処理が開始されると、デジタルカメラ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
続いて、デジタルカメラ100は、サービス利用端末の監視処理を開始する(S503〜S516)。本実施形態では、デジタルカメラ100は、サービス利用端末から送信されるUPnPおよびmDNSのサービス情報要求メッセージの受信を監視することで、サービス利用端末の監視を行う。ここで、サービス利用装置がサービスを発見するのに用いた通信プロトコルを、サービス情報要求メッセージのプロトコル種別により判別することができる。すなわち、サービス情報要求メッセージが、UPnPのものであったか、mDNSのものであったかによって、サービス利用装置(携帯電話300)がサービスを発見したプロトコルを特定することができる。S503〜S516の処理は、デジタルカメラ100が、自らが提供するサービス通知を停止するまで繰り返される。例えば、デジタルカメラ100の電源オフ、ユーザによるボタン操作等の操作実行、外部装置からのメッセージ受信などを契機にサービス通知が停止される。
Subsequently, the
デジタルカメラ100は、監視処理中にサービス利用端末からUPnPのサービス情報要求を受信すると(S504でYes)、要求の送信元にUPnPサービス情報応答メッセージを送信する(S505)。また、デジタルカメラ100は、UPnPをサポートするサービス利用端末として、要求の送信元を、図8に示すようなサービス利用端末管理テーブルに記憶する(S506)。ここで、デジタルカメラ100は、サービス情報要求メッセージの送信元を新たなサービス利用端末として発見した場合で、UPnPのサービス通知処理を停止中の場合(S507とS508でYes)、UPnPのサービス通知処理を開始する(S509)。その後、処理はS510へ遷移する。なお、UPnPのサービス通知処理を行っている間、デジタルカメラ100はUPnPのサービス通知メッセージを周期的かつ継続的に送信し続ける。
When the
なお、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
一方、デジタルカメラ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
なお、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
なお、デジタルカメラ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
続いて、デジタルカメラ100が、UPnPおよびmDNSのサービス通知処理を停止する際の動作フローについて、図6を参照して説明する。この処理は、例えば、デジタルカメラ100におけるサービス提供の開始(S501、S502)後、タイマ管理によって定期的に実行される。ただし、ユーザによるデジタルカメラ100のボタン操作等の操作実行、外部装置からのメッセージ受信などを契機に本処理が実行されてもよい。
Next, an operation flow when the
まず、デジタルカメラ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
なお、判定結果が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
次に、デジタルカメラ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
なお、判定結果が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
なお、例えば、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
処理において、携帯電話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
携帯電話300は、サービス検索処理(S702とS704)の実行を開始すると、UPnPとmDNSそれぞれのサービス情報要求メッセージを送信し、サービス情報応答メッセージとサービス情報通知メッセージを受信する。なお、携帯電話300は、例えば事前設定によって、UPnPとmDNSのそれぞれをサポートするかどうかを判定する。ただし、他の方法で判定を行ってもよく、例えば検索するサービスの種別ごとに判定方法が異なってもよく、携帯電話300のプログラムがUPnPやmDNSの機能を実装しているかどうかに応じて判定してもよい。
When the
サービス検索処理を開始すると(S702、S704)、携帯電話300はサービス情報応答メッセージ、サービス情報通知メッセージ、サービス消滅通知の受信を監視する。携帯電話300は、サービス情報応答またはサービス情報通知を受信すると(S705でYes)、受信したメッセージがサービス検索処理を実行中の通信プロトコルによるものであるかどうかを判定する(S706)。そして、携帯電話300は、サービス検索処理を実行中の通信プロトコルのメッセージを受信した場合(S706でYes)、発見したサービスの利用を開始する(S707)。なお、受信したメッセージがサービス検索処理を実行中でない通信プロトコルによるものであった場合は、処理をS705へ戻し、各種メッセージの受信の監視を継続する。
When the service search process is started (S702, S704), the
一方、携帯電話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
(通信システムの構成及び動作)
次に、デジタルカメラ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
図10は図9の通信システムにおける、デジタルカメラ100と携帯電話300A〜300Cとの間の通信シーケンスの一例を表す。なお、初期状態として、デジタルカメラ100と3台の携帯電話300A〜300Cは無線LANで接続されているものとする。
FIG. 10 shows an example of a communication sequence between the
図の処理では、まず、デジタルカメラ100のユーザが、例えば画像交換サービスを開始するためにデジタルカメラ100を操作する(S1001)。その操作が行われると、デジタルカメラ100はUPnPのサービス応答処理を開始する(S1002)と共に、mDNSのサービス応答処理を開始する(S1003)。
In the illustrated process, first, the user of the
一方、携帯電話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
続いて、携帯電話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
デジタルカメラ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
この後に、携帯電話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
以上説明したように、本実施形態のデジタルカメラ100は、必要最低限の数の通信プロトコルで全てのサービス利用端末がサービスを利用できるように、サービス情報通知を行う通信プロトコルを制限する。これにより、接続性を損なうことなく、消費電力およびネットワーク負荷の低減を図ることが可能となる。
As described above, the
<<実施形態2>>
実施形態1では、サービス提供装置であるデジタルカメラ100が、サービス提供を開始する時点でサービス情報要求メッセージに対する応答処理のみを開始するとした。しかしながら本発明は、これに限定されない。本実施形態では、サービス提供装置(デジタルカメラ100)が、サービス提供開始時点でサービスの通知処理と応答処理を開始する場合の例について説明する。なお、本実施形態におけるデジタルカメラおよび携帯電話のハードウェア構成、機能構成は、実施形態1と同様に図1〜図4で示される形態をとるため、説明を省略する。
<< Embodiment 2 >>
In the first embodiment, it is assumed that the
(サービス提供装置及びサービス利用装置の動作)
図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
デジタルカメラ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
なお、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
(通信システムの動作)
図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
まず、デジタルカメラ100のユーザが、画像交換サービスを開始するためにデジタルカメラ100を操作する(S1201)。この操作が行われると、デジタルカメラ100はUPnPのサービス応答処理(S1202)、mDNSのサービス応答処理(S1203)、UPnPのサービス通知処理(S1204)、およびmDNSのサービス通知処理(S1205)を開始する。そして、デジタルカメラ100は、これ以降、UPnPおよびmDNSのサービス情報通知メッセージを周期的に送信する(S1206、S1207)。
First, the user of the
一方、携帯電話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
続いて、携帯電話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
デジタルカメラ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
この後、携帯電話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
実施形態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から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から7のいずれか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:
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)
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)
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 |
-
2012
- 2012-01-30 JP JP2012017269A patent/JP5860293B2/en not_active Expired - Fee Related
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 | |
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 | |
JP6338344B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM | |
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 | |
JP5917103B2 (en) | Information processing apparatus, information processing method, and program | |
JP2010186271A (en) | Information processing apparatus and method for controlling the same, service provision device and method for controlling the same, information processing system, information processing method, program and recording medium | |
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 | |
JP5171598B2 (en) | Communication apparatus, providing apparatus, control method, program, and system. | |
JP2017017594A (en) | Communication device, control method, and program | |
JP2010157977A (en) | Communication apparatus and method of controlling the same | |
JP2002164901A (en) | Master/slave setting method and communication controller and network system | |
JP7328754B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM | |
JP2013093907A (en) | Communication device and control method for communication device | |
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 |