Data center energy-saving device and method

文档序号:1815332 发布日期:2021-11-09 浏览:25次 中文

阅读说明:本技术 数据中心节能装置及方法 (Data center energy-saving device and method ) 是由 杨承达 潘圣中 叶建升 陈燕炫 于 2020-05-09 设计创作,主要内容包括:本申请实施方式提供一种数据中心节能方法,所述数据中心节能方法包括以下步骤:获取所述多个服务器的运行参数;根据所述运行参数判断所述服务器是否处于第一状态;控制处于第一状态的所述服务器进入第二状态。本申请实施方式还提供一种数据中心节能装置。由此,本申请实施方式提供的数据中心节能装置及方法,可以降低数据中心的功耗,以达到节约能源的目的。(The embodiment of the application provides a data center energy-saving method, which comprises the following steps: acquiring operating parameters of the plurality of servers; judging whether the server is in a first state or not according to the operation parameters; and controlling the server in the first state to enter a second state. The embodiment of the application also provides an energy-saving device of the data center. Therefore, the energy-saving device and the energy-saving method for the data center can reduce the power consumption of the data center so as to achieve the purpose of saving energy.)

1. A data center energy saving method is characterized by comprising the following steps:

acquiring operating parameters of the plurality of servers;

judging whether the server is in a first state or not according to the operation parameters; and

and controlling the server in the first state to enter a second state.

2. The energy-saving method for the data center according to claim 1, wherein the step of controlling the server in the first state to enter the second state specifically comprises:

judging whether the time that the server is in the first state reaches preset time or not;

and if the time that the server is in the first state reaches the preset time, controlling the server in the first state to enter the second state.

3. The data center energy saving method of claim 1, wherein the data center energy saving method further comprises:

and sending out a prompt message when the server in the first state enters a second state.

4. The data center energy saving method of claim 1, wherein the data center energy saving method further comprises the steps of:

judging whether the total power of the server is greater than a first power value;

if the total power of the server is greater than the first power value, judging whether the server is in a first state;

if the server is in the first state, judging whether the time of the server in the first state reaches preset time or not; and

and if the time that the server is in the first state reaches the preset time, controlling the server in the first state to enter the second state.

5. The data center energy saving method according to claim 4, wherein the data center energy saving method further comprises the steps of:

if the total power of the server is smaller than or equal to a first power value, judging whether the total power of the server is smaller than or equal to a second power value; and

and if the total power of the servers is less than or equal to the second power value, controlling the servers in the second state to enter the first state.

6. The data center energy saving method according to claim 1, wherein the first state is a standby state and the second state is a power-off state.

7. The data center energy saving method of claim 1, wherein the operation parameters comprise power, IP address, hostname list, power status and system usage of each of the servers.

8. The data center energy saving method according to claim 2, wherein the system usage includes at least CPU utilization, size of available memory value, disk utilization, and rate of network sending or receiving data.

9. The energy-saving method for the data center according to claim 8, wherein the server is determined to be in the first state when the utilization rate of the CPU is less than 10%, the available memory value is greater than 90%, the utilization rate of the disk is less than 10%, and the rate of sending or receiving data by the network is less than 10 MB/s.

10. A data center energy-saving device, characterized in that, the data center energy-saving device includes:

a processor; and

a memory having stored therein a plurality of program modules that are loaded by the processor and that execute the data center energy saving method of any one of claims 1-9 to manage the data center.

Technical Field

The application relates to a data center energy-saving device and a data center energy-saving method.

Background

With the explosion of data services, a large number of servers are usually deployed in some cabinets of a data center to provide various data services.

However, when servers in these cabinets are performing data operations, some servers not related to the data operations are also performing. Therefore, the problems of low energy utilization rate, energy waste and the like can be caused.

Disclosure of Invention

In view of this, an energy saving device and method for a data center are needed, and according to the energy saving device and method for a data center provided in the embodiments of the present application, power consumption of the data center can be reduced to achieve the purpose of saving energy.

An embodiment of the present application provides a data center energy saving method, where the data center energy saving method includes the following steps: acquiring operating parameters of the plurality of servers; judging whether the server is in a first state or not according to the operation parameters; and controlling the server in the first state to enter a second state.

According to some embodiments of the present application, the step of controlling the server in the first state to enter the second state specifically includes: judging whether the time that the server is in the first state reaches preset time or not; and if the time that the server is in the first state reaches the preset time, controlling the server in the first state to enter the second state.

According to some embodiments of the present application, the data center energy saving method further comprises: and sending out a prompt message when the server in the first state enters a second state.

According to some embodiments of the present application, the data center energy saving method further comprises the steps of: judging whether the total power of the server is greater than a first power value; if the total power of the server is greater than the first power value, judging whether the server is in a first state; if the server is in the first state, judging whether the time of the server in the first state reaches preset time or not; and if the time that the server is in the first state reaches the preset time, controlling the server in the first state to enter the second state.

According to some embodiments of the present application, the data center energy saving method further comprises the steps of: if the total power of the server is smaller than or equal to a first power value, judging whether the total power of the server is smaller than or equal to a second power value; and if the total power of the servers is less than or equal to the second power value, controlling the servers in the second state to enter the first state.

According to some embodiments of the present application, the first state is a standby state and the second state is a power-off state.

According to some embodiments of the present application, the operating parameters include power, IP address, hostname list, power status, and system usage for each of the servers.

According to some embodiments of the present application, the system usage includes at least CPU utilization, size of available memory values, disk utilization, and rate at which data is sent or received by the network.

According to some embodiments of the present application, when the utilization rate of the CPU is less than 10%, the available memory value is greater than 90%, the utilization rate of the disk is less than 10%, and the rate of sending or receiving data by the network is less than 10MB/s, it is determined that the server is in the first state.

An embodiment of the present application further provides a data center energy saving device, where the data center energy saving device includes: a processor; and a memory in which a plurality of program modules are stored, the program modules being loaded by the processor and executing the data center energy saving method as described above to manage the data center.

According to the data center energy saving device and the data center energy saving method, whether the servers are in the standby state or not is judged by obtaining the operation parameters of the servers, and the servers in the standby state are controlled to enter the shutdown state. Therefore, the energy-saving device and the energy-saving method for the data center can reduce the power consumption of the data center so as to achieve the purpose of saving energy.

Drawings

Fig. 1 is a block diagram of a preferred embodiment of a data center energy saver according to the present application.

Fig. 2 is a flowchart of a preferred embodiment of the energy saving method of the data center according to the present application.

Fig. 3 is a flowchart illustrating another embodiment of a data center energy saving method according to the present application.

FIG. 4 is a block diagram of a preferred embodiment of a data center energy saving system according to the present application.

Description of the main elements

Data center energy saving device 100

Data center energy saving system 10

Acquisition module 101

Judging module 102

Control module 103

Display module 104

Notification module 105

Memory 11

Processor 12

Communication unit 13

Data center 200

Cabinet 210

Power distribution unit 220

Server 230

The following detailed description will explain the present application in further detail in conjunction with the above-described figures.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application.

All other embodiments that can be obtained by a person skilled in the art without inventive step based on the embodiments in this application are within the scope of protection of this application.

Referring to fig. 1, a data center energy saving system 10 operates in a data center energy saving device 100. The data center energy saving device 100 in the embodiment of the present application is used for managing the data center 200. The data center energy saving device 100 and the data center 200 establish a communication connection through a network, which may be a wired network.

Specifically, in the embodiment of the present application, the data center 200 may be provided with a plurality of cabinets 210, and each cabinet 210 includes a power distribution unit 220 and a plurality of servers 230. It is understood that the power distribution unit 220 in the embodiment of the present application may provide power to the plurality of servers 230.

The data center energy saving device 100 includes, but is not limited to, a memory 11, at least one processor 12, and a communication unit 13. In the embodiment of the present application, the communication unit 13 is a routing device, and is configured to establish a communication connection with the multiple cabinets 210 in a wired or wireless manner.

In the embodiment of the present application, the energy saving device 100 of the data center may be a computer.

Specifically, the data center energy saving device 100 may be configured to monitor an operation parameter of each server 230, and determine whether an energy saving operation needs to be performed on the data center 200 according to the operation parameter. When energy-saving operation needs to be taken, the data center energy-saving device 100 can control the server to enter a shutdown state, so as to avoid waste of electric energy.

In other embodiments, the data center energy saving device 100 can be communicatively connected to a mobile device (not shown), so that the user can receive the relevant information of the server very quickly.

Referring to fig. 2, fig. 2 is a flowchart illustrating a data center energy saving method according to an embodiment of the present disclosure. The energy-saving method for the data center can comprise the following steps:

step S21, obtaining the operation parameters of the plurality of servers.

In the embodiment of the present application, the operation parameters include power, IP address, hostname list, power status and system usage of each server 230. The system use condition at least comprises the utilization rate of a CPU, the size of available memory, the utilization rate of a disk and the data sending or receiving rate of a network.

In particular, the data center energy saving system 10 may be configured to obtain the operating parameters of the servers 230 and to display the operating parameters in real time. After the data center energy saving system 10 obtains the operation parameters of the server, the data center energy saving system 10 further stores the operation parameters.

Step S22, determine whether the server is in the first state. If the server is in the first state, go to step S23, otherwise return to step S21.

In this embodiment, the data center energy saving system 10 determines whether the corresponding server is in the first state according to the acquired operating parameter. It is to be understood that the first state referred to in the embodiments of the present application is a standby state of the server.

Specifically, when the utilization rate of a Central Processing Unit (CPU) in a server is less than 10%, the available memory value is greater than 90%, the utilization rate of the disk is less than 10%, and the rate of sending or receiving data by the network is less than 10MB/s, the data center energy saving system 10 may determine that the corresponding server is in the first state. That is, the data center energy saving system 10 may determine that the server is in a standby state at this time.

If the acquired operating parameters do not meet the condition of the first state, that is, the server is not in the standby state, the data center energy saving system 10 will acquire the operating parameters of the system in the server 230 again. That is, the data center energy saving system 10 can acquire the latest operating state of the servers in the data center 200.

And step S23, determining whether the time when the server is in the first state reaches a preset time. And if the time that the server is in the first state reaches the preset time, the step S24 is executed, otherwise, the step S21 is executed.

In the embodiment of the present application, when the server 230 is determined to be in the first state, that is, when the server 230 in the data center 200 is in the standby state, the data center energy saving system 1 will determine whether the time that the server is in the standby state reaches the preset time again, for example, may determine whether the time that the server is in the standby state reaches 12 hours. It should be understood that the preset time is not a fixed value, and those skilled in the art can adjust the preset time according to actual requirements.

If the time that the server is in the standby state does not reach the preset time, the data center energy saving system 10 needs to reacquire the operating parameters of the system in the server. That is, the data center energy saving system 10 may acquire the latest operation state of the servers of the data center 200.

In step S24, a prompt message is sent.

In this embodiment, the energy saving system 10 of the data center sends a prompt message to notify the user that the server in the standby state is about to enter the shutdown state.

And step S25, controlling the server in the first state to enter the second state.

In the embodiment of the present application, if the time that the server is in the first state reaches the preset time, the data center energy saving system 10 controls the server that is in the first state to enter the second state.

It is to be understood that the second state in the embodiment of the present application may be a shutdown state, that is, the data center energy saving system 10 turns off the power of the server in the standby state, so that the data center energy saving system 10 may control the server in the standby state to enter the shutdown state. At this time, the server 230 in the power-off state will not generate power consumption.

The data center energy saving system 10 will then send out a prompt message to notify the user that the server is in the power off state.

Referring to fig. 3, fig. 3 is a flowchart illustrating a data center energy saving method according to another embodiment of the present application. The energy-saving method for the data center in the embodiment may include the following steps:

step S31, obtaining the operation parameters of the plurality of servers.

The data center energy-saving system in the embodiment of the application acquires the operating parameters of the server and can display the operating parameters in real time.

Step S32, determining whether the total power of the servers is greater than a first power value. If the total power of the servers is greater than the first power value, the method proceeds to step S33, otherwise, the method proceeds to step S37.

In this embodiment, the energy saving system 10 of the data center obtains the total power of the cabinets according to the operation parameters, and compares the obtained total power with a first power value, where the first power value in this embodiment is an upper limit value.

Step S33, determine whether the server is in the first state. If the server is in the first state, go to step S34, otherwise return to step S31.

In this embodiment, the energy saving system 10 of the data center only determines whether the server 230 is in the standby state when the total power of the cabinets exceeds a first power value.

And step S34, determining whether the time when the server is in the first state reaches a preset time. And if the time that the server is in the first state reaches the preset time, the step S35 is executed, otherwise, the step S31 is executed.

In the embodiment of the present application, the energy saving system 10 of the data center determines whether the time when the server is in the standby state reaches a preset time, for example, may determine whether the time when the server is in the standby state reaches 12 hours. If the time that the server is in the standby state does not reach the preset time, the data center energy saving system 10 needs to reacquire the operating parameters of the system in the server. That is, the data center energy saving system 10 may acquire the latest operation state of the servers of the data center 200.

In step S35, a prompt message is sent.

In this embodiment, the energy saving system 10 of the data center sends a prompt message to notify the user that the server in the standby state is about to enter the shutdown state.

And step S36, controlling the server in the first state to enter the second state.

In the embodiment of the present application, if the time that the server is in the first state reaches the preset time, the data center energy saving system 10 may control the server that is in the first state to enter the second state.

It is to be understood that the second state in the embodiment of the present application may be a shutdown state, that is, the data center energy saving system 10 turns off the power of the server in the standby state, so that the data center energy saving system 10 may control the server in the standby state to enter the shutdown state. At this time, the server 230 in the power-off state will not generate power consumption. The data center energy saving system 10 will then send out a prompt message to notify the user that the server is in the power off state.

Step S37, determining whether the total power of the servers is less than or equal to a second power value. If the total power of the servers is less than or equal to the second power value, the step S38 is entered, otherwise, the step S31 is returned.

In an embodiment of the present application, the data center energy saving system 10 compares the total power of the servers with a second power value.

In this embodiment of the application, if the total power of the servers is greater than the second power value and smaller than the first power value, the data center energy saving system 10 obtains the operation parameters of the systems in the server 230 again and displays the operation parameters.

In step S38, the server in the second state is controlled to enter the first state.

In the embodiment of the application, if the total power of the servers is less than or equal to the second power value, it can be understood that the total power of the data center is lower than the upper limit value and the normal value, that is, the data center may increase the number of the servers to participate in data processing and transmission. The data center energy saving system 10 then controls the servers in the second state to enter the first state. That is, the data center energy saving system 10 turns on the power of the server in the power-off state to control the server in the power-off state to resume the standby state again, and sends a prompt message to notify the user that the server in the power-off state has reentered the standby state.

It is to be understood that the energy saving methods of the data center according to the two different embodiments may be implemented separately, or the second embodiment is optimized from the first embodiment, and may also be applied to the energy saving device 100 together, and a person skilled in the art may freely select one of the energy saving methods to perform an energy saving operation, so as to achieve the purpose of saving electric energy. In the embodiment of the present application, the operation state of the system in the server 230 in the cabinet 210 may be monitored in real time according to the data center energy saving system 10, and energy saving operation may be timely performed when energy saving is required, so as to avoid waste of electric energy.

Referring to fig. 4, in the embodiment of the present application, the data center energy saving system 10 may be divided into one or more modules, and the one or more modules are stored in the memory 11 and executed by at least one processor (in this embodiment, one processor 12) to complete the present application. The one or more modules may be a series of computer program instruction segments capable of performing specific functions that describe the execution of the data center energy saving system 10 in the data center energy saving device 100. For example, the data center energy saving system 10 may be divided into the acquisition module 101, the determination module 102, the control module 103, the display module 104, and the notification module 105 in fig. 4.

The obtaining module 101 is configured to obtain the operating parameters of the servers 230.

The judging module 102 is configured to judge whether the server is in a first state according to the operation parameter. The determining module 102 is further configured to determine whether the time that the server 230 is in the first state reaches a preset time.

The control module 103 is configured to control the server in the first state to enter the second state.

The display module 104 is used to display the operating parameters of the server, so that a person skilled in the art can quickly find the corresponding server 230 according to the IP address and name displayed by the display module 104. The display module 104 displays the position and path information of all the servers 230. Those skilled in the art can find the corresponding server needing energy-saving operation in time according to the information. In this embodiment, the display module 104 further displays and records the time when the system event occurs. For example, showing that at a certain time, the system power is off. In this embodiment, the upper limit and the lower limit of the power are set by the staff according to the requirement of the server 230, and the application is not limited in this respect.

In addition, a person skilled in the art can also manually set the preset time on the data center energy saving device 100. When the time that the system joining the server is in the standby state reaches the preset time, the data center energy saving device 100 automatically controls to turn off the power supply of the corresponding server meeting the condition.

The notification module 105 is configured to send a prompt to the user.

The determining module 102 is further configured to determine whether the total power of the server is greater than a first power value, and determine whether the total power of the server is less than or equal to a second power value.

The control module 103 is further configured to control the server in the second state to enter the first state.

Therefore, the power consumption of the data center can be reduced, and the purpose of saving energy is achieved. For specific content, reference may be made to the above-mentioned embodiments of the data center energy saving method, and details are not described here.

In the present embodiment, the memory 11 may be an internal memory of the energy saving device 100 in the data center, that is, a memory built in the energy saving device 100 in the data center. In other embodiments, the memory 11 may also be an external memory of the data center energy saving device 100, that is, a memory externally connected to the data center energy saving device 100.

In some embodiments, the memory 11 is used for storing program codes and various data, for example, program codes of the data center energy saving system 10 installed in the data center energy saving device 100, and realizes high-speed and automatic access of programs or data during the operation of the data center energy saving device 100. For example, in this embodiment, the data center energy saving system 10 is configured to determine whether the server is in the first state according to the operation parameter, and control the server in the first state to enter the second state.

The memory 11 may include 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.

In an embodiment, the Processor 12 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, a discrete Gate or transistor logic device, a discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor 12 may be any other conventional processor or the like.

The modules in the data center energy saving system 10, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the embodiments of the methods described above can be realized. 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 content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.

It is understood that the above described module division is a logical function division, and there may be other division ways in actual implementation. In addition, functional modules in the embodiments of the present application may be integrated into the same processing unit, or each module may exist alone physically, or two or more modules are integrated into the same unit. The integrated module can be realized in a hardware form, and can also be realized in a form of hardware and a software functional module.

It should be understood by those skilled in the art that the above embodiments are only for illustrating the present application and are not used as limitations of the present application, and that suitable modifications and changes of the above embodiments are within the scope of the claims of the present application as long as they are within the spirit and scope of the present application.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:智能预测处理器空闲时间的装置及方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!