Power consumption management method and device of electric equipment, equipment and storage medium
By obtaining and analyzing the power consumption information of power-consuming equipment in the multi-device management system of the data center, the power consumption of equipment with rising power consumption is increased in batches, which solves the stability problem caused by sudden power consumption changes in the centralized power supply mode. Improved system security and reliability.
Patent Information
- Application Number
- CN202410544196.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2024-08-27
AI Technical Summary
When sudden Internet business changes occur in large data centers, drastic changes in server load under centralized power supply mode may lead to sudden power consumption, affecting power supply stability and security, and even causing server downtime.
By obtaining the power consumption information of each power-consuming device in the multi-device management system, the power consumption changes are determined, and the power consumption of the devices with rising power consumption is increased in batches to avoid sudden power consumption of the centralized power supply module and maintain stable power supply.
When an increase in power consumption of electrical equipment is detected, the power consumption is not increased immediately, but in batches, which avoids the instability of centralized power supply, reduces the risk of downtime, and improves the security and reliability of the system.
Smart Images

Figure CN118550387A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power consumption management, and in particular to a power consumption management method for an electric device, a power consumption management device for an electric device, an electronic device and a non-volatile computer-readable storage medium. Background Art
[0002] As the popularity of new-generation information technology represented by cloud computing, big data, mobile Internet, smart terminals, and the Internet of Things continues to accelerate, data centers are expanding rapidly, and their space and power consumption issues have become a major problem. When designing, building, and operating large data centers, TCO (Total Cost of Ownership) and PUE (Power Usage Effectiveness) have become important measurement points for building data centers, which has driven data centers to develop towards a high-density model.
[0003] Data centers generally use centralized power supply, that is, using an integrated power supply module to power all nodes. Centralized power supply has the advantages of low cost, simple centralized maintenance, and low overall energy consumption. However, centralized power supply has higher requirements for safety and reliability.
[0004] At present, the burstiness of Internet business is very large. Holidays, different times, and emergencies may cause drastic changes in server load in a short period of time, which will have a huge impact on the centralized power supply mode. When there is a problem with the centralized power supply, there may be a risk of a large number of servers going down. Summary of the invention
[0005] In view of the above problems, a method for managing power consumption of an electric device, a device for managing power consumption of an electric device, an electronic device and a non-volatile computer-readable storage medium are proposed to overcome the above problems or at least partially solve the above problems, including:
[0006] A method for managing power consumption of an electric device, applied to a management system of multiple devices, the management system comprising multiple electric devices, the multiple electric devices being powered by a centralized power supply module;
[0007] The method comprises:
[0008] Obtain power consumption information of each electrical device;
[0009] Determine power consumption change information of each electrical device according to the power consumption information;
[0010] According to the power consumption change information of each power-consuming device, determining at least two power-consuming devices with increased power consumption from the multiple power-consuming devices;
[0011] The power consumption of one of the at least two power consumption increasing devices is increased, and after a preset time period, the power consumption of another of the at least one power consumption increasing device is increased.
[0012] Optionally, determining at least two devices with increased power consumption from a plurality of devices according to the power consumption change information of each device includes:
[0013] According to the power consumption change information of the first electric device, determining whether the power consumption of the first electric device is in an upward trend;
[0014] When it is determined that the power consumption of the first power-consuming device is on an increasing trend and the power consumption of the first power-consuming device exceeds a preset value, the first power-consuming device is determined to be a device with increasing power consumption.
[0015] Optionally, any target power-consuming device includes: a target distributed networking module, a target timing negotiation module and a target power consumption control module;
[0016] The target distributed networking module stores a routing table, wherein the routing table includes the communication addresses of each electrical device;
[0017] The target timing negotiation module is used to send a first power consumption increase signal to other power consumption devices except the target power consumption device by using the communication address in the routing table in the target distributed networking module when the power consumption of the target power consumption device increases; and interact with the other power consumption devices to determine the target power consumption adjustment sequence of the target power consumption device; and send a first restriction release instruction to the target power consumption control module according to the target power consumption adjustment sequence;
[0018] The target power consumption control module is used to send a first restriction instruction to the management engine of the target power-consuming device, and the first restriction instruction is used to limit the power consumption of the target power-consuming device within a preset value; the target power consumption control module is also used to send an instruction to the management engine of the target power-consuming device to release the power consumption limit on the target power-consuming device when receiving the first restriction release instruction.
[0019] Optionally, the routing table further includes a device identifier of each power-consuming device, and a corresponding relationship between the device identifier of each power-consuming device and a communication address of each power-consuming device; the first power consumption increase signal includes a first device identifier of the target power-consuming device, and a first timestamp of the first power consumption increase signal;
[0020] The target timing negotiation module is used to receive a second power consumption increase signal sent by the other electrical devices, wherein the second power consumption increase signal includes a second device identifier of the electrical device that sends the second power consumption increase signal, and a second timestamp of the second power consumption increase signal; and determine the power consumption adjustment order of each electrical device according to the first power consumption increase signal and the second power consumption increase signal.
[0021] Optionally, the target timing negotiation module is further used to synchronize the power consumption adjustment sequence of each electric device with the other electric devices.
[0022] Optionally, the target timing negotiation module is further configured to send first restriction lifted information to the other power-consuming devices when lifting the power consumption restriction on the target power-consuming device.
[0023] Optionally, the target timing negotiation module is also used to receive the second restriction lifted information sent by the other electrical devices; when the power consumption adjustment order of the electrical device corresponding to the received second restriction lifted information is located before the target power consumption adjustment order, a first restriction lifting instruction is sent to the target power consumption control module.
[0024] Optionally, the management system further includes a first host, and the first host is used to send the routing table to each power-consuming device.
[0025] Optionally, the first host is further used to update the routing table; and send the updated routing table to each power-consuming device.
[0026] Optionally, the management system further includes:
[0027] The second host is used to determine the power consumption adjustment order of each power consumption increased device; according to the power consumption adjustment order of each power-consuming device, the power consumption of each power consumption increased device is increased in sequence.
[0028] The embodiment of the present invention further provides a power consumption management device for an electric device, which is applied to a management system for multiple devices, wherein the management system includes multiple electric devices, and the multiple electric devices are powered by a centralized power supply module;
[0029] The device comprises:
[0030] An acquisition module is used to obtain power consumption information of each electrical device;
[0031] A first determining module, configured to determine power consumption change information of each electrical device according to the power consumption information;
[0032] A second determining module is used to determine at least two power consumption increasing devices from a plurality of power consumption devices according to the power consumption change information of each power consumption device;
[0033] The control module is used to increase the power consumption of one of the at least two power consumption increasing devices, and to increase the power consumption of another of the at least one power consumption increasing device after a preset time period.
[0034] Optionally, the second determination module is used to determine whether the power consumption of the first power-consuming device is on an upward trend based on the power consumption change information of the first power-consuming device; when it is determined that the power consumption of the first power-consuming device is on an upward trend and the power consumption of the first power-consuming device exceeds a preset value, determine that the first power-consuming device is a device with increasing power consumption.
[0035] Optionally, any target power-consuming device includes: a target distributed networking module, a target timing negotiation module and a target power consumption control module;
[0036] The target distributed networking module stores a routing table, wherein the routing table includes the communication addresses of each electrical device;
[0037] The target timing negotiation module is used to send a first power consumption increase signal to other power consumption devices except the target power consumption device by using the communication address in the routing table in the target distributed networking module when the power consumption of the target power consumption device increases; and interact with the other power consumption devices to determine the target power consumption adjustment sequence of the target power consumption device; and send a first restriction release instruction to the target power consumption control module according to the target power consumption adjustment sequence;
[0038] The target power consumption control module is used to send a first restriction instruction to the management engine of the target power-consuming device, and the first restriction instruction is used to limit the power consumption of the target power-consuming device within a preset value; the target power consumption control module is also used to send an instruction to the management engine of the target power-consuming device to release the power consumption limit on the target power-consuming device when receiving the first restriction release instruction.
[0039] Optionally, the routing table further includes a device identifier of each power-consuming device, and a corresponding relationship between the device identifier of each power-consuming device and a communication address of each power-consuming device; the first power consumption increase signal includes a first device identifier of the target power-consuming device, and a first timestamp of the first power consumption increase signal;
[0040] The target timing negotiation module is used to receive a second power consumption increase signal sent by the other electrical devices, wherein the second power consumption increase signal includes a second device identifier of the electrical device that sends the second power consumption increase signal, and a second timestamp of the second power consumption increase signal; and determine the power consumption adjustment order of each electrical device according to the first power consumption increase signal and the second power consumption increase signal.
[0041] Optionally, the target timing negotiation module is further used to synchronize the power consumption adjustment sequence of each electric device with the other electric devices.
[0042] Optionally, the target timing negotiation module is further configured to send first restriction lifted information to the other power-consuming devices when lifting the power consumption restriction on the target power-consuming device.
[0043] Optionally, the target timing negotiation module is also used to receive the second restriction lifted information sent by the other electrical devices; when the power consumption adjustment order of the electrical device corresponding to the received second restriction lifted information is located before the target power consumption adjustment order, a first restriction lifting instruction is sent to the target power consumption control module.
[0044] Optionally, the management system further includes a first host, and the first host is used to send the routing table to each power-consuming device.
[0045] Optionally, the first host is further used to update the routing table; and send the updated routing table to each power-consuming device.
[0046] Optionally, the management system further includes:
[0047] The second host is used to determine the power consumption adjustment order of each power consumption increased device; according to the power consumption adjustment order of each power-consuming device, the power consumption of each power consumption increased device is increased in sequence.
[0048] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the power consumption management method for an electric device as described above.
[0049] An embodiment of the present invention further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the power consumption management method of the electric device as described above.
[0050] An embodiment of the present invention further provides a non-volatile computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the power consumption management method of the electric device as described above is implemented.
[0051] In an embodiment of the present invention, a management system of multiple devices can first obtain power consumption information of each power-consuming device; then determine power consumption change information of each power-consuming device based on the power consumption information; then determine at least two power consumption increase devices from multiple power-consuming devices based on the power consumption change information of each power-consuming device; then, increase the power consumption of one power consumption increase device among the at least two power consumption increase devices, and after a preset period of time, increase the power consumption of another power consumption increase device among the at least one power consumption increase device. Through the embodiment of the present invention, when it is detected that the power consumption of a power-consuming device has increased, the power consumption of the power-consuming device will not be increased immediately, but the power consumption of the power-consuming device will be increased in batches, thereby maintaining the stability of centralized power supply. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0053] Figure 1 It is a schematic diagram of the structure of a management system for multiple devices according to an embodiment of the present invention;
[0054] Figure 2 is a flowchart of a method for managing power consumption of an electric device according to an embodiment of the present invention;
[0055] Figure 3 is a flowchart of another method for managing power consumption of an electric device according to an embodiment of the present invention;
[0056] Figure 4a is a schematic diagram of the structure of another multi-device management system according to an embodiment of the present invention;
[0057] Figure 4b It is a partial structural diagram of a management system of multiple devices according to an embodiment of the present invention;
[0058] Figure 5 is a structural diagram of another multi-device management system according to an embodiment of the present invention;
[0059] Figure 6 It is a structural schematic diagram of a power consumption management device for electric equipment according to an embodiment of the present invention;
[0060] Figure 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
[0061] Figure 8 It is a structural schematic diagram of a non-volatile computer-readable storage medium according to an embodiment of the present invention. DETAILED DESCRIPTION
[0062] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0063] Reference Figure 1 , Figure 1 A multi-device management system according to an embodiment of the present invention is shown. The management system may include multiple electrical devices (such as Figure 1 As shown, power consumer 1, power consumer 2, ..., power consumer n), these multiple power consumers are powered by a centralized power supply module.
[0064] In some feasible embodiments, the power-consuming device may be a server or a power-consuming device, which is not limited in the embodiments of the present invention.
[0065] When these multiple electrical devices are powered by a centralized power supply module, the power supply cost is low, centralized maintenance is simple, and overall energy consumption is low; however, correspondingly, centralized power supply has higher requirements for safety and reliability.
[0066] Specifically, when multiple power-consuming devices experience an increase in power consumption at the same time, the power consumption of the centralized power supply module may change suddenly, which is not conducive to the stability of the power supply line and may affect the life of the power supply; in serious cases, it may even cause the power-consuming devices or the centralized power supply module to crash; in order to avoid the above situation, an embodiment of the present invention provides a power consumption management method for power-consuming devices. When the power consumption of a power-consuming device is detected to have increased, the method does not immediately increase the power consumption of the power-consuming device, but allows the power-consuming device to increase power consumption in batches, thereby maintaining the stability of the centralized power supply. For details, please refer to Figure 2 , Figure 2 FIG. 1 is a flowchart showing a method for managing power consumption of an electric device according to an embodiment of the present invention; Figure 2 As shown, the method may include the following steps:
[0067] Step 201: Obtain power consumption information of each electrical device.
[0068] In some feasible embodiments, the power consumption information of each electrical device may be continuously or intermittently collected; illustratively, a BMC (Baseboard Management Controller) may be provided in the electrical device, and the BMC may be used to collect and detect the power consumption information of the electrical device.
[0069] The power consumption information for each electrical device may include the power consumption of the electrical device at different times. For example, for electrical device A, the power consumption of electrical device A at time n, the power consumption at time n+1, and the power consumption at time n+2 may be collected to obtain the power consumption information of the electrical device A. The power consumption information of electrical device A includes: the power consumption of electrical device A at time n, the power consumption at time n+1, and the power consumption at time n+2. The embodiment of the present invention does not limit this.
[0070] Step 202: Determine the power consumption change information of each electrical device according to the power consumption information.
[0071] After obtaining the power consumption information of each electrical device, the power consumption change information of each electrical device can be determined based on the power consumption information of the electrical device; the power consumption change information can be used to indicate the change of the electrical device within a time period; exemplarily, the power consumption information is: the power consumption of electrical device A at time n is 1000w, the power consumption at time n+1 is 1500w, and the power consumption at time n+2 is 2000w, then the power consumption change information of the electrical device in the time period [n, n+2] can be used to indicate that the power consumption of electrical device A in the time period [n, n+2] shows an upward trend.
[0072] As another example, the power consumption information is: the power consumption of the power device A at time n is 1000w, the power consumption at time n+1 is 1100w, and the power consumption at time n+2 is 1000w. The power consumption change information of the power device in the time period [n, n+2] can be used to indicate that the power consumption of the power device A in the time period [n, n+2] is stable without an obvious upward trend, and the embodiments of the present invention are not limited to this.
[0073] Step 203: Determine at least two devices with increased power consumption from the multiple power consumption devices according to the power consumption change information of each power consumption device.
[0074] After determining the power consumption change information of the electric device, it can be determined whether the corresponding electric device is an increased power consumption device based on the power consumption change information of the electric device; exemplarily, when the power consumption change information of the electric device indicates that the power consumption of the electric device shows an increasing trend within a time period, it can be determined that the electric device is an increased power consumption device.
[0075] As another example, when the power consumption change information indicates that the increase in power consumption of the user's electric device within a time period exceeds a preset value, the electric device can be determined to be an increased power consumption device.
[0076] In some feasible embodiments, if only one device with increased power consumption is identified within a time period, the power consumption of the device with increased power consumption is directly increased without other restrictions because the increased power consumption of one device will not affect the centralized power supply module.
[0077] On the contrary, if at least two devices with increased power consumption are determined within a time period, since there are too many devices with increased power consumption, in order to avoid increasing power consumption at the same time and affecting the centralized power supply module, step 204 may be executed.
[0078] Step 204: Increase the power consumption of one of the at least two power consumption increased devices, and after a preset time period, increase the power consumption of another of the at least one power consumption increased devices.
[0079] When at least two devices with increased power consumption are identified within a time period, the power consumption of one of the at least two devices with increased power consumption can be increased first; then, after a preset period of time, the power consumption of another of the at least two devices with increased power consumption can be increased. The power consumption of all devices with increased power consumption is increased in sequence until the power consumption of all devices with increased power consumption is increased to the required power consumption of the power-consuming device. Compared with the prior art of immediately increasing the power consumption of the power-consuming device, the embodiment of the present invention can maintain the stability of the centralized power supply of the power-consuming device.
[0080] In an embodiment of the present invention, a management system of multiple devices can first obtain power consumption information of each power-consuming device; then determine power consumption change information of each power-consuming device based on the power consumption information; then determine at least two power consumption increase devices from multiple power-consuming devices based on the power consumption change information of each power-consuming device; then, increase the power consumption of one power consumption increase device among the at least two power consumption increase devices, and after a preset period of time, increase the power consumption of another power consumption increase device among the at least one power consumption increase device. Through the embodiment of the present invention, when it is detected that the power consumption of a power-consuming device has increased, the power consumption of the power-consuming device will not be increased immediately, but the power consumption of the power-consuming device will be increased in batches, thereby maintaining the stability of centralized power supply.
[0081] refer to Figure 3 , Figure 3 FIG. 4 is a flowchart showing another method for managing power consumption of an electric device according to an embodiment of the present invention; Figure 3 As shown, the method may include the following steps:
[0082] Step 301: Obtain power consumption information of each electrical device.
[0083] In some feasible embodiments, the power consumption information of the electric device can be collected continuously or at a preset time interval, wherein the preset time interval can be set according to actual needs, for example, 10ms, 1s, etc., and the embodiment of the present invention does not limit this.
[0084] Step 302: Determine the power consumption change information of each electrical device according to the power consumption information.
[0085] After the power consumption information of each electric device is obtained, the power consumption change information of each electric device can be determined based on the power consumption information of each electric device.
[0086] Step 303: Determine whether the power consumption of the first power-consuming device is on an upward trend based on the power consumption change information of the first power-consuming device.
[0087] After determining the power consumption change information of the electric device, it can be determined whether the corresponding electric device is a device with increased power consumption based on the power consumption change information of the electric device.
[0088] Exemplarily, for any first power-consuming device among multiple power-consuming devices, it can be determined based on the power consumption change information of the first power-consuming device whether the power consumption of the first power-consuming device is on an upward trend during the time period corresponding to the power consumption information; that is, whether the power consumption of the first power-consuming device gradually increases during the time period corresponding to the power consumption information.
[0089] Step 304: When it is determined that the power consumption of the first power-consuming device is on an increasing trend and the power consumption of the first power-consuming device exceeds a preset value, the first power-consuming device is determined to be a power-increasing device.
[0090] When the first electrical device is in an upward trend during the time period corresponding to the power consumption information, it can be further determined whether the power consumption of the first electrical device has exceeded a preset value; the preset value can be set according to actual conditions. For example, the preset value can be set to 50% to 70% of the maximum power consumption of the first electrical device. The embodiment of the present invention does not limit this.
[0091] When the power consumption of the first electric device is in an upward trend during the time period corresponding to the power consumption information, and the power consumption of the first electric device has exceeded a preset value, it can be determined that the first electric device is a power consumption increasing device.
[0092] In other feasible embodiments, when determining whether the first electrical device is in an upward trend during the time period corresponding to the power consumption information, it can also be determined whether the upward trend is large; illustratively, whether the upward trend is large can be determined based on the amplitude of the increase; when the amplitude of the increase exceeds the preset amplitude value, it can be determined that the amplitude of the increase is large, and at this time it can be further determined whether the power consumption of the first electrical device exceeds the preset value.
[0093] In actual applications, the order of determining the upward trend and determining whether the power consumption exceeds the preset value can be set according to actual needs; for example: it is also possible to first determine whether the power consumption of the first electrical device exceeds the preset value, and then determine whether the first electrical device is in an upward trend during the time period corresponding to the power consumption information. The embodiments of the present invention do not limit this.
[0094] Step 305: Increase the power consumption of one of the at least two power consumption increased devices, and after a preset time period, increase the power consumption of another of the at least one power consumption increased devices.
[0095] When at least two devices with increased power consumption are identified within a time period, the power consumption of one of the at least two devices with increased power consumption can be increased first; then, after a preset period of time, the power consumption of another of the at least two devices with increased power consumption can be increased. The power consumption of all devices with increased power consumption is increased in sequence until the power consumption of all devices with increased power consumption is increased to the required power consumption of the power-consuming device. Compared with the prior art of immediately increasing the power consumption of the power-consuming device, the embodiment of the present invention can maintain the stability of the centralized power supply of the power-consuming device.
[0096] In an embodiment of the present invention, power consumption information of each power-consuming device is obtained; power consumption change information of each power-consuming device is determined based on the power consumption information; whether the power consumption of the first power-consuming device is on an upward trend is determined based on the power consumption change information of the first power-consuming device; when it is determined that the power consumption of the first power-consuming device is on an upward trend, and the power consumption of the first power-consuming device exceeds a preset value, the first power-consuming device is determined to be a power consumption increasing device; the power consumption of one power consumption increasing device among at least two power consumption increasing devices is increased, and after a preset period of time, the power consumption of another power consumption increasing device among at least one power consumption increasing device is increased. Through the embodiment of the present invention, when it is detected that the power consumption of a power-consuming device has increased, the power consumption of the power-consuming device is not increased immediately, but the power consumption of the power-consuming device is increased in batches, thereby maintaining the stability of centralized power supply.
[0097] The above-mentioned power consumption management method of electric equipment can be applied to a management system of multiple equipments; the management system can manage power consumption in a distributed manner or in a centralized manner.
[0098] For distributed power consumption management, please refer to Figure 4a , Figure 4a FIG. 2 shows a schematic diagram of the structure of another multi-device management system according to an embodiment of the present invention; Figure 4a As shown, the management system may include:
[0099] Multiple power-consuming devices are powered by a centralized power supply module.
[0100] Any one of the multiple electrical devices is used as a target electrical device, and the target electrical device may include:
[0101] The target distributed networking module stores a routing table, which includes the communication address of each electrical device;
[0102] A target timing negotiation module is used to send a first power consumption increase signal to other power consumption devices except the target power consumption device using the communication address in the routing table in the target distributed networking module when the power consumption of the target power consumption device increases; and interact with other power consumption devices to determine the target power consumption adjustment sequence of the target power consumption device; and send a first restriction release instruction to the target power consumption control module according to the target power consumption adjustment sequence;
[0103] The target power consumption control module is used to send a first restriction instruction to the management engine of the target power-consuming device, and the first restriction instruction is used to limit the power consumption of the target power-consuming device within a preset value; the target power consumption control module is also used to send an instruction to the management engine of the target power-consuming device to release the power consumption limit on the target power-consuming device when receiving the first restriction release instruction.
[0104] In practical applications, the management system may include multiple power-consuming devices; the power-consuming devices may be connected to the centralized power supply module as individual nodes, and multiple power-consuming devices may be centrally powered by the centralized power supply module. The power-consuming devices may be servers or other devices that need to be centrally powered by the centralized power supply module, and the embodiments of the present invention do not limit this.
[0105] For the target power-consuming device, it may include a target distributed networking module for communication, a target timing negotiation module for distributed power consumption management, and a target power consumption control module for controlling the power consumption of the power-consuming device.
[0106] Among them, the target distributed networking module can be a module of the Kademlia algorithm. Kademlia is a P2P (Peer-to-Peer) overlapping network transmission protocol to build a distributed P2P computer network. It is a P2P information system based on XOR operations. It establishes the structure of the network and standardizes the way nodes communicate and exchange information.
[0107] In some feasible embodiments, a routing table may be stored in the target distributed networking module, and the communication address of each power-consuming device may be stored in the routing table.
[0108] In one embodiment of the present invention, the management system further includes a first host, and the first host is used to send a routing table to each power-consuming device.
[0109] In some feasible embodiments, a first host may be set in the management system, which may send broadcast messages to the local area network, maintain a routing table in the local area network through the messages, and send the routing table to all electrical devices in the local area network.
[0110] In one embodiment of the present invention, the first host is further used to update the routing table; and send the updated routing table to each power-consuming device.
[0111] In some feasible embodiments, the first host can also be used to update the routing table; illustratively, when a power-consuming device is powered on or off, or when a power-consuming device is online or offline, the first host can update the routing table and send the updated routing table to each power-consuming device; after each power-consuming device receives the updated routing table, it can update its own stored routing table so that it can subsequently interact with other power-consuming devices based on the new routing table.
[0112] In other feasible embodiments, when the electric device finds that another electric device is inaccessible, it may also delete the inaccessible electric device from the stored routing table and notify the other electric devices or the first host to update the routing table. The embodiments of the present invention are not limited to this.
[0113] In an embodiment of the present invention, the target timing negotiation module can be used to send a first power consumption increase signal to other power consumption devices other than the target power consumption device when the power consumption of the target power consumption device increases, using the communication address in the routing table in the target distributed networking module. The first power consumption increase signal can notify other power consumption devices that the target power consumption device is a power consumption increase device.
[0114] In some feasible embodiments, the target timing negotiation module in the target power-consuming device can interact with the timing negotiation modules in other power-consuming devices to determine the target power consumption adjustment order of the target power-consuming device; exemplarily, if there are other power-consuming devices that are also power-increasing devices, the target power-consuming device and the other power-consuming devices can determine their respective power consumption adjustment orders through interaction.
[0115] For example, within a time period, if power-consuming device 1 is first determined as a power-increasing device, and power-consuming device 2 is then determined as a power-increasing device, then the power consumption adjustment order of power-consuming device 1 is before that of power-consuming device 2.
[0116] After determining the target power consumption adjustment order of the corresponding target power-consuming device, the target timing negotiation module can send a first restriction release instruction to the target power consumption control module according to the target power consumption adjustment order; the first restriction release instruction can be used by the target power consumption control module to release the restriction on the power consumption of the target power-consuming device.
[0117] Specifically, in order to avoid a sudden increase in power consumption of the target power-consuming device, the target power consumption control module can send a first limiting instruction to the management engine of the target power-consuming device. The first limiting instruction can be used to limit the power consumption of the target power-consuming device within a preset value; the preset value can be set according to actual conditions.
[0118] Exemplarily, when the power consumption of the target electrical device does not exceed the preset value for a long time, the preset value may also be adjusted, for example, by reducing the preset value, which is not limited in this embodiment of the present invention.
[0119] When receiving the first restriction release instruction, the target power consumption control module may respond to the first restriction release instruction and send an instruction to the management engine of the target power-consuming device to release the power consumption restriction on the target power-consuming device.
[0120] In one embodiment of the present invention, the routing table also includes the device identification of each power-consuming device, and the corresponding relationship between the device identification of each power-consuming device and the communication address of each power-consuming device; the first power consumption increase signal includes the first device identification of the target power-consuming device, and the first timestamp of the first power consumption increase signal;
[0121] The target timing negotiation module is used to receive a second power consumption increase signal sent by other electrical devices, the second power consumption increase signal including a second device identifier of the electrical device sending the second power consumption increase signal, and a second timestamp of the second power consumption increase signal; and determine the power consumption adjustment order of each electrical device based on the first power consumption increase signal and the second power consumption increase signal.
[0122] For example, the distributed network node ID in Kademlia is 160 bits, and the device identification of each electric device in the embodiment of the present invention is simplified by 4 bits. The corresponding relationship can be shown in the following Table 1:
[0123] Table 1:
[0124] Equipment identification Mailing address 0000 192.168.0.6 0001 192.168.0.11 ...... ...... 0010 192.168.0.7 0011 192.168.0.5 …… ……
[0125] In Table 1, the communication address of the electric device may be an IPV4 (Internet Protocol version 4) address.
[0126] In some feasible embodiments, the first power consumption increase signal may include a first device identifier of the target power-consuming device and a first timestamp of the first power consumption increase signal; the first timestamp may refer to the time when the first power consumption increase signal is generated.
[0127] In actual applications, after determining that other electrical devices are devices with increased power consumption, they can also send a second power consumption increased signal to the target electrical device. The second power consumption increased signal may include a second device identifier of the electrical device sending the second power consumption increased signal and a second timestamp of the second power consumption increased signal.
[0128] After receiving the second power consumption increase signal, the target timing negotiation module can determine the power consumption adjustment order of each electrical device according to the first power consumption increase signal and the second power consumption increase signal; exemplarily, when the timestamp in the first power consumption increase signal is earlier than the timestamp in the second power consumption increase signal, it can be determined that the target power consumption adjustment order of the target electrical device is before the power consumption adjustment order of other electrical devices that send the second power consumption increase signal.
[0129] As another example, when the timestamp in the first power consumption increase signal is consistent with the timestamp in the second power consumption increase signal, the power consumption adjustment order can be determined by comparing the sizes of the first device identifier in the first power consumption increase signal and the second device identifier in the second power consumption increase signal. For example, if the first device identifier in the first power consumption increase signal is 0000 and the second device identifier in the second power consumption increase signal is 0001, then the power consumption adjustment order of the target power consumption device corresponding to the first power consumption increase signal is before the adjustment order of the power consumption device corresponding to the second power consumption increase signal.
[0130] In one embodiment of the present invention, the target timing negotiation module is further used to synchronize the power consumption adjustment sequence of each electric device with other electric devices.
[0131] In some feasible embodiments, the target timing negotiation module can also interact with the target timing negotiation modules of other power-consuming devices to synchronize the power consumption adjustment sequence of each power-consuming device to ensure that each power-consuming device can lift the power consumption restrictions in a unified order.
[0132] In one embodiment of the present invention, the target timing negotiation module is further configured to send first restriction release information to other power-consuming devices when releasing the power consumption restriction on the target power-consuming device.
[0133] In some feasible embodiments, after the target power consumption control module releases the power consumption limit on the target power-consuming device, the target timing negotiation module can send a first restriction release information to other power-consuming devices to notify other power-consuming devices that the power consumption limit on the target power-consuming device has been released, and the power-consuming devices after the target power consumption adjustment order of the target power-consuming device can perform the power consumption limit release operation.
[0134] In one embodiment of the present invention, the target timing negotiation module is also used to receive second restriction lifted information sent by other electrical devices; when the power consumption adjustment order of the electrical device corresponding to the received second restriction lifted information is located before the target power consumption adjustment order, a first restriction lifting instruction is sent to the target power consumption control module.
[0135] In some feasible embodiments, when the power consumption restriction of the corresponding power consumer is lifted by the time demand negotiation module of the other power consumer, the time demand negotiation module of the other power consumer sends the second restriction lifted information to the target time demand negotiation module of the target power consumer.
[0136] After receiving the second restriction lifted information, if the target timing negotiation module determines that the power consumption adjustment order of the power-consuming device corresponding to the second restriction lifted information is located before the target power consumption adjustment order, it can be determined that it is the turn of the target power-consuming device to lift the power consumption restriction.
[0137] At this time, the target timing negotiation module in the target power-consuming device can send a first restriction release instruction to the target power consumption control module; after receiving the first restriction release instruction, the target power consumption control module can send an instruction to the management engine of the target power-consuming device to release the power consumption limit on the target power-consuming device.
[0138] In some feasible embodiments, when determining the power consumption adjustment sequence, the power consumption adjustment sequence may also be determined in combination with the magnitude of the rising trend of the power-consuming devices, the priority of the power-consuming devices, etc.
[0139] Specifically, the power consumption limit of the power consuming device with a large upward trend may be lifted first, and then the power consumption limit of the power consuming device with a small upward trend may be lifted, so as to avoid the power consuming device with a large upward trend from shutting down due to failure to lift the power consumption limit in time.
[0140] For another example, the power consumption limit of the power-consuming device with a high priority may be lifted first, and then the power consumption limit of the power-consuming device with a low priority may be lifted; the priority may be pre-set based on the functions and services provided by the power-consuming device, and the embodiment of the present invention does not limit this.
[0141] For example, the power consumption adjustment order can be determined by comprehensively considering multiple factors including the upward trend, priority, the size of the device identifier, and the size of the timestamp; specifically, weight values can be set for at least two influencing factors including the upward trend, priority, the size of the device identifier, and the size of the timestamp; then, the power consumption adjustment order is determined based on the weight values and the corresponding influencing factors.
[0142] For example, Figure 4b , taking the server as an example:
[0143] The server includes a power consumption control module, a timing negotiation module, a Kademlia distributed networking module and a communication module; the power consumption control module, the timing negotiation module, the Kademlia distributed networking module and the communication module can be set in the BMC ( Figure 4b BMC1, BMC2 and BMC3 are shown in the figure.
[0144] Among them, the power consumption control module and the communication module are inherent modules on the traditional BMC, and their external interfaces can be modified to make them adapt to the method mentioned in the embodiment of the present invention.
[0145] The Kademlia distributed networking module and the timing negotiation module can be made into universal modules. Even if the power on / off control module and the communication module are different in different BMC firmwares, the Kademlia distributed networking module and the timing negotiation module can be conveniently reused by modifying the external interface.
[0146] For example, after the mutual confirmation process, the BMC node with the first power consumption adjustment order first releases the power consumption restriction and sends a message that the power consumption restriction has been released to other BMC nodes. The node with the second power consumption adjustment order releases the power consumption restriction after receiving the message and waiting for 1 second, and so on.
[0147] If a server does not send a restriction release message within 20 seconds, the next server will directly release the power consumption restriction.
[0148] The BMC can monitor the real-time power consumption of the server and determine whether the real-time power consumption exceeds the set power consumption threshold and increases rapidly (for example, it can be determined by the increase curve of the first three consecutive samples). If so, it is marked as 1; at this time, it is necessary to negotiate with the BMCs in other servers.
[0149] If it is determined that negotiation is needed, it will immediately initiate a query command to other BMC nodes in the distributed network to check which other BMC nodes have also determined that the power consumption has increased significantly, and record the query results in the memory. Later, the BMC node sends its recorded data to other BMC nodes to confirm whether the records are consistent. When other BMC nodes return confirmation messages, the BMC will release the power consumption restrictions in turn according to the power consumption adjustment order to increase the power consumption of the server.
[0150] In actual applications, if it is determined that the real-time power consumption exceeds the set power consumption threshold but will not increase rapidly, it is marked as 0, and no negotiation is required, and the power consumption limit is directly released.
[0151] For centralized power consumption management, please refer to Figure 5 , Figure 5 FIG. 4 shows a schematic diagram of a structure of a management system for multiple devices according to an embodiment of the present invention. Figure 5 As shown, the management system may include:
[0152] Multiple power-consuming devices are powered by a centralized power supply module.
[0153] The second host is used to determine the power consumption adjustment sequence of each power consumption increasing device; according to the power consumption adjustment sequence of each power consuming device, the power consumption of each power consumption increasing device is increased in sequence.
[0154] In some feasible embodiments, a second host may be set up to centrally manage the power consumption of electrical devices; specifically, the second host may collect power consumption information of each electrical device and determine power consumption change information of each electrical device based on the power consumption information.
[0155] Then, the second host can determine at least two power consumption increasing devices from multiple power consumption devices according to the power consumption change information of each power consumption device; next, the second host can determine the power consumption adjustment order of each power consumption increasing device, and increase the power consumption of each power consumption increasing device in turn according to the power consumption adjustment order of each power consumption device. The specific method for determining the power consumption adjustment order can refer to the aforementioned embodiment of distributed power consumption management, and the present invention will not be repeated here.
[0156] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0157] Reference Figure 6 , shows a schematic diagram of the structure of a power consumption management device for an electric device according to an embodiment of the present invention, which is applied to a management system for multiple devices, the management system includes multiple electric devices, and the multiple electric devices are powered by a centralized power supply module; the power consumption management device may include the following modules:
[0158] The acquisition module 601 is used to acquire the power consumption information of each electrical device;
[0159] A first determining module 602 is used to determine power consumption change information of each electrical device according to the power consumption information;
[0160] A second determining module 603 is used to determine at least two devices with increased power consumption from a plurality of power consuming devices according to the power consumption change information of each power consuming device;
[0161] The control module 604 is configured to increase the power consumption of one of the at least two power consumption increasing devices, and increase the power consumption of another of the at least one power consumption increasing device after a preset time period.
[0162] In one embodiment of the present invention, the second determination module 603 is used to determine whether the power consumption of the first power-consuming device is on an upward trend based on the power consumption change information of the first power-consuming device; when it is determined that the power consumption of the first power-consuming device is on an upward trend and the power consumption of the first power-consuming device exceeds a preset value, the first power-consuming device is determined to be an increasing power consumption device.
[0163] In one embodiment of the present invention, any target power-consuming device includes: a target distributed networking module, a target timing negotiation module and a target power consumption control module;
[0164] The target distributed networking module stores a routing table including the communication addresses of various electrical devices;
[0165] A target timing negotiation module is used to send a first power consumption increase signal to other power consumption devices except the target power consumption device using the communication address in the routing table in the target distributed networking module when the power consumption of the target power consumption device increases; and interact with other power consumption devices to determine the target power consumption adjustment sequence of the target power consumption device; and send a first restriction release instruction to the target power consumption control module according to the target power consumption adjustment sequence;
[0166] The target power consumption control module is used to send a first restriction instruction to the management engine of the target power-consuming device, and the first restriction instruction is used to limit the power consumption of the target power-consuming device within a preset value; the target power consumption control module is also used to send an instruction to the management engine of the target power-consuming device to release the power consumption limit on the target power-consuming device when receiving the first restriction release instruction.
[0167] In one embodiment of the present invention, the routing table also includes the device identification of each power-consuming device, and the corresponding relationship between the device identification of each power-consuming device and the communication address of each power-consuming device; the first power consumption increase signal includes the first device identification of the target power-consuming device, and the first timestamp of the first power consumption increase signal;
[0168] The target timing negotiation module is used to receive a second power consumption increase signal sent by other electrical devices, the second power consumption increase signal including a second device identifier of the electrical device sending the second power consumption increase signal, and a second timestamp of the second power consumption increase signal; and determine the power consumption adjustment order of each electrical device based on the first power consumption increase signal and the second power consumption increase signal.
[0169] In one embodiment of the present invention, the target timing negotiation module is further used to synchronize the power consumption adjustment sequence of each electric device with other electric devices.
[0170] In one embodiment of the present invention, the target timing negotiation module is further configured to send first restriction release information to other power-consuming devices when releasing the power consumption restriction on the target power-consuming device.
[0171] In one embodiment of the present invention, the target timing negotiation module is also used to receive second restriction lifted information sent by other electrical devices; when the power consumption adjustment order of the electrical device corresponding to the received second restriction lifted information is located before the target power consumption adjustment order, a first restriction lifting instruction is sent to the target power consumption control module.
[0172] In one embodiment of the present invention, the management system further includes a first host, and the first host is used to send a routing table to each power-consuming device.
[0173] In one embodiment of the present invention, the first host is further used to update the routing table; and send the updated routing table to each power-consuming device.
[0174] In one embodiment of the present invention, the management system further includes:
[0175] The second host is used to determine the power consumption adjustment sequence of each power consumption increasing device; according to the power consumption adjustment sequence of each power consuming device, the power consumption of each power consumption increasing device is increased in sequence.
[0176] In an embodiment of the present invention, a management system of multiple devices can first obtain power consumption information of each power-consuming device; then determine power consumption change information of each power-consuming device based on the power consumption information; then determine at least two power consumption increase devices from multiple power-consuming devices based on the power consumption change information of each power-consuming device; then, increase the power consumption of one power consumption increase device among the at least two power consumption increase devices, and after a preset period of time, increase the power consumption of another power consumption increase device among the at least one power consumption increase device. Through the embodiment of the present invention, when it is detected that the power consumption of a power-consuming device has increased, the power consumption of the power-consuming device will not be increased immediately, but the power consumption of the power-consuming device will be increased in batches, thereby maintaining the stability of centralized power supply.
[0177] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the power consumption management method for an electric device as described above.
[0178] The embodiment of the present invention further provides an electronic device, such as Figure 7 As shown, the electronic device 7 includes a processor 701, a memory 702, and a computer program stored in the memory 702 and capable of running on the processor. When the computer program is executed by the processor, the power consumption management method of the electric device as described above is implemented.
[0179] The embodiment of the present invention also provides a non-volatile computer-readable storage medium, such as Figure 8 As shown, the non-volatile computer-readable storage medium 8 stores a computer program 801, and when the computer program 801 is executed by a processor, the power consumption management method of the electric device as described above is implemented.
[0180] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0181] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0182] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0183] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0184] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0185] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0186] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0187] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0188] The above provides a detailed introduction to a power consumption management method for an electrical device, a power consumption management device for an electrical device, an electronic device and a non-volatile computer-readable storage medium. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for a person skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for managing power consumption of an electric device, characterized in that: A management system applied to multiple devices, the management system includes multiple power-consuming devices, and the multiple power-consuming devices are powered by a centralized power supply module; The method comprises: Obtain power consumption information of each electrical device; Determine power consumption change information of each electrical device according to the power consumption information; According to the power consumption change information of each power-consuming device, determining at least two power-consuming devices with increased power consumption from the multiple power-consuming devices; The power consumption of one of the at least two power consumption increasing devices is increased, and after a preset time period, the power consumption of another of the at least one power consumption increasing device is increased.
2. The method according to claim 1, characterized in that The step of determining at least two devices with increased power consumption from a plurality of devices according to the power consumption change information of each device includes: According to the power consumption change information of the first electric device, determining whether the power consumption of the first electric device is in an upward trend; When it is determined that the power consumption of the first power-consuming device is on an increasing trend and the power consumption of the first power-consuming device exceeds a preset value, the first power-consuming device is determined to be a device with increasing power consumption.
3. The method according to claim 1, characterized in that Any target power-consuming device includes: a target distributed networking module, a target timing negotiation module and a target power consumption control module; The target distributed networking module stores a routing table, wherein the routing table includes the communication addresses of each electrical device; The target timing negotiation module is used to send a first power consumption increase signal to other power consumption devices except the target power consumption device by using the communication address in the routing table in the target distributed networking module when the power consumption of the target power consumption device increases; and interact with the other power consumption devices to determine the target power consumption adjustment sequence of the target power consumption device; and send a first restriction release instruction to the target power consumption control module according to the target power consumption adjustment sequence; The target power consumption control module is used to send a first restriction instruction to the management engine of the target power-consuming device, and the first restriction instruction is used to limit the power consumption of the target power-consuming device within a preset value; the target power consumption control module is also used to send an instruction to the management engine of the target power-consuming device to release the power consumption limit on the target power-consuming device when receiving the first restriction release instruction.
4. The method according to claim 3, characterized in that The routing table also includes the device identification of each power-consuming device, and the corresponding relationship between the device identification of each power-consuming device and the communication address of each power-consuming device; the first power consumption increase signal includes the first device identification of the target power-consuming device, and the first timestamp of the first power consumption increase signal; The target timing negotiation module is used to receive a second power consumption increase signal sent by the other electrical devices, wherein the second power consumption increase signal includes a second device identifier of the electrical device that sends the second power consumption increase signal, and a second timestamp of the second power consumption increase signal; and determine the power consumption adjustment order of each electrical device according to the first power consumption increase signal and the second power consumption increase signal.
5. The method according to claim 4, characterized in that The target timing negotiation module is further used to synchronize the power consumption adjustment sequence of each electric device with the other electric devices.
6. The method according to claim 3, characterized in that The target timing negotiation module is further configured to send first restriction release information to the other power-consuming devices when releasing the power consumption restriction on the target power-consuming device.
7. The method according to claim 6, characterized in that The target timing negotiation module is also used to receive the second restriction lifted information sent by the other electrical devices; when the power consumption adjustment order of the electrical device corresponding to the received second restriction lifted information is located before the target power consumption adjustment order, a first restriction lifting instruction is sent to the target power consumption control module.
8. The method according to claim 3, characterized in that The management system further includes a first host, and the first host is used to send the routing table to each power-consuming device.
9. The method according to claim 8, characterized in that The first host is further used to update the routing table; and send the updated routing table to each power-consuming device.
10. The method according to claim 1, characterized in that The management system also includes: The second host is used to determine the power consumption adjustment order of each power consumption increased device; according to the power consumption adjustment order of each power-consuming device, the power consumption of each power consumption increased device is increased in sequence.
11. A power consumption management device for an electric device, characterized in that: A management system applied to multiple devices, the management system includes multiple power-consuming devices, and the multiple power-consuming devices are powered by a centralized power supply module; The device comprises: An acquisition module is used to obtain power consumption information of each electrical device; A first determining module, configured to determine power consumption change information of each electrical device according to the power consumption information; A second determining module is used to determine at least two power consumption increasing devices from a plurality of power consumption devices according to the power consumption change information of each power consumption device; The control module is used to increase the power consumption of one of the at least two power consumption increasing devices, and to increase the power consumption of another of the at least one power consumption increasing device after a preset time period.
12. An electronic device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the power consumption management method of the electric device as claimed in any one of claims 1 to 10 is implemented.
13. A non-volatile computer-readable storage medium, characterized in that: The non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for managing power consumption of an electric device as claimed in any one of claims 1 to 10 is implemented.
