CN115587006A - Energy consumption management method and device for data center, terminal equipment and storage medium - Google Patents
Energy consumption management method and device for data center, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN115587006A CN115587006A CN202211121909.3A CN202211121909A CN115587006A CN 115587006 A CN115587006 A CN 115587006A CN 202211121909 A CN202211121909 A CN 202211121909A CN 115587006 A CN115587006 A CN 115587006A
- Authority
- CN
- China
- Prior art keywords
- server
- power consumption
- temperature
- preset
- data center
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
- G06F11/3062—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3287—Power saving characterised by the action undertaken by switching off individual functional units in the computer system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- Power Sources (AREA)
Abstract
The invention discloses a method and a device for managing energy consumption of a data center, terminal equipment and a storage medium, wherein the method comprises the following steps: acquiring power consumption data of each server in a data center within a preset operation time, and calculating the average power consumption of each server within the preset operation time according to the power consumption data; taking the server with the average power consumption smaller than the first power consumption threshold value as an idle server; setting a timing startup time interval and a timing shutdown time interval of the idle server, then controlling the idle server to start when the timing startup time interval arrives, and controlling the idle server to close when the timing shutdown time interval arrives. The invention can effectively reduce the energy consumption of the data center.
Description
Technical Field
The present invention relates to the field of energy consumption management technologies, and in particular, to an energy consumption management method and apparatus for a data center, a terminal device, and a storage medium.
Background
According to data analysis of organizations such as the international energy agency, the total carbon emission of the information communication industry is about 14 hundred million tons at present, and accounts for 4.2 percent of the total global amount. The data center is just an energy consumption great household which is not broken down in the information communication industry. IDC (internet data center) predicts that by 2024, data centers will consume more than 5% of the power consumed by the whole society. How to reduce the energy consumption of the data center is a problem which needs to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a method and a device for managing energy consumption of a data center, terminal equipment and a storage medium, which can effectively reduce the energy consumption of the data center.
An embodiment of the present invention provides a method for managing energy consumption of a data center, including: acquiring power consumption data of each server in a data center within a preset operation time length, and calculating the average power consumption of each server within the preset operation time length according to the power consumption data;
taking the server with the average power consumption smaller than the first power consumption threshold value as an idle server;
setting a timing startup time interval and a timing shutdown time interval of the idle server, then controlling the idle server to start when the timing startup time interval arrives, and controlling the idle server to close when the timing shutdown time interval arrives.
Further, the method also comprises the following steps: and when the electricity utilization peak period comes, shutting down the servers with the importance degree grades lower than the preset grade threshold value.
Further, the temperature of the air inlet of each server in each cabinet is collected, the average temperature of the air inlet of each server in each cabinet is calculated according to the temperature of each air inlet, and the average temperature of the air inlet is used as the monitoring temperature of the area where the cabinet is located;
comparing the monitored temperature of the area where each cabinet is located with a preset temperature threshold, taking the cabinet with the monitored temperature being greater than the preset temperature threshold as a high-temperature cabinet, and taking the cabinet with the monitored temperature being lower than the preset temperature threshold as a low-temperature cabinet;
and locally cooling the high-temperature cabinet, and locally heating the low-temperature cabinet.
Further, collecting the air outlet temperature of each server; and comparing the air outlet temperature of each server with a preset temperature upper limit value, and giving a temperature alarm when the air outlet temperature of the server is greater than the preset temperature upper limit value.
Further, the temperature increase range of each server is calculated according to the air inlet temperature and the air outlet temperature of each server; and comparing the heating amplitude of each server with a preset heating amplitude threshold value, and performing abnormal heating alarm when the server with the heating amplitude larger than the preset heating amplitude threshold value exists.
Further, collecting the real-time power consumption of each server; comparing the real-time power consumption of each server with the upper power consumption alarm limit value and the lower power consumption alarm limit value; and when a server with real-time power consumption higher than the upper power consumption alarm limit value or a server with real-time power consumption lower than the lower power consumption alarm limit value exists, performing power consumption abnormity alarm.
Further, after the power consumption abnormality alarm, the method further comprises the following steps:
carrying out abnormity analysis on the server with abnormal power consumption to determine the reason of the abnormal power consumption;
if the server with abnormal power consumption meets a first preset condition, judging that the reason of the abnormal power consumption is equipment aging; if the server with abnormal power consumption meets a second preset condition, judging that the reason of the abnormal power consumption is that the equipment is idle; if the server with abnormal power consumption does not meet the first preset condition or the second preset condition, judging that the reason of the abnormal power consumption is the hardware fault of the equipment;
the first preset condition is as follows: the CPU utilization rate of the server is higher than the preset utilization rate upper limit, the service life of the server exceeds the preset duration, and the real-time power consumption of the server is higher than the power consumption alarm upper limit;
the second preset condition is as follows: the CPU utilization rate of the server is lower than a preset utilization rate lower limit, and the real-time power consumption of the server is lower than a power consumption alarm lower limit value within a preset time.
On the basis of the above method item embodiments, the present invention correspondingly provides apparatus item embodiments;
an embodiment of the present invention provides an energy consumption management apparatus for a data center, including: the system comprises an average power consumption calculation module, an idle server determination module and a server running state control module;
the average power consumption calculation module is used for acquiring power consumption data of each server in the data center within a preset operation time length and calculating the average power consumption of each server within the preset operation time length according to the power consumption data;
the idle server determination module is used for taking a server with average power consumption smaller than a first power consumption threshold value as an idle server;
the server running state control module is used for setting a timing startup time interval and a timing shutdown time interval of the idle server, controlling the idle server to be started when the timing startup time interval arrives, and controlling the idle server to be closed when the timing shutdown time interval arrives.
On the basis of the embodiment of the method item, the invention correspondingly provides an embodiment of the terminal equipment item;
an embodiment of the present invention provides a terminal device, where the terminal device includes: the invention further provides a data center energy consumption management method, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to realize the data center energy consumption management method.
On the basis of the embodiment of the method item, the invention correspondingly provides an embodiment of a storage medium item;
an embodiment of the present invention provides a storage medium, where the storage medium includes a stored computer program, and when the computer program runs, a device where the storage medium is located is controlled to execute the energy consumption management method of a data center according to any one of the present invention.
The embodiment of the invention has the following beneficial effects:
the invention provides a method, a device, terminal equipment and a storage medium for managing the energy consumption of a data center, wherein the method is used for counting the average power consumption of each server of the data center in a preset operation time period, and taking the server with the average power consumption smaller than a first power consumption threshold value as an idle server; and then setting a timing startup time interval and a timing shutdown time interval of the idle server, so as to control the idle server to start when the timing startup time interval arrives, and control the idle server to close when the timing shutdown time interval arrives. Therefore, the situation that the idle servers in the data center are always in an open state can be avoided, the energy consumption of the idle servers in the data center is reduced, and the overall energy consumption of the data center is further reduced.
Drawings
Fig. 1 is a schematic flowchart of a method for managing energy consumption of a data center according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of an energy consumption management apparatus of a data center according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
As shown in fig. 1, an embodiment of the present invention provides an energy consumption management method for a data center, which at least includes:
step S101: the method comprises the steps of collecting power consumption data of each server in a data center within a preset operation time, and calculating the average power consumption of each server within the preset operation time according to the power consumption data.
Step S102: and taking the server with the average power consumption smaller than the first power consumption threshold value as an idle server.
Step S103: setting a timing startup time interval and a timing shutdown time interval of the idle server, then controlling the idle server to start when the timing startup time interval arrives, and controlling the idle server to close when the timing shutdown time interval arrives.
For step S101, schematically, the present invention automatically collects power consumption of a server through device data provided by a Baseboard Management Controller (BMC) of the server based on an IPMI (intelligent platform management interface) protocol of the server; the preset time interval can be 1 week, 1 week or 1 month, and the specific time interval can be set according to actual conditions. The method comprises the steps of collecting power consumption data of each server in a preset operation duration one by one, and then calculating the average power consumption of each server in the preset operation duration.
In step S102, the first power consumption threshold is a preset value, and the specific value may be set according to an actual situation, and for a server, if the average power consumption is smaller than the first power consumption threshold, it may be considered that the server has a small service processing amount, is in a no-service processing state for a long time, and does not need to be in a power-on state all the time, and at this time, the server is taken as an idle server.
For step S103, after the idle server is determined, a timing power-on period and a timing power-off period of the idle server are set. Preferably, for a timing shutdown period of an idle server, power consumption data of each period within a period of time of the idle server can be collected. For example, power consumption data of each daily time interval of the idle server in the last month is collected, then the time interval in which the power consumption value in the month is always smaller than a preset value (for example, smaller than 10% of rated power consumption of the idle server) is used as the daily timed shutdown time interval of the idle server, and the rest time intervals are used as the daily timed startup time interval of the idle server; and finally, controlling the idle server to be started when the timing startup time interval arrives, and controlling the idle server to be closed when the timing shutdown time interval arrives. Illustratively, the power supply of each server can be controlled through the API interface opened by each server manufacturer, so as to implement remote power-on, power-off, restart, and automatic adjustment of the power supply mode of the server at different time intervals.
Illustratively, each day will be divided into three periods, respectively a first period: 6-14 o 'clock, second period 14-22 o' clock, third period: 22 point-6 point; if the power consumption value of the idle server A is less than 10% of the rated power consumption value in the period of 22 o 'clock-6 o' clock daily in one month, then the 22 o 'clock-6 o' clock daily is used as the timing off period of the idle server A, and the rest periods are used as the timing on period of the idle server A. It should be noted that the division of the time periods is only illustrative, and the daily time period can be divided into more time periods according to actual requirements, so as to realize more precise control.
The method can realize the timing start and stop of the idle server in the data center. Therefore, the situation that the idle servers in the data center are always in an open state can be avoided, the energy consumption of the idle servers in the data center is reduced, and the overall energy consumption of the data center is further reduced.
In a preferred embodiment, the method for managing energy consumption of a data center further includes: and when the electricity utilization peak period comes, shutting down the servers with the importance degree grades lower than the preset grade threshold value.
Preferably, the importance degree of each server can be set in advance according to the importance of the service processed by each server, and when the daily electricity consumption peak period comes, the server with the importance degree grade lower than the preset grade threshold value is closed or the power supply power of the server is reduced, the power supply of the important server is preferentially ensured, the load of a resource pool is reduced, the excessive energy consumption load is avoided, and the safety of a data center is guaranteed.
Illustratively, for the power consumption peak period, power consumption data of all servers in the data center in each period of each day in a certain time interval (monthly/weekly) can be counted, and a peak time area of the daily power consumption can be determined according to a time point with the highest value and a power consumption distribution time point which is higher than the average power consumption value of the day. And analyzing the daily electricity consumption peak time of the data center by matching monthly or weekly data curve graphs with data tables.
In a preferred embodiment, the energy consumption management method of the data center further includes: acquiring the temperature of an air inlet of each server in each cabinet, calculating the average temperature of the air inlet of each server in each cabinet according to the temperature of each air inlet, and taking the average temperature of the air inlet as the monitoring temperature of the area where the cabinet is located; comparing the monitored temperature of the area where each cabinet is located with a preset temperature threshold, taking the cabinet with the monitored temperature being greater than the preset temperature threshold as a high-temperature cabinet, and taking the cabinet with the monitored temperature being lower than the preset temperature threshold as a low-temperature cabinet; and locally cooling the high-temperature cabinet, and locally heating the low-temperature cabinet.
The temperature of the air inlet of the server has a large relation with the ambient temperature of the cabinet, namely the temperature supplied by the air conditioner of the machine room, the temperature readings of the air inlet of each server in the cabinet are acquired, namely, a plurality of temperature monitoring instruments are installed at different positions of the cabinet, and the temperatures of different positions in the cabinet are acquired. And calculating the average value of the temperatures of the air inlets of all the servers in one cabinet to obtain the current monitoring temperature of the cabinet. And comparing the monitored temperature of the area where each cabinet is located with a preset temperature threshold value, so as to screen out a high-temperature cabinet with higher temperature and a low-temperature cabinet with lower temperature in the machine room. And then acquiring the cabinet number of the high-temperature cabinet and the cabinet number of the low-temperature cabinet, controlling the refrigeration equipment in the corresponding high-temperature cabinet to increase the refrigeration power according to the numbers, and controlling the refrigeration equipment in the corresponding low-temperature cabinet to reduce the refrigeration power until the monitoring temperature of the area where the cabinet is located reaches a preset temperature threshold value. Accurate refrigeration is realized, local temperature control is completed, large-area undifferentiated refrigeration is avoided, and energy consumption of the data center is further reduced. It should be noted that the cabinet used in this embodiment of the present invention is an existing cabinet with a separate refrigeration device.
In a preferred embodiment, the energy consumption management method of the data center further includes: collecting the air outlet temperature of each server; and comparing the air outlet temperature of each server with a preset temperature upper limit value, and giving a temperature alarm when the air outlet temperature of the server is greater than the preset temperature upper limit value.
The temperature of the air outlet of the server is closest to the temperature of the server, the temperature of the air outlet of the server can be used as the temperature of the server, the temperature of the air outlet of the server is compared with a preset upper temperature limit value, if the temperature of the air outlet of the server is higher than the preset upper temperature limit value, the temperature of the server is over-high, and at the moment, warning information of over-high temperature is generated to give a warning to the temperature. The early warning information can be sent to each responsible person through page display, short messages, weChat, mails or a third party notification platform, so that the responsible person can check the corresponding equipment in time, and faults are prevented.
In a preferred embodiment, the energy consumption management method of the data center further includes: calculating the temperature increase range of each server according to the air inlet temperature and the air outlet temperature of each server; and comparing the heating amplitude of each server with a preset heating amplitude threshold value, and performing abnormal heating alarm when the server with the heating amplitude larger than the preset heating amplitude threshold value exists. And comparing the temperature rise amplitude of the server with a preset temperature rise amplitude threshold, if the temperature rise amplitude is higher than the preset temperature rise amplitude threshold, indicating that the temperature of the server rises too fast and a fault possibly exists, and generating early warning information of abnormal temperature rise to alarm the abnormal temperature rise. Similarly, the early warning information of abnormal temperature rise can be sent to each responsible person through page display, short messages, weChat, mails or a third party notification platform, so that the responsible person can check the corresponding equipment in time, and faults are prevented.
In a preferred embodiment, the method for managing energy consumption of a data center further includes: collecting real-time power consumption of each server; comparing the real-time power consumption of each server with the upper power consumption alarm limit value and the lower power consumption alarm limit value; and when a server with real-time power consumption higher than the upper power consumption alarm limit value or a server with real-time power consumption lower than the lower power consumption alarm limit value exists, performing power consumption abnormity alarm. The real-time power consumption is compared with the upper power consumption alarm limit value and the lower power consumption alarm limit value, so that the real-time monitoring of the power consumption of the server can be realized. And the generated abnormal power consumption alarm information can be sent to each responsible person through page display, short messages, weChat, mails or a third-party notification platform, so that the responsible person can check the corresponding equipment in time and the fault is prevented.
In a preferred embodiment, after the power consumption abnormality warning, the method further comprises: carrying out abnormity analysis on the server with abnormal power consumption to determine the reason of the abnormal power consumption; if the server with abnormal power consumption meets a first preset condition, judging that the reason of the abnormal power consumption is equipment aging; if the server with abnormal power consumption meets a second preset condition, judging that the reason of the abnormal power consumption is that the equipment is idle; if the server with abnormal power consumption does not meet the first preset condition or the second preset condition, judging that the reason of the abnormal power consumption is the hardware fault of the equipment; the first preset condition is as follows: the CPU utilization rate of the server is higher than the preset utilization rate upper limit, the service life of the server exceeds the preset duration, and the real-time power consumption of the server is higher than the power consumption alarm upper limit; the second preset condition is as follows: the CPU utilization rate of the server is lower than a preset utilization rate lower limit, and the real-time power consumption of the server is lower than a power consumption alarm lower limit value within a preset time. The embodiment can specifically analyze the alarm reason after the power alarm occurs, and judge whether the power consumption alarm reason is caused by the old server, the server is always in an idle state or the hardware equipment failure of the server. If the server is old and the hardware equipment of the server fails, the responsible person can replace the new server or maintain the failed server in time, and energy loss is avoided. If the server is always in the idle state, namely the reason of abnormal power consumption is that the equipment is idle, the corresponding server can be controlled to be closed at the moment, so that the idle server is prevented from being in a useless standby state for a long time, and the energy consumption is further reduced.
As shown in fig. 2, on the basis of the above embodiment of the method, the present invention correspondingly provides an embodiment of an apparatus;
an embodiment of the present invention provides an energy consumption management apparatus for a data center, including: the system comprises an average power consumption calculation module, an idle server determination module and a server running state control module;
the average power consumption calculation module is used for acquiring power consumption data of each server in the data center within a preset operation time length and calculating the average power consumption of each server within the preset operation time length according to the power consumption data;
the idle server determination module is used for taking a server with average power consumption smaller than a first power consumption threshold value as an idle server;
the server running state control module is used for setting a timing startup time interval and a timing shutdown time interval of the idle server, controlling the idle server to be started when the timing startup time interval arrives, and controlling the idle server to be closed when the timing shutdown time interval arrives.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
It can be clearly understood by those skilled in the art that, for convenience and brevity, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
On the basis of the embodiment of the method item, the invention correspondingly provides an embodiment of the terminal equipment item;
an embodiment of the present invention provides a terminal device, where the terminal device includes: the invention further provides a data center energy consumption management method, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to realize the data center energy consumption management method.
The terminal device may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor, a memory.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is the control center of the terminal device and connects the various parts of the whole terminal device using various interfaces and lines.
The memory may be used to store the computer program, and the processor may implement various functions of the terminal device by running or executing the computer program stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
On the basis of the embodiment of the method item, the invention correspondingly provides an embodiment of a storage medium item;
an embodiment of the present invention provides a storage medium, where the storage medium includes a stored computer program, and when the computer program runs, a device where the storage medium is located is controlled to execute the energy consumption management method of a data center according to any one of the present invention.
The storage medium is a computer-readable storage medium, in which the computer program is stored, which computer program, when being executed by a processor, is adapted to carry out the steps of the above-mentioned respective method embodiments. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer-readable medium may contain suitable additions or subtractions depending on the requirements of legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer-readable media may not include electrical carrier signals or telecommunication signals in accordance with legislation and patent practice.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
Claims (10)
1. A method for managing energy consumption of a data center is characterized by comprising the following steps:
acquiring power consumption data of each server in a data center within a preset operation time, and calculating the average power consumption of each server within the preset operation time according to the power consumption data;
taking the server with the average power consumption smaller than the first power consumption threshold value as an idle server;
setting a timing startup time interval and a timing shutdown time interval of the idle server, then controlling the idle server to start when the timing startup time interval arrives, and controlling the idle server to close when the timing shutdown time interval arrives.
2. The method for managing energy consumption of a data center according to claim 1, further comprising: when the electricity utilization peak period comes, the servers with the importance degree levels lower than the preset level threshold value are shut down.
3. The method for managing energy consumption of a data center according to claim 1, further comprising:
acquiring the temperature of an air inlet of each server in each cabinet, calculating the average temperature of the air inlet of each server in each cabinet according to the temperature of each air inlet, and taking the average temperature of the air inlet as the monitoring temperature of the area where the cabinet is located;
comparing the monitored temperature of the area where each cabinet is located with a preset temperature threshold, taking the cabinet with the monitored temperature being greater than the preset temperature threshold as a high-temperature cabinet, and taking the cabinet with the monitored temperature being lower than the preset temperature threshold as a low-temperature cabinet;
and locally cooling the high-temperature cabinet, and locally heating the low-temperature cabinet.
4. The method for managing energy consumption of a data center according to claim 3, further comprising:
collecting the air outlet temperature of each server;
and comparing the air outlet temperature of each server with a preset temperature upper limit value, and giving a temperature alarm when the air outlet temperature of the server is greater than the preset temperature upper limit value.
5. The method for managing energy consumption of a data center according to claim 4, further comprising:
calculating the temperature increase range of each server according to the air inlet temperature and the air outlet temperature of each server;
and comparing the heating amplitude of each server with a preset heating amplitude threshold value, and performing abnormal heating alarm when the server with the heating amplitude larger than the preset heating amplitude threshold value exists.
6. The method for managing energy consumption of a data center according to claim 1, further comprising:
collecting real-time power consumption of each server;
comparing the real-time power consumption of each server with the power consumption alarm upper limit value and the power consumption alarm lower limit value;
and when a server with real-time power consumption higher than the upper power consumption alarm limit value or a server with real-time power consumption lower than the lower power consumption alarm limit value exists, performing power consumption abnormity alarm.
7. The method for managing power consumption of a data center according to claim 6, further comprising, after the power consumption abnormality warning:
performing abnormity analysis on the servers with abnormal power consumption to determine the reasons of the abnormal power consumption;
if the server with abnormal power consumption meets a first preset condition, judging that the reason of the abnormal power consumption is equipment aging; if the server with abnormal power consumption meets a second preset condition, judging that the reason of the abnormal power consumption is that the equipment is idle; if the server with abnormal power consumption does not meet the first preset condition or the second preset condition, judging that the reason of the abnormal power consumption is the hardware fault of the equipment;
the first preset condition is as follows: the CPU utilization rate of the server is higher than the preset utilization rate upper limit, the service life of the server exceeds the preset duration, and the real-time power consumption of the server is higher than the power consumption alarm upper limit;
the second preset condition is as follows: the CPU utilization rate of the server is lower than a preset utilization rate lower limit in a first preset time period, and the real-time power consumption of the server is lower than a power consumption alarm lower limit in a second preset time period.
8. An energy consumption management apparatus of a data center, comprising: the system comprises an average power consumption calculation module, an idle server determination module and a server running state control module;
the average power consumption calculation module is used for acquiring power consumption data of each server in the data center within a preset operation time length and calculating the average power consumption of each server within the preset operation time length according to the power consumption data;
the idle server determining module is used for taking the server with the average power consumption smaller than a first power consumption threshold value as an idle server;
the server running state control module is used for setting a timing startup time period and a timing shutdown time period of the idle server, controlling the idle server to start when the timing startup time period comes, and controlling the idle server to stop when the timing shutdown time period comes.
9. A terminal device, characterized by comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the method for energy consumption management of a data center according to any one of claims 1 to 7 when executing the computer program.
10. A storage medium, characterized in that the storage medium includes a stored computer program, wherein when the computer program runs, the apparatus on which the storage medium is located is controlled to execute the method for energy consumption management of a data center according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211121909.3A CN115587006A (en) | 2022-09-15 | 2022-09-15 | Energy consumption management method and device for data center, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211121909.3A CN115587006A (en) | 2022-09-15 | 2022-09-15 | Energy consumption management method and device for data center, terminal equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115587006A true CN115587006A (en) | 2023-01-10 |
Family
ID=84773160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211121909.3A Pending CN115587006A (en) | 2022-09-15 | 2022-09-15 | Energy consumption management method and device for data center, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115587006A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116661580A (en) * | 2023-07-25 | 2023-08-29 | 深圳市旭锦科技有限公司 | Power supply control method and system of server |
-
2022
- 2022-09-15 CN CN202211121909.3A patent/CN115587006A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116661580A (en) * | 2023-07-25 | 2023-08-29 | 深圳市旭锦科技有限公司 | Power supply control method and system of server |
CN116661580B (en) * | 2023-07-25 | 2023-12-19 | 深圳市旭锦科技有限公司 | Power supply control method and system of server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107302466B (en) | Big data analysis platform and method for dynamic loop monitoring system | |
CN110908964A (en) | Monitoring method, device, terminal and storage medium of distributed file system | |
US20060041767A1 (en) | Methods, devices and computer program products for controlling power supplied to devices coupled to an uninterruptible power supply (UPS) | |
CN101753357A (en) | Network server centralized monitoring system and method | |
CN105929923B (en) | A kind of management method and device of power | |
US8648607B2 (en) | Monitoring power usage | |
CN113176978A (en) | Monitoring method, system and device based on log file and readable storage medium | |
CN105739668A (en) | Power management method and power management system of notebook computers | |
CN115587006A (en) | Energy consumption management method and device for data center, terminal equipment and storage medium | |
CN111062503B (en) | Power grid monitoring alarm processing method, system, terminal and storage medium | |
US20170242466A1 (en) | Standby power controller for computer installation | |
CN115904656A (en) | State control method, device and equipment applied to chip and storage medium | |
CN114967887A (en) | Energy consumption management method, device and equipment based on industrial intelligence and storage medium | |
CN104780062A (en) | Method for quickly acquiring IP address of BMC management network interface | |
CN107863589B (en) | Battery processing method and device | |
CN112033045B (en) | Control method and device of heating equipment and controller | |
CN118017670A (en) | Power scheduling method and system based on scene activity energy consumption prediction | |
CN116149957B (en) | Method for saving server power-on and power-off records through BMC | |
CN116683470A (en) | Load adjusting method, system and terminal based on people stream density | |
CN116680131A (en) | Server test system, server test method, electronic device, and storage medium | |
CN111381658A (en) | UPS power supply monitoring method based on Internet of things cloud platform | |
CN109917895A (en) | A kind of control device and control method of voltage regulator module VRM | |
WO2019128373A1 (en) | Detection method, device, computer device and storage medium for faulty device | |
CN114661555A (en) | Equipment monitoring method, device, server and storage medium | |
CN114610562A (en) | Server power consumption control method, system, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |