[go: up one dir, main page]

JP2009053869A - Device setup apparatus and control method thereof - Google Patents

Device setup apparatus and control method thereof Download PDF

Info

Publication number
JP2009053869A
JP2009053869A JP2007218982A JP2007218982A JP2009053869A JP 2009053869 A JP2009053869 A JP 2009053869A JP 2007218982 A JP2007218982 A JP 2007218982A JP 2007218982 A JP2007218982 A JP 2007218982A JP 2009053869 A JP2009053869 A JP 2009053869A
Authority
JP
Japan
Prior art keywords
setup
printer
network
upnp
protocol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007218982A
Other languages
Japanese (ja)
Inventor
Atsushi Nakamura
敦 中村
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 JP2007218982A priority Critical patent/JP2009053869A/en
Publication of JP2009053869A publication Critical patent/JP2009053869A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a device setup device for preventing a user from being thrown into confusion even when device retrieval based on a second protocol is made valid in starting setup by using a first protocol and a method for controlling the device setup device. <P>SOLUTION: Disclosed is a client setup method in a device having a network interface and a device having a plurality of setup method. Also, this device setup device is provided with a discovery function invalidating means for, when a discovery function via a network interface as a second setup method is valid, invalidating the discovery function in starting a first priority setup; and a discovery function validating means for validating the invalidated discovery function when the first priority setup is completed. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、所定のプロトコルに従って通信処理を行うデバイスセットアップ装置及びその制御方法に関する。
The present invention relates to a device setup apparatus that performs communication processing according to a predetermined protocol and a control method thereof.

従来、ネットワーク上のクライアント装置によるサービス要求に応え、サービスを提供するサービス提供装置及びサービス提供システムが知られている。   2. Description of the Related Art Conventionally, service providing apparatuses and service providing systems that provide services in response to service requests from client apparatuses on a network are known.

たとえば、インターネットによる通信の飛躍的な普及に伴い、従来のパーソナルコンピュータ以外の製品について、ネットワーク対応が急速に進められつつある。つまり、PDA、携帯電話等のユーザインタラクティブなデバイスや、スキャナ、プリンタ、複写機、デジタルカメラ等の画像処理装置、テレビ、エアコン、冷蔵庫等の家電製品に至るまで、ネットワーク対応が急速に進められつつある。なお、上記PDAは、Personal Digital Assistanceである。   For example, with the rapid spread of communication over the Internet, network support is being rapidly promoted for products other than conventional personal computers. In other words, network correspondence is rapidly progressing to user interactive devices such as PDAs and mobile phones, image processing devices such as scanners, printers, copying machines, and digital cameras, and home appliances such as televisions, air conditioners, and refrigerators. is there. The PDA is Personal Digital Assistance.

これに伴い、これらネットワーク対応型デバイスを利用する上での利便性、簡易性を高めるために、自動セットアップ手段を提供する様々なプロトコルが提案されている。たとえば、ネットワークアドレスの自動設定手段、ネットワークデバイスの探索、検索手段、ネットワーク対応型デバイスを制御するためのアプリケーションソフトウエア、ユーティリティソフトウエア、オペレーティングシステム等がある。   Along with this, various protocols for providing automatic setup means have been proposed in order to improve convenience and simplicity in using these network-compatible devices. For example, there are network address automatic setting means, network device search and search means, application software for controlling a network-compatible device, utility software, an operating system, and the like.

また、Universal Plug and Play(UPnP)、Web Services for Devices(WSD)が、上記ネットワーク対応型の機器である。さらに、日本事務機工業会(JBMIA)が推進するBMLinkS、Apple(登録商標) OS XでサポートされるRenedzvous等も、上記ネットワーク対応型の機器である。しかも、デバイスやその製造元ベンダーによるそのクライアントやデバイスに適した固有の検索方法や、独自のセットアップ手順またはセットアッププログラムも存在する(たとえば、特許文献1参照)。   Further, Universal Plug and Play (UPnP) and Web Services for Devices (WSD) are the above-mentioned network-compatible devices. Further, BMLinkS promoted by the Japan Business Machine Manufacturers Association (JBMIA), Renedzvous supported by Apple (registered trademark) OS X, and the like are also the above-mentioned network-compatible devices. In addition, there is a unique search method suitable for the client and the device by the device and its vendor, and a unique setup procedure or setup program (see, for example, Patent Document 1).

このようなプロトコルが複数提案されることによって、製品の利便性、簡易性が向上する一方で、対応しているプロトコルが異なるデバイス間では、検索や通信を行うことができないという問題がある。   By proposing a plurality of such protocols, the convenience and simplicity of the product are improved, but there is a problem in that searching and communication cannot be performed between devices having different supported protocols.

上記のように、様々なデバイスが、ネットワークに接続され、通信することによって、ユーザにとって魅力ある多種多様のサービスが生まれる。しかし、デバイスによって、プロトコルの対応に差があり、この差によって、互いの存在を検索することができず、通信することができないケースが多々あるという問題がある。   As described above, various devices are connected to the network and communicate with each other, so that a wide variety of services attractive to the user are born. However, there is a difference in the correspondence of protocols depending on devices, and there is a problem that there are many cases in which it is impossible to search for each other's existence and to communicate with each other.

このような問題を解決する手段として、ネットワーク上の様々なデバイスと幅広く通信できるようにするために、クライアントデバイス、サーバデバイス共に、複数のプロトコルに対応することができるデバイスが登場している。
特開2003−006133号公報(US対応 AA2002156947)
As means for solving such a problem, in order to be able to communicate widely with various devices on a network, both a client device and a server device have appeared that can support a plurality of protocols.
JP 2003-006133 AA2002156947 (US correspondence)

従来例では、たとえば複数のプロトコルA、Bに対応している所定の1台のサーバデバイスが、ネットワークに存在し、同じくプロトコルA、Bに対応しているクライアントデバイスが、ネットワークを探索したとする。この場合、プロトコルAで探索されたサーバデバイスと、プロトコルBで探索された同一のサーバデバイスとが、クライアント上では、別デバイスであるとして認識される場合がある。   In the conventional example, for example, it is assumed that one predetermined server device corresponding to a plurality of protocols A and B exists in the network, and a client device corresponding to the protocols A and B searches the network. . In this case, the server device searched by the protocol A and the same server device searched by the protocol B may be recognized as different devices on the client.

また、クライアントデバイスが、プロトコルAで検索したデバイスにセットアップし、ユーザインタフェースを介して、ユーザが設定動作を行っている最中に、そのバックグランドで、プロトコルBによって同じデバイスを検索する。この場合、上記セットアップ処理が起動されると、同一デバイスが、一時期に複数回検出され、重複するセットアップ処理によって、ユーザが混乱する可能性があるという新たな問題がある。   Further, the client device sets up the device searched by the protocol A, and searches for the same device by the protocol B in the background while the user is performing the setting operation via the user interface. In this case, when the setup process is started, the same device is detected a plurality of times at one time, and there is a new problem that the user may be confused by the duplicate setup process.

また、該当デバイスとクライアントデバイスとの組み合わせについて、最適なプロトコルによる検索とセットアップとが実行されなければ、所望の動作をしない場合があるという問題がある。たとえば、あるデバイスのUPnP等のauto−discovery機能による検出を、PCが行い、該当ドライバが存在しなければ、セットアップ処理が中途半端な状態で完了せず、UPnPを使った動作が実行されない場合がある。   In addition, there is a problem that a desired operation may not be performed unless a search and setup using an optimal protocol are performed for the combination of the corresponding device and the client device. For example, if a PC performs detection by an auto-discovery function such as UPnP of a certain device and the corresponding driver does not exist, the setup process may not be completed in a halfway state, and the operation using UPnP may not be executed. is there.

さらに、複数のセットアップ・検出方法による通信が同時に発生すると、デバイス側の通信負荷が増大するという問題がある。   Furthermore, when communication by a plurality of setup / detection methods occurs simultaneously, there is a problem that the communication load on the device side increases.

本発明は、第1のプロトコルを使ったセットアップ開始時に、第2のプロトコルによるデバイス検索が有効になっても、ユーザが混乱することを防止することができるデバイスセットアップ装置及びその制御方法を提供することを目的とする。
The present invention provides a device setup apparatus and a control method thereof that can prevent a user from being confused even when device search using the second protocol is enabled at the start of setup using the first protocol. For the purpose.

本発明は、ネットワークインタフェースを持つデバイスにおけるクライアントセットアップ方法であって、複数のセットアップ方法を具備するデバイスである。また、本発明は、第1優先のセットアップを開始する際に、第2のセットアップ方法であるネットワークインタフェース経由のディスカバリ機能が有効であれば、上記ディスカバリ機能を無効にするディスカバリ機能無効化手段を有する。さらに、本発明は、上記第1優先のセットアップが完了した際に、上記無効にしたディスカバリ機能を有効にするディスカバリ機能有効化手段を有するデバイスセットアップ装置の例である。
The present invention is a client setup method in a device having a network interface, and a device having a plurality of setup methods. In addition, the present invention has a discovery function invalidating means for invalidating the discovery function if the discovery function via the network interface as the second setup method is valid when starting the first priority setup. . Furthermore, the present invention is an example of a device setup apparatus having discovery function enabling means for enabling the disabled discovery function when the first priority setup is completed.

本発明は、第1のプロトコルを使ったセットアップ開始時に、第2のプロトコルによるデバイス検索が有効になれば、上記第2のプロトコルによるデバイス検索を一時的に無効にする。したがって、本発明によれば、第2のプロトコルによるデバイス検出が、セットアップ最中に発生することがなく、ユーザが混乱することを防止できるという効果を奏する。
The present invention temporarily disables device search using the second protocol if device search using the second protocol is enabled at the start of setup using the first protocol. Therefore, according to the present invention, device detection by the second protocol does not occur during setup, and the user can be prevented from being confused.

発明を実施するための最良の形態は、次の実施例である。   The best mode for carrying out the invention is the following embodiment.

ネットワーク上に、プロトコルAをサポートするクライアントデバイスと、プロトコルA、Bの双方をサポートするクライアントデバイスとが、それぞれ稼動している状態において、プロトコルA、Bの双方をサポートするサーバデバイスが接続されている。   A server device that supports both protocols A and B is connected to the network while a client device that supports protocol A and a client device that supports both protocols A and B are operating. Yes.

または、稼動開始された場合、プロトコルA、プロトコルBによるデバイス検索処理が、同時に開始されると、プロトコルAで探索されたデバイスと、プロトコルBで探索されたデバイスとが別々に認識されている。つまり、プロトコルA、Bの双方をサポートするデバイスに関して、同一のデバイスでありながら、ネットワーク上では、別のデバイスが稼動しているように処理される。よって、プロトコルA、Bの双方をサポートするクライアントデバイスにおいて、それを使用するユーザに混乱を招く要因になりうるという問題を抱えている。   Alternatively, when the operation is started, when the device search processing by the protocol A and the protocol B is started at the same time, the device searched by the protocol A and the device searched by the protocol B are recognized separately. In other words, regarding devices that support both protocols A and B, the same device is processed as if another device is operating on the network. Therefore, a client device that supports both protocols A and B has a problem that it can be a factor causing confusion for a user who uses the protocol device.

なお、実施例に記載されているプロトコル、ヴァージョン、アドレス、その他の数値等は、特に特定的な記載がない限りは、この発明の範囲をそれらのみに限定する趣旨のものではない。   It should be noted that the protocol, version, address, and other numerical values described in the embodiments are not intended to limit the scope of the present invention only to those unless otherwise specified.

図1は、本発明の実施例1であるネットワークプリントシステムPS1の構成を示すブロック図である。   FIG. 1 is a block diagram showing the configuration of a network print system PS1 that is Embodiment 1 of the present invention.

クライアント100は、ネットワーク110上に接続されているMicrosoft(登録商標)社のWindows(登録商標)、Apple(登録商標)社のMac(登録商標)OS等の汎用オペレーティングシステムがインストールされている。なお、クライアント100は、PCで構成されている。また、クライアント100には、その上で実行可能な汎用アプリケーションがインストールされている。   The client 100 is installed with a general-purpose operating system such as Windows (registered trademark) of Microsoft (registered trademark) or Mac (registered trademark) OS of Apple (registered trademark) connected to the network 110. The client 100 is composed of a PC. The client 100 is installed with a general-purpose application that can be executed on the client 100.

Windows(登録商標) OS 1は、XML/SOAPを利用したUPnPプロトコル処理部102を使用して、ネットワーク上のデバイスのディスカバリ、制御、ステータスの取得等を実現する機能を有する。なお、上記XMLは、eXtensible Markup Languageである。上記SOAPは、Simple ObjectAccess Protocolである。上記UPnPは、Universal Plug and Playである。   Windows (registered trademark) OS 1 has a function of realizing discovery, control, status acquisition, and the like of a device on a network by using a UPnP protocol processing unit 102 using XML / SOAP. The XML is an eXtensible Markup Language. The SOAP is a simple object access protocol. The UPnP is a Universal Plug and Play.

ただし、UPnPのプリントサービスに対応したPrint Driverは、標準では提供されていない。よって、UPnP Protocol2が検索発見したUPnPプロトコル対応プリンタに対し、UPnPのプリントサービスに対応するPrint Driverが提供されている場合にのみ、UPnP Protocol2を使用したプリントジョブが可能である。   However, Print Driver corresponding to UPnP print service is not provided as a standard. Therefore, a print job using UPnP Protocol 2 is possible only when a Print Driver corresponding to the UPnP print service is provided to a UPnP protocol compatible printer searched and discovered by UPnP Protocol 2.

一方、サーバデバイスと共に提供されるソフトウエアプログラムによって、予め定められたベンダー固有のプロトコルとプロトコルに対応するドライバを使用し、ネットワーク上のデバイスのディスカバリ、制御、ステータスの取得等が実現可能である。   On the other hand, it is possible to realize discovery, control, status acquisition, etc. of devices on a network by using a software program provided with a server device and using a vendor-specific protocol and a driver corresponding to the protocol.

たとえば、アプリケーションソフトであるワードプロセッサ105で作成されたドキュメントは、このプロトコルが検索発見した本プロトコル対応プリンタに対し、提供されるPrint Driverを使用してプリントジョブの発行を実行する。   For example, a document created by the word processor 105, which is application software, issues a print job by using the provided Print Driver for a printer compatible with the present protocol searched and found by this protocol.

一方、実施例1であるネットワーク対応デバイスにおいて、ネットワークプリンタ200は、通信機能としてプロトコルスタック201を備え、そのプロトコルスタック上に、UPnPプロトコル処理部202を備えている。なお、ネットワークプリンタ200は、ネットワーク対応型プリンタである。また、プロトコルスタック上には、プリントプロトコル処理部203が実装され、クライアントから発行されるプリント要求を解析し、プリンタコントローラ204に対し、そのプリント要求を送出するプリントサービス機能を備える。   On the other hand, in the network compatible device according to the first embodiment, the network printer 200 includes a protocol stack 201 as a communication function, and includes a UPnP protocol processing unit 202 on the protocol stack. The network printer 200 is a network compatible printer. A print protocol processing unit 203 is mounted on the protocol stack, and has a print service function that analyzes a print request issued from a client and sends the print request to the printer controller 204.

さらに、プロトコルスタック201の上には、予め定められているベンダー固有プロトコルの処理部205を備え、また、プロトコルスタック201上には、プリントプロトコル処理部203が実装されている。固有プロトコル経由でクライアントから発行されたプリント要求を解析し、プリンタコントローラ204に、上記プリント要求を送出する機能を有する。   Furthermore, a predetermined vendor-specific protocol processing unit 205 is provided on the protocol stack 201, and a print protocol processing unit 203 is mounted on the protocol stack 201. It has a function of analyzing a print request issued from a client via a specific protocol and sending the print request to the printer controller 204.

上記プリンタは、UPnPプロトコル処理部を備えているので、クライアント100から発行されたUPnPプロトコルを使用したデバイス検索要求に応じることはできる。しかし、クライアント100のOS上で動作するUPnPのプリントサービスに対応するPrint Driverが提供されていないので、UPnPプロトコルを経由した印刷動作を行うことができない。一方で、ベンダー固有プロトコルの処理部も備えている上、対応するプロトコルを、クライアント100のOS上で実行させるソフトウエアドライバによって、ネットワーク上のデバイスのディスカバリ、制御、ステータスの取得等が実現可能である。たとえば、アプリケーションソフトであるワードプロセッサ105で作成されたドキュメントは、このプロトコルが検索発見した本プロトコル対応プリンタに対し、同じく提供されるPrint Driverを使用する。これによって、プリントジョブの発行を実行することができる。   Since the printer includes a UPnP protocol processing unit, it can respond to a device search request using the UPnP protocol issued from the client 100. However, since a Print Driver corresponding to a UPnP print service operating on the OS of the client 100 is not provided, a print operation via the UPnP protocol cannot be performed. On the other hand, it also has a vendor-specific protocol processing unit, and software drivers that execute the corresponding protocol on the OS of the client 100 can realize discovery, control, and status acquisition of devices on the network. is there. For example, a document created by the word processor 105, which is application software, uses a print driver that is also provided for a printer compatible with the present protocol searched and found by this protocol. As a result, a print job can be issued.

もう1つの実施例1であるネットワーク対応型デバイスにおいて、DTV400(DTV400はデジタルテレビであり、ネットワーク対応型デジタルテレビである。)は、通信機能として、TCP/UDPプロトコルスタック401を備えている。そして、そのプロトコルスタック上にHTTPを備え、HTTPリクエストの解析、レスポンス処理を行う。   In another network-compatible device according to the first embodiment, the DTV 400 (DTV 400 is a digital television and a network-compatible digital television) includes a TCP / UDP protocol stack 401 as a communication function. Then, HTTP is provided on the protocol stack, and HTTP request analysis and response processing are performed.

プロトコルスタック上には、ネットワークプリンタ200と同様に、UPnPプロトコル処理部402を備え、また、TCP/UDPプロトコルスタック401上には、クライアント用のプリントプロトコル処理部403が実装されている。デジタルテレビアプリケーションの印刷アプリケーション404から発行されたプリント要求が検出されたプリンタに、UPnPプロトコルに準じて送出する機能を備えている。   Similar to the network printer 200, the UPnP protocol processing unit 402 is provided on the protocol stack, and the client print protocol processing unit 403 is mounted on the TCP / UDP protocol stack 401. It has a function of sending to a printer in which a print request issued from the print application 404 of the digital television application is detected according to the UPnP protocol.

次に、実施例1において、通信プロトコルの1つとして使用されているUPnPについて説明する。   Next, UPnP used as one of the communication protocols in the first embodiment will be described.

<<Universal Plug and Play (UPnP) 概要>>
UPnPネットワークは、従来のネットワーク機器を接続するために必要であるIPアドレスの設定やデバイスドライバのインストール等、煩雑な設定が不要であるピアツーピアネットワークである。ここでは、UPnPネットワークの基本構成、プロトコル、及び実行ステップの概要について説明する。詳細については、それぞれの規格のドキュメントを参照されたい。
<< Overview of Universal Plug and Play (UPnP) >>
The UPnP network is a peer-to-peer network that does not require complicated settings such as setting an IP address and installing a device driver necessary for connecting a conventional network device. Here, an outline of the basic configuration, protocol, and execution steps of the UPnP network will be described. For details, refer to the document of each standard.

UPnPネットワークの基本構成として、デバイス、サービス、コントロールポイントが定義されている。デバイスは、UPnPに対応している機器であり、プリンタ、Broadbandルータ(インターネット・ゲートウェイ・デバイス)等である。サービスは、デバイスが提供する機能を表す最小単位である。たとえば、デバイスがUPnP Forumが定義したPrinterデバイスであれば、PrintBasicサービスが提供される。コントロールポイントは、デバイスが持っているサービスを制御し、利用するもので、PCやSTB等がこれに当たる。   Devices, services, and control points are defined as the basic configuration of the UPnP network. The device is a device that supports UPnP, and is a printer, a Broadband router (Internet gateway device), or the like. A service is a minimum unit that represents a function provided by a device. For example, if the device is a Printer device defined by UPnP Forum, a PrintBasic service is provided. The control point controls and uses a service that the device has, and corresponds to a PC, STB, or the like.

デバイスは、少なくとも1つのサービスを持つ。また、デバイスは、内部に埋め込みデバイスを持つことができる。ベースのデバイスを、ルートデバイスという。   The device has at least one service. The device can also have an embedded device inside. The base device is called the root device.

図U7は、UPnPネットワークの基本構成を示す図である。   FIG. U7 is a diagram illustrating a basic configuration of a UPnP network.

ネットワーク700に、コントロールポイント710とルートデバイス720とが接続されている。ルートデバイス720は、サービス721と、埋め込みデバイス722とを持ち、埋め込みデバイス722は、サービス723を持つ。   A control point 710 and a root device 720 are connected to the network 700. The root device 720 has a service 721 and an embedded device 722, and the embedded device 722 has a service 723.

UPnPネットワークは、TCP/IPを基礎とし、Hypertext Transfer Protocol(HTTP)、Extensible Makeup Language(XML)を利用してメッセージを配信する。UPnPデバイスは、TCP、UDP、IGMP、ARP等、TCP/IPスタックのプロトコルを使用でき、DHCPやDNS等のTCP/IPサービスを利用できる。TCP/IPを採用したことによって、UPnPは、ネットワークの物理メディアから独立している。   The UPnP network is based on TCP / IP and distributes messages using Hypertext Transfer Protocol (HTTP) and Extensible Makeup Language (XML). The UPnP device can use TCP / IP stack protocols such as TCP, UDP, IGMP, and ARP, and can use TCP / IP services such as DHCP and DNS. By adopting TCP / IP, UPnP is independent of the physical media of the network.

図U8は、UPnPのプロトコルスタックを示す。   FIG. U8 shows the UPnP protocol stack.

HTTPU、HTTPMUはHTTPのUDPへの拡張で、プロトコルで使用する基本メッセージ形式は、HTTPである。HTTPUは、ユニキャスト、HTTPMUは、マルチキャスト通信を用いる。   HTTPPU and HTTPMU are extensions of HTTP to UDP, and the basic message format used in the protocol is HTTP. HTTPPU uses unicast, and HTTPMU uses multicast communication.

Simple Service Discovery Protocol(SSDP)は、ネットワークサービスを検出する方法を定義している。上記SSDPは、HTTPU及びHTTPMUに基づいて作成され、コントロールポイントが関心のあるサービスを検出する方法と、デバイスがそのサービスを告知する方法とを定義している。   The Simple Service Discovery Protocol (SSDP) defines a method for detecting network services. The SSDP is created based on HTTPPU and HTTPMU and defines how the control point detects the service of interest and how the device announces that service.

Generic Event Notification Architecture(GENA)は、HTTP及びHTTPMUを使用して、通知を送受信する機能である。イベントを可能にするために、通知のサブスクライバー、パブリッシャーの概念を定義する。   The Generic Event Notification Architecture (GENA) is a function that transmits and receives notifications using HTTP and HTTPMU. Define the concept of notification subscribers and publishers to enable events.

Simple Object Access Protocol(SOAP)は、Remote Procedure Call(RPC)を実行するためのXMLとHTTPとの仕様を定義している。コントロールポイントは、SOAPを使用して、デバイスを制御する。   Simple Object Access Protocol (SOAP) defines the specifications of XML and HTTP for executing Remote Procedure Call (RPC). The control point uses SOAP to control the device.

プロトコルスタックの最上位は、ベンダー固有の情報を持つメッセージである。その次は、UPnPフォーラムのワーキングコミッティー(WC)で定義されている情報によって補足されたメッセージである。上位のメッセージは、SSDP、GENA等、UPnP固有のプロトコルに従って、HTTPメッセージ形式でIP上に配信される。   At the top of the protocol stack is a message with vendor specific information. Next is a message supplemented with information defined in the UPnP Forum Working Committee (WC). The upper message is distributed over the IP in the HTTP message format in accordance with UPnP specific protocols such as SSDP and GENA.

次に、UPnPの実行ステップについて説明する。   Next, UPnP execution steps will be described.

UPnPは、アドレッシング、ディスカバリ、ディスクリプション、コントロール、イベンティング、プレゼンテーションの6つのステップで実行される。以下、各ステップについて説明する。   UPnP is executed in six steps: addressing, discovery, description, control, eventing, and presentation. Hereinafter, each step will be described.

<アドレッシング>
このステップでは、UPnPが基本とするTCP/IPでの通信が可能になるように、IPアドレスを割り当てる。UPnPデバイスは、少なくともDynamic Host Configuration Protocol(DHCP)クライアントを実装しなければならない。デバイスがはじめてネットワークに接続したときは、DHCPサーバを探し、アドレスを取得する。
<Addressing>
In this step, an IP address is assigned so as to enable TCP / IP communication based on UPnP. A UPnP device must implement at least a Dynamic Host Configuration Protocol (DHCP) client. When the device first connects to the network, it searches for a DHCP server and obtains an address.

DHCPサーバが見つからなければ、Auto−IPを使ってアドレスを取得しなければならない。Auto−IPは、IANAが定めるLink−localアドレス(IP Version4では、169.254/16)の範囲で、ランダムにアドレスを生成する。そして、Address Resolution Protocol(ARP)を使って、生成したアドレスが既に使用されていないかどうかを調べ、そのアドレスの使用のアナウンスを行う。デバイスは、Auto−IPでIPアドレスを取得した場合、定期的にDHCPサーバを探し、見つかれば、DHCPサーバからアドレスを取得する。   If no DHCP server is found, an address must be obtained using Auto-IP. Auto-IP randomly generates an address within the range of a link-local address (169.254 / 16 in IP Version 4) defined by IANA. Then, using the Address Resolution Protocol (ARP), it is checked whether the generated address is already used, and the use of the address is announced. When the device acquires an IP address with Auto-IP, the device periodically searches for a DHCP server, and if found, acquires the address from the DHCP server.

<ディスカバリ>
IPアドレスの割り当てが終わると、ディスカバリを行う。デバイスをネットワークに追加すると、デバイスは、UPnPのディスカバリプロトコルを使って、デバイスが持つサービスを告知する。これと同様に、コントロールポイントがネットワークに追加されると、デバイスをサーチする。
<Discovery>
When the IP address assignment is completed, discovery is performed. When a device is added to the network, the device announces the services that the device has using the UPnP discovery protocol. Similarly, when a control point is added to the network, it searches for devices.

図U9Aは、UPnPのディスカバリプロトコルを使って、デバイスが告知する様子を示す図である。   FIG. U9A is a diagram illustrating a state in which a device announces using the UPnP discovery protocol.

デバイスは、IANAがSSDPのために割り当てたマルチキャストアドレス:ポート239.255.255.250:1900に、UDPマルチキャストパケットを送信し、告知する。図U9Aにおいて、UPnPデバイスであるネットワークプリンタ200が告知し、コントロールポイントであるDTV400、STB500、クライアント100がこれを受信する。   The device sends and announces a UDP multicast packet to the multicast address assigned by IANA for SSDP: port 239.255.255.250:1900. In FIG. U9A, the network printer 200, which is a UPnP device, notifies, and the DTV 400, STB 500, and client 100, which are control points, receive this.

図U9Bは、デバイスがネットワークに追加され、利用可能なことを示す告知パケットの例を示す図である。   FIG. U9B is a diagram illustrating an example of an announcement packet indicating that a device has been added to the network and can be used.

告知パケットは、HTTPMUを介して、送信される。リクエストには、GENAのNOTIFYメソッドを用い、NTSヘッダは、ssdp:aliveでなければならない。その他、ヘッダには、告知の有効時間、デバイスディスクリプションURL、告知のタイプ、サービスの固有名等が含まれ、メッセージのボディはなく空白行のみである。   The announcement packet is transmitted via HTTPMU. A GENA NOTIFY method is used for the request, and the NTS header must be ssdp: alive. In addition, the header includes a notification valid time, a device description URL, a notification type, a service unique name, and the like, and includes only a blank line without a message body.

図U9Cは、デバイスがネットワークから削除されつつあり、利用できなくなることを示す告知パケットを示す図である。   FIG. U9C is a diagram showing an announcement packet indicating that a device is being deleted from the network and cannot be used.

リクエストには、GENAのNOTIFYメソッドを用い、NTSヘッダは、ssdp:byebyeでなければならない。   A GENA NOTIFY method is used for the request, and the NTS header must be ssdp: bybye.

図U10Aは、コントロールポイントが、UPnPのディスカバリプロトコルを使ってサーチし、デバイスが応答する様子を示す図である。   FIG. U10A is a diagram illustrating a state in which a control point searches using a UPnP discovery protocol and a device responds.

コントロールポイントは、IANAがSSDPのために割り当てたマルチキャストアドレス:ポート239.255.255.250:1900にUDPマルチキャストパケットを送信し、デバイスは、UDPユニキャストで応答する。図U10Aにおいて、コントロールポイントであるDTV400が、デバイスをサーチし、ネットワークプリンタ200が応答する。   The control point sends a UDP multicast packet to the multicast address assigned by SSD for the SSD: port 239.255.255.250:1900, and the device responds with UDP unicast. In FIG. U10A, the DTV 400, which is a control point, searches for a device, and the network printer 200 responds.

図U10Bは、サーチリクエストパケットの例を示す図である。   FIG. U10B is a diagram illustrating an example of a search request packet.

サーチリクエストは、HTTPMUを介して送信される。リクエストには、M−SEARCHメソッドを用い、MANヘッダは、”ssdp:discover”でなければならない。STヘッダは、サーチターゲットで、メッセージボディはなく、空白行のみである。   The search request is transmitted via HTTPMU. The request uses the M-SEARCH method, and the MAN header must be “ssdp: discover”. The ST header is a search target, has no message body, and is only a blank line.

図U10Cは、サーチレスポンスパケットの例を示す図である。   FIG. U10C is a diagram illustrating an example of a search response packet.

サーチレスポンスは、HTTPUを介して送信される。レスポンスには、告知の有効時間、デバイスディスクリプションURL、サーチターゲット、告知のサービス固有名等が含まれる。   The search response is transmitted via HTTPU. The response includes a notification valid time, a device description URL, a search target, a service unique name of the notification, and the like.

<ディスクリプション>
ディスクリプションは、UPnPネットワークの第2ステップで、コントロールポイントがディスカバリでデバイスを見つけた後に行われる。このステップの後に、他のステップ、コントロール、イベンティング、プレゼンテーションが可能になる。
<Description>
The description is performed in the second step of the UPnP network after the control point finds the device by discovery. After this step, other steps, controls, eventing and presentation are possible.

図U11Aは、コントロールポイントが、ディスクリプションリクエストを送信し、デバイスがディスクリプションを応答するディスクリプションステップの様子を示す図である。   FIG. U11A is a diagram illustrating a description step in which the control point transmits a description request and the device responds to the description.

コントロールポイント710は、ディスカバリによって、ルートデバイス720のデバイスディスクリプションURLを取得した後に、デバイスにディスクリプションタリクエストを送信する。   The control point 710 acquires a device description URL of the root device 720 by discovery, and then transmits a description request to the device.

図U11Bは、ディスクリプションリクエストパケットの例を示す図である。   FIG. U11B is a diagram illustrating an example of a description request packet.

ディスクリプションリクエストは、HTTP GETメソッドを用いて送信される。   The description request is transmitted using the HTTP GET method.

図U11Cは、ディスクリプションレスポンスの例を示す図である。   FIG. U11C is a diagram illustrating an example of a description response.

HTTPメッセージのボディは、XMLで記述されたディスクリプションである。UPnPにおいて、ディスクリプションには、デバイスディスクリプションとサービスディスクリプションとの2種類がある。   The body of the HTTP message is a description described in XML. In UPnP, there are two types of descriptions: a device description and a service description.

デバイスディスクリプションには、デバイスが持つサービスのリストが含まれ、各サービスのサービスディスクリプションURL、コントロールURL、イベンティングURL等が含まれている。また、デバイスに埋め込まれているデバイスがあれば、デバイスリストも含まれる。   The device description includes a list of services that the device has, and includes a service description URL, a control URL, an eventing URL, and the like of each service. If there is a device embedded in the device, a device list is also included.

サービスディスクリプションには、サービスをコントロールするためのアクションリストとサービスの状態を示すサービスステータステーブルが含まれている。アクションリストには、各アクションの名前、引数、関連する状態変数、入出力の方向が記述されている。サービスステートテーブルには、各状態変数の、名前、型、範囲、イベント特性が記述されている。   The service description includes an action list for controlling the service and a service status table indicating the status of the service. The action list describes the name of each action, its arguments, related state variables, and input / output directions. The service state table describes the name, type, range, and event characteristics of each state variable.

コントロールポイント710は、デバイスディスクリプションを取得した後に、そこに含まれている各サービスディスクリプションURLへHTTP GETすることによって、各サービスディスクリプションを取得する。サービスディスクリプションを取得した後に、コントロールポイント710は、ルートデバイス720の各サービスをコントロールし、状態を表示することができるようになる。   After acquiring the device description, the control point 710 acquires each service description by performing an HTTP GET to each service description URL included therein. After obtaining the service description, the control point 710 can control each service of the root device 720 and display the status.

<コントロール>
コントロールのステップでは、コントロールポイントがデバイスの持つサービスにリクエストを行い、デバイスを制御する。
<Control>
In the control step, the control point makes a request to the service of the device and controls the device.

図U12Aは、コントロールポイントがデバイスをコントロールする様子を示す図である。   FIG. U12A is a diagram illustrating a state in which the control point controls the device.

コントロールポイント710は、ディスクリプションのステップで、ルートデバイス720のデバイスディスクリプション、サービスディスクリプションを取得した後に、ルートデバイス720をコントロールすることができる。コントロールポイントができることは、アクションの実行(アクションリクエスト送信)と結果の取得(アクションレスポンス受信)を行うことである。また、コントロールポイントができることは、状態変数のクエリの実行(クエリリクエスト送信)と値の取得(クエリレスポンス受信)を行うことである。   The control point 710 can control the root device 720 after acquiring the device description and the service description of the root device 720 in the description step. What a control point can do is to execute an action (send an action request) and acquire a result (receive an action response). In addition, what the control point can do is to execute a query of a state variable (send a query request) and acquire a value (receive a query response).

UPnPのコントロールには、SOAPを使用する。SOAPは、リモートプロシージャコールの実現のために、XML/HTMLの使用に関して定義している。コントロールメッセージは、SOAPヘッダ及びボディエレメントをベースに、フォーマットされ、HTTPを介して配信される。   SOAP is used for UPnP control. SOAP defines the use of XML / HTML for the implementation of remote procedure calls. The control message is formatted based on the SOAP header and the body element, and distributed via HTTP.

コントロールポイント710は、ルートデバイス720のデバイスディスクリプションから取得したコントロールURLへ、HTTP POSTないしM−POSTメソッドを用いてリクエストを送信する。   The control point 710 transmits a request to the control URL acquired from the device description of the root device 720 using the HTTP POST or M-POST method.

図U12Bは、アクションリクエストの例を示す図である。   FIG. U12B is a diagram illustrating an example of an action request.

この例では、リクエストラインには、POSTメソッドを用いる。CONTENT−TYPEは、text/xmlで、charset=”utf−8”でなければならない。SOAPACTIONにアクション名を含む。メッセージボディは、XMLで記述され、SOAPで定義されたEnvelopeエレメントを含み、そのサブエレメントBodyにアクション、引数等のサブエレメントを含む。   In this example, the POST method is used for the request line. CONTENT-TYPE must be text / xml and charset = “utf-8”. The action name is included in SOAPACTION. The message body is described in XML and includes an Envelope element defined by SOAP, and its subelement Body includes subelements such as an action and an argument.

図U12Cは、アクションレスポンスの例を示す図である。   FIG. U12C is a diagram illustrating an example of an action response.

この例は、成功レスポンスの1例である。レスポンスラインには、HTTP成功コードを含む。メッセージボディは、XMLで記述され、SOAPで定義されたEnvelopeエレメントを含み、そのサブエレメントBodyにアクションレスポンスサブエレメントを含む。アクションレスポンスは、アクションに出力引数があれば、その引数をサブエレメントとして含む。   This example is an example of a success response. The response line includes an HTTP success code. The message body is described in XML and includes an Envelope element defined by SOAP, and its sub-element Body includes an action response sub-element. If the action response has an output argument, the action response includes the argument as a sub-element.

<イベンティング>
イベンティングのステップでは、コントロールポイントが、デバイスに状態変化の通知要求を登録し、デバイスから通知を受ける。イベントのソースであるサービスを、パブリッシャーといい、イベントのターゲットであるコントロールポイントを、サブスクライバーと呼ぶ。サブスクライバーがイベントの通知を要求することを、サブスクリプションと呼ぶ。
<Eventing>
In the eventing step, the control point registers a status change notification request in the device and receives a notification from the device. The service that is the source of the event is called a publisher, and the control point that is the target of the event is called a subscriber. When a subscriber requests notification of an event, it is called a subscription.

図U13Aは、イベンティングの様子を示す図である。   FIG. U13A is a diagram illustrating a state of eventing.

コントロールポイント710(サブスクライバー)は、ディスクリプションで取得したルートデバイス720のデバイスディスクリプションのイベンティングURLへのHTTPリクエストによって、イベンティングのリクエストを送信する。また、HTTPレスポンスによって、イベンティングレスポンスを受信する。リクエストには、イベントの通知要求を登録するサブスクリプション、登録の期限が切れる前に登録の更新を要求するリニュー、登録の期限が切れる前に登録の取りやめを要求するキャンセルの3種類がある。   The control point 710 (subscriber) transmits an eventing request by an HTTP request to the eventing URL of the device description of the root device 720 acquired by the description. Also, an eventing response is received by an HTTP response. There are three types of requests: subscription for registering an event notification request, renewal for requesting renewal of registration before the registration expires, and cancellation for requesting cancellation of registration before the registration expires.

図U13Bは、サブスクリプションリクエストの例を示す図である。   FIG. U13B is a diagram illustrating an example of a subscription request.

リクエストラインには、GENAに定義されたSUBSCRIBEメソッドを用いる。ヘッダには、イベントメッセージの送信先URL、通知タイプUPnP:event、等が含まれている。メッセージのボディはなく空行のみである。   For the request line, the SUBSCRIBE method defined in GENA is used. The header includes an event message transmission destination URL, a notification type UPnP: event, and the like. There is no message body, only a blank line.

図U13Cは、サブスクリプションレスポンスの例を示す図である。   FIG. U13C is a diagram illustrating an example of a subscription response.

この例は、成功レスポンスの例である。レスポンスラインには、HTTP成功コード、ヘッダには、サブスクリブションを特定するID、サブスクリプションの有効時間、等が含まれている。サブスクリプションの更新リクエストは、SUBSCRIBEメソッドを用いて、ヘッダにサブスクリプションIDを設定して行う。サブスクリプションのキャンセルリクエストは、UNSUBSCRIPTメソッドを用いて、ヘッダにサブスクリプションIDを設定して行う。   This example is an example of a success response. The response line includes an HTTP success code, and the header includes an ID for identifying a subscription, a subscription valid time, and the like. The subscription update request is made by setting the subscription ID in the header using the SUBSCRIBE method. The subscription cancellation request is made by setting the subscription ID in the header using the UNSUBSCRIPT method.

ルートデバイス720のサービス721(パブリッシャー)は、サブスクリプションリクエストに含まれているイベントメッセージの送信先URLへのHTTPリクエストによって、イベントメッセージを送信する。つまり、サブスクライバーであるコントロールポイント710、コントロールポイント1300に、イベントメッセージを送信する。メッセージを受信したサブスクライバーは、HTTPレスポンスをパブリッシャーに返す。   The service 721 (publisher) of the root device 720 transmits the event message by an HTTP request to the destination URL of the event message included in the subscription request. That is, the event message is transmitted to the control point 710 and the control point 1300 which are subscribers. The subscriber who has received the message returns an HTTP response to the publisher.

図U13Dは、イベントメッセージの例を示す図である。   FIG. U13D is a diagram illustrating an example of an event message.

リクエストラインには、NOTIFYメソッドを用いる。ヘッダには、CONTENT−TYPE:text/xml、NT:upnp:event、NTS:upnp:propchange、SID:uuid:<subscription ID>、等が含まれている。メッセージボディは、XMLで記述され、propertysetエレメントに、状態変数をサブエレメントに持つpropertyサブエレメントを、必要なだけ含む。   The NOTIFY method is used for the request line. The header includes CONTENT-TYPE: text / xml, NT: upnp: event, NTS: upnp: propagation, SID: uid: <subscription ID>, and the like. The message body is described in XML and includes as many property subelements as necessary in a propertyset element having a state variable as a subelement.

<プレゼンテーション>
プレゼンテーションのステップでは、デバイスが持つWebサービスをブラウザに表示する。これによって、Webページからデバイスを制御でき、サービスの状態を表示できる。
<Presentation>
In the presentation step, the web service of the device is displayed on the browser. Thus, the device can be controlled from the Web page, and the service status can be displayed.

図U14は、ブラウザが、デバイスのプレゼンテーションページにアクセスする様子を示す図である。   FIG. U14 is a diagram illustrating how the browser accesses the presentation page of the device.

コントロールポイント710は、ルートデバイス720のデバイスディスクリプションに含まれているプレゼンテーションURLを取得すると、ブラウザ1400を使って、ルートデバイス720のプレゼンテーションページを表示することができる。ブラウザ1400は、ルートデバイス720のプレゼンテーションURLへ、HTTP GETすることによって、プレゼンテーションページを取得する。ルートデバイス720は、プレゼンテーションページを介して、サービスのコントロール手段、状態表示手段を、コントロールポイント710に提供することができる。   Upon obtaining the presentation URL included in the device description of the root device 720, the control point 710 can display the presentation page of the root device 720 using the browser 1400. The browser 1400 obtains a presentation page by making an HTTP GET to the presentation URL of the root device 720. The root device 720 can provide service control means and status display means to the control point 710 via the presentation page.

<<Universal Plug and Play (UPnP) 概要終わり>>
次に、クライアント100、DTV400におけるUPnPプロトコルデバイス検出時セットアップ方法について説明する。
<< Universal Plug and Play (UPnP) Outline End >>
Next, a setup method for detecting a UPnP protocol device in the client 100 and the DTV 400 will be described.

図2は、クライアント100、DTV400におけるUPnPプロトコルデバイス検出時セットアップ方法を示すフローチャートである。   FIG. 2 is a flowchart showing a setup method when the UPnP protocol device is detected in the client 100 and the DTV 400.

UPnPプロトコルに対応しているクライアント100、並びにDTV400は、ネットワークに参加し、サービスを開始するに当たり、同ネットワーク上に存在するUPnP対応プリンタを検索する(step2−2)。   When the client 100 and the DTV 400 that support the UPnP protocol join the network and start the service, they search for a UPnP-compatible printer that exists on the network (step 2-2).

次に、STEP2−2を詳細に説明する。   Next, STEP2-2 will be described in detail.

図3は、実施例1において、クライアントにおけるUPnP対応プリンタデバイス検索のプロセスを示すフローチャートである。   FIG. 3 is a flowchart illustrating a UPnP-compatible printer device search process in the client according to the first exemplary embodiment.

図4は、実施例1において、Universal Plug and Play Device Architecture v1で規定されるM−SEARCHディスカバリパケットのフォーマットを示す図である。   FIG. 4 is a diagram illustrating a format of an M-SEARCH discovery packet defined by Universal Plug and Play Device Architecture v1 in the first embodiment.

step3−1に示すように、マルチキャストアドレス239.255.255.250、ポート番号1900に対し、Universal Plug and Play Device Architecture1.0に規定されているパケットを発行する。このパケットは、図4に示すフォーマットのHTTP M−SEARCHパケットである。   As shown in step 3-1, for the multicast address 239.255.255.250 and the port number 1900, a packet defined in Universal Plug and Play Device Architecture 1.0 is issued. This packet is an HTTP M-SEARCH packet in the format shown in FIG.

クライアント100、DTV400のUPnPプロトコル処理部102、402は、M−SEARCHパケットを発行した後に、予め規定されている一定時間内に、応答があれば、その全ての応答に対して、レスポンスパケットの解析を実行する。上記一定時間は、実施例1では、30秒間である。   The UPnP protocol processing units 102 and 402 of the client 100 and the DTV 400 analyze response packets for all responses if there are responses within a predetermined time after issuing the M-SEARCH packet. Execute. In the first embodiment, the predetermined time is 30 seconds.

図5は、ネットワークデバイスの一例としてのプリンタからのレスポンスパケットのフォーマットを示す図である。   FIG. 5 is a diagram illustrating a format of a response packet from a printer as an example of a network device.

クライアント100、DTV400のUPnPプロトコル処理部102、402は、該パケットに記載されているネットワークプリンタのURLを記録する。この処理は、受信した全レスポンスパケットに対して実施され、ネットワーク上に存在する全てのUPnP対応プリンタのURLを記録する(step3−2)。   The UPnP protocol processing units 102 and 402 of the client 100 and DTV 400 record the URL of the network printer described in the packet. This process is performed on all received response packets, and the URLs of all UPnP compatible printers existing on the network are recorded (step 3-2).

上記プロセスが完了した場合、または、ステップにおいて応答が無い場合(step3−3)、クライアント100、DTV400のUPnPプロトコル処理部102、402は、UPnP検索処理を終了して、step2−3に進み、プリンタ情報を取得する。その後に、それぞれのクライアント上で、デバイスをUPnP経由で使用可能になるよう、セットアップ処理を実行する。   When the above process is completed, or when there is no response in the step (step 3-3), the UPnP protocol processing units 102 and 402 of the client 100 and DTV 400 end the UPnP search processing, and proceed to step 2-3. Get information. Thereafter, setup processing is executed on each client so that the device can be used via UPnP.

一方、UPnPプロトコルに対応しているネットワークプリンタ200がネットワークに参加し、サービスを開始する。これに当たって、同ネットワーク上に、SSDP、HTTMUを用いて、自らの存在をマルチキャストアドレス239.255.255.250、ポート番号1900に対し、マルチキャストする。つまり、Universal Plug and Play Device Architecture1.0に規定される図4に示すフォーマットのHTTP NOTIFYをネットワーク上にマルチキャストする。そして、このプリンタがネットワーク上でのサービスを実行中であることを広告(Advertise)する。   On the other hand, the network printer 200 that supports the UPnP protocol joins the network and starts the service. At this time, the presence of the device is multicast to the multicast address 239.255.255.250 and the port number 1900 using SSDP and HTTMU on the same network. That is, the HTTP NOTIFY in the format shown in FIG. 4 defined in Universal Plug and Play Device Architecture 1.0 is multicast on the network. Then, it advertises that this printer is executing a service on the network.

広告メッセージには、デバイスに関する情報(Device Description)を取得可能なDevice Description Documentが取得可能なURLが記述されている。このマルチキャストメッセージを受信したクライアント100、DTV400は、パケットの解析を実行し、上記パケットに記載されているネットワークプリンタのURLを記録する。   The advertisement message describes a URL that can be obtained by a Device Description Document that can obtain information (Device Description) about the device. Upon receiving this multicast message, the client 100 and the DTV 400 analyze the packet and record the URL of the network printer described in the packet.

上記プロセスが完了すると、クライアント100、DTV400のUPnPプロトコル処理部102、402は、新たに検出したプリンタについて、プリンタ情報を取得する。そして、クライアントから利用できるサービスであることが判明した後に、それぞれのクライアント上で、デバイスをUPnP経由で使用可能になるように、セットアップ処理を実行する。   When the above process is completed, the UPnP protocol processing units 102 and 402 of the client 100 and the DTV 400 acquire printer information for the newly detected printer. Then, after it is determined that the service can be used from the client, a setup process is executed on each client so that the device can be used via UPnP.

次に、クライアント上で、デバイスをUPnP経由で使用可能になるセットアップ処理について説明する。   Next, a setup process for enabling the device to be used via UPnP on the client will be described.

UPnPデバイスを検出し、その情報取得を行い、プリントサービスに対応したプリンタであることを検出したクライアントは、次の方法でクライアント側のセットアップを行う。   A client that detects a UPnP device, acquires information thereof, and detects that the printer is compatible with a print service performs setup on the client side in the following manner.

DTV400において、プロトコルスタック上には、ネットワークプリンタ200と同様に、TCP/UDPプロトコルスタック401、UPnPプロトコル処理部402を備えている。また、クライアント用のUPnPのプリントサービスに準拠したプリントプロトコル処理部403が既に実装されている。よって、デジタルテレビが、プリンタを認識した時点で、ユーザによる追加のセットアップ処理をせずに、UPnPのプリントサービスを使ったDTV400とネットワークプリンタ200との間の印刷を実行することができる。   Similar to the network printer 200, the DTV 400 includes a TCP / UDP protocol stack 401 and a UPnP protocol processing unit 402 on the protocol stack. In addition, a print protocol processing unit 403 compliant with the UPnP print service for clients is already installed. Therefore, when the digital television recognizes the printer, printing between the DTV 400 and the network printer 200 using the UPnP print service can be executed without performing additional setup processing by the user.

