Power consumption control method and electronic equipment
By determining and adjusting the initial power control instructions in the enterprise's power consumption equipment and optimizing the charging method according to the equipment status parameters, the problem of poor power control effect in the enterprise is solved, efficient power consumption management is achieved, and electricity bills are reduced.
Patent Information
- Application Number
- CN202410917675.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-04-16
- Filing Date
- 2024-07-09
- Publication Date
- 2024-11-01
AI Technical Summary
The poor power control effect of enterprises has led to low power utilization and prominent power waste, making it difficult for managers to accurately identify the charging demand of power equipment during peak and trough periods, resulting in insufficient management.
By determining the initial power consumption control instructions for electronic equipment, obtaining equipment status parameters such as temperature, residual power and battery health status, adjusting power consumption control instructions to achieve automated power consumption control, dividing peak and trough periods according to power consumption information, and optimizing charging methods To reduce electricity costs.
It improves the power control effect, saves enterprise electricity consumption and electricity bills, and ensures the charging efficiency of equipment during peak hours and the power utilization of low hours.
Smart Images

Figure CN118889596A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of charging technology, and in particular relates to a power consumption control method and an electronic device. Background Art
[0002] With the development of science and technology, people's demand for electricity in life and work is increasing, especially in the process of continuous development and growth of enterprises. Nowadays, with the continuous development of the market economy, enterprises are increasingly aware of cost control, and cost reduction and efficiency improvement have gradually become a consensus. However, in terms of corporate electricity consumption, the power utilization rate is low and the waste of electricity is prominent. Therefore, for enterprises, saving electricity bills is also an important part of controlling corporate costs and improving economic benefits.
[0003] At present, the electricity conservation of enterprises is mostly managed by management personnel. For example, management personnel control the on and off operations of electrical equipment. However, this management method is prone to inadequate management, resulting in poor electricity control effects. Summary of the invention
[0004] The embodiments of the present application provide a power consumption control method and an electronic device to solve the problem of poor power consumption control effect.
[0005] A first aspect of an embodiment of the present application provides a power consumption control method, which is applied to an electronic device, and the method includes: determining an initial power consumption control instruction of the electronic device; determining a device status parameter of the electronic device; adjusting the initial power consumption control instruction according to the device status parameter; and controlling the power consumption of the electronic device according to the adjusted power consumption control instruction.
[0006] Furthermore, in the above-mentioned power consumption control method provided in the embodiment of the present application, the determining of the initial power consumption control instruction of the electronic device includes: obtaining power consumption information of the electronic device in 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 according to the power consumption information; in the first power consumption stage, determining a first initial power consumption control instruction, the first initial power consumption control instruction is used to stop charging the electronic device until the remaining power of the electronic device is lower than a preset power threshold; in the second power consumption stage, determining a second initial power consumption control instruction, the second initial power consumption control instruction is used to charge the electronic device until the electronic device is charged to a target power.
[0007] Furthermore, in the above-mentioned power consumption control method provided in the embodiment of the present application, the device status parameter includes at least one of device temperature, device remaining power and battery health status, and adjusting the initial power consumption control instruction according to the device status parameter includes: when the device temperature is higher than a preset temperature threshold of the electronic device, and the remaining power of the device is greater than the preset power threshold, cyclically executing a preset power consumption operation, and the preset power consumption operation includes stopping charging the electronic device according to a first preset time length and starting charging the electronic device according to a second preset time length until the electronic device is charged to the target power.
[0008] Furthermore, in the above-mentioned power consumption control method provided in the embodiment of the present application, the adjusting the initial power consumption control instruction according to the device status parameter also includes: when the battery health state is lower than the preset battery health state, increasing the preset power threshold.
[0009] Furthermore, in the above-mentioned power consumption control method provided in the embodiment of the present application, before adjusting the initial power consumption control instruction according to the device status parameters, the method also includes: obtaining one or more of the device identification, schedule information, operation information and user power consumption habit information of the electronic device; adjusting the initial power consumption control instruction according to the device status parameters, the device identification, the schedule information, the operation information and / or the user power consumption habit information.
[0010] Furthermore, in the above-mentioned power consumption control method provided in the embodiment of the present application, the method also includes the following adjustment method for the initial power consumption control instruction: 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 is consumed according to the adjusted preset charging information.
[0011] Furthermore, in the above-mentioned power consumption control method provided in the embodiment of the present application, the method also includes the following adjustment method for the initial power consumption control instruction: when it is determined according to 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.
[0012] Furthermore, in the above-mentioned power consumption control method provided in the embodiment of the present application, the method also includes a method for adjusting the initial power consumption control instruction: determining the remaining operating time of the electronic device according to the operating information; when the remaining operating time is lower than a preset time threshold, charging the electronic device until the electronic device is charged to the target power.
[0013] Furthermore, in the above-mentioned power consumption control method provided in the embodiment of the present application, the method also includes the following adjustment method for the initial power consumption control instruction: if the remaining power of the electronic device is lower than the preset power threshold for 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 the preset working area, record the first time period when the electronic device is not in the preset working area; determine the power demand score corresponding to the electronic device based on the first number and the first time period; 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.
[0014] The second aspect of the embodiment of the present application also provides a power consumption control device, which is applied to an electronic device, and the device includes: an initial instruction determination module, which is used to determine the initial power consumption control instruction of the electronic device; a state parameter determination module, which is used to determine the device state parameters of the electronic device; an initial instruction adjustment module, which is used to adjust the initial power consumption control instruction according to the device state parameters; and a power consumption processing module, which is used to control the power consumption of the electronic device according to the adjusted power consumption control instruction.
[0015] A third aspect of an embodiment of the present application further provides an electronic device, comprising a battery pack, a controller and a memory, wherein the controller is used to implement any one of the above-mentioned power consumption control methods when executing a computer program stored in the memory.
[0016] A fourth aspect of the embodiments of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a controller, the above-mentioned power consumption control method is implemented.
[0017] The above-mentioned power control method provided in the embodiment of the present application determines the initial power control instruction of the electronic device; determines the device state parameters of the electronic device; adjusts the initial power control instruction according to the device state parameters; and controls the power consumption of the electronic device according to the adjusted power control instruction. The above-mentioned method monitors the device state parameters of the electronic device in real time, adjusts the initial power control instruction according to the device state parameters of the electronic device, and automatically controls the power consumption of the electronic device according to the device state parameters, so that the adjusted power control instruction matches the power consumption of the electronic device, which can improve the power control effect and save the company's power consumption and electricity bills. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is an application scenario diagram of an electricity consumption control method provided in an embodiment of the present application.
[0019] Figure 2This is a device diagram of a power consumption control method provided in an embodiment of the present application.
[0020] Figure 3 It is a flow chart of a power consumption control method provided in an embodiment of the present application.
[0021] Figure 4 This is a flow chart for determining the initial power consumption control instruction provided in an embodiment of the present application.
[0022] Figure 5 This is an adjustment flow chart of the initial power consumption control instruction provided in the first embodiment of the present application.
[0023] Figure 6 This is an adjustment flow chart of the initial power consumption control instruction provided in the second embodiment of the present application.
[0024] Figure 7 This is an adjustment flow chart of the initial power consumption control instruction provided in the third embodiment of the present application.
[0025] Figure 8 It is a schematic diagram of the structure of the power consumption control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] It should be noted that the terms "first" and "second" in the specification, claims and drawings of the present application are used to distinguish similar objects rather than to describe a specific order or sequence.
[0027] It should also be noted that the method disclosed in the embodiments of the present application or the method shown in the flowchart includes one or more steps for implementing the method. Without departing from the scope of the claims, the execution order of multiple steps can be interchangeable with each other, and some of the steps can also be deleted.
[0028] Some embodiments will be described below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments may be combined with each other.
[0029] With the development of science and technology, people's demand for electricity in life and work is increasing, especially as enterprises continue to grow and develop. For enterprises, saving electricity is an important part of controlling enterprise costs and improving economic benefits.
[0030] At present, my country's electricity consumption implements peak-valley time-of-use electricity prices, and the electricity price during peak hours is higher than the electricity price during off-peak hours. Therefore, enterprises can effectively reduce their electricity costs by reducing electricity consumption during peak hours. In related technologies, managers control the power on and off operations of electrical equipment at different times. For example, during peak hours, operators need to turn off the power of most electrical equipment, and the work is completed by the power stored in the electrical equipment; during off-peak hours, operators need to turn on most electrical equipment for charging. However, the above management method is prone to inadequate management. For example, operators cannot accurately identify which electrical equipment needs to be turned off for charging during peak hours and turned on for charging during off-peak hours, and cannot turn on and off the power of a large number of electrical equipment in a timely manner, resulting in poor power control effects.
[0031] In view of the above problems, an embodiment of the present application provides a power control method, which can accurately determine power control instructions according to the power demand of different power-consuming devices, and timely control the power consumption of different power-consuming devices according to the power control instructions, thereby realizing automated power control and improving the power control effect.
[0032] Combination Figure 1 The application scenarios of the power consumption control method provided in the embodiment of the present application are described as follows: Figure 1 As shown, taking the enterprise's power-consuming equipment as an electronic device (for example, a laptop computer) as an example, the electronic device is divided into a master electronic device and a slave electronic device, the master electronic device is used to manage the power consumption of the slave electronic device, the number of master electronic devices can be 1 or more, the number of slave electronic devices is more, and the number of master electronic devices is less than the number of slave electronic devices. The embodiment of the present application takes the number of master electronic devices as 1 and the number of slave electronic devices as 3 as an example, which are slave electronic device 1, slave electronic device 2 and slave electronic device 3, respectively, and the master electronic device is connected to each slave electronic device in communication. In the initial state, the master electronic device sets an initial power control instruction for each slave electronic device, and sends the initial power control instruction to each slave electronic device; thereafter, the slave electronic device obtains each device state parameter, and adjusts the initial power control instruction according to the device state parameter to obtain an adjusted power control instruction, the slave electronic device performs power control according to the adjusted power control instruction, and feeds back the adjusted power control instruction to the master electronic device, and the master electronic device records the power control instruction adjusted by each slave electronic device.
[0033] In some embodiments, the slave electronic device obtains power consumption data and sends the power consumption data to the master electronic device, which analyzes and displays the power consumption data of each slave electronic device. The power consumption data may include information such as the power consumption of the current month, the cost savings of the current month, the cumulative power consumption of the current year, and the cumulative cost savings of the current year. Exemplarily, the master electronic device displays the power consumption data of each slave electronic device; and / or, the master electronic device analyzes the power consumption data of multiple slave electronic devices in each department, obtains the power consumption data of all slave electronic devices in each department, and displays the power consumption data of each department in the master electronic device; and / or, the master electronic device analyzes the power consumption data of all slave electronic devices in the enterprise, obtains the power consumption data of all slave electronic devices in the enterprise, and displays the power consumption data of the enterprise in the master electronic device.
[0034] Figure 2 is a device diagram of a power consumption control method provided in an embodiment of the present application, such as Figure 2 As shown, 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 the computer program stored in the memory 31, and the at least one communication bus 33 is configured to realize the connection and communication between the memory 31 and the at least one controller 32.
[0035] Figure 2 The structure of the electronic device shown does not constitute a limitation on the embodiments of the present application, and the electronic device 30 may also include more or less other hardware or software than shown in the figure, or a different arrangement of components. For example, the electronic device 30 may also include multiple interfaces, for example, the first interface is used to connect to an independent battery pack to increase the capacity of the electronic device 30.
[0036] In some embodiments of the present application, the electronic device 30 can also be connected to a client device, which includes but is not limited to any electronic product that can interact with a user through a keyboard, mouse, remote control, touchpad or voice control device, such as a personal computer, a tablet computer, a smart phone, a digital camera, etc.
[0037] It should be noted that the electronic device 30 is only an example, and other existing or future electronic products that are suitable for the present application should also be included in the protection scope of the present application and included here by reference.
[0038] In some embodiments, the electronic device 30 may also include a battery pack 34 for supplying power to various components. The battery pack 34 may be logically connected to at least one controller 32 through a power management device (not shown), so as to manage charging, discharging, and power consumption through the power management device. The electronic device 30 may also include any components such as one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, and power status indicators. The electronic device 30 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.
[0039] Figure 3 1 is a flow chart of a power consumption control method provided in an embodiment of the present application, and the power consumption control method is applied to electronic equipment. Figure 3 As shown, the power consumption control method may include the following steps. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.
[0040] S11, determining an initial power consumption control instruction of the electronic device.
[0041] In some embodiments, in the initial state, the master electronic device determines the initial power control instructions of multiple slave electronic devices, and different slave electronic devices correspond to the same initial power control instructions. 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 relatively large, and the master electronic device can be charged regardless of the time period.
[0042] In some embodiments, the initial power control instruction refers to an instruction to reduce the power consumption of the enterprise by reducing the power consumption during the peak period. For example, the initial power control instruction may be to turn off the power of the electronic device during the peak period, complete the work by the power stored in the electronic device, and start charging during the off-peak period. The peak period and the off-peak period may be determined based on the power consumption information of the electronic device. The power consumption information may include power consumption and power price. For example, the period when the power consumption and power price are relatively high is regarded as the peak period, and the period when the power consumption and power price are relatively low is regarded as the off-peak period.
[0043] S12, determining a device status parameter 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 state parameter and adjusts the initial power control instruction according to the device state parameter. The device state parameter is used to identify information such as the temperature, remaining power, and battery health status of the electronic device. The device state parameter may include device temperature, device remaining power, and battery health status.
[0045] In some embodiments, the device temperature may be the battery pack temperature of the electronic device, which may be monitored by a temperature sensor. For example, a temperature sensor may be provided on the surface of each battery cell of the battery pack, and the temperature value of each battery cell may be monitored by the temperature sensor. In one embodiment, the device temperature of the electronic device may 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 may 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 may also be represented by the average of the temperature values 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 as a numerical value, such as 90, 80, 70, etc. The embodiment of the present application takes the remaining power of the device expressed as a percentage as an example.
[0047] In some embodiments, the battery health status is used to characterize the battery performance of the electronic device. The larger the battery health status, the better the battery performance; the smaller 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 which full charge capacity is more widely accepted and intuitive. In the embodiment of the present application, the battery health status is determined by taking full charge capacity as an indicator as an example. The battery health status is the ratio of the current full charge capacity to the rated capacity at the factory, among which 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: adjusting the initial power consumption control instruction according to the device status parameter.
[0049] In some embodiments, in actual applications, the initial power control instruction is not necessarily applicable to each electronic device, and whether the initial power control instruction is applicable to the electronic device is determined according to the device state parameters of each electronic device. Exemplarily, before adjusting the initial power control instruction according to the device state parameters, the method also includes: determining whether the initial power control instruction is applicable according to the device state parameters; when the device state parameters determine that the initial power control instruction is applicable, the electronic device is controlled according to the initial power control instruction; when the device state parameters determine that the initial power control instruction is not applicable, the initial power control instruction is adjusted according to the device state parameters, and the electronic device is controlled according to the adjusted power control instruction. The above method can monitor the power consumption of each electronic device in real time, and determine whether the initial power control instruction is applicable in time according to the device state parameters of each electronic device, and when the initial power control instruction is not applicable, the initial power control instruction is intelligently adjusted, so that the power consumption plan of the electronic device matches the actual power consumption, and the power control effect is intelligently improved.
[0050] In some embodiments, for scenarios where the initial power control instruction is not applicable to the electronic device, the initial power control instruction needs to be adjusted according to the device status parameters of the electronic device so that the adjusted power control instruction meets the power demand of the electronic device. The method of adjusting the initial power control instruction may include adjusting the charging method, adjusting the minimum remaining power at the start of charging (also referred to as the "preset power threshold" in the embodiment of the present application), adjusting the charging period, etc., which are not limited here.
[0051] S14, controlling power consumption of the electronic device according to the adjusted power consumption control instruction.
[0052] In some embodiments, the power usage control may include charging control and charging stop control, and the electronic device is controlled to charge or stop charging according to the adjusted power usage control instruction.
[0053] The above-mentioned power control method provided in the embodiment of the present application determines the initial power control instruction of the electronic device; determines the device state parameters of the electronic device; adjusts the initial power control instruction according to the device state parameters; and controls the power consumption of the electronic device according to the adjusted power control instruction. The above-mentioned method monitors the device state parameters of the electronic device in real time, adjusts the initial power control instruction according to the device state parameters of the electronic device, and automatically controls the power consumption of the electronic device according to the device state parameters, so that the adjusted power control instruction matches the power consumption of the electronic device, which can improve the power control effect and save the company's power consumption and electricity bills.
[0054] In some embodiments, the initial electricity consumption control instruction is an instruction to reduce the electricity consumption of the enterprise by reducing the electricity consumption during peak hours. Figure 41 is a flow chart of determining the initial power control instruction provided by an embodiment of the present application, and the method for determining the initial power control instruction is applied to electronic equipment. Figure 4 As shown, the following steps are included:
[0055] S21, obtaining power consumption information of the electronic device in different time periods, wherein the power consumption information includes power consumption and power price.
[0056] In some embodiments, time periods are pre-set according to actual needs. For example, time periods are divided according to preset time intervals. The preset time intervals are pre-set. For example, the preset time interval may 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: Determine at least a first power usage stage and a second power usage stage according to the power usage information.
[0058] In some embodiments, there are differences in electricity consumption and electricity prices corresponding to different time periods. The time period is determined as at least a first electricity consumption stage and a second electricity consumption stage based on the different electricity consumption and electricity prices. The first electricity consumption stage (for example, peak period) corresponds to a higher electricity price and a relatively larger electricity consumption, while the second electricity consumption stage (for example, off-peak period) corresponds to a lower electricity price and a relatively smaller electricity consumption.
[0059] In some embodiments, a power consumption stage determination model can be pre-set, and the power consumption stage determination model is used to identify time periods with a large difference between power consumption and power prices, and merge time periods with a small difference between power consumption and power prices. The input data of the power consumption stage determination model are different time periods and power consumption information corresponding to each time period, and the output information is the power consumption stage corresponding to different time periods. The power consumption stage determination model can be a neural network model, and the training method of the model is the existing technology and is not limited here.
[0060] S23, in the first power consumption stage, determining a first initial power consumption control instruction, wherein the first initial power consumption control instruction 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, there are corresponding initial power control instructions for different power consumption stages, and the initial power control instructions corresponding to different power consumption stages are different. For example, the first power consumption stage corresponds to the first initial power control instruction, and the second power consumption stage corresponds to the second initial power control instruction. In the first power consumption stage, considering that the price of electricity is relatively high, in order to save electricity costs, it is necessary to reduce the power consumption in the first power consumption stage. The initial power control instruction includes a first initial power control instruction, and the first initial power control instruction is used to stop charging the electronic device until the remaining power of the electronic device is lower than the preset power threshold. Among them, the preset power threshold is the 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, there is no need to charge the electronic device, 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, in the second power consumption stage, determining a second initial power consumption control instruction, wherein the second initial power consumption control instruction is used to charge the electronic device until the electronic device is charged to a target power level.
[0063] In some embodiments, in the second power consumption stage, considering that the price of electricity is relatively low, in order to save electricity costs, the charging task of the electronic device can be completed in the second power consumption stage. The initial power control instruction includes a second initial power control instruction, and the second initial power control instruction is used to charge the electronic device until the electronic device is charged to the target power. Among them, the target power is the remaining power that is preset to cut off charging. For example, the target power can be 80%, 90%, 100%, etc. In the second power consumption stage, if the remaining power of the electronic device is greater than or equal to the target power, the charging of the electronic device is stopped; if the remaining power of the electronic device is less than the target power, the electronic device continues to be charged.
[0064] The embodiment of the present application determines the initial power consumption control instruction of the electronic device according to the power consumption information of the electronic device in different time periods. When the electronic device is in the first power consumption stage, the charging of the electronic device is stopped until the remaining power of the electronic device is lower than the preset power threshold; when the electronic device is in the second power consumption stage, the electronic device is charged until the electronic device is charged to the target power. Determining the initial power consumption control instruction in the above manner can reduce the electricity cost of the enterprise.
[0065] In some embodiments, the device status parameter includes at least one of device temperature, device remaining power, and battery health status, and the adjusting the initial power control instruction according to the device status parameter includes: when the device temperature is higher than the preset temperature threshold of the electronic device, and the remaining power of the device is greater than the preset power threshold, cyclically executing the preset power operation, the preset power operation includes stopping charging the electronic device according to a first preset duration and starting charging the electronic device according to a second preset duration until the electronic device is charged to the target power. Among them, the preset temperature threshold is used to identify the highest temperature of the normal operation of the electronic device, and 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 the preset temperature threshold of 45 degrees Celsius as an example, when the device temperature is lower than 45 degrees Celsius, it can be determined that the electronic device is operating normally; when the device temperature is higher than 45 degrees Celsius, it can be determined that the electronic device is operating abnormally, and the charging method needs to be adjusted so that the device temperature of the electronic device can be reduced, thereby operating normally and extending the life of the electronic device. The preset power threshold is the preset remaining power for starting charging, for example, the preset power threshold can be 20%, 30%, etc. The first preset duration and the second preset duration can be set according to actual needs. For example, the first preset duration can be 5 minutes, 7 minutes, 10 minutes, etc., and the second preset duration can be 5 minutes, 7 minutes, 10 minutes, etc. Exemplarily, when the device temperature is higher than 45 degrees Celsius and the remaining power of the device is greater than 30%, first stop charging the electronic device for 5 minutes, and then start charging the electronic device for 5 minutes; then stop charging the electronic device for 5 minutes, and then start charging the electronic device for five minutes, and repeat the above operations in sequence until the electronic device is charged to the target power. The embodiment of the present application adjusts the initial power control instruction according to the device temperature and the remaining power of the device of the electronic device, and can timely adjust the charging method of the electronic device when the device temperature is high, so that the device temperature of the electronic device is reduced, so that the electronic device is in a normal operating state, and the service life of the electronic device is extended.
[0066] In some embodiments, the adjusting the initial power control instruction according to the device status parameter also includes: when the battery health state is lower than the preset battery health state, increasing the preset power threshold. 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 endurance of the electronic device has decreased, and the remaining power (that is, the preset power threshold) at the beginning of charging needs to be increased so that the electronic device can meet the user's power demand. Exemplarily, taking the preset battery health state of 50% as an example, when the battery health state is higher than 50%, it indicates that the endurance of the electronic device is 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 30% of the initial state to 40%.
[0067] In some embodiments, in addition to the device status parameters, the initial power usage control instruction may also be adjusted based on one or more of the device identification, schedule information, operation information of the electronic device, and user power usage habit information. Figure 5 1 is a flow chart of adjusting the initial power control instruction provided by the first embodiment of the present application, and the method for adjusting the initial power control instruction is applied to electronic equipment. Figure 5 As shown, the following steps are included:
[0068] S31, obtaining one or more of the device identification, schedule information, operation information and user power usage habit information of the electronic device.
[0069] In some embodiments, the device identification, schedule information, operation information and user power usage habit information of the electronic device can be obtained under the premise of user authorization. The device identification is used to identify the type of each electronic device. The type of electronic device can include a master electronic device, a slave electronic device, an electronic device whose user is a preset group of people, etc., wherein the preset group of people can be set according to actual needs, for example, the preset group of people can be a leader or a group of people who need to set special charging information, etc. The device identification can be a number, a letter or a color, etc., which is not limited here. Daily information can include information such as meeting arrangements, for example, the schedule information set by the user is: a morning meeting from 9 am to 10 am on Monday. Operation information refers to the current running program information of the electronic device. The type and number of applications running in the electronic device will affect the remaining running time of the electronic device. For example, when the electronic device is currently performing heavy-loaded applications such as navigation, camera, video chat, etc., the power consumption rate of the electronic device is faster and the remaining running time decreases. The user's power usage habit information may include the first number of times that the user uses the remaining power of the electronic device to a value lower than the preset power threshold within the third preset time, the first time that the user takes the electronic device away from the preset working area, and other information. 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 preset remaining power for starting charging, for example, the preset power threshold can be 20% or 30%. The preset working area is a preset 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.
[0070] S32: adjusting the initial power usage control instruction according to the device status parameter, the device identification, the schedule information, the operation information and / or the user's power usage habit information.
[0071] In some embodiments, the initial power usage control instruction is adjusted according to one or more of the device status parameters, the device identification, the schedule information, the operation information and / or the user's power usage habit information.
[0072] The embodiment of the present application adjusts the initial power consumption control instruction according to the device status parameters, the device identification, the schedule information, the operation information and / or the user's power consumption habit information, and can control the charging of the electronic device 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 control instruction: 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. Among them, the preset device identifier is used to identify that the device has a large power demand. For example, the preset device identifier can be an identifier corresponding to the main electronic device, an identifier corresponding to the electronic device when the user is a leader, and an identifier corresponding to other electronic devices that require special charging information. In one embodiment, when the device identifier is a preset device identifier, the electronic device can be charged regardless of time period, and the electronic device can be directly charged until the electronic device is charged to the target power. The target power is the remaining power at the preset end of charging. For example, the target power can be 80%, 90%, 100%, etc. In the embodiment of the present application, by charging the electronic device with the preset device identifier to the target power, the electronic device with a high power demand of the user can have enough power, so as to avoid the electronic device with a high power demand of the user from not being able to meet the power demand of the user in order to save power 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 is used according to the preset charging information. Among them, the preset charging information can be pre-set according to actual needs. For example, the preset charging information can include, but is not limited to, the first charging stage, the second charging stage, the preset power threshold, the target power and other information. Exemplarily, adjusting the preset charging information of the electronic device may include adjusting the first charging stage. For example, the original first charging stage of the electronic device is 09:00-12:00, and the adjusted first charging stage is 08:00-12:00; for another example, the original preset charging threshold of the electronic device is 30%, and the adjusted preset charging threshold is 20%; for another example, the original target power of the electronic device is 100%, and the adjusted target power is 90%. In one embodiment, the adjusted preset charging information can be pre-stored in the electronic device, and after the electronic device adds the device identification, the electricity is used according to the adjusted preset charging information. In other embodiments, the electronic device provides the user with an interaction method such as a keyboard, a mouse, a remote control, a touchpad or a voice control device, and the user can adjust the preset charging information in the electronic device through the above interaction method. The embodiment of the present application adjusts the preset charging information of the electronic device with the preset device identification, so that the electronic device can customize the preset charging information, meet the power consumption demand of the electronic device, and improve the power consumption control effect of the enterprise.
[0074] In some embodiments, the method further includes the following adjustment method for the initial power control instruction: when it is determined according to the schedule information that the electronic device has a meeting within the preset time period, the electronic device is charged until the electronic device is charged to the target power. In one embodiment, a time period of a fourth preset time length before the preset time period is determined as the target time period, and the electronic device is charged during the target time period until the electronic device is charged to the target power. The fourth preset time length can be preset according to actual needs. For example, the fourth preset time length can be 2 hours. Exemplarily, daily information can include information such as meeting arrangements. For example, the schedule information set by the user is: a morning meeting from 9 to 10 am on Monday. In this way, the electronic device is charged 2 hours before 9 am on Monday, that is, at 7 am, until the electronic device is charged to the target power, so that the electronic device has enough power between 9 am and 10 am on Monday. In another embodiment, the fourth preset duration can be determined based on the current remaining power of the electronic device, the charging rate, and the power consumption rate of the electronic device. For example, a preset charging duration determination model is obtained, and the input data of the duration determination model is the current remaining power of the electronic device, the charging rate, and the power consumption rate, and the output data is the charging time required for the electronic device to charge to the target power (that is, the fourth preset duration). The above method predicts the fourth preset duration by combining the current remaining power of the electronic device, the charging rate, and the power consumption rate of the electronic device. Compared with the manual determination method, it can improve the accuracy of the fourth preset duration determination, while ensuring that the electronic device has enough power in the preset time period, avoiding power waste. The embodiment of the present application charges the electronic device that is in a meeting within the preset time period, so as to avoid the situation that the electronic device with high power demand of the user cannot meet the power demand of the user in order to save electricity costs, so that the electronic device can meet the power demand of the user.
[0075] In some embodiments, the operation information includes information about currently running programs of the electronic device. The type and number of application programs running in the electronic device will affect the remaining operating time of the electronic device, thereby affecting power consumption control. Figure 6 1 is a flow chart of adjusting the initial power control instruction provided by the second embodiment of the present application, and the method for adjusting the initial power control instruction is applied to electronic equipment. Figure 6 As shown, the following steps are included:
[0076] S41: Determine the remaining operating time of the electronic device according to the operating information.
[0077] In some embodiments, the operation information includes the type and number of applications running in the electronic device. In one embodiment, a mapping relationship between the type and number of applications and the remaining operation time is preset, and by querying the mapping relationship, the remaining operation time corresponding to the applications running in the electronic device can be obtained. In other embodiments, a preset remaining operation time determination model is obtained, and the operation information of the electronic device is input into the remaining operation time determination model to obtain the remaining operation time of the electronic device. Among them, the input data of the remaining operation time determination model is the type and number of applications, and the output data is the remaining operation time of the electronic device. The remaining operation time determination model can be a neural network model.
[0078] S42, when the remaining operating time is lower than a preset time threshold, charging the electronic device until the electronic device is charged to the target power.
[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 operating time is less than 1 hour, it indicates that the electronic device needs to be charged in time, so the electronic device is charged until the electronic device is charged to the target power.
[0080] The embodiment of the present application determines the remaining operating time of the electronic device based on the operating information, and when the remaining operating time is lower than a preset time threshold, charges the electronic device in a timely manner, thereby avoiding the situation where electronic devices with higher power requirements of users cannot meet the power requirements of users in order to save electricity costs, so that the electronic device can meet the power requirements of users.
[0081] In some embodiments, the user's power usage habit information may include information such as the first number of times the user has used the electronic device to a level below a preset power threshold within a third preset time period, the first duration of time the user has taken the electronic device away from a preset working area, and so on. Figure 7 1 is a flowchart of adjusting the initial power control instruction provided in the third embodiment of the present application, and the adjustment method of the initial power control instruction is applied to electronic equipment. Figure 7 As shown, the following steps are included:
[0082] S51, if the remaining power of the electronic device is lower than the preset power threshold for multiple times within a third preset time period, record the first number of times that 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 a preset remaining power at the start of charging, for example, the preset power threshold can be 30%. Exemplarily, if the remaining power of the electronic device is less than 30% multiple times within 5 days, the number of times the remaining power is less than 30% is recorded as the first number.
[0084] S52: If the electronic device is not in the preset working area, record a first time duration that the electronic device is not in the preset working area.
[0085] In some embodiments, the preset working area is a preset 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. Exemplarily, if the electronic device is not in the preset working area, the duration that the electronic device is not in the preset working area is recorded as the first duration.
[0086] S53: Determine a power demand score corresponding to the electronic device according to 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 number and the first duration relative to the power demand score of the electronic device is preset, and by querying the mapping relationship, the power demand score of the electronic device corresponding to the first number and the first duration can be obtained. In another embodiment, a preset power demand score determination model is obtained, and the input data of the power demand score determination model is the first number 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 a preset score threshold, charge the electronic device until the electronic device is charged to the target power.
[0089] In some embodiments, the preset score threshold can be set according to actual needs, for example, the preset score threshold can be 6 points, 7 points, or 8 points. When the power demand score is higher than the preset score threshold, it indicates that the user has a high power demand for the electronic device, and the electronic device is charged until the electronic device is charged to the target power.
[0090] The embodiment of the present application determines a power demand score based on the number of times the remaining power of the electronic device is lower than a preset power threshold within a third preset time period and the length of time the electronic device is not in the preset working area, and then determines the user's power demand for the electronic device based on the power demand score and the preset score threshold, and charges the electronic device in a timely manner when the power demand is high, so as to avoid the situation where the electronic device with a high power demand cannot meet the user's power demand in order to save electricity costs, so that the electronic device can meet the user's power demand.
[0091] In some embodiments, the above-mentioned power consumption control method also includes: displaying the power consumption data of a single electronic device, displaying the power consumption data of all electronic devices in each department, and / or displaying the power consumption data of all electronic devices in the enterprise. The power consumption data may include information such as the power consumption of the current month, the cost savings value of the current month, the cumulative power consumption of the current year, and the cumulative cost savings value of the current year. Exemplarily, the slave electronic device obtains and displays its own power consumption data in the slave electronic device, and then sends the power consumption data to the master electronic device, which analyzes and displays the power consumption data of each slave electronic device. A display screen may be provided in the master electronic device, and the display screen can display the power consumption data of each slave electronic device, so that the user can query the power consumption data of different slave electronic devices when lighting up the display screen of the master electronic device.
[0092] In some embodiments, a preset energy-saving mode is also provided in the electronic device to provide a power control function for the electronic device. After the electronic device turns on the preset energy-saving mode, the electronic device will experience changes such as reducing CPU power consumption, saving power, reducing CPU heat generation, and reducing fan activity. In one embodiment, when any preset event is triggered, the preset energy-saving mode is turned on, and the preset event includes: a preset button on the electronic device is triggered; a preset instruction to turn on the preset energy-saving mode is received, and the preset instruction includes a voice instruction, a text instruction, a picture instruction, etc.; it is recognized that the remaining power of the electronic device reaches a specified power, for example, the specified power can be set according to actual needs, for example, the specified power is 50%. By setting a preset energy-saving mode for the electronic device, the embodiment of the present application can avoid excessive power consumption of the electronic device, so that the electronic device can operate in a stable environment, which helps to extend the service life of the electronic device.
[0093] See also Figure 8 , Figure 8 20 is a schematic diagram of the structure of the power control device provided in the embodiment of the present application. In some embodiments, the power control device 20 may include multiple 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 execute (see Figure 3 Description) Function of power consumption control.
[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 processing module 204. The module referred to in this application refers to a series of computer program segments that can be executed by at least one controller and can complete fixed functions, which are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.
[0095] The initial instruction determination module 201 may be used to determine an initial power consumption control instruction of the electronic device.
[0096] The state parameter determination module 202 may be configured to determine a device state parameter of the electronic device.
[0097] The initial instruction adjustment module 203 may be configured to adjust the initial power consumption control instruction according to the device state parameter.
[0098] The power consumption processing module 204 may be used to control the power consumption of the electronic device according to the adjusted power consumption control instruction.
[0099] It can be understood that the power control device 20 and the power control method in the above embodiment belong to the same inventive concept, and the specific implementation method of each module of the power control device 20 corresponds to the steps of the power control method in the above embodiment, which will not be repeated in this application.
[0100] The module division described above is a logical function division, and there may be other division methods in actual implementation. In addition, the functional modules in each embodiment of the present application may be integrated in the same processing unit, or each module may exist physically separately, or two or more modules may be integrated in the same unit. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0101] then Figure 2The description of the electronic device is that a computer program is stored in the memory 31, and when the computer program is executed by at least one controller 32, all or part of the steps in the power consumption control method are implemented. The memory 31 includes a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0102] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the electronic device 30, etc.
[0103] In some embodiments, at least one controller 32 is the control core (Control Unit) of the electronic device 30, and uses various interfaces and lines to connect various components of the entire electronic device 30, and executes various functions and processes data of the electronic device 30 by running or executing programs or modules stored in the memory 31, and calling data stored in the memory 31. For example, when at least one controller 32 executes the computer program stored in the memory, it implements all or part of the steps of the power control method in the embodiment of the present application; or implements all or part of the functions of the power control device. At least one controller 32 can be composed of an integrated circuit, for example, it can be composed of a single packaged integrated circuit, or it can be composed of multiple integrated circuits with the same or different functions, including one or more central controllers (Central Processing unit, CPU), microcontrollers, digital processing chips, graphic controllers, and combinations of various control chips.
[0104] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling an electronic device (which can be a personal computer, an electronic device, or a network device, etc.) or a controller (processor) to execute parts of the methods of various embodiments of the present application.
[0105] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function 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, and the components shown as modules may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0107] In addition, each functional module in each embodiment of the present 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 above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0108] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is limited by the attached claims rather than the above description, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "including" does not exclude other units or, and the singular does not exclude the plural. Multiple units or devices stated in the specification can also be implemented by one unit or device through software or hardware. The words 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 solution of the present application and are not intended to limit it. Although the present application has been described in detail with reference to the preferred embodiments, a person of ordinary skill in the art should understand that the technical solution of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present application.
Claims
1. A power consumption control method, applied to electronic equipment, It is characterized in that The method comprises: Determining an initial power consumption control instruction of the electronic device; Determining a device state parameter of the electronic device; Adjusting the initial power consumption control instruction according to the device status parameter; The power consumption of the electronic device is controlled according to the adjusted power consumption control instruction.
2. The power consumption control method according to claim 1, It is characterized in that The determining of the initial power consumption control instruction of the electronic device comprises: Acquire power consumption information of the electronic device in different time periods, wherein the power consumption information includes power consumption and power price; Determine at least a first power usage stage and a second power usage stage according to the power usage information; In the first power consumption stage, determining a first initial power consumption control instruction, wherein the first initial power consumption control instruction is used to stop charging the electronic device until the remaining power of the electronic device is lower than a preset power threshold; In the second power consumption stage, a second initial power consumption control instruction is determined, and the second initial power consumption control instruction is used to charge the electronic device until the electronic device is charged to a target power level.
3. The power consumption control method according to claim 2, It is characterized in that The device status parameter includes at least one of a device temperature, a remaining power of the device, and a battery health status, and adjusting the initial power control instruction according to the device status parameter includes: When the temperature of the device is higher than a preset temperature threshold of the electronic device and the remaining power of the device is greater than the preset power threshold, a preset power usage operation is cyclically performed, wherein the preset power usage operation includes stopping charging the electronic device according to a first preset time and starting charging the electronic device according to a second preset time until the electronic device is charged to the target power.
4. The power consumption control method according to claim 3, It is characterized in that The adjusting the initial power consumption control instruction according to the device state parameter also includes: When the battery health state is lower than a preset battery health state, the preset power threshold is increased.
5. The power consumption control method according to claim 2, It is characterized in that Before adjusting the initial power consumption control instruction according to the device state parameter, the method further includes: Acquire one or more of a device identification, schedule information, operation information, and user power usage habit information of the electronic device; The initial power usage control instruction is adjusted according to the device status parameter, the device identification, the schedule information, the operation information and / or the user's power usage habit information.
6. The power consumption control method according to claim 5, It is characterized in that The method further includes the following adjustment method for the initial power consumption control instruction: 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 electricity is used according to the adjusted preset charging information.
7. The power consumption control method according to claim 5, It is characterized in that The method further includes the following adjustment method for the initial power consumption control instruction: When it is determined according to 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.
8. The power consumption control method according to claim 5, It is characterized in that The method further includes the following adjustment method for the initial power consumption control instruction: Determine the remaining operation time of the electronic device according to the operation information; When the remaining operating time is lower than a preset time threshold, the electronic device is charged until the electronic device is charged to the target power.
9. The power consumption control method according to claim 5, It is characterized in that The method further includes the following adjustment method for the initial power consumption control instruction: If the remaining power of the electronic device is lower than the preset power threshold for multiple times within the third preset time period, record the first number of times that the remaining power is lower than the preset power threshold; If the electronic device is not in the preset working area, recording a first time duration that the electronic device is not in the preset working area; Determining a power demand score corresponding to the electronic device according to the first number of times and the first duration; When the power demand score is higher than a preset score threshold, the electronic device is charged until the electronic device is charged to the target power.
10. An electronic device, It is characterized in that The electronic device includes a battery pack, a controller and a memory, and the controller is used to implement the power consumption control method as described in any one of claims 1 to 9 when executing the computer program stored in the memory.
