JP2010141881A - Network system, network control method, lan switch, and network control program - Google Patents
Network system, network control method, lan switch, and network control program Download PDFInfo
- Publication number
- JP2010141881A JP2010141881A JP2009254870A JP2009254870A JP2010141881A JP 2010141881 A JP2010141881 A JP 2010141881A JP 2009254870 A JP2009254870 A JP 2009254870A JP 2009254870 A JP2009254870 A JP 2009254870A JP 2010141881 A JP2010141881 A JP 2010141881A
- Authority
- JP
- Japan
- Prior art keywords
- lan
- terminal device
- operation mode
- spanning tree
- power saving
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、スパニングツリー機能を有するLANスイッチを備えたネットワークシステム、ネットワーク制御方法、LANスイッチ及びネットワーク制御プログラムに関するものである。 The present invention relates to a network system including a LAN switch having a spanning tree function, a network control method, a LAN switch, and a network control program.
LAN(Local Area Network)等のネットワークは年々性能向上が図られており、現在では、一般的なネットワークでも1Gbps(Giga bit per second)の通信速度で構築される場合が多くなってきている。ネットワークに接続されるPC(パーソナルコンピュータ)やプリンタ等の端末装置の消費電力は、通信速度が高いほど高くなる。そのため、ネットワークの通信速度の向上に伴い、端末装置の消費電力も高くなる一方である。 A network such as a LAN (Local Area Network) has been improved year by year, and at present, a general network is often constructed at a communication speed of 1 Gbps (Giga bit per second). The power consumption of a terminal device such as a PC (personal computer) or a printer connected to the network increases as the communication speed increases. For this reason, as the communication speed of the network increases, the power consumption of the terminal device is increasing.
一方、近年の地球温暖化等の環境問題に対応するために、省電力化がオフィス機器に求められており、特にオフィス機器の全稼働時間の多くの比率を占める機器待機時間における消費電力の低減が強く求められている。近年、オフィス機器はLAN等のネットワークに接続されることが一般的になりつつある。従って、ネットワーク接続されたオフィス機器(端末装置)にも省電力化が求められ、通信速度が1Gbpsのネットワークに接続されたオフィス機器においても同様である。ネットワークに接続された端末装置の省電力化の方法として、通信速度を低くすることが考えられる。例えば、通信速度を1Gbpsから100Mbpsに低く設定し直すといった具合である。しかし、ユーザが端末装置を使用する際にはその通信速度を最大にして作業を効率化し生産性を高めることが望まれるため、ユーザ使用時には通信速度を最大に設定することが望ましい。 On the other hand, in order to cope with environmental problems such as global warming in recent years, power saving is required for office equipment, especially reduction of power consumption during equipment standby time, which accounts for a large proportion of the total operating time of office equipment. Is strongly demanded. In recent years, office devices are becoming commonly connected to a network such as a LAN. Accordingly, office equipment (terminal devices) connected to the network is required to save power, and the same applies to office equipment connected to a network having a communication speed of 1 Gbps. As a method for saving power of the terminal devices connected to the network, it is conceivable to reduce the communication speed. For example, the communication speed is reset from 1 Gbps to 100 Mbps. However, when a user uses a terminal device, it is desired to maximize the communication speed to improve work efficiency and increase productivity. Therefore, it is desirable to set the communication speed to the maximum when the user uses it.
一般に、LAN等のネットワークの構築には、LANスイッチが使用されている。LANスイッチは、複数のLANポートを備えており、各ポートに接続されている機器を管理する為のアドレステーブルを内部に保持する。また、近年のLANスイッチには、ブロードキャストのフレームやアドレステーブルに無い宛先のフレームがネットワーク上を回り続ける(ルーティングする)ブロードキャストストームのような現象を防ぐため、スパニングツリープロトコル(Spanning Tree Protocol)が実装されるようになってきている。なお、スパニングツリープロトコルは、IEEE802.1dにより規定されている。 In general, a LAN switch is used to construct a network such as a LAN. The LAN switch has a plurality of LAN ports, and internally holds an address table for managing devices connected to each port. Also, in recent LAN switches, the Spanning Tree Protocol is implemented to prevent a phenomenon such as broadcast storms where broadcast frames and destination frames not in the address table continue to route (route) on the network. It has come to be. Note that the spanning tree protocol is defined by IEEE 802.1d.
スパニングツリー機能を有するLANスイッチが使用されているネットワークにおいて、ある機器(端末装置、LANスイッチ等)がネットワークに接続された場合、LANスイッチはネットワーク構成の変化を検知し、接続された機器のMAC(Media Access Control)アドレスのアドレステーブルへの登録、ネットワーク経路の再探索を行い、ネットワーク経路がループ構造にならないよう最適なネットワーク経路を構築する。LANスイッチは、このような動作をネットワーク構成が変化する度に行う。 In a network where a LAN switch having a spanning tree function is used, when a certain device (terminal device, LAN switch, etc.) is connected to the network, the LAN switch detects a change in the network configuration and detects the MAC of the connected device. (Media Access Control) Registers addresses in the address table and re-searches the network route to construct an optimal network route so that the network route does not have a loop structure. The LAN switch performs such an operation every time the network configuration changes.
ネットワークに接続された機器において、フレームの送受信機能を司るネットワーク制御部の物理層デバイス(PHY)の消費電力は大きく、特に1Gbpsの通信速度で通信する際の消費電力は非常に大きい。先に説明したように、通信速度を低く設定する事で機器の消費電力を低減することが可能であるが、通信速度を変化させる際には、必ずリンクダウン(切断)とリンクアップ(接続)が発生する。例えば、端末装置の通信速度を1Gbpsから100Mbpsに低く設定し直す場合には、まず1Gbpsでのリンクダウンを行い、次に100Mbpsでのリンクアップを行う必要がある。 In a device connected to a network, the power consumption of a physical layer device (PHY) of a network control unit that controls a frame transmission / reception function is large, and particularly, the power consumption when communicating at a communication speed of 1 Gbps is very large. As explained earlier, it is possible to reduce the power consumption of the device by setting the communication speed low, but when changing the communication speed, be sure to link down (disconnect) and link up (connect). Will occur. For example, when resetting the communication speed of the terminal device from 1 Gbps to 100 Mbps, it is necessary to first perform link down at 1 Gbps and then perform link up at 100 Mbps.
また、ネットワークに接続された機器の消費電力を低減するには、物理層デバイスを含むネットワーク制御部の電源を可能な限りオフすることが極めて有効な方法と考えられるが、この場合にも、ネットワーク制御部の電源をオフする際には通信のリンクダウンが生じ、必要に応じてネットワーク制御部の電源をオンする場合には通信のリンクアップを行う必要がある。 In order to reduce the power consumption of the devices connected to the network, it is considered to be extremely effective to turn off the power of the network control unit including the physical layer device as much as possible. When the power supply of the control unit is turned off, communication link down occurs. When the power supply of the network control unit is turned on as necessary, it is necessary to perform communication link up.
スパニングツリー機能を備えたLANスイッチを利用して構築されたネットワークにおいては、LANスイッチは、端末装置との間でリンクダウン又はリンクアップが発生する度にネットワーク構成が変化したと判定し、保持しているアドレステーブルの変更やネットワーク経路の再構築を行うことになる。したがって、端末装置の消費電力低減のために通信速度の変更やネットワーク制御部の電源オンオフが頻繁に行われると、アドレステーブルの変更やネットワーク経路の再構築の動作が頻繁に行われることとなり、データ転送が上手く行かずにリトライが多発してトラフィックが増大し、ネットワーク性能の低下を招く要因となるといった懸念がある。また、端末装置の消費電力低減のためにネットワーク制御部の電源をオフするには、必要な場合にネットワーク制御部の電源をオンしてフレームの送受信を行える仕組みを構築しておく必要がある。 In a network constructed using a LAN switch having a spanning tree function, the LAN switch determines that the network configuration has changed every time a link down or link up occurs with a terminal device, and holds it. The existing address table is changed and the network route is reconfigured. Therefore, if the communication speed is frequently changed or the network controller is turned on / off frequently to reduce the power consumption of the terminal device, the address table is changed and the network route is reconfigured frequently. There is a concern that the transfer may not be successful and the number of retries will increase, resulting in an increase in traffic and a decrease in network performance. Further, in order to turn off the power supply of the network control unit in order to reduce the power consumption of the terminal device, it is necessary to construct a mechanism capable of transmitting and receiving frames by turning on the power supply of the network control unit when necessary.
以上のことから、スパニングツリー機能を備えたLANスイッチを利用して構築されたネットワークに接続される端末装置では、通信速度の変更やネットワーク制御部の電源オフによる消費電力の低減を図るのが難しい状況にあった。 From the above, it is difficult to reduce power consumption by changing the communication speed or turning off the network control unit in a terminal device connected to a network constructed using a LAN switch having a spanning tree function. Was in the situation.
関連する技術として、特許文献1には、アクティブ状態のスレーブノードとスリープ状態のスレーブノードとが混在しているときにも、各スレーブノードのそれまでのアクティブ/スリープの状態を保持させたまま同報パケットを全スレーブノードに送信することができるネットワーク技術が記載されている。
As a related technique,
また、特許文献2には、ネットワークシステムに関し、処理能力を低下させることなく消費電力を低減させる技術が記載されている。
また、特許文献3には、ネットワークで接続された複数の端末装置の全てが電源オフ状態である場合に電源をオフするネットワークプリンタが記載されている。
また、特許文献4には、ネットワークフィルタの機能をオンオフするメインCPUが、システムの電源投入後のレディ状態のときには、ネットワークを介して転送されてくるIPパケットのTCPヘッダに含まれる所定のフラグを弁別するためのパケットタイプフィルタの機能をオフ状態に設定することで、消費電力の低減を図る技術が記載されている。
In
しかしながら、上記特許文献1〜4に記載されている技術は、いずれもスパニングツリー機能を備えたLANスイッチを利用したネットワークについて考慮されていないため、このようなネットワークに適用した場合の問題点、すなわち、端末装置の消費電力低減のために通信速度の変更やネットワーク制御部の電源オンオフを行うと、スパニングツリー機能によるアドレステーブルの変更やネットワーク経路の再構築の動作が頻繁に行われてネットワーク性能の低下を招く要因となるといった問題を解決することができない。
However, since none of the techniques described in
本発明は、上記に鑑みてなされたものであって、ネットワーク性能の低下を招くことなく消費電力を低減することが可能なネットワークシステム、ネットワーク制御方法、LANスイッチ及びネットワーク制御プログラムを提供することを目的とする。 The present invention has been made in view of the above, and provides a network system, a network control method, a LAN switch, and a network control program capable of reducing power consumption without causing a decrease in network performance. Objective.
上述した課題を解決し、目的を達成するために、本発明にかかるネットワークシステムは、スパニングツリー機能を有するLANスイッチと、前記LANスイッチが備える複数のLANポートの内の1つのLANポートに接続され、通常動作モード及び省電力モードの2つの動作モードを有する端末装置と、を含むネットワークシステムであって、前記端末装置が、前記通常動作モードから前記省電力モードに遷移しようとする場合に、前記通常動作モードから前記省電力モードに遷移しようとしていることを表す動作モード遷移通知データを作成するデータ作成手段と、前記動作モード遷移通知データを前記1つのLANポートに送信するデータ送信手段と、を備え、前記LANスイッチが、前記1つのLANポートに送信された前記動作モード遷移通知データを受信するデータ受信手段と、前記データ受信手段により前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するスパニングツリー機能無効化手段と、を備えることを特徴とする。 In order to solve the above-described problems and achieve the object, a network system according to the present invention is connected to a LAN switch having a spanning tree function and one LAN port among a plurality of LAN ports included in the LAN switch. A terminal device having two operation modes of a normal operation mode and a power saving mode, and when the terminal device attempts to transition from the normal operation mode to the power saving mode, Data creation means for creating operation mode transition notification data indicating that a transition from the normal operation mode to the power saving mode is about to be performed; and data transmission means for sending the operation mode transition notification data to the one LAN port. The LAN switch transmits the operation to the one LAN port. A data receiving means for receiving mode transition notification data, and a spanning tree function invalidating a spanning tree function for a state change in the one LAN port when the data receiving means receives the operation mode transition notification data. And a converting means.
また、本発明にかかるネットワークシステムは、スパニングツリー機能を有するLANスイッチと、前記LANスイッチが備える複数のLANポートの内の1つのLANポートに接続され、前記LANスイッチとの間で所定の第1の通信速度で通信を行う通常動作モード及び前記LANスイッチとの間で前記第1の通信速度よりも低速である第2の通信速度で通信を行う省電力モードの2つの動作モードを有する端末装置と、を含むネットワークシステムであって、前記端末装置が、前記通常動作モードから前記省電力モードに遷移しようとする場合に、前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを作成するデータ作成手段と、前記動作モード遷移通知データを前記1つのLANポートに送信するデータ送信手段と、前記LANスイッチが前記動作モード遷移通知データを前記1つのLANポートにおいて受信し前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化した後に、前記第1の通信速度でのリンクダウンを行うリンクダウン手段と、前記第2の通信速度でのリンクアップを行うリンクアップ手段と、前記動作モードを前記通常動作モードから前記省電力モードに遷移させる動作モード遷移手段と、を備え、前記LANスイッチが、前記1つのLANポートに送信された前記動作モード遷移通知データを受信するデータ受信手段と、前記データ受信手段により前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するスパニングツリー機能無効化手段と、を備えることを特徴とする。 The network system according to the present invention is connected to a LAN switch having a spanning tree function and one LAN port among a plurality of LAN ports included in the LAN switch. A terminal device having two operation modes: a normal operation mode in which communication is performed at a communication speed of 2 and a power saving mode in which communication is performed at a second communication speed lower than the first communication speed with the LAN switch. Data indicating that the terminal device is about to transition from the normal operation mode to the power saving mode when the terminal device attempts to transition from the normal operation mode to the power saving mode. Data creation means for creating operation mode transition notification data, and the operation mode transition notification data Data transmission means for transmitting to one LAN port; and after the LAN switch receives the operation mode transition notification data at the one LAN port and invalidates a spanning tree function for a state change at the one LAN port, Link-down means for performing link-down at a communication speed of 1, link-up means for performing link-up at the second communication speed, and an operation mode for transitioning the operation mode from the normal operation mode to the power saving mode. Transition means, and the LAN switch receives the operation mode transition notification data by the data reception means for receiving the operation mode transition notification data transmitted to the one LAN port, and the data reception means. In addition, a spanny for a state change in the one LAN port Characterized in that it comprises a spanning tree function invalidating means for invalidating the-tree function, a.
また、本発明にかかるネットワーク制御方法は、スパニングツリー機能を有するLANスイッチと、前記LANスイッチが備える複数のLANポートの内の1つのLANポートに接続され、前記LANスイッチとの間で所定の第1の通信速度で通信を行う通常動作モード及び前記LANスイッチとの間で前記第1の通信速度よりも低速である第2の通信速度で通信を行う省電力モードの2つの動作モードを有する端末装置と、を含むネットワークシステムにおいて実行されるネットワーク制御方法であって、前記端末装置が、前記通常動作モードから前記省電力モードに遷移しようとする場合に、前記第1の動作モードから前記第2の動作モードに遷移しようとしていることを表すデータである動作モード遷移通知データを作成するステップと、前記端末装置が、前記動作モード遷移通知データを前記1つのLANポートに送信するステップと、前記LANスイッチが、前記1つのLANポートに送信された前記動作モード遷移通知データを受信するステップと、前記LANスイッチが、前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するステップと、前記端末装置が、前記LANスイッチが前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するステップを実行した後に、前記第1の通信速度でのリンクダウンを行うステップと、前記端末装置が、前記第2の通信速度でのリンクアップを行うステップと、前記端末装置が、前記動作モードを前記通常動作モードから前記省電力モードに遷移させるステップと、を含むことを特徴とする。 In addition, a network control method according to the present invention is connected to a LAN switch having a spanning tree function and one LAN port among a plurality of LAN ports included in the LAN switch, and a predetermined first connection is established between the LAN switch and the LAN switch. A terminal having two operation modes: a normal operation mode in which communication is performed at a communication speed of 1 and a power saving mode in which communication is performed at a second communication speed lower than the first communication speed with the LAN switch. A network control method executed in a network system including the device, wherein the terminal device is switched from the first operation mode to the second operation mode when the terminal device attempts to transition from the normal operation mode to the power saving mode. A step of creating operation mode transition notification data, which is data indicating that the operation mode is going to be changed The terminal device transmits the operation mode transition notification data to the one LAN port; and the LAN switch receives the operation mode transition notification data transmitted to the one LAN port; When the LAN switch receives the operation mode transition notification data, invalidating a spanning tree function for a state change in the one LAN port; and the terminal device, wherein the LAN switch is the one LAN port. After performing the step of disabling the spanning tree function for the state change in step, the step of performing link down at the first communication speed, and the step of performing the link up at the second communication speed by the terminal device And the terminal device changes the operation mode to the normal operation mode. Characterized in that it comprises the steps of transitioning to et the power saving mode, the.
また、本発明にかかるLANスイッチは、スパニングツリー機能を有し、複数のLANポートを備え、前記複数のLANポートの内の1つのLANポートに、所定の第1の通信速度で通信を行う通常動作モード及び前記第1の通信速度よりも低速である第2の通信速度で通信を行う省電力モードの2つの動作モードを有する端末装置が接続されたLANスイッチであって、前記端末装置が前記通常動作モードから前記省電力モードに遷移しようとする場合に送信する前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを前記1つのLANポートにおいて受信するデータ受信手段と、前記データ受信手段により前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するスパニングツリー機能無効化手段と、を備えることを特徴とする。 The LAN switch according to the present invention has a spanning tree function, has a plurality of LAN ports, and normally communicates with one LAN port of the plurality of LAN ports at a predetermined first communication speed. A LAN switch to which a terminal device having two operation modes of an operation mode and a power saving mode for performing communication at a second communication speed that is lower than the first communication speed is connected, wherein the terminal device Operation mode transition notification data, which is data indicating that the normal operation mode is going to be changed to the power saving mode, which is transmitted when attempting to change from the normal operation mode to the power saving mode, is received at the one LAN port. Data receiving means for receiving the operation mode transition notification data by the data receiving means. Characterized in that it comprises a spanning tree function invalidating means for invalidating the spanning tree function, the relative changes of state in the port.
また、本発明にかかるネットワーク制御方法は、スパニングツリー機能を有し、複数のLANポートを備え、前記複数のLANポートの内の1つのLANポートに、所定の第1の通信速度で通信を行う通常動作モード及び前記第1の通信速度よりも低速である第2の通信速度で通信を行う省電力モードの2つの動作モードを有する端末装置が接続されたLANスイッチにおいて実行されるネットワーク制御方法であって、前記LANスイッチのデータ受信手段が、前記端末装置が前記通常動作モードから前記省電力モードに遷移しようとする場合に送信する前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを前記1つのLANポートにおいて受信するステップと、前記LANスイッチのスパニングツリー機能無効化手段が、前記データ受信手段により前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するステップと、を含むことを特徴とする。 The network control method according to the present invention has a spanning tree function, includes a plurality of LAN ports, and communicates with one LAN port of the plurality of LAN ports at a predetermined first communication speed. A network control method executed in a LAN switch to which a terminal device having two operation modes of a normal operation mode and a power saving mode for performing communication at a second communication speed lower than the first communication speed is connected. The data receiving means of the LAN switch is about to transition from the normal operation mode to the power saving mode transmitted when the terminal device attempts to transition from the normal operation mode to the power saving mode. Receiving the operation mode transition notification data, which is data representing, at the one LAN port; A step of disabling a spanning tree function for a state change in the one LAN port when a spanning tree function disabling unit of the switch receives the operation mode transition notification data by the data receiving unit. Features.
また、本発明にかかるネットワーク制御プログラムは、請求項10に記載されたネットワーク制御方法をコンピュータで実行させることを特徴とする。 A network control program according to the present invention causes a network control method according to claim 10 to be executed by a computer.
また、本発明にかかるネットワークシステムは、スパニングツリー機能を有するLANスイッチと、前記LANスイッチが備える複数のLANポートの内の1つのLANポートに接続され、前記LANスイッチとの間でフレームの送受信を行う通常動作モード及び前記LANスイッチとの間でのフレーム送受信を停止して復帰信号のみを送受信可能とする省電力モードの2つの動作モードを有する端末装置と、を含むネットワークシステムであって、前記端末装置が、前記通常動作モードから前記省電力モードに遷移しようとする場合に、前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを作成するデータ作成手段と、前記動作モード遷移通知データを前記1つのLANポートに送信するデータ送信手段と、前記LANスイッチが前記動作モード遷移通知データを前記1つのLANポートにおいて受信し前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化した後に、前記LANスイッチとの間でのフレーム送受信機能を司るネットワーク制御部の電源を遮断して前記動作モードを前記通常動作モードから前記省電力モードに遷移させる動作モード遷移手段と、を備え、前記LANスイッチが、前記1つのLANポートに送信された前記動作モード遷移通知データを受信するデータ受信手段と、前記データ受信手段により前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するスパニングツリー機能無効化手段と、を備えることを特徴とする。 The network system according to the present invention is connected to a LAN switch having a spanning tree function and one LAN port among a plurality of LAN ports included in the LAN switch, and transmits / receives a frame to / from the LAN switch. A terminal system having two operation modes: a normal operation mode to be performed and a power saving mode in which frame transmission / reception with the LAN switch is stopped and only a return signal can be transmitted / received, Data for creating operation mode transition notification data that is data indicating that the terminal device is about to transition from the normal operation mode to the power saving mode when the terminal device attempts to transition from the normal operation mode to the power saving mode. Creating means and the operation mode transition notification data in the one LAN port; Data transmission means for transmitting to the network, and after the LAN switch receives the operation mode transition notification data at the one LAN port and invalidates a spanning tree function for a state change at the one LAN port, And an operation mode transition means for switching off the power supply of the network control unit that controls the frame transmission / reception function between the normal operation mode and the power saving mode, and the LAN switch includes the 1 A data receiving means for receiving the operation mode transition notification data transmitted to one LAN port; and a spanning tree function for a state change in the one LAN port when the data receiving means receives the operation mode transition notification data. Spanning tree function to disable Characterized in that it and a means.
また、本発明にかかるネットワーク制御方法は、スパニングツリー機能を有するLANスイッチと、前記LANスイッチが備える複数のLANポートの内の1つのLANポートに接続され、前記LANスイッチとの間でフレームの送受信を行う通常動作モード及び前記LANスイッチとの間でのフレーム送受信を停止して復帰信号のみを送受信可能とする省電力モードの2つの動作モードを有する端末装置と、を含むネットワークシステムにおいて実行されるネットワーク制御方法であって、前記端末装置が、前記通常動作モードから前記省電力モードに遷移しようとする場合に、前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを作成するステップと、前記端末装置が、前記動作モード遷移通知データを前記1つのLANポートに送信するステップと、前記LANスイッチが、前記1つのLANポートに送信された前記動作モード遷移通知データを受信するステップと、前記LANスイッチが、前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するステップと、前記端末装置が、前記LANスイッチが前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するステップを実行した後に、前記LANスイッチとの間でのフレーム送受信機能を司るネットワーク制御部の電源を遮断して前記動作モードを前記通常動作モードから前記省電力モードに遷移させるステップと、を含むことを特徴とする。 The network control method according to the present invention is connected to a LAN switch having a spanning tree function and one LAN port among a plurality of LAN ports included in the LAN switch, and transmits and receives frames to and from the LAN switch. And a terminal device having two operation modes, ie, a normal operation mode in which power transmission is performed, and a power saving mode in which only a return signal can be transmitted / received by stopping frame transmission / reception with the LAN switch. A network control method, wherein the terminal device is data indicating that the terminal device is about to transition from the normal operation mode to the power saving mode when attempting to transition from the normal operation mode to the power saving mode. Creating mode transition notification data, and the terminal device, Transmitting the operation mode transition notification data to the one LAN port, the LAN switch receiving the operation mode transition notification data transmitted to the one LAN port, and the LAN switch, A step of disabling a spanning tree function for a state change in the one LAN port when receiving operation mode transition notification data; and the terminal device, wherein the LAN switch is a spanning tree for a state change in the one LAN port. After executing the step of disabling the function, the step of switching off the power supply of the network control unit that controls the frame transmission / reception function with the LAN switch to change the operation mode from the normal operation mode to the power saving mode. It is characterized by including these.
また、本発明にかかるLANスイッチは、スパニングツリー機能を有し、複数のLANポートを備え、前記複数のLANポートの内の1つのLANポートに、当該LANスイッチとの間でフレームの送受信を行う通常動作モード及び当該LANスイッチとの間でのフレーム送受信を停止して復帰信号のみを送受信可能とする省電力モードの2つの動作モードを有する端末装置が接続されたLANスイッチであって、前記端末装置が前記通常動作モードから前記省電力モードに遷移しようとする場合に送信する前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを前記1つのLANポートにおいて受信するデータ受信手段と、前記データ受信手段により前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するスパニングツリー機能無効化手段と、を備えることを特徴とする。 The LAN switch according to the present invention has a spanning tree function, includes a plurality of LAN ports, and transmits / receives a frame to / from the LAN switch to one LAN port of the plurality of LAN ports. A LAN switch to which a terminal device having two operation modes of a normal operation mode and a power saving mode capable of transmitting and receiving only a return signal by stopping frame transmission / reception with the LAN switch, Operation mode transition notification data, which is data indicating that the device is about to transition from the normal operation mode to the power saving mode, is transmitted when the device attempts to transition from the normal operation mode to the power saving mode. Data receiving means received at the port, and the operation mode transition notification by the data receiving means When receiving the over data, characterized in that it comprises a spanning tree function invalidating means for invalidating the spanning tree function for the state change in said one LAN port.
また、本発明にかかるネットワーク制御方法は、スパニングツリー機能を有し、複数のLANポートを備え、前記複数のLANポートの内の1つのLANポートに、当該LANスイッチとの間でフレームの送受信を行う通常動作モード及び当該LANスイッチとの間でのフレーム送受信を停止して復帰信号のみを送受信可能とする省電力モードの2つの動作モードを有する端末装置が接続されたLANスイッチにおいて実行されるネットワーク制御方法であって、前記LANスイッチのデータ受信手段が、前記端末装置が前記通常動作モードから前記省電力モードに遷移しようとする場合に送信する前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを前記1つのLANポートにおいて受信するステップと、前記LANスイッチのスパニングツリー機能無効化手段が、前記データ受信手段により前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するステップと、を含むことを特徴とする。 The network control method according to the present invention has a spanning tree function, includes a plurality of LAN ports, and transmits / receives a frame to / from the LAN switch to one of the plurality of LAN ports. A network executed in a LAN switch to which a terminal device having two operation modes of a normal operation mode to be performed and a power saving mode capable of transmitting and receiving only a return signal by stopping frame transmission / reception with the LAN switch is connected In the control method, the data receiving unit of the LAN switch tries to transition from the normal operation mode to the power saving mode transmitted when the terminal device attempts to transition from the normal operation mode to the power saving mode. The operation mode transition notification data, which is data indicating that the And when the LAN switch spanning tree function invalidating means receives the operation mode transition notification data by the data receiving means, the spanning tree function for the state change in the one LAN port is invalidated. And a step of performing.
また、本発明にかかるネットワーク制御プログラムは、請求項27に記載されたネットワーク制御方法をコンピュータで実行させることを特徴とする。 A network control program according to the present invention causes a network control method according to claim 27 to be executed by a computer.
本発明によれば、端末装置が通常動作モードから省電力モードに遷移する場合に、ネットワークの再構築を防止することができる。これにより、ネットワーク性能の低下を招くことなく消費電力を低減することが可能となるという効果を奏する。 ADVANTAGE OF THE INVENTION According to this invention, when a terminal device changes from a normal operation mode to a power saving mode, the reconstruction of a network can be prevented. Thereby, there is an effect that it is possible to reduce power consumption without causing deterioration of network performance.
以下に添付図面を参照して、この発明にかかるネットワークシステム、ネットワーク制御方法、LANスイッチ及びネットワーク制御プログラムの最良な実施の形態を詳細に説明する。 Exemplary embodiments of a network system, a network control method, a LAN switch, and a network control program according to the present invention will be explained below in detail with reference to the accompanying drawings.
(第1の実施の形態)
図1は、第1の実施の形態にかかるネットワークシステムの構成を示すブロック図である。
(First embodiment)
FIG. 1 is a block diagram illustrating a configuration of a network system according to the first embodiment.
図1に示すネットワークシステムは、複数のLANポートをそれぞれ備えているLANスイッチ11A、11B、11Cと、端末装置21A(ここでは、複合機(MFP(Multi Function Peripherals))とする。)と、端末装置21B(ここでは、PC(パーソナルコンピュータ)とする。)と、を含んでいる。
The network system shown in FIG. 1 includes LAN switches 11A, 11B, and 11C each having a plurality of LAN ports, a
LANスイッチ11AとLANスイッチ11BとはLANケーブル31Aを介して接続されており、LANスイッチ11BとLANスイッチ11CとはLANケーブル31Bを介して接続されており、LANスイッチ11CとLANスイッチ11AとはLANケーブル31Cを介して接続されている。すなわち、LANスイッチ11A、11B、11Cは、ループ状に接続されている。また、LANスイッチ11Aは、基幹ネットワークNに接続されている。
The
LANスイッチ11Bと端末装置21AとはLANケーブル31Eを介して接続されており、LANスイッチ11Cと端末装置21BとはLANケーブル31Fを介して接続されている。
The LAN switch 11B and the
端末装置21Aは、所定の第1の通信速度(ここでは、1Gbpsとする。)で通信を行う通常動作モード及び第1の通信速度よりも低速である第2の通信速度(ここでは、100Mbpsとする。)で通信を行う省電力モードの2つの動作モードを有する。
The
LANスイッチ11A〜11Cにはスパニングツリープロトコル(Spanning Tree Protocol)が実装されており、LANスイッチ11A〜11Cはスパニングツリー機能を有している。スパニングツリープロトコルはIEEE802.1dによって規定されているプロトコルであり、スパニングツリー機能とは、ループ状に接続されているネットワーク経路の中のある経路の通信を遮断して、通信がループしないようにする機能である。これにより、ブロードキャスト等の宛先アドレスを特定しないフレームや宛先アドレスが不明なフレームがループ状に接続されているネットワークに送出された場合に、このフレームがループ内を半永久的に周り続けるブロードキャストストームと呼ばれる現象によるネットワーク負荷増大や、それに伴うネットワーク性能低下を防ぐことができる。また、ネットワークをループ状に接続することで、通信経路に不具合(LANケーブルの切断等)が発生して通信が不可能になった場合に、スパニングツリー機能によって遮断されていた経路の通信を開通させることで、ネットワークの信頼性を高めることもできる。 A spanning tree protocol is implemented in the LAN switches 11A to 11C, and the LAN switches 11A to 11C have a spanning tree function. The spanning tree protocol is a protocol defined by IEEE802.1d, and the spanning tree function is to block communication on a route in a network route connected in a loop so that the communication does not loop. It is a function. As a result, when a frame that does not specify a destination address such as a broadcast or a frame whose destination address is unknown is sent to a network connected in a loop, this frame is called a broadcast storm that continues around the loop semipermanently. It is possible to prevent an increase in network load due to the phenomenon and a decrease in network performance associated therewith. In addition, by connecting the network in a loop, when a communication path becomes faulty (LAN cable disconnection, etc.) and communication becomes impossible, communication on the path that was blocked by the spanning tree function is opened. By doing so, it is possible to improve the reliability of the network.
図2は、図1に示すネットワークシステムにおいてスパニングツリー機能が実施され、通信のループが回避された例を示す図である。図2においては、第2のLANスイッチ11Bと第3のLANスイッチ11Cとの間の通信(LANケーブル31B上の通信)が遮断されている。これは、第2のLANスイッチ11Bが備えている複数のLANポートの内のLANケーブル31Bが接続されているLANポート又は第3のLANスイッチ11Cが備えている複数のLANポートの内のLANケーブル31Bが接続されているLANポートをブロッキング状態にすることで実現される。
FIG. 2 is a diagram illustrating an example in which the spanning tree function is implemented in the network system illustrated in FIG. 1 and a communication loop is avoided. In FIG. 2, the communication (communication on the
次に、図3及び図4を参照して、スパニングツリー機能を実施することによりネットワーク経路を構築する手順について説明する。図3及び図4に示すネットワークグループは、LANスイッチ11A〜11Dと、端末装置21Aと、端末装置21Bと、を含んでいる。
Next, with reference to FIG. 3 and FIG. 4, a procedure for constructing a network path by executing the spanning tree function will be described. The network group shown in FIGS. 3 and 4 includes LAN switches 11A to 11D, a
LANスイッチ11AとLANスイッチ11BとはLANケーブル31Aを介して接続されており、LANスイッチ11BとLANスイッチ11CとはLANケーブル31Bを介して接続されており、LANスイッチ11CとLANスイッチ11DとはLANケーブル31Cを介して接続されており、LANスイッチ11DとLANスイッチ11AとはLANケーブル31Dを介して接続されている。すなわち、LANスイッチ11A〜11Dは、ループ状に接続されている。LANスイッチ11A〜11Dには、複数の端末装置が接続されているものとする。
The
図3に示すネットワークグループにおいて、LANスイッチ11Aには、ブリッジID「10」が割り振られており、LANスイッチ11Bには、ブリッジID「30」が割り振られており、LANスイッチ11Cには、ブリッジID「20」が割り振られており、LANスイッチ11Dには、ブリッジID「20」が割り振られているものとする。LANスイッチ11A〜11Dに割り振られたブリッジIDはユーザ(ネットワーク管理者)が任意に付加した値である。なお、一般には、ブリッジIDは、2オクテット(バイト)のブリッジ優先度と6オクテットのMAC(Media Access Control)アドレスとを結合した8オクテットが使用される。ブリッジIDの値が一番小さいLANスイッチが、このネットワークグループのルートブリッジとなる。ルートブリッジとは、ネットワークグループを制御・管理する機器である。
In the network group shown in FIG. 3, a bridge ID “10” is assigned to the
ネットワークの各経路(LANポート)には、パスコストが設定されている。パスコストは、一般には、経路の通信速度を意味する。例えば、或る経路の通信速度が10Mbpsの場合には当該経路のパスコストは「100」、100Mbpsの場合には「19」、1Gbpsの場合には「4」といった具合である。パスコストの値が小さい経路ほど優先して使用される。どの経路(LANポート)を遮断するかは、ブリッジIDとパスコストによって判定される。 A path cost is set for each route (LAN port) of the network. The path cost generally means the communication speed of the route. For example, when the communication speed of a certain route is 10 Mbps, the path cost of the route is “100”, “100” when 100 Mbps, “4” when 1 Gbps, and so on. A route with a smaller path cost value is used with higher priority. Which route (LAN port) is to be blocked is determined by the bridge ID and the path cost.
例えば、図3に示すネットワークグループにおいて、LANスイッチ11Aがルートブリッジであるとすると、LANスイッチ11Aは自分自身に接続されている端末装置(図示せず)の情報とLANスイッチ11B〜11Dからの情報を入手する。LANスイッチ11Bは、自分のブリッジID(ここでは、30)とLANスイッチ11Aとの間の経路のパスコスト(ここでは、19とする。)、LANスイッチCとの間の経路のパスコスト(ここでは、100とする。)から、それぞれの総和を算出する。即ち、30+19=49、30+100=130といった具合に算出する。このようにして、各々のLANスイッチが自身の接続経路の値を算出し、ルートブリッジであるLANスイッチ11Aに情報を送信する。LANスイッチ11Aは、収集した情報に基づいて、ネットワークグループの複数の経路の中でどの経路のパスコストが一番大きいかを判定し、その経路を遮断するように当該経路に接続されているLANスイッチに通知する。図3に示すネットワークグループの例では、LANスイッチ11BとLANスイッチ11Cとの間の経路の値が一番大きい為、図4に示すように、この経路を遮断して通信がループになることを防ぐ。
For example, in the network group shown in FIG. 3, if the
図5は、各々のLANスイッチが内部で保持しているMACアドレステーブルの一例を示す図である。図5に示すように、各々のLANポートのポート番号に対応づける形でMACアドレスが保持される。 FIG. 5 is a diagram showing an example of a MAC address table held internally in each LAN switch. As shown in FIG. 5, the MAC address is held in association with the port number of each LAN port.
図6は、スパニングツリー機能が実施された場合に、各々のLANスイッチがルートブリッジ宛に送出する制御フレーム(Configuration BPDU(Bridge Protocol Data Unit))のフォーマットを示している。図6に示すように、フォワードディレイ、ハロータイム等の各種情報に加えて、ブリッジIDとパスコストが送受信される。なお、ネットワークの構成が変わった場合や、通信経路に不具合が発生した場合等には、Topology Change Notification BPDUというフォーマットの制御フレームが送受信される。 FIG. 6 shows a format of a control frame (Configuration BPDU (Bridge Protocol Data Unit)) transmitted from each LAN switch to the root bridge when the spanning tree function is performed. As shown in FIG. 6, in addition to various information such as forward delay and hello time, a bridge ID and a path cost are transmitted and received. Note that, when the network configuration is changed, or when a failure occurs in the communication path, a control frame in the format of Topology Change Notification BPDU is transmitted and received.
図7は、端末装置とLANスイッチがやり取りするイーサネット(登録商標)フレーム(以下、単に「フレーム」と言う。)のフォーマットを示している。図7に示すように、フレームは、宛先MACアドレス、送信元MACアドレス、タイプ、データ、FCS(Frame Check Sequence)を含んでいる。なお、タイプは、2オクテットであり、IPv4(Internet Protocol version 4)の場合には0x0800、ARP(Address Resolution Protocol)の場合には0x0806等が規定されている。フレームを受信したLANスイッチは、宛先アドレス、送信元アドレス、タイプを判定し、アドレステーブル(図5参照)を参照して、フレームを他のLANスイッチや端末装置に転送する。 FIG. 7 shows a format of an Ethernet (registered trademark) frame (hereinafter simply referred to as “frame”) exchanged between the terminal device and the LAN switch. As shown in FIG. 7, the frame includes a destination MAC address, a source MAC address, a type, data, and an FCS (Frame Check Sequence). The type is 2 octets, and 0x0800 is specified for IPv4 (Internet Protocol version 4), and 0x0806 is specified for ARP (Address Resolution Protocol). The LAN switch that has received the frame determines the destination address, the source address, and the type, and refers to the address table (see FIG. 5) to transfer the frame to another LAN switch or terminal device.
図8及び図9は、端末装置21Aが通常動作モードから省電力モードに移行する際に、端末装置21A及びLANスイッチ11Bが実行する処理をそれぞれ示すフローチャートである。なお、ここでは、端末装置21Aが、通常動作モードで動作しており、1Gbpsの通信速度でLANスイッチ11Bとリンクしているものとする。
FIG. 8 and FIG. 9 are flowcharts respectively showing processes executed by the
図8に示すように、端末装置21Aは、通常動作モード(通常動作状態)において(ステップS11)、一定時間ネットワークからデータ受信(動作要求)が無いか否かを判定する(ステップS12)。
As shown in FIG. 8, in the normal operation mode (normal operation state) (step S11), the
そして、端末装置21Aは、一定時間内にネットワークからデータ受信(動作要求)がある場合には(ステップS12:No)、通常動作状態を継続する(ステップS11)。
When there is data reception (operation request) from the network within a predetermined time (step S12: No), the
また、端末装置21Aは、一定時間ネットワークからデータ受信(動作要求)が無い場合には(ステップS12:Yes)、通常動作モードから省電力モードに移行(遷移)するか否かを判定する(ステップS13)。この一定時間はユーザが設定可能であり、任意に設定できるものでもよいし、予め決められた時間でもよい。
Further, when there is no data reception (operation request) from the network for a certain period of time (step S12: Yes), the
そして、端末装置21Aは、通常動作モードから省電力モードに移行しない場合は(ステップS13:No)、通常動作状態を継続する(ステップS11)。
When the
また、端末装置21Aは、通常動作モードから省電力モードに移行する場合は(ステップS13:Yes)、省電力モードに移行する旨の意味付けをされたビットをセットしたフレーム(動作モード遷移通知データ)を作成する(ステップS14、データ作成手段)。例えば、フレーム中のタイプフィールドにあるテストビットの中の1ビットを、省電力モードに移行する旨のビットに割り当てることが考えられる。端末装置21Aは、作成したフレームをLANスイッチ11Bに送信することで、通常動作モードから省電力モードに移行することをLANスイッチ11Bに通知する(ステップS15、データ送信手段)。
In addition, when the
次に、端末装置21Aは、通信速度を1Gbpsから低速(ここでは、10Mbps)に設定する(ステップS16)。詳細には、端末装置21Aは、LANスイッチ11Bにおいて後述のスパニングツリー機能を無効化するステップが実行された後に、1Gbpsの通信速度でのリンクダウンを行い(リンクダウン手段)、その後、10Mbpsの通信速度でのリンクアップを行う(リンクアップ手段)。そして、端末装置21Aは、フレームの送受信を可能にした状態(リンク確立状態)で、動作モードを通常動作モードから省電力モードに遷移させる(ステップS17、動作モード遷移手段)。なお、省電力モード時には、端末装置21Aがネットワーク機能部分のみ電源をオンにしておき、その他の部分(例えば、CPU等)は電源をオフにするとより効果的である。
Next, the
一方、LANスイッチ11Bは、図9に示すように、接続(フォワーディング状態)されている各LANポートの監視を行っており(ステップS21)、端末装置21Aからのフレームを受信したかどうかを確認している(ステップS22、データ受信手段)。
On the other hand, as shown in FIG. 9, the
そして、LANスイッチ11Bは、端末装置21Aから何らのフレームも受信しない場合には(ステップS22:No)、各ポートの監視を継続する(ステップS21)。
When no frame is received from the
また、LANスイッチ11Bは、端末装置21Aから何らかのフレームを受信した場合には(ステップS22:Yes)、そのフレームに省電力モードに移行する旨の意味付けをされたビットがセットされているか否か、詳細には、例えばタイプフィールドにあるテストビットの状態を確認する(ステップS23)。そして、LANスイッチ11Bは、端末装置21Aから受信したフレームに省電力モードに移行する旨の意味付けをされたビットがセットされているか否かにより、そのフレームが端末装置21Aからの省電力モード移行通知(動作モード遷移通知データ)であるか否かを判定する(ステップS24)。
Further, when the
LANスイッチ11Bは、端末装置21Aから受信したフレームが端末装置21Aからの省電力モード移行通知ではないと判定した場合には(ステップS24:No)、端末装置21Aから受信したフレームが通常のフレームであるものとして、宛先アドレス(図7参照)やアドレステーブル(図5参照)を参照して、フレームを他のLANスイッチや端末装置に転送し(ステップS25)、各LANポートの監視を継続する(ステップS21)。
If the
また、LANスイッチ11Bは、端末装置21Aから受信したフレームが端末装置21Aからの省電力モード移行通知であると判定した場合には(ステップS24:Yes)、端末装置21Aが接続されているLANポートをエッジポートに自動で設定し(ステップS26)、当該LANポートの状態変化に対するスパニングツリー機能を無効に設定する(ステップS27、スパニングツリー機能無効化手段)。なお、エッジポートとは、そのポートにさらに別のLANスイッチが接続されているのではなく、端末装置が接続されているポートであることを示しており、エッジポートに設定されたLANポートはネットワークのエッジ(そこから先にネットワークが展開されないという意味でのネットワークの境界)とみなされる。
When the
その後、LANスイッチ11Bは、端末装置21Aからの要求に応じて、端末装置21Aとの間の通信速度を1Gbpsから低速(ここでは、10Mbps)に設定する(ステップS28)。詳細には、LANスイッチ11Bは、端末装置21Aからの要求に応じて、1Gbpsの通信速度でのリンクダウンを行い、その後、端末装置21Aからの要求に応じて、10Mbpsの通信速度でのリンクアップを行う。
Thereafter, in response to a request from the
これにより、端末装置21Aが接続されているLANポートにリンクダウン、リンクアップが生じたとしてもスパニングツリー機能が実施されないため、端末装置21Aの通常動作モードから省電力モードへの移行及び省電力モードから通常動作モードへの復帰の度にスパニングツリー機能が実施されることによるネットワーク負荷を軽減でき、トラフィックの増大を防ぐことができる。また、端末装置21AとLANスイッチ11Bとの間の通信速度を1Gbpsから10Mbpsに低下させると、消費電力を約50%程度低減することができる。
As a result, even if link down or link up occurs in the LAN port to which the
また、LANスイッチ11Bが、端末装置21Aから受信したフレームが端末装置21Aからの省電力モード移行通知であると判定した場合には、端末装置21Aが接続されているLANポートをエッジポートに自動で設定し、当該LANポートに対するスパニングツリー機能を無効に設定するので、ユーザの手を煩わせることなく、転送速度を低減し、消費電力を低減することができる。
When the
なお、上記ではフレーム中のタイプフィールドにあるテストビットの中の1ビットを省電力モードに移行する旨のビットに割り当てることとした例について説明したが、フレーム中の宛先MACアドレス(又は送信元MACアドレス)に特定の値(特定のMACアドレス)をセットすることで通常動作モードから省電力モードに移行する旨を通知するようにしてもよい。 In the above description, an example in which one bit of the test bits in the type field in the frame is assigned to the bit indicating the transition to the power saving mode has been described. However, the destination MAC address (or the source MAC) in the frame has been described. By setting a specific value (specific MAC address) in (address), notification of shifting from the normal operation mode to the power saving mode may be made.
図10及び図11は、フレーム中の宛先MACアドレスに特定の値(特定のMACアドレス)をセットすることで通常動作モードから省電力モードに移行する旨を通知する際に、端末装置21A及びLANスイッチ11Bが実行する処理をそれぞれ示すフローチャートである。なお、ここでは、端末装置21Aが、通常動作モードで動作しており、1Gbpsの通信速度でLANスイッチ11Bとリンクしているものとする。
10 and 11 show that when the
図10に示すように、端末装置21Aは、通常動作モード(通常動作状態)において(ステップS31)、一定時間ネットワークからデータ受信(動作要求)が無いか否かを判定する(ステップS32)。
As shown in FIG. 10, in the normal operation mode (normal operation state) (step S31), the
そして、端末装置21Aは、一定時間内にネットワークからデータ受信(動作要求)がある場合には(ステップS32:No)、通常動作状態を継続する(ステップS31)。
Then, when there is data reception (operation request) from the network within a predetermined time (step S32: No), the
また、端末装置21Aは、一定時間ネットワークからデータ受信(動作要求)が無い場合には(ステップS32:Yes)、省電力モードに移行(遷移)するか否かを判定する(ステップS33)。そして、端末装置21Aは、省電力モードに移行しない場合は(ステップS33:No)、通常動作状態を継続する(ステップS31)。
In addition, when there is no data reception (operation request) from the network for a certain period of time (step S32: Yes), the
また、端末装置21Aは、省電力モードに移行する場合は(ステップS33:Yes)、宛先MACアドレスに特定値(特定のMACアドレス)をセットしたフレーム(動作モード遷移通知データ)を作成する(ステップS34、データ作成手段)。特定のMACアドレスとして、例えば、下記のようなMACアドレスを使用するようにしてもよい。
<MACアドレスの例>
00:00:00:00:00:00 ・・・(1)
11:11:11:11:11:11 ・・・(2)
ff:ff:ff:ff:ff:ff ・・・(3)
11:22:33:44:55:66 ・・・(4)
なお、上記以外のMACアドレスを使用するようにしてもよい。
Further, when the
<Example of MAC address>
00: 00: 00: 00: 00 (1)
11: 11: 11: 11: 11: 11 (2)
ff: ff: ff: ff: ff: ff: ff (3)
11: 22: 33: 44: 55: 66 (4)
Note that a MAC address other than the above may be used.
端末装置21Aは、作成したフレームをLANスイッチ11Bに送信することで、通常動作モードから省電力モードに移行することをLANスイッチ11Bに通知する(ステップS35、データ送信手段)。
The
次に、端末装置21Aは、通信速度を1Gbpsから低速(ここでは、10Mbps)に設定する(ステップS36)。詳細には、端末装置21Aは、LANスイッチ11Bにおいて後述のスパニングツリー機能を無効化するステップが実行された後に、1Gbpsの通信速度でのリンクダウンを行い(リンクダウン手段)、その後、10Mbpsの通信速度でのリンクアップを行う(リンクアップ手段)。そして、端末装置21Aは、フレームの送受信を可能にした状態(リンク確立状態)で、動作モードを通常動作モードから省電力モードに遷移させる(ステップS37、動作モード遷移手段)。
Next, the
一方、LANスイッチ11Bは、図11に示すように、接続(フォワーディング状態)されている各LANポートの監視を行っており(ステップS41)、端末装置21Aからのフレームを受信したかどうかを確認している(ステップS42、データ受信手段)。
On the other hand, as shown in FIG. 11, the
そして、LANスイッチ11Bは、端末装置21Aから何らのフレームも受信しない場合には(ステップS42:No)、各ポートの監視を継続する(ステップS41)。
When no frame is received from the
また、LANスイッチ11Bは、端末装置21Aから何らかのフレームを受信した場合には(ステップS42:Yes)、そのフレームの宛先MACアドレスを確認する(ステップS43)。そして、LANスイッチ11Bは、端末装置21Aから受信したフレームの宛先MACアドレスに特定の値(特定のMACアドレス)がセットされているか否かにより、そのフレームが端末装置21Aからの省電力モード移行通知(動作モード遷移通知データ)であるか否かを判定する(ステップS44)。
Further, when any frame is received from the
LANスイッチ11Bは、端末装置21Aから受信したフレームの宛先MACアドレスに特定の値がセットされていないと判定した場合には(ステップS44:No)、端末装置21Aから受信したフレームが通常のフレームであるものとして、宛先アドレス(図7参照)やアドレステーブル(図5参照)を参照して、フレームを他のLANスイッチや端末装置に転送し(ステップS45)、各LANポートの監視を継続する(ステップS41)。
If the
また、LANスイッチ11Bは、端末装置21Aから受信したフレームの宛先MACアドレスに特定の値がセットされていると判定した場合には(ステップS44:Yes)、端末装置21Aが接続されているLANポートをエッジポートに自動で設定し(ステップS46)、当該LANポートの状態変化に対するスパニングツリー機能を無効に設定する(ステップS47、スパニングツリー機能無効化手段)。
If the
その後、LANスイッチ11Bは、端末装置21Aからの要求に応じて、端末装置21Aとの間の通信速度を1Gbpsから低速(ここでは、10Mbps)に設定する(ステップS48)。詳細には、LANスイッチ11Bは、端末装置21Aからの要求に応じて、1Gbpsの通信速度でのリンクダウンを行い、その後、端末装置21Aからの要求に応じて、10Mbpsの通信速度でのリンクアップを行う。
Thereafter, in response to a request from the
これにより、端末装置21Aが接続されているLANポートにリンクダウン、リンクアップが生じたとしてもスパニングツリー機能が実施されないため、端末装置21Aの通常動作モードから省電力モードへの移行及び省電力モードから通常動作モードへの復帰の度にスパニングツリー機能が実施されることによるネットワーク負荷を軽減でき、トラフィックの増大を防ぐことができる。
As a result, even if link down or link up occurs in the LAN port to which the
図12及び図13は、端末装置21Aが省電力モードから通常動作モードに復帰する際に端末装置21A及びLANスイッチ11Bが実行する処理をそれぞれ示すフローチャートである。
FIG. 12 and FIG. 13 are flowcharts respectively showing processes executed by the
図12に示すように、端末装置21Aは、省電力モードで動作中はユーザ又はネットワークからの動作要求を監視しており(ステップS51)、動作要求がない間は(ステップS51:No)、省電力モードを継続する。
As shown in FIG. 12, the
また、端末装置21Aは、動作要求があった場合には(ステップS51:Yes)、省電力モードから通常動作モードに復帰する旨をLANスイッチ11Bに通知する(ステップS52)。具体的には、端末装置21Aは、例えば、フレーム中のタイプフィールドにあるテストビットの中の1ビットを省電力モードから通常動作モードに復帰する旨のビットに割り当ててセットしたフレーム(第2の動作モード遷移通知データ)を作成したり、フレーム中の宛先MACアドレス(又は送信元MACアドレス)を特定の値(特定のMACアドレス)にセットしたフレーム(第2の動作モード遷移通知データ)を作成したり(第2のデータ作成手段)し、当該フレームをLANスイッチ11Bに送信する(第2のデータ送信手段)ことで、省電力モードから通常動作モードに復帰する旨をLANスイッチ11Bに通知する。
Further, when there is an operation request (step S51: Yes), the
その後、端末装置21Aは、通信速度を元の速度(ここでは、1Gbps)に設定する(ステップS53)。詳細には、端末装置21Aは、10Mbpsの通信速度でのリンクダウンを行い(第2のリンクダウン手段)、その後、1Gbpsの通信速度でのリンクアップを行う(第2のリンクアップ手段)。そして、端末装置21Aは、動作モードを省電力モードから通常動作モードに遷移させる(ステップS54、第2の動作モード遷移手段)。
Thereafter, the
一方、LANスイッチ11Bは、図13に示すように、省電力モードから通常動作モードへの復帰通知(第2の動作モード遷移通知データの送信)が端末装置21Aからあるかどうかを監視している(ステップS61、第2のデータ受信手段)。
On the other hand, as shown in FIG. 13, the
なお、省電力モードから通常動作モードへの復帰通知が端末装置21Aからあるかどうかを監視している間に(ステップS61)、LANケーブルが抜かれること等によりリンクダウンが生じることが考えられる。さらに、その後、以前とは別の端末装置(ここでは、端末装置21A以外の端末装置)が接続されてリンクアップが生じることも考えられる。
Note that while monitoring whether or not the
そこで、LANスイッチ11Bは、省電力モードから通常動作モードへの復帰の通知が端末装置21Aから無い場合には(ステップS61:No)、端末装置21Aが接続されているLANポートにおいてリンクダウンが生じたか否かを判定する(ステップS62)。
Therefore, when there is no notification from the
そして、LANスイッチ11Bは、リンクダウンが生じていないと判定した場合(ステップS62:No)、省電力モードから通常動作モードへの復帰の通知が端末装置21Aからあるかどうかの監視を継続する(ステップS61)。
If the
また、LANスイッチ11Bは、リンクダウンが生じたと判定した場合(ステップS62:Yes)には、LANケーブルが抜かれたと判定し(ステップS63)、その後、リンクアップが生じたか否かを判定する(ステップS64)。
If the
また、LANスイッチ11Bは、省電力モードから通常動作モードへの復帰の通知が端末装置21Aからあった場合(ステップS61:Yes)又はLANケーブルが抜かれた後にリンクアップが生じた場合(ステップS64:Yes)には、オートネゴシエーションを開始して端末装置側の情報を取得する(ステップS65)。そして、LANスイッチ11Bは、端末装置(端末装置21A又は新規に接続された他の端末装置)が要求する通信速度でリンクを確立する(ステップS66)。
In addition, the
また、LANスイッチ11Bは、端末装置(端末装置21A又は新規に接続された他の端末装置)が要求する通信速度でリンクを確立した場合(ステップS66)、LANポートのエッジポート設定を解除し(ステップS67)、当該LANポートにおける状態変化に対するスパニングツリー機能を有効に設定する(ステップS68、スパニングツリー機能有効化手段、第2のスパニングツリー機能有効化手段)。
Further, when the
また、LANスイッチ11Bは、LANケーブルが抜かれた後にリンクアップが生じなかった場合(ステップS64:No)、LANポートに何も接続していないと考えられるので、LANポートのエッジポート設定を解除し(ステップS67)、当該LANポートに対するスパニングツリー機能を有効にする(ステップS68、第2のスパニングツリー機能有効化手段)。
In addition, when no link up occurs after the LAN cable is disconnected (step S64: No), the
なお、LANスイッチ11Bが、リンクダウンからリンクアップになるまでの時間を計測し、リンクダウンから或る一定時間内にリンクアップにならない場合に、端末装置21Aが省電力モードから通常動作モードに復帰したことによるリンク状態の変化ではなく、LANケーブルが抜かれたことによるリンク状態の変化であると判定することもできる。
The
また、端末装置21Aが接続されているLANポートの状態変化に対するスパニングツリー機能を無効にすることによる弊害はなく、LANケーブルの挿抜によりリンク状態が変化したとしても、オートネゴシエーションを実施するので(ステップS65参照)、端末装置21Aとは異なる新規の端末装置が接続された場合であっても、正常にネットワーク経路を確立することができる。
In addition, there is no adverse effect of disabling the spanning tree function for the state change of the LAN port to which the
このように、端末装置21Aが、省電力モードから通常動作モードに復帰する際に、省電力モードのまま通常動作モードへ復帰する旨をLANスイッチ11Bに対して通知し、LANスイッチ11Bが、端末装置21Aが接続されているLANポートに対するエッジポート設定を解除して、スパニングツリー機能を有効にすることができる。これにより、ユーザの手を煩わせることなくエッジポート設定解除ができ、端末装置21Aの通信速度を高速に戻すことができ、ユーザの生産性を向上させることができる。
In this way, when the
また、端末装置21Aが通常動作モードから省電力モードに移行しており、且つ、LANスイッチ11Bが、省電力モードから通常動作モードへ復帰する旨の通知をまだ受信していない場合、LANスイッチ11Bは、端末装置21Aが接続されているLANポートのリンク状態を監視し、リンク状態の変化(リンクダウン、リンクアップ)が生じた場合にはLANケーブルの挿抜が行われたと判定し、当該LANポートのエッジポート設定を解除してスパニングツリー機能を有効にすることにより、LANケーブルの挿抜によるリンク状態の変化にも対応することができる。
Further, when the
また、ネットワークに支障なく、端末装置21Aの消費電力を低減することができ、更に、ユーザ側のコストダウン(電力料金削減)も実現することができる。
In addition, the power consumption of the
図14は、LANスイッチ11A〜11Dのハードウェア構成の一例を示す図である。図14に示すように、LANスイッチ11A〜11Dの各々は、CPU121と、ROM122と、RAM123と、ネットワークコントローラ124と、LANポート125a、125b、・・・、125nと、を含んでいる。CPU121、ROM122、RAM123、及びネットワークコントローラ124は、バスを介して相互に接続されている。また、LANポート125a、125b、・・・、125nは、ネットワークコントローラ124に接続されている。
FIG. 14 is a diagram illustrating an example of a hardware configuration of the LAN switches 11A to 11D. As shown in FIG. 14, each of the LAN switches 11A to 11D includes a
CPU121は、LANスイッチの全体制御を行うものである。ROM122は、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM123は、プログラムやデータの展開用メモリなどとして用いる書き込み及び読み出し可能なメモリである。また、ネットワークコントローラ124は、LANポート125a、125b、・・・、125nに接続されたLANスイッチ、端末装置等との間の通信を行うものである。
The
本実施の形態のLANスイッチ11A〜11Dは、以上のようにマイクロコンピュータとしての構成を有しており、ネットワーク制御プログラムを実行することによって、本実施の形態に特有の上述した各種の処理機能(上述した例ではLANスイッチ11Bにて実現される各種処理機能)を実現する。なお、本実施の形態のLANスイッチ11A〜11Dで実行されるネットワーク制御プログラムは、例えば、ROM122等に予め組み込まれて提供される。
The LAN switches 11A to 11D of the present embodiment have a configuration as a microcomputer as described above, and by executing the network control program, the above-described various processing functions (specific to the present embodiment ( In the above-described example, various processing functions realized by the
また、本実施の形態のLANスイッチ11A〜11Dで実行されるネットワーク制御プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。 The network control program executed by the LAN switches 11A to 11D of the present embodiment is a file in an installable format or an executable format, and is a CD-ROM, flexible disk (FD), CD-R, DVD (Digital The recording medium may be recorded on a computer-readable recording medium such as Versatile Disk).
さらに、本実施の形態のLANスイッチ11A〜11Dで実行されるネットワーク制御プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、本実施の形態のLANスイッチ11A〜11Dで実行されるネットワーク制御プログラムをインターネット等のネットワーク経由で提供または配布するように構成してもよい。 Further, the network control program executed by the LAN switches 11A to 11D of the present embodiment may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Good. The network control program executed by the LAN switches 11A to 11D of the present embodiment may be configured to be provided or distributed via a network such as the Internet.
本実施の形態のLANスイッチ11A〜11Dで実行されるネットワーク制御プログラムは、データ受信手段を実現するコンポーネント、第2のデータ受信手段を実現するコンポーネント、スパニングツリー機能無効化手段を実現するコンポーネント、スパニングツリー機能有効化手段を実現するコンポーネント、第2のスパニングツリー機能有効化手段を実現するコンポーネントを含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記ROM122等からネットワーク制御プログラムを読み出して実行することにより上記各コンポーネントが主記憶装置上にロードされ、データ受信手段、第2のデータ受信手段、スパニングツリー機能無効化手段、スパニングツリー機能有効化手段、第2のスパニングツリー機能有効化手段が主記憶装置上に生成されるようになっている。
The network control program executed by the LAN switches 11A to 11D according to the present embodiment includes a component that implements data receiving means, a component that implements second data receiving means, a component that implements spanning tree function invalidating means, and spanning The module configuration includes a component that realizes the tree function enabling means and a component that realizes the second spanning tree function enabling means. As actual hardware, a CPU (processor) is connected to the network control program from the
図15は、端末装置21A(複合機)のハードウェア構成の一例を示すブロック図である。図15に示すように、この端末装置21Aは、コントローラ210とエンジン部(Engine)260とをPCI(Peripheral Component Interconnect)バスで接続した構成となる。コントローラ210は、端末装置21A全体の制御と描画、通信、図示しない操作部からの入力を制御するコントローラである。エンジン部260は、PCIバスに接続可能なプリンタエンジンなどであり、たとえば白黒プロッタ、1ドラムカラープロッタ、4ドラムカラープロッタ、スキャナまたはファックスユニットなどである。なお、このエンジン部260には、プロッタなどのいわゆるエンジン部分に加えて、誤差拡散やガンマ変換などの画像処理部分が含まれる。
FIG. 15 is a block diagram illustrating an example of a hardware configuration of the
コントローラ210は、CPU211と、ノースブリッジ(NB)213と、システムメモリ(MEM−P)212と、サウスブリッジ(SB)214と、ローカルメモリ(MEM−C)217と、ASIC(Application Specific Integrated Circuit)216と、ハードディスクドライブ(HDD)218とを有し、ノースブリッジ(NB)213とASIC216との間をAGP(Accelerated Graphics Port)バス215で接続した構成となる。また、MEM−P212は、ROM(Read Only Memory)212aと、RAM(Random Access Memory)212bとをさらに有する。
The
CPU211は、端末装置21Aの全体制御をおこなうものであり、NB213、MEM−P212及びSB214からなるチップセットを有し、このチップセットを介して他の機器と接続される。
The
NB213は、CPU211とMEM−P212、SB214、AGP215とを接続するためのブリッジであり、MEM−P212に対する読み書きなどを制御するメモリコントローラと、PCIマスタ及びAGPターゲットとを有する。
The
MEM−P212は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いるシステムメモリであり、ROM212aとRAM212bとからなる。ROM212aは、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM212bは、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いる書き込み及び読み出し可能なメモリである。
The MEM-
SB214は、NB213とPCIデバイス、周辺デバイスとを接続するためのブリッジである。このSB214は、PCIバスを介してNB213と接続されており、このPCIバスには、ネットワークインターフェース(I/F)部なども接続される。
The
ASIC216は、画像処理用のハードウェア要素を有する画像処理用途向けのIC(Integrated Circuit)であり、AGP215、PCIバス、HDD218及びMEM−C217をそれぞれ接続するブリッジの役割を有する。このASIC216は、PCIターゲット及びAGPマスタと、ASIC216の中核をなすアービタ(ARB)と、MEM−C217を制御するメモリコントローラと、ハードウェアロジックなどにより画像データの回転などをおこなう複数のDMAC(Direct Memory Access Controller)と、エンジン部260との間でPCIバスを介したデータ転送をおこなうPCIユニットとからなる。このASIC216には、PCIバスを介してFCU(Fax Control Unit)230、USB(Universal Serial Bus)240、LANインターフェース250が接続される。操作表示部220はASIC216に直接接続されている。
The
MEM−C217は、コピー用画像バッファ、符号バッファとして用いるローカルメモリであり、HDD(Hard Disk Drive)218は、画像データの蓄積、プログラムの蓄積、フォントデータの蓄積、フォームの蓄積を行うためのストレージである。
The MEM-
AGP215は、グラフィック処理を高速化するために提案されたグラフィックスアクセラレーターカード用のバスインターフェースであり、MEM−P212に高スループットで直接アクセスすることにより、グラフィックスアクセラレーターカードを高速にするものである。
The
本実施の形態の端末装置21Aは、以上のようにマイクロコンピュータとしての構成を有しており、ネットワーク制御プログラムを実行することによって、本実施の形態に特有の上述した各種の処理機能を実現する。なお、本実施の形態の端末装置21Aで実行されるネットワーク制御プログラムは、ROM212a等に予め組み込まれて提供される。
The
また、本実施の形態の端末装置21Aで実行されるネットワーク制御プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。
The network control program executed by the
さらに、本実施の形態の端末装置21Aで実行されるネットワーク制御プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、本実施の形態の端末装置21Aで実行されるネットワーク制御プログラムをインターネット等のネットワーク経由で提供または配布するように構成してもよい。
Furthermore, the network control program executed by the
本実施の形態の端末装置21Aで実行されるネットワーク制御プログラムは、データ作成手段を実現するコンポーネント、データ送信手段を実現するコンポーネント、リンクダウン手段を実現するコンポーネント、リンクアップ手段を実現するコンポーネント、動作モード遷移手段を実現するコンポーネント、第2のデータ作成手段を実現するコンポーネント、第2のデータ送信手段を実現するコンポーネント、第2のリンクダウン手段を実現するコンポーネント、第2のリンクアップ手段を実現するコンポーネント、第2の動作モード遷移手段を実現するコンポーネントを含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記ROM212a等からネットワーク制御プログラムを読み出して実行することにより上記各コンポーネントが主記憶装置上にロードされ、データ作成手段、データ送信手段、リンクダウン手段、リンクアップ手段、動作モード遷移手段、第2のデータ作成手段、第2のデータ送信手段、第2のリンクダウン手段、第2のリンクアップ手段、第2の動作モード遷移手段が主記憶装置上に生成されるようになっている。
The network control program executed by the
なお、上記実施の形態では、本発明の端末装置を、複合機(MFP)に適用した例を挙げて説明したが、そのほか、複写機、プリンタ、スキャナ装置、ファクシミリ装置等、通常動作モードと省電力モードの2つの動作モードを有する端末装置に対して広く適用することができる。 In the above embodiment, the terminal device of the present invention has been described as an example applied to a multifunction peripheral (MFP). However, other than the normal operation mode such as a copying machine, a printer, a scanner device, a facsimile device, etc. The present invention can be widely applied to terminal devices having two operation modes of the power mode.
(第2の実施の形態)
次に、本発明の第2の実施の形態について説明する。本実施の形態は、省電力モード時におけるネットワーク機器の状態が、上述した第1の実施の形態とは異なるものである。すなわち、第1の実施の形態では、端末装置21Aが省電力モードの場合に、LANスイッチ11Bとの間のリンクの通信速度を高速(例えば1Gbps)から低速(例えば100Mbps)に切り替えることで消費電力の低減を図るようにしていたが、本実施の形態においては、端末装置が省電力モードの場合に、LANスイッチとの間でのフレーム送受信機能を司るネットワーク制御部の電源をオフすることによって、大幅な省電力の低減が図られるようにしている。つまり、本実施の形態における端末装置は、通常動作モード時にはネットワーク制御部の電源をオンしてLANスイッチとの間でフレームの送受信を行えるようにし、省電力モード時にはネットワーク制御部の電源をオフしてLANスイッチとの間でのフレーム送受信を停止し、省電力モードから通常動作モードへの復帰を指示(または通知)するWake信号(復帰信号)の送受信のみを行えるようにしている。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. In the present embodiment, the state of the network device in the power saving mode is different from that in the first embodiment described above. That is, in the first embodiment, when the
なお、本実施の形態におけるネットワークシステムの全体的な構成やLANスイッチにおけるスパニングツリー機能の無効化の基本的な処理については、上述した第1の実施の形態と同様である。すなわち、本実施の形態においても、第1の実施の形態と同様に、端末装置(第1の実施の形態における端末装置21Aに相当)が通常動作モードから省電力モードに移行する際に事前にLANスイッチ(第1の実施の形態におけるLANスイッチ11Bに相当)に対して省電力モードに移行することを通知し、LANスイッチが、端末装置が接続されているLANポートの状態変化に対するスパニングツリー機能を無効化した後に、端末装置が省電力モードへの移行を行うようにしている。以下、第1の実施の形態と共通する部分については、重複した説明を適宜省略し、本実施の形態に特徴的な部分を中心に説明する。
The overall configuration of the network system in this embodiment and the basic processing for invalidating the spanning tree function in the LAN switch are the same as those in the first embodiment described above. That is, also in this embodiment, when the terminal device (corresponding to the
図16は、本実施の形態における端末装置40(第1の実施の形態における端末装置21Aに相当)とLANスイッチ50(第1の実施の形態におけるLANスイッチ11Bに相当)のコントローラ部分の内部構成を示すブロック図である。
FIG. 16 shows the internal configuration of the controller portion of the terminal device 40 (corresponding to the
端末装置40のコントローラは、図16に示すように、コントローラ全体の動作を制御するCPU41を備え、このCPU41に、プログラムを格納するROM42や、CPU41が動作するためのワーク領域を確保するRAM43が接続されている。また、端末装置40のコントローラは、LANスイッチ50との間でのフレーム送受信機能を司る部分として、ネットワーク制御部44を備えている。ネットワーク制御部44は、LANスイッチ50との間で送受信するフレームのデータを制御するMAC(Media Access Controller)44aと、物理層デバイスであるPHY44bとを有し、PHY44bにLANケーブル(ネットワークケーブル)60が接続されている。また、端末装置40のコントローラは、CPU41や、ネットワーク制御部44のMAC44a及びPHY44bの電源を制御するパワーマネージメント部45を備えている。さらに、端末装置40のコントローラは、LANスイッチ50からLANケーブル60上に送出された後述のWake信号(復帰信号)を検知してパワーマネージメント部45にWake信号検知を通知するシーケンサ回路46を備えている。
As shown in FIG. 16, the controller of the
LANスイッチ50のコントローラは、端末装置40のコントローラと同様の構成であり、コントローラ全体の動作を制御するCPU51を備え、このCPU51に、プログラムを格納するROM52や、CPU51が動作するためのワーク領域を確保するRAM53が接続されている。また、LANスイッチ50のコントローラは、LANポートに接続された端末装置40を含む各ネットワーク機器との間でのフレーム送受信機能を司る部分として、ネットワーク制御部54を備えている。ネットワーク制御部54は、各ネットワーク機器との間で送受信するフレームのデータを制御するMAC54aと、各LANポートごとの物理層デバイスであるPHY54bとを有している。図16中のPHY54bは端末装置40が接続されたLANポートの物理層デバイスを示しており、このPHY54bにLANケーブル60を介して端末装置40が接続されている。また、LANスイッチ50のコントローラは、CPU51や、ネットワーク制御部54のMAC54a及びPHY54bの電源を制御するパワーマネージメント部55を備えている。さらに、LANスイッチ50のコントローラは、端末装置40からLANケーブル60上に送出された後述のWake信号(復帰信号)を検知してパワーマネージメント部55にWake信号検知を通知するシーケンサ回路56を備えている。
The controller of the
本実施の形態のネットワークシステムでは、上述したように、端末装置40が省電力モードの場合に、端末装置40のコントローラ内部におけるネットワーク制御部44(MAC44aやPHY44b)の電源をオフするようにしている。端末装置40が省電力モードに移行した場合の端末装置40及びLANスイッチ50のコントローラ内部における電源供給状態を図17に示す。図17中、ハッチングを付したブロックが、端末装置40の省電力モード時に電源がオフされるデバイスを表している。
In the network system according to the present embodiment, as described above, when the
図17に示すように、本実施の形態における端末装置40は、省電力モード時においては、CPU41やROM42、RAM43の電源オフに加えて、LANスイッチ50との間でのフレーム送受信機能を司るネットワーク制御部44のMAC44aやPHY44bの電源もオフすることで、大幅な消費電力の低減を実現できるようにしている。端末装置40は、ネットワーク制御部44のMAC44aやPHY44bの電源をオフした場合、LANスイッチ50との間でのフレーム送受信は停止されることになるが、LANスイッチ50からLANケーブル60上に送出されたWake信号を検知するシーケンサ回路46を備えることで、LANスイッチ50との間でのフレーム送受信が停止された状態であっても、LANスイッチ50側からの要求に応じて、省電力モードから通常動作モードへと復帰できるようになっている。また、シーケンサ回路46は、LANスイッチ50側からの要求ではなく端末装置40内部のトリガに応じて端末装置40が省電力モードから通常動作モードに復帰する場合に、Wake信号をLANケーブル60上に送出する機能を有しており、これにより、端末装置40が実際に通常動作モードに復帰するときに、通常動作モードに復帰しようとしていることをLANスイッチ50に通知できるようになっている。
As shown in FIG. 17, in the power saving mode, the
また、本実施の形態におけるLANスイッチ50は、端末装置40が省電力モードに移行した場合には、端末装置40が接続されているLANポートに対応するPHY54bの電源をオフすることができる。本実施の形態のネットワークシステムでは、システム構成上、ネットワークの物理層デバイスであるPHY44b,54bの消費電力が非常に高くなっているが、端末装置40の省電力モード時にはこのPHY44b,54bの電源をオフするようにしているので、かなりの消費電力低減が見込まれる。また、端末装置40側のPHY44bだけでなく、LANスイッチ50側のPHY54bの電源もオフするようにしているので、システム全体を考えた場合でも消費電力低減の効果は大きくなる。また、LANスイッチ50にも端末装置40と同様にシーケンサ回路56が設けられているので、PHY54bの電源をオフした状態であっても、端末装置40からLANケーブル60上に送出されたWake信号をこのシーケンサ回路56によって検知して、端末装置40が通常動作モードに復帰しようとしていることを認識することができるとともに、例えば他のネットワーク機器から端末装置40宛のフレームを受信した場合など、端末装置40に対してフレームを転送したい場合にWake信号を送出して、端末装置40を省電力モードから通常動作モードに復帰させることもできる。
Further, the LAN switch 50 according to the present embodiment can turn off the power of the
図18は、端末装置40が通常動作モードから省電力モードに移行し、その後、通常動作モードから省電力モードに復帰するまでの動作を概念的に示したものである。端末装置40は、通常動作モード時においてはLANスイッチ50との間でフレームを送受信している状態もしくはアイドル状態(図18中の「Data/Idle」)であり、通常動作モードから省電力モードに移行する場合には、実際に省電力モードに移行する前に、通常動作モードから省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データ、具体的には、例えば上述した第1の実施の形態で説明したように、省電力モードに移行する旨の意味付けをされたビット(例えばタイプフィールドにあるテストビットの中の1ビット)をセットしたフレームや、MACアドレスに特定値(特定のMACアドレス)をセットしたフレームなどを作成し、LANスイッチ50に送信する。
FIG. 18 conceptually shows an operation until the
端末装置40から動作モード遷移通知を受信したLANスイッチ50は、端末装置40が通常動作モードから省電力モードに遷移しようとしている状態(図18中の「Sleep」)にあることを認識し、その端末装置40が接続されているLANポートをエッジポートに自動で設定して、当該LANポートの状態変化に対するスパニングツリー機能を無効に設定する。また、LANスイッチ50は、端末装置40が接続されているLANポートに対応するPHY54bの電源をオフして、LANスイッチ50自体の消費電力低減を図る。
The LAN switch 50 that has received the operation mode transition notification from the
端末装置40は、LANスイッチ50が動作モード遷移通知を受けて端末装置40が接続されているLANポートの状態変化に対するスパニングツリー機能を無効化した後に、シーケンサ回路46とパワーマネージメント部45以外のモジュールの電源、すなわちCPU41やROM42、RAM43の電源に加えてネットワーク制御部44のMAC44aやPHY44bの電源もオフして、動作モードを通常動作モードから省電力モードへと遷移させる。省電力モードの期間中は、実際は端末装置40とLANスイッチ50との間のリンクは切れた状態となっており、フレームの送受信は停止されているが、端末装置40とLANスイッチ50の双方ともに、相手が接続されているものと判断している。また、省電力モードの期間中は、端末装置40のシーケンサ回路46及びLANスイッチ50のシーケンサ回路56がともに電源オンの状態であり、端末装置40とLANスイッチ50との間でWake信号の送受信は行えるようになっている。
The
端末装置40が省電力モードのときにLANスイッチ50が他のネットワーク機器から端末装置40宛のフレームを受信すると、LANスイッチ50のパワーマネージメント部55が、端末装置40が接続されているLANポートに対応するPHY54bの電源をオンするとともに、LANスイッチ50のシーケンサ回路56がLANケーブル60上にWake信号を送出する。端末装置40側では、LANスイッチ50のシーケンサ回路56からLANケーブル60上にWake信号が送出されると、シーケンサ回路46がこのWake信号を検知して、パワーマネージメント部45にWake信号の検知を通知する。端末装置40のパワーマネージメント部45は、シーケンサ回路46からWake信号検知が通知されると、CPU41やROM42、RAM43、ネットワーク制御部44のMAC44aやPHY44bの電源をオンし、端末装置40の動作モードを省電力モードから通常動作モードへと遷移させる(図18中の「Wake」)。
When the
LANスイッチ50は、端末装置40がWake信号の通知を受けて省電力モードから通常動作モードに復帰した後(図18中の「Idle」)、端末装置40が接続されているLANポートに対するエッジポート設定を解除して、このLANポートの状態変化に対するスパニングツリー機能を有効化する。端末装置40側では、通常動作モードに復帰すると、LANスイッチ50との間でのフレーム送受信が可能となり、LANスイッチ50との間でフレームを送受信している状態もしくはアイドル状態(図18中の「Data/Idle」)となる。
The LAN switch 50 receives the Wake signal notification and returns to the normal operation mode from the power saving mode (“Idle” in FIG. 18), and then the
また、端末装置40がユーザの要求などに応じて省電力モードから通常動作モードに復帰しようとする場合には、まず、端末装置40のシーケンサ回路46がLANケーブル60上にWake信号を送出する。そして、端末装置40のパワーマネージメント部45が、CPU41やROM42、RAM43、ネットワーク制御部44のMAC44aやPHY44bの電源をオンし、端末装置40の動作モードを省電力モードから通常動作モードへと遷移させる(図18中の「Wake」)。端末装置40は、通常動作モードに復帰すると、LANスイッチ50との間でのフレーム送受信が可能となり、アイドル状態もしくはLANスイッチ50との間でフレームを送受信している状態(図18中の「Idle」、「Data/Idle」)となる。
Further, when the
一方、LANスイッチ50側では、端末装置40のシーケンサ回路46からLANケーブル60上にWake信号が送出されると、シーケンサ回路56がこのWake信号を検知して、パワーマネージメント部55にWake信号の検知を通知する。LANスイッチ50のパワーマネージメント部55は、シーケンサ回路56からWake信号検知が通知されると、端末装置40が接続されているLANポートに対応するPHY54bの電源をオンして、端末装置40との間でフレーム送受信が行えるようにする。また、LANスイッチ50は、端末装置40が省電力モードから通常動作モードに復帰した後(図18中の「Idle」)、端末装置40が接続されているLANポートに対するエッジポート設定を解除して、このLANポートの状態変化に対するスパニングツリー機能を有効化する。
On the other hand, on the LAN switch 50 side, when a Wake signal is sent from the
端末装置40のシーケンサ回路46とLANスイッチ50のシーケンサ回路56との間で送受信されるWake信号(復帰信号)は、これらシーケンサ回路46,56において判別可能な、あるパターンを持った信号とする。例えば、シリアルで“10101010・・・・”といった内容の信号をWake信号として用いることが考えられる。また、例えば、端末装置40とLANスイッチ50を接続するLANケーブル60として8線式のネットワークケーブルを用いる場合、そのうちの7線のデータ線を用いて上記のようなパターンをパラレル信号としたものをWake信号として用いるようにしてもよい。
The Wake signal (return signal) transmitted / received between the
端末装置40のシーケンサ回路46とLANスイッチ50のシーケンサ回路56は、以上のようなWake信号の送信や検知を行う機能に加えて、端末装置40の省電力モード中に端末装置40とLANスイッチ50とを接続しているLANケーブル60の挿抜を監視する機能を有することが望ましい。シーケンサ回路46,56にLANケーブル60の挿抜を監視する機能を持たせた場合の具体的な構成例を図19に示す。この図19に示すように、例えば8線式のネットワークケーブルからなるLANケーブル60のうちの一本を利用して、シーケンサ回路46,56にLANケーブル60の挿抜を監視する機能を付加することができる。
The
具体的には、例えばLANケーブル60の一本のデータ線(図19の例ではNetD8)の端末装置40側の端部を、抵抗R1を介して電源Sに接続するとともに、このデータ線のLANスイッチ50側の端部を、抵抗R2を介してグランドGNDに接続する。そして、このデータ線の端末装置40側の電位を端末装置40のシーケンサ回路46に入力し、このデータ線のLANスイッチ50側の電位をLANスイッチ50のシーケンサ回路56に入力する。LANケーブル60が接続されている状態では、このデータ線の電位は抵抗R1と抵抗R2の抵抗値で分圧された中間電位の状態であり、端末装置40のシーケンサ回路46及びLANスイッチ50のシーケンサ回路56は、この中間電位を検知してLANケーブル60が接続されている状態であることを認識する。一方、端末装置40が省電力モードのときにLANケーブル60が抜かれると、端末装置40側の電位は電源Sのレベルとなり、LANスイッチ50側の電位はグランドGNDのレベルとなる。端末装置40のシーケンサ回路46は、端末装置40側の電位が中間電位から電源Sのレベルに変化したことを検知することによって、LANケーブル60が抜かれたことを認識することができる。また、LANスイッチ50のシーケンサ回路56は、LANスイッチ50側の電位が中間電位からグランドGNDのレベルに変化したことを検知することで、LANケーブル60が抜かれたことを認識することができる。なお、上記の例とは逆に、LANスイッチ50側を電源Sに接続し、端末装置40側をグランドGNDに接続した場合でも、上記と同様にシーケンサ回路46,56においてLANケーブル60の挿抜を監視することができる。
Specifically, for example, one end of one data line of the LAN cable 60 (NetD8 in the example of FIG. 19) on the
端末装置40の省電力モード中にLANケーブル60が抜かれた場合は、ネットワークの構成が実際に変化したことになるので、このような場合には、LANスイッチ50のスパニングツリー機能を実施することによりネットワーク経路を新たに構築することが望ましい。そこで、LANスイッチ50は、端末装置40の省電力モード中にLANケーブル60が抜かれたことをシーケンサ回路56によって検知した場合、LANケーブル60によって端末装置40が接続されていたLANポートに対するエッジポートの設定を解除して、このLANポートの状態変化に対するスパニングツリー機能を有効に設定する。
If the
また、端末装置40は、省電力モード中にLANケーブル60が抜かれたことをシーケンサ回路46によって検知した場合、消費電力を低減する効果を継続的に得られるようにするために、LANケーブル60が再度装着されたことをシーケンサ回路46で検知するまでの間は、CPU41やROM42、RAM43、ネットワーク制御部44のMAC44aやPHY44bの電源をオフした状態を維持する。そして、LANケーブル60が再度装着されたことをシーケンサ回路46によって検知した場合に、パワーマネージメント部45が、CPU41やROM42、RAM43、ネットワーク制御部44のMAC44aやPHY44bの電源をオンする。このとき、シーケンサ回路46はLANケーブル60上にWake信号を送出して、端末装置40が省電力モードから通常動作モードに復帰することをLANスイッチ50に通知する。LANスイッチ50側では、端末装置40からのWake信号を受けて、上述した第1の実施形態で説明したようにオートネゴシエーションを実施し、端末装置40との間のリンクを確立する。
In addition, when the
なお、端末装置40のシーケンサ回路46とLANスイッチ50のシーケンサ回路56は、上述したようにWake信号の検知及び送出とLANケーブル60の挿抜の監視を行える構成であればよく、簡単なロジックで構成することができる。また、これらシーケンサ回路46,56は、端末装置40の省電力モード中にのみ動作すればよく、端末装置40が通常動作モードで動作している間は電源をオフしておけばよい。
Note that the
ところで、LANスイッチ50は、上述したように、端末装置40が省電力モードの場合には端末装置40が接続されているLANポートの状態変化に対するスパニングツリー機能を無効に設定しているが、他のLANポートに接続されていたネットワーク機器が取り外されたり、他のLANポートに新たなネットワーク機器が接続されたりといったように、他のLANポートにおいて状態変化が生じた場合には、他のLANポートの状態変化に対するスパニングツリー機能を実施する必要がある。この場合、LANスイッチ50のシーケンサ回路56がWake信号を送出して、端末装置40を省電力モードから通常動作モードに復帰させた後に他のLANポートの状態変化に対するスパニングツリー機能を実施することも考えられるが、消費電力の低減を図る観点からは、端末装置40を省電力モードに維持したまま、他のLANポートの状態変化に対するスパニングツリー機能を実施することが望ましい。
By the way, as described above, when the
そこで、LANスイッチ50は、端末装置40に関する情報として当該LANスイッチ50との間での通信速度に関する情報を予め取得しておき、端末装置40が省電力モードで動作している間に他のLANポートにおける状態変化に対するスパニングツリー機能を実施する場合は、この予め取得した通信速度の情報を用いて端末装置40が接続されているLANポートにおけるパスコストを設定し、他のLANポートにおける状態変化に対するスパニングツリー機能を実施する。
Therefore, the
また、LANスイッチ50は、端末装置40と当該LANスイッチ50との間での通信に適用される通信速度の情報として、例えば1Gbps、100Mbps、10Mbpsといった複数の通信速度の情報を予め取得しておき、端末装置40が省電力モードで動作している間に他のLANポートにおける状態変化に対するスパニングツリー機能を実施する場合は、これら複数の通信速度のうちで最速の通信速度の情報を用いて端末装置40が接続されているLANポートにおけるパスコストを設定し、他のLANポートにおける状態変化に対するスパニングツリー機能を実施するようにしてもよい。このように、最速の通信速度の情報を用いて他のLANポートにおける状態変化に対するスパニングツリー機能を実施すれば、端末装置40が省電力モードから通常動作モードに復帰したときに、スパニングツリー機能によって新たに構築されたネットワーク経路においても最速の通信速度を維持することができ、ユーザによる作業を効率化し生産性を高めることができる。
In addition, the
図20及び図21は、端末装置40が通常動作モードから省電力モードに移行する際に、端末装置40及びLANスイッチ50が実行する処理をそれぞれ示すフローチャートである。なお、ここでは、端末装置40が、通常動作モードで動作しており、LANスイッチ50との間でのフレーム送受信機能を司るネットワーク制御部44のMAC44aやPHY44bの電源がオン状態にあり、LANスイッチ50との間でフレームの送受信が可能な状態となっているものとする。
FIGS. 20 and 21 are flowcharts illustrating processes executed by the
図20に示すように、端末装置40は、通常動作モード(通常動作状態)において(ステップS71)、一定時間ネットワークからデータ受信(動作要求)が無いか否かを判定する(ステップS72)。
As shown in FIG. 20, in the normal operation mode (normal operation state) (step S71), the
そして、端末装置40は、一定時間内にネットワークからデータ受信(動作要求)がある場合には(ステップS72:No)、通常動作状態を継続する(ステップS71)。
Then, when there is data reception (operation request) from the network within a certain time (step S72: No), the
また、端末装置40は、一定時間ネットワークからデータ受信(動作要求)が無い場合には(ステップS72:Yes)、通常動作モードから省電力モードに移行(遷移)するか否かを判定する(ステップS73)。この一定時間はユーザが設定可能であり、任意に設定できるものでもよいし、予め決められた時間でもよい。
In addition, when there is no data reception (operation request) from the network for a certain period of time (step S72: Yes), the
そして、端末装置40は、通常動作モードから省電力モードに移行しない場合は(ステップS73:No)、通常動作状態を継続する(ステップS71)。
When the
また、端末装置40は、通常動作モードから省電力モードに移行する場合は(ステップS73:Yes)、省電力モードに移行する旨の意味付けをされたビットをセットしたフレーム(動作モード遷移通知データ)を作成する(ステップS74、データ作成手段)。例えば、フレーム中のタイプフィールドにあるテストビットの中の1ビットを、省電力モードに移行する旨のビットに割り当てることが考えられる。端末装置40は、作成したフレームをLANスイッチ50に送信することで、通常動作モードから省電力モードに移行することをLANスイッチ50に通知する(ステップS75、データ送信手段)。
In addition, when the
次に、端末装置40は、LANスイッチ50において後述のスパニングツリー機能を無効化するステップが実行された後に、LANスイッチ50との間でのフレーム送受信機能を司るネットワーク制御部44のMAC44aやPHY44bの電源をオフし(ステップS76)、動作モードを通常動作モードから省電力モードに遷移させる(ステップS77、動作モード遷移手段)。なお、このとき端末装置40のシーケンサ回路46の電源はオンし、省電力モード中にLANスイッチ50との間でWake信号のやり取りを行えるようにしておく。
Next, after the step of disabling the later-described spanning tree function is executed in the
一方、LANスイッチ50は、図21に示すように、接続(フォワーディング状態)されている各LANポートの監視を行っており(ステップS81)、端末装置40からのフレームを受信したかどうかを確認している(ステップS82、データ受信手段)。
On the other hand, as shown in FIG. 21, the LAN switch 50 monitors each connected LAN port (forwarding state) (step S81), and confirms whether or not a frame from the
そして、LANスイッチ50は、端末装置40から何らのフレームも受信しない場合には(ステップS82:No)、各ポートの監視を継続する(ステップS81)。
When the
また、LANスイッチ50は、端末装置40から何らかのフレームを受信した場合には(ステップS82:Yes)、そのフレームに省電力モードに移行する旨の意味付けをされたビットがセットされているか否か、詳細には、例えばタイプフィールドにあるテストビットの状態を確認する(ステップS83)。そして、LANスイッチ50は、端末装置40から受信したフレームに省電力モードに移行する旨の意味付けをされたビットがセットされているか否かにより、そのフレームが端末装置40からの省電力モード移行通知(動作モード遷移通知データ)であるか否かを判定する(ステップS84)。
Further, when the
LANスイッチ50は、端末装置40から受信したフレームが端末装置40からの省電力モード移行通知ではないと判定した場合には(ステップS84:No)、端末装置40から受信したフレームが通常のフレームであるものとして、宛先アドレスやアドレステーブルを参照して、フレームを他のLANスイッチや端末装置に転送し(ステップS85)、各LANポートの監視を継続する(ステップS81)。
When the
また、LANスイッチ50は、端末装置40から受信したフレームが端末装置40からの省電力モード移行通知であると判定した場合には(ステップS84:Yes)、端末装置40が接続されているLANポートをエッジポートに自動で設定し(ステップS86)、当該LANポートの状態変化に対するスパニングツリー機能を無効に設定する(ステップS87、スパニングツリー機能無効化手段)。
If the
その後、LANスイッチ50は、端末装置40が接続されているLANポートに対応するPHY54bの電源をオフする(ステップS88)。なお、このときLANスイッチ50のシーケンサ回路56の電源はオンし、端末装置40との間でWake信号のやり取りを行えるようにしておく。
Thereafter, the LAN switch 50 turns off the power of the
これにより、端末装置40が省電力モードに移行することに伴って端末装置40とLANスイッチ50のリンクが切れた状態になったとしてもスパニングツリー機能が実施されないため、端末装置40の通常動作モードから省電力モードへの移行及び省電力モードから通常動作モードへの復帰の度にスパニングツリー機能が実施されることによるネットワーク負荷を軽減でき、トラフィックの増大を防ぐことができる。
As a result, the spanning tree function is not implemented even if the link between the
また、端末装置40が省電力モードに移行すると、端末装置40のシーケンサ回路46及びLANスイッチ50のシーケンサ回路56の電源がオンされて、端末装置40とLANスイッチ50との間でWake信号のやり取りが行えるようになるので、消費電力の大幅な低減を実現しながら、必要に応じて端末装置40を適宜、通常動作モードに復帰させることができる。
When the
なお、上記ではフレーム中のタイプフィールドにあるテストビットの中の1ビットを省電力モードに移行する旨のビットに割り当てることとした例について説明したが、フレーム中の宛先MACアドレス(又は送信元MACアドレス)に特定の値(特定のMACアドレス)をセットすることで通常動作モードから省電力モードに移行する旨を通知するようにしてもよい。 In the above description, an example in which one bit of the test bits in the type field in the frame is assigned to the bit indicating the transition to the power saving mode has been described. However, the destination MAC address (or the source MAC) in the frame has been described. By setting a specific value (specific MAC address) in (address), notification of shifting from the normal operation mode to the power saving mode may be made.
図22及び図23は、端末装置40がユーザの要求などに応じて省電力モードから通常動作モードに復帰する際に端末装置40及びLANスイッチ50が実行する処理をそれぞれ示すフローチャートである。
FIG. 22 and FIG. 23 are flowcharts respectively showing processes executed by the
図22に示すように、端末装置40は、省電力モードで動作中はユーザからの動作要求があるかどうかを監視している(ステップS91)。このとき、端末装置40が省電力モードで動作している間に、端末装置40とLANスイッチ50とを繋ぐLANケーブル60が抜かれたり、一度抜かれたRANケーブル60が再度装着されたりすることが考えられる。
As shown in FIG. 22, the
そこで、端末装置40は、省電力モードで動作中にユーザからの動作要求がない間は(ステップS91:No)、LANケーブル60の挿抜を監視する(ケーブル接続状態監視手段)。具体的には、端末装置40は、例えばシーケンサ回路46で検知しているLANケーブル60の端末装置40側の電位が中間電位から変化したか否かにより、LANケーブル60が抜かれたか否かを判定する(ステップS92)。そして、LANケーブル60が抜かれたと判断した場合には、その後、シーケンサ回路46で検知している電位が中間電位に戻ったか否かにより、LANケーブル60が再度装着されたか否かを判定する(ステップS93)。端末装置40は、省電力モードで動作中にLANケーブル60が抜かれた場合(ステップS92:Yes)であっても、LANケーブル60が再度装着されるまでの間(ステップS93:No)は、ネットワーク制御部44の電源をオフした状態を維持し(電源遮断維持手段)、ユーザからの動作要求の監視を継続する(ステップS91)。そして、LANケーブル60が一度抜かれた後に再度装着された場合(ステップS93:Yes)には、ステップS94に処理を移行する。
Therefore, the
端末装置40は、省電力モードで動作中にユーザからの動作要求があった場合(ステップS91:Yes)又はLANケーブル60が一度抜かれた後に再度装着された場合(ステップS93:Yes)には、シーケンサ回路46からLANケーブル60上にWake信号を送出する(ステップS94、復帰信号送信手段)。
When there is an operation request from the user during the operation in the power saving mode (step S91: Yes) or when the
その後、端末装置40は、LANスイッチ50との間でのフレーム送受信機能を司るネットワーク制御部44のMAC44aやPHY44bの電源をオンし(ステップS95)、動作モードを省電力モードから通常動作モードに遷移させる(ステップS96、第2の動作モード遷移手段)。
Thereafter, the
一方、LANスイッチ50は、図23に示すように、端末装置40が省電力モードで動作している間、LANケーブル60上にWake信号が送出されたかどうかをシーケンサ回路56によって監視している(ステップS101、復帰信号受信手段)。このとき、端末装置40が省電力モードで動作している間に、端末装置40とLANスイッチ50とを繋ぐLANケーブル60が抜かれたり、一度抜かれたRANケーブル60が再度装着されたりすることが考えられる。
On the other hand, as shown in FIG. 23, the LAN switch 50 monitors whether or not a Wake signal is transmitted on the
そこで、LANスイッチ50は、端末装置40から送出されたWake信号が検出されない間は(ステップS101:No)、上述した端末装置40と同様に、LANケーブル60の挿抜を監視する(ケーブル接続状態監視手段)。具体的には、LANスイッチ50は、例えばシーケンサ回路56で検知しているLANケーブル60のLANスイッチ50側の電位が中間電位から変化したか否かにより、LANケーブル60が抜かれたか否かを判定する(ステップS102)。そして、LANケーブル60が抜かれたと判断した場合には、その後、シーケンサ回路56で検知している電位が中間電位に戻ったか否かにより、LANケーブル60が再度装着されたか否かを判定する(ステップS103)。LANスイッチ50は、端末装置40が省電力モードで動作している間にLANケーブル60が抜かれた場合(ステップS102:Yes)、その後、LANケーブル60が再度装着されれば(ステップS103:Yes)ステップS104に処理を移行し、LANケーブル60が再度装着されない場合(ステップS103:No)には、ステップS106に処理を移行する。
Therefore, the LAN switch 50 monitors the insertion / extraction of the LAN cable 60 (cable connection state monitoring) as in the case of the
LANスイッチ50は、端末装置40からLANケーブル60上に送出されたWake信号を検出した場合(ステップS101:Yes)又はLANケーブル60が一度抜かれた後に再度装着された場合(ステップS103:Yes)には、オートネゴシエーションを開始して端末装置40側の情報を取得する(ステップS104)。そして、LANスイッチ50は、端末装置40が接続されたLANポートに対応するPHY54bの電源をオンして、端末装置40との間でのリンクを確立する(ステップS105)。
When the
また、LANスイッチ50は、端末装置40との間でのリンクを確立した場合(ステップS105)、端末装置40が接続されているLANポートのエッジポート設定を解除し(ステップS106)、当該LANポートにおける状態変化に対するスパニングツリー機能を有効に設定する(ステップS107、スパニングツリー機能有効化手段、第2のスパニングツリー機能有効化手段)。
In addition, when the link is established with the terminal device 40 (step S105), the
また、LANスイッチ50は、LANケーブル60が抜かれた後に再度装着されなかった場合(ステップS103:No)、端末装置40が接続されていたLANポートのエッジポート設定を解除し(ステップS106)、当該LANポートにおける状態変化に対するスパニングツリー機能を有効にする(ステップS107、第2のスパニングツリー機能有効化手段)。
When the
このように、端末装置40が、省電力モードから通常動作モードに復帰する際にWake信号をLANケーブル60上に送出し、省電力モードから通常動作モードに復帰する旨をLANスイッチ50に対して通知し、LANスイッチ50が、Wake信号を検出することで端末装置40が通常動作モードに復帰することを認識して、端末装置40が接続されているLANポートの状態変化に対するスパニングツリー機能を有効にすることができる。これにより、消費電力の大幅な低減を実現しながら、必要に応じて端末装置40を適宜、通常動作モードに復帰させることができ、また、ユーザの手を煩わせることなくスパニングツリー機能を有効化することができる。
As described above, when the
また、端末装置40が省電力モードで動作している間に、端末装置40とLANスイッチ50とを繋ぐLANケーブル60の挿抜を端末装置40とLANスイッチ50との双方で監視しているので、LANケーブル60の挿抜によるリンク状態の変化にも適切に対応することができる。
In addition, while the
図24及び図25は、LANスイッチ50からの要求に応じて端末装置40が省電力モードから通常動作モードに復帰する際に端末装置40及びLANスイッチ50が実行する処理をそれぞれ示すフローチャートである。
FIG. 24 and FIG. 25 are flowcharts respectively showing processes executed by the
図24に示すように、端末装置40は、省電力モードで動作中は、LANスイッチ50からLANケーブル60上にWake信号が送出されたかどうかをシーケンサ回路46によって監視している(ステップS111、復帰信号受信手段)。このとき、端末装置40が省電力モードで動作している間に、端末装置40とLANスイッチ50とを繋ぐLANケーブル60が抜かれたり、一度抜かれたRANケーブル60が再度装着されたりすることが考えられる。
As shown in FIG. 24, during operation in the power saving mode, the
そこで、端末装置40は、LANスイッチ50から送出されたWake信号が検出されない間は(ステップS111:No)、LANケーブル60の挿抜を監視する(ケーブル接続状態監視手段)。具体的には、端末装置40は、例えばシーケンサ回路46で検知しているLANケーブル60の端末装置40側の電位が中間電位から変化したか否かにより、LANケーブル60が抜かれたか否かを判定する(ステップS112)。そして、LANケーブル60が抜かれたと判断した場合には、その後、シーケンサ回路46で検知している電位が中間電位に戻ったか否かにより、LANケーブル60が再度装着されたか否かを判定する(ステップS113)。端末装置40は、省電力モードで動作中にLANケーブル60が抜かれた場合(ステップS112:Yes)であっても、LANケーブル60が再度装着されるまでの間(ステップS113:No)は、ネットワーク制御部44の電源をオフした状態を維持し(電源遮断維持手段)、ユーザからの動作要求の監視を継続する(ステップS111)。そして、LANケーブル60が一度抜かれた後に再度装着された場合(ステップS113:Yes)には、ステップS114に処理を移行する。
Therefore, the
端末装置40は、省電力モードで動作中にLANスイッチ50からLANケーブル60上に送出されたWake信号を検出した場合(ステップS111:Yes)又はLANケーブル60が一度抜かれた後に再度装着された場合(ステップS113:Yes)には、LANスイッチ50との間でのフレーム送受信機能を司るネットワーク制御部44のMAC44aやPHY44bの電源をオンし(ステップS114)、動作モードを省電力モードから通常動作モードに遷移させる(ステップS115、第2の動作モード遷移手段)。
When the
一方、LANスイッチ50は、図25に示すように、端末装置40が省電力モードで動作している間、端末装置40が接続されているLANポート以外の他のLANポートにおいて端末装置40宛のフレームを受信したかどうかを監視している(ステップS121)。このとき、端末装置40が省電力モードで動作している間に、端末装置40とLANスイッチ50とを繋ぐLANケーブル60が抜かれたり、一度抜かれたRANケーブル60が再度装着されたりすることが考えられる。
On the other hand, as shown in FIG. 25, the
そこで、LANスイッチ50は、端末装置40宛のフレームを受信していない間は(ステップS121:No)、上述した端末装置40と同様に、LANケーブル60の挿抜を監視する(ケーブル接続状態監視手段)。具体的には、LANスイッチ50は、例えばシーケンサ回路56で検知しているLANケーブル60のLANスイッチ50側の電位が中間電位から変化したか否かにより、LANケーブル60が抜かれたか否かを判定する(ステップS122)。そして、LANケーブル60が抜かれたと判断した場合には、その後、シーケンサ回路56で検知している電位が中間電位に戻ったか否かにより、LANケーブル60が再度装着されたか否かを判定する(ステップS123)。LANスイッチ50は、端末装置40が省電力モードで動作している間にLANケーブル60が抜かれた場合(ステップS122:Yes)、その後、LANケーブル60が再度装着されれば(ステップS123:Yes)ステップS125に処理を移行し、LANケーブル60が再度装着されない場合(ステップS123:No)には、ステップS127に処理を移行する。
Therefore, the LAN switch 50 monitors the insertion / extraction of the LAN cable 60 (cable connection state monitoring means) in the same manner as the
LANスイッチ50は、端末装置40が接続されているLANポート以外の他のLANポートにおいて端末装置40宛のフレームを受信した場合(ステップS121:Yes)には、シーケンサ回路56からLANケーブル60上にWake信号を送出する(ステップS124、復帰信号送信手段)。
When the
また、LANスイッチ50は、LANケーブル60上にWake信号を送出した後、又は端末装置40の省電力モード中にLANケーブル60が一度抜かれた後に再度装着された場合(ステップS123:Yes)には、オートネゴシエーションを開始して端末装置40側の情報を取得する(ステップS125)。そして、LANスイッチ50は、端末装置40が接続されたLANポートに対応するPHY54bの電源をオンして、端末装置40との間でのリンクを確立する(ステップS126)。
In addition, when the
また、LANスイッチ50は、端末装置40との間でのリンクを確立した場合(ステップS126)、端末装置40が接続されているLANポートのエッジポート設定を解除し(ステップS127)、当該LANポートにおける状態変化に対するスパニングツリー機能を有効に設定する(ステップS128、スパニングツリー機能有効化手段、第2のスパニングツリー機能有効化手段)。
Further, when the link is established with the terminal device 40 (step S126), the
また、LANスイッチ50は、LANケーブル60が抜かれた後に再度装着されなかった場合(ステップS123:No)、端末装置40が接続されていたLANポートのエッジポート設定を解除し(ステップS127)、当該LANポートにおける状態変化に対するスパニングツリー機能を有効にする(ステップS128、第2のスパニングツリー機能有効化手段)。
If the
このように、LANスイッチ50が、端末装置40宛のフレームを受信した場合に、端末装置40に対して省電力モードから通常動作モードに復帰することを促すWake信号をLANケーブル60上に送出し、端末装置40が、Wake信号を検出することで通常動作モードに復帰することができる。また、LANスイッチ50は、端末装置40が接続されているLANポートの状態変化に対するスパニングツリー機能を有効にすることができる。これにより、消費電力の大幅な低減を実現しながら、必要に応じて端末装置40を適宜、通常動作モードに復帰させることができ、また、ユーザの手を煩わせることなくスパニングツリー機能を有効化することができる。
As described above, when the
また、端末装置40が省電力モードで動作している間に、端末装置40とLANスイッチ50とを繋ぐLANケーブル60の挿抜を端末装置40とLANスイッチ50との双方で監視しているので、LANケーブル60の挿抜によるリンク状態の変化にも適切に対応することができる。
In addition, while the
本実施の形態の端末装置40は、図16に示したように、CPU41とROM42、RAM43を有するマイクロコンピュータとしての構成を有しており、ネットワーク制御プログラムを実行することによって、本実施の形態に特有の上述した各種の処理機能を実現する。なお、本実施の形態の端末装置40で実行されるネットワーク制御プログラムは、例えば、ROM42等に予め組み込まれて提供される。
As shown in FIG. 16, the
また、本実施の形態の端末装置40で実行されるネットワーク制御プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。
The network control program executed by the
さらに、本実施の形態の端末装置40で実行されるネットワーク制御プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、本実施の形態の端末装置40で実行されるネットワーク制御プログラムをインターネット等のネットワーク経由で提供または配布するように構成してもよい。
Furthermore, the network control program executed by the
本実施の形態の端末装置40で実行されるネットワーク制御プログラムは、データ作成手段を実現するコンポーネント、データ送信手段を実現するコンポーネント、動作モード遷移手段を実現するコンポーネント、復帰信号送信手段を実現するコンポーネント、復帰信号受信手段を実現するコンポーネント、第2の動作モード遷移手段を実現するコンポーネント、ケーブル接続状態監視手段を実現するコンポーネント、電源遮断維持手段を実現するコンポーネントを含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)41が上記ROM42等からネットワーク制御プログラムを読み出して実行することにより上記各コンポーネントが主記憶装置上にロードされ、データ作成手段、データ送信手段、動作モード遷移手段、復帰信号送信手段、復帰信号受信手段、第2の動作モード遷移手段、ケーブル状態監視手段、電源遮断維持手段が主記憶装置上に生成されるようになっている。
The network control program executed by the
また、本実施の形態のLANスイッチ50は、図16に示したように、CPU51とROM52、RAM53を有するマイクロコンピュータとしての構成を有しており、ネットワーク制御プログラムを実行することによって、本実施の形態に特有の上述した各種の処理機能を実現する。なお、本実施の形態のLANスイッチ50で実行されるネットワーク制御プログラムは、例えば、ROM52等に予め組み込まれて提供される。
Further, as shown in FIG. 16, the LAN switch 50 according to the present embodiment has a configuration as a microcomputer having a
また、本実施の形態のLANスイッチ50で実行されるネットワーク制御プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。 The network control program executed by the LAN switch 50 of the present embodiment is a file in an installable or executable format, such as a CD-ROM, a flexible disk (FD), a CD-R, a DVD (Digital Versatile Disk). ) Or the like may be recorded and provided on a computer-readable recording medium.
さらに、本実施の形態のLANスイッチ50で実行されるネットワーク制御プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、本実施の形態のLANスイッチ50で実行されるネットワーク制御プログラムをインターネット等のネットワーク経由で提供または配布するように構成してもよい。 Further, the network control program executed by the LAN switch 50 of the present embodiment may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. Further, the network control program executed by the LAN switch 50 of the present embodiment may be provided or distributed via a network such as the Internet.
本実施の形態のLANスイッチ50で実行されるネットワーク制御プログラムは、データ受信手段を実現するコンポーネント、スパニングツリー機能無効化手段を実現するコンポーネント、復帰信号送信手段を実現するコンポーネント、復帰信号受信手段を実現するコンポーネント、スパニングツリー機能有効化手段を実現するコンポーネント、ケーブル状態監視手段を実現するコンポーネント、第2のスパニングツリー機能有効化手段を実現するコンポーネントを含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)51が上記ROM52等からネットワーク制御プログラムを読み出して実行することにより上記各コンポーネントが主記憶装置上にロードされ、データ受信手段、スパニングツリー機能無効化手段、復帰信号送信手段、復帰信号受信手段、スパニングツリー機能有効化手段、ケーブル状態監視手段、第2のスパニングツリー機能有効化手段が主記憶装置上に生成されるようになっている。
The network control program executed by the LAN switch 50 according to the present embodiment includes a component that implements data reception means, a component that implements spanning tree function invalidation means, a component that implements return signal transmission means, and a return signal reception means. A module configuration including a component for realizing, a component for realizing the spanning tree function enabling means, a component for realizing the cable state monitoring means, and a component realizing the second spanning tree function enabling means, and the actual hardware The CPU (processor) 51 reads out and executes the network control program from the
以上のように、本発明にかかるネットワークシステム、ネットワーク制御方法、LANスイッチ及びネットワーク制御プログラムは、ネットワーク性能の低下を招くことなく消費電力を低減する技術に有用である。 As described above, the network system, the network control method, the LAN switch, and the network control program according to the present invention are useful for techniques for reducing power consumption without causing a decrease in network performance.
11A、11B、11C LANスイッチ
21A、21B 端末装置
31A、31B、31C、31D、31E、31F LANケーブル
40 端末装置
41 CPU
42 ROM
43 RAM
44 ネットワーク制御部
44a MAC
44b PHY
45 パワーマネージメント部
46 シーケンサ回路
50 LANスイッチ
51 CPU
52 ROM
53 RAM
54 ネットワーク制御部
54a MAC
54b PHY
55 パワーマネージメント部
56 シーケンサ回路
121 CPU
122 ROM
123 RAM
124 ネットワークコントローラ
125a、125b、・・・、125n LANポート
210 コントローラ
211 CPU
212 システムメモリ
213 ノースブリッジ
214 サウスブリッジ
215 AGP
216 ASIC
217 ローカルメモリ
218 HDD
220 操作表示部
230 FCU
240 USB
250 LANインターフェース
260 エンジン部
11A, 11B,
42 ROM
43 RAM
44
44b PHY
45
52 ROM
53 RAM
54
54b PHY
55
122 ROM
123 RAM
212
216 ASIC
217
220
240 USB
250
Claims (28)
前記端末装置が、
前記通常動作モードから前記省電力モードに遷移しようとする場合に、前記通常動作モードから前記省電力モードに遷移しようとしていることを表す動作モード遷移通知データを作成するデータ作成手段と、
前記動作モード遷移通知データを前記1つのLANポートに送信するデータ送信手段と、を備え、
前記LANスイッチが、
前記1つのLANポートに送信された前記動作モード遷移通知データを受信するデータ受信手段と、
前記データ受信手段により前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するスパニングツリー機能無効化手段と、を備えることを特徴とするネットワークシステム。 A network including a LAN switch having a spanning tree function and a terminal device connected to one LAN port among a plurality of LAN ports included in the LAN switch and having two operation modes of a normal operation mode and a power saving mode A system,
The terminal device is
Data creation means for creating operation mode transition notification data indicating that the normal operation mode is going to be changed to the power saving mode when the normal operation mode is to be changed to the power saving mode;
Data transmission means for transmitting the operation mode transition notification data to the one LAN port,
The LAN switch is
Data receiving means for receiving the operation mode transition notification data transmitted to the one LAN port;
Spanning tree function invalidating means for invalidating a spanning tree function for a state change in the one LAN port when the data receiving means receives the operation mode transition notification data. .
前記端末装置が、
前記通常動作モードから前記省電力モードに遷移しようとする場合に、前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを作成するデータ作成手段と、
前記動作モード遷移通知データを前記1つのLANポートに送信するデータ送信手段と、
前記LANスイッチが前記動作モード遷移通知データを前記1つのLANポートにおいて受信し前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化した後に、前記第1の通信速度でのリンクダウンを行うリンクダウン手段と、
前記第2の通信速度でのリンクアップを行うリンクアップ手段と、
前記動作モードを前記通常動作モードから前記省電力モードに遷移させる動作モード遷移手段と、を備え、
前記LANスイッチが、
前記1つのLANポートに送信された前記動作モード遷移通知データを受信するデータ受信手段と、
前記データ受信手段により前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するスパニングツリー機能無効化手段と、を備えることを特徴とするネットワークシステム。 A normal operation mode in which a LAN switch having a spanning tree function is connected to one LAN port among a plurality of LAN ports provided in the LAN switch and communicates with the LAN switch at a predetermined first communication speed. And a terminal device having two operation modes of a power saving mode for performing communication with the LAN switch at a second communication speed that is lower than the first communication speed,
The terminal device is
Data creation means for creating operation mode transition notification data that is data indicating that the normal operation mode is going to be changed to the power saving mode when the normal operation mode is to be changed to the power saving mode;
Data transmission means for transmitting the operation mode transition notification data to the one LAN port;
A link that performs link-down at the first communication speed after the LAN switch receives the operation mode transition notification data at the one LAN port and invalidates a spanning tree function for a state change at the one LAN port. Down means,
Link-up means for performing link-up at the second communication speed;
An operation mode transition means for transitioning the operation mode from the normal operation mode to the power saving mode, and
The LAN switch is
Data receiving means for receiving the operation mode transition notification data transmitted to the one LAN port;
Spanning tree function invalidating means for invalidating a spanning tree function for a state change in the one LAN port when the data receiving means receives the operation mode transition notification data. .
前記省電力モードから前記通常動作モードに遷移しようとする場合に、前記省電力モードから前記通常動作モードに遷移しようとしていることを表すデータである第2の動作モード遷移通知データを作成する第2のデータ作成手段と、
前記第2のモード遷移通知データを前記1つのLANポートに送信する第2のデータ送信手段と、
前記第2の通信速度でのリンクダウンを行う第2のリンクダウン手段と、
前記第1の通信速度でのリンクアップを行う第2のリンクアップ手段と、
前記動作モードを前記省電力モードから前記通常動作モードに遷移させる第2の動作モード遷移手段と、を更に備え、
前記LANスイッチが、
前記1つのLANポートに送信された前記第2の動作モード遷移通知データを受信する第2のデータ受信手段と、
前記第2のデータ受信手段により前記第2の動作モード遷移通知データを受信した場合に、前記端末装置が前記省電力モードから前記通常動作モードに遷移した後に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を有効化するスパニングツリー機能有効化手段を更に備えることを特徴とする請求項2又は3に記載のネットワークシステム。 The terminal device is
A second operation mode transition notification data that is data indicating that a transition from the power saving mode to the normal operation mode is attempted when the power saving mode is shifted to the normal operation mode; Data creation means,
Second data transmission means for transmitting the second mode transition notification data to the one LAN port;
Second link down means for performing link down at the second communication speed;
Second link-up means for performing link-up at the first communication speed;
A second operation mode transition means for transitioning the operation mode from the power saving mode to the normal operation mode;
The LAN switch is
Second data receiving means for receiving the second operation mode transition notification data transmitted to the one LAN port;
When the second data receiving means receives the second operation mode transition notification data, the terminal device responds to a state change in the one LAN port after transitioning from the power saving mode to the normal operation mode. The network system according to claim 2 or 3, further comprising a spanning tree function enabling means for enabling the spanning tree function.
前記第2のデータ受信手段により前記第2の動作モード遷移通知データを受信する前に前記1つのLANポートにおいてリンクダウンを検出した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を有効化する第2のスパニングツリー機能有効化手段を更に備えることを特徴とする請求項4又は5に記載のネットワークシステム。 The LAN switch is
When a link down is detected in the one LAN port before receiving the second operation mode transition notification data by the second data receiving means, the spanning tree function for the state change in the one LAN port is enabled. 6. The network system according to claim 4 or 5, further comprising second spanning tree function enabling means for converting to a second spanning tree function.
前記端末装置が、前記通常動作モードから前記省電力モードに遷移しようとする場合に、前記第1の動作モードから前記第2の動作モードに遷移しようとしていることを表すデータである動作モード遷移通知データを作成するステップと、
前記端末装置が、前記動作モード遷移通知データを前記1つのLANポートに送信するステップと、
前記LANスイッチが、前記1つのLANポートに送信された前記動作モード遷移通知データを受信するステップと、
前記LANスイッチが、前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するステップと、
前記端末装置が、前記LANスイッチが前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するステップを実行した後に、前記第1の通信速度でのリンクダウンを行うステップと、
前記端末装置が、前記第2の通信速度でのリンクアップを行うステップと、
前記端末装置が、前記動作モードを前記通常動作モードから前記省電力モードに遷移させるステップと、
を含むことを特徴とするネットワーク制御方法。 A normal operation mode in which a LAN switch having a spanning tree function is connected to one LAN port among a plurality of LAN ports provided in the LAN switch and communicates with the LAN switch at a predetermined first communication speed. And a terminal device having two operation modes of a power saving mode for performing communication with the LAN switch at a second communication speed that is lower than the first communication speed. A network control method,
When the terminal device attempts to transition from the normal operation mode to the power saving mode, an operation mode transition notification is data indicating that the terminal device is about to transition from the first operation mode to the second operation mode. Creating data, and
The terminal device transmitting the operation mode transition notification data to the one LAN port;
The LAN switch receiving the operation mode transition notification data transmitted to the one LAN port;
Invalidating a spanning tree function for a state change in the one LAN port when the LAN switch receives the operation mode transition notification data;
The terminal device performing a link-down at the first communication speed after the LAN switch executes a step of disabling a spanning tree function for a state change in the one LAN port;
The terminal device performing link-up at the second communication speed;
The terminal device transitioning the operation mode from the normal operation mode to the power saving mode;
A network control method comprising:
前記端末装置が前記通常動作モードから前記省電力モードに遷移しようとする場合に送信する前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを前記1つのLANポートにおいて受信するデータ受信手段と、
前記データ受信手段により前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するスパニングツリー機能無効化手段と、を備えることを特徴とするLANスイッチ。 A normal operation mode having a spanning tree function, having a plurality of LAN ports, and performing communication at a predetermined first communication speed to one LAN port of the plurality of LAN ports, and the first communication speed A LAN switch to which a terminal device having two operation modes of a power saving mode for performing communication at a second communication speed which is also low speed is connected,
Operation mode transition notification data, which is data indicating that the terminal device is about to transition from the normal operation mode to the power saving mode, is transmitted when the terminal device attempts to transition from the normal operation mode to the power saving mode. Data receiving means for receiving at one LAN port;
A LAN switch comprising: a spanning tree function invalidating unit that invalidates a spanning tree function for a state change in the one LAN port when the data receiving unit receives the operation mode transition notification data. .
前記LANスイッチのデータ受信手段が、前記端末装置が前記通常動作モードから前記省電力モードに遷移しようとする場合に送信する前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを前記1つのLANポートにおいて受信するステップと、
前記LANスイッチのスパニングツリー機能無効化手段が、前記データ受信手段により前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するステップと、を含むことを特徴とするネットワーク制御方法。 A normal operation mode having a spanning tree function, having a plurality of LAN ports, and performing communication at a predetermined first communication speed to one LAN port of the plurality of LAN ports, and the first communication speed A network control method executed in a LAN switch to which a terminal device having two operation modes of a power saving mode for performing communication at a second communication speed that is also low speed is connected,
Data indicating that the data receiving means of the LAN switch is about to transition from the normal operation mode to the power saving mode, which is transmitted when the terminal device attempts to transition from the normal operation mode to the power saving mode. Receiving certain operation mode transition notification data at the one LAN port;
Spanning tree function invalidating means of the LAN switch invalidating a spanning tree function for a state change in the one LAN port when the data receiving means receives the operation mode transition notification data. A network control method.
前記端末装置が、
前記通常動作モードから前記省電力モードに遷移しようとする場合に、前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを作成するデータ作成手段と、
前記動作モード遷移通知データを前記1つのLANポートに送信するデータ送信手段と、
前記LANスイッチが前記動作モード遷移通知データを前記1つのLANポートにおいて受信し前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化した後に、前記LANスイッチとの間でのフレーム送受信機能を司るネットワーク制御部の電源を遮断して前記動作モードを前記通常動作モードから前記省電力モードに遷移させる動作モード遷移手段と、を備え、
前記LANスイッチが、
前記1つのLANポートに送信された前記動作モード遷移通知データを受信するデータ受信手段と、
前記データ受信手段により前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するスパニングツリー機能無効化手段と、を備えることを特徴とするネットワークシステム。 A LAN switch having a spanning tree function, a normal operation mode that is connected to one LAN port among a plurality of LAN ports included in the LAN switch, and transmits and receives frames to and from the LAN switch; and the LAN switch A terminal system having two operation modes of a power saving mode in which frame transmission / reception between them is stopped and only a return signal can be transmitted / received,
The terminal device is
Data creation means for creating operation mode transition notification data that is data indicating that the normal operation mode is going to be changed to the power saving mode when the normal operation mode is to be changed to the power saving mode;
Data transmission means for transmitting the operation mode transition notification data to the one LAN port;
After the LAN switch receives the operation mode transition notification data at the one LAN port and invalidates the spanning tree function with respect to the state change at the one LAN port, it controls the frame transmission / reception function with the LAN switch. An operation mode transition means for switching off the power supply of the network control unit and transitioning the operation mode from the normal operation mode to the power saving mode,
The LAN switch is
Data receiving means for receiving the operation mode transition notification data transmitted to the one LAN port;
Spanning tree function invalidating means for invalidating a spanning tree function for a state change in the one LAN port when the data receiving means receives the operation mode transition notification data. .
前記省電力モードから前記通常動作モードに遷移しようとする場合に、前記復帰信号を前記1つのLANポートに送信する復帰信号送信手段と、
前記ネットワーク制御部への電源供給を再開して前記動作モードを前記省電力モードから前記通常動作モードに遷移させる第2の動作モード遷移手段と、を更に備え、
前記LANスイッチが、
前記1つのLANポートに送信された前記復帰信号を受信する復帰信号受信手段と、
前記復帰信号受信手段により前記復帰信号を受信した場合に、前記端末装置が前記省電力モードから前記通常動作モードに遷移した後に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を有効化するスパニングツリー機能有効化手段と、を更に備えることを特徴とする請求項12又は13に記載のネットワークシステム。 The terminal device is
A return signal transmitting means for transmitting the return signal to the one LAN port when attempting to transition from the power saving mode to the normal operation mode;
Second operation mode transition means for resuming power supply to the network control unit and transitioning the operation mode from the power saving mode to the normal operation mode;
The LAN switch is
Return signal receiving means for receiving the return signal transmitted to the one LAN port;
When the return signal is received by the return signal receiving means, the spanning tree function for enabling a spanning tree function for a state change in the one LAN port after the terminal device transitions from the power saving mode to the normal operation mode. The network system according to claim 12, further comprising a tree function enabling unit.
前記端末装置が前記ネットワーク制御部の電源を遮断して前記省電力モードで動作している間に、前記1つのLANポート以外の他のLANポートから前記端末装置に転送すべきフレームを受信した場合に、前記復帰信号を前記端末装置に送信する復帰信号送信手段と、
前記端末装置が前記復帰信号を受信して前記省電力モードから前記通常動作モードに遷移した後に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を有効化するスパニングツリー機能有効化手段と、を更に備え、
前記端末装置が、
前記LANスイッチから送信された前記復帰信号を受信する復帰信号受信手段と、
前記復帰信号受信手段により前記復帰信号を受信した場合に、前記ネットワーク制御部への電源供給を再開して前記動作モードを前記省電力モードから前記通常動作モードに遷移させる第2の動作モード遷移手段と、を更に備えることを特徴とする請求項12又は13に記載のネットワークシステム。 The LAN switch is
When a frame to be transferred to the terminal device is received from another LAN port other than the one LAN port while the terminal device is operating in the power saving mode with the power supply of the network control unit turned off. A return signal transmitting means for transmitting the return signal to the terminal device;
Spanning tree function enabling means for enabling a spanning tree function for a state change in the one LAN port after the terminal device receives the return signal and transits from the power saving mode to the normal operation mode. In addition,
The terminal device is
Return signal receiving means for receiving the return signal transmitted from the LAN switch;
Second operation mode transition means for resuming power supply to the network control unit and transitioning the operation mode from the power saving mode to the normal operation mode when the return signal is received by the return signal receiving means. The network system according to claim 12, further comprising:
前記端末装置が前記ネットワーク制御部の電源を遮断して前記省電力モードで動作している間に、前記1つのLANポートに接続されているネットワークケーブルの挿抜を監視するケーブル接続状態監視手段と、
前記ケーブル接続状態監視手段により前記ネットワークケーブルが抜かれたことを検出した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を有効化する第2のスパニングツリー機能有効化手段と、を更に備えることを特徴とする請求項14乃至16のいずれか一つに記載のネットワークシステム。 The LAN switch is
A cable connection state monitoring means for monitoring insertion / removal of a network cable connected to the one LAN port while the terminal device is operating in the power saving mode by shutting off the power supply of the network control unit;
And a second spanning tree function enabling unit for enabling a spanning tree function for a state change in the one LAN port when the cable connection state monitoring unit detects that the network cable is disconnected. The network system according to any one of claims 14 to 16, wherein:
前記ネットワーク制御部の電源を遮断して前記省電力モードで動作している間に、前記1つのLANポートに接続されているネットワークケーブルの挿抜を監視するケーブル接続状態監視手段と、
前記ケーブル接続状態監視手段により前記ネットワークケーブルが抜かれたことを検出した場合に、前記ネットワークケーブルが再度装着されたことを検出するまでの間、前記ネットワーク制御部の電源を遮断した状態を維持する電源遮断維持手段と、を更に備えることを特徴とする請求項14乃至16のいずれか一つに記載のネットワークシステム。 The terminal device is
A cable connection state monitoring means for monitoring insertion / extraction of a network cable connected to the one LAN port while the power of the network control unit is shut off and operating in the power saving mode;
When the cable connection state monitoring unit detects that the network cable is disconnected, the power source that maintains the state where the power source of the network control unit is shut off until it is detected that the network cable is attached again The network system according to any one of claims 14 to 16, further comprising an interruption maintaining unit.
前記端末装置が、前記通常動作モードから前記省電力モードに遷移しようとする場合に、前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを作成するステップと、
前記端末装置が、前記動作モード遷移通知データを前記1つのLANポートに送信するステップと、
前記LANスイッチが、前記1つのLANポートに送信された前記動作モード遷移通知データを受信するステップと、
前記LANスイッチが、前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するステップと、
前記端末装置が、前記LANスイッチが前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するステップを実行した後に、前記LANスイッチとの間でのフレーム送受信機能を司るネットワーク制御部の電源を遮断して前記動作モードを前記通常動作モードから前記省電力モードに遷移させるステップと、
を含むことを特徴とするネットワーク制御方法。 A LAN switch having a spanning tree function, a normal operation mode that is connected to one LAN port among a plurality of LAN ports included in the LAN switch, and transmits and receives frames to and from the LAN switch; and the LAN switch A network control method executed in a network system including a terminal device having two operation modes of a power saving mode in which frame transmission / reception is stopped and only a return signal can be transmitted / received,
When the terminal device attempts to transition from the normal operation mode to the power saving mode, it creates operation mode transition notification data that is data indicating that the terminal device is about to transition from the normal operation mode to the power saving mode. Steps,
The terminal device transmitting the operation mode transition notification data to the one LAN port;
The LAN switch receiving the operation mode transition notification data transmitted to the one LAN port;
Invalidating a spanning tree function for a state change in the one LAN port when the LAN switch receives the operation mode transition notification data;
After the terminal device executes the step of disabling the spanning tree function for the state change in the one LAN port by the LAN switch, the power of the network control unit that controls the frame transmission / reception function with the LAN switch is turned on. Shutting off and transitioning the operation mode from the normal operation mode to the power saving mode;
A network control method comprising:
前記端末装置が前記通常動作モードから前記省電力モードに遷移しようとする場合に送信する前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを前記1つのLANポートにおいて受信するデータ受信手段と、
前記データ受信手段により前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するスパニングツリー機能無効化手段と、を備えることを特徴とするLANスイッチ。 A normal operation mode that has a spanning tree function, includes a plurality of LAN ports, and transmits / receives a frame to / from the LAN switch to one LAN port of the plurality of LAN ports. A LAN switch to which a terminal device having two operation modes of a power saving mode in which frame transmission / reception is stopped and only a return signal can be transmitted / received is connected,
Operation mode transition notification data, which is data indicating that the terminal device is about to transition from the normal operation mode to the power saving mode, is transmitted when the terminal device attempts to transition from the normal operation mode to the power saving mode. Data receiving means for receiving at one LAN port;
A LAN switch comprising: a spanning tree function invalidating unit that invalidates a spanning tree function for a state change in the one LAN port when the data receiving unit receives the operation mode transition notification data. .
前記LANスイッチのデータ受信手段が、前記端末装置が前記通常動作モードから前記省電力モードに遷移しようとする場合に送信する前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを前記1つのLANポートにおいて受信するステップと、
前記LANスイッチのスパニングツリー機能無効化手段が、前記データ受信手段により前記動作モード遷移通知データを受信した場合に、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化するステップと、を含むことを特徴とするネットワーク制御方法。 A normal operation mode that has a spanning tree function, includes a plurality of LAN ports, and transmits / receives a frame to / from the LAN switch to one LAN port of the plurality of LAN ports. A network control method that is executed in a LAN switch to which a terminal device having two operation modes of a power saving mode in which frame transmission / reception is stopped and only a return signal can be transmitted / received,
Data indicating that the data receiving means of the LAN switch is about to transition from the normal operation mode to the power saving mode, which is transmitted when the terminal device attempts to transition from the normal operation mode to the power saving mode. Receiving certain operation mode transition notification data at the one LAN port;
Spanning tree function invalidating means of the LAN switch invalidating a spanning tree function for a state change in the one LAN port when the data receiving means receives the operation mode transition notification data. A network control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009254870A JP5440104B2 (en) | 2008-11-13 | 2009-11-06 | Network system, network control method, LAN switch, and network control program |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008291208 | 2008-11-13 | ||
JP2008291208 | 2008-11-13 | ||
JP2009254870A JP5440104B2 (en) | 2008-11-13 | 2009-11-06 | Network system, network control method, LAN switch, and network control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010141881A true JP2010141881A (en) | 2010-06-24 |
JP5440104B2 JP5440104B2 (en) | 2014-03-12 |
Family
ID=42351546
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009254870A Expired - Fee Related JP5440104B2 (en) | 2008-11-13 | 2009-11-06 | Network system, network control method, LAN switch, and network control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5440104B2 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012001753A1 (en) * | 2010-06-28 | 2012-01-05 | パナソニック株式会社 | Access control device |
US9009515B2 (en) | 2012-02-15 | 2015-04-14 | Ricoh Company, Limited | Electronic device, image processing apparatus, and device control method |
JP2016178529A (en) * | 2015-03-20 | 2016-10-06 | 株式会社デンソー | Relay device |
JP2018157474A (en) * | 2017-03-21 | 2018-10-04 | 日本電気株式会社 | Relay device, network system, communication method, and program |
JP2022098804A (en) * | 2020-12-22 | 2022-07-04 | Necプラットフォームズ株式会社 | Ethernet terminal, communication method, and communication program |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5114300B2 (en) * | 2008-06-06 | 2013-01-09 | 株式会社リコー | Network system, network terminal device, and LAN switch |
-
2009
- 2009-11-06 JP JP2009254870A patent/JP5440104B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5114300B2 (en) * | 2008-06-06 | 2013-01-09 | 株式会社リコー | Network system, network terminal device, and LAN switch |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012001753A1 (en) * | 2010-06-28 | 2012-01-05 | パナソニック株式会社 | Access control device |
US9009515B2 (en) | 2012-02-15 | 2015-04-14 | Ricoh Company, Limited | Electronic device, image processing apparatus, and device control method |
US9996140B2 (en) | 2012-02-15 | 2018-06-12 | Ricoh Company, Limited | Electronic device, image processing apparatus, and device control method |
JP2016178529A (en) * | 2015-03-20 | 2016-10-06 | 株式会社デンソー | Relay device |
JP2018157474A (en) * | 2017-03-21 | 2018-10-04 | 日本電気株式会社 | Relay device, network system, communication method, and program |
JP2022098804A (en) * | 2020-12-22 | 2022-07-04 | Necプラットフォームズ株式会社 | Ethernet terminal, communication method, and communication program |
JP7283776B2 (en) | 2020-12-22 | 2023-05-30 | Necプラットフォームズ株式会社 | Ethernet terminal, communication method and communication program |
Also Published As
Publication number | Publication date |
---|---|
JP5440104B2 (en) | 2014-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6820423B2 (en) | Loop failure handling method and switch | |
US9146522B2 (en) | Image forming apparatus, and method of controlling image forming apparatus | |
JP5440104B2 (en) | Network system, network control method, LAN switch, and network control program | |
US7570582B1 (en) | Method and system for routing communications among computer networks | |
US8886831B2 (en) | System and methodology for fast link failover based on remote upstream failures | |
JP2006293983A (en) | Network communication device, image forming device, network communication method, and program | |
JP2011041152A (en) | Communication device, communication method, and program | |
JP5300553B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM | |
US9625975B2 (en) | Information processing apparatus capable of connecting to network in power saving state, method of controlling the same, and storage medium | |
US10649516B2 (en) | Information processing apparatus, control method for the same and storage medium | |
JP2009134696A (en) | Information processing apparatus, packet processing method, and program | |
WO2013051792A1 (en) | Method and apparatus to control link speed of an image forming apparatus | |
TW201419811A (en) | Method of converting routing mode of network, central controller and data center network system using the method | |
JP2011086294A (en) | Image forming device and network connection method of the same | |
JP3793123B2 (en) | Network interface device, power control method, computer-readable storage medium, and program | |
WO2019201124A1 (en) | Communication method and device for executing master-standby switching using electronic switch | |
JP4467500B2 (en) | Network relay device | |
JP2004064335A (en) | Communication speed control method for network equipment | |
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 | |
JP5114300B2 (en) | Network system, network terminal device, and LAN switch | |
JP2008284753A (en) | Communication system, monitoring device and image forming apparatus | |
JP2006197051A (en) | Network communication control unit and method | |
JP2005094681A (en) | Network system, network apparatus, method for controlling energy conservation and program for controlling energy conservation | |
JP2011234304A (en) | Network system | |
JP2015126445A (en) | Information processing apparatus, information processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120816 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130716 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A132 Effective date: 20130723 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130919 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20131119 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131202 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5440104 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
LAPS | Cancellation because of no payment of annual fees |