Battery endurance testing device and method

Through the automated battery life test device, using technologies such as heartbeat messages and industrial computers, the errors and environmental factors in the existing test methods are solved, and the accuracy and reliability of the battery life test are improved.

CN118818293APending Publication Date: 2024-10-22CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202311236184.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-22
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

Existing battery life testing methods have problems such as testing errors, the influence of ambient temperature and humidity, insufficient monitoring of heat dissipation effects, and low efficiency of manual parameter verification, resulting in inaccurate test results.

Method used

Design a battery life test device that sends simulated application instructions to electronic equipment through the control machine to realize automatic reception and analysis of heartbeat messages. It combines industrial computers, robotic arms, temperature and humidity adjustment devices to automatically test and maintain equipment activation status and monitor and regulate environmental conditions.

Benefits of technology

It reduces test errors caused by manual operations, improves the accuracy of battery life information, reduces the impact of environmental factors on test results, and ensures the reliability of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118818293A_ABST
    Figure CN118818293A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a battery endurance test device and method, and the device comprises a control machine which is used for issuing a test instruction to electronic equipment after issuing a simulation application for simulating the actual use scene of the electronic equipment to the electronic equipment, the test instruction is used for instructing the electronic equipment to operate the simulation application and send a heartbeat message to the control machine when only a battery is used for supplying power, the heartbeat message carries operation state data of the electronic equipment, and the operation state data at least comprises the battery electric quantity of the electronic equipment; and the control machine is also used for receiving the heartbeat message and determining the endurance information of the battery according to the running state data in the heartbeat message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of battery testing technology, and in particular relates to a battery life testing device and method. Background Art

[0002] In the related art, when conducting a battery life test on an electronic device, the external power supply of the electronic device can be cut off. When the electronic device is powered only by the battery, a script for monitoring the battery power is run on the electronic device, and software that simulates the application scenario of the electronic device is played in a loop in the electronic device. When the script is running, the real-time system time and battery capacity can be saved in a log file on the local hard disk. After the battery of the electronic device is exhausted and the electronic device is shut down, the electronic device can be connected to an external power supply and turned on, and then the battery life information can be determined by analyzing the contents of the log file.

[0003] In the battery life test scheme of the related art, the operations of running the power monitoring script and the playback software are manually performed by the tester in sequence and cannot be completed at the same time, which will cause test errors in the battery life information and reduce the accuracy of the test results. Summary of the invention

[0004] Embodiments of the present application provide a battery life testing device and method.

[0005] The present application embodiment provides a battery life test device, the device comprising a control machine; wherein:

[0006] The control machine is used to send a test instruction to the electronic device after sending a simulation application for simulating an actual use scenario of the electronic device to the electronic device, wherein the test instruction is used to instruct the electronic device to run the simulation application and send a heartbeat message to the control machine when only using a battery for power supply, wherein the heartbeat message carries the running status data of the electronic device, and the running status data at least includes the battery power of the electronic device;

[0007] The control machine is also used to receive the heartbeat message and determine the battery life information according to the running status data in the heartbeat message.

[0008] In some embodiments, the control machine is used to determine the battery life information according to the operating status data in each received heartbeat message when the time between the last time the heartbeat message was received and the current time is greater than the first time.

[0009] It can be seen that when the duration between the last time the control machine received a heartbeat message and the current time is greater than the first duration, it can be determined that the electronic device is currently in a shutdown state. In this case, the battery life information can be determined more accurately based on the operating status data in each heartbeat message received.

[0010] In some embodiments, the control machine is used to determine the battery life information based on the operating status data in the heartbeat message received each time, including: when the battery power received for the last time is less than the set power value, the battery life information is determined based on the battery power received by the control machine for the first time and the battery power received for the last time.

[0011] It can be understood that when the time between the last time the control machine received a heartbeat message and the current time is greater than the first time, it can be determined that the electronic device is currently in a shutdown state. At this time, if the battery power received for the last time is less than the set power value, it can be considered that the reason for the shutdown of the electronic device may be that the battery is exhausted, and the battery life test process terminates normally; in this case, the battery life information can be determined more accurately based on the battery power received for the first time and the battery power received for the last time.

[0012] In some embodiments, the control machine is further used to determine that an abnormality occurs in the battery life test process when the battery power received for the last time is greater than or equal to the set power value.

[0013] It can be seen that when the duration between the last time the control machine received a heartbeat message and the current time is greater than the first duration, it can be determined that the electronic device is currently in a shutdown state. At this time, if the last received battery power value is greater than or equal to the set power value, it can be considered that the electronic device is in an abnormal shutdown state. In this case, it can be determined that an abnormality has occurred in the battery life test process, which is conducive to the subsequent timely handling of abnormal situations that occur during the battery life test process.

[0014] In some embodiments, the control machine is also used to send a test instruction to the electronic device; wherein the test instruction is used to instruct the electronic device to collect the operating status data and send the operating status data to the control machine via a heartbeat message.

[0015] It can be seen that after the control machine sends a test instruction to the electronic device, the electronic device can automatically collect operating status data based on the test instruction, and send the operating status data to the control machine in the form of a heartbeat message; that is, the control machine can automatically receive the heartbeat message by sending a test instruction to the electronic device, so that the battery life information can be automatically determined according to the operating status data of the heartbeat message. Therefore, the embodiment of the present application can realize automated testing of the battery life information of the electronic device. Compared with the solution of realizing battery life testing by running power monitoring scripts and playback software in the related art, since there is no need for manual operation, the test error of the battery life information caused by manual operation is reduced, and the accuracy of the test results of the battery life information is improved to a certain extent.

[0016] In some embodiments, the electronic device includes an external device, and the device also includes an industrial computer and a robotic arm controlled by the industrial computer; the control machine is also used to, after sending a test instruction to the electronic device, periodically send instructions to the robotic arm through the industrial computer to touch the external device, so that the communication interface of the external device in the electronic device is in an activated state.

[0017] It can be seen that after the control machine periodically sends instructions to the robotic arm to touch the external device through the industrial computer, the electronic device receives data input through the external device. In this way, the electronic device will not be in an energy-saving state, that is, by periodically sending instructions to the robotic arm to touch the external device, the electronic device can be kept in an activated state. Compared with the solution in the related art that may test the battery life of electronic devices in an energy-saving state, the accuracy of the test results of the battery life of the electronic device can be improved.

