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 PDF

Info

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
Application number
JP2009254870A
Other languages
Japanese (ja)
Other versions
JP5440104B2 (en
Inventor
Shigeo Ueda
茂夫 上田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2009254870A priority Critical patent/JP5440104B2/en
Publication of JP2010141881A publication Critical patent/JP2010141881A/en
Application granted granted Critical
Publication of JP5440104B2 publication Critical patent/JP5440104B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce power consumption without reducing network performance. <P>SOLUTION: When shifting from a normal operating mode to a power saving mode, a terminal device 21A creates operating mode shift notification data which are data representing that the terminal device is to shift to the power saving mode, and transmits the operating mode shift notification data to a LAN switch 11B. In the case where the operating mode shift notification data are received from the terminal device 21A, the LAN switch 11B sets invalid a spanning tree function with respect to a status change of a LAN port to which the terminal device 21A is connected. <P>COPYRIGHT: (C)2010,JPO&amp;INPIT

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, Patent Document 1 discloses that even when an active slave node and a sleep slave node coexist, the same active / sleep state of each slave node is maintained. A network technology capable of transmitting an information packet to all slave nodes is described.

また、特許文献2には、ネットワークシステムに関し、処理能力を低下させることなく消費電力を低減させる技術が記載されている。   Patent Document 2 describes a technique for reducing power consumption with respect to a network system without reducing processing capacity.

また、特許文献3には、ネットワークで接続された複数の端末装置の全てが電源オフ状態である場合に電源をオフするネットワークプリンタが記載されている。   Patent Document 3 describes a network printer that turns off power when all of a plurality of terminal devices connected via a network are in a power-off state.

また、特許文献4には、ネットワークフィルタの機能をオンオフするメインCPUが、システムの電源投入後のレディ状態のときには、ネットワークを介して転送されてくるIPパケットのTCPヘッダに含まれる所定のフラグを弁別するためのパケットタイプフィルタの機能をオフ状態に設定することで、消費電力の低減を図る技術が記載されている。   In Patent Document 4, when the main CPU that turns on and off the network filter function is in a ready state after the system is turned on, a predetermined flag included in the TCP header of the IP packet transferred through the network is set. A technique for reducing power consumption by setting a packet type filter function for discrimination to an off state is described.

しかしながら、上記特許文献1〜4に記載されている技術は、いずれもスパニングツリー機能を備えたLANスイッチを利用したネットワークについて考慮されていないため、このようなネットワークに適用した場合の問題点、すなわち、端末装置の消費電力低減のために通信速度の変更やネットワーク制御部の電源オンオフを行うと、スパニングツリー機能によるアドレステーブルの変更やネットワーク経路の再構築の動作が頻繁に行われてネットワーク性能の低下を招く要因となるといった問題を解決することができない。   However, since none of the techniques described in Patent Documents 1 to 4 considers a network using a LAN switch having a spanning tree function, there are problems when applied to such a network, that is, When the communication speed is changed or the network control unit is turned on / off to reduce the power consumption of the terminal device, the spanning tree function frequently changes the address table and rebuilds the network route. The problem of causing a decrease cannot be solved.

本発明は、上記に鑑みてなされたものであって、ネットワーク性能の低下を招くことなく消費電力を低減することが可能なネットワークシステム、ネットワーク制御方法、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.

図1は、第1の実施の形態に係るネットワークシステムの構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a network system according to the first embodiment. 図2は、図1のネットワークシステムにおいて通信のループが回避された例を示す図である。FIG. 2 is a diagram illustrating an example in which a communication loop is avoided in the network system of FIG. 図3は、ネットワークブロックの一例を示す図である。FIG. 3 is a diagram illustrating an example of a network block. 図4は、図3のネットワークブロックにおいて通信のループが回避された例を示す図である。FIG. 4 is a diagram illustrating an example in which a communication loop is avoided in the network block of FIG. 図5は、MACアドレステーブルの一例を示す図である。FIG. 5 is a diagram illustrating an example of the MAC address table. 図6は、Configuration BPDUのフォーマットを示す図である。FIG. 6 is a diagram illustrating the format of Configuration BPDU. 図7は、フレームのフォーマットを示す図である。FIG. 7 shows a frame format. 図8は、第1の実施の形態に係る端末装置のネットワーク制御の手順を示すフローチャートである。FIG. 8 is a flowchart illustrating a network control procedure of the terminal device according to the first embodiment. 図9は、第1の実施の形態に係るLANスイッチのネットワーク制御の手順を示すフローチャートである。FIG. 9 is a flowchart showing a network control procedure of the LAN switch according to the first embodiment. 図10は、第1の実施の形態に係る端末装置のネットワーク制御の手順を示すフローチャートである。FIG. 10 is a flowchart illustrating a network control procedure of the terminal device according to the first embodiment. 図11は、第1の実施の形態に係るLANスイッチのネットワーク制御の手順を示すフローチャートである。FIG. 11 is a flowchart illustrating a network control procedure of the LAN switch according to the first embodiment. 図12は、第1の実施の形態に係る端末装置のネットワーク制御の手順を示すフローチャートである。FIG. 12 is a flowchart illustrating a network control procedure of the terminal device according to the first embodiment. 図13は、第1の実施の形態に係るLANスイッチのネットワーク制御の手順を示すフローチャートである。FIG. 13 is a flowchart illustrating a network control procedure of the LAN switch according to the first embodiment. 図14は、第1の実施の形態に係るLANスイッチのハードウェア構成の一例を示すブロック図である。FIG. 14 is a block diagram illustrating an example of a hardware configuration of the LAN switch according to the first embodiment. 図15は、第1の実施の形態に係る端末装置を複合機に適用した場合のハードウェア構成の一例を示すブロック図である。FIG. 15 is a block diagram illustrating an example of a hardware configuration when the terminal device according to the first embodiment is applied to a multifunction peripheral. 図16は、第2の実施の形態における端末装置とLANスイッチのコントローラ部分の内部構成を示すブロック図である。FIG. 16 is a block diagram illustrating an internal configuration of the controller unit of the terminal device and the LAN switch according to the second embodiment. 図17は、端末装置が省電力モードに移行した場合の端末装置及びLANスイッチのコントローラ内部における電源供給状態を示す図である。FIG. 17 is a diagram illustrating a power supply state in the controller of the terminal device and the LAN switch when the terminal device shifts to the power saving mode. 図18は、端末装置が通常動作モードから省電力モードに移行し、その後、通常動作モードから省電力モードに復帰するまでの動作を概念的に示す図である。FIG. 18 is a diagram conceptually illustrating an operation until the terminal device transitions from the normal operation mode to the power saving mode and then returns from the normal operation mode to the power saving mode. 図19は、シーケンサ回路にLANケーブルの挿抜を監視する機能を持たせた場合の具体的な構成例を示す図である。FIG. 19 is a diagram illustrating a specific configuration example when the sequencer circuit has a function of monitoring insertion / removal of a LAN cable. 図20は、第2の実施の形態に係る端末装置のネットワーク制御の手順を示すフローチャートである。FIG. 20 is a flowchart illustrating a network control procedure of the terminal device according to the second embodiment. 図21は、第2の実施の形態に係るLANスイッチのネットワーク制御の手順を示すフローチャートである。FIG. 21 is a flowchart illustrating a network control procedure of the LAN switch according to the second embodiment. 図22は、第2の実施の形態に係る端末装置のネットワーク制御の手順を示すフローチャートである。FIG. 22 is a flowchart illustrating a network control procedure of the terminal device according to the second embodiment. 図23は、第2の実施の形態に係るLANスイッチのネットワーク制御の手順を示すフローチャートである。FIG. 23 is a flowchart illustrating a network control procedure of the LAN switch according to the second embodiment. 図24は、第2の実施の形態に係る端末装置のネットワーク制御の手順を示すフローチャートである。FIG. 24 is a flowchart illustrating a network control procedure of the terminal device according to the second embodiment. 図25は、第2の実施の形態に係るLANスイッチのネットワーク制御の手順を示すフローチャートである。FIG. 25 is a flowchart illustrating a network control procedure of the LAN switch according to the second embodiment.

以下に添付図面を参照して、この発明にかかるネットワークシステム、ネットワーク制御方法、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 terminal device 21A (here, a multi-function peripheral (MFP)), and a terminal. And a device 21B (herein referred to as a PC (personal computer)).

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 switch 11A and the LAN switch 11B are connected via a LAN cable 31A, the LAN switch 11B and the LAN switch 11C are connected via a LAN cable 31B, and the LAN switch 11C and the LAN switch 11A are connected to a LAN. It is connected via a cable 31C. That is, the LAN switches 11A, 11B, and 11C are connected in a loop. The LAN switch 11A is connected to the backbone network N.

LANスイッチ11Bと端末装置21AとはLANケーブル31Eを介して接続されており、LANスイッチ11Cと端末装置21BとはLANケーブル31Fを介して接続されている。   The LAN switch 11B and the terminal device 21A are connected via a LAN cable 31E, and the LAN switch 11C and the terminal device 21B are connected via a LAN cable 31F.

端末装置21Aは、所定の第1の通信速度(ここでは、1Gbpsとする。)で通信を行う通常動作モード及び第1の通信速度よりも低速である第2の通信速度(ここでは、100Mbpsとする。)で通信を行う省電力モードの2つの動作モードを有する。   The terminal device 21A has a normal operation mode for performing communication at a predetermined first communication speed (here, 1 Gbps) and a second communication speed (here, 100 Mbps) that is lower than the first communication speed. )), There are two operation modes of a power saving mode for performing communication.

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 LAN cable 31B) between the second LAN switch 11B and the third LAN switch 11C is interrupted. This is because the LAN port to which the LAN cable 31B among the plurality of LAN ports provided in the second LAN switch 11B is connected or the LAN cable among the plurality of LAN ports provided in the third LAN switch 11C. This is realized by putting the LAN port to which 31B is connected into a blocking state.

次に、図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 terminal device 21A, and a terminal device 21B.

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 LAN switch 11A and the LAN switch 11B are connected via a LAN cable 31A, the LAN switch 11B and the LAN switch 11C are connected via a LAN cable 31B, and the LAN switch 11C and the LAN switch 11D are connected to a LAN. The LAN switch 11D and the LAN switch 11A are connected via a LAN cable 31D. That is, the LAN switches 11A to 11D are connected in a loop shape. It is assumed that a plurality of terminal devices are connected to the LAN switches 11A to 11D.

図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 switch 11A, a bridge ID “30” is assigned to the LAN switch 11B, and a bridge ID is assigned to the LAN switch 11C. It is assumed that “20” is allocated and the bridge ID “20” is allocated to the LAN switch 11D. The bridge ID assigned to the LAN switches 11A to 11D is a value arbitrarily added by the user (network administrator). In general, the bridge ID is 8 octets obtained by combining a bridge priority of 2 octets (bytes) and a MAC (Media Access Control) address of 6 octets. The LAN switch with the smallest bridge ID value is the root bridge of this network group. A root bridge is a device that controls and manages a network group.

ネットワークの各経路(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 LAN switch 11A is a root bridge, the LAN switch 11A has information on a terminal device (not shown) connected to itself and information from the LAN switches 11B to 11D. Get The LAN switch 11B has a path cost of the path between its own bridge ID (here, 30) and the LAN switch 11A (here, 19) and a path cost of the path between the LAN switch C (here). Then, it is assumed that the sum is 100.) That is, 30 + 19 = 49, 30 + 100 = 130, and so on. In this way, each LAN switch calculates the value of its own connection path, and transmits information to the LAN switch 11A that is the root bridge. The LAN switch 11A determines which path has the highest path cost among a plurality of paths in the network group based on the collected information, and the LAN connected to the path so as to block the path. Notify the switch. In the example of the network group shown in FIG. 3, since the route value between the LAN switch 11B and the LAN switch 11C is the largest, as shown in FIG. 4, the route is blocked and communication becomes a loop. prevent.

図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 terminal device 21A and the LAN switch 11B when the terminal device 21A shifts from the normal operation mode to the power saving mode. Here, it is assumed that the terminal device 21A operates in the normal operation mode and is linked to the LAN switch 11B at a communication speed of 1 Gbps.

図8に示すように、端末装置21Aは、通常動作モード(通常動作状態)において(ステップS11)、一定時間ネットワークからデータ受信(動作要求)が無いか否かを判定する(ステップS12)。   As shown in FIG. 8, in the normal operation mode (normal operation state) (step S11), the terminal device 21A determines whether there is no data reception (operation request) from the network for a predetermined time (step S12).

そして、端末装置21Aは、一定時間内にネットワークからデータ受信(動作要求)がある場合には(ステップS12:No)、通常動作状態を継続する(ステップS11)。   When there is data reception (operation request) from the network within a predetermined time (step S12: No), the terminal device 21A continues the normal operation state (step S11).

また、端末装置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 terminal device 21A determines whether or not to shift (transition) from the normal operation mode to the power saving mode (step). S13). This fixed time can be set by the user, and can be set arbitrarily, or may be a predetermined time.

そして、端末装置21Aは、通常動作モードから省電力モードに移行しない場合は(ステップS13:No)、通常動作状態を継続する(ステップS11)。   When the terminal device 21A does not shift from the normal operation mode to the power saving mode (step S13: No), the terminal device 21A continues the normal operation state (step S11).

また、端末装置21Aは、通常動作モードから省電力モードに移行する場合は(ステップS13:Yes)、省電力モードに移行する旨の意味付けをされたビットをセットしたフレーム(動作モード遷移通知データ)を作成する(ステップS14、データ作成手段)。例えば、フレーム中のタイプフィールドにあるテストビットの中の1ビットを、省電力モードに移行する旨のビットに割り当てることが考えられる。端末装置21Aは、作成したフレームをLANスイッチ11Bに送信することで、通常動作モードから省電力モードに移行することをLANスイッチ11Bに通知する(ステップS15、データ送信手段)。   In addition, when the terminal device 21A shifts from the normal operation mode to the power saving mode (step S13: Yes), the terminal device 21A sets a frame (operation mode transition notification data) in which a bit is given meaning to shift to the power saving mode. ) Is created (step S14, data creation means). For example, one bit among the test bits in the type field in the frame can be assigned to the bit indicating that the mode is shifted to the power saving mode. The terminal device 21A transmits the created frame to the LAN switch 11B, thereby notifying the LAN switch 11B that the normal operation mode shifts to the power saving mode (step S15, data transmission unit).

次に、端末装置21Aは、通信速度を1Gbpsから低速(ここでは、10Mbps)に設定する(ステップS16)。詳細には、端末装置21Aは、LANスイッチ11Bにおいて後述のスパニングツリー機能を無効化するステップが実行された後に、1Gbpsの通信速度でのリンクダウンを行い(リンクダウン手段)、その後、10Mbpsの通信速度でのリンクアップを行う(リンクアップ手段)。そして、端末装置21Aは、フレームの送受信を可能にした状態(リンク確立状態)で、動作モードを通常動作モードから省電力モードに遷移させる(ステップS17、動作モード遷移手段)。なお、省電力モード時には、端末装置21Aがネットワーク機能部分のみ電源をオンにしておき、その他の部分(例えば、CPU等)は電源をオフにするとより効果的である。   Next, the terminal device 21A sets the communication speed from 1 Gbps to a low speed (here, 10 Mbps) (step S16). Specifically, the terminal device 21A performs a link down at a communication speed of 1 Gbps (link down means) after the step of disabling the spanning tree function described later in the LAN switch 11B is executed, and then performs a communication of 10 Mbps. Link up at speed (link up means). Then, the terminal device 21A changes the operation mode from the normal operation mode to the power saving mode in a state in which frame transmission / reception is enabled (link establishment state) (step S17, operation mode transition means). In the power saving mode, it is more effective for the terminal device 21A to turn on the power of only the network function part and to turn off the power of the other parts (for example, the CPU).

一方、LANスイッチ11Bは、図9に示すように、接続(フォワーディング状態)されている各LANポートの監視を行っており(ステップS21)、端末装置21Aからのフレームを受信したかどうかを確認している(ステップS22、データ受信手段)。   On the other hand, as shown in FIG. 9, the LAN switch 11B monitors each connected LAN port (forwarding state) (step S21) and confirms whether or not a frame is received from the terminal device 21A. (Step S22, data receiving means).

そして、LANスイッチ11Bは、端末装置21Aから何らのフレームも受信しない場合には(ステップS22:No)、各ポートの監視を継続する(ステップS21)。   When no frame is received from the terminal device 21A (step S22: No), the LAN switch 11B continues to monitor each port (step S21).

また、LANスイッチ11Bは、端末装置21Aから何らかのフレームを受信した場合には(ステップS22:Yes)、そのフレームに省電力モードに移行する旨の意味付けをされたビットがセットされているか否か、詳細には、例えばタイプフィールドにあるテストビットの状態を確認する(ステップS23)。そして、LANスイッチ11Bは、端末装置21Aから受信したフレームに省電力モードに移行する旨の意味付けをされたビットがセットされているか否かにより、そのフレームが端末装置21Aからの省電力モード移行通知(動作モード遷移通知データ)であるか否かを判定する(ステップS24)。   Further, when the LAN switch 11B receives any frame from the terminal device 21A (step S22: Yes), whether or not a bit that indicates the shift to the power saving mode is set in the frame. Specifically, for example, the state of the test bit in the type field is confirmed (step S23). The LAN switch 11B then shifts the frame from the terminal device 21A to the power saving mode depending on whether or not the bit received from the terminal device 21A is set to have a meaning to shift to the power saving mode. It is determined whether it is notification (operation mode transition notification data) (step S24).

LANスイッチ11Bは、端末装置21Aから受信したフレームが端末装置21Aからの省電力モード移行通知ではないと判定した場合には(ステップS24:No)、端末装置21Aから受信したフレームが通常のフレームであるものとして、宛先アドレス(図7参照)やアドレステーブル(図5参照)を参照して、フレームを他のLANスイッチや端末装置に転送し(ステップS25)、各LANポートの監視を継続する(ステップS21)。   If the LAN switch 11B determines that the frame received from the terminal device 21A is not the power saving mode transition notification from the terminal device 21A (step S24: No), the frame received from the terminal device 21A is a normal frame. As an example, referring to the destination address (see FIG. 7) and the address table (see FIG. 5), the frame is transferred to another LAN switch or terminal device (step S25), and monitoring of each LAN port is continued (step S25). Step S21).

また、LANスイッチ11Bは、端末装置21Aから受信したフレームが端末装置21Aからの省電力モード移行通知であると判定した場合には(ステップS24:Yes)、端末装置21Aが接続されているLANポートをエッジポートに自動で設定し(ステップS26)、当該LANポートの状態変化に対するスパニングツリー機能を無効に設定する(ステップS27、スパニングツリー機能無効化手段)。なお、エッジポートとは、そのポートにさらに別のLANスイッチが接続されているのではなく、端末装置が接続されているポートであることを示しており、エッジポートに設定されたLANポートはネットワークのエッジ(そこから先にネットワークが展開されないという意味でのネットワークの境界)とみなされる。   When the LAN switch 11B determines that the frame received from the terminal device 21A is a power saving mode transition notification from the terminal device 21A (step S24: Yes), the LAN port to which the terminal device 21A is connected Is automatically set to the edge port (step S26), and the spanning tree function with respect to the state change of the LAN port is set to invalid (step S27, spanning tree function invalidating means). An edge port indicates that a port connected to a terminal device is not connected to another LAN switch, and the LAN port set as the edge port is a network. Edge (network boundary in the sense that the network is not deployed from there).

その後、LANスイッチ11Bは、端末装置21Aからの要求に応じて、端末装置21Aとの間の通信速度を1Gbpsから低速(ここでは、10Mbps)に設定する(ステップS28)。詳細には、LANスイッチ11Bは、端末装置21Aからの要求に応じて、1Gbpsの通信速度でのリンクダウンを行い、その後、端末装置21Aからの要求に応じて、10Mbpsの通信速度でのリンクアップを行う。   Thereafter, in response to a request from the terminal device 21A, the LAN switch 11B sets the communication speed with the terminal device 21A from 1 Gbps to a low speed (here, 10 Mbps) (step S28). Specifically, the LAN switch 11B performs a link down at a communication speed of 1 Gbps in response to a request from the terminal device 21A, and then performs a link up at a communication speed of 10 Mbps in response to a request from the terminal device 21A. I do.

これにより、端末装置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 terminal device 21A is connected, the spanning tree function is not implemented, so the terminal device 21A transitions from the normal operation mode to the power saving mode and the power saving mode. The network load due to the implementation of the spanning tree function every time the operation returns to the normal operation mode can be reduced, and an increase in traffic can be prevented. Further, when the communication speed between the terminal device 21A and the LAN switch 11B is reduced from 1 Gbps to 10 Mbps, the power consumption can be reduced by about 50%.

また、LANスイッチ11Bが、端末装置21Aから受信したフレームが端末装置21Aからの省電力モード移行通知であると判定した場合には、端末装置21Aが接続されているLANポートをエッジポートに自動で設定し、当該LANポートに対するスパニングツリー機能を無効に設定するので、ユーザの手を煩わせることなく、転送速度を低減し、消費電力を低減することができる。   When the LAN switch 11B determines that the frame received from the terminal device 21A is a power saving mode transition notification from the terminal device 21A, the LAN port to which the terminal device 21A is connected is automatically set as an edge port. Since the spanning tree function for the LAN port is set to be invalid, the transfer speed can be reduced and the power consumption can be reduced without bothering the user.

なお、上記ではフレーム中のタイプフィールドにあるテストビットの中の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 terminal device 21A and the LAN are informed that the transition from the normal operation mode to the power saving mode is made by setting a specific value (specific MAC address) to the destination MAC address in the frame. It is a flowchart which shows the process which the switch 11B performs, respectively. Here, it is assumed that the terminal device 21A operates in the normal operation mode and is linked to the LAN switch 11B at a communication speed of 1 Gbps.

図10に示すように、端末装置21Aは、通常動作モード(通常動作状態)において(ステップS31)、一定時間ネットワークからデータ受信(動作要求)が無いか否かを判定する(ステップS32)。   As shown in FIG. 10, in the normal operation mode (normal operation state) (step S31), the terminal device 21A determines whether or not there is no data reception (operation request) from the network for a predetermined time (step S32).

そして、端末装置21Aは、一定時間内にネットワークからデータ受信(動作要求)がある場合には(ステップS32:No)、通常動作状態を継続する(ステップS31)。   Then, when there is data reception (operation request) from the network within a predetermined time (step S32: No), the terminal device 21A continues the normal operation state (step S31).

また、端末装置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 terminal device 21A determines whether or not to shift (transition) to the power saving mode (step S33). When the terminal device 21A does not shift to the power saving mode (step S33: No), the terminal device 21A continues the normal operation state (step S31).

また、端末装置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 terminal device 21A shifts to the power saving mode (step S33: Yes), the terminal device 21A creates a frame (operation mode transition notification data) in which a specific value (specific MAC address) is set in the destination MAC address (step S33). S34, data creation means). For example, the following MAC address may be used as the specific MAC address.
<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 terminal device 21A transmits the created frame to the LAN switch 11B, thereby notifying the LAN switch 11B that the normal operation mode shifts to the power saving mode (step S35, data transmission means).

次に、端末装置21Aは、通信速度を1Gbpsから低速(ここでは、10Mbps)に設定する(ステップS36)。詳細には、端末装置21Aは、LANスイッチ11Bにおいて後述のスパニングツリー機能を無効化するステップが実行された後に、1Gbpsの通信速度でのリンクダウンを行い(リンクダウン手段)、その後、10Mbpsの通信速度でのリンクアップを行う(リンクアップ手段)。そして、端末装置21Aは、フレームの送受信を可能にした状態(リンク確立状態)で、動作モードを通常動作モードから省電力モードに遷移させる(ステップS37、動作モード遷移手段)。   Next, the terminal device 21A sets the communication speed from 1 Gbps to a low speed (here, 10 Mbps) (step S36). Specifically, the terminal device 21A performs a link down at a communication speed of 1 Gbps (link down means) after the step of disabling the spanning tree function described later in the LAN switch 11B is executed, and then performs a communication of 10 Mbps. Link up at speed (link up means). Then, the terminal device 21A changes the operation mode from the normal operation mode to the power saving mode in a state in which frame transmission / reception is enabled (link established state) (step S37, operation mode transition means).

一方、LANスイッチ11Bは、図11に示すように、接続(フォワーディング状態)されている各LANポートの監視を行っており(ステップS41)、端末装置21Aからのフレームを受信したかどうかを確認している(ステップS42、データ受信手段)。   On the other hand, as shown in FIG. 11, the LAN switch 11B monitors each connected LAN port (forwarding state) (step S41), and confirms whether or not the frame is received from the terminal device 21A. (Step S42, data receiving means).

そして、LANスイッチ11Bは、端末装置21Aから何らのフレームも受信しない場合には(ステップS42:No)、各ポートの監視を継続する(ステップS41)。   When no frame is received from the terminal device 21A (step S42: No), the LAN switch 11B continues to monitor each port (step S41).

また、LANスイッチ11Bは、端末装置21Aから何らかのフレームを受信した場合には(ステップS42:Yes)、そのフレームの宛先MACアドレスを確認する(ステップS43)。そして、LANスイッチ11Bは、端末装置21Aから受信したフレームの宛先MACアドレスに特定の値(特定のMACアドレス)がセットされているか否かにより、そのフレームが端末装置21Aからの省電力モード移行通知(動作モード遷移通知データ)であるか否かを判定する(ステップS44)。   Further, when any frame is received from the terminal device 21A (step S42: Yes), the LAN switch 11B confirms the destination MAC address of the frame (step S43). Then, the LAN switch 11B determines whether the frame is sent from the terminal device 21A according to whether or not a specific value (specific MAC address) is set in the destination MAC address of the frame received from the terminal device 21A. It is determined whether it is (operation mode transition notification data) (step S44).

LANスイッチ11Bは、端末装置21Aから受信したフレームの宛先MACアドレスに特定の値がセットされていないと判定した場合には(ステップS44:No)、端末装置21Aから受信したフレームが通常のフレームであるものとして、宛先アドレス(図7参照)やアドレステーブル(図5参照)を参照して、フレームを他のLANスイッチや端末装置に転送し(ステップS45)、各LANポートの監視を継続する(ステップS41)。   If the LAN switch 11B determines that a specific value is not set in the destination MAC address of the frame received from the terminal device 21A (step S44: No), the frame received from the terminal device 21A is a normal frame. As an example, referring to the destination address (see FIG. 7) and the address table (see FIG. 5), the frame is transferred to another LAN switch or terminal device (step S45), and monitoring of each LAN port is continued (step S45). Step S41).

また、LANスイッチ11Bは、端末装置21Aから受信したフレームの宛先MACアドレスに特定の値がセットされていると判定した場合には(ステップS44:Yes)、端末装置21Aが接続されているLANポートをエッジポートに自動で設定し(ステップS46)、当該LANポートの状態変化に対するスパニングツリー機能を無効に設定する(ステップS47、スパニングツリー機能無効化手段)。   If the LAN switch 11B determines that a specific value is set in the destination MAC address of the frame received from the terminal device 21A (step S44: Yes), the LAN port to which the terminal device 21A is connected. Is automatically set to the edge port (step S46), and the spanning tree function for the change in the state of the LAN port is set to be invalid (step S47, spanning tree function invalidating means).

その後、LANスイッチ11Bは、端末装置21Aからの要求に応じて、端末装置21Aとの間の通信速度を1Gbpsから低速(ここでは、10Mbps)に設定する(ステップS48)。詳細には、LANスイッチ11Bは、端末装置21Aからの要求に応じて、1Gbpsの通信速度でのリンクダウンを行い、その後、端末装置21Aからの要求に応じて、10Mbpsの通信速度でのリンクアップを行う。   Thereafter, in response to a request from the terminal device 21A, the LAN switch 11B sets the communication speed with the terminal device 21A from 1 Gbps to a low speed (here, 10 Mbps) (step S48). Specifically, the LAN switch 11B performs a link down at a communication speed of 1 Gbps in response to a request from the terminal device 21A, and then performs a link up at a communication speed of 10 Mbps in response to a request from the terminal device 21A. I do.

これにより、端末装置21Aが接続されているLANポートにリンクダウン、リンクアップが生じたとしてもスパニングツリー機能が実施されないため、端末装置21Aの通常動作モードから省電力モードへの移行及び省電力モードから通常動作モードへの復帰の度にスパニングツリー機能が実施されることによるネットワーク負荷を軽減でき、トラフィックの増大を防ぐことができる。   As a result, even if link down or link up occurs in the LAN port to which the terminal device 21A is connected, the spanning tree function is not implemented, so the terminal device 21A transitions from the normal operation mode to the power saving mode and the power saving mode. The network load due to the implementation of the spanning tree function every time the operation returns to the normal operation mode can be reduced, and an increase in traffic can be prevented.

図12及び図13は、端末装置21Aが省電力モードから通常動作モードに復帰する際に端末装置21A及びLANスイッチ11Bが実行する処理をそれぞれ示すフローチャートである。   FIG. 12 and FIG. 13 are flowcharts respectively showing processes executed by the terminal device 21A and the LAN switch 11B when the terminal device 21A returns from the power saving mode to the normal operation mode.

図12に示すように、端末装置21Aは、省電力モードで動作中はユーザ又はネットワークからの動作要求を監視しており(ステップS51)、動作要求がない間は(ステップS51:No)、省電力モードを継続する。   As shown in FIG. 12, the terminal device 21A monitors an operation request from the user or the network while operating in the power saving mode (step S51), and saves an operation request (step S51: No). Continue power mode.

また、端末装置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 terminal device 21A notifies the LAN switch 11B that the power saving mode is restored to the normal operation mode (step S52). Specifically, the terminal device 21A, for example, assigns and sets one bit of the test bits in the type field in the frame to a bit for returning from the power saving mode to the normal operation mode (second frame). Operation mode transition notification data) or a frame (second operation mode transition notification data) in which the destination MAC address (or source MAC address) in the frame is set to a specific value (specific MAC address) (Second data creation means) and transmit the frame to the LAN switch 11B (second data transmission means) to notify the LAN switch 11B that the power saving mode is restored to the normal operation mode. .

その後、端末装置21Aは、通信速度を元の速度(ここでは、1Gbps)に設定する(ステップS53)。詳細には、端末装置21Aは、10Mbpsの通信速度でのリンクダウンを行い(第2のリンクダウン手段)、その後、1Gbpsの通信速度でのリンクアップを行う(第2のリンクアップ手段)。そして、端末装置21Aは、動作モードを省電力モードから通常動作モードに遷移させる(ステップS54、第2の動作モード遷移手段)。   Thereafter, the terminal device 21A sets the communication speed to the original speed (here, 1 Gbps) (step S53). Specifically, the terminal device 21A performs link-down at a communication speed of 10 Mbps (second link-down means), and then performs link-up at a communication speed of 1 Gbps (second link-up means). Then, the terminal device 21A changes the operation mode from the power saving mode to the normal operation mode (step S54, second operation mode transition means).

一方、LANスイッチ11Bは、図13に示すように、省電力モードから通常動作モードへの復帰通知(第2の動作モード遷移通知データの送信)が端末装置21Aからあるかどうかを監視している(ステップS61、第2のデータ受信手段)。   On the other hand, as shown in FIG. 13, the LAN switch 11B monitors whether there is a return notification from the power saving mode to the normal operation mode (transmission of second operation mode transition notification data) from the terminal device 21A. (Step S61, second data receiving means).

なお、省電力モードから通常動作モードへの復帰通知が端末装置21Aからあるかどうかを監視している間に(ステップS61)、LANケーブルが抜かれること等によりリンクダウンが生じることが考えられる。さらに、その後、以前とは別の端末装置(ここでは、端末装置21A以外の端末装置)が接続されてリンクアップが生じることも考えられる。   Note that while monitoring whether or not the terminal device 21A has received a return notification from the power saving mode to the normal operation mode (step S61), a link down may occur due to disconnection of the LAN cable or the like. Furthermore, after that, another terminal device (in this case, a terminal device other than the terminal device 21A) may be connected to cause a link up.

そこで、LANスイッチ11Bは、省電力モードから通常動作モードへの復帰の通知が端末装置21Aから無い場合には(ステップS61:No)、端末装置21Aが接続されているLANポートにおいてリンクダウンが生じたか否かを判定する(ステップS62)。   Therefore, when there is no notification from the terminal device 21A of the return from the power saving mode to the normal operation mode (step S61: No), the LAN switch 11B causes a link down in the LAN port to which the terminal device 21A is connected. It is determined whether or not (step S62).

そして、LANスイッチ11Bは、リンクダウンが生じていないと判定した場合(ステップS62:No)、省電力モードから通常動作モードへの復帰の通知が端末装置21Aからあるかどうかの監視を継続する(ステップS61)。   If the LAN switch 11B determines that no link down has occurred (step S62: No), the LAN switch 11B continues to monitor whether or not the terminal device 21A is notified of the return from the power saving mode to the normal operation mode ( Step S61).

また、LANスイッチ11Bは、リンクダウンが生じたと判定した場合(ステップS62:Yes)には、LANケーブルが抜かれたと判定し(ステップS63)、その後、リンクアップが生じたか否かを判定する(ステップS64)。   If the LAN switch 11B determines that a link-down has occurred (step S62: Yes), the LAN switch 11B determines that the LAN cable has been disconnected (step S63), and then determines whether a link-up has occurred (step S63). S64).

また、LANスイッチ11Bは、省電力モードから通常動作モードへの復帰の通知が端末装置21Aからあった場合(ステップS61:Yes)又はLANケーブルが抜かれた後にリンクアップが生じた場合(ステップS64:Yes)には、オートネゴシエーションを開始して端末装置側の情報を取得する(ステップS65)。そして、LANスイッチ11Bは、端末装置(端末装置21A又は新規に接続された他の端末装置)が要求する通信速度でリンクを確立する(ステップS66)。   In addition, the LAN switch 11B receives a notification from the power saving mode to the normal operation mode from the terminal device 21A (step S61: Yes) or a link up after the LAN cable is disconnected (step S64: In Yes), auto-negotiation is started and information on the terminal device side is acquired (step S65). Then, the LAN switch 11B establishes a link at a communication speed requested by the terminal device (the terminal device 21A or another newly connected terminal device) (step S66).

また、LANスイッチ11Bは、端末装置(端末装置21A又は新規に接続された他の端末装置)が要求する通信速度でリンクを確立した場合(ステップS66)、LANポートのエッジポート設定を解除し(ステップS67)、当該LANポートにおける状態変化に対するスパニングツリー機能を有効に設定する(ステップS68、スパニングツリー機能有効化手段、第2のスパニングツリー機能有効化手段)。   Further, when the LAN switch 11B establishes a link at a communication speed requested by the terminal device (the terminal device 21A or another newly connected terminal device) (step S66), the LAN switch 11B cancels the edge port setting of the LAN port ( In step S67, the spanning tree function with respect to the state change in the LAN port is set to be valid (step S68, spanning tree function enabling means, second spanning tree function enabling means).

また、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 switch 11B cancels the edge port setting of the LAN port because it is considered that nothing is connected to the LAN port. (Step S67) The spanning tree function for the LAN port is validated (step S68, second spanning tree function validation means).

なお、LANスイッチ11Bが、リンクダウンからリンクアップになるまでの時間を計測し、リンクダウンから或る一定時間内にリンクアップにならない場合に、端末装置21Aが省電力モードから通常動作モードに復帰したことによるリンク状態の変化ではなく、LANケーブルが抜かれたことによるリンク状態の変化であると判定することもできる。   The LAN switch 11B measures the time from the link down to the link up, and the terminal device 21A returns from the power saving mode to the normal operation mode when the link up does not occur within a certain time from the link down. It is also possible to determine that the link state is not changed due to the change but the link state is changed because the LAN cable is disconnected.

また、端末装置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 terminal device 21A is connected, and auto-negotiation is performed even if the link state changes due to insertion / extraction of the LAN cable (step Even if a new terminal device different from the terminal device 21A is connected, the network path can be normally established.

このように、端末装置21Aが、省電力モードから通常動作モードに復帰する際に、省電力モードのまま通常動作モードへ復帰する旨をLANスイッチ11Bに対して通知し、LANスイッチ11Bが、端末装置21Aが接続されているLANポートに対するエッジポート設定を解除して、スパニングツリー機能を有効にすることができる。これにより、ユーザの手を煩わせることなくエッジポート設定解除ができ、端末装置21Aの通信速度を高速に戻すことができ、ユーザの生産性を向上させることができる。   In this way, when the terminal device 21A returns from the power saving mode to the normal operation mode, the terminal device 21A notifies the LAN switch 11B that the power saving mode is restored to the normal operation mode, and the LAN switch 11B The edge port setting for the LAN port to which the device 21A is connected can be canceled to enable the spanning tree function. Thereby, the edge port setting can be canceled without bothering the user, the communication speed of the terminal device 21A can be returned to a high speed, and the productivity of the user can be improved.

また、端末装置21Aが通常動作モードから省電力モードに移行しており、且つ、LANスイッチ11Bが、省電力モードから通常動作モードへ復帰する旨の通知をまだ受信していない場合、LANスイッチ11Bは、端末装置21Aが接続されているLANポートのリンク状態を監視し、リンク状態の変化(リンクダウン、リンクアップ)が生じた場合にはLANケーブルの挿抜が行われたと判定し、当該LANポートのエッジポート設定を解除してスパニングツリー機能を有効にすることにより、LANケーブルの挿抜によるリンク状態の変化にも対応することができる。   Further, when the terminal device 21A has shifted from the normal operation mode to the power saving mode, and the LAN switch 11B has not yet received a notification that the power saving mode returns to the normal operation mode, the LAN switch 11B. Monitors the link status of the LAN port to which the terminal device 21A is connected, and determines that the LAN cable has been inserted / removed when a link status change (link down, link up) occurs. By canceling the edge port setting and enabling the spanning tree function, it is possible to cope with a change in the link state due to the insertion / extraction of the LAN cable.

また、ネットワークに支障なく、端末装置21Aの消費電力を低減することができ、更に、ユーザ側のコストダウン(電力料金削減)も実現することができる。   In addition, the power consumption of the terminal device 21A can be reduced without hindering the network, and the cost reduction (reduction of power charges) on the user side can also be realized.

図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 CPU 121, a ROM 122, a RAM 123, a network controller 124, and LAN ports 125a, 125b,. The CPU 121, ROM 122, RAM 123, and network controller 124 are connected to each other via a bus. The LAN ports 125a, 125b,..., 125n are connected to the network controller 124.

CPU121は、LANスイッチの全体制御を行うものである。ROM122は、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM123は、プログラムやデータの展開用メモリなどとして用いる書き込み及び読み出し可能なメモリである。また、ネットワークコントローラ124は、LANポート125a、125b、・・・、125nに接続されたLANスイッチ、端末装置等との間の通信を行うものである。   The CPU 121 performs overall control of the LAN switch. The ROM 122 is a read-only memory used as a memory for storing programs and data, and the RAM 123 is a writable and readable memory used as a memory for developing programs and data. Further, the network controller 124 performs communication with LAN switches, terminal devices, and the like connected to the LAN ports 125a, 125b,.

本実施の形態の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 switch 11B are realized. The network control program executed by the LAN switches 11A to 11D according to the present embodiment is provided by being incorporated in advance in the ROM 122, for example.

また、本実施の形態の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 ROM 122 or the like. The above components are loaded onto the main storage device by reading and executing the data, the data receiving means, the second data receiving means, the spanning tree function invalidating means, the spanning tree function enabling means, and the second spanin Tree function validation means are generated on the main memory.

図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 terminal device 21A (multifunction device). As shown in FIG. 15, the terminal device 21A has a configuration in which a controller 210 and an engine unit (Engine) 260 are connected by a PCI (Peripheral Component Interconnect) bus. The controller 210 is a controller that controls the entire terminal device 21A and controls drawing, communication, and input from an operation unit (not shown). The engine unit 260 is a printer engine that can be connected to a PCI bus, and is, for example, a monochrome plotter, a 1-drum color plotter, a 4-drum color plotter, a scanner, or a fax unit. The engine unit 260 includes an image processing unit such as error diffusion and gamma conversion in addition to a so-called engine unit such as a plotter.

コントローラ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 controller 210 includes a CPU 211, a north bridge (NB) 213, a system memory (MEM-P) 212, a south bridge (SB) 214, a local memory (MEM-C) 217, and an ASIC (Application Specific Integrated Circuit). 216 and a hard disk drive (HDD) 218, and the north bridge (NB) 213 and the ASIC 216 are connected by an AGP (Accelerated Graphics Port) bus 215. The MEM-P 212 further includes a ROM (Read Only Memory) 212a and a RAM (Random Access Memory) 212b.

CPU211は、端末装置21Aの全体制御をおこなうものであり、NB213、MEM−P212及びSB214からなるチップセットを有し、このチップセットを介して他の機器と接続される。   The CPU 211 performs overall control of the terminal device 21A, has a chip set including the NB 213, the MEM-P 212, and the SB 214, and is connected to other devices via the chip set.

NB213は、CPU211とMEM−P212、SB214、AGP215とを接続するためのブリッジであり、MEM−P212に対する読み書きなどを制御するメモリコントローラと、PCIマスタ及びAGPターゲットとを有する。   The NB 213 is a bridge for connecting the CPU 211 to the MEM-P 212, SB 214, and AGP 215, and includes a memory controller that controls reading and writing to the MEM-P 212, a PCI master, and an AGP target.

MEM−P212は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いるシステムメモリであり、ROM212aとRAM212bとからなる。ROM212aは、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM212bは、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いる書き込み及び読み出し可能なメモリである。   The MEM-P 212 is a system memory used as a memory for storing programs and data, a memory for developing programs and data, a printer drawing memory, and the like, and includes a ROM 212a and a RAM 212b. The ROM 212a is a read-only memory used as a memory for storing programs and data, and the RAM 212b is a writable and readable memory used as a program / data development memory, a printer drawing memory, and the like.

SB214は、NB213とPCIデバイス、周辺デバイスとを接続するためのブリッジである。このSB214は、PCIバスを介してNB213と接続されており、このPCIバスには、ネットワークインターフェース(I/F)部なども接続される。   The SB 214 is a bridge for connecting the NB 213 to a PCI device and peripheral devices. The SB 214 is connected to the NB 213 via a PCI bus, and a network interface (I / F) unit and the like are also connected to the PCI bus.

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 ASIC 216 is an IC (Integrated Circuit) for image processing having hardware elements for image processing, and has a role of a bridge for connecting the AGP 215, the PCI bus, the HDD 218, and the MEM-C 217. The ASIC 216 includes a PCI target and an AGP master, an arbiter (ARB) that forms the core of the ASIC 216, a memory controller that controls the MEM-C 217, and a plurality of DMACs (Direct Memory) that rotate image data using hardware logic. Access Controller) and a PCI unit that performs data transfer between the engine unit 260 via the PCI bus. The ASIC 216 is connected to an FCU (Fax Control Unit) 230, a USB (Universal Serial Bus) 240, and a LAN interface 250 via a PCI bus. The operation display unit 220 is directly connected to the ASIC 216.

MEM−C217は、コピー用画像バッファ、符号バッファとして用いるローカルメモリであり、HDD(Hard Disk Drive)218は、画像データの蓄積、プログラムの蓄積、フォントデータの蓄積、フォームの蓄積を行うためのストレージである。   The MEM-C 217 is a local memory used as a copy image buffer and a code buffer, and an HDD (Hard Disk Drive) 218 is a storage for storing image data, programs, font data, and forms. It is.

AGP215は、グラフィック処理を高速化するために提案されたグラフィックスアクセラレーターカード用のバスインターフェースであり、MEM−P212に高スループットで直接アクセスすることにより、グラフィックスアクセラレーターカードを高速にするものである。   The AGP 215 is a bus interface for a graphics accelerator card that has been proposed to speed up graphics processing. The AGP 215 speeds up the graphics accelerator card by directly accessing the MEM-P 212 with high throughput. .

本実施の形態の端末装置21Aは、以上のようにマイクロコンピュータとしての構成を有しており、ネットワーク制御プログラムを実行することによって、本実施の形態に特有の上述した各種の処理機能を実現する。なお、本実施の形態の端末装置21Aで実行されるネットワーク制御プログラムは、ROM212a等に予め組み込まれて提供される。   The terminal device 21A of the present embodiment has a configuration as a microcomputer as described above, and implements the above-described various processing functions unique to the present embodiment by executing a network control program. . Note that the network control program executed by the terminal device 21A of the present embodiment is provided by being incorporated in advance in the ROM 212a or the like.

また、本実施の形態の端末装置21Aで実行されるネットワーク制御プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   The network control program executed by the terminal device 21A 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 Versatile Disk). ) Or the like may be recorded and provided on a computer-readable recording medium.

さらに、本実施の形態の端末装置21Aで実行されるネットワーク制御プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、本実施の形態の端末装置21Aで実行されるネットワーク制御プログラムをインターネット等のネットワーク経由で提供または配布するように構成してもよい。   Furthermore, the network control program executed by the terminal device 21A 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 terminal device 21A of the present embodiment may be provided or distributed via a network such as the Internet.

本実施の形態の端末装置21Aで実行されるネットワーク制御プログラムは、データ作成手段を実現するコンポーネント、データ送信手段を実現するコンポーネント、リンクダウン手段を実現するコンポーネント、リンクアップ手段を実現するコンポーネント、動作モード遷移手段を実現するコンポーネント、第2のデータ作成手段を実現するコンポーネント、第2のデータ送信手段を実現するコンポーネント、第2のリンクダウン手段を実現するコンポーネント、第2のリンクアップ手段を実現するコンポーネント、第2の動作モード遷移手段を実現するコンポーネントを含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記ROM212a等からネットワーク制御プログラムを読み出して実行することにより上記各コンポーネントが主記憶装置上にロードされ、データ作成手段、データ送信手段、リンクダウン手段、リンクアップ手段、動作モード遷移手段、第2のデータ作成手段、第2のデータ送信手段、第2のリンクダウン手段、第2のリンクアップ手段、第2の動作モード遷移手段が主記憶装置上に生成されるようになっている。   The network control program executed by the terminal device 21A according to the present embodiment includes a component that realizes data creation means, a component that realizes data transmission means, a component that realizes link-down means, a component that realizes link-up means, and an operation A component that realizes mode transition means, a component that realizes second data creation means, a component that realizes second data transmission means, a component that realizes second link down means, and a second link up means The module configuration includes a component and a component that realizes the second operation mode transition means. As actual hardware, a CPU (processor) reads out and executes a network control program from the ROM 212a or the like. The above components are loaded onto the main storage device, and data creation means, data transmission means, link down means, link up means, operation mode transition means, second data creation means, second data transmission means, Two link-down means, second link-up means, and second operation mode transition means are generated on the main memory.

なお、上記実施の形態では、本発明の端末装置を、複合機(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 terminal device 21A is in the power saving mode, the power consumption is switched by switching the communication speed of the link with the LAN switch 11B from high speed (for example, 1 Gbps) to low speed (for example, 100 Mbps). However, in this embodiment, when the terminal device is in the power saving mode, by turning off the power of the network control unit that controls the frame transmission / reception function with the LAN switch, A great reduction in power saving is achieved. That is, the terminal device in the present embodiment turns on the power of the network control unit in the normal operation mode so that frames can be transmitted / received to / from the LAN switch, and turns off the power of the network control unit in the power saving mode. Thus, frame transmission / reception with the LAN switch is stopped, and only transmission / reception of a Wake signal (return signal) for instructing (or notifying) return from the power saving mode to the normal operation mode can be performed.

なお、本実施の形態におけるネットワークシステムの全体的な構成や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 terminal device 21A in the first embodiment) shifts from the normal operation mode to the power saving mode in advance, as in the first embodiment. The LAN switch (corresponding to the LAN switch 11B in the first embodiment) is notified of the transition to the power saving mode, and the LAN switch is a spanning tree function for the state change of the LAN port to which the terminal device is connected. After the terminal is invalidated, the terminal device shifts to the power saving mode. In the following, with respect to the parts common to the first embodiment, a duplicate description will be omitted as appropriate, and the description will focus on the parts characteristic of the present embodiment.

図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 terminal device 21A in the first embodiment) and the LAN switch 50 (corresponding to the LAN switch 11B in the first embodiment) in the present embodiment. FIG.

端末装置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 terminal device 40 includes a CPU 41 that controls the operation of the entire controller. A ROM 42 that stores a program and a RAM 43 that secures a work area for the CPU 41 to operate are connected to the CPU 41. Has been. The controller of the terminal device 40 includes a network control unit 44 as a part that controls a frame transmission / reception function with the LAN switch 50. The network control unit 44 includes a MAC (Media Access Controller) 44a that controls data of a frame that is transmitted to and received from the LAN switch 50, and a PHY 44b that is a physical layer device, and a LAN cable (network cable) 60 is connected to the PHY 44b. Is connected. The controller of the terminal device 40 includes a power management unit 45 that controls the power of the CPU 41 and the MAC 44a and PHY 44b of the network control unit 44. Further, the controller of the terminal device 40 includes a sequencer circuit 46 that detects a Wake signal (return signal), which will be described later, sent from the LAN switch 50 onto the LAN cable 60 and notifies the power management unit 45 of detection of the Wake signal. Yes.

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 LAN switch 50 has the same configuration as the controller of the terminal device 40, and includes a CPU 51 that controls the operation of the entire controller. The CPU 51 includes a ROM 52 for storing programs and a work area for the CPU 51 to operate. A RAM 53 to be secured is connected. The controller of the LAN switch 50 includes a network control unit 54 as a part that controls a frame transmission / reception function with each network device including the terminal device 40 connected to the LAN port. The network control unit 54 includes a MAC 54a that controls frame data transmitted to and received from each network device, and a PHY 54b that is a physical layer device for each LAN port. PHY 54b in FIG. 16 indicates a physical layer device of a LAN port to which the terminal device 40 is connected. The terminal device 40 is connected to the PHY 54b via a LAN cable 60. The controller of the LAN switch 50 includes a CPU 51 and a power management unit 55 that controls the power sources of the MAC 54 a and the PHY 54 b of the network control unit 54. Further, the controller of the LAN switch 50 includes a sequencer circuit 56 that detects a Wake signal (return signal), which will be described later, sent from the terminal device 40 onto the LAN cable 60 and notifies the power management unit 55 of detection of the Wake signal. Yes.

本実施の形態のネットワークシステムでは、上述したように、端末装置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 terminal device 40 is in the power saving mode, the power source of the network control unit 44 (MAC 44a or PHY 44b) in the controller of the terminal device 40 is turned off. . FIG. 17 shows a power supply state in the controller of the terminal device 40 and the LAN switch 50 when the terminal device 40 shifts to the power saving mode. In FIG. 17, hatched blocks represent devices that are turned off when the terminal device 40 is in the power saving mode.

図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 terminal device 40 in the present embodiment is a network that controls a frame transmission / reception function with the LAN switch 50 in addition to powering off the CPU 41, the ROM 42, and the RAM 43. The power of the MAC 44a and PHY 44b of the control unit 44 is also turned off, so that a significant reduction in power consumption can be realized. When the terminal device 40 turns off the power of the MAC 44a and PHY 44b of the network control unit 44, frame transmission / reception to / from the LAN switch 50 is stopped, but is transmitted from the LAN switch 50 onto the LAN cable 60. By providing the sequencer circuit 46 that detects the Wake signal, even in a state where frame transmission / reception with the LAN switch 50 is stopped, the power saving mode is normally set in response to a request from the LAN switch 50 side. It is possible to return to the operation mode. The sequencer circuit 46 also sends a Wake signal to the LAN cable 60 when the terminal device 40 returns from the power saving mode to the normal operation mode in response to a trigger inside the terminal device 40 instead of a request from the LAN switch 50 side. Thus, when the terminal device 40 actually returns to the normal operation mode, the LAN switch 50 can be notified that the terminal device 40 is about to return to the normal operation mode.

また、本実施の形態における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 PHY 54b corresponding to the LAN port to which the terminal device 40 is connected when the terminal device 40 shifts to the power saving mode. In the network system according to the present embodiment, the power consumption of the PHY 44b and 54b, which are physical layer devices of the network, is very high due to the system configuration. However, when the terminal device 40 is in the power saving mode, the PHY 44b and 54b is powered on. Since it is turned off, a considerable reduction in power consumption is expected. Further, since not only the PHY 44b on the terminal device 40 side but also the PHY 54b on the LAN switch 50 side is turned off, the effect of reducing the power consumption is increased even when the entire system is considered. In addition, since the sequencer circuit 56 is provided in the LAN switch 50 as well as the terminal device 40, the Wake signal sent from the terminal device 40 onto the LAN cable 60 can be transmitted even when the PHY 54b is turned off. The terminal device can be detected by the sequencer circuit 56 to recognize that the terminal device 40 is about to return to the normal operation mode. For example, when a frame addressed to the terminal device 40 is received from another network device, the terminal device When it is desired to transfer a frame to 40, a Wake signal can be sent to return the terminal device 40 from the power saving mode to the normal operation mode.

図18は、端末装置40が通常動作モードから省電力モードに移行し、その後、通常動作モードから省電力モードに復帰するまでの動作を概念的に示したものである。端末装置40は、通常動作モード時においてはLANスイッチ50との間でフレームを送受信している状態もしくはアイドル状態(図18中の「Data/Idle」)であり、通常動作モードから省電力モードに移行する場合には、実際に省電力モードに移行する前に、通常動作モードから省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データ、具体的には、例えば上述した第1の実施の形態で説明したように、省電力モードに移行する旨の意味付けをされたビット(例えばタイプフィールドにあるテストビットの中の1ビット)をセットしたフレームや、MACアドレスに特定値(特定のMACアドレス)をセットしたフレームなどを作成し、LANスイッチ50に送信する。   FIG. 18 conceptually shows an operation until the terminal device 40 shifts from the normal operation mode to the power saving mode and then returns from the normal operation mode to the power saving mode. In the normal operation mode, the terminal device 40 is in a state of transmitting / receiving frames to / from the LAN switch 50 or in an idle state (“Data / Idle” in FIG. 18), and changes from the normal operation mode to the power saving mode. In the case of shifting, before actually shifting to the power saving mode, the operation mode transition notification data that is data indicating that the normal operation mode is going to be changed to the power saving mode, specifically, for example, the above-described first As described in the first embodiment, a frame in which a bit (for example, one bit in a test bit in the type field) designated to shift to a power saving mode is set, or a specific value in a MAC address A frame in which (specific MAC address) is set is created and transmitted to the LAN switch 50.

端末装置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 terminal device 40 recognizes that the terminal device 40 is in a state (“Sleep” in FIG. 18) that is about to transition from the normal operation mode to the power saving mode. The LAN port to which the terminal device 40 is connected is automatically set as an edge port, and the spanning tree function for the state change of the LAN port is set to be invalid. Further, the LAN switch 50 turns off the power supply of the PHY 54b corresponding to the LAN port to which the terminal device 40 is connected to reduce the power consumption of the LAN switch 50 itself.

端末装置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 terminal device 40 receives the operation mode transition notification from the LAN switch 50 and invalidates the spanning tree function for the state change of the LAN port to which the terminal device 40 is connected, and then the modules other than the sequencer circuit 46 and the power management unit 45 In addition to the power of the CPU 41, the ROM 42, and the RAM 43, the MAC 44a and the PHY 44b of the network control unit 44 are also turned off, and the operation mode is changed from the normal operation mode to the power saving mode. During the power saving mode, the link between the terminal device 40 and the LAN switch 50 is actually disconnected and frame transmission / reception is stopped. However, both the terminal device 40 and the LAN switch 50 are , It is determined that the other party is connected. During the power saving mode, the sequencer circuit 46 of the terminal device 40 and the sequencer circuit 56 of the LAN switch 50 are both powered on, and transmission / reception of the Wake signal between the terminal device 40 and the LAN switch 50 is not performed. It can be done.

端末装置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 switch 50 receives a frame addressed to the terminal device 40 from another network device when the terminal device 40 is in the power saving mode, the power management unit 55 of the LAN switch 50 sets the LAN port to which the terminal device 40 is connected. The corresponding PHY 54 b is powered on, and the sequencer circuit 56 of the LAN switch 50 sends a Wake signal to the LAN cable 60. On the terminal device 40 side, when a Wake signal is sent from the sequencer circuit 56 of the LAN switch 50 onto the LAN cable 60, the sequencer circuit 46 detects the Wake signal and notifies the power management unit 45 of detection of the Wake signal. To do. When the Wake signal detection is notified from the sequencer circuit 46, the power management unit 45 of the terminal device 40 turns on the power of the CPU 41, the ROM 42, the RAM 43, the MAC 44a and the PHY 44b of the network control unit 44, and sets the operation mode of the terminal device 40. A transition is made from the power saving mode to the normal operation mode (“Wake” in FIG. 18).

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 LAN switch 50 is an edge port for the LAN port to which the terminal device 40 is connected. The setting is canceled and the spanning tree function for the change in the state of the LAN port is enabled. When the terminal device 40 returns to the normal operation mode, frame transmission / reception with the LAN switch 50 becomes possible, and a frame transmission / reception state with the LAN switch 50 or an idle state (see “ Data / Idle ").

また、端末装置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 terminal device 40 attempts to return from the power saving mode to the normal operation mode in response to a user request or the like, first, the sequencer circuit 46 of the terminal device 40 transmits a Wake signal on the LAN cable 60. Then, the power management unit 45 of the terminal device 40 turns on the power of the CPU 41, the ROM 42, the RAM 43, the MAC 44a and the PHY 44b of the network control unit 44, and changes the operation mode of the terminal device 40 from the power saving mode to the normal operation mode. ("Wake" in FIG. 18). When the terminal device 40 returns to the normal operation mode, the frame transmission / reception with the LAN switch 50 becomes possible, and the terminal device 40 is in an idle state or in a state of transmitting / receiving a frame with the LAN switch 50 (“Idle” in FIG. 18). , “Data / Idle”).

一方、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 sequencer circuit 46 of the terminal device 40 to the LAN cable 60, the sequencer circuit 56 detects the Wake signal and the power management unit 55 detects the Wake signal. To be notified. When the Wake signal detection is notified from the sequencer circuit 56, the power management unit 55 of the LAN switch 50 turns on the PHY 54b corresponding to the LAN port to which the terminal device 40 is connected, and To enable frame transmission and reception. Further, after the terminal device 40 returns from the power saving mode to the normal operation mode (“Idle” in FIG. 18), the LAN switch 50 cancels the edge port setting for the LAN port to which the terminal device 40 is connected. The spanning tree function for the change in the state of the LAN port is validated.

端末装置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 sequencer circuit 46 of the terminal device 40 and the sequencer circuit 56 of the LAN switch 50 is a signal having a certain pattern that can be discriminated by the sequencer circuits 46 and 56. For example, a serial signal such as “10101010...” May be used as the Wake signal. Also, for example, when an 8-wire network cable is used as the LAN cable 60 for connecting the terminal device 40 and the LAN switch 50, the above pattern is converted into a parallel signal using 7 data lines. You may make it use as a Wake signal.

端末装置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 sequencer circuit 46 of the terminal device 40 and the sequencer circuit 56 of the LAN switch 50, in addition to the function of transmitting and detecting the Wake signal as described above, in addition to the terminal device 40 and the LAN switch 50 during the power saving mode of the terminal device 40. It is desirable to have a function of monitoring the insertion / extraction of the LAN cable 60 that connects the two. FIG. 19 shows a specific configuration example in the case where the sequencer circuits 46 and 56 have a function of monitoring the insertion / extraction of the LAN cable 60. As shown in FIG. 19, it is possible to add a function of monitoring the insertion / extraction of the LAN cable 60 to the sequencer circuits 46, 56 by using one of the LAN cables 60 made of, for example, an 8-wire network cable. it can.

具体的には、例えば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 terminal device 40 side is connected to the power source S through the resistor R1, and the LAN of this data line is also connected. The end on the switch 50 side is connected to the ground GND through the resistor R2. Then, the potential of the data line on the terminal device 40 side is input to the sequencer circuit 46 of the terminal device 40, and the potential of the data line on the LAN switch 50 side is input to the sequencer circuit 56 of the LAN switch 50. When the LAN cable 60 is connected, the potential of the data line is an intermediate potential divided by the resistance values of the resistors R1 and R2, and the sequencer circuit 46 of the terminal device 40 and the sequencer of the LAN switch 50 The circuit 56 detects the intermediate potential and recognizes that the LAN cable 60 is connected. On the other hand, when the LAN cable 60 is disconnected while the terminal device 40 is in the power saving mode, the potential on the terminal device 40 side becomes the level of the power source S, and the potential on the LAN switch 50 side becomes the level of the ground GND. The sequencer circuit 46 of the terminal device 40 can recognize that the LAN cable 60 has been disconnected by detecting that the potential on the terminal device 40 side has changed from the intermediate potential to the level of the power source S. The sequencer circuit 56 of the LAN switch 50 can recognize that the LAN cable 60 has been disconnected by detecting that the potential on the LAN switch 50 side has changed from the intermediate potential to the level of the ground GND. Contrary to the above example, even when the LAN switch 50 side is connected to the power source S and the terminal device 40 side is connected to the ground GND, the LAN cable 60 is inserted and removed in the sequencer circuits 46 and 56 as described above. Can be monitored.

端末装置40の省電力モード中にLANケーブル60が抜かれた場合は、ネットワークの構成が実際に変化したことになるので、このような場合には、LANスイッチ50のスパニングツリー機能を実施することによりネットワーク経路を新たに構築することが望ましい。そこで、LANスイッチ50は、端末装置40の省電力モード中にLANケーブル60が抜かれたことをシーケンサ回路56によって検知した場合、LANケーブル60によって端末装置40が接続されていたLANポートに対するエッジポートの設定を解除して、このLANポートの状態変化に対するスパニングツリー機能を有効に設定する。   If the LAN cable 60 is disconnected during the power saving mode of the terminal device 40, the network configuration has actually changed. In such a case, the spanning tree function of the LAN switch 50 is implemented. It is desirable to construct a new network route. Therefore, when the LAN switch 50 detects that the LAN cable 60 is disconnected during the power saving mode of the terminal device 40 by the sequencer circuit 56, the LAN switch 50 sets an edge port for the LAN port to which the terminal device 40 is connected by the LAN cable 60. The setting is canceled and the spanning tree function for this LAN port state change is set to be valid.

また、端末装置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 terminal device 40 detects that the LAN cable 60 is disconnected during the power saving mode by the sequencer circuit 46, the terminal device 40 is connected to the LAN cable 60 in order to continuously obtain the effect of reducing power consumption. The CPU 41, the ROM 42, the RAM 43, and the MAC 44a and PHY 44b of the network control unit 44 are kept turned off until the sequencer circuit 46 detects that they are mounted again. When the sequencer circuit 46 detects that the LAN cable 60 is attached again, the power management unit 45 turns on the power of the CPU 41, the ROM 42, the RAM 43, and the MAC 44a and PHY 44b of the network control unit 44. At this time, the sequencer circuit 46 sends a Wake signal on the LAN cable 60 to notify the LAN switch 50 that the terminal device 40 returns from the power saving mode to the normal operation mode. The LAN switch 50 receives the Wake signal from the terminal device 40, performs auto-negotiation as described in the first embodiment, and establishes a link with the terminal device 40.

なお、端末装置40のシーケンサ回路46とLANスイッチ50のシーケンサ回路56は、上述したようにWake信号の検知及び送出とLANケーブル60の挿抜の監視を行える構成であればよく、簡単なロジックで構成することができる。また、これらシーケンサ回路46,56は、端末装置40の省電力モード中にのみ動作すればよく、端末装置40が通常動作モードで動作している間は電源をオフしておけばよい。   Note that the sequencer circuit 46 of the terminal device 40 and the sequencer circuit 56 of the LAN switch 50 may be configured so as to be able to detect and send a wake signal and monitor the insertion / removal of the LAN cable 60 as described above. can do. The sequencer circuits 46 and 56 only need to operate during the power saving mode of the terminal device 40, and the power may be turned off while the terminal device 40 is operating in the normal operation mode.

ところで、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 terminal device 40 is in the power saving mode, the LAN switch 50 disables the spanning tree function for the state change of the LAN port to which the terminal device 40 is connected. When a state change occurs in another LAN port, such as when a network device connected to the other LAN port is removed or a new network device is connected to another LAN port, the other LAN port It is necessary to implement a spanning tree function for the state change. In this case, the sequencer circuit 56 of the LAN switch 50 may send out a Wake signal, and after the terminal device 40 is returned from the power saving mode to the normal operation mode, the spanning tree function for the change in the state of other LAN ports may be performed. Although it can be considered, from the viewpoint of reducing power consumption, it is desirable to implement a spanning tree function for the state change of other LAN ports while maintaining the terminal device 40 in the power saving mode.

そこで、LANスイッチ50は、端末装置40に関する情報として当該LANスイッチ50との間での通信速度に関する情報を予め取得しておき、端末装置40が省電力モードで動作している間に他のLANポートにおける状態変化に対するスパニングツリー機能を実施する場合は、この予め取得した通信速度の情報を用いて端末装置40が接続されているLANポートにおけるパスコストを設定し、他のLANポートにおける状態変化に対するスパニングツリー機能を実施する。   Therefore, the LAN switch 50 acquires in advance information related to the communication speed with the LAN switch 50 as information related to the terminal device 40, and other LANs while the terminal device 40 operates in the power saving mode. When implementing the spanning tree function for the state change in the port, the path cost in the LAN port to which the terminal device 40 is connected is set using the information on the communication speed acquired in advance, and the state change in the other LAN port is set. Implement the spanning tree function.

また、LANスイッチ50は、端末装置40と当該LANスイッチ50との間での通信に適用される通信速度の情報として、例えば1Gbps、100Mbps、10Mbpsといった複数の通信速度の情報を予め取得しておき、端末装置40が省電力モードで動作している間に他のLANポートにおける状態変化に対するスパニングツリー機能を実施する場合は、これら複数の通信速度のうちで最速の通信速度の情報を用いて端末装置40が接続されているLANポートにおけるパスコストを設定し、他のLANポートにおける状態変化に対するスパニングツリー機能を実施するようにしてもよい。このように、最速の通信速度の情報を用いて他のLANポートにおける状態変化に対するスパニングツリー機能を実施すれば、端末装置40が省電力モードから通常動作モードに復帰したときに、スパニングツリー機能によって新たに構築されたネットワーク経路においても最速の通信速度を維持することができ、ユーザによる作業を効率化し生産性を高めることができる。   In addition, the LAN switch 50 acquires in advance information on a plurality of communication speeds such as 1 Gbps, 100 Mbps, and 10 Mbps as information on communication speeds applied to communication between the terminal device 40 and the LAN switch 50. When the spanning tree function for the state change in the other LAN port is performed while the terminal device 40 is operating in the power saving mode, the terminal uses the information on the fastest communication speed among the plurality of communication speeds. A path cost in the LAN port to which the device 40 is connected may be set, and a spanning tree function for a change in state in another LAN port may be performed. As described above, when the spanning tree function for the state change in the other LAN port is performed using the information on the fastest communication speed, when the terminal device 40 returns from the power saving mode to the normal operation mode, the spanning tree function Even in a newly constructed network path, the fastest communication speed can be maintained, and work by the user can be made efficient and productivity can be increased.

図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 terminal device 40 and the LAN switch 50 when the terminal device 40 shifts from the normal operation mode to the power saving mode. Here, the terminal device 40 is operating in the normal operation mode, and the power of the MAC 44a and the PHY 44b of the network control unit 44 that controls the frame transmission / reception function with the LAN switch 50 is on, and the LAN switch It is assumed that a frame can be transmitted / received to / from 50.

図20に示すように、端末装置40は、通常動作モード(通常動作状態)において(ステップS71)、一定時間ネットワークからデータ受信(動作要求)が無いか否かを判定する(ステップS72)。   As shown in FIG. 20, in the normal operation mode (normal operation state) (step S71), the terminal device 40 determines whether or not there is no data reception (operation request) from the network for a predetermined time (step S72).

そして、端末装置40は、一定時間内にネットワークからデータ受信(動作要求)がある場合には(ステップS72:No)、通常動作状態を継続する(ステップS71)。   Then, when there is data reception (operation request) from the network within a certain time (step S72: No), the terminal device 40 continues the normal operation state (step S71).

また、端末装置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 terminal device 40 determines whether or not to shift (transition) from the normal operation mode to the power saving mode (step). S73). This fixed time can be set by the user, and can be set arbitrarily, or may be a predetermined time.

そして、端末装置40は、通常動作モードから省電力モードに移行しない場合は(ステップS73:No)、通常動作状態を継続する(ステップS71)。   When the terminal device 40 does not shift from the normal operation mode to the power saving mode (step S73: No), the terminal device 40 continues the normal operation state (step S71).

また、端末装置40は、通常動作モードから省電力モードに移行する場合は(ステップS73:Yes)、省電力モードに移行する旨の意味付けをされたビットをセットしたフレーム(動作モード遷移通知データ)を作成する(ステップS74、データ作成手段)。例えば、フレーム中のタイプフィールドにあるテストビットの中の1ビットを、省電力モードに移行する旨のビットに割り当てることが考えられる。端末装置40は、作成したフレームをLANスイッチ50に送信することで、通常動作モードから省電力モードに移行することをLANスイッチ50に通知する(ステップS75、データ送信手段)。   In addition, when the terminal device 40 shifts from the normal operation mode to the power saving mode (step S73: Yes), the terminal device 40 sets a frame (operation mode transition notification data) in which a bit is given meaning to shift to the power saving mode. ) Is created (step S74, data creation means). For example, one bit among the test bits in the type field in the frame can be assigned to the bit indicating that the mode is shifted to the power saving mode. The terminal device 40 transmits the created frame to the LAN switch 50, thereby notifying the LAN switch 50 of the transition from the normal operation mode to the power saving mode (step S75, data transmission unit).

次に、端末装置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 switch 50, the terminal device 40 performs the MAC 44 a and PHY 44 b of the network control unit 44 that manages the frame transmission / reception function with the LAN switch 50. The power is turned off (step S76), and the operation mode is changed from the normal operation mode to the power saving mode (step S77, operation mode transition means). At this time, the power of the sequencer circuit 46 of the terminal device 40 is turned on so that a Wake signal can be exchanged with the LAN switch 50 during the power saving mode.

一方、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 terminal device 40 has been received. (Step S82, data receiving means).

そして、LANスイッチ50は、端末装置40から何らのフレームも受信しない場合には(ステップS82:No)、各ポートの監視を継続する(ステップS81)。   When the LAN switch 50 does not receive any frame from the terminal device 40 (step S82: No), the LAN switch 50 continues monitoring each port (step S81).

また、LANスイッチ50は、端末装置40から何らかのフレームを受信した場合には(ステップS82:Yes)、そのフレームに省電力モードに移行する旨の意味付けをされたビットがセットされているか否か、詳細には、例えばタイプフィールドにあるテストビットの状態を確認する(ステップS83)。そして、LANスイッチ50は、端末装置40から受信したフレームに省電力モードに移行する旨の意味付けをされたビットがセットされているか否かにより、そのフレームが端末装置40からの省電力モード移行通知(動作モード遷移通知データ)であるか否かを判定する(ステップS84)。   Further, when the LAN switch 50 receives any frame from the terminal device 40 (step S82: Yes), whether or not a bit that indicates the shift to the power saving mode is set in the frame. Specifically, for example, the state of the test bit in the type field is confirmed (step S83). Then, the LAN switch 50 determines whether or not the frame shifts from the terminal device 40 to the power saving mode depending on whether or not the bit received from the terminal device 40 is set to have a meaning to shift to the power saving mode. It is determined whether it is notification (operation mode transition notification data) (step S84).

LANスイッチ50は、端末装置40から受信したフレームが端末装置40からの省電力モード移行通知ではないと判定した場合には(ステップS84:No)、端末装置40から受信したフレームが通常のフレームであるものとして、宛先アドレスやアドレステーブルを参照して、フレームを他のLANスイッチや端末装置に転送し(ステップS85)、各LANポートの監視を継続する(ステップS81)。   When the LAN switch 50 determines that the frame received from the terminal device 40 is not the power saving mode transition notification from the terminal device 40 (step S84: No), the frame received from the terminal device 40 is a normal frame. As a result, the frame is transferred to another LAN switch or terminal device with reference to the destination address or address table (step S85), and monitoring of each LAN port is continued (step S81).

また、LANスイッチ50は、端末装置40から受信したフレームが端末装置40からの省電力モード移行通知であると判定した場合には(ステップS84:Yes)、端末装置40が接続されているLANポートをエッジポートに自動で設定し(ステップS86)、当該LANポートの状態変化に対するスパニングツリー機能を無効に設定する(ステップS87、スパニングツリー機能無効化手段)。   If the LAN switch 50 determines that the frame received from the terminal device 40 is a power saving mode transition notification from the terminal device 40 (step S84: Yes), the LAN port to which the terminal device 40 is connected. Is automatically set to the edge port (step S86), and the spanning tree function with respect to the state change of the LAN port is set to invalid (step S87, spanning tree function invalidating means).

その後、LANスイッチ50は、端末装置40が接続されているLANポートに対応するPHY54bの電源をオフする(ステップS88)。なお、このときLANスイッチ50のシーケンサ回路56の電源はオンし、端末装置40との間でWake信号のやり取りを行えるようにしておく。   Thereafter, the LAN switch 50 turns off the power of the PHY 54b corresponding to the LAN port to which the terminal device 40 is connected (step S88). At this time, the power of the sequencer circuit 56 of the LAN switch 50 is turned on so that a Wake signal can be exchanged with the terminal device 40.

これにより、端末装置40が省電力モードに移行することに伴って端末装置40とLANスイッチ50のリンクが切れた状態になったとしてもスパニングツリー機能が実施されないため、端末装置40の通常動作モードから省電力モードへの移行及び省電力モードから通常動作モードへの復帰の度にスパニングツリー機能が実施されることによるネットワーク負荷を軽減でき、トラフィックの増大を防ぐことができる。   As a result, the spanning tree function is not implemented even if the link between the terminal device 40 and the LAN switch 50 is broken due to the terminal device 40 shifting to the power saving mode. The network load due to the implementation of the spanning tree function every time a transition from the power saving mode to the power saving mode and the return from the power saving mode to the normal operation mode can be reduced, and an increase in traffic can be prevented.

また、端末装置40が省電力モードに移行すると、端末装置40のシーケンサ回路46及びLANスイッチ50のシーケンサ回路56の電源がオンされて、端末装置40とLANスイッチ50との間でWake信号のやり取りが行えるようになるので、消費電力の大幅な低減を実現しながら、必要に応じて端末装置40を適宜、通常動作モードに復帰させることができる。   When the terminal device 40 shifts to the power saving mode, the sequencer circuit 46 of the terminal device 40 and the sequencer circuit 56 of the LAN switch 50 are turned on, and the Wake signal is exchanged between the terminal device 40 and the LAN switch 50. Thus, the terminal device 40 can be appropriately returned to the normal operation mode as necessary while realizing a significant reduction in power consumption.

なお、上記ではフレーム中のタイプフィールドにあるテストビットの中の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 terminal device 40 and the LAN switch 50 when the terminal device 40 returns from the power saving mode to the normal operation mode in response to a user request.

図22に示すように、端末装置40は、省電力モードで動作中はユーザからの動作要求があるかどうかを監視している(ステップS91)。このとき、端末装置40が省電力モードで動作している間に、端末装置40とLANスイッチ50とを繋ぐLANケーブル60が抜かれたり、一度抜かれたRANケーブル60が再度装着されたりすることが考えられる。   As shown in FIG. 22, the terminal device 40 monitors whether there is an operation request from the user during operation in the power saving mode (step S91). At this time, while the terminal device 40 is operating in the power saving mode, the LAN cable 60 that connects the terminal device 40 and the LAN switch 50 may be disconnected, or the RAN cable 60 that has been disconnected may be attached again. It is done.

そこで、端末装置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 terminal device 40 monitors insertion / extraction of the LAN cable 60 (cable connection state monitoring means) while there is no operation request from the user during operation in the power saving mode (step S91: No). Specifically, the terminal device 40 determines whether or not the LAN cable 60 is disconnected depending on whether or not the potential on the terminal device 40 side of the LAN cable 60 detected by the sequencer circuit 46 has changed from the intermediate potential, for example. (Step S92). If it is determined that the LAN cable 60 has been disconnected, then it is determined whether or not the LAN cable 60 has been reattached based on whether or not the potential detected by the sequencer circuit 46 has returned to the intermediate potential (step). S93). Even when the LAN cable 60 is disconnected while the terminal device 40 is operating in the power saving mode (step S92: Yes), the terminal device 40 is in the network until the LAN cable 60 is attached again (step S93: No). The state where the power of the control unit 44 is turned off is maintained (power cut-off maintaining means), and the operation request from the user is continuously monitored (step S91). When the LAN cable 60 is once removed and then attached again (step S93: Yes), the process proceeds to step S94.

端末装置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 LAN cable 60 is removed and then attached again (step S93: Yes), the terminal device 40 is A Wake signal is transmitted from the sequencer circuit 46 onto the LAN cable 60 (step S94, return signal transmission means).

その後、端末装置40は、LANスイッチ50との間でのフレーム送受信機能を司るネットワーク制御部44のMAC44aやPHY44bの電源をオンし(ステップS95)、動作モードを省電力モードから通常動作モードに遷移させる(ステップS96、第2の動作モード遷移手段)。   Thereafter, the terminal device 40 turns on the power of the MAC 44a and the PHY 44b of the network control unit 44 that controls the frame transmission / reception function with the LAN switch 50 (step S95), and changes the operation mode from the power saving mode to the normal operation mode. (Step S96, second operation mode transition means).

一方、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 cable 60 while the terminal device 40 is operating in the power saving mode (see FIG. 23). Step S101, return signal receiving means). At this time, while the terminal device 40 is operating in the power saving mode, the LAN cable 60 that connects the terminal device 40 and the LAN switch 50 may be disconnected, or the RAN cable 60 that has been disconnected may be attached again. It is done.

そこで、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 terminal device 40 described above, while the Wake signal transmitted from the terminal device 40 is not detected (step S101: No). means). Specifically, the LAN switch 50 determines whether or not the LAN cable 60 is disconnected depending on whether or not the potential on the LAN switch 50 side of the LAN cable 60 detected by the sequencer circuit 56 has changed from the intermediate potential, for example. (Step S102). If it is determined that the LAN cable 60 has been disconnected, it is then determined whether or not the LAN cable 60 has been reattached based on whether or not the potential detected by the sequencer circuit 56 has returned to the intermediate potential (step). S103). When the LAN cable 60 is disconnected while the terminal device 40 is operating in the power saving mode (step S102: Yes), the LAN switch 50 then reattaches the LAN cable 60 (step S103: Yes). When the process proceeds to step S104 and the LAN cable 60 is not attached again (step S103: No), the process proceeds to step S106.

LANスイッチ50は、端末装置40からLANケーブル60上に送出されたWake信号を検出した場合(ステップS101:Yes)又はLANケーブル60が一度抜かれた後に再度装着された場合(ステップS103:Yes)には、オートネゴシエーションを開始して端末装置40側の情報を取得する(ステップS104)。そして、LANスイッチ50は、端末装置40が接続されたLANポートに対応するPHY54bの電源をオンして、端末装置40との間でのリンクを確立する(ステップS105)。   When the LAN switch 50 detects a Wake signal sent from the terminal device 40 onto the LAN cable 60 (step S101: Yes), or when the LAN cable 60 is removed and then attached again (step S103: Yes). Starts auto-negotiation and acquires information on the terminal device 40 side (step S104). Then, the LAN switch 50 turns on the power of the PHY 54b corresponding to the LAN port to which the terminal device 40 is connected, and establishes a link with the terminal device 40 (step S105).

また、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 switch 50 cancels the edge port setting of the LAN port to which the terminal device 40 is connected (step S106), and the LAN port The spanning tree function with respect to the state change in is effectively set (step S107, spanning tree function enabling means, second spanning tree function enabling means).

また、LANスイッチ50は、LANケーブル60が抜かれた後に再度装着されなかった場合(ステップS103:No)、端末装置40が接続されていたLANポートのエッジポート設定を解除し(ステップS106)、当該LANポートにおける状態変化に対するスパニングツリー機能を有効にする(ステップS107、第2のスパニングツリー機能有効化手段)。   When the LAN switch 60 is not attached again after the LAN cable 60 is disconnected (step S103: No), the LAN port 50 cancels the edge port setting of the LAN port to which the terminal device 40 is connected (step S106). The spanning tree function for the state change in the LAN port is validated (step S107, second spanning tree function validation means).

このように、端末装置40が、省電力モードから通常動作モードに復帰する際にWake信号をLANケーブル60上に送出し、省電力モードから通常動作モードに復帰する旨をLANスイッチ50に対して通知し、LANスイッチ50が、Wake信号を検出することで端末装置40が通常動作モードに復帰することを認識して、端末装置40が接続されているLANポートの状態変化に対するスパニングツリー機能を有効にすることができる。これにより、消費電力の大幅な低減を実現しながら、必要に応じて端末装置40を適宜、通常動作モードに復帰させることができ、また、ユーザの手を煩わせることなくスパニングツリー機能を有効化することができる。   As described above, when the terminal device 40 returns from the power saving mode to the normal operation mode, the Wake signal is transmitted to the LAN cable 60, and the LAN switch 50 is informed that the terminal device 40 returns from the power saving mode to the normal operation mode. The LAN switch 50 detects that the Wake signal is detected and recognizes that the terminal device 40 returns to the normal operation mode, and enables the spanning tree function for the state change of the LAN port to which the terminal device 40 is connected. Can be. As a result, the terminal device 40 can be appropriately restored to the normal operation mode as necessary while realizing a significant reduction in power consumption, and the spanning tree function is enabled without bothering the user. can do.

また、端末装置40が省電力モードで動作している間に、端末装置40とLANスイッチ50とを繋ぐLANケーブル60の挿抜を端末装置40とLANスイッチ50との双方で監視しているので、LANケーブル60の挿抜によるリンク状態の変化にも適切に対応することができる。   In addition, while the terminal device 40 is operating in the power saving mode, both the terminal device 40 and the LAN switch 50 monitor the insertion and removal of the LAN cable 60 that connects the terminal device 40 and the LAN switch 50. A change in the link state due to the insertion / extraction of the LAN cable 60 can be appropriately handled.

図24及び図25は、LANスイッチ50からの要求に応じて端末装置40が省電力モードから通常動作モードに復帰する際に端末装置40及びLANスイッチ50が実行する処理をそれぞれ示すフローチャートである。   FIG. 24 and FIG. 25 are flowcharts respectively showing processes executed by the terminal device 40 and the LAN switch 50 when the terminal device 40 returns from the power saving mode to the normal operation mode in response to a request from the LAN switch 50.

図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 terminal device 40 monitors whether or not a Wake signal is sent from the LAN switch 50 to the LAN cable 60 by the sequencer circuit 46 (Step S111, return). Signal receiving means). At this time, while the terminal device 40 is operating in the power saving mode, the LAN cable 60 that connects the terminal device 40 and the LAN switch 50 may be disconnected, or the RAN cable 60 that has been disconnected may be attached again. It is done.

そこで、端末装置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 terminal device 40 monitors insertion / extraction of the LAN cable 60 (cable connection state monitoring means) while the Wake signal transmitted from the LAN switch 50 is not detected (step S111: No). Specifically, the terminal device 40 determines whether or not the LAN cable 60 is disconnected depending on whether or not the potential on the terminal device 40 side of the LAN cable 60 detected by the sequencer circuit 46 has changed from the intermediate potential, for example. (Step S112). If it is determined that the LAN cable 60 has been disconnected, then it is determined whether or not the LAN cable 60 has been reattached based on whether or not the potential detected by the sequencer circuit 46 has returned to the intermediate potential (step). S113). Even when the LAN cable 60 is disconnected while the terminal device 40 is operating in the power saving mode (step S112: Yes), the terminal device 40 is in the network until the LAN cable 60 is reattached (step S113: No). The state where the power of the control unit 44 is turned off is maintained (power cutoff maintaining means), and the operation request from the user is continuously monitored (step S111). If the LAN cable 60 is removed and then attached again (step S113: Yes), the process proceeds to step S114.

端末装置40は、省電力モードで動作中にLANスイッチ50からLANケーブル60上に送出されたWake信号を検出した場合(ステップS111:Yes)又はLANケーブル60が一度抜かれた後に再度装着された場合(ステップS113:Yes)には、LANスイッチ50との間でのフレーム送受信機能を司るネットワーク制御部44のMAC44aやPHY44bの電源をオンし(ステップS114)、動作モードを省電力モードから通常動作モードに遷移させる(ステップS115、第2の動作モード遷移手段)。   When the terminal device 40 detects a Wake signal sent from the LAN switch 50 to the LAN cable 60 during operation in the power saving mode (step S111: Yes), or when the LAN cable 60 is disconnected and then attached again. In (Step S113: Yes), the power of the MAC 44a and PHY 44b of the network control unit 44 that controls the frame transmission / reception function with the LAN switch 50 is turned on (Step S114), and the operation mode is changed from the power saving mode to the normal operation mode. (Step S115, second operation mode transition means).

一方、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 switch 50 is connected to the terminal device 40 in other LAN ports other than the LAN port to which the terminal device 40 is connected while the terminal device 40 is operating in the power saving mode. It is monitored whether or not a frame has been received (step S121). At this time, while the terminal device 40 is operating in the power saving mode, the LAN cable 60 that connects the terminal device 40 and the LAN switch 50 may be disconnected, or the RAN cable 60 that has been disconnected may be attached again. It is done.

そこで、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 terminal device 40 described above while the frame addressed to the terminal device 40 is not received (step S121: No). ). Specifically, the LAN switch 50 determines whether or not the LAN cable 60 is disconnected depending on whether or not the potential on the LAN switch 50 side of the LAN cable 60 detected by the sequencer circuit 56 has changed from the intermediate potential, for example. (Step S122). If it is determined that the LAN cable 60 has been disconnected, it is then determined whether or not the LAN cable 60 has been reattached based on whether or not the potential detected by the sequencer circuit 56 has returned to the intermediate potential (step). S123). When the LAN cable 60 is disconnected while the terminal device 40 is operating in the power saving mode (step S122: Yes), the LAN switch 50 then reattaches the LAN cable 60 (step S123: Yes). When the process proceeds to step S125 and the LAN cable 60 is not attached again (step S123: No), the process proceeds to step S127.

LANスイッチ50は、端末装置40が接続されているLANポート以外の他のLANポートにおいて端末装置40宛のフレームを受信した場合(ステップS121:Yes)には、シーケンサ回路56からLANケーブル60上にWake信号を送出する(ステップS124、復帰信号送信手段)。   When the LAN switch 50 receives a frame addressed to the terminal device 40 at a LAN port other than the LAN port to which the terminal device 40 is connected (step S121: Yes), the LAN switch 50 transmits the frame from the sequencer circuit 56 to the LAN cable 60. A Wake signal is transmitted (step S124, return signal transmission means).

また、LANスイッチ50は、LANケーブル60上にWake信号を送出した後、又は端末装置40の省電力モード中にLANケーブル60が一度抜かれた後に再度装着された場合(ステップS123:Yes)には、オートネゴシエーションを開始して端末装置40側の情報を取得する(ステップS125)。そして、LANスイッチ50は、端末装置40が接続されたLANポートに対応するPHY54bの電源をオンして、端末装置40との間でのリンクを確立する(ステップS126)。   In addition, when the LAN switch 50 is attached again after sending the Wake signal on the LAN cable 60 or after the LAN cable 60 is disconnected once during the power saving mode of the terminal device 40 (step S123: Yes). Then, auto-negotiation is started and information on the terminal device 40 side is acquired (step S125). Then, the LAN switch 50 turns on the power of the PHY 54b corresponding to the LAN port to which the terminal device 40 is connected, and establishes a link with the terminal device 40 (step S126).

また、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 switch 50 cancels the edge port setting of the LAN port to which the terminal device 40 is connected (step S127), and the LAN port The spanning tree function with respect to the state change in is effectively set (step S128, spanning tree function enabling means, second spanning tree function enabling means).

また、LANスイッチ50は、LANケーブル60が抜かれた後に再度装着されなかった場合(ステップS123:No)、端末装置40が接続されていたLANポートのエッジポート設定を解除し(ステップS127)、当該LANポートにおける状態変化に対するスパニングツリー機能を有効にする(ステップS128、第2のスパニングツリー機能有効化手段)。   If the LAN switch 50 is not attached again after the LAN cable 60 is disconnected (step S123: No), the LAN port 50 cancels the edge port setting of the LAN port to which the terminal device 40 is connected (step S127). The spanning tree function for the state change in the LAN port is validated (step S128, second spanning tree function validation means).

このように、LANスイッチ50が、端末装置40宛のフレームを受信した場合に、端末装置40に対して省電力モードから通常動作モードに復帰することを促すWake信号をLANケーブル60上に送出し、端末装置40が、Wake信号を検出することで通常動作モードに復帰することができる。また、LANスイッチ50は、端末装置40が接続されているLANポートの状態変化に対するスパニングツリー機能を有効にすることができる。これにより、消費電力の大幅な低減を実現しながら、必要に応じて端末装置40を適宜、通常動作モードに復帰させることができ、また、ユーザの手を煩わせることなくスパニングツリー機能を有効化することができる。   As described above, when the LAN switch 50 receives a frame addressed to the terminal device 40, the Wake signal that prompts the terminal device 40 to return from the power saving mode to the normal operation mode is transmitted to the LAN cable 60. The terminal device 40 can return to the normal operation mode by detecting the Wake signal. Further, the LAN switch 50 can enable a spanning tree function for a change in the state of the LAN port to which the terminal device 40 is connected. As a result, the terminal device 40 can be appropriately restored to the normal operation mode as necessary while realizing a significant reduction in power consumption, and the spanning tree function is enabled without bothering the user. can do.

また、端末装置40が省電力モードで動作している間に、端末装置40とLANスイッチ50とを繋ぐLANケーブル60の挿抜を端末装置40とLANスイッチ50との双方で監視しているので、LANケーブル60の挿抜によるリンク状態の変化にも適切に対応することができる。   In addition, while the terminal device 40 is operating in the power saving mode, both the terminal device 40 and the LAN switch 50 monitor the insertion and removal of the LAN cable 60 that connects the terminal device 40 and the LAN switch 50. A change in the link state due to the insertion / extraction of the LAN cable 60 can be appropriately handled.

本実施の形態の端末装置40は、図16に示したように、CPU41とROM42、RAM43を有するマイクロコンピュータとしての構成を有しており、ネットワーク制御プログラムを実行することによって、本実施の形態に特有の上述した各種の処理機能を実現する。なお、本実施の形態の端末装置40で実行されるネットワーク制御プログラムは、例えば、ROM42等に予め組み込まれて提供される。   As shown in FIG. 16, the terminal device 40 according to the present embodiment has a configuration as a microcomputer having a CPU 41, a ROM 42, and a RAM 43. By executing a network control program, the terminal device 40 is incorporated in the present embodiment. Various processing functions unique to the above are realized. The network control program executed by the terminal device 40 according to the present embodiment is provided by being incorporated in advance in the ROM 42, for example.

また、本実施の形態の端末装置40で実行されるネットワーク制御プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   The network control program executed by the terminal device 40 according to 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 Versatile Disk). ) Or the like may be recorded and provided on a computer-readable recording medium.

さらに、本実施の形態の端末装置40で実行されるネットワーク制御プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、本実施の形態の端末装置40で実行されるネットワーク制御プログラムをインターネット等のネットワーク経由で提供または配布するように構成してもよい。   Furthermore, the network control program executed by the terminal device 40 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 terminal device 40 of the present embodiment may be configured to be provided or distributed via a network such as the Internet.

本実施の形態の端末装置40で実行されるネットワーク制御プログラムは、データ作成手段を実現するコンポーネント、データ送信手段を実現するコンポーネント、動作モード遷移手段を実現するコンポーネント、復帰信号送信手段を実現するコンポーネント、復帰信号受信手段を実現するコンポーネント、第2の動作モード遷移手段を実現するコンポーネント、ケーブル接続状態監視手段を実現するコンポーネント、電源遮断維持手段を実現するコンポーネントを含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)41が上記ROM42等からネットワーク制御プログラムを読み出して実行することにより上記各コンポーネントが主記憶装置上にロードされ、データ作成手段、データ送信手段、動作モード遷移手段、復帰信号送信手段、復帰信号受信手段、第2の動作モード遷移手段、ケーブル状態監視手段、電源遮断維持手段が主記憶装置上に生成されるようになっている。   The network control program executed by the terminal device 40 according to the present embodiment includes a component that realizes data creation means, a component that realizes data transmission means, a component that realizes operation mode transition means, and a component that realizes return signal transmission means The module configuration includes a component that realizes the return signal receiving means, a component that realizes the second operation mode transition means, a component that realizes the cable connection state monitoring means, and a component that realizes the power-off maintaining means. As the hardware, a CPU (processor) 41 reads out and executes a network control program from the ROM 42 and the like, so that each component is loaded onto the main storage device, and data creation means, data transmission means, and operation mode are loaded. Transition means, the return signal transmitting means, the return signal receiving means, the second operating mode changing means, cable status monitoring means, the power supply cut-off means for maintaining are generated on the main memory.

また、本実施の形態の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 CPU 51, a ROM 52, and a RAM 53. By executing a network control program, the LAN switch 50 is The above-described various processing functions specific to the form are realized. Note that the network control program executed by the LAN switch 50 of the present embodiment is provided by being incorporated in advance in the ROM 52, for example.

また、本実施の形態の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 ROM 52 or the like, so that the components are loaded on the main storage device, and the data receiving means and the spanning tree function are disabled. Means, return signal transmitting means, the return signal receiving means, the spanning tree function validation means, cable status monitoring means, the second spanning tree function validation means are generated on the main memory.

以上のように、本発明にかかるネットワークシステム、ネットワーク制御方法、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, 11C LAN switch 21A, 21B Terminal device 31A, 31B, 31C, 31D, 31E, 31F LAN cable 40 Terminal device 41 CPU
42 ROM
43 RAM
44 Network controller 44a MAC
44b PHY
45 Power Management Unit 46 Sequencer Circuit 50 LAN Switch 51 CPU
52 ROM
53 RAM
54 Network controller 54a MAC
54b PHY
55 Power Management Unit 56 Sequencer Circuit 121 CPU
122 ROM
123 RAM
124 Network controller 125a, 125b,..., 125n LAN port 210 Controller 211 CPU
212 System memory 213 North bridge 214 South bridge 215 AGP
216 ASIC
217 Local memory 218 HDD
220 Operation display section 230 FCU
240 USB
250 LAN interface 260 Engine part

特開2003−37610号公報JP 2003-37610 A 特開2002−91631号公報JP 2002-91631 A 特開2002−63006号公報JP 2002-630006 A 特開2005−269103号公報JP 2005-269103 A

Claims (28)

スパニングツリー機能を有するLANスイッチと、前記LANスイッチが備える複数のLANポートの内の1つのLANポートに接続され、通常動作モード及び省電力モードの2つの動作モードを有する端末装置と、を含むネットワークシステムであって、
前記端末装置が、
前記通常動作モードから前記省電力モードに遷移しようとする場合に、前記通常動作モードから前記省電力モードに遷移しようとしていることを表す動作モード遷移通知データを作成するデータ作成手段と、
前記動作モード遷移通知データを前記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. .
スパニングツリー機能を有する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ポートにおける状態変化に対するスパニングツリー機能を無効化するスパニングツリー機能無効化手段と、を備えることを特徴とするネットワークシステム。
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. .
前記スパニングツリー機能無効化手段は、前記1つのLANポートをエッジポートに設定することで、前記1つのLANポートの状態変化に対するスパニングツリー機能を無効化することを特徴とする請求項2に記載のネットワークシステム。   The spanning tree function invalidating unit invalidates a spanning tree function with respect to a state change of the one LAN port by setting the one LAN port as an edge port. Network system. 前記端末装置が、
前記省電力モードから前記通常動作モードに遷移しようとする場合に、前記省電力モードから前記通常動作モードに遷移しようとしていることを表すデータである第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.
前記スパニングツリー機能有効化手段は、前記1つのLANポートに対するエッジポートの設定を解除することで、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を有効化することを特徴とする請求項4に記載のネットワークシステム。   5. The spanning tree function enabling means enables the spanning tree function for a state change in the one LAN port by canceling the setting of an edge port for the one LAN port. The network system described. 前記LANスイッチが、
前記第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.
前記第2のスパニングツリー機能有効化手段は、前記1つのLANポートに対するエッジポートの設定を解除することで、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を有効化することを特徴とする請求項6に記載のネットワークシステム。   The second spanning tree function enabling means enables the spanning tree function for a state change in the one LAN port by canceling the setting of the edge port for the one LAN port. Item 7. The network system according to Item 6. スパニングツリー機能を有する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の通信速度でのリンクアップを行うステップと、
前記端末装置が、前記動作モードを前記通常動作モードから前記省電力モードに遷移させるステップと、
を含むことを特徴とするネットワーク制御方法。
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:
スパニングツリー機能を有し、複数のLANポートを備え、前記複数のLANポートの内の1つのLANポートに、所定の第1の通信速度で通信を行う通常動作モード及び前記第1の通信速度よりも低速である第2の通信速度で通信を行う省電力モードの2つの動作モードを有する端末装置が接続されたLANスイッチであって、
前記端末装置が前記通常動作モードから前記省電力モードに遷移しようとする場合に送信する前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを前記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ポートを備え、前記複数のLANポートの内の1つのLANポートに、所定の第1の通信速度で通信を行う通常動作モード及び前記第1の通信速度よりも低速である第2の通信速度で通信を行う省電力モードの2つの動作モードを有する端末装置が接続されたLANスイッチにおいて実行されるネットワーク制御方法であって、
前記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.
請求項10に記載されたネットワーク制御方法をコンピュータで実行させることを特徴とするネットワーク制御プログラム。   A network control program for causing a computer to execute the network control method according to claim 10. スパニングツリー機能を有するLANスイッチと、前記LANスイッチが備える複数のLANポートの内の1つのLANポートに接続され、前記LANスイッチとの間でフレームの送受信を行う通常動作モード及び前記LANスイッチとの間でのフレーム送受信を停止して復帰信号のみを送受信可能とする省電力モードの2つの動作モードを有する端末装置と、を含むネットワークシステムであって、
前記端末装置が、
前記通常動作モードから前記省電力モードに遷移しようとする場合に、前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを作成するデータ作成手段と、
前記動作モード遷移通知データを前記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ポートをエッジポートに設定することで、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を無効化することを特徴とする請求項12に記載のネットワークシステム。   13. The spanning tree function invalidating unit invalidates a spanning tree function for a state change in the one LAN port by setting the one LAN port as an edge port. Network system. 前記端末装置が、
前記省電力モードから前記通常動作モードに遷移しようとする場合に、前記復帰信号を前記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.
前記LANスイッチが、
前記端末装置が前記ネットワーク制御部の電源を遮断して前記省電力モードで動作している間に、前記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ポートにおける状態変化に対するスパニングツリー機能を有効化することを特徴とする請求項14又は15に記載のネットワークシステム。   The spanning tree function enabling means enables the spanning tree function with respect to a state change in the one LAN port by canceling the setting of the edge port for the one LAN port. 15. The network system according to 15. 前記LANスイッチが、
前記端末装置が前記ネットワーク制御部の電源を遮断して前記省電力モードで動作している間に、前記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:
前記第2のスパニングツリー機能有効化手段は、前記1つのLANポートに対するエッジポートの設定を解除することで、前記1つのLANポートにおける状態変化に対するスパニングツリー機能を有効化することを特徴とする請求項17に記載のネットワークシステム。   The second spanning tree function enabling means enables the spanning tree function for a state change in the one LAN port by canceling the setting of the edge port for the one LAN port. Item 18. The network system according to Item 17. 前記ケーブル接続状態監視手段は、前記ネットワークケーブルにより前記端末装置と接続されているときの前記LANスイッチ側の電位である第1の電位と、前記ネットワークケーブルによる前記端末装置との接続が遮断されたときの前記LANスイッチ側の電位である第2の電位とに基づいて、前記LANスイッチ側の電位が前記第1の電位から前記第2の電位に変化したときに、前記ネットワークケーブルが抜かれたと判断することを特徴とする請求項17又は18に記載のネットワークシステム。   The cable connection state monitoring unit is configured such that a connection between the first potential, which is a potential on the LAN switch side when connected to the terminal device by the network cable, and the terminal device by the network cable is interrupted. When the LAN switch side potential changes from the first potential to the second potential based on the second potential that is the LAN switch side potential, the network cable is determined to be disconnected. The network system according to claim 17 or 18, characterized in that: 前記端末装置が、
前記ネットワーク制御部の電源を遮断して前記省電力モードで動作している間に、前記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.
前記ケーブル接続状態監視手段は、前記ネットワークケーブルにより前記LANスイッチと接続されているときの前記端末装置側の電位である第1の電位と、前記ネットワークケーブルによる前記LANスイッチとの接続が遮断されたときの前記端末装置側の電位である第2の電位とに基づいて、前記端末装置側の電位が前記第1の電位から前記第2の電位に変化したときに、前記ネットワークケーブルが抜かれたと判断し、前記端末装置側の電位が前記第2の電位から前記第1の電位に変化したときに、前記ネットワークケーブルが再度装着されたと判断することを特徴とする請求項20に記載のネットワークシステム。   The cable connection state monitoring means is configured such that the connection between the first potential, which is the potential on the terminal device side when connected to the LAN switch by the network cable, and the LAN switch by the network cable is interrupted. When the terminal device side potential changes from the first potential to the second potential based on the second potential that is the terminal device side potential at the time, it is determined that the network cable has been disconnected. 21. The network system according to claim 20, wherein when the potential on the terminal device side changes from the second potential to the first potential, it is determined that the network cable is attached again. 前記ネットワークケーブルは8線式のネットワークケーブルであり、前記復帰信号の送受信用に7線が割り当てられ、残りの1線が前記ケーブル接続状態監視手段による前記ネットワークケーブルの挿抜の監視用に割り当てられていることを特徴とする請求項19又は21に記載のネットワークシステム。   The network cable is an 8-wire network cable, and 7 wires are assigned for transmission / reception of the return signal, and the remaining one wire is assigned for monitoring the insertion / extraction of the network cable by the cable connection state monitoring means. The network system according to claim 19 or 21, wherein the network system is characterized in that: 前記LANスイッチは、前記端末装置が前記ネットワーク制御部の電源を遮断して前記省電力モードで動作している間に前記1つのLANポート以外の他のLANポートにおける状態変化に対するスパニングツリー機能を実施する場合に、前記1つのLANポートにおけるパスコストを、前記端末装置に関する情報として予め取得した通信速度の情報を用いて設定することを特徴とする請求項12乃至22のいずれか一つに記載のネットワークシステム。   The LAN switch implements a spanning tree function for state changes in other LAN ports 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 cut off. In this case, the path cost in the one LAN port is set using information on the communication speed acquired in advance as information on the terminal device. Network system. 前記LANスイッチは、前記端末装置に関する情報として複数の通信速度の情報を予め取得しており、前記端末装置が前記ネットワーク制御部の電源を遮断して前記省電力モードで動作している間に前記1つのLANポート以外の他のLANポートにおける状態変化に対するスパニングツリー機能を実施する場合に、前記1つのLANポートにおけるパスコストを、前記複数の通信速度のうちの最速の通信速度の情報を用いて設定することを特徴とする請求項23に記載のネットワークシステム。   The LAN switch has previously acquired information on a plurality of communication speeds as information about the terminal device, and the terminal device shuts off the power supply of the network control unit and operates in the power saving mode. When implementing a spanning tree function for a state change in another LAN port other than one LAN port, the path cost in the one LAN port is determined using information on the fastest communication speed among the plurality of communication speeds. The network system according to claim 23, wherein the network system is set. スパニングツリー機能を有するLANスイッチと、前記LANスイッチが備える複数のLANポートの内の1つのLANポートに接続され、前記LANスイッチとの間でフレームの送受信を行う通常動作モード及び前記LANスイッチとの間でのフレーム送受信を停止して復帰信号のみを送受信可能とする省電力モードの2つの動作モードを有する端末装置と、を含むネットワークシステムにおいて実行されるネットワーク制御方法であって、
前記端末装置が、前記通常動作モードから前記省電力モードに遷移しようとする場合に、前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを作成するステップと、
前記端末装置が、前記動作モード遷移通知データを前記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:
スパニングツリー機能を有し、複数のLANポートを備え、前記複数のLANポートの内の1つのLANポートに、当該LANスイッチとの間でフレームの送受信を行う通常動作モード及び当該LANスイッチとの間でのフレーム送受信を停止して復帰信号のみを送受信可能とする省電力モードの2つの動作モードを有する端末装置が接続されたLANスイッチであって、
前記端末装置が前記通常動作モードから前記省電力モードに遷移しようとする場合に送信する前記通常動作モードから前記省電力モードに遷移しようとしていることを表すデータである動作モード遷移通知データを前記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ポートを備え、前記複数のLANポートの内の1つのLANポートに、当該LANスイッチとの間でフレームの送受信を行う通常動作モード及び当該LANスイッチとの間でのフレーム送受信を停止して復帰信号のみを送受信可能とする省電力モードの2つの動作モードを有する端末装置が接続されたLANスイッチにおいて実行されるネットワーク制御方法であって、
前記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.
請求項27に記載されたネットワーク制御方法をコンピュータで実行させることを特徴とするネットワーク制御プログラム。   A network control program for causing a computer to execute the network control method according to claim 27.
JP2009254870A 2008-11-13 2009-11-06 Network system, network control method, LAN switch, and network control program Expired - Fee Related JP5440104B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5114300B2 (en) * 2008-06-06 2013-01-09 株式会社リコー Network system, network terminal device, and LAN switch

Patent Citations (1)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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