Intelligent power consumption regulation method and device

By intelligently analyzing and adjusting the monitoring data of portable industrial tablet PCs, the problems of power consumption reduction and battery life have been solved. This has enabled the accuracy and reliability of power consumption adjustment to be improved without increasing costs, thereby extending the equipment's battery life.

CN116027875BActive Publication Date: 2026-04-17深圳鼎匠科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
深圳鼎匠科技有限公司
Filing Date
2023-01-03
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Existing technologies cannot effectively reduce the power consumption of portable industrial tablet PCs and thus improve their battery life without increasing production costs.

Method used

After detecting that the device under test has completed driver initialization, the system loads and controls the configuration according to the pre-determined configuration file, collects monitoring data, analyzes the device power consumption parameters, calculates the data difference, and performs power adjustment operations, including power status analysis of external devices and processors and brightness adaptation adjustment.

Benefits of technology

This improved the accuracy and reliability of power consumption adjustment without increasing production costs, thereby extending the device's battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116027875B_ABST
    Figure CN116027875B_ABST
Patent Text Reader

Abstract

This invention discloses an intelligent power consumption control method and apparatus. The method includes: when the device under test (DUT) is detected to have completed driver initialization, performing a configuration loading and control operation on the DUT according to a pre-determined configuration file to obtain the configuration loading and control result of the DUT; when the configuration loading and control result indicates that the DUT has completed configuration control, collecting monitoring data of the DUT, which is used to determine whether the device power consumption parameters of the DUT need to be adjusted; analyzing the monitoring data of the DUT to obtain the analysis result corresponding to the monitoring data; when the analysis result indicates that the device power consumption parameters of the DUT need to be adjusted, calculating the data difference between the monitoring data and the standard monitoring data based on the analysis result, and performing a power consumption adjustment operation on the DUT based on the data difference and the corresponding power consumption adjustment scheme. Therefore, implementing this invention can reduce the power consumption of industrial tablet PCs, thereby improving product battery life.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power consumption control technology, and in particular to an intelligent power consumption control method and device. Background Technology

[0002] In the current manufacturing process of portable industrial tablet PCs, power consumption optimization has always been a focus of research and development for engineers. Power consumption is a crucial factor determining a product's battery life and is also an important component of the user experience.

[0003] Common methods for optimizing battery life include the following four: first, directly increasing battery capacity; second, automatically adjusting the screen brightness; third, setting up a corresponding sleep / screen-off procedure to put the product into standby mode; and fourth, changing the packaging process of the CPU and GPU chips. However, these four methods still have many shortcomings that require further improvement in current technology.

[0004] The first method: Increasing battery capacity will significantly increase production costs. Specifically, increasing battery capacity requires increasing the proportion of battery capacity in the machine's internal space, which increases the design difficulty of the product's appearance and increases the weight of the product.

[0005] The second method is to automatically adjust the display brightness based on the ambient light level. However, this method is significantly affected by the environment. If used in a bright environment, the self-adjustment effect will be greatly reduced.

[0006] The third method is to reduce the overall power consumption of the machine by automatically going to sleep, but this requires the user to manually set it to automatic sleep mode, and the sleep function is not intelligent enough.

[0007] The fourth method involves changing the packaging process for CPUs and GPUs. Similar to the first method, this method would significantly increase production costs.

[0008] It is evident that reducing the power consumption of industrial tablet PCs without increasing production costs, thereby improving battery life, is of paramount importance. Summary of the Invention

[0009] The technical problem to be solved by the present invention is to provide an intelligent power consumption control method and device, which reduces the power consumption of industrial tablet PCs without increasing production costs, thereby improving the product's battery life.

[0010] To address the aforementioned technical problems, the first aspect of this invention discloses an intelligent power consumption control method, the method comprising:

[0011] When it is detected that the device under test has completed driver initialization, a configuration loading and control operation is performed on the device under test according to a pre-determined configuration file to obtain the configuration loading and control result of the device under test;

[0012] Once the configuration loading and control result indicates that the device under test has completed the configuration and control, the monitoring data of the device under test is collected. The monitoring data is used to determine whether the device power consumption parameters of the device under test need to be adjusted.

[0013] Analyze the monitoring data of the device under test to obtain the analysis results corresponding to the monitoring data;

[0014] When the analysis results indicate that the device power consumption parameters of the device under test need to be adjusted, the data difference between the monitoring data and the standard monitoring data is calculated based on the analysis results, and the power consumption adjustment scheme corresponding to the data difference is used to perform a power consumption adjustment operation on the device under test.

[0015] As an optional implementation, in the first aspect of the present invention, the device under test includes an external device corresponding to the device under test and a target processor, and the monitoring data of the device under test includes external processing data of the external device when it is actually used in the current detection cycle and running processing data of the target processor when it is actually running in the detection cycle.

[0016] As an optional implementation, in the first aspect of the present invention, the step of analyzing the monitoring data of the device under test to obtain the analysis results corresponding to the monitoring data includes:

[0017] Analyze the monitoring data of the device under test to obtain the amount of feedback data and the frequency of use of the external device and the target processor during the detection period, and determine the first amount of processing data corresponding to the external device and the second amount of processing data corresponding to the target processor based on the amount of feedback data and the frequency of use of the external device and the target processor.

[0018] Based on the first amount of processed data and the second amount of processed data, the power consumption state of the external device and the target processor is determined. The power consumption state includes a preset power saving power consumption state or a power consumption state to be adjusted. The power saving power consumption state is the state corresponding to the actual amount of processed data being less than or equal to the preset power saving power consumption data. The power consumption state to be adjusted is the non-power saving power consumption state. The actual amount of processed data includes the first amount of processed data and the second amount of processed data.

[0019] The power consumption status of the external device and the target processor is determined as the analysis result corresponding to the monitoring data.

[0020] As an optional implementation, in the first aspect of the present invention, when the analysis result indicates that the device power consumption parameters of the device under test need to be adjusted, the step of calculating the data difference between the monitoring data and the standard monitoring data based on the analysis result includes:

[0021] Based on the first amount of processed data, determine the corresponding processor power consumption data.

[0022] Calculate the first numerical difference between the processor power consumption data and the second processed data;

[0023] Based on the second amount of processed data, determine the power consumption data of the external device that corresponds to the second amount of processed data;

[0024] Calculate the second numerical difference between the power consumption data of the external device and the first amount of processed data;

[0025] The first numerical difference and the second numerical difference are determined as the data difference between the monitoring data and the standard monitoring data.

[0026] As an optional implementation, in the first aspect of the present invention, when the analysis result indicates that the device power consumption parameters of the device under test need to be adjusted, before calculating the data difference between the monitoring data and the standard monitoring data based on the analysis result, the method further includes:

[0027] Determine whether the analysis result indicates that the data interaction volume of the device under test within the preset monitoring period is lower than the standard data interaction threshold. If the determination result is negative, trigger the operation of calculating the data difference between the monitoring data and the standard monitoring data based on the analysis result.

[0028] When the judgment result is yes, according to the preset energy consumption control scheme, the energy consumption control operation is performed on the device under test to adjust the target component in the device under test responsible for interacting with external devices to a preset sleep state.

[0029] As an optional implementation, in the first aspect of the present invention, the monitoring data of the device under test further includes screen sensing data corresponding to the display screen included in the device under test, wherein the screen sensing data is specifically the brightness data of the current environment of the display screen.

[0030] As an optional implementation, in the first aspect of the present invention, the step of analyzing the monitoring data of the device under test to obtain the analysis results corresponding to the monitoring data further includes:

[0031] Analyze the screen sensing data of the device under test to obtain the brightness change state of the current environment of the display screen. The brightness change state includes the first state, the second state or the third state. The first state is when the ambient brightness of the environment is in a state of increased brightness. The second state is when the ambient brightness of the environment is in a state of decreased brightness. The third state is when the difference in brightness change of the environment exceeds the preset brightness change threshold within a preset light sensing period.

[0032] Based on the brightness change state, a brightness adaptation adjustment scheme corresponding to the brightness change state is determined, and the brightness change state and the brightness adaptation adjustment scheme are determined as the analysis results corresponding to the monitoring data, so as to perform a brightness adaptation adjustment operation on the device under test through the brightness adaptation adjustment scheme.

[0033] A second aspect of the present invention discloses an intelligent power consumption control device, the device comprising:

[0034] The configuration module is used to perform configuration loading and control operations on the device under test according to a pre-determined configuration file when it is detected that the device under test has completed driver initialization, and to obtain the configuration loading and control result of the device under test.

[0035] The acquisition module is used to acquire monitoring data of the device under test after the configuration loading and control result indicates that the device under test has completed the configuration and control. The monitoring data is used to determine whether the device power consumption parameters of the device under test need to be adjusted.

[0036] The analysis module is used to analyze the monitoring data of the device under test and obtain the analysis results corresponding to the monitoring data;

[0037] The calculation module is used to calculate the data difference between the monitoring data and the standard monitoring data based on the analysis results when the analysis results indicate that the device power consumption parameters of the device under test need to be adjusted.

[0038] The power consumption adjustment module is used to perform power consumption adjustment operations on the device under test based on the data difference and the power consumption adjustment scheme corresponding to the data difference.

[0039] As an optional implementation, in a second aspect of the present invention, the device under test includes an external device corresponding to the device under test and a target processor, and the monitoring data of the device under test includes external processing data of the external device when it is actually used during the current detection cycle and running processing data of the target processor when it is actually running during the detection cycle.

[0040] As an optional implementation, in the second aspect of the present invention, the method by which the analysis module analyzes the monitoring data of the device under test and obtains the analysis results corresponding to the monitoring data specifically includes:

[0041] By analyzing the monitoring data of the device under test, the amount of feedback data and the frequency of use of the external device and the target processor during the detection cycle are obtained.

[0042] The first processing data volume corresponding to the external device and the second processing data volume corresponding to the target processor are determined based on the feedback data volume and usage frequency of the external device and the target processor, respectively.

[0043] Based on the first amount of processed data and the second amount of processed data, the power consumption state of the external device and the target processor is determined. The power consumption state includes a preset power saving power consumption state or a power consumption state to be adjusted. The power saving power consumption state is the state corresponding to the actual amount of processed data being less than or equal to the preset power saving power consumption data. The power consumption state to be adjusted is the non-power saving power consumption state. The actual amount of processed data includes the first amount of processed data and the second amount of processed data.

