JP2012169761A - Network relay device and control method for network relay device - Google Patents

Network relay device and control method for network relay device Download PDF

Info

Publication number
JP2012169761A
JP2012169761A JP2011027380A JP2011027380A JP2012169761A JP 2012169761 A JP2012169761 A JP 2012169761A JP 2011027380 A JP2011027380 A JP 2011027380A JP 2011027380 A JP2011027380 A JP 2011027380A JP 2012169761 A JP2012169761 A JP 2012169761A
Authority
JP
Japan
Prior art keywords
power consumption
data transfer
relay device
communication
network relay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2011027380A
Other languages
Japanese (ja)
Inventor
Kenjiro Nishimura
健二朗 西村
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.)
Buffalo Inc
Original Assignee
Buffalo Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Buffalo Inc filed Critical Buffalo Inc
Priority to JP2011027380A priority Critical patent/JP2012169761A/en
Publication of JP2012169761A publication Critical patent/JP2012169761A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide technique for controlling power consumption of a network relay device without requiring an additional device.SOLUTION: A network relay device comprises: a communication unit capable of realizing communication at a plurality of different data transfer rates; an electric power calculation unit for calculating first power consumption which is electric power currently consumed by the network relay device; a set information acquisition unit for acquiring set information concerning magnitude of power consumption of the network relay device; a storage unit for storing correlation of the plurality of different data transfer rates and respective pieces of power consumption caused when realizing respective data transfer rates; and an electric power control unit for determining the data transfer rate for the communication unit by using the first power consumption, the set information and the correlation to instruct the communication unit to perform communication at the determined data transfer rate.

Description

本発明は、ネットワーク中継装置に関し、特に、ネットワーク中継装置において消費する電力を制御する技術に関する。   The present invention relates to a network relay device, and more particularly to a technique for controlling power consumed in a network relay device.

ICT(Information and Communication Technology)技術の進展に伴い、ネットワーク中継装置(例えば、LANスイッチやルータ)の性能が飛躍的に向上すると共に、その消費電力が急増している。一方、近年では環境保護の観点から、ネットワーク中継装置に対する消費電力削減の要請が高まっている。このような消費電力削減の要請に応えるための一手段として、従来では、ネットワーク内に設けられた給電管理サーバが、ネットワーク中継装置に対して給電の開始/停止/再開を指示するコマンドを出力することによって、ネットワーク中継装置の消費電力を制御する技術が知られている(例えば、特許文献1)。   With the progress of ICT (Information and Communication Technology) technology, the performance of network relay devices (for example, LAN switches and routers) has been dramatically improved, and the power consumption thereof has been rapidly increasing. On the other hand, in recent years, from the viewpoint of environmental protection, there is an increasing demand for reducing power consumption for network relay devices. Conventionally, a power supply management server provided in a network outputs a command for instructing start / stop / restart of power supply to a network relay device as a means for responding to such a request for power consumption reduction. Therefore, a technique for controlling the power consumption of the network relay device is known (for example, Patent Document 1).

しかし、従来の技術では、ネットワーク中継装置以外の追加の装置(給電管理サーバ)が必要であるという問題があった。   However, the conventional technology has a problem that an additional device (power supply management server) other than the network relay device is required.

特開2007−281628号公報JP 2007-281628 A 特開2007−201559号公報JP 2007-201559 A

本発明は、追加の装置を必要とせず、ネットワーク中継装置の消費電力を制御する技術を提供することを目的とする。   An object of the present invention is to provide a technique for controlling power consumption of a network relay device without requiring an additional device.

本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の形態又は適用例として実現することが可能である。   SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following forms or application examples.

[適用例1]
ネットワーク中継装置であって、
異なる複数のデータ転送速度での通信を実現可能な通信部と、
前記ネットワーク中継装置が現在消費している電力である第1の消費電力を算出する電力算出部と、
前記ネットワーク中継装置の消費電力の大きさに関する設定情報を取得する設定情報取得部と、
前記複数のデータ転送速度と、当該データ転送速度を実現した場合の消費電力との対応関係を記憶する記憶部と、
前記第1の消費電力と、前記設定情報と、前記対応関係とを用いて、前記通信部におけるデータ転送速度を決定し、決定したデータ転送速度での通信を前記通信部に指示する電力制御部と、
を備える、ネットワーク中継装置。
このような構成とすれば、電力制御部は、ネットワーク中継装置が現在消費している電力である第1の消費電力と、ネットワーク中継装置の消費電力の大きさに関する設定情報と、通信部が実現可能な異なる複数のデータ転送速度と、このデータ転送速度を実現した場合の消費電力との対応関係とを用いて、通信部におけるデータ転送速度を決定する。ネットワーク中継装置のデータ転送速度の変更は、ネットワーク中継装置の消費電力に影響を及ぼすため、この結果、追加の装置を必要とせずにネットワーク中継装置の消費電力を制御することが可能となる。
[Application Example 1]
A network relay device,
A communication unit capable of realizing communication at different data transfer rates;
A power calculator that calculates a first power consumption that is currently consumed by the network relay device;
A setting information acquisition unit that acquires setting information related to the amount of power consumption of the network relay device;
A storage unit for storing a correspondence relationship between the plurality of data transfer rates and power consumption when the data transfer rates are realized;
A power control unit that determines a data transfer rate in the communication unit using the first power consumption, the setting information, and the correspondence relationship, and instructs the communication unit to communicate at the determined data transfer rate When,
A network relay device comprising:
With such a configuration, the power control unit realizes the first power consumption that is the current power consumed by the network relay device, the setting information regarding the power consumption of the network relay device, and the communication unit. The data transfer rate in the communication unit is determined using a plurality of different possible data transfer rates and the correspondence relationship between the power consumption when the data transfer rates are realized. Since the change in the data transfer rate of the network relay device affects the power consumption of the network relay device, as a result, the power consumption of the network relay device can be controlled without requiring an additional device.

[適用例2]
適用例1記載のネットワーク中継装置であって、
前記電力制御部は、
前記設定情報から直接的または間接的に導かれる第2の消費電力と、前記第1の消費電力とを比較し、
前記第2の消費電力が前記第1の消費電力よりも大きい場合は、前記対応関係を用いて前記通信部におけるデータ転送速度を上昇させ、
前記第2の消費電力が前記第1の消費電力よりも小さい場合は、前記対応関係を用いて前記通信部におけるデータ転送速度を低下させる、ネットワーク中継装置。
このような構成とすれば、電力制御部は、設定情報から導かれる第2の消費電力が第1の消費電力よりも大きい場合は、対応関係を用いて通信部におけるデータ転送速度を上昇させるため、ネットワーク中継装置の消費電力を増加させることができる。また、電力制御部は、第2の消費電力が第1の消費電力よりも小さい場合は、対応関係を用いて通信部におけるデータ転送速度を低下させるため、ネットワーク中継装置の消費電力を減少させることができる。この結果、追加の装置を必要とせずにネットワーク中継装置の消費電力を制御することが可能となる。
[Application Example 2]
A network relay device described in Application Example 1,
The power control unit
Comparing the second power consumption directly or indirectly derived from the setting information with the first power consumption;
When the second power consumption is larger than the first power consumption, the data transfer rate in the communication unit is increased using the correspondence relationship,
When the second power consumption is smaller than the first power consumption, the network relay device reduces the data transfer rate in the communication unit using the correspondence relationship.
With this configuration, the power control unit increases the data transfer rate in the communication unit using the correspondence when the second power consumption derived from the setting information is larger than the first power consumption. The power consumption of the network relay device can be increased. In addition, when the second power consumption is smaller than the first power consumption, the power control unit reduces the power consumption of the network relay device in order to reduce the data transfer rate in the communication unit using the correspondence relationship. Can do. As a result, the power consumption of the network relay device can be controlled without requiring an additional device.

[適用例3]
適用例1記載のネットワーク中継装置であって、
前記通信部は、異なる複数の通信方式について、異なる複数のデータ転送速度での通信を実現可能であり、
前記記憶部には、前記複数の通信方式について、それぞれ、前記対応関係が記憶され、
前記電力制御部は、
前記設定情報から直接的または間接的に導かれる第2の消費電力と、前記第1の消費電力とを比較し、
前記第2の消費電力が前記第1の消費電力よりも大きい場合は、複数の前記対応関係を用い、かつ、予め定められた条件に従って、前記複数の通信方式から選択した特定の通信方式について、前記通信部におけるデータ転送速度を上昇させ、
前記第2の消費電力が前記第1の消費電力よりも小さい場合は、複数の前記対応関係を用い、かつ、予め定められた条件に従って、前記複数の通信方式から選択した特定の通信方式について、前記通信部におけるデータ転送速度を低下させる、ネットワーク中継装置。
このような構成とすれば、ネットワーク中継装置には、ネットワーク中継装置が実現可能な異なる複数の通信方式について、それぞれ複数の対応関係が記憶され、電力制御部は、複数の対応関係を用い、かつ、予め定められた条件に従って、複数の通信方式から選択した特定の通信方式について、通信部におけるデータ転送速度を上昇、または低下させる。この結果、異なる複数の通信方式を実現可能なネットワーク中継装置においても、適用例2と同様の効果を得ることができる。
[Application Example 3]
A network relay device described in Application Example 1,
The communication unit can realize communication at different data transfer rates for different communication methods,
The storage unit stores the correspondence relationship for each of the plurality of communication methods,
The power control unit
Comparing the second power consumption directly or indirectly derived from the setting information with the first power consumption;
When the second power consumption is larger than the first power consumption, for a specific communication method selected from the plurality of communication methods using a plurality of the correspondence relationships and according to a predetermined condition, Increase the data transfer rate in the communication unit,
When the second power consumption is smaller than the first power consumption, for a specific communication method selected from the plurality of communication methods using a plurality of the correspondence relationships and according to a predetermined condition, A network relay device that reduces a data transfer rate in the communication unit.
With this configuration, the network relay device stores a plurality of correspondence relationships for each of a plurality of different communication methods that can be realized by the network relay device, and the power control unit uses the plurality of correspondence relationships, and The data transfer rate in the communication unit is increased or decreased for a specific communication method selected from a plurality of communication methods according to a predetermined condition. As a result, even in a network relay device capable of realizing a plurality of different communication methods, the same effect as in Application Example 2 can be obtained.

[適用例4]
適用例3記載のネットワーク中継装置であって、
前記予め定められた条件は、前記複数の通信方式間において予め定められた優先順位を用いた条件と、前記複数の通信方式のそれぞれにおいて現在使用されているデータ転送速度の速度差を用いた条件と、のいずれかである、ネットワーク中継装置。
このような構成とすれば、複数の通信方式間において予め定められた優先順位と、複数の通信方式のそれぞれにおいて現在使用されているデータ転送速度の速度差と、のいずれか一方を、データ転送速度を決定するための条件とすることができる。
[Application Example 4]
A network relay device described in Application Example 3,
The predetermined condition includes a condition using a predetermined priority order among the plurality of communication methods and a condition using a speed difference between data transfer rates currently used in each of the plurality of communication methods. And a network relay device.
With such a configuration, one of the priority order determined in advance between a plurality of communication methods and the difference in data transfer rates currently used in each of the plurality of communication methods is transferred to the data. It can be a condition for determining the speed.

[適用例5]
適用例3記載のネットワーク中継装置であって、
前記対応関係には、前記複数のデータ転送速度に対応付けられて、さらに、当該データ転送速度の使用率を示す指標値が含まれ、
前記ネットワーク中継装置は、さらに、
前記通信部を監視し、前記指標値を更新する学習部を備え、
前記予め定められた条件は、前記指標値を用いた条件である、ネットワーク中継装置。
このような構成とすれば、対応関係には通信部におけるデータ転送速度の使用率を示す指標値が含まれるため、この指標値をデータ転送速度を決定するための条件とすることができる。
[Application Example 5]
A network relay device described in Application Example 3,
The correspondence relationship is associated with the plurality of data transfer rates, and further includes an index value indicating a usage rate of the data transfer rates,
The network relay device further includes:
A learning unit that monitors the communication unit and updates the index value;
The network relay device, wherein the predetermined condition is a condition using the index value.
With such a configuration, since the correspondence relationship includes an index value indicating the usage rate of the data transfer rate in the communication unit, this index value can be used as a condition for determining the data transfer rate.

[適用例6]
適用例1ないし5のいずれか一項記載のネットワーク中継装置であって、
前記設定情報取得部は、前記ネットワーク中継装置の筐体に設けられる切り替えスイッチを含む、ネットワーク中継装置。
このような構成とすれば、設定情報取得部は、ネットワーク中継装置の筐体に設けられる切り替えスイッチを含むため、ネットワーク中継装置の利用者は、簡単な方法で設定情報を入力することができる。
[Application Example 6]
The network relay device according to any one of Application Examples 1 to 5,
The setting information acquisition unit is a network relay device including a changeover switch provided in a housing of the network relay device.
With such a configuration, since the setting information acquisition unit includes the changeover switch provided in the housing of the network relay device, the user of the network relay device can input the setting information by a simple method.

[適用例7]
適用例1ないし6のいずれか一項記載のネットワーク中継装置であって、
前記通信部には、無線による通信を実現する無線通信部と、有線による通信を実現する有線通信部と、ユニバーサルシリアルバス(USB)接続における通信を実現するUSBデータ通信部とのうちの、少なくともいずれか1つが含まれる、ネットワーク中継装置。
このような構成とすれば、通信部には、無線通信部と、有線通信部と、USBデータ通信部とのうちの、少なくともいずれか1つが含まれるため、ネットワーク中継装置がサポートする種々の通信方式における、データ転送速度の制御が可能となる。
[Application Example 7]
The network relay device according to any one of Application Examples 1 to 6,
The communication unit includes at least one of a wireless communication unit that realizes wireless communication, a wired communication unit that realizes wired communication, and a USB data communication unit that realizes communication in a universal serial bus (USB) connection. A network relay device including any one of them.
With such a configuration, the communication unit includes at least one of a wireless communication unit, a wired communication unit, and a USB data communication unit, and thus various communication supported by the network relay device. The data transfer rate in the system can be controlled.

なお、本発明は、種々の態様で実現することが可能である。例えば、本発明は、ネットワーク中継装置、ネットワーク中継装置の制御方法、ネットワーク中継装置を用いたネットワークシステム、および、それらの方法または装置の機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記憶した記憶媒体等の形態で実現することができる。   Note that the present invention can be realized in various modes. For example, the present invention relates to a network relay device, a control method of the network relay device, a network system using the network relay device, a computer program for realizing the functions of the method or device, and a storage storing the computer program It can be realized in the form of a medium or the like.

本発明の一実施例としてのネットワーク中継装置の概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the network relay apparatus as one Example of this invention. ルータの外観の概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the external appearance of a router. 設定テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of a setting table. 有線LAN消費電力テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of a wired LAN power consumption table. 無線LAN消費電力テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of a wireless LAN power consumption table. USB消費電力テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of a USB power consumption table. ルータの電力制御部において実行される電力制御処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the power control process performed in the power control part of a router. 電力制御部がルータのデータ転送速度を上昇させる方法の一例を説明するための説明図である。It is explanatory drawing for demonstrating an example of the method by which a power control part raises the data transfer speed of a router. 電力制御部がルータのデータ転送速度を上昇させる方法の他の例を説明するための説明図である。It is explanatory drawing for demonstrating the other example of the method by which a power control part raises the data transfer rate of a router. 第2実施例におけるネットワーク中継装置の概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the network relay apparatus in 2nd Example. 第2実施例における有線LAN消費電力テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of the wired LAN power consumption table in 2nd Example. 第2実施例において電力制御部がルータのデータ転送速度を上昇させる方法を説明するための説明図である。It is explanatory drawing for demonstrating the method by which a power control part raises the data transfer speed of a router in 2nd Example.

次に、本発明の実施の形態を実施例に基づいて以下の順序で説明する。   Next, embodiments of the present invention will be described in the following order based on examples.

A.第1実施例:
A1.システムの概略構成:
図1は、本発明の一実施例としてのネットワーク中継装置の概略構成を示す説明図である。ネットワーク中継装置10は、IEEE802.3規格と、IEEE802.11規格に準拠したいわゆる無線LANブロードバンドルーターである。なお、以降、ネットワーク中継装置10のことを単に「ルータ10」とも呼ぶ。ルータ10は、有線によりインターネットINETに接続されると共に、無線により図示しないパーソナルコンピュータ等の端末と接続されている。なお、図1では便宜上、説明上必要としない、他のネットワーク中継装置、回線、ルータ10の内部構造については図示を省略している。このことは、後述する図においても同様である。
A. First embodiment:
A1. System outline:
FIG. 1 is an explanatory diagram showing a schematic configuration of a network relay device as an embodiment of the present invention. The network relay device 10 is a so-called wireless LAN broadband router that conforms to the IEEE 802.3 standard and the IEEE 802.11 standard. Hereinafter, the network relay device 10 is also simply referred to as “router 10”. The router 10 is connected to the Internet INET by wire and connected to a terminal such as a personal computer (not shown) wirelessly. For the sake of convenience, FIG. 1 omits illustration of other network relay devices, lines, and internal structures of the router 10 that are not necessary for the description. This also applies to the drawings described later.

ルータ10は、電源入力部100と、CPU200と、RAM300と、設定情報取得部400と、有線LANインタフェース(I/F)500と、無線LAN制御回路600と、USBインタフェース(I/F)700と、ROM800と、を備え、それぞれがバスにより相互に接続されている。3つの通信部(有線通信部としての有線LANインタフェース500、無線通信部としての無線LAN制御回路600、USBデータ通信部としてのUSBインタフェース700)を備えることによって、ルータ10は3つの通信方式における通信を実現可能である。   The router 10 includes a power input unit 100, a CPU 200, a RAM 300, a setting information acquisition unit 400, a wired LAN interface (I / F) 500, a wireless LAN control circuit 600, and a USB interface (I / F) 700. ROM 800, each of which is interconnected by a bus. By providing three communication units (a wired LAN interface 500 as a wired communication unit, a wireless LAN control circuit 600 as a wireless communication unit, and a USB interface 700 as a USB data communication unit), the router 10 performs communication in three communication methods. Is feasible.

電源入力部100は、さらに、電源プラグ110と、ACアダプタ120と、電力算出部130とを備えている。電源プラグ110は、図示しない商用電源のコンセントに接続されることで、ルータ10への電源の供給を受け付ける。ACアダプタ120は、供給された交流電力を直流電力に変換するとともに、所定の電圧に降圧する。電源入力部100は、ACアダプタ120から出力される電力をルータ10の各部へ供給する。電力算出部130は、ルータ10の現在の消費電力(以降、「第1の消費電力」とも呼ぶ。)を算出する機能を有する。具体的には、電力算出部130は、ACアダプタ120から出力される電流値を測定し、測定した電流値と、ACアダプタ120で降圧している電圧値とを乗算することによって、第1の消費電力を算出する。   The power input unit 100 further includes a power plug 110, an AC adapter 120, and a power calculation unit 130. The power plug 110 receives supply of power to the router 10 by being connected to a commercial power outlet (not shown). The AC adapter 120 converts the supplied AC power into DC power and steps down the voltage to a predetermined voltage. The power input unit 100 supplies the power output from the AC adapter 120 to each unit of the router 10. The power calculation unit 130 has a function of calculating the current power consumption of the router 10 (hereinafter also referred to as “first power consumption”). Specifically, the power calculation unit 130 measures the current value output from the AC adapter 120, and multiplies the measured current value by the voltage value stepped down by the AC adapter 120 to obtain the first value. Calculate power consumption.

CPU200は、ROM800に格納されているコンピュータプログラムをRAM300に展開して実行することにより、ルータ10の各部を制御する。また、CPU200は、電力制御部210としても機能する。電力制御部210は、ルータ10のデータ転送速度を決定し、決定したデータ転送速度での通信を通信部に指示することによって、ルータ10の消費電力を制御する電力制御処理(詳細は後述)を実行する機能を有する。   The CPU 200 controls each unit of the router 10 by developing a computer program stored in the ROM 800 in the RAM 300 and executing it. The CPU 200 also functions as the power control unit 210. The power control unit 210 determines the data transfer rate of the router 10 and instructs the communication unit to communicate at the determined data transfer rate, thereby performing power control processing (details will be described later) for controlling the power consumption of the router 10. Has the function to execute.

記憶部としてのRAM300には、設定テーブル310と、有線LAN消費電力テーブル320と、無線LAN消費電力テーブル330と、USB消費電力テーブル340とが含まれている。これら各テーブルの詳細は後述する。なお、これらの各テーブルは、他の記憶媒体(例えば、フラッシュROM、ハードディスク等)に記憶されてもよい。   The RAM 300 serving as a storage unit includes a setting table 310, a wired LAN power consumption table 320, a wireless LAN power consumption table 330, and a USB power consumption table 340. Details of these tables will be described later. Each of these tables may be stored in another storage medium (for example, a flash ROM, a hard disk, etc.).

設定情報取得部400は、ルータ10の消費電力の大きさに関する設定情報を取得する機能を有する。図2は、ルータ10の外観の概略構成を示す説明図である。図1の設定情報取得部400は、さらに、図2に示すような切り替えスイッチ410を備えている。切り替えスイッチ410は、ルータ10の筐体SCに設けられるスライドタイプのスイッチである。切り替えスイッチ410は、利用者が移動させたつまみCDの位置を検出することで、その出力が切り替わる。図1の設定情報取得部400は、切り替えスイッチ410の出力を検出し、ルータ10の消費電力の大きさに関する設定情報を取得する。具体的には、設定情報取得部400は、切り替えスイッチ410が図2の「大」の位置にあることを検出した場合は設定情報を「大」と、「中」の位置にあることを検出した場合は設定情報を「中」と、「小」の位置にあることを検出した場合は設定情報を「小」として、設定情報を取得する。   The setting information acquisition unit 400 has a function of acquiring setting information regarding the magnitude of power consumption of the router 10. FIG. 2 is an explanatory diagram showing a schematic configuration of the external appearance of the router 10. The setting information acquisition unit 400 of FIG. 1 further includes a changeover switch 410 as shown in FIG. The changeover switch 410 is a slide type switch provided in the chassis SC of the router 10. The changeover switch 410 switches its output by detecting the position of the knob CD moved by the user. The setting information acquisition unit 400 in FIG. 1 detects the output of the changeover switch 410 and acquires setting information regarding the power consumption of the router 10. Specifically, when the setting information acquisition unit 400 detects that the changeover switch 410 is in the “large” position in FIG. 2, the setting information acquisition unit 400 detects that the setting information is in the “large” and “medium” positions. If it is detected that the setting information is in the position of “medium” and “small”, the setting information is set to “small” and the setting information is acquired.

有線通信部としての有線LANインタフェース500は、インターネットINET側の回線と接続されるほか、有線を通じて端末と接続されるためのインタフェースである。有線LANインタフェース500は、有線LAN制御部510と、複数のポート520とを備えている。有線LAN制御部510は、図示しないPHYチップ(物理チップ)やMACチップを含み、ポート520から受信した信号の波形を整えるほか、受信した信号からMACフレームを取り出す機能を有する。また、有線LAN制御部510は、オートネゴシエーション機能を有している。オートネゴシエーション機能とは、イーサネット(登録商標)において、異なるイーサネット規格(例えば、10BASE−Tや、100BASE−TX等)が混在する場合に、通信相手となる装置との間で、使用するイーサネット規格を決定する機能である。   A wired LAN interface 500 as a wired communication unit is an interface for connecting to a terminal via a wire in addition to being connected to a line on the Internet INET side. The wired LAN interface 500 includes a wired LAN control unit 510 and a plurality of ports 520. The wired LAN control unit 510 includes a PHY chip (physical chip) and a MAC chip (not shown), and has a function of adjusting a waveform of a signal received from the port 520 and extracting a MAC frame from the received signal. The wired LAN control unit 510 has an auto negotiation function. The auto-negotiation function refers to the Ethernet standard to be used with a communication partner device when different Ethernet standards (for example, 10BASE-T, 100BASE-TX, etc.) are mixed in Ethernet (registered trademark). It is a function to decide.

無線通信部としての無線LAN制御回路600は、無線LAN制御部610と、アンテナ620とを備えている。無線LAN制御部610は、図示しない送受信回路を含み、アンテナ620を介して受信した電波の復調とデータの生成、および、アンテナ620を介して送信する電波の生成と変調を行う機能を有する。   A wireless LAN control circuit 600 as a wireless communication unit includes a wireless LAN control unit 610 and an antenna 620. The wireless LAN control unit 610 includes a transmission / reception circuit (not shown), and has a function of demodulating a radio wave received via the antenna 620 and generating data, and generating and modulating a radio wave transmitted via the antenna 620.

USBデータ通信部としてのUSBインタフェース700は、USB制御部710と、USB1.1機能部721と、USB2.0機能部722と、USB3.0機能部723とを備えている。USB制御部710は、これら3つの機能部のうちアクティブにすべき機能部を切り替える機能を有する。USB1.1機能部721は、USB1.1規格に準拠した通信を可能とするための機能部である。同様に、USB2.0機能部722はUSB2.0規格に準拠した通信を、USB3.0機能部723はUSB3.0規格に準拠した通信を、それぞれ可能とするための機能部である。このように、本実施例における通信部は、それぞれ、異なる複数のデータ転送速度での通信を実現可能なように構成されている。   A USB interface 700 as a USB data communication unit includes a USB control unit 710, a USB 1.1 function unit 721, a USB 2.0 function unit 722, and a USB 3.0 function unit 723. The USB control unit 710 has a function of switching a functional unit to be made active among these three functional units. The USB 1.1 function unit 721 is a function unit for enabling communication compliant with the USB 1.1 standard. Similarly, the USB 2.0 function unit 722 is a function unit that enables communication conforming to the USB 2.0 standard, and the USB 3.0 function unit 723 is a function unit that enables communication conforming to the USB 3.0 standard. As described above, the communication units in the present embodiment are configured to be able to realize communication at a plurality of different data transfer rates.

A2.テーブル構成:
図3は、設定テーブル310の一例を示す説明図である。設定テーブル310は、設定情報と、第2の消費電力としての消費電力の上限値とを予め対応付けて記憶するためのテーブルである。設定テーブル310は、設定情報フィールドと、消費電力上限フィールドとを含んでいる。設定情報フィールドには、設定情報取得部400(図1)が取得しうる設定情報の値が格納されている。消費電力上限フィールドには、設定情報フィールドに格納された設定情報に対応したルータ10の消費電力の上限値(W)が格納されている。すなわち、図3の例では、1行目のエントリは、設定情報が「大」である場合はルータ10の消費電力の上限値は8Wとすることを示している。
A2. Table configuration:
FIG. 3 is an explanatory diagram illustrating an example of the setting table 310. The setting table 310 is a table for storing setting information and an upper limit value of power consumption as second power consumption in association with each other in advance. The setting table 310 includes a setting information field and a power consumption upper limit field. The setting information field stores values of setting information that can be acquired by the setting information acquisition unit 400 (FIG. 1). In the power consumption upper limit field, the upper limit value (W) of the power consumption of the router 10 corresponding to the setting information stored in the setting information field is stored. That is, in the example of FIG. 3, the entry in the first row indicates that the upper limit value of the power consumption of the router 10 is 8 W when the setting information is “large”.

図4は、有線LAN消費電力テーブル320の一例を示す説明図である。有線LAN消費電力テーブル320は、ルータ10が実現可能な通信方式の1つである有線LANにおける、データ転送速度と、消費電力との対応関係を予め記憶するためのテーブルである。有線LAN消費電力テーブル320は、データ転送速度フィールドと、消費電力フィールドとを含んでいる。データ転送速度フィールドには、有線LANインタフェース500(図1)が実現しうるイーサネット規格、すなわち、有線LANにおけるデータ転送速度を間接的に示す情報が格納されている。消費電力フィールドには、ルータ10においてデータ転送速度フィールドに格納されたイーサネット規格を用いて通信を行った場合の、ルータ10の消費電力(W)が格納されている。すなわち、図4の例では、1行目のエントリは、ルータ10において10BASE−Tの伝送能力を用いてパケットの中継を行った場合、ルータ10の消費電力は0.15Wとなることを示している。   FIG. 4 is an explanatory diagram showing an example of the wired LAN power consumption table 320. The wired LAN power consumption table 320 is a table for storing in advance a correspondence relationship between a data transfer speed and power consumption in a wired LAN, which is one of the communication methods that can be realized by the router 10. The wired LAN power consumption table 320 includes a data transfer rate field and a power consumption field. The data transfer rate field stores Ethernet standards that can be realized by the wired LAN interface 500 (FIG. 1), that is, information that indirectly indicates the data transfer rate in the wired LAN. The power consumption field stores the power consumption (W) of the router 10 when the router 10 performs communication using the Ethernet standard stored in the data transfer rate field. That is, in the example of FIG. 4, the entry in the first row indicates that the power consumption of the router 10 is 0.15 W when the router 10 relays the packet using the transmission capability of 10BASE-T. Yes.

図5は、無線LAN消費電力テーブル330の一例を示す説明図である。無線LAN消費電力テーブル330は、ルータ10が実現可能な通信方式の1つである無線LANにおける、データ転送速度と、消費電力との対応関係を予め記憶するためのテーブルである。無線LAN消費電力テーブル330は、データ転送速度フィールドと、消費電力フィールドとを含んでいる。データ転送速度フィールドには、無線LAN制御回路600(図1)が実現しうる無線通信速度が格納されている。消費電力フィールドには、ルータ10においてデータ転送速度フィールドに格納された速度の無線通信を実現した場合の、ルータ10の消費電力(W)が格納されている。すなわち、図5の例では、1行目のエントリは、ルータ10において11Mbpsで無線通信によるパケットの中継を行った場合、ルータ10の消費電力は0.2Wとなることを示している。   FIG. 5 is an explanatory diagram showing an example of the wireless LAN power consumption table 330. The wireless LAN power consumption table 330 is a table for storing in advance a correspondence relationship between a data transfer rate and power consumption in a wireless LAN that is one of the communication methods that the router 10 can realize. The wireless LAN power consumption table 330 includes a data transfer rate field and a power consumption field. The data transfer speed field stores a wireless communication speed that can be realized by the wireless LAN control circuit 600 (FIG. 1). The power consumption field stores the power consumption (W) of the router 10 when the router 10 realizes wireless communication at the speed stored in the data transfer speed field. That is, in the example of FIG. 5, the entry in the first row indicates that when the router 10 relays a packet by wireless communication at 11 Mbps, the power consumption of the router 10 is 0.2 W.

図6は、USB消費電力テーブル340の一例を示す説明図である。USB消費電力テーブル340は、ルータ10が実現可能な通信方式の1つであるUSBデータ通信における、データ転送速度と、消費電力との対応関係を予め記憶するためのテーブルである。USB消費電力テーブル340は、データ転送速度フィールドと、消費電力フィールドとを含んでいる。データ転送速度フィールドには、USBインタフェース700(図1)が実現しうるUSB規格、すなわち、USBデータ通信における通信速度を間接的に示す情報が格納されている。消費電力フィールドには、ルータ10においてデータ転送速度フィールドに格納されたUSB規格を用いてUSBデータ通信を行った場合の、ルータ10の消費電力(W)が格納されている。すなわち、図6の例では、1行目のエントリは、ルータ10においてUSB1.1規格に準拠したUSB1.1機能部721を用いてUSBデータ通信を行った場合、ルータ10の消費電力は0.5Wとなることを示している。   FIG. 6 is an explanatory diagram showing an example of the USB power consumption table 340. The USB power consumption table 340 is a table for storing in advance the correspondence relationship between the data transfer speed and the power consumption in USB data communication, which is one of the communication methods that can be realized by the router 10. The USB power consumption table 340 includes a data transfer speed field and a power consumption field. The data transfer speed field stores information that indirectly indicates the USB standard that can be realized by the USB interface 700 (FIG. 1), that is, the communication speed in USB data communication. In the power consumption field, the power consumption (W) of the router 10 when the USB data communication is performed using the USB standard stored in the data transfer speed field in the router 10 is stored. That is, in the example of FIG. 6, when the USB data communication is performed by the router 10 using the USB 1.1 function unit 721 compliant with the USB 1.1 standard in the router 10, the power consumption of the router 10 is 0. It shows that it becomes 5W.

A3.電力制御処理:
図7は、ルータ10の電力制御部210において実行される電力制御処理の手順を示すフローチャートである。電力制御部210は、例えば、予め定められた時間間隔で定期的に電力制御処理を実行することができる。
A3. Power control processing:
FIG. 7 is a flowchart illustrating a procedure of power control processing executed in the power control unit 210 of the router 10. For example, the power control unit 210 can periodically execute a power control process at a predetermined time interval.

まず、電力制御部210は、電力算出部130が算出したルータ10の現在の消費電力(第1の消費電力)を取得する(ステップS100)。次に、電力制御部210は、設定情報取得部400が取得したルータ10の消費電力の大きさに関する設定情報を取得する(ステップS102)。電力制御部210は、ステップS102で取得した設定情報から消費電力の上限値(第2の消費電力)を導く(ステップS104)。具体的には、電力制御部210は、設定テーブル310の設定情報フィールドを、設定情報をキーとして検索し、一致するエントリの消費電力上限フィールドの値を消費電力の上限値(第2の消費電力)として求める。そして、電力制御部210は、ステップS104で求めた消費電力の上限値(A)と、ステップS100で取得したルータ10の現在の消費電力(B)とを比較する(ステップS106)。   First, the power control unit 210 acquires the current power consumption (first power consumption) of the router 10 calculated by the power calculation unit 130 (step S100). Next, the power control unit 210 acquires setting information regarding the magnitude of power consumption of the router 10 acquired by the setting information acquisition unit 400 (step S102). The power control unit 210 derives the upper limit value of power consumption (second power consumption) from the setting information acquired in step S102 (step S104). Specifically, the power control unit 210 searches the setting information field of the setting table 310 using the setting information as a key, and sets the value of the power consumption upper limit field of the matching entry as the upper limit value of power consumption (second power consumption). ). Then, the power control unit 210 compares the upper limit value (A) of the power consumption obtained in step S104 with the current power consumption (B) of the router 10 acquired in step S100 (step S106).

消費電力の上限値(A)と、現在の消費電力(B)とが同じである場合(ステップS106:A=B)、電力制御部210は処理を終了させる。   When the upper limit value (A) of the power consumption is the same as the current power consumption (B) (step S106: A = B), the power control unit 210 ends the process.

消費電力の上限値(A)が現在の消費電力(B)よりも大きい場合(ステップS106:A>B)、電力制御部210は、有線LAN消費電力テーブル320と、無線LAN消費電力テーブル330と、USB消費電力テーブル340とを参照する(ステップS108)。そして、電力制御部210は、ステップS108で参照した各テーブルの消費電力フィールドの値をもとに、ルータ10のデータ転送速度を上昇(すなわち、ルータ10を高速化)させる(ステップS110)。   When the upper limit value (A) of power consumption is larger than the current power consumption (B) (step S106: A> B), the power control unit 210 includes a wired LAN power consumption table 320, a wireless LAN power consumption table 330, The USB power consumption table 340 is referred to (step S108). Then, the power control unit 210 increases the data transfer rate of the router 10 (that is, increases the speed of the router 10) based on the value of the power consumption field of each table referenced in step S108 (step S110).

ルータ10のデータ転送速度を上昇させる、とは、ルータ10が実現可能な通信方式(有線通信、無線通信、USBデータ通信)のうちの、少なくともいずれか1つにおける通信速度を上昇させることを意味する。電力制御部210は、種々の方法でルータ10のデータ転送速度を上昇させることができ、例えば、予め定められた条件に従ってルータ10のデータ転送速度を上昇させることができる。   Increasing the data transfer speed of the router 10 means increasing the communication speed in at least one of communication methods (wired communication, wireless communication, USB data communication) that the router 10 can realize. To do. The power control unit 210 can increase the data transfer rate of the router 10 by various methods. For example, the power control unit 210 can increase the data transfer rate of the router 10 according to a predetermined condition.

図8は、電力制御部210がルータ10のデータ転送速度を上昇させる方法の一例を説明するための説明図である。図8(A)は、有線LAN消費電力テーブル320上で、有線LANインタフェース500において現在使用されているイーサネット規格に矢印を付して示している。図8(B)は、無線LAN消費電力テーブル330上で、無線LAN制御回路600における現在の無線通信速度に矢印を付して示している。図8(C)は、USB消費電力テーブル340上で、USBインタフェース700において現在使用されているUSB規格に矢印を付して示している。図8(D)は、データ転送速度を上昇させる条件と、優先順位の一例を示している。図8(D)の例では、データ転送速度を上昇させる条件として、ルータ10が実現可能な複数の通信方式間において定められた優先順位を用いる。なお、データ転送速度を上昇させる条件と、優先順位とは、予め定められ、RAM300内に格納されている。   FIG. 8 is an explanatory diagram for explaining an example of a method by which the power control unit 210 increases the data transfer rate of the router 10. FIG. 8A shows the Ethernet standard currently used in the wired LAN interface 500 with an arrow on the wired LAN power consumption table 320. FIG. 8B shows the current wireless communication speed in the wireless LAN control circuit 600 with an arrow on the wireless LAN power consumption table 330. FIG. 8C shows the USB standard currently used in the USB interface 700 with an arrow on the USB power consumption table 340. FIG. 8D shows an example of conditions and priorities for increasing the data transfer rate. In the example of FIG. 8D, the priority order determined among a plurality of communication methods that can be realized by the router 10 is used as a condition for increasing the data transfer rate. The conditions for increasing the data transfer rate and the priority order are determined in advance and stored in the RAM 300.

ルータ10が図8に示した状態であって、図6のステップS104で求めた消費電力の上限値が8W、ステップS100で取得したルータ10の現在の消費電力が4.1Wである場合、電力制御部210は、以下のような手順でルータ10のデータ転送速度を上昇させることができる。   When the router 10 is in the state shown in FIG. 8 and the upper limit value of the power consumption obtained in step S104 in FIG. 6 is 8 W and the current power consumption of the router 10 obtained in step S100 is 4.1 W, the power The controller 210 can increase the data transfer rate of the router 10 in the following procedure.

手順1)電力制御部210は、図8(D)の条件に従い、複数の通信方式間における優先順位をもとに、優先順位が最も高い通信方式を求める。図8の例では、優先順位が最も高い通信方式は有線通信(優先順位1)である。
手順2)電力制御部210は、手順1で求めた通信方式に対応する消費電力テーブルを参照し、現在のデータ転送速度よりも1段階高速なデータ転送速度における消費電力を求める。図8の例では、電力制御部210は、現在使用されているイーサネット規格(100BASE−T)よりも1段階高速なイーサネット規格(1000BASE−T)の消費電力フィールドの値(2.25W)を取得する。
Procedure 1) The power control unit 210 obtains a communication method with the highest priority based on the priority among a plurality of communication methods in accordance with the condition of FIG. In the example of FIG. 8, the communication method with the highest priority is wired communication (priority 1).
Procedure 2) The power control unit 210 refers to the power consumption table corresponding to the communication method obtained in the procedure 1, and obtains the power consumption at a data transfer rate one step higher than the current data transfer rate. In the example of FIG. 8, the power control unit 210 acquires the value (2.25 W) of the power consumption field of the Ethernet standard (1000BASE-T) that is one step faster than the currently used Ethernet standard (100BASE-T). To do.

手順3)電力制御部210は、現在の消費電力に対して、手順2で求めた消費電力を加算した合計が、消費電力の上限値を超えないかを判定する。図8の例では、現在の消費電力(4.1W)+手順2で取得した消費電力(2.25W)=6.35W、となるため、消費電力の上限値(8W)は超過しない。
手順4)電力制御部210は、消費電力の上限値を超えないと判定した場合は、その通信方式におけるデータ転送速度を1段階高速なものに変更する決定をした後、優先順位が次に高い通信方式を求め、手順2以降を繰り返し実行する。図8の例では、電力制御部210は、有線通信におけるデータ転送速度を1段階高速なもの(すなわち、1000BASE−T)へと変更する。
手順5)一方、電力制御部210は、消費電力の上限値を超えると判定した場合は、優先順位が次に高い通信方式を求め、手順2以降を繰り返し実行する。
Procedure 3) The power control unit 210 determines whether or not the total obtained by adding the power consumption obtained in the procedure 2 to the current power consumption exceeds the upper limit value of the power consumption. In the example of FIG. 8, since the current power consumption (4.1 W) + the power consumption (2.25 W) acquired in procedure 2 = 6.35 W, the upper limit value (8 W) of the power consumption does not exceed.
Step 4) If the power control unit 210 determines that the upper limit value of power consumption is not exceeded, the power control unit 210 determines to change the data transfer rate in the communication method to one step higher, and then has the next highest priority. The communication method is obtained, and the procedure 2 and subsequent steps are repeatedly executed. In the example of FIG. 8, the power control unit 210 changes the data transfer rate in wired communication to one higher in speed (that is, 1000BASE-T).
Procedure 5) On the other hand, if the power control unit 210 determines that the upper limit value of power consumption is exceeded, the power control unit 210 obtains a communication method with the next highest priority and repeatedly executes the procedure 2 and subsequent steps.

上記の手順4において有線通信のデータ転送速度を変更する決定を行った場合、電力制御部210は、有線LAN制御部510に対してデータ転送速度を変えるための要求を送信する。要求を受信した有線LAN制御部510は、オートネゴシエーション機能を用いて通信相手となる装置と交渉を行い、使用するイーサネット規格を変更する。なお、有線通信における通信断を抑制するため、イーサネット規格の変更は、トランスポート層を監視して、通信が途切れたと判断された際(例えば、TCPセッションを監視して、通信終了メッセージが送信された後)に行うことが好ましい。   When the determination to change the data transfer rate of wired communication is made in the procedure 4 above, the power control unit 210 transmits a request for changing the data transfer rate to the wired LAN control unit 510. The wired LAN control unit 510 that has received the request negotiates with the device that is the communication partner using the auto-negotiation function, and changes the Ethernet standard to be used. In addition, in order to suppress communication disconnection in wired communication, the Ethernet standard is changed by monitoring the transport layer and determining that communication is interrupted (for example, monitoring a TCP session and transmitting a communication end message). It is preferable to carry out after

無線通信のデータ転送速度を変える場合、電力制御部210は、無線LAN制御部610に対してデータ転送速度を変更するための要求を送信する。要求を受信した無線LAN制御部610は、受信したデータ転送速度に従って送受信回路を制御する。USBデータ通信のデータ転送速度を変える場合、電力制御部210は、USB制御部710に対してデータ転送速度を変更するための要求を送信する。要求を受信したUSB制御部710は、受信したデータ転送速度に従ってアクティブにすべき機能部を切り替える。   When changing the data transfer rate of wireless communication, the power control unit 210 transmits a request for changing the data transfer rate to the wireless LAN control unit 610. The wireless LAN control unit 610 that has received the request controls the transmission / reception circuit according to the received data transfer rate. When changing the data transfer rate of USB data communication, the power control unit 210 transmits a request for changing the data transfer rate to the USB control unit 710. The USB control unit 710 that has received the request switches the functional unit to be activated according to the received data transfer rate.

図9は、電力制御部210がルータ10のデータ転送速度を上昇させる方法の他の例を説明するための説明図である。図9(A)〜(C)は、図8と同様である。図9(D)は、データ転送速度を上昇させる条件の一例を示している。図9(D)の例では、データ転送速度を上昇させる条件として、ルータ10が実現可能な複数の通信方式間の速度差の乖離を抑制すること、すなわち、複数の通信方式のそれぞれにおいて現在使用されているデータ転送速度の速度差を小さくすることが定められている。なお、データ転送速度を上昇させる条件は、図8と同様に、予め定められ、RAM300内に格納されている。   FIG. 9 is an explanatory diagram for explaining another example of a method by which the power control unit 210 increases the data transfer rate of the router 10. 9A to 9C are the same as FIG. FIG. 9D shows an example of conditions for increasing the data transfer rate. In the example of FIG. 9D, as a condition for increasing the data transfer speed, the difference in speed difference between a plurality of communication methods that can be realized by the router 10 is suppressed, that is, currently used in each of the plurality of communication methods. It is stipulated that the difference in data transfer rate is reduced. The conditions for increasing the data transfer rate are predetermined and stored in the RAM 300, as in FIG.

ルータ10が図9に示した状態であって、図6のステップS104で求めた消費電力の上限値が8W、ステップS100で取得したルータ10の現在の消費電力が4.1Wである場合、電力制御部210は、図8で説明したデータ転送速度の上昇方法において、手順1に代えて手順1aを、手順4に代えて手順4aを、手順5に代えて手順5aを、それぞれ実行する。   When the router 10 is in the state shown in FIG. 9 and the upper limit value of the power consumption obtained in step S104 in FIG. 6 is 8 W and the current power consumption of the router 10 obtained in step S100 is 4.1 W, the power In the method for increasing the data transfer rate described with reference to FIG. 8, the control unit 210 executes step 1 a instead of step 1, step 4 a instead of step 4, and step 5 a instead of step 5.

手順1a)電力制御部210は、図9(D)の条件に従い、通信方式間の速度差の乖離を抑制可能な通信方式を求める。具体的には、まず、電力制御部210は、ルータ10が実現可能な複数の通信方式のそれぞれにおいて、現在使用されているデータ転送速度を求める。図9の例では、有線LANインタフェース500において現在使用されているイーサネット規格は100BASE−Tであるため、有線通信のデータ転送速度は100Mbpsである。同様に、無線LAN制御回路600における現在の無線通信速度は130Mbpsであるため、無線通信のデータ転送速度は130Mbpsである。USBインタフェース700において現在使用されているUSB規格はUSB2.0であるため、USBデータ通信のデータ転送速度は480Mbpsである。   Procedure 1a) The power control unit 210 obtains a communication method that can suppress the difference in speed difference between communication methods in accordance with the condition of FIG. Specifically, first, the power control unit 210 obtains a data transfer rate currently used in each of a plurality of communication methods that can be realized by the router 10. In the example of FIG. 9, since the Ethernet standard currently used in the wired LAN interface 500 is 100BASE-T, the data transfer rate of wired communication is 100 Mbps. Similarly, since the current wireless communication speed in the wireless LAN control circuit 600 is 130 Mbps, the data transfer speed of wireless communication is 130 Mbps. Since the USB standard currently used in the USB interface 700 is USB 2.0, the data transfer speed of USB data communication is 480 Mbps.

次に、電力制御部210は、複数の通信方式のそれぞれについて、データ転送速度を現在よりも1段階高速にした際の、他の通信方式との速度差を求める。
i)有線通信のデータ転送速度を高速化した場合は、有線通信の高速化後のデータ転送速度は1000Mbps、無線通信の現在のデータ転送速度は130Mbps、USBデータ通信の現在のデータ転送速度は480Mbpsとなるため、最も大きい値(1000Mbps)と、最も小さい値(130Mbps)との速度差の絶対値は870Mbpsとなる。
ii)無線通信のデータ転送速度を高速化した場合は、有線通信の現在のデータ転送速度は100Mbps、無線通信の高速化後のデータ転送速度は150Mbps、USBデータ通信の現在のデータ転送速度は480Mbpsとなるため、最も大きい値と、最も小さい値との速度差の絶対値は380Mbpsとなる。
iii)USBデータ通信のデータ転送速度を高速化した場合は、有線通信の現在のデータ転送速度は100Mbps、無線通信の現在のデータ転送速度は130Mbps、USBデータ通信の高速化後のデータ転送速度は5Gbpsとなるため、最も大きい値と、最も小さい値との速度差の絶対値は4900Mbpsとなる。
Next, the power control unit 210 obtains a speed difference from other communication systems when the data transfer speed is increased by one step from the current level for each of the plurality of communication systems.
i) When the data transfer rate of wired communication is increased, the data transfer rate after the increase of wired communication is 1000 Mbps, the current data transfer rate of wireless communication is 130 Mbps, and the current data transfer rate of USB data communication is 480 Mbps. Therefore, the absolute value of the speed difference between the largest value (1000 Mbps) and the smallest value (130 Mbps) is 870 Mbps.
ii) When the data transfer rate of wireless communication is increased, the current data transfer rate of wired communication is 100 Mbps, the data transfer rate after the increase of wireless communication is 150 Mbps, and the current data transfer rate of USB data communication is 480 Mbps. Therefore, the absolute value of the speed difference between the largest value and the smallest value is 380 Mbps.
iii) When the data transfer rate of USB data communication is increased, the current data transfer rate of wired communication is 100 Mbps, the current data transfer rate of wireless communication is 130 Mbps, and the data transfer rate after the increase of USB data communication is Since it is 5 Gbps, the absolute value of the speed difference between the largest value and the smallest value is 4900 Mbps.

電力制御部210は、上記i〜iiiで求めた高速化後の速度差が最も小さくなる通信方式を、データ転送速度を上昇させる通信方式として選択する。図9の例では、高速化後の速度差が最も小さくなる通信方式は無線通信である。   The power control unit 210 selects the communication method that minimizes the speed difference after the speed increase obtained in i to iii as the communication method for increasing the data transfer speed. In the example of FIG. 9, the communication method that minimizes the speed difference after speeding up is wireless communication.

手順4a)電力制御部210は、消費電力の上限値を超えないと判定した場合は、その通信方式におけるデータ転送速度を1段階高速なものに変更する決定をした後、手順1a以降を繰り返し実行する。
手順5a)一方、電力制御部210は、消費電力の上限値を超えると判定した場合は、高速化後の速度差が2番目に小さくなる通信方式を求め、手順2以降を繰り返し実行する。
Step 4a) When the power control unit 210 determines that the upper limit value of power consumption is not exceeded, the power control unit 210 determines to change the data transfer speed in the communication method to a one-step high speed, and then repeatedly executes step 1a and the subsequent steps. To do.
Procedure 5a) On the other hand, when the power control unit 210 determines that the upper limit value of power consumption is exceeded, the power control unit 210 obtains a communication method in which the speed difference after the speed increase is the second smallest, and repeatedly executes the procedure 2 and subsequent steps.

なお、上記処理において、ルータ10が実現可能な全ての通信方式(すなわち、有線通信、無線通信、USBデータ通信)間の速度差の乖離を抑制するものとしたが、一部(例えば、USBデータ通信)は速度差の乖離抑制対象から除外してもよい。   In the above processing, the difference in speed difference between all communication methods that can be realized by the router 10 (that is, wired communication, wireless communication, USB data communication) is suppressed. (Communication) may be excluded from speed difference deviation suppression targets.

図7のステップS106において、消費電力の上限値(A)が現在の消費電力(B)よりも小さい場合(ステップS106:A<B)、電力制御部210は、有線LAN消費電力テーブル320と、無線LAN消費電力テーブル330と、USB消費電力テーブル340とを参照する(ステップS112)。そして、電力制御部210は、ステップS112で参照した各テーブルの消費電力フィールドの値をもとに、ルータ10のデータ転送速度を低下(すなわち、ルータ10を低速化)させる(ステップS114)。   In step S106 of FIG. 7, when the upper limit value (A) of power consumption is smaller than the current power consumption (B) (step S106: A <B), the power control unit 210 includes a wired LAN power consumption table 320, The wireless LAN power consumption table 330 and the USB power consumption table 340 are referred to (step S112). Then, the power control unit 210 reduces the data transfer rate of the router 10 (that is, reduces the router 10 speed) based on the value of the power consumption field of each table referenced in step S112 (step S114).

ルータ10のデータ転送速度を低下させる、とは、ルータ10が実現可能な通信方式(有線通信、無線通信、USBデータ通信)のうちの、少なくともいずれか1つにおける通信速度を低下させることを意味する。電力制御部210は、種々の方法でルータ10のデータ転送速度を低下させることができ、例えば、予め定められた条件に従ってルータ10のデータ転送速度を低下させることができる。具体的な方法は上述のデータ転送速度の上昇の場合に倣えばよいため、説明は省略する。なお、データ転送速度の上昇時と、データ転送速度の低下時とは、異なる条件が採用されてもよい。   Decreasing the data transfer rate of the router 10 means reducing the communication rate in at least one of communication methods (wired communication, wireless communication, USB data communication) that can be realized by the router 10. To do. The power control unit 210 can reduce the data transfer rate of the router 10 by various methods. For example, the power control unit 210 can reduce the data transfer rate of the router 10 according to a predetermined condition. A specific method may be followed in the case of the above-described increase in the data transfer rate, and thus description thereof is omitted. Different conditions may be employed when the data transfer rate is increased and when the data transfer rate is decreased.

以上のように、第1実施例によれば、電力制御部210は、ルータ10の現在の消費電力(第1の消費電力)と、ルータ10の消費電力の大きさに関する設定情報と、ルータ10が実現可能な異なる複数のデータ転送速度と、このデータ転送速度を実現した場合の消費電力との対応関係(すなわち、有線LAN消費電力テーブル320、無線LAN消費電力テーブル330、USB消費電力テーブル340)とを用いて、データ転送速度を決定し、決定したデータ転送速度での通信を通信部(有線LANインタフェース500、無線LAN制御回路600、USBインタフェース700)に指示する。   As described above, according to the first embodiment, the power control unit 210 includes the current power consumption (first power consumption) of the router 10, the setting information regarding the magnitude of the power consumption of the router 10, and the router 10. Correspondence relationship between a plurality of different data transfer rates that can be realized and power consumption when this data transfer rate is realized (that is, wired LAN power consumption table 320, wireless LAN power consumption table 330, USB power consumption table 340) Are used to instruct the communication unit (wired LAN interface 500, wireless LAN control circuit 600, USB interface 700) to communicate at the determined data transfer rate.

具体的には、電力制御部210は、設定情報から導かれる消費電力の上限値(第2の消費電力)を取得し、消費電力の上限値(第2の消費電力)が現在の消費電力(第1の消費電力)よりも大きい場合は、上記の対応関係を用いて通信部におけるデータ転送速度を上昇させる。通信部におけるデータ転送速度を上昇させる際、ルータ10が複数の通信方式を実現可能な場合は、予め定められた条件に従って、複数の通信方式から、データ転送速度を上昇させる通信方式が選択される。通信部におけるデータ転送速度の変更は、ルータ10の消費電力に影響を及ぼすため、これにより、電力制御部210は、ルータ10の消費電力を増加させることができる。一方、消費電力の上限値(第2の消費電力)が現在の消費電力(第1の消費電力)よりも小さい場合は、上記の対応関係を用いて通信部におけるデータ転送速度を低下させる。通信部におけるデータ転送速度を低下させる際、ルータ10が複数の通信方式を実現可能な場合は、予め定められた条件に従って、複数の通信方式から、データ転送速度を低下させる通信方式が選択される。これにより、電力制御部210は、ルータ10の消費電力を減少させることができる。この結果、ルータ10において、追加の装置を必要とせず、消費電力を制御することが可能となる。   Specifically, the power control unit 210 acquires an upper limit value of power consumption (second power consumption) derived from the setting information, and the upper limit value of power consumption (second power consumption) is the current power consumption ( If it is greater than (first power consumption), the data transfer rate in the communication unit is increased using the above correspondence. When increasing the data transfer rate in the communication unit, if the router 10 can implement a plurality of communication methods, a communication method that increases the data transfer rate is selected from the plurality of communication methods according to a predetermined condition. . Since the change in the data transfer rate in the communication unit affects the power consumption of the router 10, the power control unit 210 can thereby increase the power consumption of the router 10. On the other hand, when the upper limit value of power consumption (second power consumption) is smaller than the current power consumption (first power consumption), the data transfer rate in the communication unit is reduced using the above correspondence. When reducing the data transfer rate in the communication unit, if the router 10 can implement a plurality of communication methods, a communication method for reducing the data transfer rate is selected from the plurality of communication methods according to a predetermined condition. . Thereby, the power control unit 210 can reduce the power consumption of the router 10. As a result, the router 10 can control power consumption without requiring an additional device.

さらに、ルータ10の消費電力の大きさに関する設定情報を取得する設定情報取得部400は、切り替えスイッチ410を含む。切り替えスイッチ410は、ルータ10の筐体に設けられる切り替えスイッチであるため、ルータ10の利用者は、簡単な方法で設定情報の入力をすることができる。   Furthermore, the setting information acquisition unit 400 that acquires setting information regarding the power consumption of the router 10 includes a changeover switch 410. Since the changeover switch 410 is a changeover switch provided in the casing of the router 10, a user of the router 10 can input setting information by a simple method.

B.第2実施例:
本発明の第2実施例では、第1実施例で説明したネットワーク中継装置において、さらに、通信部における各データ転送速度の使用率を学習し、学習した内容を用いてデータ転送速度の決定を行う構成について説明する。以下では、第1実施例と異なる構成および動作を有する部分についてのみ説明する。なお、図中において第1実施例と同様の構成部分については先に説明した第1実施例と同様の符号を付し、その詳細な説明を省略する。
B. Second embodiment:
In the second embodiment of the present invention, in the network relay device described in the first embodiment, the usage rate of each data transfer rate in the communication unit is further learned, and the data transfer rate is determined using the learned content. The configuration will be described. Below, only the part which has a different structure and operation | movement from 1st Example is demonstrated. In the figure, the same components as those of the first embodiment are denoted by the same reference numerals as those of the first embodiment described above, and detailed description thereof is omitted.

図10は、第2実施例におけるネットワーク中継装置の概略構成を示す説明図である。図1に示した第1実施例との違いは、ネットワーク中継装置としてのルータ10aが、CPU200に代えてCPU200aを、RAM300に代えてRAM300aを、それぞれ備える点のみであり、他の構成や動作は第1実施例と同じである。   FIG. 10 is an explanatory diagram showing a schematic configuration of the network relay device in the second embodiment. The only difference from the first embodiment shown in FIG. 1 is that the router 10a as a network relay device includes a CPU 200a instead of the CPU 200, and a RAM 300a instead of the RAM 300. Other configurations and operations are the same. The same as in the first embodiment.

CPU200aは、電力制御部210に代えて電力制御部210aを備え、さらに、学習部220を備えている。電力制御部210aの動作については後述する。学習部220は、ルータ10aの通信部における各データ転送速度の使用率を学習する機能を有する。具体的には、学習部220は、ルータ10aの有線LANインタフェース500を監視し、各イーサネット規格(データ転送速度)について、使用率を示す指標値となる「アクティブになった回数」を計数し、有線LAN消費電力テーブル320aを更新する。学習部220は同様に、無線LAN制御回路600と、USBインタフェース700についても監視および対応するテーブルの更新を行う。   The CPU 200a includes a power control unit 210a instead of the power control unit 210, and further includes a learning unit 220. The operation of the power control unit 210a will be described later. The learning unit 220 has a function of learning the usage rate of each data transfer rate in the communication unit of the router 10a. Specifically, the learning unit 220 monitors the wired LAN interface 500 of the router 10a, and counts the “number of times of activation” that is an index value indicating the usage rate for each Ethernet standard (data transfer rate). The wired LAN power consumption table 320a is updated. Similarly, the learning unit 220 monitors the wireless LAN control circuit 600 and the USB interface 700 and updates the corresponding table.

RAM300aは、有線LAN消費電力テーブル320に代えて有線LAN消費電力テーブル320aを、無線LAN消費電力テーブル330に代えて無線LAN消費電力テーブル330aを、USB消費電力テーブル340に代えてUSB消費電力テーブル340aを、それぞれ備えている。   The RAM 300a replaces the wired LAN power consumption table 320 with the wired LAN power consumption table 320a, replaces the wireless LAN power consumption table 330 with the wireless LAN power consumption table 330a, and replaces the USB power consumption table 340 with the USB power consumption table 340a. Are provided.

図11は、第2実施例における有線LAN消費電力テーブル320aの一例を示す説明図である。図4に示した第1実施例との違いは、さらに、使用回数フィールドを備える点のみであり、他の構成は第1実施例と同じである。使用回数フィールドには、学習部220によって計数された指標値が格納される。この使用回数フィールドの値は、学習部220によって定期的に、および/または、学習部220が状態変化を検出したタイミングで随時更新される。なお、無線LAN消費電力テーブル330aと、USB消費電力テーブル340aについても、有線LAN消費電力テーブル320aと同様に使用回数フィールドを備えている。詳細は有線LAN消費電力テーブル320aと同様であるため省略する。   FIG. 11 is an explanatory diagram illustrating an example of the wired LAN power consumption table 320a according to the second embodiment. The only difference from the first embodiment shown in FIG. 4 is that it further includes a use count field, and the other configuration is the same as that of the first embodiment. The index value counted by the learning unit 220 is stored in the usage count field. The value of the number-of-use field is updated regularly by the learning unit 220 and / or at any time when the learning unit 220 detects a state change. Note that the wireless LAN power consumption table 330a and the USB power consumption table 340a also have a usage count field, similar to the wired LAN power consumption table 320a. The details are the same as those of the wired LAN power consumption table 320a, and thus will be omitted.

図12は、第2実施例において、電力制御部210aがルータ10aのデータ転送速度を上昇させる方法を説明するための説明図である。図12(A)〜(C)は、図8に示した第1実施例と同様に、有線LAN消費電力テーブル320aと、無線LAN消費電力テーブル330aと、USB消費電力テーブル340aとについて、現在使用されているイーサネット規格に矢印を付して示している。図12(D)は、第2実施例においてデータ転送速度を上昇させる条件の例を示している。図12(D)の例では、データ転送速度を上昇させる条件として、使用回数(換言すれば、使用率が高いもの)が多いものを優先させることが定められている。なお、データ転送速度を上昇させる条件は、図8と同様に、予め定められ、RAM300内に格納されている。   FIG. 12 is an explanatory diagram for explaining a method by which the power control unit 210a increases the data transfer rate of the router 10a in the second embodiment. 12A to 12C show the current use of the wired LAN power consumption table 320a, the wireless LAN power consumption table 330a, and the USB power consumption table 340a as in the first embodiment shown in FIG. The Ethernet standard is shown with an arrow. FIG. 12D shows an example of conditions for increasing the data transfer rate in the second embodiment. In the example of FIG. 12D, it is determined that priority is given to a condition where the data transfer rate is increased, which has a large number of times of use (in other words, a high usage rate). The conditions for increasing the data transfer rate are predetermined and stored in the RAM 300, as in FIG.

ルータ10aが図12に示した状態であって、図6のステップS104で求めた消費電力の上限値が8W、ステップS100で取得したルータ10aの現在の消費電力が4.1Wである場合、電力制御部210aは、図8で説明したデータ転送速度の上昇方法において、手順1に代えて手順1bを、手順4に代えて手順4bを、手順5に代えて手順5bを、それぞれ実行する。   When the router 10a is in the state shown in FIG. 12 and the upper limit value of the power consumption obtained in step S104 in FIG. 6 is 8 W and the current power consumption of the router 10a obtained in step S100 is 4.1 W, the power In the method for increasing the data transfer rate described with reference to FIG. 8, the control unit 210 a executes procedure 1 b instead of procedure 1, procedure 4 b instead of procedure 4, and procedure 5 b instead of procedure 5.

手順1b)電力制御部210aは、図12(D)の条件に従い、複数の通信方式のうち、使用回数が多い通信方式を求める。具体的には、まず、電力制御部210aは、有線LAN消費電力テーブル320aと、無線LAN消費電力テーブル330aと、USB消費電力テーブル340aの3つのテーブルを参照し、現在使用されているデータ転送速度と、各テーブルの使用回数フィールドの値が最も大きなデータ転送速度との隔たりが最も大きな通信方式を求める。図12の例では、現在使用されているデータ転送速度(130Mbps)と、使用回数フィールドの値が最も大きなデータ転送速度(150Mbps)との隔たりが最も大きい通信方式は、無線通信である。
手順4b)電力制御部210aは、消費電力の上限値を超えないと判定した場合は、その通信方式におけるデータ転送速度を1段階高速なものに変更する決定をした後、現在使用されているデータ転送速度と、各テーブルの使用回数フィールドの値が最も大きなデータ転送速度との隔たりが次に大きな通信方式を求め、手順2以降を繰り返し実行する。
手順5b)一方、電力制御部210aは、消費電力の上限値を超えると判定した場合は、現在使用されているデータ転送速度と、各テーブルの使用回数フィールドの値が最も大きなデータ転送速度との隔たりが次に大きな通信方式を求め、手順2以降を繰り返し実行する。
Procedure 1b) The power control unit 210a obtains a communication method with a large number of times of use among a plurality of communication methods in accordance with the condition of FIG. Specifically, first, the power control unit 210a refers to the three tables of the wired LAN power consumption table 320a, the wireless LAN power consumption table 330a, and the USB power consumption table 340a, and currently uses the data transfer rate. And a communication method having the largest difference between the data transfer rate and the value of the use count field of each table. In the example of FIG. 12, the communication method having the largest difference between the currently used data transfer rate (130 Mbps) and the data transfer rate (150 Mbps) having the largest value in the use count field is wireless communication.
Step 4b) If the power control unit 210a determines that the upper limit value of power consumption is not exceeded, the data control unit 210a determines the data transfer rate in the communication method to be changed to one step higher, and then the data currently used A communication method in which the difference between the transfer rate and the data transfer rate having the largest value in the number-of-uses field of each table is next is obtained, and the procedure 2 and subsequent steps are repeatedly executed.
(Procedure 5b) On the other hand, if the power control unit 210a determines that the upper limit value of power consumption is exceeded, the currently used data transfer rate and the data transfer rate with the largest value in the use count field of each table are A communication method with the next largest interval is obtained, and the procedure 2 and subsequent steps are repeatedly executed.

なお、上記処理において、各テーブルの使用回数フィールドの値が「0」であるデータ転送側は意図的に除外する処理を追加してもよい。そのようにすれば、例えば、使用されていないデータ転送速度(図12(C)のUSB1.1やUSB3.0等)を意図的に除外することが可能となる。なお、電力制御部210aにおけるデータ転送速度の低下方法については、上述したデータ転送速度の上昇方法に倣えばよいため、説明は省略する。   In the above process, a process of intentionally excluding the data transfer side in which the value of the use count field of each table is “0” may be added. By doing so, for example, it is possible to intentionally exclude unused data transfer rates (such as USB 1.1 and USB 3.0 in FIG. 12C). Note that the method for reducing the data transfer rate in the power control unit 210a is similar to the above-described method for increasing the data transfer rate, and thus the description thereof is omitted.

以上のように、第2実施例によれば、記憶部内の各テーブルには、通信部(有線LANインタフェース500、無線LAN制御回路600、USBインタフェース700)ごとに、データ転送速度の使用率を間接的に示す指標値としての使用回数が記憶され、学習部220は、各通信部を監視して、指標値を更新する。また、電力制御部210aは、ルータ10aが複数の通信方式を実現可能な場合に、当該複数の通信方式からデータ転送速度を上昇または下降させる通信方式を選択する際の条件として、この指標値を用いる。この結果、ルータ10aのデータ転送速度を、その使用率に基づいて決定することが可能となるため、ルータ10aの利用実態に合った消費電力の制御が可能となる。   As described above, according to the second embodiment, in each table in the storage unit, the usage rate of the data transfer rate is indirectly specified for each communication unit (wired LAN interface 500, wireless LAN control circuit 600, USB interface 700). The number of uses as an index value indicated is stored, and the learning unit 220 monitors each communication unit and updates the index value. In addition, when the router 10a can realize a plurality of communication methods, the power control unit 210a uses the index value as a condition for selecting a communication method for increasing or decreasing the data transfer rate from the plurality of communication methods. Use. As a result, since the data transfer rate of the router 10a can be determined based on the usage rate, it is possible to control power consumption in accordance with the actual usage of the router 10a.

C.変形例:
なお、この発明は上記の実施例や実施形態に限られるものではなく、その要旨を逸脱しない範囲で種々の構成を採ることができる。例えば、ソフトウェアによって実現した機能は、ハードウェアによって実現するものとしてもよい。そのほか、以下のような変形が可能である。
C. Variations:
In addition, this invention is not restricted to said Example and embodiment, A various structure can be taken in the range which does not deviate from the summary. For example, a function realized by software may be realized by hardware. In addition, the following modifications are possible.

C1.変形例1:
上記実施例では、ネットワーク中継装置の構成について説明した。しかし、上記実施例におけるネットワーク中継装置の構成はあくまで一例であり、任意の態様を採用することができる。例えば、構成要素の一部を省略したり、更なる構成要素を付加したり、構成要素の一部を変更したりする変形が可能である。
C1. Modification 1:
In the above embodiment, the configuration of the network relay device has been described. However, the configuration of the network relay device in the above embodiment is merely an example, and any aspect can be adopted. For example, the deformation | transformation which abbreviate | omits a part of a component, adds a further component, or changes a part of a component is possible.

例えば、上記実施例におけるルータは3つの通信方式(有線通信、無線通信、USBデータ通信)における通信を実現可能であるものとしたが、一部の通信方式を省略しても良い。また、他の方式を備えるものとしても良い。   For example, the router in the above embodiment can realize communication in three communication methods (wired communication, wireless communication, USB data communication), but some communication methods may be omitted. Moreover, it is good also as what has another system.

例えば、上記実施例のルータにおいて、電源入力部(図1)はACアダプタに代えて電源入力部の内部にAC−DCコンバータを備えるものとしてもよい。また、電源は特に限定するものではなく、例えば、商用電源に代えて燃料電池や太陽電池などの出力を用いてもよい。   For example, in the router of the above embodiment, the power input unit (FIG. 1) may include an AC-DC converter inside the power input unit instead of the AC adapter. Further, the power source is not particularly limited, and for example, an output of a fuel cell or a solar cell may be used instead of the commercial power source.

例えば、上記実施例におけるルータでは、CPUは電力制御部と、学習部とを備えるものとして説明した。また、各処理部において実行される機能について説明した。しかし、これら各処理部の配置および各処理部が果たす機能の内容についてはあくまで例示であり、ルータの構成に応じて任意に変更することが可能である。   For example, in the router in the above embodiment, the CPU has been described as including a power control unit and a learning unit. Moreover, the function performed in each process part was demonstrated. However, the arrangement of the processing units and the contents of the functions performed by the processing units are merely examples, and can be arbitrarily changed according to the configuration of the router.

C2.変形例2:
上記実施例では、設定情報取得部の一態様について説明した。しかし、設定情報取得部は、種々の態様を採用することが可能である。
C2. Modification 2:
In the above embodiment, one aspect of the setting information acquisition unit has been described. However, the setting information acquisition unit can adopt various modes.

例えば、設定情報取得部に含まれる切り替えスイッチ(図2)は、スライドタイプのスイッチであるものとして説明した。しかし、切り替えスイッチは種々のタイプのスイッチを採用することができる。例えば、ロータリータイプのスイッチや、押しボタンタイプのスイッチを採用してもよい。また、設定情報「大」、「中」、「小」はあくまで一例であり、利用者から消費電力の上限値となるべき電力の値を直接受け付ける構成としてもよい。この場合、設定テーブルは省略可能である。   For example, the changeover switch (FIG. 2) included in the setting information acquisition unit has been described as a slide type switch. However, various types of switches can be adopted as the changeover switch. For example, a rotary type switch or a push button type switch may be adopted. Further, the setting information “large”, “medium”, and “small” are merely examples, and a configuration may be adopted in which a power value that should be the upper limit value of power consumption is directly received from the user. In this case, the setting table can be omitted.

例えば、上記実施例のルータでは、切り替えスイッチ(図2)への入力を検出することによって設定情報を取得するものとしたが、切り替えスイッチは省略可能である。具体的には、例えば、ルータに接続される端末等を通じて利用者が操作可能なルータの設定画面(例えば、WEBによるルータの設定画面)からの入力を取得することとしてもよい。また、切り替えスイッチと、設定画面からの入力とを併用してもよい。   For example, in the router of the above embodiment, the setting information is acquired by detecting the input to the changeover switch (FIG. 2), but the changeover switch can be omitted. Specifically, for example, an input from a router setting screen (for example, a router setting screen by WEB) that can be operated by a user through a terminal connected to the router may be acquired. Moreover, the changeover switch and input from the setting screen may be used in combination.

C3.変形例3:
上記実施例では、ルータの電力制御部において実行される電力制御処理の一例について説明した。しかし、電力制御処理に関しては、種々の変形が可能である。
C3. Modification 3:
In the above embodiment, an example of the power control process executed in the power control unit of the router has been described. However, various modifications of the power control process are possible.

例えば、電力制御処理は定期的に実行されるものとした。電力制御処理は、定期的に行うのではなく、ある特定のタイミングで実行されることとしてもよい。例えば、電力制御部は、ルータの起動時に実行される初期化処理の一部として、電力制御処理を実行してもよい。また、電力制御部は、ルータの構成の変化を検知したとき(例えば、有線LANポートに新しいLANケーブルが接続されたことを検出したとき)に、電力制御処理を実行することもできる。さらに、利用者による手動(コマンド入力、メニューからの実行選択等)で実行されるものとしてもよい。   For example, the power control process is executed periodically. The power control process may be executed not at regular intervals but at a specific timing. For example, the power control unit may execute the power control process as part of the initialization process executed when the router is activated. The power control unit can also execute power control processing when detecting a change in the configuration of the router (for example, when detecting that a new LAN cable is connected to the wired LAN port). Furthermore, it may be executed manually by a user (command input, execution selection from a menu, etc.).

上記実施例では、ルータが複数の通信方式を実現可能な場合に、データ転送速度を上昇または低下させるための特定の通信方式を選択する手段として、予め定められた条件を用いることとした。しかし、上記各実施例において例示した条件はあくまで一例であり、種々の変更をすることができる。例えば、データ転送速度を決定する際(具体的には、図7のステップS110、S114)に、データ転送速度を上昇または低下させる対象(通信方式)の選択を利用者等から受け付けても良い。   In the above embodiment, when the router can implement a plurality of communication methods, a predetermined condition is used as means for selecting a specific communication method for increasing or decreasing the data transfer rate. However, the conditions exemplified in the above embodiments are merely examples, and various changes can be made. For example, when determining the data transfer rate (specifically, steps S110 and S114 in FIG. 7), selection of a target (communication method) for increasing or decreasing the data transfer rate may be received from the user or the like.

上記実施例では、電力制御処理において用いられるデータ転送速度として、各通信方式(有線通信、無線通信、USBデータ通信)におけるデータ転送速度の理論値を用いることとした。しかし、電力制御処理において用いられるデータ転送速度は理論値に限られない。例えば、データ転送速度として、実効速度の推定値や、実効速度の一般値や、実効速度を実際に計測した実測値を使用してもよい。理論値以外の値を用いる場合、例えば、有線LAN消費電力テーブル320(図4)、無線LAN消費電力テーブル330(図5)、USB消費電力テーブル340(図6)の各テーブルに、推定値、一般値、実測値を格納しておくためのフィールドをさらに設けてもよいし、別のテーブルを設けてもよい。   In the above embodiment, the theoretical value of the data transfer rate in each communication method (wired communication, wireless communication, USB data communication) is used as the data transfer rate used in the power control process. However, the data transfer rate used in the power control process is not limited to the theoretical value. For example, an estimated value of the effective speed, a general value of the effective speed, or an actually measured value obtained by actually measuring the effective speed may be used as the data transfer speed. When using a value other than the theoretical value, for example, each of the wired LAN power consumption table 320 (FIG. 4), the wireless LAN power consumption table 330 (FIG. 5), and the USB power consumption table 340 (FIG. 6) includes an estimated value, A field for storing general values and actual measurement values may be further provided, or another table may be provided.

C4.変形例4:
上記実施例では、ネットワーク中継装置が備える各テーブルについて、その構成の一例を示した。しかし、これらのテーブルが備えるフィールドは任意に定めることができる。例えば、上記に例示したフィールド以外のフィールドを備えるものとしても良い。また、各テーブルには、ダイレクトマップ方式を用いることも可能である。
C4. Modification 4:
In the above embodiment, an example of the configuration of each table provided in the network relay device is shown. However, the fields provided in these tables can be arbitrarily determined. For example, fields other than those exemplified above may be provided. Further, a direct map method can be used for each table.

例えば、上記実施例において、設定値テーブルの消費電力上限フィールドには、設定情報フィールドに格納された設定情報の値に対応したルータの消費電力の上限値(W)、すなわち、実際の消費電力の値が格納されるものとしたが、他の態様を採用しても良い。例えば、設定情報「中」の場合の消費電力を1とした場合の比率を示す値を格納するものとしてもよい。   For example, in the above embodiment, the power consumption upper limit field of the setting value table includes the upper limit value (W) of the router power consumption corresponding to the value of the setting information stored in the setting information field, that is, the actual power consumption. Although the value is stored, other modes may be adopted. For example, a value indicating the ratio when the power consumption in the case of the setting information “medium” is 1 may be stored.

例えば、上記第2実施例では、有線LAN消費電力テーブルと、無線LAN消費電力テーブルと、USB消費電力テーブルとには、あるデータ転送速度の使用率を示す指標値として、使用回数フィールドを備えるものとした。しかし、データ転送速度の使用率を示す指標値は、他の基準を用いて示されても良い。具体的には、例えば、当該データ転送速度で処理されたパケットの数や、当該データ転送速度を用いて処理が行われた時間等が格納されてもよい。   For example, in the second embodiment, the wired LAN power consumption table, the wireless LAN power consumption table, and the USB power consumption table include a usage count field as an index value indicating a usage rate of a certain data transfer rate. It was. However, the index value indicating the usage rate of the data transfer rate may be indicated using other criteria. Specifically, for example, the number of packets processed at the data transfer rate, the time when the process was performed using the data transfer rate, and the like may be stored.

10,10a…ルータ
100…電源入力部
110…電源プラグ
130…電力算出部
200,200a…CPU
210,210a…電力制御部
220…学習部
310…設定テーブル
400…設定情報取得部
410…スイッチ
500…有線LANインタフェース
510…有線LAN制御部
520…ポート
600…無線LAN制御回路
610…無線LAN制御部
620…アンテナ
700…USBインタフェース
710…USB制御部
721…USB1.1機能部
722…USB2.0機能部
723…USB3.0機能部
SC…筐体
CD…つまみ
DESCRIPTION OF SYMBOLS 10,10a ... Router 100 ... Power supply input part 110 ... Power plug 130 ... Power calculation part 200, 200a ... CPU
210, 210a ... Power control unit 220 ... Learning unit 310 ... Setting table 400 ... Setting information acquisition unit 410 ... Switch 500 ... Wired LAN interface 510 ... Wired LAN control unit 520 ... Port 600 ... Wireless LAN control circuit 610 ... Wireless LAN control unit 620 ... Antenna 700 ... USB interface 710 ... USB control unit 721 ... USB 1.1 function unit 722 ... USB 2.0 function unit 723 ... USB 3.0 function unit SC ... Housing CD ... Knob

Claims (8)

ネットワーク中継装置であって、
異なる複数のデータ転送速度での通信を実現可能な通信部と、
前記ネットワーク中継装置が現在消費している電力である第1の消費電力を算出する電力算出部と、
前記ネットワーク中継装置の消費電力の大きさに関する設定情報を取得する設定情報取得部と、
前記複数のデータ転送速度と、当該データ転送速度を実現した場合の消費電力との対応関係を記憶する記憶部と、
前記第1の消費電力と、前記設定情報と、前記対応関係とを用いて、前記通信部におけるデータ転送速度を決定し、決定したデータ転送速度での通信を前記通信部に指示する電力制御部と、
を備える、ネットワーク中継装置。
A network relay device,
A communication unit capable of realizing communication at different data transfer rates;
A power calculator that calculates a first power consumption that is currently consumed by the network relay device;
A setting information acquisition unit that acquires setting information related to the amount of power consumption of the network relay device;
A storage unit for storing a correspondence relationship between the plurality of data transfer rates and power consumption when the data transfer rates are realized;
A power control unit that determines a data transfer rate in the communication unit using the first power consumption, the setting information, and the correspondence relationship, and instructs the communication unit to communicate at the determined data transfer rate When,
A network relay device comprising:
請求項1記載のネットワーク中継装置であって、
前記電力制御部は、
前記設定情報から直接的または間接的に導かれる第2の消費電力と、前記第1の消費電力とを比較し、
前記第2の消費電力が前記第1の消費電力よりも大きい場合は、前記対応関係を用いて前記通信部におけるデータ転送速度を上昇させ、
前記第2の消費電力が前記第1の消費電力よりも小さい場合は、前記対応関係を用いて前記通信部におけるデータ転送速度を低下させる、ネットワーク中継装置。
The network relay device according to claim 1,
The power control unit
Comparing the second power consumption directly or indirectly derived from the setting information with the first power consumption;
When the second power consumption is larger than the first power consumption, the data transfer rate in the communication unit is increased using the correspondence relationship,
When the second power consumption is smaller than the first power consumption, the network relay device reduces the data transfer rate in the communication unit using the correspondence relationship.
請求項1記載のネットワーク中継装置であって、
前記通信部は、異なる複数の通信方式について、異なる複数のデータ転送速度での通信を実現可能であり、
前記記憶部には、前記複数の通信方式について、それぞれ、前記対応関係が記憶され、
前記電力制御部は、
前記設定情報から直接的または間接的に導かれる第2の消費電力と、前記第1の消費電力とを比較し、
前記第2の消費電力が前記第1の消費電力よりも大きい場合は、複数の前記対応関係を用い、かつ、予め定められた条件に従って、前記複数の通信方式から選択した特定の通信方式について、前記通信部におけるデータ転送速度を上昇させ、
前記第2の消費電力が前記第1の消費電力よりも小さい場合は、複数の前記対応関係を用い、かつ、予め定められた条件に従って、前記複数の通信方式から選択した特定の通信方式について、前記通信部におけるデータ転送速度を低下させる、ネットワーク中継装置。
The network relay device according to claim 1,
The communication unit can realize communication at different data transfer rates for different communication methods,
The storage unit stores the correspondence relationship for each of the plurality of communication methods,
The power control unit
Comparing the second power consumption directly or indirectly derived from the setting information with the first power consumption;
When the second power consumption is larger than the first power consumption, for a specific communication method selected from the plurality of communication methods using a plurality of the correspondence relationships and according to a predetermined condition, Increase the data transfer rate in the communication unit,
When the second power consumption is smaller than the first power consumption, for a specific communication method selected from the plurality of communication methods using a plurality of the correspondence relationships and according to a predetermined condition, A network relay device that reduces a data transfer rate in the communication unit.
請求項3記載のネットワーク中継装置であって、
前記予め定められた条件は、前記複数の通信方式間において予め定められた優先順位を用いた条件と、前記複数の通信方式のそれぞれにおいて現在使用されているデータ転送速度の速度差を用いた条件と、のいずれかである、ネットワーク中継装置。
The network relay device according to claim 3,
The predetermined condition includes a condition using a predetermined priority order among the plurality of communication methods and a condition using a speed difference between data transfer rates currently used in each of the plurality of communication methods. And a network relay device.
請求項3記載のネットワーク中継装置であって、
前記対応関係には、前記複数のデータ転送速度に対応付けられて、さらに、当該データ転送速度の使用率を示す指標値が含まれ、
前記ネットワーク中継装置は、さらに、
前記通信部を監視し、前記指標値を更新する学習部を備え、
前記予め定められた条件は、前記指標値を用いた条件である、ネットワーク中継装置。
The network relay device according to claim 3,
The correspondence relationship is associated with the plurality of data transfer rates, and further includes an index value indicating a usage rate of the data transfer rates,
The network relay device further includes:
A learning unit that monitors the communication unit and updates the index value;
The network relay device, wherein the predetermined condition is a condition using the index value.
請求項1ないし5のいずれか一項記載のネットワーク中継装置であって、
前記設定情報取得部は、前記ネットワーク中継装置の筐体に設けられる切り替えスイッチを含む、ネットワーク中継装置。
The network relay device according to any one of claims 1 to 5,
The setting information acquisition unit is a network relay device including a changeover switch provided in a housing of the network relay device.
請求項1ないし6のいずれか一項記載のネットワーク中継装置であって、
前記通信部には、無線による通信を実現する無線通信部と、有線による通信を実現する有線通信部と、ユニバーサルシリアルバス(USB)接続における通信を実現するUSBデータ通信部とのうちの、少なくともいずれか1つが含まれる、ネットワーク中継装置。
The network relay device according to any one of claims 1 to 6,
The communication unit includes at least one of a wireless communication unit that realizes wireless communication, a wired communication unit that realizes wired communication, and a USB data communication unit that realizes communication in a universal serial bus (USB) connection. A network relay device including any one of them.
ネットワーク中継装置の制御方法であって、
(a)ネットワーク中継装置が現在消費している電力である第1の消費電力を算出する工程と、
(b)前記ネットワーク中継装置の消費電力の大きさに関する設定情報を取得する工程と、
(c)前記ネットワーク中継装置が備える通信部における異なる複数のデータ転送速度と、当該データ転送速度を実現した場合の消費電力との対応関係を記憶する工程と、
(d)前記第1の消費電力と、前記設定情報と、前記対応関係とを用いて、前記通信部におけるデータ転送速度を決定し、決定したデータ転送速度での通信を前記通信部に指示する工程と、
を備える、ネットワーク中継装置の制御方法。
A method for controlling a network relay device,
(A) calculating a first power consumption which is a power currently consumed by the network relay device;
(B) acquiring setting information regarding the magnitude of power consumption of the network relay device;
(C) storing a correspondence relationship between a plurality of different data transfer rates in a communication unit included in the network relay device and power consumption when the data transfer rates are realized;
(D) Using the first power consumption, the setting information, and the correspondence relationship, determine a data transfer rate in the communication unit, and instruct the communication unit to perform communication at the determined data transfer rate. Process,
A method for controlling a network relay device.
JP2011027380A 2011-02-10 2011-02-10 Network relay device and control method for network relay device Withdrawn JP2012169761A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011027380A JP2012169761A (en) 2011-02-10 2011-02-10 Network relay device and control method for network relay device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011027380A JP2012169761A (en) 2011-02-10 2011-02-10 Network relay device and control method for network relay device

Publications (1)

Publication Number Publication Date
JP2012169761A true JP2012169761A (en) 2012-09-06

Family

ID=46973499

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011027380A Withdrawn JP2012169761A (en) 2011-02-10 2011-02-10 Network relay device and control method for network relay device

Country Status (1)

Country Link
JP (1) JP2012169761A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016046635A (en) * 2014-08-21 2016-04-04 Necプラットフォームズ株式会社 Communication device
US10270517B2 (en) 2014-12-16 2019-04-23 Interdigital Ce Patent Holdings Method of selectively enabling a wireless access point or repeater

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016046635A (en) * 2014-08-21 2016-04-04 Necプラットフォームズ株式会社 Communication device
US10270517B2 (en) 2014-12-16 2019-04-23 Interdigital Ce Patent Holdings Method of selectively enabling a wireless access point or repeater

Similar Documents

Publication Publication Date Title
US10285125B2 (en) Method of operating a communication device operable in an active mode and in an idle mode, a computer program product for executing the method, and the communication device operable in an active mode and in an idle mode
EP2887759B1 (en) Mobile hotspot device and method for accessing network
JP5047360B2 (en) Buffering technology for power management
EP2770664B1 (en) Ethernet power supply method, apparatus and system.
US11726535B2 (en) Providing power to a server
JP6192284B2 (en) COMMUNICATION DEVICE AND ITS CONTROL METHOD
US20130313892A1 (en) Power management device and method
US20120137150A1 (en) Data processing apparatus, method for controlling data processing apparatus, and storage medium storing program
KR20110120958A (en) Method and apparatus for increasing the number of powered devices supported by power over ethernet system
EP3024160B1 (en) Control method, device and optical transceiver
CN103298041A (en) Method, equipment and system for automatic switching of wireless router
US20120042179A1 (en) Server Machine, Power-Consumption Control Method, and Network System
US10503242B2 (en) Power supply method, apparatus, and system
CN109245194B (en) Multi-device wireless charging method, system, device and storage medium
JP2012169761A (en) Network relay device and control method for network relay device
JP2010140241A (en) Network repeater, and method and computer program for controlling power of network repeater
US20120054373A1 (en) Connection Apparatus, and Method Used in Connection Apparatus
WO2016145858A1 (en) Power over ethernet control method and device
CN115004640A (en) Equipment power consumption management system, method, equipment and storage medium
CN103546301A (en) Method and system for POE system to carry out overload protection on equipment
JP2011211613A (en) Radio access point apparatus, access point control method, and access point control program
Nishiguchi et al. Communication Link Switching Method Based on Destination IP Address for Power Savings
CN110574468A (en) Quality score based network connection selection
Chen et al. A mechanism for load proportional energy use in wireless local area networks
JP2013126055A (en) Communication device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140513