Method for determining power consumption

By acquiring the hardware parameters of the modem and the correction coefficients under the target operating state, the problem of accurately determining the dynamic power consumption of the modem in the prior art is solved, and accurate power consumption calculation and improved adaptability are achieved under different states.

CN122269425APending Publication Date: 2026-06-23LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
LENOVO (BEIJING) LTD
Filing Date
2026-02-28
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

Existing technologies struggle to accurately determine the dynamic power consumption of modems in real-world scenarios, especially the power consumption variations under different operating conditions.

Method used

The initial power consumption is determined by acquiring the modem's hardware parameters, and then corrected using a correction factor based on the target operating state to obtain the target power consumption. The correction factor is calculated based on the modem's operating parameters, such as the number of signal transmitting components, output power, wireless access technology type, and network environment parameters.

Benefits of technology

It enables real-time calculation of power consumption of modems under different operating conditions, improves the accuracy and adaptability of power consumption, reduces errors, and supports accurate estimation of dynamic power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122269425A_ABST
    Figure CN122269425A_ABST
Patent Text Reader

Abstract

The application provides a power consumption determination method, comprising: obtaining a first power consumption of a modem; the first power consumption is an operation power consumption determined based on a hardware parameter of the modem; obtaining a target correction coefficient corresponding to a target operation state of the modem; the target correction coefficient is determined based on a first working parameter of the modem in the target operation state; and correcting the first power consumption by using the target correction coefficient to obtain a target power consumption of the modem in the target operation state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to, but is not limited to, the field of electronic technology, and in particular to a method for determining power consumption. Background Technology

[0002] In related technologies, the power consumption of a modem is usually determined based on laboratory test data. However, this method makes it difficult to obtain the real-time power consumption of the modem when using electronic devices, thus making it difficult to reflect the dynamic power consumption changes of the modem in real-world scenarios. Summary of the Invention

[0003] In view of this, embodiments of this application provide at least one method for determining power consumption.

[0004] The technical solution of this application embodiment is implemented as follows: This application provides a method for determining power consumption, including: Obtain the first power consumption of the modem; the first power consumption is the operating power consumption determined based on the hardware parameters of the modem. Obtain the target correction coefficient corresponding to the target operating state of the modem; the target correction coefficient is determined based on the first operating parameter of the modem under the target operating state; The target power consumption of the modem under the target operating state is obtained by correcting the first power consumption using the target correction factor.

[0005] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of this application. Attached Figure Description

[0006] Figure 1 This is a schematic diagram illustrating the implementation process of a power consumption determination method provided in an embodiment of this application; Figure 2 This is a schematic diagram illustrating the implementation process of a mobile phone modem power consumption statistics method that weights a reference power consumption, as provided in an embodiment of this application. Figure 3 This is a schematic diagram of the composition structure of a power consumption determination device provided in an embodiment of this application; Figure 4 This is a schematic diagram of the composition structure of an electronic device provided in an embodiment of this application.

[0007] It should be noted that the terms "first" and "second" mentioned above are only used to distinguish between different options and do not represent the degree of superiority or inferiority of the options or their priority in the implementation process. Detailed Implementation

[0008] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0009] In the following description, the terms "first / second / third" are used merely to distinguish similar objects and do not represent a specific ordering of the objects. It is understood that "first / second / third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for descriptive purposes only and is not intended to limit the scope of this application. It should also be noted that, for ease of description, only the parts relevant to the application are shown in the accompanying drawings.

[0010] This application provides a power consumption determination method that can be applied to electronic devices. In implementation, the modem in the following embodiments can be located in the electronic device executing the power consumption determination method, or it can be located in other electronic devices. Exemplarily, the electronic device can refer to a server, laptop, tablet, desktop computer, smart TV, set-top box, mobile device (e.g., mobile phone, portable video player, personal digital assistant, dedicated messaging device, portable gaming device), or other device with data processing capabilities. Figure 1 As shown, the method includes the following steps S101 to S103: Step S101: Obtain the first power consumption of the modem; the first power consumption is the operating power consumption determined based on the hardware parameters of the modem.

[0011] Here, the first power consumption is a preset power consumption baseline value for the modem, determined based on hardware parameters that reflect the modem's hardware structure and / or hardware characteristics. These hardware parameters may include, but are not limited to, at least one of the following: power conversion efficiency, power amplifier (PA) conversion efficiency, etc.

[0012] In some implementations, the first power consumption of the modem can be determined by multiplying the standard power consumption by the power conversion efficiency after obtaining the standard power consumption based on the modem hardware architecture (e.g., using laboratory test data).

[0013] In some implementations, after obtaining the standard power consumption of the modem, the first power consumption of the modem can be determined by combining the environmental parameters of the physical environment in which the modem is located, the standard power consumption, and the relevant conversion efficiency.

[0014] For example, the first power consumption of the modem can be determined by multiplying the standard power consumption, electromagnetic interference coefficient, power conversion efficiency, and PA conversion efficiency based on the electromagnetic interference (such as signal-to-noise ratio) in the modem's environment.

[0015] For example, the first power consumption can be expressed as .

[0016] Step S102: Obtain the target correction coefficient corresponding to the target operating state of the modem; the target correction coefficient is determined based on the first operating parameter of the modem under the target operating state.

[0017] Here, the target operating state is the operating state of the modem at at least one operating moment. For example, it may include, but is not limited to, one of the following: single-antenna operating state, multi-antenna operating state, high-bandwidth operating state, low-bandwidth operating state, high-speed communication state, low-speed communication state, etc.

[0018] During implementation, the target operating state can correspond to a single working moment or a working period consisting of multiple working moments.

[0019] Operating parameters are used to characterize the operating conditions of a modem when it is working.

[0020] In some implementations, the operating parameters of the modem may include, but are not limited to, at least one of the following: the operating parameters of the signal transmitting components (such as antennas) connected to the modem; the type of Radio Access Technology (RAT) used by the modem; and the communication parameters of the network environment in which the modem is located (such as bandwidth, frequency band, etc.).

[0021] It is understandable that the operating parameters corresponding to the modem's operating status at different working times may be the same or different.

[0022] For example, when the modem uses the same number of antennas at different operating times, the modem's communication frequency bands can be the same or different.

[0023] For example, the type of RAT used by the modem can be different at different times. For instance, the 5th generation mobile communication technology (5G) can be used at the first time, and the 4th generation mobile communication technology (4G) can be used at the second time.

[0024] The target correction factor is a correction factor used to adjust the power consumption reference value of the modem. It is used to correct the first power consumption based on the first operating parameters, thereby obtaining the actual power consumption of the modem under the target operating state and the current operating conditions. In implementation, the target correction factor may be different for different types of first operating parameters.

[0025] In some implementations, when the target operating state corresponds to one first operating parameter, the number of target correction coefficients is one or more; when the target operating state corresponds to multiple first operating parameters, the number of target correction coefficients is multiple.

[0026] In some implementations, the correlation between different first operating parameters and different target correction coefficients (such as a mapping table) can be preset. Then, after obtaining the first operating parameters in the target operating state, the target correction coefficient corresponding to the first operating parameter can be obtained by looking up the correlation.

[0027] In some implementations, after obtaining the first working parameter under the target operating state, the target correction coefficient corresponding to the first working parameter can be calculated in real time according to the type of the first working parameter.

[0028] Step S103: Correct the first power consumption using the target correction coefficient to obtain the target power consumption of the modem in the target operating state.

[0029] Here, the target power consumption refers to the actual power consumption of the aforementioned modem under the target operating state and the current operating conditions.

[0030] During implementation, the method for determining the target power consumption may vary depending on the type and number of target correction coefficients.

[0031] For example, if the target correction factor is used to scale the first power consumption, the target power consumption can be obtained by multiplying the first power consumption by the target correction factor.

[0032] For example, when the target correction coefficient is used to compensate for the first power consumption, the target power consumption can be obtained by adding or subtracting the first power consumption from the target correction coefficient.

[0033] For example, if the target correction coefficient includes multiple coefficients used to scale the first power consumption and compensate for the first power consumption, the target power consumption can be obtained by adding or subtracting the product obtained by multiplying the first power consumption by a portion of the target correction coefficients and then adding or subtracting the other portion of the target correction coefficients.

[0034] In this embodiment, the first power consumption of the modem is obtained, and the first power consumption is corrected using a target correction coefficient corresponding to the first operating parameters of the modem in the target operating state to obtain the target power consumption of the modem in the target operating state. This allows for real-time calculation of the power consumption of the modem in different operating states, improving the adaptability of the obtained power consumption to its operating scenario; furthermore, based on the target correction coefficient, the accuracy of determining the actual power consumption of the modem can be further improved.

[0035] In some embodiments, the first operating parameter includes a second operating parameter of the signal transmitting component connected to the modem, and step S102 may include at least one of steps S111 to S112: Step S111: When the second operating parameter includes the number of target signal transmission components connected to the modem in the target operating state, a target correction coefficient is determined based on the number of targets; the target correction coefficient is directly proportional to the number of targets.

[0036] Here, the signal transmitting component is a component connected to a modem for radiating radio frequency signals into physical space, thereby enabling communication transmission. For example, the signal transmitting component may include an antenna.

[0037] The second operating parameter is the operating parameter related to the signal transmitting component, such as the number of signal transmitting components and / or output power.

[0038] Understandably, the more signal transmission components a modem has in operation, the greater its power consumption.

[0039] For example, the target correction coefficient is determined based on the number of signal transmitting components. The process can be found in formula (1): (1); in, Indicates the number of signal transmission components connected to the modem; The power consumption coefficient corresponding to a single signal transmitting component can be obtained through prior testing. It is understood that with each additional signal transmitting component (or group of signal transmitting components), the power consumption coefficient corresponding to the signal transmitting component connected to the modem increases proportionally.

[0040] Step S112: When the second operating parameter includes the output power of the signal transmission component connected to the modem in the target operating state, determine the target correction coefficient based on the output power.

[0041] It is understandable that the greater the output power of the signal transmitting components connected to the target during operation, the greater the power consumption of the modem.

[0042] During implementation, the mapping relationship between the output power of different signal transmission components and the target correction coefficient can be preset. Furthermore, after determining the type of signal transmission component connected to the modem in the target operating state, the target correction coefficient corresponding to the output power of the signal transmission component can be obtained by looking up the mapping relationship.

[0043] During implementation, the target correction coefficient corresponding to the second operating parameter of the signal transmission component connected to the modem can be determined comprehensively based on the target number and output power of the signal transmission component.

[0044] In this embodiment, by obtaining the target number and / or output power of the signal transmission components connected to the modem, a target correction coefficient related to the signal transmission components is further determined based on the target number and / or output power. This approach, considering that the power consumption of the modem during operation is related to the signal transmission components used to transmit the signal, further improves the accuracy of the target correction coefficient and its adaptability to the target operating state.

[0045] In some embodiments, the signal transmitting component is connected to a power amplifier, and the power amplifier is connected to a modem. The step S112 above, which describes determining the target correction coefficient based on the output power, may include the following step S121: Step S121: Based on the power range in which the output power is located within the first time period, determine the target correction coefficient of the modem within the first time period; the first time period is the running time of the modem in the target operating state.

[0046] Here, the power amplifier is used to further amplify the signal transmitted by the signal transmitting component. As the input power of the signal transmitting component increases, the gain of the power amplifier gradually increases. However, due to the nonlinear characteristics of the power amplifier, its gain begins to decrease once the input power reaches a preset value, until the output power of the signal transmitting component no longer increases linearly with the input power. Therefore, the impact of the PA on the modem's power consumption can be determined based on the actual transmit power, i.e., the output power, of the signal transmitting component, and the target correction factor can be further determined.

[0047] In practice, the distribution of the output power of the signal transmitting component as a function of the PA gain can be obtained through fitting.

[0048] For example, the target correction coefficient can be determined by fitting the nonlinear characteristics of PA using an exponential function. The process can be found in formula (2): (2); in, This indicates the actual transmission power of the signal transmitting component, i.e., the output power; This indicates the output power of the signal transmitting component when the power amplifier is in a non-operating state, and The reference power (lossless power) is determined by the type of signal transmitting component. and These are the fitting coefficients, which can be obtained in advance based on the test data.

[0049] In implementation, Under different power ranges, Corresponding fitting coefficients and They can be different. For example, If the corresponding input power is not increased to the preset value, It is in the first power range, corresponding to the first set of fitting coefficients. and ; When the corresponding input power increases to the preset value, It is in the second power range, corresponding to the second set of fitting coefficients. and .

[0050] In this embodiment, the target correction coefficient of the modem is determined based on the power range of the signal transmission component's output power during the first duration of operation in the target operating state. Thus, considering the nonlinear characteristics of the power amplifier, nonlinear fitting of the transmission power of the signal transmission component connected to the modem improves the accuracy of the target correction coefficient and its adaptability to the target operating state, thereby further improving the accuracy of the corrected target power consumption.

[0051] In some embodiments, the first operating parameter includes the type of wireless access technology used by the modem, and step S102 may include steps S131 to S132: Step S131: Determine the first type of wireless access technology used by the modem in the target operating state.

[0052] Here, Radio Access Technology (RAT) refers to the technical specifications for the access layer of wireless communication networks, which may include, but are not limited to, General Packet Radio Service (GPRS), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Long Term Evolution (LTE), 4G, 5G, etc.

[0053] Understandably, modems consume different amounts of power when using different types of RATs because they have varying frequency efficiencies and data transfer rates. For example, RATs with higher data transfer rates consume more power.

[0054] Step S132: Determine the target correction coefficient based on the first type.

[0055] In some implementations, a mapping relationship between different RATs and target correction coefficients can be established. Furthermore, after determining the first type of RAT corresponding to the target operating state, the target correction coefficient corresponding to that type of RAT can be obtained by looking up the mapping relationship.

[0056] In this embodiment, by obtaining the first type of wireless access technology used by the modem in the target operating state, a target correction coefficient is further determined based on the first type. This allows for consideration of the impact of different data transmission rates on power consumption, and by improving the accuracy of the target correction coefficient and its adaptability to the target operating state based on the RAT type, thereby further improving the accuracy of the corrected target power consumption.

[0057] In some embodiments, step S132 may include step S141: Step S141: Determine the target correction coefficient based on the first ratio between the first power consumption corresponding to the first type and the second power consumption corresponding to the preset second type of wireless access technology.

[0058] Here, the first power consumption is the reference power consumption corresponding to the first type of RAT.

[0059] The second type is the RAT type used as a comparison benchmark, that is, a preset RAT type whose power consumption serves as the power consumption standard. The second power consumption is the reference power consumption corresponding to the second type of RAT.

[0060] During implementation, a RAT (i.e., the second type of wireless access technology) can be preset, and its corresponding target correction coefficient can be set to 1; further, the reference power consumption ratio (i.e., the first ratio) between other RATs and this RAT can be determined as the target correction coefficients corresponding to other RATs respectively.

[0061] For example, the target correction factor for 4G can be set to 1, the baseline power consumption ratio between 5G and 4G can be determined as the target correction factor for 5G, and the baseline power consumption ratio between 3rd-Generation (3G) and 4G can be determined as the target correction factor for 3G.

[0062] For example, the target correction factor for 3G can be set to 1, the baseline power consumption ratio between 4G and 3G can be determined as the target correction factor for 4G, and the baseline power consumption ratio between 5G and 3G can be determined as the target correction factor for 5G.

[0063] During implementation, the baseline power consumption ratio of different RATs can be obtained by looking up a table.

[0064] For example, the first ratio can be expressed as .

[0065] In some implementations, the first ratio can be used as the target correction coefficient, or the final target correction coefficient can be obtained by combining at least one of the above target correction coefficients with the first ratio.

[0066] The above power consumption determination method may further include the following step S142: Step S142: If the first ratio is greater than the target ratio threshold, switch the wireless access technology used by the modem to the second type.

[0067] Here, if the first ratio is 1, it means that the RAT type in the target operating state is the same as the preset second type, and no power ratio conversion is required; if the first ratio is not 1, it means that the RAT type in the target operating state is different from the preset second type, and power ratio conversion is required.

[0068] The target ratio threshold is a preset maximum ratio used to determine whether it is necessary to switch RATs to reduce power consumption. If the first ratio is greater than the target ratio threshold, it means that the reference power consumption of the RAT type under the target operating state is greater than the reference power consumption of the preset second type RAT. Therefore, the actual power consumption of the modem can be reduced by switching the RAT type to the second type.

[0069] For example, the target ratio threshold can be set to 1, 1.1, 1.2, etc., according to actual needs, and this application embodiment does not limit it.

[0070] In this embodiment, a target correction coefficient is determined by a first ratio between the first power consumption corresponding to the first type and the second power consumption corresponding to the preset second type of wireless access technology. If the first ratio is greater than the target ratio threshold, the wireless access technology used by the modem is switched to the second type. This approach, on the one hand, improves the accuracy of the target correction coefficient based on the baseline power consumption ratios of different RATs; on the other hand, by combining the relationship between the first ratio and the target ratio threshold, the communication efficiency and the actual power consumption of the modem can be balanced according to requirements by switching RAT types.

[0071] In some embodiments, the first operating parameter includes communication parameters of the network environment where the modem is located, and the communication parameters include a first parameter characterizing bandwidth. Step S102 may include the following step S151: Step S151: Determine the target correction coefficient based on the first parameter of the modem in the target operating state and the first adjustment coefficient corresponding to the first parameter; the first adjustment coefficient is directly proportional to the first parameter.

[0072] It is understandable that the higher the bandwidth of the network environment in which the modem is located, the greater the actual power of the modem.

[0073] In some implementations, a preset reference bandwidth can be used as a comparison standard. The target correction coefficient is determined based on the ratio of the actual bandwidth represented by the first parameter to the reference bandwidth, and the first adjustment coefficient. For example, 10 Mbps, 15 Mbps, or 20 Mbps can be used as the reference bandwidth, and this application does not limit this.

[0074] The first adjustment factor is a parameter used to adjust the target correction factor corresponding to the bandwidth, and its value can be obtained through prior testing. In implementation, the first adjustment factor can be different for different reference bandwidths.

[0075] For example, the target correction coefficient is determined based on the first parameter and the first adjustment coefficient. The process can be found in formula (3): (3); in, This represents the actual bandwidth of the modem when the target is in operation, i.e., the first parameter; Indicates the preset baseline bandwidth; This represents the first adjustment coefficient.

[0076] In this embodiment, the target correction coefficient is determined based on a first parameter representing bandwidth in the network environment where the modem is located, and a first adjustment coefficient corresponding to the first parameter. This takes into account the impact of different bandwidths on power consumption in the network environment where the modem is located. Based on the actual bandwidth and the adjustment coefficient, the accuracy of the target correction coefficient and its adaptability to the target operating state are improved, thereby further improving the accuracy of the target power consumption obtained after correction.

[0077] In some embodiments, the first operating parameter includes communication parameters of the network environment where the modem is located, and the communication parameters include a second parameter characterizing the communication frequency band. The above step S102 may include the following step S161: Step S161: Determine the target correction coefficient based on the second parameter of the modem in the target operating state and the second adjustment coefficient corresponding to the second parameter; the second adjustment coefficient is different for different second parameters.

[0078] Here, the communication frequency band refers to the frequency band corresponding to at least one communication frequency in the network environment where the modem is located. Since frequency fluctuations occur during communication, setting a communication frequency band can improve the overall consistency and uniformity of determining the target correction coefficients while reducing computational complexity. It is understandable that the higher the frequency corresponding to the communication frequency band in the network environment where the modem is located, the greater the actual power of the modem.

[0079] In some implementations, a reference frequency can be preset as a comparison standard, and the target correction coefficient can be determined based on the ratio of the actual frequency corresponding to the communication frequency band represented by the second parameter to the reference frequency, and the second adjustment coefficient. For example, 100 MHz, 500 MHz, 1 GHz, or 2 GHz can be determined as the reference frequency.

[0080] The second adjustment factor is a parameter used to adjust the target correction factor corresponding to the communication frequency band, and its value can be obtained through prior testing. In implementation, the second adjustment factor may be different for different reference frequencies.

[0081] For example, the process of determining the target correction coefficient based on the second parameter and the second adjustment coefficient can be found in formula (4): (4); in, The second parameter represents the actual frequency corresponding to the communication band of the modem when the target is in operation. Indicates the preset reference frequency; This represents the second adjustment coefficient.

[0082] In this embodiment, the target correction coefficient is determined based on a second parameter characterizing the communication frequency band in the network environment where the modem is located, and a second adjustment coefficient corresponding to the second parameter. This approach takes into account the impact of different communication frequency bands on power consumption in the network environment where the modem is located. Based on the actual communication frequency band and the adjustment coefficient, the accuracy of the target correction coefficient and its adaptability to the target operating state are improved, thereby further enhancing the accuracy of the target power consumption obtained after correction.

[0083] In some embodiments, the modem corresponds to multiple target operating states within a second duration, where the second duration is a preset power consumption statistics duration. The power consumption determination method may further include the following steps S171 to S172: Step S171: Determine the second ratio between the first duration and the second duration corresponding to each target running state.

[0084] Here, the second duration is a preset continuous duration, which can be set according to actual needs (such as project needs, statistical needs, etc.). For example, the second duration can be 12 hours, 1 day, or 1 week, etc., and this application embodiment does not limit it.

[0085] Step S172: Based on the second ratio corresponding to each target operating state, the target power consumption corresponding to each target operating state is weighted and summed to obtain the total power consumption of the modem within the second time period.

[0086] During implementation, the second ratio corresponding to each target operating state is the weight of the target power consumption corresponding to that target operating state in the total power consumption of the modem within the second time period.

[0087] For example, the total power consumption of the modem during the second duration is determined. The process can be found in formula (5): (5); in, For the second duration The second ratio corresponding to the first duration of the segment.

[0088] In this embodiment, a second ratio is determined between the first duration corresponding to each target operating state of the modem and the preset total operating time (second duration). Based on this second ratio, the target power consumption corresponding to each target operating state is weighted and summed to obtain the total power consumption of the modem within the second duration. This divides the second duration of power consumption to be statistically analyzed into multiple time periods. By statistically analyzing the proportion of different time periods within the total operating time, the accuracy of the total power consumption of the modem in different operating states under the total operating time can be improved.

[0089] In some embodiments, step S101 may include steps S181 to S182: Step S181: Determine the second power consumption of the modem based on the hardware parameters of the modem.

[0090] Here, the second power consumption of the modem is determined based on the modem's hardware parameters, which can correspond to the standard power consumption of the modem determined based on the modem's hardware structure in the above embodiments.

[0091] Step S182: Adjust the second power consumption using the third adjustment coefficient to obtain the first power consumption; the third adjustment coefficient is determined based on the input power of the power supply component of the electronic device equipped with the modem and / or the ambient temperature of the physical environment in which the modem is located.

[0092] Here, the third adjustment factor is determined based on the hardware characteristics of the electronic device in which the modem is located and the environmental characteristics of the physical environment in which the modem is located.

[0093] The power supply components of electronic devices may include, but are not limited to, a built-in battery, an external power supply connected via a power adapter, or an external power supply connected wirelessly.

[0094] It is understandable that the input power of the power supply components of an electronic device can affect the conversion efficiency of the power supply components and the conversion efficiency of the power amplifier connected to the modem, thus affecting the modem's power consumption; and the higher the ambient temperature of the physical environment in which the modem is located, the greater the modem's power consumption. Therefore, by adjusting the standard power consumption using a third adjustment coefficient corresponding to the input power of the power supply components and / or the ambient temperature of the physical environment in which the modem is located, a more accurate standard power consumption of the modem in the actual working environment can be obtained. In this embodiment, after obtaining the second power consumption of the modem based on its hardware parameters, a third adjustment coefficient, determined based on the input power of the power supply component of the electronic device equipped with the modem and / or the ambient temperature in the physical environment where the modem is located, is used to adjust the second power consumption to obtain the first power consumption. This further improves the accuracy of the reference power consumption (standard power consumption, i.e., the second power consumption) obtained before correcting the first power consumption, based on the hardware conversion efficiency of the modem and / or the ambient temperature.

