TWI427889B - A power management method of outlet port and the device thereof - Google Patents

A power management method of outlet port and the device thereof Download PDF

Info

Publication number
TWI427889B
TWI427889B TW100120153A TW100120153A TWI427889B TW I427889 B TWI427889 B TW I427889B TW 100120153 A TW100120153 A TW 100120153A TW 100120153 A TW100120153 A TW 100120153A TW I427889 B TWI427889 B TW I427889B
Authority
TW
Taiwan
Prior art keywords
output
priority
state
load
power management
Prior art date
Application number
TW100120153A
Other languages
Chinese (zh)
Other versions
TW201251252A (en
Inventor
Shou Chih Sun
Original Assignee
Aten Int Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aten Int Co Ltd filed Critical Aten Int Co Ltd
Priority to TW100120153A priority Critical patent/TWI427889B/en
Priority to CN201110216287.8A priority patent/CN102819310B/en
Publication of TW201251252A publication Critical patent/TW201251252A/en
Application granted granted Critical
Publication of TWI427889B publication Critical patent/TWI427889B/en

Links

Classifications

    • Y02B70/3216
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S20/00Management or operation of end-user stationary applications or the last stages of power distribution; Controlling, monitoring or operating thereof
    • Y04S20/20End-user application control systems
    • Y04S20/221General power management systems

Landscapes

  • Supply And Distribution Of Alternating Current (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Description

輸出端電源管理方法及其裝置Output power management method and device thereof

本發明係關於一種輸出端電源管理方法及其裝置,具體而言,本發明係關於一種輸出端電源管理方法及其裝置,具有以智慧排程量測監控輸出端之功能。The present invention relates to an output power management method and apparatus thereof. Specifically, the present invention relates to an output power management method and apparatus thereof, and has the function of monitoring the output end by smart scheduling measurement.

隨著民眾對於從網路獲取資源的需求日益增加,以及企業希望透過網路服務以降低自身投入軟硬體所負擔的成本,進而提高行政效率,企業本身或服務供應商的機房設備管理便愈顯重要。With the increasing demand for resources from the Internet and the desire of enterprises to reduce the cost of their own investment in software and hardware through network services, and thus improve administrative efficiency, the management of the equipment room of the enterprise itself or the service provider will become more and more Significantly important.

傳統的電源管理裝置,主要利用一電表(power meter)對應一輸出端(outlet port)的方式設置。當使用相同數量的電表,可以即時量測輸出端的負載,但必須耗費很大的硬體成本。目前電源管理產品之主要功能為量測電流、電壓、功率及瓦時,當每一輸出端皆需對應設置一電表時,則20個插孔共需要20個電表,如此硬體的使用量將大大提高。A conventional power management device is mainly configured by means of a power meter corresponding to an outlet port. When the same number of meters are used, the load at the output can be measured immediately, but it must cost a lot of hardware. At present, the main function of the power management product is to measure the current, voltage, power and watt-hour. When each output terminal needs to set a meter, then 20 jacks need a total of 20 meters, so the hardware usage will be Greatly improve.

雖然可以使用小於輸出端數量的電表可以減少硬體成本的支出,不過如果使用這種方式來監控,必須要採用輪詢(polling)的方式來對每一個輸出端進行負載量測。但是,如果使用輪詢的方式來進行量測,由於輪詢的時間相等,因此如果遇到輸出端有緊急的事件發生,可能難以即時發現,或者是發現時,已經經過一段時間,而來不及處置,進而發生危險。Although it is possible to reduce the cost of hardware by using an electric meter smaller than the number of outputs, if this method is used for monitoring, it is necessary to perform a load measurement on each output by polling. However, if the polling method is used for measurement, since the polling time is equal, if an emergency event occurs at the output end, it may be difficult to find it immediately, or it may have been a period of time before the discovery, and it is too late to dispose of it. And then the danger occurs.

此外,傳統的電源管理裝置僅能對輸出端的耗電量進行量測,對於電路中潛在的問題如負載過載、跳電、主機過熱或是環境資料發生變化等事件無法立即反應給資訊管理人員,使機房設備無法以有效率的方式排除故障。In addition, the traditional power management device can only measure the power consumption of the output, and can not immediately respond to the information management personnel for potential problems in the circuit such as load overload, power jump, host overheating or environmental data changes. The equipment room cannot be trouble-shooted in an efficient manner.

本發明之一目的在於提供一種電源管理裝置,可使用少於輸出端數量的電源管理裝置,以智慧排程量測各輸出端的負載,而達到節省硬體成本的目的。An object of the present invention is to provide a power management device that can use less than the number of output power management devices to measure the load of each output by intelligent scheduling, thereby achieving the goal of saving hardware costs.

本發明之另一目的在於提供一種電源管理方法,根據各輸出端的負載狀況以不同優先狀態分類,使優先狀態高之輸出端獲得較多的量測次數。Another object of the present invention is to provide a power management method for classifying different priority states according to the load status of each output terminal, so that the output terminal with a higher priority state obtains more measurement times.

輸出端電源管理方法,包含下列步驟:得到複數個輸出端中之每一個輸出端之一優先狀態;量測優先狀態滿足一特定條件之輸出端所具有之一負載狀態;以及將該輸出端之負載狀態與一預設條件比對,若輸出端之負載狀態與該預設條件相符,則不需重新設定輸出端之優先狀態,若輸出端之負載狀態與該預設條件不相符,則需重新設定輸出端之優先狀態。The output power management method comprises the steps of: obtaining a priority state of each of the plurality of outputs; measuring a load state of the output state satisfying a specific condition; and outputting the output The load state is compared with a preset condition. If the load state of the output end is consistent with the preset condition, the priority state of the output end does not need to be reset. If the load state of the output end does not match the preset condition, then Reset the priority of the output.

電源管理裝置包含排程模組、量測模組及設定單元。排程模組用於得到複數個輸出端中之每一個輸出端之優先狀態。量測模組耦接至排程模組,量測優先狀態滿足一特定條件之輸出端所具有之一負載狀態。設定單元耦接至量測模組,若輸出端的負載狀態與預設條件之比對結果相符,則不需重新設定輸出端之優先狀態,若輸出端之負載狀態與預設條件之比對結果不相符,則需重新設定輸出端之優先狀態。The power management device includes a scheduling module, a measurement module, and a setting unit. The scheduling module is configured to obtain a priority state of each of the plurality of outputs. The measurement module is coupled to the scheduling module, and measures a load state of the output state that meets a specific condition. The setting unit is coupled to the measurement module. If the load state of the output end matches the preset condition, the priority state of the output end does not need to be reset, and if the load state of the output end is compared with the preset condition, the result is compared. If it does not match, you need to reset the priority status of the output.

本發明係提供一種輸出端電源管理方法及其裝置。在較佳的實施例中,此電源管理裝置可用在機架設備,量測電力裝置的輸出負載,確保機房內的電力使用安全。電源管理裝置亦可用在機房內溫溼度的監測,以執行環境控管。The invention provides an output power management method and device thereof. In a preferred embodiment, the power management device can be used in a rack device to measure the output load of the power device to ensure safe use of power in the equipment room. The power management device can also be used to monitor the temperature and humidity in the equipment room to perform environmental control.

如圖1所示,電源供應裝置10具有複數個輸出端100~104。每一個輸出端100~104可以提供一電子裝置所需之電力。該電子裝置105可以為電腦、螢幕、路由器、冷氣或電子溼度計等,但不以此為限制。電源供應裝置10之各輸出端100~104連接至電源管理裝置200,由電源管理裝置200監測各輸出端100~104的電力使用情形。本實施例中,輸出端100~104係為插座,其係具有至少兩個插孔,以與電子裝置105之插頭電性連接。電源管理裝置200,在一實施例中,係由程式撰寫而成的軟體,具有依序或按照特定設定之順序檢查各輸出端100~104的優先狀態之功能。各輸出端100~104的電力狀態連接至電源管理裝置200後,由排程模組202自儲存單元208得到每一個輸出端100~104於上一次量測時所儲存之優先狀態。As shown in FIG. 1, the power supply device 10 has a plurality of output terminals 100-104. Each of the outputs 100-104 can provide the power required by an electronic device. The electronic device 105 can be a computer, a screen, a router, an air conditioner, or an electronic hygrometer, but is not limited thereto. The respective output terminals 100 to 104 of the power supply device 10 are connected to the power management device 200, and the power management device 200 monitors the power usage of each of the output terminals 100 to 104. In this embodiment, the output terminals 100-104 are sockets, and have at least two jacks for electrically connecting with the plugs of the electronic device 105. In one embodiment, the power management device 200 is a software written by a program, and has a function of checking the priority status of each of the output terminals 100 to 104 in order or in a specific setting order. After the power states of the output terminals 100-104 are connected to the power management device 200, the scheduling module 202 obtains from the storage unit 208 the priority state stored by each of the output terminals 100-104 during the last measurement.

優先狀態係根據每一個輸出端100~104之負載狀態所在的預設負載區間範圍來決定,本實施例中,優先狀態係由設定單元206針對每一個輸出端100~104的負載狀態設定每一輸出端100~104的優先狀態,這些負載狀態與優先狀態的對應關係是根據預設條件而得出的,也就是說,設定單元206會視負載狀態是否處於預設條件的某一區間範圍內,而決定該負載狀態在本次量測中對應的優先狀態。舉例而言,若預設條件有三個負載區間,每個負載區間分別對應一個優先狀態,而設定單元206判斷某一輸出端100~104之負載狀態位在第一個負載區間內,如果該第一個負載區間屬於第一優先狀態,則該輸出端即對應第一優先狀態。要說明的是,第一優先狀態,在本實施例中,係指輸出端所具有的負載,相對於其他輸出端的負載是比較大的。因此,如果以三個負載區間為例,第一優先狀態的負載會大於第二優先狀態的負載,而第二優先狀態的負載則會大於第三優先狀態的負載。設定單元206設定完畢後,傳遞訊息至儲存單元208,由儲存單元208記錄設定後的優先狀態,接著再進行下一次量測。排程模組202判斷每一個輸出端100~104的優先狀態是否處於第一優先狀態後,例如:當輸出端100~103的優先狀態為第一優先狀態,而104為非第一優先狀態,則送出一訊號至量測模組204;接著量測模組204依輸出端的編號次序量測屬於第一優先狀態之每一輸出端100~103的負載狀態。The priority state is determined according to the preset load interval range in which the load state of each of the output terminals 100-104 is located. In this embodiment, the priority state is set by the setting unit 206 for each load state of the output terminals 100-104. The priority status of the output terminals 100 to 104, the correspondence between the load status and the priority status is obtained according to a preset condition, that is, the setting unit 206 regards whether the load status is within a certain range of the preset condition. And determine the priority state of the load state in this measurement. For example, if the preset condition has three load intervals, each load interval corresponds to a priority state, and the setting unit 206 determines that the load status bit of an output terminal 100-104 is in the first load interval, if the first A load interval belongs to the first priority state, and the output terminal corresponds to the first priority state. It should be noted that the first priority state, in this embodiment, refers to the load that the output has, and the load relative to the other outputs is relatively large. Therefore, if three load intervals are taken as an example, the load of the first priority state is greater than the load of the second priority state, and the load of the second priority state is greater than the load of the third priority state. After the setting unit 206 is set, the message is transmitted to the storage unit 208, and the set priority state is recorded by the storage unit 208, and then the next measurement is performed. The scheduling module 202 determines whether the priority state of each of the output terminals 100-104 is in the first priority state, for example, when the priority state of the output terminals 100-103 is the first priority state, and 104 is the non-first priority state, Then, a signal is sent to the measurement module 204. Then, the measurement module 204 measures the load status of each of the output terminals 100-103 belonging to the first priority state according to the number order of the output terminals.

圖2所示為電源管理方法的流程圖。如圖2所示,步驟S1010包含:得到複數個輸出端中之每一個輸出端之優先狀態。該優先狀態係來自儲存單元208對前一次量測所儲存的設定結果。請同時參考圖1,接著,進行步驟S1012,當輸出端100之優先狀態為第一優先狀態時,則以步驟S1020量測優先狀態滿足一特定條件之輸出端所具有之一負載狀態,在本實施例中,該特定條件係為輸出端的優先狀態是否為第一優先狀態。也就是說,步驟S1020為量測處於第一優先狀態之輸出端100之負載狀態。排程模組202送出一訊息至量測模組204,使量測模組204量測屬於第一優先狀態之輸出端的負載狀態。所述之負載狀態可為電流、電壓、功率、瓦時、溫度或濕度等數值。反之,如果當輸出端之優先狀態非第一優先狀態時,為了避免監控不到非第一優先狀態之輸出端,因此排程模組202直接送出一訊息至設定模組206,使設定模組206將未屬於第一優先狀態之輸出端的優先狀態提升一級,讓那些未屬於第一優先狀態之輸出端也可以成為第一優先狀態,而被監控。Figure 2 shows a flow chart of the power management method. As shown in FIG. 2, step S1010 includes: obtaining a priority state of each of the plurality of outputs. The priority status is from the setting result stored by the storage unit 208 for the previous measurement. Please refer to FIG. 1 at the same time, and then proceed to step S1012. When the priority state of the output terminal 100 is the first priority state, the load state of the output terminal having the priority state satisfying a specific condition is measured in step S1020. In an embodiment, the specific condition is whether the priority state of the output is the first priority state. That is, step S1020 is to measure the load state of the output terminal 100 in the first priority state. The scheduling module 202 sends a message to the measurement module 204, so that the measurement module 204 measures the load state of the output terminal belonging to the first priority state. The load state may be a value such as current, voltage, power, watt-hour, temperature or humidity. On the other hand, if the priority state of the output terminal is not the first priority state, in order to avoid monitoring the output terminal of the non-first priority state, the scheduling module 202 directly sends a message to the setting module 206 to make the setting module. The priority state of the output that is not in the first priority state is raised by one level, and the outputs that are not in the first priority state can also be the first priority state and monitored.

步驟S1022:比對屬於第一優先狀態的輸出端所量測到的負載狀態與預設條件,產生一比對結果。預設條件較佳為一對照表單,包含相對不同負載狀態數值而設定之區間範圍,以及不同的區間範圍所分別對應不同的優先狀態。量測模組204將負載狀態與預設條件比對後,得到負載狀態對應的優先狀態。Step S1022: Comparing the load state measured by the output end belonging to the first priority state with the preset condition, and generating a comparison result. The preset condition is preferably a comparison form, which includes a range of ranges set with respect to different load state values, and different range ranges respectively correspond to different priority states. The measurement module 204 compares the load state with the preset condition, and obtains a priority state corresponding to the load state.

此時原為第一優先狀態的輸出端可能產生變更,而步驟S1030包含:設定單元設定優先狀態。設定單元206根據比對結果C設定量測後負載端的優先狀態。若負載狀態的數值所對應的區間範圍仍對應第一優先狀態,則設定單元206接收比對結果C後不需重新設定優先狀態;若負載狀態的數值所對應的區間範圍為其他優先狀態,則設定單元206接收比對結果C後將會重新設定優先狀態。設定完成後,由儲存單元208記錄輸出端之優先狀態,再切換至下一個輸出端進行檢查。如此可以省下電源管理裝置200對於非第一優先狀態之輸出端的量測時間。At this time, the output of the first priority state may be changed, and step S1030 includes: setting the unit to set the priority state. The setting unit 206 sets the priority state of the load end after the measurement is set based on the comparison result C. If the range of the range corresponding to the value of the load state still corresponds to the first priority state, the setting unit 206 does not need to reset the priority state after receiving the comparison result C; if the range corresponding to the value of the load state is other priority states, then The setting unit 206 will reset the priority state after receiving the comparison result C. After the setting is completed, the storage unit 208 records the priority status of the output terminal, and then switches to the next output terminal for checking. This makes it possible to save the measurement time of the power management device 200 for the output of the non-first priority state.

步驟S1050包含:儲存優先狀態。以及步驟S1070包含:切換至下一輸出端。設定單元206設定結束後,由儲存單元208記錄設定後的輸出端之優先狀態,並切換至下一個輸出端,使排程模組202檢查下一個輸出端的優先狀態。待排程模組202逐一對每一輸出端100~104檢查完畢後,再進行下一次循環量測。在此實施例中,排程模組202的檢查方式較佳係依照機房內各輸出端100~104的編號。然而,在其他實施例中,排程模組202的檢查方式亦可依照前一量測結果所得之優先狀態高低來進行。亦即,排程模組202先檢查第一優先狀態的所有輸出端,例如:100~102,再檢查第二優先狀態的所有輸出端103,然後再檢查第三優先狀態的所有輸出端104,以此方式繼續檢查下去。Step S1050 includes: storing a priority status. And step S1070 includes: switching to the next output. After the setting unit 206 is set, the storage unit 208 records the priority state of the set output terminal, and switches to the next output terminal, so that the scheduling module 202 checks the priority state of the next output terminal. After the scheduling module 202 checks one pair of each output terminal 100~104, the next cycle measurement is performed. In this embodiment, the inspection mode of the scheduling module 202 is preferably based on the number of each of the output terminals 100-104 in the equipment room. However, in other embodiments, the manner of checking the scheduling module 202 may also be performed according to the priority status of the previous measurement result. That is, the scheduling module 202 first checks all the output terminals of the first priority state, for example, 100~102, and then checks all the output terminals 103 of the second priority state, and then checks all the output terminals 104 of the third priority state, Continue to check in this way.

圖3為電源管理裝置搭配附加元件的實施例示意圖。如圖3所示,電源管理裝置200還可結合一開關偵測裝置300,開關偵測裝置300可以為軟體或硬體之方式呈現。當開關偵測裝置300偵測某一輸出端100~104的電源關閉時,例如:輸出端100電源關閉,電源管理裝置200的排程模組202會直接跳過該輸出端100,使檢查時間能分配到其他使用中的輸出端101~104。在其他實施例中,電源管理裝置200亦可配合環境偵測裝置,如溫濕度計、煙霧偵測器、門禁裝置等,以確保機房內環境安全。3 is a schematic diagram of an embodiment of a power management device with additional components. As shown in FIG. 3, the power management device 200 can also be combined with a switch detecting device 300. The switch detecting device 300 can be presented in a software or hardware manner. When the switch detecting device 300 detects that the power of a certain output terminal 100-104 is turned off, for example, the power of the output terminal 100 is turned off, the scheduling module 202 of the power management device 200 directly skips the output terminal 100 to make the check time. Can be assigned to other in-use outputs 101~104. In other embodiments, the power management device 200 can also cooperate with environmental detection devices, such as a thermometer and hygrometer, a smoke detector, an access control device, etc., to ensure the environment security in the equipment room.

圖4為電源管理裝置之另一實施例示意圖。如圖4所示,以一個電源管理裝置200設置於多孔插座400中,多孔插座400具有複數個輸出端401~403以提供電力。由電源管理裝置200之排程模組202依序檢查每一輸出端401~403的優先狀態。藉此,一個電源管理裝置200可對多個輸出端401~403進行管理,以節省硬體成本。在其他實施例中,電源管理裝置200亦可視機房設置需求,與其他硬體設備結合使用。4 is a schematic diagram of another embodiment of a power management device. As shown in FIG. 4, a power management device 200 is disposed in the multi-hole socket 400. The multi-hole socket 400 has a plurality of output terminals 401-403 to provide power. The priority status of each of the output terminals 401 to 403 is sequentially checked by the scheduling module 202 of the power management device 200. Thereby, one power management device 200 can manage the plurality of outputs 401 to 403 to save hardware costs. In other embodiments, the power management device 200 can also be used in conjunction with other hardware devices depending on the room setting requirements.

圖5為電源管理方法之實施例細部流程圖。如圖5與圖1所示,進一步包含步驟S1012:確認每一個輸出端100~104之優先狀態。當排程模組202得到每一輸出端100~104的優先狀態後,排程模組202接著會確認該輸出端100~104的優先狀態是否需要被量測,請同時參考圖6所示之優先狀態執行程序。若排程模組202確認輸出端100為第一優先狀態,因第一優先狀態之輸出端100需要被量測,故排程模組202輸出訊號至量測模組204,執行步驟S1020:量測處於第一優先狀態之輸出端100之負載狀態,接著執行步驟S1022:比對負載狀態與預設條件,產生一比對結果C。當負載狀態的數值所位於預設條件之區間範圍係對應第一優先狀態時,量測模組204輸出比對結果C至設定單元,以維持與原先相同的優先狀態,然後再由儲存單元208執行步驟S1050:儲存優先狀態。最後執行步驟S1070:切換至下一個輸出端101。同樣地,若負載狀態所位於預設條件之區間範圍係對應第二優先狀態或第三優先狀態,則量測模組204輸出比對結果C至設定單元206以變更優先狀態。FIG. 5 is a detailed flow chart of an embodiment of a power management method. As shown in FIG. 5 and FIG. 1, step S1012 is further included: the priority status of each of the output terminals 100-104 is confirmed. After the scheduling module 202 obtains the priority status of each of the output terminals 100-104, the scheduling module 202 then confirms whether the priority status of the output terminals 100-104 needs to be measured. Please refer to FIG. 6 at the same time. Priority status execution program. If the scheduling module 202 confirms that the output terminal 100 is in the first priority state, the output module 100 of the first priority state needs to be measured, so the scheduling module 202 outputs a signal to the measurement module 204, and performs step S1020: The load state of the output terminal 100 in the first priority state is measured, and then step S1022 is performed: comparing the load state with the preset condition, a comparison result C is generated. When the value of the load state is in the range of the preset condition corresponding to the first priority state, the measurement module 204 outputs the comparison result C to the setting unit to maintain the same priority state as before, and then by the storage unit 208. Go to step S1050: store the priority status. Finally, step S1070 is executed: switching to the next output terminal 101. Similarly, if the range of the load condition in the preset condition corresponds to the second priority state or the third priority state, the measurement module 204 outputs the comparison result C to the setting unit 206 to change the priority state.

另外,在步驟S1012中,排程模組202確認某一輸出端100~104之優先狀態不是第一優先狀態時,則於步驟1030d或步驟1030e,由排程模組202直接送出一訊息至設定單元206,使設定單元206將非第一優先狀態之輸出端之優先狀態向前提升一級。如圖5所示,若排程模組202檢查輸出端101的優先狀態為第二優先狀態,因為非第一優先狀態之輸出端100不需被量測,故排程模組202直接輸出訊號至設定單元206,將第二優先狀態之輸出端101之優先狀態提升為第一優先狀態。設定單元206設定結束後,由儲存單元208記錄設定後的輸出端101之優先狀態,然後切換至下一個輸出端102,重複上述步驟。同樣地,若排程模組202檢查輸出端102的優先狀態為第三優先狀態,因為非第一優先狀態之輸出端102不需被量測,故排程模組202直接輸出訊號至設定單元206,將第三優先狀態之輸出端102之優先狀態提升為第二優先狀態。然後切換至下一個輸出端,如此依序類推,重覆上述程序。另外,要說明的是,在圖5的流程中,更包括有結合圖3判斷輸出端電源開啟或關閉的流程,在一實施例中,可以藉由呼叫中斷(interrupt)的方式,啟動步驟S1080。在步驟S1080中,可利用開關偵測裝置300偵測輸出端的電源開啟或關閉,一旦輸出端的電源被從開啟狀態被切換成關閉狀態,則進行步驟S1090a,不設定關閉的輸出端所具有的優先狀態;反之,如果輸出端從關閉狀態切換成開啟狀態,則以步驟S1090a,將該輸出端預先設定成具有一預設的優先狀態,本實施例為第一優先狀態,但不以此為限制。要說明的是,雖然圖5中係利用中斷的方式啟動S1080來判斷電源是否開啟,但是並不以此為限制,例如:亦可以在S1010~S1070的任一步驟之後,啟動S1080。In addition, in step S1012, if the scheduling module 202 confirms that the priority state of a certain output terminal 100-104 is not the first priority state, then in step 1030d or step 1030e, the scheduling module 202 directly sends a message to the setting. The unit 206 causes the setting unit 206 to advance the priority state of the output terminal other than the first priority state by one step. As shown in FIG. 5, if the scheduling module 202 checks that the priority state of the output terminal 101 is the second priority state, because the output terminal 100 that is not the first priority state does not need to be measured, the scheduling module 202 directly outputs the signal. To the setting unit 206, the priority state of the output terminal 101 of the second priority state is promoted to the first priority state. After the setting unit 206 is set, the storage unit 208 records the priority state of the set output terminal 101, and then switches to the next output terminal 102, and repeats the above steps. Similarly, if the scheduling module 202 checks that the priority state of the output terminal 102 is the third priority state, because the output terminal 102 that is not the first priority state does not need to be measured, the scheduling module 202 directly outputs the signal to the setting unit. 206: Promote the priority state of the output terminal 102 of the third priority state to the second priority state. Then switch to the next output, and so on, repeat the above procedure. In addition, in the flow of FIG. 5, the process of determining whether the output power is turned on or off in conjunction with FIG. 3 is further included. In an embodiment, step S1080 may be initiated by a call interrupt. . In step S1080, the switch detecting device 300 can be used to detect that the power of the output terminal is turned on or off. Once the power of the output terminal is switched from the on state to the off state, step S1090a is performed, and the output of the closed output terminal is not set. If the output is switched from the off state to the on state, the output is preset to have a preset priority state in step S1090a. This embodiment is the first priority state, but is not limited thereto. . It should be noted that although FIG. 5 starts S1080 by using an interrupt to determine whether the power is turned on, it is not limited thereto. For example, S1080 may be started after any step of S1010 to S1070.

表1與表2-3為不同實作方式之比較,其中表1代表習用的輪詢方式,而表2-3則代表利用本發明之量測方式。Table 1 and Table 2-3 show the comparison of different implementation modes, wherein Table 1 represents the conventional polling mode, and Table 2-3 represents the measurement method using the present invention.

表1所示為習用方式中每一次詢問,對每一個輸出端所需的詢問次數。由量測模組204在每一次輪詢中對12個輸出端一一量測其負載狀態,因此,不論各輸出端預設之負載狀態為何,量測模組204在每一次輪詢時對12個輸出端皆會逐一量測其負載狀態。在右側欄位中,設定測試時間為2000秒,且每一輸出端的量測時間為2.5秒,因此可算出第一次輪詢總次數為800次。因為有12個輸出端,故輪詢一圈總共為12次。此時12個輸出端皆為相同的設定,即各輸出端的重要性是相等的,因此各輸出端具有相同的權重8.33%。每一輸出端在測試時間內各可以分配到約66次(800乘以權重),相當於166秒。Table 1 shows the number of queries required for each output for each inquiry in the conventional mode. The measurement module 204 measures the load state of the 12 output terminals one by one in each polling. Therefore, regardless of the preset load state of each output terminal, the measurement module 204 is in each polling time. The 12 outputs will measure their load status one by one. In the right field, the test time is set to 2000 seconds, and the measurement time of each output is 2.5 seconds, so the total number of first polls can be calculated as 800 times. Since there are 12 outputs, a total of 12 rounds are polled. At this time, the 12 outputs are all the same setting, that is, the importance of each output is equal, so each output has the same weight of 8.33%. Each output can be assigned approximately 66 times (800 times the weight) during the test time, which is equivalent to 166 seconds.

表2-3之實施例,為利用本發明之量測檢查方式所得到的結果,在一開始時,如表2所示,每一個輸出端的優先狀態都設為最高,讓每一個輸出先被以圖5之流程檢查一次。之後,如表3所示,在左側欄位中,第一、第六及第十二輸出端電流大於1安培,所以此三個輸出端的優先狀態維持為第一優先狀態。第二及第十輸出端的電流介於0至1安培之間,所以這兩個輸出端的優先狀態被重新設定為第二優先狀態。同樣地,第四、第七及第八輸出端則被重新設定為第三優先狀態。此外,第三、第五、第九及第十一輸出端被偵測到電源已關閉,故不設定優先狀態,在檢查時排程模組202會跳過未設定優先狀態的輸出端,以節省時間。上述的偵測方式可使用開關偵測裝置300進行偵測(如圖3所示)。The embodiment of Table 2-3, in order to obtain the result obtained by the measurement inspection method of the present invention, at the beginning, as shown in Table 2, the priority state of each output is set to the highest, so that each output is first Check it once in the process of Figure 5. Thereafter, as shown in Table 3, in the left field, the first, sixth, and twelfth output currents are greater than 1 amp, so the priority state of the three outputs is maintained at the first priority state. The currents at the second and tenth outputs are between 0 and 1 amp, so the priority status of the two outputs is reset to the second priority. Similarly, the fourth, seventh and eighth outputs are reset to the third priority state. In addition, the third, fifth, ninth and eleventh output terminals are detected that the power is turned off, so the priority state is not set. When checking, the scheduling module 202 skips the output terminal without setting the priority state, save time. The above detection method can be detected by using the switch detecting device 300 (as shown in FIG. 3).

在表3的右側欄位中,設定檢查一圈的次數為第一優先狀態的輸出端占6次,第二優先狀態的輸出端占3次,第三優先狀態的輸出端占2次,而電源已關閉,即未設定優先狀態的輸出端則設定為0次。要說明的是,在本實施例中,所謂檢查一圈,係指根據圖5的流程中,根據優先狀態的調整,使得每一個輸出端的優先權狀態再次被調回第一優先狀態的情況。因此,如果以上述的狀態,對於本實施例而言,檢查一圈後,每一個輸出端所被檢測到的總累積次數為30次(檢查一圈的次數=設定次數X對應輸出端的數量,亦即6x3+3x2+2x3=30)。同時可以計算出相應的權重,如第一輸出端的權重為20%(權重=設定次數/檢查一圈的次數)。在測試時間2000秒內,即檢查總次數為800次,每一輸出端的分配到的次數為:800 X權重。如第一輸出端的檢查次數為160次,第二輸出端的檢查次數為80次。藉此權重設定的方式,可將測試時間進一步分配給優先狀態較高的輸出端,使優先狀態較高的輸出端獲得較多的檢查次數。比較表1與表3各輸出端的總次數可以得知,權重設定後,各輸出端的效益變化(效益=新次數/原次數),如第一輸出端的次數增加了140%,而第二輸出端的次數增加了20%。另一方面,因為第三、第五、第九及第十一輸出端電源關閉,所以有三分之一(33.33%)的輸出端不必檢查。必須注意的是,測試時間的長度是可調整的,且預設條件的區間範圍大小亦可視需求調整。此外,區間範圍的數量也不限於三個,亦即優先狀態不限於三個。而上述的設定次數與權重亦可視需求而作調整,例如,在測試時間結束後,重新設定各輸出端檢查一圈的次數,以計算出新的權重。In the right side field of Table 3, the output end of the first priority state is occupied 6 times, the output end of the second priority state is occupied 3 times, and the output end of the third priority state is occupied 2 times. The power is turned off, that is, the output with no priority setting is set to 0 times. It should be noted that, in the present embodiment, the so-called check one circle refers to the case where the priority state of each output terminal is once again returned to the first priority state according to the adjustment of the priority state in the flow of FIG. Therefore, if in the above state, for the present embodiment, after one round of inspection, the total cumulative number of times detected by each output terminal is 30 (the number of times of checking one turn = the number of times set X corresponds to the number of output terminals, That is, 6x3+3x2+2x3=30). At the same time, the corresponding weight can be calculated, for example, the weight of the first output is 20% (weight = set number of times / number of times to check one circle). Within 2000 seconds of the test time, the total number of checks is 800, and the number of times allocated to each output is: 800 X weight. For example, the number of inspections at the first output is 160, and the number of inspections at the second output is 80. By means of the weight setting, the test time can be further allocated to the output with higher priority, so that the output with higher priority gets more inspection times. Comparing the total number of outputs of Table 1 and Table 3, it can be known that after the weight is set, the benefit of each output changes (benefit = new number / original number), such as the number of times of the first output is increased by 140%, while the second output is The number has increased by 20%. On the other hand, because the third, fifth, ninth, and eleventh output power supplies are off, one-third (33.33%) of the outputs do not have to be checked. It must be noted that the length of the test time is adjustable, and the range of the preset condition range can also be adjusted according to requirements. In addition, the number of the range ranges is not limited to three, that is, the priority status is not limited to three. The above setting times and weights can also be adjusted according to requirements. For example, after the test time is over, the number of times each output end is checked to calculate a new weight.

在第二次檢查結束後,設定模組206會根據前次檢查的比對結果C重新設定優先狀態,而非第一優先狀態之輸出端之優先狀態向前提升一級。如表3所示,第二輸出端在第二次檢查時為第二優先狀態,在第三次檢查中,排程模組202則將第二輸出端的優先狀態提升至第一優先狀態。因此,在第三次檢查時,量測模組204將對第二輸出端進行量測。此外,各輸出端的排列方式亦可依電力耗損量排列,以方便設定。綜上所述,藉由調整輸出端的時間與檢查次數,使重要的輸出端能分配到更多的資源,提高機房的安全性。After the second check is completed, the setting module 206 resets the priority state according to the comparison result C of the previous check, and the priority state of the output end of the non-first priority state is raised one level forward. As shown in Table 3, the second output is in the second priority state during the second inspection, and in the third inspection, the scheduling module 202 raises the priority state of the second output to the first priority state. Therefore, at the third inspection, the measurement module 204 will measure the second output. In addition, the arrangement of the output terminals can also be arranged according to the power consumption amount for convenient setting. In summary, by adjusting the time of the output and the number of checks, the important output can be allocated more resources to improve the security of the equipment room.

本發明已由上述相關實施例加以描述,然而上述實施例僅為實施本發明之範例。必需指出的是,已揭露之實施例並未限制本發明之範圍。相反地,包含於申請專利範圍之精神及範圍之修改及均等設置均包含於本發明之範圍內。The present invention has been described by the above-described related embodiments, but the above embodiments are merely examples for implementing the present invention. It must be noted that the disclosed embodiments do not limit the scope of the invention. On the contrary, modifications and equivalents of the spirit and scope of the invention are included in the scope of the invention.

10‧‧‧電源供應裝置10‧‧‧Power supply unit

100~104‧‧‧輸出端100~104‧‧‧output

105‧‧‧電子裝置105‧‧‧Electronic devices

200‧‧‧電源管理裝置200‧‧‧Power management device

202‧‧‧排程模組202‧‧‧ scheduling module

204‧‧‧量測模組204‧‧‧Measurement module

206‧‧‧設定單元206‧‧‧Setting unit

208‧‧‧儲存單元208‧‧‧ storage unit

c‧‧‧比對結果C‧‧‧ comparison results

300‧‧‧開關偵測裝置300‧‧‧Switch detection device

400‧‧‧多孔插座400‧‧‧Porous socket

401~403‧‧‧輸出端401~403‧‧‧output

圖1為本發明電源管理裝置實施例示意圖;圖2為電源管理方法流程圖;圖3為電源管理裝置搭配附加元件之實施例示意圖;圖4為電源管理裝置之另一實施例;圖5為電源管理方法之細部流程圖;圖6為優先權執行程序示意圖。1 is a schematic diagram of an embodiment of a power management apparatus according to the present invention; FIG. 2 is a flowchart of a power management method; FIG. 3 is a schematic diagram of an embodiment of a power management apparatus with additional components; FIG. 4 is another embodiment of a power management apparatus; A detailed flowchart of the power management method; FIG. 6 is a schematic diagram of the priority execution program.

10...電源供應裝置10. . . Power supply unit

100~104...輸出端100~104. . . Output

105...電子裝置105. . . Electronic device

200...電源管理裝置200. . . Power management device

202...排程模組202. . . Scheduling module

204...量測模組204. . . Measurement module

206...設定單元206. . . Setting unit

208...儲存單元208. . . Storage unit

c...比對結果c. . . Comparison result

Claims (12)

一種輸出端電源管理方法,包含下列步驟:(a)得到複數個輸出端中之每一個輸出端之一優先狀態;(b)量測優先狀態滿足一特定條件之輸出端所具有之一負載狀態;以及(c)將該輸出端之負載狀態與一預設條件比對,若輸出端之負載狀態與該預設條件相符,則不需重新設定輸出端之優先狀態,若輸出端之負載狀態與該預設條件不相符,則需重新設定輸出端之優先狀態。 An output power management method includes the steps of: (a) obtaining a priority state of each of the plurality of outputs; and (b) measuring a load state of the output having a specific condition that satisfies a specific condition And (c) comparing the load state of the output with a predetermined condition, if the load state of the output end is consistent with the preset condition, it is not necessary to reset the priority state of the output terminal, if the load state of the output end If the preset condition does not match, you need to reset the priority status of the output. 如請求項1所述之輸出端電源管理方法,其中步驟(a)包含下列步驟:依序量測每一輸出端之負載狀態;針對該些負載狀態設定每一輸出端的優先狀態,其中該些負載狀態係分別對應該預設條件所對應之複數個優先狀態其中之一。 The output power management method of claim 1, wherein the step (a) comprises the steps of: sequentially measuring the load status of each output; and setting a priority status of each output for the load states, wherein the The load status is respectively corresponding to one of a plurality of priority states corresponding to the preset condition. 如請求項1所述之輸出端電源管理方法,其中該步驟(b)更包含下列步驟:根據前次設定的優先狀態,依序量測優先狀態滿足該特定條件之輸出端所具有之負載狀態,再將未滿足該特定條件之輸出端之優先狀態向前提升一級。 The output power management method according to claim 1, wherein the step (b) further comprises the step of: sequentially measuring the load state of the output terminal satisfying the specific condition according to the priority state set last time; Then, the priority state of the output that does not satisfy the specific condition is raised one level forward. 如請求項1所述之輸出端電源管理方法,更包含:調整該預設條件,以改變該些輸出端之優先狀態。 The output power management method of claim 1, further comprising: adjusting the preset condition to change a priority state of the outputs. 如請求項1所述之輸出端電源管理方法,其中該步驟(b)更包 含:依序檢查每一個輸出端,當檢查到的輸出端其優先狀態滿足該特定條件時,量測其所具有之負載狀態,當檢查的輸出端之優先狀態未滿足該特定條件時,將其優先狀態向前提升一級。 The output power management method according to claim 1, wherein the step (b) is further included Including: sequentially checking each output terminal, and when the detected output terminal meets the specific condition, the load state of the output is measured, and when the priority state of the output of the check does not satisfy the specific condition, Its priority status is increased by one level. 如請求項1所述之輸出端電源管理方法,更包含下列步驟:儲存設定後的該輸出端之優先狀態。 The output power management method of claim 1, further comprising the step of: storing the set priority state of the output. 一種電源管理裝置,包含:一排程模組,用於得到複數個輸出端中之每一個輸出端之一優先狀態;一量測模組,耦接至該排程模組,量測優先狀態滿足一特定條件之輸出端所具有之一負載狀態;以及一設定單元,耦接至該量測模組,若輸出端的負載狀態與預設條件之比對結果相符,則不需重新設定輸出端之優先狀態,若輸出端之負載狀態與該預設條件之比對結果不相符,則需重新設定輸出端之優先狀態。 A power management device includes: a scheduling module configured to obtain a priority state of each of the plurality of output terminals; a measurement module coupled to the scheduling module to measure a priority state a load state that meets a specific condition of the output end; and a setting unit coupled to the measurement module, if the load state of the output end matches the preset condition, the output end does not need to be reset In the priority state, if the result of the comparison between the load state of the output terminal and the preset condition does not match, the priority state of the output terminal needs to be reset. 如請求項7所述之電源管理裝置,其中該複數個輸出端之負載狀態為電流、電壓、功率、瓦時、溫度或濕度其中之一。 The power management device of claim 7, wherein the load status of the plurality of outputs is one of current, voltage, power, watt-hour, temperature, or humidity. 如請求項7所述之電源管理裝置,其中該些複數個輸出端係依照電力耗損量決定該優先狀態。 The power management device of claim 7, wherein the plurality of outputs determine the priority state according to the power consumption amount. 如請求項7所述之電源管理裝置,更包含:一儲存單元,耦接至該設定單元,用以儲存設定後的該輸出端之優先狀態。 The power management device of claim 7, further comprising: a storage unit coupled to the setting unit for storing the set priority state of the output end. 如請求項7所述之電源管理裝置,其中該量測模組,依序量測每一輸出端之負載狀態;且該設定單元針對該些負載狀態設定每一輸出端的優先狀態,而使排程模組得到每一個輸出端之優先狀態,其中該些負載狀態係分別對應該預設條件所對應之複數個優先狀態其中之一。 The power management device of claim 7, wherein the measurement module sequentially measures the load status of each output; and the setting unit sets a priority status of each output for the load states, and causes the row to be The process module obtains a priority state of each output terminal, wherein the load states respectively correspond to one of a plurality of priority states corresponding to the preset condition. 如請求項7所述之電源管理裝置,其中該設定單元進一步將非第一優先狀態的輸出端之優先狀態向前提升一級。The power management device of claim 7, wherein the setting unit further advances the priority state of the output of the non-first priority state by one step.
TW100120153A 2011-06-09 2011-06-09 A power management method of outlet port and the device thereof TWI427889B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW100120153A TWI427889B (en) 2011-06-09 2011-06-09 A power management method of outlet port and the device thereof
CN201110216287.8A CN102819310B (en) 2011-06-09 2011-07-20 Output end power supply management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100120153A TWI427889B (en) 2011-06-09 2011-06-09 A power management method of outlet port and the device thereof

Publications (2)

Publication Number Publication Date
TW201251252A TW201251252A (en) 2012-12-16
TWI427889B true TWI427889B (en) 2014-02-21

Family

ID=47303453

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100120153A TWI427889B (en) 2011-06-09 2011-06-09 A power management method of outlet port and the device thereof

Country Status (2)

Country Link
CN (1) CN102819310B (en)
TW (1) TWI427889B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10520965B2 (en) 2015-02-04 2019-12-31 Cyber Power Systems, Inc. Server room power management apparatus and method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI502340B (en) * 2014-01-08 2015-10-01 Wistron Corp Rack space management system and rack space management method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030177165A1 (en) * 2002-03-18 2003-09-18 International Business Machines Corporation Method for managing power consumption of multiple computer servers
TWI302245B (en) * 2004-08-31 2008-10-21 Intel Corp A method, apparatus and system for controlling power management state transitions
TW201017394A (en) * 2008-10-28 2010-05-01 Lite On Technology Corp Power supply IC
TW201018024A (en) * 2008-10-22 2010-05-01 Powertech Ind Ltd An outlet apparatus with power classification management
TWM384345U (en) * 2009-09-11 2010-07-11 Michilin Prosperity Co Ltd Electrical power management device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101493689B (en) * 2008-01-23 2011-01-26 中华电信股份有限公司 Remote real time air conditioning equipment assets management system
US7795759B2 (en) * 2008-06-27 2010-09-14 iGo, Inc Load condition controlled power strip
CN101666853B (en) * 2008-09-03 2011-08-17 京元电子股份有限公司 Test scheduling system and test scheduling method
CN101833310B (en) * 2009-03-09 2012-08-29 纵横资通能源股份有限公司 Power consumption management control system and method
CN102004470A (en) * 2009-08-28 2011-04-06 中华电信股份有限公司 Energy-saving system for power monitoring

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030177165A1 (en) * 2002-03-18 2003-09-18 International Business Machines Corporation Method for managing power consumption of multiple computer servers
TWI302245B (en) * 2004-08-31 2008-10-21 Intel Corp A method, apparatus and system for controlling power management state transitions
TW201018024A (en) * 2008-10-22 2010-05-01 Powertech Ind Ltd An outlet apparatus with power classification management
TW201017394A (en) * 2008-10-28 2010-05-01 Lite On Technology Corp Power supply IC
TWM384345U (en) * 2009-09-11 2010-07-11 Michilin Prosperity Co Ltd Electrical power management device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10520965B2 (en) 2015-02-04 2019-12-31 Cyber Power Systems, Inc. Server room power management apparatus and method thereof

Also Published As

Publication number Publication date
CN102819310B (en) 2016-01-13
CN102819310A (en) 2012-12-12
TW201251252A (en) 2012-12-16

Similar Documents

Publication Publication Date Title
JP5929575B2 (en) Power consumption management device and power consumption management system
CN101156355B (en) Detecting legacy powered device in power over Ethernet system
JP4897685B2 (en) Mapping power system components
US10699278B2 (en) Battery pack monitoring and warranty tracking system
US10114037B2 (en) Systems and methods for current and voltage monitoring
CN111066218A (en) Systems, methods, and devices for remote power management and discovery
CN106199261B (en) Electric appliance Degree of Ageing Internet-based continues detection system and detection method
CN102610970A (en) Intelligent safe socket and control method thereof
WO2024098750A1 (en) Parallel hot swap controller chip fault processing apparatus and method, and device and medium
TWI427889B (en) A power management method of outlet port and the device thereof
US9250673B2 (en) Power over Ethernet parameter storage
CN104133428A (en) Intelligent electrical equipment control method
JP7086169B2 (en) Charging device test system and method
CN111751614B (en) ModBus-based non-invasive electricity consumption data testing system and method thereof
TWI510792B (en) Method and system for examining electrical appliance
TWI702816B (en) Ip address display device and power distribution unit and uninterruptible power system using the same
CN106647958A (en) Server rack
US20170108904A1 (en) Location based electric power management method and system thereof
CN202917746U (en) Intelligent safety socket
CN114116395B (en) Aging room power supply line power overload protection method, system and device
TWI455436B (en) Power management system
CN111092445B (en) Signal reliability detection method, PSE chip, CPU chip and PoE device
CN102879637A (en) Acquisition device and method for energy consumption in POE (power over Ethernet) system
TWI667485B (en) Electric devices monitoring system and electric devices monioring method
KR102125767B1 (en) Method for Determining Arc Current Generation, and Media Recorded with Program Executing the Method