JP5264161B2 - Information processing apparatus, device, control method for information processing apparatus, and computer program - Google Patents

Information processing apparatus, device, control method for information processing apparatus, and computer program Download PDF

Info

Publication number
JP5264161B2
JP5264161B2 JP2007330953A JP2007330953A JP5264161B2 JP 5264161 B2 JP5264161 B2 JP 5264161B2 JP 2007330953 A JP2007330953 A JP 2007330953A JP 2007330953 A JP2007330953 A JP 2007330953A JP 5264161 B2 JP5264161 B2 JP 5264161B2
Authority
JP
Japan
Prior art keywords
network
network address
address
search
dhcp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007330953A
Other languages
Japanese (ja)
Other versions
JP2009153050A (en
Inventor
忠弘 中村
雅裕 西尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to JP2007330953A priority Critical patent/JP5264161B2/en
Application filed by Canon Inc filed Critical Canon Inc
Priority to PCT/JP2008/071599 priority patent/WO2009081688A1/en
Priority to KR1020107015841A priority patent/KR101103190B1/en
Priority to CN200880122005.4A priority patent/CN101904138B/en
Priority to US12/739,913 priority patent/US20100257271A1/en
Priority to EP08865215.1A priority patent/EP2225855A4/en
Priority to RU2010130476/07A priority patent/RU2448422C2/en
Publication of JP2009153050A publication Critical patent/JP2009153050A/en
Application granted granted Critical
Publication of JP5264161B2 publication Critical patent/JP5264161B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4541Directories for service discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5076Update or notification mechanisms, e.g. DynDNS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/668Internet protocol [IP] address subnets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects

Abstract

An information processing apparatus comprises: a management unit adapted to manage plural network addresses; an allocation unit adapted to, according to a request from an apparatus newly connected to a network, allocate, from among the network addresses managed by the management unit, the network address not allocated to other apparatus; a storage unit adapted to store the network address of a search server of performing a search according to a search request for searching for a device on the network and of responding to the search request by a searched result; and a transmission unit adapted to transmit the network address allocated by the allocation unit and the network address stored in the storage unit to the apparatus.

Description

本発明は、ネットワーク上のデバイスを検索するネットワークシステムで用いられる情報処理装置、デバイス、情報処理装置の制御方法に関する。   The present invention relates to an information processing apparatus, a device, and an information processing apparatus control method used in a network system that searches for devices on a network.

従来、プリンタ等のデバイスがネットワークに接続され、クライアントPCからネットワークを介して利用することが可能になっている。その際、クライアントPCはまずネットワーク上のデバイスを発見し、発見したデバイスを利用するためのドライバソフトウェアをインストールする必要がある。ネットワーク上のデバイスを検索するための技術としていくつか考えられているものの中には、ブロードキャストやマルチキャストを用いて検索要求パケットを送信するものがある。ブロードキャストやマルチキャストは、ネットワーク上に存在する複数の装置に対してデータを送信する方法である。これらの技術では、クライアントPCは検索要求パケットをブロードキャストやマルチキャストで送信し、検索要求パケットを受信したデバイスが検索応答パケットをクライアントPCに送信することにより、デバイスを検索する。   Conventionally, a device such as a printer is connected to a network and can be used from a client PC via the network. At that time, the client PC must first discover a device on the network and install driver software for using the discovered device. Among several techniques for searching for devices on a network, there are techniques that transmit search request packets using broadcast or multicast. Broadcast and multicast are methods for transmitting data to a plurality of devices existing on the network. In these techniques, a client PC transmits a search request packet by broadcast or multicast, and a device that has received the search request packet transmits a search response packet to the client PC to search for a device.

また、ネットワーク同士がルータなどの接続機器により相互に接続され、大規模なネットワークを構築することが可能になっている。その中で、ブロードキャストやマルチキャストはネットワーク全体のトラフィックに影響を与えるため、一般にルータはこれらを通過させない設定で運用されることが多い。ルータによって区切られたそれぞれのネットワークはサブネットと呼ばれ、ブロードキャストやマルチキャストは一般にサブネット内のみで利用されている。このような環境でブロードキャストやマルチキャストを使用したネットワークデバイス検索技術を用いた場合、クライアントPCが送信した検索要求パケットはルータを通過できない。そのため、複数のサブネットがルータによって接続されたネットワーク環境において、クライアントPCは、異なるサブネットに存在するデバイスを発見することはできなかった。   In addition, networks can be connected to each other by a connection device such as a router, and a large-scale network can be constructed. Among them, since broadcast and multicast affect the traffic of the entire network, in general, routers are often operated in a setting that does not allow them to pass. Each network separated by routers is called a subnet, and broadcast and multicast are generally used only within the subnet. When the network device search technology using broadcast or multicast is used in such an environment, the search request packet transmitted by the client PC cannot pass through the router. For this reason, in a network environment in which a plurality of subnets are connected by routers, the client PC cannot find a device that exists in a different subnet.

このような課題を解決するために、〔特許文献1〕には、サブネットごとにサーバを設置し、サーバ間でデバイス情報や検索要求の交換を行う技術が提案されている。
特開2007−97057
In order to solve such a problem, [Patent Document 1] proposes a technique of installing a server for each subnet and exchanging device information and a search request between the servers.
JP2007-97057

上記従来技術の方法では、クライアントPCは、サーバに問い合わせるためにそのサーバのネットワークアドレスを知っている必要がある。即ち、ユーザはクライアントPCそれぞれに対して、事前に、サーバのネットワークアドレスを登録しておく必要がある。また、各サーバには、ネットワーク上のデバイスの情報を登録しておく必要がある。このような登録作業は、サブネットが増えることによってサーバの数が増えたり、デバイスやクライアントPCの数が増えるにつれて作業負荷が高くなり、システム管理者やユーザの手間となっていた。   In the above prior art method, the client PC needs to know the network address of the server in order to make an inquiry to the server. That is, the user needs to register the server network address in advance for each client PC. In addition, it is necessary to register device information on the network in each server. Such a registration work increases the workload as the number of servers increases or the number of devices and client PCs increases as the number of subnets increases.

本発明は、このような問題に対してなされたものであり、デバイスを検索するための検索サーバを設置した場合に、クライアントPCやデバイスがこの検索サーバを使用するにあたっての設定作業の手間を軽減することを目的とする。   The present invention has been made for such a problem, and when a search server for searching for a device is installed, the setting work for the client PC or device to use the search server is reduced. The purpose is to do.

上記目的を達成するために、本発明は、ネットワークに接続可能な情報処理装置と、前記ネットワーク上の装置を検索するための検索要求に応じて検索を行い検索結果を応答する検索サーバと、を含むネットワークシステムであって、前記情報処理装置は、複数のネットワークアドレスを管理する管理手段と、前記検索サーバのネットワークアドレスを記憶する記憶手段と、前記ネットワークに新たに接続された装置からの要求に応じて、前記管理手段で管理されるネットワークアドレスのうち他の装置に割り当てられていないネットワークアドレスを割り当てる割り当て手段と、前記割り当て手段によって割り当てられたネットワークアドレスを、前記ネットワークに新たに接続された装置に送信する第1の送信手段と、前記割り当て手段によって割り当てられたネットワークアドレスを、前記記憶手段により記憶されたネットワークアドレスに基づいて前記検索サーバに送信する第2の送信手段と、を有し、前記検索サーバは、前記第2の送信手段により送信されたネットワークアドレスに基づいて、前記ネットワークに新たに接続された装置に対してデバイス情報を要求する要求手段と、前記要求手段による要求に応じて取得したデバイス情報を登録する登録手段と、を有する。 In order to achieve the above object, the present invention provides an information processing apparatus connectable to a network, and a search server that performs a search in response to a search request for searching for a device on the network and responds with a search result. The information processing apparatus includes a management unit that manages a plurality of network addresses, a storage unit that stores a network address of the search server, and a request from a device newly connected to the network. Correspondingly, the allocation means for allocating a network address that is not assigned to other devices of the network addresses managed by the management unit, the network address assigned by the previous SL allocation means, is newly connected to the network First transmission means for transmitting to the apparatus, and said assignment means Thus a network address assigned, and a second transmission means for transmitting to the search server based on the stored network address by said memory means, said retrieval server is transmitted by said second transmitting means A request unit for requesting device information to a device newly connected to the network based on the received network address, and a registration unit for registering device information acquired in response to a request from the request unit. .

本発明によれば、デバイスを検索するためのサーバを設置した場合に、クライアントPCやデバイスがこのサーバを使用するにあたっての設定作業の手間を軽減することができる。   According to the present invention, when a server for searching for a device is installed, it is possible to reduce the trouble of setting work when a client PC or device uses this server.

(実施例1)
図1は本発明を適用したデバイス検索システムの構成を示す図である。
DHCPサーバ101および検索サーバとしてのDiscovery Proxy(DP)102が接続されたサブネット1、クライアントPC103、画像形成装置104が接続されたサブネット2、画像形成装置105が接続されたサブネット3が存在している。サブネット1とサブネット2はルータ106により相互に接続され、サブネット1とサブネット3はルータ107により相互に接続されており、これら3つのサブネットによって1つのLANが形成されている。そして、結果としてすべてのサブネットにおいて接続された端末は相互に通信が可能になっている。ただし、ルータ106、107は一方のサブネットから受信したブロードキャストやマルチキャストを他方のサブネットにそのまま通過させることはしない。そのため、ブロードキャストやマルチキャストによる通信は各サブネット内でのみ可能である。ここで、本実施例に登場する装置のうち、画像形成装置104、105は、本発明におけるデバイスの一例であり、プリンタや複写機、スキャナ、複合機、ファクシミリ等である。また、本実施例に登場する装置のうち、DHCPサーバ101、DP102、クライアントPC103は、本発明における情報処理装置の一例であり、後述するように汎用のPCを使用可能である。図1のデバイス検索システムでは、クライアントPC103を操作するユーザが所望する画像形成装置を探すために、クライアントPC103からDP102に対して検索要求パケットが送られる。そして、DP102においてデバイスが検索された結果、検索結果がクライアントPCに送られる。
Example 1
FIG. 1 is a diagram showing the configuration of a device search system to which the present invention is applied.
There is a subnet 1 to which the DHCP server 101 and a Discovery Proxy (DP) 102 as a search server are connected, a subnet 2 to which the client PC 103 and the image forming apparatus 104 are connected, and a subnet 3 to which the image forming apparatus 105 is connected. . The subnet 1 and the subnet 2 are connected to each other by the router 106, and the subnet 1 and the subnet 3 are connected to each other by the router 107, and one LAN is formed by these three subnets. As a result, terminals connected in all subnets can communicate with each other. However, the routers 106 and 107 do not pass a broadcast or multicast received from one subnet to the other subnet. Therefore, communication by broadcast or multicast is possible only within each subnet. Here, among the apparatuses appearing in this embodiment, the image forming apparatuses 104 and 105 are examples of devices in the present invention, and are a printer, a copier, a scanner, a multifunction peripheral, a facsimile, or the like. Among the devices appearing in this embodiment, the DHCP server 101, DP 102, and client PC 103 are examples of the information processing device according to the present invention, and a general-purpose PC can be used as will be described later. In the device search system of FIG. 1, a search request packet is sent from the client PC 103 to the DP 102 in order to search for a desired image forming apparatus by a user operating the client PC 103. Then, as a result of searching for a device in the DP 102, the search result is sent to the client PC.

次に、DHCP (Dynamic Host Configuration Protocol)を使用しIPアドレスなどの設定情報を配布する方法について説明する。DHCPは、ネットワークに接続された端末に設定情報を配布する仕組みを規定したプロトコルであり、その詳細はRFC2131で規定されている。DHCPはクライアント/サーバ方式をとり、DHCPサーバは各種設定情報を一元管理し、DHCPクライアントであるネットワーク端末はその情報を受信する。   Next, a method for distributing setting information such as an IP address using DHCP (Dynamic Host Configuration Protocol) will be described. DHCP is a protocol that defines a mechanism for distributing setting information to terminals connected to a network, and details thereof are defined in RFC 2131. DHCP adopts a client / server system, a DHCP server centrally manages various setting information, and a network terminal which is a DHCP client receives the information.

図2は、DHCPサーバとDHCPクライアントとの間で送受信されるDHCPメッセージのフローを説明するシーケンス図である。DHCPクライアントはDHCP DISCOVERメッセージをブロードキャストする(S2001)。DHCPサーバはDHCP DISCOVERメッセージを受信すると、メッセージを送信したDHCPクライアントにIPアドレスを割り当て、その後DHCP OFFERメッセージを送信する(S2002)。DHCP OFFERメッセージには、DHCP DISCOVER メッセージを送信したDHCPクライアントに割り当てられたIPアドレスやその他の設定情報が含まれている。   FIG. 2 is a sequence diagram illustrating a flow of a DHCP message transmitted / received between the DHCP server and the DHCP client. The DHCP client broadcasts a DHCP DISCOVER message (S2001). When the DHCP server receives the DHCP DISCOVER message, it assigns an IP address to the DHCP client that sent the message, and then sends a DHCP OFFER message (S2002). The DHCP OFFER message includes an IP address assigned to the DHCP client that has transmitted the DHCP DISCOVER message and other setting information.

DHCPクライアントはDHCP OFFERメッセージを受信すると、DHCP OFFERメッセージに含まれていたIPアドレスを使用するためのDHCP REQUESTメッセージをブロードキャストする(S2003)。DHCPサーバはDHCP REQUESTメッセージを受信すると、DHCP ACKメッセージを送信する(S2004)。DHCPクライアントはDHCP ACKメッセージを受信すると、それ以降は配布されたIPアドレスおよび設定情報を使用してネットワーク通信を行う。   When receiving the DHCP OFFER message, the DHCP client broadcasts a DHCP REQUEST message for using the IP address included in the DHCP OFFER message (S2003). When receiving the DHCP REQUEST message, the DHCP server transmits a DHCP ACK message (S2004). When receiving the DHCP ACK message, the DHCP client performs network communication using the distributed IP address and setting information thereafter.

また、DHCPサーバから配布されたIPアドレスには使用可能な期間(リースタイム)が設けられている。DHCPクライアントは、取得したIPアドレスをリースタイム後も継続して使用したい場合には、リースタイムが切れる期限の前にDHCPサーバに対してDHCP REQUESTメッセージを送信する(S2005)。DHCPサーバは割り当て済のIPアドレスからのDHCP REQUESTを受信すると、リースタイムを更新し、DHCP ACKメッセージを送信する(S2006)。   In addition, the IP address distributed from the DHCP server has a usable period (lease time). If the DHCP client wants to continue using the acquired IP address after the lease time, it transmits a DHCP REQUEST message to the DHCP server before the expiration date of the lease time (S2005). When receiving the DHCP REQUEST from the assigned IP address, the DHCP server updates the lease time and transmits a DHCP ACK message (S2006).

また、DHCPクライアントがIPアドレスの使用を中止する場合、DHCPクライアントはDHCPサーバに対してDHCP RELEASEメッセージを送信する(S2007)。DHCPサーバはDHCP RELEASEメッセージを受信すると、そのIPアドレスの割り当てを解除し、別のDHCPクライアントに対して割り当て可能にする。   When the DHCP client stops using the IP address, the DHCP client transmits a DHCP RELEASE message to the DHCP server (S2007). When the DHCP server receives the DHCP RELEASE message, it deallocates its IP address and makes it available for assignment to another DHCP client.

また、DHCPサーバは、割り当て済のIPアドレスからリースタイムが切れる前にDHCP REQUESTを受信することなく、リースタイムが経過した場合は、そのIPアドレスの割り当てを解除する。そして、そのIPアドレスを別のDHCPクライアントに対して割り当て可能にする。   Further, the DHCP server cancels the assignment of the IP address when the lease time elapses without receiving DHCP REQUEST before the lease time expires from the assigned IP address. Then, the IP address can be assigned to another DHCP client.

尚、図2のフローにおいて、S2001〜S2004のメッセージは、ブロードキャストで行われる。この時点では、DHCPクライアントにはまだIPアドレスが確定していないためである。   In the flow of FIG. 2, the messages of S2001 to S2004 are broadcast. This is because the IP address has not yet been determined for the DHCP client at this point.

一方、図1の構成のように複数のサブネットがルータによって接続されたネットワークにおいて、ルータがブロードキャストを通過させない設定である場合には、これらのDHCPメッセージはルータにより遮断されてしまう。この問題を解決するためにRFC2131においてはリレーエージェントの仕様も記載されている。リレーエージェントは一般にルータの一機能として実装され、以下に図1の構成の記号を使用して簡単にその動作を説明する。   On the other hand, in a network in which a plurality of subnets are connected by a router as in the configuration of FIG. 1, when the router is set so as not to transmit broadcasts, these DHCP messages are blocked by the router. In order to solve this problem, RFC 2131 also describes a relay agent specification. The relay agent is generally implemented as a function of the router, and its operation will be briefly described below using symbols of the configuration shown in FIG.

まずリレーエージェント機能を実装したルータ106はあらかじめDHCPサーバ101のIPアドレスを記憶しておく。DHCPクライアントとなるクライアントPC103はDHCP DISCOVERやDHCP REQUESTメッセージをサブネット2にブロードキャストする。ルータ106はDHCP DISCOVER/ DHCP REQUESTメッセージを受信すると、このメッセージをあらかじめ記憶しているDHCPサーバ101に対してユニキャストで転送する。DHCPサーバ101はルータ106からユニキャストでDHCP DISCOVER/ DHCP REQUESTメッセージを受信すると、DHCP OFFERやDHCP ACKメッセージをルータ106に対してユニキャストで送信する。ルータ106はDHCPサーバ101からDHCP OFFER/ DHCP ACKメッセージを受信すると、このメッセージをサブネット2にブロードキャストする。   First, the router 106 in which the relay agent function is implemented stores the IP address of the DHCP server 101 in advance. The client PC 103 serving as a DHCP client broadcasts a DHCP DISCOVER or DHCP REQUEST message to the subnet 2. When the router 106 receives the DHCP DISCOVER / DHCP REQUEST message, the router 106 forwards the message to the DHCP server 101 storing the message by unicast. When the DHCP server 101 receives the DHCP DISCOVER / DHCP REQUEST message from the router 106 by unicast, it transmits a DHCP OFFER or DHCP ACK message to the router 106 by unicast. When the router 106 receives the DHCP OFFER / DHCP ACK message from the DHCP server 101, the router 106 broadcasts this message to the subnet 2.

このように、リレーエージェント機能を実装したルータがブロードキャストによるDHCPメッセージを受信してユニキャストでDHCPサーバに転送することで、DHCPクライアントはDHCPサーバから情報を受信できるようになる。   As described above, the router that implements the relay agent function receives the DHCP message by broadcast and forwards it to the DHCP server by unicast, so that the DHCP client can receive information from the DHCP server.

図3は、DHCPメッセージのフォーマットを示す図である。optionsフィールド301は可変長の各種データを設定可能な領域である。この領域は1byteのタグ、1byteのデータサイズ、可変長のデータを1個のoptionデータとし、複数のoptionデータを設定可能である。タグの値はあらかじめ標準化されている値とベンダが拡張可能な値があり、一例としてサブネットマスクやDNSサーバのIPアドレスといったタグの値は標準化された値として広く使用されている。   FIG. 3 is a diagram showing the format of the DHCP message. An options field 301 is an area in which various variable length data can be set. In this area, a 1-byte tag, a 1-byte data size, and variable-length data are set as one option data, and a plurality of option data can be set. The tag value includes a standardized value and a value that can be expanded by the vendor. For example, tag values such as a subnet mask and a DNS server IP address are widely used as standardized values.

本実施例においては、このoptionsフィールド301を拡張して使用する。DPのIPアドレスを意味するタグを定義し、データとしてDPのIPアドレスを設定することで、DHCPプロトコルを使用してDPのIPアドレス情報をクライアントPCやデバイス等のDHCPクライアントに配布することが可能となる。さらに、ネットワーク上に複数のDPが存在する場合には、このoptionsフィールド301に複数のDPのIPアドレスを設定することによりそれらのIPアドレス情報を配布することも可能である。   In the present embodiment, the options field 301 is extended and used. By defining a tag that means the IP address of the DP and setting the IP address of the DP as data, it is possible to distribute the IP address information of the DP to DHCP clients such as client PCs and devices using the DHCP protocol. It becomes. Further, when a plurality of DPs exist on the network, it is possible to distribute the IP address information by setting the IP addresses of the plurality of DPs in the options field 301.

またgiaddrフィールド302は、リレーエージェントがDHCPサーバにDHCPメッセージを転送する際に、リレーエージェント自身のIPアドレスを設定する。それによりDHCPサーバはDHCPメッセージを受信した際に、それがリレーエージェントからのものであった場合にはこのgiaddrフィールドを確認することでDHCPクライアントが属するサブネットを特定することが可能である。またyiaddrフィールド303は、DHCPサーバがDHCPクライアントに割り当てるIPアドレスが設定される。   The giaddr field 302 sets the IP address of the relay agent when the relay agent forwards the DHCP message to the DHCP server. As a result, when the DHCP server receives the DHCP message, if it is from the relay agent, the DHCP server can identify the subnet to which the DHCP client belongs by confirming this giaddr field. In the yaddr field 303, an IP address assigned by the DHCP server to the DHCP client is set.

次に、図1で示したシステム構成の中で、本発明に関係するDHCPサーバ101、DP102、クライアントPC103、画像形成装置104、105のハードウェアおよびソフトウェア構成について説明する。なお、以降では特に断らない限り画像形成装置に関しては代表して104の記号を用いる。   Next, the hardware and software configurations of the DHCP server 101, DP 102, client PC 103, and image forming apparatuses 104, 105 related to the present invention in the system configuration shown in FIG. 1 will be described. Hereinafter, unless otherwise specified, the symbol 104 is used as a representative for the image forming apparatus.

図30は、DHCPサーバ101、DP102、クライアントPC103のハードウェア構成を示すブロック図である。なお、DHCPサーバ101、DP102、クライアントPC103は汎用のPC(パーソナルコンピュータ)を使用可能であり、以下の説明は共通である。   FIG. 30 is a block diagram illustrating a hardware configuration of the DHCP server 101, the DP 102, and the client PC 103. The DHCP server 101, DP 102, and client PC 103 can use general-purpose PCs (personal computers), and the following description is common.

図30において、3001はCPUであり、システムバス3004に接続された各種デバイスの制御を行う。3002はBIOSやブートプログラムを記憶するROM、3003はCPU3001の主記憶装置として使用されるRAMである。3005はキーボードコントローラ(KBC)であり、マウス(登録商標)等のポインティングデバイス3009a、キーボード3009bからの情報などの入力に係る処理を行う。3006は表示制御部(CRTC)であり、内部にビデオメモリを有し、CPU3001からの指示に従ってそのビデオメモリに描画すると共に、ビデオメモリに描画されたイメージデータをビデオ信号としてCRT表示装置3010に出力する。なお、図30において表示装置としてCRTを例示しているが、液晶表示装置等、その表示装置の種類は問わない。3007はディスクコントローラ(DKC)であり、ハードディスク3011、フロッピー(登録商標)ディスク3012へのアクセスを行う。3008はネットワークインタフェースカード(NIC)であって、ネットワークに接続し、ネットワークを介しての情報通信を行うものである。なお、ハードディスク3011には、OS(Operating System)やOS上で動作する各種アプリケーションプログラム等が格納される。上記構成において、本装置の電源がONになると、CPU3001はROM3002に格納されたブートプログラムに従って、ハードディスク3011からOSをRAM3003に読み込み、情報処理装置として機能するようになる。   In FIG. 30, reference numeral 3001 denotes a CPU, which controls various devices connected to the system bus 3004. A ROM 3002 stores a BIOS and a boot program, and a RAM 3003 is a RAM used as a main storage device of the CPU 3001. A keyboard controller (KBC) 3005 performs processing related to input of information from a pointing device 3009a such as a mouse (registered trademark) and a keyboard 3009b. Reference numeral 3006 denotes a display control unit (CRTC) which has a video memory therein and draws the video memory according to an instruction from the CPU 3001 and outputs the image data drawn in the video memory to the CRT display device 3010 as a video signal. To do. In addition, although CRT is illustrated as a display apparatus in FIG. 30, the kind of display apparatuses, such as a liquid crystal display device, does not ask | require. A disk controller (DKC) 3007 accesses the hard disk 3011 and the floppy (registered trademark) disk 3012. Reference numeral 3008 denotes a network interface card (NIC) which is connected to a network and performs information communication via the network. The hard disk 3011 stores an OS (Operating System), various application programs that operate on the OS, and the like. In the above configuration, when the power of the apparatus is turned on, the CPU 3001 reads the OS from the hard disk 3011 into the RAM 3003 according to the boot program stored in the ROM 3002, and functions as an information processing apparatus.

図4は画像形成装置104のハードウェア構成を示すブロック図である。なお、ここでは、画像形成装置がMFP(Multi Function Peripheral)であった場合を例にして説明する。図4のMFP104において、401はCPUで、ROM402のプログラム用ROMに記憶された制御プログラムに基づいてシステムバス404に接続される各種のデバイスとのアクセスを総括的に制御する。また、印刷インターフェース407を介して接続される印刷部(プリンタエンジン)410に出力情報としての画像信号を出力したり、読取インターフェース412を介して接続される読取部(スキャナ)413から入力される画像信号を制御する。また、このROM403のプログラム用ROMには、CPU401が実行可能な制御プログラム等を記憶する。さらに、ROM403のフォント用ROMには上記出力情報を生成する際に使用するフォントデータ(アウトラインフォントデータを含む)等を記憶し、ROM403のデータ用ROMには、ホストコンピュータ上で利用される情報等を記憶している。CPU401はLANコントローラ部406を介してネットワーク上のホストコンピュータや画像形成装置との通信処理が可能となっている。402はRAMで、主としてCPU401の主メモリ,ワークエリア等として機能し、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。なお、RAM402は、出力情報展開領域,環境データ格納領域等に用いられる。ハードディスク(HD),ICカード等の外部記憶装置411は、ディスクコントローラ(DKC)408によりアクセスが制御される。ハードディスクは、フォントデータ、エミュレーションプログラム、フォームデータ等を記憶したり、プリントジョブを一時的にスプールし、スプールされたジョブを外部から制御するためのジョブ格納領域として使用される。またさらに、スキャナ413から読み取った画像データやプリントジョブの画像データをBOXデータとして保持し、ネットワークから参照したり、印刷を行うBOXデータ格納領域としても使用される。405は操作パネルで、ユーザがソフトウェアキーから各種情報を入力することが可能である。前述した外部記憶装置は、1個に限らず、少なくとも1個以上備え、内蔵フォントに加えてオプションフォントカード,言語系の異なるプリンタ制御言語を解釈するプログラムを格納した外部メモリを複数接続できるように構成されていても良い。409は不揮発性メモリであり、操作パネル405から設定される各種設定情報を記憶している。また、図示していないが、MFP104にはさらにオプションで、ステープルやソート機能を行うフィニッシャや、両面印刷機能を実現するための両面装置など各種拡張装置を装着することが可能となっており、それらの動作はCPU401から制御される。   FIG. 4 is a block diagram illustrating a hardware configuration of the image forming apparatus 104. Here, a case where the image forming apparatus is an MFP (Multi Function Peripheral) will be described as an example. In the MFP 104 of FIG. 4, 401 is a CPU that comprehensively controls access to various devices connected to the system bus 404 based on a control program stored in a program ROM of the ROM 402. An image signal as output information is output to a printing unit (printer engine) 410 connected via the printing interface 407, or an image is input from a reading unit (scanner) 413 connected via the reading interface 412. Control the signal. Further, a control program executable by the CPU 401 is stored in the program ROM of the ROM 403. Further, the font ROM of the ROM 403 stores font data (including outline font data) used when generating the output information, and the ROM 403 data ROM stores information used on the host computer. Is remembered. The CPU 401 can perform communication processing with a host computer or an image forming apparatus on the network via the LAN controller unit 406. A RAM 402 functions mainly as a main memory, a work area, and the like of the CPU 401, and is configured so that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown). The RAM 402 is used as an output information expansion area, an environment data storage area, and the like. Access to an external storage device 411 such as a hard disk (HD) or IC card is controlled by a disk controller (DKC) 408. The hard disk is used as a job storage area for storing font data, emulation programs, form data, etc., temporarily spooling print jobs, and controlling the spooled jobs from the outside. Furthermore, the image data read from the scanner 413 and the image data of the print job are held as BOX data, and used as a BOX data storage area for reference from the network or printing. Reference numeral 405 denotes an operation panel which allows the user to input various information from software keys. The above-mentioned external storage device is not limited to one, and at least one external storage device is provided. In addition to the built-in font, an optional font card and a plurality of external memories storing programs for interpreting printer control languages with different language systems can be connected. It may be configured. Reference numeral 409 denotes a nonvolatile memory that stores various setting information set from the operation panel 405. Although not shown, the MFP 104 can be equipped with various expansion devices such as a finisher for performing stapling and sorting functions and a double-sided device for realizing a double-sided printing function. These operations are controlled by the CPU 401.

図5は、DHCPサーバ101、DP102、クライアントPC103、画像形成装置104のソフトウェア構成を示すブロック図である。
DHCPサーバ101において、DHCPサーバ処理部501は前述のDHCPサーバとしての処理を行う。即ち、DHCPクライアントからの要求に応じて、IPアドレスをそのDHCPクライアントに割り当てる処理や、割り当てられたIPアドレスをDHCPクライアントに配布する処理を行う。DHCPクライアントに配布するIPアドレスのリストや設定情報は配布情報DB503において保持されている。尚、本実施例におけるDHCPクライアントは、クライアントPC103又は画像形成装置104であるが、DP102がDHCPクライアントとして動作しても構わない。DHCPサーバ処理部501はDHCPクライアントからの要求に基づき配布情報DB503を参照して各種情報を配布する。配布情報設定部502は配布情報DB503に保持する情報を設定するものである。またDHCPクライアントが属するサブネットごと、またクライアントごとに配布する情報を設定することも可能である。
FIG. 5 is a block diagram illustrating a software configuration of the DHCP server 101, the DP 102, the client PC 103, and the image forming apparatus 104.
In the DHCP server 101, the DHCP server processing unit 501 performs processing as the above-described DHCP server. That is, in response to a request from the DHCP client, processing for assigning an IP address to the DHCP client and processing for distributing the assigned IP address to the DHCP client are performed. A list of IP addresses to be distributed to DHCP clients and setting information are held in the distribution information DB 503. The DHCP client in the present embodiment is the client PC 103 or the image forming apparatus 104, but the DP 102 may operate as a DHCP client. The DHCP server processing unit 501 distributes various types of information with reference to the distribution information DB 503 based on a request from a DHCP client. The distribution information setting unit 502 sets information stored in the distribution information DB 503. It is also possible to set information to be distributed for each subnet to which the DHCP client belongs and for each client.

図21は、配布情報DB503に保持される設定情報の例である。図21においては、サブネット1用設定2101、サブネット2用設定2102、サブネット3用設定2103が存在し、それぞれのサブネットに異なる設定情報を配布することが可能な構成になっている。それぞれの設定情報は、スコープ、IPアドレス範囲、割り当て済みIPアドレス、リースタイム、DNSサーバアドレス、サブネットマスク、Gatewayアドレス、DPアドレスからなる。本実施例においては、DPがネットワーク上に1台のみ存在する構成であるため、各サブネット用設定のDPアドレスはすべてDP102のIPアドレスに設定される。   FIG. 21 is an example of setting information held in the distribution information DB 503. In FIG. 21, there are a subnet 1 setting 2101, a subnet 2 setting 2102, and a subnet 3 setting 2103, so that different setting information can be distributed to each subnet. Each setting information includes a scope, an IP address range, an assigned IP address, a lease time, a DNS server address, a subnet mask, a Gateway address, and a DP address. In the present embodiment, since only one DP exists on the network, all the DP addresses set for each subnet are set to the IP address of the DP 102.

DP102において、デバイス情報通知受信部511は画像形成装置104からデバイス情報の登録要求、更新要求、削除要求の通知を受信し、その通知の種類に基づき、デバイス情報保持部514が保持するデバイス情報の処理を行う。処理の結果、デバイス情報の取得が必要であると判断された場合は、デバイス情報取得部512は画像形成装置104に対してデバイス情報取得要求を送信し、返されたデバイス情報をデバイス情報保持部514に保持する。デバイス情報検索処理部513はクライアントPC103からデバイス情報の検索要求を受信し、指定された検索条件に基づきデバイス情報保持部514内のデバイス情報を検索する。そして、その結果をクライアントPC103に送信する。デバイス情報保持部514が保持するデバイス情報については後述する。   In the DP 102, the device information notification receiving unit 511 receives device information registration request, update request, and deletion request notifications from the image forming apparatus 104, and based on the type of notification, the device information holding unit 514 holds the device information stored in the device information holding unit 514. Process. As a result of the processing, if it is determined that device information needs to be acquired, the device information acquisition unit 512 transmits a device information acquisition request to the image forming apparatus 104 and uses the returned device information as a device information holding unit. 514. The device information search processing unit 513 receives a device information search request from the client PC 103 and searches for device information in the device information holding unit 514 based on a specified search condition. Then, the result is transmitted to the client PC 103. Device information held by the device information holding unit 514 will be described later.

クライアントPC103において、DHCPクライアント処理部521は前述のDHCPクライアントとしての処理を行う。DHCPサーバから配布されたIPアドレスや各種設定情報は設定情報記憶部522に保持され、適宜参照して使用することが可能である。デバイス検索要求処理部523はDP102に対してデバイス検索要求を送信し、その結果は検索情報表示部524において表示される。   In the client PC 103, the DHCP client processing unit 521 performs the above-described processing as a DHCP client. The IP address and various setting information distributed from the DHCP server are held in the setting information storage unit 522, and can be used with reference as appropriate. The device search request processing unit 523 transmits a device search request to the DP 102, and the result is displayed on the search information display unit 524.

画像形成装置104において、DHCPクライアント処理部531は前述のDHCPクライアントとしての処理を行う。DHCPサーバから配布されたIPアドレスや各種設定情報は設定情報記憶部532に保持され、適宜参照して使用することが可能である。デバイス情報管理部534は画像形成装置104自身のデバイス情報を管理する。デバイス情報通知部533はデバイス情報の通知が必要な場合にDP102に対してデバイス情報の登録要求、更新要求、削除要求を送信する。ネットワークを介してデバイス情報取得要求を受信すると、デバイス情報送信部535は、デバイス情報管理部534が管理しているデバイス情報を要求元に送信する。   In the image forming apparatus 104, the DHCP client processing unit 531 performs processing as the DHCP client described above. The IP address and various setting information distributed from the DHCP server are held in the setting information storage unit 532 and can be used with reference as appropriate. A device information management unit 534 manages device information of the image forming apparatus 104 itself. The device information notification unit 533 transmits a device information registration request, update request, and deletion request to the DP 102 when device information notification is required. When the device information acquisition request is received via the network, the device information transmission unit 535 transmits the device information managed by the device information management unit 534 to the request source.

図6はDP102のデバイス情報保持部514が保持するデバイス情報の例である。
それぞれのデバイスに関する情報はレコードとして保持され、レコードはID601、UUID602、バージョン603、デバイスタイプ604、モデル名605、デバイス名606、URL607、IPアドレス608からなる。
FIG. 6 is an example of device information held by the device information holding unit 514 of the DP 102.
Information about each device is held as a record, and the record includes ID 601, UUID 602, version 603, device type 604, model name 605, device name 606, URL 607, and IP address 608.

ID601はDP内でデバイスを識別するためのIDを示す。UUID602はデバイスをグローバルに識別するUUID(Universally Unique Identifier)を示す。バージョン603はデバイス情報のバージョンを示す。デバイスタイプ604は複合機を意味する「MFP」、プリンタを意味する「Printer」などのタイプを示す。モデル名605は「LBPXXXX」のようなデバイスのモデル名を示す。デバイス名606はデバイス管理者がデバイスに設定した名前を示す。URL607はデバイス情報を取得するためのURLを示す。IPアドレス608はデバイスのIPアドレスを示す。   ID 601 indicates an ID for identifying a device in the DP. A UUID 602 indicates a UUID (Universally Unique Identifier) that globally identifies a device. Version 603 indicates the version of the device information. A device type 604 indicates a type such as “MFP” meaning a multifunction peripheral or “Printer” meaning a printer. A model name 605 indicates a model name of a device such as “LBPXXXX”. A device name 606 indicates a name set for the device by the device administrator. A URL 607 indicates a URL for acquiring device information. An IP address 608 indicates the IP address of the device.

次に、DHCPサーバ101がIPアドレスなどの設定情報をDHCPクライアントに配布する際の処理を図22のフローチャートを使用して説明する。図22の各ステップは、DHCPサーバのCPU3001がROM3002に格納されたプログラムを処理することによって実行される。   Next, processing when the DHCP server 101 distributes setting information such as an IP address to a DHCP client will be described using the flowchart of FIG. Each step in FIG. 22 is executed by the CPU 3001 of the DHCP server processing a program stored in the ROM 3002.

まずS2201において、DHCPクライアントまたはリレーエージェントが送信したDHCP DISCOVERメッセージを、NIC3008を介して受信する。S2202において、CPU3001は、DHCPクライアントに割り当てる設定情報を、後述する方法によって特定する。   First, in S2201, the DHCP DISCOVER message transmitted by the DHCP client or relay agent is received via the NIC 3008. In step S2202, the CPU 3001 specifies setting information to be assigned to the DHCP client by a method described later.

S2203において、CPU3001は、S2202の処理により設定情報が特定されたかどうかを判定し、特定されなかった場合には処理を終了する。特定されていた場合にはS2204に進み、特定された設定情報に未割り当てのIPアドレスが残っているかどうかを判定し、残っていない場合には処理を終了する。残っている場合にはS2205に進み、DHCP OFFERメッセージを生成する。その際、配布するIPアドレスは図3のyiaddrフィールドに設定する。またその他の設定情報として、optionsフィールド301にはDHCPサーバ自身のIPアドレスおよびリースタイムを設定する。そしてS2206において、生成したDHCP OFFERメッセージを、NIC3008を介してDHCPクライアントに送信する。   In step S2203, the CPU 3001 determines whether the setting information has been identified by the processing in step S2202, and ends the processing if it has not been identified. If it has been specified, the process advances to step S2204 to determine whether an unassigned IP address remains in the specified setting information, and if not, the process ends. If it remains, the process proceeds to S2205, and a DHCP OFFER message is generated. At this time, the IP address to be distributed is set in the yiadr field of FIG. As other setting information, the IP address and lease time of the DHCP server itself are set in the options field 301. In step S2206, the generated DHCP OFFER message is transmitted to the DHCP client via the NIC 3008.

S2207において、DHCPクライアントまたはリレーエージェントが送信したDHCP REQUESTメッセージを、NIC3008を介して受信する。DHCP REQUESTメッセージのoptionsフィールド301には、DHCP OFFERメッセージのyiaddrフィールドで設定したIPアドレスが含まれており、CPU3001は、S2208において、配布情報DB503内の該当するIPアドレスを割り当て済みとする。次にS2209において、CPU3001は、DHCP REQUESTメッセージのoptionsフィールド301にさらに含まれている要求オプションを確認する。そして、配布情報DB503内を参照して要求されたオプション情報を設定したDHCP ACKメッセージを生成する。そしてS2210において、生成したDHCP ACKメッセージをNIC3008を介してDHCPクライアントに送信し、処理を終了する。   In step S <b> 2207, the DHCP REQUEST message transmitted by the DHCP client or relay agent is received via the NIC 3008. The options field 301 of the DHCP REQUEST message contains the IP address set in the yyadr field of the DHCP OFFER message, and the CPU 3001 assumes that the corresponding IP address in the distribution information DB 503 has already been assigned in S2208. In step S <b> 2209, the CPU 3001 confirms the request option further included in the options field 301 of the DHCP REQUEST message. Then, a DHCP ACK message in which the requested option information is set with reference to the distribution information DB 503 is generated. In step S2210, the generated DHCP ACK message is transmitted to the DHCP client via the NIC 3008, and the process ends.

図23は図22のフローチャートにおけるS2202の設定情報を特定する際の処理を詳細に示すフローチャートである。
まずS2301において、CPU3001は、S2201において受信したDHCP DISCOVERメッセージに含まれるgiaddrフィールドの値を取得する。次にS2302において、CPU3001は、giaddrの値が0であるかどうかを判定する。0であった場合はこのメッセージがDHCPサーバと同じサブネットに存在するDHCPクライアントから直接送信されたことを意味する。そのためS2303において、CPU3001は、配布する設定情報としてサブネット1用の設定情報2101を特定する。S2302の判定によりgiaddrの値が0以外であった場合はS2304に進む。S2304においてCPU3001は、giaddrの値がサブネット2用設定情報のスコープ内であるかどうかを判定する。この判定はgiaddrと、スコープのネットワークアドレスが一致するかどうかを判定することによって行う。S2304でYesと判定された場合はS2305に進み、CPU3001は、配布する設定情報としてサブネット2用の設定情報2102を特定する。S2304がNoであった場合はS2306に進む。S2306において、CPU3001は、giaddrの値がサブネット3用設定情報のスコープ内であるかどうかを判定する。S2306でYesと判定された場合はS2307に進み、配布する設定情報としてサブネット3用の設定情報2103を特定する。S2306でNoと判定された場合はS2308に進み、設定情報は特定せずに処理を終了する。
FIG. 23 is a flowchart showing in detail the processing when specifying the setting information in S2202 in the flowchart of FIG.
First, in step S2301, the CPU 3001 acquires the value of the giaddr field included in the DHCP DISCOVER message received in step S2201. In step S2302, the CPU 3001 determines whether the value of giaddr is zero. If it is 0, it means that this message is directly transmitted from a DHCP client existing in the same subnet as the DHCP server. Therefore, in S2303, the CPU 3001 specifies the setting information 2101 for the subnet 1 as the setting information to be distributed. If the value of giaddr is other than 0 as determined in S2302, the process proceeds to S2304. In step S2304, the CPU 3001 determines whether the value of giaddr is within the scope of the subnet 2 setting information. This determination is performed by determining whether giaddr and the network address of the scope match. If it is determined Yes in S2304, the process proceeds to S2305, and the CPU 3001 identifies setting information 2102 for subnet 2 as setting information to be distributed. If S2304 is No, the process proceeds to S2306. In step S2306, the CPU 3001 determines whether the value of giaddr is within the scope of the subnet 3 setting information. When it is determined Yes in S2306, the process proceeds to S2307, and setting information 2103 for subnet 3 is specified as setting information to be distributed. If it is determined No in S2306, the process proceeds to S2308, and the process ends without specifying the setting information.

図24は図22のS2207においてDHCPサーバが受信するDHCP REQUESTメッセージのoptionsフィールド301の例である。図24においては、要求IPアドレス2401、サーバ識別子2402、クライアント識別子2403、要求オプションリスト2404が記述されている。要求IPアドレス2401にはDHCP OFFERのyiaddrフィールドで指定されたIPアドレスが設定される。サーバ識別子2402にはDHCPサーバのIPアドレスが設定される。クライアント識別子2403にはDHCPクライアントのMACアドレスが設定される。要求オプションリスト2404にはDHCPクライアントが要求する設定情報のリストが設定される。図24の例では、サブネットマスク、Gatewayアドレス、DNSサーバアドレス、DPアドレスからなる。   FIG. 24 shows an example of the options field 301 of the DHCP REQUEST message received by the DHCP server in S2207 of FIG. In FIG. 24, a request IP address 2401, a server identifier 2402, a client identifier 2403, and a request option list 2404 are described. The requested IP address 2401 is set with the IP address specified in the DHCP OFFER yaddr field. The server identifier 2402 is set with the IP address of the DHCP server. The client identifier 2403 is set with the MAC address of the DHCP client. In the request option list 2404, a list of setting information requested by the DHCP client is set. In the example of FIG. 24, it consists of a subnet mask, a Gateway address, a DNS server address, and a DP address.

図25は図22のS2210においてDHCPサーバが送信するDHCP ACKメッセージのoptionsフィールド301の例である。図25においては、サーバ識別子2501、リースタイム2502、サブネットマスク2503、Gatewayアドレス2504、DNSサーバアドレス2505、DPアドレス2506を持っている。サーバ識別子2501にはDHCPサーバのIPアドレスが設定される。リースタイム2502にはリースタイムが設定される。サブネットマスク2503にはサブネットマスクが設定される。Gatewayアドレス2504にはGatewayアドレスが設定される。DNSサーバアドレス2505にはDNSサーバアドレスが設定される。DPアドレス2506にはDPのアドレスが設定される。   FIG. 25 shows an example of the options field 301 of the DHCP ACK message transmitted by the DHCP server in S2210 of FIG. In FIG. 25, a server identifier 2501, a lease time 2502, a subnet mask 2503, a gateway address 2504, a DNS server address 2505, and a DP address 2506 are included. The server identifier 2501 is set with the IP address of the DHCP server. In the lease time 2502, a lease time is set. A subnet mask is set in the subnet mask 2503. A gateway address is set in the gateway address 2504. In the DNS server address 2505, a DNS server address is set. The DP address 2506 is set with the DP address.

次に、画像形成装置104のデバイス情報をDP102に登録する処理について説明する。画像形成装置104はDHCPクライアントとして動作し、DHCPサーバ101が図22、23の処理を行った結果、画像形成装置104自身のIPアドレスに加えDP102のIPアドレスを受信している。   Next, a process for registering device information of the image forming apparatus 104 in the DP 102 will be described. The image forming apparatus 104 operates as a DHCP client, and as a result of the DHCP server 101 performing the processes of FIGS. 22 and 23, the IP address of the DP 102 is received in addition to the IP address of the image forming apparatus 104 itself.

画像形成装置104は、起動時やデバイス情報に変化があった場合にDP102に対して図7のようなXML形式のHelloメッセージをユニキャストで送信することにより存在を通知する。   The image forming apparatus 104 notifies the existence by transmitting an XML-format Hello message as shown in FIG.

図7のHelloメッセージは、<Header>タグで囲まれるheader部701と<Body>タグで囲まれるbody部702からなり、全体が<Envelope>タグで囲まれる構造になっている。この構造は本実施例において使用するメッセージすべてに共通である。   The Hello message in FIG. 7 includes a header part 701 surrounded by <Header> tags and a body part 702 surrounded by <Body> tags, and has a structure surrounded entirely by <Envelop> tags. This structure is common to all messages used in this embodiment.

header部701はメッセージの内容に依存しない共通ヘッダとしての役割を果たしており、<Action>タグ、<MessageID>タグ、<To>タグが存在する。<Action>タグはメッセージの種類を識別するためのものである。<MessageID>タグはメッセージを一意に識別するための識別子である。<To>タグはこのメッセージの送信先を識別するためのものである。一方、body部702はメッセージの内容に対応して構造が変化する。図7においては、<Body>タグの直下に<Hello>タグが存在し、このメッセージがHelloメッセージであることを示している。<Hello>タグの中には<EndpointReference>タグ、<Types>タグ、<XAddrs>タグ、<MetadataVersion>タグが存在する。<EndpointReference>タグの中には<Address>タグが存在し、デバイスを識別するアドレス情報を持つ。<Types>タグはデバイスのタイプ情報を持つ。<XAddrs>タグはデバイス情報を取得するためのURLを持つ。<MetadataVersion>タグはデバイス情報のバージョンを持つ。   The header section 701 serves as a common header that does not depend on the content of the message, and includes an <Action> tag, a <MessageID> tag, and a <To> tag. The <Action> tag is for identifying the type of message. The <MessageID> tag is an identifier for uniquely identifying the message. The <To> tag is for identifying the transmission destination of this message. On the other hand, the structure of the body part 702 changes according to the content of the message. In FIG. 7, there is a <Hello> tag immediately below the <Body> tag, indicating that this message is a Hello message. Within the <Hello> tag, there are an <EndpointReference> tag, a <Types> tag, an <XAddrs> tag, and a <MetadataVersion> tag. An <Address> tag exists in the <EndpointReference> tag and has address information for identifying a device. The <Types> tag has device type information. The <XAddrs> tag has a URL for acquiring device information. The <MetadataVersion> tag has a version of device information.

DP102はHelloメッセージの中からデバイスをグローバルに識別するUUIDとして<EndpointReference>タグの中の<Address>タグの値を抽出する。またデバイスタイプとして<Types>タグの値を抽出する。またデバイス情報のバージョンとして<MetadataVersion>タグの値を抽出する。またデバイス情報を取得するためのURLとして<XAddrs>タグの値を抽出する。そしてこれら抽出した情報をデバイス情報保持部514に格納する。また同時に、Helloメッセージの送信元IPアドレスもデバイス情報保持部514に格納する。   The DP 102 extracts the value of the <Address> tag in the <EndpointReference> tag as a UUID for globally identifying a device from the Hello message. Also, the value of the <Types> tag is extracted as the device type. Further, the value of the <MetadataVersion> tag is extracted as the version of the device information. Further, the value of the <XAddrs> tag is extracted as a URL for acquiring device information. The extracted information is stored in the device information holding unit 514. At the same time, the source IP address of the Hello message is also stored in the device information holding unit 514.

その後DP102は<XAddrs>タグで記載されたURLに対し、図8のようなXML形式のGetメッセージをユニキャストで送信する。図8のGetメッセージは、header部のみを持つメッセージとなっている。header部の<Action>タグにおいて、このメッセージがGetメッセージであることを示している。   Thereafter, the DP 102 transmits a Get message in the XML format as shown in FIG. 8 by unicast to the URL described by the <XAddrs> tag. The Get message in FIG. 8 is a message having only a header part. The <Action> tag in the header section indicates that this message is a Get message.

画像形成装置104のデバイス情報送信部535はGetメッセージを受信すると図9のようなGetResponseメッセージを送信する。   When receiving the Get message, the device information transmission unit 535 of the image forming apparatus 104 transmits a GetResponse message as shown in FIG.

図9のGetResponseメッセージにおいては、body部に<Metadata>タグで示されるデバイス情報を持つ構造となっている。<Metadata>タグの中には<MetadataSection>タグで示されるMetadataSection部901、902、903が存在する。各MetadataSection部は直下のタグにより、その中に持つ情報の種類が指定される。MetadataSection部901は<ThisDevice>タグを持っており、デバイスごとに異なる情報が格納される。<FriendlyName>タグはこのデバイスにつけた名前、<FirmwareVersion>タグはこのデバイスのファームウェアバージョン、<SerialNumber>タグはこのデバイスのシリアル番号を示している。MetadataSection部902は<ThisModel>タグを持っており、デバイスのモデルごとに異なる情報が格納される。<Manufacturer>タグはデバイスの製造会社名、<Manufacturer>タグはデバイス製造会社のURL、<PresentationURL>はデバイスの情報を示すURL、<ModelName>タグはデバイスのモデル名を示している。MetadataSection部903は<Relationship>タグを持っており、デバイスが持つ内部サービスの情報が格納される。本実施例においては、内部サービスとは画像形成装置が提供するプリントサービスである。<Relationship>タグはさらにその直下に<Hosted>タグを持ち、その中に<EndpointReference>タグ、<Types>タグ、<ServiceId>タグが存在する。<EndpointReference>タグの中には<Address>タグが存在し、サービスを利用するためのアドレス情報を持つ。<Types>タグはサービスのタイプ情報を持つ。<ServiceId>タグはデバイス内でサービスを識別するための識別子を持つ。   The GetResponse message in FIG. 9 has a structure having device information indicated by a <Metadata> tag in the body part. In the <Metadata> tag, there are MetadataSection sections 901, 902, and 903 indicated by the <MetadataSection> tag. Each MetadataSection part is designated by the tag immediately below, and the type of information held therein is designated. The MetadataSection unit 901 has a <This Device> tag, and stores different information for each device. The <FriendlyName> tag indicates the name given to this device, the <FirmwareVersion> tag indicates the firmware version of this device, and the <SerialNumber> tag indicates the serial number of this device. The MetadataSection unit 902 has a <ThisModel> tag and stores different information for each device model. The <Manufacturer> tag indicates the name of the device manufacturer, the <Manufacturer> tag indicates the URL of the device manufacturer, <PresentationURL> indicates the URL indicating device information, and the <ModelName> tag indicates the model name of the device. The MetadataSection unit 903 has a <Relationship> tag and stores information on internal services of the device. In this embodiment, the internal service is a print service provided by the image forming apparatus. The <Relationship> tag further has a <Hosted> tag immediately below it, and includes an <EndpointReference> tag, a <Types> tag, and a <ServiceId> tag. An <Address> tag exists in the <EndpointReference> tag, and has address information for using the service. The <Types> tag has service type information. The <ServiceId> tag has an identifier for identifying a service in the device.

DP102は受信したデバイス情報からデバイス名として<FriendlyName>タグの値、モデル名として<ModelName>タグの値を抽出し、デバイス情報保持部514に格納する。   The DP 102 extracts the value of the <FriendlyName> tag as the device name and the value of the <ModelName> tag as the model name from the received device information, and stores them in the device information holding unit 514.

図14は上述のデバイス情報登録の流れに関し、DP102がデバイス情報をデバイス情報保持部514に登録する際の処理を示すフローチャートである。図14の各ステップは、DP102のCPU3001がROM3002に格納されたプログラムを処理することによって実行される。   FIG. 14 is a flowchart showing processing when the DP 102 registers device information in the device information holding unit 514 in relation to the above-described device information registration flow. Each step in FIG. 14 is executed by the CPU 3001 of the DP 102 processing a program stored in the ROM 3002.

S1401において、DP102は、画像形成装置から送信されたHelloメッセージを、NIC3008を介して受信する。次にS1402において、CPU3001は、受信したHelloメッセージの中からUUIDを抽出する。そして、S1403において、CPU3001は、抽出されたUUIDと同じUUIDを持つレコードがデバイス情報保持部514に存在するかどうかを判定する。存在しなかった場合はS1404に進み、デバイス情報保持部514に保持される図6に示すデバイス情報にあらたにレコードを追加する。続いてS1405において、DP102は、Getメッセージを画像形成装置に対して送信することによりデバイス情報を取得する。S1406において、CPU3001は、デバイス情報保持部514に追加したレコードを更新する。一方S1403において、レコードが存在すると判定された場合にはS1407に進み、CPU3001は、受信したHelloメッセージからバージョン情報を抽出する。次にS1408において、CPU3001は、UUIDが一致したレコードにおけるバージョン情報が、S1407で抽出したバージョン情報と同じであるかどうかを判定する。バージョンが異なった場合はS1405に進みデバイス情報の更新を行う。同じであった場合には何もせずに処理を終了する。   In step S <b> 1401, the DP 102 receives a Hello message transmitted from the image forming apparatus via the NIC 3008. In step S1402, the CPU 3001 extracts a UUID from the received Hello message. In step S1403, the CPU 3001 determines whether a record having the same UUID as the extracted UUID exists in the device information holding unit 514. If it does not exist, the process advances to step S1404 to newly add a record to the device information shown in FIG. 6 held in the device information holding unit 514. In step S <b> 1405, the DP 102 acquires device information by transmitting a Get message to the image forming apparatus. In step S1406, the CPU 3001 updates the record added to the device information holding unit 514. On the other hand, if it is determined in S1403 that a record exists, the process advances to S1407, and the CPU 3001 extracts version information from the received Hello message. In step S1408, the CPU 3001 determines whether the version information in the record with the matching UUID is the same as the version information extracted in step S1407. If the versions are different, the process advances to step S1405 to update the device information. If they are the same, the process ends without doing anything.

次にDP102に登録されたデバイス情報を画像形成装置104が削除する処理について説明する。   Next, a process in which the image forming apparatus 104 deletes device information registered in the DP 102 will be described.

画像形成装置104は、自機がSHUTDOWNする場合など、動作を停止する場合にはDP102に対して図10のようなByeメッセージをユニキャストで送信する。   When the image forming apparatus 104 stops its operation, such as when its own apparatus SHUTDOWN, the image forming apparatus 104 transmits a Bye message as shown in FIG.

図10のByeメッセージにおいては、body部に<Bye>タグが存在し、このメッセージがByeメッセージであることを示している。<Bye>タグの中には<EndpointReference>タグが存在する。<EndpointReference>タグの中には<Address>タグが存在し、デバイスを識別するアドレス情報を持つ。   In the Bye message of FIG. 10, a <Bye> tag exists in the body part, which indicates that this message is a Bye message. An <EndpointReference> tag exists in the <Bye> tag. An <Address> tag exists in the <EndpointReference> tag and has address information for identifying a device.

DP102はByeメッセージの中からUUID情報を抽出し、対応するデバイス情報をデバイス情報保持部514から削除する。   The DP 102 extracts UUID information from the Bye message and deletes the corresponding device information from the device information holding unit 514.

図15は上述のデバイス情報削除の流れに関し、DP102がデバイス情報をデバイス情報保持部514から削除する際の処理を示すフローチャートである。図15の各ステップは、DP102のCPU3001がROM3002に格納されたプログラムを処理することによって実行される。   FIG. 15 is a flowchart showing processing when the DP 102 deletes device information from the device information holding unit 514 in relation to the above-described device information deletion flow. Each step in FIG. 15 is executed by the CPU 3001 of the DP 102 processing a program stored in the ROM 3002.

まずDP102はS1501において、画像形成装置から送信されたByeメッセージをNIC3008を介して受信する。次にS1502において、CPU3001は、受信したHelloメッセージの中からUUIDを抽出する。そして、S1503において、CPU3001は、抽出されたUUIDと同じUUIDを持つレコードがデバイス情報保持部514に存在するかどうかを判定する。存在した場合はS1504に進み、CPU3001は、デバイス情報保持部514からそのレコードを削除する。存在しなかった場合には何もせずに処理を終了する。   First, in step S <b> 1501, the DP 102 receives a Bye message transmitted from the image forming apparatus via the NIC 3008. In step S1502, the CPU 3001 extracts a UUID from the received Hello message. In step S1503, the CPU 3001 determines whether a record having the same UUID as the extracted UUID exists in the device information holding unit 514. If it exists, the process advances to step S1504, and the CPU 3001 deletes the record from the device information holding unit 514. If it does not exist, the process ends without doing anything.

次に、クライアントPC103がDP102を使用して画像形成装置を検索する処理について説明する。クライアントPC103はDHCPクライアントとして動作し、DHCPサーバ101が図22、23の処理を行った結果、クライアントPU103自身のIPアドレスに加えて、DP102のIPアドレスを受信している。   Next, processing in which the client PC 103 searches for an image forming apparatus using the DP 102 will be described. The client PC 103 operates as a DHCP client, and as a result of the DHCP server 101 performing the processes of FIGS. 22 and 23, the IP address of the DP 102 is received in addition to the IP address of the client PU 103 itself.

クライアントPC103は、DP102に対して図11のようなXML形式のProbeメッセージをユニキャストで送信する。図11のProbeメッセージにおいては、body部に<Probe>タグが存在し、このメッセージがProbeメッセージであることを示している。<Probe>タグの中には<Types>タグが存在する。<Types>タグは検索したいデバイスのタイプを指定するものである。図11の例では、デバイスのタイプがプリンタであるデバイスを検索するためのProbeメッセージを示している。   The client PC 103 transmits a Probe message in XML format as shown in FIG. 11 to the DP 102 by unicast. In the Probe message of FIG. 11, a <Probe> tag is present in the body part, indicating that this message is a Probe message. A <Types> tag exists in the <Probe> tag. The <Types> tag specifies the type of device to be searched. The example of FIG. 11 shows a Probe message for searching for a device whose device type is a printer.

DP102はProbeメッセージを受信すると、<Types>タグを抽出しデバイス情報保持部514の中から検索条件に合致するデバイスを探し、図12のようなProbeMatchメッセージをクライアントPC103に送信する。図12のProbeMatchメッセージにおいては、body部に<ProbeMatches>タグが存在し、このメッセージがProbeMatchメッセージであることを示している。<ProbeMatches>タグの中には<ProbeMatch>タグで示されるProbeMatch部1201、1202が存在する。それぞれのProbeMatch部が1個の検索結果に対応しており、図12の例においては2個のデバイスが条件に合致したことを示す検索結果を示している。ProbeMatch部の中の構造は図7のHelloメッセージにおける<Hello>タグの中と同一である。   Upon receiving the Probe message, the DP 102 extracts the <Types> tag, searches the device information holding unit 514 for a device that matches the search condition, and transmits a ProbeMatch message as shown in FIG. 12 to the client PC 103. In the ProbeMatch message of FIG. 12, a <ProbeMatches> tag is present in the body part, indicating that this message is a ProbeMatch message. Within the <ProbeMatches> tag, there are ProbeMatch sections 1201 and 1202 indicated by <ProbeMatch> tags. Each ProbeMatch part corresponds to one search result, and the example of FIG. 12 shows a search result indicating that two devices match the condition. The structure in the ProbeMatch part is the same as that in the <Hello> tag in the Hello message of FIG.

クライアントPC103はProbeMatchメッセージの中から<XAddrs>タグで記載されたURLを抽出し、図8のようなGetメッセージをユニキャストで送信する。本実施例においてURLは画像形成装置104のIPアドレスからなっており、GetメッセージはDP102ではなく画像形成装置104に直接送信する。画像形成装置104は図9のようなGetResponseメッセージを送信し、これを受信したクライアントPC103は必要な情報を抽出する。   The client PC 103 extracts the URL described by the <XAddrs> tag from the ProbeMatch message, and transmits the Get message as shown in FIG. 8 by unicast. In this embodiment, the URL is composed of the IP address of the image forming apparatus 104, and the Get message is directly transmitted to the image forming apparatus 104 instead of the DP 102. The image forming apparatus 104 transmits a GetResponse message as shown in FIG. 9, and the client PC 103 that has received the message extracts necessary information.

ProbeMatchメッセージに複数の検索結果が存在している場合にはクライアントPC103はGetメッセージの送信を繰り返し、すべてのデバイス情報を取得する。   When a plurality of search results exist in the ProbeMatch message, the client PC 103 repeats the transmission of the Get message and acquires all device information.

図16は上述の検索の流れに関し、DP102がデバイス情報を検索する際の処理を示すフローチャートである。図16の各ステップは、DP102のCPU3001がROM3002に格納されたプログラムを処理することによって実行される。   FIG. 16 is a flowchart showing processing when the DP 102 searches for device information in relation to the above-described search flow. Each step of FIG. 16 is executed by the CPU 3001 of the DP 102 processing a program stored in the ROM 3002.

まずDP102はS1601において、クライアントPC103から送信されたProbeメッセージをNIC3008を介して受信する。次にS1602において、CPU3001は、受信したProbeメッセージ中のTypesタグの値を抽出する。S1603において、CPU3001は、Typesタグの値が空かどうかを判定する。空ではなかった場合はS1604において、CPU3001は、デバイス情報保持部514に保持されているデバイス情報のレコードを検索し、抽出された値と同じデバイスタイプを持つレコードが存在するかどうかを判定する。デバイスタイプが同じレコードが存在した場合には、S1605において、CPU3001はそのレコードに対応した応答データを作成する。S1606において、CPU3001はすべてのレコードについて確認が終了したかどうかを判定する。すべてのレコードの検索が終了するとS1607に進み、CPU3001は、それまでに生成された応答データを1個にまとめ、図12のようなProbeMatchメッセージをクライアントPC103に送信して処理を終了する。また、S1603において、Typesの値が空であると判定された場合にはS1608に進み、すべてのレコードについての応答データを作成する。そして、S1607においてProbeMatchメッセージをクライアントPC103に送信して処理を終了する。尚、図16の例では、Probeに含まれる検索条件が、デバイスタイプであった場合を例に説明したが、デバイス名やモデル名など、その他の情報であってもよい。   First, in step S <b> 1601, the DP 102 receives the Probe message transmitted from the client PC 103 via the NIC 3008. In step S1602, the CPU 3001 extracts the value of the Types tag in the received Probe message. In step S1603, the CPU 3001 determines whether the value of the Types tag is empty. If not empty, in step S1604, the CPU 3001 searches for a device information record held in the device information holding unit 514, and determines whether there is a record having the same device type as the extracted value. If there is a record with the same device type, the CPU 3001 creates response data corresponding to the record in S1605. In step S1606, the CPU 3001 determines whether confirmation has been completed for all records. When all the records have been searched, the process advances to step S1607, and the CPU 3001 collects the response data generated so far into one, transmits a ProbeMatch message as shown in FIG. 12 to the client PC 103, and ends the process. If it is determined in S1603 that the value of Types is empty, the process proceeds to S1608, and response data for all records is created. In step S1607, a ProbeMatch message is transmitted to the client PC 103, and the process ends. In the example of FIG. 16, the case where the search condition included in the probe is a device type has been described as an example, but other information such as a device name and a model name may be used.

図13はクライアントPC103が画像形成装置を検索する際のUIの例を示す図である。図13の画面は、クライアントPCのCRT3010上に表示される画面である。図13において、領域1301は検索するデバイスのタイプを指定するための領域であり、「MFP」「Printer」などのキーワードが指定可能である。領域1301に何も入力しない場合はすべての画像形成装置が検索される。ボタン1302を押下すると上述したようにDP102に対して検索が実行される。検索された結果は領域1303に表示され、取得した情報から、デバイスのタイプやモデル名、デバイス名が同時に表示される。   FIG. 13 is a diagram illustrating an example of a UI used when the client PC 103 searches for an image forming apparatus. The screen in FIG. 13 is a screen displayed on the CRT 3010 of the client PC. In FIG. 13, an area 1301 is an area for designating the type of device to be searched, and keywords such as “MFP” and “Printer” can be designated. If nothing is input in the area 1301, all image forming apparatuses are searched. When the button 1302 is pressed, a search is executed for the DP 102 as described above. The retrieved result is displayed in an area 1303, and the device type, model name, and device name are displayed simultaneously from the acquired information.

以上説明したように、本実施例によれば、サブネットを越えた範囲におけるデバイスを検索することができる。また、デバイス検索サーバをクライアントPCやデバイスに登録する処理が簡単になり、システム管理者やユーザの手間が軽減される。即ち、クライアントPCやデバイスにDHCPサーバがアドレスを配布する際に、一緒にデバイス検索サーバのアドレスを配布するので、改めてクライアントPCやデバイスにデバイス検索サーバのアドレスを登録する必要がなくなる。   As described above, according to the present embodiment, it is possible to search for devices in a range beyond the subnet. Further, the process of registering the device search server in the client PC or device is simplified, and the labor of the system administrator or user is reduced. That is, when the DHCP server distributes the address to the client PC or device, the address of the device search server is distributed together, so that it is not necessary to register the address of the device search server in the client PC or device again.

(実施例2)
次に、第二の実施例として別のシステム構成例について説明する。
(Example 2)
Next, another system configuration example will be described as a second embodiment.

本実施例においては、DP102のデバイス情報保持部514に保持されるデバイス情報の更新を、画像形成装置からの通知受信時ではなくDHCPサーバからの通知によって行う。   In the present embodiment, the device information held in the device information holding unit 514 of the DP 102 is updated by a notification from the DHCP server, not when a notification is received from the image forming apparatus.

本実施例におけるネットワーク構成は図1で示した第一の実施例と同様である。   The network configuration in this embodiment is the same as that of the first embodiment shown in FIG.

図17は本実施例におけるDHCPサーバ101、DP102、クライアントPC103、画像形成装置104のソフトウェア構成を示すブロック図である。なお、第一の実施例と同じ機能を持つブロックに関しては同じ番号を付し、説明は省略する。   FIG. 17 is a block diagram showing the software configuration of the DHCP server 101, DP 102, client PC 103, and image forming apparatus 104 in this embodiment. Note that blocks having the same functions as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted.

図17において、DHCPサーバ101の配布状況通知部1701はIPアドレスや設定情報をDHCPクライアントへ配布した状況を、DP102に対して通知する。この通知は図18のようなフォーマットである。配布状況通知部は、この通知を図2のDHCP ACK(S2004、S2006)送信時、DHCP RELEASE(S2007)受信時、およびリース期間内にDHCP REQUESTを受信せず、IPアドレスの割り当てを解除したタイミングで行う。   In FIG. 17, the distribution status notification unit 1701 of the DHCP server 101 notifies the DP 102 of the status of distributing the IP address and setting information to the DHCP client. This notification has a format as shown in FIG. The distribution status notifying unit receives the DHCP ACK (S2004, S2006) in FIG. 2, receives the DHCP RELEASE (S2007), and does not receive the DHCP REQUEST within the lease period, and releases the IP address assignment. To do.

DP102の配布状況受信部1711は、通知を受信し、その種類に基づきデバイス情報保持部514が保持するデバイス情報を用いた処理を行う。デバイス情報の取得が必要であると判断された場合は、デバイス情報取得部512は画像形成装置104に対してデバイス情報取得要求を送信し、返されたデバイス情報をデバイス情報保持部514に保持する。   The distribution status receiving unit 1711 of the DP 102 receives the notification, and performs processing using the device information held by the device information holding unit 514 based on the type. If it is determined that the device information needs to be acquired, the device information acquisition unit 512 transmits a device information acquisition request to the image forming apparatus 104 and stores the returned device information in the device information holding unit 514. .

画像形成装置104は、第一の実施例におけるデバイス情報通知部533は持たない。そのため、DHCPサーバ101からDP102のIPアドレスが配布されたとしても、DP102に対して直接そのIPアドレスを通知することはしない。   The image forming apparatus 104 does not have the device information notification unit 533 in the first embodiment. For this reason, even if the IP address of the DP 102 is distributed from the DHCP server 101, the IP address is not directly notified to the DP 102.

図18はDHCPサーバ101からDP102に送信される通知データのフォーマットである。タイプ1801としては、1〜3の値を設定する。1はDHCPACK(S2004)を送信しIPアドレスの新規割り当てを行ったことを示す。2はDHCPACK(S2006)を送信しIPアドレスの使用を更新したことを示す。3はDHCPRELEASEを受信したか、リース期間内にDHCPREQUESTを受信せずIPアドレスの割り当てを解除したことを示す。アドレス1802には配布したIPアドレスを設定する。   FIG. 18 shows a format of notification data transmitted from the DHCP server 101 to the DP 102. A value of 1 to 3 is set as the type 1801. 1 indicates that DHCPACK (S2004) is transmitted to newly assign an IP address. 2 indicates that DHCPACK (S2006) is transmitted and the use of the IP address is updated. 3 indicates that DHCPRELEASE has been received or DHCPREQUEST has not been received within the lease period and the IP address assignment has been released. A distributed IP address is set in the address 1802.

図19はDP102の配布状況受信部1702がDHCPサーバ101から通知を受信した際のDP102の処理を示すフローチャートである。図19の各ステップは、DP102のCPU3001がROM3002に格納されたプログラムを処理することによって実行される。   FIG. 19 is a flowchart showing the processing of the DP 102 when the distribution status receiving unit 1702 of the DP 102 receives a notification from the DHCP server 101. Each step in FIG. 19 is executed by the CPU 3001 of the DP 102 processing a program stored in the ROM 3002.

ステップ1901において、DP102は、図18の通知メッセージをNIC3008を介して受信する。次にS1902において、CPU3001は通知メッセージのタイプを解析しその値によって処理を分岐させる。タイプが1であった場合はS1903に進み、DP102はNIC3008を介して通知メッセージに含まれるIPアドレスに対してProbeメッセージを送信する。次にS1904において、Probeの応答としてのProbeMatchメッセージを受信する。次にS1905において、CPU3001は、受信したProbeMatchメッセージに基づいてデバイス情報保持部514に新たにレコードを追加する。そしてS1906において、NIC3008を介してGetメッセージを送信する。S1907においてGetの応答としてのデバイス情報を取得し、S1908において、CPU3001はデバイス情報保持部514に追加したレコードを更新して処理を終了する。   In step 1901, the DP 102 receives the notification message in FIG. 18 via the NIC 3008. In step S1902, the CPU 3001 analyzes the type of the notification message and branches the process depending on the value. If the type is 1, the process advances to step S1903, and the DP 102 transmits a Probe message to the IP address included in the notification message via the NIC 3008. In step S1904, a ProbeMatch message is received as a Probe response. In step S <b> 1905, the CPU 3001 newly adds a record to the device information holding unit 514 based on the received ProbeMatch message. In step S1906, a Get message is transmitted via the NIC 3008. In step S1907, device information is acquired as a response to Get. In step S1908, the CPU 3001 updates the record added to the device information holding unit 514 and ends the process.

S1902において、タイプが2であった場合にはS1909に進み、DP102は受信した通知メッセージに含まれるIPアドレスに対して、NIC3008を介してProbeメッセージを送信する。次にS1910において、送信したProbeの応答としてのProbeMatchメッセージを受信する。次にS1911において、CPU3001はProbeMatchメッセージからUUIDを抽出する。S1912において、CPU3001は抽出されたUUIDと同じUUIDを持つレコードがデバイス情報保持部514に保持されるデバイス情報の中に存在するかどうかを判定する。存在しなかった場合はS1913に進み、CPU3001はデバイス情報保持部514にあらたにレコードを追加する。続いてS1914においてGetメッセージを送信する。次にS1915においてGetの応答としてのデバイス情報を取得し、S1916において、CPU3001はデバイス情報保持部514に追加したレコードを更新して処理を終了する。一方S1912において、存在すると判定された場合にはS1917に進み、CPU3001はProbeMatchメッセージからバージョン情報を抽出する。S1918において、CPU3001は、S1917で抽出したバージョン情報が、UUIDが一致したレコードにおけるバージョン情報と比較して同じであるかどうかを判定する。バージョンが異なった場合はS1914に進み、CPU3001はデバイス情報の更新を行う。同じであった場合には何もせずに処理を終了する。   If the type is 2 in S1902, the process proceeds to S1909, and the DP 102 transmits a Probe message to the IP address included in the received notification message via the NIC 3008. In step S1910, a ProbeMatch message is received as a response to the transmitted probe. In step S1911, the CPU 3001 extracts a UUID from the ProbeMatch message. In step S 1912, the CPU 3001 determines whether a record having the same UUID as the extracted UUID exists in the device information held in the device information holding unit 514. If it does not exist, the process advances to step S1913, and the CPU 3001 newly adds a record to the device information holding unit 514. In step S1914, a Get message is transmitted. In step S1915, device information is acquired as a response to Get. In step S1916, the CPU 3001 updates the record added to the device information holding unit 514 and ends the process. On the other hand, if it is determined in S1912 that the file exists, the process advances to S1917, and the CPU 3001 extracts version information from the ProbeMatch message. In step S1918, the CPU 3001 determines whether the version information extracted in step S1917 is the same as the version information in the record with the matching UUID. If the versions are different, the process advances to step S1914, and the CPU 3001 updates device information. If they are the same, the process ends without doing anything.

S1902において、タイプが3であった場合にはS1919に進み、CPU3001は、通知メッセージに含まれるIPアドレスを持つレコードがデバイス情報保持部514に保持されるデバイス情報の中に存在するかどうかを判定する。存在した場合はS1920に進み、CPU3001はそのレコードを削除して処理を終了する。存在しなかった場合には何もせずに処理を終了する。   If the type is 3 in S1902, the process proceeds to S1919, and the CPU 3001 determines whether a record having the IP address included in the notification message exists in the device information held in the device information holding unit 514. To do. When it exists, it progresses to S1920, CPU3001 deletes the record, and complete | finishes a process. If it does not exist, the process ends without doing anything.

尚、本実施例2において、デバイス情報保持部514に保持されるデバイス情報を削除することが可能な装置を制限することも可能である。つまり、特定の装置のみが、DP102のデバイス情報保持部514に保持されるデバイス情報を削除できるようにする。図28はその場合のDP102のソフトウェア構成を示すものである。図28において、アクセス制御手段2801は、図18の通知メッセージを受信すると、アクセス制御リスト設定手段2802により作成されるアクセス制御リストに従い、通知メッセージを処理するかどうかを判断する。アクセス制御リスト設定手段2802はユーザによりキーボード3009bから所望のIPアドレスが入力されると、そのIPアドレスに基づいてアクセス制御リストを作成する。なお、アクセス制御リストを作成する別の形態としては、ネットワークを介してIPアドレス情報を受信し、アクセス制御リストを作成するようにしてもよい。   In the second embodiment, it is also possible to limit devices that can delete device information held in the device information holding unit 514. That is, only a specific apparatus can delete the device information held in the device information holding unit 514 of the DP 102. FIG. 28 shows the software configuration of the DP 102 in that case. In FIG. 28, when receiving the notification message in FIG. 18, the access control means 2801 determines whether to process the notification message according to the access control list created by the access control list setting means 2802. When a user inputs a desired IP address from the keyboard 3009b, the access control list setting unit 2802 creates an access control list based on the IP address. As another form of creating the access control list, the access control list may be created by receiving IP address information via a network.

図29は上記構成例において、DP102の配布状況受信部1702がDHCPサーバ101から上述したタイプが3である通知を受信した際の処理を示すフローチャートである。このフローチャートの各ステップは、DP102のCPU3001によって処理される。   FIG. 29 is a flowchart showing processing when the distribution status receiving unit 1702 of the DP 102 receives a notification that the type is 3 from the DHCP server 101 in the above configuration example. Each step of this flowchart is processed by the CPU 3001 of the DP 102.

S2901において、DP102はタイプが3である通知を受信する。S2902において、CPU3001は、受信した通知の送信元IPアドレスを取得する。図18の通知メッセージの送受信はIP通信を使用しており、このIPアドレスは通知メッセージの前に付加されるIPヘッダから取得される。次にS2903において、CPU3001は、取得したIPアドレスがアクセス制御リストの中に存在するかどうかを判定する。存在した場合はS2904に進み、CPU3001は通知メッセージに含まれるIPアドレスを持つレコードがデバイス情報保持部514に保持されるデバイス情報の中に存在するかどうかを判定する。存在した場合はS2905に進み、CPU3001はそのレコードを削除して処理を終了する。S2903において取得したIPアドレスがアクセス制御リストに存在しなかった場合、およびS2904においてレコードが存在しなかった場合には何もせずに処理を終了する。   In S2901, the DP 102 receives a notification that the type is 3. In step S2902, the CPU 3001 acquires the transmission source IP address of the received notification. The notification message in FIG. 18 is transmitted and received using IP communication, and this IP address is obtained from an IP header added before the notification message. In step S2903, the CPU 3001 determines whether the acquired IP address exists in the access control list. If it exists, the process advances to step S2904, and the CPU 3001 determines whether a record having the IP address included in the notification message exists in the device information held in the device information holding unit 514. When it exists, it progresses to S2905, CPU3001 deletes the record, and complete | finishes a process. If the IP address acquired in S2903 does not exist in the access control list, and if no record exists in S2904, the process is terminated without doing anything.

この構成においては、DP102が保持するデバイス情報を削除できる装置を、例えばDHCPサーバ101のみに限定することができる。   In this configuration, an apparatus that can delete device information held by the DP 102 can be limited to, for example, the DHCP server 101 only.

以上説明したように、実施例2によれば、クライアントPC103や画像形成装置104が自身の情報をDP102に通知する必要はなくなる。従って、クライアントPCや画像形成装置が自身の情報をDP102に通知することができない状況であっても、DHCPサーバが代わりにデバイス情報をDP102に通知することができる。例えば、画像形成装置の電源が抜かれ、画像形成装置がByeメッセージをDPに送信できない場合、画像形成装置が使用できないことをIPアドレスの更新が依頼されないことによってDHCPサーバが知ることができる。そのような場合に、DHCPサーバは、画像形成装置の代わりにDP102のデバイス情報からその画像形成装置の情報を削除するように通知することができる。従って、DPは、このような状況であってもより正確なデバイス情報を管理することができるようになる。   As described above, according to the second embodiment, it is not necessary for the client PC 103 or the image forming apparatus 104 to notify the DP 102 of its own information. Therefore, even when the client PC or the image forming apparatus cannot notify the DP 102 of its own information, the DHCP server can notify the DP 102 of the device information instead. For example, when the image forming apparatus is powered off and the image forming apparatus cannot send a Bye message to the DP, the DHCP server can know that the image forming apparatus cannot be used by not being requested to update the IP address. In such a case, the DHCP server can notify to delete the information of the image forming apparatus from the device information of the DP 102 instead of the image forming apparatus. Therefore, the DP can manage more accurate device information even in such a situation.

(実施例3)
次に第三の実施例について説明する。
本実施例においてはDPはネットワーク上に1台のみ存在するのではなく、各サブネットごとにDPを配置する。
(Example 3)
Next, a third embodiment will be described.
In the present embodiment, only one DP exists on the network, but a DP is arranged for each subnet.

図20は本実施例におけるデバイス検索システムの構成を示す図である。サブネット1にはDHCPサーバ101、クライアントPC109が接続されている。サブネット2にはDP102、クライアントPC103、画像形成装置104が接続されている。サブネット3にはDP108、クライアントPC110、画像形成装置105が接続されている。サブネット1とサブネット2はルータ106により相互に接続され、サブネット1とサブネット3はルータ107により相互に接続されており、結果としてすべてのサブネットにおいて接続された端末は相互に通信が可能になっている。   FIG. 20 is a diagram showing the configuration of the device search system in the present embodiment. A DHCP server 101 and a client PC 109 are connected to the subnet 1. A DP 102, a client PC 103, and an image forming apparatus 104 are connected to the subnet 2. The DP 3, the client PC 110, and the image forming apparatus 105 are connected to the subnet 3. Subnet 1 and subnet 2 are connected to each other by router 106, and subnet 1 and subnet 3 are connected to each other by router 107. As a result, terminals connected in all subnets can communicate with each other. .

このようなシステム構成において、本実施例においては、DHCPサーバ101の配布情報設定部502により、図26のような配布設定を行う。図26においては、第一の実施例における図21の設定情報に加え、サブネット2用設定2602には予約済みオプション2604が存在している。予約済みオプション2604は、MACアドレス、IPアドレス、DPアドレスからなる。DHCP REQUESTを送信したDHCPクライアントのMACアドレスがこの予約済みオプションのいずれかに一致した場合には、本オプションで記述された情報が優先して配布される。なお図26では1個のみ設定しているが、複数個設定することも可能である。本実施例においては予約済みオプション2604にはMACアドレスとして画像形成装置104のMACアドレス、IPアドレスとして画像形成装置104に固定で配布するIPアドレス、DPアドレスとしてDP102のIPアドレスを設定する。また、サブネット1用設定2601にはDPのアドレスとしてDP102およびDP108のIPアドレスを設定する。サブネット2用設定2602にはDPのアドレスとしてDP102およびDP108のIPアドレスを設定する。サブネット3用設定2603にはDPのアドレスとしてDP108のIPアドレスを設定する。   In such a system configuration, in this embodiment, the distribution information setting unit 502 of the DHCP server 101 performs distribution settings as shown in FIG. In FIG. 26, in addition to the setting information of FIG. 21 in the first embodiment, a reserved option 2604 exists in the setting for subnet 2602. The reserved option 2604 includes a MAC address, an IP address, and a DP address. When the MAC address of the DHCP client that has transmitted DHCP REQUEST matches any of these reserved options, the information described in this option is distributed with priority. In FIG. 26, only one is set, but a plurality can be set. In this embodiment, the reserved option 2604 is set with the MAC address of the image forming apparatus 104 as the MAC address, the IP address that is fixedly distributed to the image forming apparatus 104 as the IP address, and the IP address of the DP 102 as the DP address. In the subnet 1 setting 2601, the IP addresses of the DP 102 and DP 108 are set as the DP addresses. In the subnet 2 setting 2602, the IP addresses of the DP 102 and DP 108 are set as the DP addresses. In the subnet 3 setting 2603, the IP address of the DP 108 is set as the DP address.

次に、DHCPサーバ101がIPアドレスなどの設定情報をDHCPクライアントに配布する際の処理を図27のフローチャートを使用して説明する。図27の各ステップは、DHCPサーバ101のCPU3001がROM3002に格納されたプログラムを処理することによって実行される。   Next, processing when the DHCP server 101 distributes setting information such as an IP address to a DHCP client will be described with reference to the flowchart of FIG. Each step in FIG. 27 is executed by the CPU 3001 of the DHCP server 101 processing a program stored in the ROM 3002.

まずS2701において、DHCPサーバ101は、DHCPクライアントまたはリレーエージェントが送信したDHCP DISCOVERメッセージを受信する。S2702において、CPU3001は第一の実施例における図23で示した方法により割り当てる設定情報を特定する。S2703において、CPU3001は、S2702で設定情報が特定されたかどうかを判定し、特定されなかった場合には処理を終了する。特定されていた場合にはS2704に進む。S2704において、CPU3001は、メッセージに含まれるクライアント識別子と、特定された設定情報の予約済みオプションのMACアドレスが一致するかどうかを判定する。一致していた場合にはS2705に進み、CPU3001は予約済みオプションで設定されているIPアドレスをDHCP OFFERメッセージのyiaddrフィールドに設定する。その後、S2707へ進む。S2704の判定で一致していなかった場合はS2706に進み、CPU3001は、特定された設定情報に未割り当てのIPアドレスが残っているかどうかを判定し、残っていない場合には処理を終了する。残っていた場合にはS2707に進む。S2707においては、CPU3001は、DHCP OFFERメッセージの中で未設定の部分に、特定された設定情報を設定し、DHCPOFFERメッセージを生成する。ここで、S2705によりyiaddrフィールドが設定されていない場合には、配布するIPアドレスはyiaddrフィールドに設定する。そしてS2708において、生成したDHCP OFFERメッセージをDHCPクライアントに送信する。次にS2709において、DHCPサーバ101は、DHCPクライアントまたはリレーエージェントが送信したDHCP REQUESTメッセージを受信する。S2710において、CPU3001は、第一の実施例における図23で示した方法により割り当てる設定情報を特定する。S2711においてCPU3001は、S2710で設定情報が特定されたかどうかを判定し、特定されなかった場合には処理を終了する。特定されていた場合にはS2712に進み、CPU3001は、メッセージに含まれるクライアント識別子と、特定された設定情報の予約済みオプションのMACアドレスが一致するかどうかを判定する。一致していた場合にはS2713に進み、CPU3001は、予約済みオプションに設定されている設定情報をDHCP ACKメッセージに設定する。S2712の判定で一致していなかった場合はS2714に進み、DHCP REQUESTメッセージに含まれる要求IPアドレスを割り当て済みとする。次にS2715において、CPU3001は、DHCP REQUESTメッセージの中で未設定の部分に、特定された設定情報に基づき設定し、DHCP ACKメッセージを生成する。そしてS2716において、生成したDHCP ACKメッセージをDHCPクライアントに送信し、処理を終了する。   First, in S2701, the DHCP server 101 receives a DHCP DISCOVER message transmitted by a DHCP client or a relay agent. In step S2702, the CPU 3001 specifies setting information to be assigned by the method illustrated in FIG. 23 in the first embodiment. In step S2703, the CPU 3001 determines whether the setting information is specified in step S2702, and ends the process if the setting information is not specified. If specified, the process proceeds to S2704. In step S2704, the CPU 3001 determines whether the client identifier included in the message matches the MAC address of the reserved option in the specified setting information. If they match, the process advances to step S2705, and the CPU 3001 sets the IP address set in the reserved option in the yiadr field of the DHCP OFFER message. Thereafter, the process proceeds to S2707. If they do not match in the determination of S2704, the process proceeds to S2706, in which the CPU 3001 determines whether an unassigned IP address remains in the specified setting information, and ends the process if it does not remain. If it remains, the process proceeds to S2707. In step S2707, the CPU 3001 sets the specified setting information in an unset portion in the DHCP OFFER message, and generates a DHCPOFFER message. Here, if the yiadr field is not set in S2705, the IP address to be distributed is set in the yaiadr field. In step S2708, the generated DHCP OFFER message is transmitted to the DHCP client. In step S2709, the DHCP server 101 receives a DHCP REQUEST message transmitted from the DHCP client or the relay agent. In step S2710, the CPU 3001 specifies setting information to be assigned by the method illustrated in FIG. 23 in the first embodiment. In step S2711, the CPU 3001 determines whether the setting information has been specified in step S2710. If the setting information has not been specified, the CPU 3001 ends the process. If specified, the process advances to step S2712, and the CPU 3001 determines whether the client identifier included in the message matches the MAC address of the reserved option of the specified setting information. If they match, the processing proceeds to S2713, and the CPU 3001 sets the setting information set in the reserved option in the DHCP ACK message. If they do not match in the determination of S2712, the process proceeds to S2714, and the requested IP address included in the DHCP REQUEST message is already assigned. Next, in step S2715, the CPU 3001 sets an unset portion in the DHCP REQUEST message based on the specified setting information, and generates a DHCP ACK message. In step S2716, the generated DHCP ACK message is transmitted to the DHCP client, and the process ends.

上記処理により、画像形成装置104にはDP102のIPアドレスが配布され、画像形成装置105にはDPのアドレスとしてDP108のIPアドレスが配布される。   Through the above processing, the IP address of DP 102 is distributed to the image forming apparatus 104, and the IP address of DP 108 is distributed to the image forming apparatus 105 as the DP address.

その結果、画像形成装置104はDP102に存在を通知し、画像形成装置105はDP108に存在を通知することになる。その後第一の実施例と同様のメッセージ交換を行うことにより、画像形成装置104のデバイス情報はDP102、画像形成装置105のデバイス情報はDP108に保持される。   As a result, the image forming apparatus 104 notifies the DP 102 of the presence, and the image forming apparatus 105 notifies the DP 108 of the presence. Thereafter, the same message exchange as in the first embodiment is performed, whereby the device information of the image forming apparatus 104 is held in the DP 102 and the device information of the image forming apparatus 105 is held in the DP 108.

一方、クライアントPC103にはDPのアドレスとしてDP102、DP108のIPアドレスが配布される。クライアントPC103はDP102、DP108両方のDPに対して第一の実施例と同様の処理を繰り返し行うことにより、画像形成装置104、105のデバイス情報を取得することが可能となる。またクライアントPC110にはDPのアドレスとしてDP108のIPアドレスが配布される。よってクライアントPC110はDP108に対して第一の実施例と同様の処理を行い、画像形成装置105のデバイス情報を取得できるが、DP102の存在はわからないため、画像形成装置104のデバイス情報を取得することはできない。これにより、サブネット2上のクライアントPCにはすべてのサブネットに存在する画像形成装置のデバイス情報を取得させ、サブネット3上のクライアントPCにはサブネット3に存在する画像形成装置のデバイス情報しか取得させないという制御が可能となる。また、図26の例においては、DPが存在しないサブネット1上のDHCPクライアントにはDP102、DP108のIPアドレスを配布するように設定している。そのため、クライアントPC109はクライアントPC103と同様画像形成装置104、105のデバイス情報を取得することが可能となる。   On the other hand, the IP addresses of DP102 and DP108 are distributed to the client PC 103 as DP addresses. The client PC 103 can acquire the device information of the image forming apparatuses 104 and 105 by repeatedly performing the same processing as in the first embodiment for both DPs 102 and DP108. Further, the IP address of the DP 108 is distributed to the client PC 110 as the DP address. Accordingly, the client PC 110 can perform the same processing on the DP 108 as in the first embodiment and acquire the device information of the image forming apparatus 105. However, since the existence of the DP 102 is unknown, the client PC 110 acquires the device information of the image forming apparatus 104. I can't. As a result, the client PC on the subnet 2 acquires device information of the image forming apparatus existing in all subnets, and the client PC on the subnet 3 acquires only the device information of the image forming apparatus existing on the subnet 3. Control becomes possible. In the example of FIG. 26, the IP addresses of DP102 and DP108 are set to be distributed to DHCP clients on the subnet 1 where no DP exists. Therefore, the client PC 109 can acquire the device information of the image forming apparatuses 104 and 105 as with the client PC 103.

(その他の実施例)
本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。
(Other examples)
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device.

また、本発明は、前述した実施例のフローチャートを実現するソフトウェアのコンピュータプログラムコードを記録した記憶媒体を、システムあるいは装置に供給してもよい。そして、そのシステムあるいは装置のコンピュータ(CPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成され得る。   Further, the present invention may supply a storage medium storing a computer program code of software for realizing the flowchart of the above-described embodiment to a system or an apparatus. It can also be achieved by reading and executing the program code stored in the storage medium by the computer (CPU or MPU) of the system or apparatus.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フロッピディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。   As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM or the like is used. be able to.

本実施例におけるしたネットワーク検索システムの構成を示す図The figure which shows the structure of the network search system in the present Example DHCPサーバとDHCPクライアントとの間で送受信されるDHCPメッセージのフローを説明する図The figure explaining the flow of the DHCP message transmitted / received between a DHCP server and a DHCP client DHCPメッセージのフォーマットを示す図The figure which shows the format of the DHCP message 画像形成装置のハードウェア構成を示すブロック図Block diagram showing hardware configuration of image forming apparatus DHCPサーバ、DP、クライアントPC、画像形成装置のソフトウェア構成を示すブロック図Block diagram showing software configuration of DHCP server, DP, client PC, and image forming apparatus DPのデバイス情報保持部が保持するデバイス情報の例Example of device information held by device information holding unit of DP 本実施例におけるHelloメッセージの例Example of Hello message in this embodiment 本実施例におけるGetメッセージの例Example of Get message in this embodiment 本実施例におけるGetResponseメッセージの例Example of GetResponse message in this embodiment 本実施例におけるByeメッセージの例Example of Bye message in this embodiment 本実施例におけるProbeメッセージの例Example of a Probe message in this embodiment 本実施例におけるProbeMatchメッセージの例Example of ProbeMatch message in this embodiment クライアントPCが画像形成装置を検索する際のUIの例を示す図FIG. 4 is a diagram illustrating an example of a UI when a client PC searches for an image forming apparatus DPがデバイス情報登録を行う際の処理を示すフローチャートFlow chart showing processing when DP performs device information registration DPがデバイス情報を削除する際の処理を示すフローチャートFlow chart showing processing when DP deletes device information DPがデバイス情報を検索する際の処理を示すフローチャートFlow chart showing processing when DP searches for device information 第二の実施例におけるDHCPサーバ、DP、クライアントPC、画像形成装置のソフトウェア構成を示すブロック図Block diagram showing the software configuration of a DHCP server, DP, client PC, and image forming apparatus in the second embodiment DHCPサーバからDPに送信される通知データのフォーマットFormat of notification data sent from DHCP server to DP DPの配布状況受信部がDHCPサーバから通知を受信した際の処理を示すフローチャートFlowchart showing processing when the DP distribution status receiving unit receives a notification from the DHCP server 第三の実施例におけるネットワーク検索システムの構成を示す図The figure which shows the structure of the network search system in a 3rd Example. 第一の実施例における配布情報DBに保持される設定情報の例Example of setting information held in the distribution information DB in the first embodiment 第一の実施例におけるDHCPサーバが設定情報を配布する際の処理を示すフローチャートThe flowchart which shows the process at the time of the DHCP server in 1st Example distributing setting information. DHCPサーバが設定情報を特定する際の処理を示すフローチャートThe flowchart which shows the process at the time of a DHCP server specifying setting information. DHCPREQUESTメッセージのoptionsフィールドの例Examples of options field of DHCPREQUEST message DHCPACKメッセージのoptionsフィールドの例Examples of options field of DHCPACK message 第三の実施例における配布情報DBに保持される設定情報の例Example of setting information held in the distribution information DB in the third embodiment 第三の実施例におけるDHCPサーバが設定情報を配布する際の処理を示すフローチャートThe flowchart which shows the process at the time of the DHCP server in 3rd Example distributing setting information. 第二の実施例におけるDPのソフトウェア構成を示すブロック図Block diagram showing the software configuration of the DP in the second embodiment DPの配布状況受信部がDHCPサーバから通知を受信した際の処理を示すフローチャートFlowchart showing processing when the DP distribution status receiving unit receives a notification from the DHCP server DHCPサーバ、DP、クライアントPCのハードウェア構成を示すブロック図Block diagram showing hardware configuration of DHCP server, DP, and client PC

符号の説明Explanation of symbols

3001 CPU
3002 ROM
3003 RAM
3005 KBC
3006 CRTC
3007 DKC
3008 NIC
3001 CPU
3002 ROM
3003 RAM
3005 KBC
3006 CRTC
3007 DKC
3008 NIC

Claims (14)

ネットワークに接続可能な情報処理装置と、前記ネットワーク上の装置を検索するための検索要求に応じて検索を行い検索結果を応答する検索サーバと、を含むネットワークシステムであって、
前記情報処理装置は、
複数のネットワークアドレスを管理する管理手段と、
前記検索サーバのネットワークアドレスを記憶する記憶手段と、
前記ネットワークに新たに接続された装置からの要求に応じて、前記管理手段で管理されるネットワークアドレスのうち他の装置に割り当てられていないネットワークアドレスを割り当てる割り当て手段と
記割り当て手段によって割り当てられたネットワークアドレスを、前記ネットワークに新たに接続された装置に送信する第1の送信手段と、
前記割り当て手段によって割り当てられたネットワークアドレスを、前記記憶手段により記憶されたネットワークアドレスに基づいて前記検索サーバに送信する第2の送信手段と、を有し、
前記検索サーバは、
前記第2の送信手段により送信されたネットワークアドレスに基づいて、前記ネットワークに新たに接続された装置に対してデバイス情報を要求する要求手段と、
前記要求手段による要求に応じて取得したデバイス情報を登録する登録手段と、
を有することを特徴とするネットワークシステム
A network system comprising: an information processing device connectable to a network; and a search server that performs a search in response to a search request for searching for devices on the network and responds with a search result,
The information processing apparatus includes:
A management means for managing a plurality of network addresses;
Storage means for storing a network address of the search server;
An assigning unit that assigns a network address that is not assigned to another device among network addresses managed by the managing unit in response to a request from a device newly connected to the network ;
The network address assigned by the previous SL assignment means, a first transmitting means for transmitting to the device newly connected to the network,
Second transmission means for transmitting the network address assigned by the assigning means to the search server based on the network address stored by the storage means ;
The search server
Requesting means for requesting device information to a device newly connected to the network based on the network address transmitted by the second transmitting means;
Registration means for registering device information acquired in response to a request by the request means;
A network system comprising:
前記第1の送信手段は、前記装置が前記割り当て手段によって割り当てられたネットワークアドレスを使用可能な期間を示す情報を送信することを特徴とする請求項1記載のネットワークシステム2. The network system according to claim 1, wherein the first transmission unit transmits information indicating a period in which the device can use the network address allocated by the allocation unit. 前記使用可能な期間が経過する前に前記装置から更新要求を受信した場合、前記使用可能な期間を更新し、前記使用可能な期間が経過しても前記装置から更新要求を受信しなかった場合、前記ネットワークアドレスの割り当てを解除する更新手段と、
前記更新手段によって前記ネットワークアドレスの割り当てが解除された場合、当該ネットワークアドレスが使用されなくなったことを前記検索サーバに通知する通知手段と、を更に有することを特徴とする請求項2記載のネットワークシステム
When an update request is received from the device before the usable period elapses, the usable period is updated, and an update request is not received from the device even after the usable period elapses Updating means for deallocating the network address;
3. The network system according to claim 2, further comprising notification means for notifying the search server that the network address is no longer used when the network address is unassigned by the updating means. .
前記記憶手段は、複数の検索サーバそれぞれのネットワークアドレスを記憶し、
前記第2の送信手段は、前記装置に応じて、前記複数の検索サーバのうちのどの検索サーバのネットワークアドレスを送信するかを切り替えることを特徴とする請求項1乃至3の何れかに記載のネットワークシステム
The storage means stores a network address of each of a plurality of search servers,
The said 2nd transmission means switches which search server's network address of these search servers is transmitted according to the said apparatus, The one of Claim 1 thru | or 3 characterized by the above-mentioned. Network system .
前記情報処理装置はDHCPサーバであり、前記ネットワークアドレスはIPアドレスであることを特徴とする請求項1乃至4の何れかに記載のネットワークシステムThe network system according to claim 1, wherein the information processing apparatus is a DHCP server, and the network address is an IP address. 前記装置は、クライアントコンピュータ或いはクライアントコンピュータによって使用されるデバイスの何れかであることを特徴とする請求項1乃至5の何れかに記載のネットワークシステムThe network system according to claim 1, wherein the apparatus is a client computer or a device used by the client computer. 複数のネットワークアドレスを管理する管理手段と、A management means for managing a plurality of network addresses;
ネットワーク上の装置を検索するための検索要求に応じて検索を行い検索結果を応答する検索サーバのネットワークアドレスを記憶する記憶手段と、Storage means for storing a network address of a search server that performs a search in response to a search request for searching for devices on a network and responds with a search result;
前記ネットワークに新たに接続された装置からの要求に応じて、前記管理手段で管理されるネットワークアドレスのうち他の装置に割り当てられていないネットワークアドレスを割り当てる割り当て手段と、An assigning unit that assigns a network address that is not assigned to another device among network addresses managed by the managing unit in response to a request from a device newly connected to the network;
前記割り当て手段によって割り当てられたネットワークアドレスを、前記ネットワークに新たに接続された装置に送信する第1の送信手段と、First transmitting means for transmitting the network address assigned by the assigning means to a device newly connected to the network;
前記ネットワークに新たに接続された装置に関するデバイス情報を前記検索サーバに取得させるために、前記割り当て手段によって割り当てられたネットワークアドレスを、前記記憶手段により記憶されたネットワークアドレスに基づいて前記検索サーバに送信する第2の送信手段と、In order to cause the search server to acquire device information relating to a device newly connected to the network, the network address allocated by the allocation unit is transmitted to the search server based on the network address stored by the storage unit Second transmitting means for
を有することを特徴とする情報処理装置。An information processing apparatus comprising:
前記第1の送信手段は、前記装置が前記割り当て手段によって割り当てられたネットワークアドレスを使用可能な期間を示す情報を送信することを特徴とする請求項7記載の情報処理装置。8. The information processing apparatus according to claim 7, wherein the first transmission unit transmits information indicating a period in which the device can use the network address allocated by the allocation unit. 前記使用可能な期間が経過する前に前記装置から更新要求を受信した場合、前記使用可能な期間を更新し、前記使用可能な期間が経過しても前記装置から更新要求を受信しなかった場合、前記ネットワークアドレスの割り当てを解除する更新手段と、When an update request is received from the device before the usable period elapses, the usable period is updated, and an update request is not received from the device even after the usable period elapses Updating means for deallocating the network address;
前記更新手段によって前記ネットワークアドレスの割り当てが解除された場合、当該ネットワークアドレスが使用されなくなったことを前記検索サーバに通知する通知手段と、を更に有することを特徴とする請求項8記載の情報処理装置。9. The information processing according to claim 8, further comprising notification means for notifying the search server that the network address is no longer used when the network address is unassigned by the updating means. apparatus.
前記記憶手段は、複数の検索サーバそれぞれのネットワークアドレスを記憶し、The storage means stores a network address of each of a plurality of search servers,
前記第2の送信手段は、前記装置に応じて、前記複数の検索サーバのうちのどの検索サーバのネットワークアドレスを送信するかを切り替えることを特徴とする請求項7乃至9の何れかに記載の情報処理装置。The said 2nd transmission means switches which search server's network address of the said some search servers is transmitted according to the said apparatus, The Claim 7 thru | or 9 characterized by the above-mentioned. Information processing device.
前記情報処理装置はDHCPサーバであり、前記ネットワークアドレスはIPアドレスであることを特徴とする請求項7乃至10の何れかに記載の情報処理装置。The information processing apparatus according to claim 7, wherein the information processing apparatus is a DHCP server, and the network address is an IP address. 前記装置は、クライアントコンピュータ或いはクライアントコンピュータによって使用されるデバイスの何れかであることを特徴とする請求項7乃至10の何れかに記載の情報処理装置。The information processing apparatus according to claim 7, wherein the apparatus is a client computer or a device used by the client computer. ネットワーク上のデバイスを検索するための検索要求に応じて検索を行い検索結果を応答する検索サーバと通信可能な情報処理装置の制御方法であって、
複数のネットワークアドレスを管理し、ネットワークに新たに接続された装置からの要求に応じて、前記複数のネットワークアドレスのうち他の装置に割り当てられていないネットワークアドレスを割り当てる割り当てステップと、
前記割り当てステップにおいて割り当てられたネットワークアドレスを前記装置に送信する第1の送信ステップと、
前記ネットワークに新たに接続された装置に関するデバイス情報を前記検索サーバに取得させるために、前記割り当てステップにおいて割り当てられたネットワークアドレスを、前記検索サーバに送信する第2の送信ステップと、
を有することを特徴とする情報処理装置の制御方法。
A method for controlling an information processing apparatus capable of communicating with a search server that performs a search in response to a search request for searching for devices on a network and responds with a search result,
An assigning step of managing a plurality of network addresses and assigning a network address not assigned to another device among the plurality of network addresses in response to a request from a device newly connected to the network;
A first transmission step of transmitting the network address assigned in the assignment step to the device;
To obtain the device information about the device that is newly connected to the network to the search server, a second transmission step of transmitting network address assigned in said assigning step, before the dangerous search server,
A method for controlling an information processing apparatus, comprising:
請求項13記載の制御方法をコンピュータに実行させるためのコンピュータプログラム。 A computer program for causing a computer to execute the control method according to claim 13 .
JP2007330953A 2007-12-21 2007-12-21 Information processing apparatus, device, control method for information processing apparatus, and computer program Expired - Fee Related JP5264161B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP2007330953A JP5264161B2 (en) 2007-12-21 2007-12-21 Information processing apparatus, device, control method for information processing apparatus, and computer program
KR1020107015841A KR101103190B1 (en) 2007-12-21 2008-11-20 Information processing apparatus, device, control method of information processing apparatus, and storage medium
CN200880122005.4A CN101904138B (en) 2007-12-21 2008-11-20 Information processing apparatus, device, control method of information processing apparatus
US12/739,913 US20100257271A1 (en) 2007-12-21 2008-11-20 Information processing apparatus, device, control method of information processing apparatus, and storage medium
PCT/JP2008/071599 WO2009081688A1 (en) 2007-12-21 2008-11-20 Information processing apparatus, device, control method of information processing apparatus, and storage medium
EP08865215.1A EP2225855A4 (en) 2007-12-21 2008-11-20 Information processing apparatus, device, control method of information processing apparatus, and storage medium
RU2010130476/07A RU2448422C2 (en) 2007-12-21 2008-11-20 Information processing apparatus, device, method of controlling information processing apparatus and data storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007330953A JP5264161B2 (en) 2007-12-21 2007-12-21 Information processing apparatus, device, control method for information processing apparatus, and computer program

Publications (2)

Publication Number Publication Date
JP2009153050A JP2009153050A (en) 2009-07-09
JP5264161B2 true JP5264161B2 (en) 2013-08-14

Family

ID=40801000

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007330953A Expired - Fee Related JP5264161B2 (en) 2007-12-21 2007-12-21 Information processing apparatus, device, control method for information processing apparatus, and computer program

Country Status (7)

Country Link
US (1) US20100257271A1 (en)
EP (1) EP2225855A4 (en)
JP (1) JP5264161B2 (en)
KR (1) KR101103190B1 (en)
CN (1) CN101904138B (en)
RU (1) RU2448422C2 (en)
WO (1) WO2009081688A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010282610A (en) * 2009-05-07 2010-12-16 Canon Inc Network system and management method therefor
JP5402782B2 (en) * 2010-03-31 2014-01-29 ブラザー工業株式会社 Printer search device, print mediation server, and computer program
PT2566138E (en) * 2011-08-31 2015-02-12 Liberty Global Europe Holding Bv Method and system for routing data traffic
WO2013134937A1 (en) * 2012-03-14 2013-09-19 华为技术有限公司 Method, switch, server, and system for transmitting an establish connection request
CN103034464A (en) * 2012-12-06 2013-04-10 南京邮电大学 Method for notifying remote printing electronic-commerce platform of information update
CN104539548B (en) * 2014-12-15 2018-05-08 小米科技有限责任公司 Using startup method and device
US10182133B2 (en) 2014-12-15 2019-01-15 Xiaomi Inc. Method and device for starting application
JP2017034482A (en) 2015-07-31 2017-02-09 キヤノン株式会社 Image formation apparatus, control method for the same, and program
JP6720735B2 (en) * 2016-07-04 2020-07-08 コニカミノルタ株式会社 Printing system, device search method, and device search program

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6292202B1 (en) * 1993-07-29 2001-09-18 Canon Kabushiki Kaisha Image processing method and apparatus for hardware processing image data received from a device using software processing
JPH09282259A (en) * 1996-04-18 1997-10-31 Hitachi Ltd Network system
JP3335582B2 (en) * 1998-10-09 2002-10-21 日本電信電話株式会社 Dynamic domain name system and dynamic domain name management method
FR2804811B1 (en) * 2000-02-07 2002-05-10 Rene Duranton METHOD AND DEVICE FOR THE AUTOMATIC ALLOCATION OF ADDRESSES TO A PLURALITY OF INTERCONNECTED MODULES BY COMMUNICATION NETWORK WITH COMPLEX TOPOLOGY
JP2001223730A (en) * 2000-02-14 2001-08-17 Matsushita Electric Ind Co Ltd Gateway device and recording medium
JP2002290472A (en) * 2001-03-23 2002-10-04 E-Withyou Inc Communication connection destination management system
US20030078987A1 (en) * 2001-10-24 2003-04-24 Oleg Serebrennikov Navigating network communications resources based on telephone-number metadata
US7443862B2 (en) * 2002-01-22 2008-10-28 Canon Kabushiki Kaisha Apparatus connected to network, and address determination program and method
JP3715954B2 (en) * 2002-07-12 2005-11-16 キヤノン株式会社 Information processing apparatus, information processing method, control program, network system
EP1385295B1 (en) * 2002-07-25 2007-10-31 Hewlett-Packard Company Process and apparatus for distributing network configuration settings
JP2004062443A (en) * 2002-07-26 2004-02-26 Ntt Docomo Inc Service management system and method, server management device, communication terminal, and server device
JP2004080567A (en) * 2002-08-21 2004-03-11 Matsushita Electric Ind Co Ltd Network terminal, address management server, and network communication method therefor
KR100520040B1 (en) * 2003-02-26 2005-10-11 아이피원(주) Method for detecting the change of the subnet in a mobile IP network through checking the IP address of the DHCP server
JP4401679B2 (en) * 2003-05-12 2010-01-20 キヤノン株式会社 Control device, control program, and control method
US7418486B2 (en) * 2003-06-06 2008-08-26 Microsoft Corporation Automatic discovery and configuration of external network devices
EP1487186B8 (en) * 2003-06-11 2017-05-17 Unify GmbH & Co. KG Redundant operation of an end terminal relative to at least two communication nodes
US20050060390A1 (en) * 2003-09-15 2005-03-17 Faramak Vakil Method and system for plug and play installation of network entities in a mobile wireless internet
JP2005217976A (en) * 2004-01-30 2005-08-11 Canon Inc Electronic equipment and control method thereof
JP4049123B2 (en) * 2004-04-09 2008-02-20 ソニー株式会社 Electronic device and control method
JP2006127218A (en) * 2004-10-29 2006-05-18 Oki Data Corp Method for installing driver software, information processor using the method, computer program for the information processor and storage medium
JP2006222929A (en) * 2005-01-14 2006-08-24 Hitachi Communication Technologies Ltd Network system
CN100461693C (en) * 2005-01-14 2009-02-11 日立通讯技术株式会社 Network system
US8117340B2 (en) * 2005-04-25 2012-02-14 Microsoft Corporation Trans-network roaming and resolution with web services for devices
JP2007097057A (en) * 2005-09-30 2007-04-12 Brother Ind Ltd Server unit, equipment information providing method, program, network system, and equipment sharing method

Also Published As

Publication number Publication date
CN101904138B (en) 2015-06-10
CN101904138A (en) 2010-12-01
RU2010130476A (en) 2012-01-27
KR101103190B1 (en) 2012-01-04
US20100257271A1 (en) 2010-10-07
JP2009153050A (en) 2009-07-09
RU2448422C2 (en) 2012-04-20
KR20100093123A (en) 2010-08-24
WO2009081688A1 (en) 2009-07-02
EP2225855A4 (en) 2016-09-07
EP2225855A1 (en) 2010-09-08

Similar Documents

Publication Publication Date Title
JP5264161B2 (en) Information processing apparatus, device, control method for information processing apparatus, and computer program
JP5459983B2 (en) Information processing apparatus, information processing apparatus control method, and computer program
JP5178539B2 (en) Information processing apparatus, information processing apparatus control method, session management system, and program
JP5743589B2 (en) Web service system, server management apparatus, and Web service providing method
JP3919721B2 (en) Information processing method and information processing apparatus
US20090059272A1 (en) Printer auto installation
KR100893344B1 (en) Network system, image-processing device, image-processing method, and computer-readable medium
JP4974848B2 (en) Network management device, network management method, and program for executing network management method
JP4542165B2 (en) Information processing apparatus, image forming apparatus, and control method thereof
US8832312B2 (en) Communication apparatus and communication control method
JP5425320B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP2008140048A (en) Management device and method
US8718058B2 (en) Device search apparatus and method, and device search server, device search system, and storage medium
JP2001326656A (en) Network system and network unit
JP5473248B2 (en) Information processing apparatus, information processing apparatus control method, and computer program
JP3609948B2 (en) Multiprotocol network management method, multiprotocol network management proxy server system, multiprotocol address management server system, and multiprotocol network management system
US8458118B1 (en) Dynamic configuration for networked imaging devices
JP2008259162A (en) Network-connected image processing apparatus, network connecting method for image processing apparatus, and program
JP2008059373A (en) Information processing method, information processor, program, and storage medium
JP2004151849A (en) Connection management device and method between client and server in client/server system and its program
JP2006039827A (en) Information providing system, information processor, program, and recording medium
JP2007122636A (en) Network device management system, its processing method and processing program

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100201

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20100630

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120807

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121005

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121030

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121227

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130430

LAPS Cancellation because of no payment of annual fees