クライアント100のOSも、UPnPプロトコル処理部を備えているので、UPnPプロトコルを使用したデバイス検索や、デバイスからのHTTP NOTIFY(広告)のマルチキャストを検出し、UPnPデバイスが認識される。デバイスの情報取得を行い、UPnPのプリントサービスに対応するプリンタであることを認識すると、対応したプリントサービスプロトコルに準拠したプリンタドライバを、システムに組み込むプラグ・アンド・プレイの処理が実行される。   Since the OS of the client 100 also includes a UPnP protocol processing unit, a device search using the UPnP protocol and a multicast of HTTP NOTIFY (advertisement) from the device are detected, and the UPnP device is recognized. When device information is acquired and the printer is recognized as a printer that supports the UPnP print service, a plug-and-play process for incorporating a printer driver compliant with the corresponding print service protocol into the system is executed.

同処理において、OSが標準に備えているデバイスドライバの中に最適なものが無ければ、デバイス購入時に、フロッピー(登録商標)ディスクやCD−ROM等、メディアに添付されているデバイスドライバを、OSに組み込む必要がある。このデバイスドライバの組み込み作業のために、デバイスドライバが含まれているメディアのドライブへのセットを、ユーザに催促するクライアントシステムの処理が実行される。   In this process, if there is no optimal device driver provided by the OS, the device driver attached to the medium such as a floppy (registered trademark) disk or CD-ROM is purchased when the device is purchased. Need to be incorporated into In order to incorporate the device driver, processing of a client system that prompts the user to set the media containing the device driver in the drive is executed.

なお、実施例1におけるネットワークプリンタ200において、UPnPプロトコルは、主にデジタルテレビとの通信と印刷処理とを行うためのプロトコルを意図して実装されたものである。よって、クライアント100のOS上で動作するUPnPのプリントサービスに対応したPrint Driverは、提供されていない。クライアント100における汎用OSとネットワークプリンタ200との間には、予め定められているベンダー固有のプロトコルに基づいた通信による印刷処理が意図されている。同プロトコルを処理するためのデバイスドライバと、同プロトコルを使用したデバイスのセットアップ方法とが用意されている。   In the network printer 200 according to the first embodiment, the UPnP protocol is implemented mainly with the intention of performing a communication with a digital television and a printing process. Therefore, Print Driver corresponding to the UPnP print service operating on the OS of the client 100 is not provided. Print processing by communication based on a predetermined vendor-specific protocol is intended between the general-purpose OS in the client 100 and the network printer 200. A device driver for processing the protocol and a device setup method using the protocol are prepared.

次に、このベンダー固有のプロトコルに基づいて、クライアント100がネットワークプリンタ200をセットアップする方法について説明する。   Next, a method for the client 100 to set up the network printer 200 based on this vendor-specific protocol will be described.

実施例1であるネットワークプリンタ200は、USBとLANポートとの両方を具備するプリンタである。そのネットワークセットアップは、ベンダーから提供されたセットアッププログラムの実行によって、USBを使ったセットアッププログラムの実行シーケンスの中で、プリンタドライバのインストール終了した後に、引き続き行なわれる。   The network printer 200 according to the first embodiment is a printer having both a USB and a LAN port. The network setup is continuously performed after the installation of the printer driver is completed in the execution sequence of the setup program using the USB by executing the setup program provided by the vendor.

図6は、USBを使用したネットワークプリンタのクライアントコンピュータ上におけるセットアップを示すダイアログの遷移を示す図である。   FIG. 6 is a diagram showing transition of a dialog indicating setup on a client computer of a network printer using USB.

図7は、USBを使用したネットワークプリンタのクライアントコンピュータ上におけるセットアップを示すフローチャートである。   FIG. 7 is a flowchart showing the setup on the client computer of the network printer using USB.

ネットワークデバイスドライバがシステムにコピーされた後に、USBケーブルでプリンタとクライアントとを接続し、プリンタの電源を投入すると、USB経由でプリンタが認識され、プリンタドライバがインストールされる。   After the network device driver is copied to the system, when the printer and client are connected with a USB cable and the printer is turned on, the printer is recognized via USB and the printer driver is installed.

その後に、ネットワークセットアップを行う旨のダイアログボックス(6−1)において、セットアップを行う旨を、ユーザが選択する(6−3)と、ネットワークセットアップが開始される。セットアップ処理が開始された後に、USBケーブルを接続したまま、ネットワークケーブルを本体に接続し、ネットワークに接続する旨をユーザに催促する旨のメッセージ(6−4)が表示される。   Thereafter, in the dialog box (6-1) for performing network setup, when the user selects to perform setup (6-3), the network setup is started. After the setup process is started, a message (6-4) for prompting the user to connect the network cable to the main body and connect to the network is displayed with the USB cable connected.

ユーザ操作によって、プリンタのネットワークへ接続されると、セットアッププログラムは、LAN経由で、プリンタを検索する。この検出は、ベンダー固有のプロトコルで定められたプリンタサーチコマンドのマルチキャスト発行によって行なわれる。このコマンドを理解できる機器(この場合、特定のプリンタやプリンタアダプタ)が、コマンドを送信したホストに、コマンドに対する予め決められた情報を戻す。この情報には、プリンタの名称やID、アドレス等が含まれ、これらの情報を基に、接続したいプリンタを特定することができる。   When connected to the printer network by a user operation, the setup program searches for the printer via the LAN. This detection is performed by issuing a printer search command multicast defined by a vendor-specific protocol. A device that can understand the command (in this case, a specific printer or printer adapter) returns predetermined information about the command to the host that has transmitted the command. This information includes the name, ID, address, etc. of the printer, and the printer to be connected can be specified based on the information.

クライアントは、受信した全レスポンスパケットに基づいて、同プロトコル対応プリンタであると認識し、発見されたプリンタの中から、USBで接続されているプリンタと同一のプリンタを選択する。この場合、USBで接続されているプリンタについて、USB経由でプリンタの名称やID、アドレス等を取得し、検出結果の中で一致するプリンタを選択する。   Based on all received response packets, the client recognizes that the printer is compatible with the same protocol, and selects the same printer as the printer connected via USB from the discovered printers. In this case, for a printer connected via USB, the printer name, ID, address, etc. are acquired via USB, and a matching printer is selected from the detection results.

選択されたプリンタを対象に、通信ポートが作成され、内容に従ってネットワークプリンタのアイコンが作成され、セットアップが完了する(6−8)。プリンタアイコンは、ユーザが登録されているプリンタを確認、区別または現在準備可能なプリンタを識別するのに利用され、アプリケーションから印刷する場合、このアイコンが選択される。   A communication port is created for the selected printer, a network printer icon is created according to the contents, and the setup is completed (6-8). The printer icon is used for confirming, distinguishing, or identifying a printer that can be prepared by a user, and is selected when printing from an application.

このシステムにおいて、実施例1の特徴的な動作について、本システムの制御の流れと共に説明する。   In this system, the characteristic operation of the first embodiment will be described together with the control flow of this system.

UPnPプロトコルと、同プリントサービスをサポートする上記DTV400と、UPnPプロトコルと、ベンダー固有のプロトコルとが、ネットワーク上に稼動している。また、同プロトコルを使ったプリントサービスをサポートする上記クライアントコンピュータが、ネットワーク上に稼動している。ユーザがクライアントコンピュータから印刷するために、ネットワークプリンタ200を同ネットワークに新規に接続し、クライアントコンピュータにおいてセットアップする。   The UPnP protocol, the DTV 400 that supports the print service, the UPnP protocol, and the vendor-specific protocol are operating on the network. The client computer that supports the print service using the protocol is operating on the network. In order for the user to print from the client computer, the network printer 200 is newly connected to the network and set up on the client computer.

プリンタ購入時に添付されているCD−ROMに含まれているセットアッププログラムを、クライアントコンピュータ上で実行することによって、プリンタのセットアップが開始される。セットアップは、まず、プリンタにインタフェースケーブルを接続せずに、プリンタの電源を投入しない状態で、セットアップ処理を開始する。プログラムが表示するメッセージに従い、ユーザが処理を進めると、プリンタドライバソフトウエアのシステムへのコピーが終了する。   The setup of the printer is started by executing a setup program included in the CD-ROM attached when purchasing the printer on the client computer. In the setup, first, the setup process is started without connecting the interface cable to the printer and without turning on the printer. When the user proceeds with the process according to the message displayed by the program, the copying of the printer driver software to the system ends.

その後に、USBケーブルでプリンタとクライアントとを接続し、プリンタの電源を投入する旨をユーザに催促するメッセージが表示され、ユーザ操作によって、USB接続と電源投入とが行なわれる。これによって、USB経由で、プリンタが、OSのプラグアンドプレイ機能によって認識され、プリンタドライバがインストールされる。   Thereafter, the printer and the client are connected with the USB cable, a message prompting the user to turn on the printer is displayed, and the USB connection and power on are performed by the user operation. As a result, the printer is recognized by the plug and play function of the OS via the USB, and the printer driver is installed.

図8は、実施例1のネットワークプリンタのUSBを使用したクライアントコンピュータ上でのセットアップを示すダイアログの遷移図である。   FIG. 8 is a transition diagram of a dialog showing the setup on the client computer using the USB of the network printer of the first embodiment.

図9は、実施例1のネットワークプリンタのUSBを使用したクライアントコンピュータ上でのセットアップを示すフローチャートである。   FIG. 9 is a flowchart illustrating the setup on the client computer using the USB of the network printer according to the first embodiment.

プリンタドライバのインストールが完了すると、引き続き、ネットワークセットアップを行うかどうかを問うダイアログボックスが表示される(8−1)。セットアップを行う旨をユーザが選択すると(8−3)、ネットワークセットアップが開始される。セットアップ処理が開始される際に、USBケーブルを接続したままで、プリンタの電源が投入された状態であり、ネットワークケーブルが未接続であることを確認する旨のメッセージが表示される(8−4)。   When the installation of the printer driver is completed, a dialog box asking whether to perform network setup is displayed (8-1). When the user selects to perform setup (8-3), network setup is started. When the setup process is started, a message is displayed to confirm that the printer is turned on with the USB cable connected and the network cable is not connected (8-4). ).

以下、特徴的な部分について説明する。   Hereinafter, characteristic parts will be described.

本プリンタは、UPnPプロトコル機能を有効化、または無効化する機能を持ち、クライアントからのコマンド発行に従い、制御される。ユーザがメッセージを確認し、セットアッププログラムを進めると、セットアッププログラムは、上記UPnP無効化機能を使用し、UPnP機能を無効化する旨のコマンドを、USB経由で発行する。   This printer has a function for enabling or disabling the UPnP protocol function, and is controlled according to a command issued from the client. When the user confirms the message and proceeds with the setup program, the setup program uses the UPnP invalidation function and issues a command for invalidating the UPnP function via the USB.

この制御によって、プリンタのUPnP機能が無効化され、ネットワークに接続された際には、UPnPプロトコルを使用したデバイス検索には反応せず、またプリンタからのHTTP NOTIFY(広告)のマルチキャストも発行しない。すなわち、UPnPデバイスとしてのデバイス認識はなされない。   With this control, when the UPnP function of the printer is invalidated and connected to the network, it does not respond to device search using the UPnP protocol, nor does it issue a multicast of HTTP NOTIFY (advertisement) from the printer. That is, device recognition as a UPnP device is not performed.

図10aは、USB経由で発行されるUPnP機能を無効化するコマンドを示す図である。   FIG. 10a is a diagram showing a command for invalidating the UPnP function issued via USB.

予め定義されたプリンタのネットワーク設定を行うために定義されている設定コマンドを使い、設定するパラメータとして、同じく予め定義されたUPnP機能の有効化・無効化を制御する指定する<upnpenable>というパラメータを指定する。   Using a setting command defined for performing network settings of a predefined printer, a parameter <upnable> for specifying activation / invalidation of the UPnP function defined in advance is also set as a parameter to be set. specify.

このパラメータの値として、「0」をセットすることによって、当該プリンタのUPnP機能を無効にする設定が行なわれる。本設定コマンドの実行が問題なく処理されると、応答コマンドに、正常実行のステータスが返る。   By setting “0” as the value of this parameter, setting is made to disable the UPnP function of the printer. If the execution of this setting command is successfully processed, the normal execution status is returned to the response command.

この処理を行った後に、セットアッププログラムは、ネットワークケーブルをプリンタ本体に接続し、ネットワークにプリンタを接続する旨を、ユーザに催促するメッセージを表示する(8−8)。ユーザ操作によって、プリンタのネットワークへの接続が行われる。セットアッププログラムは、LAN経由で、プリンタを検索する。この検出は、ベンダー固有のプロトコルで定められたプリンタサーチコマンドのマルチキャスト発行によって行なわれる。このときに、プリンタのUPnP機能が無効になっている。したがって、ネットワーク上に、UPnPデバイスの追加を行わず、クライアントOSのUPnP機能によるデバイス検出が働かず、UPnPのインストール画面といったセットアッププログラムには関係ない画面が表示されることはない。また、DTV400においても、UPnPプリンタの検出がされないので、デジタルテレビからプリンタへの通信が行われない。   After performing this process, the setup program connects the network cable to the printer body and displays a message prompting the user to connect the printer to the network (8-8). The user connects to the printer network. The setup program searches for printers via the LAN. This detection is performed by issuing a printer search command multicast defined by a vendor-specific protocol. At this time, the UPnP function of the printer is disabled. Therefore, no UPnP device is added to the network, device detection by the UPnP function of the client OS does not work, and a screen that is not related to the setup program such as the UPnP installation screen is not displayed. Also, in the DTV 400, since the UPnP printer is not detected, communication from the digital television to the printer is not performed.

セットアッププログラムによるベンダー固有のプロトコルで定められているプリンタサーチが行われ、同プロトコル対応プリンタが応答する。その中には、USBで接続されている当該プリンタからの応答が含まれ、USB経由で、プリンタの名称やID、アドレス等を取得し、情報が合致するプリンタをセットアップ対象プリンタとして選択する。   A printer search defined by a vendor-specific protocol by the setup program is performed, and a printer compatible with the protocol responds. This includes a response from the printer connected via USB. The name, ID, address, and the like of the printer are acquired via USB, and a printer that matches the information is selected as a setup target printer.

このプリンタを対象に、通信ポートが作成され、ネットワークプリンタとしてクライアントOS上に登録される。これと同時に、ユーザインタフェース上に、プリンタアイコンとして表示され、ユーザが登録されているプリンタを確認、区別または現在準備可能なプリンタを識別するのに利用される。アプリケーションからの印刷では、このアイコンが選択できるようになり、ネットワークセットアップは完了する。   A communication port is created for this printer and registered on the client OS as a network printer. At the same time, it is displayed as a printer icon on the user interface, and is used to confirm, distinguish or identify a printer that can be prepared by the user. When printing from the application, this icon can be selected, and the network setup is completed.

セットアップ処理の最後に、プログラムは、UPnPの有効化機能を使用し、UPnP機能を再度有効化する旨のコマンドをUSB経由で発行する。この制御によって、プリンタのUPnP機能が有効化され、UPnPプロトコルを使用したデバイス検索に反応する。   At the end of the setup process, the program uses the UPnP activation function and issues a command to re-enable the UPnP function via USB. This control enables the UPnP function of the printer and reacts to device search using the UPnP protocol.

図10bは、USB経由で発行されるUPnP機能を有効化するコマンドを示す図である。   FIG. 10b is a diagram showing a command for enabling the UPnP function issued via USB.

プリンタのネットワーク設定を行うために定義されている設定コマンドに、パラメータとして<upnpenable>を指定するのは、機能無効化の際と同様の処理である。パラメータの値として「1」をセットすることによって、当該プリンタのUPnP機能を有効とする設定が行なわれる。本設定コマンドの実行が問題なく処理されると、応答コマンドに、正常実行のステータスが返ってくる。   Specifying <uppenable> as a parameter in a setting command defined to perform network setting of the printer is the same process as when the function is disabled. By setting “1” as a parameter value, a setting for enabling the UPnP function of the printer is performed. If the execution of this setting command is successfully processed, the normal execution status is returned to the response command.

UPnPが有効になると、プリンタからは、HTTP NOTIFY(広告)のマルチキャストを発行し、UPnPデバイスとして、デバイス認識される。この時点では、クライアントにおいて、ネットワークセットアップが完了しているので、ユーザに大きな混乱は生じない。   When UPnP is enabled, the printer issues a multicast of HTTP NOTIFY (advertisement) and is recognized as a UPnP device. At this point, since the network setup is completed in the client, there is no great confusion for the user.

上記のように、クライアントデバイスが、固有プロトコルを使ったネットワークセットアップを実行し、ユーザインタフェースを介して、ユーザが設定動作を行っている最中に、そのバックグランドでUPnPプロトコルによって、同じデバイスが検索される。そのセットアップ処理に伴うメッセージやダイアログボックスが表示される等、セットアップ処理が実行されると、ユーザが混乱する可能性がある。しかし、固有プロトコルを使ったセットアップ開始時に、UPnPプロトコルによる検索が有効になっていれば、一時的に無効にすることによって、UPnPによる検出が、セットアップ中に発生することがなく、上記混乱を防ぐことができる。   As described above, while the client device performs network setup using a specific protocol and the user is performing the setting operation via the user interface, the same device is searched by the UPnP protocol in the background. Is done. If the setup process is executed, such as displaying a message or dialog box associated with the setup process, the user may be confused. However, if the search using the UPnP protocol is enabled at the start of setup using the unique protocol, the detection by UPnP does not occur during setup by temporarily disabling the search, thus preventing the confusion. be able to.

なお、実施例1におけるプリンタのUPnPプロトコル機能の無効化コマンドの発行手段は、記載された手段に限る必要はない。たとえば、本プリンタのネットワークセットアップにおいて、USB接続を必要としないセットアップ処理を実行する場合、セットアッププログラムが、対象プリンタの電源を投入する。そして、ネットワークに接続された後の早い段階で、UPnP機能を無効化する旨のコマンドを、ベンダー固有のプロトコルを使って、ネットワーク経由で発行するようにしてもよい。   Note that the means for issuing the invalidation command for the UPnP protocol function of the printer in the first embodiment need not be limited to the described means. For example, in the network setup of this printer, when executing a setup process that does not require a USB connection, the setup program turns on the power of the target printer. Then, a command for invalidating the UPnP function may be issued via the network at an early stage after being connected to the network using a vendor-specific protocol.

この場合、ネットワーク上で、該当プリンタが特定されていないことが想定されるので、ブロードキャスト通信によって、このコマンドを発行する。これによって、ネットワークに接続され、このコマンドを認識可能なプリンタの全てにおいて、UPnP機能を無効化することができる。同様に、クライアントOSにおいて、セットアップ処理を行っている最中に、UPnPプロトコル経由のデバイス検索やセットアップ処理が同時処理されることもない。ユーザは、混乱することなく、セットアッププログラムの処理を行うことができる。
In this case, since it is assumed that the corresponding printer is not specified on the network, this command is issued by broadcast communication. As a result, the UPnP function can be disabled in all printers connected to the network and capable of recognizing this command. Similarly, during the setup process in the client OS, the device search and setup process via the UPnP protocol are not performed simultaneously. The user can process the setup program without being confused.

次に、本発明の実施例2について説明する。   Next, a second embodiment of the present invention will be described.

UPnPプロトコルと、同プリントサービスをサポートするDTV400と、UPnPプロトコルと、ベンダー固有のプロトコルとが、ネットワーク上で稼動している。また、同プロトコルを使ったプリントサービスをサポートする上記クライアントコンピュータが、ネットワーク上で稼動している。ユーザが、クライアントコンピュータからの印刷を行うために、ネットワークプリンタ200を同ネットワークに新規に接続し、クライアントコンピュータにおいてセットアップを行う。   The UPnP protocol, the DTV 400 that supports the print service, the UPnP protocol, and the vendor-specific protocol are operating on the network. The client computer that supports the print service using the protocol is operating on the network. In order to perform printing from the client computer, the user newly connects the network printer 200 to the network and performs setup on the client computer.

プリンタ購入時に添付されているCD−ROMに含まれているセットアッププログラムをクライアントコンピュータ上で実行することによって、新しいプリンタのセットアップが開始される。プログラムが表示するメッセージに従い、ユーザが処理を進めると、プリンタドライバソフトウエアのシステムへのコピーが終了する。   The setup of a new printer is started by executing a setup program included in a CD-ROM attached at the time of purchase of the printer on the client computer. When the user proceeds with the process according to the message displayed by the program, the copying of the printer driver software to the system ends.

図11は、本発明の第2の実施例において、ネットワークプリンタのクライアントコンピュータ上で、セットアップを示すダイアログの遷移図である。   FIG. 11 is a transition diagram of a dialog indicating setup on the client computer of the network printer in the second embodiment of the present invention.

図12は、本発明の第2の実施例において、ネットワークプリンタのクライアントコンピュータ上で、セットアップを示すフローチャートである。   FIG. 12 is a flowchart showing the setup on the client computer of the network printer in the second embodiment of the present invention.

コピー終了後に、引き続きネットワークセットアップを行うかどうかを問うダイアログボックスが表示される。セットアップを行う旨を、ユーザが選択すると、ネットワークセットアップが開始される。セットアップ処理が開始される際に、プリンタの電源投入とネットワークケーブルの接続によるネットワークへの接続とを催促するメッセージが、表示される(11−5、S1201)。ユーザは、指示に従い、プリンタの電源を投入し、ネットワークにプリンタを接続する。   After copying is complete, a dialog box appears asking if you want to continue with network setup. When the user selects to perform setup, network setup is started. When the setup process is started, a message prompting to turn on the printer and connect to the network by connecting the network cable is displayed (11-5, S1201). In accordance with the instruction, the user turns on the printer and connects the printer to the network.

図13は、本発明の第2の実施例において、ネットワークプリンタのプリンタ上での状態遷移を示すフローチャートである。   FIG. 13 is a flowchart showing the state transition on the printer of the network printer in the second embodiment of the present invention.

本プリンタは、一度もセットアップされていない新品である状態、または、設定が初期化された状態において、UPnPプロトコル機能が無効化されている(S1302)。これによって、ネットワークに接続された際に、UPnPプロトコルを使用したデバイス検索には反応せず、またプリンタからのHTTP NOTIFY(広告)のマルチキャストも発行しない。すなわち、UPnPデバイスとしてのデバイス認識はされない。ベンダー固有のプロトコルを使ったネットワークセットアップが行なわれ、ベンダー固有プロトコルによるセットアップが全て完了したことを、プリンタが認識した時点で、UPnP機能が有効化される(S1304)という特徴を持っている。   In this printer, the UPnP protocol function is disabled in a new state that has never been set up or in a state in which the settings have been initialized (S1302). As a result, when connected to the network, it does not respond to device search using the UPnP protocol, nor does it issue an HTTP NOTIFY (advertisement) multicast from the printer. That is, device recognition as a UPnP device is not performed. The UPnP function is activated (S1304) when the printer recognizes that the network setup using the vendor-specific protocol is performed and all the setups using the vendor-specific protocol are completed.

セットアッププログラムは、ネットワークケーブルをプリンタ本体に接続し、ネットワークにプリンタを接続する旨を、ユーザに催促するメッセージを、表示する。ユーザ操作によって、プリンタをネットワークへ接続する。セットアッププログラムは、LAN経由でプリンタを検索する(S1203)。この検出は、ベンダー固有のプロトコルで定められたプリンタサーチコマンドのマルチキャスト発行によって行なわれる。この場合、プリンタのUPnP機能が無効になっているので(S1302)、ネットワーク上に、UPnPデバイスを追加しない。また、クライアントOSのUPnP機能によるデバイス検出を働かさず、UPnPのインストール画面といったセットアッププログラムには関係ない画面が表示されることはない。また、DTV400においても、UPnPプリンタを検出しないので、デジタルテレビからプリンタへの通信を行わない。   The setup program connects a network cable to the printer body and displays a message prompting the user to connect the printer to the network. The printer is connected to the network by user operation. The setup program searches for a printer via the LAN (S1203). This detection is performed by issuing a printer search command multicast defined by a vendor-specific protocol. In this case, since the UPnP function of the printer is disabled (S1302), no UPnP device is added on the network. Further, the device detection by the UPnP function of the client OS does not work, and a screen not related to the setup program such as the UPnP installation screen is not displayed. Further, since the DTV 400 does not detect a UPnP printer, communication from the digital television to the printer is not performed.

セットアッププログラムは、ベンダー固有のプロトコルで定められているプリンタサーチをし、同プロトコルに対応するプリンタが応答する。サーチコマンドは、ブロードキャストでネットワーク上の全ての機器に送信される。そして、サーチコマンドを受取り、このコマンドを理解できる機器(この場合は、特定のプリンタやプリンタアダプタ)がコマンドを送信したホストに、コマンドに対する予め決められた情報を戻す(1204)。   The setup program performs a printer search defined by a vendor-specific protocol, and a printer corresponding to the protocol responds. The search command is transmitted to all devices on the network by broadcasting. Then, a search command is received, and predetermined information for the command is returned to the host to which the device (in this case, a specific printer or printer adapter) that can understand the command has transmitted the command (1204).

この情報には、プリンタの名称やID、アドレス等が含まれ、これらの情報に基づいて、接続したいプリンタを特定することができる。検出されたプリンタの一覧が表示され(11−9)、ハイライトで示されたプリンタが選択可能である。ユーザが、プリンタを選択し(1205)、プログラムを進めると、そのプリンタを対象に、通信ポートが作成され、ネットワークプリンタとして、クライアントOS上に登録される。これと同時に、ユーザインタフェース上に、プリンタアイコンとして表示され、ユーザが、登録されているプリンタを確認、区別、または現在準備可能なプリンタを識別するのに利用され、アプリケーションからの印刷では、このアイコンを選択できる。そして、ネットワークセットアップが完了する(11−14)。   This information includes the name, ID, address, and the like of the printer, and the printer to be connected can be specified based on the information. A list of detected printers is displayed (11-9), and the printer indicated by the highlight can be selected. When the user selects a printer (1205) and proceeds with the program, a communication port is created for the printer and registered on the client OS as a network printer. At the same time, it is displayed as a printer icon on the user interface, and is used by the user to confirm, distinguish, or identify a printer that can be currently prepared. Can be selected. Then, the network setup is completed (11-14).

セットアップ処理の最後に、プログラムは、他のクライアントOSにおいて、同プリンタのセットアップを行うために、同様のセットアッププログラムを実行するか否かをユーザに選択させる。セットアッププログラムによるネットワークセットアップを行わないという選択がされると、プログラムは、予め定められたセットアップ完了通知コマンドをプリンタに発行する(S1207)。このコマンド発行によって、プリンタは、固有プロトコルを使ったセットアップ処理が完了したことを判断し(S1303)、UPnP機能が有効化される。これによって、UPnPプロトコルを使用したデバイス検索に反応する。また、プリンタからは、HTTP NOTIFY(広告)のマルチキャストを発行し、UPnPデバイスとして、デバイス認識される。この時点では、クライアントにおいてネットワークセットアップは完了しているので、ユーザに大きな混乱は生じない。   At the end of the setup process, the program causes the user to select whether or not to execute the same setup program in order to set up the printer in another client OS. When it is selected not to perform network setup by the setup program, the program issues a predetermined setup completion notification command to the printer (S1207). By issuing this command, the printer determines that the setup process using the unique protocol has been completed (S1303), and the UPnP function is validated. This reacts to device search using the UPnP protocol. Further, the printer issues a multicast of HTTP NOTIFY (advertisement), and is recognized as a UPnP device. At this point, the network setup is complete on the client, so there is no significant confusion for the user.

このように、クライアントデバイスが、固有プロトコルを使ったネットワークセットアップを実行し、ユーザインタフェースを介して、ユーザが設定動作を行っている最中に、そのバックグランドで、UPnPプロトコルによって、同じデバイスが検索される。そして、そのセットアップ処理に伴うメッセージやダイアログボックスが表示される等、セットアップ処理が実行されると、ユーザが混乱する可能性がある。しかし、固有プロトコルを使ったセットアップ開始時に、UPnPプロトコルによる検索が有効になっていれば、一時的に無効にすることによって、UPnPによる検出がセットアップ中に発生することがなく、上記混乱を防ぐことができる。   In this way, the client device performs network setup using a specific protocol and searches for the same device in the background by the UPnP protocol while the user is performing the setting operation via the user interface. Is done. When the setup process is executed, such as a message or dialog box associated with the setup process is displayed, the user may be confused. However, if the UPnP protocol search is enabled at the start of setup using the specific protocol, the UPnP detection will not occur during setup by temporarily disabling the search, thus preventing the above confusion. Can do.

上記実施例は、ネットワークに接続されて複数のプロトコルに対応するサーバデバイスのクライアントデバイスにおけるセットアップ方法であり、複数のプロトコルとそれに対応したセットアップ方法を備えるクライアントデバイスである。また、同じ複数のプロトコルに対応するサーバデバイスのセットアップを行う際に、第1優先のプロトコル経由で検索されたサーバデバイスのセットアップを開始するときに、サーバデバイスにおいてその他のプロトコルによる検索が有効であれば、次のようにする。つまり、上記実施例は、上記有効である他のプロトコルによる検索を一時的に無効とし、その後に、上記セットアップ処理が完了した際に、上記無効にしたプロトコルを有効とするデバイスとそのデバイスに適用される方法、制御プログラムである。   The above embodiment is a setup method in a client device of a server device that is connected to a network and supports a plurality of protocols, and is a client device that includes a plurality of protocols and a setup method corresponding to the protocols. In addition, when setting up a server device corresponding to the same plurality of protocols, when the setup of the server device searched via the first priority protocol is started, the search by the other protocol is effective in the server device. For example: In other words, the above embodiment is applied to a device and the device that validate the invalidated protocol when the setup process is completed after the search by other valid protocols is temporarily invalidated. Method, control program.

また、上記実施例は、ネットワークに接続され、複数のプロトコルに対応するサーバデバイスのクライアントデバイスにおけるセットアップ方法であり、複数のプロトコルとそれに対応したセットアップ方法を備えるクライアントデバイスである。同じ複数のプロトコルに対応するサーバデバイスのセットアップを行う際に、デバイスの初期状態においてデバイスが第1優先のセットアップを完了していなければ、第1優先のセットアップに使用されていないプロトコルを無効とする。そして、上記実施例は、当該セットアップ処理が完了したときに、上記無効にしたプロトコルを有効にするデバイスセットアップ方法である。   The above-described embodiment is a setup method in a client device of a server device that is connected to a network and supports a plurality of protocols, and is a client device that includes a plurality of protocols and a setup method corresponding to the protocols. When setting up a server device corresponding to the same plurality of protocols, if the device has not completed the first priority setup in the initial state of the device, the protocol not used for the first priority setup is invalidated. . The embodiment described above is a device setup method for enabling the invalidated protocol when the setup process is completed.

つまり、上記実施例は、ネットワークインタフェースを持つデバイスにおけるクライアントセットアップ方法であって、複数のセットアップ方法を具備するデバイスである。また、上記実施例は、第1優先のセットアップを開始する際に、第2のセットアップ方法であるネットワークインタフェース経由のディスカバリ機能が有効であれば、上記ディスカバリ機能を無効にするディスカバリ機能無効化手段を有する。さらに、上記実施例は、上記第1優先のセットアップが完了した際に、上記無効にしたディスカバリ機能を有効にするディスカバリ機能有効化手段を有するデバイスセットアップ装置の例である。   In other words, the above embodiment is a client setup method in a device having a network interface, and is a device having a plurality of setup methods. In the above embodiment, when the first priority setup is started, if the discovery function via the network interface as the second setup method is valid, the discovery function invalidating means for invalidating the discovery function is provided. Have. Further, the above embodiment is an example of a device setup apparatus having a discovery function enabling means for enabling the disabled discovery function when the first priority setup is completed.

また、上記実施例は、初期状態において、デバイスが、第1優先のセットアップを完了していなければ、上記第1優先のセットアップに使われないネットワークインタフェース経由のディスカバリ機能を無効にするディスカバリ機能無効化手段を有する。上記実施例は、当該セットアップ処理を終了したときに、上記ディスカバリ機能を有効にするディスカバリ機能有効化手段を有するデバイスセットアップ装置の例である。   In the above-described embodiment, in the initial state, if the device has not completed the first-priority setup, the discovery function is invalidated to invalidate the discovery function via the network interface that is not used for the first-priority setup. Have means. The above-described embodiment is an example of a device setup apparatus having a discovery function enabling unit that enables the discovery function when the setup process is completed.

さらに、上記実施例は、ネットワークインタフェース以外のインタフェースであるインタフェース2を持つデバイスであって、第1優先度のデバイスセットアップ方法でセットアップする。このセットアップを開始する際に、セットアップ処理の最初に、上記インタフェース2を経由し、セットアップ対象のデバイスと通信し、コマンドを送信する。これによって、上記ネットワークインタフェース経由のディスカバリ機能を無効にし、セットアップ処理を終了したときに、再度コマンドを送信することによって、上記ディスカバリ機能を有効にするデバイスセットアップ装置の例である。   Further, the above embodiment is a device having the interface 2 which is an interface other than the network interface, and is set up by the first priority device setup method. When starting this setup, at the beginning of the setup process, it communicates with the setup target device via the interface 2 and transmits a command. This is an example of a device setup device that validates the discovery function by invalidating the discovery function via the network interface and transmitting the command again when the setup process is completed.

また、上記実施例を方法の発明として把握することができる。つまり、上記実施例は、ネットワークインタフェースを持つデバイスにおけるクライアントセットアップ方法であって、複数のセットアップ方法を具備するデバイスの制御方法である。また、第1優先のセットアップを開始する際に、第2のセットアップ方法であるネットワークインタフェース経由のディスカバリ機能が有効であれば、上記ディスカバリ機能を無効にし、記憶装置に記憶するディスカバリ機能無効化工程を有する。さらに、上記第1優先のセットアップが完了した際に、上記無効にしたディスカバリ機能を有効にするディスカバリ機能有効化工程を有するデバイスセットアップ装置の制御方法の例である。   Moreover, the said Example can be grasped | ascertained as invention of a method. In other words, the above embodiment is a client setup method in a device having a network interface, and is a method for controlling a device having a plurality of setup methods. Further, when the first priority setup is started, if the discovery function via the network interface, which is the second setup method, is valid, the discovery function invalidation step of invalidating the discovery function and storing it in the storage device is performed. Have. Furthermore, it is an example of a device setup apparatus control method including a discovery function enabling step of enabling the disabled discovery function when the first priority setup is completed.

上記実施例は、初期状態において、デバイスが、第1優先のセットアップを完了していなければ、上記第1優先のセットアップに使われないネットワークインタフェース経由のディスカバリ機能を無効にし記憶装置に記憶するディスカバリ機能無効化工程を有する。また、上記実施例は、当該セットアップ処理を終了したときに、上記ディスカバリ機能を有効にするディスカバリ機能有効化工程とを有するデバイスセットアップ装置の制御方法の例である。   In the above-described embodiment, in the initial state, if the device has not completed the first priority setup, the discovery function via the network interface that is not used for the first priority setup is invalidated and stored in the storage device. It has an invalidation process. Moreover, the said Example is an example of the control method of the device setup apparatus which has the discovery function validation process which validates the said discovery function when the said setup process is complete | finished.

さらに、上記実施例は、ネットワークインタフェース以外のインタフェースであるインタフェース2を持つデバイスであって、第1優先度のデバイスセットアップ方法でセットアップを開始する。この際に、セットアップ処理の最初に、上記インタフェース2を経由し、セットアップ対象のデバイスと通信し、コマンドを送信する。これによって、上記ネットワークインタフェース経由のディスカバリ機能を無効にし、記憶装置に記憶し、セットアップ処理を終了したときに、再度コマンドを送信することによって、上記ディスカバリ機能を有効にする。
Further, the above embodiment is a device having the interface 2 which is an interface other than the network interface, and starts the setup by the first priority device setup method. At this time, at the beginning of the setup process, it communicates with the device to be set up via the interface 2 and transmits a command. Thus, the discovery function via the network interface is invalidated, stored in the storage device, and the command is transmitted again when the setup process is completed, thereby validating the discovery function.

本発明の実施例1であるネットワークプリントシステムPS1の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a network print system PS1 that is Embodiment 1 of the present invention. FIG. UPnPの基本構成を示す図である。It is a figure which shows the basic composition of UPnP. UPnPのプロトコルスタックを示す図である。It is a figure which shows the protocol stack of UPnP. UPnPデバイスが告知を行う様子を示す図である。It is a figure which shows a mode that a UPnP device performs notification. デバイスが利用可能なことを示す告知パケットの例を示す図である。It is a figure which shows the example of the notification packet which shows that a device can be utilized. デバイスが利用できなくなることを示す告知パケットの例を示す図である。It is a figure which shows the example of the notification packet which shows that a device becomes unavailable. コントロールポイントがデバイスをサーチする様子を示す図である。It is a figure which shows a mode that a control point searches a device. サーチリクエストパケットの例を示す図である。It is a figure which shows the example of a search request packet. サーチレスポンスパケットの例を示す図である。It is a figure which shows the example of a search response packet. ディスクリプションステップの様子を示す図である。It is a figure which shows the mode of a description step. ディスクリプションリクエストパケットの例を示す図である。It is a figure which shows the example of a description request packet. ディスクリプションレスポンスパケットの例を示す図である。It is a figure which shows the example of a description response packet. コントロールポイントがデバイスをコントロールする様子を示す図である。It is a figure which shows a mode that a control point controls a device. アクションリクエストの例を示す図である。It is a figure which shows the example of an action request. アクションレスポンスの例を示す図である。It is a figure which shows the example of an action response. イベンティングの様子を示す図である。It is a figure which shows the mode of eventing. サブスクリプションリクエストの例を示す図である。It is a figure which shows the example of a subscription request. サブスクリプションレスポンスの例を示す図である。It is a figure which shows the example of a subscription response. イベントメッセージの例を示す図である。It is a figure which shows the example of an event message. ブラウザがデバイスのプレゼンテーションページにアクセスする様子を示す図である。It is a figure which shows a mode that a browser accesses the presentation page of a device. クライアント100、DTV400におけるUPnPプロトコルデバイス検出時セットアップ方法を示すフローチャートである。4 is a flowchart illustrating a setup method when a UPnP protocol device is detected in the client 100 and the DTV 400. 実施例1において、クライアントにおけるUPnP対応プリンタデバイス検索のプロセスを示すフローチャートである。6 is a flowchart illustrating a UPnP-compatible printer device search process in a client according to the first exemplary embodiment. 実施例1において、Universal Plug and Play Device Architecture v1で規定されるM−SEARCHディスカバリパケットのフォーマットを示す図である。In Example 1, it is a figure which shows the format of the M-SEARCH discovery packet prescribed | regulated by Universal Plug and Play Device Architecture v1. ネットワークデバイスの一例としてのプリンタからのレスポンスパケットのフォーマットを示す図である。It is a figure which shows the format of the response packet from the printer as an example of a network device. USBを使用したネットワークプリンタのクライアントコンピュータ上におけるセットアップを示すダイアログの遷移を示す図である。It is a figure which shows the transition of the dialog which shows the setup on the client computer of the network printer which uses USB. USBを使用したネットワークプリンタのクライアントコンピュータ上におけるセットアップを示すフローチャートである。It is a flowchart which shows the setup on the client computer of the network printer which uses USB. 実施例1のネットワークプリンタのUSBを使用したクライアントコンピュータ上でのセットアップを示すダイアログの遷移図である。FIG. 10 is a dialog transition diagram illustrating setup on the client computer using the USB of the network printer of the first embodiment. 実施例1のネットワークプリンタのUSBを使用したクライアントコンピュータ上でのセットアップを示すフローチャートである。3 is a flowchart illustrating a setup on a client computer using a USB of the network printer according to the first exemplary embodiment. USB経由で発行されるUPnP機能を無効化するコマンドを示す図である。It is a figure which shows the command which invalidates the UPnP function issued via USB. USB経由で発行されるUPnP機能を有効化するコマンドを示す図である。It is a figure which shows the command which validates the UPnP function issued via USB. 本発明の第2の実施例において、ネットワークプリンタのクライアントコンピュータ上で、セットアップを示すダイアログの遷移図である。In the second embodiment of the present invention, it is a transition diagram of a dialog showing the setup on the client computer of the network printer. 本発明の第2の実施例において、ネットワークプリンタのクライアントコンピュータ上で、セットアップを示すフローチャートである。9 is a flowchart showing setup on a network printer client computer in the second embodiment of the present invention. 本発明の第2の実施例において、ネットワークプリンタのプリンタ上での状態遷移を示すフローチャートである。10 is a flowchart illustrating state transition on a printer of a network printer in the second embodiment of the present invention.

符号の説明Explanation of symbols

PS1…ネットワークプリントシステム、
100…クライアント、
200…ネットワークプリンタ、
201…プロトコルスタック
202…UPnPプロトコル処理部、
204…プリンタコントローラ、
205…ベンダー固有プロトコルの処理部、
401…TCP/UDPプロトコルスタック、
402…UPnPプロトコル処理部、
403…プリントプロトコル処理部、
404…印刷アプリケーション。
PS1 ... Network print system,
100 ... client,
200 ... Network printer,
201 ... Protocol stack 202 ... UPnP protocol processing unit,
204: Printer controller,
205 ... Vendor specific protocol processing unit,
401 ... TCP / UDP protocol stack,
402 ... UPnP protocol processing unit,
403 ... Print protocol processing unit,
404: Print application.

Claims (6)

ネットワークインタフェースを持つデバイスにおけるクライアントセットアップ方法であって、複数のセットアップ方法を具備するデバイスにおいて、
第1優先のセットアップを開始する際に、第2のセットアップ方法であるネットワークインタフェース経由のディスカバリ機能が有効であれば、上記ディスカバリ機能を無効にするディスカバリ機能無効化手段と;
上記第1優先のセットアップが完了した際に、上記無効にしたディスカバリ機能を有効にするディスカバリ機能有効化手段と;
を有することを特徴とするデバイスセットアップ装置。
A client setup method in a device having a network interface, comprising a plurality of setup methods,
A discovery function invalidating means for invalidating the discovery function if the discovery function via the network interface as the second setup method is valid when starting the first priority setup;
Discovery function enabling means for enabling the disabled discovery function when the first priority setup is completed;
A device setup apparatus comprising:
初期状態において、デバイスが、第1優先のセットアップを完了していなければ、上記第1優先のセットアップに使われないネットワークインタフェース経由のディスカバリ機能を無効にするディスカバリ機能無効化手段と;
当該第1優先のセットアップの処理を終了したときに、上記ディスカバリ機能を有効にするディスカバリ機能有効化手段と;
を有することを特徴とするデバイスセットアップ装置。
A discovery function invalidating means for invalidating a discovery function via a network interface that is not used for the first priority setup if the device has not completed the first priority setup in an initial state;
Discovery function enabling means for enabling the discovery function when the first priority setup process is terminated;
A device setup apparatus comprising:
ネットワークインタフェース以外のインタフェースであるインタフェース2を持つデバイスであって、第1優先度のデバイスセットアップ方法でセットアップを開始する際に、セットアップ処理の最初に、上記インタフェース2を経由し、セットアップ対象のデバイスと通信し、コマンドを送信することによって、上記ネットワークインタフェースを経由したディスカバリ機能を無効にし、セットアップ処理を終了したときに、再度コマンドを送信することによって、上記ディスカバリ機能を有効にすることを特徴とするデバイスセットアップ装置。   A device having an interface 2 that is an interface other than the network interface, and when the setup is started by the device setting method of the first priority, at the beginning of the setup process, the device to be set up via the interface 2 The discovery function via the network interface is disabled by communicating and sending a command, and the discovery function is enabled by sending a command again when the setup process is completed. Device setup device. ネットワークインタフェースを持つデバイスにおけるクライアントセットアップ方法であって、複数のセットアップ方法を具備するデバイスにおいて、
第1優先のセットアップを開始する際に、第2のセットアップ方法であるネットワークインタフェース経由のディスカバリ機能が有効であれば、上記ディスカバリ機能を無効にし、記憶装置に記憶するディスカバリ機能無効化工程と;
上記第1優先のセットアップが完了した際に、上記無効にしたディスカバリ機能を有効にするディスカバリ機能有効化工程と;
を有することを特徴とするデバイスセットアップ装置の制御方法。
A client setup method in a device having a network interface, comprising a plurality of setup methods,
A discovery function disabling step of invalidating the discovery function and storing it in the storage device if the discovery function via the network interface as the second setup method is valid when starting the first priority setup;
A discovery function enabling step for enabling the disabled discovery function when the first priority setup is completed;
A method for controlling a device setup apparatus, comprising:
初期状態において、デバイスが、第1優先のセットアップを完了していなければ、上記第1優先のセットアップに使われないネットワークインタフェース経由のディスカバリ機能を無効にし、記憶装置に記憶するディスカバリ機能無効化工程と;
当該第1優先のセットアップの処理を終了したときに、上記ディスカバリ機能を有効にするディスカバリ機能有効化工程と;
を有することを特徴とするデバイスセットアップ装置の制御方法。
In the initial state, if the device has not completed the first priority setup, the discovery function invalidation step of invalidating the discovery function via the network interface that is not used for the first priority setup and storing the discovery function in the storage device; ;
A discovery function enabling step for enabling the discovery function when the first priority setup process is completed;
A method for controlling a device setup apparatus, comprising:
ネットワークインタフェース以外のインタフェースであるインタフェース2を持つデバイスであって、第1優先度のデバイスセットアップ方法でセットアップを開始する際に、セットアップ処理の最初に、上記インタフェース2を経由し、セットアップ対象のデバイスと通信し、コマンドを送信することによって、上記ネットワークインタフェースを経由したディスカバリ機能を無効にし、記憶装置に記憶し、セットアップ処理を終了したときに、再度コマンドを送信することによって、上記ディスカバリ機能を有効にすることを特徴とするデバイスセットアップ装置の制御方法。   A device having an interface 2 that is an interface other than the network interface, and when the setup is started by the device setting method of the first priority, at the beginning of the setup process, the device to be set up via the interface 2 By communicating and sending a command, the discovery function via the network interface is disabled, stored in the storage device, and when the setup process is completed, the discovery function is enabled by sending the command again. A method for controlling a device setup apparatus.
JP2007218982A 2007-08-24 2007-08-24 Device setup apparatus and control method thereof Pending JP2009053869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007218982A JP2009053869A (en) 2007-08-24 2007-08-24 Device setup apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007218982A JP2009053869A (en) 2007-08-24 2007-08-24 Device setup apparatus and control method thereof

Publications (1)

Publication Number Publication Date
JP2009053869A true JP2009053869A (en) 2009-03-12

Family

ID=40504910

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007218982A Pending JP2009053869A (en) 2007-08-24 2007-08-24 Device setup apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP2009053869A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014012350A (en) * 2012-07-04 2014-01-23 Canon Inc Image processing apparatus, information processing apparatus, and method for controlling image processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014012350A (en) * 2012-07-04 2014-01-23 Canon Inc Image processing apparatus, information processing apparatus, and method for controlling image processing apparatus

Similar Documents

Publication Publication Date Title
EP2314059B1 (en) Method and system for providing input in home network using upnp
US7844738B2 (en) Method of and apparatus for bridging a UPnP network and a rendezvous network
US7912972B2 (en) Method of controlling device connected to universal plug and play home network via internet, and system and device for the method
JP4667175B2 (en) Information processing apparatus, information processing apparatus control method, computer program, and computer-readable storage medium
US20060031828A1 (en) Methodof apparatus for updating software of network device
JP4337591B2 (en) Information processing apparatus, network system, and network system control method
EP2339786B1 (en) Apparatus and method for providing information for a wireless network connection using Wi-Fi
US20090132737A1 (en) Remote interface apparatus, control system, and the method thereof
JP2004252974A (en) Control point server system with efficient access to home network device and method therefor
JP2009169732A (en) Communication terminal device and communication device connection control method
US9578482B2 (en) Communication apparatus and method of controlling the same
US20080316941A1 (en) Method and apparatus for providing dynamically changed upnp description
JP2005516439A (en) Control device and control method for device connected to wired network
CN1934844B (en) Server device, client device, and network system
JP3661935B2 (en) Information processing apparatus and method, recording medium, and program
JP5261067B2 (en) Method and system for reconnecting a printer to a host computer
US20070239860A1 (en) Information processing device, network connection method, and program recording medium
JP2007066092A (en) Information processing apparatus, network device, control method therefor, computer program, and computer-readable storage medium
JP2009053869A (en) Device setup apparatus and control method thereof
TWI458316B (en) Device proxy method and related apparatus for a universal plug and play network system
JP2005110001A (en) Communication environment setting method and communication environment setting program
JP4217701B2 (en) Information processing apparatus, method, and control program
JP2008299694A (en) Peripheral device driver installation system
EP1968245A2 (en) Apparatus and method for device control
KR20070042001A (en) Method for obtaining WPNP device / service status information, and JPNP control device therefor, and JPNP device / service status information providing method and JPNP controlled device for same