[go: up one dir, main page]

TWI422191B - Electricity management methods, power management devices and computer program products - Google Patents

Electricity management methods, power management devices and computer program products Download PDF

Info

Publication number
TWI422191B
TWI422191B TW98123723A TW98123723A TWI422191B TW I422191 B TWI422191 B TW I422191B TW 98123723 A TW98123723 A TW 98123723A TW 98123723 A TW98123723 A TW 98123723A TW I422191 B TWI422191 B TW I422191B
Authority
TW
Taiwan
Prior art keywords
power
transmission interface
connection
time
port
Prior art date
Application number
TW98123723A
Other languages
Chinese (zh)
Other versions
TW201103286A (en
Original Assignee
Senao Networks 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 Senao Networks Inc filed Critical Senao Networks Inc
Priority to TW98123723A priority Critical patent/TWI422191B/en
Publication of TW201103286A publication Critical patent/TW201103286A/en
Application granted granted Critical
Publication of TWI422191B publication Critical patent/TWI422191B/en

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

電量管理方法、電量管理裝置及電腦程式產品Power management method, power management device and computer program product

本發明是有關於一種管理方法、管理裝置與程式產品,特別是指一種電量管理方法、電量管理裝置和用於調整電量的電腦程式產品。The present invention relates to a management method, a management device, and a program product, and more particularly to a power management method, a power management device, and a computer program product for adjusting power.

由於乙太網路具有高速傳輸、相容性高,且傳輸距離可擴展應用到都會網路(LAN)及廣域網路(WAN),因此成為目前資源共享的重要工具。Because Ethernet has high-speed transmission, high compatibility, and the transmission distance can be extended to metropolitan area network (LAN) and wide area network (WAN), it has become an important tool for resource sharing.

而乙太網路交換機(Ethernet Switch)是在乙太網路傳輸的一項重要裝置,其應用於接收來自網路上的封包,以達到資訊交換和資源共享的目的,但是隨著光纖的推廣而大幅增加傳輸資料量且乙太網路交換機的操作頻率越來越高,而使解決功率消耗的問題成為目前研究的方向。The Ethernet Switch is an important device for transmission over Ethernet. It is used to receive packets from the network for information exchange and resource sharing, but with the promotion of optical fibers. The transmission data volume is greatly increased and the operating frequency of the Ethernet switch is getting higher and higher, so that the problem of solving the power consumption becomes the current research direction.

目前大部分研究無法根據乙太網路交換機的封包流量以動態地切換乙太網路交換機之傳輸介面於有電和無電的狀態,因此不能有效地在無封包或封包少時關閉電源或減少操作頻率以節省功率,且習知的控制方式無法彈性調整,當想要修改控制條件或擴充機器功能時必須換新電路,且隨著使用的時間造成機器老化,必須定期維修檢查,又將造成額外的成本支出。At present, most of the research cannot dynamically switch the transmission interface of the Ethernet switch according to the packet traffic of the Ethernet switch in the state of being powered and unpowered, so it cannot effectively turn off the power or reduce the operation when there is no packet or packet. Frequency to save power, and the conventional control method can not be adjusted flexibly. When you want to modify the control conditions or expand the machine function, you must replace the new circuit. If the machine ages due to the time of use, you must perform regular maintenance inspection, which will cause additional Cost of expenditure.

因此,本發明之目的,即在提供一種避免上述缺失和增加效率的電量管理方法。Accordingly, it is an object of the present invention to provide a power management method that avoids the above-mentioned deficiencies and increases efficiency.

該電量管理方法,適用於一乙太網路交換機中,而該乙太網路交換機包括多數個具有傳輸介面和控制器的連接埠,且該電量管理方法包含以下步驟:利用一判斷單元偵測每一連接埠是否有實體層連結的情況,以區分出無連結的連接埠和已連結的連接埠;及利用一判斷單元偵測已連結的連接埠之傳輸介面是否有流量,且於該傳輸介面沒有流量時,利用一設定單元將該傳輸介面關閉。The power management method is applicable to an Ethernet switch, and the Ethernet switch includes a plurality of ports having a transmission interface and a controller, and the power management method includes the following steps: detecting by using a determining unit Whether each connection has a physical layer connection to distinguish between a connectionless connection port and a connected connection port; and using a determination unit to detect whether the transmission interface of the connected connection port has traffic, and in the transmission When there is no traffic in the interface, the transmission interface is closed by a setting unit.

本發明之另一目的,即在提供一種避免上述缺失和增加效率的電量管理裝置。Another object of the present invention is to provide a power management apparatus that avoids the above-mentioned deficiencies and increases efficiency.

該電量管理裝置適用於一乙太網路交換機中,而該乙太網路交換機包括多數個具有傳輸介面和控制器的連接埠,且該電量管理裝置包含:一判斷單元,偵測每一連接埠是否有實體層連結的情況,以區分出無連結的連接埠和已連結的連接埠,進而偵測已連結的連接埠之傳輸介面是否有流量以得到一偵測結果;及一設定單元,接收該偵測結果而根據該偵測結果決定是否將該傳輸介面關閉。The power management device is applicable to an Ethernet switch, and the Ethernet switch includes a plurality of ports having a transmission interface and a controller, and the power management device includes: a determining unit that detects each connection Whether there is a physical layer connection to distinguish between a connectionless connection port and a connected connection port, thereby detecting whether the transmission interface of the connected connection port has a traffic to obtain a detection result; and a setting unit, Receiving the detection result and determining whether to close the transmission interface according to the detection result.

本發明之第三目的,即在提供一種避免上述缺失和增加效率的電腦程式產品。A third object of the present invention is to provide a computer program product that avoids the above-mentioned drawbacks and increases efficiency.

該電腦程式產品經由一電腦之一處理器載入該程式執行對一乙太網路交換機的控制,而該乙太網路交換機包括多數個具有傳輸介面和控制器的連接埠,且該電腦程式產品包含:使該處理器偵測每一連接埠是否有實體層連結的情況,以區分出無連結的連接埠和已連結的連接埠的程式指令;及使該處理器偵測已連結的連接埠之傳輸介面是否有流量,且於該傳輸介面沒有流量時將該傳輸介面關閉的程式指令。The computer program product is loaded into the program by a processor of a computer to perform control of an Ethernet switch, and the Ethernet switch includes a plurality of ports having a transmission interface and a controller, and the computer program The product includes: causing the processor to detect whether there is a physical layer connection in each connection, to distinguish between the unconnected port and the connected port, and to enable the processor to detect the connected connection Whether there is traffic in the transmission interface, and the program instruction to close the transmission interface when there is no traffic in the transmission interface.

有關本發明之前述及其他技術內容、特點與功效,在以下配合參考圖式之一個較佳實施例的詳細說明中,將可清楚的呈現。The above and other technical contents, features and advantages of the present invention will be apparent from the following detailed description of the preferred embodiments.

如圖1所示,本發明電量管理裝置之較佳實施例,適用於一乙太網路交換機(Ethernet switch)中節省所使用的電量,且包含一判斷單元C1、一設定單元C2及一分析單元C3。而該乙太網路交換機包括多數個連接埠2(為方便說明,圖中僅畫出一連接埠)。As shown in FIG. 1 , a preferred embodiment of the power management device of the present invention is applicable to saving power used in an Ethernet switch, and includes a determining unit C1, a setting unit C2, and an analysis. Unit C3. The Ethernet switch includes a plurality of ports 2 (for convenience, only one port is shown in the figure).

每一連接埠2具有一電連接於電量管理裝置的控制器21和一電連接於控制器21的傳輸介面22,每一控制器21用於確認其所屬的連接埠2是否連線於一電子裝置,而每一傳輸介面22可電連接於一電子裝置且與其進行資料交換。Each port 2 has a controller 21 electrically connected to the power management device and a transmission interface 22 electrically connected to the controller 21, each controller 21 for confirming whether the port 2 to which it belongs is connected to an electronic device. The device, and each of the transmission interfaces 22 can be electrically connected to an electronic device and exchange data therewith.

分析單元C3電連接於該設定單元C2。設定單元C2電連接於每一連接埠2。判斷單元C1電連接於控制器21、傳輸介面22、設定單元C2和分析單元C3。The analyzing unit C3 is electrically connected to the setting unit C2. The setting unit C2 is electrically connected to each of the ports 2. The judging unit C1 is electrically connected to the controller 21, the transmission interface 22, the setting unit C2, and the analyzing unit C3.

本發明電量管理裝置所執行的電量管理方法如圖2所示,且包含以下步驟:步驟10:分析單元C3分析客戶端可能使用網路的時間,而得到一分析結果,且將分析結果通知設定單元C2以動態設定一設定通電時間ton 與一設定不通電時間toffThe power management method executed by the power management apparatus of the present invention is as shown in FIG. 2, and includes the following steps: Step 10: The analysis unit C3 analyzes the time when the client may use the network, and obtains an analysis result, and notifies the analysis result of the analysis result. The unit C2 dynamically sets a set energization time t on and a set non-energization time t off .

在此舉一例子說明,假設使用者是一上班族,則步驟10中可能分析出使用者在家使用網路的時間是17:00到24:00,其他時間可能在睡覺或是上班。因此在17:00到24:00間,如圖3所示,設定該設定通電時間ton 為五秒,而該設定不通電時間toff 為兩秒。而在0:00~17:00期間,如圖4所示,將設定通電時間ton 減少為兩秒,而將設定不通電時間toff 增加為五秒,這樣可以更有效率的省電。惟設定方式不以上述所提為限。In this example, if the user is an office worker, step 10 may analyze that the user is using the Internet at home from 17:00 to 24:00, and may be sleeping or going to work at other times. Therefore, between 17:00 and 24:00, as shown in FIG. 3, the set energization time t on is set to five seconds, and the set non-energization time tot is two seconds. During the period from 0:00 to 17:00, as shown in FIG. 4, the set energization time t on is reduced to two seconds, and the set non-energization time t off is increased to five seconds, which can save power more efficiently. However, the setting method is not limited to the above.

步驟11:判斷單元C1於設定通電時間內偵測乙太網路交換機的每一連接埠2是否有實體層連結的情況,以區分出無連結的連接埠和已連結的連接埠而得到一區分結果,且將區分結果告知設定單元C2和分析單元C3,再分別進到步驟12、14對無連結的連接埠、已連結的連接埠進行處理。Step 11: The determining unit C1 detects whether each connection 埠2 of the Ethernet switch has a physical layer connection in the set power-on time, so as to distinguish the unconnected port and the connected port to obtain a distinction. As a result, the setting result is notified to the setting unit C2 and the analyzing unit C3, and then proceeds to steps 12 and 14 to process the unconnected port and the connected port.

且於此步驟11中,判斷單元C1偵測每一連接埠2(此連接埠2不限定為有線或是無線連接埠)是否有實體層連結(有線的實體層連接為網路線,無線之實體層連結為電波)的方式如下所示:若連接埠是以有線的方式與電子裝置進行資料交換,則偵測方式包括:In this step 11, the determining unit C1 detects whether each port 2 (this port 2 is not limited to a wired or wireless port) has a physical layer connection (the wired physical layer is connected to the network route, the wireless entity) The way the layer is connected to the radio wave is as follows: If the port is wired to exchange data with the electronic device, the detection method includes:

方式(1):判斷單元C1持續發出一電子信號給每一連接埠的控制器,且判斷於一有效期間內有無收到連接埠2之控制器21的回應,進而將有回應的連接埠判斷為已連結的連接埠,而將無回應的連接埠判斷為無連結的連接埠,也就是說若一電子裝置連結於乙太網路交換機的連接埠時,該電子裝置將與連接埠2的控制器21先進行交握(handshaking),使連接埠2的控制器21確認有連線,且待收到判斷單元C1所發出的電子信號時將回應判斷單元C1,使判斷單元C1判斷與電子裝置發生連線的連接埠為已連結的連接埠。Mode (1): The determining unit C1 continuously sends an electronic signal to the controller of each port, and determines whether there is a response from the controller 21 that receives the port 2 within a valid period, and then judges the connection with the response. For the connected port, the unresponsive port is judged as a connectionless port, that is, if an electronic device is connected to the port of the Ethernet switch, the electronic device will be connected to the port 2 The controller 21 first performs handshake, so that the controller 21 of the connection port 2 confirms that there is a connection, and when it receives the electronic signal sent by the judgment unit C1, it will respond to the judgment unit C1, so that the judgment unit C1 judges and the electronic The connection where the device is connected is the connected port.

方式(2):判斷單元C1判斷是否有收到連接埠之控制器的一連結通知,有的話,則判斷有連結,反之,則無連結。即:當使用者把網路線插上一個連接埠2且卡榫成功地卡進卡槽時,該連接埠2的控制器21會發出一連結通知以通知判斷單元C1有實體連結產生。Mode (2): The judging unit C1 judges whether or not there is a link notification of the controller that has received the connection, and if so, determines that there is a connection, and conversely, there is no connection. That is, when the user inserts the network route into a port 2 and the card is successfully inserted into the card slot, the controller 21 of the port 2 issues a link notification to notify the judgment unit C1 that a physical link is generated.

若連接埠2是以無線的方式與電子裝置進行資料交換,則於此步驟11中的另一實施例為,電量管理裝置更包含一連接紀錄表,每一個連結到連接埠2的電子裝置,都會經由該控制器21傳送一連接資訊儲存於連接紀錄表內,進而判斷單元C1可根據該連接紀錄表來判別無線連接埠是否有實體層連結。If the connection port 2 is to exchange data with the electronic device in a wireless manner, in another embodiment of the step 11, the power management device further includes a connection record table, and each of the electronic devices connected to the connection port 2 is configured. A connection information is transmitted via the controller 21 and stored in the connection record table, and the determination unit C1 can determine whether the wireless connection port has a physical layer connection according to the connection record table.

步驟12:設定單元C2先將每一無連結的連接埠之電源狀態從有電切換成無電,且使每一無連結的連接埠於該設定不通電時間內維持無電狀態。Step 12: The setting unit C2 first switches the power state of each unconnected port from power to no power, and causes each unconnected port to maintain a powerless state within the set non-energized time.

步驟13:當經過該設定不通電時間後,設定單元C2將步驟12中無連結的連接埠之電源狀態從無電切換成有電,且使每一無連結的連接埠於設定通電時間內維持有電狀態,且跳到步驟11。Step 13: After the set non-power-on time, the setting unit C2 switches the power state of the unconnected port in step 12 from no power to power, and maintains each unconnected port within the set power-on time. Electrical state, and skip to step 11.

步驟14:判斷單元C1對每一個已連結的連接埠之傳輸介面22偵測是否有流量而得到一偵測結果,且將偵測結果傳送至設定單元C2,當偵測結果顯示無流量情況,則跳到步驟15,當偵測結果顯示有流量情況,則跳到步驟17。Step 14: The determining unit C1 detects whether there is traffic in the transmission interface 22 of each connected port, and obtains a detection result, and transmits the detection result to the setting unit C2. When the detection result shows no traffic, Then skip to step 15. When the detection result shows that there is traffic, skip to step 17.

步驟15:設定單元C2將於一預定時間內暫時使於步驟14中無流量的傳輸介面22處於無電的狀態,且當經過該預定時間後跳回步驟16。Step 15: The setting unit C2 temporarily puts the transmission-free transmission interface 22 in the step 14 in a state of no power for a predetermined time, and jumps back to the step 16 after the predetermined time elapses.

步驟16:設定單元C2使步驟15的傳輸介面22由無電切換成有電,且跳回步驟14。Step 16: Set unit C2 to switch the transmission interface 22 of step 15 from no power to active, and jump back to step 14.

如圖5所示,若本發明電量管理裝置W1使用於一具有一有線連接埠W2和一無線連接埠W3的網路交換機W0,該有線連接埠W2連接到一電子裝置(如個人電腦),而無線連接埠W3則以電波方式與另一無線電子裝置進行資料交換,則於上述步驟15~16中的另一實施例為若偵測結果顯示有線連接埠W2的傳輸界面22無流量,則設定單元C2使無線連接埠W3處於無電的狀態,且當偵測結果顯示有線連接埠W2的傳輸界面22有流量,再使無線連接埠W3由無電切換成有電。As shown in FIG. 5, if the power management device W1 of the present invention is used in a network switch W0 having a wired connection W2 and a wireless connection W3, the wired connection W2 is connected to an electronic device (such as a personal computer). The wireless connection 埠W3 exchanges data with another wireless electronic device by radio waves. In another embodiment of the above steps 15-16, if the detection result shows that the transmission interface 22 of the wired connection 埠W2 has no traffic, then The setting unit C2 causes the wireless connection port W3 to be in a state of no power, and when the detection result shows that the transmission interface 22 of the wired connection port W2 has a flow rate, the wireless connection port W3 is switched from no power to power.

步驟17:設定單元C2根據偵測結果所顯示的流量大小以動態地調整於步驟14中有流量的傳輸介面22之工作頻率,而減少功率損失。Step 17: The setting unit C2 dynamically adjusts the operating frequency of the transmission interface 22 having the flow rate in the step 14 according to the flow rate displayed by the detection result, thereby reducing the power loss.

在此舉一例子說明步驟17,若乙太網路交換機可操作於傳輸Gbps位元的資料量,而與其連結的電子裝置的資料流量只有10/100Mbps時,可動態地降低其所對應的傳輸介面之工作頻率從125MHz到100MHz。例如,當乙太網路交換機的連接埠所使用的傳輸介面22為簡化G位元媒體獨立介面(RGM II)時,則可將RGMII的工作頻率從125MHz降到100MHz。In this example, step 17 is illustrated. If the Ethernet switch is operable to transmit the amount of data of the Gbps bit, and the data traffic of the connected electronic device is only 10/100 Mbps, the corresponding transmission can be dynamically reduced. The interface operates from 125MHz to 100MHz. For example, when the Ethernet interface of the Ethernet switch is used to simplify the G-bit Media Independent Interface (RGM II), the operating frequency of the RGMII can be reduced from 125 MHz to 100 MHz.

綜上所述,將本發明之較佳實施例應用於乙太網路的傳輸管理上,具有以下優點:對連接埠2和其傳輸介面22的供電狀態進行切換,且根據流量以調整傳輸介面22的工作頻率,以減少不必要的功率消耗和降低電磁干擾(EMI)的影響,以達到節能省碳的效果。In summary, the preferred embodiment of the present invention is applied to the transmission management of the Ethernet network, and has the following advantages: switching the power supply state of the connection port 2 and its transmission interface 22, and adjusting the transmission interface according to the traffic. 22 operating frequency to reduce unnecessary power consumption and reduce the impact of electromagnetic interference (EMI) to achieve energy saving and carbon saving effect.

值得注意的是,本發明之電量管理裝置亦可以軟體方式來實現為一種電腦程式產品,例如將該分析單元、判斷單元及設定單元的功能設計成相關的程式之後,輸入至一具備電腦處理能力的硬體裝置(如一處理器),即可以執行前述的分析、判斷及設定步驟。且在使用軟體方式下,不會增加原來乙太網路交換機的電路複雜度,而容易地安裝到任何平台上面,且當想要修改控制條件時只須重新設定參數。It should be noted that the power management device of the present invention can also be implemented as a computer program product in a software manner. For example, after designing the functions of the analysis unit, the determination unit, and the setting unit into related programs, the input to a computer processing capability is input. The hardware device (such as a processor) can perform the aforementioned analysis, determination and setting steps. Moreover, in the software mode, the circuit complexity of the original Ethernet switch is not increased, and it is easy to install on any platform, and it is only necessary to reset the parameters when it is desired to modify the control conditions.

惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。The above is only the preferred embodiment of the present invention, and the scope of the invention is not limited thereto, that is, the simple equivalent changes and modifications made by the scope of the invention and the description of the invention are All remain within the scope of the invention patent.

C1...判斷單元C1. . . Judging unit

C2...設定單元C2. . . Setting unit

C3...分析單元C3. . . Analysis unit

2...連接埠2. . . Connection

21...控制器twenty one. . . Controller

22...傳輸介面twenty two. . . Transmission interface

10...調整通電與不通電時間的步驟10. . . Steps to adjust the power on and off time

11...偵測有無實體層連結的步驟11. . . Steps to detect the presence or absence of a physical layer link

12...調整無電的步驟12. . . Adjust the steps without electricity

13...調整有電的步驟13. . . Adjust the steps with electricity

14...調整流量的步驟14. . . Steps to adjust traffic

15...關閉傳輸介面的步驟15. . . Steps to close the transport interface

16...傳輸介面切換電源的步驟16. . . Transfer interface switching power supply steps

17...調整工作頻率的步驟17. . . Steps to adjust the working frequency

W0...網路交換機W0. . . Network switch

W1...電量管理裝置W1. . . Power management device

W2...有線連接埠W2. . . Wired connection埠

W3...無線連接埠W3. . . Wireless connection埠

圖1是本發明之較佳實施例的一電路圖;Figure 1 is a circuit diagram of a preferred embodiment of the present invention;

圖2是該較佳實施例的一流程圖;Figure 2 is a flow chart of the preferred embodiment;

圖3是連接埠之電源狀態的一示意圖;及Figure 3 is a schematic diagram of the power state of the connection port; and

圖4是連接埠之電源狀態的另一示意圖;及Figure 4 is another schematic diagram of the power state of the connection port; and

圖5是該較佳實施例的另一電路圖。Figure 5 is another circuit diagram of the preferred embodiment.

10...調整通電與不通電時間的步驟10. . . Steps to adjust the power on and off time

11...偵測有無實體層連結的步驟11. . . Steps to detect the presence or absence of a physical layer link

12...調整無電的步驟12. . . Adjust the steps without electricity

13...調整有電的步驟13. . . Adjust the steps with electricity

14...調整流量的步驟14. . . Steps to adjust traffic

15...關閉傳輸介面的步驟15. . . Steps to close the transport interface

16...傳輸介面切換電源的步驟16. . . Transfer interface switching power supply steps

17...調整工作頻率的步驟17. . . Steps to adjust the working frequency

Claims (18)

一種電量管理方法,適用於一乙太網路交換機中,而該乙太網路交換機包括多數個具有傳輸介面和控制器的連接埠,且該電量管理方法包含以下步驟:利用一判斷單元偵測每一連接埠是否有實體層連結的情況,以區分出無連結的連接埠和已連結的連接埠;利用一判斷單元偵測已連結的連接埠之傳輸介面是否有流量,且於該傳輸介面沒有流量時,利用一設定單元將該傳輸介面關閉;及利用一分析單元分析客戶端使用網路的時間,以動態設定出一設定不通電時間,且使無連結的連接埠於該設定不通電時間內維持為無電狀態,當經過該設定不通電時間後,再切換成有電狀態。 A power management method is applicable to an Ethernet switch, and the Ethernet switch includes a plurality of ports having a transmission interface and a controller, and the power management method includes the following steps: detecting by using a determining unit Whether each connection has a physical layer connection to distinguish between a connectionless connection port and a connected connection port; and a determination unit detects whether the transmission interface of the connected connection port has traffic, and the transmission interface When there is no traffic, the transmission interface is closed by using a setting unit; and an analysis unit is used to analyze the time when the client uses the network to dynamically set a set non-power-on time, and the unconnected connection is not powered by the setting. The power is maintained in the no-power state for a while, and after the setting is not energized, the battery is switched to the powered state. 依據申請專利範圍第1項所述之電量管理方法,其中,若無實體層連結,更利用該設定單元將每一無連結的連接埠之電源狀態從有電切換成無電,且使每一無連結的連接埠維持為無電狀態。 According to the power management method of claim 1, wherein, if there is no physical layer connection, the setting unit is used to switch the power state of each unconnected connection from power to no power, and make each The connected port is maintained in an unpowered state. 依據申請專利範圍第1項所述之電量管理方法,其中,更利用一分析單元分析客戶端使用網路的時間,以動態設定出一設定通電時間,且利用該判斷單元於該設定通電時間內偵測每一連接埠是否有實體層連結的情況。 According to the power management method of claim 1, wherein the analyzing unit analyzes the time when the client uses the network to dynamically set a set power-on time, and uses the determining unit to set the power-on time. Detect if each connection has a physical layer connection. 依據申請專利範圍第1項所述之電量管理方法,其中,若沒有流量,則利用該設定單元將於一預定時間內暫時使無流量的該傳輸介面處於無電的狀態。 The power management method according to claim 1, wherein if there is no traffic, the setting unit temporarily temporarily disables the transmission interface without traffic in a predetermined period of time. 依據申請專利範圍第4項所述之電量管理方法,其中,當經過該預定時間後,利用該設定單元使該傳輸介面由無電切換成有電。 According to the power management method of claim 4, after the predetermined time elapses, the setting unit is used to switch the transmission interface from no power to power. 依據申請專利範圍第1項所述之電量管理方法,其中,若有流量,則利用該設定單元根據流量大小以動態地調整有流量的該傳輸介面之工作頻率。 The power management method according to claim 1, wherein if there is a flow rate, the setting unit dynamically adjusts an operating frequency of the transmission interface having a flow rate according to the flow rate. 一種電量管理裝置,適用於一乙太網路交換機中,而該乙太網路交換機包括多數個具有傳輸介面和控制器的連接埠,且該電量管理裝置包含:一判斷單元,偵測每一連接埠是否有實體層連結的情況,以區分出無連結的連接埠和已連結的連接埠,進而偵測已連結的連接埠之傳輸介面是否有流量以得到一偵測結果;一設定單元,接收該偵測結果而根據該偵測結果決定是否將該傳輸介面關閉;及一分析單元,該分析單元分析客戶端使用網路的時間而得到一分析結果,且將分析結果通知該設定單元以動態設定出一設定不通電時間,且該設定單元使無連結的連接埠於該設定不通電時間內維持為無電狀態,當經過該設定不通電時間後,再切換成有電狀態。 A power management device is applicable to an Ethernet switch, and the Ethernet switch includes a plurality of ports having a transmission interface and a controller, and the power management device includes: a determining unit that detects each Whether there is a physical layer connection in the connection to distinguish between the unconnected port and the connected port, thereby detecting whether the transmission interface of the connected port has a traffic to obtain a detection result; a setting unit, Receiving the detection result and determining whether to close the transmission interface according to the detection result; and an analyzing unit, analyzing the time when the client uses the network to obtain an analysis result, and notifying the setting unit of the analysis result The setting time is set dynamically, and the setting unit maintains the unconnected connection in the no-power-on state during the set non-energization time, and then switches to the powered state after the set non-energization time. 依據申請專利範圍第7項所述之電量管理裝置,其中,若無實體層連結,該設定單元更將每一無連結的連接埠之電源狀態從有電切換成無電,且使每一無連結的連接埠維持為無電狀態。 According to the power management device of claim 7, wherein, if there is no physical layer connection, the setting unit switches the power state of each unconnected port from power to no power, and makes each link unconnected. The port is maintained in an unpowered state. 依據申請專利範圍第7項所述之電量管理裝置,其中,更包含一分析單元,該分析單元分析客戶端使用網路的時間而得到一分析結果,且將分析結果通知該設定單元以動態設定出一設定通電時間,且該判斷單元於該設定通電時間內偵測每一連接埠是否有實體層連結的情況。 The power management device according to claim 7 , further comprising an analysis unit, wherein the analysis unit analyzes a time when the client uses the network to obtain an analysis result, and notifies the setting unit to dynamically set the analysis result. A set power-on time is set, and the determining unit detects whether each port has a physical layer connection in the set power-on time. 依據申請專利範圍第7項所述之電量管理裝置,其中,若該偵測結果顯示沒有流量,則該設定單元將於一預定時間內暫時使無流量的該傳輸介面處於無電的狀態。 According to the power management device of claim 7, wherein if the detection result shows that there is no traffic, the setting unit temporarily temporarily disables the transmission interface without traffic in a predetermined time. 依據申請專利範圍第10項所述之電量管理裝置,其中,當經過該預定時間後,該設定單元使該傳輸介面由無電切換成有電。 The power management device according to claim 10, wherein the setting unit switches the transmission interface from no power to power after the predetermined time elapses. 依據申請專利範圍第7項所述之電量管理裝置,其中,若該偵測結果顯示有流量,則該設定單元更根據流量大小以動態地調整有流量的該傳輸介面之工作頻率。 According to the power management device of claim 7, wherein the setting unit further dynamically adjusts the operating frequency of the transmission interface having the flow rate according to the flow rate. 一種電腦程式產品,經由一電腦之一處理器載入該程式執行對一乙太網路交換機的控制,而該乙太網路交換機包括多數個具有傳輸介面和控制器的連接埠,且該電腦程式產品包含:使該處理器偵測每一連接埠是否有實體層連結的情況,以區分出無連結的連接埠和已連結的連接埠的程式指令;使該處理器偵測已連結的連接埠之傳輸介面是否有流量,且於該傳輸介面沒有流量時將該傳輸介面關閉的程式指令;及 分析客戶端使用網路的時間以動態設定出一設定不通電時間,且使無連結的連接埠於該設定不通電時間內維持為無電狀態,當經過該設定不通電時間後再切換成有電狀態的程式指令。 A computer program product that loads a program via a processor of a computer to perform control of an Ethernet switch, and the Ethernet switch includes a plurality of ports having a transmission interface and a controller, and the computer The program product includes: causing the processor to detect whether there is a physical layer connection in each connection, to distinguish between a connectionless connection port and a connected connection port program command; causing the processor to detect the connected connection Whether there is traffic in the transmission interface, and the program instruction to close the transmission interface when there is no traffic in the transmission interface; and The time when the client uses the network is analyzed to dynamically set a set non-power-on time, and the unconnected connection is maintained in a non-powered state during the set non-power-on time, and then switched to the powered state after the setting is not powered. Program instructions for the state. 依據申請專利範圍第13項所述之電腦程式產品,更包含於無實體層連結時進而使該處理器將每一無連結的連接埠之電源狀態從有電切換成無電,且使每一無連結的連接埠維持為無電狀態的程式指令。 The computer program product according to claim 13 of the patent application scope is further included when the physical layer is not connected, so that the processor switches the power state of each unconnected connection from the power to the no power, and makes each The connected port is maintained as a program command without power. 依據申請專利範圍第13項所述之電腦程式產品,更包含分析客戶端使用網路的時間以動態設定出一設定通電時間,且利用該判斷單元於該設定通電時間內偵測每一連接埠是否有實體層連結的程式指令。 According to the computer program product described in claim 13, the method further comprises: analyzing the time when the client uses the network to dynamically set a set power-on time, and using the determining unit to detect each connection within the set power-on time. Is there a program directive linked by a physical layer? 依據申請專利範圍第13項所述之電腦程式產品,更包含於沒有流量時在一預定時間內暫時使無流量的該傳輸介面處於無電狀態的程式指令。 The computer program product according to claim 13 of the patent application, further includes a program instruction for temporarily causing the non-flowing transmission interface to be in an unpowered state for a predetermined time without traffic. 依據申請專利範圍第16項所述之電腦程式產品,更包含當經過該預定時間後使該傳輸介面由無電切換成有電的程式指令。 The computer program product according to claim 16 further includes a program instruction for switching the transmission interface from no power to power after the predetermined time. 依據申請專利範圍第13項所述之電腦程式產品,更包含於有流量時則根據流量大小以動態地調整有流量的該傳輸介面之工作頻率的程式指令。The computer program product according to claim 13 of the patent application scope further includes program instructions for dynamically adjusting the operating frequency of the transmission interface having the flow rate according to the traffic volume when there is traffic.
TW98123723A 2009-07-14 2009-07-14 Electricity management methods, power management devices and computer program products TWI422191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98123723A TWI422191B (en) 2009-07-14 2009-07-14 Electricity management methods, power management devices and computer program products

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98123723A TWI422191B (en) 2009-07-14 2009-07-14 Electricity management methods, power management devices and computer program products

Publications (2)

Publication Number Publication Date
TW201103286A TW201103286A (en) 2011-01-16
TWI422191B true TWI422191B (en) 2014-01-01

Family

ID=44837821

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98123723A TWI422191B (en) 2009-07-14 2009-07-14 Electricity management methods, power management devices and computer program products

Country Status (1)

Country Link
TW (1) TWI422191B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8856570B2 (en) * 2011-08-31 2014-10-07 Broadcom Corporation Energy efficiency ethernet with low power active idle transmission mode

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI241478B (en) * 2004-10-22 2005-10-11 Inventec Appliances Corp Power management method for a Wi-Fi apparatus
TW200737820A (en) * 2006-03-31 2007-10-01 Hon Hai Prec Ind Co Ltd Power management system and method for network device
TW200818777A (en) * 2006-06-30 2008-04-16 Qualcomm Inc Standby time improvements using sub-networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI241478B (en) * 2004-10-22 2005-10-11 Inventec Appliances Corp Power management method for a Wi-Fi apparatus
TW200737820A (en) * 2006-03-31 2007-10-01 Hon Hai Prec Ind Co Ltd Power management system and method for network device
TW200818777A (en) * 2006-06-30 2008-04-16 Qualcomm Inc Standby time improvements using sub-networks

Also Published As

Publication number Publication date
TW201103286A (en) 2011-01-16

Similar Documents

Publication Publication Date Title
Christensen et al. The next frontier for communications networks: power management
US9223392B2 (en) Reduced power state network processing
US8156353B2 (en) Techniques for communications power management based on system states
TWI487322B (en) Networking method and networking system
CN102725997A (en) Method and device for realizing low power consumption of data switching equipment, and data switching equipment
JP5704904B2 (en) DATA PROCESSING DEVICE, DATA PROCESSING DEVICE CONTROL METHOD, AND PROGRAM
TW201018158A (en) System and method for enabling legacy medium access control to do energy efficient Ethernet
TWI577154B (en) Method for keeping remote connection, electronic device and sever
US9377838B2 (en) Data processing apparatus and power saving control method when transiting to a power saving state
TW201351156A (en) Electronic apparatuses and related controlling methods and computer program products thereof
TW201134140A (en) Low power consumption network device and communication method thereof
TWI422191B (en) Electricity management methods, power management devices and computer program products
US8982757B2 (en) Nonlinear power state transitioning
CN103795550B (en) Method of supplying power to and device
WO2012126396A1 (en) Energy saving method for service board, master control board, service board, and access apparatus
CN104662849B (en) Network equipment power supply control method, device and network equipment
CN103941843B (en) mode switching method and device
CN102411423B (en) Collaborating dynamic power management method for CPU (central processing unit) and wireless network card
CN102415050A (en) Method and apparatus for reducing electrical power consumption of an Ethernet interface
CN106063336B (en) Data transmission system, bridge device, method realized by bridge device, storage medium
CN207541439U (en) A kind of telesecurity saving pipe controlled system of zero stand-by power consumption
CN106330585A (en) Flow monitoring method, device and system
CN116156607A (en) Smart terminal wake-up method and smart terminal
CN209913856U (en) Network data security analysis auxiliary assembly based on ZYNQ
CN102821025A (en) Energy-saving method capable of being achieved at intelligent terminals and intelligent terminal

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees