[go: up one dir, main page]

JP2017046114A - Information processing unit, information processing method, and program - Google Patents

Information processing unit, information processing method, and program Download PDF

Info

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
Application number
JP2015166036A
Other languages
Japanese (ja)
Inventor
一彰 丸橋
Kazuaki Maruhashi
一彰 丸橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2015166036A priority Critical patent/JP2017046114A/en
Publication of JP2017046114A publication Critical patent/JP2017046114A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce power consumption and prevent performance deterioration of a LAN network.SOLUTION: The information processing unit having a wired LAN interface includes: an invalidation means for invalidating the power saving mode when packet transmission/reception starts through a wired LAN interface after shifting to a power saving mode of halting part of a function of the wired LAN interface; and a validation means for validating the power saving mode after the packet transmission starts and packet transmission/reception ends.SELECTED DRAWING: Figure 6

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.

特開2013−236303号公報JP 2013-236303 A

しかしながら、特許文献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.

情報処理装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of information processing apparatus. 情報処理装置の接続形態の一例を示す図である。It is a figure which shows an example of the connection form of information processing apparatus. EEE機能が有効時にLPIへの移行及び通常状態への復帰と、LANインタフェースの消費電力との関係を示す遷移図である。FIG. 10 is a transition diagram showing 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 LAN interface. TCP通信によるパケットがLANネットワークに流れる場合の電力と時間との関係を表す図である。It is a figure showing the relationship between the electric power and time when the packet by TCP communication flows into a LAN network. 実施形態1の情報処理装置が行うLANネットワークの制御を説明する図である。FIG. 3 is a diagram illustrating LAN network control performed by the information processing apparatus according to the first embodiment. 実施形態1のLANインタフェースの制御に関する情報処理の一例を示すフローチャートである。3 is a flowchart illustrating an example of information processing related to LAN interface control according to the first exemplary embodiment. 実施形態2の情報処理装置が行うLANネットワークの制御を説明する図である。FIG. 10 is a diagram illustrating LAN network control performed by the information processing apparatus according to the second embodiment. 実施形態2のLANインタフェースの制御に関する情報処理の一例を示すフローチャートである。10 is a flowchart illustrating an example of information processing related to LAN interface control according to the second exemplary embodiment.

以下、本発明の実施形態について図面に基づいて説明する。   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 information processing apparatus 100.
The controller 110 performs main control of the information processing apparatus 100.
The connector 101 connects a modular LAN cable.
The transformer 102 electrically insulates the information processing apparatus 100 from the network.
The PHY 103 exchanges electrical signals with the connection destination when the information processing apparatus 100 connects to the LAN network.
The MAC 104 converts the signal received by the PHY 103 into a frame handled by a device in the apparatus.
The CPU 108 executes a command for a device in the apparatus.
The RAM 109 temporarily stores a program executed by the CPU 108.
The RTC 105 has a clock function that measures the current time and notifies the CPU 108 of the time as necessary.
The ROM 116 stores setting values and initial data of the information processing apparatus 100.
The printer 111 performs printing and image printing.
The panel 114 displays information of the information processing apparatus 100 and inputs commands from the user.
The LCD 115 is attached to the panel 114. The LCD 115 can display commands received by the panel 114 from the CPU 108.

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 MAC 104 to the PHY 103.
The TX information group 1b is information representing a transmission state of transmission data from the MAC 104 to the PHY 103. The TX information group 1b can notify the PHY 103 of a transmission valid state from the MAC 104 and a transmission error state.
RX data 1 c is data that the MAC 104 receives from the PHY 103.
The RX information group 1 d is information indicating the state of received data that the MAC 104 receives from the PHY 103. The TX information group 1d can notify the MAC 104 of the detection state of the received data and the error information of the received data.
The RX clock 1e is a clock that the MAC 104 receives from the PHY 103.
The management information 1 f is information used bidirectionally between the PHY 103 and the MAC 104.
The power source 112 supplies power to the inside of the information processing apparatus 100. The power source 112 can be controlled by the CPU 108 and supplies power to the controller 110, the printer 111, and the LCD 115. The power supply 112 can change the power supply state to the supply destination under the control of the CPU 108. Therefore, the power supply 112 can enhance the power saving effect by stopping the power supply to unnecessary devices according to the operating state of the information processing apparatus 100.
The power switch 120 is a switch for turning on / off the power supply of the power source 112.
The LAN interface 130 allows the information processing apparatus 100 to perform LAN communication. The LAN interface 130 is an example of a wired LAN interface.
When the CPU 108 executes processing based on a program stored in the ROM 116 or the like, the functions of the information processing apparatus 100 and processing of flowcharts described later are realized. An example of the information processing apparatus 100 is an image forming apparatus that forms an image, for example.

図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 information processing apparatus 100. The HUB 201 can be connected to a plurality of LAN lines, and can exchange packets and broadcast packets. The PHY 205 is a PHY that the HUB 201 uses for connection with another information processing apparatus, and has a function equivalent to that of the PHY 103. In this specification, the connection destination of the information processing apparatus other than the PHY 205 is the PHY 103 of the information processing apparatus 100. The MAC 218 is a MAC installed in the HUB 201 and has a function equivalent to that of the MAC 104. Terminals A 202 and B 203 are terminals that request the information processing apparatus 100 to print. A monitor A 214 and a monitor B 215 are monitors that are connected to the terminal A 202 and the terminal B 203 and display information from the terminal A 202 and the terminal B 203. PHY 207 and PHY 208 are PHYs that are used for connection with terminal A 202 and terminal B 203 and have the same functions as PHY 103. The MACs 219 and 220 are MACs connected to the PHY 207 and PHY 208, respectively, and having functions equivalent to the MAC 104.
A network 217 connects the HUB 201 to an external Internet or the like. The PHY 216 is a PHY that is connected to the network 217 and has a function equivalent to that of the PHY 103. The MAC 221 is a MAC that is connected to the PHY 216 and has a function equivalent to the MAC 104.
The LAN cable 206 is used for communication between the information processing apparatus 100 and the HUB 201. The information processing apparatus 100 is connected to the HUB 201 via the connector 101. Similarly, the terminal A 202 and the terminal B 203 are connected to the HUB 201. Therefore, the information processing apparatus 100 can communicate with the terminal A 202 and the terminal B 203 via the HUB 201.

スイッチ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 switch LSI 210 has a function of transferring packets received via the MAC 218, MAC 219, MAC 220, and MAC 221 in a predetermined direction.
The CPU 211 executes a command to the devices in the HUB 201. The RAM 213 temporarily stores a program executed by the CPU 211. The ROM 212 stores setting values, initial data, and the like of the HUB 201. The CPU 211 executes commands such as setting changes to the PHY 205, PHY 207, PHY 208, PHY 216, and the switch LSI 210.
In this specification, the LAN network of the information processing apparatus 100 is assumed to support the EEE function. In this method, when there is no packet transmission / reception to / from the PHY 103 and the MAC 104, a part of the functions of the PHY 103 and the MAC 104 is stopped, and the method shifts to an LPI that reduces power consumption during standby. At this time, the communication speed of the PHY 103 does not change, and the network link is not disconnected. As a condition for enabling the LPI, the HUB 201 that communicates with the information processing apparatus 100 via the LAN interface 130 also has the same function, and the EEE function is set to be usable in both. It becomes a condition. LPI is an example of a power saving mode.

図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 LAN interface 130 in the information processing apparatus 100. The horizontal axis represents the transition of time, and the vertical axis represents the power consumption.
Active S301 is a state in which there is a packet to be transmitted / received to / from the LAN interface 130, and the power consumption is higher than a threshold value.
The quiet S303 is a state in which the LAN interface 130 has shifted to LPI and has the lowest power consumption.
The sleep S302 is a preparation period until there is no packet to be transmitted / received to / from the LAN interface 130, the LPI start state, and the transition to the low power state.
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 LAN interface 130, when packet transmission / reception is performed intermittently, this series of periods passes. In particular, when returning from the LPI to the normal state, the wake-up S305 becomes a startup delay of the LAN interface 130 and accumulates in the time until packet transmission / reception is completed, resulting in performance degradation.

図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 information processing apparatus 100 transmits a packet.
The activation delay 401 depends on the period of wake-up S305. The activation delay 401 occurs when the LAN network returns from the LPI to the normal state for packet transmission / reception.
A leading packet 402 is a leading packet of a packet transmitted by the information processing apparatus 100.
The intermediate packet 403 is an intermediate packet of packets transmitted by the information processing apparatus 100.
An end packet 404 is an end packet of a packet transmitted by the information processing apparatus 100.
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 activation delay 401, the head packet 402, the intermediate packet 403, and the end packet 404 are generated on the LAN interface 130, and is a period in which the transition to the LPI is not performed. In the LPI invalid period S402, the power consumption of the LAN interface 130 indicates normal power.
The LPI effective period S401 is a period in which the activation delay 401, the head packet 402, the intermediate packet 403, and the end packet 404 are not generated on the LAN interface 130, and is a period in which the LPI transition is made. In the LPI valid period S401, the power consumption of the LAN interface 130 is low.
Packets transmitted and received by the information processing apparatus 100 are intermittently exchanged for TCP communication, and when a head packet 402, an intermediate packet 403, and an end packet 404 are transmitted and received, a startup delay 401 that occurs when shifting from the LPI to the normal state occurs. To do. Therefore, the product of the activation delay 401 proportional to the number of packet transmission / reception is added to the time until transmission / reception of the packet is completed. Therefore, when transmitting a packet, it is possible to prevent the performance of the LAN network from being deteriorated by minimizing the influence of the activation delay 401.

以下に、本明細書にて実施する、情報処理装置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 LAN interface 130 implemented by the information processing apparatus 100 implemented in the present specification will be described.
FIG. 5 is a diagram illustrating LAN network control performed by the information processing apparatus 100 according to the first embodiment. In the description with reference to FIG. 5, it is assumed that the information processing apparatus 100 transmits a packet.
The activation delay 401 depends on the period of wake-up S305. The activation delay 401 occurs when the LAN network returns from the LPI to the normal state for packet transmission / reception.
A leading packet 402 is a leading packet of a packet transmitted by the information processing apparatus 100.
The intermediate packet 403 is an intermediate packet of packets transmitted by the information processing apparatus 100.
An end packet 404 is an end packet of a packet transmitted by the information processing apparatus 100.
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 activation delay 401, the head packet 402, the intermediate packet 403, and the end packet 404 are not generated on the LAN interface 130, and is a period in which the LPI transition is made. In the LPI valid period S401, the power consumption of the LAN interface 130 is low.
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 information processing apparatus 100 is completed. In the LPI forced transition stop period S501, in response to a command from the CPU 108, the PHY 103 and the MAC 104 are stopped from shifting to LPI from the start of packet transmission to the end of transmission. During the intermittent time generated by performing TCP communication, even if the condition allows the transition to the LPI, the transition to the LPI is not performed. Therefore, the activation delay 401 occurs during packet transmission only once just before the head packet 402 is generated. become. Therefore, it is possible to prevent the performance degradation of the LAN network due to the stacking of startup delays 401. The power consumption of the LAN network during the period of the LPI forced transition stop period S501 does not shift to the LPI, so it does not become low power even if there is no packet to be transmitted / received, but is a very short period compared to the time for transmitting / receiving the packet.

図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 LAN interface 130 performed by the information processing apparatus 100 according to the first embodiment.
In step S <b> 601, the CPU 108 starts processing when the information processing apparatus 100 is powered on.
In step S <b> 613, the CPU 108 performs setting for enabling or disabling the EEE function in the LAN interface 130. The CPU 108 may perform the setting according to an operation via the panel 114 or the like, or may perform the setting based on information described in a setting file or the like stored in the ROM 116.
In step S <b> 602, the PHY 103 detects a signal from the HUB 201 based on the control of the CPU 108, and establishes the LINK of the LAN interface 130. At this time, if the EEE function is valid in both the LAN interface 130 and the HUB 201 and the connection is made by auto-negotiation, the EEE function is valid. If the EEE function of either one of the LAN interface 130 and the HUB 201 is invalid or in the fixed mode, the EEE function is invalid.
In S614, the CPU 108 determines whether or not the EEE function is valid. When the EEE function is valid (Yes in S614), the CPU 108 proceeds to S603. On the other hand, when the EEE function is invalid (No in S614), CPU 108 proceeds to S615.
In S615, since the EEE function is invalid, the LAN interface 130 proceeds to S616 without shifting to the LPI based on the control of the CPU 108.
In step S616, the LAN interface 130 transmits and receives packets based on the control of the CPU 108 without shifting to the LPI, and ends the processing of the flowchart illustrated in FIG.

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 LAN interface 130 detects a standby state based on the control of the CPU 108, and shifts to LPI.
In step S <b> 604, the CPU 108 determines whether packet transmission / reception is started on the LAN interface 130. When packet transmission / reception is started on the LAN interface 130 (Yes in S604), the CPU 108 proceeds to S606. On the other hand, when packet transmission / reception is not started in the LAN interface 130 (No in S604), the CPU 108 returns to S603 and continues the LPI state of the LAN interface 130.
In S606, the CPU 108 forcibly disables the LPI of the LAN interface 130, and proceeds to S607. The LPI that is forcibly disabled in S606 is enabled again after the information processing apparatus 100 detects that all the packets to be transmitted / received have disappeared. The processing in S606 is an example of invalidation processing.
In step S607, based on the control of the CPU 108, the LAN interface 130 starts packet transmission / reception, and then proceeds to step S617. Since the LPI is forcibly disabled in S606, the activation delay 401 does not occur even in the case of intermittent transmission by performing packet transmission / reception by TCP communication in S607. Therefore, in the LAN interface 130, transmission / reception performance degradation due to the activation delay 401 can be prevented until packet transmission / reception is completed.
In S617, the CPU 108 determines whether or not an ACK has been received. If ACK is returned within the specified time as confirmation of normal reception from the receiving side due to normal transmission / reception of the packet in S607 (Yes in S617), the CPU 108 proceeds to S608. On the other hand, when the ACK from the receiving side does not return within the specified time (No in S617), CPU 108 proceeds to S618.

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 CPU 108 re-transmits / receives the packet whose ACK could not be confirmed, and proceeds to S619.
In S619, the CPU 108 determines whether or not an ACK has been received. If the ACK from the receiving side returns within the specified time (Yes in S619), the CPU 108 proceeds to S608. On the other hand, when ACK from the receiving side has not returned within the specified time (No in S619), CPU 108 proceeds to S620.
In step S620, the CPU 108 determines whether or not the number of retransmissions of packet transmission / reception exceeds the number set in the information processing apparatus 100 in advance. If the number of retransmissions of packet transmission / reception exceeds the number set in the information processing apparatus 100 in advance (Yes in S620), the CPU proceeds to S609. On the other hand, when the number of retransmissions of packet transmission / reception does not exceed the number determined in advance by information processing apparatus 100 (No in S620), CPU 108 returns to S618.
In step S608, the CPU 108 determines whether transmission / reception of the packet has been completed. When the packet transmission / reception is completed (Yes in S608), the CPU 108 proceeds to S609. On the other hand, when packet transmission / reception has not been completed (No in S608), CPU 108 returns to S607.
In S609, the LAN interface 130 shifts to LPI again based on the control of the CPU 108, validates the LPI, and ends the processing of the flowchart shown in FIG. The process of S609 is an example of an activation process.

<実施形態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 LAN interface 130 when the EEE function is used has been proposed.
However, in a LAN network where the information processing apparatus 100 is actually used, LAN communication is performed between a plurality of devices via the HUB 201. At this time, it is assumed that LAN bandwidth congestion occurs when packets are exchanged between a plurality of devices. When congestion is detected in the HUB 201, a packet transmission stop command for a predetermined time is transmitted by transmitting a pause frame to the device on the normal transmission side to attempt to eliminate the congestion.
In the configuration of the first embodiment, when the information processing apparatus 100 receives a pause frame during packet transmission, the transmission of the packet is stopped for a certain period of time, but since the LPI is invalidated, the power consumption of the LAN interface 130 also during the transmission stop period. Can not be low power.
Therefore, in the second embodiment, a method is described in which when the information processing apparatus 100 receives a transmission stop command during packet transmission, the information processing apparatus 100 can shift to low power by LPI during that time.

図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 information processing apparatus 100 according to the second embodiment. In the description with reference to FIG. 7, the information processing apparatus 100 is described as transmitting a packet.
The activation delay 401 depends on the period of wake-up S305. The activation delay 401 occurs when the LAN interface 130 returns from the LPI to the normal state for packet transmission / reception.
A leading packet 402 is a leading packet of a packet transmitted by the information processing apparatus 100.
The intermediate packet 403 is an intermediate packet of packets transmitted by the information processing apparatus 100.
An end packet 404 is an end packet of a packet transmitted by the information processing apparatus 100.
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 activation delay 401, the head packet 402, the intermediate packet 403, and the end packet 404 are not generated on the LAN interface 130, and is a period in which the LPI transition is made. In the LPI valid period S401, the power consumption of the LAN interface 130 is low.
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 information processing apparatus 100 is completed. In the LPI forced transition stop period S501, in response to a command from the CPU 108, the PHY 103 and the MAC 104 are stopped from shifting to LPI from the start of packet transmission to the end of transmission.
The transmission stop period S701 is a period in which packet transmission is stopped according to the pause frame because the information processing apparatus 100 has received the pause frame from the HUB 201. The transmission suspension period S701 is a period during which packets cannot be transmitted. Therefore, by canceling the forced stop of the transition to the LPI performed in the LPI forced transition stop period S501 by the instruction of the CPU 108, the LAN interface 130 can transition to the LPI again and be in a low power state. Is possible. In addition, when shifting from the transmission suspension period S701 to the LPI forced transition suspension period S501, the activation delay 401 occurs again. However, the CPU 108 may perform control to advance the transition to the LPI forced transition stop period S501 by a predetermined period in anticipation of this delay time.

図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 LAN interface 130 performed by the information processing apparatus 100 according to the second embodiment.
In step S <b> 801, the CPU 108 starts processing when the information processing apparatus 100 is powered on.
In step S817, the CPU 108 performs setting to enable or disable the EEE function in the LAN interface 130. The CPU 108 may perform the setting according to an operation via the panel 114 or the like, or may perform the setting based on information described in a setting file or the like stored in the ROM 116.
In step S <b> 802, the PHY 103 detects a signal from the HUB 201 based on the control of the CPU 108, and establishes the LINK of the LAN interface 130. At this time, if the EEE function is valid in both the LAN interface 130 and the HUB 201 and the connection is made by auto-negotiation, the EEE function is valid. If the EEE function of either one of the LAN interface 130 and the HUB 201 is invalid or in the fixed mode, the EEE function is invalid.
In step S818, the CPU 108 determines whether the EEE function is valid. If the EEE function is valid (Yes in S818), the CPU 108 proceeds to S803. On the other hand, when the EEE function is invalid (No in S818), CPU 108 proceeds to S819.
In step S819, the LAN interface 130 proceeds to step S820 without shifting to the LPI because the EEE function is invalid based on the control of the CPU 108.
In step S820, the LAN interface 130 transmits / receives a packet without shifting to the LPI, and the processing of the flowchart illustrated in FIG. 8 ends.

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 LAN interface 130 detects a standby state based on the control of the CPU 108, and shifts to LPI.
In step S <b> 804, the CPU 108 determines whether packet transmission / reception is started on the LAN interface 130. When packet transmission / reception is started on the LAN interface 130 (Yes in S804), the CPU 108 proceeds to S806. On the other hand, when packet transmission / reception is not started in the LAN interface 130 (No in S804), the CPU 108 returns to S803 and continues the LPI state of the LAN interface 130.
In S806, the CPU 108 forcibly disables the LPI of the LAN interface 130, and proceeds to S807. The LPI that is forcibly disabled in S806 is enabled again after the information processing apparatus 100 detects that all the packets to be transmitted / received have disappeared.
In step S807, the LAN interface 130 starts packet transmission / reception based on the control of the CPU 108, and the process advances to step S821. Since the LPI is forcibly disabled in S806, the activation delay 401 does not occur even in the case of intermittent transmission by performing packet transmission / reception by TCP communication in S807. Therefore, in the LAN interface 130, transmission / reception performance degradation due to the activation delay 401 can be prevented until packet transmission / reception is completed.
In step S821, the CPU 108 determines whether an ACK has been received. If ACK is returned within the specified time as confirmation of normal reception from the receiving side due to normal transmission / reception of the packet in S807 (Yes in S821), the CPU 108 proceeds to S813. On the other hand, when the ACK from the receiving side does not return within the specified time (No in S821), the CPU 108 proceeds to S822.

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 CPU 108 re-transmits / receives the packet whose ACK could not be confirmed, and proceeds to S823.
In step S823, the CPU 108 determines whether an ACK has been received. If the ACK from the receiving side is returned within the specified time (Yes in S823), the process proceeds to S813. If the ACK from the receiving side has not returned within the specified time (No in S823), the process proceeds to S824.
In step S824, the CPU 108 determines whether or not the number of retransmissions of packet transmission / reception exceeds the number set in the information processing apparatus 100 in advance. If the number of retransmissions of packet transmission / reception exceeds the number set in the information processing apparatus 100 in advance (Yes in S824), the CPU proceeds to S809. On the other hand, when the number of retransmissions of packet transmission / reception does not exceed the number of times set in advance in information processing apparatus 100 (No in S824), CPU 108 returns to S822.
In step S813, the CPU 108 determines whether a pause frame has been received from the HUB 201. If a pause frame is received from HUB 201 (Yes in S813), CPU 108 proceeds to S814. On the other hand, when no pause frame is received from HUB 201 (No in S813), CPU 108 proceeds to S808.
In S814, the LAN interface 130 shifts to LPI based on the control of the CPU 108, and proceeds to S815.

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 CPU 108 determines whether the transmission stop period according to the pause frame has ended. If the transmission stop period according to the pause frame ends (Yes in S815), CPU 108 proceeds to S816. On the other hand, when the transmission stop period according to the pause frame does not end (Yes in S815), CPU 108 returns to S815.
In step S816, based on the control of the CPU 108, the LAN interface 130 invalidates the LPI, starts the packet transmission again, and proceeds to step S808.
In step S808, the CPU 108 determines whether transmission / reception of the packet has ended. If the packet transmission / reception has ended (YES in step S808), the CPU 108 proceeds to step S809. If packet transmission / reception has not ended (No in S808), CPU 108 returns to S807 again.
In step S809, the LAN interface 130 shifts to LPI again based on the control of the CPU 108, and ends the process of the flowchart illustrated in FIG.
By receiving the pause frame, the information processing apparatus 100 cannot transmit a packet for a certain period of time, and during that period, the LPI is made valid again in S814 to keep the power state of the period during which the packet cannot be transmitted at low power. In addition, the information processing apparatus 100 can prevent the performance degradation in the TCP communication by disabling the LPI again in S816 when the transmission suspension period by the pause frame ends.

<実施形態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 CPU 108 determines Yes in step S604, the process proceeds to S607. If the CPU 108 determines No in S617, it performs processing for invalidating the LPI in S606. In this case, in S609, if the LPI is invalid, the CPU 108 validates the LPI.
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 Information processing device 108 CPU
130 LAN interface

Claims (8)

有線LANインタフェースを有する情報処理装置であって、
前記有線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記載の情報処理装置。   The validation means further does not receive a normal confirmation after the packet transmission / reception is started, and does not receive the normal confirmation even when the packet transmission / reception is re-executed a set number of times. The information processing apparatus according to claim 1, wherein the power saving mode is enabled when the power saving mode is activated. 前記有効化手段は、更に、前記パケットの送受信が開始されたあとに、送信の停止を示すフレームが受信された場合、前記省電力モードを有効にし、
前記無効化手段は、更に、前記有効化手段により前記省電力モードが有効にされたあと、前記フレームに従った停止期間が終了したあと、前記省電力モードを無効にする請求項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.
前記有効化手段は、前記無効化手段により前記省電力モードを無効にされたあとで、前記パケットの送受信が完了されたあとに、前記省電力モードを有効にする請求項1乃至3何れか1項記載の情報処理装置。   4. The enablement unit enables the power saving mode after the transmission / reception of the packet is completed after the power saving mode is disabled by the disabling unit. 5. Information processing apparatus according to item. 前記無効化手段は、前記有線LANインタフェースを介してパケットの送受信が開始され、正常確認が規定時間内に受信されなかった場合に、前記省電力モードを無効にする請求項1乃至4何れか1項記載の情報処理装置。   5. The invalidation unit invalidates the power saving mode when transmission / reception of a packet is started via the wired LAN interface and a normal confirmation is not received within a specified time. Information processing apparatus according to item. 前記情報処理装置は、画像形成装置である請求項1乃至5何れか1項記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the information processing apparatus is an image forming apparatus. 有線LANインタフェースを有する情報処理装置が実行する情報処理方法であって、
前記有線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:
コンピュータを、請求項1乃至6何れか1項記載の情報処理装置の各手段として機能させるためのプログラム。   The program for functioning a computer as each means of the information processing apparatus of any one of Claims 1 thru | or 6.
JP2015166036A 2015-08-25 2015-08-25 Information processing unit, information processing method, and program Pending JP2017046114A (en)

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)

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