Power consumption test system, method and device, electronic equipment and storage medium

By using signal adjustment equipment of shielding materials and control equipment for automated control in the power consumption testing system, different signal environments are simulated, and the problem of insufficient comprehensive and accurate power consumption testing in the prior art is solved, and high intelligence and high accuracy power consumption testing is achieved.

CN120049976APending Publication Date: 2025-05-27BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311587157.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-24
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

The prior art is difficult to simulate the use scenarios of equipment, resulting in insufficient comprehensive and accurate power consumption testing.

Method used

The signal environment of the equipment to be tested is adjusted by a signal adjustment device equipped with a shielding material, and the control device automatically controls the regulation of the signal environment to realize power consumption testing in different signal environments.

Benefits of technology

It realizes the simulation of different signal environments through simple and convenient shielding material settings, which improves the intelligence and accuracy of power consumption testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120049976A_ABST
    Figure CN120049976A_ABST
Patent Text Reader

Abstract

The invention relates to a power consumption test system, method and device, electronic equipment and a storage medium. The system comprises to-be-tested equipment; the signal adjusting equipment is used for adjusting the signal environment of the to-be-tested equipment through a shielding material; and the control equipment is electrically connected with the signal adjusting equipment and is used for sending a first control instruction for adjusting a signal environment to the signal adjusting equipment and determining the power consumption of the to-be-tested equipment for executing a preset function in the signal environment adjusted by the signal adjusting equipment based on the first control instruction. By means of the system, different signal environments can be conveniently simulated through the shielding material to achieve power consumption testing, and intelligence is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of power consumption testing, and particularly to a power consumption testing system, method, device, electronic device, and storage medium. Background Art

[0002] With the development of communication technologies, people have increasingly higher requirements for the battery life of devices. Generally, it is necessary to perform power consumption testing on devices for competitive product analysis, or to adjust product designs based on power consumption testing to improve the battery life of products. And how to simulate the usage scenarios of devices to perform power consumption testing more conveniently and comprehensively has always been a concern. Summary of the Invention

[0003] The present disclosure provides a power consumption testing system, method, device, electronic device, and storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a power consumption testing system, including:

[0005] A device under test;

[0006] A signal conditioning device for adjusting the signal environment of the device under test through a shielding material;

[0007] A control device electrically connected to the signal conditioning device, configured to send a first control instruction for adjusting the signal environment to the signal conditioning device, and determine the power consumption of the device under test when performing a predetermined function in the signal environment adjusted by the signal conditioning device based on the first control instruction.

[0008] In some embodiments, the system further includes:

[0009] A power supply device electrically connected to the device under test and the control device respectively, for supplying power to the device under test according to a second control instruction of the control device;

[0010] The control device is further configured to determine the power consumption of the device under test when performing the predetermined function in the signal environment according to the electrical signal parameters of the power supply device for supplying power to the device under test.

[0011] In some embodiments, the device under test is electrically connected to the control device, and is further configured to perform the predetermined function according to a third control instruction of the control device;

[0012] The control device is further configured to, after disconnecting the electrical connection with the device under test, determine the power consumption of the device under test when performing the predetermined function based on the third control instruction in the signal environment according to the electrical signal parameters of the power supply device for supplying power to the device under test.

[0013] In some embodiments, the control device is wired to the power supply device; and / or the power supply device is wired to the device under test.

[0014] In some embodiments, the signal conditioning device includes:

[0015] A drive assembly;

[0016] A support rod, the first end of which is connected to the drive assembly;

[0017] A blade group, connected to the second end of the support rod, and different shielding materials are provided on different blade groups;

[0018] The drive assembly is configured to drive the support rod to move according to the first control instruction and drive the blade group to move to a predetermined position; wherein, the relative positions of the blade group and the device under test are different at different predetermined positions, and the shielding degrees of the signals by the shielding materials on different blade groups are different.

[0019] In some embodiments, the signal conditioning device is located in a first direction of the device under test, and signals in directions other than the first direction of the device under test are shielded.

[0020] In some embodiments, the device under test is disposed in a metal housing with an opening, and the opening faces the first direction.

[0021] In some embodiments, the device under test is further configured to detect signal parameters in the signal environment initially adjusted by the signal conditioning device and feed back the signal parameters to the control device;

[0022] The control device is further configured to, when the signal parameters meet the preset signal parameter conditions, start determining the power consumption of the device under test when performing the predetermined function, and continue the power consumption test based on the signal environment re-adjusted by the signal conditioning device after the first round of power consumption test is completed.

[0023] In some embodiments, the shielding material includes: silver fiber, copper-nickel alloy.

[0024] In some embodiments, the signal environment includes the signal strength of satellite signals, and the predetermined function includes a positioning function based on the satellite signals.

[0025] According to a second aspect of the embodiments of the present disclosure, there is provided a power consumption test method, including:

[0026] Sending a first control instruction for adjusting the signal environment to a signal conditioning device; wherein, the signal conditioning device adjusts the signal environment through a shielding material based on the first control instruction;

[0027] Determine the power consumption of the device under test when performing a predetermined function in the signal environment adjusted by the signal conditioning device.

[0028] In some embodiments, the method further includes:

[0029] Send a second control instruction to the power supply device to supply power to the device under test;

[0030] The determination of the power consumption of the device under test when performing a predetermined function in the signal environment adjusted by the signal conditioning device includes:

[0031] When the power supply device supplies power to the device under test based on the second control instruction, determine the power consumption of the device under test when performing the predetermined function in the signal environment according to the electrical signal parameters of the power supply device.

[0032] In some embodiments, the method further includes:

[0033] Send a third control instruction to the device under test to perform the predetermined function;

[0034] The determination of the power consumption of the device under test when performing the predetermined function in the signal environment adjusted by the signal conditioning device according to the electrical signal parameters of the power supply device includes:

[0035] After disconnecting the electrical connection with the device under test, determine the power consumption of the device under test when performing the predetermined function based on the third control instruction in the signal environment according to the electrical signal parameters of the power supply device.

[0036] In some embodiments, the method further includes:

[0037] Receive the signal parameters detected by the device under test in the signal environment initially adjusted by the signal conditioning device;

[0038] The determination of the power consumption of the device under test when performing the predetermined function in the signal environment adjusted by the signal conditioning device based on the first control instruction includes:

[0039] When the signal parameters meet the preset signal parameter conditions, start determining the power consumption of the device under test when performing the predetermined function, and after the first round of power consumption testing is completed, continue the power consumption testing based on the signal environment readjusted by the signal conditioning device.

[0040] According to the third aspect of the embodiments of the present disclosure, there is provided a power consumption testing device, including:

[0041] A first sending module, configured to send a first control instruction for adjusting a signal environment to a signal conditioning device; wherein, the signal conditioning device adjusts the signal environment based on the first control instruction through a shielding material;

[0042] A power consumption determination module, configured to determine the power consumption of a device under test when performing a predetermined function in the signal environment adjusted by the signal conditioning device.

[0043] In some embodiments, the apparatus further includes:

[0044] A second sending module, configured to send a second control instruction for powering the device under test to a power supply device;

[0045] The power consumption determination module is further configured to, when the power supply device powers the device under test based on the second control instruction, determine the power consumption of the device under test when performing the predetermined function in the signal environment according to the electrical signal parameters of the power supply device.

[0046] In some embodiments, the apparatus further includes:

[0047] A third sending module, configured to send a third control instruction for performing the predetermined function to the device under test;

[0048] The power consumption determination module is further configured to, after disconnecting the electrical connection with the device under test, determine the power consumption of the device under test when performing the predetermined function based on the third control instruction in the signal environment according to the electrical signal parameters of the power supply device.

[0049] In some embodiments, the apparatus further includes:

[0050] A receiving module, configured to receive the signal parameters detected by the device under test in the signal environment initially adjusted by the signal conditioning device;

[0051] The power consumption determination module is further configured to, when the signal parameters meet a preset signal parameter condition, start determining the power consumption of the device under test when performing the predetermined function, and continue the power consumption test based on the signal environment re-adjusted by the signal conditioning device after the first round of power consumption test is completed.

[0052] According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic device, including:

[0053] A processor; a memory for storing processor-executable instructions; wherein, the processor is configured to execute the method described in the first aspect above.

[0054] According to a fifth aspect of the embodiments of the present disclosure, there is provided a storage medium, including:

[0055] When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method described in the first aspect above.

[0056] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

[0057] In the embodiments of the present disclosure, a signal conditioning device provided with a shielding material is used to condition the signal environment of a device under test. Since the setting of the shielding material is relatively simple and convenient, it is convenient to simulate different signal environments through the shielding material to achieve power consumption testing. In addition, since the signal environment conditioning of the signal conditioning device is automatically controlled based on a control device without manual control, the intelligence of the power consumption testing is relatively high.

[0058] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure and used together with the specification to explain the principles of the present disclosure.

[0060] Figure 1 is a structural diagram of a power consumption testing system shown in the embodiments of the present disclosure.

[0061] Figure 2 is an architecture example diagram of the power consumption testing system in the embodiments of the present disclosure.

[0062] Figure 3 is a flowchart of a power consumption testing method in the embodiments of the present disclosure.

[0063] Figure 4 is a diagram of a power consumption testing device shown in the embodiments of the present disclosure.

[0064] Figure 5 is a block diagram of an electronic device shown in the embodiments of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0065] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0066] Figure 1 is a structural diagram of a power consumption testing system shown in the embodiments of the present disclosure, as Figure 1As shown, the power consumption test system includes:

[0067] Device under test 01;

[0068] Signal conditioning device 02, configured to adjust the signal environment of the device under test 01 through shielding materials;

[0069] Control device 03, electrically connected to the signal conditioning device 02, configured to send a first control instruction for adjusting the signal environment to the signal conditioning device 02, and determine the power consumption of the device under test 01 when executing a predetermined function under the signal environment adjusted by the signal conditioning device 02 based on the first control instruction.

[0070] In an embodiment of the present disclosure, the device under test 01 may be a terminal device such as a mobile phone, a tablet computer, a vehicle-mounted device, or a wearable device. The signal conditioning device 02 may be a device provided with shielding materials, and the signal environment of the device under test 01 can be adjusted by changing the position of the shielding materials relative to the device under test 01. The control device 03 may be a server or other terminal devices, etc.

[0071] In an embodiment of the present disclosure, the shielding materials may be metal shielding materials, conductive polymer shielding materials, or composite shielding materials, etc. In some embodiments, the shielding materials include silver fibers, copper-nickel alloys, etc., which can be used to shield electromagnetic wave signals such as those emitted by satellites. It should be noted that different shielding materials have different degrees of signal shielding, and different shielding materials can be set on the signal conditioning device 02 to adjust the signal environment; the selection of the shielding materials can be based on the signals required for the device under test 01 to execute a predetermined function. For example, for Bluetooth signals, shielding materials suitable for adjusting the signal strength of Bluetooth signals can be selected.

[0072] In an embodiment of the present disclosure, the control device 03 determines the power consumption of the device under test 01 when executing a predetermined function. In some embodiments, the predetermined function is a function of file transfer based on wireless signals (such as Bluetooth signals or Wi-Fi signals, etc.), and the corresponding signal environment may be the signal strength of the wireless signals; in other embodiments, the predetermined function is a positioning function based on satellite signals, and the corresponding signal environment may be the signal strength of the satellite signals.

[0073] It should be noted that in the embodiments of the present disclosure, the control device 03 can send a first control instruction for adjusting the signal environment to the signal adjustment device 02 based on a wired or wireless connection with the signal adjustment device 02. Each time the control device 03 sends a first control instruction, the signal adjustment device 02 can adjust the signal environment once. In some embodiments, the signal adjustment device 02 can be adjusted under the trigger of the first control instruction based on its own predetermined adjustment method; in other embodiments, the first control instruction can also carry adjustment parameters. For example, the adjustment parameters can include position parameters. The signal adjustment device 02 can move based on the position parameters so that the position of the shielding material relative to the device under test 01 is different, thereby achieving different degrees of signal shielding. Among them, the position parameters can include moving distance and / or rotation angle, etc. In addition, in the embodiments of the present disclosure, the device under test 01 can execute the predetermined function triggered by the user's operation or triggered by the control of the control device 03. The embodiments of the present disclosure do not limit this.

[0074] In the embodiments of the present disclosure, when the control device 03 determines the power consumption of the device under test 01 executing the predetermined function, it can be that the control device 03 directly obtains the power consumption of the device under test 01 executing the predetermined function based on the communication connection with the device under test 01. For example, the device under test 01 can detect its own power consumption when executing the predetermined function based on the built-in power management module and send it to the control device 03; it can also be that the control device 03 determines the power consumption of the device under test 01 executing the predetermined function based on other devices.

[0075] Taking the device under test 01 as a mobile phone and the mobile phone executing the positioning function as an example. In daily life, the mobile phone navigation uses the Global Navigation Satellite System (GNSS) positioning function for a long time, resulting in power consumption of the mobile phone. However, the power consumption is different when using the GNSS function outdoors or at home. For example: in the case of no signal indoors, since the GNSS chip needs to scan all frequency bands, the power consumption of the mobile phone is usually higher in this case; when the GNSS signal is good outdoors, it is easier for the mobile phone to achieve positioning, and the power consumption is relatively low at this time; when the GNSS signal is very good outdoors, it is very easy for the mobile phone to scan the satellite signal to achieve positioning, and the power consumption will be even lower at this time. Since the GNSS signal strength is affected by weather conditions and geographical locations, it is difficult to reproduce the above different signal environments during the actual power consumption test.

[0076] In the embodiments of the present disclosure, a signal conditioning device provided with shielding material is used to condition the signal environment of the device under test. Since the setting of the shielding material is relatively simple and convenient, it is convenient to simulate different signal environments through the shielding material to achieve power consumption testing. In addition, since the signal environment conditioning of the signal conditioning device is automatically controlled based on the control device without manual control, the intelligence of the power consumption testing is relatively high.

[0077] In some embodiments, the system further includes:

[0078] A power supply device 04, electrically connected to the device under test 01 and the control device 03 respectively, for supplying power to the device under test 01 according to the second control instruction of the control device 03;

[0079] The control device 03 is further configured to determine the power consumption of the device under test 01 when performing the predetermined function in the signal environment according to the electrical signal parameters of the power supply device 04 for supplying power to the device under test 01.

[0080] As described above, the control device 03 can determine the power consumption of the device under test 01 when performing the predetermined function based on other devices. In this embodiment, the control device 03 determines the power consumption of the device under test 01 according to the electrical signal parameters of the power supply device 04 for supplying power to the device under test 01.

[0081] In the embodiments of the present disclosure, the electrical signal parameters of the power supply device 04 for supplying power to the device under test 01 may be voltage parameters, current parameters, power parameters, etc. The control device 03 can determine the power consumption of the device under test 01 based on the electrical signal parameters output by the power supply device 04. Exemplarily, the greater the output power of the power supply device 04, the higher the power consumption of the device under test 01; or, when the supply voltage of the power supply device 04 is constant, the greater the supply current, the higher the power consumption of the device under test 01.

[0082] In the embodiments of the present disclosure, the control device 03 can record the electrical signal parameters of the power supply device 04 for supplying power to the device under test 01 multiple times in the signal environment currently adjusted by the signal conditioning device 02, and determine the power consumption of the device under test 01 based on the statistical value of the electrical signal parameters recorded multiple times, such as the mean or median, etc. It should be noted that the power consumption of the device under test 01 can be directly characterized by the electrical signal parameters, and the control device 03 can also determine the power consumption level corresponding to the electrical signal parameters based on the preset mapping relationship between the electrical signal parameters and the power consumption level to obtain the power consumption of the device under test 01 when performing the predetermined function in the signal environment currently adjusted by the signal conditioning device 02.

[0083] In the embodiments of the present disclosure, the control device 03 can also automatically store the electrical signal parameters recorded each time in a form such as an Excel table for the convenience of the test personnel to view.

[0084] If the power consumption is detected by the device under test 01 itself, for example, by detecting the power consumption value and sending it to the control device 03, it will bring additional power consumption. Therefore, in the embodiments of the present disclosure, the control device 03 determines the power consumption of the device under test 01 through the power supply device 04, without the need for the device under test 01 to perform functions other than the predetermined functions, which can improve the accuracy of power consumption testing when the device under test 01 performs the predetermined functions.

[0085] It should be noted that in the embodiments of the present disclosure, the power supply device 04 can be electrically connected to the device under test 01 and the control device 03 in a wired or wireless manner. Exemplarily, the power supply device 04 can supply power to the device under test 01 by means of wireless or wired charging; the power supply device 04 can be wiredly connected to the control device 03 based on a serial port, or wirelessly connected to the control device 03 based on Wi-Fi. Since the transmission of wireless signals will bring power consumption, in the embodiments of the present disclosure, the control device 03 is wiredly connected to the power supply device 04; and / or the wired charging method between the power supply device 04 and the device under test 01 can reduce the power consumption caused by signal transmission, thereby helping to improve the accuracy of power consumption testing when the device under test 01 performs the predetermined functions.

[0086] In some embodiments, the device under test 01, which is electrically connected to the control device 03, is further configured to perform the predetermined function according to a third control instruction of the control device 03;

[0087] The control device 03 is further configured to, after disconnecting the electrical connection with the device under test 01, determine the power consumption of the device under test 01 when performing the predetermined function based on the third control instruction in the signal environment according to the electrical signal parameters of the power supply device 04 for supplying power to the device under test 01.

[0088] As described above, the device under test 01 can execute a predetermined function based on the control trigger of the control device 03. In the embodiments of the present disclosure, the device under test 01 can be connected to the control device 03 in a wired or wireless manner. For example, it can be connected in a wired manner through a Universal Serial Bus (USB), or wirelessly connected based on Bluetooth. Thus, the control device 03 can send a third control instruction to the device under test 01 based on the above electrical connection method to trigger the execution of the predetermined function. However, when the device under test 01 is connected to the control device 03 in a wired manner, the control device 03 can also charge the device under test 01. Since the control device 03 determines the power consumption of the device under test 01 based on the electrical signal parameters of the power supply device 04, if there is another device charging the device under test 01 at the same time, it will affect the actual power consumption test of the device under test 01 when executing the predetermined function. In addition, if the device under test 01 and the control device 03 are connected via Bluetooth, for example, since a certain amount of power consumption will still be occupied after the Bluetooth function is turned on (for example, the device under test 01 and the control device 03 may send verification signals at regular intervals to prove that the connection is valid), in the embodiments of the present disclosure, after the control device 03 disconnects the electrical connection with the device under test 01, it determines the power consumption of the device under test 01 when executing the predetermined function in the signal environment based on the electrical signal parameters of the power supply device 04 for the device under test 01. By this means, the accuracy of the power consumption test of the device under test 01 when executing the predetermined function can be improved.

[0089] It should be noted that, taking the example that the device under test 01 is connected to the control device 03 via USB, the control device 03 can set the USB switch through an instruction. When the control device 03 is connected to the device under test 01 via USB, it is not allowed for the control device 03 to charge the device under test 01.

[0090] In some embodiments, the signal conditioning device 02 includes:

[0091] A driving component 02a;

[0092] A support rod 02b, the first end of which is connected to the driving component 02a;

[0093] A blade group 02c, connected to the second end of the support rod 02b, and different shielding materials are provided on different blade groups 02c;

[0094] The driving component 02a is configured to drive the support rod 02b to move and drive the blade group 02c to move to a predetermined position according to the first control instruction; wherein, the relative positions of the blade group 02c and the device under test 01 are different at different predetermined positions, and the shielding degrees of the signals by the shielding materials on different blade groups 02c are different.

[0095] In the embodiments of the present disclosure, the driving component 02a can be a motor, such as a linear motion motor or a rotary motor, etc. Driving the movement of the driving component 02a can drive the blade group 02c provided with shielding material to change the position relative to the device under test 01, so as to provide different signal environments. Wherein, one blade group 02c can include one or more blades.

[0096] Figure 2 It is an architecture example diagram of the power consumption test system in the embodiments of the present disclosure. As Figure 2 shown, it includes a device under test 01, a signal conditioning device 02, a control device 03, and a power supply device 04; wherein, the device under test 01 is a mobile phone, and the control device 03 is a computer. As Figure 2 shown, the signal conditioning device 02 includes a driving component 02a, which is a rotary motor, a support rod 02b connected to the rotary motor, and two groups of blade groups 02c. Among them, different shielding materials are coated on different blade groups 02c. Before the power consumption test, the computer can disconnect the electrical connection with the mobile phone through a switch. The rotary motor drives the support rod 02b to rotate under the control of the first control instruction of the computer, and drives the blade group 02c to rotate. Since the shielding materials on different blade groups 02c are different, different satellite signal environments can be provided for the device under test 01 by different rotation angles of the blade group 02c. Exemplarily, the left blade group 02c can be provided with silver fiber material, and the right blade group 02c can be provided with copper-nickel alloy material. When the blade group 02c with silver fiber material rotates above the device under test 01, the signal strength can be partially weakened. For example, the signal strength becomes 50% of the original signal strength; when the blade group 02c with copper-nickel alloy material rotates above the device under test 01, the signal strength can be basically completely weakened. For example, the signal strength becomes 1% of the original signal strength. When neither of the above two groups of blade groups covers above the device under test 01, the signal can remain at the original signal strength.

[0097] It can be understood that in the embodiments of the present disclosure, the signal conditioning device 02 drives the blade group 02c to change the relative position with the device under test through the driving component 02a, so as to provide different signal environments. The solution is simple and has good intelligence.

[0098] In some embodiments, the signal conditioning device 02 is located in the first direction of the device under test 01, and the signal shielding in the direction other than the first direction of the device under test 01.

[0099] In the embodiments of the present disclosure, since the device under test 01 adjusts the signal environment through the signal conditioning device 02, if there is signal interference in the places that cannot be covered by the signal conditioning device 02, it will lead to inaccurate power consumption testing of the device under test 01. Therefore, in the embodiments of the present disclosure, the signal conditioning device 02 is arranged in the first direction of the device under test 01, and the signals in the directions other than the first direction are shielded, which can improve the accuracy of the power consumption testing of the device under test 01 when it executes a predetermined function in the signal environment adjusted by the signal conditioning device 02.

[0100] In some embodiments, the device under test 01 is arranged in a metal housing with an opening, and the opening faces the first direction.

[0101] In the embodiments of the present disclosure, the device under test 01 is arranged in a metal housing with an opening, so that the signal conditioning device 02 can adjust the signal environment through the opening, while the signals in other directions are shielded. As Figure 2 shown, the mobile phone is located inside the metal box, and the opening of the metal box faces the signal conditioning device 02. By setting the test environment in this way, it is simple and easy to implement.

[0102] In some embodiments, the device under test 01 is further configured to detect signal parameters in the signal environment initially adjusted by the signal conditioning device 02 and feed back the signal parameters to the control device 03;

[0103] The control device 03 is further configured to, when the signal parameters meet the preset signal parameter conditions, start determining the power consumption of the device under test 01 when executing the predetermined function, and continue the power consumption test based on the signal environment re-adjusted by the signal conditioning device 02 after the first round of power consumption testing is completed.

[0104] In the embodiments of the present disclosure, when performing power consumption testing on the device under test 01, the shielding material provided on the signal conditioning device 02 can only weaken the signal. Therefore, if the signal in the initial test environment is not good due to the influence of weather environment, etc., for example, when obtaining signal environments with multiple levels such as strong signal, weak signal, and no signal, the power consumption in a stronger signal environment cannot be tested. And because the initial signal environment is not good, the signals adjusted based on different shielding materials on the signal conditioning device 02 may not be the actual weak signal levels. Therefore, in the case of a weak initial signal environment, it may not be possible to achieve a more comprehensive power consumption test of the device under test 01 in different signal environments.

[0105] In this regard, in the embodiments of the present disclosure, the device under test 01 can first detect signal parameters and feedback them to the control device 03. When the control device 03 determines that the signal parameters meet the preset signal parameter conditions, it then starts the power consumption test. For example, when the control device 03 determines that the signal-to-noise ratio is greater than the preset signal-to-noise ratio threshold (for example, 44 decibels), it then controls the power supply device 04 to supply power to the device under test 01, thereby recording the power consumption. After the control device 03 completes the first round of testing, it adjusts the signal environment again based on the signal adjustment device 02, and then continues the power consumption test. It can be understood that in this way, the power consumption test of the device under test 01 in a relatively comprehensive signal environment can be improved.

[0106] Exemplarily, as Figure 2 shown, when none of the blade groups 02c of the signal adjustment device 02 are directly above the device under test 01, in a suitable external environment, the signal environment initially adjusted by the signal adjustment device 02 can be an environment with strong GNSS signals. After the control device 03 completes the first round of testing, it adjusts the blade group 02c made of silver fiber material to rotate above the device under test 01 again, and an environment with weak GNSS signals (for example, the signal-to-noise ratio is below 28 decibels) can be obtained; when the blade group 02c made of copper-nickel alloy material is adjusted to rotate above the device under test 01, the signal strength can be basically completely weakened (for example, the signal-to-noise ratio is near 0), and an environment without GNSS signals can be obtained.

[0107] Of course, in the embodiments of the present disclosure, it is not limited to the above three signal levels. Based on the setting of the preset signal parameter conditions and the shielding material on the signal adjustment device 02, the power consumption test of the number of signal levels supported by the shielding material can also be realized.

[0108] Figure 3 The following is a flowchart of a power consumption test method in the embodiments of the present disclosure. As Figure 3 shown, it includes the following steps:

[0109] S11. Send a first control instruction for adjusting the signal environment to the signal adjustment device; wherein, the signal adjustment device adjusts the signal environment through the shielding material based on the first control instruction;

[0110] S12. Determine the power consumption of the device under test when performing a predetermined function in the signal environment adjusted by the signal adjustment device.

[0111] In the embodiments of the present disclosure, the power consumption testing method can be applied to the aforementioned control device. The control device sends a first control instruction for adjusting the signal environment to the signal conditioning device. Each time the control device sends a first control instruction, the signal conditioning device can adjust the signal environment once. The signal environment can be the signal strength of a satellite signal or the signal strength of a wireless signal (such as a Bluetooth signal or a Wi-Fi signal, etc.). The execution of the predetermined function by the device under test can be a function of file transfer based on a wireless signal or a positioning function based on a satellite signal.

[0112] In the embodiments of the present disclosure, since the signal conditioning device is provided with a shielding material, the signal environment of the device under test can be adjusted by changing the position of the shielding material relative to the device under test. The change in this position can be a change in distance or azimuth angle. In some embodiments, the signal conditioning device can be adjusted under the trigger of the first control instruction based on its own predetermined adjustment method; in other embodiments, the first control instruction can also carry adjustment parameters. For example, the adjustment parameters can include position parameters, and the signal conditioning device can move based on the position parameters so that the position of the shielding material relative to the device under test 01 is different, thereby achieving different degrees of signal shielding.

[0113] In the embodiments of the present disclosure, the execution of the predetermined function by the device under test can be triggered based on the user's operation or triggered based on the control of the control device; when the control device determines the power consumption of the device under test when executing the predetermined function, it can be that the control device directly obtains the power consumption of the device under test when executing the predetermined function based on the communication connection with the device under test; it can also be that the control device determines the power consumption of the device under test when executing the predetermined function based on other devices.

[0114] In the embodiments of the present disclosure, by adjusting the signal environment of the device under test through the signal conditioning device provided with a shielding material, since the setting of the shielding material is relatively simple and convenient, it is convenient to simulate different signal environments through the shielding material to achieve power consumption testing; in addition, since the signal environment adjustment of the signal conditioning device is automatically controlled based on the first control instruction without manual control, the intelligence of the power consumption testing is relatively high.

[0115] In some embodiments, the method further includes:

[0116] Sending a second control instruction to the power supply device to supply power to the device under test;

[0117] The determination of the power consumption of the device under test when executing the predetermined function in the signal environment adjusted by the signal conditioning device includes:

[0118] When the power supply device supplies power to the device under test based on the second control instruction, determine the power consumption of the device under test when performing the predetermined function in the signal environment according to the electrical signal parameters of the power supply device.

[0119] In this embodiment, the control device determines the power consumption of the device under test through the electrical signal parameters of the power supply device for the device under test. Among them, the electrical signal parameters of the power supply can be voltage parameters, current parameters, power parameters, etc. For example, the greater the output power of the power supply device, the higher the power consumption of the device under test; or, when the supply voltage of the power supply device is constant, the greater the supply current, the higher the power consumption of the device under test.

[0120] In the embodiments of the present disclosure, the control device can record the electrical signal parameters of the power supply device for the device under test multiple times in the signal environment currently adjusted by the signal adjustment device, and determine the power consumption of the device under test based on the statistical values of the electrical signal parameters recorded multiple times, such as the mean or median, etc. The power consumption of the device under test can be directly characterized by the electrical signal parameters, and the control device can also determine the power consumption level corresponding to the electrical signal parameters based on the preset mapping relationship between the electrical signal parameters and the power consumption level to obtain the power consumption of the device under test when performing the predetermined function in the signal environment currently adjusted by the signal adjustment device.

[0121] In the embodiments of the present disclosure, the control device can also automatically store the electrical signal parameters recorded each time in, for example, an Excel table for the convenience of testers to view.

[0122] In the embodiments of the present disclosure, by using the power supply device to determine the power consumption of the device under test without the device under test performing functions other than the predetermined function, the accuracy of the power consumption test of the device under test when performing the predetermined function can be improved.

[0123] In some embodiments, the method further includes:

[0124] Sending a third control instruction for performing the predetermined function to the device under test;

[0125] The determining the power consumption of the device under test when performing the predetermined function in the signal environment adjusted by the signal adjustment device according to the electrical signal parameters of the power supply device includes:

[0126] After disconnecting the electrical connection with the device under test, determine the power consumption of the device under test when performing the predetermined function based on the third control instruction in the signal environment according to the electrical signal parameters of the power supply device.

[0127] In an embodiment of the present disclosure, the device under test can be connected to the control device either wired or wirelessly. For example, it can be connected via a USB wired connection, or a wireless connection such as Bluetooth or Wi-Fi. Thus, the control device can send a third control instruction to the device under test based on the above electrical connection method to trigger the execution of a predetermined function. However, when the device under test is connected to the control device by wire, the control device can also charge the device under test. Since the control device determines the power consumption of the device under test based on the electrical signal parameters of the power supply device, if there is another device supplying power to the device under test at the same time, it will affect the actual power consumption test of the device under test when executing the predetermined function. In addition, since Bluetooth or Wi-Fi still consumes a certain amount of power after being turned on, in the embodiment of the present disclosure, after the control device disconnects the electrical connection with the device under test, it determines the power consumption of the device under test when executing the predetermined function in the signal environment based on the electrical signal parameters of the power supply device for the device under test. By this means, the accuracy of the power consumption test of the device under test when executing the predetermined function can be improved.

[0128] In some embodiments, the method further includes:

[0129] Receiving the signal parameters detected by the device under test in the signal environment initially adjusted by the signal conditioning device;

[0130] The determining the power consumption of the device under test when executing the predetermined function in the signal environment adjusted by the signal conditioning device based on the first control instruction includes:

[0131] When the signal parameters meet the preset signal parameter conditions, start determining the power consumption of the device under test when executing the predetermined function, and after the first round of power consumption test is completed, continue the power consumption test based on the signal environment re-adjusted by the signal conditioning device.

[0132] In an embodiment of the present disclosure, when performing a power consumption test on a device under test, the shielding material provided on the signal conditioning device can only weaken the signal. Therefore, if the signal in the initial test environment is not good due to the influence of weather conditions, etc., for example, when obtaining signal environments of multiple levels such as strong signal, weak signal, and no signal, the power consumption in a stronger signal environment cannot be tested. And since the initial signal environment is not good, the signal adjusted based on different shielding materials on the signal conditioning device may not be the actual weak signal level. Therefore, when the initial signal environment is not strong, it may not be possible to achieve a comprehensive power consumption test of the device under test in different signal environments.

[0133] In this regard, in the embodiments of the present disclosure, the device to be tested may first detect signal parameters and feedback them to the control device. When the control device determines that the signal parameters meet the preset signal parameter conditions, it then starts the power consumption test. For example, when the control device determines that the signal-to-noise ratio is greater than a preset signal-to-noise ratio threshold (e.g., 44 decibels), it then controls the power supply device to supply power to the device to be tested, thereby recording the power consumption. After the control device completes the first round of testing, it adjusts the signal environment again based on the signal adjustment device, and then continues the power consumption test. It can be understood that in this way, the power consumption test of the device to be tested in a relatively comprehensive signal environment can be improved.

[0134] Figure 4 is a diagram of a power consumption test device shown in the embodiments of the present disclosure, and it consists of Figure 4 It can be seen that it includes:

[0135] A first sending module 101, configured to send a first control instruction for adjusting the signal environment to the signal adjustment device; wherein, the signal adjustment device adjusts the signal environment through shielding materials based on the first control instruction;

[0136] A power consumption determination module 102, configured to determine the power consumption of the device to be tested when performing a predetermined function in the signal environment adjusted by the signal adjustment device.

[0137] In some embodiments, the device further includes:

[0138] A second sending module 103, configured to send a second control instruction for supplying power to the device to be tested to the power supply device;

[0139] The power consumption determination module 102 is further configured to determine the power consumption of the device to be tested when performing the predetermined function in the signal environment according to the electrical signal parameters of the power supply device when the power supply device supplies power to the device to be tested based on the second control instruction.

[0140] In some embodiments, the device further includes:

[0141] A third sending module 104, configured to send a third control instruction for performing the predetermined function to the device to be tested;

[0142] The power consumption determination module 102 is further configured to determine the power consumption of the device to be tested when performing the predetermined function based on the third control instruction in the signal environment according to the electrical signal parameters of the power supply device after disconnecting the electrical connection with the device to be tested.

[0143] In some embodiments, the device further includes:

[0144] A receiving module 105, configured to receive signal parameters detected by the device under test in the signal environment initially adjusted by the signal conditioning device;

[0145] The power consumption determination module 102 is further configured to, when the signal parameters meet the preset signal parameter conditions, start determining the power consumption of the device under test when performing the predetermined function, and after the first round of power consumption testing is completed, continue the power consumption testing based on the signal environment re-adjusted by the signal conditioning device.

[0146] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated herein.

[0147] Figure 5 It is a block diagram of an electronic device 800 shown in an embodiment of the present disclosure. For example, the electronic device 800 may be a personal computer or the like.

[0148] Referring to Figure 5 , the electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0149] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, telephone call, data communication, camera operation, and recording operation. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0150] The memory 804 is configured to store various types of data to support the operation of the electronic device 800. Examples of these data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 may 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 memory, flash memory, a magnetic disk, or an optical disc.

[0151] The power supply component 806 provides power for various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.

[0152] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 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 can be implemented as a touch screen 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 can not only sense the boundaries of the touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.

[0153] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.

[0154] The I / O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a power-on button, and a lock button.

[0155] The sensor assembly 814 includes one or more sensors for providing a status assessment of various aspects for the electronic device 800. For example, the sensor assembly 814 can detect the on / off state of the electronic device 800, the relative positioning of components, such as the display and keypad of the electronic device 800. The sensor assembly 814 can also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. The sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0156] The communication component 816 is configured to facilitate communication between the electronic device 800 and other devices in a wired or wireless manner. The electronic device 800 can access a wireless network based on communication standards, such as Wi-Fi, 4G, or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0157] In an exemplary embodiment, the electronic device 800 can 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 for performing the above-described methods.

[0158] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the above instructions can be executed by the processor 820 of the electronic device 800 to complete the above-described methods. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0159] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the foregoing power consumption testing method.

[0160] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the claims above.

[0161] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. A power consumption testing system, characterized in that, the system includes: a device to be tested; a signal conditioning device for adjusting the signal environment of the device to be tested through shielding materials; a control device electrically connected to the signal conditioning device, configured to send a first control instruction for adjusting the signal environment to the signal conditioning device, and determine the power consumption of the device to be tested when executing a predetermined function under the signal environment adjusted by the signal conditioning device based on the first control instruction.

2. The system according to claim 1, characterized in that, the system further includes: a power supply device electrically connected to the device to be tested and the control device respectively, for supplying power to the device to be tested according to a second control instruction of the control device; the control device is further configured to determine the power consumption of the device to be tested when executing the predetermined function in the signal environment according to the electrical signal parameters of the power supply device for supplying power to the device to be tested.

3. The system according to claim 2, characterized in that, the device to be tested is electrically connected to the control device and is further configured to execute the predetermined function according to a third control instruction of the control device; the control device is further configured to, after disconnecting the electrical connection with the device to be tested, determine the power consumption of the device to be tested when executing the predetermined function based on the third control instruction in the signal environment according to the electrical signal parameters of the power supply device for supplying power to the device to be tested.

4. The system according to claim 2, characterized in that, the control device is wired to the power supply device; and / or the power supply device is wired to the device to be tested.

5. The system according to claim 1, characterized in that, the signal conditioning device includes: a driving component; a support rod, the first end of which is connected to the driving component; a blade group connected to the second end of the support rod, and different shielding materials are provided on different blade groups; the driving component is configured to drive the support rod to move and drive the blade group to move to a predetermined position according to the first control instruction; wherein, the relative positions of the blade group and the device to be tested are different at different predetermined positions, and the shielding degrees of signals by the shielding materials on different blade groups are different.

6. The system according to claim 1, characterized in that, the signal conditioning device is located in the first direction of the device to be tested, and shields signals in the directions of the device to be tested other than the first direction.

7. The system according to claim 6, characterized in that, the device to be tested is arranged in a metal housing with an opening, and the opening faces the first direction.

8. The system according to claim 1, characterized in that, the device to be tested is further configured to detect signal parameters in the signal environment initially adjusted by the signal conditioning device and feed back the signal parameters to the control device; the control device is further configured to, when the signal parameters meet the preset signal parameter conditions, start determining the power consumption of the device to be tested when executing the predetermined function, and continue the power consumption test based on the signal environment re-adjusted by the signal conditioning device after the first round of power consumption test is completed.

9. The system according to claim 1, wherein, the shielding material includes: silver fiber, copper-nickel alloy.

10. The system according to any one of claims 1-9, wherein, the signal environment includes the signal strength of satellite signals, and the predetermined function includes a positioning function based on the satellite signals.

11. A power consumption testing method, wherein, the method includes: sending a first control instruction for adjusting the signal environment to a signal conditioning device; wherein, the signal conditioning device adjusts the signal environment through a shielding material based on the first control instruction; determining the power consumption of a device under test when performing a predetermined function in the signal environment adjusted by the signal conditioning device.

12. The method according to claim 11, wherein, the method further includes: sending a second control instruction for powering the device under test to a power supply device; the determining the power consumption of the device under test when performing the predetermined function in the signal environment adjusted by the signal conditioning device includes: when the power supply device powers the device under test based on the second control instruction, determining the power consumption of the device under test when performing the predetermined function in the signal environment according to the electrical signal parameters of the power supply device.

13. The method according to claim 12, wherein, the method further includes: sending a third control instruction for performing the predetermined function to the device under test; the determining the power consumption of the device under test when performing the predetermined function in the signal environment adjusted by the signal conditioning device according to the electrical signal parameters of the power supply device includes: after disconnecting the electrical connection with the device under test, determining the power consumption of the device under test when performing the predetermined function based on the third control instruction in the signal environment according to the electrical signal parameters of the power supply device.

14. The method according to claim 11, wherein, the method further includes: receiving signal parameters detected by the device under test in the signal environment initially adjusted by the signal conditioning device; the determining the power consumption of the device under test when performing the predetermined function in the signal environment adjusted by the signal conditioning device based on the first control instruction includes: when the signal parameters meet the preset signal parameter conditions, starting to determine the power consumption of the device under test when performing the predetermined function, and after the first round of power consumption testing is completed, continuing the power consumption testing based on the signal environment re-adjusted by the signal conditioning device.

15. A power consumption testing device, wherein, the device includes: a first sending module configured to send a first control instruction for performing a predetermined function to a device under test; a power consumption determining module configured to determine the power consumption of the device under test when performing the predetermined function in the signal environment adjusted by a signal conditioning device; wherein, the signal conditioning device adjusts the signal environment of the device under test through a shielding material.

16. An electronic device, wherein, it includes: a processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the method according to any one of claims 11 to 14.

17. A computer-readable storage medium, characterized in that when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method according to any one of claims 11 to 14.