A power consumption test method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202211475564.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-23
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2042-11-23
AI Technical Summary
但是上述方式对测试人员经验要求高,测量精确度有限,易出现较大误差
[0017] The actual power consumption parameters are matched according to the pre-stored target power consumption model to obtain the start and end time intervals for each of the various communication modes included in the test process, including:
Smart Images

Figure CN116908566B_ABST
Abstract
Description
[Technical Field]
[0001] This application relates to the field of terminal technology, and in particular to a power consumption testing method, apparatus, electronic device, and storage medium. [Background Technology]
[0002] With the advancement of modern technology, mobile phones, tablets, and other terminal devices need to adapt to increasingly complex scenarios, and the increasingly complex network communication services also pose new requirements for power consumption optimization of terminal devices. Accurately measuring the power consumption of terminals in different communication states has become a key step in optimizing power loss.
[0003] In existing technologies, the time interval of a certain communication state is often determined manually, and then a high-precision power meter is used to measure the change in power consumption parameters of the terminal under test under the operating voltage of the terminal in the aforementioned communication state. The power consumption of the terminal is then measured by the measurement result of these power consumption parameters. However, the above method requires a high level of experience from the tester, has limited measurement accuracy, and is prone to large errors. [Summary of the Invention]
[0004] This application provides a power consumption testing method, apparatus, electronic device, and storage medium, which can more accurately identify the start and end time intervals corresponding to different communication modes of the terminal under test, thereby improving the measurement accuracy of power consumption parameters corresponding to each communication mode.
[0005] Firstly, this application provides a power consumption testing method, the method comprising:
[0006] Obtain test results of the actual power consumption parameter changes of the terminal under test during the test process;
[0007] The actual power consumption parameters are matched with the pre-stored target power consumption model to obtain the start and end time intervals and actual power consumption parameters for each of the multiple communication modes included in the test process. The target power consumption model is used to characterize the power consumption parameter change trend of a typical terminal in the multiple communication modes.
[0008] Output the actual power consumption parameters for each of the start and end time intervals.
[0009] In this embodiment, the target power consumption model can be considered to have learned the power consumption parameter variation trends of multiple communication modes. Therefore, given the actual power consumption parameters of the terminal under test during the testing process, the actual power consumption parameters can be matched against the target power consumption model to identify the accurate start and end time intervals for different communication modes and obtain the power consumption parameter results corresponding to each communication mode. Compared with existing technologies, this application can more accurately and automatically match the start and end time intervals corresponding to each communication mode, thereby improving the accuracy of measuring power consumption parameters under different communication states.
[0010] Optionally, before matching the actual power consumption parameters according to the pre-stored target power consumption model to obtain the start and end time intervals corresponding to each of the multiple communication modes included in the test process, the method further includes:
[0011] The power consumption parameter changes of the typical terminal in each of the multiple communication modes are obtained;
[0012] The change in the power consumption parameter is fitted to obtain the target power consumption model.
[0013] In this embodiment of the application, before testing the terminal under test, the power consumption parameter changes of a typical terminal under different communication modes can be obtained first, and the power consumption parameter changes can be fitted. In other words, it can be considered that the power consumption parameter change trends of multiple communication modes have been learned well, thereby obtaining a more accurate target power consumption model.
[0014] By extracting features and fitting trends of power consumption parameters for each communication mode of a typical terminal under various communication modes, the target power consumption model is obtained. This allows for the adjustment of the target power consumption model for different tests by only changing a few parameters. Furthermore, this target power consumption model can be deeply trained using machine learning algorithms to continuously improve the accuracy of model matching. Compared to existing technologies, this method offers faster testing speeds in large-scale batch terminal power consumption tests and can accurately determine the power consumption parameters for each communication mode, facilitating subsequent individual optimization adjustments for that communication mode. The target power consumption model can also be further improved in terms of envelope feature matching through continuous optimization of the learning algorithm.
[0015] Optionally, after fitting the changes in the power consumption parameters to obtain the target power consumption model, the method further includes:
[0016] The target power consumption model is adjusted based on the service characteristic parameters and network characteristic parameters corresponding to the test process to obtain the adjusted target power consumption model.
[0017] The actual power consumption parameters are matched according to the pre-stored target power consumption model to obtain the start and end time intervals for each of the various communication modes included in the test process, including:
[0018] The actual power consumption parameters are matched based on the adjusted target power consumption model to obtain the start and end time intervals for each of the multiple communication modes included in the test process.
[0019] In this embodiment, the target power consumption model is adjusted using service characteristic parameters and network characteristic parameters related to the testing process. It can be assumed that the adjusted target power consumption model can better learn the changing characteristics of power consumption parameters corresponding to different communication states. Therefore, by using the adjusted target power consumption model to match the actual power consumption changes during the testing process, the start and end time intervals corresponding to each communication mode can be identified more accurately.
[0020] Optionally, the target power consumption model is used to characterize the average current range, current fluctuation range, and current change trend corresponding to each communication mode.
[0021] In this embodiment of the application, the target power consumption model can be considered to learn the power consumption parameter variation characteristics of each communication mode from three dimensions: average current range, current fluctuation range, and current change trend, so as to more accurately identify the start and end time intervals of each communication mode.
[0022] Optionally, the actual power consumption parameters include the maximum current, minimum current, average current, and current variation trend.
[0023] In this embodiment, the output actual power consumption parameters can be considered to include the maximum current value, minimum current value, average current value, and current change trend, so that testers can comprehensively evaluate the power consumption status of the terminal under test from different perspectives.
[0024] Optionally, the network characteristic parameters include discontinuous reception period (DRX), extended discontinuous reception period (eDRX), TAU timer, PSM activation timer, and RRC inactivation timer.
[0025] In this embodiment, the characteristics of different communication modes during the current test are reflected from a network-side perspective by using discontinuous reception period (DRX), extended discontinuous reception period (eDRX), TAU timer, PSM activation timer, and RRC inactivation timer, so that the target power consumption model can be adjusted accordingly.
[0026] Optionally, the service characteristic parameters include the switching order of the various communication states, the ping packet interval, and the time interval between different communication states.
[0027] In this embodiment, the characteristics of different communication modes during the current test are reflected from a service-oriented perspective by the switching order of various communication states, ping packet intervals, and time intervals between different communication states, so as to enable targeted adjustments to the target power consumption model.
[0028] Secondly, embodiments of this application provide a power consumption testing device, the power consumption testing device comprising:
[0029] The acquisition unit is used to acquire the test results of the actual power consumption parameter changes of the terminal under test during the test.
[0030] The matching unit is used to match the actual power consumption parameters according to the pre-stored target power consumption model to obtain the start and end time intervals and actual power consumption parameters corresponding to each of the multiple communication modes included in the test process. The target power consumption model is used to characterize the power consumption parameter change trend of a typical terminal in the multiple communication modes.
[0031] The output unit is used to output the actual power consumption parameters within each of the start and end time intervals.
[0032] Optionally, the acquisition unit is further configured to:
[0033] The power consumption parameter changes of the typical terminal in each of the multiple communication modes are obtained;
[0034] The device further includes:
[0035] A fitting unit is used to fit the changes in the power consumption parameters to obtain the target power consumption model.
[0036] Optionally, the device further includes:
[0037] The adjustment unit is used to adjust the target power consumption model based on the service characteristic parameters and network characteristic parameters corresponding to the test process, so as to obtain the adjusted target power consumption model.
[0038] The matching unit is specifically used for:
[0039] The actual power consumption parameters are matched based on the adjusted target power consumption model to obtain the start and end time intervals for each of the multiple communication modes included in the test process.
[0040] Optionally, the target power consumption model is used to characterize the average current range, current fluctuation range, and current change trend corresponding to each communication mode.
[0041] Optionally, the actual power consumption parameters include the maximum current, minimum current, average current, and current variation trend.
[0042] Optionally, the network characteristic parameters include discontinuous reception period (DRX), extended discontinuous reception period (eDRX), TAU timer, PSM activation timer, and RRC inactivation timer.
[0043] Optionally, the service characteristic parameters include the switching order of the various communication states, the ping packet interval, and the time interval between different communication states.
[0044] Thirdly, embodiments of the present invention provide an electronic device, the electronic device including a processor and a memory, the processor being configured to execute a computer program stored in the memory to implement the steps of the method as described in any embodiment of the first aspect.
[0045] Fourthly, embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method as described in any embodiment of the first aspect.
[0046] It should be understood that the second to fourth aspects of the embodiments of this application are consistent with the technical solutions of the first aspect of the embodiments of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be described again. [Attached Image Description]
[0047] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0048] Figure 1 An architecture diagram of a power consumption testing system provided in this application embodiment;
[0049] Figure 2 A flowchart illustrating a power consumption testing method provided in an embodiment of this application;
[0050] Figure 3 A power consumption parameter variation trend diagram of a terminal under test in a certain communication mode is provided for an embodiment of this application;
[0051] Figure 4 This application provides a graph showing the power consumption parameter variation trend of the tested terminal in an idle state.
[0052] Figure 5 This is a schematic diagram of the structure of a power consumption testing device provided in an embodiment of this application;
[0053] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
Detailed Implementation Methods
[0054] To better understand the technical solutions in this specification, the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0055] It should be understood that the described embodiments are merely some, not all, of the embodiments in this specification. All other embodiments obtained by those skilled in the art based on the embodiments in this specification without inventive effort are within the scope of protection of this specification.
[0056] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this specification. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0057] The inventors of this application have discovered that in related technologies, the time interval of a certain communication state is often determined manually, and then a high-precision power meter is used to measure the change in power consumption parameters of the terminal under test at the operating voltage of the terminal under the aforementioned communication state. The power consumption of the terminal is then measured based on the measurement result of these power consumption parameters. However, the above method requires a high level of experience from the tester, has limited measurement accuracy, and is prone to significant errors.
[0058] In view of this, this application provides a power consumption testing method. In this method, the target power consumption model can be considered to have learned the power consumption parameter change trends of multiple communication modes. Then, when the actual power consumption parameters of the terminal under test are obtained during the test, the actual power consumption parameters can be matched based on the target power consumption model to determine the start and end time intervals of each communication mode. The actual power consumption parameters within the start and end time intervals are then output as the power consumption parameters of the corresponding communication mode. Compared with the prior art, this application can automatically match the start and end time intervals corresponding to each communication mode, thereby improving the accuracy of measuring power consumption parameters of different communication states.
[0059] To facilitate understanding, an application scenario of this application embodiment is first introduced. Please refer to... Figure 1 This is an architecture diagram of a power consumption testing system provided in an embodiment of this application. Figure 1 It includes a network service providing device 101, a terminal under test 102, and a power consumption measuring device 103 connected in sequence.
[0060] Network service provider device 101 can be a network simulator or a real operator network device, and the choice can be made according to the actual situation. No special restrictions are imposed here.
[0061] The terminal under test 102 can perform communication testing with the network server under test 101 by executing a test script. This communication testing often includes multiple communication modes. For example, the multiple communication modes could be the terminal under test 102 being in an idle state, receiving a paging message, in a connected state, or in the process of sending data. Of course, the above-mentioned multiple communication modes can also include other communication modes that the terminal under test 102 has, which are not particularly limited here. For example, the terminal under test 102 can be a mobile phone, tablet computer, smart wearable device, etc., and the type of the terminal under test 102 is not particularly limited here.
[0062] The power consumption measurement device 103 is mainly used to measure the overall power consumption parameters of the terminal under test 102 during the communication test service process, and more importantly, to measure the power consumption parameters of each communication mode in the multiple communication modes during the test process.
[0063] The following description, with reference to the accompanying drawings, explains how the power consumption measurement device 103 measures power consumption parameters for each communication mode. Figure 1 Please refer to the scenario shown. Figure 2 This application provides a power consumption testing method applied to a power consumption testing device 103. The process of this method is described as follows:
[0064] Step 201: The power consumption testing device 103 acquires the actual power consumption parameters of the terminal under test 102 during the testing process.
[0065] In this embodiment, during the communication test service interaction between the network server providing device 101 and the terminal under test 102, the terminal under test 102 will generate corresponding actual power consumption parameters based on the different communication modes it experiences. The power consumption testing device 103 can obtain the above-mentioned actual power consumption parameters from the terminal under test 102, so as to serve as a benchmark for subsequent analysis of the power consumption parameters corresponding to each communication mode.
[0066] It should be understood that the type of actual power consumption parameters obtained in the above process depends on the testing mechanism used. The first testing mechanism is: the terminal under test 102 maintains a constant voltage value, and its power consumption can be reflected by the actual power consumption parameter (actual current) output by the terminal under test 102; the second testing mechanism is: the terminal under test 102 maintains a constant current value, and its power consumption can be reflected by the actual power consumption parameter (actual voltage) output by the terminal under test 102.
[0067] Step 202: Match the actual power consumption parameters according to the pre-stored target power consumption model to obtain the start and end time intervals corresponding to each of the multiple communication modes included in the test process.
[0068] Considering that the power consumption parameters of the terminal under test 102 exhibit different trends under each of the various communication modes it experiences during testing, taking the first test mechanism as an example, when the typical terminal is in idle state, the current value range is [a,b], the current fluctuation amplitude is <Ⅰ, and the current change trend is f(α); when the typical terminal is receiving a paging call, the current value range is [c,d], the current is higher than the idle state current by >Ⅱ, and the current change trend is f(β); when the typical terminal is in connected state, the current value range when there is no service transmission is [e,f], the current fluctuation amplitude is <Ⅲ, and the current change trend is f(γ); when the typical terminal is in the data transmission process, the average current value range is [g,h], the current increase from the idle state to the start of data transmission is >Ⅳ, and the current change trend is f(δ).
[0069] For example, see Figure 3 and Figure 4 ,in, Figure 3 This is a power consumption parameter change trend diagram for a typical data packet transmission model. The process is as follows: the terminal's current value suddenly increases during the data packet transmission process, and after the transmission is completed, it maintains a low current state for 23 seconds (the fixed time period of the RRCinactive timer). Subsequently, the terminal returns to the idle state and starts high current to receive paging according to the set paging cycle.
[0070] Figure 4 This is a power consumption parameter change trend diagram of a typical terminal idle paging state model. The process is as follows: according to the DRX paging cycle, a high current is regularly generated to receive paging.
[0071] Depending on the different testing requirements, the type of terminal 102 under test may vary in each test. However, since different terminal types have similar signaling and data transmission processes when executing the same communication mode, their power consumption parameters also have similar trend characteristics, which ensures the accuracy of communication mode identification.
[0072] Therefore, in this embodiment of the application, each communication mode can be effectively distinguished based on the changing trend characteristics of the power consumption parameters corresponding to each type of terminal under test 102 in different communication modes.
[0073] As one possible implementation, the power consumption testing device 103 can be assumed to have a target power consumption model pre-stored. The target power consumption model can be assumed to have learned the power consumption parameter change trend of a typical terminal in multiple communication modes. Then, when the actual power consumption parameters of the terminal under test 102 are obtained during the test, the actual power consumption parameters can be matched based on the target power consumption model. That is, by matching the actual power consumption parameters corresponding to each communication mode, the start and end time intervals corresponding to each communication mode can be determined.
[0074] The following section provides a detailed explanation of how to obtain the target power consumption model.
[0075] First, the power consumption testing device 103 can acquire the power consumption parameter changes of a typical terminal in each of the aforementioned multiple communication modes. Then, by fitting the power consumption parameter changes for each communication mode, a target power consumption model can be obtained. The target power consumption model can be considered to learn the power consumption parameter change characteristics of each communication mode from three dimensions: average current range, current fluctuation range, and current change trend, so as to accurately identify the start and end time intervals of each communication mode.
[0076] For example, power consumption testing devices can use envelope fitting to capture current changes. By taking the current peaks of each high-frequency communication signal and connecting them sequentially, a curve of the corresponding low-frequency modulation signal can be obtained. This curve is the current characteristic envelope required by the target power consumption model. In actual power consumption testing, this method is often used to extract the upper and lower envelopes from the power consumption parameter variation trend of a complex high-frequency signal to determine the relationship between the amplitude and phase of the current curve over time.
[0077] The typical terminal power consumption parameter changes measured by this method have good measurement consistency and high accuracy. The target power consumption model of a typical terminal can be obtained simply by observing the change characteristics of the operating current of the terminal under test. At the same time, there is no need to build a dedicated measurement circuit, and all calculations can be completed automatically by the computer, resulting in a high degree of automation.
[0078] Furthermore, considering that the terminal under test used during the test may differ in model from the typical terminal used when generating the target power consumption model, although their power consumption trends may be similar macroscopically, there are still significant differences in detail. Therefore, it is necessary to make micro-adjustments to the target power consumption model based on the parameter differences of different terminals and test environments, so as to improve the matching degree between the model and the actual power consumption parameters of the terminal under test while retaining its power consumption parameter variation characteristics.
[0079] Therefore, in this embodiment of the application, the target power consumption model obtained above can be further adjusted in combination with the actual situation in the testing process, so as to more accurately identify the start and end time intervals corresponding to each communication mode.
[0080] As one possible implementation, the power consumption testing device 103 can adjust the target power consumption model based on the service characteristic parameters and network characteristic parameters corresponding to the testing process to obtain an adjusted target power consumption model. Then, the adjusted target power consumption model is used to match the actual power consumption parameters, thereby obtaining the start and end time intervals corresponding to each communication mode in multiple communication modes.
[0081] For example, network characteristic parameters N include known network timers and time period parameters such as DRX (Discontinuous Receive Cycle, a mechanism that allows terminal equipment communication units to periodically enter a sleep state to reduce power consumption), eDRX (Extended Discontinuous Receive Cycle, which has a lower paging detection frequency than DRX and can only download data within a set paging window), T3412 (TAU timer, used to record the total time period of IDLE communication state and PSM communication state), T3324 (PSM activation timer, recording the time period of PSM state), and RRC inactive timer (RRC inactive timer, used to record the time from connected state to idle state after data service transmission and reception ends).
[0082] By acquiring these known configuration parameters in the network service providing device 101, the current envelope characteristics of the target power consumption model can be optimized and adjusted according to the changes in the power consumption parameters of the terminal under test. This makes the indicators such as current change trend, current fluctuation range, and average current range more consistent with the actual data, avoiding misidentification or matching errors in the model matching stage during measurement.
[0083] For example, business characteristic parameters include the switching order of the various communication states, ping packet intervals, and time intervals between different communication states (such as power-on time, start time of making a call, end time of hanging up the call, start time of data download, stop time of download, duration of idle state, etc.)—these are time parameters that are preset in the test process.
[0084] By acquiring these time parameters, which are read from the terminal under test or written manually, the device can determine the fuzzy time intervals in which different communication modes are located during the test, and then identify the specific start and end times of each communication mode through the target power consumption model.
[0085] Step 203: Output the actual power consumption parameters for each start and end time interval.
[0086] In this embodiment of the application, after determining the start and end time intervals corresponding to each communication mode, the actual power consumption parameters within the start and end time intervals can be output, that is, the actual power consumption parameters corresponding to each communication mode can be output, thereby completing the entire test process.
[0087] Please see Figure 5 Based on the same inventive concept, this application provides a power consumption testing device, which includes: an acquisition unit 301, a matching unit 302, and an output unit 303.
[0088] The acquisition unit 301 is used to acquire the actual power consumption parameters of the terminal under test during the test process;
[0089] The matching unit 302 is used to match the actual power consumption parameters according to the pre-stored target power consumption model to obtain the start and end time intervals corresponding to each of the multiple communication modes included in the test process. The target power consumption model is used to characterize the power consumption parameter change trend of a typical terminal in multiple communication modes.
[0090] Output unit 303 is used to output the actual power consumption parameters within each start and end time interval.
[0091] Optionally, the acquisition unit 301 is also used for:
[0092] Obtain the power consumption parameter changes of a typical terminal in various communication modes;
[0093] The device also includes:
[0094] The fitting unit is used to fit the changes in power consumption parameters to obtain the target power consumption model.
[0095] Optionally, the device may also include:
[0096] The adjustment unit is used to adjust the target power consumption model based on the service characteristic parameters and network characteristic parameters corresponding to the test process, so as to obtain the adjusted target power consumption model.
[0097] Matching unit 302 is specifically used for:
[0098] The actual power consumption parameters are matched based on the adjusted target power consumption model to obtain the start and end time intervals for each of the various communication modes included in the test process.
[0099] Optionally, the target power consumption model is used to characterize the average current range, current fluctuation range, and current change trend corresponding to each communication mode.
[0100] Optionally, actual power consumption parameters include maximum current, minimum current, average current, and current variation trend.
[0101] Optionally, network characteristic parameters include discontinuous reception period (DRX), extended discontinuous reception period (eDRX), TAU timer, PSM activation timer, and RRC inactivation timer.
[0102] Optionally, the service characteristic parameters include the switching order of the various communication states, the ping packet interval, and the time interval between different communication states.
[0103] Please see Figure 6 Based on the same inventive concept, embodiments of this application provide an electronic device, which includes at least one processor 401. The processor 401 is used to execute a computer program stored in a memory to implement the functions provided in embodiments of this application. Figure 2 The steps of the power consumption test method are shown.
[0104] Optionally, the processor 401 may be a central processing unit, a specific ASIC, or one or more integrated circuits used to control program execution.
[0105] Optionally, the electronic device may further include a memory 402 connected to at least one processor 401. The memory 402 may include ROM, RAM, and disk storage. The memory 402 stores data required for the processor 401 to run, i.e., it stores instructions executable by at least one processor 401. The at least one processor 401 executes instructions stored in the memory 402 to perform tasks such as... Figure 2 The method is shown. The number of memories 402 is one or more. The memories 402 are in... Figure 6 It is shown together, but it should be noted that memory 402 is not a mandatory functional module, therefore in Figure 6 It is shown in dashed lines.
[0106] The physical devices corresponding to the acquisition unit 301, matching unit 302, and output unit 303 can all be the aforementioned processor 401. This electronic device can be used to execute... Figure 2 The method provided in the illustrated embodiment. Therefore, regarding the functions that each functional module in this electronic device can achieve, please refer to... Figure 2 The corresponding descriptions in the illustrated embodiments will not be repeated here.
[0107] Furthermore, embodiments of this application also provide a computer storage medium, wherein the computer storage medium stores computer instructions, which, when executed on a computer, cause the computer to perform... Figure 2 The method described.
[0108] The above description is merely a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of protection of this specification.
Claims
1. A power consumption testing method, characterized in that, The method includes: Obtain the actual power consumption parameters of the terminal under test during the test process; The actual power consumption parameters are matched according to the pre-stored target power consumption model to obtain the start and end time intervals corresponding to each of the multiple communication modes included in the test process. The target power consumption model is used to characterize the power consumption parameter change trend of a typical terminal in the multiple communication modes. Output the actual power consumption parameters for each of the start and end time intervals; Before matching the actual power consumption parameters according to the pre-stored target power consumption model to obtain the start and end time intervals corresponding to each of the multiple communication modes included in the test process, the method further includes: The power consumption parameter changes of the typical terminal in each of the multiple communication modes are obtained; The changes in the power consumption parameters are fitted to obtain the target power consumption model; After fitting the changes in the power consumption parameters to obtain the target power consumption model, the method further includes: The target power consumption model is adjusted based on the service characteristic parameters and network characteristic parameters corresponding to the test process to obtain the adjusted target power consumption model. The step of matching the actual power consumption parameters according to the pre-stored target power consumption model to obtain the start and end time intervals corresponding to each of the multiple communication modes included in the test process includes: The actual power consumption parameters are matched based on the adjusted target power consumption model to obtain the start and end time intervals for each of the multiple communication modes included in the test process.
2. The method according to claim 1, characterized in that, The target power consumption model is used to characterize the average current range, current fluctuation range, and current change trend corresponding to each communication mode.
3. The method according to claim 1, characterized in that, The actual power consumption parameters include the maximum current value, minimum current value, average current value, and current variation trend.
4. The method according to claim 1, characterized in that, The network characteristic parameters include discontinuous reception period (DRX), extended discontinuous reception period (eDRX), TAU timer, PSM activation timer, and RRC inactivation timer.
5. The method according to claim 1, characterized in that, The service characteristic parameters include the switching order of the various communication modes, the ping packet interval, and the time interval between different communication modes.
6. A power consumption testing device, characterized in that, The power consumption testing device includes: The acquisition unit is used to acquire the actual power consumption parameters of the terminal under test during the testing process. The matching unit is used to match the actual power consumption parameters according to the pre-stored target power consumption model to obtain the start and end time intervals and actual power consumption parameters corresponding to each of the multiple communication modes included in the test process. The target power consumption model is used to characterize the power consumption parameter change trend of a typical terminal in the multiple communication modes. The output unit is used to output the actual power consumption parameters within each of the start and end time intervals; Before matching the actual power consumption parameters according to the pre-stored target power consumption model to obtain the start and end time intervals corresponding to each of the multiple communication modes included in the test process, the device is further configured to: The power consumption parameter changes of the typical terminal in each of the multiple communication modes are obtained; The changes in the power consumption parameters are fitted to obtain the target power consumption model; After fitting the changes in the power consumption parameters to obtain the target power consumption model, the device is further configured to: The target power consumption model is adjusted based on the service characteristic parameters and network characteristic parameters corresponding to the test process to obtain the adjusted target power consumption model. The step of matching the actual power consumption parameters according to the pre-stored target power consumption model to obtain the start and end time intervals corresponding to each of the multiple communication modes included in the test process includes: The actual power consumption parameters are matched based on the adjusted target power consumption model to obtain the start and end time intervals for each of the multiple communication modes included in the test process.
7. An electronic device, characterized in that, The electronic device includes at least one processor and a memory connected to the at least one processor, the at least one processor being configured to implement the steps of the method as described in any one of claims 1-5 when executing a computer program stored in the memory.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Bluetooth power consumption determination method and apparatus, and electronic device
CN115278618A
Computer status monitoring device, computer monitoring system and computer status monitoring method
US20120192003A1