[0044] The power consumption status of the external device and the target processor is determined as the analysis result corresponding to the monitoring data.

[0045] As an optional implementation, in a second aspect of the present invention, the calculation module calculates the data difference between the monitoring data and the standard monitoring data based on the analysis results in the following specific ways:

[0046] When the analysis results indicate that the device power consumption parameters of the device under test need to be adjusted, the processor power consumption data corresponding to the first processing data volume is determined based on the first processing data volume.

[0047] Calculate the first numerical difference between the processor power consumption data and the second processed data;

[0048] Based on the second amount of processed data, determine the power consumption data of the external device that corresponds to the second amount of processed data;

[0049] Calculate the second numerical difference between the power consumption data of the external device and the first amount of processed data;

[0050] The first numerical difference and the second numerical difference are determined as the data difference between the monitoring data and the standard monitoring data.

[0051] As an optional implementation, in a second aspect of the invention, the computing module is further configured to:

[0052] When the analysis result indicates that the device power consumption parameters of the device under test need to be adjusted, and before calculating the data difference between the monitoring data and the standard monitoring data based on the analysis result, it is determined whether the analysis result indicates that the data interaction volume of the device under test within the preset monitoring period is lower than the standard data interaction threshold. When the determination result is negative, the operation corresponding to calculating the data difference between the monitoring data and the standard monitoring data based on the analysis result is triggered.

[0053] When the judgment result is yes, according to the preset energy consumption control scheme, the energy consumption control operation is performed on the device under test to adjust the target component in the device under test responsible for interacting with external devices to a preset sleep state.

[0054] As an optional implementation, in a second aspect of the present invention, the monitoring data of the device under test further includes screen sensing data corresponding to the display screen included in the device under test, wherein the screen sensing data is specifically the brightness data of the current environment of the display screen.

[0055] As an optional implementation, in the second aspect of the present invention, the method by which the analysis module analyzes the monitoring data of the device under test and obtains the analysis results corresponding to the monitoring data further includes:

[0056] Analyze the screen sensing data of the device under test to obtain the brightness change state of the current environment of the display screen. The brightness change state includes the first state, the second state or the third state. The first state is when the ambient brightness of the environment is in a state of increased brightness. The second state is when the ambient brightness of the environment is in a state of decreased brightness. The third state is when the difference in brightness change of the environment exceeds the preset brightness change threshold within a preset light sensing period.

[0057] Based on the brightness change state, a brightness adaptation adjustment scheme corresponding to the brightness change state is determined, and the brightness change state and the brightness adaptation adjustment scheme are determined as the analysis results corresponding to the monitoring data, so as to perform a brightness adaptation adjustment operation on the device under test through the brightness adaptation adjustment scheme.

[0058] A third aspect of the present invention discloses another intelligent power consumption control device, the device comprising:

[0059] Memory containing executable program code;

[0060] A processor coupled to the memory;

[0061] The processor calls the executable program code stored in the memory to execute the intelligent power consumption control method disclosed in the first aspect of the present invention.

[0062] The fourth aspect of the present invention discloses a computer storage medium storing computer instructions, which, when invoked, are used to execute the intelligent power consumption control method disclosed in the first aspect of the present invention.

[0063] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0064] This invention provides an intelligent power consumption control method, which includes: when the device under test (DUT) is detected to have completed driver initialization, performing a configuration loading control operation on the DUT according to a pre-determined configuration file to obtain the configuration loading control result; when the configuration loading control result indicates that the DUT has completed configuration control, collecting monitoring data of the DUT, which is used to determine whether the device power consumption parameters of the DUT need to be adjusted; analyzing the monitoring data of the DUT to obtain the analysis result corresponding to the monitoring data; when the analysis result indicates that the device power consumption parameters of the DUT need to be adjusted, calculating the data difference between the monitoring data and the standard monitoring data based on the analysis result, and performing a power consumption adjustment operation on the DUT based on the data difference and the corresponding power consumption adjustment scheme. It is evident that implementing this invention enables intelligent analysis of the collected monitoring data of the DUT, thereby determining when a device power consumption adjustment operation needs to be performed on the DUT. It automatically calculates the data difference between the monitoring data and the standard monitoring data, and then combines the data difference with the power consumption adjustment scheme to perform a power consumption adjustment operation on the DUT. This improves the accuracy and reliability of the power consumption adjustment of the DUT without increasing the device production cost, thereby improving the battery life of the DUT. Attached Figure Description

[0065] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0066] Figure 1 This is a flowchart illustrating an intelligent power consumption control method disclosed in an embodiment of the present invention;

[0067] Figure 2 This is a flowchart illustrating another intelligent power consumption control method disclosed in an embodiment of the present invention;

[0068] Figure 3 This is a schematic diagram of the structure of an intelligent power consumption control device disclosed in an embodiment of the present invention;

[0069] Figure 4This is a schematic diagram of another intelligent power consumption control device disclosed in an embodiment of the present invention;

[0070] Figure 5 This is a graph showing the proportional relationship between the CPU of the device under test and the amount of data, voltage, and frequency of peripheral devices operating at different utilization rates, as disclosed in an embodiment of the present invention. Detailed Implementation

[0071] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0072] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or end that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or ends.

[0073] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0074] This invention discloses an intelligent power consumption control method and device, which can intelligently analyze the monitoring data of the device under test (DUT) to determine when a power consumption adjustment operation needs to be performed. It automatically calculates the data difference between the monitoring data and standard monitoring data, and then combines this data difference with a power consumption adjustment scheme to perform the power consumption adjustment operation on the DUT. Without increasing the equipment manufacturing cost, this improves the accuracy and reliability of power consumption adjustment, thereby improving the DUT's battery life. Detailed descriptions follow.

[0075] Example 1

[0076] Please see Figure 1 , Figure 1This is a flowchart illustrating an intelligent power consumption control method disclosed in an embodiment of the present invention. Wherein, Figure 1 The described intelligent power consumption control method can be applied to intelligent power consumption control devices, and the embodiments of the present invention are not limited thereto. Figure 1 As shown, the intelligent power consumption control method may include the following operations:

[0077] 101. When it is detected that the device under test has completed driver initialization, the configuration loading and control operation is performed on the device under test according to the pre-determined configuration file to obtain the configuration loading and control result of the device under test.

[0078] In this embodiment of the method, the device under test can be a factory tablet computer product. Furthermore, the main hardware of the computer product includes a main controller RK3566+, Flash / DDR storage, display screen, touch screen, battery, WIFI / BT, camera, light sensor chip and peripherals, and a main power management chip PMUICRK817, etc. This embodiment of the invention does not limit the scope of the invention.

[0079] The battery is a 3.7V lithium battery used to power the power management chip (Rockchip RK817). At this time, the RK817 is in standby mode and the battery is less than 1mA. When the PMU RK817 receives the power-on signal, the PMU internal chip turns on the CPU, GPU and NPU, and the I / O channels are mainly powered to drive the main control CPU to work.

[0080] After the PMU is powered on normally, the main controller will power on and perform initialization. After initialization, the Android system will start. After startup, it will perform periodic communication tests on peripherals, such as communicating with WIFI cameras, displays, and light sensors. It will detect the ID addresses of each device and load the corresponding drivers according to the device IDs. If the driver loading is successful, the communication is normal; otherwise, it will fail, which means the driver for the device to be tested will be initialized.

[0081] In this process, the CPU and GPU call the pre-allocated default configuration files when the relevant functional modules are opened. After the default configuration is loaded, the system runs. During the process, the CPU detects the frequency used by the actual device and reallocates the CPU and GPU usage. Based on the CPU and GPU usage required by the device, the system allocates the corresponding frequency for operation, which is the configuration loading of the device under test.

[0082] The device under test may also include an OBD interface, which can directly power the entire tablet device and charge the tablet device's battery. The tablet device also has an independent IO to detect whether the OBD interface is connected. When it is detected that the OBD interface is connected, it will communicate and be used through the USB interface. In this way, it can be used at the same time, which greatly reduces the power consumption of the tablet device and charges the battery, thus greatly improving the battery life.

[0083] 102. After the configuration loading and control result indicates that the device under test has completed the configuration and control, collect the monitoring data of the device under test.

[0084] In this embodiment of the invention, the monitoring data is used to determine whether the power consumption parameters of the device under test need to be adjusted.

[0085] 103. Analyze the monitoring data of the device under test and obtain the corresponding analysis results.

[0086] 104. When the analysis results indicate that the power consumption parameters of the device under test need to be adjusted, calculate the data difference between the monitoring data and the standard monitoring data based on the analysis results, and perform power consumption adjustment operation on the device under test based on the data difference and the corresponding power consumption adjustment scheme.

[0087] It is evident that implementation Figure 1 The described intelligent power consumption control method can intelligently analyze the collected monitoring data of the device under test (DUT) to determine when it is necessary to perform a power consumption adjustment operation on the DUT. It automatically calculates the data difference between the monitoring data and the standard monitoring data, and then combines the data difference with the power consumption adjustment scheme to perform a power consumption adjustment operation on the DUT. Without increasing the equipment production cost, it improves the accuracy and reliability of the power consumption adjustment of the DUT, thereby improving the battery life of the DUT.

[0088] In one optional embodiment, the device under test includes an external device corresponding to the device under test and a target processor. The monitoring data of the device under test includes the external processing data of the external device when it is actually used during the current testing cycle and the running processing data of the target processor during the testing cycle.

[0089] The methods for analyzing the monitoring data of the device under test and obtaining the corresponding analysis results can specifically include the following operations:

[0090] Analyze the monitoring data of the device under test to obtain the amount of feedback data and usage frequency of the external device and the target processor during the detection period. Based on the amount of feedback data and usage frequency of the external device and the target processor, determine the first processing data amount of the external device and the second processing data amount of the target processor.

[0091] Based on the first amount of data processed and the second amount of data processed, the power consumption status of the external device and the target processor is determined. The power consumption status includes a preset power saving power consumption status or a power consumption status to be adjusted. The power saving power consumption status is the status corresponding to the actual amount of data processed being less than or equal to the preset power saving power consumption data. The power consumption status to be adjusted is the non-power saving power consumption status. The actual amount of data processed includes the first amount of data processed and the second amount of data processed.