[0095] In some embodiments, the power consumption determination method described above may further include at least one of the following steps S191 to S193: Step S191: Determine a third adjustment coefficient based on the first conversion efficiency of the power amplifier connected to the modem; the first conversion efficiency is determined based on the first output power of the power amplifier and the input power of the power supply component.

[0096] In practice, the ratio of the first output power to the input power of the power supply component can be determined as the first conversion efficiency.

[0097] Step S192: Determine the third adjustment coefficient based on the second conversion efficiency of the power supply component; the second conversion efficiency is determined based on the second output power of the power supply component and the input power of the power supply component.

[0098] In practice, the ratio of the second output power to the input power of the power supply component can be determined as the second conversion efficiency.

[0099] Step S193: Determine the third adjustment coefficient based on the ambient temperature in the physical environment where the modem is located; the ambient temperature is directly proportional to the third adjustment coefficient.

[0100] During implementation, a temperature compensation coefficient that changes proportionally to the ambient temperature can be set. The value of this temperature compensation coefficient ranges from 0 to 1. The higher the ambient temperature, the greater the value of the temperature compensation coefficient.

[0101] In some implementations, the product of at least one of the first conversion efficiency, the second conversion efficiency, and the temperature compensation coefficient can be determined as the third adjustment coefficient; further, the product of the third adjustment coefficient and the second power consumption can be determined as the first power consumption.

[0102] In this embodiment, by taking into account the impact of hardware conversion efficiency and / or ambient temperature on power consumption in the modem's operating environment, a third adjustment coefficient is determined based on at least one of the following: the first conversion efficiency of the power amplifier connected to the modem, the second conversion efficiency of the power supply component, and the ambient temperature in the physical environment where the modem is located. This allows for further improvement in the accuracy of the third adjustment coefficient and its adaptability to the modem's actual operating environment.

[0103] In related technologies, when statistically analyzing mobile phone battery power using laboratory test data (such as whether a data connection exists, working mode, and connection duration), it is difficult to obtain the power consumption of the modem, making it difficult to grasp the dynamic power consumption changes of the modem in actual usage scenarios.

[0104] Based on this, embodiments of this application provide a method for calculating mobile phone modem power consumption by weighting a baseline power consumption, which can be executed by a mobile phone or other electronic device equipped with a modem. For example... Figure 2 As shown, the method includes the following steps S201 to S204: Step S201: Establish a reference power consumption dynamic calibration model.

[0105] In implementation, a reference power consumption library based on modem hardware characteristics can be established. This library includes reference power consumption for at least one modem. The reference power consumption can correspond to the first power consumption described in the above embodiments.

[0106] For example, the first power consumption can be the product of a standard reference value, a hardware efficiency coefficient, and a temperature compensation coefficient. The standard reference value can correspond to the second power consumption in the power consumption determination method described above. The hardware efficiency coefficient can be determined by the PA efficiency (i.e., the first conversion efficiency in the above embodiments) and the power conversion efficiency (i.e., the second conversion efficiency in the above embodiments). The temperature compensation coefficient is determined by the ambient temperature in the above embodiments.

[0107] Step S202: Perform multi-parameter nonlinear correction on the reference power consumption.

[0108] When implementing this method, multi-parameter nonlinear correction of the reference power consumption can be performed using formulas (1) to (4) above. Wherein, when the signal transmitting component in the above embodiment is an antenna, the formula (2) above... This can be represented as the transmit power correction factor, in formula (1). This can correspond to the MIMO correction factor; in the above formula (3) This can correspond to the bandwidth correction factor; in the above formula (4) This can correspond to a frequency band correction factor; in the above embodiments This can be represented by the RAT correction factor.

[0109] Furthermore, the product of each correction factor can be used as the target correction coefficient in the above embodiments, and the reference power consumption can be corrected by multiplying it with the reference power consumption.

[0110] Step S203: Integrate over time to obtain the total power consumption of the Modem.

[0111] In implementation, one day (corresponding to the second duration in the above embodiment) can be divided into multiple time slices (corresponding to the first duration in the above embodiment). The total power consumption of the modem in one day is calculated by weighting the duration of each target running state within one day. The process of determining the total power consumption of the modem can be found in the above formula (5), which will not be repeated in this embodiment.

[0112] For example, given a modem base power consumption of 30 mAh, an antenna transmit power of 15 dBm, a MIMO mode of 4-input 4-output, a communication bandwidth of 100 MHz, a RAT type of 5G (5G Sub-6) with a frequency below 6 GHz, a communication frequency band of 2.5 GHz, and a time percentage of 30% within the first duration of one day, the corresponding... The value is approximately 5.50, and its corresponding The value is 1.75, and its corresponding The value is 3.0, and its corresponding The value is 1.8 (the baseline power consumption ratio between 5G Sub-6 and 4G), and its corresponding The value is approximately 1.136. Furthermore, the target power consumption of the modem during the first duration can be obtained as approximately 531.39 mAh.

[0113] Step S204: Calculate the proportion of the Modem's total power consumption.

[0114] Here, by combining the phone's total power consumption data over a day, we can further calculate the proportion of modem power consumption in the phone's total power consumption, thereby enabling overall power consumption management.

[0115] In this embodiment, high-precision calculation through nonlinear correction and multi-parameter integration can reduce the error in determining modem power consumption by more than 40% compared to common methods in related technologies. By supporting real-time power consumption estimation for different types of modem hardware (such as signal transmission components, power amplifiers, etc.), network environments (such as bandwidth and communication frequency bands), and usage scenarios (such as RAT), the dynamic adaptability of the modem in actual usage scenarios can be improved. Furthermore, through the above-mentioned modem power consumption statistics method, more accurate quantitative basis can be provided for modem selection (such as switching of working modes and / or operating states), network optimization (such as MIMO scaling based on data scale and traffic load), and power management strategies.

[0116] This application provides a power consumption determination device, such as... Figure 3 As shown, the power consumption determination device 300 may include: The first acquisition module 310 is used to acquire the first power consumption of the modem; the first power consumption is the operating power consumption determined based on the hardware parameters of the modem. The second acquisition module 320 is used to acquire the target correction coefficient corresponding to the target operating state of the modem; the target correction coefficient is determined based on the first operating parameter of the modem under the target operating state; The correction module 330 is used to correct the first power consumption using the target correction coefficient to obtain the target power consumption of the modem in the target operating state.

[0117] In some embodiments, the first operating parameter includes a second operating parameter of the signal transmitting component connected to the modem, and the second acquisition module may also be used for at least one of the following: when the second operating parameter includes the target number of signal transmitting components connected to the modem in the target operating state, determining a target correction coefficient based on the target number; the target correction coefficient is directly proportional to the target number; when the second operating parameter includes the output power of the signal transmitting component connected to the modem in the target operating state, determining a target correction coefficient based on the output power.

[0118] In some embodiments, the signal transmitting component is connected to the power amplifier, and the power amplifier is connected to the modem. The second acquisition module can also be used to: determine the target correction coefficient of the modem within the first time period based on the power range in which the output power is located within the first time period; the first time period is the running time of the modem in the target operating state.

[0119] In some embodiments, the first operating parameter includes the type of wireless access technology used by the modem, and the second acquisition module can also be used to: determine the first type of wireless access technology used by the modem in the target operating state; and determine the target correction coefficient based on the first type.

[0120] In some embodiments, the second acquisition module can also be used to: determine a target correction coefficient based on a first ratio between a first power consumption corresponding to a first type and a second power consumption corresponding to a preset second type of wireless access technology; the power consumption determination device can also include a switching module, used to: switch the wireless access technology used by the modem to the second type when the first ratio is greater than a target ratio threshold.

[0121] In some embodiments, the first operating parameter includes communication parameters of the network environment where the modem is located, and the communication parameter includes a first parameter representing bandwidth. The second acquisition module can also be used to: determine the target correction coefficient based on the first parameter of the modem in the target operating state and the first adjustment coefficient corresponding to the first parameter; the first adjustment coefficient is directly proportional to the first parameter.

[0122] In some embodiments, the first operating parameter includes communication parameters of the network environment where the modem is located, and the communication parameters include a second parameter characterizing the communication frequency band. The second acquisition module can also be used to: determine the target correction coefficient based on the second parameter of the modem in the target operating state and the second adjustment coefficient corresponding to the second parameter; the second adjustment coefficients corresponding to different second parameters are different.

[0123] In some embodiments, the modem corresponds to multiple target operating states within a second duration, where the second duration is a preset power consumption statistics duration. The power consumption determination device may further include a determination module, configured to: determine a second ratio between the first duration and the second duration corresponding to each target operating state; and, based on the second ratio corresponding to each target operating state, perform a weighted summation of the target power consumption corresponding to each target operating state to obtain the total power consumption of the modem within the second duration.

[0124] In some embodiments, the first acquisition module described above can also be used to: determine the second power consumption of the modem based on the hardware parameters of the modem; adjust the second power consumption using a third adjustment coefficient to obtain the first power consumption; the third adjustment coefficient is determined based on the input power of the power supply component of the electronic device equipped with the modem and / or the ambient temperature in the physical environment where the modem is located.

[0125] In some embodiments, the first acquisition module described above may also be used for at least one of the following: determining a third adjustment coefficient based on a first conversion efficiency of a power amplifier connected to the modem; the first conversion efficiency is determined based on a first output power of the power amplifier and an input power of the power supply component; determining a third adjustment coefficient based on a second conversion efficiency of the power supply component; the second conversion efficiency is determined based on a second output power of the power supply component and an input power of the power supply component; determining a third adjustment coefficient based on the ambient temperature in the physical environment where the modem is located; the ambient temperature is directly proportional to the third adjustment coefficient.

[0126] This application provides an electronic device. For example... Figure 4 As shown, the electronic device 400 may include a memory 410 and a processor 420. The memory 410 stores a data processing program that can run on the processor 420. When the processor 420 executes the program, it implements any step in the power consumption determination method described above.

[0127] This application also proposes a computer program including computer-readable code. When the computer-readable code is run in an electronic device, the processor in the electronic device executes a power consumption determination method provided in this application.

[0128] This application provides a computer program product, including a computer program or computer executable instructions. When the computer program or computer executable instructions are executed by a processor, they implement the power consumption determination method provided in this application.

[0129] This application provides a computer-readable storage medium storing a computer program or computer-executable instructions for implementing the power consumption determination method provided in this application when executed by a processor.

[0130] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus, and devices according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0131] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0132] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0133] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

[0134] The descriptions of the above device embodiments are similar to those of the above method embodiments, and have similar beneficial effects. For technical details not disclosed in the device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0135] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0136] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0137] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0138] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of the embodiments of this application, depending on actual needs.

[0139] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0140] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.

[0141] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks. The above descriptions are merely embodiments of this application and are not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.

Claims

1. A method for determining power consumption, comprising: Obtain the first power consumption of the modem; The first power consumption is the operating power consumption determined based on the hardware parameters of the modem; Obtain a target correction coefficient corresponding to the target operating state of the modem; the target correction coefficient is determined based on a first operating parameter of the modem under the target operating state; The first power consumption is corrected using the target correction coefficient to obtain the target power consumption of the modem in the target operating state.

2. The method according to claim 1, wherein the first operating parameters include second operating parameters of the signal transmitting component connected to the modem; The acquisition of the target correction coefficient corresponding to the target operating state of the modem includes at least one of the following: When the second operating parameter includes the number of target signal transmission components connected to the modem in the target operating state, the target correction coefficient is determined based on the number of targets; the target correction coefficient is directly proportional to the number of targets. When the second operating parameter includes the output power of the signal transmission component connected to the modem in the target operating state, the target correction coefficient is determined based on the output power.

3. The method according to claim 2, wherein the signal transmitting component is connected to a power amplifier, and the power amplifier is connected to the modem; Determining the target correction coefficient based on the output power includes: Based on the power range in which the output power is located within the first time period, the target correction coefficient of the modem within the first time period is determined. The first duration is the runtime of the modem in the target operating state.

4. The method according to claim 1, wherein the first operating parameter includes the type of wireless access technology used by the modem; The step of obtaining the target correction coefficient corresponding to the target operating state of the modem includes: Determine the first type of wireless access technology used by the modem in the target operating state; Based on the first type, the target correction coefficient is determined.

5. The method according to claim 4, wherein determining the target correction coefficient based on the first type comprises: The target correction coefficient is determined based on a first ratio between the first power consumption corresponding to the first type and the second power consumption corresponding to the preset second type of wireless access technology. The method further includes: If the first ratio is greater than the target ratio threshold, the wireless access technology used by the modem is switched to the second type.

6. The method according to claim 1, wherein the first operating parameter includes communication parameters of the network environment in which the modem is located, and the communication parameters include a first parameter characterizing bandwidth; The step of obtaining the target correction coefficient corresponding to the target operating state of the modem includes: Based on the first parameter of the modem in the target operating state and the first adjustment coefficient corresponding to the first parameter, the target correction coefficient is determined; The first adjustment coefficient is directly proportional to the first parameter.

7. The method according to claim 1, wherein the first operating parameter includes communication parameters of the network environment in which the modem is located, and the communication parameters include a second parameter characterizing the communication frequency band; The step of obtaining the target correction coefficient corresponding to the target operating state of the modem includes: Based on the second parameter of the modem in the target operating state and the second adjustment coefficient corresponding to the second parameter, the target correction coefficient is determined; Different second parameters correspond to different second adjustment coefficients.

8. The method according to any one of claims 1 to 7, wherein the modem corresponds to multiple target operating states within a second duration, and the second duration is a preset power consumption statistics duration; The method further includes: Determine a second ratio between the first duration and the second duration corresponding to each target operating state; Based on the second ratio corresponding to each target operating state, the target power consumption corresponding to each target operating state is weighted and summed to obtain the total power consumption of the modem within the second time period.

9. The method according to any one of claims 1 to 7, wherein obtaining the first power consumption of the modem comprises: Based on the hardware parameters of the modem, determine the second power consumption of the modem; The second power consumption is adjusted using a third adjustment factor to obtain the first power consumption; the third adjustment factor is determined based on the input power of the power supply component of the electronic device equipped with the modem and / or the ambient temperature of the physical environment in which the modem is located.

10. The method of claim 9, further comprising at least one of the following: The third adjustment coefficient is determined based on a first conversion efficiency of the power amplifier connected to the modem; the first conversion efficiency is determined based on a first output power of the power amplifier and an input power of the power supply component. The third adjustment coefficient is determined based on the second conversion efficiency of the power supply component; the second conversion efficiency is determined based on the second output power of the power supply component and the input power of the power supply component. The third adjustment coefficient is determined based on the ambient temperature in the physical environment where the modem is located; the ambient temperature is directly proportional to the third adjustment coefficient.