Power control method and device

By adjusting total power limits based on average power and temperature thresholds, the method ensures electronic device temperature control without compromising performance.

CN119200738AActive Publication Date: 2024-12-27HONOR DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310764436.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-26
Publication Date
2024-12-27
Estimated Expiration
2043-06-26

AI Technical Summary

Technical Problem

Existing temperature control methods for electronic devices that limit peak power indiscriminately affect the performance of appliances, leading to poor user experience.

Method used

Adjust the total power limit value based on the relationship between the average total power and a temperature control power threshold, ensuring the average total power of each appliance is within the limit to reduce temperature without impacting performance.

Benefits of technology

Effectively reduces device temperature while maintaining appliance performance by dynamically adjusting power limits according to workload and importance, ensuring a good user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119200738A_ABST
    Figure CN119200738A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of computers, in particular to a power control method and device. The method comprises the following steps: firstly, determining the average total power of all electric appliances in the previous time period according to the load information of each electric appliance, then adjusting the total power limit value according to the size relationship between the average total power in the previous time period and a preset temperature control power threshold value, and then adjusting the working parameters of each electric appliance according to the adjusted total power limit value. And controlling the electric appliances to execute corresponding work tasks based on the work parameters, so that the average total power of all the electric appliances in the current time period is smaller than or equal to the total power limit value. According to the method, the average total power is limited by adjusting the total power limit value, the equipment temperature can be effectively limited, and in addition, targeted adjustment can be performed based on the importance degree of each electric appliance when the working parameters are adjusted, so that the performance of some relatively important electric appliances is not too low, and the user experience is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a power control method and device. Background Art

[0002] Nowadays, electronic devices often have excessive temperatures when working. The main reason is that the electrical appliances inside the electronic devices are in a high power state for a long time. Excessive temperature of electronic devices will accelerate the aging of electrical appliances, reduce the service life of electronic devices, and even cause battery explosion, affecting user safety. Therefore, the temperature of electronic devices needs to be limited.

[0003] Existing temperature control methods usually limit the peak power of each appliance, such as limiting the upper frequency limit of the processor or the upper brightness limit of the screen. The main factor affecting the temperature of electronic equipment is the average total power of each appliance. Although directly limiting the peak power can also indirectly control the average total power, it will indiscriminately affect the performance of each appliance, resulting in a poor user experience. Summary of the invention

[0004] The embodiment of the present application provides a power control method and device. The total power limit value is adjusted based on the size relationship between the average total power and the temperature control power threshold, so that the average total power of each electrical appliance is less than or equal to the total power limit value, which can effectively reduce the temperature of the equipment without affecting the performance of some important electrical appliances, thereby ensuring a good user experience.

[0005] In a first aspect, an embodiment of the present application provides a power control method, including:

[0006] Determine the average total power of all electrical appliances in the previous period according to the load information of each electrical appliance;

[0007] Adjusting the total power limit value according to the relationship between the average total power in the previous period and the preset temperature control power threshold;

[0008] Adjust the working parameters of each electrical appliance according to the adjusted total power limit value;

[0009] Each electrical appliance is controlled to perform a corresponding working task based on the working parameters, so that the average total power of all electrical appliances in the current time period is less than or equal to the total power limit value.

[0010] In one embodiment, determining the average total power of all electrical appliances according to the load information of each electrical appliance includes:

[0011] Obtain the load rate of each electrical appliance in the previous period;

[0012] Determine the average power of each electrical appliance in the previous period according to the load rate of each electrical appliance and the corresponding power at full load;

[0013] The average total power of all the electrical appliances in the previous period is determined according to the average power of each electrical appliance in the previous period.

[0014] In one embodiment, adjusting the total power limit value according to the magnitude relationship between the average total power and a preset temperature control power threshold value includes:

[0015] In response to the average total power in a previous time period being less than the temperature control power threshold, increasing the total power limit value in a current time period;

[0016] In response to the average total power in a previous time period being greater than the temperature control power threshold, the total power limit value is reduced in a current time period.

[0017] In an embodiment of the present application, when the average total power of the current time period is less than the temperature control power threshold, the total power limit value of the current time period can be increased, so that the power of each electrical appliance is increased and the performance is improved; when the average total power of the current time period is greater than the temperature control power threshold, the total power limit value of the current time period can be reduced, so that the power of each electrical appliance is reduced and the temperature is lowered.

[0018] In one embodiment, adjusting the total power limit value according to the magnitude relationship between the average total power and a preset temperature control power threshold value includes:

[0019] Determine a first power difference according to the average total power in the previous period and the temperature control power threshold;

[0020] The total power limit value in the current period is adjusted based on the first power difference value.

[0021] In one embodiment, adjusting the total power limit value according to the magnitude relationship between the average total power and a preset temperature control power threshold value includes:

[0022] Determine a second power difference according to the average total power in the previous period and the temperature control power threshold;

[0023] Determine the power consumption conversion coefficient according to the work tasks performed by each electrical appliance in the current period;

[0024] The total power limit value in the current period is adjusted based on the second power difference and the power consumption conversion coefficient.

[0025] In one embodiment, adjusting the operating parameters of each electrical appliance according to the adjusted total power limit value includes:

[0026] Determine the power limit value corresponding to each electrical appliance in the current time period based on the adjusted total power limit value;

[0027] The working parameters corresponding to each electrical appliance in the current time period are determined according to the power limit value of each electrical appliance in the current time period.

[0028] In one embodiment, determining the power limit value corresponding to each electrical appliance in the current time period based on the adjusted total power limit value includes:

[0029] Determine the preset weight coefficient of each electrical appliance according to the work tasks performed by each electrical appliance in the current period;

[0030] The power limit value corresponding to each electrical appliance in the current time period is determined according to the adjusted total power limit value and the preset weight coefficient of each electrical appliance.

[0031] In the embodiment of the present application, when the work tasks are different, the power requirements of each electrical appliance may also be different. By setting the weight coefficient, the power of each electrical appliance can be adjusted more specifically, which can not only ensure the performance but also effectively reduce the temperature.

[0032] In a second aspect, an embodiment of the present application provides a power control device, including:

[0033] A determination module, used to determine the average total power of all electrical appliances in the previous period according to the load information of each electrical appliance;

[0034] A processing module, used for adjusting the total power limit value according to the relationship between the average total power in the previous period and a preset temperature control power threshold;

[0035] The processing module is further used to adjust the working parameters of each electrical appliance according to the adjusted total power limit value;

[0036] The control module is used to control each electrical appliance to perform a corresponding work task based on the working parameters so that the average total power of all electrical appliances in the current time period is less than or equal to the total power limit value.

[0037] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0038] at least one processor; and

[0039] at least one memory in communication with the processor, wherein:

[0040] The memory stores program instructions, and the processor calls the program instructions to execute the method provided by the first aspect.

[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein the program implements the method provided in the first aspect when executed by a processor.

[0042] In the embodiment of the present application, the average total power of all electrical appliances is first determined based on the load information of each electrical appliance, and then the total power limit value is adjusted based on the size relationship between the average total power and the preset temperature control power threshold, and then the working parameters of each electrical appliance are adjusted based on the adjusted total power limit value, and each electrical appliance is controlled to perform corresponding work tasks based on the working parameters, so that the average total power of all electrical appliances is less than or equal to the total power limit value. After adjusting the total power limit value, the method adjusts the working parameters in a targeted manner according to the importance of each electrical appliance (preset weight coefficient), and then determines the average power of each electrical appliance in the current time period. Since the average total power does not exceed the total power limit value, adjusting the total power limit value can effectively reduce the average total power, thereby reducing the temperature of the device, and selectively limiting the average power of each electrical appliance based on the preset weight coefficient can ensure that the performance of some important electrical appliances is not too low, and does not affect the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A schematic diagram of the structure of a power control device provided in an embodiment of the present application;

[0044] Figure 2 A flowchart of another power control method provided in an embodiment of the present application;

[0045] Figure 3 A schematic diagram of a power control method provided in an embodiment of the present application;

[0046] Figure 4 A schematic diagram of the structure of a power control device provided in an embodiment of the present application;

[0047] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to better understand the technical solution of this specification, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0049] It should be clear that the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0050] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit this specification. The singular forms of "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0051] Nowadays, the temperature control method for electronic devices is usually to limit the peak power of each electrical appliance. Although this method can reduce the temperature of the electronic device, it may affect the performance of each electrical appliance in the electronic device. To address this problem, the embodiment of the present application provides a power control method, which adjusts the total power limit value based on the relationship between the average total power of the electronic device and the temperature control power threshold, so that the average total power of each electrical appliance is less than or equal to the total power limit value, which can effectively reduce the temperature of the device without affecting the performance of each electrical appliance.

[0052] Figure 1 This is a flow chart of a power control method provided in an embodiment of the present application. The method can be applied to electronic devices such as smart phones, tablet computers, etc. Figure 1 As shown, the method may include:

[0053] Step 101, determining the average total power of all electrical appliances in the previous period according to the load information of each electrical appliance.

[0054] The electrical appliances in the embodiments of the present application specifically refer to the devices contained in the electronic device, such as a processor, a speaker, a display screen, etc. When the electronic device performs different work tasks, the electrical appliances running inside it are not necessarily the same. For example, when the electronic device plays music in a black screen state, the processor and the speaker work, but the display screen does not work; when the user uses the electronic device to read the news, the processor and the display screen work, and the speaker does not work; when the electronic device plays a video, the processor, the speaker, and the display screen all work. When the electronic device performs a certain work task, each electrical appliance in the working state has a corresponding average power. The electronic device can calculate the average power of each electrical appliance based on the load information of each electrical appliance, and then obtain the average total power of all electrical appliances.

[0055] In one embodiment, the electronic device can obtain the load rate of each electrical appliance in the previous time period and the power corresponding to each electrical appliance at full load. The electronic device can determine the average power of each electrical appliance in the previous time period based on the load rate of each electrical appliance and the power corresponding to full load; the average total power of all electrical appliances in the previous time period can be determined based on the average power of each electrical appliance in the previous time period. Specifically, the electronic device multiplies the load rate of each electrical appliance with the power corresponding to full load to obtain the average power of each electrical appliance in the previous time period, and then the electronic device adds the average power of each electrical appliance to obtain the average total power of all electrical appliances in the previous time period. Among them, the electronic device needs to perform periodic cycle adjustment when adjusting the temperature, and the time covered by each cycle is defined as a time period. Under normal circumstances, the electronic device will adjust the relevant parameters of each electrical appliance in the current time period according to the average total power of the previous time period, and can adjust the relevant parameters of each electrical appliance in the next time period according to the average total power of the current time period.

[0056] Step 102: adjusting the total power limit value according to the relationship between the average total power in the previous period and the preset temperature control power threshold.

[0057] In the embodiment of the present application, the temperature control power threshold is the power value of the electronic device to meet the temperature control requirements. The average total power of all electrical appliances of the electronic device is positively correlated with the temperature of the electronic device. If the temperature of the electronic device is expected to meet the temperature control requirements, the average total power of all electrical appliances of the electronic device must not be greater than the temperature control power threshold. In actual operation, the electronic device adjusts the actual average total power through the total power limit value, and the average total power of all electrical appliances will not exceed the total power limit value.

[0058] In one embodiment, when the electronic device detects that the average total power of all electrical appliances in the previous time period is greater than the temperature control power threshold, the total power limit value will be reduced to reduce the average total power in the current time period. Furthermore, if the average total power that has been reduced in the current time period is still greater than the temperature control power threshold, the electronic device will continue to reduce the total power limit value in the next time period, so that the average total power in the next time period continues to decrease. When the electronic device detects that the average total power of all electrical appliances in the previous time period is less than the temperature control power threshold, in order to ensure the performance of each electrical appliance, the electronic device will increase the total power limit value to increase the average total power in the current time period. Furthermore, if the average total power that has been increased in the current time period is still less than the temperature control power threshold, the electronic device will continue to increase the total power limit value in the next time period, so that the average total power in the next time period continues to increase. It can be understood that in actual working scenarios, the average total power of all electrical appliances of the electronic device will fluctuate around the temperature control power threshold.

[0059] In one embodiment, when specifically adjusting the total power limit value, the electronic device may subtract the average total power of the previous time period from the temperature control power threshold to obtain a first power difference, and then subtract the first power difference from the total power limit value of the previous time period to obtain the total power limit value of the current time period.

[0060] In one embodiment, the electronic device may also determine a second power difference value based on the average total power in the previous time period and the temperature control power threshold, and then determine a power consumption conversion coefficient based on the work tasks performed by each electrical appliance in the current time period, and adjust the total power limit value in the current time period based on the second power difference value and the power consumption conversion coefficient. Specifically, the power consumption conversion coefficient is multiplied by the second power difference value to obtain a corrected power difference value, and the total power limit value of the current time period is obtained by subtracting the corrected power difference value from the total power limit value of the previous time period. It can be understood that the power consumption conversion coefficient can determine the adjustment speed of the total power limit value, and different power consumption conversion coefficients can be used to flexibly adjust the total power limit value for different electronic devices or different work tasks.

[0061] Step 103: adjusting the operating parameters of each electrical appliance according to the adjusted total power limit value.

[0062] In the embodiment of the present application, after the electronic device obtains the total power limit value of the current time period, it is necessary to determine the power limit value corresponding to each electrical appliance in the current time period according to the total power limit value, and then determine the working parameters corresponding to each electrical appliance in the current time period according to the power limit value of each electrical appliance in the current time period. Among them, the power limit value of each electrical appliance obtained from the total power limit value needs to be allocated in proportion according to the power demand of each electrical appliance. For example, the total power limit value can be allocated according to the ratio of the power of each electrical appliance at full load, or according to the ratio of the average power of each electrical appliance in the previous time period.

[0063] In one embodiment, when allocating the total power limit value, the electronic device may also determine the preset weight coefficient of each electrical appliance according to the work tasks performed by each electrical appliance in the current time period, and then determine the power limit value corresponding to each electrical appliance in the current time period according to the adjusted total power limit value and the preset weight coefficient of each electrical appliance. When performing different work tasks, different electrical appliances have different performance requirements. If a certain electrical appliance has a higher performance requirement, the preset weight coefficient of the electrical appliance can be set to a larger value so that the average power of the electrical appliance is larger to ensure performance, and at the same time, the preset weight coefficients of other electrical appliances are set to smaller values ​​so that the average power of other electrical appliances is smaller to ensure that the temperature control requirements are met.

[0064] Step 104 : Control each electrical appliance to perform a corresponding work task based on the work parameters, so that the average total power of all electrical appliances in the current period is less than or equal to the total power limit value.

[0065] The average power of each electrical appliance in the current time period is determined by the working parameters. The working parameters of different electrical appliances are different. If the electrical appliance is a processor, the working parameters may specifically refer to the frequency of the processor. If the electrical appliance is a display screen, the working parameters may specifically refer to the refresh rate and brightness, etc. Taking the processor as an example, the higher the frequency, the greater the average power, and the greater the brightness of the display screen, the greater the average power. After the electronic device determines the total power limit value of the current time period, it determines the working parameters of each electrical appliance in the current time period so that the average total power of all electrical appliances is less than or equal to the total power limit value, thereby ensuring that the temperature of the electronic device meets the temperature control requirements.

[0066] In an embodiment of the present application, the electronic device adjusts the total power limit value of the current time period based on the relationship between the average total power of the previous time period and the temperature control power threshold, thereby adjusting the average total power of each electrical appliance in the current time period, which can effectively reduce the device temperature without affecting the performance of each electrical appliance.

[0067] Figure 2A flowchart of another power control method provided in an embodiment of the present application. Figure 2 For example, the present application provides a power control method for further explanation, such as Figure 2 As shown, the method may include:

[0068] Step 201: Detect the work task currently executed by the electronic device.

[0069] Step 202: Determine a temperature control power threshold value P_target and a total power limit value P_total.

[0070] After the electronic device is turned on, it can detect the current work task in real time, and determine P_target and P_total according to the work task. When the electronic device performs different work tasks, its corresponding P_target and P_total are also different. For example, the device temperature when the user uses the electronic device to watch a video is usually higher than the device temperature when the user uses the electronic device to read a novel. Therefore, the P_target of the electronic device when playing a video is larger, and the P_target of the electronic device when displaying an article is smaller. Among them, the initial value of P_total can be determined by the performance of each electrical appliance. In the current work task, the sum of the average power of all electrical appliances involved that meet the performance requirements is P_total. Usually, the initial value of P_total will be higher than P_target.

[0071] In one embodiment, the electronic device will also detect the device temperature in real time, and only when it is detected that the device temperature is higher than the temperature threshold will the above P_target and P_total be determined and the subsequent power adjustment process be started. The temperature threshold is a value close to the expected temperature and less than the expected temperature. Taking video playback as an example, the electronic device hopes that the temperature when playing the video is not higher than 42 degrees (that is, the expected temperature is 42 degrees). Then, if it is detected that the current device temperature exceeds 35 degrees, P_target and P_total can be determined and the subsequent adjustment process can be started (that is, the temperature threshold is 35 degrees) to dynamically control the device temperature. When the electronic device performs different work tasks, the temperature threshold for starting the power adjustment process is also different. Generally, when the electronic device performs a certain work task, the greater the average total power of all electrical appliances, the greater the corresponding expected temperature and temperature threshold.

[0072] Step 203, calculating the average power of each electrical appliance in the previous period according to the load information.

[0073] The electronic device can calculate the average power of each electrical appliance in the previous period based on the load information of each electrical appliance in the previous period. Taking the processor as an example, the electronic device can calculate the average power according to the formula P_i=full load power at the current frequency*load rate.

[0074] Step 204, calculating the average total power P_sum of all electrical appliances in the previous period.

[0075] The average power (P_1, P_2, ..., P_i) of each electrical appliance in the previous period is calculated and summed to obtain the average total power P_sum of all electrical appliances in the previous period. P_sum is compared with P_target, and P_total is dynamically adjusted according to the difference. If P_sum is greater than P_target, P_total is reduced; if P_sum is less than P_target, P_total is increased.

[0076] Step 205, increase P_total.

[0077] Step 206: Decrease P_total.

[0078] The electronic device adjusts P_total according to the formula P_total=P_total-coef*(P_sum-P_target), where coef is the power consumption conversion coefficient, and coef is usually set to (0, 1). The larger the value of coef, the greater the adjustment amplitude of P_total in each iteration.

[0079] Step 207, P_total allocation.

[0080] After adjusting P_total, the electronic device can distribute each P_total, that is, determine the power limit value (P_total1, P_total2, ..., P_total1) of each electrical appliance in the current time period according to P_total.

[0081] The electronic device can allocate P_total according to the power demand of each electrical appliance, or according to the ratio of the average power of each electrical appliance in the previous period. Specifically, the electronic device can allocate P_total according to the formula Calculate the power limit value of each electrical appliance, where coef_x is the preset weight coefficient of each electrical appliance. As can be seen from the formula, the larger the coef_x, the larger the power limit value of the electrical appliance, and the more its performance can be guaranteed during operation. Electronic devices can set different preset weight coefficients for each electrical appliance in advance according to different work tasks. For example, if the electronic device plays a video, the performance of the display screen must be guaranteed, and the average power cannot be too low. When the electronic device performs this work task, the preset weight coefficient of the display screen will be set higher to ensure that the video can be played smoothly.

[0082] Step 208, determining the operating parameters of each electrical appliance.

[0083] The electronic device adjusts the working parameters according to the power limit value allocated to each electrical appliance so that the average total power in the current time period does not exceed the total power limit value.

[0084] The value changes after multiple iterations can be shown as Figure 3 As shown, Figure 3 The dotted line with a fixed value is P_target, the solid curve is P_total, and the dotted curve is P_sum. Each change in the value indicates the entry into the next time period. Taking the moment indicated by arrow 301 as an example, the electronic device detects that P_sum is greater than P_target, so it reduces P_total, so that P_sum in the next time period decreases, thereby meeting the temperature control requirements; and at the moment indicated by arrow 302, the electronic device detects that P_sum is less than P_target, so it increases P_total, so that P_sum in the next time period increases, thereby meeting the performance requirements; but P_sum may not increase to be greater than P_target. At the moment indicated by arrow 303, P_sum is still less than P_target, so the electronic device continues to increase P_total, so that P_sum in the next time period increases, further meeting the performance requirements.

[0085] In an embodiment of the present application, the electronic device can achieve a dynamic balance between temperature control requirements and performance requirements by adjusting the total power limit value based on the relationship between the average total power and the temperature control power threshold, and can effectively reduce the device temperature without affecting the performance of each electrical appliance.

[0086] Figure 4 This is a schematic diagram of the structure of a power control device provided in an embodiment of the present application. The device can implement the power control method provided in an embodiment of the present application, such as Figure 4 As shown, the device may include: a determination module 410 , a processing module 420 , and a control module 430 .

[0087] The determination module is used to determine the average total power of all electrical appliances according to the load information of each electrical appliance.

[0088] The processing module is used to adjust the total power limit value according to the magnitude relationship between the average total power and the preset temperature control power threshold.

[0089] The processing module is further used to adjust the working parameters of each electrical appliance according to the adjusted total power limit value.

[0090] The control module is used to control each electrical appliance to perform a corresponding work task based on the working parameters so that the average total power of all electrical appliances is less than or equal to the total power limit value.

[0091] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0092] The electronic device 500 may specifically refer to a device such as a smart phone, a tablet computer, etc. The electronic device 500 may include a processor 510 and an internal memory 520, etc.

[0093] The processor 510 may include one or more processing units. Different processing units may be independent devices or may be integrated into one or more processors.

[0094] The processor 510 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 510 is a cache memory. The memory may store instructions or data that the processor 510 has just used or cyclically used. If the processor 510 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 510, and thus improves the efficiency of the system.

[0095] The internal memory 520 may be used to store computer executable program codes, including instructions. The internal memory 520 may include a program storage area and a data storage area. In addition, the internal memory 520 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0096] The embodiment of the present application also provides a non-temporary computer-readable storage medium, which stores computer instructions, and the computer instructions enable the computer to execute the power control method provided by the embodiment of the present application.

[0097] The above-mentioned non-temporary computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (Read Only Memory; hereinafter referred to as: ROM), an erasable programmable read-only memory (ErasableProgrammable Read Only Memory; hereinafter referred to as: EPROM) or flash memory, optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0098] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0099] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0100] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0101] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0102] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

Claims

1. A power control method, characterized in that: include: Determine the average total power of all electrical appliances in the previous period according to the load information of each electrical appliance; Adjusting the total power limit value according to the relationship between the average total power in the previous period and the preset temperature control power threshold; Adjust the working parameters of each electrical appliance according to the adjusted total power limit value; Each electrical appliance is controlled to perform a corresponding working task based on the working parameters, so that the average total power of all electrical appliances in the current time period is less than or equal to the total power limit value.

2. The method according to claim 1, characterized in that Determining the average total power of all electrical appliances in the previous period according to the load information of each electrical appliance includes: Obtain the load rate of each electrical appliance in the previous period; Determine the average power of each electrical appliance in the previous period according to the load rate of each electrical appliance and the corresponding power at full load; The average total power of all the electrical appliances in the previous period is determined according to the average power of each electrical appliance in the previous period.

3. The method according to claim 1, characterized in that: The adjusting the total power limit value according to the magnitude relationship between the average total power and the preset temperature control power threshold value includes: In response to the average total power in a previous time period being less than the temperature control power threshold, increasing the total power limit value in a current time period; In response to the average total power in a previous time period being greater than the temperature control power threshold, the total power limit value is reduced in a current time period.

4. The method according to claim 1, characterized in that: The adjusting the total power limit value according to the magnitude relationship between the average total power and the preset temperature control power threshold value includes: Determine a first power difference according to the average total power in the previous period and the temperature control power threshold; The total power limit value in the current period is adjusted based on the first power difference value.

5. The method according to claim 1, characterized in that The adjusting the total power limit value according to the magnitude relationship between the average total power and the preset temperature control power threshold value includes: Determine a second power difference according to the average total power in the previous period and the temperature control power threshold; Determine the power consumption conversion coefficient according to the work tasks performed by each electrical appliance in the current period; The total power limit value in the current period is adjusted based on the second power difference and the power consumption conversion coefficient.

6. The method according to claim 1, characterized in that The step of adjusting the operating parameters of each electrical appliance according to the adjusted total power limit value includes: Determine the power limit value corresponding to each electrical appliance in the current time period based on the adjusted total power limit value; The working parameters corresponding to each electrical appliance in the current time period are determined according to the power limit value of each electrical appliance in the current time period.

7. The method according to claim 1, characterized in that The determining of the power limit value corresponding to each electrical appliance in the current time period based on the adjusted total power limit value includes: Determine the preset weight coefficient of each electrical appliance according to the work tasks performed by each electrical appliance in the current period; The power limit value corresponding to each electrical appliance in the current time period is determined according to the adjusted total power limit value and the preset weight coefficient of each electrical appliance.

8. A power control device, characterized in that: include: A determination module, used to determine the average total power of all electrical appliances in the previous period according to the load information of each electrical appliance; A processing module, used for adjusting the total power limit value according to the relationship between the average total power in the previous period and a preset temperature control power threshold; The processing module is further used to adjust the working parameters of each electrical appliance according to the adjusted total power limit value; The control module is used to control each electrical appliance to perform a corresponding work task based on the working parameters so that the average total power of all electrical appliances in the current time period is less than or equal to the total power limit value.

9. An electronic device, characterized in that: include: at least one processor; as well as at least one memory in communication with the processor, wherein: The memory stores program instructions, and the processor calls the program instructions to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program implements the method according to any one of claims 1 to 7 when executed by a processor.

Citation Information

Patent Citations

  • Power control device and power control method

    CN104756031A

  • Power distribution method of integrated electric appliance system

    CN112711293A

  • Maintaining upper total power limit for group of electrical loads when drawing power from supplier involves switching off load(s) at least temporarily depending on total power trend

    DE19858218A1

  • Electric device, power management system including the electric device, and method for controlling the same

    US20120078427A1