JP2017046114A - Information processing unit, information processing method, and program - Google Patents
Information processing unit, information processing method, and program Download PDFInfo
- Publication number
- JP2017046114A JP2017046114A JP2015166036A JP2015166036A JP2017046114A JP 2017046114 A JP2017046114 A JP 2017046114A JP 2015166036 A JP2015166036 A JP 2015166036A JP 2015166036 A JP2015166036 A JP 2015166036A JP 2017046114 A JP2017046114 A JP 2017046114A
- Authority
- JP
- Japan
- Prior art keywords
- packet
- information processing
- transmission
- reception
- processing apparatus
- 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.)
- Pending
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、情報処理装置、情報処理方法及びプログラムに関する。 The present invention relates to an information processing apparatus, an information processing method, and a program.
プリンタ、スキャナ、FAX、複合機等、LANインタフェースに接続可能な情報処理装置において、LANインタフェースの物理層であるPHYの通信モード設定には、最大通信速度と通信方式との設定がある。
LANインタフェースの最大通信速度は、1Gbps、100Mbps、10Mbpsといった、物理的に送信できる単位時間当たりの最大ビットレートで表わされる。また、通信方式は、双方向同時に通信可能な全二重方式と、接続する機器においてどちらか一方のみ通信可能である半二重方式とがある。
また、これらPHYの通信モードの設定には、一般にオートネゴシエーションと固定モードとの設定がある。オートネゴシエーションモードは、FLPと呼ばれるPHYの設定情報を、接続時に相互に交換することで、対向機との間で設定できる最大通信速度及び通信方式の中から、共通、かつ、最も早いモードを自動で設定するモードである。一方、固定モードは、相手の設定に関わらず最大通信速度及び通信方式のパラメータを固定で設定するモードである。そして、一方がオートネゴシエーションモードで動作する機器で他方が固定モードで動作する機器の場合、オートネゴシエーションで動作する機器は、半二重方式で接続するようIEEE802.3の標準規格で決められている。
In an information processing apparatus that can be connected to a LAN interface, such as a printer, a scanner, a FAX, or a multifunction peripheral, the communication mode setting of the PHY that is the physical layer of the LAN interface includes setting of a maximum communication speed and a communication method.
The maximum communication speed of the LAN interface is represented by a maximum bit rate per unit time that can be physically transmitted, such as 1 Gbps, 100 Mbps, and 10 Mbps. Communication methods include a full-duplex method in which bidirectional communication is possible simultaneously and a half-duplex method in which only one of the connected devices can communicate.
In addition, these PHY communication modes are generally set to auto negotiation and fixed mode. Auto-negotiation mode automatically switches the common and fastest mode from the maximum communication speed and communication method that can be set with the other device by exchanging PHY setting information called FLP at the time of connection. This mode is set with. On the other hand, the fixed mode is a mode in which the maximum communication speed and communication method parameters are fixedly set regardless of the other party's setting. When one of the devices operates in the auto-negotiation mode and the other operates in the fixed mode, the device that operates in the auto-negotiation is determined by the IEEE 802.3 standard so as to be connected in a half-duplex mode. .
近年は、情報処理装置の取り扱うデータの増加に伴い、LANインタフェースの最大通信速度の高速化が求められてきている。その為、10Mbps、100Mbpsが最大通信速度となるファストイーサネット(登録商標)だけでなく、最大通信速度が1Gbpsであるギガビットイーサネットの搭載が一般になってきており、他の情報処理装置とのデータ通信の高速化が年々進んでいる。
LANインタフェースの高速化は、LANインタフェースの物理層であるPHYと、その上位のコントロール層となるMACとの間の動作周波数の高速化により実現されている。その為、LANインタフェースの高速化には、LANインタフェース自体の消費電力の増加が伴うことになる。
In recent years, with the increase in data handled by information processing apparatuses, it has been required to increase the maximum communication speed of LAN interfaces. For this reason, not only Fast Ethernet (registered trademark), which has a maximum communication speed of 10 Mbps and 100 Mbps, but also the installation of Gigabit Ethernet with a maximum communication speed of 1 Gbps is becoming common. Speeding up is progressing year by year.
The speeding up of the LAN interface is realized by speeding up the operating frequency between the PHY, which is the physical layer of the LAN interface, and the MAC, which is the upper control layer. Therefore, increasing the speed of the LAN interface is accompanied by an increase in power consumption of the LAN interface itself.
消費者の省エネに対する要望が高まりつつあり、LANインタフェースの高速化と合わせて消費電力の削減も求められている。LANインタフェースの消費電力の削減方法として、EEE(Energy Efficient Ethernet(登録商標))機能が挙げられる。EEEとは、IEEE802.3azにて策定された規格で、LANインタフェース上にトラフィックが無いときに、PHYとMACとの一部機能を停止し、待機時の消費電力を低電力状態に保つ方法である。このLANインタフェース待機時の低電力状態を、LPI(Low Power Idle)と呼ぶ。LANインタフェースがLPIに移行することで、LANインタフェースの消費電力が大幅に下がるため、情報処理装置自体の消費電力も大幅に下げることが可能となる。
しかしながら、EEE機能を有効にするには、EEE機能を使用可能な機器同士の通信方式を、オートネゴシエーションで接続する必要がある。そのため、接続する機器の片方又は両方が固定モードに設定されている場合は、EEE機能が有効にならず、待機時の消費電力を低電力状態にすることができない。
特許文献1では、接続する機器の片方又は両方が固定モードに設定されていることでEEE機能が有効にならない場合に、EEE機能を有効にするため自装置や相手機器のオートネゴシエーション設定を有効にするようユーザーに促す構成が開示されている。
Consumers' demand for energy saving is increasing, and a reduction in power consumption is also demanded along with the speeding up of the LAN interface. As a method of reducing the power consumption of the LAN interface, there is an EEE (Energy Effective Ethernet (registered trademark)) function. EEE is a standard established by IEEE 802.3az, and is a method that stops some of the functions of PHY and MAC when there is no traffic on the LAN interface and keeps the power consumption during standby in a low power state. is there. This low power state during standby of the LAN interface is referred to as LPI (Low Power Idle). When the LAN interface shifts to LPI, the power consumption of the LAN interface is greatly reduced, so that the power consumption of the information processing apparatus itself can be significantly reduced.
However, in order to validate the EEE function, it is necessary to connect communication methods between devices that can use the EEE function by auto-negotiation. Therefore, when one or both of the devices to be connected are set to the fixed mode, the EEE function is not enabled and the standby power consumption cannot be set to the low power state.
In Patent Document 1, when one or both of the devices to be connected is set to the fixed mode and the EEE function is not enabled, the auto-negotiation setting of the own device or the partner device is enabled to enable the EEE function. A configuration that prompts the user to do so is disclosed.
しかしながら、特許文献1では、EEE機能を有効にすることで通信中に発生する起動遅延による、パフォーマンスの低下についての考慮がなされていない。
これは、EEE機能を使用する際、パケット送受信発生のためLANインタフェースが待機状態から通常状態に復帰するときに、PHYが待機状態から通常状態に復帰するまでパケットの送受信開始を待つ必要があり、この起動遅延に起因するものである。
通常、パケットが連続的に送受信され、LANネットワークが待機状態にならなければLPIへ移行しないので、起動遅延は発生しないが、パケットの正常疎通の確認(ACK)を待って次のパケットを送信するTCP通信では、パケットの送受信が間欠で行われる。通常、プリンタ、スキャナ、FAX、複合機等が取り扱う画像データのようなジョブパケットは、データの欠落が許容されないので、データ信頼性確保のためTCP通信を行うのが一般である。また、一つのジョブパケットのサイズは、イーサネットで規定されるMTU(Maximum Transmission Unit)サイズより大きい場合がほとんどであり、ジョブパケットはMTUごとに分割されたパケットとして送受信されることとなる。
このことにより、EEE機能を利用したLANインタフェースでパケットの送受信を行うと、パケットの送信ごとにLPIから通常状態へ復帰する際の起動遅延が積み重なって送受信され、LANインタフェースのパフォーマンスを低下させてしまうこととなる。
本発明は、消費電力の削減と、LANネットワークのパフォーマンス低下の防止とを図ることを目的とする。
However, in Patent Document 1, no consideration is given to a decrease in performance due to a startup delay that occurs during communication by enabling the EEE function.
This is because when using the EEE function, when the LAN interface returns from the standby state to the normal state due to occurrence of packet transmission / reception, it is necessary to wait for the start of packet transmission / reception until the PHY returns from the standby state to the normal state. This is due to this startup delay.
Normally, packets are continuously transmitted and received, and if the LAN network is not in a standby state, it does not shift to LPI. Therefore, no startup delay occurs, but the next packet is transmitted after waiting for confirmation of normal communication (ACK) of the packet. In TCP communication, packet transmission / reception is performed intermittently. Normally, job packets such as image data handled by a printer, scanner, FAX, multifunction device, etc. are not allowed to be lost, and therefore, TCP communication is generally performed to ensure data reliability. The size of one job packet is almost larger than the MTU (Maximum Transmission Unit) size defined by Ethernet, and the job packet is transmitted and received as a packet divided for each MTU.
As a result, when a packet is transmitted / received through a LAN interface using the EEE function, the activation delay when returning from the LPI to the normal state is accumulated and transmitted every time the packet is transmitted, and the performance of the LAN interface is degraded. It will be.
An object of the present invention is to reduce power consumption and prevent degradation of LAN network performance.
そこで、本発明は、有線LANインタフェースを有する情報処理装置であって、前記有線LANインタフェースの機能の一部を停止する省電力モードに移行されたあとに、前記有線LANインタフェースを介してパケットの送受信が開始される場合、前記省電力モードを無効にする無効化手段と、前記パケットの送受信が開始され、前記パケットの送受信が完了されたあとに、前記省電力モードを有効にする有効化手段と、を有する。 Therefore, the present invention is an information processing apparatus having a wired LAN interface, and after shifting to a power saving mode for stopping a part of the functions of the wired LAN interface, packet transmission / reception via the wired LAN interface is performed. Is started, invalidating means for invalidating the power saving mode, and enabling means for validating the power saving mode after transmission / reception of the packet is started and transmission / reception of the packet is completed. Have.
本発明によれば、消費電力の削減と、LANネットワークのパフォーマンス低下の防止とを図ることができる。 According to the present invention, it is possible to reduce power consumption and prevent degradation of LAN network performance.
以下、本発明の実施形態について図面に基づいて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<実施形態1>
図1は、情報処理装置100のハードウェア構成の一例を示す図である。
コントローラ110は、情報処理装置100の主たる制御を行う。
コネクタ101は、LANケーブルのモジュラーを接続する。
トランス102は、情報処理装置100とネットワークを電気的に絶縁する。
PHY103は、情報処理装置100がLANネットワークに接続するにあたり、接続先との電気的な信号のやり取りを行う。
MAC104は、PHY103にて受信した信号を、装置内のデバイスが取り扱うフレームに変換する。
CPU108は、装置内のデバイスに命令を実行する。
RAM109は、CPU108が実行するプログラムを一時的に格納する。
RTC105は、現在時刻を計時し、必要に応じてCPU108に対し時刻を通知する時計機能を持つ。
ROM116は、情報処理装置100の設定値や初期データ等を保存する。
プリンタ111は、印字や画像のプリントを行う。
パネル114は、情報処理装置100の情報の表示や、ユーザーからの命令を入力する。
LCD115は、パネル114に取り付けられる。LCD115には、パネル114がCPU108から受けた命令を表示することができる。
<Embodiment 1>
FIG. 1 is a diagram illustrating an example of a hardware configuration of the
The
The
The
The PHY 103 exchanges electrical signals with the connection destination when the
The
The
The RAM 109 temporarily stores a program executed by the
The
The
The
The
The LCD 115 is attached to the
TXデータ1aは、MAC104からPHY103へ送信される、送信データである。
TX情報群1bは、MAC104からPHY103へ送信データの送信状態を表す情報である。TX情報群1bは、MAC104からの送信有効状態や、送信エラー状態をPHY103に通知することができる。
RXデータ1cは、MAC104がPHY103から受信するデータである。
RX情報群1dは、MAC104がPHY103から受信する受信データの状態を表す情報である。TX情報群1dは、受信データの検出状態や、受信データのエラー情報をMAC104に通知することができる。
RXクロック1eは、MAC104がPHY103から受信するクロックである。
管理情報1fは、PHY103とMAC104との間で双方向使用する情報である。
電源112は、情報処理装置100の内部に電源を供給する。電源112は、CPU108により制御が可能であり、コントローラ110、プリンタ111、及びLCD115に電源を供給する。また、電源112は、CPU108からの制御により、供給先への電源供給状態を変更することが可能である。その為、電源112は、情報処理装置100の稼働状態に応じて、不要なデバイスへの電源供給を止めることで節電効果を高めることが可能である。
電源スイッチ120は、電源112の電源供給のオフオンを実施する為のスイッチである。
LANインタフェース130は、情報処理装置100がLAN通信を行う。LANインタフェース130は、有線LANインタフェースの一例である。
CPU108がROM116等に記憶されているプログラムに基づき処理を実行することによって、情報処理装置100の機能及び後述するフローチャートの処理等が実現される。情報処理装置100の一例としては、例えば、画像を形成する画像形成装置等である。
The TX data 1a is transmission data transmitted from the
The TX information group 1b is information representing a transmission state of transmission data from the
RX data 1 c is data that the
The RX information group 1 d is information indicating the state of received data that the
The RX clock 1e is a clock that the
The management information 1 f is information used bidirectionally between the
The
The
The
When the
図2は、情報処理装置100の接続形態の一例を示す図である。HUB201は、複数のLAN回線との接続可能で、またパケットの交換やパケットの同報転送が可能である。PHY205は、HUB201が他情報処理装置と接続に使用するPHYであり、PHY103と同等の機能を有する。なお本明細書では、PHY205の他情報処理装置の接続先としては、情報処理装置100のPHY103とする。MAC218は、HUB201が搭載するMACであり、MAC104と同等の機能を有する。端末A202、端末B203は、情報処理装置100へプリントを要求する、端末である。モニタA214、モニタB215は、端末A202、端末B203と接続し、端末A202、端末B203からの情報を表示するモニタである。PHY207、PHY208は、端末A202、端末B203との接続に使用され、PHY103と同等の機能を持つPHYである。MAC219、MAC220は、PHY207、PHY208とそれぞれ接続し、MAC104と同等の機能を有するMACである。
ネットワーク217は、外部インターネット等とHUB201を接続する。PHY216は、ネットワーク217と接続し、PHY103と同等の機能を持つPHYである。MAC221は、PHY216と接続し、MAC104と同等の機能を有するMACである。
LANケーブル206は、情報処理装置100とHUB201との通信に使用される。情報処理装置100は、コネクタ101を介してHUB201と接続されている。また、端末A202、端末B203も同様にHUB201と接続されている。そのため、HUB201を介して情報処理装置100と端末A202、端末B203とは通信が可能である。
FIG. 2 is a diagram illustrating an example of a connection form of the
A
The
スイッチLSI210は、MAC218、MAC219、MAC220及びMAC221経由で受信したパケットを、所定の方向へ転送する機能を有する。
CPU211は、HUB201内のデバイスに命令を実行する。RAM213は、CPU211が実行するプログラムを一時的に格納する。ROM212は、HUB201の設定値や初期データ等を保存する。PHY205、PHY207、PHY208、PHY216及びスイッチLSI210への設定変更等の命令は、CPU211が実行する。
本明細書では、情報処理装置100のLANネットワークは、EEE機能に対応しているものとする。これは、PHY103及びMAC104にパケットの送受信がなかった場合、PHY103及びMAC104の一部機能を停止し、待機時の消費電力を削減するLPIに移行する方法である。その際、PHY103の通信速度の変更が発生せず、ネットワークのリンクの切断が発生しない。なお、LPIが有効になる条件としては、情報処理装置100とLANインタフェース130を介して通信を行うHUB201も同様の機能を有し、かつ、双方でEEE機能を使用可能に設定していることが条件となる。LPIは、省電力モードの一例である。
The
The
In this specification, the LAN network of the
図3は、情報処理装置100において、EEE機能が有効時にLPIへの移行及び通常状態への復帰と、LANインタフェース130の消費電力との関係を示す遷移図である。横軸は時間の推移を表し、縦軸は消費電力の大きさを表す。
アクティブS301は、LANインタフェース130に送受信すべきパケットが存在する状態であり、消費電力は閾値より高い状態である。
クワイエットS303は、LANインタフェース130がLPIに移行し、消費電力が一番低い状態である。
スリープS302は、LANインタフェース130に送受信すべきパケットの存在がなくなり、LPIの開始状態であり、低電力状態へ移行するまでの準備期間である。
リフレッシュS304は、LANネットワークがLPI移行中に、リンクの継続を通信する双方向で確認するための信号を、短時間投げる期間である。この間の消費電力は閾値より高い状態を示す。
ウェイクアップS305は、LANネットワークにパケットの送受信が再開される前に、LPIを終了し通常状態へ復帰するまでの準備期間である。この間の消費電力は閾値より高い状態を示す。
LANインタフェース130において、パケットの送受信が間欠で行われた場合、この一連の期間を経る。特にLPIから通常状態に復帰する際にはウェイクアップS305がLANインタフェース130の起動遅延となって、パケット送受信完了までの時間に積み重なるため、パフォーマンス低下の原因となってしまう。
FIG. 3 is a transition diagram illustrating a relationship between the transition to the LPI and the return to the normal state when the EEE function is valid and the power consumption of the
Active S301 is a state in which there is a packet to be transmitted / received to / from the
The quiet S303 is a state in which the
The sleep S302 is a preparation period until there is no packet to be transmitted / received to / from the
The refresh S304 is a period in which a signal for confirming bi-directionally communicating link continuation is thrown for a short time while the LAN network is transitioning to LPI. During this time, the power consumption is higher than the threshold value.
The wake-up S305 is a preparation period until the LPI is terminated and the normal state is restored before the transmission / reception of the packet to / from the LAN network is resumed. During this time, the power consumption is higher than the threshold value.
In the
図4は、EEE機能が有効な場合において、TCP通信によるパケットがLANネットワークに流れる場合の電力と時間との関係を表す図である。なお、図4による説明においては、情報処理装置100がパケットを送信するとして説明する。
起動遅延401は、ウェイクアップS305の期間に依存する。起動遅延401は、パケットの送受信のためLANネットワークがLPIから通常状態へ復帰する際に発生する。
先頭パケット402は、情報処理装置100が送信するパケットの先頭パケットである。
中間パケット403は、情報処理装置100が送信するパケットの中間パケットである。
終了パケット404は、情報処理装置100が送信するパケットの終了パケットである。
TCP通信においては、パケット受信側の機器は正常に受信できた場合に、送信に対し正常受信を知らせる必要がある。その手段としては送信側と同様にパケット(この場合のパケットは、ACKと呼ぶ)を送信側に対し返信することで知らせる。ACKは、正常確認の一例である。
送信側は、ACKを受け取ることで次のパケットの送信を開始するが、受け取れない場合は、予め決められた期間待つが、それでもACKが来ない場合は再度パケットの再送を行う。それでも来ない場合は、予め決められた回数パケットの再送を行うが、それでもACKを受け取れない場合はパケットの送信を終了する。
FIG. 4 is a diagram illustrating a relationship between power and time when a packet by TCP communication flows through the LAN network when the EEE function is valid. In the description with reference to FIG. 4, it is assumed that the
The
A
The
An
In TCP communication, when a device on the packet receiving side is able to receive normally, it is necessary to notify normal reception of transmission. As the means, a packet (in this case, the packet is called ACK) is sent back to the transmission side in the same manner as on the transmission side to notify the transmission side. ACK is an example of normal confirmation.
The transmission side starts transmission of the next packet by receiving the ACK. If the transmission is not received, the transmission side waits for a predetermined period. If the ACK still does not come, the packet is retransmitted again. If it still does not come, the packet is retransmitted a predetermined number of times, but if the ACK is still not received, the packet transmission is terminated.
LPI無効期間S402は、LANインタフェース130上に起動遅延401、先頭パケット402、中間パケット403、終了パケット404が発生している期間であり、LPIに移行していない期間である。LPI無効期間S402は、LANインタフェース130の消費電力は通常電力を示す。
LPI有効期間S401は、LANインタフェース130上に起動遅延401、先頭パケット402、中間パケット403、終了パケット404が発生していない期間であり、LPIに移行している期間である。LPI有効期間S401では、LANインタフェース130の消費電力は低電力を示す。
情報処理装置100が送受信するパケットはTCP通信のため間欠でやり取りされ、先頭パケット402、中間パケット403、終了パケット404が送受信される際はLPIから通常状態へ移行する際に生じる起動遅延401が発生する。そのため、パケットの送受信が終了するまでの時間には、パケット送受信回数に比例した起動遅延401の積が加算される。よって、パケットを送信する際には、起動遅延401の影響を最小限に抑えることで、LANネットワークのパフォーマンスの低下を防ぐことができる。
The LPI invalid period S402 is a period in which the
The LPI effective period S401 is a period in which the
Packets transmitted and received by the
以下に、本明細書にて実施する、情報処理装置100の実施するLANインタフェース130の制御について説明する。
図5は、実施形態1の情報処理装置100が行うLANネットワークの制御について説明する図である。なお、図5による説明においては、情報処理装置100がパケットを送信するとして説明する。
起動遅延401は、ウェイクアップS305の期間に依存する。起動遅延401は、パケットの送受信のためLANネットワークがLPIから通常状態へ復帰する際に発生する。
先頭パケット402は、情報処理装置100が送信するパケットの先頭パケットである。
中間パケット403は、情報処理装置100が送信するパケットの中間パケットである。
終了パケット404は、情報処理装置100が送信するパケットの終了パケットである。
TCP通信においては、パケット受信側の機器は正常に受信できた場合に、送信に対し正常受信を知らせる必要がある。その手段としては送信側と同様にパケット(この場合のパケットは、ACKと呼ぶ)を送信側に対し返信することで知らせる。
送信側は、ACKを受け取ることで次のパケットの送信を開始するが、受け取れない場合は予め決められた期間待つが、それでもACKが来ない場合は再度パケットの再送を行う。それでも来ない場合は、予め決められた回数パケットの再送を行うが、それでもACKを受け取れない場合はパケットの送信を終了する。
In the following, the control of the
FIG. 5 is a diagram illustrating LAN network control performed by the
The
A
The
An
In TCP communication, when a device on the packet receiving side is able to receive normally, it is necessary to notify normal reception of transmission. As the means, a packet (in this case, the packet is called ACK) is sent back to the transmission side in the same manner as on the transmission side to notify the transmission side.
The transmission side starts transmission of the next packet by receiving the ACK. If the transmission side cannot receive the ACK, the transmission side waits for a predetermined period. If the ACK still does not come, the packet is retransmitted again. If it still does not come, the packet is retransmitted a predetermined number of times, but if the ACK is still not received, the packet transmission is terminated.
LPI有効期間S401は、LANインタフェース130上に起動遅延401、先頭パケット402、中間パケット403、終了パケット404が発生していない期間であり、LPIに移行している期間である。LPI有効期間S401では、LANインタフェース130の消費電力は低電力を示す。
LPI強制移行停止期間S501は、情報処理装置100が取り扱うパケットの送信が完了するまでの間、LANネットワークがLPIに移行するのを強制的に停止する期間である。LPI強制移行停止期間S501においては、CPU108の命令によって、パケットの送信開始から送信終了までの間、PHY103及びMAC104に対し、LPIに移行するのを停止させる。TCP通信を行うことにより生じる間欠時間の間、LPIに移行できる条件であってもLPIに移行しないので、パケット送信中に起動遅延401が発生するのは先頭パケット402が発生する直前の一回のみになる。よって、起動遅延401の積み重ねによるLANネットワークのパフォーマンス低下を防止することができる。LPI強制移行停止期間S501の期間のLANネットワークの消費電力は、LPIに移行しないので、送受信するパケットがなくとも低電力にならないが、パケットを送受信する時間に比べると非常に短い期間である。
The LPI effective period S401 is a period in which the
The LPI forced transition stop period S501 is a period during which the LAN network is forcibly stopped from shifting to LPI until transmission of a packet handled by the
図6は、実施形態1の情報処理装置100が行うLANインタフェース130の制御に関する情報処理の一例を示すフローチャートである。
S601において、CPU108は、情報処理装置100の電源がONさると処理を開始する。
S613において、CPU108は、LANインタフェース130におけるEEE機能を有効又は無効にする設定を行う。CPU108は、パネル114等を介した操作に応じて、前記設定を行ってもよいし、ROM116に格納されている設定ファイル等に記述されている情報に基づき、前記設定を行ってもよい。
S602において、CPU108の制御に基づきPHY103は、HUB201からの信号を検知することで、LANインタフェース130のLINKを確立する。このとき、LANインタフェース130及びHUB201の双方でEEE機能が有効、かつ、オートネゴシエーションでの接続であれば、EEE機能は有効になる。LANインタフェース130及びHUB201のどちらか一方のEEE機能が無効、又は固定モードであると、EEE機能は無効となる。
S614において、CPU108は、EEE機能は有効か否かを判定する。EEE機能が有効な場合(S614にてYes)、CPU108は、S603に進む。一方、EEE機能が無効な場合(S614にてNo)、CPU108は、S615に進む。
S615において、EEE機能が無効なため、CPU108の制御に基づきLANインタフェース130は、LPIに移行しないままS616に進む。
S616において、CPU108の制御に基づきLANインタフェース130は、LPIに移行することなく、パケットの送受信を行い、図6に示すフローチャートの処理を終了する。
FIG. 6 is a flowchart illustrating an example of information processing related to the control of the
In step S <b> 601, the
In step S <b> 613, the
In step S <b> 602, the
In S614, the
In S615, since the EEE function is invalid, the
In step S616, the
S603において、CPU108の制御に基づきLANインタフェース130は、待機状態を検知し、LPIに移行する。
S604において、CPU108は、LANインタフェース130にてパケットの送受信が開始されるか否かを判定する。LANインタフェース130にてパケットの送受信が開始される場合(S604にてYes)、CPU108は、S606に進む。一方、LANインタフェース130にてパケットの送受信が開始されない場合(S604にてNo)、CPU108は、S603に戻り、LANインタフェース130のLPIの状態を継続する。
S606において、CPU108は、LANインタフェース130のLPIを強制的に無効にし、S607に進む。S606にて強制的に無効にされたLPIが再度有効になるのは、情報処理装置100が送受信すべきパケットが全て無くなったのを検知した後となる。S606の処理は、無効化の処理の一例である。
S607において、CPU108の制御に基づきLANインタフェース130は、パケットの送受信を開始し、S617に進む。S606にてLPIを強制的に無効にしているため、S607にてTCP通信によるパケットの送受信が行われることで、間欠送信になった場合でも、起動遅延401の発生がない。その為、LANインタフェース130においては、パケットの送受信が終了するまでは起動遅延401による送受信パフォーマンス低下を防止することができる。
S617において、CPU108は、ACKを受信したか否かを判定する。S607におけるパケットの送受信が正常に行われたことで、受信側からの正常受信の確認としてACKが規定時間内に帰ってきた場合(S617にてYes)、CPU108は、S608に進む。一方、受信側からのACKが規定時間内に帰っこなかった場合(S617にてNo)、CPU108は、S618に進む。
In step S603, the
In step S <b> 604, the
In S606, the
In step S607, based on the control of the
In S617, the
S618において、CPU108は、ACKを確認できなかったパケットの送受信を再実施し、S619に進む。
S619において、CPU108は、ACKを受信したか否かを判定する。受信側からのACKが規定時間内に帰ってきた場合(S619にてYes)、CPU108は、S608に進む。一方、受信側からのACKが規定時間内に帰ってこなかった場合(S619にてNo)、CPU108は、S620に進む。
S620において、CPU108は、パケット送受信の再送回数が、予め情報処理装置100に設定等された回数を超えているか否かを判定する。パケット送受信の再送回数が、予め情報処理装置100に設定等された回数を超えている場合(S620にてYes)、CPU108は、S609に進む。一方、パケット送受信の再送回数が、予め情報処理装置100にて決められた回数を超えていない場合(S620にてNo)、CPU108は、S618に戻る。
S608において、CPU108は、パケットの送受信が完了したか否かを判定する。パケットの送受信が完了した場合(S608にてYes)、CPU108は、S609に進む。一方、パケットの送受信が完了していない場合(S608にてNo)、CPU108は、S607に戻る。
S609において、CPU108の制御に基づきLANインタフェース130は、再度LPIに移行を行い、LPIを有効にし、図6に示すフローチャートの処理を終了する。S609の処理は、有効化の処理の一例である。
In S618, the
In S619, the
In step S620, the
In step S608, the
In S609, the
<実施形態2>
実施形態1において、EEE機能を利用した場合のLANインタフェース130のパフォーマンスを効率的に使う手法を提案した。
しかしながら、実際に情報処理装置100が使用されるようなLANネットワークでは、HUB201を介して複数の機器間でのLAN通信がなされる。その際に、複数機器間でのパケットのやり取りを行う際に生じる、LANの帯域の輻輳が起こることが想定される。HUB201にて輻輳が検知されると、通常送信側の機器に対し、ポーズフレームを送信することで一定時間のパケット送信停止命令を行い、輻輳の解消を試みる。
実施形態1の構成において、情報処理装置100がパケット送信中にポーズフレームを受け取ると、パケットの送信を一定時間停止するが、LPIを無効にしているため、送信停止期間もLANインタフェース130の消費電力を低電力にできない。
よって、実施形態2では情報処理装置100がパケット送信中に送信停止命令を受けた場合に、その間もLPIによる低電力に移行させることのできる方法について説明する。
<Embodiment 2>
In the first embodiment, a method for efficiently using the performance of the
However, in a LAN network where the
In the configuration of the first embodiment, when the
Therefore, in the second embodiment, a method is described in which when the
図7は、実施形態2の情報処理装置100が行うLANネットワークの制御について説明する図である。なお、図7による説明においては、情報処理装置100がパケットを送信するとして説明する。
起動遅延401は、ウェイクアップS305の期間に依存する。起動遅延401は、パケットの送受信のためLANインタフェース130がLPIから通常状態へ復帰する際に発生する。
先頭パケット402は、情報処理装置100が送信するパケットの先頭パケットである。
中間パケット403は、情報処理装置100が送信するパケットの中間パケットである。
終了パケット404は、情報処理装置100が送信するパケットの終了パケットである。
TCP通信においては、パケット受信側の機器は正常に受信できた場合に、送信に対し正常受信を知らせる必要がある。その手段としては送信側と同様にパケット(この場合のパケットは、ACKと呼ぶ)を送信側に対し返信することで知らせる。
送信側は、ACKを受け取ることで次のパケットの送信を開始するが、受け取れない場合は予め決められた期間待つが、それでもACKが来ない場合は再度パケットの再送を行う。それでも来ない場合は、予め決められた回数パケットの再送を行うが、それでもACKを受け取れない場合はパケットの送信を終了する。
FIG. 7 is a diagram illustrating LAN network control performed by the
The
A
The
An
In TCP communication, when a device on the packet receiving side is able to receive normally, it is necessary to notify normal reception of transmission. As the means, a packet (in this case, the packet is called ACK) is sent back to the transmission side in the same manner as on the transmission side to notify the transmission side.
The transmission side starts transmission of the next packet by receiving the ACK. If the transmission side cannot receive the ACK, the transmission side waits for a predetermined period. If the ACK still does not come, the packet is retransmitted again. If it still does not come, the packet is retransmitted a predetermined number of times, but if the ACK is still not received, the packet transmission is terminated.
LPI有効期間S401は、LANインタフェース130上に起動遅延401、先頭パケット402、中間パケット403、終了パケット404が発生していない期間であり、LPIに移行している期間である。LPI有効期間S401では、LANインタフェース130の消費電力は低電力を示す。
LPI強制移行停止期間S501は、情報処理装置100が取り扱うパケットの送信が完了するまでの間、LANネットワークがLPIに移行するのを強制的に停止する期間である。LPI強制移行停止期間S501においては、CPU108の命令によって、パケットの送信開始から送信終了までの間、PHY103及びMAC104に対し、LPIに移行するのを停止させる。
送信停止期間S701は、情報処理装置100がHUB201よりポーズフレームを受信したため、ポーズフレームに従いパケットの送信を停止する期間である。送信停止期間S701の間は、パケットの送信を行うことのできない期間である。その為、CPU108の命令によりLPI強制移行停止期間S501で実施したLPIへの移行の強制停止を解除することで、再度、LANインタフェース130はLPIに移行することができ、低電力の状態にすることが可能となる。また、送信停止期間S701からLPI強制移行停止期間S501に移行する際には、起動遅延401が再度発生する。しかし、CPU108は、この遅延時間を予め見越してLPI強制移行停止期間S501への移行を所定期間、早める制御を行ってもよい。
The LPI effective period S401 is a period in which the
The LPI forced transition stop period S501 is a period during which the LAN network is forcibly stopped from shifting to LPI until transmission of a packet handled by the
The transmission stop period S701 is a period in which packet transmission is stopped according to the pause frame because the
図8は、実施形態2の情報処理装置100が行うLANインタフェース130の制御に関する情報処理の一例を示すフローチャートである。
S801において、CPU108は、情報処理装置100の電源がONされると処理を開始する。
S817において、CPU108は、LANインタフェース130におけるEEE機能を有効又は無効にする設定を行う。CPU108は、パネル114等を介した操作に応じて、前記設定を行ってもよいし、ROM116に格納されている設定ファイル等に記述されている情報に基づき、前記設定を行ってもよい。
S802において、CPU108の制御に基づきPHY103は、HUB201からの信号を検知することで、LANインタフェース130のLINKを確立する。このとき、LANインタフェース130及びHUB201の双方でEEE機能が有効、かつ、オートネゴシエーションでの接続であれば、EEE機能は有効になる。LANインタフェース130及びHUB201のどちらか一方のEEE機能が無効、又は固定モードであると、EEE機能は無効となる。
S818において、CPU108は、EEE機能は有効か否かを判定する。EEE機能が有効な場合(S818にてYes)、CPU108は、S803に進む。一方、EEE機能が無効な場合(S818にてNo)、CPU108は、S819に進む。
S819において、CPU108の制御に基づきLANインタフェース130は、EEE機能が無効なため、LPIに移行しないままS820に進む。
S820において、LANインタフェース130はLPIに移行することなく、パケットの送受信を行い、図8に示すフローチャートの処理を終了する。
FIG. 8 is a flowchart illustrating an example of information processing related to control of the
In step S <b> 801, the
In step S817, the
In step S <b> 802, the
In step S818, the
In step S819, the
In step S820, the
S803において、CPU108の制御に基づきLANインタフェース130は、待機状態を検知し、LPIに移行する。
S804において、CPU108は、LANインタフェース130にてパケットの送受信が開始されるか否かを判定する。LANインタフェース130にてパケットの送受信が開始される場合(S804にてYes)、CPU108は、S806に進む。一方、LANインタフェース130にてパケットの送受信が開始されない場合(S804にてNo)、CPU108は、S803に戻り、LANインタフェース130のLPIの状態を継続する。
S806において、CPU108は、LANインタフェース130のLPIを強制的に無効にし、S807に進む。S806にて強制的に無効にされたLPIが再度有効になるのは、情報処理装置100が送受信すべきパケットが全て無くなったのを検知した後となる。
S807において、CPU108の制御に基づきLANインタフェース130は、パケットの送受信を開始し、S821に進む。S806にてLPIを強制的に無効にしているため、S807にてTCP通信によるパケットの送受信が行われることで、間欠送信になった場合でも、起動遅延401の発生がない。その為、LANインタフェース130においては、パケットの送受信が終了するまでは起動遅延401による送受信パフォーマンス低下を防止することができる。
S821において、CPU108は、ACKを受信したか否かを判定する。S807におけるパケットの送受信が正常に行われたことで、受信側からの正常受信の確認としてACKが規定時間内に帰ってきた場合(S821にてYes)、CPU108は、S813に進む。一方、受信側からのACKが規定時間内に帰っこなかった場合(S821にてNo)、CPU108は、S822に進む。
In step S803, the
In step S <b> 804, the
In S806, the
In step S807, the
In step S821, the
S822において、CPU108は、ACKを確認できなかったパケットの送受信を再実施し、S823に進む。
S823において、CPU108は、ACKを受信したか否かを判定する。受信側からのACKが規定時間内に帰ってきた場合(S823にてYes)、S813に進む。受信側からのACKが規定時間内に帰ってこなかった場合(S823にてNo)、S824に進む。
S824において、CPU108は、パケット送受信の再送回数が、予め情報処理装置100に設定等された回数を超えているか否かを判定する。パケット送受信の再送回数が、予め情報処理装置100に設定等された回数を超えている場合(S824にてYes)、CPU108は、S809に進む。一方、パケット送受信の再送回数が、予め情報処理装置100に設定等された回数を超えていない場合(S824にてNo)、CPU108は、S822に戻る。
S813において、CPU108は、HUB201からポーズフレームを受信したか否かを判定する。HUB201からポーズフレームを受信した場合(S813にてYes)、CPU108は、S814に進む。一方、HUB201からポーズフレームを受信しない場合(S813にてNo)、CPU108は、S808に進む。
S814において、CPU108の制御に基づきLANインタフェース130は、LPIに移行し、S815に進む。
In S822, the
In step S823, the
In step S824, the
In step S813, the
In S814, the
S815において、CPU108は、ポーズフレームに従った送信停止期間が終了したか否かを判定する。ポーズフレームに従った送信停止期間が終了した場合(S815にてYes)、CPU108は、S816に進む。一方、ポーズフレームに従った送信停止期間が終了しない場合(S815にてYes)、CPU108は、S815に戻る。
S816において、CPU108の制御に基づきLANインタフェース130は、LPIを無効にした後、再度パケットの送信を開始し、S808に進む。
S808において、CPU108は、パケットの送受信が終了したか否かを判定する。パケットの送受信が終了した場合(S808にてYes)、CPU108は、S809に進む。パケットの送受信が終了していない場合(S808にてNo)、CPU108は、再度S807に戻る。
S809において、CPU108の制御に基づきLANインタフェース130は、再度LPIに移行を行い、図8に示すフローチャートの処理を終了する。
情報処理装置100は、ポーズフレームを受信することで、パケットの送信が一定期間できないので、その間、S814にてLPIを有効に戻すことで、パケット送信できない期間の電力状態を低電力に保つ。また、情報処理装置100は、ポーズフレームによる送信停止の期間が終了することで、S816にて再度LPIを無効にすることで、TCP通信におけるパフォーマンスの低下を防止することができることとなる。
In step S815, the
In step S816, based on the control of the
In step S808, the
In step S809, the
By receiving the pause frame, the
<実施形態3>
上述した実施形態では、パケットの送信開始を基準にしてLPIを無効にする手法について説明したが、対向機からのACKが来ない場合を基準にLPIを無効にすることで、同様の効果を得ることができる。
図6を用いて具体的に説明すると、CPU108は、ステップS604にてYesと判定した場合、S607に進む。そして、CPU108は、S617にてNoと判定した場合に、S606のLPIを無効にする処理を行う。この場合、S609において、CPU108は、LPIが無効になっている場合、LPIを有効にする。
本実施形態の処理によって、上述した実施形態の効果を奏することができる。
<Embodiment 3>
In the above-described embodiment, the method of invalidating the LPI based on the start of packet transmission has been described. However, the same effect can be obtained by invalidating the LPI based on the case where no ACK is received from the opposite device. be able to.
More specifically, with reference to FIG. 6, if the
The effects of the above-described embodiment can be achieved by the processing of this embodiment.
<その他の実施形態>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給する。そして、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other embodiments>
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium. It can also be realized by a process in which one or more processors in the computer of the system or apparatus read and execute the program. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではない。
例えば、上述した各実施形態を任意に組み合わせて実施するようにしてもよい。
As mentioned above, although preferable embodiment of this invention was explained in full detail, this invention is not limited to the specific embodiment which concerns.
For example, the embodiments described above may be implemented in any combination.
以上、上述した各実施形態の処理によれば、消費電力の削減と、LANネットワークのパフォーマンス低下の防止とを図ることができる。 As described above, according to the processing of each embodiment described above, it is possible to reduce the power consumption and prevent the performance degradation of the LAN network.
100 情報処理装置
108 CPU
130 LANインタフェース
100
130 LAN interface
Claims (8)
前記有線LANインタフェースの機能の一部を停止する省電力モードに移行されたあとに、前記有線LANインタフェースを介してパケットの送受信が開始される場合、前記省電力モードを無効にする無効化手段と、
前記パケットの送受信が開始され、前記パケットの送受信が完了されたあとに、前記省電力モードを有効にする有効化手段と、
を有する情報処理装置。 An information processing apparatus having a wired LAN interface,
Invalidation means for disabling the power saving mode when transmission / reception of a packet is started via the wired LAN interface after shifting to a power saving mode for stopping a part of the function of the wired LAN interface; ,
Enabling means for enabling the power saving mode after transmission and reception of the packet is started and transmission and reception of the packet is completed;
An information processing apparatus.
前記無効化手段は、更に、前記有効化手段により前記省電力モードが有効にされたあと、前記フレームに従った停止期間が終了したあと、前記省電力モードを無効にする請求項1又は2記載の情報処理装置。 The enabling means further enables the power saving mode when a frame indicating stop of transmission is received after the transmission / reception of the packet is started,
3. The invalidation means further invalidates the power saving mode after the stop period according to the frame ends after the power saving mode is validated by the validation means. Information processing device.
前記有線LANインタフェースの機能の一部を停止する省電力モードに移行されたあとに、前記有線LANインタフェースを介してパケットの送受信が開始される場合、前記省電力モードを無効にする無効化ステップと、
前記パケットの送受信が開始され、前記パケットの送受信が完了されたあとに、前記省電力モードを有効にする有効化ステップと、
を含む情報処理方法。 An information processing method executed by an information processing apparatus having a wired LAN interface,
An invalidation step of disabling the power saving mode when transmission / reception of a packet is started via the wired LAN interface after shifting to a power saving mode for stopping a part of the function of the wired LAN interface; ,
Enabling the power saving mode after the transmission and reception of the packet is started and the transmission and reception of the packet is completed;
An information processing method including:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015166036A JP2017046114A (en) | 2015-08-25 | 2015-08-25 | Information processing unit, information processing method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015166036A JP2017046114A (en) | 2015-08-25 | 2015-08-25 | Information processing unit, information processing method, and program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2017046114A true JP2017046114A (en) | 2017-03-02 |
Family
ID=58210122
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015166036A Pending JP2017046114A (en) | 2015-08-25 | 2015-08-25 | Information processing unit, information processing method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2017046114A (en) |
-
2015
- 2015-08-25 JP JP2015166036A patent/JP2017046114A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8942144B2 (en) | Adaptive pause time energy efficient ethernet PHY | |
| US10725530B2 (en) | Information processing apparatus that sets a communication rate based on whether an energy efficient ethernet function is enabled, method of controlling the same, and storage medium | |
| US9172548B2 (en) | Communication apparatus, control method and storage medium | |
| US9519327B2 (en) | Communication apparatus and control method therefor | |
| WO2022001175A1 (en) | Data packet sending method and apparatus | |
| US9377838B2 (en) | Data processing apparatus and power saving control method when transiting to a power saving state | |
| EP3024160B1 (en) | Control method, device and optical transceiver | |
| EP2663016B1 (en) | Communication apparatus operable in auto-negotiation mode, method of controlling the communication apparatus, and storage medium | |
| US9063736B2 (en) | Method and apparatus for reducing a link rate of communication device in a pre-standby state upon detecting no traffic for a predetermined time period | |
| US8928924B2 (en) | Printing system, printing control apparatus, control method of printing control apparatus, and program | |
| TW201630394A (en) | Method for maintaining transmission control protocol connection and computer system | |
| JP2017046114A (en) | Information processing unit, information processing method, and program | |
| JP2009037285A (en) | Network device | |
| JP5817287B2 (en) | Information processing apparatus, information processing method, and program | |
| JP5567604B2 (en) | Communication device control apparatus, communication device control method, and communication device control program | |
| CN104284045A (en) | Image forming device and response method | |
| JP2004199543A (en) | Server, client, and network system | |
| US9329812B2 (en) | System, image processing apparatus, and method for controlling the power saving state of an image output apparatus | |
| JP2016210035A (en) | Communication device, control method, program | |
| JP2017149119A (en) | Information processing apparatus and method for controlling information processing apparatus | |
| JP5675554B2 (en) | Network communication device, electronic device, and program | |
| JP2009260576A (en) | Hub apparatus, image forming apparatus and program | |
| JP6745069B2 (en) | Image forming apparatus and image forming method | |
| JP2017195545A (en) | Communication apparatus, information processing method, and program | |
| KR20160094024A (en) | Terminal and power management method of terminal |