[0092] The power consumption status of the external device and the target processor is determined as the analysis result corresponding to the monitoring data.

[0093] Furthermore, based on the analysis results, the method for calculating the data difference between the monitoring data and the standard monitoring data can specifically include the following operations:

[0094] Based on the first amount of data to be processed, determine the corresponding processor power consumption data.

[0095] Calculate the first numerical difference between the processor power consumption data and the second processed data;

[0096] Based on the second amount of processed data, determine the power consumption data of the external device that corresponds to the second amount of processed data;

[0097] Calculate the second numerical difference between the power consumption data of the external device and the first amount of data processed;

[0098] The first and second numerical differences are defined as the data differences between the monitoring data and the standard monitoring data.

[0099] In this optional embodiment, specifically, firstly, the amount of feedback data and the frequency of use of the peripheral device during operation are detected to determine the actual amount of data processed / the first amount of data processed by the peripheral device; secondly, the utilization rate of the CPU and GPU is detected; finally, the actual amount of data processed by the peripheral device and the utilization rate of the CPU and GPU are compared. If the utilization rate of the CPU and GPU is higher than the actual amount of data processed by the peripheral device, the CPU and GPU frequency and voltage are automatically reduced to reduce the operating power, and vice versa.

[0100] It should be noted that for each peripheral device's operational data volume detected, there is a corresponding standard power-saving CPU utilization, frequency, and voltage. Simultaneously, the CPU also has its actual operational utilization, frequency, and voltage. If the power-saving parameters do not match the actual parameters, adjustments are necessary. For detailed data comparison, please refer to [link to relevant documentation]. Figure 5 , Figure 5 This graph shows the proportional relationship between CPU utilization and the amount of data processed by peripheral devices, voltage, and frequency.

[0101] The calculation formulas for different parameters in this proportional relationship diagram are as follows:

[0102] CPU utilization = Amount of data processed * 1

[0103] CPU frequency = CPU utilization * 1.8 (maximum CPU frequency) Minimum 800MHz

[0104] CPU voltage = (CPU utilization * 10%) * 1.1 (default voltage) minimum 0.825V

[0105] As can be seen, in this optional embodiment, by intelligently detecting the amount of feedback data and usage frequency of the external device and the target processor, the first processing data amount corresponding to the external device and the second processing data amount corresponding to the target processor are obtained, thereby determining the power consumption status of the external device and the target processor, which improves the accuracy of power consumption status determination. Furthermore, the first numerical difference and the second numerical difference can be comprehensively calculated as the data difference between the monitoring data and the standard monitoring data. Combining the data difference obtained from the first processing data amount, the processor power consumption data, the external device power consumption data, and the second processing data amount helps to improve the accuracy and reliability of the final power consumption adjustment scheme, that is, improve the accuracy and reliability of power consumption adjustment.

[0106] Example 2

[0107] Please see Figure 2 , Figure 2 This is a flowchart illustrating another intelligent power consumption control method disclosed in an embodiment of the present invention. Wherein, Figure 2 The described intelligent power consumption control method can be applied to intelligent power consumption control devices, and the embodiments of the present invention are not limited thereto. Figure 2 As shown, the intelligent power consumption control method may include the following operations:

[0108] 201. When it is detected that the device under test has completed driver initialization, the configuration loading and control operation is performed on the device under test according to the pre-determined configuration file to obtain the configuration loading and control result of the device under test.

[0109] 202. After the configuration loading and control result indicates that the device under test has completed the configuration and control, collect the monitoring data of the device under test.

[0110] 203. Analyze the monitoring data of the device under test and obtain the corresponding analysis results.

[0111] 204. When the analysis results indicate that the device power consumption parameters of the device under test need to be adjusted, determine whether the analysis results indicate that the data interaction volume of the device under test within the preset monitoring period is lower than the standard data interaction threshold.

[0112] In this embodiment of the invention, the CPU will automatically detect whether the WIFI and BT are connected to the peripheral device to transmit data. If no data is received after 3 or 5 minutes of power-on, it will automatically turn off the power of the WIFI, BT and the external device that is not turned on. When needed, the connection can be turned on by pressing a button to wake up the device.

[0113] In this embodiment of the invention, when the judgment result of step 204 is negative, step 205 is triggered, and when the judgment result of step 204 is positive, step 206 is triggered.

[0114] 205. Based on the analysis results, calculate the data difference between the monitoring data and the standard monitoring data, and perform power adjustment operation on the device under test according to the data difference and the corresponding power adjustment scheme.

[0115] For further descriptions of steps 201-203 and 205 in this embodiment of the invention, please refer to the other specific descriptions of steps 101-103 and 104 in Embodiment 1. These descriptions will not be repeated in this embodiment of the invention.

[0116] 206. According to the preset energy consumption control scheme, perform energy consumption control operations on the device under test to adjust the target component of the device under test that is responsible for interacting with external devices to the preset sleep state.

[0117] It is evident that implementation Figure 2 The described intelligent power consumption control method can monitor the data interaction volume of the device under test (DUT). When the data interaction volume is lower than the standard data interaction threshold, it provides a corresponding energy consumption control scheme. In this case, the energy consumption control of the DUT can be realized more quickly, which enriches the ways to adjust the energy consumption of the DUT and improves the control efficiency and accuracy of the energy consumption control of the DUT.

[0118] In an optional embodiment, the monitoring data of the device under test may also include screen sensing data corresponding to the display screen included in the device under test, specifically the brightness data of the current environment of the display screen.

[0119] Optionally, the method of analyzing the monitoring data of the device under test to obtain the corresponding analysis results may also include the following operations:

[0120] Analyze the screen sensing data of the device under test to obtain the brightness change state of the current environment of the display screen. The brightness change state includes a first state, a second state, or a third state. The first state is when the ambient brightness is increasing, the second state is when the ambient brightness is decreasing, and the third state is when the difference in ambient brightness changes exceeds a preset brightness change threshold within a preset light sensing period.

[0121] Based on the brightness change state, determine the corresponding brightness adaptation adjustment scheme, and define the brightness change state and brightness adaptation adjustment scheme as the analysis results corresponding to the monitoring data, so as to perform brightness adaptation adjustment operation on the device under test through the brightness adaptation adjustment scheme.

[0122] It should be noted that, specifically, the light sensing period can be 2 seconds. For example, the third state can be that when the light sensing device of the display screen detects that the light has been in a state of being in a state of being blocked for more than 2 seconds, the device is automatically controlled to enter a sleep state. This embodiment of the invention does not limit this.

[0123] As can be seen, in this optional embodiment, in addition to monitoring the external devices and the amount and frequency of feedback data from the target processor, the screen sensing data of the device under test can be automatically analyzed, thereby enabling the device under test to adaptively adjust its power consumption according to different ambient light levels. This enriches the means of controlling the power consumption of the device under test and improves the efficiency and accuracy of power consumption adjustment.

[0124] Example 3

[0125] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of an intelligent power consumption control device disclosed in an embodiment of the present invention. The intelligent power consumption control device can be an intelligent power consumption control terminal, an intelligent power consumption control equipment, an intelligent power consumption control system, or an intelligent power consumption control server. The intelligent power consumption control server can be a local server, a remote server, or a cloud server (also known as a cloud server). When the intelligent power consumption control server is not a cloud server, it can communicate with the cloud server. This embodiment of the present invention does not impose any limitations. Figure 3 As shown, the intelligent power consumption control device may include a configuration module 301, a data acquisition module 302, an analysis module 303, a calculation module 304, and a power consumption adjustment module 305, wherein:

[0126] The configuration module 301 is used to perform configuration loading and control operations on the device under test according to a pre-determined configuration file when it is detected that the device under test has completed driver initialization, so as to obtain the configuration loading and control results of the device under test.

[0127] The acquisition module 302 is used to acquire monitoring data of the device under test after the configuration loading and control result indicates that the device under test has completed the configuration and control. The monitoring data is used to determine whether the device power consumption parameters of the device under test need to be adjusted.

[0128] Analysis module 303 is used to analyze the monitoring data of the device under test and obtain the analysis results corresponding to the monitoring data.

[0129] The calculation module 304 is used to calculate the data difference between the monitoring data and the standard monitoring data based on the analysis results when the analysis results indicate that the device power consumption parameters of the device under test need to be adjusted.

[0130] The power consumption adjustment module 305 is used to perform power consumption adjustment operations on the device under test based on the data difference and the corresponding power consumption adjustment scheme.

[0131] It is evident that implementation Figure 3 The described intelligent power consumption control device can intelligently analyze the monitoring data of the device under test (DUT) to determine when it is necessary to perform power consumption adjustment. It automatically calculates the data difference between the monitoring data and the standard monitoring data, and then combines the data difference with the power consumption adjustment scheme to perform power consumption adjustment on the DUT. Without increasing the equipment production cost, it improves the accuracy and reliability of power consumption adjustment of the DUT, thereby improving the battery life of the DUT.

[0132] In one optional embodiment, the device under test includes an external device corresponding to the device under test and a target processor. The monitoring data of the device under test includes the external processing data of the external device when it is actually used during the current testing cycle and the running processing data of the target processor during the testing cycle.

[0133] Optionally, the analysis module 303 analyzes the monitoring data of the device under test and obtains the corresponding analysis results in the following ways:

[0134] Analyze the monitoring data of the device under test to obtain the amount of feedback data and usage frequency of the external device and the target processor during the testing period;

[0135] The first processing data volume for the external device and the second processing data volume for the target processor are determined based on the feedback data volume and usage frequency of the external device and the target processor, respectively.

[0136] Based on the first amount of data processed and the second amount of data processed, the power consumption status of the external device and the target processor is determined. The power consumption status includes a preset power saving power consumption status or a power consumption status to be adjusted. The power saving power consumption status is the status corresponding to the actual amount of data processed being less than or equal to the preset power saving power consumption data. The power consumption status to be adjusted is the non-power saving power consumption status. The actual amount of data processed includes the first amount of data processed and the second amount of data processed.

[0137] The power consumption status of the external device and the target processor is determined as the analysis result corresponding to the monitoring data.

[0138] Furthermore, the calculation module 304 calculates the data difference between the monitoring data and the standard monitoring data based on the analysis results in the following specific ways:

[0139] When the analysis results indicate that the device power consumption parameters of the device under test need to be adjusted, the processor power consumption data corresponding to the first processing data volume is determined based on the first processing data volume.

[0140] Calculate the first numerical difference between the processor power consumption data and the second processed data;

[0141] Based on the second amount of processed data, determine the power consumption data of the external device that corresponds to the second amount of processed data;

[0142] Calculate the second numerical difference between the power consumption data of the external device and the first amount of data processed;

[0143] The first and second numerical differences are defined as the data differences between the monitoring data and the standard monitoring data.

[0144] As can be seen, in this optional embodiment, by intelligently detecting the amount of feedback data and usage frequency of the external device and the target processor, the first processing data amount corresponding to the external device and the second processing data amount corresponding to the target processor are obtained, thereby determining the power consumption status of the external device and the target processor, which improves the accuracy of power consumption status determination. Furthermore, the first numerical difference and the second numerical difference can be comprehensively calculated as the data difference between the monitoring data and the standard monitoring data. Combining the data difference obtained from the first processing data amount, the processor power consumption data, the external device power consumption data, and the second processing data amount helps to improve the accuracy and reliability of the final power consumption adjustment scheme, that is, improve the accuracy and reliability of power consumption adjustment.

[0145] In another alternative embodiment, the calculation module 304 is further configured to:

[0146] When the analysis results indicate that the device power consumption parameters of the device under test need to be adjusted, and before calculating the data difference between the monitoring data and the standard monitoring data based on the analysis results, it is determined whether the analysis results indicate that the data interaction volume of the device under test within the preset monitoring period is lower than the standard data interaction threshold. If the determination result is negative, the above-mentioned operation of calculating the data difference between the monitoring data and the standard monitoring data based on the analysis results is triggered.

[0147] When the judgment result is yes, according to the preset energy consumption control scheme, the energy consumption control operation is performed on the device under test to adjust the target component in the device under test that is responsible for interacting with external devices to the preset sleep state.

[0148] As can be seen, in this optional embodiment, the data interaction volume of the device under test can be monitored. When the data interaction volume is lower than the standard data interaction threshold, a corresponding energy consumption control scheme is provided. In this case, the energy consumption control of the device under test can be realized more quickly, which enriches the ways to adjust the energy consumption of the device under test and improves the control efficiency and accuracy of the energy consumption control of the device under test.

[0149] In another optional embodiment, the monitoring data of the device under test also includes screen sensing data corresponding to the display screen included in the device under test, specifically the brightness data of the current environment of the display screen.

[0150] Furthermore, the analysis module 303 analyzes the monitoring data of the device under test, and the methods for obtaining the analysis results corresponding to the monitoring data also include:

[0151] Analyze the screen sensing data of the device under test to obtain the brightness change state of the current environment of the display screen. The brightness change state includes a first state, a second state, or a third state. The first state is when the ambient brightness is increasing, the second state is when the ambient brightness is decreasing, and the third state is when the difference in ambient brightness changes exceeds a preset brightness change threshold within a preset light sensing period.

[0152] Based on the brightness change state, determine the corresponding brightness adaptation adjustment scheme, and define the brightness change state and brightness adaptation adjustment scheme as the analysis results corresponding to the monitoring data, so as to perform brightness adaptation adjustment operation on the device under test through the brightness adaptation adjustment scheme.

[0153] As can be seen, in this optional embodiment, in addition to monitoring the external devices and the amount and frequency of feedback data from the target processor, the screen sensing data of the device under test can be automatically analyzed, thereby enabling the device under test to adaptively adjust its power consumption according to different ambient light levels. This enriches the means of controlling the power consumption of the device under test and improves the efficiency and accuracy of power consumption adjustment.

[0154] Example 4

[0155] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of another intelligent power consumption control device disclosed in an embodiment of the present invention. For example... Figure 4 As shown, the intelligent power consumption control device may include:

[0156] Memory 401 storing executable program code;

[0157] Processor 402 coupled to memory 401;

[0158] The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the intelligent power consumption control method described in Embodiment 1 or Embodiment 2 of the present invention.

[0159] Example 5

[0160] This invention discloses a computer storage medium storing computer instructions. When these computer instructions are invoked, they are used to execute the steps in the intelligent power consumption control method described in Embodiment 1 or Embodiment 2 of this invention.

[0161] Example 6

[0162] This invention discloses a computer program product, which includes a non-transient computer storage medium storing a computer program, and the computer program is operable to cause a computer to perform the steps in the intelligent power consumption control method described in Embodiment 1 or Embodiment 2.

[0163] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0164] Through the detailed description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer storage medium, including read-only memory (ROM), random access memory (RAM), 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 storage, disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0165] Finally, it should be noted that the intelligent power consumption control method and device disclosed in the embodiments of the present invention are merely preferred embodiments of the present invention and are only used to illustrate the technical solutions of the present invention, not to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A smart power consumption control method, characterized in that, The method includes: When it is detected that the device under test has completed driver initialization, a configuration loading and control operation is performed on the device under test according to a pre-determined configuration file to obtain the configuration loading and control result of the device under test; Once the configuration loading and control result indicates that the device under test has completed the configuration and control, the monitoring data of the device under test is collected. The monitoring data is used to determine whether the device power consumption parameters of the device under test need to be adjusted. Analyze the monitoring data of the device under test to obtain the analysis results corresponding to the monitoring data; When the analysis results indicate that the device power consumption parameters of the device under test need to be adjusted, the data difference between the monitoring data and the standard monitoring data is calculated based on the analysis results, and the power consumption adjustment scheme corresponding to the data difference is combined with the data difference to perform a power consumption adjustment operation on the device under test. The device under test includes an external device corresponding to the device under test and a target processor. The monitoring data of the device under test includes the external processing data of the external device during actual use in the current testing cycle and the running processing data of the target processor during the testing cycle.

2. The intelligent power consumption control method according to claim 1, characterized in that, The analysis of the monitoring data of the device under test yields the analysis results corresponding to the monitoring data, including: Analyze the monitoring data of the device under test to obtain the amount of feedback data and the frequency of use of the external device and the target processor during the detection period, and determine the first amount of processing data corresponding to the external device and the second amount of processing data corresponding to the target processor based on the amount of feedback data and the frequency of use of the external device and the target processor. Based on the first amount of processed data and the second amount of processed data, the power consumption state of the external device and the target processor is determined. The power consumption state includes a preset power saving power consumption state or a power consumption state to be adjusted. The power saving power consumption state is the state corresponding to the actual amount of processed data being less than or equal to the preset power saving power consumption data. The power consumption state to be adjusted is the non-power saving power consumption state. The actual amount of processed data includes the first amount of processed data and the second amount of processed data. The power consumption status of the external device and the target processor is determined as the analysis result corresponding to the monitoring data.

3. The intelligent power consumption control method according to claim 2, characterized in that, When the analysis result indicates that the device power consumption parameters of the device under test need to be adjusted, the step of calculating the data difference between the monitoring data and the standard monitoring data based on the analysis result includes: Based on the first amount of processed data, determine the corresponding processor power consumption data. Calculate the first numerical difference between the processor power consumption data and the second processed data; Based on the second amount of processed data, determine the power consumption data of the external device that corresponds to the second amount of processed data; Calculate the second numerical difference between the power consumption data of the external device and the first amount of processed data; The first numerical difference and the second numerical difference are determined as the data difference between the monitoring data and the standard monitoring data.

4. The intelligent power consumption control method according to claim 1, characterized in that, When the analysis result indicates that the device power consumption parameters of the device under test need to be adjusted, before calculating the data difference between the monitoring data and the standard monitoring data based on the analysis result, the method further includes: Determine whether the analysis result indicates that the data interaction volume of the device under test within the preset monitoring period is lower than the standard data interaction threshold. If the determination result is negative, trigger the operation of calculating the data difference between the monitoring data and the standard monitoring data based on the analysis result. When the judgment result is yes, according to the preset energy consumption control scheme, the energy consumption control operation is performed on the device under test to adjust the target component in the device under test that is responsible for interacting with external devices to a preset sleep state.

5. The intelligent power consumption control method according to any one of claims 2-4, characterized in that, The monitoring data of the device under test also includes the screen sensing data corresponding to the display screen included in the device under test, and the screen sensing data is specifically the brightness data of the current environment of the display screen.

6. The intelligent power consumption control method according to claim 5, characterized in that, The step of analyzing the monitoring data of the device under test and obtaining the analysis results corresponding to the monitoring data also includes: Analyze the screen sensing data of the device under test to obtain the brightness change state of the current environment of the display screen. The brightness change state includes a first state, a second state, or a third state. The first state is when the ambient brightness of the environment is increasing, the second state is when the ambient brightness of the environment is decreasing, and the third state is when the difference in brightness change of the environment exceeds a preset brightness change threshold within a preset light sensing period. Based on the brightness change state, a brightness adaptation adjustment scheme corresponding to the brightness change state is determined, and the brightness change state and the brightness adaptation adjustment scheme are determined as the analysis results corresponding to the monitoring data, so as to perform a brightness adaptation adjustment operation on the device under test through the brightness adaptation adjustment scheme.

7. An intelligent power consumption control device, characterized in that, The device is used to perform the intelligent power consumption control method as described in any one of claims 1-6, and the device comprises: The configuration module is used to perform configuration loading and control operations on the device under test according to a pre-determined configuration file when it is detected that the device under test has completed driver initialization, and to obtain the configuration loading and control result of the device under test. The acquisition module is used to acquire monitoring data of the device under test after the configuration loading and control result indicates that the device under test has completed the configuration and control. The monitoring data is used to determine whether the device power consumption parameters of the device under test need to be adjusted. The analysis module is used to analyze the monitoring data of the device under test and obtain the analysis results corresponding to the monitoring data; The calculation module is used to calculate the data difference between the monitoring data and the standard monitoring data based on the analysis results when the analysis results indicate that the device power consumption parameters of the device under test need to be adjusted. The power consumption adjustment module is used to perform power consumption adjustment operations on the device under test based on the data difference and the power consumption adjustment scheme corresponding to the data difference.

8. A smart power consumption control device, characterized in that, The device includes: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the intelligent power consumption control method as described in any one of claims 1-6.

9. A computer storage medium, characterized in that, The computer storage medium stores computer instructions, which, when invoked, are used to execute the intelligent power consumption control method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Server power consumption management and control method and system and storage medium

    CN114880192A