Communication power consumption determination method and apparatus, electronic device, and storage medium
By determining the type of communication scenario and obtaining the corresponding power consumption parameters, the problem of accurately knowing the communication power consumption of electronic devices is solved, and the effect of quantitative evaluation and optimization of battery life is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2021-10-19
- Publication Date
- 2026-07-31
AI Technical Summary
In existing technologies, electronic devices cannot accurately know the power consumption during communication, which makes it impossible to effectively reduce power consumption and heat generation, thus affecting battery life.
By determining the communication type of the current communication scenario, obtaining the corresponding power consumption parameters, such as physical channel parameters, transmit power parameters, or the reference power consumption of the second electronic device, the communication power consumption is calculated.
It enables quantitative determination of communication power consumption, supports power consumption assessment and comparison between different electronic devices, and optimizes battery life.
Smart Images

Figure CN115996451B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of electronic devices, and more particularly to a method, apparatus, electronic device, and storage medium for determining communication power consumption. Background Technology
[0002] With the development of mobile communication technology, the pace of electronic device upgrades is accelerating. Compared to 2G electronic devices, 5G electronic devices are more powerful, but they also consume more power and generate more heat. Given the limited size of electronic devices, increased power consumption and heat generation severely impact battery life.
[0003] To ensure battery life, power consumption during use can be reduced, such as by decreasing communication power consumption. In related technologies, effectively determining the communication power consumption of electronic devices is a problem that needs to be solved. Summary of the Invention
[0004] To overcome the problems existing in related technologies, this disclosure provides a method, apparatus, electronic device and storage medium for determining communication power consumption.
[0005] According to a first aspect of the present disclosure, a method for determining communication power consumption is proposed, applied to a first electronic device, the method comprising:
[0006] Determine the communication type of the current communication scenario;
[0007] Based on the communication type, the corresponding power consumption parameters are determined; wherein, the power consumption parameters include: physical channel parameters, transmit power parameters, or reference power consumption of the second electronic device;
[0008] Based on the power consumption parameters, the communication power consumption in the current communication scenario is determined.
[0009] In some embodiments, the communication type includes: continuous data type and discontinuous data type, and determining the corresponding power consumption parameter according to the communication type includes:
[0010] In response to the communication type being data continuous, the product status of the first electronic device is determined; wherein, the product status includes products awaiting shipment or products already shipped;
[0011] Based on the product status, determine the transmission power parameters, or determine the reference power consumption of the second electronic device;
[0012] In response to the communication type being data discontinuous, the physical channel parameters are determined.
[0013] In some embodiments, the transmit power parameters include: the percentage of different transmit powers and the power consumption of the radio frequency module under a preset frequency band in the current communication scenario, wherein the radio frequency module includes a power amplifier;
[0014] Determining the transmit power parameters includes:
[0015] In the current communication scenario, among the multiple transmit powers, determine the proportion of each transmit power and the power consumption of the radio frequency module.
[0016] In some embodiments, determining the percentage corresponding to each of the transmission powers includes:
[0017] Obtain configuration information, which includes: the mapping relationship between the transmit power range and the transmit power ratio under the preset frequency band of the current communication scenario;
[0018] Based on the configuration information, determine the percentage corresponding to each of the transmission powers.
[0019] In some embodiments, determining the communication power consumption in the current communication scenario based on the power consumption parameter includes:
[0020] The communication power consumption is determined based on the proportion of the various transmit powers and the power consumption of the radio frequency module.
[0021] In some embodiments, determining the reference power consumption of the second electronic device includes:
[0022] The reference power consumption transmitted by the second electronic device is obtained; wherein the reference power consumption is determined by the second electronic device based on the proportion of multiple transmit powers and the power consumption of the radio frequency module under the preset frequency band of the current communication scenario.
[0023] In some embodiments, determining the communication power consumption in the current communication scenario based on the power consumption parameter includes:
[0024] Based on the reference power consumption, the communication power consumption in the current communication scenario is determined.
[0025] In some embodiments, the power consumption parameter further includes: power consumption deviation, wherein determining the communication power consumption in the current communication scenario based on the reference power consumption includes:
[0026] Determine the power consumption deviation with the second electronic device; wherein the power consumption deviation includes: a first difference and a second difference, the first difference being used to characterize: the power consumption difference between the power amplifier of the first electronic device and the power amplifier of the second electronic device in the current communication scenario, and the second difference being used to characterize: the power consumption difference between the radio frequency module of the first electronic device other than the power amplifier and the radio frequency module of the second electronic device other than the power amplifier in the current communication scenario;
[0027] The communication power consumption is determined based on the reference power consumption and the power consumption deviation.
[0028] In some embodiments, the physical channel parameters include: the proportion of multiple physical channels and the power consumption of the radio frequency module;
[0029] Determining the physical channel parameters includes:
[0030] Determine the power consumption of the radio frequency module corresponding to each physical channel among multiple physical channels;
[0031] Obtain communication log information, and determine the proportion corresponding to each physical channel based on the communication log information.
[0032] In some embodiments, determining the communication power consumption in the current communication scenario based on the power consumption parameter includes:
[0033] The communication power consumption is determined based on the proportion of multiple physical channels and the power consumption of the radio frequency module.
[0034] According to a second aspect of the present disclosure, a communication power consumption determination apparatus is provided, applied to a first electronic device, the apparatus comprising:
[0035] The first determining module is used to determine the communication type of the current communication scenario;
[0036] The second determining module is used to determine the corresponding power consumption parameters according to the communication type; wherein, the power consumption parameters include: physical channel parameters, transmit power parameters, or reference power consumption of the second electronic device;
[0037] The third determining module is used to determine the communication power consumption in the current communication scenario based on the power consumption parameters.
[0038] In some embodiments, the communication type includes: continuous data and discontinuous data, and the second determining module is used to:
[0039] In response to the communication type being data continuous, the product status of the first electronic device is determined; wherein, the product status includes products awaiting shipment or products already shipped;
[0040] Based on the product status, determine the transmission power parameters, or determine the reference power consumption of the second electronic device;
[0041] In response to the communication type being data discontinuous, the physical channel parameters are determined.
[0042] In some embodiments, the transmit power parameters include: the percentage of different transmit powers and the power consumption of the radio frequency module under a preset frequency band in the current communication scenario, wherein the radio frequency module includes a power amplifier;
[0043] The second determining module is also used for:
[0044] In the current communication scenario, among the multiple transmit powers, determine the proportion of each transmit power and the power consumption of the radio frequency module.
[0045] In some embodiments, the second determining module is further configured to:
[0046] Obtain configuration information, which includes: the mapping relationship between the transmit power range and the transmit power ratio under the preset frequency band of the current communication scenario;
[0047] Based on the configuration information, determine the percentage corresponding to each of the transmission powers.
[0048] In some embodiments, the third determining module is used to:
[0049] The communication power consumption is determined based on the proportion of the various transmit powers and the power consumption of the radio frequency module.
[0050] In some embodiments, the second determining module is further configured to:
[0051] The reference power consumption transmitted by the second electronic device is obtained; wherein the reference power consumption is determined by the second electronic device based on the proportion of multiple transmit powers and the power consumption of the radio frequency module under the preset frequency band of the current communication scenario.
[0052] In some embodiments, the third determining module is further configured to:
[0053] Based on the reference power consumption, the communication power consumption in the current communication scenario is determined.
[0054] In some embodiments, the power consumption parameter further includes: power consumption deviation, and the third determining module is further configured to:
[0055] Determine the power consumption deviation with the second electronic device; wherein the power consumption deviation includes: a first difference and a second difference, the first difference being used to characterize: the power consumption difference between the power amplifier of the first electronic device and the power amplifier of the second electronic device in the current communication scenario, and the second difference being used to characterize: the power consumption difference between the radio frequency module of the first electronic device other than the power amplifier and the radio frequency module of the second electronic device other than the power amplifier in the current communication scenario;
[0056] The communication power consumption is determined based on the reference power consumption and the power consumption deviation.
[0057] In some embodiments, the physical channel parameters include: the proportion of multiple physical channels and the power consumption of the radio frequency module, wherein the radio frequency module includes a modem and a transceiver;
[0058] The second determining module is also used for:
[0059] Determine the power consumption of the radio frequency module corresponding to each physical channel among multiple physical channels;
[0060] Obtain communication log information, and determine the proportion corresponding to each physical channel based on the communication log information.
[0061] In some embodiments, the third determining module is further configured to:
[0062] The communication power consumption is determined based on the proportion of multiple physical channels and the power consumption of the radio frequency module.
[0063] According to a third aspect of the present disclosure, an electronic device is provided, comprising:
[0064] processor;
[0065] Memory used to store the processor's executable instructions;
[0066] The processor is configured to execute the communication power consumption determination method as described in any of the preceding items.
[0067] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, which, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform the communication power consumption determination method as described in any of the preceding claims.
[0068] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: Using the method of this disclosure, corresponding power consumption parameters can be determined according to different communication types in different communication scenarios. This allows for the quantitative determination of communication power consumption based on the power consumption parameters, thereby facilitating comparative evaluation between different electronic devices.
[0069] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0070] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0071] Figure 1 This is a flowchart illustrating a method according to an exemplary embodiment.
[0072] Figure 2 This is a flowchart illustrating a method according to an exemplary embodiment.
[0073] Figure 3 This is a flowchart illustrating a method according to an exemplary embodiment.
[0074] Figure 4 This is a flowchart illustrating a method according to an exemplary embodiment.
[0075] Figure 5 This is a schematic diagram of a radio frequency module according to an exemplary embodiment.
[0076] Figure 6 This is a schematic diagram illustrating the transmit power test of an RF module according to an exemplary embodiment.
[0077] Figure 7 This is a schematic diagram illustrating configuration information according to an exemplary embodiment.
[0078] Figure 8 This refers to the proportion of communication frequency bands used by operators in voice communication scenarios in this embodiment of the disclosure.
[0079] Figure 9 This is a schematic diagram showing the relationship between transmit power and transmit power ratio in a preset frequency band in an embodiment of this disclosure.
[0080] Figure 10 This is a schematic diagram showing the relationship between transmit power and transmit power ratio in a preset frequency band in an embodiment of this disclosure.
[0081] Figure 11 This is a schematic diagram of communication log information according to an exemplary embodiment.
[0082] Figure 12 This is a block diagram of an apparatus according to an exemplary embodiment.
[0083] Figure 13 This is a block diagram of an electronic device according to an exemplary embodiment. Detailed Implementation
[0084] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0085] To reduce communication power consumption, it is necessary to first determine the current communication power consumption of the electronic device. Related technologies face at least the following two technical challenges:
[0086] First, for finished electronic devices, only the impact of different communication scenarios on communication power consumption can be qualitatively analyzed, and quantitative results on communication power consumption cannot be obtained.
[0087] Second, for electronic devices awaiting shipment, there is still a lack of effective methods for predicting communication power consumption during the testing process.
[0088] This disclosure proposes a method for determining communication power consumption, applied to a first electronic device. The method includes: determining the communication type of the current communication scenario; determining corresponding power consumption parameters based on the communication type; wherein the power consumption parameters include: physical channel parameters, transmit power parameters, or reference power consumption of a second electronic device; and determining the communication power consumption in the current communication scenario based on the power consumption parameters. Using this method, corresponding power consumption parameters can be determined according to different communication types in the communication scenario. This allows for the quantitative determination of communication power consumption based on the power consumption parameters, facilitating comparative evaluation between different electronic devices.
[0089] In one exemplary embodiment, the method for determining communication power consumption is applied to a first electronic device. The first electronic device may be a user equipment (UE) such as a mobile phone, tablet computer, laptop computer, or smart wearable device.
[0090] like Figure 1 As shown, the method in this embodiment may include the following steps:
[0091] S110. Determine the communication type of the current communication scenario.
[0092] S120. Determine the corresponding power consumption parameters according to the communication type.
[0093] S130. Determine the communication power consumption in the current communication scenario based on the power consumption parameters.
[0094] In step S110, the communication scenarios may include, for example, voice call scenarios and data transmission scenarios. Voice call scenarios may include 3G calls, HD calls, or Voice over Long-Term Evolution (VoLTE) calls, WeChat voice calls, QQ voice calls, or Lark voice calls, etc. Data transmission scenarios may include browsing Weibo, news, short videos, or online video playback, etc.
[0095] Communication types can be categorized based on the characteristics of data transmission in different communication scenarios. For example, based on the continuity of the data transmission process, communication types can include continuous data transmission and discontinuous data transmission. Furthermore, based on the interaction with the base station, communication types can include uplink communication (electronic devices sending data to the base station) or downlink communication (electronic devices receiving data sent by the base station).
[0096] In this embodiment, the communication types include continuous data and non-continuous data as examples.
[0097] In continuous data communication scenarios, data is constantly being sent and received with minimal interruptions; for example, voice calls are a type of continuous data communication. In discontinuous data communication scenarios, the intervals between sending and receiving data are longer; for example, data transmission scenarios are a type of discontinuous data communication.
[0098] In step S120, the determined power consumption parameters can differ depending on the communication type. In this step, there are three types of power consumption parameters: physical channel parameters, transmit power parameters, or the reference power consumption of the second electronic device. Different communication types can correspond to one of these communication scenarios.
[0099] In this step, the power consumption parameters may differ depending on the product form of the first electronic device. For example, if the first electronic device is a product awaiting shipment, the power consumption parameter will be either the physical channel parameter or the reference power consumption of the second electronic device. If the first electronic device is a product already shipped, the power consumption parameter can be one of the physical channel parameter, the transmit power parameter, and the reference power consumption of the second electronic device.
[0100] In step S130, the first electronic device can determine the corresponding communication power consumption based on the power consumption parameters corresponding to the communication type.
[0101] In one exemplary embodiment, step S120 may include the following two examples:
[0102] In one example, step S120 includes:
[0103] S1201. In response to the communication type being data continuous, determine the product status of the first electronic device. In this step, when the communication type is data continuous, it is necessary to determine the product status of the first electronic device. Based on the different product statuses of the first electronic device, the corresponding power consumption parameter is either the transmit power parameter or the reference power consumption of the second device.
[0104] S1202. Based on the product status, determine the transmission power parameter, or determine the reference power consumption of the second electronic device. In this step, if the product status of the first electronic device is a product awaiting shipment, the corresponding power consumption parameter is the reference power consumption of the second device, and the first electronic device needs to determine the reference power consumption. If the first electronic device is a product already shipped, the corresponding power consumption parameter is the transmission power parameter, and the first electronic device needs to determine the transmission power parameter.
[0105] In another example, step S120 includes: determining physical channel parameters in response to the communication type being data discontinuous.
[0106] In this example, the communication type is discontinuous data communication, and the corresponding power consumption parameter is the physical channel parameter. Therefore, this example requires determining the physical channel parameter corresponding to the first electronic device. In this example, the power consumption parameter is the same regardless of the product state of the first electronic device; it is the physical channel parameter. However, the method of obtaining the physical channel parameter differs, as can be seen in the following embodiments.
[0107] The physical channel parameters can include multiple network parameters related to physical channels. For example, multiple physical channels include: Physical Downlink Control Channel (PDCCH), Physical Uplink Control Channel (PUCCH), Physical Uplink Shared Channel (PUSCH), Physical Downlink Shared Channel (PDSCH), Connected Discontinuous Reception (CDRX), and Idle State (IDLE), etc.
[0108] To further describe the contents of this disclosure, three embodiments will be described below.
[0109] In the first exemplary embodiment, the communication type of the current communication scenario is: continuous data, for example, the current communication scenario is a voice communication scenario.
[0110] like Figure 2 As shown, the method in this embodiment includes the following steps:
[0111] S210. Determine the communication type of the current communication scenario.
[0112] S220, in response to the communication type being data continuous and the product status of the first electronic device being a manufactured product, determine the transmit power parameters.
[0113] S230. Determine the communication power consumption in the current communication scenario based on the transmission power parameters.
[0114] The implementation method of step S210 can be referred to step S110 above, and will not be repeated here.
[0115] In step S220, the transmit power parameters include: the percentage of different transmit powers and the power consumption of the radio frequency module under the preset frequency band of the current communication scenario.
[0116] This step S220 may include the following steps: determining the proportion of each transmission power and the power consumption of the radio frequency module among multiple transmission powers in the current communication scenario.
[0117] In this embodiment, combined with Figure 5 As shown, the radio frequency (RF) modules in the first electronic device include: a modem, a transceiver, a power amplifier (PA), and a low-noise amplifier (LNA). The RF modules involved in the uplink communication link include: a modem, a transceiver, and a power amplifier; the RF modules involved in the downlink communication link include: a modem, a transceiver, and a low-noise amplifier.
[0118] Understandably, radio frequency modules such as low-noise amplifiers, duplexers, filters, and antenna switch modules (ASM) have low power consumption, so this embodiment ignores such radio frequency modules when estimating communication power consumption.
[0119] In voice communication scenarios, power consumption primarily involves three radio frequency modules: the modem, the transceiver, and the power amplifier (PA). Combined with... Figure 6 As shown, the power consumption of the PA has a significant impact on the communication power consumption of the electronic device, while the power consumption of the other two modules has a smaller impact. Therefore, in this step, the power consumption of the RF module involved in the transmit power parameter adopts the power consumption corresponding to the power amplifier.
[0120] like Figure 6The results show the power consumption (current) of the modem, transceiver, and power amplifier (PA) of the same electronic device (taking a mobile phone as an example) at different transmit powers under the same communication scenario, as measured by a comprehensive tester. It also shows the power consumption (current) of the modem, transceiver, and PA of different electronic devices at the same transmit power under the same communication scenario, as measured by a comprehensive tester. Furthermore, it shows the power consumption (current) of the modem, transceiver, and PA of the same electronic device at different transmit powers under different communication scenarios, and the power consumption (current) of the modem, transceiver, and PA of different electronic devices at the same transmit power under different communication scenarios.
[0121] Depend on Figure 6 It is known that different RF modules have varying impacts on communication power consumption at different transmit powers. The power amplifier (PA) has the greatest impact on communication power consumption, while the power consumption of the modem and transceiver changes relatively little and can be ignored. The transmit power of the modem and transceiver (excluding the PA) is denoted as Minpower.
[0122] In this step, the first electronic device can acquire the test results from the comprehensive test instrument to determine the PA power consumption corresponding to each transmit power. The method for determining the percentage corresponding to each transmit power may include the following steps:
[0123] S2201. Obtain configuration information. In this step, the configuration information includes the mapping relationship between the transmit power range and the transmit power percentage under the preset frequency band of the current communication scenario. The configuration information can be predetermined and stored in the electronic device.
[0124] Electronic devices can store corresponding configuration information for different operators, different frequency bands, and different communication scenarios.
[0125] In one example, the configuration information for a WeChat voice call scenario is as follows: Figure 7 As shown. Figure 7 The configuration information is obtained in the WeChat voice scenario under the B3 frequency band of China Unicom (CU).
[0126] In this example, the first interval corresponds to the transmit power range less than 0 dBm; the second interval corresponds to [0 dBm, 5 dBm]; the third interval corresponds to (5 dBm, 10 dBm); the fourth interval corresponds to [10 dBm, 15 dBm]; the fifth interval corresponds to (15 dBm, 20 dBm]; Max_Power corresponds to the power range when the uplink transmit power (UL power) is greater than 20 dBm, for example, (20 dBm, 24 dBm). Minpower corresponds to the transmit power of the modem and transceiver (RF modules other than the PA, in which case the PA can be in standby mode).
[0127] S2202. Determine the percentage corresponding to each transmission power based on the configuration information. In this step, the first electronic device can query the configuration information to obtain the percentage corresponding to each transmission power.
[0128] In other embodiments of this disclosure, a method for determining configuration information may also be included. The determined configuration information is then stored for later use.
[0129] In determining the configuration information, data statistics can be used as a reference.
[0130] Taking voice communication scenarios as an example, this study statistically analyzes the proportion of different communication frequency bands used by the three major telecom operators in voice communication scenarios. For example, Figure 8 By analyzing the frequency band distribution for China Mobile (CMCC) in voice communication scenarios, we can also obtain information on the frequency band distributions of the other two operators. Combining the frequency band distributions of the three major operators in voice communication scenarios, we can see that the highest-distribution frequency bands include B3, B40, B41, N41, and N78. Based on these highest-distribution frequency bands, we can further analyze the distribution of different transmission powers of electronic devices in voice communication scenarios, and from this distribution, we can determine the corresponding percentage for each transmission power.
[0131] In voice communication scenarios, big data analysis is performed on the communication frequency bands with the highest frequency share to obtain the relationship between different transmission powers of electronic devices (or power amplifiers) and their transmission power percentages. For example... Figure 9 This shows the relationship between transmit power (x-axis) and transmit power percentage (y-axis) in voice communication scenarios within the B3 band. Figure 10 This represents the relationship between transmit power (horizontal axis) and transmit power percentage (vertical axis) in voice communication scenarios within the N41 band.
[0132] according to Figure 9 and Figure 10 The statistical results can be used to analyze the transmit power under a given communication scenario and frequency band. Figure 7 The example involves dividing the power range into intervals. The percentage of each transmit power within each interval is then summed to determine the percentage for that interval. This process establishes a correspondence between multiple power intervals and their percentages, thus defining the configuration information for that communication frequency band in that communication scenario.
[0133] In step S230, the communication power consumption P in the current communication scenario satisfies: P = ∑I n *B n %, where n represents the transmit power number; I n This represents the power consumption of the RF module corresponding to the transmit power numbered n; in this embodiment, it represents the power consumption of PA. n% represents the percentage of the transmission power corresponding to number n.
[0134] After determining the proportion of each transmit power and the power consumption of the radio frequency module, the first electronic device can call the above algorithm to determine the communication power consumption.
[0135] For example, when the current communication scenario is a voice call, the communication power consumption P1 is:
[0136] P1=I1*B1%+I2*B2%+I3*B3%+I4*B4%+I5*B5%+I6*B6%+I7*B7%
[0137] The transmission powers are PA1, PA2, PA3, PA4, PA5, PA6 and PA7.
[0138] I1 represents the power consumption of the power amplifier corresponding to PA1, I2 represents the power consumption of the power amplifier corresponding to PA2, I3 represents the power consumption of the power amplifier corresponding to PA3, I4 represents the power consumption of the power amplifier corresponding to PA4, I5 represents the power consumption of the power amplifier corresponding to PA5, I6 represents the power consumption of the power amplifier corresponding to PA6, and I7 represents the power consumption of the power amplifier corresponding to PA7. I1 to I7 can be determined from the results of the comprehensive testing instrument used in the first electronic device.
[0139] B1% represents the percentage corresponding to PA1, B2% represents the percentage corresponding to PA2, B3% represents the percentage corresponding to PA3, B4% represents the percentage corresponding to PA4, B5% represents the percentage corresponding to PA5, B6% represents the percentage corresponding to PA6, and B7% represents the percentage corresponding to PA7. The first electronic device can find B1 to B7 in its configuration information.
[0140] Where PA6 represents Max_Power, corresponding to a transmit power greater than a threshold (e.g., ...). Figure 7 The example shows the power range with a threshold of 20 dBm. PA7 represents the minpower, corresponding to the transmit power of the modem and transceiver (RF modules other than PA, in which case PA can be in standby mode). Minpower always exists during communication, and its corresponding B7% is denoted as 100%.
[0141] This embodiment of the disclosure is applicable to estimating the communication power consumption of manufactured electronic devices. The manufactured first electronic device can quantitatively determine its own communication power consumption based on the transmit power parameters. Furthermore, in this embodiment, the impact of different radio frequency modules on communication power consumption can be learned during the estimation process, refining the communication power consumption determination process.
[0142] In the second exemplary embodiment, the communication type of the current communication scenario is: continuous data, for example, the current communication scenario is a voice communication scenario.
[0143] like Figure 3 As shown, the method in this embodiment includes the following steps:
[0144] S310. Determine the communication type of the current communication scenario.
[0145] S320. In response to the communication type being data continuous and the product status of the first electronic device being a product awaiting shipment, the reference power consumption of the second electronic device is determined.
[0146] S330. Determine the communication power consumption in the current communication scenario based on the reference power consumption.
[0147] The implementation method of step S310 can be referred to step S110 above, and will not be repeated here.
[0148] In step S320, the first electronic device determines the reference power consumption of the second electronic device in the following way:
[0149] In one example, step S320 includes: S3201, obtaining the reference power consumption sent by the second electronic device.
[0150] In this example, the reference power consumption is determined by the second electronic device based on the proportion of multiple transmit powers and the power consumption of the RF module under the preset frequency band of the current communication scenario. The second electronic device is a pre-installed electronic device, and its power amplifier power consumption at different transmit powers can be obtained by combining the measurement results of a comprehensive test instrument, thereby calculating and determining the reference power consumption. The method by which the second electronic device determines the reference power consumption can be found in steps S210 to S230 of the above embodiment.
[0151] The first electronic device can actively obtain the reference power consumption of the second electronic device based on its communication connection with the second electronic device.
[0152] In another example, the second electronic device can send its own transmit power consumption and percentage parameters to the first electronic device. The first electronic device then uses this parameter to calculate a reference power consumption using its own algorithm.
[0153] In step S330, the reference power consumption in step S320 is denoted as P0.
[0154] In this embodiment, the power consumption parameter further includes: power consumption deviation. This step S330 may include the following steps:
[0155] S3301. Determine the power consumption deviation with the second electronic device. In this step, the power consumption deviation includes: a first difference (δIa) and a second difference (δIb). The first difference is used to characterize: the power consumption difference between the power amplifier of the first electronic device and the power amplifier of the second electronic device in the current communication scenario. The second difference is used to characterize: the power consumption difference between the RF module of the first electronic device other than the power amplifier and the RF module of the second electronic device other than the power amplifier in the current communication scenario.
[0156] In obtaining the first difference: The power consumption of the supplier's sample PA chip can be determined by testing it with a comprehensive tester under the current communication scenario and preset frequency band. The PA chip has the same structural specifications as the power amplifier inside the first electronic device; therefore, the power consumption of the supplier's sample PA chip is used to represent the power consumption of the first electronic device's power amplifier. Then, the power consumption of the second electronic device's power amplifier under the same conditions is determined using the comprehensive tester. The difference between the two is calculated and recorded as the first difference. The second difference can be determined using the same method as the first difference.
[0157] S3302. Determine the communication power consumption based on the reference power consumption and power consumption deviation. In this step, the communication power consumption P2 satisfies:
[0158] P2 = P0 + δIa + δIb.
[0159] In this embodiment, the method is applicable to estimating the communication power consumption of an electronic device awaiting shipment. The first electronic device can be the device awaiting shipment, while the second electronic device serves as a reference device already shipped. Under the same communication scenario, the first electronic device quantitatively determines its own communication power consumption based on the reference power consumption of the second electronic device and a determined power consumption deviation.
[0160] In the third exemplary embodiment, the communication type of the current communication scenario is: discontinuous data type, for example, the current communication scenario is a data transmission scenario.
[0161] like Figure 4 As shown, the method in this embodiment includes the following steps:
[0162] S410. Determine the communication type of the current communication scenario.
[0163] S420. In response to the communication type being data discontinuous, determine the physical channel parameters.
[0164] S430. Determine the communication power consumption in the current communication scenario based on the physical channel parameters.
[0165] The implementation method of step S410 is the same as that of step S110, and will not be repeated here.
[0166] In step S420, the physical channel parameters include: network parameters related to multiple physical channels, such as the proportion of each physical channel and the power consumption of the RF module. This step may include the following steps:
[0167] S4201. Determine the power consumption of the RF module corresponding to each of the multiple physical channels. In this step, the multiple physical channels include, for example: PDCCH, PUCCH, CDRX, IDLE, PUSCH, and PDSCH.
[0168] For finished electronic devices, the manufacturers of their baseband processor platforms can provide power consumption (current values) of the RF modules for different physical channels under various communication scenarios. For electronic devices awaiting shipment, the power consumption of the RF modules for different physical channels can be measured using a comprehensive tester. The power consumption of the RF modules is based on the power consumption of the modem and transceiver.
[0169] Understandably, for communication scenarios with discontinuous data transmission, the main concern is downlink communication power consumption (primarily receiving data from the base station). Therefore, the radio frequency modules involved in this scenario are mainly the modem and transceiver, without the power amplifier (PA) (uplink communication device). The power consumption of the LNA is relatively small and can be ignored.
[0170] S4202. Obtain communication log information and determine the proportion of each physical channel based on the communication log information. In this step, the communication log information (MODEM Log) records the proportion of different physical channels in the corresponding communication scenario. The first electronic device can determine the proportion of each physical channel by capturing the corresponding communication log information in the current communication scenario.
[0171] For example, combining Figure 10 As shown, in the scenario of sending and receiving messages on WeChat, the proportions of each physical channel recorded in the communication log information are as follows: PDSCH accounts for T1%, PUSCH accounts for T2%, PDCCH accounts for T3%, PUCCH accounts for T4%, CDRX accounts for T5%, and IDLE accounts for T6%. Among them, the proportion of the uplink reference signal SRS is merged into the proportion of PUSCH.
[0172] In step S330, in conjunction with step S320, the first electronic device determines the communication power consumption P' based on the proportion of multiple physical channels and the power consumption of the radio frequency module.
[0173] The communication power consumption P' satisfies: P'=∑△I m *T m %, where m corresponds to the physical channel number; △I mThis represents the power consumption of the radio frequency module corresponding to the physical channel numbered m; in this embodiment, it represents the power consumption of the modem and transceiver. T m % represents the percentage corresponding to physical channel number m.
[0174] Taking the current communication scenario of sending and receiving WeChat messages as an example, the communication power consumption P3 is:
[0175] P3=△I1*T1%+△I2*T2%+△I3*T3%+△I4*T4%+△I5*T5%+△I6*T6%
[0176] Wherein, △I1 represents the power consumption of the RF module corresponding to PDSCH, △I2 represents the power consumption of the RF module corresponding to PUSCH, △I3 represents the power consumption of the RF module corresponding to PDCCH, △I4 represents the power consumption of the RF module corresponding to PUCCH, △I5 represents the power consumption of the RF module corresponding to CDRX, and △I6 represents the power consumption of the RF module corresponding to IDLE.
[0177] T1% represents the percentage corresponding to PDSCH, T2% represents the percentage corresponding to PUSCH, T3% represents the percentage corresponding to PDCCH, T4% represents the percentage corresponding to PUCCH, T5% represents the percentage corresponding to CDRX, and T6% represents the percentage corresponding to IDLE.
[0178] In this embodiment, both the communication power consumption of the electronic device to be shipped and the communication power consumption of the electronic device already shipped can be estimated. The first electronic device quantitatively determines the communication power consumption in a weighted manner based on the power consumption and proportion of different physical channels in the current communication scenario.
[0179] In one exemplary embodiment, this disclosure also proposes a communication power consumption determination device applied to a first electronic device. For example... Figure 12 As shown, the apparatus of this embodiment includes: a first determining module 110, a second determining module 120, and a third determining module 130. The apparatus of this embodiment is used to implement... Figure 1 The method is illustrated. The first determining module 110 is used to determine the communication type of the current communication scenario. The second determining module 120 is used to determine the corresponding power consumption parameters based on the communication type; wherein the power consumption parameters include: physical channel parameters, transmit power parameters, or the reference power consumption of the second electronic device. The third determining module 130 is used to determine the communication power consumption in the current communication scenario based on the power consumption parameters.
[0180] In one exemplary embodiment, the communication types include: continuous data and discontinuous data. Referring again... Figure 11In this embodiment, the second determining module 120 is used to: determine the product status of the first electronic device in response to the communication type being data continuous; wherein the product status includes products awaiting shipment or products already shipped; and determine the transmission power parameters or the reference power consumption of the second electronic device based on the product status. In response to the communication type being data discontinuous, determine the physical channel parameters.
[0181] In an exemplary embodiment, the transmit power parameters include: the percentage of different transmit powers and the power consumption of the radio frequency module under a preset frequency band in the current communication scenario, wherein the radio frequency module includes a power amplifier. (Continuing to refer to...) Figure 12 In this embodiment, the second determining module 120 is used to: determine the proportion of each transmission power and the power consumption of the radio frequency module among multiple transmission powers in the current communication scenario.
[0182] In this embodiment, the second determining module 120 is further configured to: obtain configuration information, the configuration information including: the mapping relationship between the transmission power range and the transmission power ratio under the preset frequency band of the current communication scenario; and determine the ratio corresponding to each transmission power according to the configuration information.
[0183] In this embodiment, the third determining module 130 is used to: determine the communication power consumption based on the proportion of multiple transmit powers and the power consumption of the radio frequency module.
[0184] In one exemplary embodiment, reference is still made to... Figure 12 In this embodiment, the second determining module 120 is further configured to: obtain the reference power consumption transmitted by the second electronic device; wherein the reference power consumption is determined by the second electronic device based on the proportion of multiple transmit powers corresponding to the preset frequency band of the current communication scenario and the power consumption of the radio frequency module.
[0185] In this embodiment, the third determining module 130 is further configured to: determine the communication power consumption in the current communication scenario based on the reference power consumption.
[0186] In this embodiment, the power consumption parameter further includes: power consumption deviation. The third determining module 130 is also used to: determine the power consumption deviation with the second electronic device; wherein, the power consumption deviation includes: a first difference and a second difference, the first difference being used to characterize: the power consumption difference between the power amplifier of the first electronic device and the power amplifier of the second electronic device in the current communication scenario, and the second difference being used to characterize: the power consumption difference between the radio frequency module of the first electronic device other than the power amplifier and the radio frequency module of the second electronic device other than the power amplifier in the current communication scenario; and the communication power consumption is determined based on the reference power consumption and the power consumption deviation.
[0187] In one exemplary embodiment, the physical channel parameters include: the proportion of multiple physical channels and the power consumption of the radio frequency module, which includes a modem and a transceiver. (Continuing to refer to...) Figure 11In this embodiment, the second determining module 120 is further configured to: determine the power consumption of the radio frequency module corresponding to each physical channel among multiple physical channels; obtain communication log information, and determine the proportion corresponding to each physical channel based on the communication log information.
[0188] In this embodiment, the third determining module 130 is further configured to: determine the communication power consumption based on the proportion of multiple physical channels and the power consumption of the radio frequency module.
[0189] like Figure 13 The diagram shown is a block diagram of an electronic device. This disclosure also provides an electronic device, for example, device 500 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
[0190] Device 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input / output (I / O) interface 512, sensor component 514, and communication component 516.
[0191] Processing component 502 typically controls the overall operation of device 500, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 502 may include one or more processors 520 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 502 may include one or more modules to facilitate interaction between processing component 502 and other components. For example, processing component 502 may include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.
[0192] Memory 504 is configured to store various types of data to support the operation of device 500. Examples of this data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, etc. Memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0193] The power supply component 506 provides power to the various components of the device 500. The power supply component 506 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 500.
[0194] Multimedia component 508 includes a screen that provides an output interface between device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 508 includes a front-facing camera and / or a rear-facing camera. When device 500 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0195] Audio component 510 is configured to output and / or input audio signals. For example, audio component 510 includes a microphone (MIC) configured to receive external audio signals when device 500 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 504 or transmitted via communication component 516. In some embodiments, audio component 510 also includes a speaker for outputting audio signals.
[0196] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0197] Sensor assembly 514 includes one or more sensors for providing state assessments of various aspects of device 500. For example, sensor assembly 514 may detect the on / off state of device 500, the relative positioning of components such as the display and keypad of device 500, changes in the position of device 500 or a component of device 500, the presence or absence of user contact with device 500, the orientation or acceleration / deceleration of device 500, and temperature changes of device 500. Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 514 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0198] Communication component 516 is configured to facilitate wired or wireless communication between device 500 and other devices. Device 500 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 516 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 516 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0199] In an exemplary embodiment, device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0200] Another exemplary embodiment of this disclosure provides a non-transitory computer-readable storage medium, such as a memory 504 including instructions that can be executed by a processor 520 of a device 500 to perform the described method. For example, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device. When the instructions in the storage medium are executed by the processor of an electronic device, the electronic device is able to perform the described method.
[0201] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.
[0202] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A method for determining communication power consumption, characterized in that, Applied to a first electronic device, the method includes: Determine the communication type of the current communication scenario, wherein the communication type is classified according to the data transmission characteristics under different communication scenarios; Based on the communication type, the corresponding power consumption parameters are determined; wherein, the power consumption parameters include: physical channel parameters, transmit power parameters, or reference power consumption of the second electronic device; Based on the power consumption parameters, determine the communication power consumption in the current communication scenario; The communication types include: continuous data type and discontinuous data type. Determining the corresponding power consumption parameters based on the communication type includes: In response to the communication type being data continuous, the product status of the first electronic device is determined; wherein, the product status includes products awaiting shipment or products already shipped; Based on the product status, determine the transmission power parameters, or determine the reference power consumption of the second electronic device; In response to the communication type being data discontinuous, the physical channel parameters are determined, wherein the physical channel parameters correspond to different product states of the first electronic device.
2. The method according to claim 1, characterized in that, The transmit power parameters include: the percentage of different transmit powers and the power consumption of the radio frequency module under the preset frequency band of the current communication scenario, wherein the radio frequency module includes a power amplifier; Determining the transmit power parameters includes: In the current communication scenario, among the multiple transmit powers, determine the proportion of each transmit power and the power consumption of the radio frequency module.
3. The method according to claim 2, characterized in that, Determining the percentage corresponding to each of the aforementioned transmission powers includes: Obtain configuration information, which includes: the mapping relationship between the transmit power range and the transmit power ratio under the preset frequency band of the current communication scenario; Based on the configuration information, determine the percentage corresponding to each of the transmission powers.
4. The method according to claim 2, characterized in that, Determining the communication power consumption in the current communication scenario based on the power consumption parameters includes: The communication power consumption is determined based on the proportion of the various transmit powers and the power consumption of the radio frequency module.
5. The method according to claim 1, characterized in that, Determining the reference power consumption of the second electronic device includes: The reference power consumption transmitted by the second electronic device is obtained; wherein the reference power consumption is determined by the second electronic device based on the proportion of multiple transmit powers and the power consumption of the radio frequency module under the preset frequency band of the current communication scenario.
6. The method according to claim 5, characterized in that, Determining the communication power consumption in the current communication scenario based on the power consumption parameters includes: Based on the reference power consumption, the communication power consumption in the current communication scenario is determined.
7. The method according to claim 6, characterized in that, The power consumption parameter further includes: power consumption deviation, wherein determining the communication power consumption in the current communication scenario based on the reference power consumption includes: Determine the power consumption deviation with the second electronic device; wherein the power consumption deviation includes: a first difference and a second difference, the first difference being used to characterize: the power consumption difference between the power amplifier of the first electronic device and the power amplifier of the second electronic device in the current communication scenario, and the second difference being used to characterize: the power consumption difference between the radio frequency module of the first electronic device other than the power amplifier and the radio frequency module of the second electronic device other than the power amplifier in the current communication scenario; The communication power consumption is determined based on the reference power consumption and the power consumption deviation.
8. The method according to claim 1, characterized in that, The physical channel parameters include: the proportion of multiple physical channels and the power consumption of the radio frequency module, wherein the radio frequency module includes a modem and a transceiver. Determining the physical channel parameters includes: Determine the power consumption of the radio frequency module corresponding to each physical channel among multiple physical channels; Obtain communication log information, and determine the proportion corresponding to each physical channel based on the communication log information.
9. The method according to claim 8, characterized in that, Determining the communication power consumption in the current communication scenario based on the power consumption parameters includes: The communication power consumption is determined based on the proportion of multiple physical channels and the power consumption of the radio frequency module.
10. A communication power consumption determination device, characterized in that, Applied to a first electronic device, the device includes: The first determining module is used to determine the communication type of the current communication scenario, wherein the communication type is classified according to the data transmission characteristics under different communication scenarios; The second determining module is used to determine the corresponding power consumption parameters according to the communication type; wherein, the power consumption parameters include: physical channel parameters, transmit power parameters, or reference power consumption of the second electronic device; The third determining module is used to determine the communication power consumption in the current communication scenario based on the power consumption parameters. The communication types include: continuous data and discontinuous data, and the second determining module is used for: In response to the communication type being data continuous, the product status of the first electronic device is determined; wherein, the product status includes products awaiting shipment or products already shipped; Based on the product status, determine the transmission power parameters, or determine the reference power consumption of the second electronic device; In response to the communication type being data discontinuous, the physical channel parameters are determined, wherein the physical channel parameters correspond to different product states of the first electronic device.
11. The apparatus according to claim 10, characterized in that, The transmit power parameters include: the percentage of different transmit powers and the power consumption of the radio frequency module under the preset frequency band of the current communication scenario, wherein the radio frequency module includes a power amplifier; The second determining module is also used for: In the current communication scenario, among the multiple transmit powers, determine the proportion of each transmit power and the power consumption of the radio frequency module.
12. The apparatus according to claim 11, characterized in that, The second determining module is also used for: Obtain configuration information, which includes: the mapping relationship between the transmit power range and the transmit power ratio under the preset frequency band of the current communication scenario; Based on the configuration information, determine the percentage corresponding to each of the transmission powers.
13. The apparatus according to claim 11, characterized in that, The third determining module is used for: The communication power consumption is determined based on the proportion of the various transmit powers and the power consumption of the radio frequency module.
14. The apparatus according to claim 10, characterized in that, The second determining module is also used for: The reference power consumption transmitted by the second electronic device is obtained; wherein the reference power consumption is determined by the second electronic device based on the proportion of multiple transmit powers and the power consumption of the radio frequency module under the preset frequency band of the current communication scenario.
15. The apparatus according to claim 14, characterized in that, The third determining module is also used for: Based on the reference power consumption, the communication power consumption in the current communication scenario is determined.
16. The apparatus according to claim 15, characterized in that, The power consumption parameter further includes: power consumption deviation, and the third determining module is further used for: Determine the power consumption deviation with the second electronic device; wherein the power consumption deviation includes: a first difference and a second difference, the first difference being used to characterize: the power consumption difference between the power amplifier of the first electronic device and the power amplifier of the second electronic device in the current communication scenario, and the second difference being used to characterize: the power consumption difference between the radio frequency module of the first electronic device other than the power amplifier and the radio frequency module of the second electronic device other than the power amplifier in the current communication scenario; The communication power consumption is determined based on the reference power consumption and the power consumption deviation.
17. The apparatus according to claim 10, characterized in that, The physical channel parameters include: the proportion of multiple physical channels and the power consumption of the radio frequency module; The second determining module is also used for: Determine the power consumption of the radio frequency module corresponding to each physical channel among multiple physical channels; Obtain communication log information, and determine the proportion corresponding to each physical channel based on the communication log information.
18. The apparatus according to claim 17, characterized in that, The third determining module is also used for: The communication power consumption is determined based on the proportion of multiple physical channels and the power consumption of the radio frequency module.
19. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to perform the communication power consumption determination method as described in any one of claims 1 to 9.
20. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the communication power consumption determination method as described in any one of claims 1 to 9.