Startup and shutdown test system of electronic equipment
By working together with the host testing equipment, self-testing program, and robotic arm, the power-on and power-off tests are completed automatically, solving the problems of long testing time and insufficient reliability of manual judgment in existing technologies, and achieving efficient and accurate power-on and power-off tests.
Patent Information
- Application Number
- CN202511636425.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-10
- Publication Date
- 2026-02-06
AI Technical Summary
Existing power-on/off tests are time-consuming and lack the reliability of manual judgment, resulting in potential defects going undetected and impacting product quality and user experience.
The system employs a combination of a main testing device, a self-testing program, and a robotic arm to achieve automated control and data acquisition, replacing manual operation for power-on/off testing.
Significantly shorten testing time, improve the accuracy of anomaly identification, ensure accurate collection of startup results, eliminate human error, and achieve 24-hour uninterrupted testing.
Smart Images

Figure CN121476768A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of product testing technology, and in particular to a power-on / off testing system for electronic devices. Background Technology
[0002] Power-on / off testing primarily refers to simulating power-on and power-off operations under specific scenarios, covering two core scenarios: normal and abnormal. Normal scenarios include power-on / off triggered by physical buttons and soft shutdown achieved through control commands; abnormal scenarios include extreme situations such as sudden power outages and forced power cut-offs. During repeated power-on / off operations, the tested electronic devices often exhibit system-level anomalies, directly exposing reliability design flaws in areas such as power management, hardware initialization, and software loading processes.
[0003] However, current power-on / off testing has significant execution pain points: on the one hand, the testing process is extremely time-consuming, especially for server devices, where a single power-on / off cycle often takes close to 20 minutes. If 10,000 tests need to be completed, the total time would be approximately 139 days. Relying entirely on manual operation would significantly extend the product development cycle and mass production delivery time. On the other hand, the reliability of manual judgment is insufficient. Testers find it difficult to continuously and accurately monitor the details of each power-on / off cycle, resulting in potential defects entering the market undetected, ultimately affecting product reputation and user experience. Summary of the Invention
[0004] To address the aforementioned issues, this application provides a power-on / off testing system for electronic devices, which replaces manual operation for power-on / off testing, significantly reducing testing time and improving the accuracy of anomaly identification.
[0005] The embodiments of this application disclose the following technical solutions:
[0006] The first aspect of this application provides a power-on / off testing system for an electronic device. The testing system includes a test device host, a self-test program, and a robotic arm. The robotic arm and the self-test program are both communicatively connected to the test device host. The self-test program runs on the electronic device under test.
[0007] The host of the test equipment is used to control the robotic arm to start and stop the electronic device under test; receive the power-on operation result of the electronic device under test and the generation time of the power-on operation result sent by the self-test program; and determine whether the electronic device under test has a fault during the power-on and power-off test based on the power-on operation result and the generation time.
[0008] The robotic arm is used to respond to control commands issued by the host of the test equipment to start or stop the electronic device under test.
[0009] The self-test program is used to collect the power-on operation data of the electronic device under test after the electronic device under test is started; determine the power-on operation result of the device under test based on the power-on operation data; and send the power-on operation result and the generation time of the power-on operation result to the host of the test device.
[0010] In one optional implementation, the test equipment host includes a first main controller, a first network port, a second main controller, and a second network port; the first main controller and the second main controller are communicatively connected; both the first main controller and the second main controller are communicatively connected to the robotic arm; the first network port is communicatively connected to the first main controller; the second network port is communicatively connected to the second main controller; and both the first network port and the second network port are communicatively connected to the self-test program.
[0011] The self-test program is used to send the power-on operation result and the generation time of the power-on operation result to the first main controller and the second main controller;
[0012] The first main controller is used to send control commands to the robotic arm; the received power-on operation result sent by the self-test program and the corresponding generation time of the power-on operation result are recorded as first state data; the control commands are used to control the robotic arm to start or stop the electronic device under test;
[0013] The second main controller is used to record the power-on operation result and the corresponding generation time of the power-on operation result sent by the self-test program as second state data; to obtain the first state data, and to determine whether the electronic device under test has a fault during the power-on and power-off test based on the first state data and the second state data.
[0014] In one optional implementation, the second main controller is further configured to acquire the control command, acquire feedback data generated by the robot during the execution of the control command, and determine whether the robot is working normally based on the control command and the feedback data.
[0015] In one optional implementation, the second main controller is further configured to detect the power supply status of the test system; and after determining that the power supply status of the test system is abnormal, to perform a power-on / off test task using the backup battery of the test system.
[0016] In one optional implementation, the first main controller is further configured to send a soft shutdown control command to the self-test program; the soft shutdown control command controls the tested electronic device to perform a shutdown operation through a sequence of instructions.
[0017] The self-test program is also used to control the electronic device under test to perform a shutdown operation based on the received soft shutdown control command.
[0018] In one optional implementation, the second main controller is further configured to determine whether the first main controller receives the first status data and the second main controller receives the second status data within a preset first target time period.
[0019] In one optional implementation, the second main controller is further configured to send test logs from the first main controller within a preset second target time period to a cloud disk; the test logs are generated based on multiple sets of the first state data.
[0020] In one alternative implementation, the second main controller is further configured to issue a first alarm signal after determining that the electronic device under test has a fault during the power-on / off test.
[0021] In one alternative implementation, the second main controller is further configured to issue a second alarm signal after determining that the working state of the robotic arm is abnormal.
[0022] In one alternative implementation, the second main controller is further configured to issue a third alarm signal after determining that the power supply operating state of the test system is abnormal.
[0023] Compared with the prior art, this application has the following beneficial effects:
[0024] This application provides a power-on / off testing system for electronic devices. The testing system includes a test equipment host, a self-test program, and a robotic arm. Both the robotic arm and the self-test program are communicatively connected to the test equipment host. The self-test program runs on the electronic device under test.
[0025] The test equipment host is used to control the robotic arm to start and stop the electronic device under test; receive the power-on operation results of the electronic device under test and the generation time of the power-on operation results sent by the self-test program; and determine whether there is a fault in the electronic device under test during the power-on and power-off test based on the power-on operation results and the generation time of the power-on operation results. The robotic arm is used to respond to the control commands issued by the test equipment host to start or stop the electronic device under test. The self-test program is used to collect the power-on operation data of the electronic device under test after it is started; and send the power-on operation results and the generation time of the power-on operation results to the test equipment host.
[0026] During use, this solution uses the host computer of the testing equipment to control the robotic arm to perform power-on and power-off actions, and links the self-test program to automatically collect and feedback the power-on operation results and the time of generation of the power-on operation results, realizing full automation from operation execution to result judgment: the robotic arm replaces manual labor to complete the physical power-on and power-off operations, avoiding the time constraints and operational deviations of manual supervision; the collaboration between the self-test program and the host computer of the testing equipment ensures the accurate collection of power-on operation results and eliminates the omissions of manual judgment. Attached Figure Description
[0027] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0028] Figure 1 This is a schematic diagram of a power-on / off test system provided in an embodiment of this application;
[0029] Figure 2 This is a schematic diagram of another power-on / off test system provided in an embodiment of this application;
[0030] Figure 3 This is a flowchart of a power-on / off test method provided in an embodiment of this application. Detailed Implementation
[0031] Electronic devices, such as laptops, desktop computers, industrial control computers, and server computers, require frequent power-on and power-off tests to verify the stability of their power-on and power-off functions over a long period of use, expose potential defects in the coordination between system hardware and software, and ensure the reliability of end-user use.
[0032] As mentioned earlier, power-on / off testing mainly refers to simulating power-on / off operations under specific scenarios, covering two core scenarios: normal and abnormal. Normal scenarios include power-on / off triggered by physical buttons and soft shutdown achieved through control commands; abnormal scenarios include extreme situations such as sudden power outages and forced power cut-offs. During repeated power-on / off operations, electronic devices often exhibit system-level anomalies, directly exposing reliability design flaws in power management, hardware initialization, and software loading processes. This is a critical quality verification step before products leave the factory.
[0033] However, current power-on / off testing solutions have significant execution pain points: on the one hand, the testing process is extremely time-consuming, especially for server devices, where a single power-on / off cycle often takes close to 20 minutes. If 10,000 tests need to be completed, the total time would be approximately 139 days. Relying entirely on manual operation would significantly extend the product development cycle and mass production delivery time. On the other hand, the reliability of manual judgment is insufficient. Testers find it difficult to continuously and accurately monitor the details of each power-on / off cycle, resulting in potential defects entering the market undetected, ultimately affecting product reputation and user experience.
[0034] To address the aforementioned issues, this application provides a power-on / off testing system for electronic devices. The testing system includes a test equipment host, a self-test program, and a robotic arm. Both the robotic arm and the self-test program are communicatively connected to the test equipment host. The self-test program runs on the electronic device under test.
[0035] The test equipment host is used to control the robotic arm to start and stop the electronic device under test; receive the power-on operation results of the electronic device under test and the generation time of the power-on operation results sent by the self-test program; and determine whether there is a fault in the electronic device under test during the power-on and power-off test based on the power-on operation results and the generation time of the power-on operation results. The robotic arm is used to respond to the control commands issued by the test equipment host to start or stop the electronic device under test. The self-test program is used to collect the power-on operation data of the electronic device under test after it is started; and send the power-on operation results and the generation time of the power-on operation results to the test equipment host.
[0036] During use, this solution uses the host computer of the testing equipment to control the robotic arm to perform power-on and power-off actions, and links the self-test program to automatically collect and feedback the power-on operation results and the time of generation of the power-on operation results, realizing full automation from operation execution to result judgment: the robotic arm replaces manual labor to complete the physical power-on and power-off operations, avoiding the time constraints and operational deviations of manual supervision; the collaboration between the self-test program and the host computer of the testing equipment ensures the accurate collection of power-on operation results and eliminates the omissions of manual judgment.
[0037] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0038] Figure 1 This is a schematic diagram of a power-on / off testing system provided in an embodiment of this application. (In conjunction with...) Figure 1As shown, the power-on / off test system 100 disclosed in this application includes a test equipment host 101, a self-test program 102, and a robotic arm 103.
[0039] Combination Figure 1 As shown, both the robotic arm 103 and the self-test program 102 are communicatively connected to the host computer 101 of the test equipment; the self-test program 102 runs on the electronic device under test.
[0040] It should be noted that this application does not limit the specific method of communication connection; it can be a cable connection or a wireless network connection.
[0041] The test equipment host 101 is used to control the robotic arm 103 to start and stop the electronic device under test; receive the power-on operation result of the electronic device under test and the generation time of the power-on operation result sent by the self-test program 102; and determine whether there is a fault in the electronic device under test during the power-on and power-off test based on the power-on operation result and the generation time of the power-on operation result. Among them, the power-on operation result is either a successful power-on or a failed power-on.
[0042] The robotic arm 103 is used to respond to control commands issued by the host computer 101 of the test equipment to start or stop the electronic device under test.
[0043] The self-test program 102 is used to collect the power-on operation data of the electronic device under test after it is started; determine the power-on operation result of the device under test based on the power-on operation data; and send the power-on operation result and the time of generation of the power-on operation result to the host of the test device.
[0044] use Figure 1 During the power-on / off test of the electronic device by the power-on / off test system 100, the host device 101, as the core control unit, first sends a start command (one type of control command) to the robotic arm 103. After responding to the start command, the robotic arm 103 starts the electronic device under test by simulating manual operation (such as pressing the power button). After the electronic device under test starts, the self-test program 102 running on it is automatically activated, and collects power-on operation data such as system loading status, hardware interface response, and software process startup in real time. Then, the self-test program 102 analyzes the above power-on operation data, generates the power-on operation result of the device under test (power-on successful or power-on failed), and sends the power-on operation result and the time of generation of the power-on operation result to the host device 101.
[0045] After receiving the data, the host of the test equipment 101 determines whether there is a fault during the power-on; records the test results, and issues a shutdown command to the robot arm 103 according to the test requirements, so that the robot arm 103 can perform the shutdown operation.
[0046] This solution uses the host computer 101 of the testing equipment to centrally control the robotic arm 103 to perform power-on and power-off actions, and links the self-test program 102 to automatically collect power-on operation data and provide feedback on power-on operation results, realizing full automation from operation execution to result judgment: the robotic arm replaces manual labor to complete physical power-on and power-off operations, avoiding the time constraints and operational deviations of manual supervision; the collaboration between the self-test program and the host computer of the testing equipment ensures accurate collection of power-on operation data and objective analysis of power-on operation results, eliminating the oversights of manual judgment; therefore, the power-on and power-off testing system in this application can achieve 24-hour uninterrupted testing and improve the accuracy of anomaly identification.
[0047] Figure 2 This is a schematic diagram of another power-on / off testing system provided in an embodiment of this application. (In conjunction with...) Figure 2 As shown, another power-on / off test system (hereinafter referred to as the test system) 200 disclosed in this application includes: a test equipment host 201, a self-test program 202, a robotic arm 203, a power supply 204, and a battery 205.
[0048] The test equipment host 201 includes a first main controller 2011, a first network port 2012, a second main controller 2013, and a second network port 2014.
[0049] The first main controller 2011 and the second main controller 2013 are communicatively connected; both the first main controller 2011 and the second main controller 2013 are communicatively connected to the robot arm 203; the first network port 2012 is communicatively connected to the first main controller 2011; the second network port 2014 is communicatively connected to the second main controller 2013; and both the first network port 2012 and the second network port 2014 are communicatively connected to the self-test program 202.
[0050] The self-test program 202 is used to send the power-on operation result and the generation time of the power-on operation result to the first main controller 2011 and the second main controller 2013;
[0051] The first main controller 2011 is used to send control commands to the robot arm 203; the power-on operation result received from the self-test program 202 and the time when the power-on operation result is generated are recorded as the first state data; wherein, the control commands are used to control the robot arm 203 to start or stop the tested electronic device.
[0052] The second main controller 2013 is used to record the power-on operation result sent by the self-test program 202 and the generation time of the power-on operation result as second state data; acquire first state data, and determine whether the electronic device under test has a fault during the power-on and power-off test based on the first state data and the second state data.
[0053] Specifically, if the second main controller 2013 determines that there is a difference between the first state data and the second state data, it determines that the electronic device under test has a fault during this power-on / off test.
[0054] The second main controller 2013 is also used to determine whether the first main controller 2011 receives the first status data and the second main controller 2013 receives the second status data within a preset first target time period.
[0055] Specifically, the second main controller 2013 communicates with the first main controller 2011 to obtain the first moment when the first main controller 2011 receives the first state data, and then determines whether the first moment and the second moment are both within a preset first target time period. If it is determined that the first moment and the second moment are within the first target time period, that is, the moment when the first main controller 2011 receives the data sent by the self-test program 202 and the moment when the second main controller 2013 receives the data sent by the self-test program 202 are basically the same and both are within the first target time period, then it is determined that the electronic device under test is normal during the power-on and power-off test and there is no fault.
[0056] The second main controller 2013 is also used to acquire control commands sent by the first main controller 2011 to the robot 203, and to acquire feedback data generated by the robot 203 during the execution of the control commands; and to determine whether the robot 203 is working properly based on the control commands and feedback data.
[0057] For example, the robotic arm consists of a relay matrix, a stepper motor, a mechanical mounting frame, and rubber fingers, and can simulate two postures: lightly touching a mechanical button and pressing and holding a mechanical button. In this application, the operating status of the relays collected by the second main controller 2013 is used as feedback data generated by the robotic arm 203 during the execution of control commands.
[0058] For example, if the feedback data (i.e., the working state of the relay) collected by the second main controller 2013 matches the control command sent by the first main controller 2011 to the robot 203, then the robot 203 is determined to be working normally; otherwise, if the feedback data collected by the second main controller 2013 does not match the control command sent by the first main controller 2011 to the robot 203, then the robot 203 is determined to be faulty.
[0059] The second main controller 2013 is also used to detect the operating status of the power supply 204 in the test system 200; after determining that the operating status of the power supply 204 in the test system 200 is abnormal, it performs a power-on and power-off test task through the backup battery 205 of the test system 200.
[0060] The first main controller 2011 is also used to send a soft shutdown control command to the self-test program 202. The soft shutdown control command controls the tested electronic device to perform a shutdown operation through a sequence of instructions.
[0061] The second main controller 2013 is also used to send the test logs stored on the first main controller 2011 within the preset second target time period to the cloud disk for testing personnel to analyze; wherein, the test logs are test record results generated based on multiple sets of first state data.
[0062] The second main controller 2013 is also used to issue a first alarm signal to the test personnel after determining that the electronic device under test has a fault during the power-on and power-off test.
[0063] The second main controller 2013 is also used to issue a second alarm signal to the test personnel after determining that the working state of the robot arm 203 is abnormal.
[0064] The second main controller 2013 is also used to issue a third alarm signal to alert the test personnel after determining that the power supply 204 of the test system 200 is in an abnormal operating state.
[0065] Understandable, Figure 2 The first network port 2012 is the network port for information exchange between the first main controller 2011 and the self-test program 202. During each power-on and power-off test, the power-on operation result of the self-test program 202 and the generation time of the power-on operation result are sent to the first main controller 2011 through the first network port 2012.
[0066] Similarly, Figure 2 The second network port 2014 is the network port for information exchange between the second main controller 2013 and the self-test program 202. During each power-on and power-off test, the power-on operation result of the self-test program 202 and the generation time of the power-on operation result are sent to the second main controller 2013 through the second network port 2014.
[0067] Figure 2 The power-on / off test system 200 shown in the diagram employs a redundant design for its test equipment host, comprising both a first test equipment host 2011 and a second test equipment host 2013. The advantage of this redundancy design is that it maximizes the reliability of the test equipment and reduces the probability of test failure.
[0068] This application Figure 2 The power-on / off test system provided in the system is applicable to four specific power-on / off test processes: button power-on / off test, soft power-off test, forced power-off test, and abnormal power failure power-off test.
[0069] pass Figure 2The power-on / off test system 200 performs a button power-on / off test on the electronic device under test as follows: The host device 201 transmits a control command to the robotic arm 203, which simulates a human hand touching and pressing the power button of the electronic device under test to trigger the power-on process. After the electronic device under test is successfully powered on, the self-test program 202 collects the power-on operation data, generates the power-on operation result, and sends the power-on operation result and the generation time of the power-on result to the host device 201. After receiving the power-on operation result and the generation time of the power-on operation result, the host device 201 determines whether there is a fault in the electronic device under test. The host device 201 transmits a control signal to the robotic arm 203 again, which simulates a human hand touching and pressing the power button of the electronic device under test to perform a power-off operation, completing one complete button power-on / off test cycle.
[0070] pass Figure 2 The power-on / off test system 200 performs a soft shutdown test on the electronic device under test. The test process is as follows: The host device 201 in the power-on / off test system 200 transmits a control signal to the robotic arm 203, controlling the robotic arm 203 to simulate a human hand touching and pressing the power button of the electronic device under test to trigger the power-on process of the electronic device under test; After the electronic device under test is successfully powered on, the self-test program 202 collects the power-on operation data, generates the power-on operation result, and sends the power-on operation result and the generation time of the result to the host device 201; After receiving the power-on operation result and the generation time of the power-on operation result, the host device 201 determines whether there is a fault in the electronic device under test; The host device 201 directly sends a soft shutdown command to the electronic device under test (without operating the physical button through the robotic arm), triggering the electronic device under test to execute the system-level shutdown process, completing a complete soft shutdown test cycle.
[0071] pass Figure 2The power-on / off test system 200 performs a forced shutdown test on the electronic device under test as follows: The host computer 201 of the power-on / off test system 200 transmits a control signal to the robotic arm 203, controlling the robotic arm 203 to simulate a human hand touching and pressing the power button of the electronic device under test to trigger the power-on process of the electronic device under test; After the electronic device under test is successfully powered on, the self-test program 202 collects the power-on operation data, generates the power-on operation result, and sends the power-on operation result and the generation time of the result to the host computer 201; After receiving the power-on operation result and the generation time of the power-on operation result, the host computer 201 determines whether there is a fault in the electronic device under test; The host computer 201 transmits a control signal to the robotic arm 203 again, controlling the robotic arm 203 to simulate a human hand touching and pressing the power button of the electronic device under test for a long time, forcibly interrupting the normal operation of the electronic device under test and triggering shutdown, completing a complete forced shutdown test cycle.
[0072] pass Figure 2 The power-on / off test system 200 performs an abnormal power-off shutdown test on the electronic device under test as follows: The test equipment host 201 in the power-on / off test system 200 pre-controls the electronic device under test to be in a powered-on state, and then transmits a control signal to the robotic arm 203, controlling the robotic arm 203 to simulate a human hand operating the power switch and triggering the power-on process of the electronic device under test; After the electronic device under test is successfully powered on, the self-test program 202 collects the power-on operation data, generates the power-on operation result, and sends the power-on operation result and the generation time of the result to the test equipment host 201; After receiving the power-on operation result and the generation time of the power-on operation result, the test equipment host 201 determines whether there is a fault in the electronic device under test; The test equipment host 201 transmits a control signal to the robotic arm 203 again, controlling the robotic arm 203 to simulate a human hand operating the power switch and suddenly cut off the power supply to the electronic device under test (different from the conventional shutdown process), realizing an abnormal power-off shutdown and completing a complete abnormal power-off shutdown test cycle.
[0073] Figure 3 This is a flowchart of a power-on / off test method provided in an embodiment of this application. Figure 3 The power-on / off test method shown is based on Figure 2 The power-on / off test system is implemented in [the system / process]. Combined with [other components / systems]... Figure 3 As shown, the power-on / off test method disclosed in this application includes:
[0074] S301: Pre-deploy the test environment, accurately position the robotic arm to the power button position of the electronic device under test, and configure the host of the test device to the button power-on test mode, completing the hardware debugging and parameter initialization before the test.
[0075] S302: The test system starts and enters the automatic test process.
[0076] S303: The first main controller sends a power-on control command, which drives the robotic arm to perform the operation of touching the power-on button, triggering the power-on process of the device under test.
[0077] S304: The second main controller collects feedback data from the robot in real time and performs consistency verification with the start-up control command issued by the first main controller.
[0078] If the verification result is inconsistent, proceed directly to the exception handling step S311; otherwise, proceed to S305.
[0079] S305: After the device under test is powered on, the self-test program runs automatically, collects the power-on operation data of the device under test and generates the power-on operation results; and sends the power-on operation results and the generation time of the power-on operation results to the first network port and the second network port of the host of the test device.
[0080] S306: The second main controller determines whether it has received the first state data through the first main controller and the second state data through the second main controller within the preset first target time.
[0081] If the first main controller receives the first state data and the second main controller receives the second state data within the first time period, such as 0.5 seconds, then proceed to S307; otherwise, proceed to S311.
[0082] The first main controller receives first status data through the first network port; the second main controller receives second status data through the second network port.
[0083] S307: The second main controller compares the contents of the first state data and the second state data to verify the accuracy of the data transmission.
[0084] If the first state data and the second data are exactly the same, and the time when the first master controller receives the first state data and the time when the second master controller receives the second state data are very close, then proceed to S308 within the preset first time period; otherwise, jump to the exception handling step S311.
[0085] S308: The first main controller records the first state data to the system log, forming a traceable test log.
[0086] S309: After completing the power-on process test, the first main controller sends a power-off control command to the robot arm, driving the robot arm to lightly touch the power-on button (or trigger it through system commands) to perform the power-off operation.
[0087] S310: The second main controller collects feedback data from the robot during the shutdown process in real time and performs a second consistency check with the shutdown control command of the first main controller.
[0088] If the verification fails, proceed to the exception handling step S311; if the verification succeeds, return to S303.
[0089] S311: Stop the test, issue an alarm signal, and remind the test personnel to intervene and investigate the problem.
[0090] Specifically, the system triggers an abnormal termination mechanism, stops the current test process, and alerts testers to intervene and investigate via audible and visual alarms or remote notifications (such as management platforms linked to the test equipment host).
[0091] pass Figure 2 The power-on / off test system shown in the diagram performs soft shutdown tests, forced shutdown tests, and abnormal power-off shutdown tests on the electronic device under test. Figure 3 The process shown in the figure will not be described in further detail in this application.
[0092] It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for the method embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments. The method embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate. The components indicated as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment solution according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0093] The above description is merely one specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A power-on / off testing system for electronic devices, characterized in that, The testing system includes a test equipment host, a self-test program, and a robotic arm; both the robotic arm and the self-test program are communicatively connected to the test equipment host; the self-test program runs on the electronic device under test. The host computer of the test equipment is used to control the robotic arm to start and stop the electronic device under test; and to receive the power-on operation result of the electronic device under test and the generation time of the power-on operation result sent by the self-test program. Based on the power-on operation results and the generation time, it is determined whether the tested electronic device has a fault during the power-on and power-off test. The robotic arm is used to respond to control commands issued by the host of the test equipment to start or stop the electronic device under test. The self-test program is used to collect the power-on operation data of the electronic device under test after the electronic device under test is started; determine the power-on operation result of the device under test based on the power-on operation data; and send the power-on operation result and the generation time of the power-on operation result to the host of the test device.
2. The testing system according to claim 1, characterized in that, The test equipment host includes a first main controller, a first network port, a second main controller, and a second network port; the first main controller and the second main controller are communicatively connected; both the first main controller and the second main controller are communicatively connected to the robotic arm; the first network port is communicatively connected to the first main controller; the second network port is communicatively connected to the second main controller; both the first network port and the second network port are communicatively connected to the self-test program. The self-test program is used to send the power-on operation result and the generation time of the power-on operation result to the first main controller and the second main controller; The first main controller is used to send control commands to the robotic arm; The power-on operation result and the corresponding generation time of the power-on operation result sent by the self-test program are recorded as the first state data; the control command is used to control the robot arm to start or stop the electronic device under test; The second main controller is used to record the power-on operation result sent by the self-test program and the corresponding generation time of the power-on operation result as second state data; The first state data is acquired, and based on the first state data and the second state data, it is determined whether the electronic device under test has a fault during the power-on and power-off test.
3. The testing system according to claim 2, characterized in that, The second main controller is further configured to acquire the control command, acquire feedback data generated by the robot during the execution of the control command, and determine whether the robot is working normally based on the control command and the feedback data.
4. The testing system according to claim 2, characterized in that, The second main controller is also used to detect the power supply status of the test system; after determining that the power supply status of the test system is abnormal, it performs a power-on / off test task through the backup battery of the test system.
5. The testing system according to claim 2, characterized in that, The first main controller is further configured to send a soft shutdown control command to the self-test program; the soft shutdown control command controls the tested electronic device to perform a shutdown operation through a sequence of instructions; The self-test program is also used to control the electronic device under test to perform a shutdown operation based on the received soft shutdown control command.
6. The testing system according to claim 2, characterized in that, The second main controller is further configured to determine whether the first main controller receives the first status data and the second main controller receives the second status data within a preset first target time period.
7. The testing system according to any one of claims 2-8, characterized in that, The second main controller is also used to send the test logs on the first main controller within a preset second target time period to the cloud disk; the test logs are generated based on multiple sets of the first state data.
8. The testing system according to claim 1, characterized in that, The second main controller is also used to issue a first alarm signal after determining that the electronic device under test has a fault during the power-on / off test.
9. The testing system according to claim 3, characterized in that, The second main controller is also used to issue a second alarm signal after determining that the working state of the robot arm is abnormal.
10. The testing system according to claim 4, characterized in that, The second main controller is also used to issue a third alarm signal after determining that the power supply operation status of the test system is abnormal.