[0018] In some embodiments, the electronic device is used to determine, after receiving a test instruction, whether the configuration information of the specific parameters carried in the test instruction is the same as the configuration information of the specific parameters before receiving the test instruction; when the configuration information of the specific parameters carried in the test instruction is different from the configuration information of the specific parameters before receiving the test instruction, modify the configuration information of the specific parameters in the electronic device to the configuration information of the specific parameters carried in the test instruction; wherein the specific parameters represent parameters that affect battery consumption.

[0019] It can be seen that when the configuration information of the specific parameters carried in the test instruction is different from the configuration information of the specific parameters before receiving the test instruction, the configuration information of the specific parameters in the electronic device can be modified to the configuration information of the specific parameters carried in the test instruction. The configuration of the specific parameters according to the test instruction can be automatically realized. Therefore, compared with the solution of manually checking the pre-test system parameters of the electronic device in the related art, the configuration of the parameters affecting the battery consumption can be more accurately realized, thereby improving the accuracy of the test results of the battery life of the electronic device.

[0020] In some embodiments, the device also includes an industrial computer, a test box, a temperature sensor and a temperature adjustment device, and the electronic equipment, the temperature sensor and the temperature adjustment device are all in the test box; the industrial computer forms a communication connection with the temperature sensor and the temperature adjustment device respectively; the industrial computer is used to receive the current ambient temperature in the test box sent by the temperature sensor; when the current ambient temperature in the test box is not within the set temperature range, the temperature adjustment device is controlled to adjust the ambient temperature in the test box so that the ambient temperature in the test box is within the set temperature range.

[0021] It can be seen that the embodiment of the present application can control the temperature regulating device in the test box so that the ambient temperature in the test box is within the set temperature range. In this way, the impact of the ambient temperature on the battery life test process can be reduced to a certain extent, which is beneficial to improving the accuracy of the battery life test results.

[0022] In some embodiments, the device also includes a first temperature measuring device for measuring the temperature of a first surface of the electronic device, and a second temperature measuring device for measuring the temperature of a second surface of the electronic device; the first surface and the second surface are opposite surfaces; the industrial computer forms a communication connection with the first temperature measuring device and the second temperature measuring device respectively; the industrial computer is used to receive a first temperature sent by the first temperature measuring device and a second temperature sent by the second temperature measuring device; when the larger value of the first temperature and the second temperature exceeds a set temperature upper limit, a temperature increase instruction is sent to the temperature adjustment device so that the difference between the larger value and the ambient temperature in the test box is less than the set temperature difference.

[0023] It can be understood that when the larger value of the first temperature and the second temperature exceeds the set temperature upper limit, it can be considered that the electronic device has turned on the function of limiting the heat dissipation power consumption. In this case, by increasing the ambient temperature in the test box, the electronic device can increase the heat dissipation power consumption, thereby offsetting the impact of the function of limiting the heat dissipation power consumption on the battery life test results to a certain extent, thereby improving the accuracy of the battery life test results.

[0024] In some embodiments, the device also includes an industrial computer, a test box, a humidity sensor and a humidity regulating device, wherein the electronic device, the humidity sensor and the humidity regulating device are all in the test box; the industrial computer forms a communication connection with the humidity sensor and the humidity regulating device respectively; the industrial computer is used to obtain the current humidity in the test box sent by the humidity sensor; when the current humidity in the test box is not within the set humidity range, the humidity regulating device is controlled to adjust the humidity in the test box so that the humidity in the test box is within the set humidity range.

[0025] It can be seen that the embodiment of the present application can control the humidity regulating device in the test box so that the ambient humidity in the test box is within the set humidity range. In this way, the impact of the ambient humidity on the battery life test process can be reduced to a certain extent, which is beneficial to improving the accuracy of the battery life test results.

[0026] The present application provides a battery life test method, which is applied to a battery life test device, wherein the battery life test device includes a control machine; the method includes:

[0027] After the control machine sends a simulation application for simulating an actual usage scenario of the electronic device to the electronic device, the control machine sends a test instruction to the electronic device, wherein the test instruction is used to instruct the electronic device to run the simulation application and send a heartbeat message to the control machine when only the battery is used for power supply, wherein the heartbeat message carries the running status data of the electronic device, and the running status data at least includes the battery power of the electronic device;

[0028] The control machine receives the heartbeat message and determines the battery life information according to the operating status data in the heartbeat message.

[0029] In the embodiment of the present application, during the battery life test, the tester does not need to run the power monitoring script and playback software on the electronic device under test, but the control machine can send a simulation application for simulating the actual use scenario of the electronic device to the electronic device, and the control machine sends a test instruction to the electronic device to trigger the electronic device to run the simulation application and send a heartbeat message to the control machine. In the control machine, according to the heartbeat message sent by the electronic device, the change of the battery power of the electronic device can be automatically analyzed to determine the battery life information. Compared with the solution of realizing the battery life test by running the power monitoring script and playback software in the related art, since no manual operation is required, the test error of the battery life information caused by manual operation is reduced, and the accuracy of the test result of the battery life information is improved to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of the structure of a battery life test device and an electronic device provided in an embodiment of the present application;

[0031] Figure 2 A schematic diagram of the structure of another battery life test device and electronic device provided in an embodiment of the present application;

[0032] Figure 3 A schematic diagram of the structure of another battery life test device and electronic device provided in an embodiment of the present application;

[0033] Figure 4 A schematic diagram of the structure of another battery life test device and electronic device provided in an embodiment of the present application;

[0034] Figure 5 A schematic diagram of the structure of another battery life test device and electronic device provided in an embodiment of the present application;

[0035] Figure 6 A schematic diagram of the internal structure of a test box provided in an embodiment of the present application;

[0036] Figure 7 This is a flow chart of a battery life testing method according to an embodiment of the present application. DETAILED DESCRIPTION

[0037] In the related art, when conducting a battery life test on an electronic device such as a portable computer, the battery of the electronic device under test can be fully charged first, and then the external power supply of the electronic device can be cut off. When the electronic device is powered only by a battery, a script for monitoring the battery power is run on the electronic device, and software that simulates the application scenario of the electronic device is played in a loop in the electronic device. For example, the software that simulates the application scenario of the electronic device can be PPT software. The script can save the real-time system time and battery capacity in a log file on the local hard disk every 1 minute; after the script and software continue to run for a period of time, the battery of the electronic device under test is exhausted, causing the electronic device to shut down. At this time, the electronic device can be connected to an external power supply and turned on, and then the corresponding system time when the battery is fully charged and the last power record (closest to 0 power) is determined by analyzing the contents of the log file, and the two system times are subtracted to obtain the battery life.

[0038] The battery life test scheme of the related art has at least the following disadvantages: 1) The operations of cutting off the external power supply, running the power monitoring script and playing the software are all manually performed by the tester in sequence, and cannot be completed at the same time, which will cause test errors in the battery life information and reduce the accuracy of the test results. 2) During the battery life test, the ambient temperature and humidity around the electronic device are not monitored. In fact, due to the long actual test time (lasting several hours), when the ambient temperature changes greatly during the test, it will significantly affect the speed control of the cooling fan of the electronic device, and have a significant impact on the battery life test results of the device under test. 3) During the battery life test, the heat dissipation effect of the electronic device is not monitored. When the electronic device sacrifices the heat dissipation effect in order to reduce the heat dissipation power consumption, the user experience of the electronic device will be reduced. This measure of sacrificing the heat dissipation effect in order to reduce the heat dissipation power consumption must be discovered and corresponding measures need to be taken. 4) The pre-test system parameters of the electronic device (such as: screen brightness, system never sleep, screen never off, turn off screen saver) rely on manual verification item by item. Due to the large number and complexity of parameters, the verification efficiency is low; if one item is accidentally missed, it will seriously affect the correctness of the test results. 5) During the battery life test, due to the lack of keyboard input for a long time, the operating system of some electronic devices will force the device screen to turn off and enter energy saving mode, which will have a great impact on the accuracy of the actual battery life test results.

[0039] In order to solve the above technical problems, a technical solution of the embodiment of the present application is proposed.

[0040] The following is a further detailed description of the embodiments of the present application in conjunction with the accompanying drawings and examples. It should be understood that the embodiments provided herein are only used to explain the embodiments of the present application and are not intended to limit the embodiments of the present application. In addition, the embodiments provided below are partial embodiments for implementing the present application, rather than providing all embodiments for implementing the present application. In the absence of conflict, the technical solutions recorded in the embodiments of the present application can be implemented in any combination.

[0041] It should be noted that, in the embodiments of the present application, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a method or device including a series of elements includes not only the elements explicitly recorded, but also includes other elements not explicitly listed, or also includes elements inherent to the implementation of the method or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other related elements (such as steps in a method or units in a device, for example, a unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.) in the method or device including the element.

[0042] The embodiments of the present application provide a battery life test device and method. The battery life test device provided in the embodiments of the present application includes a series of modules, but the device provided in the embodiments of the present application is not limited to the modules explicitly recorded, and may also include modules required to obtain relevant information or perform processing based on information. The battery life test method provided in the embodiments of the present application includes a series of steps, but the battery life test method provided in the embodiments of the present application is not limited to the recorded steps.

[0043] Figure 1 A schematic diagram of the structure of a battery life test device and an electronic device provided in an embodiment of the present application, such as Figure 1 As shown, the battery life test device 100 may include a control machine 101 , and the control machine 101 is in communication connection with an electronic device 102 .

[0044] The control machine 101 is used to send a test instruction to the electronic device 102 after sending a simulation application for simulating the actual usage scenario of the electronic device to the electronic device 102. The test instruction is used to instruct the electronic device 102 to run the simulation application and send a heartbeat message to the control machine 101 when only using battery power. The heartbeat message carries the operating status data of the electronic device 102, and the operating status data includes at least the battery power of the electronic device.

[0045] The controller 101 is also used for heartbeat messages, and determines the battery life information according to the running status data in the heartbeat messages.

[0046] In the embodiment of the present application, when the external power supply of the electronic device 102 is cut off, the electronic device 102 sends a heartbeat message to the control machine 101.

[0047] Each time the control machine 101 receives a heartbeat message, it parses, analyzes and saves the heartbeat message; when the time between the last time the heartbeat message was received and the current time is greater than the first time, it can be considered that the electronic device 102 is currently in a shutdown state, and it can be determined that the battery life test process is over.

[0048] In some embodiments, the operation status data may also include at least one of the following: battery voltage, central processing unit (CPU) utilization, CPU temperature, CPU operating frequency, fan speed, hard disk IO (Input / Output). Here, hard disk IO refers to the read and write speed of the hard disk.

[0049] In some embodiments, the first duration can be preset according to actual needs. For example, when the electronic device sends a heartbeat message to the controller 101 at set time intervals, the first duration is greater than the set time interval.

[0050] In some embodiments, the control machine 101 can determine the operating status data in the heartbeat message by parsing the heartbeat message; and determine the battery power of the electronic device 102 at the current moment by analyzing the operating status data. In the case where the time between the last time the heartbeat message was received and the current moment is greater than the first time, the battery life information can be determined by analyzing the operating status data in each received heartbeat message, that is, the battery life can be determined.

[0051] In some embodiments, the electronic device 102 can start sending heartbeat messages to the control machine 101 when it is powered only by batteries and determines that the battery power is 100%; in this way, when the time between the last time the heartbeat message was received and the current time is greater than the first time, by analyzing the operating status data in each received heartbeat message, the system time when the battery is fully charged (i.e., the time when the heartbeat message was first received) and the time when the heartbeat message was most recently received can be determined, thereby more accurately determining the battery life.

[0052] In some embodiments, the electronic device can also start to send a heartbeat message to the controller 101 when only using battery power and determining that the battery power of itself is the first power, and here, the first power is less than 100%. In this case, when the duration between the moment of receiving the heartbeat message last time and the current moment is greater than the first duration, by analyzing the running state data in the heartbeat message received each time, it can be determined that the battery power is the system time when the first power is received (i.e., the time of receiving the heartbeat message for the first time) and the time of receiving the heartbeat message for the last time, thereby, the time of receiving the heartbeat message for the first time is subtracted from the time of receiving the heartbeat message for the last time, and the duration of the battery being reduced from the first power to the second power is obtained, and the second power is the battery power in the running state data of the heartbeat message received for the last time, and in the actual scene, the second power is 0 or close to 0. By analyzing the duration of the battery being reduced from the first power to the second power, it can be determined that the battery is reduced from the full power to the time required for 0, that is, the battery life can be determined more accurately.

[0053] In the embodiment of the present application, during the battery life test, the tester does not need to run the power monitoring script and playback software on the electronic device under test, but the control machine can send a simulation application to the electronic device to simulate the actual use scenario of the electronic device, and the control machine sends a test instruction to the electronic device to trigger the electronic device to run the simulation application and send a heartbeat message to the control machine. In the control machine, according to the heartbeat message sent by the electronic device, the change of the battery power of the electronic device can be automatically analyzed to determine the battery life information. Compared with the solution of realizing the battery life test by running the power monitoring script and playback software in the related art, since there is no need for manual operation, the test error of the battery life information caused by manual operation is reduced, the accuracy of the test result of the battery life information is improved to a certain extent, and the risk of the test result being tampered with is reduced.

[0054] In some embodiments, the control machine 101 is further used to send a test instruction to the electronic device 102 after determining that the electronic device 102 has installed the preset operating system. The electronic device 102 is used to load and install the preset operating system from the control machine 101 through interaction with the control machine 101. Exemplarily, the electronic device 102 can install a unified version of the preset operating system from the control machine 101 by remote booting (Preboot Execution Environment, PXE), and after the preset operating system is installed, the control machine 101 can establish a control relationship with the electronic device 102.

[0055] In some embodiments, when there are multiple electronic devices 102, each electronic device 102 can load and install a unified version of the preset operating system from the control machine 101 through interaction with the control machine 101. By installing the preset operating system on the electronic device, it is helpful to reduce the impact of the original operating system of the electronic device on the battery life test process. By installing the same preset operating system on different electronic devices, the battery life information of different electronic devices can be accurately compared and analyzed based on the same preset operating system.

[0056] It can be seen that after the control machine sends a test instruction to the electronic device, the electronic device can automatically collect operating status data based on the test instruction, and send the operating status data to the control machine in the form of a heartbeat message; that is, the control machine can automatically receive the heartbeat message by sending a test instruction to the electronic device, so that the battery life information can be automatically determined according to the operating status data of the heartbeat message. Therefore, the embodiment of the present application can realize automated testing of the battery life information of the electronic device. Compared with the solution of realizing battery life testing by running power monitoring scripts and playback software in the related art, since there is no need for manual operation, the test error of the battery life information caused by manual operation is reduced, and the accuracy of the test results of the battery life information is improved to a certain extent.

[0057] In some embodiments of the present application, the control machine 101 is used to determine the battery life information based on the operating status data in each heartbeat message received when the duration between the last time a heartbeat message was received and the current time is greater than a first duration.

[0058] It can be seen that when the duration between the last time the control machine received a heartbeat message and the current time is greater than the first duration, it can be determined that the electronic device is currently in a shutdown state. In this case, the battery life information can be determined more accurately based on the operating status data in each heartbeat message received.

[0059] In some embodiments of the present application, the control machine 101 is used to determine the battery life information based on the operating status data in the heartbeat message, including: when the battery power received for the last time is less than the set power value, the battery life information is determined based on the battery power received for the first time by the control machine and the battery power received for the last time.

[0060] In the embodiment of the present application, the set power value can be set according to actual needs. For example, the set power value is 1% of the full power of the battery.

[0061] It can be understood that when the time between the last time the control machine received a heartbeat message and the current time is greater than the first time, it can be determined that the electronic device is currently in a shutdown state. At this time, if the battery power received for the last time is less than the set power value, it can be considered that the reason for the shutdown of the electronic device may be that the battery is exhausted, and the battery life test process terminates normally; in this case, the battery life information can be determined more accurately based on the battery power received for the first time and the battery power received for the last time.

[0062] In some embodiments of the present application, the control machine 101 is further used to determine that an abnormality occurs in the battery life test process when the battery power received for the last time is greater than or equal to the set power value.

[0063] In some embodiments, when determining that an abnormality occurs during the battery life test, the control machine 101 may generate a prompt message, where the prompt message is used to prompt the handling of the abnormality that occurs during the battery life test.

[0064] It can be seen that when the duration between the last time the control machine received a heartbeat message and the current time is greater than the first duration, it can be determined that the electronic device is currently in a shutdown state. At this time, if the last received battery power value is greater than or equal to the set power value, it can be considered that the electronic device is in an abnormal shutdown state. In this case, it can be determined that an abnormality has occurred in the battery life test process, which is conducive to the subsequent timely handling of abnormal situations that occur during the battery life test process.

[0065] In some embodiments of the present application, reference Figure 2 The electronic device 102 includes an external device 201, and the battery life test device 100 also includes an industrial computer 202 and a robotic arm 203 controlled by the industrial computer 202; the control machine 101 is also used to, after sending a test instruction to the electronic device 201, periodically send an instruction to touch the external device 201 to the robotic arm 203 through the industrial computer 202, so that the communication interface of the external device 201 in the electronic device 102 is in an activated state.

[0066] In the embodiment of the present application, the external device 201 is referred to as a peripheral, which is a general term for input devices, output devices, and external storage devices in a computer system; illustratively, the external device 201 can be a keyboard, a mouse, and other devices.

[0067] The industrial computer 202 can send control instructions to the robotic arm 203 to control the working state of the robotic arm 203; the robotic arm 203 can touch external devices under the control of the industrial computer 202; for example, the robotic arm 203 can perform operations such as typing on the keyboard, sliding the mouse, and pressing the mouse under the control of the industrial computer 202.

[0068] Exemplarily, the industrial computer 202 can form a communication connection with the control machine 101, and the control machine 101 can control the working state of the robotic arm 203 through the industrial computer 202; exemplarily, after the control machine 101 sends a test instruction to the electronic device 201, it can periodically send control instructions to the robotic arm through the industrial computer 202, and the period for the control machine to send instructions to the industrial computer is less than the sleep time of the electronic device. For example, the period for the control machine to send instructions to the industrial computer can be 1 minute, 2 minutes, etc.

[0069] It can be seen that after the control machine periodically sends instructions to the robotic arm to touch the external device through the industrial computer, the electronic device receives data input through the external device. In this way, the electronic device will not be in an energy-saving state, that is, by periodically sending instructions to the robotic arm to touch the external device, the electronic device can be kept in an activated state. Compared with the solution in the related art that may test the battery life of electronic devices in an energy-saving state, the accuracy of the test results of the battery life of the electronic device can be improved.

[0070] In some embodiments of the present application, the electronic device 102 is used to determine, after receiving a test instruction, whether the configuration information of the specific parameters carried in the test instruction is the same as the configuration information of the specific parameters before receiving the test instruction; when the configuration information of the specific parameters carried in the test instruction is different from the configuration information of the specific parameters before receiving the test instruction, modify the configuration information of the specific parameters in the electronic device to the configuration information of the specific parameters carried in the test instruction; wherein the specific parameters represent parameters that affect battery consumption.

[0071] Exemplarily, the specific parameters may include at least one of the following: a parameter characterizing whether to never sleep, the sleep time, a central processing unit (CPU) balanced working mode, a parameter characterizing that the system is in a non-energy-saving mode, a screen brightness percentage, a parameter indicating whether the screen is turned on and never goes off, a parameter characterizing that the screen saver is in the off state, the volume level, a USB port activation parameter, a parameter characterizing that WIFI is enabled, a parameter characterizing that Bluetooth is turned off, etc.

[0072] It can be seen that when the configuration information of the specific parameters carried in the test instruction is different from the configuration information of the specific parameters before receiving the test instruction, the configuration information of the specific parameters in the electronic device can be modified to the configuration information of the specific parameters carried in the test instruction. The configuration of the specific parameters according to the test instruction can be automatically realized. Therefore, compared with the solution of manually checking the pre-test system parameters of the electronic device in the related art, the configuration of the parameters affecting the battery consumption can be more accurately realized, thereby improving the accuracy of the test results of the battery life of the electronic device.

[0073] In some embodiments of the present application, reference Figure 3 The battery life test device 100 also includes an industrial computer 202, a test box 301, a temperature sensor 302 and a temperature adjustment device 303. The electronic device 102, the temperature sensor 302 and the temperature adjustment device 303 are all in the test box 301; the industrial computer 202 forms a communication connection with the temperature sensor 302 and the temperature adjustment device 303 respectively.

[0074] The industrial computer 202 is used to receive the current ambient temperature in the test box 301 sent by the temperature sensor 302; when the current ambient temperature in the test box 301 is not within the set temperature range, the temperature adjustment device 303 is controlled to adjust the ambient temperature in the test box 301 so that the ambient temperature in the test box 301 is within the set temperature range.

[0075] In the embodiment of the present application, the set temperature range can be determined according to the ambient temperature of the actual scene. In some embodiments, the set temperature range is 20 degrees Celsius to 30 degrees Celsius. In some embodiments, the upper limit and the lower limit of the set temperature range can be the same, for example, the set temperature range is 25 degrees Celsius; in this case, the set temperature range is a set temperature value, and when the industrial computer 202 determines that the current ambient temperature in the test box 301 is greater than or less than the set temperature value, it can control the temperature adjustment device 303 to adjust the ambient temperature in the test box 301 so that the ambient temperature in the test box 301 is equal to the set temperature value.

[0076] Exemplarily, the temperature regulating device may include at least one of a fan and a heating device, the fan may be located at the top of the test box, and the heating device may be located at the bottom or other positions of the test box. When the industrial computer 202 determines that the current ambient temperature in the test box 301 is greater than the upper limit of the set temperature range, it may control the fan to turn on to accelerate the air convection inside the test box 301, thereby reducing the ambient temperature in the test box 301; when the industrial computer 202 determines that the current ambient temperature in the test box 301 is less than the lower limit of the set temperature range, it may control the heating device to turn on to increase the ambient temperature in the test box 301.

[0077] It can be seen that the embodiment of the present application can control the temperature regulating device in the test box so that the ambient temperature in the test box is within the set temperature range. In this way, the impact of the ambient temperature on the battery life test process can be reduced to a certain extent, which is beneficial to improving the accuracy of the battery life test results.

[0078] In some embodiments of the present application, reference Figure 3 The battery life testing device 100 also includes a first temperature measuring device 304 for measuring the temperature of a first surface of the electronic device 102, and a second temperature measuring device 305 for measuring the temperature of a second surface of the electronic device 102. The industrial computer 202 is communicated with the first temperature measuring device 304 and the second temperature measuring device 305 respectively; the first surface and the second surface are opposite surfaces.

[0079] The industrial computer 202 is used to receive the first temperature sent by the first temperature measuring device 304 and the second temperature sent by the second temperature measuring device 305; when the larger value of the first temperature and the second temperature exceeds the set temperature upper limit, a temperature increase instruction is sent to the temperature regulating device 303 so that the difference between the larger value and the ambient temperature in the test box 301 is less than the set temperature difference.

[0080] Exemplarily, when the electronic device is a portable computer, the first surface of the electronic device 102 is surface C, and the second surface of the electronic device 102 is surface D. The first temperature measuring device 304 and the second temperature measuring device 305 may be infrared thermal imagers.

[0081] Exemplarily, the set temperature upper limit may be the upper limit of the human body's comfortable temperature range, and the set temperature upper limit may be set according to actual needs, for example, the set temperature upper limit may be 38 degrees Celsius, 40 degrees Celsius, 41 degrees Celsius, etc. The set temperature difference may be set according to actual needs, for example, the set temperature difference may be 13 degrees Celsius, 15 degrees Celsius, etc.

[0082] It can be understood that when the larger value of the first temperature and the second temperature exceeds the set temperature upper limit, it can be considered that the electronic device has turned on the function of limiting the heat dissipation power consumption. In this case, by increasing the ambient temperature in the test box, the electronic device can increase the heat dissipation power consumption, thereby offsetting the impact of the function of limiting the heat dissipation power consumption on the battery life test results to a certain extent, thereby improving the accuracy of the battery life test results.

[0083] In some embodiments of the present application, reference Figure 4 The battery life test device 100 further includes an industrial computer 202, a test box 301, a humidity sensor 401 and a humidity regulating device 402. The electronic device 102, the humidity sensor 401 and the humidity regulating device 402 are all in the test box 301; the industrial computer 202 is respectively connected to the humidity sensor 401 and the humidity regulating device 402 in communication;

[0084] The industrial computer 202 is used to obtain the current humidity in the test box 301 sent by the humidity sensor 401; when the current humidity in the test box 301 is not within the set humidity range, the humidity regulating device 402 is controlled to adjust the humidity in the test box 301 so that the humidity in the test box 301 is within the set humidity range.

[0085] In the embodiment of the present application, the humidity range can be set according to the ambient humidity of the actual scene. In some embodiments, the humidity range is set to 55% to 65%. In some embodiments, the upper and lower limits of the humidity range can be the same, for example, the humidity range is set to 60%; in this case, the humidity range is set to a set humidity value. When the industrial computer 202 determines that the current humidity in the test box 301 is greater than or less than the set humidity value, it can control the humidity adjustment device 402 to adjust the ambient humidity in the test box 301 so that the ambient humidity in the test box 301 is equal to the set humidity value.

[0086] Exemplarily, the humidity regulating device may include at least one of a humidifier and a dehumidifier. When the industrial computer 202 determines that the current humidity in the test box 301 is greater than the upper limit of the set humidity range, it may control the dehumidifier to turn on, thereby reducing the ambient humidity in the test box 301; when the industrial computer 202 determines that the current humidity in the test box 301 is less than the lower limit of the set temperature range, it may control the humidifier to turn on, so as to increase the ambient humidity in the test box 301.

[0087] It can be seen that the embodiment of the present application can control the humidity regulating device in the test box so that the ambient humidity in the test box is within the set humidity range. In this way, the impact of the ambient humidity on the battery life test process can be reduced to a certain extent, which is beneficial to improving the accuracy of the battery life test results.

[0088] The embodiment of the present application can be applied to scenarios such as business support. The following is a further description of an embodiment of an application scenario of the battery life test device in conjunction with the accompanying drawings. Figure 5 and Figure 6 , the electronic device 102 to be tested is placed inside the test box 301, and the electronic device 102 is a portable computer. The electronic device can be connected to the control machine 101 through a wired network or a WIFI network. For example, the electronic device 102 can form a communication connection with the control machine 101 through a network cable 507. The electronic device includes an external device 201, and the external device 201 may include a wired mouse, which can be connected to the electronic device 102 through a Universal Serial Bus (USB) interface; in some embodiments, the external device 201 may also include a keyboard, and the keyboard can also be connected to the electronic device 102 through a USB interface.

[0089] The test box 301 has a mechanical arm 203, which is used to automatically tap the keyboard. The mechanical arm 203 can also control the mouse at the same time to complete the mouse sliding and key input; the first temperature and humidity sensor 502 and the second temperature and humidity sensor 503 are arranged at the top edge of the test box 301. The first temperature and humidity sensor 502 and the second temperature and humidity sensor 503 are both high-precision temperature and humidity sensors. The first temperature and humidity sensor 502 and the second temperature and humidity sensor 503 can both collect temperature data and humidity data. A first temperature measuring device 304 is installed at the top center of the test box 301. The first temperature measuring device 304 is used to detect the temperature distribution of the C surface of the electronic device 102 in real time; a bracket 506 is arranged at the bottom of the test box 301. The bracket 506 can be a hollow bracket. The bracket 506 is used to support the electronic device 102. The electronic device 102 can be placed on the tray of the bracket 506. A second temperature measuring device 305 is installed below the D surface of the electronic device 102, and the second temperature measuring device 305 is used to detect the temperature distribution of the D surface of the electronic device 102 in real time. Here, the first temperature measuring device 304 and the second temperature measuring device 305 are both infrared thermal imagers, and the tray of the bracket can be a hollow structure, so that the second temperature measuring device 305 can take infrared thermal imaging photos of the D surface of the electronic device 102, thereby determining the temperature distribution of the D surface.

[0090] A first fan 504 and a second fan 505 are installed on the top of the test box 301. Each fan can be started or stopped under the control of the industrial computer. When at least one fan is started, the air flow inside the test box can be accelerated. A socket 501 is also provided in the test box 301. The socket 501 can realize the on and off of the external power supply of the electronic device 201 through remote control. For example, the industrial computer can control the working state of the socket 501 through remote control, thereby controlling the electronic device 201 to connect the external power supply or disconnect the external power supply.

[0091] The four walls of the test box 301 can be opened and closed under remote control, and the ambient temperature inside the test box can be adjusted (i.e., lowered) by turning on the fan on the top of the test box. At the same time, a heating device 601 is also installed inside the test box, and the ambient temperature inside the test box 301 can be increased by turning on the heating device 601 when necessary.

[0092] An industrial computer 202 is arranged below the bottom of the test box 301. Control software runs inside the industrial computer 202, which can control the mechanical arm 203 to automatically operate the keyboard and mouse, control the working state of the socket 501, control the automatic opening and closing angles of the four walls of the test box 303, control the working states of the first fan 504 and the second fan 505, control the working state of the heating device 601, and read the temperature data and humidity data collected by each temperature and humidity sensor inside the test box 301 in real time, and call the first temperature measuring device 304 and the second temperature measuring device 305 to respectively shoot the temperature distribution of the C surface and the D surface of the electronic device, thereby monitoring the temperature distribution of the C surface and the D surface of the electronic device in real time.

[0093] The control machine 101 is deployed with centralized test software and partial test software to be run in the electronic device 102. By running the partial test software, the actual usage scenario of the electronic device can be simulated. By running the partial test software, sufficient load can be applied to the electronic device 102 so that the main components of the electronic device 102 can run at full speed. For example, the main components of the electronic device 102 may include CPU, hard disk, memory, graphics card, network card and other components.

[0094] In the preparation stage of the battery life test, the electronic device 102 can be placed in the test box 301 and connected to the socket 501; then, the control machine 101 can send a test preparation instruction to the industrial computer 202. After receiving the test preparation instruction, the industrial computer 202 can control the socket 501 to connect to the external power supply and start to obtain the temperature data and humidity data of each temperature and humidity sensor in real time, which is conducive to controlling the environment in the test box to maintain a constant temperature and constant humidity.

[0095] The electronic device 102 receives a preset operating system of a unified version from the control machine 101 through PXE. The control machine 101 sends the sub-test software to the electronic device, and the electronic device 102 installs and runs the sub-test software.

[0096] On the one hand, by running the distributed test software, it is possible to verify whether the configuration information of specific parameters before the battery life test is the same as the configuration information of the specific parameters indicated by the distributed test software, thereby ensuring that the specific parameters are uniformly configured; on the other hand, by running the distributed test software, a Transmission Control Protocol (TCP) / Internet Protocol (IP) connection is established with the control machine 101, and a heartbeat message is reported to the control machine 101.

[0097] The control machine 101 can determine the battery power of the electronic device 102 based on the heartbeat message; in some embodiments, when the battery power of the electronic device 102 is 100%, it can be considered that the test conditions are met. At this time, the control machine 101 can issue a test instruction to the industrial computer 202, and the industrial computer 101 can set the working state of the robotic arm 203 to be in a standby state, and then cut off the power supply of the socket 501, so that the electronic device is in a state of using only battery power; at the same time, the control machine 101 starts running the centralized test software, thereby starting the battery life test of the electronic device.

[0098] By running the partial test software, the code that simulates the use scenario of the electronic device is executed (for example, looping PPT, video playback, calling the device's video codec, calling the graphics card's cache read and write, calling the CPU to process the load, calling the hard disk IO, etc.), and synchronously and periodically (for example, every 30 seconds) collects system time, battery power, battery voltage, CPU utilization, CPU operating main frequency, CPU temperature, fan speed, hard disk IO and other operating status data.

[0099] By running the sub-test software, the above-mentioned running status data can be written into the log file of the local hard disk, and reported to the control machine 101 through the heartbeat message. When the battery of the electronic device is exhausted, the operation of writing the log file and sending the heartbeat message will be automatically terminated.

[0100] During the battery life test of the electronic device 102, the control machine 101 can periodically send instructions to the robotic arm 203 through the industrial computer 202, and the robotic arm 203 automatically performs keyboard tapping operations, as well as mouse sliding and key operations. In this way, the electronic device will not be forced to enter the energy-saving state, so that the display screen of the electronic device 102 will not be turned off, and the USB port of the electronic device 102 will remain activated.

[0101] During the battery life test of the electronic device 102, the industrial computer 202 can obtain the temperature data and humidity data of each temperature and humidity sensor in real time, so as to adjust the temperature condition and humidity according to the obtained temperature data and humidity data.

[0102] During the battery life test of the electronic device 102, the industrial computer 102 can also call the first temperature measuring device 304 and the second temperature measuring device 305 to take pictures of the C surface and the D surface of the electronic device to obtain infrared thermal imaging images of the C surface and the D surface, so as to further analyze the temperature distribution of the C surface and the D surface. If the highest temperature points of the C surface and the D surface exceed the set temperature upper limit, it can be considered that the electronic device has turned on the function of limiting the heat dissipation power consumption (for example, the electronic device has imposed certain restrictions on the fan speed). In this case, by increasing the ambient temperature in the test box, the electronic device can increase the heat dissipation power consumption, thereby offsetting the impact of the function of limiting the heat dissipation power consumption on the battery life test results to a certain extent, and improving the accuracy of the battery life test results.

[0103] It can be seen that during the battery life test of the electronic device 102, the temperature distribution of the C surface and the D surface of the electronic device 102 can be detected in real time, so that the heat dissipation effect of the electronic device 102 is kept within a reasonable and ideal range, so that the heat dissipation mechanism of the electronic device 102 is in an appropriate operating state during the test. When it is found that the heat dissipation effect of the electronic device exceeds the reasonable and ideal range, corresponding measures need to be taken to increase the heat dissipation strength (fan speed) of the device under test.

[0104] When the time between the last time the control machine 101 received a heartbeat message and the current time is greater than the first time, it can be determined that the electronic device is currently in a shutdown state. At this time, the control machine 101 can send a test end instruction to the industrial computer 202. After receiving the test end instruction, the industrial computer 202 can stop the operation of the robotic arm 203.

[0105] The control machine 101 records clear and detailed operating status data of the electronic device 102. If the battery power in the last data record recorded by the control machine is 0, it means that the device under test is shut down due to battery exhaustion, and the test process ends normally; if the battery power in the last data record recorded by the control machine is not 0, it means that the device under test is shut down due to other abnormal factors, and the test process ends abnormally.

[0106] Based on the battery life test device proposed in the above embodiment, the present application embodiment also proposes a battery life test method. The method is applied to the battery life test device, and the battery life test device at least includes a control machine 101.

[0107] Figure 7 This is a flow chart of the battery life testing method according to an embodiment of the present application. Figure 7 As shown, the process may include:

[0108] Step 701: After sending a simulation application for simulating the actual usage scenario of the electronic device to the electronic device, the control machine sends a test instruction to the electronic device, where the test instruction is used to instruct the electronic device to run the simulation application and send a heartbeat message to the control machine when only using battery power. The heartbeat message carries the operating status data of the electronic device, and the operating status data includes at least the battery power of the electronic device.

[0109] Step 702: The control machine receives the heartbeat message and determines the battery life information according to the running status data in the heartbeat message.

[0110] In some embodiments, determining the battery life information based on the operating status data in the heartbeat message includes: when the duration between the time when the heartbeat message was last received and the current time is greater than a first duration, determining the battery life information based on the operating status data in the heartbeat message received each time.

[0111] In some embodiments, determining the battery life information of the battery according to the running status data in the heartbeat message includes:

[0112] When the battery power received last time is less than the set power value, the battery life information is determined according to the battery power received by the controller for the first time and the battery power received last time.

[0113] In some embodiments, the method further includes: the control machine, when determining that the battery power value received for the last time is greater than or equal to the set power value, determines that an abnormality occurs in the battery life test process.

[0114] In some embodiments, the method further comprises:

[0115] After determining that the electronic device has installed a preset operating system, the control machine sends a test instruction to the electronic device; wherein the test instruction is used to instruct the electronic device to collect the operating status data and send the operating status data to the control machine via a heartbeat message; the electronic device is used to load and install the preset operating system from the control machine through interaction with the control machine.

[0116] In some embodiments, the electronic device includes an external device, and the device further includes an industrial computer and a robotic arm controlled by the industrial computer;

[0117] The method further includes: after the control machine sends the test instruction to the electronic device, the control machine periodically sends an instruction to touch the external device to the robot arm through the industrial computer, so that the communication interface of the external device in the electronic device is in an activated state.

[0118] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0119] It should be noted that the description of the above method embodiment is similar to the description of the above device embodiment, and has similar beneficial effects as the device embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the device embodiment of the present application for understanding.

[0120] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.

[0121] The methods disclosed in the various method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0122] The features disclosed in the various product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0123] The features disclosed in the various method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0124] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0125] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A battery life test device, characterized in that: The device comprises a control machine; wherein, The control machine is used to send a test instruction to the electronic device after sending a simulation application for simulating an actual use scenario of the electronic device to the electronic device, wherein the test instruction is used to instruct the electronic device to run the simulation application and send a heartbeat message to the control machine when only using a battery for power supply, wherein the heartbeat message carries the running status data of the electronic device, and the running status data at least includes the battery power of the electronic device; The control machine is also used to receive the heartbeat message and determine the battery life information according to the running status data in the heartbeat message.

2. The device according to claim 1, characterized in that The control machine is used to determine the battery life information of the battery according to the running status data in each received heartbeat message when the time between the last time the heartbeat message was received and the current time is greater than the first time.

3. The device according to claim 1, characterized in that The control machine is used to determine the battery life information of the battery according to the running status data in the heartbeat message, including: When the battery power received last time is less than the set power value, the battery life information is determined according to the battery power received by the controller for the first time and the battery power received last time.

4. The device according to claim 3, characterized in that The control machine is further used to determine that an abnormality occurs in the battery life test process when the battery power value received for the last time is greater than or equal to the set power value.

5. The device according to claim 1, characterized in that The electronic device includes an external device, and the device also includes an industrial computer and a mechanical arm controlled by the industrial computer; The control machine is also used to periodically send instructions to the robot arm to touch the external device through the industrial computer after sending a test instruction to the electronic device, so that the communication interface of the external device in the electronic device is activated.

6. The device according to claim 1, characterized in that The electronic device is used to determine whether the configuration information of the specific parameters carried in the test instruction is the same as the configuration information of the specific parameters before receiving the test instruction after receiving the test instruction. When the configuration information of the specific parameters carried in the test instruction is different from the configuration information of the specific parameters before receiving the test instruction, modify the configuration information of the specific parameters in the electronic device to the configuration information of the specific parameters carried in the test instruction; wherein the specific parameters represent parameters that affect battery consumption.

7. The device according to any one of claims 1 to 4, characterized in that The device further comprises an industrial computer, a test box, a temperature sensor and a temperature regulating device, wherein the electronic device, the temperature sensor and the temperature regulating device are all located in the test box; the industrial computer is respectively connected to the temperature sensor and the temperature regulating device for communication; The industrial computer is used to receive the current ambient temperature in the test box sent by the temperature sensor; when the current ambient temperature in the test box is not within the set temperature range, control the temperature adjustment device to adjust the ambient temperature in the test box so that the ambient temperature in the test box is within the set temperature range.

8. The device according to claim 7, characterized in that The device further comprises a first temperature measuring device for measuring the temperature of a first surface of the electronic device, and a second temperature measuring device for measuring the temperature of a second surface of the electronic device; the industrial computer is in communication connection with the first temperature measuring device and the second temperature measuring device respectively; the first surface and the second surface are opposite surfaces; The industrial computer is used to receive a first temperature sent by the first temperature measuring device and a second temperature sent by the second temperature measuring device; when the larger value of the first temperature and the second temperature exceeds a set temperature upper limit, a temperature increase instruction is sent to the temperature regulating device so that the difference between the larger value and the ambient temperature in the test box is less than a set temperature difference.

9. The device according to any one of claims 1 to 4, characterized in that: The device further comprises an industrial computer, a test box, a humidity sensor and a humidity regulating device, wherein the electronic device, the humidity sensor and the humidity regulating device are all located in the test box; the industrial computer is respectively connected to the humidity sensor and the humidity regulating device for communication; The industrial computer is used to obtain the current humidity in the test box sent by the humidity sensor; when the current humidity in the test box is not within the set humidity range, control the humidity adjustment device to adjust the humidity in the test box so that the humidity in the test box is within the set humidity range.

10. A battery life testing method, characterized in that: The method is applied to a battery life test device, wherein the battery life test device includes a control machine; the method includes: After the control machine sends a simulation application for simulating an actual usage scenario of the electronic device to the electronic device, the control machine sends a test instruction to the electronic device, wherein the test instruction is used to instruct the electronic device to run the simulation application and send a heartbeat message to the control machine when only the battery is used for power supply, wherein the heartbeat message carries the running status data of the electronic device, and the running status data at least includes the battery power of the electronic device; The control machine receives the heartbeat message and determines the battery life information according to the operating status data in the heartbeat message.

11. The method according to claim 10, characterized in that Determining the battery life information according to the operating status data in the heartbeat message includes: when the duration between the time when the heartbeat message was last received and the current time is greater than a first duration, determining the battery life information according to the operating status data in the heartbeat message received each time.

12. The method according to claim 10, characterized in that Determining the battery life information according to the running status data in the heartbeat message includes: When the battery power received last time is less than the set power value, the battery life information is determined according to the battery power received by the controller for the first time and the battery power received last time.

13. The method according to claim 11, characterized in that The method further comprises: The control machine determines that an abnormality occurs in the battery life test process when it is determined that the battery power value received for the last time is greater than or equal to the set power value.

14. The method according to claim 11, characterized in that The electronic device includes an external device, and the device also includes an industrial computer and a mechanical arm controlled by the industrial computer; The method further includes: after the control machine sends the test instruction to the electronic device, the control machine periodically sends an instruction to the mechanical arm to touch the external device through the industrial computer.

Citation Information

Cited By

  • Method and system for testing load endurance of intelligent wearable device, and electronic device

    CN121208601A

  • Method for testing battery endurance of Bluetooth equipment

    CN121254131A