JP5021533B2 - Information processing terminal - Google Patents

Information processing terminal Download PDF

Info

Publication number
JP5021533B2
JP5021533B2 JP2008069415A JP2008069415A JP5021533B2 JP 5021533 B2 JP5021533 B2 JP 5021533B2 JP 2008069415 A JP2008069415 A JP 2008069415A JP 2008069415 A JP2008069415 A JP 2008069415A JP 5021533 B2 JP5021533 B2 JP 5021533B2
Authority
JP
Japan
Prior art keywords
name resolution
address
response
name
information processing
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
JP2008069415A
Other languages
Japanese (ja)
Other versions
JP2009225271A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008069415A priority Critical patent/JP5021533B2/en
Publication of JP2009225271A publication Critical patent/JP2009225271A/en
Application granted granted Critical
Publication of JP5021533B2 publication Critical patent/JP5021533B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、情報処理端末に関するものである。   The present invention relates to an information processing terminal.

情報処理端末がホスト名を利用してインターネットを介して他のネットワークに接続されたファイルサーバ等にアクセスする場合には、ホスト名を指定する名前解決要求をネットワーク上のDNS(Domain Name System)サーバに送信し、DNSサーバから当該名前解決要求により指定されるホスト名に対応するIPアドレスを取得する変換処理(以下、名前解決処理とする)が行われる。   When an information processing terminal uses a host name to access a file server or the like connected to another network via the Internet, a DNS (Domain Name System) server on the network sends a name resolution request specifying the host name. And a conversion process (hereinafter referred to as a name resolution process) for acquiring an IP address corresponding to the host name specified by the name resolution request from the DNS server.

しかし、DNSサーバのアドレスが情報処理端末に登録されていない場合には、DNSサーバにより名前解決処理を行うことができず、対象のファイルサーバにアクセスすることができない。また、DNSサーバは、DHCP(Dynamic Host Configuration Protocol)により自動設定される場合もある。しかし、手動設定が必要な環境においては、利用者がネットワーク管理者に対してDNSサーバのアドレスを問い合わせ、情報処理端末に正しく設定する必要があり、ネットワークに不慣れな利用者にとっては負荷がかかる作業である。   However, if the address of the DNS server is not registered in the information processing terminal, the name resolution process cannot be performed by the DNS server, and the target file server cannot be accessed. Also, the DNS server may be automatically set by DHCP (Dynamic Host Configuration Protocol). However, in an environment where manual setting is required, the user needs to inquire the address of the DNS server from the network administrator and set it correctly on the information processing terminal, which is a burden on users who are unfamiliar with the network. It is.

また、Windows Vista(登録商標)は、DNSサーバを利用して名前解決処理が行えない場合、マルチキャストやブロードキャストを利用して、複数のユーザに対してパケットを送信することにより名前解決を試みるが、対象のファイルサーバが自端末と同じセグメントに存在しなければならないという制約ある。   Windows Vista (registered trademark) tries to resolve a name by sending a packet to a plurality of users using multicast or broadcast when name resolution processing cannot be performed using a DNS server. There is a restriction that the target file server must be in the same segment as its own terminal.

さらに、グループ内のDNSサーバと、グループ外のDNSサーバと、を使い分けたい場合、情報処理端末は、通常、DNSの設定にプライマリDNSサーバとセカンダリDNSサーバというように複数のDNSサーバを設定する。そして、セカンダリDNSサーバは、情報処理端末の実装に依存するが、プライマリDNSサーバがダウンしているときにだけ使用される。そのため、プライマリDNSサーバが情報処理端末に名前解決ができないという応答を返した場合には、セカンダリDNSサーバへの問い合わせは行われない。つまり、複数のDNSサーバが設定されていても、両方のDNSサーバを使い分けることができない。   Furthermore, when it is desired to use a DNS server in the group and a DNS server outside the group separately, the information processing terminal normally sets a plurality of DNS servers such as a primary DNS server and a secondary DNS server in the DNS setting. And although a secondary DNS server is dependent on mounting of an information processing terminal, it is used only when the primary DNS server is down. Therefore, when the primary DNS server returns a response that the name resolution cannot be performed to the information processing terminal, the secondary DNS server is not inquired. That is, even if a plurality of DNS servers are set, both DNS servers cannot be used properly.

このような問題を解決するものとして、ドメイン名によって複数のDNSサーバから問い合わせ先を選択できる中継器が開示されている(特許文献1参照)。特許文献1にかかる中継器では、関連付けて記憶された仮想ドメイン名とDNSサーバのIPアドレスとに基づいて、入力されたドメイン名と仮想ドメイン名とが一致する場合にはDNSサーバを指定する。   As a solution to such a problem, a repeater that can select an inquiry destination from a plurality of DNS servers by a domain name is disclosed (see Patent Document 1). In the relay device according to Patent Document 1, based on the virtual domain name stored in association with the IP address of the DNS server, the DNS server is specified when the input domain name matches the virtual domain name.

国際公開W2004/045164International Publication W2004 / 045164

しかしながら、上記特許文献1に記載された技術では、ドメイン名とDNSサーバのIPアドレスとを関連付けて記憶した中継器がなければ、DNSサーバにアクセスすることができず、名前解決処理を行うことができない、という問題がある。   However, in the technique described in Patent Document 1, if there is no relay that stores the domain name and the IP address of the DNS server in association with each other, the DNS server cannot be accessed and name resolution processing can be performed. There is a problem that it is not possible.

本発明は、上記に鑑みてなされたものであって、中継器などを備えずに、DNSサーバのアドレスを自端末に設定されていない場合やDNSサーバで名前解決することができない場合であっても、名前解決できる確率を高くすることができる情報処理端末を提供することを目的とする。   The present invention has been made in view of the above, and is a case where the DNS server address is not set in the own terminal or the DNS server cannot perform name resolution without providing a repeater or the like. Another object of the present invention is to provide an information processing terminal that can increase the probability of name resolution.

上述した課題を解決し、目的を達成するために、請求項1にかかる発明は、第1プロトコルに従って送信された他のネットワーク上の情報処理端末に割り当てられたIPアドレスに対応付けられたホスト名を指定する名前解決要求を受信する要求受信手段と、受信した前記名前解決要求に含まれるホスト名と自端末のホスト名とが一致するか否かを判断する名前解決判断手段と、前記名前解決要求に含まれるホスト名と自端末のホスト名とが一致しなかった場合、前記第1プロトコルとは別の第2プロトコルに従って情報処理端末に対して前記名前解決要求を送信する要求送信手段と、前記第2プロトコルに従って送信した前記名前解決要求に対するIPアドレスを含む名前解決応答を当該情報処理端末から受信する応答受信手段と、受信した前記名前解決応答に含まれるIPアドレスを前記名前解決要求の要求元に送信する応答送信手段と、を備えたことを特徴とする。   In order to solve the above-described problems and achieve the object, the invention according to claim 1 is a host name associated with an IP address assigned to an information processing terminal on another network transmitted according to the first protocol. A request receiving means for receiving a name resolution request for designating, a name resolution judging means for judging whether or not a host name included in the received name resolution request matches the host name of the terminal, and the name resolution A request transmitting means for transmitting the name resolution request to the information processing terminal according to a second protocol different from the first protocol when the host name included in the request does not match the host name of the own terminal; Response receiving means for receiving from the information processing terminal a name resolution response including an IP address for the name resolution request transmitted according to the second protocol; Characterized in that and a response transmitting means for transmitting the IP address included in the name resolution response to the requesting of the name resolution request.

また、請求項2にかかる発明は、請求項1にかかる発明において、前記応答送信手段は、前記応答受信手段によって受信した前記名前解決応答に含まれるIPアドレスを送信するか否かを判定する応答実行判定手段をさらに備え、前記応答送信手段は、前記応答実行判定手段による判定結果に応じて、IPアドレスを送信することを特徴とする。   The invention according to claim 2 is the response according to claim 1, wherein the response transmission means determines whether or not to transmit an IP address included in the name resolution response received by the response reception means. The apparatus further includes an execution determination unit, and the response transmission unit transmits an IP address according to a determination result by the response execution determination unit.

また、請求項3にかかる発明は、請求項2にかかる発明において、前記応答実行判定手段は、前記第1プロトコルに従って情報処理端末に送信した前記名前解決要求に対する前記名前解決応答の有無により、IPアドレスを送信するか否かを判定する第1判定方法により、IPアドレスを送信するか否かを判定することを特徴とする。   According to a third aspect of the present invention, in the invention according to the second aspect, the response execution determining means determines whether the name resolution response to the name resolution request transmitted to the information processing terminal according to the first protocol is based on the presence or absence of the name resolution response. It is characterized by determining whether or not to transmit an IP address by a first determination method for determining whether or not to transmit an address.

また、請求項4にかかる発明は、請求項2にかかる発明において、前記応答実行判定手段は、前記第1プロトコルに従って前記名前解決要求を再度受信したか否かにより、IPアドレスを送信するか否かを判定する第2判定方法により、IPアドレスを送信するか否かを判定することを特徴とする。   The invention according to claim 4 is the invention according to claim 2, wherein the response execution determination means determines whether or not to transmit an IP address depending on whether or not the name resolution request is received again according to the first protocol. It is characterized by determining whether to transmit an IP address by the second determination method for determining whether or not.

また、請求項5にかかる発明は、請求項2にかかる発明において、前記応答実行判定手段は、前記名前解決要求に含まれるドメイン名と自端末のドメイン名とが一致するか否かにより、IPアドレスを送信する必要があるか否かを判定する第3判定方法により、IPアドレスを送信するか否かを判定することを特徴とする。   Further, the invention according to claim 5 is the invention according to claim 2, wherein the response execution determination means determines whether the domain name included in the name resolution request matches the domain name of the own terminal. It is characterized by determining whether or not to transmit an IP address by a third determination method for determining whether or not it is necessary to transmit an address.

また、請求項6にかかる発明は、請求項2にかかる発明において、前記応答実行判定手段は、前記名前解決応答に含まれるIPアドレスと、自端末のIPアドレスおよびサブネットマスクと、から前記名前解決要求がIPアドレスを問い合わせる情報処理端末と自端末とが同一ネットワーク内にあるか否かにより、IPアドレスを送信する必要があるか否かを判定する第4判定方法により、IPアドレスを送信するか否かを判定することを特徴とする。 Further, the invention according to claim 6 is the invention according to claim 2, wherein the response execution determination means is configured to resolve the name from an IP address included in the name resolution response and an IP address and subnet mask of the terminal itself. Whether the IP address is transmitted by the fourth determination method for determining whether or not the IP address needs to be transmitted depending on whether the information processing terminal that inquires about the IP address and the own terminal are in the same network. It is characterized by determining whether or not.

また、請求項7にかかる発明は、請求項3から6のいずれか一にかかる発明において、前記応答実行判定手段は、前記名前解決要求がIPアドレスを問い合せる情報処理端末のドメイン名を含む場合、前記第1判定方法または前記第2判定方法により、IPアドレスを送信するか否かを判定し、前記名前解決要求がIPアドレスを問い合せる情報処理端末のドメイン名を含まない場合、前記第3判定方法により、IPアドレスを送信する必要があるか否かを判定することを特徴とする。 The invention according to claim 7 is the invention according to any one of claims 3 to 6, wherein the response execution determination unit includes a domain name of an information processing terminal that inquires an IP address for the name resolution request. When the first determination method or the second determination method determines whether or not to transmit an IP address, and the name resolution request does not include the domain name of the information processing terminal that queries the IP address, the third determination method more law, and judging whether there is a need to send IP address.

本発明によれば、第1プロトコルに従って送信された他のネットワーク上の情報処理端末に割り当てられたIPアドレスに対応付けられたホスト名を指定する名前解決要求を受信し、受信した名前解決要求に含まれるホスト名と自端末のホスト名とが一致するか否かを判断し、名前解決要求に含まれるホスト名と自端末のホスト名とが一致しなかった場合、第1プロトコルとは別の第2プロトコルに従って情報処理端末に対して名前解決要求を送信し、第2プロトコルに従って送信した名前解決要求に対するIPアドレスを含む名前解決応答を受信し、受信した名前解決応答に含まれるIPアドレスを名前解決要求の要求元に送信することにより、中継器などを備えずに、DNSサーバのアドレスが自端末に設定されていない場合やDNSサーバで名前解決することができない場合であっても、名前解決できる確率を高くすることができる、という効果を奏する。   According to the present invention, a name resolution request specifying a host name associated with an IP address assigned to an information processing terminal on another network transmitted according to the first protocol is received, and the received name resolution request is received. It is determined whether or not the included host name matches the host name of the own terminal, and if the host name included in the name resolution request does not match the host name of the own terminal, it is different from the first protocol. A name resolution request is transmitted to the information processing terminal according to the second protocol, a name resolution response including an IP address for the name resolution request transmitted according to the second protocol is received, and the name of the IP address included in the received name resolution response By sending the request to the requester of the resolution request, the DNS server address is not set in the own terminal without the provision of a repeater or the like. Even if it is not possible to name resolution in the server, it is possible to increase the probability of name resolution, an effect that.

以下に添付図面を参照して、この発明にかかる情報処理端末の最良な実施の形態を詳細に説明する。以下の実施の形態では、本発明にかかる情報処理端末をMFP(Multi Function Peripheral)に適用した例を示す。但し、ネットワークに接続されていれば、パーソナルコンピュータ(PC)、携帯端末等にも本発明を適用することができる。   Exemplary embodiments of an information processing terminal according to the present invention will be explained below in detail with reference to the accompanying drawings. In the following embodiment, an example in which the information processing terminal according to the present invention is applied to an MFP (Multi Function Peripheral) will be described. However, the present invention can be applied to a personal computer (PC), a portable terminal, etc. as long as it is connected to a network.

(第1の実施の形態)
図1は、第1の実施の形態にかかる名前解決システムの構成を示すブロック図である。本実施の形態にかかる名前解決システムは、PC1,2(106,101)、DNSサーバ102、ファイルサーバ103、MFP104、およびルーター105を有して構成される。オフィスなどに設けられたMFP104は、LAN(Local Area Network)などのネットワークに接続され、ネットワーク内で相互に通信することが可能である。例えば、図1に示すように、MFP104は、ファイルサーバ103およびPC1,2(101,106)と接続され、電子メールの送受信やファイルを転送することができる。また、MFP104は、ルーター105を使用すれば、ネットワーク外のPC2(101)やDNSサーバ102との間でも相互に通信することが可能である。
(First embodiment)
FIG. 1 is a block diagram illustrating the configuration of the name resolution system according to the first embodiment. The name resolution system according to the present embodiment includes PCs 1 and 2 (106, 101), a DNS server 102, a file server 103, an MFP 104, and a router 105. MFPs 104 provided in an office or the like are connected to a network such as a LAN (Local Area Network) and can communicate with each other within the network. For example, as shown in FIG. 1, the MFP 104 is connected to a file server 103 and PCs 1 and 2 (101, 106), and can send and receive e-mails and transfer files. Further, if the router 105 is used, the MFP 104 can communicate with the PC 2 (101) and the DNS server 102 outside the network.

このような名前解決システムにおいて、例えば、ファイルサーバ103またはPC1(106)は、ネットワーク外のPC2(101)にホスト名を利用してアクセスする場合、DNSサーバ102に名前解決要求を送信してPC2(101)のIPアドレスを取得しなければならない。ここで、名前解決要求とは、他のネットワーク上の情報処理端末(例えば、PC2(101))に割り当てられたIPアドレスに対応付けられたホスト名を指定するものである。しかし、DNSサーバ102のアドレスがファイルサーバ103またはPC1(106)に登録されていない場合、ファイルサーバ103またはPC1(106)は、DNSサーバ102に名前解決要求を送信することができず、ネットワーク外のPC2(101)にアクセスすることができない。なお、本実施の形態にかかる名前解決システムは、DNSサーバ102のアドレスを自動設定するDHCPサーバを有しておらず、ファイルサーバ103およびPC1(106)にはDNSサーバ102のアドレスは登録されていないものとする。   In such a name resolution system, for example, when the file server 103 or the PC 1 (106) accesses the PC 2 (101) outside the network by using the host name, the file server 103 or the PC 1 (106) transmits a name resolution request to the DNS server 102 and sends the PC 2 The IP address of (101) must be acquired. Here, the name resolution request specifies a host name associated with an IP address assigned to an information processing terminal (for example, PC2 (101)) on another network. However, if the address of the DNS server 102 is not registered in the file server 103 or PC1 (106), the file server 103 or PC1 (106) cannot transmit a name resolution request to the DNS server 102, and is outside the network. PC2 (101) cannot be accessed. The name resolution system according to the present embodiment does not have a DHCP server that automatically sets the address of the DNS server 102, and the address of the DNS server 102 is registered in the file server 103 and the PC 1 (106). Make it not exist.

しかし、本実施の形態にかかる名前解決システムにおいては、LLMNR(Link-Local Multicast Name Resolution)、mDNS(Multicast DNS)、NBT(NetBT)など、同じグループの複数の情報処理端末(例えば、ファイルサーバ103、MFP104、PC1(106))に対して名前解決要求を送信可能なプロトコルに従って、代理リゾルバ(MFP104)に名前解決要求が送信することにより、名前解決処理を実行することができる。   However, in the name resolution system according to the present embodiment, a plurality of information processing terminals (for example, the file server 103) of the same group such as LLMNR (Link-Local Multicast Name Resolution), mDNS (Multicast DNS), and NBT (NetBT). , The name resolution request can be transmitted to the proxy resolver (MFP 104) in accordance with a protocol capable of transmitting the name resolution request to the MFP 104 and the PC1 (106).

図2は、本実施の形態にかかる名前解決システムにおける名前解決処理の手順を示すシーケンス図である。図3は、代理リゾルバによる名前解決処理の手順を示すフローチャートである。まず、図2および図3を用いて本実施の形態にかかる名前解決システムによる名前解決処理の概略について説明する。   FIG. 2 is a sequence diagram showing a procedure of name resolution processing in the name resolution system according to the present exemplary embodiment. FIG. 3 is a flowchart showing a procedure of name resolution processing by the proxy resolver. First, an outline of name resolution processing by the name resolution system according to the present exemplary embodiment will be described with reference to FIGS. 2 and 3.

まず、クラインアント(例えば、ファイルサーバ103)は、マルチキャスト(またはブロードキャスト)で名前解決要求を送信可能なプロトコルPに従って、ホスト名“hogehoge?”を含む名前解決要求を代理リゾルバ(例えば、MFP104)に送信する(ステップS201)。   First, the client (for example, the file server 103) sends a name resolution request including the host name “hogehoge?” To the proxy resolver (for example, the MFP 104) according to the protocol P that can send the name resolution request by multicast (or broadcast). Transmit (step S201).

代理リゾルバは、クライアントから送信されたホスト名“hogehoge?”を含む名前解決要求を受信すると(ステップS301)、自分自身のホスト名と、受信した名前解決要求に含まれるホスト名“hogehoge?”と、が一致するか否かをチェックする(ステップS202、ステップS302)。ここで、自分自身のホスト名と、名前解決要求に含まれるホスト名“hogehoge?”と、が一致した場合(ステップS302:Yes)、代理リゾルバは、自分自身のIPアドレスを、名前解決要求の要求元であるクライアントに送信する(ステップS303)。   When the proxy resolver receives the name resolution request including the host name “hogehoge?” Transmitted from the client (step S301), the proxy resolver receives its own host name and the host name “hogehoge?” Included in the received name resolution request. Are matched (step S202, step S302). Here, when the host name of its own matches the host name “hogehoge?” Included in the name resolution request (step S302: Yes), the proxy resolver uses its own IP address as the name resolution request. The message is transmitted to the requesting client (step S303).

一方、自分自身のホスト名と、名前解決要求に含まれるホスト名“hogehoge?”と、が一致しなかった場合(ステップS302:No)、代理リゾルバは、名前解決要求の要求元のクライアントが使用した手段とは別の手段により名前解決処理を実行する(ステップS203〜ステップS206、ステップS304)。ここで、別の手段とは、名前解決要求の要求元のクライアントが名前解決要求の送信に使用したプロトコルPとは別のプロトコルQに従って名前解決要求を送信することとする。   On the other hand, if the own host name and the host name “hogehoge?” Included in the name resolution request do not match (step S302: No), the proxy resolver is used by the requesting client of the name resolution request. The name resolution process is executed by means other than the means (step S203 to step S206, step S304). Here, another means is that the name resolution request is transmitted according to a protocol Q different from the protocol P used by the request source client for transmitting the name resolution request.

例えば、代理リゾルバは、予めDNSサーバのIPアドレスが登録されている場合、DNSのプロトコルに従って、DNSサーバに対して名前解決要求を送信する(ステップS203)。そして、DNSサーバから名前解決要求に含まれるホスト名“hogehoge?”に対応するIPアドレス“192.168.1.2”を含む名前解決応答を受信すると(ステップS204)、代理リゾルバは、受信した名前解決応答に含まれるIPアドレス“192.168.1.2”を名前解決要求の要求元のクライアントに送信する。   For example, if the IP address of the DNS server is registered in advance, the proxy resolver transmits a name resolution request to the DNS server according to the DNS protocol (step S203). When the name resolution response including the IP address “192.168.1.2” corresponding to the host name “hogehoge?” Included in the name resolution request is received from the DNS server (step S204), the proxy resolver receives the received name resolution response. The included IP address “192.168.1.2” is transmitted to the client that requested the name resolution request.

DNSサーバのIPアドレスが登録されていない場合、代理リゾルバは、マルチキャストまたはブロードキャストにより名前解決要求を送信可能なプロトコルであって、プロトコルPとは別のプロトコルQに従って、名前解決要求をその他のクライアントに送信する(ステップS205、ステップS206)。   When the IP address of the DNS server is not registered, the proxy resolver is a protocol that can send a name resolution request by multicast or broadcast, and sends the name resolution request to other clients according to a protocol Q different from the protocol P. Transmit (step S205, step S206).

また、代理リゾルバは、別の手段により名前解決処理を実行して受信した名前解決応答に含まれるIPアドレスを名前解決要求の要求元のクライアントに送信する前に、当該クライアントと同じ手段(マルチキャスト)を用いて名前解決処理を実行しても良い(ステップS207、ステップS305)。ここで、同じ手段とは、名前解決要求の要求元のクライアントが名前解決要求の送信に使用したプロトコルPと同じプロトコルに従って名前解決要求を送信することとする。そして、代理リゾルバは、他のクライアントからIPアドレス“192.168.1.2”を含む名前解決応答を受信するか否かを判断する(ステップS208、ステップS306)。そして、代理リゾルバは、名前解決応答を受信しなかった場合にのみ(ステップS306:No)、別の手段により名前解決要求を送信して受信した名前解決応答に含まれるIPアドレスを名前解決要求の要求元のクライアントに送信する(ステップS209、ステップS307)。つまり、名前解決要求の要求元のクライアントと同じ手段により名前解決要求を送信して名前解決応答を受信した場合には(ステップS306:Yes)、名前解決要求の要求元のクライアントも既に正規の応答相手からIPアドレスを受信しており、別の手段により名前解決要求を送信して受信した名前解決応答に含まれるIPアドレスを敢えて送信する必要がないからである。   Further, the proxy resolver performs the same means (multicast) as the client before sending the IP address included in the name resolution response received by executing the name resolution process by another means to the requesting client. May be used to execute the name resolution process (steps S207 and S305). Here, the same means means that the name resolution request is transmitted in accordance with the same protocol as the protocol P used by the request source client for transmitting the name resolution request. Then, the proxy resolver determines whether or not a name resolution response including the IP address “192.168.1.2” is received from another client (steps S208 and S306). The proxy resolver transmits the name resolution request by another means only when the name resolution response is not received (step S306: No), and the IP address included in the received name resolution response is changed to the name resolution request. The data is transmitted to the requesting client (steps S209 and S307). In other words, when the name resolution request is transmitted by the same means as the request source client of the name resolution request and the name resolution response is received (step S306: Yes), the request source client of the name resolution request is already a regular response. This is because the IP address is received from the other party, and it is not necessary to transmit the name resolution request by another means and to intentionally transmit the IP address included in the received name resolution response.

次に、図4〜6を用いて、代理リゾルバによる名前解決処理の詳細について説明する。図4は、MFPのハードウェア構成を示すブロック図である。図5は、MFPの機能構成を示すブロック図である。図6は、MFPによる名前解決処理の手順を示すシーケンス図である。   Next, details of name resolution processing by the proxy resolver will be described with reference to FIGS. FIG. 4 is a block diagram illustrating a hardware configuration of the MFP. FIG. 5 is a block diagram showing a functional configuration of the MFP. FIG. 6 is a sequence diagram showing the procedure of name resolution processing by the MFP.

まず、図4を用いて、代理リゾルバとして機能するMFPのハードウェア構成について説明する。   First, the hardware configuration of the MFP functioning as a proxy resolver will be described with reference to FIG.

コントローラ400は、CPU(Central Processing Unit)401と、NB(North Bridge)403と、システムメモリ402と、SB(South Bridge)404と、ローカルメモリ406と、ASIC(Application Specific Integrated Circuit)405と、HDD(Hard Disk Drive)407とを有し、NB403とASIC405との間をAGP(Accelerated Graphics Port)バス418で接続した構成となる。   The controller 400 includes a CPU (Central Processing Unit) 401, an NB (North Bridge) 403, a system memory 402, an SB (South Bridge) 404, a local memory 406, an ASIC (Application Specific Integrated Circuit) 405, and an HDD. (Hard Disk Drive) 407, and the NB 403 and the ASIC 405 are connected by an AGP (Accelerated Graphics Port) bus 418.

AGP418は、グラフィック処理を高速化するために提案されたグラフィックスアクセラレーターカード用のバスインターフェースであり、システムメモリ402に高スループットで直接アクセスすることにより、グラフィックスアクセラレーターカードを高速にするものである。   The AGP 418 is a bus interface for a graphics accelerator card that has been proposed to speed up graphics processing, and makes the graphics accelerator card faster by directly accessing the system memory 402 with high throughput. .

CPU401は、MFP104の全体制御をおこなうものであり、NB403、システムメモリ402及びSB404からなるチップセットを有し、このチップセットを介して他の機器と接続される。   The CPU 401 performs overall control of the MFP 104, has a chip set including the NB 403, the system memory 402, and the SB 404, and is connected to other devices via the chip set.

NB403は、CPU401と、システムメモリ402、SB404と、ASIC405、Ethernet(登録商標)インタフェース412と、USB(Universal Serial Bus)インタフェース413と、IEEE1394(the Institute of Electrical and Electronics Engineers 1394)インタフェース414と、セントロニクスインタフェース415と、無線インタフェース416と、外部記憶媒体用インタフェース417とを接続するためのブリッジであり、ローカルメモリ406に対する読み書き等を制御するメモリコントローラと、PCI(Peripheral Component Interconnect)マスタ及びAGPターゲットとを有する。   The NB 403 includes a CPU 401, a system memory 402, an SB 404, an ASIC 405, an Ethernet (registered trademark) interface 412, a USB (Universal Serial Bus) interface 413, an IEEE 1394 (the Institute of Electrical and Electronics Engineers 1394) interface 414, and a Centronics. A bridge for connecting the interface 415, the wireless interface 416, and the external storage medium interface 417, a memory controller that controls read / write to the local memory 406, a PCI (Peripheral Component Interconnect) master, and an AGP target Have.

SB404は、NB403とPCIデバイス、周辺デバイスとを接続するためのブリッジである。このSB404は、PCIバス419を介してNB403と接続されており、このPCIバスには、各種インタフェース部412〜417等も接続される。   The SB 404 is a bridge for connecting the NB 403 to a PCI device and peripheral devices. The SB 404 is connected to the NB 403 via the PCI bus 419. Various interface units 412 to 417 and the like are also connected to the PCI bus.

Ethernet(登録商標)インタフェース412は、本実施の形態にかかるMFP104をネットワークに接続するインタフェース機器である。USBインタフェース413と、IEEE1394インタフェース414と、セントロニクスインタフェース415と、無線インタフェース416とは、それぞれの規格に準じたインタフェースであり、ネットワークに接続されることもある。   An Ethernet (registered trademark) interface 412 is an interface device that connects the MFP 104 according to the present embodiment to a network. The USB interface 413, the IEEE 1394 interface 414, the Centronics interface 415, and the wireless interface 416 are interfaces conforming to the respective standards, and may be connected to a network.

外部記憶媒体用インタフェース417は、本実施の形態にかかるMFPから脱着することが可能な媒体で外部記憶媒体の規格に準じた媒体のインタフェースである。例えばSDカードや、コンパクトフラッシュ(登録商標)や、ROM−DIMM等が外部記憶媒体として利用される。   The external storage medium interface 417 is a medium interface that is detachable from the MFP according to the present embodiment and conforms to the standard of the external storage medium. For example, an SD card, a compact flash (registered trademark), a ROM-DIMM, or the like is used as an external storage medium.

システムメモリ402は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタの描画用メモリ等として用いるシステムメモリであり、図示しないROM(Read Only Memory)とRAM(Random Access Memory)とからなる。ROMは、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAMは、プログラムやデータの展開用メモリ、プリンタの描画用メモリ等として用いる書き込み及び読み出し可能なメモリである。   A system memory 402 is a system memory used as a memory for storing programs and data, a memory for developing programs and data, a drawing memory for printers, and the like, and includes a ROM (Read Only Memory) and a RAM (Random Access Memory) not shown. Consists of. The ROM is a read-only memory used as a program and data storage memory, and the RAM is a writable and readable memory used as a program and data development memory, a printer drawing memory, and the like.

ASIC405は、画像処理用のハードウェア要素を有する画像処理用途向けのIC(Integrated Circuit)であり、AGP418、PCIバス423、HDD407、ローカルメモリ406、Flash ROM(Read Only Memory)408、NVRAM(Non-Volatile Random Access Memory)409、SDRAM(Synchronous Dynamic RAM)410、およびセキュアデバイス411をそれぞれ接続するブリッジの役割を有する。   The ASIC 405 is an IC (Integrated Circuit) for image processing having hardware elements for image processing, and includes an AGP 418, a PCI bus 423, an HDD 407, a local memory 406, a Flash ROM (Read Only Memory) 408, an NVRAM (Non-Non- Volatile Random Access Memory (409), SDRAM (Synchronous Dynamic RAM) 410, and secure device 411 are connected as bridges.

このASIC405は、PCIターゲット及びAGPマスタと、ASIC405の中核をなすアービタ(ARB)と、ローカルメモリ406を制御するメモリコントローラと、ハードウェアロジック等により画像データの回転等をおこなう複数のDMAC(Direct Memory Access Controller)と、FCU(Fax Control Unit)421と、エンジン部422との間でPCIバス423を介したデータ転送をおこなうPCIユニットとからなる。   The ASIC 405 includes a PCI target and an AGP master, an arbiter (ARB) that forms the core of the ASIC 405, a memory controller that controls the local memory 406, and a plurality of DMACs (Direct Memory) that rotate image data using hardware logic. Access Controller), FCU (Fax Control Unit) 421, and a PCI unit that performs data transfer via the PCI bus 423 to and from the engine unit 422.

ローカルメモリ406は、コピー用画像バッファ、符号バッファとして用いるローカルメモリであり、HDD407は、画像データの蓄積、プログラムの蓄積、フォントデータの蓄積、フォームの蓄積を行うためのストレージである。Flash ROM408は、外部からのプログラムやデータなどを書き込むことが可能なメモリである。NVRAM409およびSDRAM410は、電源がOFFの状態でも情報を保持することができる不揮発性メモリである。セキュアデバイス411は、本実施の形態にかかるMFP104の利用者に警告音を発する。   The local memory 406 is a local memory used as a copy image buffer and a code buffer, and the HDD 407 is a storage for storing image data, programs, font data, and forms. The Flash ROM 408 is a memory in which an external program and data can be written. The NVRAM 409 and the SDRAM 410 are nonvolatile memories that can hold information even when the power is turned off. The secure device 411 issues a warning sound to the user of the MFP 104 according to the present embodiment.

FCU421は、PCIバス423に接続され、電源がOFFの時に受信したファクシミリデータを一時的に格納するメモリとして利用される。   The FCU 421 is connected to the PCI bus 423 and is used as a memory for temporarily storing facsimile data received when the power is turned off.

