JP2017175361A - Server device, terminal device, client server system, notification method, information acquisition method, and computer program - Google Patents
Server device, terminal device, client server system, notification method, information acquisition method, and computer program Download PDFInfo
- Publication number
- JP2017175361A JP2017175361A JP2016058752A JP2016058752A JP2017175361A JP 2017175361 A JP2017175361 A JP 2017175361A JP 2016058752 A JP2016058752 A JP 2016058752A JP 2016058752 A JP2016058752 A JP 2016058752A JP 2017175361 A JP2017175361 A JP 2017175361A
- Authority
- JP
- Japan
- Prior art keywords
- request
- response
- information
- server
- terminal device
- 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.)
- Granted
Links
Images
Abstract
Description
本発明は、端末装置の管理状態を通知する技術に関する。 The present invention relates to a technique for notifying a management state of a terminal device.
ネットワークを使用したクライアントサーバ形式のシステムでは、クライアントは、サーバのIP(Internet Protocol)アドレスの変更などにより、サーバと通信不能となった場合に、サーバの接続先に関する新たな情報が必要となる。 In a client-server system using a network, when a client becomes unable to communicate with the server due to a change in the IP (Internet Protocol) address of the server or the like, new information regarding the connection destination of the server is required.
このような場合、例えば、あらかじめクライアントに予備のサーバの接続先を登録しておく方法がある。しかし、予備のサーバの情報があらかじめ確定しているとは限らないという問題がある。また、クライアントは、接続していたサーバの変更後のIPアドレスのような、あらかじめ登録しておいた情報以外の接続先は認識できないという問題がある。アドレス変更されたサーバが稼働しているならば、クライアントが、そのサーバを再び利用することが望ましい。 In such a case, for example, there is a method of registering a spare server connection destination in advance in the client. However, there is a problem that spare server information is not fixed in advance. In addition, there is a problem that the client cannot recognize a connection destination other than information registered in advance, such as the IP address after the change of the server to which the client is connected. If the server whose address has been changed is running, it is desirable for the client to use the server again.
また、クライアントが、アプリケーション独自の通信プロトコルによって、サーバの情報を検索する要求をネットワークの広い範囲に対して送信し、その要求に対するサーバからの応答を待つという方法も考えられる。しかし、クライアントが、異なるネットワークセグメントに対して、サーバの情報を検索することを目的とする専用の通信プロトコルによって要求を送信することは簡単ではないという問題がある。その理由は、例えば、独自の通信プロトコルの解釈が可能なルータを各ネットワークセグメントに配置するなど、大きな手間およびコストが掛かると考えられるからである。 A method in which the client transmits a request for retrieving server information to a wide area of the network using a communication protocol unique to the application, and waits for a response from the server in response to the request. However, there is a problem that it is not easy for a client to send a request to a different network segment using a dedicated communication protocol for retrieving server information. This is because, for example, it is considered that a large amount of labor and cost are required, such as arranging a router capable of interpreting a unique communication protocol in each network segment.
上記のような、サーバと通信不能となった場合において有効な接続先を得ることに関連する技術としては、例えば、以下の特許文献などがある。 Examples of the technology related to obtaining an effective connection destination when communication with the server is disabled as described above include the following patent documents.
特許文献1には、DHCP(Dynamic Host Configuration Protocol)サーバに異常が発生して通信不能となった場合に、異常になったDHCPサーバの代わりのDHCPサーバとなるネットワーク装置が開示されている。このネットワーク装置は、DHCPサーバとDHCPクライアントの間に接続される無線アクセスポイントとして動作する。
また、特許文献2には、DHCPサービスをクライアント駆動型で負荷分散するシステムが開示されている。このシステムでは、クライアントが、複数のサーバの負荷情報を取得し、その負荷情報に基づいて、接続先のサーバを選択することができる。 Further, Patent Document 2 discloses a system for distributing a load of a DHCP service by a client drive. In this system, a client can acquire load information of a plurality of servers and select a connection destination server based on the load information.
しかしながら、特許文献1に開示されたネットワーク装置においては、ネットワーク装置が、サーバが提供するサービスの機能を持つ必要があるという問題がある。例えば、サービスを利用するクライアントが複数のネットワークに分散している場合、複数のそのようなネットワーク装置が必要になると考えられる。また、サーバのアドレス変更が通信不能の原因であった場合、クライアントは、その元のサーバがサービス提供を継続していても、元のサーバを利用することができないという問題がある。
However, the network device disclosed in
また、特許文献2に開示されたシステムにおいても、クライアントは、各サーバの負荷に基づいてサーバを選択するので、アドレス変更された元のサーバを利用できるとは限らないという問題がある。すなわち、このシステムにおいては、以前利用していたサーバがあったとしても、クライアントが、それを区別することができないという問題がある。 Further, even in the system disclosed in Patent Document 2, since the client selects a server based on the load of each server, there is a problem that the original server whose address has been changed cannot always be used. That is, in this system, even if there is a server that has been used before, there is a problem that the client cannot distinguish it.
したがって、特許文献1および2に記載されたネットワーク装置およびシステムを利用しても、端末装置が、そのサーバにおいて端末装置を管理対象としてどのように認識されていたかがわからないという問題が残る。
Therefore, even if the network devices and systems described in
本発明の1つの目的は、特定のサービスにおける端末装置の管理状態を示す情報の送信が目的ではない通信プロトコルを用いて、端末装置から宛先が指定されずに送信された要求に対して、その端末装置の管理状態を示す情報を通知するサーバ装置などを提供することにある。 One object of the present invention is to respond to a request transmitted without specifying a destination from a terminal device using a communication protocol that is not intended to transmit information indicating the management status of the terminal device in a specific service. The object is to provide a server device or the like for notifying information indicating a management state of a terminal device.
上記の目的を達成すべく、本発明の一態様に係るサーバ装置は、以下の構成を備えることを特徴とする。 In order to achieve the above object, a server apparatus according to an aspect of the present invention includes the following configuration.
すなわち、本発明の一態様に係るサーバ装置は、
宛先を指定しない要求を伝送し、前記要求に対する所定のサービス情報を含む応答を要求元に返送する通信プロトコルを用いて、端末装置からの前記要求を受信する要求受信手段と、
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記端末装置の管理状態を表す管理状態情報を含む前記応答を、前記通信プロトコルを用いて送信する応答手段と
を備える。
That is, the server device according to one aspect of the present invention provides:
A request receiving means for transmitting a request not specifying a destination and receiving the request from the terminal device using a communication protocol for returning a response including predetermined service information to the request to the request source;
Response means for transmitting, using the communication protocol, the response that is management information that is different from at least the service information and that represents the management status of the terminal device.
また、上記の同目的を達成すべく、本発明の一態様に係る端末装置は、
宛先を指定しない要求を1つ以上のサーバ装置に対して伝送し、前記各サーバ装置から前記要求に対する所定のサービス情報を含む応答を取得する通信プロトコルを用いて、宛先を指定しない前記要求を送信する要求手段と、
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記各サーバ装置における自機の管理状態を表す管理状態情報を含む前記各応答を、前記通信プロトコルを用いて受信し、少なくとも、前記管理状態情報に基づいて選択した前記応答の送信元を表す情報を出力する応答受信手段と
を備える。
In order to achieve the above object, a terminal device according to one aspect of the present invention provides:
A request not specifying a destination is transmitted to one or more server devices, and the request not specifying a destination is transmitted using a communication protocol for obtaining a response including predetermined service information for the request from each server device. Requesting means, and
In response to the request, each of the responses is information different from the service information and includes management status information representing a management status of the server in each server device, using the communication protocol, and at least Response receiving means for outputting information indicating a transmission source of the response selected based on the management state information.
また、上記の同目的を達成すべく、本発明の一態様に係るクライアントサーバシステムは、上述した構成を備える少なくとも1台のサーバ装置および端末装置を備え、
宛先を指定しない要求を伝送し、前記要求に対する所定のサービス情報を含む応答を要求元に返送する通信プロトコルを用いて、
宛先を指定しない前記要求を送信する、上述した構成を備える端末装置と、
受信した前記要求に対して前記端末装置の管理状態を表す管理状態情報を含む前記応答を前記端末装置に対して送信する、上述した構成を備える、少なくとも1台のサーバ装置とを含み、
前記各サーバ装置における前記端末装置の管理状態を表す管理状態情報に基づいて選択された前記応答の送信元を表す情報を前記端末装置において出力する。
In order to achieve the above object, a client server system according to an aspect of the present invention includes at least one server device and terminal device having the above-described configuration,
Using a communication protocol for transmitting a request not specifying a destination and returning a response including predetermined service information to the request to the request source,
A terminal device having the above-described configuration for transmitting the request not specifying a destination;
Including at least one server device having the above-described configuration, wherein the response including the management status information indicating the management status of the terminal device is transmitted to the terminal device in response to the received request.
Information representing the transmission source of the response selected based on the management state information representing the management state of the terminal device in each server device is output in the terminal device.
また、上記の同目的を達成すべく、本発明の一態様に係る通知方法は、情報処理装置によって、
宛先を指定しない要求を伝送し、前記要求に対する所定のサービス情報を含む応答を要求元に返送する通信プロトコルを用いて、端末装置からの前記要求を受信し、
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記端末装置の管理状態を表す管理状態情報を含む前記応答を、前記通信プロトコルを用いて送信する。
In order to achieve the above object, a notification method according to an aspect of the present invention is performed by an information processing device.
Transmitting a request not specifying a destination, using a communication protocol that returns a response including predetermined service information to the request to the request source, receiving the request from the terminal device,
In response to the request, the response is transmitted using the communication protocol, which is information different from at least the service information and includes management status information indicating the management status of the terminal device.
また、上記の同目的を達成すべく、本発明の一態様に係る情報取得方法は、情報処理装置によって、
宛先を指定しない要求を1つ以上のサーバ装置に対して伝送し、前記各サーバ装置から前記要求に対する所定のサービス情報を含む応答を取得する通信プロトコルを用いて、宛先を指定しない前記要求を送信し、
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記各サーバ装置における自機の管理状態を表す管理状態情報を含む前記各応答を、前記通信プロトコルを用いて受信し、
少なくとも、前記管理状態情報に基づいて選択した前記応答の送信元を表す情報を出力する。
In order to achieve the above object, an information acquisition method according to an aspect of the present invention is performed by an information processing device.
A request not specifying a destination is transmitted to one or more server devices, and the request not specifying a destination is transmitted using a communication protocol for obtaining a response including predetermined service information for the request from each server device. And
In response to the request, each response including the management status information that is different from the service information and represents the management status of the server in each server device is received using the communication protocol,
At least information indicating a transmission source of the response selected based on the management status information is output.
また、同目的は、上記の各構成を有するサーバ装置、端末装置、クライアントサーバシステム、並びに対応する方法を、それぞれコンピュータによって実現するコンピュータ・プログラム、およびそのコンピュータ・プログラムが格納されている、コンピュータ読み取り可能な記憶媒体によっても達成される。 In addition, the same object is to provide a computer program that implements a server device, a terminal device, a client server system, and a corresponding method having each of the above-described configurations by a computer, and a computer read that stores the computer program. It is also achieved with possible storage media.
本発明には、サーバ装置から端末装置の被管理状態を通知することができるという効果がある。 The present invention has an effect that the managed state of the terminal device can be notified from the server device.
次に、本発明の実施形態について図面を参照して詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the drawings.
<第1の実施形態>
図1は、本発明の第1の実施形態に係るクライアントサーバシステムにおける通信環境の一例を示す構成図である。図1を参照すると、本実施形態に係るクライアントサーバシステムは、サーバ装置1、および端末装置10を含む。
<First Embodiment>
FIG. 1 is a configuration diagram showing an example of a communication environment in the client server system according to the first embodiment of the present invention. Referring to FIG. 1, the client server system according to the present embodiment includes a
サーバ装置1、および端末装置10は、それぞれインターネットや構内LAN(ローカルエリアネットワーク)等の通信ネットワーク(以下、単にネットワークと言う)1001を介して通信可能である。ネットワーク1001には、サーバ装置1と端末装置10との間の通信プロトコルに則って中継を行う通信装置などが含まれていてもよい。また、本実施形態に係るクライアントサーバシステムにおいては、複数のサーバ装置1が含まれていてもよい。同様に、本実施形態に係るクライアントサーバシステムにおいては、複数の端末装置10が含まれていてもよい。
The
サーバ装置1、および端末装置10は、CPU(Central Processing Unit:図示せず)を用いて実行されるコンピュータ・プログラム(ソフトウェア・プログラム)の制御により動作する一般的な情報処理装置(コンピュータ)によって構成されても良い。または、サーバ装置1、および端末装置10の各部が、専用のハードウェアデバイス、または論理回路によって構成されても良い。なお、このサーバ装置1、および端末装置10をコンピュータによって実現したハードウェア構成例については、図8を参照して後述する。
The
サーバ装置1は、要求受信部2、および応答部3を含む。
The
要求受信部2は、端末装置10からの要求を受信することができる。要求受信部2が要求の受信に用いる通信プロトコルは、端末装置10から送られた、宛先を指定しない要求を伝送し、その要求に対する所定のサービス情報を含む応答を要求元に返送することができる通信プロトコルである。要求の伝送とは、宛先が指定されていなくても、要求を受け付けられるサーバ装置1まで、その要求を届けられることを含む。例えば、そのような通信プロトコルは、異なるセグメントに属するサーバ装置1に対して、要求をルーティングする仕組みの規定などを含んでいてもよい。
The request receiving unit 2 can receive a request from the
応答部3は、受信した要求に対して、少なくともサービス情報とは異なる情報であって、要求を送った端末装置10の管理状態を表す管理状態情報を含む応答を、通信プロトコルを用いて送信することができる。管理状態情報とは、例えば、端末装置10のサーバ装置1に対するアクセスの有無、サーバ装置1が提供するサービスの利用状況、または、端末装置10を管理しているという認識の有無などに基づく情報であってもよい。管理状態情報は、サーバ装置1によって生成されてもよい。または、管理状態情報は、図示しない外部装置、またはサービスを提供する図示しない機能部などから取得されてもよい。
In response to the received request, the response unit 3 transmits, using a communication protocol, a response including management state information that is at least different from the service information and represents the management state of the
端末装置10は、要求部11、および応答受信部12を含む。
The
要求部11は、上述した通信プロトコルを用いて、宛先を指定しない要求を送信することができる。端末装置10において、この通信プロトコルは、宛先を指定しない要求を1つ以上のサーバ装置1に対して伝送し、その各サーバ装置から要求に対する所定のサービス情報を含む応答を取得する通信プロトコルであるとも言える。
The
応答受信部12は、要求に対して、少なくとも上記の管理状態情報を含む各応答を、上述した通信プロトコルを用いて受信することができる。端末装置10において、この管理状態情報は、サービス情報とは異なる情報であって、各サーバ装置1における自機の管理状態(被管理状態)を表す情報であるとも言える。そして、応答受信部12は、少なくとも、各応答に含まれる管理状態情報に基づいて選択した応答の送信元(サーバ装置1)を表す情報を出力することができる。応答受信部12は、複数のサーバ装置1に関する情報を出力してもよい。応答受信部12は、図示しない外部装置、サーバ装置1のサービスを利用する図示しない機能部、または図示しない出力装置などに対して、出力してもよい。応答受信部12は、応答の送信元を表す情報以外に、例えば管理状態情報の内容などを出力してもよい。
In response to the request, the
以上説明したように、本実施形態には、特定のサービスにおける端末装置の管理状態を示す情報の送信が目的ではない通信プロトコルを用いて、端末装置から宛先が指定されずに送信された要求に対して、その端末装置の管理状態を示す情報を通知するサーバ装置などを提供できるという効果がある。 As described above, in the present embodiment, a request transmitted without specifying a destination from a terminal device using a communication protocol that is not intended to transmit information indicating the management state of the terminal device in a specific service. On the other hand, there is an effect that it is possible to provide a server device that notifies information indicating the management state of the terminal device.
その理由は、サーバ装置1の要求受信部2および応答部3が、宛先を指定しない端末装置10からの要求を伝送し、その要求に対する所定のサービス情報を含む応答を要求元に返送する通信プロトコルを用いて、要求の受信および応答の返信(送信)をすることができるからである。また、応答部3が、その通信プロトコルを用いて、要求を送信した端末装置10の管理状態を表す管理状態情報を含む応答を返信するからである。
The reason is that the request receiving unit 2 and the response unit 3 of the
<第2の実施形態>
次に、上述した第1の実施形態を基本とする第2の実施形態について説明する。以下では、第2の実施形態に係る特徴的な部分を中心に説明し、第1の実施形態と同様な構成を有する第2の実施形態の構成要素について、重複する詳細な説明は省略する。
<Second Embodiment>
Next, a second embodiment based on the above-described first embodiment will be described. In the following, characteristic portions according to the second embodiment will be mainly described, and detailed description of the components of the second embodiment having the same configuration as that of the first embodiment will be omitted.
まず、図2を参照して、以下に本実施形態の構成を説明する。図2は、本発明の第2の実施形態に係るクライアントサーバシステムにおける通信環境の一例を示す構成図である。図2を参照すると、本実施形態は、サーバ装置100Aおよび100B、端末装置200、およびルータ300を含む。
First, the configuration of this embodiment will be described below with reference to FIG. FIG. 2 is a configuration diagram showing an example of a communication environment in the client server system according to the second embodiment of the present invention. Referring to FIG. 2, the present embodiment includes
サーバ装置100Aとルータ300とは、インターネットや構内LAN(ローカルエリアネットワーク)等の通信ネットワーク(以下、単にネットワークと言う)を介して互いに通信可能である。また、端末装置200とルータ300とは、それぞれインターネットや構内LAN等の通信ネットワークを介して互いに通信可能である。サーバ装置100Aと端末装置200とは、ルータ300を介して、互いに通信可能である。サーバ装置100Bと端末装置200とは、インターネットや構内LANを介して互いに通信可能である。本実施形態に係るクライアントサーバシステムにおいては、1台または3台以上のサーバ装置100、複数の端末装置200、および複数のルータ300がそれぞれ含まれていてもよい。
本実施形態は、第1の実施形態における通信プロトコルの具体例として、PXE(Preboot eXecution Environment)ブートの通信シーケンスを用いたクライアントサーバシステムである。PXEブートは、サーバからOS(Operating System)イメージを取得することにより、コンピュータを起動するネットワークブートの規格である。 This embodiment is a client server system using a PXE (Preboot Execution Environment) boot communication sequence as a specific example of the communication protocol in the first embodiment. PXE boot is a network boot standard for starting a computer by acquiring an OS (Operating System) image from a server.
本実施形態において用いられるPXEブートの通信シーケンスは、DHCPによって、ブートするコンピュータがIPアドレスを取得する部分である。具体的には、第1の実施形態における要求として、DHCP Discoverパケットが用いられる。また、第1の実施形態における応答として、DHCP Offerパケットが用いられる。すなわち、本実施形態においては、DHCPが、第1の実施形態における通信プロトコルに対応しているとも言える。このPXEブートの通信シーケンスの詳細は、RFC4578(M.Johnston、他1名著、”Dynamic Host Configuration Protocol (DHCP) Options for the Intel Preboot eXecution Environment (PXE)”、[online]、2006年11月、IEEE、[平成28年3月11日検索]、インターネット <URL: https://www.ietf.org/rfc/rfc4578.txt>)に記載されている。 The communication sequence of PXE boot used in this embodiment is a part where a booting computer acquires an IP address by DHCP. Specifically, a DHCP Discover packet is used as a request in the first embodiment. Further, a DHCP Offer packet is used as a response in the first embodiment. That is, in this embodiment, it can be said that DHCP corresponds to the communication protocol in the first embodiment. Details of the communication sequence of this PXE boot can be found in RFC4578 (M. Johnston, 1 other author, “Dynamic Host Configuration Protocol (DHCP) Options for the Intel Preboot eXecution Environment (PXE)”, [online], November 2006, IEEE). [Search on March 11, 2016], Internet <URL: https://www.ietf.org/rfc/rfc4578.txt>).
通常のPXEブートにおいては、起動するコンピュータに対して一時的なIPアドレスを割り振る手段として、DHCPサーバが必要である。しかし、本実施形態においては、端末装置200は、上述した通り、通信可能な状態であるので、IPアドレスを取得済みである。すなわち、本実施形態におけるクライアントサーバシステムは、通常のPXEブートを使用するシステムと異なり、DHCPサーバを必要としない。本実施形態においては、サーバ装置100Aおよび100Bが、PXEブートのサーバに対応する。また、端末装置200が、ブートするコンピュータに対応する。
In normal PXE boot, a DHCP server is required as means for assigning a temporary IP address to a computer to be started. However, in the present embodiment, since the
サーバ装置100Aおよび100B、端末装置200、並びにルータ300は、CPU(図示せず)を用いて実行されるコンピュータ・プログラム(ソフトウェア・プログラム)の制御により動作する一般的な情報処理装置(コンピュータ)によって構成されても良い。または、サーバ装置100Aおよび100B、端末装置200、並びにルータ300の各部が、専用のハードウェアデバイス、または論理回路によって構成されても良い。なお、このサーバ装置100Aおよび100B、端末装置200、並びにルータ300をコンピュータによって実現したハードウェア構成例については、図8を参照して後述する。
図2においては省略されているが、サーバ装置100Bは、サーバ装置100Aと同様の構成および機能を備える。本実施形態においては、符号の末尾に付した「A」または「B」の記号によって、サーバ装置100Aおよび100Bの同じ機能を有する機能部同士を区別する。以下の構成の説明においては、符号に「A」が付与された構成の説明をもって、符号に「B」が付与された構成の説明に代えることができる。以下では、サーバ装置100Aか100Bかが未確定、または、サーバ装置100Aでも100Bでも同じである場合は、「サーバ装置100」とも記述する。
Although omitted in FIG. 2, the
サーバ装置100Aは、要求受信部102A、応答部103A、記憶装置110A、およびサービスサーバ部120Aを含む。記憶装置110Aは、管理状態情報111Aを記憶することができる。記憶装置110Aは、例えば、半導体メモリ装置、またはディスク装置などにより実現される。
The
管理状態情報111Aは、第1の実施形態における管理状態情報を基本とする。本実施形態において管理状態情報111Aは、端末装置200の管理状態を3つの状態によって管理する。サービスサーバ部120に接続した端末装置200は、すでに管理対象となっている端末装置であることを表す「Managed」という管理状態として管理状態情報111Aに登録される。要求を受けて応答を返したが管理対象となっていない端末装置200は、別のサーバ装置100の管理対象である可能性があることを表す「Unmanaged」という管理状態として管理状態情報111Aに登録される。まだ、要求を送ってきたことがない端末装置200は、管理状態情報111Aに登録されていない。このような管理状態情報111Aに登録されていない端末装置200は、応答においては、新規の管理状態である「New」という管理状態として表される。
The
要求受信部102Aは、第1の実施形態における要求受信部2を基本とする。本実施形態において、要求受信部102Aは、端末装置200からの要求としてDHCP Discoverパケットを受信することができる。
The
応答部103Aは、第1の実施形態における応答部3を基本とする。本実施形態において、応答部103Aは、端末装置200に対する応答として、DHCP Offerパケットを送信する。DHCPの規定によれば、通常のDHCP Offerパケットは、DHCP Discoverパケットの送信元のコンピュータに対して、割り当てることが可能なIPアドレスを表す情報などを含む。すなわち、本実施形態においては、この「割り当てることが可能なIPアドレスを表す情報など」が、第1の実施形態における「応答に含まれる所定のサービス情報」に対応する。応答部103Aは、割り当てることが可能なIPアドレスを表す情報などを含まず、管理状態情報111Aに基づいて、端末装置200の管理状態を表す情報を含むDHCP Offerパケットを送信する。本実施形態における応答部103Aは、さらに、DHCP Offerパケットを受信したことに基づいて、管理状態情報111Aを更新する。
The
サービスサーバ部120Aは、サーバ装置100Aが端末装置200のサービスクライアント部210(後述)に対して提供するサービスのサーバ機能部である。サービスサーバ部120Aは、サービスの提供を受ける端末装置200の管理状態に基づいて、管理状態情報111Aを更新する。
The
サーバ装置100Aにおける要求受信部102A、および応答部103Aの構成および機能は、上述した点以外、第1の実施形態と同様であるので、重複する詳細な説明は省略する。
Since the configurations and functions of the
端末装置200は、要求部201、応答受信部202、およびサービスクライアント部210を含む。
The
要求部201は、第1の実施形態における要求部11を基本とする。本実施形態において、要求部201は、応答を求めるサーバ装置100を宛先として指定せずに、第1の実施形態における要求の具体例であるDHCP Discoverパケットを送信することができる。
The
応答受信部202は、第1の実施形態における応答受信部12を基本とする。本実施形態において、応答受信部202は、DHCP Discoverパケットへの応答として、サーバ装置100Aおよび100Bから、DHCP Offerパケットを受信することができる。応答受信部202は、受信したDHCP Offerパケットに含まれる管理状態情報に基づいて、送信元のサーバ装置100Aまたは100Bを選択する。本実施形態では、応答受信部202は、選択したサーバ装置100Aまたは100BのIPアドレスを表すアドレス情報、サービスクライアント部210に対して出力する。
The
サービスクライアント部210は、サーバ装置100が提供するサービスを利用可能なクライアント機能部である。サービスクライアント部210は、要求部201を介して、サービスを提供するサーバ装置100のアドレス情報を要求する。また、サービスクライアント部210は、応答受信部202から受けたサーバ装置100Aまたは100Bのアドレス情報に基づいて、サーバ装置100Aまたは100Bのサービスにアクセスすることができる。
The
端末装置200における要求部201、および応答受信部202の構成および機能は、上述した点以外、第1の実施形態と同様であるので、重複する詳細な説明は省略する。
The configurations and functions of the
ルータ300は、転送部301を含む。
The
転送部301は、DHCPリレー機能により、要求(DHCP Discover)と応答(DHCP Offer)とを転送することができる通信装置である。
The
次に、上述した構成を備える本実施形態の動作について詳細に説明する。図3は、第2の実施形態においてサーバ装置100Aまたは100Bと、端末装置200とが行う動作を示すフローチャートである。まず、端末装置200が、一例として、初めてサービスを利用する場合の動作を説明する。このとき、端末装置200は、サーバ装置100Aおよび100Bの管理状態情報111Aおよび111Bのどちらにも登録されていないことを前提とする。
Next, the operation of the present embodiment having the above-described configuration will be described in detail. FIG. 3 is a flowchart showing operations performed by the
まず、端末装置200においてサービスクライアント部210は、サービスを提供するサーバ装置100のアドレス情報を、要求部201に対して要求する。要求部201は、サーバ装置100の管理状態情報を要求する(ステップA10)。具体的には、要求部201は、DHCP Discoverパケットを、ブロードキャストにより送信する。DHCP Discoverパケットは、同じネットワークセグメントにあるルータ300とサーバ装置100Bとによって受信される(ステップB20)。ルータ300は、端末装置200から受信したDHCP Discoverパケットを、DHCPリレーの機能により、異なるネットワークセグメントのサーバ装置100Aに転送する。サーバ装置100Aは、ルータ300によって転送されたDHCP Discoverパケットを受信する(ステップB20)。ルータ300は、例えば、サーバ装置100Aのような転送可能なサーバ装置100へのルーティング情報をあらかじめ設定などにより取得しておいてもよい。ルータ300は、通常のDHCPリレー機能を実行可能な一般的なルータによって実現することができる。
First, in the
ステップB20からB23におけるサーバ装置100Bの動作はサーバ装置100Aの動作と同じであるので、以下のサーバ装置100Aの動作を、サーバ装置100Bの動作の説明に替えることができる。
Since the operation of the
サーバ装置100Aでは、要求受信部102Aが端末装置200の要求(DHCP Discoverパケット)を受信する(ステップB20)。
In the
次に、応答部103Aが、受信した要求の送信元に対応する管理状態情報を含む応答を送信する(ステップB21)。具体的には、応答部103Aは、DHCP Discoverパケットの送信元である端末装置200に対応する管理状態情報111Aを記憶装置110Aから読み出す。この場合、端末装置200に対応する情報は、管理状態情報111Aに登録されていない。したがって、応答部103Aは、端末装置200の管理状態を新規、すなわち「New」とした管理状態情報を含む応答を、ルータ300を介して、返信する。
Next, the
例えば、応答部103Aは、管理状態情報として、DHCP OfferパケットにおけるDHCPのオプション60に、「New」を設定してもよい。DHCPのオプション60は、クラス識別子(Class Id)を格納することができる領域である。ルータ300は、DHCPリレー機能により、サーバ装置100Aから送信されたDHCP Offerパケットを端末装置200に対して転送する。
For example, the
このとき、応答部103Aは、DHCP Offerパケットに、割り当てることが可能なIPアドレスを表す情報などを含めない。また、応答部103Aは、割り当てることが可能なIPアドレスを管理しない。
At this time, the
応答を送信後、応答部103Aは、管理状態が「New」であった場合(ステップB22のYES)、その端末装置200の管理状態情報111Aを「Unmanaged」に更新する(ステップB23)。
After transmitting the response, when the management state is “New” (YES in Step B22), the
サーバ装置100Bの応答部103Bも、同内容のオプション60が設定されたDHCP Offerパケットを、同じネットワークセグメントにある端末装置200に対して直接送信する。
The response unit 103B of the
一方、要求を送信した後、端末装置200においては、応答受信部202が、例えば所定の期間にわたって応答を待ち受けてもよい。応答受信部202は、サーバ装置100Aおよび100Bから、それぞれ応答を受信する(ステップA11)。具体的には、応答受信部202は、管理状態情報を格納するオプション60に「New」と設定された、2つのDHCP Offerを受信する。
On the other hand, after transmitting the request, in the
応答受信部202は、応答に含まれる管理状態情報に基づいて、選択した応答の送信元を出力する(ステップA12)。例えば、応答受信部202は、管理状態情報が「Managed」、「Unmanaged」、「New」の順に優先して、応答の送信元を選択してもよい。また、管理状態情報が同じ場合、応答受信部202は、所定の方法によって選択した、1つの応答の送信元を出力してもよい。または、応答受信部202は、同じ管理状態情報の応答を受信した複数の送信元を出力してもよい。一例として、応答受信部202は、早く受信した応答の送信元であるサーバ装置100Bの応答を選択し、サーバ装置100Bのアドレス情報を、サービスクライアント部210に対して出力する。
The
なお、もしDHCP Discoverパケットが一般的なDHCPサーバ(図示せず)によって受信されると、一般的なDHCPサーバは、オプション60に管理状態情報が設定されていない一般的な応答であるDHCP Offerパケットを返送するはずである。したがって、応答受信部202は、応答に有効な管理状態情報が設定されていない場合、その応答を除いて、上述したステップA12の動作を行ってもよい。
Note that if a DHCP Discover packet is received by a general DHCP server (not shown), the general DHCP server sends a DHCP Offer packet which is a general response in which management status information is not set in option 60. Should be returned. Therefore, the
このようにして、サービスクライアント部210は、目的のサービスを提供するサーバ装置100Bのアドレス情報を取得することができる。端末装置200のサービスクライアント部210がサーバ装置100Bのサービスにアクセスすると、サーバ装置100Bでは、サービスサーバ部120Bが端末装置200に対してサービスを提供する。本実施形態では、サービスサーバ部120Bが、サービスを提供している端末装置200に対応する管理状態情報111Bを、管理対象となったことを表す「Managed」に更新する。このとき、サーバ装置100Aの管理状態情報111Aは、別のサーバ装置100の管理対象である可能性があることを表す「Unmanaged」のままである。
In this way, the
次に、図4を参照して、サービスクライアント部210がサーバ装置100Bのサービスを利用中に、例えば、サーバ装置100Bと通信不能になった場合の動作を説明する。図4は、第2の実施形態における通信シーケンスの一例を示す図である。以下の説明では、一例として、サーバ装置100BのIPアドレスが変更されたことにより通信不能となったことを前提とする。すなわち、サーバ装置100Bの各部は、正常に稼働している。
Next, with reference to FIG. 4, the operation when the
上述した初めてサービスを利用する場合と同様に、端末装置200からDHCP Discoverパケットが送信され(図3のステップA10)、サーバ装置100Aおよび100Bによって受信される(図3のステップB20)。図4を参照すると、サーバ装置100Bが、DHCP Discoverパケット600を受信する。同様にサーバ装置100Aが、DHCP Discoverパケット601を受信する。
As in the case of using the service for the first time described above, a DHCP Discover packet is transmitted from the terminal device 200 (step A10 in FIG. 3) and received by the
サーバ装置100Bの応答部103Bは、管理状態情報111Bに基づいて、DHCPのオプション60に「Managed」を設定したDHCP Offerパケット603(図4)を端末装置200に対して送信する(ステップB21)。DHCP Offerパケット603の送信元は、サーバ装置100Bの変更後のIPアドレスである。同様に、サーバ装置100Aの応答部103Aは、DHCPのオプション60に「Unmanaged」を設定したDHCP Offerパケット604(図4)を端末装置200に対して送信する(ステップB21)。
The response unit 103B of the
この後、サーバ装置100Aおよび100Bの応答部103Aおよび103Bは、管理状態情報が「New」ではなかった(ステップB22のNO)ので、管理状態情報111Aおよび111Bの更新を行わずに動作を終了する。
Thereafter, the
端末装置200においては、応答受信部202が、異なる管理状態情報が設定された2つのDHCP Offerパケットを受信する(ステップA11)。応答受信部202は、管理状態情報であるオプション60に「Managed」が設定されたDHCP Offerパケット603の方を送信したサーバ装置100Bを選択する(ステップA12)。そして、応答受信部202は、DHCP Offerパケット603の送信元であるサーバ装置100Bの変更後のアドレス情報を、サービスクライアント部210に対して出力する。
In the
このようにして、本実施形態におけるサーバ装置100Aおよび100Bは、サービスにおける端末装置の管理状態を示す情報の送信が目的ではないPXEプロトコル(DHCPプロトコル)を用いて、端末装置200の管理状態を、端末装置200に対して通知することができる。端末装置200は、宛先を指定せずに要求を送信し、その要求に対して、サーバ装置100Aおよび100Bから、自機の管理状態情報を取得することができる。このように、本実施形態には、上述した第1の実施形態と同様の効果がある。
In this way, the
また、本実施形態には、さらに、IPアドレスというリソースの提供を要求する通信プロトコルであるDHCPプロトコルを用いるが、そのリソースの提供を行わずに、管理状態情報を含む上述したような応答を送受信することができるという効果もある。その結果として、通常のPXEブートでは必須であるDHCPサーバは不要になるので、システム構成が簡易であるという効果もある。 Further, in this embodiment, the DHCP protocol, which is a communication protocol for requesting the provision of a resource called an IP address, is used, but the above-described response including management status information is transmitted and received without providing the resource. There is also an effect that can be done. As a result, the DHCP server which is essential in the normal PXE boot is not necessary, and there is an effect that the system configuration is simple.
その理由は、端末装置200およびサーバ装置100は、不要な動作であるリソース(アドレス)の提供を行わずに、プロトコルの規定から外れない範囲で、要求および応答の管理状態情報の授受に必要な部分を利用するに留めるからである。
The reason is that the
(第2の実施形態の変形例)
なお、本実施形態の変形例としては以下のようなものが考えられる。
(Modification of the second embodiment)
In addition, the following can be considered as a modification of this embodiment.
例えば、本実施形態は、DHCPとは異なり、リソースの提供を要求しないタイプのプロトコルを採用することが可能である。本実施形態は、一例として、通信装置における設定情報、または構成情報などを取得するディスカバリサービスなどに用いられるプロトコルなどを採用してもよい。また、システムを構成する通信装置に対するコマンドと、管理装置に対するレスポンスを送受信するシステム管理などに用いられるプロトコルなどを採用してもよい。 For example, unlike the DHCP, this embodiment can adopt a type of protocol that does not require provision of resources. In the present embodiment, as an example, a protocol used for a discovery service or the like that acquires setting information or configuration information in a communication device may be employed. In addition, a protocol used for system management or the like for transmitting / receiving a command for a communication device constituting the system and a response to the management device may be employed.
サーバ装置100における端末装置200の管理状態は、少なくとも、管理しているかしていないかという2つの状態を表すことができればよい。例えば、応答部103は、管理状態情報111の更新を行わず、単に、サービスサーバ部120が更新する「Managed」の管理状態を基に応答してもよい。または、管理状態は、4つ以上の状態であってもよい。
The management status of the
また、応答に含まれる管理状態情報は、サーバ装置100の状態に基づく管理状態を含んでもよい。例えば、サーバ装置100は、管理状態として、その端末装置200からのサービスへの新たな接続要求を受け入れられないことを表す状態などを含めてもよい。
Further, the management status information included in the response may include a management status based on the status of the server device 100. For example, the server apparatus 100 may include a state indicating that a new connection request to the service from the
本実施形態におけるサーバ装置100および端末装置200の各部が、互いに情報を受け渡す方法は、上述した方法に限定されない。例えば、サーバ装置100のサービスサーバ部120は、管理状態情報を直接更新する代わりに、応答部103に対して、管理状態を通知してもよい。また、応答部103、または図示しない他の機能部が、他のサーバ装置100から、そのサーバ装置100における管理状態の通知を受けて、管理状態情報111を「Unmanaged」に更新してもよい。
The method in which the units of the server device 100 and the
<第3の実施形態>
次に、上述した第1および第2の実施形態、並びにその変形例(以下では、単に「各実施形態」とも記述する)を基本とする第3の実施形態について説明する。以下では、第3の実施形態に係る特徴的な部分を中心に説明する。以下では、各実施形態と同様な構成を有する第3の実施形態の構成要素には、各実施形態で付した参照符号と同一の参照符号を付し、その構成要素について重複する詳細な説明は省略する。
<Third Embodiment>
Next, a description will be given of a third embodiment based on the above-described first and second embodiments and modifications thereof (hereinafter also simply referred to as “each embodiment”). Below, it demonstrates centering on the characteristic part which concerns on 3rd Embodiment. In the following, the same reference numerals as those used in the respective embodiments are attached to the components of the third embodiment having the same configurations as those of the embodiments, and the detailed description of the components will not be repeated. Omitted.
本実施形態は、第2の実施形態と同様のPXEブートの通信シーケンスを用いたクライアントサーバシステムに対して、本来のDHCPサービス機能が追加されたシステムである。すなわち、本実施形態は、第2の実施形態において利用されていたDHCPプロトコルのパケットと、IPアドレスというリソースの割り当てを行う本来のDHCPプロトコルのパケットとの使い分けを可能としたシステムの一例である。 The present embodiment is a system in which the original DHCP service function is added to the client server system using the same PXE boot communication sequence as that of the second embodiment. In other words, the present embodiment is an example of a system that enables the DHCP protocol packet used in the second embodiment and the original DHCP protocol packet that assigns a resource called an IP address to be used properly.
まず、図5を参照して、以下に本実施形態の構成を説明する。図5は、本発明の第3の実施形態に係るクライアントサーバシステムにおける通信環境の一例を示す構成図である。図5を参照すると、本実施形態は、サーバ装置400、および端末装置500を含む。
First, the configuration of the present embodiment will be described below with reference to FIG. FIG. 5 is a configuration diagram showing an example of a communication environment in a client server system according to the third embodiment of the present invention. Referring to FIG. 5, the present embodiment includes a
サーバ装置400、および端末装置500は、それぞれインターネットや構内LAN(ローカルエリアネットワーク)等の通信ネットワーク(以下、単にネットワークと言う)1001を介して通信可能である。ネットワーク1001には、第2の実施形態におけるルータ300のような、サーバ装置400と端末装置500との間の通信プロトコルに則って中継を行う通信装置などが含まれていてもよい。また、本実施形態に係るクライアントサーバシステムにおいては、複数のサーバ装置400が含まれていてもよい。同様に、本実施形態に係るクライアントサーバシステムにおいては、複数の端末装置500が含まれていてもよい。
The
サーバ装置400、および端末装置500は、CPU(図示せず)を用いて実行されるコンピュータ・プログラム(ソフトウェア・プログラム)の制御により動作する一般的な情報処理装置(コンピュータ)によって構成されても良い。または、サーバ装置400、および端末装置500の各部が、専用のハードウェアデバイス、または論理回路によって構成されても良い。なお、このサーバ装置400、および端末装置500をコンピュータによって実現したハードウェア構成例については、図8を参照して後述する。
The
サーバ装置400は、第2の実施形態におけるサーバ装置100Aおよび100Bの各部を基本とする要求受信部402、応答部403、記憶装置110、およびサービスサーバ部120に加えて、さらにDHCPサーバ部401(以下、単に「サーバ部401」とも言う)を含む。記憶装置110は、第2の実施形態を基本とする管理状態情報111を記憶することができる。記憶装置110、記憶装置110に記憶される管理状態情報111、およびサービスサーバ部120は、第2の実施形態と同様であるので、重複する詳細な説明は省略する。
The
DHCPサーバ部401は、DHCP Discoverパケット(以下「第1の要求」とも言う)を受信し、その第1の要求に対する応答として、通知有効情報を含むDHCP Offerパケット(以下「第1の応答」)を送信することができる。通知有効情報とは、端末装置の管理状態を通知する通知サービスが提供できることを表す情報である。言い換えると、通知サービスとは、要求受信部402および応答部403によって実現される、本実施形態によって説明される本発明の機能である。DHCPサーバ部401は、DHCPサービスを提供する第1のポートを介して、第1の要求の受信、および第1の応答の送信を行うことができる。本実施形態においては、一例として、第1のポートは、第2の実施形態における要求受信部102Aおよび102BがDHCP Discoverパケットを待ち受けるポートと同じである。第1の要求は、第2の実施形態における要求(DHCP Discoverパケット)に対応する要求であると言える。しかし、第1の応答は、第2の実施形態における応答(DHCP Offerパケット)とは異なり、本実施形態において新たに設けられた応答である。
The
また、DHCPサーバ部401は、一例として、一般的なDHCPサービスを提供するサーバ機能を実行することができる。すなわち、DHCPサーバ部401は、DHCPサービスを提供する第1のポートを介して、一連のDHCPの要求を受信することができる。DHCPサーバ部401が受信するDHCPの要求には、端末装置500の管理状態を要求する要求を含む。DHCPサーバ部401は、受信した一連のDHCPの要求に対応するDHCPの応答を送信元に返信することができる。一般的なDHCPサービスの機能、要求および応答のデータ構造、並びにプロトコルシーケンスなどは、よく知られた技術を採用することができるので、本実施形態における詳細な説明は省略する。
Further, the
本実施形態における要求受信部402および応答部403は、DHCPサーバ部401とは異なる第2のポートを介して端末装置500との通信を行う。また、要求受信部402は、DHCP Discoverパケットに替えて、DHCP Requestパケット(以下「第2の要求」とも言う)を受信することができる。第2の要求は、DHCPサーバ部401に対して送られた第1の要求を、第2のポートに対して、端末装置500によって送りなおされた要求であるとも言える。
The
応答部403は、DHCP Offerパケットに替えて、管理状態を含む情報を含むDHCP Ackパケット(以下、「第2の応答」とも言う)を送信することができる。この第2の応答が、第2の実施形態におけるDHCP Offerパケットに対応する応答であるとも言える。要求受信部402および応答部403の構成および機能は、上述した点以外は、第2の実施形態と同様であるので、重複する詳細な説明は省略する。
The
端末装置500は、第2の実施形態における端末装置500の各部を基本とする要求部501、応答受信部502、およびサービスクライアント部210を含む。サービスクライアント部210は、第2の実施形態と同様であるので、重複する詳細な説明は省略する。
The
要求部501は、第2の実施形態と同様に、応答を求めるサーバ装置100を宛先として指定せずに、DHCP Discoverパケット(第1の要求)を送信することができる。それに対する応答として、サーバ装置400から受信したDHCP Offerパケット(第1の応答)に、端末装置の管理状態を通知するサービスが提供できることを表す通知有効情報が含まれていた場合、サーバ装置400の第2のポートに対して、DHCP Requestパケット(第2の要求)を送信することができる。このDHCP Requestパケットは、第2の実施形態におけるDHCP Discoverパケットの役割を果たすパケットである。
Similar to the second embodiment, the
応答受信部502は、サーバ装置400の第2のポートを介して、DHCP Offerパケット(第1の応答)に替えて、DHCP Ackパケット(第2の応答)を受信することができる。応答受信部502は、DHCP Ackパケットから管理状態の情報を取得する。
The
要求部501および応答受信部502の構成および機能は、上述した以外は、第2の実施形態にと同様であるので、重複する詳細な説明は省略する。
Since the configurations and functions of the
次に、上述した構成を備える本実施形態の動作について詳細に説明する。図6は、第3の実施形態においてサーバ装置400と、端末装置500とが行う動作を示すフローチャートである。
Next, the operation of the present embodiment having the above-described configuration will be described in detail. FIG. 6 is a flowchart illustrating operations performed by the
図6におけるサーバ装置400の動作を参照すると、本実施形態と、図3に示す第2の実施形態における動作との違いは、要求受信部402が要求を受信するステップB20の前に、もう1段階の要求と応答のやりとりが実行される点である。また、図6のステップA30(図3のステップA11に対応)、B20およびB21の各ステップにおいては、単に送受信のポートが異なっている。したがって、以下では、第2の実施形態との動作の違いがわかりやすい通信シーケンスによって、本実施形態の動作を説明する。図7は、第3の実施形態における通信シーケンスの一例を示す図である。
Referring to the operation of the
以下の説明において、第1のポートは、一例として、一般的なDHCPサービスのポートとして知られているUDP(User Datagram Protocol)の67番ポートであることを前提とする。また、第2のポートは、一例として、UDPの4011番ポートであることを前提とする。第1のポートおよび第2のポートは、上記の例以外のポートであってもよい。図7および以下の説明において、ポートは、プロトコルとポート番号とを対応づけて「UDP:67」のように書き表されることがある。
In the following description, it is assumed that the first port is, for example, the 67th port of UDP (User Datagram Protocol), which is known as a general DHCP service port. The second port is assumed to be a
まず、端末装置500の要求部501が、サービスクライアント部210の要求を受けて、第1のポートに対して、管理状態情報を要求(第1の要求)を送信する(図6のステップA10)。この動作は、第2の実施形態における図3のステップA10の動作と同じである。具体的には、図7を参照すると、要求部501は、第2の実施形態と同様にDHCP Discoverパケット610を、宛先ポートとして第1のポートであるUDP:67を指定したブロードキャストにより送信する。
First, in response to a request from the
サーバ装置400においては、第1のポートに対して受信を待ち受けているDHCPサーバ部401が、このDHCP Discoverパケット610(第1の要求)を受信する(図6のステップB40)。DHCPサーバ部401は、一般的なDHCPサービスの応答であるDHCP Offerパケットの内容に対して、さらに端末装置の管理状態を通知するサービスが提供できることを表す通知有効情報を加えた応答を送信する(図6のステップB41)。具体的には、DHCPサーバ部401は、DHCPのオプション60に「PXEClient」という通知有効情報を設定したDHCP Offerパケット611を、端末装置500に対して送信する。「PXEClient」という文字列は一例である。通知有効情報は、他の文字列またはコード番号などによって表されてもよい。また、DHCPサーバ部401は、一般的なDHCPクライアントが送信したDHCP Discoverパケットに対しても、通知有効情報を設定したDHCP Offerを送信してもよい。
In the
端末装置500の応答受信部502は、DHCP Discoverパケット610(第1の要求)への応答として、DHCP Offerパケット611(第1の応答)を受信する(ステップA30)。応答受信部502は、受信したDHCP Offerパケット611に通知有効情報が含まれるかどうかを調べる(ステップA31)。具体的には、応答受信部502は、DHCP Offerパケット611のオプション60に「PXEClient」という文字列があるかどうかを調べる。
The
応答に通知有効情報が含まれていた場合(ステップA31のYES)、要求部501が、DHCP Offerパケット611の送信元における第2のポートに対して、管理状態情報を要求(第2の要求)を送信する(図6のステップA10)。具体的には、要求部501は、DHCP Requestパケット612(第2の要求)を、サーバ装置400のアドレスを宛先IPアドレスとし、さらにUDP:4011を宛先ポートとして送信する。要求部501は、複数のDHCP Offerパケット611に通知有効情報が含まれていた場合、それぞれのDHCP Offerパケット611の送信元に対して、DHCP Requestパケット612を送信する。
When the notification valid information is included in the response (YES in step A31), the
サーバ装置400においては、第2のポートに対して受信を待ち受けている要求受信部402が、DHCP Requestパケット612(第2の要求)を受信する(図6のステップB20)。このステップにおける要求受信部402の動作は、第2の実施形態における図3のステップB20の動作と基本的には同じである。すなわち、本実施形態では、要求のパケットの種類が、DHCP Discoverではなく、DHCP Requsetに置き換わる。
In the
次に、応答部403が、要求の送信元に対応する管理状態情報を含む応答(第2の応答)を送信する(ステップB21。)具体的には、応答部403は、管理状態情報111に基づいて、DHCPのオプション60に管理状態を表す情報を設定して、DHCP Ackパケット613(第2の応答)を端末装置500に対して送信する。このステップにおける応答部403の動作は、第2の実施形態における図3のステップB21の動作と基本的には同じである。すなわち、本実施形態では、応答のパケットの種類が、DHCP Offerではなく、DHCP Ackに置き換わる。このステップ、および、これ以降のサーバ装置400における動作である図6のステップB22およびB23は、第2の実施形態におけるサーバ装置100である図3のステップB22およびB23と同様であるので、重複する詳細な説明は省略する。
Next, the
一方、端末装置500においては、応答受信部502が、DHCP Requestパケット612(第2の要求)に対する応答として、DHCP Ackパケット613(第2の応答)を受信する(図6のステップA30)。今度は、応答に通知有効情報が含まれない(ステップA31のNO)ので、応答受信部502は、応答に含まれる管理状態情報に基づいて選択した応答の送信元を出力する(ステップA12)。このステップにおける応答受信部502の動作は、第2の実施形態における図3のステップA12の動作と基本的には同じである。すなわち、本実施形態では、応答のパケットの種類が、DHCP Offerではなく、DHCP Ackに置き換わる。このステップ、および、これ以降の端末装置500の動作は、第2の実施形態と同様であるので、重複する詳細な説明は省略する。
On the other hand, in the
なお、ステップA31において、応答受信部502は、受信した応答(DHCP OfferまたはDHCP Ack)に、通知有効情報および管理状態情報のいずれも含まれない場合は、そのような応答を除いて、上述した動作を行ってもよい。そのような応答は、一般的なDHCPサーバからの応答である可能性があるからである。
In step A31, when the received response (DHCP Offer or DHCP Ack) does not include any of the notification valid information and the management status information, the
また、通常のDHCPサービスを利用したい一般的なDHCPクライアント(図示せず)は、DHCPサーバ部401から、オプション60に通知有効情報が設定されたDHCP Offerパケット611を受信しても、その通知有効情報を参照しない。すなわち、一般的なDHCPクライアントは、DHCP Offerパケット611の一般的な応答内容に基づいて、DHCPサーバ部401に対して、DHCP Requestを送信することができる。その後、DHCPサーバ部401と、一般的なDHCPクライアントとは、通常のDHCPプロトコルに則って、アドレスの割り当てに係る通信を継続することができる。なお、IPアドレスの割り当てを受ける必要がある場合、端末装置500は、上記の一般的なDHCPクライアントと同様の動作をすることにより、DHCPサーバ部401からIPアドレスの割り当てを受けてもよい。
Even if a general DHCP client (not shown) who wants to use the normal DHCP service receives the
また、通知有効情報および管理状態情報を設定できる部分は、DHCPのオプション60には限られない。これらの情報は、DHCPの各種パケットにおいて、一般的なDHCPクライアントおよびDHCPサーバの動作に影響を及ぼさない部分であれば、どこにでも設定可能である。 Further, the portion where the notification valid information and the management status information can be set is not limited to the DHCP option 60. These pieces of information can be set anywhere in the various DHCP packets as long as they do not affect the operations of a general DHCP client and DHCP server.
また、本実施形態においては、端末装置500の要求部501は、設定情報などにより、第2のポートをあらかじめ保持していてもよい。または、要求部501は、DHCP Offerパケット611などにより、サーバ装置400から、第2のポートの情報を取得してもよい。
In the present embodiment, the
このようにして、本実施形態におけるサーバ装置400は、端末装置500の管理状態を、端末装置500に対して通知することができる。また、本実施形態におけるサーバ装置400および端末装置500は、DHCPサーバ部401による一般的なDHCPサービスとのポート競合を避けて、共存することができる。
Thus, the
以上、説明したように、本実施形態には、上述した各実施形態と同様の効果に加えて、さらに、同一のサーバ装置400において、一般的なDHCPサービスと、本実施形態によって説明される本発明の管理状態の通知サービスとを共存させることができるという効果もある。
As described above, in addition to the same effects as the above-described embodiments, the present embodiment further includes a general DHCP service and a book described by the present embodiment in the
その理由は、DHCPサーバ部401が、DHCP Offerパケットにおいて、一般的なDHCPクライアントの動作に影響しない部分に、管理状態を通知するサービスが有効であることを表す通知有効情報を設定するからである。そして、端末装置500の要求部501が、通知有効情報に基づいて、第2のポートにて待ち受けている要求受信部402に対して、改めて管理状態の情報を要求するからである。
This is because the
<ハードウェア構成例>
なお、上述した各実施形態において図1、図2、および図5に示した各部は、それぞれ独立したハードウェア回路で構成されていてもよいし、ソフトウェアプログラムの機能(処理)単位(ソフトウェアモジュール)と捉えることができる。ただし、これらの図面に示した各部の区分けは、説明の便宜上の構成であり、実装に際しては、様々な構成が想定され得る。このような場合のハードウェア環境の一例を、図8を参照して説明する。
<Hardware configuration example>
1, 2, and 5 in each of the above embodiments may be configured by independent hardware circuits, or a function (processing) unit (software module) of a software program Can be considered. However, the division of each part shown in these drawings is a configuration for convenience of explanation, and various configurations can be assumed for mounting. An example of the hardware environment in such a case will be described with reference to FIG.
図8は、本発明の各実施形態、および、その変形例に係るクライアントサーバシステムに適用可能なコンピュータ(情報処理装置)の構成を例示する図である。すなわち、図8は、上述した各実施形態におけるサーバ装置1、100A、100B、および400、端末装置10、200、および500、並びにルータ300の少なくとも何れかを実現可能なコンピュータの構成であって、上述した各実施形態における各機能を実現可能なハードウェア環境を示す。
FIG. 8 is a diagram illustrating a configuration of a computer (information processing apparatus) applicable to each embodiment of the present invention and the client server system according to the modification. That is, FIG. 8 is a configuration of a computer that can realize at least one of the
図8に示したコンピュータ900は、CPU(Central Processing Unit)901、ROM(Read Only Memory)902、RAM(Random Access Memory)903、通信インタフェース(IF:InterFace)904、ディスプレイ905、およびハードディスク装置(HDD:Hard Disk Drive)906を備え、これらがバス907を介して接続された構成を有する。なお、図8に示したコンピュータがサーバ装置1、100A、100B、および400、端末装置10、200、および500、並びにルータ300として機能する場合、ディスプレイ905は常時設けられる必要はない。
A
また、通信インタフェース904は、上述した各実施形態において、当該各コンピュータ間における通信を実現する一般的な通信手段である。ハードディスク装置906には、プログラム群906Aと、各種の記憶情報906Bとが格納されている。プログラム群906Aは、例えば、上述した図1、図2、および図5に示した各ブロック(各部)に対応する機能を実現するためのコンピュータ・プログラムである。各種の記憶情報906Bは、例えば、図2、および図5に示した管理状態情報111などである。このようなハードウェア構成において、CPU901は、コンピュータ900の全体の動作を司る。
The
そして、上述した各実施形態を例に説明した本発明は、各実施形態の説明において参照したブロック構成図(図1、図2、および図5)あるいはフローチャート(図3および図6)の機能を実現可能なコンピュータ・プログラムを供給した後、そのコンピュータ・プログラムを、当該ハードウェアのCPU901に読み出して実行することによって達成される。また、このコンピュータ内に供給されたコンピュータ・プログラムは、読み書き可能な一時記憶メモリであるRAM903またはハードディスク装置906などの不揮発性の記憶デバイス(記憶媒体)に格納すれば良い。
The present invention described by taking each of the embodiments described above as an example has the functions of the block configuration diagrams (FIGS. 1, 2, and 5) or the flowcharts (FIGS. 3 and 6) referenced in the description of each embodiment. After the feasible computer program is supplied, the computer program is read out and executed by the
また、上記の場合において、当該各装置内へのコンピュータ・プログラムの供給方法は、フロッピーディスク(登録商標)またはCD−ROM(Compact Disc−ROM)等の各種記録媒体を介して当該装置内にインストールする方法のように、現在では一般的な手順を採用することができる。当該各装置内へのコンピュータ・プログラムの供給方法としては、インターネット等の通信ネットワーク1000を介して外部よりダウンロードする方法も一般的である。そして、このような場合において、本発明は、係るコンピュータ・プログラムを構成するコード、或いは係るコードが記録されたところの、コンピュータ読み取り可能な記憶媒体によって構成されると捉えることができる。
In the above case, the computer program can be supplied to each apparatus by installing it in the apparatus via various recording media such as a floppy disk (registered trademark) or a CD-ROM (Compact Disc-ROM). Like the method to do now, a general procedure can be adopted. As a method of supplying a computer program into each device, a method of downloading from the outside via a
なお、上述した実施形態の一部または全部は、以下の付記のようにも記載されうるが、以下の付記に限定されるものではない。 Note that a part or all of the above-described embodiment can be described as the following supplementary notes, but is not limited to the following supplementary notes.
(付記1)
宛先を指定しない要求を伝送し、前記要求に対する所定のサービス情報を含む応答を要求元に返送する通信プロトコルを用いて、端末装置からの前記要求を受信する要求受信手段と、
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記端末装置の管理状態を表す管理状態情報を含む前記応答を、前記通信プロトコルを用いて送信する応答手段と
を含むサーバ装置。
(Appendix 1)
A request receiving means for transmitting a request not specifying a destination and receiving the request from the terminal device using a communication protocol for returning a response including predetermined service information to the request to the request source;
A server device comprising: response means for transmitting, using the communication protocol, the response that is management information that is at least different from the service information and represents the management status of the terminal device in response to the request .
(付記2)
前記通信プロトコルは、前記要求によって、リソースの提供を要求するプロトコルであって、
前記応答手段は、前記リソースの提供を行わずに、前記応答を送信する
付記1記載のサーバ装置。
(Appendix 2)
The communication protocol is a protocol for requesting provision of resources according to the request,
The server device according to
(付記3)
前記通信プロトコルとしてPXE(Preboot eXecution Environment)ブートプロトコルを用い、
前記要求受信手段は、前記要求としてDHCP(Dynamic Host Configuration Protocol) Discoverパケットを受信し、
前記応答手段は、前記応答として、前記管理状態情報を含むDHCP Offerパケットを送信する
付記1または2記載のサーバ装置。
(Appendix 3)
PXE (Preboot Execution Environment) boot protocol is used as the communication protocol,
The request receiving means receives a DHCP (Dynamic Host Configuration Protocol) Discover packet as the request,
The server device according to
(付記4)
第1のポートを介して前記要求を第1の要求として受信し、前記第1の要求に対する応答として、前記所定のサービス情報と、前記管理状態情報を含む応答を通知するサービスが提供できることを表す通知有効情報とを含む第1の応答を返送するサーバ手段をさらに備え、
前記要求受信手段は、前記第1のポートとは異なる第2のポートを介して、前記端末装置から前記通信プロトコルを用いて送られた第2の要求を受信し、
前記応答手段は、前記応答に替えて、前記第2の要求に対して、前記管理状態情報を含む第2の応答を、前記通信プロトコルを用いて送信する
付記1または2記載のサーバ装置。
(Appendix 4)
Represents that a service can be provided that receives the request as a first request via the first port and notifies the response including the predetermined service information and the management status information as a response to the first request. Server means for returning a first response including notification valid information;
The request receiving means receives a second request sent from the terminal device using the communication protocol via a second port different from the first port;
The server device according to
(付記5)
前記通信プロトコルとしてPXEブートプロトコルを用い、
前記サーバ手段は、前記第1の要求として、DHCP Discoverパケットを受信し、前記第1の応答として、前記通知有効情報を含むDHCP Offerパケットを送信し、
前記要求受信手段は、前記第2の要求として、DHCP Requestパケットを受信し、
前記応答手段は、前記第2の応答として、DHCP Ackパケットを送信する
付記4記載のサーバ装置。
(Appendix 5)
PXE boot protocol is used as the communication protocol,
The server means receives a DHCP Discover packet as the first request, and transmits a DHCP Offer packet including the notification valid information as the first response,
The request receiving means receives a DHCP Request packet as the second request,
The server device according to claim 4, wherein the response means transmits a DHCP Ack packet as the second response.
(付記6)
宛先を指定しない要求を1つ以上のサーバ装置に対して伝送し、前記各サーバ装置から前記要求に対する所定のサービス情報を含む応答を取得する通信プロトコルを用いて、宛先を指定しない前記要求を送信する要求手段と、
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記各サーバ装置における自機の管理状態を表す管理状態情報を含む前記各応答を、前記通信プロトコルを用いて受信し、少なくとも、前記管理状態情報に基づいて選択した前記応答の送信元を表す情報を出力する応答受信手段と
を含む端末装置。
(Appendix 6)
A request not specifying a destination is transmitted to one or more server devices, and the request not specifying a destination is transmitted using a communication protocol for obtaining a response including predetermined service information for the request from each server device. Requesting means, and
In response to the request, each of the responses is information different from the service information and includes management status information representing a management status of the server in each server device, using the communication protocol, and at least And a response receiving means for outputting information indicating a transmission source of the response selected based on the management status information.
(付記7)
前記通信プロトコルとしてPXE(Preboot eXecution Environment)ブートプロトコルを用い、
前記要求手段は、前記要求としてDHCP(Dynamic Host Configuration Protocol) Discoverパケットを送信し、
前記応答受信手段は、前記応答として、DHCP Offerパケットを受信する
付記6記載の端末装置。
(Appendix 7)
PXE (Preboot Execution Environment) boot protocol is used as the communication protocol,
The request means transmits a DHCP (Dynamic Host Configuration Protocol) Discover packet as the request,
The terminal device according to claim 6, wherein the response receiving unit receives a DHCP Offer packet as the response.
(付記8)
前記要求手段は、第1のポートに対して、前記要求を第1の要求として、前記通信プロトコルを用いて送信し、
前記応答受信手段は、
前記第1の要求に対する各応答として、前記通信プロトコルを用いて受信した各第1の応答に、前記管理状態情報を含む応答を通知するサービスが提供できることを表す通知有効情報が含まれていたことを認識した場合に、前記要求手段は、前記第1のポートとは異なる第2のポートに対して、第2の要求を送信し、
前記第2の要求に対する各応答として、前記通信プロトコルを用いて受信した各第2の応答に、前記管理状態情報が含まれる場合に、少なくとも、前記管理状態情報に基づいて選択した前記応答の送信元を表す情報を出力する
付記6または7記載の端末装置。
(Appendix 8)
The request means transmits the request as a first request to the first port using the communication protocol,
The response receiving means includes
As each response to the first request, notification valid information indicating that a service for notifying a response including the management status information can be provided in each first response received using the communication protocol. The request means transmits a second request to a second port different from the first port,
As each response to the second request, when the management status information is included in each second response received using the communication protocol, at least transmission of the response selected based on the management status information The terminal device according to appendix 6 or 7, wherein information representing the origin is output.
(付記9)
前記通信プロトコルとしてPXEブートプロトコルを用い、
前記要求手段は、前記第1の要求としてDHCP Discoverパケットを送信し、前記第2の要求としてDHCP Requestパケットを送信し、
前記応答受信手段は、前記第1の応答として、前記通知有効情報を含むDHCP Offerパケットを受信し、前記第2の応答として、前記管理状態情報を含むDHCP Ackパケットを受信する
付記8記載の端末装置。
(Appendix 9)
PXE boot protocol is used as the communication protocol,
The request means transmits a DHCP Discover packet as the first request, transmits a DHCP Request packet as the second request,
The terminal according to claim 8, wherein the response receiving unit receives a DHCP Offer packet including the notification valid information as the first response, and receives a DHCP Ack packet including the management state information as the second response. apparatus.
(付記10)
少なくとも1台の付記1乃至3のいずれか1つに記載のサーバ装置と、付記6または7記載の端末装置と、
または、
少なくとも1台の付記4または5に記載のサーバ装置と、付記8または9記載の端末装置とのいずれかを含み、
前記各サーバ装置における前記端末装置の管理状態を表す管理状態情報に基づいて選択された、前記応答の送信元を表す情報を前記端末装置において出力する
クライアントサーバシステム。
(Appendix 10)
At least one server device according to any one of
Or
Including at least one of the server device according to appendix 4 or 5, and the terminal device according to appendix 8 or 9,
A client server system that outputs, on the terminal device, information indicating a transmission source of the response selected based on management state information indicating the management state of the terminal device in each server device.
(付記11)
宛先を指定しない要求を伝送し、前記要求に対する所定のサービス情報を含む応答を要求元に返送する通信プロトコルを用いて、端末装置からの前記要求を受信し、
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記端末装置の管理状態を表す管理状態情報を含む前記応答を、前記通信プロトコルを用いて送信する
通知方法。
(Appendix 11)
Transmitting a request not specifying a destination, using a communication protocol that returns a response including predetermined service information to the request to the request source, receiving the request from the terminal device,
A notification method for transmitting the response using the communication protocol, which is information different from at least the service information and including management status information indicating a management status of the terminal device, in response to the request.
(付記12)
前記通信プロトコルは、前記要求によって、リソースの提供を要求するプロトコルであって、
前記応答を送信する際、前記リソースの提供を行わずに、前記応答を送信する
付記11記載の通知方法。
(Appendix 12)
The communication protocol is a protocol for requesting provision of resources according to the request,
The notification method according to
(付記13)
前記通信プロトコルとしてPXE(Preboot eXecution Environment)ブートプロトコルを用い、
前記要求としてDHCP(Dynamic Host Configuration Protocol) Discoverパケットを受信し、
前記応答として、前記管理状態情報を含むDHCP Offerパケットを送信する
付記11または12記載の通知方法。
(Appendix 13)
PXE (Preboot Execution Environment) boot protocol is used as the communication protocol,
As a request, a DHCP (Dynamic Host Configuration Protocol) Discover packet is received,
The notification method according to claim 11 or 12, wherein a DHCP Offer packet including the management status information is transmitted as the response.
(付記14)
前記要求を受信する際、第1のポートを介して前記要求を第1の要求として受信し、
前記第1の要求に対する応答として、前記所定のサービス情報と、前記管理状態情報を含む応答を通知するサービスが提供できることを表す通知有効情報とを含む第1の応答を、さらに返送し、
前記第1の応答を返送した後に、前記第1のポートとは異なる第2のポートを介して、前記端末装置から前記通信プロトコルを用いて送られた第2の要求を受信し、
前記応答にの送信に替えて、前記第2の要求に対する、前記管理状態情報を含む第2の応答を、前記通信プロトコルを用いて送信する
付記11または12記載の通知方法。
(Appendix 14)
When receiving the request, the request is received as a first request via a first port;
As a response to the first request, a first response including the predetermined service information and notification valid information indicating that a service for notifying a response including the management state information can be provided is returned.
After returning the first response, receiving a second request sent from the terminal device using the communication protocol via a second port different from the first port;
The notification method according to claim 11 or 12, wherein, instead of transmitting the response, a second response including the management state information is transmitted using the communication protocol in response to the second request.
(付記15)
前記通信プロトコルとしてPXEブートプロトコルを用い、
前記第1の要求として、DHCP Discoverパケットを受信し、
前記第1の応答として、前記通知有効情報を含むDHCP Offerパケットを送信し、
前記第2の要求として、DHCP Requestパケットを受信し、
前記第2の応答として、DHCP Ackパケットを送信する
付記14記載の通知方法。
(Appendix 15)
PXE boot protocol is used as the communication protocol,
Receiving a DHCP Discover packet as the first request;
As the first response, a DHCP Offer packet including the notification valid information is transmitted,
Receiving a DHCP Request packet as the second request;
The notification method according to claim 14, wherein a DHCP Ack packet is transmitted as the second response.
(付記16)
宛先を指定しない要求を1つ以上のサーバ装置に対して伝送し、前記各サーバ装置から前記要求に対する所定のサービス情報を含む応答を取得する通信プロトコルを用いて、宛先を指定しない前記要求を送信し、
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記各サーバ装置における自機の管理状態を表す管理状態情報を含む前記各応答を、前記通信プロトコルを用いて受信し、
少なくとも、前記管理状態情報に基づいて選択した前記応答の送信元を表す情報を出力する
情報取得方法。
(Appendix 16)
A request not specifying a destination is transmitted to one or more server devices, and the request not specifying a destination is transmitted using a communication protocol for obtaining a response including predetermined service information for the request from each server device. And
In response to the request, each response including the management status information that is different from the service information and represents the management status of the server in each server device is received using the communication protocol,
An information acquisition method for outputting at least information indicating a transmission source of the response selected based on the management state information.
(付記17)
前記通信プロトコルとしてPXE(Preboot eXecution Environment)ブートプロトコルを用い、
前記要求として、DHCP(Dynamic Host Configuration Protocol) Discoverパケットを送信し、
前記応答として、DHCP Offerパケットを受信する
付記16記載の情報取得方法。
(Appendix 17)
PXE (Preboot Execution Environment) boot protocol is used as the communication protocol,
As the request, a DHCP (Dynamic Host Configuration Protocol) Discover packet is transmitted,
The information acquisition method according to claim 16, wherein a DHCP Offer packet is received as the response.
(付記18)
前記要求を送信する際、第1のポートに対して、前記要求を第1の要求として、前記通信プロトコルを用いて送信し、
前記第1の要求に対する各応答を各第1の応答として、前記通信プロトコルを用いて受信し、
前記第1の各応答に、前記管理状態情報を含む応答を通知するサービスが提供できることを表す通知有効情報が含まれていた場合に、前記第1のポートとは異なる第2のポートに対して、第2の要求を送信し、
前記第2の要求に対する各応答を各第2の応答として、前記通信プロトコルを用いて受信し、
前記各第2の応答に、前記管理状態情報が含まれる場合に、少なくとも、前記管理状態情報に基づいて選択した前記応答の送信元を表す情報を出力する
付記16または17記載の情報取得方法。
(Appendix 18)
When transmitting the request, the request is transmitted to the first port as the first request using the communication protocol,
Receiving each response to the first request as each first response using the communication protocol;
When each of the first responses includes notification valid information indicating that a service for notifying a response including the management status information can be provided, the second response is different from the first port. Send a second request,
Receiving each response to the second request as each second response using the communication protocol;
18. The information acquisition method according to appendix 16 or 17, wherein when each of the second responses includes the management status information, at least information indicating a transmission source of the response selected based on the management status information is output.
(付記19)
前記通信プロトコルとしてPXEブートプロトコルを用い、
前記第1の要求として、DHCP Discoverパケットを送信し、
前記第2の要求として、DHCP Requestパケットを送信し、
前記第1の応答として、前記通知有効情報を含むDHCP Offerパケットを受信し、
前記第2の応答として、前記管理状態情報を含むDHCP Ackパケットを受信する
付記18記載の情報取得方法。
(Appendix 19)
PXE boot protocol is used as the communication protocol,
Sending a DHCP Discover packet as the first request;
A DHCP Request packet is transmitted as the second request;
As the first response, a DHCP Offer packet including the notification valid information is received,
The information acquisition method according to claim 18, wherein a DHCP Ack packet including the management state information is received as the second response.
(付記20)
宛先を指定しない要求を伝送し、前記要求に対する所定のサービス情報を含む応答を要求元に返送する通信プロトコルを用いて、端末装置からの前記要求を受信する要求受信処理と、
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記端末装置の管理状態を表す管理状態情報を含む前記応答を、前記通信プロトコルを用いて送信する応答処理と
をコンピュータに実行させる第1のコンピュータ・プログラム。
(Appendix 20)
A request reception process for transmitting a request not specifying a destination and receiving the request from a terminal device using a communication protocol for returning a response including predetermined service information to the request to the request source;
In response to the request, a response process that transmits at least the response information including the management status information indicating the management status of the terminal device using the communication protocol is information different from the service information. A first computer program to be executed.
(付記21)
前記通信プロトコルは、前記要求によって、リソースの提供を要求するプロトコルであって、
前記応答処理において、前記リソースの提供を行わずに、前記応答を送信する
付記20記載の第1のコンピュータ・プログラム。
(Appendix 21)
The communication protocol is a protocol for requesting provision of resources according to the request,
21. The first computer program according to appendix 20, wherein in the response process, the response is transmitted without providing the resource.
(付記22)
前記通信プロトコルとしてPXE(Preboot eXecution Environment)ブートプロトコルを用い、
前記要求受信処理において、前記要求としてDHCP(Dynamic Host Configuration Protocol) Discoverパケットを受信し、
前記応答処理において、前記応答として、前記管理状態情報を含むDHCP Offerパケットを送信する
付記20または21記載の第1のコンピュータ・プログラム。
(Appendix 22)
PXE (Preboot Execution Environment) boot protocol is used as the communication protocol,
In the request reception process, a DHCP (Dynamic Host Configuration Protocol) Discover packet is received as the request,
The first computer program according to appendix 20 or 21, wherein, in the response process, a DHCP Offer packet including the management status information is transmitted as the response.
(付記23)
第1のポートを介して前記要求を第1の要求として受信し、前記第1の要求に対する応答として、前記所定のサービス情報と、前記管理状態情報を含む応答を通知するサービスが提供できることを表す通知有効情報とを含む第1の応答を返送するサーバ処理を、さらに実行し、
前記要求受信処理において、前記第1のポートとは異なる第2のポートを介して、前記端末装置から前記通信プロトコルを用いて送られた第2の要求を受信し、
前記応答処理において、前記応答に替えて、前記第2の要求に対して、前記管理状態情報を含む第2の応答を、前記通信プロトコルを用いて送信する
付記20または21記載の第1のコンピュータ・プログラム。
(Appendix 23)
Represents that a service can be provided that receives the request as a first request via the first port and notifies the response including the predetermined service information and the management status information as a response to the first request. And further executing a server process for returning a first response including notification valid information,
In the request reception process, a second request sent from the terminal device using the communication protocol is received via a second port different from the first port;
In the response processing, instead of the response, a second response including the management status information is transmitted using the communication protocol in response to the second request. First computer according to appendix 20 or 21 ·program.
(付記24)
前記通信プロトコルとしてPXEブートプロトコルを用い、
前記サーバ処理において、前記第1の要求として、DHCP Discoverパケットを受信し、前記第1の応答として、前記通知有効情報を含むDHCP Offerパケットを送信し、
前記要求受信処理において、前記第2の要求として、DHCP Requestパケットを受信し、
前記応答処理において、前記第2の応答として、DHCP Ackパケットを送信する
付記23記載の第1のコンピュータ・プログラム。
(Appendix 24)
PXE boot protocol is used as the communication protocol,
In the server process, a DHCP Discover packet is received as the first request, and a DHCP Offer packet including the notification valid information is transmitted as the first response,
In the request reception process, a DHCP Request packet is received as the second request,
24. The first computer program according to attachment 23, wherein, in the response process, a DHCP Ack packet is transmitted as the second response.
(付記25)
宛先を指定しない要求を1つ以上のサーバ装置に対して伝送し、前記各サーバ装置から前記要求に対する所定のサービス情報を含む応答を取得する通信プロトコルを用いて、宛先を指定しない前記要求を送信する要求処理と、
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記各サーバ装置における自機の管理状態を表す管理状態情報を含む前記各応答を、前記通信プロトコルを用いて受信し、少なくとも、前記管理状態情報に基づいて選択した前記応答の送信元を表す情報を出力する応答受信処理と
をコンピュータに実行させる第2のコンピュータ・プログラム。
(Appendix 25)
A request not specifying a destination is transmitted to one or more server devices, and the request not specifying a destination is transmitted using a communication protocol for obtaining a response including predetermined service information for the request from each server device. Request processing to
In response to the request, each of the responses is information different from the service information and includes management status information representing a management status of the server in each server device, using the communication protocol, and at least A second computer program that causes a computer to execute response reception processing that outputs information indicating a transmission source of the response selected based on the management state information.
(付記26)
前記通信プロトコルとしてPXE(Preboot eXecution Environment)ブートプロトコルを用い、
前記要求処理において、前記要求としてDHCP(Dynamic Host Configuration Protocol) Discoverパケットを送信し、
前記応答受信処理において、前記応答として、DHCP Offerパケットを受信する
付記25記載の第2のコンピュータ・プログラム。
(Appendix 26)
PXE (Preboot Execution Environment) boot protocol is used as the communication protocol,
In the request processing, a DHCP (Dynamic Host Configuration Protocol) Discover packet is transmitted as the request,
26. The second computer program according to attachment 25, wherein in the response reception process, a DHCP Offer packet is received as the response.
(付記27)
前記要求処理において、第1のポートに対して、前記要求を第1の要求として、前記通信プロトコルを用いて送信し、前記応答受信処理において、前記第1の要求に対する各応答として、前記通信プロトコルを用いて受信した各第1の応答に、前記管理状態情報を含む応答を通知するサービスが提供できることを表す通知有効情報が含まれることを認識した場合に、前記第1のポートとは異なる第2のポートに対して、第2の要求を送信し、
前記応答受信処理において、前記第2の要求に対する各応答として、前記通信プロトコルを用いて受信した各第2の応答に、前記管理状態情報が含まれること認識した場合に、少なくとも、前記管理状態情報に基づいて選択した前記応答の送信元を表す情報を出力する
付記25または26記載の第2のコンピュータ・プログラム。
(Appendix 27)
In the request processing, the request is transmitted as a first request to the first port using the communication protocol, and in the response reception processing, the communication protocol is used as each response to the first request. Different from the first port when it is recognized that each first response received by using the notification valid information indicating that the service notifying the response including the management status information can be provided. Send a second request to two ports,
In the response reception process, when it is recognized that each management response information is included in each second response received using the communication protocol as each response to the second request, at least the management status information 27. The second computer program according to appendix 25 or 26, wherein information representing a transmission source of the response selected based on is output.
(付記28)
前記通信プロトコルとしてPXEブートプロトコルを用い、
前記要求処理において、前記第1の要求としてDHCP Discoverパケットを送信し、前記第2の要求としてDHCP Requestパケットを送信し、
前記応答受信処理において、前記第1の応答として、前記通知有効情報を含むDHCP Offerパケットを受信し、前記第2の応答として、前記管理状態情報を含むDHCP Ackパケットを受信する
付記27記載の第2のコンピュータ・プログラム。
(Appendix 28)
PXE boot protocol is used as the communication protocol,
In the request processing, a DHCP Discover packet is transmitted as the first request, a DHCP Request packet is transmitted as the second request,
28. In the response reception process, a DHCP Offer packet including the notification valid information is received as the first response, and a DHCP Ack packet including the management status information is received as the second response. 2. Computer program.
1、100、400 サーバ装置
2、102、402 要求受信部
3、103、403 応答部
110 記憶装置
111 管理状態情報
120 サービスサーバ部
10、200、500 端末装置
11、201、501 要求部
12、202、502 応答受信部
210 サービスクライアント部
300 ルータ
301 転送部
401 DHCPサーバ部(サーバ部)
900 情報処理装置(コンピュータ)
901 CPU
902 ROM
903 RAM
904 通信インタフェース(IF)
905 ディスプレイ
906 ハードディスク装置(HDD)
906A プログラム群
906B 各種の記憶情報
907 バス
1000、1001 通信ネットワーク(ネットワーク)
1, 100, 400
900 Information processing device (computer)
901 CPU
902 ROM
903 RAM
904 Communication interface (IF)
905
Claims (10)
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記端末装置の管理状態を表す管理状態情報を含む前記応答を、前記通信プロトコルを用いて送信する応答手段と
を含むサーバ装置。 A request receiving means for transmitting a request not specifying a destination and receiving the request from the terminal device using a communication protocol for returning a response including predetermined service information to the request to the request source;
A server device comprising: response means for transmitting, using the communication protocol, the response that is management information that is at least different from the service information and represents the management status of the terminal device in response to the request .
前記応答手段は、前記リソースの提供を行わずに、前記応答を送信する
請求項1記載のサーバ装置。 The communication protocol is a protocol for requesting provision of resources according to the request,
The server device according to claim 1, wherein the response unit transmits the response without providing the resource.
前記要求受信手段は、前記第1のポートとは異なる第2のポートを介して、前記端末装置から前記通信プロトコルを用いて送られた第2の要求を受信し、
前記応答手段は、前記応答に替えて、前記第2の要求に対して、前記管理状態情報を含む第2の応答を、前記通信プロトコルを用いて送信する
請求項1または2記載のサーバ装置。 Represents that a service can be provided that receives the request as a first request via the first port and notifies the response including the predetermined service information and the management status information as a response to the first request. Server means for returning a first response including notification valid information;
The request receiving means receives a second request sent from the terminal device using the communication protocol via a second port different from the first port;
The server device according to claim 1, wherein the response unit transmits a second response including the management state information to the second request using the communication protocol instead of the response.
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記各サーバ装置における自機の管理状態を表す管理状態情報を含む前記各応答を、前記通信プロトコルを用いて受信し、少なくとも、前記管理状態情報に基づいて選択した前記応答の送信元を表す情報を出力する応答受信手段と
を含む端末装置。 A request not specifying a destination is transmitted to one or more server devices, and the request not specifying a destination is transmitted using a communication protocol for obtaining a response including predetermined service information for the request from each server device. Requesting means, and
In response to the request, each of the responses is information different from the service information and includes management status information representing a management status of the server in each server device, using the communication protocol, and at least And a response receiving means for outputting information indicating a transmission source of the response selected based on the management status information.
前記応答受信手段は、
前記第1の要求に対する各応答として、前記通信プロトコルを用いて受信した各第1の応答に、前記管理状態情報を含む応答を通知するサービスが提供できることを表す通知有効情報が含まれていたことを認識した場合に、前記要求手段は、前記第1のポートとは異なる第2のポートに対して、第2の要求を送信し、
前記第2の要求に対する各応答として、前記通信プロトコルを用いて受信した各第2の応答に、前記管理状態情報が含まれる場合に、少なくとも、前記管理状態情報に基づいて選択した前記応答の送信元を表す情報を出力する
請求項4記載の端末装置。 The request means transmits the request as a first request to the first port using the communication protocol,
The response receiving means includes
As each response to the first request, notification valid information indicating that a service for notifying a response including the management status information can be provided in each first response received using the communication protocol. The request means transmits a second request to a second port different from the first port,
As each response to the second request, when the management status information is included in each second response received using the communication protocol, at least transmission of the response selected based on the management status information The terminal device according to claim 4, wherein information representing the origin is output.
または、
少なくとも1台の請求項3に記載のサーバ装置と、請求項5記載の端末装置と、
のいずれかを含み、
前記各サーバ装置における前記端末装置の管理状態を表す管理状態情報に基づいて選択された、前記応答の送信元を表す情報を前記端末装置において出力する
クライアントサーバシステム。 At least one server device according to any one of claims 1 or 2, and a terminal device according to claim 4,
Or
At least one server device according to claim 3, and a terminal device according to claim 5,
Including either
A client server system that outputs, on the terminal device, information indicating a transmission source of the response selected based on management state information indicating the management state of the terminal device in each server device.
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記端末装置の管理状態を表す管理状態情報を含む前記応答を、前記通信プロトコルを用いて送信する
通知方法。 Transmitting a request not specifying a destination, using a communication protocol that returns a response including predetermined service information to the request to the request source, receiving the request from the terminal device,
A notification method for transmitting the response using the communication protocol, which is information different from at least the service information and including management status information indicating a management status of the terminal device, in response to the request.
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記各サーバ装置における自機の管理状態を表す管理状態情報を含む前記各応答を、前記通信プロトコルを用いて受信し、
少なくとも、前記管理状態情報に基づいて選択した前記応答の送信元を表す情報を出力する
情報取得方法。 A request not specifying a destination is transmitted to one or more server devices, and the request not specifying a destination is transmitted using a communication protocol for obtaining a response including predetermined service information for the request from each server device. And
In response to the request, each response including the management status information that is different from the service information and represents the management status of the server in each server device is received using the communication protocol,
An information acquisition method for outputting at least information indicating a transmission source of the response selected based on the management state information.
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記端末装置の管理状態を表す管理状態情報を含む前記応答を、前記通信プロトコルを用いて送信する応答処理と
をコンピュータに実行させる第1のコンピュータ・プログラム。 A request reception process for transmitting a request not specifying a destination and receiving the request from a terminal device using a communication protocol for returning a response including predetermined service information to the request to the request source;
In response to the request, a response process that transmits at least the response information including the management status information indicating the management status of the terminal device using the communication protocol is information different from the service information. A first computer program to be executed.
前記要求に対して、少なくとも前記サービス情報とは異なる情報であって、前記各サーバ装置における自機の管理状態を表す管理状態情報を含む前記各応答を、前記通信プロトコルを用いて受信し、少なくとも、前記管理状態情報に基づいて選択した前記応答の送信元を表す情報を出力する応答受信処理と
をコンピュータに実行させる第2のコンピュータ・プログラム。 A request not specifying a destination is transmitted to one or more server devices, and the request not specifying a destination is transmitted using a communication protocol for obtaining a response including predetermined service information for the request from each server device. Request processing to
In response to the request, each of the responses is information different from the service information and includes management status information representing a management status of the server in each server device, using the communication protocol, and at least A second computer program that causes a computer to execute response reception processing that outputs information indicating a transmission source of the response selected based on the management state information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016058752A JP6665620B2 (en) | 2016-03-23 | 2016-03-23 | Server device, terminal device, client server system, notification method, information acquisition method, and computer program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016058752A JP6665620B2 (en) | 2016-03-23 | 2016-03-23 | Server device, terminal device, client server system, notification method, information acquisition method, and computer program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017175361A true JP2017175361A (en) | 2017-09-28 |
JP6665620B2 JP6665620B2 (en) | 2020-03-13 |
Family
ID=59973259
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016058752A Active JP6665620B2 (en) | 2016-03-23 | 2016-03-23 | Server device, terminal device, client server system, notification method, information acquisition method, and computer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6665620B2 (en) |
-
2016
- 2016-03-23 JP JP2016058752A patent/JP6665620B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP6665620B2 (en) | 2020-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10123262B2 (en) | Gateway advertisement in a wireless mesh | |
EP2214383B1 (en) | Automatically releasing resources reserved for subscriber devices within a broadband access network | |
US8385230B2 (en) | Automatic network address assignment in a wireless mesh | |
US8458303B2 (en) | Utilizing a gateway for the assignment of internet protocol addresses to client devices in a shared subset | |
JP5220920B2 (en) | Method, apparatus, and software for a client application program to access a server application program instance over an Internet Protocol (IP) network | |
CN105993161B (en) | Element, method, system and computer readable storage device for resolving an address | |
US10255621B2 (en) | Services advertisement in a wireless mesh | |
JP2008028914A (en) | Device and method for reducing communication load, and program | |
US9043492B2 (en) | Method to publish remote management services over link local network for zero-touch discovery, provisioning and management | |
EP2656591B1 (en) | DNS proxy service for multi-core platforms | |
EP2656590B1 (en) | DNS forwarder for multi-core platforms | |
JP2001326656A (en) | Network system and network unit | |
JP3609948B2 (en) | Multiprotocol network management method, multiprotocol network management proxy server system, multiprotocol address management server system, and multiprotocol network management system | |
JP5638063B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM | |
JP3930516B2 (en) | Server apparatus, server system, and server system load balancing method | |
JP6665620B2 (en) | Server device, terminal device, client server system, notification method, information acquisition method, and computer program | |
JP2010193015A (en) | Communication apparatus and communication method thereof | |
JP3864397B2 (en) | User edge router, gateway router, multihoming communication system, multihoming communication method, and multihoming communication program | |
JP2010062598A (en) | Load sharing method and dhcp server device | |
JP2015053076A (en) | Image forming system, image terminal equipment, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190215 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20191108 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20191119 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200107 |
|
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: 20200121 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200203 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6665620 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |