JP5021533B2 - Information processing terminal - Google Patents
Information processing terminal Download PDFInfo
- 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
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
しかしながら、上記特許文献1に記載された技術では、ドメイン名とDNSサーバのIPアドレスとを関連付けて記憶した中継器がなければ、DNSサーバにアクセスすることができず、名前解決処理を行うことができない、という問題がある。
However, in the technique described in
本発明は、上記に鑑みてなされたものであって、中継器などを備えずに、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
また、請求項2にかかる発明は、請求項1にかかる発明において、前記応答送信手段は、前記応答受信手段によって受信した前記名前解決応答に含まれるIPアドレスを送信するか否かを判定する応答実行判定手段をさらに備え、前記応答送信手段は、前記応答実行判定手段による判定結果に応じて、IPアドレスを送信することを特徴とする。
The invention according to claim 2 is the response according to
また、請求項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
このような名前解決システムにおいて、例えば、ファイルサーバ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
しかし、本実施の形態にかかる名前解決システムにおいては、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
AGP418は、グラフィック処理を高速化するために提案されたグラフィックスアクセラレーターカード用のバスインターフェースであり、システムメモリ402に高スループットで直接アクセスすることにより、グラフィックスアクセラレーターカードを高速にするものである。
The
CPU401は、MFP104の全体制御をおこなうものであり、NB403、システムメモリ402及びSB404からなるチップセットを有し、このチップセットを介して他の機器と接続される。
The
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
SB404は、NB403とPCIデバイス、周辺デバイスとを接続するためのブリッジである。このSB404は、PCIバス419を介してNB403と接続されており、このPCIバスには、各種インタフェース部412〜417等も接続される。
The
Ethernet(登録商標)インタフェース412は、本実施の形態にかかるMFP104をネットワークに接続するインタフェース機器である。USBインタフェース413と、IEEE1394インタフェース414と、セントロニクスインタフェース415と、無線インタフェース416とは、それぞれの規格に準じたインタフェースであり、ネットワークに接続されることもある。
An Ethernet (registered trademark)
外部記憶媒体用インタフェース417は、本実施の形態にかかるMFPから脱着することが可能な媒体で外部記憶媒体の規格に準じた媒体のインタフェースである。例えばSDカードや、コンパクトフラッシュ(登録商標)や、ROM−DIMM等が外部記憶媒体として利用される。
The external
システムメモリ402は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタの描画用メモリ等として用いるシステムメモリであり、図示しないROM(Read Only Memory)とRAM(Random Access Memory)とからなる。ROMは、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAMは、プログラムやデータの展開用メモリ、プリンタの描画用メモリ等として用いる書き込み及び読み出し可能なメモリである。
A
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
このASIC405は、PCIターゲット及びAGPマスタと、ASIC405の中核をなすアービタ(ARB)と、ローカルメモリ406を制御するメモリコントローラと、ハードウェアロジック等により画像データの回転等をおこなう複数のDMAC(Direct Memory Access Controller)と、FCU(Fax Control Unit)421と、エンジン部422との間でPCIバス423を介したデータ転送をおこなうPCIユニットとからなる。
The
ローカルメモリ406は、コピー用画像バッファ、符号バッファとして用いるローカルメモリであり、HDD407は、画像データの蓄積、プログラムの蓄積、フォントデータの蓄積、フォームの蓄積を行うためのストレージである。Flash ROM408は、外部からのプログラムやデータなどを書き込むことが可能なメモリである。NVRAM409およびSDRAM410は、電源がOFFの状態でも情報を保持することができる不揮発性メモリである。セキュアデバイス411は、本実施の形態にかかるMFP104の利用者に警告音を発する。
The
FCU421は、PCIバス423に接続され、電源がOFFの時に受信したファクシミリデータを一時的に格納するメモリとして利用される。
The
エンジン部422は、PCIバス423に接続可能なプリンタエンジン等であり、例えば、白黒プロッタ、1ドラムカラープロッタ、4ドラムカラープロッタ、スキャナまたはファックスユニット等である。なお、このエンジン部422には、プロッタ等のいわゆるエンジン部分に加えて、誤差拡散やガンマ変換等の画像処理部分が含まれる。
The
また、オペレーションパネル420は、オペレータからの入力操作を受け付けると共に、オペレータに向けた表示を行う操作部である。
The
次に、図5を用いて、システムメモリ402にインストールされている各種のプログラムがCPU401に実行させる機能のうち、本実施の形態にかかるMFP104が備える特長的な機能について説明する。
Next, among the functions that the various programs installed in the
図5に示すように、本実施の形態にかかるMFP104は、名前解決プログラムに従うことにより、ネットワーク制御部501を実現する。ネットワーク制御部501は、ネットワーク通信部502、名前解決応答部503、代理応答部504、名前解決要求部505、および代理応答実行可否判定部506を有する。
As shown in FIG. 5, the
ネットワーク通信部502は、上述した各種ネットワークインタフェース412〜416を用いて、クライアント(またはDNSサーバ)からの名前解決要求または名前解決応答の受信処理、およびクライアント(またはDNSサーバ)への名前解決要求または名前解決応答の送信処理を仲介する。
The
名前解決応答部503は、名前解決要求の受信および名前解決応答の送信を行うモジュールである。具体的には、名前解決応答部503は、問い合せプロトコル(本発明にかかる第1プロトコル)に従って送信された名前解決要求を受信する(本発明にかかる要求受信手段)。本実施の形態では、ネットワーク通信部502を介して、LLMNR、mDNS、NBTなどのマルチキャスト(またはブロードキャスト)のプロトコルに従ってクライアントから送信された名前解決要求を受信する。
The name
また、名前解決応答部503は、受信した名前解決要求に含まれるホスト名と、MFP104のホスト名とが一致するか否かを判断する(本発明にかかる名前解決判断手段)。そして、名前解決応答部503は、名前解決要求に含まれるホスト名と、MFP104のホスト名と、が一致した場合、ネットワーク通信部502を介して、MFP104に設定されているIPアドレスをクライアントに送信する。
Also, the name
名前解決要求部505は、名前解決要求の送信および名前解決応答の受信を行うモジュールである。具体的には、名前解決要求部505は、名前解決応答部503により受信した名前解決要求に含まれるホスト名とMFP104のホスト名とが一致しなかった場合、問い合せプロトコルとは別のプロトコル(本発明にかかる第2プロトコル)に従って情報処理端末に対して名前解決要求を送信する(本発明にかかる要求送信手段)。本実施の形態では、ネットワーク通信部502を介して、予め登録されたDNSのプロトコルに従って、DNSサーバ102に名前解決要求を送信する。なお、本実施の形態では、DNSサーバ102に名前解決要求を送信することとしたが、これに限定するものではない。例えば、同じネットワーク内に名前解決可能な情報処理端末(例えば、PC1(106))が存在する場合またはMFP104自身がDNSサーバとして機能している場合には、同じネットワーク内に存在する情報処理端末またはMFP104自身に名前解決要求を送信可能なプロトコルであれば、LLMNR、mDNS、NBT等のプロトコルを用いて名前解決要求を送信しても良い。若しくは、MFP104のhostsファイル、DNSキャッシュ情報を利用して、名前解決要求を送信してもよい。
The name
また、名前解決要求部505は、問い合せプロトコルとは別のプロトコルに従って送信した名前解決要求に対するIPアドレスを含む名前解決応答を情報処理端末から受信する(本発明にかかる応答受信手段)。本実施の形態では、DNSサーバ102に名前解決要求に含まれるホスト名に対応するIPアドレスが登録されていた場合、ネットワーク通信部502を介して、当該IPアドレスを含む名前解決応答をDNSサーバ102から受信する。なお、同じネットワーク内に名前解決可能な情報処理端末が存在する場合には、LLMNR、mDNS、NBT等のプロトコルを用いて名前解決応答を当該情報処理端末から受信する。
Further, the name
代理応答部504は、名前解決要求部505により受信した名前解決応答に含まれるIPアドレスをクライアントに送信する(本発明にかかる応答受信手段)。本実施の形態では、ネットワーク通信部502を介して、名前解決応答に含まれるIPアドレスをクライアントに送信する。なお、本実施の形態では、さらに、代理応答が必要か否かを判定し、その判定結果に応じて、名前解決応答に含まれるIPアドレスをクライアントに送信することも可能である。具体的には、代理応答部504は、名前解決要求部505により受信した名前解決応答に含まれるIPアドレスを送信するか否かを判定する代理応答実行可否判定部506(本発明にかかる応答実行判定手段)を備える。そして、代理応答部504は、代理応答実行可否判定部506による判定結果に応じて、IPアドレスを送信する。以下に、代理応答が必要か否かを判定する方法について説明する。
The
代理応答実行可否判定部506は、名前解決要求部505によって受信した名前解決応答に含まれるIPアドレスを送信するか否かを判定するモジュールである。本実施の形態では、問い合わせプロトコルに従って情報処理端末に送信した名前解決要求に対する名前解決応答に有無により、IPアドレスを送信するか否かを判定する第1判定方法を用いて、IPアドレスを送信するか否かを判定する。つまり、問い合せプロトコルと同じプロトコルにより名前解決要求を送信し、名前解決応答がなかった場合には、ネットワーク上に名前解決要求に含まれるホスト名の応答相手は存在しないため、代理応答が必要と判定する。なお、名前解決応答を待つ待ち時間は、例えば、1秒など固定とするか、若しくはパラメータ化してネットワーク環境に応じて変更可能としてもよい。また、名前解決応答に含まれるIPアドレスを送信するか否かの判定処理は、名前解決処理と同時に行うことによりレスポンスタイムを短くすることもできる。
The proxy response
以下、第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
さらに、名前解決要求部505は、さらに、問い合せプロトコルに従って送信した名前解決要求に対する名前解決応答を情報処理端末から受信する。本実施の形態では、ネットワーク通信部502を介して、LLMNR、mDNS、NBTなどのマルチキャスト(またはブロードキャスト)のプロトコルに従って情報処理端末から送信されたIPアドレスを含む名前解決応答を受信する。
Furthermore, the name
そして、代理応答実行可否判定部506は、名前解決要求部505によって問い合わせプロトコルに従って送信した名前解決要求に対する名前解決応答を受信しなかった場合、代理応答部504によって受信した名前解決応答に含まれるIPアドレスを送信すると判定する。
When the proxy response
次に、図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
次に、名前解決応答部503は、受信した名前解決要求に含まれるホスト名“hogehoge”と、MFP104のホスト名と、が一致するか否かを判断する(ステップS603)。そして、名前解決応答部503は、名前解決要求に含まれるホスト名“hogehoge”と、MFP104のホスト名と、が一致しなかった場合、名前解決要求に含まれるホスト名“hogehoge”および問い合せプロトコル(LLMNR)の情報を代理応答部504に通知して、問い合わせプロトコル(LLMNR)とは別のプロトコルによる名前解決処理をリクエストする(ステップS604)。
Next, the name
代理応答部504は、名前解決応答部503から名前解決処理がリクエストされた場合、名前解決要求部505に対してDNSのプロトコルによる名前解決処理をリクエストする(ステップS605)。名前解決要求部505は、ネットワーク通信部502を介して、DNSのプロトコルによりホスト名“hogehoge”を含む名前解決要求をDNSサーバ102に送信する(ステップS606)。
When a name resolution process is requested from the name
DNSサーバ102は、MFP104からホスト名“hogehoge”を含む名前解決要求を受信すると(ステップS607)、当該名前解決要求に含まれるホスト名“hogehoge”に対応するIPアドレスを検索する。そして、DNSサーバ102は、ホスト名“hogehoge”に対応するIPアドレス“192.168.1.2”が検索された場合、IPアドレス“192.168.1.2”をMFP104に送信する(ステップS608)。
When the
名前解決要求部505は、ネットワーク通信部502を介して、DNSサーバ102から送信された名前解決応答を受信し(ステップS609)、当該名前解決応答に含まれるIPアドレス“192.168.1.2”を代理応答部504に通知する(ステップS610)。
The name
さらに、代理応答部504は、名前解決応答部503から通知された名前解決要求に含まれるホスト名“hogehoge”および問い合わせプロトコル(LLMNR)の情報を、代理応答実行可否判定部506に通知して、代理応答が必要か否かの判定処理をリクエストする(ステップS611)。
Further, the
代理応答実行可否判定部506は、代理応答部504から代理応答が必要か否かの判定処理をリクエストされた場合、名前解決要求部505に対して、名前解決要求に含まれるホスト名“hogehoge”を通知して、LLMNRによる名前解決処理をリクエストする(ステップS612)。名前解決要求部505は、ネットワーク通信部502を介して、LLMNRに従ってホスト名“hogehoge”を含む名前解決要求をネットワーク上の名前解決装置(例えば、PC1(106))に送信する(ステップS613)。LLMNRに従って名前解決要求を受信した名前解決装置は、自装置のホスト名と、名前解決要求に含まれるホスト名“hogehoge”と、が一致するか否かを判断する(ステップS614)。
When the proxy response
そして、名前解決装置から名前解決要求に対する応答がなかった場合(ステップ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
代理応答部504は、代理応答実行可否判定部506から代理応答が必要であることが通知されると、名前解決要求部505から通知されたIPアドレス“192.168.1.2”を、ネットワーク通信部502を介して、クライアントに送信する(ステップS618)。クライアントは、MFP104から送信されたIPアドレス“192.168.1.2”を受信する(ステップS619)。
When the
このように、本実施の形態にかかるMFP104によれば、マルチキャストまたはブロードキャストにより送信された名前解決要求を受信し、受信した名前解決要求に含まれるホスト名と自端末のホスト名とが一致するか否かを判断し、名前解決要求に含まれるホスト名と自端末のホスト名とが一致しなかった場合、名前解決要求を受信した手段とは別の手段により名前解決要求を情報処理端末に対して送信し、情報処理端末から名前解決要求に対するIPアドレスを含む名前解決応答を受信し、受信した名前解決応答に含まれるIPアドレスを名前解決要求の要求元に送信することにより、中継器などを備えずに、DNSサーバのアドレスが自端末に設定されていない場合やDNSサーバで名前解決することができない場合であっても、名前解決できる確率を高くすることができる。
As described above, according to the
(第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
以下、第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
そして、代理応答実行可否判定部506は、名前解決応答部503により同一のクライアントからのリトライがあったと判断された場合、代理応答する必要があると判断する。
The proxy response
次に、図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
そして、クライアント(例えば、ファイルサーバ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
代理応答実行可否判定部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
一方、クライアントからリトライが行われなかった場合(ステップ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
このように、本実施の形態にかかるMFP104によれば、リトライがあった場合、ネットワーク上に名前解決要求に含まれるホスト名の応答相手が存在しないため、代理応答が必要と判定することにより、MFPが別の手段により名前解決要求を送信する必要がないため、MFPに対して負荷をかけずに代理応答が必要か否かを判定することができる。
As described above, according to the
(第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
以下、第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
そして、代理応答実行可否判定部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
このように、本実施の形態にかかるMFP104によれば、名前解決要求に含まれるドメイン名、MFPのドメイン名と、が一致しなかった場合、IPアドレスを送信する必要があると判定することにより、代理応答する必要があるか否かを即時に判定することができるので、MFPが名前解決要求を送信したり、クライアントからリトライを待つ必要がなくなる。
As described above, according to the
(第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
具体的には、以下の式により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
Network of information processing terminal for querying IP address = (IP address received from DNS server) AND (subnet mask of MFP 104)
Network of
つまり、IPアドレスを問い合せる情報処理端末と、MFP104とが同じセグメント内に存在する場合には、IPアドレスを問い合せる情報処理端末が同じネットワーク内に存在する。よって、MFP104による名前解決要求の送信処理が行われなくても、クライアントは、ホスト名を利用して、IPアドレスを問い合せた情報処理端末から直接IPアドレスを取得することができる。そのため、本実施の形態では、IPアドレスを問い合せる情報処理端末のネットワークと、MFP104のネットワークと、が一致した場合、代理応答が必要ないと判定する。
That is, when the information processing terminal that inquires the IP address and the
このように、本実施の形態にかかるMFP104によれば、名前解決応答に含まれるIPアドレスと、自端末のIPアドレスおよびサブネットマスクと、から名前解決要求がIPアドレスを問い合わせる情報処理端末と自端末とが同一ネットワーク内に存在すると判断した場合、IPアドレスを送信する必要がないと判定することにより、IPアドレスを問い合せる情報処理端末が同一ネットワーク(セグメント)内に存在してIPアドレスを応答可能な否かを確実に判断した上で、代理応答する必要があるか否かを判定することができる。
As described above, according to the
(第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
図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
このように、本実施の形態にかかるMFP104によれば、名前解決要求がIPアドレスを問い合せる情報処理端末のドメイン名を含むか否かにより判定方法を選択することができるので、判定方法が固定されている場合よりも、代理応答のレスポンスタイムを改善することができる。
As described above, according to the
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
105
400
402
404 SB
405 ASIC
406
408 Flash ROM
409 NVRAM
410 SDRAM
411
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
422
Claims (7)
受信した前記名前解決要求に含まれるホスト名と自端末のホスト名とが一致するか否かを判断する名前解決判断手段と、
前記名前解決要求に含まれるホスト名と自端末のホスト名とが一致しなかった場合、前記第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.
前記名前解決要求が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.
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)
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)
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 |
-
2008
- 2008-03-18 JP JP2008069415A patent/JP5021533B2/en not_active Expired - Fee Related
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 |