Electricity consumption control method and electronic device
Patent Information
- Application Number
- TW113125733
- Authority / Receiving Office
- TW · TW
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2024-04-16
- Filing Date
- 2024-07-09
- Publication Date
- 2026-08-11
- Estimated Expiration
- 2044-07-08
AI Technical Summary
Existing electricity management methods in enterprises lead to inadequate control of power utilization, resulting in significant power waste and increased costs due to inefficient on/off operations of electrical equipment during peak and off-peak hours.
A power consumption control method that determines initial power consumption commands based on device status parameters, including temperature, remaining power, and battery health, and adjusts these commands to optimize charging during peak and off-peak hours, considering device identifiers, schedule information, and user habits, to minimize electricity costs.
The method ensures accurate and automated power control, reducing electricity costs by optimizing charging strategies based on real-time device status and user needs, thereby improving power control effectiveness and efficiency.
Smart Images

Figure TWG2TB001905359_001 
Figure TWG2TB001905359_002 
Figure TWG2TB001905359_003
Abstract
Description
[Technical Field]
[0001] This application belongs to the field of charging technology, and in particular relates to an electricity control method and an electronic device. [Previous Technology]
[0002] With the development of technology, people's demand for electricity in their lives and work is increasing, especially as enterprises continue to grow and expand. Today, with the continuous development of the market economy, enterprises are increasingly aware of cost control, and cost reduction and efficiency improvement are gradually becoming a consensus. However, in terms of enterprise electricity use, low power utilization and significant power waste are prominent issues. Therefore, for enterprises, saving electricity costs is also an important part of controlling enterprise costs and improving economic efficiency.
[0003] Currently, most companies save electricity through management personnel, such as controlling the operation of turning electrical equipment on and off. However, this management method is prone to problems of inadequate management, resulting in poor electricity control effect. [Summary of the Invention]
[0004] This application provides an electricity control method and electronic device to solve the problem of poor electricity control effect.
[0005] A first aspect of this application provides a power consumption control method applied to an electronic device. The method includes: determining an initial power consumption control command for the electronic device; determining device status parameters of the electronic device; adjusting the initial power consumption control command according to the device status parameters; and performing power consumption control on the electronic device according to the adjusted power consumption control command.
[0006] Further, in the power consumption control method provided in the embodiments of this application, determining the initial power consumption control command of the electronic device includes: acquiring power consumption information of the electronic device at different time periods, the power consumption information including power consumption and power price; determining at least a first power consumption stage and a second power consumption stage based on the power consumption information; determining a first initial power consumption control command in the first power consumption stage, the first initial power consumption control command being used to stop charging the electronic device until the remaining power of the electronic device is lower than a preset power threshold; determining a second initial power consumption control command in the second power consumption stage, the second initial power consumption control command being used to charge the electronic device until the electronic device is charged to a target power level.
[0007] Further, in the power consumption control method provided in the embodiments of this application, the device status parameters include at least one of device temperature, device remaining power, and battery health status. The step of adjusting the initial power consumption control command according to the device status parameters includes: when the device temperature is higher than a preset temperature threshold of the electronic device and the device remaining power is greater than the preset power threshold, executing a preset power consumption operation in a loop. The preset power consumption operation includes stopping charging the electronic device for a first preset duration and starting charging the electronic device for a second preset duration until the electronic device is charged to the target power.
[0008] Further, in the power consumption control method provided in the embodiments of this application, the step of adjusting the initial power consumption control command according to the device status parameters further includes: increasing the preset power consumption threshold when the battery health status is lower than the preset battery health status.
[0009] Further, in the power consumption control method provided in the embodiments of this application, before adjusting the initial power consumption control command according to the device status parameters, the method further includes: obtaining one or more of the device identifier, schedule information, operation information and user power consumption habit information of the electronic device; adjusting the initial power consumption control command according to the device status parameters, the device identifier, the schedule information, the operation information and / or the user power consumption habit information.
[0010] Further, in the power consumption control method provided in the embodiments of this application, the method further includes the following adjustment channel for the initial power consumption control command: when the device identifier is a preset device identifier, the electronic device is charged until the electronic device is charged to the target power or the preset charging information of the electronic device is adjusted, and power consumption is performed according to the adjusted preset charging information.
[0011] Further, in the power consumption control method provided in the embodiments of this application, the method further includes the following adjustment channel for the initial power consumption control command: when it is determined from the schedule information that the electronic device is in a meeting within a preset time period, the electronic device is charged until the electronic device is charged to the target power level.
[0012] Further, in the power consumption control method provided in the embodiments of this application, the method further includes an adjustment channel for the initial power consumption control command: determining the remaining runtime of the electronic device based on the operating information; when the remaining runtime is lower than a preset duration threshold, charging the electronic device until the electronic device is charged to the target power level.
[0013] Further, in the power consumption control method provided in the embodiments of this application, the method further includes the following adjustment channel for the initial power consumption control command: if the remaining power of the electronic device is lower than a preset power threshold multiple times within a third preset time period, record the first number of times the remaining power is lower than the preset power threshold; if the electronic device is not in a preset working area, record the first time the electronic device is not in the preset working area; determine the power consumption demand score corresponding to the electronic device based on the first number of times and the first time period; when the power consumption demand score is higher than a preset score threshold, charge the electronic device until the electronic device is charged to the target power level.
[0014] A second aspect of this application also provides a power control device applied to an electronic device. The device includes: an initial instruction determination module for determining an initial power control instruction for the electronic device; a status parameter determination module for determining device status parameters of the electronic device; an initial instruction adjustment module for adjusting the initial power control instruction according to the device status parameters; and a power processing module for performing power control on the electronic device according to the adjusted power control instruction.
[0015] A third aspect of the present application also provides an electronic device, the electronic device including a battery pack, a controller and a memory, wherein the controller is used to implement the power consumption control method described above when executing a computer program stored in the memory.
[0016] A fourth aspect of the present application also provides a computer-readable storage medium storing a computer program, which, when executed by a controller, implements the above-described power control method.
[0017] The power control method provided in this application embodiment determines the initial power control command of the electronic device; determines the device status parameters of the electronic device; adjusts the initial power control command according to the device status parameters; and controls the power consumption of the electronic device according to the adjusted power control command. This method monitors the device status parameters of the electronic device in real time, adjusts the initial power control command according to the device status parameters, and automatically controls the power consumption of the electronic device based on the device status parameters. This ensures that the adjusted power control command matches the power consumption of the electronic device, improving the power control effect and saving electricity consumption and costs for enterprises.
Implementation Method
[0026] It should be noted that the terms "first" and "second" in the specification, scope of the application and drawings of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence.
[0027] It should also be noted that the method or flowchart disclosed in the embodiments of this application includes one or more steps for implementing the method. Without departing from the scope of the claim, the execution order of the multiple steps can be interchanged, and some steps can also be deleted.
[0028] Some embodiments will now be described with reference to the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0029] With the development of technology, people's demand for electricity in their lives and work is increasing, especially as enterprises continue to grow and expand. For enterprises, saving electricity is an important part of controlling costs and improving economic efficiency.
[0030] Currently, China implements peak-valley time-of-use pricing for electricity, with peak-hour prices higher than off-peak prices. Therefore, businesses can effectively reduce their electricity costs by reducing electricity consumption during peak hours. Related technologies involve managers controlling the switching on and off of power to electrical equipment at different times. For example, during peak hours, operators need to turn off the power to most electrical equipment, allowing the stored electricity to complete the work; during off-peak hours, operators need to turn on most electrical equipment for charging. However, this management method is prone to inadequate control. For instance, operators may not be able to accurately identify which electrical equipment needs to be turned off for charging during peak hours and turned on for charging during off-peak hours, or they may be unable to promptly switch on and off a large number of electrical devices, resulting in poor electricity control.
[0031] In view of the above problems, the embodiments of this application provide an electricity control method that can accurately determine the electricity control instructions according to the electricity demand of different electrical devices, and promptly control the electricity of different electrical devices according to the electricity control instructions, thereby realizing automated electricity control and improving the electricity control effect.
[0032] Referring to Figure 1, the application scenario of the power control method provided in this application embodiment is illustrated. As shown in Figure 1, taking an enterprise's power-consuming equipment as an electronic device (e.g., a laptop computer) as an example, the electronic device is divided into a master electronic device and slave electronic devices. The master electronic device is used to manage the power consumption of the slave electronic devices. The number of master electronic devices can be one or multiple, and the number of slave electronic devices can be multiple, with the number of master electronic devices being less than the number of slave electronic devices. In this application embodiment, the number of master electronic devices is one, and the number of slave electronic devices is three, namely slave electronic device 1, slave electronic device 2, and slave electronic device 3. The master electronic device is communicatively connected to each slave electronic device. In the initial state, the master electronic device sets an initial power control command for each slave electronic device and sends the initial power control command to each slave electronic device. Then, the slave electronic devices obtain their respective device status parameters and adjust the initial power control command according to the device status parameters to obtain the adjusted power control command. The slave electronic devices perform power control according to the adjusted power control command and feed the adjusted power control command back to the master electronic device, which records the adjusted power control command of each slave electronic device.
[0033] In some embodiments, power consumption data is obtained from electronic devices and sent to a main electronic device, which then analyzes and displays the power consumption data of each slave electronic device. The power consumption data may include information such as monthly power consumption, monthly cost savings, year-to-date power consumption, and year-to-date cost savings. For example, the main electronic device displays the power consumption data of each slave electronic device; and / or, the main electronic device analyzes the power consumption data of multiple slave electronic devices in each department to obtain the power consumption data of all slave electronic devices in each department, and displays the power consumption data of each department in the main electronic device; and / or, the main electronic device analyzes the power consumption data of all slave electronic devices within the enterprise to obtain the power consumption data of all slave electronic devices in the enterprise, and displays the enterprise's power consumption data in the main electronic device.
[0034] Figure 2 is a device diagram of a power control method provided in an embodiment of this application. As shown in Figure 2, the electronic device 30 includes a memory 31, at least one controller 32, at least one communication bus 33, and a battery pack 34. The controller 32 is used to implement the power control method when executing a computer program stored in the memory 31, and the at least one communication bus 33 is configured to enable communication between the memory 31 and the at least one controller 32.
[0035] The structure of the electronic device shown in Figure 2 does not constitute a limitation on the embodiments of this application. The electronic device 30 may also include more or fewer other hardware or software, or different component arrangements than shown in the figure. For example, the electronic device 30 may also include multiple interfaces, such as a first interface for connecting an independent battery pack to increase the capacity of the electronic device 30.
[0036] In some embodiments of this application, the electronic device 30 may also be connected to a user terminal device, which includes, but is not limited to, any electronic product that can interact with the user via a keyboard, mouse, remote control, touchpad or voice control device, such as a personal computer, tablet computer, smartphone, digital camera, etc.
[0037] It should be noted that the electronic device 30 is only an example. Other known or future electronic products that are applicable to this application should also be included within the scope of protection of this application and are incorporated herein by reference.
[0038] In some embodiments, the electronic device 30 may further include a battery pack 34 for powering various components. The battery pack 34 may be logically connected to at least one controller 32 via a power management device (not shown), thereby enabling the power management device to manage functions such as charging, discharging, and power consumption. The electronic device 30 may also include one or more DC or AC power supplies, recharging devices, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device 30 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.
[0039] Figure 3 is a flowchart of a power consumption control method provided in an embodiment of this application. This power consumption control method is applied to an electronic device. As shown in Figure 3, the power consumption control method may include the following steps. Depending on different needs, the order of the steps in the flowchart may be changed, and some may be omitted.
[0040] S11, determine the initial power control command for the electronic device.
[0041] In some embodiments, in the initial state, the master electronic device determines the initial power control commands of a plurality of slave electronic devices, and different slave electronic devices correspond to the same initial power control commands. Since the master electronic device needs to control the power consumption of the slave electronic devices for a long time, the power demand of the master electronic device is large, and the master electronic device can be charged at any time.
[0042] In some embodiments, the initial power consumption control command refers to an instruction to reduce enterprise electricity costs by reducing power consumption during peak hours. For example, the initial power consumption control command may be to turn off the power of electronic devices during peak hours, allowing the electronic devices to perform their work using the stored power, and to start charging during off-peak hours. The peak and off-peak hours can be determined based on the power consumption information of the electronic devices, which may include power consumption and electricity price. For example, periods with relatively high power consumption and electricity price can be designated as peak hours, and periods with relatively low power consumption and electricity price can be designated as off-peak hours.
[0043] S12, determine the device status parameters of the electronic device.
[0044] In some embodiments, in the interaction scenario between the master electronic device and the slave electronic device, each slave electronic device determines its own device status parameters and adjusts the initial power consumption control command according to the device status parameters. The device status parameters are used to identify information such as the temperature, remaining power, and battery health status of the electronic device. The device status parameters may include device temperature, remaining power, and battery health status.
[0045] In some embodiments, the device temperature may be the battery pack temperature of the electronic device, which can be monitored by a temperature sensor. For example, a temperature sensor can be provided on the surface of each battery cell in the battery pack to monitor the temperature value of each battery cell. In one embodiment, the device temperature of the electronic device can be represented by the temperature value corresponding to the battery cell with the highest temperature in the battery pack; in other embodiments, the device temperature of the electronic device can also be represented by the temperature value corresponding to the battery cell with the lowest temperature in the battery pack. In other embodiments, the device temperature of the electronic device can also be represented by the average temperature value of each battery cell in the battery pack.
[0046] In some embodiments, the remaining power of the device is determined by comprehensively considering the voltage, current, temperature, and historical charge and discharge data of the battery pack in the electronic device. The remaining power of the device can be expressed as a percentage, such as 90%, 80%, 70%, etc., or it can be expressed as a numerical value, such as 90, 80, 70, etc. In this embodiment, the remaining power of the device is expressed as a percentage.
[0047] In some embodiments, the battery health status is used to characterize the battery performance of an electronic device. The higher the battery health status, the better the battery performance; the lower the battery health status, the worse the battery performance. There are many parameters for evaluating the battery health status of a battery pack, such as full charge capacity, internal resistance, and full charge energy. Among these, full charge capacity is more widely accepted and intuitive. In this application embodiment, the battery health status is determined by full charge capacity as an indicator. The battery health status is the ratio of the current full charge capacity to the rated capacity at the time of manufacture. The current full charge capacity can be determined by the two-point method, the full charge and discharge method, etc., and is not limited here.
[0048] S13, adjust the initial power control command according to the device status parameters.
[0049] In some embodiments, in practical applications, the initial power control command may not be applicable to every electronic device. The applicability of the initial power control command to each electronic device is determined based on its device status parameters. For example, before adjusting the initial power control command based on the device status parameters, the method further includes: determining whether the initial power control command is applicable based on the device status parameters; when the device status parameters determine that the initial power control command is applicable, performing power control on the electronic device according to the initial power control command; when the device status parameters determine that the initial power control command is not applicable, adjusting the initial power control command based on the device status parameters, and performing power control on the electronic device according to the adjusted power control command. The above method can monitor the power consumption of each electronic device in real time, promptly determine whether the initial power control command is applicable based on the device status parameters of each electronic device, and intelligently adjust the initial power control command when it is not applicable, so that the power consumption plan of the electronic device matches the actual power consumption, intelligently improving the power control effect.
[0050] In some embodiments, for scenarios where the initial power control command is not applicable to the electronic device, it is necessary to adjust the initial power control command according to the device status parameters of the electronic device so that the adjusted power control command meets the power demand of the electronic device. The method of adjusting the initial power control command may include adjusting the charging method, adjusting the minimum remaining power at the start of charging (also simplified as "preset power threshold" in this application embodiment), adjusting the charging period, etc., and there are no limitations thereto.
[0051] S14, Perform power control on the electronic device according to the adjusted power control command.
[0052] In some embodiments, power control may include charging control and stop charging control, controlling the electronic device to charge or stop charging according to the adjusted power control command.
[0053] The power control method provided in this application embodiment determines the initial power control command of the electronic device; determines the device status parameters of the electronic device; adjusts the initial power control command according to the device status parameters; and controls the power consumption of the electronic device according to the adjusted power control command. This method monitors the device status parameters of the electronic device in real time, adjusts the initial power control command according to the device status parameters, and automatically controls the power consumption of the electronic device based on the device status parameters. This ensures that the adjusted power control command matches the power consumption of the electronic device, improving the power control effect and saving electricity consumption and costs for enterprises.
[0054] In some embodiments, the initial power consumption control command refers to an instruction to reduce enterprise electricity costs by reducing power consumption during peak hours. Figure 4 is a flowchart of the determination of the initial power consumption control command provided in an embodiment of this application. The method for determining the initial power consumption control command is applied to electronic devices. As shown in Figure 4, it includes the following steps:
[0055] S21, Obtain the power consumption information of the electronic device at different time periods, the power consumption information including power consumption and power price.
[0056] In some embodiments, time periods are preset according to actual needs. For example, time periods are divided according to preset time intervals. The preset time interval is preset, for example, the preset time interval can be 3 hours. Different time periods may include 00:00-03:00, 03:00-06:00, 06:00-09:00, 09:00-12:00, ..., 21:00-00:00.
[0057] S22, at least a first power consumption stage and a second power consumption stage are determined based on the power consumption information.
[0058] In some embodiments, the electricity consumption and electricity price are different for different time periods. Based on the different electricity consumption and electricity price, the time period is at least determined as a first electricity consumption stage and a second electricity consumption stage. The first electricity consumption stage (e.g., peak hours) corresponds to a higher electricity price and relatively larger electricity consumption, while the second electricity consumption stage (e.g., off-peak hours) corresponds to a lower electricity price and relatively smaller electricity consumption.
[0059] In some embodiments, an electricity consumption phase determination model can be pre-set. This model is used to identify time periods where the difference between electricity consumption and electricity price is large, and to merge time periods where the difference is small. The input data for the electricity consumption phase determination model consists of different time periods and the corresponding electricity consumption information for each time period. The output information consists of the electricity consumption phases corresponding to different time periods. The electricity consumption phase determination model can be a neural network model, and the training method of the model can be a learning technique, which is not limited here.
[0060] S23, during the first power consumption stage, a first initial power consumption control command is determined. The first initial power consumption control command is used to stop charging the electronic device until the remaining power of the electronic device is lower than a preset power threshold.
[0061] In some embodiments, different power consumption stages have corresponding initial power consumption control instructions, and the initial power consumption control instructions corresponding to different power consumption stages are different. For example, the first power consumption stage corresponds to a first initial power consumption control instruction, and the second power consumption stage corresponds to a second initial power consumption control instruction. In the first power consumption stage, considering that the electricity price is relatively high, in order to save electricity costs, the electricity consumption in the first power consumption stage needs to be reduced. The initial power consumption control instruction includes a first initial power consumption control instruction, which is used to stop charging the electronic device until the remaining power of the electronic device is lower than a preset power threshold. The preset power threshold is a preset remaining power at the start of charging, for example, the preset power threshold can be 10%, 20%, 30%, etc. In the first power consumption stage, if the remaining power of the electronic device is greater than the preset power threshold, the electronic device does not need to be charged, and the remaining power stored in the battery pack of the electronic device provides the power demand; if the remaining power of the electronic device is less than or equal to the preset power threshold, the electronic device needs to be charged.
[0062] S24, during the second power consumption stage, a second initial power consumption control command is determined. The second initial power consumption control command is used to charge the electronic device until the electronic device is charged to the target power level.
[0063] In some embodiments, during the second power consumption phase, considering the relatively low electricity price, the charging task of the electronic device can be completed during the second power consumption phase to save electricity costs. The initial power consumption control command includes a second initial power consumption control command, which is used to charge the electronic device until it is charged to a target level. The target level is a pre-set remaining charge level before charging stops; for example, the target level can be 80%, 90%, 100%, etc. During the second power consumption phase, if the remaining charge of the electronic device is greater than or equal to the target charge level, charging of the electronic device stops; if the remaining charge of the electronic device is less than the target charge level, charging of the electronic device continues.
[0064] This embodiment of the application determines the initial power consumption control command of the electronic device based on the power consumption information of the electronic device at different time periods. When the electronic device is in the first power consumption stage, charging of the electronic device is stopped until the remaining power of the electronic device is lower than a preset power threshold; when the electronic device is in the second power consumption stage, charging of the electronic device is started until the electronic device is charged to the target power level. By determining the initial power consumption control command in the above manner, the electricity cost of enterprises can be reduced.
[0065] In some embodiments, the device status parameters include at least one of device temperature, remaining device power, and battery health status. Adjusting the initial power consumption control command based on the device status parameters includes: when the device temperature is higher than a preset temperature threshold of the electronic device and the remaining device power is greater than the preset power threshold, executing a preset power consumption operation in a loop. The preset power consumption operation includes stopping charging the electronic device for a first preset duration and starting charging the electronic device for a second preset duration, until the electronic device is charged to the target power level. The preset temperature threshold is used to identify the highest temperature at which the electronic device operates normally. The preset temperature threshold can be set according to actual needs; for example, the preset temperature threshold can be 40 degrees Celsius, 45 degrees Celsius, etc. Taking a preset temperature threshold of 45 degrees Celsius as an example, when the device temperature is below 45 degrees Celsius, it can be determined that the electronic device is operating normally; when the device temperature is above 45 degrees Celsius, it can be determined that the electronic device is not operating normally, and the charging method needs to be adjusted to lower the device temperature, thereby allowing it to operate normally and extending its lifespan. The preset power threshold is a pre-set remaining power level before starting charging, such as 20% or 30%. The first and second preset durations can be set according to actual needs; for example, the first preset duration can be 5 minutes, 7 minutes, or 10 minutes, and the second preset duration can be 5 minutes, 7 minutes, or 10 minutes. For example, when the device temperature is above 45 degrees Celsius and the remaining power level is greater than 30%, charging the electronic device is first stopped for 5 minutes, then charging is resumed for 5 minutes; then charging is stopped again for 5 minutes, then resumed for 5 minutes, and so on, repeating this cycle until the electronic device is charged to the target power level. This embodiment adjusts the initial power control command based on the device temperature and remaining power level of the electronic device, enabling timely adjustment of the charging method when the device temperature is high, thereby reducing the device temperature, ensuring the electronic device operates normally, and extending its lifespan.
[0066] In some embodiments, adjusting the initial power control command according to the device state parameters further includes: increasing the preset power threshold when the battery health state is lower than a preset battery health state. The preset battery health state can be set according to actual needs, for example, the preset battery health state can be 30%, 40%, 50%, etc. When the battery health state is lower than the preset battery health state, it indicates that the battery life of the electronic device has decreased, and it is necessary to increase the remaining power before starting charging (i.e., the preset power threshold) so that the electronic device can meet the user's power needs. For example, taking a preset battery health state of 50% as an example, when the battery health state is higher than 50%, it indicates that the battery life of the electronic device is relatively high, and the preset power threshold is maintained; when the battery health state is lower than 50%, the preset power threshold is increased, for example, the preset power threshold is adjusted from the initial state of 30% to 40%.
[0067] In some embodiments, in addition to device status parameters, the initial power control command can be adjusted based on one or more of the device identifier, schedule information, operation information, and user power consumption habit information of the electronic device. Figure 5 is a flowchart of the adjustment of the initial power control command provided in the first embodiment of this application. The method for adjusting the initial power control command is applied to an electronic device. As shown in Figure 5, it includes the following steps:
[0068] S31, obtain one or more of the following: device identifier, schedule information, operation information, and user power consumption habit information of the electronic device.
[0069] In some embodiments, the device identifier, schedule information, operation information, and user power consumption habit information of the electronic device can be obtained with the user's authorization. The device identifier is used to identify the type of each electronic device. The type of electronic device may include a master electronic device, a slave electronic device, or an electronic device for a preset group of users. The preset group can be set according to actual needs. For example, the preset group may be the leadership or a group that needs special charging information settings. The device identifier can be numbers, letters, or colors, etc., without limitation. Daily information may include meeting arrangements, for example, the user sets the schedule information as: a morning meeting from 9:00 to 10:00 on Monday. Operation information refers to the information of the currently running programs of the electronic device. The type and number of applications running on the electronic device will affect the remaining runtime of the electronic device. For example, when the electronic device is currently running a heavy application such as navigation, camera, video chat, etc., the power consumption rate of the electronic device is faster and the remaining runtime decreases. User power consumption information may include the number of times a user has used the remaining battery of an electronic device to the point where it falls below a preset battery threshold within a third preset time period, and the first time a user has taken the electronic device away from a preset working area. The third preset time period can be set according to actual needs, for example, it can be 3 days, 5 days, or 7 days. The preset battery threshold is a pre-set remaining battery level at which charging begins, for example, it can be 20% or 30%. The preset working area is a pre-set local area network (LAN). If the electronic device's current LAN is not within the preset LAN area, it is determined that the electronic device is not in the preset working area; if the electronic device's current LAN is within the preset LAN area, it is determined that the electronic device is in the preset working area.
[0070] S32, adjust the initial power control command according to the device status parameters, the device identifier, the schedule information, the operation information and / or the user's power consumption habit information.
[0071] In some embodiments, the initial power control command is adjusted based on one or more of the device status parameters, the device identifier, the schedule information, the operation information and / or the user's power consumption habit information.
[0072] According to the device status parameters, device identifier, schedule information, operation information and / or user power consumption habit information, the initial power consumption control command is adjusted, which can control the charging of electronic devices based on more comprehensive parameters, thereby achieving the purpose of saving power and meeting the user's power consumption needs.
[0073] In some embodiments, the method further includes the following adjustment method for the initial power consumption control command: when the device identifier is a preset device identifier, the electronic device is charged until the electronic device is charged to the target power level or the preset charging information of the electronic device is adjusted. The preset device identifier is used to identify devices with higher power consumption. For example, the preset device identifier can be an identifier corresponding to the main electronic device, an identifier for electronic devices corresponding to the leadership, or an identifier corresponding to other electronic devices that require special charging information settings. In one embodiment, when the device identifier is a preset device identifier, the electronic device can be charged directly without time restrictions until it reaches the target power level. The target power level is a preset remaining power level before charging stops; for example, the target power level can be 80%, 90%, 100%, etc. This application embodiment, by charging electronic devices with preset device identifiers to the target power level, ensures that electronic devices with higher power consumption have sufficient power, avoiding situations where electronic devices with higher power consumption cannot meet the user's power consumption needs in order to save on electricity costs. In other embodiments, when the device identifier is a preset device identifier, the preset charging information of the electronic device can be adjusted, and power consumption can be performed according to the preset charging information. The preset charging information can be pre-set according to actual needs. For example, the preset charging information may include, but is not limited to, information such as a first charging stage, a second charging stage, a preset power threshold, and a target power level. For example, adjusting the preset charging information of the electronic device may include adjusting the first charging stage. For instance, if the original first charging stage of the electronic device was 09:00-12:00, the adjusted first charging stage is 08:00-12:00; or if the original preset charging threshold of the electronic device was 30%, the adjusted preset charging threshold is 20%; or if the original target power level of the electronic device was 100%, the adjusted target power level is 90%. In one embodiment, the adjusted preset charging information can be pre-stored in the electronic device, and after the device identifier is added to the electronic device, power consumption is performed according to the adjusted preset charging information. In other embodiments, the electronic device provides users with dialogue modes such as a keyboard, mouse, remote control, touchpad, or voice control device, allowing users to adjust preset charging information within the electronic device through these dialogue modes. This application embodiment, by adjusting the preset charging information of the electronic device with a preset device identifier, enables the electronic device to customize its preset charging information, meeting the power needs of the electronic device and improving the enterprise's power control efficiency.
[0074] In some embodiments, the method further includes adjusting the initial power control command as follows: when the electronic device is determined to be in a meeting during a preset time period based on the schedule information, the electronic device is charged until it is charged to the target power level. In one embodiment, a fourth preset time period is determined as the target time period, and the electronic device is charged during the target time period until it is charged to the target power level. The fourth preset time period can be preset according to actual needs. For example, the fourth preset time period can be 2 hours. For example, the daily information may include meeting arrangements, etc. For example, the user sets the schedule information as: a morning meeting from 9:00 to 10:00 on Monday. In this case, the electronic device is charged 2 hours before 9:00 on Monday, that is, from 7:00, until it is charged to the target power level, so that the electronic device has sufficient power during the period from 9:00 to 10:00 on Monday. In another embodiment, the fourth preset duration can be determined based on the current remaining battery power, charging rate, and power consumption rate of the electronic device. For example, a preset charging duration determination model can be obtained. The input data of this model are the current remaining battery power, charging rate, and power consumption rate of the electronic device, and the output data is the charging time required for the electronic device to charge to the target battery power (i.e., the fourth preset duration). By combining the current remaining battery power, charging rate, and power consumption rate of the electronic device to predict the fourth preset duration, the above method can improve the accuracy of the fourth preset duration determination compared to a manual determination method. This ensures that the electronic device has sufficient battery power during the preset time period while avoiding power waste. This embodiment of the application, by charging the electronic device that is stored in the conference for a preset time period, avoids the situation where electronic devices with high power consumption cannot meet the user's power consumption needs in order to save power costs, thus ensuring that the electronic device can meet the user's power consumption needs.
[0075] In some embodiments, the runtime information includes the current running program information of the electronic device. The type and number of applications running in the electronic device will affect the remaining runtime of the electronic device, thereby affecting power consumption control. Figure 6 is a flowchart of the adjustment of the initial power consumption control command provided in the second embodiment of this application. The method for adjusting the initial power consumption control command is applied to the electronic device. As shown in Figure 6, it includes the following steps:
[0076] S41, determine the remaining runtime of the electronic device based on the operating information.
[0077] In some embodiments, the runtime information includes the type and number of applications running on the electronic device. In one embodiment, a mapping relationship between the type and number of applications and the remaining runtime is pre-set. By querying this mapping relationship, the remaining runtime corresponding to the applications running on the electronic device can be obtained. In other embodiments, a preset remaining runtime determination model is obtained, and the runtime information of the electronic device is input into the remaining runtime determination model to obtain the remaining runtime of the electronic device. The input data of the remaining runtime determination model is the type and number of applications, and the output data is the remaining runtime of the electronic device. The remaining runtime determination model can be a neural network model.
[0078] S42, when the remaining running time is lower than a preset time threshold, the electronic device is charged until the electronic device is charged to the target power level.
[0079] In some embodiments, the preset duration threshold can be set according to actual needs. For example, the preset duration threshold can be 1 hour, 2 hours, 3 hours, etc. When the remaining running time is less than 1 hour, it indicates that the electronic device needs to be charged in time. Thus, the electronic device is charged until it is charged to the target power level.
[0080] According to the operation information, the remaining running time of the electronic device is determined. When the remaining running time is lower than the preset time threshold, the electronic device is charged in time to avoid the electronic device with high power demand being unable to meet the user's power demand in order to save power costs, so that the electronic device can meet the user's power demand.
[0081] In some embodiments, user power consumption habit information may include information such as the number of times a user uses the remaining power of an electronic device to the point where it falls below a preset power threshold within a third preset time period, and the first time a user takes the electronic device away from a preset working area. Figure 7 is a flowchart of the adjustment of the initial power consumption control command provided in the third embodiment of this application. The adjustment method of the initial power consumption control command is applied to an electronic device. As shown in Figure 7, it includes the following steps:
[0082] S51, if the remaining power of the electronic device is lower than the preset power threshold multiple times within a third preset time period, record the first number of times the remaining power is lower than the preset power threshold.
[0083] In some embodiments, the third preset duration can be set according to actual needs, for example, the third preset duration can be 3 days, 5 days, 7 days, etc. The preset power threshold is the remaining power at the start of charging, for example, the preset power threshold can be 30%. For example, if the remaining power of the electronic device is lower than 30% multiple times within 5 days, the number of times the remaining power is lower than 30% is recorded as the first count.
[0084] S52, if the electronic device is not in the preset working area, record the first duration for which the electronic device is not in the preset working area.
[0085] In some embodiments, the preset working area is a pre-set local area network area. When the current local area network of the electronic device is not in the preset local area network area, it is determined that the electronic device is not in the preset working area; when the current local area network of the electronic device is in the preset local area network area, it is determined that the electronic device is in the preset working area. For example, if the electronic device is not in the preset working area, the duration for which the electronic device is not in the preset working area is recorded as a first duration.
[0086] S53, determine the power demand score corresponding to the electronic device based on the first number of times and the first duration.
[0087] In some embodiments, the user demand score is used to identify the user's power demand for the electronic device. The higher the user demand score, the higher the user's power demand for the electronic device; the lower the user demand score, the lower the user's power demand for the electronic device. In one embodiment, a mapping relationship between the first count and the first duration relative to the power demand score of the electronic device is preset. By querying this mapping relationship, the power demand score of the electronic device corresponding to the first count and the first duration can be obtained. In another embodiment, a preset power demand score determination model is obtained. The input data of the power demand score determination model are the first count and the first duration, and the output data is the power demand score. The power demand score determination model can be a neural network model.
[0088] S54, when the power demand score is higher than the preset score threshold, charge the electronic device until the electronic device is charged to the target power level.
[0089] In some embodiments, the preset scoring threshold can be set according to actual needs. For example, the preset scoring threshold can be 6 points, 7 points, or 8 points. When the power demand score is higher than the preset scoring threshold, it indicates that the user has a high power demand for the electronic device. The electronic device is then charged until it reaches the target power level.
[0090] In this embodiment of the application, a power demand score is determined based on the number of times the remaining power of the electronic device falls below a preset power threshold within a third preset time period and the duration during which the electronic device is not in the preset working area. Then, the power demand score and the preset score threshold are used to determine the user's power demand for the electronic device. When the power demand is high, the electronic device is charged in a timely manner to avoid the use of electronic devices with high power demand by the user in order to save on power costs, so that the electronic device can meet the user's power demand.
[0091] In some embodiments, the above-described power consumption control method further includes: displaying power consumption data of a single electronic device, displaying power consumption data of all electronic devices in each department, and / or displaying power consumption data of all electronic devices in the enterprise. Power consumption data may include information such as monthly power consumption, monthly cost savings, cumulative annual power consumption, and cumulative annual cost savings. For example, power consumption data is obtained from and displayed on the electronic device itself, and then sent to the main electronic device, which analyzes and displays the power consumption data of each electronic device. The main electronic device may be equipped with a display screen capable of displaying the power consumption data of each electronic device, allowing users to query the power consumption data of different electronic devices when the main electronic device's display screen is turned on.
[0092] In some embodiments, the electronic device is further provided with a preset energy-saving mode to provide power control functionality. When the preset energy-saving mode is activated, the electronic device exhibits changes such as reduced CPU power consumption, power saving, reduced CPU heat generation, and reduced fan activity. In one embodiment, the preset energy-saving mode is activated when any preset event is triggered. The preset event includes: triggering a preset button on the electronic device; receiving a preset command to activate the preset energy-saving mode, including voice commands, text commands, image commands, etc.; and recognizing that the remaining power of the electronic device has reached a specified level, for example, the specified level can be set according to actual needs, such as 50%. By setting a preset energy-saving mode for the electronic device, this application can prevent excessive power consumption, allowing the electronic device to operate in a stable environment and helping to extend its service life.
[0093] Please refer to Figure 8, which is a schematic diagram of the structure of the power control device provided in an embodiment of this application. In some embodiments, the power control device 20 may include a plurality of functional modules composed of computer program segments. The computer program of each program segment in the power control device 20 may be stored in the memory of the electronic device 30 and executed by at least one controller to perform the power control function (see Figure 3 for details).
[0094] In this embodiment, the power control device 20 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: an initial instruction determination module 201, a state parameter determination module 202, an initial instruction adjustment module 203, and a power consumption processing module 204. The term "module" in this application refers to a series of computer program segments that can be executed by at least one controller and perform a fixed function, and which are stored in memory. In this embodiment, the functions of each module will be detailed in subsequent embodiments.
[0095] The initial instruction determination module 201 can be used to determine the initial power control instruction of the electronic device.
[0096] The status parameter determination module 202 can be used to determine the device status parameters of the electronic device.
[0097] The initial instruction adjustment module 203 can be used to adjust the initial power control instruction according to the device status parameters.
[0098] The power consumption processing module 204 can be used to control the power consumption of the electronic device according to the adjusted power consumption control command.
[0099] It can be understood that the power control device 20 and the power control method in the above embodiments belong to the same inventive concept. The specific implementation of each module of the power control device 20 corresponds to each step of the power control method in the above embodiments, and will not be repeated here.
[0100] The module division described above is a logical functional division, and other division methods may be used in actual implementation. Furthermore, the functional modules in the various embodiments of this application may be integrated into the same processing unit, or each module may exist physically separately, or two or more modules may be integrated into the same unit. The integrated modules described above may be implemented in hardware form or in the form of hardware plus software functional modules.
[0101] Continuing with the description of the electronic device in Figure 2, memory 31 stores a computer program that, when executed by at least one controller 32, implements all or part of the steps in the electrical control method. Memory 31 includes read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc memory, magnetic disk memory, magnetic tape memory, or any other computer-readable medium capable of carrying or storing data.
[0102] Further, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store the operating system, at least one application program required for a function, etc.; the data storage area may store data created based on the use of the electronic device 30, etc.
[0103] In some embodiments, at least one controller 32 is the control unit of the electronic device 30, connecting various components of the entire electronic device 30 through various interfaces and lines. It executes programs or modules stored in memory 31 and calls data stored in memory 31 to perform various functions and process data of the electronic device 30. For example, when at least one controller 32 executes a computer program stored in memory, it implements all or part of the steps of the power control method in the embodiments of this application; or it implements all or part of the functions of the power control device. At least one controller 32 may be composed of integrated circuits, such as a single-packaged integrated circuit, or a plurality of integrated circuits packaged with the same or different functions, including one or a plurality of central processing units (CPUs), microcontrollers, digital word processing chips, graphics controllers, and combinations of various control chips.
[0104] The integrated unit implemented in the form of a software functional module described above can be stored in a computer-readable storage medium. The software functional module stored in the storage medium includes a plurality of instructions to cause an electronic device (which may be a personal computer, electronic device, or network device, etc.) or a controller (processor) to execute portions of the methods of the various embodiments of this application.
[0105] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of modules is merely a logical functional division, and there may be other division methods in actual implementation.
[0106] The modules described as separate components may or may not be physically separated. The components shown as modules may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0107] In addition, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware form or in the form of hardware plus software functional modules.
[0108] It will be apparent to those skilled in the art that this application is not limited to the details of the exemplary embodiments described above, and that this application can be implemented in other specific forms without departing from the spirit or essential characteristics of this application. Therefore, the embodiments should be considered exemplary and non-limiting in all respects. The scope of this application is defined by the appended claims rather than the foregoing description, and therefore all variations falling within the meaning and scope of equivalents of the claims are intended to be included within this application. No reference numerals in the claims should be construed as limiting the scope of the claims. Furthermore, it is apparent that the word "comprising" does not exclude other units or, and the singular does not exclude the plural. A plurality of units or devices stated in the specification may also be implemented by a single unit or device by means of software or hardware. The terms "first," "second," etc., are used to indicate names and do not indicate any particular order.
[0109] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this application without departing from the spirit and scope of the technical solutions of this application. [Simplified Explanation of the Diagram]
[0018] Figure 1 is an application scenario diagram of an electricity control method provided in an embodiment of this application.
[0019] Figure 2 is a diagram of an electrical control method provided in an embodiment of this application.
[0020] Figure 3 is a flowchart of an electricity control method provided in an embodiment of this application.
[0021] Figure 4 is a flowchart of the determination of the initial power control command provided in the embodiments of this application.
[0022] Figure 5 is a flowchart of the adjustment of the initial power control command provided in the first embodiment of this application.
[0023] Figure 6 is a flowchart of the adjustment of the initial power control command provided in the second embodiment of this application.
[0024] Figure 7 is a flowchart of the adjustment of the initial power control command provided in the third embodiment of this application.
[0025] Figure 8 is a schematic diagram of the structure of the power control device provided in the embodiment of this application.
Claims
1. An electrical control method applied to electronic equipment, wherein, The method includes: determining an initial power consumption control command for the electronic device; determining device status parameters for the electronic device, the device status parameters including battery health status; adjusting the initial power consumption control command according to the device status parameters, including: increasing a preset power threshold for the electronic device when the battery health status is lower than a preset battery health status; and performing power consumption control on the electronic device according to the adjusted power consumption control command.
2. The power control method as described in claim 1, wherein, The step of determining the initial power consumption control command for the electronic device includes: acquiring power consumption information of the electronic device at different time periods, the power consumption information including power consumption and electricity price; determining at least a first power consumption stage and a second power consumption stage based on the power consumption information; determining a first initial power consumption control command in the first power consumption stage, the first initial power consumption control command being used to stop charging the electronic device until the remaining power of the electronic device is lower than a preset power threshold; and determining a second initial power consumption control command in the second power consumption stage, the second initial power consumption control command being used to charge the electronic device until the electronic device is charged to a target power level.
3. The power control method as described in claim 2, wherein, The device status parameters include at least one of device temperature, device remaining power, and battery health status. Adjusting the initial power consumption control command based on the device status parameters includes: when the device temperature is higher than a preset temperature threshold of the electronic device and the device remaining power is greater than the preset power threshold, executing a preset power consumption operation in a loop. The preset power consumption operation includes stopping charging the electronic device for a first preset duration and starting charging the electronic device for a second preset duration until the electronic device is charged to the target power level.
4. The power control method as described in claim 2, wherein, Before adjusting the initial power consumption control command based on the device status parameters, the method further includes: acquiring one or more of the device identifier, schedule information, operation information, and user power consumption habit information of the electronic device; and adjusting the initial power consumption control command based on the device status parameters, the device identifier, the schedule information, the operation information, and / or the user power consumption habit information.
5. The power control method as described in claim 4, wherein, The method further includes the following adjustment method for the initial power consumption control command: when the device identifier is a preset device identifier, the electronic device is charged until the electronic device is charged to the target power or the preset charging information of the electronic device is adjusted, and power consumption is performed according to the adjusted preset charging information.
6. The power control method as described in claim 4, wherein, The method further includes the following adjustment method for the initial power control command: when the electronic device is determined to be in a meeting during a preset time period based on the schedule information, the electronic device is charged until the electronic device is charged to the target power level.
7. The power control method as described in claim 4, wherein, The method further includes the following adjustment method for the initial power control command: determining the remaining runtime of the electronic device based on the operating information; when the remaining runtime is lower than a preset duration threshold, charging the electronic device until the electronic device is charged to the target power level.
8. The power control method as described in claim 4, wherein, The method further includes the following adjustment method for the initial power consumption control command: If the remaining power of the electronic device is lower than a preset power threshold multiple times within a third preset time period, record the first number of times the remaining power is lower than the preset power threshold; If the electronic device is not in a preset working area, record the first time the electronic device is not in the preset working area; Determine the power consumption demand score corresponding to the electronic device based on the first number of times and the first time period; When the power consumption demand score is higher than a preset score threshold, charge the electronic device until the electronic device is charged to the target power level.
9. An electronic device, wherein, The electronic device includes a battery pack, a controller, and a memory, wherein the controller is used to execute a computer program stored in the memory to implement the power control method as described in any one of requests 1 to 8.
Citation Information
Patent Citations
Intelligent charging decision-making method, device and equipment and readable storage medium
CN116834601A
Intelligent charging method and device based on vehicle battery monitoring
CN117261671A
Electric vehicle charging management system
TW202346120A
Smart refill assistant for electric vehicles
US20180143035A1