エンジン部422は、PCIバス423に接続可能なプリンタエンジン等であり、例えば、白黒プロッタ、1ドラムカラープロッタ、4ドラムカラープロッタ、スキャナまたはファックスユニット等である。なお、このエンジン部422には、プロッタ等のいわゆるエンジン部分に加えて、誤差拡散やガンマ変換等の画像処理部分が含まれる。   The engine unit 422 is a printer engine that can be connected to the PCI bus 423, and is, for example, a monochrome plotter, a 1-drum color plotter, a 4-drum color plotter, a scanner, or a fax unit. The engine unit 422 includes an image processing part such as error diffusion and gamma conversion in addition to a so-called engine part such as a plotter.

また、オペレーションパネル420は、オペレータからの入力操作を受け付けると共に、オペレータに向けた表示を行う操作部である。   The operation panel 420 is an operation unit that accepts an input operation from the operator and performs display for the operator.

次に、図5を用いて、システムメモリ402にインストールされている各種のプログラムがCPU401に実行させる機能のうち、本実施の形態にかかるMFP104が備える特長的な機能について説明する。   Next, among the functions that the various programs installed in the system memory 402 cause the CPU 401 to execute, characteristic functions provided in the MFP 104 according to the present embodiment will be described with reference to FIG.

図5に示すように、本実施の形態にかかるMFP104は、名前解決プログラムに従うことにより、ネットワーク制御部501を実現する。ネットワーク制御部501は、ネットワーク通信部502、名前解決応答部503、代理応答部504、名前解決要求部505、および代理応答実行可否判定部506を有する。   As shown in FIG. 5, the MFP 104 according to the present embodiment implements a network control unit 501 by following a name resolution program. The network control unit 501 includes a network communication unit 502, a name resolution response unit 503, a proxy response unit 504, a name resolution request unit 505, and a proxy response execution determination unit 506.

ネットワーク通信部502は、上述した各種ネットワークインタフェース412〜416を用いて、クライアント(またはDNSサーバ)からの名前解決要求または名前解決応答の受信処理、およびクライアント(またはDNSサーバ)への名前解決要求または名前解決応答の送信処理を仲介する。   The network communication unit 502 uses the above-described various network interfaces 412 to 416 to receive a name resolution request or a name resolution response from the client (or DNS server) and a name resolution request to the client (or DNS server) or Mediates the name resolution response sending process.

名前解決応答部503は、名前解決要求の受信および名前解決応答の送信を行うモジュールである。具体的には、名前解決応答部503は、問い合せプロトコル(本発明にかかる第1プロトコル)に従って送信された名前解決要求を受信する(本発明にかかる要求受信手段)。本実施の形態では、ネットワーク通信部502を介して、LLMNR、mDNS、NBTなどのマルチキャスト(またはブロードキャスト)のプロトコルに従ってクライアントから送信された名前解決要求を受信する。   The name resolution response unit 503 is a module that receives a name resolution request and transmits a name resolution response. Specifically, the name resolution response unit 503 receives the name resolution request transmitted according to the inquiry protocol (first protocol according to the present invention) (request receiving means according to the present invention). In the present embodiment, a name resolution request transmitted from a client is received via a network communication unit 502 according to a multicast (or broadcast) protocol such as LLMNR, mDNS, or NBT.

また、名前解決応答部503は、受信した名前解決要求に含まれるホスト名と、MFP104のホスト名とが一致するか否かを判断する(本発明にかかる名前解決判断手段)。そして、名前解決応答部503は、名前解決要求に含まれるホスト名と、MFP104のホスト名と、が一致した場合、ネットワーク通信部502を介して、MFP104に設定されているIPアドレスをクライアントに送信する。   Also, the name resolution response unit 503 determines whether the host name included in the received name resolution request matches the host name of the MFP 104 (name resolution determination unit according to the present invention). When the host name included in the name resolution request matches the host name of the MFP 104, the name resolution response unit 503 transmits the IP address set in the MFP 104 to the client via the network communication unit 502. To do.

名前解決要求部505は、名前解決要求の送信および名前解決応答の受信を行うモジュールである。具体的には、名前解決要求部505は、名前解決応答部503により受信した名前解決要求に含まれるホスト名とMFP104のホスト名とが一致しなかった場合、問い合せプロトコルとは別のプロトコル(本発明にかかる第2プロトコル)に従って情報処理端末に対して名前解決要求を送信する(本発明にかかる要求送信手段)。本実施の形態では、ネットワーク通信部502を介して、予め登録されたDNSのプロトコルに従って、DNSサーバ102に名前解決要求を送信する。なお、本実施の形態では、DNSサーバ102に名前解決要求を送信することとしたが、これに限定するものではない。例えば、同じネットワーク内に名前解決可能な情報処理端末(例えば、PC1(106))が存在する場合またはMFP104自身がDNSサーバとして機能している場合には、同じネットワーク内に存在する情報処理端末またはMFP104自身に名前解決要求を送信可能なプロトコルであれば、LLMNR、mDNS、NBT等のプロトコルを用いて名前解決要求を送信しても良い。若しくは、MFP104のhostsファイル、DNSキャッシュ情報を利用して、名前解決要求を送信してもよい。   The name resolution request unit 505 is a module that transmits a name resolution request and receives a name resolution response. Specifically, if the host name included in the name resolution request received by the name resolution response unit 503 and the host name of the MFP 104 do not match, the name resolution request unit 505 determines a protocol other than the inquiry protocol (this The name resolution request is transmitted to the information processing terminal according to the second protocol according to the invention (request transmitting means according to the present invention). In the present embodiment, a name resolution request is transmitted to the DNS server 102 via the network communication unit 502 in accordance with a DNS protocol registered in advance. In this embodiment, the name resolution request is transmitted to the DNS server 102. However, the present invention is not limited to this. For example, when there is an information processing terminal (for example, PC1 (106)) capable of resolving a name in the same network, or when the MFP 104 itself functions as a DNS server, As long as the protocol can send a name resolution request to the MFP 104 itself, the name resolution request may be sent using a protocol such as LLMNR, mDNS, or NBT. Alternatively, the name resolution request may be transmitted using the hosts file of the MFP 104 and DNS cache information.

また、名前解決要求部505は、問い合せプロトコルとは別のプロトコルに従って送信した名前解決要求に対するIPアドレスを含む名前解決応答を情報処理端末から受信する(本発明にかかる応答受信手段)。本実施の形態では、DNSサーバ102に名前解決要求に含まれるホスト名に対応するIPアドレスが登録されていた場合、ネットワーク通信部502を介して、当該IPアドレスを含む名前解決応答をDNSサーバ102から受信する。なお、同じネットワーク内に名前解決可能な情報処理端末が存在する場合には、LLMNR、mDNS、NBT等のプロトコルを用いて名前解決応答を当該情報処理端末から受信する。   Further, the name resolution request unit 505 receives a name resolution response including an IP address for the name resolution request transmitted according to a protocol different from the inquiry protocol from the information processing terminal (response receiving means according to the present invention). In the present embodiment, when an IP address corresponding to the host name included in the name resolution request is registered in the DNS server 102, a name resolution response including the IP address is sent to the DNS server 102 via the network communication unit 502. Receive from. When an information processing terminal capable of name resolution exists in the same network, a name resolution response is received from the information processing terminal using a protocol such as LLMNR, mDNS, or NBT.

代理応答部504は、名前解決要求部505により受信した名前解決応答に含まれるIPアドレスをクライアントに送信する(本発明にかかる応答受信手段)。本実施の形態では、ネットワーク通信部502を介して、名前解決応答に含まれるIPアドレスをクライアントに送信する。なお、本実施の形態では、さらに、代理応答が必要か否かを判定し、その判定結果に応じて、名前解決応答に含まれるIPアドレスをクライアントに送信することも可能である。具体的には、代理応答部504は、名前解決要求部505により受信した名前解決応答に含まれるIPアドレスを送信するか否かを判定する代理応答実行可否判定部506(本発明にかかる応答実行判定手段)を備える。そして、代理応答部504は、代理応答実行可否判定部506による判定結果に応じて、IPアドレスを送信する。以下に、代理応答が必要か否かを判定する方法について説明する。   The proxy response unit 504 transmits the IP address included in the name resolution response received by the name resolution request unit 505 to the client (response receiving unit according to the present invention). In the present embodiment, the IP address included in the name resolution response is transmitted to the client via the network communication unit 502. In the present embodiment, it is further possible to determine whether or not a proxy response is necessary, and to transmit the IP address included in the name resolution response to the client according to the determination result. Specifically, the proxy response unit 504 determines whether to transmit an IP address included in the name resolution response received by the name resolution request unit 505 (execution of response execution according to the present invention). Determination means). The proxy response unit 504 transmits the IP address according to the determination result by the proxy response execution determination unit 506. A method for determining whether or not a proxy response is necessary will be described below.

代理応答実行可否判定部506は、名前解決要求部505によって受信した名前解決応答に含まれるIPアドレスを送信するか否かを判定するモジュールである。本実施の形態では、問い合わせプロトコルに従って情報処理端末に送信した名前解決要求に対する名前解決応答に有無により、IPアドレスを送信するか否かを判定する第1判定方法を用いて、IPアドレスを送信するか否かを判定する。つまり、問い合せプロトコルと同じプロトコルにより名前解決要求を送信し、名前解決応答がなかった場合には、ネットワーク上に名前解決要求に含まれるホスト名の応答相手は存在しないため、代理応答が必要と判定する。なお、名前解決応答を待つ待ち時間は、例えば、1秒など固定とするか、若しくはパラメータ化してネットワーク環境に応じて変更可能としてもよい。また、名前解決応答に含まれるIPアドレスを送信するか否かの判定処理は、名前解決処理と同時に行うことによりレスポンスタイムを短くすることもできる。   The proxy response execution determination unit 506 is a module that determines whether to transmit the IP address included in the name resolution response received by the name resolution request unit 505. In the present embodiment, the IP address is transmitted using the first determination method for determining whether or not to transmit the IP address depending on the presence or absence of the name resolution response to the name resolution request transmitted to the information processing terminal according to the inquiry protocol. It is determined whether or not. In other words, if a name resolution request is sent using the same protocol as the inquiry protocol and there is no name resolution response, there is no host name response partner included in the name resolution request on the network, so it is determined that a proxy response is required. To do. The waiting time for waiting for the name resolution response may be fixed, for example, 1 second, or may be parameterized and changed according to the network environment. The determination process for determining whether or not to transmit the IP address included in the name resolution response can be shortened by performing the determination process simultaneously with the name resolution process.

以下、第1判定方法によりIPアドレスを送信するか否かを判定する処理の手順について詳細に説明する。   Hereinafter, a procedure of processing for determining whether or not to transmit an IP address by the first determination method will be described in detail.

まず、名前解決要求部505は、さらに、問い合せプロトコルに従って情報処理端末に名前解決要求を送信する。本実施の形態では、ネットワーク通信部502を介して、名前解決応答部503によって名前解決要求を受信したマルチキャスト(またはブロードキャスト)のプロトコルに従って、情報処理端末(例えば、PC1(106))に名前解決要求を送信する。   First, the name resolution request unit 505 further transmits a name resolution request to the information processing terminal according to the inquiry protocol. In the present embodiment, the name resolution request is sent to the information processing terminal (for example, PC1 (106)) according to the multicast (or broadcast) protocol received by the name resolution response unit 503 via the network communication unit 502. Send.

さらに、名前解決要求部505は、さらに、問い合せプロトコルに従って送信した名前解決要求に対する名前解決応答を情報処理端末から受信する。本実施の形態では、ネットワーク通信部502を介して、LLMNR、mDNS、NBTなどのマルチキャスト(またはブロードキャスト)のプロトコルに従って情報処理端末から送信されたIPアドレスを含む名前解決応答を受信する。   Furthermore, the name resolution request unit 505 further receives a name resolution response to the name resolution request transmitted according to the inquiry protocol from the information processing terminal. In the present embodiment, a name resolution response including an IP address transmitted from the information processing terminal is received via the network communication unit 502 according to a multicast (or broadcast) protocol such as LLMNR, mDNS, or NBT.

そして、代理応答実行可否判定部506は、名前解決要求部505によって問い合わせプロトコルに従って送信した名前解決要求に対する名前解決応答を受信しなかった場合、代理応答部504によって受信した名前解決応答に含まれるIPアドレスを送信すると判定する。   When the proxy response execution determination unit 506 does not receive a name resolution response to the name resolution request transmitted by the name resolution request unit 505 according to the inquiry protocol, the IP included in the name resolution response received by the proxy response unit 504 Determine to send an address.

次に、図6を用いて、図5に示す各モジュールによる名前解決処理の手順について詳細に説明する。   Next, the procedure of name resolution processing by each module shown in FIG. 5 will be described in detail with reference to FIG.

まず、クライアント(例えば、ファイルサーバ103)は、LLMNRに従って、ホスト名“hogehoge”を含む名前解決要求を送信する(ステップS601)名前解決応答部503は、ネットワーク通信部502を介して、LLMNRに従って送信された名前解決要求を受信する(ステップS602)。   First, the client (for example, the file server 103) transmits a name resolution request including the host name “hogehoge” according to LLMNR (step S601). The name resolution response unit 503 transmits according to LLMNR via the network communication unit 502. The received name resolution request is received (step S602).

次に、名前解決応答部503は、受信した名前解決要求に含まれるホスト名“hogehoge”と、MFP104のホスト名と、が一致するか否かを判断する(ステップS603)。そして、名前解決応答部503は、名前解決要求に含まれるホスト名“hogehoge”と、MFP104のホスト名と、が一致しなかった場合、名前解決要求に含まれるホスト名“hogehoge”および問い合せプロトコル(LLMNR)の情報を代理応答部504に通知して、問い合わせプロトコル(LLMNR)とは別のプロトコルによる名前解決処理をリクエストする(ステップS604)。   Next, the name resolution response unit 503 determines whether or not the host name “hogehoge” included in the received name resolution request matches the host name of the MFP 104 (step S603). When the host name “hogehoge” included in the name resolution request and the host name of the MFP 104 do not match, the name resolution response unit 503 displays the host name “hogehoge” included in the name resolution request and the inquiry protocol ( The LLMNR) information is notified to the proxy response unit 504, and a name resolution process using a protocol different from the inquiry protocol (LLMNR) is requested (step S604).

代理応答部504は、名前解決応答部503から名前解決処理がリクエストされた場合、名前解決要求部505に対してDNSのプロトコルによる名前解決処理をリクエストする(ステップS605)。名前解決要求部505は、ネットワーク通信部502を介して、DNSのプロトコルによりホスト名“hogehoge”を含む名前解決要求をDNSサーバ102に送信する(ステップS606)。   When a name resolution process is requested from the name resolution response unit 503, the proxy response unit 504 requests the name resolution request unit 505 for a name resolution process based on the DNS protocol (step S605). The name resolution request unit 505 transmits a name resolution request including the host name “hogehoge” to the DNS server 102 by the DNS protocol via the network communication unit 502 (step S606).

DNSサーバ102は、MFP104からホスト名“hogehoge”を含む名前解決要求を受信すると(ステップS607)、当該名前解決要求に含まれるホスト名“hogehoge”に対応するIPアドレスを検索する。そして、DNSサーバ102は、ホスト名“hogehoge”に対応するIPアドレス“192.168.1.2”が検索された場合、IPアドレス“192.168.1.2”をMFP104に送信する(ステップS608)。   When the DNS server 102 receives a name resolution request including the host name “hogehoge” from the MFP 104 (step S607), the DNS server 102 searches for an IP address corresponding to the host name “hogehoge” included in the name resolution request. Then, when the IP address “192.168.1.2” corresponding to the host name “hogehoge” is searched, the DNS server 102 transmits the IP address “192.168.1.2” to the MFP 104 (step S608).

名前解決要求部505は、ネットワーク通信部502を介して、DNSサーバ102から送信された名前解決応答を受信し(ステップS609)、当該名前解決応答に含まれるIPアドレス“192.168.1.2”を代理応答部504に通知する(ステップS610)。   The name resolution request unit 505 receives the name resolution response transmitted from the DNS server 102 via the network communication unit 502 (step S609), and substitutes the IP address “192.168.1.2” included in the name resolution response as a proxy response. Notification is made to the unit 504 (step S610).

さらに、代理応答部504は、名前解決応答部503から通知された名前解決要求に含まれるホスト名“hogehoge”および問い合わせプロトコル(LLMNR)の情報を、代理応答実行可否判定部506に通知して、代理応答が必要か否かの判定処理をリクエストする(ステップS611)。   Further, the proxy response unit 504 notifies the proxy response execution determination unit 506 of the host name “hogehoge” and the inquiry protocol (LLMNR) information included in the name resolution request notified from the name resolution response unit 503. A request is made to determine whether a proxy response is necessary (step S611).

代理応答実行可否判定部506は、代理応答部504から代理応答が必要か否かの判定処理をリクエストされた場合、名前解決要求部505に対して、名前解決要求に含まれるホスト名“hogehoge”を通知して、LLMNRによる名前解決処理をリクエストする(ステップS612)。名前解決要求部505は、ネットワーク通信部502を介して、LLMNRに従ってホスト名“hogehoge”を含む名前解決要求をネットワーク上の名前解決装置(例えば、PC1(106))に送信する(ステップS613)。LLMNRに従って名前解決要求を受信した名前解決装置は、自装置のホスト名と、名前解決要求に含まれるホスト名“hogehoge”と、が一致するか否かを判断する(ステップS614)。   When the proxy response execution determination unit 506 is requested by the proxy response unit 504 to determine whether a proxy response is required, the host name “hogehoge” included in the name resolution request is sent to the name resolution request unit 505. And request a name resolution process by LLMNR (step S612). The name resolution request unit 505 transmits a name resolution request including the host name “hogehoge” to the name resolution apparatus (for example, PC1 (106)) on the network via the network communication unit 502 according to LLMNR (step S613). The name resolution device that has received the name resolution request according to LLMNR determines whether or not the host name of its own device matches the host name “hogehoge” included in the name resolution request (step S614).

そして、名前解決装置から名前解決要求に対する応答がなかった場合(ステップS615)、名前解決要求部505は、代理応答実行可否判定部506に対して名前解決要求に対する応答がなかったことを通知する(ステップS616)。代理応答実行可否判定部506は、名前解決要求部505から名前解決要求に対する応答がなかったことが通知されると、代理応答が必要であることを代理応答部504に通知する(ステップS617)。   When there is no response to the name resolution request from the name resolution device (step S615), the name resolution request unit 505 notifies the proxy response execution availability determination unit 506 that there is no response to the name resolution request ( Step S616). When it is notified from the name resolution request unit 505 that there is no response to the name resolution request, the proxy response execution determination unit 506 notifies the proxy response unit 504 that a proxy response is necessary (step S617).

代理応答部504は、代理応答実行可否判定部506から代理応答が必要であることが通知されると、名前解決要求部505から通知されたIPアドレス“192.168.1.2”を、ネットワーク通信部502を介して、クライアントに送信する(ステップS618)。クライアントは、MFP104から送信されたIPアドレス“192.168.1.2”を受信する(ステップS619)。   When the proxy response unit 504 is notified by the proxy response execution determination unit 506 that a proxy response is necessary, the proxy response unit 504 sends the IP address “192.168.1.2” notified from the name resolution request unit 505 to the network communication unit 502. To the client (step S618). The client receives the IP address “192.168.1.2” transmitted from the MFP 104 (step S619).

このように、本実施の形態にかかるMFP104によれば、マルチキャストまたはブロードキャストにより送信された名前解決要求を受信し、受信した名前解決要求に含まれるホスト名と自端末のホスト名とが一致するか否かを判断し、名前解決要求に含まれるホスト名と自端末のホスト名とが一致しなかった場合、名前解決要求を受信した手段とは別の手段により名前解決要求を情報処理端末に対して送信し、情報処理端末から名前解決要求に対するIPアドレスを含む名前解決応答を受信し、受信した名前解決応答に含まれるIPアドレスを名前解決要求の要求元に送信することにより、中継器などを備えずに、DNSサーバのアドレスが自端末に設定されていない場合やDNSサーバで名前解決することができない場合であっても、名前解決できる確率を高くすることができる。   As described above, according to the MFP 104 according to the present embodiment, the name resolution request transmitted by multicast or broadcast is received, and the host name included in the received name resolution request matches the host name of the terminal itself. If the host name included in the name resolution request does not match the host name of the terminal itself, the name resolution request is sent to the information processing terminal by means other than the means that received the name resolution request. The name resolution response including the IP address for the name resolution request is received from the information processing terminal, and the IP address included in the received name resolution response is transmitted to the request source of the name resolution request. Even if the DNS server address is not set in its own terminal or the name cannot be resolved by the DNS server. Resolution can be able to increase the probability.

(第2の実施の形態)
第2の実施の形態について、添付図面を参照して説明する。本実施の形態にかかるMFPの機能、構成は、第1の実施の形態とほぼ同一であるため、第1の実施の形態と異なる部分のみを説明する。本実施の形態にかかるMFPは、再度、問い合せプロトコルに従って名前解決要求を受信した場合、ネットワーク上に名前解決要求に含まれるホスト名の応答相手が存在しないため、代理応答が必要と判定する。これにより、MFPが別の手段により名前解決要求を送信する必要がないため、MFPに対して負荷をかけずに代理応答が必要か否かを判定することができる。
(Second Embodiment)
A second embodiment will be described with reference to the accompanying drawings. Since the functions and configuration of the MFP according to the present embodiment are almost the same as those of the first embodiment, only the parts different from the first embodiment will be described. When the MFP according to the present embodiment receives the name resolution request again according to the inquiry protocol, the MFP determines that a proxy response is necessary because there is no host name response partner included in the name resolution request on the network. Thus, since it is not necessary for the MFP to transmit a name resolution request by another means, it is possible to determine whether or not a proxy response is necessary without imposing a load on the MFP.

代理応答実行可否判定部506は、名前解決応答部503によって問い合せプロトコルに従って、再度、名前解決要求を受信したと判断された場合、IPアドレスを送信する必要があると判定する。本実施の形態では、問い合せプロトコルに従って名前解決要求を再度受信したか否かにより、IPアドレスを送信する必要があるか否かを判定する第2判定方法により、代理応答が必要か否かを判定する。   The proxy response execution determination unit 506 determines that the IP address needs to be transmitted when the name resolution response unit 503 determines again that the name resolution request has been received according to the inquiry protocol. In this embodiment, whether or not a proxy response is necessary is determined by the second determination method for determining whether or not it is necessary to transmit an IP address depending on whether or not the name resolution request is received again according to the inquiry protocol. To do.

以下、第2判定方法によりIPアドレスを送信するか否かを判定する処理の手順について詳細に説明する。   Hereinafter, a procedure of processing for determining whether or not to transmit an IP address by the second determination method will be described in detail.

名前解決応答部503は、さらに、問い合わせプロトコルに従って、再度、名前解決要求を受信したか否かを判断する。本実施の形態では、名前解決応答部503によって最初に名前解決要求を受信した際の問い合せプロトコルおよび当該名前解決要求の要求元および当該名前解決要求に含まれるホスト名と、再度、名前解決要求を受信した際の問い合わせプロトコルおよび当該名前解決要求の要求元および当該名前解決要求に含まれるホスト名と、が一致した場合、同一のクライアントからのリトライと判断する。なお、名前解決要求の要求元は、当該名前解決要求を送信したクライアントのIPアドレスや物理アドレスにより特定するものとする。   The name resolution response unit 503 further determines whether or not a name resolution request has been received again according to the inquiry protocol. In the present embodiment, the name resolution response unit 503 receives the name resolution request for the first time, the request source of the name resolution request, the host name included in the name resolution request, and the name resolution request again. When the received inquiry protocol, the request source of the name resolution request, and the host name included in the name resolution request match, it is determined that the retry is from the same client. Note that the request source of the name resolution request is specified by the IP address or physical address of the client that transmitted the name resolution request.

そして、代理応答実行可否判定部506は、名前解決応答部503により同一のクライアントからのリトライがあったと判断された場合、代理応答する必要があると判断する。   The proxy response execution determination unit 506 determines that a proxy response is necessary when the name resolution response unit 503 determines that there is a retry from the same client.

次に、図7を用いて、本実施の形態にかかる各モジュールによる名前解決処理の手順について詳細に説明する。図7は、MFPによる名前解決処理の手順を示すシーケンス図である。なお、本実施の形態にかかる各モジュールによる名前解決処理の手順は、図6に示すフローチャートとほぼ同様であるので、異なる部分のみ説明する。ステップS701〜ステップS711は、図6の説明を参照し、ここでの説明を省略する。   Next, the procedure of name resolution processing by each module according to the present embodiment will be described in detail with reference to FIG. FIG. 7 is a sequence diagram showing the procedure of name resolution processing by the MFP. Note that the procedure of name resolution processing by each module according to the present embodiment is almost the same as the flowchart shown in FIG. For steps S701 to S711, refer to the description of FIG.

代理応答実行可否判定部506は、代理応答部504から代理応答が必要か否かの判定処理をリクエストされた場合、名前解決応答部503による名前解決要求の受信処理を監視する(ステップS712)。   When the proxy response execution determination unit 506 is requested by the proxy response unit 504 to determine whether a proxy response is necessary, the proxy response execution unit 506 monitors the name resolution request reception processing by the name resolution response unit 503 (step S712).

そして、クライアント(例えば、ファイルサーバ103)が、再度、LLMNRに従って、ホスト名“hogehoge”を含む名前解決要求を送信すると(ステップS713)、名前解決応答部503は、ネットワーク通信部502を介して、LLMNRに従って送信された名前解決要求を受信する(ステップS714)。次いで、名前解決応答部503は、受信した名前解決要求がリトライであった場合、リトライがあったことを代理応答実行可否判定部506に通知する(ステップS715)。   When the client (for example, the file server 103) transmits a name resolution request including the host name “hogehoge” again according to LLMNR (step S713), the name resolution response unit 503 passes through the network communication unit 502. The name resolution request transmitted according to LLMNR is received (step S714). Next, when the received name resolution request is a retry, the name resolution response unit 503 notifies the proxy response execution determination unit 506 that a retry has occurred (step S715).

代理応答実行可否判定部506は、名前解決応答部503からリトライの通知を受けると、代理応答が必要であることを代理応答部504に通知する(ステップS716)。代理応答部504は、代理応答実行可否判定部506から代理応答が必要であることが通知されると、名前解決要求部505から通知されたIPアドレス“192.168.1.2”を、ネットワーク通信部502を介して、クライアントに送信する(ステップS717)。クライアントは、MFP104から送信されたIPアドレス“192.168.1.2”を受信する(ステップS718)。   Upon receiving the retry notification from the name resolution response unit 503, the proxy response execution determination unit 506 notifies the proxy response unit 504 that a proxy response is necessary (step S716). When the proxy response unit 504 is notified by the proxy response execution determination unit 506 that a proxy response is necessary, the proxy response unit 504 sends the IP address “192.168.1.2” notified from the name resolution request unit 505 to the network communication unit 502. To the client (step S717). The client receives the IP address “192.168.1.2” transmitted from the MFP 104 (step S718).

一方、クライアントからリトライが行われなかった場合(ステップS719)、名前解決応答部503は、リトライがなかったことを代理応答実行可否判定部506に通知する(ステップS720)。代理応答実行判定部506は、名前解決応答部503からリトライがなかったことが通知されると、代理応答の必要がないことを代理応答部504に通知され(ステップS721)、IPアドレスの送信処理は行われずに名前解決処理が終了する。   On the other hand, when a retry is not performed from the client (step S719), the name resolution response unit 503 notifies the proxy response execution determination unit 506 that there is no retry (step S720). When the proxy response execution determination unit 506 is notified from the name resolution response unit 503 that there is no retry, the proxy response execution determination unit 506 notifies the proxy response unit 504 that there is no need for a proxy response (step S721), and IP address transmission processing The name resolution process ends without performing the process.

このように、本実施の形態にかかるMFP104によれば、リトライがあった場合、ネットワーク上に名前解決要求に含まれるホスト名の応答相手が存在しないため、代理応答が必要と判定することにより、MFPが別の手段により名前解決要求を送信する必要がないため、MFPに対して負荷をかけずに代理応答が必要か否かを判定することができる。   As described above, according to the MFP 104 according to the present embodiment, when there is a retry, there is no response partner of the host name included in the name resolution request on the network. Since it is not necessary for the MFP to send a name resolution request by another means, it is possible to determine whether a proxy response is necessary without imposing a load on the MFP.

(第3の実施の形態)
第3の実施の形態について、説明する。本実施の形態にかかるMFPの機能、構成は、第1〜2の実施の形態とほぼ同一であるため、第1〜2の実施の形態と異なる部分のみを説明する。本実施の形態にかかるMFPは、名前解決要求に含まれるドメイン名、MFPのドメイン名と、が一致しなかった場合、IPアドレスを送信する必要があると判定することにより、代理応答する必要があるか否かを即時に判定することができるので、MFPが名前解決要求を送信したり、クライアントからリトライを待つ必要がなくなる。
(Third embodiment)
A third embodiment will be described. Since the functions and configuration of the MFP according to the present embodiment are almost the same as those of the first and second embodiments, only the parts different from the first and second embodiments will be described. If the domain name included in the name resolution request and the domain name of the MFP do not match, the MFP according to the present embodiment needs to make a proxy response by determining that an IP address needs to be transmitted. Since it can be immediately determined whether or not there is, there is no need for the MFP to send a name resolution request or wait for a retry from the client.

代理応答実行可否判定部506は、名前解決応答部503により名前解決要求に含まれるドメイン名と、MFP104のドメイン名と、が一致しないと判断された場合、IPアドレスを送信すると判定する。本実施の形態では、名前解決要求に含まれるドメイン名と自端末のドメイン名とが一致するか否かにより、IPアドレスを送信するか否かを判定する第3判定方法により、代理応答が必要か否かを判定する。つまり、名前解決要求に含まれるドメイン名と、MFP104のドメイン名と、が一致した場合には、IPアドレスを問い合せる情報処理端末が同じネットワーク内に存在する。よって、MFP104による名前解決要求の送信処理が行われなくても、クライアントは、ホスト名を利用して、IPアドレスを問い合せた情報処理端末から直接IPアドレスを取得することができる。そのため、本実施の形態では、名前解決要求に含まれるドメイン名と、MFP104のドメイン名と、が一致した場合、代理応答が必要ないと判定する。   The proxy response execution determination unit 506 determines that the IP address is to be transmitted when the name resolution response unit 503 determines that the domain name included in the name resolution request and the domain name of the MFP 104 do not match. In the present embodiment, a proxy response is required by the third determination method for determining whether to transmit an IP address depending on whether the domain name included in the name resolution request matches the domain name of the terminal itself. It is determined whether or not. That is, when the domain name included in the name resolution request matches the domain name of the MFP 104, an information processing terminal that inquires about the IP address exists in the same network. Therefore, even if the name resolution request transmission processing by the MFP 104 is not performed, the client can acquire the IP address directly from the information processing terminal that inquired the IP address by using the host name. For this reason, in the present embodiment, if the domain name included in the name resolution request matches the domain name of the MFP 104, it is determined that a proxy response is not necessary.

以下、第3判定方法によりIPアドレスを送信するか否かを判定する処理の手順について詳細に説明する。   Hereinafter, a procedure of processing for determining whether or not to transmit an IP address by the third determination method will be described in detail.

名前解決応答部503は、IPアドレスを問い合せる情報処理端末のドメイン名を含む名前解決要求を受信する。本実施の形態では、IPアドレスを問い合せる情報処理端末のFQDNを含む名前解決要求を受信する。さらに、名前解決応答部503は、さらに、名前解決要求に含まれるドメイン名と、MFP104のドメイン名と、が一致するか否かを判断する。本実施の形態では、受信した名前解決要求に含まれるFQDNからドメイン名を抽出し、抽出したドメイン名と、MFP104のドメイン名と、が一致するか否かを判断する。   The name resolution response unit 503 receives a name resolution request including the domain name of the information processing terminal that queries the IP address. In this embodiment, a name resolution request including the FQDN of the information processing terminal that inquires about the IP address is received. Further, the name resolution response unit 503 further determines whether or not the domain name included in the name resolution request matches the domain name of the MFP 104. In the present embodiment, a domain name is extracted from the FQDN included in the received name resolution request, and it is determined whether or not the extracted domain name matches the domain name of the MFP 104.

そして、代理応答実行可否判定部506は、名前解決要求に含まれるFQDNから抽出したドメイン名と、MFP104のドメイン名と、が一致しなかった場合、代理応答部504に対して代理応答する必要あると判定する。   If the domain name extracted from the FQDN included in the name resolution request does not match the domain name of the MFP 104, the proxy response execution determination unit 506 needs to make a proxy response to the proxy response unit 504. Is determined.

このように、本実施の形態にかかるMFP104によれば、名前解決要求に含まれるドメイン名、MFPのドメイン名と、が一致しなかった場合、IPアドレスを送信する必要があると判定することにより、代理応答する必要があるか否かを即時に判定することができるので、MFPが名前解決要求を送信したり、クライアントからリトライを待つ必要がなくなる。   As described above, according to the MFP 104 according to the present embodiment, when the domain name included in the name resolution request and the domain name of the MFP do not match, it is determined that the IP address needs to be transmitted. Since it is possible to immediately determine whether it is necessary to make a proxy response, the MFP does not need to send a name resolution request or wait for a retry from the client.

(第4の実施の形態)
第4の実施の形態について、説明する。本実施の形態にかかるMFPの機能、構成は、第1〜3の実施の形態とほぼ同一であるため、第1〜3の実施の形態と異なる部分のみを説明する。本実施の形態にかかるMFPは、名前解決応答に含まれるIPアドレスと、自端末のIPアドレスおよびサブネットマスクと、から名前解決要求がIPアドレスを問い合わせる情報処理端末と自端末とが同一ネットワーク内に存在すると判断した場合、IPアドレスを送信する必要がないと判定することにより、IPアドレスを問い合せる情報処理端末が同一セグメント内に存在してIPアドレスを応答可能な否かを確実に判断した上で、代理応答する必要があるか否かを判定することができる。
(Fourth embodiment)
A fourth embodiment will be described. Since the functions and configuration of the MFP according to the present embodiment are substantially the same as those of the first to third embodiments, only the parts different from the first to third embodiments will be described. In the MFP according to the present embodiment, the information processing terminal that makes an inquiry about the IP address from the IP address included in the name resolution response, the IP address and subnet mask of the own terminal, and the own terminal are in the same network. If it is determined that there is an IP address, it is determined that there is no need to transmit the IP address, and it is determined whether the information processing terminal that queries the IP address exists in the same segment and can respond to the IP address. It is possible to determine whether it is necessary to make a proxy response.

代理応答実行可否判定部506は、名前解決要求部505によってDNSサーバから受信した名前解決応答に含まれるIPアドレスと、MFP104のIPアドレスおよびサブネットマスクと、から名前解決要求がIPアドレスを問い合わせる情報処理端末とMFP104とが同一ネットワーク内にあると判断した場合、IPアドレスを送信する必要がないと判定する。本実施の形態では、名前解決応答に含まれるIPアドレスと、自端末のIPアドレスおよびサブネットマスクと、から名前解決要求がIPアドレスを問い合わせる情報処理端末と自端末とが同一ネットワーク内にあるか否かにより、IPアドレスを送信する必要があるか否かを判定する第4判定方法により、代理応答が必要か否かを判定する。 The proxy response execution determination unit 506 performs information processing for inquiring the IP address of the name resolution request from the IP address included in the name resolution response received from the DNS server by the name resolution request unit 505 and the IP address and subnet mask of the MFP 104. If it is determined that the terminal and the MFP 104 are in the same network, it is determined that it is not necessary to transmit an IP address. In the present embodiment, whether or not the information processing terminal whose name resolution request inquires about the IP address from the IP address included in the name resolution response, the IP address and subnet mask of the own terminal, and the own terminal are in the same network. Therefore, it is determined whether or not a proxy response is necessary by the fourth determination method for determining whether or not it is necessary to transmit an IP address.

具体的には、以下の式によりIPアドレスを問い合せる情報処理端末のネットワークとMFP104のネットワークとが異なると判定された場合に、代理応答が必要と判断する。
IPアドレスを問い合せる情報処理端末のネットワーク=(DNSサーバから受信したIPアドレス)AND(MFP104のサブネットマスク)
MFP104のネットワーク=(MFP104のIPアドレス)AND(MFP104のサブネットマスク)
Specifically, when it is determined that the network of the information processing terminal that inquires the IP address is different from the network of the MFP 104 by the following formula, it is determined that a proxy response is necessary.
Network of information processing terminal for querying IP address = (IP address received from DNS server) AND (subnet mask of MFP 104)
Network of MFP 104 = (IP address of MFP 104) AND (Subnet mask of MFP 104)

つまり、IPアドレスを問い合せる情報処理端末と、MFP104とが同じセグメント内に存在する場合には、IPアドレスを問い合せる情報処理端末が同じネットワーク内に存在する。よって、MFP104による名前解決要求の送信処理が行われなくても、クライアントは、ホスト名を利用して、IPアドレスを問い合せた情報処理端末から直接IPアドレスを取得することができる。そのため、本実施の形態では、IPアドレスを問い合せる情報処理端末のネットワークと、MFP104のネットワークと、が一致した場合、代理応答が必要ないと判定する。   That is, when the information processing terminal that inquires the IP address and the MFP 104 exist in the same segment, the information processing terminal that inquires the IP address exists in the same network. Therefore, even if the name resolution request transmission processing by the MFP 104 is not performed, the client can acquire the IP address directly from the information processing terminal that inquired the IP address by using the host name. For this reason, in this embodiment, when the network of the information processing terminal that inquires the IP address matches the network of the MFP 104, it is determined that a proxy response is not necessary.

このように、本実施の形態にかかるMFP104によれば、名前解決応答に含まれるIPアドレスと、自端末のIPアドレスおよびサブネットマスクと、から名前解決要求がIPアドレスを問い合わせる情報処理端末と自端末とが同一ネットワーク内に存在すると判断した場合、IPアドレスを送信する必要がないと判定することにより、IPアドレスを問い合せる情報処理端末が同一ネットワーク(セグメント)内に存在してIPアドレスを応答可能な否かを確実に判断した上で、代理応答する必要があるか否かを判定することができる。 As described above, according to the MFP 104 according to the present embodiment, the information processing terminal and its own terminal whose name resolution request inquires about the IP address from the IP address included in the name resolution response and the IP address and subnet mask of the own terminal. Is determined to exist in the same network, it is determined that there is no need to send an IP address, so that an information processing terminal that queries the IP address exists in the same network (segment) and can respond to the IP address It is possible to determine whether or not it is necessary to make a proxy response after reliably determining whether or not.

(第5の実施の形態)
第5の実施の形態について、添付図面を参照して説明する。本実施の形態にかかるMFPの機能、構成は、第1〜4の実施の形態とほぼ同一であるため、第1〜2の実施の形態と異なる部分のみを説明する。本実施の形態にかかるMFPは、名前解決要求がIPアドレスを問い合せる情報処理端末のドメイン名を含む場合、第1判定方法または第2判定方法によりIPアドレスを送信する必要があるか否かを判定し、名前解決要求がIPアドレスを問い合せる情報処理端末のドメイン名を含まない場合、第3判定方法によりIPアドレスを送信する必要があるか否かを判定することにより、判定方法が固定されている場合よりも、代理応答のレスポンスタイムを改善することができる。
(Fifth embodiment)
A fifth embodiment will be described with reference to the accompanying drawings. Since the functions and configuration of the MFP according to the present embodiment are almost the same as those of the first to fourth embodiments, only the parts different from the first and second embodiments will be described. The MFP according to the present embodiment determines whether the IP address needs to be transmitted by the first determination method or the second determination method when the name resolution request includes the domain name of the information processing terminal that queries the IP address. and, if they do not contain the domain name of the information processing terminal name resolution request inquiring an IP address by determining whether more needs to send an IP address to the third determination how the determination process is fixed The response time of the proxy response can be improved as compared with the case where

代理応答実行可否判定部506は、名前解決要求がIPアドレスを問い合せる情報処理端末のドメイン名を含む場合、第1判定方法または第2判定方法によりIPアドレスを送信する必要があるか否かを判定し、名前解決要求がIPアドレスを問い合せる情報処理端末のドメイン名を含まない場合、第3判定方法によりIPアドレスを送信する必要があるか否かを判定する。本実施の形態では、名前解決応答部503によって受信した名前解決要求に含まれるホスト名がFQDNにより記述されているか否かにより判定方法を選択する。 When the name resolution request includes the domain name of the information processing terminal that queries the IP address, the proxy response execution determination unit 506 determines whether the IP address needs to be transmitted by the first determination method or the second determination method. and, if they do not contain the domain name of the information processing terminal name resolution request inquiring an IP address, it determines whether it is necessary to send more IP addresses in the third determination how. In the present embodiment, the determination method is selected depending on whether or not the host name included in the name resolution request received by the name resolution response unit 503 is described in FQDN.

図8は、MFPによる名前解決処理の手順を示すフローチャートである。なお、ステップS801〜ステップS804、およびステップS809〜ステップS810は、図3の説明等を参照し、ここでの説明を省略する。   FIG. 8 is a flowchart showing a procedure of name resolution processing by the MFP. Steps S801 to S804 and steps S809 to S810 refer to the description of FIG.

代理応答実行可否判定部506は、名前解決応答部503により受信した名前解決要求に含まれるホスト名がFQDNで記述されているか否かをチェックする(ステップS805、ステップS806)。そして、名前解決要求に含まれるホスト名がFQDNで記述されていない場合(ステップS806:No)、代理応答実行可否判定部506は、第1判定方法または第2判定方法により代理応答が必要か否かを判定する(ステップS807)。一方、名前解決要求に含まれるホスト名がFQDNで記述されている場合(ステップS806:Yes)、代理応答実行可否判定部506は、第3判定方法により代理応答が必要か否かを判定する(ステップS808)。 The proxy response execution determination unit 506 checks whether or not the host name included in the name resolution request received by the name resolution response unit 503 is described in FQDN (steps S805 and S806). If the host name included in the name resolution request is not described in FQDN (step S806: No), the proxy response execution determination unit 506 determines whether a proxy response is required by the first determination method or the second determination method. Is determined (step S807). On the other hand, if the host name included in the name resolution request is written in FQDN (Step S806: Yes), the proxy response executability determination unit 506 determines whether more proxy response is required in the third determination how (Step S808).

このように、本実施の形態にかかるMFP104によれば、名前解決要求がIPアドレスを問い合せる情報処理端末のドメイン名を含むか否かにより判定方法を選択することができるので、判定方法が固定されている場合よりも、代理応答のレスポンスタイムを改善することができる。   As described above, according to the MFP 104 according to the present embodiment, the determination method can be selected depending on whether or not the name resolution request includes the domain name of the information processing terminal that queries the IP address. The response time of the proxy response can be improved as compared with the case where

第1の実施の形態にかかる名前解決システムの構成を示すブロック図である。It is a block diagram which shows the structure of the name resolution system concerning 1st Embodiment. 第1の実施の形態にかかる名前解決システムにおける名前解決処理の手順を示すシーケンス図である。It is a sequence diagram which shows the procedure of the name resolution process in the name resolution system concerning 1st Embodiment. 代理リゾルバによる名前解決処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the name resolution process by a proxy resolver. MFPのハードウェア構成を示すブロック図である。2 is a block diagram illustrating a hardware configuration of an MFP. FIG. MFPの機能構成を示すブロック図である。2 is a block diagram illustrating a functional configuration of the MFP. FIG. MFPによる名前解決処理の手順を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating a procedure of name resolution processing by the MFP. MFPによる名前解決処理の手順を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating a procedure of name resolution processing by the MFP. MFPによる名前解決処理の手順を示すフローチャートである。6 is a flowchart illustrating a procedure of name resolution processing by the MFP.

符号の説明Explanation of symbols

101 PC2
102 DNSサーバ
103 ファイルサーバ
104 MFP
105 ルーター
106 PC1
400 コントローラ
401 CPU
402 システムメモリ
403 NB
404 SB
405 ASIC
406 ローカルメモリ
407 HDD
408 Flash ROM
409 NVRAM
410 SDRAM
411 セキュアデバイス
412 EthernetI/F
413 USB I/F
414 IEEE1394 I/F
415 セントロニクスI/F
416 無線I/F
417 外部記憶媒体用I/F
418 AGP
419,423 PCIバス
420 オペレーションパネル
421 FCU
422 エンジン部
501 ネットワーク制御部
502 ネットワーク通信部
503 名前解決応答部
504 代理応答部
505 名前解決要求部
506 代理応答実行可否判定部
101 PC2
102 DNS server 103 File server 104 MFP
105 Router 106 PC1
400 controller 401 CPU
402 System memory 403 NB
404 SB
405 ASIC
406 Local memory 407 HDD
408 Flash ROM
409 NVRAM
410 SDRAM
411 Secure device 412 Ethernet I / F
413 USB I / F
414 IEEE1394 I / F
415 Centronics I / F
416 Wireless I / F
417 I / F for external storage media
418 AGP
419, 423 PCI bus 420 Operation panel 421 FCU
422 Engine unit 501 Network control unit 502 Network communication unit 503 Name resolution response unit 504 Proxy response unit 505 Name resolution request unit 506 Proxy response execution determination unit

Claims (7)

第1プロトコルに従って送信された他のネットワーク上の情報処理端末に割り当てられたIPアドレスに対応付けられたホスト名を指定する名前解決要求を受信する要求受信手段と、
受信した前記名前解決要求に含まれるホスト名と自端末のホスト名とが一致するか否かを判断する名前解決判断手段と、
前記名前解決要求に含まれるホスト名と自端末のホスト名とが一致しなかった場合、前記第1プロトコルとは別の第2プロトコルに従って情報処理端末に対して前記名前解決要求を送信する要求送信手段と、
前記第2プロトコルに従って送信した前記名前解決要求に対するIPアドレスを含む名前解決応答を当該情報処理端末から受信する応答受信手段と、
受信した前記名前解決応答に含まれるIPアドレスを前記名前解決要求の要求元に送信する応答送信手段と、
を備えたことを特徴とする情報処理端末。
Request receiving means for receiving a name resolution request specifying a host name associated with an IP address assigned to an information processing terminal on another network transmitted according to the first protocol;
Name resolution determination means for determining whether or not the host name included in the received name resolution request matches the host name of the own terminal;
Request transmission for transmitting the name resolution request to the information processing terminal according to a second protocol different from the first protocol when the host name included in the name resolution request does not match the host name of the own terminal Means,
Response receiving means for receiving, from the information processing terminal, a name resolution response including an IP address for the name resolution request transmitted according to the second protocol;
Response sending means for sending the IP address included in the received name resolution response to the request source of the name resolution request;
An information processing terminal comprising:
前記応答送信手段は、
前記応答受信手段によって受信した前記名前解決応答に含まれるIPアドレスを送信するか否かを判定する応答実行判定手段をさらに備え、
前記応答送信手段は、前記応答実行判定手段による判定結果に応じて、IPアドレスを送信することを特徴とする請求項1に記載の情報処理端末。
The response transmission means includes
Response execution determination means for determining whether to transmit an IP address included in the name resolution response received by the response reception means;
The information processing terminal according to claim 1, wherein the response transmission unit transmits an IP address according to a determination result by the response execution determination unit.
前記応答実行判定手段は、前記第1プロトコルに従って情報処理端末に送信した前記名前解決要求に対する前記名前解決応答の有無により、IPアドレスを送信するか否かを判定する第1判定方法により、IPアドレスを送信するか否かを判定することを特徴とする請求項2に記載の情報処理端末。   The response execution determination means is configured to determine whether to transmit an IP address based on the presence or absence of the name resolution response to the name resolution request transmitted to the information processing terminal according to the first protocol. The information processing terminal according to claim 2, wherein whether or not to transmit is determined. 前記応答実行判定手段は、前記第1プロトコルに従って前記名前解決要求を再度受信したか否かにより、IPアドレスを送信するか否かを判定する第2判定方法により、IPアドレスを送信するか否かを判定することを特徴とする請求項2に記載の情報処理端末。   Whether the response execution determination means transmits the IP address by the second determination method for determining whether to transmit the IP address according to whether the name resolution request is received again according to the first protocol. The information processing terminal according to claim 2, wherein the information processing terminal is determined. 前記応答実行判定手段は、前記名前解決要求に含まれるドメイン名と自端末のドメイン名とが一致するか否かにより、IPアドレスを送信する必要があるか否かを判定する第3判定方法により、IPアドレスを送信するか否かを判定することを特徴とする請求項2に記載の情報処理端末。   The response execution determination means uses a third determination method for determining whether or not an IP address needs to be transmitted based on whether or not the domain name included in the name resolution request matches the domain name of the terminal itself. 3. The information processing terminal according to claim 2, wherein it is determined whether or not to transmit an IP address. 前記応答実行判定手段は、前記名前解決応答に含まれるIPアドレスと、自端末のIPアドレスおよびサブネットマスクと、から前記名前解決要求がIPアドレスを問い合わせる情報処理端末と自端末とが同一ネットワーク内にあるか否かにより、IPアドレスを送信する必要があるか否かを判定する第4判定方法により、IPアドレスを送信するか否かを判定することを特徴とする請求項2に記載の情報処理端末。 The response execution determination unit is configured such that the information processing terminal and the own terminal in which the name resolution request inquires about the IP address from the IP address included in the name resolution response and the IP address and subnet mask of the own terminal are in the same network 3. The information processing according to claim 2, wherein whether or not to transmit an IP address is determined by a fourth determination method for determining whether or not an IP address needs to be transmitted depending on whether or not there is an IP address. Terminal. 前記応答実行判定手段は、
前記名前解決要求がIPアドレスを問い合せる情報処理端末のドメイン名を含む場合、前記第1判定方法または前記第2判定方法により、IPアドレスを送信するか否かを判定し、
前記名前解決要求がIPアドレスを問い合せる情報処理端末のドメイン名を含まない場合、前記第3判定方法により、IPアドレスを送信する必要があるか否かを判定することを特徴とする請求項3から6のいずれか一に記載の情報処理端末。
The response execution determination means includes
When the name resolution request includes a domain name of an information processing terminal that queries an IP address, the first determination method or the second determination method determines whether to transmit an IP address,
If the name resolution request does not contain the domain name of the information processing terminal to query the IP address, claims, characterized in that to determine whether the more third determination how it is necessary to send the IP address The information processing terminal according to any one of 3 to 6.
JP2008069415A 2008-03-18 2008-03-18 Information processing terminal Expired - Fee Related JP5021533B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008069415A JP5021533B2 (en) 2008-03-18 2008-03-18 Information processing terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008069415A JP5021533B2 (en) 2008-03-18 2008-03-18 Information processing terminal

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012134698A Division JP5626268B2 (en) 2012-06-14 2012-06-14 Information processing terminal

Publications (2)

Publication Number Publication Date
JP2009225271A JP2009225271A (en) 2009-10-01
JP5021533B2 true JP5021533B2 (en) 2012-09-12

Family

ID=41241552

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008069415A Expired - Fee Related JP5021533B2 (en) 2008-03-18 2008-03-18 Information processing terminal

Country Status (1)

Country Link
JP (1) JP5021533B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7039843B2 (en) * 2017-02-20 2022-03-23 株式会社リコー Communication path control device, communication system, communication path control method, and program
CN116112469B (en) * 2023-04-14 2023-06-06 杭州云缔盟科技有限公司 Method, system and application for reporting host name information in local area network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3864397B2 (en) * 2004-09-03 2006-12-27 日本電信電話株式会社 User edge router, gateway router, multihoming communication system, multihoming communication method, and multihoming communication program
JP4266950B2 (en) * 2005-03-31 2009-05-27 Necアクセステクニカ株式会社 Address information acquisition apparatus and address information acquisition method
JP4514780B2 (en) * 2007-10-09 2010-07-28 西日本電信電話株式会社 Communication apparatus and communication method

Also Published As

Publication number Publication date
JP2009225271A (en) 2009-10-01

Similar Documents

Publication Publication Date Title
US8861001B2 (en) Output control system, output control method, and output control apparatus for determining whether to store or transmit target data based on use state
JP4533227B2 (en) Data processing apparatus, registration method and program
JP4101140B2 (en) Image processing apparatus, image processing system, name registration method, name registration program, and recording medium
US11539696B2 (en) Relay server, authentication system, and relay method
JP6656112B2 (en) Printing system, image forming apparatus, printing method, and communication method
JP2006109459A (en) Print supporting apparatus, print processing apparatus, document processing system, method of controlling print supporting apparatus, print support control program, and computer readable recording medium
JP2011209889A (en) Communication apparatus and computer program
US10048910B2 (en) Information processing device performing information processing in response to receiving information processing request and request destination information, and information processing system with the device
JP5626268B2 (en) Information processing terminal
JP5021533B2 (en) Information processing terminal
EP1895747B1 (en) Network device, network device control method, and storage medium
US8810840B2 (en) Image forming system, output management method, and program product, configured to determine type of PDL in output data
JP5560756B2 (en) Image forming apparatus, device management system, device management method, program, and recording medium
US20140281033A1 (en) Information processing apparatus, relay method, and computer-readable storage medium
JP4690918B2 (en) Network equipment
JP2007037121A (en) System, method and program for improving cross-compatibility of address books provided in document processing device
JP4368776B2 (en) Network device, network device control method, program, and recording medium
US11516178B2 (en) Controlling multi-function printer communication in network segments via a bridge device
JP7067442B2 (en) Image forming device
JP2008042460A (en) Communication control method and image forming apparatus
JP4165340B2 (en) Information processing device
JP2009218866A (en) Image processor, document processing method, and document processing program
JP5049196B2 (en) Image forming system, terminal device, and login server device
JP5225435B2 (en) Network device, network device control method, and program
JP5442092B2 (en) Network device, network device control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101008

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120423

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120614

R150 Certificate of patent or registration of utility model

Ref document number: 5021533

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150622

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees