JP2007036455A - Network control method and information processing apparatus - Google Patents
Network control method and information processing apparatus Download PDFInfo
- Publication number
- JP2007036455A JP2007036455A JP2005214379A JP2005214379A JP2007036455A JP 2007036455 A JP2007036455 A JP 2007036455A JP 2005214379 A JP2005214379 A JP 2005214379A JP 2005214379 A JP2005214379 A JP 2005214379A JP 2007036455 A JP2007036455 A JP 2007036455A
- Authority
- JP
- Japan
- Prior art keywords
- address
- server
- control method
- network
- indefinite
- 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.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、ローカルエリアネットワーク(LAN)環境にある各種の機器において、リジューム機能を搭載した装置の制御技術に関する。 The present invention relates to a control technology for an apparatus equipped with a resume function in various devices in a local area network (LAN) environment.
ローカルエリアネットワーク(LAN)には、DHCP(Dynamic Host Configuration Protocol) というプロトコルがある。DHCPとは、ネットワーク上にDHCPサーバを設置し、同様にネットワークに繋がれたクライアントPCに対し、動的にIPアドレスを割り当てる方法である(非特許文献1参照)。 The local area network (LAN) has a protocol called DHCP (Dynamic Host Configuration Protocol). DHCP is a method in which a DHCP server is installed on a network and an IP address is dynamically assigned to a client PC similarly connected to the network (see Non-Patent Document 1).
固定IPを利用する場合、ネットワークの管理者はIPアドレスを管理し、このIPをクライアント毎に割り振り、クライアントはこのIPアドレスを設定する必要があった。この固定IPアドレスを割り振るネットワーク環境においては、管理者がネットワークを常に管理しなければならないため管理者に負担が掛かるということや、クライアントのIPアドレスの設定ミスによって、ネットワークに多大な影響を与える可能性がある。 When a fixed IP is used, a network administrator manages an IP address, assigns this IP to each client, and the client needs to set this IP address. In a network environment in which this fixed IP address is allocated, the administrator must always manage the network, which places a burden on the administrator, and a misconfiguration of the client's IP address can greatly affect the network. There is sex.
しかし、DHCPでは、DHCPサーバがネットワークに繋がれたクライアントPCの要求に応じてIPアドレスを自動的に割り振ることが可能になる。このため、DHCPを用いることにより、今まで、ネットワークの構成が変更するたびにIPアドレスを設定し直すという煩雑な手間を省くことができるようになった。 However, in DHCP, it becomes possible for a DHCP server to automatically assign an IP address in response to a request from a client PC connected to the network. For this reason, by using DHCP, it has been possible to save the troublesome work of resetting the IP address every time the network configuration is changed.
DHCPではIPアドレスの割り当てに関して次の3つの方法がある。 In DHCP, there are the following three methods for assigning IP addresses.
「自動割り当て」では、DHCPはそのクライアントがずっと使用していいアドレスを割り当てる。「動的割り当て」では、DHCPサーバは、クライアントPCにアドレスを一定時間リースする。「手動割り当て」では、ネットワーク管理者が割り当てられるIPアドレスを決めておき、DHCPサーバは、単にクライアントPCにIPアドレスを配布するためだけに使用される。 In "automatic assignment", DHCP assigns an address that the client can use all the time. In “dynamic allocation”, the DHCP server leases an address to the client PC for a certain period of time. In “manual assignment”, the network administrator determines an IP address to be assigned, and the DHCP server is used only for distributing the IP address to the client PC.
このうち「動的割り当て」ではDHCPサーバがクライアントPCに対して一定期間IPアドレスを割り当てる方法である。この「動的割り当て」の仕組みは、クライアントがIPアドレスを使用したい旨を要求し、DHCPサーバがIPアドレスを割り振ったら、そのIPアドレスを他のクライアントに割り当てをしないようにする。クライアントがそのネットワークから外れた場合、DHCPサーバは、同じIPアドレスを他のクライアントに割り当てても良い。この再利用の操作によりIPアドレスの枯渇を防ぐことになる。このように限られたIPアドレスを効率的に使用することができるため、もっとも多く用いられている。 Among these methods, “dynamic allocation” is a method in which a DHCP server allocates an IP address to a client PC for a certain period. This “dynamic allocation” mechanism requests that a client wants to use an IP address, and when a DHCP server allocates an IP address, the IP address is not allocated to another client. If a client leaves the network, the DHCP server may assign the same IP address to other clients. This reuse operation prevents IP address exhaustion. Since such a limited IP address can be used efficiently, it is most often used.
この、「動的割り当て」では、サーバとクライアント間で以下のようにネゴシエーションしてIPアドレスをリースする。 In this “dynamic allocation”, the IP address is leased by negotiating between the server and the client as follows.
1)IPアドレスを要求するDHCPDISCOVERの信号をブロードキャストする。 1) Broadcast a DHCPDISCOVER signal requesting an IP address.
2)DHCPサーバからの応答であるDHCPOFFER 信号を受ける。 2) Receive a DHCPOFFER signal, which is a response from the DHCP server.
3)IPアドレスの割り当てをDHCPサーバへ要求するDHCPREQUEST を送る。 3) Send DHCPREQUEST requesting DHCP server to assign IP address.
4)DHCPサーバがIPアドレスを割り当てたことを伝えるDHCPACK を受ける。 4) Receive a DHCPACK telling that the DHCP server has assigned an IP address.
一方で近年、ノートパソコン等のモバイル機器が普及してきているが、そのようなモバイル機器では消費電力を抑え、内蔵電池でより長時間の使用が出来ることが求められている。 On the other hand, in recent years, mobile devices such as notebook personal computers have become widespread, but such mobile devices are required to reduce power consumption and be able to be used for a longer time with a built-in battery.
又、昨今、全世界的に消費電力の低下を推進する動きが広がっている。国家レベルで規制を設け、環境基準を設け規制を満たしていない電化製品には、販売の認可を与えない、等の制限を設ける場合もある。今後消費電力においても同様に規制が厳しくなっていくと考えられる。 In recent years, there has been a worldwide movement to promote a reduction in power consumption. There are cases where restrictions are set, such as not permitting sales of electrical appliances that have regulations at the national level and that do not meet environmental regulations. In the future, regulations on power consumption will also become stricter.
このため、今後市場に出る装置には、リジューム機能を持たせることが必要になると考えられる。リジューム機能とはユーザーが使用してない間、機能の一部を停止させ、消費電力を低減させ、ユーザーの操作やユーザーが使用する別のホストからのアクセスがあると通常状態に復帰する機能である。 For this reason, it is considered that it is necessary to provide a resume function for the devices that will be put on the market in the future. The resume function is a function that stops part of the function while the user is not using it, reduces power consumption, and returns to the normal state when there is a user operation or access from another host used by the user. is there.
しかし、DHCP環境において、リジューム機能を使用することに対しては、問題点がある。 However, there is a problem with using the resume function in the DHCP environment.
DHCP環境でのリジュームの方法として、クライアントがIPアドレスを保持したままスリープ・モードに移行する方法を採るとリジューム時にIPアドレスの重複が発生してしまう。一方、スリープ・モード移行時にIPアドレスを開放してからスリープ・モードになる方法を採ると、先に説明したようなIPアドレスリースのネゴシエーションが必要であるため、リジューム時に長時間要してしまう。 As a resume method in the DHCP environment, when the client shifts to the sleep mode while holding the IP address, duplication of the IP address occurs during the resume. On the other hand, if the method of entering the sleep mode after releasing the IP address at the time of transition to the sleep mode is required, negotiation for the IP address lease as described above is necessary, and thus it takes a long time for resuming.
この問題を回避するため、従来の技術では、或るネットワーク機器がスリープ・モードになるとき、他のネットワーク機器に代理でパケット処理を行わせる方法が提案されている(特許文献1参照)。
しかし、従来の技術では、代理でパケット処理をする装置がスリープ・モードに入ることができなくなってしまう。 However, in the conventional technique, a device that performs packet processing on behalf of the proxy cannot enter the sleep mode.
又、代理のネットワーク機器がスリープ・モード若しくはOFFになった場合や、ネットワーク構成が変更された場合にトラブルが発生してしまう。 In addition, trouble occurs when the proxy network device is in the sleep mode or turned off, or when the network configuration is changed.
本発明は上記問題に鑑みてなされたもので、その目的とする処は、IP取得のためのリジュームの頻度を減らすことによって省電力化を図ることができるネットワーク制御方法及び情報処理装置を提供することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a network control method and an information processing apparatus that can save power by reducing the frequency of resume for IP acquisition. There is.
請求項1記載の発明は、ネットワーク通信制御手段と省電力機能を備える情報処理装置のネットワーク制御方法において、ネットワーク接続時にDHCPのプロトコルに従い、IPアドレスを取得する制御を行うとき、リース期限がより長いIPアドレスを取得する制御を行うことを特徴とするネットワーク制御方法である。 According to the first aspect of the present invention, in the network control method of the information processing apparatus having the network communication control means and the power saving function, the lease expiration time is longer when performing control to acquire the IP address according to the DHCP protocol when connected to the network. A network control method characterized by performing control for acquiring an IP address.
請求項2記載の発明は、前記ネットワーク制御方法において、ネットワーク接続時にDHCPのプロトコルに従い、IPアドレスを取得する制御を行うとき、リース期限が無期限であるIPアドレスを要求するパケットを送信することを特徴とする請求項1のネットワーク制御方法である。 According to the second aspect of the present invention, in the network control method, when performing control to acquire an IP address according to a DHCP protocol when connected to a network, a packet requesting an IP address with an indefinite lease time limit is transmitted. The network control method according to claim 1, wherein
請求項3記載の発明は、前記ネットワーク制御方法において、リース期限が無期限であるIPアドレスを要求するパケットを送信した後、1つ以上のIPアドレス使用を許可するパケットを受信し、その中にリース期限が無期限であるIPアドレスを提供するサーバがあった場合、リース期限が無期限であるIPアドレスを提供するサーバを選択することを特徴とする請求項2のネットワーク制御方法である。
According to a third aspect of the present invention, in the network control method, after transmitting a packet requesting an IP address whose lease term is indefinite, a packet permitting the use of one or more IP addresses is received. 3. The network control method according to
請求項4記載の発明は、前記ネットワーク制御方法において、リース期限が無期限であるIPアドレスを要求するパケットを送信した後、IPアドレス使用を許可するパケットを受信しなかった場合、装置のパワーマネジメントに有効であるリース期限を設定して、IPアドレスを要求するパケットを送信することを特徴とする請求項2のネットワーク制御方法である。
According to a fourth aspect of the present invention, in the network control method, when a packet requesting an IP address with an indefinite lease period is transmitted and no packet permitting use of the IP address is received, the power management of the
請求項5記載の発明は、前記ネットワーク制御方法において、リース期限が無期限であるIPアドレスを要求するパケットを送信した後、IPアドレス使用を許可するパケットを受信しなかった場合、リース期限が無期限である要求を外して、再びIPアドレスを要求するパケットを送信することを特徴とする請求項2のネットワーク制御方法である。
According to a fifth aspect of the present invention, in the network control method, if a packet requesting use of an IP address is not received after transmitting a packet requesting an IP address whose lease time is indefinite, the lease time is not expired. 3. The network control method according to
請求項6記載の発明は、前記ネットワーク制御方法において、リース期限が無期限であるIPアドレスを要求するパケットを送信した後、1つ以上のIPアドレス使用を許可するパケットを受信し、その中にリース期限が無期限であるIPアドレスを提供するサーバがなかった場合、リース期限が無期限である要求を外して、再びIPアドレスを要求するパケットを送信することを特徴とする請求項2のネットワーク制御方法である。
According to a sixth aspect of the present invention, in the network control method, after transmitting a packet requesting an IP address whose lease time is indefinite, a packet permitting use of one or more IP addresses is received, 3. The network according to
請求項7記載の発明は、前記ネットワーク制御方法において、リース期限が無期限であるIPアドレスを要求するパケットを送信した後、1つ以上のIPアドレス使用を許可するパケットを受信し、その中にリース期限が無期限であるIPアドレスを提供するサーバがなかった場合、装置のパワーマネジメントに有効であるリース期限を提供するサーバを選択することを特徴とする請求項2のネットワーク制御方法である。
The invention according to claim 7 is the network control method, wherein a packet requesting use of one or more IP addresses is received after transmitting a packet requesting an IP address whose lease time is indefinite, 3. The network control method according to
請求項8記載の発明は、前記ネットワーク制御方法において、リース期限が無期限であるIPアドレスを要求するパケットを送信した後、1つ以上のIPアドレス使用を許可するパケットを受信し、その中にリース期限が無期限であるIPアドレスを提供するサーバがなく、尚且つ、装置のパワーマネジメントに有効であるリース期限を提供するサーバも存在しない場合、リース期限が無期限である要求を外して、再びIPアドレスを要求するパケットを送信することを特徴とする請求項7のネットワーク制御方法である。 According to an eighth aspect of the present invention, in the network control method, after transmitting a packet requesting an IP address whose lease time is indefinite, a packet permitting the use of one or more IP addresses is received. If there is no server that provides an IP address with an indefinite lease period, and there is no server that provides a lease period that is valid for power management of the device, the request with an indefinite lease period is removed, 8. The network control method according to claim 7, wherein a packet requesting an IP address is transmitted again.
請求項9記載の発明は、ネットワーク通信制御手段と省電力機能を備える情報処理装置のネットワーク制御方法において、ネットワーク接続時にDHCPのプロトコルに従い、IPアドレスを取得する制御を行うとき、装置のパワーマネジメントに有効であるリース期限を設定して、IPアドレスを要求するパケットを送信することを特徴とする請求項1のネットワーク制御方法である。
According to a ninth aspect of the present invention, in the network control method of the information processing apparatus having the network communication control means and the power saving function, when performing control for acquiring the IP address according to the DHCP protocol when connected to the network, the power management of the
請求項10記載の発明は、前記ネットワーク制御方法において、リース期間を設定して、IPアドレスを要求するパケットを送信した後、IPアドレス使用を許可するパケットを受信しなかった場合、要求するリース期間を設定せずに、再びIPアドレス使用を許可するパケットを送信することを特徴とする請求項9のネットワーク制御方法である。 The tenth aspect of the present invention is the network control method, wherein a lease period is set, and after a packet requesting an IP address is transmitted and a packet permitting use of the IP address is not received, the lease period required The network control method according to claim 9, wherein a packet permitting use of the IP address is transmitted again without setting the IP address.
請求項11記載の発明は、ネットワーク通信制御手段と省電力機能を備える情報処理装置のネットワーク制御方法において、ネットワーク接続時にDHCPのプロトコルに従い、IPアドレスを取得する制御を行うとき、IPアドレスを取得するためのパケットを送信した後、1つ以上のIPアドレス使用を許可するパケットを受信した場合、リース期間が長いIPアドレスを提供するサーバを選択することを特徴とする請求項1のネットワーク制御方法である。
According to the eleventh aspect of the present invention, in the network control method of the information processing apparatus having the network communication control means and the power saving function, the IP address is acquired when performing control to acquire the IP address according to the DHCP protocol when connected to the
請求項12記載の発明は、前記ネットワーク制御方法において、リース期限が無期限ではないIPアドレスを提供するサーバを選択した場合、リース期間毎にリジュームし、IPアドレスの再取得を要求するという制御を行うことを特徴とする請求項1,7〜11のネットワーク制御方法である。 In the network control method according to the twelfth aspect of the present invention, in the network control method, when a server that provides an IP address whose lease time is not indefinite is selected, the control is resumed for each lease period and re-acquisition of the IP address is requested. The network control method according to claim 1, wherein the network control method is performed.
請求項13記載の発明は、ネットワーク通信制御手段と省電力機能を備える情報処理装置のネットワーク制御方法において、請求項1〜12の通信制御手段を備えることを特徴とする情報処理装置である。 According to a thirteenth aspect of the present invention, in the network control method for an information processing apparatus having a network communication control means and a power saving function, the communication control means according to the first to twelfth aspects is provided.
請求項14記載の発明は、ネットワーク通信制御手段と省電力機能を備える情報処理装置のネットワーク制御方法において、請求項3,7,11のサーバ選択手段を備えることを特徴とする情報処理装置である。 According to a fourteenth aspect of the present invention, in the network control method for an information processing apparatus having a network communication control means and a power saving function, the information processing apparatus includes the server selection means according to the third, seventh, and eleventh aspects. .
本発明によれば、IPアドレス取得に際して、先ず、リース期間が無限のIPアドレスを要求する。それが拒否された場合、パワーマネジメントに有効な時間(例えば1日)を要求する。それが拒否された場合、リース期間が最も長い時間IPアドレスを供給するサーバを選択して、その後、パワーマネジメント制御を行う。 According to the present invention, when acquiring an IP address, first, an IP address with an infinite lease period is requested. If it is rejected, it requests power management for a valid time (eg 1 day). If it is rejected, the server that supplies the IP address for the longest lease period is selected, and then power management control is performed.
この制御を行うことにより、IP取得のためのリジュームの頻度を減らすことができるので、省電力化することができる。 By performing this control, the frequency of resuming for IP acquisition can be reduced, so that power can be saved.
以下に本発明の実施の形態を添付図面に基づいて説明する。 Embodiments of the present invention will be described below with reference to the accompanying drawings.
<実施の形態1>
図1は本発明の実施の形態1におけるネットワーク環境におけるパワーマネジメント制御を行う画像形成装置の構成図である。
<Embodiment 1>
FIG. 1 is a configuration diagram of an image forming apparatus that performs power management control in a network environment according to Embodiment 1 of the present invention.
尚、以下に説明する実施の形態では、ホストに接続された画像形成装置による例を挙げるが、画像形成装置に限らず、その他の周辺機器又はホストとなるPCの場合においても、ネットワークに接続される情報処理装置を本発明の対象に含む。 In the embodiment described below, an example using an image forming apparatus connected to a host is given. However, the present invention is not limited to the image forming apparatus, and other peripheral devices or a host PC may be connected to a network. The information processing apparatus is included in the subject of the present invention.
図1において、100は画像形成装置の全体構成図である。110はホストから受け取ったデータを処理するコントローラ部である。119は操作パネル部であり、画像形成装置の状態を設定するキーや、表示を行う液晶パネル及びLEDを備えている。
In FIG. 1, reference numeral 100 denotes an overall configuration diagram of an image forming apparatus. A
111はコントローラCPUであり、画像形成装置のコントローラ部を制御する。112はROMであり、コントローラ部の制御を行うプログラムを格納している。113はRAMであり、データの読み書き可能なメモリである。114は画像形成部であり、受信した画像を処理して印刷を行う。115はネット ワーク通信制御部であり、ネットワーク環境に繋がり、同様にネットワーク環境に繋がれているホストから画像データを受け取り画像形成装置で印刷することができる。116はRTC(Real Time Clock )であり、IPアドレスのリース延長をするために復帰する時間等を管理する。118は操作パネルI/F部であり、操作パネルとの通信を行う。
A controller CPU 111 controls a controller unit of the image forming apparatus. A
図2は本実施の形態におけるクライアントが始動時にIPアドレスを獲得するためのフローチャートである。 FIG. 2 is a flowchart for acquiring an IP address at the time of start-up by the client in this embodiment.
以下の説明には、任意とされる部分があるが、サーバの管理者のポリシーによって許可/不許可、返信/無視が決定されるため、全ての可能性を考慮してフローを決定しなければならない。 In the following explanation, there is an optional part, but permission / non-permission and reply / ignore are determined by the policy of the server administrator, so the flow must be determined in consideration of all possibilities. Don't be.
S201において、要求するコンフィグレーション内にリース無期限のIPアドレスを設定して、DHCPDISCOVERを送信する。サーバは、DHCPDISCOVERを受信すると、コンフィグレーションを見て、要求に応えられる場合のみDHCPOFFER を送信しても良く、コンフィグレーションを無視して、DHCPOFFER を送信しても良い。クライアントはS202において任意の時間待つ。このとき、複数DHCPOFFER を受信しても良い。任意の時間待った結果、DHCPOFFER を受信した場合、S203に進む。サーバからのDHCPOFFER を受信しなかった場合、S211に進む。S203において、受信したコンフィグレーション情報をチェックする。S204においてリース無期限のIPアドレスを供給するサーバが存在した場合、S205に進む。リース無期間のIPアドレスを供給するサーバが存在しなかった場合、S225に進む。 In S201, the lease indefinite IP address is set in the requested configuration, and DHCPDISCOVER is transmitted. Upon receiving DHCPDISCOVER, the server may send a DHCPOFFER only when it can respond to the request by looking at the configuration, or may ignore the configuration and send a DHCPOFFER. The client waits for an arbitrary time in S202. At this time, multiple DHCPOFFERs may be received. If DHCPOFFER is received as a result of waiting for an arbitrary time, the process proceeds to S203. If DHCPOFFER is not received from the server, the process proceeds to S211. In S203, the received configuration information is checked. If there is a server that supplies an IP address with an indefinite lease in S204, the process proceeds to S205. If there is no server that supplies an IP address for a lease indefinite period, the process proceeds to S225.
S205において、リース無期限のIPアドレスを供給するサーバを選択する。S206において、DHCPREQUEST を送信し、IPアドレスを要求する。 In S205, a server that supplies an IP address with an indefinite lease is selected. In S206, DHCPREQUEST is transmitted to request an IP address.
S207において、サーバがIPアドレスの供給を了解するDHCPACK を受信したかどうか確認する。DHCPACK ではなくDHCPNACKを受信した場合、若しくは、返答がなかった場合はIPアドレスを使用することができないので、S201に戻り、最初のDHCPDISCOVERを送信するところから始める。DHCPACK が確認できた場合、S208において、IPアドレスを保存する。その後、S251に進む。 In S207, it is confirmed whether or not the server has received a DHCPACK that acknowledges the supply of the IP address. If DHCPNACK instead of DHCPACK is received or if there is no response, the IP address cannot be used, so the process returns to S201 and starts from transmitting the first DHCPDISCOVER. If DHCPACK is confirmed, the IP address is stored in S208. Thereafter, the process proceeds to S251.
S221において、DHCPのIPアドレスを要求する、DHCPDISCOVERを送信する。サーバは、DHCPDISCOVERを受信して、割り当てられるIPアドレスがあればDHCPOFFER を送信する。クライアントはS222において任意の時間待つ。このとき、複数DHCPOFFER を受信しても良い。任意の時間待った結果、DHCPO FFERを受信した場合、S223に進む。サーバからのDHCPOFFER を受信しなかった場合、S221に戻る。何度か繰り返してもDHCPOFFER がない場合は、タイムアウトエラーとなり、IPアドレスを獲得できず、ネットワークに繋がらない。S223において、受信したコンフィグレーション情報をチェックする。 In S221, a DHCPDISCOVER requesting the DHCP IP address is transmitted. The server receives DHCPDISCOVER and sends DHCPOFFER if there is an IP address to be assigned. The client waits for an arbitrary time in S222. At this time, multiple DHCPOFFERs may be received. If DHCPO FFER is received as a result of waiting for an arbitrary time, the process proceeds to S223. If DHCPOFFER is not received from the server, the process returns to S221. If there is no DHCPOFFER even after repeated several times, a timeout error occurs, the IP address cannot be acquired, and the network cannot be connected. In S223, the received configuration information is checked.
S225においてリース期間が最も長いサーバを選択する。S216において、DHCPREQUEST を送信し、IPアドレスを要求する。 In S225, the server with the longest lease period is selected. In S216, DHCPREQUEST is transmitted to request an IP address.
S227において、サーバがIPアドレスの供給を了解するDHCPACK を受信したかどうか確認する。DHCPNACKを受信、若しくは、返答がなかった場合はIPアドレスを使用することができないので、S221に戻り、DHCPDISCOVERを送信するところから始める。DHCPACK が確認できた場合、S228において、IPアドレスを保存する。その後、S252に進む。 In step S227, it is confirmed whether or not the server has received a DHCPACK that acknowledges the supply of the IP address. If DHCPNACK is received or no reply is received, the IP address cannot be used, so the process returns to S221 and starts by sending DHCPDISCOVER. If DHCPACK is confirmed, the IP address is stored in S228. Thereafter, the process proceeds to S252.
S251においては、スリープモード1を設定する。 In S251, sleep mode 1 is set.
S252においては、スリープモード2を設定する。
In S252, the
スリープモード1、2の内容は後述する。
The contents of the
以上の処理の後、スタンバイ状態となる。 After the above processing, it enters a standby state.
図3は本実施の形態における、スリープモード1におけるサーバとクライアントの動作を説明するフローチャートである。 FIG. 3 is a flowchart for explaining the operation of the server and the client in the sleep mode 1 in this embodiment.
スタンバイ状態で一定時間後、S311において、スリープモードに移行する。点線はスリープモード中の動作である。S312において、Wake Up 信号を待つ。信号を受信した場合、S313においてスタンバイ状態に復帰する。S314において、印刷を実行し、印刷終了後、一定時間待ってS311においてスリープモードに移行する。この場合、IPアドレスのリース期間は無期限に設定されているため、リースの延長のためにリジュームする必要はない。 After a predetermined time in the standby state, in S311, the mode shifts to the sleep mode. A dotted line indicates an operation in the sleep mode. In S312, a Wake Up signal is awaited. If a signal is received, the standby state is restored in S313. In step S314, printing is executed. After the printing is completed, the printer waits for a predetermined time and shifts to the sleep mode in step S311. In this case, since the lease period of the IP address is set indefinitely, there is no need to resume for lease extension.
図4は本実施の形態における、スリープモード2におけるサーバとクライアントの動作を説明するフローチャートである。
FIG. 4 is a flowchart for explaining the operation of the server and the client in the
スタンバイ状態で一定時間後、S411において、DHCPREQESTを送信する。 サーバは、S401においてDHCPREQESTを受信して、IPアドレスの再リリースが可能な場合、S402において、DHCPACK を送信する。S412において、クライアントはDHCPACK を受信すると、S413においてスリープモードに移行する。点線はスリープモード中の動作である。S414において、Wake Up 信号を待つ。信号を受信した場合、S417においてスタンバイ状態に復帰する。S418において、印刷を実行し、印刷終了後、一定時間待ってS411,S412においてDHCPのリース延長の操作を行い、S413で再びスリープモードに移行する。 After a certain time in the standby state, DHCPREQEST is transmitted in S411. If the server receives DHCPREQEST in S401 and the IP address can be re-released, the server transmits DHCPACK in S402. When the client receives DHCPACK in S412, the client shifts to the sleep mode in S413. A dotted line indicates an operation in the sleep mode. In S414, it waits for a Wake Up signal. If a signal is received, the standby state is restored in S417. In step S418, printing is performed. After the printing is finished, a predetermined time is waited. In steps S411 and S412, a DHCP lease extension operation is performed, and in step S413, the sleep mode is entered again.
S414において、Wake Up を受信しないまま、リース期間として設定された T時間経ったとき、IPアドレスのリース延期をするため、S416においてスタンバイ状態に復帰する。その後、S411,S412においてDHCPのリース延長の操作を行い、S413で再びスリープモードに移行する。 In S414, when T time set as the lease period has passed without receiving Wake Up, the lease state of the IP address is postponed, so that the standby state is restored in S416. Thereafter, the DHCP lease extension operation is performed in S411 and S412, and the sleep mode is again entered in S413.
スリープモード2においては、情報処理装置はリース期間が迫るたびにリジュームするが、装置の性質によって、ウォームアップ時に通常よりも電力を消費する場合がある。この装置が、DHCPのリース期間が極端に短い環境に備えられた場合、このパワーマネジメント制御のために、消費電力が増加する場合が考えられる。この場合はスリープモードに入らない方が良い。従って、装置の性質により、この制御を行う最低リース期間を定め、このリース期間を下回るときは、スリープモードに入らない制御を行う。
In
<実施の形態2>
本実施の形態は、リース期間が無限のIPアドレスを要求した後、リース期間を長くする要求が許可される場合を考慮した例である。
<
This embodiment is an example in consideration of a case where a request for extending the lease period is permitted after an IP address having an infinite lease period is requested.
この制御により、制御は複雑になるが、実施の形態1よりも省電力化できる。 Although this control complicates the control, it can save more power than the first embodiment.
図5は本実施の形態におけるクライアントが始動時にIPアドレスを獲得するためのフローチャートである。 FIG. 5 is a flowchart for acquiring an IP address when the client is started in the present embodiment.
以下の説明には、任意とされる部分があるが、サーバの管理者のポリシーによって許可/不許可、返信/無視が決定されるため、全ての可能性を考慮してフローを決定しなければならない。 In the following explanation, there is an optional part, but permission / non-permission and reply / ignore are determined by the policy of the server administrator, so the flow must be determined in consideration of all possibilities. Don't be.
S201において、要求するコンフィグレーション内にリース無期限のIPアドレスを設定して、DHCPDISCOVERを送信する。サーバは、DHCPDISCOVERを受信すると、コンフィグレーションを見て、要求に応えられる場合のみDHCPOFFER を送信しても良いし、コンフィグレーションを無視して、DHCPOFFER を送信しても良い。クライアントは、S202において任意の時間待つ。このとき、複数DHCPOFFER を受信しても良い。任意の時間待った結果、DHCPOFFER を受信した場合、S203に進む。サーバからのDHCPOFFER を受信しなかった場合、S211に進む。S203において、受信したコンフィグレーション情報をチェックする。S204においてリース無期限のIPアドレスを供給するサーバが存在した場合、S205に進む。リース無期間のIPアドレスを供給するサーバが存在しなかった場合、S210に進む。 In S201, an IP address with an indefinite lease is set in the requested configuration, and DHCPDISCOVER is transmitted. Upon receiving DHCPDISCOVER, the server may send a DHCPOFFER only when it can respond to the request by looking at the configuration, or may ignore the configuration and send a DHCPOFFER. The client waits for an arbitrary time in S202. At this time, multiple DHCPOFFERs may be received. If DHCPOFFER is received as a result of waiting for an arbitrary time, the process proceeds to S203. If DHCPOFFER is not received from the server, the process proceeds to S211. In S203, the received configuration information is checked. If there is a server that supplies an IP address with an indefinite lease in S204, the process proceeds to S205. If there is no server that supplies an IP address for a lease indefinite period, the process proceeds to S210.
S205において、リース無期限のIPアドレスを供給するサーバを選択する。S206において、DHCPREQUEST を送信し、IPアドレスを要求する。 In S205, a server that supplies an IP address with an indefinite lease is selected. In S206, DHCPREQUEST is transmitted to request an IP address.
S207において、サーバがIPアドレスの供給を了解するDHCPACK を受信したかどうか確認する。DHCPACK ではなくDHCPNACKを受信した場合、若しくは、返答がなかった場合はIPアドレスを使用することができないので、S201に戻り、最初のDHCPDISCOVERを送信するところから始める。DHCPACK が確認できた場合、S208において、IPアドレスを保存する。その後、S251に進む。 In S207, it is confirmed whether or not the server has received a DHCPACK that acknowledges the supply of the IP address. If DHCPNACK instead of DHCPACK is received or if there is no response, the IP address cannot be used, so the process returns to S201 and starts from transmitting the first DHCPDISCOVER. If DHCPACK is confirmed, the IP address is stored in S208. Thereafter, the process proceeds to S251.
S210において、受信したDHCPOFFER のコンフィグレーションのうち、要求するIPのリース期間T1を満たすサーバがあった場合、S215に進む。 If there is a server satisfying the requested IP lease period T1 in the received DHCPOFFER configuration in S210, the process proceeds to S215.
S211において、要求するコンフィグレーション内にリース期間T1を設定して、DHCPDISCOVERを送信する。サーバは、DHCPDISCOVERを受信すると、コンフィグレーションを見て、要求に応えられる場合のみDHCPOFFER を送信しても良いし、コンフィグレーションを無視して、DHCPOFFER を送信しても良い。クライアントは、S212において任意の時間待つ。このとき、複数DHCPOFFER を受信しても良い。任意の時間待った結果、DHCPOFFER を受信した場合、S213に進む。サーバからのDHCPOFFER を受信しなかった場合、S221に進む。S213において、受信したコンフィグレーション情報をチェックする。S214においてリース期間T1のIPアドレスを供給するサーバが存在した場合、S215に進む。リース期間T1のIPアドレスを供給するサーバが存在しなかった場合、S221に進む。 In S211, the lease period T1 is set in the requested configuration, and DHCPDISCOVER is transmitted. Upon receiving DHCPDISCOVER, the server may send a DHCPOFFER only when it can respond to the request by looking at the configuration, or may ignore the configuration and send a DHCPOFFER. The client waits for an arbitrary time in S212. At this time, multiple DHCPOFFERs may be received. If DHCPOFFER is received as a result of waiting for an arbitrary time, the process proceeds to S213. If DHCPOFFER is not received from the server, the process proceeds to S221. In S213, the received configuration information is checked. If there is a server that supplies the IP address of the lease period T1 in S214, the process proceeds to S215. If there is no server that supplies the IP address of the lease period T1, the process proceeds to S221.
S215において、リース期間T1のIPアドレスを供給するサーバを選択する。S216において、DHCPREQUEST を送信し、IPアドレスを要求する。 In S215, the server that supplies the IP address of the lease period T1 is selected. In S216, DHCPREQUEST is transmitted to request an IP address.
S217において、サーバがIPアドレスの供給を了解するDHCPACK を受信したかどうか確認する。DHCPNACKを受信、若しくは、返答がなかった場合はIPアドレスを使用することができないので、S211に戻り、DHCPDISCOVERを送信するところから始める。DHCPACK が確認できた場合、S218において、IPアドレスを保存する。その後、S252に進む。 In S217, it is confirmed whether or not the server has received a DHCPACK that acknowledges the supply of the IP address. If DHCPNACK is received or no response is received, the IP address cannot be used, so the process returns to S211 and starts from transmitting DHCPDISCOVER. If DHCPACK is confirmed, the IP address is stored in S218. Thereafter, the process proceeds to S252.
S
221において、DHCPのIPアドレスを要求する、DHCPDISCOVERを送信する。サーバは、DHCPDISCOVERを受信して、割り当てられるIPアドレスがあればDHCPOFFER を送信する。クライアントはS222において任意の時間待つ。このとき、複数DHCPOFFER を受信しても良い。任意の時間待った結果、DHCPO FFERを受信した場合、S223に進む。サーバからのDHCPOFFER を受信しなかった場合、S221に戻る。何度か繰り返してもDHCPOFFER がない場合は、タイムアウトエラーとなり、IPアドレスを獲得できず、ネットワークに繋がらない。S223において、受信したコンフィグレーション情報をチェックする。
S
In 221, a DHCPDISCOVER requesting the DHCP IP address is transmitted. The server receives DHCPDISCOVER and sends DHCPOFFER if there is an IP address to be assigned. The client waits for an arbitrary time in S222. At this time, multiple DHCPOFFERs may be received. If DHCPO FFER is received as a result of waiting for an arbitrary time, the process proceeds to S223. If DHCPOFFER is not received from the server, the process returns to S221. If there is no DHCPOFFER after repeated several times, a time-out error occurs, the IP address cannot be acquired, and the network is not connected. In S223, the received configuration information is checked.
S225においてリース期間が最も長いサーバを選択する。S216において、DHCPREQUEST を送信し、IPアドレスを要求する。 In S225, the server with the longest lease period is selected. In S216, DHCPREQUEST is transmitted to request an IP address.
S227において、サーバがIPアドレスの供給を了解するDHCPACK を受信したかどうか確認する。DHCPNACKを受信、若しくは、返答がなかった場合はIPアドレスを使用することができないので、S221に戻り、DHCPDISCOVERを送信するところから始める。DHCPACK が確認できた場合、S228において、IPアドレスを保存する。その後、S252に進む。 In step S227, it is confirmed whether or not the server has received a DHCPACK that acknowledges the supply of the IP address. If DHCPNACK is received or no reply is received, the IP address cannot be used, so the process returns to S221 and starts by sending DHCPDISCOVER. If DHCPACK is confirmed, the IP address is stored in S228. Thereafter, the process proceeds to S252.
S251においては、スリープモード1を設定する。 In S251, sleep mode 1 is set.
S252においては、スリープモード2を設定する。
In S252, the
スリープモード1、2の内容は後述する。
The contents of the
以上の処理の後、スタンバイ状態となる。 After the above processing, it enters a standby state.
100 画像形成装置
110 コントローラ部
111 CPU
112 ROM
113 RAM
114 画像形成部
115 Network 制御部
116 RTC
118 操作パネルI/F部
119 操作パネル部
DESCRIPTION OF SYMBOLS 100
112 ROM
113 RAM
114
118 Operation panel I /
Claims (14)
ネットワーク接続時にDHCPのプロトコルに従い、IPアドレスを取得する制御を行うとき、リース期限がより長いIPアドレスを取得する制御を行うことを特徴とするネットワーク制御方法。 In a network control method for an information processing apparatus having a network communication control means and a power saving function,
A network control method characterized by performing control for acquiring an IP address having a longer lease term when performing control for acquiring an IP address according to a DHCP protocol at the time of network connection.
ネットワーク接続時にDHCPのプロトコルに従い、IPアドレスを取得する制御を行うとき、装置のパワーマネジメントに有効であるリース期限を設定して、IPアドレスを要求するパケットを送信することを特徴とする請求項1記載のネットワーク制御方法。 In a network control method for an information processing apparatus having a network communication control means and a power saving function,
2. A packet for requesting an IP address is set by setting a lease term effective for power management of a device when performing control for acquiring an IP address according to a DHCP protocol when connected to a network. The network control method described.
ネットワーク接続時にDHCPのプロトコルに従い、IPアドレスを取得する制御を行うとき、IPアドレスを取得するためのパケットを送信した後、1つ以上のIPアドレス使用を許可するパケットを受信した場合、リース期間が長いIPアドレスを提供するサーバを選択することを特徴とする請求項1記載のネットワーク制御方法。 In a network control method for an information processing apparatus having a network communication control means and a power saving function,
When performing control to acquire an IP address according to the DHCP protocol when connected to the network, if a packet permitting use of one or more IP addresses is received after transmitting a packet for acquiring an IP address, the lease period is 2. The network control method according to claim 1, wherein a server that provides a long IP address is selected.
請求項1〜12の何れかに記載の通信制御手段を備えることを特徴とする情報処理装置。 In a network control method for an information processing apparatus having a network communication control means and a power saving function,
An information processing apparatus comprising the communication control means according to claim 1.
請求項3,7又は11の何れかに記載のサーバ選択手段を備えることを特徴とする情報処理装置。 In a network control method for an information processing apparatus having a network communication control means and a power saving function,
An information processing apparatus comprising the server selection unit according to claim 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005214379A JP2007036455A (en) | 2005-07-25 | 2005-07-25 | Network control method and information processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005214379A JP2007036455A (en) | 2005-07-25 | 2005-07-25 | Network control method and information processing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007036455A true JP2007036455A (en) | 2007-02-08 |
Family
ID=37795196
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005214379A Withdrawn JP2007036455A (en) | 2005-07-25 | 2005-07-25 | Network control method and information processing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007036455A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013166331A (en) * | 2012-02-16 | 2013-08-29 | Seiko Epson Corp | Printing apparatus |
-
2005
- 2005-07-25 JP JP2005214379A patent/JP2007036455A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013166331A (en) * | 2012-02-16 | 2013-08-29 | Seiko Epson Corp | Printing apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8738938B2 (en) | Information processing apparatus, method for controlling the same, and storage medium | |
US8489908B2 (en) | Information processing apparatus, power mode control method, and power mode control program product | |
US9100527B2 (en) | Communication apparatus, control method therefor, and storage medium | |
JP2002319956A (en) | Home gateway device | |
US20050007628A1 (en) | Printing control apparatus, control method therefor, and program | |
KR20120056550A (en) | Image forming device for forming wireless network and operating method thereof | |
JP2004213635A (en) | Image processor, image processing method and control program | |
JP2000238373A (en) | Printer system, remote power supply control method and printer therefor | |
JP5082463B2 (en) | Information processing device | |
US20040250129A1 (en) | Systems and methods for managing a network-based service | |
US10740200B2 (en) | Redundancy configuration system, switching system, and information processing system | |
JP2009027348A (en) | Power management control method in dhcp environment, and information processor | |
JP2010016769A (en) | Image forming system, and image forming method | |
US7640445B2 (en) | Power-saving control method for a network device | |
JP2011086144A (en) | Image processing system, network relay apparatus, and image processing apparatus | |
JP4671140B2 (en) | Information processing apparatus, system, and program | |
JP2007036455A (en) | Network control method and information processing apparatus | |
JP2007036456A (en) | Information processing apparatus and network control method thereof | |
JP5094356B2 (en) | Information processing apparatus, information processing method, and program for executing the method | |
JP5500215B2 (en) | Information processing apparatus, power mode control method, power mode control program, and recording medium | |
JP2005205830A (en) | Power-saving system consisting of network printer group and network printer | |
US20110239027A1 (en) | Common apparatus power control system, common apparatus and method for controlling power of common apparatus | |
JP2007142954A (en) | Information processing apparatus for performing power management control in network environment | |
JP2007134978A (en) | Information processing apparatus for carrying out power management control in network environment | |
JP2010093609A (en) | Digital composite machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20081007 |