Resource response method, apparatus, device, storage medium, and program product
By acquiring the regulation characteristic parameters of electrical equipment in the data center, the combination of equipment status and computing task regulation is determined, solving the problems of low reliability of backup power and high cost of frequency regulation and peak shaving in the existing technology, and realizing efficient resource regulation response and low carbon emissions.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2022-02-25
- Publication Date
- 2026-05-22
AI Technical Summary
In existing technologies, data centers utilize energy storage devices and backup power supplies for load regulation when responding to resource adjustments. This reduces the reliability of backup power supplies and increases the cost and carbon emissions of power grid frequency regulation and peak shaving.
By acquiring the regulation characteristic parameters of each power-consuming device in the data center, the combination of regulation methods for different power-consuming devices can be determined. By using device status regulation and computing task regulation, the power regulation demand of the power grid can be responded to, avoiding the need for new energy storage devices and improving the efficiency of resource regulation response.
It improves the resource regulation and response capacity of data centers, reduces the cost and carbon emissions of power grid frequency regulation and peak shaving, and enhances the power grid's ability to accept renewable energy.
Smart Images

Figure CN115663785B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technology, and in particular to a resource response method, apparatus, device, storage medium, and program product. Background Technology
[0002] When the power grid has a demand for power regulation, a resource regulation instruction will be issued. The electricity consumer will adjust its own inherent electricity consumption habits, thereby reducing or shifting the electricity load on the electricity consumer side, improving the operating efficiency of the power system, and achieving a balance between power supply and demand in the power grid.
[0003] In related technologies, when data centers perform resource regulation responses, they use hardware facilities such as energy storage devices, batteries, and diesel engines to regulate the power load of electrical equipment. However, using backup power for resource regulation responses will reduce the reliability of the data center's backup power. Summary of the Invention
[0004] This application provides a resource response method, apparatus, device, storage medium, and program product, which can improve the regulation capacity of data centers in resource regulation response and help reduce the cost and carbon emissions of power grid frequency regulation and peak shaving. The technical solution is as follows:
[0005] On one hand, embodiments of this application provide a resource response method, the method comprising:
[0006] Obtain the regulation characteristic parameters of each power-consuming device in the data center to regulate the power load. The power load is regulated by the power-consuming device in at least one of the following methods: device status regulation and computing task regulation. The device status regulation is used to regulate the device status of the power-consuming device, and the computing task regulation is used to regulate the execution tasks in the power-consuming device.
[0007] In response to a resource regulation command, the response combination mode for each of the electrical devices to regulate the electrical load is determined according to the regulation characteristic parameters, wherein the resource regulation command is used to indicate the power regulation demand of the power grid;
[0008] Resource adjustment response is performed based on the aforementioned response combination method.
[0009] On the other hand, embodiments of this application provide a resource response device, the device comprising:
[0010] The parameter acquisition module is used to acquire the adjustment characteristic parameters of each power-consuming device in the data center to adjust the power load. The power-consuming device adjusts the power load in at least one of the following methods: device status adjustment and computing task adjustment. The device status adjustment is used to adjust the device status of the power-consuming device, and the computing task adjustment is used to adjust the execution tasks in the power-consuming device.
[0011] The mode determination module is used to determine the response combination mode of each of the electrical devices to adjust the electrical load in response to the resource adjustment command, based on the adjustment characteristic parameters. The resource adjustment command is used to indicate the power adjustment demand of the power grid.
[0012] The resource response module is used to adjust resource responses based on the aforementioned response combination method.
[0013] On the other hand, embodiments of this application provide a computer device including a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set, or instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the resource response method as described above.
[0014] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction, at least one program, code set, or instruction set is stored therein, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the resource response method as described above.
[0015] On the other hand, embodiments of this application provide a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the resource response method provided in the above aspects.
[0016] The beneficial effects of the technical solutions provided in this application include at least the following:
[0017] In this embodiment, upon receiving a resource regulation command, the response combination of different power load regulation methods for various power devices in the data center can be determined based on the regulation characteristics of each power device when adjusting its power load. This results in a resource regulation method that matches the power grid's regulation needs, improving resource regulation response efficiency. Furthermore, since the power load of the power devices is adjusted by regulating device parameters or computational tasks without requiring additional energy storage devices, and resource regulation response is performed using the power load of the devices themselves, the regulation capacity of the data center for resource regulation response can be increased. This allows the grid to connect more fluctuating renewable energy power, thereby helping to reduce the cost and carbon emissions of grid frequency regulation and peak shaving. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 A schematic diagram of an implementation environment provided by an exemplary embodiment of this application is shown;
[0020] Figure 2 A flowchart illustrating a resource response method provided in an exemplary embodiment of this application is shown;
[0021] Figure 3 This application illustrates a schematic diagram of the architecture of electrical equipment in a data center, provided in an exemplary embodiment.
[0022] Figure 4 This illustration shows a schematic diagram of hardware tasks in a server provided by an exemplary embodiment of this application;
[0023] Figure 5 A flowchart of a resource response method provided by another exemplary embodiment of this application is shown;
[0024] Figure 6 This invention illustrates a structural framework diagram of a resource response scheduling software provided in an exemplary embodiment of this application.
[0025] Figure 7 This is a schematic diagram of the response characteristic curve provided in an exemplary embodiment of this application;
[0026] Figure 8 This is a structural block diagram of a resource response device provided in an exemplary embodiment of this application;
[0027] Figure 9 A schematic diagram of the structure of a computer device provided in an exemplary embodiment of this application is shown. Detailed Implementation
[0028] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0029] Figure 1This illustration shows a schematic diagram of an implementation environment provided by an exemplary embodiment of this application. The implementation environment includes a data center 11 and a power grid system 12, wherein the data center 11 includes computer equipment 101 and electrical appliances 102. The data center 11 and the power grid system 12 communicate via a communication network, and the computer equipment 101 and the electrical appliances 102 in the data center also communicate via a communication network. Optionally, the communication network can be a wired network or a wireless network, and the communication network can be at least one of a local area network (LAN), a metropolitan area network (MAN), and a wide area network (WAN).
[0030] Computer device 101 is an electronic device running a resource regulation and response scheduling program in data center 11. This electronic device can be a mobile terminal such as a smartphone, tablet, or laptop, or a terminal such as a desktop computer or projector computer, or a cloud server used for computing; this embodiment does not limit the specific type. The resource regulation and response scheduling program running in computer device 101 can receive resource regulation commands issued by power grid system 12, and thereby control the electrical equipment 102 to respond according to the resource regulation commands.
[0031] Electrical equipment 102 is an adjustable power load device in data center 11. Electrical equipment 102 can be a computing device in the data center, such as a server, storage device, and network device; it can also be a device used to control the data center environment, such as an air conditioner and lighting device; or it can be a device used to provide power to the data center, such as a power supply and a generator.
[0032] The power grid system 12 has power regulation needs, such as frequency regulation and peak shaving needs. When there are power regulation needs, the power grid system 12 sends a resource regulation command to the data center 11, which then responds with resource regulation. After the data center 11 responds with resource regulation, the power grid system 12 will provide corresponding incentives, such as price or electricity subsidies.
[0033] In one possible implementation, when the computer device 101 in the data center 11 receives the resource adjustment instruction issued by the power grid system 12, it will determine the response combination mode of the power consumption mode adjustment of each power-consuming device 102 in the data center, and then perform resource adjustment response based on the response combination mode.
[0034] Please refer to Figure 2 This document illustrates a flowchart of a resource response method provided in an exemplary embodiment of this application. This embodiment uses a computer device as an example for illustration, and the method includes the following steps.
[0035] Step 201: Obtain the regulation characteristic parameters of each power-consuming device in the data center to regulate the power load. The power load regulation method of the power-consuming device includes at least one of equipment status regulation and computing task regulation. Equipment status regulation is used to regulate the equipment status of the power-consuming device, and computing task regulation is used to regulate the execution tasks in the power-consuming device.
[0036] In this embodiment, resource regulation response refers to the way the power consumer responds to the grid's peak-shaving and frequency-regulation needs by adjusting the power load. When the grid needs to regulate frequency and peak loads, it will send a resource regulation command to indicate the grid's power regulation needs. After receiving the resource regulation command, the power consumer can respond to the indicated power regulation needs by adjusting the resource regulation.
[0037] Resource regulation instructions can be system notifications from the power grid or instant messaging messages (SMS, telephone, etc.).
[0038] In this embodiment of the application, a method for data center to perform resource adjustment response is provided. When the data center receives a resource adjustment instruction sent by the power grid, it performs a resource adjustment response.
[0039] Data centers are places where massive amounts of data are processed and stored. They contain a large number of electrical devices, such as servers for computing and air conditioners for environmental control.
[0040] In one possible implementation, different electrical devices correspond to different power consumption adjustment methods. For example, for devices used for computing tasks, the computing tasks can be adjusted, such as reducing the number of tasks processed, thereby changing the power load of the computing task device. Alternatively, the device status can be adjusted to regulate the device's power consumption and change the device's power load.
[0041] The methods for regulating the power consumption of the same electrical device may include at least one of equipment status regulation and computing task regulation. For example, for a device used for computing tasks, the number of tasks processed may be reduced and the equipment status may be adjusted. Since different electrical devices are included and the corresponding power consumption regulation methods are different, the adjustable range and cost are also different. Therefore, in this embodiment of the application, the computer device obtains the regulation characteristic parameters of each electrical device when regulating the power load, so as to determine the optimal combination of various power load regulation methods based on the regulation characteristic parameters, thereby meeting the power grid regulation power demand.
[0042] In one possible implementation, the computer device can determine regulation characteristic parameters based on data from the process of adjusting the electrical load of the electrical equipment, and then store the regulation characteristic parameters.
[0043] Step 202: In response to the resource regulation command, determine the response combination mode of each electrical device to regulate the power load according to the regulation characteristic parameters. The resource regulation command is used to indicate the power regulation demand of the power grid.
[0044] Optionally, the response combination method includes different power load adjustment methods, which can be different power load adjustment methods for the same electrical equipment, or power load adjustment methods for different electrical equipment.
[0045] When a resource adjustment instruction is received, the computer equipment can determine the power load adjustment potential and adjustment cost of each power device based on the adjustment characteristic parameters of each power device when adjusting the power load. Then, based on the power load adjustment potential and adjustment cost of each power device, the optimal combination of various power load adjustment methods is determined, which is the response combination method.
[0046] Step 203: Perform resource adjustment response based on response combination method.
[0047] When responding to resource adjustments based on response combinations, there may be a reporting phase, whereby the data center reports the adjustable power load capacity to the power grid and bids for it. Once the response combination is determined, the adjustable capacity (the amount of electricity that can be adjusted) and the corresponding adjustment cost of the power load adjustment method can be determined based on the power load adjustment method included in the response combination. The data center then submits the capacity report and bids for it to the power grid.
[0048] During the response phase, the electrical load of the equipment can be adjusted according to the response combination method to complete the resource adjustment response.
[0049] In summary, in this embodiment, upon receiving a resource regulation command, the response combination of different power load regulation methods for various power devices in the data center can be determined based on the regulation characteristics of each power device when adjusting its power load. This results in a resource regulation method that matches the power grid's regulation needs, improving resource regulation response efficiency. Furthermore, since the power load of the power devices is adjusted by regulating device parameters or computational tasks without requiring additional energy storage devices, and by using the power load of the devices themselves for resource regulation response, the regulation capacity of the data center for resource regulation response can be increased. This allows the grid to connect more fluctuating renewable energy power, thereby helping to reduce the cost and carbon emissions of grid frequency regulation and peak shaving.
[0050] In one possible implementation, different devices correspond to different methods of adjusting electrical load. The following examples will illustrate the methods of adjusting electrical load for various electrical devices.
[0051] Optionally, the electrical equipment includes computer equipment, environmental control equipment, and power supply equipment. The computer equipment includes at least one of servers, storage devices, and network equipment. The environmental control equipment includes at least one of lighting equipment and temperature control equipment. The computer equipment regulates the electrical load by at least one of equipment status regulation and computing task regulation. The environmental control equipment and power supply equipment regulate the electrical load by equipment status regulation.
[0052] A data center includes computer equipment for computing tasks, such as servers, storage devices, and network equipment. It also includes equipment unrelated to computing, such as environmental control equipment and power supply equipment. Environmental control equipment includes lighting and temperature control devices, with the latter used to regulate the temperature within the data center to ensure its normal operation; for example, air conditioning can be used to control the data center temperature. In addition, a data center also includes power supply equipment, such as generators, for providing backup power.
[0053] like Figure 3 As shown, it illustrates the main electrical equipment in a data center, including lighting equipment, air conditioning, servers, storage devices, network equipment, as well as diesel generators and power supplies such as UPS. The electrical load in servers may include the Central Processing Unit (CPU), memory, I / O, and fans.
[0054] Different power load adjustment methods can be preset for different electrical devices. Optionally, the device state adjustment methods for computer devices include at least one of the following: switching between active and low power states, and switching of hardware states performing non-intensive tasks.
[0055] In one possible implementation, data centers typically deploy a large number of computer devices to meet peak demand, while during off-peak periods, there may be idle computer devices, such as servers, in an unused state. Taking servers as an example, when the received resource adjustment instruction is to reduce power load, idle servers can be switched to a low-power sleep state or a shutdown state, thereby reducing the power load of data center servers and providing a downward resource adjustment response service to the power grid. Conversely, when the received resource adjustment instruction is to increase power load, servers already in a low-power or shutdown state in the data center can be switched to an active state, thereby increasing the power load of data center servers. It should be noted that some servers may be leased to customers and not running any tasks. In this case, the data center can only switch the server's working state by sending a notification to the customer or requesting the customer to set rules and authorization for switching server power state.
[0056] In another possible implementation, different computing tasks have different requirements for the server's CPU, memory, and I / O. When a computing task is running on the server, there may be spare capacity in a certain aspect of the hardware. In this case, the server's power load can be adjusted by changing the operating state of the hardware.
[0057] Indicative, such as Figure 4 As shown, the server runs intensive tasks on the disk (DISK), i.e., non-CPU-intensive tasks. When it receives an instruction to reduce power consumption, it can reduce CPU power consumption without affecting the server's processing speed. Optionally, a power threshold can be set, and CPU performance and throttling can be continuously and automatically adjusted until the CPU power consumption falls below the threshold. Alternatively, when the server is running non-memory-intensive computing tasks, memory power consumption (i.e., the power load) can be reduced by adjusting the size of the memory or reducing the memory frequency. For example, adjusting the "mem" value in the Linux kernel to control the size of the running memory, and changing the memory frequency in the Model-Specific Registers (MSR) to reduce memory power consumption (i.e., the power load).
[0058] Correspondingly, when a command to increase power load is received, the CPU power of the server running CPU-intensive computing tasks can be increased, or the memory operating frequency of the server running memory-intensive computing tasks can be increased, thereby improving the user's server performance while responding to the resource adjustment.
[0059] It should be noted that adjusting the power consumption of hardware requires real-time understanding of the tasks running on the server, the CPU and memory consumption of those tasks, and prior knowledge of the adjustable capacity of the CPU and memory without affecting the efficiency of such programs or hardware security before adjustments can be made.
[0060] The above provides an illustrative explanation of adjusting the device status of a computer. In another possible implementation, the computing tasks within the computer can be adjusted, thereby adjusting the power load of the computer.
[0061] Optionally, the computer device may adjust the computing task in a way that includes at least one of adjusting the number of tasks processed in parallel and transferring the task to another device.
[0062] Some computational tasks processed by computer equipment are not sensitive to real-time performance, meaning they only exist at a single completion time or for a specific duration. Examples include batch computation tasks such as video rendering and image rendering, and parallel computation tasks such as gene sequencing and wind turbine operation simulation. These tasks are typically run using a fixed number and type of servers. In such cases, data centers can automatically shift computational tasks. This means that during resource adjustment responses, the number of parallel computing nodes for batch and parallel computation tasks can be automatically expanded or reduced to increase or decrease power load, responding to grid adjustment commands. After the response is completed, the number of parallel computing nodes can be scaled up or down again at a later time, thus avoiding any impact on task completion time.
[0063] To illustrate, when a user selects a fixed number A and a fixed type of server to render a video, upon receiving an instruction to increase power load, the system automatically adds parallel computing nodes (i.e., computing servers) to the task, making the total number greater than A, thereby increasing the data center's power consumption. Conversely, when the resource adjustment response ends, it automatically reduces the number of parallel computing nodes (i.e., computing servers) to make the total number less than A. Thus, without affecting the user's video rendering or the total server core usage, it achieves an upward resource adjustment response by "shifting" the load forward. Conversely, if a downward resource adjustment instruction is received, it automatically "shifts" the load backward to complete the downward resource adjustment response.
[0064] Alternatively, when a user chooses to render a video at a fixed time, the software automatically estimates the computational cores required to render the video. As long as the computation is completed before the fixed time, the computational cores before that time are the resources that can be flexibly shifted for resource adjustment and response.
[0065] In another possible implementation, when multiple data centers collaborate, a data center can transfer computing tasks to another data center with available resources via the network. This reduces the power load of the data center transferring the task and increases the power load of the receiving data center, enabling resource adjustment and response. Furthermore, the data center transferring the task can further switch idle servers to a low-power state, thereby further reducing the power load.
[0066] Data centers also contain auxiliary equipment unrelated to computing tasks, namely environmental control equipment and power supply equipment. The power load of such equipment can only be adjusted by adjusting the equipment status.
[0067] Optionally, the method for adjusting the status of environmental control equipment is to adjust the control parameters of the equipment control environment.
[0068] Taking air conditioning as an example of environmental control equipment, the supply and return temperatures of the chilled water in the air conditioning system can be adjusted upwards or downwards while maintaining a certain temperature difference range. This utilizes the heat capacity of the chilled water in the data center to shift the cooling power load. For example, in summer, if the chilled water supply and return temperatures are 15℃ / 21℃, they can be switched to 12℃ / 18℃, thereby rapidly increasing the cooling power load of the computer room or data center. Another possible implementation is to indirectly adjust the power load of the air conditioning system by directly adjusting the setpoints of the data center's power and environmental system for the air conditioning outlet temperature and indoor humidity, through closed-loop feedback.
[0069] It should be noted that lowering the resource conditioning response (increasing the temperature) does not apply to data centers that are already operating in a high temperature range, and raising the resource conditioning response (lowering the temperature) does not apply to data centers that are already operating in a low temperature range.
[0070] Furthermore, regarding the adjustment of air conditioning equipment, when the server's power load changes, the power load of the air conditioning equipment can be adjusted in advance, thereby increasing the adjustable power.
[0071] Optionally, the power supply equipment status adjustment method is to adjust the test run time of the backup power supply equipment.
[0072] The server room or data center is equipped with backup generator sets, which need to be tested periodically, such as once a month, for 30 minutes each time. The timing of these tests is not fixed, so the backup generator sets can be started when the power grid needs to increase its resource regulation response, thereby increasing the data center's power load. It should be noted that while the test time is not fixed, the number of responses within each test cycle is fixed.
[0073] In this embodiment, different power consumption adjustment methods are set for different power-consuming devices. For computer devices, the power load can be adjusted by compressing idle time, adjusting hardware performance, and shifting computing tasks. For environmental control devices and power supply devices, the device status is adjusted within the allowable range to change the power load. That is, the power load of the device itself is used to adjust the resource response and improve the adjustment capacity of the data center to adjust the resource response.
[0074] The above embodiments illustrate the power regulation methods for various devices. Different devices have different power load regulation characteristics, such as regulation prerequisites, regulation speed, regulation capacity, and regulation cost. Therefore, upon receiving a resource regulation command, the optimal response combination must be determined based on these characteristics to respond to the resource regulation. The process of determining the response combination will be described below.
[0075] Please refer to Figure 5The diagram illustrates a flowchart of a resource response method provided in an exemplary embodiment of this application. The method includes the following steps.
[0076] Step 501: Obtain the response characteristic curve, adjustment cost, and adjustment constraints of each electrical device when adjusting the electrical load. The response characteristic curve is used to indicate the adjustable power range when the electrical device adjusts the electrical load.
[0077] Optionally, the regulation characteristic parameters for adjusting the power load of electrical equipment include response characteristic curves, regulation costs, and regulation constraints. Regulation costs refer to the costs incurred by the electrical equipment in adjusting the power load, including safety costs and risk costs. Regulation constraints are the preconditions for adjusting the power load; for example, when switching a server from an active state to a low-power state, the server must be in an idle state; or when shifting computing tasks on a server, the tasks must be tasks that are not sensitive to real-time performance.
[0078] The response characteristic curve is used to indicate the adjustable power range when electrical equipment adjusts its power load. In one possible implementation, the response characteristic curve of each electrical device adjusting its power load based on the corresponding power adjustment method can be pre-tested. The computer device runs resource response scheduling software, which includes a characteristic testing function to automatically test each power load adjustment method and obtain the corresponding response characteristic curve, i.e., the magnitude of the power load reduction p(t) caused by the change in power load over time after adjustment. Alternatively, the response characteristic curve can also be obtained by manual measurement; this embodiment does not limit this method.
[0079] like Figure 6 The diagram illustrates the structural framework of the resource response scheduling software. It includes a data storage and transmission layer 601 and a functional layer 602. The data storage and transmission layer 601 contains a data storage and command bus module. The data storage interface connects to and stores data from various external systems (air ventilation control system, motherboard power management system, server operating system, data center operating system, etc.) for use by the functional layer, and also stores data from various modules within the functional layer. The command bus receives and sends commands to various external systems. Furthermore, the command bus can interact with the power grid, receiving resource adjustment commands issued by the grid.
[0080] Functional layer 602 mainly includes modules such as characteristic testing, adjustment capacity prediction, response combination, response control instructions, capacity declaration, real-time bidding, response planning and execution, response benefits and costs, and response demand communication, which correspond to different stages in the resource adjustment response process. Please refer to the following step-by-step examples for specific module functions.
[0081] An illustrative example is the response characteristic curve corresponding to the adjustment of electrical load, as shown below. Figure 7 As shown, t1 is the time when the adjustment execution command is received; t2 is the response start time, i.e., the time when the power consumption begins to change due to the execution of the power consumption adjustment method; t3 is the response delay after the adjustment start command is issued, which may be caused by the server preparing to switch power consumption states, the computing task being transferred, etc., and the overall power consumption does not change; t4 is the end time of the direct power change during the power consumption adjustment process, i.e., the power load change caused by the server power consumption state switching, hardware performance adjustment, and computing task transfer. After the change reaches its peak, the power consumption directly consumed by the server no longer changes, but the change in air conditioning load caused by the change in server power consumption will continue to change due to its large thermal inertia; t5 is the time of the adjustment end command, i.e., the time when the resource response scheduling software sends the adjustment end command to each power consumption device of the power consumption adjustment method; t6 is the end time of the direct power change caused by the end of the adjustment; t7 is the end time of the indirect power change caused by the end of the adjustment, i.e., the response end time of the entire adjustment method.
[0082] It should be noted that different power load adjustment methods for the same equipment correspond to different response characteristic curves, and the response characteristic curve of each power load adjustment method can be measured in advance.
[0083] Step 502: In response to the resource adjustment command, determine the resource response time, which is the time required for the electrical equipment to adjust the electrical load.
[0084] Upon receiving a resource adjustment instruction, the time required for a resource adjustment response can be determined based on the instruction, thereby identifying the electrical equipment whose power load can be adjusted within the resource adjustment response time.
[0085] The power grid's resource regulation instructions are the invitation instructions corresponding to demand-side responses. These instructions may include day-ahead peak shaving, valley filling, hourly, minute-level, and second-level adjustments, each with a different resource response time. The resource response scheduling software receives the power grid's resource regulation instructions and determines the corresponding resource response time based on the type of instruction.
[0086] Step 503: Determine the response combination method based on the resource response time and the adjustment characteristic parameters of each electrical device.
[0087] Optionally, after determining the resource response time and the regulation characteristic parameters of the electrical equipment, a corresponding response combination method can be determined based on these two factors. This method may include steps 503a-503b (not shown in the figure):
[0088] Step 503a: Based on the adjustment constraints, determine the upper limit of quantity adjustment for each electrical device within the resource response time.
[0089] In one possible implementation, the resource response scheduling software includes a regulation capacity prediction module, which can predict the future power load regulation capacity based on historical data of each electrical device. This regulation capacity prediction module can perform different types of predictions, including long-term, medium-term, short-term, and real-time predictions. Long-term prediction refers to predicting the adjustable capacity corresponding to various regulation modes over the next six months to one year; medium-term prediction refers to monthly-level prediction, forecasting the adjustable capacity of various power consumption regulation modes each month; short-term prediction refers to day-ahead-level prediction, determining the adjustable capacity of power consumption regulation modes within the corresponding response time after receiving resource regulation instructions issued by the power grid on a day-ahead; and real-time prediction is intraday and real-time-level prediction, promptly determining the adjustable capacity of power load regulation modes within the corresponding response time after receiving intraday resource regulation instructions issued by the power grid.
[0090] When predicting regulation capacity, the first step is to determine the upper limit of the quantity of electricity that each electrical device can regulate based on its corresponding load regulation method within the resource response time. Determining this upper limit may include the following:
[0091] 1. Based on the adjustment constraints corresponding to the calculation task adjustment, determine the upper limit of the number of first power-consuming devices corresponding to the adjustable task within the resource response time. The first power-consuming device refers to the device whose power load adjustment method is calculation task adjustment.
[0092] Since the methods for adjusting the power load of electrical equipment include at least one of computational task adjustment and equipment status adjustment, when determining the upper limit of quantity adjustment based on adjustment constraints, if the upper limit of quantity adjustment for electrical equipment (the first electrical equipment) whose power load adjustment method is computational task adjustment needs to be determined according to the adjustment constraints corresponding to computational task adjustment. For example, when the power load adjustment method is adjusting the number of parallel processing tasks, the adjustment constraint is that the task is a non-real-time task. The server that will perform the non-real-time task calculation within the resource response time can be determined, thus obtaining the corresponding upper limit of quantity adjustment.
[0093] In one possible implementation, the upper limit for the number of first electrical equipment can be determined based on historical task processing plans and tasks currently in the queue. For example, if the resource response time is January 1, the task processing plan for January 1 can be determined based on historical task order receipt, thereby determining the upper limit for the number of first electrical equipment corresponding to the adjustable task. Since there may be changes in historical task processing plans, it is also necessary to further determine the expected processing status of tasks on January 1 based on tasks currently in the queue, thereby ensuring the accuracy of determining the upper limit for the number of equipment.
[0094] 2. Based on the adjustment constraints corresponding to equipment status adjustment, determine the upper limit of the number of second electrical equipment corresponding to the adjustable equipment within the resource response time. The second electrical equipment refers to the equipment whose power load adjustment method is equipment status adjustment.
[0095] Correspondingly, if the upper limit for the number of electrical devices (secondary electrical devices) whose power load adjustment method is determined to be equipment status adjustment, it needs to be determined according to the adjustment restriction conditions corresponding to equipment status adjustment. For example, when the secondary electrical device is a server, the corresponding adjustment restriction condition for equipment status adjustment is that the device is in an idle state or the device can be adjusted to an idle state; when the secondary electrical device is an air conditioner, the corresponding adjustment restriction condition for equipment status adjustment is that the temperature is within the adjustable range.
[0096] By adjusting the corresponding adjustment constraints based on the equipment status, the adjustable equipment within the resource response time is determined, and the upper limit of the quantity adjustment is obtained.
[0097] It should be noted that the first and second electrical devices can be of the same type.
[0098] Step 503b: Determine the response combination method based on the upper limit of the number of each electrical device, the response characteristic curve, and the adjustment cost.
[0099] Once the upper limit of the amount of electricity that each electrical device can adjust based on its corresponding load adjustment method is determined, the adjustable capacity corresponding to that load adjustment method can be determined based on the corresponding response characteristic curve. Then, considering the adjustment cost, the optimal response combination can be determined to achieve low-cost resource adjustment response. This method may include the following steps:
[0100] Step 1: Based on the adjustment quantity and response characteristic curve of each electrical device, determine the expected adjustment capacity. The expected adjustment capacity is used to indicate the total amount of electricity expected to be adjusted for each electrical device. The adjustment quantity is less than the upper limit of the quantity adjustment.
[0101] In one possible implementation, the expected regulation capacity can be determined based on the response characteristic curves corresponding to each power consumption regulation mode and the number of power consumption devices being regulated. The calculation method is as follows:
[0102]
[0103]
[0104] Where i represents the i-th power regulation method. To predict the adjustment capacity, Let be the response characteristic curve of the i-th power regulation mode. Let be the number of adjustments for the i-th power consumption adjustment method. This represents the upper limit of quantity adjustment for the i-th power consumption adjustment method within the resource response time.
[0105] Step 2: Determine the estimated adjustment cost based on the adjustment quantity and adjustment cost of each electrical device.
[0106] In the process of adjusting the power consumption of various electrical devices based on the power consumption mode, there are adjustment costs, including safety costs and risk costs. In determining the response combination mode, it is also necessary to consider the adjustment costs corresponding to various power consumption modes, so as to carry out resource adjustment response at the lowest cost.
[0107] The estimated adjustment costs are calculated as follows:
[0108]
[0109] in, It is the adjustment cost of the i-th power consumption adjustment method.
[0110] Step 3: Determine the response combination based on the expected adjustment capacity and expected adjustment cost.
[0111] Once the predicted regulation capacity and estimated regulation cost corresponding to various combinations are determined, the response combination method can be determined based on these values. The resource regulation command may be a control command or a non-control command. A control command strictly indicates the regulation capacity on the power consumption side within the resource response time, and the power consumption side can only adjust according to the indicated regulation capacity. A non-control command indicates the regulation capacity demand within the resource response time, and the regulation capacity when the power consumption side responds to resource regulation may differ from the regulation capacity demand in the resource regulation command.
[0112] The method for determining the corresponding response combination differs depending on the resource adjustment command. In one possible implementation, when the resource adjustment command is a non-control command, the steps for determining the response combination are as follows:
[0113] Step 1: When the resource adjustment instruction is a non-control instruction, the combination of expected adjustment capacity being greater than or equal to the historical declared capacity is determined as the candidate combination.
[0114] When the resource regulation command is a non-control command, the power grid does not limit the regulation capacity of each parameter responding to the resource regulation command; it only indicates the total capacity. In this mode, the response capacity when responding to resource regulation can be determined based on historically declared capacity. Historically declared capacity refers to the capacity declared by the data center when it received a command of the same type as the resource regulation command in the past; it can be the most recent declared capacity or the average of declared capacities. In one possible implementation, the regulation capacity of the data center's power load regulation can be greater than or equal to the historically declared capacity, i.e.:
[0115]
[0116] Among various power regulation combinations, the combination whose expected regulation capacity is greater than the demand capacity indicated by the resource regulation command is identified as the candidate combination.
[0117] Step 2: Select the combination with the lowest expected adjustment cost from the candidate combinations as the response combination.
[0118] In one possible implementation, the response combination is determined with the goal of minimizing cost. Therefore, when determining the response combination from candidate combinations, the combination with the lowest cost can be selected as the response combination. That is:
[0119]
[0120] In one possible implementation, when the resource adjustment command is a control command, the steps for determining the response combination are as follows:
[0121] Step 1: When the resource adjustment instruction is a control instruction, the combination of the expected adjustment capacity being the same as the resource demand indicated by the control instruction is determined as the candidate combination.
[0122] When the resource regulation command is a control command, the power grid will instruct each resource regulation response participant to regulate the required capacity, i.e., indicate a limited capacity. In this case, the regulation capacity when the data center regulates power consumption must be the same as the demand capacity. That is:
[0123]
[0124] Among various power regulation combinations, the combination whose expected regulation capacity equals the demand capacity indicated by the resource regulation command is determined as the candidate combination.
[0125] Step 2: Select the combination with the lowest expected adjustment cost from the candidate combinations as the response combination.
[0126] Similarly, the response combination method is determined with the goal of minimizing cost. Specific implementation methods can refer to the steps described above.
[0127] Step 504: Based on the response combination method, determine the total regulation capacity and total regulation cost of the electrical equipment. The total regulation capacity is used to determine the declared capacity when submitting capacity declaration to the power grid, and the total regulation cost is used to determine the bid price when bidding to the power grid.
[0128] Once the response combination method is determined, resource adjustment responses can be made based on this method. Specifically, when the resource adjustment instruction is a non-control instruction, such as a day-ahead peak shaving or valley filling instruction, the electricity consumer can submit capacity declarations and bid.
[0129] Optionally, when the resource adjustment command is a non-control command, the total adjustment capacity and total adjustment cost of the electrical equipment are determined based on the response combination method.
[0130] When the resource adjustment instruction is a non-control instruction, the corresponding total adjustment capacity can be determined based on various power consumption adjustment methods in the response combination mode, and then used for capacity declaration. The resource response scheduling software includes a capacity declaration module, which is a demand-side response invitation module that requires advance declaration of adjustable capacity. This module provides calculation of the declared capacity, submission of capacity declarations, recording and querying of declared capacity. When calculating the declared capacity, it can be determined based on the total adjustment capacity, and the declared capacity can be the same as the total adjustment capacity. In another possible implementation, since the prediction of adjustment capacity is uncertain, if the declared adjustment capacity is too large, the reliability decreases, and there is a certain probability that the declared adjustable capacity cannot be executed, resulting in penalties and reduced benefits. Therefore, the declared capacity can be controlled to be less than the total adjustment capacity, reducing the probability of penalties due to a large difference between the actual adjustment capacity and the declared capacity. For example, the declared capacity can be set to 80% of the total adjustment capacity.
[0131] Correspondingly, the total adjustment cost can be determined based on the adjustment costs corresponding to various power consumption adjustment methods in the response combination, thus enabling bidding personnel to determine their bids based on the total adjustment cost. The resource response scheduling software includes a real-time bidding module. This module is designed for demand-side response invitation types that require real-time bidding in advance. It provides real-time bidding bid calculation, automatic bidding strategy settings, bid submission, and recording and querying of submitted prices and final clearing prices. During bidding, bidding personnel can determine their bids based on the determined total adjustment cost, or an automatic bidding strategy can be set to automatically determine bids based on the total adjustment cost.
[0132] The resource response scheduling software also includes a response demand communication module. This module can transmit information such as declared capacity and bid prices to the grid's responsible system and can receive resource adjustment instructions from the grid. For non-control-type resource adjustment instructions, the response demand communication module can receive them; for control-type resource adjustment instructions, the grid may interact with the instruction bus.
[0133] Optionally, when the resource adjustment command is a control command, the power consumption of the electrical equipment can be adjusted within the resource response time based on the response combination method.
[0134] When the resource adjustment instruction is a control instruction, there is no need to declare or bid for adjustable capacity. Based on the response combination method, the power consumption of the power-consuming equipment is adjusted according to the power consumption method within the corresponding resource response time.
[0135] Optionally, based on the response combination method, execution instructions are sent to each electrical device. The execution instructions are used to instruct the electrical device to adjust the power load within the resource response time.
[0136] The resource response scheduling software includes a response control instruction module. This module converts the various power consumption adjustment methods in the response combination into instructions and notifications to the software, hardware, and service personnel involved in each power consumption adjustment method. For example, it sends instructions to servers, air conditioning equipment, and backup generators.
[0137] Furthermore, in one possible implementation, the resource response scheduling software can receive feedback from the notified software, hardware, and service personnel, and display the current status of instruction sending, receiving, and execution.
[0138] In other words, upon receiving feedback from the device, the system displays that the execution command was successfully sent and the device's execution status. For example, upon receiving feedback from the server, it can be confirmed that the server received the execution command, thus displaying that the command was successfully sent, and server data can be retrieved to display the server's execution status. Conversely, if no feedback is received from the server, it displays that the command transmission failed.
[0139] Furthermore, if no feedback is received from the electrical equipment, the execution command is resent.
[0140] When no response is received for an instruction, the response control instruction module will resend the instruction. When the number of times the instruction is sent reaches a threshold, an alarm and notification will be triggered to the administrator, indicating that the instruction was sent or received failed.
[0141] It should be noted that when the resource adjustment instruction is a non-control instruction, once the capacity application and bidding are approved, the power load of the electrical equipment can be controlled to adjust within the resource response time according to the corresponding response combination method.
[0142] Step 505: Determine the actual response cost and actual response benefit based on the actual response capacity of the electrical equipment.
[0143] When electrical equipment adjusts its power consumption, the actual response capacity may deviate from the total adjustment capacity corresponding to the response combination method. Consequently, the actual response cost and actual response benefit will also differ. Therefore, after electrical equipment adjusts its power consumption, the resource response scheduling software can determine the actual response cost and benefit based on the actual response capacity. This resource response scheduling software includes a response benefit and cost module. This module provides the ability to receive, record, and modify the unit price of various resource response types, as well as calculate costs. It also provides recording and management of actual response benefits, costs, and detailed income and expenditure statements.
[0144] Step 506: Record the actual response cost and actual response benefit. The actual response cost and actual response benefit are used as historical data for resource adjustment response.
[0145] Recording actual response costs and actual response benefits can serve as a historical basis for subsequent resource adjustment responses, i.e., as benchmark data to adjust response combinations, thereby improving the benefits of subsequent resource adjustment responses.
[0146] Furthermore, it can record the response characteristic curves corresponding to each power load adjustment mode during the actual response process, thereby correcting the currently stored response characteristic curves and improving their accuracy.
[0147] In this embodiment, when a resource adjustment instruction is received, the upper limit of the quantity adjustment corresponding to various power consumption adjustment methods is determined, and then the adjustment quantity is determined based on the upper limit of the quantity adjustment. Based on the adjustment quantity and the corresponding response characteristic curve, the expected adjustment capacity is determined, and based on the adjustment cost corresponding to various power consumption load adjustment methods, the expected adjustment cost is determined, thereby obtaining the response combination method with the lowest cost and improving the resource adjustment response benefit.
[0148] Figure 8 This is a structural block diagram of a resource response device provided in an exemplary embodiment of this application, such as... Figure 8 As shown, the device includes:
[0149] The parameter acquisition module 801 is used to acquire the adjustment characteristic parameters of the power load of each power-consuming device in the data center. The power load adjustment method of the power-consuming device includes at least one of equipment status adjustment and computing task adjustment. The equipment status adjustment is used to adjust the equipment status of the power-consuming device, and the computing task adjustment is used to adjust the execution tasks in the power-consuming device.
[0150] The mode determination module 802 is used to determine the response combination mode of each of the electrical devices to adjust the electrical load in response to the resource adjustment command, based on the adjustment characteristic parameters. The resource adjustment command is used to indicate the power adjustment demand of the power grid.
[0151] The resource response module 803 is used to perform resource adjustment response based on the response combination method.
[0152] Optionally, the method determination module 802 includes:
[0153] The first determining unit is configured to determine a resource response time in response to the resource adjustment command, wherein the resource response time is the time during which the electrical equipment needs to adjust the electrical load.
[0154] The second determining unit is used to determine the response combination method based on the resource response time and the adjustment characteristic parameters of each of the electrical devices.
[0155] Optionally, the parameter acquisition module 801 is further configured to:
[0156] The response characteristic curves, adjustment costs, and adjustment constraints of each of the electrical devices for adjusting the electrical load are obtained. The response characteristic curves are used to indicate the adjustable power range when the electrical devices adjust the electrical load.
[0157] Optionally, the second determining unit is further configured to:
[0158] Based on the aforementioned adjustment constraints, the upper limit for the quantity adjustment of each of the aforementioned electrical devices within the resource response time is determined;
[0159] The response combination method is determined based on the upper limit of the quantity adjustment of each of the electrical devices, the response characteristic curve, and the adjustment cost.
[0160] Optionally, the second determining unit is further configured to:
[0161] Based on the adjustment quantity of each of the electrical devices and the response characteristic curve, the expected adjustment capacity is determined. The expected adjustment capacity is used to indicate the total amount of electricity expected to be adjusted by each of the electrical devices. The adjustment quantity is less than the upper limit of the quantity adjustment.
[0162] Based on the number of adjustments and the adjustment costs of each of the aforementioned electrical devices, the estimated adjustment cost is determined;
[0163] The response combination is determined based on the expected adjustment capacity and the expected adjustment cost.
[0164] Optionally, the second determining unit is further configured to:
[0165] When the resource adjustment instruction is a non-control instruction, the combination of the expected adjustment capacity being greater than or equal to the historical declared capacity is determined as the candidate combination.
[0166] The combination with the lowest expected adjustment cost among the candidate combinations is determined as the response combination.
[0167] Optionally, the second determining unit:
[0168] When the resource adjustment instruction is a control instruction, the combination of the expected adjustment capacity being the same as the resource demand indicated by the control instruction is determined as the candidate combination.
[0169] The combination with the lowest expected adjustment cost among the candidate combinations is determined as the response combination.
[0170] Optionally, the second determining unit is further configured to:
[0171] Based on the adjustment constraints corresponding to the computing task adjustment, the upper limit of the number of first electrical equipment corresponding to the adjustable task within the resource response time is determined. The first electrical equipment refers to the equipment whose power load adjustment method is the computing task adjustment.
[0172] And / or,
[0173] Based on the adjustment constraints corresponding to the equipment status adjustment, the upper limit of the quantity adjustment of the second electrical equipment corresponding to the adjustable equipment within the resource response time is determined. The second electrical equipment refers to the equipment whose power load adjustment mode is the equipment status adjustment.
[0174] Optionally, the electrical equipment includes computer equipment, environmental control equipment, and power supply equipment. The computer equipment includes at least one of server, storage equipment, and network equipment. The environmental control equipment includes at least one of lighting equipment and temperature control equipment. The computer equipment adjusts the power load by at least one of equipment status adjustment and computing task adjustment. The environmental control equipment and the power supply equipment adjust the power load by equipment status adjustment.
[0175] Optionally, the method of adjusting the device state of the computer device includes at least one of switching between an active device state and a low-power state, and switching the hardware state for performing non-intensive tasks.
[0176] The method of adjusting the computing task corresponding to the computer device includes at least one of adjusting the number of tasks processed in parallel and transferring the task to the device for processing.
[0177] The environmental control equipment adjusts its status by adjusting the control parameters of the equipment's control environment.
[0178] The method for adjusting the status of the power supply equipment is to adjust the trial run time of the backup power supply equipment.
[0179] Optionally, the resource response module 803 is further configured to:
[0180] Based on the aforementioned response combination method, the total regulation capacity and total regulation cost of the electrical equipment are determined. The total regulation capacity is used to determine the declared capacity when submitting a capacity declaration to the power grid, and the total regulation cost is used to determine the bid price when bidding to the power grid.
[0181] Optionally, the resource response module 803 includes:
[0182] The third determining unit is used to determine the total regulating capacity and total regulating cost of the electrical equipment based on the response combination method when the resource regulation instruction is a non-control instruction.
[0183] The control unit is configured to, when the resource adjustment instruction is a control instruction, control the electrical equipment to adjust the electrical load within the resource response time based on the response combination method.
[0184] Optionally, the control unit is further configured to:
[0185] Based on the aforementioned response combination method, execution instructions are sent to each of the electrical devices, and the execution instructions are used to instruct the electrical devices to adjust the electrical load within the resource response time.
[0186] Optionally, the device further includes:
[0187] The display module is used to display, upon receiving feedback from the electrical equipment, the successful transmission of the execution command and the execution status of the electrical equipment.
[0188] The instruction sending module is used to resend the execution instruction if no feedback is received from the electrical equipment.
[0189] Optionally, the device further includes:
[0190] The determination module is used to determine the actual response cost and the actual response benefit based on the actual response capacity of the electrical equipment.
[0191] The recording module is used to record the actual response cost and the actual response benefit, which serve as historical data for resource adjustment response.
[0192] In this embodiment, upon receiving a resource regulation command, the response combination of different power load regulation methods for various power devices in the data center can be determined based on the regulation characteristics of each power device when adjusting its power load. This results in a resource regulation method that matches the power grid's regulation needs, improving resource regulation response efficiency. Furthermore, since the power load of the power devices is adjusted by regulating device parameters or computational tasks without requiring additional energy storage devices, and resource regulation response is performed using the power load of the devices themselves, the regulation capacity of the data center for resource regulation response can be increased. This allows the grid to connect more fluctuating renewable energy power, thereby helping to reduce the cost and carbon emissions of grid frequency regulation and peak shaving.
[0193] It should be noted that the apparatus provided in the above embodiments is only an example of the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the apparatus can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and their implementation process can be found in the method embodiments, which will not be repeated here.
[0194] Please refer to Figure 9 This illustration shows a schematic diagram of the structure of a computer device provided in an exemplary embodiment of this application. Specifically, the computer device 900 includes a Central Processing Unit (CPU) 901, a system memory 904 including a random access memory 902 and a read-only memory 903, and a system bus 905 connecting the system memory 904 and the CPU 901. The computer device 900 also includes a basic input / output system (I / O system) 906 that facilitates the transfer of information between various devices within the computer, and a mass storage device 907 for storing an operating system 913, application programs 914, and other program modules 915.
[0195] The basic input / output system 906 includes a display 908 for displaying information and an input device 909 for user input, such as a mouse or keyboard. Both the display 908 and the input device 909 are connected to the central processing unit 901 via an input / output controller 910 connected to the system bus 905. The basic input / output system 906 may also include the input / output controller 910 for receiving and processing input from multiple other devices such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 910 also provides output to a display screen, printer, or other types of output devices.
[0196] The mass storage device 907 is connected to the central processing unit 901 via a mass storage controller (not shown) connected to the system bus 905. The mass storage device 907 and its associated computer-readable media provide non-volatile storage for the computer device 900. That is, the mass storage device 907 may include computer-readable media (not shown) such as a hard disk or drive.
[0197] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented using any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include random access memory (RAM), read-only memory (ROM), flash memory or other solid-state storage technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic tape cassettes, magnetic tape, disk storage, or other magnetic storage devices. Of course, those skilled in the art will recognize that the computer storage media are not limited to the above-mentioned types. The system memory 904 and mass storage device 907 described above can be collectively referred to as memory.
[0198] The memory stores one or more programs, which are configured to be executed by one or more central processing units 901. The one or more programs contain instructions for implementing the methods described above, and the central processing unit 901 executes the one or more programs to implement the methods provided in the various method embodiments described above.
[0199] According to various embodiments of this application, the computer device 900 can also be connected to a remote computer on a network, such as the Internet. That is, the computer device 900 can be connected to a network 912 via a network interface unit 911 connected to the system bus 905, or the network interface unit 911 can be used to connect to other types of networks or remote computer systems (not shown).
[0200] The memory further includes one or more programs stored in the memory, and the one or more programs include steps performed by a computer device in the methods provided in the embodiments of this application.
[0201] This application also provides a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, at least one program, code set, or instruction set is loaded and executed by a processor to implement the resource response method described in any of the above embodiments.
[0202] This application provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the resource response method provided above.
[0203] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. This program can be stored in a computer-readable storage medium, which may be a computer-readable storage medium included in the memory described in the above embodiments; or it may be a standalone computer-readable storage medium not assembled into a terminal. The computer-readable storage medium stores at least one instruction, at least one program segment, a code set, or an instruction set. The at least one instruction, the at least one program segment, the code set, or the instruction set is loaded and executed by a processor to implement the resource response method described in any of the above method embodiments.
[0204] Optionally, the computer-readable storage medium may include ROM, RAM, solid-state drives (SSDs), or optical discs, etc. The RAM may include resistive random access memory (ReRAM) and dynamic random access memory (DRAM). The sequence numbers of the embodiments described above are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0205] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0206] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A resource response method, characterized in that, The method includes: The system obtains the response characteristic curves, adjustment costs, and adjustment constraints of each power-consuming device in the data center when adjusting the power load. The response characteristic curves are used to indicate the adjustable power range when the power-consuming device adjusts the power load. The power load is adjusted by the power-consuming device in at least one of equipment status adjustment and computing task adjustment. The equipment status adjustment is used to adjust the equipment status of the power-consuming device, and the computing task adjustment is used to adjust the execution tasks in the power-consuming device. In response to a resource regulation command, a resource response time is determined, wherein the resource response time is the time during which the electrical equipment needs to regulate the electrical load, and the resource regulation command is used to indicate the power regulation demand of the power grid; Based on the aforementioned adjustment constraints, the upper limit for the quantity adjustment of each of the aforementioned electrical devices within the resource response time is determined; Based on the adjustment quantity of each of the electrical devices and the response characteristic curve, the expected adjustment capacity is determined. The expected adjustment capacity is used to indicate the total amount of electricity expected to be adjusted by each of the electrical devices. The adjustment quantity is less than the upper limit of the quantity adjustment. Based on the number of adjustments required for each of the aforementioned electrical devices and the adjustment cost, the estimated adjustment cost is determined; When the resource adjustment instruction is a non-control instruction, the combination of the expected adjustment capacity being greater than or equal to the historical declared capacity is determined as the candidate combination; the combination with the lowest expected adjustment cost among the candidate combinations is determined as the response combination for adjusting the electricity load. Resource adjustment response is performed based on the aforementioned response combination method.
2. The method according to claim 1, characterized in that, The method further includes: When the resource adjustment instruction is a control instruction, the combination of the expected adjustment capacity being the same as the resource demand indicated by the control instruction is determined as the candidate combination. The combination with the lowest expected adjustment cost among the candidate combinations is determined as the response combination.
3. The method according to claim 1, characterized in that, Determining the upper limit for quantity adjustment of each of the electrical devices within the resource response time based on the adjustment constraints includes: Based on the adjustment constraints corresponding to the computing task adjustment, the upper limit of the number of first electrical equipment corresponding to the adjustable task within the resource response time is determined. The first electrical equipment refers to the equipment whose power load adjustment method is the computing task adjustment. And / or, Based on the adjustment constraints corresponding to the device status adjustment, the upper limit of the quantity adjustment of the second electrical equipment corresponding to the adjustable device within the resource response time is determined. The second electrical equipment refers to the equipment whose power load adjustment method is the device status adjustment.
4. The method according to any one of claims 1 to 3, characterized in that, The electrical equipment includes computer equipment, environmental control equipment, and power supply equipment. The computer equipment includes at least one of servers, storage devices, and network devices. The environmental control equipment includes at least one of lighting equipment and temperature control equipment. The computer equipment adjusts the power load by at least one of equipment status adjustment and computing task adjustment. The environmental control equipment and the power supply equipment adjust the power load by equipment status adjustment.
5. The method according to claim 4, characterized in that, The method of adjusting the device state of the computer device includes at least one of the following: switching between an active device state and a low-power state, and switching the hardware state for performing non-intensive tasks. The method of adjusting the computing task corresponding to the computer device includes at least one of adjusting the number of tasks processed in parallel and transferring the task to the device for processing. The environmental control equipment adjusts its status by adjusting the control parameters of the equipment's control environment. The method for adjusting the status of the power supply equipment is to adjust the trial run time of the backup power supply equipment.
6. The method according to any one of claims 1 to 3, characterized in that, The resource adjustment response based on the aforementioned response combination method includes: Based on the aforementioned response combination method, the total regulation capacity and total regulation cost of the electrical equipment are determined. The total regulation capacity is used to determine the declared capacity when submitting a capacity declaration to the power grid, and the total regulation cost is used to determine the bid price when bidding to the power grid.
7. The method according to claim 6, characterized in that, The determination of the total regulating capacity and total regulating cost of the electrical equipment based on the response combination method includes: When the resource adjustment instruction is a non-control instruction, the total adjustment capacity and total adjustment cost of the electrical equipment are determined based on the response combination method. The method further includes: When the resource adjustment command is a control command, the electrical equipment is controlled to adjust the electrical load within the resource response time based on the response combination method.
8. The method according to claim 7, characterized in that, The method of controlling the electrical equipment to adjust the electrical load within the resource response time based on the response combination method includes: Based on the aforementioned response combination method, execution instructions are sent to each of the electrical devices, and the execution instructions are used to instruct the electrical devices to adjust the electrical load within the resource response time. The method further includes: Upon receiving feedback from the electrical device, the system displays that the execution command was successfully sent and the execution status of the electrical device. If no feedback is received from the electrical equipment, the execution command is resent.
9. The method according to claim 8, characterized in that, After sending the execution command to each of the electrical devices, the method further includes: Based on the actual response capacity of the electrical equipment, determine the actual response cost and the actual response benefit; The actual response cost and the actual response benefit are recorded, and the actual response cost and the actual response benefit are used as historical data for resource adjustment response.
10. A resource response device, characterized in that, The device includes: The parameter acquisition module is used to acquire the response characteristic curves, adjustment costs, and adjustment constraints of each power-consuming device in the data center when adjusting the power load. The response characteristic curves are used to indicate the adjustable power range when the power-consuming device adjusts the power load. The way the power-consuming device adjusts the power load includes at least one of equipment status adjustment and computing task adjustment. The equipment status adjustment is used to adjust the equipment status of the power-consuming device, and the computing task adjustment is used to adjust the execution tasks in the power-consuming device. The mode determination module is used to determine the resource response time in response to the resource adjustment command. The resource response time is the time when the electrical equipment needs to adjust the electrical load. The resource adjustment command is used to indicate the power adjustment demand of the power grid. Based on the aforementioned adjustment constraints, the upper limit for the quantity adjustment of each of the aforementioned electrical devices within the resource response time is determined; Based on the adjustment quantity of each of the electrical devices and the response characteristic curve, the expected adjustment capacity is determined. The expected adjustment capacity is used to indicate the total amount of electricity expected to be adjusted by each of the electrical devices. The adjustment quantity is less than the upper limit of the quantity adjustment. Based on the number of adjustments required for each of the aforementioned electrical devices and the adjustment cost, the estimated adjustment cost is determined; When the resource adjustment instruction is a non-control instruction, the combination of the expected adjustment capacity being greater than or equal to the historical declared capacity is determined as the candidate combination; the combination with the lowest expected adjustment cost among the candidate combinations is determined as the response combination for adjusting the electricity load. The resource response module is used to adjust resource responses based on the aforementioned response combination method.
11. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one instruction, at least one program, a code set, or an instruction set, the at least one instruction, the at least one program, the code set, or the instruction set being loaded and executed by the processor to implement the resource response method as described in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that, The readable storage medium stores at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the resource response method as described in any one of claims 1 to 9.
13. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium, a processor of a computer device reading the computer instructions from the computer-readable storage medium, and the processor executing the computer instructions to implement the resource response method as described in any one of claims 1 to 9.